@munchi_oy/core 1.9.126 → 1.9.127

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/generated/api.ts CHANGED
@@ -3960,6 +3960,12 @@ export interface CreateManualSessionDtoOrder {
3960
3960
  * @memberof CreateManualSessionDtoOrder
3961
3961
  */
3962
3962
  'tableGroupId'?: string | null;
3963
+ /**
3964
+ *
3965
+ * @type {PosOrderDtoLoyalty}
3966
+ * @memberof CreateManualSessionDtoOrder
3967
+ */
3968
+ 'loyalty'?: PosOrderDtoLoyalty | null;
3963
3969
  }
3964
3970
 
3965
3971
 
@@ -9488,6 +9494,174 @@ export const LoyaltyActionKey = {
9488
9494
  export type LoyaltyActionKey = typeof LoyaltyActionKey[keyof typeof LoyaltyActionKey];
9489
9495
 
9490
9496
 
9497
+ /**
9498
+ *
9499
+ * @export
9500
+ * @interface LoyaltyActionOverrideDto
9501
+ */
9502
+ export interface LoyaltyActionOverrideDto {
9503
+ /**
9504
+ *
9505
+ * @type {number}
9506
+ * @memberof LoyaltyActionOverrideDto
9507
+ */
9508
+ 'value'?: number;
9509
+ /**
9510
+ *
9511
+ * @type {string}
9512
+ * @memberof LoyaltyActionOverrideDto
9513
+ */
9514
+ 'currency'?: string | null;
9515
+ /**
9516
+ *
9517
+ * @type {number}
9518
+ * @memberof LoyaltyActionOverrideDto
9519
+ */
9520
+ 'max_units'?: number | null;
9521
+ /**
9522
+ *
9523
+ * @type {number}
9524
+ * @memberof LoyaltyActionOverrideDto
9525
+ */
9526
+ 'max_applications'?: number | null;
9527
+ }
9528
+ /**
9529
+ *
9530
+ * @export
9531
+ * @interface LoyaltyActionTargetDto
9532
+ */
9533
+ export interface LoyaltyActionTargetDto {
9534
+ /**
9535
+ *
9536
+ * @type {Array<number>}
9537
+ * @memberof LoyaltyActionTargetDto
9538
+ */
9539
+ 'product_ids': Array<number>;
9540
+ /**
9541
+ *
9542
+ * @type {Array<number>}
9543
+ * @memberof LoyaltyActionTargetDto
9544
+ */
9545
+ 'category_ids': Array<number>;
9546
+ /**
9547
+ *
9548
+ * @type {Array<number>}
9549
+ * @memberof LoyaltyActionTargetDto
9550
+ */
9551
+ 'exclude_product_ids': Array<number>;
9552
+ /**
9553
+ *
9554
+ * @type {Array<number>}
9555
+ * @memberof LoyaltyActionTargetDto
9556
+ */
9557
+ 'exclude_category_ids': Array<number>;
9558
+ /**
9559
+ *
9560
+ * @type {boolean}
9561
+ * @memberof LoyaltyActionTargetDto
9562
+ */
9563
+ 'exclude_alcohol': boolean;
9564
+ }
9565
+ /**
9566
+ *
9567
+ * @export
9568
+ * @interface LoyaltyBusinessScopeDto
9569
+ */
9570
+ export interface LoyaltyBusinessScopeDto {
9571
+ /**
9572
+ *
9573
+ * @type {number}
9574
+ * @memberof LoyaltyBusinessScopeDto
9575
+ */
9576
+ 'business_id': number;
9577
+ /**
9578
+ *
9579
+ * @type {Array<LoyaltyConditionBindingDto>}
9580
+ * @memberof LoyaltyBusinessScopeDto
9581
+ */
9582
+ 'condition_bindings': Array<LoyaltyConditionBindingDto>;
9583
+ /**
9584
+ *
9585
+ * @type {LoyaltyActionTargetDto}
9586
+ * @memberof LoyaltyBusinessScopeDto
9587
+ */
9588
+ 'action_target': LoyaltyActionTargetDto;
9589
+ /**
9590
+ *
9591
+ * @type {LoyaltyActionOverrideDto}
9592
+ * @memberof LoyaltyBusinessScopeDto
9593
+ */
9594
+ 'action_override'?: LoyaltyActionOverrideDto | null;
9595
+ }
9596
+ /**
9597
+ *
9598
+ * @export
9599
+ * @enum {string}
9600
+ */
9601
+
9602
+ export const LoyaltyCatalogType = {
9603
+ Product: 'product',
9604
+ Coupon: 'coupon'
9605
+ } as const;
9606
+
9607
+ export type LoyaltyCatalogType = typeof LoyaltyCatalogType[keyof typeof LoyaltyCatalogType];
9608
+
9609
+
9610
+ /**
9611
+ *
9612
+ * @export
9613
+ * @enum {string}
9614
+ */
9615
+
9616
+ export const LoyaltyChannel = {
9617
+ Kiosk: 'kiosk',
9618
+ Pos: 'pos',
9619
+ Online: 'online',
9620
+ Mobile: 'mobile'
9621
+ } as const;
9622
+
9623
+ export type LoyaltyChannel = typeof LoyaltyChannel[keyof typeof LoyaltyChannel];
9624
+
9625
+
9626
+ /**
9627
+ *
9628
+ * @export
9629
+ * @enum {string}
9630
+ */
9631
+
9632
+ export const LoyaltyCommerceMode = {
9633
+ Legacy: 'legacy',
9634
+ Structured: 'structured'
9635
+ } as const;
9636
+
9637
+ export type LoyaltyCommerceMode = typeof LoyaltyCommerceMode[keyof typeof LoyaltyCommerceMode];
9638
+
9639
+
9640
+ /**
9641
+ *
9642
+ * @export
9643
+ * @interface LoyaltyConditionBindingDto
9644
+ */
9645
+ export interface LoyaltyConditionBindingDto {
9646
+ /**
9647
+ *
9648
+ * @type {string}
9649
+ * @memberof LoyaltyConditionBindingDto
9650
+ */
9651
+ 'condition_id': string;
9652
+ /**
9653
+ *
9654
+ * @type {Array<number>}
9655
+ * @memberof LoyaltyConditionBindingDto
9656
+ */
9657
+ 'product_ids': Array<number>;
9658
+ /**
9659
+ *
9660
+ * @type {Array<number>}
9661
+ * @memberof LoyaltyConditionBindingDto
9662
+ */
9663
+ 'category_ids': Array<number>;
9664
+ }
9491
9665
  /**
9492
9666
  *
9493
9667
  * @export
@@ -9637,6 +9811,21 @@ export interface LoyaltyLinkMetadataDto {
9637
9811
  */
9638
9812
  'venueId': number;
9639
9813
  }
