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.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/telnyx/models/ai/anthropic/v1_messages_params.rb +209 -0
  5. data/lib/telnyx/models/ai/anthropic/v1_messages_response.rb +12 -0
  6. data/lib/telnyx/models/ai/assistant_create_params.rb +2 -2
  7. data/lib/telnyx/models/ai/assistant_tool.rb +25 -1
  8. data/lib/telnyx/models/ai/assistant_update_params.rb +2 -2
  9. data/lib/telnyx/models/ai/assistants/update_assistant.rb +2 -2
  10. data/lib/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_params.rb +103 -0
  11. data/lib/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_response.rb +54 -0
  12. data/lib/telnyx/models/ai/inference_embedding.rb +6 -6
  13. data/lib/telnyx/models/ai/pay_tool_params.rb +46 -0
  14. data/lib/telnyx/models/ai/tool_create_params.rb +7 -1
  15. data/lib/telnyx/models/ai/tool_update_params.rb +7 -1
  16. data/lib/telnyx/models/ai/transcription_settings.rb +3 -3
  17. data/lib/telnyx/models/call_dial_params.rb +13 -1
  18. data/lib/telnyx/models/calls/transcription_config.rb +8 -4
  19. data/lib/telnyx/models/calls/transcription_engine_parakeet_config.rb +1 -1
  20. data/lib/telnyx/models/doc_reqs_requirement.rb +29 -4
  21. data/lib/telnyx/models/inbound_message.rb +278 -28
  22. data/lib/telnyx/models/inbound_message_webhook_event.rb +70 -3
  23. data/lib/telnyx/models/managed_account_list_params.rb +45 -3
  24. data/lib/telnyx/models/requirement_list_params.rb +10 -1
  25. data/lib/telnyx/models/requirement_retrieve_params.rb +14 -1
  26. data/lib/telnyx/models/speech_to_text_retrieve_transcription_params.rb +1 -1
  27. data/lib/telnyx/models/storage/cloudf_create_params.rb +56 -0
  28. data/lib/telnyx/models/storage/cloudf_delete_params.rb +22 -0
  29. data/lib/telnyx/models/storage/cloudf_list_params.rb +109 -0
  30. data/lib/telnyx/models/storage/cloudf_list_response.rb +165 -0
  31. data/lib/telnyx/models/storage/cloudf_retrieve_params.rb +22 -0
  32. data/lib/telnyx/models/storage/cloudf_update_params.rb +36 -0
  33. data/lib/telnyx/models/storage/cloudfs/action_rotate_meta_token_params.rb +30 -0
  34. data/lib/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rb +129 -0
  35. data/lib/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rb +129 -0
  36. data/lib/telnyx/models/storage/cloudfs_filesystem_status.rb +28 -0
  37. data/lib/telnyx/models/verify_profile.rb +2 -2
  38. data/lib/telnyx/models/verify_profile_create_params.rb +2 -2
  39. data/lib/telnyx/models/verify_profile_update_params.rb +2 -2
  40. data/lib/telnyx/resources/ai/anthropic/v1.rb +91 -0
  41. data/lib/telnyx/resources/ai/anthropic.rb +20 -0
  42. data/lib/telnyx/resources/ai/assistants/versions.rb +1 -1
  43. data/lib/telnyx/resources/ai/assistants.rb +2 -2
  44. data/lib/telnyx/resources/ai/conversations/conversation_insights.rb +55 -0
  45. data/lib/telnyx/resources/ai/conversations.rb +5 -0
  46. data/lib/telnyx/resources/ai/tools.rb +5 -2
  47. data/lib/telnyx/resources/ai.rb +4 -0
  48. data/lib/telnyx/resources/calls.rb +3 -1
  49. data/lib/telnyx/resources/requirements.rb +13 -3
  50. data/lib/telnyx/resources/storage/cloudfs/actions.rb +54 -0
  51. data/lib/telnyx/resources/storage/cloudfs.rb +187 -0
  52. data/lib/telnyx/resources/storage.rb +6 -0
  53. data/lib/telnyx/version.rb +1 -1
  54. data/lib/telnyx.rb +20 -0
  55. data/rbi/telnyx/models/ai/anthropic/v1_messages_params.rbi +314 -0
  56. data/rbi/telnyx/models/ai/anthropic/v1_messages_response.rbi +15 -0
  57. data/rbi/telnyx/models/ai/assistant_create_params.rbi +8 -4
  58. data/rbi/telnyx/models/ai/assistant_tool.rbi +37 -1
  59. data/rbi/telnyx/models/ai/assistant_update_params.rbi +8 -4
  60. data/rbi/telnyx/models/ai/assistants/update_assistant.rbi +8 -4
  61. data/rbi/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_params.rbi +188 -0
  62. data/rbi/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_response.rbi +94 -0
  63. data/rbi/telnyx/models/ai/inference_embedding.rbi +12 -6
  64. data/rbi/telnyx/models/ai/pay_tool_params.rbi +71 -0
  65. data/rbi/telnyx/models/ai/tool_create_params.rbi +9 -0
  66. data/rbi/telnyx/models/ai/tool_update_params.rbi +9 -0
  67. data/rbi/telnyx/models/ai/transcription_settings.rbi +5 -5
  68. data/rbi/telnyx/models/call_dial_params.rbi +19 -0
  69. data/rbi/telnyx/models/calls/transcription_config.rbi +15 -7
  70. data/rbi/telnyx/models/calls/transcription_engine_parakeet_config.rbi +2 -2
  71. data/rbi/telnyx/models/doc_reqs_requirement.rbi +38 -9
  72. data/rbi/telnyx/models/inbound_message.rbi +324 -58
  73. data/rbi/telnyx/models/inbound_message_webhook_event.rbi +173 -4
  74. data/rbi/telnyx/models/managed_account_list_params.rbi +130 -6
  75. data/rbi/telnyx/models/requirement_list_params.rbi +13 -0
  76. data/rbi/telnyx/models/requirement_retrieve_params.rbi +21 -2
  77. data/rbi/telnyx/models/speech_to_text_retrieve_transcription_params.rbi +2 -2
  78. data/rbi/telnyx/models/storage/cloudf_create_params.rbi +103 -0
  79. data/rbi/telnyx/models/storage/cloudf_delete_params.rbi +40 -0
  80. data/rbi/telnyx/models/storage/cloudf_list_params.rbi +232 -0
  81. data/rbi/telnyx/models/storage/cloudf_list_response.rbi +327 -0
  82. data/rbi/telnyx/models/storage/cloudf_retrieve_params.rbi +40 -0
  83. data/rbi/telnyx/models/storage/cloudf_update_params.rbi +61 -0
  84. data/rbi/telnyx/models/storage/cloudfs/action_rotate_meta_token_params.rbi +50 -0
  85. data/rbi/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rbi +229 -0
  86. data/rbi/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rbi +227 -0
  87. data/rbi/telnyx/models/storage/cloudfs_filesystem_status.rbi +57 -0
  88. data/rbi/telnyx/models/verify_profile.rbi +2 -2
  89. data/rbi/telnyx/models/verify_profile_create_params.rbi +2 -2
  90. data/rbi/telnyx/models/verify_profile_update_params.rbi +2 -2
  91. data/rbi/telnyx/resources/ai/anthropic/v1.rbi +106 -0
  92. data/rbi/telnyx/resources/ai/anthropic.rbi +17 -0
  93. data/rbi/telnyx/resources/ai/assistants/versions.rbi +2 -1
  94. data/rbi/telnyx/resources/ai/assistants.rbi +4 -2
  95. data/rbi/telnyx/resources/ai/conversations/conversation_insights.rbi +68 -0
  96. data/rbi/telnyx/resources/ai/conversations.rbi +6 -0
  97. data/rbi/telnyx/resources/ai/tools.rbi +4 -0
  98. data/rbi/telnyx/resources/ai.rbi +3 -0
  99. data/rbi/telnyx/resources/calls.rbi +7 -0
  100. data/rbi/telnyx/resources/managed_accounts.rbi +1 -1
  101. data/rbi/telnyx/resources/requirements.rbi +8 -0
  102. data/rbi/telnyx/resources/storage/cloudfs/actions.rbi +46 -0
  103. data/rbi/telnyx/resources/storage/cloudfs.rbi +152 -0
  104. data/rbi/telnyx/resources/storage.rbi +5 -0
  105. data/sig/telnyx/models/ai/anthropic/v1_messages_params.rbs +175 -0
  106. data/sig/telnyx/models/ai/anthropic/v1_messages_response.rbs +11 -0
  107. data/sig/telnyx/models/ai/assistant_tool.rbs +13 -0
  108. data/sig/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_params.rbs +74 -0
  109. data/sig/telnyx/models/ai/conversations/conversation_insight_retrieve_aggregates_response.rbs +34 -0
  110. data/sig/telnyx/models/ai/pay_tool_params.rbs +41 -0
  111. data/sig/telnyx/models/ai/tool_create_params.rbs +7 -0
  112. data/sig/telnyx/models/ai/tool_update_params.rbs +7 -0
  113. data/sig/telnyx/models/ai/transcription_settings.rbs +2 -2
  114. data/sig/telnyx/models/call_dial_params.rbs +7 -0
  115. data/sig/telnyx/models/calls/transcription_config.rbs +2 -2
  116. data/sig/telnyx/models/calls/transcription_engine_parakeet_config.rbs +2 -2
  117. data/sig/telnyx/models/doc_reqs_requirement.rbs +25 -8
  118. data/sig/telnyx/models/inbound_message.rbs +204 -35
  119. data/sig/telnyx/models/inbound_message_webhook_event.rbs +81 -5
  120. data/sig/telnyx/models/managed_account_list_params.rbs +47 -3
  121. data/sig/telnyx/models/requirement_list_params.rbs +8 -1
  122. data/sig/telnyx/models/requirement_retrieve_params.rbs +12 -2
  123. data/sig/telnyx/models/speech_to_text_retrieve_transcription_params.rbs +2 -2
  124. data/sig/telnyx/models/storage/cloudf_create_params.rbs +50 -0
  125. data/sig/telnyx/models/storage/cloudf_delete_params.rbs +22 -0
  126. data/sig/telnyx/models/storage/cloudf_list_params.rbs +112 -0
  127. data/sig/telnyx/models/storage/cloudf_list_response.rbs +163 -0
  128. data/sig/telnyx/models/storage/cloudf_retrieve_params.rbs +22 -0
  129. data/sig/telnyx/models/storage/cloudf_update_params.rbs +32 -0
  130. data/sig/telnyx/models/storage/cloudfs/action_rotate_meta_token_params.rbs +32 -0
  131. data/sig/telnyx/models/storage/cloudfs_filesystem_detail_response_wrapper.rbs +115 -0
  132. data/sig/telnyx/models/storage/cloudfs_filesystem_response_wrapper.rbs +115 -0
  133. data/sig/telnyx/models/storage/cloudfs_filesystem_status.rbs +21 -0
  134. data/sig/telnyx/resources/ai/anthropic/v1.rbs +35 -0
  135. data/sig/telnyx/resources/ai/anthropic.rbs +11 -0
  136. data/sig/telnyx/resources/ai/conversations/conversation_insights.rbs +20 -0
  137. data/sig/telnyx/resources/ai/conversations.rbs +2 -0
  138. data/sig/telnyx/resources/ai/tools.rbs +2 -0
  139. data/sig/telnyx/resources/ai.rbs +2 -0
  140. data/sig/telnyx/resources/calls.rbs +1 -0
  141. data/sig/telnyx/resources/requirements.rbs +2 -0
  142. data/sig/telnyx/resources/storage/cloudfs/actions.rbs +17 -0
  143. data/sig/telnyx/resources/storage/cloudfs.rbs +45 -0
  144. data/sig/telnyx/resources/storage.rbs +2 -0
  145. 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/tdt-0.6b-v3"
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
- PARAKEET_TDT_0_6B_V3: :"parakeet/tdt-0.6b-v3"
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