@munchi_oy/core 1.9.71 → 1.9.73

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
@@ -176,6 +176,25 @@ export interface ActionPasscodeResponseDto {
176
176
  */
177
177
  'permissionRules': Array<PermissionRuleResponseDto>;
178
178
  }
179
+ /**
180
+ *
181
+ * @export
182
+ * @enum {string}
183
+ */
184
+
185
+ export const ActionsEnum = {
186
+ Ticketing: 'Ticketing',
187
+ OrderChange: 'OrderChange',
188
+ NewOrder: 'NewOrder',
189
+ Printing: 'Printing',
190
+ PosOrderChange: 'PosOrderChange',
191
+ UpdateLoyaltyPoints: 'UpdateLoyaltyPoints',
192
+ CourseFire: 'CourseFire'
193
+ } as const;
194
+
195
+ export type ActionsEnum = typeof ActionsEnum[keyof typeof ActionsEnum];
196
+
197
+
179
198
  /**
180
199
  *
181
200
  * @export
@@ -13983,6 +14002,19 @@ export interface PointsUpdateResponseDto {
13983
14002
  */
13984
14003
  '_links': { [key: string]: LoyaltyInfoResponseDtoLinksValue; };
13985
14004
  }
14005
+ /**
14006
+ *
14007
+ * @export
14008
+ * @interface PollVivaSessionDto
14009
+ */
14010
+ export interface PollVivaSessionDto {
14011
+ /**
14012
+ * The Viva session id (B) to poll.
14013
+ * @type {string}
14014
+ * @memberof PollVivaSessionDto
14015
+ */
14016
+ 'sessionId': string;
14017
+ }
13986
14018
  /**
13987
14019
  *
13988
14020
  * @export
@@ -16265,19 +16297,6 @@ export const PrinterTypeEnum = {
16265
16297
  export type PrinterTypeEnum = typeof PrinterTypeEnum[keyof typeof PrinterTypeEnum];
16266
16298
 
16267
16299
 
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
16300
  /**
16282
16301
  *
16283
16302
  * @export
@@ -16286,7 +16305,7 @@ export interface ProcessKioskRecoveryQueueDto {
16286
16305
  export interface ProcessOrderActionsDto {
16287
16306
  /**
16288
16307
  * Array of actions to process
16289
- * @type {Array<string>}
16308
+ * @type {Array<ActionsEnum>}
16290
16309
  * @memberof ProcessOrderActionsDto
16291
16310
  */
16292
16311
  'actions': Array<ActionsEnum>;
@@ -16297,19 +16316,6 @@ export interface ProcessOrderActionsDto {
16297
16316
  */
16298
16317
  'data': ProcessOrderActionsDtoData;
16299
16318
  }
