@vality/swag-payments 0.1.3-8eaf92b.0 → 0.1.3-92bb7f9.0

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.
Files changed (180) hide show
  1. package/fesm2022/vality-swag-payments.mjs +785 -157
  2. package/fesm2022/vality-swag-payments.mjs.map +1 -1
  3. package/package.json +8 -3
  4. package/types/vality-swag-payments.d.ts +6324 -0
  5. package/api/api.d.ts +0 -25
  6. package/api/categories.service.d.ts +0 -68
  7. package/api/countries.service.d.ts +0 -68
  8. package/api/inspector.service.d.ts +0 -37
  9. package/api/invoiceTemplates.service.d.ts +0 -196
  10. package/api/invoices.service.d.ts +0 -289
  11. package/api/parties.service.d.ts +0 -98
  12. package/api/paymentInstitutions.service.d.ts +0 -102
  13. package/api/payments.service.d.ts +0 -456
  14. package/api/shops.service.d.ts +0 -166
  15. package/api/tokens.service.d.ts +0 -42
  16. package/api/tradeBlocs.service.d.ts +0 -68
  17. package/api/webhooks.service.d.ts +0 -155
  18. package/api.base.service.d.ts +0 -21
  19. package/api.module.d.ts +0 -11
  20. package/configuration.d.ts +0 -106
  21. package/encoder.d.ts +0 -11
  22. package/index.d.ts +0 -7
  23. package/model/accessToken.d.ts +0 -15
  24. package/model/allocationBodyAmount.d.ts +0 -16
  25. package/model/allocationBodyTotal.d.ts +0 -22
  26. package/model/allocationFee.d.ts +0 -24
  27. package/model/allocationFeeFixed.d.ts +0 -12
  28. package/model/allocationFeeShare.d.ts +0 -14
  29. package/model/allocationFeeTarget.d.ts +0 -21
  30. package/model/allocationTarget.d.ts +0 -21
  31. package/model/allocationTargetShop.d.ts +0 -21
  32. package/model/allocationTransaction.d.ts +0 -32
  33. package/model/apiExtensionRequest.d.ts +0 -16
  34. package/model/applePay.d.ts +0 -22
  35. package/model/bankCard.d.ts +0 -23
  36. package/model/bankCardDetails.d.ts +0 -42
  37. package/model/bankCardTokenProviderData.d.ts +0 -37
  38. package/model/bankCardTokenizationMethod.d.ts +0 -17
  39. package/model/browserGetRequest.d.ts +0 -16
  40. package/model/browserPostRequest.d.ts +0 -21
  41. package/model/browserRequest.d.ts +0 -15
  42. package/model/cancelPayment400Response.d.ts +0 -30
  43. package/model/captureParams.d.ts +0 -33
  44. package/model/capturePayment400Response.d.ts +0 -35
  45. package/model/cardData.d.ts +0 -30
  46. package/model/cashLimitBound.d.ts +0 -16
  47. package/model/category.d.ts +0 -14
  48. package/model/chargeback.d.ts +0 -58
  49. package/model/clientInfo.d.ts +0 -26
  50. package/model/contactInfo.d.ts +0 -58
  51. package/model/costAmountRange.d.ts +0 -19
  52. package/model/country.d.ts +0 -20
  53. package/model/createInvoice400Response.d.ts +0 -36
  54. package/model/createInvoiceTemplate400Response.d.ts +0 -32
  55. package/model/createInvoiceWithTemplate400Response.d.ts +0 -29
  56. package/model/createPayment400Response.d.ts +0 -36
  57. package/model/createRefund400Response.d.ts +0 -39
  58. package/model/createWebhook400Response.d.ts +0 -29
  59. package/model/createWebhook429Response.d.ts +0 -15
  60. package/model/cryptoCurrencyTransferRequest.d.ts +0 -24
  61. package/model/cryptoWallet.d.ts +0 -18
  62. package/model/cryptoWalletData.d.ts +0 -18
  63. package/model/cryptoWalletDetails.d.ts +0 -15
  64. package/model/decimal.d.ts +0 -22
  65. package/model/defaultLogicError.d.ts +0 -26
  66. package/model/deleteInvoiceTemplate400Response.d.ts +0 -28
  67. package/model/digitalWallet.d.ts +0 -18
  68. package/model/digitalWalletData.d.ts +0 -26
  69. package/model/digitalWalletDetails.d.ts +0 -15
  70. package/model/externalIDConflictError.d.ts +0 -23
  71. package/model/fulfillInvoice400Response.d.ts +0 -29
  72. package/model/generalError.d.ts +0 -12
  73. package/model/getShopCashLimitsForParty200ResponseInner.d.ts +0 -20
  74. package/model/googlePay.d.ts +0 -22
  75. package/model/inspectUser200Response.d.ts +0 -13
  76. package/model/inspectUserRequest.d.ts +0 -15
  77. package/model/invoice.d.ts +0 -88
  78. package/model/invoiceAmountRandomized.d.ts +0 -22
  79. package/model/invoiceAndToken.d.ts +0 -15
  80. package/model/invoiceBankAccount.d.ts +0 -24
  81. package/model/invoiceChange.d.ts +0 -25
  82. package/model/invoiceClientInfo.d.ts +0 -25
  83. package/model/invoiceCreated.d.ts +0 -16
  84. package/model/invoiceEvent.d.ts +0 -15
  85. package/model/invoiceLine.d.ts +0 -32
  86. package/model/invoiceLineTaxMode.d.ts +0 -24
  87. package/model/invoiceLineTaxVAT.d.ts +0 -28
  88. package/model/invoiceParams.d.ts +0 -63
  89. package/model/invoiceParamsWithTemplate.d.ts +0 -27
  90. package/model/invoiceRandomizeAmount.d.ts +0 -46
  91. package/model/invoiceRussianBankAccount.d.ts +0 -22
  92. package/model/invoiceStatus.d.ts +0 -28
  93. package/model/invoiceStatusChanged.d.ts +0 -29
  94. package/model/invoiceTemplate.d.ts +0 -45
  95. package/model/invoiceTemplateAndToken.d.ts +0 -15
  96. package/model/invoiceTemplateCreateParams.d.ts +0 -41
  97. package/model/invoiceTemplateDetails.d.ts +0 -12
  98. package/model/invoiceTemplateLineCost.d.ts +0 -15
  99. package/model/invoiceTemplateLineCostFixed.d.ts +0 -20
  100. package/model/invoiceTemplateLineCostRange.d.ts +0 -18
  101. package/model/invoiceTemplateLineCostUnlim.d.ts +0 -12
  102. package/model/invoiceTemplateMultiLine.d.ts +0 -21
  103. package/model/invoiceTemplateSingleLine.d.ts +0 -20
  104. package/model/invoiceTemplateUpdateParams.d.ts +0 -29
  105. package/model/invoicesTopic.d.ts +0 -43
  106. package/model/lifetimeInterval.d.ts +0 -17
  107. package/model/logicError.d.ts +0 -16
  108. package/model/mobileCommerce.d.ts +0 -18
  109. package/model/mobileCommerceData.d.ts +0 -16
  110. package/model/mobileCommerceDetails.d.ts +0 -15
  111. package/model/mobileCommercePhone.d.ts +0 -22
  112. package/model/models.d.ts +0 -154
  113. package/model/party.d.ts +0 -14
  114. package/model/payer.d.ts +0 -17
  115. package/model/payerSessionInfo.d.ts +0 -18
  116. package/model/payment.d.ts +0 -71
  117. package/model/paymentError.d.ts +0 -20
  118. package/model/paymentFlow.d.ts +0 -22
  119. package/model/paymentFlowHold.d.ts +0 -27
  120. package/model/paymentFlowInstant.d.ts +0 -14
  121. package/model/paymentInstitution.d.ts +0 -29
  122. package/model/paymentInteractionCompleted.d.ts +0 -20
  123. package/model/paymentInteractionRequested.d.ts +0 -20
  124. package/model/paymentMethod.d.ts +0 -25
  125. package/model/paymentParams.d.ts +0 -31
  126. package/model/paymentRecurrentParent.d.ts +0 -22
  127. package/model/paymentResource.d.ts +0 -26
  128. package/model/paymentResourceClientInfo.d.ts +0 -23
  129. package/model/paymentResourceParams.d.ts +0 -15
  130. package/model/paymentResourcePayer.d.ts +0 -29
  131. package/model/paymentResourceResult.d.ts +0 -34
  132. package/model/paymentStarted.d.ts +0 -16
  133. package/model/paymentStatus.d.ts +0 -28
  134. package/model/paymentStatusChanged.d.ts +0 -30
  135. package/model/paymentTerminal.d.ts +0 -18
  136. package/model/paymentTerminalData.d.ts +0 -22
  137. package/model/paymentTerminalDetails.d.ts +0 -15
  138. package/model/paymentTerminalReceipt.d.ts +0 -20
  139. package/model/paymentTool.d.ts +0 -26
  140. package/model/paymentToolDetails.d.ts +0 -18
  141. package/model/paymentToolDetailsBankCard.d.ts +0 -43
  142. package/model/paymentToolDetailsCryptoWallet.d.ts +0 -16
  143. package/model/paymentToolDetailsDigitalWallet.d.ts +0 -16
  144. package/model/paymentToolDetailsMobileCommerce.d.ts +0 -16
  145. package/model/paymentToolDetailsPaymentTerminal.d.ts +0 -16
  146. package/model/qrCodeDisplayRequest.d.ts +0 -16
  147. package/model/realmMode.d.ts +0 -17
  148. package/model/reason.d.ts +0 -15
  149. package/model/recurrentPayer.d.ts +0 -21
  150. package/model/redirect.d.ts +0 -14
  151. package/model/refund.d.ts +0 -59
  152. package/model/refundError.d.ts +0 -22
  153. package/model/refundParams.d.ts +0 -37
  154. package/model/refundStarted.d.ts +0 -17
  155. package/model/refundStatus.d.ts +0 -25
  156. package/model/refundStatusChanged.d.ts +0 -28
  157. package/model/rescindInvoice400Response.d.ts +0 -30
  158. package/model/samsungPay.d.ts +0 -22
  159. package/model/serviceProvider.d.ts +0 -30
  160. package/model/shop.d.ts +0 -42
  161. package/model/shopDetails.d.ts +0 -19
  162. package/model/shopLocation.d.ts +0 -18
  163. package/model/shopLocationUrl.d.ts +0 -19
  164. package/model/subError.d.ts +0 -19
  165. package/model/tokenizedCardData.d.ts +0 -22
  166. package/model/tradeBloc.d.ts +0 -17
  167. package/model/transactionInfo.d.ts +0 -22
  168. package/model/updateInvoiceTemplate400Response.d.ts +0 -29
  169. package/model/userInspectContact.d.ts +0 -22
  170. package/model/userInspectCustomer.d.ts +0 -18
  171. package/model/userInspectDevice.d.ts +0 -22
  172. package/model/userInspectShop.d.ts +0 -22
  173. package/model/userInteraction.d.ts +0 -15
  174. package/model/userInteractionFormInner.d.ts +0 -19
  175. package/model/webhook.d.ts +0 -33
  176. package/model/webhookScope.d.ts +0 -25
  177. package/model/yandexPay.d.ts +0 -22
  178. package/param.d.ts +0 -37
  179. package/provide-api.d.ts +0 -3
  180. package/variables.d.ts +0 -8
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, Optional, Inject, Injectable, SkipSelf, NgModule, makeEnvironmentProviders } from '@angular/core';
3
3
  import * as i1 from '@angular/common/http';
