@munchi_oy/core 2.18.0 → 2.19.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 +75 -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 +79 -1
- package/package.json +15 -13
- package/src/version.ts +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -8849,7 +8849,7 @@ export interface GiftCardHistoryEventDto {
|
|
|
8849
8849
|
*/
|
|
8850
8850
|
'venueName': string | null;
|
|
8851
8851
|
/**
|
|
8852
|
-
* The till order it belongs to; null when none
|
|
8852
|
+
* 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
8853
|
* @type {string}
|
|
8854
8854
|
* @memberof GiftCardHistoryEventDto
|
|
8855
8855
|
*/
|
|
@@ -8860,6 +8860,12 @@ export interface GiftCardHistoryEventDto {
|
|
|
8860
8860
|
* @memberof GiftCardHistoryEventDto
|
|
8861
8861
|
*/
|
|
8862
8862
|
'orderNumber'?: string | null;
|
|
8863
|
+
/**
|
|
8864
|
+
*
|
|
8865
|
+
* @type {GiftCardHistoryEventDtoPayment}
|
|
8866
|
+
* @memberof GiftCardHistoryEventDto
|
|
8867
|
+
*/
|
|
8868
|
+
'payment'?: GiftCardHistoryEventDtoPayment | null;
|
|
8863
8869
|
/**
|
|
8864
8870
|
* The address of an EMAILED, EMAIL_FAILED or EMAIL_CHANGED line; null for the others
|
|
8865
8871
|
* @type {string}
|
|
@@ -8885,6 +8891,37 @@ export interface GiftCardHistoryEventDto {
|
|
|
8885
8891
|
*/
|
|
8886
8892
|
'at': string;
|
|
8887
8893
|
}
|
|
8894
|
+
/**
|
|
8895
|
+
* 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)
|
|
8896
|
+
* @export
|
|
8897
|
+
* @interface GiftCardHistoryEventDtoPayment
|
|
8898
|
+
*/
|
|
8899
|
+
export interface GiftCardHistoryEventDtoPayment {
|
|
8900
|
+
/**
|
|
8901
|
+
* 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
|
|
8902
|
+
* @type {Array<PaymentMethod>}
|
|
8903
|
+
* @memberof GiftCardHistoryEventDtoPayment
|
|
8904
|
+
*/
|
|
8905
|
+
'methods': Array<PaymentMethod>;
|
|
8906
|
+
/**
|
|
8907
|
+
* 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
|
|
8908
|
+
* @type {string}
|
|
8909
|
+
* @memberof GiftCardHistoryEventDtoPayment
|
|
8910
|
+
*/
|
|
8911
|
+
'onlineOrderCode': string | null;
|
|
8912
|
+
/**
|
|
8913
|
+
*
|
|
8914
|
+
* @type {PaymentProvider}
|
|
8915
|
+
* @memberof GiftCardHistoryEventDtoPayment
|
|
8916
|
+
*/
|
|
8917
|
+
'provider': PaymentProvider | null;
|
|
8918
|
+
/**
|
|
8919
|
+
* 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
|
|
8920
|
+
* @type {string}
|
|
8921
|
+
* @memberof GiftCardHistoryEventDtoPayment
|
|
8922
|
+
*/
|
|
8923
|
+
'paidAt': string | null;
|
|
8924
|
+
}
|
|
8888
8925
|
/**
|
|
8889
8926
|
*
|
|
8890
8927
|
* @export
|
|
@@ -9566,6 +9603,37 @@ export interface GiftCardReportDtoSpent {
|
|
|
9566
9603
|
*/
|
|
9567
9604
|
'orderCount': number;
|
|
9568
9605
|
}
|
|
9606
|
+
/**
|
|
9607
|
+
*
|
|
9608
|
+
* @export
|
|
9609
|
+
* @interface GiftCardSalePaymentDto
|
|
9610
|
+
*/
|
|
9611
|
+
export interface GiftCardSalePaymentDto {
|
|
9612
|
+
/**
|
|
9613
|
+
* 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
|
|
9614
|
+
* @type {Array<PaymentMethod>}
|
|
9615
|
+
* @memberof GiftCardSalePaymentDto
|
|
9616
|
+
*/
|
|
9617
|
+
'methods': Array<PaymentMethod>;
|
|
9618
|
+
/**
|
|
9619
|
+
* 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
|
|
9620
|
+
* @type {string}
|
|
9621
|
+
* @memberof GiftCardSalePaymentDto
|
|
9622
|
+
*/
|
|
9623
|
+
'onlineOrderCode': string | null;
|
|
9624
|
+
/**
|
|
9625
|
+
*
|
|
9626
|
+
* @type {PaymentProvider}
|
|
9627
|
+
* @memberof GiftCardSalePaymentDto
|
|
9628
|
+
*/
|
|
9629
|
+
'provider': PaymentProvider | null;
|
|
9630
|
+
/**
|
|
9631
|
+
* 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
|
|
9632
|
+
* @type {string}
|
|
9633
|
+
* @memberof GiftCardSalePaymentDto
|
|
9634
|
+
*/
|
|
9635
|
+
'paidAt': string | null;
|
|
9636
|
+
}
|
|
9569
9637
|
/**
|
|
9570
9638
|
*
|
|
9571
9639
|
* @export
|
|
@@ -31390,6 +31458,12 @@ export interface SellGiftCardOnlineDto {
|
|
|
31390
31458
|
* @memberof SellGiftCardOnlineDto
|
|
31391
31459
|
*/
|
|
31392
31460
|
'sendAt'?: string;
|
|
31461
|
+
/**
|
|
31462
|
+
*
|
|
31463
|
+
* @type {PaymentProvider}
|
|
31464
|
+
* @memberof SellGiftCardOnlineDto
|
|
31465
|
+
*/
|
|
31466
|
+
'paymentProvider'?: PaymentProvider;
|
|
31393
31467
|
}
|
|
31394
31468
|
/**
|
|
31395
31469
|
* Who bought the card: its receipt goes to this email, and the card too when it is for them.
|