cybersource_rest_client 0.0.30 → 0.0.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/lib/AuthenticationSDK/authentication/oauth/OAuthToken.rb +15 -0
  3. data/lib/AuthenticationSDK/core/Authorization.rb +4 -1
  4. data/lib/AuthenticationSDK/core/MerchantConfig.rb +93 -19
  5. data/lib/AuthenticationSDK/util/Constants.rb +77 -75
  6. data/lib/cybersource_rest_client/api/o_auth_api.rb +104 -0
  7. data/lib/cybersource_rest_client/api/payments_api.rb +2 -2
  8. data/lib/cybersource_rest_client/api/refund_api.rb +4 -4
  9. data/lib/cybersource_rest_client/api/void_api.rb +4 -4
  10. data/lib/cybersource_rest_client/api_client.rb +31 -8
  11. data/lib/cybersource_rest_client/configuration.rb +2 -2
  12. data/lib/cybersource_rest_client/models/access_token_response.rb +244 -0
  13. data/lib/cybersource_rest_client/models/add_negative_list_request.rb +1 -1
  14. data/lib/cybersource_rest_client/models/bad_request_error.rb +192 -0
  15. data/lib/cybersource_rest_client/models/create_access_token_request.rb +254 -0
  16. data/lib/cybersource_rest_client/models/fraud_marking_action_request.rb +1 -1
  17. data/lib/cybersource_rest_client/models/inline_response_400_2.rb +1 -1
  18. data/lib/cybersource_rest_client/models/invoicing_v2_invoice_settings_get200_response.rb +1 -1
  19. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response.rb +1 -1
  20. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_customer_information.rb +20 -4
  21. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get200_response_invoices.rb +1 -1
  22. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get400_response.rb +1 -1
  23. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get404_response.rb +1 -1
  24. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_all_get502_response.rb +1 -1
  25. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_get200_response.rb +2 -2
  26. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post201_response.rb +2 -2
  27. data/lib/cybersource_rest_client/models/invoicing_v2_invoices_post202_response.rb +1 -1
  28. data/lib/cybersource_rest_client/models/invoicingv2invoices_customer_information.rb +20 -4
  29. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_deletes_post200_response.rb +1 -1
  30. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_get200_response.rb +1 -1
  31. data/lib/cybersource_rest_client/models/kms_v2_keys_asym_post201_response.rb +1 -1
  32. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_deletes_post200_response.rb +1 -1
  33. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_get200_response.rb +1 -1
  34. data/lib/cybersource_rest_client/models/kms_v2_keys_sym_post201_response.rb +1 -1
  35. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get200_response.rb +1 -1
  36. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get400_response.rb +1 -1
  37. data/lib/cybersource_rest_client/models/pts_v1_transaction_batches_get500_response.rb +1 -1
  38. data/lib/cybersource_rest_client/models/pts_v2_credits_post201_response.rb +3 -3
  39. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response.rb +3 -3
  40. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_error_information.rb +1 -1
  41. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch201_response_processor_information.rb +6 -0
  42. data/lib/cybersource_rest_client/models/pts_v2_incremental_authorization_patch400_response.rb +1 -1
  43. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post201_response.rb +3 -3
  44. data/lib/cybersource_rest_client/models/pts_v2_payments_captures_post400_response.rb +1 -1
  45. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response.rb +13 -4
  46. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_consumer_authentication_information.rb +11 -1
  47. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_error_information.rb +1 -1
  48. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information.rb +13 -4
  49. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_reward_points_details.rb +270 -0
  50. data/lib/cybersource_rest_client/models/{pts_v2_payments_post201_response_payment_information_card.rb → pts_v2_payments_post201_response_payment_account_information.rb} +8 -9
  51. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb +242 -0
  52. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb +1 -1
  53. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb +1 -1
  54. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processing_information.rb +1 -1
  55. data/lib/cybersource_rest_client/models/pts_v2_payments_post201_response_processor_information.rb +9 -13
  56. data/lib/cybersource_rest_client/models/pts_v2_payments_post400_response.rb +2 -2
  57. data/lib/cybersource_rest_client/models/pts_v2_payments_post502_response.rb +1 -1
  58. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post201_response.rb +3 -3
  59. data/lib/cybersource_rest_client/models/pts_v2_payments_refund_post400_response.rb +1 -1
  60. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post201_response.rb +3 -3
  61. data/lib/cybersource_rest_client/models/pts_v2_payments_reversals_post400_response.rb +1 -1
  62. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post201_response.rb +2 -2
  63. data/lib/cybersource_rest_client/models/pts_v2_payments_voids_post400_response.rb +1 -1
  64. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response.rb +1 -1
  65. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_error_information.rb +1 -1
  66. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_merchant_information_merchant_descriptor.rb +6 -0
  67. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_order_information_amount_details.rb +2 -2
  68. data/lib/cybersource_rest_client/models/pts_v2_payouts_post201_response_recipient_information_card.rb +1 -1
  69. data/lib/cybersource_rest_client/models/pts_v2_payouts_post400_response.rb +1 -1
  70. data/lib/cybersource_rest_client/models/ptsv2credits_processing_information.rb +2 -2
  71. data/lib/cybersource_rest_client/models/ptsv2payments_client_reference_information.rb +1 -1
  72. data/lib/cybersource_rest_client/models/ptsv2payments_consumer_authentication_information.rb +27 -1
  73. data/lib/cybersource_rest_client/models/ptsv2payments_merchant_information_merchant_descriptor.rb +6 -0
  74. data/lib/cybersource_rest_client/models/ptsv2payments_order_information_amount_details.rb +2 -2
  75. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_card.rb +4 -4
  76. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_fluid_data.rb +3 -3
  77. data/lib/cybersource_rest_client/models/ptsv2payments_payment_information_tokenized_card.rb +1 -1
  78. data/lib/cybersource_rest_client/models/ptsv2payments_point_of_sale_information.rb +38 -38
  79. data/lib/cybersource_rest_client/models/ptsv2payments_processing_information.rb +16 -6
  80. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb +15 -4
  81. data/lib/cybersource_rest_client/models/ptsv2payments_risk_information_auxiliary_data.rb +207 -0
  82. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_payment_information_card.rb +1 -1
  83. data/lib/cybersource_rest_client/models/ptsv2paymentsidcaptures_processing_information.rb +15 -5
  84. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_payment_information_card.rb +4 -4
  85. data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_processing_information.rb +1 -1
  86. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_client_reference_information.rb +17 -1
  87. data/lib/cybersource_rest_client/models/ptsv2paymentsidreversals_processing_information.rb +1 -1
  88. data/lib/cybersource_rest_client/models/ptsv2payouts_merchant_information_merchant_descriptor.rb +6 -0
  89. data/lib/cybersource_rest_client/models/ptsv2payouts_payment_information_card.rb +4 -4
  90. data/lib/cybersource_rest_client/models/resource_not_found_error.rb +192 -0
  91. data/lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb +3 -3
  92. data/lib/cybersource_rest_client/models/risk_v1_authentication_results_post201_response.rb +3 -3
  93. data/lib/cybersource_rest_client/models/risk_v1_authentication_setups_post201_response.rb +2 -2
  94. data/lib/cybersource_rest_client/models/risk_v1_authentications_post201_response.rb +3 -3
  95. data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response.rb +1 -1
  96. data/lib/cybersource_rest_client/models/risk_v1_authentications_post400_response_1.rb +1 -1
  97. data/lib/cybersource_rest_client/models/risk_v1_decisions_post201_response.rb +3 -3
  98. data/lib/cybersource_rest_client/models/risk_v1_decisions_post400_response.rb +1 -1
  99. data/lib/cybersource_rest_client/models/risk_v1_decisions_post400_response_1.rb +1 -1
  100. data/lib/cybersource_rest_client/models/risk_v1_export_compliance_inquiries_post201_response.rb +3 -3
  101. data/lib/cybersource_rest_client/models/risk_v1_update_post201_response.rb +2 -2
  102. data/lib/cybersource_rest_client/models/riskv1authenticationresults_consumer_authentication_information.rb +1 -1
  103. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_card.rb +3 -3
  104. data/lib/cybersource_rest_client/models/riskv1authenticationresults_payment_information_tokenized_card.rb +1 -1
  105. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_card.rb +3 -3
  106. data/lib/cybersource_rest_client/models/riskv1authentications_payment_information_tokenized_card.rb +1 -1
  107. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_card.rb +3 -3
  108. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_fluid_data.rb +3 -3
  109. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_payment_information_tokenized_card.rb +1 -1
  110. data/lib/cybersource_rest_client/models/riskv1authenticationsetups_processing_information.rb +1 -1
  111. data/lib/cybersource_rest_client/models/riskv1decisions_client_reference_information.rb +17 -1
  112. data/lib/cybersource_rest_client/models/riskv1decisions_device_information.rb +1 -11
  113. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_card.rb +3 -3
  114. data/lib/cybersource_rest_client/models/riskv1decisions_payment_information_tokenized_card.rb +1 -1
  115. data/lib/cybersource_rest_client/models/riskv1decisions_risk_information.rb +15 -4
  116. data/lib/cybersource_rest_client/models/riskv1liststypeentries_client_reference_information.rb +224 -0
  117. data/lib/cybersource_rest_client/models/riskv1liststypeentries_payment_information_card.rb +1 -1
  118. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response.rb +3 -3
  119. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb +13 -4
  120. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information_strong_authentication.rb +254 -0
  121. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_order_information_amount_details.rb +2 -2
  122. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_payment_information_card.rb +5 -5
  123. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information.rb +2 -2
  124. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processing_information_authorization_options.rb +13 -4
  125. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_processor_information.rb +8 -12
  126. data/lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_risk_information.rb +1 -1
  127. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response.rb +1 -1
  128. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_merchant_information.rb +1 -1
  129. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_order_information_bill_to.rb +17 -1
  130. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_payment_information_card.rb +3 -3
  131. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processing_information.rb +2 -2
  132. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_processor_information.rb +6 -0
  133. data/lib/cybersource_rest_client/models/tss_v2_transactions_post201_response__embedded_transaction_summaries.rb +2 -2
  134. data/lib/cybersource_rest_client/models/tss_v2_transactions_post400_response.rb +1 -1
  135. data/lib/cybersource_rest_client/models/unauthorized_client_error.rb +192 -0
  136. data/lib/cybersource_rest_client/models/validate_export_compliance_request.rb +1 -1
  137. data/lib/cybersource_rest_client/models/vas_v2_payments_post201_response.rb +2 -2
  138. data/lib/cybersource_rest_client/models/vas_v2_payments_post400_response.rb +1 -1
  139. data/lib/cybersource_rest_client/models/vas_v2_tax_void200_response.rb +2 -2
  140. data/lib/cybersource_rest_client/models/vas_v2_tax_voids_post400_response.rb +1 -1
  141. data/lib/cybersource_rest_client/models/verify_customer_address_request.rb +1 -1
  142. data/lib/cybersource_rest_client.rb +12 -1
  143. metadata +113 -93
  144. data/lib/AuthenticationSDK/resource/TRRReports.json +0 -12
  145. data/lib/AuthenticationSDK/resource/cybs.yml +0 -31
  146. data/lib/AuthenticationSDK/resource/request.json +0 -54
  147. data/lib/AuthenticationSDK/resource/request_capture.json +0 -11
  148. data/lib/AuthenticationSDK/resource/testrest.p12 +0 -0
  149. data/lib/AuthenticationSDK/spec/Authorization_spec.rb +0 -274
  150. data/lib/AuthenticationSDK/spec/MerchantConfigData.rb +0 -59
  151. data/lib/AuthenticationSDK/spec/MerchantConfig_spec.rb +0 -116
  152. data/lib/AuthenticationSDK/spec/PostRequestData.json +0 -54
  153. data/lib/AuthenticationSDK/spec/PutRequestData.json +0 -12
  154. data/lib/AuthenticationSDK/spec/ResponseCodeMessage_spec.rb +0 -60
  155. data/lib/AuthenticationSDK/spec/spec_helper.rb +0 -12
