@munchi_oy/core 1.9.95 → 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.
- package/dist/generated/api.d.ts +692 -42
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +1098 -42
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -3737,12 +3737,6 @@ export interface CreateManualSessionDtoOrder {
|
|
|
3737
3737
|
* @memberof CreateManualSessionDtoOrder
|
|
3738
3738
|
*/
|
|
3739
3739
|
'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
3740
|
}
|
|
3747
3741
|
/**
|
|
3748
3742
|
* Split context. Omit for a full-cart payment, or send { mode, partId|seatId } for a split. Must match the order\'s checkoutModel.
|
|
@@ -6923,6 +6917,12 @@ export interface InitiateVivaSessionDto {
|
|
|
6923
6917
|
* @memberof InitiateVivaSessionDto
|
|
6924
6918
|
*/
|
|
6925
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;
|
|
6926
6926
|
}
|
|
6927
6927
|
/**
|
|
6928
6928
|
*
|
|
@@ -12429,6 +12429,196 @@ export interface PairDisplayResponseDto {
|
|
|
12429
12429
|
*/
|
|
12430
12430
|
'displayId': string;
|
|
12431
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
|
+
}
|
|
12432
12622
|
/**
|
|
12433
12623
|
*
|
|
12434
12624
|
* @export
|
|
@@ -15606,12 +15796,6 @@ export interface PosOrderDto {
|
|
|
15606
15796
|
* @memberof PosOrderDto
|
|
15607
15797
|
*/
|
|
15608
15798
|
'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
15799
|
}
|
|
15616
15800
|
/**
|
|
15617
15801
|
* Equal split state persisted for the order
|
|
@@ -16430,12 +16614,6 @@ export interface PosOrderPayloadDtoOrder {
|
|
|
16430
16614
|
* @memberof PosOrderPayloadDtoOrder
|
|
16431
16615
|
*/
|
|
16432
16616
|
'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
16617
|
}
|
|
16440
16618
|
/**
|
|
16441
16619
|
*
|
|
@@ -17332,12 +17510,6 @@ export interface ProcessOrderActionsResponseDtoOrder {
|
|
|
17332
17510
|
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
17333
17511
|
*/
|
|
17334
17512
|
'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
17513
|
}
|
|
17342
17514
|
/**
|
|
17343
17515
|
*
|
|
@@ -18601,12 +18773,6 @@ export interface RecordManualPaymentResultDtoOrder {
|
|
|
18601
18773
|
* @memberof RecordManualPaymentResultDtoOrder
|
|
18602
18774
|
*/
|
|
18603
18775
|
'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
18776
|
}
|
|
18611
18777
|
/**
|
|
18612
18778
|
*
|
|
@@ -20802,12 +20968,6 @@ export interface SyncKioskOrderDtoOrder {
|
|
|
20802
20968
|
* @memberof SyncKioskOrderDtoOrder
|
|
20803
20969
|
*/
|
|
20804
20970
|
'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
20971
|
}
|
|
20812
20972
|
/**
|
|
20813
20973
|
*
|
|
@@ -21093,12 +21253,6 @@ export interface SyncPosOrderDtoOrder {
|
|
|
21093
21253
|
* @memberof SyncPosOrderDtoOrder
|
|
21094
21254
|
*/
|
|
21095
21255
|
'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
21256
|
}
|
|
21103
21257
|
/**
|
|
21104
21258
|
* POS order actions to run in the background after persist (same shape as /pos/actions). Omit to only sync the order.
|
|
@@ -23151,6 +23305,44 @@ export interface UnlockTerminalDto {
|
|
|
23151
23305
|
*/
|
|
23152
23306
|
'employeeId': string;
|
|
23153
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
|
+
}
|
|
23154
23346
|
/**
|
|
23155
23347
|
*
|
|
23156
23348
|
* @export
|
|
@@ -34152,6 +34344,207 @@ export declare class POSSessionApi extends BaseAPI implements POSSessionApiInter
|
|
|
34152
34344
|
*/
|
|
34153
34345
|
getPosSessionV2(businessId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PosSessionResponseDto, any, {}>>;
|
|
34154
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
|
+
}
|
|
34155
34548
|
/**
|
|
34156
34549
|
* PaymentApi - axios parameter creator
|
|
34157
34550
|
* @export
|
|
@@ -36403,6 +36796,22 @@ export declare class ProductApi extends BaseAPI implements ProductApiInterface {
|
|
|
36403
36796
|
* @export
|
|
36404
36797
|
*/
|
|
36405
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>;
|
|
36406
36815
|
/**
|
|
36407
36816
|
*
|
|
36408
36817
|
* @summary Get provider integrations (MENU) for a business
|
|
@@ -36411,6 +36820,14 @@ export declare const ProviderApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
36411
36820
|
* @throws {RequiredError}
|
|
36412
36821
|
*/
|
|
36413
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>;
|
|
36414
36831
|
/**
|
|
36415
36832
|
*
|
|
36416
36833
|
* @summary Get supported channels for a business
|
|
@@ -36419,6 +36836,23 @@ export declare const ProviderApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
36419
36836
|
* @throws {RequiredError}
|
|
36420
36837
|
*/
|
|
36421
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>;
|
|
36422
36856
|
/**
|
|
36423
36857
|
*
|
|
36424
36858
|
* @param {object} body
|
|
@@ -36433,12 +36867,36 @@ export declare const ProviderApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
36433
36867
|
* @throws {RequiredError}
|
|
36434
36868
|
*/
|
|
36435
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>;
|
|
36436
36878
|
};
|
|
36437
36879
|
/**
|
|
36438
36880
|
* ProviderApi - functional programming interface
|
|
36439
36881
|
* @export
|
|
36440
36882
|
*/
|
|
36441
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>>;
|
|
36442
36900
|
/**
|
|
36443
36901
|
*
|
|
36444
36902
|
* @summary Get provider integrations (MENU) for a business
|
|
@@ -36447,6 +36905,14 @@ export declare const ProviderApiFp: (configuration?: Configuration) => {
|
|
|
36447
36905
|
* @throws {RequiredError}
|
|
36448
36906
|
*/
|
|
36449
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>>;
|
|
36450
36916
|
/**
|
|
36451
36917
|
*
|
|
36452
36918
|
* @summary Get supported channels for a business
|
|
@@ -36455,6 +36921,23 @@ export declare const ProviderApiFp: (configuration?: Configuration) => {
|
|
|
36455
36921
|
* @throws {RequiredError}
|
|
36456
36922
|
*/
|
|
36457
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>>;
|
|
36458
36941
|
/**
|
|
36459
36942
|
*
|
|
36460
36943
|
* @param {object} body
|
|
@@ -36469,12 +36952,36 @@ export declare const ProviderApiFp: (configuration?: Configuration) => {
|
|
|
36469
36952
|
* @throws {RequiredError}
|
|
36470
36953
|
*/
|
|
36471
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>>;
|
|
36472
36963
|
};
|
|
36473
36964
|
/**
|
|
36474
36965
|
* ProviderApi - factory interface
|
|
36475
36966
|
* @export
|
|
36476
36967
|
*/
|
|
36477
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>;
|
|
36478
36985
|
/**
|
|
36479
36986
|
*
|
|
36480
36987
|
* @summary Get provider integrations (MENU) for a business
|
|
@@ -36483,6 +36990,14 @@ export declare const ProviderApiFactory: (configuration?: Configuration, basePat
|
|
|
36483
36990
|
* @throws {RequiredError}
|
|
36484
36991
|
*/
|
|
36485
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>;
|
|
36486
37001
|
/**
|
|
36487
37002
|
*
|
|
36488
37003
|
* @summary Get supported channels for a business
|
|
@@ -36491,6 +37006,23 @@ export declare const ProviderApiFactory: (configuration?: Configuration, basePat
|
|
|
36491
37006
|
* @throws {RequiredError}
|
|
36492
37007
|
*/
|
|
36493
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>;
|
|
36494
37026
|
/**
|
|
36495
37027
|
*
|
|
36496
37028
|
* @param {object} body
|
|
@@ -36505,6 +37037,14 @@ export declare const ProviderApiFactory: (configuration?: Configuration, basePat
|
|
|
36505
37037
|
* @throws {RequiredError}
|
|
36506
37038
|
*/
|
|
36507
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>;
|
|
36508
37048
|
};
|
|
36509
37049
|
/**
|
|
36510
37050
|
* ProviderApi - interface
|
|
@@ -36512,6 +37052,24 @@ export declare const ProviderApiFactory: (configuration?: Configuration, basePat
|
|
|
36512
37052
|
* @interface ProviderApi
|
|
36513
37053
|
*/
|
|
36514
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>;
|
|
36515
37073
|
/**
|
|
36516
37074
|
*
|
|
36517
37075
|
* @summary Get provider integrations (MENU) for a business
|
|
@@ -36521,6 +37079,15 @@ export interface ProviderApiInterface {
|
|
|
36521
37079
|
* @memberof ProviderApiInterface
|
|
36522
37080
|
*/
|
|
36523
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>;
|
|
36524
37091
|
/**
|
|
36525
37092
|
*
|
|
36526
37093
|
* @summary Get supported channels for a business
|
|
@@ -36530,6 +37097,25 @@ export interface ProviderApiInterface {
|
|
|
36530
37097
|
* @memberof ProviderApiInterface
|
|
36531
37098
|
*/
|
|
36532
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>;
|
|
36533
37119
|
/**
|
|
36534
37120
|
*
|
|
36535
37121
|
* @param {object} body
|
|
@@ -36546,6 +37132,15 @@ export interface ProviderApiInterface {
|
|
|
36546
37132
|
* @memberof ProviderApiInterface
|
|
36547
37133
|
*/
|
|
36548
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>;
|
|
36549
37144
|
}
|
|
36550
37145
|
/**
|
|
36551
37146
|
* ProviderApi - object-oriented interface
|
|
@@ -36554,6 +37149,24 @@ export interface ProviderApiInterface {
|
|
|
36554
37149
|
* @extends {BaseAPI}
|
|
36555
37150
|
*/
|
|
36556
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, {}>>;
|
|
36557
37170
|
/**
|
|
36558
37171
|
*
|
|
36559
37172
|
* @summary Get provider integrations (MENU) for a business
|
|
@@ -36563,6 +37176,15 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
|
|
|
36563
37176
|
* @memberof ProviderApi
|
|
36564
37177
|
*/
|
|
36565
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, {}>>;
|
|
36566
37188
|
/**
|
|
36567
37189
|
*
|
|
36568
37190
|
* @summary Get supported channels for a business
|
|
@@ -36572,6 +37194,25 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
|
|
|
36572
37194
|
* @memberof ProviderApi
|
|
36573
37195
|
*/
|
|
36574
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, {}>>;
|
|
36575
37216
|
/**
|
|
36576
37217
|
*
|
|
36577
37218
|
* @param {object} body
|
|
@@ -36588,6 +37229,15 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
|
|
|
36588
37229
|
* @memberof ProviderApi
|
|
36589
37230
|
*/
|
|
36590
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, {}>>;
|
|
36591
37241
|
}
|
|
36592
37242
|
/**
|
|
36593
37243
|
* RefundsApi - axios parameter creator
|