@salable/sdk 1.0.47 → 1.0.49
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 +190 -19
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +190 -19
- package/dist/index.js.map +1 -1
- package/dist/sdk/api/ai/messages/index.d.ts +6 -1
- package/dist/sdk/api/carts/index.d.ts +6 -1
- package/dist/sdk/api/checkout/index.d.ts +44 -13
- package/dist/sdk/api/currencyOptions/index.d.ts +6 -1
- package/dist/sdk/api/destinations/index.d.ts +6 -1
- package/dist/sdk/api/entitlements/index.d.ts +6 -1
- package/dist/sdk/api/eventAttempts/index.d.ts +9 -1
- package/dist/sdk/api/grantees/index.d.ts +6 -1
- package/dist/sdk/api/groups/index.d.ts +3 -0
- package/dist/sdk/api/lineItems/index.d.ts +6 -1
- package/dist/sdk/api/memberships/index.d.ts +16 -1
- package/dist/sdk/api/owners/index.d.ts +9 -1
- package/dist/sdk/api/plans/index.d.ts +6 -1
- package/dist/sdk/api/receipts/index.d.ts +15 -1
- package/dist/sdk/api/subscriptionPlans/index.d.ts +1 -1
- package/dist/sdk/api/subscriptions/index.d.ts +12 -2
- package/dist/sdk/api/usageRecords/index.d.ts +3 -0
- package/dist/sdk/models/index.d.ts +262 -181
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -10197,6 +10197,7 @@ function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan_product_dat
|
|
|
10197
10197
|
"pastDueEntitlements": n => { getCartDetailSchema_data_cartItems_data_plan_product_data_settings.pastDueEntitlements = n.getBooleanValue(); },
|
|
10198
10198
|
"productId": n => { getCartDetailSchema_data_cartItems_data_plan_product_data_settings.productId = n.getObjectValue(createGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1FromDiscriminatorValue) ?? n.getStringValue(); },
|
|
10199
10199
|
"successUrl": n => { getCartDetailSchema_data_cartItems_data_plan_product_data_settings.successUrl = n.getObjectValue(createGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1FromDiscriminatorValue) ?? n.getStringValue(); },
|
|
10200
|
+
"trialCardBehaviour": n => { getCartDetailSchema_data_cartItems_data_plan_product_data_settings.trialCardBehaviour = n.getStringValue(); },
|
|
10200
10201
|
"updatedAt": n => { getCartDetailSchema_data_cartItems_data_plan_product_data_settings.updatedAt = n.getStringValue(); },
|
|
10201
10202
|
};
|
|
10202
10203
|
}
|
|
@@ -12521,6 +12522,7 @@ function deserializeIntoGetProductDetailSchema_data_settings(getProductDetailSch
|
|
|
12521
12522
|
"pastDueEntitlements": n => { getProductDetailSchema_data_settings.pastDueEntitlements = n.getBooleanValue(); },
|
|
12522
12523
|
"productId": n => { getProductDetailSchema_data_settings.productId = n.getStringValue(); },
|
|
12523
12524
|
"successUrl": n => { getProductDetailSchema_data_settings.successUrl = n.getStringValue(); },
|
|
12525
|
+
"trialCardBehaviour": n => { getProductDetailSchema_data_settings.trialCardBehaviour = n.getStringValue(); },
|
|
12524
12526
|
"updatedAt": n => { getProductDetailSchema_data_settings.updatedAt = n.getStringValue(); },
|
|
12525
12527
|
};
|
|
12526
12528
|
}
|
|
@@ -14614,11 +14616,39 @@ function serializeCreateCartItemRequestSchema(writer, createCartItemRequestSchem
|
|
|
14614
14616
|
}
|
|
14615
14617
|
writer.writeStringValue("cartId", createCartItemRequestSchema.cartId);
|
|
14616
14618
|
writer.writeStringValue("grantee", createCartItemRequestSchema.grantee);
|
|
14617
|
-
|
|
14619
|
+
if (typeof createCartItemRequestSchema.interval === "string") {
|
|
14620
|
+
writer.writeStringValue("interval", createCartItemRequestSchema.interval);
|
|
14621
|
+
}
|
|
14622
|
+
else {
|
|
14623
|
+
writer.writeObjectValue("interval", createCartItemRequestSchema.interval, serializeCreateCartItemRequestSchema_interval);
|
|
14624
|
+
}
|
|
14618
14625
|
writer.writeNumberValue("intervalCount", createCartItemRequestSchema.intervalCount);
|
|
14619
14626
|
writer.writeObjectValue("metadata", createCartItemRequestSchema.metadata, serializeCreateCartItemRequestSchema_metadata);
|
|
14620
14627
|
writer.writeStringValue("planId", createCartItemRequestSchema.planId);
|
|
14621
14628
|
}
|
|
14629
|
+
/**
|
|
14630
|
+
* Serializes information the current object
|
|
14631
|
+
* @param CreateCartItemRequestSchema_interval The instance to serialize from.
|
|
14632
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
14633
|
+
* @param writer Serialization writer to use to serialize this model
|
|
14634
|
+
*/
|
|
14635
|
+
// @ts-ignore
|
|
14636
|
+
function serializeCreateCartItemRequestSchema_interval(writer, createCartItemRequestSchema_interval = {}, isSerializingDerivedType = false) {
|
|
14637
|
+
serializeCreateCartItemRequestSchema_intervalMember1(writer, createCartItemRequestSchema_interval);
|
|
14638
|
+
}
|
|
14639
|
+
/**
|
|
14640
|
+
* Serializes information the current object
|
|
14641
|
+
* @param CreateCartItemRequestSchema_intervalMember1 The instance to serialize from.
|
|
14642
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
14643
|
+
* @param writer Serialization writer to use to serialize this model
|
|
14644
|
+
*/
|
|
14645
|
+
// @ts-ignore
|
|
14646
|
+
function serializeCreateCartItemRequestSchema_intervalMember1(writer, createCartItemRequestSchema_intervalMember1 = {}, isSerializingDerivedType = false) {
|
|
14647
|
+
if (!createCartItemRequestSchema_intervalMember1 || isSerializingDerivedType) {
|
|
14648
|
+
return;
|
|
14649
|
+
}
|
|
14650
|
+
writer.writeAdditionalData(createCartItemRequestSchema_intervalMember1.additionalData);
|
|
14651
|
+
}
|
|
14622
14652
|
/**
|
|
14623
14653
|
* Serializes information the current object
|
|
14624
14654
|
* @param CreateCartItemRequestSchema_metadata The instance to serialize from.
|
|
@@ -14644,10 +14674,38 @@ function serializeCreateCartRequestSchema(writer, createCartRequestSchema = {},
|
|
|
14644
14674
|
return;
|
|
14645
14675
|
}
|
|
14646
14676
|
writer.writeEnumValue("currency", createCartRequestSchema.currency);
|
|
14647
|
-
|
|
14677
|
+
if (typeof createCartRequestSchema.interval === "string") {
|
|
14678
|
+
writer.writeStringValue("interval", createCartRequestSchema.interval);
|
|
14679
|
+
}
|
|
14680
|
+
else {
|
|
14681
|
+
writer.writeObjectValue("interval", createCartRequestSchema.interval, serializeCreateCartRequestSchema_interval);
|
|
14682
|
+
}
|
|
14648
14683
|
writer.writeNumberValue("intervalCount", createCartRequestSchema.intervalCount);
|
|
14649
14684
|
writer.writeStringValue("owner", createCartRequestSchema.owner);
|
|
14650
14685
|
}
|
|
14686
|
+
/**
|
|
14687
|
+
* Serializes information the current object
|
|
14688
|
+
* @param CreateCartRequestSchema_interval The instance to serialize from.
|
|
14689
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
14690
|
+
* @param writer Serialization writer to use to serialize this model
|
|
14691
|
+
*/
|
|
14692
|
+
// @ts-ignore
|
|
14693
|
+
function serializeCreateCartRequestSchema_interval(writer, createCartRequestSchema_interval = {}, isSerializingDerivedType = false) {
|
|
14694
|
+
serializeCreateCartRequestSchema_intervalMember1(writer, createCartRequestSchema_interval);
|
|
14695
|
+
}
|
|
14696
|
+
/**
|
|
14697
|
+
* Serializes information the current object
|
|
14698
|
+
* @param CreateCartRequestSchema_intervalMember1 The instance to serialize from.
|
|
14699
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
14700
|
+
* @param writer Serialization writer to use to serialize this model
|
|
14701
|
+
*/
|
|
14702
|
+
// @ts-ignore
|
|
14703
|
+
function serializeCreateCartRequestSchema_intervalMember1(writer, createCartRequestSchema_intervalMember1 = {}, isSerializingDerivedType = false) {
|
|
14704
|
+
if (!createCartRequestSchema_intervalMember1 || isSerializingDerivedType) {
|
|
14705
|
+
return;
|
|
14706
|
+
}
|
|
14707
|
+
writer.writeAdditionalData(createCartRequestSchema_intervalMember1.additionalData);
|
|
14708
|
+
}
|
|
14651
14709
|
/**
|
|
14652
14710
|
* Serializes information the current object
|
|
14653
14711
|
* @param CreateEntitlementRequestSchema The instance to serialize from.
|
|
@@ -15147,7 +15205,12 @@ function serializeUpdateCartRequestSchema(writer, updateCartRequestSchema = {},
|
|
|
15147
15205
|
return;
|
|
15148
15206
|
}
|
|
15149
15207
|
writer.writeCollectionOfObjectValues("cartItems", updateCartRequestSchema.cartItems, serializeUpdateCartRequestSchema_cartItems);
|
|
15150
|
-
|
|
15208
|
+
if (typeof updateCartRequestSchema.currency === "string") {
|
|
15209
|
+
writer.writeStringValue("currency", updateCartRequestSchema.currency);
|
|
15210
|
+
}
|
|
15211
|
+
else {
|
|
15212
|
+
writer.writeObjectValue("currency", updateCartRequestSchema.currency, serializeUpdateCartRequestSchema_currency);
|
|
15213
|
+
}
|
|
15151
15214
|
writer.writeStringValue("owner", updateCartRequestSchema.owner);
|
|
15152
15215
|
}
|
|
15153
15216
|
/**
|
|
@@ -15178,6 +15241,29 @@ function serializeUpdateCartRequestSchema_cartItems_metadata(writer, updateCartR
|
|
|
15178
15241
|
}
|
|
15179
15242
|
writer.writeAdditionalData(updateCartRequestSchema_cartItems_metadata.additionalData);
|
|
15180
15243
|
}
|
|
15244
|
+
/**
|
|
15245
|
+
* Serializes information the current object
|
|
15246
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15247
|
+
* @param UpdateCartRequestSchema_currency The instance to serialize from.
|
|
15248
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15249
|
+
*/
|
|
15250
|
+
// @ts-ignore
|
|
15251
|
+
function serializeUpdateCartRequestSchema_currency(writer, updateCartRequestSchema_currency = {}, isSerializingDerivedType = false) {
|
|
15252
|
+
serializeUpdateCartRequestSchema_currencyMember1(writer, updateCartRequestSchema_currency);
|
|
15253
|
+
}
|
|
15254
|
+
/**
|
|
15255
|
+
* Serializes information the current object
|
|
15256
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15257
|
+
* @param UpdateCartRequestSchema_currencyMember1 The instance to serialize from.
|
|
15258
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15259
|
+
*/
|
|
15260
|
+
// @ts-ignore
|
|
15261
|
+
function serializeUpdateCartRequestSchema_currencyMember1(writer, updateCartRequestSchema_currencyMember1 = {}, isSerializingDerivedType = false) {
|
|
15262
|
+
if (!updateCartRequestSchema_currencyMember1 || isSerializingDerivedType) {
|
|
15263
|
+
return;
|
|
15264
|
+
}
|
|
15265
|
+
writer.writeAdditionalData(updateCartRequestSchema_currencyMember1.additionalData);
|
|
15266
|
+
}
|
|
15181
15267
|
/**
|
|
15182
15268
|
* Serializes information the current object
|
|
15183
15269
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -15284,9 +15370,37 @@ function serializeUpdateLineItemRequestSchemaMember2(writer, updateLineItemReque
|
|
|
15284
15370
|
writer.writeStringValue("nickname", updateLineItemRequestSchemaMember2.nickname);
|
|
15285
15371
|
writer.writeStringValue("priceType", updateLineItemRequestSchemaMember2.priceType);
|
|
15286
15372
|
writer.writeStringValue("slug", updateLineItemRequestSchemaMember2.slug);
|
|
15287
|
-
|
|
15373
|
+
if (typeof updateLineItemRequestSchemaMember2.tiersMode === "string") {
|
|
15374
|
+
writer.writeStringValue("tiersMode", updateLineItemRequestSchemaMember2.tiersMode);
|
|
15375
|
+
}
|
|
15376
|
+
else {
|
|
15377
|
+
writer.writeObjectValue("tiersMode", updateLineItemRequestSchemaMember2.tiersMode, serializeUpdateLineItemRequestSchemaMember2_tiersMode);
|
|
15378
|
+
}
|
|
15288
15379
|
writer.writeObjectValue("unitLabel", updateLineItemRequestSchemaMember2.unitLabel);
|
|
15289
15380
|
}
|
|
15381
|
+
/**
|
|
15382
|
+
* Serializes information the current object
|
|
15383
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15384
|
+
* @param UpdateLineItemRequestSchemaMember2_tiersMode The instance to serialize from.
|
|
15385
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15386
|
+
*/
|
|
15387
|
+
// @ts-ignore
|
|
15388
|
+
function serializeUpdateLineItemRequestSchemaMember2_tiersMode(writer, updateLineItemRequestSchemaMember2_tiersMode = {}, isSerializingDerivedType = false) {
|
|
15389
|
+
serializeUpdateLineItemRequestSchemaMember2_tiersModeMember1(writer, updateLineItemRequestSchemaMember2_tiersMode);
|
|
15390
|
+
}
|
|
15391
|
+
/**
|
|
15392
|
+
* Serializes information the current object
|
|
15393
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15394
|
+
* @param UpdateLineItemRequestSchemaMember2_tiersModeMember1 The instance to serialize from.
|
|
15395
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15396
|
+
*/
|
|
15397
|
+
// @ts-ignore
|
|
15398
|
+
function serializeUpdateLineItemRequestSchemaMember2_tiersModeMember1(writer, updateLineItemRequestSchemaMember2_tiersModeMember1 = {}, isSerializingDerivedType = false) {
|
|
15399
|
+
if (!updateLineItemRequestSchemaMember2_tiersModeMember1 || isSerializingDerivedType) {
|
|
15400
|
+
return;
|
|
15401
|
+
}
|
|
15402
|
+
writer.writeAdditionalData(updateLineItemRequestSchemaMember2_tiersModeMember1.additionalData);
|
|
15403
|
+
}
|
|
15290
15404
|
/**
|
|
15291
15405
|
* Serializes information the current object
|
|
15292
15406
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -15310,9 +15424,37 @@ function serializeUpdateLineItemRequestSchemaMember3(writer, updateLineItemReque
|
|
|
15310
15424
|
writer.writeStringValue("nickname", updateLineItemRequestSchemaMember3.nickname);
|
|
15311
15425
|
writer.writeStringValue("priceType", updateLineItemRequestSchemaMember3.priceType);
|
|
15312
15426
|
writer.writeStringValue("slug", updateLineItemRequestSchemaMember3.slug);
|
|
15313
|
-
|
|
15427
|
+
if (typeof updateLineItemRequestSchemaMember3.tiersMode === "string") {
|
|
15428
|
+
writer.writeStringValue("tiersMode", updateLineItemRequestSchemaMember3.tiersMode);
|
|
15429
|
+
}
|
|
15430
|
+
else {
|
|
15431
|
+
writer.writeObjectValue("tiersMode", updateLineItemRequestSchemaMember3.tiersMode, serializeUpdateLineItemRequestSchemaMember3_tiersMode);
|
|
15432
|
+
}
|
|
15314
15433
|
writer.writeStringValue("unitLabel", updateLineItemRequestSchemaMember3.unitLabel);
|
|
15315
15434
|
}
|
|
15435
|
+
/**
|
|
15436
|
+
* Serializes information the current object
|
|
15437
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15438
|
+
* @param UpdateLineItemRequestSchemaMember3_tiersMode The instance to serialize from.
|
|
15439
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15440
|
+
*/
|
|
15441
|
+
// @ts-ignore
|
|
15442
|
+
function serializeUpdateLineItemRequestSchemaMember3_tiersMode(writer, updateLineItemRequestSchemaMember3_tiersMode = {}, isSerializingDerivedType = false) {
|
|
15443
|
+
serializeUpdateLineItemRequestSchemaMember3_tiersModeMember1(writer, updateLineItemRequestSchemaMember3_tiersMode);
|
|
15444
|
+
}
|
|
15445
|
+
/**
|
|
15446
|
+
* Serializes information the current object
|
|
15447
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15448
|
+
* @param UpdateLineItemRequestSchemaMember3_tiersModeMember1 The instance to serialize from.
|
|
15449
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15450
|
+
*/
|
|
15451
|
+
// @ts-ignore
|
|
15452
|
+
function serializeUpdateLineItemRequestSchemaMember3_tiersModeMember1(writer, updateLineItemRequestSchemaMember3_tiersModeMember1 = {}, isSerializingDerivedType = false) {
|
|
15453
|
+
if (!updateLineItemRequestSchemaMember3_tiersModeMember1 || isSerializingDerivedType) {
|
|
15454
|
+
return;
|
|
15455
|
+
}
|
|
15456
|
+
writer.writeAdditionalData(updateLineItemRequestSchemaMember3_tiersModeMember1.additionalData);
|
|
15457
|
+
}
|
|
15316
15458
|
/**
|
|
15317
15459
|
* Serializes information the current object
|
|
15318
15460
|
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
@@ -15361,6 +15503,7 @@ function serializeUpdateProductRequestSchema_settings(writer, updateProductReque
|
|
|
15361
15503
|
writer.writeBooleanValue("collectShippingAddress", updateProductRequestSchema_settings.collectShippingAddress);
|
|
15362
15504
|
writer.writeBooleanValue("pastDueEntitlements", updateProductRequestSchema_settings.pastDueEntitlements);
|
|
15363
15505
|
writer.writeStringValue("successUrl", updateProductRequestSchema_settings.successUrl);
|
|
15506
|
+
writer.writeEnumValue("trialCardBehaviour", updateProductRequestSchema_settings.trialCardBehaviour);
|
|
15364
15507
|
}
|
|
15365
15508
|
/**
|
|
15366
15509
|
* Serializes information the current object
|
|
@@ -15571,7 +15714,7 @@ const ConversationsRequestBuilderRequestsMetadata = {
|
|
|
15571
15714
|
/**
|
|
15572
15715
|
* Uri template for the request builder.
|
|
15573
15716
|
*/
|
|
15574
|
-
const MessagesRequestBuilderUriTemplate = "{+baseurl}/api/ai/messages{?after*,before*,conversationId*,limit*}";
|
|
15717
|
+
const MessagesRequestBuilderUriTemplate = "{+baseurl}/api/ai/messages{?after*,before*,conversation*,conversationId*,limit*}";
|
|
15575
15718
|
/**
|
|
15576
15719
|
* Metadata for all the requests in the request builder.
|
|
15577
15720
|
*/
|
|
@@ -15963,7 +16106,7 @@ const CartsItemRequestBuilderRequestsMetadata = {
|
|
|
15963
16106
|
/**
|
|
15964
16107
|
* Uri template for the request builder.
|
|
15965
16108
|
*/
|
|
15966
|
-
const CartsRequestBuilderUriTemplate = "{+baseurl}/api/carts{?after*,before*,expand,limit*,ownerId,search*,status}";
|
|
16109
|
+
const CartsRequestBuilderUriTemplate = "{+baseurl}/api/carts{?after*,before*,expand,limit*,owner,ownerId,search*,status}";
|
|
15967
16110
|
/**
|
|
15968
16111
|
* Metadata for all the navigation properties in the request builder.
|
|
15969
16112
|
*/
|
|
@@ -16080,7 +16223,12 @@ function serializeCheckoutPostRequestBody(writer, checkoutPostRequestBody = {},
|
|
|
16080
16223
|
writer.writeCollectionOfObjectValues("discounts", checkoutPostRequestBody.discounts, serializeCheckoutPostRequestBody_discounts);
|
|
16081
16224
|
writer.writeStringValue("email", checkoutPostRequestBody.email);
|
|
16082
16225
|
writer.writeStringValue("grantee", checkoutPostRequestBody.grantee);
|
|
16083
|
-
|
|
16226
|
+
if (typeof checkoutPostRequestBody.interval === "string") {
|
|
16227
|
+
writer.writeStringValue("interval", checkoutPostRequestBody.interval);
|
|
16228
|
+
}
|
|
16229
|
+
else {
|
|
16230
|
+
writer.writeObjectValue("interval", checkoutPostRequestBody.interval, serializeCheckoutPostRequestBody_interval);
|
|
16231
|
+
}
|
|
16084
16232
|
writer.writeNumberValue("intervalCount", checkoutPostRequestBody.intervalCount);
|
|
16085
16233
|
writer.writeObjectValue("metadata", checkoutPostRequestBody.metadata, serializeCheckoutPostRequestBody_metadata);
|
|
16086
16234
|
writer.writeStringValue("owner", checkoutPostRequestBody.owner);
|
|
@@ -16103,6 +16251,29 @@ function serializeCheckoutPostRequestBody_discounts(writer, checkoutPostRequestB
|
|
|
16103
16251
|
writer.writeStringValue("coupon", checkoutPostRequestBody_discounts.coupon);
|
|
16104
16252
|
writer.writeStringValue("promotionCode", checkoutPostRequestBody_discounts.promotionCode);
|
|
16105
16253
|
}
|
|
16254
|
+
/**
|
|
16255
|
+
* Serializes information the current object
|
|
16256
|
+
* @param CheckoutPostRequestBody_interval The instance to serialize from.
|
|
16257
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
16258
|
+
* @param writer Serialization writer to use to serialize this model
|
|
16259
|
+
*/
|
|
16260
|
+
// @ts-ignore
|
|
16261
|
+
function serializeCheckoutPostRequestBody_interval(writer, checkoutPostRequestBody_interval = {}, isSerializingDerivedType = false) {
|
|
16262
|
+
serializeCheckoutPostRequestBody_intervalMember1(writer, checkoutPostRequestBody_interval);
|
|
16263
|
+
}
|
|
16264
|
+
/**
|
|
16265
|
+
* Serializes information the current object
|
|
16266
|
+
* @param CheckoutPostRequestBody_intervalMember1 The instance to serialize from.
|
|
16267
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
16268
|
+
* @param writer Serialization writer to use to serialize this model
|
|
16269
|
+
*/
|
|
16270
|
+
// @ts-ignore
|
|
16271
|
+
function serializeCheckoutPostRequestBody_intervalMember1(writer, checkoutPostRequestBody_intervalMember1 = {}, isSerializingDerivedType = false) {
|
|
16272
|
+
if (!checkoutPostRequestBody_intervalMember1 || isSerializingDerivedType) {
|
|
16273
|
+
return;
|
|
16274
|
+
}
|
|
16275
|
+
writer.writeAdditionalData(checkoutPostRequestBody_intervalMember1.additionalData);
|
|
16276
|
+
}
|
|
16106
16277
|
/**
|
|
16107
16278
|
* Serializes information the current object
|
|
16108
16279
|
* @param CheckoutPostRequestBody_metadata The instance to serialize from.
|
|
@@ -16184,7 +16355,7 @@ const CurrencyOptionsItemRequestBuilderRequestsMetadata = {
|
|
|
16184
16355
|
/**
|
|
16185
16356
|
* Uri template for the request builder.
|
|
16186
16357
|
*/
|
|
16187
|
-
const CurrencyOptionsRequestBuilderUriTemplate = "{+baseurl}/api/currency-options{?after*,before*,expand,limit*,priceId*}";
|
|
16358
|
+
const CurrencyOptionsRequestBuilderUriTemplate = "{+baseurl}/api/currency-options{?after*,before*,expand,limit*,price*,priceId*}";
|
|
16188
16359
|
/**
|
|
16189
16360
|
* Metadata for all the navigation properties in the request builder.
|
|
16190
16361
|
*/
|
|
@@ -16267,7 +16438,7 @@ const DestinationsItemRequestBuilderRequestsMetadata = {
|
|
|
16267
16438
|
/**
|
|
16268
16439
|
* Uri template for the request builder.
|
|
16269
16440
|
*/
|
|
16270
|
-
const DestinationsRequestBuilderUriTemplate = "{+baseurl}/api/destinations{?after*,before*,eventId*,limit*}";
|
|
16441
|
+
const DestinationsRequestBuilderUriTemplate = "{+baseurl}/api/destinations{?after*,before*,event*,eventId*,limit*}";
|
|
16271
16442
|
/**
|
|
16272
16443
|
* Metadata for all the navigation properties in the request builder.
|
|
16273
16444
|
*/
|
|
@@ -16397,7 +16568,7 @@ const EntitlementsItemRequestBuilderRequestsMetadata = {
|
|
|
16397
16568
|
/**
|
|
16398
16569
|
* Uri template for the request builder.
|
|
16399
16570
|
*/
|
|
16400
|
-
const EntitlementsRequestBuilderUriTemplate = "{+baseurl}/api/entitlements{?after*,before*,limit*,planId*,search*}";
|
|
16571
|
+
const EntitlementsRequestBuilderUriTemplate = "{+baseurl}/api/entitlements{?after*,before*,limit*,plan*,planId*,search*}";
|
|
16401
16572
|
/**
|
|
16402
16573
|
* Metadata for all the navigation properties in the request builder.
|
|
16403
16574
|
*/
|
|
@@ -16454,7 +16625,7 @@ const EntitlementsRequestBuilderRequestsMetadata = {
|
|
|
16454
16625
|
/**
|
|
16455
16626
|
* Uri template for the request builder.
|
|
16456
16627
|
*/
|
|
16457
|
-
const EventAttemptsRequestBuilderUriTemplate = "{+baseurl}/api/event-attempts{?after*,before*,destinationId*,limit*}";
|
|
16628
|
+
const EventAttemptsRequestBuilderUriTemplate = "{+baseurl}/api/event-attempts{?after*,before*,destination*,destinationId*,limit*}";
|
|
16458
16629
|
/**
|
|
16459
16630
|
* Metadata for all the requests in the request builder.
|
|
16460
16631
|
*/
|
|
@@ -16614,7 +16785,7 @@ const GranteesItemRequestBuilderRequestsMetadata = {
|
|
|
16614
16785
|
/**
|
|
16615
16786
|
* Uri template for the request builder.
|
|
16616
16787
|
*/
|
|
16617
|
-
const GranteesRequestBuilderUriTemplate$1 = "{+baseurl}/api/grantees{?after*,before*,groupId*,limit*,search*}";
|
|
16788
|
+
const GranteesRequestBuilderUriTemplate$1 = "{+baseurl}/api/grantees{?after*,before*,group*,groupId*,limit*,search*}";
|
|
16618
16789
|
/**
|
|
16619
16790
|
* Metadata for all the navigation properties in the request builder.
|
|
16620
16791
|
*/
|
|
@@ -16951,7 +17122,7 @@ const LineItemsItemRequestBuilderRequestsMetadata = {
|
|
|
16951
17122
|
/**
|
|
16952
17123
|
* Uri template for the request builder.
|
|
16953
17124
|
*/
|
|
16954
|
-
const LineItemsRequestBuilderUriTemplate = "{+baseurl}/api/line-items{?after*,before*,limit*,planId*,search*}";
|
|
17125
|
+
const LineItemsRequestBuilderUriTemplate = "{+baseurl}/api/line-items{?after*,before*,limit*,plan*,planId*,search*}";
|
|
16955
17126
|
/**
|
|
16956
17127
|
* Metadata for all the navigation properties in the request builder.
|
|
16957
17128
|
*/
|
|
@@ -17021,7 +17192,7 @@ const MembershipsItemRequestBuilderRequestsMetadata = {
|
|
|
17021
17192
|
/**
|
|
17022
17193
|
* Uri template for the request builder.
|
|
17023
17194
|
*/
|
|
17024
|
-
const MembershipsRequestBuilderUriTemplate = "{+baseurl}/api/memberships{?expand}";
|
|
17195
|
+
const MembershipsRequestBuilderUriTemplate = "{+baseurl}/api/memberships{?after*,before*,expand,grantee*,granteeId*,limit*}";
|
|
17025
17196
|
/**
|
|
17026
17197
|
* Metadata for all the navigation properties in the request builder.
|
|
17027
17198
|
*/
|
|
@@ -17193,7 +17364,7 @@ const OwnersItemRequestBuilderRequestsMetadata = {
|
|
|
17193
17364
|
/**
|
|
17194
17365
|
* Uri template for the request builder.
|
|
17195
17366
|
*/
|
|
17196
|
-
const OwnersRequestBuilderUriTemplate = "{+baseurl}/api/owners{?after*,before*,expand,limit*,search*,stripeCustomerId*}";
|
|
17367
|
+
const OwnersRequestBuilderUriTemplate = "{+baseurl}/api/owners{?after*,before*,expand,limit*,search*,stripeCustomer*,stripeCustomerId*}";
|
|
17197
17368
|
/**
|
|
17198
17369
|
* Metadata for all the navigation properties in the request builder.
|
|
17199
17370
|
*/
|
|
@@ -17480,7 +17651,7 @@ const SaveRequestBuilderRequestsMetadata = {
|
|
|
17480
17651
|
/**
|
|
17481
17652
|
* Uri template for the request builder.
|
|
17482
17653
|
*/
|
|
17483
|
-
const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,productId,search*}";
|
|
17654
|
+
const PlansRequestBuilderUriTemplate = "{+baseurl}/api/plans{?after*,before*,currency*,expand,includeArchived*,includeFilterOptions*,interval*,intervalCount*,isActive*,limit*,product,productId,search*}";
|
|
17484
17655
|
/**
|
|
17485
17656
|
* Metadata for all the navigation properties in the request builder.
|
|
17486
17657
|
*/
|
|
@@ -18017,7 +18188,7 @@ const ReceiptsItemRequestBuilderRequestsMetadata = {
|
|
|
18017
18188
|
/**
|
|
18018
18189
|
* Uri template for the request builder.
|
|
18019
18190
|
*/
|
|
18020
|
-
const ReceiptsRequestBuilderUriTemplate = "{+baseurl}/api/receipts{?after*,before*,expand,limit*,lineItems,owner,search*,sort*,subscriptionId*}";
|
|
18191
|
+
const ReceiptsRequestBuilderUriTemplate = "{+baseurl}/api/receipts{?after*,before*,expand,limit*,lineItems,owner,search*,sort*,subscription*,subscriptionId*}";
|
|
18021
18192
|
/**
|
|
18022
18193
|
* Metadata for all the navigation properties in the request builder.
|
|
18023
18194
|
*/
|
|
@@ -19431,7 +19602,7 @@ function serializeSubscriptionsPostRequestBody_plans_metadata(writer, subscripti
|
|
|
19431
19602
|
/**
|
|
19432
19603
|
* Uri template for the request builder.
|
|
19433
19604
|
*/
|
|
19434
|
-
const SubscriptionsRequestBuilderUriTemplate = "{+baseurl}/api/subscriptions{?after*,before*,expand,id*,limit*,owner*,plans,priceId*,products,search*,sort*,status*,stripePriceId*}";
|
|
19605
|
+
const SubscriptionsRequestBuilderUriTemplate = "{+baseurl}/api/subscriptions{?after*,before*,expand,id*,limit*,owner*,plans,price*,priceId*,products,search*,sort*,status*,stripePrice*,stripePriceId*}";
|
|
19435
19606
|
/**
|
|
19436
19607
|
* Metadata for all the navigation properties in the request builder.
|
|
19437
19608
|
*/
|