@vality/swag-payments 0.1.3-9cbb3b3.0 → 0.1.3-b302808.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 (189) hide show
  1. package/fesm2022/vality-swag-payments.mjs +433 -186
  2. package/fesm2022/vality-swag-payments.mjs.map +1 -1
  3. package/package.json +8 -3
  4. package/types/vality-swag-payments.d.ts +6429 -0
  5. package/api/api.d.ts +0 -27
  6. package/api/categories.service.d.ts +0 -68
  7. package/api/countries.service.d.ts +0 -68
  8. package/api/customers.service.d.ts +0 -230
  9. package/api/inspector.service.d.ts +0 -42
  10. package/api/invoiceTemplates.service.d.ts +0 -196
  11. package/api/invoices.service.d.ts +0 -289
  12. package/api/parties.service.d.ts +0 -98
  13. package/api/paymentInstitutions.service.d.ts +0 -102
  14. package/api/payments.service.d.ts +0 -456
  15. package/api/shops.service.d.ts +0 -166
  16. package/api/tokens.service.d.ts +0 -42
  17. package/api/tradeBlocs.service.d.ts +0 -68
  18. package/api/webhooks.service.d.ts +0 -155
  19. package/api.base.service.d.ts +0 -21
  20. package/api.module.d.ts +0 -11
  21. package/configuration.d.ts +0 -106
  22. package/encoder.d.ts +0 -11
  23. package/index.d.ts +0 -7
  24. package/model/accessToken.d.ts +0 -15
  25. package/model/allocationBodyAmount.d.ts +0 -16
  26. package/model/allocationBodyTotal.d.ts +0 -22
  27. package/model/allocationFee.d.ts +0 -24
  28. package/model/allocationFeeFixed.d.ts +0 -12
  29. package/model/allocationFeeShare.d.ts +0 -14
  30. package/model/allocationFeeTarget.d.ts +0 -21
  31. package/model/allocationTarget.d.ts +0 -21
  32. package/model/allocationTargetShop.d.ts +0 -21
  33. package/model/allocationTransaction.d.ts +0 -32
  34. package/model/apiExtensionRequest.d.ts +0 -16
  35. package/model/applePay.d.ts +0 -22
  36. package/model/bankCard.d.ts +0 -23
  37. package/model/bankCardDetails.d.ts +0 -42
  38. package/model/bankCardTokenProviderData.d.ts +0 -37
  39. package/model/bankCardTokenizationMethod.d.ts +0 -17
  40. package/model/browserGetRequest.d.ts +0 -16
  41. package/model/browserPostRequest.d.ts +0 -21
  42. package/model/browserRequest.d.ts +0 -15
  43. package/model/cancelPayment400Response.d.ts +0 -30
  44. package/model/captureParams.d.ts +0 -33
  45. package/model/capturePayment400Response.d.ts +0 -35
  46. package/model/cardData.d.ts +0 -30
  47. package/model/cashLimitBound.d.ts +0 -16
  48. package/model/category.d.ts +0 -14
  49. package/model/chargeback.d.ts +0 -58
  50. package/model/clientInfo.d.ts +0 -26
  51. package/model/contactInfo.d.ts +0 -58
  52. package/model/costAmountRange.d.ts +0 -19
  53. package/model/country.d.ts +0 -20
  54. package/model/createCustomer400Response.d.ts +0 -29
  55. package/model/createInvoice400Response.d.ts +0 -36
  56. package/model/createInvoiceTemplate400Response.d.ts +0 -32
  57. package/model/createInvoiceWithTemplate400Response.d.ts +0 -29
  58. package/model/createPayment400Response.d.ts +0 -36
  59. package/model/createRefund400Response.d.ts +0 -39
  60. package/model/createWebhook400Response.d.ts +0 -29
  61. package/model/createWebhook429Response.d.ts +0 -15
  62. package/model/cryptoCurrencyTransferRequest.d.ts +0 -24
  63. package/model/cryptoWallet.d.ts +0 -18
  64. package/model/cryptoWalletData.d.ts +0 -18
  65. package/model/cryptoWalletDetails.d.ts +0 -15
  66. package/model/customer.d.ts +0 -32
  67. package/model/customerAndToken.d.ts +0 -15
  68. package/model/customerBankCard.d.ts +0 -26
  69. package/model/customerParams.d.ts +0 -28
  70. package/model/customerPayment.d.ts +0 -26
  71. package/model/decimal.d.ts +0 -22
  72. package/model/defaultLogicError.d.ts +0 -26
  73. package/model/deleteInvoiceTemplate400Response.d.ts +0 -28
  74. package/model/digitalWallet.d.ts +0 -18
  75. package/model/digitalWalletData.d.ts +0 -26
  76. package/model/digitalWalletDetails.d.ts +0 -15
  77. package/model/externalIDConflictError.d.ts +0 -23
  78. package/model/fulfillInvoice400Response.d.ts +0 -29
  79. package/model/generalError.d.ts +0 -12
  80. package/model/getCustomerBankCards200Response.d.ts +0 -17
  81. package/model/getCustomerPayments200Response.d.ts +0 -17
  82. package/model/getShopCashLimitsForParty200ResponseInner.d.ts +0 -20
  83. package/model/googlePay.d.ts +0 -22
  84. package/model/inspectUser200Response.d.ts +0 -13
  85. package/model/inspectUserRequest.d.ts +0 -15
  86. package/model/invoice.d.ts +0 -88
  87. package/model/invoiceAmountRandomized.d.ts +0 -22
  88. package/model/invoiceAndToken.d.ts +0 -15
  89. package/model/invoiceBankAccount.d.ts +0 -24
  90. package/model/invoiceChange.d.ts +0 -25
  91. package/model/invoiceClientInfo.d.ts +0 -25
  92. package/model/invoiceCreated.d.ts +0 -16
  93. package/model/invoiceEvent.d.ts +0 -18
  94. package/model/invoiceLine.d.ts +0 -32
  95. package/model/invoiceLineTaxMode.d.ts +0 -24
  96. package/model/invoiceLineTaxVAT.d.ts +0 -28
  97. package/model/invoiceParams.d.ts +0 -63
  98. package/model/invoiceParamsWithTemplate.d.ts +0 -27
  99. package/model/invoiceRandomizeAmount.d.ts +0 -46
  100. package/model/invoiceRussianBankAccount.d.ts +0 -22
  101. package/model/invoiceStatus.d.ts +0 -28
  102. package/model/invoiceStatusChanged.d.ts +0 -29
  103. package/model/invoiceTemplate.d.ts +0 -45
  104. package/model/invoiceTemplateAndToken.d.ts +0 -15
  105. package/model/invoiceTemplateCreateParams.d.ts +0 -41
  106. package/model/invoiceTemplateDetails.d.ts +0 -12
  107. package/model/invoiceTemplateLineCost.d.ts +0 -15
  108. package/model/invoiceTemplateLineCostFixed.d.ts +0 -20
  109. package/model/invoiceTemplateLineCostRange.d.ts +0 -18
  110. package/model/invoiceTemplateLineCostUnlim.d.ts +0 -12
  111. package/model/invoiceTemplateMultiLine.d.ts +0 -21
  112. package/model/invoiceTemplateSingleLine.d.ts +0 -20
  113. package/model/invoiceTemplateUpdateParams.d.ts +0 -29
  114. package/model/invoicesTopic.d.ts +0 -43
  115. package/model/lifetimeInterval.d.ts +0 -17
  116. package/model/logicError.d.ts +0 -16
  117. package/model/mobileCommerce.d.ts +0 -18
  118. package/model/mobileCommerceData.d.ts +0 -16
  119. package/model/mobileCommerceDetails.d.ts +0 -15
  120. package/model/mobileCommercePhone.d.ts +0 -22
  121. package/model/models.d.ts +0 -162
  122. package/model/party.d.ts +0 -14
  123. package/model/payer.d.ts +0 -17
  124. package/model/payerSessionInfo.d.ts +0 -18
  125. package/model/payment.d.ts +0 -75
  126. package/model/paymentError.d.ts +0 -20
  127. package/model/paymentFlow.d.ts +0 -22
  128. package/model/paymentFlowHold.d.ts +0 -27
  129. package/model/paymentFlowInstant.d.ts +0 -14
  130. package/model/paymentInstitution.d.ts +0 -29
  131. package/model/paymentInteractionCompleted.d.ts +0 -20
  132. package/model/paymentInteractionRequested.d.ts +0 -20
  133. package/model/paymentMethod.d.ts +0 -25
  134. package/model/paymentParams.d.ts +0 -35
  135. package/model/paymentRecurrentParent.d.ts +0 -22
  136. package/model/paymentResource.d.ts +0 -26
  137. package/model/paymentResourceClientInfo.d.ts +0 -23
  138. package/model/paymentResourceParams.d.ts +0 -15
  139. package/model/paymentResourcePayer.d.ts +0 -29
  140. package/model/paymentResourceResult.d.ts +0 -34
  141. package/model/paymentStarted.d.ts +0 -16
  142. package/model/paymentStatus.d.ts +0 -28
  143. package/model/paymentStatusChanged.d.ts +0 -30
  144. package/model/paymentTerminal.d.ts +0 -18
  145. package/model/paymentTerminalData.d.ts +0 -22
  146. package/model/paymentTerminalDetails.d.ts +0 -15
  147. package/model/paymentTerminalReceipt.d.ts +0 -20
  148. package/model/paymentTool.d.ts +0 -26
  149. package/model/paymentToolDetails.d.ts +0 -18
  150. package/model/paymentToolDetailsBankCard.d.ts +0 -43
  151. package/model/paymentToolDetailsCryptoWallet.d.ts +0 -16
  152. package/model/paymentToolDetailsDigitalWallet.d.ts +0 -16
  153. package/model/paymentToolDetailsMobileCommerce.d.ts +0 -16
  154. package/model/paymentToolDetailsPaymentTerminal.d.ts +0 -16
  155. package/model/qrCodeDisplayRequest.d.ts +0 -16
  156. package/model/realmMode.d.ts +0 -17
  157. package/model/reason.d.ts +0 -15
  158. package/model/recurrentPayer.d.ts +0 -21
  159. package/model/redirect.d.ts +0 -14
  160. package/model/refund.d.ts +0 -59
  161. package/model/refundError.d.ts +0 -22
  162. package/model/refundParams.d.ts +0 -37
  163. package/model/refundStarted.d.ts +0 -17
  164. package/model/refundStatus.d.ts +0 -25
  165. package/model/refundStatusChanged.d.ts +0 -28
  166. package/model/rescindInvoice400Response.d.ts +0 -30
  167. package/model/samsungPay.d.ts +0 -22
  168. package/model/serviceProvider.d.ts +0 -30
  169. package/model/shop.d.ts +0 -42
  170. package/model/shopDetails.d.ts +0 -19
  171. package/model/shopLocation.d.ts +0 -18
  172. package/model/shopLocationUrl.d.ts +0 -19
  173. package/model/subError.d.ts +0 -19
  174. package/model/tokenizedCardData.d.ts +0 -22
  175. package/model/tradeBloc.d.ts +0 -17
  176. package/model/transactionInfo.d.ts +0 -22
  177. package/model/updateInvoiceTemplate400Response.d.ts +0 -29
  178. package/model/userInspectContact.d.ts +0 -22
  179. package/model/userInspectCustomer.d.ts +0 -18
  180. package/model/userInspectDevice.d.ts +0 -22
  181. package/model/userInspectShop.d.ts +0 -22
  182. package/model/userInteraction.d.ts +0 -15
  183. package/model/userInteractionFormInner.d.ts +0 -19
  184. package/model/webhook.d.ts +0 -33
  185. package/model/webhookScope.d.ts +0 -25
  186. package/model/yandexPay.d.ts +0 -22
  187. package/param.d.ts +0 -37
  188. package/provide-api.d.ts +0 -3
  189. 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.20", 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.20", 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.20", 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,14 @@ 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.20", 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.20", 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.20", ngImport: i0, type: CountriesService, decorators: [{
660
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CountriesService, decorators: [{
506
661
  type: Injectable,
507
662
  args: [{
508
663
  providedIn: 'root'
@@ -588,7 +743,7 @@ class CustomersService extends BaseService {
588
743
  ...(withCredentials ? { withCredentials } : {}),
589
744
  headers: localVarHeaders,
590
745
  observe: observe,
591
- transferCache: localVarTransferCache,
746
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
592
747
  reportProgress: reportProgress
593
748
  });
594
749
  }
@@ -639,7 +794,7 @@ class CustomersService extends BaseService {
639
794
  ...(withCredentials ? { withCredentials } : {}),
640
795
  headers: localVarHeaders,
641
796
  observe: observe,
642
- transferCache: localVarTransferCache,
797
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
643
798
  reportProgress: reportProgress
644
799
  });
645
800
  }
@@ -690,7 +845,7 @@ class CustomersService extends BaseService {
690
845
  ...(withCredentials ? { withCredentials } : {}),
691
846
  headers: localVarHeaders,
692
847
  observe: observe,
693
- transferCache: localVarTransferCache,
848
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
694
849
  reportProgress: reportProgress
695
850
  });
696
851
  }
