increase 0.113.0 → 0.114.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.114.0 (2024-10-02)
4
+
5
+ Full Changelog: [v0.113.0...v0.114.0](https://github.com/Increase/increase-node/compare/v0.113.0...v0.114.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** OpenAPI spec update via Stainless API ([#646](https://github.com/Increase/increase-node/issues/646)) ([0ab560e](https://github.com/Increase/increase-node/commit/0ab560e6567126afffeb7741dfa2eaac457e63f0))
10
+
11
+
12
+ ### Chores
13
+
14
+ * **internal:** codegen related update ([#644](https://github.com/Increase/increase-node/issues/644)) ([c83c79f](https://github.com/Increase/increase-node/commit/c83c79f7fb37e0f925b91c82bdbc8fac784b4427))
15
+
3
16
  ## 0.113.0 (2024-10-02)
4
17
 
5
18
  Full Changelog: [v0.112.0...v0.113.0](https://github.com/Increase/increase-node/compare/v0.112.0...v0.113.0)
package/README.md CHANGED
@@ -377,3 +377,7 @@ The following runtimes are supported:
377
377
  Note that React Native is not supported at this time.
378
378
 
379
379
  If you are interested in other runtime environments, please open or upvote an issue on GitHub.
380
+
381
+ ## Contributing
382
+
383
+ See [the contributing documentation](./CONTRIBUTING.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "increase",
3
- "version": "0.113.0",
3
+ "version": "0.114.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",
@@ -50,6 +50,16 @@ export interface CardAuthorizationCreateParams {
50
50
  * The identifier of the Digital Wallet Token to be authorized.
51
51
  */
52
52
  digital_wallet_token_id?: string;
53
+ /**
54
+ * The direction describes the direction the funds will move, either from the
55
+ * cardholder to the merchant or from the merchant to the cardholder.
56
+ *
57
+ * - `settlement` - A regular card authorization where funds are debited from the
58
+ * cardholder.
59
+ * - `refund` - A refund card authorization, sometimes referred to as a credit
60
+ * voucher authorization, where funds are credited to the cardholder.
61
+ */
62
+ direction?: 'settlement' | 'refund';
53
63
  /**
54
64
  * The identifier of the Event Subscription to use. If provided, will override the
55
65
  * default real time event subscription. Because you can only create one real time
@@ -1 +1 @@
1
- {"version":3,"file":"card-authorizations.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,qBAAqB,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,uBAAuB,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,sBAAsB,MAAM,yBAAyB,CAAC;AAElE,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,+BAA+B,CAAC;CAGpD;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;;;OAIG;IACH,oBAAoB,EAAE,uBAAuB,CAAC,mBAAmB,GAAG,IAAI,CAAC;IAEzE;;;;OAIG;IACH,mBAAmB,EAAE,sBAAsB,CAAC,kBAAkB,GAAG,IAAI,CAAC;IAEtE;;;OAGG;IACH,IAAI,EAAE,8CAA8C,CAAC;CACtD;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,yBAAiB,kBAAkB,CAAC;IAClC,MAAM,QAAQ,+BAA+B,GAAG,qBAAqB,CAAC,+BAA+B,CAAC;IACtG,MAAM,QAAQ,6BAA6B,GAAG,qBAAqB,CAAC,6BAA6B,CAAC;CACnG"}
1
+ {"version":3,"file":"card-authorizations.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,qBAAqB,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,uBAAuB,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,sBAAsB,MAAM,yBAAyB,CAAC;AAElE,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,+BAA+B,CAAC;CAGpD;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;;;OAIG;IACH,oBAAoB,EAAE,uBAAuB,CAAC,mBAAmB,GAAG,IAAI,CAAC;IAEzE;;;;OAIG;IACH,mBAAmB,EAAE,sBAAsB,CAAC,kBAAkB,GAAG,IAAI,CAAC;IAEtE;;;OAGG;IACH,IAAI,EAAE,8CAA8C,CAAC;CACtD;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,QAAQ,CAAC;IAEpC;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;;OAGG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,yBAAiB,kBAAkB,CAAC;IAClC,MAAM,QAAQ,+BAA+B,GAAG,qBAAqB,CAAC,+BAA+B,CAAC;IACtG,MAAM,QAAQ,6BAA6B,GAAG,qBAAqB,CAAC,6BAA6B,CAAC;CACnG"}
@@ -1 +1 @@
1
- {"version":3,"file":"card-authorizations.js","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAM7C,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAhBD,gDAgBC;AAoFD,WAAiB,kBAAkB;AAGnC,CAAC,EAHgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAGlC"}
1
+ {"version":3,"file":"card-authorizations.js","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAM7C,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAhBD,gDAgBC;AA+FD,WAAiB,kBAAkB;AAGnC,CAAC,EAHgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAGlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"card-authorizations.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAMtB,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AAoFD,WAAiB,kBAAkB;AAGnC,CAAC,EAHgB,kBAAkB,KAAlB,kBAAkB,QAGlC"}
1
+ {"version":3,"file":"card-authorizations.mjs","sourceRoot":"","sources":["../../src/resources/simulations/card-authorizations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAMtB,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAmC,EACnC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kCAAkC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;CACF;AA+FD,WAAiB,kBAAkB;AAGnC,CAAC,EAHgB,kBAAkB,KAAlB,kBAAkB,QAGlC"}
@@ -65,6 +65,17 @@ export interface CardAuthorizationCreateParams {
65
65
  */
66
66
  digital_wallet_token_id?: string;
67
67
 
68
+ /**
69
+ * The direction describes the direction the funds will move, either from the
70
+ * cardholder to the merchant or from the merchant to the cardholder.
71
+ *
72
+ * - `settlement` - A regular card authorization where funds are debited from the
73
+ * cardholder.
74
+ * - `refund` - A refund card authorization, sometimes referred to as a credit
75
+ * voucher authorization, where funds are credited to the cardholder.
76
+ */
77
+ direction?: 'settlement' | 'refund';
78
+
68
79
  /**
69
80
  * The identifier of the Event Subscription to use. If provided, will override the
70
81
  * default real time event subscription. Because you can only create one real time
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.113.0'; // x-release-please-version
1
+ export const VERSION = '0.114.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.113.0";
1
+ export declare const VERSION = "0.114.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.113.0'; // x-release-please-version
4
+ exports.VERSION = '0.114.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.113.0'; // x-release-please-version
1
+ export const VERSION = '0.114.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map