increase 0.187.0 → 0.188.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 CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.188.0 (2025-03-13)
4
+
5
+ Full Changelog: [v0.187.0...v0.188.0](https://github.com/Increase/increase-node/compare/v0.187.0...v0.188.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([#912](https://github.com/Increase/increase-node/issues/912)) ([4d15eac](https://github.com/Increase/increase-node/commit/4d15eacf2fce58bc67b7982e55747819a74a7d64))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **internal:** remove extra empty newlines ([#910](https://github.com/Increase/increase-node/issues/910)) ([d2b1d26](https://github.com/Increase/increase-node/commit/d2b1d26587f31e7dd524fe030775fb42e97eaf6e))
15
+
3
16
  ## 0.187.0 (2025-03-12)
4
17
 
5
18
  Full Changelog: [v0.186.0...v0.187.0](https://github.com/Increase/increase-node/compare/v0.186.0...v0.187.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "increase",
3
- "version": "0.187.0",
3
+ "version": "0.188.0",
4
4
  "description": "The official TypeScript library for the Increase API",
5
5
  "author": "Increase <dev-feedback@increase.com>",
6
6
  "types": "./index.d.ts",
@@ -10,13 +10,17 @@ export declare class InterestPayments extends APIResource {
10
10
  }
11
11
  export interface InterestPaymentCreateParams {
12
12
  /**
13
- * The identifier of the Account Number the Interest Payment is for.
13
+ * The identifier of the Account the Interest Payment should be paid to is for.
14
14
  */
15
15
  account_id: string;
16
16
  /**
17
17
  * The interest amount in cents. Must be positive.
18
18
  */
19
19
  amount: number;
20
+ /**
21
+ * The identifier of the Account the Interest accrued on. Defaults to `account_id`.
22
+ */
23
+ accrued_on_account_id?: string;
20
24
  /**
21
25
  * The end of the interest period. If not provided, defaults to the current time.
22
26
  */
@@ -1 +1 @@
1
- {"version":3,"file":"interest-payments.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/interest-payments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,iBAAiB,CAAC;AAEnD,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EAAE,KAAK,2BAA2B,IAAI,2BAA2B,EAAE,CAAC;CAC5E"}
1
+ {"version":3,"file":"interest-payments.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/interest-payments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,eAAe,MAAM,iBAAiB,CAAC;AAEnD,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EAAE,KAAK,2BAA2B,IAAI,2BAA2B,EAAE,CAAC;CAC5E"}
@@ -19,7 +19,7 @@ export class InterestPayments extends APIResource {
19
19
 
20
20
  export interface InterestPaymentCreateParams {
21
21
  /**
22
- * The identifier of the Account Number the Interest Payment is for.
22
+ * The identifier of the Account the Interest Payment should be paid to is for.
23
23
  */
24
24
  account_id: string;
25
25
 
@@ -28,6 +28,11 @@ export interface InterestPaymentCreateParams {
28
28
  */
29
29
  amount: number;
30
30
 
31
+ /**
32
+ * The identifier of the Account the Interest accrued on. Defaults to `account_id`.
33
+ */
34
+ accrued_on_account_id?: string;
35
+
31
36
  /**
32
37
  * The end of the interest period. If not provided, defaults to the current time.
33
38
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.187.0'; // x-release-please-version
1
+ export const VERSION = '0.188.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.187.0";
1
+ export declare const VERSION = "0.188.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.187.0'; // x-release-please-version
4
+ exports.VERSION = '0.188.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.187.0'; // x-release-please-version
1
+ export const VERSION = '0.188.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map