increase 0.166.0 → 0.167.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.
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.js","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAUD,IAAI,CACF,QAAqD,EAAE,EACvD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,EAAE,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AAzBD,oCAyBC;AAED,MAAa,gBAAiB,SAAQ,iBAAiB;CAAG;AAA1D,4CAA0D;AAuvG1D,YAAY,CAAC,gBAAgB,GAAG,gBAAgB,CAAC"}
1
+ {"version":3,"file":"transactions.js","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAUD,IAAI,CACF,QAAqD,EAAE,EACvD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,EAAE,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AAzBD,oCAyBC;AAED,MAAa,gBAAiB,SAAQ,iBAAiB;CAAG;AAA1D,4CAA0D;AAq2G1D,YAAY,CAAC,gBAAgB,GAAG,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.mjs","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAUD,IAAI,CACF,QAAqD,EAAE,EACvD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,EAAE,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AAED,MAAM,OAAO,gBAAiB,SAAQ,IAAiB;CAAG;AAuvG1D,YAAY,CAAC,gBAAgB,GAAG,gBAAgB,CAAC"}
1
+ {"version":3,"file":"transactions.mjs","sourceRoot":"","sources":["../src/resources/transactions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAUD,IAAI,CACF,QAAqD,EAAE,EACvD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,eAAe,EAAE,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AAED,MAAM,OAAO,gBAAiB,SAAQ,IAAiB;CAAG;AAq2G1D,YAAY,CAAC,gBAAgB,GAAG,gBAAgB,CAAC"}
@@ -91,19 +91,24 @@ export namespace CardPayment {
91
91
  export interface Element {
92
92
  /**
93
93
  * A Card Authentication object. This field will be present in the JSON response if
94
- * and only if `category` is equal to `card_authentication`.
94
+ * and only if `category` is equal to `card_authentication`. Card Authentications
95
+ * are attempts to authenticate a transaction or a card with 3DS.
95
96
  */
96
97
  card_authentication: Element.CardAuthentication | null;
97
98
 
98
99
  /**
99
100
  * A Card Authorization object. This field will be present in the JSON response if
100
- * and only if `category` is equal to `card_authorization`.
101
+ * and only if `category` is equal to `card_authorization`. Card Authorizations are
102
+ * temporary holds placed on a customers funds with the intent to later clear a
103
+ * transaction.
101
104
  */
102
105
  card_authorization: Element.CardAuthorization | null;
103
106
 
104
107
  /**
105
108
  * A Card Authorization Expiration object. This field will be present in the JSON
106
109
  * response if and only if `category` is equal to `card_authorization_expiration`.
110
+ * Card Authorization Expirations are cancellations of authorizations that were
111
+ * never settled by the acquirer.
107
112
  */
108
113
  card_authorization_expiration: Element.CardAuthorizationExpiration | null;
109
114
 
@@ -115,37 +120,49 @@ export namespace CardPayment {
115
120
 
116
121
  /**
117
122
  * A Card Fuel Confirmation object. This field will be present in the JSON response
118
- * if and only if `category` is equal to `card_fuel_confirmation`.
123
+ * if and only if `category` is equal to `card_fuel_confirmation`. Card Fuel
124
+ * Confirmations update the amount of a Card Authorization after a fuel pump
125
+ * transaction is completed.
119
126
  */
120
127
  card_fuel_confirmation: Element.CardFuelConfirmation | null;
121
128
 
122
129
  /**
123
130
  * A Card Increment object. This field will be present in the JSON response if and
124
- * only if `category` is equal to `card_increment`.
131
+ * only if `category` is equal to `card_increment`. Card Increments increase the
132
+ * pending amount of an authorized transaction.
125
133
  */
126
134
  card_increment: Element.CardIncrement | null;
127
135
 
128
136
  /**
129
137
  * A Card Refund object. This field will be present in the JSON response if and
130
- * only if `category` is equal to `card_refund`.
138
+ * only if `category` is equal to `card_refund`. Card Refunds move money back to
139
+ * the cardholder. While they are usually connected to a Card Settlement an
140
+ * acquirer can also refund money directly to a card without relation to a
141
+ * transaction.
131
142
  */
132
143
  card_refund: Element.CardRefund | null;
133
144
 
134
145
  /**
135
146
  * A Card Reversal object. This field will be present in the JSON response if and
136
- * only if `category` is equal to `card_reversal`.
147
+ * only if `category` is equal to `card_reversal`. Card Reversals cancel parts of
148
+ * or the entirety of an existing Card Authorization.
137
149
  */
138
150
  card_reversal: Element.CardReversal | null;
139
151
 
140
152
  /**
141
153
  * A Card Settlement object. This field will be present in the JSON response if and
142
- * only if `category` is equal to `card_settlement`.
154
+ * only if `category` is equal to `card_settlement`. Card Settlements are card
155
+ * transactions that have cleared and settled. While a settlement is usually
156
+ * preceded by an authorization, an acquirer can also directly clear a transaction
157
+ * without first authorizing it.
143
158
  */
144
159
  card_settlement: Element.CardSettlement | null;
145
160
 
146
161
  /**
147
162
  * A Card Validation object. This field will be present in the JSON response if and
148
- * only if `category` is equal to `card_validation`.
163
+ * only if `category` is equal to `card_validation`. Card Validations are requests
164
+ * from a merchant to verify that a card number and optionally its address and/or
165
+ * Card Verification Value are valid.
149
166
  */
150
167
  card_validation: Element.CardValidation | null;
151
168
 
@@ -203,7 +220,8 @@ export namespace CardPayment {
203
220
  export namespace Element {
204
221
  /**
205
222
  * A Card Authentication object. This field will be present in the JSON response if
206
- * and only if `category` is equal to `card_authentication`.
223
+ * and only if `category` is equal to `card_authentication`. Card Authentications
224
+ * are attempts to authenticate a transaction or a card with 3DS.
207
225
  */
208
226
  export interface CardAuthentication {
209
227
  /**
@@ -402,7 +420,9 @@ export namespace CardPayment {
402
420
 
403
421
  /**
404
422
  * A Card Authorization object. This field will be present in the JSON response if
405
- * and only if `category` is equal to `card_authorization`.
423
+ * and only if `category` is equal to `card_authorization`. Card Authorizations are
424
+ * temporary holds placed on a customers funds with the intent to later clear a
425
+ * transaction.
406
426
  */
407
427
  export interface CardAuthorization {
408
428
  /**
@@ -838,6 +858,8 @@ export namespace CardPayment {
838
858
  /**
839
859
  * A Card Authorization Expiration object. This field will be present in the JSON
840
860
  * response if and only if `category` is equal to `card_authorization_expiration`.
861
+ * Card Authorization Expirations are cancellations of authorizations that were
862
+ * never settled by the acquirer.
841
863
  */
842
864
  export interface CardAuthorizationExpiration {
843
865
  /**
@@ -1377,7 +1399,9 @@ export namespace CardPayment {
1377
1399
 
1378
1400
  /**
1379
1401
  * A Card Fuel Confirmation object. This field will be present in the JSON response
1380
- * if and only if `category` is equal to `card_fuel_confirmation`.
1402
+ * if and only if `category` is equal to `card_fuel_confirmation`. Card Fuel
1403
+ * Confirmations update the amount of a Card Authorization after a fuel pump
1404
+ * transaction is completed.
1381
1405
  */
1382
1406
  export interface CardFuelConfirmation {
1383
1407
  /**
@@ -1462,7 +1486,8 @@ export namespace CardPayment {
1462
1486
 
1463
1487
  /**
1464
1488
  * A Card Increment object. This field will be present in the JSON response if and
1465
- * only if `category` is equal to `card_increment`.
1489
+ * only if `category` is equal to `card_increment`. Card Increments increase the
1490
+ * pending amount of an authorized transaction.
1466
1491
  */
1467
1492
  export interface CardIncrement {
1468
1493
  /**
@@ -1575,7 +1600,10 @@ export namespace CardPayment {
1575
1600
 
1576
1601
  /**
1577
1602
  * A Card Refund object. This field will be present in the JSON response if and
1578
- * only if `category` is equal to `card_refund`.
1603
+ * only if `category` is equal to `card_refund`. Card Refunds move money back to
1604
+ * the cardholder. While they are usually connected to a Card Settlement an
1605
+ * acquirer can also refund money directly to a card without relation to a
1606
+ * transaction.
1579
1607
  */
1580
1608
  export interface CardRefund {
1581
1609
  /**
@@ -2296,7 +2324,8 @@ export namespace CardPayment {
2296
2324
 
2297
2325
  /**
2298
2326
  * A Card Reversal object. This field will be present in the JSON response if and
2299
- * only if `category` is equal to `card_reversal`.
2327
+ * only if `category` is equal to `card_reversal`. Card Reversals cancel parts of
2328
+ * or the entirety of an existing Card Authorization.
2300
2329
  */
2301
2330
  export interface CardReversal {
2302
2331
  /**
@@ -2448,7 +2477,10 @@ export namespace CardPayment {
2448
2477
 
2449
2478
  /**
2450
2479
  * A Card Settlement object. This field will be present in the JSON response if and
2451
- * only if `category` is equal to `card_settlement`.
2480
+ * only if `category` is equal to `card_settlement`. Card Settlements are card
2481
+ * transactions that have cleared and settled. While a settlement is usually
2482
+ * preceded by an authorization, an acquirer can also directly clear a transaction
2483
+ * without first authorizing it.
2452
2484
  */
2453
2485
  export interface CardSettlement {
2454
2486
  /**
@@ -3180,7 +3212,9 @@ export namespace CardPayment {
3180
3212
 
3181
3213
  /**
3182
3214
  * A Card Validation object. This field will be present in the JSON response if and
3183
- * only if `category` is equal to `card_validation`.
3215
+ * only if `category` is equal to `card_validation`. Card Validations are requests
3216
+ * from a merchant to verify that a card number and optionally its address and/or
3217
+ * Card Verification Value are valid.
3184
3218
  */
3185
3219
  export interface CardValidation {
3186
3220
  /**
@@ -149,7 +149,9 @@ export namespace PendingTransaction {
149
149
 
150
150
  /**
151
151
  * A Card Authorization object. This field will be present in the JSON response if
152
- * and only if `category` is equal to `card_authorization`.
152
+ * and only if `category` is equal to `card_authorization`. Card Authorizations are
153
+ * temporary holds placed on a customers funds with the intent to later clear a
154
+ * transaction.
153
155
  */
154
156
  card_authorization: Source.CardAuthorization | null;
155
157
 
@@ -205,13 +207,17 @@ export namespace PendingTransaction {
205
207
 
206
208
  /**
207
209
  * An Inbound Funds Hold object. This field will be present in the JSON response if
208
- * and only if `category` is equal to `inbound_funds_hold`.
210
+ * and only if `category` is equal to `inbound_funds_hold`. We hold funds for
211
+ * certain transaction types to account for return windows where funds might still
212
+ * be clawed back by the sending institution.
209
213
  */
210
214
  inbound_funds_hold: Source.InboundFundsHold | null;
211
215
 
212
216
  /**
213
217
  * An Inbound Wire Transfer Reversal object. This field will be present in the JSON
214
218
  * response if and only if `category` is equal to `inbound_wire_transfer_reversal`.
219
+ * An Inbound Wire Transfer Reversal is created when Increase has received a wire
220
+ * and the User requests that it be reversed.
215
221
  */
216
222
  inbound_wire_transfer_reversal: Source.InboundWireTransferReversal | null;
217
223
 
@@ -284,7 +290,9 @@ export namespace PendingTransaction {
284
290
 
285
291
  /**
286
292
  * A Card Authorization object. This field will be present in the JSON response if
287
- * and only if `category` is equal to `card_authorization`.
293
+ * and only if `category` is equal to `card_authorization`. Card Authorizations are
294
+ * temporary holds placed on a customers funds with the intent to later clear a
295
+ * transaction.
288
296
  */
289
297
  export interface CardAuthorization {
290
298
  /**
@@ -789,7 +797,9 @@ export namespace PendingTransaction {
789
797
 
790
798
  /**
791
799
  * An Inbound Funds Hold object. This field will be present in the JSON response if
792
- * and only if `category` is equal to `inbound_funds_hold`.
800
+ * and only if `category` is equal to `inbound_funds_hold`. We hold funds for
801
+ * certain transaction types to account for return windows where funds might still
802
+ * be clawed back by the sending institution.
793
803
  */
794
804
  export interface InboundFundsHold {
795
805
  /**
@@ -861,6 +871,8 @@ export namespace PendingTransaction {
861
871
  /**
862
872
  * An Inbound Wire Transfer Reversal object. This field will be present in the JSON
863
873
  * response if and only if `category` is equal to `inbound_wire_transfer_reversal`.
874
+ * An Inbound Wire Transfer Reversal is created when Increase has received a wire
875
+ * and the User requests that it be reversed.
864
876
  */
865
877
  export interface InboundWireTransferReversal {
866
878
  /**