increase 0.29.0 → 0.31.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 +26 -0
- package/error.d.ts +0 -14
- package/error.d.ts.map +1 -1
- package/error.js +1 -29
- package/error.js.map +1 -1
- package/error.mjs +0 -26
- package/error.mjs.map +1 -1
- package/index.d.mts +1 -3
- package/index.d.ts +1 -3
- package/index.d.ts.map +1 -1
- package/index.js +2 -4
- package/index.js.map +1 -1
- package/index.mjs +1 -3
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/account-numbers.d.ts +20 -0
- package/resources/account-numbers.d.ts.map +1 -1
- package/resources/account-numbers.js.map +1 -1
- package/resources/account-numbers.mjs.map +1 -1
- package/resources/ach-prenotifications.d.ts +2 -1
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.d.ts +15 -17
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/check-transfers.d.ts +5 -5
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/physical-card-profiles.d.ts +23 -0
- package/resources/physical-card-profiles.d.ts.map +1 -1
- package/resources/physical-card-profiles.js.map +1 -1
- package/resources/physical-card-profiles.mjs.map +1 -1
- package/resources/physical-cards.d.ts +2 -1
- package/resources/physical-cards.d.ts.map +1 -1
- package/resources/physical-cards.js.map +1 -1
- package/resources/physical-cards.mjs.map +1 -1
- package/src/error.ts +0 -58
- package/src/index.ts +0 -4
- package/src/resources/account-numbers.ts +22 -0
- package/src/resources/ach-prenotifications.ts +2 -0
- package/src/resources/ach-transfers.ts +15 -15
- package/src/resources/check-transfers.ts +6 -6
- package/src/resources/physical-card-profiles.ts +26 -0
- package/src/resources/physical-cards.ts +2 -1
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -226,11 +226,13 @@ export interface ACHTransfer {
|
|
|
226
226
|
* The Standard Entry Class (SEC) code to use for the transfer.
|
|
227
227
|
*
|
|
228
228
|
* - `corporate_credit_or_debit` - Corporate Credit and Debit (CCD).
|
|
229
|
+
* - `corporate_trade_exchange` - Corporate Trade Exchange (CTX).
|
|
229
230
|
* - `prearranged_payments_and_deposit` - Prearranged Payments and Deposits (PPD).
|
|
230
231
|
* - `internet_initiated` - Internet Initiated (WEB).
|
|
231
232
|
*/
|
|
232
233
|
standard_entry_class_code:
|
|
233
234
|
| 'corporate_credit_or_debit'
|
|
235
|
+
| 'corporate_trade_exchange'
|
|
234
236
|
| 'prearranged_payments_and_deposit'
|
|
235
237
|
| 'internet_initiated';
|
|
236
238
|
|
|
@@ -306,33 +308,30 @@ export namespace ACHTransfer {
|
|
|
306
308
|
* The type of the resource. We may add additional possible values for this enum
|
|
307
309
|
* over time; your application should be able to handle such additions gracefully.
|
|
308
310
|
*
|
|
309
|
-
* - `freeform` -
|
|
310
|
-
*
|
|
311
|
-
* - `payment_order_remittance_advice` -
|
|
312
|
-
*
|
|
313
|
-
*
|
|
311
|
+
* - `freeform` - Unstructured `payment_related_information` passed through with
|
|
312
|
+
* the transfer.
|
|
313
|
+
* - `payment_order_remittance_advice` - Structured ASC X12 820 remittance advice
|
|
314
|
+
* records. Please reach out to
|
|
315
|
+
* [support@increase.com](mailto:support@increase.com) for more information.
|
|
314
316
|
* - `other` - Unknown addenda type.
|
|
315
317
|
*/
|
|
316
318
|
category: 'freeform' | 'payment_order_remittance_advice' | 'other';
|
|
317
319
|
|
|
318
320
|
/**
|
|
319
|
-
*
|
|
320
|
-
* response if and only if `category` is equal to `freeform`.
|
|
321
|
+
* Unstructured `payment_related_information` passed through with the transfer.
|
|
321
322
|
*/
|
|
322
323
|
freeform: Addenda.Freeform | null;
|
|
323
324
|
|
|
324
325
|
/**
|
|
325
|
-
*
|
|
326
|
-
*
|
|
327
|
-
* `payment_order_remittance_advice`.
|
|
326
|
+
* Structured ASC X12 820 remittance advice records. Please reach out to
|
|
327
|
+
* [support@increase.com](mailto:support@increase.com) for more information.
|
|
328
328
|
*/
|
|
329
329
|
payment_order_remittance_advice: Addenda.PaymentOrderRemittanceAdvice | null;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
export namespace Addenda {
|
|
333
333
|
/**
|
|
334
|
-
*
|
|
335
|
-
* response if and only if `category` is equal to `freeform`.
|
|
334
|
+
* Unstructured `payment_related_information` passed through with the transfer.
|
|
336
335
|
*/
|
|
337
336
|
export interface Freeform {
|
|
338
337
|
/**
|
|
@@ -351,9 +350,8 @@ export namespace ACHTransfer {
|
|
|
351
350
|
}
|
|
352
351
|
|
|
353
352
|
/**
|
|
354
|
-
*
|
|
355
|
-
*
|
|
356
|
-
* `payment_order_remittance_advice`.
|
|
353
|
+
* Structured ASC X12 820 remittance advice records. Please reach out to
|
|
354
|
+
* [support@increase.com](mailto:support@increase.com) for more information.
|
|
357
355
|
*/
|
|
358
356
|
export interface PaymentOrderRemittanceAdvice {
|
|
359
357
|
/**
|
|
@@ -895,11 +893,13 @@ export interface ACHTransferCreateParams {
|
|
|
895
893
|
* The Standard Entry Class (SEC) code to use for the transfer.
|
|
896
894
|
*
|
|
897
895
|
* - `corporate_credit_or_debit` - Corporate Credit and Debit (CCD).
|
|
896
|
+
* - `corporate_trade_exchange` - Corporate Trade Exchange (CTX).
|
|
898
897
|
* - `prearranged_payments_and_deposit` - Prearranged Payments and Deposits (PPD).
|
|
899
898
|
* - `internet_initiated` - Internet Initiated (WEB).
|
|
900
899
|
*/
|
|
901
900
|
standard_entry_class_code?:
|
|
902
901
|
| 'corporate_credit_or_debit'
|
|
902
|
+
| 'corporate_trade_exchange'
|
|
903
903
|
| 'prearranged_payments_and_deposit'
|
|
904
904
|
| 'internet_initiated';
|
|
905
905
|
}
|
|
@@ -486,6 +486,12 @@ export interface CheckTransferCreateParams {
|
|
|
486
486
|
*/
|
|
487
487
|
amount: number;
|
|
488
488
|
|
|
489
|
+
/**
|
|
490
|
+
* The identifier of the Account Number from which to send the transfer and print
|
|
491
|
+
* on the check.
|
|
492
|
+
*/
|
|
493
|
+
source_account_number_id: string;
|
|
494
|
+
|
|
489
495
|
/**
|
|
490
496
|
* Whether Increase will print and mail the check or if you will do it yourself.
|
|
491
497
|
*
|
|
@@ -507,12 +513,6 @@ export interface CheckTransferCreateParams {
|
|
|
507
513
|
* Whether the transfer requires explicit approval via the dashboard or API.
|
|
508
514
|
*/
|
|
509
515
|
require_approval?: boolean;
|
|
510
|
-
|
|
511
|
-
/**
|
|
512
|
-
* The identifier of the Account Number from which to send the transfer and print
|
|
513
|
-
* on the check.
|
|
514
|
-
*/
|
|
515
|
-
source_account_number_id?: string;
|
|
516
516
|
}
|
|
517
517
|
|
|
518
518
|
export namespace CheckTransferCreateParams {
|
|
@@ -230,6 +230,32 @@ export interface PhysicalCardProfileCloneParams {
|
|
|
230
230
|
* The identifier of the File containing the physical card's front image.
|
|
231
231
|
*/
|
|
232
232
|
front_image_file_id?: string;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Text printed on the front of the card. Reach out to
|
|
236
|
+
* [support@increase.com](mailto:support@increase.com) for more information.
|
|
237
|
+
*/
|
|
238
|
+
front_text?: PhysicalCardProfileCloneParams.FrontText;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export namespace PhysicalCardProfileCloneParams {
|
|
242
|
+
/**
|
|
243
|
+
* Text printed on the front of the card. Reach out to
|
|
244
|
+
* [support@increase.com](mailto:support@increase.com) for more information.
|
|
245
|
+
*/
|
|
246
|
+
export interface FrontText {
|
|
247
|
+
/**
|
|
248
|
+
* The first line of text on the front of the card.
|
|
249
|
+
*/
|
|
250
|
+
line1: string;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* The second line of text on the front of the card. Providing a second line moves
|
|
254
|
+
* the first line slightly higher and prints the second line in the spot where the
|
|
255
|
+
* first line would have otherwise been printed.
|
|
256
|
+
*/
|
|
257
|
+
line2?: string;
|
|
258
|
+
}
|
|
233
259
|
}
|
|
234
260
|
|
|
235
261
|
export namespace PhysicalCardProfiles {
|
|
@@ -264,7 +264,8 @@ export interface PhysicalCardCreateParams {
|
|
|
264
264
|
shipment: PhysicalCardCreateParams.Shipment;
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
|
-
* The physical card profile to use for this physical card.
|
|
267
|
+
* The physical card profile to use for this physical card. The latest default
|
|
268
|
+
* physical card profile will be used if not provided.
|
|
268
269
|
*/
|
|
269
270
|
physical_card_profile_id?: string;
|
|
270
271
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.31.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.31.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.31.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|