@salable/sdk 1.0.13 → 1.0.14

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.
@@ -1022,6 +1022,48 @@ export declare function createGetCartDetailSchema_data_cartItems_data_plan_lineI
1022
1022
  * @returns {GetCartDetailSchema_data_cartItems_data_plan_lineItems}
1023
1023
  */
1024
1024
  export declare function createGetCartDetailSchema_data_cartItems_data_plan_lineItemsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1025
+ /**
1026
+ * Creates a new instance of the appropriate class based on discriminator value
1027
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1028
+ * @returns {GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1 | string}
1029
+ */
1030
+ export declare function createGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1031
+ /**
1032
+ * Creates a new instance of the appropriate class based on discriminator value
1033
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1034
+ * @returns {GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1}
1035
+ */
1036
+ export declare function createGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1037
+ /**
1038
+ * Creates a new instance of the appropriate class based on discriminator value
1039
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1040
+ * @returns {GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1 | string}
1041
+ */
1042
+ export declare function createGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1043
+ /**
1044
+ * Creates a new instance of the appropriate class based on discriminator value
1045
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1046
+ * @returns {GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1}
1047
+ */
1048
+ export declare function createGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1049
+ /**
1050
+ * Creates a new instance of the appropriate class based on discriminator value
1051
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1052
+ * @returns {GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1 | string}
1053
+ */
1054
+ export declare function createGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1055
+ /**
1056
+ * Creates a new instance of the appropriate class based on discriminator value
1057
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1058
+ * @returns {GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1}
1059
+ */
1060
+ export declare function createGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1FromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1061
+ /**
1062
+ * Creates a new instance of the appropriate class based on discriminator value
1063
+ * @param parseNode The parse node to use to read the discriminator value and create the object
1064
+ * @returns {GetCartDetailSchema_data_cartItems_data_plan_product_data_settings}
1065
+ */
1066
+ export declare function createGetCartDetailSchema_data_cartItems_data_plan_product_data_settingsFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
1025
1067
  /**
1026
1068
  * Creates a new instance of the appropriate class based on discriminator value
1027
1069
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3826,6 +3868,48 @@ export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_p
3826
3868
  * @returns {Record<string, (node: ParseNode) => void>}
3827
3869
  */
3828
3870
  export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan_product_data(getCartDetailSchema_data_cartItems_data_plan_product_data?: Partial<GetCartDetailSchema_data_cartItems_data_plan_product_data> | undefined): Record<string, (node: ParseNode) => void>;
3871
+ /**
3872
+ * The deserialization information for the current model
3873
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings The instance to deserialize into.
3874
+ * @returns {Record<string, (node: ParseNode) => void>}
3875
+ */
3876
+ export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan_product_data_settings(getCartDetailSchema_data_cartItems_data_plan_product_data_settings?: Partial<GetCartDetailSchema_data_cartItems_data_plan_product_data_settings> | undefined): Record<string, (node: ParseNode) => void>;
3877
+ /**
3878
+ * The deserialization information for the current model
3879
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrl The instance to deserialize into.
3880
+ * @returns {Record<string, (node: ParseNode) => void>}
3881
+ */
3882
+ export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrl(getCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrl?: Partial<Parsable | GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1 | string> | undefined): Record<string, (node: ParseNode) => void>;
3883
+ /**
3884
+ * The deserialization information for the current model
3885
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1 The instance to deserialize into.
3886
+ * @returns {Record<string, (node: ParseNode) => void>}
3887
+ */
3888
+ export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1(getCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1?: Partial<GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1> | undefined): Record<string, (node: ParseNode) => void>;
3889
+ /**
3890
+ * The deserialization information for the current model
3891
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productId The instance to deserialize into.
3892
+ * @returns {Record<string, (node: ParseNode) => void>}
3893
+ */
3894
+ export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productId(getCartDetailSchema_data_cartItems_data_plan_product_data_settings_productId?: Partial<Parsable | GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1 | string> | undefined): Record<string, (node: ParseNode) => void>;
3895
+ /**
3896
+ * The deserialization information for the current model
3897
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1 The instance to deserialize into.
3898
+ * @returns {Record<string, (node: ParseNode) => void>}
3899
+ */
3900
+ export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1(getCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1?: Partial<GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1> | undefined): Record<string, (node: ParseNode) => void>;
3901
+ /**
3902
+ * The deserialization information for the current model
3903
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrl The instance to deserialize into.
3904
+ * @returns {Record<string, (node: ParseNode) => void>}
3905
+ */
3906
+ export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrl(getCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrl?: Partial<Parsable | GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1 | string> | undefined): Record<string, (node: ParseNode) => void>;
3907
+ /**
3908
+ * The deserialization information for the current model
3909
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1 The instance to deserialize into.
3910
+ * @returns {Record<string, (node: ParseNode) => void>}
3911
+ */
3912
+ 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>;
3829
3913
  /**
3830
3914
  * The deserialization information for the current model
3831
3915
  * @param GetCartDetailSchema_data_owner The instance to deserialize into.
@@ -6393,7 +6477,7 @@ export interface GetCartDetailSchema_data_cartItems_data_plan_product extends Pa
6393
6477
  */
6394
6478
  type?: string | null;
6395
6479
  }
