@flipdish/authorization 0.0.2-rc.1756733622 → 0.0.2-rc.1766090571

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.js CHANGED
@@ -84,7 +84,8 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
84
84
  return to.concat(ar || Array.prototype.slice.call(from));
85
85
  };
86
86
  Object.defineProperty(exports, "__esModule", { value: true });
87
- exports.UserPermissionsApi = exports.UserPermissionsApiFactory = exports.UserPermissionsApiFp = exports.UserPermissionsApiAxiosParamCreator = exports.RoleAssignmentApi = exports.RoleAssignmentApiFactory = exports.RoleAssignmentApiFp = exports.RoleAssignmentApiAxiosParamCreator = exports.PermissionsApi = exports.PermissionsApiFactory = exports.PermissionsApiFp = exports.PermissionsApiAxiosParamCreator = exports.AuthorizationApi = exports.AuthorizationApiFactory = exports.AuthorizationApiFp = exports.AuthorizationApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.RevokeRoleRequestBodyRoleEnum = exports.RevokeForbiddenRoleRequestBodyCompensatingRoleEnum = exports.Permissions = exports.GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum = exports.GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerRoleNameEnum = exports.AuthorizationRequestResourceOneOf3TypeEnum = exports.AuthorizationRequestResourceOneOf2TypeEnum = exports.AuthorizationRequestResourceOneOf1TypeEnum = exports.AuthorizationRequestResourceOneOfTypeEnum = exports.AuthorizationRequestPrincipalTypeEnum = exports.AssignRoleRequestBodyRoleEnum = void 0;
87
+ exports.UserManagementApiAxiosParamCreator = exports.RoleAssignmentApi = exports.RoleAssignmentApiFactory = exports.RoleAssignmentApiFp = exports.RoleAssignmentApiAxiosParamCreator = exports.ConfigurationDataApi = exports.ConfigurationDataApiFactory = exports.ConfigurationDataApiFp = exports.ConfigurationDataApiAxiosParamCreator = exports.AuthorizedEntitiesApi = exports.AuthorizedEntitiesApiFactory = exports.AuthorizedEntitiesApiFp = exports.AuthorizedEntitiesApiAxiosParamCreator = exports.AuthorizationApi = exports.AuthorizationApiFactory = exports.AuthorizationApiFp = exports.AuthorizationApiAxiosParamCreator = exports.AuthenticationApi = exports.AuthenticationApiFactory = exports.AuthenticationApiFp = exports.AuthenticationApiAxiosParamCreator = exports.RevokeRoleRequestBodyRoleEnum = exports.RevokeForbiddenRoleRequestBodyCompensatingRoleEnum = exports.ListRolesSuccessResponseRolesEnum = exports.ListPermissionsSuccessResponsePermissionsEnum = exports.ListOrgRolesSuccessResponseValueValueRolesEnum = exports.ListOrgRolesSuccessResponseValueValueResourceTypeEnum = exports.IsInRoleRequestCheckModeEnum = exports.IsInRoleRequestRolesEnum = exports.GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum = exports.GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum = exports.GetAuthorizedPropertiesRequestActionEnum = exports.GetAuthorizedOrgsRequestPrincipalTypeEnum = exports.GetAuthorizedOrgsRequestActionEnum = exports.GetAuthorizedBrandsRequestActionEnum = exports.FeatureBasedRolePermissionsEnum = exports.AuthorizationRequestResourceOneOf3TypeEnum = exports.AuthorizationRequestResourceOneOf2TypeEnum = exports.AuthorizationRequestResourceOneOf1TypeEnum = exports.AuthorizationRequestResourceOneOfTypeEnum = exports.AuthorizationRequestPrincipalTypeEnum = exports.AuthorizationRequestCheckModeEnum = exports.AuthorizationBatchRequestActionEnum = exports.AuthenticateAndCheckIsInRoleRequestCheckModeEnum = exports.AuthenticateAndCheckIsInRoleRequestRolesEnum = exports.AuthenticateAndAuthorizeRequestCheckModeEnum = exports.AssignRoleRequestBodyRoleEnum = void 0;
88
+ exports.UserPermissionsApi = exports.UserPermissionsApiFactory = exports.UserPermissionsApiFp = exports.UserPermissionsApiAxiosParamCreator = exports.UserManagementApi = exports.UserManagementApiFactory = exports.UserManagementApiFp = void 0;
88
89
  var axios_1 = require("axios");
89
90
  // Some imports not used depending on template conditions
90
91
  // @ts-ignore
@@ -165,109 +166,19 @@ exports.AssignRoleRequestBodyRoleEnum = {
165
166
  FinanceManagerMisc: 'FinanceManagerMisc',
166
167
  SupportMisc: 'SupportMisc'
167
168
  };
