@augustusbank/typescript-sdk 0.25.0 → 0.26.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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/resources/account-programs.d.mts +2 -2
- package/resources/account-programs.d.ts +2 -2
- package/resources/account-programs.js +2 -2
- package/resources/account-programs.mjs +2 -2
- package/resources/accounts.d.mts +2 -2
- package/resources/accounts.d.ts +2 -2
- package/resources/simulations/account-programs.d.mts +3 -3
- package/resources/simulations/account-programs.d.ts +3 -3
- package/resources/simulations/account-programs.js +3 -3
- package/resources/simulations/account-programs.mjs +3 -3
- package/src/resources/account-programs.ts +2 -2
- package/src/resources/accounts.ts +2 -2
- package/src/resources/simulations/account-programs.ts +3 -3
- package/src/version.ts +1 -1
- package/version.d.mts +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,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.26.0](https://github.com/augustus/typescript-sdk/compare/v0.25.0...v0.26.0) (2026-09-22)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **api:** new sdk build due to api update ([0222cb2](https://github.com/augustus/typescript-sdk/commit/0222cb203b8a0b2b1aac69b321ada235b1037cd8))
|
|
9
|
+
|
|
3
10
|
## [0.25.0](https://github.com/augustus/typescript-sdk/compare/v0.24.0...v0.25.0) (2026-09-18)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -12,8 +12,8 @@ export declare class AccountPrograms extends APIResource {
|
|
|
12
12
|
*/
|
|
13
13
|
list(query?: AccountProgramListParams | null | undefined, options?: RequestOptions): PagePromise<AccountProgramListResponsesCursorPage, AccountProgramListResponse>;
|
|
14
14
|
/**
|
|
15
|
-
* Returns the aggregated available balance
|
|
16
|
-
*
|
|
15
|
+
* Returns the aggregated available balance of all accounts under the account
|
|
16
|
+
* program.
|
|
17
17
|
*/
|
|
18
18
|
retrieveBalance(id: string, query?: AccountProgramRetrieveBalanceParams | null | undefined, options?: RequestOptions): APIPromise<AccountProgramRetrieveBalanceResponse>;
|
|
19
19
|
}
|
|
@@ -12,8 +12,8 @@ export declare class AccountPrograms extends APIResource {
|
|
|
12
12
|
*/
|
|
13
13
|
list(query?: AccountProgramListParams | null | undefined, options?: RequestOptions): PagePromise<AccountProgramListResponsesCursorPage, AccountProgramListResponse>;
|
|
14
14
|
/**
|
|
15
|
-
* Returns the aggregated available balance
|
|
16
|
-
*
|
|
15
|
+
* Returns the aggregated available balance of all accounts under the account
|
|
16
|
+
* program.
|
|
17
17
|
*/
|
|
18
18
|
retrieveBalance(id: string, query?: AccountProgramRetrieveBalanceParams | null | undefined, options?: RequestOptions): APIPromise<AccountProgramRetrieveBalanceResponse>;
|
|
19
19
|
}
|
|
@@ -22,8 +22,8 @@ class AccountPrograms extends resource_1.APIResource {
|
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
* Returns the aggregated available balance
|
|
26
|
-
*
|
|
25
|
+
* Returns the aggregated available balance of all accounts under the account
|
|
26
|
+
* program.
|
|
27
27
|
*/
|
|
28
28
|
retrieveBalance(id, query = {}, options) {
|
|
29
29
|
return this._client.get((0, path_1.path) `/v1/account_programs/${id}/balance`, { query, ...options });
|
|
@@ -19,8 +19,8 @@ export class AccountPrograms extends APIResource {
|
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
|
-
* Returns the aggregated available balance
|
|
23
|
-
*
|
|
22
|
+
* Returns the aggregated available balance of all accounts under the account
|
|
23
|
+
* program.
|
|
24
24
|
*/
|
|
25
25
|
retrieveBalance(id, query = {}, options) {
|
|
26
26
|
return this._client.get(path `/v1/account_programs/${id}/balance`, { query, ...options });
|
package/resources/accounts.d.mts
CHANGED
|
@@ -959,7 +959,7 @@ export declare namespace AccountUnfreezeResponse {
|
|
|
959
959
|
}
|
|
960
960
|
export interface AccountCreateParams {
|
|
961
961
|
/**
|
|
962
|
-
* ID of an existing
|
|
962
|
+
* ID of an existing account holder to provision the account for.
|
|
963
963
|
*/
|
|
964
964
|
account_holder_id: string;
|
|
965
965
|
/**
|
|
@@ -985,7 +985,7 @@ export interface AccountListParams extends CursorPageParams {
|
|
|
985
985
|
*/
|
|
986
986
|
account_number?: string;
|
|
987
987
|
/**
|
|
988
|
-
* ID of the account program to list
|
|
988
|
+
* ID of the account program to list accounts for.
|
|
989
989
|
*/
|
|
990
990
|
account_program_id?: string;
|
|
991
991
|
/**
|
package/resources/accounts.d.ts
CHANGED
|
@@ -959,7 +959,7 @@ export declare namespace AccountUnfreezeResponse {
|
|
|
959
959
|
}
|
|
960
960
|
export interface AccountCreateParams {
|
|
961
961
|
/**
|
|
962
|
-
* ID of an existing
|
|
962
|
+
* ID of an existing account holder to provision the account for.
|
|
963
963
|
*/
|
|
964
964
|
account_holder_id: string;
|
|
965
965
|
/**
|
|
@@ -985,7 +985,7 @@ export interface AccountListParams extends CursorPageParams {
|
|
|
985
985
|
*/
|
|
986
986
|
account_number?: string;
|
|
987
987
|
/**
|
|
988
|
-
* ID of the account program to list
|
|
988
|
+
* ID of the account program to list accounts for.
|
|
989
989
|
*/
|
|
990
990
|
account_program_id?: string;
|
|
991
991
|
/**
|
|
@@ -54,7 +54,7 @@ export declare class AccountPrograms extends APIResource {
|
|
|
54
54
|
*/
|
|
55
55
|
drain(id: string, body: AccountProgramDrainParams, options?: RequestOptions): APIPromise<AccountProgramDrainResponse>;
|
|
56
56
|
/**
|
|
57
|
-
* Freezes an existing account program and
|
|
57
|
+
* Freezes an existing account program and the accounts under it. This endpoint is
|
|
58
58
|
* unavailable in live production.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
@@ -67,8 +67,8 @@ export declare class AccountPrograms extends APIResource {
|
|
|
67
67
|
*/
|
|
68
68
|
freeze(id: string, options?: RequestOptions): APIPromise<AccountProgramFreezeResponse>;
|
|
69
69
|
/**
|
|
70
|
-
* Unfreezes an existing account program and
|
|
71
|
-
* unavailable in live production.
|
|
70
|
+
* Unfreezes an existing account program and the accounts under it. This endpoint
|
|
71
|
+
* is unavailable in live production.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* ```ts
|
|
@@ -54,7 +54,7 @@ export declare class AccountPrograms extends APIResource {
|
|
|
54
54
|
*/
|
|
55
55
|
drain(id: string, body: AccountProgramDrainParams, options?: RequestOptions): APIPromise<AccountProgramDrainResponse>;
|
|
56
56
|
/**
|
|
57
|
-
* Freezes an existing account program and
|
|
57
|
+
* Freezes an existing account program and the accounts under it. This endpoint is
|
|
58
58
|
* unavailable in live production.
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
@@ -67,8 +67,8 @@ export declare class AccountPrograms extends APIResource {
|
|
|
67
67
|
*/
|
|
68
68
|
freeze(id: string, options?: RequestOptions): APIPromise<AccountProgramFreezeResponse>;
|
|
69
69
|
/**
|
|
70
|
-
* Unfreezes an existing account program and
|
|
71
|
-
* unavailable in live production.
|
|
70
|
+
* Unfreezes an existing account program and the accounts under it. This endpoint
|
|
71
|
+
* is unavailable in live production.
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* ```ts
|
|
@@ -63,7 +63,7 @@ class AccountPrograms extends resource_1.APIResource {
|
|
|
63
63
|
return this._client.post((0, path_1.path) `/v1/simulations/account_programs/${id}/drain`, { body, ...options });
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
|
-
* Freezes an existing account program and
|
|
66
|
+
* Freezes an existing account program and the accounts under it. This endpoint is
|
|
67
67
|
* unavailable in live production.
|
|
68
68
|
*
|
|
69
69
|
* @example
|
|
@@ -78,8 +78,8 @@ class AccountPrograms extends resource_1.APIResource {
|
|
|
78
78
|
return this._client.post((0, path_1.path) `/v1/simulations/account_programs/${id}/freeze`, options);
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
|
-
* Unfreezes an existing account program and
|
|
82
|
-
* unavailable in live production.
|
|
81
|
+
* Unfreezes an existing account program and the accounts under it. This endpoint
|
|
82
|
+
* is unavailable in live production.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
85
85
|
* ```ts
|
|
@@ -60,7 +60,7 @@ export class AccountPrograms extends APIResource {
|
|
|
60
60
|
return this._client.post(path `/v1/simulations/account_programs/${id}/drain`, { body, ...options });
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* Freezes an existing account program and
|
|
63
|
+
* Freezes an existing account program and the accounts under it. This endpoint is
|
|
64
64
|
* unavailable in live production.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
@@ -75,8 +75,8 @@ export class AccountPrograms extends APIResource {
|
|
|
75
75
|
return this._client.post(path `/v1/simulations/account_programs/${id}/freeze`, options);
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
|
-
* Unfreezes an existing account program and
|
|
79
|
-
* unavailable in live production.
|
|
78
|
+
* Unfreezes an existing account program and the accounts under it. This endpoint
|
|
79
|
+
* is unavailable in live production.
|
|
80
80
|
*
|
|
81
81
|
* @example
|
|
82
82
|
* ```ts
|
|
@@ -28,8 +28,8 @@ export class AccountPrograms extends APIResource {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
31
|
-
* Returns the aggregated available balance
|
|
32
|
-
*
|
|
31
|
+
* Returns the aggregated available balance of all accounts under the account
|
|
32
|
+
* program.
|
|
33
33
|
*/
|
|
34
34
|
retrieveBalance(
|
|
35
35
|
id: string,
|
|
@@ -1251,7 +1251,7 @@ export namespace AccountUnfreezeResponse {
|
|
|
1251
1251
|
|
|
1252
1252
|
export interface AccountCreateParams {
|
|
1253
1253
|
/**
|
|
1254
|
-
* ID of an existing
|
|
1254
|
+
* ID of an existing account holder to provision the account for.
|
|
1255
1255
|
*/
|
|
1256
1256
|
account_holder_id: string;
|
|
1257
1257
|
|
|
@@ -1280,7 +1280,7 @@ export interface AccountListParams extends CursorPageParams {
|
|
|
1280
1280
|
account_number?: string;
|
|
1281
1281
|
|
|
1282
1282
|
/**
|
|
1283
|
-
* ID of the account program to list
|
|
1283
|
+
* ID of the account program to list accounts for.
|
|
1284
1284
|
*/
|
|
1285
1285
|
account_program_id?: string;
|
|
1286
1286
|
|
|
@@ -78,7 +78,7 @@ export class AccountPrograms extends APIResource {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
|
-
* Freezes an existing account program and
|
|
81
|
+
* Freezes an existing account program and the accounts under it. This endpoint is
|
|
82
82
|
* unavailable in live production.
|
|
83
83
|
*
|
|
84
84
|
* @example
|
|
@@ -94,8 +94,8 @@ export class AccountPrograms extends APIResource {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
|
-
* Unfreezes an existing account program and
|
|
98
|
-
* unavailable in live production.
|
|
97
|
+
* Unfreezes an existing account program and the accounts under it. This endpoint
|
|
98
|
+
* is unavailable in live production.
|
|
99
99
|
*
|
|
100
100
|
* @example
|
|
101
101
|
* ```ts
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.26.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.26.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.26.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.26.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|