@emilgroup/public-api-sdk-node 1.17.1 → 1.18.0-beta.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/.openapi-generator/FILES +1 -1
- package/README.md +2 -2
- package/api/products-api.ts +3 -3
- package/dist/api/products-api.d.ts +4 -4
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/{product-factor-class.d.ts → product-factor-for-version-class.d.ts} +9 -9
- package/models/index.ts +1 -1
- package/models/{product-factor-class.ts → product-factor-for-version-class.ts} +9 -9
- package/package.json +1 -1
- /package/dist/models/{product-factor-class.js → product-factor-for-version-class.js} +0 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -74,7 +74,7 @@ models/premium-override-dto.ts
|
|
|
74
74
|
models/premium-override-request-dto.ts
|
|
75
75
|
models/product-class.ts
|
|
76
76
|
models/product-document-class.ts
|
|
77
|
-
models/product-factor-class.ts
|
|
77
|
+
models/product-factor-for-version-class.ts
|
|
78
78
|
models/product-field-class.ts
|
|
79
79
|
models/product-version-class.ts
|
|
80
80
|
models/send-notification-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/public-api-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/public-api-sdk-node@1.18.0-beta.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/public-api-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/public-api-sdk-node@1.18.0-beta.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PublicApi`.
|
package/api/products-api.ts
CHANGED
|
@@ -37,7 +37,7 @@ import { InsuredObjectTypeClass } from '../models';
|
|
|
37
37
|
// @ts-ignore
|
|
38
38
|
import { ListProductsResponseClass } from '../models';
|
|
39
39
|
// @ts-ignore
|
|
40
|
-
import {
|
|
40
|
+
import { ProductFactorForVersionClass } from '../models';
|
|
41
41
|
// URLSearchParams not necessarily used
|
|
42
42
|
// @ts-ignore
|
|
43
43
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -484,7 +484,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
484
484
|
* @param {*} [options] Override http request option.
|
|
485
485
|
* @throws {RequiredError}
|
|
486
486
|
*/
|
|
487
|
-
async getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
487
|
+
async getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorForVersionClass>>> {
|
|
488
488
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, options);
|
|
489
489
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
490
490
|
},
|
|
@@ -580,7 +580,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
580
580
|
* @param {*} [options] Override http request option.
|
|
581
581
|
* @throws {RequiredError}
|
|
582
582
|
*/
|
|
583
|
-
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<
|
|
583
|
+
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorForVersionClass>> {
|
|
584
584
|
return localVarFp.getProductFactors(productCode, allValues, authorization, options).then((request) => request(axios, basePath));
|
|
585
585
|
},
|
|
586
586
|
/**
|
|
@@ -20,7 +20,7 @@ import { GetCustomCssResponseClass } from '../models';
|
|
|
20
20
|
import { InsuredObjectClass } from '../models';
|
|
21
21
|
import { InsuredObjectTypeClass } from '../models';
|
|
22
22
|
import { ListProductsResponseClass } from '../models';
|
|
23
|
-
import {
|
|
23
|
+
import { ProductFactorForVersionClass } from '../models';
|
|
24
24
|
/**
|
|
25
25
|
* ProductsApi - axios parameter creator
|
|
26
26
|
* @export
|
|
@@ -157,7 +157,7 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
*/
|
|
160
|
-
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
160
|
+
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorForVersionClass>>>;
|
|
161
161
|
/**
|
|
162
162
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
163
163
|
* @summary List products
|
|
@@ -233,7 +233,7 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
233
233
|
* @param {*} [options] Override http request option.
|
|
234
234
|
* @throws {RequiredError}
|
|
235
235
|
*/
|
|
236
|
-
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<
|
|
236
|
+
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorForVersionClass>>;
|
|
237
237
|
/**
|
|
238
238
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
239
239
|
* @summary List products
|
|
@@ -484,7 +484,7 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
484
484
|
* @throws {RequiredError}
|
|
485
485
|
* @memberof ProductsApi
|
|
486
486
|
*/
|
|
487
|
-
getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
487
|
+
getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any>>;
|
|
488
488
|
/**
|
|
489
489
|
* Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
490
490
|
* @summary List products
|
package/dist/models/index.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export * from './premium-override-dto';
|
|
|
56
56
|
export * from './premium-override-request-dto';
|
|
57
57
|
export * from './product-class';
|
|
58
58
|
export * from './product-document-class';
|
|
59
|
-
export * from './product-factor-class';
|
|
59
|
+
export * from './product-factor-for-version-class';
|
|
60
60
|
export * from './product-field-class';
|
|
61
61
|
export * from './product-version-class';
|
|
62
62
|
export * from './send-notification-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -72,7 +72,7 @@ __exportStar(require("./premium-override-dto"), exports);
|
|
|
72
72
|
__exportStar(require("./premium-override-request-dto"), exports);
|
|
73
73
|
__exportStar(require("./product-class"), exports);
|
|
74
74
|
__exportStar(require("./product-document-class"), exports);
|
|
75
|
-
__exportStar(require("./product-factor-class"), exports);
|
|
75
|
+
__exportStar(require("./product-factor-for-version-class"), exports);
|
|
76
76
|
__exportStar(require("./product-field-class"), exports);
|
|
77
77
|
__exportStar(require("./product-version-class"), exports);
|
|
78
78
|
__exportStar(require("./send-notification-request-dto"), exports);
|
|
@@ -12,49 +12,49 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface ProductFactorForVersionClass
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface ProductFactorForVersionClass {
|
|
18
18
|
/**
|
|
19
19
|
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
20
|
* @type {number}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof ProductFactorForVersionClass
|
|
22
22
|
*/
|
|
23
23
|
'id': number;
|
|
24
24
|
/**
|
|
25
25
|
* Unique identifier referencing the version of the product on which this product factor is used.
|
|
26
26
|
* @type {number}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof ProductFactorForVersionClass
|
|
28
28
|
*/
|
|
29
29
|
'productVersionId': number;
|
|
30
30
|
/**
|
|
31
31
|
* Product factor group.
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof ProductFactorForVersionClass
|
|
34
34
|
*/
|
|
35
35
|
'group': string;
|
|
36
36
|
/**
|
|
37
37
|
* Product factor label.
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof ProductFactorForVersionClass
|
|
40
40
|
*/
|
|
41
41
|
'label': string;
|
|
42
42
|
/**
|
|
43
43
|
* Time at which the object was created.
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof ProductFactorForVersionClass
|
|
46
46
|
*/
|
|
47
47
|
'createdAt': string;
|
|
48
48
|
/**
|
|
49
49
|
* Time at which the object was updated.
|
|
50
50
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof ProductFactorForVersionClass
|
|
52
52
|
*/
|
|
53
53
|
'updatedAt': string;
|
|
54
54
|
/**
|
|
55
55
|
* Factor values.
|
|
56
56
|
* @type {Array<string>}
|
|
57
|
-
* @memberof
|
|
57
|
+
* @memberof ProductFactorForVersionClass
|
|
58
58
|
*/
|
|
59
59
|
'values': Array<string>;
|
|
60
60
|
}
|
package/models/index.ts
CHANGED
|
@@ -56,7 +56,7 @@ export * from './premium-override-dto';
|
|
|
56
56
|
export * from './premium-override-request-dto';
|
|
57
57
|
export * from './product-class';
|
|
58
58
|
export * from './product-document-class';
|
|
59
|
-
export * from './product-factor-class';
|
|
59
|
+
export * from './product-factor-for-version-class';
|
|
60
60
|
export * from './product-field-class';
|
|
61
61
|
export * from './product-version-class';
|
|
62
62
|
export * from './send-notification-request-dto';
|
|
@@ -17,49 +17,49 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface ProductFactorForVersionClass
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface ProductFactorForVersionClass {
|
|
23
23
|
/**
|
|
24
24
|
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
25
|
* @type {number}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof ProductFactorForVersionClass
|
|
27
27
|
*/
|
|
28
28
|
'id': number;
|
|
29
29
|
/**
|
|
30
30
|
* Unique identifier referencing the version of the product on which this product factor is used.
|
|
31
31
|
* @type {number}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof ProductFactorForVersionClass
|
|
33
33
|
*/
|
|
34
34
|
'productVersionId': number;
|
|
35
35
|
/**
|
|
36
36
|
* Product factor group.
|
|
37
37
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof ProductFactorForVersionClass
|
|
39
39
|
*/
|
|
40
40
|
'group': string;
|
|
41
41
|
/**
|
|
42
42
|
* Product factor label.
|
|
43
43
|
* @type {string}
|
|
44
|
-
* @memberof
|
|
44
|
+
* @memberof ProductFactorForVersionClass
|
|
45
45
|
*/
|
|
46
46
|
'label': string;
|
|
47
47
|
/**
|
|
48
48
|
* Time at which the object was created.
|
|
49
49
|
* @type {string}
|
|
50
|
-
* @memberof
|
|
50
|
+
* @memberof ProductFactorForVersionClass
|
|
51
51
|
*/
|
|
52
52
|
'createdAt': string;
|
|
53
53
|
/**
|
|
54
54
|
* Time at which the object was updated.
|
|
55
55
|
* @type {string}
|
|
56
|
-
* @memberof
|
|
56
|
+
* @memberof ProductFactorForVersionClass
|
|
57
57
|
*/
|
|
58
58
|
'updatedAt': string;
|
|
59
59
|
/**
|
|
60
60
|
* Factor values.
|
|
61
61
|
* @type {Array<string>}
|
|
62
|
-
* @memberof
|
|
62
|
+
* @memberof ProductFactorForVersionClass
|
|
63
63
|
*/
|
|
64
64
|
'values': Array<string>;
|
|
65
65
|
}
|
package/package.json
CHANGED
|
File without changes
|