@salable/sdk 1.0.25 → 1.0.26

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.es.js CHANGED
@@ -19311,7 +19311,6 @@ function serializeSubscriptionsPostRequestBody(writer, subscriptionsPostRequestB
19311
19311
  }
19312
19312
  writer.writeBooleanValue("cancelAtPeriodEnd", subscriptionsPostRequestBody.cancelAtPeriodEnd);
19313
19313
  writer.writeDateValue("expiryDate", subscriptionsPostRequestBody.expiryDate);
19314
- writer.writeStringValue("grantee", subscriptionsPostRequestBody.grantee);
19315
19314
  writer.writeEnumValue("interval", subscriptionsPostRequestBody.interval);
19316
19315
  writer.writeNumberValue("intervalCount", subscriptionsPostRequestBody.intervalCount);
19317
19316
  writer.writeBooleanValue("isPerpetual", subscriptionsPostRequestBody.isPerpetual);
@@ -19329,6 +19328,7 @@ function serializeSubscriptionsPostRequestBody_plans(writer, subscriptionsPostRe
19329
19328
  if (!subscriptionsPostRequestBody_plans || isSerializingDerivedType) {
19330
19329
  return;
19331
19330
  }
19331
+ writer.writeStringValue("grantee", subscriptionsPostRequestBody_plans.grantee);
19332
19332
  writer.writeObjectValue("metadata", subscriptionsPostRequestBody_plans.metadata, serializeSubscriptionsPostRequestBody_plans_metadata);
19333
19333
  writer.writeStringValue("planId", subscriptionsPostRequestBody_plans.planId);
19334
19334
  }
package/dist/index.js CHANGED
@@ -19313,7 +19313,6 @@ function serializeSubscriptionsPostRequestBody(writer, subscriptionsPostRequestB
19313
19313
  }
19314
19314
  writer.writeBooleanValue("cancelAtPeriodEnd", subscriptionsPostRequestBody.cancelAtPeriodEnd);
19315
19315
  writer.writeDateValue("expiryDate", subscriptionsPostRequestBody.expiryDate);
19316
- writer.writeStringValue("grantee", subscriptionsPostRequestBody.grantee);
19317
19316
  writer.writeEnumValue("interval", subscriptionsPostRequestBody.interval);
19318
19317
  writer.writeNumberValue("intervalCount", subscriptionsPostRequestBody.intervalCount);
19319
19318
  writer.writeBooleanValue("isPerpetual", subscriptionsPostRequestBody.isPerpetual);
@@ -19331,6 +19330,7 @@ function serializeSubscriptionsPostRequestBody_plans(writer, subscriptionsPostRe
19331
19330
  if (!subscriptionsPostRequestBody_plans || isSerializingDerivedType) {
19332
19331
  return;
19333
19332
  }
19333
+ writer.writeStringValue("grantee", subscriptionsPostRequestBody_plans.grantee);
19334
19334
  writer.writeObjectValue("metadata", subscriptionsPostRequestBody_plans.metadata, serializeSubscriptionsPostRequestBody_plans_metadata);
19335
19335
  writer.writeStringValue("planId", subscriptionsPostRequestBody_plans.planId);
19336
19336
  }
@@ -107,10 +107,6 @@ export interface SubscriptionsPostRequestBody extends Parsable {
107
107
  * A fixed date on which the subscription expires. Cannot be used together with `isPerpetual`.
108
108
  */
109
109
  expiryDate?: Date | null;
110
- /**
111
- * A grantee is any entity that receives access to features or entitlements through a Subscription. These can represent users, teams, projects, boards, workspaces, or any other entity in your application that needs feature access.
112
- */
113
- grantee?: string | null;
114
110
  /**
115
111
  * The billing interval for the subscription. One of `day`, `week`, `month`, `year`.
116
112
  */
@@ -134,6 +130,10 @@ export interface SubscriptionsPostRequestBody extends Parsable {
134
130
  }
135
131
  export type SubscriptionsPostRequestBody_interval = (typeof SubscriptionsPostRequestBody_intervalObject)[keyof typeof SubscriptionsPostRequestBody_intervalObject];
136
132
  export interface SubscriptionsPostRequestBody_plans extends Parsable {
133
+ /**
134
+ * A grantee is any entity that receives access to features or entitlements through a Subscription. These can represent users, teams, projects, boards, workspaces, or any other entity in your application that needs feature access.
135
+ */
136
+ grantee?: string | null;
137
137
  /**
138
138
  * Per-line-item quantity overrides, keyed by line item slug. Only applicable to non-metered line items with a maxQuantity more than 1.
139
139
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salable/sdk",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",