@@ -709,9 +864,9 @@ class CustomersService extends BaseService {
709
864
  }
710
865
  const xRequestDeadline = requestParameters?.xRequestDeadline;
711
866
  const continuationToken = requestParameters?.continuationToken;
712
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
713
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, limit, 'limit');
714
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, continuationToken, '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);
715
870
  let localVarHeaders = this.defaultHeaders;
716
871
  if (xRequestID !== undefined && xRequestID !== null) {
717
872
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -745,12 +900,12 @@ class CustomersService extends BaseService {
745
900
  const { basePath, withCredentials } = this.configuration;
746
901
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
747
902
  context: localVarHttpContext,
748
- params: localVarQueryParameters,
903
+ params: localVarQueryParameters.toHttpParams(),
749
904
  responseType: responseType_,
750
905
  ...(withCredentials ? { withCredentials } : {}),
751
906
  headers: localVarHeaders,
752
907
  observe: observe,
753
- transferCache: localVarTransferCache,
908
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
754
909
  reportProgress: reportProgress
755
910
  });
756
911
  }
@@ -765,9 +920,9 @@ class CustomersService extends BaseService {
765
920
  }
766
921
  const xRequestDeadline = requestParameters?.xRequestDeadline;
767
922
  const partyID = requestParameters?.partyID;
