@salable/sdk 1.0.56 → 1.0.58
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.
|
@@ -5,7 +5,7 @@ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInforma
|
|
|
5
5
|
*/
|
|
6
6
|
export interface CheckRequestBuilder extends BaseRequestBuilder<CheckRequestBuilder> {
|
|
7
7
|
/**
|
|
8
|
-
* Unlock features in your product by checking what the grantee has access to.
|
|
8
|
+
* Unlock features in your product by checking what the grantee has access to. When an owner is provided, relevant meter and token slugs are included as typed entries.
|
|
9
9
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
10
10
|
* @returns {Promise<CheckEntitlementsSchema>}
|
|
11
11
|
* @throws {ErrorResponseBody} error when the service returns a 400 status code
|
|
@@ -17,14 +17,14 @@ export interface CheckRequestBuilder extends BaseRequestBuilder<CheckRequestBuil
|
|
|
17
17
|
*/
|
|
18
18
|
get(requestConfiguration?: RequestConfiguration<CheckRequestBuilderGetQueryParameters> | undefined): Promise<CheckEntitlementsSchema | undefined>;
|
|
19
19
|
/**
|
|
20
|
-
* Unlock features in your product by checking what the grantee has access to.
|
|
20
|
+
* Unlock features in your product by checking what the grantee has access to. When an owner is provided, relevant meter and token slugs are included as typed entries.
|
|
21
21
|
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
|
|
22
22
|
* @returns {RequestInformation}
|
|
23
23
|
*/
|
|
24
24
|
toGetRequestInformation(requestConfiguration?: RequestConfiguration<CheckRequestBuilderGetQueryParameters> | undefined): RequestInformation;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* Unlock features in your product by checking what the grantee has access to.
|
|
27
|
+
* Unlock features in your product by checking what the grantee has access to. When an owner is provided, relevant meter and token slugs are included as typed entries.
|
|
28
28
|
*/
|
|
29
29
|
export interface CheckRequestBuilderGetQueryParameters {
|
|
30
30
|
granteeId?: string;
|
|
@@ -100,11 +100,11 @@ export declare function serializeSubscriptionsPostResponse(writer: Serialization
|
|
|
100
100
|
export declare function serializeSubscriptionsPostResponse_data(writer: SerializationWriter, subscriptionsPostResponse_data?: Partial<SubscriptionsPostResponse_data> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
101
101
|
export interface SubscriptionsPostRequestBody extends Parsable {
|
|
102
102
|
/**
|
|
103
|
-
* When `true`, the subscription will be cancelled at the end of the current billing period rather than renewing.
|
|
103
|
+
* When `true`, the subscription will be cancelled at the end of the current billing period rather than renewing. Required and must be `true` when `expiryDate` is provided without an `interval`.
|
|
104
104
|
*/
|
|
105
105
|
cancelAtPeriodEnd?: boolean | null;
|
|
106
106
|
/**
|
|
107
|
-
* A
|
|
107
|
+
* A future date on which the subscription period ends. When `interval` is omitted, `cancelAtPeriodEnd` must be `true`. Cannot be used together with `isPerpetual`.
|
|
108
108
|
*/
|
|
109
109
|
expiryDate?: Date | null;
|
|
110
110
|
/**
|