@salable/sdk 1.0.33 → 1.0.35

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.js CHANGED
@@ -6584,60 +6584,6 @@ function createGenerateCheckoutLinkSchema_dataFromDiscriminatorValue(parseNode)
6584
6584
  function createGenerateCheckoutLinkSchemaFromDiscriminatorValue(parseNode) {
6585
6585
  return deserializeIntoGenerateCheckoutLinkSchema;
6586
6586
  }
6587
- /**
6588
- * Creates a new instance of the appropriate class based on discriminator value
6589
- * @param parseNode The parse node to use to read the discriminator value and create the object
6590
- * @returns {GetAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1}
6591
- */
6592
- // @ts-ignore
6593
- function createGetAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1FromDiscriminatorValue(parseNode) {
6594
- return deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1;
6595
- }
6596
- /**
6597
- * Creates a new instance of the appropriate class based on discriminator value
6598
- * @param parseNode The parse node to use to read the discriminator value and create the object
6599
- * @returns {GetAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1}
6600
- */
6601
- // @ts-ignore
6602
- function createGetAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1FromDiscriminatorValue(parseNode) {
6603
- return deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1;
6604
- }
6605
- /**
6606
- * Creates a new instance of the appropriate class based on discriminator value
6607
- * @param parseNode The parse node to use to read the discriminator value and create the object
6608
- * @returns {GetAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1}
6609
- */
6610
- // @ts-ignore
6611
- function createGetAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1FromDiscriminatorValue(parseNode) {
6612
- return deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1;
6613
- }
6614
- /**
6615
- * Creates a new instance of the appropriate class based on discriminator value
6616
- * @param parseNode The parse node to use to read the discriminator value and create the object
6617
- * @returns {GetAIConversationDetailSchema_data_messages_data_data_payload_plans}
6618
- */
6619
- // @ts-ignore
6620
- function createGetAIConversationDetailSchema_data_messages_data_data_payload_plansFromDiscriminatorValue(parseNode) {
6621
- return deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans;
6622
- }
6623
- /**
6624
- * Creates a new instance of the appropriate class based on discriminator value
6625
- * @param parseNode The parse node to use to read the discriminator value and create the object
6626
- * @returns {GetAIConversationDetailSchema_data_messages_data_data_payload}
6627
- */
6628
- // @ts-ignore
6629
- function createGetAIConversationDetailSchema_data_messages_data_data_payloadFromDiscriminatorValue(parseNode) {
6630
- return deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload;
6631
- }
6632
- /**
6633
- * Creates a new instance of the appropriate class based on discriminator value
6634
- * @param parseNode The parse node to use to read the discriminator value and create the object
6635
- * @returns {GetAIConversationDetailSchema_data_messages_data_data}
6636
- */
6637
- // @ts-ignore
6638
- function createGetAIConversationDetailSchema_data_messages_data_dataFromDiscriminatorValue(parseNode) {
6639
- return deserializeIntoGetAIConversationDetailSchema_data_messages_data_data;
6640
- }
6641
6587
  /**
6642
6588
  * Creates a new instance of the appropriate class based on discriminator value
6643
6589
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -6692,60 +6638,6 @@ function createGetAiConversationListSchema_dataFromDiscriminatorValue(parseNode)
6692
6638
  function createGetAiConversationListSchemaFromDiscriminatorValue(parseNode) {
6693
6639
  return deserializeIntoGetAiConversationListSchema;
6694
6640
  }
6695
- /**
6696
- * Creates a new instance of the appropriate class based on discriminator value
6697
- * @param parseNode The parse node to use to read the discriminator value and create the object
6698
- * @returns {GetAiMessageListSchema_data_data_payload_plans_archivedAtMember1}
6699
- */
6700
- // @ts-ignore
6701
- function createGetAiMessageListSchema_data_data_payload_plans_archivedAtMember1FromDiscriminatorValue(parseNode) {
6702
- return deserializeIntoGetAiMessageListSchema_data_data_payload_plans_archivedAtMember1;
6703
- }
6704
- /**
6705
- * Creates a new instance of the appropriate class based on discriminator value
6706
- * @param parseNode The parse node to use to read the discriminator value and create the object
6707
- * @returns {GetAiMessageListSchema_data_data_payload_plans_tierTagMember1}
6708
- */
6709
- // @ts-ignore
6710
- function createGetAiMessageListSchema_data_data_payload_plans_tierTagMember1FromDiscriminatorValue(parseNode) {
6711
- return deserializeIntoGetAiMessageListSchema_data_data_payload_plans_tierTagMember1;
6712
- }
6713
- /**
6714
- * Creates a new instance of the appropriate class based on discriminator value
6715
- * @param parseNode The parse node to use to read the discriminator value and create the object
6716
- * @returns {GetAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1}
6717
- */
6718
- // @ts-ignore
6719
- function createGetAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1FromDiscriminatorValue(parseNode) {
6720
- return deserializeIntoGetAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1;
6721
- }
6722
- /**
6723
- * Creates a new instance of the appropriate class based on discriminator value
6724
- * @param parseNode The parse node to use to read the discriminator value and create the object
6725
- * @returns {GetAiMessageListSchema_data_data_payload_plans}
6726
- */
6727
- // @ts-ignore
6728
- function createGetAiMessageListSchema_data_data_payload_plansFromDiscriminatorValue(parseNode) {
6729
- return deserializeIntoGetAiMessageListSchema_data_data_payload_plans;
6730
- }
6731
- /**
6732
- * Creates a new instance of the appropriate class based on discriminator value
6733
- * @param parseNode The parse node to use to read the discriminator value and create the object
6734
- * @returns {GetAiMessageListSchema_data_data_payload}
6735
- */
6736
- // @ts-ignore
6737
- function createGetAiMessageListSchema_data_data_payloadFromDiscriminatorValue(parseNode) {
6738
- return deserializeIntoGetAiMessageListSchema_data_data_payload;
6739
- }
6740
- /**
6741
- * Creates a new instance of the appropriate class based on discriminator value
6742
- * @param parseNode The parse node to use to read the discriminator value and create the object
6743
- * @returns {GetAiMessageListSchema_data_data}
6744
- */
6745
- // @ts-ignore
6746
- function createGetAiMessageListSchema_data_dataFromDiscriminatorValue(parseNode) {
6747
- return deserializeIntoGetAiMessageListSchema_data_data;
6748
- }
6749
6641
  /**
6750
6642
  * Creates a new instance of the appropriate class based on discriminator value
6751
6643
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -7628,6 +7520,24 @@ function createGetOwnerDetailSchema_data_groups_dataFromDiscriminatorValue(parse
7628
7520
  function createGetOwnerDetailSchema_data_groupsFromDiscriminatorValue(parseNode) {
7629
7521
  return deserializeIntoGetOwnerDetailSchema_data_groups;
7630
7522
  }
7523
+ /**
7524
+ * Creates a new instance of the appropriate class based on discriminator value
7525
+ * @param parseNode The parse node to use to read the discriminator value and create the object
7526
+ * @returns {GetOwnerDetailSchema_data_receipts_data}
7527
+ */
7528
+ // @ts-ignore
7529
+ function createGetOwnerDetailSchema_data_receipts_dataFromDiscriminatorValue(parseNode) {
7530
+ return deserializeIntoGetOwnerDetailSchema_data_receipts_data;
7531
+ }
7532
+ /**
7533
+ * Creates a new instance of the appropriate class based on discriminator value
7534
+ * @param parseNode The parse node to use to read the discriminator value and create the object
7535
+ * @returns {GetOwnerDetailSchema_data_receipts}
7536
+ */
7537
+ // @ts-ignore
7538
+ function createGetOwnerDetailSchema_data_receiptsFromDiscriminatorValue(parseNode) {
7539
+ return deserializeIntoGetOwnerDetailSchema_data_receipts;
7540
+ }
7631
7541
  /**
7632
7542
  * Creates a new instance of the appropriate class based on discriminator value
7633
7543
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -9779,82 +9689,13 @@ function deserializeIntoGetAIConversationDetailSchema_data_messages_data(getAICo
9779
9689
  "content": n => { getAIConversationDetailSchema_data_messages_data.content = n.getStringValue(); },
9780
9690
  "conversationId": n => { getAIConversationDetailSchema_data_messages_data.conversationId = n.getStringValue(); },
9781
9691
  "createdAt": n => { getAIConversationDetailSchema_data_messages_data.createdAt = n.getStringValue(); },
9782
- "data": n => { getAIConversationDetailSchema_data_messages_data.data = n.getObjectValue(createGetAIConversationDetailSchema_data_messages_data_dataFromDiscriminatorValue); },
9692
+ "data": n => { getAIConversationDetailSchema_data_messages_data.data = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
9783
9693
  "id": n => { getAIConversationDetailSchema_data_messages_data.id = n.getStringValue(); },
9784
9694
  "organisation": n => { getAIConversationDetailSchema_data_messages_data.organisation = n.getStringValue(); },
9785
9695
  "role": n => { getAIConversationDetailSchema_data_messages_data.role = n.getStringValue(); },
9786
9696
  "status": n => { getAIConversationDetailSchema_data_messages_data.status = n.getStringValue(); },
9787
9697
  };
9788
9698
  }
9789
- /**
9790
- * The deserialization information for the current model
9791
- * @param GetAIConversationDetailSchema_data_messages_data_data The instance to deserialize into.
9792
- * @returns {Record<string, (node: ParseNode) => void>}
9793
- */
9794
- // @ts-ignore
9795
- function deserializeIntoGetAIConversationDetailSchema_data_messages_data_data(getAIConversationDetailSchema_data_messages_data_data = {}) {
9796
- return {
9797
- "payload": n => { getAIConversationDetailSchema_data_messages_data_data.payload = n.getObjectValue(createGetAIConversationDetailSchema_data_messages_data_data_payloadFromDiscriminatorValue); },
9798
- "type": n => { getAIConversationDetailSchema_data_messages_data_data.type = n.getStringValue(); },
9799
- };
9800
- }
9801
- /**
9802
- * The deserialization information for the current model
9803
- * @param GetAIConversationDetailSchema_data_messages_data_data_payload The instance to deserialize into.
9804
- * @returns {Record<string, (node: ParseNode) => void>}
9805
- */
9806
- // @ts-ignore
9807
- function deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload(getAIConversationDetailSchema_data_messages_data_data_payload = {}) {
9808
- return {
9809
- "plans": n => { getAIConversationDetailSchema_data_messages_data_data_payload.plans = n.getCollectionOfObjectValues(createGetAIConversationDetailSchema_data_messages_data_data_payload_plansFromDiscriminatorValue); },
9810
- "productName": n => { getAIConversationDetailSchema_data_messages_data_data_payload.productName = n.getStringValue(); },
9811
- };
9812
- }
9813
- /**
9814
- * The deserialization information for the current model
9815
- * @param GetAIConversationDetailSchema_data_messages_data_data_payload_plans The instance to deserialize into.
9816
- * @returns {Record<string, (node: ParseNode) => void>}
9817
- */
9818
- // @ts-ignore
9819
- function deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans(getAIConversationDetailSchema_data_messages_data_data_payload_plans = {}) {
9820
- return {
9821
- "archivedAt": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.archivedAt = n.getObjectValue(createGetAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1FromDiscriminatorValue) ?? n.getStringValue(); },
9822
- "entitlementNames": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.entitlementNames = n.getCollectionOfPrimitiveValues(); },
9823
- "id": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.id = n.getStringValue(); },
9824
- "isActive": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.isActive = n.getBooleanValue(); },
9825
- "lineItems": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.lineItems = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
9826
- "name": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.name = n.getStringValue(); },
9827
- "tierTag": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.tierTag = n.getObjectValue(createGetAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1FromDiscriminatorValue) ?? n.getStringValue(); },
9828
- "trialPeriodDays": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.trialPeriodDays = n.getNumberValue() ?? n.getObjectValue(createGetAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1FromDiscriminatorValue); },
9829
- };
9830
- }
9831
- /**
9832
- * The deserialization information for the current model
9833
- * @param GetAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1 The instance to deserialize into.
9834
- * @returns {Record<string, (node: ParseNode) => void>}
9835
- */
9836
- // @ts-ignore
9837
- function deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1(getAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1 = {}) {
9838
- return {};
9839
- }
9840
- /**
9841
- * The deserialization information for the current model
9842
- * @param GetAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1 The instance to deserialize into.
9843
- * @returns {Record<string, (node: ParseNode) => void>}
9844
- */
9845
- // @ts-ignore
9846
- function deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1(getAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1 = {}) {
9847
- return {};
9848
- }
9849
- /**
9850
- * The deserialization information for the current model
9851
- * @param GetAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1 The instance to deserialize into.
9852
- * @returns {Record<string, (node: ParseNode) => void>}
9853
- */
9854
- // @ts-ignore
9855
- function deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1(getAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1 = {}) {
9856
- return {};
9857
- }
9858
9699
  /**
9859
9700
  * The deserialization information for the current model
9860
9701
  * @param GetAiConversationListSchema The instance to deserialize into.
@@ -9911,82 +9752,13 @@ function deserializeIntoGetAiMessageListSchema_data(getAiMessageListSchema_data
9911
9752
  "content": n => { getAiMessageListSchema_data.content = n.getStringValue(); },
9912
9753
  "conversationId": n => { getAiMessageListSchema_data.conversationId = n.getStringValue(); },
9913
9754
  "createdAt": n => { getAiMessageListSchema_data.createdAt = n.getStringValue(); },
9914
- "data": n => { getAiMessageListSchema_data.data = n.getObjectValue(createGetAiMessageListSchema_data_dataFromDiscriminatorValue); },
9755
+ "data": n => { getAiMessageListSchema_data.data = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
9915
9756
  "id": n => { getAiMessageListSchema_data.id = n.getStringValue(); },
9916
9757
  "organisation": n => { getAiMessageListSchema_data.organisation = n.getStringValue(); },
9917
9758
  "role": n => { getAiMessageListSchema_data.role = n.getStringValue(); },
9918
9759
  "status": n => { getAiMessageListSchema_data.status = n.getStringValue(); },
9919
9760
  };
9920
9761
  }
9921
- /**
9922
- * The deserialization information for the current model
9923
- * @param GetAiMessageListSchema_data_data The instance to deserialize into.
9924
- * @returns {Record<string, (node: ParseNode) => void>}
9925
- */
9926
- // @ts-ignore
9927
- function deserializeIntoGetAiMessageListSchema_data_data(getAiMessageListSchema_data_data = {}) {
9928
- return {
9929
- "payload": n => { getAiMessageListSchema_data_data.payload = n.getObjectValue(createGetAiMessageListSchema_data_data_payloadFromDiscriminatorValue); },
9930
- "type": n => { getAiMessageListSchema_data_data.type = n.getStringValue(); },
9931
- };
9932
- }
9933
- /**
9934
- * The deserialization information for the current model
9935
- * @param GetAiMessageListSchema_data_data_payload The instance to deserialize into.
9936
- * @returns {Record<string, (node: ParseNode) => void>}
9937
- */
9938
- // @ts-ignore
9939
- function deserializeIntoGetAiMessageListSchema_data_data_payload(getAiMessageListSchema_data_data_payload = {}) {
9940
- return {
9941
- "plans": n => { getAiMessageListSchema_data_data_payload.plans = n.getCollectionOfObjectValues(createGetAiMessageListSchema_data_data_payload_plansFromDiscriminatorValue); },
9942
- "productName": n => { getAiMessageListSchema_data_data_payload.productName = n.getStringValue(); },
9943
- };
9944
- }
9945
- /**
9946
- * The deserialization information for the current model
9947
- * @param GetAiMessageListSchema_data_data_payload_plans The instance to deserialize into.
9948
- * @returns {Record<string, (node: ParseNode) => void>}
9949
- */
9950
- // @ts-ignore
9951
- function deserializeIntoGetAiMessageListSchema_data_data_payload_plans(getAiMessageListSchema_data_data_payload_plans = {}) {
9952
- return {
9953
- "archivedAt": n => { getAiMessageListSchema_data_data_payload_plans.archivedAt = n.getObjectValue(createGetAiMessageListSchema_data_data_payload_plans_archivedAtMember1FromDiscriminatorValue) ?? n.getStringValue(); },
9954
- "entitlementNames": n => { getAiMessageListSchema_data_data_payload_plans.entitlementNames = n.getCollectionOfPrimitiveValues(); },
9955
- "id": n => { getAiMessageListSchema_data_data_payload_plans.id = n.getStringValue(); },
9956
- "isActive": n => { getAiMessageListSchema_data_data_payload_plans.isActive = n.getBooleanValue(); },
9957
- "lineItems": n => { getAiMessageListSchema_data_data_payload_plans.lineItems = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
9958
- "name": n => { getAiMessageListSchema_data_data_payload_plans.name = n.getStringValue(); },
9959
- "tierTag": n => { getAiMessageListSchema_data_data_payload_plans.tierTag = n.getObjectValue(createGetAiMessageListSchema_data_data_payload_plans_tierTagMember1FromDiscriminatorValue) ?? n.getStringValue(); },
9960
- "trialPeriodDays": n => { getAiMessageListSchema_data_data_payload_plans.trialPeriodDays = n.getNumberValue() ?? n.getObjectValue(createGetAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1FromDiscriminatorValue); },
9961
- };
9962
- }
9963
- /**
9964
- * The deserialization information for the current model
9965
- * @param GetAiMessageListSchema_data_data_payload_plans_archivedAtMember1 The instance to deserialize into.
9966
- * @returns {Record<string, (node: ParseNode) => void>}
9967
- */
9968
- // @ts-ignore
9969
- function deserializeIntoGetAiMessageListSchema_data_data_payload_plans_archivedAtMember1(getAiMessageListSchema_data_data_payload_plans_archivedAtMember1 = {}) {
9970
- return {};
9971
- }
9972
- /**
9973
- * The deserialization information for the current model
9974
- * @param GetAiMessageListSchema_data_data_payload_plans_tierTagMember1 The instance to deserialize into.
9975
- * @returns {Record<string, (node: ParseNode) => void>}
9976
- */
9977
- // @ts-ignore
9978
- function deserializeIntoGetAiMessageListSchema_data_data_payload_plans_tierTagMember1(getAiMessageListSchema_data_data_payload_plans_tierTagMember1 = {}) {
9979
- return {};
9980
- }
9981
- /**
9982
- * The deserialization information for the current model
9983
- * @param GetAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1 The instance to deserialize into.
9984
- * @returns {Record<string, (node: ParseNode) => void>}
9985
- */
9986
- // @ts-ignore
9987
- function deserializeIntoGetAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1(getAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1 = {}) {
9988
- return {};
9989
- }
9990
9762
  /**
9991
9763
  * The deserialization information for the current model
9992
9764
  * @param GetApiKeyDetailSchema The instance to deserialize into.
@@ -11533,6 +11305,7 @@ function deserializeIntoGetOwnerDetailSchema_data(getOwnerDetailSchema_data = {}
11533
11305
  "groups": n => { getOwnerDetailSchema_data.groups = n.getObjectValue(createGetOwnerDetailSchema_data_groupsFromDiscriminatorValue); },
11534
11306
  "id": n => { getOwnerDetailSchema_data.id = n.getStringValue(); },
11535
11307
  "organisation": n => { getOwnerDetailSchema_data.organisation = n.getStringValue(); },
11308
+ "receipts": n => { getOwnerDetailSchema_data.receipts = n.getObjectValue(createGetOwnerDetailSchema_data_receiptsFromDiscriminatorValue); },
11536
11309
  "stripeCustomerId": n => { getOwnerDetailSchema_data.stripeCustomerId = n.getStringValue(); },
11537
11310
  "subscriptions": n => { getOwnerDetailSchema_data.subscriptions = n.getObjectValue(createGetOwnerDetailSchema_data_subscriptionsFromDiscriminatorValue); },
11538
11311
  "updatedAt": n => { getOwnerDetailSchema_data.updatedAt = n.getStringValue(); },
@@ -11602,6 +11375,36 @@ function deserializeIntoGetOwnerDetailSchema_data_groups_data(getOwnerDetailSche
11602
11375
  "updatedAt": n => { getOwnerDetailSchema_data_groups_data.updatedAt = n.getStringValue(); },
11603
11376
  };
11604
11377
  }
11378
+ /**
11379
+ * The deserialization information for the current model
11380
+ * @param GetOwnerDetailSchema_data_receipts The instance to deserialize into.
11381
+ * @returns {Record<string, (node: ParseNode) => void>}
11382
+ */
11383
+ // @ts-ignore
11384
+ function deserializeIntoGetOwnerDetailSchema_data_receipts(getOwnerDetailSchema_data_receipts = {}) {
11385
+ return {
11386
+ "data": n => { getOwnerDetailSchema_data_receipts.data = n.getCollectionOfObjectValues(createGetOwnerDetailSchema_data_receipts_dataFromDiscriminatorValue); },
11387
+ "hasMore": n => { getOwnerDetailSchema_data_receipts.hasMore = n.getBooleanValue(); },
11388
+ "path": n => { getOwnerDetailSchema_data_receipts.path = n.getStringValue(); },
11389
+ "type": n => { getOwnerDetailSchema_data_receipts.type = n.getStringValue(); },
11390
+ };
11391
+ }
11392
+ /**
11393
+ * The deserialization information for the current model
11394
+ * @param GetOwnerDetailSchema_data_receipts_data The instance to deserialize into.
11395
+ * @returns {Record<string, (node: ParseNode) => void>}
11396
+ */
11397
+ // @ts-ignore
11398
+ function deserializeIntoGetOwnerDetailSchema_data_receipts_data(getOwnerDetailSchema_data_receipts_data = {}) {
11399
+ return {
11400
+ "createdAt": n => { getOwnerDetailSchema_data_receipts_data.createdAt = n.getStringValue(); },
11401
+ "id": n => { getOwnerDetailSchema_data_receipts_data.id = n.getStringValue(); },
11402
+ "organisation": n => { getOwnerDetailSchema_data_receipts_data.organisation = n.getStringValue(); },
11403
+ "ownerId": n => { getOwnerDetailSchema_data_receipts_data.ownerId = n.getStringValue(); },
11404
+ "subscriptionId": n => { getOwnerDetailSchema_data_receipts_data.subscriptionId = n.getStringValue(); },
11405
+ "updatedAt": n => { getOwnerDetailSchema_data_receipts_data.updatedAt = n.getStringValue(); },
11406
+ };
11407
+ }
11605
11408
  /**
11606
11409
  * The deserialization information for the current model
11607
11410
  * @param GetOwnerDetailSchema_data_subscriptions The instance to deserialize into.
@@ -15064,6 +14867,7 @@ function serializeSavePlanRequestSchema_lineItems_prices_currencyOptions(writer,
15064
14867
  return;
15065
14868
  }
15066
14869
  writer.writeEnumValue("currency", savePlanRequestSchema_lineItems_prices_currencyOptions.currency);
14870
+ writer.writeStringValue("id", savePlanRequestSchema_lineItems_prices_currencyOptions.id);
15067
14871
  writer.writeCollectionOfObjectValues("tiers", savePlanRequestSchema_lineItems_prices_currencyOptions.tiers, serializeSavePlanRequestSchema_lineItems_prices_currencyOptions_tiers);
15068
14872
  writer.writeNumberValue("unitAmount", savePlanRequestSchema_lineItems_prices_currencyOptions.unitAmount);
15069
14873
  }