768
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
769
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, externalID, 'externalID');
770
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, partyID, '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);
771
926
  let localVarHeaders = this.defaultHeaders;
772
927
  if (xRequestID !== undefined && xRequestID !== null) {
773
928
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -801,12 +956,12 @@ class CustomersService extends BaseService {
801
956
  const { basePath, withCredentials } = this.configuration;
802
957
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
803
958
  context: localVarHttpContext,
804
- params: localVarQueryParameters,
959
+ params: localVarQueryParameters.toHttpParams(),
805
960
  responseType: responseType_,
806
961
  ...(withCredentials ? { withCredentials } : {}),
807
962
  headers: localVarHeaders,
808
963
  observe: observe,
809
- transferCache: localVarTransferCache,
964
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
810
965
  reportProgress: reportProgress
811
966
  });
812
967
  }
@@ -857,7 +1012,7 @@ class CustomersService extends BaseService {
857
1012
  ...(withCredentials ? { withCredentials } : {}),
858
1013
  headers: localVarHeaders,
859
1014
  observe: observe,
860
- transferCache: localVarTransferCache,
1015
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
861
1016
  reportProgress: reportProgress
862
1017
  });
863
1018
  }
@@ -876,9 +1031,9 @@ class CustomersService extends BaseService {
876
1031
  }
877
1032
  const xRequestDeadline = requestParameters?.xRequestDeadline;
878
1033
  const continuationToken = requestParameters?.continuationToken;
879
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
880
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, limit, 'limit');
881
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, continuationToken, '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);
882
1037
  let localVarHeaders = this.defaultHeaders;
883
1038
  if (xRequestID !== undefined && xRequestID !== null) {
884
1039
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -912,19 +1067,19 @@ class CustomersService extends BaseService {
912
1067
  const { basePath, withCredentials } = this.configuration;
913
1068
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
914
1069
  context: localVarHttpContext,
915
- params: localVarQueryParameters,
1070
+ params: localVarQueryParameters.toHttpParams(),
916
1071
  responseType: responseType_,
917
1072
  ...(withCredentials ? { withCredentials } : {}),
918
1073
  headers: localVarHeaders,
919
1074
  observe: observe,
920
- transferCache: localVarTransferCache,
1075
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
921
1076
  reportProgress: reportProgress
922
1077
  });
923
1078
  }
924
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CustomersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
925
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CustomersService, providedIn: 'root' });
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' });
926
1081
  }
927
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: CustomersService, decorators: [{
1082
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: CustomersService, decorators: [{
928
1083
  type: Injectable,
929
1084
  args: [{
930
1085
  providedIn: 'root'
@@ -1010,14 +1165,14 @@ class InspectorService extends BaseService {
1010
1165
  ...(withCredentials ? { withCredentials } : {}),
1011
1166
  headers: localVarHeaders,
1012
1167
  observe: observe,
1013
- transferCache: localVarTransferCache,
1168
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1014
1169
  reportProgress: reportProgress
1015
1170
  });
1016
1171
  }
1017
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: InspectorService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1018
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", 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' });
1019
1174
  }
1020
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: InspectorService, decorators: [{
1175
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InspectorService, decorators: [{
1021
1176
  type: Injectable,
1022
1177
  args: [{
1023
1178
  providedIn: 'root'
@@ -1103,7 +1258,7 @@ class InvoiceTemplatesService extends BaseService {
1103
1258
  ...(withCredentials ? { withCredentials } : {}),
1104
1259
  headers: localVarHeaders,
1105
1260
  observe: observe,
1106
- transferCache: localVarTransferCache,
1261
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1107
1262
  reportProgress: reportProgress
1108
1263
  });
1109
1264
  }
@@ -1167,7 +1322,7 @@ class InvoiceTemplatesService extends BaseService {
1167
1322
  ...(withCredentials ? { withCredentials } : {}),
1168
1323
  headers: localVarHeaders,
1169
1324
  observe: observe,
1170
- transferCache: localVarTransferCache,
1325
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1171
1326
  reportProgress: reportProgress
1172
1327
  });
1173
1328
  }
@@ -1218,7 +1373,7 @@ class InvoiceTemplatesService extends BaseService {
1218
1373
  ...(withCredentials ? { withCredentials } : {}),
1219
1374
  headers: localVarHeaders,
1220
1375
  observe: observe,
1221
- transferCache: localVarTransferCache,
1376
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1222
1377
  reportProgress: reportProgress
1223
1378
  });
1224
1379
  }
@@ -1269,7 +1424,7 @@ class InvoiceTemplatesService extends BaseService {
1269
1424
  ...(withCredentials ? { withCredentials } : {}),
1270
1425
  headers: localVarHeaders,
1271
1426
  observe: observe,
1272
- transferCache: localVarTransferCache,
1427
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1273
1428
  reportProgress: reportProgress
1274
1429
  });
1275
1430
  }
@@ -1320,7 +1475,7 @@ class InvoiceTemplatesService extends BaseService {
1320
1475
  ...(withCredentials ? { withCredentials } : {}),
1321
1476
  headers: localVarHeaders,
1322
1477
  observe: observe,
1323
- transferCache: localVarTransferCache,
1478
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1324
1479
  reportProgress: reportProgress
1325
1480
  });
1326
1481
  }
@@ -1384,14 +1539,14 @@ class InvoiceTemplatesService extends BaseService {
1384
1539
  ...(withCredentials ? { withCredentials } : {}),
1385
1540
  headers: localVarHeaders,
1386
1541
  observe: observe,
1387
- transferCache: localVarTransferCache,
1542
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1388
1543
  reportProgress: reportProgress
1389
1544
  });
1390
1545
  }
1391
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: InvoiceTemplatesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1392
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", 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' });
1393
1548
  }
