telnyx 4.0.0 → 4.1.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 +15 -0
- data/README.md +1 -1
- data/lib/telnyx/internal/transport/pooled_net_requester.rb +7 -10
- data/lib/telnyx/models/{advanced_order_update_params.rb → advanced_order_update_requirement_group_params.rb} +9 -8
- data/lib/telnyx/models/{advanced_order_update_response.rb → advanced_order_update_requirement_group_response.rb} +1 -1
- data/lib/telnyx/models/calls/transcription_start_request.rb +444 -6
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb +156 -0
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/mdr_detail_report_response.rb +151 -0
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_params.rb +3 -110
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_response.rb +3 -252
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_delete_response.rb +3 -252
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rb +3 -250
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/messaging_retrieve_response.rb +3 -252
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_create_response.rb +3 -73
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_delete_response.rb +3 -73
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_list_response.rb +3 -71
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_retrieve_response.rb +3 -73
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/stt_detail_report_response.rb +79 -0
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_create_params.rb +3 -110
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_create_response.rb +3 -256
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_delete_response.rb +3 -256
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rb +3 -255
- data/lib/telnyx/models/legacy/reporting/batch_detail_records/voice_retrieve_response.rb +3 -256
- data/lib/telnyx/models/legacy/reporting/filter.rb +112 -0
- data/lib/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rb +109 -0
- data/lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb +104 -0
- data/lib/telnyx/models/legacy/reporting/usage_reports/messaging_create_response.rb +3 -97
- data/lib/telnyx/models/legacy/reporting/usage_reports/messaging_delete_response.rb +3 -97
- data/lib/telnyx/models/legacy/reporting/usage_reports/messaging_list_response.rb +3 -96
- data/lib/telnyx/models/legacy/reporting/usage_reports/messaging_retrieve_response.rb +3 -97
- data/lib/telnyx/models/legacy/reporting/usage_reports/voice_create_response.rb +3 -102
- data/lib/telnyx/models/legacy/reporting/usage_reports/voice_delete_response.rb +3 -102
- data/lib/telnyx/models/legacy/reporting/usage_reports/voice_list_response.rb +3 -101
- data/lib/telnyx/models/legacy/reporting/usage_reports/voice_retrieve_response.rb +3 -102
- data/lib/telnyx/models/oauth_client.rb +173 -0
- data/lib/telnyx/models/oauth_client_create_response.rb +3 -172
- data/lib/telnyx/models/oauth_client_list_response.rb +3 -171
- data/lib/telnyx/models/oauth_client_retrieve_response.rb +3 -172
- data/lib/telnyx/models/oauth_client_update_response.rb +3 -172
- data/lib/telnyx/models/oauth_grant.rb +68 -0
- data/lib/telnyx/models/oauth_grant_delete_response.rb +3 -67
- data/lib/telnyx/models/oauth_grant_list_response.rb +3 -66
- data/lib/telnyx/models/oauth_grant_retrieve_response.rb +3 -67
- data/lib/telnyx/models/verify_profile_create_template_response.rb +3 -20
- data/lib/telnyx/models/verify_profile_message_template_response.rb +21 -0
- data/lib/telnyx/models/verify_profile_retrieve_templates_response.rb +3 -20
- data/lib/telnyx/models/verify_profile_update_template_response.rb +3 -20
- data/lib/telnyx/models.rb +7 -1
- data/lib/telnyx/resources/advanced_orders.rb +26 -26
- data/lib/telnyx/resources/calls/actions.rb +2 -2
- data/lib/telnyx/resources/legacy/reporting/batch_detail_records/messaging.rb +1 -1
- data/lib/telnyx/resources/legacy/reporting/batch_detail_records/voice.rb +1 -1
- data/lib/telnyx/version.rb +1 -1
- data/lib/telnyx.rb +11 -2
- data/rbi/telnyx/models/{advanced_order_update_params.rbi → advanced_order_update_requirement_group_params.rbi} +53 -25
- data/rbi/telnyx/models/{advanced_order_update_response.rbi → advanced_order_update_requirement_group_response.rbi} +1 -1
- data/rbi/telnyx/models/calls/transcription_start_request.rbi +1473 -3
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rbi +232 -0
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/mdr_detail_report_response.rbi +346 -0
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_params.rbi +4 -279
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_response.rbi +4 -614
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_delete_response.rbi +4 -614
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rbi +4 -614
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/messaging_retrieve_response.rbi +4 -614
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_create_response.rbi +4 -155
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_delete_response.rbi +4 -155
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_list_response.rbi +4 -155
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_retrieve_response.rbi +4 -155
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/stt_detail_report_response.rbi +162 -0
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_create_params.rbi +4 -279
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_create_response.rbi +4 -500
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_delete_response.rbi +4 -500
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rbi +4 -500
- data/rbi/telnyx/models/legacy/reporting/batch_detail_records/voice_retrieve_response.rbi +4 -500
- data/rbi/telnyx/models/legacy/reporting/filter.rbi +252 -0
- data/rbi/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rbi +157 -0
- data/rbi/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rbi +155 -0
- data/rbi/telnyx/models/legacy/reporting/usage_reports/messaging_create_response.rbi +4 -148
- data/rbi/telnyx/models/legacy/reporting/usage_reports/messaging_delete_response.rbi +4 -148
- data/rbi/telnyx/models/legacy/reporting/usage_reports/messaging_list_response.rbi +4 -148
- data/rbi/telnyx/models/legacy/reporting/usage_reports/messaging_retrieve_response.rbi +4 -148
- data/rbi/telnyx/models/legacy/reporting/usage_reports/voice_create_response.rbi +4 -150
- data/rbi/telnyx/models/legacy/reporting/usage_reports/voice_delete_response.rbi +4 -150
- data/rbi/telnyx/models/legacy/reporting/usage_reports/voice_list_response.rbi +4 -150
- data/rbi/telnyx/models/legacy/reporting/usage_reports/voice_retrieve_response.rbi +4 -150
- data/rbi/telnyx/models/oauth_client.rbi +250 -0
- data/rbi/telnyx/models/oauth_client_create_response.rbi +4 -317
- data/rbi/telnyx/models/oauth_client_list_response.rbi +4 -313
- data/rbi/telnyx/models/oauth_client_retrieve_response.rbi +4 -317
- data/rbi/telnyx/models/oauth_client_update_response.rbi +4 -317
- data/rbi/telnyx/models/oauth_grant.rbi +95 -0
- data/rbi/telnyx/models/oauth_grant_delete_response.rbi +4 -127
- data/rbi/telnyx/models/oauth_grant_list_response.rbi +4 -123
- data/rbi/telnyx/models/oauth_grant_retrieve_response.rbi +4 -129
- data/rbi/telnyx/models/verify_profile_create_template_response.rbi +4 -44
- data/rbi/telnyx/models/verify_profile_message_template_response.rbi +35 -0
- data/rbi/telnyx/models/verify_profile_retrieve_templates_response.rbi +3 -45
- data/rbi/telnyx/models/verify_profile_update_template_response.rbi +4 -44
- data/rbi/telnyx/models.rbi +9 -1
- data/rbi/telnyx/resources/advanced_orders.rbi +16 -14
- data/rbi/telnyx/resources/calls/actions.rbi +5 -1
- data/rbi/telnyx/resources/legacy/reporting/batch_detail_records/messaging.rbi +1 -4
- data/rbi/telnyx/resources/legacy/reporting/batch_detail_records/voice.rbi +1 -4
- data/sig/telnyx/models/{advanced_order_update_params.rbs → advanced_order_update_requirement_group_params.rbs} +16 -16
- data/sig/telnyx/models/advanced_order_update_requirement_group_response.rbs +5 -0
- data/sig/telnyx/models/calls/transcription_start_request.rbs +585 -2
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rbs +142 -0
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/mdr_detail_report_response.rbs +163 -0
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_params.rbs +6 -108
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_create_response.rbs +6 -262
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_delete_response.rbs +6 -262
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_list_response.rbs +6 -262
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/messaging_retrieve_response.rbs +6 -262
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_create_response.rbs +6 -82
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_delete_response.rbs +6 -82
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_list_response.rbs +6 -82
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/speech_to_text_retrieve_response.rbs +6 -82
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/stt_detail_report_response.rbs +85 -0
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_create_params.rbs +6 -108
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_create_response.rbs +6 -241
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_delete_response.rbs +6 -241
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_list_response.rbs +6 -241
- data/sig/telnyx/models/legacy/reporting/batch_detail_records/voice_retrieve_response.rbs +6 -241
- data/sig/telnyx/models/legacy/reporting/filter.rbs +109 -0
- data/sig/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rbs +105 -0
- data/sig/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rbs +105 -0
- data/sig/telnyx/models/legacy/reporting/usage_reports/messaging_create_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/messaging_delete_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/messaging_list_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/messaging_retrieve_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/voice_create_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/voice_delete_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/voice_list_response.rbs +6 -102
- data/sig/telnyx/models/legacy/reporting/usage_reports/voice_retrieve_response.rbs +6 -102
- data/sig/telnyx/models/oauth_client.rbs +137 -0
- data/sig/telnyx/models/oauth_client_create_response.rbs +5 -144
- data/sig/telnyx/models/oauth_client_list_response.rbs +5 -141
- data/sig/telnyx/models/oauth_client_retrieve_response.rbs +5 -146
- data/sig/telnyx/models/oauth_client_update_response.rbs +5 -144
- data/sig/telnyx/models/oauth_grant.rbs +55 -0
- data/sig/telnyx/models/oauth_grant_delete_response.rbs +5 -62
- data/sig/telnyx/models/oauth_grant_list_response.rbs +5 -59
- data/sig/telnyx/models/oauth_grant_retrieve_response.rbs +5 -62
- data/sig/telnyx/models/verify_profile_create_template_response.rbs +6 -24
- data/sig/telnyx/models/verify_profile_message_template_response.rbs +19 -0
- data/sig/telnyx/models/verify_profile_retrieve_templates_response.rbs +4 -22
- data/sig/telnyx/models/verify_profile_update_template_response.rbs +6 -24
- data/sig/telnyx/models.rbs +7 -1
- data/sig/telnyx/resources/advanced_orders.rbs +6 -6
- data/sig/telnyx/resources/legacy/reporting/batch_detail_records/messaging.rbs +1 -1
- data/sig/telnyx/resources/legacy/reporting/batch_detail_records/voice.rbs +1 -1
- metadata +35 -8
- data/sig/telnyx/models/advanced_order_update_response.rbs +0 -5
@@ -0,0 +1,109 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Telnyx
|
4
|
+
module Models
|
5
|
+
module Legacy
|
6
|
+
module Reporting
|
7
|
+
module UsageReports
|
8
|
+
class CdrUsageReportResponseLegacy < Telnyx::Internal::Type::BaseModel
|
9
|
+
# @!attribute id
|
10
|
+
# Identifies the resource
|
11
|
+
#
|
12
|
+
# @return [String, nil]
|
13
|
+
optional :id, String
|
14
|
+
|
15
|
+
# @!attribute aggregation_type
|
16
|
+
# Aggregation type: All = 0, By Connections = 1, By Tags = 2, By Billing Group = 3
|
17
|
+
#
|
18
|
+
# @return [Integer, nil]
|
19
|
+
optional :aggregation_type, Integer
|
20
|
+
|
21
|
+
# @!attribute connections
|
22
|
+
#
|
23
|
+
# @return [Array<Integer>, nil]
|
24
|
+
optional :connections, Telnyx::Internal::Type::ArrayOf[Integer]
|
25
|
+
|
26
|
+
# @!attribute created_at
|
27
|
+
#
|
28
|
+
# @return [Time, nil]
|
29
|
+
optional :created_at, Time
|
30
|
+
|
31
|
+
# @!attribute end_time
|
32
|
+
#
|
33
|
+
# @return [Time, nil]
|
34
|
+
optional :end_time, Time
|
35
|
+
|
36
|
+
# @!attribute product_breakdown
|
37
|
+
# Product breakdown type: No breakdown = 0, DID vs Toll-free = 1, Country = 2, DID
|
38
|
+
# vs Toll-free per Country = 3
|
39
|
+
#
|
40
|
+
# @return [Integer, nil]
|
41
|
+
optional :product_breakdown, Integer
|
42
|
+
|
43
|
+
# @!attribute record_type
|
44
|
+
#
|
45
|
+
# @return [String, nil]
|
46
|
+
optional :record_type, String
|
47
|
+
|
48
|
+
# @!attribute report_url
|
49
|
+
#
|
50
|
+
# @return [String, nil]
|
51
|
+
optional :report_url, String
|
52
|
+
|
53
|
+
# @!attribute result
|
54
|
+
#
|
55
|
+
# @return [Object, nil]
|
56
|
+
optional :result, Telnyx::Internal::Type::Unknown
|
57
|
+
|
58
|
+
# @!attribute start_time
|
59
|
+
#
|
60
|
+
# @return [Time, nil]
|
61
|
+
optional :start_time, Time
|
62
|
+
|
63
|
+
# @!attribute status
|
64
|
+
# Status of the report: Pending = 1, Complete = 2, Failed = 3, Expired = 4
|
65
|
+
#
|
66
|
+
# @return [Integer, nil]
|
67
|
+
optional :status, Integer
|
68
|
+
|
69
|
+
# @!attribute updated_at
|
70
|
+
#
|
71
|
+
# @return [Time, nil]
|
72
|
+
optional :updated_at, Time
|
73
|
+
|
74
|
+
# @!method initialize(id: nil, aggregation_type: nil, connections: nil, created_at: nil, end_time: nil, product_breakdown: nil, record_type: nil, report_url: nil, result: nil, start_time: nil, status: nil, updated_at: nil)
|
75
|
+
# Some parameter documentations has been truncated, see
|
76
|
+
# {Telnyx::Models::Legacy::Reporting::UsageReports::CdrUsageReportResponseLegacy}
|
77
|
+
# for more details.
|
78
|
+
#
|
79
|
+
# Legacy V2 CDR usage report response
|
80
|
+
#
|
81
|
+
# @param id [String] Identifies the resource
|
82
|
+
#
|
83
|
+
# @param aggregation_type [Integer] Aggregation type: All = 0, By Connections = 1, By Tags = 2, By Billing Group = 3
|
84
|
+
#
|
85
|
+
# @param connections [Array<Integer>]
|
86
|
+
#
|
87
|
+
# @param created_at [Time]
|
88
|
+
#
|
89
|
+
# @param end_time [Time]
|
90
|
+
#
|
91
|
+
# @param product_breakdown [Integer] Product breakdown type: No breakdown = 0, DID vs Toll-free = 1, Country = 2, DID
|
92
|
+
#
|
93
|
+
# @param record_type [String]
|
94
|
+
#
|
95
|
+
# @param report_url [String]
|
96
|
+
#
|
97
|
+
# @param result [Object]
|
98
|
+
#
|
99
|
+
# @param start_time [Time]
|
100
|
+
#
|
101
|
+
# @param status [Integer] Status of the report: Pending = 1, Complete = 2, Failed = 3, Expired = 4
|
102
|
+
#
|
103
|
+
# @param updated_at [Time]
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
@@ -0,0 +1,104 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Telnyx
|
4
|
+
module Models
|
5
|
+
module Legacy
|
6
|
+
module Reporting
|
7
|
+
module UsageReports
|
8
|
+
class MdrUsageReportResponseLegacy < Telnyx::Internal::Type::BaseModel
|
9
|
+
# @!attribute id
|
10
|
+
# Identifies the resource
|
11
|
+
#
|
12
|
+
# @return [String, nil]
|
13
|
+
optional :id, String
|
14
|
+
|
15
|
+
# @!attribute aggregation_type
|
16
|
+
# Aggregation type: No aggregation = 0, By Messaging Profile = 1, By Tags = 2
|
17
|
+
#
|
18
|
+
# @return [Integer, nil]
|
19
|
+
optional :aggregation_type, Integer
|
20
|
+
|
21
|
+
# @!attribute connections
|
22
|
+
#
|
23
|
+
# @return [Array<Integer>, nil]
|
24
|
+
optional :connections, Telnyx::Internal::Type::ArrayOf[Integer]
|
25
|
+
|
26
|
+
# @!attribute created_at
|
27
|
+
#
|
28
|
+
# @return [Time, nil]
|
29
|
+
optional :created_at, Time
|
30
|
+
|
31
|
+
# @!attribute end_time
|
32
|
+
#
|
33
|
+
# @return [Time, nil]
|
34
|
+
optional :end_time, Time
|
35
|
+
|
36
|
+
# @!attribute profiles
|
37
|
+
# List of messaging profile IDs
|
38
|
+
#
|
39
|
+
# @return [Array<String>, nil]
|
40
|
+
optional :profiles, Telnyx::Internal::Type::ArrayOf[String]
|
41
|
+
|
42
|
+
# @!attribute record_type
|
43
|
+
#
|
44
|
+
# @return [String, nil]
|
45
|
+
optional :record_type, String
|
46
|
+
|
47
|
+
# @!attribute report_url
|
48
|
+
#
|
49
|
+
# @return [String, nil]
|
50
|
+
optional :report_url, String
|
51
|
+
|
52
|
+
# @!attribute result
|
53
|
+
#
|
54
|
+
# @return [Object, nil]
|
55
|
+
optional :result, Telnyx::Internal::Type::Unknown
|
56
|
+
|
57
|
+
# @!attribute start_time
|
58
|
+
#
|
59
|
+
# @return [Time, nil]
|
60
|
+
optional :start_time, Time
|
61
|
+
|
62
|
+
# @!attribute status
|
63
|
+
# Status of the report (Pending = 1, Complete = 2, Failed = 3, Expired = 4)
|
64
|
+
#
|
65
|
+
# @return [Integer, nil]
|
66
|
+
optional :status, Integer
|
67
|
+
|
68
|
+
# @!attribute updated_at
|
69
|
+
#
|
70
|
+
# @return [Time, nil]
|
71
|
+
optional :updated_at, Time
|
72
|
+
|
73
|
+
# @!method initialize(id: nil, aggregation_type: nil, connections: nil, created_at: nil, end_time: nil, profiles: nil, record_type: nil, report_url: nil, result: nil, start_time: nil, status: nil, updated_at: nil)
|
74
|
+
# Legacy V2 MDR usage report response
|
75
|
+
#
|
76
|
+
# @param id [String] Identifies the resource
|
77
|
+
#
|
78
|
+
# @param aggregation_type [Integer] Aggregation type: No aggregation = 0, By Messaging Profile = 1, By Tags = 2
|
79
|
+
#
|
80
|
+
# @param connections [Array<Integer>]
|
81
|
+
#
|
82
|
+
# @param created_at [Time]
|
83
|
+
#
|
84
|
+
# @param end_time [Time]
|
85
|
+
#
|
86
|
+
# @param profiles [Array<String>] List of messaging profile IDs
|
87
|
+
#
|
88
|
+
# @param record_type [String]
|
89
|
+
#
|
90
|
+
# @param report_url [String]
|
91
|
+
#
|
92
|
+
# @param result [Object]
|
93
|
+
#
|
94
|
+
# @param start_time [Time]
|
95
|
+
#
|
96
|
+
# @param status [Integer] Status of the report (Pending = 1, Complete = 2, Failed = 3, Expired = 4)
|
97
|
+
#
|
98
|
+
# @param updated_at [Time]
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
@@ -10,105 +10,11 @@ module Telnyx
|
|
10
10
|
# @!attribute data
|
11
11
|
# Legacy V2 MDR usage report response
|
12
12
|
#
|
13
|
-
# @return [Telnyx::Models::Legacy::Reporting::UsageReports::
|
14
|
-
optional :data, -> { Telnyx::
|
13
|
+
# @return [Telnyx::Models::Legacy::Reporting::UsageReports::MdrUsageReportResponseLegacy, nil]
|
14
|
+
optional :data, -> { Telnyx::Legacy::Reporting::UsageReports::MdrUsageReportResponseLegacy }
|
15
15
|
|
16
16
|
# @!method initialize(data: nil)
|
17
|
-
# @param data [Telnyx::Models::Legacy::Reporting::UsageReports::
|
18
|
-
|
19
|
-
# @see Telnyx::Models::Legacy::Reporting::UsageReports::MessagingCreateResponse#data
|
20
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
21
|
-
# @!attribute id
|
22
|
-
# Identifies the resource
|
23
|
-
#
|
24
|
-
# @return [String, nil]
|
25
|
-
optional :id, String
|
26
|
-
|
27
|
-
# @!attribute aggregation_type
|
28
|
-
# Aggregation type: No aggregation = 0, By Messaging Profile = 1, By Tags = 2
|
29
|
-
#
|
30
|
-
# @return [Integer, nil]
|
31
|
-
optional :aggregation_type, Integer
|
32
|
-
|
33
|
-
# @!attribute connections
|
34
|
-
#
|
35
|
-
# @return [Array<Integer>, nil]
|
36
|
-
optional :connections, Telnyx::Internal::Type::ArrayOf[Integer]
|
37
|
-
|
38
|
-
# @!attribute created_at
|
39
|
-
#
|
40
|
-
# @return [Time, nil]
|
41
|
-
optional :created_at, Time
|
42
|
-
|
43
|
-
# @!attribute end_time
|
44
|
-
#
|
45
|
-
# @return [Time, nil]
|
46
|
-
optional :end_time, Time
|
47
|
-
|
48
|
-
# @!attribute profiles
|
49
|
-
# List of messaging profile IDs
|
50
|
-
#
|
51
|
-
# @return [Array<String>, nil]
|
52
|
-
optional :profiles, Telnyx::Internal::Type::ArrayOf[String]
|
53
|
-
|
54
|
-
# @!attribute record_type
|
55
|
-
#
|
56
|
-
# @return [String, nil]
|
57
|
-
optional :record_type, String
|
58
|
-
|
59
|
-
# @!attribute report_url
|
60
|
-
#
|
61
|
-
# @return [String, nil]
|
62
|
-
optional :report_url, String
|
63
|
-
|
64
|
-
# @!attribute result
|
65
|
-
#
|
66
|
-
# @return [Object, nil]
|
67
|
-
optional :result, Telnyx::Internal::Type::Unknown
|
68
|
-
|
69
|
-
# @!attribute start_time
|
70
|
-
#
|
71
|
-
# @return [Time, nil]
|
72
|
-
optional :start_time, Time
|
73
|
-
|
74
|
-
# @!attribute status
|
75
|
-
# Status of the report (Pending = 1, Complete = 2, Failed = 3, Expired = 4)
|
76
|
-
#
|
77
|
-
# @return [Integer, nil]
|
78
|
-
optional :status, Integer
|
79
|
-
|
80
|
-
# @!attribute updated_at
|
81
|
-
#
|
82
|
-
# @return [Time, nil]
|
83
|
-
optional :updated_at, Time
|
84
|
-
|
85
|
-
# @!method initialize(id: nil, aggregation_type: nil, connections: nil, created_at: nil, end_time: nil, profiles: nil, record_type: nil, report_url: nil, result: nil, start_time: nil, status: nil, updated_at: nil)
|
86
|
-
# Legacy V2 MDR usage report response
|
87
|
-
#
|
88
|
-
# @param id [String] Identifies the resource
|
89
|
-
#
|
90
|
-
# @param aggregation_type [Integer] Aggregation type: No aggregation = 0, By Messaging Profile = 1, By Tags = 2
|
91
|
-
#
|
92
|
-
# @param connections [Array<Integer>]
|
93
|
-
#
|
94
|
-
# @param created_at [Time]
|
95
|
-
#
|
96
|
-
# @param end_time [Time]
|
97
|
-
#
|
98
|
-
# @param profiles [Array<String>] List of messaging profile IDs
|
99
|
-
#
|
100
|
-
# @param record_type [String]
|
101
|
-
#
|
102
|
-
# @param report_url [String]
|
103
|
-
#
|
104
|
-
# @param result [Object]
|
105
|
-
#
|
106
|
-
# @param start_time [Time]
|
107
|
-
#
|
108
|
-
# @param status [Integer] Status of the report (Pending = 1, Complete = 2, Failed = 3, Expired = 4)
|
109
|
-
#
|
110
|
-
# @param updated_at [Time]
|
111
|
-
end
|
17
|
+
# @param data [Telnyx::Models::Legacy::Reporting::UsageReports::MdrUsageReportResponseLegacy] Legacy V2 MDR usage report response
|
112
18
|
end
|
113
19
|
end
|
114
20
|
end
|
@@ -10,105 +10,11 @@ module Telnyx
|
|
10
10
|
# @!attribute data
|
11
11
|
# Legacy V2 MDR usage report response
|
12
12
|
#
|
13
|
-
# @return [Telnyx::Models::Legacy::Reporting::UsageReports::
|
14
|
-
optional :data, -> { Telnyx::
|
13
|
+
# @return [Telnyx::Models::Legacy::Reporting::UsageReports::MdrUsageReportResponseLegacy, nil]
|
14
|
+
optional :data, -> { Telnyx::Legacy::Reporting::UsageReports::MdrUsageReportResponseLegacy }
|
15
15
|
|
16
16
|
# @!method initialize(data: nil)
|
17
|
-
# @param data [Telnyx::Models::Legacy::Reporting::UsageReports::
|
18
|
-
|
19
|
-
# @see Telnyx::Models::Legacy::Reporting::UsageReports::MessagingDeleteResponse#data
|
20
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
21
|
-
# @!attribute id
|
22
|
-
# Identifies the resource
|
23
|
-
#
|
24
|
-
# @return [String, nil]
|
25
|
-
optional :id, String
|
26
|
-
|
27
|
-
# @!attribute aggregation_type
|
28
|
-
# Aggregation type: No aggregation = 0, By Messaging Profile = 1, By Tags = 2
|
29
|
-
#
|
30
|
-
# @return [Integer, nil]
|
31
|
-
optional :aggregation_type, Integer
|
32
|
-
|
33
|
-
# @!attribute connections
|
34
|
-
#
|
35
|
-
# @return [Array<Integer>, nil]
|
36
|
-
optional :connections, Telnyx::Internal::Type::ArrayOf[Integer]
|
37
|
-
|
38
|
-
# @!attribute created_at
|
39
|
-
#
|
40
|
-
# @return [Time, nil]
|
41
|
-
optional :created_at, Time
|
42
|
-
|
43
|
-
# @!attribute end_time
|
44
|
-
#
|
45
|
-
# @return [Time, nil]
|
46
|
-
optional :end_time, Time
|
47
|
-
|
48
|
-
# @!attribute profiles
|
49
|
-
# List of messaging profile IDs
|
50
|
-
#
|
51
|
-
# @return [Array<String>, nil]
|
52
|
-
optional :profiles, Telnyx::Internal::Type::ArrayOf[String]
|
53
|
-
|
54
|
-
# @!attribute record_type
|
55
|
-
#
|
56
|
-
# @return [String, nil]
|
57
|
-
optional :record_type, String
|
58
|
-
|
59
|
-
# @!attribute report_url
|
60
|
-
#
|
61
|
-
# @return [String, nil]
|
62
|
-
optional :report_url, String
|
63
|
-
|
64
|
-
# @!attribute result
|
65
|
-
#
|
66
|
-
# @return [Object, nil]
|
67
|
-
optional :result, Telnyx::Internal::Type::Unknown
|
68
|
-
|
69
|
-
# @!attribute start_time
|
70
|
-
#
|
71
|
-
# @return [Time, nil]
|
72
|
-
optional :start_time, Time
|
73
|
-
|
74
|
-
# @!attribute status
|
75
|
-
# Status of the report (Pending = 1, Complete = 2, Failed = 3, Expired = 4)
|
76
|
-
#
|
77
|
-
# @return [Integer, nil]
|
78
|
-
optional :status, Integer
|
79
|
-
|
80
|
-
# @!attribute updated_at
|
81
|
-
#
|
82
|
-
# @return [Time, nil]
|
83
|
-
optional :updated_at, Time
|
84
|
-
|
85
|
-
# @!method initialize(id: nil, aggregation_type: nil, connections: nil, created_at: nil, end_time: nil, profiles: nil, record_type: nil, report_url: nil, result: nil, start_time: nil, status: nil, updated_at: nil)
|
86
|
-
# Legacy V2 MDR usage report response
|
87
|
-
#
|
88
|
-
# @param id [String] Identifies the resource
|
89
|
-
#
|
90
|
-
# @param aggregation_type [Integer] Aggregation type: No aggregation = 0, By Messaging Profile = 1, By Tags = 2
|
91
|
-
#
|
92
|
-
# @param connections [Array<Integer>]
|
93
|
-
#
|
94
|
-
# @param created_at [Time]
|
95
|
-
#
|
96
|
-
# @param end_time [Time]
|
97
|
-
#
|
98
|
-
# @param profiles [Array<String>] List of messaging profile IDs
|
99
|
-
#
|
100
|
-
# @param record_type [String]
|
101
|
-
#
|
102
|
-
# @param report_url [String]
|
103
|
-
#
|
104
|
-
# @param result [Object]
|
105
|
-
#
|
106
|
-
# @param start_time [Time]
|
107
|
-
#
|
108
|
-
# @param status [Integer] Status of the report (Pending = 1, Complete = 2, Failed = 3, Expired = 4)
|
109
|
-
#
|
110
|
-
# @param updated_at [Time]
|
111
|
-
end
|
17
|
+
# @param data [Telnyx::Models::Legacy::Reporting::UsageReports::MdrUsageReportResponseLegacy] Legacy V2 MDR usage report response
|
112
18
|
end
|
113
19
|
end
|
114
20
|
end
|
@@ -9,9 +9,9 @@ module Telnyx
|
|
9
9
|
class MessagingListResponse < Telnyx::Internal::Type::BaseModel
|
10
10
|
# @!attribute data
|
11
11
|
#
|
12
|
-
# @return [Array<Telnyx::Models::Legacy::Reporting::UsageReports::
|
12
|
+
# @return [Array<Telnyx::Models::Legacy::Reporting::UsageReports::MdrUsageReportResponseLegacy>, nil]
|
13
13
|
optional :data,
|
14
|
-
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::
|
14
|
+
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Legacy::Reporting::UsageReports::MdrUsageReportResponseLegacy] }
|
15
15
|
|
16
16
|
# @!attribute meta
|
17
17
|
#
|
@@ -19,102 +19,9 @@ module Telnyx
|
|
19
19
|
optional :meta, -> { Telnyx::Models::Legacy::Reporting::UsageReports::MessagingListResponse::Meta }
|
20
20
|
|
21
21
|
# @!method initialize(data: nil, meta: nil)
|
22
|
-
# @param data [Array<Telnyx::Models::Legacy::Reporting::UsageReports::
|
22
|
+
# @param data [Array<Telnyx::Models::Legacy::Reporting::UsageReports::MdrUsageReportResponseLegacy>]
|
23
23
|
# @param meta [Telnyx::Models::Legacy::Reporting::UsageReports::MessagingListResponse::Meta]
|
24
24
|
|
25
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
26
|
-
# @!attribute id
|
27
|
-
# Identifies the resource
|
28
|
-
#
|
29
|
-
# @return [String, nil]
|
30
|
-
optional :id, String
|
31
|
-
|
32
|
-
# @!attribute aggregation_type
|
33
|
-
# Aggregation type: No aggregation = 0, By Messaging Profile = 1, By Tags = 2
|
34
|
-
#
|
35
|
-
# @return [Integer, nil]
|
36
|
-
optional :aggregation_type, Integer
|
37
|
-
|
38
|
-
# @!attribute connections
|
39
|
-
#
|
40
|
-
# @return [Array<Integer>, nil]
|
41
|
-
optional :connections, Telnyx::Internal::Type::ArrayOf[Integer]
|
42
|
-
|
43
|
-
# @!attribute created_at
|
44
|
-
#
|
45
|
-
# @return [Time, nil]
|
46
|
-
optional :created_at, Time
|
47
|
-
|
48
|
-
# @!attribute end_time
|
49
|
-
#
|
50
|
-
# @return [Time, nil]
|
51
|
-
optional :end_time, Time
|
52
|
-
|
53
|
-
# @!attribute profiles
|
54
|
-
# List of messaging profile IDs
|
55
|
-
#
|
56
|
-
# @return [Array<String>, nil]
|
57
|
-
optional :profiles, Telnyx::Internal::Type::ArrayOf[String]
|
58
|
-
|
59
|
-
# @!attribute record_type
|
60
|
-
#
|
61
|
-
# @return [String, nil]
|
62
|
-
optional :record_type, String
|
63
|
-
|
64
|
-
# @!attribute report_url
|
65
|
-
#
|
66
|
-
# @return [String, nil]
|
67
|
-
optional :report_url, String
|
68
|
-
|
69
|
-
# @!attribute result
|
70
|
-
#
|
71
|
-
# @return [Object, nil]
|
72
|
-
optional :result, Telnyx::Internal::Type::Unknown
|
73
|
-
|
74
|
-
# @!attribute start_time
|
75
|
-
#
|
76
|
-
# @return [Time, nil]
|
77
|
-
optional :start_time, Time
|
78
|
-
|
79
|
-
# @!attribute status
|
80
|
-
# Status of the report (Pending = 1, Complete = 2, Failed = 3, Expired = 4)
|
81
|
-
#
|
82
|
-
# @return [Integer, nil]
|
83
|
-
optional :status, Integer
|
84
|
-
|
85
|
-
# @!attribute updated_at
|
86
|
-
#
|
87
|
-
# @return [Time, nil]
|
88
|
-
optional :updated_at, Time
|
89
|
-
|
90
|
-
# @!method initialize(id: nil, aggregation_type: nil, connections: nil, created_at: nil, end_time: nil, profiles: nil, record_type: nil, report_url: nil, result: nil, start_time: nil, status: nil, updated_at: nil)
|
91
|
-
# Legacy V2 MDR usage report response
|
92
|
-
#
|
93
|
-
# @param id [String] Identifies the resource
|
94
|
-
#
|
95
|
-
# @param aggregation_type [Integer] Aggregation type: No aggregation = 0, By Messaging Profile = 1, By Tags = 2
|
96
|
-
#
|
97
|
-
# @param connections [Array<Integer>]
|
98
|
-
#
|
99
|
-
# @param created_at [Time]
|
100
|
-
#
|
101
|
-
# @param end_time [Time]
|
102
|
-
#
|
103
|
-
# @param profiles [Array<String>] List of messaging profile IDs
|
104
|
-
#
|
105
|
-
# @param record_type [String]
|
106
|
-
#
|
107
|
-
# @param report_url [String]
|
108
|
-
#
|
109
|
-
# @param result [Object]
|
110
|
-
#
|
111
|
-
# @param start_time [Time]
|
112
|
-
#
|
113
|
-
# @param status [Integer] Status of the report (Pending = 1, Complete = 2, Failed = 3, Expired = 4)
|
114
|
-
#
|
115
|
-
# @param updated_at [Time]
|
116
|
-
end
|
117
|
-
|
118
25
|
# @see Telnyx::Models::Legacy::Reporting::UsageReports::MessagingListResponse#meta
|
119
26
|
class Meta < Telnyx::Internal::Type::BaseModel
|
120
27
|
# @!attribute page_number
|
@@ -10,105 +10,11 @@ module Telnyx
|
|
10
10
|
# @!attribute data
|
11
11
|
# Legacy V2 MDR usage report response
|
12
12
|
#
|
13
|
-
# @return [Telnyx::Models::Legacy::Reporting::UsageReports::
|
14
|
-
optional :data, -> { Telnyx::
|
13
|
+
# @return [Telnyx::Models::Legacy::Reporting::UsageReports::MdrUsageReportResponseLegacy, nil]
|
14
|
+
optional :data, -> { Telnyx::Legacy::Reporting::UsageReports::MdrUsageReportResponseLegacy }
|
15
15
|
|
16
16
|
# @!method initialize(data: nil)
|
17
|
-
# @param data [Telnyx::Models::Legacy::Reporting::UsageReports::
|
18
|
-
|
19
|
-
# @see Telnyx::Models::Legacy::Reporting::UsageReports::MessagingRetrieveResponse#data
|
20
|
-
class Data < Telnyx::Internal::Type::BaseModel
|
21
|
-
# @!attribute id
|
22
|
-
# Identifies the resource
|
23
|
-
#
|
24
|
-
# @return [String, nil]
|
25
|
-
optional :id, String
|
26
|
-
|
27
|
-
# @!attribute aggregation_type
|
28
|
-
# Aggregation type: No aggregation = 0, By Messaging Profile = 1, By Tags = 2
|
29
|
-
#
|
30
|
-
# @return [Integer, nil]
|
31
|
-
optional :aggregation_type, Integer
|
32
|
-
|
33
|
-
# @!attribute connections
|
34
|
-
#
|
35
|
-
# @return [Array<Integer>, nil]
|
36
|
-
optional :connections, Telnyx::Internal::Type::ArrayOf[Integer]
|
37
|
-
|
38
|
-
# @!attribute created_at
|
39
|
-
#
|
40
|
-
# @return [Time, nil]
|
41
|
-
optional :created_at, Time
|
42
|
-
|
43
|
-
# @!attribute end_time
|
44
|
-
#
|
45
|
-
# @return [Time, nil]
|
46
|
-
optional :end_time, Time
|
47
|
-
|
48
|
-
# @!attribute profiles
|
49
|
-
# List of messaging profile IDs
|
50
|
-
#
|
51
|
-
# @return [Array<String>, nil]
|
52
|
-
optional :profiles, Telnyx::Internal::Type::ArrayOf[String]
|
53
|
-
|
54
|
-
# @!attribute record_type
|
55
|
-
#
|
56
|
-
# @return [String, nil]
|
57
|
-
optional :record_type, String
|
58
|
-
|
59
|
-
# @!attribute report_url
|
60
|
-
#
|
61
|
-
# @return [String, nil]
|
62
|
-
optional :report_url, String
|
63
|
-
|
64
|
-
# @!attribute result
|
65
|
-
#
|
66
|
-
# @return [Object, nil]
|
67
|
-
optional :result, Telnyx::Internal::Type::Unknown
|
68
|
-
|
69
|
-
# @!attribute start_time
|
70
|
-
#
|
71
|
-
# @return [Time, nil]
|
72
|
-
optional :start_time, Time
|
73
|
-
|
74
|
-
# @!attribute status
|
75
|
-
# Status of the report (Pending = 1, Complete = 2, Failed = 3, Expired = 4)
|
76
|
-
#
|
77
|
-
# @return [Integer, nil]
|
78
|
-
optional :status, Integer
|
79
|
-
|
80
|
-
# @!attribute updated_at
|
81
|
-
#
|
82
|
-
# @return [Time, nil]
|
83
|
-
optional :updated_at, Time
|
84
|
-
|
85
|
-
# @!method initialize(id: nil, aggregation_type: nil, connections: nil, created_at: nil, end_time: nil, profiles: nil, record_type: nil, report_url: nil, result: nil, start_time: nil, status: nil, updated_at: nil)
|
86
|
-
# Legacy V2 MDR usage report response
|
87
|
-
#
|
88
|
-
# @param id [String] Identifies the resource
|
89
|
-
#
|
90
|
-
# @param aggregation_type [Integer] Aggregation type: No aggregation = 0, By Messaging Profile = 1, By Tags = 2
|
91
|
-
#
|
92
|
-
# @param connections [Array<Integer>]
|
93
|
-
#
|
94
|
-
# @param created_at [Time]
|
95
|
-
#
|
96
|
-
# @param end_time [Time]
|
97
|
-
#
|
98
|
-
# @param profiles [Array<String>] List of messaging profile IDs
|
99
|
-
#
|
100
|
-
# @param record_type [String]
|
101
|
-
#
|
102
|
-
# @param report_url [String]
|
103
|
-
#
|
104
|
-
# @param result [Object]
|
105
|
-
#
|
106
|
-
# @param start_time [Time]
|
107
|
-
#
|
108
|
-
# @param status [Integer] Status of the report (Pending = 1, Complete = 2, Failed = 3, Expired = 4)
|
109
|
-
#
|
110
|
-
# @param updated_at [Time]
|
111
|
-
end
|
17
|
+
# @param data [Telnyx::Models::Legacy::Reporting::UsageReports::MdrUsageReportResponseLegacy] Legacy V2 MDR usage report response
|
112
18
|
end
|
113
19
|
end
|
114
20
|
end
|