@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 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.0.0 --save
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.0.0
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': string;
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}
@@ -20,7 +20,7 @@ export interface CreateBankAccountRequestDto {
20
20
  * @type {string}
21
21
  * @memberof CreateBankAccountRequestDto
22
22
  */
23
- 'accountCode': string;
23
+ 'accountCode'?: string;
24
24
  /**
25
25
  * Bank account IBAN
26
26
  * @type {string}
@@ -23,7 +23,7 @@ export interface CreateEstimatedInvoiceResponseClass {
23
23
  */
24
24
  'invoice'?: InvoiceClass;
25
25
  /**
26
- * This value will not be null when using a custom premium calculation. For more information, check the general documentation.
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': LeadBankAccountClass;
58
+ 'bankAccount'?: LeadBankAccountClass;
59
59
  /**
60
60
  * Premium overrides
61
61
  * @type {Array<PremiumOverrideDto>}
62
62
  * @memberof LeadClass
63
63
  */
64
- 'premiumOverrides': Array<PremiumOverrideDto>;
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': UploadedDocumentDto;
70
+ 'uploadedDocument'?: UploadedDocumentDto;
71
71
  /**
72
72
  * Custom data.
73
73
  * @type {object}
74
74
  * @memberof LeadClass
75
75
  */
76
- 'customData': object;
76
+ 'customData'?: object;
77
77
  }
@@ -91,7 +91,7 @@ export interface CreateAccountRequestDto {
91
91
  * @type {string}
92
92
  * @memberof CreateAccountRequestDto
93
93
  */
94
- 'accountNumber': string;
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}
@@ -25,7 +25,7 @@ export interface CreateBankAccountRequestDto {
25
25
  * @type {string}
26
26
  * @memberof CreateBankAccountRequestDto
27
27
  */
28
- 'accountCode': string;
28
+ 'accountCode'?: string;
29
29
  /**
30
30
  * Bank account IBAN
31
31
  * @type {string}
@@ -28,7 +28,7 @@ export interface CreateEstimatedInvoiceResponseClass {
28
28
  */
29
29
  'invoice'?: InvoiceClass;
30
30
  /**
31
- * This value will not be null when using a custom premium calculation. For more information, check the general documentation.
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
  */
@@ -60,24 +60,24 @@ export interface LeadClass {
60
60
  * @type {LeadBankAccountClass}
61
61
  * @memberof LeadClass
62
62
  */
63
- 'bankAccount': LeadBankAccountClass;
63
+ 'bankAccount'?: LeadBankAccountClass;
64
64
  /**
65
65
  * Premium overrides
66
66
  * @type {Array<PremiumOverrideDto>}
67
67
  * @memberof LeadClass
68
68
  */
69
- 'premiumOverrides': Array<PremiumOverrideDto>;
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': UploadedDocumentDto;
75
+ 'uploadedDocument'?: UploadedDocumentDto;
76
76
  /**
77
77
  * Custom data.
78
78
  * @type {object}
79
79
  * @memberof LeadClass
80
80
  */
81
- 'customData': object;
81
+ 'customData'?: object;
82
82
  }
83
83
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/public-api-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "OpenAPI client for @emilgroup/public-api-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [