@salable/sdk 1.0.44 → 1.0.46

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 CHANGED
@@ -9415,7 +9415,7 @@ function deserializeIntoCreateApiKeyResponseSchema_data(createApiKeyResponseSche
9415
9415
  "createdAt": n => { createApiKeyResponseSchema_data.createdAt = n.getStringValue(); },
9416
9416
  "id": n => { createApiKeyResponseSchema_data.id = n.getStringValue(); },
9417
9417
  "organisation": n => { createApiKeyResponseSchema_data.organisation = n.getStringValue(); },
9418
- "type": n => { createApiKeyResponseSchema_data.type = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
9418
+ "type": n => { createApiKeyResponseSchema_data.type = n.getStringValue(); },
9419
9419
  "updatedAt": n => { createApiKeyResponseSchema_data.updatedAt = n.getStringValue(); },
9420
9420
  "value": n => { createApiKeyResponseSchema_data.value = n.getStringValue(); },
9421
9421
  };
@@ -9917,7 +9917,7 @@ function deserializeIntoGetApiKeyDetailSchema_data(getApiKeyDetailSchema_data =
9917
9917
  "createdAt": n => { getApiKeyDetailSchema_data.createdAt = n.getStringValue(); },
9918
9918
  "id": n => { getApiKeyDetailSchema_data.id = n.getStringValue(); },
9919
9919
  "organisation": n => { getApiKeyDetailSchema_data.organisation = n.getStringValue(); },
9920
- "type": n => { getApiKeyDetailSchema_data.type = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
9920
+ "type": n => { getApiKeyDetailSchema_data.type = n.getStringValue(); },
9921
9921
  "updatedAt": n => { getApiKeyDetailSchema_data.updatedAt = n.getStringValue(); },
9922
9922
  "value": n => { getApiKeyDetailSchema_data.value = n.getStringValue(); },
9923
9923
  };
@@ -9948,7 +9948,7 @@ function deserializeIntoGetApiKeyListSchema_data(getApiKeyListSchema_data = {})
9948
9948
  "createdAt": n => { getApiKeyListSchema_data.createdAt = n.getStringValue(); },
9949
9949
  "id": n => { getApiKeyListSchema_data.id = n.getStringValue(); },
9950
9950
  "organisation": n => { getApiKeyListSchema_data.organisation = n.getStringValue(); },
9951
- "type": n => { getApiKeyListSchema_data.type = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
9951
+ "type": n => { getApiKeyListSchema_data.type = n.getStringValue(); },
9952
9952
  "updatedAt": n => { getApiKeyListSchema_data.updatedAt = n.getStringValue(); },
9953
9953
  "value": n => { getApiKeyListSchema_data.value = n.getStringValue(); },
9954
9954
  };
package/dist/index.js CHANGED
@@ -9417,7 +9417,7 @@ function deserializeIntoCreateApiKeyResponseSchema_data(createApiKeyResponseSche
9417
9417
  "createdAt": n => { createApiKeyResponseSchema_data.createdAt = n.getStringValue(); },
9418
9418
  "id": n => { createApiKeyResponseSchema_data.id = n.getStringValue(); },
9419
9419
  "organisation": n => { createApiKeyResponseSchema_data.organisation = n.getStringValue(); },
9420
- "type": n => { createApiKeyResponseSchema_data.type = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
9420
+ "type": n => { createApiKeyResponseSchema_data.type = n.getStringValue(); },
9421
9421
  "updatedAt": n => { createApiKeyResponseSchema_data.updatedAt = n.getStringValue(); },
9422
9422
  "value": n => { createApiKeyResponseSchema_data.value = n.getStringValue(); },
9423
9423
  };
@@ -9919,7 +9919,7 @@ function deserializeIntoGetApiKeyDetailSchema_data(getApiKeyDetailSchema_data =
9919
9919
  "createdAt": n => { getApiKeyDetailSchema_data.createdAt = n.getStringValue(); },
9920
9920
  "id": n => { getApiKeyDetailSchema_data.id = n.getStringValue(); },
9921
9921
  "organisation": n => { getApiKeyDetailSchema_data.organisation = n.getStringValue(); },
9922
- "type": n => { getApiKeyDetailSchema_data.type = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
9922
+ "type": n => { getApiKeyDetailSchema_data.type = n.getStringValue(); },
9923
9923
  "updatedAt": n => { getApiKeyDetailSchema_data.updatedAt = n.getStringValue(); },
9924
9924
  "value": n => { getApiKeyDetailSchema_data.value = n.getStringValue(); },
9925
9925
  };
@@ -9950,7 +9950,7 @@ function deserializeIntoGetApiKeyListSchema_data(getApiKeyListSchema_data = {})
9950
9950
  "createdAt": n => { getApiKeyListSchema_data.createdAt = n.getStringValue(); },
9951
9951
  "id": n => { getApiKeyListSchema_data.id = n.getStringValue(); },
9952
9952
  "organisation": n => { getApiKeyListSchema_data.organisation = n.getStringValue(); },
9953
- "type": n => { getApiKeyListSchema_data.type = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
9953
+ "type": n => { getApiKeyListSchema_data.type = n.getStringValue(); },
9954
9954
  "updatedAt": n => { getApiKeyListSchema_data.updatedAt = n.getStringValue(); },
9955
9955
  "value": n => { getApiKeyListSchema_data.value = n.getStringValue(); },
9956
9956
  };
@@ -276,7 +276,7 @@ export interface CreateApiKeyResponseSchema_data extends Parsable {
276
276
  /**
277
277
  * The type property
278
278
  */
279
- type?: UntypedNode | null;
279
+ type?: string | null;
280
280
  /**
281
281
  * The updatedAt property
282
282
  */
@@ -286,6 +286,7 @@ export interface CreateApiKeyResponseSchema_data extends Parsable {
286
286
  */
287
287
  value?: string | null;
288
288
  }
289
+ export type CreateApiKeyResponseSchema_data_type = string;
289
290
  /**
290
291
  * Creates a new instance of the appropriate class based on discriminator value
291
292
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -530,6 +531,12 @@ export declare function createCreateAccountSessionResponseSchema_dataFromDiscrim
530
531
  * @returns {CreateAccountSessionResponseSchema}
531
532
  */
532
533
  export declare function createCreateAccountSessionResponseSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
534
+ /**
535
+ * Creates a new instance of the appropriate class based on discriminator value
536
+ * @param parseNode The parse node to use to read the discriminator value and create the object
537
+ * @returns {string}
538
+ */
539
+ export declare function createCreateApiKeyResponseSchema_data_typeFromDiscriminatorValue(parseNode: ParseNode | undefined): string | undefined;
533
540
  /**
534
541
  * Creates a new instance of the appropriate class based on discriminator value
535
542
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -940,6 +947,12 @@ export declare function createGetAiMessageListSchema_dataFromDiscriminatorValue(
940
947
  * @returns {GetAiMessageListSchema}
941
948
  */
942
949
  export declare function createGetAiMessageListSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
950
+ /**
951
+ * Creates a new instance of the appropriate class based on discriminator value
952
+ * @param parseNode The parse node to use to read the discriminator value and create the object
953
+ * @returns {string}
954
+ */
955
+ export declare function createGetApiKeyDetailSchema_data_typeFromDiscriminatorValue(parseNode: ParseNode | undefined): string | undefined;
943
956
  /**
944
957
  * Creates a new instance of the appropriate class based on discriminator value
945
958
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -952,6 +965,12 @@ export declare function createGetApiKeyDetailSchema_dataFromDiscriminatorValue(p
952
965
  * @returns {GetApiKeyDetailSchema}
953
966
  */
954
967
  export declare function createGetApiKeyDetailSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
968
+ /**
969
+ * Creates a new instance of the appropriate class based on discriminator value
970
+ * @param parseNode The parse node to use to read the discriminator value and create the object
971
+ * @returns {string}
972
+ */
973
+ export declare function createGetApiKeyListSchema_data_typeFromDiscriminatorValue(parseNode: ParseNode | undefined): string | undefined;
955
974
  /**
956
975
  * Creates a new instance of the appropriate class based on discriminator value
957
976
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -6217,7 +6236,7 @@ export interface GetApiKeyDetailSchema_data extends Parsable {
6217
6236
  /**
6218
6237
  * The type property
6219
6238
  */
6220
- type?: UntypedNode | null;
6239
+ type?: string | null;
6221
6240
  /**
6222
6241
  * The updatedAt property
6223
6242
  */
@@ -6227,6 +6246,7 @@ export interface GetApiKeyDetailSchema_data extends Parsable {
6227
6246
  */
6228
6247
  value?: string | null;
6229
6248
  }
6249
+ export type GetApiKeyDetailSchema_data_type = string;
6230
6250
  export interface GetApiKeyListSchema extends Parsable {
6231
6251
  /**
6232
6252
  * The data property
@@ -6265,7 +6285,7 @@ export interface GetApiKeyListSchema_data extends Parsable {
6265
6285
  /**
6266
6286
  * The type property
6267
6287
  */
6268
- type?: UntypedNode | null;
6288
+ type?: string | null;
6269
6289
  /**
6270
6290
  * The updatedAt property
6271
6291
  */
@@ -6275,6 +6295,7 @@ export interface GetApiKeyListSchema_data extends Parsable {
6275
6295
  */
6276
6296
  value?: string | null;
6277
6297
  }
6298
+ export type GetApiKeyListSchema_data_type = string;
6278
6299
  export interface GetCartDetailSchema extends Parsable {
6279
6300
  /**
6280
6301
  * The data property
@@ -14562,6 +14583,14 @@ export declare function serializeCreateApiKeyResponseSchema(writer: Serializatio
14562
14583
  * @param writer Serialization writer to use to serialize this model
14563
14584
  */
14564
14585
  export declare function serializeCreateApiKeyResponseSchema_data(writer: SerializationWriter, createApiKeyResponseSchema_data?: Partial<CreateApiKeyResponseSchema_data> | undefined | null, isSerializingDerivedType?: boolean): void;
14586
+ /**
14587
+ * Serializes information the current object
14588
+ * @param CreateApiKeyResponseSchema_data_type The instance to serialize from.
14589
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
14590
+ * @param key The name of the property to write in the serialization.
14591
+ * @param writer Serialization writer to use to serialize this model
14592
+ */
14593
+ export declare function serializeCreateApiKeyResponseSchema_data_type(writer: SerializationWriter, key: string, createApiKeyResponseSchema_data_type: Parsable | CreateApiKeyResponseSchema_data_type | undefined, isSerializingDerivedType?: boolean): void;
14565
14594
  /**
14566
14595
  * Serializes information the current object
14567
14596
  * @param CreateCartItemRequestSchema The instance to serialize from.
@@ -14998,6 +15027,14 @@ export declare function serializeGetApiKeyDetailSchema(writer: SerializationWrit
14998
15027
  * @param writer Serialization writer to use to serialize this model
14999
15028
  */
15000
15029
  export declare function serializeGetApiKeyDetailSchema_data(writer: SerializationWriter, getApiKeyDetailSchema_data?: Partial<GetApiKeyDetailSchema_data> | undefined | null, isSerializingDerivedType?: boolean): void;
15030
+ /**
15031
+ * Serializes information the current object
15032
+ * @param GetApiKeyDetailSchema_data_type The instance to serialize from.
15033
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
15034
+ * @param key The name of the property to write in the serialization.
15035
+ * @param writer Serialization writer to use to serialize this model
15036
+ */
15037
+ export declare function serializeGetApiKeyDetailSchema_data_type(writer: SerializationWriter, key: string, getApiKeyDetailSchema_data_type: Parsable | GetApiKeyDetailSchema_data_type | undefined, isSerializingDerivedType?: boolean): void;
15001
15038
  /**
15002
15039
  * Serializes information the current object
15003
15040
  * @param GetApiKeyListSchema The instance to serialize from.
@@ -15012,6 +15049,14 @@ export declare function serializeGetApiKeyListSchema(writer: SerializationWriter
15012
15049
  * @param writer Serialization writer to use to serialize this model
15013
15050
  */
15014
15051
  export declare function serializeGetApiKeyListSchema_data(writer: SerializationWriter, getApiKeyListSchema_data?: Partial<GetApiKeyListSchema_data> | undefined | null, isSerializingDerivedType?: boolean): void;
15052
+ /**
15053
+ * Serializes information the current object
15054
+ * @param GetApiKeyListSchema_data_type The instance to serialize from.
15055
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
15056
+ * @param key The name of the property to write in the serialization.
15057
+ * @param writer Serialization writer to use to serialize this model
15058
+ */
15059
+ export declare function serializeGetApiKeyListSchema_data_type(writer: SerializationWriter, key: string, getApiKeyListSchema_data_type: Parsable | GetApiKeyListSchema_data_type | undefined, isSerializingDerivedType?: boolean): void;
15015
15060
  /**
15016
15061
  * Serializes information the current object
15017
15062
  * @param GetCartDetailSchema The instance to serialize from.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salable/sdk",
3
- "version": "1.0.44",
3
+ "version": "1.0.46",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",