@munchi_oy/core 2.13.0 → 2.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/api.d.ts +332 -16
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/generated/api.ts +443 -18
- package/package.json +13 -15
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -5196,6 +5196,18 @@ export interface CreateVenueGiftCardDto {
|
|
|
5196
5196
|
* @memberof CreateVenueGiftCardDto
|
|
5197
5197
|
*/
|
|
5198
5198
|
'note'?: string;
|
|
5199
|
+
/**
|
|
5200
|
+
* The message shown in the card\'s email, 1 to 300 characters: the buyer\'s or the store\'s own words. Absent: none.
|
|
5201
|
+
* @type {string}
|
|
5202
|
+
* @memberof CreateVenueGiftCardDto
|
|
5203
|
+
*/
|
|
5204
|
+
'message'?: string;
|
|
5205
|
+
/**
|
|
5206
|
+
* Whether the card is emailed to buyerEmail at once. Absent: true. Without buyerEmail nothing is sent.
|
|
5207
|
+
* @type {boolean}
|
|
5208
|
+
* @memberof CreateVenueGiftCardDto
|
|
5209
|
+
*/
|
|
5210
|
+
'sendEmail'?: boolean;
|
|
5199
5211
|
/**
|
|
5200
5212
|
* The buyer\'s email, at most 254 characters once the spaces around it are dropped. Absent or only spaces: none. Answered as buyerEmail.
|
|
5201
5213
|
* @type {string}
|
|
@@ -8565,6 +8577,8 @@ export interface GiftCardAttentionDtoStalePending {
|
|
|
8565
8577
|
export declare const GiftCardChannel: {
|
|
8566
8578
|
readonly Till: "TILL";
|
|
8567
8579
|
readonly OnlineStore: "ONLINE_STORE";
|
|
8580
|
+
readonly Kiosk: "KIOSK";
|
|
8581
|
+
readonly MobileApp: "MOBILE_APP";
|
|
8568
8582
|
};
|
|
8569
8583
|
export type GiftCardChannel = typeof GiftCardChannel[keyof typeof GiftCardChannel];
|
|
8570
8584
|
/**
|
|
@@ -8585,6 +8599,18 @@ export interface GiftCardChannelsDto {
|
|
|
8585
8599
|
* @memberof GiftCardChannelsDto
|
|
8586
8600
|
*/
|
|
8587
8601
|
'onlineStore': boolean;
|
|
8602
|
+
/**
|
|
8603
|
+
* Whether the store\'s kiosk takes gift cards. Always answered; absent in a change: unchanged, so a dashboard that sends only till and onlineStore keeps working.
|
|
8604
|
+
* @type {boolean}
|
|
8605
|
+
* @memberof GiftCardChannelsDto
|
|
8606
|
+
*/
|
|
8607
|
+
'kiosk'?: boolean;
|
|
8608
|
+
/**
|
|
8609
|
+
* Whether the store\'s mobile app takes gift cards. Always answered; absent in a change: unchanged.
|
|
8610
|
+
* @type {boolean}
|
|
8611
|
+
* @memberof GiftCardChannelsDto
|
|
8612
|
+
*/
|
|
8613
|
+
'mobileApp'?: boolean;
|
|
8588
8614
|
}
|
|
8589
8615
|
/**
|
|
8590
8616
|
*
|
|
@@ -8674,6 +8700,30 @@ export interface GiftCardCredentialsViewDto {
|
|
|
8674
8700
|
*/
|
|
8675
8701
|
'uniquePosDeviceId': string | null;
|
|
8676
8702
|
}
|
|
8703
|
+
/**
|
|
8704
|
+
*
|
|
8705
|
+
* @export
|
|
8706
|
+
* @enum {string}
|
|
8707
|
+
*/
|
|
8708
|
+
export declare const GiftCardEmailKind: {
|
|
8709
|
+
readonly Card: "CARD";
|
|
8710
|
+
readonly CardAgain: "CARD_AGAIN";
|
|
8711
|
+
readonly Expiry30: "EXPIRY_30";
|
|
8712
|
+
readonly Expiry7: "EXPIRY_7";
|
|
8713
|
+
};
|
|
8714
|
+
export type GiftCardEmailKind = typeof GiftCardEmailKind[keyof typeof GiftCardEmailKind];
|
|
8715
|
+
/**
|
|
8716
|
+
*
|
|
8717
|
+
* @export
|
|
8718
|
+
* @enum {string}
|
|
8719
|
+
*/
|
|
8720
|
+
export declare const GiftCardEmailStatus: {
|
|
8721
|
+
readonly Pending: "PENDING";
|
|
8722
|
+
readonly Sent: "SENT";
|
|
8723
|
+
readonly Failed: "FAILED";
|
|
8724
|
+
readonly Skipped: "SKIPPED";
|
|
8725
|
+
};
|
|
8726
|
+
export type GiftCardEmailStatus = typeof GiftCardEmailStatus[keyof typeof GiftCardEmailStatus];
|
|
8677
8727
|
/**
|
|
8678
8728
|
*
|
|
8679
8729
|
* @export
|
|
@@ -8754,6 +8804,18 @@ export interface GiftCardHistoryEventDto {
|
|
|
8754
8804
|
* @memberof GiftCardHistoryEventDto
|
|
8755
8805
|
*/
|
|
8756
8806
|
'orderId': string | null;
|
|
8807
|
+
/**
|
|
8808
|
+
* The address of an EMAILED, EMAIL_FAILED or EMAIL_CHANGED line; null for the others
|
|
8809
|
+
* @type {string}
|
|
8810
|
+
* @memberof GiftCardHistoryEventDto
|
|
8811
|
+
*/
|
|
8812
|
+
'to': string | null;
|
|
8813
|
+
/**
|
|
8814
|
+
*
|
|
8815
|
+
* @type {GiftCardEmailKind}
|
|
8816
|
+
* @memberof GiftCardHistoryEventDto
|
|
8817
|
+
*/
|
|
8818
|
+
'emailKind': GiftCardEmailKind | null;
|
|
8757
8819
|
/**
|
|
8758
8820
|
* When it happened, ISO 8601
|
|
8759
8821
|
* @type {string}
|
|
@@ -8775,6 +8837,9 @@ export declare const GiftCardHistoryKind: {
|
|
|
8775
8837
|
readonly Blocked: "BLOCKED";
|
|
8776
8838
|
readonly Unblocked: "UNBLOCKED";
|
|
8777
8839
|
readonly SwitchedOn: "SWITCHED_ON";
|
|
8840
|
+
readonly Emailed: "EMAILED";
|
|
8841
|
+
readonly EmailFailed: "EMAIL_FAILED";
|
|
8842
|
+
readonly EmailChanged: "EMAIL_CHANGED";
|
|
8778
8843
|
};
|
|
8779
8844
|
export type GiftCardHistoryKind = typeof GiftCardHistoryKind[keyof typeof GiftCardHistoryKind];
|
|
8780
8845
|
/**
|
|
@@ -8831,6 +8896,37 @@ export declare const GiftCardIssue: {
|
|
|
8831
8896
|
readonly ByHand: "BY_HAND";
|
|
8832
8897
|
};
|
|
8833
8898
|
export type GiftCardIssue = typeof GiftCardIssue[keyof typeof GiftCardIssue];
|
|
8899
|
+
/**
|
|
8900
|
+
*
|
|
8901
|
+
* @export
|
|
8902
|
+
* @interface GiftCardLastEmailDto
|
|
8903
|
+
*/
|
|
8904
|
+
export interface GiftCardLastEmailDto {
|
|
8905
|
+
/**
|
|
8906
|
+
*
|
|
8907
|
+
* @type {GiftCardEmailKind}
|
|
8908
|
+
* @memberof GiftCardLastEmailDto
|
|
8909
|
+
*/
|
|
8910
|
+
'kind': GiftCardEmailKind;
|
|
8911
|
+
/**
|
|
8912
|
+
*
|
|
8913
|
+
* @type {GiftCardEmailStatus}
|
|
8914
|
+
* @memberof GiftCardLastEmailDto
|
|
8915
|
+
*/
|
|
8916
|
+
'status': GiftCardEmailStatus;
|
|
8917
|
+
/**
|
|
8918
|
+
* The address it goes to
|
|
8919
|
+
* @type {string}
|
|
8920
|
+
* @memberof GiftCardLastEmailDto
|
|
8921
|
+
*/
|
|
8922
|
+
'to': string;
|
|
8923
|
+
/**
|
|
8924
|
+
* When it was sent, else when it last changed, ISO 8601
|
|
8925
|
+
* @type {string}
|
|
8926
|
+
* @memberof GiftCardLastEmailDto
|
|
8927
|
+
*/
|
|
8928
|
+
'at': string;
|
|
8929
|
+
}
|
|
8834
8930
|
/**
|
|
8835
8931
|
*
|
|
8836
8932
|
* @export
|
|
@@ -9286,7 +9382,7 @@ export interface GiftCardSettingsDto {
|
|
|
9286
9382
|
*/
|
|
9287
9383
|
'channels': GiftCardSettingsDtoChannels;
|
|
9288
9384
|
/**
|
|
9289
|
-
* The store\'s own channels that are on and can take gift cards: TILL for its till, ONLINE_STORE for its online store
|
|
9385
|
+
* The store\'s own channels that are on and can take gift cards: TILL for its till (an active MunchiPos row), ONLINE_STORE for its online store and MOBILE_APP for its mobile app (both an active Storefront row: the app orders through the same storefront), KIOSK for its kiosk (an active MunchiKiosk, MunchiKioskV2 or Kiosk row).
|
|
9290
9386
|
* @type {Array<GiftCardChannel>}
|
|
9291
9387
|
* @memberof GiftCardSettingsDto
|
|
9292
9388
|
*/
|
|
@@ -9333,6 +9429,18 @@ export interface GiftCardSettingsDto {
|
|
|
9333
9429
|
* @memberof GiftCardSettingsDto
|
|
9334
9430
|
*/
|
|
9335
9431
|
'imageUrl': string | null;
|
|
9432
|
+
/**
|
|
9433
|
+
* Whether holders are reminded by email 30 and 7 days before their card expires
|
|
9434
|
+
* @type {boolean}
|
|
9435
|
+
* @memberof GiftCardSettingsDto
|
|
9436
|
+
*/
|
|
9437
|
+
'remindBeforeExpiry': boolean;
|
|
9438
|
+
/**
|
|
9439
|
+
* The store\'s own gift card terms, shown in every card email; null for Munchi\'s standard terms
|
|
9440
|
+
* @type {string}
|
|
9441
|
+
* @memberof GiftCardSettingsDto
|
|
9442
|
+
*/
|
|
9443
|
+
'terms': string | null;
|
|
9336
9444
|
}
|
|
9337
9445
|
/**
|
|
9338
9446
|
* Where the store\'s gift cards can be spent
|
|
@@ -9352,6 +9460,18 @@ export interface GiftCardSettingsDtoChannels {
|
|
|
9352
9460
|
* @memberof GiftCardSettingsDtoChannels
|
|
9353
9461
|
*/
|
|
9354
9462
|
'onlineStore': boolean;
|
|
9463
|
+
/**
|
|
9464
|
+
* Whether the store\'s kiosk takes gift cards. Always answered; absent in a change: unchanged, so a dashboard that sends only till and onlineStore keeps working.
|
|
9465
|
+
* @type {boolean}
|
|
9466
|
+
* @memberof GiftCardSettingsDtoChannels
|
|
9467
|
+
*/
|
|
9468
|
+
'kiosk'?: boolean;
|
|
9469
|
+
/**
|
|
9470
|
+
* Whether the store\'s mobile app takes gift cards. Always answered; absent in a change: unchanged.
|
|
9471
|
+
* @type {boolean}
|
|
9472
|
+
* @memberof GiftCardSettingsDtoChannels
|
|
9473
|
+
*/
|
|
9474
|
+
'mobileApp'?: boolean;
|
|
9355
9475
|
}
|
|
9356
9476
|
/**
|
|
9357
9477
|
*
|
|
@@ -24533,6 +24653,12 @@ export interface ProvidersConfigResponseDtoViva {
|
|
|
24533
24653
|
* @memberof ProvidersConfigResponseDtoViva
|
|
24534
24654
|
*/
|
|
24535
24655
|
'additionalAmount': number | null;
|
|
24656
|
+
/**
|
|
24657
|
+
*
|
|
24658
|
+
* @type {PaymentSurchargePaidBy}
|
|
24659
|
+
* @memberof ProvidersConfigResponseDtoViva
|
|
24660
|
+
*/
|
|
24661
|
+
'surchargePaidBy': PaymentSurchargePaidBy;
|
|
24536
24662
|
}
|
|
24537
24663
|
/**
|
|
24538
24664
|
* The channel\'s Worldline settings; null when it has none.
|
|
@@ -35834,6 +35960,18 @@ export interface UpdateGiftCardSettingsDto {
|
|
|
35834
35960
|
* @memberof UpdateGiftCardSettingsDto
|
|
35835
35961
|
*/
|
|
35836
35962
|
'imageUrl'?: string | null;
|
|
35963
|
+
/**
|
|
35964
|
+
* Whether holders are reminded by email 30 and 7 days before their card expires. Absent: unchanged.
|
|
35965
|
+
* @type {boolean}
|
|
35966
|
+
* @memberof UpdateGiftCardSettingsDto
|
|
35967
|
+
*/
|
|
35968
|
+
'remindBeforeExpiry'?: boolean;
|
|
35969
|
+
/**
|
|
35970
|
+
* The store\'s own gift card terms, 1 to 5000 characters, shown in every card email, or null for Munchi\'s standard terms. Absent: unchanged.
|
|
35971
|
+
* @type {string}
|
|
35972
|
+
* @memberof UpdateGiftCardSettingsDto
|
|
35973
|
+
*/
|
|
35974
|
+
'terms'?: string | null;
|
|
35837
35975
|
}
|
|
35838
35976
|
/**
|
|
35839
35977
|
* Where the store\'s gift cards can be spent, both channels. Absent: unchanged.
|
|
@@ -35853,6 +35991,18 @@ export interface UpdateGiftCardSettingsDtoChannels {
|
|
|
35853
35991
|
* @memberof UpdateGiftCardSettingsDtoChannels
|
|
35854
35992
|
*/
|
|
35855
35993
|
'onlineStore': boolean;
|
|
35994
|
+
/**
|
|
35995
|
+
* Whether the store\'s kiosk takes gift cards. Always answered; absent in a change: unchanged, so a dashboard that sends only till and onlineStore keeps working.
|
|
35996
|
+
* @type {boolean}
|
|
35997
|
+
* @memberof UpdateGiftCardSettingsDtoChannels
|
|
35998
|
+
*/
|
|
35999
|
+
'kiosk'?: boolean;
|
|
36000
|
+
/**
|
|
36001
|
+
* Whether the store\'s mobile app takes gift cards. Always answered; absent in a change: unchanged.
|
|
36002
|
+
* @type {boolean}
|
|
36003
|
+
* @memberof UpdateGiftCardSettingsDtoChannels
|
|
36004
|
+
*/
|
|
36005
|
+
'mobileApp'?: boolean;
|
|
35856
36006
|
}
|
|
35857
36007
|
/**
|
|
35858
36008
|
*
|
|
@@ -36314,6 +36464,19 @@ export interface UpdateTableStatusDto {
|
|
|
36314
36464
|
*/
|
|
36315
36465
|
'status': TableStatus;
|
|
36316
36466
|
}
|
|
36467
|
+
/**
|
|
36468
|
+
*
|
|
36469
|
+
* @export
|
|
36470
|
+
* @interface UpdateVenueGiftCardDto
|
|
36471
|
+
*/
|
|
36472
|
+
export interface UpdateVenueGiftCardDto {
|
|
36473
|
+
/**
|
|
36474
|
+
* The card\'s email address, at most 254 characters once the spaces around it are dropped, or null to remove it. Nothing is sent.
|
|
36475
|
+
* @type {string}
|
|
36476
|
+
* @memberof UpdateVenueGiftCardDto
|
|
36477
|
+
*/
|
|
36478
|
+
'buyerEmail': string | null;
|
|
36479
|
+
}
|
|
36317
36480
|
/**
|
|
36318
36481
|
*
|
|
36319
36482
|
* @export
|
|
@@ -37544,6 +37707,49 @@ export interface VenueGiftCardDetailDto {
|
|
|
37544
37707
|
* @memberof VenueGiftCardDetailDto
|
|
37545
37708
|
*/
|
|
37546
37709
|
'history': Array<GiftCardHistoryEventDto>;
|
|
37710
|
+
/**
|
|
37711
|
+
* The message shown in the card\'s email; null when none
|
|
37712
|
+
* @type {string}
|
|
37713
|
+
* @memberof VenueGiftCardDetailDto
|
|
37714
|
+
*/
|
|
37715
|
+
'message': string | null;
|
|
37716
|
+
/**
|
|
37717
|
+
*
|
|
37718
|
+
* @type {VenueGiftCardDetailDtoLastEmail}
|
|
37719
|
+
* @memberof VenueGiftCardDetailDto
|
|
37720
|
+
*/
|
|
37721
|
+
'lastEmail': VenueGiftCardDetailDtoLastEmail | null;
|
|
37722
|
+
}
|
|
37723
|
+
/**
|
|
37724
|
+
* The card\'s newest email; null when it has none
|
|
37725
|
+
* @export
|
|
37726
|
+
* @interface VenueGiftCardDetailDtoLastEmail
|
|
37727
|
+
*/
|
|
37728
|
+
export interface VenueGiftCardDetailDtoLastEmail {
|
|
37729
|
+
/**
|
|
37730
|
+
*
|
|
37731
|
+
* @type {GiftCardEmailKind}
|
|
37732
|
+
* @memberof VenueGiftCardDetailDtoLastEmail
|
|
37733
|
+
*/
|
|
37734
|
+
'kind': GiftCardEmailKind;
|
|
37735
|
+
/**
|
|
37736
|
+
*
|
|
37737
|
+
* @type {GiftCardEmailStatus}
|
|
37738
|
+
* @memberof VenueGiftCardDetailDtoLastEmail
|
|
37739
|
+
*/
|
|
37740
|
+
'status': GiftCardEmailStatus;
|
|
37741
|
+
/**
|
|
37742
|
+
* The address it goes to
|
|
37743
|
+
* @type {string}
|
|
37744
|
+
* @memberof VenueGiftCardDetailDtoLastEmail
|
|
37745
|
+
*/
|
|
37746
|
+
'to': string;
|
|
37747
|
+
/**
|
|
37748
|
+
* When it was sent, else when it last changed, ISO 8601
|
|
37749
|
+
* @type {string}
|
|
37750
|
+
* @memberof VenueGiftCardDetailDtoLastEmail
|
|
37751
|
+
*/
|
|
37752
|
+
'at': string;
|
|
37547
37753
|
}
|
|
37548
37754
|
/**
|
|
37549
37755
|
*
|
|
@@ -38455,6 +38661,12 @@ export interface VivaConfigResponseDto {
|
|
|
38455
38661
|
* @memberof VivaConfigResponseDto
|
|
38456
38662
|
*/
|
|
38457
38663
|
'additionalAmount': number | null;
|
|
38664
|
+
/**
|
|
38665
|
+
*
|
|
38666
|
+
* @type {PaymentSurchargePaidBy}
|
|
38667
|
+
* @memberof VivaConfigResponseDto
|
|
38668
|
+
*/
|
|
38669
|
+
'surchargePaidBy': PaymentSurchargePaidBy;
|
|
38458
38670
|
}
|
|
38459
38671
|
/**
|
|
38460
38672
|
*
|
|
@@ -43372,7 +43584,7 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
43372
43584
|
*/
|
|
43373
43585
|
configSaveEpassiCredentials: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43374
43586
|
/**
|
|
43375
|
-
* A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. The fields below are written as sent; any other field is dropped and its name logged.
|
|
43587
|
+
* A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license on every save, which leaves a venue it has a license for as it is: a venue whose license was missed when it was created gets it here. The fields below are written as sent; any other field is dropped and its name logged.
|
|
43376
43588
|
* @summary Create or update a venue
|
|
43377
43589
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
43378
43590
|
* @param {UpsertBusinessDto} upsertBusinessDto
|
|
@@ -43430,7 +43642,7 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
43430
43642
|
*/
|
|
43431
43643
|
configUpsertPaymentOptions: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43432
43644
|
/**
|
|
43433
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The
|
|
43645
|
+
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read.
|
|
43434
43646
|
* @summary Set active provider and upsert its credentials
|
|
43435
43647
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
43436
43648
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -43450,7 +43662,7 @@ export declare const ConfigManagementApiAxiosParamCreator: (configuration?: Conf
|
|
|
43450
43662
|
*/
|
|
43451
43663
|
configUpsertStripe: (businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43452
43664
|
/**
|
|
43453
|
-
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent; a changed rate or additionalAmount is saved on the license server first.
|
|
43665
|
+
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
43454
43666
|
* @summary Create or update a channel\'s Viva config
|
|
43455
43667
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
43456
43668
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -43515,7 +43727,7 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
43515
43727
|
*/
|
|
43516
43728
|
configSaveEpassiCredentials(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EpassiCredentialsSavedDto>>;
|
|
43517
43729
|
/**
|
|
43518
|
-
* A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. The fields below are written as sent; any other field is dropped and its name logged.
|
|
43730
|
+
* A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license on every save, which leaves a venue it has a license for as it is: a venue whose license was missed when it was created gets it here. The fields below are written as sent; any other field is dropped and its name logged.
|
|
43519
43731
|
* @summary Create or update a venue
|
|
43520
43732
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
43521
43733
|
* @param {UpsertBusinessDto} upsertBusinessDto
|
|
@@ -43573,7 +43785,7 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
43573
43785
|
*/
|
|
43574
43786
|
configUpsertPaymentOptions(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
43575
43787
|
/**
|
|
43576
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The
|
|
43788
|
+
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read.
|
|
43577
43789
|
* @summary Set active provider and upsert its credentials
|
|
43578
43790
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
43579
43791
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -43593,7 +43805,7 @@ export declare const ConfigManagementApiFp: (configuration?: Configuration) => {
|
|
|
43593
43805
|
*/
|
|
43594
43806
|
configUpsertStripe(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigManagementResponseDto>>;
|
|
43595
43807
|
/**
|
|
43596
|
-
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent; a changed rate or additionalAmount is saved on the license server first.
|
|
43808
|
+
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
43597
43809
|
* @summary Create or update a channel\'s Viva config
|
|
43598
43810
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
43599
43811
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -43658,7 +43870,7 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
43658
43870
|
*/
|
|
43659
43871
|
configSaveEpassiCredentials(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: any): AxiosPromise<EpassiCredentialsSavedDto>;
|
|
43660
43872
|
/**
|
|
43661
|
-
* A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. The fields below are written as sent; any other field is dropped and its name logged.
|
|
43873
|
+
* A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license on every save, which leaves a venue it has a license for as it is: a venue whose license was missed when it was created gets it here. The fields below are written as sent; any other field is dropped and its name logged.
|
|
43662
43874
|
* @summary Create or update a venue
|
|
43663
43875
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
43664
43876
|
* @param {UpsertBusinessDto} upsertBusinessDto
|
|
@@ -43716,7 +43928,7 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
43716
43928
|
*/
|
|
43717
43929
|
configUpsertPaymentOptions(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
43718
43930
|
/**
|
|
43719
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The
|
|
43931
|
+
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read.
|
|
43720
43932
|
* @summary Set active provider and upsert its credentials
|
|
43721
43933
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
43722
43934
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -43736,7 +43948,7 @@ export declare const ConfigManagementApiFactory: (configuration?: Configuration,
|
|
|
43736
43948
|
*/
|
|
43737
43949
|
configUpsertStripe(businessId: number, xAppX: "Wolt" | "MunchiOnline" | "MunchiKiosk" | "MunchiPos" | "UberEats" | "Foodora" | "Bolt" | "MunchiKioskV2" | "Kiosk" | "WoltStorefront" | "Storefront" | "MunchiPay" | "ResQ", upsertStripeDto: UpsertStripeDto, options?: any): AxiosPromise<ConfigManagementResponseDto>;
|
|
43738
43950
|
/**
|
|
43739
|
-
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent; a changed rate or additionalAmount is saved on the license server first.
|
|
43951
|
+
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
43740
43952
|
* @summary Create or update a channel\'s Viva config
|
|
43741
43953
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
43742
43954
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -43807,7 +44019,7 @@ export interface ConfigManagementApiInterface {
|
|
|
43807
44019
|
*/
|
|
43808
44020
|
configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig): AxiosPromise<EpassiCredentialsSavedDto>;
|
|
43809
44021
|
/**
|
|
43810
|
-
* A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. The fields below are written as sent; any other field is dropped and its name logged.
|
|
44022
|
+
* A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license on every save, which leaves a venue it has a license for as it is: a venue whose license was missed when it was created gets it here. The fields below are written as sent; any other field is dropped and its name logged.
|
|
43811
44023
|
* @summary Create or update a venue
|
|
43812
44024
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
43813
44025
|
* @param {UpsertBusinessDto} upsertBusinessDto
|
|
@@ -43871,7 +44083,7 @@ export interface ConfigManagementApiInterface {
|
|
|
43871
44083
|
*/
|
|
43872
44084
|
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
43873
44085
|
/**
|
|
43874
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The
|
|
44086
|
+
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read.
|
|
43875
44087
|
* @summary Set active provider and upsert its credentials
|
|
43876
44088
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
43877
44089
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -43893,7 +44105,7 @@ export interface ConfigManagementApiInterface {
|
|
|
43893
44105
|
*/
|
|
43894
44106
|
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): AxiosPromise<ConfigManagementResponseDto>;
|
|
43895
44107
|
/**
|
|
43896
|
-
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent; a changed rate or additionalAmount is saved on the license server first.
|
|
44108
|
+
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
43897
44109
|
* @summary Create or update a channel\'s Viva config
|
|
43898
44110
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
43899
44111
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -43966,7 +44178,7 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
43966
44178
|
*/
|
|
43967
44179
|
configSaveEpassiCredentials(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', xEpassiAccessKey: string, saveEpassiCredentialsDto: SaveEpassiCredentialsDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EpassiCredentialsSavedDto, any, {}>>;
|
|
43968
44180
|
/**
|
|
43969
|
-
* A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license. The fields below are written as sent; any other field is dropped and its name logged.
|
|
44181
|
+
* A new venue is saved enabled, named `Business <businessId>`, in Europe/Helsinki unless the body says otherwise, and the license server is asked for its license on every save, which leaves a venue it has a license for as it is: a venue whose license was missed when it was created gets it here. The fields below are written as sent; any other field is dropped and its name logged.
|
|
43970
44182
|
* @summary Create or update a venue
|
|
43971
44183
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
43972
44184
|
* @param {UpsertBusinessDto} upsertBusinessDto
|
|
@@ -44030,7 +44242,7 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44030
44242
|
*/
|
|
44031
44243
|
configUpsertPaymentOptions(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertPaymentOptionsDto: UpsertPaymentOptionsDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
44032
44244
|
/**
|
|
44033
|
-
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The
|
|
44245
|
+
* Saves the chosen provider\'s own fields (Viva as the Viva route would, Nets and Stripe as their routes would; Worldline, which has no route of its own, the same way as Nets and Stripe), then selects it on the channel as the channel config route would, and answers the providers as read afterwards. The provider\'s settings and the selection are saved in one transaction: both or neither. A new Viva config without a rate is refused, as on the Viva route, when the venue has no licence or the license server cannot be read.
|
|
44034
44246
|
* @summary Set active provider and upsert its credentials
|
|
44035
44247
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44036
44248
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -44052,7 +44264,7 @@ export declare class ConfigManagementApi extends BaseAPI implements ConfigManage
|
|
|
44052
44264
|
*/
|
|
44053
44265
|
configUpsertStripe(businessId: number, xAppX: 'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ', upsertStripeDto: UpsertStripeDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigManagementResponseDto, any, {}>>;
|
|
44054
44266
|
/**
|
|
44055
|
-
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent; a changed rate or additionalAmount is saved on the license server first.
|
|
44267
|
+
* Creates the channel\'s config first if it has none. A new Viva config needs a merchantId and takes the license server\'s ISV when no rate is sent, and is refused when the venue has no licence or the license server cannot be read; a changed rate or additionalAmount is saved on the license server first.
|
|
44056
44268
|
* @summary Create or update a channel\'s Viva config
|
|
44057
44269
|
* @param {number} businessId The venue\'s orderingBusinessId, not its cuid
|
|
44058
44270
|
* @param {'Wolt' | 'MunchiOnline' | 'MunchiKiosk' | 'MunchiPos' | 'UberEats' | 'Foodora' | 'Bolt' | 'MunchiKioskV2' | 'Kiosk' | 'WoltStorefront' | 'Storefront' | 'MunchiPay' | 'ResQ'} xAppX The app channel whose config is read or written
|
|
@@ -45864,6 +46076,16 @@ export declare const GiftCardsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
45864
46076
|
* @throws {RequiredError}
|
|
45865
46077
|
*/
|
|
45866
46078
|
createVenueGiftCard: (businessId: number, createVenueGiftCardDto: CreateVenueGiftCardDto, xIdempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46079
|
+
/**
|
|
46080
|
+
* Queues the card\'s email again, to the address the card has saved; it goes within the minute, its subject starting \"Again: \". Only an ACTIVE card with an address is sent, at most 3 times in a rolling hour. Who asked is stored. The answer is the card, its lastEmail the one queued.
|
|
46081
|
+
* @summary Send a gift card again to its saved email address
|
|
46082
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
46083
|
+
* @param {string} cardId The card\'s id
|
|
46084
|
+
* @param {string} [xIdempotencyKey] Client-generated UUID, one per press of Send again; 8 to 100 letters, digits, \'-\' or \'_\'. A repeat with the same key answers the card and queues nothing. Without the header every request queues an email.
|
|
46085
|
+
* @param {*} [options] Override http request option.
|
|
46086
|
+
* @throws {RequiredError}
|
|
46087
|
+
*/
|
|
46088
|
+
emailVenueGiftCard: (businessId: number, cardId: string, xIdempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45867
46089
|
/**
|
|
45868
46090
|
* The card with every movement of its balance and its latest block, unblock and activation by hand, oldest first. Three statements; nothing is written.
|
|
45869
46091
|
* @summary Read one of a store\'s gift cards with its history
|
|
@@ -45928,6 +46150,16 @@ export declare const GiftCardsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
45928
46150
|
* @throws {RequiredError}
|
|
45929
46151
|
*/
|
|
45930
46152
|
unblockVenueGiftCard: (businessId: number, cardId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46153
|
+
/**
|
|
46154
|
+
* Saves the address, or removes it with null; who did it and when show in the card\'s history as EMAIL_CHANGED. Nothing is sent: send the card again to email the new address.
|
|
46155
|
+
* @summary Correct a gift card\'s email address
|
|
46156
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
46157
|
+
* @param {string} cardId The card\'s id
|
|
46158
|
+
* @param {UpdateVenueGiftCardDto} updateVenueGiftCardDto
|
|
46159
|
+
* @param {*} [options] Override http request option.
|
|
46160
|
+
* @throws {RequiredError}
|
|
46161
|
+
*/
|
|
46162
|
+
updateVenueGiftCard: (businessId: number, cardId: string, updateVenueGiftCardDto: UpdateVenueGiftCardDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45931
46163
|
/**
|
|
45932
46164
|
* Changes the fields sent and keeps the others; null clears validityMonths (cards never expire), cardText or imageUrl. With the Till channel off, the store\'s till refuses to sell, validate or redeem a card (1012). Of two changes at once the last to commit wins whole.
|
|
45933
46165
|
* @summary Change a store\'s gift card settings
|
|
@@ -45972,6 +46204,16 @@ export declare const GiftCardsApiFp: (configuration?: Configuration) => {
|
|
|
45972
46204
|
* @throws {RequiredError}
|
|
45973
46205
|
*/
|
|
45974
46206
|
createVenueGiftCard(businessId: number, createVenueGiftCardDto: CreateVenueGiftCardDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueGiftCardDetailDto>>;
|
|
46207
|
+
/**
|
|
46208
|
+
* Queues the card\'s email again, to the address the card has saved; it goes within the minute, its subject starting \"Again: \". Only an ACTIVE card with an address is sent, at most 3 times in a rolling hour. Who asked is stored. The answer is the card, its lastEmail the one queued.
|
|
46209
|
+
* @summary Send a gift card again to its saved email address
|
|
46210
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
46211
|
+
* @param {string} cardId The card\'s id
|
|
46212
|
+
* @param {string} [xIdempotencyKey] Client-generated UUID, one per press of Send again; 8 to 100 letters, digits, \'-\' or \'_\'. A repeat with the same key answers the card and queues nothing. Without the header every request queues an email.
|
|
46213
|
+
* @param {*} [options] Override http request option.
|
|
46214
|
+
* @throws {RequiredError}
|
|
46215
|
+
*/
|
|
46216
|
+
emailVenueGiftCard(businessId: number, cardId: string, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueGiftCardDetailDto>>;
|
|
45975
46217
|
/**
|
|
45976
46218
|
* The card with every movement of its balance and its latest block, unblock and activation by hand, oldest first. Three statements; nothing is written.
|
|
45977
46219
|
* @summary Read one of a store\'s gift cards with its history
|
|
@@ -46036,6 +46278,16 @@ export declare const GiftCardsApiFp: (configuration?: Configuration) => {
|
|
|
46036
46278
|
* @throws {RequiredError}
|
|
46037
46279
|
*/
|
|
46038
46280
|
unblockVenueGiftCard(businessId: number, cardId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueGiftCardDetailDto>>;
|
|
46281
|
+
/**
|
|
46282
|
+
* Saves the address, or removes it with null; who did it and when show in the card\'s history as EMAIL_CHANGED. Nothing is sent: send the card again to email the new address.
|
|
46283
|
+
* @summary Correct a gift card\'s email address
|
|
46284
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
46285
|
+
* @param {string} cardId The card\'s id
|
|
46286
|
+
* @param {UpdateVenueGiftCardDto} updateVenueGiftCardDto
|
|
46287
|
+
* @param {*} [options] Override http request option.
|
|
46288
|
+
* @throws {RequiredError}
|
|
46289
|
+
*/
|
|
46290
|
+
updateVenueGiftCard(businessId: number, cardId: string, updateVenueGiftCardDto: UpdateVenueGiftCardDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueGiftCardDetailDto>>;
|
|
46039
46291
|
/**
|
|
46040
46292
|
* Changes the fields sent and keeps the others; null clears validityMonths (cards never expire), cardText or imageUrl. With the Till channel off, the store\'s till refuses to sell, validate or redeem a card (1012). Of two changes at once the last to commit wins whole.
|
|
46041
46293
|
* @summary Change a store\'s gift card settings
|
|
@@ -46080,6 +46332,16 @@ export declare const GiftCardsApiFactory: (configuration?: Configuration, basePa
|
|
|
46080
46332
|
* @throws {RequiredError}
|
|
46081
46333
|
*/
|
|
46082
46334
|
createVenueGiftCard(businessId: number, createVenueGiftCardDto: CreateVenueGiftCardDto, xIdempotencyKey?: string, options?: any): AxiosPromise<VenueGiftCardDetailDto>;
|
|
46335
|
+
/**
|
|
46336
|
+
* Queues the card\'s email again, to the address the card has saved; it goes within the minute, its subject starting \"Again: \". Only an ACTIVE card with an address is sent, at most 3 times in a rolling hour. Who asked is stored. The answer is the card, its lastEmail the one queued.
|
|
46337
|
+
* @summary Send a gift card again to its saved email address
|
|
46338
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
46339
|
+
* @param {string} cardId The card\'s id
|
|
46340
|
+
* @param {string} [xIdempotencyKey] Client-generated UUID, one per press of Send again; 8 to 100 letters, digits, \'-\' or \'_\'. A repeat with the same key answers the card and queues nothing. Without the header every request queues an email.
|
|
46341
|
+
* @param {*} [options] Override http request option.
|
|
46342
|
+
* @throws {RequiredError}
|
|
46343
|
+
*/
|
|
46344
|
+
emailVenueGiftCard(businessId: number, cardId: string, xIdempotencyKey?: string, options?: any): AxiosPromise<VenueGiftCardDetailDto>;
|
|
46083
46345
|
/**
|
|
46084
46346
|
* The card with every movement of its balance and its latest block, unblock and activation by hand, oldest first. Three statements; nothing is written.
|
|
46085
46347
|
* @summary Read one of a store\'s gift cards with its history
|
|
@@ -46144,6 +46406,16 @@ export declare const GiftCardsApiFactory: (configuration?: Configuration, basePa
|
|
|
46144
46406
|
* @throws {RequiredError}
|
|
46145
46407
|
*/
|
|
46146
46408
|
unblockVenueGiftCard(businessId: number, cardId: string, options?: any): AxiosPromise<VenueGiftCardDetailDto>;
|
|
46409
|
+
/**
|
|
46410
|
+
* Saves the address, or removes it with null; who did it and when show in the card\'s history as EMAIL_CHANGED. Nothing is sent: send the card again to email the new address.
|
|
46411
|
+
* @summary Correct a gift card\'s email address
|
|
46412
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
46413
|
+
* @param {string} cardId The card\'s id
|
|
46414
|
+
* @param {UpdateVenueGiftCardDto} updateVenueGiftCardDto
|
|
46415
|
+
* @param {*} [options] Override http request option.
|
|
46416
|
+
* @throws {RequiredError}
|
|
46417
|
+
*/
|
|
46418
|
+
updateVenueGiftCard(businessId: number, cardId: string, updateVenueGiftCardDto: UpdateVenueGiftCardDto, options?: any): AxiosPromise<VenueGiftCardDetailDto>;
|
|
46147
46419
|
/**
|
|
46148
46420
|
* Changes the fields sent and keeps the others; null clears validityMonths (cards never expire), cardText or imageUrl. With the Till channel off, the store\'s till refuses to sell, validate or redeem a card (1012). Of two changes at once the last to commit wins whole.
|
|
46149
46421
|
* @summary Change a store\'s gift card settings
|
|
@@ -46192,6 +46464,17 @@ export interface GiftCardsApiInterface {
|
|
|
46192
46464
|
* @memberof GiftCardsApiInterface
|
|
46193
46465
|
*/
|
|
46194
46466
|
createVenueGiftCard(businessId: number, createVenueGiftCardDto: CreateVenueGiftCardDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<VenueGiftCardDetailDto>;
|
|
46467
|
+
/**
|
|
46468
|
+
* Queues the card\'s email again, to the address the card has saved; it goes within the minute, its subject starting \"Again: \". Only an ACTIVE card with an address is sent, at most 3 times in a rolling hour. Who asked is stored. The answer is the card, its lastEmail the one queued.
|
|
46469
|
+
* @summary Send a gift card again to its saved email address
|
|
46470
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
46471
|
+
* @param {string} cardId The card\'s id
|
|
46472
|
+
* @param {string} [xIdempotencyKey] Client-generated UUID, one per press of Send again; 8 to 100 letters, digits, \'-\' or \'_\'. A repeat with the same key answers the card and queues nothing. Without the header every request queues an email.
|
|
46473
|
+
* @param {*} [options] Override http request option.
|
|
46474
|
+
* @throws {RequiredError}
|
|
46475
|
+
* @memberof GiftCardsApiInterface
|
|
46476
|
+
*/
|
|
46477
|
+
emailVenueGiftCard(businessId: number, cardId: string, xIdempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<VenueGiftCardDetailDto>;
|
|
46195
46478
|
/**
|
|
46196
46479
|
* The card with every movement of its balance and its latest block, unblock and activation by hand, oldest first. Three statements; nothing is written.
|
|
46197
46480
|
* @summary Read one of a store\'s gift cards with its history
|
|
@@ -46262,6 +46545,17 @@ export interface GiftCardsApiInterface {
|
|
|
46262
46545
|
* @memberof GiftCardsApiInterface
|
|
46263
46546
|
*/
|
|
46264
46547
|
unblockVenueGiftCard(businessId: number, cardId: string, options?: AxiosRequestConfig): AxiosPromise<VenueGiftCardDetailDto>;
|
|
46548
|
+
/**
|
|
46549
|
+
* Saves the address, or removes it with null; who did it and when show in the card\'s history as EMAIL_CHANGED. Nothing is sent: send the card again to email the new address.
|
|
46550
|
+
* @summary Correct a gift card\'s email address
|
|
46551
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
46552
|
+
* @param {string} cardId The card\'s id
|
|
46553
|
+
* @param {UpdateVenueGiftCardDto} updateVenueGiftCardDto
|
|
46554
|
+
* @param {*} [options] Override http request option.
|
|
46555
|
+
* @throws {RequiredError}
|
|
46556
|
+
* @memberof GiftCardsApiInterface
|
|
46557
|
+
*/
|
|
46558
|
+
updateVenueGiftCard(businessId: number, cardId: string, updateVenueGiftCardDto: UpdateVenueGiftCardDto, options?: AxiosRequestConfig): AxiosPromise<VenueGiftCardDetailDto>;
|
|
46265
46559
|
/**
|
|
46266
46560
|
* Changes the fields sent and keeps the others; null clears validityMonths (cards never expire), cardText or imageUrl. With the Till channel off, the store\'s till refuses to sell, validate or redeem a card (1012). Of two changes at once the last to commit wins whole.
|
|
46267
46561
|
* @summary Change a store\'s gift card settings
|
|
@@ -46312,6 +46606,17 @@ export declare class GiftCardsApi extends BaseAPI implements GiftCardsApiInterfa
|
|
|
46312
46606
|
* @memberof GiftCardsApi
|
|
46313
46607
|
*/
|
|
46314
46608
|
createVenueGiftCard(businessId: number, createVenueGiftCardDto: CreateVenueGiftCardDto, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VenueGiftCardDetailDto, any, {}>>;
|
|
46609
|
+
/**
|
|
46610
|
+
* Queues the card\'s email again, to the address the card has saved; it goes within the minute, its subject starting \"Again: \". Only an ACTIVE card with an address is sent, at most 3 times in a rolling hour. Who asked is stored. The answer is the card, its lastEmail the one queued.
|
|
46611
|
+
* @summary Send a gift card again to its saved email address
|
|
46612
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
46613
|
+
* @param {string} cardId The card\'s id
|
|
46614
|
+
* @param {string} [xIdempotencyKey] Client-generated UUID, one per press of Send again; 8 to 100 letters, digits, \'-\' or \'_\'. A repeat with the same key answers the card and queues nothing. Without the header every request queues an email.
|
|
46615
|
+
* @param {*} [options] Override http request option.
|
|
46616
|
+
* @throws {RequiredError}
|
|
46617
|
+
* @memberof GiftCardsApi
|
|
46618
|
+
*/
|
|
46619
|
+
emailVenueGiftCard(businessId: number, cardId: string, xIdempotencyKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VenueGiftCardDetailDto, any, {}>>;
|
|
46315
46620
|
/**
|
|
46316
46621
|
* The card with every movement of its balance and its latest block, unblock and activation by hand, oldest first. Three statements; nothing is written.
|
|
46317
46622
|
* @summary Read one of a store\'s gift cards with its history
|
|
@@ -46382,6 +46687,17 @@ export declare class GiftCardsApi extends BaseAPI implements GiftCardsApiInterfa
|
|
|
46382
46687
|
* @memberof GiftCardsApi
|
|
46383
46688
|
*/
|
|
46384
46689
|
unblockVenueGiftCard(businessId: number, cardId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VenueGiftCardDetailDto, any, {}>>;
|
|
46690
|
+
/**
|
|
46691
|
+
* Saves the address, or removes it with null; who did it and when show in the card\'s history as EMAIL_CHANGED. Nothing is sent: send the card again to email the new address.
|
|
46692
|
+
* @summary Correct a gift card\'s email address
|
|
46693
|
+
* @param {number} businessId The store\'s orderingBusinessId
|
|
46694
|
+
* @param {string} cardId The card\'s id
|
|
46695
|
+
* @param {UpdateVenueGiftCardDto} updateVenueGiftCardDto
|
|
46696
|
+
* @param {*} [options] Override http request option.
|
|
46697
|
+
* @throws {RequiredError}
|
|
46698
|
+
* @memberof GiftCardsApi
|
|
46699
|
+
*/
|
|
46700
|
+
updateVenueGiftCard(businessId: number, cardId: string, updateVenueGiftCardDto: UpdateVenueGiftCardDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VenueGiftCardDetailDto, any, {}>>;
|
|
46385
46701
|
/**
|
|
46386
46702
|
* Changes the fields sent and keeps the others; null clears validityMonths (cards never expire), cardText or imageUrl. With the Till channel off, the store\'s till refuses to sell, validate or redeem a card (1012). Of two changes at once the last to commit wins whole.
|
|
46387
46703
|
* @summary Change a store\'s gift card settings
|