16300
-
16301
- export const ActionsEnum = {
16302
- Ticketing: 'Ticketing',
16303
- OrderChange: 'OrderChange',
16304
- NewOrder: 'NewOrder',
16305
- Printing: 'Printing',
16306
- PosOrderChange: 'PosOrderChange',
16307
- UpdateLoyaltyPoints: 'UpdateLoyaltyPoints',
16308
- CourseFire: 'CourseFire'
16309
- } as const;
16310
-
16311
- export type ActionsEnum = typeof ActionsEnum[keyof typeof ActionsEnum];
16312
-
16313
16319
  /**
16314
16320
  * Action-specific data
16315
16321
  * @export
@@ -16609,6 +16615,19 @@ export interface ProcessOrderActionsResponseDtoOrder {
16609
16615
  }
16610
16616
 
16611
16617
 
16618
+ /**
16619
+ *
16620
+ * @export
16621
+ * @interface ProcessPosOrderActionsQueueDto
16622
+ */
16623
+ export interface ProcessPosOrderActionsQueueDto {
16624
+ /**
16625
+ * qid of the enqueued order-actions job to process.
16626
+ * @type {string}
16627
+ * @memberof ProcessPosOrderActionsQueueDto
16628
+ */
16629
+ 'qid': string;
16630
+ }
16612
16631
  /**
16613
16632
  *
16614
16633
  * @export
@@ -18731,7 +18750,8 @@ export const SYNCKEY = {
18731
18750
  PosSession: 'POS_SESSION',
18732
18751
  InvoiceCompanies: 'INVOICE_COMPANIES',
18733
18752
  BusinessTax: 'BUSINESS_TAX',
18734
- Transaction: 'TRANSACTION'
18753
+ Transaction: 'TRANSACTION',
18754
+ PaymentMethods: 'PAYMENT_METHODS'
18735
18755
  } as const;
18736
18756
 
18737
18757
  export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
@@ -19717,6 +19737,306 @@ export interface SupportedChannelDto {
19717
19737
  }
19718
19738
 
19719
19739
 
19740
+ /**
19741
+ *
19742
+ * @export
19743
+ * @interface SyncPosOrderDto
19744
+ */
19745
+ export interface SyncPosOrderDto {
19746
+ /**
19747
+ *
19748
+ * @type {SyncPosOrderDtoOrder}
19749
+ * @memberof SyncPosOrderDto
19750
+ */
19751
+ 'order': SyncPosOrderDtoOrder;
19752
+ /**
19753
+ *
19754
+ * @type {SyncPosOrderDtoWorkflow}
19755
+ * @memberof SyncPosOrderDto
19756
+ */
19757
+ 'workflow'?: SyncPosOrderDtoWorkflow;
19758
+ }
19759
+ /**
19760
+ * POS order snapshot to persist. paymentEvents are ignored (server-owned).
19761
+ * @export
19762
+ * @interface SyncPosOrderDtoOrder
19763
+ */
19764
+ export interface SyncPosOrderDtoOrder {
19765
+ /**
19766
+ *
19767
+ * @type {string}
19768
+ * @memberof SyncPosOrderDtoOrder
19769
+ */
19770
+ 'id': string;
19771
+ /**
19772
+ *
19773
+ * @type {string}
19774
+ * @memberof SyncPosOrderDtoOrder
19775
+ */
19776
+ 'businessId': string;
19777
+ /**
19778
+ *
19779
+ * @type {ProviderEnum}
19780
+ * @memberof SyncPosOrderDtoOrder
19781
+ */
19782
+ 'provider': ProviderEnum;
19783
+ /**
19784
+ *
19785
+ * @type {CurrencyCode}
19786
+ * @memberof SyncPosOrderDtoOrder
19787
+ */
19788
+ 'currency': CurrencyCode;
19789
+ /**
19790
+ *
19791
+ * @type {PosBusinessDto}
19792
+ * @memberof SyncPosOrderDtoOrder
19793
+ */
19794
+ 'business': PosBusinessDto;
19795
+ /**
19796
+ *
19797
+ * @type {string}
19798
+ * @memberof SyncPosOrderDtoOrder
19799
+ */
19800
+ 'createdAt': string;
19801
+ /**
19802
+ *
19803
+ * @type {OrderStatusEnum}
19804
+ * @memberof SyncPosOrderDtoOrder
19805
+ */
19806
+ 'status': OrderStatusEnum;
19807
+ /**
19808
+ *
19809
+ * @type {string}
19810
+ * @memberof SyncPosOrderDtoOrder
19811
+ */
19812
+ 'updatedAt': string;
19813
+ /**
19814
+ *
19815
+ * @type {string}
19816
+ * @memberof SyncPosOrderDtoOrder
19817
+ */
19818
+ 'completedAt'?: string;
19819
+ /**
19820
+ *
19821
+ * @type {string}
19822
+ * @memberof SyncPosOrderDtoOrder
19823
+ */
19824
+ 'orderNumber': string;
19825
+ /**
19826
+ *
19827
+ * @type {CheckoutModelEnum}
19828
+ * @memberof SyncPosOrderDtoOrder
19829
+ */
19830
+ 'checkoutModel': CheckoutModelEnum;
19831
+ /**
19832
+ *
19833
+ * @type {OrderTypePOS}
19834
+ * @memberof SyncPosOrderDtoOrder
19835
+ */
19836
+ 'orderType': OrderTypePOS;
19837
+ /**
19838
+ *
19839
+ * @type {string}
19840
+ * @memberof SyncPosOrderDtoOrder
19841
+ */
19842
+ 'spotNumber': string | null;
19843
+ /**
19844
+ * ID of the floor plan dining table linked to this order
19845
+ * @type {string}
19846
+ * @memberof SyncPosOrderDtoOrder
19847
+ */
19848
+ 'tableId'?: string | null;
19849
+ /**
19850
+ *
19851
+ * @type {string}
19852
+ * @memberof SyncPosOrderDtoOrder
19853
+ */
19854
+ 'comments': string | null;
19855
+ /**
19856
+ *
19857
+ * @type {PosOrderDtoTableService}
19858
+ * @memberof SyncPosOrderDtoOrder
19859
+ */
19860
+ 'tableService'?: PosOrderDtoTableService | null;
19861
+ /**
19862
+ *
19863
+ * @type {PosOrderDtoEqualSplitState}
19864
+ * @memberof SyncPosOrderDtoOrder
19865
+ */
19866
+ 'equalSplitState'?: PosOrderDtoEqualSplitState | null;
19867
+ /**
19868
+ * Id of the staff in shift
19869
+ * @type {string}
19870
+ * @memberof SyncPosOrderDtoOrder
19871
+ */
19872
+ 'staffId': string | null;
19873
+ /**
19874
+ * Id of the shift
19875
+ * @type {string}
19876
+ * @memberof SyncPosOrderDtoOrder
19877
+ */
19878
+ 'shiftId': string | null;
19879
+ /**
19880
+ *
19881
+ * @type {OrderRefundStatus}
19882
+ * @memberof SyncPosOrderDtoOrder
19883
+ */
19884
+ 'orderRefundStatus': OrderRefundStatus;
19885
+ /**
19886
+ *
19887
+ * @type {LocatorType}
19888
+ * @memberof SyncPosOrderDtoOrder
19889
+ */
19890
+ 'locatorType': LocatorType;
19891
+ /**
19892
+ *
19893
+ * @type {PosOrderPriceDto}
19894
+ * @memberof SyncPosOrderDtoOrder
19895
+ */
19896
+ 'basketPrice': PosOrderPriceDto;
19897
+ /**
19898
+ *
19899
+ * @type {Array<PosOrderItemDto>}
19900
+ * @memberof SyncPosOrderDtoOrder
19901
+ */
19902
+ 'items': Array<PosOrderItemDto>;
19903
+ /**
19904
+ *
19905
+ * @type {Array<PosDiscountDto>}
19906
+ * @memberof SyncPosOrderDtoOrder
19907
+ */
19908
+ 'discounts': Array<PosDiscountDto>;
19909
+ /**
19910
+ *
19911
+ * @type {PosCustomerDto}
19912
+ * @memberof SyncPosOrderDtoOrder
19913
+ */
19914
+ 'customer': PosCustomerDto | null;
19915
+ /**
19916
+ *
19917
+ * @type {Array<TransactionDto>}
19918
+ * @memberof SyncPosOrderDtoOrder
19919
+ */
19920
+ 'paymentEvents': Array<TransactionDto>;
19921
+ /**
19922
+ *
19923
+ * @type {Array<PaymentRefundDto>}
19924
+ * @memberof SyncPosOrderDtoOrder
19925
+ */
19926
+ 'refunds'?: Array<PaymentRefundDto>;
19927
+ /**
19928
+ * Data version code
19929
+ * @type {string}
19930
+ * @memberof SyncPosOrderDtoOrder
19931
+ */
19932
+ 'version': string;
19933
+ /**
19934
+ *
19935
+ * @type {OrderFormat}
19936
+ * @memberof SyncPosOrderDtoOrder
19937
+ */
19938
+ 'orderFormat'?: OrderFormat;
19939
+ /**
19940
+ * The ID of the loyalty program active during this order.
19941
+ * @type {string}
19942
+ * @memberof SyncPosOrderDtoOrder
19943
+ */
19944
+ 'loyaltyProgramId': string | null;
19945
+ /**
19946
+ * An array of loyalty transaction IDs related to this order.
19947
+ * @type {Array<string>}
19948
+ * @memberof SyncPosOrderDtoOrder
19949
+ */
19950
+ 'loyaltyTransactionIds': Array<string>;
19951
+ /**
19952
+ *
19953
+ * @type {PosOrderDtoTaxSummary}
19954
+ * @memberof SyncPosOrderDtoOrder
19955
+ */
19956
+ 'taxSummary'?: PosOrderDtoTaxSummary;
19957
+ /**
19958
+ * Name of staff member who created the order
19959
+ * @type {string}
19960
+ * @memberof SyncPosOrderDtoOrder
19961
+ */
19962
+ 'staffName'?: string | null;
19963
+ /**
19964
+ *
19965
+ * @type {PosOrderDtoInvoiceCompany}
19966
+ * @memberof SyncPosOrderDtoOrder
19967
+ */
19968
+ 'invoiceCompany'?: PosOrderDtoInvoiceCompany | null;
19969
+ /**
19970
+ *
19971
+ * @type {object}
19972
+ * @memberof SyncPosOrderDtoOrder
19973
+ */
19974
+ 'lastPaymentError'?: object;
19975
+ /**
19976
+ *
19977
+ * @type {Array<OrderFeeDto>}
19978
+ * @memberof SyncPosOrderDtoOrder
19979
+ */
19980
+ 'fees'?: Array<OrderFeeDto> | null;
19981
+ /**
19982
+ * Loyalty user ID associated with this order
19983
+ * @type {number}
19984
+ * @memberof SyncPosOrderDtoOrder
19985
+ */
19986
+ 'targetUserId'?: number;
19987
+ /**
19988
+ * ID of the table group this order belongs to
19989
+ * @type {string}
19990
+ * @memberof SyncPosOrderDtoOrder
19991
+ */
19992
+ 'tableGroupId'?: string | null;
19993
+ }
19994
+
19995
+
19996
+ /**
19997
+ * POS order actions to run in the background after persist (same shape as /pos/actions). Omit to only sync the order.
19998
+ * @export
19999
+ * @interface SyncPosOrderDtoWorkflow
20000
+ */
20001
+ export interface SyncPosOrderDtoWorkflow {
20002
+ /**
20003
+ * Array of actions to process
20004
+ * @type {Array<ActionsEnum>}
20005
+ * @memberof SyncPosOrderDtoWorkflow
20006
+ */
20007
+ 'actions': Array<ActionsEnum>;
20008
+ /**
20009
+ *
20010
+ * @type {ProcessOrderActionsDtoData}
20011
+ * @memberof SyncPosOrderDtoWorkflow
20012
+ */
20013
+ 'data': ProcessOrderActionsDtoData;
20014
+ }
20015
+ /**
20016
+ *
20017
+ * @export
20018
+ * @interface SyncPosOrderResponseDto
20019
+ */
20020
+ export interface SyncPosOrderResponseDto {
20021
+ /**
20022
+ * Whether the order snapshot was persisted.
20023
+ * @type {boolean}
20024
+ * @memberof SyncPosOrderResponseDto
20025
+ */
20026
+ 'synced': boolean;
20027
+ /**
20028
+ * Id of the synced order.
20029
+ * @type {string}
20030
+ * @memberof SyncPosOrderResponseDto
20031
+ */
20032
+ 'orderId': string;
20033
+ /**
20034
+ * Enqueued order-actions job id, or null when no workflow was provided.
20035
+ * @type {string}
20036
+ * @memberof SyncPosOrderResponseDto
20037
+ */
20038
+ 'jobId': string | null;
20039
+ }
19720
20040
  /**
19721
20041
  *
19722
20042
  * @export
@@ -22498,7 +22818,7 @@ export interface UpsertNetsDto {
22498
22818
  * @type {string}
22499
22819
  * @memberof UpsertNetsDto
22500
22820
  */
