tremendous_ruby 5.18.1 → 5.19.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/lib/tremendous/api/tremendous_api.rb +126 -0
- data/lib/tremendous/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 26ccbf5c8329f20f93653927a7cfcd4685e0b15119f23b51b65b9b1a6f6153b1
|
|
4
|
+
data.tar.gz: f7a7ba276b7b39648bcebe8a80d70bfe89c6c9611a19acd778d81d1d576a2a49
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aeb62f14e1932fa227b6b8dc653b8ad23f1020cfd5f8e1853226f224f834239c634412a2bb89589a95c39a11e6401f8e42741abf5488840fda997654f3e34407
|
|
7
|
+
data.tar.gz: d172092aec79df15eef02a8703be711edcdb00e89cc9f5d755d6bc65fa97c98addab3a77b21dafbb33dd89f31104580d8b5221d5435b4f0c2cbecdad0d124757
|
|
@@ -1089,6 +1089,132 @@ module Tremendous
|
|
|
1089
1089
|
return data, status_code, headers
|
|
1090
1090
|
end
|
|
1091
1091
|
|
|
1092
|
+
# Delete a connected organization
|
|
1093
|
+
# Deletes a connected organization and revokes the associated OAuth connection. The underlying Tremendous organization is not affected and remains accessible.
|
|
1094
|
+
# @param id [String] ID of the connected organization to delete.
|
|
1095
|
+
# @param [Hash] opts the optional parameters
|
|
1096
|
+
# @return [CreateConnectedOrganization200Response]
|
|
1097
|
+
def delete_connected_organization(id, opts = {})
|
|
1098
|
+
data, _status_code, _headers = delete_connected_organization_with_http_info(id, opts)
|
|
1099
|
+
data
|
|
1100
|
+
end
|
|
1101
|
+
|
|
1102
|
+
# Delete a connected organization
|
|
1103
|
+
# Deletes a connected organization and revokes the associated OAuth connection. The underlying Tremendous organization is not affected and remains accessible.
|
|
1104
|
+
# @param id [String] ID of the connected organization to delete.
|
|
1105
|
+
# @param [Hash] opts the optional parameters
|
|
1106
|
+
# @return [Array<(CreateConnectedOrganization200Response, Integer, Hash)>] CreateConnectedOrganization200Response data, response status code and response headers
|
|
1107
|
+
def delete_connected_organization_with_http_info(id, opts = {})
|
|
1108
|
+
if @api_client.config.debugging
|
|
1109
|
+
@api_client.config.logger.debug 'Calling API: TremendousApi.delete_connected_organization ...'
|
|
1110
|
+
end
|
|
1111
|
+
# verify the required parameter 'id' is set
|
|
1112
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1113
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TremendousApi.delete_connected_organization"
|
|
1114
|
+
end
|
|
1115
|
+
# resource path
|
|
1116
|
+
local_var_path = '/connected_organizations/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1117
|
+
|
|
1118
|
+
# query parameters
|
|
1119
|
+
query_params = opts[:query_params] || {}
|
|
1120
|
+
|
|
1121
|
+
# header parameters
|
|
1122
|
+
header_params = opts[:header_params] || {}
|
|
1123
|
+
# HTTP header 'Accept' (if needed)
|
|
1124
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1125
|
+
|
|
1126
|
+
# form parameters
|
|
1127
|
+
form_params = opts[:form_params] || {}
|
|
1128
|
+
|
|
1129
|
+
# http body (model)
|
|
1130
|
+
post_body = opts[:debug_body]
|
|
1131
|
+
|
|
1132
|
+
# return_type
|
|
1133
|
+
return_type = opts[:debug_return_type] || 'CreateConnectedOrganization200Response'
|
|
1134
|
+
|
|
1135
|
+
# auth_names
|
|
1136
|
+
auth_names = opts[:debug_auth_names] || ['BearerApiKey']
|
|
1137
|
+
|
|
1138
|
+
new_options = opts.merge(
|
|
1139
|
+
:operation => :"TremendousApi.delete_connected_organization",
|
|
1140
|
+
:header_params => header_params,
|
|
1141
|
+
:query_params => query_params,
|
|
1142
|
+
:form_params => form_params,
|
|
1143
|
+
:body => post_body,
|
|
1144
|
+
:auth_names => auth_names,
|
|
1145
|
+
:return_type => return_type
|
|
1146
|
+
)
|
|
1147
|
+
|
|
1148
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
1149
|
+
if @api_client.config.debugging
|
|
1150
|
+
@api_client.config.logger.debug "API called: TremendousApi#delete_connected_organization\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1151
|
+
end
|
|
1152
|
+
return data, status_code, headers
|
|
1153
|
+
end
|
|
1154
|
+
|
|
1155
|
+
# Remove a connected organization member
|
|
1156
|
+
# Removes a connected organization member. If the member has completed registration and has an associated Tremendous member, that membership is also revoked. The connected organization itself is not affected.
|
|
1157
|
+
# @param id [String] ID of the connected organization member to remove.
|
|
1158
|
+
# @param [Hash] opts the optional parameters
|
|
1159
|
+
# @return [CreateConnectedOrganizationMember200Response]
|
|
1160
|
+
def delete_connected_organization_member(id, opts = {})
|
|
1161
|
+
data, _status_code, _headers = delete_connected_organization_member_with_http_info(id, opts)
|
|
1162
|
+
data
|
|
1163
|
+
end
|
|
1164
|
+
|
|
1165
|
+
# Remove a connected organization member
|
|
1166
|
+
# Removes a connected organization member. If the member has completed registration and has an associated Tremendous member, that membership is also revoked. The connected organization itself is not affected.
|
|
1167
|
+
# @param id [String] ID of the connected organization member to remove.
|
|
1168
|
+
# @param [Hash] opts the optional parameters
|
|
1169
|
+
# @return [Array<(CreateConnectedOrganizationMember200Response, Integer, Hash)>] CreateConnectedOrganizationMember200Response data, response status code and response headers
|
|
1170
|
+
def delete_connected_organization_member_with_http_info(id, opts = {})
|
|
1171
|
+
if @api_client.config.debugging
|
|
1172
|
+
@api_client.config.logger.debug 'Calling API: TremendousApi.delete_connected_organization_member ...'
|
|
1173
|
+
end
|
|
1174
|
+
# verify the required parameter 'id' is set
|
|
1175
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1176
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling TremendousApi.delete_connected_organization_member"
|
|
1177
|
+
end
|
|
1178
|
+
# resource path
|
|
1179
|
+
local_var_path = '/connected_organization_members/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1180
|
+
|
|
1181
|
+
# query parameters
|
|
1182
|
+
query_params = opts[:query_params] || {}
|
|
1183
|
+
|
|
1184
|
+
# header parameters
|
|
1185
|
+
header_params = opts[:header_params] || {}
|
|
1186
|
+
# HTTP header 'Accept' (if needed)
|
|
1187
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
1188
|
+
|
|
1189
|
+
# form parameters
|
|
1190
|
+
form_params = opts[:form_params] || {}
|
|
1191
|
+
|
|
1192
|
+
# http body (model)
|
|
1193
|
+
post_body = opts[:debug_body]
|
|
1194
|
+
|
|
1195
|
+
# return_type
|
|
1196
|
+
return_type = opts[:debug_return_type] || 'CreateConnectedOrganizationMember200Response'
|
|
1197
|
+
|
|
1198
|
+
# auth_names
|
|
1199
|
+
auth_names = opts[:debug_auth_names] || ['BearerApiKey']
|
|
1200
|
+
|
|
1201
|
+
new_options = opts.merge(
|
|
1202
|
+
:operation => :"TremendousApi.delete_connected_organization_member",
|
|
1203
|
+
:header_params => header_params,
|
|
1204
|
+
:query_params => query_params,
|
|
1205
|
+
:form_params => form_params,
|
|
1206
|
+
:body => post_body,
|
|
1207
|
+
:auth_names => auth_names,
|
|
1208
|
+
:return_type => return_type
|
|
1209
|
+
)
|
|
1210
|
+
|
|
1211
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
1212
|
+
if @api_client.config.debugging
|
|
1213
|
+
@api_client.config.logger.debug "API called: TremendousApi#delete_connected_organization_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1214
|
+
end
|
|
1215
|
+
return data, status_code, headers
|
|
1216
|
+
end
|
|
1217
|
+
|
|
1092
1218
|
# Delete fraud rule
|
|
1093
1219
|
# Deletes the rule of the type passed in the URL.
|
|
1094
1220
|
# @param rule_type [String] The rule type to create or update.
|
data/lib/tremendous/version.rb
CHANGED