increase 0.319.0 → 0.321.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,37 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.321.0 (2025-09-29)
4
+
5
+ Full Changelog: [v0.320.0...v0.321.0](https://github.com/Increase/increase-node/compare/v0.320.0...v0.321.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([938320e](https://github.com/Increase/increase-node/commit/938320e053ea49e3c036bcaf18ae1fe41b878414))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **internal:** codegen related update ([af0b1f7](https://github.com/Increase/increase-node/commit/af0b1f7e4b3c3d5fdf56c302fde6681f40510217))
15
+ * **internal:** fix incremental formatting in some cases ([8ea97e6](https://github.com/Increase/increase-node/commit/8ea97e64774e83914657a383141868508ae7d90c))
16
+
17
+ ## 0.320.0 (2025-09-26)
18
+
19
+ Full Changelog: [v0.319.0...v0.320.0](https://github.com/Increase/increase-node/compare/v0.319.0...v0.320.0)
20
+
21
+ ### Features
22
+
23
+ * **api:** api update ([8ab5fb2](https://github.com/Increase/increase-node/commit/8ab5fb27322a5422aa39f2dd715dd528d7de91b6))
24
+
25
+
26
+ ### Performance Improvements
27
+
28
+ * faster formatting ([78f8ff4](https://github.com/Increase/increase-node/commit/78f8ff4a347dd297911976128e30653cf04d2e55))
29
+
30
+
31
+ ### Chores
32
+
33
+ * **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([1cfcd8e](https://github.com/Increase/increase-node/commit/1cfcd8e065228bb44165ab61aa5c5483e91e3c40))
34
+
3
35
  ## 0.319.0 (2025-09-24)
4
36
 
5
37
  Full Changelog: [v0.318.0...v0.319.0](https://github.com/Increase/increase-node/compare/v0.318.0...v0.319.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "increase",
3
- "version": "0.319.0",
3
+ "version": "0.321.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",
@@ -9,19 +9,23 @@ export declare class CardRefunds extends APIResource {
9
9
  * @example
10
10
  * ```ts
11
11
  * const transaction =
12
- * await client.simulations.cardRefunds.create({
13
- * transaction_id: 'transaction_uyrp7fld2ium70oa7oi',
14
- * });
12
+ * await client.simulations.cardRefunds.create();
15
13
  * ```
16
14
  */
17
15
  create(body: CardRefundCreateParams, options?: Core.RequestOptions): Core.APIPromise<TransactionsAPI.Transaction>;
18
16
  }
19
17
  export interface CardRefundCreateParams {
18
+ /**
19
+ * The identifier of the Pending Transaction for the refund authorization. If this
20
+ * is provided, `transaction` must not be provided as a refund with a refund
21
+ * authorized can not be linked to a regular transaction.
22
+ */
23
+ pending_transaction_id?: string;
20
24
  /**
21
25
  * The identifier for the Transaction to refund. The Transaction's source must have
22
26
  * a category of card_settlement.
23
27
  */
24
- transaction_id: string;
28
+ transaction_id?: string;
25
29
  }
26
30
  export declare namespace CardRefunds {
27
31
  export { type CardRefundCreateParams as CardRefundCreateParams };
@@ -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;;;;;;;;;;;OAWG;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,cAAc,EAAE,MAAM,CAAC;CACxB;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;;;;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"}
@@ -11,9 +11,7 @@ class CardRefunds extends resource_1.APIResource {
11
11
  * @example
12
12
  * ```ts
13
13
  * const transaction =
14
- * await client.simulations.cardRefunds.create({
15
- * transaction_id: 'transaction_uyrp7fld2ium70oa7oi',
16
- * });
14
+ * await client.simulations.cardRefunds.create();
17
15
  * ```
18
16
  */
19
17
  create(body, options) {
@@ -1 +1 @@
1
- {"version":3,"file":"card-refunds.js","sourceRoot":"","sources":["../../src/resources/simulations/card-refunds.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF;AAnBD,kCAmBC"}
1
+ {"version":3,"file":"card-refunds.js","sourceRoot":"","sources":["../../src/resources/simulations/card-refunds.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;OASG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF;AAjBD,kCAiBC"}
@@ -8,9 +8,7 @@ export class CardRefunds extends APIResource {
8
8
  * @example
9
9
  * ```ts
10
10
  * const transaction =
11
- * await client.simulations.cardRefunds.create({
12
- * transaction_id: 'transaction_uyrp7fld2ium70oa7oi',
13
- * });
11
+ * await client.simulations.cardRefunds.create();
14
12
  * ```
15
13
  */
16
14
  create(body, options) {
@@ -1 +1 @@
1
- {"version":3,"file":"card-refunds.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-refunds.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF"}
1
+ {"version":3,"file":"card-refunds.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-refunds.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;OASG;IACH,MAAM,CACJ,IAA4B,EAC5B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,2BAA2B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9E,CAAC;CACF"}