@finverse/sdk-typescript 0.0.50 → 0.0.51

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.
Files changed (3) hide show
  1. package/dist/api.d.ts +133 -10
  2. package/dist/api.js +88 -9
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -3193,6 +3193,87 @@ export interface StatementLink {
3193
3193
  */
3194
3194
  statement_id?: string;
3195
3195
  }
3196
+ /**
3197
+ *
3198
+ * @export
3199
+ * @interface SubmitAuthChecklistRequest
3200
+ */
3201
+ export interface SubmitAuthChecklistRequest {
3202
+ /**
3203
+ * The key_id that was used to encrypt the envelope key
3204
+ * @type {string}
3205
+ * @memberof SubmitAuthChecklistRequest
3206
+ */
3207
+ key_id: string;
3208
+ /**
3209
+ * Finverse Institution ID
3210
+ * @type {string}
3211
+ * @memberof SubmitAuthChecklistRequest
3212
+ */
3213
+ institution_id: string;
3214
+ /**
3215
+ * The encrypted envelope key
3216
+ * @type {string}
3217
+ * @memberof SubmitAuthChecklistRequest
3218
+ */
3219
+ envelope_encryption_key: string;
3220
+ /**
3221
+ * The initialization vector used for enncrypting the payload
3222
+ * @type {string}
3223
+ * @memberof SubmitAuthChecklistRequest
3224
+ */
3225
+ initialization_vector: string;
3226
+ /**
3227
+ * The authentication code is used to authenticate the origin of the message
3228
+ * @type {string}
3229
+ * @memberof SubmitAuthChecklistRequest
3230
+ */
3231
+ message_authentication_code: string;
3232
+ /**
3233
+ * The encrypted payload that contains auth checklist items
3234
+ * @type {string}
3235
+ * @memberof SubmitAuthChecklistRequest
3236
+ */
3237
+ ciphertext: string;
3238
+ }
3239
+ /**
3240
+ *
3241
+ * @export
3242
+ * @interface SubmitAuthChecklistResponse
3243
+ */
3244
+ export interface SubmitAuthChecklistResponse {
3245
+ /**
3246
+ * Finverse Mandate ID
3247
+ * @type {string}
3248
+ * @memberof SubmitAuthChecklistResponse
3249
+ */
3250
+ mandate_id: string;
3251
+ /**
3252
+ * Checklist of the authorization factors needed to complete Mandate authorization
3253
+ * @type {Array<AuthChecklistFactor>}
3254
+ * @memberof SubmitAuthChecklistResponse
3255
+ */
3256
+ auth_checklist: Array<AuthChecklistFactor>;
3257
+ /**
3258
+ * Mandate status
3259
+ * @type {string}
3260
+ * @memberof SubmitAuthChecklistResponse
3261
+ */
3262
+ mandate_status: SubmitAuthChecklistResponseMandateStatusEnum;
3263
+ /**
3264
+ * Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
3265
+ * @type {string}
3266
+ * @memberof SubmitAuthChecklistResponse
3267
+ */
3268
+ last_update: string;
3269
+ }
3270
+ export declare const SubmitAuthChecklistResponseMandateStatusEnum: {
3271
+ readonly Created: "CREATED";
3272
+ readonly Processing: "PROCESSING";
3273
+ readonly Submitted: "SUBMITTED";
3274
+ readonly Error: "ERROR";
3275
+ };
3276
+ export declare type SubmitAuthChecklistResponseMandateStatusEnum = typeof SubmitAuthChecklistResponseMandateStatusEnum[keyof typeof SubmitAuthChecklistResponseMandateStatusEnum];
3196
3277
  /**
3197
3278
  *
3198
3279
  * @export
@@ -3399,7 +3480,7 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
3399
3480
  /**
3400
3481
  * CREATE Mandate
3401
3482
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
3402
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3483
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3403
3484
  * @param {*} [options] Override http request option.
3404
3485
  * @throws {RequiredError}
3405
3486
  */
@@ -3407,7 +3488,7 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
3407
3488
  /**
3408
3489
  * Create new Payment
3409
3490
  * @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
3410
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3491
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3411
3492
  * @param {*} [options] Override http request option.
3412
3493
  * @throws {RequiredError}
3413
3494
  */
@@ -3501,6 +3582,14 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
3501
3582
  * @throws {RequiredError}
3502
3583
  */
