@paysponge/sdk 0.1.38 → 0.1.40

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.
@@ -3740,6 +3740,36 @@ export class DefaultApi extends runtime.BaseAPI {
3740
3740
  async postApiAgentKeys(requestParameters, initOverrides) {
3741
3741
  await this.postApiAgentKeysRaw(requestParameters, initOverrides);
3742
3742
  }
3743
+ /**
3744
+ * Creates request options for postApiAgentRequestsByIdCvcSession without sending the request
3745
+ */
3746
+ async postApiAgentRequestsByIdCvcSessionRequestOpts(requestParameters) {
3747
+ if (requestParameters['id'] == null) {
3748
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postApiAgentRequestsByIdCvcSession().');
3749
+ }
3750
+ const queryParameters = {};
3751
+ const headerParameters = {};
3752
+ let urlPath = `/api/agent-requests/{id}/cvc-session`;
3753
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
3754
+ return {
3755
+ path: urlPath,
3756
+ method: 'POST',
3757
+ headers: headerParameters,
3758
+ query: queryParameters,
3759
+ };
3760
+ }
3761
+ /**
3762
+ */
3763
+ async postApiAgentRequestsByIdCvcSessionRaw(requestParameters, initOverrides) {
3764
+ const requestOptions = await this.postApiAgentRequestsByIdCvcSessionRequestOpts(requestParameters);
3765
+ const response = await this.request(requestOptions, initOverrides);
3766
+ return new runtime.VoidApiResponse(response);
3767
+ }
3768
+ /**
3769
+ */
3770
+ async postApiAgentRequestsByIdCvcSession(requestParameters, initOverrides) {
3771
+ await this.postApiAgentRequestsByIdCvcSessionRaw(requestParameters, initOverrides);
3772
+ }
3743
3773
  /**
3744
3774
  * Creates request options for postApiAgents without sending the request
3745
3775
  */
@@ -7592,6 +7622,36 @@ export class DefaultApi extends runtime.BaseAPI {
7592
7622
  async putApiAgentRequestsByIdRespond(requestParameters, initOverrides) {
7593
7623
  await this.putApiAgentRequestsByIdRespondRaw(requestParameters, initOverrides);
7594
7624
  }
7625
+ /**
7626
+ * Creates request options for putApiAgentRequestsByIdRespondCvc without sending the request
7627
+ */
7628
+ async putApiAgentRequestsByIdRespondCvcRequestOpts(requestParameters) {
7629
+ if (requestParameters['id'] == null) {
7630
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling putApiAgentRequestsByIdRespondCvc().');
7631
+ }
7632
+ const queryParameters = {};
7633
+ const headerParameters = {};
7634
+ let urlPath = `/api/agent-requests/{id}/respond-cvc`;
7635
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
7636
+ return {
7637
+ path: urlPath,
7638
+ method: 'PUT',
7639
+ headers: headerParameters,
7640
+ query: queryParameters,
7641
+ };
7642
+ }
7643
+ /**
7644
+ */
7645
+ async putApiAgentRequestsByIdRespondCvcRaw(requestParameters, initOverrides) {
7646
+ const requestOptions = await this.putApiAgentRequestsByIdRespondCvcRequestOpts(requestParameters);
7647
+ const response = await this.request(requestOptions, initOverrides);
7648
+ return new runtime.VoidApiResponse(response);
7649
+ }
7650
+ /**
7651
+ */
7652
+ async putApiAgentRequestsByIdRespondCvc(requestParameters, initOverrides) {
7653
+ await this.putApiAgentRequestsByIdRespondCvcRaw(requestParameters, initOverrides);
7654
+ }
7595
7655
  /**
7596
7656
  * Creates request options for putApiAgentRequestsByIdSkip without sending the request
7597
7657
  */