increase 1.233.0 → 1.234.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.
@@ -73,35 +73,214 @@ module Increase
73
73
 
74
74
  type card_authentication =
75
75
  {
76
+ access_control_server_transaction_id: String,
76
77
  account_id: String,
78
+ billing_address_city: String?,
79
+ billing_address_country: String?,
80
+ :billing_address_line1 => String?,
81
+ :billing_address_line2 => String?,
82
+ :billing_address_line3 => String?,
83
+ billing_address_postal_code: String?,
84
+ billing_address_state: String?,
77
85
  card_id: String,
86
+ cardholder_email: String?,
87
+ cardholder_name: String?,
88
+ category: Increase::Models::RealTimeDecision::CardAuthentication::category?,
78
89
  decision: Increase::Models::RealTimeDecision::CardAuthentication::decision?,
90
+ device_channel: Increase::RealTimeDecision::CardAuthentication::DeviceChannel,
91
+ directory_server_transaction_id: String,
92
+ merchant_acceptor_id: String,
93
+ merchant_category_code: String,
94
+ merchant_country: String,
95
+ merchant_name: String,
96
+ prior_card_authentication_id: String?,
97
+ purchase_amount: Integer?,
98
+ purchase_currency: String?,
99
+ requestor_authentication_indicator: Increase::Models::RealTimeDecision::CardAuthentication::requestor_authentication_indicator?,
100
+ requestor_challenge_indicator: Increase::Models::RealTimeDecision::CardAuthentication::requestor_challenge_indicator?,
101
+ requestor_name: String,
102
+ requestor_url: String,
103
+ shipping_address_city: String?,
104
+ shipping_address_country: String?,
105
+ :shipping_address_line1 => String?,
106
+ :shipping_address_line2 => String?,
107
+ :shipping_address_line3 => String?,
108
+ shipping_address_postal_code: String?,
109
+ shipping_address_state: String?,
110
+ three_d_secure_server_transaction_id: String,
111
+ transaction_type: Increase::Models::RealTimeDecision::CardAuthentication::transaction_type?,
79
112
  upcoming_card_payment_id: String
80
113
  }
81
114
 
82
115
  class CardAuthentication < Increase::Internal::Type::BaseModel
116
+ attr_accessor access_control_server_transaction_id: String
117
+
83
118
  attr_accessor account_id: String
84
119
 
120
+ attr_accessor billing_address_city: String?
121
+
122
+ attr_accessor billing_address_country: String?
123
+
124
+ attr_accessor billing_address_line1: String?
125
+
126
+ attr_accessor billing_address_line2: String?
127
+
128
+ attr_accessor billing_address_line3: String?
129
+
130
+ attr_accessor billing_address_postal_code: String?
131
+
132
+ attr_accessor billing_address_state: String?
133
+
85
134
  attr_accessor card_id: String
86
135
 
136
+ attr_accessor cardholder_email: String?
137
+
138
+ attr_accessor cardholder_name: String?
139
+
140
+ attr_accessor category: Increase::Models::RealTimeDecision::CardAuthentication::category?
141
+
87
142
  attr_accessor decision: Increase::Models::RealTimeDecision::CardAuthentication::decision?
88
143
 
144
+ attr_accessor device_channel: Increase::RealTimeDecision::CardAuthentication::DeviceChannel
145
+
146
+ attr_accessor directory_server_transaction_id: String
147
+
148
+ attr_accessor merchant_acceptor_id: String
149
+
150
+ attr_accessor merchant_category_code: String
151
+
152
+ attr_accessor merchant_country: String
153
+
154
+ attr_accessor merchant_name: String
155
+
156
+ attr_accessor prior_card_authentication_id: String?
157
+
158
+ attr_accessor purchase_amount: Integer?
159
+
160
+ attr_accessor purchase_currency: String?
161
+
162
+ attr_accessor requestor_authentication_indicator: Increase::Models::RealTimeDecision::CardAuthentication::requestor_authentication_indicator?
163
+
164
+ attr_accessor requestor_challenge_indicator: Increase::Models::RealTimeDecision::CardAuthentication::requestor_challenge_indicator?
165
+
166
+ attr_accessor requestor_name: String
167
+
168
+ attr_accessor requestor_url: String
169
+
170
+ attr_accessor shipping_address_city: String?
171
+
172
+ attr_accessor shipping_address_country: String?
173
+
174
+ attr_accessor shipping_address_line1: String?
175
+
176
+ attr_accessor shipping_address_line2: String?
177
+
178
+ attr_accessor shipping_address_line3: String?
179
+
180
+ attr_accessor shipping_address_postal_code: String?
181
+
182
+ attr_accessor shipping_address_state: String?
183
+
184
+ attr_accessor three_d_secure_server_transaction_id: String
185
+
186
+ attr_accessor transaction_type: Increase::Models::RealTimeDecision::CardAuthentication::transaction_type?
187
+
89
188
  attr_accessor upcoming_card_payment_id: String