3503
3584
  refreshToken: (refreshRequest: RefreshRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3585
+ /**
3586
+ * Submit authorization checklist items
3587
+ * @param {string} mandateId mandate id
3588
+ * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
3589
+ * @param {*} [options] Override http request option.
3590
+ * @throws {RequiredError}
3591
+ */
3592
+ submitAuthChecklist: (mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3504
3593
  };
3505
3594
  /**
3506
3595
  * CustomerApi - functional programming interface
@@ -3510,7 +3599,7 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
3510
3599
  /**
3511
3600
  * CREATE Mandate
3512
3601
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
3513
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3602
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3514
3603
  * @param {*} [options] Override http request option.
3515
3604
  * @throws {RequiredError}
3516
3605
  */
@@ -3518,7 +3607,7 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
3518
3607
  /**
3519
3608
  * Create new Payment
3520
3609
  * @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
3521
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3610
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3522
3611
  * @param {*} [options] Override http request option.
3523
3612
  * @throws {RequiredError}
3524
3613
  */
@@ -3612,6 +3701,14 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
3612
3701
  * @throws {RequiredError}
3613
3702
  */
3614
3703
  refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccessTokenResponse>>;
3704
+ /**
3705
+ * Submit authorization checklist items
3706
+ * @param {string} mandateId mandate id
3707
+ * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
3708
+ * @param {*} [options] Override http request option.
3709
+ * @throws {RequiredError}
3710
+ */
3711
+ submitAuthChecklist(mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitAuthChecklistResponse>>;
3615
3712
  };
3616
3713
  /**
3617
3714
  * CustomerApi - factory interface
@@ -3621,7 +3718,7 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
3621
3718
  /**
3622
3719
  * CREATE Mandate
3623
3720
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
3624
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3721
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3625
3722
  * @param {*} [options] Override http request option.
3626
3723
  * @throws {RequiredError}
3627
3724
  */
@@ -3629,7 +3726,7 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
3629
3726
  /**
3630
3727
  * Create new Payment
3631
3728
  * @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
3632
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3729
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3633
3730
  * @param {*} [options] Override http request option.
3634
3731
  * @throws {RequiredError}
3635
3732
  */
@@ -3723,6 +3820,14 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
3723
3820
  * @throws {RequiredError}
3724
3821
  */
3725
3822
  refreshToken(refreshRequest: RefreshRequest, options?: any): AxiosPromise<AccessTokenResponse>;
3823
+ /**
3824
+ * Submit authorization checklist items
3825
+ * @param {string} mandateId mandate id
3826
+ * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
3827
+ * @param {*} [options] Override http request option.
3828
+ * @throws {RequiredError}
3829
+ */
3830
+ submitAuthChecklist(mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: any): AxiosPromise<SubmitAuthChecklistResponse>;
3726
3831
  };
3727
3832
  /**
3728
3833
  * CustomerApi - interface
@@ -3733,7 +3838,7 @@ export interface CustomerApiInterface {
3733
3838
  /**
3734
3839
  * CREATE Mandate
3735
3840
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
3736
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3841
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3737
3842
  * @param {*} [options] Override http request option.
3738
3843
  * @throws {RequiredError}
3739
3844
  * @memberof CustomerApiInterface
@@ -3742,7 +3847,7 @@ export interface CustomerApiInterface {
3742
3847
  /**
3743
3848
  * Create new Payment
3744
3849
  * @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
3745
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3850
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3746
3851
  * @param {*} [options] Override http request option.
3747
3852
  * @throws {RequiredError}
3748
3853
  * @memberof CustomerApiInterface
@@ -3849,6 +3954,15 @@ export interface CustomerApiInterface {
3849
3954
  * @memberof CustomerApiInterface
3850
3955
  */
3851
3956
  refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): AxiosPromise<AccessTokenResponse>;
3957
+ /**
3958
+ * Submit authorization checklist items
3959
+ * @param {string} mandateId mandate id
3960
+ * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
3961
+ * @param {*} [options] Override http request option.
3962
+ * @throws {RequiredError}
3963
+ * @memberof CustomerApiInterface
3964
+ */
3965
+ submitAuthChecklist(mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): AxiosPromise<SubmitAuthChecklistResponse>;
3852
3966
  }
