telnyx 5.156.0 → 5.157.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/telnyx/models/ai/anthropic/v1_messages_params.rb +209 -0
- data/lib/telnyx/models/ai/anthropic/v1_messages_response.rb +12 -0
- data/lib/telnyx/models/ai/assistant_create_params.rb +2 -2
- data/lib/telnyx/models/ai/assistant_tool.rb +25 -1
- data/lib/telnyx/models/ai/assistant_update_params.rb +2 -2
- data/lib/telnyx/models/ai/assistants/update_assistant.rb +2 -2
- data/lib/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_params.rb +103 -0
- data/lib/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_response.rb +54 -0
- data/lib/telnyx/models/ai/inference_embedding.rb +6 -6
- data/lib/telnyx/models/ai/pay_tool_params.rb +46 -0
- data/lib/telnyx/models/ai/tool_create_params.rb +7 -1
- data/lib/telnyx/models/ai/tool_update_params.rb +7 -1
- data/lib/telnyx/models/ai/transcription_settings.rb +3 -3
- data/lib/telnyx/models/call_dial_params.rb +13 -1
- data/lib/telnyx/models/calls/transcription_config.rb +8 -4
- data/lib/telnyx/models/calls/transcription_engine_parakeet_config.rb +1 -1
- data/lib/telnyx/models/doc_reqs_requirement.rb +29 -4
- data/lib/telnyx/models/inbound_message.rb +278 -28
- data/lib/telnyx/models/inbound_message_webhook_event.rb +70 -3
- data/lib/telnyx/models/managed_account_list_params.rb +45 -3
- data/lib/telnyx/models/requirement_list_params.rb +10 -1
- data/lib/telnyx/models/requirement_retrieve_params.rb +14 -1
- data/lib/telnyx/models/speech_to_text_retrieve_transcription_params.rb +1 -1
- data/lib/telnyx/models/storage/cloudf_create_params.rb +56 -0
- data/lib/telnyx/models/storage/cloudf_delete_params.rb +22 -0
- data/lib/telnyx/models/storage/cloudf_list_params.rb +109 -0
- data/lib/telnyx/models/storage/cloudf_list_response.rb +165 -0
- data/lib/telnyx/models/storage/cloudf_retrieve_params.rb +22 -0
- data/lib/telnyx/models/storage/cloudf_update_params.rb +36 -0
- data/lib/telnyx/models/storage/cloudfs/action_rotate_meta_token_params.rb +30 -0
- data/lib/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rb +129 -0
- data/lib/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rb +129 -0
- data/lib/telnyx/models/storage/cloudfs_filesystem_status.rb +28 -0
- data/lib/telnyx/models/verify_profile.rb +2 -2
- data/lib/telnyx/models/verify_profile_create_params.rb +2 -2
- data/lib/telnyx/models/verify_profile_update_params.rb +2 -2
- data/lib/telnyx/resources/ai/anthropic/v1.rb +91 -0
- data/lib/telnyx/resources/ai/anthropic.rb +20 -0
- data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
- data/lib/telnyx/resources/ai/assistants.rb +2 -2
- data/lib/telnyx/resources/ai/conversations/conversation_insights.rb +55 -0
- data/lib/telnyx/resources/ai/conversations.rb +5 -0
- data/lib/telnyx/resources/ai/tools.rb +5 -2
- data/lib/telnyx/resources/ai.rb +4 -0
- data/lib/telnyx/resources/calls.rb +3 -1
- data/lib/telnyx/resources/requirements.rb +13 -3
- data/lib/telnyx/resources/storage/cloudfs/actions.rb +54 -0
- data/lib/telnyx/resources/storage/cloudfs.rb +187 -0
- data/lib/telnyx/resources/storage.rb +6 -0
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +20 -0
- data/rbi/telnyx/models/ai/anthropic/v1_messages_params.rbi +314 -0
- data/rbi/telnyx/models/ai/anthropic/v1_messages_response.rbi +15 -0
- data/rbi/telnyx/models/ai/assistant_create_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistant_tool.rbi +37 -1
- data/rbi/telnyx/models/ai/assistant_update_params.rbi +8 -4
- data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +8 -4
- data/rbi/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_params.rbi +188 -0
- data/rbi/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_response.rbi +94 -0
- data/rbi/telnyx/models/ai/inference_embedding.rbi +12 -6
- data/rbi/telnyx/models/ai/pay_tool_params.rbi +71 -0
- data/rbi/telnyx/models/ai/tool_create_params.rbi +9 -0
- data/rbi/telnyx/models/ai/tool_update_params.rbi +9 -0
- data/rbi/telnyx/models/ai/transcription_settings.rbi +5 -5
- data/rbi/telnyx/models/call_dial_params.rbi +19 -0
- data/rbi/telnyx/models/calls/transcription_config.rbi +15 -7
- data/rbi/telnyx/models/calls/transcription_engine_parakeet_config.rbi +2 -2
- data/rbi/telnyx/models/doc_reqs_requirement.rbi +38 -9
- data/rbi/telnyx/models/inbound_message.rbi +324 -58
- data/rbi/telnyx/models/inbound_message_webhook_event.rbi +173 -4
- data/rbi/telnyx/models/managed_account_list_params.rbi +130 -6
- data/rbi/telnyx/models/requirement_list_params.rbi +13 -0
- data/rbi/telnyx/models/requirement_retrieve_params.rbi +21 -2
- data/rbi/telnyx/models/speech_to_text_retrieve_transcription_params.rbi +2 -2
- data/rbi/telnyx/models/storage/cloudf_create_params.rbi +103 -0
- data/rbi/telnyx/models/storage/cloudf_delete_params.rbi +40 -0
- data/rbi/telnyx/models/storage/cloudf_list_params.rbi +232 -0
- data/rbi/telnyx/models/storage/cloudf_list_response.rbi +327 -0
- data/rbi/telnyx/models/storage/cloudf_retrieve_params.rbi +40 -0
- data/rbi/telnyx/models/storage/cloudf_update_params.rbi +61 -0
- data/rbi/telnyx/models/storage/cloudfs/action_rotate_meta_token_params.rbi +50 -0
- data/rbi/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rbi +229 -0
- data/rbi/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rbi +227 -0
- data/rbi/telnyx/models/storage/cloudfs_filesystem_status.rbi +57 -0
- data/rbi/telnyx/models/verify_profile.rbi +2 -2
- data/rbi/telnyx/models/verify_profile_create_params.rbi +2 -2
- data/rbi/telnyx/models/verify_profile_update_params.rbi +2 -2
- data/rbi/telnyx/resources/ai/anthropic/v1.rbi +106 -0
- data/rbi/telnyx/resources/ai/anthropic.rbi +17 -0
- data/rbi/telnyx/resources/ai/assistants/versions.rbi +2 -1
- data/rbi/telnyx/resources/ai/assistants.rbi +4 -2
- data/rbi/telnyx/resources/ai/conversations/conversation_insights.rbi +68 -0
- data/rbi/telnyx/resources/ai/conversations.rbi +6 -0
- data/rbi/telnyx/resources/ai/tools.rbi +4 -0
- data/rbi/telnyx/resources/ai.rbi +3 -0
- data/rbi/telnyx/resources/calls.rbi +7 -0
- data/rbi/telnyx/resources/managed_accounts.rbi +1 -1
- data/rbi/telnyx/resources/requirements.rbi +8 -0
- data/rbi/telnyx/resources/storage/cloudfs/actions.rbi +46 -0
- data/rbi/telnyx/resources/storage/cloudfs.rbi +152 -0
- data/rbi/telnyx/resources/storage.rbi +5 -0
- data/sig/telnyx/models/ai/anthropic/v1_messages_params.rbs +175 -0
- data/sig/telnyx/models/ai/anthropic/v1_messages_response.rbs +11 -0
- data/sig/telnyx/models/ai/assistant_tool.rbs +13 -0
- data/sig/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_params.rbs +74 -0
- data/sig/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_response.rbs +34 -0
- data/sig/telnyx/models/ai/pay_tool_params.rbs +41 -0
- data/sig/telnyx/models/ai/tool_create_params.rbs +7 -0
- data/sig/telnyx/models/ai/tool_update_params.rbs +7 -0
- data/sig/telnyx/models/ai/transcription_settings.rbs +2 -2
- data/sig/telnyx/models/call_dial_params.rbs +7 -0
- data/sig/telnyx/models/calls/transcription_config.rbs +2 -2
- data/sig/telnyx/models/calls/transcription_engine_parakeet_config.rbs +2 -2
- data/sig/telnyx/models/doc_reqs_requirement.rbs +25 -8
- data/sig/telnyx/models/inbound_message.rbs +204 -35
- data/sig/telnyx/models/inbound_message_webhook_event.rbs +81 -5
- data/sig/telnyx/models/managed_account_list_params.rbs +47 -3
- data/sig/telnyx/models/requirement_list_params.rbs +8 -1
- data/sig/telnyx/models/requirement_retrieve_params.rbs +12 -2
- data/sig/telnyx/models/speech_to_text_retrieve_transcription_params.rbs +2 -2
- data/sig/telnyx/models/storage/cloudf_create_params.rbs +50 -0
- data/sig/telnyx/models/storage/cloudf_delete_params.rbs +22 -0
- data/sig/telnyx/models/storage/cloudf_list_params.rbs +112 -0
- data/sig/telnyx/models/storage/cloudf_list_response.rbs +163 -0
- data/sig/telnyx/models/storage/cloudf_retrieve_params.rbs +22 -0
- data/sig/telnyx/models/storage/cloudf_update_params.rbs +32 -0
- data/sig/telnyx/models/storage/cloudfs/action_rotate_meta_token_params.rbs +32 -0
- data/sig/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rbs +115 -0
- data/sig/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rbs +115 -0
- data/sig/telnyx/models/storage/cloudfs_filesystem_status.rbs +21 -0
- data/sig/telnyx/resources/ai/anthropic/v1.rbs +35 -0
- data/sig/telnyx/resources/ai/anthropic.rbs +11 -0
- data/sig/telnyx/resources/ai/conversations/conversation_insights.rbs +20 -0
- data/sig/telnyx/resources/ai/conversations.rbs +2 -0
- data/sig/telnyx/resources/ai/tools.rbs +2 -0
- data/sig/telnyx/resources/ai.rbs +2 -0
- data/sig/telnyx/resources/calls.rbs +1 -0
- data/sig/telnyx/resources/requirements.rbs +2 -0
- data/sig/telnyx/resources/storage/cloudfs/actions.rbs +17 -0
- data/sig/telnyx/resources/storage/cloudfs.rbs +45 -0
- data/sig/telnyx/resources/storage.rbs +2 -0
- metadata +62 -2
|
@@ -131,7 +131,7 @@ module Telnyx
|
|
|
131
131
|
| :"xai/grok-stt"
|
|
132
132
|
| :"speechmatics/standard"
|
|
133
133
|
| :"soniox/stt-rt-v4"
|
|
134
|
-
| :"parakeet
|
|
134
|
+
| :"nvidia/parakeet-v3"
|
|
135
135
|
|
|
136
136
|
module Model
|
|
137
137
|
extend Telnyx::Internal::Type::Enum
|
|
@@ -152,7 +152,7 @@ module Telnyx
|
|
|
152
152
|
XAI_GROK_STT: :"xai/grok-stt"
|
|
153
153
|
SPEECHMATICS_STANDARD: :"speechmatics/standard"
|
|
154
154
|
SONIOX_STT_RT_V4: :"soniox/stt-rt-v4"
|
|
155
|
-
|
|
155
|
+
NVIDIA_PARAKEET_V3: :"nvidia/parakeet-v3"
|
|
156
156
|
|
|
157
157
|
def self?.values: -> ::Array[Telnyx::Models::SpeechToTextRetrieveTranscriptionParams::model]
|
|
158
158
|
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Storage
|
|
4
|
+
type cloudf_create_params =
|
|
5
|
+
{
|
|
6
|
+
name: String,
|
|
7
|
+
region: Telnyx::Models::Storage::CloudfCreateParams::region,
|
|
8
|
+
idempotency_key: String
|
|
9
|
+
}
|
|
10
|
+
& Telnyx::Internal::Type::request_parameters
|
|
11
|
+
|
|
12
|
+
class CloudfCreateParams < Telnyx::Internal::Type::BaseModel
|
|
13
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
attr_accessor name: String
|
|
17
|
+
|
|
18
|
+
attr_accessor region: Telnyx::Models::Storage::CloudfCreateParams::region
|
|
19
|
+
|
|
20
|
+
attr_accessor idempotency_key: String
|
|
21
|
+
|
|
22
|
+
def initialize: (
|
|
23
|
+
name: String,
|
|
24
|
+
region: Telnyx::Models::Storage::CloudfCreateParams::region,
|
|
25
|
+
idempotency_key: String,
|
|
26
|
+
?request_options: Telnyx::request_opts
|
|
27
|
+
) -> void
|
|
28
|
+
|
|
29
|
+
def to_hash: -> {
|
|
30
|
+
name: String,
|
|
31
|
+
region: Telnyx::Models::Storage::CloudfCreateParams::region,
|
|
32
|
+
idempotency_key: String,
|
|
33
|
+
request_options: Telnyx::RequestOptions
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
type region = :"us-central-1" | :"us-east-1" | :"us-west-1"
|
|
37
|
+
|
|
38
|
+
module Region
|
|
39
|
+
extend Telnyx::Internal::Type::Enum
|
|
40
|
+
|
|
41
|
+
US_CENTRAL_1: :"us-central-1"
|
|
42
|
+
US_EAST_1: :"us-east-1"
|
|
43
|
+
US_WEST_1: :"us-west-1"
|
|
44
|
+
|
|
45
|
+
def self?.values: -> ::Array[Telnyx::Models::Storage::CloudfCreateParams::region]
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Storage
|
|
4
|
+
type cloudf_delete_params =
|
|
5
|
+
{ id: String } & Telnyx::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class CloudfDeleteParams < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
id: String,
|
|
15
|
+
?request_options: Telnyx::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> { id: String, request_options: Telnyx::RequestOptions }
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Storage
|
|
4
|
+
type cloudf_list_params =
|
|
5
|
+
{
|
|
6
|
+
filter_name: String,
|
|
7
|
+
filter_region: String,
|
|
8
|
+
filter_status: Telnyx::Models::Storage::CloudfListParams::filter_status,
|
|
9
|
+
page_after: String,
|
|
10
|
+
page_before: String,
|
|
11
|
+
page_limit: Integer,
|
|
12
|
+
sort: Telnyx::Models::Storage::CloudfListParams::sort
|
|
13
|
+
}
|
|
14
|
+
& Telnyx::Internal::Type::request_parameters
|
|
15
|
+
|
|
16
|
+
class CloudfListParams < Telnyx::Internal::Type::BaseModel
|
|
17
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
18
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
19
|
+
|
|
20
|
+
attr_reader filter_name: String?
|
|
21
|
+
|
|
22
|
+
def filter_name=: (String) -> String
|
|
23
|
+
|
|
24
|
+
attr_reader filter_region: String?
|
|
25
|
+
|
|
26
|
+
def filter_region=: (String) -> String
|
|
27
|
+
|
|
28
|
+
attr_reader filter_status: Telnyx::Models::Storage::CloudfListParams::filter_status?
|
|
29
|
+
|
|
30
|
+
def filter_status=: (
|
|
31
|
+
Telnyx::Models::Storage::CloudfListParams::filter_status
|
|
32
|
+
) -> Telnyx::Models::Storage::CloudfListParams::filter_status
|
|
33
|
+
|
|
34
|
+
attr_reader page_after: String?
|
|
35
|
+
|
|
36
|
+
def page_after=: (String) -> String
|
|
37
|
+
|
|
38
|
+
attr_reader page_before: String?
|
|
39
|
+
|
|
40
|
+
def page_before=: (String) -> String
|
|
41
|
+
|
|
42
|
+
attr_reader page_limit: Integer?
|
|
43
|
+
|
|
44
|
+
def page_limit=: (Integer) -> Integer
|
|
45
|
+
|
|
46
|
+
attr_reader sort: Telnyx::Models::Storage::CloudfListParams::sort?
|
|
47
|
+
|
|
48
|
+
def sort=: (
|
|
49
|
+
Telnyx::Models::Storage::CloudfListParams::sort
|
|
50
|
+
) -> Telnyx::Models::Storage::CloudfListParams::sort
|
|
51
|
+
|
|
52
|
+
def initialize: (
|
|
53
|
+
?filter_name: String,
|
|
54
|
+
?filter_region: String,
|
|
55
|
+
?filter_status: Telnyx::Models::Storage::CloudfListParams::filter_status,
|
|
56
|
+
?page_after: String,
|
|
57
|
+
?page_before: String,
|
|
58
|
+
?page_limit: Integer,
|
|
59
|
+
?sort: Telnyx::Models::Storage::CloudfListParams::sort,
|
|
60
|
+
?request_options: Telnyx::request_opts
|
|
61
|
+
) -> void
|
|
62
|
+
|
|
63
|
+
def to_hash: -> {
|
|
64
|
+
filter_name: String,
|
|
65
|
+
filter_region: String,
|
|
66
|
+
filter_status: Telnyx::Models::Storage::CloudfListParams::filter_status,
|
|
67
|
+
page_after: String,
|
|
68
|
+
page_before: String,
|
|
69
|
+
page_limit: Integer,
|
|
70
|
+
sort: Telnyx::Models::Storage::CloudfListParams::sort,
|
|
71
|
+
request_options: Telnyx::RequestOptions
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
type filter_status =
|
|
75
|
+
:provisioning | :ready | :needs_format | :deleting | :failed
|
|
76
|
+
|
|
77
|
+
module FilterStatus
|
|
78
|
+
extend Telnyx::Internal::Type::Enum
|
|
79
|
+
|
|
80
|
+
PROVISIONING: :provisioning
|
|
81
|
+
READY: :ready
|
|
82
|
+
NEEDS_FORMAT: :needs_format
|
|
83
|
+
DELETING: :deleting
|
|
84
|
+
FAILED: :failed
|
|
85
|
+
|
|
86
|
+
def self?.values: -> ::Array[Telnyx::Models::Storage::CloudfListParams::filter_status]
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
type sort =
|
|
90
|
+
:created_at
|
|
91
|
+
| :"-created_at"
|
|
92
|
+
| :updated_at
|
|
93
|
+
| :"-updated_at"
|
|
94
|
+
| :name
|
|
95
|
+
| :"-name"
|
|
96
|
+
|
|
97
|
+
module Sort
|
|
98
|
+
extend Telnyx::Internal::Type::Enum
|
|
99
|
+
|
|
100
|
+
CREATED_AT: :created_at
|
|
101
|
+
CREATED_AT_DESC: :"-created_at"
|
|
102
|
+
UPDATED_AT: :updated_at
|
|
103
|
+
UPDATED_AT_DESC: :"-updated_at"
|
|
104
|
+
NAME: :name
|
|
105
|
+
NAME_DESC: :"-name"
|
|
106
|
+
|
|
107
|
+
def self?.values: -> ::Array[Telnyx::Models::Storage::CloudfListParams::sort]
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Storage
|
|
4
|
+
type cloudf_list_response =
|
|
5
|
+
{
|
|
6
|
+
data: ::Array[Telnyx::Models::Storage::CloudfListResponse::Data],
|
|
7
|
+
meta: Telnyx::Models::Storage::CloudfListResponse::Meta
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class CloudfListResponse < Telnyx::Internal::Type::BaseModel
|
|
11
|
+
attr_reader data: ::Array[Telnyx::Models::Storage::CloudfListResponse::Data]?
|
|
12
|
+
|
|
13
|
+
def data=: (
|
|
14
|
+
::Array[Telnyx::Models::Storage::CloudfListResponse::Data]
|
|
15
|
+
) -> ::Array[Telnyx::Models::Storage::CloudfListResponse::Data]
|
|
16
|
+
|
|
17
|
+
attr_reader meta: Telnyx::Models::Storage::CloudfListResponse::Meta?
|
|
18
|
+
|
|
19
|
+
def meta=: (
|
|
20
|
+
Telnyx::Models::Storage::CloudfListResponse::Meta
|
|
21
|
+
) -> Telnyx::Models::Storage::CloudfListResponse::Meta
|
|
22
|
+
|
|
23
|
+
def initialize: (
|
|
24
|
+
?data: ::Array[Telnyx::Models::Storage::CloudfListResponse::Data],
|
|
25
|
+
?meta: Telnyx::Models::Storage::CloudfListResponse::Meta
|
|
26
|
+
) -> void
|
|
27
|
+
|
|
28
|
+
def to_hash: -> {
|
|
29
|
+
data: ::Array[Telnyx::Models::Storage::CloudfListResponse::Data],
|
|
30
|
+
meta: Telnyx::Models::Storage::CloudfListResponse::Meta
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
type data =
|
|
34
|
+
{
|
|
35
|
+
id: String,
|
|
36
|
+
created_at: Time,
|
|
37
|
+
name: String,
|
|
38
|
+
record_type: String,
|
|
39
|
+
region: String,
|
|
40
|
+
:s3_bucket => String,
|
|
41
|
+
:s3_endpoint => String,
|
|
42
|
+
status: Telnyx::Models::Storage::cloudfs_filesystem_status,
|
|
43
|
+
updated_at: Time
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
47
|
+
attr_reader id: String?
|
|
48
|
+
|
|
49
|
+
def id=: (String) -> String
|
|
50
|
+
|
|
51
|
+
attr_reader created_at: Time?
|
|
52
|
+
|
|
53
|
+
def created_at=: (Time) -> Time
|
|
54
|
+
|
|
55
|
+
attr_reader name: String?
|
|
56
|
+
|
|
57
|
+
def name=: (String) -> String
|
|
58
|
+
|
|
59
|
+
attr_reader record_type: String?
|
|
60
|
+
|
|
61
|
+
def record_type=: (String) -> String
|
|
62
|
+
|
|
63
|
+
attr_reader region: String?
|
|
64
|
+
|
|
65
|
+
def region=: (String) -> String
|
|
66
|
+
|
|
67
|
+
attr_reader s3_bucket: String?
|
|
68
|
+
|
|
69
|
+
def s3_bucket=: (String) -> String
|
|
70
|
+
|
|
71
|
+
attr_reader s3_endpoint: String?
|
|
72
|
+
|
|
73
|
+
def s3_endpoint=: (String) -> String
|
|
74
|
+
|
|
75
|
+
attr_reader status: Telnyx::Models::Storage::cloudfs_filesystem_status?
|
|
76
|
+
|
|
77
|
+
def status=: (
|
|
78
|
+
Telnyx::Models::Storage::cloudfs_filesystem_status
|
|
79
|
+
) -> Telnyx::Models::Storage::cloudfs_filesystem_status
|
|
80
|
+
|
|
81
|
+
attr_reader updated_at: Time?
|
|
82
|
+
|
|
83
|
+
def updated_at=: (Time) -> Time
|
|
84
|
+
|
|
85
|
+
def initialize: (
|
|
86
|
+
?id: String,
|
|
87
|
+
?created_at: Time,
|
|
88
|
+
?name: String,
|
|
89
|
+
?record_type: String,
|
|
90
|
+
?region: String,
|
|
91
|
+
?s3_bucket: String,
|
|
92
|
+
?s3_endpoint: String,
|
|
93
|
+
?status: Telnyx::Models::Storage::cloudfs_filesystem_status,
|
|
94
|
+
?updated_at: Time
|
|
95
|
+
) -> void
|
|
96
|
+
|
|
97
|
+
def to_hash: -> {
|
|
98
|
+
id: String,
|
|
99
|
+
created_at: Time,
|
|
100
|
+
name: String,
|
|
101
|
+
record_type: String,
|
|
102
|
+
region: String,
|
|
103
|
+
:s3_bucket => String,
|
|
104
|
+
:s3_endpoint => String,
|
|
105
|
+
status: Telnyx::Models::Storage::cloudfs_filesystem_status,
|
|
106
|
+
updated_at: Time
|
|
107
|
+
}
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
type meta =
|
|
111
|
+
{
|
|
112
|
+
cursors: Telnyx::Models::Storage::CloudfListResponse::Meta::Cursors,
|
|
113
|
+
next_: String,
|
|
114
|
+
previous: String
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
class Meta < Telnyx::Internal::Type::BaseModel
|
|
118
|
+
attr_reader cursors: Telnyx::Models::Storage::CloudfListResponse::Meta::Cursors?
|
|
119
|
+
|
|
120
|
+
def cursors=: (
|
|
121
|
+
Telnyx::Models::Storage::CloudfListResponse::Meta::Cursors
|
|
122
|
+
) -> Telnyx::Models::Storage::CloudfListResponse::Meta::Cursors
|
|
123
|
+
|
|
124
|
+
attr_reader next_: String?
|
|
125
|
+
|
|
126
|
+
def next_=: (String) -> String
|
|
127
|
+
|
|
128
|
+
attr_reader previous: String?
|
|
129
|
+
|
|
130
|
+
def previous=: (String) -> String
|
|
131
|
+
|
|
132
|
+
def initialize: (
|
|
133
|
+
?cursors: Telnyx::Models::Storage::CloudfListResponse::Meta::Cursors,
|
|
134
|
+
?next_: String,
|
|
135
|
+
?previous: String
|
|
136
|
+
) -> void
|
|
137
|
+
|
|
138
|
+
def to_hash: -> {
|
|
139
|
+
cursors: Telnyx::Models::Storage::CloudfListResponse::Meta::Cursors,
|
|
140
|
+
next_: String,
|
|
141
|
+
previous: String
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
type cursors = { after: String, before: String }
|
|
145
|
+
|
|
146
|
+
class Cursors < Telnyx::Internal::Type::BaseModel
|
|
147
|
+
attr_reader after: String?
|
|
148
|
+
|
|
149
|
+
def after=: (String) -> String
|
|
150
|
+
|
|
151
|
+
attr_reader before: String?
|
|
152
|
+
|
|
153
|
+
def before=: (String) -> String
|
|
154
|
+
|
|
155
|
+
def initialize: (?after: String, ?before: String) -> void
|
|
156
|
+
|
|
157
|
+
def to_hash: -> { after: String, before: String }
|
|
158
|
+
end
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Storage
|
|
4
|
+
type cloudf_retrieve_params =
|
|
5
|
+
{ id: String } & Telnyx::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class CloudfRetrieveParams < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor id: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
id: String,
|
|
15
|
+
?request_options: Telnyx::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> { id: String, request_options: Telnyx::RequestOptions }
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Storage
|
|
4
|
+
type cloudf_update_params =
|
|
5
|
+
{ id: String, name: String }
|
|
6
|
+
& Telnyx::Internal::Type::request_parameters
|
|
7
|
+
|
|
8
|
+
class CloudfUpdateParams < Telnyx::Internal::Type::BaseModel
|
|
9
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
attr_accessor id: String
|
|
13
|
+
|
|
14
|
+
attr_reader name: String?
|
|
15
|
+
|
|
16
|
+
def name=: (String) -> String
|
|
17
|
+
|
|
18
|
+
def initialize: (
|
|
19
|
+
id: String,
|
|
20
|
+
?name: String,
|
|
21
|
+
?request_options: Telnyx::request_opts
|
|
22
|
+
) -> void
|
|
23
|
+
|
|
24
|
+
def to_hash: -> {
|
|
25
|
+
id: String,
|
|
26
|
+
name: String,
|
|
27
|
+
request_options: Telnyx::RequestOptions
|
|
28
|
+
}
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Storage
|
|
4
|
+
module Cloudfs
|
|
5
|
+
type action_rotate_meta_token_params =
|
|
6
|
+
{ id: String, idempotency_key: String }
|
|
7
|
+
& Telnyx::Internal::Type::request_parameters
|
|
8
|
+
|
|
9
|
+
class ActionRotateMetaTokenParams < Telnyx::Internal::Type::BaseModel
|
|
10
|
+
extend Telnyx::Internal::Type::RequestParameters::Converter
|
|
11
|
+
include Telnyx::Internal::Type::RequestParameters
|
|
12
|
+
|
|
13
|
+
attr_accessor id: String
|
|
14
|
+
|
|
15
|
+
attr_accessor idempotency_key: String
|
|
16
|
+
|
|
17
|
+
def initialize: (
|
|
18
|
+
id: String,
|
|
19
|
+
idempotency_key: String,
|
|
20
|
+
?request_options: Telnyx::request_opts
|
|
21
|
+
) -> void
|
|
22
|
+
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
id: String,
|
|
25
|
+
idempotency_key: String,
|
|
26
|
+
request_options: Telnyx::RequestOptions
|
|
27
|
+
}
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Storage
|
|
4
|
+
type cloudfs_filesystem_detail_response_wrapper =
|
|
5
|
+
{ data: Telnyx::Storage::CloudfsFilesystemDetailResponseWrapper::Data }
|
|
6
|
+
|
|
7
|
+
class CloudfsFilesystemDetailResponseWrapper < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
attr_reader data: Telnyx::Storage::CloudfsFilesystemDetailResponseWrapper::Data?
|
|
9
|
+
|
|
10
|
+
def data=: (
|
|
11
|
+
Telnyx::Storage::CloudfsFilesystemDetailResponseWrapper::Data
|
|
12
|
+
) -> Telnyx::Storage::CloudfsFilesystemDetailResponseWrapper::Data
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
?data: Telnyx::Storage::CloudfsFilesystemDetailResponseWrapper::Data
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
data: Telnyx::Storage::CloudfsFilesystemDetailResponseWrapper::Data
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
type data =
|
|
23
|
+
{
|
|
24
|
+
id: String,
|
|
25
|
+
created_at: Time,
|
|
26
|
+
error: String,
|
|
27
|
+
meta_url: String,
|
|
28
|
+
name: String,
|
|
29
|
+
record_type: String,
|
|
30
|
+
region: String,
|
|
31
|
+
:s3_bucket => String,
|
|
32
|
+
:s3_endpoint => String,
|
|
33
|
+
status: Telnyx::Models::Storage::cloudfs_filesystem_status,
|
|
34
|
+
updated_at: Time
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
38
|
+
attr_reader id: String?
|
|
39
|
+
|
|
40
|
+
def id=: (String) -> String
|
|
41
|
+
|
|
42
|
+
attr_reader created_at: Time?
|
|
43
|
+
|
|
44
|
+
def created_at=: (Time) -> Time
|
|
45
|
+
|
|
46
|
+
attr_reader error: String?
|
|
47
|
+
|
|
48
|
+
def error=: (String) -> String
|
|
49
|
+
|
|
50
|
+
attr_reader meta_url: String?
|
|
51
|
+
|
|
52
|
+
def meta_url=: (String) -> String
|
|
53
|
+
|
|
54
|
+
attr_reader name: String?
|
|
55
|
+
|
|
56
|
+
def name=: (String) -> String
|
|
57
|
+
|
|
58
|
+
attr_reader record_type: String?
|
|
59
|
+
|
|
60
|
+
def record_type=: (String) -> String
|
|
61
|
+
|
|
62
|
+
attr_reader region: String?
|
|
63
|
+
|
|
64
|
+
def region=: (String) -> String
|
|
65
|
+
|
|
66
|
+
attr_reader s3_bucket: String?
|
|
67
|
+
|
|
68
|
+
def s3_bucket=: (String) -> String
|
|
69
|
+
|
|
70
|
+
attr_reader s3_endpoint: String?
|
|
71
|
+
|
|
72
|
+
def s3_endpoint=: (String) -> String
|
|
73
|
+
|
|
74
|
+
attr_reader status: Telnyx::Models::Storage::cloudfs_filesystem_status?
|
|
75
|
+
|
|
76
|
+
def status=: (
|
|
77
|
+
Telnyx::Models::Storage::cloudfs_filesystem_status
|
|
78
|
+
) -> Telnyx::Models::Storage::cloudfs_filesystem_status
|
|
79
|
+
|
|
80
|
+
attr_reader updated_at: Time?
|
|
81
|
+
|
|
82
|
+
def updated_at=: (Time) -> Time
|
|
83
|
+
|
|
84
|
+
def initialize: (
|
|
85
|
+
?id: String,
|
|
86
|
+
?created_at: Time,
|
|
87
|
+
?error: String,
|
|
88
|
+
?meta_url: String,
|
|
89
|
+
?name: String,
|
|
90
|
+
?record_type: String,
|
|
91
|
+
?region: String,
|
|
92
|
+
?s3_bucket: String,
|
|
93
|
+
?s3_endpoint: String,
|
|
94
|
+
?status: Telnyx::Models::Storage::cloudfs_filesystem_status,
|
|
95
|
+
?updated_at: Time
|
|
96
|
+
) -> void
|
|
97
|
+
|
|
98
|
+
def to_hash: -> {
|
|
99
|
+
id: String,
|
|
100
|
+
created_at: Time,
|
|
101
|
+
error: String,
|
|
102
|
+
meta_url: String,
|
|
103
|
+
name: String,
|
|
104
|
+
record_type: String,
|
|
105
|
+
region: String,
|
|
106
|
+
:s3_bucket => String,
|
|
107
|
+
:s3_endpoint => String,
|
|
108
|
+
status: Telnyx::Models::Storage::cloudfs_filesystem_status,
|
|
109
|
+
updated_at: Time
|
|
110
|
+
}
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
module Telnyx
|
|
2
|
+
module Models
|
|
3
|
+
module Storage
|
|
4
|
+
type cloudfs_filesystem_response_wrapper =
|
|
5
|
+
{ data: Telnyx::Storage::CloudfsFilesystemResponseWrapper::Data }
|
|
6
|
+
|
|
7
|
+
class CloudfsFilesystemResponseWrapper < Telnyx::Internal::Type::BaseModel
|
|
8
|
+
attr_reader data: Telnyx::Storage::CloudfsFilesystemResponseWrapper::Data?
|
|
9
|
+
|
|
10
|
+
def data=: (
|
|
11
|
+
Telnyx::Storage::CloudfsFilesystemResponseWrapper::Data
|
|
12
|
+
) -> Telnyx::Storage::CloudfsFilesystemResponseWrapper::Data
|
|
13
|
+
|
|
14
|
+
def initialize: (
|
|
15
|
+
?data: Telnyx::Storage::CloudfsFilesystemResponseWrapper::Data
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
data: Telnyx::Storage::CloudfsFilesystemResponseWrapper::Data
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
type data =
|
|
23
|
+
{
|
|
24
|
+
id: String,
|
|
25
|
+
created_at: Time,
|
|
26
|
+
meta_token: String,
|
|
27
|
+
meta_url: String,
|
|
28
|
+
name: String,
|
|
29
|
+
record_type: String,
|
|
30
|
+
region: String,
|
|
31
|
+
:s3_bucket => String,
|
|
32
|
+
:s3_endpoint => String,
|
|
33
|
+
status: Telnyx::Models::Storage::cloudfs_filesystem_status,
|
|
34
|
+
updated_at: Time
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
class Data < Telnyx::Internal::Type::BaseModel
|
|
38
|
+
attr_reader id: String?
|
|
39
|
+
|
|
40
|
+
def id=: (String) -> String
|
|
41
|
+
|
|
42
|
+
attr_reader created_at: Time?
|
|
43
|
+
|
|
44
|
+
def created_at=: (Time) -> Time
|
|
45
|
+
|
|
46
|
+
attr_reader meta_token: String?
|
|
47
|
+
|
|
48
|
+
def meta_token=: (String) -> String
|
|
49
|
+
|
|
50
|
+
attr_reader meta_url: String?
|
|
51
|
+
|
|
52
|
+
def meta_url=: (String) -> String
|
|
53
|
+
|
|
54
|
+
attr_reader name: String?
|
|
55
|
+
|
|
56
|
+
def name=: (String) -> String
|
|
57
|
+
|
|
58
|
+
attr_reader record_type: String?
|
|
59
|
+
|
|
60
|
+
def record_type=: (String) -> String
|
|
61
|
+
|
|
62
|
+
attr_reader region: String?
|
|
63
|
+
|
|
64
|
+
def region=: (String) -> String
|
|
65
|
+
|
|
66
|
+
attr_reader s3_bucket: String?
|
|
67
|
+
|
|
68
|
+
def s3_bucket=: (String) -> String
|
|
69
|
+
|
|
70
|
+
attr_reader s3_endpoint: String?
|
|
71
|
+
|
|
72
|
+
def s3_endpoint=: (String) -> String
|
|
73
|
+
|
|
74
|
+
attr_reader status: Telnyx::Models::Storage::cloudfs_filesystem_status?
|
|
75
|
+
|
|
76
|
+
def status=: (
|
|
77
|
+
Telnyx::Models::Storage::cloudfs_filesystem_status
|
|
78
|
+
) -> Telnyx::Models::Storage::cloudfs_filesystem_status
|
|
79
|
+
|
|
80
|
+
attr_reader updated_at: Time?
|
|
81
|
+
|
|
82
|
+
def updated_at=: (Time) -> Time
|
|
83
|
+
|
|
84
|
+
def initialize: (
|
|
85
|
+
?id: String,
|
|
86
|
+
?created_at: Time,
|
|
87
|
+
?meta_token: String,
|
|
88
|
+
?meta_url: String,
|
|
89
|
+
?name: String,
|
|
90
|
+
?record_type: String,
|
|
91
|
+
?region: String,
|
|
92
|
+
?s3_bucket: String,
|
|
93
|
+
?s3_endpoint: String,
|
|
94
|
+
?status: Telnyx::Models::Storage::cloudfs_filesystem_status,
|
|
95
|
+
?updated_at: Time
|
|
96
|
+
) -> void
|
|
97
|
+
|
|
98
|
+
def to_hash: -> {
|
|
99
|
+
id: String,
|
|
100
|
+
created_at: Time,
|
|
101
|
+
meta_token: String,
|
|
102
|
+
meta_url: String,
|
|
103
|
+
name: String,
|
|
104
|
+
record_type: String,
|
|
105
|
+
region: String,
|
|
106
|
+
:s3_bucket => String,
|
|
107
|
+
:s3_endpoint => String,
|
|
108
|
+
status: Telnyx::Models::Storage::cloudfs_filesystem_status,
|
|
109
|
+
updated_at: Time
|
|
110
|
+
}
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|