9814
+ /**
9815
+ *
9816
+ * @export
9817
+ * @enum {string}
9818
+ */
9819
+
9820
+ export const LoyaltyRedemptionStatus = {
9821
+ Pending: 'pending',
9822
+ Redeemed: 'redeemed',
9823
+ Reversed: 'reversed'
9824
+ } as const;
9825
+
9826
+ export type LoyaltyRedemptionStatus = typeof LoyaltyRedemptionStatus[keyof typeof LoyaltyRedemptionStatus];
9827
+
9828
+
9640
9829
  /**
9641
9830
  *
9642
9831
  * @export
@@ -9681,6 +9870,410 @@ export interface LoyaltyResolveResponseDto {
9681
9870
  */
9682
9871
  'perks': Array<ResolvedPerkDto>;
9683
9872
  }
9873
+ /**
9874
+ *
9875
+ * @export
9876
+ * @enum {string}
9877
+ */
9878
+
9879
+ export const LoyaltyRestoreRequestStatus = {
9880
+ Requested: 'REQUESTED',
9881
+ AlreadyReversed: 'ALREADY_REVERSED'
9882
+ } as const;
9883
+
9884
+ export type LoyaltyRestoreRequestStatus = typeof LoyaltyRestoreRequestStatus[keyof typeof LoyaltyRestoreRequestStatus];
9885
+
9886
+
9887
+ /**
9888
+ *
9889
+ * @export
9890
+ * @enum {string}
9891
+ */
9892
+
9893
+ export const LoyaltyRewardType = {
9894
+ Product: 'product',
9895
+ Coupon: 'coupon'
9896
+ } as const;
9897
+
9898
+ export type LoyaltyRewardType = typeof LoyaltyRewardType[keyof typeof LoyaltyRewardType];
9899
+
9900
+
9901
+ /**
9902
+ *
9903
+ * @export
9904
+ * @interface LoyaltyRuleActionDto
9905
+ */
9906
+ export interface LoyaltyRuleActionDto {
9907
+ /**
9908
+ *
9909
+ * @type {LoyaltyRuleActionType}
9910
+ * @memberof LoyaltyRuleActionDto
9911
+ */
9912
+ 'type': LoyaltyRuleActionType;
9913
+ /**
9914
+ * 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.
9915
+ * @type {number}
9916
+ * @memberof LoyaltyRuleActionDto
9917
+ */
9918
+ 'value': number;
9919
+ /**
9920
+ *
9921
+ * @type {string}
9922
+ * @memberof LoyaltyRuleActionDto
9923
+ */
9924
+ 'currency'?: string | null;
9925
+ /**
9926
+ *
9927
+ * @type {LoyaltyRuleTargetType}
9928
+ * @memberof LoyaltyRuleActionDto
9929
+ */
9930
+ 'target_type': LoyaltyRuleTargetType;
9931
+ /**
9932
+ *
9933
+ * @type {LoyaltyRuleSelection}
9934
+ * @memberof LoyaltyRuleActionDto
9935
+ */
9936
+ 'selection': LoyaltyRuleSelection;
9937
+ /**
9938
+ *
9939
+ * @type {number}
9940
+ * @memberof LoyaltyRuleActionDto
9941
+ */
9942
+ 'units_per_application': number;
9943
+ /**
9944
+ *
9945
+ * @type {number}
9946
+ * @memberof LoyaltyRuleActionDto
9947
+ */
9948
+ 'max_units'?: number | null;
9949
+ /**
9950
+ *
9951
+ * @type {LoyaltyRuleFulfillmentMode}
9952
+ * @memberof LoyaltyRuleActionDto
9953
+ */
9954
+ 'fulfillment_mode': LoyaltyRuleFulfillmentMode;
9955
+ }
9956
+
9957
+
9958
+ /**
9959
+ *
9960
+ * @export
9961
+ * @enum {string}
9962
+ */
9963
+
9964
+ export const LoyaltyRuleActionType = {
9965
+ Percentage: 'percentage',
9966
+ Fixed: 'fixed'
9967
+ } as const;
9968
+
9969
+ export type LoyaltyRuleActionType = typeof LoyaltyRuleActionType[keyof typeof LoyaltyRuleActionType];
9970
+
9971
+
9972
+ /**
9973
+ *
9974
+ * @export
9975
+ * @enum {string}
9976
+ */
9977
+
9978
+ export const LoyaltyRuleApplicationMode = {
9979
+ Manual: 'manual',
9980
+ Automatic: 'automatic'
9981
+ } as const;
9982
+
9983
+ export type LoyaltyRuleApplicationMode = typeof LoyaltyRuleApplicationMode[keyof typeof LoyaltyRuleApplicationMode];
9984
+
9985
+
9986
+ /**
9987
+ *
9988
+ * @export
9989
+ * @interface LoyaltyRuleConditionDto
9990
+ */
9991
+ export interface LoyaltyRuleConditionDto {
9992
+ /**
9993
+ *
9994
+ * @type {string}
9995
+ * @memberof LoyaltyRuleConditionDto
9996
+ */
9997
+ 'condition_id': string;
9998
+ /**
9999
+ *
10000
+ * @type {LoyaltyRuleConditionType}
10001
+ * @memberof LoyaltyRuleConditionDto
10002
+ */
10003
+ 'type': LoyaltyRuleConditionType;
10004
+ /**
10005
+ *
10006
+ * @type {number}
10007
+ * @memberof LoyaltyRuleConditionDto
10008
+ */
10009
+ 'required_quantity'?: number | null;
10010
+ /**
10011
+ *
10012
+ * @type {number}
10013
+ * @memberof LoyaltyRuleConditionDto
10014
+ */
10015
+ 'value'?: number | null;
10016
+ }
10017
+
10018
+
10019
+ /**
10020
+ *
10021
+ * @export
10022
+ * @enum {string}
10023
+ */
10024
+
10025
+ export const LoyaltyRuleConditionType = {
10026
+ Always: 'always',
10027
+ ProductInCart: 'product_in_cart',
10028
+ CategoryInCart: 'category_in_cart',
10029
+ ProductQuantityInCart: 'product_quantity_in_cart',
10030
+ CategoryQuantityInCart: 'category_quantity_in_cart',
10031
+ CartMinValue: 'cart_min_value',
10032
+ CartMaxValue: 'cart_max_value'
10033
+ } as const;
10034
+
10035
+ export type LoyaltyRuleConditionType = typeof LoyaltyRuleConditionType[keyof typeof LoyaltyRuleConditionType];
10036
+
10037
+
10038
+ /**
10039
+ *
10040
+ * @export
10041
+ * @enum {string}
10042
+ */
10043
+
10044
+ export const LoyaltyRuleFulfillmentMode = {
10045
+ RequireInCart: 'require_in_cart',
10046
+ ConfigureTarget: 'configure_target'
10047
+ } as const;
10048
+
10049
+ export type LoyaltyRuleFulfillmentMode = typeof LoyaltyRuleFulfillmentMode[keyof typeof LoyaltyRuleFulfillmentMode];
10050
+
10051
+
10052
+ /**
10053
+ *
10054
+ * @export
10055
+ * @enum {string}
10056
+ */
10057
+
10058
+ export const LoyaltyRuleSelection = {
10059
+ All: 'all',
10060
+ Cheapest: 'cheapest',
10061
+ MostExpensive: 'most_expensive'
10062
+ } as const;
10063
+
10064
+ export type LoyaltyRuleSelection = typeof LoyaltyRuleSelection[keyof typeof LoyaltyRuleSelection];
10065
+
10066
+
10067
+ /**
10068
+ *
10069
+ * @export
10070
+ * @enum {string}
10071
+ */
10072
+
10073
+ export const LoyaltyRuleStackingMode = {
10074
+ ExclusiveBestForCustomer: 'exclusive_best_for_customer',
10075
+ Stackable: 'stackable'
10076
+ } as const;
10077
+
10078
+ export type LoyaltyRuleStackingMode = typeof LoyaltyRuleStackingMode[keyof typeof LoyaltyRuleStackingMode];
10079
+
10080
+
10081
+ /**
10082
+ *
10083
+ * @export
10084
+ * @enum {string}
10085
+ */
10086
+
10087
+ export const LoyaltyRuleTargetType = {
10088
+ ConditionMatch: 'condition_match',
10089
+ Product: 'product',
10090
+ Category: 'category',
10091
+ Order: 'order'
10092
+ } as const;
10093
+
10094
+ export type LoyaltyRuleTargetType = typeof LoyaltyRuleTargetType[keyof typeof LoyaltyRuleTargetType];
10095
+
10096
+
10097
+ /**
10098
+ *
10099
+ * @export
10100
+ * @interface LoyaltyRuntimeContextDto
10101
+ */
10102
+ export interface LoyaltyRuntimeContextDto {
10103
+ /**
10104
+ * Loyalty user id the runtime was resolved for
10105
+ * @type {number}
10106
+ * @memberof LoyaltyRuntimeContextDto
10107
+ */
10108
+ 'user_id': number;
10109
+ /**
10110
+ * Business the runtime was resolved for
10111
+ * @type {number}
10112
+ * @memberof LoyaltyRuntimeContextDto
10113
+ */
10114
+ 'business_id': number;
10115
+ /**
10116
+ *
10117
+ * @type {LoyaltyChannel}
10118
+ * @memberof LoyaltyRuntimeContextDto
10119
+ */
10120
+ 'channel': LoyaltyChannel;
10121
+ /**
10122
+ * Points the member can still spend, excluding expired batches
10123
+ * @type {number}
10124
+ * @memberof LoyaltyRuntimeContextDto
10125
+ */
10126
+ 'points_balance': number;
10127
+ /**
10128
+ * Rewards available to this member on this channel
10129
+ * @type {Array<LoyaltyRuntimeRewardDto>}
10130
+ * @memberof LoyaltyRuntimeContextDto
10131
+ */
10132
+ 'rewards': Array<LoyaltyRuntimeRewardDto>;
10133
+ }
10134
+
10135
+
10136
+ /**
10137
+ *
10138
+ * @export
10139
+ * @interface LoyaltyRuntimeContextRequestDto
10140
+ */
10141
+ export interface LoyaltyRuntimeContextRequestDto {
10142
+ /**
10143
+ * Loyalty user id the context is resolved for
10144
+ * @type {number}
10145
+ * @memberof LoyaltyRuntimeContextRequestDto
10146
+ */
10147
+ 'user_id': number;
10148
+ /**
10149
+ * Business the caller is asking about
10150
+ * @type {number}
10151
+ * @memberof LoyaltyRuntimeContextRequestDto
10152
+ */
10153
+ 'business_id': number;
10154
+ /**
10155
+ *
10156
+ * @type {LoyaltyChannel}
10157
+ * @memberof LoyaltyRuntimeContextRequestDto
10158
+ */
10159
+ 'channel': LoyaltyChannel;
10160
+ }
10161
+
10162
+
10163
+ /**
10164
+ *
10165
+ * @export
10166
+ * @interface LoyaltyRuntimeRewardDto
10167
+ */
10168
+ export interface LoyaltyRuntimeRewardDto {
10169
+ /**
10170
+ *
10171
+ * @type {number}
10172
+ * @memberof LoyaltyRuntimeRewardDto
10173
+ */
10174
+ 'catalog_id': number;
10175
+ /**
10176
+ *
10177
+ * @type {LoyaltyRewardType}
10178
+ * @memberof LoyaltyRuntimeRewardDto
10179
+ */
10180
+ 'type': LoyaltyRewardType;
10181
+ /**
10182
+ *
10183
+ * @type {string}
10184
+ * @memberof LoyaltyRuntimeRewardDto
10185
+ */
10186
+ 'name': string;
10187
+ /**
10188
+ *
10189
+ * @type {string}
10190
+ * @memberof LoyaltyRuntimeRewardDto
10191
+ */
10192
+ 'description'?: string | null;
10193
+ /**
10194
+ * Points a member spends; always null for a coupon
10195
+ * @type {number}
10196
+ * @memberof LoyaltyRuntimeRewardDto
10197
+ */
10198
+ 'points_cost': number | null;
10199
+ /**
10200
+ *
10201
+ * @type {LoyaltyCommerceMode}
10202
+ * @memberof LoyaltyRuntimeRewardDto
10203
+ */
10204
+ 'commerce_mode': LoyaltyCommerceMode;
10205
+ /**
10206
+ *
10207
+ * @type {Array<LoyaltyRuntimeRuleDto>}
10208
+ * @memberof LoyaltyRuntimeRewardDto
10209
+ */
10210
+ 'rules': Array<LoyaltyRuntimeRuleDto>;
10211
+ }
10212
+
10213
+
10214
+ /**
10215
+ *
10216
+ * @export
10217
+ * @interface LoyaltyRuntimeRuleDto
10218
+ */
10219
+ export interface LoyaltyRuntimeRuleDto {
10220
+ /**
10221
+ *
10222
+ * @type {number}
10223
+ * @memberof LoyaltyRuntimeRuleDto
10224
+ */
10225
+ 'rule_id': number;
10226
+ /**
10227
+ *
10228
+ * @type {number}
10229
+ * @memberof LoyaltyRuntimeRuleDto
10230
+ */
10231
+ 'revision': number;
10232
+ /**
10233
+ *
10234
+ * @type {LoyaltyRuleApplicationMode}
10235
+ * @memberof LoyaltyRuntimeRuleDto
10236
+ */
10237
+ 'application_mode': LoyaltyRuleApplicationMode;
10238
+ /**
10239
+ *
10240
+ * @type {LoyaltyRuleStackingMode}
10241
+ * @memberof LoyaltyRuntimeRuleDto
10242
+ */
10243
+ 'stacking_mode': LoyaltyRuleStackingMode;
10244
+ /**
10245
+ *
10246
+ * @type {Array<LoyaltyRuleConditionDto>}
10247
+ * @memberof LoyaltyRuntimeRuleDto
10248
+ */
10249
+ 'conditions': Array<LoyaltyRuleConditionDto>;
10250
+ /**
10251
+ *
10252
+ * @type {boolean}
10253
+ * @memberof LoyaltyRuntimeRuleDto
10254
+ */
10255
+ 'repeatable': boolean;
10256
+ /**
10257
+ *
10258
+ * @type {number}
10259
+ * @memberof LoyaltyRuntimeRuleDto
10260
+ */
10261
+ 'max_applications': number | null;
10262
+ /**
10263
+ *
10264
+ * @type {LoyaltyRuleActionDto}
10265
+ * @memberof LoyaltyRuntimeRuleDto
10266
+ */
10267
+ 'action': LoyaltyRuleActionDto;
10268
+ /**
10269
+ *
10270
+ * @type {LoyaltyBusinessScopeDto}
10271
+ * @memberof LoyaltyRuntimeRuleDto
10272
+ */
10273
+ 'business_scope': LoyaltyBusinessScopeDto;
10274
+ }
10275
+
10276
+
9684
10277
  /**
9685
10278
  *
9686
10279
  * @export
@@ -11655,6 +12248,118 @@ export interface OrderHistoryResponseDtoSummary {
11655
12248
  */
