pingram 1.0.31 → 1.0.33

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 (60) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/lib/pingram/api/account_api.rb +2 -2
  4. data/lib/pingram/api/broadcasts_api.rb +912 -0
  5. data/lib/pingram/api/library_api.rb +161 -0
  6. data/lib/pingram/api/sub_notifications_api.rb +167 -0
  7. data/lib/pingram/api_client.rb +1 -1
  8. data/lib/pingram/client_wrapper.rb +30 -0
  9. data/lib/pingram/models/broadcast_metrics_response.rb +480 -0
  10. data/lib/pingram/models/broadcast_response.rb +525 -0
  11. data/lib/pingram/models/broadcast_response_audience.rb +161 -0
  12. data/lib/pingram/models/create_broadcast_request.rb +366 -0
  13. data/lib/pingram/models/create_library_request.rb +192 -0
  14. data/lib/pingram/models/create_library_response.rb +346 -0
  15. data/lib/pingram/models/get_users_response_users_inner.rb +13 -1
  16. data/lib/pingram/models/get_users_response_users_inner_properties_value.rb +104 -0
  17. data/lib/pingram/models/list_broadcast_recipients_response.rb +175 -0
  18. data/lib/pingram/models/list_broadcast_recipients_response_recipients_inner.rb +324 -0
  19. data/lib/pingram/models/list_broadcasts_response.rb +175 -0
  20. data/lib/pingram/models/list_broadcasts_response_broadcasts_inner.rb +487 -0
  21. data/lib/pingram/models/list_library_response.rb +175 -0
  22. data/lib/pingram/models/list_library_response_items_inner.rb +344 -0
  23. data/lib/pingram/models/logs_get_response_logs_inner.rb +4 -4
  24. data/lib/pingram/models/mfa_status_response.rb +1 -1
  25. data/lib/pingram/models/post_user_request.rb +16 -4
  26. data/lib/pingram/models/schedule_broadcast_request.rb +165 -0
  27. data/lib/pingram/models/sender_post_body_to.rb +13 -1
  28. data/lib/pingram/models/sender_post_body_user.rb +13 -1
  29. data/lib/pingram/models/sub_notification.rb +242 -0
  30. data/lib/pingram/models/sub_notification_put_request.rb +164 -0
  31. data/lib/pingram/models/update_broadcast_request.rb +264 -0
  32. data/lib/pingram/models/user.rb +13 -1
  33. data/lib/pingram/version.rb +1 -1
  34. data/lib/pingram.rb +20 -0
  35. data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.4.gem +0 -0
  36. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
  37. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out +5 -5
  38. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.9.2 → io-console-0.9.4}/gem_make.out +12 -10
  39. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.4/io/console.so +0 -0
  40. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.9.2 → io-console-0.9.4}/mkmf.log +33 -6
  41. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  42. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.5.0/gem_make.out +5 -5
  43. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
  44. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
  45. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/Makefile +3 -3
  46. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/console.c +101 -13
  47. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/extconf.rb +27 -2
  48. data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/lib/io/console/size.rb +4 -2
  49. data/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.4/lib/io/console.so +0 -0
  50. data/vendor/bundle/ruby/3.2.0/specifications/{io-console-0.9.2.gemspec → io-console-0.9.4.gemspec} +3 -3
  51. metadata +38 -18
  52. data/vendor/bundle/ruby/3.2.0/cache/io-console-0.9.2.gem +0 -0
  53. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.2/io/console.so +0 -0
  54. data/vendor/bundle/ruby/3.2.0/gems/io-console-0.9.2/lib/io/console.so +0 -0
  55. /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{io-console-0.9.2 → io-console-0.9.4}/gem.build_complete +0 -0
  56. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/.document +0 -0
  57. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/BSDL +0 -0
  58. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/COPYING +0 -0
  59. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/README.md +0 -0
  60. /data/vendor/bundle/ruby/3.2.0/gems/{io-console-0.9.2 → io-console-0.9.4}/ext/io/console/win32_vk.inc +0 -0