3853
3967
  /**
3854
3968
  * CustomerApi - object-oriented interface
@@ -3860,7 +3974,7 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
3860
3974
  /**
3861
3975
  * CREATE Mandate
3862
3976
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
3863
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3977
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3864
3978
  * @param {*} [options] Override http request option.
3865
3979
  * @throws {RequiredError}
3866
3980
  * @memberof CustomerApi
@@ -3869,7 +3983,7 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
3869
3983
  /**
3870
3984
  * Create new Payment
3871
3985
  * @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
3872
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3986
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
3873
3987
  * @param {*} [options] Override http request option.
3874
3988
  * @throws {RequiredError}
3875
3989
  * @memberof CustomerApi
@@ -3976,6 +4090,15 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
3976
4090
  * @memberof CustomerApi
3977
4091
  */
3978
4092
  refreshToken(refreshRequest: RefreshRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccessTokenResponse>>;
4093
+ /**
4094
+ * Submit authorization checklist items
4095
+ * @param {string} mandateId mandate id
4096
+ * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
4097
+ * @param {*} [options] Override http request option.
4098
+ * @throws {RequiredError}
4099
+ * @memberof CustomerApi
4100
+ */
4101
+ submitAuthChecklist(mandateId: string, submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitAuthChecklistResponse>>;
3979
4102
  }
3980
4103
  /**
3981
4104
  * LinkApi - axios parameter creator
package/dist/api.js CHANGED
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentInstructionTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.GetPaymentResponseStatusEnum = exports.GetPaymentResponseTypeEnum = exports.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = void 0;
25
+ exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentInstructionTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.GetPaymentResponseStatusEnum = exports.GetPaymentResponseTypeEnum = exports.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseMandateStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -122,6 +122,12 @@ exports.PaymentScheduleFrequencyEnum = {
122
122
  Quarterly: 'QUARTERLY',
123
123
  Yearly: 'YEARLY',
124
124
  };
125
+ exports.SubmitAuthChecklistResponseMandateStatusEnum = {
126
+ Created: 'CREATED',
127
+ Processing: 'PROCESSING',
128
+ Submitted: 'SUBMITTED',
129
+ Error: 'ERROR',
130
+ };
125
131
  exports.TransactionLimitsPeriodEnum = {
126
132
  Daily: 'DAILY',
127
133
  Weekly: 'WEEKLY',
@@ -138,7 +144,7 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
138
144
  /**
139
145
  * CREATE Mandate
140
146
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
141
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
147
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
142
148
  * @param {*} [options] Override http request option.
143
149
  * @throws {RequiredError}
144
150
  */
@@ -174,7 +180,7 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
174
180
  /**
175
181
  * Create new Payment
176
182
  * @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
177
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
183
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
178
184
  * @param {*} [options] Override http request option.
179
185
  * @throws {RequiredError}
180
186
  */
@@ -598,6 +604,41 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
598
604
  options: localVarRequestOptions,
599
605
  };
600
606
  }),
607
+ /**
608
+ * Submit authorization checklist items
609
+ * @param {string} mandateId mandate id
610
+ * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
611
+ * @param {*} [options] Override http request option.
612
+ * @throws {RequiredError}
613
+ */
614
+ submitAuthChecklist: (mandateId, submitAuthChecklistRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
615
+ // verify required parameter 'mandateId' is not null or undefined
616
+ common_1.assertParamExists('submitAuthChecklist', 'mandateId', mandateId);
617
+ // verify required parameter 'submitAuthChecklistRequest' is not null or undefined
618
+ common_1.assertParamExists('submitAuthChecklist', 'submitAuthChecklistRequest', submitAuthChecklistRequest);
619
+ const localVarPath = `/mandates/{mandateId}/auth`.replace(`{${'mandateId'}}`, encodeURIComponent(String(mandateId)));
620
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
621
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
622
+ let baseOptions;
623
+ if (configuration) {
624
+ baseOptions = configuration.baseOptions;
625
+ }
626
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
627
+ const localVarHeaderParameter = {};
628
+ const localVarQueryParameter = {};
629
+ // authentication Oauth2 required
630
+ // oauth required
631
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
632
+ localVarHeaderParameter['Content-Type'] = 'application/json';
633
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
634
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
635
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
636
+ localVarRequestOptions.data = common_1.serializeDataIfNeeded(submitAuthChecklistRequest, localVarRequestOptions, configuration);
637
+ return {
638
+ url: common_1.toPathString(localVarUrlObj),
639
+ options: localVarRequestOptions,
640
+ };
641
+ }),
601
642
  };
602
643
  };
603
644
  /**
@@ -610,7 +651,7 @@ exports.CustomerApiFp = function (configuration) {
610
651
  /**
611
652
  * CREATE Mandate
612
653
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
613
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
654
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
614
655
  * @param {*} [options] Override http request option.
615
656
  * @throws {RequiredError}
616
657
  */
