@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.
@@ -1,3 +1,4 @@
1
+ import { type GenerateOnboardingLinkResponseSchema } from '../../../../models/index.js';
1
2
  import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
2
3
  /**
3
4
  * Builds and executes requests for operations under /api/payment-integrations/{id}/onboarding
@@ -6,7 +7,7 @@ export interface OnboardingRequestBuilder extends BaseRequestBuilder<OnboardingR
6
7
  /**
7
8
  * Generate a new Stripe onboarding link for an existing payment integration
8
9
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9
- * @returns {Promise<ArrayBuffer>}
10
+ * @returns {Promise<GenerateOnboardingLinkResponseSchema>}
10
11
  * @throws {ErrorResponseBody} error when the service returns a 400 status code
11
12
  * @throws {ErrorResponseBody} error when the service returns a 401 status code
12
13
  * @throws {ErrorResponseBody} error when the service returns a 403 status code
@@ -15,7 +16,7 @@ export interface OnboardingRequestBuilder extends BaseRequestBuilder<OnboardingR
15
16
  * @throws {ErrorResponseBody} error when the service returns a 429 status code
16
17
  * @throws {ErrorResponseBody} error when the service returns a 500 status code
17
18
  */
18
- post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ArrayBuffer | undefined>;
19
+ post(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<GenerateOnboardingLinkResponseSchema | undefined>;
19
20
  /**
20
21
  * Generate a new Stripe onboarding link for an existing payment integration
21
22
  * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
@@ -868,6 +868,18 @@ export declare function createGenerateCheckoutLinkSchema_dataFromDiscriminatorVa
868
868
  * @returns {GenerateCheckoutLinkSchema}
869
869
  */
870
870
  export declare function createGenerateCheckoutLinkSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
871
+ /**
872
+ * Creates a new instance of the appropriate class based on discriminator value
873
+ * @param parseNode The parse node to use to read the discriminator value and create the object
874
+ * @returns {GenerateOnboardingLinkResponseSchema_data}
875
+ */
876
+ export declare function createGenerateOnboardingLinkResponseSchema_dataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
877
+ /**
878
+ * Creates a new instance of the appropriate class based on discriminator value
879
+ * @param parseNode The parse node to use to read the discriminator value and create the object
880
+ * @returns {GenerateOnboardingLinkResponseSchema}
881
+ */
882
+ export declare function createGenerateOnboardingLinkResponseSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
871
883
  /**
872
884
  * Creates a new instance of the appropriate class based on discriminator value
873
885
  * @param parseNode The parse node to use to read the discriminator value and create the object
@@ -3879,6 +3891,18 @@ export declare function deserializeIntoGenerateCheckoutLinkSchema(generateChecko
3879
3891
  * @returns {Record<string, (node: ParseNode) => void>}
3880
3892
  */
3881
3893
  export declare function deserializeIntoGenerateCheckoutLinkSchema_data(generateCheckoutLinkSchema_data?: Partial<GenerateCheckoutLinkSchema_data> | undefined): Record<string, (node: ParseNode) => void>;
3894
+ /**
3895
+ * The deserialization information for the current model
3896
+ * @param GenerateOnboardingLinkResponseSchema The instance to deserialize into.
3897
+ * @returns {Record<string, (node: ParseNode) => void>}
3898
+ */
3899
+ export declare function deserializeIntoGenerateOnboardingLinkResponseSchema(generateOnboardingLinkResponseSchema?: Partial<GenerateOnboardingLinkResponseSchema> | undefined): Record<string, (node: ParseNode) => void>;
3900
+ /**
3901
+ * The deserialization information for the current model
3902
+ * @param GenerateOnboardingLinkResponseSchema_data The instance to deserialize into.
3903
+ * @returns {Record<string, (node: ParseNode) => void>}
3904
+ */
3905
+ export declare function deserializeIntoGenerateOnboardingLinkResponseSchema_data(generateOnboardingLinkResponseSchema_data?: Partial<GenerateOnboardingLinkResponseSchema_data> | undefined): Record<string, (node: ParseNode) => void>;
3882
3906
  /**
3883
3907
  * The deserialization information for the current model
3884
3908
  * @param GetAIConversationDetailSchema The instance to deserialize into.
@@ -5949,6 +5973,34 @@ export interface GenerateCheckoutLinkSchema_data extends AdditionalDataHolder, P
5949
5973
  */
5950
5974
  url?: string | null;
5951
5975
  }
5976
+ export interface GenerateOnboardingLinkResponseSchema extends Parsable {
5977
+ /**
5978
+ * The data property
5979
+ */
5980
+ data?: GenerateOnboardingLinkResponseSchema_data | null;
5981
+ /**
5982
+ * The type property
5983
+ */
5984
+ type?: string | null;
5985
+ }
5986
+ export interface GenerateOnboardingLinkResponseSchema_data extends AdditionalDataHolder, Parsable {
5987
+ /**
5988
+ * The completionUrl property
5989
+ */
5990
+ completionUrl?: string | null;
5991
+ /**
5992
+ * The refreshUrl property
5993
+ */
5994
+ refreshUrl?: string | null;
5995
+ /**
5996
+ * The returnUrl property
5997
+ */
5998
+ returnUrl?: string | null;
5999
+ /**
6000
+ * The url property
6001
+ */
6002
+ url?: string | null;
6003
+ }
5952
6004
  export interface GetAIConversationDetailSchema extends Parsable {
5953
6005
  /**
5954
6006
  * The data property
@@ -14830,6 +14882,20 @@ export declare function serializeGenerateCheckoutLinkSchema(writer: Serializatio
14830
14882
  * @param writer Serialization writer to use to serialize this model
14831
14883
  */
14832
14884
  export declare function serializeGenerateCheckoutLinkSchema_data(writer: SerializationWriter, generateCheckoutLinkSchema_data?: Partial<GenerateCheckoutLinkSchema_data> | undefined | null, isSerializingDerivedType?: boolean): void;
14885
+ /**
14886
+ * Serializes information the current object
14887
+ * @param GenerateOnboardingLinkResponseSchema The instance to serialize from.
14888
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
14889
+ * @param writer Serialization writer to use to serialize this model
14890
+ */
14891
+ export declare function serializeGenerateOnboardingLinkResponseSchema(writer: SerializationWriter, generateOnboardingLinkResponseSchema?: Partial<GenerateOnboardingLinkResponseSchema> | undefined | null, isSerializingDerivedType?: boolean): void;
14892
+ /**
14893
+ * Serializes information the current object
14894
+ * @param GenerateOnboardingLinkResponseSchema_data The instance to serialize from.
14895
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
14896
+ * @param writer Serialization writer to use to serialize this model
14897
+ */
14898
+ export declare function serializeGenerateOnboardingLinkResponseSchema_data(writer: SerializationWriter, generateOnboardingLinkResponseSchema_data?: Partial<GenerateOnboardingLinkResponseSchema_data> | undefined | null, isSerializingDerivedType?: boolean): void;
14833
14899
  /**
14834
14900
  * Serializes information the current object
14835
14901
  * @param GetAIConversationDetailSchema The instance to serialize from.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salable/sdk",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",