@salable/sdk 1.0.41 → 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.js CHANGED
@@ -6584,6 +6584,24 @@ function createGenerateCheckoutLinkSchema_dataFromDiscriminatorValue(parseNode)
6584
6584
  function createGenerateCheckoutLinkSchemaFromDiscriminatorValue(parseNode) {
6585
6585
  return deserializeIntoGenerateCheckoutLinkSchema;
6586
6586
  }
6587
+ /**
6588
+ * Creates a new instance of the appropriate class based on discriminator value
6589
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6590
+ * @returns {GenerateOnboardingLinkResponseSchema_data}
6591
+ */
6592
+ // @ts-ignore
6593
+ function createGenerateOnboardingLinkResponseSchema_dataFromDiscriminatorValue(parseNode) {
6594
+ return deserializeIntoGenerateOnboardingLinkResponseSchema_data;
6595
+ }
6596
+ /**
6597
+ * Creates a new instance of the appropriate class based on discriminator value
6598
+ * @param parseNode The parse node to use to read the discriminator value and create the object
6599
+ * @returns {GenerateOnboardingLinkResponseSchema}
6600
+ */
6601
+ // @ts-ignore
6602
+ function createGenerateOnboardingLinkResponseSchemaFromDiscriminatorValue(parseNode) {
6603
+ return deserializeIntoGenerateOnboardingLinkResponseSchema;
6604
+ }
6587
6605
  /**
6588
6606
  * Creates a new instance of the appropriate class based on discriminator value
6589
6607
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -9693,6 +9711,32 @@ function deserializeIntoGenerateCheckoutLinkSchema_data(generateCheckoutLinkSche
9693
9711
  "url": n => { generateCheckoutLinkSchema_data.url = n.getStringValue(); },
9694
9712
  };
9695
9713
  }
9714
+ /**
9715
+ * The deserialization information for the current model
9716
+ * @param GenerateOnboardingLinkResponseSchema The instance to deserialize into.
9717
+ * @returns {Record<string, (node: ParseNode) => void>}
9718
+ */
9719
+ // @ts-ignore
9720
+ function deserializeIntoGenerateOnboardingLinkResponseSchema(generateOnboardingLinkResponseSchema = {}) {
9721
+ return {
9722
+ "data": n => { generateOnboardingLinkResponseSchema.data = n.getObjectValue(createGenerateOnboardingLinkResponseSchema_dataFromDiscriminatorValue); },
9723
+ "type": n => { generateOnboardingLinkResponseSchema.type = n.getStringValue(); },
9724
+ };
9725
+ }
9726
+ /**
9727
+ * The deserialization information for the current model
9728
+ * @param GenerateOnboardingLinkResponseSchema_data The instance to deserialize into.
9729
+ * @returns {Record<string, (node: ParseNode) => void>}
9730
+ */
9731
+ // @ts-ignore
9732
+ function deserializeIntoGenerateOnboardingLinkResponseSchema_data(generateOnboardingLinkResponseSchema_data = {}) {
9733
+ return {
9734
+ "completionUrl": n => { generateOnboardingLinkResponseSchema_data.completionUrl = n.getStringValue(); },
9735
+ "refreshUrl": n => { generateOnboardingLinkResponseSchema_data.refreshUrl = n.getStringValue(); },
9736
+ "returnUrl": n => { generateOnboardingLinkResponseSchema_data.returnUrl = n.getStringValue(); },
9737
+ "url": n => { generateOnboardingLinkResponseSchema_data.url = n.getStringValue(); },
9738
+ };
9739
+ }
9696
9740
  /**
9697
9741
  * The deserialization information for the current model
9698
9742
  * @param GetAIConversationDetailSchema The instance to deserialize into.
@@ -17166,8 +17210,8 @@ const OnboardingRequestBuilderRequestsMetadata = {
17166
17210
  429: createErrorResponseBodyFromDiscriminatorValue,
17167
17211
  500: createErrorResponseBodyFromDiscriminatorValue,
17168
17212
  },
17169
- adapterMethodName: "sendPrimitive",
17170
- responseBodyFactory: "ArrayBuffer",
17213
+ adapterMethodName: "send",
17214
+ responseBodyFactory: createGenerateOnboardingLinkResponseSchemaFromDiscriminatorValue,
17171
17215
  },
17172
17216
  };
17173
17217
  /* tslint:enable */