@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.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
|
|
@@ -9779,82 +9671,13 @@ function deserializeIntoGetAIConversationDetailSchema_data_messages_data(getAICo
|
|
|
9779
9671
|
"content": n => { getAIConversationDetailSchema_data_messages_data.content = n.getStringValue(); },
|
|
9780
9672
|
"conversationId": n => { getAIConversationDetailSchema_data_messages_data.conversationId = n.getStringValue(); },
|
|
9781
9673
|
"createdAt": n => { getAIConversationDetailSchema_data_messages_data.createdAt = n.getStringValue(); },
|
|
9782
|
-
"data": n => { getAIConversationDetailSchema_data_messages_data.data = n.getObjectValue(
|
|
9674
|
+
"data": n => { getAIConversationDetailSchema_data_messages_data.data = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
9783
9675
|
"id": n => { getAIConversationDetailSchema_data_messages_data.id = n.getStringValue(); },
|
|
9784
9676
|
"organisation": n => { getAIConversationDetailSchema_data_messages_data.organisation = n.getStringValue(); },
|
|
9785
9677
|
"role": n => { getAIConversationDetailSchema_data_messages_data.role = n.getStringValue(); },
|
|
9786
9678
|
"status": n => { getAIConversationDetailSchema_data_messages_data.status = n.getStringValue(); },
|
|
9787
9679
|
};
|
|
9788
9680
|
}
|
|
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
9681
|
/**
|
|
9859
9682
|
* The deserialization information for the current model
|
|
9860
9683
|
* @param GetAiConversationListSchema The instance to deserialize into.
|
|
@@ -9911,82 +9734,13 @@ function deserializeIntoGetAiMessageListSchema_data(getAiMessageListSchema_data
|
|
|
9911
9734
|
"content": n => { getAiMessageListSchema_data.content = n.getStringValue(); },
|
|
9912
9735
|
"conversationId": n => { getAiMessageListSchema_data.conversationId = n.getStringValue(); },
|
|
9913
9736
|
"createdAt": n => { getAiMessageListSchema_data.createdAt = n.getStringValue(); },
|
|
9914
|
-
"data": n => { getAiMessageListSchema_data.data = n.getObjectValue(
|
|
9737
|
+
"data": n => { getAiMessageListSchema_data.data = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
9915
9738
|
"id": n => { getAiMessageListSchema_data.id = n.getStringValue(); },
|
|
9916
9739
|
"organisation": n => { getAiMessageListSchema_data.organisation = n.getStringValue(); },
|
|
9917
9740
|
"role": n => { getAiMessageListSchema_data.role = n.getStringValue(); },
|
|
9918
9741
|
"status": n => { getAiMessageListSchema_data.status = n.getStringValue(); },
|
|
9919
9742
|
};
|
|
9920
9743
|
}
|
|
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
9744
|
/**
|
|
9991
9745
|
* The deserialization information for the current model
|
|
9992
9746
|
* @param GetApiKeyDetailSchema The instance to deserialize into.
|
|
@@ -12231,6 +11985,7 @@ function deserializeIntoGetPlanListSchema_data_lineItems_data(getPlanListSchema_
|
|
|
12231
11985
|
"archivedAt": n => { getPlanListSchema_data_lineItems_data.archivedAt = n.getStringValue(); },
|
|
12232
11986
|
"billingScheme": n => { getPlanListSchema_data_lineItems_data.billingScheme = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
12233
11987
|
"createdAt": n => { getPlanListSchema_data_lineItems_data.createdAt = n.getStringValue(); },
|
|
11988
|
+
"hasBeenPurchased": n => { getPlanListSchema_data_lineItems_data.hasBeenPurchased = n.getBooleanValue(); },
|
|
12234
11989
|
"id": n => { getPlanListSchema_data_lineItems_data.id = n.getStringValue(); },
|
|
12235
11990
|
"intervalType": n => { getPlanListSchema_data_lineItems_data.intervalType = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
12236
11991
|
"isActive": n => { getPlanListSchema_data_lineItems_data.isActive = n.getBooleanValue(); },
|
|
@@ -15063,6 +14818,7 @@ function serializeSavePlanRequestSchema_lineItems_prices_currencyOptions(writer,
|
|
|
15063
14818
|
return;
|
|
15064
14819
|
}
|
|
15065
14820
|
writer.writeEnumValue("currency", savePlanRequestSchema_lineItems_prices_currencyOptions.currency);
|
|
14821
|
+
writer.writeStringValue("id", savePlanRequestSchema_lineItems_prices_currencyOptions.id);
|
|
15066
14822
|
writer.writeCollectionOfObjectValues("tiers", savePlanRequestSchema_lineItems_prices_currencyOptions.tiers, serializeSavePlanRequestSchema_lineItems_prices_currencyOptions_tiers);
|
|
15067
14823
|
writer.writeNumberValue("unitAmount", savePlanRequestSchema_lineItems_prices_currencyOptions.unitAmount);
|
|
15068
14824
|
}
|