1394
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: InvoiceTemplatesService, decorators: [{
1549
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InvoiceTemplatesService, decorators: [{
1395
1550
  type: Injectable,
1396
1551
  args: [{
1397
1552
  providedIn: 'root'
@@ -1477,7 +1632,7 @@ class InvoicesService extends BaseService {
1477
1632
  ...(withCredentials ? { withCredentials } : {}),
1478
1633
  headers: localVarHeaders,
1479
1634
  observe: observe,
1480
- transferCache: localVarTransferCache,
1635
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1481
1636
  reportProgress: reportProgress
1482
1637
  });
1483
1638
  }
@@ -1528,7 +1683,71 @@ class InvoicesService extends BaseService {
1528
1683
  ...(withCredentials ? { withCredentials } : {}),
1529
1684
  headers: localVarHeaders,
1530
1685
  observe: observe,
1531
- transferCache: localVarTransferCache,
1686
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1687
+ reportProgress: reportProgress
1688
+ });
1689
+ }
1690
+ createInvoiceUrl(requestParameters, observe = 'body', reportProgress = false, options) {
1691
+ const xRequestID = requestParameters?.xRequestID;
1692
+ if (xRequestID === null || xRequestID === undefined) {
1693
+ throw new Error('Required parameter xRequestID was null or undefined when calling createInvoiceUrl.');
1694
+ }
1695
+ const invoiceID = requestParameters?.invoiceID;
1696
+ if (invoiceID === null || invoiceID === undefined) {
1697
+ throw new Error('Required parameter invoiceID was null or undefined when calling createInvoiceUrl.');
1698
+ }
1699
+ const params = requestParameters?.params;
1700
+ if (params === null || params === undefined) {
1701
+ throw new Error('Required parameter params was null or undefined when calling createInvoiceUrl.');
1702
+ }
1703
+ const xRequestDeadline = requestParameters?.xRequestDeadline;
1704
+ let localVarHeaders = this.defaultHeaders;
1705
+ if (xRequestID !== undefined && xRequestID !== null) {
1706
+ localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
1707
+ }
1708
+ if (xRequestDeadline !== undefined && xRequestDeadline !== null) {
1709
+ localVarHeaders = localVarHeaders.set('X-Request-Deadline', String(xRequestDeadline));
1710
+ }
1711
+ // authentication (bearer) required
1712
+ localVarHeaders = this.configuration.addCredentialToHeaders('bearer', 'Authorization', localVarHeaders);
1713
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
1714
+ 'application/json; charset=utf-8'
1715
+ ]);
1716
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
1717
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
1718
+ }
1719
+ const localVarHttpContext = options?.context ?? new HttpContext();
1720
+ const localVarTransferCache = options?.transferCache ?? true;
1721
+ // to determine the Content-Type header
1722
+ const consumes = [
1723
+ 'application/json; charset=utf-8'
1724
+ ];
1725
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
1726
+ if (httpContentTypeSelected !== undefined) {
1727
+ localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
1728
+ }
1729
+ let responseType_ = 'json';
1730
+ if (localVarHttpHeaderAcceptSelected) {
1731
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
1732
+ responseType_ = 'text';
1733
+ }
1734
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
1735
+ responseType_ = 'json';
1736
+ }
1737
+ else {
1738
+ responseType_ = 'blob';
1739
+ }
1740
+ }
1741
+ let localVarPath = `/processing/invoices/${this.configuration.encodeParam({ name: "invoiceID", value: invoiceID, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}/urls`;
1742
+ const { basePath, withCredentials } = this.configuration;
1743
+ return this.httpClient.request('post', `${basePath}${localVarPath}`, {
1744
+ context: localVarHttpContext,
1745
+ body: params,
1746
+ responseType: responseType_,
1747
+ ...(withCredentials ? { withCredentials } : {}),
1748
+ headers: localVarHeaders,
1749
+ observe: observe,
1750
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1532
1751
  reportProgress: reportProgress
1533
1752
  });
1534
1753
  }
@@ -1592,7 +1811,7 @@ class InvoicesService extends BaseService {
1592
1811
  ...(withCredentials ? { withCredentials } : {}),
1593
1812
  headers: localVarHeaders,
1594
1813
  observe: observe,
1595
- transferCache: localVarTransferCache,
1814
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1596
1815
  reportProgress: reportProgress
1597
1816
  });
1598
1817
  }
@@ -1606,8 +1825,8 @@ class InvoicesService extends BaseService {
1606
1825
  throw new Error('Required parameter externalID was null or undefined when calling getInvoiceByExternalID.');
1607
1826
  }
1608
1827
  const xRequestDeadline = requestParameters?.xRequestDeadline;
1609
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1610
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, externalID, 'externalID');
1828
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1829
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'externalID', externalID, QueryParamStyle.Form, false);
1611
1830
  let localVarHeaders = this.defaultHeaders;
1612
1831
  if (xRequestID !== undefined && xRequestID !== null) {
1613
1832
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -1641,12 +1860,12 @@ class InvoicesService extends BaseService {
1641
1860
  const { basePath, withCredentials } = this.configuration;
1642
1861
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1643
1862
  context: localVarHttpContext,
1644
- params: localVarQueryParameters,
1863
+ params: localVarQueryParameters.toHttpParams(),
1645
1864
  responseType: responseType_,
1646
1865
  ...(withCredentials ? { withCredentials } : {}),
1647
1866
  headers: localVarHeaders,
1648
1867
  observe: observe,
1649
- transferCache: localVarTransferCache,
1868
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1650
1869
  reportProgress: reportProgress
1651
1870
  });
1652
1871
  }
@@ -1664,8 +1883,8 @@ class InvoicesService extends BaseService {
1664
1883
  throw new Error('Required parameter externalID was null or undefined when calling getInvoiceByExternalIDForParty.');
1665
1884
  }
1666
1885
  const xRequestDeadline = requestParameters?.xRequestDeadline;
1667
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1668
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, externalID, 'externalID');
1886
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1887
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'externalID', externalID, QueryParamStyle.Form, false);
1669
1888
  let localVarHeaders = this.defaultHeaders;
1670
1889
  if (xRequestID !== undefined && xRequestID !== null) {
1671
1890
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -1699,12 +1918,12 @@ class InvoicesService extends BaseService {
1699
1918
  const { basePath, withCredentials } = this.configuration;
1700
1919
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1701
1920
  context: localVarHttpContext,
1702
- params: localVarQueryParameters,
1921
+ params: localVarQueryParameters.toHttpParams(),
1703
1922
  responseType: responseType_,
1704
1923
  ...(withCredentials ? { withCredentials } : {}),
1705
1924
  headers: localVarHeaders,
1706
1925
  observe: observe,
1707
- transferCache: localVarTransferCache,
1926
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1708
1927
  reportProgress: reportProgress
1709
1928
  });
1710
1929
  }
@@ -1755,7 +1974,7 @@ class InvoicesService extends BaseService {
1755
1974
  ...(withCredentials ? { withCredentials } : {}),
1756
1975
  headers: localVarHeaders,
1757
1976
  observe: observe,
1758
- transferCache: localVarTransferCache,
1977
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1759
1978
  reportProgress: reportProgress
1760
1979
  });
1761
1980
  }
