increase 0.320.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,19 @@
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
+
3
17
  ## 0.320.0 (2025-09-26)
4
18
 
5
19
  Full Changelog: [v0.319.0...v0.320.0](https://github.com/Increase/increase-node/compare/v0.319.0...v0.320.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "increase",
3
- "version": "0.320.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"}
@@ -12,9 +12,7 @@ export class CardRefunds extends APIResource {
12
12
  * @example
13
13
  * ```ts
14
14
  * const transaction =
15
- * await client.simulations.cardRefunds.create({
16
- * transaction_id: 'transaction_uyrp7fld2ium70oa7oi',
17
- * });
15
+ * await client.simulations.cardRefunds.create();
18
16
  * ```
19
17
  */
20
18
  create(
@@ -26,11 +24,18 @@ export class CardRefunds extends APIResource {
26
24
  }
27
25
 
28
26
  export interface CardRefundCreateParams {
27
+ /**
28
+ * The identifier of the Pending Transaction for the refund authorization. If this
29
+ * is provided, `transaction` must not be provided as a refund with a refund
30
+ * authorized can not be linked to a regular transaction.
31
+ */
32
+ pending_transaction_id?: string;
33
+
29
34
  /**
30
35
  * The identifier for the Transaction to refund. The Transaction's source must have
31
36
  * a category of card_settlement.
32
37
  */
33
- transaction_id: string;
38
+ transaction_id?: string;
34
39
  }
35
40
 
36
41
  export declare namespace CardRefunds {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.320.0'; // x-release-please-version
1
+ export const VERSION = '0.321.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.320.0";
1
+ export declare const VERSION = "0.321.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.320.0'; // x-release-please-version
4
+ exports.VERSION = '0.321.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.320.0'; // x-release-please-version
1
+ export const VERSION = '0.321.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map