@augustusbank/typescript-sdk 0.23.0 → 0.24.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.
Files changed (78) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/package.json +1 -1
  3. package/resources/account-holders.d.mts +40 -0
  4. package/resources/account-holders.d.mts.map +1 -1
  5. package/resources/account-holders.d.ts +40 -0
  6. package/resources/account-holders.d.ts.map +1 -1
  7. package/resources/accounts.d.mts +58 -3
  8. package/resources/accounts.d.mts.map +1 -1
  9. package/resources/accounts.d.ts +58 -3
  10. package/resources/accounts.d.ts.map +1 -1
  11. package/resources/conversions.d.mts +12 -4
  12. package/resources/conversions.d.mts.map +1 -1
  13. package/resources/conversions.d.ts +12 -4
  14. package/resources/conversions.d.ts.map +1 -1
  15. package/resources/counterparties.d.mts +88 -0
  16. package/resources/counterparties.d.mts.map +1 -1
  17. package/resources/counterparties.d.ts +88 -0
  18. package/resources/counterparties.d.ts.map +1 -1
  19. package/resources/counterparties.js +40 -0
  20. package/resources/counterparties.js.map +1 -1
  21. package/resources/counterparties.mjs +40 -0
  22. package/resources/counterparties.mjs.map +1 -1
  23. package/resources/payouts.d.mts +12 -4
  24. package/resources/payouts.d.mts.map +1 -1
  25. package/resources/payouts.d.ts +12 -4
  26. package/resources/payouts.d.ts.map +1 -1
  27. package/resources/returns.d.mts +32 -0
  28. package/resources/returns.d.mts.map +1 -1
  29. package/resources/returns.d.ts +32 -0
  30. package/resources/returns.d.ts.map +1 -1
  31. package/resources/simulations/counterparties.d.mts +32 -0
  32. package/resources/simulations/counterparties.d.mts.map +1 -0
  33. package/resources/simulations/counterparties.d.ts +32 -0
  34. package/resources/simulations/counterparties.d.ts.map +1 -0
  35. package/resources/simulations/counterparties.js +25 -0
  36. package/resources/simulations/counterparties.js.map +1 -0
  37. package/resources/simulations/counterparties.mjs +21 -0
  38. package/resources/simulations/counterparties.mjs.map +1 -0
  39. package/resources/simulations/index.d.mts +1 -0
  40. package/resources/simulations/index.d.mts.map +1 -1
  41. package/resources/simulations/index.d.ts +1 -0
  42. package/resources/simulations/index.d.ts.map +1 -1
  43. package/resources/simulations/index.js +3 -1
  44. package/resources/simulations/index.js.map +1 -1
  45. package/resources/simulations/index.mjs +1 -0
  46. package/resources/simulations/index.mjs.map +1 -1
  47. package/resources/simulations/simulations.d.mts +4 -0
  48. package/resources/simulations/simulations.d.mts.map +1 -1
  49. package/resources/simulations/simulations.d.ts +4 -0
  50. package/resources/simulations/simulations.d.ts.map +1 -1
  51. package/resources/simulations/simulations.js +4 -0
  52. package/resources/simulations/simulations.js.map +1 -1
  53. package/resources/simulations/simulations.mjs +4 -0
  54. package/resources/simulations/simulations.mjs.map +1 -1
  55. package/resources/webhook-subscriptions.d.mts +48 -0
  56. package/resources/webhook-subscriptions.d.mts.map +1 -1
  57. package/resources/webhook-subscriptions.d.ts +48 -0
  58. package/resources/webhook-subscriptions.d.ts.map +1 -1
  59. package/resources/webhooks.d.mts +80 -8
  60. package/resources/webhooks.d.mts.map +1 -1
  61. package/resources/webhooks.d.ts +80 -8
  62. package/resources/webhooks.d.ts.map +1 -1
  63. package/src/resources/account-holders.ts +35 -0
  64. package/src/resources/accounts.ts +51 -3
  65. package/src/resources/conversions.ts +12 -4
  66. package/src/resources/counterparties.ts +82 -0
  67. package/src/resources/payouts.ts +12 -4
  68. package/src/resources/returns.ts +28 -0
  69. package/src/resources/simulations/counterparties.ts +40 -0
  70. package/src/resources/simulations/index.ts +1 -0
  71. package/src/resources/simulations/simulations.ts +6 -0
  72. package/src/resources/webhook-subscriptions.ts +42 -0
  73. package/src/resources/webhooks.ts +73 -8
  74. package/src/version.ts +1 -1
  75. package/version.d.mts +1 -1
  76. package/version.d.ts +1 -1
  77. package/version.js +1 -1
  78. package/version.mjs +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.24.0](https://github.com/augustus/typescript-sdk/compare/v0.23.0...v0.24.0) (2026-09-10)
4
+
5
+
6
+ ### Features
7
+
8
+ * **api:** new sdk build due to api update ([7fa30e0](https://github.com/augustus/typescript-sdk/commit/7fa30e05ca6d2a294495153bf38863a794cc5a20))
9
+
3
10
  ## [0.23.0](https://github.com/augustus/typescript-sdk/compare/v0.22.2...v0.23.0) (2026-09-09)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augustusbank/typescript-sdk",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "The official TypeScript library for the Augustus API",
5
5
  "author": "Augustus <developer@augustus.com>",
6
6
  "types": "./index.d.ts",
@@ -100,6 +100,14 @@ export interface AccountHolderCreateResponse {
100
100
  * Type of the account holder.
101
101
  */
102
102
  holder_type: 'natural_person' | 'business';
103
+ /**
104
+ * Set of up to 50 key-value string pairs you can attach to store structured
105
+ * information, such as correlating this resource with an object in your own
106
+ * system. Keys may be up to 40 characters and values up to 500 characters.
107
+ */
108
+ metadata: {
109
+ [key: string]: string;
110
+ };
103
111
  /**
104
112
  * Current account holder status.
105
113
  */
@@ -820,6 +828,14 @@ export interface AccountHolderRetrieveResponse {
820
828
  * Type of the account holder.
821
829
  */
822
830
  holder_type: 'natural_person' | 'business';
831
+ /**
832
+ * Set of up to 50 key-value string pairs you can attach to store structured
833
+ * information, such as correlating this resource with an object in your own
834
+ * system. Keys may be up to 40 characters and values up to 500 characters.
835
+ */
836
+ metadata: {
837
+ [key: string]: string;
838
+ };
823
839
  /**
824
840
  * Current account holder status.
825
841
  */
@@ -1540,6 +1556,14 @@ export interface AccountHolderUpdateResponse {
1540
1556
  * Type of the account holder.
1541
1557
  */
1542
1558
  holder_type: 'natural_person' | 'business';
1559
+ /**
1560
+ * Set of up to 50 key-value string pairs you can attach to store structured
1561
+ * information, such as correlating this resource with an object in your own
1562
+ * system. Keys may be up to 40 characters and values up to 500 characters.
1563
+ */
1564
+ metadata: {
1565
+ [key: string]: string;
1566
+ };
1543
1567
  /**
1544
1568
  * Current account holder status.
1545
1569
  */
@@ -2260,6 +2284,14 @@ export interface AccountHolderListResponse {
2260
2284
  * Type of the account holder.
2261
2285
  */
2262
2286
  holder_type: 'natural_person' | 'business';
2287
+ /**
2288
+ * Set of up to 50 key-value string pairs you can attach to store structured
2289
+ * information, such as correlating this resource with an object in your own
2290
+ * system. Keys may be up to 40 characters and values up to 500 characters.
2291
+ */
2292
+ metadata: {
2293
+ [key: string]: string;
2294
+ };
2263
2295
  /**
2264
2296
  * Current account holder status.
2265
2297
  */
@@ -2976,6 +3008,14 @@ export interface AccountHolderCreateParams {
2976
3008
  * Type of the account holder.
2977
3009
  */
2978
3010
  holder_type: 'natural_person' | 'business';
3011
+ /**
3012
+ * Set of up to 50 key-value string pairs you can attach to store structured
3013
+ * information, such as correlating this resource with an object in your own
3014
+ * system. Keys may be up to 40 characters and values up to 500 characters.
3015
+ */
3016
+ metadata?: {
3017
+ [key: string]: string;
3018
+ } | null;
2979
3019
  }
2980
3020
  export declare namespace AccountHolderCreateParams {
2981
3021
  interface V1UsBeneficiaryData {