@lcdp/api-react-rest-client 0.1.1-develop.1 → 1.0.0-react-codegen.2753

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 (87) hide show
  1. package/auth/src/runtime.d.ts +1 -3
  2. package/auth/src/runtime.js +3 -13
  3. package/banking-operation/src/runtime.d.ts +1 -3
  4. package/banking-operation/src/runtime.js +3 -13
  5. package/challenge/src/runtime.d.ts +1 -3
  6. package/challenge/src/runtime.js +3 -13
  7. package/configuration/src/runtime.d.ts +1 -3
  8. package/configuration/src/runtime.js +3 -13
  9. package/content/src/runtime.d.ts +1 -3
  10. package/content/src/runtime.js +3 -13
  11. package/factory/src/runtime.d.ts +1 -3
  12. package/factory/src/runtime.js +3 -13
  13. package/favorite/src/runtime.d.ts +1 -3
  14. package/favorite/src/runtime.js +3 -13
  15. package/geo/src/runtime.d.ts +1 -3
  16. package/geo/src/runtime.js +3 -13
  17. package/inventory/src/runtime.d.ts +1 -3
  18. package/inventory/src/runtime.js +3 -13
  19. package/invoice/src/models/InvoiceType.d.ts +0 -1
  20. package/invoice/src/models/InvoiceType.js +0 -1
  21. package/invoice/src/runtime.d.ts +1 -3
  22. package/invoice/src/runtime.js +3 -13
  23. package/laboratory/src/runtime.d.ts +1 -3
  24. package/laboratory/src/runtime.js +3 -13
  25. package/laboratory-store/src/models/ImageVersions.d.ts +5 -5
  26. package/laboratory-store/src/runtime.d.ts +1 -3
  27. package/laboratory-store/src/runtime.js +3 -13
  28. package/laboratory-store-log/src/runtime.d.ts +1 -3
  29. package/laboratory-store-log/src/runtime.js +3 -13
  30. package/lexicon/src/runtime.d.ts +1 -3
  31. package/lexicon/src/runtime.js +3 -13
  32. package/litigation/src/runtime.d.ts +1 -3
  33. package/litigation/src/runtime.js +3 -13
  34. package/magic-cart/src/models/ExpressOrderCreationParameters.d.ts +0 -6
  35. package/magic-cart/src/models/ExpressOrderCreationParameters.js +0 -2
  36. package/magic-cart/src/runtime.d.ts +1 -3
  37. package/magic-cart/src/runtime.js +3 -13
  38. package/mandate/src/runtime.d.ts +1 -3
  39. package/mandate/src/runtime.js +3 -13
  40. package/mangopay-hook/src/runtime.d.ts +1 -3
  41. package/mangopay-hook/src/runtime.js +3 -13
  42. package/message/src/runtime.d.ts +1 -3
  43. package/message/src/runtime.js +3 -13
  44. package/notification/src/runtime.d.ts +1 -3
  45. package/notification/src/runtime.js +3 -13
  46. package/order/src/runtime.d.ts +1 -3
  47. package/order/src/runtime.js +3 -13
  48. package/order-log/src/runtime.d.ts +1 -3
  49. package/order-log/src/runtime.js +3 -13
  50. package/outrage-message/src/runtime.d.ts +1 -3
  51. package/outrage-message/src/runtime.js +3 -13
  52. package/package.json +1 -7
  53. package/product/src/models/ImageVersions.d.ts +5 -5
  54. package/product/src/runtime.d.ts +1 -3
  55. package/product/src/runtime.js +3 -13
  56. package/pub/src/models/ImageVersions.d.ts +5 -5
  57. package/pub/src/models/PubLocationEnum.d.ts +1 -3
  58. package/pub/src/models/PubLocationEnum.js +0 -2
  59. package/pub/src/runtime.d.ts +1 -3
  60. package/pub/src/runtime.js +3 -13
  61. package/recommendation/src/runtime.d.ts +1 -3
  62. package/recommendation/src/runtime.js +3 -13
  63. package/rfx/src/runtime.d.ts +1 -3
  64. package/rfx/src/runtime.js +3 -13
  65. package/sale-offer/src/models/ImageVersions.d.ts +5 -5
  66. package/sale-offer/src/runtime.d.ts +1 -3
  67. package/sale-offer/src/runtime.js +3 -13
  68. package/sale-offer-log/src/runtime.d.ts +1 -3
  69. package/sale-offer-log/src/runtime.js +3 -13
  70. package/servant/src/runtime.d.ts +1 -3
  71. package/servant/src/runtime.js +3 -13
  72. package/shipment/src/runtime.d.ts +1 -3
  73. package/shipment/src/runtime.js +3 -13
  74. package/shopping-cart/src/runtime.d.ts +1 -3
  75. package/shopping-cart/src/runtime.js +3 -13
  76. package/statistic/src/runtime.d.ts +1 -3
  77. package/statistic/src/runtime.js +3 -13
  78. package/subscription/src/runtime.d.ts +1 -3
  79. package/subscription/src/runtime.js +3 -13
  80. package/thread/src/runtime.d.ts +1 -3
  81. package/thread/src/runtime.js +3 -13
  82. package/ubo/src/runtime.d.ts +1 -3
  83. package/ubo/src/runtime.js +3 -13
  84. package/user/src/runtime.d.ts +1 -3
  85. package/user/src/runtime.js +3 -13
  86. package/wish/src/runtime.d.ts +1 -3
  87. package/wish/src/runtime.js +3 -13
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare const BASE_PATH = "/api/v1";
12
+ export declare const BASE_PATH: string;
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,7 +52,6 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
- referrerPolicy?: ReferrerPolicy;
56
55
  }
