@munchi_oy/core 1.7.0 → 1.7.2

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.
@@ -1101,6 +1101,25 @@ export interface BusinessPermissionResponseDto {
1101
1101
  */
1102
1102
  'updatedAt': string;
1103
1103
  }
1104
+ /**
1105
+ *
1106
+ * @export
1107
+ * @interface BusinessProvidersSupportedIntegrationsResponseDto
1108
+ */
1109
+ export interface BusinessProvidersSupportedIntegrationsResponseDto {
1110
+ /**
1111
+ * Business ID
1112
+ * @type {number}
1113
+ * @memberof BusinessProvidersSupportedIntegrationsResponseDto
1114
+ */
1115
+ 'businessId': number;
1116
+ /**
1117
+ * Providers and their supported integrations for this business
1118
+ * @type {Array<ProviderSupportedIntegrationsDto>}
1119
+ * @memberof BusinessProvidersSupportedIntegrationsResponseDto
1120
+ */
1121
+ 'providers': Array<ProviderSupportedIntegrationsDto>;
1122
+ }
1104
1123
  /**
1105
1124
  *
1106
1125
  * @export
@@ -4919,6 +4938,7 @@ export declare const IntegrationType: {
4919
4938
  readonly Orders: "ORDERS";
4920
4939
  readonly Menu: "MENU";
4921
4940
  readonly Venue: "VENUE";
4941
+ readonly Kds: "KDS";
4922
4942
  };
4923
4943
  export type IntegrationType = typeof IntegrationType[keyof typeof IntegrationType];
4924
4944
  /**
@@ -12931,6 +12951,25 @@ export interface ProviderStatusResponseDto {
12931
12951
  */
12932
12952
  'open': boolean;
12933
12953
  }
12954
+ /**
12955
+ *
12956
+ * @export
12957
+ * @interface ProviderSupportedIntegrationsDto
12958
+ */
12959
+ export interface ProviderSupportedIntegrationsDto {
12960
+ /**
12961
+ *
12962
+ * @type {ProviderEnum}
12963
+ * @memberof ProviderSupportedIntegrationsDto
12964
+ */
12965
+ 'provider': ProviderEnum;
12966
+ /**
12967
+ * Integrations this provider supports
12968
+ * @type {Array<IntegrationType>}
12969
+ * @memberof ProviderSupportedIntegrationsDto
12970
+ */
12971
+ 'supportedIntegrations': Array<IntegrationType>;
12972
+ }
12934
12973
  /**
12935
12974
  *
12936
12975
  * @export
@@ -20458,6 +20497,13 @@ export declare const BusinessApiAxiosParamCreator: (configuration?: Configuratio
20458
20497
  * @throws {RequiredError}
20459
20498
  */
20460
20499
  getBusinessTax: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
20500
+ /**
20501
+ *
20502
+ * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
20503
+ * @param {*} [options] Override http request option.
20504
+ * @throws {RequiredError}
20505
+ */
20506
+ getProvidersSupportedIntegrations: (businessIds: Array<number>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
20461
20507
  /**
20462
20508
  *
20463
20509
  * @param {string} businessId Id of the business
@@ -20663,6 +20709,13 @@ export declare const BusinessApiFp: (configuration?: Configuration) => {
20663
20709
  * @throws {RequiredError}
20664
20710
  */
20665
20711
  getBusinessTax(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessTaxResponseDto>>>;
20712
+ /**
20713
+ *
20714
+ * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
20715
+ * @param {*} [options] Override http request option.
20716
+ * @throws {RequiredError}
20717
+ */
20718
+ getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>>>;
20666
20719
  /**
20667
20720
  *
20668
20721
  * @param {string} businessId Id of the business
@@ -20868,6 +20921,13 @@ export declare const BusinessApiFactory: (configuration?: Configuration, basePat
20868
20921
  * @throws {RequiredError}
20869
20922
  */
20870
20923
  getBusinessTax(options?: any): AxiosPromise<Array<BusinessTaxResponseDto>>;
20924
+ /**
20925
+ *
20926
+ * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
20927
+ * @param {*} [options] Override http request option.
20928
+ * @throws {RequiredError}
20929
+ */
20930
+ getProvidersSupportedIntegrations(businessIds: Array<number>, options?: any): AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>>;
20871
20931
  /**
20872
20932
  *
20873
20933
  * @param {string} businessId Id of the business
@@ -21092,6 +21152,14 @@ export interface BusinessApiInterface {
21092
21152
  * @memberof BusinessApiInterface
21093
21153
  */
21094
21154
  getBusinessTax(options?: AxiosRequestConfig): AxiosPromise<Array<BusinessTaxResponseDto>>;
21155
+ /**
21156
+ *
21157
+ * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
21158
+ * @param {*} [options] Override http request option.
21159
+ * @throws {RequiredError}
21160
+ * @memberof BusinessApiInterface
21161
+ */
21162
+ getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig): AxiosPromise<Array<BusinessProvidersSupportedIntegrationsResponseDto>>;
21095
21163
  /**
21096
21164
  *
21097
21165
  * @param {string} businessId Id of the business
@@ -21323,6 +21391,14 @@ export declare class BusinessApi extends BaseAPI implements BusinessApiInterface
21323
21391
  * @memberof BusinessApi
21324
21392
  */
21325
21393
  getBusinessTax(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessTaxResponseDto[], any, {}>>;
21394
+ /**
21395
+ *
21396
+ * @param {Array<number>} businessIds Business IDs to fetch provider supported integrations for
21397
+ * @param {*} [options] Override http request option.
21398
+ * @throws {RequiredError}
21399
+ * @memberof BusinessApi
21400
+ */
21401
+ getProvidersSupportedIntegrations(businessIds: Array<number>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<BusinessProvidersSupportedIntegrationsResponseDto[], any, {}>>;
21326
21402
  /**
21327
21403
  *
21328
21404
  * @param {string} businessId Id of the business