@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.
@@ -327,9 +327,11 @@ export declare namespace AccountHolderCreateResponse {
327
327
  registered_address: V1BusinessBeneficiaryDataResponse.V1UsResidentialAddress | V1BusinessBeneficiaryDataResponse.V1NonUsResidentialAddress;
328
328
  /**
329
329
  * Business registration number: type "ein" (Employer Identification Number, format
330
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
330
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
331
+ * other registration number, 1-32 characters, non-US businesses only, with a
332
+ * required `description` of what the number is).
331
333
  */
332
- registration_number: V1BusinessBeneficiaryDataResponse.V1EinIdentification | V1BusinessBeneficiaryDataResponse.V1SsnIdentification;
334
+ registration_number: V1BusinessBeneficiaryDataResponse.V1EinIdentification | V1BusinessBeneficiaryDataResponse.V1SsnIdentification | V1BusinessBeneficiaryDataResponse.V1OtherRegistrationNumber;
333
335
  /**
334
336
  * State or subdivision where the business is incorporated.
335
337
  */
@@ -806,6 +808,18 @@ export declare namespace AccountHolderCreateResponse {
806
808
  type: 'ssn';
807
809
  value: string;
808
810
  }
811
+ interface V1OtherRegistrationNumber {
812
+ /**
813
+ * A short explanation of what this number is and which authority issued it.
814
+ */
815
+ description: string;
816
+ type: 'other';
817
+ /**
818
+ * The registration number, 1-32 characters. Any characters are allowed, but at
819
+ * least one must be a letter or digit.
820
+ */
821
+ value: string;
822
+ }
809
823
  }
810
824
  }
811
825
  export interface AccountHolderRetrieveResponse {
@@ -1055,9 +1069,11 @@ export declare namespace AccountHolderRetrieveResponse {
1055
1069
  registered_address: V1BusinessBeneficiaryDataResponse.V1UsResidentialAddress | V1BusinessBeneficiaryDataResponse.V1NonUsResidentialAddress;
1056
1070
  /**
1057
1071
  * Business registration number: type "ein" (Employer Identification Number, format
1058
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
1072
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
1073
+ * other registration number, 1-32 characters, non-US businesses only, with a
1074
+ * required `description` of what the number is).
1059
1075
  */
1060
- registration_number: V1BusinessBeneficiaryDataResponse.V1EinIdentification | V1BusinessBeneficiaryDataResponse.V1SsnIdentification;
1076
+ registration_number: V1BusinessBeneficiaryDataResponse.V1EinIdentification | V1BusinessBeneficiaryDataResponse.V1SsnIdentification | V1BusinessBeneficiaryDataResponse.V1OtherRegistrationNumber;
1061
1077
  /**
1062
1078
  * State or subdivision where the business is incorporated.
1063
1079
  */
@@ -1534,6 +1550,18 @@ export declare namespace AccountHolderRetrieveResponse {
1534
1550
  type: 'ssn';
1535
1551
  value: string;
1536
1552
  }
1553
+ interface V1OtherRegistrationNumber {
1554
+ /**
1555
+ * A short explanation of what this number is and which authority issued it.
1556
+ */
1557
+ description: string;
1558
+ type: 'other';
1559
+ /**
1560
+ * The registration number, 1-32 characters. Any characters are allowed, but at
1561
+ * least one must be a letter or digit.
1562
+ */
1563
+ value: string;
1564
+ }
1537
1565
  }
1538
1566
  }
1539
1567
  export interface AccountHolderUpdateResponse {
@@ -1783,9 +1811,11 @@ export declare namespace AccountHolderUpdateResponse {
1783
1811
  registered_address: V1BusinessBeneficiaryDataResponse.V1UsResidentialAddress | V1BusinessBeneficiaryDataResponse.V1NonUsResidentialAddress;
1784
1812
  /**
1785
1813
  * Business registration number: type "ein" (Employer Identification Number, format
1786
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
1814
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
1815
+ * other registration number, 1-32 characters, non-US businesses only, with a
1816
+ * required `description` of what the number is).
1787
1817
  */
1788
- registration_number: V1BusinessBeneficiaryDataResponse.V1EinIdentification | V1BusinessBeneficiaryDataResponse.V1SsnIdentification;
1818
+ registration_number: V1BusinessBeneficiaryDataResponse.V1EinIdentification | V1BusinessBeneficiaryDataResponse.V1SsnIdentification | V1BusinessBeneficiaryDataResponse.V1OtherRegistrationNumber;
1789
1819
  /**
1790
1820
  * State or subdivision where the business is incorporated.
1791
1821
  */
@@ -2262,6 +2292,18 @@ export declare namespace AccountHolderUpdateResponse {
2262
2292
  type: 'ssn';
2263
2293
  value: string;
2264
2294
  }
2295
+ interface V1OtherRegistrationNumber {
2296
+ /**
2297
+ * A short explanation of what this number is and which authority issued it.
2298
+ */
2299
+ description: string;
2300
+ type: 'other';
2301
+ /**
2302
+ * The registration number, 1-32 characters. Any characters are allowed, but at
2303
+ * least one must be a letter or digit.
2304
+ */
2305
+ value: string;
2306
+ }
2265
2307
  }
2266
2308
  }
