@munchi_oy/core 1.9.95 → 1.9.97

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.
@@ -2677,6 +2677,42 @@ export interface ChargeDtoPaymentMethodDetails {
2677
2677
  */
2678
2678
  'affirmDetails'?: PaymentMethodDetailsDtoAffirmDetails;
2679
2679
  }
2680
+ /**
2681
+ *
2682
+ * @export
2683
+ * @enum {string}
2684
+ */
2685
+ export declare const ChargeStatusEnum: {
2686
+ readonly Pending: "pending";
2687
+ readonly Success: "success";
2688
+ readonly Failure: "failure";
2689
+ };
2690
+ export type ChargeStatusEnum = typeof ChargeStatusEnum[keyof typeof ChargeStatusEnum];
2691
+ /**
2692
+ *
2693
+ * @export
2694
+ * @interface ChargeStatusResponseDto
2695
+ */
2696
+ export interface ChargeStatusResponseDto {
2697
+ /**
2698
+ *
2699
+ * @type {ChargeStatusEnum}
2700
+ * @memberof ChargeStatusResponseDto
2701
+ */
2702
+ 'status': ChargeStatusEnum;
2703
+ /**
2704
+ *
2705
+ * @type {string}
2706
+ * @memberof ChargeStatusResponseDto
2707
+ */
2708
+ 'transactionId'?: string | null;
2709
+ /**
2710
+ *
2711
+ * @type {string}
2712
+ * @memberof ChargeStatusResponseDto
2713
+ */
2714
+ 'errorCode'?: string | null;
2715
+ }
2680
2716
  /**
2681
2717
  *
2682
2718
  * @export
@@ -3737,12 +3773,6 @@ export interface CreateManualSessionDtoOrder {
3737
3773
  * @memberof CreateManualSessionDtoOrder
3738
3774
  */
3739
3775
  'tableGroupId'?: string | null;
3740
- /**
3741
- * ID of the reservation this order was seated from, if any
3742
- * @type {string}
3743
- * @memberof CreateManualSessionDtoOrder
3744
- */
3745
- 'reservationId'?: string | null;
3746
3776
  }
3747
3777
  /**
3748
3778
  * Split context. Omit for a full-cart payment, or send { mode, partId|seatId } for a split. Must match the order\'s checkoutModel.
@@ -12429,6 +12459,196 @@ export interface PairDisplayResponseDto {
12429
12459
  */
12430
12460
  'displayId': string;
12431
12461
  }
12462
+ /**
12463
+ *
12464
+ * @export
12465
+ * @interface PairPayTerminalBodyDto
12466
+ */
12467
+ export interface PairPayTerminalBodyDto {
12468
+ /**
12469
+ * Stable POS device identifier.
12470
+ * @type {string}
12471
+ * @memberof PairPayTerminalBodyDto
12472
+ */
12473
+ 'posDeviceId': string;
12474
+ /**
12475
+ * Pairing code entered on the POS.
12476
+ * @type {string}
12477
+ * @memberof PairPayTerminalBodyDto
12478
+ */
12479
+ 'code'?: string;
12480
+ /**
12481
+ * Terminal id (nonce path, with nonce).
12482
+ * @type {string}
12483
+ * @memberof PairPayTerminalBodyDto
12484
+ */
12485
+ 'terminalId'?: string;
12486
+ /**
12487
+ * One-time nonce (nonce path).
12488
+ * @type {string}
12489
+ * @memberof PairPayTerminalBodyDto
12490
+ */
12491
+ 'nonce'?: string;
12492
+ /**
12493
+ * Business to pair to; must be in the caller\'s scope.
12494
+ * @type {number}
12495
+ * @memberof PairPayTerminalBodyDto
12496
+ */
12497
+ 'businessId'?: number;
12498
+ }
12499
+ /**
12500
+ *
12501
+ * @export
12502
+ * @interface PairPayTerminalResponseDto
12503
+ */
12504
+ export interface PairPayTerminalResponseDto {
12505
+ /**
12506
+ *
12507
+ * @type {string}
12508
+ * @memberof PairPayTerminalResponseDto
12509
+ */
12510
+ 'sessionId': string;
12511
+ /**
12512
+ *
12513
+ * @type {string}
12514
+ * @memberof PairPayTerminalResponseDto
12515
+ */
12516
+ 'sessionChannel': string;
12517
+ /**
12518
+ *
12519
+ * @type {string}
12520
+ * @memberof PairPayTerminalResponseDto
12521
+ */
12522
+ 'terminalId': string;
12523
+ /**
12524
+ *
12525
+ * @type {string}
12526
+ * @memberof PairPayTerminalResponseDto
12527
+ */
12528
+ 'terminalName'?: string | null;
12529
+ }
12530
+ /**
12531
+ *
12532
+ * @export
12533
+ * @interface PayTerminalInitBodyDto
12534
+ */
12535
+ export interface PayTerminalInitBodyDto {
12536
+ /**
12537
+ * Stable hardware identifier of the pay-terminal device.
12538
+ * @type {string}
12539
+ * @memberof PayTerminalInitBodyDto
12540
+ */
12541
+ 'deviceHardwareId': string;
12542
+ /**
12543
+ * Optional human-readable label for the pay-terminal device.
12544
+ * @type {string}
12545
+ * @memberof PayTerminalInitBodyDto
12546
+ */
12547
+ 'terminalName'?: string | null;
12548
+ }
12549
+ /**
12550
+ *
12551
+ * @export
12552
+ * @interface PayTerminalInitResponseDto
12553
+ */
12554
+ export interface PayTerminalInitResponseDto {
12555
+ /**
12556
+ * Server-issued pay-terminal identity.
12557
+ * @type {string}
12558
+ * @memberof PayTerminalInitResponseDto
12559
+ */
12560
+ 'terminalId': string;
12561
+ /**
12562
+ * Short pairing code shown on the terminal.
12563
+ * @type {string}
12564
+ * @memberof PayTerminalInitResponseDto
12565
+ */
12566
+ 'code': string;
12567
+ /**
12568
+ * One-time nonce carried in the pairing QR.
12569
+ * @type {string}
12570
+ * @memberof PayTerminalInitResponseDto
12571
+ */
12572
+ 'nonce': string;
12573
+ /**
12574
+ * Ably channel the terminal subscribes to for the ack.
12575
+ * @type {string}
12576
+ * @memberof PayTerminalInitResponseDto
12577
+ */
12578
+ 'pairingChannel': string;
12579
+ /**
12580
+ * Epoch ms when the code/nonce expires.
12581
+ * @type {number}
12582
+ * @memberof PayTerminalInitResponseDto
12583
+ */
12584
+ 'expiresAt': number;
12585
+ /**
12586
+ * Ably TokenRequest scoped to the pairing channel.
12587
+ * @type {object}
12588
+ * @memberof PayTerminalInitResponseDto
12589
+ */
12590
+ 'ablyTokenRequest': object;
12591
+ }
12592
+ /**
12593
+ *
12594
+ * @export
12595
+ * @enum {string}
12596
+ */
12597
+ export declare const PayTerminalSessionRole: {
12598
+ readonly Pos: "pos";
12599
+ readonly Terminal: "terminal";
12600
+ };
12601
+ export type PayTerminalSessionRole = typeof PayTerminalSessionRole[keyof typeof PayTerminalSessionRole];
12602
+ /**
12603
+ *
12604
+ * @export
12605
+ * @interface PayTerminalSessionTokenBodyDto
12606
+ */
12607
+ export interface PayTerminalSessionTokenBodyDto {
12608
+ /**
12609
+ *
12610
+ * @type {string}
12611
+ * @memberof PayTerminalSessionTokenBodyDto
12612
+ */
12613
+ 'sessionId': string;
12614
+ /**
12615
+ *
12616
+ * @type {PayTerminalSessionRole}
12617
+ * @memberof PayTerminalSessionTokenBodyDto
12618
+ */
12619
+ 'role': PayTerminalSessionRole;
12620
+ /**
12621
+ * Requesting device id (posDeviceId or terminalId).
12622
+ * @type {string}
12623
+ * @memberof PayTerminalSessionTokenBodyDto
12624
+ */
12625
+ 'deviceId': string;
12626
+ }
12627
+ /**
12628
+ *
12629
+ * @export
12630
+ * @interface PayTerminalSessionTokenResponseDto
12631
+ */
12632
+ export interface PayTerminalSessionTokenResponseDto {
12633
+ /**
12634
+ * Ably TokenRequest scoped to the session channel.
12635
+ * @type {object}
12636
+ * @memberof PayTerminalSessionTokenResponseDto
12637
+ */
12638
+ 'ablyTokenRequest': object;
12639
+ /**
12640
+ *
12641
+ * @type {string}
12642
+ * @memberof PayTerminalSessionTokenResponseDto
12643
+ */
12644
+ 'sessionChannel': string;
12645
+ /**
12646
+ *
12647
+ * @type {string}
12648
+ * @memberof PayTerminalSessionTokenResponseDto
12649
+ */
12650
+ 'terminalName'?: string | null;
12651
+ }
12432
12652
  /**
12433
12653
  *
12434
12654
  * @export
@@ -15606,12 +15826,6 @@ export interface PosOrderDto {
15606
15826
  * @memberof PosOrderDto
15607
15827
  */
