@munchi_oy/core 1.9.116 → 1.9.118

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.
@@ -3477,12 +3477,24 @@ export interface CreateLoyaltyProgramUserResponseDto {
3477
3477
  * @interface CreateManualSessionDto
3478
3478
  */
3479
3479
  export interface CreateManualSessionDto {
3480
+ /**
3481
+ *
3482
+ * @type {CreateManualSessionDtoDevice}
3483
+ * @memberof CreateManualSessionDto
3484
+ */
3485
+ 'device'?: CreateManualSessionDtoDevice | null;
3480
3486
  /**
3481
3487
  * The internal business ID.
3482
3488
  * @type {number}
3483
3489
  * @memberof CreateManualSessionDto
3484
3490
  */
3485
3491
  'businessId': number;
3492
+ /**
3493
+ * The gateway session this payment stands in for, when the till settles a card charge it could not confirm. Honoured only for a manual card entry.
3494
+ * @type {string}
3495
+ * @memberof CreateManualSessionDto
3496
+ */
3497
+ 'settlesSessionId'?: string;
3486
3498
  /**
3487
3499
  * The POS order ID this payment session is for.
3488
3500
  * @type {string}
@@ -3538,6 +3550,31 @@ export interface CreateManualSessionDto {
3538
3550
  */
3539
3551
  'cashConfig'?: object;
3540
3552
  }
3553
+ /**
3554
+ * The device taking this payment. Optional so an app build that predates the field still records payments.
3555
+ * @export
3556
+ * @interface CreateManualSessionDtoDevice
3557
+ */
3558
+ export interface CreateManualSessionDtoDevice {
3559
+ /**
3560
+ * Station hardware id of the device.
3561
+ * @type {string}
3562
+ * @memberof CreateManualSessionDtoDevice
3563
+ */
3564
+ 'id': string;
3565
+ /**
3566
+ * The device\'s name at the time of payment. Empty when the venue never set one.
3567
+ * @type {string}
3568
+ * @memberof CreateManualSessionDtoDevice
3569
+ */
3570
+ 'name'?: string | null;
3571
+ /**
3572
+ *
3573
+ * @type {PaymentApp}
3574
+ * @memberof CreateManualSessionDtoDevice
3575
+ */
3576
+ 'app': PaymentApp;
3577
+ }
3541
3578
  /**
3542
3579
  * The full POS order (cart) this payment is for. Sent by the client instead of a separate Firestore upsert so the backend writes the order, records the payment and returns the computed order in one round-trip.
3543
3580
  * @export
@@ -4668,6 +4705,17 @@ export interface DeliveryDtoLocation {
4668
4705
  */
4669
4706
  'coordinates': LocationDtoCoordinates | null;
4670
4707
  }
4708
+ /**
4709
+ *
4710
+ * @export
4711
+ * @enum {string}
4712
+ */
4713
+ export declare const DeliveryIntentStatus: {
4714
+ readonly Pending: "pending";
4715
+ readonly Dispatched: "dispatched";
4716
+ readonly Failed: "failed";
4717
+ };
4718
+ export type DeliveryIntentStatus = typeof DeliveryIntentStatus[keyof typeof DeliveryIntentStatus];
4671
4719
  /**
4672
4720
  *
4673
4721
  * @export
@@ -13214,6 +13262,17 @@ export interface PayTerminalSessionTokenResponseDto {
13214
13262
  */
13215
13263
  'terminalName'?: string | null;
13216
13264
  }
13265
+ /**
13266
+ *
13267
+ * @export
13268
+ * @enum {string}
13269
+ */
13270
+ export declare const PaymentApp: {
13271
+ readonly Pos: "munchi_pos";
13272
+ readonly Handheld: "munchi_handheld";
13273
+ readonly Pay: "munchi_pay";
13274
+ };
13275
+ export type PaymentApp = typeof PaymentApp[keyof typeof PaymentApp];
13217
13276
  /**
13218
13277
  *
13219
13278
  * @export
@@ -13265,6 +13324,31 @@ export interface PaymentDetailsDto {
13265
13324
  */
13266
13325
  'difference': number;
13267
13326
  }
