@munchi_oy/core 1.9.126 → 1.9.128

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.
@@ -19390,6 +19390,54 @@ export interface ReceiptDetailsDto {
19390
19390
  */
19391
19391
  'transactionStatusInformation': string;
19392
19392
  }
19393
+ /**
19394
+ *
19395
+ * @export
19396
+ * @interface ReceiptFooterConfigDto
19397
+ */
19398
+ export interface ReceiptFooterConfigDto {
19399
+ /**
19400
+ *
19401
+ * @type {number}
19402
+ * @memberof ReceiptFooterConfigDto
19403
+ */
19404
+ 'businessId': number;
19405
+ /**
19406
+ *
19407
+ * @type {ProviderEnum}
19408
+ * @memberof ReceiptFooterConfigDto
19409
+ */
19410
+ 'channel': ProviderEnum;
19411
+ /**
19412
+ *
19413
+ * @type {Array<ReceiptFooterDocumentType>}
19414
+ * @memberof ReceiptFooterConfigDto
19415
+ */
19416
+ 'appliesTo': Array<ReceiptFooterDocumentType>;
19417
+ /**
19418
+ *
19419
+ * @type {Array<object>}
19420
+ * @memberof ReceiptFooterConfigDto
19421
+ */
19422
+ 'blocks': Array<object>;
19423
+ /**
19424
+ *
19425
+ * @type {string}
19426
+ * @memberof ReceiptFooterConfigDto
19427
+ */
19428
+ 'updatedAt': string;
19429
+ }
19430
+ /**
19431
+ *
19432
+ * @export
19433
+ * @enum {string}
19434
+ */
19435
+ export declare const ReceiptFooterDocumentType: {
19436
+ readonly ReceiptFinal: "RECEIPT_FINAL";
19437
+ readonly ReceiptPrebill: "RECEIPT_PREBILL";
19438
+ readonly Refund: "REFUND";
19439
+ };
19440
+ export type ReceiptFooterDocumentType = typeof ReceiptFooterDocumentType[keyof typeof ReceiptFooterDocumentType];
19393
19441
  /**
19394
19442
  *
19395
19443
  * @export
@@ -20701,6 +20749,7 @@ export declare const SYNCKEY: {
20701
20749
  readonly BusinessTax: "BUSINESS_TAX";
20702
20750
  readonly Transaction: "TRANSACTION";
20703
20751
  readonly PaymentMethods: "PAYMENT_METHODS";
20752
+ readonly ReceiptFooter: "RECEIPT_FOOTER";
20704
20753
  };
20705
20754
  export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
20706
20755
  /**
@@ -25644,6 +25693,25 @@ export interface UpsertProvidersDto {
25644
25693
  */
25645
25694
  'locationId'?: string;
25646
25695
  }
25696
+ /**
25697
+ *
25698
+ * @export
25699
+ * @interface UpsertReceiptFooterDto
25700
+ */
25701
+ export interface UpsertReceiptFooterDto {
25702
+ /**
25703
+ * Document types this footer applies to. Empty array = all types.
25704
+ * @type {Array<ReceiptFooterDocumentType>}
25705
+ * @memberof UpsertReceiptFooterDto
25706
+ */
25707
+ 'appliesTo': Array<ReceiptFooterDocumentType>;
25708
+ /**
25709
+ * Ordered footer content blocks (text/image/qr/barcode), rendered before Munchi\'s own branding footer.
25710
+ * @type {Array<object>}
25711
+ * @memberof UpsertReceiptFooterDto
25712
+ */
25713
+ 'blocks': Array<object>;
25714
+ }
25647
25715
  /**
25648
25716
  *
25649
25717
  * @export
@@ -39060,6 +39128,138 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
39060
39128
  */
39061
39129
  updateProviderSettings(businessId: number, body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
39062
39130
  }
