@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 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(); },
@@ -11032,6 +11034,7 @@ function deserializeIntoGetGroupDetailSchema_data_subscriptionPlans(getGroupDeta
11032
11034
  function deserializeIntoGetGroupDetailSchema_data_subscriptionPlans_data(getGroupDetailSchema_data_subscriptionPlans_data = {}) {
11033
11035
  return {
11034
11036
  "createdAt": n => { getGroupDetailSchema_data_subscriptionPlans_data.createdAt = n.getStringValue(); },
11037
+ "expiryDate": n => { getGroupDetailSchema_data_subscriptionPlans_data.expiryDate = n.getStringValue(); },
11035
11038
  "groupId": n => { getGroupDetailSchema_data_subscriptionPlans_data.groupId = n.getStringValue(); },
11036
11039
  "id": n => { getGroupDetailSchema_data_subscriptionPlans_data.id = n.getStringValue(); },
11037
11040
  "organisation": n => { getGroupDetailSchema_data_subscriptionPlans_data.organisation = n.getStringValue(); },
@@ -11059,6 +11062,7 @@ function deserializeIntoGetGroupDetailSchema_data_subscriptionPlans_data_plan(ge
11059
11062
  "entitlements": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.entitlements = n.getObjectValue(createGetGroupDetailSchema_data_subscriptionPlans_data_plan_entitlementsFromDiscriminatorValue); },
11060
11063
  "id": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.id = n.getStringValue(); },
11061
11064
  "isActive": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.isActive = n.getBooleanValue(); },
11065
+ "isPerpetual": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.isPerpetual = n.getBooleanValue(); },
11062
11066
  "lineItems": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.lineItems = n.getObjectValue(createGetGroupDetailSchema_data_subscriptionPlans_data_plan_lineItemsFromDiscriminatorValue); },
11063
11067
  "name": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.name = n.getStringValue(); },
11064
11068
  "organisation": n => { getGroupDetailSchema_data_subscriptionPlans_data_plan.organisation = n.getStringValue(); },
@@ -11798,6 +11802,7 @@ function deserializeIntoGetPlanDetailSchema_data(getPlanDetailSchema_data = {})
11798
11802
  "entitlements": n => { getPlanDetailSchema_data.entitlements = n.getObjectValue(createGetPlanDetailSchema_data_entitlementsFromDiscriminatorValue); },
11799
11803
  "id": n => { getPlanDetailSchema_data.id = n.getStringValue(); },
11800
11804
  "isActive": n => { getPlanDetailSchema_data.isActive = n.getBooleanValue(); },
11805
+ "isPerpetual": n => { getPlanDetailSchema_data.isPerpetual = n.getBooleanValue(); },
11801
11806
  "lineItems": n => { getPlanDetailSchema_data.lineItems = n.getObjectValue(createGetPlanDetailSchema_data_lineItemsFromDiscriminatorValue); },
11802
11807
  "name": n => { getPlanDetailSchema_data.name = n.getStringValue(); },
11803
11808
  "organisation": n => { getPlanDetailSchema_data.organisation = n.getStringValue(); },
@@ -12038,6 +12043,7 @@ function deserializeIntoGetPlanDetailSchema_data_subscriptionPlans(getPlanDetail
12038
12043
  function deserializeIntoGetPlanDetailSchema_data_subscriptionPlans_data(getPlanDetailSchema_data_subscriptionPlans_data = {}) {
12039
12044
  return {
12040
12045
  "createdAt": n => { getPlanDetailSchema_data_subscriptionPlans_data.createdAt = n.getStringValue(); },
12046
+ "expiryDate": n => { getPlanDetailSchema_data_subscriptionPlans_data.expiryDate = n.getStringValue(); },
12041
12047
  "groupId": n => { getPlanDetailSchema_data_subscriptionPlans_data.groupId = n.getStringValue(); },
12042
12048
  "id": n => { getPlanDetailSchema_data_subscriptionPlans_data.id = n.getStringValue(); },
12043
12049
  "organisation": n => { getPlanDetailSchema_data_subscriptionPlans_data.organisation = n.getStringValue(); },
@@ -12156,6 +12162,7 @@ function deserializeIntoGetPlanListSchema_data(getPlanListSchema_data = {}) {
12156
12162
  "entitlements": n => { getPlanListSchema_data.entitlements = n.getObjectValue(createGetPlanListSchema_data_entitlementsFromDiscriminatorValue); },
12157
12163
  "id": n => { getPlanListSchema_data.id = n.getStringValue(); },
12158
12164
  "isActive": n => { getPlanListSchema_data.isActive = n.getBooleanValue(); },
12165
+ "isPerpetual": n => { getPlanListSchema_data.isPerpetual = n.getBooleanValue(); },
12159
12166
  "lineItems": n => { getPlanListSchema_data.lineItems = n.getObjectValue(createGetPlanListSchema_data_lineItemsFromDiscriminatorValue); },
12160
12167
  "name": n => { getPlanListSchema_data.name = n.getStringValue(); },
12161
12168
  "organisation": n => { getPlanListSchema_data.organisation = n.getStringValue(); },
@@ -12537,6 +12544,7 @@ function deserializeIntoGetProductDetailSchema_data_plans_data(getProductDetailS
12537
12544
  "createdAt": n => { getProductDetailSchema_data_plans_data.createdAt = n.getStringValue(); },
12538
12545
  "id": n => { getProductDetailSchema_data_plans_data.id = n.getStringValue(); },
12539
12546
  "isActive": n => { getProductDetailSchema_data_plans_data.isActive = n.getBooleanValue(); },
12547
+ "isPerpetual": n => { getProductDetailSchema_data_plans_data.isPerpetual = n.getBooleanValue(); },
12540
12548
  "name": n => { getProductDetailSchema_data_plans_data.name = n.getStringValue(); },
12541
12549
  "organisation": n => { getProductDetailSchema_data_plans_data.organisation = n.getStringValue(); },
12542
12550
  "productId": n => { getProductDetailSchema_data_plans_data.productId = n.getStringValue(); },
@@ -12627,6 +12635,7 @@ function deserializeIntoGetProductListSchema_data_plans_data(getProductListSchem
12627
12635
  "createdAt": n => { getProductListSchema_data_plans_data.createdAt = n.getStringValue(); },
12628
12636
  "id": n => { getProductListSchema_data_plans_data.id = n.getStringValue(); },
12629
12637
  "isActive": n => { getProductListSchema_data_plans_data.isActive = n.getBooleanValue(); },
12638
+ "isPerpetual": n => { getProductListSchema_data_plans_data.isPerpetual = n.getBooleanValue(); },
12630
12639
  "name": n => { getProductListSchema_data_plans_data.name = n.getStringValue(); },
12631
12640
  "organisation": n => { getProductListSchema_data_plans_data.organisation = n.getStringValue(); },
12632
12641
  "productId": n => { getProductListSchema_data_plans_data.productId = n.getStringValue(); },
@@ -12901,6 +12910,7 @@ function deserializeIntoGetSubscriptionDetailSchema_data_subscriptionPlans(getSu
12901
12910
  function deserializeIntoGetSubscriptionDetailSchema_data_subscriptionPlans_data(getSubscriptionDetailSchema_data_subscriptionPlans_data = {}) {
12902
12911
  return {
12903
12912
  "createdAt": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data.createdAt = n.getStringValue(); },
12913
+ "expiryDate": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data.expiryDate = n.getStringValue(); },
12904
12914
  "groupId": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data.groupId = n.getStringValue(); },
12905
12915
  "id": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data.id = n.getStringValue(); },
12906
12916
  "organisation": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data.organisation = n.getStringValue(); },
@@ -12925,6 +12935,7 @@ function deserializeIntoGetSubscriptionDetailSchema_data_subscriptionPlans_data_
12925
12935
  "createdAt": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.createdAt = n.getStringValue(); },
12926
12936
  "id": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.id = n.getStringValue(); },
12927
12937
  "isActive": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.isActive = n.getBooleanValue(); },
12938
+ "isPerpetual": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.isPerpetual = n.getBooleanValue(); },
12928
12939
  "name": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.name = n.getStringValue(); },
12929
12940
  "organisation": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.organisation = n.getStringValue(); },
12930
12941
  "productId": n => { getSubscriptionDetailSchema_data_subscriptionPlans_data_plan.productId = n.getStringValue(); },
@@ -13607,6 +13618,7 @@ function deserializeIntoGetSubscriptionListSchema_data_subscriptionPlans(getSubs
13607
13618
  function deserializeIntoGetSubscriptionListSchema_data_subscriptionPlans_data(getSubscriptionListSchema_data_subscriptionPlans_data = {}) {
13608
13619
  return {
13609
13620
  "createdAt": n => { getSubscriptionListSchema_data_subscriptionPlans_data.createdAt = n.getStringValue(); },
13621
+ "expiryDate": n => { getSubscriptionListSchema_data_subscriptionPlans_data.expiryDate = n.getStringValue(); },
13610
13622
  "groupId": n => { getSubscriptionListSchema_data_subscriptionPlans_data.groupId = n.getStringValue(); },
13611
13623
  "id": n => { getSubscriptionListSchema_data_subscriptionPlans_data.id = n.getStringValue(); },
13612
13624
  "organisation": n => { getSubscriptionListSchema_data_subscriptionPlans_data.organisation = n.getStringValue(); },
@@ -13631,6 +13643,7 @@ function deserializeIntoGetSubscriptionListSchema_data_subscriptionPlans_data_pl
13631
13643
  "createdAt": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.createdAt = n.getStringValue(); },
13632
13644
  "id": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.id = n.getStringValue(); },
13633
13645
  "isActive": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.isActive = n.getBooleanValue(); },