6396
- export interface GetCartDetailSchema_data_cartItems_data_plan_product_data extends Parsable {
6480
+ export interface GetCartDetailSchema_data_cartItems_data_plan_product_data extends AdditionalDataHolder, Parsable {
6397
6481
  /**
6398
6482
  * The archivedAt property
6399
6483
  */
@@ -6418,11 +6502,78 @@ export interface GetCartDetailSchema_data_cartItems_data_plan_product_data exten
6418
6502
  * The organisation property
6419
6503
  */
6420
6504
  organisation?: string | null;
6505
+ /**
6506
+ * The settings property
6507
+ */
6508
+ settings?: GetCartDetailSchema_data_cartItems_data_plan_product_data_settings | null;
6421
6509
  /**
6422
6510
  * The updatedAt property
6423
6511
  */
6424
6512
  updatedAt?: string | null;
6425
6513
  }
6514
+ export interface GetCartDetailSchema_data_cartItems_data_plan_product_data_settings extends Parsable {
6515
+ /**
6516
+ * The allowPromoCodes property
6517
+ */
6518
+ allowPromoCodes?: boolean | null;
6519
+ /**
6520
+ * The automaticTax property
6521
+ */
6522
+ automaticTax?: boolean | null;
6523
+ /**
6524
+ * The cancelUrl property
6525
+ */
6526
+ cancelUrl?: GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1 | string | null;
6527
+ /**
6528
+ * The cardPrefillPreference property
6529
+ */
6530
+ cardPrefillPreference?: UntypedNode | null;
6531
+ /**
6532
+ * The collectBillingAddress property
6533
+ */
6534
+ collectBillingAddress?: boolean | null;
6535
+ /**
6536
+ * The collectShippingAddress property
6537
+ */
6538
+ collectShippingAddress?: boolean | null;
6539
+ /**
6540
+ * The createdAt property
6541
+ */
6542
+ createdAt?: string | null;
6543
+ /**
6544
+ * The id property
6545
+ */
6546
+ id?: string | null;
6547
+ /**
6548
+ * The organisation property
6549
+ */
6550
+ organisation?: string | null;
6551
+ /**
6552
+ * The pastDueEntitlements property
6553
+ */
6554
+ pastDueEntitlements?: boolean | null;
6555
+ /**
6556
+ * The productId property
6557
+ */
6558
+ productId?: GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1 | string | null;
6559
+ /**
6560
+ * The successUrl property
6561
+ */
6562
+ successUrl?: GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1 | string | null;
6563
+ /**
6564
+ * The updatedAt property
6565
+ */
6566
+ updatedAt?: string | null;
6567
+ }
6568
+ export type GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrl = GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1 | string;
6569
+ export interface GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1 extends AdditionalDataHolder, Parsable {
6570
+ }
6571
+ export type GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productId = GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1 | string;
6572
+ export interface GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1 extends AdditionalDataHolder, Parsable {
6573
+ }
6574
+ export type GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrl = GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1 | string;
6575
+ export interface GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1 extends AdditionalDataHolder, Parsable {
6576
+ }
6426
6577
  export interface GetCartDetailSchema_data_owner extends Parsable {
6427
6578
  /**
6428
6579
  * The createdAt property
@@ -14508,6 +14659,55 @@ export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_pr
14508
14659
  * @param writer Serialization writer to use to serialize this model
14509
14660
  */
14510
14661
  export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_product_data(writer: SerializationWriter, getCartDetailSchema_data_cartItems_data_plan_product_data?: Partial<GetCartDetailSchema_data_cartItems_data_plan_product_data> | undefined | null, isSerializingDerivedType?: boolean): void;
14662
+ /**
14663
+ * Serializes information the current object
14664
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings The instance to serialize from.
14665
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
14666
+ * @param writer Serialization writer to use to serialize this model
14667
+ */
14668
+ export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_product_data_settings(writer: SerializationWriter, getCartDetailSchema_data_cartItems_data_plan_product_data_settings?: Partial<GetCartDetailSchema_data_cartItems_data_plan_product_data_settings> | undefined | null, isSerializingDerivedType?: boolean): void;
14669
+ /**
14670
+ * Serializes information the current object
14671
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrl The instance to serialize from.
14672
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
14673
+ * @param writer Serialization writer to use to serialize this model
14674
+ */
14675
+ export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrl(writer: SerializationWriter, getCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrl?: Partial<Parsable | GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
14676
+ /**
14677
+ * Serializes information the current object
14678
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1 The instance to serialize from.
14679
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
14680
+ * @param writer Serialization writer to use to serialize this model
14681
+ */
14682
+ export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1(writer: SerializationWriter, getCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1?: Partial<GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_cancelUrlMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
14683
+ /**
14684
+ * Serializes information the current object
14685
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productId The instance to serialize from.
14686
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
14687
+ * @param writer Serialization writer to use to serialize this model
14688
+ */
14689
+ export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productId(writer: SerializationWriter, getCartDetailSchema_data_cartItems_data_plan_product_data_settings_productId?: Partial<Parsable | GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
14690
+ /**
14691
+ * Serializes information the current object
14692
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1 The instance to serialize from.
14693
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
14694
+ * @param writer Serialization writer to use to serialize this model
14695
+ */
14696
+ export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1(writer: SerializationWriter, getCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1?: Partial<GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_productIdMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
14697
+ /**
14698
+ * Serializes information the current object
14699
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrl The instance to serialize from.
14700
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
14701
+ * @param writer Serialization writer to use to serialize this model
14702
+ */
14703
+ export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrl(writer: SerializationWriter, getCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrl?: Partial<Parsable | GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
14704
+ /**
14705
+ * Serializes information the current object
14706
+ * @param GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1 The instance to serialize from.
14707
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
14708
+ * @param writer Serialization writer to use to serialize this model
14709
+ */
14710
+ export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1(writer: SerializationWriter, getCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1?: Partial<GetCartDetailSchema_data_cartItems_data_plan_product_data_settings_successUrlMember1> | undefined | null, isSerializingDerivedType?: boolean): void;
14511
14711
  /**
14512
14712
  * Serializes information the current object
14513
14713
  * @param GetCartDetailSchema_data_owner The instance to serialize from.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salable/sdk",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",