@munchi_oy/core 1.9.121 → 1.9.126

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.
@@ -727,6 +727,12 @@ export interface BusinessConfigResponseDtoBusiness {
727
727
  * @memberof BusinessConfigResponseDtoBusiness
728
728
  */
729
729
  'merchantId'?: string;
730
+ /**
731
+ * Weekly operating schedule (7 elements for 7 days)
732
+ * @type {Array<ScheduleDto>}
733
+ * @memberof BusinessConfigResponseDtoBusiness
734
+ */
735
+ 'schedule'?: Array<ScheduleDto>;
730
736
  }
731
737
  /**
732
738
  *
@@ -898,6 +904,12 @@ export interface BusinessDto {
898
904
  * @memberof BusinessDto
899
905
  */
900
906
  'merchantId'?: string;
907
+ /**
908
+ * Weekly operating schedule (7 elements for 7 days)
909
+ * @type {Array<ScheduleDto>}
910
+ * @memberof BusinessDto
911
+ */
912
+ 'schedule'?: Array<ScheduleDto>;
901
913
  }
902
914
  /**
903
915
  *
@@ -6111,6 +6123,12 @@ export interface ExternalBusinessConfigResponseDto {
6111
6123
  * @memberof ExternalBusinessConfigResponseDto
6112
6124
  */
6113
6125
  'merchantId'?: string;
6126
+ /**
6127
+ * Weekly operating schedule (7 elements for 7 days)
6128
+ * @type {Array<ScheduleDto>}
6129
+ * @memberof ExternalBusinessConfigResponseDto
6130
+ */
6131
+ 'schedule'?: Array<ScheduleDto>;
6114
6132
  /**
6115
6133
  *
6116
6134
  * @type {ExternalBusinessConfigDto}
@@ -11621,6 +11639,12 @@ export interface OrderResponseDtoBusiness {
11621
11639
  * @memberof OrderResponseDtoBusiness
11622
11640
  */
11623
11641
  'merchantId'?: string;
11642
+ /**
11643
+ * Weekly operating schedule (7 elements for 7 days)
11644
+ * @type {Array<ScheduleDto>}
11645
+ * @memberof OrderResponseDtoBusiness
11646
+ */
11647
+ 'schedule'?: Array<ScheduleDto>;
11624
11648
  }
11625
11649
  /**
11626
11650
  * Customer details
@@ -13420,6 +13444,7 @@ export declare const PaymentEventType: {
13420
13444
  readonly StatusChanged: "payment:status-changed";
13421
13445
  readonly RefundStatusChanged: "payment:refund-status-changed";
13422
13446
  readonly Outcome: "payment:outcome";
13447
+ readonly OrderSettled: "payment:order-settled";
13423
13448
  };
13424
13449
  export type PaymentEventType = typeof PaymentEventType[keyof typeof PaymentEventType];
13425
13450
  /**
@@ -13440,6 +13465,11 @@ export declare const PaymentFailureCode: {
13440
13465
  readonly TerminalOffline: "terminal.offline";
13441
13466
  readonly TerminalTimeout: "terminal.timeout";
13442
13467
  readonly TerminalBusy: "terminal.busy";
13468
+ readonly TerminalDuplicate: "terminal.duplicate";
13469
+ readonly TerminalPrinter: "terminal.printer";
13470
+ readonly TerminalLowBattery: "terminal.low_battery";
13471
+ readonly TerminalNeedsReconciliation: "terminal.needs_reconciliation";
13472
+ readonly TerminalCheckScreen: "terminal.check_screen";
13443
13473
  readonly SystemProviderError: "system.provider_error";
13444
13474
  readonly SystemUnknown: "system.unknown";
13445
13475
  };
@@ -40097,10 +40127,11 @@ export declare const ReservationsApiAxiosParamCreator: (configuration?: Configur
40097
40127
  * @param {string} date
40098
40128
  * @param {number} partySize
40099
40129
  * @param {string} [sectionId]
40130
+ * @param {string} [excludeReservationId]
40100
40131
  * @param {*} [options] Override http request option.
40101
40132
  * @throws {RequiredError}
40102
40133
  */
40103
- getReservationAvailability: (businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
40134
+ getReservationAvailability: (businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
40104
40135
  /**
40105
40136
  *
40106
40137
  * @summary Get the reservation policy
@@ -40192,10 +40223,11 @@ export declare const ReservationsApiFp: (configuration?: Configuration) => {
40192
40223
  * @param {string} date
40193
40224
  * @param {number} partySize
40194
40225
  * @param {string} [sectionId]
40226
+ * @param {string} [excludeReservationId]
40195
40227
  * @param {*} [options] Override http request option.
40196
40228
  * @throws {RequiredError}
40197
40229
  */
40198
- getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReservationAvailabilityResponseDto>>;
40230
+ getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReservationAvailabilityResponseDto>>;
40199
40231
  /**
40200
40232
  *
40201
40233
  * @summary Get the reservation policy
@@ -40287,10 +40319,11 @@ export declare const ReservationsApiFactory: (configuration?: Configuration, bas
40287
40319
  * @param {string} date
40288
40320
  * @param {number} partySize
40289
40321
  * @param {string} [sectionId]
40322
+ * @param {string} [excludeReservationId]
40290
40323
  * @param {*} [options] Override http request option.
40291
40324
  * @throws {RequiredError}
40292
40325
  */
40293
- getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: any): AxiosPromise<ReservationAvailabilityResponseDto>;
40326
+ getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: any): AxiosPromise<ReservationAvailabilityResponseDto>;
40294
40327
  /**
40295
40328
  *
40296
40329
  * @summary Get the reservation policy
@@ -40384,11 +40417,12 @@ export interface ReservationsApiInterface {
40384
40417
  * @param {string} date
40385
40418
  * @param {number} partySize
40386
40419
  * @param {string} [sectionId]
40420
+ * @param {string} [excludeReservationId]
40387
40421
  * @param {*} [options] Override http request option.
40388
40422
  * @throws {RequiredError}
40389
40423
  * @memberof ReservationsApiInterface
40390
40424
  */