4
- import { HttpHeaders, HttpContext, HttpParams } from '@angular/common/http';
4
+ import { HttpParams, HttpHeaders, HttpContext } from '@angular/common/http';
5
5
 
6
6
  const BASE_PATH = new InjectionToken('basePath');
7
7
  const COLLECTION_FORMATS = {
@@ -29,6 +29,20 @@ class CustomHttpParameterCodec {
29
29
  return decodeURIComponent(v);
30
30
  }
31
31
  }
32
+ class IdentityHttpParameterCodec {
33
+ encodeKey(k) {
34
+ return k;
35
+ }
36
+ encodeValue(v) {
37
+ return v;
38
+ }
39
+ decodeKey(k) {
40
+ return k;
41
+ }
42
+ decodeValue(v) {
43
+ return v;
44
+ }
45
+ }
32
46
 
33
47
  class Configuration {
34
48
  /**
@@ -142,8 +156,8 @@ class Configuration {
142
156
  * @return True if the given MIME is JSON, false otherwise.
143
157
  */
144
158
  isJsonMime(mime) {
145
- const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
146
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
159
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
160
+ return mime !== null && jsonMime.test(mime);
147
161
  }
148
162
  lookupCredential(key) {
149
163
  const value = this.credentials[key];
@@ -178,6 +192,131 @@ class Configuration {
178
192
  }
179
193
  }
180
194
 
195
+ var QueryParamStyle;
196
+ (function (QueryParamStyle) {
197
+ QueryParamStyle[QueryParamStyle["Json"] = 0] = "Json";
198
+ QueryParamStyle[QueryParamStyle["Form"] = 1] = "Form";
199
+ QueryParamStyle[QueryParamStyle["DeepObject"] = 2] = "DeepObject";
200
+ QueryParamStyle[QueryParamStyle["SpaceDelimited"] = 3] = "SpaceDelimited";
201
+ QueryParamStyle[QueryParamStyle["PipeDelimited"] = 4] = "PipeDelimited";
202
+ })(QueryParamStyle || (QueryParamStyle = {}));
203
+ class OpenApiHttpParams {
204
+ params = new Map();
205
+ defaults;
206
+ encoder;
207
+ /**
208
+ * @param encoder Parameter serializer
209
+ * @param defaults Global defaults used when a specific parameter has no explicit options.
210
+ * By OpenAPI default, explode is true for query params with style=form.
211
+ */
212
+ constructor(encoder, defaults) {
213
+ this.encoder = encoder || new CustomHttpParameterCodec();
214
+ this.defaults = {
215
+ explode: defaults?.explode ?? true,
216
+ delimiter: defaults?.delimiter ?? ",",
217
+ };
218
+ }
219
+ resolveOptions(local) {
220
+ return {
221
+ explode: local?.explode ?? this.defaults.explode,
222
+ delimiter: local?.delimiter ?? this.defaults.delimiter,
223
+ };
224
+ }
225
+ /**
226
+ * Replace the parameter's values and (optionally) its options.
227
+ * Options are stored per-parameter (not global).
228
+ */
229
+ set(key, values, options) {
230
+ const arr = Array.isArray(values) ? values.slice() : [values];
231
+ const opts = this.resolveOptions(options);
232
+ this.params.set(key, { values: arr, options: opts });
233
+ return this;
234
+ }
235
+ /**
236
+ * Append a single value to the parameter. If the parameter didn't exist it will be created
237
+ * and use resolved options (global defaults merged with any provided options).
238
+ */
239
+ append(key, value, options) {
240
+ const entry = this.params.get(key);
241
+ if (entry) {
242
+ // If new options provided, override the stored options for subsequent serialization
243
+ if (options) {
244
+ entry.options = this.resolveOptions({ ...entry.options, ...options });
245
+ }
246
+ entry.values.push(value);
247
+ }
248
+ else {
249
+ this.set(key, [value], options);
250
+ }
251
+ return this;
252
+ }
253
+ /**
254
+ * Serialize to a query string according to per-parameter OpenAPI options.
255
+ * - If explode=true for that parameter → repeated key=value pairs (each value encoded).
256
+ * - If explode=false for that parameter → single key=value where values are individually encoded
257
+ * and joined using the configured delimiter. The delimiter character is inserted AS-IS
258
+ * (not percent-encoded).
259
+ */
260
+ toString() {
261
+ const records = this.toRecord();
262
+ const parts = [];
263
+ for (const key in records) {
264
+ parts.push(`${key}=${records[key]}`);
265
+ }
266
+ return parts.join("&");
267
+ }
268
+ /**
269
+ * Return parameters as a plain record.
270
+ * - If a parameter has exactly one value, returns that value directly.
271
+ * - If a parameter has multiple values, returns a readonly array of values.
272
+ */
273
+ toRecord() {
274
+ const parts = {};
275
+ for (const [key, entry] of this.params.entries()) {
276
+ const encodedKey = this.encoder.encodeKey(key);
277
+ if (entry.options.explode) {
278
+ parts[encodedKey] = entry.values.map((v) => this.encoder.encodeValue(v));
279
+ }
280
+ else {
281
+ const encodedValues = entry.values.map((v) => this.encoder.encodeValue(v));
282
+ // join with the delimiter *unencoded*
283
+ parts[encodedKey] = encodedValues.join(entry.options.delimiter);
284
+ }
285
+ }
286
+ return parts;
287
+ }
288
+ /**
289
+ * Return an Angular's HttpParams with an identity parameter codec as the parameters are already encoded.
290
+ */
291
+ toHttpParams() {
292
+ const records = this.toRecord();
293
+ let httpParams = new HttpParams({ encoder: new IdentityHttpParameterCodec() });
294
+ return httpParams.appendAll(records);
295
+ }
296
+ }
297
+ function concatHttpParamsObject(httpParams, key, item, delimiter) {
298
+ let keyAndValues = [];
299
+ for (const k in item) {
300
+ keyAndValues.push(k);
301
+ const value = item[k];
302
+ if (Array.isArray(value)) {
303
+ keyAndValues.push(...value.map(convertToString));
304
+ }
305
+ else {
306
+ keyAndValues.push(convertToString(value));
307
+ }
308
+ }
309
+ return httpParams.set(key, keyAndValues, { explode: false, delimiter: delimiter });
310
+ }
311
+ function convertToString(value) {
312
+ if (value instanceof Date) {
313
+ return value.toISOString();
314
+ }
315
+ else {
316
+ return value.toString();
317
+ }
318
+ }
319
+
181
320
  /**
182
321
  * Vality Payments API
183
322
  *
@@ -209,48 +348,64 @@ class BaseService {
209
348
  canConsumeForm(consumes) {
210
349
  return consumes.indexOf('multipart/form-data') !== -1;
211
350
  }
212
- addToHttpParams(httpParams, value, key, isDeep = false) {
213
- // If the value is an object (but not a Date), recursively add its keys.
214
- if (typeof value === 'object' && !(value instanceof Date)) {
215
- return this.addToHttpParamsRecursive(httpParams, value, isDeep ? key : undefined, isDeep);
216
- }
217
- return this.addToHttpParamsRecursive(httpParams, value, key);
218
- }
219
- addToHttpParamsRecursive(httpParams, value, key, isDeep = false) {
351
+ addToHttpParams(httpParams, key, value, paramStyle, explode) {
220
352
  if (value === null || value === undefined) {
221
353
  return httpParams;
222
354
  }
223
- if (typeof value === 'object') {
224
- // If JSON format is preferred, key must be provided.
225
- if (key != null) {
226
- return isDeep
227
- ? Object.keys(value).reduce((hp, k) => hp.append(`${key}[${k}]`, value[k]), httpParams)
228
- : httpParams.append(key, JSON.stringify(value));
355
+ if (paramStyle === QueryParamStyle.DeepObject) {
356
+ if (typeof value !== 'object') {
357
+ throw Error(`An object must be provided for key ${key} as it is a deep object`);
229
358
  }
230
- // Otherwise, if it's an array, add each element.
231
- if (Array.isArray(value)) {
232
- value.forEach(elem => httpParams = this.addToHttpParamsRecursive(httpParams, elem, key));
359
+ return Object.keys(value).reduce((hp, k) => hp.append(`${key}[${k}]`, value[k]), httpParams);
360
+ }
361
+ else if (paramStyle === QueryParamStyle.Json) {
362
+ return httpParams.append(key, JSON.stringify(value));
363
+ }
364
+ else {
365
+ // Form-style, SpaceDelimited or PipeDelimited
366
+ if (Object(value) !== value) {
367
+ // If it is a primitive type, add its string representation
368
+ return httpParams.append(key, value.toString());
233
369
  }
234
370
  else if (value instanceof Date) {
235
- if (key != null) {
236
- httpParams = httpParams.append(key, value.toISOString());
371
+ return httpParams.append(key, value.toISOString());
372
+ }
373
+ else if (Array.isArray(value) || value instanceof Set) {
374
+ // Otherwise, if it's an array or set, add each element.
375
+ const array = Array.isArray(value) ? value : Array.from(value);
376
+ if (paramStyle === QueryParamStyle.Form) {
377
+ return httpParams.set(key, array, { explode: explode, delimiter: ',' });
378
+ }
379
+ else if (paramStyle === QueryParamStyle.SpaceDelimited) {
380
+ return httpParams.set(key, array, { explode: explode, delimiter: ' ' });
237
381
  }
238
382
  else {
239
- throw Error("key may not be null if value is Date");
383
+ // PipeDelimited
384
+ return httpParams.set(key, array, { explode: explode, delimiter: '|' });
240
385
  }
241
386
  }
242
387
  else {
243
- Object.keys(value).forEach(k => {
244
- const paramKey = key ? `${key}.${k}` : k;
245
- httpParams = this.addToHttpParamsRecursive(httpParams, value[k], paramKey);
246
- });
388
+ // Otherwise, if it's an object, add each field.
389
+ if (paramStyle === QueryParamStyle.Form) {
390
+ if (explode) {
391
+ Object.keys(value).forEach(k => {
392
+ httpParams = this.addToHttpParams(httpParams, k, value[k], paramStyle, explode);
393
+ });
394
+ return httpParams;
395
+ }
396
+ else {
397
+ return concatHttpParamsObject(httpParams, key, value, ',');
398
+ }
399
+ }
400
+ else if (paramStyle === QueryParamStyle.SpaceDelimited) {
401
+ return concatHttpParamsObject(httpParams, key, value, ' ');
402
+ }
403
+ else {
404
+ // PipeDelimited
405
+ return concatHttpParamsObject(httpParams, key, value, '|');
406
+ }
247
407
  }
248
- return httpParams;
249
408
  }
250
- else if (key != null) {
251
- return httpParams.append(key, value);
252
- }
253
- throw Error("key may not be null if value is not object or array");
254
409
  }
255
410
  }
256
411
 
@@ -313,7 +468,7 @@ class CategoriesService extends BaseService {
313
468
  ...(withCredentials ? { withCredentials } : {}),
314
469
  headers: localVarHeaders,
315
470
  observe: observe,
316
- transferCache: localVarTransferCache,
471
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
317
472
  reportProgress: reportProgress
318
473
  });
319
474
  }
@@ -364,14 +519,14 @@ class CategoriesService extends BaseService {
364
519
  ...(withCredentials ? { withCredentials } : {}),
365
520
  headers: localVarHeaders,
366
521
  observe: observe,
367
- transferCache: localVarTransferCache,
522
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
368
523
  reportProgress: reportProgress
369
524
  });
370
525
  }
371
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CategoriesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
372
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CategoriesService, providedIn: 'root' });
526
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CategoriesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
527
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CategoriesService, providedIn: 'root' });
373
528
  }
374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CategoriesService, decorators: [{
529
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CategoriesService, decorators: [{
375
530
  type: Injectable,
376
531
  args: [{
377
532
  providedIn: 'root'
@@ -444,7 +599,7 @@ class CountriesService extends BaseService {
444
599
  ...(withCredentials ? { withCredentials } : {}),
445
600
  headers: localVarHeaders,
446
601
  observe: observe,
447
- transferCache: localVarTransferCache,
602
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
448
603
  reportProgress: reportProgress
449
604
  });
450
605
  }
@@ -495,14 +650,436 @@ class CountriesService extends BaseService {
495
650
  ...(withCredentials ? { withCredentials } : {}),
496
651
  headers: localVarHeaders,
497
652
  observe: observe,
498
- transferCache: localVarTransferCache,
653
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
499
654
  reportProgress: reportProgress
500
655
  });
501
656
  }
502
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CountriesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
503
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CountriesService, providedIn: 'root' });
657
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CountriesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
658
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CountriesService, providedIn: 'root' });
504
659
  }
505
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CountriesService, decorators: [{
660
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CountriesService, decorators: [{
661
+ type: Injectable,
662
+ args: [{
663
+ providedIn: 'root'
664
+ }]
665
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
666
+ type: Optional
667
+ }, {
668
+ type: Inject,
669
+ args: [BASE_PATH]
670
+ }] }, { type: Configuration, decorators: [{
671
+ type: Optional
672
+ }] }] });
673
+
674
+ /**
675
+ * Vality Payments API
676
+ *
677
+ *
678
+ *
679
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
680
+ * https://openapi-generator.tech
681
+ * Do not edit the class manually.
682
+ */
683
+ /* tslint:disable:no-unused-variable member-ordering */
684
+ class CustomersService extends BaseService {
685
+ httpClient;
686
+ constructor(httpClient, basePath, configuration) {
687
+ super(basePath, configuration);
688
+ this.httpClient = httpClient;
689
+ }
690
+ createCustomer(requestParameters, observe = 'body', reportProgress = false, options) {
691
+ const xRequestID = requestParameters?.xRequestID;
692
+ if (xRequestID === null || xRequestID === undefined) {
693
+ throw new Error('Required parameter xRequestID was null or undefined when calling createCustomer.');
694
+ }
695
+ const customerParams = requestParameters?.customerParams;
696
+ if (customerParams === null || customerParams === undefined) {
697
+ throw new Error('Required parameter customerParams was null or undefined when calling createCustomer.');
698
+ }
699
+ const xRequestDeadline = requestParameters?.xRequestDeadline;
700
+ let localVarHeaders = this.defaultHeaders;
701
+ if (xRequestID !== undefined && xRequestID !== null) {
702
+ localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
703
+ }
704
+ if (xRequestDeadline !== undefined && xRequestDeadline !== null) {
705
+ localVarHeaders = localVarHeaders.set('X-Request-Deadline', String(xRequestDeadline));
706
+ }
707
+ // authentication (bearer) required
708
+ localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders);
709
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
710
+ 'application/json; charset=utf-8'
711
+ ]);
712
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
713
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
714
+ }
715
+ const localVarHttpContext = options?.context ?? new HttpContext();
716
+ const localVarTransferCache = options?.transferCache ?? true;
717
+ // to determine the Content-Type header
718
+ const consumes = [
719
+ 'application/json; charset=utf-8'
720
+ ];
721
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
722
+ if (httpContentTypeSelected !== undefined) {
723
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
724
+ }
725
+ let responseType_ = 'json';
726
+ if (localVarHttpHeaderAcceptSelected) {
727
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
728
+ responseType_ = 'text';
729
+ }
730
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
731
+ responseType_ = 'json';
732
+ }
733
+ else {
734
+ responseType_ = 'blob';
735
+ }
736
+ }
737
+ let localVarPath = `/processing/customers`;
738
+ const { basePath, withCredentials } = this.configuration;
739
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
740
+ context: localVarHttpContext,
741
+ body: customerParams,
742
+ responseType: responseType_,
743
+ ...(withCredentials ? { withCredentials } : {}),
744
+ headers: localVarHeaders,
745
+ observe: observe,
746
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
747
+ reportProgress: reportProgress
748
+ });
749
+ }
750
+ createCustomerAccessToken(requestParameters, observe = 'body', reportProgress = false, options) {
751
+ const xRequestID = requestParameters?.xRequestID;
752
+ if (xRequestID === null || xRequestID === undefined) {
753
+ throw new Error('Required parameter xRequestID was null or undefined when calling createCustomerAccessToken.');
754
+ }
755
+ const customerID = requestParameters?.customerID;
756
+ if (customerID === null || customerID === undefined) {
757
+ throw new Error('Required parameter customerID was null or undefined when calling createCustomerAccessToken.');
758
+ }
759
+ const xRequestDeadline = requestParameters?.xRequestDeadline;
760
+ let localVarHeaders = this.defaultHeaders;
761
+ if (xRequestID !== undefined && xRequestID !== null) {
762
+ localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
763
+ }
764
+ if (xRequestDeadline !== undefined && xRequestDeadline !== null) {
765
+ localVarHeaders = localVarHeaders.set('X-Request-Deadline', String(xRequestDeadline));
766
+ }
767
+ // authentication (bearer) required
768
+ localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders);
769
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
770
+ 'application/json; charset=utf-8'
771
+ ]);
772
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
773
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
774
+ }
775
+ const localVarHttpContext = options?.context ?? new HttpContext();
776
+ const localVarTransferCache = options?.transferCache ?? true;
777
+ let responseType_ = 'json';
778
+ if (localVarHttpHeaderAcceptSelected) {
779
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
780
+ responseType_ = 'text';
781
+ }
782
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
783
+ responseType_ = 'json';
784
+ }
785
+ else {
786
+ responseType_ = 'blob';
787
+ }
788
+ }
789
+ let localVarPath = `/processing/customers/${this.configuration.encodeParam({ name: "customerID", value: customerID, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/access-tokens`;
790
+ const { basePath, withCredentials } = this.configuration;
791
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
792
+ context: localVarHttpContext,
793
+ responseType: responseType_,
794
+ ...(withCredentials ? { withCredentials } : {}),
795
+ headers: localVarHeaders,
796
+ observe: observe,
797
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
798
+ reportProgress: reportProgress
799
+ });
800
+ }
801
+ deleteCustomer(requestParameters, observe = 'body', reportProgress = false, options) {
802
+ const xRequestID = requestParameters?.xRequestID;
803
+ if (xRequestID === null || xRequestID === undefined) {
804
+ throw new Error('Required parameter xRequestID was null or undefined when calling deleteCustomer.');
805
+ }
806
+ const customerID = requestParameters?.customerID;
807
+ if (customerID === null || customerID === undefined) {
808
+ throw new Error('Required parameter customerID was null or undefined when calling deleteCustomer.');
809
+ }
810
+ const xRequestDeadline = requestParameters?.xRequestDeadline;
811
+ let localVarHeaders = this.defaultHeaders;
812
+ if (xRequestID !== undefined && xRequestID !== null) {
813
+ localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
814
+ }
815
+ if (xRequestDeadline !== undefined && xRequestDeadline !== null) {
816
+ localVarHeaders = localVarHeaders.set('X-Request-Deadline', String(xRequestDeadline));
817
+ }
818
+ // authentication (bearer) required
819
+ localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders);
820
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
821
+ 'application/json; charset=utf-8'
822
+ ]);
823
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
824
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
825
+ }
826
+ const localVarHttpContext = options?.context ?? new HttpContext();
827
+ const localVarTransferCache = options?.transferCache ?? true;
828
+ let responseType_ = 'json';
829
+ if (localVarHttpHeaderAcceptSelected) {
830
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
831
+ responseType_ = 'text';
832
+ }
833
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
834
+ responseType_ = 'json';
835
+ }
836
+ else {
837
+ responseType_ = 'blob';
838
+ }
839
+ }
840
+ let localVarPath = `/processing/customers/${this.configuration.encodeParam({ name: "customerID", value: customerID, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
841
+ const { basePath, withCredentials } = this.configuration;
842
+ return this.httpClient.request('delete', `${basePath}${localVarPath}`, {
843
+ context: localVarHttpContext,
844
+ responseType: responseType_,
845
+ ...(withCredentials ? { withCredentials } : {}),
846
+ headers: localVarHeaders,
847
+ observe: observe,
848
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
849
+ reportProgress: reportProgress
850
+ });
851
+ }
852
+ getCustomerBankCards(requestParameters, observe = 'body', reportProgress = false, options) {
853
+ const xRequestID = requestParameters?.xRequestID;
854
+ if (xRequestID === null || xRequestID === undefined) {
855
+ throw new Error('Required parameter xRequestID was null or undefined when calling getCustomerBankCards.');
856
+ }
857
+ const customerID = requestParameters?.customerID;
858
+ if (customerID === null || customerID === undefined) {
859
+ throw new Error('Required parameter customerID was null or undefined when calling getCustomerBankCards.');
860
+ }
861
+ const limit = requestParameters?.limit;
862
+ if (limit === null || limit === undefined) {
863
+ throw new Error('Required parameter limit was null or undefined when calling getCustomerBankCards.');
864
+ }
865
+ const xRequestDeadline = requestParameters?.xRequestDeadline;
866
+ const continuationToken = requestParameters?.continuationToken;
867
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
868
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', limit, QueryParamStyle.Form, false);
869
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'continuationToken', continuationToken, QueryParamStyle.Form, false);
870
+ let localVarHeaders = this.defaultHeaders;
871
+ if (xRequestID !== undefined && xRequestID !== null) {
872
+ localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
873
+ }
874
+ if (xRequestDeadline !== undefined && xRequestDeadline !== null) {
875
+ localVarHeaders = localVarHeaders.set('X-Request-Deadline', String(xRequestDeadline));
876
+ }
877
+ // authentication (bearer) required
878
+ localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders);
879
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
880
+ 'application/json; charset=utf-8'
881
+ ]);
882
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
883
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
884
+ }
885
+ const localVarHttpContext = options?.context ?? new HttpContext();
886
+ const localVarTransferCache = options?.transferCache ?? true;
887
+ let responseType_ = 'json';
888
+ if (localVarHttpHeaderAcceptSelected) {
889
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
890
+ responseType_ = 'text';
891
+ }
892
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
893
+ responseType_ = 'json';
894
+ }
895
+ else {
896
+ responseType_ = 'blob';
897
+ }
898
+ }
899
+ let localVarPath = `/processing/customers/${this.configuration.encodeParam({ name: "customerID", value: customerID, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/bank-cards`;
900
+ const { basePath, withCredentials } = this.configuration;
901
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
902
+ context: localVarHttpContext,
903
+ params: localVarQueryParameters.toHttpParams(),
904
+ responseType: responseType_,
905
+ ...(withCredentials ? { withCredentials } : {}),
906
+ headers: localVarHeaders,
907
+ observe: observe,
908
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
909
+ reportProgress: reportProgress
910
+ });
911
+ }
912
+ getCustomerByExternalID(requestParameters, observe = 'body', reportProgress = false, options) {
913
+ const xRequestID = requestParameters?.xRequestID;
914
+ if (xRequestID === null || xRequestID === undefined) {
915
+ throw new Error('Required parameter xRequestID was null or undefined when calling getCustomerByExternalID.');
916
+ }
917
+ const externalID = requestParameters?.externalID;
918
+ if (externalID === null || externalID === undefined) {
919
+ throw new Error('Required parameter externalID was null or undefined when calling getCustomerByExternalID.');
920
+ }
921
+ const xRequestDeadline = requestParameters?.xRequestDeadline;
922
+ const partyID = requestParameters?.partyID;
923
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
924
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'externalID', externalID, QueryParamStyle.Form, false);
925
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'partyID', partyID, QueryParamStyle.Form, false);
926
+ let localVarHeaders = this.defaultHeaders;
927
+ if (xRequestID !== undefined && xRequestID !== null) {
928
+ localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
929
+ }
930
+ if (xRequestDeadline !== undefined && xRequestDeadline !== null) {
931
+ localVarHeaders = localVarHeaders.set('X-Request-Deadline', String(xRequestDeadline));
932
+ }
933
+ // authentication (bearer) required
934
+ localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders);
935
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
936
+ 'application/json; charset=utf-8'
937
+ ]);
938
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
939
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
940
+ }
941
+ const localVarHttpContext = options?.context ?? new HttpContext();
942
+ const localVarTransferCache = options?.transferCache ?? true;
943
+ let responseType_ = 'json';
944
+ if (localVarHttpHeaderAcceptSelected) {
945
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
946
+ responseType_ = 'text';
947
+ }
948
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
949
+ responseType_ = 'json';
950
+ }
951
+ else {
952
+ responseType_ = 'blob';
953
+ }
954
+ }
955
+ let localVarPath = `/processing/customers`;
956
+ const { basePath, withCredentials } = this.configuration;
957
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
958
+ context: localVarHttpContext,
959
+ params: localVarQueryParameters.toHttpParams(),
960
+ responseType: responseType_,
961
+ ...(withCredentials ? { withCredentials } : {}),
962
+ headers: localVarHeaders,
963
+ observe: observe,
964
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
965
+ reportProgress: reportProgress
966
+ });
967
+ }
968
+ getCustomerByID(requestParameters, observe = 'body', reportProgress = false, options) {
969
+ const xRequestID = requestParameters?.xRequestID;
970
+ if (xRequestID === null || xRequestID === undefined) {
971
+ throw new Error('Required parameter xRequestID was null or undefined when calling getCustomerByID.');
972
+ }
973
+ const customerID = requestParameters?.customerID;
974
+ if (customerID === null || customerID === undefined) {
975
+ throw new Error('Required parameter customerID was null or undefined when calling getCustomerByID.');
976
+ }
977
+ const xRequestDeadline = requestParameters?.xRequestDeadline;
978
+ let localVarHeaders = this.defaultHeaders;
979
+ if (xRequestID !== undefined && xRequestID !== null) {
980
+ localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
981
+ }
982
+ if (xRequestDeadline !== undefined && xRequestDeadline !== null) {
983
+ localVarHeaders = localVarHeaders.set('X-Request-Deadline', String(xRequestDeadline));
984
+ }
985
+ // authentication (bearer) required
986
+ localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders);
987
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
988
+ 'application/json; charset=utf-8'
989
+ ]);
990
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
991
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
992
+ }
993
+ const localVarHttpContext = options?.context ?? new HttpContext();
994
+ const localVarTransferCache = options?.transferCache ?? true;
995
+ let responseType_ = 'json';
996
+ if (localVarHttpHeaderAcceptSelected) {
997
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
998
+ responseType_ = 'text';
999
+ }
1000
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1001
+ responseType_ = 'json';
1002
+ }
1003
+ else {
1004
+ responseType_ = 'blob';
1005
+ }
1006
+ }
1007
+ let localVarPath = `/processing/customers/${this.configuration.encodeParam({ name: "customerID", value: customerID, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
1008
+ const { basePath, withCredentials } = this.configuration;
1009
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1010
+ context: localVarHttpContext,
1011
+ responseType: responseType_,
1012
+ ...(withCredentials ? { withCredentials } : {}),
1013
+ headers: localVarHeaders,
1014
+ observe: observe,
1015
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1016
+ reportProgress: reportProgress
1017
+ });
1018
+ }
1019
+ getCustomerPayments(requestParameters, observe = 'body', reportProgress = false, options) {
1020
+ const xRequestID = requestParameters?.xRequestID;
1021
+ if (xRequestID === null || xRequestID === undefined) {
1022
+ throw new Error('Required parameter xRequestID was null or undefined when calling getCustomerPayments.');
1023
+ }
1024
+ const customerID = requestParameters?.customerID;
1025
+ if (customerID === null || customerID === undefined) {
1026
+ throw new Error('Required parameter customerID was null or undefined when calling getCustomerPayments.');
1027
+ }
1028
+ const limit = requestParameters?.limit;
1029
+ if (limit === null || limit === undefined) {
1030
+ throw new Error('Required parameter limit was null or undefined when calling getCustomerPayments.');
1031
+ }
1032
+ const xRequestDeadline = requestParameters?.xRequestDeadline;
1033
+ const continuationToken = requestParameters?.continuationToken;
1034
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1035
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', limit, QueryParamStyle.Form, false);
1036
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'continuationToken', continuationToken, QueryParamStyle.Form, false);
1037
+ let localVarHeaders = this.defaultHeaders;
1038
+ if (xRequestID !== undefined && xRequestID !== null) {
1039
+ localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
1040
+ }
1041
+ if (xRequestDeadline !== undefined && xRequestDeadline !== null) {
1042
+ localVarHeaders = localVarHeaders.set('X-Request-Deadline', String(xRequestDeadline));
1043
+ }
1044
+ // authentication (bearer) required
1045
+ localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders);
1046
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1047
+ 'application/json; charset=utf-8'
1048
+ ]);
1049
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1050
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1051
+ }
1052
+ const localVarHttpContext = options?.context ?? new HttpContext();
1053
+ const localVarTransferCache = options?.transferCache ?? true;
1054
+ let responseType_ = 'json';
1055
+ if (localVarHttpHeaderAcceptSelected) {
1056
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1057
+ responseType_ = 'text';
1058
+ }
1059
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1060
+ responseType_ = 'json';
1061
+ }
1062
+ else {
1063
+ responseType_ = 'blob';
1064
+ }
1065
+ }
1066
+ let localVarPath = `/processing/customers/${this.configuration.encodeParam({ name: "customerID", value: customerID, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/payments`;
1067
+ const { basePath, withCredentials } = this.configuration;
1068
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1069
+ context: localVarHttpContext,
1070
+ params: localVarQueryParameters.toHttpParams(),
1071
+ responseType: responseType_,
1072
+ ...(withCredentials ? { withCredentials } : {}),
1073
+ headers: localVarHeaders,
1074
+ observe: observe,
1075
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1076
+ reportProgress: reportProgress
1077
+ });
1078
+ }
1079
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CustomersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1080
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CustomersService, providedIn: 'root' });
1081
+ }
1082
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CustomersService, decorators: [{
506
1083
  type: Injectable,
507
1084
  args: [{
508
1085
  providedIn: 'root'
@@ -533,11 +1110,22 @@ class InspectorService extends BaseService {
533
1110
  this.httpClient = httpClient;
534
1111
  }
535
1112
  inspectUser(requestParameters, observe = 'body', reportProgress = false, options) {
536
- const body = requestParameters?.body;
537
- if (body === null || body === undefined) {
538
- throw new Error('Required parameter body was null or undefined when calling inspectUser.');
1113
+ const xRequestID = requestParameters?.xRequestID;
1114
+ if (xRequestID === null || xRequestID === undefined) {
1115
+ throw new Error('Required parameter xRequestID was null or undefined when calling inspectUser.');
1116
+ }
1117
+ const userInspectRequest = requestParameters?.userInspectRequest;
1118
+ if (userInspectRequest === null || userInspectRequest === undefined) {
1119
+ throw new Error('Required parameter userInspectRequest was null or undefined when calling inspectUser.');
539
1120
  }
1121
+ const xRequestDeadline = requestParameters?.xRequestDeadline;
540
1122
  let localVarHeaders = this.defaultHeaders;
1123
+ if (xRequestID !== undefined && xRequestID !== null) {
1124
+ localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
1125
+ }
1126
+ if (xRequestDeadline !== undefined && xRequestDeadline !== null) {
1127
+ localVarHeaders = localVarHeaders.set('X-Request-Deadline', String(xRequestDeadline));
1128
+ }
541
1129
  // authentication (bearer) required
542
1130
  localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders);
543
1131
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
@@ -572,19 +1160,19 @@ class InspectorService extends BaseService {
572
1160
  const { basePath, withCredentials } = this.configuration;
573
1161
  return this.httpClient.request('post', `${basePath}${localVarPath}`, {
574
1162
  context: localVarHttpContext,
575
- body: body,
1163
+ body: userInspectRequest,
576
1164
  responseType: responseType_,
577
1165
  ...(withCredentials ? { withCredentials } : {}),
578
1166
  headers: localVarHeaders,
579
1167
  observe: observe,
580
- transferCache: localVarTransferCache,
1168
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
581
1169
  reportProgress: reportProgress
582
1170
  });
583
1171
  }
584
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: InspectorService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
585
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: InspectorService, providedIn: 'root' });
1172
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InspectorService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1173
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InspectorService, providedIn: 'root' });
586
1174
  }
