api-sdk-rb 1.11.111 → 1.11.133
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/README.md +207 -381
- data/docs/{GetPartnerCreditTransactions200Response.md → AccountCreditTransactionListResponse.md} +2 -2
- data/docs/{GetUserAdapterConnections200Response.md → AdapterConnectionListResponse.md} +2 -2
- data/docs/{RemoveUserAdapterConnection200Response.md → AdapterConnectionRemovalResponse.md} +2 -2
- data/docs/{SetUserAdapterConnection200Response.md → AdapterConnectionResponse.md} +2 -2
- data/docs/{AddAiAnswersKnowledgeDocument201Response.md → AiAnswersKnowledgeDocumentResponse.md} +2 -2
- data/docs/BrandKitApi.md +74 -74
- data/docs/BrandKitTokens.md +2 -0
- data/docs/BrandKitView.md +1 -1
- data/docs/BrandTextStyle.md +22 -0
- data/docs/CanvasesApi.md +45 -45
- data/docs/{CreateCompositionDatabaseRecord201Response.md → CompositionDatabaseRecordResponse.md} +2 -2
- data/docs/CompositionsApi.md +615 -349
- data/docs/{CreateCompositionContentItem201Response.md → ContentItemWriteResultResponse.md} +2 -2
- data/docs/CreditsApi.md +20 -20
- data/docs/{CreateCompositionFromWidget201Response.md → DeleteUpload200Response.md} +3 -3
- data/docs/{UploadsIdDelete200ResponseData.md → DeleteUpload200ResponseData.md} +2 -2
- data/docs/{GetPartnerDesignDefaults200Response.md → DesignDefaultsResponse.md} +2 -2
- data/docs/EntitlementsApi.md +18 -18
- data/docs/{OperationsIdGetResponse.md → GetOperationResponse.md} +3 -3
- data/docs/{OperationsIdGetResponseData.md → GetOperationResponseData.md} +3 -3
- data/docs/GetOperationResponseDataMetadata.md +24 -0
- data/docs/InvoicesApi.md +9 -9
- data/docs/{UploadsGet200Response.md → ListUploads200Response.md} +2 -2
- data/docs/{GetManagedUserLimits200Response.md → ManagedUserLimitsResponse.md} +2 -2
- data/docs/{DeleteManagedUser200Response.md → ManagedUserRemovalResponse.md} +2 -2
- data/docs/ManagedUsersApi.md +261 -171
- data/docs/OperationsApi.md +11 -11
- data/docs/PartnersApi.md +388 -388
- data/docs/PatchBrandKitRequest.md +2 -0
- data/docs/PublicEmbedApi.md +95 -95
- data/docs/PublicWorkflowEventsRequestEventsInner.md +3 -1
- data/docs/{GetPublicWorkflow200Response.md → PublicWorkflowResponse.md} +2 -2
- data/docs/TokensApi.md +11 -9
- data/docs/Upload.md +1 -1
- data/docs/UploadLimits.md +3 -3
- data/docs/UploadsApi.md +85 -85
- data/docs/UsersApi.md +125 -125
- data/docs/WidgetClarification.md +22 -0
- data/docs/WidgetClarificationOption.md +22 -0
- data/docs/WidgetClarificationQuestion.md +26 -0
- data/docs/WidgetNextStep.md +24 -0
- data/docs/WidgetPlan.md +26 -0
- data/docs/WidgetPlanDecisions.md +32 -0
- data/docs/WidgetPlanDecisionsAdaptersInner.md +20 -0
- data/docs/WidgetPlanDecisionsLibrariesInner.md +22 -0
- data/docs/WidgetPlanDecisionsResponsive.md +22 -0
- data/docs/WidgetPlanTask.md +24 -0
- data/docs/WidgetsApi.md +38 -38
- data/docs/{CreateWorkspaceWorkflowFromPreset201Response.md → WorkflowDetailResponse.md} +2 -2
- data/docs/WorkflowFailureReason.md +15 -0
- data/docs/WorkflowFailureReasonCounter.md +22 -0
- data/docs/{SaveWorkspaceWorkflow200Response.md → WorkflowResponse.md} +2 -2
- data/docs/WorkflowStats.md +4 -2
- data/docs/WorkflowsApi.md +197 -413
- data/lib/api-sdk-rb/api/brand_kit_api.rb +61 -61
- data/lib/api-sdk-rb/api/canvases_api.rb +39 -39
- data/lib/api-sdk-rb/api/compositions_api.rb +770 -441
- data/lib/api-sdk-rb/api/credits_api.rb +20 -20
- data/lib/api-sdk-rb/api/entitlements_api.rb +14 -14
- data/lib/api-sdk-rb/api/invoices_api.rb +10 -10
- data/lib/api-sdk-rb/api/managed_users_api.rb +278 -172
- data/lib/api-sdk-rb/api/operations_api.rb +10 -10
- data/lib/api-sdk-rb/api/partners_api.rb +389 -389
- data/lib/api-sdk-rb/api/public_embed_api.rb +95 -95
- data/lib/api-sdk-rb/api/tokens_api.rb +8 -6
- data/lib/api-sdk-rb/api/uploads_api.rb +96 -96
- data/lib/api-sdk-rb/api/users_api.rb +132 -132
- data/lib/api-sdk-rb/api/widgets_api.rb +40 -40
- data/lib/api-sdk-rb/api/workflows_api.rb +246 -468
- data/lib/api-sdk-rb/configuration.rb +0 -60
- data/lib/api-sdk-rb/models/{get_user_adapter_connections200_response.rb → account_credit_transaction_list_response.rb} +4 -4
- data/lib/api-sdk-rb/models/{get_partner_credit_transactions200_response.rb → adapter_connection_list_response.rb} +4 -4
- data/lib/api-sdk-rb/models/{save_workspace_workflow200_response.rb → adapter_connection_removal_response.rb} +4 -4
- data/lib/api-sdk-rb/models/{set_user_adapter_connection200_response.rb → adapter_connection_response.rb} +3 -3
- data/lib/api-sdk-rb/models/{add_ai_answers_knowledge_document201_response.rb → ai_answers_knowledge_document_response.rb} +3 -3
- data/lib/api-sdk-rb/models/brand_kit_tokens.rb +33 -2
- data/lib/api-sdk-rb/models/brand_kit_view.rb +1 -1
- data/lib/api-sdk-rb/models/brand_text_style.rb +344 -0
- data/lib/api-sdk-rb/models/{create_composition_database_record201_response.rb → composition_database_record_response.rb} +3 -3
- data/lib/api-sdk-rb/models/{create_composition_content_item201_response.rb → content_item_write_result_response.rb} +3 -3
- data/lib/api-sdk-rb/models/{operations_id_get_response.rb → delete_upload200_response.rb} +4 -5
- data/lib/api-sdk-rb/models/{uploads_id_delete200_response_data.rb → delete_upload200_response_data.rb} +3 -3
- data/lib/api-sdk-rb/models/{get_partner_design_defaults200_response.rb → design_defaults_response.rb} +3 -3
- data/lib/api-sdk-rb/models/get_operation_response.rb +247 -0
- data/lib/api-sdk-rb/models/{operations_id_get_response_data.rb → get_operation_response_data.rb} +5 -8
- data/lib/api-sdk-rb/models/get_operation_response_data_metadata.rb +283 -0
- data/lib/api-sdk-rb/models/{uploads_get200_response.rb → list_uploads200_response.rb} +3 -3
- data/lib/api-sdk-rb/models/{get_managed_user_limits200_response.rb → managed_user_limits_response.rb} +3 -3
- data/lib/api-sdk-rb/models/{uploads_id_delete200_response.rb → managed_user_removal_response.rb} +4 -4
- data/lib/api-sdk-rb/models/patch_brand_kit_request.rb +32 -1
- data/lib/api-sdk-rb/models/public_workflow_events_request_events_inner.rb +26 -4
- data/lib/api-sdk-rb/models/{get_public_workflow200_response.rb → public_workflow_response.rb} +3 -3
- data/lib/api-sdk-rb/models/upload.rb +1 -1
- data/lib/api-sdk-rb/models/upload_limits.rb +3 -3
- data/lib/api-sdk-rb/models/widget_clarification.rb +279 -0
- data/lib/api-sdk-rb/models/{create_composition_from_widget201_response.rb → widget_clarification_option.rb} +40 -30
- data/lib/api-sdk-rb/models/widget_clarification_question.rb +329 -0
- data/lib/api-sdk-rb/models/widget_next_step.rb +307 -0
- data/lib/api-sdk-rb/models/widget_plan.rb +306 -0
- data/lib/api-sdk-rb/models/widget_plan_decisions.rb +346 -0
- data/lib/api-sdk-rb/models/widget_plan_decisions_adapters_inner.rb +237 -0
- data/lib/api-sdk-rb/models/{create_workspace_workflow_from_preset201_response.rb → widget_plan_decisions_libraries_inner.rb} +39 -30
- data/lib/api-sdk-rb/models/widget_plan_decisions_responsive.rb +311 -0
- data/lib/api-sdk-rb/models/widget_plan_task.rb +320 -0
- data/lib/api-sdk-rb/models/{delete_managed_user200_response.rb → workflow_detail_response.rb} +4 -4
- data/lib/api-sdk-rb/models/workflow_failure_reason.rb +42 -0
- data/lib/api-sdk-rb/models/workflow_failure_reason_counter.rb +277 -0
- data/lib/api-sdk-rb/models/workflow_response.rb +246 -0
- data/lib/api-sdk-rb/models/workflow_stats.rb +17 -5
- data/lib/api-sdk-rb/version.rb +1 -1
- data/lib/api-sdk-rb.rb +32 -21
- data/spec/api/brand_kit_api_spec.rb +18 -18
- data/spec/api/canvases_api_spec.rb +10 -10
- data/spec/api/compositions_api_spec.rb +144 -83
- data/spec/api/credits_api_spec.rb +5 -5
- data/spec/api/entitlements_api_spec.rb +4 -4
- data/spec/api/invoices_api_spec.rb +2 -2
- data/spec/api/managed_users_api_spec.rb +63 -42
- data/spec/api/operations_api_spec.rb +3 -3
- data/spec/api/partners_api_spec.rb +91 -91
- data/spec/api/public_embed_api_spec.rb +23 -23
- data/spec/api/tokens_api_spec.rb +3 -2
- data/spec/api/uploads_api_spec.rb +24 -24
- data/spec/api/users_api_spec.rb +30 -30
- data/spec/api/widgets_api_spec.rb +9 -9
- data/spec/api/workflows_api_spec.rb +50 -89
- data/spec/models/{get_user_adapter_connections200_response_spec.rb → account_credit_transaction_list_response_spec.rb} +6 -6
- data/spec/models/{get_public_workflow200_response_spec.rb → adapter_connection_list_response_spec.rb} +6 -6
- data/spec/models/{save_workspace_workflow200_response_spec.rb → adapter_connection_removal_response_spec.rb} +6 -6
- data/spec/models/{delete_managed_user200_response_spec.rb → adapter_connection_response_spec.rb} +6 -6
- data/spec/models/ai_answers_knowledge_document_response_spec.rb +48 -0
- data/spec/models/brand_kit_tokens_spec.rb +6 -0
- data/spec/models/{create_composition_from_widget201_response_spec.rb → brand_text_style_spec.rb} +13 -9
- data/spec/models/{get_managed_user_limits200_response_spec.rb → composition_database_record_response_spec.rb} +6 -6
- data/spec/models/content_item_write_result_response_spec.rb +48 -0
- data/spec/models/{uploads_id_delete200_response_data_spec.rb → delete_upload200_response_data_spec.rb} +6 -6
- data/spec/models/{operations_id_get_response_spec.rb → delete_upload200_response_spec.rb} +6 -6
- data/spec/models/design_defaults_response_spec.rb +48 -0
- data/spec/models/get_operation_response_data_metadata_spec.rb +58 -0
- data/spec/models/{operations_id_get_response_data_spec.rb → get_operation_response_data_spec.rb} +6 -6
- data/spec/models/{uploads_get200_response_spec.rb → get_operation_response_spec.rb} +6 -6
- data/spec/models/list_uploads200_response_spec.rb +48 -0
- data/spec/models/managed_user_limits_response_spec.rb +48 -0
- data/spec/models/{uploads_id_delete200_response_spec.rb → managed_user_removal_response_spec.rb} +6 -6
- data/spec/models/patch_brand_kit_request_spec.rb +6 -0
- data/spec/models/public_workflow_events_request_events_inner_spec.rb +10 -0
- data/spec/models/public_workflow_response_spec.rb +48 -0
- data/spec/models/widget_clarification_option_spec.rb +48 -0
- data/spec/models/widget_clarification_question_spec.rb +60 -0
- data/spec/models/widget_clarification_spec.rb +48 -0
- data/spec/models/widget_next_step_spec.rb +58 -0
- data/spec/models/widget_plan_decisions_adapters_inner_spec.rb +42 -0
- data/spec/models/widget_plan_decisions_libraries_inner_spec.rb +48 -0
- data/spec/models/widget_plan_decisions_responsive_spec.rb +48 -0
- data/spec/models/widget_plan_decisions_spec.rb +78 -0
- data/spec/models/{create_composition_database_record201_response_spec.rb → widget_plan_spec.rb} +21 -9
- data/spec/models/widget_plan_task_spec.rb +62 -0
- data/spec/models/workflow_detail_response_spec.rb +48 -0
- data/spec/models/workflow_failure_reason_counter_spec.rb +48 -0
- data/spec/models/workflow_failure_reason_spec.rb +30 -0
- data/spec/models/workflow_response_spec.rb +48 -0
- data/spec/models/workflow_stats_spec.rb +6 -0
- metadata +130 -86
- data/docs/PartnerApi.md +0 -12714
- data/docs/UploadsIdDelete200Response.md +0 -22
- data/docs/WorkspacesApi.md +0 -1527
- data/lib/api-sdk-rb/api/partner_api.rb +0 -13791
- data/lib/api-sdk-rb/api/workspaces_api.rb +0 -1775
- data/lib/api-sdk-rb/models/remove_user_adapter_connection200_response.rb +0 -246
- data/spec/api/partner_api_spec.rb +0 -2437
- data/spec/api/workspaces_api_spec.rb +0 -339
- data/spec/models/add_ai_answers_knowledge_document201_response_spec.rb +0 -48
- data/spec/models/create_composition_content_item201_response_spec.rb +0 -48
- data/spec/models/create_workspace_workflow_from_preset201_response_spec.rb +0 -48
- data/spec/models/get_partner_credit_transactions200_response_spec.rb +0 -48
- data/spec/models/get_partner_design_defaults200_response_spec.rb +0 -48
- data/spec/models/remove_user_adapter_connection200_response_spec.rb +0 -48
- data/spec/models/set_user_adapter_connection200_response_spec.rb +0 -48
|
@@ -25,8 +25,8 @@ module ApiSdkRb
|
|
|
25
25
|
# @param add_domain_request [AddDomainRequest]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
27
|
# @return [PersonalWorkspaceDomainResultResponse]
|
|
28
|
-
def
|
|
29
|
-
data, _status_code, _headers =
|
|
28
|
+
def add_personal_workspace_domain(id, add_domain_request, opts = {})
|
|
29
|
+
data, _status_code, _headers = add_personal_workspace_domain_with_http_info(id, add_domain_request, opts)
|
|
30
30
|
data
|
|
31
31
|
end
|
|
32
32
|
|
|
@@ -36,17 +36,17 @@ module ApiSdkRb
|
|
|
36
36
|
# @param add_domain_request [AddDomainRequest]
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @return [Array<(PersonalWorkspaceDomainResultResponse, Integer, Hash)>] PersonalWorkspaceDomainResultResponse data, response status code and response headers
|
|
39
|
-
def
|
|
39
|
+
def add_personal_workspace_domain_with_http_info(id, add_domain_request, opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.add_personal_workspace_domain ...'
|
|
42
42
|
end
|
|
43
43
|
# verify the required parameter 'id' is set
|
|
44
44
|
if @api_client.config.client_side_validation && id.nil?
|
|
45
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.add_personal_workspace_domain"
|
|
46
46
|
end
|
|
47
47
|
# verify the required parameter 'add_domain_request' is set
|
|
48
48
|
if @api_client.config.client_side_validation && add_domain_request.nil?
|
|
49
|
-
fail ArgumentError, "Missing the required parameter 'add_domain_request' when calling UsersApi.
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'add_domain_request' when calling UsersApi.add_personal_workspace_domain"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
52
|
local_var_path = '/users/{id}/workspace/domains'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
@@ -77,7 +77,7 @@ module ApiSdkRb
|
|
|
77
77
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
78
78
|
|
|
79
79
|
new_options = opts.merge(
|
|
80
|
-
:operation => :"UsersApi.
|
|
80
|
+
:operation => :"UsersApi.add_personal_workspace_domain",
|
|
81
81
|
:header_params => header_params,
|
|
82
82
|
:query_params => query_params,
|
|
83
83
|
:form_params => form_params,
|
|
@@ -88,7 +88,7 @@ module ApiSdkRb
|
|
|
88
88
|
|
|
89
89
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
90
90
|
if @api_client.config.debugging
|
|
91
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
91
|
+
@api_client.config.logger.debug "API called: UsersApi#add_personal_workspace_domain\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
92
92
|
end
|
|
93
93
|
return data, status_code, headers
|
|
94
94
|
end
|
|
@@ -100,9 +100,9 @@ module ApiSdkRb
|
|
|
100
100
|
# @param credential_key [String] The credential's name within the adapter
|
|
101
101
|
# @param confirm_adapter_connection_request [ConfirmAdapterConnectionRequest]
|
|
102
102
|
# @param [Hash] opts the optional parameters
|
|
103
|
-
# @return [
|
|
104
|
-
def
|
|
105
|
-
data, _status_code, _headers =
|
|
103
|
+
# @return [AdapterConnectionResponse]
|
|
104
|
+
def confirm_user_adapter_connection(user_id, adapter_id, credential_key, confirm_adapter_connection_request, opts = {})
|
|
105
|
+
data, _status_code, _headers = confirm_user_adapter_connection_with_http_info(user_id, adapter_id, credential_key, confirm_adapter_connection_request, opts)
|
|
106
106
|
data
|
|
107
107
|
end
|
|
108
108
|
|
|
@@ -113,34 +113,34 @@ module ApiSdkRb
|
|
|
113
113
|
# @param credential_key [String] The credential's name within the adapter
|
|
114
114
|
# @param confirm_adapter_connection_request [ConfirmAdapterConnectionRequest]
|
|
115
115
|
# @param [Hash] opts the optional parameters
|
|
116
|
-
# @return [Array<(
|
|
117
|
-
def
|
|
116
|
+
# @return [Array<(AdapterConnectionResponse, Integer, Hash)>] AdapterConnectionResponse data, response status code and response headers
|
|
117
|
+
def confirm_user_adapter_connection_with_http_info(user_id, adapter_id, credential_key, confirm_adapter_connection_request, opts = {})
|
|
118
118
|
if @api_client.config.debugging
|
|
119
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
119
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.confirm_user_adapter_connection ...'
|
|
120
120
|
end
|
|
121
121
|
# verify the required parameter 'user_id' is set
|
|
122
122
|
if @api_client.config.client_side_validation && user_id.nil?
|
|
123
|
-
fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.
|
|
123
|
+
fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.confirm_user_adapter_connection"
|
|
124
124
|
end
|
|
125
125
|
# verify the required parameter 'adapter_id' is set
|
|
126
126
|
if @api_client.config.client_side_validation && adapter_id.nil?
|
|
127
|
-
fail ArgumentError, "Missing the required parameter 'adapter_id' when calling UsersApi.
|
|
127
|
+
fail ArgumentError, "Missing the required parameter 'adapter_id' when calling UsersApi.confirm_user_adapter_connection"
|
|
128
128
|
end
|
|
129
129
|
if @api_client.config.client_side_validation && adapter_id.to_s.length > 40
|
|
130
|
-
fail ArgumentError, 'invalid value for "adapter_id" when calling UsersApi.
|
|
130
|
+
fail ArgumentError, 'invalid value for "adapter_id" when calling UsersApi.confirm_user_adapter_connection, the character length must be smaller than or equal to 40.'
|
|
131
131
|
end
|
|
132
132
|
|
|
133
133
|
# verify the required parameter 'credential_key' is set
|
|
134
134
|
if @api_client.config.client_side_validation && credential_key.nil?
|
|
135
|
-
fail ArgumentError, "Missing the required parameter 'credential_key' when calling UsersApi.
|
|
135
|
+
fail ArgumentError, "Missing the required parameter 'credential_key' when calling UsersApi.confirm_user_adapter_connection"
|
|
136
136
|
end
|
|
137
137
|
if @api_client.config.client_side_validation && credential_key.to_s.length > 40
|
|
138
|
-
fail ArgumentError, 'invalid value for "credential_key" when calling UsersApi.
|
|
138
|
+
fail ArgumentError, 'invalid value for "credential_key" when calling UsersApi.confirm_user_adapter_connection, the character length must be smaller than or equal to 40.'
|
|
139
139
|
end
|
|
140
140
|
|
|
141
141
|
# verify the required parameter 'confirm_adapter_connection_request' is set
|
|
142
142
|
if @api_client.config.client_side_validation && confirm_adapter_connection_request.nil?
|
|
143
|
-
fail ArgumentError, "Missing the required parameter 'confirm_adapter_connection_request' when calling UsersApi.
|
|
143
|
+
fail ArgumentError, "Missing the required parameter 'confirm_adapter_connection_request' when calling UsersApi.confirm_user_adapter_connection"
|
|
144
144
|
end
|
|
145
145
|
# resource path
|
|
146
146
|
local_var_path = '/users/{userId}/adapter-connections/{adapterId}/{credentialKey}/confirm'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s)).sub('{' + 'adapterId' + '}', CGI.escape(adapter_id.to_s)).sub('{' + 'credentialKey' + '}', CGI.escape(credential_key.to_s))
|
|
@@ -165,13 +165,13 @@ module ApiSdkRb
|
|
|
165
165
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(confirm_adapter_connection_request)
|
|
166
166
|
|
|
167
167
|
# return_type
|
|
168
|
-
return_type = opts[:debug_return_type] || '
|
|
168
|
+
return_type = opts[:debug_return_type] || 'AdapterConnectionResponse'
|
|
169
169
|
|
|
170
170
|
# auth_names
|
|
171
171
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
172
172
|
|
|
173
173
|
new_options = opts.merge(
|
|
174
|
-
:operation => :"UsersApi.
|
|
174
|
+
:operation => :"UsersApi.confirm_user_adapter_connection",
|
|
175
175
|
:header_params => header_params,
|
|
176
176
|
:query_params => query_params,
|
|
177
177
|
:form_params => form_params,
|
|
@@ -182,7 +182,7 @@ module ApiSdkRb
|
|
|
182
182
|
|
|
183
183
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
184
184
|
if @api_client.config.debugging
|
|
185
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
185
|
+
@api_client.config.logger.debug "API called: UsersApi#confirm_user_adapter_connection\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
186
186
|
end
|
|
187
187
|
return data, status_code, headers
|
|
188
188
|
end
|
|
@@ -194,8 +194,8 @@ module ApiSdkRb
|
|
|
194
194
|
# @param create_user_api_key_request [CreateUserApiKeyRequest]
|
|
195
195
|
# @param [Hash] opts the optional parameters
|
|
196
196
|
# @return [CreatedUserApiKeyResponse]
|
|
197
|
-
def
|
|
198
|
-
data, _status_code, _headers =
|
|
197
|
+
def create_user_api_key(id, idempotency_key, create_user_api_key_request, opts = {})
|
|
198
|
+
data, _status_code, _headers = create_user_api_key_with_http_info(id, idempotency_key, create_user_api_key_request, opts)
|
|
199
199
|
data
|
|
200
200
|
end
|
|
201
201
|
|
|
@@ -206,34 +206,34 @@ module ApiSdkRb
|
|
|
206
206
|
# @param create_user_api_key_request [CreateUserApiKeyRequest]
|
|
207
207
|
# @param [Hash] opts the optional parameters
|
|
208
208
|
# @return [Array<(CreatedUserApiKeyResponse, Integer, Hash)>] CreatedUserApiKeyResponse data, response status code and response headers
|
|
209
|
-
def
|
|
209
|
+
def create_user_api_key_with_http_info(id, idempotency_key, create_user_api_key_request, opts = {})
|
|
210
210
|
if @api_client.config.debugging
|
|
211
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
211
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.create_user_api_key ...'
|
|
212
212
|
end
|
|
213
213
|
# verify the required parameter 'id' is set
|
|
214
214
|
if @api_client.config.client_side_validation && id.nil?
|
|
215
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.
|
|
215
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.create_user_api_key"
|
|
216
216
|
end
|
|
217
217
|
# verify the required parameter 'idempotency_key' is set
|
|
218
218
|
if @api_client.config.client_side_validation && idempotency_key.nil?
|
|
219
|
-
fail ArgumentError, "Missing the required parameter 'idempotency_key' when calling UsersApi.
|
|
219
|
+
fail ArgumentError, "Missing the required parameter 'idempotency_key' when calling UsersApi.create_user_api_key"
|
|
220
220
|
end
|
|
221
221
|
if @api_client.config.client_side_validation && idempotency_key.to_s.length > 50
|
|
222
|
-
fail ArgumentError, 'invalid value for "idempotency_key" when calling UsersApi.
|
|
222
|
+
fail ArgumentError, 'invalid value for "idempotency_key" when calling UsersApi.create_user_api_key, the character length must be smaller than or equal to 50.'
|
|
223
223
|
end
|
|
224
224
|
|
|
225
225
|
if @api_client.config.client_side_validation && idempotency_key.to_s.length < 8
|
|
226
|
-
fail ArgumentError, 'invalid value for "idempotency_key" when calling UsersApi.
|
|
226
|
+
fail ArgumentError, 'invalid value for "idempotency_key" when calling UsersApi.create_user_api_key, the character length must be great than or equal to 8.'
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
pattern = Regexp.new(/^[a-zA-Z0-9_-]{8,50}$/)
|
|
230
230
|
if @api_client.config.client_side_validation && idempotency_key !~ pattern
|
|
231
|
-
fail ArgumentError, "invalid value for 'idempotency_key' when calling UsersApi.
|
|
231
|
+
fail ArgumentError, "invalid value for 'idempotency_key' when calling UsersApi.create_user_api_key, must conform to the pattern #{pattern}."
|
|
232
232
|
end
|
|
233
233
|
|
|
234
234
|
# verify the required parameter 'create_user_api_key_request' is set
|
|
235
235
|
if @api_client.config.client_side_validation && create_user_api_key_request.nil?
|
|
236
|
-
fail ArgumentError, "Missing the required parameter 'create_user_api_key_request' when calling UsersApi.
|
|
236
|
+
fail ArgumentError, "Missing the required parameter 'create_user_api_key_request' when calling UsersApi.create_user_api_key"
|
|
237
237
|
end
|
|
238
238
|
# resource path
|
|
239
239
|
local_var_path = '/users/{id}/keys'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
@@ -265,7 +265,7 @@ module ApiSdkRb
|
|
|
265
265
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
266
266
|
|
|
267
267
|
new_options = opts.merge(
|
|
268
|
-
:operation => :"UsersApi.
|
|
268
|
+
:operation => :"UsersApi.create_user_api_key",
|
|
269
269
|
:header_params => header_params,
|
|
270
270
|
:query_params => query_params,
|
|
271
271
|
:form_params => form_params,
|
|
@@ -276,7 +276,7 @@ module ApiSdkRb
|
|
|
276
276
|
|
|
277
277
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
278
278
|
if @api_client.config.debugging
|
|
279
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
279
|
+
@api_client.config.logger.debug "API called: UsersApi#create_user_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
280
280
|
end
|
|
281
281
|
return data, status_code, headers
|
|
282
282
|
end
|
|
@@ -287,8 +287,8 @@ module ApiSdkRb
|
|
|
287
287
|
# @param domain_id [String] The `id` of the entry, as the list shows it
|
|
288
288
|
# @param [Hash] opts the optional parameters
|
|
289
289
|
# @return [DeletePersonalWorkspaceDomainResponse]
|
|
290
|
-
def
|
|
291
|
-
data, _status_code, _headers =
|
|
290
|
+
def delete_personal_workspace_domain(id, domain_id, opts = {})
|
|
291
|
+
data, _status_code, _headers = delete_personal_workspace_domain_with_http_info(id, domain_id, opts)
|
|
292
292
|
data
|
|
293
293
|
end
|
|
294
294
|
|
|
@@ -298,17 +298,17 @@ module ApiSdkRb
|
|
|
298
298
|
# @param domain_id [String] The `id` of the entry, as the list shows it
|
|
299
299
|
# @param [Hash] opts the optional parameters
|
|
300
300
|
# @return [Array<(DeletePersonalWorkspaceDomainResponse, Integer, Hash)>] DeletePersonalWorkspaceDomainResponse data, response status code and response headers
|
|
301
|
-
def
|
|
301
|
+
def delete_personal_workspace_domain_with_http_info(id, domain_id, opts = {})
|
|
302
302
|
if @api_client.config.debugging
|
|
303
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
303
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.delete_personal_workspace_domain ...'
|
|
304
304
|
end
|
|
305
305
|
# verify the required parameter 'id' is set
|
|
306
306
|
if @api_client.config.client_side_validation && id.nil?
|
|
307
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.
|
|
307
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.delete_personal_workspace_domain"
|
|
308
308
|
end
|
|
309
309
|
# verify the required parameter 'domain_id' is set
|
|
310
310
|
if @api_client.config.client_side_validation && domain_id.nil?
|
|
311
|
-
fail ArgumentError, "Missing the required parameter 'domain_id' when calling UsersApi.
|
|
311
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling UsersApi.delete_personal_workspace_domain"
|
|
312
312
|
end
|
|
313
313
|
# resource path
|
|
314
314
|
local_var_path = '/users/{id}/workspace/domains/{domainId}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'domainId' + '}', CGI.escape(domain_id.to_s))
|
|
@@ -334,7 +334,7 @@ module ApiSdkRb
|
|
|
334
334
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
335
335
|
|
|
336
336
|
new_options = opts.merge(
|
|
337
|
-
:operation => :"UsersApi.
|
|
337
|
+
:operation => :"UsersApi.delete_personal_workspace_domain",
|
|
338
338
|
:header_params => header_params,
|
|
339
339
|
:query_params => query_params,
|
|
340
340
|
:form_params => form_params,
|
|
@@ -345,7 +345,7 @@ module ApiSdkRb
|
|
|
345
345
|
|
|
346
346
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
347
347
|
if @api_client.config.debugging
|
|
348
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
348
|
+
@api_client.config.logger.debug "API called: UsersApi#delete_personal_workspace_domain\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
349
349
|
end
|
|
350
350
|
return data, status_code, headers
|
|
351
351
|
end
|
|
@@ -356,8 +356,8 @@ module ApiSdkRb
|
|
|
356
356
|
# @param key_id [String] The `keyId` of the key, as the list shows it
|
|
357
357
|
# @param [Hash] opts the optional parameters
|
|
358
358
|
# @return [DeleteUserApiKeyResponse]
|
|
359
|
-
def
|
|
360
|
-
data, _status_code, _headers =
|
|
359
|
+
def delete_user_api_key(id, key_id, opts = {})
|
|
360
|
+
data, _status_code, _headers = delete_user_api_key_with_http_info(id, key_id, opts)
|
|
361
361
|
data
|
|
362
362
|
end
|
|
363
363
|
|
|
@@ -367,17 +367,17 @@ module ApiSdkRb
|
|
|
367
367
|
# @param key_id [String] The `keyId` of the key, as the list shows it
|
|
368
368
|
# @param [Hash] opts the optional parameters
|
|
369
369
|
# @return [Array<(DeleteUserApiKeyResponse, Integer, Hash)>] DeleteUserApiKeyResponse data, response status code and response headers
|
|
370
|
-
def
|
|
370
|
+
def delete_user_api_key_with_http_info(id, key_id, opts = {})
|
|
371
371
|
if @api_client.config.debugging
|
|
372
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
372
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.delete_user_api_key ...'
|
|
373
373
|
end
|
|
374
374
|
# verify the required parameter 'id' is set
|
|
375
375
|
if @api_client.config.client_side_validation && id.nil?
|
|
376
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.
|
|
376
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.delete_user_api_key"
|
|
377
377
|
end
|
|
378
378
|
# verify the required parameter 'key_id' is set
|
|
379
379
|
if @api_client.config.client_side_validation && key_id.nil?
|
|
380
|
-
fail ArgumentError, "Missing the required parameter 'key_id' when calling UsersApi.
|
|
380
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling UsersApi.delete_user_api_key"
|
|
381
381
|
end
|
|
382
382
|
# resource path
|
|
383
383
|
local_var_path = '/users/{id}/keys/{keyId}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'keyId' + '}', CGI.escape(key_id.to_s))
|
|
@@ -403,7 +403,7 @@ module ApiSdkRb
|
|
|
403
403
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
404
404
|
|
|
405
405
|
new_options = opts.merge(
|
|
406
|
-
:operation => :"UsersApi.
|
|
406
|
+
:operation => :"UsersApi.delete_user_api_key",
|
|
407
407
|
:header_params => header_params,
|
|
408
408
|
:query_params => query_params,
|
|
409
409
|
:form_params => form_params,
|
|
@@ -414,7 +414,7 @@ module ApiSdkRb
|
|
|
414
414
|
|
|
415
415
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
416
416
|
if @api_client.config.debugging
|
|
417
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
417
|
+
@api_client.config.logger.debug "API called: UsersApi#delete_user_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
418
418
|
end
|
|
419
419
|
return data, status_code, headers
|
|
420
420
|
end
|
|
@@ -424,8 +424,8 @@ module ApiSdkRb
|
|
|
424
424
|
# @param id [String] The account the list belongs to. For your own, your own user id
|
|
425
425
|
# @param [Hash] opts the optional parameters
|
|
426
426
|
# @return [GetPersonalWorkspaceDomains200Response]
|
|
427
|
-
def
|
|
428
|
-
data, _status_code, _headers =
|
|
427
|
+
def get_personal_workspace_domains(id, opts = {})
|
|
428
|
+
data, _status_code, _headers = get_personal_workspace_domains_with_http_info(id, opts)
|
|
429
429
|
data
|
|
430
430
|
end
|
|
431
431
|
|
|
@@ -434,13 +434,13 @@ module ApiSdkRb
|
|
|
434
434
|
# @param id [String] The account the list belongs to. For your own, your own user id
|
|
435
435
|
# @param [Hash] opts the optional parameters
|
|
436
436
|
# @return [Array<(GetPersonalWorkspaceDomains200Response, Integer, Hash)>] GetPersonalWorkspaceDomains200Response data, response status code and response headers
|
|
437
|
-
def
|
|
437
|
+
def get_personal_workspace_domains_with_http_info(id, opts = {})
|
|
438
438
|
if @api_client.config.debugging
|
|
439
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
439
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.get_personal_workspace_domains ...'
|
|
440
440
|
end
|
|
441
441
|
# verify the required parameter 'id' is set
|
|
442
442
|
if @api_client.config.client_side_validation && id.nil?
|
|
443
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.
|
|
443
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.get_personal_workspace_domains"
|
|
444
444
|
end
|
|
445
445
|
# resource path
|
|
446
446
|
local_var_path = '/users/{id}/workspace/domains'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
@@ -466,7 +466,7 @@ module ApiSdkRb
|
|
|
466
466
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
467
467
|
|
|
468
468
|
new_options = opts.merge(
|
|
469
|
-
:operation => :"UsersApi.
|
|
469
|
+
:operation => :"UsersApi.get_personal_workspace_domains",
|
|
470
470
|
:header_params => header_params,
|
|
471
471
|
:query_params => query_params,
|
|
472
472
|
:form_params => form_params,
|
|
@@ -477,7 +477,7 @@ module ApiSdkRb
|
|
|
477
477
|
|
|
478
478
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
479
479
|
if @api_client.config.debugging
|
|
480
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
480
|
+
@api_client.config.logger.debug "API called: UsersApi#get_personal_workspace_domains\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
481
481
|
end
|
|
482
482
|
return data, status_code, headers
|
|
483
483
|
end
|
|
@@ -486,9 +486,9 @@ module ApiSdkRb
|
|
|
486
486
|
# Widget adapters are capabilities a widget can use, and some of them act through a service the owner has an account with: an adapter that sends email needs the owner's email provider key, one that sends texts needs the owner's SMS provider key. This lists every key an adapter takes from an owner and whether this account has connected it, so a settings page can show what is missing. An empty list means no adapter takes a key from an owner at the moment. The list never contains a key: only whether one is connected and when it was last set. Connect a key with `setUserAdapterConnection`; take it away with `removeUserAdapterConnection`. The widgets of customers a partner manages use the partner's keys instead (`getPartnerAdapterConnections`). The caller must be the account itself (an API key of that account works, with the `account:read` scope), or a Widgetic administrator.
|
|
487
487
|
# @param user_id [String] The account whose adapter keys to list. For your own, your own user id
|
|
488
488
|
# @param [Hash] opts the optional parameters
|
|
489
|
-
# @return [
|
|
490
|
-
def
|
|
491
|
-
data, _status_code, _headers =
|
|
489
|
+
# @return [AdapterConnectionListResponse]
|
|
490
|
+
def get_user_adapter_connections(user_id, opts = {})
|
|
491
|
+
data, _status_code, _headers = get_user_adapter_connections_with_http_info(user_id, opts)
|
|
492
492
|
data
|
|
493
493
|
end
|
|
494
494
|
|
|
@@ -496,14 +496,14 @@ module ApiSdkRb
|
|
|
496
496
|
# Widget adapters are capabilities a widget can use, and some of them act through a service the owner has an account with: an adapter that sends email needs the owner's email provider key, one that sends texts needs the owner's SMS provider key. This lists every key an adapter takes from an owner and whether this account has connected it, so a settings page can show what is missing. An empty list means no adapter takes a key from an owner at the moment. The list never contains a key: only whether one is connected and when it was last set. Connect a key with `setUserAdapterConnection`; take it away with `removeUserAdapterConnection`. The widgets of customers a partner manages use the partner's keys instead (`getPartnerAdapterConnections`). The caller must be the account itself (an API key of that account works, with the `account:read` scope), or a Widgetic administrator.
|
|
497
497
|
# @param user_id [String] The account whose adapter keys to list. For your own, your own user id
|
|
498
498
|
# @param [Hash] opts the optional parameters
|
|
499
|
-
# @return [Array<(
|
|
500
|
-
def
|
|
499
|
+
# @return [Array<(AdapterConnectionListResponse, Integer, Hash)>] AdapterConnectionListResponse data, response status code and response headers
|
|
500
|
+
def get_user_adapter_connections_with_http_info(user_id, opts = {})
|
|
501
501
|
if @api_client.config.debugging
|
|
502
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
502
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.get_user_adapter_connections ...'
|
|
503
503
|
end
|
|
504
504
|
# verify the required parameter 'user_id' is set
|
|
505
505
|
if @api_client.config.client_side_validation && user_id.nil?
|
|
506
|
-
fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.
|
|
506
|
+
fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.get_user_adapter_connections"
|
|
507
507
|
end
|
|
508
508
|
# resource path
|
|
509
509
|
local_var_path = '/users/{userId}/adapter-connections'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))
|
|
@@ -523,13 +523,13 @@ module ApiSdkRb
|
|
|
523
523
|
post_body = opts[:debug_body]
|
|
524
524
|
|
|
525
525
|
# return_type
|
|
526
|
-
return_type = opts[:debug_return_type] || '
|
|
526
|
+
return_type = opts[:debug_return_type] || 'AdapterConnectionListResponse'
|
|
527
527
|
|
|
528
528
|
# auth_names
|
|
529
529
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
530
530
|
|
|
531
531
|
new_options = opts.merge(
|
|
532
|
-
:operation => :"UsersApi.
|
|
532
|
+
:operation => :"UsersApi.get_user_adapter_connections",
|
|
533
533
|
:header_params => header_params,
|
|
534
534
|
:query_params => query_params,
|
|
535
535
|
:form_params => form_params,
|
|
@@ -540,7 +540,7 @@ module ApiSdkRb
|
|
|
540
540
|
|
|
541
541
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
542
542
|
if @api_client.config.debugging
|
|
543
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
543
|
+
@api_client.config.logger.debug "API called: UsersApi#get_user_adapter_connections\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
544
544
|
end
|
|
545
545
|
return data, status_code, headers
|
|
546
546
|
end
|
|
@@ -552,8 +552,8 @@ module ApiSdkRb
|
|
|
552
552
|
# @param [Hash] opts the optional parameters
|
|
553
553
|
# @option opts [Integer] :limit How many calls to return, newest first (default to 500)
|
|
554
554
|
# @return [GetUserApiKeyUsageLogsResponse]
|
|
555
|
-
def
|
|
556
|
-
data, _status_code, _headers =
|
|
555
|
+
def get_user_api_key_usage_logs(id, key_id, opts = {})
|
|
556
|
+
data, _status_code, _headers = get_user_api_key_usage_logs_with_http_info(id, key_id, opts)
|
|
557
557
|
data
|
|
558
558
|
end
|
|
559
559
|
|
|
@@ -564,24 +564,24 @@ module ApiSdkRb
|
|
|
564
564
|
# @param [Hash] opts the optional parameters
|
|
565
565
|
# @option opts [Integer] :limit How many calls to return, newest first (default to 500)
|
|
566
566
|
# @return [Array<(GetUserApiKeyUsageLogsResponse, Integer, Hash)>] GetUserApiKeyUsageLogsResponse data, response status code and response headers
|
|
567
|
-
def
|
|
567
|
+
def get_user_api_key_usage_logs_with_http_info(id, key_id, opts = {})
|
|
568
568
|
if @api_client.config.debugging
|
|
569
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
569
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.get_user_api_key_usage_logs ...'
|
|
570
570
|
end
|
|
571
571
|
# verify the required parameter 'id' is set
|
|
572
572
|
if @api_client.config.client_side_validation && id.nil?
|
|
573
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.
|
|
573
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.get_user_api_key_usage_logs"
|
|
574
574
|
end
|
|
575
575
|
# verify the required parameter 'key_id' is set
|
|
576
576
|
if @api_client.config.client_side_validation && key_id.nil?
|
|
577
|
-
fail ArgumentError, "Missing the required parameter 'key_id' when calling UsersApi.
|
|
577
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling UsersApi.get_user_api_key_usage_logs"
|
|
578
578
|
end
|
|
579
579
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
580
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling UsersApi.
|
|
580
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling UsersApi.get_user_api_key_usage_logs, must be smaller than or equal to 500.'
|
|
581
581
|
end
|
|
582
582
|
|
|
583
583
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
584
|
-
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling UsersApi.
|
|
584
|
+
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling UsersApi.get_user_api_key_usage_logs, must be greater than or equal to 1.'
|
|
585
585
|
end
|
|
586
586
|
|
|
587
587
|
# resource path
|
|
@@ -609,7 +609,7 @@ module ApiSdkRb
|
|
|
609
609
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
610
610
|
|
|
611
611
|
new_options = opts.merge(
|
|
612
|
-
:operation => :"UsersApi.
|
|
612
|
+
:operation => :"UsersApi.get_user_api_key_usage_logs",
|
|
613
613
|
:header_params => header_params,
|
|
614
614
|
:query_params => query_params,
|
|
615
615
|
:form_params => form_params,
|
|
@@ -620,7 +620,7 @@ module ApiSdkRb
|
|
|
620
620
|
|
|
621
621
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
622
622
|
if @api_client.config.debugging
|
|
623
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
623
|
+
@api_client.config.logger.debug "API called: UsersApi#get_user_api_key_usage_logs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
624
624
|
end
|
|
625
625
|
return data, status_code, headers
|
|
626
626
|
end
|
|
@@ -630,8 +630,8 @@ module ApiSdkRb
|
|
|
630
630
|
# @param id [String] The account the keys belong to. For your own keys, your own user id
|
|
631
631
|
# @param [Hash] opts the optional parameters
|
|
632
632
|
# @return [GetUserApiKeys200Response]
|
|
633
|
-
def
|
|
634
|
-
data, _status_code, _headers =
|
|
633
|
+
def get_user_api_keys(id, opts = {})
|
|
634
|
+
data, _status_code, _headers = get_user_api_keys_with_http_info(id, opts)
|
|
635
635
|
data
|
|
636
636
|
end
|
|
637
637
|
|
|
@@ -640,13 +640,13 @@ module ApiSdkRb
|
|
|
640
640
|
# @param id [String] The account the keys belong to. For your own keys, your own user id
|
|
641
641
|
# @param [Hash] opts the optional parameters
|
|
642
642
|
# @return [Array<(GetUserApiKeys200Response, Integer, Hash)>] GetUserApiKeys200Response data, response status code and response headers
|
|
643
|
-
def
|
|
643
|
+
def get_user_api_keys_with_http_info(id, opts = {})
|
|
644
644
|
if @api_client.config.debugging
|
|
645
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
645
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.get_user_api_keys ...'
|
|
646
646
|
end
|
|
647
647
|
# verify the required parameter 'id' is set
|
|
648
648
|
if @api_client.config.client_side_validation && id.nil?
|
|
649
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.
|
|
649
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.get_user_api_keys"
|
|
650
650
|
end
|
|
651
651
|
# resource path
|
|
652
652
|
local_var_path = '/users/{id}/keys'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
@@ -672,7 +672,7 @@ module ApiSdkRb
|
|
|
672
672
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
673
673
|
|
|
674
674
|
new_options = opts.merge(
|
|
675
|
-
:operation => :"UsersApi.
|
|
675
|
+
:operation => :"UsersApi.get_user_api_keys",
|
|
676
676
|
:header_params => header_params,
|
|
677
677
|
:query_params => query_params,
|
|
678
678
|
:form_params => form_params,
|
|
@@ -683,7 +683,7 @@ module ApiSdkRb
|
|
|
683
683
|
|
|
684
684
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
685
685
|
if @api_client.config.debugging
|
|
686
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
686
|
+
@api_client.config.logger.debug "API called: UsersApi#get_user_api_keys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
687
687
|
end
|
|
688
688
|
return data, status_code, headers
|
|
689
689
|
end
|
|
@@ -694,9 +694,9 @@ module ApiSdkRb
|
|
|
694
694
|
# @param adapter_id [String] The adapter the key is for
|
|
695
695
|
# @param credential_key [String] The key's name within the adapter
|
|
696
696
|
# @param [Hash] opts the optional parameters
|
|
697
|
-
# @return [
|
|
698
|
-
def
|
|
699
|
-
data, _status_code, _headers =
|
|
697
|
+
# @return [AdapterConnectionRemovalResponse]
|
|
698
|
+
def remove_user_adapter_connection(user_id, adapter_id, credential_key, opts = {})
|
|
699
|
+
data, _status_code, _headers = remove_user_adapter_connection_with_http_info(user_id, adapter_id, credential_key, opts)
|
|
700
700
|
data
|
|
701
701
|
end
|
|
702
702
|
|
|
@@ -706,29 +706,29 @@ module ApiSdkRb
|
|
|
706
706
|
# @param adapter_id [String] The adapter the key is for
|
|
707
707
|
# @param credential_key [String] The key's name within the adapter
|
|
708
708
|
# @param [Hash] opts the optional parameters
|
|
709
|
-
# @return [Array<(
|
|
710
|
-
def
|
|
709
|
+
# @return [Array<(AdapterConnectionRemovalResponse, Integer, Hash)>] AdapterConnectionRemovalResponse data, response status code and response headers
|
|
710
|
+
def remove_user_adapter_connection_with_http_info(user_id, adapter_id, credential_key, opts = {})
|
|
711
711
|
if @api_client.config.debugging
|
|
712
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
712
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.remove_user_adapter_connection ...'
|
|
713
713
|
end
|
|
714
714
|
# verify the required parameter 'user_id' is set
|
|
715
715
|
if @api_client.config.client_side_validation && user_id.nil?
|
|
716
|
-
fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.
|
|
716
|
+
fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.remove_user_adapter_connection"
|
|
717
717
|
end
|
|
718
718
|
# verify the required parameter 'adapter_id' is set
|
|
719
719
|
if @api_client.config.client_side_validation && adapter_id.nil?
|
|
720
|
-
fail ArgumentError, "Missing the required parameter 'adapter_id' when calling UsersApi.
|
|
720
|
+
fail ArgumentError, "Missing the required parameter 'adapter_id' when calling UsersApi.remove_user_adapter_connection"
|
|
721
721
|
end
|
|
722
722
|
if @api_client.config.client_side_validation && adapter_id.to_s.length > 40
|
|
723
|
-
fail ArgumentError, 'invalid value for "adapter_id" when calling UsersApi.
|
|
723
|
+
fail ArgumentError, 'invalid value for "adapter_id" when calling UsersApi.remove_user_adapter_connection, the character length must be smaller than or equal to 40.'
|
|
724
724
|
end
|
|
725
725
|
|
|
726
726
|
# verify the required parameter 'credential_key' is set
|
|
727
727
|
if @api_client.config.client_side_validation && credential_key.nil?
|
|
728
|
-
fail ArgumentError, "Missing the required parameter 'credential_key' when calling UsersApi.
|
|
728
|
+
fail ArgumentError, "Missing the required parameter 'credential_key' when calling UsersApi.remove_user_adapter_connection"
|
|
729
729
|
end
|
|
730
730
|
if @api_client.config.client_side_validation && credential_key.to_s.length > 40
|
|
731
|
-
fail ArgumentError, 'invalid value for "credential_key" when calling UsersApi.
|
|
731
|
+
fail ArgumentError, 'invalid value for "credential_key" when calling UsersApi.remove_user_adapter_connection, the character length must be smaller than or equal to 40.'
|
|
732
732
|
end
|
|
733
733
|
|
|
734
734
|
# resource path
|
|
@@ -749,13 +749,13 @@ module ApiSdkRb
|
|
|
749
749
|
post_body = opts[:debug_body]
|
|
750
750
|
|
|
751
751
|
# return_type
|
|
752
|
-
return_type = opts[:debug_return_type] || '
|
|
752
|
+
return_type = opts[:debug_return_type] || 'AdapterConnectionRemovalResponse'
|
|
753
753
|
|
|
754
754
|
# auth_names
|
|
755
755
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
756
756
|
|
|
757
757
|
new_options = opts.merge(
|
|
758
|
-
:operation => :"UsersApi.
|
|
758
|
+
:operation => :"UsersApi.remove_user_adapter_connection",
|
|
759
759
|
:header_params => header_params,
|
|
760
760
|
:query_params => query_params,
|
|
761
761
|
:form_params => form_params,
|
|
@@ -766,7 +766,7 @@ module ApiSdkRb
|
|
|
766
766
|
|
|
767
767
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
768
768
|
if @api_client.config.debugging
|
|
769
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
769
|
+
@api_client.config.logger.debug "API called: UsersApi#remove_user_adapter_connection\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
770
770
|
end
|
|
771
771
|
return data, status_code, headers
|
|
772
772
|
end
|
|
@@ -778,9 +778,9 @@ module ApiSdkRb
|
|
|
778
778
|
# @param credential_key [String] The key's name within the adapter
|
|
779
779
|
# @param set_adapter_connection_request [SetAdapterConnectionRequest]
|
|
780
780
|
# @param [Hash] opts the optional parameters
|
|
781
|
-
# @return [
|
|
782
|
-
def
|
|
783
|
-
data, _status_code, _headers =
|
|
781
|
+
# @return [AdapterConnectionResponse]
|
|
782
|
+
def set_user_adapter_connection(user_id, adapter_id, credential_key, set_adapter_connection_request, opts = {})
|
|
783
|
+
data, _status_code, _headers = set_user_adapter_connection_with_http_info(user_id, adapter_id, credential_key, set_adapter_connection_request, opts)
|
|
784
784
|
data
|
|
785
785
|
end
|
|
786
786
|
|
|
@@ -791,34 +791,34 @@ module ApiSdkRb
|
|
|
791
791
|
# @param credential_key [String] The key's name within the adapter
|
|
792
792
|
# @param set_adapter_connection_request [SetAdapterConnectionRequest]
|
|
793
793
|
# @param [Hash] opts the optional parameters
|
|
794
|
-
# @return [Array<(
|
|
795
|
-
def
|
|
794
|
+
# @return [Array<(AdapterConnectionResponse, Integer, Hash)>] AdapterConnectionResponse data, response status code and response headers
|
|
795
|
+
def set_user_adapter_connection_with_http_info(user_id, adapter_id, credential_key, set_adapter_connection_request, opts = {})
|
|
796
796
|
if @api_client.config.debugging
|
|
797
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
797
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.set_user_adapter_connection ...'
|
|
798
798
|
end
|
|
799
799
|
# verify the required parameter 'user_id' is set
|
|
800
800
|
if @api_client.config.client_side_validation && user_id.nil?
|
|
801
|
-
fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.
|
|
801
|
+
fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.set_user_adapter_connection"
|
|
802
802
|
end
|
|
803
803
|
# verify the required parameter 'adapter_id' is set
|
|
804
804
|
if @api_client.config.client_side_validation && adapter_id.nil?
|
|
805
|
-
fail ArgumentError, "Missing the required parameter 'adapter_id' when calling UsersApi.
|
|
805
|
+
fail ArgumentError, "Missing the required parameter 'adapter_id' when calling UsersApi.set_user_adapter_connection"
|
|
806
806
|
end
|
|
807
807
|
if @api_client.config.client_side_validation && adapter_id.to_s.length > 40
|
|
808
|
-
fail ArgumentError, 'invalid value for "adapter_id" when calling UsersApi.
|
|
808
|
+
fail ArgumentError, 'invalid value for "adapter_id" when calling UsersApi.set_user_adapter_connection, the character length must be smaller than or equal to 40.'
|
|
809
809
|
end
|
|
810
810
|
|
|
811
811
|
# verify the required parameter 'credential_key' is set
|
|
812
812
|
if @api_client.config.client_side_validation && credential_key.nil?
|
|
813
|
-
fail ArgumentError, "Missing the required parameter 'credential_key' when calling UsersApi.
|
|
813
|
+
fail ArgumentError, "Missing the required parameter 'credential_key' when calling UsersApi.set_user_adapter_connection"
|
|
814
814
|
end
|
|
815
815
|
if @api_client.config.client_side_validation && credential_key.to_s.length > 40
|
|
816
|
-
fail ArgumentError, 'invalid value for "credential_key" when calling UsersApi.
|
|
816
|
+
fail ArgumentError, 'invalid value for "credential_key" when calling UsersApi.set_user_adapter_connection, the character length must be smaller than or equal to 40.'
|
|
817
817
|
end
|
|
818
818
|
|
|
819
819
|
# verify the required parameter 'set_adapter_connection_request' is set
|
|
820
820
|
if @api_client.config.client_side_validation && set_adapter_connection_request.nil?
|
|
821
|
-
fail ArgumentError, "Missing the required parameter 'set_adapter_connection_request' when calling UsersApi.
|
|
821
|
+
fail ArgumentError, "Missing the required parameter 'set_adapter_connection_request' when calling UsersApi.set_user_adapter_connection"
|
|
822
822
|
end
|
|
823
823
|
# resource path
|
|
824
824
|
local_var_path = '/users/{userId}/adapter-connections/{adapterId}/{credentialKey}'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s)).sub('{' + 'adapterId' + '}', CGI.escape(adapter_id.to_s)).sub('{' + 'credentialKey' + '}', CGI.escape(credential_key.to_s))
|
|
@@ -843,13 +843,13 @@ module ApiSdkRb
|
|
|
843
843
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_adapter_connection_request)
|
|
844
844
|
|
|
845
845
|
# return_type
|
|
846
|
-
return_type = opts[:debug_return_type] || '
|
|
846
|
+
return_type = opts[:debug_return_type] || 'AdapterConnectionResponse'
|
|
847
847
|
|
|
848
848
|
# auth_names
|
|
849
849
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
850
850
|
|
|
851
851
|
new_options = opts.merge(
|
|
852
|
-
:operation => :"UsersApi.
|
|
852
|
+
:operation => :"UsersApi.set_user_adapter_connection",
|
|
853
853
|
:header_params => header_params,
|
|
854
854
|
:query_params => query_params,
|
|
855
855
|
:form_params => form_params,
|
|
@@ -860,7 +860,7 @@ module ApiSdkRb
|
|
|
860
860
|
|
|
861
861
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
862
862
|
if @api_client.config.debugging
|
|
863
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
863
|
+
@api_client.config.logger.debug "API called: UsersApi#set_user_adapter_connection\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
864
864
|
end
|
|
865
865
|
return data, status_code, headers
|
|
866
866
|
end
|
|
@@ -872,8 +872,8 @@ module ApiSdkRb
|
|
|
872
872
|
# @param update_domain_request [UpdateDomainRequest]
|
|
873
873
|
# @param [Hash] opts the optional parameters
|
|
874
874
|
# @return [PersonalWorkspaceDomainResultResponse]
|
|
875
|
-
def
|
|
876
|
-
data, _status_code, _headers =
|
|
875
|
+
def update_personal_workspace_domain(id, domain_id, update_domain_request, opts = {})
|
|
876
|
+
data, _status_code, _headers = update_personal_workspace_domain_with_http_info(id, domain_id, update_domain_request, opts)
|
|
877
877
|
data
|
|
878
878
|
end
|
|
879
879
|
|
|
@@ -884,21 +884,21 @@ module ApiSdkRb
|
|
|
884
884
|
# @param update_domain_request [UpdateDomainRequest]
|
|
885
885
|
# @param [Hash] opts the optional parameters
|
|
886
886
|
# @return [Array<(PersonalWorkspaceDomainResultResponse, Integer, Hash)>] PersonalWorkspaceDomainResultResponse data, response status code and response headers
|
|
887
|
-
def
|
|
887
|
+
def update_personal_workspace_domain_with_http_info(id, domain_id, update_domain_request, opts = {})
|
|
888
888
|
if @api_client.config.debugging
|
|
889
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
889
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.update_personal_workspace_domain ...'
|
|
890
890
|
end
|
|
891
891
|
# verify the required parameter 'id' is set
|
|
892
892
|
if @api_client.config.client_side_validation && id.nil?
|
|
893
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.
|
|
893
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.update_personal_workspace_domain"
|
|
894
894
|
end
|
|
895
895
|
# verify the required parameter 'domain_id' is set
|
|
896
896
|
if @api_client.config.client_side_validation && domain_id.nil?
|
|
897
|
-
fail ArgumentError, "Missing the required parameter 'domain_id' when calling UsersApi.
|
|
897
|
+
fail ArgumentError, "Missing the required parameter 'domain_id' when calling UsersApi.update_personal_workspace_domain"
|
|
898
898
|
end
|
|
899
899
|
# verify the required parameter 'update_domain_request' is set
|
|
900
900
|
if @api_client.config.client_side_validation && update_domain_request.nil?
|
|
901
|
-
fail ArgumentError, "Missing the required parameter 'update_domain_request' when calling UsersApi.
|
|
901
|
+
fail ArgumentError, "Missing the required parameter 'update_domain_request' when calling UsersApi.update_personal_workspace_domain"
|
|
902
902
|
end
|
|
903
903
|
# resource path
|
|
904
904
|
local_var_path = '/users/{id}/workspace/domains/{domainId}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'domainId' + '}', CGI.escape(domain_id.to_s))
|
|
@@ -929,7 +929,7 @@ module ApiSdkRb
|
|
|
929
929
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
930
930
|
|
|
931
931
|
new_options = opts.merge(
|
|
932
|
-
:operation => :"UsersApi.
|
|
932
|
+
:operation => :"UsersApi.update_personal_workspace_domain",
|
|
933
933
|
:header_params => header_params,
|
|
934
934
|
:query_params => query_params,
|
|
935
935
|
:form_params => form_params,
|
|
@@ -940,7 +940,7 @@ module ApiSdkRb
|
|
|
940
940
|
|
|
941
941
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
942
942
|
if @api_client.config.debugging
|
|
943
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
943
|
+
@api_client.config.logger.debug "API called: UsersApi#update_personal_workspace_domain\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
944
944
|
end
|
|
945
945
|
return data, status_code, headers
|
|
946
946
|
end
|
|
@@ -952,8 +952,8 @@ module ApiSdkRb
|
|
|
952
952
|
# @param update_user_api_key_request [UpdateUserApiKeyRequest]
|
|
953
953
|
# @param [Hash] opts the optional parameters
|
|
954
954
|
# @return [UserApiKeyResponse]
|
|
955
|
-
def
|
|
956
|
-
data, _status_code, _headers =
|
|
955
|
+
def update_user_api_key(id, key_id, update_user_api_key_request, opts = {})
|
|
956
|
+
data, _status_code, _headers = update_user_api_key_with_http_info(id, key_id, update_user_api_key_request, opts)
|
|
957
957
|
data
|
|
958
958
|
end
|
|
959
959
|
|
|
@@ -964,21 +964,21 @@ module ApiSdkRb
|
|
|
964
964
|
# @param update_user_api_key_request [UpdateUserApiKeyRequest]
|
|
965
965
|
# @param [Hash] opts the optional parameters
|
|
966
966
|
# @return [Array<(UserApiKeyResponse, Integer, Hash)>] UserApiKeyResponse data, response status code and response headers
|
|
967
|
-
def
|
|
967
|
+
def update_user_api_key_with_http_info(id, key_id, update_user_api_key_request, opts = {})
|
|
968
968
|
if @api_client.config.debugging
|
|
969
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
969
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.update_user_api_key ...'
|
|
970
970
|
end
|
|
971
971
|
# verify the required parameter 'id' is set
|
|
972
972
|
if @api_client.config.client_side_validation && id.nil?
|
|
973
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.
|
|
973
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling UsersApi.update_user_api_key"
|
|
974
974
|
end
|
|
975
975
|
# verify the required parameter 'key_id' is set
|
|
976
976
|
if @api_client.config.client_side_validation && key_id.nil?
|
|
977
|
-
fail ArgumentError, "Missing the required parameter 'key_id' when calling UsersApi.
|
|
977
|
+
fail ArgumentError, "Missing the required parameter 'key_id' when calling UsersApi.update_user_api_key"
|
|
978
978
|
end
|
|
979
979
|
# verify the required parameter 'update_user_api_key_request' is set
|
|
980
980
|
if @api_client.config.client_side_validation && update_user_api_key_request.nil?
|
|
981
|
-
fail ArgumentError, "Missing the required parameter 'update_user_api_key_request' when calling UsersApi.
|
|
981
|
+
fail ArgumentError, "Missing the required parameter 'update_user_api_key_request' when calling UsersApi.update_user_api_key"
|
|
982
982
|
end
|
|
983
983
|
# resource path
|
|
984
984
|
local_var_path = '/users/{id}/keys/{keyId}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'keyId' + '}', CGI.escape(key_id.to_s))
|
|
@@ -1009,7 +1009,7 @@ module ApiSdkRb
|
|
|
1009
1009
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
1010
1010
|
|
|
1011
1011
|
new_options = opts.merge(
|
|
1012
|
-
:operation => :"UsersApi.
|
|
1012
|
+
:operation => :"UsersApi.update_user_api_key",
|
|
1013
1013
|
:header_params => header_params,
|
|
1014
1014
|
:query_params => query_params,
|
|
1015
1015
|
:form_params => form_params,
|
|
@@ -1020,7 +1020,7 @@ module ApiSdkRb
|
|
|
1020
1020
|
|
|
1021
1021
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
1022
1022
|
if @api_client.config.debugging
|
|
1023
|
-
@api_client.config.logger.debug "API called: UsersApi#
|
|
1023
|
+
@api_client.config.logger.debug "API called: UsersApi#update_user_api_key\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1024
1024
|
end
|
|
1025
1025
|
return data, status_code, headers
|
|
1026
1026
|
end
|