increase 0.575.0 → 0.576.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 (75) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/bin/cli +5 -12
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts.map +1 -1
  5. package/client.js +4 -4
  6. package/client.js.map +1 -1
  7. package/client.mjs +4 -4
  8. package/client.mjs.map +1 -1
  9. package/core/error.js +5 -4
  10. package/core/error.js.map +1 -1
  11. package/core/error.mjs +5 -4
  12. package/core/error.mjs.map +1 -1
  13. package/core/pagination.d.mts.map +1 -1
  14. package/core/pagination.d.ts.map +1 -1
  15. package/internal/detect-platform.js +1 -1
  16. package/internal/detect-platform.js.map +1 -1
  17. package/internal/detect-platform.mjs +1 -1
  18. package/internal/detect-platform.mjs.map +1 -1
  19. package/internal/qs/stringify.d.mts.map +1 -1
  20. package/internal/qs/stringify.d.ts.map +1 -1
  21. package/internal/qs/stringify.js +13 -12
  22. package/internal/qs/stringify.js.map +1 -1
  23. package/internal/qs/stringify.mjs +13 -12
  24. package/internal/qs/stringify.mjs.map +1 -1
  25. package/internal/shim-types.d.mts.map +1 -1
  26. package/internal/shim-types.d.ts.map +1 -1
  27. package/internal/types.d.mts +4 -4
  28. package/internal/types.d.mts.map +1 -1
  29. package/internal/types.d.ts +4 -4
  30. package/internal/types.d.ts.map +1 -1
  31. package/internal/uploads.d.mts.map +1 -1
  32. package/internal/uploads.d.ts.map +1 -1
  33. package/internal/uploads.js +3 -5
  34. package/internal/uploads.js.map +1 -1
  35. package/internal/uploads.mjs +3 -5
  36. package/internal/uploads.mjs.map +1 -1
  37. package/internal/utils/log.d.mts.map +1 -1
  38. package/internal/utils/log.d.ts.map +1 -1
  39. package/internal/utils/log.js +3 -3
  40. package/internal/utils/log.js.map +1 -1
  41. package/internal/utils/log.mjs +3 -3
  42. package/internal/utils/log.mjs.map +1 -1
  43. package/package.json +21 -21
  44. package/resources/accounts.d.mts +1 -0
  45. package/resources/accounts.d.mts.map +1 -1
  46. package/resources/accounts.d.ts +1 -0
  47. package/resources/accounts.d.ts.map +1 -1
  48. package/resources/check-transfers.d.mts +15 -6
  49. package/resources/check-transfers.d.mts.map +1 -1
  50. package/resources/check-transfers.d.ts +15 -6
  51. package/resources/check-transfers.d.ts.map +1 -1
  52. package/resources/entities.d.mts +9 -0
  53. package/resources/entities.d.mts.map +1 -1
  54. package/resources/entities.d.ts +9 -0
  55. package/resources/entities.d.ts.map +1 -1
  56. package/resources/pending-transactions.d.mts +2 -2
  57. package/resources/pending-transactions.d.ts +2 -2
  58. package/src/client.ts +7 -10
  59. package/src/core/error.ts +6 -6
  60. package/src/core/pagination.ts +3 -3
  61. package/src/internal/detect-platform.ts +1 -1
  62. package/src/internal/qs/stringify.ts +14 -15
  63. package/src/internal/shim-types.ts +3 -2
  64. package/src/internal/types.ts +29 -33
  65. package/src/internal/uploads.ts +5 -6
  66. package/src/internal/utils/log.ts +8 -12
  67. package/src/resources/accounts.ts +2 -0
  68. package/src/resources/check-transfers.ts +18 -7
  69. package/src/resources/entities.ts +11 -0
  70. package/src/resources/pending-transactions.ts +2 -2
  71. package/src/version.ts +1 -1
  72. package/version.d.mts +1 -1
  73. package/version.d.ts +1 -1
  74. package/version.js +1 -1
  75. package/version.mjs +1 -1
@@ -410,6 +410,8 @@ export namespace AccountCreateParams {
410
410
  * The date on which the loan matures.
411
411
  */
412
412
  maturity_date?: string;
413
+
414
+ [k: string]: unknown;
413
415
  }