587
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: InspectorService, decorators: [{
1175
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InspectorService, decorators: [{
588
1176
  type: Injectable,
589
1177
  args: [{
590
1178
  providedIn: 'root'
@@ -670,7 +1258,7 @@ class InvoiceTemplatesService extends BaseService {
670
1258
  ...(withCredentials ? { withCredentials } : {}),
671
1259
  headers: localVarHeaders,
672
1260
  observe: observe,
673
- transferCache: localVarTransferCache,
1261
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
674
1262
  reportProgress: reportProgress
675
1263
  });
676
1264
  }
@@ -734,7 +1322,7 @@ class InvoiceTemplatesService extends BaseService {
734
1322
  ...(withCredentials ? { withCredentials } : {}),
735
1323
  headers: localVarHeaders,
736
1324
  observe: observe,
737
- transferCache: localVarTransferCache,
1325
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
738
1326
  reportProgress: reportProgress
739
1327
  });
740
1328
  }
@@ -785,7 +1373,7 @@ class InvoiceTemplatesService extends BaseService {
785
1373
  ...(withCredentials ? { withCredentials } : {}),
786
1374
  headers: localVarHeaders,
787
1375
  observe: observe,
788
- transferCache: localVarTransferCache,
1376
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
789
1377
  reportProgress: reportProgress
790
1378
  });
791
1379
  }