22501
- 'name': string;
22821
+ 'name'?: string;
22502
22822
  /**
22503
22823
  *
22504
22824
  * @type {boolean}
@@ -22746,7 +23066,7 @@ export interface UpsertProvidersDto {
22746
23066
  * @type {string}
22747
23067
  * @memberof UpsertProvidersDto
22748
23068
  */
22749
- 'name': string;
23069
+ 'name'?: string;
22750
23070
  /**
22751
23071
  *
22752
23072
  * @type {boolean}
@@ -22854,7 +23174,7 @@ export interface UpsertStripeDto {
22854
23174
  * @type {string}
22855
23175
  * @memberof UpsertStripeDto
22856
23176
  */
22857
- 'name': string;
23177
+ 'name'?: string;
22858
23178
  /**
22859
23179
  *
22860
23180
  * @type {boolean}
@@ -22885,7 +23205,7 @@ export interface UpsertVivaDto {
22885
23205
  * @type {string}
22886
23206
  * @memberof UpsertVivaDto
22887
23207
  */
22888
- 'name': string;
23208
+ 'name'?: string;
22889
23209
  /**
22890
23210
  *
22891
23211
  * @type {boolean}
@@ -23323,6 +23643,12 @@ export interface VivaConfigResponseDto {
23323
23643
  * @memberof VivaConfigResponseDto
23324
23644
  */
