@salable/sdk 1.0.12 → 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.
@@ -552,12 +552,6 @@ export declare function createCreateCartResponseSchema_dataFromDiscriminatorValu
552
552
  * @returns {CreateCartResponseSchema}
553
553
  */
554
554
  export declare function createCreateCartResponseSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
555
- /**
556
- * Creates a new instance of the appropriate class based on discriminator value
557
- * @param parseNode The parse node to use to read the discriminator value and create the object
558
- * @returns {CreateEntitlementRequestSchema_name}
559
- */
560
- export declare function createCreateEntitlementRequestSchema_nameFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
561
555
  /**
562
556
  * Creates a new instance of the appropriate class based on discriminator value
563
557
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -736,9 +730,7 @@ export interface CreateEntitlementRequestSchema extends Parsable {
736
730
  /**
737
731
  * The name property
738
732
  */
739
- name?: CreateEntitlementRequestSchema_name | null;
740
- }
741
- export interface CreateEntitlementRequestSchema_name extends AdditionalDataHolder, Parsable {
733
+ name?: string | null;
742
734
  }
743
735
  export interface CreateEntitlementResponseSchema extends AdditionalDataHolder, Parsable {
744
736
  /**
@@ -1030,6 +1022,48 @@ export declare function createGetCartDetailSchema_data_cartItems_data_plan_lineI
1030
1022
  * @returns {GetCartDetailSchema_data_cartItems_data_plan_lineItems}
1031
1023
  */
1032
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>);
1033
1067
  /**
1034
1068
  * Creates a new instance of the appropriate class based on discriminator value
1035
1069
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3378,12 +3412,6 @@ export declare function deserializeIntoCreateCartResponseSchema_data(createCartR
3378
3412
  * @returns {Record<string, (node: ParseNode) => void>}
3379
3413
  */
3380
3414
  export declare function deserializeIntoCreateEntitlementRequestSchema(createEntitlementRequestSchema?: Partial<CreateEntitlementRequestSchema> | undefined): Record<string, (node: ParseNode) => void>;
3381
- /**
3382
- * The deserialization information for the current model
3383
- * @param CreateEntitlementRequestSchema_name The instance to deserialize into.
3384
- * @returns {Record<string, (node: ParseNode) => void>}
3385
- */
3386
- export declare function deserializeIntoCreateEntitlementRequestSchema_name(createEntitlementRequestSchema_name?: Partial<CreateEntitlementRequestSchema_name> | undefined): Record<string, (node: ParseNode) => void>;
3387
3415
  /**
3388
3416
  * The deserialization information for the current model
3389
3417
  * @param CreateEntitlementResponseSchema The instance to deserialize into.
@@ -3840,6 +3868,48 @@ export declare function deserializeIntoGetCartDetailSchema_data_cartItems_data_p
3840
3868
  * @returns {Record<string, (node: ParseNode) => void>}
3841
3869
  */
3842
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>;
3843
3913
  /**
3844
3914
  * The deserialization information for the current model
3845
3915
  * @param GetCartDetailSchema_data_owner The instance to deserialize into.
@@ -6407,7 +6477,7 @@ export interface GetCartDetailSchema_data_cartItems_data_plan_product extends Pa
6407
6477
  */
6408
6478
  type?: string | null;
6409
6479
  }
6410
- export interface GetCartDetailSchema_data_cartItems_data_plan_product_data extends Parsable {
6480
+ export interface GetCartDetailSchema_data_cartItems_data_plan_product_data extends AdditionalDataHolder, Parsable {
6411
6481
  /**
6412
6482
  * The archivedAt property
6413
6483
  */
@@ -6432,11 +6502,78 @@ export interface GetCartDetailSchema_data_cartItems_data_plan_product_data exten
6432
6502
  * The organisation property
6433
6503
  */
6434
6504
  organisation?: string | null;
6505
+ /**
6506
+ * The settings property
6507
+ */
6508
+ settings?: GetCartDetailSchema_data_cartItems_data_plan_product_data_settings | null;
6509
+ /**
6510
+ * The updatedAt property
6511
+ */
6512
+ updatedAt?: string | null;
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;
6435
6563
  /**
6436
6564
  * The updatedAt property
6437
6565
  */
6438
6566
  updatedAt?: string | null;
6439
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
+ }
6440
6577
  export interface GetCartDetailSchema_data_owner extends Parsable {
6441
6578
  /**
6442
6579
  * The createdAt property
@@ -13974,13 +14111,6 @@ export declare function serializeCreateCartResponseSchema_data(writer: Serializa
13974
14111
  * @param writer Serialization writer to use to serialize this model
13975
14112
  */
13976
14113
  export declare function serializeCreateEntitlementRequestSchema(writer: SerializationWriter, createEntitlementRequestSchema?: Partial<CreateEntitlementRequestSchema> | undefined | null, isSerializingDerivedType?: boolean): void;
13977
- /**
13978
- * Serializes information the current object
13979
- * @param CreateEntitlementRequestSchema_name The instance to serialize from.
13980
- * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
13981
- * @param writer Serialization writer to use to serialize this model
13982
- */
13983
- export declare function serializeCreateEntitlementRequestSchema_name(writer: SerializationWriter, createEntitlementRequestSchema_name?: Partial<CreateEntitlementRequestSchema_name> | undefined | null, isSerializingDerivedType?: boolean): void;
13984
14114
  /**
13985
14115
  * Serializes information the current object
13986
14116
  * @param CreateEntitlementResponseSchema The instance to serialize from.
@@ -14529,6 +14659,55 @@ export declare function serializeGetCartDetailSchema_data_cartItems_data_plan_pr
14529
14659
  * @param writer Serialization writer to use to serialize this model
14530
14660
  */
14531
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;
14532
14711
  /**
14533
14712
  * Serializes information the current object
14534
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.12",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",