13327
+ /**
13328
+ *
13329
+ * @export
13330
+ * @interface PaymentDeviceDto
13331
+ */
13332
+ export interface PaymentDeviceDto {
13333
+ /**
13334
+ * Station hardware id of the device.
13335
+ * @type {string}
13336
+ * @memberof PaymentDeviceDto
13337
+ */
13338
+ 'id': string;
13339
+ /**
13340
+ * The device\'s name at the time of payment. Empty when the venue never set one.
13341
+ * @type {string}
13342
+ * @memberof PaymentDeviceDto
13343
+ */
13344
+ 'name'?: string | null;
13345
+ /**
13346
+ *
13347
+ * @type {PaymentApp}
13348
+ * @memberof PaymentDeviceDto
13349
+ */
13350
+ 'app': PaymentApp;
13351
+ }
13268
13352
  /**
13269
13353
  *
13270
13354
  * @export
@@ -13310,6 +13394,7 @@ export interface PaymentErrorDto {
13310
13394
  export declare const PaymentEventType: {
13311
13395
  readonly StatusChanged: "payment:status-changed";
13312
13396
  readonly RefundStatusChanged: "payment:refund-status-changed";
13397
+ readonly Outcome: "payment:outcome";
13313
13398
  };
13314
13399
  export type PaymentEventType = typeof PaymentEventType[keyof typeof PaymentEventType];
13315
13400
  /**
@@ -14203,6 +14288,17 @@ export interface PaymentMethodsResponseDto {
14203
14288
  */
14204
14289
  'minimumCheckoutAmount'?: number;
14205
14290
  }
14291
+ /**
14292
+ *
14293
+ * @export
14294
+ * @enum {string}
14295
+ */
14296
+ export declare const PaymentOutcomeStatus: {
14297
+ readonly Uncertain: "Uncertain";
14298
+ readonly Success: "Success";
14299
+ readonly Failed: "Failed";
14300
+ };
14301
+ export type PaymentOutcomeStatus = typeof PaymentOutcomeStatus[keyof typeof PaymentOutcomeStatus];
14206
14302
  /**
14207
14303
  *
14208
14304
  * @export
@@ -14762,6 +14858,12 @@ export interface PaymentStatusDtoTransaction {
14762
14858
  * @memberof PaymentStatusDtoTransaction
14763
14859
  */
14764
14860
  'type': PaymentMethod;
14861
+ /**
14862
+ *
14863
+ * @type {PaymentOutcomeStatus}
14864
+ * @memberof PaymentStatusDtoTransaction
14865
+ */
14866
+ 'paymentOutcomeStatus'?: PaymentOutcomeStatus;
14765
14867
  /**
14766
14868
  * Amount paid in cents
14767
14869
  * @type {number}
@@ -14816,6 +14918,18 @@ export interface PaymentStatusDtoTransaction {
14816
14918
  * @memberof PaymentStatusDtoTransaction
14817
14919
  */
14818
14920
  'itemAllocations'?: Array<TransactionItemAllocationDto> | null;
14921
+ /**
14922
+ *
14923
+ * @type {TransactionDtoDevice}
14924
+ * @memberof PaymentStatusDtoTransaction
14925
+ */
14926
+ 'device'?: TransactionDtoDevice | null;
14927
+ /**
14928
+ *
14929
+ * @type {TransactionDtoCapturedBy}
14930
+ * @memberof PaymentStatusDtoTransaction
14931
+ */
14932
+ 'capturedBy'?: TransactionDtoCapturedBy | null;
14819
14933
  /**
14820
14934
  * Indicates whether this transaction was processed as a pre-authorization.
14821
14935
  * @type {string}
@@ -17900,6 +18014,25 @@ export declare const PrinterTypeEnum: {
17900
18014
  readonly Label: "LABEL";
17901
18015
  };
17902
18016
  export type PrinterTypeEnum = typeof PrinterTypeEnum[keyof typeof PrinterTypeEnum];
18017
+ /**
18018
+ *
18019
+ * @export
18020
+ * @interface ProcessDispatchTaskDto
18021
+ */
18022
+ export interface ProcessDispatchTaskDto {
18023
+ /**
18024
+ * Business the order belongs to.
18025
+ * @type {number}
18026
+ * @memberof ProcessDispatchTaskDto
18027
+ */
18028
+ 'businessId': number;
18029
+ /**
18030
+ * Order to dispatch. Everything else is re-read from the order.
18031
+ * @type {string}
18032
+ * @memberof ProcessDispatchTaskDto
18033
+ */
18034
+ 'orderId': string;
18035
+ }
17903
18036
  /**
17904
18037
  *
17905
18038
  * @export
@@ -20464,6 +20597,19 @@ export declare const ScopeEnum: {
20464
20597
  readonly Cart: "CART";
20465
20598
  };
20466
20599
  export type ScopeEnum = typeof ScopeEnum[keyof typeof ScopeEnum];
20600
+ /**
20601
+ *
20602
+ * @export
20603
+ * @interface RetryWorldlineReversalDto
20604
+ */
20605
+ export interface RetryWorldlineReversalDto {
20606
+ /**
20607
+ * Session id of the SALE whose reversal was refused and is being asked for again.
20608
+ * @type {string}
20609
+ * @memberof RetryWorldlineReversalDto
20610
+ */
20611
+ 'parentSessionId': string;
20612
+ }
20467
20613
  /**
20468
20614
  *
20469
20615
  * @export
@@ -22529,6 +22675,12 @@ export interface TransactionDto {
22529
22675
  * @memberof TransactionDto
22530
22676
  */
