@emilgroup/insurance-sdk-node 1.51.0 → 1.52.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/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/insurance-sdk-node@1.51.0 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.52.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.51.0
24
+ yarn add @emilgroup/insurance-sdk-node@1.52.0
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -47,6 +47,22 @@ export EMIL_USERNAME=XXXXX@XXXX.XXX
47
47
  export EMIL_PASSWORD=XXXXXXXXXXXXXX
48
48
  ```
49
49
 
50
+ ## Base path
51
+
52
+ To select the basic path for using the API, we can use two approaches. The first is to use one of the predefined environments, and the second is to specify the domain as a string.
53
+
54
+ ```ts
55
+ import { PoliciesApi, Environment } from '@emilgroup/insurance-sdk-node'
56
+
57
+ const policiesApi = new PoliciesApi();
58
+
59
+ // Allows you to simply choose environment. It will usually be Environment.Production.
60
+ policiesApi.selectEnvironment(Environment.Production);
61
+
62
+ // For advanced users, use the custom baseUrl of the website you need to connect to.
63
+ policiesApi.selectBasePath('https://my-custom-domain.com');
64
+ ```
65
+
50
66
  ## Example
51
67
 
52
68
  Here is a basic functionning example:
package/api/leads-api.ts CHANGED
@@ -54,7 +54,7 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
54
54
  return {
55
55
  /**
56
56
  * This endpoint clones the lead and updates account and status data. It effectively initiates a new lead creation workflow, including the creation of an account, policy, and banking information.
57
- * @summary Create the lead
57
+ * @summary Clone the lead
58
58
  * @param {string} code Unique identifier for the object.
59
59
  * @param {CloneLeadRequestDto} cloneLeadRequestDto
60
60
  * @param {string} [authorization] Bearer Token
@@ -580,7 +580,7 @@ export const LeadsApiFp = function(configuration?: Configuration) {
580
580
  return {
581
581
  /**
582
582
  * This endpoint clones the lead and updates account and status data. It effectively initiates a new lead creation workflow, including the creation of an account, policy, and banking information.
583
- * @summary Create the lead
583
+ * @summary Clone the lead
584
584
  * @param {string} code Unique identifier for the object.
585
585
  * @param {CloneLeadRequestDto} cloneLeadRequestDto
586
586
  * @param {string} [authorization] Bearer Token
@@ -721,7 +721,7 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
721
721
  return {
722
722
  /**
723
723
  * This endpoint clones the lead and updates account and status data. It effectively initiates a new lead creation workflow, including the creation of an account, policy, and banking information.
724
- * @summary Create the lead
724
+ * @summary Clone the lead
725
725
  * @param {string} code Unique identifier for the object.
726
726
  * @param {CloneLeadRequestDto} cloneLeadRequestDto
727
727
  * @param {string} [authorization] Bearer Token
@@ -1139,7 +1139,7 @@ export interface LeadsApiUpdateLeadSyncRequest {
1139
1139
  export class LeadsApi extends BaseAPI {
1140
1140
  /**
1141
1141
  * This endpoint clones the lead and updates account and status data. It effectively initiates a new lead creation workflow, including the creation of an account, policy, and banking information.
1142
- * @summary Create the lead
1142
+ * @summary Clone the lead
1143
1143
  * @param {LeadsApiCloneLeadRequest} requestParameters Request parameters.
1144
1144
  * @param {*} [options] Override http request option.
1145
1145
  * @throws {RequiredError}
@@ -30,7 +30,7 @@ import { UpdateLeadResponseClass } from '../models';
30
30
  export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration) => {
31
31
  /**
32
32
  * This endpoint clones the lead and updates account and status data. It effectively initiates a new lead creation workflow, including the creation of an account, policy, and banking information.
33
- * @summary Create the lead
33
+ * @summary Clone the lead
34
34
  * @param {string} code Unique identifier for the object.
35
35
  * @param {CloneLeadRequestDto} cloneLeadRequestDto
36
36
  * @param {string} [authorization] Bearer Token
@@ -137,7 +137,7 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
137
137
  export declare const LeadsApiFp: (configuration?: Configuration) => {
138
138
  /**
139
139
  * This endpoint clones the lead and updates account and status data. It effectively initiates a new lead creation workflow, including the creation of an account, policy, and banking information.
140
- * @summary Create the lead
140
+ * @summary Clone the lead
141
141
  * @param {string} code Unique identifier for the object.
142
142
  * @param {CloneLeadRequestDto} cloneLeadRequestDto
143
143
  * @param {string} [authorization] Bearer Token
@@ -244,7 +244,7 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
244
244
  export declare const LeadsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
245
245
  /**
246
246
  * This endpoint clones the lead and updates account and status data. It effectively initiates a new lead creation workflow, including the creation of an account, policy, and banking information.
247
- * @summary Create the lead
247
+ * @summary Clone the lead
248
248
  * @param {string} code Unique identifier for the object.
249
249
  * @param {CloneLeadRequestDto} cloneLeadRequestDto
250
250
  * @param {string} [authorization] Bearer Token
@@ -609,7 +609,7 @@ export interface LeadsApiUpdateLeadSyncRequest {
609
609
  export declare class LeadsApi extends BaseAPI {
610
610
  /**
611
611
  * This endpoint clones the lead and updates account and status data. It effectively initiates a new lead creation workflow, including the creation of an account, policy, and banking information.
612
- * @summary Create the lead
612
+ * @summary Clone the lead
613
613
  * @param {LeadsApiCloneLeadRequest} requestParameters Request parameters.
614
614
  * @param {*} [options] Override http request option.
615
615
  * @throws {RequiredError}
@@ -98,7 +98,7 @@ var LeadsApiAxiosParamCreator = function (configuration) {
98
98
  return {
99
99
  /**
100
100
  * This endpoint clones the lead and updates account and status data. It effectively initiates a new lead creation workflow, including the creation of an account, policy, and banking information.
101
- * @summary Create the lead
101
+ * @summary Clone the lead
102
102
  * @param {string} code Unique identifier for the object.
103
103
  * @param {CloneLeadRequestDto} cloneLeadRequestDto
104
104
  * @param {string} [authorization] Bearer Token
@@ -639,7 +639,7 @@ var LeadsApiFp = function (configuration) {
639
639
  return {
640
640
  /**
641
641
  * This endpoint clones the lead and updates account and status data. It effectively initiates a new lead creation workflow, including the creation of an account, policy, and banking information.
642
- * @summary Create the lead
642
+ * @summary Clone the lead
643
643
  * @param {string} code Unique identifier for the object.
644
644
  * @param {CloneLeadRequestDto} cloneLeadRequestDto
645
645
  * @param {string} [authorization] Bearer Token
@@ -870,7 +870,7 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
870
870
  return {
871
871
  /**
872
872
  * This endpoint clones the lead and updates account and status data. It effectively initiates a new lead creation workflow, including the creation of an account, policy, and banking information.
873
- * @summary Create the lead
873
+ * @summary Clone the lead
874
874
  * @param {string} code Unique identifier for the object.
875
875
  * @param {CloneLeadRequestDto} cloneLeadRequestDto
876
876
  * @param {string} [authorization] Bearer Token
@@ -1005,7 +1005,7 @@ var LeadsApi = /** @class */ (function (_super) {
1005
1005
  }
1006
1006
  /**
1007
1007
  * This endpoint clones the lead and updates account and status data. It effectively initiates a new lead creation workflow, including the creation of an account, policy, and banking information.
1008
- * @summary Create the lead
1008
+ * @summary Clone the lead
1009
1009
  * @param {LeadsApiCloneLeadRequest} requestParameters Request parameters.
1010
1010
  * @param {*} [options] Override http request option.
1011
1011
  * @throws {RequiredError}
@@ -87,4 +87,10 @@ export interface BookingFunnelClass {
87
87
  * @memberof BookingFunnelClass
88
88
  */
89
89
  'version': number;
90
+ /**
91
+ * Show booking funnel on applications page.
92
+ * @type {boolean}
93
+ * @memberof BookingFunnelClass
94
+ */
95
+ 'shouldShowOnApplicationsPage'?: boolean;
90
96
  }
@@ -63,4 +63,10 @@ export interface CreateBookingFunnelRequestDto {
63
63
  * @memberof CreateBookingFunnelRequestDto
64
64
  */
65
65
  'productSlug': string;
66
+ /**
67
+ *
68
+ * @type {boolean}
69
+ * @memberof CreateBookingFunnelRequestDto
70
+ */
71
+ 'shouldShowOnApplicationsPage'?: boolean;
66
72
  }
@@ -57,4 +57,10 @@ export interface PatchBookingFunnelRequestDto {
57
57
  * @memberof PatchBookingFunnelRequestDto
58
58
  */
59
59
  'code': string;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof PatchBookingFunnelRequestDto
64
+ */
65
+ 'shouldShowOnApplicationsPage'?: boolean;
60
66
  }
@@ -57,4 +57,10 @@ export interface UpdateBookingFunnelRequestDto {
57
57
  * @memberof UpdateBookingFunnelRequestDto
58
58
  */
59
59
  'code': string;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof UpdateBookingFunnelRequestDto
64
+ */
65
+ 'shouldShowOnApplicationsPage'?: boolean;
60
66
  }
@@ -92,5 +92,11 @@ export interface BookingFunnelClass {
92
92
  * @memberof BookingFunnelClass
93
93
  */
94
94
  'version': number;
95
+ /**
96
+ * Show booking funnel on applications page.
97
+ * @type {boolean}
98
+ * @memberof BookingFunnelClass
99
+ */
100
+ 'shouldShowOnApplicationsPage'?: boolean;
95
101
  }
96
102
 
@@ -68,5 +68,11 @@ export interface CreateBookingFunnelRequestDto {
68
68
  * @memberof CreateBookingFunnelRequestDto
69
69
  */
70
70
  'productSlug': string;
71
+ /**
72
+ *
73
+ * @type {boolean}
74
+ * @memberof CreateBookingFunnelRequestDto
75
+ */
76
+ 'shouldShowOnApplicationsPage'?: boolean;
71
77
  }
72
78
 
@@ -62,5 +62,11 @@ export interface PatchBookingFunnelRequestDto {
62
62
  * @memberof PatchBookingFunnelRequestDto
63
63
  */
64
64
  'code': string;
65
+ /**
66
+ *
67
+ * @type {boolean}
68
+ * @memberof PatchBookingFunnelRequestDto
69
+ */
70
+ 'shouldShowOnApplicationsPage'?: boolean;
65
71
  }
66
72
 
@@ -62,5 +62,11 @@ export interface UpdateBookingFunnelRequestDto {
62
62
  * @memberof UpdateBookingFunnelRequestDto
63
63
  */
64
64
  'code': string;
65
+ /**
66
+ *
67
+ * @type {boolean}
68
+ * @memberof UpdateBookingFunnelRequestDto
69
+ */
70
+ 'shouldShowOnApplicationsPage'?: boolean;
65
71
  }
66
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.51.0",
3
+ "version": "1.52.0",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [