@munchi_oy/core 1.9.72 → 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
@@ -16286,7 +16305,7 @@ export type PrinterTypeEnum = typeof PrinterTypeEnum[keyof typeof PrinterTypeEnu
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
@@ -19718,6 +19737,306 @@ export interface SupportedChannelDto {
19718
19737
  }
19719
19738
 
19720
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
+ }
19721
20040
  /**
19722
20041
  *
19723
20042
  * @export
@@ -37643,6 +37962,42 @@ export const OrdersApiAxiosParamCreator = function (configuration?: Configuratio
37643
37962
  options: localVarRequestOptions,
37644
37963
  };
37645
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
+ },
37646
38001
  /**
37647
38002
  *
37648
38003
  * @summary Update a POS order status
@@ -37824,6 +38179,17 @@ export const OrdersApiFp = function(configuration?: Configuration) {
37824
38179
  const localVarAxiosArgs = await localVarAxiosParamCreator.rejectOrder(rejectOrderDto, options);
37825
38180
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37826
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
+ },
37827
38193
  /**
37828
38194
  *
37829
38195
  * @summary Update a POS order status
@@ -37968,6 +38334,16 @@ export const OrdersApiFactory = function (configuration?: Configuration, basePat
37968
38334
  rejectOrder(rejectOrderDto: RejectOrderDto, options?: any): AxiosPromise<OrderStatusResponseDto> {
37969
38335
  return localVarFp.rejectOrder(rejectOrderDto, options).then((request) => request(axios, basePath));
37970
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
+ },
37971
38347
  /**
37972
38348
  *
37973
38349
  * @summary Update a POS order status
@@ -38110,6 +38486,16 @@ export interface OrdersApiInterface {
38110
38486
  */
38111
38487
  rejectOrder(rejectOrderDto: RejectOrderDto, options?: AxiosRequestConfig): AxiosPromise<OrderStatusResponseDto>;
38112
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
+
38113
38499
  /**
38114
38500
  *
38115
38501
  * @summary Update a POS order status
@@ -38276,6 +38662,18 @@ export class OrdersApi extends BaseAPI implements OrdersApiInterface {
38276
38662
  return OrdersApiFp(this.configuration).rejectOrder(rejectOrderDto, options).then((request) => request(this.axios, this.basePath));
38277
38663
  }
38278
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
+
38279
38677
  /**
38280
38678
  *
38281
38679
  * @summary Update a POS order status
@@ -46563,6 +46961,42 @@ export const WebhookApiAxiosParamCreator = function (configuration?: Configurati
46563
46961
  options: localVarRequestOptions,
46564
46962
  };
46565
46963
  },
46964
+ /**
46965
+ *
46966
+ * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
46967
+ * @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
46968
+ * @param {*} [options] Override http request option.
46969
+ * @throws {RequiredError}
46970
+ */
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`;
46975
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
46976
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
46977
+ let baseOptions;
46978
+ if (configuration) {
46979
+ baseOptions = configuration.baseOptions;
46980
+ }
46981
+
46982
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
46983
+ const localVarHeaderParameter = {} as any;
46984
+ const localVarQueryParameter = {} as any;
46985
+
46986
+
46987
+
46988
+ localVarHeaderParameter['Content-Type'] = 'application/json';
46989
+
46990
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
46991
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
46992
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
46993
+ localVarRequestOptions.data = serializeDataIfNeeded(processPosOrderActionsQueueDto, localVarRequestOptions, configuration)
46994
+
46995
+ return {
46996
+ url: toPathString(localVarUrlObj),
46997
+ options: localVarRequestOptions,
46998
+ };
46999
+ },
46566
47000
  /**
46567
47001
  *
46568
47002
  * @param {*} [options] Override http request option.
@@ -46805,6 +47239,17 @@ export const WebhookApiFp = function(configuration?: Configuration) {
46805
47239
  const localVarAxiosArgs = await localVarAxiosParamCreator.handleWorldlineEvents(options);
46806
47240
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
46807
47241
  },
47242
+ /**
47243
+ *
47244
+ * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
47245
+ * @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
47246
+ * @param {*} [options] Override http request option.
47247
+ * @throws {RequiredError}
47248
+ */
47249
+ async processPosOrderActionsQueue(processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
47250
+ const localVarAxiosArgs = await localVarAxiosParamCreator.processPosOrderActionsQueue(processPosOrderActionsQueueDto, options);
47251
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
47252
+ },
46808
47253
  /**
46809
47254
  *
46810
47255
  * @param {*} [options] Override http request option.
@@ -46972,6 +47417,16 @@ export const WebhookApiFactory = function (configuration?: Configuration, basePa
46972
47417
  handleWorldlineEvents(options?: any): AxiosPromise<void> {
46973
47418
  return localVarFp.handleWorldlineEvents(options).then((request) => request(axios, basePath));
46974
47419
  },
47420
+ /**
47421
+ *
47422
+ * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
47423
+ * @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
47424
+ * @param {*} [options] Override http request option.
47425
+ * @throws {RequiredError}
47426
+ */
47427
+ processPosOrderActionsQueue(processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options?: any): AxiosPromise<void> {
47428
+ return localVarFp.processPosOrderActionsQueue(processPosOrderActionsQueueDto, options).then((request) => request(axios, basePath));
47429
+ },
46975
47430
  /**
46976
47431
  *
46977
47432
  * @param {*} [options] Override http request option.
@@ -47135,6 +47590,16 @@ export interface WebhookApiInterface {
47135
47590
  */
47136
47591
  handleWorldlineEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
47137
47592
 
47593
+ /**
47594
+ *
47595
+ * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
47596
+ * @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
47597
+ * @param {*} [options] Override http request option.
47598
+ * @throws {RequiredError}
47599
+ * @memberof WebhookApiInterface
47600
+ */
47601
+ processPosOrderActionsQueue(processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options?: AxiosRequestConfig): AxiosPromise<void>;
47602
+
47138
47603
  /**
47139
47604
  *
47140
47605
  * @param {*} [options] Override http request option.
@@ -47328,6 +47793,18 @@ export class WebhookApi extends BaseAPI implements WebhookApiInterface {
47328
47793
  return WebhookApiFp(this.configuration).handleWorldlineEvents(options).then((request) => request(this.axios, this.basePath));
47329
47794
  }
47330
47795
 
47796
+ /**
47797
+ *
47798
+ * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
47799
+ * @param {ProcessPosOrderActionsQueueDto} processPosOrderActionsQueueDto
47800
+ * @param {*} [options] Override http request option.
47801
+ * @throws {RequiredError}
47802
+ * @memberof WebhookApi
47803
+ */
47804
+ public processPosOrderActionsQueue(processPosOrderActionsQueueDto: ProcessPosOrderActionsQueueDto, options?: AxiosRequestConfig) {
47805
+ return WebhookApiFp(this.configuration).processPosOrderActionsQueue(processPosOrderActionsQueueDto, options).then((request) => request(this.axios, this.basePath));
47806
+ }
47807
+
47331
47808
  /**
47332
47809
  *
47333
47810
  * @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.72",
3
+ "version": "1.9.73",
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.72";
3
+ export const VERSION = "1.9.73";