@paysponge/sdk 0.1.34 → 0.1.35
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/dist/api/generated/openapi/apis/default-api.d.ts +31 -0
- package/dist/api/generated/openapi/apis/default-api.d.ts.map +1 -1
- package/dist/api/generated/openapi/apis/default-api.js +30 -0
- package/dist/api/generated/openapi/apis/default-api.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -3000,6 +3000,36 @@ export class DefaultApi extends runtime.BaseAPI {
|
|
|
3000
3000
|
async getApiRainContracts(initOverrides) {
|
|
3001
3001
|
await this.getApiRainContractsRaw(initOverrides);
|
|
3002
3002
|
}
|
|
3003
|
+
/**
|
|
3004
|
+
* Creates request options for getApiRainContractsByContractIdBalance without sending the request
|
|
3005
|
+
*/
|
|
3006
|
+
async getApiRainContractsByContractIdBalanceRequestOpts(requestParameters) {
|
|
3007
|
+
if (requestParameters['contractId'] == null) {
|
|
3008
|
+
throw new runtime.RequiredError('contractId', 'Required parameter "contractId" was null or undefined when calling getApiRainContractsByContractIdBalance().');
|
|
3009
|
+
}
|
|
3010
|
+
const queryParameters = {};
|
|
3011
|
+
const headerParameters = {};
|
|
3012
|
+
let urlPath = `/api/rain/contracts/{contractId}/balance`;
|
|
3013
|
+
urlPath = urlPath.replace(`{${"contractId"}}`, encodeURIComponent(String(requestParameters['contractId'])));
|
|
3014
|
+
return {
|
|
3015
|
+
path: urlPath,
|
|
3016
|
+
method: 'GET',
|
|
3017
|
+
headers: headerParameters,
|
|
3018
|
+
query: queryParameters,
|
|
3019
|
+
};
|
|
3020
|
+
}
|
|
3021
|
+
/**
|
|
3022
|
+
*/
|
|
3023
|
+
async getApiRainContractsByContractIdBalanceRaw(requestParameters, initOverrides) {
|
|
3024
|
+
const requestOptions = await this.getApiRainContractsByContractIdBalanceRequestOpts(requestParameters);
|
|
3025
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
3026
|
+
return new runtime.VoidApiResponse(response);
|
|
3027
|
+
}
|
|
3028
|
+
/**
|
|
3029
|
+
*/
|
|
3030
|
+
async getApiRainContractsByContractIdBalance(requestParameters, initOverrides) {
|
|
3031
|
+
await this.getApiRainContractsByContractIdBalanceRaw(requestParameters, initOverrides);
|
|
3032
|
+
}
|
|
3003
3033
|
/**
|
|
3004
3034
|
* Creates request options for getApiRainCustomer without sending the request
|
|
3005
3035
|
*/
|