11656
12249
  'totalTipAmount'?: number;
11657
12250
  }
12251
+ /**
12252
+ *
12253
+ * @export
12254
+ * @interface OrderLoyaltyDto
12255
+ */
12256
+ export interface OrderLoyaltyDto {
12257
+ /**
12258
+ * Redemptions on this order, keyed by loyalty entry id.
12259
+ * @type {{ [key: string]: OrderLoyaltyRedemptionDto; }}
12260
+ * @memberof OrderLoyaltyDto
12261
+ */
12262
+ 'redemptions': { [key: string]: OrderLoyaltyRedemptionDto; };
12263
+ }
12264
+ /**
12265
+ *
12266
+ * @export
12267
+ * @interface OrderLoyaltyRedemptionDto
12268
+ */
12269
+ export interface OrderLoyaltyRedemptionDto {
12270
+ /**
12271
+ * Loyalty entry id, and the key this entry is stored under
12272
+ * @type {string}
12273
+ * @memberof OrderLoyaltyRedemptionDto
12274
+ */
12275
+ 'id': string;
12276
+ /**
12277
+ *
12278
+ * @type {Array<string>}
12279
+ * @memberof OrderLoyaltyRedemptionDto
12280
+ */
12281
+ 'discountApplicationIds': Array<string>;
12282
+ /**
12283
+ *
12284
+ * @type {number}
12285
+ * @memberof OrderLoyaltyRedemptionDto
12286
+ */
12287
+ 'catalogId': number;
12288
+ /**
12289
+ *
12290
+ * @type {LoyaltyCatalogType}
12291
+ * @memberof OrderLoyaltyRedemptionDto
12292
+ */
12293
+ 'catalogType': LoyaltyCatalogType;
12294
+ /**
12295
+ *
12296
+ * @type {string}
12297
+ * @memberof OrderLoyaltyRedemptionDto
12298
+ */
12299
+ 'rewardName': string;
12300
+ /**
12301
+ *
12302
+ * @type {number}
12303
+ * @memberof OrderLoyaltyRedemptionDto
12304
+ */
12305
+ 'ruleId': number;
12306
+ /**
12307
+ *
12308
+ * @type {number}
12309
+ * @memberof OrderLoyaltyRedemptionDto
12310
+ */
12311
+ 'ruleRevision': number;
12312
+ /**
12313
+ *
12314
+ * @type {number}
12315
+ * @memberof OrderLoyaltyRedemptionDto
12316
+ */
12317
+ 'quantity': number;
12318
+ /**
12319
+ * Points spent, in points.
12320
+ * @type {number}
12321
+ * @memberof OrderLoyaltyRedemptionDto
12322
+ */
12323
+ 'pointsCost': number | null;
12324
+ /**
12325
+ *
12326
+ * @type {LoyaltyRedemptionStatus}
12327
+ * @memberof OrderLoyaltyRedemptionDto
12328
+ */
12329
+ 'status': LoyaltyRedemptionStatus;
12330
+ /**
12331
+ *
12332
+ * @type {string}
12333
+ * @memberof OrderLoyaltyRedemptionDto
12334
+ */
12335
+ 'transactionId': string | null;
12336
+ /**
12337
+ *
12338
+ * @type {string}
12339
+ * @memberof OrderLoyaltyRedemptionDto
12340
+ */
12341
+ 'walletId': string | null;
12342
+ /**
12343
+ *
12344
+ * @type {string}
12345
+ * @memberof OrderLoyaltyRedemptionDto
12346
+ */
12347
+ 'settledAt': string | null;
12348
+ /**
12349
+ *
12350
+ * @type {string}
12351
+ * @memberof OrderLoyaltyRedemptionDto
12352
+ */
12353
+ 'reversalTransactionId': string | null;
12354
+ /**
12355
+ *
12356
+ * @type {string}
12357
+ * @memberof OrderLoyaltyRedemptionDto
12358
+ */
12359
+ 'reversedAt': string | null;
12360
+ }
12361
+
12362
+
11658
12363
  /**
11659
12364
  *
11660
12365
  * @export
@@ -13465,6 +14170,12 @@ export interface ParkPosOrderDtoOrder {
13465
14170
  * @memberof ParkPosOrderDtoOrder
13466
14171
  */
