@salable/sdk 1.0.37 → 1.0.39

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.
@@ -9,7 +9,7 @@ export interface CheckoutPostRequestBody extends Parsable {
9
9
  */
10
10
  automaticTax?: boolean | null;
11
11
  /**
12
- * The URL to redirect the customer to if they cancel the checkout. If not provided, falls back to the product default setting.
12
+ * The URL to redirect the customer to if they cancel the checkout. If not provided, falls back to the product default setting, then the Salable-hosted cancel page.
13
13
  */
14
14
  cancelUrl?: string | null;
15
15
  /**
@@ -65,7 +65,7 @@ export interface CheckoutPostRequestBody extends Parsable {
65
65
  */
66
66
  planId?: string | null;
67
67
  /**
68
- * The URL to redirect the customer to after successful payment. If not provided, falls back to the product default setting.
68
+ * The URL to redirect the customer to after successful payment. If not provided, falls back to the product default setting, then the Salable-hosted success page.
69
69
  */
70
70
  successUrl?: string | null;
71
71
  /**
@@ -26,6 +26,7 @@ import { type SubscriptionPlansRequestBuilder } from './subscriptionPlans/index.
26
26
  import { type SubscriptionsRequestBuilder } from './subscriptions/index.js';
27
27
  import { type TiersRequestBuilder } from './tiers/index.js';
28
28
  import { type TierTagsRequestBuilder } from './tierTags/index.js';
29
+ import { type TokensRequestBuilder } from './tokens/index.js';
29
30
  import { type UsageRequestBuilder } from './usage/index.js';
30
31
  import { type UsageRecordsRequestBuilder } from './usageRecords/index.js';
31
32
  import { type WebhooksRequestBuilder } from './webhooks/index.js';
@@ -146,6 +147,10 @@ export interface ApiRequestBuilder extends BaseRequestBuilder<ApiRequestBuilder>
146
147
  * The tierTags property
147
148
  */
148
149
  get tierTags(): TierTagsRequestBuilder;
150
+ /**
151
+ * The tokens property
152
+ */
153
+ get tokens(): TokensRequestBuilder;
149
154
  /**
150
155
  * The usage property
151
156
  */
@@ -0,0 +1,51 @@
1
+ import { type GetTokenBalanceListSchema } from '../../../models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /api/tokens/balance
5
+ */
6
+ export interface BalanceRequestBuilder extends BaseRequestBuilder<BalanceRequestBuilder> {
7
+ /**
8
+ * Get the token balance for a specific owner, optionally filtered by token slug or source.
9
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
10
+ * @returns {Promise<GetTokenBalanceListSchema>}
11
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
12
+ * @throws {ErrorResponseBody} error when the service returns a 401 status code
13
+ * @throws {ErrorResponseBody} error when the service returns a 403 status code
14
+ * @throws {ErrorResponseBody} error when the service returns a 404 status code
15
+ * @throws {ErrorResponseBody} error when the service returns a 405 status code
16
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
17
+ * @throws {ErrorResponseBody} error when the service returns a 500 status code
18
+ */
19
+ get(requestConfiguration?: RequestConfiguration<BalanceRequestBuilderGetQueryParameters> | undefined): Promise<GetTokenBalanceListSchema | undefined>;
20
+ /**
21
+ * Get the token balance for a specific owner, optionally filtered by token slug or source.
22
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
23
+ * @returns {RequestInformation}
24
+ */
25
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<BalanceRequestBuilderGetQueryParameters> | undefined): RequestInformation;
26
+ }
27
+ /**
28
+ * Get the token balance for a specific owner, optionally filtered by token slug or source.
29
+ */
30
+ export interface BalanceRequestBuilderGetQueryParameters {
31
+ /**
32
+ * Owner value to retrieve the active token balances for.
33
+ */
34
+ owner?: string;
35
+ /**
36
+ * Receipt item or Subscription plan line item ID to retrieve the token balance for.
37
+ */
38
+ source?: string;
39
+ /**
40
+ * Token slug to retrieve the balance for. If omitted all tokens will be returned for the specified owner.
41
+ */
42
+ token?: string;
43
+ }
44
+ /**
45
+ * Uri template for the request builder.
46
+ */
47
+ export declare const BalanceRequestBuilderUriTemplate = "{+baseurl}/api/tokens/balance?owner={owner}{&source*,token*}";
48
+ /**
49
+ * Metadata for all the requests in the request builder.
50
+ */
51
+ export declare const BalanceRequestBuilderRequestsMetadata: RequestsMetadata;
@@ -0,0 +1,36 @@
1
+ import { type ConsumeTokenRequestSchema } from '../../../models/index.js';
2
+ import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
3
+ /**
4
+ * Builds and executes requests for operations under /api/tokens/consume
5
+ */
6
+ export interface ConsumeRequestBuilder extends BaseRequestBuilder<ConsumeRequestBuilder> {
7
+ /**
8
+ * Consume a specified amount of tokens for an owner. Supports idempotency keys to prevent duplicate consumption.
9
+ * @param body The request body
10
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
12
+ * @throws {ErrorResponseBody} error when the service returns a 401 status code
13
+ * @throws {ErrorResponseBody} error when the service returns a 403 status code
14
+ * @throws {ErrorResponseBody} error when the service returns a 405 status code
15
+ * @throws {ErrorResponseBody} error when the service returns a 409 status code
16
+ * @throws {ErrorResponseBody} error when the service returns a 422 status code
17
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
18
+ * @throws {ErrorResponseBody} error when the service returns a 500 status code
19
+ */
20
+ post(body: ConsumeTokenRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
21
+ /**
22
+ * Consume a specified amount of tokens for an owner. Supports idempotency keys to prevent duplicate consumption.
23
+ * @param body The request body
24
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
25
+ * @returns {RequestInformation}
26
+ */
27
+ toPostRequestInformation(body: ConsumeTokenRequestSchema, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
28
+ }
29
+ /**
30
+ * Uri template for the request builder.
31
+ */
32
+ export declare const ConsumeRequestBuilderUriTemplate = "{+baseurl}/api/tokens/consume";
33
+ /**
34
+ * Metadata for all the requests in the request builder.
35
+ */
36
+ export declare const ConsumeRequestBuilderRequestsMetadata: RequestsMetadata;
@@ -0,0 +1,67 @@
1
+ import { type GetTokensListSchema } from '../../models/index.js';
2
+ import { type BalanceRequestBuilder } from './balance/index.js';
3
+ import { type ConsumeRequestBuilder } from './consume/index.js';
4
+ import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
5
+ /**
6
+ * Builds and executes requests for operations under /api/tokens
7
+ */
8
+ export interface TokensRequestBuilder extends BaseRequestBuilder<TokensRequestBuilder> {
9
+ /**
10
+ * The balance property
11
+ */
12
+ get balance(): BalanceRequestBuilder;
13
+ /**
14
+ * The consume property
15
+ */
16
+ get consume(): ConsumeRequestBuilder;
17
+ /**
18
+ * Returns a list of your tokens. The tokens are returned sorted by `createdAt`, with the most recently created tokens appearing first.
19
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
20
+ * @returns {Promise<GetTokensListSchema>}
21
+ * @throws {ErrorResponseBody} error when the service returns a 400 status code
22
+ * @throws {ErrorResponseBody} error when the service returns a 401 status code
23
+ * @throws {ErrorResponseBody} error when the service returns a 405 status code
24
+ * @throws {ErrorResponseBody} error when the service returns a 429 status code
25
+ * @throws {ErrorResponseBody} error when the service returns a 500 status code
26
+ */
27
+ get(requestConfiguration?: RequestConfiguration<TokensRequestBuilderGetQueryParameters> | undefined): Promise<GetTokensListSchema | undefined>;
28
+ /**
29
+ * Returns a list of your tokens. The tokens are returned sorted by `createdAt`, with the most recently created tokens appearing first.
30
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
31
+ * @returns {RequestInformation}
32
+ */
33
+ toGetRequestInformation(requestConfiguration?: RequestConfiguration<TokensRequestBuilderGetQueryParameters> | undefined): RequestInformation;
34
+ }
35
+ /**
36
+ * Returns a list of your tokens. The tokens are returned sorted by `createdAt`, with the most recently created tokens appearing first.
37
+ */
38
+ export interface TokensRequestBuilderGetQueryParameters {
39
+ /**
40
+ * Return records after this cursor for forward pagination. Use the `nextCursor` from a previous response.
41
+ */
42
+ after?: string;
43
+ /**
44
+ * Return records before this cursor for backwards pagination. Use the `previousCursor` from a previous response.
45
+ */
46
+ before?: string;
47
+ /**
48
+ * The number of records returned in a response. Value between 1 and 100. Defaults to 25.
49
+ */
50
+ limit?: string;
51
+ /**
52
+ * Filter tokens by slug.
53
+ */
54
+ search?: string;
55
+ }
56
+ /**
57
+ * Uri template for the request builder.
58
+ */
59
+ export declare const TokensRequestBuilderUriTemplate = "{+baseurl}/api/tokens{?after*,before*,limit*,search*}";
60
+ /**
61
+ * Metadata for all the navigation properties in the request builder.
62
+ */
63
+ export declare const TokensRequestBuilderNavigationMetadata: Record<Exclude<keyof TokensRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
64
+ /**
65
+ * Metadata for all the requests in the request builder.
66
+ */
67
+ export declare const TokensRequestBuilderRequestsMetadata: RequestsMetadata;
@@ -208,6 +208,20 @@ export interface CheckEntitlementsSchema_data_entitlements extends AdditionalDat
208
208
  value?: string | null;
209
209
  }
210
210
  export type CheckEntitlementsSchema_data_entitlements_type = string;
211
+ export interface ConsumeTokenRequestSchema extends Parsable {
212
+ /**
213
+ * The amount of tokens to consume.
214
+ */
215
+ amount?: number | null;
216
+ /**
217
+ * Owner value to consume tokens for.
218
+ */
219
+ owner?: string | null;
220
+ /**
221
+ * Token slug to consume tokens for.
222
+ */
223
+ token?: string | null;
224
+ }
211
225
  export interface CopyProductToLiveModeRequestSchema extends Parsable {
212
226
  /**
213
227
  * The ID of the test mode product to copy to live mode.
@@ -486,6 +500,12 @@ export declare function createCheckEntitlementsSchema_dataFromDiscriminatorValue
486
500
  * @returns {CheckEntitlementsSchema}
487
501
  */
488
502
  export declare function createCheckEntitlementsSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
503
+ /**
504
+ * Creates a new instance of the appropriate class based on discriminator value
505
+ * @param parseNode The parse node to use to read the discriminator value and create the object
506
+ * @returns {ConsumeTokenRequestSchema}
507
+ */
508
+ export declare function createConsumeTokenRequestSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
489
509
  /**
490
510
  * Creates a new instance of the appropriate class based on discriminator value
491
511
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -2510,6 +2530,48 @@ export declare function createGetTierTagsListSchema_dataFromDiscriminatorValue(p
2510
2530
  * @returns {GetTierTagsListSchema}
2511
2531
  */
2512
2532
  export declare function createGetTierTagsListSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2533
+ /**
2534
+ * Creates a new instance of the appropriate class based on discriminator value
2535
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2536
+ * @returns {string}
2537
+ */
2538
+ export declare function createGetTokenBalanceListSchema_data_records_source_typeFromDiscriminatorValue(parseNode: ParseNode | undefined): string | undefined;
2539
+ /**
2540
+ * Creates a new instance of the appropriate class based on discriminator value
2541
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2542
+ * @returns {GetTokenBalanceListSchema_data_records_source}
2543
+ */
2544
+ export declare function createGetTokenBalanceListSchema_data_records_sourceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2545
+ /**
2546
+ * Creates a new instance of the appropriate class based on discriminator value
2547
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2548
+ * @returns {GetTokenBalanceListSchema_data_records}
2549
+ */
2550
+ export declare function createGetTokenBalanceListSchema_data_recordsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2551
+ /**
2552
+ * Creates a new instance of the appropriate class based on discriminator value
2553
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2554
+ * @returns {GetTokenBalanceListSchema_data}
2555
+ */
2556
+ export declare function createGetTokenBalanceListSchema_dataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2557
+ /**
2558
+ * Creates a new instance of the appropriate class based on discriminator value
2559
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2560
+ * @returns {GetTokenBalanceListSchema}
2561
+ */
2562
+ export declare function createGetTokenBalanceListSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2563
+ /**
2564
+ * Creates a new instance of the appropriate class based on discriminator value
2565
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2566
+ * @returns {GetTokensListSchema_data}
2567
+ */
2568
+ export declare function createGetTokensListSchema_dataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2569
+ /**
2570
+ * Creates a new instance of the appropriate class based on discriminator value
2571
+ * @param parseNode The parse node to use to read the discriminator value and create the object
2572
+ * @returns {GetTokensListSchema}
2573
+ */
2574
+ export declare function createGetTokensListSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
2513
2575
  /**
2514
2576
  * Creates a new instance of the appropriate class based on discriminator value
2515
2577
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3471,6 +3533,12 @@ export declare function deserializeIntoCheckEntitlementsSchema_data(checkEntitle
3471
3533
  * @returns {Record<string, (node: ParseNode) => void>}
3472
3534
  */
3473
3535
  export declare function deserializeIntoCheckEntitlementsSchema_data_entitlements(checkEntitlementsSchema_data_entitlements?: Partial<CheckEntitlementsSchema_data_entitlements> | undefined): Record<string, (node: ParseNode) => void>;
3536
+ /**
3537
+ * The deserialization information for the current model
3538
+ * @param ConsumeTokenRequestSchema The instance to deserialize into.
3539
+ * @returns {Record<string, (node: ParseNode) => void>}
3540
+ */
3541
+ export declare function deserializeIntoConsumeTokenRequestSchema(consumeTokenRequestSchema?: Partial<ConsumeTokenRequestSchema> | undefined): Record<string, (node: ParseNode) => void>;
3474
3542
  /**
3475
3543
  * The deserialization information for the current model
3476
3544
  * @param CopyProductToLiveModeRequestSchema The instance to deserialize into.
@@ -5379,6 +5447,42 @@ export declare function deserializeIntoGetTierTagsListSchema(getTierTagsListSche
5379
5447
  * @returns {Record<string, (node: ParseNode) => void>}
5380
5448
  */
5381
5449
  export declare function deserializeIntoGetTierTagsListSchema_data(getTierTagsListSchema_data?: Partial<GetTierTagsListSchema_data> | undefined): Record<string, (node: ParseNode) => void>;
5450
+ /**
5451
+ * The deserialization information for the current model
5452
+ * @param GetTokenBalanceListSchema The instance to deserialize into.
5453
+ * @returns {Record<string, (node: ParseNode) => void>}
5454
+ */
5455
+ export declare function deserializeIntoGetTokenBalanceListSchema(getTokenBalanceListSchema?: Partial<GetTokenBalanceListSchema> | undefined): Record<string, (node: ParseNode) => void>;
5456
+ /**
5457
+ * The deserialization information for the current model
5458
+ * @param GetTokenBalanceListSchema_data The instance to deserialize into.
5459
+ * @returns {Record<string, (node: ParseNode) => void>}
5460
+ */
5461
+ export declare function deserializeIntoGetTokenBalanceListSchema_data(getTokenBalanceListSchema_data?: Partial<GetTokenBalanceListSchema_data> | undefined): Record<string, (node: ParseNode) => void>;
5462
+ /**
5463
+ * The deserialization information for the current model
5464
+ * @param GetTokenBalanceListSchema_data_records The instance to deserialize into.
5465
+ * @returns {Record<string, (node: ParseNode) => void>}
5466
+ */
5467
+ export declare function deserializeIntoGetTokenBalanceListSchema_data_records(getTokenBalanceListSchema_data_records?: Partial<GetTokenBalanceListSchema_data_records> | undefined): Record<string, (node: ParseNode) => void>;
5468
+ /**
5469
+ * The deserialization information for the current model
5470
+ * @param GetTokenBalanceListSchema_data_records_source The instance to deserialize into.
5471
+ * @returns {Record<string, (node: ParseNode) => void>}
5472
+ */
5473
+ export declare function deserializeIntoGetTokenBalanceListSchema_data_records_source(getTokenBalanceListSchema_data_records_source?: Partial<GetTokenBalanceListSchema_data_records_source> | undefined): Record<string, (node: ParseNode) => void>;
5474
+ /**
5475
+ * The deserialization information for the current model
5476
+ * @param GetTokensListSchema The instance to deserialize into.
5477
+ * @returns {Record<string, (node: ParseNode) => void>}
5478
+ */
5479
+ export declare function deserializeIntoGetTokensListSchema(getTokensListSchema?: Partial<GetTokensListSchema> | undefined): Record<string, (node: ParseNode) => void>;
5480
+ /**
5481
+ * The deserialization information for the current model
5482
+ * @param GetTokensListSchema_data The instance to deserialize into.
5483
+ * @returns {Record<string, (node: ParseNode) => void>}
5484
+ */
5485
+ export declare function deserializeIntoGetTokensListSchema_data(getTokensListSchema_data?: Partial<GetTokensListSchema_data> | undefined): Record<string, (node: ParseNode) => void>;
5382
5486
  /**
5383
5487
  * The deserialization information for the current model
5384
5488
  * @param GetUsageListSchema The instance to deserialize into.
@@ -13125,6 +13229,111 @@ export interface GetTierTagsListSchema_data extends Parsable {
13125
13229
  */
13126
13230
  updatedAt?: string | null;
13127
13231
  }
13232
+ export interface GetTokenBalanceListSchema extends Parsable {
13233
+ /**
13234
+ * The data property
13235
+ */
13236
+ data?: GetTokenBalanceListSchema_data[] | null;
13237
+ /**
13238
+ * The type property
13239
+ */
13240
+ type?: string | null;
13241
+ }
13242
+ export interface GetTokenBalanceListSchema_data extends Parsable {
13243
+ /**
13244
+ * The balance property
13245
+ */
13246
+ balance?: number | null;
13247
+ /**
13248
+ * The records property
13249
+ */
13250
+ records?: GetTokenBalanceListSchema_data_records[] | null;
13251
+ /**
13252
+ * The token property
13253
+ */
13254
+ token?: string | null;
13255
+ }
13256
+ export interface GetTokenBalanceListSchema_data_records extends Parsable {
13257
+ /**
13258
+ * The expiresAt property
13259
+ */
13260
+ expiresAt?: string | null;
13261
+ /**
13262
+ * The recordId property
13263
+ */
13264
+ recordId?: string | null;
13265
+ /**
13266
+ * The remaining property
13267
+ */
13268
+ remaining?: number | null;
13269
+ /**
13270
+ * The source property
13271
+ */
13272
+ source?: GetTokenBalanceListSchema_data_records_source | null;
13273
+ }
13274
+ export interface GetTokenBalanceListSchema_data_records_source extends Parsable {
13275
+ /**
13276
+ * The id property
13277
+ */
13278
+ id?: string | null;
13279
+ /**
13280
+ * The itemId property
13281
+ */
13282
+ itemId?: string | null;
13283
+ /**
13284
+ * The type property
13285
+ */
13286
+ type?: string | null;
13287
+ }
13288
+ export type GetTokenBalanceListSchema_data_records_source_type = string;
13289
+ export interface GetTokensListSchema extends Parsable {
13290
+ /**
13291
+ * The data property
13292
+ */
13293
+ data?: GetTokensListSchema_data[] | null;
13294
+ /**
13295
+ * The hasMore property
13296
+ */
13297
+ hasMore?: boolean | null;
13298
+ /**
13299
+ * The nextCursor property
13300
+ */
13301
+ nextCursor?: string | null;
13302
+ /**
13303
+ * The previousCursor property
13304
+ */
13305
+ previousCursor?: string | null;
13306
+ /**
13307
+ * The type property
13308
+ */
13309
+ type?: string | null;
13310
+ }
13311
+ export interface GetTokensListSchema_data extends Parsable {
13312
+ /**
13313
+ * The createdAt property
13314
+ */
13315
+ createdAt?: string | null;
13316
+ /**
13317
+ * The id property
13318
+ */
13319
+ id?: string | null;
13320
+ /**
13321
+ * The name property
13322
+ */
13323
+ name?: string | null;
13324
+ /**
13325
+ * The organisation property
13326
+ */
13327
+ organisation?: string | null;
13328
+ /**
13329
+ * The slug property
13330
+ */
13331
+ slug?: string | null;
13332
+ /**
13333
+ * The updatedAt property
13334
+ */
13335
+ updatedAt?: string | null;
13336
+ }
13128
13337
  export interface GetUsageListSchema extends AdditionalDataHolder, Parsable {
13129
13338
  /**
13130
13339
  * The data property
@@ -14196,6 +14405,13 @@ export declare function serializeCheckEntitlementsSchema_data_entitlements(write
14196
14405
  * @param writer Serialization writer to use to serialize this model
14197
14406
  */
14198
14407
  export declare function serializeCheckEntitlementsSchema_data_entitlements_type(writer: SerializationWriter, key: string, checkEntitlementsSchema_data_entitlements_type: Parsable | CheckEntitlementsSchema_data_entitlements_type | undefined, isSerializingDerivedType?: boolean): void;
14408
+ /**
14409
+ * Serializes information the current object
14410
+ * @param ConsumeTokenRequestSchema The instance to serialize from.
14411
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
14412
+ * @param writer Serialization writer to use to serialize this model
14413
+ */
14414
+ export declare function serializeConsumeTokenRequestSchema(writer: SerializationWriter, consumeTokenRequestSchema?: Partial<ConsumeTokenRequestSchema> | undefined | null, isSerializingDerivedType?: boolean): void;
14199
14415
  /**
14200
14416
  * Serializes information the current object
14201
14417
  * @param CopyProductToLiveModeRequestSchema The instance to serialize from.
@@ -16526,6 +16742,56 @@ export declare function serializeGetTierTagsListSchema(writer: SerializationWrit
16526
16742
  * @param writer Serialization writer to use to serialize this model
16527
16743
  */
16528
16744
  export declare function serializeGetTierTagsListSchema_data(writer: SerializationWriter, getTierTagsListSchema_data?: Partial<GetTierTagsListSchema_data> | undefined | null, isSerializingDerivedType?: boolean): void;
16745
+ /**
16746
+ * Serializes information the current object
16747
+ * @param GetTokenBalanceListSchema The instance to serialize from.
16748
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
16749
+ * @param writer Serialization writer to use to serialize this model
16750
+ */
16751
+ export declare function serializeGetTokenBalanceListSchema(writer: SerializationWriter, getTokenBalanceListSchema?: Partial<GetTokenBalanceListSchema> | undefined | null, isSerializingDerivedType?: boolean): void;
16752
+ /**
16753
+ * Serializes information the current object
16754
+ * @param GetTokenBalanceListSchema_data The instance to serialize from.
16755
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
16756
+ * @param writer Serialization writer to use to serialize this model
16757
+ */
16758
+ export declare function serializeGetTokenBalanceListSchema_data(writer: SerializationWriter, getTokenBalanceListSchema_data?: Partial<GetTokenBalanceListSchema_data> | undefined | null, isSerializingDerivedType?: boolean): void;
16759
+ /**
16760
+ * Serializes information the current object
16761
+ * @param GetTokenBalanceListSchema_data_records The instance to serialize from.
16762
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
16763
+ * @param writer Serialization writer to use to serialize this model
16764
+ */
16765
+ export declare function serializeGetTokenBalanceListSchema_data_records(writer: SerializationWriter, getTokenBalanceListSchema_data_records?: Partial<GetTokenBalanceListSchema_data_records> | undefined | null, isSerializingDerivedType?: boolean): void;
16766
+ /**
16767
+ * Serializes information the current object
16768
+ * @param GetTokenBalanceListSchema_data_records_source The instance to serialize from.
16769
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
16770
+ * @param writer Serialization writer to use to serialize this model
16771
+ */
16772
+ export declare function serializeGetTokenBalanceListSchema_data_records_source(writer: SerializationWriter, getTokenBalanceListSchema_data_records_source?: Partial<GetTokenBalanceListSchema_data_records_source> | undefined | null, isSerializingDerivedType?: boolean): void;
16773
+ /**
16774
+ * Serializes information the current object
16775
+ * @param GetTokenBalanceListSchema_data_records_source_type The instance to serialize from.
16776
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
16777
+ * @param key The name of the property to write in the serialization.
16778
+ * @param writer Serialization writer to use to serialize this model
16779
+ */
16780
+ export declare function serializeGetTokenBalanceListSchema_data_records_source_type(writer: SerializationWriter, key: string, getTokenBalanceListSchema_data_records_source_type: Parsable | GetTokenBalanceListSchema_data_records_source_type | undefined, isSerializingDerivedType?: boolean): void;
16781
+ /**
16782
+ * Serializes information the current object
16783
+ * @param GetTokensListSchema The instance to serialize from.
16784
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
16785
+ * @param writer Serialization writer to use to serialize this model
16786
+ */
16787
+ export declare function serializeGetTokensListSchema(writer: SerializationWriter, getTokensListSchema?: Partial<GetTokensListSchema> | undefined | null, isSerializingDerivedType?: boolean): void;
16788
+ /**
16789
+ * Serializes information the current object
16790
+ * @param GetTokensListSchema_data The instance to serialize from.
16791
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
16792
+ * @param writer Serialization writer to use to serialize this model
16793
+ */
16794
+ export declare function serializeGetTokensListSchema_data(writer: SerializationWriter, getTokensListSchema_data?: Partial<GetTokensListSchema_data> | undefined | null, isSerializingDerivedType?: boolean): void;
16529
16795
  /**
16530
16796
  * Serializes information the current object
16531
16797
  * @param GetUsageListSchema The instance to serialize from.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salable/sdk",
3
- "version": "1.0.37",
3
+ "version": "1.0.39",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",