@munchi_oy/core 2.18.0 → 2.20.0
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 +105 -1
- 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 +113 -1
- package/package.json +15 -13
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -8749,6 +8749,24 @@ export interface GiftCardCredentialsViewDto {
|
|
|
8749
8749
|
*/
|
|
8750
8750
|
'uniquePosDeviceId': string | null;
|
|
8751
8751
|
}
|
|
8752
|
+
/**
|
|
8753
|
+
*
|
|
8754
|
+
* @export
|
|
8755
|
+
* @enum {string}
|
|
8756
|
+
*/
|
|
8757
|
+
export declare const GiftCardDesign: {
|
|
8758
|
+
readonly Photo: "photo";
|
|
8759
|
+
readonly Birthday: "birthday";
|
|
8760
|
+
readonly Thanks: "thanks";
|
|
8761
|
+
readonly Love: "love";
|
|
8762
|
+
readonly Congrats: "congrats";
|
|
8763
|
+
readonly Baby: "baby";
|
|
8764
|
+
readonly Food: "food";
|
|
8765
|
+
readonly Celebration: "celebration";
|
|
8766
|
+
readonly Holidays: "holidays";
|
|
8767
|
+
readonly JustBecause: "justBecause";
|
|
8768
|
+
};
|
|
8769
|
+
export type GiftCardDesign = typeof GiftCardDesign[keyof typeof GiftCardDesign];
|
|
8752
8770
|
/**
|
|
8753
8771
|
*
|
|
8754
8772
|
* @export
|
|
@@ -8849,7 +8867,7 @@ export interface GiftCardHistoryEventDto {
|
|
|
8849
8867
|
*/
|
|
8850
8868
|
'venueName': string | null;
|
|
8851
8869
|
/**
|
|
8852
|
-
* The till order it belongs to; null when none
|
|
8870
|
+
* The till order it belongs to: the one it was spent on, or, on a SOLD line, the POS order that sold the card; null when none
|
|
8853
8871
|
* @type {string}
|
|
8854
8872
|
* @memberof GiftCardHistoryEventDto
|
|
8855
8873
|
*/
|
|
@@ -8860,6 +8878,12 @@ export interface GiftCardHistoryEventDto {
|
|
|
8860
8878
|
* @memberof GiftCardHistoryEventDto
|
|
8861
8879
|
*/
|
|
8862
8880
|
'orderNumber'?: string | null;
|
|
8881
|
+
/**
|
|
8882
|
+
*
|
|
8883
|
+
* @type {GiftCardHistoryEventDtoPayment}
|
|
8884
|
+
* @memberof GiftCardHistoryEventDto
|
|
8885
|
+
*/
|
|
8886
|
+
'payment'?: GiftCardHistoryEventDtoPayment | null;
|
|
8863
8887
|
/**
|
|
8864
8888
|
* The address of an EMAILED, EMAIL_FAILED or EMAIL_CHANGED line; null for the others
|
|
8865
8889
|
* @type {string}
|
|
@@ -8885,6 +8909,37 @@ export interface GiftCardHistoryEventDto {
|
|
|
8885
8909
|
*/
|
|
8886
8910
|
'at': string;
|
|
8887
8911
|
}
|
|
8912
|
+
/**
|
|
8913
|
+
* How a SOLD line\'s sale was paid; null on every other line, and on a POS sale with no POS order (sold before cards kept their order)
|
|
8914
|
+
* @export
|
|
8915
|
+
* @interface GiftCardHistoryEventDtoPayment
|
|
8916
|
+
*/
|
|
8917
|
+
export interface GiftCardHistoryEventDtoPayment {
|
|
8918
|
+
/**
|
|
8919
|
+
* How the sale was paid: Card for a card sold online, which only a card payment of the card\'s value makes; for a POS sale, the methods of its POS order\'s payments, empty while that order is not paid, or its payments could not be read
|
|
8920
|
+
* @type {Array<PaymentMethod>}
|
|
8921
|
+
* @memberof GiftCardHistoryEventDtoPayment
|
|
8922
|
+
*/
|
|
8923
|
+
'methods': Array<PaymentMethod>;
|
|
8924
|
+
/**
|
|
8925
|
+
* The code of the online order that sold the card, as the buyer\'s receipt shows it; null for a POS sale, whose order is the line\'s orderId
|
|
8926
|
+
* @type {string}
|
|
8927
|
+
* @memberof GiftCardHistoryEventDtoPayment
|
|
8928
|
+
*/
|
|
8929
|
+
'onlineOrderCode': string | null;
|
|
8930
|
+
/**
|
|
8931
|
+
*
|
|
8932
|
+
* @type {PaymentProvider}
|
|
8933
|
+
* @memberof GiftCardHistoryEventDtoPayment
|
|
8934
|
+
*/
|
|
8935
|
+
'provider': PaymentProvider | null;
|
|
8936
|
+
/**
|
|
8937
|
+
* When it was paid, ISO 8601: for a POS sale, when its POS order was completed, which may be after the card was sold; online, when the card was made from the settled payment. Null while a POS order is not paid, or its payments could not be read
|
|
8938
|
+
* @type {string}
|
|
8939
|
+
* @memberof GiftCardHistoryEventDtoPayment
|
|
8940
|
+
*/
|
|
8941
|
+
'paidAt': string | null;
|
|
8942
|
+
}
|
|
8888
8943
|
/**
|
|
8889
8944
|
*
|
|
8890
8945
|
* @export
|
|
@@ -9566,6 +9621,37 @@ export interface GiftCardReportDtoSpent {
|
|
|
9566
9621
|
*/
|
|
9567
9622
|
'orderCount': number;
|
|
9568
9623
|
}
|
|
9624
|
+
/**
|
|
9625
|
+
*
|
|
9626
|
+
* @export
|
|
9627
|
+
* @interface GiftCardSalePaymentDto
|
|
9628
|
+
*/
|
|
9629
|
+
export interface GiftCardSalePaymentDto {
|
|
9630
|
+
/**
|
|
9631
|
+
* How the sale was paid: Card for a card sold online, which only a card payment of the card\'s value makes; for a POS sale, the methods of its POS order\'s payments, empty while that order is not paid, or its payments could not be read
|
|
9632
|
+
* @type {Array<PaymentMethod>}
|
|
9633
|
+
* @memberof GiftCardSalePaymentDto
|
|
9634
|
+
*/
|
|
9635
|
+
'methods': Array<PaymentMethod>;
|
|
9636
|
+
/**
|
|
9637
|
+
* The code of the online order that sold the card, as the buyer\'s receipt shows it; null for a POS sale, whose order is the line\'s orderId
|
|
9638
|
+
* @type {string}
|
|
9639
|
+
* @memberof GiftCardSalePaymentDto
|
|
9640
|
+
*/
|
|
9641
|
+
'onlineOrderCode': string | null;
|
|
9642
|
+
/**
|
|
9643
|
+
*
|
|
9644
|
+
* @type {PaymentProvider}
|
|
9645
|
+
* @memberof GiftCardSalePaymentDto
|
|
9646
|
+
*/
|
|
9647
|
+
'provider': PaymentProvider | null;
|
|
9648
|
+
/**
|
|
9649
|
+
* When it was paid, ISO 8601: for a POS sale, when its POS order was completed, which may be after the card was sold; online, when the card was made from the settled payment. Null while a POS order is not paid, or its payments could not be read
|
|
9650
|
+
* @type {string}
|
|
9651
|
+
* @memberof GiftCardSalePaymentDto
|
|
9652
|
+
*/
|
|
9653
|
+
'paidAt': string | null;
|
|
9654
|
+
}
|
|
9569
9655
|
/**
|
|
9570
9656
|
*
|
|
9571
9657
|
* @export
|
|
@@ -31390,6 +31476,18 @@ export interface SellGiftCardOnlineDto {
|
|
|
31390
31476
|
* @memberof SellGiftCardOnlineDto
|
|
31391
31477
|
*/
|
|
31392
31478
|
'sendAt'?: string;
|
|
31479
|
+
/**
|
|
31480
|
+
*
|
|
31481
|
+
* @type {PaymentProvider}
|
|
31482
|
+
* @memberof SellGiftCardOnlineDto
|
|
31483
|
+
*/
|
|
31484
|
+
'paymentProvider'?: PaymentProvider;
|
|
31485
|
+
/**
|
|
31486
|
+
*
|
|
31487
|
+
* @type {GiftCardDesign}
|
|
31488
|
+
* @memberof SellGiftCardOnlineDto
|
|
31489
|
+
*/
|
|
31490
|
+
'design'?: GiftCardDesign;
|
|
31393
31491
|
}
|
|
31394
31492
|
/**
|
|
31395
31493
|
* Who bought the card: its receipt goes to this email, and the card too when it is for them.
|
|
@@ -38540,6 +38638,12 @@ export interface VenueGiftCardDetailDto {
|
|
|
38540
38638
|
* @memberof VenueGiftCardDetailDto
|
|
38541
38639
|
*/
|
|
38542
38640
|
'language': GiftCardLanguage | null;
|
|
38641
|
+
/**
|
|
38642
|
+
*
|
|
38643
|
+
* @type {GiftCardDesign}
|
|
38644
|
+
* @memberof VenueGiftCardDetailDto
|
|
38645
|
+
*/
|
|
38646
|
+
'design': GiftCardDesign | null;
|
|
38543
38647
|
/**
|
|
38544
38648
|
* When the card\'s email is set to go, ISO 8601: a day the dashboard or the online buyer chose; null for at once
|
|
38545
38649
|
* @type {string}
|