@flipdish/authorization 0.2.17-rc.1766093776 → 0.2.18-rc.1766096288
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/api.ts +309 -1573
- package/configuration.ts +1 -1
- package/dist/api.d.ts +306 -1614
- package/dist/api.js +200 -1445
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -217,10 +217,10 @@ export interface AuthenticateAndCheckIsInRoleRequest {
|
|
|
217
217
|
'headers': { [key: string]: string; };
|
|
218
218
|
/**
|
|
219
219
|
* Array of roles to check if the principal is in
|
|
220
|
-
* @type {Array<
|
|
220
|
+
* @type {Array<RoleNames>}
|
|
221
221
|
* @memberof AuthenticateAndCheckIsInRoleRequest
|
|
222
222
|
*/
|
|
223
|
-
'roles': Array<
|
|
223
|
+
'roles': Array<RoleNames>;
|
|
224
224
|
/**
|
|
225
225
|
*
|
|
226
226
|
* @type {string}
|
|
@@ -229,12 +229,6 @@ export interface AuthenticateAndCheckIsInRoleRequest {
|
|
|
229
229
|
'checkMode'?: AuthenticateAndCheckIsInRoleRequestCheckModeEnum;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
-
export const AuthenticateAndCheckIsInRoleRequestRolesEnum = {
|
|
233
|
-
Admin: 'Admin',
|
|
234
|
-
Factory: 'Factory'
|
|
235
|
-
} as const;
|
|
236
|
-
|
|
237
|
-
export type AuthenticateAndCheckIsInRoleRequestRolesEnum = typeof AuthenticateAndCheckIsInRoleRequestRolesEnum[keyof typeof AuthenticateAndCheckIsInRoleRequestRolesEnum];
|
|
238
232
|
export const AuthenticateAndCheckIsInRoleRequestCheckModeEnum = {
|
|
239
233
|
Any: 'any',
|
|
240
234
|
All: 'all'
|
|
@@ -299,11 +293,11 @@ export interface AuthorizationBatchRequest {
|
|
|
299
293
|
*/
|
|
300
294
|
'principal': AuthorizationRequestPrincipal;
|
|
301
295
|
/**
|
|
302
|
-
*
|
|
303
|
-
* @type {
|
|
296
|
+
*
|
|
297
|
+
* @type {Permissions}
|
|
304
298
|
* @memberof AuthorizationBatchRequest
|
|
305
299
|
*/
|
|
306
|
-
'action':
|
|
300
|
+
'action': Permissions;
|
|
307
301
|
/**
|
|
308
302
|
* Array of resources to check authorisation for
|
|
309
303
|
* @type {Array<AuthorizationRequestResource>}
|
|
@@ -312,238 +306,6 @@ export interface AuthorizationBatchRequest {
|
|
|
312
306
|
'resources': Array<AuthorizationRequestResource>;
|
|
313
307
|
}
|
|
314
308
|
|
|
315
|
-
export const AuthorizationBatchRequestActionEnum = {
|
|
316
|
-
AnyAuditLogs: 'AnyAuditLogs',
|
|
317
|
-
ViewApp: 'ViewApp',
|
|
318
|
-
CreateApp: 'CreateApp',
|
|
319
|
-
UpdateApp: 'UpdateApp',
|
|
320
|
-
ViewAppName: 'ViewAppName',
|
|
321
|
-
EditAppAssets: 'EditAppAssets',
|
|
322
|
-
EditAppFeatures: 'EditAppFeatures',
|
|
323
|
-
ViewTeammates: 'ViewTeammates',
|
|
324
|
-
EditTeammates: 'EditTeammates',
|
|
325
|
-
CreateTeammateOwner: 'CreateTeammateOwner',
|
|
326
|
-
CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
|
|
327
|
-
CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
|
|
328
|
-
CreateTeammateStoreManager: 'CreateTeammateStoreManager',
|
|
329
|
-
CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
|
|
330
|
-
CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
|
|
331
|
-
CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
|
|
332
|
-
CreateTeammateIntegrator: 'CreateTeammateIntegrator',
|
|
333
|
-
CreateTeammateOnboarding: 'CreateTeammateOnboarding',
|
|
334
|
-
CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
|
|
335
|
-
CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
|
|
336
|
-
ViewApmConfigurations: 'ViewApmConfigurations',
|
|
337
|
-
EditApmConfigurations: 'EditApmConfigurations',
|
|
338
|
-
ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
|
|
339
|
-
CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
|
|
340
|
-
UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
|
|
341
|
-
DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
|
|
342
|
-
StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
|
|
343
|
-
ViewDevelopersSettings: 'ViewDevelopersSettings',
|
|
344
|
-
EditDevelopersSettings: 'EditDevelopersSettings',
|
|
345
|
-
ViewOrders: 'ViewOrders',
|
|
346
|
-
UpdateOrdersAccept: 'UpdateOrdersAccept',
|
|
347
|
-
UpdateOrdersReject: 'UpdateOrdersReject',
|
|
348
|
-
UpdateOrdersRefund: 'UpdateOrdersRefund',
|
|
349
|
-
UpdateOrdersDispatch: 'UpdateOrdersDispatch',
|
|
350
|
-
ViewStores: 'ViewStores',
|
|
351
|
-
CreateStores: 'CreateStores',
|
|
352
|
-
EditStores: 'EditStores',
|
|
353
|
-
ViewStoresOpeningHours: 'ViewStoresOpeningHours',
|
|
354
|
-
UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
|
|
355
|
-
UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
|
|
356
|
-
ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
|
|
357
|
-
EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
|
|
358
|
-
EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
|
|
359
|
-
UpdateStoresName: 'UpdateStoresName',
|
|
360
|
-
EditStoreKioskSettings: 'EditStoreKioskSettings',
|
|
361
|
-
EditStoreOrderCapacity: 'EditStoreOrderCapacity',
|
|
362
|
-
EditStoreNotifications: 'EditStoreNotifications',
|
|
363
|
-
ArchiveStores: 'ArchiveStores',
|
|
364
|
-
PublishStores: 'PublishStores',
|
|
365
|
-
UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
|
|
366
|
-
UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
|
|
367
|
-
ViewStoreGroups: 'ViewStoreGroups',
|
|
368
|
-
CreateStoreGroups: 'CreateStoreGroups',
|
|
369
|
-
UpdateStoreGroups: 'UpdateStoreGroups',
|
|
370
|
-
DeleteStoreGroups: 'DeleteStoreGroups',
|
|
371
|
-
ViewDeliveryZones: 'ViewDeliveryZones',
|
|
372
|
-
CreateDeliveryZones: 'CreateDeliveryZones',
|
|
373
|
-
UpdateDeliveryZones: 'UpdateDeliveryZones',
|
|
374
|
-
DeleteDeliveryZones: 'DeleteDeliveryZones',
|
|
375
|
-
ViewMenu: 'ViewMenu',
|
|
376
|
-
CreateMenu: 'CreateMenu',
|
|
377
|
-
UpdateMenu: 'UpdateMenu',
|
|
378
|
-
DeleteMenu: 'DeleteMenu',
|
|
379
|
-
UpdateMenuLock: 'UpdateMenuLock',
|
|
380
|
-
UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
|
|
381
|
-
EditMenuImage: 'EditMenuImage',
|
|
382
|
-
ViewVouchers: 'ViewVouchers',
|
|
383
|
-
EditVouchers: 'EditVouchers',
|
|
384
|
-
ViewWebsiteContent: 'ViewWebsiteContent',
|
|
385
|
-
EditWebsiteContent: 'EditWebsiteContent',
|
|
386
|
-
ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
|
|
387
|
-
ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
|
|
388
|
-
ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
|
|
389
|
-
ViewBankAccounts: 'ViewBankAccounts',
|
|
390
|
-
CreateBankAccounts: 'CreateBankAccounts',
|
|
391
|
-
UpdateBankAccounts: 'UpdateBankAccounts',
|
|
392
|
-
UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
|
|
393
|
-
ViewAssignedBankAccount: 'ViewAssignedBankAccount',
|
|
394
|
-
VerifyBankAccounts: 'VerifyBankAccounts',
|
|
395
|
-
ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
|
|
396
|
-
EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
|
|
397
|
-
EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
|
|
398
|
-
EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
|
|
399
|
-
ViewHydraConfig: 'ViewHydraConfig',
|
|
400
|
-
UpdateHydraConfigManage: 'UpdateHydraConfigManage',
|
|
401
|
-
InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
|
|
402
|
-
DeleteTerminal: 'DeleteTerminal',
|
|
403
|
-
ViewKioskTelemetry: 'ViewKioskTelemetry',
|
|
404
|
-
ViewCustomers: 'ViewCustomers',
|
|
405
|
-
EditCustomers: 'EditCustomers',
|
|
406
|
-
CreateCustomers: 'CreateCustomers',
|
|
407
|
-
CreateCatalogElements: 'CreateCatalogElements',
|
|
408
|
-
UpdateCatalogElements: 'UpdateCatalogElements',
|
|
409
|
-
ViewCatalogElements: 'ViewCatalogElements',
|
|
410
|
-
DeleteCatalogElements: 'DeleteCatalogElements',
|
|
411
|
-
ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
|
|
412
|
-
CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
|
|
413
|
-
UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
|
|
414
|
-
DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
|
|
415
|
-
UpdateMetafields: 'UpdateMetafields',
|
|
416
|
-
ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
|
|
417
|
-
PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
|
|
418
|
-
ViewAppStatistics: 'ViewAppStatistics',
|
|
419
|
-
ViewApmStatistics: 'ViewApmStatistics',
|
|
420
|
-
ViewCampaignsStatistics: 'ViewCampaignsStatistics',
|
|
421
|
-
ViewCustomerStatistics: 'ViewCustomerStatistics',
|
|
422
|
-
ViewLiveStatistics: 'ViewLiveStatistics',
|
|
423
|
-
ViewOrderStatistics: 'ViewOrderStatistics',
|
|
424
|
-
ViewSalesStatistics: 'ViewSalesStatistics',
|
|
425
|
-
ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
|
|
426
|
-
ViewVouchersStatistics: 'ViewVouchersStatistics',
|
|
427
|
-
DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
|
|
428
|
-
ViewApmAuditLogs: 'ViewApmAuditLogs',
|
|
429
|
-
ViewStoreAuditLogs: 'ViewStoreAuditLogs',
|
|
430
|
-
ViewMenuAuditLogs: 'ViewMenuAuditLogs',
|
|
431
|
-
ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
|
|
432
|
-
ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
|
|
433
|
-
ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
|
|
434
|
-
ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
|
|
435
|
-
ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
|
|
436
|
-
ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
|
|
437
|
-
ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
|
|
438
|
-
ViewAppAuditLogs: 'ViewAppAuditLogs',
|
|
439
|
-
ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
|
|
440
|
-
ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
|
|
441
|
-
ViewHydraAuditLogs: 'ViewHydraAuditLogs',
|
|
442
|
-
ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
|
|
443
|
-
ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
|
|
444
|
-
ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
|
|
445
|
-
ViewExternalAuditLogs: 'ViewExternalAuditLogs',
|
|
446
|
-
CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
|
|
447
|
-
ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
|
|
448
|
-
ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
|
|
449
|
-
ViewChannelAuditLogs: 'ViewChannelAuditLogs',
|
|
450
|
-
ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
|
|
451
|
-
SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
|
|
452
|
-
InviteDriverToApp: 'InviteDriverToApp',
|
|
453
|
-
GetDriverForApp: 'GetDriverForApp',
|
|
454
|
-
RemoveDriverFromApp: 'RemoveDriverFromApp',
|
|
455
|
-
AssignDriverToOrder: 'AssignDriverToOrder',
|
|
456
|
-
UnassignDriverFromOrder: 'UnassignDriverFromOrder',
|
|
457
|
-
UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
|
|
458
|
-
UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
|
|
459
|
-
ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
|
|
460
|
-
CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
|
|
461
|
-
UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
|
|
462
|
-
DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
|
|
463
|
-
ViewPayouts: 'ViewPayouts',
|
|
464
|
-
ViewChannels: 'ViewChannels',
|
|
465
|
-
ViewOnboarding: 'ViewOnboarding',
|
|
466
|
-
UpdateOnboarding: 'UpdateOnboarding',
|
|
467
|
-
ViewClientDevices: 'ViewClientDevices',
|
|
468
|
-
UpdateClientDevices: 'UpdateClientDevices',
|
|
469
|
-
EnrollClientDevices: 'EnrollClientDevices',
|
|
470
|
-
AssignClientDevices: 'AssignClientDevices',
|
|
471
|
-
ViewClientAuditLogs: 'ViewClientAuditLogs',
|
|
472
|
-
CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
|
|
473
|
-
ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
|
|
474
|
-
UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
|
|
475
|
-
DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
|
|
476
|
-
UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
|
|
477
|
-
CreateAppStoreSubscription: 'CreateAppStoreSubscription',
|
|
478
|
-
UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
|
|
479
|
-
DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
|
|
480
|
-
ViewSalesChannels: 'ViewSalesChannels',
|
|
481
|
-
EditSalesChannels: 'EditSalesChannels',
|
|
482
|
-
CreateSalesChannel: 'CreateSalesChannel',
|
|
483
|
-
ArchiveSalesChannel: 'ArchiveSalesChannel',
|
|
484
|
-
UnarchiveSalesChannel: 'UnarchiveSalesChannel',
|
|
485
|
-
PublishSalesChannel: 'PublishSalesChannel',
|
|
486
|
-
UnpublishSalesChannel: 'UnpublishSalesChannel',
|
|
487
|
-
CloneSalesChannel: 'CloneSalesChannel',
|
|
488
|
-
ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
|
|
489
|
-
CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
|
|
490
|
-
UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
|
|
491
|
-
UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
|
|
492
|
-
ViewSubscriptions: 'ViewSubscriptions',
|
|
493
|
-
ViewInvoices: 'ViewInvoices',
|
|
494
|
-
EditAccountsBills: 'EditAccountsBills',
|
|
495
|
-
ViewAccountsBills: 'ViewAccountsBills',
|
|
496
|
-
EditAccountsCategories: 'EditAccountsCategories',
|
|
497
|
-
ViewAccountsCategories: 'ViewAccountsCategories',
|
|
498
|
-
EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
|
|
499
|
-
ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
|
|
500
|
-
EditAccountsCreditBooks: 'EditAccountsCreditBooks',
|
|
501
|
-
ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
|
|
502
|
-
EditAccountsExpenses: 'EditAccountsExpenses',
|
|
503
|
-
ViewAccountsExpenses: 'ViewAccountsExpenses',
|
|
504
|
-
EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
|
|
505
|
-
ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
|
|
506
|
-
EditDocumentExplorer: 'EditDocumentExplorer',
|
|
507
|
-
ViewDocumentExplorer: 'ViewDocumentExplorer',
|
|
508
|
-
ViewInventoryReports: 'ViewInventoryReports',
|
|
509
|
-
EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
|
|
510
|
-
ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
|
|
511
|
-
EditInventoryStockItems: 'EditInventoryStockItems',
|
|
512
|
-
ViewInventoryStockItems: 'ViewInventoryStockItems',
|
|
513
|
-
EditInventorySupplier: 'EditInventorySupplier',
|
|
514
|
-
ViewInventorySupplier: 'ViewInventorySupplier',
|
|
515
|
-
EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
|
|
516
|
-
ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
|
|
517
|
-
ViewPayrollReports: 'ViewPayrollReports',
|
|
518
|
-
EditPayrollHoliday: 'EditPayrollHoliday',
|
|
519
|
-
ViewPayrollHoliday: 'ViewPayrollHoliday',
|
|
520
|
-
EditPayrollRota: 'EditPayrollRota',
|
|
521
|
-
ViewPayrollRota: 'ViewPayrollRota',
|
|
522
|
-
EditPayrollStaff: 'EditPayrollStaff',
|
|
523
|
-
ViewPayrollStaff: 'ViewPayrollStaff',
|
|
524
|
-
ViewSalesReports: 'ViewSalesReports',
|
|
525
|
-
ViewCostReports: 'ViewCostReports',
|
|
526
|
-
ViewMenuReports: 'ViewMenuReports',
|
|
527
|
-
ViewBrand: 'ViewBrand',
|
|
528
|
-
EditBrand: 'EditBrand',
|
|
529
|
-
CreateBrand: 'CreateBrand',
|
|
530
|
-
TransferBrand: 'TransferBrand',
|
|
531
|
-
ViewProperty: 'ViewProperty',
|
|
532
|
-
EditProperty: 'EditProperty',
|
|
533
|
-
CreateProperty: 'CreateProperty',
|
|
534
|
-
ArchiveProperty: 'ArchiveProperty',
|
|
535
|
-
ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
|
|
536
|
-
EditEntityFeatureFlags: 'EditEntityFeatureFlags',
|
|
537
|
-
CreateOrg: 'CreateOrg',
|
|
538
|
-
EditOrg: 'EditOrg',
|
|
539
|
-
ViewOrg: 'ViewOrg',
|
|
540
|
-
ViewWebhooks: 'ViewWebhooks',
|
|
541
|
-
EditWebhooks: 'EditWebhooks',
|
|
542
|
-
RoleAdmin: 'RoleAdmin',
|
|
543
|
-
RoleFactory: 'RoleFactory'
|
|
544
|
-
} as const;
|
|
545
|
-
|
|
546
|
-
export type AuthorizationBatchRequestActionEnum = typeof AuthorizationBatchRequestActionEnum[keyof typeof AuthorizationBatchRequestActionEnum];
|
|
547
309
|
|
|
548
310
|
/**
|
|
549
311
|
*
|
|
@@ -854,246 +616,12 @@ export interface FeatureBasedRole {
|
|
|
854
616
|
*/
|
|
855
617
|
'name': string;
|
|
856
618
|
/**
|
|
857
|
-
*
|
|
858
|
-
* @type {Array<
|
|
619
|
+
*
|
|
620
|
+
* @type {Permissions & Array<Permissions>}
|
|
859
621
|
* @memberof FeatureBasedRole
|
|
860
622
|
*/
|
|
861
|
-
'permissions': Array<
|
|
623
|
+
'permissions': Permissions & Array<Permissions>;
|
|
862
624
|
}
|
|
863
|
-
|
|
864
|
-
export const FeatureBasedRolePermissionsEnum = {
|
|
865
|
-
AnyAuditLogs: 'AnyAuditLogs',
|
|
866
|
-
ViewApp: 'ViewApp',
|
|
867
|
-
CreateApp: 'CreateApp',
|
|
868
|
-
UpdateApp: 'UpdateApp',
|
|
869
|
-
ViewAppName: 'ViewAppName',
|
|
870
|
-
EditAppAssets: 'EditAppAssets',
|
|
871
|
-
EditAppFeatures: 'EditAppFeatures',
|
|
872
|
-
ViewTeammates: 'ViewTeammates',
|
|
873
|
-
EditTeammates: 'EditTeammates',
|
|
874
|
-
CreateTeammateOwner: 'CreateTeammateOwner',
|
|
875
|
-
CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
|
|
876
|
-
CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
|
|
877
|
-
CreateTeammateStoreManager: 'CreateTeammateStoreManager',
|
|
878
|
-
CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
|
|
879
|
-
CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
|
|
880
|
-
CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
|
|
881
|
-
CreateTeammateIntegrator: 'CreateTeammateIntegrator',
|
|
882
|
-
CreateTeammateOnboarding: 'CreateTeammateOnboarding',
|
|
883
|
-
CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
|
|
884
|
-
CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
|
|
885
|
-
ViewApmConfigurations: 'ViewApmConfigurations',
|
|
886
|
-
EditApmConfigurations: 'EditApmConfigurations',
|
|
887
|
-
ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
|
|
888
|
-
CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
|
|
889
|
-
UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
|
|
890
|
-
DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
|
|
891
|
-
StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
|
|
892
|
-
ViewDevelopersSettings: 'ViewDevelopersSettings',
|
|
893
|
-
EditDevelopersSettings: 'EditDevelopersSettings',
|
|
894
|
-
ViewOrders: 'ViewOrders',
|
|
895
|
-
UpdateOrdersAccept: 'UpdateOrdersAccept',
|
|
896
|
-
UpdateOrdersReject: 'UpdateOrdersReject',
|
|
897
|
-
UpdateOrdersRefund: 'UpdateOrdersRefund',
|
|
898
|
-
UpdateOrdersDispatch: 'UpdateOrdersDispatch',
|
|
899
|
-
ViewStores: 'ViewStores',
|
|
900
|
-
CreateStores: 'CreateStores',
|
|
901
|
-
EditStores: 'EditStores',
|
|
902
|
-
ViewStoresOpeningHours: 'ViewStoresOpeningHours',
|
|
903
|
-
UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
|
|
904
|
-
UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
|
|
905
|
-
ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
|
|
906
|
-
EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
|
|
907
|
-
EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
|
|
908
|
-
UpdateStoresName: 'UpdateStoresName',
|
|
909
|
-
EditStoreKioskSettings: 'EditStoreKioskSettings',
|
|
910
|
-
EditStoreOrderCapacity: 'EditStoreOrderCapacity',
|
|
911
|
-
EditStoreNotifications: 'EditStoreNotifications',
|
|
912
|
-
ArchiveStores: 'ArchiveStores',
|
|
913
|
-
PublishStores: 'PublishStores',
|
|
914
|
-
UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
|
|
915
|
-
UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
|
|
916
|
-
ViewStoreGroups: 'ViewStoreGroups',
|
|
917
|
-
CreateStoreGroups: 'CreateStoreGroups',
|
|
918
|
-
UpdateStoreGroups: 'UpdateStoreGroups',
|
|
919
|
-
DeleteStoreGroups: 'DeleteStoreGroups',
|
|
920
|
-
ViewDeliveryZones: 'ViewDeliveryZones',
|
|
921
|
-
CreateDeliveryZones: 'CreateDeliveryZones',
|
|
922
|
-
UpdateDeliveryZones: 'UpdateDeliveryZones',
|
|
923
|
-
DeleteDeliveryZones: 'DeleteDeliveryZones',
|
|
924
|
-
ViewMenu: 'ViewMenu',
|
|
925
|
-
CreateMenu: 'CreateMenu',
|
|
926
|
-
UpdateMenu: 'UpdateMenu',
|
|
927
|
-
DeleteMenu: 'DeleteMenu',
|
|
928
|
-
UpdateMenuLock: 'UpdateMenuLock',
|
|
929
|
-
UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
|
|
930
|
-
EditMenuImage: 'EditMenuImage',
|
|
931
|
-
ViewVouchers: 'ViewVouchers',
|
|
932
|
-
EditVouchers: 'EditVouchers',
|
|
933
|
-
ViewWebsiteContent: 'ViewWebsiteContent',
|
|
934
|
-
EditWebsiteContent: 'EditWebsiteContent',
|
|
935
|
-
ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
|
|
936
|
-
ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
|
|
937
|
-
ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
|
|
938
|
-
ViewBankAccounts: 'ViewBankAccounts',
|
|
939
|
-
CreateBankAccounts: 'CreateBankAccounts',
|
|
940
|
-
UpdateBankAccounts: 'UpdateBankAccounts',
|
|
941
|
-
UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
|
|
942
|
-
ViewAssignedBankAccount: 'ViewAssignedBankAccount',
|
|
943
|
-
VerifyBankAccounts: 'VerifyBankAccounts',
|
|
944
|
-
ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
|
|
945
|
-
EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
|
|
946
|
-
EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
|
|
947
|
-
EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
|
|
948
|
-
ViewHydraConfig: 'ViewHydraConfig',
|
|
949
|
-
UpdateHydraConfigManage: 'UpdateHydraConfigManage',
|
|
950
|
-
InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
|
|
951
|
-
DeleteTerminal: 'DeleteTerminal',
|
|
952
|
-
ViewKioskTelemetry: 'ViewKioskTelemetry',
|
|
953
|
-
ViewCustomers: 'ViewCustomers',
|
|
954
|
-
EditCustomers: 'EditCustomers',
|
|
955
|
-
CreateCustomers: 'CreateCustomers',
|
|
956
|
-
CreateCatalogElements: 'CreateCatalogElements',
|
|
957
|
-
UpdateCatalogElements: 'UpdateCatalogElements',
|
|
958
|
-
ViewCatalogElements: 'ViewCatalogElements',
|
|
959
|
-
DeleteCatalogElements: 'DeleteCatalogElements',
|
|
960
|
-
ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
|
|
961
|
-
CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
|
|
962
|
-
UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
|
|
963
|
-
DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
|
|
964
|
-
UpdateMetafields: 'UpdateMetafields',
|
|
965
|
-
ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
|
|
966
|
-
PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
|
|
967
|
-
ViewAppStatistics: 'ViewAppStatistics',
|
|
968
|
-
ViewApmStatistics: 'ViewApmStatistics',
|
|
969
|
-
ViewCampaignsStatistics: 'ViewCampaignsStatistics',
|
|
970
|
-
ViewCustomerStatistics: 'ViewCustomerStatistics',
|
|
971
|
-
ViewLiveStatistics: 'ViewLiveStatistics',
|
|
972
|
-
ViewOrderStatistics: 'ViewOrderStatistics',
|
|
973
|
-
ViewSalesStatistics: 'ViewSalesStatistics',
|
|
974
|
-
ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
|
|
975
|
-
ViewVouchersStatistics: 'ViewVouchersStatistics',
|
|
976
|
-
DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
|
|
977
|
-
ViewApmAuditLogs: 'ViewApmAuditLogs',
|
|
978
|
-
ViewStoreAuditLogs: 'ViewStoreAuditLogs',
|
|
979
|
-
ViewMenuAuditLogs: 'ViewMenuAuditLogs',
|
|
980
|
-
ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
|
|
981
|
-
ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
|
|
982
|
-
ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
|
|
983
|
-
ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
|
|
984
|
-
ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
|
|
985
|
-
ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
|
|
986
|
-
ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
|
|
987
|
-
ViewAppAuditLogs: 'ViewAppAuditLogs',
|
|
988
|
-
ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
|
|
989
|
-
ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
|
|
990
|
-
ViewHydraAuditLogs: 'ViewHydraAuditLogs',
|
|
991
|
-
ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
|
|
992
|
-
ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
|
|
993
|
-
ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
|
|
994
|
-
ViewExternalAuditLogs: 'ViewExternalAuditLogs',
|
|
995
|
-
CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
|
|
996
|
-
ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
|
|
997
|
-
ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
|
|
998
|
-
ViewChannelAuditLogs: 'ViewChannelAuditLogs',
|
|
999
|
-
ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
|
|
1000
|
-
SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
|
|
1001
|
-
InviteDriverToApp: 'InviteDriverToApp',
|
|
1002
|
-
GetDriverForApp: 'GetDriverForApp',
|
|
1003
|
-
RemoveDriverFromApp: 'RemoveDriverFromApp',
|
|
1004
|
-
AssignDriverToOrder: 'AssignDriverToOrder',
|
|
1005
|
-
UnassignDriverFromOrder: 'UnassignDriverFromOrder',
|
|
1006
|
-
UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
|
|
1007
|
-
UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
|
|
1008
|
-
ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
|
|
1009
|
-
CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
|
|
1010
|
-
UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
|
|
1011
|
-
DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
|
|
1012
|
-
ViewPayouts: 'ViewPayouts',
|
|
1013
|
-
ViewChannels: 'ViewChannels',
|
|
1014
|
-
ViewOnboarding: 'ViewOnboarding',
|
|
1015
|
-
UpdateOnboarding: 'UpdateOnboarding',
|
|
1016
|
-
ViewClientDevices: 'ViewClientDevices',
|
|
1017
|
-
UpdateClientDevices: 'UpdateClientDevices',
|
|
1018
|
-
EnrollClientDevices: 'EnrollClientDevices',
|
|
1019
|
-
AssignClientDevices: 'AssignClientDevices',
|
|
1020
|
-
ViewClientAuditLogs: 'ViewClientAuditLogs',
|
|
1021
|
-
CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
|
|
1022
|
-
ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
|
|
1023
|
-
UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
|
|
1024
|
-
DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
|
|
1025
|
-
UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
|
|
1026
|
-
CreateAppStoreSubscription: 'CreateAppStoreSubscription',
|
|
1027
|
-
UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
|
|
1028
|
-
DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
|
|
1029
|
-
ViewSalesChannels: 'ViewSalesChannels',
|
|
1030
|
-
EditSalesChannels: 'EditSalesChannels',
|
|
1031
|
-
CreateSalesChannel: 'CreateSalesChannel',
|
|
1032
|
-
ArchiveSalesChannel: 'ArchiveSalesChannel',
|
|
1033
|
-
UnarchiveSalesChannel: 'UnarchiveSalesChannel',
|
|
1034
|
-
PublishSalesChannel: 'PublishSalesChannel',
|
|
1035
|
-
UnpublishSalesChannel: 'UnpublishSalesChannel',
|
|
1036
|
-
CloneSalesChannel: 'CloneSalesChannel',
|
|
1037
|
-
ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
|
|
1038
|
-
CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
|
|
1039
|
-
UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
|
|
1040
|
-
UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
|
|
1041
|
-
ViewSubscriptions: 'ViewSubscriptions',
|
|
1042
|
-
ViewInvoices: 'ViewInvoices',
|
|
1043
|
-
EditAccountsBills: 'EditAccountsBills',
|
|
1044
|
-
ViewAccountsBills: 'ViewAccountsBills',
|
|
1045
|
-
EditAccountsCategories: 'EditAccountsCategories',
|
|
1046
|
-
ViewAccountsCategories: 'ViewAccountsCategories',
|
|
1047
|
-
EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
|
|
1048
|
-
ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
|
|
1049
|
-
EditAccountsCreditBooks: 'EditAccountsCreditBooks',
|
|
1050
|
-
ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
|
|
1051
|
-
EditAccountsExpenses: 'EditAccountsExpenses',
|
|
1052
|
-
ViewAccountsExpenses: 'ViewAccountsExpenses',
|
|
1053
|
-
EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
|
|
1054
|
-
ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
|
|
1055
|
-
EditDocumentExplorer: 'EditDocumentExplorer',
|
|
1056
|
-
ViewDocumentExplorer: 'ViewDocumentExplorer',
|
|
1057
|
-
ViewInventoryReports: 'ViewInventoryReports',
|
|
1058
|
-
EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
|
|
1059
|
-
ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
|
|
1060
|
-
EditInventoryStockItems: 'EditInventoryStockItems',
|
|
1061
|
-
ViewInventoryStockItems: 'ViewInventoryStockItems',
|
|
1062
|
-
EditInventorySupplier: 'EditInventorySupplier',
|
|
1063
|
-
ViewInventorySupplier: 'ViewInventorySupplier',
|
|
1064
|
-
EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
|
|
1065
|
-
ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
|
|
1066
|
-
ViewPayrollReports: 'ViewPayrollReports',
|
|
1067
|
-
EditPayrollHoliday: 'EditPayrollHoliday',
|
|
1068
|
-
ViewPayrollHoliday: 'ViewPayrollHoliday',
|
|
1069
|
-
EditPayrollRota: 'EditPayrollRota',
|
|
1070
|
-
ViewPayrollRota: 'ViewPayrollRota',
|
|
1071
|
-
EditPayrollStaff: 'EditPayrollStaff',
|
|
1072
|
-
ViewPayrollStaff: 'ViewPayrollStaff',
|
|
1073
|
-
ViewSalesReports: 'ViewSalesReports',
|
|
1074
|
-
ViewCostReports: 'ViewCostReports',
|
|
1075
|
-
ViewMenuReports: 'ViewMenuReports',
|
|
1076
|
-
ViewBrand: 'ViewBrand',
|
|
1077
|
-
EditBrand: 'EditBrand',
|
|
1078
|
-
CreateBrand: 'CreateBrand',
|
|
1079
|
-
TransferBrand: 'TransferBrand',
|
|
1080
|
-
ViewProperty: 'ViewProperty',
|
|
1081
|
-
EditProperty: 'EditProperty',
|
|
1082
|
-
CreateProperty: 'CreateProperty',
|
|
1083
|
-
ArchiveProperty: 'ArchiveProperty',
|
|
1084
|
-
ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
|
|
1085
|
-
EditEntityFeatureFlags: 'EditEntityFeatureFlags',
|
|
1086
|
-
CreateOrg: 'CreateOrg',
|
|
1087
|
-
EditOrg: 'EditOrg',
|
|
1088
|
-
ViewOrg: 'ViewOrg',
|
|
1089
|
-
ViewWebhooks: 'ViewWebhooks',
|
|
1090
|
-
EditWebhooks: 'EditWebhooks',
|
|
1091
|
-
RoleAdmin: 'RoleAdmin',
|
|
1092
|
-
RoleFactory: 'RoleFactory'
|
|
1093
|
-
} as const;
|
|
1094
|
-
|
|
1095
|
-
export type FeatureBasedRolePermissionsEnum = typeof FeatureBasedRolePermissionsEnum[keyof typeof FeatureBasedRolePermissionsEnum];
|
|
1096
|
-
|
|
1097
625
|
/**
|
|
1098
626
|
* Request to get authorized brands for a principal or the authenticated user based on the headers. Either principal or headers must be provided, but not both. If both are provided, the principal will be used.
|
|
1099
627
|
* @export
|
|
@@ -1113,245 +641,13 @@ export interface GetAuthorizedBrandsRequest {
|
|
|
1113
641
|
*/
|
|
1114
642
|
'headers'?: { [key: string]: string; };
|
|
1115
643
|
/**
|
|
1116
|
-
*
|
|
1117
|
-
* @type {
|
|
644
|
+
*
|
|
645
|
+
* @type {Permissions}
|
|
1118
646
|
* @memberof GetAuthorizedBrandsRequest
|
|
1119
647
|
*/
|
|
1120
|
-
'action':
|
|
648
|
+
'action': Permissions;
|
|
1121
649
|
}
|
|
1122
650
|
|
|
1123
|
-
export const GetAuthorizedBrandsRequestActionEnum = {
|
|
1124
|
-
AnyAuditLogs: 'AnyAuditLogs',
|
|
1125
|
-
ViewApp: 'ViewApp',
|
|
1126
|
-
CreateApp: 'CreateApp',
|
|
1127
|
-
UpdateApp: 'UpdateApp',
|
|
1128
|
-
ViewAppName: 'ViewAppName',
|
|
1129
|
-
EditAppAssets: 'EditAppAssets',
|
|
1130
|
-
EditAppFeatures: 'EditAppFeatures',
|
|
1131
|
-
ViewTeammates: 'ViewTeammates',
|
|
1132
|
-
EditTeammates: 'EditTeammates',
|
|
1133
|
-
CreateTeammateOwner: 'CreateTeammateOwner',
|
|
1134
|
-
CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
|
|
1135
|
-
CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
|
|
1136
|
-
CreateTeammateStoreManager: 'CreateTeammateStoreManager',
|
|
1137
|
-
CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
|
|
1138
|
-
CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
|
|
1139
|
-
CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
|
|
1140
|
-
CreateTeammateIntegrator: 'CreateTeammateIntegrator',
|
|
1141
|
-
CreateTeammateOnboarding: 'CreateTeammateOnboarding',
|
|
1142
|
-
CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
|
|
1143
|
-
CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
|
|
1144
|
-
ViewApmConfigurations: 'ViewApmConfigurations',
|
|
1145
|
-
EditApmConfigurations: 'EditApmConfigurations',
|
|
1146
|
-
ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
|
|
1147
|
-
CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
|
|
1148
|
-
UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
|
|
1149
|
-
DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
|
|
1150
|
-
StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
|
|
1151
|
-
ViewDevelopersSettings: 'ViewDevelopersSettings',
|
|
1152
|
-
EditDevelopersSettings: 'EditDevelopersSettings',
|
|
1153
|
-
ViewOrders: 'ViewOrders',
|
|
1154
|
-
UpdateOrdersAccept: 'UpdateOrdersAccept',
|
|
1155
|
-
UpdateOrdersReject: 'UpdateOrdersReject',
|
|
1156
|
-
UpdateOrdersRefund: 'UpdateOrdersRefund',
|
|
1157
|
-
UpdateOrdersDispatch: 'UpdateOrdersDispatch',
|
|
1158
|
-
ViewStores: 'ViewStores',
|
|
1159
|
-
CreateStores: 'CreateStores',
|
|
1160
|
-
EditStores: 'EditStores',
|
|
1161
|
-
ViewStoresOpeningHours: 'ViewStoresOpeningHours',
|
|
1162
|
-
UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
|
|
1163
|
-
UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
|
|
1164
|
-
ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
|
|
1165
|
-
EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
|
|
1166
|
-
EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
|
|
1167
|
-
UpdateStoresName: 'UpdateStoresName',
|
|
1168
|
-
EditStoreKioskSettings: 'EditStoreKioskSettings',
|
|
1169
|
-
EditStoreOrderCapacity: 'EditStoreOrderCapacity',
|
|
1170
|
-
EditStoreNotifications: 'EditStoreNotifications',
|
|
1171
|
-
ArchiveStores: 'ArchiveStores',
|
|
1172
|
-
PublishStores: 'PublishStores',
|
|
1173
|
-
UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
|
|
1174
|
-
UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
|
|
1175
|
-
ViewStoreGroups: 'ViewStoreGroups',
|
|
1176
|
-
CreateStoreGroups: 'CreateStoreGroups',
|
|
1177
|
-
UpdateStoreGroups: 'UpdateStoreGroups',
|
|
1178
|
-
DeleteStoreGroups: 'DeleteStoreGroups',
|
|
1179
|
-
ViewDeliveryZones: 'ViewDeliveryZones',
|
|
1180
|
-
CreateDeliveryZones: 'CreateDeliveryZones',
|
|
1181
|
-
UpdateDeliveryZones: 'UpdateDeliveryZones',
|
|
1182
|
-
DeleteDeliveryZones: 'DeleteDeliveryZones',
|
|
1183
|
-
ViewMenu: 'ViewMenu',
|
|
1184
|
-
CreateMenu: 'CreateMenu',
|
|
1185
|
-
UpdateMenu: 'UpdateMenu',
|
|
1186
|
-
DeleteMenu: 'DeleteMenu',
|
|
1187
|
-
UpdateMenuLock: 'UpdateMenuLock',
|
|
1188
|
-
UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
|
|
1189
|
-
EditMenuImage: 'EditMenuImage',
|
|
1190
|
-
ViewVouchers: 'ViewVouchers',
|
|
1191
|
-
EditVouchers: 'EditVouchers',
|
|
1192
|
-
ViewWebsiteContent: 'ViewWebsiteContent',
|
|
1193
|
-
EditWebsiteContent: 'EditWebsiteContent',
|
|
1194
|
-
ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
|
|
1195
|
-
ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
|
|
1196
|
-
ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
|
|
1197
|
-
ViewBankAccounts: 'ViewBankAccounts',
|
|
1198
|
-
CreateBankAccounts: 'CreateBankAccounts',
|
|
1199
|
-
UpdateBankAccounts: 'UpdateBankAccounts',
|
|
1200
|
-
UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
|
|
1201
|
-
ViewAssignedBankAccount: 'ViewAssignedBankAccount',
|
|
1202
|
-
VerifyBankAccounts: 'VerifyBankAccounts',
|
|
1203
|
-
ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
|
|
1204
|
-
EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
|
|
1205
|
-
EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
|
|
1206
|
-
EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
|
|
1207
|
-
ViewHydraConfig: 'ViewHydraConfig',
|
|
1208
|
-
UpdateHydraConfigManage: 'UpdateHydraConfigManage',
|
|
1209
|
-
InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
|
|
1210
|
-
DeleteTerminal: 'DeleteTerminal',
|
|
1211
|
-
ViewKioskTelemetry: 'ViewKioskTelemetry',
|
|
1212
|
-
ViewCustomers: 'ViewCustomers',
|
|
1213
|
-
EditCustomers: 'EditCustomers',
|
|
1214
|
-
CreateCustomers: 'CreateCustomers',
|
|
1215
|
-
CreateCatalogElements: 'CreateCatalogElements',
|
|
1216
|
-
UpdateCatalogElements: 'UpdateCatalogElements',
|
|
1217
|
-
ViewCatalogElements: 'ViewCatalogElements',
|
|
1218
|
-
DeleteCatalogElements: 'DeleteCatalogElements',
|
|
1219
|
-
ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
|
|
1220
|
-
CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
|
|
1221
|
-
UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
|
|
1222
|
-
DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
|
|
1223
|
-
UpdateMetafields: 'UpdateMetafields',
|
|
1224
|
-
ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
|
|
1225
|
-
PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
|
|
1226
|
-
ViewAppStatistics: 'ViewAppStatistics',
|
|
1227
|
-
ViewApmStatistics: 'ViewApmStatistics',
|
|
1228
|
-
ViewCampaignsStatistics: 'ViewCampaignsStatistics',
|
|
1229
|
-
ViewCustomerStatistics: 'ViewCustomerStatistics',
|
|
1230
|
-
ViewLiveStatistics: 'ViewLiveStatistics',
|
|
1231
|
-
ViewOrderStatistics: 'ViewOrderStatistics',
|
|
1232
|
-
ViewSalesStatistics: 'ViewSalesStatistics',
|
|
1233
|
-
ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
|
|
1234
|
-
ViewVouchersStatistics: 'ViewVouchersStatistics',
|
|
1235
|
-
DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
|
|
1236
|
-
ViewApmAuditLogs: 'ViewApmAuditLogs',
|
|
1237
|
-
ViewStoreAuditLogs: 'ViewStoreAuditLogs',
|
|
1238
|
-
ViewMenuAuditLogs: 'ViewMenuAuditLogs',
|
|
1239
|
-
ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
|
|
1240
|
-
ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
|
|
1241
|
-
ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
|
|
1242
|
-
ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
|
|
1243
|
-
ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
|
|
1244
|
-
ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
|
|
1245
|
-
ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
|
|
1246
|
-
ViewAppAuditLogs: 'ViewAppAuditLogs',
|
|
1247
|
-
ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
|
|
1248
|
-
ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
|
|
1249
|
-
ViewHydraAuditLogs: 'ViewHydraAuditLogs',
|
|
1250
|
-
ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
|
|
1251
|
-
ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
|
|
1252
|
-
ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
|
|
1253
|
-
ViewExternalAuditLogs: 'ViewExternalAuditLogs',
|
|
1254
|
-
CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
|
|
1255
|
-
ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
|
|
1256
|
-
ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
|
|
1257
|
-
ViewChannelAuditLogs: 'ViewChannelAuditLogs',
|
|
1258
|
-
ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
|
|
1259
|
-
SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
|
|
1260
|
-
InviteDriverToApp: 'InviteDriverToApp',
|
|
1261
|
-
GetDriverForApp: 'GetDriverForApp',
|
|
1262
|
-
RemoveDriverFromApp: 'RemoveDriverFromApp',
|
|
1263
|
-
AssignDriverToOrder: 'AssignDriverToOrder',
|
|
1264
|
-
UnassignDriverFromOrder: 'UnassignDriverFromOrder',
|
|
1265
|
-
UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
|
|
1266
|
-
UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
|
|
1267
|
-
ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
|
|
1268
|
-
CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
|
|
1269
|
-
UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
|
|
1270
|
-
DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
|
|
1271
|
-
ViewPayouts: 'ViewPayouts',
|
|
1272
|
-
ViewChannels: 'ViewChannels',
|
|
1273
|
-
ViewOnboarding: 'ViewOnboarding',
|
|
1274
|
-
UpdateOnboarding: 'UpdateOnboarding',
|
|
1275
|
-
ViewClientDevices: 'ViewClientDevices',
|
|
1276
|
-
UpdateClientDevices: 'UpdateClientDevices',
|
|
1277
|
-
EnrollClientDevices: 'EnrollClientDevices',
|
|
1278
|
-
AssignClientDevices: 'AssignClientDevices',
|
|
1279
|
-
ViewClientAuditLogs: 'ViewClientAuditLogs',
|
|
1280
|
-
CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
|
|
1281
|
-
ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
|
|
1282
|
-
UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
|
|
1283
|
-
DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
|
|
1284
|
-
UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
|
|
1285
|
-
CreateAppStoreSubscription: 'CreateAppStoreSubscription',
|
|
1286
|
-
UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
|
|
1287
|
-
DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
|
|
1288
|
-
ViewSalesChannels: 'ViewSalesChannels',
|
|
1289
|
-
EditSalesChannels: 'EditSalesChannels',
|
|
1290
|
-
CreateSalesChannel: 'CreateSalesChannel',
|
|
1291
|
-
ArchiveSalesChannel: 'ArchiveSalesChannel',
|
|
1292
|
-
UnarchiveSalesChannel: 'UnarchiveSalesChannel',
|
|
1293
|
-
PublishSalesChannel: 'PublishSalesChannel',
|
|
1294
|
-
UnpublishSalesChannel: 'UnpublishSalesChannel',
|
|
1295
|
-
CloneSalesChannel: 'CloneSalesChannel',
|
|
1296
|
-
ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
|
|
1297
|
-
CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
|
|
1298
|
-
UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
|
|
1299
|
-
UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
|
|
1300
|
-
ViewSubscriptions: 'ViewSubscriptions',
|
|
1301
|
-
ViewInvoices: 'ViewInvoices',
|
|
1302
|
-
EditAccountsBills: 'EditAccountsBills',
|
|
1303
|
-
ViewAccountsBills: 'ViewAccountsBills',
|
|
1304
|
-
EditAccountsCategories: 'EditAccountsCategories',
|
|
1305
|
-
ViewAccountsCategories: 'ViewAccountsCategories',
|
|
1306
|
-
EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
|
|
1307
|
-
ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
|
|
1308
|
-
EditAccountsCreditBooks: 'EditAccountsCreditBooks',
|
|
1309
|
-
ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
|
|
1310
|
-
EditAccountsExpenses: 'EditAccountsExpenses',
|
|
1311
|
-
ViewAccountsExpenses: 'ViewAccountsExpenses',
|
|
1312
|
-
EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
|
|
1313
|
-
ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
|
|
1314
|
-
EditDocumentExplorer: 'EditDocumentExplorer',
|
|
1315
|
-
ViewDocumentExplorer: 'ViewDocumentExplorer',
|
|
1316
|
-
ViewInventoryReports: 'ViewInventoryReports',
|
|
1317
|
-
EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
|
|
1318
|
-
ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
|
|
1319
|
-
EditInventoryStockItems: 'EditInventoryStockItems',
|
|
1320
|
-
ViewInventoryStockItems: 'ViewInventoryStockItems',
|
|
1321
|
-
EditInventorySupplier: 'EditInventorySupplier',
|
|
1322
|
-
ViewInventorySupplier: 'ViewInventorySupplier',
|
|
1323
|
-
EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
|
|
1324
|
-
ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
|
|
1325
|
-
ViewPayrollReports: 'ViewPayrollReports',
|
|
1326
|
-
EditPayrollHoliday: 'EditPayrollHoliday',
|
|
1327
|
-
ViewPayrollHoliday: 'ViewPayrollHoliday',
|
|
1328
|
-
EditPayrollRota: 'EditPayrollRota',
|
|
1329
|
-
ViewPayrollRota: 'ViewPayrollRota',
|
|
1330
|
-
EditPayrollStaff: 'EditPayrollStaff',
|
|
1331
|
-
ViewPayrollStaff: 'ViewPayrollStaff',
|
|
1332
|
-
ViewSalesReports: 'ViewSalesReports',
|
|
1333
|
-
ViewCostReports: 'ViewCostReports',
|
|
1334
|
-
ViewMenuReports: 'ViewMenuReports',
|
|
1335
|
-
ViewBrand: 'ViewBrand',
|
|
1336
|
-
EditBrand: 'EditBrand',
|
|
1337
|
-
CreateBrand: 'CreateBrand',
|
|
1338
|
-
TransferBrand: 'TransferBrand',
|
|
1339
|
-
ViewProperty: 'ViewProperty',
|
|
1340
|
-
EditProperty: 'EditProperty',
|
|
1341
|
-
CreateProperty: 'CreateProperty',
|
|
1342
|
-
ArchiveProperty: 'ArchiveProperty',
|
|
1343
|
-
ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
|
|
1344
|
-
EditEntityFeatureFlags: 'EditEntityFeatureFlags',
|
|
1345
|
-
CreateOrg: 'CreateOrg',
|
|
1346
|
-
EditOrg: 'EditOrg',
|
|
1347
|
-
ViewOrg: 'ViewOrg',
|
|
1348
|
-
ViewWebhooks: 'ViewWebhooks',
|
|
1349
|
-
EditWebhooks: 'EditWebhooks',
|
|
1350
|
-
RoleAdmin: 'RoleAdmin',
|
|
1351
|
-
RoleFactory: 'RoleFactory'
|
|
1352
|
-
} as const;
|
|
1353
|
-
|
|
1354
|
-
export type GetAuthorizedBrandsRequestActionEnum = typeof GetAuthorizedBrandsRequestActionEnum[keyof typeof GetAuthorizedBrandsRequestActionEnum];
|
|
1355
651
|
|
|
1356
652
|
/**
|
|
1357
653
|
* Response containing the authorized brands
|
|
@@ -1391,245 +687,13 @@ export interface GetAuthorizedOrgsRequest {
|
|
|
1391
687
|
*/
|
|
1392
688
|
'headers'?: { [key: string]: string; };
|
|
1393
689
|
/**
|
|
1394
|
-
*
|
|
1395
|
-
* @type {
|
|
690
|
+
*
|
|
691
|
+
* @type {Permissions}
|
|
1396
692
|
* @memberof GetAuthorizedOrgsRequest
|
|
1397
693
|
*/
|
|
1398
|
-
'action':
|
|
694
|
+
'action': Permissions;
|
|
1399
695
|
}
|
|
1400
696
|
|
|
1401
|
-
export const GetAuthorizedOrgsRequestActionEnum = {
|
|
1402
|
-
AnyAuditLogs: 'AnyAuditLogs',
|
|
1403
|
-
ViewApp: 'ViewApp',
|
|
1404
|
-
CreateApp: 'CreateApp',
|
|
1405
|
-
UpdateApp: 'UpdateApp',
|
|
1406
|
-
ViewAppName: 'ViewAppName',
|
|
1407
|
-
EditAppAssets: 'EditAppAssets',
|
|
1408
|
-
EditAppFeatures: 'EditAppFeatures',
|
|
1409
|
-
ViewTeammates: 'ViewTeammates',
|
|
1410
|
-
EditTeammates: 'EditTeammates',
|
|
1411
|
-
CreateTeammateOwner: 'CreateTeammateOwner',
|
|
1412
|
-
CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
|
|
1413
|
-
CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
|
|
1414
|
-
CreateTeammateStoreManager: 'CreateTeammateStoreManager',
|
|
1415
|
-
CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
|
|
1416
|
-
CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
|
|
1417
|
-
CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
|
|
1418
|
-
CreateTeammateIntegrator: 'CreateTeammateIntegrator',
|
|
1419
|
-
CreateTeammateOnboarding: 'CreateTeammateOnboarding',
|
|
1420
|
-
CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
|
|
1421
|
-
CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
|
|
1422
|
-
ViewApmConfigurations: 'ViewApmConfigurations',
|
|
1423
|
-
EditApmConfigurations: 'EditApmConfigurations',
|
|
1424
|
-
ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
|
|
1425
|
-
CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
|
|
1426
|
-
UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
|
|
1427
|
-
DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
|
|
1428
|
-
StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
|
|
1429
|
-
ViewDevelopersSettings: 'ViewDevelopersSettings',
|
|
1430
|
-
EditDevelopersSettings: 'EditDevelopersSettings',
|
|
1431
|
-
ViewOrders: 'ViewOrders',
|
|
1432
|
-
UpdateOrdersAccept: 'UpdateOrdersAccept',
|
|
1433
|
-
UpdateOrdersReject: 'UpdateOrdersReject',
|
|
1434
|
-
UpdateOrdersRefund: 'UpdateOrdersRefund',
|
|
1435
|
-
UpdateOrdersDispatch: 'UpdateOrdersDispatch',
|
|
1436
|
-
ViewStores: 'ViewStores',
|
|
1437
|
-
CreateStores: 'CreateStores',
|
|
1438
|
-
EditStores: 'EditStores',
|
|
1439
|
-
ViewStoresOpeningHours: 'ViewStoresOpeningHours',
|
|
1440
|
-
UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
|
|
1441
|
-
UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
|
|
1442
|
-
ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
|
|
1443
|
-
EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
|
|
1444
|
-
EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
|
|
1445
|
-
UpdateStoresName: 'UpdateStoresName',
|
|
1446
|
-
EditStoreKioskSettings: 'EditStoreKioskSettings',
|
|
1447
|
-
EditStoreOrderCapacity: 'EditStoreOrderCapacity',
|
|
1448
|
-
EditStoreNotifications: 'EditStoreNotifications',
|
|
1449
|
-
ArchiveStores: 'ArchiveStores',
|
|
1450
|
-
PublishStores: 'PublishStores',
|
|
1451
|
-
UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
|
|
1452
|
-
UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
|
|
1453
|
-
ViewStoreGroups: 'ViewStoreGroups',
|
|
1454
|
-
CreateStoreGroups: 'CreateStoreGroups',
|
|
1455
|
-
UpdateStoreGroups: 'UpdateStoreGroups',
|
|
1456
|
-
DeleteStoreGroups: 'DeleteStoreGroups',
|
|
1457
|
-
ViewDeliveryZones: 'ViewDeliveryZones',
|
|
1458
|
-
CreateDeliveryZones: 'CreateDeliveryZones',
|
|
1459
|
-
UpdateDeliveryZones: 'UpdateDeliveryZones',
|
|
1460
|
-
DeleteDeliveryZones: 'DeleteDeliveryZones',
|
|
1461
|
-
ViewMenu: 'ViewMenu',
|
|
1462
|
-
CreateMenu: 'CreateMenu',
|
|
1463
|
-
UpdateMenu: 'UpdateMenu',
|
|
1464
|
-
DeleteMenu: 'DeleteMenu',
|
|
1465
|
-
UpdateMenuLock: 'UpdateMenuLock',
|
|
1466
|
-
UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
|
|
1467
|
-
EditMenuImage: 'EditMenuImage',
|
|
1468
|
-
ViewVouchers: 'ViewVouchers',
|
|
1469
|
-
EditVouchers: 'EditVouchers',
|
|
1470
|
-
ViewWebsiteContent: 'ViewWebsiteContent',
|
|
1471
|
-
EditWebsiteContent: 'EditWebsiteContent',
|
|
1472
|
-
ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
|
|
1473
|
-
ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
|
|
1474
|
-
ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
|
|
1475
|
-
ViewBankAccounts: 'ViewBankAccounts',
|
|
1476
|
-
CreateBankAccounts: 'CreateBankAccounts',
|
|
1477
|
-
UpdateBankAccounts: 'UpdateBankAccounts',
|
|
1478
|
-
UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
|
|
1479
|
-
ViewAssignedBankAccount: 'ViewAssignedBankAccount',
|
|
1480
|
-
VerifyBankAccounts: 'VerifyBankAccounts',
|
|
1481
|
-
ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
|
|
1482
|
-
EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
|
|
1483
|
-
EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
|
|
1484
|
-
EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
|
|
1485
|
-
ViewHydraConfig: 'ViewHydraConfig',
|
|
1486
|
-
UpdateHydraConfigManage: 'UpdateHydraConfigManage',
|
|
1487
|
-
InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
|
|
1488
|
-
DeleteTerminal: 'DeleteTerminal',
|
|
1489
|
-
ViewKioskTelemetry: 'ViewKioskTelemetry',
|
|
1490
|
-
ViewCustomers: 'ViewCustomers',
|
|
1491
|
-
EditCustomers: 'EditCustomers',
|
|
1492
|
-
CreateCustomers: 'CreateCustomers',
|
|
1493
|
-
CreateCatalogElements: 'CreateCatalogElements',
|
|
1494
|
-
UpdateCatalogElements: 'UpdateCatalogElements',
|
|
1495
|
-
ViewCatalogElements: 'ViewCatalogElements',
|
|
1496
|
-
DeleteCatalogElements: 'DeleteCatalogElements',
|
|
1497
|
-
ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
|
|
1498
|
-
CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
|
|
1499
|
-
UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
|
|
1500
|
-
DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
|
|
1501
|
-
UpdateMetafields: 'UpdateMetafields',
|
|
1502
|
-
ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
|
|
1503
|
-
PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
|
|
1504
|
-
ViewAppStatistics: 'ViewAppStatistics',
|
|
1505
|
-
ViewApmStatistics: 'ViewApmStatistics',
|
|
1506
|
-
ViewCampaignsStatistics: 'ViewCampaignsStatistics',
|
|
1507
|
-
ViewCustomerStatistics: 'ViewCustomerStatistics',
|
|
1508
|
-
ViewLiveStatistics: 'ViewLiveStatistics',
|
|
1509
|
-
ViewOrderStatistics: 'ViewOrderStatistics',
|
|
1510
|
-
ViewSalesStatistics: 'ViewSalesStatistics',
|
|
1511
|
-
ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
|
|
1512
|
-
ViewVouchersStatistics: 'ViewVouchersStatistics',
|
|
1513
|
-
DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
|
|
1514
|
-
ViewApmAuditLogs: 'ViewApmAuditLogs',
|
|
1515
|
-
ViewStoreAuditLogs: 'ViewStoreAuditLogs',
|
|
1516
|
-
ViewMenuAuditLogs: 'ViewMenuAuditLogs',
|
|
1517
|
-
ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
|
|
1518
|
-
ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
|
|
1519
|
-
ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
|
|
1520
|
-
ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
|
|
1521
|
-
ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
|
|
1522
|
-
ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
|
|
1523
|
-
ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
|
|
1524
|
-
ViewAppAuditLogs: 'ViewAppAuditLogs',
|
|
1525
|
-
ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
|
|
1526
|
-
ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
|
|
1527
|
-
ViewHydraAuditLogs: 'ViewHydraAuditLogs',
|
|
1528
|
-
ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
|
|
1529
|
-
ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
|
|
1530
|
-
ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
|
|
1531
|
-
ViewExternalAuditLogs: 'ViewExternalAuditLogs',
|
|
1532
|
-
CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
|
|
1533
|
-
ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
|
|
1534
|
-
ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
|
|
1535
|
-
ViewChannelAuditLogs: 'ViewChannelAuditLogs',
|
|
1536
|
-
ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
|
|
1537
|
-
SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
|
|
1538
|
-
InviteDriverToApp: 'InviteDriverToApp',
|
|
1539
|
-
GetDriverForApp: 'GetDriverForApp',
|
|
1540
|
-
RemoveDriverFromApp: 'RemoveDriverFromApp',
|
|
1541
|
-
AssignDriverToOrder: 'AssignDriverToOrder',
|
|
1542
|
-
UnassignDriverFromOrder: 'UnassignDriverFromOrder',
|
|
1543
|
-
UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
|
|
1544
|
-
UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
|
|
1545
|
-
ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
|
|
1546
|
-
CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
|
|
1547
|
-
UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
|
|
1548
|
-
DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
|
|
1549
|
-
ViewPayouts: 'ViewPayouts',
|
|
1550
|
-
ViewChannels: 'ViewChannels',
|
|
1551
|
-
ViewOnboarding: 'ViewOnboarding',
|
|
1552
|
-
UpdateOnboarding: 'UpdateOnboarding',
|
|
1553
|
-
ViewClientDevices: 'ViewClientDevices',
|
|
1554
|
-
UpdateClientDevices: 'UpdateClientDevices',
|
|
1555
|
-
EnrollClientDevices: 'EnrollClientDevices',
|
|
1556
|
-
AssignClientDevices: 'AssignClientDevices',
|
|
1557
|
-
ViewClientAuditLogs: 'ViewClientAuditLogs',
|
|
1558
|
-
CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
|
|
1559
|
-
ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
|
|
1560
|
-
UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
|
|
1561
|
-
DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
|
|
1562
|
-
UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
|
|
1563
|
-
CreateAppStoreSubscription: 'CreateAppStoreSubscription',
|
|
1564
|
-
UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
|
|
1565
|
-
DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
|
|
1566
|
-
ViewSalesChannels: 'ViewSalesChannels',
|
|
1567
|
-
EditSalesChannels: 'EditSalesChannels',
|
|
1568
|
-
CreateSalesChannel: 'CreateSalesChannel',
|
|
1569
|
-
ArchiveSalesChannel: 'ArchiveSalesChannel',
|
|
1570
|
-
UnarchiveSalesChannel: 'UnarchiveSalesChannel',
|
|
1571
|
-
PublishSalesChannel: 'PublishSalesChannel',
|
|
1572
|
-
UnpublishSalesChannel: 'UnpublishSalesChannel',
|
|
1573
|
-
CloneSalesChannel: 'CloneSalesChannel',
|
|
1574
|
-
ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
|
|
1575
|
-
CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
|
|
1576
|
-
UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
|
|
1577
|
-
UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
|
|
1578
|
-
ViewSubscriptions: 'ViewSubscriptions',
|
|
1579
|
-
ViewInvoices: 'ViewInvoices',
|
|
1580
|
-
EditAccountsBills: 'EditAccountsBills',
|
|
1581
|
-
ViewAccountsBills: 'ViewAccountsBills',
|
|
1582
|
-
EditAccountsCategories: 'EditAccountsCategories',
|
|
1583
|
-
ViewAccountsCategories: 'ViewAccountsCategories',
|
|
1584
|
-
EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
|
|
1585
|
-
ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
|
|
1586
|
-
EditAccountsCreditBooks: 'EditAccountsCreditBooks',
|
|
1587
|
-
ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
|
|
1588
|
-
EditAccountsExpenses: 'EditAccountsExpenses',
|
|
1589
|
-
ViewAccountsExpenses: 'ViewAccountsExpenses',
|
|
1590
|
-
EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
|
|
1591
|
-
ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
|
|
1592
|
-
EditDocumentExplorer: 'EditDocumentExplorer',
|
|
1593
|
-
ViewDocumentExplorer: 'ViewDocumentExplorer',
|
|
1594
|
-
ViewInventoryReports: 'ViewInventoryReports',
|
|
1595
|
-
EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
|
|
1596
|
-
ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
|
|
1597
|
-
EditInventoryStockItems: 'EditInventoryStockItems',
|
|
1598
|
-
ViewInventoryStockItems: 'ViewInventoryStockItems',
|
|
1599
|
-
EditInventorySupplier: 'EditInventorySupplier',
|
|
1600
|
-
ViewInventorySupplier: 'ViewInventorySupplier',
|
|
1601
|
-
EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
|
|
1602
|
-
ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
|
|
1603
|
-
ViewPayrollReports: 'ViewPayrollReports',
|
|
1604
|
-
EditPayrollHoliday: 'EditPayrollHoliday',
|
|
1605
|
-
ViewPayrollHoliday: 'ViewPayrollHoliday',
|
|
1606
|
-
EditPayrollRota: 'EditPayrollRota',
|
|
1607
|
-
ViewPayrollRota: 'ViewPayrollRota',
|
|
1608
|
-
EditPayrollStaff: 'EditPayrollStaff',
|
|
1609
|
-
ViewPayrollStaff: 'ViewPayrollStaff',
|
|
1610
|
-
ViewSalesReports: 'ViewSalesReports',
|
|
1611
|
-
ViewCostReports: 'ViewCostReports',
|
|
1612
|
-
ViewMenuReports: 'ViewMenuReports',
|
|
1613
|
-
ViewBrand: 'ViewBrand',
|
|
1614
|
-
EditBrand: 'EditBrand',
|
|
1615
|
-
CreateBrand: 'CreateBrand',
|
|
1616
|
-
TransferBrand: 'TransferBrand',
|
|
1617
|
-
ViewProperty: 'ViewProperty',
|
|
1618
|
-
EditProperty: 'EditProperty',
|
|
1619
|
-
CreateProperty: 'CreateProperty',
|
|
1620
|
-
ArchiveProperty: 'ArchiveProperty',
|
|
1621
|
-
ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
|
|
1622
|
-
EditEntityFeatureFlags: 'EditEntityFeatureFlags',
|
|
1623
|
-
CreateOrg: 'CreateOrg',
|
|
1624
|
-
EditOrg: 'EditOrg',
|
|
1625
|
-
ViewOrg: 'ViewOrg',
|
|
1626
|
-
ViewWebhooks: 'ViewWebhooks',
|
|
1627
|
-
EditWebhooks: 'EditWebhooks',
|
|
1628
|
-
RoleAdmin: 'RoleAdmin',
|
|
1629
|
-
RoleFactory: 'RoleFactory'
|
|
1630
|
-
} as const;
|
|
1631
|
-
|
|
1632
|
-
export type GetAuthorizedOrgsRequestActionEnum = typeof GetAuthorizedOrgsRequestActionEnum[keyof typeof GetAuthorizedOrgsRequestActionEnum];
|
|
1633
697
|
|
|
1634
698
|
/**
|
|
1635
699
|
* The principal to get authorized entities for
|
|
@@ -1714,245 +778,13 @@ export interface GetAuthorizedPropertiesRequest {
|
|
|
1714
778
|
*/
|
|
1715
779
|
'headers'?: { [key: string]: string; };
|
|
1716
780
|
/**
|
|
1717
|
-
*
|
|
1718
|
-
* @type {
|
|
781
|
+
*
|
|
782
|
+
* @type {Permissions}
|
|
1719
783
|
* @memberof GetAuthorizedPropertiesRequest
|
|
1720
784
|
*/
|
|
1721
|
-
'action':
|
|
785
|
+
'action': Permissions;
|
|
1722
786
|
}
|
|
1723
787
|
|
|
1724
|
-
export const GetAuthorizedPropertiesRequestActionEnum = {
|
|
1725
|
-
AnyAuditLogs: 'AnyAuditLogs',
|
|
1726
|
-
ViewApp: 'ViewApp',
|
|
1727
|
-
CreateApp: 'CreateApp',
|
|
1728
|
-
UpdateApp: 'UpdateApp',
|
|
1729
|
-
ViewAppName: 'ViewAppName',
|
|
1730
|
-
EditAppAssets: 'EditAppAssets',
|
|
1731
|
-
EditAppFeatures: 'EditAppFeatures',
|
|
1732
|
-
ViewTeammates: 'ViewTeammates',
|
|
1733
|
-
EditTeammates: 'EditTeammates',
|
|
1734
|
-
CreateTeammateOwner: 'CreateTeammateOwner',
|
|
1735
|
-
CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
|
|
1736
|
-
CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
|
|
1737
|
-
CreateTeammateStoreManager: 'CreateTeammateStoreManager',
|
|
1738
|
-
CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
|
|
1739
|
-
CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
|
|
1740
|
-
CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
|
|
1741
|
-
CreateTeammateIntegrator: 'CreateTeammateIntegrator',
|
|
1742
|
-
CreateTeammateOnboarding: 'CreateTeammateOnboarding',
|
|
1743
|
-
CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
|
|
1744
|
-
CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
|
|
1745
|
-
ViewApmConfigurations: 'ViewApmConfigurations',
|
|
1746
|
-
EditApmConfigurations: 'EditApmConfigurations',
|
|
1747
|
-
ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
|
|
1748
|
-
CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
|
|
1749
|
-
UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
|
|
1750
|
-
DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
|
|
1751
|
-
StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
|
|
1752
|
-
ViewDevelopersSettings: 'ViewDevelopersSettings',
|
|
1753
|
-
EditDevelopersSettings: 'EditDevelopersSettings',
|
|
1754
|
-
ViewOrders: 'ViewOrders',
|
|
1755
|
-
UpdateOrdersAccept: 'UpdateOrdersAccept',
|
|
1756
|
-
UpdateOrdersReject: 'UpdateOrdersReject',
|
|
1757
|
-
UpdateOrdersRefund: 'UpdateOrdersRefund',
|
|
1758
|
-
UpdateOrdersDispatch: 'UpdateOrdersDispatch',
|
|
1759
|
-
ViewStores: 'ViewStores',
|
|
1760
|
-
CreateStores: 'CreateStores',
|
|
1761
|
-
EditStores: 'EditStores',
|
|
1762
|
-
ViewStoresOpeningHours: 'ViewStoresOpeningHours',
|
|
1763
|
-
UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
|
|
1764
|
-
UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
|
|
1765
|
-
ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
|
|
1766
|
-
EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
|
|
1767
|
-
EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
|
|
1768
|
-
UpdateStoresName: 'UpdateStoresName',
|
|
1769
|
-
EditStoreKioskSettings: 'EditStoreKioskSettings',
|
|
1770
|
-
EditStoreOrderCapacity: 'EditStoreOrderCapacity',
|
|
1771
|
-
EditStoreNotifications: 'EditStoreNotifications',
|
|
1772
|
-
ArchiveStores: 'ArchiveStores',
|
|
1773
|
-
PublishStores: 'PublishStores',
|
|
1774
|
-
UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
|
|
1775
|
-
UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
|
|
1776
|
-
ViewStoreGroups: 'ViewStoreGroups',
|
|
1777
|
-
CreateStoreGroups: 'CreateStoreGroups',
|
|
1778
|
-
UpdateStoreGroups: 'UpdateStoreGroups',
|
|
1779
|
-
DeleteStoreGroups: 'DeleteStoreGroups',
|
|
1780
|
-
ViewDeliveryZones: 'ViewDeliveryZones',
|
|
1781
|
-
CreateDeliveryZones: 'CreateDeliveryZones',
|
|
1782
|
-
UpdateDeliveryZones: 'UpdateDeliveryZones',
|
|
1783
|
-
DeleteDeliveryZones: 'DeleteDeliveryZones',
|
|
1784
|
-
ViewMenu: 'ViewMenu',
|
|
1785
|
-
CreateMenu: 'CreateMenu',
|
|
1786
|
-
UpdateMenu: 'UpdateMenu',
|
|
1787
|
-
DeleteMenu: 'DeleteMenu',
|
|
1788
|
-
UpdateMenuLock: 'UpdateMenuLock',
|
|
1789
|
-
UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
|
|
1790
|
-
EditMenuImage: 'EditMenuImage',
|
|
1791
|
-
ViewVouchers: 'ViewVouchers',
|
|
1792
|
-
EditVouchers: 'EditVouchers',
|
|
1793
|
-
ViewWebsiteContent: 'ViewWebsiteContent',
|
|
1794
|
-
EditWebsiteContent: 'EditWebsiteContent',
|
|
1795
|
-
ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
|
|
1796
|
-
ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
|
|
1797
|
-
ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
|
|
1798
|
-
ViewBankAccounts: 'ViewBankAccounts',
|
|
1799
|
-
CreateBankAccounts: 'CreateBankAccounts',
|
|
1800
|
-
UpdateBankAccounts: 'UpdateBankAccounts',
|
|
1801
|
-
UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
|
|
1802
|
-
ViewAssignedBankAccount: 'ViewAssignedBankAccount',
|
|
1803
|
-
VerifyBankAccounts: 'VerifyBankAccounts',
|
|
1804
|
-
ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
|
|
1805
|
-
EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
|
|
1806
|
-
EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
|
|
1807
|
-
EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
|
|
1808
|
-
ViewHydraConfig: 'ViewHydraConfig',
|
|
1809
|
-
UpdateHydraConfigManage: 'UpdateHydraConfigManage',
|
|
1810
|
-
InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
|
|
1811
|
-
DeleteTerminal: 'DeleteTerminal',
|
|
1812
|
-
ViewKioskTelemetry: 'ViewKioskTelemetry',
|
|
1813
|
-
ViewCustomers: 'ViewCustomers',
|
|
1814
|
-
EditCustomers: 'EditCustomers',
|
|
1815
|
-
CreateCustomers: 'CreateCustomers',
|
|
1816
|
-
CreateCatalogElements: 'CreateCatalogElements',
|
|
1817
|
-
UpdateCatalogElements: 'UpdateCatalogElements',
|
|
1818
|
-
ViewCatalogElements: 'ViewCatalogElements',
|
|
1819
|
-
DeleteCatalogElements: 'DeleteCatalogElements',
|
|
1820
|
-
ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
|
|
1821
|
-
CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
|
|
1822
|
-
UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
|
|
1823
|
-
DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
|
|
1824
|
-
UpdateMetafields: 'UpdateMetafields',
|
|
1825
|
-
ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
|
|
1826
|
-
PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
|
|
1827
|
-
ViewAppStatistics: 'ViewAppStatistics',
|
|
1828
|
-
ViewApmStatistics: 'ViewApmStatistics',
|
|
1829
|
-
ViewCampaignsStatistics: 'ViewCampaignsStatistics',
|
|
1830
|
-
ViewCustomerStatistics: 'ViewCustomerStatistics',
|
|
1831
|
-
ViewLiveStatistics: 'ViewLiveStatistics',
|
|
1832
|
-
ViewOrderStatistics: 'ViewOrderStatistics',
|
|
1833
|
-
ViewSalesStatistics: 'ViewSalesStatistics',
|
|
1834
|
-
ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
|
|
1835
|
-
ViewVouchersStatistics: 'ViewVouchersStatistics',
|
|
1836
|
-
DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
|
|
1837
|
-
ViewApmAuditLogs: 'ViewApmAuditLogs',
|
|
1838
|
-
ViewStoreAuditLogs: 'ViewStoreAuditLogs',
|
|
1839
|
-
ViewMenuAuditLogs: 'ViewMenuAuditLogs',
|
|
1840
|
-
ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
|
|
1841
|
-
ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
|
|
1842
|
-
ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
|
|
1843
|
-
ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
|
|
1844
|
-
ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
|
|
1845
|
-
ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
|
|
1846
|
-
ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
|
|
1847
|
-
ViewAppAuditLogs: 'ViewAppAuditLogs',
|
|
1848
|
-
ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
|
|
1849
|
-
ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
|
|
1850
|
-
ViewHydraAuditLogs: 'ViewHydraAuditLogs',
|
|
1851
|
-
ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
|
|
1852
|
-
ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
|
|
1853
|
-
ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
|
|
1854
|
-
ViewExternalAuditLogs: 'ViewExternalAuditLogs',
|
|
1855
|
-
CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
|
|
1856
|
-
ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
|
|
1857
|
-
ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
|
|
1858
|
-
ViewChannelAuditLogs: 'ViewChannelAuditLogs',
|
|
1859
|
-
ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
|
|
1860
|
-
SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
|
|
1861
|
-
InviteDriverToApp: 'InviteDriverToApp',
|
|
1862
|
-
GetDriverForApp: 'GetDriverForApp',
|
|
1863
|
-
RemoveDriverFromApp: 'RemoveDriverFromApp',
|
|
1864
|
-
AssignDriverToOrder: 'AssignDriverToOrder',
|
|
1865
|
-
UnassignDriverFromOrder: 'UnassignDriverFromOrder',
|
|
1866
|
-
UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
|
|
1867
|
-
UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
|
|
1868
|
-
ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
|
|
1869
|
-
CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
|
|
1870
|
-
UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
|
|
1871
|
-
DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
|
|
1872
|
-
ViewPayouts: 'ViewPayouts',
|
|
1873
|
-
ViewChannels: 'ViewChannels',
|
|
1874
|
-
ViewOnboarding: 'ViewOnboarding',
|
|
1875
|
-
UpdateOnboarding: 'UpdateOnboarding',
|
|
1876
|
-
ViewClientDevices: 'ViewClientDevices',
|
|
1877
|
-
UpdateClientDevices: 'UpdateClientDevices',
|
|
1878
|
-
EnrollClientDevices: 'EnrollClientDevices',
|
|
1879
|
-
AssignClientDevices: 'AssignClientDevices',
|
|
1880
|
-
ViewClientAuditLogs: 'ViewClientAuditLogs',
|
|
1881
|
-
CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
|
|
1882
|
-
ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
|
|
1883
|
-
UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
|
|
1884
|
-
DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
|
|
1885
|
-
UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
|
|
1886
|
-
CreateAppStoreSubscription: 'CreateAppStoreSubscription',
|
|
1887
|
-
UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
|
|
1888
|
-
DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
|
|
1889
|
-
ViewSalesChannels: 'ViewSalesChannels',
|
|
1890
|
-
EditSalesChannels: 'EditSalesChannels',
|
|
1891
|
-
CreateSalesChannel: 'CreateSalesChannel',
|
|
1892
|
-
ArchiveSalesChannel: 'ArchiveSalesChannel',
|
|
1893
|
-
UnarchiveSalesChannel: 'UnarchiveSalesChannel',
|
|
1894
|
-
PublishSalesChannel: 'PublishSalesChannel',
|
|
1895
|
-
UnpublishSalesChannel: 'UnpublishSalesChannel',
|
|
1896
|
-
CloneSalesChannel: 'CloneSalesChannel',
|
|
1897
|
-
ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
|
|
1898
|
-
CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
|
|
1899
|
-
UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
|
|
1900
|
-
UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
|
|
1901
|
-
ViewSubscriptions: 'ViewSubscriptions',
|
|
1902
|
-
ViewInvoices: 'ViewInvoices',
|
|
1903
|
-
EditAccountsBills: 'EditAccountsBills',
|
|
1904
|
-
ViewAccountsBills: 'ViewAccountsBills',
|
|
1905
|
-
EditAccountsCategories: 'EditAccountsCategories',
|
|
1906
|
-
ViewAccountsCategories: 'ViewAccountsCategories',
|
|
1907
|
-
EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
|
|
1908
|
-
ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
|
|
1909
|
-
EditAccountsCreditBooks: 'EditAccountsCreditBooks',
|
|
1910
|
-
ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
|
|
1911
|
-
EditAccountsExpenses: 'EditAccountsExpenses',
|
|
1912
|
-
ViewAccountsExpenses: 'ViewAccountsExpenses',
|
|
1913
|
-
EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
|
|
1914
|
-
ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
|
|
1915
|
-
EditDocumentExplorer: 'EditDocumentExplorer',
|
|
1916
|
-
ViewDocumentExplorer: 'ViewDocumentExplorer',
|
|
1917
|
-
ViewInventoryReports: 'ViewInventoryReports',
|
|
1918
|
-
EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
|
|
1919
|
-
ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
|
|
1920
|
-
EditInventoryStockItems: 'EditInventoryStockItems',
|
|
1921
|
-
ViewInventoryStockItems: 'ViewInventoryStockItems',
|
|
1922
|
-
EditInventorySupplier: 'EditInventorySupplier',
|
|
1923
|
-
ViewInventorySupplier: 'ViewInventorySupplier',
|
|
1924
|
-
EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
|
|
1925
|
-
ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
|
|
1926
|
-
ViewPayrollReports: 'ViewPayrollReports',
|
|
1927
|
-
EditPayrollHoliday: 'EditPayrollHoliday',
|
|
1928
|
-
ViewPayrollHoliday: 'ViewPayrollHoliday',
|
|
1929
|
-
EditPayrollRota: 'EditPayrollRota',
|
|
1930
|
-
ViewPayrollRota: 'ViewPayrollRota',
|
|
1931
|
-
EditPayrollStaff: 'EditPayrollStaff',
|
|
1932
|
-
ViewPayrollStaff: 'ViewPayrollStaff',
|
|
1933
|
-
ViewSalesReports: 'ViewSalesReports',
|
|
1934
|
-
ViewCostReports: 'ViewCostReports',
|
|
1935
|
-
ViewMenuReports: 'ViewMenuReports',
|
|
1936
|
-
ViewBrand: 'ViewBrand',
|
|
1937
|
-
EditBrand: 'EditBrand',
|
|
1938
|
-
CreateBrand: 'CreateBrand',
|
|
1939
|
-
TransferBrand: 'TransferBrand',
|
|
1940
|
-
ViewProperty: 'ViewProperty',
|
|
1941
|
-
EditProperty: 'EditProperty',
|
|
1942
|
-
CreateProperty: 'CreateProperty',
|
|
1943
|
-
ArchiveProperty: 'ArchiveProperty',
|
|
1944
|
-
ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
|
|
1945
|
-
EditEntityFeatureFlags: 'EditEntityFeatureFlags',
|
|
1946
|
-
CreateOrg: 'CreateOrg',
|
|
1947
|
-
EditOrg: 'EditOrg',
|
|
1948
|
-
ViewOrg: 'ViewOrg',
|
|
1949
|
-
ViewWebhooks: 'ViewWebhooks',
|
|
1950
|
-
EditWebhooks: 'EditWebhooks',
|
|
1951
|
-
RoleAdmin: 'RoleAdmin',
|
|
1952
|
-
RoleFactory: 'RoleFactory'
|
|
1953
|
-
} as const;
|
|
1954
|
-
|
|
1955
|
-
export type GetAuthorizedPropertiesRequestActionEnum = typeof GetAuthorizedPropertiesRequestActionEnum[keyof typeof GetAuthorizedPropertiesRequestActionEnum];
|
|
1956
788
|
|
|
1957
789
|
/**
|
|
1958
790
|
* Response containing the authorized properties
|
|
@@ -2034,367 +866,135 @@ export interface GetPrincipalRolesSuccessResponseRolesInner {
|
|
|
2034
866
|
* @type {string}
|
|
2035
867
|
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
2036
868
|
*/
|
|
2037
|
-
'assignedAt': string;
|
|
2038
|
-
/**
|
|
2039
|
-
* User who assigned the role
|
|
2040
|
-
* @type {string}
|
|
2041
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
2042
|
-
*/
|
|
2043
|
-
'assignedBy': string;
|
|
2044
|
-
/**
|
|
2045
|
-
* Type of resource the role is assigned to
|
|
2046
|
-
* @type {string}
|
|
2047
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
2048
|
-
*/
|
|
2049
|
-
'resourceType'?: GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum;
|
|
2050
|
-
/**
|
|
2051
|
-
* Organization ID
|
|
2052
|
-
* @type {string}
|
|
2053
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
2054
|
-
*/
|
|
2055
|
-
'orgId'?: string;
|
|
2056
|
-
/**
|
|
2057
|
-
* Property ID
|
|
2058
|
-
* @type {string}
|
|
2059
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
2060
|
-
*/
|
|
2061
|
-
'propertyId'?: string;
|
|
2062
|
-
/**
|
|
2063
|
-
* Brand ID this role is scoped to
|
|
2064
|
-
* @type {string}
|
|
2065
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
2066
|
-
*/
|
|
2067
|
-
'brandId'?: string;
|
|
2068
|
-
/**
|
|
2069
|
-
* Sales channel ID this role is scoped to
|
|
2070
|
-
* @type {string}
|
|
2071
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
2072
|
-
*/
|
|
2073
|
-
'salesChannelId'?: string;
|
|
2074
|
-
/**
|
|
2075
|
-
* Principal ID this role is assigned to
|
|
2076
|
-
* @type {string}
|
|
2077
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
2078
|
-
*/
|
|
2079
|
-
'principalId': string;
|
|
2080
|
-
/**
|
|
2081
|
-
* Type of principal this role is assigned to
|
|
2082
|
-
* @type {string}
|
|
2083
|
-
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
2084
|
-
*/
|
|
2085
|
-
'principalType': GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum;
|
|
2086
|
-
}
|
|
2087
|
-
|
|
2088
|
-
export const GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum = {
|
|
2089
|
-
Main: 'Main',
|
|
2090
|
-
BrandOverride: 'BrandOverride',
|
|
2091
|
-
OrgOverride: 'OrgOverride',
|
|
2092
|
-
Forbidden: 'Forbidden',
|
|
2093
|
-
NamedRole: 'NamedRole'
|
|
2094
|
-
} as const;
|
|
2095
|
-
|
|
2096
|
-
export type GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum = typeof GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum[keyof typeof GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum];
|
|
2097
|
-
export const GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum = {
|
|
2098
|
-
Property: 'Property',
|
|
2099
|
-
Org: 'Org',
|
|
2100
|
-
Brand: 'Brand',
|
|
2101
|
-
SalesChannel: 'SalesChannel'
|
|
2102
|
-
} as const;
|
|
2103
|
-
|
|
2104
|
-
export type GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum = typeof GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum[keyof typeof GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum];
|
|
2105
|
-
export const GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum = {
|
|
2106
|
-
User: 'User',
|
|
2107
|
-
Automation: 'Automation'
|
|
2108
|
-
} as const;
|
|
2109
|
-
|
|
2110
|
-
export type GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum = typeof GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum[keyof typeof GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum];
|
|
2111
|
-
|
|
2112
|
-
/**
|
|
2113
|
-
* Role name
|
|
2114
|
-
* @export
|
|
2115
|
-
* @interface GetPrincipalRolesSuccessResponseRolesInnerRoleName
|
|
2116
|
-
*/
|
|
2117
|
-
export interface GetPrincipalRolesSuccessResponseRolesInnerRoleName {
|
|
2118
|
-
}
|
|
2119
|
-
/**
|
|
2120
|
-
* Successful user permissions retrieval response
|
|
2121
|
-
* @export
|
|
2122
|
-
* @interface GetUserPermissionsSuccessResponse
|
|
2123
|
-
*/
|
|
2124
|
-
export interface GetUserPermissionsSuccessResponse {
|
|
2125
|
-
/**
|
|
2126
|
-
* Map of resource IDs to permissions
|
|
2127
|
-
* @type {{ [key: string]: GetUserPermissionsSuccessResponseResourcesValue; }}
|
|
2128
|
-
* @memberof GetUserPermissionsSuccessResponse
|
|
2129
|
-
*/
|
|
2130
|
-
'resources': { [key: string]: GetUserPermissionsSuccessResponseResourcesValue; };
|
|
2131
|
-
}
|
|
2132
|
-
/**
|
|
2133
|
-
*
|
|
2134
|
-
* @export
|
|
2135
|
-
* @interface GetUserPermissionsSuccessResponseResourcesValue
|
|
2136
|
-
*/
|
|
2137
|
-
export interface GetUserPermissionsSuccessResponseResourcesValue {
|
|
2138
|
-
/**
|
|
2139
|
-
* Type of resource the permissions are assigned to
|
|
2140
|
-
* @type {string}
|
|
2141
|
-
* @memberof GetUserPermissionsSuccessResponseResourcesValue
|
|
2142
|
-
*/
|
|
2143
|
-
'resourceType': GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum;
|
|
2144
|
-
/**
|
|
2145
|
-
*
|
|
2146
|
-
* @type {GetUserPermissionsSuccessResponseResourcesValueResourceId}
|
|
2147
|
-
* @memberof GetUserPermissionsSuccessResponseResourcesValue
|
|
2148
|
-
*/
|
|
2149
|
-
'resourceId': GetUserPermissionsSuccessResponseResourcesValueResourceId;
|
|
2150
|
-
/**
|
|
2151
|
-
* List of permissions that are assigned to the user for the resource
|
|
2152
|
-
* @type {Array<
|
|
2153
|
-
* @memberof GetUserPermissionsSuccessResponseResourcesValue
|
|
2154
|
-
*/
|
|
2155
|
-
'permissions': Array<
|
|
2156
|
-
}
|
|
2157
|
-
|
|
2158
|
-
export const GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = {
|
|
2159
|
-
Property: 'Property',
|
|
2160
|
-
Org: 'Org',
|
|
2161
|
-
Brand: 'Brand',
|
|
2162
|
-
SalesChannel: 'SalesChannel'
|
|
2163
|
-
} as const;
|
|
2164
|
-
|
|
2165
|
-
export type GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = typeof GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum[keyof typeof GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum];
|
|
2166
|
-
export const GetUserPermissionsSuccessResponseResourcesValuePermissionsEnum = {
|
|
2167
|
-
AnyAuditLogs: 'AnyAuditLogs',
|
|
2168
|
-
ViewApp: 'ViewApp',
|
|
2169
|
-
CreateApp: 'CreateApp',
|
|
2170
|
-
UpdateApp: 'UpdateApp',
|
|
2171
|
-
ViewAppName: 'ViewAppName',
|
|
2172
|
-
EditAppAssets: 'EditAppAssets',
|
|
2173
|
-
EditAppFeatures: 'EditAppFeatures',
|
|
2174
|
-
ViewTeammates: 'ViewTeammates',
|
|
2175
|
-
EditTeammates: 'EditTeammates',
|
|
2176
|
-
CreateTeammateOwner: 'CreateTeammateOwner',
|
|
2177
|
-
CreateTeammateManagedOwner: 'CreateTeammateManagedOwner',
|
|
2178
|
-
CreateTeammateStoreOwner: 'CreateTeammateStoreOwner',
|
|
2179
|
-
CreateTeammateStoreManager: 'CreateTeammateStoreManager',
|
|
2180
|
-
CreateTeammateStoreStaff: 'CreateTeammateStoreStaff',
|
|
2181
|
-
CreateTeammateStoreReadAccess: 'CreateTeammateStoreReadAccess',
|
|
2182
|
-
CreateTeammateFinanceManager: 'CreateTeammateFinanceManager',
|
|
2183
|
-
CreateTeammateIntegrator: 'CreateTeammateIntegrator',
|
|
2184
|
-
CreateTeammateOnboarding: 'CreateTeammateOnboarding',
|
|
2185
|
-
CreateTeammatePropertyManager: 'CreateTeammatePropertyManager',
|
|
2186
|
-
CreateTeammatePropertyOwner: 'CreateTeammatePropertyOwner',
|
|
2187
|
-
ViewApmConfigurations: 'ViewApmConfigurations',
|
|
2188
|
-
EditApmConfigurations: 'EditApmConfigurations',
|
|
2189
|
-
ViewCampaignsConfigurations: 'ViewCampaignsConfigurations',
|
|
2190
|
-
CreateCampaignsConfigurations: 'CreateCampaignsConfigurations',
|
|
2191
|
-
UpdateCampaignsConfigurations: 'UpdateCampaignsConfigurations',
|
|
2192
|
-
DeleteCampaignsConfigurations: 'DeleteCampaignsConfigurations',
|
|
2193
|
-
StampLoyaltyCardAgainstCampaignsConfigurations: 'StampLoyaltyCardAgainstCampaignsConfigurations',
|
|
2194
|
-
ViewDevelopersSettings: 'ViewDevelopersSettings',
|
|
2195
|
-
EditDevelopersSettings: 'EditDevelopersSettings',
|
|
2196
|
-
ViewOrders: 'ViewOrders',
|
|
2197
|
-
UpdateOrdersAccept: 'UpdateOrdersAccept',
|
|
2198
|
-
UpdateOrdersReject: 'UpdateOrdersReject',
|
|
2199
|
-
UpdateOrdersRefund: 'UpdateOrdersRefund',
|
|
2200
|
-
UpdateOrdersDispatch: 'UpdateOrdersDispatch',
|
|
2201
|
-
ViewStores: 'ViewStores',
|
|
2202
|
-
CreateStores: 'CreateStores',
|
|
2203
|
-
EditStores: 'EditStores',
|
|
2204
|
-
ViewStoresOpeningHours: 'ViewStoresOpeningHours',
|
|
2205
|
-
UpdateStoresOpenForCollectionOrDelivery: 'UpdateStoresOpenForCollectionOrDelivery',
|
|
2206
|
-
UpdateStoresOpeningHours: 'UpdateStoresOpeningHours',
|
|
2207
|
-
ViewStoresOpeningHoursOverride: 'ViewStoresOpeningHoursOverride',
|
|
2208
|
-
EditStoresOpeningHoursOverride: 'EditStoresOpeningHoursOverride',
|
|
2209
|
-
EditStoresOpeningHoursOverrideTemporary: 'EditStoresOpeningHoursOverrideTemporary',
|
|
2210
|
-
UpdateStoresName: 'UpdateStoresName',
|
|
2211
|
-
EditStoreKioskSettings: 'EditStoreKioskSettings',
|
|
2212
|
-
EditStoreOrderCapacity: 'EditStoreOrderCapacity',
|
|
2213
|
-
EditStoreNotifications: 'EditStoreNotifications',
|
|
2214
|
-
ArchiveStores: 'ArchiveStores',
|
|
2215
|
-
PublishStores: 'PublishStores',
|
|
2216
|
-
UpdatePrinterTerminalsAssign: 'UpdatePrinterTerminalsAssign',
|
|
2217
|
-
UpdatePrinterTerminalsToggle: 'UpdatePrinterTerminalsToggle',
|
|
2218
|
-
ViewStoreGroups: 'ViewStoreGroups',
|
|
2219
|
-
CreateStoreGroups: 'CreateStoreGroups',
|
|
2220
|
-
UpdateStoreGroups: 'UpdateStoreGroups',
|
|
2221
|
-
DeleteStoreGroups: 'DeleteStoreGroups',
|
|
2222
|
-
ViewDeliveryZones: 'ViewDeliveryZones',
|
|
2223
|
-
CreateDeliveryZones: 'CreateDeliveryZones',
|
|
2224
|
-
UpdateDeliveryZones: 'UpdateDeliveryZones',
|
|
2225
|
-
DeleteDeliveryZones: 'DeleteDeliveryZones',
|
|
2226
|
-
ViewMenu: 'ViewMenu',
|
|
2227
|
-
CreateMenu: 'CreateMenu',
|
|
2228
|
-
UpdateMenu: 'UpdateMenu',
|
|
2229
|
-
DeleteMenu: 'DeleteMenu',
|
|
2230
|
-
UpdateMenuLock: 'UpdateMenuLock',
|
|
2231
|
-
UpdateMenuItemsHideTemporarily: 'UpdateMenuItemsHideTemporarily',
|
|
2232
|
-
EditMenuImage: 'EditMenuImage',
|
|
2233
|
-
ViewVouchers: 'ViewVouchers',
|
|
2234
|
-
EditVouchers: 'EditVouchers',
|
|
2235
|
-
ViewWebsiteContent: 'ViewWebsiteContent',
|
|
2236
|
-
EditWebsiteContent: 'EditWebsiteContent',
|
|
2237
|
-
ViewWebsiteDnsVerified: 'ViewWebsiteDnsVerified',
|
|
2238
|
-
ViewWebsiteCertificateCreated: 'ViewWebsiteCertificateCreated',
|
|
2239
|
-
ViewWebsiteCertificateRenewed: 'ViewWebsiteCertificateRenewed',
|
|
2240
|
-
ViewBankAccounts: 'ViewBankAccounts',
|
|
2241
|
-
CreateBankAccounts: 'CreateBankAccounts',
|
|
2242
|
-
UpdateBankAccounts: 'UpdateBankAccounts',
|
|
2243
|
-
UpdateBankAccountsAssign: 'UpdateBankAccountsAssign',
|
|
2244
|
-
ViewAssignedBankAccount: 'ViewAssignedBankAccount',
|
|
2245
|
-
VerifyBankAccounts: 'VerifyBankAccounts',
|
|
2246
|
-
ViewServiceChargeConfigurations: 'ViewServiceChargeConfigurations',
|
|
2247
|
-
EditServiceChargeConfigurations: 'EditServiceChargeConfigurations',
|
|
2248
|
-
EditStoreDeliveryZoneFees: 'EditStoreDeliveryZoneFees',
|
|
2249
|
-
EditStoreDeliveryFeesLimited: 'EditStoreDeliveryFeesLimited',
|
|
2250
|
-
ViewHydraConfig: 'ViewHydraConfig',
|
|
2251
|
-
UpdateHydraConfigManage: 'UpdateHydraConfigManage',
|
|
2252
|
-
InitiateBluetoothPairingMode: 'InitiateBluetoothPairingMode',
|
|
2253
|
-
DeleteTerminal: 'DeleteTerminal',
|
|
2254
|
-
ViewKioskTelemetry: 'ViewKioskTelemetry',
|
|
2255
|
-
ViewCustomers: 'ViewCustomers',
|
|
2256
|
-
EditCustomers: 'EditCustomers',
|
|
2257
|
-
CreateCustomers: 'CreateCustomers',
|
|
2258
|
-
CreateCatalogElements: 'CreateCatalogElements',
|
|
2259
|
-
UpdateCatalogElements: 'UpdateCatalogElements',
|
|
2260
|
-
ViewCatalogElements: 'ViewCatalogElements',
|
|
2261
|
-
DeleteCatalogElements: 'DeleteCatalogElements',
|
|
2262
|
-
ViewMetafieldDefinitions: 'ViewMetafieldDefinitions',
|
|
2263
|
-
CreateMetafieldDefinitions: 'CreateMetafieldDefinitions',
|
|
2264
|
-
UpdateMetafieldDefinitions: 'UpdateMetafieldDefinitions',
|
|
2265
|
-
DeleteMetafieldDefinitions: 'DeleteMetafieldDefinitions',
|
|
2266
|
-
UpdateMetafields: 'UpdateMetafields',
|
|
2267
|
-
ViewCatalogMenuChanges: 'ViewCatalogMenuChanges',
|
|
2268
|
-
PublishCatalogMenuChanges: 'PublishCatalogMenuChanges',
|
|
2269
|
-
ViewAppStatistics: 'ViewAppStatistics',
|
|
2270
|
-
ViewApmStatistics: 'ViewApmStatistics',
|
|
2271
|
-
ViewCampaignsStatistics: 'ViewCampaignsStatistics',
|
|
2272
|
-
ViewCustomerStatistics: 'ViewCustomerStatistics',
|
|
2273
|
-
ViewLiveStatistics: 'ViewLiveStatistics',
|
|
2274
|
-
ViewOrderStatistics: 'ViewOrderStatistics',
|
|
2275
|
-
ViewSalesStatistics: 'ViewSalesStatistics',
|
|
2276
|
-
ViewSalesEndOfDayStatistics: 'ViewSalesEndOfDayStatistics',
|
|
2277
|
-
ViewVouchersStatistics: 'ViewVouchersStatistics',
|
|
2278
|
-
DownloadCustomerCsvExport: 'DownloadCustomerCsvExport',
|
|
2279
|
-
ViewApmAuditLogs: 'ViewApmAuditLogs',
|
|
2280
|
-
ViewStoreAuditLogs: 'ViewStoreAuditLogs',
|
|
2281
|
-
ViewMenuAuditLogs: 'ViewMenuAuditLogs',
|
|
2282
|
-
ViewBankAccountAuditLogs: 'ViewBankAccountAuditLogs',
|
|
2283
|
-
ViewFeeConfigurationsAuditLogs: 'ViewFeeConfigurationsAuditLogs',
|
|
2284
|
-
ViewOrdersAuditLogs: 'ViewOrdersAuditLogs',
|
|
2285
|
-
ViewVouchersAuditLogs: 'ViewVouchersAuditLogs',
|
|
2286
|
-
ViewUserEventsAuditLogs: 'ViewUserEventsAuditLogs',
|
|
2287
|
-
ViewCampaignsAuditLogs: 'ViewCampaignsAuditLogs',
|
|
2288
|
-
ViewTeammatesAuditLogs: 'ViewTeammatesAuditLogs',
|
|
2289
|
-
ViewAppAuditLogs: 'ViewAppAuditLogs',
|
|
2290
|
-
ViewCustomerAuditLogs: 'ViewCustomerAuditLogs',
|
|
2291
|
-
ViewPrinterAuditLogs: 'ViewPrinterAuditLogs',
|
|
2292
|
-
ViewHydraAuditLogs: 'ViewHydraAuditLogs',
|
|
2293
|
-
ViewPushNotificationAuditLogs: 'ViewPushNotificationAuditLogs',
|
|
2294
|
-
ViewStripeCustomConnectedAccountAuditLogs: 'ViewStripeCustomConnectedAccountAuditLogs',
|
|
2295
|
-
ViewKioskBluetoothDeviceAuditLogs: 'ViewKioskBluetoothDeviceAuditLogs',
|
|
2296
|
-
ViewExternalAuditLogs: 'ViewExternalAuditLogs',
|
|
2297
|
-
CreateExternalAuditLogEvents: 'CreateExternalAuditLogEvents',
|
|
2298
|
-
ViewCatalogAuditLogs: 'ViewCatalogAuditLogs',
|
|
2299
|
-
ViewOrderFulfillmentAuditLogs: 'ViewOrderFulfillmentAuditLogs',
|
|
2300
|
-
ViewChannelAuditLogs: 'ViewChannelAuditLogs',
|
|
2301
|
-
ViewAppStoreAuditLogs: 'ViewAppStoreAuditLogs',
|
|
2302
|
-
SendPushNotificationToCustomer: 'SendPushNotificationToCustomer',
|
|
2303
|
-
InviteDriverToApp: 'InviteDriverToApp',
|
|
2304
|
-
GetDriverForApp: 'GetDriverForApp',
|
|
2305
|
-
RemoveDriverFromApp: 'RemoveDriverFromApp',
|
|
2306
|
-
AssignDriverToOrder: 'AssignDriverToOrder',
|
|
2307
|
-
UnassignDriverFromOrder: 'UnassignDriverFromOrder',
|
|
2308
|
-
UpdateOrdersDeliveryTrackingStatus: 'UpdateOrdersDeliveryTrackingStatus',
|
|
2309
|
-
UpdateOrderFulfillmentStatus: 'UpdateOrderFulfillmentStatus',
|
|
2310
|
-
ViewFulfillmentStatesConfiguration: 'ViewFulfillmentStatesConfiguration',
|
|
2311
|
-
CreateFulfillmentStatesConfiguration: 'CreateFulfillmentStatesConfiguration',
|
|
2312
|
-
UpdateFulfillmentStatesConfiguration: 'UpdateFulfillmentStatesConfiguration',
|
|
2313
|
-
DeleteFulfillmentStatesConfiguration: 'DeleteFulfillmentStatesConfiguration',
|
|
2314
|
-
ViewPayouts: 'ViewPayouts',
|
|
2315
|
-
ViewChannels: 'ViewChannels',
|
|
2316
|
-
ViewOnboarding: 'ViewOnboarding',
|
|
2317
|
-
UpdateOnboarding: 'UpdateOnboarding',
|
|
2318
|
-
ViewClientDevices: 'ViewClientDevices',
|
|
2319
|
-
UpdateClientDevices: 'UpdateClientDevices',
|
|
2320
|
-
EnrollClientDevices: 'EnrollClientDevices',
|
|
2321
|
-
AssignClientDevices: 'AssignClientDevices',
|
|
2322
|
-
ViewClientAuditLogs: 'ViewClientAuditLogs',
|
|
2323
|
-
CreateAppStoreAppConfiguration: 'CreateAppStoreAppConfiguration',
|
|
2324
|
-
ViewAppStoreAppConfiguration: 'ViewAppStoreAppConfiguration',
|
|
2325
|
-
UpdateAppStoreAppConfiguration: 'UpdateAppStoreAppConfiguration',
|
|
2326
|
-
DeleteAppStoreAppConfiguration: 'DeleteAppStoreAppConfiguration',
|
|
2327
|
-
UpdateAppStoreAppConfigurationSettings: 'UpdateAppStoreAppConfigurationSettings',
|
|
2328
|
-
CreateAppStoreSubscription: 'CreateAppStoreSubscription',
|
|
2329
|
-
UpdateAppStoreSubscription: 'UpdateAppStoreSubscription',
|
|
2330
|
-
DeleteAppStoreSubscription: 'DeleteAppStoreSubscription',
|
|
2331
|
-
ViewSalesChannels: 'ViewSalesChannels',
|
|
2332
|
-
EditSalesChannels: 'EditSalesChannels',
|
|
2333
|
-
CreateSalesChannel: 'CreateSalesChannel',
|
|
2334
|
-
ArchiveSalesChannel: 'ArchiveSalesChannel',
|
|
2335
|
-
UnarchiveSalesChannel: 'UnarchiveSalesChannel',
|
|
2336
|
-
PublishSalesChannel: 'PublishSalesChannel',
|
|
2337
|
-
UnpublishSalesChannel: 'UnpublishSalesChannel',
|
|
2338
|
-
CloneSalesChannel: 'CloneSalesChannel',
|
|
2339
|
-
ViewPayGreenWhiteLabelConfiguration: 'ViewPayGreenWhiteLabelConfiguration',
|
|
2340
|
-
CreatePayGreenWhiteLabelConfiguration: 'CreatePayGreenWhiteLabelConfiguration',
|
|
2341
|
-
UpdatePayGreenWhiteLabelConfiguration: 'UpdatePayGreenWhiteLabelConfiguration',
|
|
2342
|
-
UpdatePayGreenStoreConfiguration: 'UpdatePayGreenStoreConfiguration',
|
|
2343
|
-
ViewSubscriptions: 'ViewSubscriptions',
|
|
2344
|
-
ViewInvoices: 'ViewInvoices',
|
|
2345
|
-
EditAccountsBills: 'EditAccountsBills',
|
|
2346
|
-
ViewAccountsBills: 'ViewAccountsBills',
|
|
2347
|
-
EditAccountsCategories: 'EditAccountsCategories',
|
|
2348
|
-
ViewAccountsCategories: 'ViewAccountsCategories',
|
|
2349
|
-
EditAccountsCreditAccounts: 'EditAccountsCreditAccounts',
|
|
2350
|
-
ViewAccountsCreditAccounts: 'ViewAccountsCreditAccounts',
|
|
2351
|
-
EditAccountsCreditBooks: 'EditAccountsCreditBooks',
|
|
2352
|
-
ViewAccountsCreditBooks: 'ViewAccountsCreditBooks',
|
|
2353
|
-
EditAccountsExpenses: 'EditAccountsExpenses',
|
|
2354
|
-
ViewAccountsExpenses: 'ViewAccountsExpenses',
|
|
2355
|
-
EditAccountsTransactionAccounts: 'EditAccountsTransactionAccounts',
|
|
2356
|
-
ViewAccountsTransactionAccounts: 'ViewAccountsTransactionAccounts',
|
|
2357
|
-
EditDocumentExplorer: 'EditDocumentExplorer',
|
|
2358
|
-
ViewDocumentExplorer: 'ViewDocumentExplorer',
|
|
2359
|
-
ViewInventoryReports: 'ViewInventoryReports',
|
|
2360
|
-
EditInventoryPurchaseOrders: 'EditInventoryPurchaseOrders',
|
|
2361
|
-
ViewInventoryPurchaseOrders: 'ViewInventoryPurchaseOrders',
|
|
2362
|
-
EditInventoryStockItems: 'EditInventoryStockItems',
|
|
2363
|
-
ViewInventoryStockItems: 'ViewInventoryStockItems',
|
|
2364
|
-
EditInventorySupplier: 'EditInventorySupplier',
|
|
2365
|
-
ViewInventorySupplier: 'ViewInventorySupplier',
|
|
2366
|
-
EditInventoryTrackingProfiles: 'EditInventoryTrackingProfiles',
|
|
2367
|
-
ViewInventoryTrackingProfiles: 'ViewInventoryTrackingProfiles',
|
|
2368
|
-
ViewPayrollReports: 'ViewPayrollReports',
|
|
2369
|
-
EditPayrollHoliday: 'EditPayrollHoliday',
|
|
2370
|
-
ViewPayrollHoliday: 'ViewPayrollHoliday',
|
|
2371
|
-
EditPayrollRota: 'EditPayrollRota',
|
|
2372
|
-
ViewPayrollRota: 'ViewPayrollRota',
|
|
2373
|
-
EditPayrollStaff: 'EditPayrollStaff',
|
|
2374
|
-
ViewPayrollStaff: 'ViewPayrollStaff',
|
|
2375
|
-
ViewSalesReports: 'ViewSalesReports',
|
|
2376
|
-
ViewCostReports: 'ViewCostReports',
|
|
2377
|
-
ViewMenuReports: 'ViewMenuReports',
|
|
2378
|
-
ViewBrand: 'ViewBrand',
|
|
2379
|
-
EditBrand: 'EditBrand',
|
|
2380
|
-
CreateBrand: 'CreateBrand',
|
|
2381
|
-
TransferBrand: 'TransferBrand',
|
|
2382
|
-
ViewProperty: 'ViewProperty',
|
|
2383
|
-
EditProperty: 'EditProperty',
|
|
2384
|
-
CreateProperty: 'CreateProperty',
|
|
2385
|
-
ArchiveProperty: 'ArchiveProperty',
|
|
2386
|
-
ViewEntityFeatureFlags: 'ViewEntityFeatureFlags',
|
|
2387
|
-
EditEntityFeatureFlags: 'EditEntityFeatureFlags',
|
|
2388
|
-
CreateOrg: 'CreateOrg',
|
|
2389
|
-
EditOrg: 'EditOrg',
|
|
2390
|
-
ViewOrg: 'ViewOrg',
|
|
2391
|
-
ViewWebhooks: 'ViewWebhooks',
|
|
2392
|
-
EditWebhooks: 'EditWebhooks',
|
|
2393
|
-
RoleAdmin: 'RoleAdmin',
|
|
2394
|
-
RoleFactory: 'RoleFactory'
|
|
869
|
+
'assignedAt': string;
|
|
870
|
+
/**
|
|
871
|
+
* User who assigned the role
|
|
872
|
+
* @type {string}
|
|
873
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
874
|
+
*/
|
|
875
|
+
'assignedBy': string;
|
|
876
|
+
/**
|
|
877
|
+
* Type of resource the role is assigned to
|
|
878
|
+
* @type {string}
|
|
879
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
880
|
+
*/
|
|
881
|
+
'resourceType'?: GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum;
|
|
882
|
+
/**
|
|
883
|
+
* Organization ID
|
|
884
|
+
* @type {string}
|
|
885
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
886
|
+
*/
|
|
887
|
+
'orgId'?: string;
|
|
888
|
+
/**
|
|
889
|
+
* Property ID
|
|
890
|
+
* @type {string}
|
|
891
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
892
|
+
*/
|
|
893
|
+
'propertyId'?: string;
|
|
894
|
+
/**
|
|
895
|
+
* Brand ID this role is scoped to
|
|
896
|
+
* @type {string}
|
|
897
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
898
|
+
*/
|
|
899
|
+
'brandId'?: string;
|
|
900
|
+
/**
|
|
901
|
+
* Sales channel ID this role is scoped to
|
|
902
|
+
* @type {string}
|
|
903
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
904
|
+
*/
|
|
905
|
+
'salesChannelId'?: string;
|
|
906
|
+
/**
|
|
907
|
+
* Principal ID this role is assigned to
|
|
908
|
+
* @type {string}
|
|
909
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
910
|
+
*/
|
|
911
|
+
'principalId': string;
|
|
912
|
+
/**
|
|
913
|
+
* Type of principal this role is assigned to
|
|
914
|
+
* @type {string}
|
|
915
|
+
* @memberof GetPrincipalRolesSuccessResponseRolesInner
|
|
916
|
+
*/
|
|
917
|
+
'principalType': GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
export const GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum = {
|
|
921
|
+
Main: 'Main',
|
|
922
|
+
BrandOverride: 'BrandOverride',
|
|
923
|
+
OrgOverride: 'OrgOverride',
|
|
924
|
+
Forbidden: 'Forbidden',
|
|
925
|
+
NamedRole: 'NamedRole'
|
|
926
|
+
} as const;
|
|
927
|
+
|
|
928
|
+
export type GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum = typeof GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum[keyof typeof GetPrincipalRolesSuccessResponseRolesInnerPolicyTypeEnum];
|
|
929
|
+
export const GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum = {
|
|
930
|
+
Property: 'Property',
|
|
931
|
+
Org: 'Org',
|
|
932
|
+
Brand: 'Brand',
|
|
933
|
+
SalesChannel: 'SalesChannel'
|
|
934
|
+
} as const;
|
|
935
|
+
|
|
936
|
+
export type GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum = typeof GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum[keyof typeof GetPrincipalRolesSuccessResponseRolesInnerResourceTypeEnum];
|
|
937
|
+
export const GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum = {
|
|
938
|
+
User: 'User',
|
|
939
|
+
Automation: 'Automation'
|
|
940
|
+
} as const;
|
|
941
|
+
|
|
942
|
+
export type GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum = typeof GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum[keyof typeof GetPrincipalRolesSuccessResponseRolesInnerPrincipalTypeEnum];
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* Role name
|
|
946
|
+
* @export
|
|
947
|
+
* @interface GetPrincipalRolesSuccessResponseRolesInnerRoleName
|
|
948
|
+
*/
|
|
949
|
+
export interface GetPrincipalRolesSuccessResponseRolesInnerRoleName {
|
|
950
|
+
}
|
|
951
|
+
/**
|
|
952
|
+
* Successful user permissions retrieval response
|
|
953
|
+
* @export
|
|
954
|
+
* @interface GetUserPermissionsSuccessResponse
|
|
955
|
+
*/
|
|
956
|
+
export interface GetUserPermissionsSuccessResponse {
|
|
957
|
+
/**
|
|
958
|
+
* Map of resource IDs to permissions
|
|
959
|
+
* @type {{ [key: string]: GetUserPermissionsSuccessResponseResourcesValue; }}
|
|
960
|
+
* @memberof GetUserPermissionsSuccessResponse
|
|
961
|
+
*/
|
|
962
|
+
'resources': { [key: string]: GetUserPermissionsSuccessResponseResourcesValue; };
|
|
963
|
+
}
|
|
964
|
+
/**
|
|
965
|
+
*
|
|
966
|
+
* @export
|
|
967
|
+
* @interface GetUserPermissionsSuccessResponseResourcesValue
|
|
968
|
+
*/
|
|
969
|
+
export interface GetUserPermissionsSuccessResponseResourcesValue {
|
|
970
|
+
/**
|
|
971
|
+
* Type of resource the permissions are assigned to
|
|
972
|
+
* @type {string}
|
|
973
|
+
* @memberof GetUserPermissionsSuccessResponseResourcesValue
|
|
974
|
+
*/
|
|
975
|
+
'resourceType': GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum;
|
|
976
|
+
/**
|
|
977
|
+
*
|
|
978
|
+
* @type {GetUserPermissionsSuccessResponseResourcesValueResourceId}
|
|
979
|
+
* @memberof GetUserPermissionsSuccessResponseResourcesValue
|
|
980
|
+
*/
|
|
981
|
+
'resourceId': GetUserPermissionsSuccessResponseResourcesValueResourceId;
|
|
982
|
+
/**
|
|
983
|
+
* List of permissions that are assigned to the user for the resource
|
|
984
|
+
* @type {Array<Permissions>}
|
|
985
|
+
* @memberof GetUserPermissionsSuccessResponseResourcesValue
|
|
986
|
+
*/
|
|
987
|
+
'permissions': Array<Permissions>;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
export const GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = {
|
|
991
|
+
Property: 'Property',
|
|
992
|
+
Org: 'Org',
|
|
993
|
+
Brand: 'Brand',
|
|
994
|
+
SalesChannel: 'SalesChannel'
|
|
2395
995
|
} as const;
|
|
2396
996
|
|
|
2397
|
-
export type
|
|
997
|
+
export type GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum = typeof GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum[keyof typeof GetUserPermissionsSuccessResponseResourcesValueResourceTypeEnum];
|
|
2398
998
|
|
|
2399
999
|
/**
|
|
2400
1000
|
* ID of the resource the permissions are assigned to
|
|
@@ -2417,10 +1017,10 @@ export interface IsInRoleRequest {
|
|
|
2417
1017
|
'principal': AuthorizationRequestPrincipal;
|
|
2418
1018
|
/**
|
|
2419
1019
|
* Array of roles to check if the principal is in
|
|
2420
|
-
* @type {Array<
|
|
1020
|
+
* @type {Array<RoleNames>}
|
|
2421
1021
|
* @memberof IsInRoleRequest
|
|
2422
1022
|
*/
|
|
2423
|
-
'roles': Array<
|
|
1023
|
+
'roles': Array<RoleNames>;
|
|
2424
1024
|
/**
|
|
2425
1025
|
* How to check authorisation - any or all of the actions must be allowed
|
|
2426
1026
|
* @type {string}
|
|
@@ -2429,12 +1029,6 @@ export interface IsInRoleRequest {
|
|
|
2429
1029
|
'checkMode'?: IsInRoleRequestCheckModeEnum;
|
|
2430
1030
|
}
|
|
2431
1031
|
|
|
2432
|
-
export const IsInRoleRequestRolesEnum = {
|
|
2433
|
-
Admin: 'Admin',
|
|
2434
|
-
Factory: 'Factory'
|
|
2435
|
-
} as const;
|
|
2436
|
-
|
|
2437
|
-
export type IsInRoleRequestRolesEnum = typeof IsInRoleRequestRolesEnum[keyof typeof IsInRoleRequestRolesEnum];
|
|
2438
1032
|
export const IsInRoleRequestCheckModeEnum = {
|
|
2439
1033
|
Any: 'any',
|
|
2440
1034
|
All: 'all'
|
|
@@ -2586,14 +1180,32 @@ export type ListOrgRolesSuccessResponseValueValueRolesEnum = typeof ListOrgRoles
|
|
|
2586
1180
|
*/
|
|
2587
1181
|
export interface ListPermissionsSuccessResponse {
|
|
2588
1182
|
/**
|
|
2589
|
-
*
|
|
2590
|
-
* @type {Array<
|
|
1183
|
+
*
|
|
1184
|
+
* @type {Permissions & Array<Permissions>}
|
|
2591
1185
|
* @memberof ListPermissionsSuccessResponse
|
|
2592
1186
|
*/
|
|
2593
|
-
'permissions': Array<
|
|
1187
|
+
'permissions': Permissions & Array<Permissions>;
|
|
1188
|
+
}
|
|
1189
|
+
/**
|
|
1190
|
+
* Successful roles retrieval response
|
|
1191
|
+
* @export
|
|
1192
|
+
* @interface ListRolesSuccessResponse
|
|
1193
|
+
*/
|
|
1194
|
+
export interface ListRolesSuccessResponse {
|
|
1195
|
+
/**
|
|
1196
|
+
* List of named roles
|
|
1197
|
+
* @type {Array<RoleNames>}
|
|
1198
|
+
* @memberof ListRolesSuccessResponse
|
|
1199
|
+
*/
|
|
1200
|
+
'roles': Array<RoleNames>;
|
|
2594
1201
|
}
|
|
1202
|
+
/**
|
|
1203
|
+
* Permissions
|
|
1204
|
+
* @export
|
|
1205
|
+
* @enum {string}
|
|
1206
|
+
*/
|
|
2595
1207
|
|
|
2596
|
-
export const
|
|
1208
|
+
export const Permissions = {
|
|
2597
1209
|
AnyAuditLogs: 'AnyAuditLogs',
|
|
2598
1210
|
ViewApp: 'ViewApp',
|
|
2599
1211
|
CreateApp: 'CreateApp',
|
|
@@ -2824,29 +1436,28 @@ export const ListPermissionsSuccessResponsePermissionsEnum = {
|
|
|
2824
1436
|
RoleFactory: 'RoleFactory'
|
|
2825
1437
|
} as const;
|
|
2826
1438
|
|
|
2827
|
-
export type
|
|
1439
|
+
export type Permissions = typeof Permissions[keyof typeof Permissions];
|
|
1440
|
+
|
|
2828
1441
|
|
|
2829
1442
|
/**
|
|
2830
|
-
*
|
|
1443
|
+
* Principals in org
|
|
2831
1444
|
* @export
|
|
2832
|
-
* @interface
|
|
1445
|
+
* @interface PrincipalsInOrgResponse
|
|
2833
1446
|
*/
|
|
2834
|
-
export interface
|
|
1447
|
+
export interface PrincipalsInOrgResponse {
|
|
2835
1448
|
/**
|
|
2836
|
-
*
|
|
2837
|
-
* @type {
|
|
2838
|
-
* @memberof
|
|
1449
|
+
*
|
|
1450
|
+
* @type {string}
|
|
1451
|
+
* @memberof PrincipalsInOrgResponse
|
|
1452
|
+
*/
|
|
1453
|
+
'orgId': string;
|
|
1454
|
+
/**
|
|
1455
|
+
* List of principals in org
|
|
1456
|
+
* @type {Array<AuthorizationRequestPrincipal>}
|
|
1457
|
+
* @memberof PrincipalsInOrgResponse
|
|
2839
1458
|
*/
|
|
2840
|
-
'
|
|
1459
|
+
'principals': Array<AuthorizationRequestPrincipal>;
|
|
2841
1460
|
}
|
|
2842
|
-
|
|
2843
|
-
export const ListRolesSuccessResponseRolesEnum = {
|
|
2844
|
-
Admin: 'Admin',
|
|
2845
|
-
Factory: 'Factory'
|
|
2846
|
-
} as const;
|
|
2847
|
-
|
|
2848
|
-
export type ListRolesSuccessResponseRolesEnum = typeof ListRolesSuccessResponseRolesEnum[keyof typeof ListRolesSuccessResponseRolesEnum];
|
|
2849
|
-
|
|
2850
1461
|
/**
|
|
2851
1462
|
* Details for revoking a forbidden role from a principal
|
|
2852
1463
|
* @export
|
|
@@ -3000,6 +1611,20 @@ export interface RevokeRoleSuccessResponse {
|
|
|
3000
1611
|
*/
|
|
3001
1612
|
'message': string;
|
|
3002
1613
|
}
|
|
1614
|
+
/**
|
|
1615
|
+
* Role names
|
|
1616
|
+
* @export
|
|
1617
|
+
* @enum {string}
|
|
1618
|
+
*/
|
|
1619
|
+
|
|
1620
|
+
export const RoleNames = {
|
|
1621
|
+
Admin: 'Admin',
|
|
1622
|
+
Factory: 'Factory'
|
|
1623
|
+
} as const;
|
|
1624
|
+
|
|
1625
|
+
export type RoleNames = typeof RoleNames[keyof typeof RoleNames];
|
|
1626
|
+
|
|
1627
|
+
|
|
3003
1628
|
/**
|
|
3004
1629
|
*
|
|
3005
1630
|
* @export
|
|
@@ -4306,7 +2931,7 @@ export const RoleAssignmentApiAxiosParamCreator = function (configuration?: Conf
|
|
|
4306
2931
|
baseOptions = configuration.baseOptions;
|
|
4307
2932
|
}
|
|
4308
2933
|
|
|
4309
|
-
const localVarRequestOptions = { method: '
|
|
2934
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4310
2935
|
const localVarHeaderParameter = {} as any;
|
|
4311
2936
|
const localVarQueryParameter = {} as any;
|
|
4312
2937
|
|
|
@@ -4594,6 +3219,117 @@ export class RoleAssignmentApi extends BaseAPI {
|
|
|
4594
3219
|
|
|
4595
3220
|
|
|
4596
3221
|
|
|
3222
|
+
/**
|
|
3223
|
+
* UserManagementApi - axios parameter creator
|
|
3224
|
+
* @export
|
|
3225
|
+
*/
|
|
3226
|
+
export const UserManagementApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3227
|
+
return {
|
|
3228
|
+
/**
|
|
3229
|
+
* List the users in a given org
|
|
3230
|
+
* @summary List Users in Org
|
|
3231
|
+
* @param {string} orgId
|
|
3232
|
+
* @param {*} [options] Override http request option.
|
|
3233
|
+
* @throws {RequiredError}
|
|
3234
|
+
*/
|
|
3235
|
+
listUsersInOrg: async (orgId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3236
|
+
// verify required parameter 'orgId' is not null or undefined
|
|
3237
|
+
assertParamExists('listUsersInOrg', 'orgId', orgId)
|
|
3238
|
+
const localVarPath = `/orgs/{orgId}/users`
|
|
3239
|
+
.replace(`{${"orgId"}}`, encodeURIComponent(String(orgId)));
|
|
3240
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3241
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3242
|
+
let baseOptions;
|
|
3243
|
+
if (configuration) {
|
|
3244
|
+
baseOptions = configuration.baseOptions;
|
|
3245
|
+
}
|
|
3246
|
+
|
|
3247
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3248
|
+
const localVarHeaderParameter = {} as any;
|
|
3249
|
+
const localVarQueryParameter = {} as any;
|
|
3250
|
+
|
|
3251
|
+
// authentication ApiKeyAuth required
|
|
3252
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3253
|
+
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3257
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3258
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3259
|
+
|
|
3260
|
+
return {
|
|
3261
|
+
url: toPathString(localVarUrlObj),
|
|
3262
|
+
options: localVarRequestOptions,
|
|
3263
|
+
};
|
|
3264
|
+
},
|
|
3265
|
+
}
|
|
3266
|
+
};
|
|
3267
|
+
|
|
3268
|
+
/**
|
|
3269
|
+
* UserManagementApi - functional programming interface
|
|
3270
|
+
* @export
|
|
3271
|
+
*/
|
|
3272
|
+
export const UserManagementApiFp = function(configuration?: Configuration) {
|
|
3273
|
+
const localVarAxiosParamCreator = UserManagementApiAxiosParamCreator(configuration)
|
|
3274
|
+
return {
|
|
3275
|
+
/**
|
|
3276
|
+
* List the users in a given org
|
|
3277
|
+
* @summary List Users in Org
|
|
3278
|
+
* @param {string} orgId
|
|
3279
|
+
* @param {*} [options] Override http request option.
|
|
3280
|
+
* @throws {RequiredError}
|
|
3281
|
+
*/
|
|
3282
|
+
async listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrincipalsInOrgResponse>> {
|
|
3283
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listUsersInOrg(orgId, options);
|
|
3284
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3285
|
+
const localVarOperationServerBasePath = operationServerMap['UserManagementApi.listUsersInOrg']?.[localVarOperationServerIndex]?.url;
|
|
3286
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3287
|
+
},
|
|
3288
|
+
}
|
|
3289
|
+
};
|
|
3290
|
+
|
|
3291
|
+
/**
|
|
3292
|
+
* UserManagementApi - factory interface
|
|
3293
|
+
* @export
|
|
3294
|
+
*/
|
|
3295
|
+
export const UserManagementApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3296
|
+
const localVarFp = UserManagementApiFp(configuration)
|
|
3297
|
+
return {
|
|
3298
|
+
/**
|
|
3299
|
+
* List the users in a given org
|
|
3300
|
+
* @summary List Users in Org
|
|
3301
|
+
* @param {string} orgId
|
|
3302
|
+
* @param {*} [options] Override http request option.
|
|
3303
|
+
* @throws {RequiredError}
|
|
3304
|
+
*/
|
|
3305
|
+
listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig): AxiosPromise<PrincipalsInOrgResponse> {
|
|
3306
|
+
return localVarFp.listUsersInOrg(orgId, options).then((request) => request(axios, basePath));
|
|
3307
|
+
},
|
|
3308
|
+
};
|
|
3309
|
+
};
|
|
3310
|
+
|
|
3311
|
+
/**
|
|
3312
|
+
* UserManagementApi - object-oriented interface
|
|
3313
|
+
* @export
|
|
3314
|
+
* @class UserManagementApi
|
|
3315
|
+
* @extends {BaseAPI}
|
|
3316
|
+
*/
|
|
3317
|
+
export class UserManagementApi extends BaseAPI {
|
|
3318
|
+
/**
|
|
3319
|
+
* List the users in a given org
|
|
3320
|
+
* @summary List Users in Org
|
|
3321
|
+
* @param {string} orgId
|
|
3322
|
+
* @param {*} [options] Override http request option.
|
|
3323
|
+
* @throws {RequiredError}
|
|
3324
|
+
* @memberof UserManagementApi
|
|
3325
|
+
*/
|
|
3326
|
+
public listUsersInOrg(orgId: string, options?: RawAxiosRequestConfig) {
|
|
3327
|
+
return UserManagementApiFp(this.configuration).listUsersInOrg(orgId, options).then((request) => request(this.axios, this.basePath));
|
|
3328
|
+
}
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
|
|
3332
|
+
|
|
4597
3333
|
/**
|
|
4598
3334
|
* UserPermissionsApi - axios parameter creator
|
|
4599
3335
|
* @export
|