@munchi_oy/core 1.9.92 → 1.9.96

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.
@@ -6917,6 +6917,12 @@ export interface InitiateVivaSessionDto {
6917
6917
  * @memberof InitiateVivaSessionDto
6918
6918
  */
6919
6919
  'splitContext'?: CreateManualSessionDtoSplitContext;
6920
+ /**
6921
+ * Paired Munchi Pay terminal id (from @munchi_oy/pay-terminal-protocol pairing) that should execute this app-to-app charge. Bound onto the session so the paired terminal is discoverable/auditable; the POS still owns polling as source of truth. Distinct from the Viva cloud-terminal hardware id.
6922
+ * @type {string}
6923
+ * @memberof InitiateVivaSessionDto
6924
+ */
6925
+ 'payTerminalId'?: string;
6920
6926
  }
6921
6927
  /**
6922
6928
  *
@@ -12423,6 +12429,196 @@ export interface PairDisplayResponseDto {
12423
12429
  */
12424
12430
  'displayId': string;
12425
12431
  }
12432
+ /**
12433
+ *
12434
+ * @export
12435
+ * @interface PairPayTerminalBodyDto
12436
+ */
12437
+ export interface PairPayTerminalBodyDto {
12438
+ /**
12439
+ * Stable POS device identifier.
12440
+ * @type {string}
12441
+ * @memberof PairPayTerminalBodyDto
12442
+ */
12443
+ 'posDeviceId': string;
12444
+ /**
12445
+ * Pairing code entered on the POS.
12446
+ * @type {string}
12447
+ * @memberof PairPayTerminalBodyDto
12448
+ */
12449
+ 'code'?: string;
12450
+ /**
12451
+ * Terminal id (nonce path, with nonce).
12452
+ * @type {string}
12453
+ * @memberof PairPayTerminalBodyDto
12454
+ */
12455
+ 'terminalId'?: string;
12456
+ /**
12457
+ * One-time nonce (nonce path).
12458
+ * @type {string}
12459
+ * @memberof PairPayTerminalBodyDto
12460
+ */
12461
+ 'nonce'?: string;
12462
+ /**
12463
+ * Business to pair to; must be in the caller\'s scope.
12464
+ * @type {number}
12465
+ * @memberof PairPayTerminalBodyDto
12466
+ */
12467
+ 'businessId'?: number;
12468
+ }
12469
+ /**
12470
+ *
12471
+ * @export
12472
+ * @interface PairPayTerminalResponseDto
12473
+ */
12474
+ export interface PairPayTerminalResponseDto {
12475
+ /**
12476
+ *
12477
+ * @type {string}
12478
+ * @memberof PairPayTerminalResponseDto
12479
+ */
12480
+ 'sessionId': string;
12481
+ /**
12482
+ *
12483
+ * @type {string}
12484
+ * @memberof PairPayTerminalResponseDto
12485
+ */
12486
+ 'sessionChannel': string;
12487
+ /**
12488
+ *
12489
+ * @type {string}
12490
+ * @memberof PairPayTerminalResponseDto
12491
+ */
12492
+ 'terminalId': string;
12493
+ /**
12494
+ *
12495
+ * @type {string}
12496
+ * @memberof PairPayTerminalResponseDto
12497
+ */
12498
+ 'terminalName'?: string | null;
12499
+ }
12500
+ /**
12501
+ *
12502
+ * @export
12503
+ * @interface PayTerminalInitBodyDto
12504
+ */
12505
+ export interface PayTerminalInitBodyDto {
12506
+ /**
12507
+ * Stable hardware identifier of the pay-terminal device.
12508
+ * @type {string}
12509
+ * @memberof PayTerminalInitBodyDto
12510
+ */
12511
+ 'deviceHardwareId': string;
12512
+ /**
12513
+ * Optional human-readable label for the pay-terminal device.
12514
+ * @type {string}
12515
+ * @memberof PayTerminalInitBodyDto
12516
+ */
12517
+ 'terminalName'?: string | null;
12518
+ }
12519
+ /**
12520
+ *
12521
+ * @export
12522
+ * @interface PayTerminalInitResponseDto
12523
+ */
12524
+ export interface PayTerminalInitResponseDto {
12525
+ /**
12526
+ * Server-issued pay-terminal identity.
12527
+ * @type {string}
12528
+ * @memberof PayTerminalInitResponseDto
12529
+ */
12530
+ 'terminalId': string;
12531
+ /**
12532
+ * Short pairing code shown on the terminal.
12533
+ * @type {string}
12534
+ * @memberof PayTerminalInitResponseDto
12535
+ */
12536
+ 'code': string;
12537
+ /**
12538
+ * One-time nonce carried in the pairing QR.
12539
+ * @type {string}
12540
+ * @memberof PayTerminalInitResponseDto
12541
+ */
12542
+ 'nonce': string;
12543
+ /**
12544
+ * Ably channel the terminal subscribes to for the ack.
12545
+ * @type {string}
12546
+ * @memberof PayTerminalInitResponseDto
12547
+ */
12548
+ 'pairingChannel': string;
12549
+ /**
12550
+ * Epoch ms when the code/nonce expires.
12551
+ * @type {number}
12552
+ * @memberof PayTerminalInitResponseDto
12553
+ */
12554
+ 'expiresAt': number;
12555
+ /**
12556
+ * Ably TokenRequest scoped to the pairing channel.
12557
+ * @type {object}
12558
+ * @memberof PayTerminalInitResponseDto
12559
+ */
12560
+ 'ablyTokenRequest': object;
12561
+ }
12562
+ /**
12563
+ *
12564
+ * @export
12565
+ * @enum {string}
12566
+ */
12567
+ export declare const PayTerminalSessionRole: {
12568
+ readonly Pos: "pos";
12569
+ readonly Terminal: "terminal";
12570
+ };
12571
+ export type PayTerminalSessionRole = typeof PayTerminalSessionRole[keyof typeof PayTerminalSessionRole];
12572
+ /**
12573
+ *
12574
+ * @export
12575
+ * @interface PayTerminalSessionTokenBodyDto
12576
+ */
12577
+ export interface PayTerminalSessionTokenBodyDto {
12578
+ /**
12579
+ *
12580
+ * @type {string}
12581
+ * @memberof PayTerminalSessionTokenBodyDto
12582
+ */
12583
+ 'sessionId': string;
12584
+ /**
12585
+ *
12586
+ * @type {PayTerminalSessionRole}
12587
+ * @memberof PayTerminalSessionTokenBodyDto
12588
+ */
12589
+ 'role': PayTerminalSessionRole;
12590
+ /**
12591
+ * Requesting device id (posDeviceId or terminalId).
12592
+ * @type {string}
12593
+ * @memberof PayTerminalSessionTokenBodyDto
12594
+ */
12595
+ 'deviceId': string;
12596
+ }
12597
+ /**
12598
+ *
12599
+ * @export
12600
+ * @interface PayTerminalSessionTokenResponseDto
12601
+ */
12602
+ export interface PayTerminalSessionTokenResponseDto {
12603
+ /**
12604
+ * Ably TokenRequest scoped to the session channel.
12605
+ * @type {object}
12606
+ * @memberof PayTerminalSessionTokenResponseDto
12607
+ */
12608
+ 'ablyTokenRequest': object;
12609
+ /**
12610
+ *
12611
+ * @type {string}
12612
+ * @memberof PayTerminalSessionTokenResponseDto
12613
+ */
12614
+ 'sessionChannel': string;
12615
+ /**
12616
+ *
12617
+ * @type {string}
12618
+ * @memberof PayTerminalSessionTokenResponseDto
12619
+ */
12620
+ 'terminalName'?: string | null;
12621
+ }
12426
12622
  /**
12427
12623
  *
12428
12624
  * @export
@@ -23109,6 +23305,44 @@ export interface UnlockTerminalDto {
23109
23305
  */
