@salable/sdk 1.0.34 → 1.0.36
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 +51 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +51 -2
- package/dist/index.js.map +1 -1
- package/dist/sdk/api/ai/messages/index.d.ts +3 -0
- package/dist/sdk/api/currencyOptions/index.d.ts +3 -0
- package/dist/sdk/api/destinations/index.d.ts +3 -0
- package/dist/sdk/api/entitlements/index.d.ts +3 -0
- package/dist/sdk/api/grantees/index.d.ts +3 -0
- package/dist/sdk/api/lineItems/index.d.ts +3 -0
- package/dist/sdk/api/owners/item/index.d.ts +1 -0
- package/dist/sdk/api/plans/index.d.ts +5 -2
- package/dist/sdk/api/receipts/index.d.ts +3 -0
- package/dist/sdk/api/subscriptionPlans/index.d.ts +3 -3
- package/dist/sdk/api/subscriptions/index.d.ts +3 -3
- package/dist/sdk/models/index.d.ts +86 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -7518,6 +7518,24 @@ function createGetOwnerDetailSchema_data_groups_dataFromDiscriminatorValue(parse
|
|
|
7518
7518
|
function createGetOwnerDetailSchema_data_groupsFromDiscriminatorValue(parseNode) {
|
|
7519
7519
|
return deserializeIntoGetOwnerDetailSchema_data_groups;
|
|
7520
7520
|
}
|
|
7521
|
+
/**
|
|
7522
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
7523
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
7524
|
+
* @returns {GetOwnerDetailSchema_data_receipts_data}
|
|
7525
|
+
*/
|
|
7526
|
+
// @ts-ignore
|
|
7527
|
+
function createGetOwnerDetailSchema_data_receipts_dataFromDiscriminatorValue(parseNode) {
|
|
7528
|
+
return deserializeIntoGetOwnerDetailSchema_data_receipts_data;
|
|
7529
|
+
}
|
|
7530
|
+
/**
|
|
7531
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
7532
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
7533
|
+
* @returns {GetOwnerDetailSchema_data_receipts}
|
|
7534
|
+
*/
|
|
7535
|
+
// @ts-ignore
|
|
7536
|
+
function createGetOwnerDetailSchema_data_receiptsFromDiscriminatorValue(parseNode) {
|
|
7537
|
+
return deserializeIntoGetOwnerDetailSchema_data_receipts;
|
|
7538
|
+
}
|
|
7521
7539
|
/**
|
|
7522
7540
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
7523
7541
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -11285,6 +11303,7 @@ function deserializeIntoGetOwnerDetailSchema_data(getOwnerDetailSchema_data = {}
|
|
|
11285
11303
|
"groups": n => { getOwnerDetailSchema_data.groups = n.getObjectValue(createGetOwnerDetailSchema_data_groupsFromDiscriminatorValue); },
|
|
11286
11304
|
"id": n => { getOwnerDetailSchema_data.id = n.getStringValue(); },
|
|
11287
11305
|
"organisation": n => { getOwnerDetailSchema_data.organisation = n.getStringValue(); },
|
|
11306
|
+
"receipts": n => { getOwnerDetailSchema_data.receipts = n.getObjectValue(createGetOwnerDetailSchema_data_receiptsFromDiscriminatorValue); },
|
|
11288
11307
|
"stripeCustomerId": n => { getOwnerDetailSchema_data.stripeCustomerId = n.getStringValue(); },
|
|
11289
11308
|
"subscriptions": n => { getOwnerDetailSchema_data.subscriptions = n.getObjectValue(createGetOwnerDetailSchema_data_subscriptionsFromDiscriminatorValue); },
|
|
11290
11309
|
"updatedAt": n => { getOwnerDetailSchema_data.updatedAt = n.getStringValue(); },
|
|
@@ -11354,6 +11373,36 @@ function deserializeIntoGetOwnerDetailSchema_data_groups_data(getOwnerDetailSche
|
|
|
11354
11373
|
"updatedAt": n => { getOwnerDetailSchema_data_groups_data.updatedAt = n.getStringValue(); },
|
|
11355
11374
|
};
|
|
11356
11375
|
}
|
|
11376
|
+
/**
|
|
11377
|
+
* The deserialization information for the current model
|
|
11378
|
+
* @param GetOwnerDetailSchema_data_receipts The instance to deserialize into.
|
|
11379
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
11380
|
+
*/
|
|
11381
|
+
// @ts-ignore
|
|
11382
|
+
function deserializeIntoGetOwnerDetailSchema_data_receipts(getOwnerDetailSchema_data_receipts = {}) {
|
|
11383
|
+
return {
|
|
11384
|
+
"data": n => { getOwnerDetailSchema_data_receipts.data = n.getCollectionOfObjectValues(createGetOwnerDetailSchema_data_receipts_dataFromDiscriminatorValue); },
|
|
11385
|
+
"hasMore": n => { getOwnerDetailSchema_data_receipts.hasMore = n.getBooleanValue(); },
|
|
11386
|
+
"path": n => { getOwnerDetailSchema_data_receipts.path = n.getStringValue(); },
|
|
11387
|
+
"type": n => { getOwnerDetailSchema_data_receipts.type = n.getStringValue(); },
|
|
11388
|
+
};
|
|
11389
|
+
}
|
|
11390
|
+
/**
|
|
11391
|
+
* The deserialization information for the current model
|
|
11392
|
+
* @param GetOwnerDetailSchema_data_receipts_data The instance to deserialize into.
|
|
11393
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
11394
|
+
*/
|
|
11395
|
+
// @ts-ignore
|
|
11396
|
+
function deserializeIntoGetOwnerDetailSchema_data_receipts_data(getOwnerDetailSchema_data_receipts_data = {}) {
|
|
11397
|
+
return {
|
|
11398
|
+
"createdAt": n => { getOwnerDetailSchema_data_receipts_data.createdAt = n.getStringValue(); },
|
|
11399
|
+
"id": n => { getOwnerDetailSchema_data_receipts_data.id = n.getStringValue(); },
|
|
11400
|
+
"organisation": n => { getOwnerDetailSchema_data_receipts_data.organisation = n.getStringValue(); },
|
|
11401
|
+
"ownerId": n => { getOwnerDetailSchema_data_receipts_data.ownerId = n.getStringValue(); },
|
|
11402
|
+
"subscriptionId": n => { getOwnerDetailSchema_data_receipts_data.subscriptionId = n.getStringValue(); },
|
|
11403
|
+
"updatedAt": n => { getOwnerDetailSchema_data_receipts_data.updatedAt = n.getStringValue(); },
|
|
11404
|
+
};
|
|
11405
|
+
}
|
|
11357
11406
|
/**
|
|
11358
11407
|
* The deserialization information for the current model
|
|
11359
11408
|
* @param GetOwnerDetailSchema_data_subscriptions The instance to deserialize into.
|
|
@@ -17178,7 +17227,7 @@ const SaveRequestBuilderRequestsMetadata = {
|
|
|
17178
17227
|
/**
|
|
17179
17228
|
* Uri template for the request builder.
|
|
17180
17229
|
*/
|
|
17181
|
-
const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,productId
|
|
17230
|
+
const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,productId,search*}";
|
|
17182
17231
|
/**
|
|
17183
17232
|
* Metadata for all the navigation properties in the request builder.
|
|
17184
17233
|
*/
|
|
@@ -18729,7 +18778,7 @@ function deserializeIntoSubscriptionPlansGetResponse_data_subscriptionPlanLineIt
|
|
|
18729
18778
|
/**
|
|
18730
18779
|
* Uri template for the request builder.
|
|
18731
18780
|
*/
|
|
18732
|
-
const SubscriptionPlansRequestBuilderUriTemplate = "{+baseurl}/api/subscription-plans{?after*,before*,expand,limit*,owner*,plans
|
|
18781
|
+
const SubscriptionPlansRequestBuilderUriTemplate = "{+baseurl}/api/subscription-plans{?after*,before*,expand,limit*,owner*,plans,status*}";
|
|
18733
18782
|
/**
|
|
18734
18783
|
* Metadata for all the navigation properties in the request builder.
|
|
18735
18784
|
*/
|