@emilgroup/customer-sdk-node 1.34.0 → 1.35.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/customer-sdk-node@1.34.0 --save
20
+ npm install @emilgroup/customer-sdk-node@1.35.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/customer-sdk-node@1.34.0
24
+ yarn add @emilgroup/customer-sdk-node@1.35.0
25
25
  ```
26
26
 
27
27
  And then you can import `CustomersApi`.
@@ -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 { CustomersApi, Environment } from '@emilgroup/customer-sdk-node'
56
+
57
+ const customersApi = new CustomersApi();
58
+
59
+ // Allows you to simply choose environment. It will usually be Environment.Production.
60
+ customersApi.selectEnvironment(Environment.Production);
61
+
62
+ // For advanced users, use the custom baseUrl of the website you need to connect to.
63
+ customersApi.selectBasePath('https://my-custom-domain.com');
64
+ ```
65
+
50
66
  ## Example
51
67
 
52
68
  Here is a basic functionning example:
@@ -16,13 +16,19 @@
16
16
  */
17
17
  export interface CreateBankAccountRequestDto {
18
18
  /**
19
- * Unique identifier of the account that this object belongs to.
19
+ * User account code associated with bank account.
20
20
  * @type {string}
21
21
  * @memberof CreateBankAccountRequestDto
22
22
  */
23
23
  'accountCode'?: string;
24
24
  /**
25
- * Bank account IBAN.
25
+ * Partner code associated with bank account.
26
+ * @type {string}
27
+ * @memberof CreateBankAccountRequestDto
28
+ */
29
+ 'partnerCode'?: string;
30
+ /**
31
+ * IBAN number for the bank account
26
32
  * @type {string}
27
33
  * @memberof CreateBankAccountRequestDto
28
34
  */
@@ -16,13 +16,19 @@
16
16
  */
17
17
  export interface LeadBankAccountClass {
18
18
  /**
19
- * Account code place-holder.
19
+ * User account code associated with bank account.
20
20
  * @type {string}
21
21
  * @memberof LeadBankAccountClass
22
22
  */
23
23
  'accountCode': string;
24
24
  /**
25
- * Bank account IBAN.
25
+ * Partner code associated with bank account.
26
+ * @type {string}
27
+ * @memberof LeadBankAccountClass
28
+ */
29
+ 'partnerCode': string;
30
+ /**
31
+ * IBAN number for the bank account
26
32
  * @type {string}
27
33
  * @memberof LeadBankAccountClass
28
34
  */
@@ -21,13 +21,19 @@
21
21
  */
22
22
  export interface CreateBankAccountRequestDto {
23
23
  /**
24
- * Unique identifier of the account that this object belongs to.
24
+ * User account code associated with bank account.
25
25
  * @type {string}
26
26
  * @memberof CreateBankAccountRequestDto
27
27
  */
28
28
  'accountCode'?: string;
29
29
  /**
30
- * Bank account IBAN.
30
+ * Partner code associated with bank account.
31
+ * @type {string}
32
+ * @memberof CreateBankAccountRequestDto
33
+ */
34
+ 'partnerCode'?: string;
35
+ /**
36
+ * IBAN number for the bank account
31
37
  * @type {string}
32
38
  * @memberof CreateBankAccountRequestDto
33
39
  */
@@ -21,13 +21,19 @@
21
21
  */
22
22
  export interface LeadBankAccountClass {
23
23
  /**
24
- * Account code place-holder.
24
+ * User account code associated with bank account.
25
25
  * @type {string}
26
26
  * @memberof LeadBankAccountClass
27
27
  */
28
28
  'accountCode': string;
29
29
  /**
30
- * Bank account IBAN.
30
+ * Partner code associated with bank account.
31
+ * @type {string}
32
+ * @memberof LeadBankAccountClass
33
+ */
34
+ 'partnerCode': string;
35
+ /**
36
+ * IBAN number for the bank account
31
37
  * @type {string}
32
38
  * @memberof LeadBankAccountClass
33
39
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/customer-sdk-node",
3
- "version": "1.34.0",
3
+ "version": "1.35.0",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -23,7 +23,7 @@
23
23
  "url": "^0.11.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^12.11.5",
26
+ "@types/node": "^12.11.5",
27
27
  "typescript": "^4.0"
28
28
  }
29
29
  }