@@ -836,7 +1424,7 @@ class InvoiceTemplatesService extends BaseService {
836
1424
  ...(withCredentials ? { withCredentials } : {}),
837
1425
  headers: localVarHeaders,
838
1426
  observe: observe,
839
- transferCache: localVarTransferCache,
1427
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
840
1428
  reportProgress: reportProgress
841
1429
  });
842
1430
  }
@@ -887,7 +1475,7 @@ class InvoiceTemplatesService extends BaseService {
887
1475
  ...(withCredentials ? { withCredentials } : {}),
888
1476
  headers: localVarHeaders,
889
1477
  observe: observe,
890
- transferCache: localVarTransferCache,
1478
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
891
1479
  reportProgress: reportProgress
892
1480
  });
893
1481
  }
@@ -951,14 +1539,14 @@ class InvoiceTemplatesService extends BaseService {
951
1539
  ...(withCredentials ? { withCredentials } : {}),
952
1540
  headers: localVarHeaders,
953
1541
  observe: observe,
954
- transferCache: localVarTransferCache,
1542
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
955
1543
  reportProgress: reportProgress
956
1544
  });
957
1545
  }
958
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: InvoiceTemplatesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
959
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: InvoiceTemplatesService, providedIn: 'root' });
1546
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InvoiceTemplatesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1547
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InvoiceTemplatesService, providedIn: 'root' });
960
1548
  }
961
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: InvoiceTemplatesService, decorators: [{
1549
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InvoiceTemplatesService, decorators: [{
962
1550
  type: Injectable,
963
1551
  args: [{
964
1552
  providedIn: 'root'
@@ -1044,7 +1632,7 @@ class InvoicesService extends BaseService {
1044
1632
  ...(withCredentials ? { withCredentials } : {}),
1045
1633
  headers: localVarHeaders,
1046
1634
  observe: observe,
1047
- transferCache: localVarTransferCache,
1635
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1048
1636
  reportProgress: reportProgress
1049
1637
  });
1050
1638
  }
@@ -1095,7 +1683,7 @@ class InvoicesService extends BaseService {
1095
1683
  ...(withCredentials ? { withCredentials } : {}),
1096
1684
  headers: localVarHeaders,
1097
1685
  observe: observe,
1098
- transferCache: localVarTransferCache,
1686
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1099
1687
  reportProgress: reportProgress
1100
1688
  });
1101
1689
  }
@@ -1159,7 +1747,7 @@ class InvoicesService extends BaseService {
1159
1747
  ...(withCredentials ? { withCredentials } : {}),
1160
1748
  headers: localVarHeaders,
1161
1749
  observe: observe,
1162
- transferCache: localVarTransferCache,
1750
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1163
1751
  reportProgress: reportProgress
1164
1752
  });
1165
1753
  }
@@ -1173,8 +1761,8 @@ class InvoicesService extends BaseService {
1173
1761
  throw new Error('Required parameter externalID was null or undefined when calling getInvoiceByExternalID.');
1174
1762
  }
1175
1763
  const xRequestDeadline = requestParameters?.xRequestDeadline;
1176
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1177
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, externalID, 'externalID');
1764
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1765
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'externalID', externalID, QueryParamStyle.Form, false);
1178
1766
  let localVarHeaders = this.defaultHeaders;
1179
1767
  if (xRequestID !== undefined && xRequestID !== null) {
1180
1768
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -1208,12 +1796,12 @@ class InvoicesService extends BaseService {
1208
1796
  const { basePath, withCredentials } = this.configuration;
1209
1797
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1210
1798
  context: localVarHttpContext,
1211
- params: localVarQueryParameters,
1799
+ params: localVarQueryParameters.toHttpParams(),
1212
1800
  responseType: responseType_,
1213
1801
  ...(withCredentials ? { withCredentials } : {}),
1214
1802
  headers: localVarHeaders,
1215
1803
  observe: observe,
1216
- transferCache: localVarTransferCache,
1804
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1217
1805
  reportProgress: reportProgress
1218
1806
  });
1219
1807
  }
@@ -1231,8 +1819,8 @@ class InvoicesService extends BaseService {
1231
1819
  throw new Error('Required parameter externalID was null or undefined when calling getInvoiceByExternalIDForParty.');
1232
1820
  }
1233
1821
  const xRequestDeadline = requestParameters?.xRequestDeadline;
1234
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1235
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, externalID, 'externalID');
1822
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1823
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'externalID', externalID, QueryParamStyle.Form, false);
1236
1824
  let localVarHeaders = this.defaultHeaders;
1237
1825
  if (xRequestID !== undefined && xRequestID !== null) {
1238
1826
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -1266,12 +1854,12 @@ class InvoicesService extends BaseService {
1266
1854
  const { basePath, withCredentials } = this.configuration;
1267
1855
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1268
1856
  context: localVarHttpContext,
1269
- params: localVarQueryParameters,
1857
+ params: localVarQueryParameters.toHttpParams(),
1270
1858
  responseType: responseType_,
1271
1859
  ...(withCredentials ? { withCredentials } : {}),
1272
1860
  headers: localVarHeaders,
1273
1861
  observe: observe,
1274
- transferCache: localVarTransferCache,
1862
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1275
1863
  reportProgress: reportProgress
1276
1864
  });
1277
1865
  }
@@ -1322,7 +1910,7 @@ class InvoicesService extends BaseService {
1322
1910
  ...(withCredentials ? { withCredentials } : {}),
1323
1911
  headers: localVarHeaders,
1324
1912
  observe: observe,
1325
- transferCache: localVarTransferCache,
1913
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1326
1914
  reportProgress: reportProgress
1327
1915
  });
1328
1916
  }
@@ -1341,9 +1929,9 @@ class InvoicesService extends BaseService {
1341
1929
  }
1342
1930
  const xRequestDeadline = requestParameters?.xRequestDeadline;
1343
1931
  const eventID = requestParameters?.eventID;
1344
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1345
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, limit, 'limit');
1346
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, eventID, 'eventID');
1932
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1933
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', limit, QueryParamStyle.Form, false);
1934
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'eventID', eventID, QueryParamStyle.Form, false);
1347
1935
  let localVarHeaders = this.defaultHeaders;
1348
1936
  if (xRequestID !== undefined && xRequestID !== null) {
1349
1937
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -1377,12 +1965,12 @@ class InvoicesService extends BaseService {
1377
1965
  const { basePath, withCredentials } = this.configuration;
1378
1966
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1379
1967
  context: localVarHttpContext,
1380
- params: localVarQueryParameters,
1968
+ params: localVarQueryParameters.toHttpParams(),
1381
1969
  responseType: responseType_,
1382
1970
  ...(withCredentials ? { withCredentials } : {}),
1383
1971
  headers: localVarHeaders,
1384
1972
  observe: observe,
1385
- transferCache: localVarTransferCache,
1973
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1386
1974
  reportProgress: reportProgress
1387
1975
  });
1388
1976
  }
@@ -1433,7 +2021,7 @@ class InvoicesService extends BaseService {
1433
2021
  ...(withCredentials ? { withCredentials } : {}),
1434
2022
  headers: localVarHeaders,
1435
2023
  observe: observe,
1436
- transferCache: localVarTransferCache,
2024
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1437
2025
  reportProgress: reportProgress
1438
2026
  });
1439
2027
  }
@@ -1497,14 +2085,14 @@ class InvoicesService extends BaseService {
1497
2085
  ...(withCredentials ? { withCredentials } : {}),
1498
2086
  headers: localVarHeaders,
1499
2087
  observe: observe,
1500
- transferCache: localVarTransferCache,
2088
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1501
2089
  reportProgress: reportProgress
1502
2090
  });
1503
2091
  }
1504
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: InvoicesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1505
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: InvoicesService, providedIn: 'root' });
2092
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InvoicesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2093
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InvoicesService, providedIn: 'root' });
1506
2094
  }
1507
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: InvoicesService, decorators: [{
2095
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InvoicesService, decorators: [{
1508
2096
  type: Injectable,
1509
2097
  args: [{
1510
2098
  providedIn: 'root'
@@ -1581,7 +2169,7 @@ class PartiesService extends BaseService {
1581
2169
  ...(withCredentials ? { withCredentials } : {}),
1582
2170
  headers: localVarHeaders,
1583
2171
  observe: observe,
1584
- transferCache: localVarTransferCache,
2172
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1585
2173
  reportProgress: reportProgress
1586
2174
  });
1587
2175
  }
@@ -1632,7 +2220,7 @@ class PartiesService extends BaseService {
1632
2220
  ...(withCredentials ? { withCredentials } : {}),
1633
2221
  headers: localVarHeaders,
1634
2222
  observe: observe,
1635
- transferCache: localVarTransferCache,
2223
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1636
2224
  reportProgress: reportProgress
1637
2225
  });
1638
2226
  }
@@ -1683,14 +2271,14 @@ class PartiesService extends BaseService {
1683
2271
  ...(withCredentials ? { withCredentials } : {}),
1684
2272
  headers: localVarHeaders,
1685
2273
  observe: observe,
1686
- transferCache: localVarTransferCache,
2274
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1687
2275
  reportProgress: reportProgress
1688
2276
  });
1689
2277
  }
1690
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PartiesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1691
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PartiesService, providedIn: 'root' });
2278
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PartiesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2279
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PartiesService, providedIn: 'root' });
1692
2280
  }
1693
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PartiesService, decorators: [{
2281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PartiesService, decorators: [{
1694
2282
  type: Injectable,
1695
2283
  args: [{
1696
2284
  providedIn: 'root'
@@ -1767,7 +2355,7 @@ class PaymentInstitutionsService extends BaseService {
1767
2355
  ...(withCredentials ? { withCredentials } : {}),
1768
2356
  headers: localVarHeaders,
1769
2357
  observe: observe,
1770
- transferCache: localVarTransferCache,
2358
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1771
2359
  reportProgress: reportProgress
1772
2360
  });
1773
2361
  }
@@ -1779,9 +2367,9 @@ class PaymentInstitutionsService extends BaseService {
1779
2367
  const xRequestDeadline = requestParameters?.xRequestDeadline;
1780
2368
  const residence = requestParameters?.residence;
1781
2369
  const realm = requestParameters?.realm;
1782
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1783
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, residence, 'residence');
1784
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, realm, 'realm');
2370
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2371
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'residence', residence, QueryParamStyle.Form, false);
2372
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'realm', realm, QueryParamStyle.Form, false);
1785
2373
  let localVarHeaders = this.defaultHeaders;
1786
2374
  if (xRequestID !== undefined && xRequestID !== null) {
1787
2375
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -1815,12 +2403,12 @@ class PaymentInstitutionsService extends BaseService {
1815
2403
  const { basePath, withCredentials } = this.configuration;
1816
2404
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1817
2405
  context: localVarHttpContext,
1818
- params: localVarQueryParameters,
2406
+ params: localVarQueryParameters.toHttpParams(),
1819
2407
  responseType: responseType_,
1820
2408
  ...(withCredentials ? { withCredentials } : {}),
1821
2409
  headers: localVarHeaders,
1822
2410
  observe: observe,
1823
- transferCache: localVarTransferCache,
2411
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1824
2412
  reportProgress: reportProgress
1825
2413
  });
1826
2414
  }
@@ -1871,14 +2459,14 @@ class PaymentInstitutionsService extends BaseService {
1871
2459
  ...(withCredentials ? { withCredentials } : {}),
1872
2460
  headers: localVarHeaders,
1873
2461
  observe: observe,
1874
- transferCache: localVarTransferCache,
2462
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1875
2463
  reportProgress: reportProgress
1876
2464
  });
1877
2465
  }
1878
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PaymentInstitutionsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1879
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PaymentInstitutionsService, providedIn: 'root' });
2466
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PaymentInstitutionsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2467
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PaymentInstitutionsService, providedIn: 'root' });
1880
2468
  }
1881
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PaymentInstitutionsService, decorators: [{
2469
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PaymentInstitutionsService, decorators: [{
1882
2470
  type: Injectable,
1883
2471
  args: [{
1884
2472
  providedIn: 'root'
@@ -1972,7 +2560,7 @@ class PaymentsService extends BaseService {
1972
2560
  ...(withCredentials ? { withCredentials } : {}),
1973
2561
  headers: localVarHeaders,
1974
2562
  observe: observe,
1975
- transferCache: localVarTransferCache,
2563
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1976
2564
  reportProgress: reportProgress
1977
2565
  });
1978
2566
  }
@@ -2040,7 +2628,7 @@ class PaymentsService extends BaseService {
2040
2628
  ...(withCredentials ? { withCredentials } : {}),
2041
2629
  headers: localVarHeaders,
2042
2630
  observe: observe,
2043
- transferCache: localVarTransferCache,
2631
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2044
2632
  reportProgress: reportProgress
2045
2633
  });
2046
2634
  }
@@ -2104,7 +2692,7 @@ class PaymentsService extends BaseService {
2104
2692
  ...(withCredentials ? { withCredentials } : {}),
2105
2693
  headers: localVarHeaders,
2106
2694
  observe: observe,
2107
- transferCache: localVarTransferCache,
2695
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2108
2696
  reportProgress: reportProgress
2109
2697
  });
2110
2698
  }
@@ -2172,7 +2760,7 @@ class PaymentsService extends BaseService {
2172
2760
  ...(withCredentials ? { withCredentials } : {}),
2173
2761
  headers: localVarHeaders,
2174
2762
  observe: observe,
2175
- transferCache: localVarTransferCache,
2763
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2176
2764
  reportProgress: reportProgress
2177
2765
  });
2178
2766
  }
@@ -2231,7 +2819,7 @@ class PaymentsService extends BaseService {
2231
2819
  ...(withCredentials ? { withCredentials } : {}),
2232
2820
  headers: localVarHeaders,
2233
2821
  observe: observe,
2234
- transferCache: localVarTransferCache,
2822
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2235
2823
  reportProgress: reportProgress
2236
2824
  });
2237
2825
  }
@@ -2286,7 +2874,7 @@ class PaymentsService extends BaseService {
2286
2874
  ...(withCredentials ? { withCredentials } : {}),
2287
2875
  headers: localVarHeaders,
2288
2876
  observe: observe,
2289
- transferCache: localVarTransferCache,
2877
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2290
2878
  reportProgress: reportProgress
2291
2879
  });