23325
23645
  'rate': number | null;
23646
+ /**
23647
+ * Additional fixed surcharge amount.
23648
+ * @type {number}
23649
+ * @memberof VivaConfigResponseDto
23650
+ */
23651
+ 'additionalAmount': number | null;
23326
23652
  }
23327
23653
  /**
23328
23654
  *
@@ -37636,6 +37962,42 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
37636
37962
  options: localVarRequestOptions,
37637
37963
  };
37638
37964
  },
37965
+ /**
37966
+ *
37967
+ * @summary Sync a POS order and enqueue background order actions
37968
+ * @param {SyncPosOrderDto} syncPosOrderDto
37969
+ * @param {*} [options] Override http request option.
37970
+ * @throws {RequiredError}
37971
+ */
37972
+ syncPosOrder: async (syncPosOrderDto: SyncPosOrderDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37973
+ // verify required parameter 'syncPosOrderDto' is not null or undefined
37974
+ assertParamExists('syncPosOrder', 'syncPosOrderDto', syncPosOrderDto)
37975
+ const localVarPath = `/api/v1/orders/pos/sync`;
37976
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37977
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37978
+ let baseOptions;
37979
+ if (configuration) {
37980
+ baseOptions = configuration.baseOptions;
37981
+ }
37982
+
37983
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
37984
+ const localVarHeaderParameter = {} as any;
37985
+ const localVarQueryParameter = {} as any;
37986
+
37987
+
37988
+
37989
+ localVarHeaderParameter['Content-Type'] = 'application/json';
37990
+
37991
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37992
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37993
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37994
+ localVarRequestOptions.data = serializeDataIfNeeded(syncPosOrderDto, localVarRequestOptions, configuration)
37995
+
37996
+ return {
37997
+ url: toPathString(localVarUrlObj),
37998
+ options: localVarRequestOptions,
37999
+ };
38000
+ },
37639
38001
  /**
37640
38002
  *
37641
38003
  * @summary Update a POS order status
@@ -37817,6 +38179,17 @@ export const OrdersApiFp = function(configuration?: Configuration) {
37817
38179
  const localVarAxiosArgs = await localVarAxiosParamCreator.rejectOrder(rejectOrderDto, options);
37818
38180
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37819
38181
  },
38182
+ /**
38183
+ *
38184
+ * @summary Sync a POS order and enqueue background order actions
38185
+ * @param {SyncPosOrderDto} syncPosOrderDto
38186
+ * @param {*} [options] Override http request option.
38187
+ * @throws {RequiredError}
38188
+ */
38189
+ async syncPosOrder(syncPosOrderDto: SyncPosOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncPosOrderResponseDto>> {
38190
+ const localVarAxiosArgs = await localVarAxiosParamCreator.syncPosOrder(syncPosOrderDto, options);
38191
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
38192
+ },
37820
38193
  /**
37821
38194
  *
37822
38195
  * @summary Update a POS order status
@@ -37961,6 +38334,16 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
37961
38334
  rejectOrder(rejectOrderDto: RejectOrderDto, options?: any): AxiosPromise<OrderStatusResponseDto> {
37962
38335
  return localVarFp.rejectOrder(rejectOrderDto, options).then((request) => request(axios, basePath));
37963
38336
  },
38337
+ /**
38338
+ *
38339
+ * @summary Sync a POS order and enqueue background order actions
38340
+ * @param {SyncPosOrderDto} syncPosOrderDto
38341
+ * @param {*} [options] Override http request option.
38342
+ * @throws {RequiredError}
38343
+ */
38344
+ syncPosOrder(syncPosOrderDto: SyncPosOrderDto, options?: any): AxiosPromise<SyncPosOrderResponseDto> {
38345
+ return localVarFp.syncPosOrder(syncPosOrderDto, options).then((request) => request(axios, basePath));
38346
+ },
37964
38347
  /**
37965
38348
  *
37966
38349
  * @summary Update a POS order status
@@ -38103,6 +38486,16 @@ export interface OrdersApiInterface {
38103
38486
  */
38104
38487
  rejectOrder(rejectOrderDto: RejectOrderDto, options?: AxiosRequestConfig): AxiosPromise<OrderStatusResponseDto>;
38105
38488
 
38489
+ /**
38490
+ *
38491
+ * @summary Sync a POS order and enqueue background order actions
38492
+ * @param {SyncPosOrderDto} syncPosOrderDto
38493
+ * @param {*} [options] Override http request option.
38494
+ * @throws {RequiredError}
38495
+ * @memberof OrdersApiInterface
38496
+ */
38497
+ syncPosOrder(syncPosOrderDto: SyncPosOrderDto, options?: AxiosRequestConfig): AxiosPromise<SyncPosOrderResponseDto>;
38498
+
38106
38499
  /**
38107
38500
  *
38108
38501
  * @summary Update a POS order status
@@ -38269,6 +38662,18 @@ export class OrdersApi extends BaseAPI implements OrdersApiInterface {
38269
38662
  return OrdersApiFp(this.configuration).rejectOrder(rejectOrderDto, options).then((request) => request(this.axios, this.basePath));
38270
38663
  }
38271
38664
 
38665
+ /**
38666
+ *
38667
+ * @summary Sync a POS order and enqueue background order actions
38668
+ * @param {SyncPosOrderDto} syncPosOrderDto
38669
+ * @param {*} [options] Override http request option.
38670
+ * @throws {RequiredError}
38671
+ * @memberof OrdersApi
38672
+ */
38673
+ public syncPosOrder(syncPosOrderDto: SyncPosOrderDto, options?: AxiosRequestConfig) {
38674
+ return OrdersApiFp(this.configuration).syncPosOrder(syncPosOrderDto, options).then((request) => request(this.axios, this.basePath));
38675
+ }
38676
+
38272
38677
  /**
38273
38678
  *
38274
38679
  * @summary Update a POS order status
@@ -39764,20 +40169,12 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
39764
40169
  },
39765
40170
  /**
39766
40171
  *
39767
- * @param {ProviderEnum} channel
39768
- * @param {number} businessId
39769
40172
  * @param {any} [locale]
39770
40173
  * @param {*} [options] Override http request option.
39771
40174
  * @throws {RequiredError}
39772
40175
  */
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)));
40176
+ getGlobalCatalog: async (locale?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40177
+ const localVarPath = `/api/v1/payment-methods/catalog`;
39781
40178
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
39782
40179
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39783
40180
  let baseOptions;
@@ -39848,19 +40245,11 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
39848
40245
  },