90
189
 
91
190
  def initialize: (
191
+ access_control_server_transaction_id: String,
92
192
  account_id: String,
193
+ billing_address_city: String?,
194
+ billing_address_country: String?,
195
+ billing_address_line1: String?,
196
+ billing_address_line2: String?,
197
+ billing_address_line3: String?,
198
+ billing_address_postal_code: String?,
199
+ billing_address_state: String?,
93
200
  card_id: String,
201
+ cardholder_email: String?,
202
+ cardholder_name: String?,
203
+ category: Increase::Models::RealTimeDecision::CardAuthentication::category?,
94
204
  decision: Increase::Models::RealTimeDecision::CardAuthentication::decision?,
205
+ device_channel: Increase::RealTimeDecision::CardAuthentication::DeviceChannel,
206
+ directory_server_transaction_id: String,
207
+ merchant_acceptor_id: String,
208
+ merchant_category_code: String,
209
+ merchant_country: String,
210
+ merchant_name: String,
211
+ prior_card_authentication_id: String?,
212
+ purchase_amount: Integer?,
213
+ purchase_currency: String?,
214
+ requestor_authentication_indicator: Increase::Models::RealTimeDecision::CardAuthentication::requestor_authentication_indicator?,
215
+ requestor_challenge_indicator: Increase::Models::RealTimeDecision::CardAuthentication::requestor_challenge_indicator?,
216
+ requestor_name: String,
217
+ requestor_url: String,
218
+ shipping_address_city: String?,
219
+ shipping_address_country: String?,
220
+ shipping_address_line1: String?,
221
+ shipping_address_line2: String?,
222
+ shipping_address_line3: String?,
223
+ shipping_address_postal_code: String?,
224
+ shipping_address_state: String?,
225
+ three_d_secure_server_transaction_id: String,
226
+ transaction_type: Increase::Models::RealTimeDecision::CardAuthentication::transaction_type?,
95
227
  upcoming_card_payment_id: String
96
228
  ) -> void
97
229
 
98
230
  def to_hash: -> {
231
+ access_control_server_transaction_id: String,
99
232
  account_id: String,
233
+ billing_address_city: String?,
234
+ billing_address_country: String?,
235
+ :billing_address_line1 => String?,
236
+ :billing_address_line2 => String?,
237
+ :billing_address_line3 => String?,
238
+ billing_address_postal_code: String?,
239
+ billing_address_state: String?,
100
240
  card_id: String,
241
+ cardholder_email: String?,
242
+ cardholder_name: String?,
243
+ category: Increase::Models::RealTimeDecision::CardAuthentication::category?,
101
244
  decision: Increase::Models::RealTimeDecision::CardAuthentication::decision?,
245
+ device_channel: Increase::RealTimeDecision::CardAuthentication::DeviceChannel,
246
+ directory_server_transaction_id: String,
247
+ merchant_acceptor_id: String,
248
+ merchant_category_code: String,
249
+ merchant_country: String,
250
+ merchant_name: String,
251
+ prior_card_authentication_id: String?,
252
+ purchase_amount: Integer?,
253
+ purchase_currency: String?,
254
+ requestor_authentication_indicator: Increase::Models::RealTimeDecision::CardAuthentication::requestor_authentication_indicator?,
255
+ requestor_challenge_indicator: Increase::Models::RealTimeDecision::CardAuthentication::requestor_challenge_indicator?,
256
+ requestor_name: String,
257
+ requestor_url: String,
258
+ shipping_address_city: String?,
259
+ shipping_address_country: String?,
260
+ :shipping_address_line1 => String?,
261
+ :shipping_address_line2 => String?,
262
+ :shipping_address_line3 => String?,
263
+ shipping_address_postal_code: String?,
264
+ shipping_address_state: String?,
265
+ three_d_secure_server_transaction_id: String,
266
+ transaction_type: Increase::Models::RealTimeDecision::CardAuthentication::transaction_type?,
102
267
  upcoming_card_payment_id: String
103
268
  }
