apimatic-tql-sdk 0.0.1
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 +7 -0
- data/LICENSE +28 -0
- data/README.md +210 -0
- data/bin/console +15 -0
- data/lib/tql_otr_factoring_data_exchange/api_helper.rb +10 -0
- data/lib/tql_otr_factoring_data_exchange/apis/assignments_api.rb +45 -0
- data/lib/tql_otr_factoring_data_exchange/apis/base_api.rb +67 -0
- data/lib/tql_otr_factoring_data_exchange/apis/documents_api.rb +82 -0
- data/lib/tql_otr_factoring_data_exchange/apis/invoices_api.rb +114 -0
- data/lib/tql_otr_factoring_data_exchange/apis/loads_api.rb +68 -0
- data/lib/tql_otr_factoring_data_exchange/apis/oauth_authorization_api.rb +44 -0
- data/lib/tql_otr_factoring_data_exchange/client.rb +104 -0
- data/lib/tql_otr_factoring_data_exchange/configuration.rb +164 -0
- data/lib/tql_otr_factoring_data_exchange/exceptions/api_exception.rb +21 -0
- data/lib/tql_otr_factoring_data_exchange/exceptions/oauth_provider_exception.rb +64 -0
- data/lib/tql_otr_factoring_data_exchange/exceptions/problem_details_error_exception.rb +58 -0
- data/lib/tql_otr_factoring_data_exchange/http/api_response.rb +19 -0
- data/lib/tql_otr_factoring_data_exchange/http/auth/oauth_2.rb +156 -0
- data/lib/tql_otr_factoring_data_exchange/http/http_call_back.rb +10 -0
- data/lib/tql_otr_factoring_data_exchange/http/http_method_enum.rb +10 -0
- data/lib/tql_otr_factoring_data_exchange/http/http_request.rb +10 -0
- data/lib/tql_otr_factoring_data_exchange/http/http_response.rb +10 -0
- data/lib/tql_otr_factoring_data_exchange/http/proxy_settings.rb +22 -0
- data/lib/tql_otr_factoring_data_exchange/logging/configuration/api_logging_configuration.rb +186 -0
- data/lib/tql_otr_factoring_data_exchange/logging/sdk_logger.rb +17 -0
- data/lib/tql_otr_factoring_data_exchange/models/assignment_request.rb +140 -0
- data/lib/tql_otr_factoring_data_exchange/models/assignment_response.rb +126 -0
- data/lib/tql_otr_factoring_data_exchange/models/assignment_status.rb +36 -0
- data/lib/tql_otr_factoring_data_exchange/models/base64_document.rb +118 -0
- data/lib/tql_otr_factoring_data_exchange/models/base64_document_upload_request.rb +107 -0
- data/lib/tql_otr_factoring_data_exchange/models/base_model.rb +110 -0
- data/lib/tql_otr_factoring_data_exchange/models/carrier.rb +98 -0
- data/lib/tql_otr_factoring_data_exchange/models/carrier1.rb +98 -0
- data/lib/tql_otr_factoring_data_exchange/models/carrier2.rb +98 -0
- data/lib/tql_otr_factoring_data_exchange/models/carrier_input.rb +123 -0
- data/lib/tql_otr_factoring_data_exchange/models/carrier_input1.rb +123 -0
- data/lib/tql_otr_factoring_data_exchange/models/charge_code.rb +126 -0
- data/lib/tql_otr_factoring_data_exchange/models/charge_code_origin.rb +49 -0
- data/lib/tql_otr_factoring_data_exchange/models/charge_input.rb +146 -0
- data/lib/tql_otr_factoring_data_exchange/models/document.rb +86 -0
- data/lib/tql_otr_factoring_data_exchange/models/document_type.rb +288 -0
- data/lib/tql_otr_factoring_data_exchange/models/document_upload_metadata.rb +111 -0
- data/lib/tql_otr_factoring_data_exchange/models/document_upload_response.rb +137 -0
- data/lib/tql_otr_factoring_data_exchange/models/exception_severity.rb +40 -0
- data/lib/tql_otr_factoring_data_exchange/models/factoring_company_input.rb +117 -0
- data/lib/tql_otr_factoring_data_exchange/models/invoice.rb +223 -0
- data/lib/tql_otr_factoring_data_exchange/models/invoice_exception.rb +136 -0
- data/lib/tql_otr_factoring_data_exchange/models/invoice_item_input.rb +165 -0
- data/lib/tql_otr_factoring_data_exchange/models/invoice_search_request.rb +242 -0
- data/lib/tql_otr_factoring_data_exchange/models/invoice_search_response.rb +124 -0
- data/lib/tql_otr_factoring_data_exchange/models/invoice_status.rb +74 -0
- data/lib/tql_otr_factoring_data_exchange/models/invoice_status_response.rb +193 -0
- data/lib/tql_otr_factoring_data_exchange/models/invoice_type.rb +50 -0
- data/lib/tql_otr_factoring_data_exchange/models/load.rb +110 -0
- data/lib/tql_otr_factoring_data_exchange/models/load_detail.rb +140 -0
- data/lib/tql_otr_factoring_data_exchange/models/load_search_request.rb +205 -0
- data/lib/tql_otr_factoring_data_exchange/models/load_search_response.rb +124 -0
- data/lib/tql_otr_factoring_data_exchange/models/load_status.rb +56 -0
- data/lib/tql_otr_factoring_data_exchange/models/location.rb +149 -0
- data/lib/tql_otr_factoring_data_exchange/models/oauth_provider_error.rb +62 -0
- data/lib/tql_otr_factoring_data_exchange/models/oauth_scope.rb +36 -0
- data/lib/tql_otr_factoring_data_exchange/models/oauth_token.rb +96 -0
- data/lib/tql_otr_factoring_data_exchange/models/payment.rb +108 -0
- data/lib/tql_otr_factoring_data_exchange/models/problem_details.rb +96 -0
- data/lib/tql_otr_factoring_data_exchange/models/reference_number_input.rb +109 -0
- data/lib/tql_otr_factoring_data_exchange/models/reference_type.rb +90 -0
- data/lib/tql_otr_factoring_data_exchange/models/status.rb +44 -0
- data/lib/tql_otr_factoring_data_exchange/models/stop_input.rb +121 -0
- data/lib/tql_otr_factoring_data_exchange/models/stop_type.rb +62 -0
- data/lib/tql_otr_factoring_data_exchange/models/submit_invoice_request.rb +326 -0
- data/lib/tql_otr_factoring_data_exchange/models/submit_invoice_response.rb +107 -0
- data/lib/tql_otr_factoring_data_exchange/models/weight_unit.rb +36 -0
- data/lib/tql_otr_factoring_data_exchange/utilities/date_time_helper.rb +11 -0
- data/lib/tql_otr_factoring_data_exchange/utilities/file_wrapper.rb +28 -0
- data/lib/tql_otr_factoring_data_exchange/utilities/union_type_lookup.rb +29 -0
- data/lib/tql_otr_factoring_data_exchange.rb +107 -0
- metadata +160 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# tql_otr_factoring_data_exchange
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by
|
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
require 'date'
|
|
7
|
+
module TqlOtrFactoringDataExchange
|
|
8
|
+
# Acknowledgement that the invoice was accepted for processing.
|
|
9
|
+
class SubmitInvoiceResponse < BaseModel
|
|
10
|
+
SKIP = Object.new
|
|
11
|
+
private_constant :SKIP
|
|
12
|
+
|
|
13
|
+
# The factoring company's invoice number (echoed back).
|
|
14
|
+
# @return [String]
|
|
15
|
+
attr_accessor :invoice_number
|
|
16
|
+
|
|
17
|
+
# Processing and payment status of an invoice. The lifecycle typically
|
|
18
|
+
# flows: `Received` → `Validating` → `Processing` → `Approved` → `NotPaid` →
|
|
19
|
+
# `Paid`. Branches include `AwaitingDocuments`, `PendingExceptions`, and
|
|
20
|
+
# `Rejected`.
|
|
21
|
+
# @return [InvoiceStatus]
|
|
22
|
+
attr_accessor :status
|
|
23
|
+
|
|
24
|
+
# UTC timestamp indicating when the invoice was received.
|
|
25
|
+
# @return [DateTime]
|
|
26
|
+
attr_accessor :received_at
|
|
27
|
+
|
|
28
|
+
# A mapping from model property names to API property names.
|
|
29
|
+
def self.names
|
|
30
|
+
@_hash = {} if @_hash.nil?
|
|
31
|
+
@_hash['invoice_number'] = 'invoiceNumber'
|
|
32
|
+
@_hash['status'] = 'status'
|
|
33
|
+
@_hash['received_at'] = 'receivedAt'
|
|
34
|
+
@_hash
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
# An array for optional fields
|
|
38
|
+
def self.optionals
|
|
39
|
+
%w[
|
|
40
|
+
invoice_number
|
|
41
|
+
status
|
|
42
|
+
received_at
|
|
43
|
+
]
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# An array for nullable fields
|
|
47
|
+
def self.nullables
|
|
48
|
+
[]
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def initialize(invoice_number: SKIP, status: SKIP, received_at: SKIP,
|
|
52
|
+
additional_properties: nil)
|
|
53
|
+
# Add additional model properties to the instance
|
|
54
|
+
additional_properties = {} if additional_properties.nil?
|
|
55
|
+
|
|
56
|
+
@invoice_number = invoice_number unless invoice_number == SKIP
|
|
57
|
+
@status = status unless status == SKIP
|
|
58
|
+
@received_at = received_at unless received_at == SKIP
|
|
59
|
+
@additional_properties = additional_properties
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Creates an instance of the object from a hash.
|
|
63
|
+
def self.from_hash(hash)
|
|
64
|
+
return nil unless hash
|
|
65
|
+
|
|
66
|
+
# Extract variables from the hash.
|
|
67
|
+
invoice_number = hash.key?('invoiceNumber') ? hash['invoiceNumber'] : SKIP
|
|
68
|
+
status = hash.key?('status') ? hash['status'] : SKIP
|
|
69
|
+
received_at = if hash.key?('receivedAt')
|
|
70
|
+
(DateTimeHelper.from_rfc3339(hash['receivedAt']) if hash['receivedAt'])
|
|
71
|
+
else
|
|
72
|
+
SKIP
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
# Create a new hash for additional properties, removing known properties.
|
|
76
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
77
|
+
|
|
78
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
79
|
+
new_hash, proc { |value| value }
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
# Create object from extracted values.
|
|
83
|
+
SubmitInvoiceResponse.new(invoice_number: invoice_number,
|
|
84
|
+
status: status,
|
|
85
|
+
received_at: received_at,
|
|
86
|
+
additional_properties: additional_properties)
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
def to_custom_received_at
|
|
90
|
+
DateTimeHelper.to_rfc3339(received_at)
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
# Provides a human-readable string representation of the object.
|
|
94
|
+
def to_s
|
|
95
|
+
class_name = self.class.name.split('::').last
|
|
96
|
+
"<#{class_name} invoice_number: #{@invoice_number}, status: #{@status}, received_at:"\
|
|
97
|
+
" #{@received_at}, additional_properties: #{@additional_properties}>"
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
101
|
+
def inspect
|
|
102
|
+
class_name = self.class.name.split('::').last
|
|
103
|
+
"<#{class_name} invoice_number: #{@invoice_number.inspect}, status: #{@status.inspect},"\
|
|
104
|
+
" received_at: #{@received_at.inspect}, additional_properties: #{@additional_properties}>"
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# tql_otr_factoring_data_exchange
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by
|
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module TqlOtrFactoringDataExchange
|
|
7
|
+
# Unit of measure for `weight`. Typically LBS or KG.
|
|
8
|
+
class WeightUnit
|
|
9
|
+
WEIGHT_UNIT = [
|
|
10
|
+
# TODO: Write general description for LBS
|
|
11
|
+
LBS = 'LBS'.freeze,
|
|
12
|
+
|
|
13
|
+
# TODO: Write general description for KG
|
|
14
|
+
KG = 'KG'.freeze
|
|
15
|
+
].freeze
|
|
16
|
+
|
|
17
|
+
def self.validate(value)
|
|
18
|
+
return false if value.nil?
|
|
19
|
+
|
|
20
|
+
WEIGHT_UNIT.include?(value)
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def self.from_value(value, default_value = LBS)
|
|
24
|
+
return default_value if value.nil?
|
|
25
|
+
|
|
26
|
+
str = value.to_s.strip
|
|
27
|
+
|
|
28
|
+
case str.downcase
|
|
29
|
+
when 'lbs' then LBS
|
|
30
|
+
when 'kg' then KG
|
|
31
|
+
else
|
|
32
|
+
default_value
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# tql_otr_factoring_data_exchange
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by
|
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
require 'date'
|
|
7
|
+
module TqlOtrFactoringDataExchange
|
|
8
|
+
# A utility that supports dateTime conversion to different formats
|
|
9
|
+
class DateTimeHelper < CoreLibrary::DateTimeHelper
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# tql_otr_factoring_data_exchange
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by
|
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module TqlOtrFactoringDataExchange
|
|
7
|
+
# A utility to allow users to set the content-type for files
|
|
8
|
+
class FileWrapper < CoreLibrary::FileWrapper
|
|
9
|
+
# The constructor.
|
|
10
|
+
# @param [File] file The file to be sent in the request.
|
|
11
|
+
# @param [string] content_type The content type of the provided file.
|
|
12
|
+
def initialize(file, content_type: 'application/octet-stream')
|
|
13
|
+
super
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# Provides a human-readable string representation of the object.
|
|
17
|
+
def to_s
|
|
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
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# tql_otr_factoring_data_exchange
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by
|
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module TqlOtrFactoringDataExchange
|
|
7
|
+
# The `UnionTypeLookUp` class serves as a utility class for
|
|
8
|
+
# storing and managing type combinator templates. It acts as a container for the templates
|
|
9
|
+
# used in handling various oneof/anyof instances within the sdk.
|
|
10
|
+
class UnionTypeLookUp
|
|
11
|
+
include CoreLibrary
|
|
12
|
+
# rubocop:disable Lint/RedundantCopDisableDirective, Style/HashSyntax, Layout/FirstArgumentIndentation
|
|
13
|
+
def self.union_types
|
|
14
|
+
{
|
|
15
|
+
:CarrierInput2 => AnyOf.new(
|
|
16
|
+
[
|
|
17
|
+
LeafType.new(CarrierInput),
|
|
18
|
+
LeafType.new(CarrierInput1)
|
|
19
|
+
]
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
# rubocop:enable Lint/RedundantCopDisableDirective, Style/HashSyntax, Layout/FirstArgumentIndentation
|
|
24
|
+
|
|
25
|
+
def self.get(name)
|
|
26
|
+
UnionTypeLookUp.union_types[name]
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# tql_otr_factoring_data_exchange
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by
|
|
4
|
+
# 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 'tql_otr_factoring_data_exchange/api_helper'
|
|
14
|
+
require_relative 'tql_otr_factoring_data_exchange/client'
|
|
15
|
+
|
|
16
|
+
# Utilities
|
|
17
|
+
require_relative 'tql_otr_factoring_data_exchange/utilities/file_wrapper'
|
|
18
|
+
require_relative 'tql_otr_factoring_data_exchange/utilities/date_time_helper'
|
|
19
|
+
require_relative 'tql_otr_factoring_data_exchange/utilities/union_type_lookup'
|
|
20
|
+
|
|
21
|
+
# Http
|
|
22
|
+
require_relative 'tql_otr_factoring_data_exchange/http/api_response'
|
|
23
|
+
require_relative 'tql_otr_factoring_data_exchange/http/http_call_back'
|
|
24
|
+
require_relative 'tql_otr_factoring_data_exchange/http/http_method_enum'
|
|
25
|
+
require_relative 'tql_otr_factoring_data_exchange/http/http_request'
|
|
26
|
+
require_relative 'tql_otr_factoring_data_exchange/http/http_response'
|
|
27
|
+
require_relative 'tql_otr_factoring_data_exchange/http/proxy_settings'
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# Logger
|
|
31
|
+
require_relative 'tql_otr_factoring_data_exchange/logging/configuration/' \
|
|
32
|
+
'api_logging_configuration'
|
|
33
|
+
require_relative 'tql_otr_factoring_data_exchange/logging/sdk_logger'
|
|
34
|
+
require_relative 'tql_otr_factoring_data_exchange/http/auth/oauth_2'
|
|
35
|
+
|
|
36
|
+
# Models
|
|
37
|
+
require_relative 'tql_otr_factoring_data_exchange/models/base_model'
|
|
38
|
+
require_relative 'tql_otr_factoring_data_exchange/models/charge_code'
|
|
39
|
+
require_relative 'tql_otr_factoring_data_exchange/models/submit_invoice_request'
|
|
40
|
+
require_relative 'tql_otr_factoring_data_exchange/models/' \
|
|
41
|
+
'submit_invoice_response'
|
|
42
|
+
require_relative 'tql_otr_factoring_data_exchange/models/' \
|
|
43
|
+
'invoice_status_response'
|
|
44
|
+
require_relative 'tql_otr_factoring_data_exchange/models/invoice_exception'
|
|
45
|
+
require_relative 'tql_otr_factoring_data_exchange/models/invoice_search_request'
|
|
46
|
+
require_relative 'tql_otr_factoring_data_exchange/models/' \
|
|
47
|
+
'invoice_search_response'
|
|
48
|
+
require_relative 'tql_otr_factoring_data_exchange/models/invoice'
|
|
49
|
+
require_relative 'tql_otr_factoring_data_exchange/models/charge_input'
|
|
50
|
+
require_relative 'tql_otr_factoring_data_exchange/models/invoice_item_input'
|
|
51
|
+
require_relative 'tql_otr_factoring_data_exchange/models/assignment_request'
|
|
52
|
+
require_relative 'tql_otr_factoring_data_exchange/models/assignment_response'
|
|
53
|
+
require_relative 'tql_otr_factoring_data_exchange/models/' \
|
|
54
|
+
'document_upload_metadata'
|
|
55
|
+
require_relative 'tql_otr_factoring_data_exchange/models/' \
|
|
56
|
+
'document_upload_response'
|
|
57
|
+
require_relative 'tql_otr_factoring_data_exchange/models/base64_document'
|
|
58
|
+
require_relative 'tql_otr_factoring_data_exchange/models/' \
|
|
59
|
+
'base64_document_upload_request'
|
|
60
|
+
require_relative 'tql_otr_factoring_data_exchange/models/load_detail'
|
|
61
|
+
require_relative 'tql_otr_factoring_data_exchange/models/load_search_request'
|
|
62
|
+
require_relative 'tql_otr_factoring_data_exchange/models/load_search_response'
|
|
63
|
+
require_relative 'tql_otr_factoring_data_exchange/models/' \
|
|
64
|
+
'factoring_company_input'
|
|
65
|
+
require_relative 'tql_otr_factoring_data_exchange/models/stop_input'
|
|
66
|
+
require_relative 'tql_otr_factoring_data_exchange/models/reference_number_input'
|
|
67
|
+
require_relative 'tql_otr_factoring_data_exchange/models/problem_details'
|
|
68
|
+
require_relative 'tql_otr_factoring_data_exchange/models/carrier'
|
|
69
|
+
require_relative 'tql_otr_factoring_data_exchange/models/carrier1'
|
|
70
|
+
require_relative 'tql_otr_factoring_data_exchange/models/carrier2'
|
|
71
|
+
require_relative 'tql_otr_factoring_data_exchange/models/carrier_input'
|
|
72
|
+
require_relative 'tql_otr_factoring_data_exchange/models/carrier_input1'
|
|
73
|
+
require_relative 'tql_otr_factoring_data_exchange/models/document'
|
|
74
|
+
require_relative 'tql_otr_factoring_data_exchange/models/load'
|
|
75
|
+
require_relative 'tql_otr_factoring_data_exchange/models/location'
|
|
76
|
+
require_relative 'tql_otr_factoring_data_exchange/models/payment'
|
|
77
|
+
require_relative 'tql_otr_factoring_data_exchange/models/oauth_token'
|
|
78
|
+
require_relative 'tql_otr_factoring_data_exchange/models/load_status'
|
|
79
|
+
require_relative 'tql_otr_factoring_data_exchange/models/stop_type'
|
|
80
|
+
require_relative 'tql_otr_factoring_data_exchange/models/reference_type'
|
|
81
|
+
require_relative 'tql_otr_factoring_data_exchange/models/charge_code_origin'
|
|
82
|
+
require_relative 'tql_otr_factoring_data_exchange/models/document_type'
|
|
83
|
+
require_relative 'tql_otr_factoring_data_exchange/models/invoice_status'
|
|
84
|
+
require_relative 'tql_otr_factoring_data_exchange/models/exception_severity'
|
|
85
|
+
require_relative 'tql_otr_factoring_data_exchange/models/invoice_type'
|
|
86
|
+
require_relative 'tql_otr_factoring_data_exchange/models/assignment_status'
|
|
87
|
+
require_relative 'tql_otr_factoring_data_exchange/models/status'
|
|
88
|
+
require_relative 'tql_otr_factoring_data_exchange/models/weight_unit'
|
|
89
|
+
require_relative 'tql_otr_factoring_data_exchange/models/oauth_provider_error'
|
|
90
|
+
require_relative 'tql_otr_factoring_data_exchange/models/oauth_scope'
|
|
91
|
+
|
|
92
|
+
# Exceptions
|
|
93
|
+
require_relative 'tql_otr_factoring_data_exchange/exceptions/api_exception'
|
|
94
|
+
require_relative 'tql_otr_factoring_data_exchange/exceptions/' \
|
|
95
|
+
'problem_details_error_exception'
|
|
96
|
+
require_relative 'tql_otr_factoring_data_exchange/exceptions/' \
|
|
97
|
+
'oauth_provider_exception'
|
|
98
|
+
|
|
99
|
+
require_relative 'tql_otr_factoring_data_exchange/configuration'
|
|
100
|
+
|
|
101
|
+
# Controllers
|
|
102
|
+
require_relative 'tql_otr_factoring_data_exchange/apis/base_api'
|
|
103
|
+
require_relative 'tql_otr_factoring_data_exchange/apis/invoices_api'
|
|
104
|
+
require_relative 'tql_otr_factoring_data_exchange/apis/documents_api'
|
|
105
|
+
require_relative 'tql_otr_factoring_data_exchange/apis/assignments_api'
|
|
106
|
+
require_relative 'tql_otr_factoring_data_exchange/apis/loads_api'
|
|
107
|
+
require_relative 'tql_otr_factoring_data_exchange/apis/oauth_authorization_api'
|
metadata
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: apimatic-tql-sdk
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.0.1
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- developer sdksio
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-06-11 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: apimatic_core_interfaces
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: 0.2.3
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - "~>"
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: 0.2.3
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: apimatic_core
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: 0.3.20
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: 0.3.20
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: apimatic_faraday_client_adapter
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: 0.1.6
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: 0.1.6
|
|
55
|
+
description: this is a sample SDK generated by APIMatic
|
|
56
|
+
email:
|
|
57
|
+
- developer+sdksio@apimatic.io
|
|
58
|
+
executables: []
|
|
59
|
+
extensions: []
|
|
60
|
+
extra_rdoc_files: []
|
|
61
|
+
files:
|
|
62
|
+
- LICENSE
|
|
63
|
+
- README.md
|
|
64
|
+
- bin/console
|
|
65
|
+
- lib/tql_otr_factoring_data_exchange.rb
|
|
66
|
+
- lib/tql_otr_factoring_data_exchange/api_helper.rb
|
|
67
|
+
- lib/tql_otr_factoring_data_exchange/apis/assignments_api.rb
|
|
68
|
+
- lib/tql_otr_factoring_data_exchange/apis/base_api.rb
|
|
69
|
+
- lib/tql_otr_factoring_data_exchange/apis/documents_api.rb
|
|
70
|
+
- lib/tql_otr_factoring_data_exchange/apis/invoices_api.rb
|
|
71
|
+
- lib/tql_otr_factoring_data_exchange/apis/loads_api.rb
|
|
72
|
+
- lib/tql_otr_factoring_data_exchange/apis/oauth_authorization_api.rb
|
|
73
|
+
- lib/tql_otr_factoring_data_exchange/client.rb
|
|
74
|
+
- lib/tql_otr_factoring_data_exchange/configuration.rb
|
|
75
|
+
- lib/tql_otr_factoring_data_exchange/exceptions/api_exception.rb
|
|
76
|
+
- lib/tql_otr_factoring_data_exchange/exceptions/oauth_provider_exception.rb
|
|
77
|
+
- lib/tql_otr_factoring_data_exchange/exceptions/problem_details_error_exception.rb
|
|
78
|
+
- lib/tql_otr_factoring_data_exchange/http/api_response.rb
|
|
79
|
+
- lib/tql_otr_factoring_data_exchange/http/auth/oauth_2.rb
|
|
80
|
+
- lib/tql_otr_factoring_data_exchange/http/http_call_back.rb
|
|
81
|
+
- lib/tql_otr_factoring_data_exchange/http/http_method_enum.rb
|
|
82
|
+
- lib/tql_otr_factoring_data_exchange/http/http_request.rb
|
|
83
|
+
- lib/tql_otr_factoring_data_exchange/http/http_response.rb
|
|
84
|
+
- lib/tql_otr_factoring_data_exchange/http/proxy_settings.rb
|
|
85
|
+
- lib/tql_otr_factoring_data_exchange/logging/configuration/api_logging_configuration.rb
|
|
86
|
+
- lib/tql_otr_factoring_data_exchange/logging/sdk_logger.rb
|
|
87
|
+
- lib/tql_otr_factoring_data_exchange/models/assignment_request.rb
|
|
88
|
+
- lib/tql_otr_factoring_data_exchange/models/assignment_response.rb
|
|
89
|
+
- lib/tql_otr_factoring_data_exchange/models/assignment_status.rb
|
|
90
|
+
- lib/tql_otr_factoring_data_exchange/models/base64_document.rb
|
|
91
|
+
- lib/tql_otr_factoring_data_exchange/models/base64_document_upload_request.rb
|
|
92
|
+
- lib/tql_otr_factoring_data_exchange/models/base_model.rb
|
|
93
|
+
- lib/tql_otr_factoring_data_exchange/models/carrier.rb
|
|
94
|
+
- lib/tql_otr_factoring_data_exchange/models/carrier1.rb
|
|
95
|
+
- lib/tql_otr_factoring_data_exchange/models/carrier2.rb
|
|
96
|
+
- lib/tql_otr_factoring_data_exchange/models/carrier_input.rb
|
|
97
|
+
- lib/tql_otr_factoring_data_exchange/models/carrier_input1.rb
|
|
98
|
+
- lib/tql_otr_factoring_data_exchange/models/charge_code.rb
|
|
99
|
+
- lib/tql_otr_factoring_data_exchange/models/charge_code_origin.rb
|
|
100
|
+
- lib/tql_otr_factoring_data_exchange/models/charge_input.rb
|
|
101
|
+
- lib/tql_otr_factoring_data_exchange/models/document.rb
|
|
102
|
+
- lib/tql_otr_factoring_data_exchange/models/document_type.rb
|
|
103
|
+
- lib/tql_otr_factoring_data_exchange/models/document_upload_metadata.rb
|
|
104
|
+
- lib/tql_otr_factoring_data_exchange/models/document_upload_response.rb
|
|
105
|
+
- lib/tql_otr_factoring_data_exchange/models/exception_severity.rb
|
|
106
|
+
- lib/tql_otr_factoring_data_exchange/models/factoring_company_input.rb
|
|
107
|
+
- lib/tql_otr_factoring_data_exchange/models/invoice.rb
|
|
108
|
+
- lib/tql_otr_factoring_data_exchange/models/invoice_exception.rb
|
|
109
|
+
- lib/tql_otr_factoring_data_exchange/models/invoice_item_input.rb
|
|
110
|
+
- lib/tql_otr_factoring_data_exchange/models/invoice_search_request.rb
|
|
111
|
+
- lib/tql_otr_factoring_data_exchange/models/invoice_search_response.rb
|
|
112
|
+
- lib/tql_otr_factoring_data_exchange/models/invoice_status.rb
|
|
113
|
+
- lib/tql_otr_factoring_data_exchange/models/invoice_status_response.rb
|
|
114
|
+
- lib/tql_otr_factoring_data_exchange/models/invoice_type.rb
|
|
115
|
+
- lib/tql_otr_factoring_data_exchange/models/load.rb
|
|
116
|
+
- lib/tql_otr_factoring_data_exchange/models/load_detail.rb
|
|
117
|
+
- lib/tql_otr_factoring_data_exchange/models/load_search_request.rb
|
|
118
|
+
- lib/tql_otr_factoring_data_exchange/models/load_search_response.rb
|
|
119
|
+
- lib/tql_otr_factoring_data_exchange/models/load_status.rb
|
|
120
|
+
- lib/tql_otr_factoring_data_exchange/models/location.rb
|
|
121
|
+
- lib/tql_otr_factoring_data_exchange/models/oauth_provider_error.rb
|
|
122
|
+
- lib/tql_otr_factoring_data_exchange/models/oauth_scope.rb
|
|
123
|
+
- lib/tql_otr_factoring_data_exchange/models/oauth_token.rb
|
|
124
|
+
- lib/tql_otr_factoring_data_exchange/models/payment.rb
|
|
125
|
+
- lib/tql_otr_factoring_data_exchange/models/problem_details.rb
|
|
126
|
+
- lib/tql_otr_factoring_data_exchange/models/reference_number_input.rb
|
|
127
|
+
- lib/tql_otr_factoring_data_exchange/models/reference_type.rb
|
|
128
|
+
- lib/tql_otr_factoring_data_exchange/models/status.rb
|
|
129
|
+
- lib/tql_otr_factoring_data_exchange/models/stop_input.rb
|
|
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
|
|
137
|
+
homepage: https://apimatic.io
|
|
138
|
+
licenses:
|
|
139
|
+
- MIT
|
|
140
|
+
metadata: {}
|
|
141
|
+
post_install_message:
|
|
142
|
+
rdoc_options: []
|
|
143
|
+
require_paths:
|
|
144
|
+
- lib
|
|
145
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
146
|
+
requirements:
|
|
147
|
+
- - ">="
|
|
148
|
+
- !ruby/object:Gem::Version
|
|
149
|
+
version: '2.6'
|
|
150
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
|
+
requirements:
|
|
152
|
+
- - ">="
|
|
153
|
+
- !ruby/object:Gem::Version
|
|
154
|
+
version: '0'
|
|
155
|
+
requirements: []
|
|
156
|
+
rubygems_version: 3.1.6
|
|
157
|
+
signing_key:
|
|
158
|
+
specification_version: 4
|
|
159
|
+
summary: this is a sample SDK generated by APIMatic
|
|
160
|
+
test_files: []
|