39849
40246
  /**
39850
40247
  *
39851
- * @param {ProviderEnum} channel
39852
- * @param {number} businessId
39853
40248
  * @param {*} [options] Override http request option.
39854
40249
  * @throws {RequiredError}
39855
40250
  */
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)));
40251
+ getTypes: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40252
+ const localVarPath = `/api/v1/payment-methods/types`;
39864
40253
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
39865
40254
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39866
40255
  let baseOptions;
@@ -40021,14 +40410,12 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
40021
40410
  },
40022
40411
  /**
40023
40412
  *
40024
- * @param {ProviderEnum} channel
40025
- * @param {number} businessId
40026
40413
  * @param {any} [locale]
40027
40414
  * @param {*} [options] Override http request option.
40028
40415
  * @throws {RequiredError}
40029
40416
  */
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);
40417
+ async getGlobalCatalog(locale?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CatalogMethodDto>>> {
40418
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getGlobalCatalog(locale, options);
40032
40419
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
40033
40420
  },
40034
40421
  /**
@@ -40045,13 +40432,11 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
40045
40432
  },
40046
40433
  /**
40047
40434
  *
40048
- * @param {ProviderEnum} channel
40049
- * @param {number} businessId
40050
40435
  * @param {*} [options] Override http request option.
40051
40436
  * @throws {RequiredError}
40052
40437
  */
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);
40438
+ async getTypes(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PaymentMethodTypeDto>>> {
40439
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getTypes(options);
40055
40440
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
40056
40441
  },
40057
40442
  /**
@@ -40124,14 +40509,12 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
40124
40509
  },
40125
40510
  /**
40126
40511
  *
40127
- * @param {ProviderEnum} channel
40128
- * @param {number} businessId
40129
40512
  * @param {any} [locale]
40130
40513
  * @param {*} [options] Override http request option.
40131
40514
  * @throws {RequiredError}
40132
40515
  */
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));
40516
+ getGlobalCatalog(locale?: any, options?: any): AxiosPromise<Array<CatalogMethodDto>> {
40517
+ return localVarFp.getGlobalCatalog(locale, options).then((request) => request(axios, basePath));
40135
40518
  },
40136
40519
  /**
40137
40520
  *
@@ -40146,13 +40529,11 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
40146
40529
  },
40147
40530
  /**
40148
40531
  *
40149
- * @param {ProviderEnum} channel
40150
- * @param {number} businessId
40151
40532
  * @param {*} [options] Override http request option.
40152
40533
  * @throws {RequiredError}
40153
40534
  */
