@salable/sdk 1.0.32 → 1.0.34
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 +4 -248
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -248
- package/dist/index.js.map +1 -1
- package/dist/sdk/models/index.d.ts +10 -470
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -6582,60 +6582,6 @@ function createGenerateCheckoutLinkSchema_dataFromDiscriminatorValue(parseNode)
|
|
|
6582
6582
|
function createGenerateCheckoutLinkSchemaFromDiscriminatorValue(parseNode) {
|
|
6583
6583
|
return deserializeIntoGenerateCheckoutLinkSchema;
|
|
6584
6584
|
}
|
|
6585
|
-
/**
|
|
6586
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
6587
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6588
|
-
* @returns {GetAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1}
|
|
6589
|
-
*/
|
|
6590
|
-
// @ts-ignore
|
|
6591
|
-
function createGetAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1FromDiscriminatorValue(parseNode) {
|
|
6592
|
-
return deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1;
|
|
6593
|
-
}
|
|
6594
|
-
/**
|
|
6595
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
6596
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6597
|
-
* @returns {GetAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1}
|
|
6598
|
-
*/
|
|
6599
|
-
// @ts-ignore
|
|
6600
|
-
function createGetAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1FromDiscriminatorValue(parseNode) {
|
|
6601
|
-
return deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1;
|
|
6602
|
-
}
|
|
6603
|
-
/**
|
|
6604
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
6605
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6606
|
-
* @returns {GetAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1}
|
|
6607
|
-
*/
|
|
6608
|
-
// @ts-ignore
|
|
6609
|
-
function createGetAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1FromDiscriminatorValue(parseNode) {
|
|
6610
|
-
return deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1;
|
|
6611
|
-
}
|
|
6612
|
-
/**
|
|
6613
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
6614
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6615
|
-
* @returns {GetAIConversationDetailSchema_data_messages_data_data_payload_plans}
|
|
6616
|
-
*/
|
|
6617
|
-
// @ts-ignore
|
|
6618
|
-
function createGetAIConversationDetailSchema_data_messages_data_data_payload_plansFromDiscriminatorValue(parseNode) {
|
|
6619
|
-
return deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans;
|
|
6620
|
-
}
|
|
6621
|
-
/**
|
|
6622
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
6623
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6624
|
-
* @returns {GetAIConversationDetailSchema_data_messages_data_data_payload}
|
|
6625
|
-
*/
|
|
6626
|
-
// @ts-ignore
|
|
6627
|
-
function createGetAIConversationDetailSchema_data_messages_data_data_payloadFromDiscriminatorValue(parseNode) {
|
|
6628
|
-
return deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload;
|
|
6629
|
-
}
|
|
6630
|
-
/**
|
|
6631
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
6632
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6633
|
-
* @returns {GetAIConversationDetailSchema_data_messages_data_data}
|
|
6634
|
-
*/
|
|
6635
|
-
// @ts-ignore
|
|
6636
|
-
function createGetAIConversationDetailSchema_data_messages_data_dataFromDiscriminatorValue(parseNode) {
|
|
6637
|
-
return deserializeIntoGetAIConversationDetailSchema_data_messages_data_data;
|
|
6638
|
-
}
|
|
6639
6585
|
/**
|
|
6640
6586
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
6641
6587
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -6690,60 +6636,6 @@ function createGetAiConversationListSchema_dataFromDiscriminatorValue(parseNode)
|
|
|
6690
6636
|
function createGetAiConversationListSchemaFromDiscriminatorValue(parseNode) {
|
|
6691
6637
|
return deserializeIntoGetAiConversationListSchema;
|
|
6692
6638
|
}
|
|
6693
|
-
/**
|
|
6694
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
6695
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6696
|
-
* @returns {GetAiMessageListSchema_data_data_payload_plans_archivedAtMember1}
|
|
6697
|
-
*/
|
|
6698
|
-
// @ts-ignore
|
|
6699
|
-
function createGetAiMessageListSchema_data_data_payload_plans_archivedAtMember1FromDiscriminatorValue(parseNode) {
|
|
6700
|
-
return deserializeIntoGetAiMessageListSchema_data_data_payload_plans_archivedAtMember1;
|
|
6701
|
-
}
|
|
6702
|
-
/**
|
|
6703
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
6704
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6705
|
-
* @returns {GetAiMessageListSchema_data_data_payload_plans_tierTagMember1}
|
|
6706
|
-
*/
|
|
6707
|
-
// @ts-ignore
|
|
6708
|
-
function createGetAiMessageListSchema_data_data_payload_plans_tierTagMember1FromDiscriminatorValue(parseNode) {
|
|
6709
|
-
return deserializeIntoGetAiMessageListSchema_data_data_payload_plans_tierTagMember1;
|
|
6710
|
-
}
|
|
6711
|
-
/**
|
|
6712
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
6713
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6714
|
-
* @returns {GetAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1}
|
|
6715
|
-
*/
|
|
6716
|
-
// @ts-ignore
|
|
6717
|
-
function createGetAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1FromDiscriminatorValue(parseNode) {
|
|
6718
|
-
return deserializeIntoGetAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1;
|
|
6719
|
-
}
|
|
6720
|
-
/**
|
|
6721
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
6722
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6723
|
-
* @returns {GetAiMessageListSchema_data_data_payload_plans}
|
|
6724
|
-
*/
|
|
6725
|
-
// @ts-ignore
|
|
6726
|
-
function createGetAiMessageListSchema_data_data_payload_plansFromDiscriminatorValue(parseNode) {
|
|
6727
|
-
return deserializeIntoGetAiMessageListSchema_data_data_payload_plans;
|
|
6728
|
-
}
|
|
6729
|
-
/**
|
|
6730
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
6731
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6732
|
-
* @returns {GetAiMessageListSchema_data_data_payload}
|
|
6733
|
-
*/
|
|
6734
|
-
// @ts-ignore
|
|
6735
|
-
function createGetAiMessageListSchema_data_data_payloadFromDiscriminatorValue(parseNode) {
|
|
6736
|
-
return deserializeIntoGetAiMessageListSchema_data_data_payload;
|
|
6737
|
-
}
|
|
6738
|
-
/**
|
|
6739
|
-
* Creates a new instance of the appropriate class based on discriminator value
|
|
6740
|
-
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6741
|
-
* @returns {GetAiMessageListSchema_data_data}
|
|
6742
|
-
*/
|
|
6743
|
-
// @ts-ignore
|
|
6744
|
-
function createGetAiMessageListSchema_data_dataFromDiscriminatorValue(parseNode) {
|
|
6745
|
-
return deserializeIntoGetAiMessageListSchema_data_data;
|
|
6746
|
-
}
|
|
6747
6639
|
/**
|
|
6748
6640
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
6749
6641
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -9777,82 +9669,13 @@ function deserializeIntoGetAIConversationDetailSchema_data_messages_data(getAICo
|
|
|
9777
9669
|
"content": n => { getAIConversationDetailSchema_data_messages_data.content = n.getStringValue(); },
|
|
9778
9670
|
"conversationId": n => { getAIConversationDetailSchema_data_messages_data.conversationId = n.getStringValue(); },
|
|
9779
9671
|
"createdAt": n => { getAIConversationDetailSchema_data_messages_data.createdAt = n.getStringValue(); },
|
|
9780
|
-
"data": n => { getAIConversationDetailSchema_data_messages_data.data = n.getObjectValue(
|
|
9672
|
+
"data": n => { getAIConversationDetailSchema_data_messages_data.data = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
9781
9673
|
"id": n => { getAIConversationDetailSchema_data_messages_data.id = n.getStringValue(); },
|
|
9782
9674
|
"organisation": n => { getAIConversationDetailSchema_data_messages_data.organisation = n.getStringValue(); },
|
|
9783
9675
|
"role": n => { getAIConversationDetailSchema_data_messages_data.role = n.getStringValue(); },
|
|
9784
9676
|
"status": n => { getAIConversationDetailSchema_data_messages_data.status = n.getStringValue(); },
|
|
9785
9677
|
};
|
|
9786
9678
|
}
|
|
9787
|
-
/**
|
|
9788
|
-
* The deserialization information for the current model
|
|
9789
|
-
* @param GetAIConversationDetailSchema_data_messages_data_data The instance to deserialize into.
|
|
9790
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9791
|
-
*/
|
|
9792
|
-
// @ts-ignore
|
|
9793
|
-
function deserializeIntoGetAIConversationDetailSchema_data_messages_data_data(getAIConversationDetailSchema_data_messages_data_data = {}) {
|
|
9794
|
-
return {
|
|
9795
|
-
"payload": n => { getAIConversationDetailSchema_data_messages_data_data.payload = n.getObjectValue(createGetAIConversationDetailSchema_data_messages_data_data_payloadFromDiscriminatorValue); },
|
|
9796
|
-
"type": n => { getAIConversationDetailSchema_data_messages_data_data.type = n.getStringValue(); },
|
|
9797
|
-
};
|
|
9798
|
-
}
|
|
9799
|
-
/**
|
|
9800
|
-
* The deserialization information for the current model
|
|
9801
|
-
* @param GetAIConversationDetailSchema_data_messages_data_data_payload The instance to deserialize into.
|
|
9802
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9803
|
-
*/
|
|
9804
|
-
// @ts-ignore
|
|
9805
|
-
function deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload(getAIConversationDetailSchema_data_messages_data_data_payload = {}) {
|
|
9806
|
-
return {
|
|
9807
|
-
"plans": n => { getAIConversationDetailSchema_data_messages_data_data_payload.plans = n.getCollectionOfObjectValues(createGetAIConversationDetailSchema_data_messages_data_data_payload_plansFromDiscriminatorValue); },
|
|
9808
|
-
"productName": n => { getAIConversationDetailSchema_data_messages_data_data_payload.productName = n.getStringValue(); },
|
|
9809
|
-
};
|
|
9810
|
-
}
|
|
9811
|
-
/**
|
|
9812
|
-
* The deserialization information for the current model
|
|
9813
|
-
* @param GetAIConversationDetailSchema_data_messages_data_data_payload_plans The instance to deserialize into.
|
|
9814
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9815
|
-
*/
|
|
9816
|
-
// @ts-ignore
|
|
9817
|
-
function deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans(getAIConversationDetailSchema_data_messages_data_data_payload_plans = {}) {
|
|
9818
|
-
return {
|
|
9819
|
-
"archivedAt": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.archivedAt = n.getObjectValue(createGetAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1FromDiscriminatorValue) ?? n.getStringValue(); },
|
|
9820
|
-
"entitlementNames": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.entitlementNames = n.getCollectionOfPrimitiveValues(); },
|
|
9821
|
-
"id": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.id = n.getStringValue(); },
|
|
9822
|
-
"isActive": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.isActive = n.getBooleanValue(); },
|
|
9823
|
-
"lineItems": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.lineItems = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
9824
|
-
"name": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.name = n.getStringValue(); },
|
|
9825
|
-
"tierTag": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.tierTag = n.getObjectValue(createGetAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1FromDiscriminatorValue) ?? n.getStringValue(); },
|
|
9826
|
-
"trialPeriodDays": n => { getAIConversationDetailSchema_data_messages_data_data_payload_plans.trialPeriodDays = n.getNumberValue() ?? n.getObjectValue(createGetAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1FromDiscriminatorValue); },
|
|
9827
|
-
};
|
|
9828
|
-
}
|
|
9829
|
-
/**
|
|
9830
|
-
* The deserialization information for the current model
|
|
9831
|
-
* @param GetAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1 The instance to deserialize into.
|
|
9832
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9833
|
-
*/
|
|
9834
|
-
// @ts-ignore
|
|
9835
|
-
function deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1(getAIConversationDetailSchema_data_messages_data_data_payload_plans_archivedAtMember1 = {}) {
|
|
9836
|
-
return {};
|
|
9837
|
-
}
|
|
9838
|
-
/**
|
|
9839
|
-
* The deserialization information for the current model
|
|
9840
|
-
* @param GetAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1 The instance to deserialize into.
|
|
9841
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9842
|
-
*/
|
|
9843
|
-
// @ts-ignore
|
|
9844
|
-
function deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1(getAIConversationDetailSchema_data_messages_data_data_payload_plans_tierTagMember1 = {}) {
|
|
9845
|
-
return {};
|
|
9846
|
-
}
|
|
9847
|
-
/**
|
|
9848
|
-
* The deserialization information for the current model
|
|
9849
|
-
* @param GetAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1 The instance to deserialize into.
|
|
9850
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9851
|
-
*/
|
|
9852
|
-
// @ts-ignore
|
|
9853
|
-
function deserializeIntoGetAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1(getAIConversationDetailSchema_data_messages_data_data_payload_plans_trialPeriodDaysMember1 = {}) {
|
|
9854
|
-
return {};
|
|
9855
|
-
}
|
|
9856
9679
|
/**
|
|
9857
9680
|
* The deserialization information for the current model
|
|
9858
9681
|
* @param GetAiConversationListSchema The instance to deserialize into.
|
|
@@ -9909,82 +9732,13 @@ function deserializeIntoGetAiMessageListSchema_data(getAiMessageListSchema_data
|
|
|
9909
9732
|
"content": n => { getAiMessageListSchema_data.content = n.getStringValue(); },
|
|
9910
9733
|
"conversationId": n => { getAiMessageListSchema_data.conversationId = n.getStringValue(); },
|
|
9911
9734
|
"createdAt": n => { getAiMessageListSchema_data.createdAt = n.getStringValue(); },
|
|
9912
|
-
"data": n => { getAiMessageListSchema_data.data = n.getObjectValue(
|
|
9735
|
+
"data": n => { getAiMessageListSchema_data.data = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
9913
9736
|
"id": n => { getAiMessageListSchema_data.id = n.getStringValue(); },
|
|
9914
9737
|
"organisation": n => { getAiMessageListSchema_data.organisation = n.getStringValue(); },
|
|
9915
9738
|
"role": n => { getAiMessageListSchema_data.role = n.getStringValue(); },
|
|
9916
9739
|
"status": n => { getAiMessageListSchema_data.status = n.getStringValue(); },
|
|
9917
9740
|
};
|
|
9918
9741
|
}
|
|
9919
|
-
/**
|
|
9920
|
-
* The deserialization information for the current model
|
|
9921
|
-
* @param GetAiMessageListSchema_data_data The instance to deserialize into.
|
|
9922
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9923
|
-
*/
|
|
9924
|
-
// @ts-ignore
|
|
9925
|
-
function deserializeIntoGetAiMessageListSchema_data_data(getAiMessageListSchema_data_data = {}) {
|
|
9926
|
-
return {
|
|
9927
|
-
"payload": n => { getAiMessageListSchema_data_data.payload = n.getObjectValue(createGetAiMessageListSchema_data_data_payloadFromDiscriminatorValue); },
|
|
9928
|
-
"type": n => { getAiMessageListSchema_data_data.type = n.getStringValue(); },
|
|
9929
|
-
};
|
|
9930
|
-
}
|
|
9931
|
-
/**
|
|
9932
|
-
* The deserialization information for the current model
|
|
9933
|
-
* @param GetAiMessageListSchema_data_data_payload The instance to deserialize into.
|
|
9934
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9935
|
-
*/
|
|
9936
|
-
// @ts-ignore
|
|
9937
|
-
function deserializeIntoGetAiMessageListSchema_data_data_payload(getAiMessageListSchema_data_data_payload = {}) {
|
|
9938
|
-
return {
|
|
9939
|
-
"plans": n => { getAiMessageListSchema_data_data_payload.plans = n.getCollectionOfObjectValues(createGetAiMessageListSchema_data_data_payload_plansFromDiscriminatorValue); },
|
|
9940
|
-
"productName": n => { getAiMessageListSchema_data_data_payload.productName = n.getStringValue(); },
|
|
9941
|
-
};
|
|
9942
|
-
}
|
|
9943
|
-
/**
|
|
9944
|
-
* The deserialization information for the current model
|
|
9945
|
-
* @param GetAiMessageListSchema_data_data_payload_plans The instance to deserialize into.
|
|
9946
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9947
|
-
*/
|
|
9948
|
-
// @ts-ignore
|
|
9949
|
-
function deserializeIntoGetAiMessageListSchema_data_data_payload_plans(getAiMessageListSchema_data_data_payload_plans = {}) {
|
|
9950
|
-
return {
|
|
9951
|
-
"archivedAt": n => { getAiMessageListSchema_data_data_payload_plans.archivedAt = n.getObjectValue(createGetAiMessageListSchema_data_data_payload_plans_archivedAtMember1FromDiscriminatorValue) ?? n.getStringValue(); },
|
|
9952
|
-
"entitlementNames": n => { getAiMessageListSchema_data_data_payload_plans.entitlementNames = n.getCollectionOfPrimitiveValues(); },
|
|
9953
|
-
"id": n => { getAiMessageListSchema_data_data_payload_plans.id = n.getStringValue(); },
|
|
9954
|
-
"isActive": n => { getAiMessageListSchema_data_data_payload_plans.isActive = n.getBooleanValue(); },
|
|
9955
|
-
"lineItems": n => { getAiMessageListSchema_data_data_payload_plans.lineItems = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
9956
|
-
"name": n => { getAiMessageListSchema_data_data_payload_plans.name = n.getStringValue(); },
|
|
9957
|
-
"tierTag": n => { getAiMessageListSchema_data_data_payload_plans.tierTag = n.getObjectValue(createGetAiMessageListSchema_data_data_payload_plans_tierTagMember1FromDiscriminatorValue) ?? n.getStringValue(); },
|
|
9958
|
-
"trialPeriodDays": n => { getAiMessageListSchema_data_data_payload_plans.trialPeriodDays = n.getNumberValue() ?? n.getObjectValue(createGetAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1FromDiscriminatorValue); },
|
|
9959
|
-
};
|
|
9960
|
-
}
|
|
9961
|
-
/**
|
|
9962
|
-
* The deserialization information for the current model
|
|
9963
|
-
* @param GetAiMessageListSchema_data_data_payload_plans_archivedAtMember1 The instance to deserialize into.
|
|
9964
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9965
|
-
*/
|
|
9966
|
-
// @ts-ignore
|
|
9967
|
-
function deserializeIntoGetAiMessageListSchema_data_data_payload_plans_archivedAtMember1(getAiMessageListSchema_data_data_payload_plans_archivedAtMember1 = {}) {
|
|
9968
|
-
return {};
|
|
9969
|
-
}
|
|
9970
|
-
/**
|
|
9971
|
-
* The deserialization information for the current model
|
|
9972
|
-
* @param GetAiMessageListSchema_data_data_payload_plans_tierTagMember1 The instance to deserialize into.
|
|
9973
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9974
|
-
*/
|
|
9975
|
-
// @ts-ignore
|
|
9976
|
-
function deserializeIntoGetAiMessageListSchema_data_data_payload_plans_tierTagMember1(getAiMessageListSchema_data_data_payload_plans_tierTagMember1 = {}) {
|
|
9977
|
-
return {};
|
|
9978
|
-
}
|
|
9979
|
-
/**
|
|
9980
|
-
* The deserialization information for the current model
|
|
9981
|
-
* @param GetAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1 The instance to deserialize into.
|
|
9982
|
-
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9983
|
-
*/
|
|
9984
|
-
// @ts-ignore
|
|
9985
|
-
function deserializeIntoGetAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1(getAiMessageListSchema_data_data_payload_plans_trialPeriodDaysMember1 = {}) {
|
|
9986
|
-
return {};
|
|
9987
|
-
}
|
|
9988
9742
|
/**
|
|
9989
9743
|
* The deserialization information for the current model
|
|
9990
9744
|
* @param GetApiKeyDetailSchema The instance to deserialize into.
|
|
@@ -12229,6 +11983,7 @@ function deserializeIntoGetPlanListSchema_data_lineItems_data(getPlanListSchema_
|
|
|
12229
11983
|
"archivedAt": n => { getPlanListSchema_data_lineItems_data.archivedAt = n.getStringValue(); },
|
|
12230
11984
|
"billingScheme": n => { getPlanListSchema_data_lineItems_data.billingScheme = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
12231
11985
|
"createdAt": n => { getPlanListSchema_data_lineItems_data.createdAt = n.getStringValue(); },
|
|
11986
|
+
"hasBeenPurchased": n => { getPlanListSchema_data_lineItems_data.hasBeenPurchased = n.getBooleanValue(); },
|
|
12232
11987
|
"id": n => { getPlanListSchema_data_lineItems_data.id = n.getStringValue(); },
|
|
12233
11988
|
"intervalType": n => { getPlanListSchema_data_lineItems_data.intervalType = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
12234
11989
|
"isActive": n => { getPlanListSchema_data_lineItems_data.isActive = n.getBooleanValue(); },
|
|
@@ -15061,6 +14816,7 @@ function serializeSavePlanRequestSchema_lineItems_prices_currencyOptions(writer,
|
|
|
15061
14816
|
return;
|
|
15062
14817
|
}
|
|
15063
14818
|
writer.writeEnumValue("currency", savePlanRequestSchema_lineItems_prices_currencyOptions.currency);
|
|
14819
|
+
writer.writeStringValue("id", savePlanRequestSchema_lineItems_prices_currencyOptions.id);
|
|
15064
14820
|
writer.writeCollectionOfObjectValues("tiers", savePlanRequestSchema_lineItems_prices_currencyOptions.tiers, serializeSavePlanRequestSchema_lineItems_prices_currencyOptions_tiers);
|
|
15065
14821
|
writer.writeNumberValue("unitAmount", savePlanRequestSchema_lineItems_prices_currencyOptions.unitAmount);
|
|
15066
14822
|
}
|