@salable/sdk 1.0.34 → 1.0.35

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.js CHANGED
@@ -7520,6 +7520,24 @@ function createGetOwnerDetailSchema_data_groups_dataFromDiscriminatorValue(parse
7520
7520
  function createGetOwnerDetailSchema_data_groupsFromDiscriminatorValue(parseNode) {
7521
7521
  return deserializeIntoGetOwnerDetailSchema_data_groups;
7522
7522
  }
7523
+ /**
7524
+ * Creates a new instance of the appropriate class based on discriminator value
7525
+ * @param parseNode The parse node to use to read the discriminator value and create the object
7526
+ * @returns {GetOwnerDetailSchema_data_receipts_data}
7527
+ */
7528
+ // @ts-ignore
7529
+ function createGetOwnerDetailSchema_data_receipts_dataFromDiscriminatorValue(parseNode) {
7530
+ return deserializeIntoGetOwnerDetailSchema_data_receipts_data;
7531
+ }
7532
+ /**
7533
+ * Creates a new instance of the appropriate class based on discriminator value
7534
+ * @param parseNode The parse node to use to read the discriminator value and create the object
7535
+ * @returns {GetOwnerDetailSchema_data_receipts}
7536
+ */
7537
+ // @ts-ignore
7538
+ function createGetOwnerDetailSchema_data_receiptsFromDiscriminatorValue(parseNode) {
7539
+ return deserializeIntoGetOwnerDetailSchema_data_receipts;
7540
+ }
7523
7541
  /**
7524
7542
  * Creates a new instance of the appropriate class based on discriminator value
7525
7543
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -11287,6 +11305,7 @@ function deserializeIntoGetOwnerDetailSchema_data(getOwnerDetailSchema_data = {}
11287
11305
  "groups": n => { getOwnerDetailSchema_data.groups = n.getObjectValue(createGetOwnerDetailSchema_data_groupsFromDiscriminatorValue); },
11288
11306
  "id": n => { getOwnerDetailSchema_data.id = n.getStringValue(); },
11289
11307
  "organisation": n => { getOwnerDetailSchema_data.organisation = n.getStringValue(); },
11308
+ "receipts": n => { getOwnerDetailSchema_data.receipts = n.getObjectValue(createGetOwnerDetailSchema_data_receiptsFromDiscriminatorValue); },
11290
11309
  "stripeCustomerId": n => { getOwnerDetailSchema_data.stripeCustomerId = n.getStringValue(); },
11291
11310
  "subscriptions": n => { getOwnerDetailSchema_data.subscriptions = n.getObjectValue(createGetOwnerDetailSchema_data_subscriptionsFromDiscriminatorValue); },
11292
11311
  "updatedAt": n => { getOwnerDetailSchema_data.updatedAt = n.getStringValue(); },
@@ -11356,6 +11375,36 @@ function deserializeIntoGetOwnerDetailSchema_data_groups_data(getOwnerDetailSche
11356
11375
  "updatedAt": n => { getOwnerDetailSchema_data_groups_data.updatedAt = n.getStringValue(); },
11357
11376
  };
11358
11377
  }
11378
+ /**
11379
+ * The deserialization information for the current model
11380
+ * @param GetOwnerDetailSchema_data_receipts The instance to deserialize into.
11381
+ * @returns {Record<string, (node: ParseNode) => void>}
11382
+ */
11383
+ // @ts-ignore
11384
+ function deserializeIntoGetOwnerDetailSchema_data_receipts(getOwnerDetailSchema_data_receipts = {}) {
11385
+ return {
11386
+ "data": n => { getOwnerDetailSchema_data_receipts.data = n.getCollectionOfObjectValues(createGetOwnerDetailSchema_data_receipts_dataFromDiscriminatorValue); },
11387
+ "hasMore": n => { getOwnerDetailSchema_data_receipts.hasMore = n.getBooleanValue(); },
11388
+ "path": n => { getOwnerDetailSchema_data_receipts.path = n.getStringValue(); },
11389
+ "type": n => { getOwnerDetailSchema_data_receipts.type = n.getStringValue(); },
11390
+ };
11391
+ }
11392
+ /**
11393
+ * The deserialization information for the current model
11394
+ * @param GetOwnerDetailSchema_data_receipts_data The instance to deserialize into.
11395
+ * @returns {Record<string, (node: ParseNode) => void>}
11396
+ */
11397
+ // @ts-ignore
11398
+ function deserializeIntoGetOwnerDetailSchema_data_receipts_data(getOwnerDetailSchema_data_receipts_data = {}) {
11399
+ return {
11400
+ "createdAt": n => { getOwnerDetailSchema_data_receipts_data.createdAt = n.getStringValue(); },
11401
+ "id": n => { getOwnerDetailSchema_data_receipts_data.id = n.getStringValue(); },
11402
+ "organisation": n => { getOwnerDetailSchema_data_receipts_data.organisation = n.getStringValue(); },
11403
+ "ownerId": n => { getOwnerDetailSchema_data_receipts_data.ownerId = n.getStringValue(); },
11404
+ "subscriptionId": n => { getOwnerDetailSchema_data_receipts_data.subscriptionId = n.getStringValue(); },
11405
+ "updatedAt": n => { getOwnerDetailSchema_data_receipts_data.updatedAt = n.getStringValue(); },
11406
+ };
11407
+ }
11359
11408
  /**
11360
11409
  * The deserialization information for the current model
11361
11410
  * @param GetOwnerDetailSchema_data_subscriptions The instance to deserialize into.