@gooday_corp/gooday-api-client 1.1.10-alpha → 1.1.10-alpha-1
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/api.ts +237 -15
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -827,6 +827,25 @@ export interface IntegrationResponse {
|
|
|
827
827
|
*/
|
|
828
828
|
'data': IntegrationEntity;
|
|
829
829
|
}
|
|
830
|
+
/**
|
|
831
|
+
*
|
|
832
|
+
* @export
|
|
833
|
+
* @interface IntegrationsResponse
|
|
834
|
+
*/
|
|
835
|
+
export interface IntegrationsResponse {
|
|
836
|
+
/**
|
|
837
|
+
* Status code of the response
|
|
838
|
+
* @type {number}
|
|
839
|
+
* @memberof IntegrationsResponse
|
|
840
|
+
*/
|
|
841
|
+
'statusCode': number;
|
|
842
|
+
/**
|
|
843
|
+
* Integration response
|
|
844
|
+
* @type {Array<IntegrationEntity>}
|
|
845
|
+
* @memberof IntegrationsResponse
|
|
846
|
+
*/
|
|
847
|
+
'data': Array<IntegrationEntity>;
|
|
848
|
+
}
|
|
830
849
|
/**
|
|
831
850
|
*
|
|
832
851
|
* @export
|
|
@@ -859,6 +878,25 @@ export interface LoggedOutResponse {
|
|
|
859
878
|
*/
|
|
860
879
|
'message': string;
|
|
861
880
|
}
|
|
881
|
+
/**
|
|
882
|
+
*
|
|
883
|
+
* @export
|
|
884
|
+
* @interface MicrosoftCalendarAccessDTO
|
|
885
|
+
*/
|
|
886
|
+
export interface MicrosoftCalendarAccessDTO {
|
|
887
|
+
/**
|
|
888
|
+
* accessToken
|
|
889
|
+
* @type {string}
|
|
890
|
+
* @memberof MicrosoftCalendarAccessDTO
|
|
891
|
+
*/
|
|
892
|
+
'accessToken': string;
|
|
893
|
+
/**
|
|
894
|
+
* refreshToken
|
|
895
|
+
* @type {string}
|
|
896
|
+
* @memberof MicrosoftCalendarAccessDTO
|
|
897
|
+
*/
|
|
898
|
+
'refreshToken': string;
|
|
899
|
+
}
|
|
862
900
|
/**
|
|
863
901
|
*
|
|
864
902
|
* @export
|
|
@@ -996,6 +1034,12 @@ export interface PlanEntity {
|
|
|
996
1034
|
* @memberof PlanEntity
|
|
997
1035
|
*/
|
|
998
1036
|
'description': string;
|
|
1037
|
+
/**
|
|
1038
|
+
*
|
|
1039
|
+
* @type {string}
|
|
1040
|
+
* @memberof PlanEntity
|
|
1041
|
+
*/
|
|
1042
|
+
'currency': string;
|
|
999
1043
|
/**
|
|
1000
1044
|
* Array of features included in the plan
|
|
1001
1045
|
* @type {Array<PlanFeature>}
|
|
@@ -1352,6 +1396,50 @@ export interface SkillDto {
|
|
|
1352
1396
|
*/
|
|
1353
1397
|
'weightage': number;
|
|
1354
1398
|
}
|
|
1399
|
+
/**
|
|
1400
|
+
*
|
|
1401
|
+
* @export
|
|
1402
|
+
* @interface StripPaymentDTO
|
|
1403
|
+
*/
|
|
1404
|
+
export interface StripPaymentDTO {
|
|
1405
|
+
/**
|
|
1406
|
+
* Strip Customer ID
|
|
1407
|
+
* @type {string}
|
|
1408
|
+
* @memberof StripPaymentDTO
|
|
1409
|
+
*/
|
|
1410
|
+
'customerId': string;
|
|
1411
|
+
/**
|
|
1412
|
+
* Strip ephemeral Key
|
|
1413
|
+
* @type {string}
|
|
1414
|
+
* @memberof StripPaymentDTO
|
|
1415
|
+
*/
|
|
1416
|
+
'ephemeralKey': string;
|
|
1417
|
+
/**
|
|
1418
|
+
* Strip ClientSecret
|
|
1419
|
+
* @type {string}
|
|
1420
|
+
* @memberof StripPaymentDTO
|
|
1421
|
+
*/
|
|
1422
|
+
'clientSecret': string;
|
|
1423
|
+
}
|
|
1424
|
+
/**
|
|
1425
|
+
*
|
|
1426
|
+
* @export
|
|
1427
|
+
* @interface StripePaymentIntentResponseDTO
|
|
1428
|
+
*/
|
|
1429
|
+
export interface StripePaymentIntentResponseDTO {
|
|
1430
|
+
/**
|
|
1431
|
+
* statuscCode
|
|
1432
|
+
* @type {number}
|
|
1433
|
+
* @memberof StripePaymentIntentResponseDTO
|
|
1434
|
+
*/
|
|
1435
|
+
'statusCode': number;
|
|
1436
|
+
/**
|
|
1437
|
+
* Strip Intent Data
|
|
1438
|
+
* @type {StripPaymentDTO}
|
|
1439
|
+
* @memberof StripePaymentIntentResponseDTO
|
|
1440
|
+
*/
|
|
1441
|
+
'data': StripPaymentDTO;
|
|
1442
|
+
}
|
|
1355
1443
|
/**
|
|
1356
1444
|
*
|
|
1357
1445
|
* @export
|
|
@@ -1433,7 +1521,7 @@ export interface UserEntity {
|
|
|
1433
1521
|
}
|
|
1434
1522
|
|
|
1435
1523
|
export const UserEntityRoleEnum = {
|
|
1436
|
-
|
|
1524
|
+
Business: 'business',
|
|
1437
1525
|
User: 'user'
|
|
1438
1526
|
} as const;
|
|
1439
1527
|
|
|
@@ -3258,6 +3346,39 @@ export class GoalsApi extends BaseAPI {
|
|
|
3258
3346
|
*/
|
|
3259
3347
|
export const IntegrationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3260
3348
|
return {
|
|
3349
|
+
/**
|
|
3350
|
+
*
|
|
3351
|
+
* @param {*} [options] Override http request option.
|
|
3352
|
+
* @throws {RequiredError}
|
|
3353
|
+
*/
|
|
3354
|
+
integrationControllerFetchIntegration: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3355
|
+
const localVarPath = `/v1/calendar`;
|
|
3356
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3357
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3358
|
+
let baseOptions;
|
|
3359
|
+
if (configuration) {
|
|
3360
|
+
baseOptions = configuration.baseOptions;
|
|
3361
|
+
}
|
|
3362
|
+
|
|
3363
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3364
|
+
const localVarHeaderParameter = {} as any;
|
|
3365
|
+
const localVarQueryParameter = {} as any;
|
|
3366
|
+
|
|
3367
|
+
// authentication bearer required
|
|
3368
|
+
// http bearer authentication required
|
|
3369
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3370
|
+
|
|
3371
|
+
|
|
3372
|
+
|
|
3373
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3374
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3375
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3376
|
+
|
|
3377
|
+
return {
|
|
3378
|
+
url: toPathString(localVarUrlObj),
|
|
3379
|
+
options: localVarRequestOptions,
|
|
3380
|
+
};
|
|
3381
|
+
},
|
|
3261
3382
|
/**
|
|
3262
3383
|
*
|
|
3263
3384
|
* @param {CalendarAccessDTO} calendarAccessDTO
|
|
@@ -3299,13 +3420,13 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
|
|
|
3299
3420
|
},
|
|
3300
3421
|
/**
|
|
3301
3422
|
*
|
|
3302
|
-
* @param {
|
|
3423
|
+
* @param {MicrosoftCalendarAccessDTO} microsoftCalendarAccessDTO
|
|
3303
3424
|
* @param {*} [options] Override http request option.
|
|
3304
3425
|
* @throws {RequiredError}
|
|
3305
3426
|
*/
|
|
3306
|
-
integrationControllerMicrosoftCalendar: async (
|
|
3307
|
-
// verify required parameter '
|
|
3308
|
-
assertParamExists('integrationControllerMicrosoftCalendar', '
|
|
3427
|
+
integrationControllerMicrosoftCalendar: async (microsoftCalendarAccessDTO: MicrosoftCalendarAccessDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3428
|
+
// verify required parameter 'microsoftCalendarAccessDTO' is not null or undefined
|
|
3429
|
+
assertParamExists('integrationControllerMicrosoftCalendar', 'microsoftCalendarAccessDTO', microsoftCalendarAccessDTO)
|
|
3309
3430
|
const localVarPath = `/v1/calendar/microsoft`;
|
|
3310
3431
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3311
3432
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3329,7 +3450,7 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
|
|
|
3329
3450
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3330
3451
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3331
3452
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3332
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3453
|
+
localVarRequestOptions.data = serializeDataIfNeeded(microsoftCalendarAccessDTO, localVarRequestOptions, configuration)
|
|
3333
3454
|
|
|
3334
3455
|
return {
|
|
3335
3456
|
url: toPathString(localVarUrlObj),
|
|
@@ -3346,6 +3467,17 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
|
|
|
3346
3467
|
export const IntegrationApiFp = function(configuration?: Configuration) {
|
|
3347
3468
|
const localVarAxiosParamCreator = IntegrationApiAxiosParamCreator(configuration)
|
|
3348
3469
|
return {
|
|
3470
|
+
/**
|
|
3471
|
+
*
|
|
3472
|
+
* @param {*} [options] Override http request option.
|
|
3473
|
+
* @throws {RequiredError}
|
|
3474
|
+
*/
|
|
3475
|
+
async integrationControllerFetchIntegration(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationsResponse>> {
|
|
3476
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.integrationControllerFetchIntegration(options);
|
|
3477
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3478
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationApi.integrationControllerFetchIntegration']?.[localVarOperationServerIndex]?.url;
|
|
3479
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3480
|
+
},
|
|
3349
3481
|
/**
|
|
3350
3482
|
*
|
|
3351
3483
|
* @param {CalendarAccessDTO} calendarAccessDTO
|
|
@@ -3360,12 +3492,12 @@ export const IntegrationApiFp = function(configuration?: Configuration) {
|
|
|
3360
3492
|
},
|
|
3361
3493
|
/**
|
|
3362
3494
|
*
|
|
3363
|
-
* @param {
|
|
3495
|
+
* @param {MicrosoftCalendarAccessDTO} microsoftCalendarAccessDTO
|
|
3364
3496
|
* @param {*} [options] Override http request option.
|
|
3365
3497
|
* @throws {RequiredError}
|
|
3366
3498
|
*/
|
|
3367
|
-
async integrationControllerMicrosoftCalendar(
|
|
3368
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.integrationControllerMicrosoftCalendar(
|
|
3499
|
+
async integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO: MicrosoftCalendarAccessDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationResponse>> {
|
|
3500
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO, options);
|
|
3369
3501
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3370
3502
|
const localVarOperationServerBasePath = operationServerMap['IntegrationApi.integrationControllerMicrosoftCalendar']?.[localVarOperationServerIndex]?.url;
|
|
3371
3503
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3380,6 +3512,14 @@ export const IntegrationApiFp = function(configuration?: Configuration) {
|
|
|
3380
3512
|
export const IntegrationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3381
3513
|
const localVarFp = IntegrationApiFp(configuration)
|
|
3382
3514
|
return {
|
|
3515
|
+
/**
|
|
3516
|
+
*
|
|
3517
|
+
* @param {*} [options] Override http request option.
|
|
3518
|
+
* @throws {RequiredError}
|
|
3519
|
+
*/
|
|
3520
|
+
integrationControllerFetchIntegration(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationsResponse> {
|
|
3521
|
+
return localVarFp.integrationControllerFetchIntegration(options).then((request) => request(axios, basePath));
|
|
3522
|
+
},
|
|
3383
3523
|
/**
|
|
3384
3524
|
*
|
|
3385
3525
|
* @param {CalendarAccessDTO} calendarAccessDTO
|
|
@@ -3391,12 +3531,12 @@ export const IntegrationApiFactory = function (configuration?: Configuration, ba
|
|
|
3391
3531
|
},
|
|
3392
3532
|
/**
|
|
3393
3533
|
*
|
|
3394
|
-
* @param {
|
|
3534
|
+
* @param {MicrosoftCalendarAccessDTO} microsoftCalendarAccessDTO
|
|
3395
3535
|
* @param {*} [options] Override http request option.
|
|
3396
3536
|
* @throws {RequiredError}
|
|
3397
3537
|
*/
|
|
3398
|
-
integrationControllerMicrosoftCalendar(
|
|
3399
|
-
return localVarFp.integrationControllerMicrosoftCalendar(
|
|
3538
|
+
integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO: MicrosoftCalendarAccessDTO, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationResponse> {
|
|
3539
|
+
return localVarFp.integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO, options).then((request) => request(axios, basePath));
|
|
3400
3540
|
},
|
|
3401
3541
|
};
|
|
3402
3542
|
};
|
|
@@ -3408,6 +3548,16 @@ export const IntegrationApiFactory = function (configuration?: Configuration, ba
|
|
|
3408
3548
|
* @extends {BaseAPI}
|
|
3409
3549
|
*/
|
|
3410
3550
|
export class IntegrationApi extends BaseAPI {
|
|
3551
|
+
/**
|
|
3552
|
+
*
|
|
3553
|
+
* @param {*} [options] Override http request option.
|
|
3554
|
+
* @throws {RequiredError}
|
|
3555
|
+
* @memberof IntegrationApi
|
|
3556
|
+
*/
|
|
3557
|
+
public integrationControllerFetchIntegration(options?: RawAxiosRequestConfig) {
|
|
3558
|
+
return IntegrationApiFp(this.configuration).integrationControllerFetchIntegration(options).then((request) => request(this.axios, this.basePath));
|
|
3559
|
+
}
|
|
3560
|
+
|
|
3411
3561
|
/**
|
|
3412
3562
|
*
|
|
3413
3563
|
* @param {CalendarAccessDTO} calendarAccessDTO
|
|
@@ -3421,13 +3571,13 @@ export class IntegrationApi extends BaseAPI {
|
|
|
3421
3571
|
|
|
3422
3572
|
/**
|
|
3423
3573
|
*
|
|
3424
|
-
* @param {
|
|
3574
|
+
* @param {MicrosoftCalendarAccessDTO} microsoftCalendarAccessDTO
|
|
3425
3575
|
* @param {*} [options] Override http request option.
|
|
3426
3576
|
* @throws {RequiredError}
|
|
3427
3577
|
* @memberof IntegrationApi
|
|
3428
3578
|
*/
|
|
3429
|
-
public integrationControllerMicrosoftCalendar(
|
|
3430
|
-
return IntegrationApiFp(this.configuration).integrationControllerMicrosoftCalendar(
|
|
3579
|
+
public integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO: MicrosoftCalendarAccessDTO, options?: RawAxiosRequestConfig) {
|
|
3580
|
+
return IntegrationApiFp(this.configuration).integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3431
3581
|
}
|
|
3432
3582
|
}
|
|
3433
3583
|
|
|
@@ -3647,6 +3797,46 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3647
3797
|
options: localVarRequestOptions,
|
|
3648
3798
|
};
|
|
3649
3799
|
},
|
|
3800
|
+
/**
|
|
3801
|
+
*
|
|
3802
|
+
* @param {string} planId Strip Plan ID
|
|
3803
|
+
* @param {*} [options] Override http request option.
|
|
3804
|
+
* @throws {RequiredError}
|
|
3805
|
+
*/
|
|
3806
|
+
paymentControllerGetPaymentSecretForIntent: async (planId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3807
|
+
// verify required parameter 'planId' is not null or undefined
|
|
3808
|
+
assertParamExists('paymentControllerGetPaymentSecretForIntent', 'planId', planId)
|
|
3809
|
+
const localVarPath = `/v1/payment/payment-secret-for-intent`;
|
|
3810
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3811
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3812
|
+
let baseOptions;
|
|
3813
|
+
if (configuration) {
|
|
3814
|
+
baseOptions = configuration.baseOptions;
|
|
3815
|
+
}
|
|
3816
|
+
|
|
3817
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3818
|
+
const localVarHeaderParameter = {} as any;
|
|
3819
|
+
const localVarQueryParameter = {} as any;
|
|
3820
|
+
|
|
3821
|
+
// authentication bearer required
|
|
3822
|
+
// http bearer authentication required
|
|
3823
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3824
|
+
|
|
3825
|
+
if (planId !== undefined) {
|
|
3826
|
+
localVarQueryParameter['planId'] = planId;
|
|
3827
|
+
}
|
|
3828
|
+
|
|
3829
|
+
|
|
3830
|
+
|
|
3831
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3832
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3833
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3834
|
+
|
|
3835
|
+
return {
|
|
3836
|
+
url: toPathString(localVarUrlObj),
|
|
3837
|
+
options: localVarRequestOptions,
|
|
3838
|
+
};
|
|
3839
|
+
},
|
|
3650
3840
|
/**
|
|
3651
3841
|
*
|
|
3652
3842
|
* @param {*} [options] Override http request option.
|
|
@@ -3734,6 +3924,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
3734
3924
|
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreatePaymentLink']?.[localVarOperationServerIndex]?.url;
|
|
3735
3925
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3736
3926
|
},
|
|
3927
|
+
/**
|
|
3928
|
+
*
|
|
3929
|
+
* @param {string} planId Strip Plan ID
|
|
3930
|
+
* @param {*} [options] Override http request option.
|
|
3931
|
+
* @throws {RequiredError}
|
|
3932
|
+
*/
|
|
3933
|
+
async paymentControllerGetPaymentSecretForIntent(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePaymentIntentResponseDTO>> {
|
|
3934
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerGetPaymentSecretForIntent(planId, options);
|
|
3935
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3936
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPaymentSecretForIntent']?.[localVarOperationServerIndex]?.url;
|
|
3937
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3938
|
+
},
|
|
3737
3939
|
/**
|
|
3738
3940
|
*
|
|
3739
3941
|
* @param {*} [options] Override http request option.
|
|
@@ -3776,6 +3978,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
3776
3978
|
paymentControllerCreatePaymentLink(createPaymentLinkDTO: CreatePaymentLinkDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3777
3979
|
return localVarFp.paymentControllerCreatePaymentLink(createPaymentLinkDTO, options).then((request) => request(axios, basePath));
|
|
3778
3980
|
},
|
|
3981
|
+
/**
|
|
3982
|
+
*
|
|
3983
|
+
* @param {string} planId Strip Plan ID
|
|
3984
|
+
* @param {*} [options] Override http request option.
|
|
3985
|
+
* @throws {RequiredError}
|
|
3986
|
+
*/
|
|
3987
|
+
paymentControllerGetPaymentSecretForIntent(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<StripePaymentIntentResponseDTO> {
|
|
3988
|
+
return localVarFp.paymentControllerGetPaymentSecretForIntent(planId, options).then((request) => request(axios, basePath));
|
|
3989
|
+
},
|
|
3779
3990
|
/**
|
|
3780
3991
|
*
|
|
3781
3992
|
* @param {*} [options] Override http request option.
|
|
@@ -3814,6 +4025,17 @@ export class PlansApi extends BaseAPI {
|
|
|
3814
4025
|
return PlansApiFp(this.configuration).paymentControllerCreatePaymentLink(createPaymentLinkDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3815
4026
|
}
|
|
3816
4027
|
|
|
4028
|
+
/**
|
|
4029
|
+
*
|
|
4030
|
+
* @param {string} planId Strip Plan ID
|
|
4031
|
+
* @param {*} [options] Override http request option.
|
|
4032
|
+
* @throws {RequiredError}
|
|
4033
|
+
* @memberof PlansApi
|
|
4034
|
+
*/
|
|
4035
|
+
public paymentControllerGetPaymentSecretForIntent(planId: string, options?: RawAxiosRequestConfig) {
|
|
4036
|
+
return PlansApiFp(this.configuration).paymentControllerGetPaymentSecretForIntent(planId, options).then((request) => request(this.axios, this.basePath));
|
|
4037
|
+
}
|
|
4038
|
+
|
|
3817
4039
|
/**
|
|
3818
4040
|
*
|
|
3819
4041
|
* @param {*} [options] Override http request option.
|