increase 0.187.0 → 0.188.1

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,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.188.1 (2025-03-13)
4
+
5
+ Full Changelog: [v0.188.0...v0.188.1](https://github.com/Increase/increase-node/compare/v0.188.0...v0.188.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **exports:** ensure resource imports don't require /index ([#914](https://github.com/Increase/increase-node/issues/914)) ([8989eb9](https://github.com/Increase/increase-node/commit/8989eb9cb6764931e014cedbb7a8676f8d86627f))
10
+
11
+ ## 0.188.0 (2025-03-13)
12
+
13
+ Full Changelog: [v0.187.0...v0.188.0](https://github.com/Increase/increase-node/compare/v0.187.0...v0.188.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([#912](https://github.com/Increase/increase-node/issues/912)) ([4d15eac](https://github.com/Increase/increase-node/commit/4d15eacf2fce58bc67b7982e55747819a74a7d64))
18
+
19
+
20
+ ### Chores
21
+
22
+ * **internal:** remove extra empty newlines ([#910](https://github.com/Increase/increase-node/issues/910)) ([d2b1d26](https://github.com/Increase/increase-node/commit/d2b1d26587f31e7dd524fe030775fb42e97eaf6e))
23
+
3
24
  ## 0.187.0 (2025-03-12)
4
25
 
5
26
  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.1",
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"}
@@ -0,0 +1,2 @@
1
+ export * from "./simulations/index.js";
2
+ //# sourceMappingURL=simulations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simulations.d.ts","sourceRoot":"","sources":["../src/resources/simulations.ts"],"names":[],"mappings":"AAEA,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16
+ };
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ __exportStar(require("./simulations/index.js"), exports);
19
+ //# sourceMappingURL=simulations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simulations.js","sourceRoot":"","sources":["../src/resources/simulations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;AAEtF,yDAAoC"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./simulations/index.mjs";
3
+ //# sourceMappingURL=simulations.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"simulations.mjs","sourceRoot":"","sources":["../src/resources/simulations.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -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
  */
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export * from './simulations/index';
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.187.0'; // x-release-please-version
1
+ export const VERSION = '0.188.1'; // 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.1";
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.1'; // 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.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map