40154
- getTypes(channel: ProviderEnum, businessId: number, options?: any): AxiosPromise<Array<PaymentMethodTypeDto>> {
40155
- return localVarFp.getTypes(channel, businessId, options).then((request) => request(axios, basePath));
40535
+ getTypes(options?: any): AxiosPromise<Array<PaymentMethodTypeDto>> {
40536
+ return localVarFp.getTypes(options).then((request) => request(axios, basePath));
40156
40537
  },
40157
40538
  /**
40158
40539
  *
@@ -40221,14 +40602,12 @@ export interface PaymentMethodsApiInterface {
40221
40602
 
40222
40603
  /**
40223
40604
  *
40224
- * @param {ProviderEnum} channel
40225
- * @param {number} businessId
40226
40605
  * @param {any} [locale]
40227
40606
  * @param {*} [options] Override http request option.
40228
40607
  * @throws {RequiredError}
40229
40608
  * @memberof PaymentMethodsApiInterface
40230
40609
  */
40231
- getGlobalCatalog(channel: ProviderEnum, businessId: number, locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<CatalogMethodDto>>;
40610
+ getGlobalCatalog(locale?: any, options?: AxiosRequestConfig): AxiosPromise<Array<CatalogMethodDto>>;
40232
40611
 
40233
40612
  /**
40234
40613
  *
@@ -40243,13 +40622,11 @@ export interface PaymentMethodsApiInterface {
40243
40622
 
40244
40623
  /**
40245
40624
  *
40246
- * @param {ProviderEnum} channel
40247
- * @param {number} businessId
40248
40625
  * @param {*} [options] Override http request option.
40249
40626
  * @throws {RequiredError}
40250
40627
  * @memberof PaymentMethodsApiInterface
40251
40628
  */
40252
- getTypes(channel: ProviderEnum, businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodTypeDto>>;
40629
+ getTypes(options?: AxiosRequestConfig): AxiosPromise<Array<PaymentMethodTypeDto>>;
40253
40630
 
40254
40631
  /**
40255
40632
  *
@@ -40324,15 +40701,13 @@ export class PaymentMethodsApi extends BaseAPI implements PaymentMethodsApiInter
40324
40701
 
40325
40702
  /**
40326
40703
  *
40327
- * @param {ProviderEnum} channel
40328
- * @param {number} businessId
40329
40704
  * @param {any} [locale]
40330
40705
  * @param {*} [options] Override http request option.
40331
40706
  * @throws {RequiredError}
40332
40707
  * @memberof PaymentMethodsApi
40333
40708
  */
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));
40709
+ public getGlobalCatalog(locale?: any, options?: AxiosRequestConfig) {
40710
+ return PaymentMethodsApiFp(this.configuration).getGlobalCatalog(locale, options).then((request) => request(this.axios, this.basePath));
40336
40711
  }
40337
40712
 
40338
40713
  /**
@@ -40350,14 +40725,12 @@ export class PaymentMethodsApi extends BaseAPI implements PaymentMethodsApiInter
40350
40725
 
40351
40726
  /**
40352
40727
  *
40353
- * @param {ProviderEnum} channel
40354
- * @param {number} businessId
40355
40728
  * @param {*} [options] Override http request option.
40356
40729
  * @throws {RequiredError}
40357
40730
  * @memberof PaymentMethodsApi
40358
40731
  */
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));
40732
+ public getTypes(options?: AxiosRequestConfig) {
40733
+ return PaymentMethodsApiFp(this.configuration).getTypes(options).then((request) => request(this.axios, this.basePath));
40361
40734
  }
40362
40735
 
