@munchi_oy/core 1.9.71 → 1.9.72

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/generated/api.ts CHANGED
@@ -13983,6 +13983,19 @@ export interface PointsUpdateResponseDto {
13983
13983
  */
13984
13984
  '_links': { [key: string]: LoyaltyInfoResponseDtoLinksValue; };
13985
13985
  }
13986
+ /**
13987
+ *
13988
+ * @export
13989
+ * @interface PollVivaSessionDto
13990
+ */
13991
+ export interface PollVivaSessionDto {
13992
+ /**
13993
+ * The Viva session id (B) to poll.
13994
+ * @type {string}
13995
+ * @memberof PollVivaSessionDto
13996
+ */
13997
+ 'sessionId': string;
13998
+ }
13986
13999
  /**
13987
14000
  *
13988
14001
  * @export
@@ -16265,19 +16278,6 @@ export const PrinterTypeEnum = {
16265
16278
  export type PrinterTypeEnum = typeof PrinterTypeEnum[keyof typeof PrinterTypeEnum];
16266
16279
 
16267
16280
 
16268
- /**
16269
- *
16270
- * @export
16271
- * @interface ProcessKioskRecoveryQueueDto
16272
- */
16273
- export interface ProcessKioskRecoveryQueueDto {
16274
- /**
16275
- * Maximum number of kiosk recovery jobs to process in one run.
16276
- * @type {number}
16277
- * @memberof ProcessKioskRecoveryQueueDto
16278
- */
16279
- 'batchSize'?: number;
16280
- }
16281
16281
  /**
16282
16282
  *
16283
16283
  * @export
@@ -18731,7 +18731,8 @@ export const SYNCKEY = {
18731
18731
  PosSession: 'POS_SESSION',
18732
18732
  InvoiceCompanies: 'INVOICE_COMPANIES',
18733
18733
  BusinessTax: 'BUSINESS_TAX',
18734
- Transaction: 'TRANSACTION'
18734
+ Transaction: 'TRANSACTION',
18735
+ PaymentMethods: 'PAYMENT_METHODS'
18735
18736
  } as const;
18736
18737
 
18737
18738
  export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
@@ -22498,7 +22499,7 @@ export interface UpsertNetsDto {
22498
22499
  * @type {string}
22499
22500
  * @memberof UpsertNetsDto
22500
22501
  */
22501
- 'name': string;
22502
+ 'name'?: string;
22502
22503
  /**
22503
22504
  *
22504
22505
  * @type {boolean}
@@ -22746,7 +22747,7 @@ export interface UpsertProvidersDto {
22746
22747
  * @type {string}
22747
22748
  * @memberof UpsertProvidersDto
22748
22749
  */
22749
- 'name': string;
22750
+ 'name'?: string;
22750
22751
  /**
22751
22752
  *
22752
22753
  * @type {boolean}
@@ -22854,7 +22855,7 @@ export interface UpsertStripeDto {
22854
22855
  * @type {string}
22855
22856
  * @memberof UpsertStripeDto
22856
22857
  */
22857
- 'name': string;
22858
+ 'name'?: string;
22858
22859
  /**
22859
22860
  *
22860
22861
  * @type {boolean}
@@ -22885,7 +22886,7 @@ export interface UpsertVivaDto {
22885
22886
  * @type {string}
22886
22887
  * @memberof UpsertVivaDto
22887
22888
  */
22888
- 'name': string;
22889
+ 'name'?: string;
22889
22890
  /**
22890
22891
  *
22891
22892
  * @type {boolean}
@@ -23323,6 +23324,12 @@ export interface VivaConfigResponseDto {
23323
23324
  * @memberof VivaConfigResponseDto
23324
23325
  */
23325
23326
  'rate': number | null;
23327
+ /**
23328
+ * Additional fixed surcharge amount.
23329
+ * @type {number}
23330
+ * @memberof VivaConfigResponseDto
23331
+ */
23332
+ 'additionalAmount': number | null;
23326
23333
  }
