@kittycad/lib 2.0.47 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +1 -1
- package/dist/mjs/index.js +1 -1
- package/dist/types/__tests__/gen/api-calls-list_api_calls.test.d.ts +1 -1
- package/dist/types/__tests__/gen/api-calls-list_api_calls.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/api-calls-list_api_calls_for_user.test.d.ts +1 -1
- package/dist/types/__tests__/gen/api-calls-list_api_calls_for_user.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/api-calls-list_async_operations.test.d.ts +1 -1
- package/dist/types/__tests__/gen/api-calls-list_async_operations.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/api-calls-org_list_api_calls.test.d.ts +1 -1
- package/dist/types/__tests__/gen/api-calls-org_list_api_calls.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/api-calls-user_list_api_calls.test.d.ts +1 -1
- package/dist/types/__tests__/gen/api-calls-user_list_api_calls.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/api-tokens-list_api_tokens_for_user.test.d.ts +1 -1
- package/dist/types/__tests__/gen/api-tokens-list_api_tokens_for_user.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/ml-list_conversations_for_user.test.d.ts +1 -1
- package/dist/types/__tests__/gen/ml-list_conversations_for_user.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/ml-list_ml_prompts.test.d.ts +1 -1
- package/dist/types/__tests__/gen/ml-list_ml_prompts.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/ml-list_text_to_cad_models_for_user.test.d.ts +1 -1
- package/dist/types/__tests__/gen/ml-list_text_to_cad_models_for_user.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/orgs-get_org_shortlinks.test.d.ts +1 -1
- package/dist/types/__tests__/gen/orgs-get_org_shortlinks.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/orgs-list_org_members.test.d.ts +1 -1
- package/dist/types/__tests__/gen/orgs-list_org_members.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/orgs-list_orgs.test.d.ts +1 -1
- package/dist/types/__tests__/gen/orgs-list_orgs.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/service-accounts-list_service_accounts_for_org.test.d.ts +1 -1
- package/dist/types/__tests__/gen/service-accounts-list_service_accounts_for_org.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/users-get_user_shortlinks.test.d.ts +1 -1
- package/dist/types/__tests__/gen/users-get_user_shortlinks.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/users-list_users.test.d.ts +1 -1
- package/dist/types/__tests__/gen/users-list_users.test.d.ts.map +1 -1
- package/dist/types/__tests__/gen/users-list_users_extended.test.d.ts +1 -1
- package/dist/types/__tests__/gen/users-list_users_extended.test.d.ts.map +1 -1
- package/dist/types/src/api/api-calls/get_api_call.d.ts +22 -4
- package/dist/types/src/api/api-calls/get_api_call.d.ts.map +1 -1
- package/dist/types/src/api/api-calls/get_api_call_for_org.d.ts +18 -4
- package/dist/types/src/api/api-calls/get_api_call_for_org.d.ts.map +1 -1
- package/dist/types/src/api/api-calls/get_api_call_for_user.d.ts +18 -4
- package/dist/types/src/api/api-calls/get_api_call_for_user.d.ts.map +1 -1
- package/dist/types/src/api/api-calls/get_api_call_metrics.d.ts +19 -5
- package/dist/types/src/api/api-calls/get_api_call_metrics.d.ts.map +1 -1
- package/dist/types/src/api/api-calls/get_async_operation.d.ts +24 -4
- package/dist/types/src/api/api-calls/get_async_operation.d.ts.map +1 -1
- package/dist/types/src/api/api-calls/list_api_calls.d.ts +23 -5
- package/dist/types/src/api/api-calls/list_api_calls.d.ts.map +1 -1
- package/dist/types/src/api/api-calls/list_api_calls_for_user.d.ts +31 -6
- package/dist/types/src/api/api-calls/list_api_calls_for_user.d.ts.map +1 -1
- package/dist/types/src/api/api-calls/list_async_operations.d.ts +27 -6
- package/dist/types/src/api/api-calls/list_async_operations.d.ts.map +1 -1
- package/dist/types/src/api/api-calls/org_list_api_calls.d.ts +27 -5
- package/dist/types/src/api/api-calls/org_list_api_calls.d.ts.map +1 -1
- package/dist/types/src/api/api-calls/user_list_api_calls.d.ts +25 -5
- package/dist/types/src/api/api-calls/user_list_api_calls.d.ts.map +1 -1
- package/dist/types/src/api/api-tokens/create_api_token_for_user.d.ts +18 -4
- package/dist/types/src/api/api-tokens/create_api_token_for_user.d.ts.map +1 -1
- package/dist/types/src/api/api-tokens/delete_api_token_for_user.d.ts +19 -5
- package/dist/types/src/api/api-tokens/delete_api_token_for_user.d.ts.map +1 -1
- package/dist/types/src/api/api-tokens/get_api_token_for_user.d.ts +19 -5
- package/dist/types/src/api/api-tokens/get_api_token_for_user.d.ts.map +1 -1
- package/dist/types/src/api/api-tokens/list_api_tokens_for_user.d.ts +25 -5
- package/dist/types/src/api/api-tokens/list_api_tokens_for_user.d.ts.map +1 -1
- package/dist/types/src/api/apps/apps_github_callback.d.ts +16 -4
- package/dist/types/src/api/apps/apps_github_callback.d.ts.map +1 -1
- package/dist/types/src/api/apps/apps_github_consent.d.ts +19 -4
- package/dist/types/src/api/apps/apps_github_consent.d.ts.map +1 -1
- package/dist/types/src/api/apps/apps_github_webhook.d.ts +15 -4
- package/dist/types/src/api/apps/apps_github_webhook.d.ts.map +1 -1
- package/dist/types/src/api/executor/create_executor_term.d.ts +47 -3
- package/dist/types/src/api/executor/create_executor_term.d.ts.map +1 -1
- package/dist/types/src/api/executor/create_file_execution.d.ts +19 -5
- package/dist/types/src/api/executor/create_file_execution.d.ts.map +1 -1
- package/dist/types/src/api/file/create_file_center_of_mass.d.ts +30 -6
- package/dist/types/src/api/file/create_file_center_of_mass.d.ts.map +1 -1
- package/dist/types/src/api/file/create_file_conversion.d.ts +28 -6
- package/dist/types/src/api/file/create_file_conversion.d.ts.map +1 -1
- package/dist/types/src/api/file/create_file_conversion_options.d.ts +24 -5
- package/dist/types/src/api/file/create_file_conversion_options.d.ts.map +1 -1
- package/dist/types/src/api/file/create_file_density.d.ts +33 -7
- package/dist/types/src/api/file/create_file_density.d.ts.map +1 -1
- package/dist/types/src/api/file/create_file_mass.d.ts +33 -7
- package/dist/types/src/api/file/create_file_mass.d.ts.map +1 -1
- package/dist/types/src/api/file/create_file_surface_area.d.ts +30 -6
- package/dist/types/src/api/file/create_file_surface_area.d.ts.map +1 -1
- package/dist/types/src/api/file/create_file_volume.d.ts +30 -6
- package/dist/types/src/api/file/create_file_volume.d.ts.map +1 -1
- package/dist/types/src/api/meta/community_sso.d.ts +14 -4
- package/dist/types/src/api/meta/community_sso.d.ts.map +1 -1
- package/dist/types/src/api/meta/create_debug_uploads.d.ts +15 -4
- package/dist/types/src/api/meta/create_debug_uploads.d.ts.map +1 -1
- package/dist/types/src/api/meta/create_event.d.ts +18 -5
- package/dist/types/src/api/meta/create_event.d.ts.map +1 -1
- package/dist/types/src/api/meta/get_ipinfo.d.ts +15 -4
- package/dist/types/src/api/meta/get_ipinfo.d.ts.map +1 -1
- package/dist/types/src/api/meta/get_pricing_subscriptions.d.ts +17 -4
- package/dist/types/src/api/meta/get_pricing_subscriptions.d.ts.map +1 -1
- package/dist/types/src/api/meta/get_schema.d.ts +12 -4
- package/dist/types/src/api/meta/get_schema.d.ts.map +1 -1
- package/dist/types/src/api/meta/internal_get_api_token_for_discord_user.d.ts +20 -4
- package/dist/types/src/api/meta/internal_get_api_token_for_discord_user.d.ts.map +1 -1
- package/dist/types/src/api/meta/ping.d.ts +15 -4
- package/dist/types/src/api/meta/ping.d.ts.map +1 -1
- package/dist/types/src/api/ml/create_kcl_code_completions.d.ts +17 -5
- package/dist/types/src/api/ml/create_kcl_code_completions.d.ts.map +1 -1
- package/dist/types/src/api/ml/create_proprietary_to_kcl.d.ts +24 -5
- package/dist/types/src/api/ml/create_proprietary_to_kcl.d.ts.map +1 -1
- package/dist/types/src/api/ml/create_text_to_cad.d.ts +26 -6
- package/dist/types/src/api/ml/create_text_to_cad.d.ts.map +1 -1
- package/dist/types/src/api/ml/create_text_to_cad_iteration.d.ts +25 -5
- package/dist/types/src/api/ml/create_text_to_cad_iteration.d.ts.map +1 -1
- package/dist/types/src/api/ml/create_text_to_cad_model_feedback.d.ts +20 -5
- package/dist/types/src/api/ml/create_text_to_cad_model_feedback.d.ts.map +1 -1
- package/dist/types/src/api/ml/create_text_to_cad_multi_file_iteration.d.ts +28 -5
- package/dist/types/src/api/ml/create_text_to_cad_multi_file_iteration.d.ts.map +1 -1
- package/dist/types/src/api/ml/get_ml_prompt.d.ts +18 -4
- package/dist/types/src/api/ml/get_ml_prompt.d.ts.map +1 -1
- package/dist/types/src/api/ml/get_text_to_cad_model_for_user.d.ts +18 -4
- package/dist/types/src/api/ml/get_text_to_cad_model_for_user.d.ts.map +1 -1
- package/dist/types/src/api/ml/list_conversations_for_user.d.ts +25 -5
- package/dist/types/src/api/ml/list_conversations_for_user.d.ts.map +1 -1
- package/dist/types/src/api/ml/list_ml_prompts.d.ts +27 -5
- package/dist/types/src/api/ml/list_ml_prompts.d.ts.map +1 -1
- package/dist/types/src/api/ml/list_text_to_cad_models_for_user.d.ts +30 -6
- package/dist/types/src/api/ml/list_text_to_cad_models_for_user.d.ts.map +1 -1
- package/dist/types/src/api/ml/ml_copilot_ws.d.ts +51 -0
- package/dist/types/src/api/ml/ml_copilot_ws.d.ts.map +1 -0
- package/dist/types/src/api/ml/ml_reasoning_ws.d.ts +53 -0
- package/dist/types/src/api/ml/ml_reasoning_ws.d.ts.map +1 -0
- package/dist/types/src/api/modeling/modeling_commands_ws.d.ts +73 -0
- package/dist/types/src/api/modeling/modeling_commands_ws.d.ts.map +1 -0
- package/dist/types/src/api/oauth2/device_access_token.d.ts +14 -3
- package/dist/types/src/api/oauth2/device_access_token.d.ts.map +1 -1
- package/dist/types/src/api/oauth2/device_auth_confirm.d.ts +17 -5
- package/dist/types/src/api/oauth2/device_auth_confirm.d.ts.map +1 -1
- package/dist/types/src/api/oauth2/device_auth_request.d.ts +14 -3
- package/dist/types/src/api/oauth2/device_auth_request.d.ts.map +1 -1
- package/dist/types/src/api/oauth2/device_auth_verify.d.ts +16 -4
- package/dist/types/src/api/oauth2/device_auth_verify.d.ts.map +1 -1
- package/dist/types/src/api/oauth2/oauth2_provider_callback.d.ts +19 -5
- package/dist/types/src/api/oauth2/oauth2_provider_callback.d.ts.map +1 -1
- package/dist/types/src/api/oauth2/oauth2_provider_callback_post.d.ts +17 -5
- package/dist/types/src/api/oauth2/oauth2_provider_callback_post.d.ts.map +1 -1
- package/dist/types/src/api/oauth2/oauth2_provider_consent.d.ts +18 -5
- package/dist/types/src/api/oauth2/oauth2_provider_consent.d.ts.map +1 -1
- package/dist/types/src/api/oauth2/oauth2_token_revoke.d.ts +14 -3
- package/dist/types/src/api/oauth2/oauth2_token_revoke.d.ts.map +1 -1
- package/dist/types/src/api/orgs/create_org.d.ts +19 -5
- package/dist/types/src/api/orgs/create_org.d.ts.map +1 -1
- package/dist/types/src/api/orgs/create_org_member.d.ts +27 -5
- package/dist/types/src/api/orgs/create_org_member.d.ts.map +1 -1
- package/dist/types/src/api/orgs/create_org_saml_idp.d.ts +19 -5
- package/dist/types/src/api/orgs/create_org_saml_idp.d.ts.map +1 -1
- package/dist/types/src/api/orgs/delete_org.d.ts +18 -4
- package/dist/types/src/api/orgs/delete_org.d.ts.map +1 -1
- package/dist/types/src/api/orgs/delete_org_member.d.ts +17 -5
- package/dist/types/src/api/orgs/delete_org_member.d.ts.map +1 -1
- package/dist/types/src/api/orgs/delete_org_saml_idp.d.ts +14 -4
- package/dist/types/src/api/orgs/delete_org_saml_idp.d.ts.map +1 -1
- package/dist/types/src/api/orgs/get_any_org.d.ts +19 -5
- package/dist/types/src/api/orgs/get_any_org.d.ts.map +1 -1
- package/dist/types/src/api/orgs/get_org.d.ts +17 -4
- package/dist/types/src/api/orgs/get_org.d.ts.map +1 -1
- package/dist/types/src/api/orgs/get_org_member.d.ts +19 -5
- package/dist/types/src/api/orgs/get_org_member.d.ts.map +1 -1
- package/dist/types/src/api/orgs/get_org_privacy_settings.d.ts +17 -4
- package/dist/types/src/api/orgs/get_org_privacy_settings.d.ts.map +1 -1
- package/dist/types/src/api/orgs/get_org_saml_idp.d.ts +17 -4
- package/dist/types/src/api/orgs/get_org_saml_idp.d.ts.map +1 -1
- package/dist/types/src/api/orgs/get_org_shortlinks.d.ts +23 -5
- package/dist/types/src/api/orgs/get_org_shortlinks.d.ts.map +1 -1
- package/dist/types/src/api/orgs/get_user_org.d.ts +19 -4
- package/dist/types/src/api/orgs/get_user_org.d.ts.map +1 -1
- package/dist/types/src/api/orgs/list_org_members.d.ts +25 -6
- package/dist/types/src/api/orgs/list_org_members.d.ts.map +1 -1
- package/dist/types/src/api/orgs/list_orgs.d.ts +23 -5
- package/dist/types/src/api/orgs/list_orgs.d.ts.map +1 -1
- package/dist/types/src/api/orgs/update_enterprise_pricing_for_org.d.ts +21 -6
- package/dist/types/src/api/orgs/update_enterprise_pricing_for_org.d.ts.map +1 -1
- package/dist/types/src/api/orgs/update_org.d.ts +19 -5
- package/dist/types/src/api/orgs/update_org.d.ts.map +1 -1
- package/dist/types/src/api/orgs/update_org_member.d.ts +21 -6
- package/dist/types/src/api/orgs/update_org_member.d.ts.map +1 -1
- package/dist/types/src/api/orgs/update_org_privacy_settings.d.ts +19 -5
- package/dist/types/src/api/orgs/update_org_privacy_settings.d.ts.map +1 -1
- package/dist/types/src/api/orgs/update_org_saml_idp.d.ts +19 -5
- package/dist/types/src/api/orgs/update_org_saml_idp.d.ts.map +1 -1
- package/dist/types/src/api/payments/create_org_subscription.d.ts +19 -5
- package/dist/types/src/api/payments/create_org_subscription.d.ts.map +1 -1
- package/dist/types/src/api/payments/create_payment_information_for_org.d.ts +21 -5
- package/dist/types/src/api/payments/create_payment_information_for_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/create_payment_information_for_user.d.ts +21 -5
- package/dist/types/src/api/payments/create_payment_information_for_user.d.ts.map +1 -1
- package/dist/types/src/api/payments/create_payment_intent_for_org.d.ts +17 -4
- package/dist/types/src/api/payments/create_payment_intent_for_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/create_payment_intent_for_user.d.ts +17 -4
- package/dist/types/src/api/payments/create_payment_intent_for_user.d.ts.map +1 -1
- package/dist/types/src/api/payments/create_user_subscription.d.ts +19 -5
- package/dist/types/src/api/payments/create_user_subscription.d.ts.map +1 -1
- package/dist/types/src/api/payments/delete_payment_information_for_org.d.ts +16 -4
- package/dist/types/src/api/payments/delete_payment_information_for_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/delete_payment_information_for_user.d.ts +16 -4
- package/dist/types/src/api/payments/delete_payment_information_for_user.d.ts.map +1 -1
- package/dist/types/src/api/payments/delete_payment_method_for_org.d.ts +15 -4
- package/dist/types/src/api/payments/delete_payment_method_for_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/delete_payment_method_for_user.d.ts +15 -4
- package/dist/types/src/api/payments/delete_payment_method_for_user.d.ts.map +1 -1
- package/dist/types/src/api/payments/get_org_subscription.d.ts +17 -4
- package/dist/types/src/api/payments/get_org_subscription.d.ts.map +1 -1
- package/dist/types/src/api/payments/get_payment_balance_for_any_org.d.ts +20 -5
- package/dist/types/src/api/payments/get_payment_balance_for_any_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/get_payment_balance_for_any_user.d.ts +20 -5
- package/dist/types/src/api/payments/get_payment_balance_for_any_user.d.ts.map +1 -1
- package/dist/types/src/api/payments/get_payment_balance_for_org.d.ts +18 -4
- package/dist/types/src/api/payments/get_payment_balance_for_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/get_payment_balance_for_user.d.ts +18 -4
- package/dist/types/src/api/payments/get_payment_balance_for_user.d.ts.map +1 -1
- package/dist/types/src/api/payments/get_payment_information_for_org.d.ts +19 -4
- package/dist/types/src/api/payments/get_payment_information_for_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/get_payment_information_for_user.d.ts +19 -4
- package/dist/types/src/api/payments/get_payment_information_for_user.d.ts.map +1 -1
- package/dist/types/src/api/payments/get_user_subscription.d.ts +17 -4
- package/dist/types/src/api/payments/get_user_subscription.d.ts.map +1 -1
- package/dist/types/src/api/payments/list_invoices_for_org.d.ts +17 -4
- package/dist/types/src/api/payments/list_invoices_for_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/list_invoices_for_user.d.ts +17 -4
- package/dist/types/src/api/payments/list_invoices_for_user.d.ts.map +1 -1
- package/dist/types/src/api/payments/list_payment_methods_for_org.d.ts +17 -4
- package/dist/types/src/api/payments/list_payment_methods_for_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/list_payment_methods_for_user.d.ts +17 -4
- package/dist/types/src/api/payments/list_payment_methods_for_user.d.ts.map +1 -1
- package/dist/types/src/api/payments/update_org_subscription.d.ts +19 -5
- package/dist/types/src/api/payments/update_org_subscription.d.ts.map +1 -1
- package/dist/types/src/api/payments/update_payment_balance_for_any_org.d.ts +22 -6
- package/dist/types/src/api/payments/update_payment_balance_for_any_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/update_payment_balance_for_any_user.d.ts +22 -6
- package/dist/types/src/api/payments/update_payment_balance_for_any_user.d.ts.map +1 -1
- package/dist/types/src/api/payments/update_payment_information_for_org.d.ts +21 -5
- package/dist/types/src/api/payments/update_payment_information_for_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/update_payment_information_for_user.d.ts +21 -5
- package/dist/types/src/api/payments/update_payment_information_for_user.d.ts.map +1 -1
- package/dist/types/src/api/payments/update_user_subscription.d.ts +19 -5
- package/dist/types/src/api/payments/update_user_subscription.d.ts.map +1 -1
- package/dist/types/src/api/payments/validate_customer_tax_information_for_org.d.ts +14 -4
- package/dist/types/src/api/payments/validate_customer_tax_information_for_org.d.ts.map +1 -1
- package/dist/types/src/api/payments/validate_customer_tax_information_for_user.d.ts +14 -4
- package/dist/types/src/api/payments/validate_customer_tax_information_for_user.d.ts.map +1 -1
- package/dist/types/src/api/service-accounts/create_service_account_for_org.d.ts +18 -4
- package/dist/types/src/api/service-accounts/create_service_account_for_org.d.ts.map +1 -1
- package/dist/types/src/api/service-accounts/delete_service_account_for_org.d.ts +19 -5
- package/dist/types/src/api/service-accounts/delete_service_account_for_org.d.ts.map +1 -1
- package/dist/types/src/api/service-accounts/get_service_account_for_org.d.ts +19 -5
- package/dist/types/src/api/service-accounts/get_service_account_for_org.d.ts.map +1 -1
- package/dist/types/src/api/service-accounts/list_service_accounts_for_org.d.ts +25 -5
- package/dist/types/src/api/service-accounts/list_service_accounts_for_org.d.ts.map +1 -1
- package/dist/types/src/api/store/create_store_coupon.d.ts +19 -5
- package/dist/types/src/api/store/create_store_coupon.d.ts.map +1 -1
- package/dist/types/src/api/unit/get_angle_unit_conversion.d.ts +22 -6
- package/dist/types/src/api/unit/get_angle_unit_conversion.d.ts.map +1 -1
- package/dist/types/src/api/unit/get_area_unit_conversion.d.ts +22 -6
- package/dist/types/src/api/unit/get_area_unit_conversion.d.ts.map +1 -1
- package/dist/types/src/api/unit/get_current_unit_conversion.d.ts +22 -6
- package/dist/types/src/api/unit/get_current_unit_conversion.d.ts.map +1 -1
- package/dist/types/src/api/unit/get_energy_unit_conversion.d.ts +22 -6
- package/dist/types/src/api/unit/get_energy_unit_conversion.d.ts.map +1 -1
- package/dist/types/src/api/unit/get_force_unit_conversion.d.ts +22 -6
- package/dist/types/src/api/unit/get_force_unit_conversion.d.ts.map +1 -1
- package/dist/types/src/api/unit/get_frequency_unit_conversion.d.ts +22 -6
- package/dist/types/src/api/unit/get_frequency_unit_conversion.d.ts.map +1 -1
- package/dist/types/src/api/unit/get_length_unit_conversion.d.ts +22 -6
- package/dist/types/src/api/unit/get_length_unit_conversion.d.ts.map +1 -1
- package/dist/types/src/api/unit/get_mass_unit_conversion.d.ts +22 -6
- package/dist/types/src/api/unit/get_mass_unit_conversion.d.ts.map +1 -1
- package/dist/types/src/api/unit/get_power_unit_conversion.d.ts +22 -6
- package/dist/types/src/api/unit/get_power_unit_conversion.d.ts.map +1 -1
- package/dist/types/src/api/unit/get_pressure_unit_conversion.d.ts +22 -6
- package/dist/types/src/api/unit/get_pressure_unit_conversion.d.ts.map +1 -1
- package/dist/types/src/api/unit/get_temperature_unit_conversion.d.ts +22 -6
- package/dist/types/src/api/unit/get_temperature_unit_conversion.d.ts.map +1 -1
- package/dist/types/src/api/unit/get_torque_unit_conversion.d.ts +22 -6
- package/dist/types/src/api/unit/get_torque_unit_conversion.d.ts.map +1 -1
- package/dist/types/src/api/unit/get_volume_unit_conversion.d.ts +22 -6
- package/dist/types/src/api/unit/get_volume_unit_conversion.d.ts.map +1 -1
- package/dist/types/src/api/users/create_user_shortlink.d.ts +19 -5
- package/dist/types/src/api/users/create_user_shortlink.d.ts.map +1 -1
- package/dist/types/src/api/users/delete_user_self.d.ts +16 -4
- package/dist/types/src/api/users/delete_user_self.d.ts.map +1 -1
- package/dist/types/src/api/users/delete_user_shortlink.d.ts +15 -4
- package/dist/types/src/api/users/delete_user_shortlink.d.ts.map +1 -1
- package/dist/types/src/api/users/get_oauth2_providers_for_user.d.ts +19 -4
- package/dist/types/src/api/users/get_oauth2_providers_for_user.d.ts.map +1 -1
- package/dist/types/src/api/users/get_session_for_user.d.ts +19 -5
- package/dist/types/src/api/users/get_session_for_user.d.ts.map +1 -1
- package/dist/types/src/api/users/get_user.d.ts +21 -5
- package/dist/types/src/api/users/get_user.d.ts.map +1 -1
- package/dist/types/src/api/users/get_user_extended.d.ts +21 -5
- package/dist/types/src/api/users/get_user_extended.d.ts.map +1 -1
- package/dist/types/src/api/users/get_user_privacy_settings.d.ts +17 -4
- package/dist/types/src/api/users/get_user_privacy_settings.d.ts.map +1 -1
- package/dist/types/src/api/users/get_user_self.d.ts +19 -4
- package/dist/types/src/api/users/get_user_self.d.ts.map +1 -1
- package/dist/types/src/api/users/get_user_self_extended.d.ts +19 -4
- package/dist/types/src/api/users/get_user_self_extended.d.ts.map +1 -1
- package/dist/types/src/api/users/get_user_shortlinks.d.ts +23 -5
- package/dist/types/src/api/users/get_user_shortlinks.d.ts.map +1 -1
- package/dist/types/src/api/users/list_users.d.ts +23 -5
- package/dist/types/src/api/users/list_users.d.ts.map +1 -1
- package/dist/types/src/api/users/list_users_extended.d.ts +23 -5
- package/dist/types/src/api/users/list_users_extended.d.ts.map +1 -1
- package/dist/types/src/api/users/patch_user_crm.d.ts +15 -5
- package/dist/types/src/api/users/patch_user_crm.d.ts.map +1 -1
- package/dist/types/src/api/users/put_public_form.d.ts +17 -5
- package/dist/types/src/api/users/put_public_form.d.ts.map +1 -1
- package/dist/types/src/api/users/put_public_subscribe.d.ts +15 -5
- package/dist/types/src/api/users/put_public_subscribe.d.ts.map +1 -1
- package/dist/types/src/api/users/put_user_form_self.d.ts +17 -5
- package/dist/types/src/api/users/put_user_form_self.d.ts.map +1 -1
- package/dist/types/src/api/users/update_subscription_for_user.d.ts +21 -6
- package/dist/types/src/api/users/update_subscription_for_user.d.ts.map +1 -1
- package/dist/types/src/api/users/update_user_privacy_settings.d.ts +19 -5
- package/dist/types/src/api/users/update_user_privacy_settings.d.ts.map +1 -1
- package/dist/types/src/api/users/update_user_self.d.ts +19 -5
- package/dist/types/src/api/users/update_user_self.d.ts.map +1 -1
- package/dist/types/src/api/users/update_user_shortlink.d.ts +20 -5
- package/dist/types/src/api/users/update_user_shortlink.d.ts.map +1 -1
- package/dist/types/src/client.d.ts +9 -2
- package/dist/types/src/client.d.ts.map +1 -1
- package/dist/types/src/errors.d.ts +10 -0
- package/dist/types/src/errors.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +45 -3
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/models.d.ts +6432 -1828
- package/dist/types/src/models.d.ts.map +1 -1
- package/dist/types/src/pagination.d.ts +17 -0
- package/dist/types/src/pagination.d.ts.map +1 -0
- package/dist/types/src/ws-utils.d.ts +6 -0
- package/dist/types/src/ws-utils.d.ts.map +1 -0
- package/package.json +22 -9
- package/dist/types/__tests__/gen/executor-create_executor_term.test.d.ts +0 -2
- package/dist/types/__tests__/gen/executor-create_executor_term.test.d.ts.map +0 -1
- package/dist/types/__tests__/gen/users-put_public_subscribe.test.d.ts +0 -2
- package/dist/types/__tests__/gen/users-put_public_subscribe.test.d.ts.map +0 -1
- package/dist/types/src/apiGen.d.ts +0 -3
- package/dist/types/src/apiGen.d.ts.map +0 -1
- package/dist/types/src/expectedToFail.d.ts +0 -31
- package/dist/types/src/expectedToFail.d.ts.map +0 -1
- package/dist/types/src/modelsGen.d.ts +0 -2
- package/dist/types/src/modelsGen.d.ts.map +0 -1
- package/dist/umd/index.js +0 -1
|
@@ -1,9 +1,21 @@
|
|
|
1
|
-
import { Error_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
interface
|
|
2
|
+
interface AppsGithubCallbackInput {
|
|
4
3
|
client?: Client;
|
|
5
4
|
}
|
|
6
|
-
declare type
|
|
7
|
-
|
|
5
|
+
declare type AppsGithubCallbackReturn = void;
|
|
6
|
+
/**
|
|
7
|
+
* Listen for callbacks to GitHub app authentication.
|
|
8
|
+
*
|
|
9
|
+
* This is different than OAuth 2.0 authentication for users. This endpoint grants access for Zoo to access user's repos.
|
|
10
|
+
*
|
|
11
|
+
* The user doesn't need Zoo OAuth authorization for this endpoint, this is purely for the GitHub permissions to access repos.
|
|
12
|
+
*
|
|
13
|
+
* Tags: apps, hidden
|
|
14
|
+
*
|
|
15
|
+
* @param params Function parameters.
|
|
16
|
+
* @property {Client} [client] Optional client with auth token.
|
|
17
|
+
* @returns {Promise<AppsGithubCallbackReturn>} successful operation, no content
|
|
18
|
+
*/
|
|
19
|
+
export default function apps_github_callback({ client }?: AppsGithubCallbackInput): Promise<AppsGithubCallbackReturn>;
|
|
8
20
|
export {};
|
|
9
21
|
//# sourceMappingURL=apps_github_callback.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps_github_callback.d.ts","sourceRoot":"","sources":["../../../../../src/api/apps/apps_github_callback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"apps_github_callback.d.ts","sourceRoot":"","sources":["../../../../../src/api/apps/apps_github_callback.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAKxC,UAAU,uBAAuB;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,aAAK,wBAAwB,GAAG,IAAI,CAAA;AAEpC;;;;;;;;;;;;GAYG;AACH,wBAA8B,oBAAoB,CAChD,EAAE,MAAM,EAAE,GAAE,uBAAuD,GAClE,OAAO,CAAC,wBAAwB,CAAC,CA+BnC"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
|
-
import { AppClientInfo_type, Error_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { AppClientInfo } from '../../models.js';
|
|
3
|
+
interface AppsGithubConsentInput {
|
|
4
4
|
client?: Client;
|
|
5
5
|
}
|
|
6
|
-
declare type
|
|
7
|
-
|
|
6
|
+
declare type AppsGithubConsentReturn = AppClientInfo;
|
|
7
|
+
/**
|
|
8
|
+
* Get the consent URL for GitHub app authentication.
|
|
9
|
+
*
|
|
10
|
+
* This is different than OAuth 2.0 authentication for users. This endpoint grants access for Zoo to access user's repos.
|
|
11
|
+
*
|
|
12
|
+
* The user doesn't need Zoo OAuth authorization for this endpoint, this is purely for the GitHub permissions to access repos.
|
|
13
|
+
*
|
|
14
|
+
* Tags: apps, hidden
|
|
15
|
+
*
|
|
16
|
+
* @param params Function parameters.
|
|
17
|
+
* @property {Client} [client] Optional client with auth token.
|
|
18
|
+
* @returns {Promise<AppsGithubConsentReturn>} successful operation
|
|
19
|
+
*
|
|
20
|
+
* Possible return types: AppClientInfo
|
|
21
|
+
*/
|
|
22
|
+
export default function apps_github_consent({ client }?: AppsGithubConsentInput): Promise<AppsGithubConsentReturn>;
|
|
8
23
|
export {};
|
|
9
24
|
//# sourceMappingURL=apps_github_consent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps_github_consent.d.ts","sourceRoot":"","sources":["../../../../../src/api/apps/apps_github_consent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"apps_github_consent.d.ts","sourceRoot":"","sources":["../../../../../src/api/apps/apps_github_consent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,aAAK,uBAAuB,GAAG,aAAa,CAAA;AAE5C;;;;;;;;;;;;;;GAcG;AACH,wBAA8B,mBAAmB,CAC/C,EAAE,MAAM,EAAE,GAAE,sBAAqD,GAChE,OAAO,CAAC,uBAAuB,CAAC,CAgClC"}
|
|
@@ -1,10 +1,21 @@
|
|
|
1
|
-
import { Error_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
interface
|
|
2
|
+
interface AppsGithubWebhookInput {
|
|
4
3
|
client?: Client;
|
|
5
4
|
body: string;
|
|
6
5
|
}
|
|
7
|
-
declare type
|
|
8
|
-
|
|
6
|
+
declare type AppsGithubWebhookReturn = void;
|
|
7
|
+
/**
|
|
8
|
+
* Listen for GitHub webhooks.
|
|
9
|
+
*
|
|
10
|
+
* These come from the GitHub app.
|
|
11
|
+
*
|
|
12
|
+
* Tags: apps, hidden
|
|
13
|
+
*
|
|
14
|
+
* @param params Function parameters.
|
|
15
|
+
* @property {Client} [client] Optional client with auth token.
|
|
16
|
+
* @property {string} body Request body payload
|
|
17
|
+
* @returns {Promise<AppsGithubWebhookReturn>} successful operation, no content
|
|
18
|
+
*/
|
|
19
|
+
export default function apps_github_webhook({ client, body, }: AppsGithubWebhookInput): Promise<AppsGithubWebhookReturn>;
|
|
9
20
|
export {};
|
|
10
21
|
//# sourceMappingURL=apps_github_webhook.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps_github_webhook.d.ts","sourceRoot":"","sources":["../../../../../src/api/apps/apps_github_webhook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"apps_github_webhook.d.ts","sourceRoot":"","sources":["../../../../../src/api/apps/apps_github_webhook.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAKxC,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;CACb;AAED,aAAK,uBAAuB,GAAG,IAAI,CAAA;AAEnC;;;;;;;;;;;GAWG;AACH,wBAA8B,mBAAmB,CAAC,EAChD,MAAM,EACN,IAAI,GACL,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAiC3D"}
|
|
@@ -1,8 +1,52 @@
|
|
|
1
1
|
import { Client } from '../../client.js';
|
|
2
|
-
interface
|
|
2
|
+
interface ExecutorTermParams {
|
|
3
3
|
client?: Client;
|
|
4
4
|
}
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Create a terminal.
|
|
7
|
+
*
|
|
8
|
+
* Attach to a docker container to create an interactive terminal.
|
|
9
|
+
*
|
|
10
|
+
* Tags: executor, hidden
|
|
11
|
+
*
|
|
12
|
+
* @template Req WebSocket request message type
|
|
13
|
+
* @template Res WebSocket response message type
|
|
14
|
+
* @param functionNameParams Parameters for URL templating and auth
|
|
15
|
+
* @property {Client} [client] Optional client with auth token.
|
|
16
|
+
*/
|
|
17
|
+
export default class ExecutorTerm<Req = unknown, Res = unknown> {
|
|
18
|
+
private readonly functionNameParams;
|
|
19
|
+
private ws;
|
|
20
|
+
constructor(functionNameParams: ExecutorTermParams);
|
|
21
|
+
/**
|
|
22
|
+
* Establish the WebSocket connection and perform optional header auth.
|
|
23
|
+
* @returns {Promise<this>} WebSocket instance after the connection opens.
|
|
24
|
+
*/
|
|
25
|
+
connect(): Promise<this>;
|
|
26
|
+
/**
|
|
27
|
+
* Send a JSON-encoded message.
|
|
28
|
+
* @param {Req} data Message payload.
|
|
29
|
+
*/
|
|
30
|
+
send(data: Req): void;
|
|
31
|
+
/**
|
|
32
|
+
* Send a BSON-encoded binary message, falling back to JSON if needed.
|
|
33
|
+
* @param {Req} data Message payload.
|
|
34
|
+
*/
|
|
35
|
+
sendBinary(data: Req): void;
|
|
36
|
+
/**
|
|
37
|
+
* Receive a single message or reject on timeout.
|
|
38
|
+
* @param {number} [timeoutMs=60000] Milliseconds to wait before timing out.
|
|
39
|
+
* @returns {Promise<Res>} Parsed response message.
|
|
40
|
+
*/
|
|
41
|
+
recv(timeoutMs?: number): Promise<Res>;
|
|
42
|
+
/** Close the WebSocket connection. */
|
|
43
|
+
close(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Parse an incoming browser MessageEvent into a typed response.
|
|
46
|
+
* @param {MessageEvent} ev Event from the WebSocket.
|
|
47
|
+
* @returns {Res} Parsed payload.
|
|
48
|
+
*/
|
|
49
|
+
private parseMessage;
|
|
50
|
+
}
|
|
7
51
|
export {};
|
|
8
52
|
//# sourceMappingURL=create_executor_term.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_executor_term.d.ts","sourceRoot":"","sources":["../../../../../src/api/executor/create_executor_term.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create_executor_term.d.ts","sourceRoot":"","sources":["../../../../../src/api/executor/create_executor_term.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAMxC,UAAU,kBAAkB;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,OAAO,OAAO,YAAY,CAAC,GAAG,GAAG,OAAO,EAAE,GAAG,GAAG,OAAO;IAGhD,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IAF/C,OAAO,CAAC,EAAE,CAAY;gBAEO,kBAAkB,EAAE,kBAAkB;IAEnE;;;OAGG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IAwD9B;;;OAGG;IACH,IAAI,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;IAGrB;;;OAGG;IACH,UAAU,CAAC,IAAI,EAAE,GAAG,GAAG,IAAI;IAS3B;;;;OAIG;IACH,IAAI,CAAC,SAAS,SAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IA6BrC,sCAAsC;IACtC,KAAK,IAAI,IAAI;IAIb;;;;OAIG;IACH,OAAO,CAAC,YAAY;CAgCrB"}
|
|
@@ -1,12 +1,26 @@
|
|
|
1
|
-
import { CodeOutput_type, Error_type, CodeLanguage_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { CodeOutput, CodeLanguage } from '../../models.js';
|
|
3
|
+
interface CreateFileExecutionInput {
|
|
4
4
|
client?: Client;
|
|
5
|
-
lang:
|
|
5
|
+
lang: CodeLanguage;
|
|
6
6
|
output: string;
|
|
7
7
|
body: string;
|
|
8
8
|
}
|
|
9
|
-
declare type
|
|
10
|
-
|
|
9
|
+
declare type CreateFileExecutionReturn = CodeOutput;
|
|
10
|
+
/**
|
|
11
|
+
* Execute a Zoo program in a specific language.
|
|
12
|
+
*
|
|
13
|
+
* Tags: executor, hidden
|
|
14
|
+
*
|
|
15
|
+
* @param params Function parameters.
|
|
16
|
+
* @property {Client} [client] Optional client with auth token.
|
|
17
|
+
* @property {CodeLanguage} lang The language of the code. (path)
|
|
18
|
+
* @property {string} output The output file we want to get the contents for (the paths are relative to where in litterbox it is being run). You can denote more than one file with a comma separated list of string paths. (query)
|
|
19
|
+
* @property {string} body Request body payload
|
|
20
|
+
* @returns {Promise<CreateFileExecutionReturn>} successful creation
|
|
21
|
+
*
|
|
22
|
+
* Possible return types: CodeOutput
|
|
23
|
+
*/
|
|
24
|
+
export default function create_file_execution({ client, lang, output, body, }: CreateFileExecutionInput): Promise<CreateFileExecutionReturn>;
|
|
11
25
|
export {};
|
|
12
26
|
//# sourceMappingURL=create_file_execution.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_file_execution.d.ts","sourceRoot":"","sources":["../../../../../src/api/executor/create_file_execution.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create_file_execution.d.ts","sourceRoot":"","sources":["../../../../../src/api/executor/create_file_execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE1D,UAAU,wBAAwB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,YAAY,CAAA;IAClB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;CACb;AAED,aAAK,yBAAyB,GAAG,UAAU,CAAA;AAE3C;;;;;;;;;;;;;GAaG;AACH,wBAA8B,qBAAqB,CAAC,EAClD,MAAM,EACN,IAAI,EACJ,MAAM,EACN,IAAI,GACL,EAAE,wBAAwB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAkC/D"}
|
|
@@ -1,12 +1,36 @@
|
|
|
1
|
-
import { FileCenterOfMass_type, Error_type, UnitLength_type, FileImportFormat_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { FileCenterOfMass, UnitLength, FileImportFormat } from '../../models.js';
|
|
3
|
+
interface CreateFileCenterOfMassInput {
|
|
4
4
|
client?: Client;
|
|
5
|
-
output_unit:
|
|
6
|
-
src_format:
|
|
5
|
+
output_unit: UnitLength;
|
|
6
|
+
src_format: FileImportFormat;
|
|
7
7
|
body: string;
|
|
8
8
|
}
|
|
9
|
-
declare type
|
|
10
|
-
|
|
9
|
+
declare type CreateFileCenterOfMassReturn = FileCenterOfMass;
|
|
10
|
+
/**
|
|
11
|
+
* Get CAD file center of mass.
|
|
12
|
+
*
|
|
13
|
+
* We assume any file given to us has one consistent unit throughout. We also assume the file is at the proper scale.
|
|
14
|
+
*
|
|
15
|
+
* This endpoint returns the cartesian coordinate in world space measure units.
|
|
16
|
+
*
|
|
17
|
+
* In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported.
|
|
18
|
+
*
|
|
19
|
+
* Get the center of mass of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously.
|
|
20
|
+
*
|
|
21
|
+
* If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.
|
|
22
|
+
*
|
|
23
|
+
* Tags: file
|
|
24
|
+
*
|
|
25
|
+
* @param params Function parameters.
|
|
26
|
+
* @property {Client} [client] Optional client with auth token.
|
|
27
|
+
* @property {UnitLength} output_unit The output unit for the center of mass. (query)
|
|
28
|
+
* @property {FileImportFormat} src_format The format of the file. (query)
|
|
29
|
+
* @property {string} body Request body payload
|
|
30
|
+
* @returns {Promise<CreateFileCenterOfMassReturn>} successful creation
|
|
31
|
+
*
|
|
32
|
+
* Possible return types: FileCenterOfMass
|
|
33
|
+
*/
|
|
34
|
+
export default function create_file_center_of_mass({ client, output_unit, src_format, body, }: CreateFileCenterOfMassInput): Promise<CreateFileCenterOfMassReturn>;
|
|
11
35
|
export {};
|
|
12
36
|
//# sourceMappingURL=create_file_center_of_mass.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_file_center_of_mass.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_center_of_mass.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create_file_center_of_mass.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_center_of_mass.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAEhF,UAAU,2BAA2B;IACnC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,UAAU,CAAA;IACvB,UAAU,EAAE,gBAAgB,CAAA;IAC5B,IAAI,EAAE,MAAM,CAAA;CACb;AAED,aAAK,4BAA4B,GAAG,gBAAgB,CAAA;AAEpD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAA8B,0BAA0B,CAAC,EACvD,MAAM,EACN,WAAW,EACX,UAAU,EACV,IAAI,GACL,EAAE,2BAA2B,GAAG,OAAO,CAAC,4BAA4B,CAAC,CAkCrE"}
|
|
@@ -1,12 +1,34 @@
|
|
|
1
|
-
import { FileConversion_type, Error_type, FileExportFormat_type, FileImportFormat_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { FileConversion, FileExportFormat, FileImportFormat } from '../../models.js';
|
|
3
|
+
interface CreateFileConversionInput {
|
|
4
4
|
client?: Client;
|
|
5
|
-
output_format:
|
|
6
|
-
src_format:
|
|
5
|
+
output_format: FileExportFormat;
|
|
6
|
+
src_format: FileImportFormat;
|
|
7
7
|
body: string;
|
|
8
8
|
}
|
|
9
|
-
declare type
|
|
10
|
-
|
|
9
|
+
declare type CreateFileConversionReturn = FileConversion;
|
|
10
|
+
/**
|
|
11
|
+
* Convert CAD file with defaults.
|
|
12
|
+
*
|
|
13
|
+
* If you wish to specify the conversion options, use the `/file/conversion` endpoint instead.
|
|
14
|
+
*
|
|
15
|
+
* Convert a CAD file from one format to another. If the file being converted is larger than 25MB, it will be performed asynchronously.
|
|
16
|
+
*
|
|
17
|
+
* If the conversion is performed synchronously, the contents of the converted file (`output`) will be returned as a base64 encoded string.
|
|
18
|
+
*
|
|
19
|
+
* If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.
|
|
20
|
+
*
|
|
21
|
+
* Tags: file
|
|
22
|
+
*
|
|
23
|
+
* @param params Function parameters.
|
|
24
|
+
* @property {Client} [client] Optional client with auth token.
|
|
25
|
+
* @property {FileExportFormat} output_format The format the file should be converted to. (path)
|
|
26
|
+
* @property {FileImportFormat} src_format The format of the file to convert. (path)
|
|
27
|
+
* @property {string} body Request body payload
|
|
28
|
+
* @returns {Promise<CreateFileConversionReturn>} successful creation
|
|
29
|
+
*
|
|
30
|
+
* Possible return types: FileConversion
|
|
31
|
+
*/
|
|
32
|
+
export default function create_file_conversion({ client, output_format, src_format, body, }: CreateFileConversionInput): Promise<CreateFileConversionReturn>;
|
|
11
33
|
export {};
|
|
12
34
|
//# sourceMappingURL=create_file_conversion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_file_conversion.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_conversion.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create_file_conversion.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_conversion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EACL,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,iBAAiB,CAAA;AAExB,UAAU,yBAAyB;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,gBAAgB,CAAA;IAC/B,UAAU,EAAE,gBAAgB,CAAA;IAC5B,IAAI,EAAE,MAAM,CAAA;CACb;AAED,aAAK,0BAA0B,GAAG,cAAc,CAAA;AAEhD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAA8B,sBAAsB,CAAC,EACnD,MAAM,EACN,aAAa,EACb,UAAU,EACV,IAAI,GACL,EAAE,yBAAyB,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAkCjE"}
|
|
@@ -1,12 +1,31 @@
|
|
|
1
|
-
import { FileConversion_type, Error_type, ConversionParams_type } from '../../models.js';
|
|
2
1
|
import { File } from '../../models.js';
|
|
3
2
|
import { Client } from '../../client.js';
|
|
4
|
-
|
|
3
|
+
import { FileConversion, ConversionParams } from '../../models.js';
|
|
4
|
+
interface CreateFileConversionOptionsInput {
|
|
5
5
|
client?: Client;
|
|
6
|
-
body: ConversionParams_type;
|
|
7
6
|
files: File[];
|
|
7
|
+
body: ConversionParams;
|
|
8
8
|
}
|
|
9
|
-
declare type
|
|
10
|
-
|
|
9
|
+
declare type CreateFileConversionOptionsReturn = FileConversion;
|
|
10
|
+
/**
|
|
11
|
+
* Convert CAD file from one format to another.
|
|
12
|
+
*
|
|
13
|
+
* This takes a HTTP multipart body with these fields in any order:
|
|
14
|
+
*
|
|
15
|
+
* - The input and output format options (as JSON), name is 'body'. - The files to convert, in raw binary. Must supply filenames.
|
|
16
|
+
*
|
|
17
|
+
* This starts a conversion job and returns the `id` of the operation. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.
|
|
18
|
+
*
|
|
19
|
+
* Tags: file
|
|
20
|
+
*
|
|
21
|
+
* @param params Function parameters.
|
|
22
|
+
* @property {Client} [client] Optional client with auth token.
|
|
23
|
+
* @property {File[]} files Files attached as multipart/form-data.
|
|
24
|
+
* @property {ConversionParams} body Convert files to other formats
|
|
25
|
+
* @returns {Promise<CreateFileConversionOptionsReturn>} successful creation
|
|
26
|
+
*
|
|
27
|
+
* Possible return types: FileConversion
|
|
28
|
+
*/
|
|
29
|
+
export default function create_file_conversion_options({ client, files, body, }: CreateFileConversionOptionsInput): Promise<CreateFileConversionOptionsReturn>;
|
|
11
30
|
export {};
|
|
12
31
|
//# sourceMappingURL=create_file_conversion_options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_file_conversion_options.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_conversion_options.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create_file_conversion_options.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_conversion_options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAElE,UAAU,gCAAgC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,IAAI,EAAE,gBAAgB,CAAA;CACvB;AAED,aAAK,iCAAiC,GAAG,cAAc,CAAA;AAEvD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAA8B,8BAA8B,CAAC,EAC3D,MAAM,EACN,KAAK,EACL,IAAI,GACL,EAAE,gCAAgC,GAAG,OAAO,CAAC,iCAAiC,CAAC,CA0C/E"}
|
|
@@ -1,14 +1,40 @@
|
|
|
1
|
-
import { FileDensity_type, Error_type, UnitMass_type, UnitDensity_type, FileImportFormat_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { FileDensity, UnitMass, UnitDensity, FileImportFormat } from '../../models.js';
|
|
3
|
+
interface CreateFileDensityInput {
|
|
4
4
|
client?: Client;
|
|
5
5
|
material_mass: number;
|
|
6
|
-
material_mass_unit:
|
|
7
|
-
output_unit:
|
|
8
|
-
src_format:
|
|
6
|
+
material_mass_unit: UnitMass;
|
|
7
|
+
output_unit: UnitDensity;
|
|
8
|
+
src_format: FileImportFormat;
|
|
9
9
|
body: string;
|
|
10
10
|
}
|
|
11
|
-
declare type
|
|
12
|
-
|
|
11
|
+
declare type CreateFileDensityReturn = FileDensity;
|
|
12
|
+
/**
|
|
13
|
+
* Get CAD file density.
|
|
14
|
+
*
|
|
15
|
+
* We assume any file given to us has one consistent unit throughout. We also assume the file is at the proper scale.
|
|
16
|
+
*
|
|
17
|
+
* This endpoint assumes if you are giving a material mass in a specific mass units, we return a density in mass unit per cubic measure unit.
|
|
18
|
+
*
|
|
19
|
+
* In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported.
|
|
20
|
+
*
|
|
21
|
+
* Get the density of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously.
|
|
22
|
+
*
|
|
23
|
+
* If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.
|
|
24
|
+
*
|
|
25
|
+
* Tags: file
|
|
26
|
+
*
|
|
27
|
+
* @param params Function parameters.
|
|
28
|
+
* @property {Client} [client] Optional client with auth token.
|
|
29
|
+
* @property {number} material_mass The material mass. (query)
|
|
30
|
+
* @property {UnitMass} material_mass_unit The unit of the material mass. (query)
|
|
31
|
+
* @property {UnitDensity} output_unit The output unit for the density. (query)
|
|
32
|
+
* @property {FileImportFormat} src_format The format of the file. (query)
|
|
33
|
+
* @property {string} body Request body payload
|
|
34
|
+
* @returns {Promise<CreateFileDensityReturn>} successful creation
|
|
35
|
+
*
|
|
36
|
+
* Possible return types: FileDensity
|
|
37
|
+
*/
|
|
38
|
+
export default function create_file_density({ client, material_mass, material_mass_unit, output_unit, src_format, body, }: CreateFileDensityInput): Promise<CreateFileDensityReturn>;
|
|
13
39
|
export {};
|
|
14
40
|
//# sourceMappingURL=create_file_density.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_file_density.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_density.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create_file_density.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_density.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EACL,WAAW,EACX,QAAQ,EACR,WAAW,EACX,gBAAgB,EACjB,MAAM,iBAAiB,CAAA;AAExB,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,aAAa,EAAE,MAAM,CAAA;IACrB,kBAAkB,EAAE,QAAQ,CAAA;IAC5B,WAAW,EAAE,WAAW,CAAA;IACxB,UAAU,EAAE,gBAAgB,CAAA;IAC5B,IAAI,EAAE,MAAM,CAAA;CACb;AAED,aAAK,uBAAuB,GAAG,WAAW,CAAA;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAA8B,mBAAmB,CAAC,EAChD,MAAM,EACN,aAAa,EACb,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,IAAI,GACL,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAkC3D"}
|
|
@@ -1,14 +1,40 @@
|
|
|
1
|
-
import { FileMass_type, Error_type, UnitDensity_type, UnitMass_type, FileImportFormat_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { FileMass, UnitDensity, UnitMass, FileImportFormat } from '../../models.js';
|
|
3
|
+
interface CreateFileMassInput {
|
|
4
4
|
client?: Client;
|
|
5
5
|
material_density: number;
|
|
6
|
-
material_density_unit:
|
|
7
|
-
output_unit:
|
|
8
|
-
src_format:
|
|
6
|
+
material_density_unit: UnitDensity;
|
|
7
|
+
output_unit: UnitMass;
|
|
8
|
+
src_format: FileImportFormat;
|
|
9
9
|
body: string;
|
|
10
10
|
}
|
|
11
|
-
declare type
|
|
12
|
-
|
|
11
|
+
declare type CreateFileMassReturn = FileMass;
|
|
12
|
+
/**
|
|
13
|
+
* Get CAD file mass.
|
|
14
|
+
*
|
|
15
|
+
* We assume any file given to us has one consistent unit throughout. We also assume the file is at the proper scale.
|
|
16
|
+
*
|
|
17
|
+
* This endpoint assumes if you are giving a material density in a specific mass unit per cubic measure unit, we return a mass in mass units. The same mass units as passed in the material density.
|
|
18
|
+
*
|
|
19
|
+
* In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported.
|
|
20
|
+
*
|
|
21
|
+
* Get the mass of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously.
|
|
22
|
+
*
|
|
23
|
+
* If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.
|
|
24
|
+
*
|
|
25
|
+
* Tags: file
|
|
26
|
+
*
|
|
27
|
+
* @param params Function parameters.
|
|
28
|
+
* @property {Client} [client] Optional client with auth token.
|
|
29
|
+
* @property {number} material_density The material density. (query)
|
|
30
|
+
* @property {UnitDensity} material_density_unit The unit of the material density. (query)
|
|
31
|
+
* @property {UnitMass} output_unit The output unit for the mass. (query)
|
|
32
|
+
* @property {FileImportFormat} src_format The format of the file. (query)
|
|
33
|
+
* @property {string} body Request body payload
|
|
34
|
+
* @returns {Promise<CreateFileMassReturn>} successful creation
|
|
35
|
+
*
|
|
36
|
+
* Possible return types: FileMass
|
|
37
|
+
*/
|
|
38
|
+
export default function create_file_mass({ client, material_density, material_density_unit, output_unit, src_format, body, }: CreateFileMassInput): Promise<CreateFileMassReturn>;
|
|
13
39
|
export {};
|
|
14
40
|
//# sourceMappingURL=create_file_mass.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_file_mass.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_mass.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create_file_mass.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_mass.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EACL,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,gBAAgB,EACjB,MAAM,iBAAiB,CAAA;AAExB,UAAU,mBAAmB;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gBAAgB,EAAE,MAAM,CAAA;IACxB,qBAAqB,EAAE,WAAW,CAAA;IAClC,WAAW,EAAE,QAAQ,CAAA;IACrB,UAAU,EAAE,gBAAgB,CAAA;IAC5B,IAAI,EAAE,MAAM,CAAA;CACb;AAED,aAAK,oBAAoB,GAAG,QAAQ,CAAA;AAEpC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAA8B,gBAAgB,CAAC,EAC7C,MAAM,EACN,gBAAgB,EAChB,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,IAAI,GACL,EAAE,mBAAmB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAkCrD"}
|
|
@@ -1,12 +1,36 @@
|
|
|
1
|
-
import { FileSurfaceArea_type, Error_type, UnitArea_type, FileImportFormat_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { FileSurfaceArea, UnitArea, FileImportFormat } from '../../models.js';
|
|
3
|
+
interface CreateFileSurfaceAreaInput {
|
|
4
4
|
client?: Client;
|
|
5
|
-
output_unit:
|
|
6
|
-
src_format:
|
|
5
|
+
output_unit: UnitArea;
|
|
6
|
+
src_format: FileImportFormat;
|
|
7
7
|
body: string;
|
|
8
8
|
}
|
|
9
|
-
declare type
|
|
10
|
-
|
|
9
|
+
declare type CreateFileSurfaceAreaReturn = FileSurfaceArea;
|
|
10
|
+
/**
|
|
11
|
+
* Get CAD file surface area.
|
|
12
|
+
*
|
|
13
|
+
* We assume any file given to us has one consistent unit throughout. We also assume the file is at the proper scale.
|
|
14
|
+
*
|
|
15
|
+
* This endpoint returns the square measure units.
|
|
16
|
+
*
|
|
17
|
+
* In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported.
|
|
18
|
+
*
|
|
19
|
+
* Get the surface area of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously.
|
|
20
|
+
*
|
|
21
|
+
* If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.
|
|
22
|
+
*
|
|
23
|
+
* Tags: file
|
|
24
|
+
*
|
|
25
|
+
* @param params Function parameters.
|
|
26
|
+
* @property {Client} [client] Optional client with auth token.
|
|
27
|
+
* @property {UnitArea} output_unit The output unit for the surface area. (query)
|
|
28
|
+
* @property {FileImportFormat} src_format The format of the file. (query)
|
|
29
|
+
* @property {string} body Request body payload
|
|
30
|
+
* @returns {Promise<CreateFileSurfaceAreaReturn>} successful creation
|
|
31
|
+
*
|
|
32
|
+
* Possible return types: FileSurfaceArea
|
|
33
|
+
*/
|
|
34
|
+
export default function create_file_surface_area({ client, output_unit, src_format, body, }: CreateFileSurfaceAreaInput): Promise<CreateFileSurfaceAreaReturn>;
|
|
11
35
|
export {};
|
|
12
36
|
//# sourceMappingURL=create_file_surface_area.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_file_surface_area.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_surface_area.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create_file_surface_area.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_surface_area.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAE7E,UAAU,0BAA0B;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,QAAQ,CAAA;IACrB,UAAU,EAAE,gBAAgB,CAAA;IAC5B,IAAI,EAAE,MAAM,CAAA;CACb;AAED,aAAK,2BAA2B,GAAG,eAAe,CAAA;AAElD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAA8B,wBAAwB,CAAC,EACrD,MAAM,EACN,WAAW,EACX,UAAU,EACV,IAAI,GACL,EAAE,0BAA0B,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAkCnE"}
|
|
@@ -1,12 +1,36 @@
|
|
|
1
|
-
import { FileVolume_type, Error_type, UnitVolume_type, FileImportFormat_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { FileVolume, UnitVolume, FileImportFormat } from '../../models.js';
|
|
3
|
+
interface CreateFileVolumeInput {
|
|
4
4
|
client?: Client;
|
|
5
|
-
output_unit:
|
|
6
|
-
src_format:
|
|
5
|
+
output_unit: UnitVolume;
|
|
6
|
+
src_format: FileImportFormat;
|
|
7
7
|
body: string;
|
|
8
8
|
}
|
|
9
|
-
declare type
|
|
10
|
-
|
|
9
|
+
declare type CreateFileVolumeReturn = FileVolume;
|
|
10
|
+
/**
|
|
11
|
+
* Get CAD file volume.
|
|
12
|
+
*
|
|
13
|
+
* We assume any file given to us has one consistent unit throughout. We also assume the file is at the proper scale.
|
|
14
|
+
*
|
|
15
|
+
* This endpoint returns the cubic measure units.
|
|
16
|
+
*
|
|
17
|
+
* In the future, we will use the units inside the file if they are given and do any conversions if necessary for the calculation. But currently, that is not supported.
|
|
18
|
+
*
|
|
19
|
+
* Get the volume of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously.
|
|
20
|
+
*
|
|
21
|
+
* If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint.
|
|
22
|
+
*
|
|
23
|
+
* Tags: file
|
|
24
|
+
*
|
|
25
|
+
* @param params Function parameters.
|
|
26
|
+
* @property {Client} [client] Optional client with auth token.
|
|
27
|
+
* @property {UnitVolume} output_unit The output unit for the volume. (query)
|
|
28
|
+
* @property {FileImportFormat} src_format The format of the file. (query)
|
|
29
|
+
* @property {string} body Request body payload
|
|
30
|
+
* @returns {Promise<CreateFileVolumeReturn>} successful creation
|
|
31
|
+
*
|
|
32
|
+
* Possible return types: FileVolume
|
|
33
|
+
*/
|
|
34
|
+
export default function create_file_volume({ client, output_unit, src_format, body, }: CreateFileVolumeInput): Promise<CreateFileVolumeReturn>;
|
|
11
35
|
export {};
|
|
12
36
|
//# sourceMappingURL=create_file_volume.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_file_volume.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_volume.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"create_file_volume.d.ts","sourceRoot":"","sources":["../../../../../src/api/file/create_file_volume.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAE1E,UAAU,qBAAqB;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,UAAU,CAAA;IACvB,UAAU,EAAE,gBAAgB,CAAA;IAC5B,IAAI,EAAE,MAAM,CAAA;CACb;AAED,aAAK,sBAAsB,GAAG,UAAU,CAAA;AAExC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAA8B,kBAAkB,CAAC,EAC/C,MAAM,EACN,WAAW,EACX,UAAU,EACV,IAAI,GACL,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAkCzD"}
|
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
import { Error_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
interface
|
|
2
|
+
interface CommunitySsoInput {
|
|
4
3
|
client?: Client;
|
|
5
4
|
sig: string;
|
|
6
5
|
sso: string;
|
|
7
6
|
}
|
|
8
|
-
declare type
|
|
9
|
-
|
|
7
|
+
declare type CommunitySsoReturn = unknown;
|
|
8
|
+
/**
|
|
9
|
+
* Authorize an inbound auth request from our Community page.
|
|
10
|
+
*
|
|
11
|
+
* Tags: meta, hidden
|
|
12
|
+
*
|
|
13
|
+
* @param params Function parameters.
|
|
14
|
+
* @property {Client} [client] Optional client with auth token.
|
|
15
|
+
* @property {string} sig The signature for the given payload (query)
|
|
16
|
+
* @property {string} sso The nonce and redirect URL sent to us by Discourse (query)
|
|
17
|
+
* @returns {Promise<CommunitySsoReturn>} Temporary Redirect
|
|
18
|
+
*/
|
|
19
|
+
export default function community_sso({ client, sig, sso, }: CommunitySsoInput): Promise<CommunitySsoReturn>;
|
|
10
20
|
export {};
|
|
11
21
|
//# sourceMappingURL=community_sso.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"community_sso.d.ts","sourceRoot":"","sources":["../../../../../src/api/meta/community_sso.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"community_sso.d.ts","sourceRoot":"","sources":["../../../../../src/api/meta/community_sso.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAKxC,UAAU,iBAAiB;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,aAAK,kBAAkB,GAAG,OAAO,CAAA;AAEjC;;;;;;;;;;GAUG;AACH,wBAA8B,aAAa,CAAC,EAC1C,MAAM,EACN,GAAG,EACH,GAAG,GACJ,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAgCjD"}
|