@@ -1774,9 +1993,9 @@ class InvoicesService extends BaseService {
1774
1993
  }
1775
1994
  const xRequestDeadline = requestParameters?.xRequestDeadline;
1776
1995
  const eventID = requestParameters?.eventID;
1777
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
1778
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, limit, 'limit');
1779
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, eventID, 'eventID');
1996
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
1997
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', limit, QueryParamStyle.Form, false);
1998
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'eventID', eventID, QueryParamStyle.Form, false);
1780
1999
  let localVarHeaders = this.defaultHeaders;
1781
2000
  if (xRequestID !== undefined && xRequestID !== null) {
1782
2001
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -1810,12 +2029,12 @@ class InvoicesService extends BaseService {
1810
2029
  const { basePath, withCredentials } = this.configuration;
1811
2030
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
1812
2031
  context: localVarHttpContext,
1813
- params: localVarQueryParameters,
2032
+ params: localVarQueryParameters.toHttpParams(),
1814
2033
  responseType: responseType_,
1815
2034
  ...(withCredentials ? { withCredentials } : {}),
1816
2035
  headers: localVarHeaders,
1817
2036
  observe: observe,
1818
- transferCache: localVarTransferCache,
2037
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1819
2038
  reportProgress: reportProgress
1820
2039
  });
1821
2040
  }
@@ -1866,7 +2085,7 @@ class InvoicesService extends BaseService {
1866
2085
  ...(withCredentials ? { withCredentials } : {}),
1867
2086
  headers: localVarHeaders,
1868
2087
  observe: observe,
1869
- transferCache: localVarTransferCache,
2088
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1870
2089
  reportProgress: reportProgress
1871
2090
  });
1872
2091
  }
@@ -1930,14 +2149,14 @@ class InvoicesService extends BaseService {
1930
2149
  ...(withCredentials ? { withCredentials } : {}),
1931
2150
  headers: localVarHeaders,
1932
2151
  observe: observe,
1933
- transferCache: localVarTransferCache,
2152
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
1934
2153
  reportProgress: reportProgress
1935
2154
  });
1936
2155
  }
1937
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: InvoicesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1938
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: InvoicesService, providedIn: 'root' });
2156
+ 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 });
2157
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InvoicesService, providedIn: 'root' });
1939
2158
  }
1940
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: InvoicesService, decorators: [{
2159
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: InvoicesService, decorators: [{
1941
2160
  type: Injectable,
1942
2161
  args: [{
1943
2162
  providedIn: 'root'
@@ -2014,7 +2233,7 @@ class PartiesService extends BaseService {
2014
2233
  ...(withCredentials ? { withCredentials } : {}),
2015
2234
  headers: localVarHeaders,
2016
2235
  observe: observe,
2017
- transferCache: localVarTransferCache,
2236
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2018
2237
  reportProgress: reportProgress
2019
2238
  });
2020
2239
  }
@@ -2065,7 +2284,7 @@ class PartiesService extends BaseService {
2065
2284
  ...(withCredentials ? { withCredentials } : {}),
2066
2285
  headers: localVarHeaders,
2067
2286
  observe: observe,
2068
- transferCache: localVarTransferCache,
2287
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2069
2288
  reportProgress: reportProgress
2070
2289
  });
2071
2290
  }
@@ -2116,14 +2335,14 @@ class PartiesService extends BaseService {
2116
2335
  ...(withCredentials ? { withCredentials } : {}),
2117
2336
  headers: localVarHeaders,
2118
2337
  observe: observe,
2119
- transferCache: localVarTransferCache,
2338
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2120
2339
  reportProgress: reportProgress
2121
2340
  });
2122
2341
  }
2123
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PartiesService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2124
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PartiesService, providedIn: 'root' });
2342
+ 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 });
2343
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PartiesService, providedIn: 'root' });
2125
2344
  }
2126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PartiesService, decorators: [{
2345
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PartiesService, decorators: [{
2127
2346
  type: Injectable,
2128
2347
  args: [{
2129
2348
  providedIn: 'root'
@@ -2200,7 +2419,7 @@ class PaymentInstitutionsService extends BaseService {
2200
2419
  ...(withCredentials ? { withCredentials } : {}),
2201
2420
  headers: localVarHeaders,
2202
2421
  observe: observe,
2203
- transferCache: localVarTransferCache,
2422
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2204
2423
  reportProgress: reportProgress
2205
2424
  });
2206
2425
  }
@@ -2212,9 +2431,9 @@ class PaymentInstitutionsService extends BaseService {
2212
2431
  const xRequestDeadline = requestParameters?.xRequestDeadline;
2213
2432
  const residence = requestParameters?.residence;
2214
2433
  const realm = requestParameters?.realm;
2215
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2216
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, residence, 'residence');
2217
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, realm, 'realm');
2434
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2435
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'residence', residence, QueryParamStyle.Form, false);
2436
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'realm', realm, QueryParamStyle.Form, false);
2218
2437
  let localVarHeaders = this.defaultHeaders;
2219
2438
  if (xRequestID !== undefined && xRequestID !== null) {
2220
2439
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -2248,12 +2467,12 @@ class PaymentInstitutionsService extends BaseService {
2248
2467
  const { basePath, withCredentials } = this.configuration;
2249
2468
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2250
2469
  context: localVarHttpContext,
2251
- params: localVarQueryParameters,
2470
+ params: localVarQueryParameters.toHttpParams(),
2252
2471
  responseType: responseType_,
2253
2472
  ...(withCredentials ? { withCredentials } : {}),
2254
2473
  headers: localVarHeaders,
2255
2474
  observe: observe,
2256
- transferCache: localVarTransferCache,
2475
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2257
2476
  reportProgress: reportProgress
2258
2477
  });
2259
2478
  }
@@ -2304,14 +2523,14 @@ class PaymentInstitutionsService extends BaseService {
2304
2523
  ...(withCredentials ? { withCredentials } : {}),
2305
2524
  headers: localVarHeaders,
2306
2525
  observe: observe,
2307
- transferCache: localVarTransferCache,
2526
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2308
2527
  reportProgress: reportProgress
2309
2528
  });
2310
2529
  }
2311
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PaymentInstitutionsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2312
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PaymentInstitutionsService, providedIn: 'root' });
2530
+ 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 });
2531
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PaymentInstitutionsService, providedIn: 'root' });
2313
2532
  }
