purecloud 0.0.0 → 0.17.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/config-ruby.json +1 -1
- data/lib/purecloud/api/analytics_api.rb +57 -57
- data/lib/purecloud/api/architect_api.rb +16 -16
- data/lib/purecloud/api/attributes_api.rb +33 -33
- data/lib/purecloud/api/authorization_api.rb +53 -53
- data/lib/purecloud/api/compliance_api.rb +5 -5
- data/lib/purecloud/api/configuration_api.rb +303 -303
- data/lib/purecloud/api/content_management_api.rb +215 -215
- data/lib/purecloud/api/conversations_api.rb +159 -159
- data/lib/purecloud/api/downloads_api.rb +6 -6
- data/lib/purecloud/api/fax_api.rb +6 -6
- data/lib/purecloud/api/geolocation_api.rb +24 -24
- data/lib/purecloud/api/greetings_api.rb +56 -56
- data/lib/purecloud/api/groups_api.rb +17 -17
- data/lib/purecloud/api/languages_api.rb +11 -11
- data/lib/purecloud/api/licensing_api.rb +17 -17
- data/lib/purecloud/api/locations_api.rb +11 -11
- data/lib/purecloud/api/notifications_api.rb +17 -17
- data/lib/purecloud/api/o_auth_api.rb +97 -97
- data/lib/purecloud/api/orphaned_recordings_api.rb +17 -17
- data/lib/purecloud/api/outbound_api.rb +259 -259
- data/lib/purecloud/api/presence_api.rb +53 -53
- data/lib/purecloud/api/quality_api.rb +101 -101
- data/lib/purecloud/api/routing_api.rb +125 -125
- data/lib/purecloud/api/scripts_api.rb +60 -60
- data/lib/purecloud/api/search_api.rb +5 -5
- data/lib/purecloud/api/stations_api.rb +17 -17
- data/lib/purecloud/api/telephony_providers_edge_api.rb +212 -212
- data/lib/purecloud/api/user_recordings_api.rb +34 -34
- data/lib/purecloud/api/users_api.rb +123 -123
- data/lib/purecloud/api/utilities_api.rb +15 -15
- data/lib/purecloud/api/voicemail_api.rb +29 -29
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +2 -2
@@ -15,8 +15,8 @@ module PureCloud
|
|
15
15
|
# @option opts [Integer] :page_number Page number
|
16
16
|
# @option opts [String] :name Name
|
17
17
|
# @return [GroupEntityListing]
|
18
|
-
def
|
19
|
-
data, status_code, headers =
|
18
|
+
def get(opts = {})
|
19
|
+
data, status_code, headers = get_with_http_info(opts)
|
20
20
|
return data
|
21
21
|
end
|
22
22
|
|
@@ -27,9 +27,9 @@ module PureCloud
|
|
27
27
|
# @option opts [Integer] :page_number Page number
|
28
28
|
# @option opts [String] :name Name
|
29
29
|
# @return [Array<(GroupEntityListing, Fixnum, Hash)>] GroupEntityListing data, response status code and response headers
|
30
|
-
def
|
30
|
+
def get_with_http_info(opts = {})
|
31
31
|
if @api_client.config.debugging
|
32
|
-
@api_client.config.logger.debug "Calling API: GroupsApi#
|
32
|
+
@api_client.config.logger.debug "Calling API: GroupsApi#get ..."
|
33
33
|
end
|
34
34
|
|
35
35
|
# resource path
|
@@ -68,7 +68,7 @@ module PureCloud
|
|
68
68
|
:auth_names => auth_names,
|
69
69
|
:return_type => 'GroupEntityListing')
|
70
70
|
if @api_client.config.debugging
|
71
|
-
@api_client.config.logger.debug "API called: GroupsApi#
|
71
|
+
@api_client.config.logger.debug "API called: GroupsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
72
72
|
end
|
73
73
|
return data, status_code, headers
|
74
74
|
end
|
@@ -78,8 +78,8 @@ module PureCloud
|
|
78
78
|
# @param group_id Group ID
|
79
79
|
# @param [Hash] opts the optional parameters
|
80
80
|
# @return [Group]
|
81
|
-
def
|
82
|
-
data, status_code, headers =
|
81
|
+
def get_group(group_id, opts = {})
|
82
|
+
data, status_code, headers = get_group_with_http_info(group_id, opts)
|
83
83
|
return data
|
84
84
|
end
|
85
85
|
|
@@ -88,13 +88,13 @@ module PureCloud
|
|
88
88
|
# @param group_id Group ID
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
90
|
# @return [Array<(Group, Fixnum, Hash)>] Group data, response status code and response headers
|
91
|
-
def
|
91
|
+
def get_group_with_http_info(group_id, opts = {})
|
92
92
|
if @api_client.config.debugging
|
93
|
-
@api_client.config.logger.debug "Calling API: GroupsApi#
|
93
|
+
@api_client.config.logger.debug "Calling API: GroupsApi#get_group ..."
|
94
94
|
end
|
95
95
|
|
96
96
|
# verify the required parameter 'group_id' is set
|
97
|
-
fail "Missing the required parameter 'group_id' when calling
|
97
|
+
fail "Missing the required parameter 'group_id' when calling get_group" if group_id.nil?
|
98
98
|
|
99
99
|
# resource path
|
100
100
|
path = "/api/v1/groups/{groupId}".sub('{format}','json').sub('{' + 'groupId' + '}', group_id.to_s)
|
@@ -129,7 +129,7 @@ module PureCloud
|
|
129
129
|
:auth_names => auth_names,
|
130
130
|
:return_type => 'Group')
|
131
131
|
if @api_client.config.debugging
|
132
|
-
@api_client.config.logger.debug "API called: GroupsApi#
|
132
|
+
@api_client.config.logger.debug "API called: GroupsApi#get_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
133
133
|
end
|
134
134
|
return data, status_code, headers
|
135
135
|
end
|
@@ -141,8 +141,8 @@ module PureCloud
|
|
141
141
|
# @option opts [Integer] :page_size Page size
|
142
142
|
# @option opts [Integer] :page_number Page number
|
143
143
|
# @return [UserEntityListing]
|
144
|
-
def
|
145
|
-
data, status_code, headers =
|
144
|
+
def get_group_members(group_id, opts = {})
|
145
|
+
data, status_code, headers = get_group_members_with_http_info(group_id, opts)
|
146
146
|
return data
|
147
147
|
end
|
148
148
|
|
@@ -153,13 +153,13 @@ module PureCloud
|
|
153
153
|
# @option opts [Integer] :page_size Page size
|
154
154
|
# @option opts [Integer] :page_number Page number
|
155
155
|
# @return [Array<(UserEntityListing, Fixnum, Hash)>] UserEntityListing data, response status code and response headers
|
156
|
-
def
|
156
|
+
def get_group_members_with_http_info(group_id, opts = {})
|
157
157
|
if @api_client.config.debugging
|
158
|
-
@api_client.config.logger.debug "Calling API: GroupsApi#
|
158
|
+
@api_client.config.logger.debug "Calling API: GroupsApi#get_group_members ..."
|
159
159
|
end
|
160
160
|
|
161
161
|
# verify the required parameter 'group_id' is set
|
162
|
-
fail "Missing the required parameter 'group_id' when calling
|
162
|
+
fail "Missing the required parameter 'group_id' when calling get_group_members" if group_id.nil?
|
163
163
|
|
164
164
|
# resource path
|
165
165
|
path = "/api/v1/groups/{groupId}/members".sub('{format}','json').sub('{' + 'groupId' + '}', group_id.to_s)
|
@@ -196,7 +196,7 @@ module PureCloud
|
|
196
196
|
:auth_names => auth_names,
|
197
197
|
:return_type => 'UserEntityListing')
|
198
198
|
if @api_client.config.debugging
|
199
|
-
@api_client.config.logger.debug "API called: GroupsApi#
|
199
|
+
@api_client.config.logger.debug "API called: GroupsApi#get_group_members\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
200
200
|
end
|
201
201
|
return data, status_code, headers
|
202
202
|
end
|
@@ -14,8 +14,8 @@ module PureCloud
|
|
14
14
|
# @option opts [Integer] :page_size Page size
|
15
15
|
# @option opts [Integer] :page_number Page number
|
16
16
|
# @return [LanguageEntityListing]
|
17
|
-
def
|
18
|
-
data, status_code, headers =
|
17
|
+
def get(opts = {})
|
18
|
+
data, status_code, headers = get_with_http_info(opts)
|
19
19
|
return data
|
20
20
|
end
|
21
21
|
|
@@ -25,9 +25,9 @@ module PureCloud
|
|
25
25
|
# @option opts [Integer] :page_size Page size
|
26
26
|
# @option opts [Integer] :page_number Page number
|
27
27
|
# @return [Array<(LanguageEntityListing, Fixnum, Hash)>] LanguageEntityListing data, response status code and response headers
|
28
|
-
def
|
28
|
+
def get_with_http_info(opts = {})
|
29
29
|
if @api_client.config.debugging
|
30
|
-
@api_client.config.logger.debug "Calling API: LanguagesApi#
|
30
|
+
@api_client.config.logger.debug "Calling API: LanguagesApi#get ..."
|
31
31
|
end
|
32
32
|
|
33
33
|
# resource path
|
@@ -65,7 +65,7 @@ module PureCloud
|
|
65
65
|
:auth_names => auth_names,
|
66
66
|
:return_type => 'LanguageEntityListing')
|
67
67
|
if @api_client.config.debugging
|
68
|
-
@api_client.config.logger.debug "API called: LanguagesApi#
|
68
|
+
@api_client.config.logger.debug "API called: LanguagesApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
69
69
|
end
|
70
70
|
return data, status_code, headers
|
71
71
|
end
|
@@ -75,8 +75,8 @@ module PureCloud
|
|
75
75
|
# @param language_id Language ID
|
76
76
|
# @param [Hash] opts the optional parameters
|
77
77
|
# @return [Language]
|
78
|
-
def
|
79
|
-
data, status_code, headers =
|
78
|
+
def get_language(language_id, opts = {})
|
79
|
+
data, status_code, headers = get_language_with_http_info(language_id, opts)
|
80
80
|
return data
|
81
81
|
end
|
82
82
|
|
@@ -85,13 +85,13 @@ module PureCloud
|
|
85
85
|
# @param language_id Language ID
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @return [Array<(Language, Fixnum, Hash)>] Language data, response status code and response headers
|
88
|
-
def
|
88
|
+
def get_language_with_http_info(language_id, opts = {})
|
89
89
|
if @api_client.config.debugging
|
90
|
-
@api_client.config.logger.debug "Calling API: LanguagesApi#
|
90
|
+
@api_client.config.logger.debug "Calling API: LanguagesApi#get_language ..."
|
91
91
|
end
|
92
92
|
|
93
93
|
# verify the required parameter 'language_id' is set
|
94
|
-
fail "Missing the required parameter 'language_id' when calling
|
94
|
+
fail "Missing the required parameter 'language_id' when calling get_language" if language_id.nil?
|
95
95
|
|
96
96
|
# resource path
|
97
97
|
path = "/api/v1/languages/{languageId}".sub('{format}','json').sub('{' + 'languageId' + '}', language_id.to_s)
|
@@ -126,7 +126,7 @@ module PureCloud
|
|
126
126
|
:auth_names => auth_names,
|
127
127
|
:return_type => 'Language')
|
128
128
|
if @api_client.config.debugging
|
129
|
-
@api_client.config.logger.debug "API called: LanguagesApi#
|
129
|
+
@api_client.config.logger.debug "API called: LanguagesApi#get_language\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
130
130
|
end
|
131
131
|
return data, status_code, headers
|
132
132
|
end
|
@@ -128,8 +128,8 @@ module PureCloud
|
|
128
128
|
# @param id ID
|
129
129
|
# @param [Hash] opts the optional parameters
|
130
130
|
# @return [OrgLicenseAssignment]
|
131
|
-
def
|
132
|
-
data, status_code, headers =
|
131
|
+
def get_orgassignments_id(id, opts = {})
|
132
|
+
data, status_code, headers = get_orgassignments_id_with_http_info(id, opts)
|
133
133
|
return data
|
134
134
|
end
|
135
135
|
|
@@ -138,13 +138,13 @@ module PureCloud
|
|
138
138
|
# @param id ID
|
139
139
|
# @param [Hash] opts the optional parameters
|
140
140
|
# @return [Array<(OrgLicenseAssignment, Fixnum, Hash)>] OrgLicenseAssignment data, response status code and response headers
|
141
|
-
def
|
141
|
+
def get_orgassignments_id_with_http_info(id, opts = {})
|
142
142
|
if @api_client.config.debugging
|
143
|
-
@api_client.config.logger.debug "Calling API: LicensingApi#
|
143
|
+
@api_client.config.logger.debug "Calling API: LicensingApi#get_orgassignments_id ..."
|
144
144
|
end
|
145
145
|
|
146
146
|
# verify the required parameter 'id' is set
|
147
|
-
fail "Missing the required parameter 'id' when calling
|
147
|
+
fail "Missing the required parameter 'id' when calling get_orgassignments_id" if id.nil?
|
148
148
|
|
149
149
|
# resource path
|
150
150
|
path = "/api/v1/licensing/orgassignments/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
@@ -179,7 +179,7 @@ module PureCloud
|
|
179
179
|
:auth_names => auth_names,
|
180
180
|
:return_type => 'OrgLicenseAssignment')
|
181
181
|
if @api_client.config.debugging
|
182
|
-
@api_client.config.logger.debug "API called: LicensingApi#
|
182
|
+
@api_client.config.logger.debug "API called: LicensingApi#get_orgassignments_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
183
183
|
end
|
184
184
|
return data, status_code, headers
|
185
185
|
end
|
@@ -249,8 +249,8 @@ module PureCloud
|
|
249
249
|
# @option opts [Array<String>] :id ID
|
250
250
|
# @option opts [Permissions] :body The permissions details
|
251
251
|
# @return [Array<LicensesByPermission>]
|
252
|
-
def
|
253
|
-
data, status_code, headers =
|
252
|
+
def create_permissions(opts = {})
|
253
|
+
data, status_code, headers = create_permissions_with_http_info(opts)
|
254
254
|
return data
|
255
255
|
end
|
256
256
|
|
@@ -260,9 +260,9 @@ module PureCloud
|
|
260
260
|
# @option opts [Array<String>] :id ID
|
261
261
|
# @option opts [Permissions] :body The permissions details
|
262
262
|
# @return [Array<(Array<LicensesByPermission>, Fixnum, Hash)>] Array<LicensesByPermission> data, response status code and response headers
|
263
|
-
def
|
263
|
+
def create_permissions_with_http_info(opts = {})
|
264
264
|
if @api_client.config.debugging
|
265
|
-
@api_client.config.logger.debug "Calling API: LicensingApi#
|
265
|
+
@api_client.config.logger.debug "Calling API: LicensingApi#create_permissions ..."
|
266
266
|
end
|
267
267
|
|
268
268
|
# resource path
|
@@ -299,7 +299,7 @@ module PureCloud
|
|
299
299
|
:auth_names => auth_names,
|
300
300
|
:return_type => 'Array<LicensesByPermission>')
|
301
301
|
if @api_client.config.debugging
|
302
|
-
@api_client.config.logger.debug "API called: LicensingApi#
|
302
|
+
@api_client.config.logger.debug "API called: LicensingApi#create_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
303
303
|
end
|
304
304
|
return data, status_code, headers
|
305
305
|
end
|
@@ -365,8 +365,8 @@ module PureCloud
|
|
365
365
|
# @param id ID
|
366
366
|
# @param [Hash] opts the optional parameters
|
367
367
|
# @return [UserLicenseAssignment]
|
368
|
-
def
|
369
|
-
data, status_code, headers =
|
368
|
+
def get_userassignments_id(id, opts = {})
|
369
|
+
data, status_code, headers = get_userassignments_id_with_http_info(id, opts)
|
370
370
|
return data
|
371
371
|
end
|
372
372
|
|
@@ -375,13 +375,13 @@ module PureCloud
|
|
375
375
|
# @param id ID
|
376
376
|
# @param [Hash] opts the optional parameters
|
377
377
|
# @return [Array<(UserLicenseAssignment, Fixnum, Hash)>] UserLicenseAssignment data, response status code and response headers
|
378
|
-
def
|
378
|
+
def get_userassignments_id_with_http_info(id, opts = {})
|
379
379
|
if @api_client.config.debugging
|
380
|
-
@api_client.config.logger.debug "Calling API: LicensingApi#
|
380
|
+
@api_client.config.logger.debug "Calling API: LicensingApi#get_userassignments_id ..."
|
381
381
|
end
|
382
382
|
|
383
383
|
# verify the required parameter 'id' is set
|
384
|
-
fail "Missing the required parameter 'id' when calling
|
384
|
+
fail "Missing the required parameter 'id' when calling get_userassignments_id" if id.nil?
|
385
385
|
|
386
386
|
# resource path
|
387
387
|
path = "/api/v1/licensing/userassignments/{id}".sub('{format}','json').sub('{' + 'id' + '}', id.to_s)
|
@@ -416,7 +416,7 @@ module PureCloud
|
|
416
416
|
:auth_names => auth_names,
|
417
417
|
:return_type => 'UserLicenseAssignment')
|
418
418
|
if @api_client.config.debugging
|
419
|
-
@api_client.config.logger.debug "API called: LicensingApi#
|
419
|
+
@api_client.config.logger.debug "API called: LicensingApi#get_userassignments_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
420
420
|
end
|
421
421
|
return data, status_code, headers
|
422
422
|
end
|
@@ -16,8 +16,8 @@ module PureCloud
|
|
16
16
|
# @option opts [Integer] :page_size Page size
|
17
17
|
# @option opts [Integer] :page_number Page number
|
18
18
|
# @return [LocationEntityListing]
|
19
|
-
def
|
20
|
-
data, status_code, headers =
|
19
|
+
def get(opts = {})
|
20
|
+
data, status_code, headers = get_with_http_info(opts)
|
21
21
|
return data
|
22
22
|
end
|
23
23
|
|
@@ -29,9 +29,9 @@ module PureCloud
|
|
29
29
|
# @option opts [Integer] :page_size Page size
|
30
30
|
# @option opts [Integer] :page_number Page number
|
31
31
|
# @return [Array<(LocationEntityListing, Fixnum, Hash)>] LocationEntityListing data, response status code and response headers
|
32
|
-
def
|
32
|
+
def get_with_http_info(opts = {})
|
33
33
|
if @api_client.config.debugging
|
34
|
-
@api_client.config.logger.debug "Calling API: LocationsApi#
|
34
|
+
@api_client.config.logger.debug "Calling API: LocationsApi#get ..."
|
35
35
|
end
|
36
36
|
|
37
37
|
if opts[:'state'] && !['ACTIVE', 'DELETED'].include?(opts[:'state'])
|
@@ -75,7 +75,7 @@ module PureCloud
|
|
75
75
|
:auth_names => auth_names,
|
76
76
|
:return_type => 'LocationEntityListing')
|
77
77
|
if @api_client.config.debugging
|
78
|
-
@api_client.config.logger.debug "API called: LocationsApi#
|
78
|
+
@api_client.config.logger.debug "API called: LocationsApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
79
79
|
end
|
80
80
|
return data, status_code, headers
|
81
81
|
end
|
@@ -85,8 +85,8 @@ module PureCloud
|
|
85
85
|
# @param location_id Location ID
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @return [Location]
|
88
|
-
def
|
89
|
-
data, status_code, headers =
|
88
|
+
def get_location(location_id, opts = {})
|
89
|
+
data, status_code, headers = get_location_with_http_info(location_id, opts)
|
90
90
|
return data
|
91
91
|
end
|
92
92
|
|
@@ -95,13 +95,13 @@ module PureCloud
|
|
95
95
|
# @param location_id Location ID
|
96
96
|
# @param [Hash] opts the optional parameters
|
97
97
|
# @return [Array<(Location, Fixnum, Hash)>] Location data, response status code and response headers
|
98
|
-
def
|
98
|
+
def get_location_with_http_info(location_id, opts = {})
|
99
99
|
if @api_client.config.debugging
|
100
|
-
@api_client.config.logger.debug "Calling API: LocationsApi#
|
100
|
+
@api_client.config.logger.debug "Calling API: LocationsApi#get_location ..."
|
101
101
|
end
|
102
102
|
|
103
103
|
# verify the required parameter 'location_id' is set
|
104
|
-
fail "Missing the required parameter 'location_id' when calling
|
104
|
+
fail "Missing the required parameter 'location_id' when calling get_location" if location_id.nil?
|
105
105
|
|
106
106
|
# resource path
|
107
107
|
path = "/api/v1/locations/{locationId}".sub('{format}','json').sub('{' + 'locationId' + '}', location_id.to_s)
|
@@ -136,7 +136,7 @@ module PureCloud
|
|
136
136
|
:auth_names => auth_names,
|
137
137
|
:return_type => 'Location')
|
138
138
|
if @api_client.config.debugging
|
139
|
-
@api_client.config.logger.debug "API called: LocationsApi#
|
139
|
+
@api_client.config.logger.debug "API called: LocationsApi#get_location\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
140
140
|
end
|
141
141
|
return data, status_code, headers
|
142
142
|
end
|
@@ -124,8 +124,8 @@ module PureCloud
|
|
124
124
|
# There is a limit of 10 channels. Creating an 11th channel will remove the channel with oldest last used date.
|
125
125
|
# @param [Hash] opts the optional parameters
|
126
126
|
# @return [Channel]
|
127
|
-
def
|
128
|
-
data, status_code, headers =
|
127
|
+
def create_channels(opts = {})
|
128
|
+
data, status_code, headers = create_channels_with_http_info(opts)
|
129
129
|
return data
|
130
130
|
end
|
131
131
|
|
@@ -133,9 +133,9 @@ module PureCloud
|
|
133
133
|
# There is a limit of 10 channels. Creating an 11th channel will remove the channel with oldest last used date.
|
134
134
|
# @param [Hash] opts the optional parameters
|
135
135
|
# @return [Array<(Channel, Fixnum, Hash)>] Channel data, response status code and response headers
|
136
|
-
def
|
136
|
+
def create_channels_with_http_info(opts = {})
|
137
137
|
if @api_client.config.debugging
|
138
|
-
@api_client.config.logger.debug "Calling API: NotificationsApi#
|
138
|
+
@api_client.config.logger.debug "Calling API: NotificationsApi#create_channels ..."
|
139
139
|
end
|
140
140
|
|
141
141
|
# resource path
|
@@ -171,7 +171,7 @@ module PureCloud
|
|
171
171
|
:auth_names => auth_names,
|
172
172
|
:return_type => 'Channel')
|
173
173
|
if @api_client.config.debugging
|
174
|
-
@api_client.config.logger.debug "API called: NotificationsApi#
|
174
|
+
@api_client.config.logger.debug "API called: NotificationsApi#create_channels\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
175
175
|
end
|
176
176
|
return data, status_code, headers
|
177
177
|
end
|
@@ -243,8 +243,8 @@ module PureCloud
|
|
243
243
|
# @param [Hash] opts the optional parameters
|
244
244
|
# @option opts [Array<ChannelTopic>] :body Topic
|
245
245
|
# @return [TopicEntityListing]
|
246
|
-
def
|
247
|
-
data, status_code, headers =
|
246
|
+
def update_channel_subscriptions(channel_id, opts = {})
|
247
|
+
data, status_code, headers = update_channel_subscriptions_with_http_info(channel_id, opts)
|
248
248
|
return data
|
249
249
|
end
|
250
250
|
|
@@ -254,13 +254,13 @@ module PureCloud
|
|
254
254
|
# @param [Hash] opts the optional parameters
|
255
255
|
# @option opts [Array<ChannelTopic>] :body Topic
|
256
256
|
# @return [Array<(TopicEntityListing, Fixnum, Hash)>] TopicEntityListing data, response status code and response headers
|
257
|
-
def
|
257
|
+
def update_channel_subscriptions_with_http_info(channel_id, opts = {})
|
258
258
|
if @api_client.config.debugging
|
259
|
-
@api_client.config.logger.debug "Calling API: NotificationsApi#
|
259
|
+
@api_client.config.logger.debug "Calling API: NotificationsApi#update_channel_subscriptions ..."
|
260
260
|
end
|
261
261
|
|
262
262
|
# verify the required parameter 'channel_id' is set
|
263
|
-
fail "Missing the required parameter 'channel_id' when calling
|
263
|
+
fail "Missing the required parameter 'channel_id' when calling update_channel_subscriptions" if channel_id.nil?
|
264
264
|
|
265
265
|
# resource path
|
266
266
|
path = "/api/v1/notifications/channels/{channelId}/subscriptions".sub('{format}','json').sub('{' + 'channelId' + '}', channel_id.to_s)
|
@@ -295,7 +295,7 @@ module PureCloud
|
|
295
295
|
:auth_names => auth_names,
|
296
296
|
:return_type => 'TopicEntityListing')
|
297
297
|
if @api_client.config.debugging
|
298
|
-
@api_client.config.logger.debug "API called: NotificationsApi#
|
298
|
+
@api_client.config.logger.debug "API called: NotificationsApi#update_channel_subscriptions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
299
299
|
end
|
300
300
|
return data, status_code, headers
|
301
301
|
end
|
@@ -306,8 +306,8 @@ module PureCloud
|
|
306
306
|
# @param [Hash] opts the optional parameters
|
307
307
|
# @option opts [Array<ChannelTopic>] :body Topic
|
308
308
|
# @return [TopicEntityListing]
|
309
|
-
def
|
310
|
-
data, status_code, headers =
|
309
|
+
def create_channel_subscriptions(channel_id, opts = {})
|
310
|
+
data, status_code, headers = create_channel_subscriptions_with_http_info(channel_id, opts)
|
311
311
|
return data
|
312
312
|
end
|
313
313
|
|
@@ -317,13 +317,13 @@ module PureCloud
|
|
317
317
|
# @param [Hash] opts the optional parameters
|
318
318
|
# @option opts [Array<ChannelTopic>] :body Topic
|
319
319
|
# @return [Array<(TopicEntityListing, Fixnum, Hash)>] TopicEntityListing data, response status code and response headers
|
320
|
-
def
|
320
|
+
def create_channel_subscriptions_with_http_info(channel_id, opts = {})
|
321
321
|
if @api_client.config.debugging
|
322
|
-
@api_client.config.logger.debug "Calling API: NotificationsApi#
|
322
|
+
@api_client.config.logger.debug "Calling API: NotificationsApi#create_channel_subscriptions ..."
|
323
323
|
end
|
324
324
|
|
325
325
|
# verify the required parameter 'channel_id' is set
|
326
|
-
fail "Missing the required parameter 'channel_id' when calling
|
326
|
+
fail "Missing the required parameter 'channel_id' when calling create_channel_subscriptions" if channel_id.nil?
|
327
327
|
|
328
328
|
# resource path
|
329
329
|
path = "/api/v1/notifications/channels/{channelId}/subscriptions".sub('{format}','json').sub('{' + 'channelId' + '}', channel_id.to_s)
|
@@ -358,7 +358,7 @@ module PureCloud
|
|
358
358
|
:auth_names => auth_names,
|
359
359
|
:return_type => 'TopicEntityListing')
|
360
360
|
if @api_client.config.debugging
|
361
|
-
@api_client.config.logger.debug "API called: NotificationsApi#
|
361
|
+
@api_client.config.logger.debug "API called: NotificationsApi#create_channel_subscriptions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
362
362
|
end
|
363
363
|
return data, status_code, headers
|
364
364
|
end
|
@@ -12,8 +12,8 @@ module PureCloud
|
|
12
12
|
#
|
13
13
|
# @param [Hash] opts the optional parameters
|
14
14
|
# @return [OAuthProviderEntityListing]
|
15
|
-
def
|
16
|
-
data, status_code, headers =
|
15
|
+
def get(opts = {})
|
16
|
+
data, status_code, headers = get_with_http_info(opts)
|
17
17
|
return data
|
18
18
|
end
|
19
19
|
|
@@ -21,9 +21,9 @@ module PureCloud
|
|
21
21
|
#
|
22
22
|
# @param [Hash] opts the optional parameters
|
23
23
|
# @return [Array<(OAuthProviderEntityListing, Fixnum, Hash)>] OAuthProviderEntityListing data, response status code and response headers
|
24
|
-
def
|
24
|
+
def get_with_http_info(opts = {})
|
25
25
|
if @api_client.config.debugging
|
26
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
26
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#get ..."
|
27
27
|
end
|
28
28
|
|
29
29
|
# resource path
|
@@ -59,7 +59,7 @@ module PureCloud
|
|
59
59
|
:auth_names => auth_names,
|
60
60
|
:return_type => 'OAuthProviderEntityListing')
|
61
61
|
if @api_client.config.debugging
|
62
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
62
|
+
@api_client.config.logger.debug "API called: OAuthApi#get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
63
63
|
end
|
64
64
|
return data, status_code, headers
|
65
65
|
end
|
@@ -68,8 +68,8 @@ module PureCloud
|
|
68
68
|
#
|
69
69
|
# @param [Hash] opts the optional parameters
|
70
70
|
# @return [Okta]
|
71
|
-
def
|
72
|
-
data, status_code, headers =
|
71
|
+
def get_okta(opts = {})
|
72
|
+
data, status_code, headers = get_okta_with_http_info(opts)
|
73
73
|
return data
|
74
74
|
end
|
75
75
|
|
@@ -77,9 +77,9 @@ module PureCloud
|
|
77
77
|
#
|
78
78
|
# @param [Hash] opts the optional parameters
|
79
79
|
# @return [Array<(Okta, Fixnum, Hash)>] Okta data, response status code and response headers
|
80
|
-
def
|
80
|
+
def get_okta_with_http_info(opts = {})
|
81
81
|
if @api_client.config.debugging
|
82
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
82
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#get_okta ..."
|
83
83
|
end
|
84
84
|
|
85
85
|
# resource path
|
@@ -115,7 +115,7 @@ module PureCloud
|
|
115
115
|
:auth_names => auth_names,
|
116
116
|
:return_type => 'Okta')
|
117
117
|
if @api_client.config.debugging
|
118
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
118
|
+
@api_client.config.logger.debug "API called: OAuthApi#get_okta\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
119
119
|
end
|
120
120
|
return data, status_code, headers
|
121
121
|
end
|
@@ -125,8 +125,8 @@ module PureCloud
|
|
125
125
|
# @param [Hash] opts the optional parameters
|
126
126
|
# @option opts [Okta] :body Provider
|
127
127
|
# @return [nil]
|
128
|
-
def
|
129
|
-
|
128
|
+
def update_okta(opts = {})
|
129
|
+
update_okta_with_http_info(opts)
|
130
130
|
return nil
|
131
131
|
end
|
132
132
|
|
@@ -135,9 +135,9 @@ module PureCloud
|
|
135
135
|
# @param [Hash] opts the optional parameters
|
136
136
|
# @option opts [Okta] :body Provider
|
137
137
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
138
|
-
def
|
138
|
+
def update_okta_with_http_info(opts = {})
|
139
139
|
if @api_client.config.debugging
|
140
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
140
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#update_okta ..."
|
141
141
|
end
|
142
142
|
|
143
143
|
# resource path
|
@@ -172,7 +172,7 @@ module PureCloud
|
|
172
172
|
:body => post_body,
|
173
173
|
:auth_names => auth_names)
|
174
174
|
if @api_client.config.debugging
|
175
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
175
|
+
@api_client.config.logger.debug "API called: OAuthApi#update_okta\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
176
176
|
end
|
177
177
|
return data, status_code, headers
|
178
178
|
end
|
@@ -181,8 +181,8 @@ module PureCloud
|
|
181
181
|
#
|
182
182
|
# @param [Hash] opts the optional parameters
|
183
183
|
# @return [nil]
|
184
|
-
def
|
185
|
-
|
184
|
+
def delete_okta(opts = {})
|
185
|
+
delete_okta_with_http_info(opts)
|
186
186
|
return nil
|
187
187
|
end
|
188
188
|
|
@@ -190,9 +190,9 @@ module PureCloud
|
|
190
190
|
#
|
191
191
|
# @param [Hash] opts the optional parameters
|
192
192
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
193
|
-
def
|
193
|
+
def delete_okta_with_http_info(opts = {})
|
194
194
|
if @api_client.config.debugging
|
195
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
195
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#delete_okta ..."
|
196
196
|
end
|
197
197
|
|
198
198
|
# resource path
|
@@ -227,7 +227,7 @@ module PureCloud
|
|
227
227
|
:body => post_body,
|
228
228
|
:auth_names => auth_names)
|
229
229
|
if @api_client.config.debugging
|
230
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
230
|
+
@api_client.config.logger.debug "API called: OAuthApi#delete_okta\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
231
231
|
end
|
232
232
|
return data, status_code, headers
|
233
233
|
end
|
@@ -236,8 +236,8 @@ module PureCloud
|
|
236
236
|
#
|
237
237
|
# @param [Hash] opts the optional parameters
|
238
238
|
# @return [OneLogin]
|
239
|
-
def
|
240
|
-
data, status_code, headers =
|
239
|
+
def get_onelogin(opts = {})
|
240
|
+
data, status_code, headers = get_onelogin_with_http_info(opts)
|
241
241
|
return data
|
242
242
|
end
|
243
243
|
|
@@ -245,9 +245,9 @@ module PureCloud
|
|
245
245
|
#
|
246
246
|
# @param [Hash] opts the optional parameters
|
247
247
|
# @return [Array<(OneLogin, Fixnum, Hash)>] OneLogin data, response status code and response headers
|
248
|
-
def
|
248
|
+
def get_onelogin_with_http_info(opts = {})
|
249
249
|
if @api_client.config.debugging
|
250
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
250
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#get_onelogin ..."
|
251
251
|
end
|
252
252
|
|
253
253
|
# resource path
|
@@ -283,7 +283,7 @@ module PureCloud
|
|
283
283
|
:auth_names => auth_names,
|
284
284
|
:return_type => 'OneLogin')
|
285
285
|
if @api_client.config.debugging
|
286
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
286
|
+
@api_client.config.logger.debug "API called: OAuthApi#get_onelogin\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
287
287
|
end
|
288
288
|
return data, status_code, headers
|
289
289
|
end
|
@@ -293,8 +293,8 @@ module PureCloud
|
|
293
293
|
# @param [Hash] opts the optional parameters
|
294
294
|
# @option opts [OneLogin] :body Provider
|
295
295
|
# @return [nil]
|
296
|
-
def
|
297
|
-
|
296
|
+
def update_onelogin(opts = {})
|
297
|
+
update_onelogin_with_http_info(opts)
|
298
298
|
return nil
|
299
299
|
end
|
300
300
|
|
@@ -303,9 +303,9 @@ module PureCloud
|
|
303
303
|
# @param [Hash] opts the optional parameters
|
304
304
|
# @option opts [OneLogin] :body Provider
|
305
305
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
306
|
-
def
|
306
|
+
def update_onelogin_with_http_info(opts = {})
|
307
307
|
if @api_client.config.debugging
|
308
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
308
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#update_onelogin ..."
|
309
309
|
end
|
310
310
|
|
311
311
|
# resource path
|
@@ -340,7 +340,7 @@ module PureCloud
|
|
340
340
|
:body => post_body,
|
341
341
|
:auth_names => auth_names)
|
342
342
|
if @api_client.config.debugging
|
343
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
343
|
+
@api_client.config.logger.debug "API called: OAuthApi#update_onelogin\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
344
344
|
end
|
345
345
|
return data, status_code, headers
|
346
346
|
end
|
@@ -349,8 +349,8 @@ module PureCloud
|
|
349
349
|
#
|
350
350
|
# @param [Hash] opts the optional parameters
|
351
351
|
# @return [nil]
|
352
|
-
def
|
353
|
-
|
352
|
+
def delete_onelogin(opts = {})
|
353
|
+
delete_onelogin_with_http_info(opts)
|
354
354
|
return nil
|
355
355
|
end
|
356
356
|
|
@@ -358,9 +358,9 @@ module PureCloud
|
|
358
358
|
#
|
359
359
|
# @param [Hash] opts the optional parameters
|
360
360
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
361
|
-
def
|
361
|
+
def delete_onelogin_with_http_info(opts = {})
|
362
362
|
if @api_client.config.debugging
|
363
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
363
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#delete_onelogin ..."
|
364
364
|
end
|
365
365
|
|
366
366
|
# resource path
|
@@ -395,7 +395,7 @@ module PureCloud
|
|
395
395
|
:body => post_body,
|
396
396
|
:auth_names => auth_names)
|
397
397
|
if @api_client.config.debugging
|
398
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
398
|
+
@api_client.config.logger.debug "API called: OAuthApi#delete_onelogin\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
399
399
|
end
|
400
400
|
return data, status_code, headers
|
401
401
|
end
|
@@ -404,8 +404,8 @@ module PureCloud
|
|
404
404
|
#
|
405
405
|
# @param [Hash] opts the optional parameters
|
406
406
|
# @return [PureCloud]
|
407
|
-
def
|
408
|
-
data, status_code, headers =
|
407
|
+
def get_purecloud(opts = {})
|
408
|
+
data, status_code, headers = get_purecloud_with_http_info(opts)
|
409
409
|
return data
|
410
410
|
end
|
411
411
|
|
@@ -413,9 +413,9 @@ module PureCloud
|
|
413
413
|
#
|
414
414
|
# @param [Hash] opts the optional parameters
|
415
415
|
# @return [Array<(PureCloud, Fixnum, Hash)>] PureCloud data, response status code and response headers
|
416
|
-
def
|
416
|
+
def get_purecloud_with_http_info(opts = {})
|
417
417
|
if @api_client.config.debugging
|
418
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
418
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#get_purecloud ..."
|
419
419
|
end
|
420
420
|
|
421
421
|
# resource path
|
@@ -451,7 +451,7 @@ module PureCloud
|
|
451
451
|
:auth_names => auth_names,
|
452
452
|
:return_type => 'PureCloud')
|
453
453
|
if @api_client.config.debugging
|
454
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
454
|
+
@api_client.config.logger.debug "API called: OAuthApi#get_purecloud\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
455
455
|
end
|
456
456
|
return data, status_code, headers
|
457
457
|
end
|
@@ -461,8 +461,8 @@ module PureCloud
|
|
461
461
|
# @param [Hash] opts the optional parameters
|
462
462
|
# @option opts [PureCloud] :body Provider
|
463
463
|
# @return [nil]
|
464
|
-
def
|
465
|
-
|
464
|
+
def update_purecloud(opts = {})
|
465
|
+
update_purecloud_with_http_info(opts)
|
466
466
|
return nil
|
467
467
|
end
|
468
468
|
|
@@ -471,9 +471,9 @@ module PureCloud
|
|
471
471
|
# @param [Hash] opts the optional parameters
|
472
472
|
# @option opts [PureCloud] :body Provider
|
473
473
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
474
|
-
def
|
474
|
+
def update_purecloud_with_http_info(opts = {})
|
475
475
|
if @api_client.config.debugging
|
476
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
476
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#update_purecloud ..."
|
477
477
|
end
|
478
478
|
|
479
479
|
# resource path
|
@@ -508,7 +508,7 @@ module PureCloud
|
|
508
508
|
:body => post_body,
|
509
509
|
:auth_names => auth_names)
|
510
510
|
if @api_client.config.debugging
|
511
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
511
|
+
@api_client.config.logger.debug "API called: OAuthApi#update_purecloud\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
512
512
|
end
|
513
513
|
return data, status_code, headers
|
514
514
|
end
|
@@ -517,8 +517,8 @@ module PureCloud
|
|
517
517
|
#
|
518
518
|
# @param [Hash] opts the optional parameters
|
519
519
|
# @return [nil]
|
520
|
-
def
|
521
|
-
|
520
|
+
def delete_purecloud(opts = {})
|
521
|
+
delete_purecloud_with_http_info(opts)
|
522
522
|
return nil
|
523
523
|
end
|
524
524
|
|
@@ -526,9 +526,9 @@ module PureCloud
|
|
526
526
|
#
|
527
527
|
# @param [Hash] opts the optional parameters
|
528
528
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
529
|
-
def
|
529
|
+
def delete_purecloud_with_http_info(opts = {})
|
530
530
|
if @api_client.config.debugging
|
531
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
531
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#delete_purecloud ..."
|
532
532
|
end
|
533
533
|
|
534
534
|
# resource path
|
@@ -563,7 +563,7 @@ module PureCloud
|
|
563
563
|
:body => post_body,
|
564
564
|
:auth_names => auth_names)
|
565
565
|
if @api_client.config.debugging
|
566
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
566
|
+
@api_client.config.logger.debug "API called: OAuthApi#delete_purecloud\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
567
567
|
end
|
568
568
|
return data, status_code, headers
|
569
569
|
end
|
@@ -572,8 +572,8 @@ module PureCloud
|
|
572
572
|
#
|
573
573
|
# @param [Hash] opts the optional parameters
|
574
574
|
# @return [Salesforce]
|
575
|
-
def
|
576
|
-
data, status_code, headers =
|
575
|
+
def get_salesforce(opts = {})
|
576
|
+
data, status_code, headers = get_salesforce_with_http_info(opts)
|
577
577
|
return data
|
578
578
|
end
|
579
579
|
|
@@ -581,9 +581,9 @@ module PureCloud
|
|
581
581
|
#
|
582
582
|
# @param [Hash] opts the optional parameters
|
583
583
|
# @return [Array<(Salesforce, Fixnum, Hash)>] Salesforce data, response status code and response headers
|
584
|
-
def
|
584
|
+
def get_salesforce_with_http_info(opts = {})
|
585
585
|
if @api_client.config.debugging
|
586
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
586
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#get_salesforce ..."
|
587
587
|
end
|
588
588
|
|
589
589
|
# resource path
|
@@ -619,7 +619,7 @@ module PureCloud
|
|
619
619
|
:auth_names => auth_names,
|
620
620
|
:return_type => 'Salesforce')
|
621
621
|
if @api_client.config.debugging
|
622
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
622
|
+
@api_client.config.logger.debug "API called: OAuthApi#get_salesforce\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
623
623
|
end
|
624
624
|
return data, status_code, headers
|
625
625
|
end
|
@@ -629,8 +629,8 @@ module PureCloud
|
|
629
629
|
# @param [Hash] opts the optional parameters
|
630
630
|
# @option opts [Salesforce] :body Provider
|
631
631
|
# @return [nil]
|
632
|
-
def
|
633
|
-
|
632
|
+
def update_salesforce(opts = {})
|
633
|
+
update_salesforce_with_http_info(opts)
|
634
634
|
return nil
|
635
635
|
end
|
636
636
|
|
@@ -639,9 +639,9 @@ module PureCloud
|
|
639
639
|
# @param [Hash] opts the optional parameters
|
640
640
|
# @option opts [Salesforce] :body Provider
|
641
641
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
642
|
-
def
|
642
|
+
def update_salesforce_with_http_info(opts = {})
|
643
643
|
if @api_client.config.debugging
|
644
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
644
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#update_salesforce ..."
|
645
645
|
end
|
646
646
|
|
647
647
|
# resource path
|
@@ -676,7 +676,7 @@ module PureCloud
|
|
676
676
|
:body => post_body,
|
677
677
|
:auth_names => auth_names)
|
678
678
|
if @api_client.config.debugging
|
679
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
679
|
+
@api_client.config.logger.debug "API called: OAuthApi#update_salesforce\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
680
680
|
end
|
681
681
|
return data, status_code, headers
|
682
682
|
end
|
@@ -685,8 +685,8 @@ module PureCloud
|
|
685
685
|
#
|
686
686
|
# @param [Hash] opts the optional parameters
|
687
687
|
# @return [nil]
|
688
|
-
def
|
689
|
-
|
688
|
+
def delete_salesforce(opts = {})
|
689
|
+
delete_salesforce_with_http_info(opts)
|
690
690
|
return nil
|
691
691
|
end
|
692
692
|
|
@@ -694,9 +694,9 @@ module PureCloud
|
|
694
694
|
#
|
695
695
|
# @param [Hash] opts the optional parameters
|
696
696
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
697
|
-
def
|
697
|
+
def delete_salesforce_with_http_info(opts = {})
|
698
698
|
if @api_client.config.debugging
|
699
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
699
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#delete_salesforce ..."
|
700
700
|
end
|
701
701
|
|
702
702
|
# resource path
|
@@ -731,7 +731,7 @@ module PureCloud
|
|
731
731
|
:body => post_body,
|
732
732
|
:auth_names => auth_names)
|
733
733
|
if @api_client.config.debugging
|
734
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
734
|
+
@api_client.config.logger.debug "API called: OAuthApi#delete_salesforce\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
735
735
|
end
|
736
736
|
return data, status_code, headers
|
737
737
|
end
|
@@ -740,8 +740,8 @@ module PureCloud
|
|
740
740
|
#
|
741
741
|
# @param [Hash] opts the optional parameters
|
742
742
|
# @return [OAuthProvider]
|
743
|
-
def
|
744
|
-
data, status_code, headers =
|
743
|
+
def get_prover_id(opts = {})
|
744
|
+
data, status_code, headers = get_prover_id_with_http_info(opts)
|
745
745
|
return data
|
746
746
|
end
|
747
747
|
|
@@ -749,9 +749,9 @@ module PureCloud
|
|
749
749
|
#
|
750
750
|
# @param [Hash] opts the optional parameters
|
751
751
|
# @return [Array<(OAuthProvider, Fixnum, Hash)>] OAuthProvider data, response status code and response headers
|
752
|
-
def
|
752
|
+
def get_prover_id_with_http_info(opts = {})
|
753
753
|
if @api_client.config.debugging
|
754
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
754
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#get_prover_id ..."
|
755
755
|
end
|
756
756
|
|
757
757
|
# resource path
|
@@ -787,7 +787,7 @@ module PureCloud
|
|
787
787
|
:auth_names => auth_names,
|
788
788
|
:return_type => 'OAuthProvider')
|
789
789
|
if @api_client.config.debugging
|
790
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
790
|
+
@api_client.config.logger.debug "API called: OAuthApi#get_prover_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
791
791
|
end
|
792
792
|
return data, status_code, headers
|
793
793
|
end
|
@@ -797,8 +797,8 @@ module PureCloud
|
|
797
797
|
# @param [Hash] opts the optional parameters
|
798
798
|
# @option opts [OAuthProvider] :body Provider
|
799
799
|
# @return [nil]
|
800
|
-
def
|
801
|
-
|
800
|
+
def update_prover_id(opts = {})
|
801
|
+
update_prover_id_with_http_info(opts)
|
802
802
|
return nil
|
803
803
|
end
|
804
804
|
|
@@ -807,9 +807,9 @@ module PureCloud
|
|
807
807
|
# @param [Hash] opts the optional parameters
|
808
808
|
# @option opts [OAuthProvider] :body Provider
|
809
809
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
810
|
-
def
|
810
|
+
def update_prover_id_with_http_info(opts = {})
|
811
811
|
if @api_client.config.debugging
|
812
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
812
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#update_prover_id ..."
|
813
813
|
end
|
814
814
|
|
815
815
|
# resource path
|
@@ -844,7 +844,7 @@ module PureCloud
|
|
844
844
|
:body => post_body,
|
845
845
|
:auth_names => auth_names)
|
846
846
|
if @api_client.config.debugging
|
847
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
847
|
+
@api_client.config.logger.debug "API called: OAuthApi#update_prover_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
848
848
|
end
|
849
849
|
return data, status_code, headers
|
850
850
|
end
|
@@ -853,8 +853,8 @@ module PureCloud
|
|
853
853
|
#
|
854
854
|
# @param [Hash] opts the optional parameters
|
855
855
|
# @return [nil]
|
856
|
-
def
|
857
|
-
|
856
|
+
def delete_prover_id(opts = {})
|
857
|
+
delete_prover_id_with_http_info(opts)
|
858
858
|
return nil
|
859
859
|
end
|
860
860
|
|
@@ -862,9 +862,9 @@ module PureCloud
|
|
862
862
|
#
|
863
863
|
# @param [Hash] opts the optional parameters
|
864
864
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
865
|
-
def
|
865
|
+
def delete_prover_id_with_http_info(opts = {})
|
866
866
|
if @api_client.config.debugging
|
867
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
867
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#delete_prover_id ..."
|
868
868
|
end
|
869
869
|
|
870
870
|
# resource path
|
@@ -899,7 +899,7 @@ module PureCloud
|
|
899
899
|
:body => post_body,
|
900
900
|
:auth_names => auth_names)
|
901
901
|
if @api_client.config.debugging
|
902
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
902
|
+
@api_client.config.logger.debug "API called: OAuthApi#delete_prover_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
903
903
|
end
|
904
904
|
return data, status_code, headers
|
905
905
|
end
|
@@ -965,8 +965,8 @@ module PureCloud
|
|
965
965
|
# @param [Hash] opts the optional parameters
|
966
966
|
# @option opts [OAuthClient] :body Client
|
967
967
|
# @return [OAuthClient]
|
968
|
-
def
|
969
|
-
data, status_code, headers =
|
968
|
+
def create_clients(opts = {})
|
969
|
+
data, status_code, headers = create_clients_with_http_info(opts)
|
970
970
|
return data
|
971
971
|
end
|
972
972
|
|
@@ -975,9 +975,9 @@ module PureCloud
|
|
975
975
|
# @param [Hash] opts the optional parameters
|
976
976
|
# @option opts [OAuthClient] :body Client
|
977
977
|
# @return [Array<(OAuthClient, Fixnum, Hash)>] OAuthClient data, response status code and response headers
|
978
|
-
def
|
978
|
+
def create_clients_with_http_info(opts = {})
|
979
979
|
if @api_client.config.debugging
|
980
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
980
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#create_clients ..."
|
981
981
|
end
|
982
982
|
|
983
983
|
# resource path
|
@@ -1013,7 +1013,7 @@ module PureCloud
|
|
1013
1013
|
:auth_names => auth_names,
|
1014
1014
|
:return_type => 'OAuthClient')
|
1015
1015
|
if @api_client.config.debugging
|
1016
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
1016
|
+
@api_client.config.logger.debug "API called: OAuthApi#create_clients\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1017
1017
|
end
|
1018
1018
|
return data, status_code, headers
|
1019
1019
|
end
|
@@ -1085,8 +1085,8 @@ module PureCloud
|
|
1085
1085
|
# @param [Hash] opts the optional parameters
|
1086
1086
|
# @option opts [OAuthClient] :body Client
|
1087
1087
|
# @return [OAuthClient]
|
1088
|
-
def
|
1089
|
-
data, status_code, headers =
|
1088
|
+
def update_client(client_id, opts = {})
|
1089
|
+
data, status_code, headers = update_client_with_http_info(client_id, opts)
|
1090
1090
|
return data
|
1091
1091
|
end
|
1092
1092
|
|
@@ -1096,13 +1096,13 @@ module PureCloud
|
|
1096
1096
|
# @param [Hash] opts the optional parameters
|
1097
1097
|
# @option opts [OAuthClient] :body Client
|
1098
1098
|
# @return [Array<(OAuthClient, Fixnum, Hash)>] OAuthClient data, response status code and response headers
|
1099
|
-
def
|
1099
|
+
def update_client_with_http_info(client_id, opts = {})
|
1100
1100
|
if @api_client.config.debugging
|
1101
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
1101
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#update_client ..."
|
1102
1102
|
end
|
1103
1103
|
|
1104
1104
|
# verify the required parameter 'client_id' is set
|
1105
|
-
fail "Missing the required parameter 'client_id' when calling
|
1105
|
+
fail "Missing the required parameter 'client_id' when calling update_client" if client_id.nil?
|
1106
1106
|
|
1107
1107
|
# resource path
|
1108
1108
|
path = "/api/v1/oauth/clients/{clientId}".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s)
|
@@ -1137,7 +1137,7 @@ module PureCloud
|
|
1137
1137
|
:auth_names => auth_names,
|
1138
1138
|
:return_type => 'OAuthClient')
|
1139
1139
|
if @api_client.config.debugging
|
1140
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
1140
|
+
@api_client.config.logger.debug "API called: OAuthApi#update_client\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1141
1141
|
end
|
1142
1142
|
return data, status_code, headers
|
1143
1143
|
end
|
@@ -1207,8 +1207,8 @@ module PureCloud
|
|
1207
1207
|
# @param client_id Client ID
|
1208
1208
|
# @param [Hash] opts the optional parameters
|
1209
1209
|
# @return [nil]
|
1210
|
-
def
|
1211
|
-
|
1210
|
+
def create_client_secret(client_id, opts = {})
|
1211
|
+
create_client_secret_with_http_info(client_id, opts)
|
1212
1212
|
return nil
|
1213
1213
|
end
|
1214
1214
|
|
@@ -1217,13 +1217,13 @@ module PureCloud
|
|
1217
1217
|
# @param client_id Client ID
|
1218
1218
|
# @param [Hash] opts the optional parameters
|
1219
1219
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1220
|
-
def
|
1220
|
+
def create_client_secret_with_http_info(client_id, opts = {})
|
1221
1221
|
if @api_client.config.debugging
|
1222
|
-
@api_client.config.logger.debug "Calling API: OAuthApi#
|
1222
|
+
@api_client.config.logger.debug "Calling API: OAuthApi#create_client_secret ..."
|
1223
1223
|
end
|
1224
1224
|
|
1225
1225
|
# verify the required parameter 'client_id' is set
|
1226
|
-
fail "Missing the required parameter 'client_id' when calling
|
1226
|
+
fail "Missing the required parameter 'client_id' when calling create_client_secret" if client_id.nil?
|
1227
1227
|
|
1228
1228
|
# resource path
|
1229
1229
|
path = "/api/v1/oauth/clients/{clientId}/secret".sub('{format}','json').sub('{' + 'clientId' + '}', client_id.to_s)
|
@@ -1257,7 +1257,7 @@ module PureCloud
|
|
1257
1257
|
:body => post_body,
|
1258
1258
|
:auth_names => auth_names)
|
1259
1259
|
if @api_client.config.debugging
|
1260
|
-
@api_client.config.logger.debug "API called: OAuthApi#
|
1260
|
+
@api_client.config.logger.debug "API called: OAuthApi#create_client_secret\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1261
1261
|
end
|
1262
1262
|
return data, status_code, headers
|
1263
1263
|
end
|