@munchi_oy/core 1.9.128 → 1.9.130
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 +1088 -0
- 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 +1406 -65
- package/package.json +13 -15
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -2799,6 +2799,48 @@ export interface ClockOutRequestDto {
|
|
|
2799
2799
|
*/
|
|
2800
2800
|
'employeeId': string;
|
|
2801
2801
|
}
|
|
2802
|
+
/**
|
|
2803
|
+
*
|
|
2804
|
+
* @export
|
|
2805
|
+
* @interface CompleteOrderDto
|
|
2806
|
+
*/
|
|
2807
|
+
export interface CompleteOrderDto {
|
|
2808
|
+
/**
|
|
2809
|
+
* Collection the order is stored in
|
|
2810
|
+
* @type {string}
|
|
2811
|
+
* @memberof CompleteOrderDto
|
|
2812
|
+
*/
|
|
2813
|
+
'orderCollection': OrderCollectionEnum;
|
|
2814
|
+
}
|
|
2815
|
+
export declare const OrderCollectionEnum: {
|
|
2816
|
+
readonly Kiosk: "kiosk";
|
|
2817
|
+
};
|
|
2818
|
+
export type OrderCollectionEnum = typeof OrderCollectionEnum[keyof typeof OrderCollectionEnum];
|
|
2819
|
+
/**
|
|
2820
|
+
*
|
|
2821
|
+
* @export
|
|
2822
|
+
* @interface CompleteOrderResponseDto
|
|
2823
|
+
*/
|
|
2824
|
+
export interface CompleteOrderResponseDto {
|
|
2825
|
+
/**
|
|
2826
|
+
* Id of the completed order
|
|
2827
|
+
* @type {string}
|
|
2828
|
+
* @memberof CompleteOrderResponseDto
|
|
2829
|
+
*/
|
|
2830
|
+
'orderId': string;
|
|
2831
|
+
/**
|
|
2832
|
+
* The order is completed whenever this answers 200
|
|
2833
|
+
* @type {boolean}
|
|
2834
|
+
* @memberof CompleteOrderResponseDto
|
|
2835
|
+
*/
|
|
2836
|
+
'completed': boolean;
|
|
2837
|
+
/**
|
|
2838
|
+
* True when an earlier call already completed the order, so this call only announced its completion again
|
|
2839
|
+
* @type {boolean}
|
|
2840
|
+
* @memberof CompleteOrderResponseDto
|
|
2841
|
+
*/
|
|
2842
|
+
'alreadyCompleted': boolean;
|
|
2843
|
+
}
|
|
2802
2844
|
/**
|
|
2803
2845
|
*
|
|
2804
2846
|
* @export
|
|
@@ -3834,6 +3876,12 @@ export interface CreateManualSessionDtoOrder {
|
|
|
3834
3876
|
* @memberof CreateManualSessionDtoOrder
|
|
3835
3877
|
*/
|
|
3836
3878
|
'tableGroupId'?: string | null;
|
|
3879
|
+
/**
|
|
3880
|
+
*
|
|
3881
|
+
* @type {PosOrderDtoLoyalty}
|
|
3882
|
+
* @memberof CreateManualSessionDtoOrder
|
|
3883
|
+
*/
|
|
3884
|
+
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
3837
3885
|
}
|
|
3838
3886
|
/**
|
|
3839
3887
|
* Split context. Omit for a full-cart payment, or send { mode, partId|seatId } for a split. Must match the order\'s checkoutModel.
|
|
@@ -9194,6 +9242,152 @@ export declare const LoyaltyActionKey: {
|
|
|
9194
9242
|
readonly GetAdminHistory: "getAdminHistory";
|
|
9195
9243
|
};
|
|
9196
9244
|
export type LoyaltyActionKey = typeof LoyaltyActionKey[keyof typeof LoyaltyActionKey];
|
|
9245
|
+
/**
|
|
9246
|
+
*
|
|
9247
|
+
* @export
|
|
9248
|
+
* @interface LoyaltyActionOverrideDto
|
|
9249
|
+
*/
|
|
9250
|
+
export interface LoyaltyActionOverrideDto {
|
|
9251
|
+
/**
|
|
9252
|
+
*
|
|
9253
|
+
* @type {number}
|
|
9254
|
+
* @memberof LoyaltyActionOverrideDto
|
|
9255
|
+
*/
|
|
9256
|
+
'value'?: number;
|
|
9257
|
+
/**
|
|
9258
|
+
*
|
|
9259
|
+
* @type {string}
|
|
9260
|
+
* @memberof LoyaltyActionOverrideDto
|
|
9261
|
+
*/
|
|
9262
|
+
'currency'?: string | null;
|
|
9263
|
+
/**
|
|
9264
|
+
*
|
|
9265
|
+
* @type {number}
|
|
9266
|
+
* @memberof LoyaltyActionOverrideDto
|
|
9267
|
+
*/
|
|
9268
|
+
'max_units'?: number | null;
|
|
9269
|
+
/**
|
|
9270
|
+
*
|
|
9271
|
+
* @type {number}
|
|
9272
|
+
* @memberof LoyaltyActionOverrideDto
|
|
9273
|
+
*/
|
|
9274
|
+
'max_applications'?: number | null;
|
|
9275
|
+
}
|
|
9276
|
+
/**
|
|
9277
|
+
*
|
|
9278
|
+
* @export
|
|
9279
|
+
* @interface LoyaltyActionTargetDto
|
|
9280
|
+
*/
|
|
9281
|
+
export interface LoyaltyActionTargetDto {
|
|
9282
|
+
/**
|
|
9283
|
+
*
|
|
9284
|
+
* @type {Array<number>}
|
|
9285
|
+
* @memberof LoyaltyActionTargetDto
|
|
9286
|
+
*/
|
|
9287
|
+
'product_ids': Array<number>;
|
|
9288
|
+
/**
|
|
9289
|
+
*
|
|
9290
|
+
* @type {Array<number>}
|
|
9291
|
+
* @memberof LoyaltyActionTargetDto
|
|
9292
|
+
*/
|
|
9293
|
+
'category_ids': Array<number>;
|
|
9294
|
+
/**
|
|
9295
|
+
*
|
|
9296
|
+
* @type {Array<number>}
|
|
9297
|
+
* @memberof LoyaltyActionTargetDto
|
|
9298
|
+
*/
|
|
9299
|
+
'exclude_product_ids': Array<number>;
|
|
9300
|
+
/**
|
|
9301
|
+
*
|
|
9302
|
+
* @type {Array<number>}
|
|
9303
|
+
* @memberof LoyaltyActionTargetDto
|
|
9304
|
+
*/
|
|
9305
|
+
'exclude_category_ids': Array<number>;
|
|
9306
|
+
/**
|
|
9307
|
+
*
|
|
9308
|
+
* @type {boolean}
|
|
9309
|
+
* @memberof LoyaltyActionTargetDto
|
|
9310
|
+
*/
|
|
9311
|
+
'exclude_alcohol': boolean;
|
|
9312
|
+
}
|
|
9313
|
+
/**
|
|
9314
|
+
*
|
|
9315
|
+
* @export
|
|
9316
|
+
* @interface LoyaltyBusinessScopeDto
|
|
9317
|
+
*/
|
|
9318
|
+
export interface LoyaltyBusinessScopeDto {
|
|
9319
|
+
/**
|
|
9320
|
+
*
|
|
9321
|
+
* @type {number}
|
|
9322
|
+
* @memberof LoyaltyBusinessScopeDto
|
|
9323
|
+
*/
|
|
9324
|
+
'business_id': number;
|
|
9325
|
+
/**
|
|
9326
|
+
*
|
|
9327
|
+
* @type {Array<LoyaltyConditionBindingDto>}
|
|
9328
|
+
* @memberof LoyaltyBusinessScopeDto
|
|
9329
|
+
*/
|
|
9330
|
+
'condition_bindings': Array<LoyaltyConditionBindingDto>;
|
|
9331
|
+
/**
|
|
9332
|
+
*
|
|
9333
|
+
* @type {LoyaltyActionTargetDto}
|
|
9334
|
+
* @memberof LoyaltyBusinessScopeDto
|
|
9335
|
+
*/
|
|
9336
|
+
'action_target': LoyaltyActionTargetDto;
|
|
9337
|
+
/**
|
|
9338
|
+
*
|
|
9339
|
+
* @type {LoyaltyActionOverrideDto}
|
|
9340
|
+
* @memberof LoyaltyBusinessScopeDto
|
|
9341
|
+
*/
|
|
9342
|
+
'action_override'?: LoyaltyActionOverrideDto | null;
|
|
9343
|
+
}
|
|
9344
|
+
/**
|
|
9345
|
+
*
|
|
9346
|
+
* @export
|
|
9347
|
+
* @enum {string}
|
|
9348
|
+
*/
|
|
9349
|
+
export declare const LoyaltyCatalogType: {
|
|
9350
|
+
readonly Product: "product";
|
|
9351
|
+
readonly Coupon: "coupon";
|
|
9352
|
+
};
|
|
9353
|
+
export type LoyaltyCatalogType = typeof LoyaltyCatalogType[keyof typeof LoyaltyCatalogType];
|
|
9354
|
+
/**
|
|
9355
|
+
*
|
|
9356
|
+
* @export
|
|
9357
|
+
* @enum {string}
|
|
9358
|
+
*/
|
|
9359
|
+
export declare const LoyaltyChannel: {
|
|
9360
|
+
readonly Kiosk: "kiosk";
|
|
9361
|
+
readonly Pos: "pos";
|
|
9362
|
+
readonly Online: "online";
|
|
9363
|
+
readonly Mobile: "mobile";
|
|
9364
|
+
};
|
|
9365
|
+
export type LoyaltyChannel = typeof LoyaltyChannel[keyof typeof LoyaltyChannel];
|
|
9366
|
+
/**
|
|
9367
|
+
*
|
|
9368
|
+
* @export
|
|
9369
|
+
* @interface LoyaltyConditionBindingDto
|
|
9370
|
+
*/
|
|
9371
|
+
export interface LoyaltyConditionBindingDto {
|
|
9372
|
+
/**
|
|
9373
|
+
*
|
|
9374
|
+
* @type {string}
|
|
9375
|
+
* @memberof LoyaltyConditionBindingDto
|
|
9376
|
+
*/
|
|
9377
|
+
'condition_id': string;
|
|
9378
|
+
/**
|
|
9379
|
+
*
|
|
9380
|
+
* @type {Array<number>}
|
|
9381
|
+
* @memberof LoyaltyConditionBindingDto
|
|
9382
|
+
*/
|
|
9383
|
+
'product_ids': Array<number>;
|
|
9384
|
+
/**
|
|
9385
|
+
*
|
|
9386
|
+
* @type {Array<number>}
|
|
9387
|
+
* @memberof LoyaltyConditionBindingDto
|
|
9388
|
+
*/
|
|
9389
|
+
'category_ids': Array<number>;
|
|
9390
|
+
}
|
|
9197
9391
|
/**
|
|
9198
9392
|
*
|
|
9199
9393
|
* @export
|
|
@@ -9345,6 +9539,183 @@ export interface LoyaltyLinkMetadataDto {
|
|
|
9345
9539
|
*/
|
|
9346
9540
|
'venueId': number;
|
|
9347
9541
|
}
|
|
9542
|
+
/**
|
|
9543
|
+
*
|
|
9544
|
+
* @export
|
|
9545
|
+
* @interface LoyaltyMemberContextDto
|
|
9546
|
+
*/
|
|
9547
|
+
export interface LoyaltyMemberContextDto {
|
|
9548
|
+
/**
|
|
9549
|
+
* Loyalty user id the member context was resolved for
|
|
9550
|
+
* @type {number}
|
|
9551
|
+
* @memberof LoyaltyMemberContextDto
|
|
9552
|
+
*/
|
|
9553
|
+
'user_id': number;
|
|
9554
|
+
/**
|
|
9555
|
+
* Business the member context was resolved for
|
|
9556
|
+
* @type {number}
|
|
9557
|
+
* @memberof LoyaltyMemberContextDto
|
|
9558
|
+
*/
|
|
9559
|
+
'business_id': number;
|
|
9560
|
+
/**
|
|
9561
|
+
*
|
|
9562
|
+
* @type {LoyaltyChannel}
|
|
9563
|
+
* @memberof LoyaltyMemberContextDto
|
|
9564
|
+
*/
|
|
9565
|
+
'channel': LoyaltyChannel;
|
|
9566
|
+
/**
|
|
9567
|
+
* Points the member can still spend, excluding expired batches
|
|
9568
|
+
* @type {number}
|
|
9569
|
+
* @memberof LoyaltyMemberContextDto
|
|
9570
|
+
*/
|
|
9571
|
+
'points_balance': number;
|
|
9572
|
+
/**
|
|
9573
|
+
* Rewards available to this member on this channel
|
|
9574
|
+
* @type {Array<LoyaltyMemberContextRewardDto>}
|
|
9575
|
+
* @memberof LoyaltyMemberContextDto
|
|
9576
|
+
*/
|
|
9577
|
+
'rewards': Array<LoyaltyMemberContextRewardDto>;
|
|
9578
|
+
}
|
|
9579
|
+
/**
|
|
9580
|
+
*
|
|
9581
|
+
* @export
|
|
9582
|
+
* @interface LoyaltyMemberContextRequestDto
|
|
9583
|
+
*/
|
|
9584
|
+
export interface LoyaltyMemberContextRequestDto {
|
|
9585
|
+
/**
|
|
9586
|
+
* Loyalty user id the context is resolved for
|
|
9587
|
+
* @type {number}
|
|
9588
|
+
* @memberof LoyaltyMemberContextRequestDto
|
|
9589
|
+
*/
|
|
9590
|
+
'user_id': number;
|
|
9591
|
+
/**
|
|
9592
|
+
* Business the caller is asking about
|
|
9593
|
+
* @type {number}
|
|
9594
|
+
* @memberof LoyaltyMemberContextRequestDto
|
|
9595
|
+
*/
|
|
9596
|
+
'business_id': number;
|
|
9597
|
+
/**
|
|
9598
|
+
*
|
|
9599
|
+
* @type {LoyaltyChannel}
|
|
9600
|
+
* @memberof LoyaltyMemberContextRequestDto
|
|
9601
|
+
*/
|
|
9602
|
+
'channel': LoyaltyChannel;
|
|
9603
|
+
}
|
|
9604
|
+
/**
|
|
9605
|
+
*
|
|
9606
|
+
* @export
|
|
9607
|
+
* @interface LoyaltyMemberContextRewardDto
|
|
9608
|
+
*/
|
|
9609
|
+
export interface LoyaltyMemberContextRewardDto {
|
|
9610
|
+
/**
|
|
9611
|
+
*
|
|
9612
|
+
* @type {number}
|
|
9613
|
+
* @memberof LoyaltyMemberContextRewardDto
|
|
9614
|
+
*/
|
|
9615
|
+
'catalog_id': number;
|
|
9616
|
+
/**
|
|
9617
|
+
*
|
|
9618
|
+
* @type {LoyaltyRewardType}
|
|
9619
|
+
* @memberof LoyaltyMemberContextRewardDto
|
|
9620
|
+
*/
|
|
9621
|
+
'type': LoyaltyRewardType;
|
|
9622
|
+
/**
|
|
9623
|
+
*
|
|
9624
|
+
* @type {string}
|
|
9625
|
+
* @memberof LoyaltyMemberContextRewardDto
|
|
9626
|
+
*/
|
|
9627
|
+
'name': string;
|
|
9628
|
+
/**
|
|
9629
|
+
*
|
|
9630
|
+
* @type {string}
|
|
9631
|
+
* @memberof LoyaltyMemberContextRewardDto
|
|
9632
|
+
*/
|
|
9633
|
+
'description'?: string | null;
|
|
9634
|
+
/**
|
|
9635
|
+
* Points a member spends; always null for a coupon
|
|
9636
|
+
* @type {number}
|
|
9637
|
+
* @memberof LoyaltyMemberContextRewardDto
|
|
9638
|
+
*/
|
|
9639
|
+
'points_cost': number | null;
|
|
9640
|
+
/**
|
|
9641
|
+
*
|
|
9642
|
+
* @type {Array<LoyaltyMemberContextRuleDto>}
|
|
9643
|
+
* @memberof LoyaltyMemberContextRewardDto
|
|
9644
|
+
*/
|
|
9645
|
+
'rules': Array<LoyaltyMemberContextRuleDto>;
|
|
9646
|
+
}
|
|
9647
|
+
/**
|
|
9648
|
+
*
|
|
9649
|
+
* @export
|
|
9650
|
+
* @interface LoyaltyMemberContextRuleDto
|
|
9651
|
+
*/
|
|
9652
|
+
export interface LoyaltyMemberContextRuleDto {
|
|
9653
|
+
/**
|
|
9654
|
+
*
|
|
9655
|
+
* @type {number}
|
|
9656
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9657
|
+
*/
|
|
9658
|
+
'rule_id': number;
|
|
9659
|
+
/**
|
|
9660
|
+
*
|
|
9661
|
+
* @type {number}
|
|
9662
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9663
|
+
*/
|
|
9664
|
+
'revision': number;
|
|
9665
|
+
/**
|
|
9666
|
+
*
|
|
9667
|
+
* @type {LoyaltyRuleApplicationMode}
|
|
9668
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9669
|
+
*/
|
|
9670
|
+
'application_mode': LoyaltyRuleApplicationMode;
|
|
9671
|
+
/**
|
|
9672
|
+
*
|
|
9673
|
+
* @type {LoyaltyRuleStackingMode}
|
|
9674
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9675
|
+
*/
|
|
9676
|
+
'stacking_mode': LoyaltyRuleStackingMode;
|
|
9677
|
+
/**
|
|
9678
|
+
*
|
|
9679
|
+
* @type {Array<LoyaltyRuleConditionDto>}
|
|
9680
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9681
|
+
*/
|
|
9682
|
+
'conditions': Array<LoyaltyRuleConditionDto>;
|
|
9683
|
+
/**
|
|
9684
|
+
*
|
|
9685
|
+
* @type {boolean}
|
|
9686
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9687
|
+
*/
|
|
9688
|
+
'repeatable': boolean;
|
|
9689
|
+
/**
|
|
9690
|
+
*
|
|
9691
|
+
* @type {number}
|
|
9692
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9693
|
+
*/
|
|
9694
|
+
'max_applications': number | null;
|
|
9695
|
+
/**
|
|
9696
|
+
*
|
|
9697
|
+
* @type {LoyaltyRuleActionDto}
|
|
9698
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9699
|
+
*/
|
|
9700
|
+
'action': LoyaltyRuleActionDto;
|
|
9701
|
+
/**
|
|
9702
|
+
*
|
|
9703
|
+
* @type {LoyaltyBusinessScopeDto}
|
|
9704
|
+
* @memberof LoyaltyMemberContextRuleDto
|
|
9705
|
+
*/
|
|
9706
|
+
'business_scope': LoyaltyBusinessScopeDto;
|
|
9707
|
+
}
|
|
9708
|
+
/**
|
|
9709
|
+
*
|
|
9710
|
+
* @export
|
|
9711
|
+
* @enum {string}
|
|
9712
|
+
*/
|
|
9713
|
+
export declare const LoyaltyRedemptionStatus: {
|
|
9714
|
+
readonly Pending: "pending";
|
|
9715
|
+
readonly Redeemed: "redeemed";
|
|
9716
|
+
readonly Reversed: "reversed";
|
|
9717
|
+
};
|
|
9718
|
+
export type LoyaltyRedemptionStatus = typeof LoyaltyRedemptionStatus[keyof typeof LoyaltyRedemptionStatus];
|
|
9348
9719
|
/**
|
|
9349
9720
|
*
|
|
9350
9721
|
* @export
|
|
@@ -9389,6 +9760,190 @@ export interface LoyaltyResolveResponseDto {
|
|
|
9389
9760
|
*/
|
|
9390
9761
|
'perks': Array<ResolvedPerkDto>;
|
|
9391
9762
|
}
|
|
9763
|
+
/**
|
|
9764
|
+
*
|
|
9765
|
+
* @export
|
|
9766
|
+
* @enum {string}
|
|
9767
|
+
*/
|
|
9768
|
+
export declare const LoyaltyRestoreRequestStatus: {
|
|
9769
|
+
readonly Requested: "REQUESTED";
|
|
9770
|
+
readonly AlreadyReversed: "ALREADY_REVERSED";
|
|
9771
|
+
};
|
|
9772
|
+
export type LoyaltyRestoreRequestStatus = typeof LoyaltyRestoreRequestStatus[keyof typeof LoyaltyRestoreRequestStatus];
|
|
9773
|
+
/**
|
|
9774
|
+
*
|
|
9775
|
+
* @export
|
|
9776
|
+
* @enum {string}
|
|
9777
|
+
*/
|
|
9778
|
+
export declare const LoyaltyRewardType: {
|
|
9779
|
+
readonly Product: "product";
|
|
9780
|
+
readonly Coupon: "coupon";
|
|
9781
|
+
};
|
|
9782
|
+
export type LoyaltyRewardType = typeof LoyaltyRewardType[keyof typeof LoyaltyRewardType];
|
|
9783
|
+
/**
|
|
9784
|
+
*
|
|
9785
|
+
* @export
|
|
9786
|
+
* @interface LoyaltyRuleActionDto
|
|
9787
|
+
*/
|
|
9788
|
+
export interface LoyaltyRuleActionDto {
|
|
9789
|
+
/**
|
|
9790
|
+
*
|
|
9791
|
+
* @type {LoyaltyRuleActionType}
|
|
9792
|
+
* @memberof LoyaltyRuleActionDto
|
|
9793
|
+
*/
|
|
9794
|
+
'type': LoyaltyRuleActionType;
|
|
9795
|
+
/**
|
|
9796
|
+
* Plain percentage for a percentage action — 10 is 10% and 100 is a free item — or minor units for a fixed one. Never basis points.
|
|
9797
|
+
* @type {number}
|
|
9798
|
+
* @memberof LoyaltyRuleActionDto
|
|
9799
|
+
*/
|
|
9800
|
+
'value': number;
|
|
9801
|
+
/**
|
|
9802
|
+
*
|
|
9803
|
+
* @type {string}
|
|
9804
|
+
* @memberof LoyaltyRuleActionDto
|
|
9805
|
+
*/
|
|
9806
|
+
'currency'?: string | null;
|
|
9807
|
+
/**
|
|
9808
|
+
*
|
|
9809
|
+
* @type {LoyaltyRuleTargetType}
|
|
9810
|
+
* @memberof LoyaltyRuleActionDto
|
|
9811
|
+
*/
|
|
9812
|
+
'target_type': LoyaltyRuleTargetType;
|
|
9813
|
+
/**
|
|
9814
|
+
*
|
|
9815
|
+
* @type {LoyaltyRuleSelection}
|
|
9816
|
+
* @memberof LoyaltyRuleActionDto
|
|
9817
|
+
*/
|
|
9818
|
+
'selection': LoyaltyRuleSelection;
|
|
9819
|
+
/**
|
|
9820
|
+
*
|
|
9821
|
+
* @type {number}
|
|
9822
|
+
* @memberof LoyaltyRuleActionDto
|
|
9823
|
+
*/
|
|
9824
|
+
'units_per_application': number;
|
|
9825
|
+
/**
|
|
9826
|
+
*
|
|
9827
|
+
* @type {number}
|
|
9828
|
+
* @memberof LoyaltyRuleActionDto
|
|
9829
|
+
*/
|
|
9830
|
+
'max_units'?: number | null;
|
|
9831
|
+
/**
|
|
9832
|
+
*
|
|
9833
|
+
* @type {LoyaltyRuleFulfillmentMode}
|
|
9834
|
+
* @memberof LoyaltyRuleActionDto
|
|
9835
|
+
*/
|
|
9836
|
+
'fulfillment_mode': LoyaltyRuleFulfillmentMode;
|
|
9837
|
+
}
|
|
9838
|
+
/**
|
|
9839
|
+
*
|
|
9840
|
+
* @export
|
|
9841
|
+
* @enum {string}
|
|
9842
|
+
*/
|
|
9843
|
+
export declare const LoyaltyRuleActionType: {
|
|
9844
|
+
readonly Percentage: "percentage";
|
|
9845
|
+
readonly Fixed: "fixed";
|
|
9846
|
+
};
|
|
9847
|
+
export type LoyaltyRuleActionType = typeof LoyaltyRuleActionType[keyof typeof LoyaltyRuleActionType];
|
|
9848
|
+
/**
|
|
9849
|
+
*
|
|
9850
|
+
* @export
|
|
9851
|
+
* @enum {string}
|
|
9852
|
+
*/
|
|
9853
|
+
export declare const LoyaltyRuleApplicationMode: {
|
|
9854
|
+
readonly Manual: "manual";
|
|
9855
|
+
readonly Automatic: "automatic";
|
|
9856
|
+
};
|
|
9857
|
+
export type LoyaltyRuleApplicationMode = typeof LoyaltyRuleApplicationMode[keyof typeof LoyaltyRuleApplicationMode];
|
|
9858
|
+
/**
|
|
9859
|
+
*
|
|
9860
|
+
* @export
|
|
9861
|
+
* @interface LoyaltyRuleConditionDto
|
|
9862
|
+
*/
|
|
9863
|
+
export interface LoyaltyRuleConditionDto {
|
|
9864
|
+
/**
|
|
9865
|
+
*
|
|
9866
|
+
* @type {string}
|
|
9867
|
+
* @memberof LoyaltyRuleConditionDto
|
|
9868
|
+
*/
|
|
9869
|
+
'condition_id': string;
|
|
9870
|
+
/**
|
|
9871
|
+
*
|
|
9872
|
+
* @type {LoyaltyRuleConditionType}
|
|
9873
|
+
* @memberof LoyaltyRuleConditionDto
|
|
9874
|
+
*/
|
|
9875
|
+
'type': LoyaltyRuleConditionType;
|
|
9876
|
+
/**
|
|
9877
|
+
*
|
|
9878
|
+
* @type {number}
|
|
9879
|
+
* @memberof LoyaltyRuleConditionDto
|
|
9880
|
+
*/
|
|
9881
|
+
'required_quantity'?: number | null;
|
|
9882
|
+
/**
|
|
9883
|
+
*
|
|
9884
|
+
* @type {number}
|
|
9885
|
+
* @memberof LoyaltyRuleConditionDto
|
|
9886
|
+
*/
|
|
9887
|
+
'value'?: number | null;
|
|
9888
|
+
}
|
|
9889
|
+
/**
|
|
9890
|
+
*
|
|
9891
|
+
* @export
|
|
9892
|
+
* @enum {string}
|
|
9893
|
+
*/
|
|
9894
|
+
export declare const LoyaltyRuleConditionType: {
|
|
9895
|
+
readonly Always: "always";
|
|
9896
|
+
readonly ProductInCart: "product_in_cart";
|
|
9897
|
+
readonly CategoryInCart: "category_in_cart";
|
|
9898
|
+
readonly ProductQuantityInCart: "product_quantity_in_cart";
|
|
9899
|
+
readonly CategoryQuantityInCart: "category_quantity_in_cart";
|
|
9900
|
+
readonly CartMinValue: "cart_min_value";
|
|
9901
|
+
readonly CartMaxValue: "cart_max_value";
|
|
9902
|
+
};
|
|
9903
|
+
export type LoyaltyRuleConditionType = typeof LoyaltyRuleConditionType[keyof typeof LoyaltyRuleConditionType];
|
|
9904
|
+
/**
|
|
9905
|
+
*
|
|
9906
|
+
* @export
|
|
9907
|
+
* @enum {string}
|
|
9908
|
+
*/
|
|
9909
|
+
export declare const LoyaltyRuleFulfillmentMode: {
|
|
9910
|
+
readonly RequireInCart: "require_in_cart";
|
|
9911
|
+
readonly ConfigureTarget: "configure_target";
|
|
9912
|
+
};
|
|
9913
|
+
export type LoyaltyRuleFulfillmentMode = typeof LoyaltyRuleFulfillmentMode[keyof typeof LoyaltyRuleFulfillmentMode];
|
|
9914
|
+
/**
|
|
9915
|
+
*
|
|
9916
|
+
* @export
|
|
9917
|
+
* @enum {string}
|
|
9918
|
+
*/
|
|
9919
|
+
export declare const LoyaltyRuleSelection: {
|
|
9920
|
+
readonly All: "all";
|
|
9921
|
+
readonly Cheapest: "cheapest";
|
|
9922
|
+
readonly MostExpensive: "most_expensive";
|
|
9923
|
+
};
|
|
9924
|
+
export type LoyaltyRuleSelection = typeof LoyaltyRuleSelection[keyof typeof LoyaltyRuleSelection];
|
|
9925
|
+
/**
|
|
9926
|
+
*
|
|
9927
|
+
* @export
|
|
9928
|
+
* @enum {string}
|
|
9929
|
+
*/
|
|
9930
|
+
export declare const LoyaltyRuleStackingMode: {
|
|
9931
|
+
readonly ExclusiveBestForCustomer: "exclusive_best_for_customer";
|
|
9932
|
+
readonly Stackable: "stackable";
|
|
9933
|
+
};
|
|
9934
|
+
export type LoyaltyRuleStackingMode = typeof LoyaltyRuleStackingMode[keyof typeof LoyaltyRuleStackingMode];
|
|
9935
|
+
/**
|
|
9936
|
+
*
|
|
9937
|
+
* @export
|
|
9938
|
+
* @enum {string}
|
|
9939
|
+
*/
|
|
9940
|
+
export declare const LoyaltyRuleTargetType: {
|
|
9941
|
+
readonly ConditionMatch: "condition_match";
|
|
9942
|
+
readonly Product: "product";
|
|
9943
|
+
readonly Category: "category";
|
|
9944
|
+
readonly Order: "order";
|
|
9945
|
+
};
|
|
9946
|
+
export type LoyaltyRuleTargetType = typeof LoyaltyRuleTargetType[keyof typeof LoyaltyRuleTargetType];
|
|
9392
9947
|
/**
|
|
9393
9948
|
*
|
|
9394
9949
|
* @export
|
|
@@ -11347,6 +11902,118 @@ export interface OrderHistoryResponseDtoSummary {
|
|
|
11347
11902
|
*/
|
|
11348
11903
|
'totalTipAmount'?: number;
|
|
11349
11904
|
}
|
|
11905
|
+
/**
|
|
11906
|
+
*
|
|
11907
|
+
* @export
|
|
11908
|
+
* @interface OrderLoyaltyDto
|
|
11909
|
+
*/
|
|
11910
|
+
export interface OrderLoyaltyDto {
|
|
11911
|
+
/**
|
|
11912
|
+
* Redemptions on this order, keyed by loyalty entry id.
|
|
11913
|
+
* @type {{ [key: string]: OrderLoyaltyRedemptionDto; }}
|
|
11914
|
+
* @memberof OrderLoyaltyDto
|
|
11915
|
+
*/
|
|
11916
|
+
'redemptions': {
|
|
11917
|
+
[key: string]: OrderLoyaltyRedemptionDto;
|
|
11918
|
+
};
|
|
11919
|
+
}
|
|
11920
|
+
/**
|
|
11921
|
+
*
|
|
11922
|
+
* @export
|
|
11923
|
+
* @interface OrderLoyaltyRedemptionDto
|
|
11924
|
+
*/
|
|
11925
|
+
export interface OrderLoyaltyRedemptionDto {
|
|
11926
|
+
/**
|
|
11927
|
+
* Loyalty entry id, and the key this entry is stored under
|
|
11928
|
+
* @type {string}
|
|
11929
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
11930
|
+
*/
|
|
11931
|
+
'id': string;
|
|
11932
|
+
/**
|
|
11933
|
+
*
|
|
11934
|
+
* @type {Array<string>}
|
|
11935
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
11936
|
+
*/
|
|
11937
|
+
'discountApplicationIds': Array<string>;
|
|
11938
|
+
/**
|
|
11939
|
+
*
|
|
11940
|
+
* @type {number}
|
|
11941
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
11942
|
+
*/
|
|
11943
|
+
'catalogId': number;
|
|
11944
|
+
/**
|
|
11945
|
+
*
|
|
11946
|
+
* @type {LoyaltyCatalogType}
|
|
11947
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
11948
|
+
*/
|
|
11949
|
+
'catalogType': LoyaltyCatalogType;
|
|
11950
|
+
/**
|
|
11951
|
+
*
|
|
11952
|
+
* @type {string}
|
|
11953
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
11954
|
+
*/
|
|
11955
|
+
'rewardName': string;
|
|
11956
|
+
/**
|
|
11957
|
+
*
|
|
11958
|
+
* @type {number}
|
|
11959
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
11960
|
+
*/
|
|
11961
|
+
'ruleId': number;
|
|
11962
|
+
/**
|
|
11963
|
+
*
|
|
11964
|
+
* @type {number}
|
|
11965
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
11966
|
+
*/
|
|
11967
|
+
'ruleRevision': number;
|
|
11968
|
+
/**
|
|
11969
|
+
*
|
|
11970
|
+
* @type {number}
|
|
11971
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
11972
|
+
*/
|
|
11973
|
+
'quantity': number;
|
|
11974
|
+
/**
|
|
11975
|
+
* Points spent, in points.
|
|
11976
|
+
* @type {number}
|
|
11977
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
11978
|
+
*/
|
|
11979
|
+
'pointsCost': number | null;
|
|
11980
|
+
/**
|
|
11981
|
+
*
|
|
11982
|
+
* @type {LoyaltyRedemptionStatus}
|
|
11983
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
11984
|
+
*/
|
|
11985
|
+
'status': LoyaltyRedemptionStatus;
|
|
11986
|
+
/**
|
|
11987
|
+
*
|
|
11988
|
+
* @type {string}
|
|
11989
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
11990
|
+
*/
|
|
11991
|
+
'transactionId': string | null;
|
|
11992
|
+
/**
|
|
11993
|
+
*
|
|
11994
|
+
* @type {string}
|
|
11995
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
11996
|
+
*/
|
|
11997
|
+
'walletId': string | null;
|
|
11998
|
+
/**
|
|
11999
|
+
*
|
|
12000
|
+
* @type {string}
|
|
12001
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
12002
|
+
*/
|
|
12003
|
+
'settledAt': string | null;
|
|
12004
|
+
/**
|
|
12005
|
+
*
|
|
12006
|
+
* @type {string}
|
|
12007
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
12008
|
+
*/
|
|
12009
|
+
'reversalTransactionId': string | null;
|
|
12010
|
+
/**
|
|
12011
|
+
*
|
|
12012
|
+
* @type {string}
|
|
12013
|
+
* @memberof OrderLoyaltyRedemptionDto
|
|
12014
|
+
*/
|
|
12015
|
+
'reversedAt': string | null;
|
|
12016
|
+
}
|
|
11350
12017
|
/**
|
|
11351
12018
|
*
|
|
11352
12019
|
* @export
|
|
@@ -13119,6 +13786,12 @@ export interface ParkPosOrderDtoOrder {
|
|
|
13119
13786
|
* @memberof ParkPosOrderDtoOrder
|
|
13120
13787
|
*/
|
|
13121
13788
|
'tableGroupId'?: string | null;
|
|
13789
|
+
/**
|
|
13790
|
+
*
|
|
13791
|
+
* @type {PosOrderDtoLoyalty}
|
|
13792
|
+
* @memberof ParkPosOrderDtoOrder
|
|
13793
|
+
*/
|
|
13794
|
+
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
13122
13795
|
}
|
|
13123
13796
|
/**
|
|
13124
13797
|
*
|
|
@@ -13251,6 +13924,19 @@ export interface PayTerminalLockStatusResponseDto {
|
|
|
13251
13924
|
*/
|
|
13252
13925
|
'hasLock': boolean;
|
|
13253
13926
|
}
|
|
13927
|
+
/**
|
|
13928
|
+
*
|
|
13929
|
+
* @export
|
|
13930
|
+
* @interface PayTerminalPresenceResponseDto
|
|
13931
|
+
*/
|
|
13932
|
+
export interface PayTerminalPresenceResponseDto {
|
|
13933
|
+
/**
|
|
13934
|
+
* True if the paired terminal is currently present on the session channel.
|
|
13935
|
+
* @type {boolean}
|
|
13936
|
+
* @memberof PayTerminalPresenceResponseDto
|
|
13937
|
+
*/
|
|
13938
|
+
'online': boolean;
|
|
13939
|
+
}
|
|
13254
13940
|
/**
|
|
13255
13941
|
*
|
|
13256
13942
|
* @export
|
|
@@ -15480,6 +16166,36 @@ export interface PosDiscountDto {
|
|
|
15480
16166
|
* @memberof PosDiscountDto
|
|
15481
16167
|
*/
|
|
15482
16168
|
'isAutomatic': boolean;
|
|
16169
|
+
/**
|
|
16170
|
+
* Position of this application in the cascade that produced it. Merchant applications run first, then loyalty; the sequence records the order actually used so a reader never has to re-derive it.
|
|
16171
|
+
* @type {number}
|
|
16172
|
+
* @memberof PosDiscountDto
|
|
16173
|
+
*/
|
|
16174
|
+
'sequence'?: number;
|
|
16175
|
+
/**
|
|
16176
|
+
* Payable amount this application was measured against, in minor units.
|
|
16177
|
+
* @type {number}
|
|
16178
|
+
* @memberof PosDiscountDto
|
|
16179
|
+
*/
|
|
16180
|
+
'baseAmount'?: number;
|
|
16181
|
+
/**
|
|
16182
|
+
* Amount the configured discount asked for, in minor units, before it was clamped to what was still payable.
|
|
16183
|
+
* @type {number}
|
|
16184
|
+
* @memberof PosDiscountDto
|
|
16185
|
+
*/
|
|
16186
|
+
'requestedAmount'?: number;
|
|
16187
|
+
/**
|
|
16188
|
+
* Part of requestedAmount that could not be taken because nothing payable was left, in minor units. Never cashback.
|
|
16189
|
+
* @type {number}
|
|
16190
|
+
* @memberof PosDiscountDto
|
|
16191
|
+
*/
|
|
16192
|
+
'forfeitedAmount'?: number;
|
|
16193
|
+
/**
|
|
16194
|
+
* Number of line units this application covers. Absent means it covers the whole line.
|
|
16195
|
+
* @type {number}
|
|
16196
|
+
* @memberof PosDiscountDto
|
|
16197
|
+
*/
|
|
16198
|
+
'units'?: number;
|
|
15483
16199
|
}
|
|
15484
16200
|
/**
|
|
15485
16201
|
*
|
|
@@ -16682,6 +17398,12 @@ export interface PosOrderDto {
|
|
|
16682
17398
|
* @memberof PosOrderDto
|
|
16683
17399
|
*/
|
|
16684
17400
|
'tableGroupId'?: string | null;
|
|
17401
|
+
/**
|
|
17402
|
+
*
|
|
17403
|
+
* @type {PosOrderDtoLoyalty}
|
|
17404
|
+
* @memberof PosOrderDto
|
|
17405
|
+
*/
|
|
17406
|
+
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
16685
17407
|
}
|
|
16686
17408
|
/**
|
|
16687
17409
|
* Equal split state persisted for the order
|
|
@@ -16769,6 +17491,21 @@ export interface PosOrderDtoInvoiceCompany {
|
|
|
16769
17491
|
*/
|
|
16770
17492
|
'updatedAt': string;
|
|
16771
17493
|
}
|
|
17494
|
+
/**
|
|
17495
|
+
* Loyalty rewards committed to this order. Absent on orders that used none.
|
|
17496
|
+
* @export
|
|
17497
|
+
* @interface PosOrderDtoLoyalty
|
|
17498
|
+
*/
|
|
17499
|
+
export interface PosOrderDtoLoyalty {
|
|
17500
|
+
/**
|
|
17501
|
+
* Redemptions on this order, keyed by loyalty entry id.
|
|
17502
|
+
* @type {{ [key: string]: OrderLoyaltyRedemptionDto; }}
|
|
17503
|
+
* @memberof PosOrderDtoLoyalty
|
|
17504
|
+
*/
|
|
17505
|
+
'redemptions': {
|
|
17506
|
+
[key: string]: OrderLoyaltyRedemptionDto;
|
|
17507
|
+
};
|
|
17508
|
+
}
|
|
16772
17509
|
/**
|
|
16773
17510
|
* Fine dining table service metadata
|
|
16774
17511
|
* @export
|
|
@@ -16984,6 +17721,12 @@ export interface PosOrderItemDto {
|
|
|
16984
17721
|
* @memberof PosOrderItemDto
|
|
16985
17722
|
*/
|
|
16986
17723
|
'discount': PosDiscountDto | null;
|
|
17724
|
+
/**
|
|
17725
|
+
* Every item-scope discount application on this line, in cascade order — including when there is only one.
|
|
17726
|
+
* @type {Array<PosDiscountDto>}
|
|
17727
|
+
* @memberof PosOrderItemDto
|
|
17728
|
+
*/
|
|
17729
|
+
'discountApplications'?: Array<PosDiscountDto>;
|
|
16987
17730
|
/**
|
|
16988
17731
|
*
|
|
16989
17732
|
* @type {boolean}
|
|
@@ -17500,6 +18243,12 @@ export interface PosOrderPayloadDtoOrder {
|
|
|
17500
18243
|
* @memberof PosOrderPayloadDtoOrder
|
|
17501
18244
|
*/
|
|
17502
18245
|
'tableGroupId'?: string | null;
|
|
18246
|
+
/**
|
|
18247
|
+
*
|
|
18248
|
+
* @type {PosOrderDtoLoyalty}
|
|
18249
|
+
* @memberof PosOrderPayloadDtoOrder
|
|
18250
|
+
*/
|
|
18251
|
+
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
17503
18252
|
}
|
|
17504
18253
|
/**
|
|
17505
18254
|
*
|
|
@@ -18415,6 +19164,12 @@ export interface ProcessOrderActionsResponseDtoOrder {
|
|
|
18415
19164
|
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
18416
19165
|
*/
|
|
18417
19166
|
'tableGroupId'?: string | null;
|
|
19167
|
+
/**
|
|
19168
|
+
*
|
|
19169
|
+
* @type {PosOrderDtoLoyalty}
|
|
19170
|
+
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
19171
|
+
*/
|
|
19172
|
+
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
18418
19173
|
}
|
|
18419
19174
|
/**
|
|
18420
19175
|
*
|
|
@@ -19727,6 +20482,12 @@ export interface RecordManualPaymentResultDtoOrder {
|
|
|
19727
20482
|
* @memberof RecordManualPaymentResultDtoOrder
|
|
19728
20483
|
*/
|
|
19729
20484
|
'tableGroupId'?: string | null;
|
|
20485
|
+
/**
|
|
20486
|
+
*
|
|
20487
|
+
* @type {PosOrderDtoLoyalty}
|
|
20488
|
+
* @memberof RecordManualPaymentResultDtoOrder
|
|
20489
|
+
*/
|
|
20490
|
+
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
19730
20491
|
}
|
|
19731
20492
|
/**
|
|
19732
20493
|
*
|
|
@@ -20700,6 +21461,56 @@ export declare const ScopeEnum: {
|
|
|
20700
21461
|
readonly Cart: "CART";
|
|
20701
21462
|
};
|
|
20702
21463
|
export type ScopeEnum = typeof ScopeEnum[keyof typeof ScopeEnum];
|
|
21464
|
+
/**
|
|
21465
|
+
*
|
|
21466
|
+
* @export
|
|
21467
|
+
* @interface RestoreLoyaltyRedemptionDto
|
|
21468
|
+
*/
|
|
21469
|
+
export interface RestoreLoyaltyRedemptionDto {
|
|
21470
|
+
/**
|
|
21471
|
+
* Business the order belongs to
|
|
21472
|
+
* @type {number}
|
|
21473
|
+
* @memberof RestoreLoyaltyRedemptionDto
|
|
21474
|
+
*/
|
|
21475
|
+
'businessId': number;
|
|
21476
|
+
/**
|
|
21477
|
+
* POS or kiosk order carrying the redemption
|
|
21478
|
+
* @type {string}
|
|
21479
|
+
* @memberof RestoreLoyaltyRedemptionDto
|
|
21480
|
+
*/
|
|
21481
|
+
'orderId': string;
|
|
21482
|
+
/**
|
|
21483
|
+
* Loyalty entry to restore
|
|
21484
|
+
* @type {string}
|
|
21485
|
+
* @memberof RestoreLoyaltyRedemptionDto
|
|
21486
|
+
*/
|
|
21487
|
+
'loyaltyEntryId': string;
|
|
21488
|
+
}
|
|
21489
|
+
/**
|
|
21490
|
+
*
|
|
21491
|
+
* @export
|
|
21492
|
+
* @interface RestoreLoyaltyRedemptionResponseDto
|
|
21493
|
+
*/
|
|
21494
|
+
export interface RestoreLoyaltyRedemptionResponseDto {
|
|
21495
|
+
/**
|
|
21496
|
+
*
|
|
21497
|
+
* @type {LoyaltyRestoreRequestStatus}
|
|
21498
|
+
* @memberof RestoreLoyaltyRedemptionResponseDto
|
|
21499
|
+
*/
|
|
21500
|
+
'status': LoyaltyRestoreRequestStatus;
|
|
21501
|
+
/**
|
|
21502
|
+
* Loyalty transaction the restore was asked against
|
|
21503
|
+
* @type {string}
|
|
21504
|
+
* @memberof RestoreLoyaltyRedemptionResponseDto
|
|
21505
|
+
*/
|
|
21506
|
+
'transactionId': string | null;
|
|
21507
|
+
/**
|
|
21508
|
+
* Reversal already recorded against the entry, when there is one
|
|
21509
|
+
* @type {string}
|
|
21510
|
+
* @memberof RestoreLoyaltyRedemptionResponseDto
|
|
21511
|
+
*/
|
|
21512
|
+
'reversalTransactionId': string | null;
|
|
21513
|
+
}
|
|
20703
21514
|
/**
|
|
20704
21515
|
*
|
|
20705
21516
|
* @export
|
|
@@ -21994,6 +22805,12 @@ export interface SyncKioskOrderDtoOrder {
|
|
|
21994
22805
|
* @memberof SyncKioskOrderDtoOrder
|
|
21995
22806
|
*/
|
|
21996
22807
|
'tableGroupId'?: string | null;
|
|
22808
|
+
/**
|
|
22809
|
+
*
|
|
22810
|
+
* @type {PosOrderDtoLoyalty}
|
|
22811
|
+
* @memberof SyncKioskOrderDtoOrder
|
|
22812
|
+
*/
|
|
22813
|
+
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
21997
22814
|
}
|
|
21998
22815
|
/**
|
|
21999
22816
|
*
|
|
@@ -22323,6 +23140,12 @@ export interface SyncPosOrderDtoOrder {
|
|
|
22323
23140
|
* @memberof SyncPosOrderDtoOrder
|
|
22324
23141
|
*/
|
|
22325
23142
|
'tableGroupId'?: string | null;
|
|
23143
|
+
/**
|
|
23144
|
+
*
|
|
23145
|
+
* @type {PosOrderDtoLoyalty}
|
|
23146
|
+
* @memberof SyncPosOrderDtoOrder
|
|
23147
|
+
*/
|
|
23148
|
+
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
22326
23149
|
}
|
|
22327
23150
|
/**
|
|
22328
23151
|
* POS order actions to run in the background after persist (same shape as /pos/actions). Omit to only sync the order.
|
|
@@ -23703,6 +24526,12 @@ export interface UnifiedOrderResponseDto {
|
|
|
23703
24526
|
* @memberof UnifiedOrderResponseDto
|
|
23704
24527
|
*/
|
|
23705
24528
|
'posDiscounts'?: Array<PosDiscountDto>;
|
|
24529
|
+
/**
|
|
24530
|
+
*
|
|
24531
|
+
* @type {UnifiedOrderResponseDtoLoyalty}
|
|
24532
|
+
* @memberof UnifiedOrderResponseDto
|
|
24533
|
+
*/
|
|
24534
|
+
'loyalty'?: UnifiedOrderResponseDtoLoyalty | null;
|
|
23706
24535
|
/**
|
|
23707
24536
|
* Payment transactions recorded for the POS order. POS only
|
|
23708
24537
|
* @type {Array<TransactionDto>}
|
|
@@ -24035,6 +24864,21 @@ export interface UnifiedOrderResponseDtoLastPaymentError {
|
|
|
24035
24864
|
*/
|
|
24036
24865
|
'retryable': boolean;
|
|
24037
24866
|
}
|
|
24867
|
+
/**
|
|
24868
|
+
* Loyalty rewards committed to the POS order, keyed by loyalty entry id. POS only
|
|
24869
|
+
* @export
|
|
24870
|
+
* @interface UnifiedOrderResponseDtoLoyalty
|
|
24871
|
+
*/
|
|
24872
|
+
export interface UnifiedOrderResponseDtoLoyalty {
|
|
24873
|
+
/**
|
|
24874
|
+
* Redemptions on this order, keyed by loyalty entry id.
|
|
24875
|
+
* @type {{ [key: string]: OrderLoyaltyRedemptionDto; }}
|
|
24876
|
+
* @memberof UnifiedOrderResponseDtoLoyalty
|
|
24877
|
+
*/
|
|
24878
|
+
'redemptions': {
|
|
24879
|
+
[key: string]: OrderLoyaltyRedemptionDto;
|
|
24880
|
+
};
|
|
24881
|
+
}
|
|
24038
24882
|
/**
|
|
24039
24883
|
* Preorder scheduling details. Platform only
|
|
24040
24884
|
* @export
|
|
@@ -33534,6 +34378,81 @@ export declare class KiosksApi extends BaseAPI implements KiosksApiInterface {
|
|
|
33534
34378
|
*/
|
|
33535
34379
|
validate(terminalId: string, provider: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminalValidationResponseDto, any, {}>>;
|
|
33536
34380
|
}
|
|
34381
|
+
/**
|
|
34382
|
+
* LoyaltyCommerceApi - axios parameter creator
|
|
34383
|
+
* @export
|
|
34384
|
+
*/
|
|
34385
|
+
export declare const LoyaltyCommerceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
34386
|
+
/**
|
|
34387
|
+
*
|
|
34388
|
+
* @summary Ask the loyalty ledger to restore a settled redemption
|
|
34389
|
+
* @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
|
|
34390
|
+
* @param {*} [options] Override http request option.
|
|
34391
|
+
* @throws {RequiredError}
|
|
34392
|
+
*/
|
|
34393
|
+
restoreRedemption: (restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34394
|
+
};
|
|
34395
|
+
/**
|
|
34396
|
+
* LoyaltyCommerceApi - functional programming interface
|
|
34397
|
+
* @export
|
|
34398
|
+
*/
|
|
34399
|
+
export declare const LoyaltyCommerceApiFp: (configuration?: Configuration) => {
|
|
34400
|
+
/**
|
|
34401
|
+
*
|
|
34402
|
+
* @summary Ask the loyalty ledger to restore a settled redemption
|
|
34403
|
+
* @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
|
|
34404
|
+
* @param {*} [options] Override http request option.
|
|
34405
|
+
* @throws {RequiredError}
|
|
34406
|
+
*/
|
|
34407
|
+
restoreRedemption(restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestoreLoyaltyRedemptionResponseDto>>;
|
|
34408
|
+
};
|
|
34409
|
+
/**
|
|
34410
|
+
* LoyaltyCommerceApi - factory interface
|
|
34411
|
+
* @export
|
|
34412
|
+
*/
|
|
34413
|
+
export declare const LoyaltyCommerceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
34414
|
+
/**
|
|
34415
|
+
*
|
|
34416
|
+
* @summary Ask the loyalty ledger to restore a settled redemption
|
|
34417
|
+
* @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
|
|
34418
|
+
* @param {*} [options] Override http request option.
|
|
34419
|
+
* @throws {RequiredError}
|
|
34420
|
+
*/
|
|
34421
|
+
restoreRedemption(restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: any): AxiosPromise<RestoreLoyaltyRedemptionResponseDto>;
|
|
34422
|
+
};
|
|
34423
|
+
/**
|
|
34424
|
+
* LoyaltyCommerceApi - interface
|
|
34425
|
+
* @export
|
|
34426
|
+
* @interface LoyaltyCommerceApi
|
|
34427
|
+
*/
|
|
34428
|
+
export interface LoyaltyCommerceApiInterface {
|
|
34429
|
+
/**
|
|
34430
|
+
*
|
|
34431
|
+
* @summary Ask the loyalty ledger to restore a settled redemption
|
|
34432
|
+
* @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
|
|
34433
|
+
* @param {*} [options] Override http request option.
|
|
34434
|
+
* @throws {RequiredError}
|
|
34435
|
+
* @memberof LoyaltyCommerceApiInterface
|
|
34436
|
+
*/
|
|
34437
|
+
restoreRedemption(restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: AxiosRequestConfig): AxiosPromise<RestoreLoyaltyRedemptionResponseDto>;
|
|
34438
|
+
}
|
|
34439
|
+
/**
|
|
34440
|
+
* LoyaltyCommerceApi - object-oriented interface
|
|
34441
|
+
* @export
|
|
34442
|
+
* @class LoyaltyCommerceApi
|
|
34443
|
+
* @extends {BaseAPI}
|
|
34444
|
+
*/
|
|
34445
|
+
export declare class LoyaltyCommerceApi extends BaseAPI implements LoyaltyCommerceApiInterface {
|
|
34446
|
+
/**
|
|
34447
|
+
*
|
|
34448
|
+
* @summary Ask the loyalty ledger to restore a settled redemption
|
|
34449
|
+
* @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
|
|
34450
|
+
* @param {*} [options] Override http request option.
|
|
34451
|
+
* @throws {RequiredError}
|
|
34452
|
+
* @memberof LoyaltyCommerceApi
|
|
34453
|
+
*/
|
|
34454
|
+
restoreRedemption(restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RestoreLoyaltyRedemptionResponseDto, any, {}>>;
|
|
34455
|
+
}
|
|
33537
34456
|
/**
|
|
33538
34457
|
* LoyaltyIntegerationsApi - axios parameter creator
|
|
33539
34458
|
* @export
|
|
@@ -33609,6 +34528,14 @@ export declare const LoyaltyIntegerationsApiAxiosParamCreator: (configuration?:
|
|
|
33609
34528
|
* @throws {RequiredError}
|
|
33610
34529
|
*/
|
|
33611
34530
|
getUserWallet: (businessId: number, userId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34531
|
+
/**
|
|
34532
|
+
*
|
|
34533
|
+
* @summary Resolve the loyalty member context for a member on a till surface
|
|
34534
|
+
* @param {LoyaltyMemberContextRequestDto} loyaltyMemberContextRequestDto
|
|
34535
|
+
* @param {*} [options] Override http request option.
|
|
34536
|
+
* @throws {RequiredError}
|
|
34537
|
+
*/
|
|
34538
|
+
memberContext: (loyaltyMemberContextRequestDto: LoyaltyMemberContextRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33612
34539
|
/**
|
|
33613
34540
|
*
|
|
33614
34541
|
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
@@ -33723,6 +34650,14 @@ export declare const LoyaltyIntegerationsApiFp: (configuration?: Configuration)
|
|
|
33723
34650
|
* @throws {RequiredError}
|
|
33724
34651
|
*/
|
|
33725
34652
|
getUserWallet(businessId: number, userId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserWalletResponseDto>>;
|
|
34653
|
+
/**
|
|
34654
|
+
*
|
|
34655
|
+
* @summary Resolve the loyalty member context for a member on a till surface
|
|
34656
|
+
* @param {LoyaltyMemberContextRequestDto} loyaltyMemberContextRequestDto
|
|
34657
|
+
* @param {*} [options] Override http request option.
|
|
34658
|
+
* @throws {RequiredError}
|
|
34659
|
+
*/
|
|
34660
|
+
memberContext(loyaltyMemberContextRequestDto: LoyaltyMemberContextRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoyaltyMemberContextDto>>;
|
|
33726
34661
|
/**
|
|
33727
34662
|
*
|
|
33728
34663
|
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
@@ -33837,6 +34772,14 @@ export declare const LoyaltyIntegerationsApiFactory: (configuration?: Configurat
|
|
|
33837
34772
|
* @throws {RequiredError}
|
|
33838
34773
|
*/
|
|
33839
34774
|
getUserWallet(businessId: number, userId: number, options?: any): AxiosPromise<UserWalletResponseDto>;
|
|
34775
|
+
/**
|
|
34776
|
+
*
|
|
34777
|
+
* @summary Resolve the loyalty member context for a member on a till surface
|
|
34778
|
+
* @param {LoyaltyMemberContextRequestDto} loyaltyMemberContextRequestDto
|
|
34779
|
+
* @param {*} [options] Override http request option.
|
|
34780
|
+
* @throws {RequiredError}
|
|
34781
|
+
*/
|
|
34782
|
+
memberContext(loyaltyMemberContextRequestDto: LoyaltyMemberContextRequestDto, options?: any): AxiosPromise<LoyaltyMemberContextDto>;
|
|
33840
34783
|
/**
|
|
33841
34784
|
*
|
|
33842
34785
|
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
@@ -33960,6 +34903,15 @@ export interface LoyaltyIntegerationsApiInterface {
|
|
|
33960
34903
|
* @memberof LoyaltyIntegerationsApiInterface
|
|
33961
34904
|
*/
|
|
33962
34905
|
getUserWallet(businessId: number, userId: number, options?: AxiosRequestConfig): AxiosPromise<UserWalletResponseDto>;
|
|
34906
|
+
/**
|
|
34907
|
+
*
|
|
34908
|
+
* @summary Resolve the loyalty member context for a member on a till surface
|
|
34909
|
+
* @param {LoyaltyMemberContextRequestDto} loyaltyMemberContextRequestDto
|
|
34910
|
+
* @param {*} [options] Override http request option.
|
|
34911
|
+
* @throws {RequiredError}
|
|
34912
|
+
* @memberof LoyaltyIntegerationsApiInterface
|
|
34913
|
+
*/
|
|
34914
|
+
memberContext(loyaltyMemberContextRequestDto: LoyaltyMemberContextRequestDto, options?: AxiosRequestConfig): AxiosPromise<LoyaltyMemberContextDto>;
|
|
33963
34915
|
/**
|
|
33964
34916
|
*
|
|
33965
34917
|
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
@@ -34088,6 +35040,15 @@ export declare class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyI
|
|
|
34088
35040
|
* @memberof LoyaltyIntegerationsApi
|
|
34089
35041
|
*/
|
|
34090
35042
|
getUserWallet(businessId: number, userId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserWalletResponseDto, any, {}>>;
|
|
35043
|
+
/**
|
|
35044
|
+
*
|
|
35045
|
+
* @summary Resolve the loyalty member context for a member on a till surface
|
|
35046
|
+
* @param {LoyaltyMemberContextRequestDto} loyaltyMemberContextRequestDto
|
|
35047
|
+
* @param {*} [options] Override http request option.
|
|
35048
|
+
* @throws {RequiredError}
|
|
35049
|
+
* @memberof LoyaltyIntegerationsApi
|
|
35050
|
+
*/
|
|
35051
|
+
memberContext(loyaltyMemberContextRequestDto: LoyaltyMemberContextRequestDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoyaltyMemberContextDto, any, {}>>;
|
|
34091
35052
|
/**
|
|
34092
35053
|
*
|
|
34093
35054
|
* @summary Resolve applicable loyalty perks for the current cart (AI)
|
|
@@ -34918,6 +35879,91 @@ export declare class NotificationApi extends BaseAPI implements NotificationApiI
|
|
|
34918
35879
|
*/
|
|
34919
35880
|
removeVenueSubscriptionsV2(deviceSubscriptionDto: DeviceSubscriptionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
34920
35881
|
}
|
|
35882
|
+
/**
|
|
35883
|
+
* OrderCompletionApi - axios parameter creator
|
|
35884
|
+
* @export
|
|
35885
|
+
*/
|
|
35886
|
+
export declare const OrderCompletionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
35887
|
+
/**
|
|
35888
|
+
*
|
|
35889
|
+
* @summary Complete an order that has nothing left to pay
|
|
35890
|
+
* @param {string} businessId The unique ID of the business the order belongs to.
|
|
35891
|
+
* @param {string} orderId The unique ID of the order.
|
|
35892
|
+
* @param {CompleteOrderDto} completeOrderDto
|
|
35893
|
+
* @param {*} [options] Override http request option.
|
|
35894
|
+
* @throws {RequiredError}
|
|
35895
|
+
*/
|
|
35896
|
+
completeOrder: (businessId: string, orderId: string, completeOrderDto: CompleteOrderDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35897
|
+
};
|
|
35898
|
+
/**
|
|
35899
|
+
* OrderCompletionApi - functional programming interface
|
|
35900
|
+
* @export
|
|
35901
|
+
*/
|
|
35902
|
+
export declare const OrderCompletionApiFp: (configuration?: Configuration) => {
|
|
35903
|
+
/**
|
|
35904
|
+
*
|
|
35905
|
+
* @summary Complete an order that has nothing left to pay
|
|
35906
|
+
* @param {string} businessId The unique ID of the business the order belongs to.
|
|
35907
|
+
* @param {string} orderId The unique ID of the order.
|
|
35908
|
+
* @param {CompleteOrderDto} completeOrderDto
|
|
35909
|
+
* @param {*} [options] Override http request option.
|
|
35910
|
+
* @throws {RequiredError}
|
|
35911
|
+
*/
|
|
35912
|
+
completeOrder(businessId: string, orderId: string, completeOrderDto: CompleteOrderDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompleteOrderResponseDto>>;
|
|
35913
|
+
};
|
|
35914
|
+
/**
|
|
35915
|
+
* OrderCompletionApi - factory interface
|
|
35916
|
+
* @export
|
|
35917
|
+
*/
|
|
35918
|
+
export declare const OrderCompletionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
35919
|
+
/**
|
|
35920
|
+
*
|
|
35921
|
+
* @summary Complete an order that has nothing left to pay
|
|
35922
|
+
* @param {string} businessId The unique ID of the business the order belongs to.
|
|
35923
|
+
* @param {string} orderId The unique ID of the order.
|
|
35924
|
+
* @param {CompleteOrderDto} completeOrderDto
|
|
35925
|
+
* @param {*} [options] Override http request option.
|
|
35926
|
+
* @throws {RequiredError}
|
|
35927
|
+
*/
|
|
35928
|
+
completeOrder(businessId: string, orderId: string, completeOrderDto: CompleteOrderDto, options?: any): AxiosPromise<CompleteOrderResponseDto>;
|
|
35929
|
+
};
|
|
35930
|
+
/**
|
|
35931
|
+
* OrderCompletionApi - interface
|
|
35932
|
+
* @export
|
|
35933
|
+
* @interface OrderCompletionApi
|
|
35934
|
+
*/
|
|
35935
|
+
export interface OrderCompletionApiInterface {
|
|
35936
|
+
/**
|
|
35937
|
+
*
|
|
35938
|
+
* @summary Complete an order that has nothing left to pay
|
|
35939
|
+
* @param {string} businessId The unique ID of the business the order belongs to.
|
|
35940
|
+
* @param {string} orderId The unique ID of the order.
|
|
35941
|
+
* @param {CompleteOrderDto} completeOrderDto
|
|
35942
|
+
* @param {*} [options] Override http request option.
|
|
35943
|
+
* @throws {RequiredError}
|
|
35944
|
+
* @memberof OrderCompletionApiInterface
|
|
35945
|
+
*/
|
|
35946
|
+
completeOrder(businessId: string, orderId: string, completeOrderDto: CompleteOrderDto, options?: AxiosRequestConfig): AxiosPromise<CompleteOrderResponseDto>;
|
|
35947
|
+
}
|
|
35948
|
+
/**
|
|
35949
|
+
* OrderCompletionApi - object-oriented interface
|
|
35950
|
+
* @export
|
|
35951
|
+
* @class OrderCompletionApi
|
|
35952
|
+
* @extends {BaseAPI}
|
|
35953
|
+
*/
|
|
35954
|
+
export declare class OrderCompletionApi extends BaseAPI implements OrderCompletionApiInterface {
|
|
35955
|
+
/**
|
|
35956
|
+
*
|
|
35957
|
+
* @summary Complete an order that has nothing left to pay
|
|
35958
|
+
* @param {string} businessId The unique ID of the business the order belongs to.
|
|
35959
|
+
* @param {string} orderId The unique ID of the order.
|
|
35960
|
+
* @param {CompleteOrderDto} completeOrderDto
|
|
35961
|
+
* @param {*} [options] Override http request option.
|
|
35962
|
+
* @throws {RequiredError}
|
|
35963
|
+
* @memberof OrderCompletionApi
|
|
35964
|
+
*/
|
|
35965
|
+
completeOrder(businessId: string, orderId: string, completeOrderDto: CompleteOrderDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteOrderResponseDto, any, {}>>;
|
|
35966
|
+
}
|
|
34921
35967
|
/**
|
|
34922
35968
|
* OrderInternalApi - axios parameter creator
|
|
34923
35969
|
* @export
|
|
@@ -35935,6 +36981,14 @@ export declare const PayTerminalApiAxiosParamCreator: (configuration?: Configura
|
|
|
35935
36981
|
* @throws {RequiredError}
|
|
35936
36982
|
*/
|
|
35937
36983
|
payTerminalPair: (pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36984
|
+
/**
|
|
36985
|
+
*
|
|
36986
|
+
* @summary Check whether the paired terminal is currently present on the session channel.
|
|
36987
|
+
* @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
|
|
36988
|
+
* @param {*} [options] Override http request option.
|
|
36989
|
+
* @throws {RequiredError}
|
|
36990
|
+
*/
|
|
36991
|
+
payTerminalPresence: (payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35938
36992
|
/**
|
|
35939
36993
|
*
|
|
35940
36994
|
* @summary Mint a session-channel Ably token scoped to the device role.
|
|
@@ -36005,6 +37059,14 @@ export declare const PayTerminalApiFp: (configuration?: Configuration) => {
|
|
|
36005
37059
|
* @throws {RequiredError}
|
|
36006
37060
|
*/
|
|
36007
37061
|
payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PairPayTerminalResponseDto>>;
|
|
37062
|
+
/**
|
|
37063
|
+
*
|
|
37064
|
+
* @summary Check whether the paired terminal is currently present on the session channel.
|
|
37065
|
+
* @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
|
|
37066
|
+
* @param {*} [options] Override http request option.
|
|
37067
|
+
* @throws {RequiredError}
|
|
37068
|
+
*/
|
|
37069
|
+
payTerminalPresence(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayTerminalPresenceResponseDto>>;
|
|
36008
37070
|
/**
|
|
36009
37071
|
*
|
|
36010
37072
|
* @summary Mint a session-channel Ably token scoped to the device role.
|
|
@@ -36075,6 +37137,14 @@ export declare const PayTerminalApiFactory: (configuration?: Configuration, base
|
|
|
36075
37137
|
* @throws {RequiredError}
|
|
36076
37138
|
*/
|
|
36077
37139
|
payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: any): AxiosPromise<PairPayTerminalResponseDto>;
|
|
37140
|
+
/**
|
|
37141
|
+
*
|
|
37142
|
+
* @summary Check whether the paired terminal is currently present on the session channel.
|
|
37143
|
+
* @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
|
|
37144
|
+
* @param {*} [options] Override http request option.
|
|
37145
|
+
* @throws {RequiredError}
|
|
37146
|
+
*/
|
|
37147
|
+
payTerminalPresence(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: any): AxiosPromise<PayTerminalPresenceResponseDto>;
|
|
36078
37148
|
/**
|
|
36079
37149
|
*
|
|
36080
37150
|
* @summary Mint a session-channel Ably token scoped to the device role.
|
|
@@ -36152,6 +37222,15 @@ export interface PayTerminalApiInterface {
|
|
|
36152
37222
|
* @memberof PayTerminalApiInterface
|
|
36153
37223
|
*/
|
|
36154
37224
|
payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig): AxiosPromise<PairPayTerminalResponseDto>;
|
|
37225
|
+
/**
|
|
37226
|
+
*
|
|
37227
|
+
* @summary Check whether the paired terminal is currently present on the session channel.
|
|
37228
|
+
* @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
|
|
37229
|
+
* @param {*} [options] Override http request option.
|
|
37230
|
+
* @throws {RequiredError}
|
|
37231
|
+
* @memberof PayTerminalApiInterface
|
|
37232
|
+
*/
|
|
37233
|
+
payTerminalPresence(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig): AxiosPromise<PayTerminalPresenceResponseDto>;
|
|
36155
37234
|
/**
|
|
36156
37235
|
*
|
|
36157
37236
|
* @summary Mint a session-channel Ably token scoped to the device role.
|
|
@@ -36232,6 +37311,15 @@ export declare class PayTerminalApi extends BaseAPI implements PayTerminalApiInt
|
|
|
36232
37311
|
* @memberof PayTerminalApi
|
|
36233
37312
|
*/
|
|
36234
37313
|
payTerminalPair(pairPayTerminalBodyDto: PairPayTerminalBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PairPayTerminalResponseDto, any, {}>>;
|
|
37314
|
+
/**
|
|
37315
|
+
*
|
|
37316
|
+
* @summary Check whether the paired terminal is currently present on the session channel.
|
|
37317
|
+
* @param {PayTerminalSessionTokenBodyDto} payTerminalSessionTokenBodyDto
|
|
37318
|
+
* @param {*} [options] Override http request option.
|
|
37319
|
+
* @throws {RequiredError}
|
|
37320
|
+
* @memberof PayTerminalApi
|
|
37321
|
+
*/
|
|
37322
|
+
payTerminalPresence(payTerminalSessionTokenBodyDto: PayTerminalSessionTokenBodyDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayTerminalPresenceResponseDto, any, {}>>;
|
|
36235
37323
|
/**
|
|
36236
37324
|
*
|
|
36237
37325
|
* @summary Mint a session-channel Ably token scoped to the device role.
|