payabli 3.0.1 → 3.0.3
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.
- checksums.yaml +4 -4
- data/.fern/metadata.json +5 -5
- data/README.md +4 -1
- data/lib/payabli/client.rb +38 -4
- data/lib/payabli/customer/client.rb +1 -1
- data/lib/payabli/funding/client.rb +49 -0
- data/lib/payabli/funding/types/deposit_funds_request.rb +19 -0
- data/lib/payabli/internal/http/raw_client.rb +28 -5
- data/lib/payabli/internal/oauth_provider.rb +67 -0
- data/lib/payabli/money_in/client.rb +79 -35
- data/lib/payabli/money_out/client.rb +63 -3
- data/lib/payabli/money_out/types/renew_v_card_request.rb +13 -0
- data/lib/payabli/payment_link/client.rb +7 -0
- data/lib/payabli/payment_link/types/pay_link_data_invoice.rb +1 -1
- data/lib/payabli/token/client.rb +51 -0
- data/lib/payabli/token/types/create_server_side_token_request.rb +17 -0
- data/lib/payabli/types/add_device_response.rb +4 -0
- data/lib/payabli/types/add_method_response.rb +4 -0
- data/lib/payabli/types/add_response_response.rb +4 -0
- data/lib/payabli/types/auth_capture_payout_response_data.rb +2 -0
- data/lib/payabli/types/authorize_payment_method.rb +4 -0
- data/lib/payabli/types/bill_pay_out_data.rb +15 -9
- data/lib/payabli/types/cancel_payout_response_data.rb +27 -0
- data/lib/payabli/types/capture_all_out_response_response_data_item.rb +2 -0
- data/lib/payabli/types/contacts_response.rb +3 -3
- data/lib/payabli/types/deposit_funds_response.rb +16 -0
- data/lib/payabli/types/get_method_response_response_data_customers_item.rb +42 -0
- data/lib/payabli/types/get_pay_link_from_id_response.rb +4 -0
- data/lib/payabli/types/method_element.rb +4 -0
- data/lib/payabli/types/methods_list.rb +6 -0
- data/lib/payabli/types/modify_approval_bill_response.rb +4 -0
- data/lib/payabli/types/notification_log_detail.rb +24 -0
- data/lib/payabli/types/payabli_access_token_response.rb +17 -0
- data/lib/payabli/types/payabli_api_response_0000.rb +1 -1
- data/lib/payabli/types/query_payout_transaction_records_item.rb +54 -34
- data/lib/payabli/types/query_payout_transaction_records_item_payment_data.rb +16 -16
- data/lib/payabli/types/query_payout_transaction_summary.rb +17 -17
- data/lib/payabli/types/query_response_settlements_records_item.rb +2 -0
- data/lib/payabli/types/query_transaction_events.rb +2 -2
- data/lib/payabli/types/refund_v_2_request.rb +21 -0
- data/lib/payabli/types/remove_device_response.rb +4 -0
- data/lib/payabli/types/renew_v_card_response.rb +13 -0
- data/lib/payabli/types/renew_v_card_response_data.rb +25 -0
- data/lib/payabli/types/set_approved_bill_response.rb +4 -0
- data/lib/payabli/types/settlement_split_funding_detail.rb +23 -0
- data/lib/payabli/types/stat_basic_extended_query_record.rb +8 -0
- data/lib/payabli/types/token_error_response.rb +13 -0
- data/lib/payabli/types/tokenize_ach.rb +0 -2
- data/lib/payabli/types/tokenize_card.rb +2 -0
- data/lib/payabli/types/transfer_out_record.rb +4 -0
- data/lib/payabli/types/vendor_call_status_completed.rb +20 -0
- data/lib/payabli/types/vendor_call_status_extracted_data.rb +12 -0
- data/lib/payabli/types/vendor_call_status_failed.rb +18 -0
- data/lib/payabli/types/vendor_call_status_response.rb +18 -0
- data/lib/payabli/types/vendor_call_status_scheduled.rb +14 -0
- data/lib/payabli/types/vendor_data.rb +1 -1
- data/lib/payabli/types/vendor_query_record.rb +45 -41
- data/lib/payabli/types/vendor_schedule_call_response.rb +20 -0
- data/lib/payabli/types/vendor_schedule_call_response_data.rb +16 -0
- data/lib/payabli/types/vendoridtrans.rb +23 -0
- data/lib/payabli/vendor/client.rb +79 -0
- data/lib/payabli/vendor/types/schedule_enrichment_call_request.rb +27 -0
- data/lib/payabli/version.rb +1 -1
- data/lib/payabli.rb +36 -13
- data/reference.md +675 -163
- data/wiremock/docker-compose.test.yml +1 -1
- data/wiremock/wiremock-mappings.json +258 -93
- metadata +25 -2
|
@@ -3,15 +3,9 @@
|
|
|
3
3
|
module Payabli
|
|
4
4
|
module Types
|
|
5
5
|
class QueryPayoutTransactionSummary < Internal::Types::Model
|
|
6
|
-
field :
|
|
7
|
-
|
|
8
|
-
field :page_size, -> { Integer }, optional: true, nullable: false, api_name: "pageSize"
|
|
9
|
-
|
|
10
|
-
field :total_amount, -> { Integer }, optional: true, nullable: false, api_name: "totalAmount"
|
|
11
|
-
|
|
12
|
-
field :total_authorized, -> { Integer }, optional: true, nullable: false, api_name: "totalAuthorized"
|
|
6
|
+
field :total_paid, -> { Integer }, optional: true, nullable: false, api_name: "totalPaid"
|
|
13
7
|
|
|
14
|
-
field :
|
|
8
|
+
field :total_paid_amount, -> { Integer }, optional: true, nullable: false, api_name: "totalPaidAmount"
|
|
15
9
|
|
|
16
10
|
field :total_canceled, -> { Integer }, optional: true, nullable: false, api_name: "totalCanceled"
|
|
17
11
|
|
|
@@ -21,27 +15,33 @@ module Payabli
|
|
|
21
15
|
|
|
22
16
|
field :total_captured_amount, -> { Integer }, optional: true, nullable: false, api_name: "totalCapturedAmount"
|
|
23
17
|
|
|
24
|
-
field :
|
|
18
|
+
field :total_authorized, -> { Integer }, optional: true, nullable: false, api_name: "totalAuthorized"
|
|
25
19
|
|
|
26
|
-
field :
|
|
20
|
+
field :total_authorized_amount, -> { Integer }, optional: true, nullable: false, api_name: "totalAuthorizedAmount"
|
|
27
21
|
|
|
28
|
-
field :
|
|
22
|
+
field :total_processing, -> { Integer }, optional: true, nullable: false, api_name: "totalProcessing"
|
|
29
23
|
|
|
30
|
-
field :
|
|
24
|
+
field :total_processing_amount, -> { Integer }, optional: true, nullable: false, api_name: "totalProcessingAmount"
|
|
31
25
|
|
|
32
|
-
field :
|
|
26
|
+
field :total_open, -> { Integer }, optional: true, nullable: false, api_name: "totalOpen"
|
|
33
27
|
|
|
34
|
-
field :
|
|
28
|
+
field :total_open_amount, -> { Integer }, optional: true, nullable: false, api_name: "totalOpenAmount"
|
|
35
29
|
|
|
36
30
|
field :total_on_hold, -> { Integer }, optional: true, nullable: false, api_name: "totalOnHold"
|
|
37
31
|
|
|
38
32
|
field :total_on_hold_amount, -> { Integer }, optional: true, nullable: false, api_name: "totalOnHoldAmount"
|
|
39
33
|
|
|
40
|
-
field :
|
|
34
|
+
field :total_records, -> { Integer }, optional: true, nullable: false, api_name: "totalRecords"
|
|
41
35
|
|
|
42
|
-
field :
|
|
36
|
+
field :total_amount, -> { Integer }, optional: true, nullable: false, api_name: "totalAmount"
|
|
43
37
|
|
|
44
|
-
field :
|
|
38
|
+
field :total_net_amount, -> { Integer }, optional: true, nullable: false, api_name: "totalNetAmount"
|
|
39
|
+
|
|
40
|
+
field :total_pages, -> { Integer }, optional: true, nullable: false, api_name: "totalPages"
|
|
41
|
+
|
|
42
|
+
field :page_size, -> { Integer }, optional: true, nullable: false, api_name: "pageSize"
|
|
43
|
+
|
|
44
|
+
field :pageidentifier, -> { String }, optional: true, nullable: false
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
end
|
|
@@ -61,6 +61,8 @@ module Payabli
|
|
|
61
61
|
|
|
62
62
|
field :source, -> { String }, optional: true, nullable: false, api_name: "Source"
|
|
63
63
|
|
|
64
|
+
field :split_funding_instructions, -> { Internal::Types::Array[Payabli::Types::SettlementSplitFundingDetail] }, optional: true, nullable: false, api_name: "splitFundingInstructions"
|
|
65
|
+
|
|
64
66
|
field :status, -> { Integer }, optional: true, nullable: false, api_name: "Status"
|
|
65
67
|
|
|
66
68
|
field :transaction_events, -> { Internal::Types::Array[Payabli::Types::QueryTransactionEvents] }, optional: true, nullable: false, api_name: "TransactionEvents"
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
module Payabli
|
|
4
4
|
module Types
|
|
5
5
|
class QueryTransactionEvents < Internal::Types::Model
|
|
6
|
+
field :trans_event, -> { String }, optional: true, nullable: false, api_name: "TransEvent"
|
|
7
|
+
|
|
6
8
|
field :event_data, -> { Payabli::Types::QueryTransactionEventsEventData }, optional: true, nullable: false, api_name: "EventData"
|
|
7
9
|
|
|
8
10
|
field :event_time, -> { String }, optional: true, nullable: false, api_name: "EventTime"
|
|
9
|
-
|
|
10
|
-
field :trans_event, -> { String }, optional: true, nullable: false, api_name: "TransEvent"
|
|
11
11
|
end
|
|
12
12
|
end
|
|
13
13
|
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
# Optional request body for the v2 refund endpoints. Provide split instructions to refund a split-funded
|
|
6
|
+
# transaction. Omit the body for a standard refund. Fields match the v1 refund-with-instructions request.
|
|
7
|
+
class RefundV2Request < Internal::Types::Model
|
|
8
|
+
field :amount, -> { Integer }, optional: true, nullable: false
|
|
9
|
+
|
|
10
|
+
field :ipaddress, -> { String }, optional: true, nullable: false
|
|
11
|
+
|
|
12
|
+
field :order_description, -> { String }, optional: true, nullable: false, api_name: "orderDescription"
|
|
13
|
+
|
|
14
|
+
field :order_id, -> { String }, optional: true, nullable: false, api_name: "orderId"
|
|
15
|
+
|
|
16
|
+
field :refund_details, -> { Payabli::Types::RefundDetail }, optional: true, nullable: false, api_name: "refundDetails"
|
|
17
|
+
|
|
18
|
+
field :source, -> { String }, optional: true, nullable: false
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
module Payabli
|
|
4
4
|
module Types
|
|
5
5
|
class RemoveDeviceResponse < Internal::Types::Model
|
|
6
|
+
field :is_success, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isSuccess"
|
|
7
|
+
|
|
8
|
+
field :response_text, -> { String }, optional: false, nullable: false, api_name: "responseText"
|
|
9
|
+
|
|
6
10
|
field :page_identifier, -> { String }, optional: true, nullable: false, api_name: "pageIdentifier"
|
|
7
11
|
|
|
8
12
|
field :response_data, -> { String }, optional: true, nullable: false, api_name: "responseData"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
class RenewVCardResponse < Internal::Types::Model
|
|
6
|
+
field :response_text, -> { String }, optional: false, nullable: false, api_name: "responseText"
|
|
7
|
+
|
|
8
|
+
field :is_success, -> { Internal::Types::Boolean }, optional: false, nullable: false, api_name: "isSuccess"
|
|
9
|
+
|
|
10
|
+
field :response_data, -> { Payabli::Types::RenewVCardResponseData }, optional: false, nullable: false, api_name: "responseData"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
class RenewVCardResponseData < Internal::Types::Model
|
|
6
|
+
field :auth_code, -> { String }, optional: false, nullable: true, api_name: "authCode"
|
|
7
|
+
|
|
8
|
+
field :reference_id, -> { String }, optional: false, nullable: false, api_name: "referenceId"
|
|
9
|
+
|
|
10
|
+
field :result_code, -> { Integer }, optional: false, nullable: false, api_name: "resultCode"
|
|
11
|
+
|
|
12
|
+
field :result_text, -> { String }, optional: false, nullable: false, api_name: "resultText"
|
|
13
|
+
|
|
14
|
+
field :avs_response_text, -> { String }, optional: false, nullable: true, api_name: "avsResponseText"
|
|
15
|
+
|
|
16
|
+
field :cvv_response_text, -> { String }, optional: false, nullable: true, api_name: "cvvResponseText"
|
|
17
|
+
|
|
18
|
+
field :customer_id, -> { Integer }, optional: false, nullable: true, api_name: "customerId"
|
|
19
|
+
|
|
20
|
+
field :vendor_id, -> { Integer }, optional: false, nullable: true, api_name: "vendorId"
|
|
21
|
+
|
|
22
|
+
field :method_reference_id, -> { String }, optional: false, nullable: true, api_name: "methodReferenceId"
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -4,6 +4,10 @@ module Payabli
|
|
|
4
4
|
module Types
|
|
5
5
|
# Response from the Approve or disapprove a bill endpoint.
|
|
6
6
|
class SetApprovedBillResponse < Internal::Types::Model
|
|
7
|
+
field :is_success, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isSuccess"
|
|
8
|
+
|
|
9
|
+
field :response_text, -> { String }, optional: false, nullable: false, api_name: "responseText"
|
|
10
|
+
|
|
7
11
|
field :response_data, -> { Integer }, optional: true, nullable: false, api_name: "responseData"
|
|
8
12
|
end
|
|
9
13
|
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
# A split funding instruction on a settled transaction, enriched with the batch and transfer that paid out the split
|
|
6
|
+
# when that information is available. Returned by the settlement query endpoints.
|
|
7
|
+
class SettlementSplitFundingDetail < Internal::Types::Model
|
|
8
|
+
field :recipient_entry_point, -> { String }, optional: true, nullable: false, api_name: "recipientEntryPoint"
|
|
9
|
+
|
|
10
|
+
field :account_id, -> { String }, optional: true, nullable: false, api_name: "AccountId"
|
|
11
|
+
|
|
12
|
+
field :description, -> { String }, optional: true, nullable: false, api_name: "Description"
|
|
13
|
+
|
|
14
|
+
field :amount, -> { Integer }, optional: true, nullable: false, api_name: "Amount"
|
|
15
|
+
|
|
16
|
+
field :batch_number, -> { String }, optional: true, nullable: false, api_name: "batchNumber"
|
|
17
|
+
|
|
18
|
+
field :transfer_id, -> { Integer }, optional: true, nullable: false, api_name: "transferId"
|
|
19
|
+
|
|
20
|
+
field :transfer_amount, -> { Integer }, optional: true, nullable: false, api_name: "transferAmount"
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -23,6 +23,14 @@ module Payabli
|
|
|
23
23
|
|
|
24
24
|
field :out_pending_method_transactions, -> { Integer }, optional: false, nullable: false, api_name: "outPendingMethodTransactions"
|
|
25
25
|
|
|
26
|
+
field :out_rtp_transactions, -> { Integer }, optional: false, nullable: false, api_name: "outRTPTransactions"
|
|
27
|
+
|
|
28
|
+
field :out_rtp_volume, -> { Integer }, optional: false, nullable: false, api_name: "outRTPVolume"
|
|
29
|
+
|
|
30
|
+
field :out_wire_transactions, -> { Integer }, optional: false, nullable: false, api_name: "outWireTransactions"
|
|
31
|
+
|
|
32
|
+
field :out_wire_volume, -> { Integer }, optional: false, nullable: false, api_name: "outWireVolume"
|
|
33
|
+
|
|
26
34
|
field :out_transactions_volume, -> { Integer }, optional: false, nullable: false, api_name: "outTransactionsVolume"
|
|
27
35
|
|
|
28
36
|
field :out_subscriptions_paid_volume, -> { Integer }, optional: false, nullable: false, api_name: "outSubscriptionsPaidVolume"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
# Error response from the token endpoint when the request is invalid, for example when the client credentials are
|
|
6
|
+
# wrong.
|
|
7
|
+
class TokenErrorResponse < Internal::Types::Model
|
|
8
|
+
field :error_type, -> { String }, optional: false, nullable: false, api_name: "errorType"
|
|
9
|
+
|
|
10
|
+
field :error_message, -> { String }, optional: false, nullable: false, api_name: "errorMessage"
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
end
|
|
@@ -16,8 +16,6 @@ module Payabli
|
|
|
16
16
|
field :ach_holder_type, -> { Payabli::Types::AchHolderType }, optional: true, nullable: false, api_name: "achHolderType"
|
|
17
17
|
|
|
18
18
|
field :ach_routing, -> { String }, optional: false, nullable: false, api_name: "achRouting"
|
|
19
|
-
|
|
20
|
-
field :device, -> { String }, optional: true, nullable: false
|
|
21
19
|
end
|
|
22
20
|
end
|
|
23
21
|
end
|
|
@@ -71,6 +71,10 @@ module Payabli
|
|
|
71
71
|
field :events_data, -> { Internal::Types::Array[Payabli::Types::TransferOutEventData] }, optional: false, nullable: true, api_name: "eventsData"
|
|
72
72
|
|
|
73
73
|
field :messages, -> { Internal::Types::Array[Payabli::Types::TransferOutMessage] }, optional: false, nullable: true
|
|
74
|
+
|
|
75
|
+
field :type, -> { String }, optional: false, nullable: true
|
|
76
|
+
|
|
77
|
+
field :method_, -> { String }, optional: false, nullable: true, api_name: "method"
|
|
74
78
|
end
|
|
75
79
|
end
|
|
76
80
|
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
# Details of a completed outreach call that returned data.
|
|
6
|
+
class VendorCallStatusCompleted < Internal::Types::Model
|
|
7
|
+
field :completed_at, -> { String }, optional: true, nullable: false, api_name: "completedAt"
|
|
8
|
+
|
|
9
|
+
field :duration_seconds, -> { Integer }, optional: true, nullable: false, api_name: "durationSeconds"
|
|
10
|
+
|
|
11
|
+
field :summary, -> { String }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :call_id, -> { String }, optional: true, nullable: false, api_name: "callId"
|
|
14
|
+
|
|
15
|
+
field :transcript, -> { String }, optional: true, nullable: false
|
|
16
|
+
|
|
17
|
+
field :extracted_data, -> { Payabli::Types::VendorCallStatusExtractedData }, optional: true, nullable: false, api_name: "extractedData"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
# Data extracted from a completed outreach call.
|
|
6
|
+
class VendorCallStatusExtractedData < Internal::Types::Model
|
|
7
|
+
field :selected_payment_method, -> { String }, optional: true, nullable: false, api_name: "selectedPaymentMethod"
|
|
8
|
+
|
|
9
|
+
field :contact_email, -> { String }, optional: true, nullable: false, api_name: "contactEmail"
|
|
10
|
+
end
|
|
11
|
+
end
|
|
12
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
# Details of an outreach call that didn't complete successfully.
|
|
6
|
+
class VendorCallStatusFailed < Internal::Types::Model
|
|
7
|
+
field :last_attempt_at, -> { String }, optional: true, nullable: false, api_name: "lastAttemptAt"
|
|
8
|
+
|
|
9
|
+
field :reason, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :attempts_remaining, -> { Integer }, optional: true, nullable: false, api_name: "attemptsRemaining"
|
|
12
|
+
|
|
13
|
+
field :max_attempts, -> { Integer }, optional: true, nullable: false, api_name: "maxAttempts"
|
|
14
|
+
|
|
15
|
+
field :next_retry_scheduled_for, -> { String }, optional: true, nullable: false, api_name: "nextRetryScheduledFor"
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
# Latest AI outreach call activity for a vendor. The populated block depends on the `state` discriminator.
|
|
6
|
+
class VendorCallStatusResponse < Internal::Types::Model
|
|
7
|
+
field :vendor_id, -> { Integer }, optional: true, nullable: false, api_name: "vendorId"
|
|
8
|
+
|
|
9
|
+
field :state, -> { String }, optional: true, nullable: false
|
|
10
|
+
|
|
11
|
+
field :scheduled, -> { Payabli::Types::VendorCallStatusScheduled }, optional: true, nullable: false
|
|
12
|
+
|
|
13
|
+
field :completed, -> { Payabli::Types::VendorCallStatusCompleted }, optional: true, nullable: false
|
|
14
|
+
|
|
15
|
+
field :failed, -> { Payabli::Types::VendorCallStatusFailed }, optional: true, nullable: false
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
# Details of a queued or in-progress outreach call.
|
|
6
|
+
class VendorCallStatusScheduled < Internal::Types::Model
|
|
7
|
+
field :scheduled_for, -> { String }, optional: true, nullable: false, api_name: "scheduledFor"
|
|
8
|
+
|
|
9
|
+
field :attempts_remaining, -> { Integer }, optional: true, nullable: false, api_name: "attemptsRemaining"
|
|
10
|
+
|
|
11
|
+
field :max_attempts, -> { Integer }, optional: true, nullable: false, api_name: "maxAttempts"
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -5,7 +5,7 @@ module Payabli
|
|
|
5
5
|
class VendorData < Internal::Types::Model
|
|
6
6
|
field :vendor_number, -> { String }, optional: true, nullable: false, api_name: "vendorNumber"
|
|
7
7
|
|
|
8
|
-
field :additional_data, -> { Internal::Types::Hash[String,
|
|
8
|
+
field :additional_data, -> { Internal::Types::Hash[String, String] }, optional: true, nullable: false, api_name: "AdditionalData"
|
|
9
9
|
|
|
10
10
|
field :address_1, -> { String }, optional: true, nullable: false, api_name: "address1"
|
|
11
11
|
|
|
@@ -3,65 +3,65 @@
|
|
|
3
3
|
module Payabli
|
|
4
4
|
module Types
|
|
5
5
|
class VendorQueryRecord < Internal::Types::Model
|
|
6
|
-
field :
|
|
7
|
-
|
|
8
|
-
field :address_1, -> { String }, optional: true, nullable: false, api_name: "Address1"
|
|
9
|
-
|
|
10
|
-
field :address_2, -> { String }, optional: true, nullable: false, api_name: "Address2"
|
|
11
|
-
|
|
12
|
-
field :billing_data, -> { Payabli::Types::BillingDataResponse }, optional: true, nullable: false, api_name: "BillingData"
|
|
6
|
+
field :vendor_number, -> { String }, optional: true, nullable: false, api_name: "VendorNumber"
|
|
13
7
|
|
|
14
|
-
field :
|
|
8
|
+
field :name_1, -> { String }, optional: true, nullable: false, api_name: "Name1"
|
|
15
9
|
|
|
16
|
-
field :
|
|
10
|
+
field :name_2, -> { String }, optional: true, nullable: false, api_name: "Name2"
|
|
17
11
|
|
|
18
|
-
field :
|
|
12
|
+
field :ein, -> { String }, optional: true, nullable: false, api_name: "EIN"
|
|
19
13
|
|
|
20
|
-
field :
|
|
14
|
+
field :phone, -> { String }, optional: true, nullable: false, api_name: "Phone"
|
|
21
15
|
|
|
22
|
-
field :
|
|
16
|
+
field :email, -> { String }, optional: true, nullable: false, api_name: "Email"
|
|
23
17
|
|
|
24
|
-
field :
|
|
18
|
+
field :remit_email, -> { String }, optional: true, nullable: false, api_name: "RemitEmail"
|
|
25
19
|
|
|
26
|
-
field :
|
|
20
|
+
field :address_1, -> { String }, optional: true, nullable: false, api_name: "Address1"
|
|
27
21
|
|
|
28
|
-
field :
|
|
22
|
+
field :address_2, -> { String }, optional: true, nullable: false, api_name: "Address2"
|
|
29
23
|
|
|
30
|
-
field :
|
|
24
|
+
field :city, -> { String }, optional: true, nullable: false, api_name: "City"
|
|
31
25
|
|
|
32
|
-
field :
|
|
26
|
+
field :state, -> { String }, optional: true, nullable: false, api_name: "State"
|
|
33
27
|
|
|
34
|
-
field :
|
|
28
|
+
field :zip, -> { String }, optional: true, nullable: false, api_name: "Zip"
|
|
35
29
|
|
|
36
|
-
field :
|
|
30
|
+
field :country, -> { String }, optional: true, nullable: false, api_name: "Country"
|
|
37
31
|
|
|
38
|
-
field :
|
|
32
|
+
field :mcc, -> { String }, optional: true, nullable: false, api_name: "Mcc"
|
|
39
33
|
|
|
40
34
|
field :location_code, -> { String }, optional: true, nullable: false, api_name: "LocationCode"
|
|
41
35
|
|
|
42
|
-
field :
|
|
36
|
+
field :contacts, -> { Internal::Types::Array[Payabli::Types::ContactsResponse] }, optional: true, nullable: false, api_name: "Contacts"
|
|
43
37
|
|
|
44
|
-
field :
|
|
38
|
+
field :billing_data, -> { Payabli::Types::BillingDataResponse }, optional: true, nullable: false, api_name: "BillingData"
|
|
45
39
|
|
|
46
|
-
field :
|
|
40
|
+
field :payment_method, -> { String }, optional: true, nullable: false, api_name: "PaymentMethod"
|
|
47
41
|
|
|
48
|
-
field :
|
|
42
|
+
field :vendor_status, -> { Integer }, optional: true, nullable: false, api_name: "VendorStatus"
|
|
49
43
|
|
|
50
|
-
field :
|
|
44
|
+
field :vendor_id, -> { Integer }, optional: true, nullable: false, api_name: "VendorId"
|
|
51
45
|
|
|
52
|
-
field :
|
|
46
|
+
field :enrollment_status, -> { String }, optional: true, nullable: false, api_name: "EnrollmentStatus"
|
|
53
47
|
|
|
54
|
-
field :
|
|
48
|
+
field :summary, -> { Payabli::Types::VendorSummary }, optional: true, nullable: false, api_name: "Summary"
|
|
55
49
|
|
|
56
|
-
field :
|
|
50
|
+
field :paypoint_legalname, -> { String }, optional: true, nullable: false, api_name: "PaypointLegalname"
|
|
51
|
+
|
|
52
|
+
field :paypoint_id, -> { Integer }, optional: true, nullable: false, api_name: "PaypointId"
|
|
57
53
|
|
|
58
54
|
field :paypoint_dbaname, -> { String }, optional: true, nullable: false, api_name: "PaypointDbaname"
|
|
59
55
|
|
|
60
56
|
field :paypoint_entryname, -> { String }, optional: true, nullable: false, api_name: "PaypointEntryname"
|
|
61
57
|
|
|
62
|
-
field :
|
|
58
|
+
field :parent_org_name, -> { String }, optional: true, nullable: false, api_name: "ParentOrgName"
|
|
63
59
|
|
|
64
|
-
field :
|
|
60
|
+
field :parent_org_id, -> { Integer }, optional: true, nullable: false, api_name: "ParentOrgId"
|
|
61
|
+
|
|
62
|
+
field :created_date, -> { String }, optional: true, nullable: false, api_name: "CreatedDate"
|
|
63
|
+
|
|
64
|
+
field :last_updated, -> { String }, optional: true, nullable: false, api_name: "LastUpdated"
|
|
65
65
|
|
|
66
66
|
field :remit_address_1, -> { String }, optional: true, nullable: false, api_name: "remitAddress1"
|
|
67
67
|
|
|
@@ -69,27 +69,23 @@ module Payabli
|
|
|
69
69
|
|
|
70
70
|
field :remit_city, -> { String }, optional: true, nullable: false, api_name: "remitCity"
|
|
71
71
|
|
|
72
|
-
field :remit_country, -> { String }, optional: true, nullable: false, api_name: "remitCountry"
|
|
73
|
-
|
|
74
|
-
field :remit_email, -> { String }, optional: true, nullable: false, api_name: "RemitEmail"
|
|
75
|
-
|
|
76
72
|
field :remit_state, -> { String }, optional: true, nullable: false, api_name: "remitState"
|
|
77
73
|
|
|
78
74
|
field :remit_zip, -> { String }, optional: true, nullable: false, api_name: "remitZip"
|
|
79
75
|
|
|
80
|
-
field :
|
|
76
|
+
field :remit_country, -> { String }, optional: true, nullable: false, api_name: "remitCountry"
|
|
81
77
|
|
|
82
|
-
field :
|
|
78
|
+
field :payee_name_1, -> { String }, optional: true, nullable: false, api_name: "payeeName1"
|
|
83
79
|
|
|
84
|
-
field :
|
|
80
|
+
field :payee_name_2, -> { String }, optional: true, nullable: false, api_name: "payeeName2"
|
|
85
81
|
|
|
86
|
-
field :
|
|
82
|
+
field :custom_field_1, -> { String }, optional: true, nullable: false, api_name: "customField1"
|
|
87
83
|
|
|
88
|
-
field :
|
|
84
|
+
field :custom_field_2, -> { String }, optional: true, nullable: false, api_name: "customField2"
|
|
89
85
|
|
|
90
|
-
field :
|
|
86
|
+
field :customer_vendor_account, -> { String }, optional: true, nullable: false, api_name: "customerVendorAccount"
|
|
91
87
|
|
|
92
|
-
field :
|
|
88
|
+
field :internal_reference_id, -> { Integer }, optional: true, nullable: false, api_name: "InternalReferenceId"
|
|
93
89
|
|
|
94
90
|
field :payment_portal_url, -> { String }, optional: true, nullable: false, api_name: "PaymentPortalUrl"
|
|
95
91
|
|
|
@@ -97,6 +93,8 @@ module Payabli
|
|
|
97
93
|
|
|
98
94
|
field :ach_accepted, -> { String }, optional: true, nullable: false, api_name: "AchAccepted"
|
|
99
95
|
|
|
96
|
+
field :check_accepted, -> { String }, optional: true, nullable: false, api_name: "CheckAccepted"
|
|
97
|
+
|
|
100
98
|
field :enrichment_status, -> { String }, optional: true, nullable: false, api_name: "EnrichmentStatus"
|
|
101
99
|
|
|
102
100
|
field :enriched_by, -> { String }, optional: true, nullable: false, api_name: "EnrichedBy"
|
|
@@ -104,6 +102,12 @@ module Payabli
|
|
|
104
102
|
field :enriched_at, -> { String }, optional: true, nullable: false, api_name: "EnrichedAt"
|
|
105
103
|
|
|
106
104
|
field :enrichment_id, -> { String }, optional: true, nullable: false, api_name: "EnrichmentId"
|
|
105
|
+
|
|
106
|
+
field :additional_data, -> { Internal::Types::Hash[String, Internal::Types::Hash[String, Object]] }, optional: true, nullable: false, api_name: "additionalData"
|
|
107
|
+
|
|
108
|
+
field :external_paypoint_id, -> { String }, optional: true, nullable: false, api_name: "externalPaypointID"
|
|
109
|
+
|
|
110
|
+
field :stored_methods, -> { Internal::Types::Array[Payabli::Types::VendorResponseStoredMethod] }, optional: true, nullable: false, api_name: "StoredMethods"
|
|
107
111
|
end
|
|
108
112
|
end
|
|
109
113
|
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
# Response from the schedule outreach call endpoint.
|
|
6
|
+
class VendorScheduleCallResponse < Internal::Types::Model
|
|
7
|
+
field :response_code, -> { Integer }, optional: true, nullable: false, api_name: "responseCode"
|
|
8
|
+
|
|
9
|
+
field :page_identifier, -> { String }, optional: true, nullable: false, api_name: "pageIdentifier"
|
|
10
|
+
|
|
11
|
+
field :room_id, -> { Integer }, optional: true, nullable: false, api_name: "roomId"
|
|
12
|
+
|
|
13
|
+
field :is_success, -> { Internal::Types::Boolean }, optional: true, nullable: false, api_name: "isSuccess"
|
|
14
|
+
|
|
15
|
+
field :response_text, -> { String }, optional: false, nullable: false, api_name: "responseText"
|
|
16
|
+
|
|
17
|
+
field :response_data, -> { Payabli::Types::VendorScheduleCallResponseData }, optional: true, nullable: false, api_name: "responseData"
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
# Scheduled call details.
|
|
6
|
+
class VendorScheduleCallResponseData < Internal::Types::Model
|
|
7
|
+
field :call_schedule_id, -> { Integer }, optional: true, nullable: false, api_name: "callScheduleId"
|
|
8
|
+
|
|
9
|
+
field :enrichment_id, -> { String }, optional: true, nullable: false, api_name: "enrichmentId"
|
|
10
|
+
|
|
11
|
+
field :scheduled_call_date, -> { String }, optional: true, nullable: false, api_name: "scheduledCallDate"
|
|
12
|
+
|
|
13
|
+
field :status, -> { String }, optional: true, nullable: false
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Payabli
|
|
4
|
+
module Types
|
|
5
|
+
module Vendoridtrans
|
|
6
|
+
# Vendoridtrans is an alias for Integer
|
|
7
|
+
|
|
8
|
+
# @option str [String]
|
|
9
|
+
#
|
|
10
|
+
# @return [untyped]
|
|
11
|
+
def self.load(str)
|
|
12
|
+
::JSON.parse(str)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# @option value [untyped]
|
|
16
|
+
#
|
|
17
|
+
# @return [String]
|
|
18
|
+
def self.dump(value)
|
|
19
|
+
::JSON.generate(value)
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|