2267
2309
  export interface AccountHolderListResponse {
@@ -2511,9 +2553,11 @@ export declare namespace AccountHolderListResponse {
2511
2553
  registered_address: V1BusinessBeneficiaryDataResponse.V1UsResidentialAddress | V1BusinessBeneficiaryDataResponse.V1NonUsResidentialAddress;
2512
2554
  /**
2513
2555
  * Business registration number: type "ein" (Employer Identification Number, format
2514
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
2556
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
2557
+ * other registration number, 1-32 characters, non-US businesses only, with a
2558
+ * required `description` of what the number is).
2515
2559
  */
2516
- registration_number: V1BusinessBeneficiaryDataResponse.V1EinIdentification | V1BusinessBeneficiaryDataResponse.V1SsnIdentification;
2560
+ registration_number: V1BusinessBeneficiaryDataResponse.V1EinIdentification | V1BusinessBeneficiaryDataResponse.V1SsnIdentification | V1BusinessBeneficiaryDataResponse.V1OtherRegistrationNumber;
2517
2561
  /**
2518
2562
  * State or subdivision where the business is incorporated.
2519
2563
  */
@@ -2990,6 +3034,18 @@ export declare namespace AccountHolderListResponse {
2990
3034
  type: 'ssn';
2991
3035
  value: string;
2992
3036
  }
3037
+ interface V1OtherRegistrationNumber {
3038
+ /**
3039
+ * A short explanation of what this number is and which authority issued it.
3040
+ */
3041
+ description: string;
3042
+ type: 'other';
3043
+ /**
3044
+ * The registration number, 1-32 characters. Any characters are allowed, but at
3045
+ * least one must be a letter or digit.
3046
+ */
3047
+ value: string;
3048
+ }
2993
3049
  }
2994
3050
  }
2995
3051
  export interface AccountHolderCreateParams {
@@ -3223,9 +3279,11 @@ export declare namespace AccountHolderCreateParams {
3223
3279
  registered_address: V1BusinessBeneficiaryData.V1UsResidentialAddressRequest | V1BusinessBeneficiaryData.V1NonUsResidentialAddressRequest;
3224
3280
  /**
3225
3281
  * Business registration number: type "ein" (Employer Identification Number, format
3226
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
3282
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
3283
+ * other registration number, 1-32 characters, non-US businesses only, with a
3284
+ * required `description` of what the number is).
3227
3285
  */
3228
- registration_number: V1BusinessBeneficiaryData.V1EinIdentification | V1BusinessBeneficiaryData.V1SsnIdentification;
3286
+ registration_number: V1BusinessBeneficiaryData.V1EinIdentification | V1BusinessBeneficiaryData.V1SsnIdentification | V1BusinessBeneficiaryData.V1OtherRegistrationNumber;
3229
3287
  /**
3230
3288
  * State or subdivision where the business is incorporated.
3231
3289
  */
@@ -3706,6 +3764,18 @@ export declare namespace AccountHolderCreateParams {
3706
3764
  type: 'ssn';
3707
3765
  value: string;
3708
3766
  }
3767
+ interface V1OtherRegistrationNumber {
3768
+ /**
3769
+ * A short explanation of what this number is and which authority issued it.
3770
+ */
3771
+ description: string;
3772
+ type: 'other';
3773
+ /**
3774
+ * The registration number, 1-32 characters. Any characters are allowed, but at
3775
+ * least one must be a letter or digit.
3776
+ */
3777
+ value: string;
3778
+ }
3709
3779
  }
3710
3780
  }
3711
3781
  export interface AccountHolderUpdateParams {
@@ -3923,9 +3993,11 @@ export declare namespace AccountHolderUpdateParams {
3923
3993
  registered_address: V1BusinessBeneficiaryData.V1UsResidentialAddressRequest | V1BusinessBeneficiaryData.V1NonUsResidentialAddressRequest;
3924
3994
  /**
3925
3995
  * Business registration number: type "ein" (Employer Identification Number, format
3926
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
3996
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
3997
+ * other registration number, 1-32 characters, non-US businesses only, with a
3998
+ * required `description` of what the number is).
3927
3999
  */
3928
- registration_number: V1BusinessBeneficiaryData.V1EinIdentification | V1BusinessBeneficiaryData.V1SsnIdentification;
4000
+ registration_number: V1BusinessBeneficiaryData.V1EinIdentification | V1BusinessBeneficiaryData.V1SsnIdentification | V1BusinessBeneficiaryData.V1OtherRegistrationNumber;
3929
4001
  /**
3930
4002
  * State or subdivision where the business is incorporated.
3931
4003
  */
@@ -4406,6 +4478,18 @@ export declare namespace AccountHolderUpdateParams {
4406
4478
  type: 'ssn';
4407
4479
  value: string;
4408
4480
  }
4481
+ interface V1OtherRegistrationNumber {
4482
+ /**
4483
+ * A short explanation of what this number is and which authority issued it.
4484
+ */
4485
+ description: string;
4486
+ type: 'other';
4487
+ /**
4488
+ * The registration number, 1-32 characters. Any characters are allowed, but at
4489
+ * least one must be a letter or digit.
4490
+ */
4491
+ value: string;
4492
+ }
4409
4493
  }
4410
4494
  }
4411
4495
  export interface AccountHolderListParams extends CursorPageParams {