2292
2880
  }
@@ -2300,8 +2888,8 @@ class PaymentsService extends BaseService {
2300
2888
  throw new Error('Required parameter externalID was null or undefined when calling getPaymentByExternalID.');
2301
2889
  }
2302
2890
  const xRequestDeadline = requestParameters?.xRequestDeadline;
2303
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2304
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, externalID, 'externalID');
2891
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2892
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'externalID', externalID, QueryParamStyle.Form, false);
2305
2893
  let localVarHeaders = this.defaultHeaders;
2306
2894
  if (xRequestID !== undefined && xRequestID !== null) {
2307
2895
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -2335,12 +2923,12 @@ class PaymentsService extends BaseService {
2335
2923
  const { basePath, withCredentials } = this.configuration;
2336
2924
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2337
2925
  context: localVarHttpContext,
2338
- params: localVarQueryParameters,
2926
+ params: localVarQueryParameters.toHttpParams(),
2339
2927
  responseType: responseType_,
2340
2928
  ...(withCredentials ? { withCredentials } : {}),
2341
2929
  headers: localVarHeaders,
2342
2930
  observe: observe,
2343
- transferCache: localVarTransferCache,
2931
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2344
2932
  reportProgress: reportProgress
2345
2933
  });
2346
2934
  }
@@ -2358,8 +2946,8 @@ class PaymentsService extends BaseService {
2358
2946
  throw new Error('Required parameter externalID was null or undefined when calling getPaymentByExternalIDForParty.');
2359
2947
  }
2360
2948
  const xRequestDeadline = requestParameters?.xRequestDeadline;
2361
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2362
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, externalID, 'externalID');
2949
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2950
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'externalID', externalID, QueryParamStyle.Form, false);
2363
2951
  let localVarHeaders = this.defaultHeaders;
2364
2952
  if (xRequestID !== undefined && xRequestID !== null) {
2365
2953
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -2393,12 +2981,12 @@ class PaymentsService extends BaseService {
2393
2981
  const { basePath, withCredentials } = this.configuration;
2394
2982
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2395
2983
  context: localVarHttpContext,
2396
- params: localVarQueryParameters,
2984
+ params: localVarQueryParameters.toHttpParams(),
2397
2985
  responseType: responseType_,
2398
2986
  ...(withCredentials ? { withCredentials } : {}),
2399
2987
  headers: localVarHeaders,
2400
2988
  observe: observe,
2401
- transferCache: localVarTransferCache,
2989
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2402
2990
  reportProgress: reportProgress
2403
2991
  });
2404
2992
  }
@@ -2453,7 +3041,7 @@ class PaymentsService extends BaseService {
2453
3041
  ...(withCredentials ? { withCredentials } : {}),
2454
3042
  headers: localVarHeaders,
2455
3043
  observe: observe,
2456
- transferCache: localVarTransferCache,
3044
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2457
3045
  reportProgress: reportProgress
2458
3046
  });
2459
3047
  }
@@ -2504,7 +3092,7 @@ class PaymentsService extends BaseService {
2504
3092
  ...(withCredentials ? { withCredentials } : {}),
2505
3093
  headers: localVarHeaders,
2506
3094
  observe: observe,
2507
- transferCache: localVarTransferCache,
3095
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2508
3096
  reportProgress: reportProgress
2509
3097
  });
2510
3098
  }
@@ -2518,8 +3106,8 @@ class PaymentsService extends BaseService {
2518
3106
  throw new Error('Required parameter externalID was null or undefined when calling getRefundByExternalID.');
2519
3107
  }
2520
3108
  const xRequestDeadline = requestParameters?.xRequestDeadline;
2521
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2522
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, externalID, 'externalID');
3109
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3110
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'externalID', externalID, QueryParamStyle.Form, false);
2523
3111
  let localVarHeaders = this.defaultHeaders;
2524
3112
  if (xRequestID !== undefined && xRequestID !== null) {
2525
3113
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -2553,12 +3141,12 @@ class PaymentsService extends BaseService {
2553
3141
  const { basePath, withCredentials } = this.configuration;
2554
3142
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2555
3143
  context: localVarHttpContext,
2556
- params: localVarQueryParameters,
3144
+ params: localVarQueryParameters.toHttpParams(),
2557
3145
  responseType: responseType_,
2558
3146
  ...(withCredentials ? { withCredentials } : {}),
2559
3147
  headers: localVarHeaders,
2560
3148
  observe: observe,
2561
- transferCache: localVarTransferCache,
3149
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2562
3150
  reportProgress: reportProgress
2563
3151
  });
2564
3152
  }
@@ -2576,8 +3164,8 @@ class PaymentsService extends BaseService {
2576
3164
  throw new Error('Required parameter externalID was null or undefined when calling getRefundByExternalIDForParty.');
2577
3165
  }
2578
3166
  const xRequestDeadline = requestParameters?.xRequestDeadline;
2579
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2580
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, externalID, 'externalID');
3167
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3168
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'externalID', externalID, QueryParamStyle.Form, false);
2581
3169
  let localVarHeaders = this.defaultHeaders;
2582
3170
  if (xRequestID !== undefined && xRequestID !== null) {
2583
3171
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -2611,12 +3199,12 @@ class PaymentsService extends BaseService {
2611
3199
  const { basePath, withCredentials } = this.configuration;
2612
3200
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2613
3201
  context: localVarHttpContext,
2614
- params: localVarQueryParameters,
3202
+ params: localVarQueryParameters.toHttpParams(),
2615
3203
  responseType: responseType_,
2616
3204
  ...(withCredentials ? { withCredentials } : {}),
2617
3205
  headers: localVarHeaders,
2618
3206
  observe: observe,
2619
- transferCache: localVarTransferCache,
3207
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2620
3208
  reportProgress: reportProgress
2621
3209
  });
2622
3210
  }
@@ -2675,7 +3263,7 @@ class PaymentsService extends BaseService {
2675
3263
  ...(withCredentials ? { withCredentials } : {}),
2676
3264
  headers: localVarHeaders,
2677
3265
  observe: observe,
2678
- transferCache: localVarTransferCache,
3266
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2679
3267
  reportProgress: reportProgress
2680
3268
  });
2681
3269
  }
@@ -2730,14 +3318,14 @@ class PaymentsService extends BaseService {
2730
3318
  ...(withCredentials ? { withCredentials } : {}),
2731
3319
  headers: localVarHeaders,
2732
3320
  observe: observe,
2733
- transferCache: localVarTransferCache,
3321
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2734
3322
  reportProgress: reportProgress
2735
3323
  });
2736
3324
  }
2737
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PaymentsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2738
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PaymentsService, providedIn: 'root' });
3325
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PaymentsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3326
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PaymentsService, providedIn: 'root' });
2739
3327
  }
2740
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: PaymentsService, decorators: [{
3328
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PaymentsService, decorators: [{
2741
3329
  type: Injectable,
2742
3330
  args: [{
2743
3331
  providedIn: 'root'
@@ -2818,7 +3406,7 @@ class ShopsService extends BaseService {
2818
3406
  ...(withCredentials ? { withCredentials } : {}),
2819
3407
  headers: localVarHeaders,
2820
3408
  observe: observe,
2821
- transferCache: localVarTransferCache,
3409
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2822
3410
  reportProgress: reportProgress
2823
3411
  });
2824
3412
  }
@@ -2873,7 +3461,7 @@ class ShopsService extends BaseService {
2873
3461
  ...(withCredentials ? { withCredentials } : {}),
2874
3462
  headers: localVarHeaders,
2875
3463
  observe: observe,
2876
- transferCache: localVarTransferCache,
3464
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2877
3465
  reportProgress: reportProgress
2878
3466
  });
2879
3467
  }
@@ -2928,7 +3516,7 @@ class ShopsService extends BaseService {
2928
3516
  ...(withCredentials ? { withCredentials } : {}),
2929
3517
  headers: localVarHeaders,
2930
3518
  observe: observe,
2931
- transferCache: localVarTransferCache,
3519
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2932
3520
  reportProgress: reportProgress
2933
3521
  });
2934
3522
  }
@@ -2979,7 +3567,7 @@ class ShopsService extends BaseService {
2979
3567
  ...(withCredentials ? { withCredentials } : {}),
2980
3568
  headers: localVarHeaders,
2981
3569
  observe: observe,
2982
- transferCache: localVarTransferCache,
3570
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2983
3571
  reportProgress: reportProgress
2984
3572
  });
2985
3573
  }
@@ -3034,14 +3622,14 @@ class ShopsService extends BaseService {
3034
3622
  ...(withCredentials ? { withCredentials } : {}),
3035
3623
  headers: localVarHeaders,
3036
3624
  observe: observe,
3037
- transferCache: localVarTransferCache,
3625
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3038
3626
  reportProgress: reportProgress
3039
3627
  });
3040
3628
  }
3041
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ShopsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3042
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ShopsService, providedIn: 'root' });
3629
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ShopsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3630
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ShopsService, providedIn: 'root' });
3043
3631
  }
3044
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ShopsService, decorators: [{
3632
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ShopsService, decorators: [{
3045
3633
  type: Injectable,
3046
3634
  args: [{
3047
3635
  providedIn: 'root'
@@ -3127,14 +3715,14 @@ class TokensService extends BaseService {
3127
3715
  ...(withCredentials ? { withCredentials } : {}),
3128
3716
  headers: localVarHeaders,
3129
3717
  observe: observe,
3130
- transferCache: localVarTransferCache,
3718
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3131
3719
  reportProgress: reportProgress
3132
3720
  });
3133
3721
  }
3134
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TokensService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3135
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TokensService, providedIn: 'root' });
3722
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: TokensService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3723
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: TokensService, providedIn: 'root' });
3136
3724
  }