@@ -0,0 +1,161 @@
1
+ =begin
2
+ #Pingram
3
+
4
+ #Internal API for notification delivery and management
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module Pingram
16
+ class LibraryApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Create an upload slot in the account library. PUT the file to the returned uploadUrl with the same Content-Type, then use the returned url in emails and the editor.
23
+ # @param use_case [String] Library use-case
24
+ # @param create_library_request [CreateLibraryRequest]
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [CreateLibraryResponse]
27
+ def library_create(use_case, create_library_request, opts = {})
28
+ data, _status_code, _headers = library_create_with_http_info(use_case, create_library_request, opts)
29
+ data
30
+ end
31
+
32
+ # Create an upload slot in the account library. PUT the file to the returned uploadUrl with the same Content-Type, then use the returned url in emails and the editor.
33
+ # @param use_case [String] Library use-case
34
+ # @param create_library_request [CreateLibraryRequest]
35
+ # @param [Hash] opts the optional parameters
36
+ # @return [Array<(CreateLibraryResponse, Integer, Hash)>] CreateLibraryResponse data, response status code and response headers
37
+ def library_create_with_http_info(use_case, create_library_request, opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: LibraryApi.library_create ...'
40
+ end
41
+ # verify the required parameter 'use_case' is set
42
+ if @api_client.config.client_side_validation && use_case.nil?
43
+ fail ArgumentError, "Missing the required parameter 'use_case' when calling LibraryApi.library_create"
44
+ end
45
+ # verify the required parameter 'create_library_request' is set
46
+ if @api_client.config.client_side_validation && create_library_request.nil?
47
+ fail ArgumentError, "Missing the required parameter 'create_library_request' when calling LibraryApi.library_create"
48
+ end
49
+ # resource path
50
+ local_var_path = '/library/{useCase}'.sub('{' + 'useCase' + '}', CGI.escape(use_case.to_s))
51
+
52
+ # query parameters
53
+ query_params = opts[:query_params] || {}
54
+
55
+ # header parameters
56
+ header_params = opts[:header_params] || {}
57
+ # HTTP header 'Accept' (if needed)
58
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
59
+ # HTTP header 'Content-Type'
60
+ content_type = @api_client.select_header_content_type(['application/json'])
61
+ if !content_type.nil?
62
+ header_params['Content-Type'] = content_type
63
+ end
64
+
65
+ # form parameters
66
+ form_params = opts[:form_params] || {}
67
+
68
+ # http body (model)
69
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(create_library_request)
70
+
71
+ # return_type
72
+ return_type = opts[:debug_return_type] || 'CreateLibraryResponse'
73
+
74
+ # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
75
+ auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
76
+
77
+ new_options = opts.merge(
78
+ :operation => :"LibraryApi.library_create",
79
+ :header_params => header_params,
80
+ :query_params => query_params,
81
+ :form_params => form_params,
82
+ :body => post_body,
83
+ :auth_names => auth_names,
84
+ :return_type => return_type
85
+ )
86
+
87
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
88
+ if @api_client.config.debugging
89
+ @api_client.config.logger.debug "API called: LibraryApi#library_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
90
+ end
91
+ return data, status_code, headers
92
+ end
93
+
94
+ # List files in the account library for a use-case, newest first. Paginate with limit (default 50, max 100) and nextToken.
95
+ # @param use_case [String] Library use-case
96
+ # @param [Hash] opts the optional parameters
97
+ # @option opts [Float] :limit Max items to return (default 50)
98
+ # @option opts [String] :next_token Pagination token
99
+ # @return [ListLibraryResponse]
100
+ def library_list(use_case, opts = {})
101
+ data, _status_code, _headers = library_list_with_http_info(use_case, opts)
102
+ data
103
+ end
104
+
105
+ # List files in the account library for a use-case, newest first. Paginate with limit (default 50, max 100) and nextToken.
106
+ # @param use_case [String] Library use-case
107
+ # @param [Hash] opts the optional parameters
108
+ # @option opts [Float] :limit Max items to return (default 50)
109
+ # @option opts [String] :next_token Pagination token
110
+ # @return [Array<(ListLibraryResponse, Integer, Hash)>] ListLibraryResponse data, response status code and response headers
111
+ def library_list_with_http_info(use_case, opts = {})
112
+ if @api_client.config.debugging
113
+ @api_client.config.logger.debug 'Calling API: LibraryApi.library_list ...'
114
+ end
115
+ # verify the required parameter 'use_case' is set
116
+ if @api_client.config.client_side_validation && use_case.nil?
117
+ fail ArgumentError, "Missing the required parameter 'use_case' when calling LibraryApi.library_list"
118
+ end
119
+ # resource path
120
+ local_var_path = '/library/{useCase}'.sub('{' + 'useCase' + '}', CGI.escape(use_case.to_s))
121
+
122
+ # query parameters
123
+ query_params = opts[:query_params] || {}
124
+ query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
125
+ query_params[:'nextToken'] = opts[:'next_token'] if !opts[:'next_token'].nil?
126
+
127
+ # header parameters
128
+ header_params = opts[:header_params] || {}
129
+ # HTTP header 'Accept' (if needed)
130
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
131
+
132
+ # form parameters
133
+ form_params = opts[:form_params] || {}
134
+
135
+ # http body (model)
136
+ post_body = opts[:debug_body]
137
+
138
+ # return_type
139
+ return_type = opts[:debug_return_type] || 'ListLibraryResponse'
140
+
141
+ # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
142
+ auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
143
+
144
+ new_options = opts.merge(
145
+ :operation => :"LibraryApi.library_list",
146
+ :header_params => header_params,
147
+ :query_params => query_params,
148
+ :form_params => form_params,
149
+ :body => post_body,
150
+ :auth_names => auth_names,
151
+ :return_type => return_type
152
+ )
153
+
154
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
155
+ if @api_client.config.debugging
156
+ @api_client.config.logger.debug "API called: LibraryApi#library_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
157
+ end
158
+ return data, status_code, headers
159
+ end
160
+ end
161
+ end
@@ -0,0 +1,167 @@
1
+ =begin
2
+ #Pingram
3
+
4
+ #Internal API for notification delivery and management
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module Pingram
16
+ class SubNotificationsApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # This endpoint is no longer maintained and should not be used.
23
+ # @param notification_id [String] The notification ID
24
+ # @param sub_notification_id [String] The sub-notification ID
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [nil]
27
+ def sub_notifications_delete_sub_notification(notification_id, sub_notification_id, opts = {})
28
+ sub_notifications_delete_sub_notification_with_http_info(notification_id, sub_notification_id, opts)
29
+ nil
30
+ end
31
+
32
+ # This endpoint is no longer maintained and should not be used.
33
+ # @param notification_id [String] The notification ID
34
+ # @param sub_notification_id [String] The sub-notification ID
35
+ # @param [Hash] opts the optional parameters
36
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
37
+ def sub_notifications_delete_sub_notification_with_http_info(notification_id, sub_notification_id, opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: SubNotificationsApi.sub_notifications_delete_sub_notification ...'
40
+ end
41
+ # verify the required parameter 'notification_id' is set
42
+ if @api_client.config.client_side_validation && notification_id.nil?
43
+ fail ArgumentError, "Missing the required parameter 'notification_id' when calling SubNotificationsApi.sub_notifications_delete_sub_notification"
44
+ end
45
+ # verify the required parameter 'sub_notification_id' is set
46
+ if @api_client.config.client_side_validation && sub_notification_id.nil?
47
+ fail ArgumentError, "Missing the required parameter 'sub_notification_id' when calling SubNotificationsApi.sub_notifications_delete_sub_notification"
48
+ end
49
+ # resource path
50
+ local_var_path = '/notifications/{notificationId}/subNotifications/{subNotificationId}'.sub('{' + 'notificationId' + '}', CGI.escape(notification_id.to_s)).sub('{' + 'subNotificationId' + '}', CGI.escape(sub_notification_id.to_s))
51
+
52
+ # query parameters
53
+ query_params = opts[:query_params] || {}
54
+
55
+ # header parameters
56
+ header_params = opts[:header_params] || {}
57
+ # HTTP header 'Accept' (if needed)
58
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
59
+
60
+ # form parameters
61
+ form_params = opts[:form_params] || {}
62
+
63
+ # http body (model)
64
+ post_body = opts[:debug_body]
65
+
66
+ # return_type
67
+ return_type = opts[:debug_return_type]
68
+
69
+ # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
70
+ auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
71
+
72
+ new_options = opts.merge(
73
+ :operation => :"SubNotificationsApi.sub_notifications_delete_sub_notification",
74
+ :header_params => header_params,
75
+ :query_params => query_params,
76
+ :form_params => form_params,
77
+ :body => post_body,
78
+ :auth_names => auth_names,
79
+ :return_type => return_type
80
+ )
81
+
82
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
83
+ if @api_client.config.debugging
84
+ @api_client.config.logger.debug "API called: SubNotificationsApi#sub_notifications_delete_sub_notification\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
+ end
86
+ return data, status_code, headers
87
+ end
88
+
89
+ # This endpoint is no longer maintained and should not be used.
90
+ # @param notification_id [String] The notification ID
91
+ # @param sub_notification_id [String] The sub-notification ID
92
+ # @param sub_notification_put_request [SubNotificationPUTRequest]
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [SubNotification]
95
+ def sub_notifications_put_sub_notification(notification_id, sub_notification_id, sub_notification_put_request, opts = {})
96
+ data, _status_code, _headers = sub_notifications_put_sub_notification_with_http_info(notification_id, sub_notification_id, sub_notification_put_request, opts)
97
+ data
98
+ end
99
+
100
+ # This endpoint is no longer maintained and should not be used.
101
+ # @param notification_id [String] The notification ID
102
+ # @param sub_notification_id [String] The sub-notification ID
103
+ # @param sub_notification_put_request [SubNotificationPUTRequest]
104
+ # @param [Hash] opts the optional parameters
105
+ # @return [Array<(SubNotification, Integer, Hash)>] SubNotification data, response status code and response headers
106
+ def sub_notifications_put_sub_notification_with_http_info(notification_id, sub_notification_id, sub_notification_put_request, opts = {})
107
+ if @api_client.config.debugging
108
+ @api_client.config.logger.debug 'Calling API: SubNotificationsApi.sub_notifications_put_sub_notification ...'
109
+ end
110
+ # verify the required parameter 'notification_id' is set
111
+ if @api_client.config.client_side_validation && notification_id.nil?
112
+ fail ArgumentError, "Missing the required parameter 'notification_id' when calling SubNotificationsApi.sub_notifications_put_sub_notification"
113
+ end
114
+ # verify the required parameter 'sub_notification_id' is set
115
+ if @api_client.config.client_side_validation && sub_notification_id.nil?
116
+ fail ArgumentError, "Missing the required parameter 'sub_notification_id' when calling SubNotificationsApi.sub_notifications_put_sub_notification"
117
+ end
118
+ # verify the required parameter 'sub_notification_put_request' is set
119
+ if @api_client.config.client_side_validation && sub_notification_put_request.nil?
120
+ fail ArgumentError, "Missing the required parameter 'sub_notification_put_request' when calling SubNotificationsApi.sub_notifications_put_sub_notification"
121
+ end
122
+ # resource path
123
+ local_var_path = '/notifications/{notificationId}/subNotifications/{subNotificationId}'.sub('{' + 'notificationId' + '}', CGI.escape(notification_id.to_s)).sub('{' + 'subNotificationId' + '}', CGI.escape(sub_notification_id.to_s))
124
+
125
+ # query parameters
126
+ query_params = opts[:query_params] || {}
127
+
128
+ # header parameters
129
+ header_params = opts[:header_params] || {}
130
+ # HTTP header 'Accept' (if needed)
131
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
132
+ # HTTP header 'Content-Type'
133
+ content_type = @api_client.select_header_content_type(['application/json'])
134
+ if !content_type.nil?
135
+ header_params['Content-Type'] = content_type
136
+ end
137
+
138
+ # form parameters
139
+ form_params = opts[:form_params] || {}
140
+
141
+ # http body (model)
142
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(sub_notification_put_request)
143
+
144
+ # return_type
145
+ return_type = opts[:debug_return_type] || 'SubNotification'
146
+
147
+ # auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
148
+ auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
149
+
150
+ new_options = opts.merge(
151
+ :operation => :"SubNotificationsApi.sub_notifications_put_sub_notification",
152
+ :header_params => header_params,
153
+ :query_params => query_params,
154
+ :form_params => form_params,
155
+ :body => post_body,
156
+ :auth_names => auth_names,
157
+ :return_type => return_type
158
+ )
159
+
160
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
161
+ if @api_client.config.debugging
162
+ @api_client.config.logger.debug "API called: SubNotificationsApi#sub_notifications_put_sub_notification\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
163
+ end
164
+ return data, status_code, headers
165
+ end
166
+ end
167
+ end
@@ -32,7 +32,7 @@ module Pingram
32
32
  # @option config [Configuration] Configuration for initializing the object, default to Configuration.default
33
33
  def initialize(config = Configuration.default)
34
34
  @config = config
35
- @user_agent = "pingram-ruby/1.0.31"
35
+ @user_agent = "pingram-ruby/1.0.33"
36
36
  @default_headers = {
37
37
  'Content-Type' => 'application/json',
38
38
  'User-Agent' => @user_agent
@@ -14,6 +14,8 @@ require_relative 'api/accounts_api'
14
14
 
15
15
  require_relative 'api/addresses_api'
16
16
 
17
+ require_relative 'api/broadcasts_api'
18
+
17
19
  require_relative 'api/components_api'
18
20
 
19
21
  require_relative 'api/default_api'
@@ -32,6 +34,8 @@ require_relative 'api/insights_api'
32
34
 
33
35
  require_relative 'api/keys_api'
34
36
 
37
+ require_relative 'api/library_api'
38
+
35
39
  require_relative 'api/logs_api'
36
40
 
37
41
  require_relative 'api/members_api'
@@ -46,6 +50,8 @@ require_relative 'api/sender_api'
46
50
 
47
51
  require_relative 'api/sms_api'
48
52
 
53
+ require_relative 'api/sub_notifications_api'
54
+
49
55
  require_relative 'api/templates_api'
50
56
 
51
57
  require_relative 'api/types_api'
@@ -92,6 +98,8 @@ module Pingram
92
98
 
93
99
  @addresses = Pingram::AddressesApi.new(@api_client)
94
100
 
101
+ @broadcasts = Pingram::BroadcastsApi.new(@api_client)
102
+
95
103
  @components = Pingram::ComponentsApi.new(@api_client)
96
104
 
97
105
  @default_api = Pingram::DefaultApi.new(@api_client)
@@ -110,6 +118,8 @@ module Pingram
110
118
 
111
119
  @keys = Pingram::KeysApi.new(@api_client)
112
120
 
121
+ @library = Pingram::LibraryApi.new(@api_client)
122
+
113
123
  @logs = Pingram::LogsApi.new(@api_client)
114
124
 
115
125
  @members = Pingram::MembersApi.new(@api_client)
@@ -124,6 +134,8 @@ module Pingram
124
134
 
125
135
  @sms = Pingram::SmsApi.new(@api_client)
126
136
 
137
+ @sub_notifications = Pingram::SubNotificationsApi.new(@api_client)
138
+
127
139
  @templates = Pingram::TemplatesApi.new(@api_client)
128
140
 
129
141
  @types = Pingram::TypesApi.new(@api_client)
@@ -157,6 +169,12 @@ module Pingram
157
169
  end
158
170
 
159
171
 
172
+ # @return [Pingram::BroadcastsApi]
173
+ def broadcasts
174
+ @broadcasts
175
+ end
176
+
177
+
160
178
  # @return [Pingram::ComponentsApi]
161
179
  def components
162
180
  @components
@@ -211,6 +229,12 @@ module Pingram
211
229
  end
212
230
 
213
231
 
232
+ # @return [Pingram::LibraryApi]
233
+ def library
234
+ @library
235
+ end
236
+
237
+
214
238
  # @return [Pingram::LogsApi]
215
239
  def logs
216
240
  @logs
@@ -253,6 +277,12 @@ module Pingram
253
277
  end
254
278
 
255
279
 
280
+ # @return [Pingram::SubNotificationsApi]
281
+ def sub_notifications
282
+ @sub_notifications
283
+ end
284
+
285
+
256
286
  # @return [Pingram::TemplatesApi]
257
287
  def templates
258
288
  @templates