@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.
- package/auth/src/runtime.d.ts +3 -1
- package/auth/src/runtime.js +13 -3
- package/banking-operation/src/runtime.d.ts +3 -1
- package/banking-operation/src/runtime.js +13 -3
- package/challenge/src/runtime.d.ts +3 -1
- package/challenge/src/runtime.js +13 -3
- package/configuration/src/runtime.d.ts +3 -1
- package/configuration/src/runtime.js +13 -3
- package/content/src/runtime.d.ts +3 -1
- package/content/src/runtime.js +13 -3
- package/factory/src/runtime.d.ts +3 -1
- package/factory/src/runtime.js +13 -3
- package/favorite/src/runtime.d.ts +3 -1
- package/favorite/src/runtime.js +13 -3
- package/geo/src/runtime.d.ts +3 -1
- package/geo/src/runtime.js +13 -3
- package/inventory/src/runtime.d.ts +3 -1
- package/inventory/src/runtime.js +13 -3
- package/invoice/src/runtime.d.ts +3 -1
- package/invoice/src/runtime.js +13 -3
- package/laboratory/src/runtime.d.ts +3 -1
- package/laboratory/src/runtime.js +13 -3
- package/laboratory-store/src/models/ImageVersions.d.ts +5 -5
- package/laboratory-store/src/runtime.d.ts +3 -1
- package/laboratory-store/src/runtime.js +13 -3
- package/laboratory-store-log/src/runtime.d.ts +3 -1
- package/laboratory-store-log/src/runtime.js +13 -3
- package/lexicon/src/runtime.d.ts +3 -1
- package/lexicon/src/runtime.js +13 -3
- package/litigation/src/runtime.d.ts +3 -1
- package/litigation/src/runtime.js +13 -3
- package/magic-cart/src/models/ExpressOrderCreationParameters.d.ts +6 -0
- package/magic-cart/src/models/ExpressOrderCreationParameters.js +2 -0
- package/magic-cart/src/runtime.d.ts +3 -1
- package/magic-cart/src/runtime.js +13 -3
- package/mandate/src/runtime.d.ts +3 -1
- package/mandate/src/runtime.js +13 -3
- package/mangopay-hook/src/runtime.d.ts +3 -1
- package/mangopay-hook/src/runtime.js +13 -3
- package/message/src/runtime.d.ts +3 -1
- package/message/src/runtime.js +13 -3
- package/notification/src/runtime.d.ts +3 -1
- package/notification/src/runtime.js +13 -3
- package/order/src/runtime.d.ts +3 -1
- package/order/src/runtime.js +13 -3
- package/order-log/src/runtime.d.ts +3 -1
- package/order-log/src/runtime.js +13 -3
- package/outrage-message/src/runtime.d.ts +3 -1
- package/outrage-message/src/runtime.js +13 -3
- package/package.json +7 -1
- package/product/src/models/ImageVersions.d.ts +5 -5
- package/product/src/runtime.d.ts +3 -1
- package/product/src/runtime.js +13 -3
- package/pub/src/models/ImageVersions.d.ts +5 -5
- package/pub/src/models/PubLocationEnum.d.ts +3 -1
- package/pub/src/models/PubLocationEnum.js +2 -0
- package/pub/src/runtime.d.ts +3 -1
- package/pub/src/runtime.js +13 -3
- package/recommendation/src/runtime.d.ts +3 -1
- package/recommendation/src/runtime.js +13 -3
- package/rfx/src/runtime.d.ts +3 -1
- package/rfx/src/runtime.js +13 -3
- package/sale-offer/src/models/ImageVersions.d.ts +5 -5
- package/sale-offer/src/runtime.d.ts +3 -1
- package/sale-offer/src/runtime.js +13 -3
- package/sale-offer-log/src/runtime.d.ts +3 -1
- package/sale-offer-log/src/runtime.js +13 -3
- package/servant/src/runtime.d.ts +3 -1
- package/servant/src/runtime.js +13 -3
- package/shipment/src/runtime.d.ts +3 -1
- package/shipment/src/runtime.js +13 -3
- package/shopping-cart/src/runtime.d.ts +3 -1
- package/shopping-cart/src/runtime.js +13 -3
- package/statistic/src/runtime.d.ts +3 -1
- package/statistic/src/runtime.js +13 -3
- package/subscription/src/runtime.d.ts +3 -1
- package/subscription/src/runtime.js +13 -3
- package/thread/src/runtime.d.ts +3 -1
- package/thread/src/runtime.js +13 -3
- package/ubo/src/runtime.d.ts +3 -1
- package/ubo/src/runtime.js +13 -3
- package/user/src/runtime.d.ts +3 -1
- package/user/src/runtime.js +13 -3
- package/wish/src/runtime.d.ts +3 -1
- 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 = "
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 = "
|
|
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
|
-
|
|
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
|
|
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 = "
|
|
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
|
-
|
|
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/lexicon/src/runtime.d.ts
CHANGED
|
@@ -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
|
|
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';
|
package/lexicon/src/runtime.js
CHANGED
|
@@ -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 = "
|
|
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
|
-
|
|
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
|
|
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 = "
|
|
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
|
-
|
|
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,6 +16,12 @@ 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;
|
|
19
25
|
/**
|
|
20
26
|
* Products needed by the client
|
|
21
27
|
* @type {Array<ExpressOrderNeed>}
|
|
@@ -25,6 +25,7 @@ function ExpressOrderCreationParametersFromJSONTyped(json, ignoreDiscriminator)
|
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
|
+
'buyerId': json['buyerId'],
|
|
28
29
|
'needs': !(0, runtime_1.exists)(json, 'needs') ? undefined : (json['needs'].map(ExpressOrderNeed_1.ExpressOrderNeedFromJSON)),
|
|
29
30
|
};
|
|
30
31
|
}
|
|
@@ -37,6 +38,7 @@ function ExpressOrderCreationParametersToJSON(value) {
|
|
|
37
38
|
return null;
|
|
38
39
|
}
|
|
39
40
|
return {
|
|
41
|
+
'buyerId': value.buyerId,
|
|
40
42
|
'needs': value.needs === undefined ? undefined : (value.needs.map(ExpressOrderNeed_1.ExpressOrderNeedToJSON)),
|
|
41
43
|
};
|
|
42
44
|
}
|
|
@@ -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
|
|
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 = "
|
|
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
|
-
|
|
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/mandate/src/runtime.d.ts
CHANGED
|
@@ -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
|
|
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';
|
package/mandate/src/runtime.js
CHANGED
|
@@ -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 = "
|
|
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
|
-
|
|
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
|
|
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 = "
|
|
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
|
-
|
|
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/message/src/runtime.d.ts
CHANGED
|
@@ -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
|
|
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';
|
package/message/src/runtime.js
CHANGED
|
@@ -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 = "
|
|
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
|
-
|
|
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
|
|
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';
|