@paynow-gg/typescript-sdk 1.0.54 → 1.0.55
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/management.d.ts +25 -0
- package/dist/generated/management.d.ts.map +1 -1
- package/dist/generated/management.js.map +1 -1
- package/dist/generated/storefront.d.ts +3 -0
- package/dist/generated/storefront.d.ts.map +1 -1
- package/dist/generated/storefront.js.map +1 -1
- package/dist/generated/webhooks.d.ts +26 -2
- package/dist/generated/webhooks.d.ts.map +1 -1
- package/dist/generated/webhooks.js.map +1 -1
- package/package.json +1 -1
|
@@ -2621,6 +2621,7 @@ export interface components {
|
|
|
2621
2621
|
show_all_payment_methods_for_subscriptions: boolean;
|
|
2622
2622
|
store_tax_inclusive_pricing: boolean;
|
|
2623
2623
|
block_prepaid_cards: components["schemas"]["PrepaidCardsBlockingTypeDto"];
|
|
2624
|
+
promo_code_stacking_behavior: components["schemas"]["StorePromoCodeStackingBehaviorDto"];
|
|
2624
2625
|
adaptive_currency_enabled: boolean;
|
|
2625
2626
|
show_adaptive_currency_on_storefront: boolean;
|
|
2626
2627
|
};
|
|
@@ -3440,6 +3441,11 @@ export interface components {
|
|
|
3440
3441
|
/** Format: int32 */
|
|
3441
3442
|
order?: null | number;
|
|
3442
3443
|
};
|
|
3444
|
+
OrderCouponUsageDto: {
|
|
3445
|
+
coupon_id: components["schemas"]["FlakeId"];
|
|
3446
|
+
/** Format: int64 */
|
|
3447
|
+
usage_amount: number;
|
|
3448
|
+
};
|
|
3443
3449
|
/** @description Represents a customer order */
|
|
3444
3450
|
OrderDto: {
|
|
3445
3451
|
id: components["schemas"]["FlakeId"];
|
|
@@ -3463,7 +3469,11 @@ export interface components {
|
|
|
3463
3469
|
/** @description Signifies if the order is a subscription order */
|
|
3464
3470
|
readonly is_subscription: boolean;
|
|
3465
3471
|
coupon_id?: components["schemas"]["FlakeId"];
|
|
3472
|
+
/** @description Applied coupons to this order */
|
|
3473
|
+
applied_coupons: components["schemas"]["OrderCouponUsageDto"][];
|
|
3466
3474
|
giftcard_id?: components["schemas"]["FlakeId"];
|
|
3475
|
+
/** @description Applied gift cards to this order */
|
|
3476
|
+
applied_giftcards: components["schemas"]["OrderGiftCardUsageDto"][];
|
|
3467
3477
|
affiliate_id?: components["schemas"]["FlakeId"];
|
|
3468
3478
|
/**
|
|
3469
3479
|
* @description The billing name for this order
|
|
@@ -3628,6 +3638,11 @@ export interface components {
|
|
|
3628
3638
|
tax_jurisdictions?: null | components["schemas"]["SalesTaxJurisdictionDto"][];
|
|
3629
3639
|
last_payment_error?: components["schemas"]["LastPaymentErrorDto"];
|
|
3630
3640
|
};
|
|
3641
|
+
OrderGiftCardUsageDto: {
|
|
3642
|
+
giftcard_id: components["schemas"]["FlakeId"];
|
|
3643
|
+
/** Format: int64 */
|
|
3644
|
+
usage_amount: number;
|
|
3645
|
+
};
|
|
3631
3646
|
/** @description Represents an order line item in a customer's order */
|
|
3632
3647
|
OrderLineDto: {
|
|
3633
3648
|
id: components["schemas"]["FlakeId"];
|
|
@@ -5165,6 +5180,7 @@ export interface components {
|
|
|
5165
5180
|
/** @description Whether store pricing is tax-inclusive. */
|
|
5166
5181
|
store_tax_inclusive_pricing: boolean;
|
|
5167
5182
|
block_prepaid_cards: components["schemas"]["PrepaidCardsBlockingTypeDto"];
|
|
5183
|
+
promo_code_stacking_behavior: components["schemas"]["StorePromoCodeStackingBehaviorDto"];
|
|
5168
5184
|
/** @description Whether the 'Adaptive Currency' feature is enabled. */
|
|
5169
5185
|
adaptive_currency_enabled: boolean;
|
|
5170
5186
|
/** @description Whether the displayed currency on the storefront should be the Adaptive Currency by default. */
|
|
@@ -5190,6 +5206,11 @@ export interface components {
|
|
|
5190
5206
|
currency?: null | string;
|
|
5191
5207
|
tax_inclusive?: null | boolean;
|
|
5192
5208
|
};
|
|
5209
|
+
/**
|
|
5210
|
+
* @description Defines the behavior of promo code stacking.
|
|
5211
|
+
* @enum {string}
|
|
5212
|
+
*/
|
|
5213
|
+
StorePromoCodeStackingBehaviorDto: "invalid" | "disabled" | "enabled" | "gift_cards_only";
|
|
5193
5214
|
/**
|
|
5194
5215
|
* @description Determines the party that needs to perform or requests a verification
|
|
5195
5216
|
* @enum {string}
|
|
@@ -5514,8 +5535,11 @@ export interface components {
|
|
|
5514
5535
|
next_billing_presentment_amount: components["schemas"]["SubscriptionBillingAmountDto"];
|
|
5515
5536
|
status: components["schemas"]["SubscriptionStatus"];
|
|
5516
5537
|
coupon_id?: components["schemas"]["FlakeId"];
|
|
5538
|
+
/** @description Identifiers of coupons applied to this subscription. */
|
|
5539
|
+
coupon_ids: components["schemas"]["FlakeId"][];
|
|
5517
5540
|
/**
|
|
5518
5541
|
* Format: date-time
|
|
5542
|
+
* @deprecated
|
|
5519
5543
|
* @description Date when a repeating coupon ends for this subscription.
|
|
5520
5544
|
*/
|
|
5521
5545
|
coupon_repeating_ends_at?: null | string;
|
|
@@ -6249,6 +6273,7 @@ export interface components {
|
|
|
6249
6273
|
show_all_payment_methods_for_subscriptions?: boolean;
|
|
6250
6274
|
store_tax_inclusive_pricing?: boolean;
|
|
6251
6275
|
block_prepaid_cards?: components["schemas"]["PrepaidCardsBlockingTypeDto"];
|
|
6276
|
+
promo_code_stacking_behavior?: components["schemas"]["StorePromoCodeStackingBehaviorDto"];
|
|
6252
6277
|
adaptive_currency_enabled?: boolean;
|
|
6253
6278
|
show_adaptive_currency_on_storefront?: boolean;
|
|
6254
6279
|
};
|