@flipdish/authorization 0.0.6-rc.1764848040 → 0.0.6-rc.1766077124
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/README.md +57 -4
- package/api.ts +718 -98
- package/configuration.ts +1 -1
- package/dist/api.d.ts +651 -94
- package/dist/api.js +610 -12
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
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.
|
|
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,6 +166,10 @@ exports.AssignRoleRequestBodyRoleEnum = {
|
|
|
165
166
|
FinanceManagerMisc: 'FinanceManagerMisc',
|
|
166
167
|
SupportMisc: 'SupportMisc'
|
|
167
168
|
};
|
|
169
|
+
exports.AuthenticateAndAuthorizeRequestCheckModeEnum = {
|
|
170
|
+
Any: 'any',
|
|
171
|
+
All: 'all'
|
|
172
|
+
};
|
|
168
173
|
exports.AuthenticateAndCheckIsInRoleRequestRolesEnum = {
|
|
169
174
|
Admin: 'Admin',
|
|
170
175
|
Factory: 'Factory'
|
|
@@ -173,6 +178,240 @@ exports.AuthenticateAndCheckIsInRoleRequestCheckModeEnum = {
|
|
|
173
178
|
Any: 'any',
|
|
174
179
|
All: 'all'
|
|
175
180
|
};
|
|
181
|
+
exports.AuthorizationBatchRequestActionEnum = {
|
|
182
|
+
AnyAuditLogs: 'AnyAuditLogs',
|
|
183
|
+
ViewApp: 'ViewApp',
|
|
184
|
+
CreateApp: 'CreateApp',
|
|
185
|
+
UpdateApp: 'UpdateApp',
|
|
186
|
+
ViewAppName: 'ViewAppName',
|
|
187
|
+
EditAppAssets: 'EditAppAssets',
|
|
188
|
+
EditAppFeatures: 'EditAppFeatures',
|
|
189
|
+
ViewTeammates: 'ViewTeammates',
|
|
190
|
+
EditTeammates: 'EditTeammates',
|
|
191
|
+
CreateTeammateOwner: 'CreateTeammateOwner',
|
|
192
|
+
CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
|
|
193
|
+
CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
|
|
194
|
+
CreateTeammateStoreManager: 'CreateTeammateStoreManager',
|
|
195
|
+
CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
|
|
196
|
+
CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
|
|
197
|
+
CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
|
|
198
|
+
CreateTeammateIntegrator: 'CreateTeammateIntegrator',
|
|
199
|
+
CreateTeammateOnboarding: 'CreateTeammateOnboarding',
|
|
200
|
+
CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
|
|
201
|
+
CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
|
|
202
|
+
ViewApmConfigurations: 'ViewApmConfigurations',
|
|
203
|
+
EditApmConfigurations: 'EditApmConfigurations',
|
|
204
|
+
ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
|
|
205
|
+
CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
|
|
206
|
+
UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
|
|
207
|
+
DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
|
|
208
|
+
StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
|
|
209
|
+
ViewDevelopersSettings: 'ViewDevelopersSettings',
|
|
210
|
+
EditDevelopersSettings: 'EditDevelopersSettings',
|
|
211
|
+
ViewOrders: 'ViewOrders',
|
|
212
|
+
UpdateOrdersAccept: 'UpdateOrdersAccept',
|
|
213
|
+
UpdateOrdersReject: 'UpdateOrdersReject',
|
|
214
|
+
UpdateOrdersRefund: 'UpdateOrdersRefund',
|
|
215
|
+
UpdateOrdersDispatch: 'UpdateOrdersDispatch',
|
|
216
|
+
ViewStores: 'ViewStores',
|
|
217
|
+
CreateStores: 'CreateStores',
|
|
218
|
+
EditStores: 'EditStores',
|
|
219
|
+
ViewStoresOpeningHours: 'ViewStoresOpeningHours',
|
|
220
|
+
UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
|
|
221
|
+
UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
|
|
222
|
+
ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
|
|
223
|
+
EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
|
|
224
|
+
EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
|
|
225
|
+
UpdateStoresName: 'UpdateStoresName',
|
|
226
|
+
EditStoreKioskSettings: 'EditStoreKioskSettings',
|
|
227
|
+
EditStoreOrderCapacity: 'EditStoreOrderCapacity',
|
|
228
|
+
EditStoreNotifications: 'EditStoreNotifications',
|
|
229
|
+
ArchiveStores: 'ArchiveStores',
|
|
230
|
+
PublishStores: 'PublishStores',
|
|
231
|
+
UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
|
|
232
|
+
UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
|
|
233
|
+
ViewStoreGroups: 'ViewStoreGroups',
|
|
234
|
+
CreateStoreGroups: 'CreateStoreGroups',
|
|
235
|
+
UpdateStoreGroups: 'UpdateStoreGroups',
|
|
236
|
+
DeleteStoreGroups: 'DeleteStoreGroups',
|
|
237
|
+
ViewDeliveryZones: 'ViewDeliveryZones',
|
|
238
|
+
CreateDeliveryZones: 'CreateDeliveryZones',
|
|
239
|
+
UpdateDeliveryZones: 'UpdateDeliveryZones',
|
|
240
|
+
DeleteDeliveryZones: 'DeleteDeliveryZones',
|
|
241
|
+
ViewMenu: 'ViewMenu',
|
|
242
|
+
CreateMenu: 'CreateMenu',
|
|
243
|
+
UpdateMenu: 'UpdateMenu',
|
|
244
|
+
DeleteMenu: 'DeleteMenu',
|
|
245
|
+
UpdateMenuLock: 'UpdateMenuLock',
|
|
246
|
+
UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
|
|
247
|
+
EditMenuImage: 'EditMenuImage',
|
|
248
|
+
ViewVouchers: 'ViewVouchers',
|
|
249
|
+
EditVouchers: 'EditVouchers',
|
|
250
|
+
ViewWebsiteContent: 'ViewWebsiteContent',
|
|
251
|
+
EditWebsiteContent: 'EditWebsiteContent',
|
|
252
|
+
ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
|
|
253
|
+
ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
|
|
254
|
+
ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
|
|
255
|
+
ViewBankAccounts: 'ViewBankAccounts',
|
|
256
|
+
CreateBankAccounts: 'CreateBankAccounts',
|
|
257
|
+
UpdateBankAccounts: 'UpdateBankAccounts',
|
|
258
|
+
UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
|
|
259
|
+
ViewAssignedBankAccount: 'ViewAssignedBankAccount',
|
|
260
|
+
VerifyBankAccounts: 'VerifyBankAccounts',
|
|
261
|
+
ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
|
|
262
|
+
EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
|
|
263
|
+
EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
|
|
264
|
+
EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
|
|
265
|
+
ViewHydraConfig: 'ViewHydraConfig',
|
|
266
|
+
UpdateHydraConfigManage: 'UpdateHydraConfigManage',
|
|
267
|
+
InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
|
|
268
|
+
DeleteTerminal: 'DeleteTerminal',
|
|
269
|
+
ViewKioskTelemetry: 'ViewKioskTelemetry',
|
|
270
|
+
ViewCustomers: 'ViewCustomers',
|
|
271
|
+
EditCustomers: 'EditCustomers',
|
|
272
|
+
CreateCustomers: 'CreateCustomers',
|
|
273
|
+
CreateCatalogElements: 'CreateCatalogElements',
|
|
274
|
+
UpdateCatalogElements: 'UpdateCatalogElements',
|
|
275
|
+
ViewCatalogElements: 'ViewCatalogElements',
|
|
276
|
+
DeleteCatalogElements: 'DeleteCatalogElements',
|
|
277
|
+
ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
|
|
278
|
+
CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
|
|
279
|
+
UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
|
|
280
|
+
DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
|
|
281
|
+
UpdateMetafields: 'UpdateMetafields',
|
|
282
|
+
ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
|
|
283
|
+
PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
|
|
284
|
+
ViewAppStatistics: 'ViewAppStatistics',
|
|
285
|
+
ViewApmStatistics: 'ViewApmStatistics',
|
|
286
|
+
ViewCampaignsStatistics: 'ViewCampaignsStatistics',
|
|
287
|
+
ViewCustomerStatistics: 'ViewCustomerStatistics',
|
|
288
|
+
ViewLiveStatistics: 'ViewLiveStatistics',
|
|
289
|
+
ViewOrderStatistics: 'ViewOrderStatistics',
|
|
290
|
+
ViewSalesStatistics: 'ViewSalesStatistics',
|
|
291
|
+
ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
|
|
292
|
+
ViewVouchersStatistics: 'ViewVouchersStatistics',
|
|
293
|
+
DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
|
|
294
|
+
ViewApmAuditLogs: 'ViewApmAuditLogs',
|
|
295
|
+
ViewStoreAuditLogs: 'ViewStoreAuditLogs',
|
|
296
|
+
ViewMenuAuditLogs: 'ViewMenuAuditLogs',
|
|
297
|
+
ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
|
|
298
|
+
ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
|
|
299
|
+
ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
|
|
300
|
+
ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
|
|
301
|
+
ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
|
|
302
|
+
ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
|
|
303
|
+
ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
|
|
304
|
+
ViewAppAuditLogs: 'ViewAppAuditLogs',
|
|
305
|
+
ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
|
|
306
|
+
ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
|
|
307
|
+
ViewHydraAuditLogs: 'ViewHydraAuditLogs',
|
|
308
|
+
ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
|
|
309
|
+
ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
|
|
310
|
+
ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
|
|
311
|
+
ViewExternalAuditLogs: 'ViewExternalAuditLogs',
|
|
312
|
+
CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
|
|
313
|
+
ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
|
|
314
|
+
ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
|
|
315
|
+
ViewChannelAuditLogs: 'ViewChannelAuditLogs',
|
|
316
|
+
ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
|
|
317
|
+
SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
|
|
318
|
+
InviteDriverToApp: 'InviteDriverToApp',
|
|
319
|
+
GetDriverForApp: 'GetDriverForApp',
|
|
320
|
+
RemoveDriverFromApp: 'RemoveDriverFromApp',
|
|
321
|
+
AssignDriverToOrder: 'AssignDriverToOrder',
|
|
322
|
+
UnassignDriverFromOrder: 'UnassignDriverFromOrder',
|
|
323
|
+
UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
|
|
324
|
+
UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
|
|
325
|
+
ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
|
|
326
|
+
CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
|
|
327
|
+
UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
|
|
328
|
+
DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
|
|
329
|
+
ViewPayouts: 'ViewPayouts',
|
|
330
|
+
ViewChannels: 'ViewChannels',
|
|
331
|
+
ViewOnboarding: 'ViewOnboarding',
|
|
332
|
+
UpdateOnboarding: 'UpdateOnboarding',
|
|
333
|
+
ViewClientDevices: 'ViewClientDevices',
|
|
334
|
+
UpdateClientDevices: 'UpdateClientDevices',
|
|
335
|
+
EnrollClientDevices: 'EnrollClientDevices',
|
|
336
|
+
AssignClientDevices: 'AssignClientDevices',
|
|
337
|
+
ViewClientAuditLogs: 'ViewClientAuditLogs',
|
|
338
|
+
CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
|
|
339
|
+
ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
|
|
340
|
+
UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
|
|
341
|
+
DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
|
|
342
|
+
UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
|
|
343
|
+
CreateAppStoreSubscription: 'CreateAppStoreSubscription',
|
|
344
|
+
UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
|
|
345
|
+
DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
|
|
346
|
+
ViewSalesChannels: 'ViewSalesChannels',
|
|
347
|
+
EditSalesChannels: 'EditSalesChannels',
|
|
348
|
+
CreateSalesChannel: 'CreateSalesChannel',
|
|
349
|
+
ArchiveSalesChannel: 'ArchiveSalesChannel',
|
|
350
|
+
UnarchiveSalesChannel: 'UnarchiveSalesChannel',
|
|
351
|
+
PublishSalesChannel: 'PublishSalesChannel',
|
|
352
|
+
UnpublishSalesChannel: 'UnpublishSalesChannel',
|
|
353
|
+
CloneSalesChannel: 'CloneSalesChannel',
|
|
354
|
+
ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
|
|
355
|
+
CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
|
|
356
|
+
UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
|
|
357
|
+
UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
|
|
358
|
+
ViewSubscriptions: 'ViewSubscriptions',
|
|
359
|
+
ViewInvoices: 'ViewInvoices',
|
|
360
|
+
EditAccountsBills: 'EditAccountsBills',
|
|
361
|
+
ViewAccountsBills: 'ViewAccountsBills',
|
|
362
|
+
EditAccountsCategories: 'EditAccountsCategories',
|
|
363
|
+
ViewAccountsCategories: 'ViewAccountsCategories',
|
|
364
|
+
EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
|
|
365
|
+
ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
|
|
366
|
+
EditAccountsCreditBooks: 'EditAccountsCreditBooks',
|
|
367
|
+
ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
|
|
368
|
+
EditAccountsExpenses: 'EditAccountsExpenses',
|
|
369
|
+
ViewAccountsExpenses: 'ViewAccountsExpenses',
|
|
370
|
+
EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
|
|
371
|
+
ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
|
|
372
|
+
EditDocumentExplorer: 'EditDocumentExplorer',
|
|
373
|
+
ViewDocumentExplorer: 'ViewDocumentExplorer',
|
|
374
|
+
ViewInventoryReports: 'ViewInventoryReports',
|
|
375
|
+
EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
|
|
376
|
+
ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
|
|
377
|
+
EditInventoryStockItems: 'EditInventoryStockItems',
|
|
378
|
+
ViewInventoryStockItems: 'ViewInventoryStockItems',
|
|
379
|
+
EditInventorySupplier: 'EditInventorySupplier',
|
|
380
|
+
ViewInventorySupplier: 'ViewInventorySupplier',
|
|
381
|
+
EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
|
|
382
|
+
ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
|
|
383
|
+
ViewPayrollReports: 'ViewPayrollReports',
|
|
384
|
+
EditPayrollHoliday: 'EditPayrollHoliday',
|
|
385
|
+
ViewPayrollHoliday: 'ViewPayrollHoliday',
|
|
386
|
+
EditPayrollRota: 'EditPayrollRota',
|
|
387
|
+
ViewPayrollRota: 'ViewPayrollRota',
|
|
388
|
+
EditPayrollStaff: 'EditPayrollStaff',
|
|
389
|
+
ViewPayrollStaff: 'ViewPayrollStaff',
|
|
390
|
+
ViewSalesReports: 'ViewSalesReports',
|
|
391
|
+
ViewCostReports: 'ViewCostReports',
|
|
392
|
+
ViewMenuReports: 'ViewMenuReports',
|
|
393
|
+
ViewBrand: 'ViewBrand',
|
|
394
|
+
EditBrand: 'EditBrand',
|
|
395
|
+
CreateBrand: 'CreateBrand',
|
|
396
|
+
TransferBrand: 'TransferBrand',
|
|
397
|
+
ViewProperty: 'ViewProperty',
|
|
398
|
+
EditProperty: 'EditProperty',
|
|
399
|
+
CreateProperty: 'CreateProperty',
|
|
400
|
+
ArchiveProperty: 'ArchiveProperty',
|
|
401
|
+
ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
|
|
402
|
+
EditEntityFeatureFlags: 'EditEntityFeatureFlags',
|
|
403
|
+
CreateOrg: 'CreateOrg',
|
|
404
|
+
EditOrg: 'EditOrg',
|
|
405
|
+
ViewOrg: 'ViewOrg',
|
|
406
|
+
ViewWebhooks: 'ViewWebhooks',
|
|
407
|
+
EditWebhooks: 'EditWebhooks',
|
|
408
|
+
RoleAdmin: 'RoleAdmin',
|
|
409
|
+
RoleFactory: 'RoleFactory'
|
|
410
|
+
};
|
|
411
|
+
exports.AuthorizationRequestCheckModeEnum = {
|
|
412
|
+
Any: 'any',
|
|
413
|
+
All: 'all'
|
|
414
|
+
};
|
|
176
415
|
exports.AuthorizationRequestPrincipalTypeEnum = {
|
|
177
416
|
User: 'User',
|
|
178
417
|
Automation: 'Automation'
|
|
@@ -189,6 +428,236 @@ exports.AuthorizationRequestResourceOneOf2TypeEnum = {
|
|
|
189
428
|
exports.AuthorizationRequestResourceOneOf3TypeEnum = {
|
|
190
429
|
SalesChannel: 'SalesChannel'
|
|
191
430
|
};
|
|
431
|
+
exports.FeatureBasedRolePermissionsEnum = {
|
|
432
|
+
AnyAuditLogs: 'AnyAuditLogs',
|
|
433
|
+
ViewApp: 'ViewApp',
|
|
434
|
+
CreateApp: 'CreateApp',
|
|
435
|
+
UpdateApp: 'UpdateApp',
|
|
436
|
+
ViewAppName: 'ViewAppName',
|
|
437
|
+
EditAppAssets: 'EditAppAssets',
|
|
438
|
+
EditAppFeatures: 'EditAppFeatures',
|
|
439
|
+
ViewTeammates: 'ViewTeammates',
|
|
440
|
+
EditTeammates: 'EditTeammates',
|
|
441
|
+
CreateTeammateOwner: 'CreateTeammateOwner',
|
|
442
|
+
CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
|
|
443
|
+
CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
|
|
444
|
+
CreateTeammateStoreManager: 'CreateTeammateStoreManager',
|
|
445
|
+
CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
|
|
446
|
+
CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
|
|
447
|
+
CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
|
|
448
|
+
CreateTeammateIntegrator: 'CreateTeammateIntegrator',
|
|
449
|
+
CreateTeammateOnboarding: 'CreateTeammateOnboarding',
|
|
450
|
+
CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
|
|
451
|
+
CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
|
|
452
|
+
ViewApmConfigurations: 'ViewApmConfigurations',
|
|
453
|
+
EditApmConfigurations: 'EditApmConfigurations',
|
|
454
|
+
ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
|
|
455
|
+
CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
|
|
456
|
+
UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
|
|
457
|
+
DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
|
|
458
|
+
StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
|
|
459
|
+
ViewDevelopersSettings: 'ViewDevelopersSettings',
|
|
460
|
+
EditDevelopersSettings: 'EditDevelopersSettings',
|
|
461
|
+
ViewOrders: 'ViewOrders',
|
|
462
|
+
UpdateOrdersAccept: 'UpdateOrdersAccept',
|
|
463
|
+
UpdateOrdersReject: 'UpdateOrdersReject',
|
|
464
|
+
UpdateOrdersRefund: 'UpdateOrdersRefund',
|
|
465
|
+
UpdateOrdersDispatch: 'UpdateOrdersDispatch',
|
|
466
|
+
ViewStores: 'ViewStores',
|
|
467
|
+
CreateStores: 'CreateStores',
|
|
468
|
+
EditStores: 'EditStores',
|
|
469
|
+
ViewStoresOpeningHours: 'ViewStoresOpeningHours',
|
|
470
|
+
UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
|
|
471
|
+
UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
|
|
472
|
+
ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
|
|
473
|
+
EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
|
|
474
|
+
EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
|
|
475
|
+
UpdateStoresName: 'UpdateStoresName',
|
|
476
|
+
EditStoreKioskSettings: 'EditStoreKioskSettings',
|
|
477
|
+
EditStoreOrderCapacity: 'EditStoreOrderCapacity',
|
|
478
|
+
EditStoreNotifications: 'EditStoreNotifications',
|
|
479
|
+
ArchiveStores: 'ArchiveStores',
|
|
480
|
+
PublishStores: 'PublishStores',
|
|
481
|
+
UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
|
|
482
|
+
UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
|
|
483
|
+
ViewStoreGroups: 'ViewStoreGroups',
|
|
484
|
+
CreateStoreGroups: 'CreateStoreGroups',
|
|
485
|
+
UpdateStoreGroups: 'UpdateStoreGroups',
|
|
486
|
+
DeleteStoreGroups: 'DeleteStoreGroups',
|
|
487
|
+
ViewDeliveryZones: 'ViewDeliveryZones',
|
|
488
|
+
CreateDeliveryZones: 'CreateDeliveryZones',
|
|
489
|
+
UpdateDeliveryZones: 'UpdateDeliveryZones',
|
|
490
|
+
DeleteDeliveryZones: 'DeleteDeliveryZones',
|
|
491
|
+
ViewMenu: 'ViewMenu',
|
|
492
|
+
CreateMenu: 'CreateMenu',
|
|
493
|
+
UpdateMenu: 'UpdateMenu',
|
|
494
|
+
DeleteMenu: 'DeleteMenu',
|
|
495
|
+
UpdateMenuLock: 'UpdateMenuLock',
|
|
496
|
+
UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
|
|
497
|
+
EditMenuImage: 'EditMenuImage',
|
|
498
|
+
ViewVouchers: 'ViewVouchers',
|
|
499
|
+
EditVouchers: 'EditVouchers',
|
|
500
|
+
ViewWebsiteContent: 'ViewWebsiteContent',
|
|
501
|
+
EditWebsiteContent: 'EditWebsiteContent',
|
|
502
|
+
ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
|
|
503
|
+
ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
|
|
504
|
+
ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
|
|
505
|
+
ViewBankAccounts: 'ViewBankAccounts',
|
|
506
|
+
CreateBankAccounts: 'CreateBankAccounts',
|
|
507
|
+
UpdateBankAccounts: 'UpdateBankAccounts',
|
|
508
|
+
UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
|
|
509
|
+
ViewAssignedBankAccount: 'ViewAssignedBankAccount',
|
|
510
|
+
VerifyBankAccounts: 'VerifyBankAccounts',
|
|
511
|
+
ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
|
|
512
|
+
EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
|
|
513
|
+
EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
|
|
514
|
+
EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
|
|
515
|
+
ViewHydraConfig: 'ViewHydraConfig',
|
|
516
|
+
UpdateHydraConfigManage: 'UpdateHydraConfigManage',
|
|
517
|
+
InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
|
|
518
|
+
DeleteTerminal: 'DeleteTerminal',
|
|
519
|
+
ViewKioskTelemetry: 'ViewKioskTelemetry',
|
|
520
|
+
ViewCustomers: 'ViewCustomers',
|
|
521
|
+
EditCustomers: 'EditCustomers',
|
|
522
|
+
CreateCustomers: 'CreateCustomers',
|
|
523
|
+
CreateCatalogElements: 'CreateCatalogElements',
|
|
524
|
+
UpdateCatalogElements: 'UpdateCatalogElements',
|
|
525
|
+
ViewCatalogElements: 'ViewCatalogElements',
|
|
526
|
+
DeleteCatalogElements: 'DeleteCatalogElements',
|
|
527
|
+
ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
|
|
528
|
+
CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
|
|
529
|
+
UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
|
|
530
|
+
DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
|
|
531
|
+
UpdateMetafields: 'UpdateMetafields',
|
|
532
|
+
ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
|
|
533
|
+
PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
|
|
534
|
+
ViewAppStatistics: 'ViewAppStatistics',
|
|
535
|
+
ViewApmStatistics: 'ViewApmStatistics',
|
|
536
|
+
ViewCampaignsStatistics: 'ViewCampaignsStatistics',
|
|
537
|
+
ViewCustomerStatistics: 'ViewCustomerStatistics',
|
|
538
|
+
ViewLiveStatistics: 'ViewLiveStatistics',
|
|
539
|
+
ViewOrderStatistics: 'ViewOrderStatistics',
|
|
540
|
+
ViewSalesStatistics: 'ViewSalesStatistics',
|
|
541
|
+
ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
|
|
542
|
+
ViewVouchersStatistics: 'ViewVouchersStatistics',
|
|
543
|
+
DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
|
|
544
|
+
ViewApmAuditLogs: 'ViewApmAuditLogs',
|
|
545
|
+
ViewStoreAuditLogs: 'ViewStoreAuditLogs',
|
|
546
|
+
ViewMenuAuditLogs: 'ViewMenuAuditLogs',
|
|
547
|
+
ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
|
|
548
|
+
ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
|
|
549
|
+
ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
|
|
550
|
+
ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
|
|
551
|
+
ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
|
|
552
|
+
ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
|
|
553
|
+
ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
|
|
554
|
+
ViewAppAuditLogs: 'ViewAppAuditLogs',
|
|
555
|
+
ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
|
|
556
|
+
ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
|
|
557
|
+
ViewHydraAuditLogs: 'ViewHydraAuditLogs',
|
|
558
|
+
ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
|
|
559
|
+
ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
|
|
560
|
+
ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
|
|
561
|
+
ViewExternalAuditLogs: 'ViewExternalAuditLogs',
|
|
562
|
+
CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
|
|
563
|
+
ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
|
|
564
|
+
ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
|
|
565
|
+
ViewChannelAuditLogs: 'ViewChannelAuditLogs',
|
|
566
|
+
ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
|
|
567
|
+
SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
|
|
568
|
+
InviteDriverToApp: 'InviteDriverToApp',
|
|
569
|
+
GetDriverForApp: 'GetDriverForApp',
|
|
570
|
+
RemoveDriverFromApp: 'RemoveDriverFromApp',
|
|
571
|
+
AssignDriverToOrder: 'AssignDriverToOrder',
|
|
572
|
+
UnassignDriverFromOrder: 'UnassignDriverFromOrder',
|
|
573
|
+
UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
|
|
574
|
+
UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
|
|
575
|
+
ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
|
|
576
|
+
CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
|
|
577
|
+
UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
|
|
578
|
+
DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
|
|
579
|
+
ViewPayouts: 'ViewPayouts',
|
|
580
|
+
ViewChannels: 'ViewChannels',
|
|
581
|
+
ViewOnboarding: 'ViewOnboarding',
|
|
582
|
+
UpdateOnboarding: 'UpdateOnboarding',
|
|
583
|
+
ViewClientDevices: 'ViewClientDevices',
|
|
584
|
+
UpdateClientDevices: 'UpdateClientDevices',
|
|
585
|
+
EnrollClientDevices: 'EnrollClientDevices',
|
|
586
|
+
AssignClientDevices: 'AssignClientDevices',
|
|
587
|
+
ViewClientAuditLogs: 'ViewClientAuditLogs',
|
|
588
|
+
CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
|
|
589
|
+
ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
|
|
590
|
+
UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
|
|
591
|
+
DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
|
|
592
|
+
UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
|
|
593
|
+
CreateAppStoreSubscription: 'CreateAppStoreSubscription',
|
|
594
|
+
UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
|
|
595
|
+
DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
|
|
596
|
+
ViewSalesChannels: 'ViewSalesChannels',
|
|
597
|
+
EditSalesChannels: 'EditSalesChannels',
|
|
598
|
+
CreateSalesChannel: 'CreateSalesChannel',
|
|
599
|
+
ArchiveSalesChannel: 'ArchiveSalesChannel',
|
|
600
|
+
UnarchiveSalesChannel: 'UnarchiveSalesChannel',
|
|
601
|
+
PublishSalesChannel: 'PublishSalesChannel',
|
|
602
|
+
UnpublishSalesChannel: 'UnpublishSalesChannel',
|
|
603
|
+
CloneSalesChannel: 'CloneSalesChannel',
|
|
604
|
+
ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
|
|
605
|
+
CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
|
|
606
|
+
UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
|
|
607
|
+
UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
|
|
608
|
+
ViewSubscriptions: 'ViewSubscriptions',
|
|
609
|
+
ViewInvoices: 'ViewInvoices',
|
|
610
|
+
EditAccountsBills: 'EditAccountsBills',
|
|
611
|
+
ViewAccountsBills: 'ViewAccountsBills',
|
|
612
|
+
EditAccountsCategories: 'EditAccountsCategories',
|
|
613
|
+
ViewAccountsCategories: 'ViewAccountsCategories',
|
|
614
|
+
EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
|
|
615
|
+
ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
|
|
616
|
+
EditAccountsCreditBooks: 'EditAccountsCreditBooks',
|
|
617
|
+
ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
|
|
618
|
+
EditAccountsExpenses: 'EditAccountsExpenses',
|
|
619
|
+
ViewAccountsExpenses: 'ViewAccountsExpenses',
|
|
620
|
+
EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
|
|
621
|
+
ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
|
|
622
|
+
EditDocumentExplorer: 'EditDocumentExplorer',
|
|
623
|
+
ViewDocumentExplorer: 'ViewDocumentExplorer',
|
|
624
|
+
ViewInventoryReports: 'ViewInventoryReports',
|
|
625
|
+
EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
|
|
626
|
+
ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
|
|
627
|
+
EditInventoryStockItems: 'EditInventoryStockItems',
|
|
628
|
+
ViewInventoryStockItems: 'ViewInventoryStockItems',
|
|
629
|
+
EditInventorySupplier: 'EditInventorySupplier',
|
|
630
|
+
ViewInventorySupplier: 'ViewInventorySupplier',
|
|
631
|
+
EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
|
|
632
|
+
ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
|
|
633
|
+
ViewPayrollReports: 'ViewPayrollReports',
|
|
634
|
+
EditPayrollHoliday: 'EditPayrollHoliday',
|
|
635
|
+
ViewPayrollHoliday: 'ViewPayrollHoliday',
|
|
636
|
+
EditPayrollRota: 'EditPayrollRota',
|
|
637
|
+
ViewPayrollRota: 'ViewPayrollRota',
|
|
638
|
+
EditPayrollStaff: 'EditPayrollStaff',
|
|
639
|
+
ViewPayrollStaff: 'ViewPayrollStaff',
|
|
640
|
+
ViewSalesReports: 'ViewSalesReports',
|
|
641
|
+
ViewCostReports: 'ViewCostReports',
|
|
642
|
+
ViewMenuReports: 'ViewMenuReports',
|
|
643
|
+
ViewBrand: 'ViewBrand',
|
|
644
|
+
EditBrand: 'EditBrand',
|
|
645
|
+
CreateBrand: 'CreateBrand',
|
|
646
|
+
TransferBrand: 'TransferBrand',
|
|
647
|
+
ViewProperty: 'ViewProperty',
|
|
648
|
+
EditProperty: 'EditProperty',
|
|
649
|
+
CreateProperty: 'CreateProperty',
|
|
650
|
+
ArchiveProperty: 'ArchiveProperty',
|
|
651
|
+
ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
|
|
652
|
+
EditEntityFeatureFlags: 'EditEntityFeatureFlags',
|
|
653
|
+
CreateOrg: 'CreateOrg',
|
|
654
|
+
EditOrg: 'EditOrg',
|
|
655
|
+
ViewOrg: 'ViewOrg',
|
|
656
|
+
ViewWebhooks: 'ViewWebhooks',
|
|
657
|
+
EditWebhooks: 'EditWebhooks',
|
|
658
|
+
RoleAdmin: 'RoleAdmin',
|
|
659
|
+
RoleFactory: 'RoleFactory'
|
|
660
|
+
};
|
|
192
661
|
exports.GetAuthorizedBrandsRequestActionEnum = {
|
|
193
662
|
AnyAuditLogs: 'AnyAuditLogs',
|
|
194
663
|
ViewApp: 'ViewApp',
|
|
@@ -1224,16 +1693,7 @@ exports.ListOrgRolesSuccessResponseValueValueRolesEnum = {
|
|
|
1224
1693
|
FinanceManagerMisc: 'FinanceManagerMisc',
|
|
1225
1694
|
SupportMisc: 'SupportMisc'
|
|
1226
1695
|
};
|
|
1227
|
-
exports.
|
|
1228
|
-
Admin: 'Admin',
|
|
1229
|
-
Factory: 'Factory'
|
|
1230
|
-
};
|
|
1231
|
-
/**
|
|
1232
|
-
*
|
|
1233
|
-
* @export
|
|
1234
|
-
* @enum {string}
|
|
1235
|
-
*/
|
|
1236
|
-
exports.Permissions = {
|
|
1696
|
+
exports.ListPermissionsSuccessResponsePermissionsEnum = {
|
|
1237
1697
|
AnyAuditLogs: 'AnyAuditLogs',
|
|
1238
1698
|
ViewApp: 'ViewApp',
|
|
1239
1699
|
CreateApp: 'CreateApp',
|
|
@@ -1463,6 +1923,10 @@ exports.Permissions = {
|
|
|
1463
1923
|
RoleAdmin: 'RoleAdmin',
|
|
1464
1924
|
RoleFactory: 'RoleFactory'
|
|
1465
1925
|
};
|
|
1926
|
+
exports.ListRolesSuccessResponseRolesEnum = {
|
|
1927
|
+
Admin: 'Admin',
|
|
1928
|
+
Factory: 'Factory'
|
|
1929
|
+
};
|
|
1466
1930
|
exports.RevokeForbiddenRoleRequestBodyCompensatingRoleEnum = {
|
|
1467
1931
|
OwnerCompensating: 'OwnerCompensating',
|
|
1468
1932
|
PropertyOwnerCompensating: 'PropertyOwnerCompensating',
|
|
@@ -3120,7 +3584,7 @@ var RoleAssignmentApiAxiosParamCreator = function (configuration) {
|
|
|
3120
3584
|
if (configuration) {
|
|
3121
3585
|
baseOptions = configuration.baseOptions;
|
|
3122
3586
|
}
|
|
3123
|
-
localVarRequestOptions = __assign(__assign({ method: '
|
|
3587
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
3124
3588
|
localVarHeaderParameter = {};
|
|
3125
3589
|
localVarQueryParameter = {};
|
|
3126
3590
|
// authentication ApiKeyAuth required
|
|
@@ -3466,6 +3930,140 @@ var RoleAssignmentApi = /** @class */ (function (_super) {
|
|
|
3466
3930
|
return RoleAssignmentApi;
|
|
3467
3931
|
}(base_1.BaseAPI));
|
|
3468
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;
|
|
3469
4067
|
/**
|
|
3470
4068
|
* UserPermissionsApi - axios parameter creator
|
|
3471
4069
|
* @export
|