@flipdish/authorization 0.2.11 → 0.2.13-rc.1765379152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +1 -0
- package/api.ts +587 -97
- package/configuration.ts +1 -1
- package/dist/api.d.ts +573 -94
- package/dist/api.js +475 -11
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -158,7 +158,18 @@ export interface AuthenticateAndAuthorizeRequest {
|
|
|
158
158
|
* @memberof AuthenticateAndAuthorizeRequest
|
|
159
159
|
*/
|
|
160
160
|
'resource'?: AuthorizationRequestResource;
|
|
161
|
+
/**
|
|
162
|
+
* How to check authorisation - any or all of the actions must be allowed
|
|
163
|
+
* @type {string}
|
|
164
|
+
* @memberof AuthenticateAndAuthorizeRequest
|
|
165
|
+
*/
|
|
166
|
+
'checkMode'?: AuthenticateAndAuthorizeRequestCheckModeEnum;
|
|
161
167
|
}
|
|
168
|
+
export declare const AuthenticateAndAuthorizeRequestCheckModeEnum: {
|
|
169
|
+
readonly Any: "any";
|
|
170
|
+
readonly All: "all";
|
|
171
|
+
};
|
|
172
|
+
export type AuthenticateAndAuthorizeRequestCheckModeEnum = typeof AuthenticateAndAuthorizeRequestCheckModeEnum[keyof typeof AuthenticateAndAuthorizeRequestCheckModeEnum];
|
|
162
173
|
/**
|
|
163
174
|
* Response containing the authentication and authorization decision
|
|
164
175
|
* @export
|
|
@@ -199,7 +210,7 @@ export interface AuthenticateAndCheckIsInRoleRequest {
|
|
|
199
210
|
*/
|
|
200
211
|
'roles': Array<AuthenticateAndCheckIsInRoleRequestRolesEnum>;
|
|
201
212
|
/**
|
|
202
|
-
*
|
|
213
|
+
*
|
|
203
214
|
* @type {string}
|
|
204
215
|
* @memberof AuthenticateAndCheckIsInRoleRequest
|
|
205
216
|
*/
|
|
@@ -272,11 +283,11 @@ export interface AuthorizationBatchRequest {
|
|
|
272
283
|
*/
|
|
273
284
|
'principal': AuthorizationRequestPrincipal;
|
|
274
285
|
/**
|
|
275
|
-
*
|
|
276
|
-
* @type {
|
|
286
|
+
* The action to check authorisation for
|
|
287
|
+
* @type {string}
|
|
277
288
|
* @memberof AuthorizationBatchRequest
|
|
278
289
|
*/
|
|
279
|
-
'action':
|
|
290
|
+
'action': AuthorizationBatchRequestActionEnum;
|
|
280
291
|
/**
|
|
281
292
|
* Array of resources to check authorisation for
|
|
282
293
|
* @type {Array<AuthorizationRequestResource>}
|
|
@@ -284,6 +295,237 @@ export interface AuthorizationBatchRequest {
|
|
|
284
295
|
*/
|
|
285
296
|
'resources': Array<AuthorizationRequestResource>;
|
|
286
297
|
}
|
|
298
|
+
export declare const AuthorizationBatchRequestActionEnum: {
|
|
299
|
+
readonly AnyAuditLogs: "AnyAuditLogs";
|
|
300
|
+
readonly ViewApp: "ViewApp";
|
|
301
|
+
readonly CreateApp: "CreateApp";
|
|
302
|
+
readonly UpdateApp: "UpdateApp";
|
|
303
|
+
readonly ViewAppName: "ViewAppName";
|
|
304
|
+
readonly EditAppAssets: "EditAppAssets";
|
|
305
|
+
readonly EditAppFeatures: "EditAppFeatures";
|
|
306
|
+
readonly ViewTeammates: "ViewTeammates";
|
|
307
|
+
readonly EditTeammates: "EditTeammates";
|
|
308
|
+
readonly CreateTeammateOwner: "CreateTeammateOwner";
|
|
309
|
+
readonly CreateTeammateManagedOwner: "CreateTeammateManagedOwner";
|
|
310
|
+
readonly CreateTeammateStoreOwner: "CreateTeammateStoreOwner";
|
|
311
|
+
readonly CreateTeammateStoreManager: "CreateTeammateStoreManager";
|
|
312
|
+
readonly CreateTeammateStoreStaff: "CreateTeammateStoreStaff";
|
|
313
|
+
readonly CreateTeammateStoreReadAccess: "CreateTeammateStoreReadAccess";
|
|
314
|
+
readonly CreateTeammateFinanceManager: "CreateTeammateFinanceManager";
|
|
315
|
+
readonly CreateTeammateIntegrator: "CreateTeammateIntegrator";
|
|
316
|
+
readonly CreateTeammateOnboarding: "CreateTeammateOnboarding";
|
|
317
|
+
readonly CreateTeammatePropertyManager: "CreateTeammatePropertyManager";
|
|
318
|
+
readonly CreateTeammatePropertyOwner: "CreateTeammatePropertyOwner";
|
|
319
|
+
readonly ViewApmConfigurations: "ViewApmConfigurations";
|
|
320
|
+
readonly EditApmConfigurations: "EditApmConfigurations";
|
|
321
|
+
readonly ViewCampaignsConfigurations: "ViewCampaignsConfigurations";
|
|
322
|
+
readonly CreateCampaignsConfigurations: "CreateCampaignsConfigurations";
|
|
323
|
+
readonly UpdateCampaignsConfigurations: "UpdateCampaignsConfigurations";
|
|
324
|
+
readonly DeleteCampaignsConfigurations: "DeleteCampaignsConfigurations";
|
|
325
|
+
readonly StampLoyaltyCardAgainstCampaignsConfigurations: "StampLoyaltyCardAgainstCampaignsConfigurations";
|
|
326
|
+
readonly ViewDevelopersSettings: "ViewDevelopersSettings";
|
|
327
|
+
readonly EditDevelopersSettings: "EditDevelopersSettings";
|
|
328
|
+
readonly ViewOrders: "ViewOrders";
|
|
329
|
+
readonly UpdateOrdersAccept: "UpdateOrdersAccept";
|
|
330
|
+
readonly UpdateOrdersReject: "UpdateOrdersReject";
|
|
331
|
+
readonly UpdateOrdersRefund: "UpdateOrdersRefund";
|
|
332
|
+
readonly UpdateOrdersDispatch: "UpdateOrdersDispatch";
|
|
333
|
+
readonly ViewStores: "ViewStores";
|
|
334
|
+
readonly CreateStores: "CreateStores";
|
|
335
|
+
readonly EditStores: "EditStores";
|
|
336
|
+
readonly ViewStoresOpeningHours: "ViewStoresOpeningHours";
|
|
337
|
+
readonly UpdateStoresOpenForCollectionOrDelivery: "UpdateStoresOpenForCollectionOrDelivery";
|
|
338
|
+
readonly UpdateStoresOpeningHours: "UpdateStoresOpeningHours";
|
|
339
|
+
readonly ViewStoresOpeningHoursOverride: "ViewStoresOpeningHoursOverride";
|
|
340
|
+
readonly EditStoresOpeningHoursOverride: "EditStoresOpeningHoursOverride";
|
|
341
|
+
readonly EditStoresOpeningHoursOverrideTemporary: "EditStoresOpeningHoursOverrideTemporary";
|
|
342
|
+
readonly UpdateStoresName: "UpdateStoresName";
|
|
343
|
+
readonly EditStoreKioskSettings: "EditStoreKioskSettings";
|
|
344
|
+
readonly EditStoreOrderCapacity: "EditStoreOrderCapacity";
|
|
345
|
+
readonly EditStoreNotifications: "EditStoreNotifications";
|
|
346
|
+
readonly ArchiveStores: "ArchiveStores";
|
|
347
|
+
readonly PublishStores: "PublishStores";
|
|
348
|
+
readonly UpdatePrinterTerminalsAssign: "UpdatePrinterTerminalsAssign";
|
|
349
|
+
readonly UpdatePrinterTerminalsToggle: "UpdatePrinterTerminalsToggle";
|
|
350
|
+
readonly ViewStoreGroups: "ViewStoreGroups";
|
|
351
|
+
readonly CreateStoreGroups: "CreateStoreGroups";
|
|
352
|
+
readonly UpdateStoreGroups: "UpdateStoreGroups";
|
|
353
|
+
readonly DeleteStoreGroups: "DeleteStoreGroups";
|
|
354
|
+
readonly ViewDeliveryZones: "ViewDeliveryZones";
|
|
355
|
+
readonly CreateDeliveryZones: "CreateDeliveryZones";
|
|
356
|
+
readonly UpdateDeliveryZones: "UpdateDeliveryZones";
|
|
357
|
+
readonly DeleteDeliveryZones: "DeleteDeliveryZones";
|
|
358
|
+
readonly ViewMenu: "ViewMenu";
|
|
359
|
+
readonly CreateMenu: "CreateMenu";
|
|
360
|
+
readonly UpdateMenu: "UpdateMenu";
|
|
361
|
+
readonly DeleteMenu: "DeleteMenu";
|
|
362
|
+
readonly UpdateMenuLock: "UpdateMenuLock";
|
|
363
|
+
readonly UpdateMenuItemsHideTemporarily: "UpdateMenuItemsHideTemporarily";
|
|
364
|
+
readonly EditMenuImage: "EditMenuImage";
|
|
365
|
+
readonly ViewVouchers: "ViewVouchers";
|
|
366
|
+
readonly EditVouchers: "EditVouchers";
|
|
367
|
+
readonly ViewWebsiteContent: "ViewWebsiteContent";
|
|
368
|
+
readonly EditWebsiteContent: "EditWebsiteContent";
|
|
369
|
+
readonly ViewWebsiteDnsVerified: "ViewWebsiteDnsVerified";
|
|
370
|
+
readonly ViewWebsiteCertificateCreated: "ViewWebsiteCertificateCreated";
|
|
371
|
+
readonly ViewWebsiteCertificateRenewed: "ViewWebsiteCertificateRenewed";
|
|
372
|
+
readonly ViewBankAccounts: "ViewBankAccounts";
|
|
373
|
+
readonly CreateBankAccounts: "CreateBankAccounts";
|
|
374
|
+
readonly UpdateBankAccounts: "UpdateBankAccounts";
|
|
375
|
+
readonly UpdateBankAccountsAssign: "UpdateBankAccountsAssign";
|
|
376
|
+
readonly ViewAssignedBankAccount: "ViewAssignedBankAccount";
|
|
377
|
+
readonly VerifyBankAccounts: "VerifyBankAccounts";
|
|
378
|
+
readonly ViewServiceChargeConfigurations: "ViewServiceChargeConfigurations";
|
|
379
|
+
readonly EditServiceChargeConfigurations: "EditServiceChargeConfigurations";
|
|
380
|
+
readonly EditStoreDeliveryZoneFees: "EditStoreDeliveryZoneFees";
|
|
381
|
+
readonly EditStoreDeliveryFeesLimited: "EditStoreDeliveryFeesLimited";
|
|
382
|
+
readonly ViewHydraConfig: "ViewHydraConfig";
|
|
383
|
+
readonly UpdateHydraConfigManage: "UpdateHydraConfigManage";
|
|
384
|
+
readonly InitiateBluetoothPairingMode: "InitiateBluetoothPairingMode";
|
|
385
|
+
readonly DeleteTerminal: "DeleteTerminal";
|
|
386
|
+
readonly ViewKioskTelemetry: "ViewKioskTelemetry";
|
|
387
|
+
readonly ViewCustomers: "ViewCustomers";
|
|
388
|
+
readonly EditCustomers: "EditCustomers";
|
|
389
|
+
readonly CreateCustomers: "CreateCustomers";
|
|
390
|
+
readonly CreateCatalogElements: "CreateCatalogElements";
|
|
391
|
+
readonly UpdateCatalogElements: "UpdateCatalogElements";
|
|
392
|
+
readonly ViewCatalogElements: "ViewCatalogElements";
|
|
393
|
+
readonly DeleteCatalogElements: "DeleteCatalogElements";
|
|
394
|
+
readonly ViewMetafieldDefinitions: "ViewMetafieldDefinitions";
|
|
395
|
+
readonly CreateMetafieldDefinitions: "CreateMetafieldDefinitions";
|
|
396
|
+
readonly UpdateMetafieldDefinitions: "UpdateMetafieldDefinitions";
|
|
397
|
+
readonly DeleteMetafieldDefinitions: "DeleteMetafieldDefinitions";
|
|
398
|
+
readonly UpdateMetafields: "UpdateMetafields";
|
|
399
|
+
readonly ViewCatalogMenuChanges: "ViewCatalogMenuChanges";
|
|
400
|
+
readonly PublishCatalogMenuChanges: "PublishCatalogMenuChanges";
|
|
401
|
+
readonly ViewAppStatistics: "ViewAppStatistics";
|
|
402
|
+
readonly ViewApmStatistics: "ViewApmStatistics";
|
|
403
|
+
readonly ViewCampaignsStatistics: "ViewCampaignsStatistics";
|
|
404
|
+
readonly ViewCustomerStatistics: "ViewCustomerStatistics";
|
|
405
|
+
readonly ViewLiveStatistics: "ViewLiveStatistics";
|
|
406
|
+
readonly ViewOrderStatistics: "ViewOrderStatistics";
|
|
407
|
+
readonly ViewSalesStatistics: "ViewSalesStatistics";
|
|
408
|
+
readonly ViewSalesEndOfDayStatistics: "ViewSalesEndOfDayStatistics";
|
|
409
|
+
readonly ViewVouchersStatistics: "ViewVouchersStatistics";
|
|
410
|
+
readonly DownloadCustomerCsvExport: "DownloadCustomerCsvExport";
|
|
411
|
+
readonly ViewApmAuditLogs: "ViewApmAuditLogs";
|
|
412
|
+
readonly ViewStoreAuditLogs: "ViewStoreAuditLogs";
|
|
413
|
+
readonly ViewMenuAuditLogs: "ViewMenuAuditLogs";
|
|
414
|
+
readonly ViewBankAccountAuditLogs: "ViewBankAccountAuditLogs";
|
|
415
|
+
readonly ViewFeeConfigurationsAuditLogs: "ViewFeeConfigurationsAuditLogs";
|
|
416
|
+
readonly ViewOrdersAuditLogs: "ViewOrdersAuditLogs";
|
|
417
|
+
readonly ViewVouchersAuditLogs: "ViewVouchersAuditLogs";
|
|
418
|
+
readonly ViewUserEventsAuditLogs: "ViewUserEventsAuditLogs";
|
|
419
|
+
readonly ViewCampaignsAuditLogs: "ViewCampaignsAuditLogs";
|
|
420
|
+
readonly ViewTeammatesAuditLogs: "ViewTeammatesAuditLogs";
|
|
421
|
+
readonly ViewAppAuditLogs: "ViewAppAuditLogs";
|
|
422
|
+
readonly ViewCustomerAuditLogs: "ViewCustomerAuditLogs";
|
|
423
|
+
readonly ViewPrinterAuditLogs: "ViewPrinterAuditLogs";
|
|
424
|
+
readonly ViewHydraAuditLogs: "ViewHydraAuditLogs";
|
|
425
|
+
readonly ViewPushNotificationAuditLogs: "ViewPushNotificationAuditLogs";
|
|
426
|
+
readonly ViewStripeCustomConnectedAccountAuditLogs: "ViewStripeCustomConnectedAccountAuditLogs";
|
|
427
|
+
readonly ViewKioskBluetoothDeviceAuditLogs: "ViewKioskBluetoothDeviceAuditLogs";
|
|
428
|
+
readonly ViewExternalAuditLogs: "ViewExternalAuditLogs";
|
|
429
|
+
readonly CreateExternalAuditLogEvents: "CreateExternalAuditLogEvents";
|
|
430
|
+
readonly ViewCatalogAuditLogs: "ViewCatalogAuditLogs";
|
|
431
|
+
readonly ViewOrderFulfillmentAuditLogs: "ViewOrderFulfillmentAuditLogs";
|
|
432
|
+
readonly ViewChannelAuditLogs: "ViewChannelAuditLogs";
|
|
433
|
+
readonly ViewAppStoreAuditLogs: "ViewAppStoreAuditLogs";
|
|
434
|
+
readonly SendPushNotificationToCustomer: "SendPushNotificationToCustomer";
|
|
435
|
+
readonly InviteDriverToApp: "InviteDriverToApp";
|
|
436
|
+
readonly GetDriverForApp: "GetDriverForApp";
|
|
437
|
+
readonly RemoveDriverFromApp: "RemoveDriverFromApp";
|
|
438
|
+
readonly AssignDriverToOrder: "AssignDriverToOrder";
|
|
439
|
+
readonly UnassignDriverFromOrder: "UnassignDriverFromOrder";
|
|
440
|
+
readonly UpdateOrdersDeliveryTrackingStatus: "UpdateOrdersDeliveryTrackingStatus";
|
|
441
|
+
readonly UpdateOrderFulfillmentStatus: "UpdateOrderFulfillmentStatus";
|
|
442
|
+
readonly ViewFulfillmentStatesConfiguration: "ViewFulfillmentStatesConfiguration";
|
|
443
|
+
readonly CreateFulfillmentStatesConfiguration: "CreateFulfillmentStatesConfiguration";
|
|
444
|
+
readonly UpdateFulfillmentStatesConfiguration: "UpdateFulfillmentStatesConfiguration";
|
|
445
|
+
readonly DeleteFulfillmentStatesConfiguration: "DeleteFulfillmentStatesConfiguration";
|
|
446
|
+
readonly ViewPayouts: "ViewPayouts";
|
|
447
|
+
readonly ViewChannels: "ViewChannels";
|
|
448
|
+
readonly ViewOnboarding: "ViewOnboarding";
|
|
449
|
+
readonly UpdateOnboarding: "UpdateOnboarding";
|
|
450
|
+
readonly ViewClientDevices: "ViewClientDevices";
|
|
451
|
+
readonly UpdateClientDevices: "UpdateClientDevices";
|
|
452
|
+
readonly EnrollClientDevices: "EnrollClientDevices";
|
|
453
|
+
readonly AssignClientDevices: "AssignClientDevices";
|
|
454
|
+
readonly ViewClientAuditLogs: "ViewClientAuditLogs";
|
|
455
|
+
readonly CreateAppStoreAppConfiguration: "CreateAppStoreAppConfiguration";
|
|
456
|
+
readonly ViewAppStoreAppConfiguration: "ViewAppStoreAppConfiguration";
|
|
457
|
+
readonly UpdateAppStoreAppConfiguration: "UpdateAppStoreAppConfiguration";
|
|
458
|
+
readonly DeleteAppStoreAppConfiguration: "DeleteAppStoreAppConfiguration";
|
|
459
|
+
readonly UpdateAppStoreAppConfigurationSettings: "UpdateAppStoreAppConfigurationSettings";
|
|
460
|
+
readonly CreateAppStoreSubscription: "CreateAppStoreSubscription";
|
|
461
|
+
readonly UpdateAppStoreSubscription: "UpdateAppStoreSubscription";
|
|
462
|
+
readonly DeleteAppStoreSubscription: "DeleteAppStoreSubscription";
|
|
463
|
+
readonly ViewSalesChannels: "ViewSalesChannels";
|
|
464
|
+
readonly EditSalesChannels: "EditSalesChannels";
|
|
465
|
+
readonly CreateSalesChannel: "CreateSalesChannel";
|
|
466
|
+
readonly ArchiveSalesChannel: "ArchiveSalesChannel";
|
|
467
|
+
readonly UnarchiveSalesChannel: "UnarchiveSalesChannel";
|
|
468
|
+
readonly PublishSalesChannel: "PublishSalesChannel";
|
|
469
|
+
readonly UnpublishSalesChannel: "UnpublishSalesChannel";
|
|
470
|
+
readonly CloneSalesChannel: "CloneSalesChannel";
|
|
471
|
+
readonly ViewPayGreenWhiteLabelConfiguration: "ViewPayGreenWhiteLabelConfiguration";
|
|
472
|
+
readonly CreatePayGreenWhiteLabelConfiguration: "CreatePayGreenWhiteLabelConfiguration";
|
|
473
|
+
readonly UpdatePayGreenWhiteLabelConfiguration: "UpdatePayGreenWhiteLabelConfiguration";
|
|
474
|
+
readonly UpdatePayGreenStoreConfiguration: "UpdatePayGreenStoreConfiguration";
|
|
475
|
+
readonly ViewSubscriptions: "ViewSubscriptions";
|
|
476
|
+
readonly ViewInvoices: "ViewInvoices";
|
|
477
|
+
readonly EditAccountsBills: "EditAccountsBills";
|
|
478
|
+
readonly ViewAccountsBills: "ViewAccountsBills";
|
|
479
|
+
readonly EditAccountsCategories: "EditAccountsCategories";
|
|
480
|
+
readonly ViewAccountsCategories: "ViewAccountsCategories";
|
|
481
|
+
readonly EditAccountsCreditAccounts: "EditAccountsCreditAccounts";
|
|
482
|
+
readonly ViewAccountsCreditAccounts: "ViewAccountsCreditAccounts";
|
|
483
|
+
readonly EditAccountsCreditBooks: "EditAccountsCreditBooks";
|
|
484
|
+
readonly ViewAccountsCreditBooks: "ViewAccountsCreditBooks";
|
|
485
|
+
readonly EditAccountsExpenses: "EditAccountsExpenses";
|
|
486
|
+
readonly ViewAccountsExpenses: "ViewAccountsExpenses";
|
|
487
|
+
readonly EditAccountsTransactionAccounts: "EditAccountsTransactionAccounts";
|
|
488
|
+
readonly ViewAccountsTransactionAccounts: "ViewAccountsTransactionAccounts";
|
|
489
|
+
readonly EditDocumentExplorer: "EditDocumentExplorer";
|
|
490
|
+
readonly ViewDocumentExplorer: "ViewDocumentExplorer";
|
|
491
|
+
readonly ViewInventoryReports: "ViewInventoryReports";
|
|
492
|
+
readonly EditInventoryPurchaseOrders: "EditInventoryPurchaseOrders";
|
|
493
|
+
readonly ViewInventoryPurchaseOrders: "ViewInventoryPurchaseOrders";
|
|
494
|
+
readonly EditInventoryStockItems: "EditInventoryStockItems";
|
|
495
|
+
readonly ViewInventoryStockItems: "ViewInventoryStockItems";
|
|
496
|
+
readonly EditInventorySupplier: "EditInventorySupplier";
|
|
497
|
+
readonly ViewInventorySupplier: "ViewInventorySupplier";
|
|
498
|
+
readonly EditInventoryTrackingProfiles: "EditInventoryTrackingProfiles";
|
|
499
|
+
readonly ViewInventoryTrackingProfiles: "ViewInventoryTrackingProfiles";
|
|
500
|
+
readonly ViewPayrollReports: "ViewPayrollReports";
|
|
501
|
+
readonly EditPayrollHoliday: "EditPayrollHoliday";
|
|
502
|
+
readonly ViewPayrollHoliday: "ViewPayrollHoliday";
|
|
503
|
+
readonly EditPayrollRota: "EditPayrollRota";
|
|
504
|
+
readonly ViewPayrollRota: "ViewPayrollRota";
|
|
505
|
+
readonly EditPayrollStaff: "EditPayrollStaff";
|
|
506
|
+
readonly ViewPayrollStaff: "ViewPayrollStaff";
|
|
507
|
+
readonly ViewSalesReports: "ViewSalesReports";
|
|
508
|
+
readonly ViewCostReports: "ViewCostReports";
|
|
509
|
+
readonly ViewMenuReports: "ViewMenuReports";
|
|
510
|
+
readonly ViewBrand: "ViewBrand";
|
|
511
|
+
readonly EditBrand: "EditBrand";
|
|
512
|
+
readonly CreateBrand: "CreateBrand";
|
|
513
|
+
readonly TransferBrand: "TransferBrand";
|
|
514
|
+
readonly ViewProperty: "ViewProperty";
|
|
515
|
+
readonly EditProperty: "EditProperty";
|
|
516
|
+
readonly CreateProperty: "CreateProperty";
|
|
517
|
+
readonly ArchiveProperty: "ArchiveProperty";
|
|
518
|
+
readonly ViewEntityFeatureFlags: "ViewEntityFeatureFlags";
|
|
519
|
+
readonly EditEntityFeatureFlags: "EditEntityFeatureFlags";
|
|
520
|
+
readonly CreateOrg: "CreateOrg";
|
|
521
|
+
readonly EditOrg: "EditOrg";
|
|
522
|
+
readonly ViewOrg: "ViewOrg";
|
|
523
|
+
readonly ViewWebhooks: "ViewWebhooks";
|
|
524
|
+
readonly EditWebhooks: "EditWebhooks";
|
|
525
|
+
readonly RoleAdmin: "RoleAdmin";
|
|
526
|
+
readonly RoleFactory: "RoleFactory";
|
|
527
|
+
};
|
|
528
|
+
export type AuthorizationBatchRequestActionEnum = typeof AuthorizationBatchRequestActionEnum[keyof typeof AuthorizationBatchRequestActionEnum];
|
|
287
529
|
/**
|
|
288
530
|
*
|
|
289
531
|
* @export
|
|
@@ -336,12 +578,12 @@ export interface AuthorizationBatchResponseAllowedResourcesInner {
|
|
|
336
578
|
}
|
|
337
579
|
/**
|
|
338
580
|
* @type AuthorizationBatchResponseAllowedResourcesInnerResource
|
|
339
|
-
*
|
|
581
|
+
* Resource that the action was checked for
|
|
340
582
|
* @export
|
|
341
583
|
*/
|
|
342
584
|
export type AuthorizationBatchResponseAllowedResourcesInnerResource = AuthorizationRequestResourceOneOf | AuthorizationRequestResourceOneOf1 | AuthorizationRequestResourceOneOf2 | AuthorizationRequestResourceOneOf3;
|
|
343
585
|
/**
|
|
344
|
-
* Request to check if a user is authorized to perform an action(s). If you pass in an array of permissions, you will receive a single allow / deny response (based on
|
|
586
|
+
* Request to check if a user is authorized to perform an action(s). If you pass in an array of permissions, you will receive a single allow / deny response (based on the checkMode - any or all of the permissions must be allowed).
|
|
345
587
|
* @export
|
|
346
588
|
* @interface AuthorizationRequest
|
|
347
589
|
*/
|
|
@@ -364,9 +606,20 @@ export interface AuthorizationRequest {
|
|
|
364
606
|
* @memberof AuthorizationRequest
|
|
365
607
|
*/
|
|
366
608
|
'resource'?: AuthorizationRequestResource;
|
|
609
|
+
/**
|
|
610
|
+
* How to check authorisation - any or all of the actions must be allowed
|
|
611
|
+
* @type {string}
|
|
612
|
+
* @memberof AuthorizationRequest
|
|
613
|
+
*/
|
|
614
|
+
'checkMode'?: AuthorizationRequestCheckModeEnum;
|
|
367
615
|
}
|
|
616
|
+
export declare const AuthorizationRequestCheckModeEnum: {
|
|
617
|
+
readonly Any: "any";
|
|
618
|
+
readonly All: "all";
|
|
619
|
+
};
|
|
620
|
+
export type AuthorizationRequestCheckModeEnum = typeof AuthorizationRequestCheckModeEnum[keyof typeof AuthorizationRequestCheckModeEnum];
|
|
368
621
|
/**
|
|
369
|
-
*
|
|
622
|
+
* Permission or array of permissions - note that you still only receive a single allow / deny response (calculated based on the checkMode)
|
|
370
623
|
* @export
|
|
371
624
|
* @interface AuthorizationRequestAction
|
|
372
625
|
*/
|
|
@@ -510,64 +763,295 @@ export interface AuthorizationRequestResourceOneOf3 {
|
|
|
510
763
|
export declare const AuthorizationRequestResourceOneOf3TypeEnum: {
|
|
511
764
|
readonly SalesChannel: "SalesChannel";
|
|
512
765
|
};
|
|
513
|
-
export type AuthorizationRequestResourceOneOf3TypeEnum = typeof AuthorizationRequestResourceOneOf3TypeEnum[keyof typeof AuthorizationRequestResourceOneOf3TypeEnum];
|
|
514
|
-
/**
|
|
515
|
-
* Response containing the authorization decision
|
|
516
|
-
* @export
|
|
517
|
-
* @interface AuthorizationResponse
|
|
518
|
-
*/
|
|
519
|
-
export interface AuthorizationResponse {
|
|
520
|
-
/**
|
|
521
|
-
* Whether the action is allowed
|
|
522
|
-
* @type {boolean}
|
|
523
|
-
* @memberof AuthorizationResponse
|
|
524
|
-
*/
|
|
525
|
-
'allowed': boolean;
|
|
526
|
-
/**
|
|
527
|
-
* The authorization decision
|
|
528
|
-
* @type {string}
|
|
529
|
-
* @memberof AuthorizationResponse
|
|
530
|
-
*/
|
|
531
|
-
'decision': string;
|
|
532
|
-
/**
|
|
533
|
-
* The policy IDs that were used to make the decision
|
|
534
|
-
* @type {Array<string>}
|
|
535
|
-
* @memberof AuthorizationResponse
|
|
536
|
-
*/
|
|
537
|
-
'policyIds': Array<string>;
|
|
538
|
-
}
|
|
539
|
-
/**
|
|
540
|
-
*
|
|
541
|
-
* @export
|
|
542
|
-
* @interface ErrorResponse
|
|
543
|
-
*/
|
|
544
|
-
export interface ErrorResponse {
|
|
545
|
-
/**
|
|
546
|
-
*
|
|
547
|
-
* @type {string}
|
|
548
|
-
* @memberof ErrorResponse
|
|
549
|
-
*/
|
|
550
|
-
'message': string;
|
|
551
|
-
}
|
|
552
|
-
/**
|
|
553
|
-
* Feature based role and its permissions
|
|
554
|
-
* @export
|
|
555
|
-
* @interface FeatureBasedRole
|
|
556
|
-
*/
|
|
557
|
-
export interface FeatureBasedRole {
|
|
558
|
-
/**
|
|
559
|
-
* Name of the role
|
|
560
|
-
* @type {string}
|
|
561
|
-
* @memberof FeatureBasedRole
|
|
562
|
-
*/
|
|
563
|
-
'name': string;
|
|
564
|
-
/**
|
|
565
|
-
*
|
|
566
|
-
* @type {
|
|
567
|
-
* @memberof FeatureBasedRole
|
|
568
|
-
*/
|
|
569
|
-
'permissions':
|
|
570
|
-
}
|
|
766
|
+
export type AuthorizationRequestResourceOneOf3TypeEnum = typeof AuthorizationRequestResourceOneOf3TypeEnum[keyof typeof AuthorizationRequestResourceOneOf3TypeEnum];
|
|
767
|
+
/**
|
|
768
|
+
* Response containing the authorization decision
|
|
769
|
+
* @export
|
|
770
|
+
* @interface AuthorizationResponse
|
|
771
|
+
*/
|
|
772
|
+
export interface AuthorizationResponse {
|
|
773
|
+
/**
|
|
774
|
+
* Whether the action is allowed
|
|
775
|
+
* @type {boolean}
|
|
776
|
+
* @memberof AuthorizationResponse
|
|
777
|
+
*/
|
|
778
|
+
'allowed': boolean;
|
|
779
|
+
/**
|
|
780
|
+
* The authorization decision
|
|
781
|
+
* @type {string}
|
|
782
|
+
* @memberof AuthorizationResponse
|
|
783
|
+
*/
|
|
784
|
+
'decision': string;
|
|
785
|
+
/**
|
|
786
|
+
* The policy IDs that were used to make the decision
|
|
787
|
+
* @type {Array<string>}
|
|
788
|
+
* @memberof AuthorizationResponse
|
|
789
|
+
*/
|
|
790
|
+
'policyIds': Array<string>;
|
|
791
|
+
}
|
|
792
|
+
/**
|
|
793
|
+
*
|
|
794
|
+
* @export
|
|
795
|
+
* @interface ErrorResponse
|
|
796
|
+
*/
|
|
797
|
+
export interface ErrorResponse {
|
|
798
|
+
/**
|
|
799
|
+
*
|
|
800
|
+
* @type {string}
|
|
801
|
+
* @memberof ErrorResponse
|
|
802
|
+
*/
|
|
803
|
+
'message': string;
|
|
804
|
+
}
|
|
805
|
+
/**
|
|
806
|
+
* Feature based role and its permissions
|
|
807
|
+
* @export
|
|
808
|
+
* @interface FeatureBasedRole
|
|
809
|
+
*/
|
|
810
|
+
export interface FeatureBasedRole {
|
|
811
|
+
/**
|
|
812
|
+
* Name of the role
|
|
813
|
+
* @type {string}
|
|
814
|
+
* @memberof FeatureBasedRole
|
|
815
|
+
*/
|
|
816
|
+
'name': string;
|
|
817
|
+
/**
|
|
818
|
+
* List of permissions
|
|
819
|
+
* @type {Array<string>}
|
|
820
|
+
* @memberof FeatureBasedRole
|
|
821
|
+
*/
|
|
822
|
+
'permissions': Array<FeatureBasedRolePermissionsEnum>;
|
|
823
|
+
}
|
|
824
|
+
export declare const FeatureBasedRolePermissionsEnum: {
|
|
825
|
+
readonly AnyAuditLogs: "AnyAuditLogs";
|
|
826
|
+
readonly ViewApp: "ViewApp";
|
|
827
|
+
readonly CreateApp: "CreateApp";
|
|
828
|
+
readonly UpdateApp: "UpdateApp";
|
|
829
|
+
readonly ViewAppName: "ViewAppName";
|
|
830
|
+
readonly EditAppAssets: "EditAppAssets";
|
|
831
|
+
readonly EditAppFeatures: "EditAppFeatures";
|
|
832
|
+
readonly ViewTeammates: "ViewTeammates";
|
|
833
|
+
readonly EditTeammates: "EditTeammates";
|
|
834
|
+
readonly CreateTeammateOwner: "CreateTeammateOwner";
|
|
835
|
+
readonly CreateTeammateManagedOwner: "CreateTeammateManagedOwner";
|
|
836
|
+
readonly CreateTeammateStoreOwner: "CreateTeammateStoreOwner";
|
|
837
|
+
readonly CreateTeammateStoreManager: "CreateTeammateStoreManager";
|
|
838
|
+
readonly CreateTeammateStoreStaff: "CreateTeammateStoreStaff";
|
|
839
|
+
readonly CreateTeammateStoreReadAccess: "CreateTeammateStoreReadAccess";
|
|
840
|
+
readonly CreateTeammateFinanceManager: "CreateTeammateFinanceManager";
|
|
841
|
+
readonly CreateTeammateIntegrator: "CreateTeammateIntegrator";
|
|
842
|
+
readonly CreateTeammateOnboarding: "CreateTeammateOnboarding";
|
|
843
|
+
readonly CreateTeammatePropertyManager: "CreateTeammatePropertyManager";
|
|
844
|
+
readonly CreateTeammatePropertyOwner: "CreateTeammatePropertyOwner";
|
|
845
|
+
readonly ViewApmConfigurations: "ViewApmConfigurations";
|
|
846
|
+
readonly EditApmConfigurations: "EditApmConfigurations";
|
|
847
|
+
readonly ViewCampaignsConfigurations: "ViewCampaignsConfigurations";
|
|
848
|
+
readonly CreateCampaignsConfigurations: "CreateCampaignsConfigurations";
|
|
849
|
+
readonly UpdateCampaignsConfigurations: "UpdateCampaignsConfigurations";
|
|
850
|
+
readonly DeleteCampaignsConfigurations: "DeleteCampaignsConfigurations";
|
|
851
|
+
readonly StampLoyaltyCardAgainstCampaignsConfigurations: "StampLoyaltyCardAgainstCampaignsConfigurations";
|
|
852
|
+
readonly ViewDevelopersSettings: "ViewDevelopersSettings";
|
|
853
|
+
readonly EditDevelopersSettings: "EditDevelopersSettings";
|
|
854
|
+
readonly ViewOrders: "ViewOrders";
|
|
855
|
+
readonly UpdateOrdersAccept: "UpdateOrdersAccept";
|
|
856
|
+
readonly UpdateOrdersReject: "UpdateOrdersReject";
|
|
857
|
+
readonly UpdateOrdersRefund: "UpdateOrdersRefund";
|
|
858
|
+
readonly UpdateOrdersDispatch: "UpdateOrdersDispatch";
|
|
859
|
+
readonly ViewStores: "ViewStores";
|
|
860
|
+
readonly CreateStores: "CreateStores";
|
|
861
|
+
readonly EditStores: "EditStores";
|
|
862
|
+
readonly ViewStoresOpeningHours: "ViewStoresOpeningHours";
|
|
863
|
+
readonly UpdateStoresOpenForCollectionOrDelivery: "UpdateStoresOpenForCollectionOrDelivery";
|
|
864
|
+
readonly UpdateStoresOpeningHours: "UpdateStoresOpeningHours";
|
|
865
|
+
readonly ViewStoresOpeningHoursOverride: "ViewStoresOpeningHoursOverride";
|
|
866
|
+
readonly EditStoresOpeningHoursOverride: "EditStoresOpeningHoursOverride";
|
|
867
|
+
readonly EditStoresOpeningHoursOverrideTemporary: "EditStoresOpeningHoursOverrideTemporary";
|
|
868
|
+
readonly UpdateStoresName: "UpdateStoresName";
|
|
869
|
+
readonly EditStoreKioskSettings: "EditStoreKioskSettings";
|
|
870
|
+
readonly EditStoreOrderCapacity: "EditStoreOrderCapacity";
|
|
871
|
+
readonly EditStoreNotifications: "EditStoreNotifications";
|
|
872
|
+
readonly ArchiveStores: "ArchiveStores";
|
|
873
|
+
readonly PublishStores: "PublishStores";
|
|
874
|
+
readonly UpdatePrinterTerminalsAssign: "UpdatePrinterTerminalsAssign";
|
|
875
|
+
readonly UpdatePrinterTerminalsToggle: "UpdatePrinterTerminalsToggle";
|
|
876
|
+
readonly ViewStoreGroups: "ViewStoreGroups";
|
|
877
|
+
readonly CreateStoreGroups: "CreateStoreGroups";
|
|
878
|
+
readonly UpdateStoreGroups: "UpdateStoreGroups";
|
|
879
|
+
readonly DeleteStoreGroups: "DeleteStoreGroups";
|
|
880
|
+
readonly ViewDeliveryZones: "ViewDeliveryZones";
|
|
881
|
+
readonly CreateDeliveryZones: "CreateDeliveryZones";
|
|
882
|
+
readonly UpdateDeliveryZones: "UpdateDeliveryZones";
|
|
883
|
+
readonly DeleteDeliveryZones: "DeleteDeliveryZones";
|
|
884
|
+
readonly ViewMenu: "ViewMenu";
|
|
885
|
+
readonly CreateMenu: "CreateMenu";
|
|
886
|
+
readonly UpdateMenu: "UpdateMenu";
|
|
887
|
+
readonly DeleteMenu: "DeleteMenu";
|
|
888
|
+
readonly UpdateMenuLock: "UpdateMenuLock";
|
|
889
|
+
readonly UpdateMenuItemsHideTemporarily: "UpdateMenuItemsHideTemporarily";
|
|
890
|
+
readonly EditMenuImage: "EditMenuImage";
|
|
891
|
+
readonly ViewVouchers: "ViewVouchers";
|
|
892
|
+
readonly EditVouchers: "EditVouchers";
|
|
893
|
+
readonly ViewWebsiteContent: "ViewWebsiteContent";
|
|
894
|
+
readonly EditWebsiteContent: "EditWebsiteContent";
|
|
895
|
+
readonly ViewWebsiteDnsVerified: "ViewWebsiteDnsVerified";
|
|
896
|
+
readonly ViewWebsiteCertificateCreated: "ViewWebsiteCertificateCreated";
|
|
897
|
+
readonly ViewWebsiteCertificateRenewed: "ViewWebsiteCertificateRenewed";
|
|
898
|
+
readonly ViewBankAccounts: "ViewBankAccounts";
|
|
899
|
+
readonly CreateBankAccounts: "CreateBankAccounts";
|
|
900
|
+
readonly UpdateBankAccounts: "UpdateBankAccounts";
|
|
901
|
+
readonly UpdateBankAccountsAssign: "UpdateBankAccountsAssign";
|
|
902
|
+
readonly ViewAssignedBankAccount: "ViewAssignedBankAccount";
|
|
903
|
+
readonly VerifyBankAccounts: "VerifyBankAccounts";
|
|
904
|
+
readonly ViewServiceChargeConfigurations: "ViewServiceChargeConfigurations";
|
|
905
|
+
readonly EditServiceChargeConfigurations: "EditServiceChargeConfigurations";
|
|
906
|
+
readonly EditStoreDeliveryZoneFees: "EditStoreDeliveryZoneFees";
|
|
907
|
+
readonly EditStoreDeliveryFeesLimited: "EditStoreDeliveryFeesLimited";
|
|
908
|
+
readonly ViewHydraConfig: "ViewHydraConfig";
|
|
909
|
+
readonly UpdateHydraConfigManage: "UpdateHydraConfigManage";
|
|
910
|
+
readonly InitiateBluetoothPairingMode: "InitiateBluetoothPairingMode";
|
|
911
|
+
readonly DeleteTerminal: "DeleteTerminal";
|
|
912
|
+
readonly ViewKioskTelemetry: "ViewKioskTelemetry";
|
|
913
|
+
readonly ViewCustomers: "ViewCustomers";
|
|
914
|
+
readonly EditCustomers: "EditCustomers";
|
|
915
|
+
readonly CreateCustomers: "CreateCustomers";
|
|
916
|
+
readonly CreateCatalogElements: "CreateCatalogElements";
|
|
917
|
+
readonly UpdateCatalogElements: "UpdateCatalogElements";
|
|
918
|
+
readonly ViewCatalogElements: "ViewCatalogElements";
|
|
919
|
+
readonly DeleteCatalogElements: "DeleteCatalogElements";
|
|
920
|
+
readonly ViewMetafieldDefinitions: "ViewMetafieldDefinitions";
|
|
921
|
+
readonly CreateMetafieldDefinitions: "CreateMetafieldDefinitions";
|
|
922
|
+
readonly UpdateMetafieldDefinitions: "UpdateMetafieldDefinitions";
|
|
923
|
+
readonly DeleteMetafieldDefinitions: "DeleteMetafieldDefinitions";
|
|
924
|
+
readonly UpdateMetafields: "UpdateMetafields";
|
|
925
|
+
readonly ViewCatalogMenuChanges: "ViewCatalogMenuChanges";
|
|
926
|
+
readonly PublishCatalogMenuChanges: "PublishCatalogMenuChanges";
|
|
927
|
+
readonly ViewAppStatistics: "ViewAppStatistics";
|
|
928
|
+
readonly ViewApmStatistics: "ViewApmStatistics";
|
|
929
|
+
readonly ViewCampaignsStatistics: "ViewCampaignsStatistics";
|
|
930
|
+
readonly ViewCustomerStatistics: "ViewCustomerStatistics";
|
|
931
|
+
readonly ViewLiveStatistics: "ViewLiveStatistics";
|
|
932
|
+
readonly ViewOrderStatistics: "ViewOrderStatistics";
|
|
933
|
+
readonly ViewSalesStatistics: "ViewSalesStatistics";
|
|
934
|
+
readonly ViewSalesEndOfDayStatistics: "ViewSalesEndOfDayStatistics";
|
|
935
|
+
readonly ViewVouchersStatistics: "ViewVouchersStatistics";
|
|
936
|
+
readonly DownloadCustomerCsvExport: "DownloadCustomerCsvExport";
|
|
937
|
+
readonly ViewApmAuditLogs: "ViewApmAuditLogs";
|
|
938
|
+
readonly ViewStoreAuditLogs: "ViewStoreAuditLogs";
|
|
939
|
+
readonly ViewMenuAuditLogs: "ViewMenuAuditLogs";
|
|
940
|
+
readonly ViewBankAccountAuditLogs: "ViewBankAccountAuditLogs";
|
|
941
|
+
readonly ViewFeeConfigurationsAuditLogs: "ViewFeeConfigurationsAuditLogs";
|
|
942
|
+
readonly ViewOrdersAuditLogs: "ViewOrdersAuditLogs";
|
|
943
|
+
readonly ViewVouchersAuditLogs: "ViewVouchersAuditLogs";
|
|
944
|
+
readonly ViewUserEventsAuditLogs: "ViewUserEventsAuditLogs";
|
|
945
|
+
readonly ViewCampaignsAuditLogs: "ViewCampaignsAuditLogs";
|
|
946
|
+
readonly ViewTeammatesAuditLogs: "ViewTeammatesAuditLogs";
|
|
947
|
+
readonly ViewAppAuditLogs: "ViewAppAuditLogs";
|
|
948
|
+
readonly ViewCustomerAuditLogs: "ViewCustomerAuditLogs";
|
|
949
|
+
readonly ViewPrinterAuditLogs: "ViewPrinterAuditLogs";
|
|
950
|
+
readonly ViewHydraAuditLogs: "ViewHydraAuditLogs";
|
|
951
|
+
readonly ViewPushNotificationAuditLogs: "ViewPushNotificationAuditLogs";
|
|
952
|
+
readonly ViewStripeCustomConnectedAccountAuditLogs: "ViewStripeCustomConnectedAccountAuditLogs";
|
|
953
|
+
readonly ViewKioskBluetoothDeviceAuditLogs: "ViewKioskBluetoothDeviceAuditLogs";
|
|
954
|
+
readonly ViewExternalAuditLogs: "ViewExternalAuditLogs";
|
|
955
|
+
readonly CreateExternalAuditLogEvents: "CreateExternalAuditLogEvents";
|
|
956
|
+
readonly ViewCatalogAuditLogs: "ViewCatalogAuditLogs";
|
|
957
|
+
readonly ViewOrderFulfillmentAuditLogs: "ViewOrderFulfillmentAuditLogs";
|
|
958
|
+
readonly ViewChannelAuditLogs: "ViewChannelAuditLogs";
|
|
959
|
+
readonly ViewAppStoreAuditLogs: "ViewAppStoreAuditLogs";
|
|
960
|
+
readonly SendPushNotificationToCustomer: "SendPushNotificationToCustomer";
|
|
961
|
+
readonly InviteDriverToApp: "InviteDriverToApp";
|
|
962
|
+
readonly GetDriverForApp: "GetDriverForApp";
|
|
963
|
+
readonly RemoveDriverFromApp: "RemoveDriverFromApp";
|
|
964
|
+
readonly AssignDriverToOrder: "AssignDriverToOrder";
|
|
965
|
+
readonly UnassignDriverFromOrder: "UnassignDriverFromOrder";
|
|
966
|
+
readonly UpdateOrdersDeliveryTrackingStatus: "UpdateOrdersDeliveryTrackingStatus";
|
|
967
|
+
readonly UpdateOrderFulfillmentStatus: "UpdateOrderFulfillmentStatus";
|
|
968
|
+
readonly ViewFulfillmentStatesConfiguration: "ViewFulfillmentStatesConfiguration";
|
|
969
|
+
readonly CreateFulfillmentStatesConfiguration: "CreateFulfillmentStatesConfiguration";
|
|
970
|
+
readonly UpdateFulfillmentStatesConfiguration: "UpdateFulfillmentStatesConfiguration";
|
|
971
|
+
readonly DeleteFulfillmentStatesConfiguration: "DeleteFulfillmentStatesConfiguration";
|
|
972
|
+
readonly ViewPayouts: "ViewPayouts";
|
|
973
|
+
readonly ViewChannels: "ViewChannels";
|
|
974
|
+
readonly ViewOnboarding: "ViewOnboarding";
|
|
975
|
+
readonly UpdateOnboarding: "UpdateOnboarding";
|
|
976
|
+
readonly ViewClientDevices: "ViewClientDevices";
|
|
977
|
+
readonly UpdateClientDevices: "UpdateClientDevices";
|
|
978
|
+
readonly EnrollClientDevices: "EnrollClientDevices";
|
|
979
|
+
readonly AssignClientDevices: "AssignClientDevices";
|
|
980
|
+
readonly ViewClientAuditLogs: "ViewClientAuditLogs";
|
|
981
|
+
readonly CreateAppStoreAppConfiguration: "CreateAppStoreAppConfiguration";
|
|
982
|
+
readonly ViewAppStoreAppConfiguration: "ViewAppStoreAppConfiguration";
|
|
983
|
+
readonly UpdateAppStoreAppConfiguration: "UpdateAppStoreAppConfiguration";
|
|
984
|
+
readonly DeleteAppStoreAppConfiguration: "DeleteAppStoreAppConfiguration";
|
|
985
|
+
readonly UpdateAppStoreAppConfigurationSettings: "UpdateAppStoreAppConfigurationSettings";
|
|
986
|
+
readonly CreateAppStoreSubscription: "CreateAppStoreSubscription";
|
|
987
|
+
readonly UpdateAppStoreSubscription: "UpdateAppStoreSubscription";
|
|
988
|
+
readonly DeleteAppStoreSubscription: "DeleteAppStoreSubscription";
|
|
989
|
+
readonly ViewSalesChannels: "ViewSalesChannels";
|
|
990
|
+
readonly EditSalesChannels: "EditSalesChannels";
|
|
991
|
+
readonly CreateSalesChannel: "CreateSalesChannel";
|
|
992
|
+
readonly ArchiveSalesChannel: "ArchiveSalesChannel";
|
|
993
|
+
readonly UnarchiveSalesChannel: "UnarchiveSalesChannel";
|
|
994
|
+
readonly PublishSalesChannel: "PublishSalesChannel";
|
|
995
|
+
readonly UnpublishSalesChannel: "UnpublishSalesChannel";
|
|
996
|
+
readonly CloneSalesChannel: "CloneSalesChannel";
|
|
997
|
+
readonly ViewPayGreenWhiteLabelConfiguration: "ViewPayGreenWhiteLabelConfiguration";
|
|
998
|
+
readonly CreatePayGreenWhiteLabelConfiguration: "CreatePayGreenWhiteLabelConfiguration";
|
|
999
|
+
readonly UpdatePayGreenWhiteLabelConfiguration: "UpdatePayGreenWhiteLabelConfiguration";
|
|
1000
|
+
readonly UpdatePayGreenStoreConfiguration: "UpdatePayGreenStoreConfiguration";
|
|
1001
|
+
readonly ViewSubscriptions: "ViewSubscriptions";
|
|
1002
|
+
readonly ViewInvoices: "ViewInvoices";
|
|
1003
|
+
readonly EditAccountsBills: "EditAccountsBills";
|
|
1004
|
+
readonly ViewAccountsBills: "ViewAccountsBills";
|
|
1005
|
+
readonly EditAccountsCategories: "EditAccountsCategories";
|
|
1006
|
+
readonly ViewAccountsCategories: "ViewAccountsCategories";
|
|
1007
|
+
readonly EditAccountsCreditAccounts: "EditAccountsCreditAccounts";
|
|
1008
|
+
readonly ViewAccountsCreditAccounts: "ViewAccountsCreditAccounts";
|
|
1009
|
+
readonly EditAccountsCreditBooks: "EditAccountsCreditBooks";
|
|
1010
|
+
readonly ViewAccountsCreditBooks: "ViewAccountsCreditBooks";
|
|
1011
|
+
readonly EditAccountsExpenses: "EditAccountsExpenses";
|
|
1012
|
+
readonly ViewAccountsExpenses: "ViewAccountsExpenses";
|
|
1013
|
+
readonly EditAccountsTransactionAccounts: "EditAccountsTransactionAccounts";
|
|
1014
|
+
readonly ViewAccountsTransactionAccounts: "ViewAccountsTransactionAccounts";
|
|
1015
|
+
readonly EditDocumentExplorer: "EditDocumentExplorer";
|
|
1016
|
+
readonly ViewDocumentExplorer: "ViewDocumentExplorer";
|
|
1017
|
+
readonly ViewInventoryReports: "ViewInventoryReports";
|
|
1018
|
+
readonly EditInventoryPurchaseOrders: "EditInventoryPurchaseOrders";
|
|
1019
|
+
readonly ViewInventoryPurchaseOrders: "ViewInventoryPurchaseOrders";
|
|
1020
|
+
readonly EditInventoryStockItems: "EditInventoryStockItems";
|
|
1021
|
+
readonly ViewInventoryStockItems: "ViewInventoryStockItems";
|
|
1022
|
+
readonly EditInventorySupplier: "EditInventorySupplier";
|
|
1023
|
+
readonly ViewInventorySupplier: "ViewInventorySupplier";
|
|
1024
|
+
readonly EditInventoryTrackingProfiles: "EditInventoryTrackingProfiles";
|
|
1025
|
+
readonly ViewInventoryTrackingProfiles: "ViewInventoryTrackingProfiles";
|
|
1026
|
+
readonly ViewPayrollReports: "ViewPayrollReports";
|
|
1027
|
+
readonly EditPayrollHoliday: "EditPayrollHoliday";
|
|
1028
|
+
readonly ViewPayrollHoliday: "ViewPayrollHoliday";
|
|
1029
|
+
readonly EditPayrollRota: "EditPayrollRota";
|
|
1030
|
+
readonly ViewPayrollRota: "ViewPayrollRota";
|
|
1031
|
+
readonly EditPayrollStaff: "EditPayrollStaff";
|
|
1032
|
+
readonly ViewPayrollStaff: "ViewPayrollStaff";
|
|
1033
|
+
readonly ViewSalesReports: "ViewSalesReports";
|
|
1034
|
+
readonly ViewCostReports: "ViewCostReports";
|
|
1035
|
+
readonly ViewMenuReports: "ViewMenuReports";
|
|
1036
|
+
readonly ViewBrand: "ViewBrand";
|
|
1037
|
+
readonly EditBrand: "EditBrand";
|
|
1038
|
+
readonly CreateBrand: "CreateBrand";
|
|
1039
|
+
readonly TransferBrand: "TransferBrand";
|
|
1040
|
+
readonly ViewProperty: "ViewProperty";
|
|
1041
|
+
readonly EditProperty: "EditProperty";
|
|
1042
|
+
readonly CreateProperty: "CreateProperty";
|
|
1043
|
+
readonly ArchiveProperty: "ArchiveProperty";
|
|
1044
|
+
readonly ViewEntityFeatureFlags: "ViewEntityFeatureFlags";
|
|
1045
|
+
readonly EditEntityFeatureFlags: "EditEntityFeatureFlags";
|
|
1046
|
+
readonly CreateOrg: "CreateOrg";
|
|
1047
|
+
readonly EditOrg: "EditOrg";
|
|
1048
|
+
readonly ViewOrg: "ViewOrg";
|
|
1049
|
+
readonly ViewWebhooks: "ViewWebhooks";
|
|
1050
|
+
readonly EditWebhooks: "EditWebhooks";
|
|
1051
|
+
readonly RoleAdmin: "RoleAdmin";
|
|
1052
|
+
readonly RoleFactory: "RoleFactory";
|
|
1053
|
+
};
|
|
1054
|
+
export type FeatureBasedRolePermissionsEnum = typeof FeatureBasedRolePermissionsEnum[keyof typeof FeatureBasedRolePermissionsEnum];
|
|
571
1055
|
/**
|
|
572
1056
|
* 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.
|
|
573
1057
|
* @export
|
|
@@ -1883,7 +2367,7 @@ export interface IsInRoleRequest {
|
|
|
1883
2367
|
*/
|
|
1884
2368
|
'roles': Array<IsInRoleRequestRolesEnum>;
|
|
1885
2369
|
/**
|
|
1886
|
-
* How to check
|
|
2370
|
+
* How to check authorisation - any or all of the actions must be allowed
|
|
1887
2371
|
* @type {string}
|
|
1888
2372
|
* @memberof IsInRoleRequest
|
|
1889
2373
|
*/
|
|
@@ -2039,36 +2523,13 @@ export type ListOrgRolesSuccessResponseValueValueRolesEnum = typeof ListOrgRoles
|
|
|
2039
2523
|
*/
|
|
2040
2524
|
export interface ListPermissionsSuccessResponse {
|
|
2041
2525
|
/**
|
|
2042
|
-
*
|
|
2043
|
-
* @type {Permissions & Array<string>}
|
|
2044
|
-
* @memberof ListPermissionsSuccessResponse
|
|
2045
|
-
*/
|
|
2046
|
-
'permissions': Permissions & Array<string>;
|
|
2047
|
-
}
|
|
2048
|
-
/**
|
|
2049
|
-
* Successful roles retrieval response
|
|
2050
|
-
* @export
|
|
2051
|
-
* @interface ListRolesSuccessResponse
|
|
2052
|
-
*/
|
|
2053
|
-
export interface ListRolesSuccessResponse {
|
|
2054
|
-
/**
|
|
2055
|
-
* List of named roles
|
|
2526
|
+
* List of permissions
|
|
2056
2527
|
* @type {Array<string>}
|
|
2057
|
-
* @memberof
|
|
2528
|
+
* @memberof ListPermissionsSuccessResponse
|
|
2058
2529
|
*/
|
|
2059
|
-
'
|
|
2530
|
+
'permissions': Array<ListPermissionsSuccessResponsePermissionsEnum>;
|
|
2060
2531
|
}
|
|
2061
|
-
export declare const
|
|
2062
|
-
readonly Admin: "Admin";
|
|
2063
|
-
readonly Factory: "Factory";
|
|
2064
|
-
};
|
|
2065
|
-
export type ListRolesSuccessResponseRolesEnum = typeof ListRolesSuccessResponseRolesEnum[keyof typeof ListRolesSuccessResponseRolesEnum];
|
|
2066
|
-
/**
|
|
2067
|
-
*
|
|
2068
|
-
* @export
|
|
2069
|
-
* @enum {string}
|
|
2070
|
-
*/
|
|
2071
|
-
export declare const Permissions: {
|
|
2532
|
+
export declare const ListPermissionsSuccessResponsePermissionsEnum: {
|
|
2072
2533
|
readonly AnyAuditLogs: "AnyAuditLogs";
|
|
2073
2534
|
readonly ViewApp: "ViewApp";
|
|
2074
2535
|
readonly CreateApp: "CreateApp";
|
|
@@ -2298,7 +2759,25 @@ export declare const Permissions: {
|
|
|
2298
2759
|
readonly RoleAdmin: "RoleAdmin";
|
|
2299
2760
|
readonly RoleFactory: "RoleFactory";
|
|
2300
2761
|
};
|
|
2301
|
-
export type
|
|
2762
|
+
export type ListPermissionsSuccessResponsePermissionsEnum = typeof ListPermissionsSuccessResponsePermissionsEnum[keyof typeof ListPermissionsSuccessResponsePermissionsEnum];
|
|
2763
|
+
/**
|
|
2764
|
+
* Successful roles retrieval response
|
|
2765
|
+
* @export
|
|
2766
|
+
* @interface ListRolesSuccessResponse
|
|
2767
|
+
*/
|
|
2768
|
+
export interface ListRolesSuccessResponse {
|
|
2769
|
+
/**
|
|
2770
|
+
* List of named roles
|
|
2771
|
+
* @type {Array<string>}
|
|
2772
|
+
* @memberof ListRolesSuccessResponse
|
|
2773
|
+
*/
|
|
2774
|
+
'roles': Array<ListRolesSuccessResponseRolesEnum>;
|
|
2775
|
+
}
|
|
2776
|
+
export declare const ListRolesSuccessResponseRolesEnum: {
|
|
2777
|
+
readonly Admin: "Admin";
|
|
2778
|
+
readonly Factory: "Factory";
|
|
2779
|
+
};
|
|
2780
|
+
export type ListRolesSuccessResponseRolesEnum = typeof ListRolesSuccessResponseRolesEnum[keyof typeof ListRolesSuccessResponseRolesEnum];
|
|
2302
2781
|
/**
|
|
2303
2782
|
* Details for revoking a forbidden role from a principal
|
|
2304
2783
|
* @export
|