2314
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PaymentInstitutionsService, decorators: [{
2533
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PaymentInstitutionsService, decorators: [{
2315
2534
  type: Injectable,
2316
2535
  args: [{
2317
2536
  providedIn: 'root'
@@ -2405,7 +2624,7 @@ class PaymentsService extends BaseService {
2405
2624
  ...(withCredentials ? { withCredentials } : {}),
2406
2625
  headers: localVarHeaders,
2407
2626
  observe: observe,
2408
- transferCache: localVarTransferCache,
2627
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2409
2628
  reportProgress: reportProgress
2410
2629
  });
2411
2630
  }
@@ -2473,7 +2692,7 @@ class PaymentsService extends BaseService {
2473
2692
  ...(withCredentials ? { withCredentials } : {}),
2474
2693
  headers: localVarHeaders,
2475
2694
  observe: observe,
2476
- transferCache: localVarTransferCache,
2695
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2477
2696
  reportProgress: reportProgress
2478
2697
  });
2479
2698
  }
@@ -2537,7 +2756,7 @@ class PaymentsService extends BaseService {
2537
2756
  ...(withCredentials ? { withCredentials } : {}),
2538
2757
  headers: localVarHeaders,
2539
2758
  observe: observe,
2540
- transferCache: localVarTransferCache,
2759
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2541
2760
  reportProgress: reportProgress
2542
2761
  });
2543
2762
  }
@@ -2605,7 +2824,7 @@ class PaymentsService extends BaseService {
2605
2824
  ...(withCredentials ? { withCredentials } : {}),
2606
2825
  headers: localVarHeaders,
2607
2826
  observe: observe,
2608
- transferCache: localVarTransferCache,
2827
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2609
2828
  reportProgress: reportProgress
2610
2829
  });
2611
2830
  }
@@ -2664,7 +2883,7 @@ class PaymentsService extends BaseService {
2664
2883
  ...(withCredentials ? { withCredentials } : {}),
2665
2884
  headers: localVarHeaders,
2666
2885
  observe: observe,
2667
- transferCache: localVarTransferCache,
2886
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2668
2887
  reportProgress: reportProgress
2669
2888
  });
2670
2889
  }
@@ -2719,7 +2938,7 @@ class PaymentsService extends BaseService {
2719
2938
  ...(withCredentials ? { withCredentials } : {}),
2720
2939
  headers: localVarHeaders,
2721
2940
  observe: observe,
2722
- transferCache: localVarTransferCache,
2941
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2723
2942
  reportProgress: reportProgress
2724
2943
  });
2725
2944
  }
@@ -2733,8 +2952,8 @@ class PaymentsService extends BaseService {
2733
2952
  throw new Error('Required parameter externalID was null or undefined when calling getPaymentByExternalID.');
2734
2953
  }
2735
2954
  const xRequestDeadline = requestParameters?.xRequestDeadline;
2736
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2737
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, externalID, 'externalID');
2955
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
2956
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'externalID', externalID, QueryParamStyle.Form, false);
2738
2957
  let localVarHeaders = this.defaultHeaders;
2739
2958
  if (xRequestID !== undefined && xRequestID !== null) {
2740
2959
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -2768,12 +2987,12 @@ class PaymentsService extends BaseService {
2768
2987
  const { basePath, withCredentials } = this.configuration;
2769
2988
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2770
2989
  context: localVarHttpContext,
2771
- params: localVarQueryParameters,
2990
+ params: localVarQueryParameters.toHttpParams(),
2772
2991
  responseType: responseType_,
2773
2992
  ...(withCredentials ? { withCredentials } : {}),
2774
2993
  headers: localVarHeaders,
2775
2994
  observe: observe,
2776
- transferCache: localVarTransferCache,
2995
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2777
2996
  reportProgress: reportProgress
2778
2997
  });
2779
2998
  }
@@ -2791,8 +3010,8 @@ class PaymentsService extends BaseService {
2791
3010
  throw new Error('Required parameter externalID was null or undefined when calling getPaymentByExternalIDForParty.');
2792
3011
  }
2793
3012
  const xRequestDeadline = requestParameters?.xRequestDeadline;
2794
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2795
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, externalID, 'externalID');
3013
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3014
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'externalID', externalID, QueryParamStyle.Form, false);
2796
3015
  let localVarHeaders = this.defaultHeaders;
2797
3016
  if (xRequestID !== undefined && xRequestID !== null) {
2798
3017
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -2826,12 +3045,12 @@ class PaymentsService extends BaseService {
2826
3045
  const { basePath, withCredentials } = this.configuration;
2827
3046
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2828
3047
  context: localVarHttpContext,
2829
- params: localVarQueryParameters,
3048
+ params: localVarQueryParameters.toHttpParams(),
2830
3049
  responseType: responseType_,
2831
3050
  ...(withCredentials ? { withCredentials } : {}),
2832
3051
  headers: localVarHeaders,
2833
3052
  observe: observe,
2834
- transferCache: localVarTransferCache,
3053
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2835
3054
  reportProgress: reportProgress
2836
3055
  });
2837
3056
  }
@@ -2886,7 +3105,7 @@ class PaymentsService extends BaseService {
2886
3105
  ...(withCredentials ? { withCredentials } : {}),
2887
3106
  headers: localVarHeaders,
2888
3107
  observe: observe,
2889
- transferCache: localVarTransferCache,
3108
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2890
3109
  reportProgress: reportProgress
2891
3110
  });
2892
3111
  }
@@ -2937,7 +3156,7 @@ class PaymentsService extends BaseService {
2937
3156
  ...(withCredentials ? { withCredentials } : {}),
2938
3157
  headers: localVarHeaders,
2939
3158
  observe: observe,
2940
- transferCache: localVarTransferCache,
3159
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2941
3160
  reportProgress: reportProgress
2942
3161
  });
2943
3162
  }
@@ -2951,8 +3170,8 @@ class PaymentsService extends BaseService {
2951
3170
  throw new Error('Required parameter externalID was null or undefined when calling getRefundByExternalID.');
2952
3171
  }
2953
3172
  const xRequestDeadline = requestParameters?.xRequestDeadline;
2954
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
2955
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, externalID, 'externalID');
3173
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3174
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'externalID', externalID, QueryParamStyle.Form, false);
2956
3175
  let localVarHeaders = this.defaultHeaders;
2957
3176
  if (xRequestID !== undefined && xRequestID !== null) {
2958
3177
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -2986,12 +3205,12 @@ class PaymentsService extends BaseService {
2986
3205
  const { basePath, withCredentials } = this.configuration;
2987
3206
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
2988
3207
  context: localVarHttpContext,
2989
- params: localVarQueryParameters,
3208
+ params: localVarQueryParameters.toHttpParams(),
2990
3209
  responseType: responseType_,
2991
3210
  ...(withCredentials ? { withCredentials } : {}),
2992
3211
  headers: localVarHeaders,
2993
3212
  observe: observe,
2994
- transferCache: localVarTransferCache,
3213
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
2995
3214
  reportProgress: reportProgress
2996
3215
  });
2997
3216
  }
@@ -3009,8 +3228,8 @@ class PaymentsService extends BaseService {
3009
3228
  throw new Error('Required parameter externalID was null or undefined when calling getRefundByExternalIDForParty.');
3010
3229
  }
3011
3230
  const xRequestDeadline = requestParameters?.xRequestDeadline;
