api-sdk-rb 1.11.66 → 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 +294 -285
- data/docs/{GetPartnerCreditTransactions200Response.md → AccountCreditTransactionListResponse.md} +2 -2
- data/docs/AdapterConnection.md +7 -1
- 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/BrandColor.md +22 -0
- data/docs/BrandFont.md +24 -0
- data/docs/BrandKitApi.md +593 -0
- data/docs/BrandKitAssetView.md +42 -0
- data/docs/BrandKitFigmaSource.md +26 -0
- data/docs/BrandKitTokens.md +26 -0
- data/docs/BrandKitTokensFonts.md +24 -0
- data/docs/BrandKitView.md +36 -0
- data/docs/BrandKitViewOwner.md +20 -0
- data/docs/{OperationsIdGetResponse.md → BrandKitViewResponse.md} +3 -3
- data/docs/BrandSpacing.md +32 -0
- data/docs/BrandTextStyle.md +22 -0
- data/docs/CanvasesApi.md +45 -45
- data/docs/Composition.md +5 -1
- data/docs/{CreateCompositionDatabaseRecord201Response.md → CompositionDatabaseRecordResponse.md} +2 -2
- data/docs/CompositionLastEditedBy.md +20 -0
- data/docs/CompositionsApi.md +821 -473
- data/docs/ConfirmAdapterConnectionRequest.md +18 -0
- data/docs/{CreateCompositionContentItem201Response.md → ContentItemWriteResultResponse.md} +2 -2
- data/docs/CreateWidget201ResponseData.md +2 -4
- data/docs/CreateWorkspaceWorkflowFromPresetRequest.md +20 -0
- data/docs/CreateWorkspaceWorkflowRequest.md +22 -0
- data/docs/CreditsApi.md +20 -20
- data/docs/DeleteUpload200Response.md +22 -0
- data/docs/{UploadsIdDelete200ResponseData.md → DeleteUpload200ResponseData.md} +2 -2
- data/docs/DeleteWorkspaceWorkflow200Response.md +22 -0
- data/docs/{GetPartnerDesignDefaults200Response.md → DesignDefaultsResponse.md} +2 -2
- data/docs/EntitlementsApi.md +18 -18
- data/docs/GetOperationResponse.md +22 -0
- data/docs/{OperationsIdGetResponseData.md → GetOperationResponseData.md} +3 -3
- data/docs/GetOperationResponseDataMetadata.md +24 -0
- data/docs/GetPublicCompositionEmbed200Response.md +7 -1
- data/docs/GetPublicCompositionEmbed200ResponseAdapters.md +20 -0
- data/docs/GetPublicCompositionEmbed200ResponseAdaptersCaptcha.md +18 -0
- data/docs/GetPublicCompositionEmbed200ResponseEntries.md +20 -0
- data/docs/GetPublicCompositionEmbed200ResponseMedia.md +18 -0
- data/docs/GetWorkspaceWorkflowStats200Response.md +22 -0
- data/docs/GetWorkspaceWorkflowVersion200Response.md +22 -0
- data/docs/InvoicesApi.md +9 -9
- data/docs/ListPartnerWorkflowPresets200Response.md +22 -0
- data/docs/{UploadsGet200Response.md → ListUploads200Response.md} +2 -2
- data/docs/ListWorkspaceWorkflowCompositionOptions200Response.md +22 -0
- data/docs/ListWorkspaceWorkflowPresets200Response.md +22 -0
- data/docs/ListWorkspaceWorkflowVersions200Response.md +22 -0
- data/docs/ListWorkspaceWorkflows200Response.md +22 -0
- data/docs/{GetManagedUserLimits200Response.md → ManagedUserLimitsResponse.md} +2 -2
- data/docs/{DeleteManagedUser200Response.md → ManagedUserRemovalResponse.md} +2 -2
- data/docs/ManagedUsersApi.md +261 -171
- data/docs/NewComposition.md +1 -1
- data/docs/NewEditorSession.md +1 -1
- data/docs/OfferWorkflowPresetRequest.md +24 -0
- data/docs/OfferedWorkflowPreset.md +40 -0
- data/docs/OfferedWorkflowPresetList.md +18 -0
- data/docs/OfferedWorkflowPresetWidget.md +22 -0
- data/docs/OperationsApi.md +11 -11
- data/docs/PartnerCustomization.md +2 -2
- data/docs/PartnerNotification.md +1 -1
- data/docs/PartnersApi.md +644 -352
- data/docs/PatchBrandKitAssetRequest.md +24 -0
- data/docs/PatchBrandKitRequest.md +30 -0
- data/docs/PatchBrandKitRequestFonts.md +24 -0
- data/docs/PatchBrandKitRequestSpacing.md +32 -0
- data/docs/PostBrandKitIconRequest.md +20 -0
- data/docs/PublicEmbedApi.md +324 -58
- data/docs/PublicWorkflow.md +36 -0
- data/docs/PublicWorkflowEventsAccepted.md +22 -0
- data/docs/PublicWorkflowEventsRequest.md +24 -0
- data/docs/PublicWorkflowEventsRequestEventsInner.md +24 -0
- data/docs/PublicWorkflowEventsRequestHeightsInner.md +20 -0
- data/docs/{CreateCompositionFromWidget201Response.md → PublicWorkflowResponse.md} +3 -3
- data/docs/PublicWorkflowTranslation.md +20 -0
- data/docs/PublishWorkspaceWorkflow200Response.md +22 -0
- data/docs/PublishWorkspaceWorkflowRequest.md +18 -0
- data/docs/PutBrandKitRequest.md +22 -0
- data/docs/RemovePartnerWorkflowPreset200Response.md +22 -0
- data/docs/ReportPublicWorkflowEvents200Response.md +22 -0
- data/docs/SaveWorkspaceWorkflowRequest.md +24 -0
- data/docs/SetAdapterConnectionRequest.md +1 -1
- data/docs/SetPartnerWorkflowPreset200Response.md +22 -0
- data/docs/TokensApi.md +11 -9
- data/docs/UpdateComposition.md +1 -1
- data/docs/Upload.md +1 -1
- data/docs/UploadLimits.md +3 -3
- data/docs/UploadsApi.md +85 -85
- data/docs/UsersApi.md +191 -115
- data/docs/Widget.md +2 -4
- 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/Workflow.md +50 -0
- data/docs/WorkflowCompositionAction.md +24 -0
- data/docs/WorkflowCompositionField.md +24 -0
- data/docs/WorkflowCompositionOption.md +30 -0
- data/docs/WorkflowCompositionOptionActions.md +22 -0
- data/docs/WorkflowCompositionOptionInputs.md +24 -0
- data/docs/WorkflowCompositionOptions.md +24 -0
- data/docs/WorkflowConditionCase.md +24 -0
- data/docs/WorkflowConditionTest.md +22 -0
- data/docs/WorkflowCounter.md +20 -0
- data/docs/WorkflowDetail.md +60 -0
- data/docs/WorkflowDetailAllOfLastEditedBy.md +20 -0
- data/docs/WorkflowDetailResponse.md +22 -0
- data/docs/WorkflowEdge.md +24 -0
- data/docs/WorkflowFailureReason.md +15 -0
- data/docs/WorkflowFailureReasonCounter.md +22 -0
- data/docs/WorkflowFieldReference.md +22 -0
- data/docs/WorkflowGraph.md +22 -0
- data/docs/WorkflowIssue.md +28 -0
- data/docs/WorkflowList.md +24 -0
- data/docs/WorkflowNode.md +30 -0
- data/docs/WorkflowNodePosition.md +20 -0
- data/docs/WorkflowPresetChoice.md +26 -0
- data/docs/WorkflowPresetChoices.md +18 -0
- data/docs/WorkflowPresetRemoval.md +18 -0
- data/docs/WorkflowPresetWidget.md +20 -0
- data/docs/WorkflowPublishResult.md +22 -0
- data/docs/WorkflowRemoved.md +18 -0
- data/docs/WorkflowResponse.md +22 -0
- data/docs/WorkflowSchedule.md +24 -0
- data/docs/WorkflowStats.md +34 -0
- data/docs/WorkflowStatus.md +15 -0
- data/docs/WorkflowTrigger.md +28 -0
- data/docs/WorkflowTriggerValuesInner.md +20 -0
- data/docs/WorkflowVersion.md +28 -0
- data/docs/WorkflowVersionDetail.md +32 -0
- data/docs/WorkflowVersionList.md +18 -0
- data/docs/WorkflowVersionPublishedBy.md +20 -0
- data/docs/WorkflowsApi.md +1527 -0
- data/lib/api-sdk-rb/api/brand_kit_api.rb +581 -0
- data/lib/api-sdk-rb/api/canvases_api.rb +39 -39
- data/lib/api-sdk-rb/api/compositions_api.rb +993 -565
- 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 +668 -352
- data/lib/api-sdk-rb/api/public_embed_api.rb +339 -62
- 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 +213 -119
- data/lib/api-sdk-rb/api/widgets_api.rb +40 -40
- data/lib/api-sdk-rb/api/workflows_api.rb +1775 -0
- data/lib/api-sdk-rb/configuration.rb +11 -23
- 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/adapter_connection.rb +48 -5
- 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/adapter_connection_removal_response.rb +246 -0
- data/lib/api-sdk-rb/models/{delete_managed_user200_response.rb → adapter_connection_response.rb} +4 -4
- data/lib/api-sdk-rb/models/ai_answers_knowledge_document_response.rb +246 -0
- data/lib/api-sdk-rb/models/brand_color.rb +329 -0
- data/lib/api-sdk-rb/models/brand_font.rb +357 -0
- data/lib/api-sdk-rb/models/brand_kit_asset_view.rb +409 -0
- data/lib/api-sdk-rb/models/brand_kit_figma_source.rb +277 -0
- data/lib/api-sdk-rb/models/brand_kit_tokens.rb +335 -0
- data/lib/api-sdk-rb/models/brand_kit_tokens_fonts.rb +241 -0
- data/lib/api-sdk-rb/models/brand_kit_view.rb +344 -0
- data/lib/api-sdk-rb/models/brand_kit_view_owner.rb +267 -0
- data/lib/api-sdk-rb/models/brand_kit_view_response.rb +247 -0
- data/lib/api-sdk-rb/models/brand_spacing.rb +557 -0
- data/lib/api-sdk-rb/models/brand_text_style.rb +344 -0
- data/lib/api-sdk-rb/models/composition.rb +26 -5
- 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/composition_last_edited_by.rb +242 -0
- data/lib/api-sdk-rb/models/confirm_adapter_connection_request.rb +241 -0
- data/lib/api-sdk-rb/models/content_item_write_result_response.rb +246 -0
- data/lib/api-sdk-rb/models/create_widget201_response_data.rb +9 -20
- data/lib/api-sdk-rb/models/create_workspace_workflow_from_preset_request.rb +278 -0
- data/lib/api-sdk-rb/models/create_workspace_workflow_request.rb +271 -0
- 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/delete_workspace_workflow200_response.rb +246 -0
- data/lib/api-sdk-rb/models/design_defaults_response.rb +246 -0
- 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/get_public_composition_embed200_response.rb +29 -2
- data/lib/api-sdk-rb/models/get_public_composition_embed200_response_adapters.rb +225 -0
- data/lib/api-sdk-rb/models/get_public_composition_embed200_response_adapters_captcha.rb +216 -0
- data/lib/api-sdk-rb/models/get_public_composition_embed200_response_entries.rb +224 -0
- data/lib/api-sdk-rb/models/get_public_composition_embed200_response_media.rb +216 -0
- data/lib/api-sdk-rb/models/get_workspace_workflow_stats200_response.rb +246 -0
- data/lib/api-sdk-rb/models/{create_composition_from_widget201_response.rb → get_workspace_workflow_version200_response.rb} +4 -4
- data/lib/api-sdk-rb/models/list_partner_workflow_presets200_response.rb +246 -0
- data/lib/api-sdk-rb/models/{uploads_get200_response.rb → list_uploads200_response.rb} +3 -3
- data/lib/api-sdk-rb/models/list_workspace_workflow_composition_options200_response.rb +246 -0
- data/lib/api-sdk-rb/models/{create_composition_content_item201_response.rb → list_workspace_workflow_presets200_response.rb} +4 -4
- data/lib/api-sdk-rb/models/{add_ai_answers_knowledge_document201_response.rb → list_workspace_workflow_versions200_response.rb} +4 -4
- data/lib/api-sdk-rb/models/list_workspace_workflows200_response.rb +246 -0
- 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/new_composition.rb +1 -1
- data/lib/api-sdk-rb/models/new_editor_session.rb +1 -1
- data/lib/api-sdk-rb/models/offer_workflow_preset_request.rb +322 -0
- data/lib/api-sdk-rb/models/offered_workflow_preset.rb +423 -0
- data/lib/api-sdk-rb/models/offered_workflow_preset_list.rb +223 -0
- data/lib/api-sdk-rb/models/offered_workflow_preset_widget.rb +251 -0
- data/lib/api-sdk-rb/models/partner_notification.rb +1 -1
- data/lib/api-sdk-rb/models/partner_notification_event_type.rb +5 -1
- data/lib/api-sdk-rb/models/patch_brand_kit_asset_request.rb +289 -0
- data/lib/api-sdk-rb/models/patch_brand_kit_request.rb +363 -0
- data/lib/api-sdk-rb/models/patch_brand_kit_request_fonts.rb +242 -0
- data/lib/api-sdk-rb/models/patch_brand_kit_request_spacing.rb +502 -0
- data/lib/api-sdk-rb/models/post_brand_kit_icon_request.rb +237 -0
- data/lib/api-sdk-rb/models/public_workflow.rb +351 -0
- data/lib/api-sdk-rb/models/public_workflow_events_accepted.rb +242 -0
- data/lib/api-sdk-rb/models/public_workflow_events_request.rb +301 -0
- data/lib/api-sdk-rb/models/public_workflow_events_request_events_inner.rb +354 -0
- data/lib/api-sdk-rb/models/public_workflow_events_request_heights_inner.rb +267 -0
- data/lib/api-sdk-rb/models/public_workflow_response.rb +246 -0
- data/lib/api-sdk-rb/models/public_workflow_translation.rb +242 -0
- data/lib/api-sdk-rb/models/{set_user_adapter_connection200_response.rb → publish_workspace_workflow200_response.rb} +4 -4
- data/lib/api-sdk-rb/models/publish_workspace_workflow_request.rb +240 -0
- data/lib/api-sdk-rb/models/put_brand_kit_request.rb +239 -0
- data/lib/api-sdk-rb/models/{remove_user_adapter_connection200_response.rb → remove_partner_workflow_preset200_response.rb} +4 -4
- data/lib/api-sdk-rb/models/report_public_workflow_events200_response.rb +246 -0
- data/lib/api-sdk-rb/models/save_workspace_workflow_request.rb +296 -0
- data/lib/api-sdk-rb/models/set_adapter_connection_request.rb +1 -1
- data/lib/api-sdk-rb/models/{get_partner_design_defaults200_response.rb → set_partner_workflow_preset200_response.rb} +4 -4
- data/lib/api-sdk-rb/models/update_composition.rb +1 -1
- 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.rb +9 -20
- data/lib/api-sdk-rb/models/widget_clarification.rb +279 -0
- data/lib/api-sdk-rb/models/widget_clarification_option.rb +256 -0
- 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/widget_plan_decisions_libraries_inner.rb +255 -0
- 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/workflow.rb +509 -0
- data/lib/api-sdk-rb/models/workflow_composition_action.rb +266 -0
- data/lib/api-sdk-rb/models/workflow_composition_field.rb +303 -0
- data/lib/api-sdk-rb/models/workflow_composition_option.rb +316 -0
- data/lib/api-sdk-rb/models/workflow_composition_option_actions.rb +284 -0
- data/lib/api-sdk-rb/models/workflow_composition_option_inputs.rb +304 -0
- data/lib/api-sdk-rb/models/workflow_composition_options.rb +271 -0
- data/lib/api-sdk-rb/models/workflow_condition_case.rb +322 -0
- data/lib/api-sdk-rb/models/workflow_condition_test.rb +284 -0
- data/lib/api-sdk-rb/models/workflow_counter.rb +238 -0
- data/lib/api-sdk-rb/models/workflow_detail.rb +580 -0
- data/lib/api-sdk-rb/models/workflow_detail_all_of_last_edited_by.rb +242 -0
- data/lib/api-sdk-rb/models/workflow_detail_response.rb +246 -0
- data/lib/api-sdk-rb/models/workflow_edge.rb +292 -0
- 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_field_reference.rb +300 -0
- data/lib/api-sdk-rb/models/workflow_graph.rb +330 -0
- data/lib/api-sdk-rb/models/workflow_issue.rb +309 -0
- data/lib/api-sdk-rb/models/workflow_list.rb +271 -0
- data/lib/api-sdk-rb/models/workflow_node.rb +343 -0
- data/lib/api-sdk-rb/models/workflow_node_position.rb +238 -0
- data/lib/api-sdk-rb/models/workflow_preset_choice.rb +288 -0
- data/lib/api-sdk-rb/models/workflow_preset_choices.rb +224 -0
- data/lib/api-sdk-rb/models/workflow_preset_removal.rb +222 -0
- data/lib/api-sdk-rb/models/workflow_preset_widget.rb +234 -0
- data/lib/api-sdk-rb/models/workflow_publish_result.rb +256 -0
- data/lib/api-sdk-rb/models/workflow_removed.rb +221 -0
- data/lib/api-sdk-rb/models/workflow_response.rb +246 -0
- data/lib/api-sdk-rb/models/workflow_schedule.rb +298 -0
- data/lib/api-sdk-rb/models/workflow_stats.rb +347 -0
- data/lib/api-sdk-rb/models/workflow_status.rb +42 -0
- data/lib/api-sdk-rb/models/workflow_trigger.rb +303 -0
- data/lib/api-sdk-rb/models/workflow_trigger_values_inner.rb +271 -0
- data/lib/api-sdk-rb/models/workflow_version.rb +316 -0
- data/lib/api-sdk-rb/models/workflow_version_detail.rb +354 -0
- data/lib/api-sdk-rb/models/workflow_version_list.rb +224 -0
- data/lib/api-sdk-rb/models/workflow_version_published_by.rb +225 -0
- data/lib/api-sdk-rb/version.rb +1 -1
- data/lib/api-sdk-rb.rb +116 -17
- data/spec/api/brand_kit_api_spec.rb +136 -0
- data/spec/api/canvases_api_spec.rb +10 -10
- data/spec/api/compositions_api_spec.rb +227 -149
- 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 +138 -84
- data/spec/api/public_embed_api_spec.rb +66 -15
- 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 +43 -28
- data/spec/api/widgets_api_spec.rb +9 -9
- data/spec/api/workflows_api_spec.rb +339 -0
- data/spec/models/account_credit_transaction_list_response_spec.rb +48 -0
- data/spec/models/adapter_connection_list_response_spec.rb +48 -0
- data/spec/models/{get_managed_user_limits200_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/adapter_connection_spec.rb +18 -0
- data/spec/models/ai_answers_knowledge_document_response_spec.rb +48 -0
- data/spec/models/brand_color_spec.rb +52 -0
- data/spec/models/brand_font_spec.rb +62 -0
- data/spec/models/brand_kit_asset_view_spec.rb +120 -0
- data/spec/models/brand_kit_figma_source_spec.rb +60 -0
- data/spec/models/brand_kit_tokens_fonts_spec.rb +54 -0
- data/spec/models/brand_kit_tokens_spec.rb +60 -0
- data/spec/models/brand_kit_view_owner_spec.rb +46 -0
- data/spec/models/{uploads_get200_response_spec.rb → brand_kit_view_response_spec.rb} +6 -6
- data/spec/models/brand_kit_view_spec.rb +90 -0
- data/spec/models/brand_spacing_spec.rb +78 -0
- data/spec/models/brand_text_style_spec.rb +52 -0
- data/spec/models/composition_database_record_response_spec.rb +48 -0
- data/spec/models/composition_last_edited_by_spec.rb +42 -0
- data/spec/models/composition_spec.rb +12 -0
- data/spec/models/confirm_adapter_connection_request_spec.rb +36 -0
- data/spec/models/content_item_write_result_response_spec.rb +48 -0
- data/spec/models/create_widget201_response_data_spec.rb +1 -7
- data/spec/models/create_workspace_workflow_from_preset_request_spec.rb +42 -0
- data/spec/models/create_workspace_workflow_request_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/delete_workspace_workflow200_response_spec.rb +48 -0
- data/spec/models/design_defaults_response_spec.rb +48 -0
- data/spec/models/editor_session_spec.rb +1 -1
- 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/get_operation_response_spec.rb +48 -0
- data/spec/models/get_public_composition_embed200_response_adapters_captcha_spec.rb +36 -0
- data/spec/models/get_public_composition_embed200_response_adapters_spec.rb +42 -0
- data/spec/models/get_public_composition_embed200_response_entries_spec.rb +42 -0
- data/spec/models/get_public_composition_embed200_response_media_spec.rb +36 -0
- data/spec/models/get_public_composition_embed200_response_spec.rb +18 -0
- data/spec/models/{get_user_adapter_connections200_response_spec.rb → get_workspace_workflow_stats200_response_spec.rb} +6 -6
- data/spec/models/{remove_user_adapter_connection200_response_spec.rb → get_workspace_workflow_version200_response_spec.rb} +6 -6
- data/spec/models/list_partner_workflow_presets200_response_spec.rb +48 -0
- data/spec/models/list_uploads200_response_spec.rb +48 -0
- data/spec/models/{create_composition_database_record201_response_spec.rb → list_workspace_workflow_composition_options200_response_spec.rb} +6 -6
- data/spec/models/{get_partner_credit_transactions200_response_spec.rb → list_workspace_workflow_presets200_response_spec.rb} +6 -6
- data/spec/models/{add_ai_answers_knowledge_document201_response_spec.rb → list_workspace_workflow_versions200_response_spec.rb} +6 -6
- data/spec/models/list_workspace_workflows200_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/new_editor_session_spec.rb +1 -1
- data/spec/models/offer_workflow_preset_request_spec.rb +54 -0
- data/spec/models/offered_workflow_preset_list_spec.rb +36 -0
- data/spec/models/offered_workflow_preset_spec.rb +106 -0
- data/spec/models/offered_workflow_preset_widget_spec.rb +48 -0
- data/spec/models/patch_brand_kit_asset_request_spec.rb +62 -0
- data/spec/models/patch_brand_kit_request_fonts_spec.rb +54 -0
- data/spec/models/patch_brand_kit_request_spacing_spec.rb +78 -0
- data/spec/models/patch_brand_kit_request_spec.rb +72 -0
- data/spec/models/post_brand_kit_icon_request_spec.rb +42 -0
- data/spec/models/public_workflow_events_accepted_spec.rb +48 -0
- data/spec/models/public_workflow_events_request_events_inner_spec.rb +62 -0
- data/spec/models/public_workflow_events_request_heights_inner_spec.rb +42 -0
- data/spec/models/public_workflow_events_request_spec.rb +54 -0
- data/spec/models/public_workflow_response_spec.rb +48 -0
- data/spec/models/public_workflow_spec.rb +94 -0
- data/spec/models/public_workflow_translation_spec.rb +42 -0
- data/spec/models/{get_partner_design_defaults200_response_spec.rb → publish_workspace_workflow200_response_spec.rb} +6 -6
- data/spec/models/publish_workspace_workflow_request_spec.rb +36 -0
- data/spec/models/put_brand_kit_request_spec.rb +48 -0
- data/spec/models/{create_composition_from_widget201_response_spec.rb → remove_partner_workflow_preset200_response_spec.rb} +6 -6
- data/spec/models/report_public_workflow_events200_response_spec.rb +48 -0
- data/spec/models/save_workspace_workflow_request_spec.rb +54 -0
- data/spec/models/{set_user_adapter_connection200_response_spec.rb → set_partner_workflow_preset200_response_spec.rb} +6 -6
- 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/widget_plan_spec.rb +60 -0
- data/spec/models/widget_plan_task_spec.rb +62 -0
- data/spec/models/widget_spec.rb +1 -7
- data/spec/models/workflow_composition_action_spec.rb +54 -0
- data/spec/models/workflow_composition_field_spec.rb +58 -0
- data/spec/models/workflow_composition_option_actions_spec.rb +52 -0
- data/spec/models/workflow_composition_option_inputs_spec.rb +58 -0
- data/spec/models/workflow_composition_option_spec.rb +72 -0
- data/spec/models/workflow_composition_options_spec.rb +54 -0
- data/spec/models/workflow_condition_case_spec.rb +58 -0
- data/spec/models/workflow_condition_test_spec.rb +52 -0
- data/spec/models/workflow_counter_spec.rb +42 -0
- data/spec/models/workflow_detail_all_of_last_edited_by_spec.rb +42 -0
- data/spec/models/workflow_detail_response_spec.rb +48 -0
- data/spec/models/workflow_detail_spec.rb +162 -0
- data/spec/models/workflow_edge_spec.rb +54 -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_field_reference_spec.rb +56 -0
- data/spec/models/workflow_graph_spec.rb +52 -0
- data/spec/models/workflow_issue_spec.rb +70 -0
- data/spec/models/{create_composition_content_item201_response_spec.rb → workflow_list_spec.rb} +15 -9
- data/spec/models/workflow_node_position_spec.rb +42 -0
- data/spec/models/workflow_node_spec.rb +76 -0
- data/spec/models/workflow_preset_choice_spec.rb +60 -0
- data/spec/models/workflow_preset_choices_spec.rb +36 -0
- data/spec/models/workflow_preset_removal_spec.rb +36 -0
- data/spec/models/workflow_preset_widget_spec.rb +42 -0
- data/spec/models/workflow_publish_result_spec.rb +48 -0
- data/spec/models/workflow_removed_spec.rb +36 -0
- data/spec/models/workflow_response_spec.rb +48 -0
- data/spec/models/workflow_schedule_spec.rb +62 -0
- data/spec/models/workflow_spec.rb +132 -0
- data/spec/models/workflow_stats_spec.rb +84 -0
- data/spec/models/workflow_status_spec.rb +30 -0
- data/spec/models/workflow_trigger_spec.rb +70 -0
- data/spec/models/workflow_trigger_values_inner_spec.rb +46 -0
- data/spec/models/workflow_version_detail_spec.rb +78 -0
- data/spec/models/workflow_version_list_spec.rb +36 -0
- data/spec/models/workflow_version_published_by_spec.rb +42 -0
- data/spec/models/workflow_version_spec.rb +66 -0
- metadata +476 -80
- data/docs/PartnerApi.md +0 -9892
- data/docs/UploadsIdDelete200Response.md +0 -22
- data/lib/api-sdk-rb/api/partner_api.rb +0 -10693
- data/spec/api/partner_api_spec.rb +0 -1895
|
@@ -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,101 @@ 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
|
+
end
|
|
93
|
+
return data, status_code, headers
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Confirm an adapter address with the code that was emailed to it
|
|
97
|
+
# Some credentials are an email address Widgetic sends a widget's messages to (`confirmation: email_code` in `getUserAdapterConnections`). Saving one with `setUserAdapterConnection` emails a six-digit code to it; this gives the code back. Only then is the address used: until it is confirmed, the widgets that need it are not charged and their visitors are told the feature is unavailable. The code works for 30 minutes and for five wrong tries. After that, save the address again and a new code is emailed (not sooner than a minute after the last one). A code that is not made of digits is refused without counting as a try. Confirming an address that is already confirmed answers 200 with the same state, so a retry of a request that went through is harmless. Saving a different address, or the same one before it was confirmed, starts again. This needs an API key with full access. The caller must be the account itself or a Widgetic administrator.
|
|
98
|
+
# @param user_id [String] The account that keeps the address. For your own, your own user id
|
|
99
|
+
# @param adapter_id [String] The adapter the address is for
|
|
100
|
+
# @param credential_key [String] The credential's name within the adapter
|
|
101
|
+
# @param confirm_adapter_connection_request [ConfirmAdapterConnectionRequest]
|
|
102
|
+
# @param [Hash] opts the optional parameters
|
|
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
|
+
data
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# Confirm an adapter address with the code that was emailed to it
|
|
110
|
+
# Some credentials are an email address Widgetic sends a widget's messages to (`confirmation: email_code` in `getUserAdapterConnections`). Saving one with `setUserAdapterConnection` emails a six-digit code to it; this gives the code back. Only then is the address used: until it is confirmed, the widgets that need it are not charged and their visitors are told the feature is unavailable. The code works for 30 minutes and for five wrong tries. After that, save the address again and a new code is emailed (not sooner than a minute after the last one). A code that is not made of digits is refused without counting as a try. Confirming an address that is already confirmed answers 200 with the same state, so a retry of a request that went through is harmless. Saving a different address, or the same one before it was confirmed, starts again. This needs an API key with full access. The caller must be the account itself or a Widgetic administrator.
|
|
111
|
+
# @param user_id [String] The account that keeps the address. For your own, your own user id
|
|
112
|
+
# @param adapter_id [String] The adapter the address is for
|
|
113
|
+
# @param credential_key [String] The credential's name within the adapter
|
|
114
|
+
# @param confirm_adapter_connection_request [ConfirmAdapterConnectionRequest]
|
|
115
|
+
# @param [Hash] opts the optional parameters
|
|
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
|
+
if @api_client.config.debugging
|
|
119
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.confirm_user_adapter_connection ...'
|
|
120
|
+
end
|
|
121
|
+
# verify the required parameter 'user_id' is set
|
|
122
|
+
if @api_client.config.client_side_validation && user_id.nil?
|
|
123
|
+
fail ArgumentError, "Missing the required parameter 'user_id' when calling UsersApi.confirm_user_adapter_connection"
|
|
124
|
+
end
|
|
125
|
+
# verify the required parameter 'adapter_id' is set
|
|
126
|
+
if @api_client.config.client_side_validation && adapter_id.nil?
|
|
127
|
+
fail ArgumentError, "Missing the required parameter 'adapter_id' when calling UsersApi.confirm_user_adapter_connection"
|
|
128
|
+
end
|
|
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.confirm_user_adapter_connection, the character length must be smaller than or equal to 40.'
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# verify the required parameter 'credential_key' is set
|
|
134
|
+
if @api_client.config.client_side_validation && credential_key.nil?
|
|
135
|
+
fail ArgumentError, "Missing the required parameter 'credential_key' when calling UsersApi.confirm_user_adapter_connection"
|
|
136
|
+
end
|
|
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.confirm_user_adapter_connection, the character length must be smaller than or equal to 40.'
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# verify the required parameter 'confirm_adapter_connection_request' is set
|
|
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.confirm_user_adapter_connection"
|
|
144
|
+
end
|
|
145
|
+
# resource path
|
|
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))
|
|
147
|
+
|
|
148
|
+
# query parameters
|
|
149
|
+
query_params = opts[:query_params] || {}
|
|
150
|
+
|
|
151
|
+
# header parameters
|
|
152
|
+
header_params = opts[:header_params] || {}
|
|
153
|
+
# HTTP header 'Accept' (if needed)
|
|
154
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
155
|
+
# HTTP header 'Content-Type'
|
|
156
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
157
|
+
if !content_type.nil?
|
|
158
|
+
header_params['Content-Type'] = content_type
|
|
159
|
+
end
|
|
160
|
+
|
|
161
|
+
# form parameters
|
|
162
|
+
form_params = opts[:form_params] || {}
|
|
163
|
+
|
|
164
|
+
# http body (model)
|
|
165
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(confirm_adapter_connection_request)
|
|
166
|
+
|
|
167
|
+
# return_type
|
|
168
|
+
return_type = opts[:debug_return_type] || 'AdapterConnectionResponse'
|
|
169
|
+
|
|
170
|
+
# auth_names
|
|
171
|
+
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
172
|
+
|
|
173
|
+
new_options = opts.merge(
|
|
174
|
+
:operation => :"UsersApi.confirm_user_adapter_connection",
|
|
175
|
+
:header_params => header_params,
|
|
176
|
+
:query_params => query_params,
|
|
177
|
+
:form_params => form_params,
|
|
178
|
+
:body => post_body,
|
|
179
|
+
:auth_names => auth_names,
|
|
180
|
+
:return_type => return_type
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
184
|
+
if @api_client.config.debugging
|
|
185
|
+
@api_client.config.logger.debug "API called: UsersApi#confirm_user_adapter_connection\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
92
186
|
end
|
|
93
187
|
return data, status_code, headers
|
|
94
188
|
end
|
|
@@ -100,8 +194,8 @@ module ApiSdkRb
|
|
|
100
194
|
# @param create_user_api_key_request [CreateUserApiKeyRequest]
|
|
101
195
|
# @param [Hash] opts the optional parameters
|
|
102
196
|
# @return [CreatedUserApiKeyResponse]
|
|
103
|
-
def
|
|
104
|
-
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)
|
|
105
199
|
data
|
|
106
200
|
end
|
|
107
201
|
|
|
@@ -112,34 +206,34 @@ module ApiSdkRb
|
|
|
112
206
|
# @param create_user_api_key_request [CreateUserApiKeyRequest]
|
|
113
207
|
# @param [Hash] opts the optional parameters
|
|
114
208
|
# @return [Array<(CreatedUserApiKeyResponse, Integer, Hash)>] CreatedUserApiKeyResponse data, response status code and response headers
|
|
115
|
-
def
|
|
209
|
+
def create_user_api_key_with_http_info(id, idempotency_key, create_user_api_key_request, opts = {})
|
|
116
210
|
if @api_client.config.debugging
|
|
117
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
211
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.create_user_api_key ...'
|
|
118
212
|
end
|
|
119
213
|
# verify the required parameter 'id' is set
|
|
120
214
|
if @api_client.config.client_side_validation && id.nil?
|
|
121
|
-
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"
|
|
122
216
|
end
|
|
123
217
|
# verify the required parameter 'idempotency_key' is set
|
|
124
218
|
if @api_client.config.client_side_validation && idempotency_key.nil?
|
|
125
|
-
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"
|
|
126
220
|
end
|
|
127
221
|
if @api_client.config.client_side_validation && idempotency_key.to_s.length > 50
|
|
128
|
-
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.'
|
|
129
223
|
end
|
|
130
224
|
|
|
131
225
|
if @api_client.config.client_side_validation && idempotency_key.to_s.length < 8
|
|
132
|
-
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.'
|
|
133
227
|
end
|
|
134
228
|
|
|
135
229
|
pattern = Regexp.new(/^[a-zA-Z0-9_-]{8,50}$/)
|
|
136
230
|
if @api_client.config.client_side_validation && idempotency_key !~ pattern
|
|
137
|
-
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}."
|
|
138
232
|
end
|
|
139
233
|
|
|
140
234
|
# verify the required parameter 'create_user_api_key_request' is set
|
|
141
235
|
if @api_client.config.client_side_validation && create_user_api_key_request.nil?
|
|
142
|
-
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"
|
|
143
237
|
end
|
|
144
238
|
# resource path
|
|
145
239
|
local_var_path = '/users/{id}/keys'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
@@ -171,7 +265,7 @@ module ApiSdkRb
|
|
|
171
265
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
172
266
|
|
|
173
267
|
new_options = opts.merge(
|
|
174
|
-
:operation => :"UsersApi.
|
|
268
|
+
:operation => :"UsersApi.create_user_api_key",
|
|
175
269
|
:header_params => header_params,
|
|
176
270
|
:query_params => query_params,
|
|
177
271
|
:form_params => form_params,
|
|
@@ -182,7 +276,7 @@ module ApiSdkRb
|
|
|
182
276
|
|
|
183
277
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
184
278
|
if @api_client.config.debugging
|
|
185
|
-
@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}"
|
|
186
280
|
end
|
|
187
281
|
return data, status_code, headers
|
|
188
282
|
end
|
|
@@ -193,8 +287,8 @@ module ApiSdkRb
|
|
|
193
287
|
# @param domain_id [String] The `id` of the entry, as the list shows it
|
|
194
288
|
# @param [Hash] opts the optional parameters
|
|
195
289
|
# @return [DeletePersonalWorkspaceDomainResponse]
|
|
196
|
-
def
|
|
197
|
-
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)
|
|
198
292
|
data
|
|
199
293
|
end
|
|
200
294
|
|
|
@@ -204,17 +298,17 @@ module ApiSdkRb
|
|
|
204
298
|
# @param domain_id [String] The `id` of the entry, as the list shows it
|
|
205
299
|
# @param [Hash] opts the optional parameters
|
|
206
300
|
# @return [Array<(DeletePersonalWorkspaceDomainResponse, Integer, Hash)>] DeletePersonalWorkspaceDomainResponse data, response status code and response headers
|
|
207
|
-
def
|
|
301
|
+
def delete_personal_workspace_domain_with_http_info(id, domain_id, opts = {})
|
|
208
302
|
if @api_client.config.debugging
|
|
209
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
303
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.delete_personal_workspace_domain ...'
|
|
210
304
|
end
|
|
211
305
|
# verify the required parameter 'id' is set
|
|
212
306
|
if @api_client.config.client_side_validation && id.nil?
|
|
213
|
-
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"
|
|
214
308
|
end
|
|
215
309
|
# verify the required parameter 'domain_id' is set
|
|
216
310
|
if @api_client.config.client_side_validation && domain_id.nil?
|
|
217
|
-
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"
|
|
218
312
|
end
|
|
219
313
|
# resource path
|
|
220
314
|
local_var_path = '/users/{id}/workspace/domains/{domainId}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'domainId' + '}', CGI.escape(domain_id.to_s))
|
|
@@ -240,7 +334,7 @@ module ApiSdkRb
|
|
|
240
334
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
241
335
|
|
|
242
336
|
new_options = opts.merge(
|
|
243
|
-
:operation => :"UsersApi.
|
|
337
|
+
:operation => :"UsersApi.delete_personal_workspace_domain",
|
|
244
338
|
:header_params => header_params,
|
|
245
339
|
:query_params => query_params,
|
|
246
340
|
:form_params => form_params,
|
|
@@ -251,7 +345,7 @@ module ApiSdkRb
|
|
|
251
345
|
|
|
252
346
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
253
347
|
if @api_client.config.debugging
|
|
254
|
-
@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}"
|
|
255
349
|
end
|
|
256
350
|
return data, status_code, headers
|
|
257
351
|
end
|
|
@@ -262,8 +356,8 @@ module ApiSdkRb
|
|
|
262
356
|
# @param key_id [String] The `keyId` of the key, as the list shows it
|
|
263
357
|
# @param [Hash] opts the optional parameters
|
|
264
358
|
# @return [DeleteUserApiKeyResponse]
|
|
265
|
-
def
|
|
266
|
-
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)
|
|
267
361
|
data
|
|
268
362
|
end
|
|
269
363
|
|
|
@@ -273,17 +367,17 @@ module ApiSdkRb
|
|
|
273
367
|
# @param key_id [String] The `keyId` of the key, as the list shows it
|
|
274
368
|
# @param [Hash] opts the optional parameters
|
|
275
369
|
# @return [Array<(DeleteUserApiKeyResponse, Integer, Hash)>] DeleteUserApiKeyResponse data, response status code and response headers
|
|
276
|
-
def
|
|
370
|
+
def delete_user_api_key_with_http_info(id, key_id, opts = {})
|
|
277
371
|
if @api_client.config.debugging
|
|
278
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
372
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.delete_user_api_key ...'
|
|
279
373
|
end
|
|
280
374
|
# verify the required parameter 'id' is set
|
|
281
375
|
if @api_client.config.client_side_validation && id.nil?
|
|
282
|
-
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"
|
|
283
377
|
end
|
|
284
378
|
# verify the required parameter 'key_id' is set
|
|
285
379
|
if @api_client.config.client_side_validation && key_id.nil?
|
|
286
|
-
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"
|
|
287
381
|
end
|
|
288
382
|
# resource path
|
|
289
383
|
local_var_path = '/users/{id}/keys/{keyId}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'keyId' + '}', CGI.escape(key_id.to_s))
|
|
@@ -309,7 +403,7 @@ module ApiSdkRb
|
|
|
309
403
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
310
404
|
|
|
311
405
|
new_options = opts.merge(
|
|
312
|
-
:operation => :"UsersApi.
|
|
406
|
+
:operation => :"UsersApi.delete_user_api_key",
|
|
313
407
|
:header_params => header_params,
|
|
314
408
|
:query_params => query_params,
|
|
315
409
|
:form_params => form_params,
|
|
@@ -320,7 +414,7 @@ module ApiSdkRb
|
|
|
320
414
|
|
|
321
415
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
322
416
|
if @api_client.config.debugging
|
|
323
|
-
@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}"
|
|
324
418
|
end
|
|
325
419
|
return data, status_code, headers
|
|
326
420
|
end
|
|
@@ -330,8 +424,8 @@ module ApiSdkRb
|
|
|
330
424
|
# @param id [String] The account the list belongs to. For your own, your own user id
|
|
331
425
|
# @param [Hash] opts the optional parameters
|
|
332
426
|
# @return [GetPersonalWorkspaceDomains200Response]
|
|
333
|
-
def
|
|
334
|
-
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)
|
|
335
429
|
data
|
|
336
430
|
end
|
|
337
431
|
|
|
@@ -340,13 +434,13 @@ module ApiSdkRb
|
|
|
340
434
|
# @param id [String] The account the list belongs to. For your own, your own user id
|
|
341
435
|
# @param [Hash] opts the optional parameters
|
|
342
436
|
# @return [Array<(GetPersonalWorkspaceDomains200Response, Integer, Hash)>] GetPersonalWorkspaceDomains200Response data, response status code and response headers
|
|
343
|
-
def
|
|
437
|
+
def get_personal_workspace_domains_with_http_info(id, opts = {})
|
|
344
438
|
if @api_client.config.debugging
|
|
345
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
439
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.get_personal_workspace_domains ...'
|
|
346
440
|
end
|
|
347
441
|
# verify the required parameter 'id' is set
|
|
348
442
|
if @api_client.config.client_side_validation && id.nil?
|
|
349
|
-
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"
|
|
350
444
|
end
|
|
351
445
|
# resource path
|
|
352
446
|
local_var_path = '/users/{id}/workspace/domains'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
@@ -372,7 +466,7 @@ module ApiSdkRb
|
|
|
372
466
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
373
467
|
|
|
374
468
|
new_options = opts.merge(
|
|
375
|
-
:operation => :"UsersApi.
|
|
469
|
+
:operation => :"UsersApi.get_personal_workspace_domains",
|
|
376
470
|
:header_params => header_params,
|
|
377
471
|
:query_params => query_params,
|
|
378
472
|
:form_params => form_params,
|
|
@@ -383,7 +477,7 @@ module ApiSdkRb
|
|
|
383
477
|
|
|
384
478
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
385
479
|
if @api_client.config.debugging
|
|
386
|
-
@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}"
|
|
387
481
|
end
|
|
388
482
|
return data, status_code, headers
|
|
389
483
|
end
|
|
@@ -392,9 +486,9 @@ module ApiSdkRb
|
|
|
392
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.
|
|
393
487
|
# @param user_id [String] The account whose adapter keys to list. For your own, your own user id
|
|
394
488
|
# @param [Hash] opts the optional parameters
|
|
395
|
-
# @return [
|
|
396
|
-
def
|
|
397
|
-
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)
|
|
398
492
|
data
|
|
399
493
|
end
|
|
400
494
|
|
|
@@ -402,14 +496,14 @@ module ApiSdkRb
|
|
|
402
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.
|
|
403
497
|
# @param user_id [String] The account whose adapter keys to list. For your own, your own user id
|
|
404
498
|
# @param [Hash] opts the optional parameters
|
|
405
|
-
# @return [Array<(
|
|
406
|
-
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 = {})
|
|
407
501
|
if @api_client.config.debugging
|
|
408
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
502
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.get_user_adapter_connections ...'
|
|
409
503
|
end
|
|
410
504
|
# verify the required parameter 'user_id' is set
|
|
411
505
|
if @api_client.config.client_side_validation && user_id.nil?
|
|
412
|
-
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"
|
|
413
507
|
end
|
|
414
508
|
# resource path
|
|
415
509
|
local_var_path = '/users/{userId}/adapter-connections'.sub('{' + 'userId' + '}', CGI.escape(user_id.to_s))
|
|
@@ -429,13 +523,13 @@ module ApiSdkRb
|
|
|
429
523
|
post_body = opts[:debug_body]
|
|
430
524
|
|
|
431
525
|
# return_type
|
|
432
|
-
return_type = opts[:debug_return_type] || '
|
|
526
|
+
return_type = opts[:debug_return_type] || 'AdapterConnectionListResponse'
|
|
433
527
|
|
|
434
528
|
# auth_names
|
|
435
529
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
436
530
|
|
|
437
531
|
new_options = opts.merge(
|
|
438
|
-
:operation => :"UsersApi.
|
|
532
|
+
:operation => :"UsersApi.get_user_adapter_connections",
|
|
439
533
|
:header_params => header_params,
|
|
440
534
|
:query_params => query_params,
|
|
441
535
|
:form_params => form_params,
|
|
@@ -446,7 +540,7 @@ module ApiSdkRb
|
|
|
446
540
|
|
|
447
541
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
448
542
|
if @api_client.config.debugging
|
|
449
|
-
@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}"
|
|
450
544
|
end
|
|
451
545
|
return data, status_code, headers
|
|
452
546
|
end
|
|
@@ -458,8 +552,8 @@ module ApiSdkRb
|
|
|
458
552
|
# @param [Hash] opts the optional parameters
|
|
459
553
|
# @option opts [Integer] :limit How many calls to return, newest first (default to 500)
|
|
460
554
|
# @return [GetUserApiKeyUsageLogsResponse]
|
|
461
|
-
def
|
|
462
|
-
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)
|
|
463
557
|
data
|
|
464
558
|
end
|
|
465
559
|
|
|
@@ -470,24 +564,24 @@ module ApiSdkRb
|
|
|
470
564
|
# @param [Hash] opts the optional parameters
|
|
471
565
|
# @option opts [Integer] :limit How many calls to return, newest first (default to 500)
|
|
472
566
|
# @return [Array<(GetUserApiKeyUsageLogsResponse, Integer, Hash)>] GetUserApiKeyUsageLogsResponse data, response status code and response headers
|
|
473
|
-
def
|
|
567
|
+
def get_user_api_key_usage_logs_with_http_info(id, key_id, opts = {})
|
|
474
568
|
if @api_client.config.debugging
|
|
475
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
569
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.get_user_api_key_usage_logs ...'
|
|
476
570
|
end
|
|
477
571
|
# verify the required parameter 'id' is set
|
|
478
572
|
if @api_client.config.client_side_validation && id.nil?
|
|
479
|
-
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"
|
|
480
574
|
end
|
|
481
575
|
# verify the required parameter 'key_id' is set
|
|
482
576
|
if @api_client.config.client_side_validation && key_id.nil?
|
|
483
|
-
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"
|
|
484
578
|
end
|
|
485
579
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 500
|
|
486
|
-
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.'
|
|
487
581
|
end
|
|
488
582
|
|
|
489
583
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] < 1
|
|
490
|
-
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.'
|
|
491
585
|
end
|
|
492
586
|
|
|
493
587
|
# resource path
|
|
@@ -515,7 +609,7 @@ module ApiSdkRb
|
|
|
515
609
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
516
610
|
|
|
517
611
|
new_options = opts.merge(
|
|
518
|
-
:operation => :"UsersApi.
|
|
612
|
+
:operation => :"UsersApi.get_user_api_key_usage_logs",
|
|
519
613
|
:header_params => header_params,
|
|
520
614
|
:query_params => query_params,
|
|
521
615
|
:form_params => form_params,
|
|
@@ -526,7 +620,7 @@ module ApiSdkRb
|
|
|
526
620
|
|
|
527
621
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
528
622
|
if @api_client.config.debugging
|
|
529
|
-
@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}"
|
|
530
624
|
end
|
|
531
625
|
return data, status_code, headers
|
|
532
626
|
end
|
|
@@ -536,8 +630,8 @@ module ApiSdkRb
|
|
|
536
630
|
# @param id [String] The account the keys belong to. For your own keys, your own user id
|
|
537
631
|
# @param [Hash] opts the optional parameters
|
|
538
632
|
# @return [GetUserApiKeys200Response]
|
|
539
|
-
def
|
|
540
|
-
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)
|
|
541
635
|
data
|
|
542
636
|
end
|
|
543
637
|
|
|
@@ -546,13 +640,13 @@ module ApiSdkRb
|
|
|
546
640
|
# @param id [String] The account the keys belong to. For your own keys, your own user id
|
|
547
641
|
# @param [Hash] opts the optional parameters
|
|
548
642
|
# @return [Array<(GetUserApiKeys200Response, Integer, Hash)>] GetUserApiKeys200Response data, response status code and response headers
|
|
549
|
-
def
|
|
643
|
+
def get_user_api_keys_with_http_info(id, opts = {})
|
|
550
644
|
if @api_client.config.debugging
|
|
551
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
645
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.get_user_api_keys ...'
|
|
552
646
|
end
|
|
553
647
|
# verify the required parameter 'id' is set
|
|
554
648
|
if @api_client.config.client_side_validation && id.nil?
|
|
555
|
-
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"
|
|
556
650
|
end
|
|
557
651
|
# resource path
|
|
558
652
|
local_var_path = '/users/{id}/keys'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
@@ -578,7 +672,7 @@ module ApiSdkRb
|
|
|
578
672
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
579
673
|
|
|
580
674
|
new_options = opts.merge(
|
|
581
|
-
:operation => :"UsersApi.
|
|
675
|
+
:operation => :"UsersApi.get_user_api_keys",
|
|
582
676
|
:header_params => header_params,
|
|
583
677
|
:query_params => query_params,
|
|
584
678
|
:form_params => form_params,
|
|
@@ -589,7 +683,7 @@ module ApiSdkRb
|
|
|
589
683
|
|
|
590
684
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
591
685
|
if @api_client.config.debugging
|
|
592
|
-
@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}"
|
|
593
687
|
end
|
|
594
688
|
return data, status_code, headers
|
|
595
689
|
end
|
|
@@ -600,9 +694,9 @@ module ApiSdkRb
|
|
|
600
694
|
# @param adapter_id [String] The adapter the key is for
|
|
601
695
|
# @param credential_key [String] The key's name within the adapter
|
|
602
696
|
# @param [Hash] opts the optional parameters
|
|
603
|
-
# @return [
|
|
604
|
-
def
|
|
605
|
-
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)
|
|
606
700
|
data
|
|
607
701
|
end
|
|
608
702
|
|
|
@@ -612,29 +706,29 @@ module ApiSdkRb
|
|
|
612
706
|
# @param adapter_id [String] The adapter the key is for
|
|
613
707
|
# @param credential_key [String] The key's name within the adapter
|
|
614
708
|
# @param [Hash] opts the optional parameters
|
|
615
|
-
# @return [Array<(
|
|
616
|
-
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 = {})
|
|
617
711
|
if @api_client.config.debugging
|
|
618
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
712
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.remove_user_adapter_connection ...'
|
|
619
713
|
end
|
|
620
714
|
# verify the required parameter 'user_id' is set
|
|
621
715
|
if @api_client.config.client_side_validation && user_id.nil?
|
|
622
|
-
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"
|
|
623
717
|
end
|
|
624
718
|
# verify the required parameter 'adapter_id' is set
|
|
625
719
|
if @api_client.config.client_side_validation && adapter_id.nil?
|
|
626
|
-
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"
|
|
627
721
|
end
|
|
628
722
|
if @api_client.config.client_side_validation && adapter_id.to_s.length > 40
|
|
629
|
-
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.'
|
|
630
724
|
end
|
|
631
725
|
|
|
632
726
|
# verify the required parameter 'credential_key' is set
|
|
633
727
|
if @api_client.config.client_side_validation && credential_key.nil?
|
|
634
|
-
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"
|
|
635
729
|
end
|
|
636
730
|
if @api_client.config.client_side_validation && credential_key.to_s.length > 40
|
|
637
|
-
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.'
|
|
638
732
|
end
|
|
639
733
|
|
|
640
734
|
# resource path
|
|
@@ -655,13 +749,13 @@ module ApiSdkRb
|
|
|
655
749
|
post_body = opts[:debug_body]
|
|
656
750
|
|
|
657
751
|
# return_type
|
|
658
|
-
return_type = opts[:debug_return_type] || '
|
|
752
|
+
return_type = opts[:debug_return_type] || 'AdapterConnectionRemovalResponse'
|
|
659
753
|
|
|
660
754
|
# auth_names
|
|
661
755
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
662
756
|
|
|
663
757
|
new_options = opts.merge(
|
|
664
|
-
:operation => :"UsersApi.
|
|
758
|
+
:operation => :"UsersApi.remove_user_adapter_connection",
|
|
665
759
|
:header_params => header_params,
|
|
666
760
|
:query_params => query_params,
|
|
667
761
|
:form_params => form_params,
|
|
@@ -672,59 +766,59 @@ module ApiSdkRb
|
|
|
672
766
|
|
|
673
767
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
674
768
|
if @api_client.config.debugging
|
|
675
|
-
@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}"
|
|
676
770
|
end
|
|
677
771
|
return data, status_code, headers
|
|
678
772
|
end
|
|
679
773
|
|
|
680
774
|
# Connect an adapter key to an account
|
|
681
|
-
# Gives an adapter the key it needs to act through a service you have an account with, for the widgets you made. Take the `adapterId` and `credentialKey` from `getUserAdapterConnections`. Saving a key that is already connected replaces it. **What Widgetic does with it.** The key is stored encrypted, bound to this account, this adapter and this credential, so that a stored value cannot be moved to another. It is never returned, never logged and never shown to a visitor of a widget. A server of Widgetic opens it for the one call a widget makes through the adapter, uses it to call the provider on your behalf, and discards it. To cut that off, remove the key here, or revoke it with the provider. **What is checked.** That the adapter exists and takes this credential, that an owner may keep it (some are for a partner only) and that the text is one line of at most 2048 characters. Whether the provider accepts the key is not checked here: it shows the first time a widget uses it, and the widget tells its owner. A widget whose adapter has no key connected is not charged and does not run that adapter: its visitors are told the feature is unavailable, and the owner is told once a day what to
|
|
775
|
+
# Gives an adapter the key it needs to act through a service you have an account with, for the widgets you made. Take the `adapterId` and `credentialKey` from `getUserAdapterConnections`. Saving a key that is already connected replaces it. **What Widgetic does with it.** The key is stored encrypted, bound to this account, this adapter and this credential, so that a stored value cannot be moved to another. It is never returned, never logged and never shown to a visitor of a widget. A server of Widgetic opens it for the one call a widget makes through the adapter, uses it to call the provider on your behalf, and discards it. To cut that off, remove the key here, or revoke it with the provider. **What is checked.** That the adapter exists and takes this credential, that an owner may keep it (some are for a partner only) and that the text is one line of at most 2048 characters. Whether the provider accepts the key is not checked here: it shows the first time a widget uses it, and the widget tells its owner. **An address that has to be confirmed.** Some credentials are not a key but the email address Widgetic sends a widget's messages to (`confirmation: email_code` in `getUserAdapterConnections`). Saving one checks that it is one email address and emails a six-digit code to it; the answer says `awaitingConfirmation: true`, and nothing is sent to the address until the code is given back with `confirmUserAdapterConnection`. Saving the same address again before it is confirmed emails a new code (not sooner than a minute after the last); saving the address that is already confirmed changes nothing. If the code cannot be emailed, nothing is saved. A widget whose adapter has no key connected, or whose address is not confirmed yet, is not charged and does not run that adapter: its visitors are told the feature is unavailable, and the owner is told once a day what to do. This needs an API key with full access. The caller must be the account itself or a Widgetic administrator. A retry is harmless: saving the same key twice only refreshes when it was set.
|
|
682
776
|
# @param user_id [String] The account that keeps the key. For your own, your own user id
|
|
683
777
|
# @param adapter_id [String] The adapter the key is for
|
|
684
778
|
# @param credential_key [String] The key's name within the adapter
|
|
685
779
|
# @param set_adapter_connection_request [SetAdapterConnectionRequest]
|
|
686
780
|
# @param [Hash] opts the optional parameters
|
|
687
|
-
# @return [
|
|
688
|
-
def
|
|
689
|
-
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)
|
|
690
784
|
data
|
|
691
785
|
end
|
|
692
786
|
|
|
693
787
|
# Connect an adapter key to an account
|
|
694
|
-
# Gives an adapter the key it needs to act through a service you have an account with, for the widgets you made. Take the `adapterId` and `credentialKey` from `getUserAdapterConnections`. Saving a key that is already connected replaces it. **What Widgetic does with it.** The key is stored encrypted, bound to this account, this adapter and this credential, so that a stored value cannot be moved to another. It is never returned, never logged and never shown to a visitor of a widget. A server of Widgetic opens it for the one call a widget makes through the adapter, uses it to call the provider on your behalf, and discards it. To cut that off, remove the key here, or revoke it with the provider. **What is checked.** That the adapter exists and takes this credential, that an owner may keep it (some are for a partner only) and that the text is one line of at most 2048 characters. Whether the provider accepts the key is not checked here: it shows the first time a widget uses it, and the widget tells its owner. A widget whose adapter has no key connected is not charged and does not run that adapter: its visitors are told the feature is unavailable, and the owner is told once a day what to
|
|
788
|
+
# Gives an adapter the key it needs to act through a service you have an account with, for the widgets you made. Take the `adapterId` and `credentialKey` from `getUserAdapterConnections`. Saving a key that is already connected replaces it. **What Widgetic does with it.** The key is stored encrypted, bound to this account, this adapter and this credential, so that a stored value cannot be moved to another. It is never returned, never logged and never shown to a visitor of a widget. A server of Widgetic opens it for the one call a widget makes through the adapter, uses it to call the provider on your behalf, and discards it. To cut that off, remove the key here, or revoke it with the provider. **What is checked.** That the adapter exists and takes this credential, that an owner may keep it (some are for a partner only) and that the text is one line of at most 2048 characters. Whether the provider accepts the key is not checked here: it shows the first time a widget uses it, and the widget tells its owner. **An address that has to be confirmed.** Some credentials are not a key but the email address Widgetic sends a widget's messages to (`confirmation: email_code` in `getUserAdapterConnections`). Saving one checks that it is one email address and emails a six-digit code to it; the answer says `awaitingConfirmation: true`, and nothing is sent to the address until the code is given back with `confirmUserAdapterConnection`. Saving the same address again before it is confirmed emails a new code (not sooner than a minute after the last); saving the address that is already confirmed changes nothing. If the code cannot be emailed, nothing is saved. A widget whose adapter has no key connected, or whose address is not confirmed yet, is not charged and does not run that adapter: its visitors are told the feature is unavailable, and the owner is told once a day what to do. This needs an API key with full access. The caller must be the account itself or a Widgetic administrator. A retry is harmless: saving the same key twice only refreshes when it was set.
|
|
695
789
|
# @param user_id [String] The account that keeps the key. For your own, your own user id
|
|
696
790
|
# @param adapter_id [String] The adapter the key is for
|
|
697
791
|
# @param credential_key [String] The key's name within the adapter
|
|
698
792
|
# @param set_adapter_connection_request [SetAdapterConnectionRequest]
|
|
699
793
|
# @param [Hash] opts the optional parameters
|
|
700
|
-
# @return [Array<(
|
|
701
|
-
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 = {})
|
|
702
796
|
if @api_client.config.debugging
|
|
703
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
797
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.set_user_adapter_connection ...'
|
|
704
798
|
end
|
|
705
799
|
# verify the required parameter 'user_id' is set
|
|
706
800
|
if @api_client.config.client_side_validation && user_id.nil?
|
|
707
|
-
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"
|
|
708
802
|
end
|
|
709
803
|
# verify the required parameter 'adapter_id' is set
|
|
710
804
|
if @api_client.config.client_side_validation && adapter_id.nil?
|
|
711
|
-
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"
|
|
712
806
|
end
|
|
713
807
|
if @api_client.config.client_side_validation && adapter_id.to_s.length > 40
|
|
714
|
-
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.'
|
|
715
809
|
end
|
|
716
810
|
|
|
717
811
|
# verify the required parameter 'credential_key' is set
|
|
718
812
|
if @api_client.config.client_side_validation && credential_key.nil?
|
|
719
|
-
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"
|
|
720
814
|
end
|
|
721
815
|
if @api_client.config.client_side_validation && credential_key.to_s.length > 40
|
|
722
|
-
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.'
|
|
723
817
|
end
|
|
724
818
|
|
|
725
819
|
# verify the required parameter 'set_adapter_connection_request' is set
|
|
726
820
|
if @api_client.config.client_side_validation && set_adapter_connection_request.nil?
|
|
727
|
-
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"
|
|
728
822
|
end
|
|
729
823
|
# resource path
|
|
730
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))
|
|
@@ -749,13 +843,13 @@ module ApiSdkRb
|
|
|
749
843
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(set_adapter_connection_request)
|
|
750
844
|
|
|
751
845
|
# return_type
|
|
752
|
-
return_type = opts[:debug_return_type] || '
|
|
846
|
+
return_type = opts[:debug_return_type] || 'AdapterConnectionResponse'
|
|
753
847
|
|
|
754
848
|
# auth_names
|
|
755
849
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
756
850
|
|
|
757
851
|
new_options = opts.merge(
|
|
758
|
-
:operation => :"UsersApi.
|
|
852
|
+
:operation => :"UsersApi.set_user_adapter_connection",
|
|
759
853
|
:header_params => header_params,
|
|
760
854
|
:query_params => query_params,
|
|
761
855
|
:form_params => form_params,
|
|
@@ -766,7 +860,7 @@ module ApiSdkRb
|
|
|
766
860
|
|
|
767
861
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
768
862
|
if @api_client.config.debugging
|
|
769
|
-
@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}"
|
|
770
864
|
end
|
|
771
865
|
return data, status_code, headers
|
|
772
866
|
end
|
|
@@ -778,8 +872,8 @@ module ApiSdkRb
|
|
|
778
872
|
# @param update_domain_request [UpdateDomainRequest]
|
|
779
873
|
# @param [Hash] opts the optional parameters
|
|
780
874
|
# @return [PersonalWorkspaceDomainResultResponse]
|
|
781
|
-
def
|
|
782
|
-
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)
|
|
783
877
|
data
|
|
784
878
|
end
|
|
785
879
|
|
|
@@ -790,21 +884,21 @@ module ApiSdkRb
|
|
|
790
884
|
# @param update_domain_request [UpdateDomainRequest]
|
|
791
885
|
# @param [Hash] opts the optional parameters
|
|
792
886
|
# @return [Array<(PersonalWorkspaceDomainResultResponse, Integer, Hash)>] PersonalWorkspaceDomainResultResponse data, response status code and response headers
|
|
793
|
-
def
|
|
887
|
+
def update_personal_workspace_domain_with_http_info(id, domain_id, update_domain_request, opts = {})
|
|
794
888
|
if @api_client.config.debugging
|
|
795
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
889
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.update_personal_workspace_domain ...'
|
|
796
890
|
end
|
|
797
891
|
# verify the required parameter 'id' is set
|
|
798
892
|
if @api_client.config.client_side_validation && id.nil?
|
|
799
|
-
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"
|
|
800
894
|
end
|
|
801
895
|
# verify the required parameter 'domain_id' is set
|
|
802
896
|
if @api_client.config.client_side_validation && domain_id.nil?
|
|
803
|
-
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"
|
|
804
898
|
end
|
|
805
899
|
# verify the required parameter 'update_domain_request' is set
|
|
806
900
|
if @api_client.config.client_side_validation && update_domain_request.nil?
|
|
807
|
-
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"
|
|
808
902
|
end
|
|
809
903
|
# resource path
|
|
810
904
|
local_var_path = '/users/{id}/workspace/domains/{domainId}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'domainId' + '}', CGI.escape(domain_id.to_s))
|
|
@@ -835,7 +929,7 @@ module ApiSdkRb
|
|
|
835
929
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
836
930
|
|
|
837
931
|
new_options = opts.merge(
|
|
838
|
-
:operation => :"UsersApi.
|
|
932
|
+
:operation => :"UsersApi.update_personal_workspace_domain",
|
|
839
933
|
:header_params => header_params,
|
|
840
934
|
:query_params => query_params,
|
|
841
935
|
:form_params => form_params,
|
|
@@ -846,7 +940,7 @@ module ApiSdkRb
|
|
|
846
940
|
|
|
847
941
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
848
942
|
if @api_client.config.debugging
|
|
849
|
-
@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}"
|
|
850
944
|
end
|
|
851
945
|
return data, status_code, headers
|
|
852
946
|
end
|
|
@@ -858,8 +952,8 @@ module ApiSdkRb
|
|
|
858
952
|
# @param update_user_api_key_request [UpdateUserApiKeyRequest]
|
|
859
953
|
# @param [Hash] opts the optional parameters
|
|
860
954
|
# @return [UserApiKeyResponse]
|
|
861
|
-
def
|
|
862
|
-
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)
|
|
863
957
|
data
|
|
864
958
|
end
|
|
865
959
|
|
|
@@ -870,21 +964,21 @@ module ApiSdkRb
|
|
|
870
964
|
# @param update_user_api_key_request [UpdateUserApiKeyRequest]
|
|
871
965
|
# @param [Hash] opts the optional parameters
|
|
872
966
|
# @return [Array<(UserApiKeyResponse, Integer, Hash)>] UserApiKeyResponse data, response status code and response headers
|
|
873
|
-
def
|
|
967
|
+
def update_user_api_key_with_http_info(id, key_id, update_user_api_key_request, opts = {})
|
|
874
968
|
if @api_client.config.debugging
|
|
875
|
-
@api_client.config.logger.debug 'Calling API: UsersApi.
|
|
969
|
+
@api_client.config.logger.debug 'Calling API: UsersApi.update_user_api_key ...'
|
|
876
970
|
end
|
|
877
971
|
# verify the required parameter 'id' is set
|
|
878
972
|
if @api_client.config.client_side_validation && id.nil?
|
|
879
|
-
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"
|
|
880
974
|
end
|
|
881
975
|
# verify the required parameter 'key_id' is set
|
|
882
976
|
if @api_client.config.client_side_validation && key_id.nil?
|
|
883
|
-
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"
|
|
884
978
|
end
|
|
885
979
|
# verify the required parameter 'update_user_api_key_request' is set
|
|
886
980
|
if @api_client.config.client_side_validation && update_user_api_key_request.nil?
|
|
887
|
-
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"
|
|
888
982
|
end
|
|
889
983
|
# resource path
|
|
890
984
|
local_var_path = '/users/{id}/keys/{keyId}'.sub('{' + 'id' + '}', CGI.escape(id.to_s)).sub('{' + 'keyId' + '}', CGI.escape(key_id.to_s))
|
|
@@ -915,7 +1009,7 @@ module ApiSdkRb
|
|
|
915
1009
|
auth_names = opts[:debug_auth_names] || ['apiKeyAuth']
|
|
916
1010
|
|
|
917
1011
|
new_options = opts.merge(
|
|
918
|
-
:operation => :"UsersApi.
|
|
1012
|
+
:operation => :"UsersApi.update_user_api_key",
|
|
919
1013
|
:header_params => header_params,
|
|
920
1014
|
:query_params => query_params,
|
|
921
1015
|
:form_params => form_params,
|
|
@@ -926,7 +1020,7 @@ module ApiSdkRb
|
|
|
926
1020
|
|
|
927
1021
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
928
1022
|
if @api_client.config.debugging
|
|
929
|
-
@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}"
|
|
930
1024
|
end
|
|
931
1025
|
return data, status_code, headers
|
|
932
1026
|
end
|