@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.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
@@ -9691,6 +9709,32 @@ function deserializeIntoGenerateCheckoutLinkSchema_data(generateCheckoutLinkSche
9691
9709
  "url": n => { generateCheckoutLinkSchema_data.url = n.getStringValue(); },
9692
9710
  };
9693
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
+ }
9694
9738
  /**
9695
9739
  * The deserialization information for the current model
9696
9740
  * @param GetAIConversationDetailSchema The instance to deserialize into.
@@ -17164,8 +17208,8 @@ const OnboardingRequestBuilderRequestsMetadata = {
17164
17208
  429: createErrorResponseBodyFromDiscriminatorValue,
17165
17209
  500: createErrorResponseBodyFromDiscriminatorValue,
17166
17210
  },
17167
- adapterMethodName: "sendPrimitive",
17168
- responseBodyFactory: "ArrayBuffer",
17211
+ adapterMethodName: "send",
17212
+ responseBodyFactory: createGenerateOnboardingLinkResponseSchemaFromDiscriminatorValue,
17169
17213
  },
17170
17214
  };
17171
17215
  /* tslint:enable */