@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/generated/api.ts CHANGED
@@ -3960,12 +3960,6 @@ 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;
3969
3963
  }
3970
3964
 
3971
3965
 
@@ -9494,174 +9488,6 @@ export const LoyaltyActionKey = {
9494
9488
  export type LoyaltyActionKey = typeof LoyaltyActionKey[keyof typeof LoyaltyActionKey];
9495
9489
 
9496
9490
 
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
- }
9665
9491
  /**
9666
9492
  *
9667
9493
  * @export
@@ -9811,21 +9637,6 @@ export interface LoyaltyLinkMetadataDto {
9811
9637
  */
9812
9638
  'venueId': number;
9813
9639
  }
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
-
9829
9640
  /**
9830
9641
  *
9831
9642
  * @export
@@ -9870,410 +9681,6 @@ export interface LoyaltyResolveResponseDto {
9870
9681
  */
9871
9682
  'perks': Array<ResolvedPerkDto>;
9872
9683
  }
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
-
10277
9684
  /**
10278
9685
  *
10279
9686
  * @export
@@ -12248,118 +11655,6 @@ export interface OrderHistoryResponseDtoSummary {
12248
11655
  */
12249
11656
  'totalTipAmount'?: number;
12250
11657
  }
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
-
12363
11658
  /**
12364
11659
  *
12365
11660
  * @export
@@ -14170,12 +13465,6 @@ export interface ParkPosOrderDtoOrder {
14170
13465
  * @memberof ParkPosOrderDtoOrder
14171
13466
  */
14172
13467
  'tableGroupId'?: string | null;
14173
- /**
14174
- *
14175
- * @type {PosOrderDtoLoyalty}
14176
- * @memberof ParkPosOrderDtoOrder
14177
- */
14178
- 'loyalty'?: PosOrderDtoLoyalty | null;
14179
13468
  }
14180
13469
 
14181
13470
 
@@ -16625,36 +15914,6 @@ export interface PosDiscountDto {
16625
15914
  * @memberof PosDiscountDto
16626
15915
  */
16627
15916
  '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;
16658
15917
  }
16659
15918
 
16660
15919
 
@@ -17875,12 +17134,6 @@ export interface PosOrderDto {
17875
17134
  * @memberof PosOrderDto
17876
17135
  */
17877
17136
  'tableGroupId'?: string | null;
17878
- /**
17879
- *
17880
- * @type {PosOrderDtoLoyalty}
17881
- * @memberof PosOrderDto
17882
- */
17883
- 'loyalty'?: PosOrderDtoLoyalty | null;
17884
17137
  }
17885
17138
 
17886
17139
 
@@ -17970,19 +17223,6 @@ export interface PosOrderDtoInvoiceCompany {
17970
17223
  */
17971
17224
  'updatedAt': string;
17972
17225
  }
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
- }
17986
17226
  /**
17987
17227
  * Fine dining table service metadata
17988
17228
  * @export
@@ -18198,12 +17438,6 @@ export interface PosOrderItemDto {
18198
17438
  * @memberof PosOrderItemDto
18199
17439
  */
18200
17440
  '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>;
18207
17441
  /**
18208
17442
  *
18209
17443
  * @type {boolean}
@@ -18722,12 +17956,6 @@ export interface PosOrderPayloadDtoOrder {
18722
17956
  * @memberof PosOrderPayloadDtoOrder
18723
17957
  */
18724
17958
  'tableGroupId'?: string | null;
18725
- /**
18726
- *
18727
- * @type {PosOrderDtoLoyalty}
18728
- * @memberof PosOrderPayloadDtoOrder
18729
- */
18730
- 'loyalty'?: PosOrderDtoLoyalty | null;
18731
17959
  }
18732
17960
 
18733
17961
 
@@ -19687,12 +18915,6 @@ export interface ProcessOrderActionsResponseDtoOrder {
19687
18915
  * @memberof ProcessOrderActionsResponseDtoOrder
19688
18916
  */
19689
18917
  'tableGroupId'?: string | null;
19690
- /**
19691
- *
19692
- * @type {PosOrderDtoLoyalty}
19693
- * @memberof ProcessOrderActionsResponseDtoOrder
19694
- */
19695
- 'loyalty'?: PosOrderDtoLoyalty | null;
19696
18918
  }