13467
14172
  'tableGroupId'?: string | null;
14173
+ /**
14174
+ *
14175
+ * @type {PosOrderDtoLoyalty}
14176
+ * @memberof ParkPosOrderDtoOrder
14177
+ */
14178
+ 'loyalty'?: PosOrderDtoLoyalty | null;
13468
14179
  }
13469
14180
 
13470
14181
 
@@ -15914,6 +16625,36 @@ export interface PosDiscountDto {
15914
16625
  * @memberof PosDiscountDto
15915
16626
  */
15916
16627
  'isAutomatic': boolean;
16628
+ /**
16629
+ * 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.
16630
+ * @type {number}
16631
+ * @memberof PosDiscountDto
16632
+ */
16633
+ 'sequence'?: number;
16634
+ /**
16635
+ * Payable amount this application was measured against, in minor units.
16636
+ * @type {number}
16637
+ * @memberof PosDiscountDto
16638
+ */
16639
+ 'baseAmount'?: number;
16640
+ /**
16641
+ * Amount the configured discount asked for, in minor units, before it was clamped to what was still payable.
16642
+ * @type {number}
16643
+ * @memberof PosDiscountDto
16644
+ */
16645
+ 'requestedAmount'?: number;
16646
+ /**
16647
+ * Part of requestedAmount that could not be taken because nothing payable was left, in minor units. Never cashback.
16648
+ * @type {number}
16649
+ * @memberof PosDiscountDto
16650
+ */
16651
+ 'forfeitedAmount'?: number;
16652
+ /**
16653
+ * Number of line units this application covers. Absent means it covers the whole line.
16654
+ * @type {number}
16655
+ * @memberof PosDiscountDto
16656
+ */
16657
+ 'units'?: number;
15917
16658
  }