39131
+ /**
39132
+ * ReceiptFooterApi - axios parameter creator
39133
+ * @export
39134
+ */
39135
+ export declare const ReceiptFooterApiAxiosParamCreator: (configuration?: Configuration) => {
39136
+ /**
39137
+ *
39138
+ * @summary Get the receipt footer config for a business + channel
39139
+ * @param {number} businessId
39140
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
39141
+ * @param {*} [options] Override http request option.
39142
+ * @throws {RequiredError}
39143
+ */
39144
+ receiptFooterGetConfig: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", options?: AxiosRequestConfig) => Promise<RequestArgs>;
39145
+ /**
39146
+ *
39147
+ * @summary Create or update the receipt footer config for a business + channel
39148
+ * @param {number} businessId
39149
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
39150
+ * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
39151
+ * @param {*} [options] Override http request option.
39152
+ * @throws {RequiredError}
39153
+ */
39154
+ receiptFooterUpsertConfig: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
39155
+ };
39156
+ /**
39157
+ * ReceiptFooterApi - functional programming interface
39158
+ * @export
39159
+ */
39160
+ export declare const ReceiptFooterApiFp: (configuration?: Configuration) => {
39161
+ /**
39162
+ *
39163
+ * @summary Get the receipt footer config for a business + channel
39164
+ * @param {number} businessId
39165
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
39166
+ * @param {*} [options] Override http request option.
39167
+ * @throws {RequiredError}
39168
+ */
39169
+ receiptFooterGetConfig(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>>;
39170
+ /**
39171
+ *
39172
+ * @summary Create or update the receipt footer config for a business + channel
39173
+ * @param {number} businessId
39174
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
39175
+ * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
39176
+ * @param {*} [options] Override http request option.
39177
+ * @throws {RequiredError}
39178
+ */
39179
+ receiptFooterUpsertConfig(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>>;
39180
+ };
39181
+ /**
39182
+ * ReceiptFooterApi - factory interface
39183
+ * @export
39184
+ */
39185
+ export declare const ReceiptFooterApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
39186
+ /**
39187
+ *
39188
+ * @summary Get the receipt footer config for a business + channel
39189
+ * @param {number} businessId
39190
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
39191
+ * @param {*} [options] Override http request option.
39192
+ * @throws {RequiredError}
39193
+ */
39194
+ receiptFooterGetConfig(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", options?: any): AxiosPromise<ReceiptFooterConfigDto>;
39195
+ /**
39196
+ *
39197
+ * @summary Create or update the receipt footer config for a business + channel
39198
+ * @param {number} businessId
39199
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
39200
+ * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
39201
+ * @param {*} [options] Override http request option.
39202
+ * @throws {RequiredError}
39203
+ */
39204
+ receiptFooterUpsertConfig(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: any): AxiosPromise<ReceiptFooterConfigDto>;
39205
+ };
39206
+ /**
39207
+ * ReceiptFooterApi - interface
39208
+ * @export
39209
+ * @interface ReceiptFooterApi
39210
+ */
39211
+ export interface ReceiptFooterApiInterface {
39212
+ /**
39213
+ *
39214
+ * @summary Get the receipt footer config for a business + channel
39215
+ * @param {number} businessId
39216
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
39217
+ * @param {*} [options] Override http request option.
39218
+ * @throws {RequiredError}
39219
+ * @memberof ReceiptFooterApiInterface
39220
+ */
39221
+ receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
39222
+ /**
39223
+ *
39224
+ * @summary Create or update the receipt footer config for a business + channel
39225
+ * @param {number} businessId
39226
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
39227
+ * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
39228
+ * @param {*} [options] Override http request option.
39229
+ * @throws {RequiredError}
39230
+ * @memberof ReceiptFooterApiInterface
39231
+ */
39232
+ receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
39233
+ }
39234
+ /**
39235
+ * ReceiptFooterApi - object-oriented interface
39236
+ * @export
39237
+ * @class ReceiptFooterApi
39238
+ * @extends {BaseAPI}
39239
+ */
39240
+ export declare class ReceiptFooterApi extends BaseAPI implements ReceiptFooterApiInterface {
39241
+ /**
39242
+ *
39243
+ * @summary Get the receipt footer config for a business + channel
39244
+ * @param {number} businessId
39245
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
39246
+ * @param {*} [options] Override http request option.
39247
+ * @throws {RequiredError}
39248
+ * @memberof ReceiptFooterApi
39249
+ */
39250
+ receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReceiptFooterConfigDto, any, {}>>;
39251
+ /**
39252
+ *
39253
+ * @summary Create or update the receipt footer config for a business + channel
39254
+ * @param {number} businessId
39255
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
39256
+ * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
39257
+ * @param {*} [options] Override http request option.
39258
+ * @throws {RequiredError}
39259
+ * @memberof ReceiptFooterApi
39260
+ */
39261
+ receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReceiptFooterConfigDto, any, {}>>;
39262
+ }
39063
39263
  /**
39064
39264
  * RefundsApi - axios parameter creator
39065
39265
  * @export