22531
22677
  'type': PaymentMethod;
22678
+ /**
22679
+ *
22680
+ * @type {PaymentOutcomeStatus}
22681
+ * @memberof TransactionDto
22682
+ */
22683
+ 'paymentOutcomeStatus'?: PaymentOutcomeStatus;
22532
22684
  /**
22533
22685
  * Amount paid in cents
22534
22686
  * @type {number}
@@ -22583,6 +22735,18 @@ export interface TransactionDto {
22583
22735
  * @memberof TransactionDto
22584
22736
  */
22585
22737
  'itemAllocations'?: Array<TransactionItemAllocationDto> | null;
22738
+ /**
22739
+ *
22740
+ * @type {TransactionDtoDevice}
22741
+ * @memberof TransactionDto
22742
+ */
22743
+ 'device'?: TransactionDtoDevice | null;
22744
+ /**
22745
+ *
22746
+ * @type {TransactionDtoCapturedBy}
22747
+ * @memberof TransactionDto
22748
+ */
22749
+ 'capturedBy'?: TransactionDtoCapturedBy | null;
22586
22750
  /**
22587
22751
  * Indicates whether this transaction was processed as a pre-authorization.
22588
22752
  * @type {string}
@@ -22596,6 +22760,31 @@ export interface TransactionDto {
22596
22760
  */
22597
22761
  'fees'?: TransactionDtoFees | null;
22598
22762
  }
22763
+ /**
22764
+ * The device that physically ran the card, when that is not the device holding the order — a POS paired to a MunchiPay terminal. Absent otherwise, so its presence is what marks a paired charge.
22765
+ * @export
22766
+ * @interface TransactionDtoCapturedBy
22767
+ */
22768
+ export interface TransactionDtoCapturedBy {
22769
+ /**
22770
+ * Station hardware id of the device.
22771
+ * @type {string}
22772
+ * @memberof TransactionDtoCapturedBy
22773
+ */
22774
+ 'id': string;
22775
+ /**
22776
+ * The device\'s name at the time of payment. Empty when the venue never set one.
22777
+ * @type {string}
22778
+ * @memberof TransactionDtoCapturedBy
22779
+ */
22780
+ 'name'?: string | null;
22781
+ /**
22782
+ *
22783
+ * @type {PaymentApp}
22784
+ * @memberof TransactionDtoCapturedBy
22785
+ */
22786
+ 'app': PaymentApp;
22787
+ }
22599
22788
  /**
22600
22789
  * Details about the cart, optional
22601
22790
  * @export
@@ -22651,6 +22840,31 @@ export interface TransactionDtoCardDetail {
22651
22840
  */
22652
22841
  'issuer': string | null;
22653
22842
  }
22843
+ /**
22844
+ * The device that owns the order this payment settles. Absent on payments taken by an app build that predates the field.
22845
+ * @export
22846
+ * @interface TransactionDtoDevice
22847
+ */
22848
+ export interface TransactionDtoDevice {
22849
+ /**
22850
+ * Station hardware id of the device.
22851
+ * @type {string}
22852
+ * @memberof TransactionDtoDevice
22853
+ */
22854
+ 'id': string;
22855
+ /**
22856
+ * The device\'s name at the time of payment. Empty when the venue never set one.
22857
+ * @type {string}
22858
+ * @memberof TransactionDtoDevice
22859
+ */
22860
+ 'name'?: string | null;
22861
+ /**
22862
+ *
22863
+ * @type {PaymentApp}
22864
+ * @memberof TransactionDtoDevice
22865
+ */
22866
+ 'app': PaymentApp;
22867
+ }
22654
22868
  /**
22655
22869
  * Fees for this payment
22656
22870
  * @export
@@ -24239,6 +24453,37 @@ export interface UpdateChannelInventoryDto {
24239
24453
  */
24240
24454
  'channels': Array<ChannelInventoryUpdateDto>;
24241
24455
  }