15918
16659
 
15919
16660
 
@@ -17134,6 +17875,12 @@ export interface PosOrderDto {
17134
17875
  * @memberof PosOrderDto
17135
17876
  */
17136
17877
  'tableGroupId'?: string | null;
17878
+ /**
17879
+ *
17880
+ * @type {PosOrderDtoLoyalty}
17881
+ * @memberof PosOrderDto
17882
+ */
17883
+ 'loyalty'?: PosOrderDtoLoyalty | null;
17137
17884
  }
17138
17885
 
17139
17886
 
@@ -17223,6 +17970,19 @@ export interface PosOrderDtoInvoiceCompany {
17223
17970
  */
17224
17971
  'updatedAt': string;
17225
17972
  }
17973
+ /**
17974
+ * Loyalty rewards committed to this order. Absent on orders that used none.
17975
+ * @export
17976
+ * @interface PosOrderDtoLoyalty
17977
+ */
17978
+ export interface PosOrderDtoLoyalty {
17979
+ /**
17980
+ * Redemptions on this order, keyed by loyalty entry id.
17981
+ * @type {{ [key: string]: OrderLoyaltyRedemptionDto; }}
17982
+ * @memberof PosOrderDtoLoyalty
17983
+ */
17984
+ 'redemptions': { [key: string]: OrderLoyaltyRedemptionDto; };
17985
+ }
17226
17986
  /**
17227
17987
  * Fine dining table service metadata
17228
17988
  * @export
@@ -17438,6 +18198,12 @@ export interface PosOrderItemDto {
17438
18198
  * @memberof PosOrderItemDto
17439
18199
  */
17440
18200
  'discount': PosDiscountDto | null;
18201
+ /**
18202
+ * Every item-scope discount application on this line, in cascade order — including when there is only one.
18203
+ * @type {Array<PosDiscountDto>}
18204
+ * @memberof PosOrderItemDto
18205
+ */
18206
+ 'discountApplications'?: Array<PosDiscountDto>;
17441
18207
  /**
17442
18208
  *
17443
18209
  * @type {boolean}
@@ -17956,6 +18722,12 @@ export interface PosOrderPayloadDtoOrder {
17956
18722
  * @memberof PosOrderPayloadDtoOrder
17957
18723
  */
17958
18724
  'tableGroupId'?: string | null;
18725
+ /**
18726
+ *
18727
+ * @type {PosOrderDtoLoyalty}
18728
+ * @memberof PosOrderPayloadDtoOrder
18729
+ */
18730
+ 'loyalty'?: PosOrderDtoLoyalty | null;
17959
18731
  }
