@emilgroup/public-api-sdk 1.0.0 → 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/README.md +2 -2
- package/dist/models/create-account-request-dto.d.ts +1 -1
- package/dist/models/create-bank-account-request-dto.d.ts +1 -1
- package/dist/models/create-estimated-invoice-response-class.d.ts +1 -1
- package/dist/models/lead-class.d.ts +4 -4
- package/models/create-account-request-dto.ts +1 -1
- package/models/create-bank-account-request-dto.ts +1 -1
- package/models/create-estimated-invoice-response-class.ts +1 -1
- package/models/lead-class.ts +4 -4
- package/package.json +1 -1
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.
|
|
20
|
+
npm install @emilgroup/public-api-sdk@1.1.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/public-api-sdk@1.
|
|
24
|
+
yarn add @emilgroup/public-api-sdk@1.1.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PublicApi`.
|
|
@@ -86,7 +86,7 @@ export interface CreateAccountRequestDto {
|
|
|
86
86
|
* @type {string}
|
|
87
87
|
* @memberof CreateAccountRequestDto
|
|
88
88
|
*/
|
|
89
|
-
'accountNumber'
|
|
89
|
+
'accountNumber'?: string;
|
|
90
90
|
/**
|
|
91
91
|
* Custom fields could be included additional required/optional fields that the account would need for specific cases.
|
|
92
92
|
* @type {object}
|
|
@@ -23,7 +23,7 @@ export interface CreateEstimatedInvoiceResponseClass {
|
|
|
23
23
|
*/
|
|
24
24
|
'invoice'?: InvoiceClass;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* In some cases, custom premium calculation needs to be used. In that case, a custom object is returned. It can hold up any kind of information. For more information, check the general documentation.
|
|
27
27
|
* @type {object}
|
|
28
28
|
* @memberof CreateEstimatedInvoiceResponseClass
|
|
29
29
|
*/
|
|
@@ -55,23 +55,23 @@ export interface LeadClass {
|
|
|
55
55
|
* @type {LeadBankAccountClass}
|
|
56
56
|
* @memberof LeadClass
|
|
57
57
|
*/
|
|
58
|
-
'bankAccount'
|
|
58
|
+
'bankAccount'?: LeadBankAccountClass;
|
|
59
59
|
/**
|
|
60
60
|
* Premium overrides
|
|
61
61
|
* @type {Array<PremiumOverrideDto>}
|
|
62
62
|
* @memberof LeadClass
|
|
63
63
|
*/
|
|
64
|
-
'premiumOverrides'
|
|
64
|
+
'premiumOverrides'?: Array<PremiumOverrideDto>;
|
|
65
65
|
/**
|
|
66
66
|
* Codes for documents to be uploaded
|
|
67
67
|
* @type {UploadedDocumentDto}
|
|
68
68
|
* @memberof LeadClass
|
|
69
69
|
*/
|
|
70
|
-
'uploadedDocument'
|
|
70
|
+
'uploadedDocument'?: UploadedDocumentDto;
|
|
71
71
|
/**
|
|
72
72
|
* Custom data.
|
|
73
73
|
* @type {object}
|
|
74
74
|
* @memberof LeadClass
|
|
75
75
|
*/
|
|
76
|
-
'customData'
|
|
76
|
+
'customData'?: object;
|
|
77
77
|
}
|
|
@@ -91,7 +91,7 @@ export interface CreateAccountRequestDto {
|
|
|
91
91
|
* @type {string}
|
|
92
92
|
* @memberof CreateAccountRequestDto
|
|
93
93
|
*/
|
|
94
|
-
'accountNumber'
|
|
94
|
+
'accountNumber'?: string;
|
|
95
95
|
/**
|
|
96
96
|
* Custom fields could be included additional required/optional fields that the account would need for specific cases.
|
|
97
97
|
* @type {object}
|
|
@@ -28,7 +28,7 @@ export interface CreateEstimatedInvoiceResponseClass {
|
|
|
28
28
|
*/
|
|
29
29
|
'invoice'?: InvoiceClass;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* In some cases, custom premium calculation needs to be used. In that case, a custom object is returned. It can hold up any kind of information. For more information, check the general documentation.
|
|
32
32
|
* @type {object}
|
|
33
33
|
* @memberof CreateEstimatedInvoiceResponseClass
|
|
34
34
|
*/
|
package/models/lead-class.ts
CHANGED
|
@@ -60,24 +60,24 @@ export interface LeadClass {
|
|
|
60
60
|
* @type {LeadBankAccountClass}
|
|
61
61
|
* @memberof LeadClass
|
|
62
62
|
*/
|
|
63
|
-
'bankAccount'
|
|
63
|
+
'bankAccount'?: LeadBankAccountClass;
|
|
64
64
|
/**
|
|
65
65
|
* Premium overrides
|
|
66
66
|
* @type {Array<PremiumOverrideDto>}
|
|
67
67
|
* @memberof LeadClass
|
|
68
68
|
*/
|
|
69
|
-
'premiumOverrides'
|
|
69
|
+
'premiumOverrides'?: Array<PremiumOverrideDto>;
|
|
70
70
|
/**
|
|
71
71
|
* Codes for documents to be uploaded
|
|
72
72
|
* @type {UploadedDocumentDto}
|
|
73
73
|
* @memberof LeadClass
|
|
74
74
|
*/
|
|
75
|
-
'uploadedDocument'
|
|
75
|
+
'uploadedDocument'?: UploadedDocumentDto;
|
|
76
76
|
/**
|
|
77
77
|
* Custom data.
|
|
78
78
|
* @type {object}
|
|
79
79
|
* @memberof LeadClass
|
|
80
80
|
*/
|
|
81
|
-
'customData'
|
|
81
|
+
'customData'?: object;
|
|
82
82
|
}
|
|
83
83
|
|