@augustusbank/typescript-sdk 0.34.0 → 0.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.
@@ -1421,11 +1421,14 @@ export namespace AccountHolderCreateResponse {
1421
1421
 
1422
1422
  /**
1423
1423
  * Business registration number: type "ein" (Employer Identification Number, format
1424
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
1424
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
1425
+ * other registration number, 1-32 characters, non-US businesses only, with a
1426
+ * required `description` of what the number is).
1425
1427
  */
1426
1428
  registration_number:
1427
1429
  | V1BusinessBeneficiaryDataResponse.V1EinIdentification
1428
- | V1BusinessBeneficiaryDataResponse.V1SsnIdentification;
1430
+ | V1BusinessBeneficiaryDataResponse.V1SsnIdentification
1431
+ | V1BusinessBeneficiaryDataResponse.V1OtherRegistrationNumber;
1429
1432
 
1430
1433
  /**
1431
1434
  * State or subdivision where the business is incorporated.
@@ -4012,6 +4015,21 @@ export namespace AccountHolderCreateResponse {
4012
4015
 
4013
4016
  value: string;
4014
4017
  }
4018
+
4019
+ export interface V1OtherRegistrationNumber {
4020
+ /**
4021
+ * A short explanation of what this number is and which authority issued it.
4022
+ */
4023
+ description: string;
4024
+
4025
+ type: 'other';
4026
+
4027
+ /**
4028
+ * The registration number, 1-32 characters. Any characters are allowed, but at
4029
+ * least one must be a letter or digit.
4030
+ */
4031
+ value: string;
4032
+ }
4015
4033
  }
4016
4034
  }
4017
4035
 
@@ -5329,11 +5347,14 @@ export namespace AccountHolderRetrieveResponse {
5329
5347
 
5330
5348
  /**
5331
5349
  * Business registration number: type "ein" (Employer Identification Number, format
5332
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
5350
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
5351
+ * other registration number, 1-32 characters, non-US businesses only, with a
5352
+ * required `description` of what the number is).
5333
5353
  */
5334
5354
  registration_number:
5335
5355
  | V1BusinessBeneficiaryDataResponse.V1EinIdentification
5336
- | V1BusinessBeneficiaryDataResponse.V1SsnIdentification;
5356
+ | V1BusinessBeneficiaryDataResponse.V1SsnIdentification
5357
+ | V1BusinessBeneficiaryDataResponse.V1OtherRegistrationNumber;
5337
5358
 
5338
5359
  /**
5339
5360
  * State or subdivision where the business is incorporated.
@@ -7920,6 +7941,21 @@ export namespace AccountHolderRetrieveResponse {
7920
7941
 
7921
7942
  value: string;
7922
7943
  }
7944
+
7945
+ export interface V1OtherRegistrationNumber {
7946
+ /**
7947
+ * A short explanation of what this number is and which authority issued it.
7948
+ */
7949
+ description: string;
7950
+
7951
+ type: 'other';
7952
+
7953
+ /**
7954
+ * The registration number, 1-32 characters. Any characters are allowed, but at
7955
+ * least one must be a letter or digit.
7956
+ */
7957
+ value: string;
7958
+ }
7923
7959
  }
7924
7960
  }
7925
7961
 
@@ -9237,11 +9273,14 @@ export namespace AccountHolderUpdateResponse {
9237
9273
 
9238
9274
  /**
9239
9275
  * Business registration number: type "ein" (Employer Identification Number, format
9240
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
9276
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
9277
+ * other registration number, 1-32 characters, non-US businesses only, with a
9278
+ * required `description` of what the number is).
9241
9279
  */
9242
9280
  registration_number:
9243
9281
  | V1BusinessBeneficiaryDataResponse.V1EinIdentification
9244
- | V1BusinessBeneficiaryDataResponse.V1SsnIdentification;
9282
+ | V1BusinessBeneficiaryDataResponse.V1SsnIdentification
9283
+ | V1BusinessBeneficiaryDataResponse.V1OtherRegistrationNumber;
9245
9284
 
9246
9285
  /**
9247
9286
  * State or subdivision where the business is incorporated.
@@ -11828,6 +11867,21 @@ export namespace AccountHolderUpdateResponse {
11828
11867
 
11829
11868
  value: string;
11830
11869
  }
11870
+
11871
+ export interface V1OtherRegistrationNumber {
11872
+ /**
11873
+ * A short explanation of what this number is and which authority issued it.
11874
+ */
11875
+ description: string;
11876
+
11877
+ type: 'other';
11878
+
11879
+ /**
11880
+ * The registration number, 1-32 characters. Any characters are allowed, but at
11881
+ * least one must be a letter or digit.
11882
+ */
11883
+ value: string;
11884
+ }
11831
11885
  }