24456
+ /**
24457
+ *
24458
+ * @export
24459
+ * @interface UpdateDeliveryIntentDto
24460
+ */
24461
+ export interface UpdateDeliveryIntentDto {
24462
+ /**
24463
+ *
24464
+ * @type {DeliveryIntentStatus}
24465
+ * @memberof UpdateDeliveryIntentDto
24466
+ */
24467
+ 'status': DeliveryIntentStatus;
24468
+ /**
24469
+ *
24470
+ * @type {string}
24471
+ * @memberof UpdateDeliveryIntentDto
24472
+ */
24473
+ 'providerDeliveryId'?: string;
24474
+ /**
24475
+ *
24476
+ * @type {string}
24477
+ * @memberof UpdateDeliveryIntentDto
24478
+ */
24479
+ 'trackingUrl'?: string;
24480
+ /**
24481
+ *
24482
+ * @type {string}
24483
+ * @memberof UpdateDeliveryIntentDto
24484
+ */
24485
+ 'failureReason'?: string;
24486
+ }
24242
24487
  /**
24243
24488
  *
24244
24489
  * @export
@@ -27255,10 +27500,10 @@ export interface WalletItemDto {
27255
27500
  'id': number;
27256
27501
  /**
27257
27502
  *
27258
- * @type {string}
27503
+ * @type {WalletItemStatus}
27259
27504
  * @memberof WalletItemDto
27260
27505
  */
27261
- 'status': StatusEnum;
27506
+ 'status': WalletItemStatus;
27262
27507
  /**
27263
27508
  *
27264
27509
  * @type {object}
@@ -27272,11 +27517,16 @@ export interface WalletItemDto {
27272
27517
  */
27273
27518
  'catalog': WalletCatalogDto;
27274
27519
  }