3012
- let localVarQueryParameters = new HttpParams({ encoder: this.encoder });
3013
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, externalID, 'externalID');
3231
+ let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3232
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'externalID', externalID, QueryParamStyle.Form, false);
3014
3233
  let localVarHeaders = this.defaultHeaders;
3015
3234
  if (xRequestID !== undefined && xRequestID !== null) {
3016
3235
  localVarHeaders = localVarHeaders.set('X-Request-ID', String(xRequestID));
@@ -3044,12 +3263,12 @@ class PaymentsService extends BaseService {
3044
3263
  const { basePath, withCredentials } = this.configuration;
3045
3264
  return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3046
3265
  context: localVarHttpContext,
3047
- params: localVarQueryParameters,
3266
+ params: localVarQueryParameters.toHttpParams(),
3048
3267
  responseType: responseType_,
3049
3268
  ...(withCredentials ? { withCredentials } : {}),
3050
3269
  headers: localVarHeaders,
3051
3270
  observe: observe,
3052
- transferCache: localVarTransferCache,
3271
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3053
3272
  reportProgress: reportProgress
3054
3273
  });
3055
3274
  }
@@ -3108,7 +3327,7 @@ class PaymentsService extends BaseService {
3108
3327
  ...(withCredentials ? { withCredentials } : {}),
3109
3328
  headers: localVarHeaders,
3110
3329
  observe: observe,
3111
- transferCache: localVarTransferCache,
3330
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3112
3331
  reportProgress: reportProgress
3113
3332
  });
3114
3333
  }
@@ -3163,14 +3382,14 @@ class PaymentsService extends BaseService {
3163
3382
  ...(withCredentials ? { withCredentials } : {}),
3164
3383
  headers: localVarHeaders,
3165
3384
  observe: observe,
3166
- transferCache: localVarTransferCache,
3385
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3167
3386
  reportProgress: reportProgress
3168
3387
  });
3169
3388
  }
3170
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PaymentsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3171
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PaymentsService, providedIn: 'root' });
3389
+ 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 });
3390
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PaymentsService, providedIn: 'root' });
3172
3391
  }
3173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: PaymentsService, decorators: [{
3392
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: PaymentsService, decorators: [{
3174
3393
  type: Injectable,
3175
3394
  args: [{
3176
3395
  providedIn: 'root'
@@ -3251,7 +3470,7 @@ class ShopsService extends BaseService {
3251
3470
  ...(withCredentials ? { withCredentials } : {}),
3252
3471
  headers: localVarHeaders,
3253
3472
  observe: observe,
3254
- transferCache: localVarTransferCache,
3473
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3255
3474
  reportProgress: reportProgress
3256
3475
  });
3257
3476
  }
@@ -3306,7 +3525,7 @@ class ShopsService extends BaseService {
3306
3525
  ...(withCredentials ? { withCredentials } : {}),
3307
3526
  headers: localVarHeaders,
3308
3527
  observe: observe,
3309
- transferCache: localVarTransferCache,
3528
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3310
3529
  reportProgress: reportProgress
3311
3530
  });
3312
3531
  }
@@ -3361,7 +3580,7 @@ class ShopsService extends BaseService {
3361
3580
  ...(withCredentials ? { withCredentials } : {}),
3362
3581
  headers: localVarHeaders,
3363
3582
  observe: observe,
3364
- transferCache: localVarTransferCache,
3583
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3365
3584
  reportProgress: reportProgress
3366
3585
  });
3367
3586
  }
@@ -3412,7 +3631,7 @@ class ShopsService extends BaseService {
3412
3631
  ...(withCredentials ? { withCredentials } : {}),
3413
3632
  headers: localVarHeaders,
3414
3633
  observe: observe,
3415
- transferCache: localVarTransferCache,
3634
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3416
3635
  reportProgress: reportProgress
3417
3636
  });
3418
3637
  }
@@ -3467,14 +3686,14 @@ class ShopsService extends BaseService {
3467
3686
  ...(withCredentials ? { withCredentials } : {}),
3468
3687
  headers: localVarHeaders,
3469
3688
  observe: observe,
3470
- transferCache: localVarTransferCache,
3689
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3471
3690
  reportProgress: reportProgress
3472
3691
  });
3473
3692
  }
3474
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ShopsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3475
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ShopsService, providedIn: 'root' });
3693
+ 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 });
3694
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ShopsService, providedIn: 'root' });
3476
3695
  }
3477
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ShopsService, decorators: [{
3696
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ShopsService, decorators: [{
3478
3697
  type: Injectable,
3479
3698
  args: [{
3480
3699
  providedIn: 'root'
@@ -3560,14 +3779,14 @@ class TokensService extends BaseService {
3560
3779
  ...(withCredentials ? { withCredentials } : {}),
3561
3780
  headers: localVarHeaders,
3562
3781
  observe: observe,
3563
- transferCache: localVarTransferCache,
3782
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3564
3783
  reportProgress: reportProgress
3565
3784
  });
3566
3785
  }
3567
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TokensService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3568
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TokensService, providedIn: 'root' });
3786
+ 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 });
3787
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: TokensService, providedIn: 'root' });
3569
3788
  }
3570
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TokensService, decorators: [{
3789
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: TokensService, decorators: [{
3571
3790
  type: Injectable,
3572
3791
  args: [{
3573
3792
  providedIn: 'root'
@@ -3644,7 +3863,7 @@ class TradeBlocsService extends BaseService {
3644
3863
  ...(withCredentials ? { withCredentials } : {}),
3645
3864
  headers: localVarHeaders,
3646
3865
  observe: observe,
3647
- transferCache: localVarTransferCache,
3866
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3648
3867
  reportProgress: reportProgress
3649
3868
  });
3650
3869
  }
@@ -3691,14 +3910,14 @@ class TradeBlocsService extends BaseService {
3691
3910
  ...(withCredentials ? { withCredentials } : {}),
3692
3911
  headers: localVarHeaders,
3693
3912
  observe: observe,
3694
- transferCache: localVarTransferCache,
3913
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3695
3914
  reportProgress: reportProgress
3696
3915
  });
3697
3916
  }
3698
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TradeBlocsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3699
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TradeBlocsService, providedIn: 'root' });
3917
+ 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 });
3918
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: TradeBlocsService, providedIn: 'root' });
3700
3919
  }