15608
15828
  'tableGroupId'?: string | null;
15609
- /**
15610
- * ID of the reservation this order was seated from, if any
15611
- * @type {string}
15612
- * @memberof PosOrderDto
15613
- */
15614
- 'reservationId'?: string | null;
15615
15829
  }
15616
15830
  /**
15617
15831
  * Equal split state persisted for the order
@@ -16430,12 +16644,6 @@ export interface PosOrderPayloadDtoOrder {
16430
16644
  * @memberof PosOrderPayloadDtoOrder
16431
16645
  */
16432
16646
  'tableGroupId'?: string | null;
16433
- /**
16434
- * ID of the reservation this order was seated from, if any
16435
- * @type {string}
16436
- * @memberof PosOrderPayloadDtoOrder
16437
- */
16438
- 'reservationId'?: string | null;
16439
16647
  }
16440
16648
  /**
16441
16649
  *
@@ -17332,12 +17540,6 @@ export interface ProcessOrderActionsResponseDtoOrder {
17332
17540
  * @memberof ProcessOrderActionsResponseDtoOrder
17333
17541
  */
17334
17542
  'tableGroupId'?: string | null;
17335
- /**
17336
- * ID of the reservation this order was seated from, if any
17337
- * @type {string}
17338
- * @memberof ProcessOrderActionsResponseDtoOrder
17339
- */
17340
- 'reservationId'?: string | null;
17341
17543
  }
17342
17544
  /**
17343
17545
  *
@@ -18601,12 +18803,6 @@ export interface RecordManualPaymentResultDtoOrder {
18601
18803
  * @memberof RecordManualPaymentResultDtoOrder
18602
18804
  */
18603
18805
  'tableGroupId'?: string | null;
18604
- /**
18605
- * ID of the reservation this order was seated from, if any
18606
- * @type {string}
18607
- * @memberof RecordManualPaymentResultDtoOrder
18608
- */
18609
- 'reservationId'?: string | null;
18610
18806
  }
18611
18807
  /**
18612
18808
  *
@@ -19100,6 +19296,31 @@ export interface RefundedItemDto {
19100
19296
  */
19101
19297
  'amount': number;
19102
19298
  }
19299
+ /**
19300
+ *
19301
+ * @export
19302
+ * @interface RegisterChargeMappingDto
19303
+ */
19304
+ export interface RegisterChargeMappingDto {
19305
+ /**
19306
+ * POS-generated id for this charge attempt (from the pay-terminal Ably relay).
19307
+ * @type {string}
19308
+ * @memberof RegisterChargeMappingDto
19309
+ */
19310
+ 'chargeId': string;
19311
+ /**
19312
+ * The order this charge belongs to (matches the Viva session\'s referenceId).
19313
+ * @type {string}
19314
+ * @memberof RegisterChargeMappingDto
19315
+ */
19316
+ 'orderId': string;
19317
+ /**
19318
+ * The business the order belongs to.
19319
+ * @type {number}
19320
+ * @memberof RegisterChargeMappingDto
19321
+ */
19322
+ 'businessId': number;
19323
+ }
19103
19324
  /**
19104
19325
  *
19105
19326
  * @export
@@ -20802,12 +21023,6 @@ export interface SyncKioskOrderDtoOrder {
20802
21023
  * @memberof SyncKioskOrderDtoOrder
20803
21024
  */
20804
21025
  'tableGroupId'?: string | null;
20805
- /**
20806
- * ID of the reservation this order was seated from, if any
20807
- * @type {string}
20808
- * @memberof SyncKioskOrderDtoOrder
20809
- */
20810
- 'reservationId'?: string | null;
20811
21026
  }
20812
21027
  /**
20813
21028
  *
@@ -21093,12 +21308,6 @@ export interface SyncPosOrderDtoOrder {
21093
21308
  * @memberof SyncPosOrderDtoOrder
21094
21309
  */
21095
21310
  'tableGroupId'?: string | null;
21096
- /**
21097
- * ID of the reservation this order was seated from, if any
21098
- * @type {string}
21099
- * @memberof SyncPosOrderDtoOrder
21100
- */
21101
- 'reservationId'?: string | null;
21102
21311
  }
21103
21312
  /**
21104
21313
  * POS order actions to run in the background after persist (same shape as /pos/actions). Omit to only sync the order.
@@ -23151,6 +23360,44 @@ export interface UnlockTerminalDto {
23151
23360
  */
23152
23361
  'employeeId': string;
23153
23362
  }
23363
+ /**
23364
+ *
23365
+ * @export
23366
+ * @interface UnpairPayTerminalBodyDto
23367
+ */
23368
+ export interface UnpairPayTerminalBodyDto {
23369
+ /**
23370
+ * Session id of the binding to tear down.
23371
+ * @type {string}
23372
+ * @memberof UnpairPayTerminalBodyDto
23373
+ */
23374
+ 'sessionId': string;
23375
+ /**
23376
+ *
23377
+ * @type {PayTerminalSessionRole}
23378
+ * @memberof UnpairPayTerminalBodyDto
23379
+ */
23380
+ 'role': PayTerminalSessionRole;
23381
+ /**
23382
+ * Requesting device id (posDeviceId or terminalId).
23383
+ * @type {string}
23384
+ * @memberof UnpairPayTerminalBodyDto
23385
+ */
23386
+ 'deviceId': string;
23387
+ }
23388
+ /**
23389
+ *
23390
+ * @export
23391
+ * @interface UnpairPayTerminalResponseDto
23392
+ */
23393
+ export interface UnpairPayTerminalResponseDto {
23394
+ /**
23395
+ * True once the binding is cleared (or already gone).
23396
+ * @type {boolean}
23397
+ * @memberof UnpairPayTerminalResponseDto
23398
+ */
23399
+ 'success': boolean;
23400
+ }
23154
23401
  /**
23155
23402
  *
23156
23403
  * @export
@@ -34152,6 +34399,207 @@ export declare class POSSessionApi extends BaseAPI implements POSSessionApiInter
34152
34399
  */
34153
34400
  getPosSessionV2(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PosSessionResponseDto, any, {}>>;
34154
34401
  }