27275
- export declare const StatusEnum: {
27520
+ /**
27521
+ *
27522
+ * @export
27523
+ * @enum {string}
27524
+ */
27525
+ export declare const WalletItemStatus: {
27276
27526
  readonly Claimed: "Claimed";
27277
27527
  readonly Redeemed: "Redeemed";
27278
27528
  };
27279
- export type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
27529
+ export type WalletItemStatus = typeof WalletItemStatus[keyof typeof WalletItemStatus];
27280
27530
  /**
27281
27531
  *
27282
27532
  * @export
@@ -30717,6 +30967,128 @@ export declare class CoursesApi extends BaseAPI implements CoursesApiInterface {
30717
30967
  */
30718
30968
  getCourses(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CourseDto[], any, {}>>;
30719
30969
  }
30970
+ /**
30971
+ * DeliveryIntentApi - axios parameter creator
30972
+ * @export
30973
+ */
30974
+ export declare const DeliveryIntentApiAxiosParamCreator: (configuration?: Configuration) => {
30975
+ /**
30976
+ * Internal service-to-service call, requires the `x-internal-token` header.
30977
+ * @summary Fetch a delivery intent for courier execution
30978
+ * @param {string} intentId
30979
+ * @param {*} [options] Override http request option.
30980
+ * @throws {RequiredError}
30981
+ */
30982
+ findIntent: (intentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30983
+ /**
30984
+ * Internal service-to-service call, requires the `x-internal-token` header.
30985
+ * @summary Report the courier execution outcome of a delivery intent
30986
+ * @param {string} intentId
30987
+ * @param {UpdateDeliveryIntentDto} updateDeliveryIntentDto
30988
+ * @param {*} [options] Override http request option.
30989
+ * @throws {RequiredError}
30990
+ */
30991
+ updateIntent: (intentId: string, updateDeliveryIntentDto: UpdateDeliveryIntentDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30992
+ };
30993
+ /**
30994
+ * DeliveryIntentApi - functional programming interface
30995
+ * @export
30996
+ */
30997
+ export declare const DeliveryIntentApiFp: (configuration?: Configuration) => {
30998
+ /**
30999
+ * Internal service-to-service call, requires the `x-internal-token` header.
31000
+ * @summary Fetch a delivery intent for courier execution
31001
+ * @param {string} intentId
31002
+ * @param {*} [options] Override http request option.
31003
+ * @throws {RequiredError}
31004
+ */
31005
+ findIntent(intentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
31006
+ /**
31007
+ * Internal service-to-service call, requires the `x-internal-token` header.
31008
+ * @summary Report the courier execution outcome of a delivery intent
31009
+ * @param {string} intentId
31010
+ * @param {UpdateDeliveryIntentDto} updateDeliveryIntentDto
31011
+ * @param {*} [options] Override http request option.
31012
+ * @throws {RequiredError}
31013
+ */
31014
+ updateIntent(intentId: string, updateDeliveryIntentDto: UpdateDeliveryIntentDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
31015
+ };
31016
+ /**
31017
+ * DeliveryIntentApi - factory interface
31018
+ * @export
31019
+ */
31020
+ export declare const DeliveryIntentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
31021
+ /**
31022
+ * Internal service-to-service call, requires the `x-internal-token` header.
31023
+ * @summary Fetch a delivery intent for courier execution
31024
+ * @param {string} intentId
31025
+ * @param {*} [options] Override http request option.
31026
+ * @throws {RequiredError}
31027
+ */
31028
+ findIntent(intentId: string, options?: any): AxiosPromise<void>;
31029
+ /**
31030
+ * Internal service-to-service call, requires the `x-internal-token` header.
31031
+ * @summary Report the courier execution outcome of a delivery intent
31032
+ * @param {string} intentId
31033
+ * @param {UpdateDeliveryIntentDto} updateDeliveryIntentDto
31034
+ * @param {*} [options] Override http request option.
31035
+ * @throws {RequiredError}
31036
+ */
31037
+ updateIntent(intentId: string, updateDeliveryIntentDto: UpdateDeliveryIntentDto, options?: any): AxiosPromise<void>;
31038
+ };
31039
+ /**
31040
+ * DeliveryIntentApi - interface
31041
+ * @export
31042
+ * @interface DeliveryIntentApi
31043
+ */
31044
+ export interface DeliveryIntentApiInterface {
31045
+ /**
31046
+ * Internal service-to-service call, requires the `x-internal-token` header.
31047
+ * @summary Fetch a delivery intent for courier execution
31048
+ * @param {string} intentId
31049
+ * @param {*} [options] Override http request option.
31050
+ * @throws {RequiredError}
31051
+ * @memberof DeliveryIntentApiInterface
31052
+ */
31053
+ findIntent(intentId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
31054
+ /**
31055
+ * Internal service-to-service call, requires the `x-internal-token` header.
31056
+ * @summary Report the courier execution outcome of a delivery intent
31057
+ * @param {string} intentId
31058
+ * @param {UpdateDeliveryIntentDto} updateDeliveryIntentDto
31059
+ * @param {*} [options] Override http request option.
31060
+ * @throws {RequiredError}
31061
+ * @memberof DeliveryIntentApiInterface
31062
+ */
31063
+ updateIntent(intentId: string, updateDeliveryIntentDto: UpdateDeliveryIntentDto, options?: AxiosRequestConfig): AxiosPromise<void>;
31064
+ }
31065
+ /**
31066
+ * DeliveryIntentApi - object-oriented interface
31067
+ * @export
31068
+ * @class DeliveryIntentApi
31069
+ * @extends {BaseAPI}
31070
+ */
31071
+ export declare class DeliveryIntentApi extends BaseAPI implements DeliveryIntentApiInterface {
31072
+ /**
31073
+ * Internal service-to-service call, requires the `x-internal-token` header.
31074
+ * @summary Fetch a delivery intent for courier execution
31075
+ * @param {string} intentId
31076
+ * @param {*} [options] Override http request option.
31077
+ * @throws {RequiredError}
31078
+ * @memberof DeliveryIntentApi
31079
+ */
31080
+ findIntent(intentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
31081
+ /**
31082
+ * Internal service-to-service call, requires the `x-internal-token` header.
31083
+ * @summary Report the courier execution outcome of a delivery intent
31084
+ * @param {string} intentId
31085
+ * @param {UpdateDeliveryIntentDto} updateDeliveryIntentDto
31086
+ * @param {*} [options] Override http request option.
31087
+ * @throws {RequiredError}
31088
+ * @memberof DeliveryIntentApi
31089
+ */
31090
+ updateIntent(intentId: string, updateDeliveryIntentDto: UpdateDeliveryIntentDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
31091
+ }
30720
31092
  /**
30721
31093
  * DisplayApi - axios parameter creator
30722
31094
  * @export
@@ -34536,7 +34908,7 @@ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration)
34536
34908
  */
34537
34909
  deliverOrder: (deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34538
34910
  /**
34539
- * Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
34911
+ * Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, and a dispatch already running for the same order short-circuits, so calling this twice is safe.
34540
34912
  * @summary Ready & Send a POS order to the kitchen
34541
34913
  * @param {DispatchPosOrderDto} dispatchPosOrderDto
34542
34914
  * @param {*} [options] Override http request option.
@@ -34684,7 +35056,7 @@ export declare const OrdersApiFp: (configuration?: Configuration) => {
34684
35056
  */
34685
35057
  deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrderStatusResponseDto>>;
34686
35058
  /**
34687
- * Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
35059
+ * Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, and a dispatch already running for the same order short-circuits, so calling this twice is safe.
34688
35060
  * @summary Ready & Send a POS order to the kitchen
34689
35061
  * @param {DispatchPosOrderDto} dispatchPosOrderDto
34690
35062
  * @param {*} [options] Override http request option.
@@ -34832,7 +35204,7 @@ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?
34832
35204
  */
34833
35205
  deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: any): AxiosPromise<OrderStatusResponseDto>;
34834
35206
  /**
34835
- * Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
35207
+ * Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, and a dispatch already running for the same order short-circuits, so calling this twice is safe.
34836
35208
  * @summary Ready & Send a POS order to the kitchen
34837
35209
  * @param {DispatchPosOrderDto} dispatchPosOrderDto
34838
35210
  * @param {*} [options] Override http request option.
@@ -34985,7 +35357,7 @@ export interface OrdersApiInterface {
34985
35357
  */
34986
35358
  deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig): AxiosPromise<OrderStatusResponseDto>;
34987
35359
  /**
34988
- * Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
35360
+ * Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, and a dispatch already running for the same order short-circuits, so calling this twice is safe.
34989
35361
  * @summary Ready & Send a POS order to the kitchen
34990
35362
  * @param {DispatchPosOrderDto} dispatchPosOrderDto
34991
35363
  * @param {*} [options] Override http request option.
@@ -35152,7 +35524,7 @@ export declare class OrdersApi extends BaseAPI implements OrdersApiInterface {
35152
35524
  */
35153
35525
  deliverOrder(deliveredOrderDto: DeliveredOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OrderStatusResponseDto, any, {}>>;
35154
35526
  /**
35155
- * Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, so calling this twice is safe.
35527
+ * Resolves the dispatch policy for every line, tickets the lines that have not been fired yet, and emits print, KDS and Order Manager work from a single plan. The order is completed only when it is fully paid, so a part-paid order stays parked and remains collectable. Already-fired lines are never re-ticketed, and a dispatch already running for the same order short-circuits, so calling this twice is safe.
35156
35528
  * @summary Ready & Send a POS order to the kitchen
35157
35529
  * @param {DispatchPosOrderDto} dispatchPosOrderDto
35158
35530
  * @param {*} [options] Override http request option.
@@ -36697,6 +37069,14 @@ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Config
36697
37069
  * @throws {RequiredError}
36698
37070
  */
36699
37071
  refundWorldlineSession: (reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37072
+ /**
37073
+ * Called by a Cloud Task (not the client). Re-checks a charge whose reversal the terminal refused: stops if the charge was resolved another way, stops if an earlier attempt completed at the gateway, otherwise asks once more. After twelve hours, or on a refusal that can never clear, the charge is written to the till for a waiter to refund.
37074
+ * @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
37075
+ * @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
37076
+ * @param {*} [options] Override http request option.
37077
+ * @throws {RequiredError}
37078
+ */
37079
+ retryWorldlineReversal: (retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36700
37080
  /**
36701
37081
  * Starts a terminal-present ReturnOfGoods for the full remaining amount AND writes a reversal paymentEvent to the order once the refund settles (via reconciliation). Returns a PENDING refund session — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED.
36702
37082
  * @summary Revert (fully reverse) a settled Nets payment session (async)
@@ -36871,6 +37251,14 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
36871
37251
  * @throws {RequiredError}
36872
37252
  */
36873
37253
  refundWorldlineSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
37254
+ /**
37255
+ * Called by a Cloud Task (not the client). Re-checks a charge whose reversal the terminal refused: stops if the charge was resolved another way, stops if an earlier attempt completed at the gateway, otherwise asks once more. After twelve hours, or on a refusal that can never clear, the charge is written to the till for a waiter to refund.
37256
+ * @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
37257
+ * @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
37258
+ * @param {*} [options] Override http request option.
37259
+ * @throws {RequiredError}
37260
+ */
37261
+ retryWorldlineReversal(retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
36874
37262
  /**
36875
37263
  * Starts a terminal-present ReturnOfGoods for the full remaining amount AND writes a reversal paymentEvent to the order once the refund settles (via reconciliation). Returns a PENDING refund session — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED.
36876
37264
  * @summary Revert (fully reverse) a settled Nets payment session (async)
@@ -37045,6 +37433,14 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
37045
37433
  * @throws {RequiredError}
37046
37434
  */
37047
37435
  refundWorldlineSession(reverseSessionDto: ReverseSessionDto, options?: any): AxiosPromise<PaymentSessionViewDto>;
37436
+ /**
37437
+ * Called by a Cloud Task (not the client). Re-checks a charge whose reversal the terminal refused: stops if the charge was resolved another way, stops if an earlier attempt completed at the gateway, otherwise asks once more. After twelve hours, or on a refusal that can never clear, the charge is written to the till for a waiter to refund.
37438
+ * @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
37439
+ * @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
37440
+ * @param {*} [options] Override http request option.
37441
+ * @throws {RequiredError}
37442
+ */
37443
+ retryWorldlineReversal(retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: any): AxiosPromise<void>;
37048
37444
  /**
37049
37445
  * Starts a terminal-present ReturnOfGoods for the full remaining amount AND writes a reversal paymentEvent to the order once the refund settles (via reconciliation). Returns a PENDING refund session — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED.
37050
37446
  * @summary Revert (fully reverse) a settled Nets payment session (async)
@@ -37236,6 +37632,15 @@ export interface PaymentSessionApiInterface {
37236
37632
  * @memberof PaymentSessionApiInterface
37237
37633
  */
37238
37634
  refundWorldlineSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
37635
+ /**
37636
+ * Called by a Cloud Task (not the client). Re-checks a charge whose reversal the terminal refused: stops if the charge was resolved another way, stops if an earlier attempt completed at the gateway, otherwise asks once more. After twelve hours, or on a refusal that can never clear, the charge is written to the till for a waiter to refund.
37637
+ * @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
37638
+ * @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
37639
+ * @param {*} [options] Override http request option.
37640
+ * @throws {RequiredError}
37641
+ * @memberof PaymentSessionApiInterface
37642
+ */
37643
+ retryWorldlineReversal(retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: AxiosRequestConfig): AxiosPromise<void>;
37239
37644
  /**
37240
37645
  * Starts a terminal-present ReturnOfGoods for the full remaining amount AND writes a reversal paymentEvent to the order once the refund settles (via reconciliation). Returns a PENDING refund session — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED.
37241
37646
  * @summary Revert (fully reverse) a settled Nets payment session (async)
@@ -37432,6 +37837,15 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
37432
37837
  * @memberof PaymentSessionApi
37433
37838
  */
37434
37839
  refundWorldlineSession(reverseSessionDto: ReverseSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
37840
+ /**
37841
+ * Called by a Cloud Task (not the client). Re-checks a charge whose reversal the terminal refused: stops if the charge was resolved another way, stops if an earlier attempt completed at the gateway, otherwise asks once more. After twelve hours, or on a refusal that can never clear, the charge is written to the till for a waiter to refund.
37842
+ * @summary Internal: ask a busy terminal for a refused reversal again (Cloud Task callback)
37843
+ * @param {RetryWorldlineReversalDto} retryWorldlineReversalDto
37844
+ * @param {*} [options] Override http request option.
37845
+ * @throws {RequiredError}
37846
+ * @memberof PaymentSessionApi
37847
+ */
37848
+ retryWorldlineReversal(retryWorldlineReversalDto: RetryWorldlineReversalDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
37435
37849
  /**
37436
37850
  * Starts a terminal-present ReturnOfGoods for the full remaining amount AND writes a reversal paymentEvent to the order once the refund settles (via reconciliation). Returns a PENDING refund session — the customer must tap their card; poll GET /:clientToken until REFUNDED/FAILED/CANCELLED.
37437
37851
  * @summary Revert (fully reverse) a settled Nets payment session (async)
@@ -41204,7 +41618,8 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
41204
41618
  */
41205
41619
  handleVivaSessionEvents: (vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41206
41620
  /**
41207
- *
41621
+ * Requires the shared secret from SHIPDAY_WEBHOOK_SECRET, sent as the `token` query parameter, the `x-shipday-token` header, or `token` in the body.
41622
+ * @summary Handle Shipday delivery webhook events
41208
41623
  * @param {*} [options] Override http request option.
41209
41624
  * @throws {RequiredError}
41210
41625
  */
@@ -41235,6 +41650,15 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
41235
41650
  * @throws {RequiredError}
41236
41651
  */
41237
41652
  handleWorldlineSessionEvents: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
41653
+ /**
41654
+ * Runs the same dispatch the Ready button runs. Safe to deliver more than once: the order is re-read, already-ticketed lines are subtracted, and a dispatch already in flight for the order short-circuits.
41655
+ * @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
41656
+ * @param {string} xCloudtasksTaskretrycount
41657
+ * @param {ProcessDispatchTaskDto} processDispatchTaskDto
41658
+ * @param {*} [options] Override http request option.
41659
+ * @throws {RequiredError}
41660
+ */
41661
+ processDispatchTask: (xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41238
41662
  /**
41239
41663
  *
41240
41664
  * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
@@ -41350,7 +41774,8 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
41350
41774
  */
41351
41775
  handleVivaSessionEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
41352
41776
  /**
41353
- *
41777
+ * Requires the shared secret from SHIPDAY_WEBHOOK_SECRET, sent as the `token` query parameter, the `x-shipday-token` header, or `token` in the body.
41778
+ * @summary Handle Shipday delivery webhook events
41354
41779
  * @param {*} [options] Override http request option.
41355
41780
  * @throws {RequiredError}
41356
41781
  */
@@ -41381,6 +41806,15 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
41381
41806
  * @throws {RequiredError}
41382
41807
  */
41383
41808
  handleWorldlineSessionEvents(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
41809
+ /**
41810
+ * Runs the same dispatch the Ready button runs. Safe to deliver more than once: the order is re-read, already-ticketed lines are subtracted, and a dispatch already in flight for the order short-circuits.
41811
+ * @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
41812
+ * @param {string} xCloudtasksTaskretrycount
41813
+ * @param {ProcessDispatchTaskDto} processDispatchTaskDto
41814
+ * @param {*} [options] Override http request option.
41815
+ * @throws {RequiredError}
41816
+ */
41817
+ processDispatchTask(xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
41384
41818
  /**
41385
41819
  *
41386
41820
  * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
@@ -41496,7 +41930,8 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
41496
41930
  */
41497
41931
  handleVivaSessionEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: any): AxiosPromise<void>;
41498
41932
  /**
41499
- *
41933
+ * Requires the shared secret from SHIPDAY_WEBHOOK_SECRET, sent as the `token` query parameter, the `x-shipday-token` header, or `token` in the body.
41934
+ * @summary Handle Shipday delivery webhook events
41500
41935
  * @param {*} [options] Override http request option.
41501
41936
  * @throws {RequiredError}
41502
41937
  */
@@ -41527,6 +41962,15 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
41527
41962
  * @throws {RequiredError}
41528
41963
  */
41529
41964
  handleWorldlineSessionEvents(options?: any): AxiosPromise<void>;
41965
+ /**
41966
+ * Runs the same dispatch the Ready button runs. Safe to deliver more than once: the order is re-read, already-ticketed lines are subtracted, and a dispatch already in flight for the order short-circuits.
41967
+ * @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
41968
+ * @param {string} xCloudtasksTaskretrycount
41969
+ * @param {ProcessDispatchTaskDto} processDispatchTaskDto
41970
+ * @param {*} [options] Override http request option.
41971
+ * @throws {RequiredError}
41972
+ */
41973
+ processDispatchTask(xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: any): AxiosPromise<void>;
41530
41974
  /**
41531
41975
  *
41532
41976
  * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
@@ -41655,7 +42099,8 @@ export interface WebhookApiInterface {
41655
42099
  */
41656
42100
  handleVivaSessionEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig): AxiosPromise<void>;
41657
42101
  /**
41658
- *
42102
+ * Requires the shared secret from SHIPDAY_WEBHOOK_SECRET, sent as the `token` query parameter, the `x-shipday-token` header, or `token` in the body.
42103
+ * @summary Handle Shipday delivery webhook events
41659
42104
  * @param {*} [options] Override http request option.
41660
42105
  * @throws {RequiredError}
41661
42106
  * @memberof WebhookApiInterface
@@ -41691,6 +42136,16 @@ export interface WebhookApiInterface {
41691
42136
  * @memberof WebhookApiInterface
41692
42137
  */
41693
42138
  handleWorldlineSessionEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
42139
+ /**
42140
+ * Runs the same dispatch the Ready button runs. Safe to deliver more than once: the order is re-read, already-ticketed lines are subtracted, and a dispatch already in flight for the order short-circuits.
42141
+ * @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
42142
+ * @param {string} xCloudtasksTaskretrycount
42143
+ * @param {ProcessDispatchTaskDto} processDispatchTaskDto
42144
+ * @param {*} [options] Override http request option.
42145
+ * @throws {RequiredError}
42146
+ * @memberof WebhookApiInterface
42147
+ */
42148
+ processDispatchTask(xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: AxiosRequestConfig): AxiosPromise<void>;
41694
42149
  /**
41695
42150
  *
41696
42151
  * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)
@@ -41824,7 +42279,8 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
41824
42279
  */
41825
42280
  handleVivaSessionEvents(vivaWebhookPayloadDto: VivaWebhookPayloadDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
41826
42281
  /**
41827
- *
42282
+ * Requires the shared secret from SHIPDAY_WEBHOOK_SECRET, sent as the `token` query parameter, the `x-shipday-token` header, or `token` in the body.
42283
+ * @summary Handle Shipday delivery webhook events
41828
42284
  * @param {*} [options] Override http request option.
41829
42285
  * @throws {RequiredError}
41830
42286
  * @memberof WebhookApi
@@ -41860,6 +42316,16 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
41860
42316
  * @memberof WebhookApi
41861
42317
  */
41862
42318
  handleWorldlineSessionEvents(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
42319
+ /**
42320
+ * Runs the same dispatch the Ready button runs. Safe to deliver more than once: the order is re-read, already-ticketed lines are subtracted, and a dispatch already in flight for the order short-circuits.
42321
+ * @summary Dispatch a paid POS order to the kitchen (triggered by Cloud Tasks)
42322
+ * @param {string} xCloudtasksTaskretrycount
42323
+ * @param {ProcessDispatchTaskDto} processDispatchTaskDto
42324
+ * @param {*} [options] Override http request option.
42325
+ * @throws {RequiredError}
42326
+ * @memberof WebhookApi
42327
+ */
42328
+ processDispatchTask(xCloudtasksTaskretrycount: string, processDispatchTaskDto: ProcessDispatchTaskDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
41863
42329
  /**
41864
42330
  *
41865
42331
  * @summary Process a queued POS order-actions job (triggered by Cloud Tasks)