@@ -59,7 +59,7 @@ import 'features/secret_manager/models/secret_type.dart' as _i42;
5959import 'shared/exceptions/models/duplicate_entry_exception.dart' as _i43;
6060import 'shared/exceptions/models/invalid_value_exception.dart' as _i44;
6161import 'shared/exceptions/models/not_found_exception.dart' as _i45;
62- import 'shared/exceptions/models/resource_denied_exception .dart' as _i46;
62+ import 'shared/exceptions/models/procurement_denied_exception .dart' as _i46;
6363import 'shared/exceptions/models/unauthenticated_exception.dart' as _i47;
6464import 'shared/exceptions/models/unauthorized_exception.dart' as _i48;
6565import 'shared/models/serverpod_region.dart' as _i49;
@@ -136,7 +136,7 @@ export 'features/secret_manager/models/secret_type.dart';
136136export 'shared/exceptions/models/duplicate_entry_exception.dart' ;
137137export 'shared/exceptions/models/invalid_value_exception.dart' ;
138138export 'shared/exceptions/models/not_found_exception.dart' ;
139- export 'shared/exceptions/models/resource_denied_exception .dart' ;
139+ export 'shared/exceptions/models/procurement_denied_exception .dart' ;
140140export 'shared/exceptions/models/unauthenticated_exception.dart' ;
141141export 'shared/exceptions/models/unauthorized_exception.dart' ;
142142export 'shared/models/serverpod_region.dart' ;
@@ -288,8 +288,8 @@ class Protocol extends _i1.SerializationManager {
288288 if (t == _i45.NotFoundException ) {
289289 return _i45.NotFoundException .fromJson (data) as T ;
290290 }
291- if (t == _i46.ResourceDeniedException ) {
292- return _i46.ResourceDeniedException .fromJson (data) as T ;
291+ if (t == _i46.ProcurementDeniedException ) {
292+ return _i46.ProcurementDeniedException .fromJson (data) as T ;
293293 }
294294 if (t == _i47.UnauthenticatedException ) {
295295 return _i47.UnauthenticatedException .fromJson (data) as T ;
@@ -453,9 +453,10 @@ class Protocol extends _i1.SerializationManager {
453453 if (t == _i1.getType< _i45.NotFoundException ? > ()) {
454454 return (data != null ? _i45.NotFoundException .fromJson (data) : null ) as T ;
455455 }
456- if (t == _i1.getType< _i46.ResourceDeniedException ? > ()) {
457- return (data != null ? _i46.ResourceDeniedException .fromJson (data) : null )
458- as T ;
456+ if (t == _i1.getType< _i46.ProcurementDeniedException ? > ()) {
457+ return (data != null
458+ ? _i46.ProcurementDeniedException .fromJson (data)
459+ : null ) as T ;
459460 }
460461 if (t == _i1.getType< _i47.UnauthenticatedException ? > ()) {
461462 return (data != null
@@ -709,8 +710,8 @@ class Protocol extends _i1.SerializationManager {
709710 return 'InvalidValueException' ;
710711 case _i45.NotFoundException ():
711712 return 'NotFoundException' ;
712- case _i46.ResourceDeniedException ():
713- return 'ResourceDeniedException ' ;
713+ case _i46.ProcurementDeniedException ():
714+ return 'ProcurementDeniedException ' ;
714715 case _i47.UnauthenticatedException ():
715716 return 'UnauthenticatedException' ;
716717 case _i48.UnauthorizedException ():
@@ -882,8 +883,8 @@ class Protocol extends _i1.SerializationManager {
882883 if (dataClassName == 'NotFoundException' ) {
883884 return deserialize< _i45.NotFoundException > (data['data' ]);
884885 }
885- if (dataClassName == 'ResourceDeniedException ' ) {
886- return deserialize< _i46.ResourceDeniedException > (data['data' ]);
886+ if (dataClassName == 'ProcurementDeniedException ' ) {
887+ return deserialize< _i46.ProcurementDeniedException > (data['data' ]);
887888 }
888889 if (dataClassName == 'UnauthenticatedException' ) {
889890 return deserialize< _i47.UnauthenticatedException > (data['data' ]);
0 commit comments