@salable/sdk 1.0.58 → 1.0.59
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 +52 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +52 -0
- package/dist/index.js.map +1 -1
- package/dist/sdk/models/index.d.ts +98 -0
- package/package.json +1 -1
|
@@ -1029,6 +1029,12 @@ export declare function createGetApiKeyListSchema_dataFromDiscriminatorValue(par
|
|
|
1029
1029
|
* @returns {GetApiKeyListSchema}
|
|
1030
1030
|
*/
|
|
1031
1031
|
export declare function createGetApiKeyListSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1032
|
+
/**
|
|
1033
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1034
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1035
|
+
* @returns {GetCartDetailSchema_data_cartItems_data_plan_lineItems_data_meter}
|
|
1036
|
+
*/
|
|
1037
|
+
export declare function createGetCartDetailSchema_data_cartItems_data_plan_lineItems_data_meterFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1032
1038
|
/**
|
|
1033
1039
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1034
1040
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1131,6 +1137,12 @@ export declare function createGetCartDetailSchema_data_cartItems_data_plan_produ
|
|
|
1131
1137
|
* @returns {GetCartDetailSchema_data_cartItems_data_plan_product}
|
|
1132
1138
|
*/
|
|
1133
1139
|
export declare function createGetCartDetailSchema_data_cartItems_data_plan_productFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1140
|
+
/**
|
|
1141
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
1142
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
1143
|
+
* @returns {GetCartDetailSchema_data_cartItems_data_plan_tierTag}
|
|
1144
|
+
*/
|
|
1145
|
+
export declare function createGetCartDetailSchema_data_cartItems_data_plan_tierTagFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
1134
1146
|
/**
|
|
1135
1147
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
1136
1148
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -4260,6 +4272,12 @@ export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_p
|
|
|
4260
4272
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4261
4273
|
*/
|
|
4262
4274
|
export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan_lineItems_data(getCartDetailSchema_data_cartItems_data_plan_lineItems_data?: Partial<GetCartDetailSchema_data_cartItems_data_plan_lineItems_data> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4275
|
+
/**
|
|
4276
|
+
* The deserialization information for the current model
|
|
4277
|
+
* @param GetCartDetailSchema_data_cartItems_data_plan_lineItems_data_meter The instance to deserialize into.
|
|
4278
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4279
|
+
*/
|
|
4280
|
+
export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan_lineItems_data_meter(getCartDetailSchema_data_cartItems_data_plan_lineItems_data_meter?: Partial<GetCartDetailSchema_data_cartItems_data_plan_lineItems_data_meter> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4263
4281
|
/**
|
|
4264
4282
|
* The deserialization information for the current model
|
|
4265
4283
|
* @param GetCartDetailSchema_data_cartItems_data_plan_lineItems_data_prices The instance to deserialize into.
|
|
@@ -4338,6 +4356,12 @@ export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_p
|
|
|
4338
4356
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4339
4357
|
*/
|
|
4340
4358
|
export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1(getCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1?: Partial<GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4359
|
+
/**
|
|
4360
|
+
* The deserialization information for the current model
|
|
4361
|
+
* @param GetCartDetailSchema_data_cartItems_data_plan_tierTag The instance to deserialize into.
|
|
4362
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
4363
|
+
*/
|
|
4364
|
+
export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan_tierTag(getCartDetailSchema_data_cartItems_data_plan_tierTag?: Partial<GetCartDetailSchema_data_cartItems_data_plan_tierTag> | undefined): Record<string, (node: ParseNode) => void>;
|
|
4341
4365
|
/**
|
|
4342
4366
|
* The deserialization information for the current model
|
|
4343
4367
|
* @param GetCartDetailSchema_data_owner The instance to deserialize into.
|
|
@@ -6725,6 +6749,10 @@ export interface GetCartDetailSchema_data_cartItems_data_plan extends Additional
|
|
|
6725
6749
|
* The productId property
|
|
6726
6750
|
*/
|
|
6727
6751
|
productId?: string | null;
|
|
6752
|
+
/**
|
|
6753
|
+
* The tierTag property
|
|
6754
|
+
*/
|
|
6755
|
+
tierTag?: GetCartDetailSchema_data_cartItems_data_plan_tierTag | null;
|
|
6728
6756
|
/**
|
|
6729
6757
|
* The tierTagId property
|
|
6730
6758
|
*/
|
|
@@ -6785,6 +6813,10 @@ export interface GetCartDetailSchema_data_cartItems_data_plan_lineItems_data ext
|
|
|
6785
6813
|
* The maxQuantity property
|
|
6786
6814
|
*/
|
|
6787
6815
|
maxQuantity?: number | null;
|
|
6816
|
+
/**
|
|
6817
|
+
* The meter property
|
|
6818
|
+
*/
|
|
6819
|
+
meter?: GetCartDetailSchema_data_cartItems_data_plan_lineItems_data_meter | null;
|
|
6788
6820
|
/**
|
|
6789
6821
|
* The meterId property
|
|
6790
6822
|
*/
|
|
@@ -6838,6 +6870,36 @@ export interface GetCartDetailSchema_data_cartItems_data_plan_lineItems_data ext
|
|
|
6838
6870
|
*/
|
|
6839
6871
|
updatedAt?: string | null;
|
|
6840
6872
|
}
|
|
6873
|
+
export interface GetCartDetailSchema_data_cartItems_data_plan_lineItems_data_meter extends Parsable {
|
|
6874
|
+
/**
|
|
6875
|
+
* The createdAt property
|
|
6876
|
+
*/
|
|
6877
|
+
createdAt?: string | null;
|
|
6878
|
+
/**
|
|
6879
|
+
* The id property
|
|
6880
|
+
*/
|
|
6881
|
+
id?: string | null;
|
|
6882
|
+
/**
|
|
6883
|
+
* The name property
|
|
6884
|
+
*/
|
|
6885
|
+
name?: string | null;
|
|
6886
|
+
/**
|
|
6887
|
+
* The organisation property
|
|
6888
|
+
*/
|
|
6889
|
+
organisation?: string | null;
|
|
6890
|
+
/**
|
|
6891
|
+
* The slug property
|
|
6892
|
+
*/
|
|
6893
|
+
slug?: string | null;
|
|
6894
|
+
/**
|
|
6895
|
+
* The stripeMeterId property
|
|
6896
|
+
*/
|
|
6897
|
+
stripeMeterId?: string | null;
|
|
6898
|
+
/**
|
|
6899
|
+
* The updatedAt property
|
|
6900
|
+
*/
|
|
6901
|
+
updatedAt?: string | null;
|
|
6902
|
+
}
|
|
6841
6903
|
export interface GetCartDetailSchema_data_cartItems_data_plan_lineItems_data_prices extends Parsable {
|
|
6842
6904
|
/**
|
|
6843
6905
|
* The data property
|
|
@@ -7047,6 +7109,28 @@ export type GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_s
|
|
|
7047
7109
|
export interface GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1 extends AdditionalDataHolder, Parsable {
|
|
7048
7110
|
}
|
|
7049
7111
|
export type GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_trialCardBehaviour = string;
|
|
7112
|
+
export interface GetCartDetailSchema_data_cartItems_data_plan_tierTag extends Parsable {
|
|
7113
|
+
/**
|
|
7114
|
+
* The createdAt property
|
|
7115
|
+
*/
|
|
7116
|
+
createdAt?: string | null;
|
|
7117
|
+
/**
|
|
7118
|
+
* The id property
|
|
7119
|
+
*/
|
|
7120
|
+
id?: string | null;
|
|
7121
|
+
/**
|
|
7122
|
+
* The name property
|
|
7123
|
+
*/
|
|
7124
|
+
name?: string | null;
|
|
7125
|
+
/**
|
|
7126
|
+
* The organisation property
|
|
7127
|
+
*/
|
|
7128
|
+
organisation?: string | null;
|
|
7129
|
+
/**
|
|
7130
|
+
* The updatedAt property
|
|
7131
|
+
*/
|
|
7132
|
+
updatedAt?: string | null;
|
|
7133
|
+
}
|
|
7050
7134
|
export interface GetCartDetailSchema_data_owner extends Parsable {
|
|
7051
7135
|
/**
|
|
7052
7136
|
* The createdAt property
|
|
@@ -15550,6 +15634,13 @@ export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_li
|
|
|
15550
15634
|
* @param writer Serialization writer to use to serialize this model
|
|
15551
15635
|
*/
|
|
15552
15636
|
export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_lineItems_data(writer: SerializationWriter, getCartDetailSchema_data_cartItems_data_plan_lineItems_data?: Partial<GetCartDetailSchema_data_cartItems_data_plan_lineItems_data> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
15637
|
+
/**
|
|
15638
|
+
* Serializes information the current object
|
|
15639
|
+
* @param GetCartDetailSchema_data_cartItems_data_plan_lineItems_data_meter The instance to serialize from.
|
|
15640
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15641
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15642
|
+
*/
|
|
15643
|
+
export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_lineItems_data_meter(writer: SerializationWriter, getCartDetailSchema_data_cartItems_data_plan_lineItems_data_meter?: Partial<GetCartDetailSchema_data_cartItems_data_plan_lineItems_data_meter> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
15553
15644
|
/**
|
|
15554
15645
|
* Serializes information the current object
|
|
15555
15646
|
* @param GetCartDetailSchema_data_cartItems_data_plan_lineItems_data_prices The instance to serialize from.
|
|
@@ -15657,6 +15748,13 @@ export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_pr
|
|
|
15657
15748
|
* @param writer Serialization writer to use to serialize this model
|
|
15658
15749
|
*/
|
|
15659
15750
|
export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_trialCardBehaviour(writer: SerializationWriter, key: string, getCartDetailSchema_data_cartItems_data_plan_product_data_settings_trialCardBehaviour: Parsable | GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_trialCardBehaviour | undefined, isSerializingDerivedType?: boolean): void;
|
|
15751
|
+
/**
|
|
15752
|
+
* Serializes information the current object
|
|
15753
|
+
* @param GetCartDetailSchema_data_cartItems_data_plan_tierTag The instance to serialize from.
|
|
15754
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
15755
|
+
* @param writer Serialization writer to use to serialize this model
|
|
15756
|
+
*/
|
|
15757
|
+
export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_tierTag(writer: SerializationWriter, getCartDetailSchema_data_cartItems_data_plan_tierTag?: Partial<GetCartDetailSchema_data_cartItems_data_plan_tierTag> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
15660
15758
|
/**
|
|
15661
15759
|
* Serializes information the current object
|
|
15662
15760
|
* @param GetCartDetailSchema_data_owner The instance to serialize from.
|