19697
18919
 
19698
18920
 
@@ -20702,6 +19924,60 @@ export interface ReceiptDetailsDto {
20702
19924
  */
20703
19925
  'transactionStatusInformation': string;
20704
19926
  }
19927
+ /**
19928
+ *
19929
+ * @export
19930
+ * @interface ReceiptFooterConfigDto
19931
+ */
19932
+ export interface ReceiptFooterConfigDto {
19933
+ /**
19934
+ *
19935
+ * @type {number}
19936
+ * @memberof ReceiptFooterConfigDto
19937
+ */
19938
+ 'businessId': number;
19939
+ /**
19940
+ *
19941
+ * @type {ProviderEnum}
19942
+ * @memberof ReceiptFooterConfigDto
19943
+ */
19944
+ 'channel': ProviderEnum;
19945
+ /**
19946
+ *
19947
+ * @type {Array<ReceiptFooterDocumentType>}
19948
+ * @memberof ReceiptFooterConfigDto
19949
+ */
19950
+ 'appliesTo': Array<ReceiptFooterDocumentType>;
19951
+ /**
19952
+ *
19953
+ * @type {Array<object>}
19954
+ * @memberof ReceiptFooterConfigDto
19955
+ */
19956
+ 'blocks': Array<object>;
19957
+ /**
19958
+ *
19959
+ * @type {string}
19960
+ * @memberof ReceiptFooterConfigDto
19961
+ */
19962
+ 'updatedAt': string;
19963
+ }
19964
+
19965
+
19966
+ /**
19967
+ *
19968
+ * @export
19969
+ * @enum {string}
19970
+ */
19971
+
19972
+ export const ReceiptFooterDocumentType = {
19973
+ ReceiptFinal: 'RECEIPT_FINAL',
19974
+ ReceiptPrebill: 'RECEIPT_PREBILL',
19975
+ Refund: 'REFUND'
19976
+ } as const;
19977
+
19978
+ export type ReceiptFooterDocumentType = typeof ReceiptFooterDocumentType[keyof typeof ReceiptFooterDocumentType];
19979
+
19980
+
20705
19981
  /**
20706
19982
  *
20707
19983
  * @export
@@ -20993,12 +20269,6 @@ export interface RecordManualPaymentResultDtoOrder {
20993
20269
  * @memberof RecordManualPaymentResultDtoOrder
20994
20270
  */
20995
20271
  'tableGroupId'?: string | null;
20996
- /**
20997
- *
20998
- * @type {PosOrderDtoLoyalty}
20999
- * @memberof RecordManualPaymentResultDtoOrder
21000
- */
21001
- 'loyalty'?: PosOrderDtoLoyalty | null;
21002
20272
  }
21003
20273
 
21004
20274
 
@@ -22027,58 +21297,6 @@ export const ScopeEnum = {
22027
21297
 
22028
21298
  export type ScopeEnum = typeof ScopeEnum[keyof typeof ScopeEnum];
22029
21299
 
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
-
22082
21300
  /**
22083
21301
  *
22084
21302
  * @export
@@ -22128,7 +21346,8 @@ export const SYNCKEY = {
22128
21346
  InvoiceCompanies: 'INVOICE_COMPANIES',
22129
21347
  BusinessTax: 'BUSINESS_TAX',
22130
21348
  Transaction: 'TRANSACTION',
22131
- PaymentMethods: 'PAYMENT_METHODS'
21349
+ PaymentMethods: 'PAYMENT_METHODS',
21350
+ ReceiptFooter: 'RECEIPT_FOOTER'
22132
21351
  } as const;
22133
21352
 
22134
21353
  export type SYNCKEY = typeof SYNCKEY[keyof typeof SYNCKEY];
@@ -23418,12 +22637,6 @@ export interface SyncKioskOrderDtoOrder {
23418
22637
  * @memberof SyncKioskOrderDtoOrder
23419
22638
  */
23420
22639
  'tableGroupId'?: string | null;
23421
- /**
23422
- *
23423
- * @type {PosOrderDtoLoyalty}
23424
- * @memberof SyncKioskOrderDtoOrder
23425
- */
23426
- 'loyalty'?: PosOrderDtoLoyalty | null;
23427
22640
  }