@@ -623,7 +664,7 @@ exports.CustomerApiFp = function (configuration) {
623
664
  /**
624
665
  * Create new Payment
625
666
  * @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
626
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
667
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
627
668
  * @param {*} [options] Override http request option.
628
669
  * @throws {RequiredError}
629
670
  */
@@ -782,6 +823,19 @@ exports.CustomerApiFp = function (configuration) {
782
823
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
783
824
  });
784
825
  },
826
+ /**
827
+ * Submit authorization checklist items
828
+ * @param {string} mandateId mandate id
829
+ * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
830
+ * @param {*} [options] Override http request option.
831
+ * @throws {RequiredError}
832
+ */
833
+ submitAuthChecklist(mandateId, submitAuthChecklistRequest, options) {
834
+ return __awaiter(this, void 0, void 0, function* () {
835
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.submitAuthChecklist(mandateId, submitAuthChecklistRequest, options);
836
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
837
+ });
838
+ },
785
839
  };
786
840
  };
787
841
  /**
@@ -794,7 +848,7 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
794
848
  /**
795
849
  * CREATE Mandate
796
850
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
797
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
851
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
798
852
  * @param {*} [options] Override http request option.
799
853
  * @throws {RequiredError}
800
854
  */
@@ -806,7 +860,7 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
806
860
  /**
807
861
  * Create new Payment
808
862
  * @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
809
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
863
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
810
864
  * @param {*} [options] Override http request option.
811
865
  * @throws {RequiredError}
812
866
  */
@@ -938,6 +992,18 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
938
992
  refreshToken(refreshRequest, options) {
939
993
  return localVarFp.refreshToken(refreshRequest, options).then((request) => request(axios, basePath));
940
994
  },
995
+ /**
996
+ * Submit authorization checklist items
997
+ * @param {string} mandateId mandate id
998
+ * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
999
+ * @param {*} [options] Override http request option.
1000
+ * @throws {RequiredError}
1001
+ */
1002
+ submitAuthChecklist(mandateId, submitAuthChecklistRequest, options) {
1003
+ return localVarFp
1004
+ .submitAuthChecklist(mandateId, submitAuthChecklistRequest, options)
1005
+ .then((request) => request(axios, basePath));
1006
+ },
941
1007
  };
942
1008
  };
943
1009
  /**
@@ -950,7 +1016,7 @@ class CustomerApi extends base_1.BaseAPI {
950
1016
  /**
951
1017
  * CREATE Mandate
952
1018
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
953
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
1019
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
954
1020
  * @param {*} [options] Override http request option.
955
1021
  * @throws {RequiredError}
956
1022
  * @memberof CustomerApi
@@ -963,7 +1029,7 @@ class CustomerApi extends base_1.BaseAPI {
963
1029
  /**
964
1030
  * Create new Payment
965
1031
  * @param {CreatePaymentRequest} createPaymentRequest request body for creating payment
966
- * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. If missing we will generate a random one. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
1032
+ * @param {string} [idempotencyKey] A random key provided by the customer, per unique payment. The purpose for the Idempotency key is to allow safe retrying without the operation being performed multiple times.
967
1033
  * @param {*} [options] Override http request option.
968
1034
  * @throws {RequiredError}
969
1035
  * @memberof CustomerApi
@@ -1122,6 +1188,19 @@ class CustomerApi extends base_1.BaseAPI {
1122
1188
  .refreshToken(refreshRequest, options)
1123
1189
  .then((request) => request(this.axios, this.basePath));
1124
1190
  }
1191
+ /**
1192
+ * Submit authorization checklist items
1193
+ * @param {string} mandateId mandate id
1194
+ * @param {SubmitAuthChecklistRequest} submitAuthChecklistRequest request body for submitting auth checklist
1195
+ * @param {*} [options] Override http request option.
1196
+ * @throws {RequiredError}
1197
+ * @memberof CustomerApi
1198
+ */
1199
+ submitAuthChecklist(mandateId, submitAuthChecklistRequest, options) {
1200
+ return exports.CustomerApiFp(this.configuration)
1201
+ .submitAuthChecklist(mandateId, submitAuthChecklistRequest, options)
1202
+ .then((request) => request(this.axios, this.basePath));
1203
+ }
1125
1204
  }
1126
1205
  exports.CustomerApi = CustomerApi;
1127
1206
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [