@getivy/node-sdk 0.1.0-alpha.10 → 0.1.0-alpha.11
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/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/resources/customers.d.ts +8 -16
- package/resources/customers.d.ts.map +1 -1
- package/src/resources/customers.ts +9 -18
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.11 (2025-03-18)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.10...v0.1.0-alpha.11](https://github.com/getivy/node-sdk/compare/v0.1.0-alpha.10...v0.1.0-alpha.11)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([#36](https://github.com/getivy/node-sdk/issues/36)) ([d4b2635](https://github.com/getivy/node-sdk/commit/d4b263518633163ed363afcae5d66a4f0f669d89))
|
|
10
|
+
|
|
3
11
|
## 0.1.0-alpha.10 (2025-03-17)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.1.0-alpha.9...v0.1.0-alpha.10](https://github.com/getivy/node-sdk/compare/v0.1.0-alpha.9...v0.1.0-alpha.10)
|
package/package.json
CHANGED
package/resources/customers.d.ts
CHANGED
|
@@ -17,27 +17,19 @@ export interface CustomerCreateResponse {
|
|
|
17
17
|
id: string;
|
|
18
18
|
email: string;
|
|
19
19
|
}
|
|
20
|
-
/**
|
|
21
|
-
* Returns the id, email, merchantId of the customer and array of banks remembered
|
|
22
|
-
* by customer
|
|
23
|
-
*/
|
|
24
20
|
export interface CustomerRetrieveResponse {
|
|
25
21
|
/**
|
|
26
22
|
* Customer id
|
|
27
23
|
*/
|
|
28
24
|
id: string;
|
|
29
25
|
/**
|
|
30
|
-
* List of bank accounts
|
|
26
|
+
* List of remembered bank accounts for this Customer
|
|
31
27
|
*/
|
|
32
28
|
bankAccounts: Array<CustomerRetrieveResponse.BankAccount>;
|
|
33
29
|
/**
|
|
34
30
|
* Customer email address
|
|
35
31
|
*/
|
|
36
32
|
emailAddress: string;
|
|
37
|
-
/**
|
|
38
|
-
* Id of the merchant to which the customer belongs
|
|
39
|
-
*/
|
|
40
|
-
merchantId: string;
|
|
41
33
|
}
|
|
42
34
|
export declare namespace CustomerRetrieveResponse {
|
|
43
35
|
interface BankAccount {
|
|
@@ -45,6 +37,10 @@ export declare namespace CustomerRetrieveResponse {
|
|
|
45
37
|
* Bank details
|
|
46
38
|
*/
|
|
47
39
|
bank: BankAccount.Bank;
|
|
40
|
+
/**
|
|
41
|
+
* Last 4 digits of remembered account number
|
|
42
|
+
*/
|
|
43
|
+
last4digits?: string;
|
|
48
44
|
}
|
|
49
45
|
namespace BankAccount {
|
|
50
46
|
/**
|
|
@@ -52,19 +48,15 @@ export declare namespace CustomerRetrieveResponse {
|
|
|
52
48
|
*/
|
|
53
49
|
interface Bank {
|
|
54
50
|
/**
|
|
55
|
-
*
|
|
51
|
+
* Ivy bank id used to initiate checkout session with preselected bank
|
|
56
52
|
*/
|
|
57
53
|
id: string;
|
|
58
54
|
/**
|
|
59
|
-
*
|
|
55
|
+
* The customer-facing name of the Bank.
|
|
60
56
|
*/
|
|
61
57
|
name: string;
|
|
62
58
|
/**
|
|
63
|
-
*
|
|
64
|
-
*/
|
|
65
|
-
branchName?: string;
|
|
66
|
-
/**
|
|
67
|
-
* Bank logo url
|
|
59
|
+
* The Bank Logo as a URL
|
|
68
60
|
*/
|
|
69
61
|
logo?: string;
|
|
70
62
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../src/resources/customers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,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,wBAAwB,CAAC;IACxC,UAAiB,WAAW;QAC1B;;WAEG;QACH,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC;QAEvB;;WAEG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB;IAED,UAAiB,WAAW,CAAC;QAC3B;;WAEG;QACH,UAAiB,IAAI;YACnB;;eAEG;YACH,EAAE,EAAE,MAAM,CAAC;YAEX;;eAEG;YACH,IAAI,EAAE,MAAM,CAAC;YAEb;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;SACf;KACF;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -31,10 +31,6 @@ export interface CustomerCreateResponse {
|
|
|
31
31
|
email: string;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
/**
|
|
35
|
-
* Returns the id, email, merchantId of the customer and array of banks remembered
|
|
36
|
-
* by customer
|
|
37
|
-
*/
|
|
38
34
|
export interface CustomerRetrieveResponse {
|
|
39
35
|
/**
|
|
40
36
|
* Customer id
|
|
@@ -42,7 +38,7 @@ export interface CustomerRetrieveResponse {
|
|
|
42
38
|
id: string;
|
|
43
39
|
|
|
44
40
|
/**
|
|
45
|
-
* List of bank accounts
|
|
41
|
+
* List of remembered bank accounts for this Customer
|
|
46
42
|
*/
|
|
47
43
|
bankAccounts: Array<CustomerRetrieveResponse.BankAccount>;
|
|
48
44
|
|
|
@@ -50,11 +46,6 @@ export interface CustomerRetrieveResponse {
|
|
|
50
46
|
* Customer email address
|
|
51
47
|
*/
|
|
52
48
|
emailAddress: string;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Id of the merchant to which the customer belongs
|
|
56
|
-
*/
|
|
57
|
-
merchantId: string;
|
|
58
49
|
}
|
|
59
50
|
|
|
60
51
|
export namespace CustomerRetrieveResponse {
|
|
@@ -63,6 +54,11 @@ export namespace CustomerRetrieveResponse {
|
|
|
63
54
|
* Bank details
|
|
64
55
|
*/
|
|
65
56
|
bank: BankAccount.Bank;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Last 4 digits of remembered account number
|
|
60
|
+
*/
|
|
61
|
+
last4digits?: string;
|
|
66
62
|
}
|
|
67
63
|
|
|
68
64
|
export namespace BankAccount {
|
|
@@ -71,22 +67,17 @@ export namespace CustomerRetrieveResponse {
|
|
|
71
67
|
*/
|
|
72
68
|
export interface Bank {
|
|
73
69
|
/**
|
|
74
|
-
*
|
|
70
|
+
* Ivy bank id used to initiate checkout session with preselected bank
|
|
75
71
|
*/
|
|
76
72
|
id: string;
|
|
77
73
|
|
|
78
74
|
/**
|
|
79
|
-
*
|
|
75
|
+
* The customer-facing name of the Bank.
|
|
80
76
|
*/
|
|
81
77
|
name: string;
|
|
82
78
|
|
|
83
79
|
/**
|
|
84
|
-
*
|
|
85
|
-
*/
|
|
86
|
-
branchName?: string;
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Bank logo url
|
|
80
|
+
* The Bank Logo as a URL
|
|
90
81
|
*/
|
|
91
82
|
logo?: string;
|
|
92
83
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.11'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.11";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.1.0-alpha.
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.11'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.11'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|