@lcdp/api-react-rest-client 1.0.0-react-codegen.2753 → 1.1.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 (85) hide show
  1. package/auth/src/runtime.d.ts +3 -1
  2. package/auth/src/runtime.js +13 -3
  3. package/banking-operation/src/runtime.d.ts +3 -1
  4. package/banking-operation/src/runtime.js +13 -3
  5. package/challenge/src/runtime.d.ts +3 -1
  6. package/challenge/src/runtime.js +13 -3
  7. package/configuration/src/runtime.d.ts +3 -1
  8. package/configuration/src/runtime.js +13 -3
  9. package/content/src/runtime.d.ts +3 -1
  10. package/content/src/runtime.js +13 -3
  11. package/factory/src/runtime.d.ts +3 -1
  12. package/factory/src/runtime.js +13 -3
  13. package/favorite/src/runtime.d.ts +3 -1
  14. package/favorite/src/runtime.js +13 -3
  15. package/geo/src/runtime.d.ts +3 -1
  16. package/geo/src/runtime.js +13 -3
  17. package/inventory/src/runtime.d.ts +3 -1
  18. package/inventory/src/runtime.js +13 -3
  19. package/invoice/src/runtime.d.ts +3 -1
  20. package/invoice/src/runtime.js +13 -3
  21. package/laboratory/src/runtime.d.ts +3 -1
  22. package/laboratory/src/runtime.js +13 -3
  23. package/laboratory-store/src/models/ImageVersions.d.ts +5 -5
  24. package/laboratory-store/src/runtime.d.ts +3 -1
  25. package/laboratory-store/src/runtime.js +13 -3
  26. package/laboratory-store-log/src/runtime.d.ts +3 -1
  27. package/laboratory-store-log/src/runtime.js +13 -3
  28. package/lexicon/src/runtime.d.ts +3 -1
  29. package/lexicon/src/runtime.js +13 -3
  30. package/litigation/src/runtime.d.ts +3 -1
  31. package/litigation/src/runtime.js +13 -3
  32. package/magic-cart/src/models/ExpressOrderCreationParameters.d.ts +6 -0
  33. package/magic-cart/src/models/ExpressOrderCreationParameters.js +2 -0
  34. package/magic-cart/src/runtime.d.ts +3 -1
  35. package/magic-cart/src/runtime.js +13 -3
  36. package/mandate/src/runtime.d.ts +3 -1
  37. package/mandate/src/runtime.js +13 -3
  38. package/mangopay-hook/src/runtime.d.ts +3 -1
  39. package/mangopay-hook/src/runtime.js +13 -3
  40. package/message/src/runtime.d.ts +3 -1
  41. package/message/src/runtime.js +13 -3
  42. package/notification/src/runtime.d.ts +3 -1
  43. package/notification/src/runtime.js +13 -3
  44. package/order/src/runtime.d.ts +3 -1
  45. package/order/src/runtime.js +13 -3
  46. package/order-log/src/runtime.d.ts +3 -1
  47. package/order-log/src/runtime.js +13 -3
  48. package/outrage-message/src/runtime.d.ts +3 -1
  49. package/outrage-message/src/runtime.js +13 -3
  50. package/package.json +7 -1
  51. package/product/src/models/ImageVersions.d.ts +5 -5
  52. package/product/src/runtime.d.ts +3 -1
  53. package/product/src/runtime.js +13 -3
  54. package/pub/src/models/ImageVersions.d.ts +5 -5
  55. package/pub/src/models/PubLocationEnum.d.ts +3 -1
  56. package/pub/src/models/PubLocationEnum.js +2 -0
  57. package/pub/src/runtime.d.ts +3 -1
  58. package/pub/src/runtime.js +13 -3
  59. package/recommendation/src/runtime.d.ts +3 -1
  60. package/recommendation/src/runtime.js +13 -3
  61. package/rfx/src/runtime.d.ts +3 -1
  62. package/rfx/src/runtime.js +13 -3
  63. package/sale-offer/src/models/ImageVersions.d.ts +5 -5
  64. package/sale-offer/src/runtime.d.ts +3 -1
  65. package/sale-offer/src/runtime.js +13 -3
  66. package/sale-offer-log/src/runtime.d.ts +3 -1
  67. package/sale-offer-log/src/runtime.js +13 -3
  68. package/servant/src/runtime.d.ts +3 -1
  69. package/servant/src/runtime.js +13 -3
  70. package/shipment/src/runtime.d.ts +3 -1
  71. package/shipment/src/runtime.js +13 -3
  72. package/shopping-cart/src/runtime.d.ts +3 -1
  73. package/shopping-cart/src/runtime.js +13 -3
  74. package/statistic/src/runtime.d.ts +3 -1
  75. package/statistic/src/runtime.js +13 -3
  76. package/subscription/src/runtime.d.ts +3 -1
  77. package/subscription/src/runtime.js +13 -3
  78. package/thread/src/runtime.d.ts +3 -1
  79. package/thread/src/runtime.js +13 -3
  80. package/ubo/src/runtime.d.ts +3 -1
  81. package/ubo/src/runtime.js +13 -3
  82. package/user/src/runtime.d.ts +3 -1
  83. package/user/src/runtime.js +13 -3
  84. package/wish/src/runtime.d.ts +3 -1
  85. package/wish/src/runtime.js +13 -3
