@munchi_oy/core 1.9.119 → 1.9.125

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.
@@ -13420,6 +13420,7 @@ export declare const PaymentEventType: {
13420
13420
  readonly StatusChanged: "payment:status-changed";
13421
13421
  readonly RefundStatusChanged: "payment:refund-status-changed";
13422
13422
  readonly Outcome: "payment:outcome";
13423
+ readonly OrderSettled: "payment:order-settled";
13423
13424
  };
13424
13425
  export type PaymentEventType = typeof PaymentEventType[keyof typeof PaymentEventType];
13425
13426
  /**
@@ -13440,6 +13441,11 @@ export declare const PaymentFailureCode: {
13440
13441
  readonly TerminalOffline: "terminal.offline";
13441
13442
  readonly TerminalTimeout: "terminal.timeout";
13442
13443
  readonly TerminalBusy: "terminal.busy";
13444
+ readonly TerminalDuplicate: "terminal.duplicate";
13445
+ readonly TerminalPrinter: "terminal.printer";
13446
+ readonly TerminalLowBattery: "terminal.low_battery";
13447
+ readonly TerminalNeedsReconciliation: "terminal.needs_reconciliation";
13448
+ readonly TerminalCheckScreen: "terminal.check_screen";
13443
13449
  readonly SystemProviderError: "system.provider_error";
13444
13450
  readonly SystemUnknown: "system.unknown";
13445
13451
  };
@@ -40097,10 +40103,11 @@ export declare const ReservationsApiAxiosParamCreator: (configuration?: Configur
40097
40103
  * @param {string} date
40098
40104
  * @param {number} partySize
40099
40105
  * @param {string} [sectionId]
40106
+ * @param {string} [excludeReservationId]
40100
40107
  * @param {*} [options] Override http request option.
40101
40108
  * @throws {RequiredError}
40102
40109
  */
40103
- getReservationAvailability: (businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
40110
+ getReservationAvailability: (businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
40104
40111
  /**
40105
40112
  *
40106
40113
  * @summary Get the reservation policy
@@ -40192,10 +40199,11 @@ export declare const ReservationsApiFp: (configuration?: Configuration) => {
40192
40199
  * @param {string} date
40193
40200
  * @param {number} partySize
40194
40201
  * @param {string} [sectionId]
40202
+ * @param {string} [excludeReservationId]
40195
40203
  * @param {*} [options] Override http request option.
40196
40204
  * @throws {RequiredError}
40197
40205
  */
40198
- getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReservationAvailabilityResponseDto>>;
40206
+ getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReservationAvailabilityResponseDto>>;
40199
40207
  /**
40200
40208
  *
40201
40209
  * @summary Get the reservation policy
@@ -40287,10 +40295,11 @@ export declare const ReservationsApiFactory: (configuration?: Configuration, bas
40287
40295
  * @param {string} date
40288
40296
  * @param {number} partySize
40289
40297
  * @param {string} [sectionId]
40298
+ * @param {string} [excludeReservationId]
40290
40299
  * @param {*} [options] Override http request option.
40291
40300
  * @throws {RequiredError}
40292
40301
  */
40293
- getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: any): AxiosPromise<ReservationAvailabilityResponseDto>;
40302
+ getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: any): AxiosPromise<ReservationAvailabilityResponseDto>;
40294
40303
  /**
40295
40304
  *
40296
40305
  * @summary Get the reservation policy
@@ -40384,11 +40393,12 @@ export interface ReservationsApiInterface {
40384
40393
  * @param {string} date
40385
40394
  * @param {number} partySize
40386
40395
  * @param {string} [sectionId]
40396
+ * @param {string} [excludeReservationId]
40387
40397
  * @param {*} [options] Override http request option.
40388
40398
  * @throws {RequiredError}
40389
40399
  * @memberof ReservationsApiInterface
40390
40400
  */
40391
- getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): AxiosPromise<ReservationAvailabilityResponseDto>;
40401
+ getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: AxiosRequestConfig): AxiosPromise<ReservationAvailabilityResponseDto>;
40392
40402
  /**
40393
40403
  *
40394
40404
  * @summary Get the reservation policy
@@ -40491,11 +40501,12 @@ export declare class ReservationsApi extends BaseAPI implements ReservationsApiI
40491
40501
  * @param {string} date
40492
40502
  * @param {number} partySize
40493
40503
  * @param {string} [sectionId]
40504
+ * @param {string} [excludeReservationId]
40494
40505
  * @param {*} [options] Override http request option.
40495
40506
  * @throws {RequiredError}
40496
40507
  * @memberof ReservationsApi
40497
40508
  */
