@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.
@@ -1333,7 +1333,7 @@ export declare namespace ConversionCreatedWebhookEvent {
1333
1333
  /**
1334
1334
  * Current status of the conversion.
1335
1335
  */
1336
- status: 'pending' | 'completed' | 'failed';
1336
+ status: 'initiated' | 'pending' | 'completed' | 'failed';
1337
1337
  /**
1338
1338
  * ID of the target account, or null.
1339
1339
  */
@@ -1410,7 +1410,7 @@ export declare namespace ConversionCompletedWebhookEvent {
1410
1410
  /**
1411
1411
  * Current status of the conversion.
1412
1412
  */
1413
- status: 'pending' | 'completed' | 'failed';
1413
+ status: 'initiated' | 'pending' | 'completed' | 'failed';
1414
1414
  /**
1415
1415
  * ID of the target account, or null.
1416
1416
  */
@@ -1487,7 +1487,7 @@ export declare namespace ConversionFailedWebhookEvent {
1487
1487
  /**
1488
1488
  * Current status of the conversion.
1489
1489
  */
1490
- status: 'pending' | 'completed' | 'failed';
1490
+ status: 'initiated' | 'pending' | 'completed' | 'failed';
1491
1491
  /**
1492
1492
  * ID of the target account, or null.
1493
1493
  */
@@ -1779,9 +1779,11 @@ export declare namespace AccountHolderActiveWebhookEvent {
1779
1779
  registered_address: V1BusinessBeneficiaryDataResponse.V1UsResidentialAddress | V1BusinessBeneficiaryDataResponse.V1NonUsResidentialAddress;
1780
1780
  /**
1781
1781
  * Business registration number: type "ein" (Employer Identification Number, format
1782
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
1782
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
1783
+ * other registration number, 1-32 characters, non-US businesses only, with a
1784
+ * required `description` of what the number is).
1783
1785
  */
1784
- registration_number: V1BusinessBeneficiaryDataResponse.V1EinIdentification | V1BusinessBeneficiaryDataResponse.V1SsnIdentification;
1786
+ registration_number: V1BusinessBeneficiaryDataResponse.V1EinIdentification | V1BusinessBeneficiaryDataResponse.V1SsnIdentification | V1BusinessBeneficiaryDataResponse.V1OtherRegistrationNumber;
1785
1787
  /**
1786
1788
  * State or subdivision where the business is incorporated.
1787
1789
  */
@@ -2258,6 +2260,18 @@ export declare namespace AccountHolderActiveWebhookEvent {
2258
2260
  type: 'ssn';
2259
2261
  value: string;
2260
2262
  }
2263
+ interface V1OtherRegistrationNumber {
2264
+ /**
2265
+ * A short explanation of what this number is and which authority issued it.
2266
+ */
2267
+ description: string;
2268
+ type: 'other';
2269
+ /**
2270
+ * The registration number, 1-32 characters. Any characters are allowed, but at
2271
+ * least one must be a letter or digit.
2272
+ */
2273
+ value: string;
2274
+ }
2261
2275
  }
2262
2276
  }
2263
2277
  }
@@ -2534,9 +2548,11 @@ export declare namespace AccountHolderClosedWebhookEvent {
2534
2548
  registered_address: V1BusinessBeneficiaryDataResponse.V1UsResidentialAddress | V1BusinessBeneficiaryDataResponse.V1NonUsResidentialAddress;
2535
2549
  /**
2536
2550
  * Business registration number: type "ein" (Employer Identification Number, format
2537
- * ##-#######) or "ssn" (Social Security Number, format ###-##-####).
2551
+ * ##-#######), "ssn" (Social Security Number, format ###-##-####), or "other" (any
2552
+ * other registration number, 1-32 characters, non-US businesses only, with a
2553
+ * required `description` of what the number is).
2538
2554
  */
2539
- registration_number: V1BusinessBeneficiaryDataResponse.V1EinIdentification | V1BusinessBeneficiaryDataResponse.V1SsnIdentification;
2555
+ registration_number: V1BusinessBeneficiaryDataResponse.V1EinIdentification | V1BusinessBeneficiaryDataResponse.V1SsnIdentification | V1BusinessBeneficiaryDataResponse.V1OtherRegistrationNumber;
2540
2556
  /**
2541
2557
  * State or subdivision where the business is incorporated.
2542
2558
  */
@@ -3013,6 +3029,18 @@ export declare namespace AccountHolderClosedWebhookEvent {
3013
3029
  type: 'ssn';
3014
3030
  value: string;
3015
3031
  }
3032
+ interface V1OtherRegistrationNumber {
3033
+ /**
3034
+ * A short explanation of what this number is and which authority issued it.
3035
+ */
3036
+ description: string;
3037
+ type: 'other';
3038
+ /**
3039
+ * The registration number, 1-32 characters. Any characters are allowed, but at
3040
+ * least one must be a letter or digit.
3041
+ */
3042
+ value: string;
3043
+ }
3016
3044
  }
3017
3045
  }
3018
3046
  }