40363
40736
  /**
@@ -40540,6 +40913,42 @@ export const PaymentSessionApiAxiosParamCreator = function (configuration?: Conf
40540
40913
  options: localVarRequestOptions,
40541
40914
  };
40542
40915
  },
40916
+ /**
40917
+ * 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.
40918
+ * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
40919
+ * @param {PollVivaSessionDto} pollVivaSessionDto
40920
+ * @param {*} [options] Override http request option.
40921
+ * @throws {RequiredError}
40922
+ */
40923
+ pollVivaSession: async (pollVivaSessionDto: PollVivaSessionDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40924
+ // verify required parameter 'pollVivaSessionDto' is not null or undefined
40925
+ assertParamExists('pollVivaSession', 'pollVivaSessionDto', pollVivaSessionDto)
40926
+ const localVarPath = `/api/v1/payment-session/poll`;
40927
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40928
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40929
+ let baseOptions;
40930
+ if (configuration) {
40931
+ baseOptions = configuration.baseOptions;
40932
+ }
40933
+
40934
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
40935
+ const localVarHeaderParameter = {} as any;
40936
+ const localVarQueryParameter = {} as any;
40937
+
40938
+
40939
+
40940
+ localVarHeaderParameter['Content-Type'] = 'application/json';
40941
+
40942
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40943
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40944
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40945
+ localVarRequestOptions.data = serializeDataIfNeeded(pollVivaSessionDto, localVarRequestOptions, configuration)
40946
+
40947
+ return {
40948
+ url: toPathString(localVarUrlObj),
40949
+ options: localVarRequestOptions,
40950
+ };
40951
+ },
40543
40952
  /**
40544
40953
  * 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
40954
  * @summary Record a manual payment session
@@ -40739,6 +41148,17 @@ export const PaymentSessionApiFp = function(configuration?: Configuration) {
40739
41148
  const localVarAxiosArgs = await localVarAxiosParamCreator.initiateVivaSession(initiateVivaSessionDto, xIdempotencyKey, options);
40740
41149
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
40741
41150
  },
41151
+ /**
41152
+ * 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.
41153
+ * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
41154
+ * @param {PollVivaSessionDto} pollVivaSessionDto
41155
+ * @param {*} [options] Override http request option.
41156
+ * @throws {RequiredError}
41157
+ */
41158
+ async pollVivaSession(pollVivaSessionDto: PollVivaSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
41159
+ const localVarAxiosArgs = await localVarAxiosParamCreator.pollVivaSession(pollVivaSessionDto, options);
41160
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
41161
+ },
40742
41162
  /**
40743
41163
  * 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
41164
  * @summary Record a manual payment session
@@ -40834,6 +41254,16 @@ export const PaymentSessionApiFactory = function (configuration?: Configuration,
40834
41254
  initiateVivaSession(initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: any): AxiosPromise<InitiateVivaSessionResponseDto> {
40835
41255
  return localVarFp.initiateVivaSession(initiateVivaSessionDto, xIdempotencyKey, options).then((request) => request(axios, basePath));
40836
41256
  },
41257
+ /**
41258
+ * 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.
41259
+ * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
41260
+ * @param {PollVivaSessionDto} pollVivaSessionDto
41261
+ * @param {*} [options] Override http request option.
41262
+ * @throws {RequiredError}
41263
+ */
41264
+ pollVivaSession(pollVivaSessionDto: PollVivaSessionDto, options?: any): AxiosPromise<void> {
41265
+ return localVarFp.pollVivaSession(pollVivaSessionDto, options).then((request) => request(axios, basePath));
41266
+ },
40837
41267
  /**
40838
41268
  * 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
41269
  * @summary Record a manual payment session
@@ -40924,6 +41354,16 @@ export interface PaymentSessionApiInterface {
40924
41354
  */
