@salable/sdk 1.0.29 → 1.0.30
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 +15 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/dist/sdk/api/subscriptionPlans/index.d.ts +4 -0
- package/dist/sdk/api/subscriptionPlans/item/index.d.ts +4 -0
- package/dist/sdk/models/index.d.ts +52 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -9563,6 +9563,7 @@ function deserializeIntoCreatePlanResponseSchema_data(createPlanResponseSchema_d
|
|
|
9563
9563
|
"createdAt": n => { createPlanResponseSchema_data.createdAt = n.getStringValue(); },
|
|
9564
9564
|
"id": n => { createPlanResponseSchema_data.id = n.getStringValue(); },
|
|
9565
9565
|
"isActive": n => { createPlanResponseSchema_data.isActive = n.getBooleanValue(); },
|
|
9566
|
+
"isPerpetual": n => { createPlanResponseSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
9566
9567
|
"name": n => { createPlanResponseSchema_data.name = n.getStringValue(); },
|
|
9567
9568
|
"organisation": n => { createPlanResponseSchema_data.organisation = n.getStringValue(); },
|
|
9568
9569
|
"productId": n => { createPlanResponseSchema_data.productId = n.getStringValue(); },
|
|
@@ -10120,6 +10121,7 @@ function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan(getCartDeta
|
|
|
10120
10121
|
"createdAt": n => { getCartDetailSchema_data_cartItems_data_plan.createdAt = n.getStringValue(); },
|
|
10121
10122
|
"id": n => { getCartDetailSchema_data_cartItems_data_plan.id = n.getStringValue(); },
|
|
10122
10123
|
"isActive": n => { getCartDetailSchema_data_cartItems_data_plan.isActive = n.getBooleanValue(); },
|
|
10124
|
+
"isPerpetual": n => { getCartDetailSchema_data_cartItems_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
10123
10125
|
"lineItems": n => { getCartDetailSchema_data_cartItems_data_plan.lineItems = n.getObjectValue(createGetCartDetailSchema_data_cartItems_data_plan_lineItemsFromDiscriminatorValue); },
|
|
10124
10126
|
"name": n => { getCartDetailSchema_data_cartItems_data_plan.name = n.getStringValue(); },
|
|
10125
10127
|
"organisation": n => { getCartDetailSchema_data_cartItems_data_plan.organisation = n.getStringValue(); },
|
|
@@ -11060,6 +11062,7 @@ function deserializeIntoGetGroupDetailSchema_data_subscriptionPlans_data_plan(ge
|
|
|
11060
11062
|
"entitlements": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.entitlements = n.getObjectValue(createGetGroupDetailSchema_data_subscriptionPlans_data_plan_entitlementsFromDiscriminatorValue); },
|
|
11061
11063
|
"id": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.id = n.getStringValue(); },
|
|
11062
11064
|
"isActive": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.isActive = n.getBooleanValue(); },
|
|
11065
|
+
"isPerpetual": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
11063
11066
|
"lineItems": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.lineItems = n.getObjectValue(createGetGroupDetailSchema_data_subscriptionPlans_data_plan_lineItemsFromDiscriminatorValue); },
|
|
11064
11067
|
"name": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.name = n.getStringValue(); },
|
|
11065
11068
|
"organisation": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.organisation = n.getStringValue(); },
|
|
@@ -11799,6 +11802,7 @@ function deserializeIntoGetPlanDetailSchema_data(getPlanDetailSchema_data = {})
|
|
|
11799
11802
|
"entitlements": n => { getPlanDetailSchema_data.entitlements = n.getObjectValue(createGetPlanDetailSchema_data_entitlementsFromDiscriminatorValue); },
|
|
11800
11803
|
"id": n => { getPlanDetailSchema_data.id = n.getStringValue(); },
|
|
11801
11804
|
"isActive": n => { getPlanDetailSchema_data.isActive = n.getBooleanValue(); },
|
|
11805
|
+
"isPerpetual": n => { getPlanDetailSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
11802
11806
|
"lineItems": n => { getPlanDetailSchema_data.lineItems = n.getObjectValue(createGetPlanDetailSchema_data_lineItemsFromDiscriminatorValue); },
|
|
11803
11807
|
"name": n => { getPlanDetailSchema_data.name = n.getStringValue(); },
|
|
11804
11808
|
"organisation": n => { getPlanDetailSchema_data.organisation = n.getStringValue(); },
|
|
@@ -12158,6 +12162,7 @@ function deserializeIntoGetPlanListSchema_data(getPlanListSchema_data = {}) {
|
|
|
12158
12162
|
"entitlements": n => { getPlanListSchema_data.entitlements = n.getObjectValue(createGetPlanListSchema_data_entitlementsFromDiscriminatorValue); },
|
|
12159
12163
|
"id": n => { getPlanListSchema_data.id = n.getStringValue(); },
|
|
12160
12164
|
"isActive": n => { getPlanListSchema_data.isActive = n.getBooleanValue(); },
|
|
12165
|
+
"isPerpetual": n => { getPlanListSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
12161
12166
|
"lineItems": n => { getPlanListSchema_data.lineItems = n.getObjectValue(createGetPlanListSchema_data_lineItemsFromDiscriminatorValue); },
|
|
12162
12167
|
"name": n => { getPlanListSchema_data.name = n.getStringValue(); },
|
|
12163
12168
|
"organisation": n => { getPlanListSchema_data.organisation = n.getStringValue(); },
|
|
@@ -12539,6 +12544,7 @@ function deserializeIntoGetProductDetailSchema_data_plans_data(getProductDetailS
|
|
|
12539
12544
|
"createdAt": n => { getProductDetailSchema_data_plans_data.createdAt = n.getStringValue(); },
|
|
12540
12545
|
"id": n => { getProductDetailSchema_data_plans_data.id = n.getStringValue(); },
|
|
12541
12546
|
"isActive": n => { getProductDetailSchema_data_plans_data.isActive = n.getBooleanValue(); },
|
|
12547
|
+
"isPerpetual": n => { getProductDetailSchema_data_plans_data.isPerpetual = n.getBooleanValue(); },
|
|
12542
12548
|
"name": n => { getProductDetailSchema_data_plans_data.name = n.getStringValue(); },
|
|
12543
12549
|
"organisation": n => { getProductDetailSchema_data_plans_data.organisation = n.getStringValue(); },
|
|
12544
12550
|
"productId": n => { getProductDetailSchema_data_plans_data.productId = n.getStringValue(); },
|
|
@@ -12629,6 +12635,7 @@ function deserializeIntoGetProductListSchema_data_plans_data(getProductListSchem
|
|
|
12629
12635
|
"createdAt": n => { getProductListSchema_data_plans_data.createdAt = n.getStringValue(); },
|
|
12630
12636
|
"id": n => { getProductListSchema_data_plans_data.id = n.getStringValue(); },
|
|
12631
12637
|
"isActive": n => { getProductListSchema_data_plans_data.isActive = n.getBooleanValue(); },
|
|
12638
|
+
"isPerpetual": n => { getProductListSchema_data_plans_data.isPerpetual = n.getBooleanValue(); },
|
|
12632
12639
|
"name": n => { getProductListSchema_data_plans_data.name = n.getStringValue(); },
|
|
12633
12640
|
"organisation": n => { getProductListSchema_data_plans_data.organisation = n.getStringValue(); },
|
|
12634
12641
|
"productId": n => { getProductListSchema_data_plans_data.productId = n.getStringValue(); },
|
|
@@ -12928,6 +12935,7 @@ function deserializeIntoGetSubscriptionDetailSchema_data_subscriptionPlans_data_
|
|
|
12928
12935
|
"createdAt": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.createdAt = n.getStringValue(); },
|
|
12929
12936
|
"id": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.id = n.getStringValue(); },
|
|
12930
12937
|
"isActive": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.isActive = n.getBooleanValue(); },
|
|
12938
|
+
"isPerpetual": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
12931
12939
|
"name": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.name = n.getStringValue(); },
|
|
12932
12940
|
"organisation": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.organisation = n.getStringValue(); },
|
|
12933
12941
|
"productId": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.productId = n.getStringValue(); },
|
|
@@ -13635,6 +13643,7 @@ function deserializeIntoGetSubscriptionListSchema_data_subscriptionPlans_data_pl
|
|
|
13635
13643
|
"createdAt": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.createdAt = n.getStringValue(); },
|
|
13636
13644
|
"id": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.id = n.getStringValue(); },
|
|
13637
13645
|
"isActive": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.isActive = n.getBooleanValue(); },
|
|
13646
|
+
"isPerpetual": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
13638
13647
|
"name": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.name = n.getStringValue(); },
|
|
13639
13648
|
"organisation": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.organisation = n.getStringValue(); },
|
|
13640
13649
|
"productId": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.productId = n.getStringValue(); },
|
|
@@ -14233,6 +14242,7 @@ function deserializeIntoSavePlanResponseSchema_data(savePlanResponseSchema_data
|
|
|
14233
14242
|
"entitlements": n => { savePlanResponseSchema_data.entitlements = n.getCollectionOfObjectValues(createSavePlanResponseSchema_data_entitlementsFromDiscriminatorValue); },
|
|
14234
14243
|
"id": n => { savePlanResponseSchema_data.id = n.getStringValue(); },
|
|
14235
14244
|
"isActive": n => { savePlanResponseSchema_data.isActive = n.getBooleanValue(); },
|
|
14245
|
+
"isPerpetual": n => { savePlanResponseSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
14236
14246
|
"lineItems": n => { savePlanResponseSchema_data.lineItems = n.getCollectionOfObjectValues(createSavePlanResponseSchema_data_lineItemsFromDiscriminatorValue); },
|
|
14237
14247
|
"name": n => { savePlanResponseSchema_data.name = n.getStringValue(); },
|
|
14238
14248
|
"organisation": n => { savePlanResponseSchema_data.organisation = n.getStringValue(); },
|
|
@@ -14446,6 +14456,7 @@ function deserializeIntoUpdatePlanResponseSchema_data(updatePlanResponseSchema_d
|
|
|
14446
14456
|
"createdAt": n => { updatePlanResponseSchema_data.createdAt = n.getStringValue(); },
|
|
14447
14457
|
"id": n => { updatePlanResponseSchema_data.id = n.getStringValue(); },
|
|
14448
14458
|
"isActive": n => { updatePlanResponseSchema_data.isActive = n.getBooleanValue(); },
|
|
14459
|
+
"isPerpetual": n => { updatePlanResponseSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
14449
14460
|
"name": n => { updatePlanResponseSchema_data.name = n.getStringValue(); },
|
|
14450
14461
|
"organisation": n => { updatePlanResponseSchema_data.organisation = n.getStringValue(); },
|
|
14451
14462
|
"productId": n => { updatePlanResponseSchema_data.productId = n.getStringValue(); },
|
|
@@ -14946,6 +14957,7 @@ function serializePlanRequestSchema(writer, planRequestSchema = {}, isSerializin
|
|
|
14946
14957
|
return;
|
|
14947
14958
|
}
|
|
14948
14959
|
writer.writeBooleanValue("isActive", planRequestSchema.isActive);
|
|
14960
|
+
writer.writeBooleanValue("isPerpetual", planRequestSchema.isPerpetual);
|
|
14949
14961
|
writer.writeStringValue("name", planRequestSchema.name);
|
|
14950
14962
|
writer.writeStringValue("tierTag", planRequestSchema.tierTag);
|
|
14951
14963
|
writer.writeNumberValue("trialPeriodDays", planRequestSchema.trialPeriodDays);
|
|
@@ -14980,6 +14992,7 @@ function serializeSavePlanRequestSchema(writer, savePlanRequestSchema = {}, isSe
|
|
|
14980
14992
|
writer.writeCollectionOfPrimitiveValues("entitlements", savePlanRequestSchema.entitlements);
|
|
14981
14993
|
writer.writeStringValue("id", savePlanRequestSchema.id);
|
|
14982
14994
|
writer.writeBooleanValue("isActive", savePlanRequestSchema.isActive);
|
|
14995
|
+
writer.writeBooleanValue("isPerpetual", savePlanRequestSchema.isPerpetual);
|
|
14983
14996
|
writer.writeCollectionOfObjectValues("lineItems", savePlanRequestSchema.lineItems, serializeSavePlanRequestSchema_lineItems);
|
|
14984
14997
|
writer.writeStringValue("name", savePlanRequestSchema.name);
|
|
14985
14998
|
writer.writeStringValue("productId", savePlanRequestSchema.productId);
|
|
@@ -18478,6 +18491,7 @@ function deserializeIntoSubscriptionPlansGetResponse_data_plan$1(subscriptionPla
|
|
|
18478
18491
|
"entitlements": n => { subscriptionPlansGetResponse_data_plan.entitlements = n.getObjectValue(createSubscriptionPlansGetResponse_data_plan_entitlementsFromDiscriminatorValue); },
|
|
18479
18492
|
"id": n => { subscriptionPlansGetResponse_data_plan.id = n.getStringValue(); },
|
|
18480
18493
|
"isActive": n => { subscriptionPlansGetResponse_data_plan.isActive = n.getBooleanValue(); },
|
|
18494
|
+
"isPerpetual": n => { subscriptionPlansGetResponse_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
18481
18495
|
"name": n => { subscriptionPlansGetResponse_data_plan.name = n.getStringValue(); },
|
|
18482
18496
|
"organisation": n => { subscriptionPlansGetResponse_data_plan.organisation = n.getStringValue(); },
|
|
18483
18497
|
"productId": n => { subscriptionPlansGetResponse_data_plan.productId = n.getStringValue(); },
|
|
@@ -18877,6 +18891,7 @@ function deserializeIntoSubscriptionPlansGetResponse_data_plan(subscriptionPlans
|
|
|
18877
18891
|
"createdAt": n => { subscriptionPlansGetResponse_data_plan.createdAt = n.getStringValue(); },
|
|
18878
18892
|
"id": n => { subscriptionPlansGetResponse_data_plan.id = n.getStringValue(); },
|
|
18879
18893
|
"isActive": n => { subscriptionPlansGetResponse_data_plan.isActive = n.getBooleanValue(); },
|
|
18894
|
+
"isPerpetual": n => { subscriptionPlansGetResponse_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
18880
18895
|
"name": n => { subscriptionPlansGetResponse_data_plan.name = n.getStringValue(); },
|
|
18881
18896
|
"organisation": n => { subscriptionPlansGetResponse_data_plan.organisation = n.getStringValue(); },
|
|
18882
18897
|
"productId": n => { subscriptionPlansGetResponse_data_plan.productId = n.getStringValue(); },
|