11832
11886
  }
11833
11887
 
@@ -13145,11 +13199,14 @@ export namespace AccountHolderListResponse {
13145
13199
 
13146
13200
  /**
13147
13201
  * Business registration number: type "ein" (Employer Identification Number, format
13148
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
13202
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
13203
+ * other registration number, 1-32 characters, non-US businesses only, with a
13204
+ * required `description` of what the number is).
13149
13205
  */
13150
13206
  registration_number:
13151
13207
  | V1BusinessBeneficiaryDataResponse.V1EinIdentification
13152
- | V1BusinessBeneficiaryDataResponse.V1SsnIdentification;
13208
+ | V1BusinessBeneficiaryDataResponse.V1SsnIdentification
13209
+ | V1BusinessBeneficiaryDataResponse.V1OtherRegistrationNumber;
13153
13210
 
13154
13211
  /**
13155
13212
  * State or subdivision where the business is incorporated.
@@ -15736,6 +15793,21 @@ export namespace AccountHolderListResponse {
15736
15793
 
15737
15794
  value: string;
15738
15795
  }
15796
+
15797
+ export interface V1OtherRegistrationNumber {
15798
+ /**
15799
+ * A short explanation of what this number is and which authority issued it.
15800
+ */
15801
+ description: string;
15802
+
15803
+ type: 'other';
15804
+
15805
+ /**
15806
+ * The registration number, 1-32 characters. Any characters are allowed, but at
15807
+ * least one must be a letter or digit.
15808
+ */
15809
+ value: string;
15810
+ }
15739
15811
  }
15740
15812
  }
15741
15813
 
@@ -17028,11 +17100,14 @@ export namespace AccountHolderCreateParams {
17028
17100
 
17029
17101
  /**
17030
17102
  * Business registration number: type "ein" (Employer Identification Number, format
17031
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
17103
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
17104
+ * other registration number, 1-32 characters, non-US businesses only, with a
17105
+ * required `description` of what the number is).
17032
17106
  */
17033
17107
  registration_number:
17034
17108
  | V1BusinessBeneficiaryData.V1EinIdentification
17035
- | V1BusinessBeneficiaryData.V1SsnIdentification;
17109
+ | V1BusinessBeneficiaryData.V1SsnIdentification
17110
+ | V1BusinessBeneficiaryData.V1OtherRegistrationNumber;
17036
17111
 
17037
17112
  /**
17038
17113
  * State or subdivision where the business is incorporated.
@@ -19626,6 +19701,21 @@ export namespace AccountHolderCreateParams {
19626
19701
 
19627
19702
  value: string;
19628
19703
  }
19704
+
19705
+ export interface V1OtherRegistrationNumber {
19706
+ /**
19707
+ * A short explanation of what this number is and which authority issued it.
19708
+ */
19709
+ description: string;
19710
+
19711
+ type: 'other';
19712
+
19713
+ /**
19714
+ * The registration number, 1-32 characters. Any characters are allowed, but at
19715
+ * least one must be a letter or digit.
19716
+ */
19717
+ value: string;
19718
+ }
19629
19719
  }
19630
19720
  }
19631
19721
 