40925
41355
  initiateVivaSession(initiateVivaSessionDto: InitiateVivaSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<InitiateVivaSessionResponseDto>;
40926
41356
 
41357
+ /**
41358
+ * 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.
41359
+ * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
41360
+ * @param {PollVivaSessionDto} pollVivaSessionDto
41361
+ * @param {*} [options] Override http request option.
41362
+ * @throws {RequiredError}
41363
+ * @memberof PaymentSessionApiInterface
41364
+ */
41365
+ pollVivaSession(pollVivaSessionDto: PollVivaSessionDto, options?: AxiosRequestConfig): AxiosPromise<void>;
41366
+
40927
41367
  /**
40928
41368
  * 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
41369
  * @summary Record a manual payment session
@@ -41022,6 +41462,18 @@ export class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInter
41022
41462
  return PaymentSessionApiFp(this.configuration).initiateVivaSession(initiateVivaSessionDto, xIdempotencyKey, options).then((request) => request(this.axios, this.basePath));
41023
41463
  }
41024
41464
 
41465
+ /**
41466
+ * 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.
41467
+ * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
41468
+ * @param {PollVivaSessionDto} pollVivaSessionDto
41469
+ * @param {*} [options] Override http request option.
41470
+ * @throws {RequiredError}
41471
+ * @memberof PaymentSessionApi
41472
+ */
41473
+ public pollVivaSession(pollVivaSessionDto: PollVivaSessionDto, options?: AxiosRequestConfig) {
41474
+ return PaymentSessionApiFp(this.configuration).pollVivaSession(pollVivaSessionDto, options).then((request) => request(this.axios, this.basePath));
41475
+ }
41476
+
41025
41477
  /**
41026
41478
  * 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
41479
  * @summary Record a manual payment session
@@ -46214,35 +46666,6 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
46214
46666
 
46215
46667
 
46216
46668
 
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
46669
  setSearchParams(localVarUrlObj, localVarQueryParameter);
46247
46670
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46248
46671
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -46540,14 +46963,15 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
46540
46963
  },
46541
46964
  /**
46542
46965
  *
46543
- * @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
46966
+ * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
46967
+ * @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
46544
46968
  * @param {*} [options] Override http request option.
46545
46969
  * @throws {RequiredError}
46546
46970
  */
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`;
46971
+ processPosOrderActionsQueue: async (processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46972
+ // verify required parameter 'processPosOrderActionsQueueDto' is not null or undefined
46973
+ assertParamExists('processPosOrderActionsQueue', 'processPosOrderActionsQueueDto', processPosOrderActionsQueueDto)
46974
+ const localVarPath = `/api/webhook/pos/order-actions/process`;
46551
46975
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
46552
46976
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46553
46977
  let baseOptions;
@@ -46566,7 +46990,7 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
46566
46990
  setSearchParams(localVarUrlObj, localVarQueryParameter);
46567
46991
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46568
46992
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
46569
- localVarRequestOptions.data = serializeDataIfNeeded(processKioskRecoveryQueueDto, localVarRequestOptions, configuration)
46993
+ localVarRequestOptions.data = serializeDataIfNeeded(processPosOrderActionsQueueDto, localVarRequestOptions, configuration)
46570
46994
 
46571
46995
  return {
46572
46996
  url: toPathString(localVarUrlObj),
@@ -46727,15 +47151,6 @@ export const WebhookApiFp = function(configuration?: Configuration) {
46727
47151
  const localVarAxiosArgs = await localVarAxiosParamCreator.handleNetsEventsV2(options);
46728
47152
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46729
47153
  },
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
47154
  /**
46740
47155
  *
46741
47156
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -46826,12 +47241,13 @@ export const WebhookApiFp = function(configuration?: Configuration) {
46826
47241
  },
46827
47242
  /**
46828
47243
  *
46829
- * @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
47244
+ * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
47245
+ * @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
46830
47246
  * @param {*} [options] Override http request option.
46831
47247
  * @throws {RequiredError}
46832
47248
  */
46833
- async processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
46834
- const localVarAxiosArgs = await localVarAxiosParamCreator.processKioskRecoveryQueue(processKioskRecoveryQueueDto, options);
47249
+ async processPosOrderActionsQueue(processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
47250
+ const localVarAxiosArgs = await localVarAxiosParamCreator.processPosOrderActionsQueue(processPosOrderActionsQueueDto, options);
46835
47251
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46836
47252
  },
46837
47253
  /**
@@ -46922,14 +47338,6 @@ export const WebhookApiFactory = function (configuration?: Configuration, basePa
46922
47338
  handleNetsEventsV2(options?: any): AxiosPromise<void> {
46923
47339
  return localVarFp.handleNetsEventsV2(options).then((request) => request(axios, basePath));
46924
47340
  },
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
47341
  /**
46934
47342
  *
46935
47343
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -47011,12 +47419,13 @@ export const WebhookApiFactory = function (configuration?: Configuration, basePa
47011
47419
  },
47012
47420
  /**
47013
47421
  *
47014
- * @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
47422
+ * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
47423
+ * @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
47015
47424
  * @param {*} [options] Override http request option.
47016
47425
  * @throws {RequiredError}
47017
47426
  */
47018
- processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: any): AxiosPromise<void> {
47019
- return localVarFp.processKioskRecoveryQueue(processKioskRecoveryQueueDto, options).then((request) => request(axios, basePath));
47427
+ processPosOrderActionsQueue(processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options?: any): AxiosPromise<void> {
47428
+ return localVarFp.processPosOrderActionsQueue(processPosOrderActionsQueueDto, options).then((request) => request(axios, basePath));
47020
47429
  },
47021
47430
  /**
47022
47431
  *
@@ -47102,14 +47511,6 @@ export interface WebhookApiInterface {
47102
47511
  */
47103
47512
  handleNetsEventsV2(options?: AxiosRequestConfig): AxiosPromise<void>;
47104
47513
 
47105
- /**
47106
- *
47107
- * @param {*} [options] Override http request option.
47108
- * @throws {RequiredError}
47109
- * @memberof WebhookApiInterface
47110
- */
47111
- handleNetsRefundEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
47112
-
47113
47514
  /**
47114
47515
  *
47115
47516
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -47191,12 +47592,13 @@ export interface WebhookApiInterface {
47191
47592
 
47192
47593
  /**
47193
47594
  *
47194
- * @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
47595
+ * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
47596
+ * @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
47195
47597
  * @param {*} [options] Override http request option.
47196
47598
  * @throws {RequiredError}
47197
47599
  * @memberof WebhookApiInterface
47198
47600
  */
47199
- processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig): AxiosPromise<void>;
47601
+ processPosOrderActionsQueue(processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options?: AxiosRequestConfig): AxiosPromise<void>;
47200
47602
 
47201
47603
  /**
47202
47604
  *
@@ -47294,16 +47696,6 @@ export class WebhookApi extends BaseAPI implements WebhookApiInterface {
47294
47696
  return WebhookApiFp(this.configuration).handleNetsEventsV2(options).then((request) => request(this.axios, this.basePath));
47295
47697
  }
47296
47698
 
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
47699
  /**
47308
47700
  *
47309
47701
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -47403,13 +47795,14 @@ export class WebhookApi extends BaseAPI implements WebhookApiInterface {
47403
47795
 
47404
47796
  /**
47405
47797
  *
47406
- * @param {ProcessKioskRecoveryQueueDto} processKioskRecoveryQueueDto
47798
+ * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
47799
+ * @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
47407
47800
  * @param {*} [options] Override http request option.
47408
47801
  * @throws {RequiredError}
47409
47802
  * @memberof WebhookApi
47410
47803
  */
47411
- public processKioskRecoveryQueue(processKioskRecoveryQueueDto: ProcessKioskRecoveryQueueDto, options?: AxiosRequestConfig) {
47412
- return WebhookApiFp(this.configuration).processKioskRecoveryQueue(processKioskRecoveryQueueDto, options).then((request) => request(this.axios, this.basePath));
47804
+ public processPosOrderActionsQueue(processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options?: AxiosRequestConfig) {
47805
+ return WebhookApiFp(this.configuration).processPosOrderActionsQueue(processPosOrderActionsQueueDto, options).then((request) => request(this.axios, this.basePath));
47413
47806
  }
47414
47807
 
47415
47808
  /**