57
56
  export declare class Configuration {
58
57
  private configuration;
@@ -67,7 +66,6 @@ export declare class Configuration {
67
66
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
68
67
  get headers(): HTTPHeaders | undefined;
69
68
  get credentials(): RequestCredentials | undefined;
70
- get referrerPolicy(): ReferrerPolicy | undefined;
71
69
  }
72
70
  export declare type Json = any;
73
71
  export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
@@ -76,7 +76,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
76
76
  };
77
77
  Object.defineProperty(exports, "__esModule", { value: true });
78
78
  exports.TextApiResponse = exports.BlobWithMetaApiResponse = exports.instanceOfBlobWithMeta = exports.VoidApiResponse = exports.JSONApiResponse = exports.toDateISOString = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.Configuration = exports.COLLECTION_FORMATS = exports.RequiredError = exports.BaseAPI = exports.BASE_PATH = void 0;
79
- exports.BASE_PATH = "/api/v1";
79
+ exports.BASE_PATH = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
80
80
  var isBlob = function (value) { return typeof Blob !== 'undefined' && value instanceof Blob; };
81
81
  /**
82
82
  * This is the base class for all generated API classes.
@@ -193,8 +193,7 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials,
197
- referrerPolicy: this.configuration.referrerPolicy,
196
+ credentials: this.configuration.credentials
198
197
  };
199
198
  return { url: url, init: init };
200
199
  };
@@ -307,16 +306,7 @@ var Configuration = /** @class */ (function () {
307
306
  });
308
307
  Object.defineProperty(Configuration.prototype, "credentials", {
309
308
  get: function () {
310
- var _a;
311
- return (_a = this.configuration.credentials) !== null && _a !== void 0 ? _a : "omit";
312
- },
313
- enumerable: false,
314
- configurable: true
315
- });
316
- Object.defineProperty(Configuration.prototype, "referrerPolicy", {
317
- get: function () {
318
- var _a;
319
- return (_a = this.configuration.referrerPolicy) !== null && _a !== void 0 ? _a : "origin";
309
+ return this.configuration.credentials;
320
310
  },
321
311
  enumerable: false,
322
312
  configurable: true
@@ -16,31 +16,31 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URI to S3 file (width 128px, height computed with original image aspect ratio)
19
+ * URI to S3 file (width 100px, height computed with original image aspect ratio)
20
20
  * @type {string}
21
21
  * @memberof ImageVersions
22
22
  */
23
23
  xsmall?: string;
24
24
  /**
25
- * URI to S3 file (width 256px, height computed with original image aspect ratio)
25
+ * URI to S3 file (width 350px, height computed with original image aspect ratio)
26
26
  * @type {string}
27
27
  * @memberof ImageVersions
28
28
  */
29
29
  small?: string;
30
30
  /**
31
- * URI to S3 file (width 512px, height computed with original image aspect ratio)
31
+ * URI to S3 file (width 1024px, height computed with original image aspect ratio)
32
32
  * @type {string}
33
33
  * @memberof ImageVersions
34
34
  */
35
35
  medium?: string;
36
36
  /**
37
- * URI to S3 file (width 1024px, height computed with original image aspect ratio)
37
+ * URI to S3 file (width 1920px, height computed with original image aspect ratio)
38
38
  * @type {string}
39
39
  * @memberof ImageVersions
40
40
  */
41
41
  large?: string;
42
42
  /**
43
- * URI to S3 file (width 2048px, height computed with original image aspect ratio)
43
+ * URI to S3 file (width 3840px, height computed with original image aspect ratio)
44
44
  * @type {string}
45
45
  * @memberof ImageVersions
46
46
  */
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare const BASE_PATH = "/api/v1";
12
+ export declare const BASE_PATH: string;
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,7 +52,6 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
- referrerPolicy?: ReferrerPolicy;
56
55
  }
57
56
  export declare class Configuration {
58
57
  private configuration;
@@ -67,7 +66,6 @@ export declare class Configuration {
67
66
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
68
67
  get headers(): HTTPHeaders | undefined;
69
68
  get credentials(): RequestCredentials | undefined;
70
- get referrerPolicy(): ReferrerPolicy | undefined;
71
69
  }
72
70
  export declare type Json = any;
73
71
  export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
@@ -76,7 +76,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
76
76
  };
77
77
  Object.defineProperty(exports, "__esModule", { value: true });
78
78
  exports.TextApiResponse = exports.BlobWithMetaApiResponse = exports.instanceOfBlobWithMeta = exports.VoidApiResponse = exports.JSONApiResponse = exports.toDateISOString = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.Configuration = exports.COLLECTION_FORMATS = exports.RequiredError = exports.BaseAPI = exports.BASE_PATH = void 0;
79
- exports.BASE_PATH = "/api/v1";
79
+ exports.BASE_PATH = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
80
80
  var isBlob = function (value) { return typeof Blob !== 'undefined' && value instanceof Blob; };
81
81
  /**
82
82
  * This is the base class for all generated API classes.
@@ -193,8 +193,7 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials,
197
- referrerPolicy: this.configuration.referrerPolicy,
196
+ credentials: this.configuration.credentials
198
197
  };
199
198
  return { url: url, init: init };
200
199
  };
@@ -307,16 +306,7 @@ var Configuration = /** @class */ (function () {
307
306
  });
308
307
  Object.defineProperty(Configuration.prototype, "credentials", {
309
308
  get: function () {
310
- var _a;
311
- return (_a = this.configuration.credentials) !== null && _a !== void 0 ? _a : "omit";
312
- },
313
- enumerable: false,
314
- configurable: true
315
- });
316
- Object.defineProperty(Configuration.prototype, "referrerPolicy", {
317
- get: function () {
318
- var _a;
319
- return (_a = this.configuration.referrerPolicy) !== null && _a !== void 0 ? _a : "origin";
309
+ return this.configuration.credentials;
320
310
  },
321
311
  enumerable: false,
322
312
  configurable: true
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare const BASE_PATH = "/api/v1";
12
+ export declare const BASE_PATH: string;
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,7 +52,6 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
- referrerPolicy?: ReferrerPolicy;
56
55
  }
57
56
  export declare class Configuration {
58
57
  private configuration;
@@ -67,7 +66,6 @@ export declare class Configuration {
67
66
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
68
67
  get headers(): HTTPHeaders | undefined;
69
68
  get credentials(): RequestCredentials | undefined;
70
- get referrerPolicy(): ReferrerPolicy | undefined;
71
69
  }
72
70
  export declare type Json = any;
73
71
  export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
@@ -76,7 +76,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
76
76
  };
77
77
  Object.defineProperty(exports, "__esModule", { value: true });
78
78
  exports.TextApiResponse = exports.BlobWithMetaApiResponse = exports.instanceOfBlobWithMeta = exports.VoidApiResponse = exports.JSONApiResponse = exports.toDateISOString = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.Configuration = exports.COLLECTION_FORMATS = exports.RequiredError = exports.BaseAPI = exports.BASE_PATH = void 0;
79
- exports.BASE_PATH = "/api/v1";
79
+ exports.BASE_PATH = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
80
80
  var isBlob = function (value) { return typeof Blob !== 'undefined' && value instanceof Blob; };
81
81
  /**
82
82
  * This is the base class for all generated API classes.
@@ -193,8 +193,7 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials,
197
- referrerPolicy: this.configuration.referrerPolicy,
196
+ credentials: this.configuration.credentials
198
197
  };
199
198
  return { url: url, init: init };
200
199
  };
@@ -307,16 +306,7 @@ var Configuration = /** @class */ (function () {
307
306
  });
308
307
  Object.defineProperty(Configuration.prototype, "credentials", {
309
308
  get: function () {
310
- var _a;
311
- return (_a = this.configuration.credentials) !== null && _a !== void 0 ? _a : "omit";
312
- },
313
- enumerable: false,
314
- configurable: true
315
- });
316
- Object.defineProperty(Configuration.prototype, "referrerPolicy", {
317
- get: function () {
318
- var _a;
319
- return (_a = this.configuration.referrerPolicy) !== null && _a !== void 0 ? _a : "origin";
309
+ return this.configuration.credentials;
320
310
  },
321
311
  enumerable: false,
322
312
  configurable: true
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare const BASE_PATH = "/api/v1";
12
+ export declare const BASE_PATH: string;
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,7 +52,6 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
- referrerPolicy?: ReferrerPolicy;
56
55
  }
57
56
  export declare class Configuration {
58
57
  private configuration;
@@ -67,7 +66,6 @@ export declare class Configuration {
67
66
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
68
67
  get headers(): HTTPHeaders | undefined;
69
68
  get credentials(): RequestCredentials | undefined;
70
- get referrerPolicy(): ReferrerPolicy | undefined;
71
69
  }
72
70
  export declare type Json = any;
73
71
  export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
@@ -76,7 +76,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
76
76
  };
77
77
  Object.defineProperty(exports, "__esModule", { value: true });
78
78
  exports.TextApiResponse = exports.BlobWithMetaApiResponse = exports.instanceOfBlobWithMeta = exports.VoidApiResponse = exports.JSONApiResponse = exports.toDateISOString = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.Configuration = exports.COLLECTION_FORMATS = exports.RequiredError = exports.BaseAPI = exports.BASE_PATH = void 0;
79
- exports.BASE_PATH = "/api/v1";
79
+ exports.BASE_PATH = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
80
80
  var isBlob = function (value) { return typeof Blob !== 'undefined' && value instanceof Blob; };
81
81
  /**
82
82
  * This is the base class for all generated API classes.
@@ -193,8 +193,7 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials,
197
- referrerPolicy: this.configuration.referrerPolicy,
196
+ credentials: this.configuration.credentials
198
197
  };
199
198
  return { url: url, init: init };
200
199
  };
@@ -307,16 +306,7 @@ var Configuration = /** @class */ (function () {
307
306
  });
308
307
  Object.defineProperty(Configuration.prototype, "credentials", {
309
308
  get: function () {
310
- var _a;
311
- return (_a = this.configuration.credentials) !== null && _a !== void 0 ? _a : "omit";
312
- },
313
- enumerable: false,
314
- configurable: true
315
- });
316
- Object.defineProperty(Configuration.prototype, "referrerPolicy", {
317
- get: function () {
318
- var _a;
319
- return (_a = this.configuration.referrerPolicy) !== null && _a !== void 0 ? _a : "origin";
309
+ return this.configuration.credentials;
320
310
  },
321
311
  enumerable: false,
322
312
  configurable: true
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare const BASE_PATH = "/api/v1";
12
+ export declare const BASE_PATH: string;
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,7 +52,6 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
- referrerPolicy?: ReferrerPolicy;
56
55
  }
57
56
  export declare class Configuration {
58
57
  private configuration;
@@ -67,7 +66,6 @@ export declare class Configuration {
67
66
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
68
67
  get headers(): HTTPHeaders | undefined;
69
68
  get credentials(): RequestCredentials | undefined;
70
- get referrerPolicy(): ReferrerPolicy | undefined;
71
69
  }
72
70
  export declare type Json = any;
73
71
  export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
@@ -76,7 +76,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
76
76
  };
77
77
  Object.defineProperty(exports, "__esModule", { value: true });
78
78
  exports.TextApiResponse = exports.BlobWithMetaApiResponse = exports.instanceOfBlobWithMeta = exports.VoidApiResponse = exports.JSONApiResponse = exports.toDateISOString = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.Configuration = exports.COLLECTION_FORMATS = exports.RequiredError = exports.BaseAPI = exports.BASE_PATH = void 0;
79
- exports.BASE_PATH = "/api/v1";
79
+ exports.BASE_PATH = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
80
80
  var isBlob = function (value) { return typeof Blob !== 'undefined' && value instanceof Blob; };
81
81
  /**
82
82
  * This is the base class for all generated API classes.
@@ -193,8 +193,7 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials,
197
- referrerPolicy: this.configuration.referrerPolicy,
196
+ credentials: this.configuration.credentials
198
197
  };
199
198
  return { url: url, init: init };
200
199
  };
@@ -307,16 +306,7 @@ var Configuration = /** @class */ (function () {
307
306
  });
308
307
  Object.defineProperty(Configuration.prototype, "credentials", {
309
308
  get: function () {
310
- var _a;
311
- return (_a = this.configuration.credentials) !== null && _a !== void 0 ? _a : "omit";
312
- },
313
- enumerable: false,
314
- configurable: true
315
- });
316
- Object.defineProperty(Configuration.prototype, "referrerPolicy", {
317
- get: function () {
318
- var _a;
319
- return (_a = this.configuration.referrerPolicy) !== null && _a !== void 0 ? _a : "origin";
309
+ return this.configuration.credentials;
320
310
  },
321
311
  enumerable: false,
322
312
  configurable: true
@@ -16,12 +16,6 @@ import { ExpressOrderNeed } from './ExpressOrderNeed';
16
16
  * @interface ExpressOrderCreationParameters
17
17
  */
18
18
  export interface ExpressOrderCreationParameters {
19
- /**
20
- * User Id to do the request for
21
- * @type {number}
22
- * @memberof ExpressOrderCreationParameters
23
- */
24
- buyerId: number;
25
19
  /**
26
20
  * Products needed by the client
27
21
  * @type {Array<ExpressOrderNeed>}
@@ -25,7 +25,6 @@ function ExpressOrderCreationParametersFromJSONTyped(json, ignoreDiscriminator)
25
25
  return json;
26
26
  }
27
27
  return {
28
- 'buyerId': json['buyerId'],
29
28
  'needs': !(0, runtime_1.exists)(json, 'needs') ? undefined : (json['needs'].map(ExpressOrderNeed_1.ExpressOrderNeedFromJSON)),
30
29
  };
31
30
  }
@@ -38,7 +37,6 @@ function ExpressOrderCreationParametersToJSON(value) {
38
37
  return null;
39
38
  }
40
39
  return {
41
- 'buyerId': value.buyerId,
42
40
  'needs': value.needs === undefined ? undefined : (value.needs.map(ExpressOrderNeed_1.ExpressOrderNeedToJSON)),
43
41
  };
44
42
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare const BASE_PATH = "/api/v1";
12
+ export declare const BASE_PATH: string;
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,7 +52,6 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
- referrerPolicy?: ReferrerPolicy;
56
55
  }
57
56
  export declare class Configuration {
58
57
  private configuration;
@@ -67,7 +66,6 @@ export declare class Configuration {
67
66
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
68
67
  get headers(): HTTPHeaders | undefined;
69
68
  get credentials(): RequestCredentials | undefined;
70
- get referrerPolicy(): ReferrerPolicy | undefined;
71
69
  }
72
70
  export declare type Json = any;
73
71
  export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
@@ -76,7 +76,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
76
76
  };
77
77
  Object.defineProperty(exports, "__esModule", { value: true });
78
78
  exports.TextApiResponse = exports.BlobWithMetaApiResponse = exports.instanceOfBlobWithMeta = exports.VoidApiResponse = exports.JSONApiResponse = exports.toDateISOString = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.Configuration = exports.COLLECTION_FORMATS = exports.RequiredError = exports.BaseAPI = exports.BASE_PATH = void 0;
79
- exports.BASE_PATH = "/api/v1";
79
+ exports.BASE_PATH = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
80
80
  var isBlob = function (value) { return typeof Blob !== 'undefined' && value instanceof Blob; };
81
81
  /**
82
82
  * This is the base class for all generated API classes.
@@ -193,8 +193,7 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials,
197
- referrerPolicy: this.configuration.referrerPolicy,
196
+ credentials: this.configuration.credentials
198
197
  };
199
198
  return { url: url, init: init };
200
199
  };
@@ -307,16 +306,7 @@ var Configuration = /** @class */ (function () {
307
306
  });
308
307
  Object.defineProperty(Configuration.prototype, "credentials", {
309
308
  get: function () {
310
- var _a;
311
- return (_a = this.configuration.credentials) !== null && _a !== void 0 ? _a : "omit";
312
- },
313
- enumerable: false,
314
- configurable: true
315
- });
316
- Object.defineProperty(Configuration.prototype, "referrerPolicy", {
317
- get: function () {
318
- var _a;
319
- return (_a = this.configuration.referrerPolicy) !== null && _a !== void 0 ? _a : "origin";
309
+ return this.configuration.credentials;
320
310
  },
321
311
  enumerable: false,
322
312
  configurable: true
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare const BASE_PATH = "/api/v1";
12
+ export declare const BASE_PATH: string;
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,7 +52,6 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
- referrerPolicy?: ReferrerPolicy;
56
55
  }
57
56
  export declare class Configuration {
58
57
  private configuration;
@@ -67,7 +66,6 @@ export declare class Configuration {
67
66
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
68
67
  get headers(): HTTPHeaders | undefined;
69
68
  get credentials(): RequestCredentials | undefined;
70
- get referrerPolicy(): ReferrerPolicy | undefined;
71
69
  }
72
70
  export declare type Json = any;
73
71
  export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
@@ -76,7 +76,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
76
76
  };
77
77
  Object.defineProperty(exports, "__esModule", { value: true });
78
78
  exports.TextApiResponse = exports.BlobWithMetaApiResponse = exports.instanceOfBlobWithMeta = exports.VoidApiResponse = exports.JSONApiResponse = exports.toDateISOString = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.Configuration = exports.COLLECTION_FORMATS = exports.RequiredError = exports.BaseAPI = exports.BASE_PATH = void 0;
79
- exports.BASE_PATH = "/api/v1";
79
+ exports.BASE_PATH = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
80
80
  var isBlob = function (value) { return typeof Blob !== 'undefined' && value instanceof Blob; };
81
81
  /**
82
82
  * This is the base class for all generated API classes.
@@ -193,8 +193,7 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials,
197
- referrerPolicy: this.configuration.referrerPolicy,
196
+ credentials: this.configuration.credentials
198
197
  };
199
198
  return { url: url, init: init };
200
199
  };
@@ -307,16 +306,7 @@ var Configuration = /** @class */ (function () {
307
306
  });
308
307
  Object.defineProperty(Configuration.prototype, "credentials", {
309
308
  get: function () {
310
- var _a;
311
- return (_a = this.configuration.credentials) !== null && _a !== void 0 ? _a : "omit";
312
- },
313
- enumerable: false,
314
- configurable: true
315
- });
316
- Object.defineProperty(Configuration.prototype, "referrerPolicy", {
317
- get: function () {
318
- var _a;
319
- return (_a = this.configuration.referrerPolicy) !== null && _a !== void 0 ? _a : "origin";
309
+ return this.configuration.credentials;
320
310
  },
321
311
  enumerable: false,
322
312
  configurable: true
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare const BASE_PATH = "/api/v1";
12
+ export declare const BASE_PATH: string;
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,7 +52,6 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
- referrerPolicy?: ReferrerPolicy;
56
55
  }
57
56
  export declare class Configuration {
58
57
  private configuration;
@@ -67,7 +66,6 @@ export declare class Configuration {
67
66
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
68
67
  get headers(): HTTPHeaders | undefined;
69
68
  get credentials(): RequestCredentials | undefined;
70
- get referrerPolicy(): ReferrerPolicy | undefined;
71
69
  }
72
70
  export declare type Json = any;
73
71
  export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
@@ -76,7 +76,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
76
76
  };
77
77
  Object.defineProperty(exports, "__esModule", { value: true });
78
78
  exports.TextApiResponse = exports.BlobWithMetaApiResponse = exports.instanceOfBlobWithMeta = exports.VoidApiResponse = exports.JSONApiResponse = exports.toDateISOString = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.Configuration = exports.COLLECTION_FORMATS = exports.RequiredError = exports.BaseAPI = exports.BASE_PATH = void 0;
79
- exports.BASE_PATH = "/api/v1";
79
+ exports.BASE_PATH = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
80
80
  var isBlob = function (value) { return typeof Blob !== 'undefined' && value instanceof Blob; };
81
81
  /**
82
82
  * This is the base class for all generated API classes.
@@ -193,8 +193,7 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials,
197
- referrerPolicy: this.configuration.referrerPolicy,
196
+ credentials: this.configuration.credentials
198
197
  };
199
198
  return { url: url, init: init };
200
199
  };
@@ -307,16 +306,7 @@ var Configuration = /** @class */ (function () {
307
306
  });
308
307
  Object.defineProperty(Configuration.prototype, "credentials", {
309
308
  get: function () {
310
- var _a;
311
- return (_a = this.configuration.credentials) !== null && _a !== void 0 ? _a : "omit";
312
- },
313
- enumerable: false,
314
- configurable: true
315
- });
316
- Object.defineProperty(Configuration.prototype, "referrerPolicy", {
317
- get: function () {
318
- var _a;
319
- return (_a = this.configuration.referrerPolicy) !== null && _a !== void 0 ? _a : "origin";
309
+ return this.configuration.credentials;
320
310
  },
321
311
  enumerable: false,
322
312
  configurable: true
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare const BASE_PATH = "/api/v1";
12
+ export declare const BASE_PATH: string;
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,7 +52,6 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
- referrerPolicy?: ReferrerPolicy;
56
55
  }
57
56
  export declare class Configuration {
58
57
  private configuration;
@@ -67,7 +66,6 @@ export declare class Configuration {
67
66
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
68
67
  get headers(): HTTPHeaders | undefined;
69
68
  get credentials(): RequestCredentials | undefined;
70
- get referrerPolicy(): ReferrerPolicy | undefined;
71
69
  }
72
70
  export declare type Json = any;
73
71
  export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
@@ -76,7 +76,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
76
76
  };
77
77
  Object.defineProperty(exports, "__esModule", { value: true });
78
78
  exports.TextApiResponse = exports.BlobWithMetaApiResponse = exports.instanceOfBlobWithMeta = exports.VoidApiResponse = exports.JSONApiResponse = exports.toDateISOString = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.Configuration = exports.COLLECTION_FORMATS = exports.RequiredError = exports.BaseAPI = exports.BASE_PATH = void 0;
79
- exports.BASE_PATH = "/api/v1";
79
+ exports.BASE_PATH = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
80
80
  var isBlob = function (value) { return typeof Blob !== 'undefined' && value instanceof Blob; };
81
81
  /**
82
82
  * This is the base class for all generated API classes.
@@ -193,8 +193,7 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials,
197
- referrerPolicy: this.configuration.referrerPolicy,
196
+ credentials: this.configuration.credentials
198
197
  };
199
198
  return { url: url, init: init };
200
199
  };
@@ -307,16 +306,7 @@ var Configuration = /** @class */ (function () {
307
306
  });
308
307
  Object.defineProperty(Configuration.prototype, "credentials", {
309
308
  get: function () {
310
- var _a;
311
- return (_a = this.configuration.credentials) !== null && _a !== void 0 ? _a : "omit";
312
- },
313
- enumerable: false,
314
- configurable: true
315
- });
316
- Object.defineProperty(Configuration.prototype, "referrerPolicy", {
317
- get: function () {
318
- var _a;
319
- return (_a = this.configuration.referrerPolicy) !== null && _a !== void 0 ? _a : "origin";
309
+ return this.configuration.credentials;
320
310
  },
321
311
  enumerable: false,
322
312
  configurable: true
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export declare const BASE_PATH = "/api/v1";
12
+ export declare const BASE_PATH: string;
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,7 +52,6 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
- referrerPolicy?: ReferrerPolicy;
56
55
  }
57
56
  export declare class Configuration {
58
57
  private configuration;
@@ -67,7 +66,6 @@ export declare class Configuration {
67
66
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
68
67
  get headers(): HTTPHeaders | undefined;
69
68
  get credentials(): RequestCredentials | undefined;
70
- get referrerPolicy(): ReferrerPolicy | undefined;
71
69
  }
72
70
  export declare type Json = any;
73
71
  export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';