@@ -20901,11 +20991,14 @@ export namespace AccountHolderUpdateParams {
20901
20991
 
20902
20992
  /**
20903
20993
  * Business registration number: type "ein" (Employer Identification Number, format
20904
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
20994
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
20995
+ * other registration number, 1-32 characters, non-US businesses only, with a
20996
+ * required `description` of what the number is).
20905
20997
  */
20906
20998
  registration_number:
20907
20999
  | V1BusinessBeneficiaryData.V1EinIdentification
20908
- | V1BusinessBeneficiaryData.V1SsnIdentification;
21000
+ | V1BusinessBeneficiaryData.V1SsnIdentification
21001
+ | V1BusinessBeneficiaryData.V1OtherRegistrationNumber;
20909
21002
 
20910
21003
  /**
20911
21004
  * State or subdivision where the business is incorporated.
@@ -23499,6 +23592,21 @@ export namespace AccountHolderUpdateParams {
23499
23592
 
23500
23593
  value: string;
23501
23594
  }
23595
+
23596
+ export interface V1OtherRegistrationNumber {
23597
+ /**
23598
+ * A short explanation of what this number is and which authority issued it.
23599
+ */
23600
+ description: string;
23601
+
23602
+ type: 'other';
23603
+
23604
+ /**
23605
+ * The registration number, 1-32 characters. Any characters are allowed, but at
23606
+ * least one must be a letter or digit.
23607
+ */
23608
+ value: string;
23609
+ }
23502
23610
  }
23503
23611
  }
23504
23612
 
@@ -97,7 +97,7 @@ export interface ConversionCreateResponse {
97
97
  /**
98
98
  * Current status of the conversion.
99
99
  */
100
- status: 'pending' | 'completed' | 'failed';
100
+ status: 'initiated' | 'pending' | 'completed' | 'failed';
101
101
 
102
102
  /**
103
103
  * ID of the target account, or null.
@@ -156,7 +156,7 @@ export interface ConversionRetrieveResponse {
156
156
  /**
157
157
  * Current status of the conversion.
158
158
  */
159
- status: 'pending' | 'completed' | 'failed';
159
+ status: 'initiated' | 'pending' | 'completed' | 'failed';
160
160
 
161
161
  /**
162
162
  * ID of the target account, or null.
@@ -215,7 +215,7 @@ export interface ConversionListResponse {
215
215
  /**
216
216
  * Current status of the conversion.
217
217
  */
218
- status: 'pending' | 'completed' | 'failed';
218
+ status: 'initiated' | 'pending' | 'completed' | 'failed';
219
219
 
220
220
  /**
221
221
  * ID of the target account, or null.
@@ -271,7 +271,7 @@ export interface ConversionListParams extends CursorPageParams {
271
271
  /**
272
272
  * Filter by conversion status.
273
273
  */
274
- status?: 'pending' | 'completed' | 'failed';
274
+ status?: 'initiated' | 'pending' | 'completed' | 'failed';
275
275
 
276
276
  /**
277
277
  * Filter by target currency code.
@@ -579,7 +579,7 @@ export namespace TransactionRetrieveResponse {
579
579
  /**
580
580
  * Type of the resource that originated this transaction.
581
581
  */
582
- type: 'deposit' | 'payout' | 'return';
582
+ type: 'deposit' | 'payout' | 'return' | 'conversion';
583
583
  }
584
584
  }
585
585
 
@@ -1132,7 +1132,7 @@ export namespace TransactionListResponse {
1132
1132
  /**
1133
1133
  * Type of the resource that originated this transaction.
1134
1134
  */
1135
- type: 'deposit' | 'payout' | 'return';
1135
+ type: 'deposit' | 'payout' | 'return' | 'conversion';
1136
1136
  }
1137
1137
  }
1138
1138
 