40391
- getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): AxiosPromise<ReservationAvailabilityResponseDto>;
40425
+ getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: AxiosRequestConfig): AxiosPromise<ReservationAvailabilityResponseDto>;
40392
40426
  /**
40393
40427
  *
40394
40428
  * @summary Get the reservation policy
@@ -40491,11 +40525,12 @@ export declare class ReservationsApi extends BaseAPI implements ReservationsApiI
40491
40525
  * @param {string} date
40492
40526
  * @param {number} partySize
40493
40527
  * @param {string} [sectionId]
40528
+ * @param {string} [excludeReservationId]
40494
40529
  * @param {*} [options] Override http request option.
40495
40530
  * @throws {RequiredError}
40496
40531
  * @memberof ReservationsApi
40497
40532
  */
40498
- getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationAvailabilityResponseDto, any, {}>>;
40533
+ getReservationAvailability(businessId: number, date: string, partySize: number, sectionId?: string, excludeReservationId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReservationAvailabilityResponseDto, any, {}>>;
40499
40534
  /**
40500
40535
  *
40501
40536
  * @summary Get the reservation policy
@@ -41606,6 +41641,14 @@ export declare const WebhookApiAxiosParamCreator: (configuration?: Configuration
41606
41641
  * @throws {RequiredError}
41607
41642
  */
41608
41643
  handleNetsSessionEvents: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
41644
+ /**
41645
+ * 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.
41646
+ * @summary Handle Nets webhook events for a known payment session
41647
+ * @param {string} clientToken
41648
+ * @param {*} [options] Override http request option.
41649
+ * @throws {RequiredError}
41650
+ */
41651
+ handleNetsSessionEventsForClientToken: (clientToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
41609
41652
  /**
41610
41653
  *
41611
41654
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -41762,6 +41805,14 @@ export declare const WebhookApiFp: (configuration?: Configuration) => {
41762
41805
  * @throws {RequiredError}
41763
41806
  */
41764
41807
  handleNetsSessionEvents(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
41808
+ /**
41809
+ * 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.
41810
+ * @summary Handle Nets webhook events for a known payment session
41811
+ * @param {string} clientToken
41812
+ * @param {*} [options] Override http request option.
41813
+ * @throws {RequiredError}
41814
+ */
41815
+ handleNetsSessionEventsForClientToken(clientToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
41765
41816
  /**
41766
41817
  *
41767
41818
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -41918,6 +41969,14 @@ export declare const WebhookApiFactory: (configuration?: Configuration, basePath
41918
41969
  * @throws {RequiredError}
41919
41970
  */
41920
41971
  handleNetsSessionEvents(options?: any): AxiosPromise<void>;
41972
+ /**
41973
+ * 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.
41974
+ * @summary Handle Nets webhook events for a known payment session
41975
+ * @param {string} clientToken
41976
+ * @param {*} [options] Override http request option.
41977
+ * @throws {RequiredError}
41978
+ */
41979
+ handleNetsSessionEventsForClientToken(clientToken: string, options?: any): AxiosPromise<void>;
41921
41980
  /**
41922
41981
  *
41923
41982
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -42082,6 +42141,15 @@ export interface WebhookApiInterface {
42082
42141
  * @memberof WebhookApiInterface
42083
42142
  */
42084
42143
  handleNetsSessionEvents(options?: AxiosRequestConfig): AxiosPromise<void>;
42144
+ /**
42145
+ * 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.
42146
+ * @summary Handle Nets webhook events for a known payment session
42147
+ * @param {string} clientToken
42148
+ * @param {*} [options] Override http request option.
42149
+ * @throws {RequiredError}
42150
+ * @memberof WebhookApiInterface
42151
+ */
42152
+ handleNetsSessionEventsForClientToken(clientToken: string, options?: AxiosRequestConfig): AxiosPromise<void>;
42085
42153
  /**
42086
42154
  *
42087
42155
  * @summary Handle preorder reminder (triggered by scheduler)
@@ -42262,6 +42330,15 @@ export declare class WebhookApi extends BaseAPI implements WebhookApiInterface {
42262
42330
  * @memberof WebhookApi
42263
42331
  */
42264
42332
  handleNetsSessionEvents(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
42333
+ /**
42334
+ * 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.
42335
+ * @summary Handle Nets webhook events for a known payment session
42336
+ * @param {string} clientToken
42337
+ * @param {*} [options] Override http request option.
42338
+ * @throws {RequiredError}
42339
+ * @memberof WebhookApi
42340
+ */
42341
+ handleNetsSessionEventsForClientToken(clientToken: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
42265
42342
  /**
42266
42343
  *
42267
42344
  * @summary Handle preorder reminder (triggered by scheduler)