168
- exports.AuthorizationRequestPrincipalTypeEnum = {
169
- User: 'User',
170
- Automation: 'Automation'
171
- };
172
- exports.AuthorizationRequestResourceOneOfTypeEnum = {
173
- Property: 'Property'
174
- };
175
- exports.AuthorizationRequestResourceOneOf1TypeEnum = {
176
- Org: 'Org'
177
- };
178
- exports.AuthorizationRequestResourceOneOf2TypeEnum = {
179
- Brand: 'Brand'
180
- };
181
- exports.AuthorizationRequestResourceOneOf3TypeEnum = {
182
- SalesChannel: 'SalesChannel'
183
- };
184
- exports.GetPrincipalRolesSuccessResponseRolesInnerRoleNameEnum = {
185
- OrgViewer: 'OrgViewer',
186
- OrgManager: 'OrgManager',
187
- OrgAdmin: 'OrgAdmin',
188
- BrandViewer: 'BrandViewer',
189
- BrandManager: 'BrandManager',
190
- BrandAdmin: 'BrandAdmin',
191
- StoreViewer: 'StoreViewer',
192
- StoreEditor: 'StoreEditor',
193
- StoreManager: 'StoreManager',
194
- CustomerViewer: 'CustomerViewer',
195
- CustomerManager: 'CustomerManager',
196
- VoucherViewer: 'VoucherViewer',
197
- VoucherEditor: 'VoucherEditor',
198
- VoucherManager: 'VoucherManager',
199
- VoucherCampaignManager: 'VoucherCampaignManager',
200
- VoucherStatisticsViewer: 'VoucherStatisticsViewer',
201
- AnalyticsViewer: 'AnalyticsViewer',
202
- ReportsViewer: 'ReportsViewer',
203
- FinanceViewer: 'FinanceViewer',
204
- FinanceManager: 'FinanceManager',
205
- TeamViewer: 'TeamViewer',
206
- TeamManager: 'TeamManager',
207
- TeamAdmin: 'TeamAdmin',
208
- TechViewer: 'TechViewer',
209
- TechManager: 'TechManager',
210
- AppStoreViewer: 'AppStoreViewer',
211
- AppStoreManager: 'AppStoreManager',
212
- SalesChannelViewer: 'SalesChannelViewer',
213
- SalesChannelEditor: 'SalesChannelEditor',
214
- SalesChannelManager: 'SalesChannelManager',
215
- DeliveryViewer: 'DeliveryViewer',
216
- DeliveryManager: 'DeliveryManager',
217
- DriverManager: 'DriverManager',
218
- AuditViewer: 'AuditViewer',
219
- AuditManager: 'AuditManager',
220
- AccountsViewer: 'AccountsViewer',
221
- AccountsEditor: 'AccountsEditor',
222
- DocumentExplorerViewer: 'DocumentExplorerViewer',
223
- DocumentExplorerEditor: 'DocumentExplorerEditor',
224
- PayrollViewer: 'PayrollViewer',
225
- PayrollEditor: 'PayrollEditor',
226
- PropertyViewer: 'PropertyViewer',
227
- PropertyManager: 'PropertyManager',
228
- PropertyAdmin: 'PropertyAdmin',
229
- WebsiteContentEditor: 'WebsiteContentEditor',
230
- WebsiteContentViewer: 'WebsiteContentViewer',
231
- WebsiteTechViewer: 'WebsiteTechViewer',
232
- MenuViewer: 'MenuViewer',
233
- MenuEditor: 'MenuEditor',
234
- MenuManager: 'MenuManager',
235
- MenuMetaFieldManager: 'MenuMetaFieldManager',
236
- MenuMetaFieldEditor: 'MenuMetaFieldEditor',
237
- MenuMetaFieldViewer: 'MenuMetaFieldViewer',
238
- StoreDeliveryZoneManager: 'StoreDeliveryZoneManager',
239
- StoreDeliveryZoneEditor: 'StoreDeliveryZoneEditor',
240
- StoreDeliveryZoneViewer: 'StoreDeliveryZoneViewer',
241
- OrderFulfillmentManager: 'OrderFulfillmentManager',
242
- OrderManager: 'OrderManager',
243
- OrderEditor: 'OrderEditor',
244
- OrderViewer: 'OrderViewer',
245
- InventoryManager: 'InventoryManager',
246
- InventoryEditor: 'InventoryEditor',
247
- InventoryViewer: 'InventoryViewer',
248
- PaymentManager: 'PaymentManager',
249
- OnboardingManager: 'OnboardingManager',
250
- FeatureFlagManager: 'FeatureFlagManager',
251
- PropertyOwnerMisc: 'PropertyOwnerMisc',
252
- ManagedOwnerMisc: 'ManagedOwnerMisc',
253
- IntegratorMisc: 'IntegratorMisc',
254
- PropertyManagerMisc: 'PropertyManagerMisc',
255
- FinanceManagerMisc: 'FinanceManagerMisc',
256
- SupportMisc: 'SupportMisc'
169
+ exports.AuthenticateAndAuthorizeRequestCheckModeEnum = {
170
+ Any: 'any',
171
+ All: 'all'
257
172
  };
258
- exports.GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum = {
259
- Property: 'Property',
260
- Org: 'Org',
261
- Brand: 'Brand',
262
- SalesChannel: 'SalesChannel'
173
+ exports.AuthenticateAndCheckIsInRoleRequestRolesEnum = {
174
+ Admin: 'Admin',
175
+ Factory: 'Factory'
263
176
  };
264
- exports.GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = {
265
- Property: 'Property',
266
- Org: 'Org',
267
- Brand: 'Brand',
268
- SalesChannel: 'SalesChannel'
177
+ exports.AuthenticateAndCheckIsInRoleRequestCheckModeEnum = {
178
+ Any: 'any',
179
+ All: 'all'
269
180
  };
270
- exports.GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum = {
181
+ exports.AuthorizationBatchRequestActionEnum = {
271
182
  AnyAuditLogs: 'AnyAuditLogs',
272
183
  ViewApp: 'ViewApp',
273
184
  CreateApp: 'CreateApp',
@@ -491,14 +402,33 @@ exports.GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum = {
491
402
  EditEntityFeatureFlags: 'EditEntityFeatureFlags',
492
403
  CreateOrg: 'CreateOrg',
493
404
  EditOrg: 'EditOrg',
494
- ViewOrg: 'ViewOrg'
405
+ ViewOrg: 'ViewOrg',
406
+ ViewWebhooks: 'ViewWebhooks',
407
+ EditWebhooks: 'EditWebhooks',
408
+ RoleAdmin: 'RoleAdmin',
409
+ RoleFactory: 'RoleFactory'
495
410
  };
496
- /**
497
- *
498
- * @export
499
- * @enum {string}
500
- */
501
- exports.Permissions = {
411
+ exports.AuthorizationRequestCheckModeEnum = {
412
+ Any: 'any',
413
+ All: 'all'
414
+ };
415
+ exports.AuthorizationRequestPrincipalTypeEnum = {
416
+ User: 'User',
417
+ Automation: 'Automation'
418
+ };
419
+ exports.AuthorizationRequestResourceOneOfTypeEnum = {
420
+ Property: 'Property'
421
+ };
422
+ exports.AuthorizationRequestResourceOneOf1TypeEnum = {
423
+ Org: 'Org'
424
+ };
425
+ exports.AuthorizationRequestResourceOneOf2TypeEnum = {
426
+ Brand: 'Brand'
427
+ };
428
+ exports.AuthorizationRequestResourceOneOf3TypeEnum = {
429
+ SalesChannel: 'SalesChannel'
430
+ };
431
+ exports.FeatureBasedRolePermissionsEnum = {
502
432
  AnyAuditLogs: 'AnyAuditLogs',
503
433
  ViewApp: 'ViewApp',
504
434
  CreateApp: 'CreateApp',
@@ -722,169 +652,2212 @@ exports.Permissions = {
722
652
  EditEntityFeatureFlags: 'EditEntityFeatureFlags',
723
653
  CreateOrg: 'CreateOrg',
724
654
  EditOrg: 'EditOrg',
725
- ViewOrg: 'ViewOrg'
726
- };
727
- exports.RevokeForbiddenRoleRequestBodyCompensatingRoleEnum = {
728
- OwnerCompensating: 'OwnerCompensating',
729
- PropertyOwnerCompensating: 'PropertyOwnerCompensating',
730
- ManagedOwnerCompensating: 'ManagedOwnerCompensating',
731
- IntegratorCompensating: 'IntegratorCompensating',
732
- PropertyManagerCompensating: 'PropertyManagerCompensating',
733
- FinanceManagerCompensating: 'FinanceManagerCompensating'
655
+ ViewOrg: 'ViewOrg',
656
+ ViewWebhooks: 'ViewWebhooks',
657
+ EditWebhooks: 'EditWebhooks',
658
+ RoleAdmin: 'RoleAdmin',
659
+ RoleFactory: 'RoleFactory'
734
660
  };
735
- exports.RevokeRoleRequestBodyRoleEnum = {
736
- OrgViewer: 'OrgViewer',
737
- OrgManager: 'OrgManager',
738
- OrgAdmin: 'OrgAdmin',
739
- BrandViewer: 'BrandViewer',
740
- BrandManager: 'BrandManager',
741
- BrandAdmin: 'BrandAdmin',
742
- StoreViewer: 'StoreViewer',
743
- StoreEditor: 'StoreEditor',
744
- StoreManager: 'StoreManager',
745
- CustomerViewer: 'CustomerViewer',
746
- CustomerManager: 'CustomerManager',
747
- VoucherViewer: 'VoucherViewer',
748
- VoucherEditor: 'VoucherEditor',
749
- VoucherManager: 'VoucherManager',
750
- VoucherCampaignManager: 'VoucherCampaignManager',
751
- VoucherStatisticsViewer: 'VoucherStatisticsViewer',
752
- AnalyticsViewer: 'AnalyticsViewer',
753
- ReportsViewer: 'ReportsViewer',
754
- FinanceViewer: 'FinanceViewer',
755
- FinanceManager: 'FinanceManager',
756
- TeamViewer: 'TeamViewer',
757
- TeamManager: 'TeamManager',
758
- TeamAdmin: 'TeamAdmin',
759
- TechViewer: 'TechViewer',
760
- TechManager: 'TechManager',
761
- AppStoreViewer: 'AppStoreViewer',
762
- AppStoreManager: 'AppStoreManager',
763
- SalesChannelViewer: 'SalesChannelViewer',
764
- SalesChannelEditor: 'SalesChannelEditor',
765
- SalesChannelManager: 'SalesChannelManager',
766
- DeliveryViewer: 'DeliveryViewer',
767
- DeliveryManager: 'DeliveryManager',
768
- DriverManager: 'DriverManager',
769
- AuditViewer: 'AuditViewer',
770
- AuditManager: 'AuditManager',
771
- AccountsViewer: 'AccountsViewer',
772
- AccountsEditor: 'AccountsEditor',
773
- DocumentExplorerViewer: 'DocumentExplorerViewer',
774
- DocumentExplorerEditor: 'DocumentExplorerEditor',
775
- PayrollViewer: 'PayrollViewer',
776
- PayrollEditor: 'PayrollEditor',
777
- PropertyViewer: 'PropertyViewer',
778
- PropertyManager: 'PropertyManager',
779
- PropertyAdmin: 'PropertyAdmin',
780
- WebsiteContentEditor: 'WebsiteContentEditor',
781
- WebsiteContentViewer: 'WebsiteContentViewer',
782
- WebsiteTechViewer: 'WebsiteTechViewer',
783
- MenuViewer: 'MenuViewer',
784
- MenuEditor: 'MenuEditor',
785
- MenuManager: 'MenuManager',
786
- MenuMetaFieldManager: 'MenuMetaFieldManager',
787
- MenuMetaFieldEditor: 'MenuMetaFieldEditor',
788
- MenuMetaFieldViewer: 'MenuMetaFieldViewer',
789
- StoreDeliveryZoneManager: 'StoreDeliveryZoneManager',
790
- StoreDeliveryZoneEditor: 'StoreDeliveryZoneEditor',
791
- StoreDeliveryZoneViewer: 'StoreDeliveryZoneViewer',
792
- OrderFulfillmentManager: 'OrderFulfillmentManager',
793
- OrderManager: 'OrderManager',
794
- OrderEditor: 'OrderEditor',
795
- OrderViewer: 'OrderViewer',
796
- InventoryManager: 'InventoryManager',
797
- InventoryEditor: 'InventoryEditor',
798
- InventoryViewer: 'InventoryViewer',
799
- PaymentManager: 'PaymentManager',
800
- OnboardingManager: 'OnboardingManager',
801
- FeatureFlagManager: 'FeatureFlagManager',
802
- PropertyOwnerMisc: 'PropertyOwnerMisc',
803
- ManagedOwnerMisc: 'ManagedOwnerMisc',
804
- IntegratorMisc: 'IntegratorMisc',
805
- PropertyManagerMisc: 'PropertyManagerMisc',
806
- FinanceManagerMisc: 'FinanceManagerMisc',
807
- SupportMisc: 'SupportMisc'
808
- };
809
- /**
810
- * AuthenticationApi - axios parameter creator
811
- * @export
812
- */
813
- var AuthenticationApiAxiosParamCreator = function (configuration) {
814
- var _this = this;
815
- return {
816
- /**
817
- * Authenticate and authorize a user to perform an action
818
- * @summary Authenticate and authorize Request
819
- * @param {AuthenticateAndAuthorizeRequest} [authenticateAndAuthorizeRequest]
820
- * @param {*} [options] Override http request option.
821
- * @throws {RequiredError}
822
- */
823
- authenticateAndAuthorize: function (authenticateAndAuthorizeRequest_1) {
824
- var args_1 = [];
825
- for (var _i = 1; _i < arguments.length; _i++) {
826
- args_1[_i - 1] = arguments[_i];
827
- }
828
- return __awaiter(_this, __spreadArray([authenticateAndAuthorizeRequest_1], args_1, true), void 0, function (authenticateAndAuthorizeRequest, options) {
829
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
830
- if (options === void 0) { options = {}; }
831
- return __generator(this, function (_a) {
832
- switch (_a.label) {
833
- case 0:
834
- localVarPath = "/authenticateAndAuthorize";
835
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
836
- if (configuration) {
837
- baseOptions = configuration.baseOptions;
838
- }
839
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
840
- localVarHeaderParameter = {};
841
- localVarQueryParameter = {};
842
- // authentication ApiKeyAuth required
843
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
844
- case 1:
845
- // authentication ApiKeyAuth required
846
- _a.sent();
847
- localVarHeaderParameter['Content-Type'] = 'application/json';
848
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
849
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
850
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
851
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticateAndAuthorizeRequest, localVarRequestOptions, configuration);
852
- return [2 /*return*/, {
853
- url: (0, common_1.toPathString)(localVarUrlObj),
854
- options: localVarRequestOptions,
855
- }];
856
- }
857
- });
858
- });
859
- },
860
- };
861
- };
862
- exports.AuthenticationApiAxiosParamCreator = AuthenticationApiAxiosParamCreator;
863
- /**
661
+ exports.GetAuthorizedBrandsRequestActionEnum = {
662
+ AnyAuditLogs: 'AnyAuditLogs',
663
+ ViewApp: 'ViewApp',
664
+ CreateApp: 'CreateApp',
665
+ UpdateApp: 'UpdateApp',
666
+ ViewAppName: 'ViewAppName',
667
+ EditAppAssets: 'EditAppAssets',
668
+ EditAppFeatures: 'EditAppFeatures',
669
+ ViewTeammates: 'ViewTeammates',
670
+ EditTeammates: 'EditTeammates',
671
+ CreateTeammateOwner: 'CreateTeammateOwner',
672
+ CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
673
+ CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
674
+ CreateTeammateStoreManager: 'CreateTeammateStoreManager',
675
+ CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
676
+ CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
677
+ CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
678
+ CreateTeammateIntegrator: 'CreateTeammateIntegrator',
679
+ CreateTeammateOnboarding: 'CreateTeammateOnboarding',
680
+ CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
681
+ CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
682
+ ViewApmConfigurations: 'ViewApmConfigurations',
683
+ EditApmConfigurations: 'EditApmConfigurations',
684
+ ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
685
+ CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
686
+ UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
687
+ DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
688
+ StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
689
+ ViewDevelopersSettings: 'ViewDevelopersSettings',
690
+ EditDevelopersSettings: 'EditDevelopersSettings',
691
+ ViewOrders: 'ViewOrders',
692
+ UpdateOrdersAccept: 'UpdateOrdersAccept',
693
+ UpdateOrdersReject: 'UpdateOrdersReject',
694
+ UpdateOrdersRefund: 'UpdateOrdersRefund',
695
+ UpdateOrdersDispatch: 'UpdateOrdersDispatch',
696
+ ViewStores: 'ViewStores',
697
+ CreateStores: 'CreateStores',
698
+ EditStores: 'EditStores',
699
+ ViewStoresOpeningHours: 'ViewStoresOpeningHours',
700
+ UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
701
+ UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
702
+ ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
703
+ EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
704
+ EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
705
+ UpdateStoresName: 'UpdateStoresName',
706
+ EditStoreKioskSettings: 'EditStoreKioskSettings',
707
+ EditStoreOrderCapacity: 'EditStoreOrderCapacity',
708
+ EditStoreNotifications: 'EditStoreNotifications',
709
+ ArchiveStores: 'ArchiveStores',
710
+ PublishStores: 'PublishStores',
711
+ UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
712
+ UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
713
+ ViewStoreGroups: 'ViewStoreGroups',
714
+ CreateStoreGroups: 'CreateStoreGroups',
715
+ UpdateStoreGroups: 'UpdateStoreGroups',
716
+ DeleteStoreGroups: 'DeleteStoreGroups',
717
+ ViewDeliveryZones: 'ViewDeliveryZones',
718
+ CreateDeliveryZones: 'CreateDeliveryZones',
719
+ UpdateDeliveryZones: 'UpdateDeliveryZones',
720
+ DeleteDeliveryZones: 'DeleteDeliveryZones',
721
+ ViewMenu: 'ViewMenu',
722
+ CreateMenu: 'CreateMenu',
723
+ UpdateMenu: 'UpdateMenu',
724
+ DeleteMenu: 'DeleteMenu',
725
+ UpdateMenuLock: 'UpdateMenuLock',
726
+ UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
727
+ EditMenuImage: 'EditMenuImage',
728
+ ViewVouchers: 'ViewVouchers',
729
+ EditVouchers: 'EditVouchers',
730
+ ViewWebsiteContent: 'ViewWebsiteContent',
731
+ EditWebsiteContent: 'EditWebsiteContent',
732
+ ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
733
+ ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
734
+ ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
735
+ ViewBankAccounts: 'ViewBankAccounts',
736
+ CreateBankAccounts: 'CreateBankAccounts',
737
+ UpdateBankAccounts: 'UpdateBankAccounts',
738
+ UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
739
+ ViewAssignedBankAccount: 'ViewAssignedBankAccount',
740
+ VerifyBankAccounts: 'VerifyBankAccounts',
741
+ ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
742
+ EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
743
+ EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
744
+ EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
745
+ ViewHydraConfig: 'ViewHydraConfig',
746
+ UpdateHydraConfigManage: 'UpdateHydraConfigManage',
747
+ InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
748
+ DeleteTerminal: 'DeleteTerminal',
749
+ ViewKioskTelemetry: 'ViewKioskTelemetry',
750
+ ViewCustomers: 'ViewCustomers',
751
+ EditCustomers: 'EditCustomers',
752
+ CreateCustomers: 'CreateCustomers',
753
+ CreateCatalogElements: 'CreateCatalogElements',
754
+ UpdateCatalogElements: 'UpdateCatalogElements',
755
+ ViewCatalogElements: 'ViewCatalogElements',
756
+ DeleteCatalogElements: 'DeleteCatalogElements',
757
+ ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
758
+ CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
759
+ UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
760
+ DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
761
+ UpdateMetafields: 'UpdateMetafields',
762
+ ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
763
+ PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
764
+ ViewAppStatistics: 'ViewAppStatistics',
765
+ ViewApmStatistics: 'ViewApmStatistics',
766
+ ViewCampaignsStatistics: 'ViewCampaignsStatistics',
767
+ ViewCustomerStatistics: 'ViewCustomerStatistics',
768
+ ViewLiveStatistics: 'ViewLiveStatistics',
769
+ ViewOrderStatistics: 'ViewOrderStatistics',
770
+ ViewSalesStatistics: 'ViewSalesStatistics',
771
+ ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
772
+ ViewVouchersStatistics: 'ViewVouchersStatistics',
773
+ DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
774
+ ViewApmAuditLogs: 'ViewApmAuditLogs',
775
+ ViewStoreAuditLogs: 'ViewStoreAuditLogs',
776
+ ViewMenuAuditLogs: 'ViewMenuAuditLogs',
777
+ ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
778
+ ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
779
+ ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
780
+ ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
781
+ ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
782
+ ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
783
+ ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
784
+ ViewAppAuditLogs: 'ViewAppAuditLogs',
785
+ ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
786
+ ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
787
+ ViewHydraAuditLogs: 'ViewHydraAuditLogs',
788
+ ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
789
+ ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
790
+ ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
791
+ ViewExternalAuditLogs: 'ViewExternalAuditLogs',
792
+ CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
793
+ ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
794
+ ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
795
+ ViewChannelAuditLogs: 'ViewChannelAuditLogs',
796
+ ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
797
+ SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
798
+ InviteDriverToApp: 'InviteDriverToApp',
799
+ GetDriverForApp: 'GetDriverForApp',
800
+ RemoveDriverFromApp: 'RemoveDriverFromApp',
801
+ AssignDriverToOrder: 'AssignDriverToOrder',
802
+ UnassignDriverFromOrder: 'UnassignDriverFromOrder',
803
+ UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
804
+ UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
805
+ ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
806
+ CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
807
+ UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
808
+ DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
809
+ ViewPayouts: 'ViewPayouts',
810
+ ViewChannels: 'ViewChannels',
811
+ ViewOnboarding: 'ViewOnboarding',
812
+ UpdateOnboarding: 'UpdateOnboarding',
813
+ ViewClientDevices: 'ViewClientDevices',
814
+ UpdateClientDevices: 'UpdateClientDevices',
815
+ EnrollClientDevices: 'EnrollClientDevices',
816
+ AssignClientDevices: 'AssignClientDevices',
817
+ ViewClientAuditLogs: 'ViewClientAuditLogs',
818
+ CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
819
+ ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
820
+ UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
821
+ DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
822
+ UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
823
+ CreateAppStoreSubscription: 'CreateAppStoreSubscription',
824
+ UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
825
+ DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
826
+ ViewSalesChannels: 'ViewSalesChannels',
827
+ EditSalesChannels: 'EditSalesChannels',
828
+ CreateSalesChannel: 'CreateSalesChannel',
829
+ ArchiveSalesChannel: 'ArchiveSalesChannel',
830
+ UnarchiveSalesChannel: 'UnarchiveSalesChannel',
831
+ PublishSalesChannel: 'PublishSalesChannel',
832
+ UnpublishSalesChannel: 'UnpublishSalesChannel',
833
+ CloneSalesChannel: 'CloneSalesChannel',
834
+ ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
835
+ CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
836
+ UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
837
+ UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
838
+ ViewSubscriptions: 'ViewSubscriptions',
839
+ ViewInvoices: 'ViewInvoices',
840
+ EditAccountsBills: 'EditAccountsBills',
841
+ ViewAccountsBills: 'ViewAccountsBills',
842
+ EditAccountsCategories: 'EditAccountsCategories',
843
+ ViewAccountsCategories: 'ViewAccountsCategories',
844
+ EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
845
+ ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
846
+ EditAccountsCreditBooks: 'EditAccountsCreditBooks',
847
+ ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
848
+ EditAccountsExpenses: 'EditAccountsExpenses',
849
+ ViewAccountsExpenses: 'ViewAccountsExpenses',
850
+ EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
851
+ ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
852
+ EditDocumentExplorer: 'EditDocumentExplorer',
853
+ ViewDocumentExplorer: 'ViewDocumentExplorer',
854
+ ViewInventoryReports: 'ViewInventoryReports',
855
+ EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
856
+ ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
857
+ EditInventoryStockItems: 'EditInventoryStockItems',
858
+ ViewInventoryStockItems: 'ViewInventoryStockItems',
859
+ EditInventorySupplier: 'EditInventorySupplier',
860
+ ViewInventorySupplier: 'ViewInventorySupplier',
861
+ EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
862
+ ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
863
+ ViewPayrollReports: 'ViewPayrollReports',
864
+ EditPayrollHoliday: 'EditPayrollHoliday',
865
+ ViewPayrollHoliday: 'ViewPayrollHoliday',
866
+ EditPayrollRota: 'EditPayrollRota',
867
+ ViewPayrollRota: 'ViewPayrollRota',
868
+ EditPayrollStaff: 'EditPayrollStaff',
869
+ ViewPayrollStaff: 'ViewPayrollStaff',
870
+ ViewSalesReports: 'ViewSalesReports',
871
+ ViewCostReports: 'ViewCostReports',
872
+ ViewMenuReports: 'ViewMenuReports',
873
+ ViewBrand: 'ViewBrand',
874
+ EditBrand: 'EditBrand',
875
+ CreateBrand: 'CreateBrand',
876
+ TransferBrand: 'TransferBrand',
877
+ ViewProperty: 'ViewProperty',
878
+ EditProperty: 'EditProperty',
879
+ CreateProperty: 'CreateProperty',
880
+ ArchiveProperty: 'ArchiveProperty',
881
+ ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
882
+ EditEntityFeatureFlags: 'EditEntityFeatureFlags',
883
+ CreateOrg: 'CreateOrg',
884
+ EditOrg: 'EditOrg',
885
+ ViewOrg: 'ViewOrg',
886
+ ViewWebhooks: 'ViewWebhooks',
887
+ EditWebhooks: 'EditWebhooks',
888
+ RoleAdmin: 'RoleAdmin',
889
+ RoleFactory: 'RoleFactory'
890
+ };
891
+ exports.GetAuthorizedOrgsRequestActionEnum = {
892
+ AnyAuditLogs: 'AnyAuditLogs',
893
+ ViewApp: 'ViewApp',
894
+ CreateApp: 'CreateApp',
895
+ UpdateApp: 'UpdateApp',
896
+ ViewAppName: 'ViewAppName',
897
+ EditAppAssets: 'EditAppAssets',
898
+ EditAppFeatures: 'EditAppFeatures',
899
+ ViewTeammates: 'ViewTeammates',
900
+ EditTeammates: 'EditTeammates',
901
+ CreateTeammateOwner: 'CreateTeammateOwner',
902
+ CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
903
+ CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
904
+ CreateTeammateStoreManager: 'CreateTeammateStoreManager',
905
+ CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
906
+ CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
907
+ CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
908
+ CreateTeammateIntegrator: 'CreateTeammateIntegrator',
909
+ CreateTeammateOnboarding: 'CreateTeammateOnboarding',
910
+ CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
911
+ CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
912
+ ViewApmConfigurations: 'ViewApmConfigurations',
913
+ EditApmConfigurations: 'EditApmConfigurations',
914
+ ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
915
+ CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
916
+ UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
917
+ DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
918
+ StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
919
+ ViewDevelopersSettings: 'ViewDevelopersSettings',
920
+ EditDevelopersSettings: 'EditDevelopersSettings',
921
+ ViewOrders: 'ViewOrders',
922
+ UpdateOrdersAccept: 'UpdateOrdersAccept',
923
+ UpdateOrdersReject: 'UpdateOrdersReject',
924
+ UpdateOrdersRefund: 'UpdateOrdersRefund',
925
+ UpdateOrdersDispatch: 'UpdateOrdersDispatch',
926
+ ViewStores: 'ViewStores',
927
+ CreateStores: 'CreateStores',
928
+ EditStores: 'EditStores',
929
+ ViewStoresOpeningHours: 'ViewStoresOpeningHours',
930
+ UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
931
+ UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
932
+ ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
933
+ EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
934
+ EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
935
+ UpdateStoresName: 'UpdateStoresName',
936
+ EditStoreKioskSettings: 'EditStoreKioskSettings',
937
+ EditStoreOrderCapacity: 'EditStoreOrderCapacity',
938
+ EditStoreNotifications: 'EditStoreNotifications',
939
+ ArchiveStores: 'ArchiveStores',
940
+ PublishStores: 'PublishStores',
941
+ UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
942
+ UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
943
+ ViewStoreGroups: 'ViewStoreGroups',
944
+ CreateStoreGroups: 'CreateStoreGroups',
945
+ UpdateStoreGroups: 'UpdateStoreGroups',
946
+ DeleteStoreGroups: 'DeleteStoreGroups',
947
+ ViewDeliveryZones: 'ViewDeliveryZones',
948
+ CreateDeliveryZones: 'CreateDeliveryZones',
949
+ UpdateDeliveryZones: 'UpdateDeliveryZones',
950
+ DeleteDeliveryZones: 'DeleteDeliveryZones',
951
+ ViewMenu: 'ViewMenu',
952
+ CreateMenu: 'CreateMenu',
953
+ UpdateMenu: 'UpdateMenu',
954
+ DeleteMenu: 'DeleteMenu',
955
+ UpdateMenuLock: 'UpdateMenuLock',
956
+ UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
957
+ EditMenuImage: 'EditMenuImage',
958
+ ViewVouchers: 'ViewVouchers',
959
+ EditVouchers: 'EditVouchers',
960
+ ViewWebsiteContent: 'ViewWebsiteContent',
961
+ EditWebsiteContent: 'EditWebsiteContent',
962
+ ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
963
+ ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
964
+ ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
965
+ ViewBankAccounts: 'ViewBankAccounts',
966
+ CreateBankAccounts: 'CreateBankAccounts',
967
+ UpdateBankAccounts: 'UpdateBankAccounts',
968
+ UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
969
+ ViewAssignedBankAccount: 'ViewAssignedBankAccount',
970
+ VerifyBankAccounts: 'VerifyBankAccounts',
971
+ ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
972
+ EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
973
+ EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
974
+ EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
975
+ ViewHydraConfig: 'ViewHydraConfig',
976
+ UpdateHydraConfigManage: 'UpdateHydraConfigManage',
977
+ InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
978
+ DeleteTerminal: 'DeleteTerminal',
979
+ ViewKioskTelemetry: 'ViewKioskTelemetry',
980
+ ViewCustomers: 'ViewCustomers',
981
+ EditCustomers: 'EditCustomers',
982
+ CreateCustomers: 'CreateCustomers',
983
+ CreateCatalogElements: 'CreateCatalogElements',
984
+ UpdateCatalogElements: 'UpdateCatalogElements',
985
+ ViewCatalogElements: 'ViewCatalogElements',
986
+ DeleteCatalogElements: 'DeleteCatalogElements',
987
+ ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
988
+ CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
989
+ UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
990
+ DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
991
+ UpdateMetafields: 'UpdateMetafields',
992
+ ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
993
+ PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
994
+ ViewAppStatistics: 'ViewAppStatistics',
995
+ ViewApmStatistics: 'ViewApmStatistics',
996
+ ViewCampaignsStatistics: 'ViewCampaignsStatistics',
997
+ ViewCustomerStatistics: 'ViewCustomerStatistics',
998
+ ViewLiveStatistics: 'ViewLiveStatistics',
999
+ ViewOrderStatistics: 'ViewOrderStatistics',
1000
+ ViewSalesStatistics: 'ViewSalesStatistics',
1001
+ ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
1002
+ ViewVouchersStatistics: 'ViewVouchersStatistics',
1003
+ DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
1004
+ ViewApmAuditLogs: 'ViewApmAuditLogs',
1005
+ ViewStoreAuditLogs: 'ViewStoreAuditLogs',
1006
+ ViewMenuAuditLogs: 'ViewMenuAuditLogs',
1007
+ ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
1008
+ ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
1009
+ ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
1010
+ ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
1011
+ ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
1012
+ ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
1013
+ ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
1014
+ ViewAppAuditLogs: 'ViewAppAuditLogs',
1015
+ ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
1016
+ ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
1017
+ ViewHydraAuditLogs: 'ViewHydraAuditLogs',
1018
+ ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
1019
+ ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
1020
+ ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
1021
+ ViewExternalAuditLogs: 'ViewExternalAuditLogs',
1022
+ CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
1023
+ ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
1024
+ ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
1025
+ ViewChannelAuditLogs: 'ViewChannelAuditLogs',
1026
+ ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
1027
+ SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
1028
+ InviteDriverToApp: 'InviteDriverToApp',
1029
+ GetDriverForApp: 'GetDriverForApp',
1030
+ RemoveDriverFromApp: 'RemoveDriverFromApp',
1031
+ AssignDriverToOrder: 'AssignDriverToOrder',
1032
+ UnassignDriverFromOrder: 'UnassignDriverFromOrder',
1033
+ UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
1034
+ UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
1035
+ ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
1036
+ CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
1037
+ UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
1038
+ DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
1039
+ ViewPayouts: 'ViewPayouts',
1040
+ ViewChannels: 'ViewChannels',
1041
+ ViewOnboarding: 'ViewOnboarding',
1042
+ UpdateOnboarding: 'UpdateOnboarding',
1043
+ ViewClientDevices: 'ViewClientDevices',
1044
+ UpdateClientDevices: 'UpdateClientDevices',
1045
+ EnrollClientDevices: 'EnrollClientDevices',
1046
+ AssignClientDevices: 'AssignClientDevices',
1047
+ ViewClientAuditLogs: 'ViewClientAuditLogs',
1048
+ CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
1049
+ ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
1050
+ UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
1051
+ DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
1052
+ UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
1053
+ CreateAppStoreSubscription: 'CreateAppStoreSubscription',
1054
+ UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
1055
+ DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
1056
+ ViewSalesChannels: 'ViewSalesChannels',
1057
+ EditSalesChannels: 'EditSalesChannels',
1058
+ CreateSalesChannel: 'CreateSalesChannel',
1059
+ ArchiveSalesChannel: 'ArchiveSalesChannel',
1060
+ UnarchiveSalesChannel: 'UnarchiveSalesChannel',
1061
+ PublishSalesChannel: 'PublishSalesChannel',
1062
+ UnpublishSalesChannel: 'UnpublishSalesChannel',
1063
+ CloneSalesChannel: 'CloneSalesChannel',
1064
+ ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
1065
+ CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
1066
+ UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
1067
+ UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
1068
+ ViewSubscriptions: 'ViewSubscriptions',
1069
+ ViewInvoices: 'ViewInvoices',
1070
+ EditAccountsBills: 'EditAccountsBills',
1071
+ ViewAccountsBills: 'ViewAccountsBills',
1072
+ EditAccountsCategories: 'EditAccountsCategories',
1073
+ ViewAccountsCategories: 'ViewAccountsCategories',
1074
+ EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
1075
+ ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
1076
+ EditAccountsCreditBooks: 'EditAccountsCreditBooks',
1077
+ ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
1078
+ EditAccountsExpenses: 'EditAccountsExpenses',
1079
+ ViewAccountsExpenses: 'ViewAccountsExpenses',
1080
+ EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
1081
+ ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
1082
+ EditDocumentExplorer: 'EditDocumentExplorer',
1083
+ ViewDocumentExplorer: 'ViewDocumentExplorer',
1084
+ ViewInventoryReports: 'ViewInventoryReports',
1085
+ EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
1086
+ ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
1087
+ EditInventoryStockItems: 'EditInventoryStockItems',
1088
+ ViewInventoryStockItems: 'ViewInventoryStockItems',
1089
+ EditInventorySupplier: 'EditInventorySupplier',
1090
+ ViewInventorySupplier: 'ViewInventorySupplier',
1091
+ EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
1092
+ ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
1093
+ ViewPayrollReports: 'ViewPayrollReports',
1094
+ EditPayrollHoliday: 'EditPayrollHoliday',
1095
+ ViewPayrollHoliday: 'ViewPayrollHoliday',
1096
+ EditPayrollRota: 'EditPayrollRota',
1097
+ ViewPayrollRota: 'ViewPayrollRota',
1098
+ EditPayrollStaff: 'EditPayrollStaff',
1099
+ ViewPayrollStaff: 'ViewPayrollStaff',
1100
+ ViewSalesReports: 'ViewSalesReports',
1101
+ ViewCostReports: 'ViewCostReports',
1102
+ ViewMenuReports: 'ViewMenuReports',
1103
+ ViewBrand: 'ViewBrand',
1104
+ EditBrand: 'EditBrand',
1105
+ CreateBrand: 'CreateBrand',
1106
+ TransferBrand: 'TransferBrand',
1107
+ ViewProperty: 'ViewProperty',
1108
+ EditProperty: 'EditProperty',
1109
+ CreateProperty: 'CreateProperty',
1110
+ ArchiveProperty: 'ArchiveProperty',
1111
+ ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
1112
+ EditEntityFeatureFlags: 'EditEntityFeatureFlags',
1113
+ CreateOrg: 'CreateOrg',
1114
+ EditOrg: 'EditOrg',
1115
+ ViewOrg: 'ViewOrg',
1116
+ ViewWebhooks: 'ViewWebhooks',
1117
+ EditWebhooks: 'EditWebhooks',
1118
+ RoleAdmin: 'RoleAdmin',
1119
+ RoleFactory: 'RoleFactory'
1120
+ };
1121
+ exports.GetAuthorizedOrgsRequestPrincipalTypeEnum = {
1122
+ User: 'User',
1123
+ Automation: 'Automation'
1124
+ };
1125
+ exports.GetAuthorizedPropertiesRequestActionEnum = {
1126
+ AnyAuditLogs: 'AnyAuditLogs',
1127
+ ViewApp: 'ViewApp',
1128
+ CreateApp: 'CreateApp',
1129
+ UpdateApp: 'UpdateApp',
1130
+ ViewAppName: 'ViewAppName',
1131
+ EditAppAssets: 'EditAppAssets',
1132
+ EditAppFeatures: 'EditAppFeatures',
1133
+ ViewTeammates: 'ViewTeammates',
1134
+ EditTeammates: 'EditTeammates',
1135
+ CreateTeammateOwner: 'CreateTeammateOwner',
1136
+ CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
1137
+ CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
1138
+ CreateTeammateStoreManager: 'CreateTeammateStoreManager',
1139
+ CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
1140
+ CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
1141
+ CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
1142
+ CreateTeammateIntegrator: 'CreateTeammateIntegrator',
1143
+ CreateTeammateOnboarding: 'CreateTeammateOnboarding',
1144
+ CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
1145
+ CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
1146
+ ViewApmConfigurations: 'ViewApmConfigurations',
1147
+ EditApmConfigurations: 'EditApmConfigurations',
1148
+ ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
1149
+ CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
1150
+ UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
1151
+ DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
1152
+ StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
1153
+ ViewDevelopersSettings: 'ViewDevelopersSettings',
1154
+ EditDevelopersSettings: 'EditDevelopersSettings',
1155
+ ViewOrders: 'ViewOrders',
1156
+ UpdateOrdersAccept: 'UpdateOrdersAccept',
1157
+ UpdateOrdersReject: 'UpdateOrdersReject',
1158
+ UpdateOrdersRefund: 'UpdateOrdersRefund',
1159
+ UpdateOrdersDispatch: 'UpdateOrdersDispatch',
1160
+ ViewStores: 'ViewStores',
1161
+ CreateStores: 'CreateStores',
1162
+ EditStores: 'EditStores',
1163
+ ViewStoresOpeningHours: 'ViewStoresOpeningHours',
1164
+ UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
1165
+ UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
1166
+ ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
1167
+ EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
1168
+ EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
1169
+ UpdateStoresName: 'UpdateStoresName',
1170
+ EditStoreKioskSettings: 'EditStoreKioskSettings',
1171
+ EditStoreOrderCapacity: 'EditStoreOrderCapacity',
1172
+ EditStoreNotifications: 'EditStoreNotifications',
1173
+ ArchiveStores: 'ArchiveStores',
1174
+ PublishStores: 'PublishStores',
1175
+ UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
1176
+ UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
1177
+ ViewStoreGroups: 'ViewStoreGroups',
1178
+ CreateStoreGroups: 'CreateStoreGroups',
1179
+ UpdateStoreGroups: 'UpdateStoreGroups',
1180
+ DeleteStoreGroups: 'DeleteStoreGroups',
1181
+ ViewDeliveryZones: 'ViewDeliveryZones',
1182
+ CreateDeliveryZones: 'CreateDeliveryZones',
1183
+ UpdateDeliveryZones: 'UpdateDeliveryZones',
1184
+ DeleteDeliveryZones: 'DeleteDeliveryZones',
1185
+ ViewMenu: 'ViewMenu',
1186
+ CreateMenu: 'CreateMenu',
1187
+ UpdateMenu: 'UpdateMenu',
1188
+ DeleteMenu: 'DeleteMenu',
1189
+ UpdateMenuLock: 'UpdateMenuLock',
1190
+ UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
1191
+ EditMenuImage: 'EditMenuImage',
1192
+ ViewVouchers: 'ViewVouchers',
1193
+ EditVouchers: 'EditVouchers',
1194
+ ViewWebsiteContent: 'ViewWebsiteContent',
1195
+ EditWebsiteContent: 'EditWebsiteContent',
1196
+ ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
1197
+ ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
1198
+ ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
1199
+ ViewBankAccounts: 'ViewBankAccounts',
1200
+ CreateBankAccounts: 'CreateBankAccounts',
1201
+ UpdateBankAccounts: 'UpdateBankAccounts',
1202
+ UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
1203
+ ViewAssignedBankAccount: 'ViewAssignedBankAccount',
1204
+ VerifyBankAccounts: 'VerifyBankAccounts',
1205
+ ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
1206
+ EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
1207
+ EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
1208
+ EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
1209
+ ViewHydraConfig: 'ViewHydraConfig',
1210
+ UpdateHydraConfigManage: 'UpdateHydraConfigManage',
1211
+ InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
1212
+ DeleteTerminal: 'DeleteTerminal',
1213
+ ViewKioskTelemetry: 'ViewKioskTelemetry',
1214
+ ViewCustomers: 'ViewCustomers',
1215
+ EditCustomers: 'EditCustomers',
1216
+ CreateCustomers: 'CreateCustomers',
1217
+ CreateCatalogElements: 'CreateCatalogElements',
1218
+ UpdateCatalogElements: 'UpdateCatalogElements',
1219
+ ViewCatalogElements: 'ViewCatalogElements',
1220
+ DeleteCatalogElements: 'DeleteCatalogElements',
1221
+ ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
1222
+ CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
1223
+ UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
1224
+ DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
1225
+ UpdateMetafields: 'UpdateMetafields',
1226
+ ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
1227
+ PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
1228
+ ViewAppStatistics: 'ViewAppStatistics',
1229
+ ViewApmStatistics: 'ViewApmStatistics',
1230
+ ViewCampaignsStatistics: 'ViewCampaignsStatistics',
1231
+ ViewCustomerStatistics: 'ViewCustomerStatistics',
1232
+ ViewLiveStatistics: 'ViewLiveStatistics',
1233
+ ViewOrderStatistics: 'ViewOrderStatistics',
1234
+ ViewSalesStatistics: 'ViewSalesStatistics',
1235
+ ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
1236
+ ViewVouchersStatistics: 'ViewVouchersStatistics',
1237
+ DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
1238
+ ViewApmAuditLogs: 'ViewApmAuditLogs',
1239
+ ViewStoreAuditLogs: 'ViewStoreAuditLogs',
1240
+ ViewMenuAuditLogs: 'ViewMenuAuditLogs',
1241
+ ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
1242
+ ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
1243
+ ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
1244
+ ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
1245
+ ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
1246
+ ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
1247
+ ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
1248
+ ViewAppAuditLogs: 'ViewAppAuditLogs',
1249
+ ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
1250
+ ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
1251
+ ViewHydraAuditLogs: 'ViewHydraAuditLogs',
1252
+ ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
1253
+ ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
1254
+ ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
1255
+ ViewExternalAuditLogs: 'ViewExternalAuditLogs',
1256
+ CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
1257
+ ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
1258
+ ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
1259
+ ViewChannelAuditLogs: 'ViewChannelAuditLogs',
1260
+ ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
1261
+ SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
1262
+ InviteDriverToApp: 'InviteDriverToApp',
1263
+ GetDriverForApp: 'GetDriverForApp',
1264
+ RemoveDriverFromApp: 'RemoveDriverFromApp',
1265
+ AssignDriverToOrder: 'AssignDriverToOrder',
1266
+ UnassignDriverFromOrder: 'UnassignDriverFromOrder',
1267
+ UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
1268
+ UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
1269
+ ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
1270
+ CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
1271
+ UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
1272
+ DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
1273
+ ViewPayouts: 'ViewPayouts',
1274
+ ViewChannels: 'ViewChannels',
1275
+ ViewOnboarding: 'ViewOnboarding',
1276
+ UpdateOnboarding: 'UpdateOnboarding',
1277
+ ViewClientDevices: 'ViewClientDevices',
1278
+ UpdateClientDevices: 'UpdateClientDevices',
1279
+ EnrollClientDevices: 'EnrollClientDevices',
1280
+ AssignClientDevices: 'AssignClientDevices',
1281
+ ViewClientAuditLogs: 'ViewClientAuditLogs',
1282
+ CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
1283
+ ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
1284
+ UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
1285
+ DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
1286
+ UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
1287
+ CreateAppStoreSubscription: 'CreateAppStoreSubscription',
1288
+ UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
1289
+ DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
1290
+ ViewSalesChannels: 'ViewSalesChannels',
1291
+ EditSalesChannels: 'EditSalesChannels',
1292
+ CreateSalesChannel: 'CreateSalesChannel',
1293
+ ArchiveSalesChannel: 'ArchiveSalesChannel',
1294
+ UnarchiveSalesChannel: 'UnarchiveSalesChannel',
1295
+ PublishSalesChannel: 'PublishSalesChannel',
1296
+ UnpublishSalesChannel: 'UnpublishSalesChannel',
1297
+ CloneSalesChannel: 'CloneSalesChannel',
1298
+ ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
1299
+ CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
1300
+ UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
1301
+ UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
1302
+ ViewSubscriptions: 'ViewSubscriptions',
1303
+ ViewInvoices: 'ViewInvoices',
1304
+ EditAccountsBills: 'EditAccountsBills',
1305
+ ViewAccountsBills: 'ViewAccountsBills',
1306
+ EditAccountsCategories: 'EditAccountsCategories',
1307
+ ViewAccountsCategories: 'ViewAccountsCategories',
1308
+ EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
1309
+ ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
1310
+ EditAccountsCreditBooks: 'EditAccountsCreditBooks',
1311
+ ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
1312
+ EditAccountsExpenses: 'EditAccountsExpenses',
1313
+ ViewAccountsExpenses: 'ViewAccountsExpenses',
1314
+ EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
1315
+ ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
1316
+ EditDocumentExplorer: 'EditDocumentExplorer',
1317
+ ViewDocumentExplorer: 'ViewDocumentExplorer',
1318
+ ViewInventoryReports: 'ViewInventoryReports',
1319
+ EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
1320
+ ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
1321
+ EditInventoryStockItems: 'EditInventoryStockItems',
1322
+ ViewInventoryStockItems: 'ViewInventoryStockItems',
1323
+ EditInventorySupplier: 'EditInventorySupplier',
1324
+ ViewInventorySupplier: 'ViewInventorySupplier',
1325
+ EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
1326
+ ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
1327
+ ViewPayrollReports: 'ViewPayrollReports',
1328
+ EditPayrollHoliday: 'EditPayrollHoliday',
1329
+ ViewPayrollHoliday: 'ViewPayrollHoliday',
1330
+ EditPayrollRota: 'EditPayrollRota',
1331
+ ViewPayrollRota: 'ViewPayrollRota',
1332
+ EditPayrollStaff: 'EditPayrollStaff',
1333
+ ViewPayrollStaff: 'ViewPayrollStaff',
1334
+ ViewSalesReports: 'ViewSalesReports',
1335
+ ViewCostReports: 'ViewCostReports',
1336
+ ViewMenuReports: 'ViewMenuReports',
1337
+ ViewBrand: 'ViewBrand',
1338
+ EditBrand: 'EditBrand',
1339
+ CreateBrand: 'CreateBrand',
1340
+ TransferBrand: 'TransferBrand',
1341
+ ViewProperty: 'ViewProperty',
1342
+ EditProperty: 'EditProperty',
1343
+ CreateProperty: 'CreateProperty',
1344
+ ArchiveProperty: 'ArchiveProperty',
1345
+ ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
1346
+ EditEntityFeatureFlags: 'EditEntityFeatureFlags',
1347
+ CreateOrg: 'CreateOrg',
1348
+ EditOrg: 'EditOrg',
1349
+ ViewOrg: 'ViewOrg',
1350
+ ViewWebhooks: 'ViewWebhooks',
1351
+ EditWebhooks: 'EditWebhooks',
1352
+ RoleAdmin: 'RoleAdmin',
1353
+ RoleFactory: 'RoleFactory'
1354
+ };
1355
+ exports.GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum = {
1356
+ Main: 'Main',
1357
+ BrandOverride: 'BrandOverride',
1358
+ OrgOverride: 'OrgOverride',
1359
+ Forbidden: 'Forbidden',
1360
+ NamedRole: 'NamedRole'
1361
+ };
1362
+ exports.GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum = {
1363
+ Property: 'Property',
1364
+ Org: 'Org',
1365
+ Brand: 'Brand',
1366
+ SalesChannel: 'SalesChannel'
1367
+ };
1368
+ exports.GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum = {
1369
+ User: 'User',
1370
+ Automation: 'Automation'
1371
+ };
1372
+ exports.GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = {
1373
+ Property: 'Property',
1374
+ Org: 'Org',
1375
+ Brand: 'Brand',
1376
+ SalesChannel: 'SalesChannel'
1377
+ };
1378
+ exports.GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum = {
1379
+ AnyAuditLogs: 'AnyAuditLogs',
1380
+ ViewApp: 'ViewApp',
1381
+ CreateApp: 'CreateApp',
1382
+ UpdateApp: 'UpdateApp',
1383
+ ViewAppName: 'ViewAppName',
1384
+ EditAppAssets: 'EditAppAssets',
1385
+ EditAppFeatures: 'EditAppFeatures',
1386
+ ViewTeammates: 'ViewTeammates',
1387
+ EditTeammates: 'EditTeammates',
1388
+ CreateTeammateOwner: 'CreateTeammateOwner',
1389
+ CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
1390
+ CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
1391
+ CreateTeammateStoreManager: 'CreateTeammateStoreManager',
1392
+ CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
1393
+ CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
1394
+ CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
1395
+ CreateTeammateIntegrator: 'CreateTeammateIntegrator',
1396
+ CreateTeammateOnboarding: 'CreateTeammateOnboarding',
1397
+ CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
1398
+ CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
1399
+ ViewApmConfigurations: 'ViewApmConfigurations',
1400
+ EditApmConfigurations: 'EditApmConfigurations',
1401
+ ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
1402
+ CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
1403
+ UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
1404
+ DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
1405
+ StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
1406
+ ViewDevelopersSettings: 'ViewDevelopersSettings',
1407
+ EditDevelopersSettings: 'EditDevelopersSettings',
1408
+ ViewOrders: 'ViewOrders',
1409
+ UpdateOrdersAccept: 'UpdateOrdersAccept',
1410
+ UpdateOrdersReject: 'UpdateOrdersReject',
1411
+ UpdateOrdersRefund: 'UpdateOrdersRefund',
1412
+ UpdateOrdersDispatch: 'UpdateOrdersDispatch',
1413
+ ViewStores: 'ViewStores',
1414
+ CreateStores: 'CreateStores',
1415
+ EditStores: 'EditStores',
1416
+ ViewStoresOpeningHours: 'ViewStoresOpeningHours',
1417
+ UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
1418
+ UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
1419
+ ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
1420
+ EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
1421
+ EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
1422
+ UpdateStoresName: 'UpdateStoresName',
1423
+ EditStoreKioskSettings: 'EditStoreKioskSettings',
1424
+ EditStoreOrderCapacity: 'EditStoreOrderCapacity',
1425
+ EditStoreNotifications: 'EditStoreNotifications',
1426
+ ArchiveStores: 'ArchiveStores',
1427
+ PublishStores: 'PublishStores',
1428
+ UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
1429
+ UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
1430
+ ViewStoreGroups: 'ViewStoreGroups',
1431
+ CreateStoreGroups: 'CreateStoreGroups',
1432
+ UpdateStoreGroups: 'UpdateStoreGroups',
1433
+ DeleteStoreGroups: 'DeleteStoreGroups',
1434
+ ViewDeliveryZones: 'ViewDeliveryZones',
1435
+ CreateDeliveryZones: 'CreateDeliveryZones',
1436
+ UpdateDeliveryZones: 'UpdateDeliveryZones',
1437
+ DeleteDeliveryZones: 'DeleteDeliveryZones',
1438
+ ViewMenu: 'ViewMenu',
1439
+ CreateMenu: 'CreateMenu',
1440
+ UpdateMenu: 'UpdateMenu',
1441
+ DeleteMenu: 'DeleteMenu',
1442
+ UpdateMenuLock: 'UpdateMenuLock',
1443
+ UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
1444
+ EditMenuImage: 'EditMenuImage',
1445
+ ViewVouchers: 'ViewVouchers',
1446
+ EditVouchers: 'EditVouchers',
1447
+ ViewWebsiteContent: 'ViewWebsiteContent',
1448
+ EditWebsiteContent: 'EditWebsiteContent',
1449
+ ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
1450
+ ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
1451
+ ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
1452
+ ViewBankAccounts: 'ViewBankAccounts',
1453
+ CreateBankAccounts: 'CreateBankAccounts',
1454
+ UpdateBankAccounts: 'UpdateBankAccounts',
1455
+ UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
1456
+ ViewAssignedBankAccount: 'ViewAssignedBankAccount',
1457
+ VerifyBankAccounts: 'VerifyBankAccounts',
1458
+ ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
1459
+ EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
1460
+ EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
1461
+ EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
1462
+ ViewHydraConfig: 'ViewHydraConfig',
1463
+ UpdateHydraConfigManage: 'UpdateHydraConfigManage',
1464
+ InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
1465
+ DeleteTerminal: 'DeleteTerminal',
1466
+ ViewKioskTelemetry: 'ViewKioskTelemetry',
1467
+ ViewCustomers: 'ViewCustomers',
1468
+ EditCustomers: 'EditCustomers',
1469
+ CreateCustomers: 'CreateCustomers',
1470
+ CreateCatalogElements: 'CreateCatalogElements',
1471
+ UpdateCatalogElements: 'UpdateCatalogElements',
1472
+ ViewCatalogElements: 'ViewCatalogElements',
1473
+ DeleteCatalogElements: 'DeleteCatalogElements',
1474
+ ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
1475
+ CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
1476
+ UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
1477
+ DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
1478
+ UpdateMetafields: 'UpdateMetafields',
1479
+ ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
1480
+ PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
1481
+ ViewAppStatistics: 'ViewAppStatistics',
1482
+ ViewApmStatistics: 'ViewApmStatistics',
1483
+ ViewCampaignsStatistics: 'ViewCampaignsStatistics',
1484
+ ViewCustomerStatistics: 'ViewCustomerStatistics',
1485
+ ViewLiveStatistics: 'ViewLiveStatistics',
1486
+ ViewOrderStatistics: 'ViewOrderStatistics',
1487
+ ViewSalesStatistics: 'ViewSalesStatistics',
1488
+ ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
1489
+ ViewVouchersStatistics: 'ViewVouchersStatistics',
1490
+ DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
1491
+ ViewApmAuditLogs: 'ViewApmAuditLogs',
1492
+ ViewStoreAuditLogs: 'ViewStoreAuditLogs',
1493
+ ViewMenuAuditLogs: 'ViewMenuAuditLogs',
1494
+ ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
1495
+ ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
1496
+ ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
1497
+ ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
1498
+ ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
1499
+ ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
1500
+ ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
1501
+ ViewAppAuditLogs: 'ViewAppAuditLogs',
1502
+ ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
1503
+ ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
1504
+ ViewHydraAuditLogs: 'ViewHydraAuditLogs',
1505
+ ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
1506
+ ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
1507
+ ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
1508
+ ViewExternalAuditLogs: 'ViewExternalAuditLogs',
1509
+ CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
1510
+ ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
1511
+ ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
1512
+ ViewChannelAuditLogs: 'ViewChannelAuditLogs',
1513
+ ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
1514
+ SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
1515
+ InviteDriverToApp: 'InviteDriverToApp',
1516
+ GetDriverForApp: 'GetDriverForApp',
1517
+ RemoveDriverFromApp: 'RemoveDriverFromApp',
1518
+ AssignDriverToOrder: 'AssignDriverToOrder',
1519
+ UnassignDriverFromOrder: 'UnassignDriverFromOrder',
1520
+ UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
1521
+ UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
1522
+ ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
1523
+ CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
1524
+ UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
1525
+ DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
1526
+ ViewPayouts: 'ViewPayouts',
1527
+ ViewChannels: 'ViewChannels',
1528
+ ViewOnboarding: 'ViewOnboarding',
1529
+ UpdateOnboarding: 'UpdateOnboarding',
1530
+ ViewClientDevices: 'ViewClientDevices',
1531
+ UpdateClientDevices: 'UpdateClientDevices',
1532
+ EnrollClientDevices: 'EnrollClientDevices',
1533
+ AssignClientDevices: 'AssignClientDevices',
1534
+ ViewClientAuditLogs: 'ViewClientAuditLogs',
1535
+ CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
1536
+ ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
1537
+ UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
1538
+ DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
1539
+ UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
1540
+ CreateAppStoreSubscription: 'CreateAppStoreSubscription',
1541
+ UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
1542
+ DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
1543
+ ViewSalesChannels: 'ViewSalesChannels',
1544
+ EditSalesChannels: 'EditSalesChannels',
1545
+ CreateSalesChannel: 'CreateSalesChannel',
1546
+ ArchiveSalesChannel: 'ArchiveSalesChannel',
1547
+ UnarchiveSalesChannel: 'UnarchiveSalesChannel',
1548
+ PublishSalesChannel: 'PublishSalesChannel',
1549
+ UnpublishSalesChannel: 'UnpublishSalesChannel',
1550
+ CloneSalesChannel: 'CloneSalesChannel',
1551
+ ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
1552
+ CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
1553
+ UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
1554
+ UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
1555
+ ViewSubscriptions: 'ViewSubscriptions',
1556
+ ViewInvoices: 'ViewInvoices',
1557
+ EditAccountsBills: 'EditAccountsBills',
1558
+ ViewAccountsBills: 'ViewAccountsBills',
1559
+ EditAccountsCategories: 'EditAccountsCategories',
1560
+ ViewAccountsCategories: 'ViewAccountsCategories',
1561
+ EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
1562
+ ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
1563
+ EditAccountsCreditBooks: 'EditAccountsCreditBooks',
1564
+ ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
1565
+ EditAccountsExpenses: 'EditAccountsExpenses',
1566
+ ViewAccountsExpenses: 'ViewAccountsExpenses',
1567
+ EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
1568
+ ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
1569
+ EditDocumentExplorer: 'EditDocumentExplorer',
1570
+ ViewDocumentExplorer: 'ViewDocumentExplorer',
1571
+ ViewInventoryReports: 'ViewInventoryReports',
1572
+ EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
1573
+ ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
1574
+ EditInventoryStockItems: 'EditInventoryStockItems',
1575
+ ViewInventoryStockItems: 'ViewInventoryStockItems',
1576
+ EditInventorySupplier: 'EditInventorySupplier',
1577
+ ViewInventorySupplier: 'ViewInventorySupplier',
1578
+ EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
1579
+ ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
1580
+ ViewPayrollReports: 'ViewPayrollReports',
1581
+ EditPayrollHoliday: 'EditPayrollHoliday',
1582
+ ViewPayrollHoliday: 'ViewPayrollHoliday',
1583
+ EditPayrollRota: 'EditPayrollRota',
1584
+ ViewPayrollRota: 'ViewPayrollRota',
1585
+ EditPayrollStaff: 'EditPayrollStaff',
1586
+ ViewPayrollStaff: 'ViewPayrollStaff',
1587
+ ViewSalesReports: 'ViewSalesReports',
1588
+ ViewCostReports: 'ViewCostReports',
1589
+ ViewMenuReports: 'ViewMenuReports',
1590
+ ViewBrand: 'ViewBrand',
1591
+ EditBrand: 'EditBrand',
1592
+ CreateBrand: 'CreateBrand',
1593
+ TransferBrand: 'TransferBrand',
1594
+ ViewProperty: 'ViewProperty',
1595
+ EditProperty: 'EditProperty',
1596
+ CreateProperty: 'CreateProperty',
1597
+ ArchiveProperty: 'ArchiveProperty',
1598
+ ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
1599
+ EditEntityFeatureFlags: 'EditEntityFeatureFlags',
1600
+ CreateOrg: 'CreateOrg',
1601
+ EditOrg: 'EditOrg',
1602
+ ViewOrg: 'ViewOrg',
1603
+ ViewWebhooks: 'ViewWebhooks',
1604
+ EditWebhooks: 'EditWebhooks',
1605
+ RoleAdmin: 'RoleAdmin',
1606
+ RoleFactory: 'RoleFactory'
1607
+ };
1608
+ exports.IsInRoleRequestRolesEnum = {
1609
+ Admin: 'Admin',
1610
+ Factory: 'Factory'
1611
+ };
1612
+ exports.IsInRoleRequestCheckModeEnum = {
1613
+ Any: 'any',
1614
+ All: 'all'
1615
+ };
1616
+ exports.ListOrgRolesSuccessResponseValueValueResourceTypeEnum = {
1617
+ Property: 'Property',
1618
+ Org: 'Org',
1619
+ Brand: 'Brand',
1620
+ SalesChannel: 'SalesChannel'
1621
+ };
1622
+ exports.ListOrgRolesSuccessResponseValueValueRolesEnum = {
1623
+ OrgViewer: 'OrgViewer',
1624
+ OrgManager: 'OrgManager',
1625
+ OrgAdmin: 'OrgAdmin',
1626
+ BrandViewer: 'BrandViewer',
1627
+ BrandManager: 'BrandManager',
1628
+ BrandAdmin: 'BrandAdmin',
1629
+ StoreViewer: 'StoreViewer',
1630
+ StoreEditor: 'StoreEditor',
1631
+ StoreManager: 'StoreManager',
1632
+ CustomerViewer: 'CustomerViewer',
1633
+ CustomerManager: 'CustomerManager',
1634
+ VoucherViewer: 'VoucherViewer',
1635
+ VoucherEditor: 'VoucherEditor',
1636
+ VoucherManager: 'VoucherManager',
1637
+ VoucherCampaignManager: 'VoucherCampaignManager',
1638
+ VoucherStatisticsViewer: 'VoucherStatisticsViewer',
1639
+ AnalyticsViewer: 'AnalyticsViewer',
1640
+ ReportsViewer: 'ReportsViewer',
1641
+ FinanceViewer: 'FinanceViewer',
1642
+ FinanceManager: 'FinanceManager',
1643
+ TeamViewer: 'TeamViewer',
1644
+ TeamManager: 'TeamManager',
1645
+ TeamAdmin: 'TeamAdmin',
1646
+ TechViewer: 'TechViewer',
1647
+ TechManager: 'TechManager',
1648
+ AppStoreViewer: 'AppStoreViewer',
1649
+ AppStoreManager: 'AppStoreManager',
1650
+ SalesChannelViewer: 'SalesChannelViewer',
1651
+ SalesChannelEditor: 'SalesChannelEditor',
1652
+ SalesChannelManager: 'SalesChannelManager',
1653
+ DeliveryViewer: 'DeliveryViewer',
1654
+ DeliveryManager: 'DeliveryManager',
1655
+ DriverManager: 'DriverManager',
1656
+ AuditViewer: 'AuditViewer',
1657
+ AuditManager: 'AuditManager',
1658
+ AccountsViewer: 'AccountsViewer',
1659
+ AccountsEditor: 'AccountsEditor',
1660
+ DocumentExplorerViewer: 'DocumentExplorerViewer',
1661
+ DocumentExplorerEditor: 'DocumentExplorerEditor',
1662
+ PayrollViewer: 'PayrollViewer',
1663
+ PayrollEditor: 'PayrollEditor',
1664
+ PropertyViewer: 'PropertyViewer',
1665
+ PropertyManager: 'PropertyManager',
1666
+ PropertyAdmin: 'PropertyAdmin',
1667
+ WebsiteContentEditor: 'WebsiteContentEditor',
1668
+ WebsiteContentViewer: 'WebsiteContentViewer',
1669
+ WebsiteTechViewer: 'WebsiteTechViewer',
1670
+ MenuViewer: 'MenuViewer',
1671
+ MenuEditor: 'MenuEditor',
1672
+ MenuManager: 'MenuManager',
1673
+ MenuMetaFieldManager: 'MenuMetaFieldManager',
1674
+ MenuMetaFieldEditor: 'MenuMetaFieldEditor',
1675
+ MenuMetaFieldViewer: 'MenuMetaFieldViewer',
1676
+ StoreDeliveryZoneManager: 'StoreDeliveryZoneManager',
1677
+ StoreDeliveryZoneEditor: 'StoreDeliveryZoneEditor',
1678
+ StoreDeliveryZoneViewer: 'StoreDeliveryZoneViewer',
1679
+ OrderFulfillmentManager: 'OrderFulfillmentManager',
1680
+ OrderManager: 'OrderManager',
1681
+ OrderEditor: 'OrderEditor',
1682
+ OrderViewer: 'OrderViewer',
1683
+ InventoryManager: 'InventoryManager',
1684
+ InventoryEditor: 'InventoryEditor',
1685
+ InventoryViewer: 'InventoryViewer',
1686
+ PaymentManager: 'PaymentManager',
1687
+ OnboardingManager: 'OnboardingManager',
1688
+ FeatureFlagManager: 'FeatureFlagManager',
1689
+ PropertyOwnerMisc: 'PropertyOwnerMisc',
1690
+ ManagedOwnerMisc: 'ManagedOwnerMisc',
1691
+ IntegratorMisc: 'IntegratorMisc',
1692
+ PropertyManagerMisc: 'PropertyManagerMisc',
1693
+ FinanceManagerMisc: 'FinanceManagerMisc',
1694
+ SupportMisc: 'SupportMisc'
1695
+ };
1696
+ exports.ListPermissionsSuccessResponsePermissionsEnum = {
1697
+ AnyAuditLogs: 'AnyAuditLogs',
1698
+ ViewApp: 'ViewApp',
1699
+ CreateApp: 'CreateApp',
1700
+ UpdateApp: 'UpdateApp',
1701
+ ViewAppName: 'ViewAppName',
1702
+ EditAppAssets: 'EditAppAssets',
1703
+ EditAppFeatures: 'EditAppFeatures',
1704
+ ViewTeammates: 'ViewTeammates',
1705
+ EditTeammates: 'EditTeammates',
1706
+ CreateTeammateOwner: 'CreateTeammateOwner',
1707
+ CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
1708
+ CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
1709
+ CreateTeammateStoreManager: 'CreateTeammateStoreManager',
1710
+ CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
1711
+ CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
1712
+ CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
1713
+ CreateTeammateIntegrator: 'CreateTeammateIntegrator',
1714
+ CreateTeammateOnboarding: 'CreateTeammateOnboarding',
1715
+ CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
1716
+ CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
1717
+ ViewApmConfigurations: 'ViewApmConfigurations',
1718
+ EditApmConfigurations: 'EditApmConfigurations',
1719
+ ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
1720
+ CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
1721
+ UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
1722
+ DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
1723
+ StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
1724
+ ViewDevelopersSettings: 'ViewDevelopersSettings',
1725
+ EditDevelopersSettings: 'EditDevelopersSettings',
1726
+ ViewOrders: 'ViewOrders',
1727
+ UpdateOrdersAccept: 'UpdateOrdersAccept',
1728
+ UpdateOrdersReject: 'UpdateOrdersReject',
1729
+ UpdateOrdersRefund: 'UpdateOrdersRefund',
1730
+ UpdateOrdersDispatch: 'UpdateOrdersDispatch',
1731
+ ViewStores: 'ViewStores',
1732
+ CreateStores: 'CreateStores',
1733
+ EditStores: 'EditStores',
1734
+ ViewStoresOpeningHours: 'ViewStoresOpeningHours',
1735
+ UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
1736
+ UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
1737
+ ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
1738
+ EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
1739
+ EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
1740
+ UpdateStoresName: 'UpdateStoresName',
1741
+ EditStoreKioskSettings: 'EditStoreKioskSettings',
1742
+ EditStoreOrderCapacity: 'EditStoreOrderCapacity',
1743
+ EditStoreNotifications: 'EditStoreNotifications',
1744
+ ArchiveStores: 'ArchiveStores',
1745
+ PublishStores: 'PublishStores',
1746
+ UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
1747
+ UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
1748
+ ViewStoreGroups: 'ViewStoreGroups',
1749
+ CreateStoreGroups: 'CreateStoreGroups',
1750
+ UpdateStoreGroups: 'UpdateStoreGroups',
1751
+ DeleteStoreGroups: 'DeleteStoreGroups',
1752
+ ViewDeliveryZones: 'ViewDeliveryZones',
1753
+ CreateDeliveryZones: 'CreateDeliveryZones',
1754
+ UpdateDeliveryZones: 'UpdateDeliveryZones',
1755
+ DeleteDeliveryZones: 'DeleteDeliveryZones',
1756
+ ViewMenu: 'ViewMenu',
1757
+ CreateMenu: 'CreateMenu',
1758
+ UpdateMenu: 'UpdateMenu',
1759
+ DeleteMenu: 'DeleteMenu',
1760
+ UpdateMenuLock: 'UpdateMenuLock',
1761
+ UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
1762
+ EditMenuImage: 'EditMenuImage',
1763
+ ViewVouchers: 'ViewVouchers',
1764
+ EditVouchers: 'EditVouchers',
1765
+ ViewWebsiteContent: 'ViewWebsiteContent',
1766
+ EditWebsiteContent: 'EditWebsiteContent',
1767
+ ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
1768
+ ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
1769
+ ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
1770
+ ViewBankAccounts: 'ViewBankAccounts',
1771
+ CreateBankAccounts: 'CreateBankAccounts',
1772
+ UpdateBankAccounts: 'UpdateBankAccounts',
1773
+ UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
1774
+ ViewAssignedBankAccount: 'ViewAssignedBankAccount',
1775
+ VerifyBankAccounts: 'VerifyBankAccounts',
1776
+ ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
1777
+ EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
1778
+ EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
1779
+ EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
1780
+ ViewHydraConfig: 'ViewHydraConfig',
1781
+ UpdateHydraConfigManage: 'UpdateHydraConfigManage',
1782
+ InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
1783
+ DeleteTerminal: 'DeleteTerminal',
1784
+ ViewKioskTelemetry: 'ViewKioskTelemetry',
1785
+ ViewCustomers: 'ViewCustomers',
1786
+ EditCustomers: 'EditCustomers',
1787
+ CreateCustomers: 'CreateCustomers',
1788
+ CreateCatalogElements: 'CreateCatalogElements',
1789
+ UpdateCatalogElements: 'UpdateCatalogElements',
1790
+ ViewCatalogElements: 'ViewCatalogElements',
1791
+ DeleteCatalogElements: 'DeleteCatalogElements',
1792
+ ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
1793
+ CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
1794
+ UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
1795
+ DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
1796
+ UpdateMetafields: 'UpdateMetafields',
1797
+ ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
1798
+ PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
1799
+ ViewAppStatistics: 'ViewAppStatistics',
1800
+ ViewApmStatistics: 'ViewApmStatistics',
1801
+ ViewCampaignsStatistics: 'ViewCampaignsStatistics',
1802
+ ViewCustomerStatistics: 'ViewCustomerStatistics',
1803
+ ViewLiveStatistics: 'ViewLiveStatistics',
1804
+ ViewOrderStatistics: 'ViewOrderStatistics',
1805
+ ViewSalesStatistics: 'ViewSalesStatistics',
1806
+ ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
1807
+ ViewVouchersStatistics: 'ViewVouchersStatistics',
1808
+ DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
1809
+ ViewApmAuditLogs: 'ViewApmAuditLogs',
1810
+ ViewStoreAuditLogs: 'ViewStoreAuditLogs',
1811
+ ViewMenuAuditLogs: 'ViewMenuAuditLogs',
1812
+ ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
1813
+ ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
1814
+ ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
1815
+ ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
1816
+ ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
1817
+ ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
1818
+ ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
1819
+ ViewAppAuditLogs: 'ViewAppAuditLogs',
1820
+ ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
1821
+ ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
1822
+ ViewHydraAuditLogs: 'ViewHydraAuditLogs',
1823
+ ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
1824
+ ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
1825
+ ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
1826
+ ViewExternalAuditLogs: 'ViewExternalAuditLogs',
1827
+ CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
1828
+ ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
1829
+ ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
1830
+ ViewChannelAuditLogs: 'ViewChannelAuditLogs',
1831
+ ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
1832
+ SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
1833
+ InviteDriverToApp: 'InviteDriverToApp',
1834
+ GetDriverForApp: 'GetDriverForApp',
1835
+ RemoveDriverFromApp: 'RemoveDriverFromApp',
1836
+ AssignDriverToOrder: 'AssignDriverToOrder',
1837
+ UnassignDriverFromOrder: 'UnassignDriverFromOrder',
1838
+ UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
1839
+ UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
1840
+ ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
1841
+ CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
1842
+ UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
1843
+ DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
1844
+ ViewPayouts: 'ViewPayouts',
1845
+ ViewChannels: 'ViewChannels',
1846
+ ViewOnboarding: 'ViewOnboarding',
1847
+ UpdateOnboarding: 'UpdateOnboarding',
1848
+ ViewClientDevices: 'ViewClientDevices',
1849
+ UpdateClientDevices: 'UpdateClientDevices',
1850
+ EnrollClientDevices: 'EnrollClientDevices',
1851
+ AssignClientDevices: 'AssignClientDevices',
1852
+ ViewClientAuditLogs: 'ViewClientAuditLogs',
1853
+ CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
1854
+ ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
1855
+ UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
1856
+ DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
1857
+ UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
1858
+ CreateAppStoreSubscription: 'CreateAppStoreSubscription',
1859
+ UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
1860
+ DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
1861
+ ViewSalesChannels: 'ViewSalesChannels',
1862
+ EditSalesChannels: 'EditSalesChannels',
1863
+ CreateSalesChannel: 'CreateSalesChannel',
1864
+ ArchiveSalesChannel: 'ArchiveSalesChannel',
1865
+ UnarchiveSalesChannel: 'UnarchiveSalesChannel',
1866
+ PublishSalesChannel: 'PublishSalesChannel',
1867
+ UnpublishSalesChannel: 'UnpublishSalesChannel',
1868
+ CloneSalesChannel: 'CloneSalesChannel',
1869
+ ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
1870
+ CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
1871
+ UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
1872
+ UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
1873
+ ViewSubscriptions: 'ViewSubscriptions',
1874
+ ViewInvoices: 'ViewInvoices',
1875
+ EditAccountsBills: 'EditAccountsBills',
1876
+ ViewAccountsBills: 'ViewAccountsBills',
1877
+ EditAccountsCategories: 'EditAccountsCategories',
1878
+ ViewAccountsCategories: 'ViewAccountsCategories',
1879
+ EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
1880
+ ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
1881
+ EditAccountsCreditBooks: 'EditAccountsCreditBooks',
1882
+ ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
1883
+ EditAccountsExpenses: 'EditAccountsExpenses',
1884
+ ViewAccountsExpenses: 'ViewAccountsExpenses',
1885
+ EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
1886
+ ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
1887
+ EditDocumentExplorer: 'EditDocumentExplorer',
1888
+ ViewDocumentExplorer: 'ViewDocumentExplorer',
1889
+ ViewInventoryReports: 'ViewInventoryReports',
1890
+ EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
1891
+ ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
1892
+ EditInventoryStockItems: 'EditInventoryStockItems',
1893
+ ViewInventoryStockItems: 'ViewInventoryStockItems',
1894
+ EditInventorySupplier: 'EditInventorySupplier',
1895
+ ViewInventorySupplier: 'ViewInventorySupplier',
1896
+ EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
1897
+ ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
1898
+ ViewPayrollReports: 'ViewPayrollReports',
1899
+ EditPayrollHoliday: 'EditPayrollHoliday',
1900
+ ViewPayrollHoliday: 'ViewPayrollHoliday',
1901
+ EditPayrollRota: 'EditPayrollRota',
1902
+ ViewPayrollRota: 'ViewPayrollRota',
1903
+ EditPayrollStaff: 'EditPayrollStaff',
1904
+ ViewPayrollStaff: 'ViewPayrollStaff',
1905
+ ViewSalesReports: 'ViewSalesReports',
1906
+ ViewCostReports: 'ViewCostReports',
1907
+ ViewMenuReports: 'ViewMenuReports',
1908
+ ViewBrand: 'ViewBrand',
1909
+ EditBrand: 'EditBrand',
1910
+ CreateBrand: 'CreateBrand',
1911
+ TransferBrand: 'TransferBrand',
1912
+ ViewProperty: 'ViewProperty',
1913
+ EditProperty: 'EditProperty',
1914
+ CreateProperty: 'CreateProperty',
1915
+ ArchiveProperty: 'ArchiveProperty',
1916
+ ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
1917
+ EditEntityFeatureFlags: 'EditEntityFeatureFlags',
1918
+ CreateOrg: 'CreateOrg',
1919
+ EditOrg: 'EditOrg',
1920
+ ViewOrg: 'ViewOrg',
1921
+ ViewWebhooks: 'ViewWebhooks',
1922
+ EditWebhooks: 'EditWebhooks',
1923
+ RoleAdmin: 'RoleAdmin',
1924
+ RoleFactory: 'RoleFactory'
1925
+ };
1926
+ exports.ListRolesSuccessResponseRolesEnum = {
1927
+ Admin: 'Admin',
1928
+ Factory: 'Factory'
1929
+ };
1930
+ exports.RevokeForbiddenRoleRequestBodyCompensatingRoleEnum = {
1931
+ OwnerCompensating: 'OwnerCompensating',
1932
+ PropertyOwnerCompensating: 'PropertyOwnerCompensating',
1933
+ ManagedOwnerCompensating: 'ManagedOwnerCompensating',
1934
+ IntegratorCompensating: 'IntegratorCompensating',
1935
+ PropertyManagerCompensating: 'PropertyManagerCompensating',
1936
+ FinanceManagerCompensating: 'FinanceManagerCompensating'
1937
+ };
1938
+ exports.RevokeRoleRequestBodyRoleEnum = {
1939
+ OrgViewer: 'OrgViewer',
1940
+ OrgManager: 'OrgManager',
1941
+ OrgAdmin: 'OrgAdmin',
1942
+ BrandViewer: 'BrandViewer',
1943
+ BrandManager: 'BrandManager',
1944
+ BrandAdmin: 'BrandAdmin',
1945
+ StoreViewer: 'StoreViewer',
1946
+ StoreEditor: 'StoreEditor',
1947
+ StoreManager: 'StoreManager',
1948
+ CustomerViewer: 'CustomerViewer',
1949
+ CustomerManager: 'CustomerManager',
1950
+ VoucherViewer: 'VoucherViewer',
1951
+ VoucherEditor: 'VoucherEditor',
1952
+ VoucherManager: 'VoucherManager',
1953
+ VoucherCampaignManager: 'VoucherCampaignManager',
1954
+ VoucherStatisticsViewer: 'VoucherStatisticsViewer',
1955
+ AnalyticsViewer: 'AnalyticsViewer',
1956
+ ReportsViewer: 'ReportsViewer',
1957
+ FinanceViewer: 'FinanceViewer',
1958
+ FinanceManager: 'FinanceManager',
1959
+ TeamViewer: 'TeamViewer',
1960
+ TeamManager: 'TeamManager',
1961
+ TeamAdmin: 'TeamAdmin',
1962
+ TechViewer: 'TechViewer',
1963
+ TechManager: 'TechManager',
1964
+ AppStoreViewer: 'AppStoreViewer',
1965
+ AppStoreManager: 'AppStoreManager',
1966
+ SalesChannelViewer: 'SalesChannelViewer',
1967
+ SalesChannelEditor: 'SalesChannelEditor',
1968
+ SalesChannelManager: 'SalesChannelManager',
1969
+ DeliveryViewer: 'DeliveryViewer',
1970
+ DeliveryManager: 'DeliveryManager',
1971
+ DriverManager: 'DriverManager',
1972
+ AuditViewer: 'AuditViewer',
1973
+ AuditManager: 'AuditManager',
1974
+ AccountsViewer: 'AccountsViewer',
1975
+ AccountsEditor: 'AccountsEditor',
1976
+ DocumentExplorerViewer: 'DocumentExplorerViewer',
1977
+ DocumentExplorerEditor: 'DocumentExplorerEditor',
1978
+ PayrollViewer: 'PayrollViewer',
1979
+ PayrollEditor: 'PayrollEditor',
1980
+ PropertyViewer: 'PropertyViewer',
1981
+ PropertyManager: 'PropertyManager',
1982
+ PropertyAdmin: 'PropertyAdmin',
1983
+ WebsiteContentEditor: 'WebsiteContentEditor',
1984
+ WebsiteContentViewer: 'WebsiteContentViewer',
1985
+ WebsiteTechViewer: 'WebsiteTechViewer',
1986
+ MenuViewer: 'MenuViewer',
1987
+ MenuEditor: 'MenuEditor',
1988
+ MenuManager: 'MenuManager',
1989
+ MenuMetaFieldManager: 'MenuMetaFieldManager',
1990
+ MenuMetaFieldEditor: 'MenuMetaFieldEditor',
1991
+ MenuMetaFieldViewer: 'MenuMetaFieldViewer',
1992
+ StoreDeliveryZoneManager: 'StoreDeliveryZoneManager',
1993
+ StoreDeliveryZoneEditor: 'StoreDeliveryZoneEditor',
1994
+ StoreDeliveryZoneViewer: 'StoreDeliveryZoneViewer',
1995
+ OrderFulfillmentManager: 'OrderFulfillmentManager',
1996
+ OrderManager: 'OrderManager',
1997
+ OrderEditor: 'OrderEditor',
1998
+ OrderViewer: 'OrderViewer',
1999
+ InventoryManager: 'InventoryManager',
2000
+ InventoryEditor: 'InventoryEditor',
2001
+ InventoryViewer: 'InventoryViewer',
2002
+ PaymentManager: 'PaymentManager',
2003
+ OnboardingManager: 'OnboardingManager',
2004
+ FeatureFlagManager: 'FeatureFlagManager',
2005
+ PropertyOwnerMisc: 'PropertyOwnerMisc',
2006
+ ManagedOwnerMisc: 'ManagedOwnerMisc',
2007
+ IntegratorMisc: 'IntegratorMisc',
2008
+ PropertyManagerMisc: 'PropertyManagerMisc',
2009
+ FinanceManagerMisc: 'FinanceManagerMisc',
2010
+ SupportMisc: 'SupportMisc'
2011
+ };
2012
+ /**
2013
+ * AuthenticationApi - axios parameter creator
2014
+ * @export
2015
+ */
2016
+ var AuthenticationApiAxiosParamCreator = function (configuration) {
2017
+ var _this = this;
2018
+ return {
2019
+ /**
2020
+ * Authenticate and authorize a user to perform an action
2021
+ * @summary Authenticate and authorize Request
2022
+ * @param {AuthenticateAndAuthorizeRequest} authenticateAndAuthorizeRequest
2023
+ * @param {*} [options] Override http request option.
2024
+ * @throws {RequiredError}
2025
+ */
2026
+ authenticateAndAuthorize: function (authenticateAndAuthorizeRequest_1) {
2027
+ var args_1 = [];
2028
+ for (var _i = 1; _i < arguments.length; _i++) {
2029
+ args_1[_i - 1] = arguments[_i];
2030
+ }
2031
+ return __awaiter(_this, __spreadArray([authenticateAndAuthorizeRequest_1], args_1, true), void 0, function (authenticateAndAuthorizeRequest, options) {
2032
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2033
+ if (options === void 0) { options = {}; }
2034
+ return __generator(this, function (_a) {
2035
+ switch (_a.label) {
2036
+ case 0:
2037
+ // verify required parameter 'authenticateAndAuthorizeRequest' is not null or undefined
2038
+ (0, common_1.assertParamExists)('authenticateAndAuthorize', 'authenticateAndAuthorizeRequest', authenticateAndAuthorizeRequest);
2039
+ localVarPath = "/authenticateAndAuthorize";
2040
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2041
+ if (configuration) {
2042
+ baseOptions = configuration.baseOptions;
2043
+ }
2044
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
2045
+ localVarHeaderParameter = {};
2046
+ localVarQueryParameter = {};
2047
+ // authentication ApiKeyAuth required
2048
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
2049
+ case 1:
2050
+ // authentication ApiKeyAuth required
2051
+ _a.sent();
2052
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2053
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2054
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2055
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2056
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticateAndAuthorizeRequest, localVarRequestOptions, configuration);
2057
+ return [2 /*return*/, {
2058
+ url: (0, common_1.toPathString)(localVarUrlObj),
2059
+ options: localVarRequestOptions,
2060
+ }];
2061
+ }
2062
+ });
2063
+ });
2064
+ },
2065
+ };
2066
+ };
2067
+ exports.AuthenticationApiAxiosParamCreator = AuthenticationApiAxiosParamCreator;
2068
+ /**
864
2069
  * AuthenticationApi - functional programming interface
865
2070
  * @export
866
2071
  */
867
- var AuthenticationApiFp = function (configuration) {
868
- var localVarAxiosParamCreator = (0, exports.AuthenticationApiAxiosParamCreator)(configuration);
2072
+ var AuthenticationApiFp = function (configuration) {
2073
+ var localVarAxiosParamCreator = (0, exports.AuthenticationApiAxiosParamCreator)(configuration);
2074
+ return {
2075
+ /**
2076
+ * Authenticate and authorize a user to perform an action
2077
+ * @summary Authenticate and authorize Request
2078
+ * @param {AuthenticateAndAuthorizeRequest} authenticateAndAuthorizeRequest
2079
+ * @param {*} [options] Override http request option.
2080
+ * @throws {RequiredError}
2081
+ */
2082
+ authenticateAndAuthorize: function (authenticateAndAuthorizeRequest, options) {
2083
+ return __awaiter(this, void 0, void 0, function () {
2084
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2085
+ var _a, _b, _c;
2086
+ return __generator(this, function (_d) {
2087
+ switch (_d.label) {
2088
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.authenticateAndAuthorize(authenticateAndAuthorizeRequest, options)];
2089
+ case 1:
2090
+ localVarAxiosArgs = _d.sent();
2091
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2092
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthenticationApi.authenticateAndAuthorize']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2093
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2094
+ }
2095
+ });
2096
+ });
2097
+ },
2098
+ };
2099
+ };
2100
+ exports.AuthenticationApiFp = AuthenticationApiFp;
2101
+ /**
2102
+ * AuthenticationApi - factory interface
2103
+ * @export
2104
+ */
2105
+ var AuthenticationApiFactory = function (configuration, basePath, axios) {
2106
+ var localVarFp = (0, exports.AuthenticationApiFp)(configuration);
2107
+ return {
2108
+ /**
2109
+ * Authenticate and authorize a user to perform an action
2110
+ * @summary Authenticate and authorize Request
2111
+ * @param {AuthenticateAndAuthorizeRequest} authenticateAndAuthorizeRequest
2112
+ * @param {*} [options] Override http request option.
2113
+ * @throws {RequiredError}
2114
+ */
2115
+ authenticateAndAuthorize: function (authenticateAndAuthorizeRequest, options) {
2116
+ return localVarFp.authenticateAndAuthorize(authenticateAndAuthorizeRequest, options).then(function (request) { return request(axios, basePath); });
2117
+ },
2118
+ };
2119
+ };
2120
+ exports.AuthenticationApiFactory = AuthenticationApiFactory;
2121
+ /**
2122
+ * AuthenticationApi - object-oriented interface
2123
+ * @export
2124
+ * @class AuthenticationApi
2125
+ * @extends {BaseAPI}
2126
+ */
2127
+ var AuthenticationApi = /** @class */ (function (_super) {
2128
+ __extends(AuthenticationApi, _super);
2129
+ function AuthenticationApi() {
2130
+ return _super !== null && _super.apply(this, arguments) || this;
2131
+ }
2132
+ /**
2133
+ * Authenticate and authorize a user to perform an action
2134
+ * @summary Authenticate and authorize Request
2135
+ * @param {AuthenticateAndAuthorizeRequest} authenticateAndAuthorizeRequest
2136
+ * @param {*} [options] Override http request option.
2137
+ * @throws {RequiredError}
2138
+ * @memberof AuthenticationApi
2139
+ */
2140
+ AuthenticationApi.prototype.authenticateAndAuthorize = function (authenticateAndAuthorizeRequest, options) {
2141
+ var _this = this;
2142
+ return (0, exports.AuthenticationApiFp)(this.configuration).authenticateAndAuthorize(authenticateAndAuthorizeRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2143
+ };
2144
+ return AuthenticationApi;
2145
+ }(base_1.BaseAPI));
2146
+ exports.AuthenticationApi = AuthenticationApi;
2147
+ /**
2148
+ * AuthorizationApi - axios parameter creator
2149
+ * @export
2150
+ */
2151
+ var AuthorizationApiAxiosParamCreator = function (configuration) {
2152
+ var _this = this;
2153
+ return {
2154
+ /**
2155
+ * Authenticate and authorize a user to perform an action
2156
+ * @summary Authenticate and authorize Request
2157
+ * @param {AuthenticateAndAuthorizeRequest} authenticateAndAuthorizeRequest
2158
+ * @param {*} [options] Override http request option.
2159
+ * @throws {RequiredError}
2160
+ */
2161
+ authenticateAndAuthorize: function (authenticateAndAuthorizeRequest_1) {
2162
+ var args_1 = [];
2163
+ for (var _i = 1; _i < arguments.length; _i++) {
2164
+ args_1[_i - 1] = arguments[_i];
2165
+ }
2166
+ return __awaiter(_this, __spreadArray([authenticateAndAuthorizeRequest_1], args_1, true), void 0, function (authenticateAndAuthorizeRequest, options) {
2167
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2168
+ if (options === void 0) { options = {}; }
2169
+ return __generator(this, function (_a) {
2170
+ switch (_a.label) {
2171
+ case 0:
2172
+ // verify required parameter 'authenticateAndAuthorizeRequest' is not null or undefined
2173
+ (0, common_1.assertParamExists)('authenticateAndAuthorize', 'authenticateAndAuthorizeRequest', authenticateAndAuthorizeRequest);
2174
+ localVarPath = "/authenticateAndAuthorize";
2175
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2176
+ if (configuration) {
2177
+ baseOptions = configuration.baseOptions;
2178
+ }
2179
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
2180
+ localVarHeaderParameter = {};
2181
+ localVarQueryParameter = {};
2182
+ // authentication ApiKeyAuth required
2183
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
2184
+ case 1:
2185
+ // authentication ApiKeyAuth required
2186
+ _a.sent();
2187
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2188
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2189
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2190
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2191
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticateAndAuthorizeRequest, localVarRequestOptions, configuration);
2192
+ return [2 /*return*/, {
2193
+ url: (0, common_1.toPathString)(localVarUrlObj),
2194
+ options: localVarRequestOptions,
2195
+ }];
2196
+ }
2197
+ });
2198
+ });
2199
+ },
2200
+ /**
2201
+ * Authenticate and check if a user is in any/all of the roles
2202
+ * @summary Authenticate and Check Is In Role
2203
+ * @param {AuthenticateAndCheckIsInRoleRequest} [authenticateAndCheckIsInRoleRequest]
2204
+ * @param {*} [options] Override http request option.
2205
+ * @throws {RequiredError}
2206
+ */
2207
+ authenticateAndCheckIsInRole: function (authenticateAndCheckIsInRoleRequest_1) {
2208
+ var args_1 = [];
2209
+ for (var _i = 1; _i < arguments.length; _i++) {
2210
+ args_1[_i - 1] = arguments[_i];
2211
+ }
2212
+ return __awaiter(_this, __spreadArray([authenticateAndCheckIsInRoleRequest_1], args_1, true), void 0, function (authenticateAndCheckIsInRoleRequest, options) {
2213
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2214
+ if (options === void 0) { options = {}; }
2215
+ return __generator(this, function (_a) {
2216
+ switch (_a.label) {
2217
+ case 0:
2218
+ localVarPath = "/authenticateAndCheckIsInRole";
2219
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2220
+ if (configuration) {
2221
+ baseOptions = configuration.baseOptions;
2222
+ }
2223
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
2224
+ localVarHeaderParameter = {};
2225
+ localVarQueryParameter = {};
2226
+ // authentication ApiKeyAuth required
2227
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
2228
+ case 1:
2229
+ // authentication ApiKeyAuth required
2230
+ _a.sent();
2231
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2232
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2233
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2234
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2235
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticateAndCheckIsInRoleRequest, localVarRequestOptions, configuration);
2236
+ return [2 /*return*/, {
2237
+ url: (0, common_1.toPathString)(localVarUrlObj),
2238
+ options: localVarRequestOptions,
2239
+ }];
2240
+ }
2241
+ });
2242
+ });
2243
+ },
2244
+ /**
2245
+ * Check if a user is authorized to perform an action
2246
+ * @summary Authorize Request
2247
+ * @param {AuthorizationRequest} [authorizationRequest]
2248
+ * @param {*} [options] Override http request option.
2249
+ * @throws {RequiredError}
2250
+ */
2251
+ authorize: function (authorizationRequest_1) {
2252
+ var args_1 = [];
2253
+ for (var _i = 1; _i < arguments.length; _i++) {
2254
+ args_1[_i - 1] = arguments[_i];
2255
+ }
2256
+ return __awaiter(_this, __spreadArray([authorizationRequest_1], args_1, true), void 0, function (authorizationRequest, options) {
2257
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2258
+ if (options === void 0) { options = {}; }
2259
+ return __generator(this, function (_a) {
2260
+ switch (_a.label) {
2261
+ case 0:
2262
+ localVarPath = "/authorize";
2263
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2264
+ if (configuration) {
2265
+ baseOptions = configuration.baseOptions;
2266
+ }
2267
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
2268
+ localVarHeaderParameter = {};
2269
+ localVarQueryParameter = {};
2270
+ // authentication ApiKeyAuth required
2271
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
2272
+ case 1:
2273
+ // authentication ApiKeyAuth required
2274
+ _a.sent();
2275
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2276
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2277
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2278
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2279
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authorizationRequest, localVarRequestOptions, configuration);
2280
+ return [2 /*return*/, {
2281
+ url: (0, common_1.toPathString)(localVarUrlObj),
2282
+ options: localVarRequestOptions,
2283
+ }];
2284
+ }
2285
+ });
2286
+ });
2287
+ },
2288
+ /**
2289
+ * Check if a user is authorized to perform an action on multiple resources
2290
+ * @summary Authorize Batch Request
2291
+ * @param {AuthorizationBatchRequest} [authorizationBatchRequest]
2292
+ * @param {*} [options] Override http request option.
2293
+ * @throws {RequiredError}
2294
+ */
2295
+ authorizeBatch: function (authorizationBatchRequest_1) {
2296
+ var args_1 = [];
2297
+ for (var _i = 1; _i < arguments.length; _i++) {
2298
+ args_1[_i - 1] = arguments[_i];
2299
+ }
2300
+ return __awaiter(_this, __spreadArray([authorizationBatchRequest_1], args_1, true), void 0, function (authorizationBatchRequest, options) {
2301
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2302
+ if (options === void 0) { options = {}; }
2303
+ return __generator(this, function (_a) {
2304
+ switch (_a.label) {
2305
+ case 0:
2306
+ localVarPath = "/authorize/batch";
2307
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2308
+ if (configuration) {
2309
+ baseOptions = configuration.baseOptions;
2310
+ }
2311
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
2312
+ localVarHeaderParameter = {};
2313
+ localVarQueryParameter = {};
2314
+ // authentication ApiKeyAuth required
2315
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
2316
+ case 1:
2317
+ // authentication ApiKeyAuth required
2318
+ _a.sent();
2319
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2320
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2321
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2322
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2323
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authorizationBatchRequest, localVarRequestOptions, configuration);
2324
+ return [2 /*return*/, {
2325
+ url: (0, common_1.toPathString)(localVarUrlObj),
2326
+ options: localVarRequestOptions,
2327
+ }];
2328
+ }
2329
+ });
2330
+ });
2331
+ },
2332
+ /**
2333
+ * Check if a user is in any/all of the roles
2334
+ * @summary Check Is In Role
2335
+ * @param {IsInRoleRequest} [isInRoleRequest]
2336
+ * @param {*} [options] Override http request option.
2337
+ * @throws {RequiredError}
2338
+ */
2339
+ checkIsInRole: function (isInRoleRequest_1) {
2340
+ var args_1 = [];
2341
+ for (var _i = 1; _i < arguments.length; _i++) {
2342
+ args_1[_i - 1] = arguments[_i];
2343
+ }
2344
+ return __awaiter(_this, __spreadArray([isInRoleRequest_1], args_1, true), void 0, function (isInRoleRequest, options) {
2345
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2346
+ if (options === void 0) { options = {}; }
2347
+ return __generator(this, function (_a) {
2348
+ switch (_a.label) {
2349
+ case 0:
2350
+ localVarPath = "/checkIsInRole";
2351
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2352
+ if (configuration) {
2353
+ baseOptions = configuration.baseOptions;
2354
+ }
2355
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
2356
+ localVarHeaderParameter = {};
2357
+ localVarQueryParameter = {};
2358
+ // authentication ApiKeyAuth required
2359
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
2360
+ case 1:
2361
+ // authentication ApiKeyAuth required
2362
+ _a.sent();
2363
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2364
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2365
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2366
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2367
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(isInRoleRequest, localVarRequestOptions, configuration);
2368
+ return [2 /*return*/, {
2369
+ url: (0, common_1.toPathString)(localVarUrlObj),
2370
+ options: localVarRequestOptions,
2371
+ }];
2372
+ }
2373
+ });
2374
+ });
2375
+ },
2376
+ };
2377
+ };
2378
+ exports.AuthorizationApiAxiosParamCreator = AuthorizationApiAxiosParamCreator;
2379
+ /**
2380
+ * AuthorizationApi - functional programming interface
2381
+ * @export
2382
+ */
2383
+ var AuthorizationApiFp = function (configuration) {
2384
+ var localVarAxiosParamCreator = (0, exports.AuthorizationApiAxiosParamCreator)(configuration);
2385
+ return {
2386
+ /**
2387
+ * Authenticate and authorize a user to perform an action
2388
+ * @summary Authenticate and authorize Request
2389
+ * @param {AuthenticateAndAuthorizeRequest} authenticateAndAuthorizeRequest
2390
+ * @param {*} [options] Override http request option.
2391
+ * @throws {RequiredError}
2392
+ */
2393
+ authenticateAndAuthorize: function (authenticateAndAuthorizeRequest, options) {
2394
+ return __awaiter(this, void 0, void 0, function () {
2395
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2396
+ var _a, _b, _c;
2397
+ return __generator(this, function (_d) {
2398
+ switch (_d.label) {
2399
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.authenticateAndAuthorize(authenticateAndAuthorizeRequest, options)];
2400
+ case 1:
2401
+ localVarAxiosArgs = _d.sent();
2402
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2403
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthorizationApi.authenticateAndAuthorize']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2404
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2405
+ }
2406
+ });
2407
+ });
2408
+ },
2409
+ /**
2410
+ * Authenticate and check if a user is in any/all of the roles
2411
+ * @summary Authenticate and Check Is In Role
2412
+ * @param {AuthenticateAndCheckIsInRoleRequest} [authenticateAndCheckIsInRoleRequest]
2413
+ * @param {*} [options] Override http request option.
2414
+ * @throws {RequiredError}
2415
+ */
2416
+ authenticateAndCheckIsInRole: function (authenticateAndCheckIsInRoleRequest, options) {
2417
+ return __awaiter(this, void 0, void 0, function () {
2418
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2419
+ var _a, _b, _c;
2420
+ return __generator(this, function (_d) {
2421
+ switch (_d.label) {
2422
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.authenticateAndCheckIsInRole(authenticateAndCheckIsInRoleRequest, options)];
2423
+ case 1:
2424
+ localVarAxiosArgs = _d.sent();
2425
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2426
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthorizationApi.authenticateAndCheckIsInRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2427
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2428
+ }
2429
+ });
2430
+ });
2431
+ },
2432
+ /**
2433
+ * Check if a user is authorized to perform an action
2434
+ * @summary Authorize Request
2435
+ * @param {AuthorizationRequest} [authorizationRequest]
2436
+ * @param {*} [options] Override http request option.
2437
+ * @throws {RequiredError}
2438
+ */
2439
+ authorize: function (authorizationRequest, options) {
2440
+ return __awaiter(this, void 0, void 0, function () {
2441
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2442
+ var _a, _b, _c;
2443
+ return __generator(this, function (_d) {
2444
+ switch (_d.label) {
2445
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.authorize(authorizationRequest, options)];
2446
+ case 1:
2447
+ localVarAxiosArgs = _d.sent();
2448
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2449
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthorizationApi.authorize']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2450
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2451
+ }
2452
+ });
2453
+ });
2454
+ },
2455
+ /**
2456
+ * Check if a user is authorized to perform an action on multiple resources
2457
+ * @summary Authorize Batch Request
2458
+ * @param {AuthorizationBatchRequest} [authorizationBatchRequest]
2459
+ * @param {*} [options] Override http request option.
2460
+ * @throws {RequiredError}
2461
+ */
2462
+ authorizeBatch: function (authorizationBatchRequest, options) {
2463
+ return __awaiter(this, void 0, void 0, function () {
2464
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2465
+ var _a, _b, _c;
2466
+ return __generator(this, function (_d) {
2467
+ switch (_d.label) {
2468
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.authorizeBatch(authorizationBatchRequest, options)];
2469
+ case 1:
2470
+ localVarAxiosArgs = _d.sent();
2471
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2472
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthorizationApi.authorizeBatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2473
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2474
+ }
2475
+ });
2476
+ });
2477
+ },
2478
+ /**
2479
+ * Check if a user is in any/all of the roles
2480
+ * @summary Check Is In Role
2481
+ * @param {IsInRoleRequest} [isInRoleRequest]
2482
+ * @param {*} [options] Override http request option.
2483
+ * @throws {RequiredError}
2484
+ */
2485
+ checkIsInRole: function (isInRoleRequest, options) {
2486
+ return __awaiter(this, void 0, void 0, function () {
2487
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2488
+ var _a, _b, _c;
2489
+ return __generator(this, function (_d) {
2490
+ switch (_d.label) {
2491
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.checkIsInRole(isInRoleRequest, options)];
2492
+ case 1:
2493
+ localVarAxiosArgs = _d.sent();
2494
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2495
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthorizationApi.checkIsInRole']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2496
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2497
+ }
2498
+ });
2499
+ });
2500
+ },
2501
+ };
2502
+ };
2503
+ exports.AuthorizationApiFp = AuthorizationApiFp;
2504
+ /**
2505
+ * AuthorizationApi - factory interface
2506
+ * @export
2507
+ */
2508
+ var AuthorizationApiFactory = function (configuration, basePath, axios) {
2509
+ var localVarFp = (0, exports.AuthorizationApiFp)(configuration);
2510
+ return {
2511
+ /**
2512
+ * Authenticate and authorize a user to perform an action
2513
+ * @summary Authenticate and authorize Request
2514
+ * @param {AuthenticateAndAuthorizeRequest} authenticateAndAuthorizeRequest
2515
+ * @param {*} [options] Override http request option.
2516
+ * @throws {RequiredError}
2517
+ */
2518
+ authenticateAndAuthorize: function (authenticateAndAuthorizeRequest, options) {
2519
+ return localVarFp.authenticateAndAuthorize(authenticateAndAuthorizeRequest, options).then(function (request) { return request(axios, basePath); });
2520
+ },
2521
+ /**
2522
+ * Authenticate and check if a user is in any/all of the roles
2523
+ * @summary Authenticate and Check Is In Role
2524
+ * @param {AuthenticateAndCheckIsInRoleRequest} [authenticateAndCheckIsInRoleRequest]
2525
+ * @param {*} [options] Override http request option.
2526
+ * @throws {RequiredError}
2527
+ */
2528
+ authenticateAndCheckIsInRole: function (authenticateAndCheckIsInRoleRequest, options) {
2529
+ return localVarFp.authenticateAndCheckIsInRole(authenticateAndCheckIsInRoleRequest, options).then(function (request) { return request(axios, basePath); });
2530
+ },
2531
+ /**
2532
+ * Check if a user is authorized to perform an action
2533
+ * @summary Authorize Request
2534
+ * @param {AuthorizationRequest} [authorizationRequest]
2535
+ * @param {*} [options] Override http request option.
2536
+ * @throws {RequiredError}
2537
+ */
2538
+ authorize: function (authorizationRequest, options) {
2539
+ return localVarFp.authorize(authorizationRequest, options).then(function (request) { return request(axios, basePath); });
2540
+ },
2541
+ /**
2542
+ * Check if a user is authorized to perform an action on multiple resources
2543
+ * @summary Authorize Batch Request
2544
+ * @param {AuthorizationBatchRequest} [authorizationBatchRequest]
2545
+ * @param {*} [options] Override http request option.
2546
+ * @throws {RequiredError}
2547
+ */
2548
+ authorizeBatch: function (authorizationBatchRequest, options) {
2549
+ return localVarFp.authorizeBatch(authorizationBatchRequest, options).then(function (request) { return request(axios, basePath); });
2550
+ },
2551
+ /**
2552
+ * Check if a user is in any/all of the roles
2553
+ * @summary Check Is In Role
2554
+ * @param {IsInRoleRequest} [isInRoleRequest]
2555
+ * @param {*} [options] Override http request option.
2556
+ * @throws {RequiredError}
2557
+ */
2558
+ checkIsInRole: function (isInRoleRequest, options) {
2559
+ return localVarFp.checkIsInRole(isInRoleRequest, options).then(function (request) { return request(axios, basePath); });
2560
+ },
2561
+ };
2562
+ };
2563
+ exports.AuthorizationApiFactory = AuthorizationApiFactory;
2564
+ /**
2565
+ * AuthorizationApi - object-oriented interface
2566
+ * @export
2567
+ * @class AuthorizationApi
2568
+ * @extends {BaseAPI}
2569
+ */
2570
+ var AuthorizationApi = /** @class */ (function (_super) {
2571
+ __extends(AuthorizationApi, _super);
2572
+ function AuthorizationApi() {
2573
+ return _super !== null && _super.apply(this, arguments) || this;
2574
+ }
2575
+ /**
2576
+ * Authenticate and authorize a user to perform an action
2577
+ * @summary Authenticate and authorize Request
2578
+ * @param {AuthenticateAndAuthorizeRequest} authenticateAndAuthorizeRequest
2579
+ * @param {*} [options] Override http request option.
2580
+ * @throws {RequiredError}
2581
+ * @memberof AuthorizationApi
2582
+ */
2583
+ AuthorizationApi.prototype.authenticateAndAuthorize = function (authenticateAndAuthorizeRequest, options) {
2584
+ var _this = this;
2585
+ return (0, exports.AuthorizationApiFp)(this.configuration).authenticateAndAuthorize(authenticateAndAuthorizeRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2586
+ };
2587
+ /**
2588
+ * Authenticate and check if a user is in any/all of the roles
2589
+ * @summary Authenticate and Check Is In Role
2590
+ * @param {AuthenticateAndCheckIsInRoleRequest} [authenticateAndCheckIsInRoleRequest]
2591
+ * @param {*} [options] Override http request option.
2592
+ * @throws {RequiredError}
2593
+ * @memberof AuthorizationApi
2594
+ */
2595
+ AuthorizationApi.prototype.authenticateAndCheckIsInRole = function (authenticateAndCheckIsInRoleRequest, options) {
2596
+ var _this = this;
2597
+ return (0, exports.AuthorizationApiFp)(this.configuration).authenticateAndCheckIsInRole(authenticateAndCheckIsInRoleRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2598
+ };
2599
+ /**
2600
+ * Check if a user is authorized to perform an action
2601
+ * @summary Authorize Request
2602
+ * @param {AuthorizationRequest} [authorizationRequest]
2603
+ * @param {*} [options] Override http request option.
2604
+ * @throws {RequiredError}
2605
+ * @memberof AuthorizationApi
2606
+ */
2607
+ AuthorizationApi.prototype.authorize = function (authorizationRequest, options) {
2608
+ var _this = this;
2609
+ return (0, exports.AuthorizationApiFp)(this.configuration).authorize(authorizationRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2610
+ };
2611
+ /**
2612
+ * Check if a user is authorized to perform an action on multiple resources
2613
+ * @summary Authorize Batch Request
2614
+ * @param {AuthorizationBatchRequest} [authorizationBatchRequest]
2615
+ * @param {*} [options] Override http request option.
2616
+ * @throws {RequiredError}
2617
+ * @memberof AuthorizationApi
2618
+ */
2619
+ AuthorizationApi.prototype.authorizeBatch = function (authorizationBatchRequest, options) {
2620
+ var _this = this;
2621
+ return (0, exports.AuthorizationApiFp)(this.configuration).authorizeBatch(authorizationBatchRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2622
+ };
2623
+ /**
2624
+ * Check if a user is in any/all of the roles
2625
+ * @summary Check Is In Role
2626
+ * @param {IsInRoleRequest} [isInRoleRequest]
2627
+ * @param {*} [options] Override http request option.
2628
+ * @throws {RequiredError}
2629
+ * @memberof AuthorizationApi
2630
+ */
2631
+ AuthorizationApi.prototype.checkIsInRole = function (isInRoleRequest, options) {
2632
+ var _this = this;
2633
+ return (0, exports.AuthorizationApiFp)(this.configuration).checkIsInRole(isInRoleRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2634
+ };
2635
+ return AuthorizationApi;
2636
+ }(base_1.BaseAPI));
2637
+ exports.AuthorizationApi = AuthorizationApi;
2638
+ /**
2639
+ * AuthorizedEntitiesApi - axios parameter creator
2640
+ * @export
2641
+ */
2642
+ var AuthorizedEntitiesApiAxiosParamCreator = function (configuration) {
2643
+ var _this = this;
2644
+ return {
2645
+ /**
2646
+ * Get the authorized brands for a given org
2647
+ * @summary Get Authorized Brands
2648
+ * @param {string} orgId
2649
+ * @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
2650
+ * @param {*} [options] Override http request option.
2651
+ * @throws {RequiredError}
2652
+ */
2653
+ getAuthorizedBrands: function (orgId_1, getAuthorizedBrandsRequest_1) {
2654
+ var args_1 = [];
2655
+ for (var _i = 2; _i < arguments.length; _i++) {
2656
+ args_1[_i - 2] = arguments[_i];
2657
+ }
2658
+ return __awaiter(_this, __spreadArray([orgId_1, getAuthorizedBrandsRequest_1], args_1, true), void 0, function (orgId, getAuthorizedBrandsRequest, options) {
2659
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2660
+ if (options === void 0) { options = {}; }
2661
+ return __generator(this, function (_a) {
2662
+ switch (_a.label) {
2663
+ case 0:
2664
+ // verify required parameter 'orgId' is not null or undefined
2665
+ (0, common_1.assertParamExists)('getAuthorizedBrands', 'orgId', orgId);
2666
+ localVarPath = "/orgs/{orgId}/getAuthorizedBrands"
2667
+ .replace("{".concat("orgId", "}"), encodeURIComponent(String(orgId)));
2668
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2669
+ if (configuration) {
2670
+ baseOptions = configuration.baseOptions;
2671
+ }
2672
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
2673
+ localVarHeaderParameter = {};
2674
+ localVarQueryParameter = {};
2675
+ // authentication ApiKeyAuth required
2676
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
2677
+ case 1:
2678
+ // authentication ApiKeyAuth required
2679
+ _a.sent();
2680
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2681
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2682
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2683
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2684
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getAuthorizedBrandsRequest, localVarRequestOptions, configuration);
2685
+ return [2 /*return*/, {
2686
+ url: (0, common_1.toPathString)(localVarUrlObj),
2687
+ options: localVarRequestOptions,
2688
+ }];
2689
+ }
2690
+ });
2691
+ });
2692
+ },
2693
+ /**
2694
+ * Get the authorized orgs for a given principal
2695
+ * @summary Get Authorized Orgs
2696
+ * @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
2697
+ * @param {*} [options] Override http request option.
2698
+ * @throws {RequiredError}
2699
+ */
2700
+ getAuthorizedOrgs: function (getAuthorizedOrgsRequest_1) {
2701
+ var args_1 = [];
2702
+ for (var _i = 1; _i < arguments.length; _i++) {
2703
+ args_1[_i - 1] = arguments[_i];
2704
+ }
2705
+ return __awaiter(_this, __spreadArray([getAuthorizedOrgsRequest_1], args_1, true), void 0, function (getAuthorizedOrgsRequest, options) {
2706
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2707
+ if (options === void 0) { options = {}; }
2708
+ return __generator(this, function (_a) {
2709
+ switch (_a.label) {
2710
+ case 0:
2711
+ localVarPath = "/getAuthorizedOrgs";
2712
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2713
+ if (configuration) {
2714
+ baseOptions = configuration.baseOptions;
2715
+ }
2716
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
2717
+ localVarHeaderParameter = {};
2718
+ localVarQueryParameter = {};
2719
+ // authentication ApiKeyAuth required
2720
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
2721
+ case 1:
2722
+ // authentication ApiKeyAuth required
2723
+ _a.sent();
2724
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2725
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2726
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2727
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2728
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getAuthorizedOrgsRequest, localVarRequestOptions, configuration);
2729
+ return [2 /*return*/, {
2730
+ url: (0, common_1.toPathString)(localVarUrlObj),
2731
+ options: localVarRequestOptions,
2732
+ }];
2733
+ }
2734
+ });
2735
+ });
2736
+ },
2737
+ /**
2738
+ * Get the authorized properties for a given org
2739
+ * @summary Get Authorized Properties
2740
+ * @param {string} orgId
2741
+ * @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
2742
+ * @param {*} [options] Override http request option.
2743
+ * @throws {RequiredError}
2744
+ */
2745
+ getAuthorizedProperties: function (orgId_1, getAuthorizedPropertiesRequest_1) {
2746
+ var args_1 = [];
2747
+ for (var _i = 2; _i < arguments.length; _i++) {
2748
+ args_1[_i - 2] = arguments[_i];
2749
+ }
2750
+ return __awaiter(_this, __spreadArray([orgId_1, getAuthorizedPropertiesRequest_1], args_1, true), void 0, function (orgId, getAuthorizedPropertiesRequest, options) {
2751
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2752
+ if (options === void 0) { options = {}; }
2753
+ return __generator(this, function (_a) {
2754
+ switch (_a.label) {
2755
+ case 0:
2756
+ // verify required parameter 'orgId' is not null or undefined
2757
+ (0, common_1.assertParamExists)('getAuthorizedProperties', 'orgId', orgId);
2758
+ localVarPath = "/orgs/{orgId}/getAuthorizedProperties"
2759
+ .replace("{".concat("orgId", "}"), encodeURIComponent(String(orgId)));
2760
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2761
+ if (configuration) {
2762
+ baseOptions = configuration.baseOptions;
2763
+ }
2764
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
2765
+ localVarHeaderParameter = {};
2766
+ localVarQueryParameter = {};
2767
+ // authentication ApiKeyAuth required
2768
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
2769
+ case 1:
2770
+ // authentication ApiKeyAuth required
2771
+ _a.sent();
2772
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2773
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2774
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2775
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2776
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getAuthorizedPropertiesRequest, localVarRequestOptions, configuration);
2777
+ return [2 /*return*/, {
2778
+ url: (0, common_1.toPathString)(localVarUrlObj),
2779
+ options: localVarRequestOptions,
2780
+ }];
2781
+ }
2782
+ });
2783
+ });
2784
+ },
2785
+ };
2786
+ };
2787
+ exports.AuthorizedEntitiesApiAxiosParamCreator = AuthorizedEntitiesApiAxiosParamCreator;
2788
+ /**
2789
+ * AuthorizedEntitiesApi - functional programming interface
2790
+ * @export
2791
+ */
2792
+ var AuthorizedEntitiesApiFp = function (configuration) {
2793
+ var localVarAxiosParamCreator = (0, exports.AuthorizedEntitiesApiAxiosParamCreator)(configuration);
869
2794
  return {
870
2795
  /**
871
- * Authenticate and authorize a user to perform an action
872
- * @summary Authenticate and authorize Request
873
- * @param {AuthenticateAndAuthorizeRequest} [authenticateAndAuthorizeRequest]
2796
+ * Get the authorized brands for a given org
2797
+ * @summary Get Authorized Brands
2798
+ * @param {string} orgId
2799
+ * @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
874
2800
  * @param {*} [options] Override http request option.
875
2801
  * @throws {RequiredError}
876
2802
  */
877
- authenticateAndAuthorize: function (authenticateAndAuthorizeRequest, options) {
2803
+ getAuthorizedBrands: function (orgId, getAuthorizedBrandsRequest, options) {
878
2804
  return __awaiter(this, void 0, void 0, function () {
879
2805
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
880
2806
  var _a, _b, _c;
881
2807
  return __generator(this, function (_d) {
882
2808
  switch (_d.label) {
883
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.authenticateAndAuthorize(authenticateAndAuthorizeRequest, options)];
2809
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAuthorizedBrands(orgId, getAuthorizedBrandsRequest, options)];
884
2810
  case 1:
885
2811
  localVarAxiosArgs = _d.sent();
886
2812
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
887
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthenticationApi.authenticateAndAuthorize']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2813
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthorizedEntitiesApi.getAuthorizedBrands']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2814
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2815
+ }
2816
+ });
2817
+ });
2818
+ },
2819
+ /**
2820
+ * Get the authorized orgs for a given principal
2821
+ * @summary Get Authorized Orgs
2822
+ * @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
2823
+ * @param {*} [options] Override http request option.
2824
+ * @throws {RequiredError}
2825
+ */
2826
+ getAuthorizedOrgs: function (getAuthorizedOrgsRequest, options) {
2827
+ return __awaiter(this, void 0, void 0, function () {
2828
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2829
+ var _a, _b, _c;
2830
+ return __generator(this, function (_d) {
2831
+ switch (_d.label) {
2832
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAuthorizedOrgs(getAuthorizedOrgsRequest, options)];
2833
+ case 1:
2834
+ localVarAxiosArgs = _d.sent();
2835
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2836
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthorizedEntitiesApi.getAuthorizedOrgs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2837
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
2838
+ }
2839
+ });
2840
+ });
2841
+ },
2842
+ /**
2843
+ * Get the authorized properties for a given org
2844
+ * @summary Get Authorized Properties
2845
+ * @param {string} orgId
2846
+ * @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
2847
+ * @param {*} [options] Override http request option.
2848
+ * @throws {RequiredError}
2849
+ */
2850
+ getAuthorizedProperties: function (orgId, getAuthorizedPropertiesRequest, options) {
2851
+ return __awaiter(this, void 0, void 0, function () {
2852
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
2853
+ var _a, _b, _c;
2854
+ return __generator(this, function (_d) {
2855
+ switch (_d.label) {
2856
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAuthorizedProperties(orgId, getAuthorizedPropertiesRequest, options)];
2857
+ case 1:
2858
+ localVarAxiosArgs = _d.sent();
2859
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2860
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthorizedEntitiesApi.getAuthorizedProperties']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
888
2861
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
889
2862
  }
890
2863
  });
@@ -892,86 +2865,295 @@ var AuthenticationApiFp = function (configuration) {
892
2865
  },
893
2866
  };
894
2867
  };
895
- exports.AuthenticationApiFp = AuthenticationApiFp;
2868
+ exports.AuthorizedEntitiesApiFp = AuthorizedEntitiesApiFp;
896
2869
  /**
897
- * AuthenticationApi - factory interface
2870
+ * AuthorizedEntitiesApi - factory interface
898
2871
  * @export
899
2872
  */
900
- var AuthenticationApiFactory = function (configuration, basePath, axios) {
901
- var localVarFp = (0, exports.AuthenticationApiFp)(configuration);
2873
+ var AuthorizedEntitiesApiFactory = function (configuration, basePath, axios) {
2874
+ var localVarFp = (0, exports.AuthorizedEntitiesApiFp)(configuration);
902
2875
  return {
903
2876
  /**
904
- * Authenticate and authorize a user to perform an action
905
- * @summary Authenticate and authorize Request
906
- * @param {AuthenticationApiAuthenticateAndAuthorizeRequest} requestParameters Request parameters.
2877
+ * Get the authorized brands for a given org
2878
+ * @summary Get Authorized Brands
2879
+ * @param {string} orgId
2880
+ * @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
2881
+ * @param {*} [options] Override http request option.
2882
+ * @throws {RequiredError}
2883
+ */
2884
+ getAuthorizedBrands: function (orgId, getAuthorizedBrandsRequest, options) {
2885
+ return localVarFp.getAuthorizedBrands(orgId, getAuthorizedBrandsRequest, options).then(function (request) { return request(axios, basePath); });
2886
+ },
2887
+ /**
2888
+ * Get the authorized orgs for a given principal
2889
+ * @summary Get Authorized Orgs
2890
+ * @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
2891
+ * @param {*} [options] Override http request option.
2892
+ * @throws {RequiredError}
2893
+ */
2894
+ getAuthorizedOrgs: function (getAuthorizedOrgsRequest, options) {
2895
+ return localVarFp.getAuthorizedOrgs(getAuthorizedOrgsRequest, options).then(function (request) { return request(axios, basePath); });
2896
+ },
2897
+ /**
2898
+ * Get the authorized properties for a given org
2899
+ * @summary Get Authorized Properties
2900
+ * @param {string} orgId
2901
+ * @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
907
2902
  * @param {*} [options] Override http request option.
908
2903
  * @throws {RequiredError}
909
2904
  */
910
- authenticateAndAuthorize: function (requestParameters, options) {
911
- if (requestParameters === void 0) { requestParameters = {}; }
912
- return localVarFp.authenticateAndAuthorize(requestParameters.authenticateAndAuthorizeRequest, options).then(function (request) { return request(axios, basePath); });
2905
+ getAuthorizedProperties: function (orgId, getAuthorizedPropertiesRequest, options) {
2906
+ return localVarFp.getAuthorizedProperties(orgId, getAuthorizedPropertiesRequest, options).then(function (request) { return request(axios, basePath); });
913
2907
  },
914
2908
  };
915
2909
  };
916
- exports.AuthenticationApiFactory = AuthenticationApiFactory;
2910
+ exports.AuthorizedEntitiesApiFactory = AuthorizedEntitiesApiFactory;
917
2911
  /**
918
- * AuthenticationApi - object-oriented interface
2912
+ * AuthorizedEntitiesApi - object-oriented interface
919
2913
  * @export
920
- * @class AuthenticationApi
2914
+ * @class AuthorizedEntitiesApi
921
2915
  * @extends {BaseAPI}
922
2916
  */
923
- var AuthenticationApi = /** @class */ (function (_super) {
924
- __extends(AuthenticationApi, _super);
925
- function AuthenticationApi() {
2917
+ var AuthorizedEntitiesApi = /** @class */ (function (_super) {
2918
+ __extends(AuthorizedEntitiesApi, _super);
2919
+ function AuthorizedEntitiesApi() {
926
2920
  return _super !== null && _super.apply(this, arguments) || this;
927
2921
  }
928
2922
  /**
929
- * Authenticate and authorize a user to perform an action
930
- * @summary Authenticate and authorize Request
931
- * @param {AuthenticationApiAuthenticateAndAuthorizeRequest} requestParameters Request parameters.
2923
+ * Get the authorized brands for a given org
2924
+ * @summary Get Authorized Brands
2925
+ * @param {string} orgId
2926
+ * @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
932
2927
  * @param {*} [options] Override http request option.
933
2928
  * @throws {RequiredError}
934
- * @memberof AuthenticationApi
2929
+ * @memberof AuthorizedEntitiesApi
935
2930
  */
936
- AuthenticationApi.prototype.authenticateAndAuthorize = function (requestParameters, options) {
2931
+ AuthorizedEntitiesApi.prototype.getAuthorizedBrands = function (orgId, getAuthorizedBrandsRequest, options) {
937
2932
  var _this = this;
938
- if (requestParameters === void 0) { requestParameters = {}; }
939
- return (0, exports.AuthenticationApiFp)(this.configuration).authenticateAndAuthorize(requestParameters.authenticateAndAuthorizeRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2933
+ return (0, exports.AuthorizedEntitiesApiFp)(this.configuration).getAuthorizedBrands(orgId, getAuthorizedBrandsRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
940
2934
  };
941
- return AuthenticationApi;
2935
+ /**
2936
+ * Get the authorized orgs for a given principal
2937
+ * @summary Get Authorized Orgs
2938
+ * @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
2939
+ * @param {*} [options] Override http request option.
2940
+ * @throws {RequiredError}
2941
+ * @memberof AuthorizedEntitiesApi
2942
+ */
2943
+ AuthorizedEntitiesApi.prototype.getAuthorizedOrgs = function (getAuthorizedOrgsRequest, options) {
2944
+ var _this = this;
2945
+ return (0, exports.AuthorizedEntitiesApiFp)(this.configuration).getAuthorizedOrgs(getAuthorizedOrgsRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2946
+ };
2947
+ /**
2948
+ * Get the authorized properties for a given org
2949
+ * @summary Get Authorized Properties
2950
+ * @param {string} orgId
2951
+ * @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
2952
+ * @param {*} [options] Override http request option.
2953
+ * @throws {RequiredError}
2954
+ * @memberof AuthorizedEntitiesApi
2955
+ */
2956
+ AuthorizedEntitiesApi.prototype.getAuthorizedProperties = function (orgId, getAuthorizedPropertiesRequest, options) {
2957
+ var _this = this;
2958
+ return (0, exports.AuthorizedEntitiesApiFp)(this.configuration).getAuthorizedProperties(orgId, getAuthorizedPropertiesRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
2959
+ };
2960
+ return AuthorizedEntitiesApi;
942
2961
  }(base_1.BaseAPI));
943
- exports.AuthenticationApi = AuthenticationApi;
2962
+ exports.AuthorizedEntitiesApi = AuthorizedEntitiesApi;
944
2963
  /**
945
- * AuthorizationApi - axios parameter creator
2964
+ * ConfigurationDataApi - axios parameter creator
946
2965
  * @export
947
2966
  */
948
- var AuthorizationApiAxiosParamCreator = function (configuration) {
2967
+ var ConfigurationDataApiAxiosParamCreator = function (configuration) {
949
2968
  var _this = this;
950
2969
  return {
951
2970
  /**
952
- * Authenticate and authorize a user to perform an action
953
- * @summary Authenticate and authorize Request
954
- * @param {AuthenticateAndAuthorizeRequest} [authenticateAndAuthorizeRequest]
2971
+ * List the available feature based roles
2972
+ * @summary List Feature Based Roles
2973
+ * @param {*} [options] Override http request option.
2974
+ * @throws {RequiredError}
2975
+ */
2976
+ configListFeatureBasedRoles: function () {
2977
+ var args_1 = [];
2978
+ for (var _i = 0; _i < arguments.length; _i++) {
2979
+ args_1[_i] = arguments[_i];
2980
+ }
2981
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
2982
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
2983
+ if (options === void 0) { options = {}; }
2984
+ return __generator(this, function (_a) {
2985
+ switch (_a.label) {
2986
+ case 0:
2987
+ localVarPath = "/config/featureBasedRoles";
2988
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2989
+ if (configuration) {
2990
+ baseOptions = configuration.baseOptions;
2991
+ }
2992
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
2993
+ localVarHeaderParameter = {};
2994
+ localVarQueryParameter = {};
2995
+ // authentication ApiKeyAuth required
2996
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
2997
+ case 1:
2998
+ // authentication ApiKeyAuth required
2999
+ _a.sent();
3000
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3001
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3002
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3003
+ return [2 /*return*/, {
3004
+ url: (0, common_1.toPathString)(localVarUrlObj),
3005
+ options: localVarRequestOptions,
3006
+ }];
3007
+ }
3008
+ });
3009
+ });
3010
+ },
3011
+ /**
3012
+ * List the available permissions
3013
+ * @summary List Permissions
3014
+ * @param {*} [options] Override http request option.
3015
+ * @throws {RequiredError}
3016
+ */
3017
+ configListPermissions: function () {
3018
+ var args_1 = [];
3019
+ for (var _i = 0; _i < arguments.length; _i++) {
3020
+ args_1[_i] = arguments[_i];
3021
+ }
3022
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
3023
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3024
+ if (options === void 0) { options = {}; }
3025
+ return __generator(this, function (_a) {
3026
+ switch (_a.label) {
3027
+ case 0:
3028
+ localVarPath = "/config/permissions";
3029
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3030
+ if (configuration) {
3031
+ baseOptions = configuration.baseOptions;
3032
+ }
3033
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3034
+ localVarHeaderParameter = {};
3035
+ localVarQueryParameter = {};
3036
+ // authentication ApiKeyAuth required
3037
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
3038
+ case 1:
3039
+ // authentication ApiKeyAuth required
3040
+ _a.sent();
3041
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3042
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3043
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3044
+ return [2 /*return*/, {
3045
+ url: (0, common_1.toPathString)(localVarUrlObj),
3046
+ options: localVarRequestOptions,
3047
+ }];
3048
+ }
3049
+ });
3050
+ });
3051
+ },
3052
+ /**
3053
+ * List the available roles
3054
+ * @summary List Roles
3055
+ * @param {*} [options] Override http request option.
3056
+ * @throws {RequiredError}
3057
+ */
3058
+ configListRoles: function () {
3059
+ var args_1 = [];
3060
+ for (var _i = 0; _i < arguments.length; _i++) {
3061
+ args_1[_i] = arguments[_i];
3062
+ }
3063
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
3064
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3065
+ if (options === void 0) { options = {}; }
3066
+ return __generator(this, function (_a) {
3067
+ switch (_a.label) {
3068
+ case 0:
3069
+ localVarPath = "/config/roles";
3070
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3071
+ if (configuration) {
3072
+ baseOptions = configuration.baseOptions;
3073
+ }
3074
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3075
+ localVarHeaderParameter = {};
3076
+ localVarQueryParameter = {};
3077
+ // authentication ApiKeyAuth required
3078
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
3079
+ case 1:
3080
+ // authentication ApiKeyAuth required
3081
+ _a.sent();
3082
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3083
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3084
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3085
+ return [2 /*return*/, {
3086
+ url: (0, common_1.toPathString)(localVarUrlObj),
3087
+ options: localVarRequestOptions,
3088
+ }];
3089
+ }
3090
+ });
3091
+ });
3092
+ },
3093
+ /**
3094
+ * List the available feature based roles
3095
+ * @summary List Feature Based Roles
3096
+ * @param {*} [options] Override http request option.
3097
+ * @throws {RequiredError}
3098
+ */
3099
+ listFeatureBasedRoles: function () {
3100
+ var args_1 = [];
3101
+ for (var _i = 0; _i < arguments.length; _i++) {
3102
+ args_1[_i] = arguments[_i];
3103
+ }
3104
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
3105
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3106
+ if (options === void 0) { options = {}; }
3107
+ return __generator(this, function (_a) {
3108
+ switch (_a.label) {
3109
+ case 0:
3110
+ localVarPath = "/featureBasedRoles";
3111
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3112
+ if (configuration) {
3113
+ baseOptions = configuration.baseOptions;
3114
+ }
3115
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3116
+ localVarHeaderParameter = {};
3117
+ localVarQueryParameter = {};
3118
+ // authentication ApiKeyAuth required
3119
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
3120
+ case 1:
3121
+ // authentication ApiKeyAuth required
3122
+ _a.sent();
3123
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3124
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3125
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3126
+ return [2 /*return*/, {
3127
+ url: (0, common_1.toPathString)(localVarUrlObj),
3128
+ options: localVarRequestOptions,
3129
+ }];
3130
+ }
3131
+ });
3132
+ });
3133
+ },
3134
+ /**
3135
+ * List the available permissions
3136
+ * @summary List Permissions
955
3137
  * @param {*} [options] Override http request option.
956
3138
  * @throws {RequiredError}
957
3139
  */
958
- authenticateAndAuthorize: function (authenticateAndAuthorizeRequest_1) {
3140
+ listPermissions: function () {
959
3141
  var args_1 = [];
960
- for (var _i = 1; _i < arguments.length; _i++) {
961
- args_1[_i - 1] = arguments[_i];
3142
+ for (var _i = 0; _i < arguments.length; _i++) {
3143
+ args_1[_i] = arguments[_i];
962
3144
  }
963
- return __awaiter(_this, __spreadArray([authenticateAndAuthorizeRequest_1], args_1, true), void 0, function (authenticateAndAuthorizeRequest, options) {
3145
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
964
3146
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
965
3147
  if (options === void 0) { options = {}; }
966
3148
  return __generator(this, function (_a) {
967
3149
  switch (_a.label) {
968
3150
  case 0:
969
- localVarPath = "/authenticateAndAuthorize";
3151
+ localVarPath = "/permissions";
970
3152
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
971
3153
  if (configuration) {
972
3154
  baseOptions = configuration.baseOptions;
973
3155
  }
974
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
3156
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
975
3157
  localVarHeaderParameter = {};
976
3158
  localVarQueryParameter = {};
977
3159
  // authentication ApiKeyAuth required
@@ -979,11 +3161,9 @@ var AuthorizationApiAxiosParamCreator = function (configuration) {
979
3161
  case 1:
980
3162
  // authentication ApiKeyAuth required
981
3163
  _a.sent();
982
- localVarHeaderParameter['Content-Type'] = 'application/json';
983
3164
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
984
3165
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
985
3166
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
986
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authenticateAndAuthorizeRequest, localVarRequestOptions, configuration);
987
3167
  return [2 /*return*/, {
988
3168
  url: (0, common_1.toPathString)(localVarUrlObj),
989
3169
  options: localVarRequestOptions,
@@ -993,29 +3173,28 @@ var AuthorizationApiAxiosParamCreator = function (configuration) {
993
3173
  });
994
3174
  },
995
3175
  /**
996
- * Check if a user is authorized to perform an action
997
- * @summary Authorize Request
998
- * @param {AuthorizationRequest} [authorizationRequest]
3176
+ * List the available roles
3177
+ * @summary List Roles
999
3178
  * @param {*} [options] Override http request option.
1000
3179
  * @throws {RequiredError}
1001
3180
  */
1002
- authorize: function (authorizationRequest_1) {
3181
+ listRoles: function () {
1003
3182
  var args_1 = [];
1004
- for (var _i = 1; _i < arguments.length; _i++) {
1005
- args_1[_i - 1] = arguments[_i];
3183
+ for (var _i = 0; _i < arguments.length; _i++) {
3184
+ args_1[_i] = arguments[_i];
1006
3185
  }
1007
- return __awaiter(_this, __spreadArray([authorizationRequest_1], args_1, true), void 0, function (authorizationRequest, options) {
3186
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
1008
3187
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1009
3188
  if (options === void 0) { options = {}; }
1010
3189
  return __generator(this, function (_a) {
1011
3190
  switch (_a.label) {
1012
3191
  case 0:
1013
- localVarPath = "/authorize";
3192
+ localVarPath = "/roles";
1014
3193
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1015
3194
  if (configuration) {
1016
3195
  baseOptions = configuration.baseOptions;
1017
3196
  }
1018
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
3197
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1019
3198
  localVarHeaderParameter = {};
1020
3199
  localVarQueryParameter = {};
1021
3200
  // authentication ApiKeyAuth required
@@ -1023,11 +3202,9 @@ var AuthorizationApiAxiosParamCreator = function (configuration) {
1023
3202
  case 1:
1024
3203
  // authentication ApiKeyAuth required
1025
3204
  _a.sent();
1026
- localVarHeaderParameter['Content-Type'] = 'application/json';
1027
3205
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1028
3206
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1029
3207
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1030
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(authorizationRequest, localVarRequestOptions, configuration);
1031
3208
  return [2 /*return*/, {
1032
3209
  url: (0, common_1.toPathString)(localVarUrlObj),
1033
3210
  options: localVarRequestOptions,
@@ -1038,210 +3215,141 @@ var AuthorizationApiAxiosParamCreator = function (configuration) {
1038
3215
  },
1039
3216
  };
1040
3217
  };
1041
- exports.AuthorizationApiAxiosParamCreator = AuthorizationApiAxiosParamCreator;
3218
+ exports.ConfigurationDataApiAxiosParamCreator = ConfigurationDataApiAxiosParamCreator;
1042
3219
  /**
1043
- * AuthorizationApi - functional programming interface
3220
+ * ConfigurationDataApi - functional programming interface
1044
3221
  * @export
1045
3222
  */
1046
- var AuthorizationApiFp = function (configuration) {
1047
- var localVarAxiosParamCreator = (0, exports.AuthorizationApiAxiosParamCreator)(configuration);
3223
+ var ConfigurationDataApiFp = function (configuration) {
3224
+ var localVarAxiosParamCreator = (0, exports.ConfigurationDataApiAxiosParamCreator)(configuration);
1048
3225
  return {
1049
3226
  /**
1050
- * Authenticate and authorize a user to perform an action
1051
- * @summary Authenticate and authorize Request
1052
- * @param {AuthenticateAndAuthorizeRequest} [authenticateAndAuthorizeRequest]
3227
+ * List the available feature based roles
3228
+ * @summary List Feature Based Roles
1053
3229
  * @param {*} [options] Override http request option.
1054
3230
  * @throws {RequiredError}
1055
3231
  */
1056
- authenticateAndAuthorize: function (authenticateAndAuthorizeRequest, options) {
3232
+ configListFeatureBasedRoles: function (options) {
1057
3233
  return __awaiter(this, void 0, void 0, function () {
1058
3234
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1059
3235
  var _a, _b, _c;
1060
3236
  return __generator(this, function (_d) {
1061
3237
  switch (_d.label) {
1062
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.authenticateAndAuthorize(authenticateAndAuthorizeRequest, options)];
3238
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.configListFeatureBasedRoles(options)];
1063
3239
  case 1:
1064
3240
  localVarAxiosArgs = _d.sent();
1065
3241
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1066
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthorizationApi.authenticateAndAuthorize']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3242
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConfigurationDataApi.configListFeatureBasedRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1067
3243
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1068
3244
  }
1069
3245
  });
1070
3246
  });
1071
3247
  },
1072
3248
  /**
1073
- * Check if a user is authorized to perform an action
1074
- * @summary Authorize Request
1075
- * @param {AuthorizationRequest} [authorizationRequest]
3249
+ * List the available permissions
3250
+ * @summary List Permissions
1076
3251
  * @param {*} [options] Override http request option.
1077
3252
  * @throws {RequiredError}
1078
3253
  */
1079
- authorize: function (authorizationRequest, options) {
3254
+ configListPermissions: function (options) {
1080
3255
  return __awaiter(this, void 0, void 0, function () {
1081
3256
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1082
3257
  var _a, _b, _c;
1083
3258
  return __generator(this, function (_d) {
1084
3259
  switch (_d.label) {
1085
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.authorize(authorizationRequest, options)];
3260
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.configListPermissions(options)];
1086
3261
  case 1:
1087
3262
  localVarAxiosArgs = _d.sent();
1088
3263
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1089
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthorizationApi.authorize']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3264
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConfigurationDataApi.configListPermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1090
3265
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1091
3266
  }
1092
3267
  });
1093
3268
  });
1094
3269
  },
1095
- };
1096
- };
1097
- exports.AuthorizationApiFp = AuthorizationApiFp;
1098
- /**
1099
- * AuthorizationApi - factory interface
1100
- * @export
1101
- */
1102
- var AuthorizationApiFactory = function (configuration, basePath, axios) {
1103
- var localVarFp = (0, exports.AuthorizationApiFp)(configuration);
1104
- return {
1105
3270
  /**
1106
- * Authenticate and authorize a user to perform an action
1107
- * @summary Authenticate and authorize Request
1108
- * @param {AuthorizationApiAuthenticateAndAuthorizeRequest} requestParameters Request parameters.
3271
+ * List the available roles
3272
+ * @summary List Roles
1109
3273
  * @param {*} [options] Override http request option.
1110
3274
  * @throws {RequiredError}
1111
3275
  */
1112
- authenticateAndAuthorize: function (requestParameters, options) {
1113
- if (requestParameters === void 0) { requestParameters = {}; }
1114
- return localVarFp.authenticateAndAuthorize(requestParameters.authenticateAndAuthorizeRequest, options).then(function (request) { return request(axios, basePath); });
3276
+ configListRoles: function (options) {
3277
+ return __awaiter(this, void 0, void 0, function () {
3278
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
3279
+ var _a, _b, _c;
3280
+ return __generator(this, function (_d) {
3281
+ switch (_d.label) {
3282
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.configListRoles(options)];
3283
+ case 1:
3284
+ localVarAxiosArgs = _d.sent();
3285
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3286
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConfigurationDataApi.configListRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3287
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
3288
+ }
3289
+ });
3290
+ });
1115
3291
  },
1116
3292
  /**
1117
- * Check if a user is authorized to perform an action
1118
- * @summary Authorize Request
1119
- * @param {AuthorizationApiAuthorizeRequest} requestParameters Request parameters.
3293
+ * List the available feature based roles
3294
+ * @summary List Feature Based Roles
1120
3295
  * @param {*} [options] Override http request option.
1121
3296
  * @throws {RequiredError}
1122
3297
  */
1123
- authorize: function (requestParameters, options) {
1124
- if (requestParameters === void 0) { requestParameters = {}; }
1125
- return localVarFp.authorize(requestParameters.authorizationRequest, options).then(function (request) { return request(axios, basePath); });
3298
+ listFeatureBasedRoles: function (options) {
3299
+ return __awaiter(this, void 0, void 0, function () {
3300
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
3301
+ var _a, _b, _c;
3302
+ return __generator(this, function (_d) {
3303
+ switch (_d.label) {
3304
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listFeatureBasedRoles(options)];
3305
+ case 1:
3306
+ localVarAxiosArgs = _d.sent();
3307
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3308
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConfigurationDataApi.listFeatureBasedRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3309
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
3310
+ }
3311
+ });
3312
+ });
1126
3313
  },
1127
- };
1128
- };
1129
- exports.AuthorizationApiFactory = AuthorizationApiFactory;
1130
- /**
1131
- * AuthorizationApi - object-oriented interface
1132
- * @export
1133
- * @class AuthorizationApi
1134
- * @extends {BaseAPI}
1135
- */
1136
- var AuthorizationApi = /** @class */ (function (_super) {
1137
- __extends(AuthorizationApi, _super);
1138
- function AuthorizationApi() {
1139
- return _super !== null && _super.apply(this, arguments) || this;
1140
- }
1141
- /**
1142
- * Authenticate and authorize a user to perform an action
1143
- * @summary Authenticate and authorize Request
1144
- * @param {AuthorizationApiAuthenticateAndAuthorizeRequest} requestParameters Request parameters.
1145
- * @param {*} [options] Override http request option.
1146
- * @throws {RequiredError}
1147
- * @memberof AuthorizationApi
1148
- */
1149
- AuthorizationApi.prototype.authenticateAndAuthorize = function (requestParameters, options) {
1150
- var _this = this;
1151
- if (requestParameters === void 0) { requestParameters = {}; }
1152
- return (0, exports.AuthorizationApiFp)(this.configuration).authenticateAndAuthorize(requestParameters.authenticateAndAuthorizeRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
1153
- };
1154
- /**
1155
- * Check if a user is authorized to perform an action
1156
- * @summary Authorize Request
1157
- * @param {AuthorizationApiAuthorizeRequest} requestParameters Request parameters.
1158
- * @param {*} [options] Override http request option.
1159
- * @throws {RequiredError}
1160
- * @memberof AuthorizationApi
1161
- */
1162
- AuthorizationApi.prototype.authorize = function (requestParameters, options) {
1163
- var _this = this;
1164
- if (requestParameters === void 0) { requestParameters = {}; }
1165
- return (0, exports.AuthorizationApiFp)(this.configuration).authorize(requestParameters.authorizationRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
1166
- };
1167
- return AuthorizationApi;
1168
- }(base_1.BaseAPI));
1169
- exports.AuthorizationApi = AuthorizationApi;
1170
- /**
1171
- * PermissionsApi - axios parameter creator
1172
- * @export
1173
- */
1174
- var PermissionsApiAxiosParamCreator = function (configuration) {
1175
- var _this = this;
1176
- return {
1177
3314
  /**
1178
3315
  * List the available permissions
1179
3316
  * @summary List Permissions
1180
3317
  * @param {*} [options] Override http request option.
1181
3318
  * @throws {RequiredError}
1182
3319
  */
1183
- listPermissions: function () {
1184
- var args_1 = [];
1185
- for (var _i = 0; _i < arguments.length; _i++) {
1186
- args_1[_i] = arguments[_i];
1187
- }
1188
- return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
1189
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
1190
- if (options === void 0) { options = {}; }
1191
- return __generator(this, function (_a) {
1192
- switch (_a.label) {
1193
- case 0:
1194
- localVarPath = "/permissions";
1195
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1196
- if (configuration) {
1197
- baseOptions = configuration.baseOptions;
1198
- }
1199
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
1200
- localVarHeaderParameter = {};
1201
- localVarQueryParameter = {};
1202
- // authentication ApiKeyAuth required
1203
- return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
3320
+ listPermissions: function (options) {
3321
+ return __awaiter(this, void 0, void 0, function () {
3322
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
3323
+ var _a, _b, _c;
3324
+ return __generator(this, function (_d) {
3325
+ switch (_d.label) {
3326
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPermissions(options)];
1204
3327
  case 1:
1205
- // authentication ApiKeyAuth required
1206
- _a.sent();
1207
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1208
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1209
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1210
- return [2 /*return*/, {
1211
- url: (0, common_1.toPathString)(localVarUrlObj),
1212
- options: localVarRequestOptions,
1213
- }];
3328
+ localVarAxiosArgs = _d.sent();
3329
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3330
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConfigurationDataApi.listPermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3331
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1214
3332
  }
1215
3333
  });
1216
3334
  });
1217
3335
  },
1218
- };
1219
- };
1220
- exports.PermissionsApiAxiosParamCreator = PermissionsApiAxiosParamCreator;
1221
- /**
1222
- * PermissionsApi - functional programming interface
1223
- * @export
1224
- */
1225
- var PermissionsApiFp = function (configuration) {
1226
- var localVarAxiosParamCreator = (0, exports.PermissionsApiAxiosParamCreator)(configuration);
1227
- return {
1228
3336
  /**
1229
- * List the available permissions
1230
- * @summary List Permissions
3337
+ * List the available roles
3338
+ * @summary List Roles
1231
3339
  * @param {*} [options] Override http request option.
1232
3340
  * @throws {RequiredError}
1233
3341
  */
1234
- listPermissions: function (options) {
3342
+ listRoles: function (options) {
1235
3343
  return __awaiter(this, void 0, void 0, function () {
1236
3344
  var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
1237
3345
  var _a, _b, _c;
1238
3346
  return __generator(this, function (_d) {
1239
3347
  switch (_d.label) {
1240
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPermissions(options)];
3348
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listRoles(options)];
1241
3349
  case 1:
1242
3350
  localVarAxiosArgs = _d.sent();
1243
3351
  localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1244
- localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['PermissionsApi.listPermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3352
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ConfigurationDataApi.listRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1245
3353
  return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
1246
3354
  }
1247
3355
  });
@@ -1249,14 +3357,50 @@ var PermissionsApiFp = function (configuration) {
1249
3357
  },
1250
3358
  };
1251
3359
  };
1252
- exports.PermissionsApiFp = PermissionsApiFp;
3360
+ exports.ConfigurationDataApiFp = ConfigurationDataApiFp;
1253
3361
  /**
1254
- * PermissionsApi - factory interface
3362
+ * ConfigurationDataApi - factory interface
1255
3363
  * @export
1256
3364
  */
1257
- var PermissionsApiFactory = function (configuration, basePath, axios) {
1258
- var localVarFp = (0, exports.PermissionsApiFp)(configuration);
3365
+ var ConfigurationDataApiFactory = function (configuration, basePath, axios) {
3366
+ var localVarFp = (0, exports.ConfigurationDataApiFp)(configuration);
1259
3367
  return {
3368
+ /**
3369
+ * List the available feature based roles
3370
+ * @summary List Feature Based Roles
3371
+ * @param {*} [options] Override http request option.
3372
+ * @throws {RequiredError}
3373
+ */
3374
+ configListFeatureBasedRoles: function (options) {
3375
+ return localVarFp.configListFeatureBasedRoles(options).then(function (request) { return request(axios, basePath); });
3376
+ },
3377
+ /**
3378
+ * List the available permissions
3379
+ * @summary List Permissions
3380
+ * @param {*} [options] Override http request option.
3381
+ * @throws {RequiredError}
3382
+ */
3383
+ configListPermissions: function (options) {
3384
+ return localVarFp.configListPermissions(options).then(function (request) { return request(axios, basePath); });
3385
+ },
3386
+ /**
3387
+ * List the available roles
3388
+ * @summary List Roles
3389
+ * @param {*} [options] Override http request option.
3390
+ * @throws {RequiredError}
3391
+ */
3392
+ configListRoles: function (options) {
3393
+ return localVarFp.configListRoles(options).then(function (request) { return request(axios, basePath); });
3394
+ },
3395
+ /**
3396
+ * List the available feature based roles
3397
+ * @summary List Feature Based Roles
3398
+ * @param {*} [options] Override http request option.
3399
+ * @throws {RequiredError}
3400
+ */
3401
+ listFeatureBasedRoles: function (options) {
3402
+ return localVarFp.listFeatureBasedRoles(options).then(function (request) { return request(axios, basePath); });
3403
+ },
1260
3404
  /**
1261
3405
  * List the available permissions
1262
3406
  * @summary List Permissions
@@ -1266,34 +3410,98 @@ var PermissionsApiFactory = function (configuration, basePath, axios) {
1266
3410
  listPermissions: function (options) {
1267
3411
  return localVarFp.listPermissions(options).then(function (request) { return request(axios, basePath); });
1268
3412
  },
3413
+ /**
3414
+ * List the available roles
3415
+ * @summary List Roles
3416
+ * @param {*} [options] Override http request option.
3417
+ * @throws {RequiredError}
3418
+ */
3419
+ listRoles: function (options) {
3420
+ return localVarFp.listRoles(options).then(function (request) { return request(axios, basePath); });
3421
+ },
1269
3422
  };
1270
3423
  };
1271
- exports.PermissionsApiFactory = PermissionsApiFactory;
3424
+ exports.ConfigurationDataApiFactory = ConfigurationDataApiFactory;
1272
3425
  /**
1273
- * PermissionsApi - object-oriented interface
3426
+ * ConfigurationDataApi - object-oriented interface
1274
3427
  * @export
1275
- * @class PermissionsApi
3428
+ * @class ConfigurationDataApi
1276
3429
  * @extends {BaseAPI}
1277
3430
  */
1278
- var PermissionsApi = /** @class */ (function (_super) {
1279
- __extends(PermissionsApi, _super);
1280
- function PermissionsApi() {
3431
+ var ConfigurationDataApi = /** @class */ (function (_super) {
3432
+ __extends(ConfigurationDataApi, _super);
3433
+ function ConfigurationDataApi() {
1281
3434
  return _super !== null && _super.apply(this, arguments) || this;
1282
3435
  }
3436
+ /**
3437
+ * List the available feature based roles
3438
+ * @summary List Feature Based Roles
3439
+ * @param {*} [options] Override http request option.
3440
+ * @throws {RequiredError}
3441
+ * @memberof ConfigurationDataApi
3442
+ */
3443
+ ConfigurationDataApi.prototype.configListFeatureBasedRoles = function (options) {
3444
+ var _this = this;
3445
+ return (0, exports.ConfigurationDataApiFp)(this.configuration).configListFeatureBasedRoles(options).then(function (request) { return request(_this.axios, _this.basePath); });
3446
+ };
3447
+ /**
3448
+ * List the available permissions
3449
+ * @summary List Permissions
3450
+ * @param {*} [options] Override http request option.
3451
+ * @throws {RequiredError}
3452
+ * @memberof ConfigurationDataApi
3453
+ */
3454
+ ConfigurationDataApi.prototype.configListPermissions = function (options) {
3455
+ var _this = this;
3456
+ return (0, exports.ConfigurationDataApiFp)(this.configuration).configListPermissions(options).then(function (request) { return request(_this.axios, _this.basePath); });
3457
+ };
3458
+ /**
3459
+ * List the available roles
3460
+ * @summary List Roles
3461
+ * @param {*} [options] Override http request option.
3462
+ * @throws {RequiredError}
3463
+ * @memberof ConfigurationDataApi
3464
+ */
3465
+ ConfigurationDataApi.prototype.configListRoles = function (options) {
3466
+ var _this = this;
3467
+ return (0, exports.ConfigurationDataApiFp)(this.configuration).configListRoles(options).then(function (request) { return request(_this.axios, _this.basePath); });
3468
+ };
3469
+ /**
3470
+ * List the available feature based roles
3471
+ * @summary List Feature Based Roles
3472
+ * @param {*} [options] Override http request option.
3473
+ * @throws {RequiredError}
3474
+ * @memberof ConfigurationDataApi
3475
+ */
3476
+ ConfigurationDataApi.prototype.listFeatureBasedRoles = function (options) {
3477
+ var _this = this;
3478
+ return (0, exports.ConfigurationDataApiFp)(this.configuration).listFeatureBasedRoles(options).then(function (request) { return request(_this.axios, _this.basePath); });
3479
+ };
1283
3480
  /**
1284
3481
  * List the available permissions
1285
3482
  * @summary List Permissions
1286
3483
  * @param {*} [options] Override http request option.
1287
3484
  * @throws {RequiredError}
1288
- * @memberof PermissionsApi
3485
+ * @memberof ConfigurationDataApi
3486
+ */
3487
+ ConfigurationDataApi.prototype.listPermissions = function (options) {
3488
+ var _this = this;
3489
+ return (0, exports.ConfigurationDataApiFp)(this.configuration).listPermissions(options).then(function (request) { return request(_this.axios, _this.basePath); });
3490
+ };
3491
+ /**
3492
+ * List the available roles
3493
+ * @summary List Roles
3494
+ * @param {*} [options] Override http request option.
3495
+ * @throws {RequiredError}
3496
+ * @memberof ConfigurationDataApi
1289
3497
  */
1290
- PermissionsApi.prototype.listPermissions = function (options) {
3498
+ ConfigurationDataApi.prototype.listRoles = function (options) {
1291
3499
  var _this = this;
1292
- return (0, exports.PermissionsApiFp)(this.configuration).listPermissions(options).then(function (request) { return request(_this.axios, _this.basePath); });
3500
+ return (0, exports.ConfigurationDataApiFp)(this.configuration).listRoles(options).then(function (request) { return request(_this.axios, _this.basePath); });
1293
3501
  };
1294
- return PermissionsApi;
3502
+ return ConfigurationDataApi;
1295
3503
  }(base_1.BaseAPI));
1296
- exports.PermissionsApi = PermissionsApi;
3504
+ exports.ConfigurationDataApi = ConfigurationDataApi;
1297
3505
  /**
1298
3506
  * RoleAssignmentApi - axios parameter creator
1299
3507
  * @export
@@ -1376,7 +3584,7 @@ var RoleAssignmentApiAxiosParamCreator = function (configuration) {
1376
3584
  if (configuration) {
1377
3585
  baseOptions = configuration.baseOptions;
1378
3586
  }
1379
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3587
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
1380
3588
  localVarHeaderParameter = {};
1381
3589
  localVarQueryParameter = {};
1382
3590
  // authentication ApiKeyAuth required
@@ -1612,42 +3820,46 @@ var RoleAssignmentApiFactory = function (configuration, basePath, axios) {
1612
3820
  /**
1613
3821
  * Assigns a specified role to a given principal (user, group, etc.)
1614
3822
  * @summary Assign Role to Principal
1615
- * @param {RoleAssignmentApiAssignRoleToPrincipalRequest} requestParameters Request parameters.
3823
+ * @param {string} orgId
3824
+ * @param {AssignRoleRequestBody} [assignRoleRequestBody]
1616
3825
  * @param {*} [options] Override http request option.
1617
3826
  * @throws {RequiredError}
1618
3827
  */
1619
- assignRoleToPrincipal: function (requestParameters, options) {
1620
- return localVarFp.assignRoleToPrincipal(requestParameters.orgId, requestParameters.assignRoleRequestBody, options).then(function (request) { return request(axios, basePath); });
3828
+ assignRoleToPrincipal: function (orgId, assignRoleRequestBody, options) {
3829
+ return localVarFp.assignRoleToPrincipal(orgId, assignRoleRequestBody, options).then(function (request) { return request(axios, basePath); });
1621
3830
  },
1622
3831
  /**
1623
3832
  * Get the active roles for a given principal
1624
3833
  * @summary Get Principal Roles
1625
- * @param {RoleAssignmentApiGetPrincipalRolesRequest} requestParameters Request parameters.
3834
+ * @param {string} orgId
3835
+ * @param {GetPrincipalRolesRequestBody} [getPrincipalRolesRequestBody]
1626
3836
  * @param {*} [options] Override http request option.
1627
3837
  * @throws {RequiredError}
1628
3838
  */
1629
- getPrincipalRoles: function (requestParameters, options) {
1630
- return localVarFp.getPrincipalRoles(requestParameters.orgId, requestParameters.getPrincipalRolesRequestBody, options).then(function (request) { return request(axios, basePath); });
3839
+ getPrincipalRoles: function (orgId, getPrincipalRolesRequestBody, options) {
3840
+ return localVarFp.getPrincipalRoles(orgId, getPrincipalRolesRequestBody, options).then(function (request) { return request(axios, basePath); });
1631
3841
  },
1632
3842
  /**
1633
3843
  * Revokes a forbidden role from a given principal (user, group, etc.)
1634
3844
  * @summary Revoke Forbidden Role from Principal
1635
- * @param {RoleAssignmentApiRevokeForbiddenRoleFromPrincipalRequest} requestParameters Request parameters.
3845
+ * @param {string} orgId
3846
+ * @param {RevokeForbiddenRoleRequestBody} [revokeForbiddenRoleRequestBody]
1636
3847
  * @param {*} [options] Override http request option.
1637
3848
  * @throws {RequiredError}
1638
3849
  */
1639
- revokeForbiddenRoleFromPrincipal: function (requestParameters, options) {
1640
- return localVarFp.revokeForbiddenRoleFromPrincipal(requestParameters.orgId, requestParameters.revokeForbiddenRoleRequestBody, options).then(function (request) { return request(axios, basePath); });
3850
+ revokeForbiddenRoleFromPrincipal: function (orgId, revokeForbiddenRoleRequestBody, options) {
3851
+ return localVarFp.revokeForbiddenRoleFromPrincipal(orgId, revokeForbiddenRoleRequestBody, options).then(function (request) { return request(axios, basePath); });
1641
3852
  },
1642
3853
  /**
1643
3854
  * Revokes a specified role from a given principal (user, group, etc.)
1644
3855
  * @summary Revoke Role from Principal
1645
- * @param {RoleAssignmentApiRevokeRoleFromPrincipalRequest} requestParameters Request parameters.
3856
+ * @param {string} orgId
3857
+ * @param {RevokeRoleRequestBody} [revokeRoleRequestBody]
1646
3858
  * @param {*} [options] Override http request option.
1647
3859
  * @throws {RequiredError}
1648
3860
  */
1649
- revokeRoleFromPrincipal: function (requestParameters, options) {
1650
- return localVarFp.revokeRoleFromPrincipal(requestParameters.orgId, requestParameters.revokeRoleRequestBody, options).then(function (request) { return request(axios, basePath); });
3861
+ revokeRoleFromPrincipal: function (orgId, revokeRoleRequestBody, options) {
3862
+ return localVarFp.revokeRoleFromPrincipal(orgId, revokeRoleRequestBody, options).then(function (request) { return request(axios, basePath); });
1651
3863
  },
1652
3864
  };
1653
3865
  };
@@ -1666,54 +3878,192 @@ var RoleAssignmentApi = /** @class */ (function (_super) {
1666
3878
  /**
1667
3879
  * Assigns a specified role to a given principal (user, group, etc.)
1668
3880
  * @summary Assign Role to Principal
1669
- * @param {RoleAssignmentApiAssignRoleToPrincipalRequest} requestParameters Request parameters.
3881
+ * @param {string} orgId
3882
+ * @param {AssignRoleRequestBody} [assignRoleRequestBody]
1670
3883
  * @param {*} [options] Override http request option.
1671
3884
  * @throws {RequiredError}
1672
3885
  * @memberof RoleAssignmentApi
1673
3886
  */
1674
- RoleAssignmentApi.prototype.assignRoleToPrincipal = function (requestParameters, options) {
3887
+ RoleAssignmentApi.prototype.assignRoleToPrincipal = function (orgId, assignRoleRequestBody, options) {
1675
3888
  var _this = this;
1676
- return (0, exports.RoleAssignmentApiFp)(this.configuration).assignRoleToPrincipal(requestParameters.orgId, requestParameters.assignRoleRequestBody, options).then(function (request) { return request(_this.axios, _this.basePath); });
3889
+ return (0, exports.RoleAssignmentApiFp)(this.configuration).assignRoleToPrincipal(orgId, assignRoleRequestBody, options).then(function (request) { return request(_this.axios, _this.basePath); });
1677
3890
  };
1678
3891
  /**
1679
3892
  * Get the active roles for a given principal
1680
3893
  * @summary Get Principal Roles
1681
- * @param {RoleAssignmentApiGetPrincipalRolesRequest} requestParameters Request parameters.
3894
+ * @param {string} orgId
3895
+ * @param {GetPrincipalRolesRequestBody} [getPrincipalRolesRequestBody]
1682
3896
  * @param {*} [options] Override http request option.
1683
3897
  * @throws {RequiredError}
1684
3898
  * @memberof RoleAssignmentApi
1685
3899
  */
1686
- RoleAssignmentApi.prototype.getPrincipalRoles = function (requestParameters, options) {
3900
+ RoleAssignmentApi.prototype.getPrincipalRoles = function (orgId, getPrincipalRolesRequestBody, options) {
1687
3901
  var _this = this;
1688
- return (0, exports.RoleAssignmentApiFp)(this.configuration).getPrincipalRoles(requestParameters.orgId, requestParameters.getPrincipalRolesRequestBody, options).then(function (request) { return request(_this.axios, _this.basePath); });
3902
+ return (0, exports.RoleAssignmentApiFp)(this.configuration).getPrincipalRoles(orgId, getPrincipalRolesRequestBody, options).then(function (request) { return request(_this.axios, _this.basePath); });
1689
3903
  };
1690
3904
  /**
1691
3905
  * Revokes a forbidden role from a given principal (user, group, etc.)
1692
3906
  * @summary Revoke Forbidden Role from Principal
1693
- * @param {RoleAssignmentApiRevokeForbiddenRoleFromPrincipalRequest} requestParameters Request parameters.
3907
+ * @param {string} orgId
3908
+ * @param {RevokeForbiddenRoleRequestBody} [revokeForbiddenRoleRequestBody]
1694
3909
  * @param {*} [options] Override http request option.
1695
3910
  * @throws {RequiredError}
1696
3911
  * @memberof RoleAssignmentApi
1697
3912
  */
1698
- RoleAssignmentApi.prototype.revokeForbiddenRoleFromPrincipal = function (requestParameters, options) {
3913
+ RoleAssignmentApi.prototype.revokeForbiddenRoleFromPrincipal = function (orgId, revokeForbiddenRoleRequestBody, options) {
1699
3914
  var _this = this;
1700
- return (0, exports.RoleAssignmentApiFp)(this.configuration).revokeForbiddenRoleFromPrincipal(requestParameters.orgId, requestParameters.revokeForbiddenRoleRequestBody, options).then(function (request) { return request(_this.axios, _this.basePath); });
3915
+ return (0, exports.RoleAssignmentApiFp)(this.configuration).revokeForbiddenRoleFromPrincipal(orgId, revokeForbiddenRoleRequestBody, options).then(function (request) { return request(_this.axios, _this.basePath); });
1701
3916
  };
1702
3917
  /**
1703
3918
  * Revokes a specified role from a given principal (user, group, etc.)
1704
3919
  * @summary Revoke Role from Principal
1705
- * @param {RoleAssignmentApiRevokeRoleFromPrincipalRequest} requestParameters Request parameters.
3920
+ * @param {string} orgId
3921
+ * @param {RevokeRoleRequestBody} [revokeRoleRequestBody]
1706
3922
  * @param {*} [options] Override http request option.
1707
3923
  * @throws {RequiredError}
1708
3924
  * @memberof RoleAssignmentApi
1709
3925
  */
1710
- RoleAssignmentApi.prototype.revokeRoleFromPrincipal = function (requestParameters, options) {
3926
+ RoleAssignmentApi.prototype.revokeRoleFromPrincipal = function (orgId, revokeRoleRequestBody, options) {
1711
3927
  var _this = this;
1712
- return (0, exports.RoleAssignmentApiFp)(this.configuration).revokeRoleFromPrincipal(requestParameters.orgId, requestParameters.revokeRoleRequestBody, options).then(function (request) { return request(_this.axios, _this.basePath); });
3928
+ return (0, exports.RoleAssignmentApiFp)(this.configuration).revokeRoleFromPrincipal(orgId, revokeRoleRequestBody, options).then(function (request) { return request(_this.axios, _this.basePath); });
1713
3929
  };
1714
3930
  return RoleAssignmentApi;
1715
3931
  }(base_1.BaseAPI));
1716
3932
  exports.RoleAssignmentApi = RoleAssignmentApi;
3933
+ /**
3934
+ * UserManagementApi - axios parameter creator
3935
+ * @export
3936
+ */
3937
+ var UserManagementApiAxiosParamCreator = function (configuration) {
3938
+ var _this = this;
3939
+ return {
3940
+ /**
3941
+ * List the users in a given org
3942
+ * @summary List Users in Org
3943
+ * @param {string} orgId
3944
+ * @param {*} [options] Override http request option.
3945
+ * @throws {RequiredError}
3946
+ */
3947
+ listUsersInOrg: function (orgId_1) {
3948
+ var args_1 = [];
3949
+ for (var _i = 1; _i < arguments.length; _i++) {
3950
+ args_1[_i - 1] = arguments[_i];
3951
+ }
3952
+ return __awaiter(_this, __spreadArray([orgId_1], args_1, true), void 0, function (orgId, options) {
3953
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3954
+ if (options === void 0) { options = {}; }
3955
+ return __generator(this, function (_a) {
3956
+ switch (_a.label) {
3957
+ case 0:
3958
+ // verify required parameter 'orgId' is not null or undefined
3959
+ (0, common_1.assertParamExists)('listUsersInOrg', 'orgId', orgId);
3960
+ localVarPath = "/orgs/{orgId}/users"
3961
+ .replace("{".concat("orgId", "}"), encodeURIComponent(String(orgId)));
3962
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3963
+ if (configuration) {
3964
+ baseOptions = configuration.baseOptions;
3965
+ }
3966
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3967
+ localVarHeaderParameter = {};
3968
+ localVarQueryParameter = {};
3969
+ // authentication ApiKeyAuth required
3970
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
3971
+ case 1:
3972
+ // authentication ApiKeyAuth required
3973
+ _a.sent();
3974
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3975
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3976
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3977
+ return [2 /*return*/, {
3978
+ url: (0, common_1.toPathString)(localVarUrlObj),
3979
+ options: localVarRequestOptions,
3980
+ }];
3981
+ }
3982
+ });
3983
+ });
3984
+ },
3985
+ };
3986
+ };
3987
+ exports.UserManagementApiAxiosParamCreator = UserManagementApiAxiosParamCreator;
3988
+ /**
3989
+ * UserManagementApi - functional programming interface
3990
+ * @export
3991
+ */
3992
+ var UserManagementApiFp = function (configuration) {
3993
+ var localVarAxiosParamCreator = (0, exports.UserManagementApiAxiosParamCreator)(configuration);
3994
+ return {
3995
+ /**
3996
+ * List the users in a given org
3997
+ * @summary List Users in Org
3998
+ * @param {string} orgId
3999
+ * @param {*} [options] Override http request option.
4000
+ * @throws {RequiredError}
4001
+ */
4002
+ listUsersInOrg: function (orgId, options) {
4003
+ return __awaiter(this, void 0, void 0, function () {
4004
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
4005
+ var _a, _b, _c;
4006
+ return __generator(this, function (_d) {
4007
+ switch (_d.label) {
4008
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listUsersInOrg(orgId, options)];
4009
+ case 1:
4010
+ localVarAxiosArgs = _d.sent();
4011
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4012
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserManagementApi.listUsersInOrg']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4013
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
4014
+ }
4015
+ });
4016
+ });
4017
+ },
4018
+ };
4019
+ };
4020
+ exports.UserManagementApiFp = UserManagementApiFp;
4021
+ /**
4022
+ * UserManagementApi - factory interface
4023
+ * @export
4024
+ */
4025
+ var UserManagementApiFactory = function (configuration, basePath, axios) {
4026
+ var localVarFp = (0, exports.UserManagementApiFp)(configuration);
4027
+ return {
4028
+ /**
4029
+ * List the users in a given org
4030
+ * @summary List Users in Org
4031
+ * @param {string} orgId
4032
+ * @param {*} [options] Override http request option.
4033
+ * @throws {RequiredError}
4034
+ */
4035
+ listUsersInOrg: function (orgId, options) {
4036
+ return localVarFp.listUsersInOrg(orgId, options).then(function (request) { return request(axios, basePath); });
4037
+ },
4038
+ };
4039
+ };
4040
+ exports.UserManagementApiFactory = UserManagementApiFactory;
4041
+ /**
4042
+ * UserManagementApi - object-oriented interface
4043
+ * @export
4044
+ * @class UserManagementApi
4045
+ * @extends {BaseAPI}
4046
+ */
4047
+ var UserManagementApi = /** @class */ (function (_super) {
4048
+ __extends(UserManagementApi, _super);
4049
+ function UserManagementApi() {
4050
+ return _super !== null && _super.apply(this, arguments) || this;
4051
+ }
4052
+ /**
4053
+ * List the users in a given org
4054
+ * @summary List Users in Org
4055
+ * @param {string} orgId
4056
+ * @param {*} [options] Override http request option.
4057
+ * @throws {RequiredError}
4058
+ * @memberof UserManagementApi
4059
+ */
4060
+ UserManagementApi.prototype.listUsersInOrg = function (orgId, options) {
4061
+ var _this = this;
4062
+ return (0, exports.UserManagementApiFp)(this.configuration).listUsersInOrg(orgId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4063
+ };
4064
+ return UserManagementApi;
4065
+ }(base_1.BaseAPI));
4066
+ exports.UserManagementApi = UserManagementApi;
1717
4067
  /**
1718
4068
  * UserPermissionsApi - axios parameter creator
1719
4069
  * @export
@@ -1721,6 +4071,96 @@ exports.RoleAssignmentApi = RoleAssignmentApi;
1721
4071
  var UserPermissionsApiAxiosParamCreator = function (configuration) {
1722
4072
  var _this = this;
1723
4073
  return {
4074
+ /**
4075
+ * List the available permissions for the current user
4076
+ * @summary List Org Permissions
4077
+ * @param {string} orgId
4078
+ * @param {*} [options] Override http request option.
4079
+ * @throws {RequiredError}
4080
+ */
4081
+ listOrgPermissions: function (orgId_1) {
4082
+ var args_1 = [];
4083
+ for (var _i = 1; _i < arguments.length; _i++) {
4084
+ args_1[_i - 1] = arguments[_i];
4085
+ }
4086
+ return __awaiter(_this, __spreadArray([orgId_1], args_1, true), void 0, function (orgId, options) {
4087
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4088
+ if (options === void 0) { options = {}; }
4089
+ return __generator(this, function (_a) {
4090
+ switch (_a.label) {
4091
+ case 0:
4092
+ // verify required parameter 'orgId' is not null or undefined
4093
+ (0, common_1.assertParamExists)('listOrgPermissions', 'orgId', orgId);
4094
+ localVarPath = "/orgs/{orgId}/permissions"
4095
+ .replace("{".concat("orgId", "}"), encodeURIComponent(String(orgId)));
4096
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4097
+ if (configuration) {
4098
+ baseOptions = configuration.baseOptions;
4099
+ }
4100
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
4101
+ localVarHeaderParameter = {};
4102
+ localVarQueryParameter = {};
4103
+ // authentication ApiKeyAuth required
4104
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
4105
+ case 1:
4106
+ // authentication ApiKeyAuth required
4107
+ _a.sent();
4108
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4109
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4110
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4111
+ return [2 /*return*/, {
4112
+ url: (0, common_1.toPathString)(localVarUrlObj),
4113
+ options: localVarRequestOptions,
4114
+ }];
4115
+ }
4116
+ });
4117
+ });
4118
+ },
4119
+ /**
4120
+ * List the available roles for the current user
4121
+ * @summary List Org Roles
4122
+ * @param {string} orgId
4123
+ * @param {*} [options] Override http request option.
4124
+ * @throws {RequiredError}
4125
+ */
4126
+ listOrgRoles: function (orgId_1) {
4127
+ var args_1 = [];
4128
+ for (var _i = 1; _i < arguments.length; _i++) {
4129
+ args_1[_i - 1] = arguments[_i];
4130
+ }
4131
+ return __awaiter(_this, __spreadArray([orgId_1], args_1, true), void 0, function (orgId, options) {
4132
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
4133
+ if (options === void 0) { options = {}; }
4134
+ return __generator(this, function (_a) {
4135
+ switch (_a.label) {
4136
+ case 0:
4137
+ // verify required parameter 'orgId' is not null or undefined
4138
+ (0, common_1.assertParamExists)('listOrgRoles', 'orgId', orgId);
4139
+ localVarPath = "/orgs/{orgId}/roles"
4140
+ .replace("{".concat("orgId", "}"), encodeURIComponent(String(orgId)));
4141
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
4142
+ if (configuration) {
4143
+ baseOptions = configuration.baseOptions;
4144
+ }
4145
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
4146
+ localVarHeaderParameter = {};
4147
+ localVarQueryParameter = {};
4148
+ // authentication ApiKeyAuth required
4149
+ return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
4150
+ case 1:
4151
+ // authentication ApiKeyAuth required
4152
+ _a.sent();
4153
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
4154
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4155
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
4156
+ return [2 /*return*/, {
4157
+ url: (0, common_1.toPathString)(localVarUrlObj),
4158
+ options: localVarRequestOptions,
4159
+ }];
4160
+ }
4161
+ });
4162
+ });
4163
+ },
1724
4164
  /**
1725
4165
  * List the available permissions for the current user
1726
4166
  * @summary List Own Permissions
@@ -1825,6 +4265,52 @@ exports.UserPermissionsApiAxiosParamCreator = UserPermissionsApiAxiosParamCreato
1825
4265
  var UserPermissionsApiFp = function (configuration) {
1826
4266
  var localVarAxiosParamCreator = (0, exports.UserPermissionsApiAxiosParamCreator)(configuration);
1827
4267
  return {
4268
+ /**
4269
+ * List the available permissions for the current user
4270
+ * @summary List Org Permissions
4271
+ * @param {string} orgId
4272
+ * @param {*} [options] Override http request option.
4273
+ * @throws {RequiredError}
4274
+ */
4275
+ listOrgPermissions: function (orgId, options) {
4276
+ return __awaiter(this, void 0, void 0, function () {
4277
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
4278
+ var _a, _b, _c;
4279
+ return __generator(this, function (_d) {
4280
+ switch (_d.label) {
4281
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOrgPermissions(orgId, options)];
4282
+ case 1:
4283
+ localVarAxiosArgs = _d.sent();
4284
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4285
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserPermissionsApi.listOrgPermissions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4286
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
4287
+ }
4288
+ });
4289
+ });
4290
+ },
4291
+ /**
4292
+ * List the available roles for the current user
4293
+ * @summary List Org Roles
4294
+ * @param {string} orgId
4295
+ * @param {*} [options] Override http request option.
4296
+ * @throws {RequiredError}
4297
+ */
4298
+ listOrgRoles: function (orgId, options) {
4299
+ return __awaiter(this, void 0, void 0, function () {
4300
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
4301
+ var _a, _b, _c;
4302
+ return __generator(this, function (_d) {
4303
+ switch (_d.label) {
4304
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listOrgRoles(orgId, options)];
4305
+ case 1:
4306
+ localVarAxiosArgs = _d.sent();
4307
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4308
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['UserPermissionsApi.listOrgRoles']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4309
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
4310
+ }
4311
+ });
4312
+ });
4313
+ },
1828
4314
  /**
1829
4315
  * List the available permissions for the current user
1830
4316
  * @summary List Own Permissions
@@ -1882,25 +4368,46 @@ exports.UserPermissionsApiFp = UserPermissionsApiFp;
1882
4368
  var UserPermissionsApiFactory = function (configuration, basePath, axios) {
1883
4369
  var localVarFp = (0, exports.UserPermissionsApiFp)(configuration);
1884
4370
  return {
4371
+ /**
4372
+ * List the available permissions for the current user
4373
+ * @summary List Org Permissions
4374
+ * @param {string} orgId
4375
+ * @param {*} [options] Override http request option.
4376
+ * @throws {RequiredError}
4377
+ */
4378
+ listOrgPermissions: function (orgId, options) {
4379
+ return localVarFp.listOrgPermissions(orgId, options).then(function (request) { return request(axios, basePath); });
4380
+ },
4381
+ /**
4382
+ * List the available roles for the current user
4383
+ * @summary List Org Roles
4384
+ * @param {string} orgId
4385
+ * @param {*} [options] Override http request option.
4386
+ * @throws {RequiredError}
4387
+ */
4388
+ listOrgRoles: function (orgId, options) {
4389
+ return localVarFp.listOrgRoles(orgId, options).then(function (request) { return request(axios, basePath); });
4390
+ },
1885
4391
  /**
1886
4392
  * List the available permissions for the current user
1887
4393
  * @summary List Own Permissions
1888
- * @param {UserPermissionsApiListOwnPermissionsRequest} requestParameters Request parameters.
4394
+ * @param {string} orgId
1889
4395
  * @param {*} [options] Override http request option.
1890
4396
  * @throws {RequiredError}
1891
4397
  */
1892
- listOwnPermissions: function (requestParameters, options) {
1893
- return localVarFp.listOwnPermissions(requestParameters.orgId, options).then(function (request) { return request(axios, basePath); });
4398
+ listOwnPermissions: function (orgId, options) {
4399
+ return localVarFp.listOwnPermissions(orgId, options).then(function (request) { return request(axios, basePath); });
1894
4400
  },
1895
4401
  /**
1896
4402
  * List the available permissions for a given user
1897
4403
  * @summary List User Permissions
1898
- * @param {UserPermissionsApiListUserPermissionsRequest} requestParameters Request parameters.
4404
+ * @param {string} orgId
4405
+ * @param {string} userId
1899
4406
  * @param {*} [options] Override http request option.
1900
4407
  * @throws {RequiredError}
1901
4408
  */
1902
- listUserPermissions: function (requestParameters, options) {
1903
- return localVarFp.listUserPermissions(requestParameters.orgId, requestParameters.userId, options).then(function (request) { return request(axios, basePath); });
4409
+ listUserPermissions: function (orgId, userId, options) {
4410
+ return localVarFp.listUserPermissions(orgId, userId, options).then(function (request) { return request(axios, basePath); });
1904
4411
  },
1905
4412
  };
1906
4413
  };
@@ -1916,29 +4423,54 @@ var UserPermissionsApi = /** @class */ (function (_super) {
1916
4423
  function UserPermissionsApi() {
1917
4424
  return _super !== null && _super.apply(this, arguments) || this;
1918
4425
  }
4426
+ /**
4427
+ * List the available permissions for the current user
4428
+ * @summary List Org Permissions
4429
+ * @param {string} orgId
4430
+ * @param {*} [options] Override http request option.
4431
+ * @throws {RequiredError}
4432
+ * @memberof UserPermissionsApi
4433
+ */
4434
+ UserPermissionsApi.prototype.listOrgPermissions = function (orgId, options) {
4435
+ var _this = this;
4436
+ return (0, exports.UserPermissionsApiFp)(this.configuration).listOrgPermissions(orgId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4437
+ };
4438
+ /**
4439
+ * List the available roles for the current user
4440
+ * @summary List Org Roles
4441
+ * @param {string} orgId
4442
+ * @param {*} [options] Override http request option.
4443
+ * @throws {RequiredError}
4444
+ * @memberof UserPermissionsApi
4445
+ */
4446
+ UserPermissionsApi.prototype.listOrgRoles = function (orgId, options) {
4447
+ var _this = this;
4448
+ return (0, exports.UserPermissionsApiFp)(this.configuration).listOrgRoles(orgId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4449
+ };
1919
4450
  /**
1920
4451
  * List the available permissions for the current user
1921
4452
  * @summary List Own Permissions
1922
- * @param {UserPermissionsApiListOwnPermissionsRequest} requestParameters Request parameters.
4453
+ * @param {string} orgId
1923
4454
  * @param {*} [options] Override http request option.
1924
4455
  * @throws {RequiredError}
1925
4456
  * @memberof UserPermissionsApi
1926
4457
  */
1927
- UserPermissionsApi.prototype.listOwnPermissions = function (requestParameters, options) {
4458
+ UserPermissionsApi.prototype.listOwnPermissions = function (orgId, options) {
1928
4459
  var _this = this;
1929
- return (0, exports.UserPermissionsApiFp)(this.configuration).listOwnPermissions(requestParameters.orgId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4460
+ return (0, exports.UserPermissionsApiFp)(this.configuration).listOwnPermissions(orgId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1930
4461
  };
1931
4462
  /**
1932
4463
  * List the available permissions for a given user
1933
4464
  * @summary List User Permissions
1934
- * @param {UserPermissionsApiListUserPermissionsRequest} requestParameters Request parameters.
4465
+ * @param {string} orgId
4466
+ * @param {string} userId
1935
4467
  * @param {*} [options] Override http request option.
1936
4468
  * @throws {RequiredError}
1937
4469
  * @memberof UserPermissionsApi
1938
4470
  */
1939
- UserPermissionsApi.prototype.listUserPermissions = function (requestParameters, options) {
4471
+ UserPermissionsApi.prototype.listUserPermissions = function (orgId, userId, options) {
1940
4472
  var _this = this;
1941
- return (0, exports.UserPermissionsApiFp)(this.configuration).listUserPermissions(requestParameters.orgId, requestParameters.userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4473
+ return (0, exports.UserPermissionsApiFp)(this.configuration).listUserPermissions(orgId, userId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1942
4474
  };
1943
4475
  return UserPermissionsApi;
1944
4476
  }(base_1.BaseAPI));