17960
18732
 
17961
18733
 
@@ -18915,6 +19687,12 @@ export interface ProcessOrderActionsResponseDtoOrder {
18915
19687
  * @memberof ProcessOrderActionsResponseDtoOrder
18916
19688
  */
18917
19689
  'tableGroupId'?: string | null;
19690
+ /**
19691
+ *
19692
+ * @type {PosOrderDtoLoyalty}
19693
+ * @memberof ProcessOrderActionsResponseDtoOrder
19694
+ */
19695
+ 'loyalty'?: PosOrderDtoLoyalty | null;
18918
19696
  }
18919
19697
 
18920
19698
 
@@ -20215,6 +20993,12 @@ export interface RecordManualPaymentResultDtoOrder {
20215
20993
  * @memberof RecordManualPaymentResultDtoOrder
20216
20994
  */
20217
20995
  'tableGroupId'?: string | null;
20996
+ /**
20997
+ *
20998
+ * @type {PosOrderDtoLoyalty}
20999
+ * @memberof RecordManualPaymentResultDtoOrder
21000
+ */
21001
+ 'loyalty'?: PosOrderDtoLoyalty | null;
20218
21002
  }
20219
21003
 
20220
21004
 
@@ -21243,6 +22027,58 @@ export const ScopeEnum = {
21243
22027
 
21244
22028
  export type ScopeEnum = typeof ScopeEnum[keyof typeof ScopeEnum];
21245
22029
 
22030
+ /**
22031
+ *
22032
+ * @export
22033
+ * @interface RestoreLoyaltyRedemptionDto
22034
+ */
22035
+ export interface RestoreLoyaltyRedemptionDto {
22036
+ /**
22037
+ * Business the order belongs to
22038
+ * @type {number}
22039
+ * @memberof RestoreLoyaltyRedemptionDto
22040
+ */
22041
+ 'businessId': number;
22042
+ /**
22043
+ * POS order carrying the redemption
22044
+ * @type {string}
22045
+ * @memberof RestoreLoyaltyRedemptionDto
22046
+ */
22047
+ 'orderId': string;
22048
+ /**
22049
+ * Loyalty entry to restore
22050
+ * @type {string}
22051
+ * @memberof RestoreLoyaltyRedemptionDto
22052
+ */
22053
+ 'loyaltyEntryId': string;
22054
+ }
22055
+ /**
22056
+ *
22057
+ * @export
22058
+ * @interface RestoreLoyaltyRedemptionResponseDto
22059
+ */
22060
+ export interface RestoreLoyaltyRedemptionResponseDto {
22061
+ /**
22062
+ *
22063
+ * @type {LoyaltyRestoreRequestStatus}
22064
+ * @memberof RestoreLoyaltyRedemptionResponseDto
22065
+ */
22066
+ 'status': LoyaltyRestoreRequestStatus;
22067
+ /**
22068
+ * Loyalty transaction the restore was asked against
22069
+ * @type {string}
22070
+ * @memberof RestoreLoyaltyRedemptionResponseDto
22071
+ */
22072
+ 'transactionId': string | null;
22073
+ /**
22074
+ * Reversal already recorded against the entry, when there is one
22075
+ * @type {string}
22076
+ * @memberof RestoreLoyaltyRedemptionResponseDto
22077
+ */
22078
+ 'reversalTransactionId': string | null;
22079
+ }
22080
+
22081
+
21246
22082
  /**
21247
22083
  *
21248
22084
  * @export
@@ -22582,6 +23418,12 @@ export interface SyncKioskOrderDtoOrder {
22582
23418
  * @memberof SyncKioskOrderDtoOrder
22583
23419
  */
22584
23420
  'tableGroupId'?: string | null;
23421
+ /**
23422
+ *
23423
+ * @type {PosOrderDtoLoyalty}
23424
+ * @memberof SyncKioskOrderDtoOrder
23425
+ */
23426
+ 'loyalty'?: PosOrderDtoLoyalty | null;
22585
23427
  }
22586
23428
 
22587
23429
 
@@ -22913,6 +23755,12 @@ export interface SyncPosOrderDtoOrder {
22913
23755
  * @memberof SyncPosOrderDtoOrder
22914
23756
  */
22915
23757
  'tableGroupId'?: string | null;
23758
+ /**
23759
+ *
23760
+ * @type {PosOrderDtoLoyalty}
23761
+ * @memberof SyncPosOrderDtoOrder
23762
+ */
23763
+ 'loyalty'?: PosOrderDtoLoyalty | null;
22916
23764
  }
22917
23765
 
22918
23766
 
