@flipdish/authorization 0.2.6 → 0.2.7
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 +1160 -0
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1018 -0
- package/dist/api.js +1014 -1
- package/dist/configuration.js +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -524,6 +524,891 @@ export interface ErrorResponse {
|
|
|
524
524
|
*/
|
|
525
525
|
'message': string;
|
|
526
526
|
}
|
|
527
|
+
/**
|
|
528
|
+
* 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.
|
|
529
|
+
* @export
|
|
530
|
+
* @interface GetAuthorizedBrandsRequest
|
|
531
|
+
*/
|
|
532
|
+
export interface GetAuthorizedBrandsRequest {
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @type {GetAuthorizedOrgsRequestPrincipal}
|
|
536
|
+
* @memberof GetAuthorizedBrandsRequest
|
|
537
|
+
*/
|
|
538
|
+
'principal'?: GetAuthorizedOrgsRequestPrincipal;
|
|
539
|
+
/**
|
|
540
|
+
* Incoming request headers to be used for authentication
|
|
541
|
+
* @type {{ [key: string]: any; }}
|
|
542
|
+
* @memberof GetAuthorizedBrandsRequest
|
|
543
|
+
*/
|
|
544
|
+
'headers'?: {
|
|
545
|
+
[key: string]: any;
|
|
546
|
+
};
|
|
547
|
+
/**
|
|
548
|
+
* The action to check authorisation for
|
|
549
|
+
* @type {string}
|
|
550
|
+
* @memberof GetAuthorizedBrandsRequest
|
|
551
|
+
*/
|
|
552
|
+
'action': GetAuthorizedBrandsRequestActionEnum;
|
|
553
|
+
}
|
|
554
|
+
export declare const GetAuthorizedBrandsRequestActionEnum: {
|
|
555
|
+
readonly AnyAuditLogs: "AnyAuditLogs";
|
|
556
|
+
readonly ViewApp: "ViewApp";
|
|
557
|
+
readonly CreateApp: "CreateApp";
|
|
558
|
+
readonly UpdateApp: "UpdateApp";
|
|
559
|
+
readonly ViewAppName: "ViewAppName";
|
|
560
|
+
readonly EditAppAssets: "EditAppAssets";
|
|
561
|
+
readonly EditAppFeatures: "EditAppFeatures";
|
|
562
|
+
readonly ViewTeammates: "ViewTeammates";
|
|
563
|
+
readonly EditTeammates: "EditTeammates";
|
|
564
|
+
readonly CreateTeammateOwner: "CreateTeammateOwner";
|
|
565
|
+
readonly CreateTeammateManagedOwner: "CreateTeammateManagedOwner";
|
|
566
|
+
readonly CreateTeammateStoreOwner: "CreateTeammateStoreOwner";
|
|
567
|
+
readonly CreateTeammateStoreManager: "CreateTeammateStoreManager";
|
|
568
|
+
readonly CreateTeammateStoreStaff: "CreateTeammateStoreStaff";
|
|
569
|
+
readonly CreateTeammateStoreReadAccess: "CreateTeammateStoreReadAccess";
|
|
570
|
+
readonly CreateTeammateFinanceManager: "CreateTeammateFinanceManager";
|
|
571
|
+
readonly CreateTeammateIntegrator: "CreateTeammateIntegrator";
|
|
572
|
+
readonly CreateTeammateOnboarding: "CreateTeammateOnboarding";
|
|
573
|
+
readonly CreateTeammatePropertyManager: "CreateTeammatePropertyManager";
|
|
574
|
+
readonly CreateTeammatePropertyOwner: "CreateTeammatePropertyOwner";
|
|
575
|
+
readonly ViewApmConfigurations: "ViewApmConfigurations";
|
|
576
|
+
readonly EditApmConfigurations: "EditApmConfigurations";
|
|
577
|
+
readonly ViewCampaignsConfigurations: "ViewCampaignsConfigurations";
|
|
578
|
+
readonly CreateCampaignsConfigurations: "CreateCampaignsConfigurations";
|
|
579
|
+
readonly UpdateCampaignsConfigurations: "UpdateCampaignsConfigurations";
|
|
580
|
+
readonly DeleteCampaignsConfigurations: "DeleteCampaignsConfigurations";
|
|
581
|
+
readonly StampLoyaltyCardAgainstCampaignsConfigurations: "StampLoyaltyCardAgainstCampaignsConfigurations";
|
|
582
|
+
readonly ViewDevelopersSettings: "ViewDevelopersSettings";
|
|
583
|
+
readonly EditDevelopersSettings: "EditDevelopersSettings";
|
|
584
|
+
readonly ViewOrders: "ViewOrders";
|
|
585
|
+
readonly UpdateOrdersAccept: "UpdateOrdersAccept";
|
|
586
|
+
readonly UpdateOrdersReject: "UpdateOrdersReject";
|
|
587
|
+
readonly UpdateOrdersRefund: "UpdateOrdersRefund";
|
|
588
|
+
readonly UpdateOrdersDispatch: "UpdateOrdersDispatch";
|
|
589
|
+
readonly ViewStores: "ViewStores";
|
|
590
|
+
readonly CreateStores: "CreateStores";
|
|
591
|
+
readonly EditStores: "EditStores";
|
|
592
|
+
readonly ViewStoresOpeningHours: "ViewStoresOpeningHours";
|
|
593
|
+
readonly UpdateStoresOpenForCollectionOrDelivery: "UpdateStoresOpenForCollectionOrDelivery";
|
|
594
|
+
readonly UpdateStoresOpeningHours: "UpdateStoresOpeningHours";
|
|
595
|
+
readonly ViewStoresOpeningHoursOverride: "ViewStoresOpeningHoursOverride";
|
|
596
|
+
readonly EditStoresOpeningHoursOverride: "EditStoresOpeningHoursOverride";
|
|
597
|
+
readonly EditStoresOpeningHoursOverrideTemporary: "EditStoresOpeningHoursOverrideTemporary";
|
|
598
|
+
readonly UpdateStoresName: "UpdateStoresName";
|
|
599
|
+
readonly EditStoreKioskSettings: "EditStoreKioskSettings";
|
|
600
|
+
readonly EditStoreOrderCapacity: "EditStoreOrderCapacity";
|
|
601
|
+
readonly EditStoreNotifications: "EditStoreNotifications";
|
|
602
|
+
readonly ArchiveStores: "ArchiveStores";
|
|
603
|
+
readonly PublishStores: "PublishStores";
|
|
604
|
+
readonly UpdatePrinterTerminalsAssign: "UpdatePrinterTerminalsAssign";
|
|
605
|
+
readonly UpdatePrinterTerminalsToggle: "UpdatePrinterTerminalsToggle";
|
|
606
|
+
readonly ViewStoreGroups: "ViewStoreGroups";
|
|
607
|
+
readonly CreateStoreGroups: "CreateStoreGroups";
|
|
608
|
+
readonly UpdateStoreGroups: "UpdateStoreGroups";
|
|
609
|
+
readonly DeleteStoreGroups: "DeleteStoreGroups";
|
|
610
|
+
readonly ViewDeliveryZones: "ViewDeliveryZones";
|
|
611
|
+
readonly CreateDeliveryZones: "CreateDeliveryZones";
|
|
612
|
+
readonly UpdateDeliveryZones: "UpdateDeliveryZones";
|
|
613
|
+
readonly DeleteDeliveryZones: "DeleteDeliveryZones";
|
|
614
|
+
readonly ViewMenu: "ViewMenu";
|
|
615
|
+
readonly CreateMenu: "CreateMenu";
|
|
616
|
+
readonly UpdateMenu: "UpdateMenu";
|
|
617
|
+
readonly DeleteMenu: "DeleteMenu";
|
|
618
|
+
readonly UpdateMenuLock: "UpdateMenuLock";
|
|
619
|
+
readonly UpdateMenuItemsHideTemporarily: "UpdateMenuItemsHideTemporarily";
|
|
620
|
+
readonly EditMenuImage: "EditMenuImage";
|
|
621
|
+
readonly ViewVouchers: "ViewVouchers";
|
|
622
|
+
readonly EditVouchers: "EditVouchers";
|
|
623
|
+
readonly ViewWebsiteContent: "ViewWebsiteContent";
|
|
624
|
+
readonly EditWebsiteContent: "EditWebsiteContent";
|
|
625
|
+
readonly ViewWebsiteDnsVerified: "ViewWebsiteDnsVerified";
|
|
626
|
+
readonly ViewWebsiteCertificateCreated: "ViewWebsiteCertificateCreated";
|
|
627
|
+
readonly ViewWebsiteCertificateRenewed: "ViewWebsiteCertificateRenewed";
|
|
628
|
+
readonly ViewBankAccounts: "ViewBankAccounts";
|
|
629
|
+
readonly CreateBankAccounts: "CreateBankAccounts";
|
|
630
|
+
readonly UpdateBankAccounts: "UpdateBankAccounts";
|
|
631
|
+
readonly UpdateBankAccountsAssign: "UpdateBankAccountsAssign";
|
|
632
|
+
readonly ViewAssignedBankAccount: "ViewAssignedBankAccount";
|
|
633
|
+
readonly VerifyBankAccounts: "VerifyBankAccounts";
|
|
634
|
+
readonly ViewServiceChargeConfigurations: "ViewServiceChargeConfigurations";
|
|
635
|
+
readonly EditServiceChargeConfigurations: "EditServiceChargeConfigurations";
|
|
636
|
+
readonly EditStoreDeliveryZoneFees: "EditStoreDeliveryZoneFees";
|
|
637
|
+
readonly EditStoreDeliveryFeesLimited: "EditStoreDeliveryFeesLimited";
|
|
638
|
+
readonly ViewHydraConfig: "ViewHydraConfig";
|
|
639
|
+
readonly UpdateHydraConfigManage: "UpdateHydraConfigManage";
|
|
640
|
+
readonly InitiateBluetoothPairingMode: "InitiateBluetoothPairingMode";
|
|
641
|
+
readonly DeleteTerminal: "DeleteTerminal";
|
|
642
|
+
readonly ViewKioskTelemetry: "ViewKioskTelemetry";
|
|
643
|
+
readonly ViewCustomers: "ViewCustomers";
|
|
644
|
+
readonly EditCustomers: "EditCustomers";
|
|
645
|
+
readonly CreateCustomers: "CreateCustomers";
|
|
646
|
+
readonly CreateCatalogElements: "CreateCatalogElements";
|
|
647
|
+
readonly UpdateCatalogElements: "UpdateCatalogElements";
|
|
648
|
+
readonly ViewCatalogElements: "ViewCatalogElements";
|
|
649
|
+
readonly DeleteCatalogElements: "DeleteCatalogElements";
|
|
650
|
+
readonly ViewMetafieldDefinitions: "ViewMetafieldDefinitions";
|
|
651
|
+
readonly CreateMetafieldDefinitions: "CreateMetafieldDefinitions";
|
|
652
|
+
readonly UpdateMetafieldDefinitions: "UpdateMetafieldDefinitions";
|
|
653
|
+
readonly DeleteMetafieldDefinitions: "DeleteMetafieldDefinitions";
|
|
654
|
+
readonly UpdateMetafields: "UpdateMetafields";
|
|
655
|
+
readonly ViewCatalogMenuChanges: "ViewCatalogMenuChanges";
|
|
656
|
+
readonly PublishCatalogMenuChanges: "PublishCatalogMenuChanges";
|
|
657
|
+
readonly ViewAppStatistics: "ViewAppStatistics";
|
|
658
|
+
readonly ViewApmStatistics: "ViewApmStatistics";
|
|
659
|
+
readonly ViewCampaignsStatistics: "ViewCampaignsStatistics";
|
|
660
|
+
readonly ViewCustomerStatistics: "ViewCustomerStatistics";
|
|
661
|
+
readonly ViewLiveStatistics: "ViewLiveStatistics";
|
|
662
|
+
readonly ViewOrderStatistics: "ViewOrderStatistics";
|
|
663
|
+
readonly ViewSalesStatistics: "ViewSalesStatistics";
|
|
664
|
+
readonly ViewSalesEndOfDayStatistics: "ViewSalesEndOfDayStatistics";
|
|
665
|
+
readonly ViewVouchersStatistics: "ViewVouchersStatistics";
|
|
666
|
+
readonly DownloadCustomerCsvExport: "DownloadCustomerCsvExport";
|
|
667
|
+
readonly ViewApmAuditLogs: "ViewApmAuditLogs";
|
|
668
|
+
readonly ViewStoreAuditLogs: "ViewStoreAuditLogs";
|
|
669
|
+
readonly ViewMenuAuditLogs: "ViewMenuAuditLogs";
|
|
670
|
+
readonly ViewBankAccountAuditLogs: "ViewBankAccountAuditLogs";
|
|
671
|
+
readonly ViewFeeConfigurationsAuditLogs: "ViewFeeConfigurationsAuditLogs";
|
|
672
|
+
readonly ViewOrdersAuditLogs: "ViewOrdersAuditLogs";
|
|
673
|
+
readonly ViewVouchersAuditLogs: "ViewVouchersAuditLogs";
|
|
674
|
+
readonly ViewUserEventsAuditLogs: "ViewUserEventsAuditLogs";
|
|
675
|
+
readonly ViewCampaignsAuditLogs: "ViewCampaignsAuditLogs";
|
|
676
|
+
readonly ViewTeammatesAuditLogs: "ViewTeammatesAuditLogs";
|
|
677
|
+
readonly ViewAppAuditLogs: "ViewAppAuditLogs";
|
|
678
|
+
readonly ViewCustomerAuditLogs: "ViewCustomerAuditLogs";
|
|
679
|
+
readonly ViewPrinterAuditLogs: "ViewPrinterAuditLogs";
|
|
680
|
+
readonly ViewHydraAuditLogs: "ViewHydraAuditLogs";
|
|
681
|
+
readonly ViewPushNotificationAuditLogs: "ViewPushNotificationAuditLogs";
|
|
682
|
+
readonly ViewStripeCustomConnectedAccountAuditLogs: "ViewStripeCustomConnectedAccountAuditLogs";
|
|
683
|
+
readonly ViewKioskBluetoothDeviceAuditLogs: "ViewKioskBluetoothDeviceAuditLogs";
|
|
684
|
+
readonly ViewExternalAuditLogs: "ViewExternalAuditLogs";
|
|
685
|
+
readonly CreateExternalAuditLogEvents: "CreateExternalAuditLogEvents";
|
|
686
|
+
readonly ViewCatalogAuditLogs: "ViewCatalogAuditLogs";
|
|
687
|
+
readonly ViewOrderFulfillmentAuditLogs: "ViewOrderFulfillmentAuditLogs";
|
|
688
|
+
readonly ViewChannelAuditLogs: "ViewChannelAuditLogs";
|
|
689
|
+
readonly ViewAppStoreAuditLogs: "ViewAppStoreAuditLogs";
|
|
690
|
+
readonly SendPushNotificationToCustomer: "SendPushNotificationToCustomer";
|
|
691
|
+
readonly InviteDriverToApp: "InviteDriverToApp";
|
|
692
|
+
readonly GetDriverForApp: "GetDriverForApp";
|
|
693
|
+
readonly RemoveDriverFromApp: "RemoveDriverFromApp";
|
|
694
|
+
readonly AssignDriverToOrder: "AssignDriverToOrder";
|
|
695
|
+
readonly UnassignDriverFromOrder: "UnassignDriverFromOrder";
|
|
696
|
+
readonly UpdateOrdersDeliveryTrackingStatus: "UpdateOrdersDeliveryTrackingStatus";
|
|
697
|
+
readonly UpdateOrderFulfillmentStatus: "UpdateOrderFulfillmentStatus";
|
|
698
|
+
readonly ViewFulfillmentStatesConfiguration: "ViewFulfillmentStatesConfiguration";
|
|
699
|
+
readonly CreateFulfillmentStatesConfiguration: "CreateFulfillmentStatesConfiguration";
|
|
700
|
+
readonly UpdateFulfillmentStatesConfiguration: "UpdateFulfillmentStatesConfiguration";
|
|
701
|
+
readonly DeleteFulfillmentStatesConfiguration: "DeleteFulfillmentStatesConfiguration";
|
|
702
|
+
readonly ViewPayouts: "ViewPayouts";
|
|
703
|
+
readonly ViewChannels: "ViewChannels";
|
|
704
|
+
readonly ViewOnboarding: "ViewOnboarding";
|
|
705
|
+
readonly UpdateOnboarding: "UpdateOnboarding";
|
|
706
|
+
readonly ViewClientDevices: "ViewClientDevices";
|
|
707
|
+
readonly UpdateClientDevices: "UpdateClientDevices";
|
|
708
|
+
readonly EnrollClientDevices: "EnrollClientDevices";
|
|
709
|
+
readonly AssignClientDevices: "AssignClientDevices";
|
|
710
|
+
readonly ViewClientAuditLogs: "ViewClientAuditLogs";
|
|
711
|
+
readonly CreateAppStoreAppConfiguration: "CreateAppStoreAppConfiguration";
|
|
712
|
+
readonly ViewAppStoreAppConfiguration: "ViewAppStoreAppConfiguration";
|
|
713
|
+
readonly UpdateAppStoreAppConfiguration: "UpdateAppStoreAppConfiguration";
|
|
714
|
+
readonly DeleteAppStoreAppConfiguration: "DeleteAppStoreAppConfiguration";
|
|
715
|
+
readonly UpdateAppStoreAppConfigurationSettings: "UpdateAppStoreAppConfigurationSettings";
|
|
716
|
+
readonly CreateAppStoreSubscription: "CreateAppStoreSubscription";
|
|
717
|
+
readonly UpdateAppStoreSubscription: "UpdateAppStoreSubscription";
|
|
718
|
+
readonly DeleteAppStoreSubscription: "DeleteAppStoreSubscription";
|
|
719
|
+
readonly ViewSalesChannels: "ViewSalesChannels";
|
|
720
|
+
readonly EditSalesChannels: "EditSalesChannels";
|
|
721
|
+
readonly CreateSalesChannel: "CreateSalesChannel";
|
|
722
|
+
readonly ArchiveSalesChannel: "ArchiveSalesChannel";
|
|
723
|
+
readonly UnarchiveSalesChannel: "UnarchiveSalesChannel";
|
|
724
|
+
readonly PublishSalesChannel: "PublishSalesChannel";
|
|
725
|
+
readonly UnpublishSalesChannel: "UnpublishSalesChannel";
|
|
726
|
+
readonly CloneSalesChannel: "CloneSalesChannel";
|
|
727
|
+
readonly ViewPayGreenWhiteLabelConfiguration: "ViewPayGreenWhiteLabelConfiguration";
|
|
728
|
+
readonly CreatePayGreenWhiteLabelConfiguration: "CreatePayGreenWhiteLabelConfiguration";
|
|
729
|
+
readonly UpdatePayGreenWhiteLabelConfiguration: "UpdatePayGreenWhiteLabelConfiguration";
|
|
730
|
+
readonly UpdatePayGreenStoreConfiguration: "UpdatePayGreenStoreConfiguration";
|
|
731
|
+
readonly ViewSubscriptions: "ViewSubscriptions";
|
|
732
|
+
readonly ViewInvoices: "ViewInvoices";
|
|
733
|
+
readonly EditAccountsBills: "EditAccountsBills";
|
|
734
|
+
readonly ViewAccountsBills: "ViewAccountsBills";
|
|
735
|
+
readonly EditAccountsCategories: "EditAccountsCategories";
|
|
736
|
+
readonly ViewAccountsCategories: "ViewAccountsCategories";
|
|
737
|
+
readonly EditAccountsCreditAccounts: "EditAccountsCreditAccounts";
|
|
738
|
+
readonly ViewAccountsCreditAccounts: "ViewAccountsCreditAccounts";
|
|
739
|
+
readonly EditAccountsCreditBooks: "EditAccountsCreditBooks";
|
|
740
|
+
readonly ViewAccountsCreditBooks: "ViewAccountsCreditBooks";
|
|
741
|
+
readonly EditAccountsExpenses: "EditAccountsExpenses";
|
|
742
|
+
readonly ViewAccountsExpenses: "ViewAccountsExpenses";
|
|
743
|
+
readonly EditAccountsTransactionAccounts: "EditAccountsTransactionAccounts";
|
|
744
|
+
readonly ViewAccountsTransactionAccounts: "ViewAccountsTransactionAccounts";
|
|
745
|
+
readonly EditDocumentExplorer: "EditDocumentExplorer";
|
|
746
|
+
readonly ViewDocumentExplorer: "ViewDocumentExplorer";
|
|
747
|
+
readonly ViewInventoryReports: "ViewInventoryReports";
|
|
748
|
+
readonly EditInventoryPurchaseOrders: "EditInventoryPurchaseOrders";
|
|
749
|
+
readonly ViewInventoryPurchaseOrders: "ViewInventoryPurchaseOrders";
|
|
750
|
+
readonly EditInventoryStockItems: "EditInventoryStockItems";
|
|
751
|
+
readonly ViewInventoryStockItems: "ViewInventoryStockItems";
|
|
752
|
+
readonly EditInventorySupplier: "EditInventorySupplier";
|
|
753
|
+
readonly ViewInventorySupplier: "ViewInventorySupplier";
|
|
754
|
+
readonly EditInventoryTrackingProfiles: "EditInventoryTrackingProfiles";
|
|
755
|
+
readonly ViewInventoryTrackingProfiles: "ViewInventoryTrackingProfiles";
|
|
756
|
+
readonly ViewPayrollReports: "ViewPayrollReports";
|
|
757
|
+
readonly EditPayrollHoliday: "EditPayrollHoliday";
|
|
758
|
+
readonly ViewPayrollHoliday: "ViewPayrollHoliday";
|
|
759
|
+
readonly EditPayrollRota: "EditPayrollRota";
|
|
760
|
+
readonly ViewPayrollRota: "ViewPayrollRota";
|
|
761
|
+
readonly EditPayrollStaff: "EditPayrollStaff";
|
|
762
|
+
readonly ViewPayrollStaff: "ViewPayrollStaff";
|
|
763
|
+
readonly ViewSalesReports: "ViewSalesReports";
|
|
764
|
+
readonly ViewCostReports: "ViewCostReports";
|
|
765
|
+
readonly ViewMenuReports: "ViewMenuReports";
|
|
766
|
+
readonly ViewBrand: "ViewBrand";
|
|
767
|
+
readonly EditBrand: "EditBrand";
|
|
768
|
+
readonly CreateBrand: "CreateBrand";
|
|
769
|
+
readonly TransferBrand: "TransferBrand";
|
|
770
|
+
readonly ViewProperty: "ViewProperty";
|
|
771
|
+
readonly EditProperty: "EditProperty";
|
|
772
|
+
readonly CreateProperty: "CreateProperty";
|
|
773
|
+
readonly ArchiveProperty: "ArchiveProperty";
|
|
774
|
+
readonly ViewEntityFeatureFlags: "ViewEntityFeatureFlags";
|
|
775
|
+
readonly EditEntityFeatureFlags: "EditEntityFeatureFlags";
|
|
776
|
+
readonly CreateOrg: "CreateOrg";
|
|
777
|
+
readonly EditOrg: "EditOrg";
|
|
778
|
+
readonly ViewOrg: "ViewOrg";
|
|
779
|
+
readonly ViewWebhooks: "ViewWebhooks";
|
|
780
|
+
readonly EditWebhooks: "EditWebhooks";
|
|
781
|
+
};
|
|
782
|
+
export type GetAuthorizedBrandsRequestActionEnum = typeof GetAuthorizedBrandsRequestActionEnum[keyof typeof GetAuthorizedBrandsRequestActionEnum];
|
|
783
|
+
/**
|
|
784
|
+
* Response containing the authorized brands
|
|
785
|
+
* @export
|
|
786
|
+
* @interface GetAuthorizedBrandsResponse
|
|
787
|
+
*/
|
|
788
|
+
export interface GetAuthorizedBrandsResponse {
|
|
789
|
+
/**
|
|
790
|
+
*
|
|
791
|
+
* @type {AuthorizationBatchResponseRequest}
|
|
792
|
+
* @memberof GetAuthorizedBrandsResponse
|
|
793
|
+
*/
|
|
794
|
+
'request': AuthorizationBatchResponseRequest;
|
|
795
|
+
/**
|
|
796
|
+
* Array of allowed resources
|
|
797
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
798
|
+
* @memberof GetAuthorizedBrandsResponse
|
|
799
|
+
*/
|
|
800
|
+
'allowedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
801
|
+
/**
|
|
802
|
+
* Array of denied resources
|
|
803
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
804
|
+
* @memberof GetAuthorizedBrandsResponse
|
|
805
|
+
*/
|
|
806
|
+
'deniedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
* Request to get authorized orgs 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.
|
|
810
|
+
* @export
|
|
811
|
+
* @interface GetAuthorizedOrgsRequest
|
|
812
|
+
*/
|
|
813
|
+
export interface GetAuthorizedOrgsRequest {
|
|
814
|
+
/**
|
|
815
|
+
*
|
|
816
|
+
* @type {GetAuthorizedOrgsRequestPrincipal}
|
|
817
|
+
* @memberof GetAuthorizedOrgsRequest
|
|
818
|
+
*/
|
|
819
|
+
'principal'?: GetAuthorizedOrgsRequestPrincipal;
|
|
820
|
+
/**
|
|
821
|
+
* Incoming request headers to be used for authentication
|
|
822
|
+
* @type {{ [key: string]: any; }}
|
|
823
|
+
* @memberof GetAuthorizedOrgsRequest
|
|
824
|
+
*/
|
|
825
|
+
'headers'?: {
|
|
826
|
+
[key: string]: any;
|
|
827
|
+
};
|
|
828
|
+
/**
|
|
829
|
+
* The action to check authorisation for
|
|
830
|
+
* @type {string}
|
|
831
|
+
* @memberof GetAuthorizedOrgsRequest
|
|
832
|
+
*/
|
|
833
|
+
'action': GetAuthorizedOrgsRequestActionEnum;
|
|
834
|
+
}
|
|
835
|
+
export declare const GetAuthorizedOrgsRequestActionEnum: {
|
|
836
|
+
readonly AnyAuditLogs: "AnyAuditLogs";
|
|
837
|
+
readonly ViewApp: "ViewApp";
|
|
838
|
+
readonly CreateApp: "CreateApp";
|
|
839
|
+
readonly UpdateApp: "UpdateApp";
|
|
840
|
+
readonly ViewAppName: "ViewAppName";
|
|
841
|
+
readonly EditAppAssets: "EditAppAssets";
|
|
842
|
+
readonly EditAppFeatures: "EditAppFeatures";
|
|
843
|
+
readonly ViewTeammates: "ViewTeammates";
|
|
844
|
+
readonly EditTeammates: "EditTeammates";
|
|
845
|
+
readonly CreateTeammateOwner: "CreateTeammateOwner";
|
|
846
|
+
readonly CreateTeammateManagedOwner: "CreateTeammateManagedOwner";
|
|
847
|
+
readonly CreateTeammateStoreOwner: "CreateTeammateStoreOwner";
|
|
848
|
+
readonly CreateTeammateStoreManager: "CreateTeammateStoreManager";
|
|
849
|
+
readonly CreateTeammateStoreStaff: "CreateTeammateStoreStaff";
|
|
850
|
+
readonly CreateTeammateStoreReadAccess: "CreateTeammateStoreReadAccess";
|
|
851
|
+
readonly CreateTeammateFinanceManager: "CreateTeammateFinanceManager";
|
|
852
|
+
readonly CreateTeammateIntegrator: "CreateTeammateIntegrator";
|
|
853
|
+
readonly CreateTeammateOnboarding: "CreateTeammateOnboarding";
|
|
854
|
+
readonly CreateTeammatePropertyManager: "CreateTeammatePropertyManager";
|
|
855
|
+
readonly CreateTeammatePropertyOwner: "CreateTeammatePropertyOwner";
|
|
856
|
+
readonly ViewApmConfigurations: "ViewApmConfigurations";
|
|
857
|
+
readonly EditApmConfigurations: "EditApmConfigurations";
|
|
858
|
+
readonly ViewCampaignsConfigurations: "ViewCampaignsConfigurations";
|
|
859
|
+
readonly CreateCampaignsConfigurations: "CreateCampaignsConfigurations";
|
|
860
|
+
readonly UpdateCampaignsConfigurations: "UpdateCampaignsConfigurations";
|
|
861
|
+
readonly DeleteCampaignsConfigurations: "DeleteCampaignsConfigurations";
|
|
862
|
+
readonly StampLoyaltyCardAgainstCampaignsConfigurations: "StampLoyaltyCardAgainstCampaignsConfigurations";
|
|
863
|
+
readonly ViewDevelopersSettings: "ViewDevelopersSettings";
|
|
864
|
+
readonly EditDevelopersSettings: "EditDevelopersSettings";
|
|
865
|
+
readonly ViewOrders: "ViewOrders";
|
|
866
|
+
readonly UpdateOrdersAccept: "UpdateOrdersAccept";
|
|
867
|
+
readonly UpdateOrdersReject: "UpdateOrdersReject";
|
|
868
|
+
readonly UpdateOrdersRefund: "UpdateOrdersRefund";
|
|
869
|
+
readonly UpdateOrdersDispatch: "UpdateOrdersDispatch";
|
|
870
|
+
readonly ViewStores: "ViewStores";
|
|
871
|
+
readonly CreateStores: "CreateStores";
|
|
872
|
+
readonly EditStores: "EditStores";
|
|
873
|
+
readonly ViewStoresOpeningHours: "ViewStoresOpeningHours";
|
|
874
|
+
readonly UpdateStoresOpenForCollectionOrDelivery: "UpdateStoresOpenForCollectionOrDelivery";
|
|
875
|
+
readonly UpdateStoresOpeningHours: "UpdateStoresOpeningHours";
|
|
876
|
+
readonly ViewStoresOpeningHoursOverride: "ViewStoresOpeningHoursOverride";
|
|
877
|
+
readonly EditStoresOpeningHoursOverride: "EditStoresOpeningHoursOverride";
|
|
878
|
+
readonly EditStoresOpeningHoursOverrideTemporary: "EditStoresOpeningHoursOverrideTemporary";
|
|
879
|
+
readonly UpdateStoresName: "UpdateStoresName";
|
|
880
|
+
readonly EditStoreKioskSettings: "EditStoreKioskSettings";
|
|
881
|
+
readonly EditStoreOrderCapacity: "EditStoreOrderCapacity";
|
|
882
|
+
readonly EditStoreNotifications: "EditStoreNotifications";
|
|
883
|
+
readonly ArchiveStores: "ArchiveStores";
|
|
884
|
+
readonly PublishStores: "PublishStores";
|
|
885
|
+
readonly UpdatePrinterTerminalsAssign: "UpdatePrinterTerminalsAssign";
|
|
886
|
+
readonly UpdatePrinterTerminalsToggle: "UpdatePrinterTerminalsToggle";
|
|
887
|
+
readonly ViewStoreGroups: "ViewStoreGroups";
|
|
888
|
+
readonly CreateStoreGroups: "CreateStoreGroups";
|
|
889
|
+
readonly UpdateStoreGroups: "UpdateStoreGroups";
|
|
890
|
+
readonly DeleteStoreGroups: "DeleteStoreGroups";
|
|
891
|
+
readonly ViewDeliveryZones: "ViewDeliveryZones";
|
|
892
|
+
readonly CreateDeliveryZones: "CreateDeliveryZones";
|
|
893
|
+
readonly UpdateDeliveryZones: "UpdateDeliveryZones";
|
|
894
|
+
readonly DeleteDeliveryZones: "DeleteDeliveryZones";
|
|
895
|
+
readonly ViewMenu: "ViewMenu";
|
|
896
|
+
readonly CreateMenu: "CreateMenu";
|
|
897
|
+
readonly UpdateMenu: "UpdateMenu";
|
|
898
|
+
readonly DeleteMenu: "DeleteMenu";
|
|
899
|
+
readonly UpdateMenuLock: "UpdateMenuLock";
|
|
900
|
+
readonly UpdateMenuItemsHideTemporarily: "UpdateMenuItemsHideTemporarily";
|
|
901
|
+
readonly EditMenuImage: "EditMenuImage";
|
|
902
|
+
readonly ViewVouchers: "ViewVouchers";
|
|
903
|
+
readonly EditVouchers: "EditVouchers";
|
|
904
|
+
readonly ViewWebsiteContent: "ViewWebsiteContent";
|
|
905
|
+
readonly EditWebsiteContent: "EditWebsiteContent";
|
|
906
|
+
readonly ViewWebsiteDnsVerified: "ViewWebsiteDnsVerified";
|
|
907
|
+
readonly ViewWebsiteCertificateCreated: "ViewWebsiteCertificateCreated";
|
|
908
|
+
readonly ViewWebsiteCertificateRenewed: "ViewWebsiteCertificateRenewed";
|
|
909
|
+
readonly ViewBankAccounts: "ViewBankAccounts";
|
|
910
|
+
readonly CreateBankAccounts: "CreateBankAccounts";
|
|
911
|
+
readonly UpdateBankAccounts: "UpdateBankAccounts";
|
|
912
|
+
readonly UpdateBankAccountsAssign: "UpdateBankAccountsAssign";
|
|
913
|
+
readonly ViewAssignedBankAccount: "ViewAssignedBankAccount";
|
|
914
|
+
readonly VerifyBankAccounts: "VerifyBankAccounts";
|
|
915
|
+
readonly ViewServiceChargeConfigurations: "ViewServiceChargeConfigurations";
|
|
916
|
+
readonly EditServiceChargeConfigurations: "EditServiceChargeConfigurations";
|
|
917
|
+
readonly EditStoreDeliveryZoneFees: "EditStoreDeliveryZoneFees";
|
|
918
|
+
readonly EditStoreDeliveryFeesLimited: "EditStoreDeliveryFeesLimited";
|
|
919
|
+
readonly ViewHydraConfig: "ViewHydraConfig";
|
|
920
|
+
readonly UpdateHydraConfigManage: "UpdateHydraConfigManage";
|
|
921
|
+
readonly InitiateBluetoothPairingMode: "InitiateBluetoothPairingMode";
|
|
922
|
+
readonly DeleteTerminal: "DeleteTerminal";
|
|
923
|
+
readonly ViewKioskTelemetry: "ViewKioskTelemetry";
|
|
924
|
+
readonly ViewCustomers: "ViewCustomers";
|
|
925
|
+
readonly EditCustomers: "EditCustomers";
|
|
926
|
+
readonly CreateCustomers: "CreateCustomers";
|
|
927
|
+
readonly CreateCatalogElements: "CreateCatalogElements";
|
|
928
|
+
readonly UpdateCatalogElements: "UpdateCatalogElements";
|
|
929
|
+
readonly ViewCatalogElements: "ViewCatalogElements";
|
|
930
|
+
readonly DeleteCatalogElements: "DeleteCatalogElements";
|
|
931
|
+
readonly ViewMetafieldDefinitions: "ViewMetafieldDefinitions";
|
|
932
|
+
readonly CreateMetafieldDefinitions: "CreateMetafieldDefinitions";
|
|
933
|
+
readonly UpdateMetafieldDefinitions: "UpdateMetafieldDefinitions";
|
|
934
|
+
readonly DeleteMetafieldDefinitions: "DeleteMetafieldDefinitions";
|
|
935
|
+
readonly UpdateMetafields: "UpdateMetafields";
|
|
936
|
+
readonly ViewCatalogMenuChanges: "ViewCatalogMenuChanges";
|
|
937
|
+
readonly PublishCatalogMenuChanges: "PublishCatalogMenuChanges";
|
|
938
|
+
readonly ViewAppStatistics: "ViewAppStatistics";
|
|
939
|
+
readonly ViewApmStatistics: "ViewApmStatistics";
|
|
940
|
+
readonly ViewCampaignsStatistics: "ViewCampaignsStatistics";
|
|
941
|
+
readonly ViewCustomerStatistics: "ViewCustomerStatistics";
|
|
942
|
+
readonly ViewLiveStatistics: "ViewLiveStatistics";
|
|
943
|
+
readonly ViewOrderStatistics: "ViewOrderStatistics";
|
|
944
|
+
readonly ViewSalesStatistics: "ViewSalesStatistics";
|
|
945
|
+
readonly ViewSalesEndOfDayStatistics: "ViewSalesEndOfDayStatistics";
|
|
946
|
+
readonly ViewVouchersStatistics: "ViewVouchersStatistics";
|
|
947
|
+
readonly DownloadCustomerCsvExport: "DownloadCustomerCsvExport";
|
|
948
|
+
readonly ViewApmAuditLogs: "ViewApmAuditLogs";
|
|
949
|
+
readonly ViewStoreAuditLogs: "ViewStoreAuditLogs";
|
|
950
|
+
readonly ViewMenuAuditLogs: "ViewMenuAuditLogs";
|
|
951
|
+
readonly ViewBankAccountAuditLogs: "ViewBankAccountAuditLogs";
|
|
952
|
+
readonly ViewFeeConfigurationsAuditLogs: "ViewFeeConfigurationsAuditLogs";
|
|
953
|
+
readonly ViewOrdersAuditLogs: "ViewOrdersAuditLogs";
|
|
954
|
+
readonly ViewVouchersAuditLogs: "ViewVouchersAuditLogs";
|
|
955
|
+
readonly ViewUserEventsAuditLogs: "ViewUserEventsAuditLogs";
|
|
956
|
+
readonly ViewCampaignsAuditLogs: "ViewCampaignsAuditLogs";
|
|
957
|
+
readonly ViewTeammatesAuditLogs: "ViewTeammatesAuditLogs";
|
|
958
|
+
readonly ViewAppAuditLogs: "ViewAppAuditLogs";
|
|
959
|
+
readonly ViewCustomerAuditLogs: "ViewCustomerAuditLogs";
|
|
960
|
+
readonly ViewPrinterAuditLogs: "ViewPrinterAuditLogs";
|
|
961
|
+
readonly ViewHydraAuditLogs: "ViewHydraAuditLogs";
|
|
962
|
+
readonly ViewPushNotificationAuditLogs: "ViewPushNotificationAuditLogs";
|
|
963
|
+
readonly ViewStripeCustomConnectedAccountAuditLogs: "ViewStripeCustomConnectedAccountAuditLogs";
|
|
964
|
+
readonly ViewKioskBluetoothDeviceAuditLogs: "ViewKioskBluetoothDeviceAuditLogs";
|
|
965
|
+
readonly ViewExternalAuditLogs: "ViewExternalAuditLogs";
|
|
966
|
+
readonly CreateExternalAuditLogEvents: "CreateExternalAuditLogEvents";
|
|
967
|
+
readonly ViewCatalogAuditLogs: "ViewCatalogAuditLogs";
|
|
968
|
+
readonly ViewOrderFulfillmentAuditLogs: "ViewOrderFulfillmentAuditLogs";
|
|
969
|
+
readonly ViewChannelAuditLogs: "ViewChannelAuditLogs";
|
|
970
|
+
readonly ViewAppStoreAuditLogs: "ViewAppStoreAuditLogs";
|
|
971
|
+
readonly SendPushNotificationToCustomer: "SendPushNotificationToCustomer";
|
|
972
|
+
readonly InviteDriverToApp: "InviteDriverToApp";
|
|
973
|
+
readonly GetDriverForApp: "GetDriverForApp";
|
|
974
|
+
readonly RemoveDriverFromApp: "RemoveDriverFromApp";
|
|
975
|
+
readonly AssignDriverToOrder: "AssignDriverToOrder";
|
|
976
|
+
readonly UnassignDriverFromOrder: "UnassignDriverFromOrder";
|
|
977
|
+
readonly UpdateOrdersDeliveryTrackingStatus: "UpdateOrdersDeliveryTrackingStatus";
|
|
978
|
+
readonly UpdateOrderFulfillmentStatus: "UpdateOrderFulfillmentStatus";
|
|
979
|
+
readonly ViewFulfillmentStatesConfiguration: "ViewFulfillmentStatesConfiguration";
|
|
980
|
+
readonly CreateFulfillmentStatesConfiguration: "CreateFulfillmentStatesConfiguration";
|
|
981
|
+
readonly UpdateFulfillmentStatesConfiguration: "UpdateFulfillmentStatesConfiguration";
|
|
982
|
+
readonly DeleteFulfillmentStatesConfiguration: "DeleteFulfillmentStatesConfiguration";
|
|
983
|
+
readonly ViewPayouts: "ViewPayouts";
|
|
984
|
+
readonly ViewChannels: "ViewChannels";
|
|
985
|
+
readonly ViewOnboarding: "ViewOnboarding";
|
|
986
|
+
readonly UpdateOnboarding: "UpdateOnboarding";
|
|
987
|
+
readonly ViewClientDevices: "ViewClientDevices";
|
|
988
|
+
readonly UpdateClientDevices: "UpdateClientDevices";
|
|
989
|
+
readonly EnrollClientDevices: "EnrollClientDevices";
|
|
990
|
+
readonly AssignClientDevices: "AssignClientDevices";
|
|
991
|
+
readonly ViewClientAuditLogs: "ViewClientAuditLogs";
|
|
992
|
+
readonly CreateAppStoreAppConfiguration: "CreateAppStoreAppConfiguration";
|
|
993
|
+
readonly ViewAppStoreAppConfiguration: "ViewAppStoreAppConfiguration";
|
|
994
|
+
readonly UpdateAppStoreAppConfiguration: "UpdateAppStoreAppConfiguration";
|
|
995
|
+
readonly DeleteAppStoreAppConfiguration: "DeleteAppStoreAppConfiguration";
|
|
996
|
+
readonly UpdateAppStoreAppConfigurationSettings: "UpdateAppStoreAppConfigurationSettings";
|
|
997
|
+
readonly CreateAppStoreSubscription: "CreateAppStoreSubscription";
|
|
998
|
+
readonly UpdateAppStoreSubscription: "UpdateAppStoreSubscription";
|
|
999
|
+
readonly DeleteAppStoreSubscription: "DeleteAppStoreSubscription";
|
|
1000
|
+
readonly ViewSalesChannels: "ViewSalesChannels";
|
|
1001
|
+
readonly EditSalesChannels: "EditSalesChannels";
|
|
1002
|
+
readonly CreateSalesChannel: "CreateSalesChannel";
|
|
1003
|
+
readonly ArchiveSalesChannel: "ArchiveSalesChannel";
|
|
1004
|
+
readonly UnarchiveSalesChannel: "UnarchiveSalesChannel";
|
|
1005
|
+
readonly PublishSalesChannel: "PublishSalesChannel";
|
|
1006
|
+
readonly UnpublishSalesChannel: "UnpublishSalesChannel";
|
|
1007
|
+
readonly CloneSalesChannel: "CloneSalesChannel";
|
|
1008
|
+
readonly ViewPayGreenWhiteLabelConfiguration: "ViewPayGreenWhiteLabelConfiguration";
|
|
1009
|
+
readonly CreatePayGreenWhiteLabelConfiguration: "CreatePayGreenWhiteLabelConfiguration";
|
|
1010
|
+
readonly UpdatePayGreenWhiteLabelConfiguration: "UpdatePayGreenWhiteLabelConfiguration";
|
|
1011
|
+
readonly UpdatePayGreenStoreConfiguration: "UpdatePayGreenStoreConfiguration";
|
|
1012
|
+
readonly ViewSubscriptions: "ViewSubscriptions";
|
|
1013
|
+
readonly ViewInvoices: "ViewInvoices";
|
|
1014
|
+
readonly EditAccountsBills: "EditAccountsBills";
|
|
1015
|
+
readonly ViewAccountsBills: "ViewAccountsBills";
|
|
1016
|
+
readonly EditAccountsCategories: "EditAccountsCategories";
|
|
1017
|
+
readonly ViewAccountsCategories: "ViewAccountsCategories";
|
|
1018
|
+
readonly EditAccountsCreditAccounts: "EditAccountsCreditAccounts";
|
|
1019
|
+
readonly ViewAccountsCreditAccounts: "ViewAccountsCreditAccounts";
|
|
1020
|
+
readonly EditAccountsCreditBooks: "EditAccountsCreditBooks";
|
|
1021
|
+
readonly ViewAccountsCreditBooks: "ViewAccountsCreditBooks";
|
|
1022
|
+
readonly EditAccountsExpenses: "EditAccountsExpenses";
|
|
1023
|
+
readonly ViewAccountsExpenses: "ViewAccountsExpenses";
|
|
1024
|
+
readonly EditAccountsTransactionAccounts: "EditAccountsTransactionAccounts";
|
|
1025
|
+
readonly ViewAccountsTransactionAccounts: "ViewAccountsTransactionAccounts";
|
|
1026
|
+
readonly EditDocumentExplorer: "EditDocumentExplorer";
|
|
1027
|
+
readonly ViewDocumentExplorer: "ViewDocumentExplorer";
|
|
1028
|
+
readonly ViewInventoryReports: "ViewInventoryReports";
|
|
1029
|
+
readonly EditInventoryPurchaseOrders: "EditInventoryPurchaseOrders";
|
|
1030
|
+
readonly ViewInventoryPurchaseOrders: "ViewInventoryPurchaseOrders";
|
|
1031
|
+
readonly EditInventoryStockItems: "EditInventoryStockItems";
|
|
1032
|
+
readonly ViewInventoryStockItems: "ViewInventoryStockItems";
|
|
1033
|
+
readonly EditInventorySupplier: "EditInventorySupplier";
|
|
1034
|
+
readonly ViewInventorySupplier: "ViewInventorySupplier";
|
|
1035
|
+
readonly EditInventoryTrackingProfiles: "EditInventoryTrackingProfiles";
|
|
1036
|
+
readonly ViewInventoryTrackingProfiles: "ViewInventoryTrackingProfiles";
|
|
1037
|
+
readonly ViewPayrollReports: "ViewPayrollReports";
|
|
1038
|
+
readonly EditPayrollHoliday: "EditPayrollHoliday";
|
|
1039
|
+
readonly ViewPayrollHoliday: "ViewPayrollHoliday";
|
|
1040
|
+
readonly EditPayrollRota: "EditPayrollRota";
|
|
1041
|
+
readonly ViewPayrollRota: "ViewPayrollRota";
|
|
1042
|
+
readonly EditPayrollStaff: "EditPayrollStaff";
|
|
1043
|
+
readonly ViewPayrollStaff: "ViewPayrollStaff";
|
|
1044
|
+
readonly ViewSalesReports: "ViewSalesReports";
|
|
1045
|
+
readonly ViewCostReports: "ViewCostReports";
|
|
1046
|
+
readonly ViewMenuReports: "ViewMenuReports";
|
|
1047
|
+
readonly ViewBrand: "ViewBrand";
|
|
1048
|
+
readonly EditBrand: "EditBrand";
|
|
1049
|
+
readonly CreateBrand: "CreateBrand";
|
|
1050
|
+
readonly TransferBrand: "TransferBrand";
|
|
1051
|
+
readonly ViewProperty: "ViewProperty";
|
|
1052
|
+
readonly EditProperty: "EditProperty";
|
|
1053
|
+
readonly CreateProperty: "CreateProperty";
|
|
1054
|
+
readonly ArchiveProperty: "ArchiveProperty";
|
|
1055
|
+
readonly ViewEntityFeatureFlags: "ViewEntityFeatureFlags";
|
|
1056
|
+
readonly EditEntityFeatureFlags: "EditEntityFeatureFlags";
|
|
1057
|
+
readonly CreateOrg: "CreateOrg";
|
|
1058
|
+
readonly EditOrg: "EditOrg";
|
|
1059
|
+
readonly ViewOrg: "ViewOrg";
|
|
1060
|
+
readonly ViewWebhooks: "ViewWebhooks";
|
|
1061
|
+
readonly EditWebhooks: "EditWebhooks";
|
|
1062
|
+
};
|
|
1063
|
+
export type GetAuthorizedOrgsRequestActionEnum = typeof GetAuthorizedOrgsRequestActionEnum[keyof typeof GetAuthorizedOrgsRequestActionEnum];
|
|
1064
|
+
/**
|
|
1065
|
+
* The principal to get authorized entities for
|
|
1066
|
+
* @export
|
|
1067
|
+
* @interface GetAuthorizedOrgsRequestPrincipal
|
|
1068
|
+
*/
|
|
1069
|
+
export interface GetAuthorizedOrgsRequestPrincipal {
|
|
1070
|
+
/**
|
|
1071
|
+
*
|
|
1072
|
+
* @type {string}
|
|
1073
|
+
* @memberof GetAuthorizedOrgsRequestPrincipal
|
|
1074
|
+
*/
|
|
1075
|
+
'type': GetAuthorizedOrgsRequestPrincipalTypeEnum;
|
|
1076
|
+
/**
|
|
1077
|
+
*
|
|
1078
|
+
* @type {string}
|
|
1079
|
+
* @memberof GetAuthorizedOrgsRequestPrincipal
|
|
1080
|
+
*/
|
|
1081
|
+
'id': string;
|
|
1082
|
+
/**
|
|
1083
|
+
*
|
|
1084
|
+
* @type {string}
|
|
1085
|
+
* @memberof GetAuthorizedOrgsRequestPrincipal
|
|
1086
|
+
*/
|
|
1087
|
+
'name'?: string;
|
|
1088
|
+
/**
|
|
1089
|
+
*
|
|
1090
|
+
* @type {string}
|
|
1091
|
+
* @memberof GetAuthorizedOrgsRequestPrincipal
|
|
1092
|
+
*/
|
|
1093
|
+
'email'?: string;
|
|
1094
|
+
/**
|
|
1095
|
+
*
|
|
1096
|
+
* @type {string}
|
|
1097
|
+
* @memberof GetAuthorizedOrgsRequestPrincipal
|
|
1098
|
+
*/
|
|
1099
|
+
'phone'?: string;
|
|
1100
|
+
}
|
|
1101
|
+
export declare const GetAuthorizedOrgsRequestPrincipalTypeEnum: {
|
|
1102
|
+
readonly User: "User";
|
|
1103
|
+
readonly Automation: "Automation";
|
|
1104
|
+
};
|
|
1105
|
+
export type GetAuthorizedOrgsRequestPrincipalTypeEnum = typeof GetAuthorizedOrgsRequestPrincipalTypeEnum[keyof typeof GetAuthorizedOrgsRequestPrincipalTypeEnum];
|
|
1106
|
+
/**
|
|
1107
|
+
* Response containing the authorized orgs
|
|
1108
|
+
* @export
|
|
1109
|
+
* @interface GetAuthorizedOrgsResponse
|
|
1110
|
+
*/
|
|
1111
|
+
export interface GetAuthorizedOrgsResponse {
|
|
1112
|
+
/**
|
|
1113
|
+
*
|
|
1114
|
+
* @type {AuthorizationBatchResponseRequest}
|
|
1115
|
+
* @memberof GetAuthorizedOrgsResponse
|
|
1116
|
+
*/
|
|
1117
|
+
'request': AuthorizationBatchResponseRequest;
|
|
1118
|
+
/**
|
|
1119
|
+
* Array of allowed resources
|
|
1120
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
1121
|
+
* @memberof GetAuthorizedOrgsResponse
|
|
1122
|
+
*/
|
|
1123
|
+
'allowedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
1124
|
+
/**
|
|
1125
|
+
* Array of denied resources
|
|
1126
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
1127
|
+
* @memberof GetAuthorizedOrgsResponse
|
|
1128
|
+
*/
|
|
1129
|
+
'deniedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
1130
|
+
}
|
|
1131
|
+
/**
|
|
1132
|
+
* Request to get authorized properties 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.
|
|
1133
|
+
* @export
|
|
1134
|
+
* @interface GetAuthorizedPropertiesRequest
|
|
1135
|
+
*/
|
|
1136
|
+
export interface GetAuthorizedPropertiesRequest {
|
|
1137
|
+
/**
|
|
1138
|
+
*
|
|
1139
|
+
* @type {GetAuthorizedOrgsRequestPrincipal}
|
|
1140
|
+
* @memberof GetAuthorizedPropertiesRequest
|
|
1141
|
+
*/
|
|
1142
|
+
'principal'?: GetAuthorizedOrgsRequestPrincipal;
|
|
1143
|
+
/**
|
|
1144
|
+
* Incoming request headers to be used for authentication
|
|
1145
|
+
* @type {{ [key: string]: any; }}
|
|
1146
|
+
* @memberof GetAuthorizedPropertiesRequest
|
|
1147
|
+
*/
|
|
1148
|
+
'headers'?: {
|
|
1149
|
+
[key: string]: any;
|
|
1150
|
+
};
|
|
1151
|
+
/**
|
|
1152
|
+
* The action to check authorisation for
|
|
1153
|
+
* @type {string}
|
|
1154
|
+
* @memberof GetAuthorizedPropertiesRequest
|
|
1155
|
+
*/
|
|
1156
|
+
'action': GetAuthorizedPropertiesRequestActionEnum;
|
|
1157
|
+
}
|
|
1158
|
+
export declare const GetAuthorizedPropertiesRequestActionEnum: {
|
|
1159
|
+
readonly AnyAuditLogs: "AnyAuditLogs";
|
|
1160
|
+
readonly ViewApp: "ViewApp";
|
|
1161
|
+
readonly CreateApp: "CreateApp";
|
|
1162
|
+
readonly UpdateApp: "UpdateApp";
|
|
1163
|
+
readonly ViewAppName: "ViewAppName";
|
|
1164
|
+
readonly EditAppAssets: "EditAppAssets";
|
|
1165
|
+
readonly EditAppFeatures: "EditAppFeatures";
|
|
1166
|
+
readonly ViewTeammates: "ViewTeammates";
|
|
1167
|
+
readonly EditTeammates: "EditTeammates";
|
|
1168
|
+
readonly CreateTeammateOwner: "CreateTeammateOwner";
|
|
1169
|
+
readonly CreateTeammateManagedOwner: "CreateTeammateManagedOwner";
|
|
1170
|
+
readonly CreateTeammateStoreOwner: "CreateTeammateStoreOwner";
|
|
1171
|
+
readonly CreateTeammateStoreManager: "CreateTeammateStoreManager";
|
|
1172
|
+
readonly CreateTeammateStoreStaff: "CreateTeammateStoreStaff";
|
|
1173
|
+
readonly CreateTeammateStoreReadAccess: "CreateTeammateStoreReadAccess";
|
|
1174
|
+
readonly CreateTeammateFinanceManager: "CreateTeammateFinanceManager";
|
|
1175
|
+
readonly CreateTeammateIntegrator: "CreateTeammateIntegrator";
|
|
1176
|
+
readonly CreateTeammateOnboarding: "CreateTeammateOnboarding";
|
|
1177
|
+
readonly CreateTeammatePropertyManager: "CreateTeammatePropertyManager";
|
|
1178
|
+
readonly CreateTeammatePropertyOwner: "CreateTeammatePropertyOwner";
|
|
1179
|
+
readonly ViewApmConfigurations: "ViewApmConfigurations";
|
|
1180
|
+
readonly EditApmConfigurations: "EditApmConfigurations";
|
|
1181
|
+
readonly ViewCampaignsConfigurations: "ViewCampaignsConfigurations";
|
|
1182
|
+
readonly CreateCampaignsConfigurations: "CreateCampaignsConfigurations";
|
|
1183
|
+
readonly UpdateCampaignsConfigurations: "UpdateCampaignsConfigurations";
|
|
1184
|
+
readonly DeleteCampaignsConfigurations: "DeleteCampaignsConfigurations";
|
|
1185
|
+
readonly StampLoyaltyCardAgainstCampaignsConfigurations: "StampLoyaltyCardAgainstCampaignsConfigurations";
|
|
1186
|
+
readonly ViewDevelopersSettings: "ViewDevelopersSettings";
|
|
1187
|
+
readonly EditDevelopersSettings: "EditDevelopersSettings";
|
|
1188
|
+
readonly ViewOrders: "ViewOrders";
|
|
1189
|
+
readonly UpdateOrdersAccept: "UpdateOrdersAccept";
|
|
1190
|
+
readonly UpdateOrdersReject: "UpdateOrdersReject";
|
|
1191
|
+
readonly UpdateOrdersRefund: "UpdateOrdersRefund";
|
|
1192
|
+
readonly UpdateOrdersDispatch: "UpdateOrdersDispatch";
|
|
1193
|
+
readonly ViewStores: "ViewStores";
|
|
1194
|
+
readonly CreateStores: "CreateStores";
|
|
1195
|
+
readonly EditStores: "EditStores";
|
|
1196
|
+
readonly ViewStoresOpeningHours: "ViewStoresOpeningHours";
|
|
1197
|
+
readonly UpdateStoresOpenForCollectionOrDelivery: "UpdateStoresOpenForCollectionOrDelivery";
|
|
1198
|
+
readonly UpdateStoresOpeningHours: "UpdateStoresOpeningHours";
|
|
1199
|
+
readonly ViewStoresOpeningHoursOverride: "ViewStoresOpeningHoursOverride";
|
|
1200
|
+
readonly EditStoresOpeningHoursOverride: "EditStoresOpeningHoursOverride";
|
|
1201
|
+
readonly EditStoresOpeningHoursOverrideTemporary: "EditStoresOpeningHoursOverrideTemporary";
|
|
1202
|
+
readonly UpdateStoresName: "UpdateStoresName";
|
|
1203
|
+
readonly EditStoreKioskSettings: "EditStoreKioskSettings";
|
|
1204
|
+
readonly EditStoreOrderCapacity: "EditStoreOrderCapacity";
|
|
1205
|
+
readonly EditStoreNotifications: "EditStoreNotifications";
|
|
1206
|
+
readonly ArchiveStores: "ArchiveStores";
|
|
1207
|
+
readonly PublishStores: "PublishStores";
|
|
1208
|
+
readonly UpdatePrinterTerminalsAssign: "UpdatePrinterTerminalsAssign";
|
|
1209
|
+
readonly UpdatePrinterTerminalsToggle: "UpdatePrinterTerminalsToggle";
|
|
1210
|
+
readonly ViewStoreGroups: "ViewStoreGroups";
|
|
1211
|
+
readonly CreateStoreGroups: "CreateStoreGroups";
|
|
1212
|
+
readonly UpdateStoreGroups: "UpdateStoreGroups";
|
|
1213
|
+
readonly DeleteStoreGroups: "DeleteStoreGroups";
|
|
1214
|
+
readonly ViewDeliveryZones: "ViewDeliveryZones";
|
|
1215
|
+
readonly CreateDeliveryZones: "CreateDeliveryZones";
|
|
1216
|
+
readonly UpdateDeliveryZones: "UpdateDeliveryZones";
|
|
1217
|
+
readonly DeleteDeliveryZones: "DeleteDeliveryZones";
|
|
1218
|
+
readonly ViewMenu: "ViewMenu";
|
|
1219
|
+
readonly CreateMenu: "CreateMenu";
|
|
1220
|
+
readonly UpdateMenu: "UpdateMenu";
|
|
1221
|
+
readonly DeleteMenu: "DeleteMenu";
|
|
1222
|
+
readonly UpdateMenuLock: "UpdateMenuLock";
|
|
1223
|
+
readonly UpdateMenuItemsHideTemporarily: "UpdateMenuItemsHideTemporarily";
|
|
1224
|
+
readonly EditMenuImage: "EditMenuImage";
|
|
1225
|
+
readonly ViewVouchers: "ViewVouchers";
|
|
1226
|
+
readonly EditVouchers: "EditVouchers";
|
|
1227
|
+
readonly ViewWebsiteContent: "ViewWebsiteContent";
|
|
1228
|
+
readonly EditWebsiteContent: "EditWebsiteContent";
|
|
1229
|
+
readonly ViewWebsiteDnsVerified: "ViewWebsiteDnsVerified";
|
|
1230
|
+
readonly ViewWebsiteCertificateCreated: "ViewWebsiteCertificateCreated";
|
|
1231
|
+
readonly ViewWebsiteCertificateRenewed: "ViewWebsiteCertificateRenewed";
|
|
1232
|
+
readonly ViewBankAccounts: "ViewBankAccounts";
|
|
1233
|
+
readonly CreateBankAccounts: "CreateBankAccounts";
|
|
1234
|
+
readonly UpdateBankAccounts: "UpdateBankAccounts";
|
|
1235
|
+
readonly UpdateBankAccountsAssign: "UpdateBankAccountsAssign";
|
|
1236
|
+
readonly ViewAssignedBankAccount: "ViewAssignedBankAccount";
|
|
1237
|
+
readonly VerifyBankAccounts: "VerifyBankAccounts";
|
|
1238
|
+
readonly ViewServiceChargeConfigurations: "ViewServiceChargeConfigurations";
|
|
1239
|
+
readonly EditServiceChargeConfigurations: "EditServiceChargeConfigurations";
|
|
1240
|
+
readonly EditStoreDeliveryZoneFees: "EditStoreDeliveryZoneFees";
|
|
1241
|
+
readonly EditStoreDeliveryFeesLimited: "EditStoreDeliveryFeesLimited";
|
|
1242
|
+
readonly ViewHydraConfig: "ViewHydraConfig";
|
|
1243
|
+
readonly UpdateHydraConfigManage: "UpdateHydraConfigManage";
|
|
1244
|
+
readonly InitiateBluetoothPairingMode: "InitiateBluetoothPairingMode";
|
|
1245
|
+
readonly DeleteTerminal: "DeleteTerminal";
|
|
1246
|
+
readonly ViewKioskTelemetry: "ViewKioskTelemetry";
|
|
1247
|
+
readonly ViewCustomers: "ViewCustomers";
|
|
1248
|
+
readonly EditCustomers: "EditCustomers";
|
|
1249
|
+
readonly CreateCustomers: "CreateCustomers";
|
|
1250
|
+
readonly CreateCatalogElements: "CreateCatalogElements";
|
|
1251
|
+
readonly UpdateCatalogElements: "UpdateCatalogElements";
|
|
1252
|
+
readonly ViewCatalogElements: "ViewCatalogElements";
|
|
1253
|
+
readonly DeleteCatalogElements: "DeleteCatalogElements";
|
|
1254
|
+
readonly ViewMetafieldDefinitions: "ViewMetafieldDefinitions";
|
|
1255
|
+
readonly CreateMetafieldDefinitions: "CreateMetafieldDefinitions";
|
|
1256
|
+
readonly UpdateMetafieldDefinitions: "UpdateMetafieldDefinitions";
|
|
1257
|
+
readonly DeleteMetafieldDefinitions: "DeleteMetafieldDefinitions";
|
|
1258
|
+
readonly UpdateMetafields: "UpdateMetafields";
|
|
1259
|
+
readonly ViewCatalogMenuChanges: "ViewCatalogMenuChanges";
|
|
1260
|
+
readonly PublishCatalogMenuChanges: "PublishCatalogMenuChanges";
|
|
1261
|
+
readonly ViewAppStatistics: "ViewAppStatistics";
|
|
1262
|
+
readonly ViewApmStatistics: "ViewApmStatistics";
|
|
1263
|
+
readonly ViewCampaignsStatistics: "ViewCampaignsStatistics";
|
|
1264
|
+
readonly ViewCustomerStatistics: "ViewCustomerStatistics";
|
|
1265
|
+
readonly ViewLiveStatistics: "ViewLiveStatistics";
|
|
1266
|
+
readonly ViewOrderStatistics: "ViewOrderStatistics";
|
|
1267
|
+
readonly ViewSalesStatistics: "ViewSalesStatistics";
|
|
1268
|
+
readonly ViewSalesEndOfDayStatistics: "ViewSalesEndOfDayStatistics";
|
|
1269
|
+
readonly ViewVouchersStatistics: "ViewVouchersStatistics";
|
|
1270
|
+
readonly DownloadCustomerCsvExport: "DownloadCustomerCsvExport";
|
|
1271
|
+
readonly ViewApmAuditLogs: "ViewApmAuditLogs";
|
|
1272
|
+
readonly ViewStoreAuditLogs: "ViewStoreAuditLogs";
|
|
1273
|
+
readonly ViewMenuAuditLogs: "ViewMenuAuditLogs";
|
|
1274
|
+
readonly ViewBankAccountAuditLogs: "ViewBankAccountAuditLogs";
|
|
1275
|
+
readonly ViewFeeConfigurationsAuditLogs: "ViewFeeConfigurationsAuditLogs";
|
|
1276
|
+
readonly ViewOrdersAuditLogs: "ViewOrdersAuditLogs";
|
|
1277
|
+
readonly ViewVouchersAuditLogs: "ViewVouchersAuditLogs";
|
|
1278
|
+
readonly ViewUserEventsAuditLogs: "ViewUserEventsAuditLogs";
|
|
1279
|
+
readonly ViewCampaignsAuditLogs: "ViewCampaignsAuditLogs";
|
|
1280
|
+
readonly ViewTeammatesAuditLogs: "ViewTeammatesAuditLogs";
|
|
1281
|
+
readonly ViewAppAuditLogs: "ViewAppAuditLogs";
|
|
1282
|
+
readonly ViewCustomerAuditLogs: "ViewCustomerAuditLogs";
|
|
1283
|
+
readonly ViewPrinterAuditLogs: "ViewPrinterAuditLogs";
|
|
1284
|
+
readonly ViewHydraAuditLogs: "ViewHydraAuditLogs";
|
|
1285
|
+
readonly ViewPushNotificationAuditLogs: "ViewPushNotificationAuditLogs";
|
|
1286
|
+
readonly ViewStripeCustomConnectedAccountAuditLogs: "ViewStripeCustomConnectedAccountAuditLogs";
|
|
1287
|
+
readonly ViewKioskBluetoothDeviceAuditLogs: "ViewKioskBluetoothDeviceAuditLogs";
|
|
1288
|
+
readonly ViewExternalAuditLogs: "ViewExternalAuditLogs";
|
|
1289
|
+
readonly CreateExternalAuditLogEvents: "CreateExternalAuditLogEvents";
|
|
1290
|
+
readonly ViewCatalogAuditLogs: "ViewCatalogAuditLogs";
|
|
1291
|
+
readonly ViewOrderFulfillmentAuditLogs: "ViewOrderFulfillmentAuditLogs";
|
|
1292
|
+
readonly ViewChannelAuditLogs: "ViewChannelAuditLogs";
|
|
1293
|
+
readonly ViewAppStoreAuditLogs: "ViewAppStoreAuditLogs";
|
|
1294
|
+
readonly SendPushNotificationToCustomer: "SendPushNotificationToCustomer";
|
|
1295
|
+
readonly InviteDriverToApp: "InviteDriverToApp";
|
|
1296
|
+
readonly GetDriverForApp: "GetDriverForApp";
|
|
1297
|
+
readonly RemoveDriverFromApp: "RemoveDriverFromApp";
|
|
1298
|
+
readonly AssignDriverToOrder: "AssignDriverToOrder";
|
|
1299
|
+
readonly UnassignDriverFromOrder: "UnassignDriverFromOrder";
|
|
1300
|
+
readonly UpdateOrdersDeliveryTrackingStatus: "UpdateOrdersDeliveryTrackingStatus";
|
|
1301
|
+
readonly UpdateOrderFulfillmentStatus: "UpdateOrderFulfillmentStatus";
|
|
1302
|
+
readonly ViewFulfillmentStatesConfiguration: "ViewFulfillmentStatesConfiguration";
|
|
1303
|
+
readonly CreateFulfillmentStatesConfiguration: "CreateFulfillmentStatesConfiguration";
|
|
1304
|
+
readonly UpdateFulfillmentStatesConfiguration: "UpdateFulfillmentStatesConfiguration";
|
|
1305
|
+
readonly DeleteFulfillmentStatesConfiguration: "DeleteFulfillmentStatesConfiguration";
|
|
1306
|
+
readonly ViewPayouts: "ViewPayouts";
|
|
1307
|
+
readonly ViewChannels: "ViewChannels";
|
|
1308
|
+
readonly ViewOnboarding: "ViewOnboarding";
|
|
1309
|
+
readonly UpdateOnboarding: "UpdateOnboarding";
|
|
1310
|
+
readonly ViewClientDevices: "ViewClientDevices";
|
|
1311
|
+
readonly UpdateClientDevices: "UpdateClientDevices";
|
|
1312
|
+
readonly EnrollClientDevices: "EnrollClientDevices";
|
|
1313
|
+
readonly AssignClientDevices: "AssignClientDevices";
|
|
1314
|
+
readonly ViewClientAuditLogs: "ViewClientAuditLogs";
|
|
1315
|
+
readonly CreateAppStoreAppConfiguration: "CreateAppStoreAppConfiguration";
|
|
1316
|
+
readonly ViewAppStoreAppConfiguration: "ViewAppStoreAppConfiguration";
|
|
1317
|
+
readonly UpdateAppStoreAppConfiguration: "UpdateAppStoreAppConfiguration";
|
|
1318
|
+
readonly DeleteAppStoreAppConfiguration: "DeleteAppStoreAppConfiguration";
|
|
1319
|
+
readonly UpdateAppStoreAppConfigurationSettings: "UpdateAppStoreAppConfigurationSettings";
|
|
1320
|
+
readonly CreateAppStoreSubscription: "CreateAppStoreSubscription";
|
|
1321
|
+
readonly UpdateAppStoreSubscription: "UpdateAppStoreSubscription";
|
|
1322
|
+
readonly DeleteAppStoreSubscription: "DeleteAppStoreSubscription";
|
|
1323
|
+
readonly ViewSalesChannels: "ViewSalesChannels";
|
|
1324
|
+
readonly EditSalesChannels: "EditSalesChannels";
|
|
1325
|
+
readonly CreateSalesChannel: "CreateSalesChannel";
|
|
1326
|
+
readonly ArchiveSalesChannel: "ArchiveSalesChannel";
|
|
1327
|
+
readonly UnarchiveSalesChannel: "UnarchiveSalesChannel";
|
|
1328
|
+
readonly PublishSalesChannel: "PublishSalesChannel";
|
|
1329
|
+
readonly UnpublishSalesChannel: "UnpublishSalesChannel";
|
|
1330
|
+
readonly CloneSalesChannel: "CloneSalesChannel";
|
|
1331
|
+
readonly ViewPayGreenWhiteLabelConfiguration: "ViewPayGreenWhiteLabelConfiguration";
|
|
1332
|
+
readonly CreatePayGreenWhiteLabelConfiguration: "CreatePayGreenWhiteLabelConfiguration";
|
|
1333
|
+
readonly UpdatePayGreenWhiteLabelConfiguration: "UpdatePayGreenWhiteLabelConfiguration";
|
|
1334
|
+
readonly UpdatePayGreenStoreConfiguration: "UpdatePayGreenStoreConfiguration";
|
|
1335
|
+
readonly ViewSubscriptions: "ViewSubscriptions";
|
|
1336
|
+
readonly ViewInvoices: "ViewInvoices";
|
|
1337
|
+
readonly EditAccountsBills: "EditAccountsBills";
|
|
1338
|
+
readonly ViewAccountsBills: "ViewAccountsBills";
|
|
1339
|
+
readonly EditAccountsCategories: "EditAccountsCategories";
|
|
1340
|
+
readonly ViewAccountsCategories: "ViewAccountsCategories";
|
|
1341
|
+
readonly EditAccountsCreditAccounts: "EditAccountsCreditAccounts";
|
|
1342
|
+
readonly ViewAccountsCreditAccounts: "ViewAccountsCreditAccounts";
|
|
1343
|
+
readonly EditAccountsCreditBooks: "EditAccountsCreditBooks";
|
|
1344
|
+
readonly ViewAccountsCreditBooks: "ViewAccountsCreditBooks";
|
|
1345
|
+
readonly EditAccountsExpenses: "EditAccountsExpenses";
|
|
1346
|
+
readonly ViewAccountsExpenses: "ViewAccountsExpenses";
|
|
1347
|
+
readonly EditAccountsTransactionAccounts: "EditAccountsTransactionAccounts";
|
|
1348
|
+
readonly ViewAccountsTransactionAccounts: "ViewAccountsTransactionAccounts";
|
|
1349
|
+
readonly EditDocumentExplorer: "EditDocumentExplorer";
|
|
1350
|
+
readonly ViewDocumentExplorer: "ViewDocumentExplorer";
|
|
1351
|
+
readonly ViewInventoryReports: "ViewInventoryReports";
|
|
1352
|
+
readonly EditInventoryPurchaseOrders: "EditInventoryPurchaseOrders";
|
|
1353
|
+
readonly ViewInventoryPurchaseOrders: "ViewInventoryPurchaseOrders";
|
|
1354
|
+
readonly EditInventoryStockItems: "EditInventoryStockItems";
|
|
1355
|
+
readonly ViewInventoryStockItems: "ViewInventoryStockItems";
|
|
1356
|
+
readonly EditInventorySupplier: "EditInventorySupplier";
|
|
1357
|
+
readonly ViewInventorySupplier: "ViewInventorySupplier";
|
|
1358
|
+
readonly EditInventoryTrackingProfiles: "EditInventoryTrackingProfiles";
|
|
1359
|
+
readonly ViewInventoryTrackingProfiles: "ViewInventoryTrackingProfiles";
|
|
1360
|
+
readonly ViewPayrollReports: "ViewPayrollReports";
|
|
1361
|
+
readonly EditPayrollHoliday: "EditPayrollHoliday";
|
|
1362
|
+
readonly ViewPayrollHoliday: "ViewPayrollHoliday";
|
|
1363
|
+
readonly EditPayrollRota: "EditPayrollRota";
|
|
1364
|
+
readonly ViewPayrollRota: "ViewPayrollRota";
|
|
1365
|
+
readonly EditPayrollStaff: "EditPayrollStaff";
|
|
1366
|
+
readonly ViewPayrollStaff: "ViewPayrollStaff";
|
|
1367
|
+
readonly ViewSalesReports: "ViewSalesReports";
|
|
1368
|
+
readonly ViewCostReports: "ViewCostReports";
|
|
1369
|
+
readonly ViewMenuReports: "ViewMenuReports";
|
|
1370
|
+
readonly ViewBrand: "ViewBrand";
|
|
1371
|
+
readonly EditBrand: "EditBrand";
|
|
1372
|
+
readonly CreateBrand: "CreateBrand";
|
|
1373
|
+
readonly TransferBrand: "TransferBrand";
|
|
1374
|
+
readonly ViewProperty: "ViewProperty";
|
|
1375
|
+
readonly EditProperty: "EditProperty";
|
|
1376
|
+
readonly CreateProperty: "CreateProperty";
|
|
1377
|
+
readonly ArchiveProperty: "ArchiveProperty";
|
|
1378
|
+
readonly ViewEntityFeatureFlags: "ViewEntityFeatureFlags";
|
|
1379
|
+
readonly EditEntityFeatureFlags: "EditEntityFeatureFlags";
|
|
1380
|
+
readonly CreateOrg: "CreateOrg";
|
|
1381
|
+
readonly EditOrg: "EditOrg";
|
|
1382
|
+
readonly ViewOrg: "ViewOrg";
|
|
1383
|
+
readonly ViewWebhooks: "ViewWebhooks";
|
|
1384
|
+
readonly EditWebhooks: "EditWebhooks";
|
|
1385
|
+
};
|
|
1386
|
+
export type GetAuthorizedPropertiesRequestActionEnum = typeof GetAuthorizedPropertiesRequestActionEnum[keyof typeof GetAuthorizedPropertiesRequestActionEnum];
|
|
1387
|
+
/**
|
|
1388
|
+
* Response containing the authorized properties
|
|
1389
|
+
* @export
|
|
1390
|
+
* @interface GetAuthorizedPropertiesResponse
|
|
1391
|
+
*/
|
|
1392
|
+
export interface GetAuthorizedPropertiesResponse {
|
|
1393
|
+
/**
|
|
1394
|
+
*
|
|
1395
|
+
* @type {AuthorizationBatchResponseRequest}
|
|
1396
|
+
* @memberof GetAuthorizedPropertiesResponse
|
|
1397
|
+
*/
|
|
1398
|
+
'request': AuthorizationBatchResponseRequest;
|
|
1399
|
+
/**
|
|
1400
|
+
* Array of allowed resources
|
|
1401
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
1402
|
+
* @memberof GetAuthorizedPropertiesResponse
|
|
1403
|
+
*/
|
|
1404
|
+
'allowedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
1405
|
+
/**
|
|
1406
|
+
* Array of denied resources
|
|
1407
|
+
* @type {Array<AuthorizationBatchResponseAllowedResourcesInner>}
|
|
1408
|
+
* @memberof GetAuthorizedPropertiesResponse
|
|
1409
|
+
*/
|
|
1410
|
+
'deniedResources': Array<AuthorizationBatchResponseAllowedResourcesInner>;
|
|
1411
|
+
}
|
|
527
1412
|
/**
|
|
528
1413
|
* Successful permissions retrieval response
|
|
529
1414
|
* @export
|
|
@@ -1719,6 +2604,139 @@ export declare class AuthorizationApi extends BaseAPI {
|
|
|
1719
2604
|
*/
|
|
1720
2605
|
authorizeBatch(authorizationBatchRequest?: AuthorizationBatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthorizationBatchResponse, any, {}>>;
|
|
1721
2606
|
}
|
|
2607
|
+
/**
|
|
2608
|
+
* AuthorizedEntitiesApi - axios parameter creator
|
|
2609
|
+
* @export
|
|
2610
|
+
*/
|
|
2611
|
+
export declare const AuthorizedEntitiesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2612
|
+
/**
|
|
2613
|
+
* Get the authorized brands for a given org
|
|
2614
|
+
* @summary Get Authorized Brands
|
|
2615
|
+
* @param {string} orgId
|
|
2616
|
+
* @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
|
|
2617
|
+
* @param {*} [options] Override http request option.
|
|
2618
|
+
* @throws {RequiredError}
|
|
2619
|
+
*/
|
|
2620
|
+
getAuthorizedBrands: (orgId: string, getAuthorizedBrandsRequest?: GetAuthorizedBrandsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2621
|
+
/**
|
|
2622
|
+
* Get the authorized orgs for a given principal
|
|
2623
|
+
* @summary Get Authorized Orgs
|
|
2624
|
+
* @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
|
|
2625
|
+
* @param {*} [options] Override http request option.
|
|
2626
|
+
* @throws {RequiredError}
|
|
2627
|
+
*/
|
|
2628
|
+
getAuthorizedOrgs: (getAuthorizedOrgsRequest?: GetAuthorizedOrgsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2629
|
+
/**
|
|
2630
|
+
* Get the authorized properties for a given org
|
|
2631
|
+
* @summary Get Authorized Properties
|
|
2632
|
+
* @param {string} orgId
|
|
2633
|
+
* @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
|
|
2634
|
+
* @param {*} [options] Override http request option.
|
|
2635
|
+
* @throws {RequiredError}
|
|
2636
|
+
*/
|
|
2637
|
+
getAuthorizedProperties: (orgId: string, getAuthorizedPropertiesRequest?: GetAuthorizedPropertiesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2638
|
+
};
|
|
2639
|
+
/**
|
|
2640
|
+
* AuthorizedEntitiesApi - functional programming interface
|
|
2641
|
+
* @export
|
|
2642
|
+
*/
|
|
2643
|
+
export declare const AuthorizedEntitiesApiFp: (configuration?: Configuration) => {
|
|
2644
|
+
/**
|
|
2645
|
+
* Get the authorized brands for a given org
|
|
2646
|
+
* @summary Get Authorized Brands
|
|
2647
|
+
* @param {string} orgId
|
|
2648
|
+
* @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
|
|
2649
|
+
* @param {*} [options] Override http request option.
|
|
2650
|
+
* @throws {RequiredError}
|
|
2651
|
+
*/
|
|
2652
|
+
getAuthorizedBrands(orgId: string, getAuthorizedBrandsRequest?: GetAuthorizedBrandsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAuthorizedBrandsResponse>>;
|
|
2653
|
+
/**
|
|
2654
|
+
* Get the authorized orgs for a given principal
|
|
2655
|
+
* @summary Get Authorized Orgs
|
|
2656
|
+
* @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
|
|
2657
|
+
* @param {*} [options] Override http request option.
|
|
2658
|
+
* @throws {RequiredError}
|
|
2659
|
+
*/
|
|
2660
|
+
getAuthorizedOrgs(getAuthorizedOrgsRequest?: GetAuthorizedOrgsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAuthorizedOrgsResponse>>;
|
|
2661
|
+
/**
|
|
2662
|
+
* Get the authorized properties for a given org
|
|
2663
|
+
* @summary Get Authorized Properties
|
|
2664
|
+
* @param {string} orgId
|
|
2665
|
+
* @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
|
|
2666
|
+
* @param {*} [options] Override http request option.
|
|
2667
|
+
* @throws {RequiredError}
|
|
2668
|
+
*/
|
|
2669
|
+
getAuthorizedProperties(orgId: string, getAuthorizedPropertiesRequest?: GetAuthorizedPropertiesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAuthorizedPropertiesResponse>>;
|
|
2670
|
+
};
|
|
2671
|
+
/**
|
|
2672
|
+
* AuthorizedEntitiesApi - factory interface
|
|
2673
|
+
* @export
|
|
2674
|
+
*/
|
|
2675
|
+
export declare const AuthorizedEntitiesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2676
|
+
/**
|
|
2677
|
+
* Get the authorized brands for a given org
|
|
2678
|
+
* @summary Get Authorized Brands
|
|
2679
|
+
* @param {string} orgId
|
|
2680
|
+
* @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
|
|
2681
|
+
* @param {*} [options] Override http request option.
|
|
2682
|
+
* @throws {RequiredError}
|
|
2683
|
+
*/
|
|
2684
|
+
getAuthorizedBrands(orgId: string, getAuthorizedBrandsRequest?: GetAuthorizedBrandsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAuthorizedBrandsResponse>;
|
|
2685
|
+
/**
|
|
2686
|
+
* Get the authorized orgs for a given principal
|
|
2687
|
+
* @summary Get Authorized Orgs
|
|
2688
|
+
* @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
|
|
2689
|
+
* @param {*} [options] Override http request option.
|
|
2690
|
+
* @throws {RequiredError}
|
|
2691
|
+
*/
|
|
2692
|
+
getAuthorizedOrgs(getAuthorizedOrgsRequest?: GetAuthorizedOrgsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAuthorizedOrgsResponse>;
|
|
2693
|
+
/**
|
|
2694
|
+
* Get the authorized properties for a given org
|
|
2695
|
+
* @summary Get Authorized Properties
|
|
2696
|
+
* @param {string} orgId
|
|
2697
|
+
* @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
|
|
2698
|
+
* @param {*} [options] Override http request option.
|
|
2699
|
+
* @throws {RequiredError}
|
|
2700
|
+
*/
|
|
2701
|
+
getAuthorizedProperties(orgId: string, getAuthorizedPropertiesRequest?: GetAuthorizedPropertiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAuthorizedPropertiesResponse>;
|
|
2702
|
+
};
|
|
2703
|
+
/**
|
|
2704
|
+
* AuthorizedEntitiesApi - object-oriented interface
|
|
2705
|
+
* @export
|
|
2706
|
+
* @class AuthorizedEntitiesApi
|
|
2707
|
+
* @extends {BaseAPI}
|
|
2708
|
+
*/
|
|
2709
|
+
export declare class AuthorizedEntitiesApi extends BaseAPI {
|
|
2710
|
+
/**
|
|
2711
|
+
* Get the authorized brands for a given org
|
|
2712
|
+
* @summary Get Authorized Brands
|
|
2713
|
+
* @param {string} orgId
|
|
2714
|
+
* @param {GetAuthorizedBrandsRequest} [getAuthorizedBrandsRequest]
|
|
2715
|
+
* @param {*} [options] Override http request option.
|
|
2716
|
+
* @throws {RequiredError}
|
|
2717
|
+
* @memberof AuthorizedEntitiesApi
|
|
2718
|
+
*/
|
|
2719
|
+
getAuthorizedBrands(orgId: string, getAuthorizedBrandsRequest?: GetAuthorizedBrandsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAuthorizedBrandsResponse, any, {}>>;
|
|
2720
|
+
/**
|
|
2721
|
+
* Get the authorized orgs for a given principal
|
|
2722
|
+
* @summary Get Authorized Orgs
|
|
2723
|
+
* @param {GetAuthorizedOrgsRequest} [getAuthorizedOrgsRequest]
|
|
2724
|
+
* @param {*} [options] Override http request option.
|
|
2725
|
+
* @throws {RequiredError}
|
|
2726
|
+
* @memberof AuthorizedEntitiesApi
|
|
2727
|
+
*/
|
|
2728
|
+
getAuthorizedOrgs(getAuthorizedOrgsRequest?: GetAuthorizedOrgsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAuthorizedOrgsResponse, any, {}>>;
|
|
2729
|
+
/**
|
|
2730
|
+
* Get the authorized properties for a given org
|
|
2731
|
+
* @summary Get Authorized Properties
|
|
2732
|
+
* @param {string} orgId
|
|
2733
|
+
* @param {GetAuthorizedPropertiesRequest} [getAuthorizedPropertiesRequest]
|
|
2734
|
+
* @param {*} [options] Override http request option.
|
|
2735
|
+
* @throws {RequiredError}
|
|
2736
|
+
* @memberof AuthorizedEntitiesApi
|
|
2737
|
+
*/
|
|
2738
|
+
getAuthorizedProperties(orgId: string, getAuthorizedPropertiesRequest?: GetAuthorizedPropertiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAuthorizedPropertiesResponse, any, {}>>;
|
|
2739
|
+
}
|
|
1722
2740
|
/**
|
|
1723
2741
|
* PermissionsApi - axios parameter creator
|
|
1724
2742
|
* @export
|