@paysponge/sdk 0.1.133 → 0.1.134

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.
@@ -4657,6 +4657,38 @@ export class DefaultApi extends runtime.BaseAPI {
4657
4657
  async getApiTradingAdminStrategiesByIdSourceEvents(requestParameters, initOverrides) {
4658
4658
  await this.getApiTradingAdminStrategiesByIdSourceEventsRaw(requestParameters, initOverrides);
4659
4659
  }
4660
+ /**
4661
+ * Creates request options for getApiTradingAllocation without sending the request
4662
+ */
4663
+ async getApiTradingAllocationRequestOpts(requestParameters) {
4664
+ if (requestParameters['agentId'] == null) {
4665
+ throw new runtime.RequiredError('agentId', 'Required parameter "agentId" was null or undefined when calling getApiTradingAllocation().');
4666
+ }
4667
+ const queryParameters = {};
4668
+ if (requestParameters['agentId'] != null) {
4669
+ queryParameters['agent_id'] = requestParameters['agentId'];
4670
+ }
4671
+ const headerParameters = {};
4672
+ let urlPath = `/api/trading/allocation`;
4673
+ return {
4674
+ path: urlPath,
4675
+ method: 'GET',
4676
+ headers: headerParameters,
4677
+ query: queryParameters,
4678
+ };
4679
+ }
4680
+ /**
4681
+ */
4682
+ async getApiTradingAllocationRaw(requestParameters, initOverrides) {
4683
+ const requestOptions = await this.getApiTradingAllocationRequestOpts(requestParameters);
4684
+ const response = await this.request(requestOptions, initOverrides);
4685
+ return new runtime.VoidApiResponse(response);
4686
+ }
4687
+ /**
4688
+ */
4689
+ async getApiTradingAllocation(requestParameters, initOverrides) {
4690
+ await this.getApiTradingAllocationRaw(requestParameters, initOverrides);
4691
+ }
4660
4692
  /**
4661
4693
  * Creates request options for getApiTradingNotifications without sending the request
4662
4694
  */
@@ -4829,6 +4861,38 @@ export class DefaultApi extends runtime.BaseAPI {
4829
4861
  async getApiTradingStrategiesByIdLedger(requestParameters, initOverrides) {
4830
4862
  await this.getApiTradingStrategiesByIdLedgerRaw(requestParameters, initOverrides);
4831
4863
  }
4864
+ /**
4865
+ * Creates request options for getApiTradingStrategiesDetailed without sending the request
4866
+ */
4867
+ async getApiTradingStrategiesDetailedRequestOpts(requestParameters) {
4868
+ if (requestParameters['agentId'] == null) {
4869
+ throw new runtime.RequiredError('agentId', 'Required parameter "agentId" was null or undefined when calling getApiTradingStrategiesDetailed().');
4870
+ }
4871
+ const queryParameters = {};
4872
+ if (requestParameters['agentId'] != null) {
4873
+ queryParameters['agent_id'] = requestParameters['agentId'];
4874
+ }
4875
+ const headerParameters = {};
4876
+ let urlPath = `/api/trading/strategies/detailed`;
4877
+ return {
4878
+ path: urlPath,
4879
+ method: 'GET',
4880
+ headers: headerParameters,
4881
+ query: queryParameters,
4882
+ };
4883
+ }
4884
+ /**
4885
+ */
4886
+ async getApiTradingStrategiesDetailedRaw(requestParameters, initOverrides) {
4887
+ const requestOptions = await this.getApiTradingStrategiesDetailedRequestOpts(requestParameters);
4888
+ const response = await this.request(requestOptions, initOverrides);
4889
+ return new runtime.VoidApiResponse(response);
4890
+ }
4891
+ /**
4892
+ */
4893
+ async getApiTradingStrategiesDetailed(requestParameters, initOverrides) {
4894
+ await this.getApiTradingStrategiesDetailedRaw(requestParameters, initOverrides);
4895
+ }
4832
4896
  /**
4833
4897
  * Creates request options for getApiTradingStrategiesSecFilersSuggestions without sending the request
4834
4898
  */