@munchi_oy/core 1.9.127 → 1.9.128
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 +200 -922
- 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 +387 -1152
- package/package.json +1 -1
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -3834,12 +3834,6 @@ export interface CreateManualSessionDtoOrder {
|
|
|
3834
3834
|
* @memberof CreateManualSessionDtoOrder
|
|
3835
3835
|
*/
|
|
3836
3836
|
'tableGroupId'?: string | null;
|
|
3837
|
-
/**
|
|
3838
|
-
*
|
|
3839
|
-
* @type {PosOrderDtoLoyalty}
|
|
3840
|
-
* @memberof CreateManualSessionDtoOrder
|
|
3841
|
-
*/
|
|
3842
|
-
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
3843
3837
|
}
|
|
3844
3838
|
/**
|
|
3845
3839
|
* Split context. Omit for a full-cart payment, or send { mode, partId|seatId } for a split. Must match the order\'s checkoutModel.
|
|
@@ -9200,162 +9194,6 @@ export declare const LoyaltyActionKey: {
|
|
|
9200
9194
|
readonly GetAdminHistory: "getAdminHistory";
|
|
9201
9195
|
};
|
|
9202
9196
|
export type LoyaltyActionKey = typeof LoyaltyActionKey[keyof typeof LoyaltyActionKey];
|
|
9203
|
-
/**
|
|
9204
|
-
*
|
|
9205
|
-
* @export
|
|
9206
|
-
* @interface LoyaltyActionOverrideDto
|
|
9207
|
-
*/
|
|
9208
|
-
export interface LoyaltyActionOverrideDto {
|
|
9209
|
-
/**
|
|
9210
|
-
*
|
|
9211
|
-
* @type {number}
|
|
9212
|
-
* @memberof LoyaltyActionOverrideDto
|
|
9213
|
-
*/
|
|
9214
|
-
'value'?: number;
|
|
9215
|
-
/**
|
|
9216
|
-
*
|
|
9217
|
-
* @type {string}
|
|
9218
|
-
* @memberof LoyaltyActionOverrideDto
|
|
9219
|
-
*/
|
|
9220
|
-
'currency'?: string | null;
|
|
9221
|
-
/**
|
|
9222
|
-
*
|
|
9223
|
-
* @type {number}
|
|
9224
|
-
* @memberof LoyaltyActionOverrideDto
|
|
9225
|
-
*/
|
|
9226
|
-
'max_units'?: number | null;
|
|
9227
|
-
/**
|
|
9228
|
-
*
|
|
9229
|
-
* @type {number}
|
|
9230
|
-
* @memberof LoyaltyActionOverrideDto
|
|
9231
|
-
*/
|
|
9232
|
-
'max_applications'?: number | null;
|
|
9233
|
-
}
|
|
9234
|
-
/**
|
|
9235
|
-
*
|
|
9236
|
-
* @export
|
|
9237
|
-
* @interface LoyaltyActionTargetDto
|
|
9238
|
-
*/
|
|
9239
|
-
export interface LoyaltyActionTargetDto {
|
|
9240
|
-
/**
|
|
9241
|
-
*
|
|
9242
|
-
* @type {Array<number>}
|
|
9243
|
-
* @memberof LoyaltyActionTargetDto
|
|
9244
|
-
*/
|
|
9245
|
-
'product_ids': Array<number>;
|
|
9246
|
-
/**
|
|
9247
|
-
*
|
|
9248
|
-
* @type {Array<number>}
|
|
9249
|
-
* @memberof LoyaltyActionTargetDto
|
|
9250
|
-
*/
|
|
9251
|
-
'category_ids': Array<number>;
|
|
9252
|
-
/**
|
|
9253
|
-
*
|
|
9254
|
-
* @type {Array<number>}
|
|
9255
|
-
* @memberof LoyaltyActionTargetDto
|
|
9256
|
-
*/
|
|
9257
|
-
'exclude_product_ids': Array<number>;
|
|
9258
|
-
/**
|
|
9259
|
-
*
|
|
9260
|
-
* @type {Array<number>}
|
|
9261
|
-
* @memberof LoyaltyActionTargetDto
|
|
9262
|
-
*/
|
|
9263
|
-
'exclude_category_ids': Array<number>;
|
|
9264
|
-
/**
|
|
9265
|
-
*
|
|
9266
|
-
* @type {boolean}
|
|
9267
|
-
* @memberof LoyaltyActionTargetDto
|
|
9268
|
-
*/
|
|
9269
|
-
'exclude_alcohol': boolean;
|
|
9270
|
-
}
|
|
9271
|
-
/**
|
|
9272
|
-
*
|
|
9273
|
-
* @export
|
|
9274
|
-
* @interface LoyaltyBusinessScopeDto
|
|
9275
|
-
*/
|
|
9276
|
-
export interface LoyaltyBusinessScopeDto {
|
|
9277
|
-
/**
|
|
9278
|
-
*
|
|
9279
|
-
* @type {number}
|
|
9280
|
-
* @memberof LoyaltyBusinessScopeDto
|
|
9281
|
-
*/
|
|
9282
|
-
'business_id': number;
|
|
9283
|
-
/**
|
|
9284
|
-
*
|
|
9285
|
-
* @type {Array<LoyaltyConditionBindingDto>}
|
|
9286
|
-
* @memberof LoyaltyBusinessScopeDto
|
|
9287
|
-
*/
|
|
9288
|
-
'condition_bindings': Array<LoyaltyConditionBindingDto>;
|
|
9289
|
-
/**
|
|
9290
|
-
*
|
|
9291
|
-
* @type {LoyaltyActionTargetDto}
|
|
9292
|
-
* @memberof LoyaltyBusinessScopeDto
|
|
9293
|
-
*/
|
|
9294
|
-
'action_target': LoyaltyActionTargetDto;
|
|
9295
|
-
/**
|
|
9296
|
-
*
|
|
9297
|
-
* @type {LoyaltyActionOverrideDto}
|
|
9298
|
-
* @memberof LoyaltyBusinessScopeDto
|
|
9299
|
-
*/
|
|
9300
|
-
'action_override'?: LoyaltyActionOverrideDto | null;
|
|
9301
|
-
}
|
|
9302
|
-
/**
|
|
9303
|
-
*
|
|
9304
|
-
* @export
|
|
9305
|
-
* @enum {string}
|
|
9306
|
-
*/
|
|
9307
|
-
export declare const LoyaltyCatalogType: {
|
|
9308
|
-
readonly Product: "product";
|
|
9309
|
-
readonly Coupon: "coupon";
|
|
9310
|
-
};
|
|
9311
|
-
export type LoyaltyCatalogType = typeof LoyaltyCatalogType[keyof typeof LoyaltyCatalogType];
|
|
9312
|
-
/**
|
|
9313
|
-
*
|
|
9314
|
-
* @export
|
|
9315
|
-
* @enum {string}
|
|
9316
|
-
*/
|
|
9317
|
-
export declare const LoyaltyChannel: {
|
|
9318
|
-
readonly Kiosk: "kiosk";
|
|
9319
|
-
readonly Pos: "pos";
|
|
9320
|
-
readonly Online: "online";
|
|
9321
|
-
readonly Mobile: "mobile";
|
|
9322
|
-
};
|
|
9323
|
-
export type LoyaltyChannel = typeof LoyaltyChannel[keyof typeof LoyaltyChannel];
|
|
9324
|
-
/**
|
|
9325
|
-
*
|
|
9326
|
-
* @export
|
|
9327
|
-
* @enum {string}
|
|
9328
|
-
*/
|
|
9329
|
-
export declare const LoyaltyCommerceMode: {
|
|
9330
|
-
readonly Legacy: "legacy";
|
|
9331
|
-
readonly Structured: "structured";
|
|
9332
|
-
};
|
|
9333
|
-
export type LoyaltyCommerceMode = typeof LoyaltyCommerceMode[keyof typeof LoyaltyCommerceMode];
|
|
9334
|
-
/**
|
|
9335
|
-
*
|
|
9336
|
-
* @export
|
|
9337
|
-
* @interface LoyaltyConditionBindingDto
|
|
9338
|
-
*/
|
|
9339
|
-
export interface LoyaltyConditionBindingDto {
|
|
9340
|
-
/**
|
|
9341
|
-
*
|
|
9342
|
-
* @type {string}
|
|
9343
|
-
* @memberof LoyaltyConditionBindingDto
|
|
9344
|
-
*/
|
|
9345
|
-
'condition_id': string;
|
|
9346
|
-
/**
|
|
9347
|
-
*
|
|
9348
|
-
* @type {Array<number>}
|
|
9349
|
-
* @memberof LoyaltyConditionBindingDto
|
|
9350
|
-
*/
|
|
9351
|
-
'product_ids': Array<number>;
|
|
9352
|
-
/**
|
|
9353
|
-
*
|
|
9354
|
-
* @type {Array<number>}
|
|
9355
|
-
* @memberof LoyaltyConditionBindingDto
|
|
9356
|
-
*/
|
|
9357
|
-
'category_ids': Array<number>;
|
|
9358
|
-
}
|
|
9359
9197
|
/**
|
|
9360
9198
|
*
|
|
9361
9199
|
* @export
|
|
@@ -9507,17 +9345,6 @@ export interface LoyaltyLinkMetadataDto {
|
|
|
9507
9345
|
*/
|
|
9508
9346
|
'venueId': number;
|
|
9509
9347
|
}
|
|
9510
|
-
/**
|
|
9511
|
-
*
|
|
9512
|
-
* @export
|
|
9513
|
-
* @enum {string}
|
|
9514
|
-
*/
|
|
9515
|
-
export declare const LoyaltyRedemptionStatus: {
|
|
9516
|
-
readonly Pending: "pending";
|
|
9517
|
-
readonly Redeemed: "redeemed";
|
|
9518
|
-
readonly Reversed: "reversed";
|
|
9519
|
-
};
|
|
9520
|
-
export type LoyaltyRedemptionStatus = typeof LoyaltyRedemptionStatus[keyof typeof LoyaltyRedemptionStatus];
|
|
9521
9348
|
/**
|
|
9522
9349
|
*
|
|
9523
9350
|
* @export
|
|
@@ -9562,362 +9389,6 @@ export interface LoyaltyResolveResponseDto {
|
|
|
9562
9389
|
*/
|
|
9563
9390
|
'perks': Array<ResolvedPerkDto>;
|
|
9564
9391
|
}
|
|
9565
|
-
/**
|
|
9566
|
-
*
|
|
9567
|
-
* @export
|
|
9568
|
-
* @enum {string}
|
|
9569
|
-
*/
|
|
9570
|
-
export declare const LoyaltyRestoreRequestStatus: {
|
|
9571
|
-
readonly Requested: "REQUESTED";
|
|
9572
|
-
readonly AlreadyReversed: "ALREADY_REVERSED";
|
|
9573
|
-
};
|
|
9574
|
-
export type LoyaltyRestoreRequestStatus = typeof LoyaltyRestoreRequestStatus[keyof typeof LoyaltyRestoreRequestStatus];
|
|
9575
|
-
/**
|
|
9576
|
-
*
|
|
9577
|
-
* @export
|
|
9578
|
-
* @enum {string}
|
|
9579
|
-
*/
|
|
9580
|
-
export declare const LoyaltyRewardType: {
|
|
9581
|
-
readonly Product: "product";
|
|
9582
|
-
readonly Coupon: "coupon";
|
|
9583
|
-
};
|
|
9584
|
-
export type LoyaltyRewardType = typeof LoyaltyRewardType[keyof typeof LoyaltyRewardType];
|
|
9585
|
-
/**
|
|
9586
|
-
*
|
|
9587
|
-
* @export
|
|
9588
|
-
* @interface LoyaltyRuleActionDto
|
|
9589
|
-
*/
|
|
9590
|
-
export interface LoyaltyRuleActionDto {
|
|
9591
|
-
/**
|
|
9592
|
-
*
|
|
9593
|
-
* @type {LoyaltyRuleActionType}
|
|
9594
|
-
* @memberof LoyaltyRuleActionDto
|
|
9595
|
-
*/
|
|
9596
|
-
'type': LoyaltyRuleActionType;
|
|
9597
|
-
/**
|
|
9598
|
-
* 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.
|
|
9599
|
-
* @type {number}
|
|
9600
|
-
* @memberof LoyaltyRuleActionDto
|
|
9601
|
-
*/
|
|
9602
|
-
'value': number;
|
|
9603
|
-
/**
|
|
9604
|
-
*
|
|
9605
|
-
* @type {string}
|
|
9606
|
-
* @memberof LoyaltyRuleActionDto
|
|
9607
|
-
*/
|
|
9608
|
-
'currency'?: string | null;
|
|
9609
|
-
/**
|
|
9610
|
-
*
|
|
9611
|
-
* @type {LoyaltyRuleTargetType}
|
|
9612
|
-
* @memberof LoyaltyRuleActionDto
|
|
9613
|
-
*/
|
|
9614
|
-
'target_type': LoyaltyRuleTargetType;
|
|
9615
|
-
/**
|
|
9616
|
-
*
|
|
9617
|
-
* @type {LoyaltyRuleSelection}
|
|
9618
|
-
* @memberof LoyaltyRuleActionDto
|
|
9619
|
-
*/
|
|
9620
|
-
'selection': LoyaltyRuleSelection;
|
|
9621
|
-
/**
|
|
9622
|
-
*
|
|
9623
|
-
* @type {number}
|
|
9624
|
-
* @memberof LoyaltyRuleActionDto
|
|
9625
|
-
*/
|
|
9626
|
-
'units_per_application': number;
|
|
9627
|
-
/**
|
|
9628
|
-
*
|
|
9629
|
-
* @type {number}
|
|
9630
|
-
* @memberof LoyaltyRuleActionDto
|
|
9631
|
-
*/
|
|
9632
|
-
'max_units'?: number | null;
|
|
9633
|
-
/**
|
|
9634
|
-
*
|
|
9635
|
-
* @type {LoyaltyRuleFulfillmentMode}
|
|
9636
|
-
* @memberof LoyaltyRuleActionDto
|
|
9637
|
-
*/
|
|
9638
|
-
'fulfillment_mode': LoyaltyRuleFulfillmentMode;
|
|
9639
|
-
}
|
|
9640
|
-
/**
|
|
9641
|
-
*
|
|
9642
|
-
* @export
|
|
9643
|
-
* @enum {string}
|
|
9644
|
-
*/
|
|
9645
|
-
export declare const LoyaltyRuleActionType: {
|
|
9646
|
-
readonly Percentage: "percentage";
|
|
9647
|
-
readonly Fixed: "fixed";
|
|
9648
|
-
};
|
|
9649
|
-
export type LoyaltyRuleActionType = typeof LoyaltyRuleActionType[keyof typeof LoyaltyRuleActionType];
|
|
9650
|
-
/**
|
|
9651
|
-
*
|
|
9652
|
-
* @export
|
|
9653
|
-
* @enum {string}
|
|
9654
|
-
*/
|
|
9655
|
-
export declare const LoyaltyRuleApplicationMode: {
|
|
9656
|
-
readonly Manual: "manual";
|
|
9657
|
-
readonly Automatic: "automatic";
|
|
9658
|
-
};
|
|
9659
|
-
export type LoyaltyRuleApplicationMode = typeof LoyaltyRuleApplicationMode[keyof typeof LoyaltyRuleApplicationMode];
|
|
9660
|
-
/**
|
|
9661
|
-
*
|
|
9662
|
-
* @export
|
|
9663
|
-
* @interface LoyaltyRuleConditionDto
|
|
9664
|
-
*/
|
|
9665
|
-
export interface LoyaltyRuleConditionDto {
|
|
9666
|
-
/**
|
|
9667
|
-
*
|
|
9668
|
-
* @type {string}
|
|
9669
|
-
* @memberof LoyaltyRuleConditionDto
|
|
9670
|
-
*/
|
|
9671
|
-
'condition_id': string;
|
|
9672
|
-
/**
|
|
9673
|
-
*
|
|
9674
|
-
* @type {LoyaltyRuleConditionType}
|
|
9675
|
-
* @memberof LoyaltyRuleConditionDto
|
|
9676
|
-
*/
|
|
9677
|
-
'type': LoyaltyRuleConditionType;
|
|
9678
|
-
/**
|
|
9679
|
-
*
|
|
9680
|
-
* @type {number}
|
|
9681
|
-
* @memberof LoyaltyRuleConditionDto
|
|
9682
|
-
*/
|
|
9683
|
-
'required_quantity'?: number | null;
|
|
9684
|
-
/**
|
|
9685
|
-
*
|
|
9686
|
-
* @type {number}
|
|
9687
|
-
* @memberof LoyaltyRuleConditionDto
|
|
9688
|
-
*/
|
|
9689
|
-
'value'?: number | null;
|
|
9690
|
-
}
|
|
9691
|
-
/**
|
|
9692
|
-
*
|
|
9693
|
-
* @export
|
|
9694
|
-
* @enum {string}
|
|
9695
|
-
*/
|
|
9696
|
-
export declare const LoyaltyRuleConditionType: {
|
|
9697
|
-
readonly Always: "always";
|
|
9698
|
-
readonly ProductInCart: "product_in_cart";
|
|
9699
|
-
readonly CategoryInCart: "category_in_cart";
|
|
9700
|
-
readonly ProductQuantityInCart: "product_quantity_in_cart";
|
|
9701
|
-
readonly CategoryQuantityInCart: "category_quantity_in_cart";
|
|
9702
|
-
readonly CartMinValue: "cart_min_value";
|
|
9703
|
-
readonly CartMaxValue: "cart_max_value";
|
|
9704
|
-
};
|
|
9705
|
-
export type LoyaltyRuleConditionType = typeof LoyaltyRuleConditionType[keyof typeof LoyaltyRuleConditionType];
|
|
9706
|
-
/**
|
|
9707
|
-
*
|
|
9708
|
-
* @export
|
|
9709
|
-
* @enum {string}
|
|
9710
|
-
*/
|
|
9711
|
-
export declare const LoyaltyRuleFulfillmentMode: {
|
|
9712
|
-
readonly RequireInCart: "require_in_cart";
|
|
9713
|
-
readonly ConfigureTarget: "configure_target";
|
|
9714
|
-
};
|
|
9715
|
-
export type LoyaltyRuleFulfillmentMode = typeof LoyaltyRuleFulfillmentMode[keyof typeof LoyaltyRuleFulfillmentMode];
|
|
9716
|
-
/**
|
|
9717
|
-
*
|
|
9718
|
-
* @export
|
|
9719
|
-
* @enum {string}
|
|
9720
|
-
*/
|
|
9721
|
-
export declare const LoyaltyRuleSelection: {
|
|
9722
|
-
readonly All: "all";
|
|
9723
|
-
readonly Cheapest: "cheapest";
|
|
9724
|
-
readonly MostExpensive: "most_expensive";
|
|
9725
|
-
};
|
|
9726
|
-
export type LoyaltyRuleSelection = typeof LoyaltyRuleSelection[keyof typeof LoyaltyRuleSelection];
|
|
9727
|
-
/**
|
|
9728
|
-
*
|
|
9729
|
-
* @export
|
|
9730
|
-
* @enum {string}
|
|
9731
|
-
*/
|
|
9732
|
-
export declare const LoyaltyRuleStackingMode: {
|
|
9733
|
-
readonly ExclusiveBestForCustomer: "exclusive_best_for_customer";
|
|
9734
|
-
readonly Stackable: "stackable";
|
|
9735
|
-
};
|
|
9736
|
-
export type LoyaltyRuleStackingMode = typeof LoyaltyRuleStackingMode[keyof typeof LoyaltyRuleStackingMode];
|
|
9737
|
-
/**
|
|
9738
|
-
*
|
|
9739
|
-
* @export
|
|
9740
|
-
* @enum {string}
|
|
9741
|
-
*/
|
|
9742
|
-
export declare const LoyaltyRuleTargetType: {
|
|
9743
|
-
readonly ConditionMatch: "condition_match";
|
|
9744
|
-
readonly Product: "product";
|
|
9745
|
-
readonly Category: "category";
|
|
9746
|
-
readonly Order: "order";
|
|
9747
|
-
};
|
|
9748
|
-
export type LoyaltyRuleTargetType = typeof LoyaltyRuleTargetType[keyof typeof LoyaltyRuleTargetType];
|
|
9749
|
-
/**
|
|
9750
|
-
*
|
|
9751
|
-
* @export
|
|
9752
|
-
* @interface LoyaltyRuntimeContextDto
|
|
9753
|
-
*/
|
|
9754
|
-
export interface LoyaltyRuntimeContextDto {
|
|
9755
|
-
/**
|
|
9756
|
-
* Loyalty user id the runtime was resolved for
|
|
9757
|
-
* @type {number}
|
|
9758
|
-
* @memberof LoyaltyRuntimeContextDto
|
|
9759
|
-
*/
|
|
9760
|
-
'user_id': number;
|
|
9761
|
-
/**
|
|
9762
|
-
* Business the runtime was resolved for
|
|
9763
|
-
* @type {number}
|
|
9764
|
-
* @memberof LoyaltyRuntimeContextDto
|
|
9765
|
-
*/
|
|
9766
|
-
'business_id': number;
|
|
9767
|
-
/**
|
|
9768
|
-
*
|
|
9769
|
-
* @type {LoyaltyChannel}
|
|
9770
|
-
* @memberof LoyaltyRuntimeContextDto
|
|
9771
|
-
*/
|
|
9772
|
-
'channel': LoyaltyChannel;
|
|
9773
|
-
/**
|
|
9774
|
-
* Points the member can still spend, excluding expired batches
|
|
9775
|
-
* @type {number}
|
|
9776
|
-
* @memberof LoyaltyRuntimeContextDto
|
|
9777
|
-
*/
|
|
9778
|
-
'points_balance': number;
|
|
9779
|
-
/**
|
|
9780
|
-
* Rewards available to this member on this channel
|
|
9781
|
-
* @type {Array<LoyaltyRuntimeRewardDto>}
|
|
9782
|
-
* @memberof LoyaltyRuntimeContextDto
|
|
9783
|
-
*/
|
|
9784
|
-
'rewards': Array<LoyaltyRuntimeRewardDto>;
|
|
9785
|
-
}
|
|
9786
|
-
/**
|
|
9787
|
-
*
|
|
9788
|
-
* @export
|
|
9789
|
-
* @interface LoyaltyRuntimeContextRequestDto
|
|
9790
|
-
*/
|
|
9791
|
-
export interface LoyaltyRuntimeContextRequestDto {
|
|
9792
|
-
/**
|
|
9793
|
-
* Loyalty user id the context is resolved for
|
|
9794
|
-
* @type {number}
|
|
9795
|
-
* @memberof LoyaltyRuntimeContextRequestDto
|
|
9796
|
-
*/
|
|
9797
|
-
'user_id': number;
|
|
9798
|
-
/**
|
|
9799
|
-
* Business the caller is asking about
|
|
9800
|
-
* @type {number}
|
|
9801
|
-
* @memberof LoyaltyRuntimeContextRequestDto
|
|
9802
|
-
*/
|
|
9803
|
-
'business_id': number;
|
|
9804
|
-
/**
|
|
9805
|
-
*
|
|
9806
|
-
* @type {LoyaltyChannel}
|
|
9807
|
-
* @memberof LoyaltyRuntimeContextRequestDto
|
|
9808
|
-
*/
|
|
9809
|
-
'channel': LoyaltyChannel;
|
|
9810
|
-
}
|
|
9811
|
-
/**
|
|
9812
|
-
*
|
|
9813
|
-
* @export
|
|
9814
|
-
* @interface LoyaltyRuntimeRewardDto
|
|
9815
|
-
*/
|
|
9816
|
-
export interface LoyaltyRuntimeRewardDto {
|
|
9817
|
-
/**
|
|
9818
|
-
*
|
|
9819
|
-
* @type {number}
|
|
9820
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9821
|
-
*/
|
|
9822
|
-
'catalog_id': number;
|
|
9823
|
-
/**
|
|
9824
|
-
*
|
|
9825
|
-
* @type {LoyaltyRewardType}
|
|
9826
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9827
|
-
*/
|
|
9828
|
-
'type': LoyaltyRewardType;
|
|
9829
|
-
/**
|
|
9830
|
-
*
|
|
9831
|
-
* @type {string}
|
|
9832
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9833
|
-
*/
|
|
9834
|
-
'name': string;
|
|
9835
|
-
/**
|
|
9836
|
-
*
|
|
9837
|
-
* @type {string}
|
|
9838
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9839
|
-
*/
|
|
9840
|
-
'description'?: string | null;
|
|
9841
|
-
/**
|
|
9842
|
-
* Points a member spends; always null for a coupon
|
|
9843
|
-
* @type {number}
|
|
9844
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9845
|
-
*/
|
|
9846
|
-
'points_cost': number | null;
|
|
9847
|
-
/**
|
|
9848
|
-
*
|
|
9849
|
-
* @type {LoyaltyCommerceMode}
|
|
9850
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9851
|
-
*/
|
|
9852
|
-
'commerce_mode': LoyaltyCommerceMode;
|
|
9853
|
-
/**
|
|
9854
|
-
*
|
|
9855
|
-
* @type {Array<LoyaltyRuntimeRuleDto>}
|
|
9856
|
-
* @memberof LoyaltyRuntimeRewardDto
|
|
9857
|
-
*/
|
|
9858
|
-
'rules': Array<LoyaltyRuntimeRuleDto>;
|
|
9859
|
-
}
|
|
9860
|
-
/**
|
|
9861
|
-
*
|
|
9862
|
-
* @export
|
|
9863
|
-
* @interface LoyaltyRuntimeRuleDto
|
|
9864
|
-
*/
|
|
9865
|
-
export interface LoyaltyRuntimeRuleDto {
|
|
9866
|
-
/**
|
|
9867
|
-
*
|
|
9868
|
-
* @type {number}
|
|
9869
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9870
|
-
*/
|
|
9871
|
-
'rule_id': number;
|
|
9872
|
-
/**
|
|
9873
|
-
*
|
|
9874
|
-
* @type {number}
|
|
9875
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9876
|
-
*/
|
|
9877
|
-
'revision': number;
|
|
9878
|
-
/**
|
|
9879
|
-
*
|
|
9880
|
-
* @type {LoyaltyRuleApplicationMode}
|
|
9881
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9882
|
-
*/
|
|
9883
|
-
'application_mode': LoyaltyRuleApplicationMode;
|
|
9884
|
-
/**
|
|
9885
|
-
*
|
|
9886
|
-
* @type {LoyaltyRuleStackingMode}
|
|
9887
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9888
|
-
*/
|
|
9889
|
-
'stacking_mode': LoyaltyRuleStackingMode;
|
|
9890
|
-
/**
|
|
9891
|
-
*
|
|
9892
|
-
* @type {Array<LoyaltyRuleConditionDto>}
|
|
9893
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9894
|
-
*/
|
|
9895
|
-
'conditions': Array<LoyaltyRuleConditionDto>;
|
|
9896
|
-
/**
|
|
9897
|
-
*
|
|
9898
|
-
* @type {boolean}
|
|
9899
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9900
|
-
*/
|
|
9901
|
-
'repeatable': boolean;
|
|
9902
|
-
/**
|
|
9903
|
-
*
|
|
9904
|
-
* @type {number}
|
|
9905
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9906
|
-
*/
|
|
9907
|
-
'max_applications': number | null;
|
|
9908
|
-
/**
|
|
9909
|
-
*
|
|
9910
|
-
* @type {LoyaltyRuleActionDto}
|
|
9911
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9912
|
-
*/
|
|
9913
|
-
'action': LoyaltyRuleActionDto;
|
|
9914
|
-
/**
|
|
9915
|
-
*
|
|
9916
|
-
* @type {LoyaltyBusinessScopeDto}
|
|
9917
|
-
* @memberof LoyaltyRuntimeRuleDto
|
|
9918
|
-
*/
|
|
9919
|
-
'business_scope': LoyaltyBusinessScopeDto;
|
|
9920
|
-
}
|
|
9921
9392
|
/**
|
|
9922
9393
|
*
|
|
9923
9394
|
* @export
|
|
@@ -11876,118 +11347,6 @@ export interface OrderHistoryResponseDtoSummary {
|
|
|
11876
11347
|
*/
|
|
11877
11348
|
'totalTipAmount'?: number;
|
|
11878
11349
|
}
|
|
11879
|
-
/**
|
|
11880
|
-
*
|
|
11881
|
-
* @export
|
|
11882
|
-
* @interface OrderLoyaltyDto
|
|
11883
|
-
*/
|
|
11884
|
-
export interface OrderLoyaltyDto {
|
|
11885
|
-
/**
|
|
11886
|
-
* Redemptions on this order, keyed by loyalty entry id.
|
|
11887
|
-
* @type {{ [key: string]: OrderLoyaltyRedemptionDto; }}
|
|
11888
|
-
* @memberof OrderLoyaltyDto
|
|
11889
|
-
*/
|
|
11890
|
-
'redemptions': {
|
|
11891
|
-
[key: string]: OrderLoyaltyRedemptionDto;
|
|
11892
|
-
};
|
|
11893
|
-
}
|
|
11894
|
-
/**
|
|
11895
|
-
*
|
|
11896
|
-
* @export
|
|
11897
|
-
* @interface OrderLoyaltyRedemptionDto
|
|
11898
|
-
*/
|
|
11899
|
-
export interface OrderLoyaltyRedemptionDto {
|
|
11900
|
-
/**
|
|
11901
|
-
* Loyalty entry id, and the key this entry is stored under
|
|
11902
|
-
* @type {string}
|
|
11903
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11904
|
-
*/
|
|
11905
|
-
'id': string;
|
|
11906
|
-
/**
|
|
11907
|
-
*
|
|
11908
|
-
* @type {Array<string>}
|
|
11909
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11910
|
-
*/
|
|
11911
|
-
'discountApplicationIds': Array<string>;
|
|
11912
|
-
/**
|
|
11913
|
-
*
|
|
11914
|
-
* @type {number}
|
|
11915
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11916
|
-
*/
|
|
11917
|
-
'catalogId': number;
|
|
11918
|
-
/**
|
|
11919
|
-
*
|
|
11920
|
-
* @type {LoyaltyCatalogType}
|
|
11921
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11922
|
-
*/
|
|
11923
|
-
'catalogType': LoyaltyCatalogType;
|
|
11924
|
-
/**
|
|
11925
|
-
*
|
|
11926
|
-
* @type {string}
|
|
11927
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11928
|
-
*/
|
|
11929
|
-
'rewardName': string;
|
|
11930
|
-
/**
|
|
11931
|
-
*
|
|
11932
|
-
* @type {number}
|
|
11933
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11934
|
-
*/
|
|
11935
|
-
'ruleId': number;
|
|
11936
|
-
/**
|
|
11937
|
-
*
|
|
11938
|
-
* @type {number}
|
|
11939
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11940
|
-
*/
|
|
11941
|
-
'ruleRevision': number;
|
|
11942
|
-
/**
|
|
11943
|
-
*
|
|
11944
|
-
* @type {number}
|
|
11945
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11946
|
-
*/
|
|
11947
|
-
'quantity': number;
|
|
11948
|
-
/**
|
|
11949
|
-
* Points spent, in points.
|
|
11950
|
-
* @type {number}
|
|
11951
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11952
|
-
*/
|
|
11953
|
-
'pointsCost': number | null;
|
|
11954
|
-
/**
|
|
11955
|
-
*
|
|
11956
|
-
* @type {LoyaltyRedemptionStatus}
|
|
11957
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11958
|
-
*/
|
|
11959
|
-
'status': LoyaltyRedemptionStatus;
|
|
11960
|
-
/**
|
|
11961
|
-
*
|
|
11962
|
-
* @type {string}
|
|
11963
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11964
|
-
*/
|
|
11965
|
-
'transactionId': string | null;
|
|
11966
|
-
/**
|
|
11967
|
-
*
|
|
11968
|
-
* @type {string}
|
|
11969
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11970
|
-
*/
|
|
11971
|
-
'walletId': string | null;
|
|
11972
|
-
/**
|
|
11973
|
-
*
|
|
11974
|
-
* @type {string}
|
|
11975
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11976
|
-
*/
|
|
11977
|
-
'settledAt': string | null;
|
|
11978
|
-
/**
|
|
11979
|
-
*
|
|
11980
|
-
* @type {string}
|
|
11981
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11982
|
-
*/
|
|
11983
|
-
'reversalTransactionId': string | null;
|
|
11984
|
-
/**
|
|
11985
|
-
*
|
|
11986
|
-
* @type {string}
|
|
11987
|
-
* @memberof OrderLoyaltyRedemptionDto
|
|
11988
|
-
*/
|
|
11989
|
-
'reversedAt': string | null;
|
|
11990
|
-
}
|
|
11991
11350
|
/**
|
|
11992
11351
|
*
|
|
11993
11352
|
* @export
|
|
@@ -13760,12 +13119,6 @@ export interface ParkPosOrderDtoOrder {
|
|
|
13760
13119
|
* @memberof ParkPosOrderDtoOrder
|
|
13761
13120
|
*/
|
|
13762
13121
|
'tableGroupId'?: string | null;
|
|
13763
|
-
/**
|
|
13764
|
-
*
|
|
13765
|
-
* @type {PosOrderDtoLoyalty}
|
|
13766
|
-
* @memberof ParkPosOrderDtoOrder
|
|
13767
|
-
*/
|
|
13768
|
-
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
13769
13122
|
}
|
|
13770
13123
|
/**
|
|
13771
13124
|
*
|
|
@@ -16127,36 +15480,6 @@ export interface PosDiscountDto {
|
|
|
16127
15480
|
* @memberof PosDiscountDto
|
|
16128
15481
|
*/
|
|
16129
15482
|
'isAutomatic': boolean;
|
|
16130
|
-
/**
|
|
16131
|
-
* 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.
|
|
16132
|
-
* @type {number}
|
|
16133
|
-
* @memberof PosDiscountDto
|
|
16134
|
-
*/
|
|
16135
|
-
'sequence'?: number;
|
|
16136
|
-
/**
|
|
16137
|
-
* Payable amount this application was measured against, in minor units.
|
|
16138
|
-
* @type {number}
|
|
16139
|
-
* @memberof PosDiscountDto
|
|
16140
|
-
*/
|
|
16141
|
-
'baseAmount'?: number;
|
|
16142
|
-
/**
|
|
16143
|
-
* Amount the configured discount asked for, in minor units, before it was clamped to what was still payable.
|
|
16144
|
-
* @type {number}
|
|
16145
|
-
* @memberof PosDiscountDto
|
|
16146
|
-
*/
|
|
16147
|
-
'requestedAmount'?: number;
|
|
16148
|
-
/**
|
|
16149
|
-
* Part of requestedAmount that could not be taken because nothing payable was left, in minor units. Never cashback.
|
|
16150
|
-
* @type {number}
|
|
16151
|
-
* @memberof PosDiscountDto
|
|
16152
|
-
*/
|
|
16153
|
-
'forfeitedAmount'?: number;
|
|
16154
|
-
/**
|
|
16155
|
-
* Number of line units this application covers. Absent means it covers the whole line.
|
|
16156
|
-
* @type {number}
|
|
16157
|
-
* @memberof PosDiscountDto
|
|
16158
|
-
*/
|
|
16159
|
-
'units'?: number;
|
|
16160
15483
|
}
|
|
16161
15484
|
/**
|
|
16162
15485
|
*
|
|
@@ -17359,12 +16682,6 @@ export interface PosOrderDto {
|
|
|
17359
16682
|
* @memberof PosOrderDto
|
|
17360
16683
|
*/
|
|
17361
16684
|
'tableGroupId'?: string | null;
|
|
17362
|
-
/**
|
|
17363
|
-
*
|
|
17364
|
-
* @type {PosOrderDtoLoyalty}
|
|
17365
|
-
* @memberof PosOrderDto
|
|
17366
|
-
*/
|
|
17367
|
-
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
17368
16685
|
}
|
|
17369
16686
|
/**
|
|
17370
16687
|
* Equal split state persisted for the order
|
|
@@ -17452,21 +16769,6 @@ export interface PosOrderDtoInvoiceCompany {
|
|
|
17452
16769
|
*/
|
|
17453
16770
|
'updatedAt': string;
|
|
17454
16771
|
}
|
|
17455
|
-
/**
|
|
17456
|
-
* Loyalty rewards committed to this order. Absent on orders that used none.
|
|
17457
|
-
* @export
|
|
17458
|
-
* @interface PosOrderDtoLoyalty
|
|
17459
|
-
*/
|
|
17460
|
-
export interface PosOrderDtoLoyalty {
|
|
17461
|
-
/**
|
|
17462
|
-
* Redemptions on this order, keyed by loyalty entry id.
|
|
17463
|
-
* @type {{ [key: string]: OrderLoyaltyRedemptionDto; }}
|
|
17464
|
-
* @memberof PosOrderDtoLoyalty
|
|
17465
|
-
*/
|
|
17466
|
-
'redemptions': {
|
|
17467
|
-
[key: string]: OrderLoyaltyRedemptionDto;
|
|
17468
|
-
};
|
|
17469
|
-
}
|
|
17470
16772
|
/**
|
|
17471
16773
|
* Fine dining table service metadata
|
|
17472
16774
|
* @export
|
|
@@ -17682,12 +16984,6 @@ export interface PosOrderItemDto {
|
|
|
17682
16984
|
* @memberof PosOrderItemDto
|
|
17683
16985
|
*/
|
|
17684
16986
|
'discount': PosDiscountDto | null;
|
|
17685
|
-
/**
|
|
17686
|
-
* Every item-scope discount application on this line, in cascade order — including when there is only one.
|
|
17687
|
-
* @type {Array<PosDiscountDto>}
|
|
17688
|
-
* @memberof PosOrderItemDto
|
|
17689
|
-
*/
|
|
17690
|
-
'discountApplications'?: Array<PosDiscountDto>;
|
|
17691
16987
|
/**
|
|
17692
16988
|
*
|
|
17693
16989
|
* @type {boolean}
|
|
@@ -18204,12 +17500,6 @@ export interface PosOrderPayloadDtoOrder {
|
|
|
18204
17500
|
* @memberof PosOrderPayloadDtoOrder
|
|
18205
17501
|
*/
|
|
18206
17502
|
'tableGroupId'?: string | null;
|
|
18207
|
-
/**
|
|
18208
|
-
*
|
|
18209
|
-
* @type {PosOrderDtoLoyalty}
|
|
18210
|
-
* @memberof PosOrderPayloadDtoOrder
|
|
18211
|
-
*/
|
|
18212
|
-
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
18213
17503
|
}
|
|
18214
17504
|
/**
|
|
18215
17505
|
*
|
|
@@ -19125,12 +18415,6 @@ export interface ProcessOrderActionsResponseDtoOrder {
|
|
|
19125
18415
|
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
19126
18416
|
*/
|
|
19127
18417
|
'tableGroupId'?: string | null;
|
|
19128
|
-
/**
|
|
19129
|
-
*
|
|
19130
|
-
* @type {PosOrderDtoLoyalty}
|
|
19131
|
-
* @memberof ProcessOrderActionsResponseDtoOrder
|
|
19132
|
-
*/
|
|
19133
|
-
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
19134
18418
|
}
|
|
19135
18419
|
/**
|
|
19136
18420
|
*
|
|
@@ -20106,6 +19390,54 @@ export interface ReceiptDetailsDto {
|
|
|
20106
19390
|
*/
|
|
20107
19391
|
'transactionStatusInformation': string;
|
|
20108
19392
|
}
|
|
19393
|
+
/**
|
|
19394
|
+
*
|
|
19395
|
+
* @export
|
|
19396
|
+
* @interface ReceiptFooterConfigDto
|
|
19397
|
+
*/
|
|
19398
|
+
export interface ReceiptFooterConfigDto {
|
|
19399
|
+
/**
|
|
19400
|
+
*
|
|
19401
|
+
* @type {number}
|
|
19402
|
+
* @memberof ReceiptFooterConfigDto
|
|
19403
|
+
*/
|
|
19404
|
+
'businessId': number;
|
|
19405
|
+
/**
|
|
19406
|
+
*
|
|
19407
|
+
* @type {ProviderEnum}
|
|
19408
|
+
* @memberof ReceiptFooterConfigDto
|
|
19409
|
+
*/
|
|
19410
|
+
'channel': ProviderEnum;
|
|
19411
|
+
/**
|
|
19412
|
+
*
|
|
19413
|
+
* @type {Array<ReceiptFooterDocumentType>}
|
|
19414
|
+
* @memberof ReceiptFooterConfigDto
|
|
19415
|
+
*/
|
|
19416
|
+
'appliesTo': Array<ReceiptFooterDocumentType>;
|
|
19417
|
+
/**
|
|
19418
|
+
*
|
|
19419
|
+
* @type {Array<object>}
|
|
19420
|
+
* @memberof ReceiptFooterConfigDto
|
|
19421
|
+
*/
|
|
19422
|
+
'blocks': Array<object>;
|
|
19423
|
+
/**
|
|
19424
|
+
*
|
|
19425
|
+
* @type {string}
|
|
19426
|
+
* @memberof ReceiptFooterConfigDto
|
|
19427
|
+
*/
|
|
19428
|
+
'updatedAt': string;
|
|
19429
|
+
}
|
|
19430
|
+
/**
|
|
19431
|
+
*
|
|
19432
|
+
* @export
|
|
19433
|
+
* @enum {string}
|
|
19434
|
+
*/
|
|
19435
|
+
export declare const ReceiptFooterDocumentType: {
|
|
19436
|
+
readonly ReceiptFinal: "RECEIPT_FINAL";
|
|
19437
|
+
readonly ReceiptPrebill: "RECEIPT_PREBILL";
|
|
19438
|
+
readonly Refund: "REFUND";
|
|
19439
|
+
};
|
|
19440
|
+
export type ReceiptFooterDocumentType = typeof ReceiptFooterDocumentType[keyof typeof ReceiptFooterDocumentType];
|
|
20109
19441
|
/**
|
|
20110
19442
|
*
|
|
20111
19443
|
* @export
|
|
@@ -20395,12 +19727,6 @@ export interface RecordManualPaymentResultDtoOrder {
|
|
|
20395
19727
|
* @memberof RecordManualPaymentResultDtoOrder
|
|
20396
19728
|
*/
|
|
20397
19729
|
'tableGroupId'?: string | null;
|
|
20398
|
-
/**
|
|
20399
|
-
*
|
|
20400
|
-
* @type {PosOrderDtoLoyalty}
|
|
20401
|
-
* @memberof RecordManualPaymentResultDtoOrder
|
|
20402
|
-
*/
|
|
20403
|
-
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
20404
19730
|
}
|
|
20405
19731
|
/**
|
|
20406
19732
|
*
|
|
@@ -21374,56 +20700,6 @@ export declare const ScopeEnum: {
|
|
|
21374
20700
|
readonly Cart: "CART";
|
|
21375
20701
|
};
|
|
21376
20702
|
export type ScopeEnum = typeof ScopeEnum[keyof typeof ScopeEnum];
|
|
21377
|
-
/**
|
|
21378
|
-
*
|
|
21379
|
-
* @export
|
|
21380
|
-
* @interface RestoreLoyaltyRedemptionDto
|
|
21381
|
-
*/
|
|
21382
|
-
export interface RestoreLoyaltyRedemptionDto {
|
|
21383
|
-
/**
|
|
21384
|
-
* Business the order belongs to
|
|
21385
|
-
* @type {number}
|
|
21386
|
-
* @memberof RestoreLoyaltyRedemptionDto
|
|
21387
|
-
*/
|
|
21388
|
-
'businessId': number;
|
|
21389
|
-
/**
|
|
21390
|
-
* POS order carrying the redemption
|
|
21391
|
-
* @type {string}
|
|
21392
|
-
* @memberof RestoreLoyaltyRedemptionDto
|
|
21393
|
-
*/
|
|
21394
|
-
'orderId': string;
|
|
21395
|
-
/**
|
|
21396
|
-
* Loyalty entry to restore
|
|
21397
|
-
* @type {string}
|
|
21398
|
-
* @memberof RestoreLoyaltyRedemptionDto
|
|
21399
|
-
*/
|
|
21400
|
-
'loyaltyEntryId': string;
|
|
21401
|
-
}
|
|
21402
|
-
/**
|
|
21403
|
-
*
|
|
21404
|
-
* @export
|
|
21405
|
-
* @interface RestoreLoyaltyRedemptionResponseDto
|
|
21406
|
-
*/
|
|
21407
|
-
export interface RestoreLoyaltyRedemptionResponseDto {
|
|
21408
|
-
/**
|
|
21409
|
-
*
|
|
21410
|
-
* @type {LoyaltyRestoreRequestStatus}
|
|
21411
|
-
* @memberof RestoreLoyaltyRedemptionResponseDto
|
|
21412
|
-
*/
|
|
21413
|
-
'status': LoyaltyRestoreRequestStatus;
|
|
21414
|
-
/**
|
|
21415
|
-
* Loyalty transaction the restore was asked against
|
|
21416
|
-
* @type {string}
|
|
21417
|
-
* @memberof RestoreLoyaltyRedemptionResponseDto
|
|
21418
|
-
*/
|
|
21419
|
-
'transactionId': string | null;
|
|
21420
|
-
/**
|
|
21421
|
-
* Reversal already recorded against the entry, when there is one
|
|
21422
|
-
* @type {string}
|
|
21423
|
-
* @memberof RestoreLoyaltyRedemptionResponseDto
|
|
21424
|
-
*/
|
|
21425
|
-
'reversalTransactionId': string | null;
|
|
21426
|
-
}
|
|
21427
20703
|
/**
|
|
21428
20704
|
*
|
|
21429
20705
|
* @export
|
|
@@ -21473,6 +20749,7 @@ export declare const SYNCKEY: {
|
|
|
21473
20749
|
readonly BusinessTax: "BUSINESS_TAX";
|
|
21474
20750
|
readonly Transaction: "TRANSACTION";
|
|
21475
20751
|
readonly PaymentMethods: "PAYMENT_METHODS";
|
|
20752
|
+
readonly ReceiptFooter: "RECEIPT_FOOTER";
|
|
21476
20753
|
};
|
|
21477
20754
|
export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
|
|
21478
20755
|
/**
|
|
@@ -22717,12 +21994,6 @@ export interface SyncKioskOrderDtoOrder {
|
|
|
22717
21994
|
* @memberof SyncKioskOrderDtoOrder
|
|
22718
21995
|
*/
|
|
22719
21996
|
'tableGroupId'?: string | null;
|
|
22720
|
-
/**
|
|
22721
|
-
*
|
|
22722
|
-
* @type {PosOrderDtoLoyalty}
|
|
22723
|
-
* @memberof SyncKioskOrderDtoOrder
|
|
22724
|
-
*/
|
|
22725
|
-
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
22726
21997
|
}
|
|
22727
21998
|
/**
|
|
22728
21999
|
*
|
|
@@ -23052,12 +22323,6 @@ export interface SyncPosOrderDtoOrder {
|
|
|
23052
22323
|
* @memberof SyncPosOrderDtoOrder
|
|
23053
22324
|
*/
|
|
23054
22325
|
'tableGroupId'?: string | null;
|
|
23055
|
-
/**
|
|
23056
|
-
*
|
|
23057
|
-
* @type {PosOrderDtoLoyalty}
|
|
23058
|
-
* @memberof SyncPosOrderDtoOrder
|
|
23059
|
-
*/
|
|
23060
|
-
'loyalty'?: PosOrderDtoLoyalty | null;
|
|
23061
22326
|
}
|
|
23062
22327
|
/**
|
|
23063
22328
|
* POS order actions to run in the background after persist (same shape as /pos/actions). Omit to only sync the order.
|
|
@@ -24438,12 +23703,6 @@ export interface UnifiedOrderResponseDto {
|
|
|
24438
23703
|
* @memberof UnifiedOrderResponseDto
|
|
24439
23704
|
*/
|
|
24440
23705
|
'posDiscounts'?: Array<PosDiscountDto>;
|
|
24441
|
-
/**
|
|
24442
|
-
*
|
|
24443
|
-
* @type {UnifiedOrderResponseDtoLoyalty}
|
|
24444
|
-
* @memberof UnifiedOrderResponseDto
|
|
24445
|
-
*/
|
|
24446
|
-
'loyalty'?: UnifiedOrderResponseDtoLoyalty | null;
|
|
24447
23706
|
/**
|
|
24448
23707
|
* Payment transactions recorded for the POS order. POS only
|
|
24449
23708
|
* @type {Array<TransactionDto>}
|
|
@@ -24776,21 +24035,6 @@ export interface UnifiedOrderResponseDtoLastPaymentError {
|
|
|
24776
24035
|
*/
|
|
24777
24036
|
'retryable': boolean;
|
|
24778
24037
|
}
|
|
24779
|
-
/**
|
|
24780
|
-
* Loyalty rewards committed to the POS order, keyed by loyalty entry id. POS only
|
|
24781
|
-
* @export
|
|
24782
|
-
* @interface UnifiedOrderResponseDtoLoyalty
|
|
24783
|
-
*/
|
|
24784
|
-
export interface UnifiedOrderResponseDtoLoyalty {
|
|
24785
|
-
/**
|
|
24786
|
-
* Redemptions on this order, keyed by loyalty entry id.
|
|
24787
|
-
* @type {{ [key: string]: OrderLoyaltyRedemptionDto; }}
|
|
24788
|
-
* @memberof UnifiedOrderResponseDtoLoyalty
|
|
24789
|
-
*/
|
|
24790
|
-
'redemptions': {
|
|
24791
|
-
[key: string]: OrderLoyaltyRedemptionDto;
|
|
24792
|
-
};
|
|
24793
|
-
}
|
|
24794
24038
|
/**
|
|
24795
24039
|
* Preorder scheduling details. Platform only
|
|
24796
24040
|
* @export
|
|
@@ -26449,6 +25693,25 @@ export interface UpsertProvidersDto {
|
|
|
26449
25693
|
*/
|
|
26450
25694
|
'locationId'?: string;
|
|
26451
25695
|
}
|
|
25696
|
+
/**
|
|
25697
|
+
*
|
|
25698
|
+
* @export
|
|
25699
|
+
* @interface UpsertReceiptFooterDto
|
|
25700
|
+
*/
|
|
25701
|
+
export interface UpsertReceiptFooterDto {
|
|
25702
|
+
/**
|
|
25703
|
+
* Document types this footer applies to. Empty array = all types.
|
|
25704
|
+
* @type {Array<ReceiptFooterDocumentType>}
|
|
25705
|
+
* @memberof UpsertReceiptFooterDto
|
|
25706
|
+
*/
|
|
25707
|
+
'appliesTo': Array<ReceiptFooterDocumentType>;
|
|
25708
|
+
/**
|
|
25709
|
+
* Ordered footer content blocks (text/image/qr/barcode), rendered before Munchi\'s own branding footer.
|
|
25710
|
+
* @type {Array<object>}
|
|
25711
|
+
* @memberof UpsertReceiptFooterDto
|
|
25712
|
+
*/
|
|
25713
|
+
'blocks': Array<object>;
|
|
25714
|
+
}
|
|
26452
25715
|
/**
|
|
26453
25716
|
*
|
|
26454
25717
|
* @export
|
|
@@ -34271,81 +33534,6 @@ export declare class KiosksApi extends BaseAPI implements KiosksApiInterface {
|
|
|
34271
33534
|
*/
|
|
34272
33535
|
validate(terminalId: string, provider: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminalValidationResponseDto, any, {}>>;
|
|
34273
33536
|
}
|
|
34274
|
-
/**
|
|
34275
|
-
* LoyaltyCommerceApi - axios parameter creator
|
|
34276
|
-
* @export
|
|
34277
|
-
*/
|
|
34278
|
-
export declare const LoyaltyCommerceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
34279
|
-
/**
|
|
34280
|
-
*
|
|
34281
|
-
* @summary Ask the loyalty ledger to restore a settled redemption
|
|
34282
|
-
* @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
|
|
34283
|
-
* @param {*} [options] Override http request option.
|
|
34284
|
-
* @throws {RequiredError}
|
|
34285
|
-
*/
|
|
34286
|
-
restoreRedemption: (restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34287
|
-
};
|
|
34288
|
-
/**
|
|
34289
|
-
* LoyaltyCommerceApi - functional programming interface
|
|
34290
|
-
* @export
|
|
34291
|
-
*/
|
|
34292
|
-
export declare const LoyaltyCommerceApiFp: (configuration?: Configuration) => {
|
|
34293
|
-
/**
|
|
34294
|
-
*
|
|
34295
|
-
* @summary Ask the loyalty ledger to restore a settled redemption
|
|
34296
|
-
* @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
|
|
34297
|
-
* @param {*} [options] Override http request option.
|
|
34298
|
-
* @throws {RequiredError}
|
|
34299
|
-
*/
|
|
34300
|
-
restoreRedemption(restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestoreLoyaltyRedemptionResponseDto>>;
|
|
34301
|
-
};
|
|
34302
|
-
/**
|
|
34303
|
-
* LoyaltyCommerceApi - factory interface
|
|
34304
|
-
* @export
|
|
34305
|
-
*/
|
|
34306
|
-
export declare const LoyaltyCommerceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
34307
|
-
/**
|
|
34308
|
-
*
|
|
34309
|
-
* @summary Ask the loyalty ledger to restore a settled redemption
|
|
34310
|
-
* @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
|
|
34311
|
-
* @param {*} [options] Override http request option.
|
|
34312
|
-
* @throws {RequiredError}
|
|
34313
|
-
*/
|
|
34314
|
-
restoreRedemption(restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: any): AxiosPromise<RestoreLoyaltyRedemptionResponseDto>;
|
|
34315
|
-
};
|
|
34316
|
-
/**
|
|
34317
|
-
* LoyaltyCommerceApi - interface
|
|
34318
|
-
* @export
|
|
34319
|
-
* @interface LoyaltyCommerceApi
|
|
34320
|
-
*/
|
|
34321
|
-
export interface LoyaltyCommerceApiInterface {
|
|
34322
|
-
/**
|
|
34323
|
-
*
|
|
34324
|
-
* @summary Ask the loyalty ledger to restore a settled redemption
|
|
34325
|
-
* @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
|
|
34326
|
-
* @param {*} [options] Override http request option.
|
|
34327
|
-
* @throws {RequiredError}
|
|
34328
|
-
* @memberof LoyaltyCommerceApiInterface
|
|
34329
|
-
*/
|
|
34330
|
-
restoreRedemption(restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: AxiosRequestConfig): AxiosPromise<RestoreLoyaltyRedemptionResponseDto>;
|
|
34331
|
-
}
|
|
34332
|
-
/**
|
|
34333
|
-
* LoyaltyCommerceApi - object-oriented interface
|
|
34334
|
-
* @export
|
|
34335
|
-
* @class LoyaltyCommerceApi
|
|
34336
|
-
* @extends {BaseAPI}
|
|
34337
|
-
*/
|
|
34338
|
-
export declare class LoyaltyCommerceApi extends BaseAPI implements LoyaltyCommerceApiInterface {
|
|
34339
|
-
/**
|
|
34340
|
-
*
|
|
34341
|
-
* @summary Ask the loyalty ledger to restore a settled redemption
|
|
34342
|
-
* @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
|
|
34343
|
-
* @param {*} [options] Override http request option.
|
|
34344
|
-
* @throws {RequiredError}
|
|
34345
|
-
* @memberof LoyaltyCommerceApi
|
|
34346
|
-
*/
|
|
34347
|
-
restoreRedemption(restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RestoreLoyaltyRedemptionResponseDto, any, {}>>;
|
|
34348
|
-
}
|
|
34349
33537
|
/**
|
|
34350
33538
|
* LoyaltyIntegerationsApi - axios parameter creator
|
|
34351
33539
|
* @export
|
|
@@ -34429,14 +33617,6 @@ export declare const LoyaltyIntegerationsApiAxiosParamCreator: (configuration?:
|
|
|
34429
33617
|
* @throws {RequiredError}
|
|
34430
33618
|
*/
|
|
34431
33619
|
resolvePerks: (loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34432
|
-
/**
|
|
34433
|
-
*
|
|
34434
|
-
* @summary Resolve the loyalty runtime for a member on a till surface
|
|
34435
|
-
* @param {LoyaltyRuntimeContextRequestDto} loyaltyRuntimeContextRequestDto
|
|
34436
|
-
* @param {*} [options] Override http request option.
|
|
34437
|
-
* @throws {RequiredError}
|
|
34438
|
-
*/
|
|
34439
|
-
runtimeContext: (loyaltyRuntimeContextRequestDto: LoyaltyRuntimeContextRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34440
33620
|
/**
|
|
34441
33621
|
*
|
|
34442
33622
|
* @summary Search user by phone or email
|
|
@@ -34551,14 +33731,6 @@ export declare const LoyaltyIntegerationsApiFp: (configuration?: Configuration)
|
|
|
34551
33731
|
* @throws {RequiredError}
|
|
34552
33732
|
*/
|
|
34553
33733
|
resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoyaltyResolveResponseDto>>;
|
|
34554
|
-
/**
|
|
34555
|
-
*
|
|
34556
|
-
* @summary Resolve the loyalty runtime for a member on a till surface
|
|
34557
|
-
* @param {LoyaltyRuntimeContextRequestDto} loyaltyRuntimeContextRequestDto
|
|
34558
|
-
* @param {*} [options] Override http request option.
|
|
34559
|
-
* @throws {RequiredError}
|
|
34560
|
-
*/
|
|
34561
|
-
runtimeContext(loyaltyRuntimeContextRequestDto: LoyaltyRuntimeContextRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoyaltyRuntimeContextDto>>;
|
|
34562
33734
|
/**
|
|
34563
33735
|
*
|
|
34564
33736
|
* @summary Search user by phone or email
|
|
@@ -34673,14 +33845,6 @@ export declare const LoyaltyIntegerationsApiFactory: (configuration?: Configurat
|
|
|
34673
33845
|
* @throws {RequiredError}
|
|
34674
33846
|
*/
|
|
34675
33847
|
resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: any): AxiosPromise<LoyaltyResolveResponseDto>;
|
|
34676
|
-
/**
|
|
34677
|
-
*
|
|
34678
|
-
* @summary Resolve the loyalty runtime for a member on a till surface
|
|
34679
|
-
* @param {LoyaltyRuntimeContextRequestDto} loyaltyRuntimeContextRequestDto
|
|
34680
|
-
* @param {*} [options] Override http request option.
|
|
34681
|
-
* @throws {RequiredError}
|
|
34682
|
-
*/
|
|
34683
|
-
runtimeContext(loyaltyRuntimeContextRequestDto: LoyaltyRuntimeContextRequestDto, options?: any): AxiosPromise<LoyaltyRuntimeContextDto>;
|
|
34684
33848
|
/**
|
|
34685
33849
|
*
|
|
34686
33850
|
* @summary Search user by phone or email
|
|
@@ -34805,15 +33969,6 @@ export interface LoyaltyIntegerationsApiInterface {
|
|
|
34805
33969
|
* @memberof LoyaltyIntegerationsApiInterface
|
|
34806
33970
|
*/
|
|
34807
33971
|
resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig): AxiosPromise<LoyaltyResolveResponseDto>;
|
|
34808
|
-
/**
|
|
34809
|
-
*
|
|
34810
|
-
* @summary Resolve the loyalty runtime for a member on a till surface
|
|
34811
|
-
* @param {LoyaltyRuntimeContextRequestDto} loyaltyRuntimeContextRequestDto
|
|
34812
|
-
* @param {*} [options] Override http request option.
|
|
34813
|
-
* @throws {RequiredError}
|
|
34814
|
-
* @memberof LoyaltyIntegerationsApiInterface
|
|
34815
|
-
*/
|
|
34816
|
-
runtimeContext(loyaltyRuntimeContextRequestDto: LoyaltyRuntimeContextRequestDto, options?: AxiosRequestConfig): AxiosPromise<LoyaltyRuntimeContextDto>;
|
|
34817
33972
|
/**
|
|
34818
33973
|
*
|
|
34819
33974
|
* @summary Search user by phone or email
|
|
@@ -34942,15 +34097,6 @@ export declare class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyI
|
|
|
34942
34097
|
* @memberof LoyaltyIntegerationsApi
|
|
34943
34098
|
*/
|
|
34944
34099
|
resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoyaltyResolveResponseDto, any, {}>>;
|
|
34945
|
-
/**
|
|
34946
|
-
*
|
|
34947
|
-
* @summary Resolve the loyalty runtime for a member on a till surface
|
|
34948
|
-
* @param {LoyaltyRuntimeContextRequestDto} loyaltyRuntimeContextRequestDto
|
|
34949
|
-
* @param {*} [options] Override http request option.
|
|
34950
|
-
* @throws {RequiredError}
|
|
34951
|
-
* @memberof LoyaltyIntegerationsApi
|
|
34952
|
-
*/
|
|
34953
|
-
runtimeContext(loyaltyRuntimeContextRequestDto: LoyaltyRuntimeContextRequestDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoyaltyRuntimeContextDto, any, {}>>;
|
|
34954
34100
|
/**
|
|
34955
34101
|
*
|
|
34956
34102
|
* @summary Search user by phone or email
|
|
@@ -39982,6 +39128,138 @@ export declare class ProviderApi extends BaseAPI implements ProviderApiInterface
|
|
|
39982
39128
|
*/
|
|
39983
39129
|
updateProviderSettings(businessId: number, body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
39984
39130
|
}
|
|
39131
|
+
/**
|
|
39132
|
+
* ReceiptFooterApi - axios parameter creator
|
|
39133
|
+
* @export
|
|
39134
|
+
*/
|
|
39135
|
+
export declare const ReceiptFooterApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
39136
|
+
/**
|
|
39137
|
+
*
|
|
39138
|
+
* @summary Get the receipt footer config for a business + channel
|
|
39139
|
+
* @param {number} businessId
|
|
39140
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
39141
|
+
* @param {*} [options] Override http request option.
|
|
39142
|
+
* @throws {RequiredError}
|
|
39143
|
+
*/
|
|
39144
|
+
receiptFooterGetConfig: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39145
|
+
/**
|
|
39146
|
+
*
|
|
39147
|
+
* @summary Create or update the receipt footer config for a business + channel
|
|
39148
|
+
* @param {number} businessId
|
|
39149
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
39150
|
+
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
39151
|
+
* @param {*} [options] Override http request option.
|
|
39152
|
+
* @throws {RequiredError}
|
|
39153
|
+
*/
|
|
39154
|
+
receiptFooterUpsertConfig: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39155
|
+
};
|
|
39156
|
+
/**
|
|
39157
|
+
* ReceiptFooterApi - functional programming interface
|
|
39158
|
+
* @export
|
|
39159
|
+
*/
|
|
39160
|
+
export declare const ReceiptFooterApiFp: (configuration?: Configuration) => {
|
|
39161
|
+
/**
|
|
39162
|
+
*
|
|
39163
|
+
* @summary Get the receipt footer config for a business + channel
|
|
39164
|
+
* @param {number} businessId
|
|
39165
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
39166
|
+
* @param {*} [options] Override http request option.
|
|
39167
|
+
* @throws {RequiredError}
|
|
39168
|
+
*/
|
|
39169
|
+
receiptFooterGetConfig(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>>;
|
|
39170
|
+
/**
|
|
39171
|
+
*
|
|
39172
|
+
* @summary Create or update the receipt footer config for a business + channel
|
|
39173
|
+
* @param {number} businessId
|
|
39174
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
39175
|
+
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
39176
|
+
* @param {*} [options] Override http request option.
|
|
39177
|
+
* @throws {RequiredError}
|
|
39178
|
+
*/
|
|
39179
|
+
receiptFooterUpsertConfig(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReceiptFooterConfigDto>>;
|
|
39180
|
+
};
|
|
39181
|
+
/**
|
|
39182
|
+
* ReceiptFooterApi - factory interface
|
|
39183
|
+
* @export
|
|
39184
|
+
*/
|
|
39185
|
+
export declare const ReceiptFooterApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
39186
|
+
/**
|
|
39187
|
+
*
|
|
39188
|
+
* @summary Get the receipt footer config for a business + channel
|
|
39189
|
+
* @param {number} businessId
|
|
39190
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
39191
|
+
* @param {*} [options] Override http request option.
|
|
39192
|
+
* @throws {RequiredError}
|
|
39193
|
+
*/
|
|
39194
|
+
receiptFooterGetConfig(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", options?: any): AxiosPromise<ReceiptFooterConfigDto>;
|
|
39195
|
+
/**
|
|
39196
|
+
*
|
|
39197
|
+
* @summary Create or update the receipt footer config for a business + channel
|
|
39198
|
+
* @param {number} businessId
|
|
39199
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
39200
|
+
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
39201
|
+
* @param {*} [options] Override http request option.
|
|
39202
|
+
* @throws {RequiredError}
|
|
39203
|
+
*/
|
|
39204
|
+
receiptFooterUpsertConfig(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay", upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: any): AxiosPromise<ReceiptFooterConfigDto>;
|
|
39205
|
+
};
|
|
39206
|
+
/**
|
|
39207
|
+
* ReceiptFooterApi - interface
|
|
39208
|
+
* @export
|
|
39209
|
+
* @interface ReceiptFooterApi
|
|
39210
|
+
*/
|
|
39211
|
+
export interface ReceiptFooterApiInterface {
|
|
39212
|
+
/**
|
|
39213
|
+
*
|
|
39214
|
+
* @summary Get the receipt footer config for a business + channel
|
|
39215
|
+
* @param {number} businessId
|
|
39216
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
39217
|
+
* @param {*} [options] Override http request option.
|
|
39218
|
+
* @throws {RequiredError}
|
|
39219
|
+
* @memberof ReceiptFooterApiInterface
|
|
39220
|
+
*/
|
|
39221
|
+
receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
|
|
39222
|
+
/**
|
|
39223
|
+
*
|
|
39224
|
+
* @summary Create or update the receipt footer config for a business + channel
|
|
39225
|
+
* @param {number} businessId
|
|
39226
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
39227
|
+
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
39228
|
+
* @param {*} [options] Override http request option.
|
|
39229
|
+
* @throws {RequiredError}
|
|
39230
|
+
* @memberof ReceiptFooterApiInterface
|
|
39231
|
+
*/
|
|
39232
|
+
receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
|
|
39233
|
+
}
|
|
39234
|
+
/**
|
|
39235
|
+
* ReceiptFooterApi - object-oriented interface
|
|
39236
|
+
* @export
|
|
39237
|
+
* @class ReceiptFooterApi
|
|
39238
|
+
* @extends {BaseAPI}
|
|
39239
|
+
*/
|
|
39240
|
+
export declare class ReceiptFooterApi extends BaseAPI implements ReceiptFooterApiInterface {
|
|
39241
|
+
/**
|
|
39242
|
+
*
|
|
39243
|
+
* @summary Get the receipt footer config for a business + channel
|
|
39244
|
+
* @param {number} businessId
|
|
39245
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
39246
|
+
* @param {*} [options] Override http request option.
|
|
39247
|
+
* @throws {RequiredError}
|
|
39248
|
+
* @memberof ReceiptFooterApi
|
|
39249
|
+
*/
|
|
39250
|
+
receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReceiptFooterConfigDto, any, {}>>;
|
|
39251
|
+
/**
|
|
39252
|
+
*
|
|
39253
|
+
* @summary Create or update the receipt footer config for a business + channel
|
|
39254
|
+
* @param {number} businessId
|
|
39255
|
+
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
|
|
39256
|
+
* @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
|
|
39257
|
+
* @param {*} [options] Override http request option.
|
|
39258
|
+
* @throws {RequiredError}
|
|
39259
|
+
* @memberof ReceiptFooterApi
|
|
39260
|
+
*/
|
|
39261
|
+
receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ReceiptFooterConfigDto, any, {}>>;
|
|
39262
|
+
}
|
|
39985
39263
|
/**
|
|
39986
39264
|
* RefundsApi - axios parameter creator
|
|
39987
39265
|
* @export
|