@paynow-gg/typescript-sdk 1.0.60 → 1.0.61
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 +5 -7
- package/dist/generated/management.d.ts.map +1 -1
- package/dist/generated/management.js.map +1 -1
- package/dist/generated/storefront.d.ts +10 -8
- package/dist/generated/storefront.d.ts.map +1 -1
- package/dist/generated/storefront.js.map +1 -1
- package/package.json +1 -1
|
@@ -2522,14 +2522,12 @@ export interface components {
|
|
|
2522
2522
|
CreateCheckoutSessionManagementDto: {
|
|
2523
2523
|
/** @description The line items to include in the checkout */
|
|
2524
2524
|
lines: components["schemas"]["CreateCheckoutSessionLineManagementDto"][];
|
|
2525
|
-
/**
|
|
2526
|
-
* @deprecated
|
|
2527
|
-
* @description Whether this checkout creates a subscription.
|
|
2528
|
-
* DEPRECATED: Use 'subscription' field in 'lines' array objects instead.
|
|
2529
|
-
*/
|
|
2530
|
-
subscription?: null | boolean;
|
|
2531
2525
|
coupon_id?: components["schemas"]["FlakeId"];
|
|
2532
|
-
/** @description Optional
|
|
2526
|
+
/** @description Optional array of promo codes (coupons, gift cards, affiliates) to apply.
|
|
2527
|
+
* An invalid promo code will cause an error. */
|
|
2528
|
+
promo_codes?: null | string[];
|
|
2529
|
+
/** @description Optional affiliate code to track referrals.
|
|
2530
|
+
* An invalid affiliate code will NOT cause an error. */
|
|
2533
2531
|
affiliate_code?: null | string;
|
|
2534
2532
|
/** @description Optional URL to redirect to after successful checkout */
|
|
2535
2533
|
return_url?: null | string;
|