@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.
|
@@ -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<
|
|
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<
|
|
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
|
|
@@ -3411,10 +3423,18 @@ export interface CreateWebhookRequestResponseSchema_data extends Parsable {
|
|
|
3411
3423
|
* The createdAt property
|
|
3412
3424
|
*/
|
|
3413
3425
|
createdAt?: string | null;
|
|
3426
|
+
/**
|
|
3427
|
+
* The description property
|
|
3428
|
+
*/
|
|
3429
|
+
description?: string | null;
|
|
3414
3430
|
/**
|
|
3415
3431
|
* The id property
|
|
3416
3432
|
*/
|
|
3417
3433
|
id?: string | null;
|
|
3434
|
+
/**
|
|
3435
|
+
* The name property
|
|
3436
|
+
*/
|
|
3437
|
+
name?: string | null;
|
|
3418
3438
|
/**
|
|
3419
3439
|
* The organisation property
|
|
3420
3440
|
*/
|
|
@@ -3433,10 +3453,18 @@ export interface CreateWebhookRequestResponseSchema_data extends Parsable {
|
|
|
3433
3453
|
url?: string | null;
|
|
3434
3454
|
}
|
|
3435
3455
|
export interface CreateWebhookRequestSchema extends Parsable {
|
|
3456
|
+
/**
|
|
3457
|
+
* The description property
|
|
3458
|
+
*/
|
|
3459
|
+
description?: string | null;
|
|
3436
3460
|
/**
|
|
3437
3461
|
* The events property
|
|
3438
3462
|
*/
|
|
3439
3463
|
events?: CreateWebhookRequestSchema_events[] | null;
|
|
3464
|
+
/**
|
|
3465
|
+
* The name property
|
|
3466
|
+
*/
|
|
3467
|
+
name?: string | null;
|
|
3440
3468
|
/**
|
|
3441
3469
|
* The url property
|
|
3442
3470
|
*/
|
|
@@ -3863,6 +3891,18 @@ export declare function deserializeIntoGenerateCheckoutLinkSchema(generateChecko
|
|
|
3863
3891
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
3864
3892
|
*/
|
|
3865
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>;
|
|
3866
3906
|
/**
|
|
3867
3907
|
* The deserialization information for the current model
|
|
3868
3908
|
* @param GetAIConversationDetailSchema The instance to deserialize into.
|
|
@@ -5933,6 +5973,34 @@ export interface GenerateCheckoutLinkSchema_data extends AdditionalDataHolder, P
|
|
|
5933
5973
|
*/
|
|
5934
5974
|
url?: string | null;
|
|
5935
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
|
+
}
|
|
5936
6004
|
export interface GetAIConversationDetailSchema extends Parsable {
|
|
5937
6005
|
/**
|
|
5938
6006
|
* The data property
|
|
@@ -7402,10 +7470,18 @@ export interface GetEventDetailSchema_data_destinations_data_webhook extends Par
|
|
|
7402
7470
|
* The createdAt property
|
|
7403
7471
|
*/
|
|
7404
7472
|
createdAt?: string | null;
|
|
7473
|
+
/**
|
|
7474
|
+
* The description property
|
|
7475
|
+
*/
|
|
7476
|
+
description?: string | null;
|
|
7405
7477
|
/**
|
|
7406
7478
|
* The id property
|
|
7407
7479
|
*/
|
|
7408
7480
|
id?: string | null;
|
|
7481
|
+
/**
|
|
7482
|
+
* The name property
|
|
7483
|
+
*/
|
|
7484
|
+
name?: string | null;
|
|
7409
7485
|
/**
|
|
7410
7486
|
* The organisation property
|
|
7411
7487
|
*/
|
|
@@ -13409,6 +13485,10 @@ export interface GetWebhookDetailSchema_data extends AdditionalDataHolder, Parsa
|
|
|
13409
13485
|
* The createdAt property
|
|
13410
13486
|
*/
|
|
13411
13487
|
createdAt?: string | null;
|
|
13488
|
+
/**
|
|
13489
|
+
* The description property
|
|
13490
|
+
*/
|
|
13491
|
+
description?: string | null;
|
|
13412
13492
|
/**
|
|
13413
13493
|
* The destinations property
|
|
13414
13494
|
*/
|
|
@@ -13421,6 +13501,10 @@ export interface GetWebhookDetailSchema_data extends AdditionalDataHolder, Parsa
|
|
|
13421
13501
|
* The id property
|
|
13422
13502
|
*/
|
|
13423
13503
|
id?: string | null;
|
|
13504
|
+
/**
|
|
13505
|
+
* The name property
|
|
13506
|
+
*/
|
|
13507
|
+
name?: string | null;
|
|
13424
13508
|
/**
|
|
13425
13509
|
* The organisation property
|
|
13426
13510
|
*/
|
|
@@ -13588,6 +13672,10 @@ export interface GetWebhookListSchema_data extends AdditionalDataHolder, Parsabl
|
|
|
13588
13672
|
* The createdAt property
|
|
13589
13673
|
*/
|
|
13590
13674
|
createdAt?: string | null;
|
|
13675
|
+
/**
|
|
13676
|
+
* The description property
|
|
13677
|
+
*/
|
|
13678
|
+
description?: string | null;
|
|
13591
13679
|
/**
|
|
13592
13680
|
* The eventTypes property
|
|
13593
13681
|
*/
|
|
@@ -13596,6 +13684,10 @@ export interface GetWebhookListSchema_data extends AdditionalDataHolder, Parsabl
|
|
|
13596
13684
|
* The id property
|
|
13597
13685
|
*/
|
|
13598
13686
|
id?: string | null;
|
|
13687
|
+
/**
|
|
13688
|
+
* The name property
|
|
13689
|
+
*/
|
|
13690
|
+
name?: string | null;
|
|
13599
13691
|
/**
|
|
13600
13692
|
* The organisation property
|
|
13601
13693
|
*/
|
|
@@ -14790,6 +14882,20 @@ export declare function serializeGenerateCheckoutLinkSchema(writer: Serializatio
|
|
|
14790
14882
|
* @param writer Serialization writer to use to serialize this model
|
|
14791
14883
|
*/
|
|
14792
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;
|
|
14793
14899
|
/**
|
|
14794
14900
|
* Serializes information the current object
|
|
14795
14901
|
* @param GetAIConversationDetailSchema The instance to serialize from.
|
|
@@ -17836,10 +17942,18 @@ export interface UpdateSubscriptionPlanLineItemSchema extends Parsable {
|
|
|
17836
17942
|
}
|
|
17837
17943
|
export type UpdateSubscriptionPlanLineItemSchema_proration = (typeof UpdateSubscriptionPlanLineItemSchema_prorationObject)[keyof typeof UpdateSubscriptionPlanLineItemSchema_prorationObject];
|
|
17838
17944
|
export interface UpdateWebhookRequestSchema extends Parsable {
|
|
17945
|
+
/**
|
|
17946
|
+
* The description property
|
|
17947
|
+
*/
|
|
17948
|
+
description?: string | null;
|
|
17839
17949
|
/**
|
|
17840
17950
|
* The events property
|
|
17841
17951
|
*/
|
|
17842
17952
|
events?: UpdateWebhookRequestSchema_events[] | null;
|
|
17953
|
+
/**
|
|
17954
|
+
* The name property
|
|
17955
|
+
*/
|
|
17956
|
+
name?: string | null;
|
|
17843
17957
|
/**
|
|
17844
17958
|
* The url property
|
|
17845
17959
|
*/
|