@@ -3567,7 +3567,7 @@ export namespace ConversionCreatedWebhookEvent {
3567
3567
  /**
3568
3568
  * Current status of the conversion.
3569
3569
  */
3570
- status: 'pending' | 'completed' | 'failed';
3570
+ status: 'initiated' | 'pending' | 'completed' | 'failed';
3571
3571
 
3572
3572
  /**
3573
3573
  * ID of the target account, or null.
@@ -3658,7 +3658,7 @@ export namespace ConversionCompletedWebhookEvent {
3658
3658
  /**
3659
3659
  * Current status of the conversion.
3660
3660
  */
3661
- status: 'pending' | 'completed' | 'failed';
3661
+ status: 'initiated' | 'pending' | 'completed' | 'failed';
3662
3662
 
3663
3663
  /**
3664
3664
  * ID of the target account, or null.
@@ -3749,7 +3749,7 @@ export namespace ConversionFailedWebhookEvent {
3749
3749
  /**
3750
3750
  * Current status of the conversion.
3751
3751
  */
3752
- status: 'pending' | 'completed' | 'failed';
3752
+ status: 'initiated' | 'pending' | 'completed' | 'failed';
3753
3753
 
3754
3754
  /**
3755
3755
  * ID of the target account, or null.
@@ -5118,11 +5118,14 @@ export namespace AccountHolderActiveWebhookEvent {
5118
5118
 
5119
5119
  /**
5120
5120
  * Business registration number: type "ein" (Employer Identification Number, format
5121
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
5121
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
5122
+ * other registration number, 1-32 characters, non-US businesses only, with a
5123
+ * required `description` of what the number is).
5122
5124
  */
5123
5125
  registration_number:
5124
5126
  | V1BusinessBeneficiaryDataResponse.V1EinIdentification
5125
- | V1BusinessBeneficiaryDataResponse.V1SsnIdentification;
5127
+ | V1BusinessBeneficiaryDataResponse.V1SsnIdentification
5128
+ | V1BusinessBeneficiaryDataResponse.V1OtherRegistrationNumber;
5126
5129
 
5127
5130
  /**
5128
5131
  * State or subdivision where the business is incorporated.
@@ -7709,6 +7712,21 @@ export namespace AccountHolderActiveWebhookEvent {
7709
7712
 
7710
7713
  value: string;
7711
7714
  }
7715
+
7716
+ export interface V1OtherRegistrationNumber {
7717
+ /**
7718
+ * A short explanation of what this number is and which authority issued it.
7719
+ */
7720
+ description: string;
7721
+
7722
+ type: 'other';
7723
+
7724
+ /**
7725
+ * The registration number, 1-32 characters. Any characters are allowed, but at
7726
+ * least one must be a letter or digit.
7727
+ */
7728
+ value: string;
7729
+ }
7712
7730
  }
7713
7731
  }
7714
7732
  }
@@ -9058,11 +9076,14 @@ export namespace AccountHolderClosedWebhookEvent {
9058
9076
 
9059
9077
  /**
9060
9078
  * Business registration number: type "ein" (Employer Identification Number, format
9061
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
9079
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
9080
+ * other registration number, 1-32 characters, non-US businesses only, with a
9081
+ * required `description` of what the number is).
9062
9082
  */
9063
9083
  registration_number:
9064
9084
  | V1BusinessBeneficiaryDataResponse.V1EinIdentification
9065
- | V1BusinessBeneficiaryDataResponse.V1SsnIdentification;
9085
+ | V1BusinessBeneficiaryDataResponse.V1SsnIdentification
9086
+ | V1BusinessBeneficiaryDataResponse.V1OtherRegistrationNumber;
9066
9087
 
9067
9088
  /**
9068
9089
  * State or subdivision where the business is incorporated.
@@ -11649,6 +11670,21 @@ export namespace AccountHolderClosedWebhookEvent {
11649
11670
 
11650
11671
  value: string;
11651
11672
  }
11673
+
11674
+ export interface V1OtherRegistrationNumber {
11675
+ /**
11676
+ * A short explanation of what this number is and which authority issued it.
11677
+ */
11678
+ description: string;
11679
+
11680
+ type: 'other';
11681
+
11682
+ /**
11683
+ * The registration number, 1-32 characters. Any characters are allowed, but at
11684
+ * least one must be a letter or digit.
11685
+ */
11686
+ value: string;
11687
+ }
11652
11688
  }
11653
11689
  }
11654
11690
  }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.34.0'; // x-release-please-version
1
+ export const VERSION = '0.35.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.34.0";
1
+ export declare const VERSION = "0.35.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.34.0";
1
+ export declare const VERSION = "0.35.0";
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.34.0'; // x-release-please-version
4
+ exports.VERSION = '0.35.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.34.0'; // x-release-please-version
1
+ export const VERSION = '0.35.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map