increase 0.341.0 → 0.342.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,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.342.0 (2025-10-27)
4
+
5
+ Full Changelog: [v0.341.0...v0.342.0](https://github.com/Increase/increase-node/compare/v0.341.0...v0.342.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([ef85c68](https://github.com/Increase/increase-node/commit/ef85c688bad31dce881790b4d5259b5f506192d2))
10
+
3
11
  ## 0.341.0 (2025-10-26)
4
12
 
5
13
  Full Changelog: [v0.340.0...v0.341.0](https://github.com/Increase/increase-node/compare/v0.340.0...v0.341.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "increase",
3
- "version": "0.341.0",
3
+ "version": "0.342.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",
@@ -15,6 +15,11 @@ export declare class CardRefunds extends APIResource {
15
15
  create(body: CardRefundCreateParams, options?: Core.RequestOptions): Core.APIPromise<TransactionsAPI.Transaction>;
16
16
  }
17
17
  export interface CardRefundCreateParams {
18
+ /**
19
+ * The refund amount in cents. Pulled off the `pending_transaction` or the
20
+ * `transaction` if not provided.
21
+ */
22
+ amount?: number;
18
23
  /**
19
24
  * The identifier of the Pending Transaction for the refund authorization. If this
20
25
  * is provided, `transaction` must not be provided as a refund with a refund
@@ -1 +1 @@
1
- {"version":3,"file":"card-refunds.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-refunds.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,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;OASG;IACH,MAAM,CACJ,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,sBAAsB;IACrC;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EAAE,KAAK,sBAAsB,IAAI,sBAAsB,EAAE,CAAC;CAClE"}
1
+ {"version":3,"file":"card-refunds.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-refunds.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,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;OASG;IACH,MAAM,CACJ,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,WAAW,CAAC;CAGhD;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EAAE,KAAK,sBAAsB,IAAI,sBAAsB,EAAE,CAAC;CAClE"}
@@ -24,6 +24,12 @@ export class CardRefunds extends APIResource {
24
24
  }
25
25
 
26
26
  export interface CardRefundCreateParams {
27
+ /**
28
+ * The refund amount in cents. Pulled off the `pending_transaction` or the
29
+ * `transaction` if not provided.
30
+ */
31
+ amount?: number;
32
+
27
33
  /**
28
34
  * The identifier of the Pending Transaction for the refund authorization. If this
29
35
  * is provided, `transaction` must not be provided as a refund with a refund
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.341.0'; // x-release-please-version
1
+ export const VERSION = '0.342.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.341.0";
1
+ export declare const VERSION = "0.342.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.341.0'; // x-release-please-version
4
+ exports.VERSION = '0.342.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.341.0'; // x-release-please-version
1
+ export const VERSION = '0.342.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map