@@ -24345,6 +25193,12 @@ export interface UnifiedOrderResponseDto {
24345
25193
  * @memberof UnifiedOrderResponseDto
24346
25194
  */
24347
25195
  'posDiscounts'?: Array<PosDiscountDto>;
25196
+ /**
25197
+ *
25198
+ * @type {UnifiedOrderResponseDtoLoyalty}
25199
+ * @memberof UnifiedOrderResponseDto
25200
+ */
25201
+ 'loyalty'?: UnifiedOrderResponseDtoLoyalty | null;
24348
25202
  /**
24349
25203
  * Payment transactions recorded for the POS order. POS only
24350
25204
  * @type {Array<TransactionDto>}
@@ -24683,6 +25537,19 @@ export interface UnifiedOrderResponseDtoLastPaymentError {
24683
25537
  }
24684
25538
 
24685
25539
 
25540
+ /**
25541
+ * Loyalty rewards committed to the POS order, keyed by loyalty entry id. POS only
25542
+ * @export
25543
+ * @interface UnifiedOrderResponseDtoLoyalty
25544
+ */
25545
+ export interface UnifiedOrderResponseDtoLoyalty {
25546
+ /**
25547
+ * Redemptions on this order, keyed by loyalty entry id.
25548
+ * @type {{ [key: string]: OrderLoyaltyRedemptionDto; }}
25549
+ * @memberof UnifiedOrderResponseDtoLoyalty
25550
+ */
25551
+ 'redemptions': { [key: string]: OrderLoyaltyRedemptionDto; };
25552
+ }
24686
25553
  /**
24687
25554
  * Preorder scheduling details. Platform only
24688
25555
  * @export
@@ -39053,6 +39920,135 @@ export class KiosksApi extends BaseAPI implements KiosksApiInterface {
39053
39920
  }
39054
39921
 
39055
39922
 
39923
+ /**
39924
+ * LoyaltyCommerceApi - axios parameter creator
39925
+ * @export
39926
+ */
39927
+ export const LoyaltyCommerceApiAxiosParamCreator = function (configuration?: Configuration) {
39928
+ return {
39929
+ /**
39930
+ *
39931
+ * @summary Ask the loyalty ledger to restore a settled redemption
39932
+ * @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
39933
+ * @param {*} [options] Override http request option.
39934
+ * @throws {RequiredError}
39935
+ */
39936
+ restoreRedemption: async (restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39937
+ // verify required parameter 'restoreLoyaltyRedemptionDto' is not null or undefined
39938
+ assertParamExists('restoreRedemption', 'restoreLoyaltyRedemptionDto', restoreLoyaltyRedemptionDto)
39939
+ const localVarPath = `/api/v1/loyalty-commerce/redemptions/restore`;
39940
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
39941
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39942
+ let baseOptions;
39943
+ if (configuration) {
39944
+ baseOptions = configuration.baseOptions;
39945
+ }
39946
+
39947
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
39948
+ const localVarHeaderParameter = {} as any;
39949
+ const localVarQueryParameter = {} as any;
39950
+
39951
+ // authentication JWT-auth required
39952
+ // http bearer authentication required
39953
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
39954
+
39955
+
39956
+
39957
+ localVarHeaderParameter['Content-Type'] = 'application/json';
39958
+
39959
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
39960
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
39961
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
39962
+ localVarRequestOptions.data = serializeDataIfNeeded(restoreLoyaltyRedemptionDto, localVarRequestOptions, configuration)
39963
+
39964
+ return {
39965
+ url: toPathString(localVarUrlObj),
39966
+ options: localVarRequestOptions,
39967
+ };
39968
+ },
39969
+ }
39970
+ };
39971
+
39972
+ /**
39973
+ * LoyaltyCommerceApi - functional programming interface
39974
+ * @export
39975
+ */
39976
+ export const LoyaltyCommerceApiFp = function(configuration?: Configuration) {
39977
+ const localVarAxiosParamCreator = LoyaltyCommerceApiAxiosParamCreator(configuration)
39978
+ return {
39979
+ /**
39980
+ *
39981
+ * @summary Ask the loyalty ledger to restore a settled redemption
39982
+ * @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
39983
+ * @param {*} [options] Override http request option.
39984
+ * @throws {RequiredError}
39985
+ */
39986
+ async restoreRedemption(restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestoreLoyaltyRedemptionResponseDto>> {
39987
+ const localVarAxiosArgs = await localVarAxiosParamCreator.restoreRedemption(restoreLoyaltyRedemptionDto, options);
39988
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39989
+ },
39990
+ }
39991
+ };
39992
+
39993
+ /**
39994
+ * LoyaltyCommerceApi - factory interface
39995
+ * @export
39996
+ */
39997
+ export const LoyaltyCommerceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
39998
+ const localVarFp = LoyaltyCommerceApiFp(configuration)
39999
+ return {
40000
+ /**
40001
+ *
40002
+ * @summary Ask the loyalty ledger to restore a settled redemption
40003
+ * @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
40004
+ * @param {*} [options] Override http request option.
40005
+ * @throws {RequiredError}
40006
+ */
40007
+ restoreRedemption(restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: any): AxiosPromise<RestoreLoyaltyRedemptionResponseDto> {
40008
+ return localVarFp.restoreRedemption(restoreLoyaltyRedemptionDto, options).then((request) => request(axios, basePath));
40009
+ },
40010
+ };
40011
+ };
40012
+
40013
+ /**
40014
+ * LoyaltyCommerceApi - interface
40015
+ * @export
40016
+ * @interface LoyaltyCommerceApi
40017
+ */
40018
+ export interface LoyaltyCommerceApiInterface {
40019
+ /**
40020
+ *
40021
+ * @summary Ask the loyalty ledger to restore a settled redemption
40022
+ * @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
40023
+ * @param {*} [options] Override http request option.
40024
+ * @throws {RequiredError}
40025
+ * @memberof LoyaltyCommerceApiInterface
40026
+ */
40027
+ restoreRedemption(restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: AxiosRequestConfig): AxiosPromise<RestoreLoyaltyRedemptionResponseDto>;
40028
+
40029
+ }
40030
+
40031
+ /**
40032
+ * LoyaltyCommerceApi - object-oriented interface
40033
+ * @export
40034
+ * @class LoyaltyCommerceApi
40035
+ * @extends {BaseAPI}
40036
+ */
40037
+ export class LoyaltyCommerceApi extends BaseAPI implements LoyaltyCommerceApiInterface {
40038
+ /**
40039
+ *
40040
+ * @summary Ask the loyalty ledger to restore a settled redemption
40041
+ * @param {RestoreLoyaltyRedemptionDto} restoreLoyaltyRedemptionDto
40042
+ * @param {*} [options] Override http request option.
40043
+ * @throws {RequiredError}
40044
+ * @memberof LoyaltyCommerceApi
40045
+ */
40046
+ public restoreRedemption(restoreLoyaltyRedemptionDto: RestoreLoyaltyRedemptionDto, options?: AxiosRequestConfig) {
40047
+ return LoyaltyCommerceApiFp(this.configuration).restoreRedemption(restoreLoyaltyRedemptionDto, options).then((request) => request(this.axios, this.basePath));
40048
+ }
40049
+ }
40050
+
40051
+
39056
40052
  /**
39057
40053
  * LoyaltyIntegerationsApi - axios parameter creator
39058
40054
  * @export
@@ -39462,6 +40458,46 @@ export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?
39462
40458
  options: localVarRequestOptions,
39463
40459
  };
39464
40460
  },
40461
+ /**
40462
+ *
40463
+ * @summary Resolve the loyalty runtime for a member on a till surface
40464
+ * @param {LoyaltyRuntimeContextRequestDto} loyaltyRuntimeContextRequestDto
40465
+ * @param {*} [options] Override http request option.
40466
+ * @throws {RequiredError}
40467
+ */
40468
+ runtimeContext: async (loyaltyRuntimeContextRequestDto: LoyaltyRuntimeContextRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40469
+ // verify required parameter 'loyaltyRuntimeContextRequestDto' is not null or undefined
40470
+ assertParamExists('runtimeContext', 'loyaltyRuntimeContextRequestDto', loyaltyRuntimeContextRequestDto)
40471
+ const localVarPath = `/api/v1/loyalty/runtime-context`;
40472
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40473
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40474
+ let baseOptions;
40475
+ if (configuration) {
40476
+ baseOptions = configuration.baseOptions;
40477
+ }
40478
+
40479
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
40480
+ const localVarHeaderParameter = {} as any;
40481
+ const localVarQueryParameter = {} as any;
40482
+
40483
+ // authentication JWT-auth required
40484
+ // http bearer authentication required
40485
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
40486
+
40487
+
40488
+
40489
+ localVarHeaderParameter['Content-Type'] = 'application/json';
40490
+
40491
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40492
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40493
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40494
+ localVarRequestOptions.data = serializeDataIfNeeded(loyaltyRuntimeContextRequestDto, localVarRequestOptions, configuration)
40495
+
40496
+ return {
40497
+ url: toPathString(localVarUrlObj),
40498
+ options: localVarRequestOptions,
40499
+ };
40500
+ },
39465
40501
  /**
39466
40502
  *
39467
40503
  * @summary Search user by phone or email
@@ -39735,6 +40771,17 @@ export const LoyaltyIntegerationsApiFp = function(configuration?: Configuration)
39735
40771
  const localVarAxiosArgs = await localVarAxiosParamCreator.resolvePerks(loyaltyResolveRequestDto, options);
39736
40772
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39737
40773
  },
40774
+ /**
40775
+ *
40776
+ * @summary Resolve the loyalty runtime for a member on a till surface
40777
+ * @param {LoyaltyRuntimeContextRequestDto} loyaltyRuntimeContextRequestDto
40778
+ * @param {*} [options] Override http request option.
40779
+ * @throws {RequiredError}
40780
+ */
40781
+ async runtimeContext(loyaltyRuntimeContextRequestDto: LoyaltyRuntimeContextRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoyaltyRuntimeContextDto>> {
40782
+ const localVarAxiosArgs = await localVarAxiosParamCreator.runtimeContext(loyaltyRuntimeContextRequestDto, options);
40783
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
40784
+ },
39738
40785
  /**
39739
40786
  *
39740
40787
  * @summary Search user by phone or email
@@ -39880,6 +40927,16 @@ export const LoyaltyIntegerationsApiFactory = function (configuration?: Configur
39880
40927
  resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: any): AxiosPromise<LoyaltyResolveResponseDto> {
39881
40928
  return localVarFp.resolvePerks(loyaltyResolveRequestDto, options).then((request) => request(axios, basePath));
39882
40929
  },
40930
+ /**
40931
+ *
40932
+ * @summary Resolve the loyalty runtime for a member on a till surface
40933
+ * @param {LoyaltyRuntimeContextRequestDto} loyaltyRuntimeContextRequestDto
40934
+ * @param {*} [options] Override http request option.
40935
+ * @throws {RequiredError}
40936
+ */
40937
+ runtimeContext(loyaltyRuntimeContextRequestDto: LoyaltyRuntimeContextRequestDto, options?: any): AxiosPromise<LoyaltyRuntimeContextDto> {
40938
+ return localVarFp.runtimeContext(loyaltyRuntimeContextRequestDto, options).then((request) => request(axios, basePath));
40939
+ },
39883
40940
  /**
39884
40941
  *
39885
40942
  * @summary Search user by phone or email
@@ -40021,6 +41078,16 @@ export interface LoyaltyIntegerationsApiInterface {
40021
41078
  */
40022
41079
  resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig): AxiosPromise<LoyaltyResolveResponseDto>;
40023
41080
 
41081
+ /**
41082
+ *
41083
+ * @summary Resolve the loyalty runtime for a member on a till surface
41084
+ * @param {LoyaltyRuntimeContextRequestDto} loyaltyRuntimeContextRequestDto
41085
+ * @param {*} [options] Override http request option.
41086
+ * @throws {RequiredError}
41087
+ * @memberof LoyaltyIntegerationsApiInterface
41088
+ */
41089
+ runtimeContext(loyaltyRuntimeContextRequestDto: LoyaltyRuntimeContextRequestDto, options?: AxiosRequestConfig): AxiosPromise<LoyaltyRuntimeContextDto>;
41090
+
40024
41091
  /**
40025
41092
  *
40026
41093
  * @summary Search user by phone or email
@@ -40180,6 +41247,18 @@ export class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyIntegerat
40180
41247
  return LoyaltyIntegerationsApiFp(this.configuration).resolvePerks(loyaltyResolveRequestDto, options).then((request) => request(this.axios, this.basePath));
40181
41248
  }
40182
41249
 
41250
+ /**
41251
+ *
41252
+ * @summary Resolve the loyalty runtime for a member on a till surface
41253
+ * @param {LoyaltyRuntimeContextRequestDto} loyaltyRuntimeContextRequestDto
41254
+ * @param {*} [options] Override http request option.
41255
+ * @throws {RequiredError}
41256
+ * @memberof LoyaltyIntegerationsApi
41257
+ */
41258
+ public runtimeContext(loyaltyRuntimeContextRequestDto: LoyaltyRuntimeContextRequestDto, options?: AxiosRequestConfig) {
41259
+ return LoyaltyIntegerationsApiFp(this.configuration).runtimeContext(loyaltyRuntimeContextRequestDto, options).then((request) => request(this.axios, this.basePath));
41260
+ }
41261
+
40183
41262
  /**
40184
41263
  *
40185
41264
  * @summary Search user by phone or email