@@ -38,7 +38,7 @@ module CyberSource
38
38
  # Attribute type mapping.
39
39
  def self.swagger_types
40
40
  {
41
- :'client_reference_information' => :'Riskv1decisionsClientReferenceInformation',
41
+ :'client_reference_information' => :'Riskv1liststypeentriesClientReferenceInformation',
42
42
  :'order_information' => :'Riskv1exportcomplianceinquiriesOrderInformation',
43
43
  :'buyer_information' => :'Riskv1addressverificationsBuyerInformation',
44
44
  :'device_information' => :'Riskv1exportcomplianceinquiriesDeviceInformation',
@@ -16,10 +16,10 @@ module CyberSource
16
16
  class VasV2PaymentsPost201Response
17
17
  attr_accessor :_links
18
18
 
19
- # An unique identification number to identify the submitted request. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. #### PIN debit Returned for all PIN debit services.
19
+ # An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.
20
20
  attr_accessor :id
21
21
 
22
- # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by authorization service. #### PIN debit Time when the PIN debit credit, PIN debit purchase or PIN debit reversal was requested. Returned by PIN debit credit, PIN debit purchase or PIN debit reversal.
22
+ # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
23
23
  attr_accessor :submit_time_utc
24
24
 
25
25
  # The status of the submitted transaction. Possible values: - COMPLETED
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class VasV2PaymentsPost400Response
17
- # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by authorization service. #### PIN debit Time when the PIN debit credit, PIN debit purchase or PIN debit reversal was requested. Returned by PIN debit credit, PIN debit purchase or PIN debit reversal.
17
+ # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
18
18
  attr_accessor :submit_time_utc
19
19
 
20
20
  # The status of the submitted transaction. Possible values: - INVALID_REQUEST
@@ -14,10 +14,10 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class VasV2TaxVoid200Response
17
- # An unique identification number to identify the submitted request. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response. #### PIN debit Returned for all PIN debit services.
17
+ # An unique identification number generated by Cybersource to identify the submitted request. Returned by all services. It is also appended to the endpoint of the resource. On incremental authorizations, this value with be the same as the identification number returned in the original authorization response.
18
18
  attr_accessor :id
19
19
 
20
- # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by authorization service. #### PIN debit Time when the PIN debit credit, PIN debit purchase or PIN debit reversal was requested. Returned by PIN debit credit, PIN debit purchase or PIN debit reversal.
20
+ # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
21
21
  attr_accessor :submit_time_utc
22
22
 
23
23
  # The status of the submitted transaction. Possible values: - VOIDED
@@ -14,7 +14,7 @@ require 'date'
14
14
 
15
15
  module CyberSource
16
16
  class VasV2TaxVoidsPost400Response
17
- # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by authorization service. #### PIN debit Time when the PIN debit credit, PIN debit purchase or PIN debit reversal was requested. Returned by PIN debit credit, PIN debit purchase or PIN debit reversal.
17
+ # Time of request in UTC. Format: `YYYY-MM-DDThh:mm:ssZ` **Example** `2016-08-11T22:47:57Z` equals August 11, 2016, at 22:47:57 (10:47:57 p.m.). The `T` separates the date and the time. The `Z` indicates UTC. Returned by Cybersource for all services.
18
18
  attr_accessor :submit_time_utc
19
19
 
20
20
  # The status of the submitted transaction. Possible values: - INVALID_REQUEST
@@ -32,7 +32,7 @@ module CyberSource
32
32
  # Attribute type mapping.
33
33
  def self.swagger_types
34
34
  {
35
- :'client_reference_information' => :'Riskv1decisionsClientReferenceInformation',
35
+ :'client_reference_information' => :'Riskv1liststypeentriesClientReferenceInformation',
36
36
  :'order_information' => :'Riskv1addressverificationsOrderInformation',
37
37
  :'buyer_information' => :'Riskv1addressverificationsBuyerInformation'
38
38
  }
@@ -32,6 +32,11 @@ require 'cybersource_rest_client/version'
32
32
  require 'cybersource_rest_client/configuration'
33
33
 
34
34
  # Models
35
+ require 'cybersource_rest_client/models/resource_not_found_error'
36
+ require 'cybersource_rest_client/models/unauthorized_client_error'
37
+ require 'cybersource_rest_client/models/access_token_response'
38
+ require 'cybersource_rest_client/models/bad_request_error'
39
+ require 'cybersource_rest_client/models/create_access_token_request'
35
40
  require 'cybersource_rest_client/models/add_negative_list_request'
36
41
  require 'cybersource_rest_client/models/auth_reversal_request'
37
42
  require 'cybersource_rest_client/models/capture_payment_request'
@@ -188,12 +193,14 @@ require 'cybersource_rest_client/models/pts_v2_payments_post201_response__links_
188
193
  require 'cybersource_rest_client/models/pts_v2_payments_post201_response_order_information'
189
194
  require 'cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details'
190
195
  require 'cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details'
196
+ require 'cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_reward_points_details'
197
+ require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information'
198
+ require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card'
191
199
  require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information'
192
200
  require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features'
193
201
  require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features_balances'
194
202
  require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank'
195
203
  require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account'
196
- require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_card'
197
204
  require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier'
198
205
  require 'cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card'
199
206
  require 'cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information'
@@ -326,6 +333,7 @@ require 'cybersource_rest_client/models/ptsv2payments_promotion_information'
326
333
  require 'cybersource_rest_client/models/ptsv2payments_recipient_information'
327
334
  require 'cybersource_rest_client/models/ptsv2payments_recurring_payment_information'
328
335
  require 'cybersource_rest_client/models/ptsv2payments_risk_information'
336
+ require 'cybersource_rest_client/models/ptsv2payments_risk_information_auxiliary_data'
329
337
  require 'cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history'
330
338
  require 'cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_account_history'
331
339
  require 'cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account'
@@ -538,6 +546,7 @@ require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_in
538
546
  require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items'
539
547
  require 'cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to'
540
548
  require 'cybersource_rest_client/models/riskv1liststypeentries_buyer_information'
549
+ require 'cybersource_rest_client/models/riskv1liststypeentries_client_reference_information'
541
550
  require 'cybersource_rest_client/models/riskv1liststypeentries_device_information'
542
551
  require 'cybersource_rest_client/models/riskv1liststypeentries_order_information'
543
552
  require 'cybersource_rest_client/models/riskv1liststypeentries_order_information_address'
@@ -617,6 +626,7 @@ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_appl
617
626
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information'
618
627
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information'
619
628
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information'
629
+ require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information_strong_authentication'
620
630
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information'
621
631
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_error_information'
622
632
  require 'cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information'
@@ -724,6 +734,7 @@ require 'cybersource_rest_client/models/void_refund_request'
724
734
  require 'cybersource_rest_client/models/void_tax_request'
725
735
 
726
736
  # APIs
737
+ require 'cybersource_rest_client/api/o_auth_api'
727
738
  require 'cybersource_rest_client/api/asymmetric_key_management_api'
728
739
  require 'cybersource_rest_client/api/capture_api'
729
740
  require 'cybersource_rest_client/api/conversion_details_api'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cybersource_rest_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.30
4
+ version: 0.0.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - CyberSource
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-28 00:00:00.000000000 Z
11
+ date: 2021-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -51,227 +51,247 @@ dependencies:
51
51
  - !ruby/object:Gem::Version
52
52
  version: '2.1'
53
53
  - !ruby/object:Gem::Dependency
54
- name: rspec
54
+ name: activesupport
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: 3.6.0
60
57
  - - "~>"
61
58
  - !ruby/object:Gem::Version
62
- version: '3.6'
63
- type: :development
59
+ version: '6.0'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 6.0.3.2
63
+ type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: 3.6.0
70
67
  - - "~>"
71
68
  - !ruby/object:Gem::Version
72
- version: '3.6'
69
+ version: '6.0'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 6.0.3.2
73
73
  - !ruby/object:Gem::Dependency
74
- name: vcr
74
+ name: interface
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - "~>"
78
78
  - !ruby/object:Gem::Version
79
- version: '3.0'
79
+ version: '1.0'
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 3.0.1
83
- type: :development
82
+ version: 1.0.4
83
+ type: :runtime
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '3.0'
89
+ version: '1.0'
90
90
  - - ">="
91
91
  - !ruby/object:Gem::Version
92
- version: 3.0.1
92
+ version: 1.0.4
93
93
  - !ruby/object:Gem::Dependency
94
- name: webmock
94
+ name: jwt
95
95
  requirement: !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - "~>"
98
98
  - !ruby/object:Gem::Version
99
- version: '1.24'
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- version: 1.24.3
103
- type: :development
99
+ version: 2.1.0
100
+ type: :runtime
104
101
  prerelease: false
105
102
  version_requirements: !ruby/object:Gem::Requirement
106
103
  requirements:
107
104
  - - "~>"
108
105
  - !ruby/object:Gem::Version
109
- version: '1.24'
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: 1.24.3
106
+ version: 2.1.0
113
107
  - !ruby/object:Gem::Dependency
114
- name: autotest
108
+ name: addressable
115
109
  requirement: !ruby/object:Gem::Requirement
116
110
  requirements:
111
+ - - ">="
112
+ - !ruby/object:Gem::Version
113
+ version: 2.3.0
117
114
  - - "~>"
118
115
  - !ruby/object:Gem::Version
119
- version: '4.4'
116
+ version: '2.3'
117
+ type: :runtime
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
120
121
  - - ">="
121
122
  - !ruby/object:Gem::Version
122
- version: 4.4.6
123
+ version: 2.3.0
124
+ - - "~>"
125
+ - !ruby/object:Gem::Version
126
+ version: '2.3'
127
+ - !ruby/object:Gem::Dependency
128
+ name: simplecov
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
123
134
  type: :development
124
135
  prerelease: false
125
136
  version_requirements: !ruby/object:Gem::Requirement
126
137
  requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: '4.4'
130
138
  - - ">="
131
139
  - !ruby/object:Gem::Version
132
- version: 4.4.6
140
+ version: '0'
133
141
  - !ruby/object:Gem::Dependency
134
- name: autotest-rails-pure
142
+ name: rubocop
135
143
  requirement: !ruby/object:Gem::Requirement
136
144
  requirements:
137
145
  - - "~>"
138
146
  - !ruby/object:Gem::Version
139
- version: '4.1'
140
- - - ">="
141
- - !ruby/object:Gem::Version
142
- version: 4.1.2
147
+ version: 0.57.2
143
148
  type: :development
144
149
  prerelease: false
145
150
  version_requirements: !ruby/object:Gem::Requirement
146
151
  requirements:
147
152
  - - "~>"
148
153
  - !ruby/object:Gem::Version
149
- version: '4.1'
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: 4.1.2
154
+ version: 0.57.2
153
155
  - !ruby/object:Gem::Dependency
154
- name: autotest-growl
156
+ name: rspec
155
157
  requirement: !ruby/object:Gem::Requirement
156
158
  requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '0.2'
160
159
  - - ">="
161
160
  - !ruby/object:Gem::Version
162
- version: 0.2.16
161
+ version: 3.6.0
162
+ - - "~>"
163
+ - !ruby/object:Gem::Version
164
+ version: '3.6'
163
165
  type: :development
164
166
  prerelease: false
165
167
  version_requirements: !ruby/object:Gem::Requirement
166
168
  requirements:
167
- - - "~>"
168
- - !ruby/object:Gem::Version
169
- version: '0.2'
170
169
  - - ">="
171
170
  - !ruby/object:Gem::Version
172
- version: 0.2.16
171
+ version: 3.6.0
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: '3.6'
173
175
  - !ruby/object:Gem::Dependency
174
- name: autotest-fsevent
176
+ name: vcr
175
177
  requirement: !ruby/object:Gem::Requirement
176
178
  requirements:
177
179
  - - "~>"
178
180
  - !ruby/object:Gem::Version
179
- version: '0.2'
181
+ version: '3.0'
180
182
  - - ">="
181
183
  - !ruby/object:Gem::Version
182
- version: 0.2.12
184
+ version: 3.0.1
183
185
  type: :development
184
186
  prerelease: false
185
187
  version_requirements: !ruby/object:Gem::Requirement
186
188
  requirements:
187
189
  - - "~>"
188
190
  - !ruby/object:Gem::Version
189
- version: '0.2'
191
+ version: '3.0'
190
192
  - - ">="
191
193
  - !ruby/object:Gem::Version
192
- version: 0.2.12
194
+ version: 3.0.1
193
195
  - !ruby/object:Gem::Dependency
194
- name: activesupport
196
+ name: webmock
195
197
  requirement: !ruby/object:Gem::Requirement
196
198
  requirements:
197
199
  - - "~>"
198
200
  - !ruby/object:Gem::Version
199
- version: '6.0'
201
+ version: '1.24'
200
202
  - - ">="
201
203
  - !ruby/object:Gem::Version
202
- version: 6.0.3.2
203
- type: :runtime
204
+ version: 1.24.3
205
+ type: :development
204
206
  prerelease: false
205
207
  version_requirements: !ruby/object:Gem::Requirement
206
208
  requirements:
207
209
  - - "~>"
208
210
  - !ruby/object:Gem::Version
209
- version: '6.0'
211
+ version: '1.24'
210
212
  - - ">="
211
213
  - !ruby/object:Gem::Version
212
- version: 6.0.3.2
214
+ version: 1.24.3
213
215
  - !ruby/object:Gem::Dependency
214
- name: interface
216
+ name: autotest
215
217
  requirement: !ruby/object:Gem::Requirement
216
218
  requirements:
217
219
  - - "~>"
218
220
  - !ruby/object:Gem::Version
219
- version: '1.0'
221
+ version: '4.4'
220
222
  - - ">="
221
223
  - !ruby/object:Gem::Version
222
- version: 1.0.4
223
- type: :runtime
224
+ version: 4.4.6
225
+ type: :development
224
226
  prerelease: false
225
227
  version_requirements: !ruby/object:Gem::Requirement
226
228
  requirements:
227
229
  - - "~>"
228
230
  - !ruby/object:Gem::Version
229
- version: '1.0'
231
+ version: '4.4'
230
232
  - - ">="
231
233
  - !ruby/object:Gem::Version
232
- version: 1.0.4
234
+ version: 4.4.6
233
235
  - !ruby/object:Gem::Dependency
234
- name: jwt
236
+ name: autotest-rails-pure
235
237
  requirement: !ruby/object:Gem::Requirement
236
238
  requirements:
237
239
  - - "~>"
238
240
  - !ruby/object:Gem::Version
239
- version: 2.1.0
240
- type: :runtime
241
+ version: '4.1'
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: 4.1.2
245
+ type: :development
241
246
  prerelease: false
242
247
  version_requirements: !ruby/object:Gem::Requirement
243
248
  requirements:
244
249
  - - "~>"
245
250
  - !ruby/object:Gem::Version
246
- version: 2.1.0
251
+ version: '4.1'
252
+ - - ">="
253
+ - !ruby/object:Gem::Version
254
+ version: 4.1.2
247
255
  - !ruby/object:Gem::Dependency
248
- name: simplecov
256
+ name: autotest-growl
249
257
  requirement: !ruby/object:Gem::Requirement
250
258
  requirements:
259
+ - - "~>"
260
+ - !ruby/object:Gem::Version
261
+ version: '0.2'
251
262
  - - ">="
252
263
  - !ruby/object:Gem::Version
253
- version: '0'
264
+ version: 0.2.16
254
265
  type: :development
255
266
  prerelease: false
256
267
  version_requirements: !ruby/object:Gem::Requirement
257
268
  requirements:
269
+ - - "~>"
270
+ - !ruby/object:Gem::Version
271
+ version: '0.2'
258
272
  - - ">="
259
273
  - !ruby/object:Gem::Version
260
- version: '0'
274
+ version: 0.2.16
261
275
  - !ruby/object:Gem::Dependency
262
- name: rubocop
276
+ name: autotest-fsevent
263
277
  requirement: !ruby/object:Gem::Requirement
264
278
  requirements:
265
279
  - - "~>"
266
280
  - !ruby/object:Gem::Version
267
- version: 0.57.2
281
+ version: '0.2'
282
+ - - ">="
283
+ - !ruby/object:Gem::Version
284
+ version: 0.2.12
268
285
  type: :development
269
286
  prerelease: false
270
287
  version_requirements: !ruby/object:Gem::Requirement
271
288
  requirements:
272
289
  - - "~>"
273
290
  - !ruby/object:Gem::Version
274
- version: 0.57.2
291
+ version: '0.2'
292
+ - - ">="
293
+ - !ruby/object:Gem::Version
294
+ version: 0.2.12
275
295
  description: Simple REST API for the CyberSource Global Payments Platform
276
296
  email:
277
297
  - cybersourcedev@gmail.com
@@ -282,23 +302,12 @@ files:
282
302
  - lib/AuthenticationSDK/authentication/http/GetSignatureParameter.rb
283
303
  - lib/AuthenticationSDK/authentication/http/HttpSignatureHeader.rb
284
304
  - lib/AuthenticationSDK/authentication/jwt/JwtToken.rb
305
+ - lib/AuthenticationSDK/authentication/oauth/OAuthToken.rb
285
306
  - lib/AuthenticationSDK/authentication/payloadDigest/digest.rb
286
307
  - lib/AuthenticationSDK/core/Authorization.rb
287
308
  - lib/AuthenticationSDK/core/ITokenGeneration.rb
288
309
  - lib/AuthenticationSDK/core/Logger.rb
289
310
  - lib/AuthenticationSDK/core/MerchantConfig.rb
290
- - lib/AuthenticationSDK/resource/TRRReports.json
291
- - lib/AuthenticationSDK/resource/cybs.yml
292
- - lib/AuthenticationSDK/resource/request.json
293
- - lib/AuthenticationSDK/resource/request_capture.json
294
- - lib/AuthenticationSDK/resource/testrest.p12
295
- - lib/AuthenticationSDK/spec/Authorization_spec.rb
296
- - lib/AuthenticationSDK/spec/MerchantConfigData.rb
297
- - lib/AuthenticationSDK/spec/MerchantConfig_spec.rb
298
- - lib/AuthenticationSDK/spec/PostRequestData.json
299
- - lib/AuthenticationSDK/spec/PutRequestData.json
300
- - lib/AuthenticationSDK/spec/ResponseCodeMessage_spec.rb
301
- - lib/AuthenticationSDK/spec/spec_helper.rb
302
311
  - lib/AuthenticationSDK/util/ApiException.rb
303
312
  - lib/AuthenticationSDK/util/Cache.rb
304
313
  - lib/AuthenticationSDK/util/Constants.rb
@@ -321,6 +330,7 @@ files:
321
330
  - lib/cybersource_rest_client/api/key_generation_api.rb
322
331
  - lib/cybersource_rest_client/api/net_fundings_api.rb
323
332
  - lib/cybersource_rest_client/api/notification_of_changes_api.rb
333
+ - lib/cybersource_rest_client/api/o_auth_api.rb
324
334
  - lib/cybersource_rest_client/api/payer_authentication_api.rb
325
335
  - lib/cybersource_rest_client/api/payment_batch_summaries_api.rb
326
336
  - lib/cybersource_rest_client/api/payment_instrument_api.rb
@@ -347,10 +357,13 @@ files:
347
357
  - lib/cybersource_rest_client/api_client.rb
348
358
  - lib/cybersource_rest_client/api_error.rb
349
359
  - lib/cybersource_rest_client/configuration.rb
360
+ - lib/cybersource_rest_client/models/access_token_response.rb
350
361
  - lib/cybersource_rest_client/models/add_negative_list_request.rb
351
362
  - lib/cybersource_rest_client/models/auth_reversal_request.rb
363
+ - lib/cybersource_rest_client/models/bad_request_error.rb
352
364
  - lib/cybersource_rest_client/models/capture_payment_request.rb
353
365
  - lib/cybersource_rest_client/models/check_payer_auth_enrollment_request.rb
366
+ - lib/cybersource_rest_client/models/create_access_token_request.rb
354
367
  - lib/cybersource_rest_client/models/create_adhoc_report_request.rb
355
368
  - lib/cybersource_rest_client/models/create_bundled_decision_manager_case_request.rb
356
369
  - lib/cybersource_rest_client/models/create_credit_request.rb
@@ -503,12 +516,14 @@ files:
503
516
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information.rb
504
517
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_amount_details.rb
505
518
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_invoice_details.rb
519
+ - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_order_information_reward_points_details.rb
520
+ - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information.rb
521
+ - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_account_information_card.rb
506
522
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information.rb
507
523
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features.rb
508
524
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_account_features_balances.rb
509
525
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank.rb
510
526
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_bank_account.rb
511
- - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_card.rb
512
527
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_instrument_identifier.rb
513
528
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_payment_information_tokenized_card.rb
514
529
  - lib/cybersource_rest_client/models/pts_v2_payments_post201_response_point_of_sale_information.rb
@@ -641,6 +656,7 @@ files:
641
656
  - lib/cybersource_rest_client/models/ptsv2payments_recipient_information.rb
642
657
  - lib/cybersource_rest_client/models/ptsv2payments_recurring_payment_information.rb
643
658
  - lib/cybersource_rest_client/models/ptsv2payments_risk_information.rb
659
+ - lib/cybersource_rest_client/models/ptsv2payments_risk_information_auxiliary_data.rb
644
660
  - lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history.rb
645
661
  - lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_account_history.rb
646
662
  - lib/cybersource_rest_client/models/ptsv2payments_risk_information_buyer_history_customer_account.rb
@@ -757,6 +773,7 @@ files:
757
773
  - lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response.rb
758
774
  - lib/cybersource_rest_client/models/reportingv3_report_downloads_get400_response_details.rb
759
775
  - lib/cybersource_rest_client/models/reportingv3reports_report_preferences.rb
776
+ - lib/cybersource_rest_client/models/resource_not_found_error.rb
760
777
  - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response.rb
761
778
  - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address1.rb
762
779
  - lib/cybersource_rest_client/models/risk_v1_address_verifications_post201_response_address_verification_information.rb
@@ -853,6 +870,7 @@ files:
853
870
  - lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_line_items.rb
854
871
  - lib/cybersource_rest_client/models/riskv1exportcomplianceinquiries_order_information_ship_to.rb
855
872
  - lib/cybersource_rest_client/models/riskv1liststypeentries_buyer_information.rb
873
+ - lib/cybersource_rest_client/models/riskv1liststypeentries_client_reference_information.rb
856
874
  - lib/cybersource_rest_client/models/riskv1liststypeentries_device_information.rb
857
875
  - lib/cybersource_rest_client/models/riskv1liststypeentries_order_information.rb
858
876
  - lib/cybersource_rest_client/models/riskv1liststypeentries_order_information_address.rb
@@ -933,6 +951,7 @@ files:
933
951
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_buyer_information.rb
934
952
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_client_reference_information.rb
935
953
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information.rb
954
+ - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_consumer_authentication_information_strong_authentication.rb
936
955
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_device_information.rb
937
956
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_error_information.rb
938
957
  - lib/cybersource_rest_client/models/tss_v2_transactions_get200_response_fraud_marking_information.rb
@@ -998,6 +1017,7 @@ files:
998
1017
  - lib/cybersource_rest_client/models/ums_v1_users_get200_response_contact_information.rb
999
1018
  - lib/cybersource_rest_client/models/ums_v1_users_get200_response_organization_information.rb
1000
1019
  - lib/cybersource_rest_client/models/ums_v1_users_get200_response_users.rb
1020
+ - lib/cybersource_rest_client/models/unauthorized_client_error.rb
1001
1021
  - lib/cybersource_rest_client/models/update_invoice_request.rb
1002
1022
  - lib/cybersource_rest_client/models/v1_file_details_get200_response.rb
1003
1023
  - lib/cybersource_rest_client/models/v1_file_details_get200_response__links.rb