3137
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TokensService, decorators: [{
3725
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: TokensService, decorators: [{
3138
3726
  type: Injectable,
3139
3727
  args: [{
3140
3728
  providedIn: 'root'
@@ -3211,7 +3799,7 @@ class TradeBlocsService extends BaseService {
3211
3799
  ...(withCredentials ? { withCredentials } : {}),
3212
3800
  headers: localVarHeaders,
3213
3801
  observe: observe,
3214
- transferCache: localVarTransferCache,
3802
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3215
3803
  reportProgress: reportProgress
3216
3804
  });
3217
3805
  }
@@ -3258,14 +3846,14 @@ class TradeBlocsService extends BaseService {
3258
3846
  ...(withCredentials ? { withCredentials } : {}),
3259
3847
  headers: localVarHeaders,
3260
3848
  observe: observe,
3261
- transferCache: localVarTransferCache,
3849
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3262
3850
  reportProgress: reportProgress
3263
3851
  });
3264
3852
  }
3265
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TradeBlocsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3266
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TradeBlocsService, providedIn: 'root' });
3853
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: TradeBlocsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3854
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: TradeBlocsService, providedIn: 'root' });
3267
3855
  }
3268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TradeBlocsService, decorators: [{
3856
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: TradeBlocsService, decorators: [{
3269
3857
  type: Injectable,
3270
3858
  args: [{
3271
3859
  providedIn: 'root'
@@ -3351,7 +3939,7 @@ class WebhooksService extends BaseService {
3351
3939
  ...(withCredentials ? { withCredentials } : {}),
3352
3940
  headers: localVarHeaders,
3353
3941
  observe: observe,
3354
- transferCache: localVarTransferCache,
3942
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3355
3943
  reportProgress: reportProgress
3356
3944
  });
3357
3945
  }
@@ -3402,7 +3990,7 @@ class WebhooksService extends BaseService {
3402
3990
  ...(withCredentials ? { withCredentials } : {}),
3403
3991
  headers: localVarHeaders,
3404
3992
  observe: observe,
3405
- transferCache: localVarTransferCache,
3993
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3406
3994
  reportProgress: reportProgress
3407
3995
  });
3408
3996
  }
@@ -3453,7 +4041,7 @@ class WebhooksService extends BaseService {
3453
4041
  ...(withCredentials ? { withCredentials } : {}),
3454
4042
  headers: localVarHeaders,
3455
4043
  observe: observe,
3456
- transferCache: localVarTransferCache,
4044
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3457
4045
  reportProgress: reportProgress
3458
4046
  });
3459
4047
  }
@@ -3500,7 +4088,7 @@ class WebhooksService extends BaseService {
3500
4088
  ...(withCredentials ? { withCredentials } : {}),
3501
4089
  headers: localVarHeaders,
3502
4090
  observe: observe,
3503
- transferCache: localVarTransferCache,
4091
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3504
4092
  reportProgress: reportProgress
3505
4093
  });
3506
4094
  }
@@ -3551,14 +4139,14 @@ class WebhooksService extends BaseService {
3551
4139
  ...(withCredentials ? { withCredentials } : {}),
3552
4140
  headers: localVarHeaders,
3553
4141
  observe: observe,
3554
- transferCache: localVarTransferCache,
4142
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3555
4143
  reportProgress: reportProgress
3556
4144
  });
3557
4145
  }
3558
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: WebhooksService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3559
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: WebhooksService, providedIn: 'root' });
4146
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: WebhooksService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
4147
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: WebhooksService, providedIn: 'root' });
3560
4148
  }
3561
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: WebhooksService, decorators: [{
4149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: WebhooksService, decorators: [{
3562
4150
  type: Injectable,
3563
4151
  args: [{
3564
4152
  providedIn: 'root'
@@ -3572,7 +4160,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
3572
4160
  type: Optional
3573
4161
  }] }] });
3574
4162
 
3575
- const APIS = [CategoriesService, CountriesService, InspectorService, InvoiceTemplatesService, InvoicesService, PartiesService, PaymentInstitutionsService, PaymentsService, ShopsService, TokensService, TradeBlocsService, WebhooksService];
4163
+ const APIS = [CategoriesService, CountriesService, CustomersService, InspectorService, InvoiceTemplatesService, InvoicesService, PartiesService, PaymentInstitutionsService, PaymentsService, ShopsService, TokensService, TradeBlocsService, WebhooksService];
3576
4164
 
3577
4165
  /**
3578
4166
  * Vality Payments API
@@ -3824,6 +4412,26 @@ var Chargeback;
3824
4412
  * Do not edit the class manually.
3825
4413
  */
3826
4414
 
4415
+ /**
4416
+ * Vality Payments API
4417
+ *
4418
+ *
4419
+ *
4420
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4421
+ * https://openapi-generator.tech
4422
+ * Do not edit the class manually.
4423
+ */
4424
+ var CreateCustomer400Response;
4425
+ (function (CreateCustomer400Response) {
4426
+ CreateCustomer400Response.CodeEnum = {
4427
+ InvalidPartyId: 'invalidPartyID',
4428
+ InvalidRequest: 'invalidRequest',
4429
+ InvalidDeadline: 'invalidDeadline',
4430
+ InvalidPartyStatus: 'invalidPartyStatus',
4431
+ AmbiguousPartyId: 'ambiguousPartyID'
4432
+ };
4433
+ })(CreateCustomer400Response || (CreateCustomer400Response = {}));
4434
+
3827
4435
  /**
3828
4436
  * Vality Payments API
3829
4437
  *
@@ -4001,6 +4609,26 @@ var CreateWebhook400Response;
4001
4609
  * Do not edit the class manually.
4002
4610
  */
4003
4611
 
4612
+ /**
4613
+ * Vality Payments API
4614
+ *
4615
+ *
4616
+ *
4617
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4618
+ * https://openapi-generator.tech
4619
+ * Do not edit the class manually.
4620
+ */
4621
+
4622
+ /**
4623
+ * Vality Payments API
4624
+ *
4625
+ *
4626
+ *
4627
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4628
+ * https://openapi-generator.tech
4629
+ * Do not edit the class manually.
4630
+ */
4631
+
4004
4632
  /**
4005
4633
  * Vality Payments API
4006
4634
  *
@@ -4775,11 +5403,11 @@ class ApiModule {
4775
5403
  'See also https://github.com/angular/angular/issues/20575');
4776
5404
  }
4777
5405
  }
4778
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
4779
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: ApiModule });
4780
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ApiModule });
5406
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
5407
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.17", ngImport: i0, type: ApiModule });
5408
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ApiModule });
4781
5409
  }
4782
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: ApiModule, decorators: [{
5410
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ApiModule, decorators: [{
4783
5411
  type: NgModule,
4784
5412
  args: [{
4785
5413
  imports: [],
@@ -4811,5 +5439,5 @@ function provideApi(configOrBasePath) {
4811
5439
  * Generated bundle index. Do not edit.
4812
5440
  */
4813
5441
 
4814
- export { APIS, AllocationFee, AllocationFeeTarget, AllocationTarget, AllocationTransaction, ApiModule, BASE_PATH, BankCardDetails, BankCardTokenProviderData, BankCardTokenizationMethod, COLLECTION_FORMATS, CancelPayment400Response, CapturePayment400Response, CategoriesService, Chargeback, Configuration, CountriesService, CreateInvoice400Response, CreateInvoiceTemplate400Response, CreateInvoiceWithTemplate400Response, CreatePayment400Response, CreateRefund400Response, CreateWebhook400Response, DefaultLogicError, DeleteInvoiceTemplate400Response, FulfillInvoice400Response, InspectorService, Invoice, InvoiceBankAccount, InvoiceChange, InvoiceClientInfo, InvoiceLineTaxMode, InvoiceLineTaxVAT, InvoiceRandomizeAmount, InvoiceStatus, InvoiceStatusChanged, InvoiceTemplatesService, InvoicesService, InvoicesTopic, PartiesService, Payment, PaymentFlow, PaymentFlowHold, PaymentInstitution, PaymentInstitutionsService, PaymentMethod, PaymentStatus, PaymentStatusChanged, PaymentTool, PaymentToolDetailsBankCard, PaymentsService, RealmMode, Refund, RefundStatus, RefundStatusChanged, RescindInvoice400Response, ShopsService, TokenizedCardData, TokensService, TradeBlocsService, UpdateInvoiceTemplate400Response, WebhookScope, WebhooksService, provideApi };
5442
+ export { APIS, AllocationFee, AllocationFeeTarget, AllocationTarget, AllocationTransaction, ApiModule, BASE_PATH, BankCardDetails, BankCardTokenProviderData, BankCardTokenizationMethod, COLLECTION_FORMATS, CancelPayment400Response, CapturePayment400Response, CategoriesService, Chargeback, Configuration, CountriesService, CreateCustomer400Response, CreateInvoice400Response, CreateInvoiceTemplate400Response, CreateInvoiceWithTemplate400Response, CreatePayment400Response, CreateRefund400Response, CreateWebhook400Response, CustomersService, DefaultLogicError, DeleteInvoiceTemplate400Response, FulfillInvoice400Response, InspectorService, Invoice, InvoiceBankAccount, InvoiceChange, InvoiceClientInfo, InvoiceLineTaxMode, InvoiceLineTaxVAT, InvoiceRandomizeAmount, InvoiceStatus, InvoiceStatusChanged, InvoiceTemplatesService, InvoicesService, InvoicesTopic, PartiesService, Payment, PaymentFlow, PaymentFlowHold, PaymentInstitution, PaymentInstitutionsService, PaymentMethod, PaymentStatus, PaymentStatusChanged, PaymentTool, PaymentToolDetailsBankCard, PaymentsService, RealmMode, Refund, RefundStatus, RefundStatusChanged, RescindInvoice400Response, ShopsService, TokenizedCardData, TokensService, TradeBlocsService, UpdateInvoiceTemplate400Response, WebhookScope, WebhooksService, provideApi };
4815
5443
  //# sourceMappingURL=vality-swag-payments.mjs.map