@flipdish/authorization 0.2.6 → 0.2.7-rc.1763978242
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/.openapi-generator/FILES +1 -0
- package/api.ts +1160 -0
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1018 -0
- package/dist/api.js +1014 -1
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -84,7 +84,7 @@ 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.ListOrgRolesSuccessResponseValueValueRolesEnum = exports.ListOrgRolesSuccessResponseValueValueResourceTypeEnum = exports.GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum = exports.GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum = exports.AuthorizationRequestResourceOneOf3TypeEnum = exports.AuthorizationRequestResourceOneOf2TypeEnum = exports.AuthorizationRequestResourceOneOf1TypeEnum = exports.AuthorizationRequestResourceOneOfTypeEnum = exports.AuthorizationRequestPrincipalTypeEnum = exports.AssignRoleRequestBodyRoleEnum = void 0;
|
|
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.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.Permissions = exports.ListOrgRolesSuccessResponseValueValueRolesEnum = exports.ListOrgRolesSuccessResponseValueValueResourceTypeEnum = exports.GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum = exports.GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum = exports.GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum = exports.GetAuthorizedPropertiesRequestActionEnum = exports.GetAuthorizedOrgsRequestPrincipalTypeEnum = exports.GetAuthorizedOrgsRequestActionEnum = exports.GetAuthorizedBrandsRequestActionEnum = exports.AuthorizationRequestResourceOneOf3TypeEnum = exports.AuthorizationRequestResourceOneOf2TypeEnum = exports.AuthorizationRequestResourceOneOf1TypeEnum = exports.AuthorizationRequestResourceOneOfTypeEnum = exports.AuthorizationRequestPrincipalTypeEnum = exports.AssignRoleRequestBodyRoleEnum = void 0;
|
|
88
88
|
var axios_1 = require("axios");
|
|
89
89
|
// Some imports not used depending on template conditions
|
|
90
90
|
// @ts-ignore
|
|
@@ -181,6 +181,694 @@ exports.AuthorizationRequestResourceOneOf2TypeEnum = {
|
|
|
181
181
|
exports.AuthorizationRequestResourceOneOf3TypeEnum = {
|
|
182
182
|
SalesChannel: 'SalesChannel'
|
|
183
183
|
};
|
|
184
|
+
exports.GetAuthorizedBrandsRequestActionEnum = {
|
|
185
|
+
AnyAuditLogs: 'AnyAuditLogs',
|
|
186
|
+
ViewApp: 'ViewApp',
|
|
187
|
+
CreateApp: 'CreateApp',
|
|
188
|
+
UpdateApp: 'UpdateApp',
|
|
189
|
+
ViewAppName: 'ViewAppName',
|
|
190
|
+
EditAppAssets: 'EditAppAssets',
|
|
191
|
+
EditAppFeatures: 'EditAppFeatures',
|
|
192
|
+
ViewTeammates: 'ViewTeammates',
|
|
193
|
+
EditTeammates: 'EditTeammates',
|
|
194
|
+
CreateTeammateOwner: 'CreateTeammateOwner',
|
|
195
|
+
CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
|
|
196
|
+
CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
|
|
197
|
+
CreateTeammateStoreManager: 'CreateTeammateStoreManager',
|
|
198
|
+
CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
|
|
199
|
+
CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
|
|
200
|
+
CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
|
|
201
|
+
CreateTeammateIntegrator: 'CreateTeammateIntegrator',
|
|
202
|
+
CreateTeammateOnboarding: 'CreateTeammateOnboarding',
|
|
203
|
+
CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
|
|
204
|
+
CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
|
|
205
|
+
ViewApmConfigurations: 'ViewApmConfigurations',
|
|
206
|
+
EditApmConfigurations: 'EditApmConfigurations',
|
|
207
|
+
ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
|
|
208
|
+
CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
|
|
209
|
+
UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
|
|
210
|
+
DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
|
|
211
|
+
StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
|
|
212
|
+
ViewDevelopersSettings: 'ViewDevelopersSettings',
|
|
213
|
+
EditDevelopersSettings: 'EditDevelopersSettings',
|
|
214
|
+
ViewOrders: 'ViewOrders',
|
|
215
|
+
UpdateOrdersAccept: 'UpdateOrdersAccept',
|
|
216
|
+
UpdateOrdersReject: 'UpdateOrdersReject',
|
|
217
|
+
UpdateOrdersRefund: 'UpdateOrdersRefund',
|
|
218
|
+
UpdateOrdersDispatch: 'UpdateOrdersDispatch',
|
|
219
|
+
ViewStores: 'ViewStores',
|
|
220
|
+
CreateStores: 'CreateStores',
|
|
221
|
+
EditStores: 'EditStores',
|
|
222
|
+
ViewStoresOpeningHours: 'ViewStoresOpeningHours',
|
|
223
|
+
UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
|
|
224
|
+
UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
|
|
225
|
+
ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
|
|
226
|
+
EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
|
|
227
|
+
EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
|
|
228
|
+
UpdateStoresName: 'UpdateStoresName',
|
|
229
|
+
EditStoreKioskSettings: 'EditStoreKioskSettings',
|
|
230
|
+
EditStoreOrderCapacity: 'EditStoreOrderCapacity',
|
|
231
|
+
EditStoreNotifications: 'EditStoreNotifications',
|
|
232
|
+
ArchiveStores: 'ArchiveStores',
|
|
233
|
+
PublishStores: 'PublishStores',
|
|
234
|
+
UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
|
|
235
|
+
UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
|
|
236
|
+
ViewStoreGroups: 'ViewStoreGroups',
|
|
237
|
+
CreateStoreGroups: 'CreateStoreGroups',
|
|
238
|
+
UpdateStoreGroups: 'UpdateStoreGroups',
|
|
239
|
+
DeleteStoreGroups: 'DeleteStoreGroups',
|
|
240
|
+
ViewDeliveryZones: 'ViewDeliveryZones',
|
|
241
|
+
CreateDeliveryZones: 'CreateDeliveryZones',
|
|
242
|
+
UpdateDeliveryZones: 'UpdateDeliveryZones',
|
|
243
|
+
DeleteDeliveryZones: 'DeleteDeliveryZones',
|
|
244
|
+
ViewMenu: 'ViewMenu',
|
|
245
|
+
CreateMenu: 'CreateMenu',
|
|
246
|
+
UpdateMenu: 'UpdateMenu',
|
|
247
|
+
DeleteMenu: 'DeleteMenu',
|
|
248
|
+
UpdateMenuLock: 'UpdateMenuLock',
|
|
249
|
+
UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
|
|
250
|
+
EditMenuImage: 'EditMenuImage',
|
|
251
|
+
ViewVouchers: 'ViewVouchers',
|
|
252
|
+
EditVouchers: 'EditVouchers',
|
|
253
|
+
ViewWebsiteContent: 'ViewWebsiteContent',
|
|
254
|
+
EditWebsiteContent: 'EditWebsiteContent',
|
|
255
|
+
ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
|
|
256
|
+
ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
|
|
257
|
+
ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
|
|
258
|
+
ViewBankAccounts: 'ViewBankAccounts',
|
|
259
|
+
CreateBankAccounts: 'CreateBankAccounts',
|
|
260
|
+
UpdateBankAccounts: 'UpdateBankAccounts',
|
|
261
|
+
UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
|
|
262
|
+
ViewAssignedBankAccount: 'ViewAssignedBankAccount',
|
|
263
|
+
VerifyBankAccounts: 'VerifyBankAccounts',
|
|
264
|
+
ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
|
|
265
|
+
EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
|
|
266
|
+
EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
|
|
267
|
+
EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
|
|
268
|
+
ViewHydraConfig: 'ViewHydraConfig',
|
|
269
|
+
UpdateHydraConfigManage: 'UpdateHydraConfigManage',
|
|
270
|
+
InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
|
|
271
|
+
DeleteTerminal: 'DeleteTerminal',
|
|
272
|
+
ViewKioskTelemetry: 'ViewKioskTelemetry',
|
|
273
|
+
ViewCustomers: 'ViewCustomers',
|
|
274
|
+
EditCustomers: 'EditCustomers',
|
|
275
|
+
CreateCustomers: 'CreateCustomers',
|
|
276
|
+
CreateCatalogElements: 'CreateCatalogElements',
|
|
277
|
+
UpdateCatalogElements: 'UpdateCatalogElements',
|
|
278
|
+
ViewCatalogElements: 'ViewCatalogElements',
|
|
279
|
+
DeleteCatalogElements: 'DeleteCatalogElements',
|
|
280
|
+
ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
|
|
281
|
+
CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
|
|
282
|
+
UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
|
|
283
|
+
DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
|
|
284
|
+
UpdateMetafields: 'UpdateMetafields',
|
|
285
|
+
ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
|
|
286
|
+
PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
|
|
287
|
+
ViewAppStatistics: 'ViewAppStatistics',
|
|
288
|
+
ViewApmStatistics: 'ViewApmStatistics',
|
|
289
|
+
ViewCampaignsStatistics: 'ViewCampaignsStatistics',
|
|
290
|
+
ViewCustomerStatistics: 'ViewCustomerStatistics',
|
|
291
|
+
ViewLiveStatistics: 'ViewLiveStatistics',
|
|
292
|
+
ViewOrderStatistics: 'ViewOrderStatistics',
|
|
293
|
+
ViewSalesStatistics: 'ViewSalesStatistics',
|
|
294
|
+
ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
|
|
295
|
+
ViewVouchersStatistics: 'ViewVouchersStatistics',
|
|
296
|
+
DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
|
|
297
|
+
ViewApmAuditLogs: 'ViewApmAuditLogs',
|
|
298
|
+
ViewStoreAuditLogs: 'ViewStoreAuditLogs',
|
|
299
|
+
ViewMenuAuditLogs: 'ViewMenuAuditLogs',
|
|
300
|
+
ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
|
|
301
|
+
ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
|
|
302
|
+
ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
|
|
303
|
+
ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
|
|
304
|
+
ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
|
|
305
|
+
ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
|
|
306
|
+
ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
|
|
307
|
+
ViewAppAuditLogs: 'ViewAppAuditLogs',
|
|
308
|
+
ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
|
|
309
|
+
ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
|
|
310
|
+
ViewHydraAuditLogs: 'ViewHydraAuditLogs',
|
|
311
|
+
ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
|
|
312
|
+
ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
|
|
313
|
+
ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
|
|
314
|
+
ViewExternalAuditLogs: 'ViewExternalAuditLogs',
|
|
315
|
+
CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
|
|
316
|
+
ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
|
|
317
|
+
ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
|
|
318
|
+
ViewChannelAuditLogs: 'ViewChannelAuditLogs',
|
|
319
|
+
ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
|
|
320
|
+
SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
|
|
321
|
+
InviteDriverToApp: 'InviteDriverToApp',
|
|
322
|
+
GetDriverForApp: 'GetDriverForApp',
|
|
323
|
+
RemoveDriverFromApp: 'RemoveDriverFromApp',
|
|
324
|
+
AssignDriverToOrder: 'AssignDriverToOrder',
|
|
325
|
+
UnassignDriverFromOrder: 'UnassignDriverFromOrder',
|
|
326
|
+
UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
|
|
327
|
+
UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
|
|
328
|
+
ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
|
|
329
|
+
CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
|
|
330
|
+
UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
|
|
331
|
+
DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
|
|
332
|
+
ViewPayouts: 'ViewPayouts',
|
|
333
|
+
ViewChannels: 'ViewChannels',
|
|
334
|
+
ViewOnboarding: 'ViewOnboarding',
|
|
335
|
+
UpdateOnboarding: 'UpdateOnboarding',
|
|
336
|
+
ViewClientDevices: 'ViewClientDevices',
|
|
337
|
+
UpdateClientDevices: 'UpdateClientDevices',
|
|
338
|
+
EnrollClientDevices: 'EnrollClientDevices',
|
|
339
|
+
AssignClientDevices: 'AssignClientDevices',
|
|
340
|
+
ViewClientAuditLogs: 'ViewClientAuditLogs',
|
|
341
|
+
CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
|
|
342
|
+
ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
|
|
343
|
+
UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
|
|
344
|
+
DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
|
|
345
|
+
UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
|
|
346
|
+
CreateAppStoreSubscription: 'CreateAppStoreSubscription',
|
|
347
|
+
UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
|
|
348
|
+
DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
|
|
349
|
+
ViewSalesChannels: 'ViewSalesChannels',
|
|
350
|
+
EditSalesChannels: 'EditSalesChannels',
|
|
351
|
+
CreateSalesChannel: 'CreateSalesChannel',
|
|
352
|
+
ArchiveSalesChannel: 'ArchiveSalesChannel',
|
|
353
|
+
UnarchiveSalesChannel: 'UnarchiveSalesChannel',
|
|
354
|
+
PublishSalesChannel: 'PublishSalesChannel',
|
|
355
|
+
UnpublishSalesChannel: 'UnpublishSalesChannel',
|
|
356
|
+
CloneSalesChannel: 'CloneSalesChannel',
|
|
357
|
+
ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
|
|
358
|
+
CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
|
|
359
|
+
UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
|
|
360
|
+
UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
|
|
361
|
+
ViewSubscriptions: 'ViewSubscriptions',
|
|
362
|
+
ViewInvoices: 'ViewInvoices',
|
|
363
|
+
EditAccountsBills: 'EditAccountsBills',
|
|
364
|
+
ViewAccountsBills: 'ViewAccountsBills',
|
|
365
|
+
EditAccountsCategories: 'EditAccountsCategories',
|
|
366
|
+
ViewAccountsCategories: 'ViewAccountsCategories',
|
|
367
|
+
EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
|
|
368
|
+
ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
|
|
369
|
+
EditAccountsCreditBooks: 'EditAccountsCreditBooks',
|
|
370
|
+
ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
|
|
371
|
+
EditAccountsExpenses: 'EditAccountsExpenses',
|
|
372
|
+
ViewAccountsExpenses: 'ViewAccountsExpenses',
|
|
373
|
+
EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
|
|
374
|
+
ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
|
|
375
|
+
EditDocumentExplorer: 'EditDocumentExplorer',
|
|
376
|
+
ViewDocumentExplorer: 'ViewDocumentExplorer',
|
|
377
|
+
ViewInventoryReports: 'ViewInventoryReports',
|
|
378
|
+
EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
|
|
379
|
+
ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
|
|
380
|
+
EditInventoryStockItems: 'EditInventoryStockItems',
|
|
381
|
+
ViewInventoryStockItems: 'ViewInventoryStockItems',
|
|
382
|
+
EditInventorySupplier: 'EditInventorySupplier',
|
|
383
|
+
ViewInventorySupplier: 'ViewInventorySupplier',
|
|
384
|
+
EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
|
|
385
|
+
ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
|
|
386
|
+
ViewPayrollReports: 'ViewPayrollReports',
|
|
387
|
+
EditPayrollHoliday: 'EditPayrollHoliday',
|
|
388
|
+
ViewPayrollHoliday: 'ViewPayrollHoliday',
|
|
389
|
+
EditPayrollRota: 'EditPayrollRota',
|
|
390
|
+
ViewPayrollRota: 'ViewPayrollRota',
|
|
391
|
+
EditPayrollStaff: 'EditPayrollStaff',
|
|
392
|
+
ViewPayrollStaff: 'ViewPayrollStaff',
|
|
393
|
+
ViewSalesReports: 'ViewSalesReports',
|
|
394
|
+
ViewCostReports: 'ViewCostReports',
|
|
395
|
+
ViewMenuReports: 'ViewMenuReports',
|
|
396
|
+
ViewBrand: 'ViewBrand',
|
|
397
|
+
EditBrand: 'EditBrand',
|
|
398
|
+
CreateBrand: 'CreateBrand',
|
|
399
|
+
TransferBrand: 'TransferBrand',
|
|
400
|
+
ViewProperty: 'ViewProperty',
|
|
401
|
+
EditProperty: 'EditProperty',
|
|
402
|
+
CreateProperty: 'CreateProperty',
|
|
403
|
+
ArchiveProperty: 'ArchiveProperty',
|
|
404
|
+
ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
|
|
405
|
+
EditEntityFeatureFlags: 'EditEntityFeatureFlags',
|
|
406
|
+
CreateOrg: 'CreateOrg',
|
|
407
|
+
EditOrg: 'EditOrg',
|
|
408
|
+
ViewOrg: 'ViewOrg',
|
|
409
|
+
ViewWebhooks: 'ViewWebhooks',
|
|
410
|
+
EditWebhooks: 'EditWebhooks'
|
|
411
|
+
};
|
|
412
|
+
exports.GetAuthorizedOrgsRequestActionEnum = {
|
|
413
|
+
AnyAuditLogs: 'AnyAuditLogs',
|
|
414
|
+
ViewApp: 'ViewApp',
|
|
415
|
+
CreateApp: 'CreateApp',
|
|
416
|
+
UpdateApp: 'UpdateApp',
|
|
417
|
+
ViewAppName: 'ViewAppName',
|
|
418
|
+
EditAppAssets: 'EditAppAssets',
|
|
419
|
+
EditAppFeatures: 'EditAppFeatures',
|
|
420
|
+
ViewTeammates: 'ViewTeammates',
|
|
421
|
+
EditTeammates: 'EditTeammates',
|
|
422
|
+
CreateTeammateOwner: 'CreateTeammateOwner',
|
|
423
|
+
CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
|
|
424
|
+
CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
|
|
425
|
+
CreateTeammateStoreManager: 'CreateTeammateStoreManager',
|
|
426
|
+
CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
|
|
427
|
+
CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
|
|
428
|
+
CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
|
|
429
|
+
CreateTeammateIntegrator: 'CreateTeammateIntegrator',
|
|
430
|
+
CreateTeammateOnboarding: 'CreateTeammateOnboarding',
|
|
431
|
+
CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
|
|
432
|
+
CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
|
|
433
|
+
ViewApmConfigurations: 'ViewApmConfigurations',
|
|
434
|
+
EditApmConfigurations: 'EditApmConfigurations',
|
|
435
|
+
ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
|
|
436
|
+
CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
|
|
437
|
+
UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
|
|
438
|
+
DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
|
|
439
|
+
StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
|
|
440
|
+
ViewDevelopersSettings: 'ViewDevelopersSettings',
|
|
441
|
+
EditDevelopersSettings: 'EditDevelopersSettings',
|
|
442
|
+
ViewOrders: 'ViewOrders',
|
|
443
|
+
UpdateOrdersAccept: 'UpdateOrdersAccept',
|
|
444
|
+
UpdateOrdersReject: 'UpdateOrdersReject',
|
|
445
|
+
UpdateOrdersRefund: 'UpdateOrdersRefund',
|
|
446
|
+
UpdateOrdersDispatch: 'UpdateOrdersDispatch',
|
|
447
|
+
ViewStores: 'ViewStores',
|
|
448
|
+
CreateStores: 'CreateStores',
|
|
449
|
+
EditStores: 'EditStores',
|
|
450
|
+
ViewStoresOpeningHours: 'ViewStoresOpeningHours',
|
|
451
|
+
UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
|
|
452
|
+
UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
|
|
453
|
+
ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
|
|
454
|
+
EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
|
|
455
|
+
EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
|
|
456
|
+
UpdateStoresName: 'UpdateStoresName',
|
|
457
|
+
EditStoreKioskSettings: 'EditStoreKioskSettings',
|
|
458
|
+
EditStoreOrderCapacity: 'EditStoreOrderCapacity',
|
|
459
|
+
EditStoreNotifications: 'EditStoreNotifications',
|
|
460
|
+
ArchiveStores: 'ArchiveStores',
|
|
461
|
+
PublishStores: 'PublishStores',
|
|
462
|
+
UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
|
|
463
|
+
UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
|
|
464
|
+
ViewStoreGroups: 'ViewStoreGroups',
|
|
465
|
+
CreateStoreGroups: 'CreateStoreGroups',
|
|
466
|
+
UpdateStoreGroups: 'UpdateStoreGroups',
|
|
467
|
+
DeleteStoreGroups: 'DeleteStoreGroups',
|
|
468
|
+
ViewDeliveryZones: 'ViewDeliveryZones',
|
|
469
|
+
CreateDeliveryZones: 'CreateDeliveryZones',
|
|
470
|
+
UpdateDeliveryZones: 'UpdateDeliveryZones',
|
|
471
|
+
DeleteDeliveryZones: 'DeleteDeliveryZones',
|
|
472
|
+
ViewMenu: 'ViewMenu',
|
|
473
|
+
CreateMenu: 'CreateMenu',
|
|
474
|
+
UpdateMenu: 'UpdateMenu',
|
|
475
|
+
DeleteMenu: 'DeleteMenu',
|
|
476
|
+
UpdateMenuLock: 'UpdateMenuLock',
|
|
477
|
+
UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
|
|
478
|
+
EditMenuImage: 'EditMenuImage',
|
|
479
|
+
ViewVouchers: 'ViewVouchers',
|
|
480
|
+
EditVouchers: 'EditVouchers',
|
|
481
|
+
ViewWebsiteContent: 'ViewWebsiteContent',
|
|
482
|
+
EditWebsiteContent: 'EditWebsiteContent',
|
|
483
|
+
ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
|
|
484
|
+
ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
|
|
485
|
+
ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
|
|
486
|
+
ViewBankAccounts: 'ViewBankAccounts',
|
|
487
|
+
CreateBankAccounts: 'CreateBankAccounts',
|
|
488
|
+
UpdateBankAccounts: 'UpdateBankAccounts',
|
|
489
|
+
UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
|
|
490
|
+
ViewAssignedBankAccount: 'ViewAssignedBankAccount',
|
|
491
|
+
VerifyBankAccounts: 'VerifyBankAccounts',
|
|
492
|
+
ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
|
|
493
|
+
EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
|
|
494
|
+
EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
|
|
495
|
+
EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
|
|
496
|
+
ViewHydraConfig: 'ViewHydraConfig',
|
|
497
|
+
UpdateHydraConfigManage: 'UpdateHydraConfigManage',
|
|
498
|
+
InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
|
|
499
|
+
DeleteTerminal: 'DeleteTerminal',
|
|
500
|
+
ViewKioskTelemetry: 'ViewKioskTelemetry',
|
|
501
|
+
ViewCustomers: 'ViewCustomers',
|
|
502
|
+
EditCustomers: 'EditCustomers',
|
|
503
|
+
CreateCustomers: 'CreateCustomers',
|
|
504
|
+
CreateCatalogElements: 'CreateCatalogElements',
|
|
505
|
+
UpdateCatalogElements: 'UpdateCatalogElements',
|
|
506
|
+
ViewCatalogElements: 'ViewCatalogElements',
|
|
507
|
+
DeleteCatalogElements: 'DeleteCatalogElements',
|
|
508
|
+
ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
|
|
509
|
+
CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
|
|
510
|
+
UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
|
|
511
|
+
DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
|
|
512
|
+
UpdateMetafields: 'UpdateMetafields',
|
|
513
|
+
ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
|
|
514
|
+
PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
|
|
515
|
+
ViewAppStatistics: 'ViewAppStatistics',
|
|
516
|
+
ViewApmStatistics: 'ViewApmStatistics',
|
|
517
|
+
ViewCampaignsStatistics: 'ViewCampaignsStatistics',
|
|
518
|
+
ViewCustomerStatistics: 'ViewCustomerStatistics',
|
|
519
|
+
ViewLiveStatistics: 'ViewLiveStatistics',
|
|
520
|
+
ViewOrderStatistics: 'ViewOrderStatistics',
|
|
521
|
+
ViewSalesStatistics: 'ViewSalesStatistics',
|
|
522
|
+
ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
|
|
523
|
+
ViewVouchersStatistics: 'ViewVouchersStatistics',
|
|
524
|
+
DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
|
|
525
|
+
ViewApmAuditLogs: 'ViewApmAuditLogs',
|
|
526
|
+
ViewStoreAuditLogs: 'ViewStoreAuditLogs',
|
|
527
|
+
ViewMenuAuditLogs: 'ViewMenuAuditLogs',
|
|
528
|
+
ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
|
|
529
|
+
ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
|
|
530
|
+
ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
|
|
531
|
+
ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
|
|
532
|
+
ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
|
|
533
|
+
ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
|
|
534
|
+
ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
|
|
535
|
+
ViewAppAuditLogs: 'ViewAppAuditLogs',
|
|
536
|
+
ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
|
|
537
|
+
ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
|
|
538
|
+
ViewHydraAuditLogs: 'ViewHydraAuditLogs',
|
|
539
|
+
ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
|
|
540
|
+
ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
|
|
541
|
+
ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
|
|
542
|
+
ViewExternalAuditLogs: 'ViewExternalAuditLogs',
|
|
543
|
+
CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
|
|
544
|
+
ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
|
|
545
|
+
ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
|
|
546
|
+
ViewChannelAuditLogs: 'ViewChannelAuditLogs',
|
|
547
|
+
ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
|
|
548
|
+
SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
|
|
549
|
+
InviteDriverToApp: 'InviteDriverToApp',
|
|
550
|
+
GetDriverForApp: 'GetDriverForApp',
|
|
551
|
+
RemoveDriverFromApp: 'RemoveDriverFromApp',
|
|
552
|
+
AssignDriverToOrder: 'AssignDriverToOrder',
|
|
553
|
+
UnassignDriverFromOrder: 'UnassignDriverFromOrder',
|
|
554
|
+
UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
|
|
555
|
+
UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
|
|
556
|
+
ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
|
|
557
|
+
CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
|
|
558
|
+
UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
|
|
559
|
+
DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
|
|
560
|
+
ViewPayouts: 'ViewPayouts',
|
|
561
|
+
ViewChannels: 'ViewChannels',
|
|
562
|
+
ViewOnboarding: 'ViewOnboarding',
|
|
563
|
+
UpdateOnboarding: 'UpdateOnboarding',
|
|
564
|
+
ViewClientDevices: 'ViewClientDevices',
|
|
565
|
+
UpdateClientDevices: 'UpdateClientDevices',
|
|
566
|
+
EnrollClientDevices: 'EnrollClientDevices',
|
|
567
|
+
AssignClientDevices: 'AssignClientDevices',
|
|
568
|
+
ViewClientAuditLogs: 'ViewClientAuditLogs',
|
|
569
|
+
CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
|
|
570
|
+
ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
|
|
571
|
+
UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
|
|
572
|
+
DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
|
|
573
|
+
UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
|
|
574
|
+
CreateAppStoreSubscription: 'CreateAppStoreSubscription',
|
|
575
|
+
UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
|
|
576
|
+
DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
|
|
577
|
+
ViewSalesChannels: 'ViewSalesChannels',
|
|
578
|
+
EditSalesChannels: 'EditSalesChannels',
|
|
579
|
+
CreateSalesChannel: 'CreateSalesChannel',
|
|
580
|
+
ArchiveSalesChannel: 'ArchiveSalesChannel',
|
|
581
|
+
UnarchiveSalesChannel: 'UnarchiveSalesChannel',
|
|
582
|
+
PublishSalesChannel: 'PublishSalesChannel',
|
|
583
|
+
UnpublishSalesChannel: 'UnpublishSalesChannel',
|
|
584
|
+
CloneSalesChannel: 'CloneSalesChannel',
|
|
585
|
+
ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
|
|
586
|
+
CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
|
|
587
|
+
UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
|
|
588
|
+
UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
|
|
589
|
+
ViewSubscriptions: 'ViewSubscriptions',
|
|
590
|
+
ViewInvoices: 'ViewInvoices',
|
|
591
|
+
EditAccountsBills: 'EditAccountsBills',
|
|
592
|
+
ViewAccountsBills: 'ViewAccountsBills',
|
|
593
|
+
EditAccountsCategories: 'EditAccountsCategories',
|
|
594
|
+
ViewAccountsCategories: 'ViewAccountsCategories',
|
|
595
|
+
EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
|
|
596
|
+
ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
|
|
597
|
+
EditAccountsCreditBooks: 'EditAccountsCreditBooks',
|
|
598
|
+
ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
|
|
599
|
+
EditAccountsExpenses: 'EditAccountsExpenses',
|
|
600
|
+
ViewAccountsExpenses: 'ViewAccountsExpenses',
|
|
601
|
+
EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
|
|
602
|
+
ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
|
|
603
|
+
EditDocumentExplorer: 'EditDocumentExplorer',
|
|
604
|
+
ViewDocumentExplorer: 'ViewDocumentExplorer',
|
|
605
|
+
ViewInventoryReports: 'ViewInventoryReports',
|
|
606
|
+
EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
|
|
607
|
+
ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
|
|
608
|
+
EditInventoryStockItems: 'EditInventoryStockItems',
|
|
609
|
+
ViewInventoryStockItems: 'ViewInventoryStockItems',
|
|
610
|
+
EditInventorySupplier: 'EditInventorySupplier',
|
|
611
|
+
ViewInventorySupplier: 'ViewInventorySupplier',
|
|
612
|
+
EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
|
|
613
|
+
ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
|
|
614
|
+
ViewPayrollReports: 'ViewPayrollReports',
|
|
615
|
+
EditPayrollHoliday: 'EditPayrollHoliday',
|
|
616
|
+
ViewPayrollHoliday: 'ViewPayrollHoliday',
|
|
617
|
+
EditPayrollRota: 'EditPayrollRota',
|
|
618
|
+
ViewPayrollRota: 'ViewPayrollRota',
|
|
619
|
+
EditPayrollStaff: 'EditPayrollStaff',
|
|
620
|
+
ViewPayrollStaff: 'ViewPayrollStaff',
|
|
621
|
+
ViewSalesReports: 'ViewSalesReports',
|
|
622
|
+
ViewCostReports: 'ViewCostReports',
|
|
623
|
+
ViewMenuReports: 'ViewMenuReports',
|
|
624
|
+
ViewBrand: 'ViewBrand',
|
|
625
|
+
EditBrand: 'EditBrand',
|
|
626
|
+
CreateBrand: 'CreateBrand',
|
|
627
|
+
TransferBrand: 'TransferBrand',
|
|
628
|
+
ViewProperty: 'ViewProperty',
|
|
629
|
+
EditProperty: 'EditProperty',
|
|
630
|
+
CreateProperty: 'CreateProperty',
|
|
631
|
+
ArchiveProperty: 'ArchiveProperty',
|
|
632
|
+
ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
|
|
633
|
+
EditEntityFeatureFlags: 'EditEntityFeatureFlags',
|
|
634
|
+
CreateOrg: 'CreateOrg',
|
|
635
|
+
EditOrg: 'EditOrg',
|
|
636
|
+
ViewOrg: 'ViewOrg',
|
|
637
|
+
ViewWebhooks: 'ViewWebhooks',
|
|
638
|
+
EditWebhooks: 'EditWebhooks'
|
|
639
|
+
};
|
|
640
|
+
exports.GetAuthorizedOrgsRequestPrincipalTypeEnum = {
|
|
641
|
+
User: 'User',
|
|
642
|
+
Automation: 'Automation'
|
|
643
|
+
};
|
|
644
|
+
exports.GetAuthorizedPropertiesRequestActionEnum = {
|
|
645
|
+
AnyAuditLogs: 'AnyAuditLogs',
|
|
646
|
+
ViewApp: 'ViewApp',
|
|
647
|
+
CreateApp: 'CreateApp',
|
|
648
|
+
UpdateApp: 'UpdateApp',
|
|
649
|
+
ViewAppName: 'ViewAppName',
|
|
650
|
+
EditAppAssets: 'EditAppAssets',
|
|
651
|
+
EditAppFeatures: 'EditAppFeatures',
|
|
652
|
+
ViewTeammates: 'ViewTeammates',
|
|
653
|
+
EditTeammates: 'EditTeammates',
|
|
654
|
+
CreateTeammateOwner: 'CreateTeammateOwner',
|
|
655
|
+
CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
|
|
656
|
+
CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
|
|
657
|
+
CreateTeammateStoreManager: 'CreateTeammateStoreManager',
|
|
658
|
+
CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
|
|
659
|
+
CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
|
|
660
|
+
CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
|
|
661
|
+
CreateTeammateIntegrator: 'CreateTeammateIntegrator',
|
|
662
|
+
CreateTeammateOnboarding: 'CreateTeammateOnboarding',
|
|
663
|
+
CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
|
|
664
|
+
CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
|
|
665
|
+
ViewApmConfigurations: 'ViewApmConfigurations',
|
|
666
|
+
EditApmConfigurations: 'EditApmConfigurations',
|
|
667
|
+
ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
|
|
668
|
+
CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
|
|
669
|
+
UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
|
|
670
|
+
DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
|
|
671
|
+
StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
|
|
672
|
+
ViewDevelopersSettings: 'ViewDevelopersSettings',
|
|
673
|
+
EditDevelopersSettings: 'EditDevelopersSettings',
|
|
674
|
+
ViewOrders: 'ViewOrders',
|
|
675
|
+
UpdateOrdersAccept: 'UpdateOrdersAccept',
|
|
676
|
+
UpdateOrdersReject: 'UpdateOrdersReject',
|
|
677
|
+
UpdateOrdersRefund: 'UpdateOrdersRefund',
|
|
678
|
+
UpdateOrdersDispatch: 'UpdateOrdersDispatch',
|
|
679
|
+
ViewStores: 'ViewStores',
|
|
680
|
+
CreateStores: 'CreateStores',
|
|
681
|
+
EditStores: 'EditStores',
|
|
682
|
+
ViewStoresOpeningHours: 'ViewStoresOpeningHours',
|
|
683
|
+
UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
|
|
684
|
+
UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
|
|
685
|
+
ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
|
|
686
|
+
EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
|
|
687
|
+
EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
|
|
688
|
+
UpdateStoresName: 'UpdateStoresName',
|
|
689
|
+
EditStoreKioskSettings: 'EditStoreKioskSettings',
|
|
690
|
+
EditStoreOrderCapacity: 'EditStoreOrderCapacity',
|
|
691
|
+
EditStoreNotifications: 'EditStoreNotifications',
|
|
692
|
+
ArchiveStores: 'ArchiveStores',
|
|
693
|
+
PublishStores: 'PublishStores',
|
|
694
|
+
UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
|
|
695
|
+
UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
|
|
696
|
+
ViewStoreGroups: 'ViewStoreGroups',
|
|
697
|
+
CreateStoreGroups: 'CreateStoreGroups',
|
|
698
|
+
UpdateStoreGroups: 'UpdateStoreGroups',
|
|
699
|
+
DeleteStoreGroups: 'DeleteStoreGroups',
|
|
700
|
+
ViewDeliveryZones: 'ViewDeliveryZones',
|
|
701
|
+
CreateDeliveryZones: 'CreateDeliveryZones',
|
|
702
|
+
UpdateDeliveryZones: 'UpdateDeliveryZones',
|
|
703
|
+
DeleteDeliveryZones: 'DeleteDeliveryZones',
|
|
704
|
+
ViewMenu: 'ViewMenu',
|
|
705
|
+
CreateMenu: 'CreateMenu',
|
|
706
|
+
UpdateMenu: 'UpdateMenu',
|
|
707
|
+
DeleteMenu: 'DeleteMenu',
|
|
708
|
+
UpdateMenuLock: 'UpdateMenuLock',
|
|
709
|
+
UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
|
|
710
|
+
EditMenuImage: 'EditMenuImage',
|
|
711
|
+
ViewVouchers: 'ViewVouchers',
|
|
712
|
+
EditVouchers: 'EditVouchers',
|
|
713
|
+
ViewWebsiteContent: 'ViewWebsiteContent',
|
|
714
|
+
EditWebsiteContent: 'EditWebsiteContent',
|
|
715
|
+
ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
|
|
716
|
+
ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
|
|
717
|
+
ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
|
|
718
|
+
ViewBankAccounts: 'ViewBankAccounts',
|
|
719
|
+
CreateBankAccounts: 'CreateBankAccounts',
|
|
720
|
+
UpdateBankAccounts: 'UpdateBankAccounts',
|
|
721
|
+
UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
|
|
722
|
+
ViewAssignedBankAccount: 'ViewAssignedBankAccount',
|
|
723
|
+
VerifyBankAccounts: 'VerifyBankAccounts',
|
|
724
|
+
ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
|
|
725
|
+
EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
|
|
726
|
+
EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
|
|
727
|
+
EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
|
|
728
|
+
ViewHydraConfig: 'ViewHydraConfig',
|
|
729
|
+
UpdateHydraConfigManage: 'UpdateHydraConfigManage',
|
|
730
|
+
InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
|
|
731
|
+
DeleteTerminal: 'DeleteTerminal',
|
|
732
|
+
ViewKioskTelemetry: 'ViewKioskTelemetry',
|
|
733
|
+
ViewCustomers: 'ViewCustomers',
|
|
734
|
+
EditCustomers: 'EditCustomers',
|
|
735
|
+
CreateCustomers: 'CreateCustomers',
|
|
736
|
+
CreateCatalogElements: 'CreateCatalogElements',
|
|
737
|
+
UpdateCatalogElements: 'UpdateCatalogElements',
|
|
738
|
+
ViewCatalogElements: 'ViewCatalogElements',
|
|
739
|
+
DeleteCatalogElements: 'DeleteCatalogElements',
|
|
740
|
+
ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
|
|
741
|
+
CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
|
|
742
|
+
UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
|
|
743
|
+
DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
|
|
744
|
+
UpdateMetafields: 'UpdateMetafields',
|
|
745
|
+
ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
|
|
746
|
+
PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
|
|
747
|
+
ViewAppStatistics: 'ViewAppStatistics',
|
|
748
|
+
ViewApmStatistics: 'ViewApmStatistics',
|
|
749
|
+
ViewCampaignsStatistics: 'ViewCampaignsStatistics',
|
|
750
|
+
ViewCustomerStatistics: 'ViewCustomerStatistics',
|
|
751
|
+
ViewLiveStatistics: 'ViewLiveStatistics',
|
|
752
|
+
ViewOrderStatistics: 'ViewOrderStatistics',
|
|
753
|
+
ViewSalesStatistics: 'ViewSalesStatistics',
|
|
754
|
+
ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
|
|
755
|
+
ViewVouchersStatistics: 'ViewVouchersStatistics',
|
|
756
|
+
DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
|
|
757
|
+
ViewApmAuditLogs: 'ViewApmAuditLogs',
|
|
758
|
+
ViewStoreAuditLogs: 'ViewStoreAuditLogs',
|
|
759
|
+
ViewMenuAuditLogs: 'ViewMenuAuditLogs',
|
|
760
|
+
ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
|
|
761
|
+
ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
|
|
762
|
+
ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
|
|
763
|
+
ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
|
|
764
|
+
ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
|
|
765
|
+
ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
|
|
766
|
+
ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
|
|
767
|
+
ViewAppAuditLogs: 'ViewAppAuditLogs',
|
|
768
|
+
ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
|
|
769
|
+
ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
|
|
770
|
+
ViewHydraAuditLogs: 'ViewHydraAuditLogs',
|
|
771
|
+
ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
|
|
772
|
+
ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
|
|
773
|
+
ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
|
|
774
|
+
ViewExternalAuditLogs: 'ViewExternalAuditLogs',
|
|
775
|
+
CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
|
|
776
|
+
ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
|
|
777
|
+
ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
|
|
778
|
+
ViewChannelAuditLogs: 'ViewChannelAuditLogs',
|
|
779
|
+
ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
|
|
780
|
+
SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
|
|
781
|
+
InviteDriverToApp: 'InviteDriverToApp',
|
|
782
|
+
GetDriverForApp: 'GetDriverForApp',
|
|
783
|
+
RemoveDriverFromApp: 'RemoveDriverFromApp',
|
|
784
|
+
AssignDriverToOrder: 'AssignDriverToOrder',
|
|
785
|
+
UnassignDriverFromOrder: 'UnassignDriverFromOrder',
|
|
786
|
+
UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
|
|
787
|
+
UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
|
|
788
|
+
ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
|
|
789
|
+
CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
|
|
790
|
+
UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
|
|
791
|
+
DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
|
|
792
|
+
ViewPayouts: 'ViewPayouts',
|
|
793
|
+
ViewChannels: 'ViewChannels',
|
|
794
|
+
ViewOnboarding: 'ViewOnboarding',
|
|
795
|
+
UpdateOnboarding: 'UpdateOnboarding',
|
|
796
|
+
ViewClientDevices: 'ViewClientDevices',
|
|
797
|
+
UpdateClientDevices: 'UpdateClientDevices',
|
|
798
|
+
EnrollClientDevices: 'EnrollClientDevices',
|
|
799
|
+
AssignClientDevices: 'AssignClientDevices',
|
|
800
|
+
ViewClientAuditLogs: 'ViewClientAuditLogs',
|
|
801
|
+
CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
|
|
802
|
+
ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
|
|
803
|
+
UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
|
|
804
|
+
DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
|
|
805
|
+
UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
|
|
806
|
+
CreateAppStoreSubscription: 'CreateAppStoreSubscription',
|
|
807
|
+
UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
|
|
808
|
+
DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
|
|
809
|
+
ViewSalesChannels: 'ViewSalesChannels',
|
|
810
|
+
EditSalesChannels: 'EditSalesChannels',
|
|
811
|
+
CreateSalesChannel: 'CreateSalesChannel',
|
|
812
|
+
ArchiveSalesChannel: 'ArchiveSalesChannel',
|
|
813
|
+
UnarchiveSalesChannel: 'UnarchiveSalesChannel',
|
|
814
|
+
PublishSalesChannel: 'PublishSalesChannel',
|
|
815
|
+
UnpublishSalesChannel: 'UnpublishSalesChannel',
|
|
816
|
+
CloneSalesChannel: 'CloneSalesChannel',
|
|
817
|
+
ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
|
|
818
|
+
CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
|
|
819
|
+
UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
|
|
820
|
+
UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
|
|
821
|
+
ViewSubscriptions: 'ViewSubscriptions',
|
|
822
|
+
ViewInvoices: 'ViewInvoices',
|
|
823
|
+
EditAccountsBills: 'EditAccountsBills',
|
|
824
|
+
ViewAccountsBills: 'ViewAccountsBills',
|
|
825
|
+
EditAccountsCategories: 'EditAccountsCategories',
|
|
826
|
+
ViewAccountsCategories: 'ViewAccountsCategories',
|
|
827
|
+
EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
|
|
828
|
+
ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
|
|
829
|
+
EditAccountsCreditBooks: 'EditAccountsCreditBooks',
|
|
830
|
+
ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
|
|
831
|
+
EditAccountsExpenses: 'EditAccountsExpenses',
|
|
832
|
+
ViewAccountsExpenses: 'ViewAccountsExpenses',
|
|
833
|
+
EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
|
|
834
|
+
ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
|
|
835
|
+
EditDocumentExplorer: 'EditDocumentExplorer',
|
|
836
|
+
ViewDocumentExplorer: 'ViewDocumentExplorer',
|
|
837
|
+
ViewInventoryReports: 'ViewInventoryReports',
|
|
838
|
+
EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
|
|
839
|
+
ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
|
|
840
|
+
EditInventoryStockItems: 'EditInventoryStockItems',
|
|
841
|
+
ViewInventoryStockItems: 'ViewInventoryStockItems',
|
|
842
|
+
EditInventorySupplier: 'EditInventorySupplier',
|
|
843
|
+
ViewInventorySupplier: 'ViewInventorySupplier',
|
|
844
|
+
EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
|
|
845
|
+
ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
|
|
846
|
+
ViewPayrollReports: 'ViewPayrollReports',
|
|
847
|
+
EditPayrollHoliday: 'EditPayrollHoliday',
|
|
848
|
+
ViewPayrollHoliday: 'ViewPayrollHoliday',
|
|
849
|
+
EditPayrollRota: 'EditPayrollRota',
|
|
850
|
+
ViewPayrollRota: 'ViewPayrollRota',
|
|
851
|
+
EditPayrollStaff: 'EditPayrollStaff',
|
|
852
|
+
ViewPayrollStaff: 'ViewPayrollStaff',
|
|
853
|
+
ViewSalesReports: 'ViewSalesReports',
|
|
854
|
+
ViewCostReports: 'ViewCostReports',
|
|
855
|
+
ViewMenuReports: 'ViewMenuReports',
|
|
856
|
+
ViewBrand: 'ViewBrand',
|
|
857
|
+
EditBrand: 'EditBrand',
|
|
858
|
+
CreateBrand: 'CreateBrand',
|
|
859
|
+
TransferBrand: 'TransferBrand',
|
|
860
|
+
ViewProperty: 'ViewProperty',
|
|
861
|
+
EditProperty: 'EditProperty',
|
|
862
|
+
CreateProperty: 'CreateProperty',
|
|
863
|
+
ArchiveProperty: 'ArchiveProperty',
|
|
864
|
+
ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
|
|
865
|
+
EditEntityFeatureFlags: 'EditEntityFeatureFlags',
|
|
866
|
+
CreateOrg: 'CreateOrg',
|
|
867
|
+
EditOrg: 'EditOrg',
|
|
868
|
+
ViewOrg: 'ViewOrg',
|
|
869
|
+
ViewWebhooks: 'ViewWebhooks',
|
|
870
|
+
EditWebhooks: 'EditWebhooks'
|
|
871
|
+
};
|
|
184
872
|
exports.GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum = {
|
|
185
873
|
Main: 'Main',
|
|
186
874
|
BrandOverride: 'BrandOverride',
|
|
@@ -1274,6 +1962,331 @@ var AuthorizationApi = /** @class */ (function (_super) {
|
|
|
1274
1962
|
return AuthorizationApi;
|
|
1275
1963
|
}(base_1.BaseAPI));
|
|
1276
1964
|
exports.AuthorizationApi = AuthorizationApi;
|
|
1965
|
+
/**
|
|
1966
|
+
* AuthorizedEntitiesApi - axios parameter creator
|
|
1967
|
+
* @export
|
|
1968
|
+
*/
|
|
1969
|
+
var AuthorizedEntitiesApiAxiosParamCreator = function (configuration) {
|
|
1970
|
+
var _this = this;
|
|
1971
|
+
return {
|
|
1972
|
+
/**
|
|
1973
|
+
* Get the authorized brands for a given org
|
|
1974
|
+
* @summary Get Authorized Brands
|
|
1975
|
+
* @param {string} orgId
|
|
1976
|
+
* @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
|
|
1977
|
+
* @param {*} [options] Override http request option.
|
|
1978
|
+
* @throws {RequiredError}
|
|
1979
|
+
*/
|
|
1980
|
+
getAuthorizedBrands: function (orgId_1, getAuthorizedBrandsRequest_1) {
|
|
1981
|
+
var args_1 = [];
|
|
1982
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
1983
|
+
args_1[_i - 2] = arguments[_i];
|
|
1984
|
+
}
|
|
1985
|
+
return __awaiter(_this, __spreadArray([orgId_1, getAuthorizedBrandsRequest_1], args_1, true), void 0, function (orgId, getAuthorizedBrandsRequest, options) {
|
|
1986
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
1987
|
+
if (options === void 0) { options = {}; }
|
|
1988
|
+
return __generator(this, function (_a) {
|
|
1989
|
+
switch (_a.label) {
|
|
1990
|
+
case 0:
|
|
1991
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
1992
|
+
(0, common_1.assertParamExists)('getAuthorizedBrands', 'orgId', orgId);
|
|
1993
|
+
localVarPath = "/orgs/{orgId}/getAuthorizedBrands"
|
|
1994
|
+
.replace("{".concat("orgId", "}"), encodeURIComponent(String(orgId)));
|
|
1995
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1996
|
+
if (configuration) {
|
|
1997
|
+
baseOptions = configuration.baseOptions;
|
|
1998
|
+
}
|
|
1999
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2000
|
+
localVarHeaderParameter = {};
|
|
2001
|
+
localVarQueryParameter = {};
|
|
2002
|
+
// authentication ApiKeyAuth required
|
|
2003
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
2004
|
+
case 1:
|
|
2005
|
+
// authentication ApiKeyAuth required
|
|
2006
|
+
_a.sent();
|
|
2007
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2008
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2009
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2010
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2011
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getAuthorizedBrandsRequest, localVarRequestOptions, configuration);
|
|
2012
|
+
return [2 /*return*/, {
|
|
2013
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2014
|
+
options: localVarRequestOptions,
|
|
2015
|
+
}];
|
|
2016
|
+
}
|
|
2017
|
+
});
|
|
2018
|
+
});
|
|
2019
|
+
},
|
|
2020
|
+
/**
|
|
2021
|
+
* Get the authorized orgs for a given principal
|
|
2022
|
+
* @summary Get Authorized Orgs
|
|
2023
|
+
* @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
|
|
2024
|
+
* @param {*} [options] Override http request option.
|
|
2025
|
+
* @throws {RequiredError}
|
|
2026
|
+
*/
|
|
2027
|
+
getAuthorizedOrgs: function (getAuthorizedOrgsRequest_1) {
|
|
2028
|
+
var args_1 = [];
|
|
2029
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
2030
|
+
args_1[_i - 1] = arguments[_i];
|
|
2031
|
+
}
|
|
2032
|
+
return __awaiter(_this, __spreadArray([getAuthorizedOrgsRequest_1], args_1, true), void 0, function (getAuthorizedOrgsRequest, options) {
|
|
2033
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2034
|
+
if (options === void 0) { options = {}; }
|
|
2035
|
+
return __generator(this, function (_a) {
|
|
2036
|
+
switch (_a.label) {
|
|
2037
|
+
case 0:
|
|
2038
|
+
localVarPath = "/getAuthorizedOrgs";
|
|
2039
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2040
|
+
if (configuration) {
|
|
2041
|
+
baseOptions = configuration.baseOptions;
|
|
2042
|
+
}
|
|
2043
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2044
|
+
localVarHeaderParameter = {};
|
|
2045
|
+
localVarQueryParameter = {};
|
|
2046
|
+
// authentication ApiKeyAuth required
|
|
2047
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
2048
|
+
case 1:
|
|
2049
|
+
// authentication ApiKeyAuth required
|
|
2050
|
+
_a.sent();
|
|
2051
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2052
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2053
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2054
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2055
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getAuthorizedOrgsRequest, localVarRequestOptions, configuration);
|
|
2056
|
+
return [2 /*return*/, {
|
|
2057
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2058
|
+
options: localVarRequestOptions,
|
|
2059
|
+
}];
|
|
2060
|
+
}
|
|
2061
|
+
});
|
|
2062
|
+
});
|
|
2063
|
+
},
|
|
2064
|
+
/**
|
|
2065
|
+
* Get the authorized properties for a given org
|
|
2066
|
+
* @summary Get Authorized Properties
|
|
2067
|
+
* @param {string} orgId
|
|
2068
|
+
* @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
|
|
2069
|
+
* @param {*} [options] Override http request option.
|
|
2070
|
+
* @throws {RequiredError}
|
|
2071
|
+
*/
|
|
2072
|
+
getAuthorizedProperties: function (orgId_1, getAuthorizedPropertiesRequest_1) {
|
|
2073
|
+
var args_1 = [];
|
|
2074
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
2075
|
+
args_1[_i - 2] = arguments[_i];
|
|
2076
|
+
}
|
|
2077
|
+
return __awaiter(_this, __spreadArray([orgId_1, getAuthorizedPropertiesRequest_1], args_1, true), void 0, function (orgId, getAuthorizedPropertiesRequest, options) {
|
|
2078
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2079
|
+
if (options === void 0) { options = {}; }
|
|
2080
|
+
return __generator(this, function (_a) {
|
|
2081
|
+
switch (_a.label) {
|
|
2082
|
+
case 0:
|
|
2083
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
2084
|
+
(0, common_1.assertParamExists)('getAuthorizedProperties', 'orgId', orgId);
|
|
2085
|
+
localVarPath = "/orgs/{orgId}/getAuthorizedProperties"
|
|
2086
|
+
.replace("{".concat("orgId", "}"), encodeURIComponent(String(orgId)));
|
|
2087
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2088
|
+
if (configuration) {
|
|
2089
|
+
baseOptions = configuration.baseOptions;
|
|
2090
|
+
}
|
|
2091
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
2092
|
+
localVarHeaderParameter = {};
|
|
2093
|
+
localVarQueryParameter = {};
|
|
2094
|
+
// authentication ApiKeyAuth required
|
|
2095
|
+
return [4 /*yield*/, (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration)];
|
|
2096
|
+
case 1:
|
|
2097
|
+
// authentication ApiKeyAuth required
|
|
2098
|
+
_a.sent();
|
|
2099
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2100
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2101
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2102
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2103
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getAuthorizedPropertiesRequest, localVarRequestOptions, configuration);
|
|
2104
|
+
return [2 /*return*/, {
|
|
2105
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2106
|
+
options: localVarRequestOptions,
|
|
2107
|
+
}];
|
|
2108
|
+
}
|
|
2109
|
+
});
|
|
2110
|
+
});
|
|
2111
|
+
},
|
|
2112
|
+
};
|
|
2113
|
+
};
|
|
2114
|
+
exports.AuthorizedEntitiesApiAxiosParamCreator = AuthorizedEntitiesApiAxiosParamCreator;
|
|
2115
|
+
/**
|
|
2116
|
+
* AuthorizedEntitiesApi - functional programming interface
|
|
2117
|
+
* @export
|
|
2118
|
+
*/
|
|
2119
|
+
var AuthorizedEntitiesApiFp = function (configuration) {
|
|
2120
|
+
var localVarAxiosParamCreator = (0, exports.AuthorizedEntitiesApiAxiosParamCreator)(configuration);
|
|
2121
|
+
return {
|
|
2122
|
+
/**
|
|
2123
|
+
* Get the authorized brands for a given org
|
|
2124
|
+
* @summary Get Authorized Brands
|
|
2125
|
+
* @param {string} orgId
|
|
2126
|
+
* @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
|
|
2127
|
+
* @param {*} [options] Override http request option.
|
|
2128
|
+
* @throws {RequiredError}
|
|
2129
|
+
*/
|
|
2130
|
+
getAuthorizedBrands: function (orgId, getAuthorizedBrandsRequest, options) {
|
|
2131
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2132
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2133
|
+
var _a, _b, _c;
|
|
2134
|
+
return __generator(this, function (_d) {
|
|
2135
|
+
switch (_d.label) {
|
|
2136
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAuthorizedBrands(orgId, getAuthorizedBrandsRequest, options)];
|
|
2137
|
+
case 1:
|
|
2138
|
+
localVarAxiosArgs = _d.sent();
|
|
2139
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2140
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthorizedEntitiesApi.getAuthorizedBrands']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2141
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2142
|
+
}
|
|
2143
|
+
});
|
|
2144
|
+
});
|
|
2145
|
+
},
|
|
2146
|
+
/**
|
|
2147
|
+
* Get the authorized orgs for a given principal
|
|
2148
|
+
* @summary Get Authorized Orgs
|
|
2149
|
+
* @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
|
|
2150
|
+
* @param {*} [options] Override http request option.
|
|
2151
|
+
* @throws {RequiredError}
|
|
2152
|
+
*/
|
|
2153
|
+
getAuthorizedOrgs: function (getAuthorizedOrgsRequest, options) {
|
|
2154
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2155
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2156
|
+
var _a, _b, _c;
|
|
2157
|
+
return __generator(this, function (_d) {
|
|
2158
|
+
switch (_d.label) {
|
|
2159
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAuthorizedOrgs(getAuthorizedOrgsRequest, options)];
|
|
2160
|
+
case 1:
|
|
2161
|
+
localVarAxiosArgs = _d.sent();
|
|
2162
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2163
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthorizedEntitiesApi.getAuthorizedOrgs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2164
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2165
|
+
}
|
|
2166
|
+
});
|
|
2167
|
+
});
|
|
2168
|
+
},
|
|
2169
|
+
/**
|
|
2170
|
+
* Get the authorized properties for a given org
|
|
2171
|
+
* @summary Get Authorized Properties
|
|
2172
|
+
* @param {string} orgId
|
|
2173
|
+
* @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
|
|
2174
|
+
* @param {*} [options] Override http request option.
|
|
2175
|
+
* @throws {RequiredError}
|
|
2176
|
+
*/
|
|
2177
|
+
getAuthorizedProperties: function (orgId, getAuthorizedPropertiesRequest, options) {
|
|
2178
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2179
|
+
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
2180
|
+
var _a, _b, _c;
|
|
2181
|
+
return __generator(this, function (_d) {
|
|
2182
|
+
switch (_d.label) {
|
|
2183
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getAuthorizedProperties(orgId, getAuthorizedPropertiesRequest, options)];
|
|
2184
|
+
case 1:
|
|
2185
|
+
localVarAxiosArgs = _d.sent();
|
|
2186
|
+
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2187
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AuthorizedEntitiesApi.getAuthorizedProperties']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2188
|
+
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
2189
|
+
}
|
|
2190
|
+
});
|
|
2191
|
+
});
|
|
2192
|
+
},
|
|
2193
|
+
};
|
|
2194
|
+
};
|
|
2195
|
+
exports.AuthorizedEntitiesApiFp = AuthorizedEntitiesApiFp;
|
|
2196
|
+
/**
|
|
2197
|
+
* AuthorizedEntitiesApi - factory interface
|
|
2198
|
+
* @export
|
|
2199
|
+
*/
|
|
2200
|
+
var AuthorizedEntitiesApiFactory = function (configuration, basePath, axios) {
|
|
2201
|
+
var localVarFp = (0, exports.AuthorizedEntitiesApiFp)(configuration);
|
|
2202
|
+
return {
|
|
2203
|
+
/**
|
|
2204
|
+
* Get the authorized brands for a given org
|
|
2205
|
+
* @summary Get Authorized Brands
|
|
2206
|
+
* @param {string} orgId
|
|
2207
|
+
* @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
|
|
2208
|
+
* @param {*} [options] Override http request option.
|
|
2209
|
+
* @throws {RequiredError}
|
|
2210
|
+
*/
|
|
2211
|
+
getAuthorizedBrands: function (orgId, getAuthorizedBrandsRequest, options) {
|
|
2212
|
+
return localVarFp.getAuthorizedBrands(orgId, getAuthorizedBrandsRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2213
|
+
},
|
|
2214
|
+
/**
|
|
2215
|
+
* Get the authorized orgs for a given principal
|
|
2216
|
+
* @summary Get Authorized Orgs
|
|
2217
|
+
* @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
|
|
2218
|
+
* @param {*} [options] Override http request option.
|
|
2219
|
+
* @throws {RequiredError}
|
|
2220
|
+
*/
|
|
2221
|
+
getAuthorizedOrgs: function (getAuthorizedOrgsRequest, options) {
|
|
2222
|
+
return localVarFp.getAuthorizedOrgs(getAuthorizedOrgsRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2223
|
+
},
|
|
2224
|
+
/**
|
|
2225
|
+
* Get the authorized properties for a given org
|
|
2226
|
+
* @summary Get Authorized Properties
|
|
2227
|
+
* @param {string} orgId
|
|
2228
|
+
* @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
|
|
2229
|
+
* @param {*} [options] Override http request option.
|
|
2230
|
+
* @throws {RequiredError}
|
|
2231
|
+
*/
|
|
2232
|
+
getAuthorizedProperties: function (orgId, getAuthorizedPropertiesRequest, options) {
|
|
2233
|
+
return localVarFp.getAuthorizedProperties(orgId, getAuthorizedPropertiesRequest, options).then(function (request) { return request(axios, basePath); });
|
|
2234
|
+
},
|
|
2235
|
+
};
|
|
2236
|
+
};
|
|
2237
|
+
exports.AuthorizedEntitiesApiFactory = AuthorizedEntitiesApiFactory;
|
|
2238
|
+
/**
|
|
2239
|
+
* AuthorizedEntitiesApi - object-oriented interface
|
|
2240
|
+
* @export
|
|
2241
|
+
* @class AuthorizedEntitiesApi
|
|
2242
|
+
* @extends {BaseAPI}
|
|
2243
|
+
*/
|
|
2244
|
+
var AuthorizedEntitiesApi = /** @class */ (function (_super) {
|
|
2245
|
+
__extends(AuthorizedEntitiesApi, _super);
|
|
2246
|
+
function AuthorizedEntitiesApi() {
|
|
2247
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2248
|
+
}
|
|
2249
|
+
/**
|
|
2250
|
+
* Get the authorized brands for a given org
|
|
2251
|
+
* @summary Get Authorized Brands
|
|
2252
|
+
* @param {string} orgId
|
|
2253
|
+
* @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
|
|
2254
|
+
* @param {*} [options] Override http request option.
|
|
2255
|
+
* @throws {RequiredError}
|
|
2256
|
+
* @memberof AuthorizedEntitiesApi
|
|
2257
|
+
*/
|
|
2258
|
+
AuthorizedEntitiesApi.prototype.getAuthorizedBrands = function (orgId, getAuthorizedBrandsRequest, options) {
|
|
2259
|
+
var _this = this;
|
|
2260
|
+
return (0, exports.AuthorizedEntitiesApiFp)(this.configuration).getAuthorizedBrands(orgId, getAuthorizedBrandsRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2261
|
+
};
|
|
2262
|
+
/**
|
|
2263
|
+
* Get the authorized orgs for a given principal
|
|
2264
|
+
* @summary Get Authorized Orgs
|
|
2265
|
+
* @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
|
|
2266
|
+
* @param {*} [options] Override http request option.
|
|
2267
|
+
* @throws {RequiredError}
|
|
2268
|
+
* @memberof AuthorizedEntitiesApi
|
|
2269
|
+
*/
|
|
2270
|
+
AuthorizedEntitiesApi.prototype.getAuthorizedOrgs = function (getAuthorizedOrgsRequest, options) {
|
|
2271
|
+
var _this = this;
|
|
2272
|
+
return (0, exports.AuthorizedEntitiesApiFp)(this.configuration).getAuthorizedOrgs(getAuthorizedOrgsRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2273
|
+
};
|
|
2274
|
+
/**
|
|
2275
|
+
* Get the authorized properties for a given org
|
|
2276
|
+
* @summary Get Authorized Properties
|
|
2277
|
+
* @param {string} orgId
|
|
2278
|
+
* @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
|
|
2279
|
+
* @param {*} [options] Override http request option.
|
|
2280
|
+
* @throws {RequiredError}
|
|
2281
|
+
* @memberof AuthorizedEntitiesApi
|
|
2282
|
+
*/
|
|
2283
|
+
AuthorizedEntitiesApi.prototype.getAuthorizedProperties = function (orgId, getAuthorizedPropertiesRequest, options) {
|
|
2284
|
+
var _this = this;
|
|
2285
|
+
return (0, exports.AuthorizedEntitiesApiFp)(this.configuration).getAuthorizedProperties(orgId, getAuthorizedPropertiesRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2286
|
+
};
|
|
2287
|
+
return AuthorizedEntitiesApi;
|
|
2288
|
+
}(base_1.BaseAPI));
|
|
2289
|
+
exports.AuthorizedEntitiesApi = AuthorizedEntitiesApi;
|
|
1277
2290
|
/**
|
|
1278
2291
|
* PermissionsApi - axios parameter creator
|
|
1279
2292
|
* @export
|