@paysponge/sdk 0.1.21 → 0.1.25

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.
@@ -1480,6 +1480,36 @@ export class DefaultApi extends runtime.BaseAPI {
1480
1480
  async getApiAgentsByIdHyperliquidPositions(requestParameters, initOverrides) {
1481
1481
  await this.getApiAgentsByIdHyperliquidPositionsRaw(requestParameters, initOverrides);
1482
1482
  }
1483
+ /**
1484
+ * Creates request options for getApiAgentsByIdInstructionsPending without sending the request
1485
+ */
1486
+ async getApiAgentsByIdInstructionsPendingRequestOpts(requestParameters) {
1487
+ if (requestParameters['id'] == null) {
1488
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getApiAgentsByIdInstructionsPending().');
1489
+ }
1490
+ const queryParameters = {};
1491
+ const headerParameters = {};
1492
+ let urlPath = `/api/agents/{id}/instructions/pending`;
1493
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
1494
+ return {
1495
+ path: urlPath,
1496
+ method: 'GET',
1497
+ headers: headerParameters,
1498
+ query: queryParameters,
1499
+ };
1500
+ }
1501
+ /**
1502
+ */
1503
+ async getApiAgentsByIdInstructionsPendingRaw(requestParameters, initOverrides) {
1504
+ const requestOptions = await this.getApiAgentsByIdInstructionsPendingRequestOpts(requestParameters);
1505
+ const response = await this.request(requestOptions, initOverrides);
1506
+ return new runtime.VoidApiResponse(response);
1507
+ }
1508
+ /**
1509
+ */
1510
+ async getApiAgentsByIdInstructionsPending(requestParameters, initOverrides) {
1511
+ await this.getApiAgentsByIdInstructionsPendingRaw(requestParameters, initOverrides);
1512
+ }
1483
1513
  /**
1484
1514
  * Creates request options for getApiAgentsByIdPaymentMethods without sending the request
1485
1515
  */
@@ -4012,6 +4042,40 @@ export class DefaultApi extends runtime.BaseAPI {
4012
4042
  async postApiAgentsByIdInstructions(requestParameters, initOverrides) {
4013
4043
  await this.postApiAgentsByIdInstructionsRaw(requestParameters, initOverrides);
4014
4044
  }
4045
+ /**
4046
+ * Creates request options for postApiAgentsByIdInstructionsByInstructionIdApproved without sending the request
4047
+ */
4048
+ async postApiAgentsByIdInstructionsByInstructionIdApprovedRequestOpts(requestParameters) {
4049
+ if (requestParameters['id'] == null) {
4050
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling postApiAgentsByIdInstructionsByInstructionIdApproved().');
4051
+ }
4052
+ if (requestParameters['instructionId'] == null) {
4053
+ throw new runtime.RequiredError('instructionId', 'Required parameter "instructionId" was null or undefined when calling postApiAgentsByIdInstructionsByInstructionIdApproved().');
4054
+ }
4055
+ const queryParameters = {};
4056
+ const headerParameters = {};
4057
+ let urlPath = `/api/agents/{id}/instructions/{instructionId}/approved`;
4058
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
4059
+ urlPath = urlPath.replace(`{${"instructionId"}}`, encodeURIComponent(String(requestParameters['instructionId'])));
4060
+ return {
4061
+ path: urlPath,
4062
+ method: 'POST',
4063
+ headers: headerParameters,
4064
+ query: queryParameters,
4065
+ };
4066
+ }
4067
+ /**
4068
+ */
4069
+ async postApiAgentsByIdInstructionsByInstructionIdApprovedRaw(requestParameters, initOverrides) {
4070
+ const requestOptions = await this.postApiAgentsByIdInstructionsByInstructionIdApprovedRequestOpts(requestParameters);
4071
+ const response = await this.request(requestOptions, initOverrides);
4072
+ return new runtime.VoidApiResponse(response);
4073
+ }
4074
+ /**
4075
+ */
4076
+ async postApiAgentsByIdInstructionsByInstructionIdApproved(requestParameters, initOverrides) {
4077
+ await this.postApiAgentsByIdInstructionsByInstructionIdApprovedRaw(requestParameters, initOverrides);
4078
+ }
4015
4079
  /**
4016
4080
  * Creates request options for postApiAgentsByIdInstructionsByInstructionIdCredentials without sending the request
4017
4081
  */