23110
23306
  'employeeId': string;
23111
23307
  }
23308
+ /**
23309
+ *
23310
+ * @export
23311
+ * @interface UnpairPayTerminalBodyDto
23312
+ */
23313
+ export interface UnpairPayTerminalBodyDto {
23314
+ /**
23315
+ * Session id of the binding to tear down.
23316
+ * @type {string}
23317
+ * @memberof UnpairPayTerminalBodyDto
23318
+ */
23319
+ 'sessionId': string;
23320
+ /**
23321
+ *
23322
+ * @type {PayTerminalSessionRole}
23323
+ * @memberof UnpairPayTerminalBodyDto
23324
+ */
23325
+ 'role': PayTerminalSessionRole;
23326
+ /**
23327
+ * Requesting device id (posDeviceId or terminalId).
23328
+ * @type {string}
23329
+ * @memberof UnpairPayTerminalBodyDto
23330
+ */
23331
+ 'deviceId': string;
23332
+ }
23333
+ /**
23334
+ *
23335
+ * @export
23336
+ * @interface UnpairPayTerminalResponseDto
23337
+ */
23338
+ export interface UnpairPayTerminalResponseDto {
23339
+ /**
23340
+ * True once the binding is cleared (or already gone).
23341
+ * @type {boolean}
23342
+ * @memberof UnpairPayTerminalResponseDto
23343
+ */
23344
+ 'success': boolean;
23345
+ }
23112
23346
  /**
23113
23347
  *
23114
23348
  * @export
@@ -34110,6 +34344,207 @@ export declare class POSSessionApi extends BaseAPI implements POSSessionApiInter
34110
34344
  */
34111
34345
  getPosSessionV2(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PosSessionResponseDto, any, {}>>;
34112
34346
  }
34347
+ /**
34348
+ * PayTerminalApi - axios parameter creator
34349
+ * @export
34350
+ */
34351
+ export declare const PayTerminalApiAxiosParamCreator: (configuration?: Configuration) => {
34352
+ /**
34353
+ *
34354
+ * @summary Register a pay terminal and mint a pairing token + code.
34355
+ * @param {PayTerminalInitBodyDto} payTerminalInitBodyDto
34356
+ * @param {*} [options] Override http request option.
34357
+ * @throws {RequiredError}
34358
+ */
34359
+ payTerminalInit: (payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34360
+ /**
34361
+ *
34362
+ * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
34363
+ * @param {PairPayTerminalBodyDto} pairPayTerminalBodyDto
34364
+ * @param {*} [options] Override http request option.
34365
+ * @throws {RequiredError}
34366
+ */
34367
+ payTerminalPair: (pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34368
+ /**
34369
+ *
34370
+ * @summary Mint a session-channel Ably token scoped to the device role.
34371
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
34372
+ * @param {*} [options] Override http request option.
34373
+ * @throws {RequiredError}
34374
+ */
34375
+ payTerminalSessionToken: (payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34376
+ /**
34377
+ *
34378
+ * @summary Tear down the 1:1 binding; callable by either paired side (idempotent).
34379
+ * @param {UnpairPayTerminalBodyDto} unpairPayTerminalBodyDto
34380
+ * @param {*} [options] Override http request option.
34381
+ * @throws {RequiredError}
34382
+ */
34383
+ payTerminalUnpair: (unpairPayTerminalBodyDto: UnpairPayTerminalBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34384
+ };
34385
+ /**
34386
+ * PayTerminalApi - functional programming interface
34387
+ * @export
34388
+ */
34389
+ export declare const PayTerminalApiFp: (configuration?: Configuration) => {
34390
+ /**
34391
+ *
34392
+ * @summary Register a pay terminal and mint a pairing token + code.
34393
+ * @param {PayTerminalInitBodyDto} payTerminalInitBodyDto
34394
+ * @param {*} [options] Override http request option.
34395
+ * @throws {RequiredError}
34396
+ */
34397
+ payTerminalInit(payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayTerminalInitResponseDto>>;
34398
+ /**
34399
+ *
34400
+ * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
34401
+ * @param {PairPayTerminalBodyDto} pairPayTerminalBodyDto
34402
+ * @param {*} [options] Override http request option.
34403
+ * @throws {RequiredError}
34404
+ */
34405
+ payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PairPayTerminalResponseDto>>;
34406
+ /**
34407
+ *
34408
+ * @summary Mint a session-channel Ably token scoped to the device role.
34409
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
34410
+ * @param {*} [options] Override http request option.
34411
+ * @throws {RequiredError}
34412
+ */
34413
+ payTerminalSessionToken(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayTerminalSessionTokenResponseDto>>;
34414
+ /**
34415
+ *
34416
+ * @summary Tear down the 1:1 binding; callable by either paired side (idempotent).
34417
+ * @param {UnpairPayTerminalBodyDto} unpairPayTerminalBodyDto
34418
+ * @param {*} [options] Override http request option.
34419
+ * @throws {RequiredError}
34420
+ */
34421
+ payTerminalUnpair(unpairPayTerminalBodyDto: UnpairPayTerminalBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UnpairPayTerminalResponseDto>>;
34422
+ };
34423
+ /**
34424
+ * PayTerminalApi - factory interface
34425
+ * @export
34426
+ */
34427
+ export declare const PayTerminalApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
34428
+ /**
34429
+ *
34430
+ * @summary Register a pay terminal and mint a pairing token + code.
34431
+ * @param {PayTerminalInitBodyDto} payTerminalInitBodyDto
34432
+ * @param {*} [options] Override http request option.
34433
+ * @throws {RequiredError}
34434
+ */
34435
+ payTerminalInit(payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: any): AxiosPromise<PayTerminalInitResponseDto>;
34436
+ /**
34437
+ *
34438
+ * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
34439
+ * @param {PairPayTerminalBodyDto} pairPayTerminalBodyDto
34440
+ * @param {*} [options] Override http request option.
34441
+ * @throws {RequiredError}
34442
+ */
34443
+ payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: any): AxiosPromise<PairPayTerminalResponseDto>;
34444
+ /**
34445
+ *
34446
+ * @summary Mint a session-channel Ably token scoped to the device role.
34447
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
34448
+ * @param {*} [options] Override http request option.
34449
+ * @throws {RequiredError}
34450
+ */
34451
+ payTerminalSessionToken(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: any): AxiosPromise<PayTerminalSessionTokenResponseDto>;
34452
+ /**
34453
+ *
34454
+ * @summary Tear down the 1:1 binding; callable by either paired side (idempotent).
34455
+ * @param {UnpairPayTerminalBodyDto} unpairPayTerminalBodyDto
34456
+ * @param {*} [options] Override http request option.
34457
+ * @throws {RequiredError}
34458
+ */
34459
+ payTerminalUnpair(unpairPayTerminalBodyDto: UnpairPayTerminalBodyDto, options?: any): AxiosPromise<UnpairPayTerminalResponseDto>;
34460
+ };
34461
+ /**
34462
+ * PayTerminalApi - interface
34463
+ * @export
34464
+ * @interface PayTerminalApi
34465
+ */
34466
+ export interface PayTerminalApiInterface {
34467
+ /**
34468
+ *
34469
+ * @summary Register a pay terminal and mint a pairing token + code.
34470
+ * @param {PayTerminalInitBodyDto} payTerminalInitBodyDto
34471
+ * @param {*} [options] Override http request option.
34472
+ * @throws {RequiredError}
34473
+ * @memberof PayTerminalApiInterface
34474
+ */
34475
+ payTerminalInit(payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: AxiosRequestConfig): AxiosPromise<PayTerminalInitResponseDto>;
34476
+ /**
34477
+ *
34478
+ * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
34479
+ * @param {PairPayTerminalBodyDto} pairPayTerminalBodyDto
34480
+ * @param {*} [options] Override http request option.
34481
+ * @throws {RequiredError}
34482
+ * @memberof PayTerminalApiInterface
34483
+ */
34484
+ payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig): AxiosPromise<PairPayTerminalResponseDto>;
34485
+ /**
34486
+ *
34487
+ * @summary Mint a session-channel Ably token scoped to the device role.
34488
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
34489
+ * @param {*} [options] Override http request option.
34490
+ * @throws {RequiredError}
34491
+ * @memberof PayTerminalApiInterface
34492
+ */
34493
+ payTerminalSessionToken(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig): AxiosPromise<PayTerminalSessionTokenResponseDto>;
34494
+ /**
34495
+ *
34496
+ * @summary Tear down the 1:1 binding; callable by either paired side (idempotent).
34497
+ * @param {UnpairPayTerminalBodyDto} unpairPayTerminalBodyDto
34498
+ * @param {*} [options] Override http request option.
34499
+ * @throws {RequiredError}
34500
+ * @memberof PayTerminalApiInterface
34501
+ */
34502
+ payTerminalUnpair(unpairPayTerminalBodyDto: UnpairPayTerminalBodyDto, options?: AxiosRequestConfig): AxiosPromise<UnpairPayTerminalResponseDto>;
34503
+ }
34504
+ /**
34505
+ * PayTerminalApi - object-oriented interface
34506
+ * @export
34507
+ * @class PayTerminalApi
34508
+ * @extends {BaseAPI}
34509
+ */
34510
+ export declare class PayTerminalApi extends BaseAPI implements PayTerminalApiInterface {
34511
+ /**
34512
+ *
34513
+ * @summary Register a pay terminal and mint a pairing token + code.
34514
+ * @param {PayTerminalInitBodyDto} payTerminalInitBodyDto
34515
+ * @param {*} [options] Override http request option.
34516
+ * @throws {RequiredError}
34517
+ * @memberof PayTerminalApi
34518
+ */
34519
+ payTerminalInit(payTerminalInitBodyDto: PayTerminalInitBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayTerminalInitResponseDto, any, {}>>;
34520
+ /**
34521
+ *
34522
+ * @summary Pair a terminal with the POS using its code or nonce (strict 1:1).
34523
+ * @param {PairPayTerminalBodyDto} pairPayTerminalBodyDto
34524
+ * @param {*} [options] Override http request option.
34525
+ * @throws {RequiredError}
34526
+ * @memberof PayTerminalApi
34527
+ */
34528
+ payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PairPayTerminalResponseDto, any, {}>>;
34529
+ /**
34530
+ *
34531
+ * @summary Mint a session-channel Ably token scoped to the device role.
34532
+ * @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
34533
+ * @param {*} [options] Override http request option.
34534
+ * @throws {RequiredError}
34535
+ * @memberof PayTerminalApi
34536
+ */
34537
+ payTerminalSessionToken(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayTerminalSessionTokenResponseDto, any, {}>>;
34538
+ /**
34539
+ *
34540
+ * @summary Tear down the 1:1 binding; callable by either paired side (idempotent).
34541
+ * @param {UnpairPayTerminalBodyDto} unpairPayTerminalBodyDto
34542
+ * @param {*} [options] Override http request option.
34543
+ * @throws {RequiredError}
34544
+ * @memberof PayTerminalApi
34545
+ */
34546
+ payTerminalUnpair(unpairPayTerminalBodyDto: UnpairPayTerminalBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnpairPayTerminalResponseDto, any, {}>>;
34547
+ }
34113
34548
  /**
34114
34549
  * PaymentApi - axios parameter creator
34115
34550
  * @export
@@ -36361,6 +36796,22 @@ export declare class ProductApi extends BaseAPI implements ProductApiInterface {
36361
36796
  * @export
36362
36797
  */
36363
36798
  export declare const ProviderApiAxiosParamCreator: (configuration?: Configuration) => {
36799
+ /**
36800
+ *
36801
+ * @param {any} channel
36802
+ * @param {object} body
36803
+ * @param {*} [options] Override http request option.
36804
+ * @throws {RequiredError}
36805
+ */
36806
+ createOnboardingSession: (channel: any, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36807
+ /**
36808
+ *
36809
+ * @param {any} channel
36810
+ * @param {number} businessId
36811
+ * @param {*} [options] Override http request option.
36812
+ * @throws {RequiredError}
36813
+ */
36814
+ disconnectOnboarding: (channel: any, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36364
36815
  /**
36365
36816
  *
36366
36817
  * @summary Get provider integrations (MENU) for a business
@@ -36369,6 +36820,14 @@ export declare const ProviderApiAxiosParamCreator: (configuration?: Configuratio
36369
36820
  * @throws {RequiredError}
36370
36821
  */
36371
36822
  getMenuIntegrations: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36823
+ /**
36824
+ *
36825
+ * @param {any} channel
36826
+ * @param {number} businessId
36827
+ * @param {*} [options] Override http request option.
36828
+ * @throws {RequiredError}
36829
+ */
36830
+ getOnboardingStatus: (channel: any, businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36372
36831
  /**
36373
36832
  *
36374
36833
  * @summary Get supported channels for a business
@@ -36377,6 +36836,23 @@ export declare const ProviderApiAxiosParamCreator: (configuration?: Configuratio
36377
36836
  * @throws {RequiredError}
36378
36837
  */
36379
36838
  getSupportedChannels: (businessId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36839
+ /**
36840
+ *
36841
+ * @param {any} channel
36842
+ * @param {string} state
36843
+ * @param {*} [options] Override http request option.
36844
+ * @throws {RequiredError}
36845
+ */
36846
+ listOnboardingStores: (channel: any, state: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36847
+ /**
36848
+ *
36849
+ * @param {any} channel
36850
+ * @param {string} state
36851
+ * @param {object} body
36852
+ * @param {*} [options] Override http request option.
36853
+ * @throws {RequiredError}
36854
+ */
36855
+ provisionOnboardingStore: (channel: any, state: string, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36380
36856
  /**
36381
36857
  *
36382
36858
  * @param {object} body
@@ -36391,12 +36867,36 @@ export declare const ProviderApiAxiosParamCreator: (configuration?: Configuratio
36391
36867
  * @throws {RequiredError}
36392
36868
  */
36393
36869
  registerProvider: (body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36870
+ /**
36871
+ *
36872
+ * @param {number} businessId
36873
+ * @param {object} body
36874
+ * @param {*} [options] Override http request option.
36875
+ * @throws {RequiredError}
36876
+ */
36877
+ updateProviderSettings: (businessId: number, body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
36394
36878
  };
36395
36879
  /**
36396
36880
  * ProviderApi - functional programming interface
36397
36881
  * @export
36398
36882
  */
36399
36883
  export declare const ProviderApiFp: (configuration?: Configuration) => {
36884
+ /**
36885
+ *
36886
+ * @param {any} channel
36887
+ * @param {object} body
36888
+ * @param {*} [options] Override http request option.
36889
+ * @throws {RequiredError}
36890
+ */
36891
+ createOnboardingSession(channel: any, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
36892
+ /**
36893
+ *
36894
+ * @param {any} channel
36895
+ * @param {number} businessId
36896
+ * @param {*} [options] Override http request option.
36897
+ * @throws {RequiredError}
36898
+ */
36899
+ disconnectOnboarding(channel: any, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
36400
36900
  /**
36401
36901
  *
36402
36902
  * @summary Get provider integrations (MENU) for a business
@@ -36405,6 +36905,14 @@ export declare const ProviderApiFp: (configuration?: Configuration) => {
36405
36905
  * @throws {RequiredError}
36406
36906
  */
36407
36907
  getMenuIntegrations(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProviderIntegrationDto>>>;
36908
+ /**
36909
+ *
36910
+ * @param {any} channel
36911
+ * @param {number} businessId
36912
+ * @param {*} [options] Override http request option.
36913
+ * @throws {RequiredError}
36914
+ */
36915
+ getOnboardingStatus(channel: any, businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
36408
36916
  /**
36409
36917
  *
36410
36918
  * @summary Get supported channels for a business
@@ -36413,6 +36921,23 @@ export declare const ProviderApiFp: (configuration?: Configuration) => {
36413
36921
  * @throws {RequiredError}
36414
36922
  */
36415
36923
  getSupportedChannels(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSupportedChannelsResponseDto>>;
36924
+ /**
36925
+ *
36926
+ * @param {any} channel
36927
+ * @param {string} state
36928
+ * @param {*} [options] Override http request option.
36929
+ * @throws {RequiredError}
36930
+ */
36931
+ listOnboardingStores(channel: any, state: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
36932
+ /**
36933
+ *
36934
+ * @param {any} channel
36935
+ * @param {string} state
36936
+ * @param {object} body
36937
+ * @param {*} [options] Override http request option.
36938
+ * @throws {RequiredError}
36939
+ */
36940
+ provisionOnboardingStore(channel: any, state: string, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
36416
36941
  /**
36417
36942
  *
36418
36943
  * @param {object} body
@@ -36427,12 +36952,36 @@ export declare const ProviderApiFp: (configuration?: Configuration) => {
36427
36952
  * @throws {RequiredError}
36428
36953
  */
36429
36954
  registerProvider(body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
36955
+ /**
36956
+ *
36957
+ * @param {number} businessId
36958
+ * @param {object} body
36959
+ * @param {*} [options] Override http request option.
36960
+ * @throws {RequiredError}
36961
+ */
36962
+ updateProviderSettings(businessId: number, body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
36430
36963
  };
36431
36964
  /**
36432
36965
  * ProviderApi - factory interface
36433
36966
  * @export
36434
36967
  */
36435
36968
  export declare const ProviderApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
36969
+ /**
36970
+ *
36971
+ * @param {any} channel
36972
+ * @param {object} body
36973
+ * @param {*} [options] Override http request option.
36974
+ * @throws {RequiredError}
36975
+ */
36976
+ createOnboardingSession(channel: any, body: object, options?: any): AxiosPromise<void>;
36977
+ /**
36978
+ *
36979
+ * @param {any} channel
36980
+ * @param {number} businessId
36981
+ * @param {*} [options] Override http request option.
36982
+ * @throws {RequiredError}
36983
+ */
36984
+ disconnectOnboarding(channel: any, businessId: number, options?: any): AxiosPromise<void>;
36436
36985
  /**
36437
36986
  *
36438
36987
  * @summary Get provider integrations (MENU) for a business
@@ -36441,6 +36990,14 @@ export declare const ProviderApiFactory: (configuration?: Configuration, basePat
36441
36990
  * @throws {RequiredError}
36442
36991
  */
36443
36992
  getMenuIntegrations(businessId: number, options?: any): AxiosPromise<Array<ProviderIntegrationDto>>;
36993
+ /**
36994
+ *
36995
+ * @param {any} channel
36996
+ * @param {number} businessId
36997
+ * @param {*} [options] Override http request option.
36998
+ * @throws {RequiredError}
36999
+ */
37000
+ getOnboardingStatus(channel: any, businessId: number, options?: any): AxiosPromise<void>;
36444
37001
  /**
36445
37002
  *
36446
37003
  * @summary Get supported channels for a business
@@ -36449,6 +37006,23 @@ export declare const ProviderApiFactory: (configuration?: Configuration, basePat
36449
37006
  * @throws {RequiredError}
36450
37007
  */
36451
37008
  getSupportedChannels(businessId: number, options?: any): AxiosPromise<GetSupportedChannelsResponseDto>;
37009
+ /**
37010
+ *
37011
+ * @param {any} channel
37012
+ * @param {string} state
37013
+ * @param {*} [options] Override http request option.
37014
+ * @throws {RequiredError}
37015
+ */
37016
+ listOnboardingStores(channel: any, state: string, options?: any): AxiosPromise<void>;
37017
+ /**
37018
+ *
37019
+ * @param {any} channel
37020
+ * @param {string} state
37021
+ * @param {object} body
37022
+ * @param {*} [options] Override http request option.
37023
+ * @throws {RequiredError}
37024
+ */
37025
+ provisionOnboardingStore(channel: any, state: string, body: object, options?: any): AxiosPromise<void>;
36452
37026
  /**
36453
37027
  *
36454
37028
  * @param {object} body
@@ -36463,6 +37037,14 @@ export declare const ProviderApiFactory: (configuration?: Configuration, basePat
36463
37037
  * @throws {RequiredError}
36464
37038
  */
36465
37039
  registerProvider(body: object, options?: any): AxiosPromise<void>;
37040
+ /**
37041
+ *
37042
+ * @param {number} businessId
37043
+ * @param {object} body
37044
+ * @param {*} [options] Override http request option.
37045
+ * @throws {RequiredError}
37046
+ */
37047
+ updateProviderSettings(businessId: number, body: object, options?: any): AxiosPromise<void>;
36466
37048
  };
36467
37049
  /**
36468
37050
  * ProviderApi - interface
@@ -36470,6 +37052,24 @@ export declare const ProviderApiFactory: (configuration?: Configuration, basePat
36470
37052
  * @interface ProviderApi
36471
37053
  */
36472
37054
  export interface ProviderApiInterface {
37055
+ /**
37056
+ *
37057
+ * @param {any} channel
37058
+ * @param {object} body
37059
+ * @param {*} [options] Override http request option.
37060
+ * @throws {RequiredError}
37061
+ * @memberof ProviderApiInterface
37062
+ */
37063
+ createOnboardingSession(channel: any, body: object, options?: AxiosRequestConfig): AxiosPromise<void>;
37064
+ /**
37065
+ *
37066
+ * @param {any} channel
37067
+ * @param {number} businessId
37068
+ * @param {*} [options] Override http request option.
37069
+ * @throws {RequiredError}
37070
+ * @memberof ProviderApiInterface
37071
+ */
37072
+ disconnectOnboarding(channel: any, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
36473
37073
  /**
36474
37074
  *
36475
37075
  * @summary Get provider integrations (MENU) for a business
@@ -36479,6 +37079,15 @@ export interface ProviderApiInterface {
36479
37079
  * @memberof ProviderApiInterface
36480
37080
  */
36481
37081
  getMenuIntegrations(businessId: number, options?: AxiosRequestConfig): AxiosPromise<Array<ProviderIntegrationDto>>;
37082
+ /**
37083
+ *
37084
+ * @param {any} channel
37085
+ * @param {number} businessId
37086
+ * @param {*} [options] Override http request option.
37087
+ * @throws {RequiredError}
37088
+ * @memberof ProviderApiInterface
37089
+ */
37090
+ getOnboardingStatus(channel: any, businessId: number, options?: AxiosRequestConfig): AxiosPromise<void>;
36482
37091
  /**
36483
37092
  *
36484
37093
  * @summary Get supported channels for a business
@@ -36488,6 +37097,25 @@ export interface ProviderApiInterface {
36488
37097
  * @memberof ProviderApiInterface
36489
37098
  */
36490
37099
  getSupportedChannels(businessId: number, options?: AxiosRequestConfig): AxiosPromise<GetSupportedChannelsResponseDto>;
37100
+ /**
37101
+ *
37102
+ * @param {any} channel
37103
+ * @param {string} state
37104
+ * @param {*} [options] Override http request option.
37105
+ * @throws {RequiredError}
37106
+ * @memberof ProviderApiInterface
37107
+ */
37108
+ listOnboardingStores(channel: any, state: string, options?: AxiosRequestConfig): AxiosPromise<void>;
37109
+ /**
37110
+ *
37111
+ * @param {any} channel
37112
+ * @param {string} state
37113
+ * @param {object} body
37114
+ * @param {*} [options] Override http request option.
37115
+ * @throws {RequiredError}
37116
+ * @memberof ProviderApiInterface
37117
+ */
37118
+ provisionOnboardingStore(channel: any, state: string, body: object, options?: AxiosRequestConfig): AxiosPromise<void>;
36491
37119
  /**
36492
37120
  *
36493
37121
  * @param {object} body
@@ -36504,6 +37132,15 @@ export interface ProviderApiInterface {
36504
37132
  * @memberof ProviderApiInterface
36505
37133
  */
36506
37134
  registerProvider(body: object, options?: AxiosRequestConfig): AxiosPromise<void>;
37135
+ /**
37136
+ *
37137
+ * @param {number} businessId
37138
+ * @param {object} body
37139
+ * @param {*} [options] Override http request option.
37140
+ * @throws {RequiredError}
37141
+ * @memberof ProviderApiInterface
37142
+ */
37143
+ updateProviderSettings(businessId: number, body: object, options?: AxiosRequestConfig): AxiosPromise<void>;
36507
37144
  }
36508
37145
  /**
36509
37146
  * ProviderApi - object-oriented interface
@@ -36512,6 +37149,24 @@ export interface ProviderApiInterface {
36512
37149
  * @extends {BaseAPI}
36513
37150
  */
36514
37151
  export declare class ProviderApi extends BaseAPI implements ProviderApiInterface {
37152
+ /**
37153
+ *
37154
+ * @param {any} channel
37155
+ * @param {object} body
37156
+ * @param {*} [options] Override http request option.
37157
+ * @throws {RequiredError}
37158
+ * @memberof ProviderApi
37159
+ */
37160
+ createOnboardingSession(channel: any, body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
37161
+ /**
37162
+ *
37163
+ * @param {any} channel
37164
+ * @param {number} businessId
37165
+ * @param {*} [options] Override http request option.
37166
+ * @throws {RequiredError}
37167
+ * @memberof ProviderApi
37168
+ */
37169
+ disconnectOnboarding(channel: any, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
36515
37170
  /**
36516
37171
  *
36517
37172
  * @summary Get provider integrations (MENU) for a business
@@ -36521,6 +37176,15 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
36521
37176
  * @memberof ProviderApi
36522
37177
  */
36523
37178
  getMenuIntegrations(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProviderIntegrationDto[], any, {}>>;
37179
+ /**
37180
+ *
37181
+ * @param {any} channel
37182
+ * @param {number} businessId
37183
+ * @param {*} [options] Override http request option.
37184
+ * @throws {RequiredError}
37185
+ * @memberof ProviderApi
37186
+ */
37187
+ getOnboardingStatus(channel: any, businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
36524
37188
  /**
36525
37189
  *
36526
37190
  * @summary Get supported channels for a business
@@ -36530,6 +37194,25 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
36530
37194
  * @memberof ProviderApi
36531
37195
  */
36532
37196
  getSupportedChannels(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSupportedChannelsResponseDto, any, {}>>;
37197
+ /**
37198
+ *
37199
+ * @param {any} channel
37200
+ * @param {string} state
37201
+ * @param {*} [options] Override http request option.
37202
+ * @throws {RequiredError}
37203
+ * @memberof ProviderApi
37204
+ */
37205
+ listOnboardingStores(channel: any, state: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
37206
+ /**
37207
+ *
37208
+ * @param {any} channel
37209
+ * @param {string} state
37210
+ * @param {object} body
37211
+ * @param {*} [options] Override http request option.
37212
+ * @throws {RequiredError}
37213
+ * @memberof ProviderApi
37214
+ */
37215
+ provisionOnboardingStore(channel: any, state: string, body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
36533
37216
  /**
36534
37217
  *
36535
37218
  * @param {object} body
@@ -36546,6 +37229,15 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
36546
37229
  * @memberof ProviderApi
36547
37230
  */
36548
37231
  registerProvider(body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
37232
+ /**
37233
+ *
37234
+ * @param {number} businessId
37235
+ * @param {object} body
37236
+ * @param {*} [options] Override http request option.
37237
+ * @throws {RequiredError}
37238
+ * @memberof ProviderApi
37239
+ */
37240
+ updateProviderSettings(businessId: number, body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
36549
37241
  }
36550
37242
  /**
36551
37243
  * RefundsApi - axios parameter creator