104
269
 
270
+ type category = :payment_authentication | :non_payment_authentication
271
+
272
+ module Category
273
+ extend Increase::Internal::Type::Enum
274
+
275
+ # The authentication attempt is for a payment.
276
+ PAYMENT_AUTHENTICATION: :payment_authentication
277
+
278
+ # The authentication attempt is not for a payment.
279
+ NON_PAYMENT_AUTHENTICATION: :non_payment_authentication
280
+
281
+ def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthentication::category]
282
+ end
283
+
105
284
  type decision = :approve | :challenge | :deny
106
285
 
107
286
  module Decision
@@ -118,6 +297,310 @@ module Increase
118
297
 
119
298
  def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthentication::decision]
120
299
  end
300
+
301
+ type device_channel =
302
+ {
303
+ browser: Increase::RealTimeDecision::CardAuthentication::DeviceChannel::Browser?,
304
+ category: Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::category,
305
+ merchant_initiated: Increase::RealTimeDecision::CardAuthentication::DeviceChannel::MerchantInitiated?
306
+ }
307
+
308
+ class DeviceChannel < Increase::Internal::Type::BaseModel
309
+ attr_accessor browser: Increase::RealTimeDecision::CardAuthentication::DeviceChannel::Browser?
310
+
311
+ attr_accessor category: Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::category
312
+
313
+ attr_accessor merchant_initiated: Increase::RealTimeDecision::CardAuthentication::DeviceChannel::MerchantInitiated?
314
+
315
+ def initialize: (
316
+ browser: Increase::RealTimeDecision::CardAuthentication::DeviceChannel::Browser?,
317
+ category: Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::category,
318
+ merchant_initiated: Increase::RealTimeDecision::CardAuthentication::DeviceChannel::MerchantInitiated?
319
+ ) -> void
320
+
321
+ def to_hash: -> {
322
+ browser: Increase::RealTimeDecision::CardAuthentication::DeviceChannel::Browser?,
323
+ category: Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::category,
324
+ merchant_initiated: Increase::RealTimeDecision::CardAuthentication::DeviceChannel::MerchantInitiated?
325
+ }
326
+
327
+ type browser =
328
+ {
329
+ accept_header: String?,
330
+ ip_address: String?,
331
+ javascript_enabled: Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::Browser::javascript_enabled?,
332
+ language: String?,
333
+ user_agent: String?
334
+ }
335
+
336
+ class Browser < Increase::Internal::Type::BaseModel
337
+ attr_accessor accept_header: String?
338
+
339
+ attr_accessor ip_address: String?
340
+
341
+ attr_accessor javascript_enabled: Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::Browser::javascript_enabled?
342
+
343
+ attr_accessor language: String?
344
+
345
+ attr_accessor user_agent: String?
346
+
347
+ def initialize: (
348
+ accept_header: String?,
349
+ ip_address: String?,
350
+ javascript_enabled: Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::Browser::javascript_enabled?,
351
+ language: String?,
352
+ user_agent: String?
353
+ ) -> void
354
+
355
+ def to_hash: -> {
356
+ accept_header: String?,
357
+ ip_address: String?,
358
+ javascript_enabled: Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::Browser::javascript_enabled?,
359
+ language: String?,
360
+ user_agent: String?
361
+ }
362
+
363
+ type javascript_enabled = :enabled | :disabled
364
+
365
+ module JavascriptEnabled
366
+ extend Increase::Internal::Type::Enum
367
+
368
+ # JavaScript is enabled in the cardholder's browser.
369
+ ENABLED: :enabled
370
+
371
+ # JavaScript is not enabled in the cardholder's browser.
372
+ DISABLED: :disabled
373
+
374
+ def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::Browser::javascript_enabled]
375
+ end
376
+ end
377
+
378
+ type category = :app | :browser | :three_ds_requestor_initiated
379
+
380
+ module Category
381
+ extend Increase::Internal::Type::Enum
382
+
383
+ # The authentication attempt was made from an app.
384
+ APP: :app
385
+
386
+ # The authentication attempt was made from a browser.
387
+ BROWSER: :browser
388
+
389
+ # The authentication attempt was initiated by the 3DS Requestor.
390
+ THREE_DS_REQUESTOR_INITIATED: :three_ds_requestor_initiated
391
+
392
+ def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::category]
393
+ end
394
+
395
+ type merchant_initiated =
396
+ {
397
+ indicator: Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::MerchantInitiated::indicator
398
+ }
399
+
400
+ class MerchantInitiated < Increase::Internal::Type::BaseModel
401
+ attr_accessor indicator: Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::MerchantInitiated::indicator
402
+
403
+ def initialize: (
404
+ indicator: Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::MerchantInitiated::indicator
405
+ ) -> void
406
+
407
+ def to_hash: -> {
408
+ indicator: Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::MerchantInitiated::indicator
409
+ }
410
+
411
+ type indicator =
412
+ :recurring_transaction
413
+ | :installment_transaction
414
+ | :add_card
415
+ | :maintain_card_information
416
+ | :account_verification
417
+ | :split_delayed_shipment
418
+ | :top_up
419
+ | :mail_order
420
+ | :telephone_order
421
+ | :whitelist_status_check
422
+ | :other_payment
423
+ | :billing_agreement
424
+ | :device_binding_status_check
425
+ | :card_security_code_status_check
426
+ | :delayed_shipment
427
+ | :split_payment
428
+ | :fido_credential_deletion
429
+ | :fido_credential_registration
430
+ | :decoupled_authentication_fallback
431
+
432
+ module Indicator
433
+ extend Increase::Internal::Type::Enum
434
+
435
+ # Recurring transaction.
436
+ RECURRING_TRANSACTION: :recurring_transaction
437
+
438
+ # Installment transaction.
439
+ INSTALLMENT_TRANSACTION: :installment_transaction
440
+
441
+ # Add card.
442
+ ADD_CARD: :add_card
443
+
444
+ # Maintain card information.
445
+ MAINTAIN_CARD_INFORMATION: :maintain_card_information
446
+
447
+ # Account verification.
448
+ ACCOUNT_VERIFICATION: :account_verification
449
+
450
+ # Split or delayed shipment.
451
+ SPLIT_DELAYED_SHIPMENT: :split_delayed_shipment
452
+
453
+ # Top up.
454
+ TOP_UP: :top_up
455
+
456
+ # Mail order.
457
+ MAIL_ORDER: :mail_order
458
+
459
+ # Telephone order.
460
+ TELEPHONE_ORDER: :telephone_order
461
+
462
+ # Whitelist status check.
463
+ WHITELIST_STATUS_CHECK: :whitelist_status_check
464
+
465
+ # Other payment.
466
+ OTHER_PAYMENT: :other_payment
467
+
468
+ # Billing agreement.
469
+ BILLING_AGREEMENT: :billing_agreement
470
+
471
+ # Device binding status check.
472
+ DEVICE_BINDING_STATUS_CHECK: :device_binding_status_check
473
+
474
+ # Card security code status check.
475
+ CARD_SECURITY_CODE_STATUS_CHECK: :card_security_code_status_check
476
+
477
+ # Delayed shipment.
478
+ DELAYED_SHIPMENT: :delayed_shipment
479
+
480
+ # Split payment.
481
+ SPLIT_PAYMENT: :split_payment
482
+
483
+ # FIDO credential deletion.
484
+ FIDO_CREDENTIAL_DELETION: :fido_credential_deletion
485
+
486
+ # FIDO credential registration.
487
+ FIDO_CREDENTIAL_REGISTRATION: :fido_credential_registration
488
+
489
+ # Decoupled authentication fallback.
490
+ DECOUPLED_AUTHENTICATION_FALLBACK: :decoupled_authentication_fallback
491
+
492
+ def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::MerchantInitiated::indicator]
493
+ end
494
+ end
495
+ end
496
+
497
+ type requestor_authentication_indicator =
498
+ :payment_transaction
499
+ | :recurring_transaction
500
+ | :installment_transaction
501
+ | :add_card
502
+ | :maintain_card
503
+ | :emv_token_cardholder_verification
504
+ | :billing_agreement
505
+
506
+ module RequestorAuthenticationIndicator
507
+ extend Increase::Internal::Type::Enum
508
+
509
+ # The authentication is for a payment transaction.
510
+ PAYMENT_TRANSACTION: :payment_transaction
511
+
512
+ # The authentication is for a recurring transaction.
513
+ RECURRING_TRANSACTION: :recurring_transaction
514
+
515
+ # The authentication is for an installment transaction.
516
+ INSTALLMENT_TRANSACTION: :installment_transaction
517
+
518
+ # The authentication is for adding a card.
519
+ ADD_CARD: :add_card
520
+
521
+ # The authentication is for maintaining a card.
522
+ MAINTAIN_CARD: :maintain_card
523
+
524
+ # The authentication is for EMV token cardholder verification.
525
+ EMV_TOKEN_CARDHOLDER_VERIFICATION: :emv_token_cardholder_verification
526
+
527
+ # The authentication is for a billing agreement.
528
+ BILLING_AGREEMENT: :billing_agreement
529
+
530
+ def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthentication::requestor_authentication_indicator]
531
+ end
532
+
533
+ type requestor_challenge_indicator =
534
+ :no_preference
535
+ | :no_challenge_requested
536
+ | :challenge_requested_3ds_requestor_preference
537
+ | :challenge_requested_mandate
538
+ | :no_challenge_requested_transactional_risk_analysis_already_performed
539
+ | :no_challenge_requested_data_share_only
540
+ | :no_challenge_requested_strong_consumer_authentication_already_performed
541
+ | :no_challenge_requested_utilize_whitelist_exemption_if_no_challenge_required
542
+ | :challenge_requested_whitelist_prompt_requested_if_challenge_required
543
+
544
+ module RequestorChallengeIndicator
545
+ extend Increase::Internal::Type::Enum
546
+
547
+ # No preference.
548
+ NO_PREFERENCE: :no_preference
549
+
550
+ # No challenge requested.
551
+ NO_CHALLENGE_REQUESTED: :no_challenge_requested
552
+
553
+ # Challenge requested, 3DS Requestor preference.
554
+ CHALLENGE_REQUESTED_3DS_REQUESTOR_PREFERENCE: :challenge_requested_3ds_requestor_preference
555
+
556
+ # Challenge requested, mandate.
557
+ CHALLENGE_REQUESTED_MANDATE: :challenge_requested_mandate
558
+
559
+ # No challenge requested, transactional risk analysis already performed.
560
+ NO_CHALLENGE_REQUESTED_TRANSACTIONAL_RISK_ANALYSIS_ALREADY_PERFORMED: :no_challenge_requested_transactional_risk_analysis_already_performed
561
+
562
+ # No challenge requested, data share only.
563
+ NO_CHALLENGE_REQUESTED_DATA_SHARE_ONLY: :no_challenge_requested_data_share_only
564
+
565
+ # No challenge requested, strong consumer authentication already performed.
566
+ NO_CHALLENGE_REQUESTED_STRONG_CONSUMER_AUTHENTICATION_ALREADY_PERFORMED: :no_challenge_requested_strong_consumer_authentication_already_performed
567
+
568
+ # No challenge requested, utilize whitelist exemption if no challenge required.
569
+ NO_CHALLENGE_REQUESTED_UTILIZE_WHITELIST_EXEMPTION_IF_NO_CHALLENGE_REQUIRED: :no_challenge_requested_utilize_whitelist_exemption_if_no_challenge_required
570
+
571
+ # Challenge requested, whitelist prompt requested if challenge required.
572
+ CHALLENGE_REQUESTED_WHITELIST_PROMPT_REQUESTED_IF_CHALLENGE_REQUIRED: :challenge_requested_whitelist_prompt_requested_if_challenge_required
573
+
574
+ def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthentication::requestor_challenge_indicator]
575
+ end
576
+
577
+ type transaction_type =
578
+ :goods_service_purchase
579
+ | :check_acceptance
580
+ | :account_funding
581
+ | :quasi_cash_transaction
582
+ | :prepaid_activation_and_load
583
+
584
+ module TransactionType
585
+ extend Increase::Internal::Type::Enum
586
+
587
+ # Purchase of goods or services.
588
+ GOODS_SERVICE_PURCHASE: :goods_service_purchase
589
+
590
+ # Check acceptance.
591
+ CHECK_ACCEPTANCE: :check_acceptance
592
+
593
+ # Account funding.
594
+ ACCOUNT_FUNDING: :account_funding
595
+
596
+ # Quasi-cash transaction.
597
+ QUASI_CASH_TRANSACTION: :quasi_cash_transaction
598
+
599
+ # Prepaid activation and load.
600
+ PREPAID_ACTIVATION_AND_LOAD: :prepaid_activation_and_load
601
+
602
+ def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthentication::transaction_type]
603
+ end
121
604
  end
122
605
 
123
606
  type card_authentication_challenge =
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.233.0
4
+ version: 1.234.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-05 00:00:00.000000000 Z
11
+ date: 2026-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi