@emilgroup/public-api-sdk 1.15.0 → 1.16.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.
@@ -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@1.15.0 --save
20
+ npm install @emilgroup/public-api-sdk@1.16.0-beta.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/public-api-sdk@1.15.0
24
+ yarn add @emilgroup/public-api-sdk@1.16.0-beta.0
25
25
  ```
26
26
 
27
27
  And then you can import `PublicApi`.
@@ -37,7 +37,7 @@ import { InsuredObjectTypeClass } from '../models';
37
37
  // @ts-ignore
38
38
  import { ListProductsResponseClass } from '../models';
39
39
  // @ts-ignore
40
- import { ProductFactorClass } from '../models';
40
+ import { ProductFactorForVersionClass } from '../models';
41
41
  /**
42
42
  * ProductsApi - axios parameter creator
43
43
  * @export
@@ -480,7 +480,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
480
480
  * @param {*} [options] Override http request option.
481
481
  * @throws {RequiredError}
482
482
  */
483
- async getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorClass>>> {
483
+ async getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorForVersionClass>>> {
484
484
  const localVarAxiosArgs = await localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, options);
485
485
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
486
486
  },
@@ -576,7 +576,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
576
576
  * @param {*} [options] Override http request option.
577
577
  * @throws {RequiredError}
578
578
  */
579
- getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorClass>> {
579
+ getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorForVersionClass>> {
580
580
  return localVarFp.getProductFactors(productCode, allValues, authorization, options).then((request) => request(axios, basePath));
581
581
  },
582
582
  /**
@@ -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 { ProductFactorClass } from '../models';
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<ProductFactorClass>>>;
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<ProductFactorClass>>;
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<ProductFactorClass[], any>>;
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
@@ -35,16 +35,16 @@ export interface CreateLeadRequestDto {
35
35
  'productVersionId'?: number;
36
36
  /**
37
37
  * Unique identifier of the product that this object belongs to.
38
- * @type {object}
38
+ * @type {string}
39
39
  * @memberof CreateLeadRequestDto
40
40
  */
41
- 'productCode': object;
41
+ 'productCode'?: string;
42
42
  /**
43
43
  * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
44
- * @type {object}
44
+ * @type {string}
45
45
  * @memberof CreateLeadRequestDto
46
46
  */
47
- 'productSlug': object;
47
+ 'productSlug'?: string;
48
48
  /**
49
49
  * Account object. The create lead request should either contain accountCode or account. The account content will be validated if the \'validate\' flag is set to true. an empty object is required if \'validate flag is set to false.
50
50
  * @type {CreateAccountRequestDto}
@@ -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';
@@ -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 ProductFactorClass
15
+ * @interface ProductFactorForVersionClass
16
16
  */
17
- export interface ProductFactorClass {
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 ProductFactorClass
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 ProductFactorClass
27
+ * @memberof ProductFactorForVersionClass
28
28
  */
29
29
  'productVersionId': number;
30
30
  /**
31
31
  * Product factor group.
32
32
  * @type {string}
33
- * @memberof ProductFactorClass
33
+ * @memberof ProductFactorForVersionClass
34
34
  */
35
35
  'group': string;
36
36
  /**
37
37
  * Product factor label.
38
38
  * @type {string}
39
- * @memberof ProductFactorClass
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 ProductFactorClass
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 ProductFactorClass
51
+ * @memberof ProductFactorForVersionClass
52
52
  */
53
53
  'updatedAt': string;
54
54
  /**
55
55
  * Factor values.
56
56
  * @type {Array<string>}
57
- * @memberof ProductFactorClass
57
+ * @memberof ProductFactorForVersionClass
58
58
  */
59
59
  'values': Array<string>;
60
60
  }
@@ -34,16 +34,16 @@ export interface UpdateLeadRequestDto {
34
34
  'productVersionId'?: number;
35
35
  /**
36
36
  * Unique identifier of the product that this object belongs to.
37
- * @type {object}
37
+ * @type {string}
38
38
  * @memberof UpdateLeadRequestDto
39
39
  */
40
- 'productCode': object;
40
+ 'productCode'?: string;
41
41
  /**
42
42
  * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
43
- * @type {object}
43
+ * @type {string}
44
44
  * @memberof UpdateLeadRequestDto
45
45
  */
46
- 'productSlug': object;
46
+ 'productSlug'?: string;
47
47
  /**
48
48
  * Account object. The create lead request should either contain accountCode or account. The account content will be validated if the \'validate\' flag is set to true. an empty object is required if \'validate flag is set to false.
49
49
  * @type {CreateAccountRequestDto}
@@ -40,16 +40,16 @@ export interface CreateLeadRequestDto {
40
40
  'productVersionId'?: number;
41
41
  /**
42
42
  * Unique identifier of the product that this object belongs to.
43
- * @type {object}
43
+ * @type {string}
44
44
  * @memberof CreateLeadRequestDto
45
45
  */
46
- 'productCode': object;
46
+ 'productCode'?: string;
47
47
  /**
48
48
  * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
49
- * @type {object}
49
+ * @type {string}
50
50
  * @memberof CreateLeadRequestDto
51
51
  */
52
- 'productSlug': object;
52
+ 'productSlug'?: string;
53
53
  /**
54
54
  * Account object. The create lead request should either contain accountCode or account. The account content will be validated if the \'validate\' flag is set to true. an empty object is required if \'validate flag is set to false.
55
55
  * @type {CreateAccountRequestDto}
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 ProductFactorClass
20
+ * @interface ProductFactorForVersionClass
21
21
  */
22
- export interface ProductFactorClass {
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 ProductFactorClass
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 ProductFactorClass
32
+ * @memberof ProductFactorForVersionClass
33
33
  */
34
34
  'productVersionId': number;
35
35
  /**
36
36
  * Product factor group.
37
37
  * @type {string}
38
- * @memberof ProductFactorClass
38
+ * @memberof ProductFactorForVersionClass
39
39
  */
40
40
  'group': string;
41
41
  /**
42
42
  * Product factor label.
43
43
  * @type {string}
44
- * @memberof ProductFactorClass
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 ProductFactorClass
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 ProductFactorClass
56
+ * @memberof ProductFactorForVersionClass
57
57
  */
58
58
  'updatedAt': string;
59
59
  /**
60
60
  * Factor values.
61
61
  * @type {Array<string>}
62
- * @memberof ProductFactorClass
62
+ * @memberof ProductFactorForVersionClass
63
63
  */
64
64
  'values': Array<string>;
65
65
  }
@@ -39,16 +39,16 @@ export interface UpdateLeadRequestDto {
39
39
  'productVersionId'?: number;
40
40
  /**
41
41
  * Unique identifier of the product that this object belongs to.
42
- * @type {object}
42
+ * @type {string}
43
43
  * @memberof UpdateLeadRequestDto
44
44
  */
45
- 'productCode': object;
45
+ 'productCode'?: string;
46
46
  /**
47
47
  * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
48
- * @type {object}
48
+ * @type {string}
49
49
  * @memberof UpdateLeadRequestDto
50
50
  */
51
- 'productSlug': object;
51
+ 'productSlug'?: string;
52
52
  /**
53
53
  * Account object. The create lead request should either contain accountCode or account. The account content will be validated if the \'validate\' flag is set to true. an empty object is required if \'validate flag is set to false.
54
54
  * @type {CreateAccountRequestDto}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/public-api-sdk",
3
- "version": "1.15.0",
3
+ "version": "1.16.0-beta.0",
4
4
  "description": "OpenAPI client for @emilgroup/public-api-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [