apimatic-tql-sdk 0.0.1 → 0.0.2
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/README.md +148 -197
- data/bin/console +4 -4
- data/lib/freight_financials_webhook_ingestion_api/api_helper.rb +10 -0
- data/lib/freight_financials_webhook_ingestion_api/apis/assignments_api.rb +41 -0
- data/lib/{tql_otr_factoring_data_exchange → freight_financials_webhook_ingestion_api}/apis/base_api.rb +60 -60
- data/lib/freight_financials_webhook_ingestion_api/apis/documents_api.rb +73 -0
- data/lib/freight_financials_webhook_ingestion_api/apis/freight_audit_api.rb +54 -0
- data/lib/freight_financials_webhook_ingestion_api/apis/invoices_api.rb +107 -0
- data/lib/freight_financials_webhook_ingestion_api/apis/loads_api.rb +72 -0
- data/lib/freight_financials_webhook_ingestion_api/apis/rating_api.rb +45 -0
- data/lib/{tql_otr_factoring_data_exchange → freight_financials_webhook_ingestion_api}/client.rb +83 -97
- data/lib/{tql_otr_factoring_data_exchange → freight_financials_webhook_ingestion_api}/configuration.rb +114 -126
- data/lib/{tql_otr_factoring_data_exchange → freight_financials_webhook_ingestion_api}/exceptions/api_exception.rb +21 -21
- data/lib/{tql_otr_factoring_data_exchange/exceptions/problem_details_error_exception.rb → freight_financials_webhook_ingestion_api/exceptions/problem_details_exception.rb} +51 -41
- data/lib/{tql_otr_factoring_data_exchange → freight_financials_webhook_ingestion_api}/http/api_response.rb +7 -7
- data/lib/freight_financials_webhook_ingestion_api/http/http_call_back.rb +10 -0
- data/lib/freight_financials_webhook_ingestion_api/http/http_method_enum.rb +10 -0
- data/lib/freight_financials_webhook_ingestion_api/http/http_request.rb +10 -0
- data/lib/freight_financials_webhook_ingestion_api/http/http_response.rb +10 -0
- data/lib/{tql_otr_factoring_data_exchange → freight_financials_webhook_ingestion_api}/http/proxy_settings.rb +6 -6
- data/lib/{tql_otr_factoring_data_exchange → freight_financials_webhook_ingestion_api}/logging/configuration/api_logging_configuration.rb +6 -6
- data/lib/{tql_otr_factoring_data_exchange → freight_financials_webhook_ingestion_api}/logging/sdk_logger.rb +6 -6
- data/lib/freight_financials_webhook_ingestion_api/models/address.rb +123 -0
- data/lib/freight_financials_webhook_ingestion_api/models/assignment_request.rb +94 -0
- data/lib/freight_financials_webhook_ingestion_api/models/assignment_response.rb +83 -0
- data/lib/{tql_otr_factoring_data_exchange/models/assignment_response.rb → freight_financials_webhook_ingestion_api/models/assignment_response_data.rb} +124 -126
- data/lib/{tql_otr_factoring_data_exchange → freight_financials_webhook_ingestion_api}/models/base_model.rb +110 -110
- data/lib/{tql_otr_factoring_data_exchange/models/carrier1.rb → freight_financials_webhook_ingestion_api/models/carrier.rb} +96 -98
- data/lib/freight_financials_webhook_ingestion_api/models/charge.rb +104 -0
- data/lib/freight_financials_webhook_ingestion_api/models/charge_code.rb +81 -0
- data/lib/freight_financials_webhook_ingestion_api/models/factoring_company.rb +81 -0
- data/lib/{tql_otr_factoring_data_exchange → freight_financials_webhook_ingestion_api}/models/invoice.rb +204 -223
- data/lib/{tql_otr_factoring_data_exchange/models/document.rb → freight_financials_webhook_ingestion_api/models/invoice_document.rb} +72 -86
- data/lib/{tql_otr_factoring_data_exchange/models/invoice_exception.rb → freight_financials_webhook_ingestion_api/models/invoice_issue.rb} +122 -136
- data/lib/freight_financials_webhook_ingestion_api/models/invoice_status_response.rb +83 -0
- data/lib/{tql_otr_factoring_data_exchange/models/invoice_status_response.rb → freight_financials_webhook_ingestion_api/models/invoice_status_response_data.rb} +185 -193
- data/lib/freight_financials_webhook_ingestion_api/models/line_item.rb +131 -0
- data/lib/freight_financials_webhook_ingestion_api/models/load_response.rb +83 -0
- data/lib/{tql_otr_factoring_data_exchange/models/load_detail.rb → freight_financials_webhook_ingestion_api/models/load_response_data.rb} +141 -140
- data/lib/{tql_otr_factoring_data_exchange/models/load.rb → freight_financials_webhook_ingestion_api/models/load_slim.rb} +97 -110
- data/lib/freight_financials_webhook_ingestion_api/models/navix_rate_charge.rb +116 -0
- data/lib/freight_financials_webhook_ingestion_api/models/navix_rate_customer.rb +64 -0
- data/lib/freight_financials_webhook_ingestion_api/models/navix_rate_line_item.rb +177 -0
- data/lib/freight_financials_webhook_ingestion_api/models/navix_rate_request.rb +208 -0
- data/lib/freight_financials_webhook_ingestion_api/models/navix_rate_requested_charge.rb +64 -0
- data/lib/freight_financials_webhook_ingestion_api/models/navix_rate_response.rb +112 -0
- data/lib/freight_financials_webhook_ingestion_api/models/navix_rate_stop.rb +107 -0
- data/lib/freight_financials_webhook_ingestion_api/models/navix_rate_vendor.rb +88 -0
- data/lib/freight_financials_webhook_ingestion_api/models/navix_webhook_event_type.rb +56 -0
- data/lib/freight_financials_webhook_ingestion_api/models/navix_webhook_request.rb +99 -0
- data/lib/freight_financials_webhook_ingestion_api/models/paged_response_of_invoice.rb +111 -0
- data/lib/{tql_otr_factoring_data_exchange → freight_financials_webhook_ingestion_api}/models/payment.rb +94 -108
- data/lib/freight_financials_webhook_ingestion_api/models/rating_charge_qualifier.rb +68 -0
- data/lib/freight_financials_webhook_ingestion_api/models/rating_response_format.rb +40 -0
- data/lib/freight_financials_webhook_ingestion_api/models/reference_number.rb +71 -0
- data/lib/{tql_otr_factoring_data_exchange/models/invoice_search_request.rb → freight_financials_webhook_ingestion_api/models/search_request.rb} +223 -242
- data/lib/freight_financials_webhook_ingestion_api/models/search_response.rb +83 -0
- data/lib/freight_financials_webhook_ingestion_api/models/stop.rb +81 -0
- data/lib/freight_financials_webhook_ingestion_api/models/submit_invoice_request.rb +228 -0
- data/lib/freight_financials_webhook_ingestion_api/models/submit_invoice_response.rb +83 -0
- data/lib/{tql_otr_factoring_data_exchange/models/submit_invoice_response.rb → freight_financials_webhook_ingestion_api/models/submit_invoice_response_data.rb} +105 -107
- data/lib/freight_financials_webhook_ingestion_api/models/upload_request.rb +128 -0
- data/lib/freight_financials_webhook_ingestion_api/models/upload_response.rb +83 -0
- data/lib/{tql_otr_factoring_data_exchange/models/document_upload_response.rb → freight_financials_webhook_ingestion_api/models/upload_response_data.rb} +117 -137
- data/lib/freight_financials_webhook_ingestion_api/utilities/date_time_helper.rb +11 -0
- data/lib/{tql_otr_factoring_data_exchange → freight_financials_webhook_ingestion_api}/utilities/file_wrapper.rb +17 -17
- data/lib/freight_financials_webhook_ingestion_api.rb +127 -0
- metadata +67 -74
- data/lib/tql_otr_factoring_data_exchange/api_helper.rb +0 -10
- data/lib/tql_otr_factoring_data_exchange/apis/assignments_api.rb +0 -45
- data/lib/tql_otr_factoring_data_exchange/apis/documents_api.rb +0 -82
- data/lib/tql_otr_factoring_data_exchange/apis/invoices_api.rb +0 -114
- data/lib/tql_otr_factoring_data_exchange/apis/loads_api.rb +0 -68
- data/lib/tql_otr_factoring_data_exchange/apis/oauth_authorization_api.rb +0 -44
- data/lib/tql_otr_factoring_data_exchange/exceptions/oauth_provider_exception.rb +0 -64
- data/lib/tql_otr_factoring_data_exchange/http/auth/oauth_2.rb +0 -156
- data/lib/tql_otr_factoring_data_exchange/http/http_call_back.rb +0 -10
- data/lib/tql_otr_factoring_data_exchange/http/http_method_enum.rb +0 -10
- data/lib/tql_otr_factoring_data_exchange/http/http_request.rb +0 -10
- data/lib/tql_otr_factoring_data_exchange/http/http_response.rb +0 -10
- data/lib/tql_otr_factoring_data_exchange/models/assignment_request.rb +0 -140
- data/lib/tql_otr_factoring_data_exchange/models/assignment_status.rb +0 -36
- data/lib/tql_otr_factoring_data_exchange/models/base64_document.rb +0 -118
- data/lib/tql_otr_factoring_data_exchange/models/base64_document_upload_request.rb +0 -107
- data/lib/tql_otr_factoring_data_exchange/models/carrier.rb +0 -98
- data/lib/tql_otr_factoring_data_exchange/models/carrier2.rb +0 -98
- data/lib/tql_otr_factoring_data_exchange/models/carrier_input.rb +0 -123
- data/lib/tql_otr_factoring_data_exchange/models/carrier_input1.rb +0 -123
- data/lib/tql_otr_factoring_data_exchange/models/charge_code.rb +0 -126
- data/lib/tql_otr_factoring_data_exchange/models/charge_code_origin.rb +0 -49
- data/lib/tql_otr_factoring_data_exchange/models/charge_input.rb +0 -146
- data/lib/tql_otr_factoring_data_exchange/models/document_type.rb +0 -288
- data/lib/tql_otr_factoring_data_exchange/models/document_upload_metadata.rb +0 -111
- data/lib/tql_otr_factoring_data_exchange/models/exception_severity.rb +0 -40
- data/lib/tql_otr_factoring_data_exchange/models/factoring_company_input.rb +0 -117
- data/lib/tql_otr_factoring_data_exchange/models/invoice_item_input.rb +0 -165
- data/lib/tql_otr_factoring_data_exchange/models/invoice_search_response.rb +0 -124
- data/lib/tql_otr_factoring_data_exchange/models/invoice_status.rb +0 -74
- data/lib/tql_otr_factoring_data_exchange/models/invoice_type.rb +0 -50
- data/lib/tql_otr_factoring_data_exchange/models/load_search_request.rb +0 -205
- data/lib/tql_otr_factoring_data_exchange/models/load_search_response.rb +0 -124
- data/lib/tql_otr_factoring_data_exchange/models/load_status.rb +0 -56
- data/lib/tql_otr_factoring_data_exchange/models/location.rb +0 -149
- data/lib/tql_otr_factoring_data_exchange/models/oauth_provider_error.rb +0 -62
- data/lib/tql_otr_factoring_data_exchange/models/oauth_scope.rb +0 -36
- data/lib/tql_otr_factoring_data_exchange/models/oauth_token.rb +0 -96
- data/lib/tql_otr_factoring_data_exchange/models/problem_details.rb +0 -96
- data/lib/tql_otr_factoring_data_exchange/models/reference_number_input.rb +0 -109
- data/lib/tql_otr_factoring_data_exchange/models/reference_type.rb +0 -90
- data/lib/tql_otr_factoring_data_exchange/models/status.rb +0 -44
- data/lib/tql_otr_factoring_data_exchange/models/stop_input.rb +0 -121
- data/lib/tql_otr_factoring_data_exchange/models/stop_type.rb +0 -62
- data/lib/tql_otr_factoring_data_exchange/models/submit_invoice_request.rb +0 -326
- data/lib/tql_otr_factoring_data_exchange/models/weight_unit.rb +0 -36
- data/lib/tql_otr_factoring_data_exchange/utilities/date_time_helper.rb +0 -11
- data/lib/tql_otr_factoring_data_exchange/utilities/union_type_lookup.rb +0 -29
- data/lib/tql_otr_factoring_data_exchange.rb +0 -107
|
@@ -1,137 +1,117 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
# This file was automatically
|
|
4
|
-
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
-
|
|
6
|
-
require 'date'
|
|
7
|
-
module
|
|
8
|
-
#
|
|
9
|
-
class
|
|
10
|
-
SKIP = Object.new
|
|
11
|
-
private_constant :SKIP
|
|
12
|
-
|
|
13
|
-
#
|
|
14
|
-
# @return [UUID | String]
|
|
15
|
-
attr_accessor :document_id
|
|
16
|
-
|
|
17
|
-
#
|
|
18
|
-
# @return [String]
|
|
19
|
-
attr_accessor :invoice_number
|
|
20
|
-
|
|
21
|
-
#
|
|
22
|
-
# @return [
|
|
23
|
-
attr_accessor :
|
|
24
|
-
|
|
25
|
-
#
|
|
26
|
-
# @return [
|
|
27
|
-
attr_accessor :
|
|
28
|
-
|
|
29
|
-
#
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
# An array for
|
|
50
|
-
def self.
|
|
51
|
-
%w[
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
end
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
#
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
# Provides a human-readable string representation of the object.
|
|
121
|
-
def to_s
|
|
122
|
-
class_name = self.class.name.split('::').last
|
|
123
|
-
"<#{class_name} document_id: #{@document_id}, invoice_number: #{@invoice_number},"\
|
|
124
|
-
" document_type: #{@document_type}, status: #{@status}, tags: #{@tags}, received_at:"\
|
|
125
|
-
" #{@received_at}, additional_properties: #{@additional_properties}>"
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
# Provides a debugging-friendly string with detailed object information.
|
|
129
|
-
def inspect
|
|
130
|
-
class_name = self.class.name.split('::').last
|
|
131
|
-
"<#{class_name} document_id: #{@document_id.inspect}, invoice_number:"\
|
|
132
|
-
" #{@invoice_number.inspect}, document_type: #{@document_type.inspect}, status:"\
|
|
133
|
-
" #{@status.inspect}, tags: #{@tags.inspect}, received_at: #{@received_at.inspect},"\
|
|
134
|
-
" additional_properties: #{@additional_properties}>"
|
|
135
|
-
end
|
|
136
|
-
end
|
|
137
|
-
end
|
|
1
|
+
# freight_financials_webhook_ingestion_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically
|
|
4
|
+
# generated by APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
require 'date'
|
|
7
|
+
module FreightFinancialsWebhookIngestionApi
|
|
8
|
+
# UploadResponseData Model.
|
|
9
|
+
class UploadResponseData < BaseModel
|
|
10
|
+
SKIP = Object.new
|
|
11
|
+
private_constant :SKIP
|
|
12
|
+
|
|
13
|
+
# TODO: Write general description for this method
|
|
14
|
+
# @return [UUID | String]
|
|
15
|
+
attr_accessor :document_id
|
|
16
|
+
|
|
17
|
+
# TODO: Write general description for this method
|
|
18
|
+
# @return [String]
|
|
19
|
+
attr_accessor :invoice_number
|
|
20
|
+
|
|
21
|
+
# TODO: Write general description for this method
|
|
22
|
+
# @return [DateTime]
|
|
23
|
+
attr_accessor :received_at
|
|
24
|
+
|
|
25
|
+
# TODO: Write general description for this method
|
|
26
|
+
# @return [Hash[String, String]]
|
|
27
|
+
attr_accessor :tags
|
|
28
|
+
|
|
29
|
+
# A mapping from model property names to API property names.
|
|
30
|
+
def self.names
|
|
31
|
+
@_hash = {} if @_hash.nil?
|
|
32
|
+
@_hash['document_id'] = 'documentId'
|
|
33
|
+
@_hash['invoice_number'] = 'invoiceNumber'
|
|
34
|
+
@_hash['received_at'] = 'receivedAt'
|
|
35
|
+
@_hash['tags'] = 'tags'
|
|
36
|
+
@_hash
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# An array for optional fields
|
|
40
|
+
def self.optionals
|
|
41
|
+
%w[
|
|
42
|
+
document_id
|
|
43
|
+
invoice_number
|
|
44
|
+
received_at
|
|
45
|
+
tags
|
|
46
|
+
]
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# An array for nullable fields
|
|
50
|
+
def self.nullables
|
|
51
|
+
%w[
|
|
52
|
+
tags
|
|
53
|
+
]
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
def initialize(document_id: SKIP, invoice_number: SKIP, received_at: SKIP,
|
|
57
|
+
tags: SKIP, additional_properties: nil)
|
|
58
|
+
# Add additional model properties to the instance
|
|
59
|
+
additional_properties = {} if additional_properties.nil?
|
|
60
|
+
|
|
61
|
+
@document_id = document_id unless document_id == SKIP
|
|
62
|
+
@invoice_number = invoice_number unless invoice_number == SKIP
|
|
63
|
+
@received_at = received_at unless received_at == SKIP
|
|
64
|
+
@tags = tags unless tags == SKIP
|
|
65
|
+
@additional_properties = additional_properties
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Creates an instance of the object from a hash.
|
|
69
|
+
def self.from_hash(hash)
|
|
70
|
+
return nil unless hash
|
|
71
|
+
|
|
72
|
+
# Extract variables from the hash.
|
|
73
|
+
document_id = hash.key?('documentId') ? hash['documentId'] : SKIP
|
|
74
|
+
invoice_number = hash.key?('invoiceNumber') ? hash['invoiceNumber'] : SKIP
|
|
75
|
+
received_at = if hash.key?('receivedAt')
|
|
76
|
+
(DateTimeHelper.from_rfc3339(hash['receivedAt']) if hash['receivedAt'])
|
|
77
|
+
else
|
|
78
|
+
SKIP
|
|
79
|
+
end
|
|
80
|
+
tags = hash.key?('tags') ? hash['tags'] : SKIP
|
|
81
|
+
|
|
82
|
+
# Create a new hash for additional properties, removing known properties.
|
|
83
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
84
|
+
|
|
85
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
86
|
+
new_hash, proc { |value| value }
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
# Create object from extracted values.
|
|
90
|
+
UploadResponseData.new(document_id: document_id,
|
|
91
|
+
invoice_number: invoice_number,
|
|
92
|
+
received_at: received_at,
|
|
93
|
+
tags: tags,
|
|
94
|
+
additional_properties: additional_properties)
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
def to_custom_received_at
|
|
98
|
+
DateTimeHelper.to_rfc3339(received_at)
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Provides a human-readable string representation of the object.
|
|
102
|
+
def to_s
|
|
103
|
+
class_name = self.class.name.split('::').last
|
|
104
|
+
"<#{class_name} document_id: #{@document_id}, invoice_number: #{@invoice_number},"\
|
|
105
|
+
" received_at: #{@received_at}, tags: #{@tags}, additional_properties:"\
|
|
106
|
+
" #{@additional_properties}>"
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
110
|
+
def inspect
|
|
111
|
+
class_name = self.class.name.split('::').last
|
|
112
|
+
"<#{class_name} document_id: #{@document_id.inspect}, invoice_number:"\
|
|
113
|
+
" #{@invoice_number.inspect}, received_at: #{@received_at.inspect}, tags: #{@tags.inspect},"\
|
|
114
|
+
" additional_properties: #{@additional_properties}>"
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# freight_financials_webhook_ingestion_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically
|
|
4
|
+
# generated by APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
require 'date'
|
|
7
|
+
module FreightFinancialsWebhookIngestionApi
|
|
8
|
+
# A utility that supports dateTime conversion to different formats
|
|
9
|
+
class DateTimeHelper < CoreLibrary::DateTimeHelper
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
# This file was automatically
|
|
4
|
-
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
-
|
|
6
|
-
module
|
|
7
|
-
# A utility to allow users to set the content-type for files
|
|
1
|
+
# freight_financials_webhook_ingestion_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically
|
|
4
|
+
# generated by APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module FreightFinancialsWebhookIngestionApi
|
|
7
|
+
# A utility to allow users to set the content-type for files
|
|
8
8
|
class FileWrapper < CoreLibrary::FileWrapper
|
|
9
9
|
# The constructor.
|
|
10
10
|
# @param [File] file The file to be sent in the request.
|
|
@@ -16,13 +16,13 @@ module TqlOtrFactoringDataExchange
|
|
|
16
16
|
# Provides a human-readable string representation of the object.
|
|
17
17
|
def to_s
|
|
18
18
|
class_name = self.class.name.split('::').last
|
|
19
|
-
"<#{class_name} file: #{@file}, content_type: #{@content_type}>"
|
|
20
|
-
end
|
|
21
|
-
|
|
22
|
-
# Provides a debugging-friendly string with detailed object information.
|
|
23
|
-
def to_inspect
|
|
24
|
-
class_name = self.class.name.split('::').last
|
|
25
|
-
"<#{class_name} file: #{@file.inspect}, content_type: #{@content_type.inspect}>"
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
end
|
|
19
|
+
"<#{class_name} file: #{@file}, content_type: #{@content_type}>"
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
23
|
+
def to_inspect
|
|
24
|
+
class_name = self.class.name.split('::').last
|
|
25
|
+
"<#{class_name} file: #{@file.inspect}, content_type: #{@content_type.inspect}>"
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# freight_financials_webhook_ingestion_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically
|
|
4
|
+
# generated by APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
require 'date'
|
|
7
|
+
require 'json'
|
|
8
|
+
|
|
9
|
+
require 'apimatic_core_interfaces'
|
|
10
|
+
require 'apimatic_core'
|
|
11
|
+
require 'apimatic_faraday_client_adapter'
|
|
12
|
+
|
|
13
|
+
require_relative 'freight_financials_webhook_ingestion_api/api_helper'
|
|
14
|
+
require_relative 'freight_financials_webhook_ingestion_api/client'
|
|
15
|
+
|
|
16
|
+
# Utilities
|
|
17
|
+
require_relative 'freight_financials_webhook_ingestion_api/utilities/' \
|
|
18
|
+
'file_wrapper'
|
|
19
|
+
require_relative 'freight_financials_webhook_ingestion_api/utilities/' \
|
|
20
|
+
'date_time_helper'
|
|
21
|
+
|
|
22
|
+
# Http
|
|
23
|
+
require_relative 'freight_financials_webhook_ingestion_api/http/api_response'
|
|
24
|
+
require_relative 'freight_financials_webhook_ingestion_api/http/http_call_back'
|
|
25
|
+
require_relative 'freight_financials_webhook_ingestion_api/http/' \
|
|
26
|
+
'http_method_enum'
|
|
27
|
+
require_relative 'freight_financials_webhook_ingestion_api/http/http_request'
|
|
28
|
+
require_relative 'freight_financials_webhook_ingestion_api/http/http_response'
|
|
29
|
+
require_relative 'freight_financials_webhook_ingestion_api/http/proxy_settings'
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
# Logger
|
|
33
|
+
require_relative 'freight_financials_webhook_ingestion_api/logging/' \
|
|
34
|
+
'configuration/api_logging_configuration'
|
|
35
|
+
require_relative 'freight_financials_webhook_ingestion_api/logging/sdk_logger'
|
|
36
|
+
|
|
37
|
+
# Models
|
|
38
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/base_model'
|
|
39
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/address'
|
|
40
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
41
|
+
'assignment_request'
|
|
42
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
43
|
+
'assignment_response'
|
|
44
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
45
|
+
'assignment_response_data'
|
|
46
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/carrier'
|
|
47
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/charge'
|
|
48
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/charge_code'
|
|
49
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
50
|
+
'factoring_company'
|
|
51
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/invoice'
|
|
52
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
53
|
+
'invoice_document'
|
|
54
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/invoice_issue'
|
|
55
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
56
|
+
'invoice_status_response'
|
|
57
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
58
|
+
'invoice_status_response_data'
|
|
59
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/line_item'
|
|
60
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/load_response'
|
|
61
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
62
|
+
'load_response_data'
|
|
63
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/load_slim'
|
|
64
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
65
|
+
'navix_rate_charge'
|
|
66
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
67
|
+
'navix_rate_customer'
|
|
68
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
69
|
+
'navix_rate_line_item'
|
|
70
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
71
|
+
'navix_rate_request'
|
|
72
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
73
|
+
'navix_rate_requested_charge'
|
|
74
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
75
|
+
'navix_rate_response'
|
|
76
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
77
|
+
'navix_rate_stop'
|
|
78
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
79
|
+
'navix_rate_vendor'
|
|
80
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
81
|
+
'navix_webhook_request'
|
|
82
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
83
|
+
'paged_response_of_invoice'
|
|
84
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/payment'
|
|
85
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
86
|
+
'reference_number'
|
|
87
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
88
|
+
'search_request'
|
|
89
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
90
|
+
'search_response'
|
|
91
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/stop'
|
|
92
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
93
|
+
'submit_invoice_request'
|
|
94
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
95
|
+
'submit_invoice_response'
|
|
96
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
97
|
+
'submit_invoice_response_data'
|
|
98
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
99
|
+
'upload_request'
|
|
100
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
101
|
+
'upload_response'
|
|
102
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
103
|
+
'upload_response_data'
|
|
104
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
105
|
+
'navix_webhook_event_type'
|
|
106
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
107
|
+
'rating_charge_qualifier'
|
|
108
|
+
require_relative 'freight_financials_webhook_ingestion_api/models/' \
|
|
109
|
+
'rating_response_format'
|
|
110
|
+
|
|
111
|
+
# Exceptions
|
|
112
|
+
require_relative 'freight_financials_webhook_ingestion_api/exceptions/' \
|
|
113
|
+
'api_exception'
|
|
114
|
+
require_relative 'freight_financials_webhook_ingestion_api/exceptions/' \
|
|
115
|
+
'problem_details_exception'
|
|
116
|
+
|
|
117
|
+
require_relative 'freight_financials_webhook_ingestion_api/configuration'
|
|
118
|
+
|
|
119
|
+
# Controllers
|
|
120
|
+
require_relative 'freight_financials_webhook_ingestion_api/apis/base_api'
|
|
121
|
+
require_relative 'freight_financials_webhook_ingestion_api/apis/assignments_api'
|
|
122
|
+
require_relative 'freight_financials_webhook_ingestion_api/apis/documents_api'
|
|
123
|
+
require_relative 'freight_financials_webhook_ingestion_api/apis/' \
|
|
124
|
+
'freight_audit_api'
|
|
125
|
+
require_relative 'freight_financials_webhook_ingestion_api/apis/invoices_api'
|
|
126
|
+
require_relative 'freight_financials_webhook_ingestion_api/apis/loads_api'
|
|
127
|
+
require_relative 'freight_financials_webhook_ingestion_api/apis/rating_api'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: apimatic-tql-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- developer sdksio
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-07-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: apimatic_core_interfaces
|
|
@@ -62,78 +62,71 @@ files:
|
|
|
62
62
|
- LICENSE
|
|
63
63
|
- README.md
|
|
64
64
|
- bin/console
|
|
65
|
-
- lib/
|
|
66
|
-
- lib/
|
|
67
|
-
- lib/
|
|
68
|
-
- lib/
|
|
69
|
-
- lib/
|
|
70
|
-
- lib/
|
|
71
|
-
- lib/
|
|
72
|
-
- lib/
|
|
73
|
-
- lib/
|
|
74
|
-
- lib/
|
|
75
|
-
- lib/
|
|
76
|
-
- lib/
|
|
77
|
-
- lib/
|
|
78
|
-
- lib/
|
|
79
|
-
- lib/
|
|
80
|
-
- lib/
|
|
81
|
-
- lib/
|
|
82
|
-
- lib/
|
|
83
|
-
- lib/
|
|
84
|
-
- lib/
|
|
85
|
-
- lib/
|
|
86
|
-
- lib/
|
|
87
|
-
- lib/
|
|
88
|
-
- lib/
|
|
89
|
-
- lib/
|
|
90
|
-
- lib/
|
|
91
|
-
- lib/
|
|
92
|
-
- lib/
|
|
93
|
-
- lib/
|
|
94
|
-
- lib/
|
|
95
|
-
- lib/
|
|
96
|
-
- lib/
|
|
97
|
-
- lib/
|
|
98
|
-
- lib/
|
|
99
|
-
- lib/
|
|
100
|
-
- lib/
|
|
101
|
-
- lib/
|
|
102
|
-
- lib/
|
|
103
|
-
- lib/
|
|
104
|
-
- lib/
|
|
105
|
-
- lib/
|
|
106
|
-
- lib/
|
|
107
|
-
- lib/
|
|
108
|
-
- lib/
|
|
109
|
-
- lib/
|
|
110
|
-
- lib/
|
|
111
|
-
- lib/
|
|
112
|
-
- lib/
|
|
113
|
-
- lib/
|
|
114
|
-
- lib/
|
|
115
|
-
- lib/
|
|
116
|
-
- lib/
|
|
117
|
-
- lib/
|
|
118
|
-
- lib/
|
|
119
|
-
- lib/
|
|
120
|
-
- lib/
|
|
121
|
-
- lib/
|
|
122
|
-
- lib/
|
|
123
|
-
- lib/
|
|
124
|
-
- lib/
|
|
125
|
-
- lib/
|
|
126
|
-
- lib/
|
|
127
|
-
- lib/
|
|
128
|
-
- lib/
|
|
129
|
-
- lib/
|
|
130
|
-
- lib/tql_otr_factoring_data_exchange/models/stop_type.rb
|
|
131
|
-
- lib/tql_otr_factoring_data_exchange/models/submit_invoice_request.rb
|
|
132
|
-
- lib/tql_otr_factoring_data_exchange/models/submit_invoice_response.rb
|
|
133
|
-
- lib/tql_otr_factoring_data_exchange/models/weight_unit.rb
|
|
134
|
-
- lib/tql_otr_factoring_data_exchange/utilities/date_time_helper.rb
|
|
135
|
-
- lib/tql_otr_factoring_data_exchange/utilities/file_wrapper.rb
|
|
136
|
-
- lib/tql_otr_factoring_data_exchange/utilities/union_type_lookup.rb
|
|
65
|
+
- lib/freight_financials_webhook_ingestion_api.rb
|
|
66
|
+
- lib/freight_financials_webhook_ingestion_api/api_helper.rb
|
|
67
|
+
- lib/freight_financials_webhook_ingestion_api/apis/assignments_api.rb
|
|
68
|
+
- lib/freight_financials_webhook_ingestion_api/apis/base_api.rb
|
|
69
|
+
- lib/freight_financials_webhook_ingestion_api/apis/documents_api.rb
|
|
70
|
+
- lib/freight_financials_webhook_ingestion_api/apis/freight_audit_api.rb
|
|
71
|
+
- lib/freight_financials_webhook_ingestion_api/apis/invoices_api.rb
|
|
72
|
+
- lib/freight_financials_webhook_ingestion_api/apis/loads_api.rb
|
|
73
|
+
- lib/freight_financials_webhook_ingestion_api/apis/rating_api.rb
|
|
74
|
+
- lib/freight_financials_webhook_ingestion_api/client.rb
|
|
75
|
+
- lib/freight_financials_webhook_ingestion_api/configuration.rb
|
|
76
|
+
- lib/freight_financials_webhook_ingestion_api/exceptions/api_exception.rb
|
|
77
|
+
- lib/freight_financials_webhook_ingestion_api/exceptions/problem_details_exception.rb
|
|
78
|
+
- lib/freight_financials_webhook_ingestion_api/http/api_response.rb
|
|
79
|
+
- lib/freight_financials_webhook_ingestion_api/http/http_call_back.rb
|
|
80
|
+
- lib/freight_financials_webhook_ingestion_api/http/http_method_enum.rb
|
|
81
|
+
- lib/freight_financials_webhook_ingestion_api/http/http_request.rb
|
|
82
|
+
- lib/freight_financials_webhook_ingestion_api/http/http_response.rb
|
|
83
|
+
- lib/freight_financials_webhook_ingestion_api/http/proxy_settings.rb
|
|
84
|
+
- lib/freight_financials_webhook_ingestion_api/logging/configuration/api_logging_configuration.rb
|
|
85
|
+
- lib/freight_financials_webhook_ingestion_api/logging/sdk_logger.rb
|
|
86
|
+
- lib/freight_financials_webhook_ingestion_api/models/address.rb
|
|
87
|
+
- lib/freight_financials_webhook_ingestion_api/models/assignment_request.rb
|
|
88
|
+
- lib/freight_financials_webhook_ingestion_api/models/assignment_response.rb
|
|
89
|
+
- lib/freight_financials_webhook_ingestion_api/models/assignment_response_data.rb
|
|
90
|
+
- lib/freight_financials_webhook_ingestion_api/models/base_model.rb
|
|
91
|
+
- lib/freight_financials_webhook_ingestion_api/models/carrier.rb
|
|
92
|
+
- lib/freight_financials_webhook_ingestion_api/models/charge.rb
|
|
93
|
+
- lib/freight_financials_webhook_ingestion_api/models/charge_code.rb
|
|
94
|
+
- lib/freight_financials_webhook_ingestion_api/models/factoring_company.rb
|
|
95
|
+
- lib/freight_financials_webhook_ingestion_api/models/invoice.rb
|
|
96
|
+
- lib/freight_financials_webhook_ingestion_api/models/invoice_document.rb
|
|
97
|
+
- lib/freight_financials_webhook_ingestion_api/models/invoice_issue.rb
|
|
98
|
+
- lib/freight_financials_webhook_ingestion_api/models/invoice_status_response.rb
|
|
99
|
+
- lib/freight_financials_webhook_ingestion_api/models/invoice_status_response_data.rb
|
|
100
|
+
- lib/freight_financials_webhook_ingestion_api/models/line_item.rb
|
|
101
|
+
- lib/freight_financials_webhook_ingestion_api/models/load_response.rb
|
|
102
|
+
- lib/freight_financials_webhook_ingestion_api/models/load_response_data.rb
|
|
103
|
+
- lib/freight_financials_webhook_ingestion_api/models/load_slim.rb
|
|
104
|
+
- lib/freight_financials_webhook_ingestion_api/models/navix_rate_charge.rb
|
|
105
|
+
- lib/freight_financials_webhook_ingestion_api/models/navix_rate_customer.rb
|
|
106
|
+
- lib/freight_financials_webhook_ingestion_api/models/navix_rate_line_item.rb
|
|
107
|
+
- lib/freight_financials_webhook_ingestion_api/models/navix_rate_request.rb
|
|
108
|
+
- lib/freight_financials_webhook_ingestion_api/models/navix_rate_requested_charge.rb
|
|
109
|
+
- lib/freight_financials_webhook_ingestion_api/models/navix_rate_response.rb
|
|
110
|
+
- lib/freight_financials_webhook_ingestion_api/models/navix_rate_stop.rb
|
|
111
|
+
- lib/freight_financials_webhook_ingestion_api/models/navix_rate_vendor.rb
|
|
112
|
+
- lib/freight_financials_webhook_ingestion_api/models/navix_webhook_event_type.rb
|
|
113
|
+
- lib/freight_financials_webhook_ingestion_api/models/navix_webhook_request.rb
|
|
114
|
+
- lib/freight_financials_webhook_ingestion_api/models/paged_response_of_invoice.rb
|
|
115
|
+
- lib/freight_financials_webhook_ingestion_api/models/payment.rb
|
|
116
|
+
- lib/freight_financials_webhook_ingestion_api/models/rating_charge_qualifier.rb
|
|
117
|
+
- lib/freight_financials_webhook_ingestion_api/models/rating_response_format.rb
|
|
118
|
+
- lib/freight_financials_webhook_ingestion_api/models/reference_number.rb
|
|
119
|
+
- lib/freight_financials_webhook_ingestion_api/models/search_request.rb
|
|
120
|
+
- lib/freight_financials_webhook_ingestion_api/models/search_response.rb
|
|
121
|
+
- lib/freight_financials_webhook_ingestion_api/models/stop.rb
|
|
122
|
+
- lib/freight_financials_webhook_ingestion_api/models/submit_invoice_request.rb
|
|
123
|
+
- lib/freight_financials_webhook_ingestion_api/models/submit_invoice_response.rb
|
|
124
|
+
- lib/freight_financials_webhook_ingestion_api/models/submit_invoice_response_data.rb
|
|
125
|
+
- lib/freight_financials_webhook_ingestion_api/models/upload_request.rb
|
|
126
|
+
- lib/freight_financials_webhook_ingestion_api/models/upload_response.rb
|
|
127
|
+
- lib/freight_financials_webhook_ingestion_api/models/upload_response_data.rb
|
|
128
|
+
- lib/freight_financials_webhook_ingestion_api/utilities/date_time_helper.rb
|
|
129
|
+
- lib/freight_financials_webhook_ingestion_api/utilities/file_wrapper.rb
|
|
137
130
|
homepage: https://apimatic.io
|
|
138
131
|
licenses:
|
|
139
132
|
- MIT
|