increase 0.245.0 → 0.246.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.246.0 (2025-07-22)
4
+
5
+ Full Changelog: [v0.245.0...v0.246.0](https://github.com/Increase/increase-node/compare/v0.245.0...v0.246.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([03de589](https://github.com/Increase/increase-node/commit/03de589701b869af44aeb5ea8853f8a2a83537e9))
10
+
3
11
  ## 0.245.0 (2025-07-22)
4
12
 
5
13
  Full Changelog: [v0.244.0...v0.245.0](https://github.com/Increase/increase-node/compare/v0.244.0...v0.245.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "increase",
3
- "version": "0.245.0",
3
+ "version": "0.246.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",
@@ -97,16 +97,6 @@ export interface CardAuthorizationCreateParams {
97
97
  * The identifier of the Digital Wallet Token to be authorized.
98
98
  */
99
99
  digital_wallet_token_id?: string;
100
- /**
101
- * The direction describes the direction the funds will move, either from the
102
- * cardholder to the merchant or from the merchant to the cardholder.
103
- *
104
- * - `settlement` - A regular card authorization where funds are debited from the
105
- * cardholder.
106
- * - `refund` - A refund card authorization, sometimes referred to as a credit
107
- * voucher authorization, where funds are credited to the cardholder.
108
- */
109
- direction?: 'settlement' | 'refund';
110
100
  /**
111
101
  * The identifier of the Event Subscription to use. If provided, will override the
112
102
  * default real time event subscription. Because you can only create one real time
@@ -153,6 +143,11 @@ export interface CardAuthorizationCreateParams {
153
143
  * The identifier of the Physical Card to be authorized.
154
144
  */
155
145
  physical_card_id?: string;
146
+ /**
147
+ * Fields specific to a specific type of authorization, such as Automatic Fuel
148
+ * Dispensers, Refund Authorizations, or Cash Disbursements.
149
+ */
150
+ processing_category?: CardAuthorizationCreateParams.ProcessingCategory;
156
151
  /**
157
152
  * The terminal identifier (commonly abbreviated as TID) of the terminal the card
158
153
  * is transacting with.
@@ -198,6 +193,34 @@ export declare namespace CardAuthorizationCreateParams {
198
193
  stand_in_processing_reason?: 'issuer_error' | 'invalid_physical_card' | 'invalid_cardholder_authentication_verification_value' | 'internal_visa_error' | 'merchant_transaction_advisory_service_authentication_required' | 'payment_fraud_disruption_acquirer_block' | 'other';
199
194
  }
200
195
  }
196
+ /**
197
+ * Fields specific to a specific type of authorization, such as Automatic Fuel
198
+ * Dispensers, Refund Authorizations, or Cash Disbursements.
199
+ */
200
+ interface ProcessingCategory {
201
+ /**
202
+ * The processing category describes the intent behind the authorization, such as
203
+ * whether it was used for bill payments or an automatic fuel dispenser.
204
+ *
205
+ * - `account_funding` - Account funding transactions are transactions used to
206
+ * e.g., fund an account or transfer funds between accounts.
207
+ * - `automatic_fuel_dispenser` - Automatic fuel dispenser authorizations occur
208
+ * when a card is used at a gas pump, prior to the actual transaction amount
209
+ * being known. They are followed by an advice message that updates the amount of
210
+ * the pending transaction.
211
+ * - `bill_payment` - A transaction used to pay a bill.
212
+ * - `original_credit` - Original credit transactions are used to send money to a
213
+ * cardholder.
214
+ * - `purchase` - A regular purchase.
215
+ * - `quasi_cash` - Quasi-cash transactions represent purchases of items which may
216
+ * be convertible to cash.
217
+ * - `refund` - A refund card authorization, sometimes referred to as a credit
218
+ * voucher authorization, where funds are credited to the cardholder.
219
+ * - `cash_disbursement` - Cash disbursement transactions are used to withdraw cash
220
+ * from an ATM or a point of sale.
221
+ */
222
+ category: 'account_funding' | 'automatic_fuel_dispenser' | 'bill_payment' | 'original_credit' | 'purchase' | 'quasi_cash' | 'refund' | 'cash_disbursement';
223
+ }
201
224
  }
202
225
  export declare namespace CardAuthorizations {
203
226
  export { type CardAuthorizationCreateResponse as CardAuthorizationCreateResponse, type CardAuthorizationCreateParams as CardAuthorizationCreateParams, };
@@ -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,uBAAuB,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,sBAAsB,MAAM,yBAAyB,CAAC;AAElE,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;;;;;;;;OAgBG;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;;;OAGG;IACH,6BAA6B,CAAC,EAAE,MAAM,CAAC;IAEvC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,cAAc,CAAC,EACX,gBAAgB,GAChB,iBAAiB,GACjB,eAAe,GACf,0BAA0B,GAC1B,mBAAmB,GACnB,cAAc,GACd,oBAAoB,GACpB,eAAe,GACf,cAAc,GACd,0BAA0B,GAC1B,yBAAyB,GACzB,gBAAgB,GAChB,kBAAkB,GAClB,mBAAmB,GACnB,iCAAiC,GACjC,uBAAuB,GACvB,gCAAgC,GAChC,2BAA2B,GAC3B,wBAAwB,GACxB,iBAAiB,CAAC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B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
@@ -134,17 +134,6 @@ export interface CardAuthorizationCreateParams {
134
134
  */
135
135
  digital_wallet_token_id?: string;
136
136
 
137
- /**
138
- * The direction describes the direction the funds will move, either from the
139
- * cardholder to the merchant or from the merchant to the cardholder.
140
- *
141
- * - `settlement` - A regular card authorization where funds are debited from the
142
- * cardholder.
143
- * - `refund` - A refund card authorization, sometimes referred to as a credit
144
- * voucher authorization, where funds are credited to the cardholder.
145
- */
146
- direction?: 'settlement' | 'refund';
147
-
148
137
  /**
149
138
  * The identifier of the Event Subscription to use. If provided, will override the
150
139
  * default real time event subscription. Because you can only create one real time
@@ -201,6 +190,12 @@ export interface CardAuthorizationCreateParams {
201
190
  */
202
191
  physical_card_id?: string;
203
192
 
193
+ /**
194
+ * Fields specific to a specific type of authorization, such as Automatic Fuel
195
+ * Dispensers, Refund Authorizations, or Cash Disbursements.
196
+ */
197
+ processing_category?: CardAuthorizationCreateParams.ProcessingCategory;
198
+
204
199
  /**
205
200
  * The terminal identifier (commonly abbreviated as TID) of the terminal the card
206
201
  * is transacting with.
@@ -255,6 +250,43 @@ export namespace CardAuthorizationCreateParams {
255
250
  | 'other';
256
251
  }
257
252
  }
253
+
254
+ /**
255
+ * Fields specific to a specific type of authorization, such as Automatic Fuel
256
+ * Dispensers, Refund Authorizations, or Cash Disbursements.
257
+ */
258
+ export interface ProcessingCategory {
259
+ /**
260
+ * The processing category describes the intent behind the authorization, such as
261
+ * whether it was used for bill payments or an automatic fuel dispenser.
262
+ *
263
+ * - `account_funding` - Account funding transactions are transactions used to
264
+ * e.g., fund an account or transfer funds between accounts.
265
+ * - `automatic_fuel_dispenser` - Automatic fuel dispenser authorizations occur
266
+ * when a card is used at a gas pump, prior to the actual transaction amount
267
+ * being known. They are followed by an advice message that updates the amount of
268
+ * the pending transaction.
269
+ * - `bill_payment` - A transaction used to pay a bill.
270
+ * - `original_credit` - Original credit transactions are used to send money to a
271
+ * cardholder.
272
+ * - `purchase` - A regular purchase.
273
+ * - `quasi_cash` - Quasi-cash transactions represent purchases of items which may
274
+ * be convertible to cash.
275
+ * - `refund` - A refund card authorization, sometimes referred to as a credit
276
+ * voucher authorization, where funds are credited to the cardholder.
277
+ * - `cash_disbursement` - Cash disbursement transactions are used to withdraw cash
278
+ * from an ATM or a point of sale.
279
+ */
280
+ category:
281
+ | 'account_funding'
282
+ | 'automatic_fuel_dispenser'
283
+ | 'bill_payment'
284
+ | 'original_credit'
285
+ | 'purchase'
286
+ | 'quasi_cash'
287
+ | 'refund'
288
+ | 'cash_disbursement';
289
+ }
258
290
  }
259
291
 
260
292
  export declare namespace CardAuthorizations {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.245.0'; // x-release-please-version
1
+ export const VERSION = '0.246.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.245.0";
1
+ export declare const VERSION = "0.246.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.245.0'; // x-release-please-version
4
+ exports.VERSION = '0.246.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.245.0'; // x-release-please-version
1
+ export const VERSION = '0.246.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map