3701
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: TradeBlocsService, decorators: [{
3920
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: TradeBlocsService, decorators: [{
3702
3921
  type: Injectable,
3703
3922
  args: [{
3704
3923
  providedIn: 'root'
@@ -3784,7 +4003,7 @@ class WebhooksService extends BaseService {
3784
4003
  ...(withCredentials ? { withCredentials } : {}),
3785
4004
  headers: localVarHeaders,
3786
4005
  observe: observe,
3787
- transferCache: localVarTransferCache,
4006
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3788
4007
  reportProgress: reportProgress
3789
4008
  });
3790
4009
  }
@@ -3835,7 +4054,7 @@ class WebhooksService extends BaseService {
3835
4054
  ...(withCredentials ? { withCredentials } : {}),
3836
4055
  headers: localVarHeaders,
3837
4056
  observe: observe,
3838
- transferCache: localVarTransferCache,
4057
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3839
4058
  reportProgress: reportProgress
3840
4059
  });
3841
4060
  }
@@ -3886,7 +4105,7 @@ class WebhooksService extends BaseService {
3886
4105
  ...(withCredentials ? { withCredentials } : {}),
3887
4106
  headers: localVarHeaders,
3888
4107
  observe: observe,
3889
- transferCache: localVarTransferCache,
4108
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3890
4109
  reportProgress: reportProgress
3891
4110
  });
3892
4111
  }
@@ -3933,7 +4152,7 @@ class WebhooksService extends BaseService {
3933
4152
  ...(withCredentials ? { withCredentials } : {}),
3934
4153
  headers: localVarHeaders,
3935
4154
  observe: observe,
3936
- transferCache: localVarTransferCache,
4155
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3937
4156
  reportProgress: reportProgress
3938
4157
  });
3939
4158
  }
@@ -3984,14 +4203,14 @@ class WebhooksService extends BaseService {
3984
4203
  ...(withCredentials ? { withCredentials } : {}),
3985
4204
  headers: localVarHeaders,
3986
4205
  observe: observe,
3987
- transferCache: localVarTransferCache,
4206
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3988
4207
  reportProgress: reportProgress
3989
4208
  });
3990
4209
  }
3991
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: WebhooksService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3992
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: WebhooksService, providedIn: 'root' });
4210
+ 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 });
4211
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: WebhooksService, providedIn: 'root' });
3993
4212
  }
3994
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: WebhooksService, decorators: [{
4213
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: WebhooksService, decorators: [{
3995
4214
  type: Injectable,
3996
4215
  args: [{
3997
4216
  providedIn: 'root'
@@ -4300,7 +4519,8 @@ var CreateInvoice400Response;
4300
4519
  AllocationNotPermitted: 'allocationNotPermitted',
4301
4520
  InvalidInvoiceCost: 'invalidInvoiceCost',
4302
4521
  InvoiceTermsViolated: 'invoiceTermsViolated',
4303
- AmbiguousPartyId: 'ambiguousPartyID'
4522
+ AmbiguousPartyId: 'ambiguousPartyID',
4523
+ InvalidUrlParams: 'invalidUrlParams'
4304
4524
  };
4305
4525
  })(CreateInvoice400Response || (CreateInvoice400Response = {}));
4306
4526
 
@@ -4327,6 +4547,22 @@ var CreateInvoiceTemplate400Response;
4327
4547
  };
4328
4548
  })(CreateInvoiceTemplate400Response || (CreateInvoiceTemplate400Response = {}));
4329
4549
 
4550
+ /**
4551
+ * Vality Payments API
4552
+ *
4553
+ *
4554
+ *
4555
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4556
+ * https://openapi-generator.tech
4557
+ * Do not edit the class manually.
4558
+ */
4559
+ var CreateInvoiceUrl400Response;
4560
+ (function (CreateInvoiceUrl400Response) {
4561
+ CreateInvoiceUrl400Response.CodeEnum = {
4562
+ InvalidUrlParams: 'invalidUrlParams'
4563
+ };
4564
+ })(CreateInvoiceUrl400Response || (CreateInvoiceUrl400Response = {}));
4565
+
4330
4566
  /**
4331
4567
  * Vality Payments API
4332
4568
  *
@@ -4343,7 +4579,8 @@ var CreateInvoiceWithTemplate400Response;
4343
4579
  InvalidShopStatus: 'invalidShopStatus',
4344
4580
  InvalidRequest: 'invalidRequest',
4345
4581
  InvalidDeadline: 'invalidDeadline',
4346
- InvoiceTermsViolated: 'invoiceTermsViolated'
4582
+ InvoiceTermsViolated: 'invoiceTermsViolated',
4583
+ InvalidUrlParams: 'invalidUrlParams'
4347
4584
  };
4348
4585
  })(CreateInvoiceWithTemplate400Response || (CreateInvoiceWithTemplate400Response = {}));
4349
4586
 
@@ -4665,16 +4902,6 @@ var InvoiceLineTaxVAT;
4665
4902
  };
4666
4903
  })(InvoiceLineTaxVAT || (InvoiceLineTaxVAT = {}));
4667
4904
 
4668
- /**
4669
- * Vality Payments API
4670
- *
4671
- *
4672
- *
4673
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4674
- * https://openapi-generator.tech
4675
- * Do not edit the class manually.
4676
- */
4677
-
4678
4905
  /**
4679
4906
  * Vality Payments API
4680
4907
  *
@@ -4722,6 +4949,26 @@ var InvoiceStatusChanged;
4722
4949
  };
4723
4950
  })(InvoiceStatusChanged || (InvoiceStatusChanged = {}));
4724
4951
 
4952
+ /**
4953
+ * Vality Payments API
4954
+ *
4955
+ *
4956
+ *
4957
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4958
+ * https://openapi-generator.tech
4959
+ * Do not edit the class manually.
4960
+ */
4961
+
4962
+ /**
4963
+ * Vality Payments API
4964
+ *
4965
+ *
4966
+ *
4967
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4968
+ * https://openapi-generator.tech
4969
+ * Do not edit the class manually.
4970
+ */
4971
+
4725
4972
  /**
4726
4973
  * Vality Payments API
4727
4974
  *
@@ -5248,11 +5495,11 @@ class ApiModule {
5248
5495
  'See also https://github.com/angular/angular/issues/20575');
5249
5496
  }
5250
5497
  }
5251
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
5252
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.20", ngImport: i0, type: ApiModule });
5253
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ApiModule });
5498
+ 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 });
5499
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.17", ngImport: i0, type: ApiModule });
5500
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ApiModule });
5254
5501
  }
5255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.20", ngImport: i0, type: ApiModule, decorators: [{
5502
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: ApiModule, decorators: [{
5256
5503
  type: NgModule,
5257
5504
  args: [{
5258
5505
  imports: [],
@@ -5284,5 +5531,5 @@ function provideApi(configOrBasePath) {
5284
5531
  * Generated bundle index. Do not edit.
5285
5532
  */
5286
5533
 
5287
- 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 };
5534
+ export { APIS, AllocationFee, AllocationFeeTarget, AllocationTarget, AllocationTransaction, ApiModule, BASE_PATH, BankCardDetails, BankCardTokenProviderData, BankCardTokenizationMethod, COLLECTION_FORMATS, CancelPayment400Response, CapturePayment400Response, CategoriesService, Chargeback, Configuration, CountriesService, CreateCustomer400Response, CreateInvoice400Response, CreateInvoiceTemplate400Response, CreateInvoiceUrl400Response, 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 };
5288
5535
  //# sourceMappingURL=vality-swag-payments.mjs.map