34402
+ /**
34403
+ * PayTerminalApi - axios parameter creator
34404
+ * @export
34405
+ */
34406
+ export declare const PayTerminalApiAxiosParamCreator: (configuration?: Configuration) => {
34407
+ /**
34408
+ *
34409
+ * @summary Register a pay terminal and mint a pairing token + code.
34410
+ * @param {PayTerminalInitBodyDto} payTerminalInitBodyDto
34411
+ * @param {*} [options] Override http request option.
34412
+ * @throws {RequiredError}
34413
+ */
34414
+ payTerminalInit: (payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34415
+ /**
34416
+ *
34417
+ * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
34418
+ * @param {PairPayTerminalBodyDto} pairPayTerminalBodyDto
34419
+ * @param {*} [options] Override http request option.
34420
+ * @throws {RequiredError}
34421
+ */
34422
+ payTerminalPair: (pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34423
+ /**
34424
+ *
34425
+ * @summary Mint a session-channel Ably token scoped to the device role.
34426
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
34427
+ * @param {*} [options] Override http request option.
34428
+ * @throws {RequiredError}
34429
+ */
34430
+ payTerminalSessionToken: (payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34431
+ /**
34432
+ *
34433
+ * @summary Tear down the 1:1 binding; callable by either paired side (idempotent).
34434
+ * @param {UnpairPayTerminalBodyDto} unpairPayTerminalBodyDto
34435
+ * @param {*} [options] Override http request option.
34436
+ * @throws {RequiredError}
34437
+ */
34438
+ payTerminalUnpair: (unpairPayTerminalBodyDto: UnpairPayTerminalBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34439
+ };
34440
+ /**
34441
+ * PayTerminalApi - functional programming interface
34442
+ * @export
34443
+ */
34444
+ export declare const PayTerminalApiFp: (configuration?: Configuration) => {
34445
+ /**
34446
+ *
34447
+ * @summary Register a pay terminal and mint a pairing token + code.
34448
+ * @param {PayTerminalInitBodyDto} payTerminalInitBodyDto
34449
+ * @param {*} [options] Override http request option.
34450
+ * @throws {RequiredError}
34451
+ */
34452
+ payTerminalInit(payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayTerminalInitResponseDto>>;
34453
+ /**
34454
+ *
34455
+ * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
34456
+ * @param {PairPayTerminalBodyDto} pairPayTerminalBodyDto
34457
+ * @param {*} [options] Override http request option.
34458
+ * @throws {RequiredError}
34459
+ */
34460
+ payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PairPayTerminalResponseDto>>;
34461
+ /**
34462
+ *
34463
+ * @summary Mint a session-channel Ably token scoped to the device role.
34464
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
34465
+ * @param {*} [options] Override http request option.
34466
+ * @throws {RequiredError}
34467
+ */
34468
+ payTerminalSessionToken(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayTerminalSessionTokenResponseDto>>;
34469
+ /**
34470
+ *
34471
+ * @summary Tear down the 1:1 binding; callable by either paired side (idempotent).
34472
+ * @param {UnpairPayTerminalBodyDto} unpairPayTerminalBodyDto
34473
+ * @param {*} [options] Override http request option.
34474
+ * @throws {RequiredError}
34475
+ */
34476
+ payTerminalUnpair(unpairPayTerminalBodyDto: UnpairPayTerminalBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnpairPayTerminalResponseDto>>;
34477
+ };
34478
+ /**
34479
+ * PayTerminalApi - factory interface
34480
+ * @export
34481
+ */
34482
+ export declare const PayTerminalApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
34483
+ /**
34484
+ *
34485
+ * @summary Register a pay terminal and mint a pairing token + code.
34486
+ * @param {PayTerminalInitBodyDto} payTerminalInitBodyDto
34487
+ * @param {*} [options] Override http request option.
34488
+ * @throws {RequiredError}
34489
+ */
34490
+ payTerminalInit(payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: any): AxiosPromise<PayTerminalInitResponseDto>;
34491
+ /**
34492
+ *
34493
+ * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
34494
+ * @param {PairPayTerminalBodyDto} pairPayTerminalBodyDto
34495
+ * @param {*} [options] Override http request option.
34496
+ * @throws {RequiredError}
34497
+ */
34498
+ payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: any): AxiosPromise<PairPayTerminalResponseDto>;
34499
+ /**
34500
+ *
34501
+ * @summary Mint a session-channel Ably token scoped to the device role.
34502
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
34503
+ * @param {*} [options] Override http request option.
34504
+ * @throws {RequiredError}
34505
+ */
34506
+ payTerminalSessionToken(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: any): AxiosPromise<PayTerminalSessionTokenResponseDto>;
34507
+ /**
34508
+ *
34509
+ * @summary Tear down the 1:1 binding; callable by either paired side (idempotent).
34510
+ * @param {UnpairPayTerminalBodyDto} unpairPayTerminalBodyDto
34511
+ * @param {*} [options] Override http request option.
34512
+ * @throws {RequiredError}
34513
+ */
34514
+ payTerminalUnpair(unpairPayTerminalBodyDto: UnpairPayTerminalBodyDto, options?: any): AxiosPromise<UnpairPayTerminalResponseDto>;
34515
+ };
34516
+ /**
34517
+ * PayTerminalApi - interface
34518
+ * @export
34519
+ * @interface PayTerminalApi
34520
+ */
34521
+ export interface PayTerminalApiInterface {
34522
+ /**
34523
+ *
34524
+ * @summary Register a pay terminal and mint a pairing token + code.
34525
+ * @param {PayTerminalInitBodyDto} payTerminalInitBodyDto
34526
+ * @param {*} [options] Override http request option.
34527
+ * @throws {RequiredError}
34528
+ * @memberof PayTerminalApiInterface
34529
+ */
34530
+ payTerminalInit(payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: AxiosRequestConfig): AxiosPromise<PayTerminalInitResponseDto>;
34531
+ /**
34532
+ *
34533
+ * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
34534
+ * @param {PairPayTerminalBodyDto} pairPayTerminalBodyDto
34535
+ * @param {*} [options] Override http request option.
34536
+ * @throws {RequiredError}
34537
+ * @memberof PayTerminalApiInterface
34538
+ */
34539
+ payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig): AxiosPromise<PairPayTerminalResponseDto>;
34540
+ /**
34541
+ *
34542
+ * @summary Mint a session-channel Ably token scoped to the device role.
34543
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
34544
+ * @param {*} [options] Override http request option.
34545
+ * @throws {RequiredError}
34546
+ * @memberof PayTerminalApiInterface
34547
+ */
34548
+ payTerminalSessionToken(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig): AxiosPromise<PayTerminalSessionTokenResponseDto>;
34549
+ /**
34550
+ *
34551
+ * @summary Tear down the 1:1 binding; callable by either paired side (idempotent).
34552
+ * @param {UnpairPayTerminalBodyDto} unpairPayTerminalBodyDto
34553
+ * @param {*} [options] Override http request option.
34554
+ * @throws {RequiredError}
34555
+ * @memberof PayTerminalApiInterface
34556
+ */
34557
+ payTerminalUnpair(unpairPayTerminalBodyDto: UnpairPayTerminalBodyDto, options?: AxiosRequestConfig): AxiosPromise<UnpairPayTerminalResponseDto>;
34558
+ }
34559
+ /**
34560
+ * PayTerminalApi - object-oriented interface
34561
+ * @export
34562
+ * @class PayTerminalApi
34563
+ * @extends {BaseAPI}
34564
+ */
34565
+ export declare class PayTerminalApi extends BaseAPI implements PayTerminalApiInterface {
34566
+ /**
34567
+ *
34568
+ * @summary Register a pay terminal and mint a pairing token + code.
34569
+ * @param {PayTerminalInitBodyDto} payTerminalInitBodyDto
34570
+ * @param {*} [options] Override http request option.
34571
+ * @throws {RequiredError}
34572
+ * @memberof PayTerminalApi
34573
+ */
34574
+ payTerminalInit(payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayTerminalInitResponseDto, any, {}>>;
34575
+ /**
34576
+ *
34577
+ * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
34578
+ * @param {PairPayTerminalBodyDto} pairPayTerminalBodyDto
34579
+ * @param {*} [options] Override http request option.
34580
+ * @throws {RequiredError}
34581
+ * @memberof PayTerminalApi
34582
+ */
34583
+ payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PairPayTerminalResponseDto, any, {}>>;
34584
+ /**
34585
+ *
34586
+ * @summary Mint a session-channel Ably token scoped to the device role.
34587
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
34588
+ * @param {*} [options] Override http request option.
34589
+ * @throws {RequiredError}
34590
+ * @memberof PayTerminalApi
34591
+ */
34592
+ payTerminalSessionToken(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayTerminalSessionTokenResponseDto, any, {}>>;
34593
+ /**
34594
+ *
34595
+ * @summary Tear down the 1:1 binding; callable by either paired side (idempotent).
34596
+ * @param {UnpairPayTerminalBodyDto} unpairPayTerminalBodyDto
34597
+ * @param {*} [options] Override http request option.
34598
+ * @throws {RequiredError}
34599
+ * @memberof PayTerminalApi
34600
+ */
34601
+ payTerminalUnpair(unpairPayTerminalBodyDto: UnpairPayTerminalBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnpairPayTerminalResponseDto, any, {}>>;
34602
+ }
34155
34603
  /**
34156
34604
  * PaymentApi - axios parameter creator
34157
34605
  * @export
@@ -35018,6 +35466,22 @@ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Config
35018
35466
  * @throws {RequiredError}
35019
35467
  */
35020
35468
  initiateWorldlineSession: (initiateWorldlineSessionDto: InitiateWorldlineSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35469
+ /**
35470
+ * Fallback for when the pay-terminal Ably charge_result message is lost to a flaky connection. Returns \'pending\' until the backend observes the underlying PaymentSession reach a terminal state, regardless of either device\'s connectivity.
35471
+ * @summary Poll a charge\'s outcome by chargeId.
35472
+ * @param {string} chargeId
35473
+ * @param {*} [options] Override http request option.
35474
+ * @throws {RequiredError}
35475
+ */
35476
+ paymentSessionGetChargeStatus: (chargeId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35477
+ /**
35478
+ * Called by the paying device (e.g. a paired Munchi Pay terminal) right as it starts a charge relayed from the POS over Ably, so the POS can fall back to polling if the Ably charge_result message never arrives.
35479
+ * @summary Register a POS-generated chargeId against an order so its outcome can be polled.
35480
+ * @param {RegisterChargeMappingDto} registerChargeMappingDto
35481
+ * @param {*} [options] Override http request option.
35482
+ * @throws {RequiredError}
35483
+ */
35484
+ paymentSessionRegisterChargeMapping: (registerChargeMappingDto: RegisterChargeMappingDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35021
35485
  /**
35022
35486
  * 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.
35023
35487
  * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
@@ -35165,6 +35629,22 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
35165
35629
  * @throws {RequiredError}
35166
35630
  */
35167
35631
  initiateWorldlineSession(initiateWorldlineSessionDto: InitiateWorldlineSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateWorldlineSessionResponseDto>>;
35632
+ /**
35633
+ * Fallback for when the pay-terminal Ably charge_result message is lost to a flaky connection. Returns \'pending\' until the backend observes the underlying PaymentSession reach a terminal state, regardless of either device\'s connectivity.
35634
+ * @summary Poll a charge\'s outcome by chargeId.
35635
+ * @param {string} chargeId
35636
+ * @param {*} [options] Override http request option.
35637
+ * @throws {RequiredError}
35638
+ */
35639
+ paymentSessionGetChargeStatus(chargeId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChargeStatusResponseDto>>;
35640
+ /**
35641
+ * Called by the paying device (e.g. a paired Munchi Pay terminal) right as it starts a charge relayed from the POS over Ably, so the POS can fall back to polling if the Ably charge_result message never arrives.
35642
+ * @summary Register a POS-generated chargeId against an order so its outcome can be polled.
35643
+ * @param {RegisterChargeMappingDto} registerChargeMappingDto
35644
+ * @param {*} [options] Override http request option.
35645
+ * @throws {RequiredError}
35646
+ */
35647
+ paymentSessionRegisterChargeMapping(registerChargeMappingDto: RegisterChargeMappingDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
35168
35648
  /**
35169
35649
  * 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.
35170
35650
  * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
@@ -35312,6 +35792,22 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
35312
35792
  * @throws {RequiredError}
35313
35793
  */
35314
35794
  initiateWorldlineSession(initiateWorldlineSessionDto: InitiateWorldlineSessionDto, xIdempotencyKey?: string, options?: any): AxiosPromise<InitiateWorldlineSessionResponseDto>;
35795
+ /**
35796
+ * Fallback for when the pay-terminal Ably charge_result message is lost to a flaky connection. Returns \'pending\' until the backend observes the underlying PaymentSession reach a terminal state, regardless of either device\'s connectivity.
35797
+ * @summary Poll a charge\'s outcome by chargeId.
35798
+ * @param {string} chargeId
35799
+ * @param {*} [options] Override http request option.
35800
+ * @throws {RequiredError}
35801
+ */
35802
+ paymentSessionGetChargeStatus(chargeId: string, options?: any): AxiosPromise<ChargeStatusResponseDto>;
35803
+ /**
35804
+ * Called by the paying device (e.g. a paired Munchi Pay terminal) right as it starts a charge relayed from the POS over Ably, so the POS can fall back to polling if the Ably charge_result message never arrives.
35805
+ * @summary Register a POS-generated chargeId against an order so its outcome can be polled.
35806
+ * @param {RegisterChargeMappingDto} registerChargeMappingDto
35807
+ * @param {*} [options] Override http request option.
35808
+ * @throws {RequiredError}
35809
+ */
35810
+ paymentSessionRegisterChargeMapping(registerChargeMappingDto: RegisterChargeMappingDto, options?: any): AxiosPromise<void>;
35315
35811
  /**
35316
35812
  * 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.
35317
35813
  * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
@@ -35467,6 +35963,24 @@ export interface PaymentSessionApiInterface {
35467
35963
  * @memberof PaymentSessionApiInterface
35468
35964
  */
35469
35965
  initiateWorldlineSession(initiateWorldlineSessionDto: InitiateWorldlineSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<InitiateWorldlineSessionResponseDto>;
35966
+ /**
35967
+ * Fallback for when the pay-terminal Ably charge_result message is lost to a flaky connection. Returns \'pending\' until the backend observes the underlying PaymentSession reach a terminal state, regardless of either device\'s connectivity.
35968
+ * @summary Poll a charge\'s outcome by chargeId.
35969
+ * @param {string} chargeId
35970
+ * @param {*} [options] Override http request option.
35971
+ * @throws {RequiredError}
35972
+ * @memberof PaymentSessionApiInterface
35973
+ */
35974
+ paymentSessionGetChargeStatus(chargeId: string, options?: AxiosRequestConfig): AxiosPromise<ChargeStatusResponseDto>;
35975
+ /**
35976
+ * Called by the paying device (e.g. a paired Munchi Pay terminal) right as it starts a charge relayed from the POS over Ably, so the POS can fall back to polling if the Ably charge_result message never arrives.
35977
+ * @summary Register a POS-generated chargeId against an order so its outcome can be polled.
35978
+ * @param {RegisterChargeMappingDto} registerChargeMappingDto
35979
+ * @param {*} [options] Override http request option.
35980
+ * @throws {RequiredError}
35981
+ * @memberof PaymentSessionApiInterface
35982
+ */
35983
+ paymentSessionRegisterChargeMapping(registerChargeMappingDto: RegisterChargeMappingDto, options?: AxiosRequestConfig): AxiosPromise<void>;
35470
35984
  /**
35471
35985
  * 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.
35472
35986
  * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
@@ -35633,6 +36147,24 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
35633
36147
  * @memberof PaymentSessionApi
35634
36148
  */
35635
36149
  initiateWorldlineSession(initiateWorldlineSessionDto: InitiateWorldlineSessionDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateWorldlineSessionResponseDto, any, {}>>;
36150
+ /**
36151
+ * Fallback for when the pay-terminal Ably charge_result message is lost to a flaky connection. Returns \'pending\' until the backend observes the underlying PaymentSession reach a terminal state, regardless of either device\'s connectivity.
36152
+ * @summary Poll a charge\'s outcome by chargeId.
36153
+ * @param {string} chargeId
36154
+ * @param {*} [options] Override http request option.
36155
+ * @throws {RequiredError}
36156
+ * @memberof PaymentSessionApi
36157
+ */
36158
+ paymentSessionGetChargeStatus(chargeId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChargeStatusResponseDto, any, {}>>;
36159
+ /**
36160
+ * Called by the paying device (e.g. a paired Munchi Pay terminal) right as it starts a charge relayed from the POS over Ably, so the POS can fall back to polling if the Ably charge_result message never arrives.
36161
+ * @summary Register a POS-generated chargeId against an order so its outcome can be polled.
36162
+ * @param {RegisterChargeMappingDto} registerChargeMappingDto
36163
+ * @param {*} [options] Override http request option.
36164
+ * @throws {RequiredError}
36165
+ * @memberof PaymentSessionApi
36166
+ */
36167
+ paymentSessionRegisterChargeMapping(registerChargeMappingDto: RegisterChargeMappingDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
35636
36168
  /**
35637
36169
  * 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.
35638
36170
  * @summary Internal: long-poll Viva for a stuck payment session (Cloud Task callback)
@@ -36403,6 +36935,22 @@ export declare class ProductApi extends BaseAPI implements ProductApiInterface {
36403
36935
  * @export
36404
36936
  */
36405
36937
  export declare const ProviderApiAxiosParamCreator: (configuration?: Configuration) => {
36938
+ /**
36939
+ *
36940
+ * @param {any} channel
36941
+ * @param {object} body
36942
+ * @param {*} [options] Override http request option.
36943
+ * @throws {RequiredError}
36944
+ */
36945
+ createOnboardingSession: (channel: any, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36946
+ /**
36947
+ *
36948
+ * @param {any} channel
36949
+ * @param {number} businessId
36950
+ * @param {*} [options] Override http request option.
36951
+ * @throws {RequiredError}
36952
+ */
36953
+ disconnectOnboarding: (channel: any, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36406
36954
  /**
36407
36955
  *
36408
36956
  * @summary Get provider integrations (MENU) for a business
@@ -36411,6 +36959,14 @@ export declare const ProviderApiAxiosParamCreator: (configuration?: Configuratio
36411
36959
  * @throws {RequiredError}
36412
36960
  */
36413
36961
  getMenuIntegrations: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36962
+ /**
36963
+ *
36964
+ * @param {any} channel
36965
+ * @param {number} businessId
36966
+ * @param {*} [options] Override http request option.
36967
+ * @throws {RequiredError}
36968
+ */
36969
+ getOnboardingStatus: (channel: any, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36414
36970
  /**
36415
36971
  *
36416
36972
  * @summary Get supported channels for a business
@@ -36419,6 +36975,23 @@ export declare const ProviderApiAxiosParamCreator: (configuration?: Configuratio
36419
36975
  * @throws {RequiredError}
36420
36976
  */
36421
36977
  getSupportedChannels: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36978
+ /**
36979
+ *
36980
+ * @param {any} channel
36981
+ * @param {string} state
36982
+ * @param {*} [options] Override http request option.
36983
+ * @throws {RequiredError}
36984
+ */
36985
+ listOnboardingStores: (channel: any, state: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36986
+ /**
36987
+ *
36988
+ * @param {any} channel
36989
+ * @param {string} state
36990
+ * @param {object} body
36991
+ * @param {*} [options] Override http request option.
36992
+ * @throws {RequiredError}
36993
+ */
36994
+ provisionOnboardingStore: (channel: any, state: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36422
36995
  /**
36423
36996
  *
36424
36997
  * @param {object} body
@@ -36433,12 +37006,36 @@ export declare const ProviderApiAxiosParamCreator: (configuration?: Configuratio
36433
37006
  * @throws {RequiredError}
36434
37007
  */
36435
37008
  registerProvider: (body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37009
+ /**
37010
+ *
37011
+ * @param {number} businessId
37012
+ * @param {object} body
37013
+ * @param {*} [options] Override http request option.
37014
+ * @throws {RequiredError}
37015
+ */
37016
+ updateProviderSettings: (businessId: number, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36436
37017
  };
36437
37018
  /**
36438
37019
  * ProviderApi - functional programming interface
36439
37020
  * @export
36440
37021
  */
36441
37022
  export declare const ProviderApiFp: (configuration?: Configuration) => {
37023
+ /**
37024
+ *
37025
+ * @param {any} channel
37026
+ * @param {object} body
37027
+ * @param {*} [options] Override http request option.
37028
+ * @throws {RequiredError}
37029
+ */
37030
+ createOnboardingSession(channel: any, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
37031
+ /**
37032
+ *
37033
+ * @param {any} channel
37034
+ * @param {number} businessId
37035
+ * @param {*} [options] Override http request option.
37036
+ * @throws {RequiredError}
37037
+ */
37038
+ disconnectOnboarding(channel: any, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
36442
37039
  /**
36443
37040
  *
36444
37041
  * @summary Get provider integrations (MENU) for a business
@@ -36447,6 +37044,14 @@ export declare const ProviderApiFp: (configuration?: Configuration) => {
36447
37044
  * @throws {RequiredError}
36448
37045
  */
36449
37046
  getMenuIntegrations(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProviderIntegrationDto>>>;
37047
+ /**
37048
+ *
37049
+ * @param {any} channel
37050
+ * @param {number} businessId
37051
+ * @param {*} [options] Override http request option.
37052
+ * @throws {RequiredError}
37053
+ */
37054
+ getOnboardingStatus(channel: any, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
36450
37055
  /**
36451
37056
  *
36452
37057
  * @summary Get supported channels for a business
@@ -36455,6 +37060,23 @@ export declare const ProviderApiFp: (configuration?: Configuration) => {
36455
37060
  * @throws {RequiredError}
36456
37061
  */
36457
37062
  getSupportedChannels(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSupportedChannelsResponseDto>>;
37063
+ /**
37064
+ *
37065
+ * @param {any} channel
37066
+ * @param {string} state
37067
+ * @param {*} [options] Override http request option.
37068
+ * @throws {RequiredError}
37069
+ */
37070
+ listOnboardingStores(channel: any, state: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
37071
+ /**
37072
+ *
37073
+ * @param {any} channel
37074
+ * @param {string} state
37075
+ * @param {object} body
37076
+ * @param {*} [options] Override http request option.
37077
+ * @throws {RequiredError}
37078
+ */
37079
+ provisionOnboardingStore(channel: any, state: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
36458
37080
  /**
36459
37081
  *
36460
37082
  * @param {object} body
@@ -36469,12 +37091,36 @@ export declare const ProviderApiFp: (configuration?: Configuration) => {
36469
37091
  * @throws {RequiredError}
36470
37092
  */
36471
37093
  registerProvider(body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
37094
+ /**
37095
+ *
37096
+ * @param {number} businessId
37097
+ * @param {object} body
37098
+ * @param {*} [options] Override http request option.
37099
+ * @throws {RequiredError}
37100
+ */
37101
+ updateProviderSettings(businessId: number, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
36472
37102
  };
36473
37103
  /**
36474
37104
  * ProviderApi - factory interface
36475
37105
  * @export
36476
37106
  */
36477
37107
  export declare const ProviderApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
37108
+ /**
37109
+ *
37110
+ * @param {any} channel
37111
+ * @param {object} body
37112
+ * @param {*} [options] Override http request option.
37113
+ * @throws {RequiredError}
37114
+ */
37115
+ createOnboardingSession(channel: any, body: object, options?: any): AxiosPromise<void>;
37116
+ /**
37117
+ *
37118
+ * @param {any} channel
37119
+ * @param {number} businessId
37120
+ * @param {*} [options] Override http request option.
37121
+ * @throws {RequiredError}
37122
+ */
37123
+ disconnectOnboarding(channel: any, businessId: number, options?: any): AxiosPromise<void>;
36478
37124
  /**
36479
37125
  *
36480
37126
  * @summary Get provider integrations (MENU) for a business
@@ -36483,6 +37129,14 @@ export declare const ProviderApiFactory: (configuration?: Configuration, basePat
36483
37129
  * @throws {RequiredError}
36484
37130
  */
36485
37131
  getMenuIntegrations(businessId: number, options?: any): AxiosPromise<Array<ProviderIntegrationDto>>;
37132
+ /**
37133
+ *
37134
+ * @param {any} channel
37135
+ * @param {number} businessId
37136
+ * @param {*} [options] Override http request option.
37137
+ * @throws {RequiredError}
37138
+ */
37139
+ getOnboardingStatus(channel: any, businessId: number, options?: any): AxiosPromise<void>;
36486
37140
  /**
36487
37141
  *
36488
37142
  * @summary Get supported channels for a business
@@ -36491,6 +37145,23 @@ export declare const ProviderApiFactory: (configuration?: Configuration, basePat
36491
37145
  * @throws {RequiredError}
36492
37146
  */
36493
37147
  getSupportedChannels(businessId: number, options?: any): AxiosPromise<GetSupportedChannelsResponseDto>;
37148
+ /**
37149
+ *
37150
+ * @param {any} channel
37151
+ * @param {string} state
37152
+ * @param {*} [options] Override http request option.
37153
+ * @throws {RequiredError}
37154
+ */
37155
+ listOnboardingStores(channel: any, state: string, options?: any): AxiosPromise<void>;
37156
+ /**
37157
+ *
37158
+ * @param {any} channel
37159
+ * @param {string} state
37160
+ * @param {object} body
37161
+ * @param {*} [options] Override http request option.
37162
+ * @throws {RequiredError}
37163
+ */
37164
+ provisionOnboardingStore(channel: any, state: string, body: object, options?: any): AxiosPromise<void>;
36494
37165
  /**
36495
37166
  *
36496
37167
  * @param {object} body
@@ -36505,6 +37176,14 @@ export declare const ProviderApiFactory: (configuration?: Configuration, basePat
36505
37176
  * @throws {RequiredError}
36506
37177
  */
36507
37178
  registerProvider(body: object, options?: any): AxiosPromise<void>;
37179
+ /**
37180
+ *
37181
+ * @param {number} businessId
37182
+ * @param {object} body
37183
+ * @param {*} [options] Override http request option.
37184
+ * @throws {RequiredError}
37185
+ */
37186
+ updateProviderSettings(businessId: number, body: object, options?: any): AxiosPromise<void>;
36508
37187
  };
36509
37188
  /**
36510
37189
  * ProviderApi - interface
@@ -36512,6 +37191,24 @@ export declare const ProviderApiFactory: (configuration?: Configuration, basePat
36512
37191
  * @interface ProviderApi
36513
37192
  */
36514
37193
  export interface ProviderApiInterface {
37194
+ /**
37195
+ *
37196
+ * @param {any} channel
37197
+ * @param {object} body
37198
+ * @param {*} [options] Override http request option.
37199
+ * @throws {RequiredError}
37200
+ * @memberof ProviderApiInterface
37201
+ */
37202
+ createOnboardingSession(channel: any, body: object, options?: AxiosRequestConfig): AxiosPromise<void>;
37203
+ /**
37204
+ *
37205
+ * @param {any} channel
37206
+ * @param {number} businessId
37207
+ * @param {*} [options] Override http request option.
37208
+ * @throws {RequiredError}
37209
+ * @memberof ProviderApiInterface
37210
+ */
37211
+ disconnectOnboarding(channel: any, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
36515
37212
  /**
36516
37213
  *
36517
37214
  * @summary Get provider integrations (MENU) for a business
@@ -36521,6 +37218,15 @@ export interface ProviderApiInterface {
36521
37218
  * @memberof ProviderApiInterface
36522
37219
  */
36523
37220
  getMenuIntegrations(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<ProviderIntegrationDto>>;
37221
+ /**
37222
+ *
37223
+ * @param {any} channel
37224
+ * @param {number} businessId
37225
+ * @param {*} [options] Override http request option.
37226
+ * @throws {RequiredError}
37227
+ * @memberof ProviderApiInterface
37228
+ */
37229
+ getOnboardingStatus(channel: any, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
36524
37230
  /**
36525
37231
  *
36526
37232
  * @summary Get supported channels for a business
@@ -36530,6 +37236,25 @@ export interface ProviderApiInterface {
36530
37236
  * @memberof ProviderApiInterface
36531
37237
  */
36532
37238
  getSupportedChannels(businessId: number, options?: AxiosRequestConfig): AxiosPromise<GetSupportedChannelsResponseDto>;
37239
+ /**
37240
+ *
37241
+ * @param {any} channel
37242
+ * @param {string} state
37243
+ * @param {*} [options] Override http request option.
37244
+ * @throws {RequiredError}
37245
+ * @memberof ProviderApiInterface
37246
+ */
37247
+ listOnboardingStores(channel: any, state: string, options?: AxiosRequestConfig): AxiosPromise<void>;
37248
+ /**
37249
+ *
37250
+ * @param {any} channel
37251
+ * @param {string} state
37252
+ * @param {object} body
37253
+ * @param {*} [options] Override http request option.
37254
+ * @throws {RequiredError}
37255
+ * @memberof ProviderApiInterface
37256
+ */
37257
+ provisionOnboardingStore(channel: any, state: string, body: object, options?: AxiosRequestConfig): AxiosPromise<void>;
36533
37258
  /**
36534
37259
  *
36535
37260
  * @param {object} body
@@ -36546,6 +37271,15 @@ export interface ProviderApiInterface {
36546
37271
  * @memberof ProviderApiInterface
36547
37272
  */
36548
37273
  registerProvider(body: object, options?: AxiosRequestConfig): AxiosPromise<void>;
37274
+ /**
37275
+ *
37276
+ * @param {number} businessId
37277
+ * @param {object} body
37278
+ * @param {*} [options] Override http request option.
37279
+ * @throws {RequiredError}
37280
+ * @memberof ProviderApiInterface
37281
+ */
37282
+ updateProviderSettings(businessId: number, body: object, options?: AxiosRequestConfig): AxiosPromise<void>;
36549
37283
  }
36550
37284
  /**
36551
37285
  * ProviderApi - object-oriented interface
@@ -36554,6 +37288,24 @@ export interface ProviderApiInterface {
36554
37288
  * @extends {BaseAPI}
36555
37289
  */
36556
37290
  export declare class ProviderApi extends BaseAPI implements ProviderApiInterface {
37291
+ /**
37292
+ *
37293
+ * @param {any} channel
37294
+ * @param {object} body
37295
+ * @param {*} [options] Override http request option.
37296
+ * @throws {RequiredError}
37297
+ * @memberof ProviderApi
37298
+ */
37299
+ createOnboardingSession(channel: any, body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
37300
+ /**
37301
+ *
37302
+ * @param {any} channel
37303
+ * @param {number} businessId
37304
+ * @param {*} [options] Override http request option.
37305
+ * @throws {RequiredError}
37306
+ * @memberof ProviderApi
37307
+ */
37308
+ disconnectOnboarding(channel: any, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
36557
37309
  /**
36558
37310
  *
36559
37311
  * @summary Get provider integrations (MENU) for a business
@@ -36563,6 +37315,15 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
36563
37315
  * @memberof ProviderApi
36564
37316
  */
36565
37317
  getMenuIntegrations(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderIntegrationDto[], any, {}>>;
37318
+ /**
37319
+ *
37320
+ * @param {any} channel
37321
+ * @param {number} businessId
37322
+ * @param {*} [options] Override http request option.
37323
+ * @throws {RequiredError}
37324
+ * @memberof ProviderApi
37325
+ */
37326
+ getOnboardingStatus(channel: any, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
36566
37327
  /**
36567
37328
  *
36568
37329
  * @summary Get supported channels for a business
@@ -36572,6 +37333,25 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
36572
37333
  * @memberof ProviderApi
36573
37334
  */
36574
37335
  getSupportedChannels(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSupportedChannelsResponseDto, any, {}>>;
37336
+ /**
37337
+ *
37338
+ * @param {any} channel
37339
+ * @param {string} state
37340
+ * @param {*} [options] Override http request option.
37341
+ * @throws {RequiredError}
37342
+ * @memberof ProviderApi
37343
+ */
37344
+ listOnboardingStores(channel: any, state: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
37345
+ /**
37346
+ *
37347
+ * @param {any} channel
37348
+ * @param {string} state
37349
+ * @param {object} body
37350
+ * @param {*} [options] Override http request option.
37351
+ * @throws {RequiredError}
37352
+ * @memberof ProviderApi
37353
+ */
37354
+ provisionOnboardingStore(channel: any, state: string, body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
36575
37355
  /**
36576
37356
  *
36577
37357
  * @param {object} body
@@ -36588,6 +37368,15 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
36588
37368
  * @memberof ProviderApi
36589
37369
  */
36590
37370
  registerProvider(body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
37371
+ /**
37372
+ *
37373
+ * @param {number} businessId
37374
+ * @param {object} body
37375
+ * @param {*} [options] Override http request option.
37376
+ * @throws {RequiredError}
37377
+ * @memberof ProviderApi
37378
+ */
37379
+ updateProviderSettings(businessId: number, body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
36591
37380
  }
36592
37381
  /**
36593
37382
  * RefundsApi - axios parameter creator