@@ -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 = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
79
+ exports.BASE_PATH = "/api/v1";
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,7 +193,8 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials
196
+ credentials: this.configuration.credentials,
197
+ referrerPolicy: this.configuration.referrerPolicy,
197
198
  };
198
199
  return { url: url, init: init };
199
200
  };
@@ -306,7 +307,16 @@ var Configuration = /** @class */ (function () {
306
307
  });
307
308
  Object.defineProperty(Configuration.prototype, "credentials", {
308
309
  get: function () {
309
- return this.configuration.credentials;
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";
310
320
  },
311
321
  enumerable: false,
312
322
  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: string;
12
+ export declare const BASE_PATH = "/api/v1";
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,6 +52,7 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
+ referrerPolicy?: ReferrerPolicy;
55
56
  }
56
57
  export declare class Configuration {
57
58
  private configuration;
@@ -66,6 +67,7 @@ export declare class Configuration {
66
67
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
67
68
  get headers(): HTTPHeaders | undefined;
68
69
  get credentials(): RequestCredentials | undefined;
70
+ get referrerPolicy(): ReferrerPolicy | undefined;
69
71
  }
70
72
  export declare type Json = any;
71
73
  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 = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
79
+ exports.BASE_PATH = "/api/v1";
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,7 +193,8 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials
196
+ credentials: this.configuration.credentials,
197
+ referrerPolicy: this.configuration.referrerPolicy,
197
198
  };
198
199
  return { url: url, init: init };
199
200
  };
@@ -306,7 +307,16 @@ var Configuration = /** @class */ (function () {
306
307
  });
307
308
  Object.defineProperty(Configuration.prototype, "credentials", {
308
309
  get: function () {
309
- return this.configuration.credentials;
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";
310
320
  },
311
321
  enumerable: false,
312
322
  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: string;
12
+ export declare const BASE_PATH = "/api/v1";
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,6 +52,7 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
+ referrerPolicy?: ReferrerPolicy;
55
56
  }
56
57
  export declare class Configuration {
57
58
  private configuration;
@@ -66,6 +67,7 @@ export declare class Configuration {
66
67
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
67
68
  get headers(): HTTPHeaders | undefined;
68
69
  get credentials(): RequestCredentials | undefined;
70
+ get referrerPolicy(): ReferrerPolicy | undefined;
69
71
  }
70
72
  export declare type Json = any;
71
73
  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 = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
79
+ exports.BASE_PATH = "/api/v1";
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,7 +193,8 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials
196
+ credentials: this.configuration.credentials,
197
+ referrerPolicy: this.configuration.referrerPolicy,
197
198
  };
198
199
  return { url: url, init: init };
199
200
  };
@@ -306,7 +307,16 @@ var Configuration = /** @class */ (function () {
306
307
  });
307
308
  Object.defineProperty(Configuration.prototype, "credentials", {
308
309
  get: function () {
309
- return this.configuration.credentials;
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";
310
320
  },
311
321
  enumerable: false,
312
322
  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: string;
12
+ export declare const BASE_PATH = "/api/v1";
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,6 +52,7 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
+ referrerPolicy?: ReferrerPolicy;
55
56
  }
56
57
  export declare class Configuration {
57
58
  private configuration;
@@ -66,6 +67,7 @@ export declare class Configuration {
66
67
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
67
68
  get headers(): HTTPHeaders | undefined;
68
69
  get credentials(): RequestCredentials | undefined;
70
+ get referrerPolicy(): ReferrerPolicy | undefined;
69
71
  }
70
72
  export declare type Json = any;
71
73
  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 = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
79
+ exports.BASE_PATH = "/api/v1";
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,7 +193,8 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials
196
+ credentials: this.configuration.credentials,
197
+ referrerPolicy: this.configuration.referrerPolicy,
197
198
  };
198
199
  return { url: url, init: init };
199
200
  };
@@ -306,7 +307,16 @@ var Configuration = /** @class */ (function () {
306
307
  });
307
308
  Object.defineProperty(Configuration.prototype, "credentials", {
308
309
  get: function () {
309
- return this.configuration.credentials;
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";
310
320
  },
311
321
  enumerable: false,
312
322
  configurable: true
package/package.json CHANGED
@@ -1,4 +1,10 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "1.0.0-react-codegen.2753"
3
+ "version": "1.1.0",
4
+ "scripts": {
5
+ "build": "tsc"
6
+ },
7
+ "devDependencies": {
8
+ "typescript": ">=3"
9
+ }
4
10
  }
@@ -16,31 +16,31 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URI to S3 file (width 100px, height computed with original image aspect ratio)
19
+ * URI to S3 file (width 128px, 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 350px, height computed with original image aspect ratio)
25
+ * URI to S3 file (width 256px, 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 1024px, height computed with original image aspect ratio)
31
+ * URI to S3 file (width 512px, 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 1920px, height computed with original image aspect ratio)
37
+ * URI to S3 file (width 1024px, 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 3840px, height computed with original image aspect ratio)
43
+ * URI to S3 file (width 2048px, 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: string;
12
+ export declare const BASE_PATH = "/api/v1";
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,6 +52,7 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
+ referrerPolicy?: ReferrerPolicy;
55
56
  }
56
57
  export declare class Configuration {
57
58
  private configuration;
@@ -66,6 +67,7 @@ export declare class Configuration {
66
67
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
67
68
  get headers(): HTTPHeaders | undefined;
68
69
  get credentials(): RequestCredentials | undefined;
70
+ get referrerPolicy(): ReferrerPolicy | undefined;
69
71
  }
70
72
  export declare type Json = any;
71
73
  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 = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
79
+ exports.BASE_PATH = "/api/v1";
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,7 +193,8 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials
196
+ credentials: this.configuration.credentials,
197
+ referrerPolicy: this.configuration.referrerPolicy,
197
198
  };
198
199
  return { url: url, init: init };
199
200
  };
@@ -306,7 +307,16 @@ var Configuration = /** @class */ (function () {
306
307
  });
307
308
  Object.defineProperty(Configuration.prototype, "credentials", {
308
309
  get: function () {
309
- return this.configuration.credentials;
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";
310
320
  },
311
321
  enumerable: false,
312
322
  configurable: true
@@ -16,31 +16,31 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URI to S3 file (width 100px, height computed with original image aspect ratio)
19
+ * URI to S3 file (width 128px, 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 350px, height computed with original image aspect ratio)
25
+ * URI to S3 file (width 256px, 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 1024px, height computed with original image aspect ratio)
31
+ * URI to S3 file (width 512px, 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 1920px, height computed with original image aspect ratio)
37
+ * URI to S3 file (width 1024px, 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 3840px, height computed with original image aspect ratio)
43
+ * URI to S3 file (width 2048px, height computed with original image aspect ratio)
44
44
  * @type {string}
45
45
  * @memberof ImageVersions
46
46
  */
@@ -15,7 +15,9 @@
15
15
  * @enum {string}
16
16
  */
17
17
  export declare enum PubLocationEnum {
18
- DASHBOARD = "DASHBOARD"
18
+ DASHBOARD = "DASHBOARD",
19
+ MAINMENU = "MAINMENU",
20
+ SEARCH = "SEARCH"
19
21
  }
20
22
  export declare function PubLocationEnumFromJSON(json: any): PubLocationEnum;
21
23
  export declare function PubLocationEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): PubLocationEnum;
@@ -22,6 +22,8 @@ exports.PubLocationEnumToJSON = exports.PubLocationEnumFromJSONTyped = exports.P
22
22
  var PubLocationEnum;
23
23
  (function (PubLocationEnum) {
24
24
  PubLocationEnum["DASHBOARD"] = "DASHBOARD";
25
+ PubLocationEnum["MAINMENU"] = "MAINMENU";
26
+ PubLocationEnum["SEARCH"] = "SEARCH";
25
27
  })(PubLocationEnum = exports.PubLocationEnum || (exports.PubLocationEnum = {}));
26
28
  function PubLocationEnumFromJSON(json) {
27
29
  return PubLocationEnumFromJSONTyped(json, false);
@@ -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: string;
12
+ export declare const BASE_PATH = "/api/v1";
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,6 +52,7 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
+ referrerPolicy?: ReferrerPolicy;
55
56
  }
56
57
  export declare class Configuration {
57
58
  private configuration;
@@ -66,6 +67,7 @@ export declare class Configuration {
66
67
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
67
68
  get headers(): HTTPHeaders | undefined;
68
69
  get credentials(): RequestCredentials | undefined;
70
+ get referrerPolicy(): ReferrerPolicy | undefined;
69
71
  }
70
72
  export declare type Json = any;
71
73
  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 = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
79
+ exports.BASE_PATH = "/api/v1";
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,7 +193,8 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials
196
+ credentials: this.configuration.credentials,
197
+ referrerPolicy: this.configuration.referrerPolicy,
197
198
  };
198
199
  return { url: url, init: init };
199
200
  };
@@ -306,7 +307,16 @@ var Configuration = /** @class */ (function () {
306
307
  });
307
308
  Object.defineProperty(Configuration.prototype, "credentials", {
308
309
  get: function () {
309
- return this.configuration.credentials;
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";
310
320
  },
311
321
  enumerable: false,
312
322
  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: string;
12
+ export declare const BASE_PATH = "/api/v1";
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,6 +52,7 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
+ referrerPolicy?: ReferrerPolicy;
55
56
  }
56
57
  export declare class Configuration {
57
58
  private configuration;
@@ -66,6 +67,7 @@ export declare class Configuration {
66
67
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
67
68
  get headers(): HTTPHeaders | undefined;
68
69
  get credentials(): RequestCredentials | undefined;
70
+ get referrerPolicy(): ReferrerPolicy | undefined;
69
71
  }
70
72
  export declare type Json = any;
71
73
  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 = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
79
+ exports.BASE_PATH = "/api/v1";
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,7 +193,8 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials
196
+ credentials: this.configuration.credentials,
197
+ referrerPolicy: this.configuration.referrerPolicy,
197
198
  };
198
199
  return { url: url, init: init };
199
200
  };
@@ -306,7 +307,16 @@ var Configuration = /** @class */ (function () {
306
307
  });
307
308
  Object.defineProperty(Configuration.prototype, "credentials", {
308
309
  get: function () {
309
- return this.configuration.credentials;
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";
310
320
  },
311
321
  enumerable: false,
312
322
  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: string;
12
+ export declare const BASE_PATH = "/api/v1";
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,6 +52,7 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
+ referrerPolicy?: ReferrerPolicy;
55
56
  }
56
57
  export declare class Configuration {
57
58
  private configuration;
@@ -66,6 +67,7 @@ export declare class Configuration {
66
67
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
67
68
  get headers(): HTTPHeaders | undefined;
68
69
  get credentials(): RequestCredentials | undefined;
70
+ get referrerPolicy(): ReferrerPolicy | undefined;
69
71
  }
70
72
  export declare type Json = any;
71
73
  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 = "https://www.lcdp.ovh/api/v1".replace(/\/+$/, "");
79
+ exports.BASE_PATH = "/api/v1";
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,7 +193,8 @@ var BaseAPI = /** @class */ (function () {
193
193
  method: context.method,
194
194
  headers: headers,
195
195
  body: body,
196
- credentials: this.configuration.credentials
196
+ credentials: this.configuration.credentials,
197
+ referrerPolicy: this.configuration.referrerPolicy,
197
198
  };
198
199
  return { url: url, init: init };
199
200
  };
@@ -306,7 +307,16 @@ var Configuration = /** @class */ (function () {
306
307
  });
307
308
  Object.defineProperty(Configuration.prototype, "credentials", {
308
309
  get: function () {
309
- return this.configuration.credentials;
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";
310
320
  },
311
321
  enumerable: false,
312
322
  configurable: true
@@ -16,31 +16,31 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URI to S3 file (width 100px, height computed with original image aspect ratio)
19
+ * URI to S3 file (width 128px, 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 350px, height computed with original image aspect ratio)
25
+ * URI to S3 file (width 256px, 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 1024px, height computed with original image aspect ratio)
31
+ * URI to S3 file (width 512px, 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 1920px, height computed with original image aspect ratio)
37
+ * URI to S3 file (width 1024px, 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 3840px, height computed with original image aspect ratio)
43
+ * URI to S3 file (width 2048px, 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: string;
12
+ export declare const BASE_PATH = "/api/v1";
13
13
  /**
14
14
  * This is the base class for all generated API classes.
15
15
  */
@@ -52,6 +52,7 @@ export interface ConfigurationParameters {
52
52
  accessToken?: string | ((name?: string, scopes?: string[]) => string);
53
53
  headers?: HTTPHeaders;
54
54
  credentials?: RequestCredentials;
55
+ referrerPolicy?: ReferrerPolicy;
55
56
  }
56
57
  export declare class Configuration {
57
58
  private configuration;
@@ -66,6 +67,7 @@ export declare class Configuration {
66
67
  get accessToken(): ((name: string, scopes?: string[]) => string) | undefined;
67
68
  get headers(): HTTPHeaders | undefined;
68
69
  get credentials(): RequestCredentials | undefined;
70
+ get referrerPolicy(): ReferrerPolicy | undefined;
69
71
  }
70
72
  export declare type Json = any;
71
73
  export declare type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';