increase 0.172.0 → 0.173.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.173.0 (2025-02-12)
4
+
5
+ Full Changelog: [v0.172.0...v0.173.0](https://github.com/Increase/increase-node/compare/v0.172.0...v0.173.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([#856](https://github.com/Increase/increase-node/issues/856)) ([5237efa](https://github.com/Increase/increase-node/commit/5237efa6c25420f42cee67dbde289c237821459f))
10
+
3
11
  ## 0.172.0 (2025-02-11)
4
12
 
5
13
  Full Changelog: [v0.171.0...v0.172.0](https://github.com/Increase/increase-node/compare/v0.171.0...v0.172.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "increase",
3
- "version": "0.172.0",
3
+ "version": "0.173.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",
@@ -125,6 +125,10 @@ export interface CardAuthorizationCreateParams {
125
125
  * The state the merchant resides in.
126
126
  */
127
127
  merchant_state?: string;
128
+ /**
129
+ * Fields specific to a given card network.
130
+ */
131
+ network_details?: CardAuthorizationCreateParams.NetworkDetails;
128
132
  /**
129
133
  * The identifier of the Physical Card to be authorized.
130
134
  */
@@ -135,6 +139,46 @@ export interface CardAuthorizationCreateParams {
135
139
  */
136
140
  terminal_id?: string;
137
141
  }
142
+ export declare namespace CardAuthorizationCreateParams {
143
+ /**
144
+ * Fields specific to a given card network.
145
+ */
146
+ interface NetworkDetails {
147
+ /**
148
+ * Fields specific to the Visa network.
149
+ */
150
+ visa: NetworkDetails.Visa;
151
+ }
152
+ namespace NetworkDetails {
153
+ /**
154
+ * Fields specific to the Visa network.
155
+ */
156
+ interface Visa {
157
+ /**
158
+ * The reason code for the stand-in processing.
159
+ *
160
+ * - `issuer_error` - Increase failed to process the authorization in a timely
161
+ * manner.
162
+ * - `invalid_physical_card` - The physical card read had an invalid CVV, dCVV, or
163
+ * authorization request cryptogram.
164
+ * - `invalid_cardholder_authentication_verification_value` - The 3DS cardholder
165
+ * authentication verification value was invalid.
166
+ * - `internal_visa_error` - An internal Visa error occurred. Visa uses this reason
167
+ * code for certain expected occurrences as well, such as Application Transaction
168
+ * Counter (ATC) replays.
169
+ * - `merchant_transaction_advisory_service_authentication_required` - The merchant
170
+ * has enabled Visa's Transaction Advisory Service and requires further
171
+ * authentication to perform the transaction. In practice this is often utilized
172
+ * at fuel pumps to tell the cardholder to see the cashier.
173
+ * - `payment_fraud_disruption_acquirer_block` - The transaction was blocked by
174
+ * Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior,
175
+ * such as card testing.
176
+ * - `other` - An unspecific reason for stand-in processing.
177
+ */
178
+ 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';
179
+ }
180
+ }
181
+ }
138
182
  export declare namespace CardAuthorizations {
139
183
  export { type CardAuthorizationCreateResponse as CardAuthorizationCreateResponse, type CardAuthorizationCreateParams as CardAuthorizationCreateParams, };
140
184
  }
@@ -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;;;;;;;;OAQG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,IAA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MAAM,CAAC;IAExB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
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;;;;;;;;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;;;OAGG;IACH,6BAA6B,CAAC,EAAE,MAAM,CAAC;IAEvC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,cAAc,CAAC,EACX,iBAAiB,GACjB,0BAA0B,GAC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AC;IAC1C,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;CACH"}
@@ -165,6 +165,11 @@ export interface CardAuthorizationCreateParams {
165
165
  */
166
166
  merchant_state?: string;
167
167
 
168
+ /**
169
+ * Fields specific to a given card network.
170
+ */
171
+ network_details?: CardAuthorizationCreateParams.NetworkDetails;
172
+
168
173
  /**
169
174
  * The identifier of the Physical Card to be authorized.
170
175
  */
@@ -177,6 +182,55 @@ export interface CardAuthorizationCreateParams {
177
182
  terminal_id?: string;
178
183
  }
179
184
 
185
+ export namespace CardAuthorizationCreateParams {
186
+ /**
187
+ * Fields specific to a given card network.
188
+ */
189
+ export interface NetworkDetails {
190
+ /**
191
+ * Fields specific to the Visa network.
192
+ */
193
+ visa: NetworkDetails.Visa;
194
+ }
195
+
196
+ export namespace NetworkDetails {
197
+ /**
198
+ * Fields specific to the Visa network.
199
+ */
200
+ export interface Visa {
201
+ /**
202
+ * The reason code for the stand-in processing.
203
+ *
204
+ * - `issuer_error` - Increase failed to process the authorization in a timely
205
+ * manner.
206
+ * - `invalid_physical_card` - The physical card read had an invalid CVV, dCVV, or
207
+ * authorization request cryptogram.
208
+ * - `invalid_cardholder_authentication_verification_value` - The 3DS cardholder
209
+ * authentication verification value was invalid.
210
+ * - `internal_visa_error` - An internal Visa error occurred. Visa uses this reason
211
+ * code for certain expected occurrences as well, such as Application Transaction
212
+ * Counter (ATC) replays.
213
+ * - `merchant_transaction_advisory_service_authentication_required` - The merchant
214
+ * has enabled Visa's Transaction Advisory Service and requires further
215
+ * authentication to perform the transaction. In practice this is often utilized
216
+ * at fuel pumps to tell the cardholder to see the cashier.
217
+ * - `payment_fraud_disruption_acquirer_block` - The transaction was blocked by
218
+ * Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior,
219
+ * such as card testing.
220
+ * - `other` - An unspecific reason for stand-in processing.
221
+ */
222
+ stand_in_processing_reason?:
223
+ | 'issuer_error'
224
+ | 'invalid_physical_card'
225
+ | 'invalid_cardholder_authentication_verification_value'
226
+ | 'internal_visa_error'
227
+ | 'merchant_transaction_advisory_service_authentication_required'
228
+ | 'payment_fraud_disruption_acquirer_block'
229
+ | 'other';
230
+ }
231
+ }
232
+ }
233
+
180
234
  export declare namespace CardAuthorizations {
181
235
  export {
182
236
  type CardAuthorizationCreateResponse as CardAuthorizationCreateResponse,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.172.0'; // x-release-please-version
1
+ export const VERSION = '0.173.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.172.0";
1
+ export declare const VERSION = "0.173.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.172.0'; // x-release-please-version
4
+ exports.VERSION = '0.173.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.172.0'; // x-release-please-version
1
+ export const VERSION = '0.173.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map