@salable/sdk 1.0.40 → 1.0.42
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
|
@@ -6582,6 +6582,24 @@ function createGenerateCheckoutLinkSchema_dataFromDiscriminatorValue(parseNode)
|
|
|
6582
6582
|
function createGenerateCheckoutLinkSchemaFromDiscriminatorValue(parseNode) {
|
|
6583
6583
|
return deserializeIntoGenerateCheckoutLinkSchema;
|
|
6584
6584
|
}
|
|
6585
|
+
/**
|
|
6586
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
6587
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6588
|
+
* @returns {GenerateOnboardingLinkResponseSchema_data}
|
|
6589
|
+
*/
|
|
6590
|
+
// @ts-ignore
|
|
6591
|
+
function createGenerateOnboardingLinkResponseSchema_dataFromDiscriminatorValue(parseNode) {
|
|
6592
|
+
return deserializeIntoGenerateOnboardingLinkResponseSchema_data;
|
|
6593
|
+
}
|
|
6594
|
+
/**
|
|
6595
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
6596
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
6597
|
+
* @returns {GenerateOnboardingLinkResponseSchema}
|
|
6598
|
+
*/
|
|
6599
|
+
// @ts-ignore
|
|
6600
|
+
function createGenerateOnboardingLinkResponseSchemaFromDiscriminatorValue(parseNode) {
|
|
6601
|
+
return deserializeIntoGenerateOnboardingLinkResponseSchema;
|
|
6602
|
+
}
|
|
6585
6603
|
/**
|
|
6586
6604
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
6587
6605
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -9637,7 +9655,9 @@ function deserializeIntoCreateWebhookRequestResponseSchema(createWebhookRequestR
|
|
|
9637
9655
|
function deserializeIntoCreateWebhookRequestResponseSchema_data(createWebhookRequestResponseSchema_data = {}) {
|
|
9638
9656
|
return {
|
|
9639
9657
|
"createdAt": n => { createWebhookRequestResponseSchema_data.createdAt = n.getStringValue(); },
|
|
9658
|
+
"description": n => { createWebhookRequestResponseSchema_data.description = n.getStringValue(); },
|
|
9640
9659
|
"id": n => { createWebhookRequestResponseSchema_data.id = n.getStringValue(); },
|
|
9660
|
+
"name": n => { createWebhookRequestResponseSchema_data.name = n.getStringValue(); },
|
|
9641
9661
|
"organisation": n => { createWebhookRequestResponseSchema_data.organisation = n.getStringValue(); },
|
|
9642
9662
|
"secret": n => { createWebhookRequestResponseSchema_data.secret = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
9643
9663
|
"updatedAt": n => { createWebhookRequestResponseSchema_data.updatedAt = n.getStringValue(); },
|
|
@@ -9689,6 +9709,32 @@ function deserializeIntoGenerateCheckoutLinkSchema_data(generateCheckoutLinkSche
|
|
|
9689
9709
|
"url": n => { generateCheckoutLinkSchema_data.url = n.getStringValue(); },
|
|
9690
9710
|
};
|
|
9691
9711
|
}
|
|
9712
|
+
/**
|
|
9713
|
+
* The deserialization information for the current model
|
|
9714
|
+
* @param GenerateOnboardingLinkResponseSchema The instance to deserialize into.
|
|
9715
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9716
|
+
*/
|
|
9717
|
+
// @ts-ignore
|
|
9718
|
+
function deserializeIntoGenerateOnboardingLinkResponseSchema(generateOnboardingLinkResponseSchema = {}) {
|
|
9719
|
+
return {
|
|
9720
|
+
"data": n => { generateOnboardingLinkResponseSchema.data = n.getObjectValue(createGenerateOnboardingLinkResponseSchema_dataFromDiscriminatorValue); },
|
|
9721
|
+
"type": n => { generateOnboardingLinkResponseSchema.type = n.getStringValue(); },
|
|
9722
|
+
};
|
|
9723
|
+
}
|
|
9724
|
+
/**
|
|
9725
|
+
* The deserialization information for the current model
|
|
9726
|
+
* @param GenerateOnboardingLinkResponseSchema_data The instance to deserialize into.
|
|
9727
|
+
* @returns {Record<string, (node: ParseNode) => void>}
|
|
9728
|
+
*/
|
|
9729
|
+
// @ts-ignore
|
|
9730
|
+
function deserializeIntoGenerateOnboardingLinkResponseSchema_data(generateOnboardingLinkResponseSchema_data = {}) {
|
|
9731
|
+
return {
|
|
9732
|
+
"completionUrl": n => { generateOnboardingLinkResponseSchema_data.completionUrl = n.getStringValue(); },
|
|
9733
|
+
"refreshUrl": n => { generateOnboardingLinkResponseSchema_data.refreshUrl = n.getStringValue(); },
|
|
9734
|
+
"returnUrl": n => { generateOnboardingLinkResponseSchema_data.returnUrl = n.getStringValue(); },
|
|
9735
|
+
"url": n => { generateOnboardingLinkResponseSchema_data.url = n.getStringValue(); },
|
|
9736
|
+
};
|
|
9737
|
+
}
|
|
9692
9738
|
/**
|
|
9693
9739
|
* The deserialization information for the current model
|
|
9694
9740
|
* @param GetAIConversationDetailSchema The instance to deserialize into.
|
|
@@ -10601,7 +10647,9 @@ function deserializeIntoGetEventDetailSchema_data_destinations_data(getEventDeta
|
|
|
10601
10647
|
function deserializeIntoGetEventDetailSchema_data_destinations_data_webhook(getEventDetailSchema_data_destinations_data_webhook = {}) {
|
|
10602
10648
|
return {
|
|
10603
10649
|
"createdAt": n => { getEventDetailSchema_data_destinations_data_webhook.createdAt = n.getStringValue(); },
|
|
10650
|
+
"description": n => { getEventDetailSchema_data_destinations_data_webhook.description = n.getStringValue(); },
|
|
10604
10651
|
"id": n => { getEventDetailSchema_data_destinations_data_webhook.id = n.getStringValue(); },
|
|
10652
|
+
"name": n => { getEventDetailSchema_data_destinations_data_webhook.name = n.getStringValue(); },
|
|
10605
10653
|
"organisation": n => { getEventDetailSchema_data_destinations_data_webhook.organisation = n.getStringValue(); },
|
|
10606
10654
|
"secret": n => { getEventDetailSchema_data_destinations_data_webhook.secret = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
10607
10655
|
"updatedAt": n => { getEventDetailSchema_data_destinations_data_webhook.updatedAt = n.getStringValue(); },
|
|
@@ -14012,9 +14060,11 @@ function deserializeIntoGetWebhookDetailSchema(getWebhookDetailSchema = {}) {
|
|
|
14012
14060
|
function deserializeIntoGetWebhookDetailSchema_data(getWebhookDetailSchema_data = {}) {
|
|
14013
14061
|
return {
|
|
14014
14062
|
"createdAt": n => { getWebhookDetailSchema_data.createdAt = n.getStringValue(); },
|
|
14063
|
+
"description": n => { getWebhookDetailSchema_data.description = n.getStringValue(); },
|
|
14015
14064
|
"destinations": n => { getWebhookDetailSchema_data.destinations = n.getObjectValue(createGetWebhookDetailSchema_data_destinationsFromDiscriminatorValue); },
|
|
14016
14065
|
"eventTypes": n => { getWebhookDetailSchema_data.eventTypes = n.getObjectValue(createGetWebhookDetailSchema_data_eventTypesFromDiscriminatorValue); },
|
|
14017
14066
|
"id": n => { getWebhookDetailSchema_data.id = n.getStringValue(); },
|
|
14067
|
+
"name": n => { getWebhookDetailSchema_data.name = n.getStringValue(); },
|
|
14018
14068
|
"organisation": n => { getWebhookDetailSchema_data.organisation = n.getStringValue(); },
|
|
14019
14069
|
"secret": n => { getWebhookDetailSchema_data.secret = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
14020
14070
|
"updatedAt": n => { getWebhookDetailSchema_data.updatedAt = n.getStringValue(); },
|
|
@@ -14123,8 +14173,10 @@ function deserializeIntoGetWebhookListSchema(getWebhookListSchema = {}) {
|
|
|
14123
14173
|
function deserializeIntoGetWebhookListSchema_data(getWebhookListSchema_data = {}) {
|
|
14124
14174
|
return {
|
|
14125
14175
|
"createdAt": n => { getWebhookListSchema_data.createdAt = n.getStringValue(); },
|
|
14176
|
+
"description": n => { getWebhookListSchema_data.description = n.getStringValue(); },
|
|
14126
14177
|
"eventTypes": n => { getWebhookListSchema_data.eventTypes = n.getObjectValue(createGetWebhookListSchema_data_eventTypesFromDiscriminatorValue); },
|
|
14127
14178
|
"id": n => { getWebhookListSchema_data.id = n.getStringValue(); },
|
|
14179
|
+
"name": n => { getWebhookListSchema_data.name = n.getStringValue(); },
|
|
14128
14180
|
"organisation": n => { getWebhookListSchema_data.organisation = n.getStringValue(); },
|
|
14129
14181
|
"secret": n => { getWebhookListSchema_data.secret = n.getObjectValue(createUntypedNodeFromDiscriminatorValue); },
|
|
14130
14182
|
"updatedAt": n => { getWebhookListSchema_data.updatedAt = n.getStringValue(); },
|
|
@@ -14820,8 +14872,10 @@ function serializeCreateWebhookRequestSchema(writer, createWebhookRequestSchema
|
|
|
14820
14872
|
if (!createWebhookRequestSchema || isSerializingDerivedType) {
|
|
14821
14873
|
return;
|
|
14822
14874
|
}
|
|
14875
|
+
writer.writeStringValue("description", createWebhookRequestSchema.description);
|
|
14823
14876
|
if (createWebhookRequestSchema.events)
|
|
14824
14877
|
writer.writeCollectionOfEnumValues("events", createWebhookRequestSchema.events);
|
|
14878
|
+
writer.writeStringValue("name", createWebhookRequestSchema.name);
|
|
14825
14879
|
writer.writeStringValue("url", createWebhookRequestSchema.url);
|
|
14826
14880
|
}
|
|
14827
14881
|
/**
|
|
@@ -15391,8 +15445,10 @@ function serializeUpdateWebhookRequestSchema(writer, updateWebhookRequestSchema
|
|
|
15391
15445
|
if (!updateWebhookRequestSchema || isSerializingDerivedType) {
|
|
15392
15446
|
return;
|
|
15393
15447
|
}
|
|
15448
|
+
writer.writeStringValue("description", updateWebhookRequestSchema.description);
|
|
15394
15449
|
if (updateWebhookRequestSchema.events)
|
|
15395
15450
|
writer.writeCollectionOfEnumValues("events", updateWebhookRequestSchema.events);
|
|
15451
|
+
writer.writeStringValue("name", updateWebhookRequestSchema.name);
|
|
15396
15452
|
writer.writeStringValue("url", updateWebhookRequestSchema.url);
|
|
15397
15453
|
}
|
|
15398
15454
|
/* tslint:enable */
|
|
@@ -17152,8 +17208,8 @@ const OnboardingRequestBuilderRequestsMetadata = {
|
|
|
17152
17208
|
429: createErrorResponseBodyFromDiscriminatorValue,
|
|
17153
17209
|
500: createErrorResponseBodyFromDiscriminatorValue,
|
|
17154
17210
|
},
|
|
17155
|
-
adapterMethodName: "
|
|
17156
|
-
responseBodyFactory:
|
|
17211
|
+
adapterMethodName: "send",
|
|
17212
|
+
responseBodyFactory: createGenerateOnboardingLinkResponseSchemaFromDiscriminatorValue,
|
|
17157
17213
|
},
|
|
17158
17214
|
};
|
|
17159
17215
|
/* tslint:enable */
|