@salable/sdk 1.0.29 → 1.0.31
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/api/subscriptions/index.d.ts +1 -1
- package/dist/sdk/models/index.d.ts +53 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9565,6 +9565,7 @@ function deserializeIntoCreatePlanResponseSchema_data(createPlanResponseSchema_d
|
|
|
9565
9565
|
"createdAt": n => { createPlanResponseSchema_data.createdAt = n.getStringValue(); },
|
|
9566
9566
|
"id": n => { createPlanResponseSchema_data.id = n.getStringValue(); },
|
|
9567
9567
|
"isActive": n => { createPlanResponseSchema_data.isActive = n.getBooleanValue(); },
|
|
9568
|
+
"isPerpetual": n => { createPlanResponseSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
9568
9569
|
"name": n => { createPlanResponseSchema_data.name = n.getStringValue(); },
|
|
9569
9570
|
"organisation": n => { createPlanResponseSchema_data.organisation = n.getStringValue(); },
|
|
9570
9571
|
"productId": n => { createPlanResponseSchema_data.productId = n.getStringValue(); },
|
|
@@ -10122,6 +10123,7 @@ function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan(getCartDeta
|
|
|
10122
10123
|
"createdAt": n => { getCartDetailSchema_data_cartItems_data_plan.createdAt = n.getStringValue(); },
|
|
10123
10124
|
"id": n => { getCartDetailSchema_data_cartItems_data_plan.id = n.getStringValue(); },
|
|
10124
10125
|
"isActive": n => { getCartDetailSchema_data_cartItems_data_plan.isActive = n.getBooleanValue(); },
|
|
10126
|
+
"isPerpetual": n => { getCartDetailSchema_data_cartItems_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
10125
10127
|
"lineItems": n => { getCartDetailSchema_data_cartItems_data_plan.lineItems = n.getObjectValue(createGetCartDetailSchema_data_cartItems_data_plan_lineItemsFromDiscriminatorValue); },
|
|
10126
10128
|
"name": n => { getCartDetailSchema_data_cartItems_data_plan.name = n.getStringValue(); },
|
|
10127
10129
|
"organisation": n => { getCartDetailSchema_data_cartItems_data_plan.organisation = n.getStringValue(); },
|
|
@@ -11062,6 +11064,7 @@ function deserializeIntoGetGroupDetailSchema_data_subscriptionPlans_data_plan(ge
|
|
|
11062
11064
|
"entitlements": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.entitlements = n.getObjectValue(createGetGroupDetailSchema_data_subscriptionPlans_data_plan_entitlementsFromDiscriminatorValue); },
|
|
11063
11065
|
"id": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.id = n.getStringValue(); },
|
|
11064
11066
|
"isActive": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.isActive = n.getBooleanValue(); },
|
|
11067
|
+
"isPerpetual": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
11065
11068
|
"lineItems": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.lineItems = n.getObjectValue(createGetGroupDetailSchema_data_subscriptionPlans_data_plan_lineItemsFromDiscriminatorValue); },
|
|
11066
11069
|
"name": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.name = n.getStringValue(); },
|
|
11067
11070
|
"organisation": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.organisation = n.getStringValue(); },
|
|
@@ -11801,6 +11804,7 @@ function deserializeIntoGetPlanDetailSchema_data(getPlanDetailSchema_data = {})
|
|
|
11801
11804
|
"entitlements": n => { getPlanDetailSchema_data.entitlements = n.getObjectValue(createGetPlanDetailSchema_data_entitlementsFromDiscriminatorValue); },
|
|
11802
11805
|
"id": n => { getPlanDetailSchema_data.id = n.getStringValue(); },
|
|
11803
11806
|
"isActive": n => { getPlanDetailSchema_data.isActive = n.getBooleanValue(); },
|
|
11807
|
+
"isPerpetual": n => { getPlanDetailSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
11804
11808
|
"lineItems": n => { getPlanDetailSchema_data.lineItems = n.getObjectValue(createGetPlanDetailSchema_data_lineItemsFromDiscriminatorValue); },
|
|
11805
11809
|
"name": n => { getPlanDetailSchema_data.name = n.getStringValue(); },
|
|
11806
11810
|
"organisation": n => { getPlanDetailSchema_data.organisation = n.getStringValue(); },
|
|
@@ -12160,6 +12164,7 @@ function deserializeIntoGetPlanListSchema_data(getPlanListSchema_data = {}) {
|
|
|
12160
12164
|
"entitlements": n => { getPlanListSchema_data.entitlements = n.getObjectValue(createGetPlanListSchema_data_entitlementsFromDiscriminatorValue); },
|
|
12161
12165
|
"id": n => { getPlanListSchema_data.id = n.getStringValue(); },
|
|
12162
12166
|
"isActive": n => { getPlanListSchema_data.isActive = n.getBooleanValue(); },
|
|
12167
|
+
"isPerpetual": n => { getPlanListSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
12163
12168
|
"lineItems": n => { getPlanListSchema_data.lineItems = n.getObjectValue(createGetPlanListSchema_data_lineItemsFromDiscriminatorValue); },
|
|
12164
12169
|
"name": n => { getPlanListSchema_data.name = n.getStringValue(); },
|
|
12165
12170
|
"organisation": n => { getPlanListSchema_data.organisation = n.getStringValue(); },
|
|
@@ -12541,6 +12546,7 @@ function deserializeIntoGetProductDetailSchema_data_plans_data(getProductDetailS
|
|
|
12541
12546
|
"createdAt": n => { getProductDetailSchema_data_plans_data.createdAt = n.getStringValue(); },
|
|
12542
12547
|
"id": n => { getProductDetailSchema_data_plans_data.id = n.getStringValue(); },
|
|
12543
12548
|
"isActive": n => { getProductDetailSchema_data_plans_data.isActive = n.getBooleanValue(); },
|
|
12549
|
+
"isPerpetual": n => { getProductDetailSchema_data_plans_data.isPerpetual = n.getBooleanValue(); },
|
|
12544
12550
|
"name": n => { getProductDetailSchema_data_plans_data.name = n.getStringValue(); },
|
|
12545
12551
|
"organisation": n => { getProductDetailSchema_data_plans_data.organisation = n.getStringValue(); },
|
|
12546
12552
|
"productId": n => { getProductDetailSchema_data_plans_data.productId = n.getStringValue(); },
|
|
@@ -12631,6 +12637,7 @@ function deserializeIntoGetProductListSchema_data_plans_data(getProductListSchem
|
|
|
12631
12637
|
"createdAt": n => { getProductListSchema_data_plans_data.createdAt = n.getStringValue(); },
|
|
12632
12638
|
"id": n => { getProductListSchema_data_plans_data.id = n.getStringValue(); },
|
|
12633
12639
|
"isActive": n => { getProductListSchema_data_plans_data.isActive = n.getBooleanValue(); },
|
|
12640
|
+
"isPerpetual": n => { getProductListSchema_data_plans_data.isPerpetual = n.getBooleanValue(); },
|
|
12634
12641
|
"name": n => { getProductListSchema_data_plans_data.name = n.getStringValue(); },
|
|
12635
12642
|
"organisation": n => { getProductListSchema_data_plans_data.organisation = n.getStringValue(); },
|
|
12636
12643
|
"productId": n => { getProductListSchema_data_plans_data.productId = n.getStringValue(); },
|
|
@@ -12930,6 +12937,7 @@ function deserializeIntoGetSubscriptionDetailSchema_data_subscriptionPlans_data_
|
|
|
12930
12937
|
"createdAt": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.createdAt = n.getStringValue(); },
|
|
12931
12938
|
"id": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.id = n.getStringValue(); },
|
|
12932
12939
|
"isActive": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.isActive = n.getBooleanValue(); },
|
|
12940
|
+
"isPerpetual": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
12933
12941
|
"name": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.name = n.getStringValue(); },
|
|
12934
12942
|
"organisation": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.organisation = n.getStringValue(); },
|
|
12935
12943
|
"productId": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.productId = n.getStringValue(); },
|
|
@@ -13637,6 +13645,7 @@ function deserializeIntoGetSubscriptionListSchema_data_subscriptionPlans_data_pl
|
|
|
13637
13645
|
"createdAt": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.createdAt = n.getStringValue(); },
|
|
13638
13646
|
"id": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.id = n.getStringValue(); },
|
|
13639
13647
|
"isActive": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.isActive = n.getBooleanValue(); },
|
|
13648
|
+
"isPerpetual": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
13640
13649
|
"name": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.name = n.getStringValue(); },
|
|
13641
13650
|
"organisation": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.organisation = n.getStringValue(); },
|
|
13642
13651
|
"productId": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.productId = n.getStringValue(); },
|
|
@@ -14235,6 +14244,7 @@ function deserializeIntoSavePlanResponseSchema_data(savePlanResponseSchema_data
|
|
|
14235
14244
|
"entitlements": n => { savePlanResponseSchema_data.entitlements = n.getCollectionOfObjectValues(createSavePlanResponseSchema_data_entitlementsFromDiscriminatorValue); },
|
|
14236
14245
|
"id": n => { savePlanResponseSchema_data.id = n.getStringValue(); },
|
|
14237
14246
|
"isActive": n => { savePlanResponseSchema_data.isActive = n.getBooleanValue(); },
|
|
14247
|
+
"isPerpetual": n => { savePlanResponseSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
14238
14248
|
"lineItems": n => { savePlanResponseSchema_data.lineItems = n.getCollectionOfObjectValues(createSavePlanResponseSchema_data_lineItemsFromDiscriminatorValue); },
|
|
14239
14249
|
"name": n => { savePlanResponseSchema_data.name = n.getStringValue(); },
|
|
14240
14250
|
"organisation": n => { savePlanResponseSchema_data.organisation = n.getStringValue(); },
|
|
@@ -14448,6 +14458,7 @@ function deserializeIntoUpdatePlanResponseSchema_data(updatePlanResponseSchema_d
|
|
|
14448
14458
|
"createdAt": n => { updatePlanResponseSchema_data.createdAt = n.getStringValue(); },
|
|
14449
14459
|
"id": n => { updatePlanResponseSchema_data.id = n.getStringValue(); },
|
|
14450
14460
|
"isActive": n => { updatePlanResponseSchema_data.isActive = n.getBooleanValue(); },
|
|
14461
|
+
"isPerpetual": n => { updatePlanResponseSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
14451
14462
|
"name": n => { updatePlanResponseSchema_data.name = n.getStringValue(); },
|
|
14452
14463
|
"organisation": n => { updatePlanResponseSchema_data.organisation = n.getStringValue(); },
|
|
14453
14464
|
"productId": n => { updatePlanResponseSchema_data.productId = n.getStringValue(); },
|
|
@@ -14948,6 +14959,7 @@ function serializePlanRequestSchema(writer, planRequestSchema = {}, isSerializin
|
|
|
14948
14959
|
return;
|
|
14949
14960
|
}
|
|
14950
14961
|
writer.writeBooleanValue("isActive", planRequestSchema.isActive);
|
|
14962
|
+
writer.writeBooleanValue("isPerpetual", planRequestSchema.isPerpetual);
|
|
14951
14963
|
writer.writeStringValue("name", planRequestSchema.name);
|
|
14952
14964
|
writer.writeStringValue("tierTag", planRequestSchema.tierTag);
|
|
14953
14965
|
writer.writeNumberValue("trialPeriodDays", planRequestSchema.trialPeriodDays);
|
|
@@ -14982,6 +14994,7 @@ function serializeSavePlanRequestSchema(writer, savePlanRequestSchema = {}, isSe
|
|
|
14982
14994
|
writer.writeCollectionOfPrimitiveValues("entitlements", savePlanRequestSchema.entitlements);
|
|
14983
14995
|
writer.writeStringValue("id", savePlanRequestSchema.id);
|
|
14984
14996
|
writer.writeBooleanValue("isActive", savePlanRequestSchema.isActive);
|
|
14997
|
+
writer.writeBooleanValue("isPerpetual", savePlanRequestSchema.isPerpetual);
|
|
14985
14998
|
writer.writeCollectionOfObjectValues("lineItems", savePlanRequestSchema.lineItems, serializeSavePlanRequestSchema_lineItems);
|
|
14986
14999
|
writer.writeStringValue("name", savePlanRequestSchema.name);
|
|
14987
15000
|
writer.writeStringValue("productId", savePlanRequestSchema.productId);
|
|
@@ -18480,6 +18493,7 @@ function deserializeIntoSubscriptionPlansGetResponse_data_plan$1(subscriptionPla
|
|
|
18480
18493
|
"entitlements": n => { subscriptionPlansGetResponse_data_plan.entitlements = n.getObjectValue(createSubscriptionPlansGetResponse_data_plan_entitlementsFromDiscriminatorValue); },
|
|
18481
18494
|
"id": n => { subscriptionPlansGetResponse_data_plan.id = n.getStringValue(); },
|
|
18482
18495
|
"isActive": n => { subscriptionPlansGetResponse_data_plan.isActive = n.getBooleanValue(); },
|
|
18496
|
+
"isPerpetual": n => { subscriptionPlansGetResponse_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
18483
18497
|
"name": n => { subscriptionPlansGetResponse_data_plan.name = n.getStringValue(); },
|
|
18484
18498
|
"organisation": n => { subscriptionPlansGetResponse_data_plan.organisation = n.getStringValue(); },
|
|
18485
18499
|
"productId": n => { subscriptionPlansGetResponse_data_plan.productId = n.getStringValue(); },
|
|
@@ -18879,6 +18893,7 @@ function deserializeIntoSubscriptionPlansGetResponse_data_plan(subscriptionPlans
|
|
|
18879
18893
|
"createdAt": n => { subscriptionPlansGetResponse_data_plan.createdAt = n.getStringValue(); },
|
|
18880
18894
|
"id": n => { subscriptionPlansGetResponse_data_plan.id = n.getStringValue(); },
|
|
18881
18895
|
"isActive": n => { subscriptionPlansGetResponse_data_plan.isActive = n.getBooleanValue(); },
|
|
18896
|
+
"isPerpetual": n => { subscriptionPlansGetResponse_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
18882
18897
|
"name": n => { subscriptionPlansGetResponse_data_plan.name = n.getStringValue(); },
|
|
18883
18898
|
"organisation": n => { subscriptionPlansGetResponse_data_plan.organisation = n.getStringValue(); },
|
|
18884
18899
|
"productId": n => { subscriptionPlansGetResponse_data_plan.productId = n.getStringValue(); },
|