@salable/sdk 1.0.25 → 1.0.27
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
|
@@ -16536,7 +16536,7 @@ const GranteesItemRequestBuilderRequestsMetadata = {
|
|
|
16536
16536
|
/**
|
|
16537
16537
|
* Uri template for the request builder.
|
|
16538
16538
|
*/
|
|
16539
|
-
const GranteesRequestBuilderUriTemplate$1 = "{+baseurl}/api/grantees{?after*,before*,groupId*,limit*}";
|
|
16539
|
+
const GranteesRequestBuilderUriTemplate$1 = "{+baseurl}/api/grantees{?after*,before*,groupId*,limit*,search*}";
|
|
16540
16540
|
/**
|
|
16541
16541
|
* Metadata for all the navigation properties in the request builder.
|
|
16542
16542
|
*/
|
|
@@ -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
|
@@ -16538,7 +16538,7 @@ const GranteesItemRequestBuilderRequestsMetadata = {
|
|
|
16538
16538
|
/**
|
|
16539
16539
|
* Uri template for the request builder.
|
|
16540
16540
|
*/
|
|
16541
|
-
const GranteesRequestBuilderUriTemplate$1 = "{+baseurl}/api/grantees{?after*,before*,groupId*,limit*}";
|
|
16541
|
+
const GranteesRequestBuilderUriTemplate$1 = "{+baseurl}/api/grantees{?after*,before*,groupId*,limit*,search*}";
|
|
16542
16542
|
/**
|
|
16543
16543
|
* Metadata for all the navigation properties in the request builder.
|
|
16544
16544
|
*/
|
|
@@ -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
|
}
|
|
@@ -59,11 +59,12 @@ export interface GranteesRequestBuilderGetQueryParameters {
|
|
|
59
59
|
* The number of records returned in a response. Value between 1 and 100. Defaults to 25.
|
|
60
60
|
*/
|
|
61
61
|
limit?: string;
|
|
62
|
+
search?: string;
|
|
62
63
|
}
|
|
63
64
|
/**
|
|
64
65
|
* Uri template for the request builder.
|
|
65
66
|
*/
|
|
66
|
-
export declare const GranteesRequestBuilderUriTemplate = "{+baseurl}/api/grantees{?after*,before*,groupId*,limit*}";
|
|
67
|
+
export declare const GranteesRequestBuilderUriTemplate = "{+baseurl}/api/grantees{?after*,before*,groupId*,limit*,search*}";
|
|
67
68
|
/**
|
|
68
69
|
* Metadata for all the navigation properties in the request builder.
|
|
69
70
|
*/
|
|
@@ -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
|
*/
|