23327
23334
  /**
23328
23335
  *
@@ -39764,20 +39771,12 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
39764
39771
  },
39765
39772
  /**
39766
39773
  *
39767
- * @param {ProviderEnum} channel
39768
- * @param {number} businessId
39769
39774
  * @param {any} [locale]
39770
39775
  * @param {*} [options] Override http request option.
39771
39776
  * @throws {RequiredError}
39772
39777
  */
39773
- getGlobalCatalog: async (channel: ProviderEnum, businessId: number, locale?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39774
- // verify required parameter 'channel' is not null or undefined
39775
- assertParamExists('getGlobalCatalog', 'channel', channel)
39776
- // verify required parameter 'businessId' is not null or undefined
39777
- assertParamExists('getGlobalCatalog', 'businessId', businessId)
39778
- const localVarPath = `/api/v1/payment-methods/catalog`
39779
- .replace(`{${"channel"}}`, encodeURIComponent(String(channel)))
39780
- .replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
39778
+ getGlobalCatalog: async (locale?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39779
+ const localVarPath = `/api/v1/payment-methods/catalog`;
39781
39780
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
39782
39781
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39783
39782
  let baseOptions;
@@ -39848,19 +39847,11 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
39848
39847
  },
39849
39848
  /**
39850
39849
  *
39851
- * @param {ProviderEnum} channel
39852
- * @param {number} businessId
39853
39850
  * @param {*} [options] Override http request option.
39854
39851
  * @throws {RequiredError}
39855
39852
  */
39856
- getTypes: async (channel: ProviderEnum, businessId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39857
- // verify required parameter 'channel' is not null or undefined
39858
- assertParamExists('getTypes', 'channel', channel)
39859
- // verify required parameter 'businessId' is not null or undefined
39860
- assertParamExists('getTypes', 'businessId', businessId)
39861
- const localVarPath = `/api/v1/payment-methods/types`
39862
- .replace(`{${"channel"}}`, encodeURIComponent(String(channel)))
39863
- .replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
39853
+ getTypes: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39854
+ const localVarPath = `/api/v1/payment-methods/types`;
39864
39855
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
39865
39856
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39866
39857
  let baseOptions;
@@ -40021,14 +40012,12 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
40021
40012
  },
40022
40013
  /**
40023
40014
  *
40024
- * @param {ProviderEnum} channel
40025
- * @param {number} businessId
40026
40015
  * @param {any} [locale]
40027
40016
  * @param {*} [options] Override http request option.
40028
40017
  * @throws {RequiredError}
40029
40018
  */
40030
- async getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CatalogMethodDto>>> {
40031
- const localVarAxiosArgs = await localVarAxiosParamCreator.getGlobalCatalog(channel, businessId, locale, options);
40019
+ async getGlobalCatalog(locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CatalogMethodDto>>> {
40020
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGlobalCatalog(locale, options);
40032
40021
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
40033
40022
  },
40034
40023
  /**
@@ -40045,13 +40034,11 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
40045
40034
  },
40046
40035
  /**
40047
40036
  *
40048
- * @param {ProviderEnum} channel
40049
- * @param {number} businessId
40050
40037
  * @param {*} [options] Override http request option.
40051
40038
  * @throws {RequiredError}
40052
40039
  */
40053
- async getTypes(channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentMethodTypeDto>>> {
40054
- const localVarAxiosArgs = await localVarAxiosParamCreator.getTypes(channel, businessId, options);
40040
+ async getTypes(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentMethodTypeDto>>> {
40041
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTypes(options);
40055
40042
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
40056
40043
  },
40057
40044
  /**
@@ -40124,14 +40111,12 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
40124
40111
  },
40125
40112
  /**
40126
40113
  *
40127
- * @param {ProviderEnum} channel
40128
- * @param {number} businessId
40129
40114
  * @param {any} [locale]
40130
40115
  * @param {*} [options] Override http request option.
40131
40116
  * @throws {RequiredError}
40132
40117
  */
40133
- getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: any): AxiosPromise<Array<CatalogMethodDto>> {
40134
- return localVarFp.getGlobalCatalog(channel, businessId, locale, options).then((request) => request(axios, basePath));
40118
+ getGlobalCatalog(locale?: any, options?: any): AxiosPromise<Array<CatalogMethodDto>> {
40119
+ return localVarFp.getGlobalCatalog(locale, options).then((request) => request(axios, basePath));
40135
40120
  },
40136
40121
  /**
40137
40122
  *
@@ -40146,13 +40131,11 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
40146
40131
  },
40147
40132
  /**
40148
40133
  *
40149
- * @param {ProviderEnum} channel
40150
- * @param {number} businessId
40151
40134
  * @param {*} [options] Override http request option.
40152
40135
  * @throws {RequiredError}
40153
40136
  */
40154
- getTypes(channel: ProviderEnum, businessId: number, options?: any): AxiosPromise<Array<PaymentMethodTypeDto>> {
40155
- return localVarFp.getTypes(channel, businessId, options).then((request) => request(axios, basePath));
40137
+ getTypes(options?: any): AxiosPromise<Array<PaymentMethodTypeDto>> {
40138
+ return localVarFp.getTypes(options).then((request) => request(axios, basePath));
40156
40139
  },
40157
40140
  /**
40158
40141
  *
@@ -40221,14 +40204,12 @@ export interface PaymentMethodsApiInterface {
40221
40204
 
40222
40205
  /**
40223
40206
  *
40224
- * @param {ProviderEnum} channel
40225
- * @param {number} businessId
40226
40207
  * @param {any} [locale]
40227
40208
  * @param {*} [options] Override http request option.
40228
40209
  * @throws {RequiredError}
40229
40210
  * @memberof PaymentMethodsApiInterface
40230
40211
  */
40231
- getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<CatalogMethodDto>>;
40212
+ getGlobalCatalog(locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<CatalogMethodDto>>;
40232
40213
 
40233
40214
  /**
40234
40215
  *
@@ -40243,13 +40224,11 @@ export interface PaymentMethodsApiInterface {
40243
40224
 
40244
40225
  /**
40245
40226
  *
40246
- * @param {ProviderEnum} channel
40247
- * @param {number} businessId
40248
40227
  * @param {*} [options] Override http request option.
40249
40228
  * @throws {RequiredError}
40250
40229
  * @memberof PaymentMethodsApiInterface
40251
40230
  */
40252
- getTypes(channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodTypeDto>>;
40231
+ getTypes(options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodTypeDto>>;
40253
40232
 
40254
40233
  /**
40255
40234
  *
@@ -40324,15 +40303,13 @@ export class PaymentMethodsApi extends BaseAPI implements PaymentMethodsApiInter
40324
40303
 
40325
40304
  /**
40326
40305
  *
40327
- * @param {ProviderEnum} channel
40328
- * @param {number} businessId
40329
40306
  * @param {any} [locale]
40330
40307
  * @param {*} [options] Override http request option.
40331
40308
  * @throws {RequiredError}
40332
40309
  * @memberof PaymentMethodsApi
40333
40310
  */
40334
- public getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig) {
40335
- return PaymentMethodsApiFp(this.configuration).getGlobalCatalog(channel, businessId, locale, options).then((request) => request(this.axios, this.basePath));
40311
+ public getGlobalCatalog(locale?: any, options?: AxiosRequestConfig) {
40312
+ return PaymentMethodsApiFp(this.configuration).getGlobalCatalog(locale, options).then((request) => request(this.axios, this.basePath));
40336
40313
  }
40337
40314
 
40338
40315
  /**
@@ -40350,14 +40327,12 @@ export class PaymentMethodsApi extends BaseAPI implements PaymentMethodsApiInter
40350
40327
 
40351
40328
  /**
40352
40329
  *
40353
- * @param {ProviderEnum} channel
40354
- * @param {number} businessId
40355
40330
  * @param {*} [options] Override http request option.
40356
40331
  * @throws {RequiredError}
40357
40332
  * @memberof PaymentMethodsApi
40358
40333
  */
40359
- public getTypes(channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig) {
40360
- return PaymentMethodsApiFp(this.configuration).getTypes(channel, businessId, options).then((request) => request(this.axios, this.basePath));
40334
+ public getTypes(options?: AxiosRequestConfig) {
40335
+ return PaymentMethodsApiFp(this.configuration).getTypes(options).then((request) => request(this.axios, this.basePath));
40361
40336
  }
40362
40337
 
40363
40338
  /**
@@ -40540,6 +40515,42 @@ export const PaymentSessionApiAxiosParamCreator = function (configuration?: Conf
40540
40515
  options: localVarRequestOptions,
40541
40516
  };
40542
40517
  },
40518
+ /**
40519
+ * Called by a Cloud Task (not the client). Holds the request open and long-polls Viva by sessionId for up to ~45s. As soon as the transaction is terminal it updates the session status and, on success, triggers order reconciliation — guarded by a CAS claim (tryClose) so a late webhook never double-writes the paymentEvent — so the order closes even if the webhook never arrives.
40520
+ * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
40521
+ * @param {PollVivaSessionDto} pollVivaSessionDto
40522
+ * @param {*} [options] Override http request option.
40523
+ * @throws {RequiredError}
40524
+ */
40525
+ pollVivaSession: async (pollVivaSessionDto: PollVivaSessionDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40526
+ // verify required parameter 'pollVivaSessionDto' is not null or undefined
40527
+ assertParamExists('pollVivaSession', 'pollVivaSessionDto', pollVivaSessionDto)
40528
+ const localVarPath = `/api/v1/payment-session/poll`;
40529
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40530
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40531
+ let baseOptions;
40532
+ if (configuration) {
40533
+ baseOptions = configuration.baseOptions;
40534
+ }
40535
+
40536
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
40537
+ const localVarHeaderParameter = {} as any;
40538
+ const localVarQueryParameter = {} as any;
40539
+
40540
+
40541
+
40542
+ localVarHeaderParameter['Content-Type'] = 'application/json';
40543
+
40544
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40545
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40546
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40547
+ localVarRequestOptions.data = serializeDataIfNeeded(pollVivaSessionDto, localVarRequestOptions, configuration)
40548
+
40549
+ return {
40550
+ url: toPathString(localVarUrlObj),
40551
+ options: localVarRequestOptions,
40552
+ };
40553
+ },
40543
40554
  /**
40544
40555
  * Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
40545
40556
  * @summary Record a manual payment session
@@ -40739,6 +40750,17 @@ export const PaymentSessionApiFp = function(configuration?: Configuration) {
40739
40750
  const localVarAxiosArgs = await localVarAxiosParamCreator.initiateVivaSession(initiateVivaSessionDto, xIdempotencyKey, options);
40740
40751
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
40741
40752
  },
40753
+ /**
40754
+ * Called by a Cloud Task (not the client). Holds the request open and long-polls Viva by sessionId for up to ~45s. As soon as the transaction is terminal it updates the session status and, on success, triggers order reconciliation — guarded by a CAS claim (tryClose) so a late webhook never double-writes the paymentEvent — so the order closes even if the webhook never arrives.
40755
+ * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
40756
+ * @param {PollVivaSessionDto} pollVivaSessionDto
40757
+ * @param {*} [options] Override http request option.
40758
+ * @throws {RequiredError}
40759
+ */
40760
+ async pollVivaSession(pollVivaSessionDto: PollVivaSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
40761
+ const localVarAxiosArgs = await localVarAxiosParamCreator.pollVivaSession(pollVivaSessionDto, options);
40762
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
40763
+ },
40742
40764
  /**
40743
40765
  * Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
40744
40766
  * @summary Record a manual payment session
@@ -40834,6 +40856,16 @@ export const PaymentSessionApiFactory = function (configuration?: Configuration,
40834
40856
  initiateVivaSession(initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: any): AxiosPromise<InitiateVivaSessionResponseDto> {
40835
40857
  return localVarFp.initiateVivaSession(initiateVivaSessionDto, xIdempotencyKey, options).then((request) => request(axios, basePath));
40836
40858
  },
40859
+ /**
40860
+ * Called by a Cloud Task (not the client). Holds the request open and long-polls Viva by sessionId for up to ~45s. As soon as the transaction is terminal it updates the session status and, on success, triggers order reconciliation — guarded by a CAS claim (tryClose) so a late webhook never double-writes the paymentEvent — so the order closes even if the webhook never arrives.
40861
+ * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
40862
+ * @param {PollVivaSessionDto} pollVivaSessionDto
40863
+ * @param {*} [options] Override http request option.
40864
+ * @throws {RequiredError}
40865
+ */
40866
+ pollVivaSession(pollVivaSessionDto: PollVivaSessionDto, options?: any): AxiosPromise<void> {
40867
+ return localVarFp.pollVivaSession(pollVivaSessionDto, options).then((request) => request(axios, basePath));
40868
+ },
40837
40869
  /**
40838
40870
  * Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
40839
40871
  * @summary Record a manual payment session
@@ -40924,6 +40956,16 @@ export interface PaymentSessionApiInterface {
40924
40956
  */
40925
40957
  initiateVivaSession(initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<InitiateVivaSessionResponseDto>;
40926
40958
 
40959
+ /**
40960
+ * Called by a Cloud Task (not the client). Holds the request open and long-polls Viva by sessionId for up to ~45s. As soon as the transaction is terminal it updates the session status and, on success, triggers order reconciliation — guarded by a CAS claim (tryClose) so a late webhook never double-writes the paymentEvent — so the order closes even if the webhook never arrives.
40961
+ * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
40962
+ * @param {PollVivaSessionDto} pollVivaSessionDto
40963
+ * @param {*} [options] Override http request option.
40964
+ * @throws {RequiredError}
40965
+ * @memberof PaymentSessionApiInterface
40966
+ */
40967
+ pollVivaSession(pollVivaSessionDto: PollVivaSessionDto, options?: AxiosRequestConfig): AxiosPromise<void>;
40968
+
40927
40969
  /**
40928
40970
  * Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
40929
40971
  * @summary Record a manual payment session
@@ -41022,6 +41064,18 @@ export class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInter
41022
41064
  return PaymentSessionApiFp(this.configuration).initiateVivaSession(initiateVivaSessionDto, xIdempotencyKey, options).then((request) => request(this.axios, this.basePath));
41023
41065
  }
41024
41066
 
41067
+ /**
41068
+ * Called by a Cloud Task (not the client). Holds the request open and long-polls Viva by sessionId for up to ~45s. As soon as the transaction is terminal it updates the session status and, on success, triggers order reconciliation — guarded by a CAS claim (tryClose) so a late webhook never double-writes the paymentEvent — so the order closes even if the webhook never arrives.
41069
+ * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
41070
+ * @param {PollVivaSessionDto} pollVivaSessionDto
41071
+ * @param {*} [options] Override http request option.
41072
+ * @throws {RequiredError}
41073
+ * @memberof PaymentSessionApi
41074
+ */
41075
+ public pollVivaSession(pollVivaSessionDto: PollVivaSessionDto, options?: AxiosRequestConfig) {
41076
+ return PaymentSessionApiFp(this.configuration).pollVivaSession(pollVivaSessionDto, options).then((request) => request(this.axios, this.basePath));
41077
+ }
41078
+
41025
41079
  /**
41026
41080
  * Records a non-gateway payment (cash / voucher / CardManual / gift card / …) through PaymentSession so every device sees it. Card paymethods (Card/Debit/Credit/Edenred) use a gateway initiate. Resolves to SUCCESS immediately; reconciliation writes the paymentEvent.
41027
41081
  * @summary Record a manual payment session
@@ -46214,35 +46268,6 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
46214
46268
 
46215
46269
 
46216
46270
 
46217
- setSearchParams(localVarUrlObj, localVarQueryParameter);
46218
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46219
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
46220
-
46221
- return {
46222
- url: toPathString(localVarUrlObj),
46223
- options: localVarRequestOptions,
46224
- };
46225
- },
46226
- /**
46227
- *
46228
- * @param {*} [options] Override http request option.
46229
- * @throws {RequiredError}
46230
- */
46231
- handleNetsRefundEvents: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46232
- const localVarPath = `/api/webhook/nets/refund`;
46233
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
46234
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46235
- let baseOptions;
46236
- if (configuration) {
46237
- baseOptions = configuration.baseOptions;
46238
- }
46239
-
46240
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
46241
- const localVarHeaderParameter = {} as any;
46242
- const localVarQueryParameter = {} as any;
46243
-
46244
-
46245
-
46246
46271
  setSearchParams(localVarUrlObj, localVarQueryParameter);
46247
46272
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46248
46273
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -46538,41 +46563,6 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
46538
46563
  options: localVarRequestOptions,
46539
46564
  };
46540
46565
  },
46541
- /**
46542
- *
46543
- * @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
46544
- * @param {*} [options] Override http request option.
46545
- * @throws {RequiredError}
46546
- */
46547
- processKioskRecoveryQueue: async (processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46548
- // verify required parameter 'processKioskRecoveryQueueDto' is not null or undefined
46549
- assertParamExists('processKioskRecoveryQueue', 'processKioskRecoveryQueueDto', processKioskRecoveryQueueDto)
46550
- const localVarPath = `/api/webhook/kiosk/recovery/process`;
46551
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
46552
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46553
- let baseOptions;
46554
- if (configuration) {
46555
- baseOptions = configuration.baseOptions;
46556
- }
46557
-
46558
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
46559
- const localVarHeaderParameter = {} as any;
46560
- const localVarQueryParameter = {} as any;
46561
-
46562
-
46563
-
46564
- localVarHeaderParameter['Content-Type'] = 'application/json';
46565
-
46566
- setSearchParams(localVarUrlObj, localVarQueryParameter);
46567
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46568
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
46569
- localVarRequestOptions.data = serializeDataIfNeeded(processKioskRecoveryQueueDto, localVarRequestOptions, configuration)
46570
-
46571
- return {
46572
- url: toPathString(localVarUrlObj),
46573
- options: localVarRequestOptions,
46574
- };
46575
- },
46576
46566
  /**
46577
46567
  *
46578
46568
  * @param {*} [options] Override http request option.
@@ -46727,15 +46717,6 @@ export const WebhookApiFp = function(configuration?: Configuration) {
46727
46717
  const localVarAxiosArgs = await localVarAxiosParamCreator.handleNetsEventsV2(options);
46728
46718
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46729
46719
  },
46730
- /**
46731
- *
46732
- * @param {*} [options] Override http request option.
46733
- * @throws {RequiredError}
46734
- */
46735
- async handleNetsRefundEvents(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
46736
- const localVarAxiosArgs = await localVarAxiosParamCreator.handleNetsRefundEvents(options);
46737
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46738
- },
46739
46720
  /**
46740
46721
  *
46741
46722
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -46824,16 +46805,6 @@ export const WebhookApiFp = function(configuration?: Configuration) {
46824
46805
  const localVarAxiosArgs = await localVarAxiosParamCreator.handleWorldlineEvents(options);
46825
46806
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46826
46807
  },
46827
- /**
46828
- *
46829
- * @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
46830
- * @param {*} [options] Override http request option.
46831
- * @throws {RequiredError}
46832
- */
46833
- async processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
46834
- const localVarAxiosArgs = await localVarAxiosParamCreator.processKioskRecoveryQueue(processKioskRecoveryQueueDto, options);
46835
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46836
- },
46837
46808
  /**
46838
46809
  *
46839
46810
  * @param {*} [options] Override http request option.
@@ -46922,14 +46893,6 @@ export const WebhookApiFactory = function (configuration?: Configuration, basePa
46922
46893
  handleNetsEventsV2(options?: any): AxiosPromise<void> {
46923
46894
  return localVarFp.handleNetsEventsV2(options).then((request) => request(axios, basePath));
46924
46895
  },
46925
- /**
46926
- *
46927
- * @param {*} [options] Override http request option.
46928
- * @throws {RequiredError}
46929
- */
46930
- handleNetsRefundEvents(options?: any): AxiosPromise<void> {
46931
- return localVarFp.handleNetsRefundEvents(options).then((request) => request(axios, basePath));
46932
- },
46933
46896
  /**
46934
46897
  *
46935
46898
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -47009,15 +46972,6 @@ export const WebhookApiFactory = function (configuration?: Configuration, basePa
47009
46972
  handleWorldlineEvents(options?: any): AxiosPromise<void> {
47010
46973
  return localVarFp.handleWorldlineEvents(options).then((request) => request(axios, basePath));
47011
46974
  },
47012
- /**
47013
- *
47014
- * @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
47015
- * @param {*} [options] Override http request option.
47016
- * @throws {RequiredError}
47017
- */
47018
- processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: any): AxiosPromise<void> {
47019
- return localVarFp.processKioskRecoveryQueue(processKioskRecoveryQueueDto, options).then((request) => request(axios, basePath));
47020
- },
47021
46975
  /**
47022
46976
  *
47023
46977
  * @param {*} [options] Override http request option.
@@ -47102,14 +47056,6 @@ export interface WebhookApiInterface {
47102
47056
  */
47103
47057
  handleNetsEventsV2(options?: AxiosRequestConfig): AxiosPromise<void>;
47104
47058
 
47105
- /**
47106
- *
47107
- * @param {*} [options] Override http request option.
47108
- * @throws {RequiredError}
47109
- * @memberof WebhookApiInterface
47110
- */
47111
- handleNetsRefundEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
47112
-
47113
47059
  /**
47114
47060
  *
47115
47061
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -47189,15 +47135,6 @@ export interface WebhookApiInterface {
47189
47135
  */
47190
47136
  handleWorldlineEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
47191
47137
 
47192
- /**
47193
- *
47194
- * @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
47195
- * @param {*} [options] Override http request option.
47196
- * @throws {RequiredError}
47197
- * @memberof WebhookApiInterface
47198
- */
47199
- processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig): AxiosPromise<void>;
47200
-
47201
47138
  /**
47202
47139
  *
47203
47140
  * @param {*} [options] Override http request option.
@@ -47294,16 +47231,6 @@ export class WebhookApi extends BaseAPI implements WebhookApiInterface {
47294
47231
  return WebhookApiFp(this.configuration).handleNetsEventsV2(options).then((request) => request(this.axios, this.basePath));
47295
47232
  }
47296
47233
 
47297
- /**
47298
- *
47299
- * @param {*} [options] Override http request option.
47300
- * @throws {RequiredError}
47301
- * @memberof WebhookApi
47302
- */
47303
- public handleNetsRefundEvents(options?: AxiosRequestConfig) {
47304
- return WebhookApiFp(this.configuration).handleNetsRefundEvents(options).then((request) => request(this.axios, this.basePath));
47305
- }
47306
-
47307
47234
  /**
47308
47235
  *
47309
47236
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -47401,17 +47328,6 @@ export class WebhookApi extends BaseAPI implements WebhookApiInterface {
47401
47328
  return WebhookApiFp(this.configuration).handleWorldlineEvents(options).then((request) => request(this.axios, this.basePath));
47402
47329
  }
47403
47330
 
47404
- /**
47405
- *
47406
- * @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
47407
- * @param {*} [options] Override http request option.
47408
- * @throws {RequiredError}
47409
- * @memberof WebhookApi
47410
- */
47411
- public processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig) {
47412
- return WebhookApiFp(this.configuration).processKioskRecoveryQueue(processKioskRecoveryQueueDto, options).then((request) => request(this.axios, this.basePath));
47413
- }
47414
-
47415
47331
  /**
47416
47332
  *
47417
47333
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@munchi_oy/core",
3
- "version": "1.9.71",
3
+ "version": "1.9.72",
4
4
  "description": "Munchi Core SDK - Core utilities and types",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
package/src/version.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
2
  // Run 'pnpm version:sync' to update this file.
3
- export const VERSION = "1.9.71";
3
+ export const VERSION = "1.9.72";