40498
- getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationAvailabilityResponseDto, any, {}>>;
40509
+ getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationAvailabilityResponseDto, any, {}>>;
40499
40510
  /**
40500
40511
  *
40501
40512
  * @summary Get the reservation policy
@@ -41606,6 +41617,14 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
41606
41617
  * @throws {RequiredError}
41607
41618
  */
41608
41619
  handleNetsSessionEvents: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
41620
+ /**
41621
+ * Same handler as /nets/payments, with the session\'s clientToken carried in the address Nets was given at initiate. Resolves the session even when the webhook beats the provider requestId link, which is the only recovery available to a Nets failure payload. The parameterless route stays for sessions initiated before this address existed.
41622
+ * @summary Handle Nets webhook events for a known payment session
41623
+ * @param {string} clientToken
41624
+ * @param {*} [options] Override http request option.
41625
+ * @throws {RequiredError}
41626
+ */
41627
+ handleNetsSessionEventsForClientToken: (clientToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41609
41628
  /**
41610
41629
  *
41611
41630
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -41762,6 +41781,14 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
41762
41781
  * @throws {RequiredError}
41763
41782
  */
41764
41783
  handleNetsSessionEvents(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
41784
+ /**
41785
+ * Same handler as /nets/payments, with the session\'s clientToken carried in the address Nets was given at initiate. Resolves the session even when the webhook beats the provider requestId link, which is the only recovery available to a Nets failure payload. The parameterless route stays for sessions initiated before this address existed.
41786
+ * @summary Handle Nets webhook events for a known payment session
41787
+ * @param {string} clientToken
41788
+ * @param {*} [options] Override http request option.
41789
+ * @throws {RequiredError}
41790
+ */
41791
+ handleNetsSessionEventsForClientToken(clientToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
41765
41792
  /**
41766
41793
  *
41767
41794
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -41918,6 +41945,14 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
41918
41945
  * @throws {RequiredError}
41919
41946
  */
41920
41947
  handleNetsSessionEvents(options?: any): AxiosPromise<void>;
41948
+ /**
41949
+ * Same handler as /nets/payments, with the session\'s clientToken carried in the address Nets was given at initiate. Resolves the session even when the webhook beats the provider requestId link, which is the only recovery available to a Nets failure payload. The parameterless route stays for sessions initiated before this address existed.
41950
+ * @summary Handle Nets webhook events for a known payment session
41951
+ * @param {string} clientToken
41952
+ * @param {*} [options] Override http request option.
41953
+ * @throws {RequiredError}
41954
+ */
41955
+ handleNetsSessionEventsForClientToken(clientToken: string, options?: any): AxiosPromise<void>;
41921
41956
  /**
41922
41957
  *
41923
41958
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -42082,6 +42117,15 @@ export interface WebhookApiInterface {
42082
42117
  * @memberof WebhookApiInterface
42083
42118
  */
42084
42119
  handleNetsSessionEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
42120
+ /**
42121
+ * Same handler as /nets/payments, with the session\'s clientToken carried in the address Nets was given at initiate. Resolves the session even when the webhook beats the provider requestId link, which is the only recovery available to a Nets failure payload. The parameterless route stays for sessions initiated before this address existed.
42122
+ * @summary Handle Nets webhook events for a known payment session
42123
+ * @param {string} clientToken
42124
+ * @param {*} [options] Override http request option.
42125
+ * @throws {RequiredError}
42126
+ * @memberof WebhookApiInterface
42127
+ */
42128
+ handleNetsSessionEventsForClientToken(clientToken: string, options?: AxiosRequestConfig): AxiosPromise<void>;
42085
42129
  /**
42086
42130
  *
42087
42131
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -42262,6 +42306,15 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
42262
42306
  * @memberof WebhookApi
42263
42307
  */
42264
42308
  handleNetsSessionEvents(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
42309
+ /**
42310
+ * Same handler as /nets/payments, with the session\'s clientToken carried in the address Nets was given at initiate. Resolves the session even when the webhook beats the provider requestId link, which is the only recovery available to a Nets failure payload. The parameterless route stays for sessions initiated before this address existed.
42311
+ * @summary Handle Nets webhook events for a known payment session
42312
+ * @param {string} clientToken
42313
+ * @param {*} [options] Override http request option.
42314
+ * @throws {RequiredError}
42315
+ * @memberof WebhookApi
42316
+ */
42317
+ handleNetsSessionEventsForClientToken(clientToken: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
42265
42318
  /**
42266
42319
  *
42267
42320
  * @summary Handle preorder reminder (triggered by scheduler)