414
416
  }
415
417
 
@@ -460,6 +460,11 @@ export namespace CheckTransfer {
460
460
  */
461
461
  return_address: PhysicalCheck.ReturnAddress | null;
462
462
 
463
+ /**
464
+ * A custom name printed above the Increase-managed return address.
465
+ */
466
+ return_address_name: string | null;
467
+
463
468
  /**
464
469
  * The shipping method for the check.
465
470
  *
@@ -844,6 +849,13 @@ export namespace CheckTransferCreateParams {
844
849
  */
845
850
  memo: string;
846
851
 
852
+ /**
853
+ * The payer of the check. This will be printed on the top-left portion of the
854
+ * check. This should be an array of up to 4 elements, each of which represents a
855
+ * line of the payer.
856
+ */
857
+ payer: Array<PhysicalCheck.Payer>;
858
+
847
859
  /**
848
860
  * The name that will be printed on the check in the 'To:' field.
849
861
  */
@@ -868,13 +880,6 @@ export namespace CheckTransferCreateParams {
868
880
  */
869
881
  note?: string;
870
882
 
871
- /**
872
- * The payer of the check. This will be printed on the top-left portion of the
873
- * check and defaults to the return address if unspecified. This should be an array
874
- * of up to 4 elements, each of which represents a line of the payer.
875
- */
876
- payer?: Array<PhysicalCheck.Payer>;
877
-
878
883
  /**
879
884
  * The return address to be printed on the check. If omitted this will default to
880
885
  * an Increase-owned address that will mark checks as delivery failed and shred
@@ -882,6 +887,12 @@ export namespace CheckTransferCreateParams {
882
887
  */
883
888
  return_address?: PhysicalCheck.ReturnAddress;
884
889
 
890
+ /**
891
+ * A custom name to print above the default return address. Cannot be provided
892
+ * together with `return_address`.
893
+ */
894
+ return_address_name?: string;
895
+
885
896
  /**
886
897
  * How to ship the check. For details on pricing, timing, and restrictions, see
887
898
  * https://increase.com/documentation/originating-checks#printing-checks .
@@ -3327,6 +3327,8 @@ export interface EntityListParams extends PageParams {
3327
3327
  idempotency_key?: string;
3328
3328
 
3329
3329
  status?: EntityListParams.Status;
3330
+
3331
+ validation_status?: EntityListParams.ValidationStatus;
3330
3332
  }
3331
3333
 
3332
3334
  export namespace EntityListParams {
@@ -3364,6 +3366,15 @@ export namespace EntityListParams {
3364
3366
  */
3365
3367
  in?: Array<'active' | 'archived' | 'disabled'>;
3366
3368
  }
3369
+
3370
+ export interface ValidationStatus {
3371
+ /**
3372
+ * Filter Entities for those with the specified validation status. For GET
3373
+ * requests, this should be encoded as a comma-delimited string, such as
3374
+ * `?in=one,two,three`.
3375
+ */
3376
+ in?: Array<'pending' | 'valid' | 'invalid'>;
3377
+ }
3367
3378
  }
3368
3379
 
3369
3380
  export declare namespace Entities {
@@ -1705,8 +1705,8 @@ export interface PendingTransactionCreateParams {
1705
1705
 
1706
1706
  /**
1707
1707
  * The amount to hold in the minor unit of the account's currency. For dollars, for
1708
- * example, this is cents. This should be a negative amount - to hold $1.00 from
1709
- * the account, you would pass -100.
1708
+ * example, this is cents. This should be a negative amount: To hold $1.00 from the
1709
+ * account, pass -100 as `amount`.
1710
1710
  */
1711
1711
  amount: number;
1712
1712
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.575.0'; // x-release-please-version
1
+ export const VERSION = '0.576.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.575.0";
1
+ export declare const VERSION = "0.576.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.575.0";
1
+ export declare const VERSION = "0.576.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.575.0'; // x-release-please-version
4
+ exports.VERSION = '0.576.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.575.0'; // x-release-please-version
1
+ export const VERSION = '0.576.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map