23428
22641
 
23429
22642
 
@@ -23755,12 +22968,6 @@ export interface SyncPosOrderDtoOrder {
23755
22968
  * @memberof SyncPosOrderDtoOrder
23756
22969
  */
23757
22970
  'tableGroupId'?: string | null;
23758
- /**
23759
- *
23760
- * @type {PosOrderDtoLoyalty}
23761
- * @memberof SyncPosOrderDtoOrder
23762
- */
23763
- 'loyalty'?: PosOrderDtoLoyalty | null;
23764
22971
  }
23765
22972
 
23766
22973
 
@@ -25193,12 +24400,6 @@ export interface UnifiedOrderResponseDto {
25193
24400
  * @memberof UnifiedOrderResponseDto
25194
24401
  */
25195
24402
  'posDiscounts'?: Array<PosDiscountDto>;
25196
- /**
25197
- *
25198
- * @type {UnifiedOrderResponseDtoLoyalty}
25199
- * @memberof UnifiedOrderResponseDto
25200
- */
25201
- 'loyalty'?: UnifiedOrderResponseDtoLoyalty | null;
25202
24403
  /**
25203
24404
  * Payment transactions recorded for the POS order. POS only
25204
24405
  * @type {Array<TransactionDto>}
@@ -25537,19 +24738,6 @@ export interface UnifiedOrderResponseDtoLastPaymentError {
25537
24738
  }
25538
24739
 
25539
24740
 
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
- }
25553
24741
  /**
25554
24742
  * Preorder scheduling details. Platform only
25555
24743
  * @export
@@ -27250,6 +26438,25 @@ export interface UpsertProvidersDto {
27250
26438
  }
27251
26439
 
27252
26440
 
26441
+ /**
26442
+ *
26443
+ * @export
26444
+ * @interface UpsertReceiptFooterDto
26445
+ */
26446
+ export interface UpsertReceiptFooterDto {
26447
+ /**
26448
+ * Document types this footer applies to. Empty array = all types.
26449
+ * @type {Array<ReceiptFooterDocumentType>}
26450
+ * @memberof UpsertReceiptFooterDto
26451
+ */
26452
+ 'appliesTo': Array<ReceiptFooterDocumentType>;
26453
+ /**
26454
+ * Ordered footer content blocks (text/image/qr/barcode), rendered before Munchi\'s own branding footer.
26455
+ * @type {Array<object>}
26456
+ * @memberof UpsertReceiptFooterDto
26457
+ */
26458
+ 'blocks': Array<object>;
26459
+ }
27253
26460
  /**
27254
26461
  *
27255
26462
  * @export
@@ -39920,135 +39127,6 @@ export class KiosksApi extends BaseAPI implements KiosksApiInterface {
39920
39127
  }
39921
39128
 
39922
39129
 
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
-
40052
39130
  /**
40053
39131
  * LoyaltyIntegerationsApi - axios parameter creator
40054
39132
  * @export
@@ -40324,111 +39402,18 @@ export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?
40324
39402
  },
40325
39403
  /**
40326
39404
  *
40327
- * @summary Get raw loyalty perks for a user without AI validation (fast)
40328
- * @param {number} businessId
40329
- * @param {number} userId
40330
- * @param {*} [options] Override http request option.
40331
- * @throws {RequiredError}
40332
- */
40333
- getUserPerks: async (businessId: number, userId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40334
- // verify required parameter 'businessId' is not null or undefined
40335
- assertParamExists('getUserPerks', 'businessId', businessId)
40336
- // verify required parameter 'userId' is not null or undefined
40337
- assertParamExists('getUserPerks', 'userId', userId)
40338
- const localVarPath = `/api/v1/loyalty/users/perks`;
40339
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
40340
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40341
- let baseOptions;
40342
- if (configuration) {
40343
- baseOptions = configuration.baseOptions;
40344
- }
40345
-
40346
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
40347
- const localVarHeaderParameter = {} as any;
40348
- const localVarQueryParameter = {} as any;
40349
-
40350
- // authentication JWT-auth required
40351
- // http bearer authentication required
40352
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
40353
-
40354
- if (businessId !== undefined) {
40355
- localVarQueryParameter['businessId'] = businessId;
40356
- }
40357
-
40358
- if (userId !== undefined) {
40359
- localVarQueryParameter['userId'] = userId;
40360
- }
40361
-
40362
-
40363
-
40364
- setSearchParams(localVarUrlObj, localVarQueryParameter);
40365
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40366
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40367
-
40368
- return {
40369
- url: toPathString(localVarUrlObj),
40370
- options: localVarRequestOptions,
40371
- };
40372
- },
40373
- /**
40374
- *
40375
- * @summary Get loyalty wallet for a user (kiosk)
40376
- * @param {number} businessId
40377
- * @param {number} userId
40378
- * @param {*} [options] Override http request option.
40379
- * @throws {RequiredError}
40380
- */
40381
- getUserWallet: async (businessId: number, userId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40382
- // verify required parameter 'businessId' is not null or undefined
40383
- assertParamExists('getUserWallet', 'businessId', businessId)
40384
- // verify required parameter 'userId' is not null or undefined
40385
- assertParamExists('getUserWallet', 'userId', userId)
40386
- const localVarPath = `/api/v1/loyalty/users/wallet`;
40387
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
40388
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40389
- let baseOptions;
40390
- if (configuration) {
40391
- baseOptions = configuration.baseOptions;
40392
- }
40393
-
40394
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
40395
- const localVarHeaderParameter = {} as any;
40396
- const localVarQueryParameter = {} as any;
40397
-
40398
- // authentication JWT-auth required
40399
- // http bearer authentication required
40400
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
40401
-
40402
- if (businessId !== undefined) {
40403
- localVarQueryParameter['businessId'] = businessId;
40404
- }
40405
-
40406
- if (userId !== undefined) {
40407
- localVarQueryParameter['userId'] = userId;
40408
- }
40409
-
40410
-
40411
-
40412
- setSearchParams(localVarUrlObj, localVarQueryParameter);
40413
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40414
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40415
-
40416
- return {
40417
- url: toPathString(localVarUrlObj),
40418
- options: localVarRequestOptions,
40419
- };
40420
- },
40421
- /**
40422
- *
40423
- * @summary Resolve applicable loyalty perks for the current cart (AI)
40424
- * @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
39405
+ * @summary Get raw loyalty perks for a user without AI validation (fast)
39406
+ * @param {number} businessId
39407
+ * @param {number} userId
40425
39408
  * @param {*} [options] Override http request option.
40426
39409
  * @throws {RequiredError}
40427
39410
  */
40428
- resolvePerks: async (loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
40429
- // verify required parameter 'loyaltyResolveRequestDto' is not null or undefined
40430
- assertParamExists('resolvePerks', 'loyaltyResolveRequestDto', loyaltyResolveRequestDto)
40431
- const localVarPath = `/api/v1/loyalty/resolve`;
39411
+ getUserPerks: async (businessId: number, userId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39412
+ // verify required parameter 'businessId' is not null or undefined
39413
+ assertParamExists('getUserPerks', 'businessId', businessId)
39414
+ // verify required parameter 'userId' is not null or undefined
39415
+ assertParamExists('getUserPerks', 'userId', userId)
39416
+ const localVarPath = `/api/v1/loyalty/users/perks`;
40432
39417
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
40433
39418
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40434
39419
  let baseOptions;
@@ -40436,7 +39421,7 @@ export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?
40436
39421
  baseOptions = configuration.baseOptions;
40437
39422
  }
40438
39423
 
40439
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
39424
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
40440
39425
  const localVarHeaderParameter = {} as any;
40441
39426
  const localVarQueryParameter = {} as any;
40442
39427
 
@@ -40444,14 +39429,67 @@ export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?
40444
39429
  // http bearer authentication required
40445
39430
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
40446
39431
 
39432
+ if (businessId !== undefined) {
39433
+ localVarQueryParameter['businessId'] = businessId;
39434
+ }
39435
+
39436
+ if (userId !== undefined) {
39437
+ localVarQueryParameter['userId'] = userId;
39438
+ }
39439
+
40447
39440
 
40448
39441
 
40449
- localVarHeaderParameter['Content-Type'] = 'application/json';
39442
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
39443
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
39444
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40450
39445
 
39446
+ return {
39447
+ url: toPathString(localVarUrlObj),
39448
+ options: localVarRequestOptions,
39449
+ };
39450
+ },
39451
+ /**
39452
+ *
39453
+ * @summary Get loyalty wallet for a user (kiosk)
39454
+ * @param {number} businessId
39455
+ * @param {number} userId
39456
+ * @param {*} [options] Override http request option.
39457
+ * @throws {RequiredError}
39458
+ */
39459
+ getUserWallet: async (businessId: number, userId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39460
+ // verify required parameter 'businessId' is not null or undefined
39461
+ assertParamExists('getUserWallet', 'businessId', businessId)
39462
+ // verify required parameter 'userId' is not null or undefined
39463
+ assertParamExists('getUserWallet', 'userId', userId)
39464
+ const localVarPath = `/api/v1/loyalty/users/wallet`;
39465
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
39466
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39467
+ let baseOptions;
39468
+ if (configuration) {
39469
+ baseOptions = configuration.baseOptions;
39470
+ }
39471
+
39472
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
39473
+ const localVarHeaderParameter = {} as any;
39474
+ const localVarQueryParameter = {} as any;
39475
+
39476
+ // authentication JWT-auth required
39477
+ // http bearer authentication required
39478
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
39479
+
39480
+ if (businessId !== undefined) {
39481
+ localVarQueryParameter['businessId'] = businessId;
39482
+ }
39483
+
39484
+ if (userId !== undefined) {
39485
+ localVarQueryParameter['userId'] = userId;
39486
+ }
39487
+
39488
+
39489
+
40451
39490
  setSearchParams(localVarUrlObj, localVarQueryParameter);
40452
39491
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40453
39492
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40454
- localVarRequestOptions.data = serializeDataIfNeeded(loyaltyResolveRequestDto, localVarRequestOptions, configuration)
40455
39493
 
40456
39494
  return {
40457
39495
  url: toPathString(localVarUrlObj),
@@ -40460,15 +39498,15 @@ export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?
40460
39498
  },
40461
39499
  /**
40462
39500
  *
40463
- * @summary Resolve the loyalty runtime for a member on a till surface
40464
- * @param {LoyaltyRuntimeContextRequestDto} loyaltyRuntimeContextRequestDto
39501
+ * @summary Resolve applicable loyalty perks for the current cart (AI)
39502
+ * @param {LoyaltyResolveRequestDto} loyaltyResolveRequestDto
40465
39503
  * @param {*} [options] Override http request option.
40466
39504
  * @throws {RequiredError}
40467
39505
  */
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`;
39506
+ resolvePerks: async (loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39507
+ // verify required parameter 'loyaltyResolveRequestDto' is not null or undefined
39508
+ assertParamExists('resolvePerks', 'loyaltyResolveRequestDto', loyaltyResolveRequestDto)
39509
+ const localVarPath = `/api/v1/loyalty/resolve`;
40472
39510
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
40473
39511
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40474
39512
  let baseOptions;
@@ -40491,7 +39529,7 @@ export const LoyaltyIntegerationsApiAxiosParamCreator = function (configuration?
40491
39529
  setSearchParams(localVarUrlObj, localVarQueryParameter);
40492
39530
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40493
39531
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40494
- localVarRequestOptions.data = serializeDataIfNeeded(loyaltyRuntimeContextRequestDto, localVarRequestOptions, configuration)
39532
+ localVarRequestOptions.data = serializeDataIfNeeded(loyaltyResolveRequestDto, localVarRequestOptions, configuration)
40495
39533
 
40496
39534
  return {
40497
39535
  url: toPathString(localVarUrlObj),
@@ -40771,17 +39809,6 @@ export const LoyaltyIntegerationsApiFp = function(configuration?: Configuration)
40771
39809
  const localVarAxiosArgs = await localVarAxiosParamCreator.resolvePerks(loyaltyResolveRequestDto, options);
40772
39810
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
40773
39811
  },
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
- },
40785
39812
  /**
40786
39813
  *
40787
39814
  * @summary Search user by phone or email
@@ -40927,16 +39954,6 @@ export const LoyaltyIntegerationsApiFactory = function (configuration?: Configur
40927
39954
  resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: any): AxiosPromise<LoyaltyResolveResponseDto> {
40928
39955
  return localVarFp.resolvePerks(loyaltyResolveRequestDto, options).then((request) => request(axios, basePath));
40929
39956
  },
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
- },
40940
39957
  /**
40941
39958
  *
40942
39959
  * @summary Search user by phone or email
@@ -41078,16 +40095,6 @@ export interface LoyaltyIntegerationsApiInterface {
41078
40095
  */
41079
40096
  resolvePerks(loyaltyResolveRequestDto: LoyaltyResolveRequestDto, options?: AxiosRequestConfig): AxiosPromise<LoyaltyResolveResponseDto>;
41080
40097
 
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
-
41091
40098
  /**
41092
40099
  *
41093
40100
  * @summary Search user by phone or email
@@ -41247,18 +40254,6 @@ export class LoyaltyIntegerationsApi extends BaseAPI implements LoyaltyIntegerat
41247
40254
  return LoyaltyIntegerationsApiFp(this.configuration).resolvePerks(loyaltyResolveRequestDto, options).then((request) => request(this.axios, this.basePath));
41248
40255
  }
41249
40256
 
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
-
41262
40257
  /**
41263
40258
  *
41264
40259
  * @summary Search user by phone or email
@@ -50530,6 +49525,246 @@ export class ProviderApi extends BaseAPI implements ProviderApiInterface {
50530
49525
  }
50531
49526
 
50532
49527
 
49528
+ /**
49529
+ * ReceiptFooterApi - axios parameter creator
49530
+ * @export
49531
+ */
49532
+ export const ReceiptFooterApiAxiosParamCreator = function (configuration?: Configuration) {
49533
+ return {
49534
+ /**
49535
+ *
49536
+ * @summary Get the receipt footer config for a business + channel
49537
+ * @param {number} businessId
49538
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
49539
+ * @param {*} [options] Override http request option.
49540
+ * @throws {RequiredError}
49541
+ */
49542
+ receiptFooterGetConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49543
+ // verify required parameter 'businessId' is not null or undefined
49544
+ assertParamExists('receiptFooterGetConfig', 'businessId', businessId)
49545
+ // verify required parameter 'xAppX' is not null or undefined
49546
+ assertParamExists('receiptFooterGetConfig', 'xAppX', xAppX)
49547
+ const localVarPath = `/api/v1/receipt-footer/business/{businessId}`
49548
+ .replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
49549
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
49550
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
49551
+ let baseOptions;
49552
+ if (configuration) {
49553
+ baseOptions = configuration.baseOptions;
49554
+ }
49555
+
49556
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
49557
+ const localVarHeaderParameter = {} as any;
49558
+ const localVarQueryParameter = {} as any;
49559
+
49560
+ // authentication JWT-auth required
49561
+ // http bearer authentication required
49562
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
49563
+
49564
+ if (xAppX != null) {
49565
+ localVarHeaderParameter['x-app-x'] = String(xAppX);
49566
+ }
49567
+
49568
+
49569
+
49570
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
49571
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
49572
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
49573
+
49574
+ return {
49575
+ url: toPathString(localVarUrlObj),
49576
+ options: localVarRequestOptions,
49577
+ };
49578
+ },
49579
+ /**
49580
+ *
49581
+ * @summary Create or update the receipt footer config for a business + channel
49582
+ * @param {number} businessId
49583
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
49584
+ * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
49585
+ * @param {*} [options] Override http request option.
49586
+ * @throws {RequiredError}
49587
+ */
49588
+ receiptFooterUpsertConfig: async (businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
49589
+ // verify required parameter 'businessId' is not null or undefined
49590
+ assertParamExists('receiptFooterUpsertConfig', 'businessId', businessId)
49591
+ // verify required parameter 'xAppX' is not null or undefined
49592
+ assertParamExists('receiptFooterUpsertConfig', 'xAppX', xAppX)
49593
+ // verify required parameter 'upsertReceiptFooterDto' is not null or undefined
49594
+ assertParamExists('receiptFooterUpsertConfig', 'upsertReceiptFooterDto', upsertReceiptFooterDto)
49595
+ const localVarPath = `/api/v1/receipt-footer/business/{businessId}`
49596
+ .replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
49597
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
49598
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
49599
+ let baseOptions;
49600
+ if (configuration) {
49601
+ baseOptions = configuration.baseOptions;
49602
+ }
49603
+
49604
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
49605
+ const localVarHeaderParameter = {} as any;
49606
+ const localVarQueryParameter = {} as any;
49607
+
49608
+ // authentication JWT-auth required
49609
+ // http bearer authentication required
49610
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
49611
+
49612
+ if (xAppX != null) {
49613
+ localVarHeaderParameter['x-app-x'] = String(xAppX);
49614
+ }
49615
+
49616
+
49617
+
49618
+ localVarHeaderParameter['Content-Type'] = 'application/json';
49619
+
49620
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
49621
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
49622
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
49623
+ localVarRequestOptions.data = serializeDataIfNeeded(upsertReceiptFooterDto, localVarRequestOptions, configuration)
49624
+
49625
+ return {
49626
+ url: toPathString(localVarUrlObj),
49627
+ options: localVarRequestOptions,
49628
+ };
49629
+ },
49630
+ }
49631
+ };
49632
+
49633
+ /**
49634
+ * ReceiptFooterApi - functional programming interface
49635
+ * @export
49636
+ */
49637
+ export const ReceiptFooterApiFp = function(configuration?: Configuration) {
49638
+ const localVarAxiosParamCreator = ReceiptFooterApiAxiosParamCreator(configuration)
49639
+ return {
49640
+ /**
49641
+ *
49642
+ * @summary Get the receipt footer config for a business + channel
49643
+ * @param {number} businessId
49644
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
49645
+ * @param {*} [options] Override http request option.
49646
+ * @throws {RequiredError}
49647
+ */
49648
+ async 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>> {
49649
+ const localVarAxiosArgs = await localVarAxiosParamCreator.receiptFooterGetConfig(businessId, xAppX, options);
49650
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
49651
+ },
49652
+ /**
49653
+ *
49654
+ * @summary Create or update the receipt footer config for a business + channel
49655
+ * @param {number} businessId
49656
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
49657
+ * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
49658
+ * @param {*} [options] Override http request option.
49659
+ * @throws {RequiredError}
49660
+ */
49661
+ async 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>> {
49662
+ const localVarAxiosArgs = await localVarAxiosParamCreator.receiptFooterUpsertConfig(businessId, xAppX, upsertReceiptFooterDto, options);
49663
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
49664
+ },
49665
+ }
49666
+ };
49667
+
49668
+ /**
49669
+ * ReceiptFooterApi - factory interface
49670
+ * @export
49671
+ */
49672
+ export const ReceiptFooterApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
49673
+ const localVarFp = ReceiptFooterApiFp(configuration)
49674
+ return {
49675
+ /**
49676
+ *
49677
+ * @summary Get the receipt footer config for a business + channel
49678
+ * @param {number} businessId
49679
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
49680
+ * @param {*} [options] Override http request option.
49681
+ * @throws {RequiredError}
49682
+ */
49683
+ receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: any): AxiosPromise<ReceiptFooterConfigDto> {
49684
+ return localVarFp.receiptFooterGetConfig(businessId, xAppX, options).then((request) => request(axios, basePath));
49685
+ },
49686
+ /**
49687
+ *
49688
+ * @summary Create or update the receipt footer config for a business + channel
49689
+ * @param {number} businessId
49690
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
49691
+ * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
49692
+ * @param {*} [options] Override http request option.
49693
+ * @throws {RequiredError}
49694
+ */
49695
+ receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: any): AxiosPromise<ReceiptFooterConfigDto> {
49696
+ return localVarFp.receiptFooterUpsertConfig(businessId, xAppX, upsertReceiptFooterDto, options).then((request) => request(axios, basePath));
49697
+ },
49698
+ };
49699
+ };
49700
+
49701
+ /**
49702
+ * ReceiptFooterApi - interface
49703
+ * @export
49704
+ * @interface ReceiptFooterApi
49705
+ */
49706
+ export interface ReceiptFooterApiInterface {
49707
+ /**
49708
+ *
49709
+ * @summary Get the receipt footer config for a business + channel
49710
+ * @param {number} businessId
49711
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
49712
+ * @param {*} [options] Override http request option.
49713
+ * @throws {RequiredError}
49714
+ * @memberof ReceiptFooterApiInterface
49715
+ */
49716
+ receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
49717
+
49718
+ /**
49719
+ *
49720
+ * @summary Create or update the receipt footer config for a business + channel
49721
+ * @param {number} businessId
49722
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
49723
+ * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
49724
+ * @param {*} [options] Override http request option.
49725
+ * @throws {RequiredError}
49726
+ * @memberof ReceiptFooterApiInterface
49727
+ */
49728
+ receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig): AxiosPromise<ReceiptFooterConfigDto>;
49729
+
49730
+ }
49731
+
49732
+ /**
49733
+ * ReceiptFooterApi - object-oriented interface
49734
+ * @export
49735
+ * @class ReceiptFooterApi
49736
+ * @extends {BaseAPI}
49737
+ */
49738
+ export class ReceiptFooterApi extends BaseAPI implements ReceiptFooterApiInterface {
49739
+ /**
49740
+ *
49741
+ * @summary Get the receipt footer config for a business + channel
49742
+ * @param {number} businessId
49743
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
49744
+ * @param {*} [options] Override http request option.
49745
+ * @throws {RequiredError}
49746
+ * @memberof ReceiptFooterApi
49747
+ */
49748
+ public receiptFooterGetConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', options?: AxiosRequestConfig) {
49749
+ return ReceiptFooterApiFp(this.configuration).receiptFooterGetConfig(businessId, xAppX, options).then((request) => request(this.axios, this.basePath));
49750
+ }
49751
+
49752
+ /**
49753
+ *
49754
+ * @summary Create or update the receipt footer config for a business + channel
49755
+ * @param {number} businessId
49756
+ * @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay'} xAppX
49757
+ * @param {UpsertReceiptFooterDto} upsertReceiptFooterDto
49758
+ * @param {*} [options] Override http request option.
49759
+ * @throws {RequiredError}
49760
+ * @memberof ReceiptFooterApi
49761
+ */
49762
+ public receiptFooterUpsertConfig(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay', upsertReceiptFooterDto: UpsertReceiptFooterDto, options?: AxiosRequestConfig) {
49763
+ return ReceiptFooterApiFp(this.configuration).receiptFooterUpsertConfig(businessId, xAppX, upsertReceiptFooterDto, options).then((request) => request(this.axios, this.basePath));
49764
+ }
49765
+ }
49766
+
49767
+
50533
49768
  /**
50534
49769
  * RefundsApi - axios parameter creator
50535
49770
  * @export