perspectapi-ts-sdk 6.5.1 → 6.5.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/index.d.mts CHANGED
@@ -1442,6 +1442,7 @@ interface V2OrderCreateParams {
1442
1442
  customer_email?: string;
1443
1443
  site_user_id?: string;
1444
1444
  mode?: "payment" | "subscription";
1445
+ deferred_subscription_product_id?: string | number;
1445
1446
  metadata?: Record<string, string | number | boolean>;
1446
1447
  tax?: V2OrderTaxRequest;
1447
1448
  shipping_amount?: number;
package/dist/index.d.ts CHANGED
@@ -1442,6 +1442,7 @@ interface V2OrderCreateParams {
1442
1442
  customer_email?: string;
1443
1443
  site_user_id?: string;
1444
1444
  mode?: "payment" | "subscription";
1445
+ deferred_subscription_product_id?: string | number;
1445
1446
  metadata?: Record<string, string | number | boolean>;
1446
1447
  tax?: V2OrderTaxRequest;
1447
1448
  shipping_amount?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "perspectapi-ts-sdk",
3
- "version": "6.5.1",
3
+ "version": "6.5.3",
4
4
  "description": "TypeScript SDK for PerspectAPI - Cloudflare Workers compatible",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/v2/types.ts CHANGED
@@ -306,6 +306,7 @@ export interface V2OrderCreateParams {
306
306
  customer_email?: string;
307
307
  site_user_id?: string;
308
308
  mode?: "payment" | "subscription";
309
+ deferred_subscription_product_id?: string | number;
309
310
  metadata?: Record<string, string | number | boolean>;
310
311
  tax?: V2OrderTaxRequest;
311
312
  shipping_amount?: number;