@salable/sdk 1.0.28 → 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 +22 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +22 -0
- package/dist/index.js.map +1 -1
- package/dist/sdk/api/subscriptionPlans/index.d.ts +8 -0
- package/dist/sdk/api/subscriptionPlans/item/index.d.ts +8 -0
- package/dist/sdk/models/index.d.ts +72 -0
- 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(); },
|
|
@@ -11034,6 +11036,7 @@ function deserializeIntoGetGroupDetailSchema_data_subscriptionPlans(getGroupDeta
|
|
|
11034
11036
|
function deserializeIntoGetGroupDetailSchema_data_subscriptionPlans_data(getGroupDetailSchema_data_subscriptionPlans_data = {}) {
|
|
11035
11037
|
return {
|
|
11036
11038
|
"createdAt": n => { getGroupDetailSchema_data_subscriptionPlans_data.createdAt = n.getStringValue(); },
|
|
11039
|
+
"expiryDate": n => { getGroupDetailSchema_data_subscriptionPlans_data.expiryDate = n.getStringValue(); },
|
|
11037
11040
|
"groupId": n => { getGroupDetailSchema_data_subscriptionPlans_data.groupId = n.getStringValue(); },
|
|
11038
11041
|
"id": n => { getGroupDetailSchema_data_subscriptionPlans_data.id = n.getStringValue(); },
|
|
11039
11042
|
"organisation": n => { getGroupDetailSchema_data_subscriptionPlans_data.organisation = n.getStringValue(); },
|
|
@@ -11061,6 +11064,7 @@ function deserializeIntoGetGroupDetailSchema_data_subscriptionPlans_data_plan(ge
|
|
|
11061
11064
|
"entitlements": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.entitlements = n.getObjectValue(createGetGroupDetailSchema_data_subscriptionPlans_data_plan_entitlementsFromDiscriminatorValue); },
|
|
11062
11065
|
"id": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.id = n.getStringValue(); },
|
|
11063
11066
|
"isActive": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.isActive = n.getBooleanValue(); },
|
|
11067
|
+
"isPerpetual": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
11064
11068
|
"lineItems": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.lineItems = n.getObjectValue(createGetGroupDetailSchema_data_subscriptionPlans_data_plan_lineItemsFromDiscriminatorValue); },
|
|
11065
11069
|
"name": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.name = n.getStringValue(); },
|
|
11066
11070
|
"organisation": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.organisation = n.getStringValue(); },
|
|
@@ -11800,6 +11804,7 @@ function deserializeIntoGetPlanDetailSchema_data(getPlanDetailSchema_data = {})
|
|
|
11800
11804
|
"entitlements": n => { getPlanDetailSchema_data.entitlements = n.getObjectValue(createGetPlanDetailSchema_data_entitlementsFromDiscriminatorValue); },
|
|
11801
11805
|
"id": n => { getPlanDetailSchema_data.id = n.getStringValue(); },
|
|
11802
11806
|
"isActive": n => { getPlanDetailSchema_data.isActive = n.getBooleanValue(); },
|
|
11807
|
+
"isPerpetual": n => { getPlanDetailSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
11803
11808
|
"lineItems": n => { getPlanDetailSchema_data.lineItems = n.getObjectValue(createGetPlanDetailSchema_data_lineItemsFromDiscriminatorValue); },
|
|
11804
11809
|
"name": n => { getPlanDetailSchema_data.name = n.getStringValue(); },
|
|
11805
11810
|
"organisation": n => { getPlanDetailSchema_data.organisation = n.getStringValue(); },
|
|
@@ -12040,6 +12045,7 @@ function deserializeIntoGetPlanDetailSchema_data_subscriptionPlans(getPlanDetail
|
|
|
12040
12045
|
function deserializeIntoGetPlanDetailSchema_data_subscriptionPlans_data(getPlanDetailSchema_data_subscriptionPlans_data = {}) {
|
|
12041
12046
|
return {
|
|
12042
12047
|
"createdAt": n => { getPlanDetailSchema_data_subscriptionPlans_data.createdAt = n.getStringValue(); },
|
|
12048
|
+
"expiryDate": n => { getPlanDetailSchema_data_subscriptionPlans_data.expiryDate = n.getStringValue(); },
|
|
12043
12049
|
"groupId": n => { getPlanDetailSchema_data_subscriptionPlans_data.groupId = n.getStringValue(); },
|
|
12044
12050
|
"id": n => { getPlanDetailSchema_data_subscriptionPlans_data.id = n.getStringValue(); },
|
|
12045
12051
|
"organisation": n => { getPlanDetailSchema_data_subscriptionPlans_data.organisation = n.getStringValue(); },
|
|
@@ -12158,6 +12164,7 @@ function deserializeIntoGetPlanListSchema_data(getPlanListSchema_data = {}) {
|
|
|
12158
12164
|
"entitlements": n => { getPlanListSchema_data.entitlements = n.getObjectValue(createGetPlanListSchema_data_entitlementsFromDiscriminatorValue); },
|
|
12159
12165
|
"id": n => { getPlanListSchema_data.id = n.getStringValue(); },
|
|
12160
12166
|
"isActive": n => { getPlanListSchema_data.isActive = n.getBooleanValue(); },
|
|
12167
|
+
"isPerpetual": n => { getPlanListSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
12161
12168
|
"lineItems": n => { getPlanListSchema_data.lineItems = n.getObjectValue(createGetPlanListSchema_data_lineItemsFromDiscriminatorValue); },
|
|
12162
12169
|
"name": n => { getPlanListSchema_data.name = n.getStringValue(); },
|
|
12163
12170
|
"organisation": n => { getPlanListSchema_data.organisation = n.getStringValue(); },
|
|
@@ -12539,6 +12546,7 @@ function deserializeIntoGetProductDetailSchema_data_plans_data(getProductDetailS
|
|
|
12539
12546
|
"createdAt": n => { getProductDetailSchema_data_plans_data.createdAt = n.getStringValue(); },
|
|
12540
12547
|
"id": n => { getProductDetailSchema_data_plans_data.id = n.getStringValue(); },
|
|
12541
12548
|
"isActive": n => { getProductDetailSchema_data_plans_data.isActive = n.getBooleanValue(); },
|
|
12549
|
+
"isPerpetual": n => { getProductDetailSchema_data_plans_data.isPerpetual = n.getBooleanValue(); },
|
|
12542
12550
|
"name": n => { getProductDetailSchema_data_plans_data.name = n.getStringValue(); },
|
|
12543
12551
|
"organisation": n => { getProductDetailSchema_data_plans_data.organisation = n.getStringValue(); },
|
|
12544
12552
|
"productId": n => { getProductDetailSchema_data_plans_data.productId = n.getStringValue(); },
|
|
@@ -12629,6 +12637,7 @@ function deserializeIntoGetProductListSchema_data_plans_data(getProductListSchem
|
|
|
12629
12637
|
"createdAt": n => { getProductListSchema_data_plans_data.createdAt = n.getStringValue(); },
|
|
12630
12638
|
"id": n => { getProductListSchema_data_plans_data.id = n.getStringValue(); },
|
|
12631
12639
|
"isActive": n => { getProductListSchema_data_plans_data.isActive = n.getBooleanValue(); },
|
|
12640
|
+
"isPerpetual": n => { getProductListSchema_data_plans_data.isPerpetual = n.getBooleanValue(); },
|
|
12632
12641
|
"name": n => { getProductListSchema_data_plans_data.name = n.getStringValue(); },
|
|
12633
12642
|
"organisation": n => { getProductListSchema_data_plans_data.organisation = n.getStringValue(); },
|
|
12634
12643
|
"productId": n => { getProductListSchema_data_plans_data.productId = n.getStringValue(); },
|
|
@@ -12903,6 +12912,7 @@ function deserializeIntoGetSubscriptionDetailSchema_data_subscriptionPlans(getSu
|
|
|
12903
12912
|
function deserializeIntoGetSubscriptionDetailSchema_data_subscriptionPlans_data(getSubscriptionDetailSchema_data_subscriptionPlans_data = {}) {
|
|
12904
12913
|
return {
|
|
12905
12914
|
"createdAt": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data.createdAt = n.getStringValue(); },
|
|
12915
|
+
"expiryDate": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data.expiryDate = n.getStringValue(); },
|
|
12906
12916
|
"groupId": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data.groupId = n.getStringValue(); },
|
|
12907
12917
|
"id": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data.id = n.getStringValue(); },
|
|
12908
12918
|
"organisation": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data.organisation = n.getStringValue(); },
|
|
@@ -12927,6 +12937,7 @@ function deserializeIntoGetSubscriptionDetailSchema_data_subscriptionPlans_data_
|
|
|
12927
12937
|
"createdAt": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.createdAt = n.getStringValue(); },
|
|
12928
12938
|
"id": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.id = n.getStringValue(); },
|
|
12929
12939
|
"isActive": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.isActive = n.getBooleanValue(); },
|
|
12940
|
+
"isPerpetual": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
12930
12941
|
"name": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.name = n.getStringValue(); },
|
|
12931
12942
|
"organisation": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.organisation = n.getStringValue(); },
|
|
12932
12943
|
"productId": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.productId = n.getStringValue(); },
|
|
@@ -13609,6 +13620,7 @@ function deserializeIntoGetSubscriptionListSchema_data_subscriptionPlans(getSubs
|
|
|
13609
13620
|
function deserializeIntoGetSubscriptionListSchema_data_subscriptionPlans_data(getSubscriptionListSchema_data_subscriptionPlans_data = {}) {
|
|
13610
13621
|
return {
|
|
13611
13622
|
"createdAt": n => { getSubscriptionListSchema_data_subscriptionPlans_data.createdAt = n.getStringValue(); },
|
|
13623
|
+
"expiryDate": n => { getSubscriptionListSchema_data_subscriptionPlans_data.expiryDate = n.getStringValue(); },
|
|
13612
13624
|
"groupId": n => { getSubscriptionListSchema_data_subscriptionPlans_data.groupId = n.getStringValue(); },
|
|
13613
13625
|
"id": n => { getSubscriptionListSchema_data_subscriptionPlans_data.id = n.getStringValue(); },
|
|
13614
13626
|
"organisation": n => { getSubscriptionListSchema_data_subscriptionPlans_data.organisation = n.getStringValue(); },
|
|
@@ -13633,6 +13645,7 @@ function deserializeIntoGetSubscriptionListSchema_data_subscriptionPlans_data_pl
|
|
|
13633
13645
|
"createdAt": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.createdAt = n.getStringValue(); },
|
|
13634
13646
|
"id": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.id = n.getStringValue(); },
|
|
13635
13647
|
"isActive": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.isActive = n.getBooleanValue(); },
|
|
13648
|
+
"isPerpetual": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
13636
13649
|
"name": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.name = n.getStringValue(); },
|
|
13637
13650
|
"organisation": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.organisation = n.getStringValue(); },
|
|
13638
13651
|
"productId": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.productId = n.getStringValue(); },
|
|
@@ -13869,6 +13882,7 @@ function deserializeIntoGetSubscriptionPlanLineItemSchema_data_lineItem_prices_d
|
|
|
13869
13882
|
function deserializeIntoGetSubscriptionPlanLineItemSchema_data_subscriptionPlan(getSubscriptionPlanLineItemSchema_data_subscriptionPlan = {}) {
|
|
13870
13883
|
return {
|
|
13871
13884
|
"createdAt": n => { getSubscriptionPlanLineItemSchema_data_subscriptionPlan.createdAt = n.getStringValue(); },
|
|
13885
|
+
"expiryDate": n => { getSubscriptionPlanLineItemSchema_data_subscriptionPlan.expiryDate = n.getStringValue(); },
|
|
13872
13886
|
"groupId": n => { getSubscriptionPlanLineItemSchema_data_subscriptionPlan.groupId = n.getStringValue(); },
|
|
13873
13887
|
"id": n => { getSubscriptionPlanLineItemSchema_data_subscriptionPlan.id = n.getStringValue(); },
|
|
13874
13888
|
"organisation": n => { getSubscriptionPlanLineItemSchema_data_subscriptionPlan.organisation = n.getStringValue(); },
|
|
@@ -14230,6 +14244,7 @@ function deserializeIntoSavePlanResponseSchema_data(savePlanResponseSchema_data
|
|
|
14230
14244
|
"entitlements": n => { savePlanResponseSchema_data.entitlements = n.getCollectionOfObjectValues(createSavePlanResponseSchema_data_entitlementsFromDiscriminatorValue); },
|
|
14231
14245
|
"id": n => { savePlanResponseSchema_data.id = n.getStringValue(); },
|
|
14232
14246
|
"isActive": n => { savePlanResponseSchema_data.isActive = n.getBooleanValue(); },
|
|
14247
|
+
"isPerpetual": n => { savePlanResponseSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
14233
14248
|
"lineItems": n => { savePlanResponseSchema_data.lineItems = n.getCollectionOfObjectValues(createSavePlanResponseSchema_data_lineItemsFromDiscriminatorValue); },
|
|
14234
14249
|
"name": n => { savePlanResponseSchema_data.name = n.getStringValue(); },
|
|
14235
14250
|
"organisation": n => { savePlanResponseSchema_data.organisation = n.getStringValue(); },
|
|
@@ -14443,6 +14458,7 @@ function deserializeIntoUpdatePlanResponseSchema_data(updatePlanResponseSchema_d
|
|
|
14443
14458
|
"createdAt": n => { updatePlanResponseSchema_data.createdAt = n.getStringValue(); },
|
|
14444
14459
|
"id": n => { updatePlanResponseSchema_data.id = n.getStringValue(); },
|
|
14445
14460
|
"isActive": n => { updatePlanResponseSchema_data.isActive = n.getBooleanValue(); },
|
|
14461
|
+
"isPerpetual": n => { updatePlanResponseSchema_data.isPerpetual = n.getBooleanValue(); },
|
|
14446
14462
|
"name": n => { updatePlanResponseSchema_data.name = n.getStringValue(); },
|
|
14447
14463
|
"organisation": n => { updatePlanResponseSchema_data.organisation = n.getStringValue(); },
|
|
14448
14464
|
"productId": n => { updatePlanResponseSchema_data.productId = n.getStringValue(); },
|
|
@@ -14943,6 +14959,7 @@ function serializePlanRequestSchema(writer, planRequestSchema = {}, isSerializin
|
|
|
14943
14959
|
return;
|
|
14944
14960
|
}
|
|
14945
14961
|
writer.writeBooleanValue("isActive", planRequestSchema.isActive);
|
|
14962
|
+
writer.writeBooleanValue("isPerpetual", planRequestSchema.isPerpetual);
|
|
14946
14963
|
writer.writeStringValue("name", planRequestSchema.name);
|
|
14947
14964
|
writer.writeStringValue("tierTag", planRequestSchema.tierTag);
|
|
14948
14965
|
writer.writeNumberValue("trialPeriodDays", planRequestSchema.trialPeriodDays);
|
|
@@ -14977,6 +14994,7 @@ function serializeSavePlanRequestSchema(writer, savePlanRequestSchema = {}, isSe
|
|
|
14977
14994
|
writer.writeCollectionOfPrimitiveValues("entitlements", savePlanRequestSchema.entitlements);
|
|
14978
14995
|
writer.writeStringValue("id", savePlanRequestSchema.id);
|
|
14979
14996
|
writer.writeBooleanValue("isActive", savePlanRequestSchema.isActive);
|
|
14997
|
+
writer.writeBooleanValue("isPerpetual", savePlanRequestSchema.isPerpetual);
|
|
14980
14998
|
writer.writeCollectionOfObjectValues("lineItems", savePlanRequestSchema.lineItems, serializeSavePlanRequestSchema_lineItems);
|
|
14981
14999
|
writer.writeStringValue("name", savePlanRequestSchema.name);
|
|
14982
15000
|
writer.writeStringValue("productId", savePlanRequestSchema.productId);
|
|
@@ -18412,6 +18430,7 @@ function deserializeIntoSubscriptionPlansGetResponse$1(subscriptionPlansGetRespo
|
|
|
18412
18430
|
function deserializeIntoSubscriptionPlansGetResponse_data$1(subscriptionPlansGetResponse_data = {}) {
|
|
18413
18431
|
return {
|
|
18414
18432
|
"createdAt": n => { subscriptionPlansGetResponse_data.createdAt = n.getStringValue(); },
|
|
18433
|
+
"expiryDate": n => { subscriptionPlansGetResponse_data.expiryDate = n.getStringValue(); },
|
|
18415
18434
|
"group": n => { subscriptionPlansGetResponse_data.group = n.getObjectValue(createSubscriptionPlansGetResponse_data_groupFromDiscriminatorValue); },
|
|
18416
18435
|
"groupId": n => { subscriptionPlansGetResponse_data.groupId = n.getStringValue(); },
|
|
18417
18436
|
"id": n => { subscriptionPlansGetResponse_data.id = n.getStringValue(); },
|
|
@@ -18474,6 +18493,7 @@ function deserializeIntoSubscriptionPlansGetResponse_data_plan$1(subscriptionPla
|
|
|
18474
18493
|
"entitlements": n => { subscriptionPlansGetResponse_data_plan.entitlements = n.getObjectValue(createSubscriptionPlansGetResponse_data_plan_entitlementsFromDiscriminatorValue); },
|
|
18475
18494
|
"id": n => { subscriptionPlansGetResponse_data_plan.id = n.getStringValue(); },
|
|
18476
18495
|
"isActive": n => { subscriptionPlansGetResponse_data_plan.isActive = n.getBooleanValue(); },
|
|
18496
|
+
"isPerpetual": n => { subscriptionPlansGetResponse_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
18477
18497
|
"name": n => { subscriptionPlansGetResponse_data_plan.name = n.getStringValue(); },
|
|
18478
18498
|
"organisation": n => { subscriptionPlansGetResponse_data_plan.organisation = n.getStringValue(); },
|
|
18479
18499
|
"productId": n => { subscriptionPlansGetResponse_data_plan.productId = n.getStringValue(); },
|
|
@@ -18847,6 +18867,7 @@ function deserializeIntoSubscriptionPlansGetResponse(subscriptionPlansGetRespons
|
|
|
18847
18867
|
function deserializeIntoSubscriptionPlansGetResponse_data(subscriptionPlansGetResponse_data = {}) {
|
|
18848
18868
|
return {
|
|
18849
18869
|
"createdAt": n => { subscriptionPlansGetResponse_data.createdAt = n.getStringValue(); },
|
|
18870
|
+
"expiryDate": n => { subscriptionPlansGetResponse_data.expiryDate = n.getStringValue(); },
|
|
18850
18871
|
"groupId": n => { subscriptionPlansGetResponse_data.groupId = n.getStringValue(); },
|
|
18851
18872
|
"id": n => { subscriptionPlansGetResponse_data.id = n.getStringValue(); },
|
|
18852
18873
|
"organisation": n => { subscriptionPlansGetResponse_data.organisation = n.getStringValue(); },
|
|
@@ -18872,6 +18893,7 @@ function deserializeIntoSubscriptionPlansGetResponse_data_plan(subscriptionPlans
|
|
|
18872
18893
|
"createdAt": n => { subscriptionPlansGetResponse_data_plan.createdAt = n.getStringValue(); },
|
|
18873
18894
|
"id": n => { subscriptionPlansGetResponse_data_plan.id = n.getStringValue(); },
|
|
18874
18895
|
"isActive": n => { subscriptionPlansGetResponse_data_plan.isActive = n.getBooleanValue(); },
|
|
18896
|
+
"isPerpetual": n => { subscriptionPlansGetResponse_data_plan.isPerpetual = n.getBooleanValue(); },
|
|
18875
18897
|
"name": n => { subscriptionPlansGetResponse_data_plan.name = n.getStringValue(); },
|
|
18876
18898
|
"organisation": n => { subscriptionPlansGetResponse_data_plan.organisation = n.getStringValue(); },
|
|
18877
18899
|
"productId": n => { subscriptionPlansGetResponse_data_plan.productId = n.getStringValue(); },
|