@paysponge/sdk 0.1.72 → 0.1.74

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.
@@ -2575,6 +2575,41 @@ export class DefaultApi extends runtime.BaseAPI {
2575
2575
  async getApiCheckoutBySessionId(requestParameters, initOverrides) {
2576
2576
  await this.getApiCheckoutBySessionIdRaw(requestParameters, initOverrides);
2577
2577
  }
2578
+ /**
2579
+ * Creates request options for getApiCheckoutHistory without sending the request
2580
+ */
2581
+ async getApiCheckoutHistoryRequestOpts(requestParameters) {
2582
+ const queryParameters = {};
2583
+ if (requestParameters['agentId'] != null) {
2584
+ queryParameters['agentId'] = requestParameters['agentId'];
2585
+ }
2586
+ if (requestParameters['limit'] != null) {
2587
+ queryParameters['limit'] = requestParameters['limit'];
2588
+ }
2589
+ if (requestParameters['offset'] != null) {
2590
+ queryParameters['offset'] = requestParameters['offset'];
2591
+ }
2592
+ const headerParameters = {};
2593
+ let urlPath = `/api/checkout/history`;
2594
+ return {
2595
+ path: urlPath,
2596
+ method: 'GET',
2597
+ headers: headerParameters,
2598
+ query: queryParameters,
2599
+ };
2600
+ }
2601
+ /**
2602
+ */
2603
+ async getApiCheckoutHistoryRaw(requestParameters, initOverrides) {
2604
+ const requestOptions = await this.getApiCheckoutHistoryRequestOpts(requestParameters);
2605
+ const response = await this.request(requestOptions, initOverrides);
2606
+ return new runtime.VoidApiResponse(response);
2607
+ }
2608
+ /**
2609
+ */
2610
+ async getApiCheckoutHistory(requestParameters = {}, initOverrides) {
2611
+ await this.getApiCheckoutHistoryRaw(requestParameters, initOverrides);
2612
+ }
2578
2613
  /**
2579
2614
  * Creates request options for getApiCoinbaseOnrampSessionBySessionTokenStatus without sending the request
2580
2615
  */