13646
+ "isPerpetual": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.isPerpetual = n.getBooleanValue(); },
13634
13647
  "name": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.name = n.getStringValue(); },
13635
13648
  "organisation": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.organisation = n.getStringValue(); },
13636
13649
  "productId": n => { getSubscriptionListSchema_data_subscriptionPlans_data_plan.productId = n.getStringValue(); },
@@ -13867,6 +13880,7 @@ function deserializeIntoGetSubscriptionPlanLineItemSchema_data_lineItem_prices_d
13867
13880
  function deserializeIntoGetSubscriptionPlanLineItemSchema_data_subscriptionPlan(getSubscriptionPlanLineItemSchema_data_subscriptionPlan = {}) {
13868
13881
  return {
13869
13882
  "createdAt": n => { getSubscriptionPlanLineItemSchema_data_subscriptionPlan.createdAt = n.getStringValue(); },
13883
+ "expiryDate": n => { getSubscriptionPlanLineItemSchema_data_subscriptionPlan.expiryDate = n.getStringValue(); },
13870
13884
  "groupId": n => { getSubscriptionPlanLineItemSchema_data_subscriptionPlan.groupId = n.getStringValue(); },
13871
13885
  "id": n => { getSubscriptionPlanLineItemSchema_data_subscriptionPlan.id = n.getStringValue(); },
13872
13886
  "organisation": n => { getSubscriptionPlanLineItemSchema_data_subscriptionPlan.organisation = n.getStringValue(); },
@@ -14228,6 +14242,7 @@ function deserializeIntoSavePlanResponseSchema_data(savePlanResponseSchema_data
14228
14242
  "entitlements": n => { savePlanResponseSchema_data.entitlements = n.getCollectionOfObjectValues(createSavePlanResponseSchema_data_entitlementsFromDiscriminatorValue); },
14229
14243
  "id": n => { savePlanResponseSchema_data.id = n.getStringValue(); },
14230
14244
  "isActive": n => { savePlanResponseSchema_data.isActive = n.getBooleanValue(); },
14245
+ "isPerpetual": n => { savePlanResponseSchema_data.isPerpetual = n.getBooleanValue(); },
14231
14246
  "lineItems": n => { savePlanResponseSchema_data.lineItems = n.getCollectionOfObjectValues(createSavePlanResponseSchema_data_lineItemsFromDiscriminatorValue); },
14232
14247
  "name": n => { savePlanResponseSchema_data.name = n.getStringValue(); },
14233
14248
  "organisation": n => { savePlanResponseSchema_data.organisation = n.getStringValue(); },
@@ -14441,6 +14456,7 @@ function deserializeIntoUpdatePlanResponseSchema_data(updatePlanResponseSchema_d
14441
14456
  "createdAt": n => { updatePlanResponseSchema_data.createdAt = n.getStringValue(); },
14442
14457
  "id": n => { updatePlanResponseSchema_data.id = n.getStringValue(); },
14443
14458
  "isActive": n => { updatePlanResponseSchema_data.isActive = n.getBooleanValue(); },
14459
+ "isPerpetual": n => { updatePlanResponseSchema_data.isPerpetual = n.getBooleanValue(); },
14444
14460
  "name": n => { updatePlanResponseSchema_data.name = n.getStringValue(); },
14445
14461
  "organisation": n => { updatePlanResponseSchema_data.organisation = n.getStringValue(); },
14446
14462
  "productId": n => { updatePlanResponseSchema_data.productId = n.getStringValue(); },
@@ -14941,6 +14957,7 @@ function serializePlanRequestSchema(writer, planRequestSchema = {}, isSerializin
14941
14957
  return;
14942
14958
  }
14943
14959
  writer.writeBooleanValue("isActive", planRequestSchema.isActive);
14960
+ writer.writeBooleanValue("isPerpetual", planRequestSchema.isPerpetual);
14944
14961
  writer.writeStringValue("name", planRequestSchema.name);
14945
14962
  writer.writeStringValue("tierTag", planRequestSchema.tierTag);
14946
14963
  writer.writeNumberValue("trialPeriodDays", planRequestSchema.trialPeriodDays);
@@ -14975,6 +14992,7 @@ function serializeSavePlanRequestSchema(writer, savePlanRequestSchema = {}, isSe
14975
14992
  writer.writeCollectionOfPrimitiveValues("entitlements", savePlanRequestSchema.entitlements);
14976
14993
  writer.writeStringValue("id", savePlanRequestSchema.id);
14977
14994
  writer.writeBooleanValue("isActive", savePlanRequestSchema.isActive);
14995
+ writer.writeBooleanValue("isPerpetual", savePlanRequestSchema.isPerpetual);
14978
14996
  writer.writeCollectionOfObjectValues("lineItems", savePlanRequestSchema.lineItems, serializeSavePlanRequestSchema_lineItems);
14979
14997
  writer.writeStringValue("name", savePlanRequestSchema.name);
14980
14998
  writer.writeStringValue("productId", savePlanRequestSchema.productId);
@@ -18410,6 +18428,7 @@ function deserializeIntoSubscriptionPlansGetResponse$1(subscriptionPlansGetRespo
18410
18428
  function deserializeIntoSubscriptionPlansGetResponse_data$1(subscriptionPlansGetResponse_data = {}) {
18411
18429
  return {
18412
18430
  "createdAt": n => { subscriptionPlansGetResponse_data.createdAt = n.getStringValue(); },
18431
+ "expiryDate": n => { subscriptionPlansGetResponse_data.expiryDate = n.getStringValue(); },
18413
18432
  "group": n => { subscriptionPlansGetResponse_data.group = n.getObjectValue(createSubscriptionPlansGetResponse_data_groupFromDiscriminatorValue); },
18414
18433
  "groupId": n => { subscriptionPlansGetResponse_data.groupId = n.getStringValue(); },
18415
18434
  "id": n => { subscriptionPlansGetResponse_data.id = n.getStringValue(); },
@@ -18472,6 +18491,7 @@ function deserializeIntoSubscriptionPlansGetResponse_data_plan$1(subscriptionPla
18472
18491
  "entitlements": n => { subscriptionPlansGetResponse_data_plan.entitlements = n.getObjectValue(createSubscriptionPlansGetResponse_data_plan_entitlementsFromDiscriminatorValue); },
18473
18492
  "id": n => { subscriptionPlansGetResponse_data_plan.id = n.getStringValue(); },
18474
18493
  "isActive": n => { subscriptionPlansGetResponse_data_plan.isActive = n.getBooleanValue(); },
18494
+ "isPerpetual": n => { subscriptionPlansGetResponse_data_plan.isPerpetual = n.getBooleanValue(); },
18475
18495
  "name": n => { subscriptionPlansGetResponse_data_plan.name = n.getStringValue(); },
18476
18496
  "organisation": n => { subscriptionPlansGetResponse_data_plan.organisation = n.getStringValue(); },
18477
18497
  "productId": n => { subscriptionPlansGetResponse_data_plan.productId = n.getStringValue(); },
@@ -18845,6 +18865,7 @@ function deserializeIntoSubscriptionPlansGetResponse(subscriptionPlansGetRespons
18845
18865
  function deserializeIntoSubscriptionPlansGetResponse_data(subscriptionPlansGetResponse_data = {}) {
18846
18866
  return {
18847
18867
  "createdAt": n => { subscriptionPlansGetResponse_data.createdAt = n.getStringValue(); },
18868
+ "expiryDate": n => { subscriptionPlansGetResponse_data.expiryDate = n.getStringValue(); },
18848
18869
  "groupId": n => { subscriptionPlansGetResponse_data.groupId = n.getStringValue(); },
18849
18870
  "id": n => { subscriptionPlansGetResponse_data.id = n.getStringValue(); },
18850
18871
  "organisation": n => { subscriptionPlansGetResponse_data.organisation = n.getStringValue(); },
@@ -18870,6 +18891,7 @@ function deserializeIntoSubscriptionPlansGetResponse_data_plan(subscriptionPlans
18870
18891
  "createdAt": n => { subscriptionPlansGetResponse_data_plan.createdAt = n.getStringValue(); },
18871
18892
  "id": n => { subscriptionPlansGetResponse_data_plan.id = n.getStringValue(); },
18872
18893
  "isActive": n => { subscriptionPlansGetResponse_data_plan.isActive = n.getBooleanValue(); },
18894
+ "isPerpetual": n => { subscriptionPlansGetResponse_data_plan.isPerpetual = n.getBooleanValue(); },
18873
18895
  "name": n => { subscriptionPlansGetResponse_data_plan.name = n.getStringValue(); },
18874
18896
  "organisation": n => { subscriptionPlansGetResponse_data_plan.organisation = n.getStringValue(); },
18875
18897
  "productId": n => { subscriptionPlansGetResponse_data_plan.productId = n.getStringValue(); },