@salable/sdk 1.0.39 → 1.0.41

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
@@ -9639,7 +9639,9 @@ function deserializeIntoCreateWebhookRequestResponseSchema(createWebhookRequestR
9639
9639
  function deserializeIntoCreateWebhookRequestResponseSchema_data(createWebhookRequestResponseSchema_data = {}) {
9640
9640
  return {
9641
9641
  "createdAt": n => { createWebhookRequestResponseSchema_data.createdAt = n.getStringValue(); },
9642
+ "description": n => { createWebhookRequestResponseSchema_data.description = n.getStringValue(); },
9642
9643
  "id": n => { createWebhookRequestResponseSchema_data.id = n.getStringValue(); },
9644
+ "name": n => { createWebhookRequestResponseSchema_data.name = n.getStringValue(); },
9643
9645
  "organisation": n => { createWebhookRequestResponseSchema_data.organisation = n.getStringValue(); },
9644
9646
  "secret": n => { createWebhookRequestResponseSchema_data.secret = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
9645
9647
  "updatedAt": n => { createWebhookRequestResponseSchema_data.updatedAt = n.getStringValue(); },
@@ -10603,7 +10605,9 @@ function deserializeIntoGetEventDetailSchema_data_destinations_data(getEventDeta
10603
10605
  function deserializeIntoGetEventDetailSchema_data_destinations_data_webhook(getEventDetailSchema_data_destinations_data_webhook = {}) {
10604
10606
  return {
10605
10607
  "createdAt": n => { getEventDetailSchema_data_destinations_data_webhook.createdAt = n.getStringValue(); },
10608
+ "description": n => { getEventDetailSchema_data_destinations_data_webhook.description = n.getStringValue(); },
10606
10609
  "id": n => { getEventDetailSchema_data_destinations_data_webhook.id = n.getStringValue(); },
10610
+ "name": n => { getEventDetailSchema_data_destinations_data_webhook.name = n.getStringValue(); },
10607
10611
  "organisation": n => { getEventDetailSchema_data_destinations_data_webhook.organisation = n.getStringValue(); },
10608
10612
  "secret": n => { getEventDetailSchema_data_destinations_data_webhook.secret = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
10609
10613
  "updatedAt": n => { getEventDetailSchema_data_destinations_data_webhook.updatedAt = n.getStringValue(); },
@@ -14014,9 +14018,11 @@ function deserializeIntoGetWebhookDetailSchema(getWebhookDetailSchema = {}) {
14014
14018
  function deserializeIntoGetWebhookDetailSchema_data(getWebhookDetailSchema_data = {}) {
14015
14019
  return {
14016
14020
  "createdAt": n => { getWebhookDetailSchema_data.createdAt = n.getStringValue(); },
14021
+ "description": n => { getWebhookDetailSchema_data.description = n.getStringValue(); },
14017
14022
  "destinations": n => { getWebhookDetailSchema_data.destinations = n.getObjectValue(createGetWebhookDetailSchema_data_destinationsFromDiscriminatorValue); },
14018
14023
  "eventTypes": n => { getWebhookDetailSchema_data.eventTypes = n.getObjectValue(createGetWebhookDetailSchema_data_eventTypesFromDiscriminatorValue); },
14019
14024
  "id": n => { getWebhookDetailSchema_data.id = n.getStringValue(); },
14025
+ "name": n => { getWebhookDetailSchema_data.name = n.getStringValue(); },
14020
14026
  "organisation": n => { getWebhookDetailSchema_data.organisation = n.getStringValue(); },
14021
14027
  "secret": n => { getWebhookDetailSchema_data.secret = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
14022
14028
  "updatedAt": n => { getWebhookDetailSchema_data.updatedAt = n.getStringValue(); },
@@ -14125,8 +14131,10 @@ function deserializeIntoGetWebhookListSchema(getWebhookListSchema = {}) {
14125
14131
  function deserializeIntoGetWebhookListSchema_data(getWebhookListSchema_data = {}) {
14126
14132
  return {
14127
14133
  "createdAt": n => { getWebhookListSchema_data.createdAt = n.getStringValue(); },
14134
+ "description": n => { getWebhookListSchema_data.description = n.getStringValue(); },
14128
14135
  "eventTypes": n => { getWebhookListSchema_data.eventTypes = n.getObjectValue(createGetWebhookListSchema_data_eventTypesFromDiscriminatorValue); },
14129
14136
  "id": n => { getWebhookListSchema_data.id = n.getStringValue(); },
14137
+ "name": n => { getWebhookListSchema_data.name = n.getStringValue(); },
14130
14138
  "organisation": n => { getWebhookListSchema_data.organisation = n.getStringValue(); },
14131
14139
  "secret": n => { getWebhookListSchema_data.secret = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
14132
14140
  "updatedAt": n => { getWebhookListSchema_data.updatedAt = n.getStringValue(); },
@@ -14822,8 +14830,10 @@ function serializeCreateWebhookRequestSchema(writer, createWebhookRequestSchema
14822
14830
  if (!createWebhookRequestSchema || isSerializingDerivedType) {
14823
14831
  return;
14824
14832
  }
14833
+ writer.writeStringValue("description", createWebhookRequestSchema.description);
14825
14834
  if (createWebhookRequestSchema.events)
14826
14835
  writer.writeCollectionOfEnumValues("events", createWebhookRequestSchema.events);
14836
+ writer.writeStringValue("name", createWebhookRequestSchema.name);
14827
14837
  writer.writeStringValue("url", createWebhookRequestSchema.url);
14828
14838
  }
14829
14839
  /**
@@ -15393,8 +15403,10 @@ function serializeUpdateWebhookRequestSchema(writer, updateWebhookRequestSchema
15393
15403
  if (!updateWebhookRequestSchema || isSerializingDerivedType) {
15394
15404
  return;
15395
15405
  }
15406
+ writer.writeStringValue("description", updateWebhookRequestSchema.description);
15396
15407
  if (updateWebhookRequestSchema.events)
15397
15408
  writer.writeCollectionOfEnumValues("events", updateWebhookRequestSchema.events);
15409
+ writer.writeStringValue("name", updateWebhookRequestSchema.name);
15398
15410
  writer.writeStringValue("url", updateWebhookRequestSchema.url);
15399
15411
  }
15400
15412
  /* tslint:enable */