@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,10 +1,28 @@
|
|
|
1
|
-
import { ApiCallWithPrice_type, Error_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { ApiCallWithPrice } from '../../models.js';
|
|
3
|
+
interface GetApiCallInput {
|
|
4
4
|
client?: Client;
|
|
5
5
|
id: string;
|
|
6
6
|
}
|
|
7
|
-
declare type
|
|
8
|
-
|
|
7
|
+
declare type GetApiCallReturn = ApiCallWithPrice;
|
|
8
|
+
/**
|
|
9
|
+
* Get details of an API call.
|
|
10
|
+
*
|
|
11
|
+
* This endpoint requires authentication by any Zoo user. It returns details of the requested API call for the user.
|
|
12
|
+
*
|
|
13
|
+
* If the user is not authenticated to view the specified API call, then it is not returned.
|
|
14
|
+
*
|
|
15
|
+
* Only Zoo employees can view API calls for other users.
|
|
16
|
+
*
|
|
17
|
+
* Tags: api-calls, hidden
|
|
18
|
+
*
|
|
19
|
+
* @param params Function parameters.
|
|
20
|
+
* @property {Client} [client] Optional client with auth token.
|
|
21
|
+
* @property {string} id The ID of the API call. (path)
|
|
22
|
+
* @returns {Promise<GetApiCallReturn>} successful operation
|
|
23
|
+
*
|
|
24
|
+
* Possible return types: ApiCallWithPrice
|
|
25
|
+
*/
|
|
26
|
+
export default function get_api_call({ client, id, }: GetApiCallInput): Promise<GetApiCallReturn>;
|
|
9
27
|
export {};
|
|
10
28
|
//# sourceMappingURL=get_api_call.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_api_call.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/get_api_call.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get_api_call.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/get_api_call.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAElD,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,MAAM,CAAA;CACX;AAED,aAAK,gBAAgB,GAAG,gBAAgB,CAAA;AAExC;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAA8B,YAAY,CAAC,EACzC,MAAM,EACN,EAAE,GACH,EAAE,eAAe,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAgC7C"}
|
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import { ApiCallWithPrice_type, Error_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { ApiCallWithPrice } from '../../models.js';
|
|
3
|
+
interface GetApiCallForOrgInput {
|
|
4
4
|
client?: Client;
|
|
5
5
|
id: string;
|
|
6
6
|
}
|
|
7
|
-
declare type
|
|
8
|
-
|
|
7
|
+
declare type GetApiCallForOrgReturn = ApiCallWithPrice;
|
|
8
|
+
/**
|
|
9
|
+
* Get an API call for an org.
|
|
10
|
+
*
|
|
11
|
+
* This endpoint requires authentication by an org admin. It returns details of the requested API call for the user's org.
|
|
12
|
+
*
|
|
13
|
+
* Tags: api-calls
|
|
14
|
+
*
|
|
15
|
+
* @param params Function parameters.
|
|
16
|
+
* @property {Client} [client] Optional client with auth token.
|
|
17
|
+
* @property {string} id The ID of the API call. (path)
|
|
18
|
+
* @returns {Promise<GetApiCallForOrgReturn>} successful operation
|
|
19
|
+
*
|
|
20
|
+
* Possible return types: ApiCallWithPrice
|
|
21
|
+
*/
|
|
22
|
+
export default function get_api_call_for_org({ client, id, }: GetApiCallForOrgInput): Promise<GetApiCallForOrgReturn>;
|
|
9
23
|
export {};
|
|
10
24
|
//# sourceMappingURL=get_api_call_for_org.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_api_call_for_org.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/get_api_call_for_org.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get_api_call_for_org.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/get_api_call_for_org.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAElD,UAAU,qBAAqB;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,MAAM,CAAA;CACX;AAED,aAAK,sBAAsB,GAAG,gBAAgB,CAAA;AAE9C;;;;;;;;;;;;;GAaG;AACH,wBAA8B,oBAAoB,CAAC,EACjD,MAAM,EACN,EAAE,GACH,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAgCzD"}
|
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import { ApiCallWithPrice_type, Error_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { ApiCallWithPrice } from '../../models.js';
|
|
3
|
+
interface GetApiCallForUserInput {
|
|
4
4
|
client?: Client;
|
|
5
5
|
id: string;
|
|
6
6
|
}
|
|
7
|
-
declare type
|
|
8
|
-
|
|
7
|
+
declare type GetApiCallForUserReturn = ApiCallWithPrice;
|
|
8
|
+
/**
|
|
9
|
+
* Get an API call for a user.
|
|
10
|
+
*
|
|
11
|
+
* This endpoint requires authentication by any Zoo user. It returns details of the requested API call for the user.
|
|
12
|
+
*
|
|
13
|
+
* Tags: api-calls
|
|
14
|
+
*
|
|
15
|
+
* @param params Function parameters.
|
|
16
|
+
* @property {Client} [client] Optional client with auth token.
|
|
17
|
+
* @property {string} id The ID of the API call. (path)
|
|
18
|
+
* @returns {Promise<GetApiCallForUserReturn>} successful operation
|
|
19
|
+
*
|
|
20
|
+
* Possible return types: ApiCallWithPrice
|
|
21
|
+
*/
|
|
22
|
+
export default function get_api_call_for_user({ client, id, }: GetApiCallForUserInput): Promise<GetApiCallForUserReturn>;
|
|
9
23
|
export {};
|
|
10
24
|
//# sourceMappingURL=get_api_call_for_user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_api_call_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/get_api_call_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get_api_call_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/get_api_call_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAElD,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,MAAM,CAAA;CACX;AAED,aAAK,uBAAuB,GAAG,gBAAgB,CAAA;AAE/C;;;;;;;;;;;;;GAaG;AACH,wBAA8B,qBAAqB,CAAC,EAClD,MAAM,EACN,EAAE,GACH,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAgC3D"}
|
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import { ApiCallQueryGroup_type, Error_type, ApiCallQueryGroupBy_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { ApiCallQueryGroup, ApiCallQueryGroupBy } from '../../models.js';
|
|
3
|
+
interface GetApiCallMetricsInput {
|
|
4
4
|
client?: Client;
|
|
5
|
-
group_by:
|
|
5
|
+
group_by: ApiCallQueryGroupBy;
|
|
6
6
|
}
|
|
7
|
-
declare type
|
|
8
|
-
|
|
7
|
+
declare type GetApiCallMetricsReturn = ApiCallQueryGroup[];
|
|
8
|
+
/**
|
|
9
|
+
* Get API call metrics.
|
|
10
|
+
*
|
|
11
|
+
* This endpoint requires authentication by a Zoo employee. The API calls are grouped by the parameter passed.
|
|
12
|
+
*
|
|
13
|
+
* Tags: api-calls, hidden
|
|
14
|
+
*
|
|
15
|
+
* @param params Function parameters.
|
|
16
|
+
* @property {Client} [client] Optional client with auth token.
|
|
17
|
+
* @property {ApiCallQueryGroupBy} group_by What field to group the metrics by. (query)
|
|
18
|
+
* @returns {Promise<GetApiCallMetricsReturn>} successful operation
|
|
19
|
+
*
|
|
20
|
+
* Possible return types: ApiCallQueryGroup[]
|
|
21
|
+
*/
|
|
22
|
+
export default function get_api_call_metrics({ client, group_by, }: GetApiCallMetricsInput): Promise<GetApiCallMetricsReturn>;
|
|
9
23
|
export {};
|
|
10
24
|
//# sourceMappingURL=get_api_call_metrics.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_api_call_metrics.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/get_api_call_metrics.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"get_api_call_metrics.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/get_api_call_metrics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAExE,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,mBAAmB,CAAA;CAC9B;AAED,aAAK,uBAAuB,GAAG,iBAAiB,EAAE,CAAA;AAElD;;;;;;;;;;;;;GAaG;AACH,wBAA8B,oBAAoB,CAAC,EACjD,MAAM,EACN,QAAQ,GACT,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAgC3D"}
|
|
@@ -1,10 +1,30 @@
|
|
|
1
|
-
import { AsyncApiCallOutput_type, Error_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { AsyncApiCallOutput } from '../../models.js';
|
|
3
|
+
interface GetAsyncOperationInput {
|
|
4
4
|
client?: Client;
|
|
5
5
|
id: string;
|
|
6
6
|
}
|
|
7
|
-
declare type
|
|
8
|
-
|
|
7
|
+
declare type GetAsyncOperationReturn = AsyncApiCallOutput;
|
|
8
|
+
/**
|
|
9
|
+
* Get an async operation.
|
|
10
|
+
*
|
|
11
|
+
* Get the status and output of an async operation.
|
|
12
|
+
*
|
|
13
|
+
* This endpoint requires authentication by any Zoo user. It returns details of the requested async operation for the user.
|
|
14
|
+
*
|
|
15
|
+
* If the user is not authenticated to view the specified async operation, then it is not returned.
|
|
16
|
+
*
|
|
17
|
+
* Only Zoo employees with the proper access can view async operations for other users.
|
|
18
|
+
*
|
|
19
|
+
* Tags: api-calls
|
|
20
|
+
*
|
|
21
|
+
* @param params Function parameters.
|
|
22
|
+
* @property {Client} [client] Optional client with auth token.
|
|
23
|
+
* @property {string} id The ID of the async operation. (path)
|
|
24
|
+
* @returns {Promise<GetAsyncOperationReturn>} successful operation
|
|
25
|
+
*
|
|
26
|
+
* Possible return types: AsyncApiCallOutput
|
|
27
|
+
*/
|
|
28
|
+
export default function get_async_operation({ client, id, }: GetAsyncOperationInput): Promise<GetAsyncOperationReturn>;
|
|
9
29
|
export {};
|
|
10
30
|
//# sourceMappingURL=get_async_operation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_async_operation.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/get_async_operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get_async_operation.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/get_async_operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEpD,UAAU,sBAAsB;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,MAAM,CAAA;CACX;AAED,aAAK,uBAAuB,GAAG,kBAAkB,CAAA;AAEjD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAA8B,mBAAmB,CAAC,EAChD,MAAM,EACN,EAAE,GACH,EAAE,sBAAsB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAgC3D"}
|
|
@@ -1,12 +1,30 @@
|
|
|
1
|
-
import { ApiCallWithPriceResultsPage_type, Error_type, CreatedAtSortMode_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { Pager } from '../../pagination.js';
|
|
3
|
+
import { ApiCallWithPriceResultsPage, CreatedAtSortMode, ApiCallWithPrice } from '../../models.js';
|
|
4
|
+
interface ListApiCallsInput {
|
|
4
5
|
client?: Client;
|
|
5
6
|
limit: number;
|
|
6
7
|
page_token: string;
|
|
7
|
-
sort_by:
|
|
8
|
+
sort_by: CreatedAtSortMode;
|
|
8
9
|
}
|
|
9
|
-
declare type
|
|
10
|
-
|
|
10
|
+
declare type ListApiCallsReturn = ApiCallWithPriceResultsPage;
|
|
11
|
+
/**
|
|
12
|
+
* List API calls.
|
|
13
|
+
*
|
|
14
|
+
* This endpoint requires authentication by a Zoo employee. The API calls are returned in order of creation, with the most recently created API calls first.
|
|
15
|
+
*
|
|
16
|
+
* Tags: api-calls, hidden
|
|
17
|
+
*
|
|
18
|
+
* @param params Function parameters.
|
|
19
|
+
* @property {Client} [client] Optional client with auth token.
|
|
20
|
+
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
21
|
+
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
22
|
+
* @property {CreatedAtSortMode} sort_by (query)
|
|
23
|
+
* @returns {Promise<ListApiCallsReturn>} successful operation
|
|
24
|
+
*
|
|
25
|
+
* Possible return types: ApiCallWithPriceResultsPage
|
|
26
|
+
*/
|
|
27
|
+
export default function list_api_calls({ client, limit, page_token, sort_by, }: ListApiCallsInput): Promise<ListApiCallsReturn>;
|
|
28
|
+
export declare function list_api_calls_pager(params: ListApiCallsInput): Pager<ListApiCallsInput, ListApiCallsReturn, ApiCallWithPrice>;
|
|
11
29
|
export {};
|
|
12
30
|
//# sourceMappingURL=list_api_calls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list_api_calls.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/list_api_calls.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"list_api_calls.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/list_api_calls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,iBAAiB,CAAA;AAExB,UAAU,iBAAiB;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,iBAAiB,CAAA;CAC3B;AAED,aAAK,kBAAkB,GAAG,2BAA2B,CAAA;AAErD;;;;;;;;;;;;;;;GAeG;AACH,wBAA8B,cAAc,CAAC,EAC3C,MAAM,EACN,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE,iBAAiB,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAgCjD;AAED,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,iBAAiB,GACxB,KAAK,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,gBAAgB,CAAC,CAMhE"}
|
|
@@ -1,13 +1,38 @@
|
|
|
1
|
-
import { ApiCallWithPriceResultsPage_type, Error_type, UserIdentifier_type, CreatedAtSortMode_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { Pager } from '../../pagination.js';
|
|
3
|
+
import { ApiCallWithPriceResultsPage, UserIdentifier, CreatedAtSortMode, ApiCallWithPrice } from '../../models.js';
|
|
4
|
+
interface ListApiCallsForUserInput {
|
|
4
5
|
client?: Client;
|
|
5
|
-
id:
|
|
6
|
+
id: UserIdentifier;
|
|
6
7
|
limit: number;
|
|
7
8
|
page_token: string;
|
|
8
|
-
sort_by:
|
|
9
|
+
sort_by: CreatedAtSortMode;
|
|
9
10
|
}
|
|
10
|
-
declare type
|
|
11
|
-
|
|
11
|
+
declare type ListApiCallsForUserReturn = ApiCallWithPriceResultsPage;
|
|
12
|
+
/**
|
|
13
|
+
* List API calls for a user.
|
|
14
|
+
*
|
|
15
|
+
* This endpoint requires authentication by any Zoo user. It returns the API calls for the authenticated user if "me" is passed as the user id.
|
|
16
|
+
*
|
|
17
|
+
* Alternatively, you can use the `/user/api-calls` endpoint to get the API calls for your user.
|
|
18
|
+
*
|
|
19
|
+
* If the authenticated user is a Zoo employee, then the API calls are returned for the user specified by the user id.
|
|
20
|
+
*
|
|
21
|
+
* The API calls are returned in order of creation, with the most recently created API calls first.
|
|
22
|
+
*
|
|
23
|
+
* Tags: api-calls, hidden
|
|
24
|
+
*
|
|
25
|
+
* @param params Function parameters.
|
|
26
|
+
* @property {Client} [client] Optional client with auth token.
|
|
27
|
+
* @property {UserIdentifier} id The user's identifier (uuid or email). (path)
|
|
28
|
+
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
29
|
+
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
30
|
+
* @property {CreatedAtSortMode} sort_by (query)
|
|
31
|
+
* @returns {Promise<ListApiCallsForUserReturn>} successful operation
|
|
32
|
+
*
|
|
33
|
+
* Possible return types: ApiCallWithPriceResultsPage
|
|
34
|
+
*/
|
|
35
|
+
export default function list_api_calls_for_user({ client, id, limit, page_token, sort_by, }: ListApiCallsForUserInput): Promise<ListApiCallsForUserReturn>;
|
|
36
|
+
export declare function list_api_calls_for_user_pager(params: ListApiCallsForUserInput): Pager<ListApiCallsForUserInput, ListApiCallsForUserReturn, ApiCallWithPrice>;
|
|
12
37
|
export {};
|
|
13
38
|
//# sourceMappingURL=list_api_calls_for_user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list_api_calls_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/list_api_calls_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"list_api_calls_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/list_api_calls_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACL,2BAA2B,EAC3B,cAAc,EACd,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,iBAAiB,CAAA;AAExB,UAAU,wBAAwB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,cAAc,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,iBAAiB,CAAA;CAC3B;AAED,aAAK,yBAAyB,GAAG,2BAA2B,CAAA;AAE5D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAA8B,uBAAuB,CAAC,EACpD,MAAM,EACN,EAAE,EACF,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE,wBAAwB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAgC/D;AAED,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,wBAAwB,GAC/B,KAAK,CACN,wBAAwB,EACxB,yBAAyB,EACzB,gBAAgB,CACjB,CAMA"}
|
|
@@ -1,13 +1,34 @@
|
|
|
1
|
-
import { AsyncApiCallResultsPage_type, Error_type, CreatedAtSortMode_type, ApiCallStatus_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { Pager } from '../../pagination.js';
|
|
3
|
+
import { AsyncApiCallResultsPage, CreatedAtSortMode, ApiCallStatus, AsyncApiCall } from '../../models.js';
|
|
4
|
+
interface ListAsyncOperationsInput {
|
|
4
5
|
client?: Client;
|
|
5
6
|
limit: number;
|
|
6
7
|
page_token: string;
|
|
7
|
-
sort_by:
|
|
8
|
-
status:
|
|
8
|
+
sort_by: CreatedAtSortMode;
|
|
9
|
+
status: ApiCallStatus;
|
|
9
10
|
}
|
|
10
|
-
declare type
|
|
11
|
-
|
|
11
|
+
declare type ListAsyncOperationsReturn = AsyncApiCallResultsPage;
|
|
12
|
+
/**
|
|
13
|
+
* List async operations.
|
|
14
|
+
*
|
|
15
|
+
* For async file conversion operations, this endpoint does not return the contents of converted files (`output`). To get the contents use the `/async/operations/{id}` endpoint.
|
|
16
|
+
*
|
|
17
|
+
* This endpoint requires authentication by a Zoo employee.
|
|
18
|
+
*
|
|
19
|
+
* Tags: api-calls, hidden
|
|
20
|
+
*
|
|
21
|
+
* @param params Function parameters.
|
|
22
|
+
* @property {Client} [client] Optional client with auth token.
|
|
23
|
+
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
24
|
+
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
25
|
+
* @property {CreatedAtSortMode} sort_by (query)
|
|
26
|
+
* @property {ApiCallStatus} status The status to filter by. (query)
|
|
27
|
+
* @returns {Promise<ListAsyncOperationsReturn>} successful operation
|
|
28
|
+
*
|
|
29
|
+
* Possible return types: AsyncApiCallResultsPage
|
|
30
|
+
*/
|
|
31
|
+
export default function list_async_operations({ client, limit, page_token, sort_by, status, }: ListAsyncOperationsInput): Promise<ListAsyncOperationsReturn>;
|
|
32
|
+
export declare function list_async_operations_pager(params: ListAsyncOperationsInput): Pager<ListAsyncOperationsInput, ListAsyncOperationsReturn, AsyncApiCall>;
|
|
12
33
|
export {};
|
|
13
34
|
//# sourceMappingURL=list_async_operations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list_async_operations.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/list_async_operations.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"list_async_operations.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/list_async_operations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,aAAa,EACb,YAAY,EACb,MAAM,iBAAiB,CAAA;AAExB,UAAU,wBAAwB;IAChC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,iBAAiB,CAAA;IAC1B,MAAM,EAAE,aAAa,CAAA;CACtB;AAED,aAAK,yBAAyB,GAAG,uBAAuB,CAAA;AAExD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAA8B,qBAAqB,CAAC,EAClD,MAAM,EACN,KAAK,EACL,UAAU,EACV,OAAO,EACP,MAAM,GACP,EAAE,wBAAwB,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAgC/D;AAED,wBAAgB,2BAA2B,CACzC,MAAM,EAAE,wBAAwB,GAC/B,KAAK,CAAC,wBAAwB,EAAE,yBAAyB,EAAE,YAAY,CAAC,CAM1E"}
|
|
@@ -1,12 +1,34 @@
|
|
|
1
|
-
import { ApiCallWithPriceResultsPage_type, Error_type, CreatedAtSortMode_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { Pager } from '../../pagination.js';
|
|
3
|
+
import { ApiCallWithPriceResultsPage, CreatedAtSortMode, ApiCallWithPrice } from '../../models.js';
|
|
4
|
+
interface OrgListApiCallsInput {
|
|
4
5
|
client?: Client;
|
|
5
6
|
limit: number;
|
|
6
7
|
page_token: string;
|
|
7
|
-
sort_by:
|
|
8
|
+
sort_by: CreatedAtSortMode;
|
|
8
9
|
}
|
|
9
|
-
declare type
|
|
10
|
-
|
|
10
|
+
declare type OrgListApiCallsReturn = ApiCallWithPriceResultsPage;
|
|
11
|
+
/**
|
|
12
|
+
* List API calls for your org.
|
|
13
|
+
*
|
|
14
|
+
* This includes all API calls that were made by users in the org.
|
|
15
|
+
*
|
|
16
|
+
* This endpoint requires authentication by an org admin. It returns the API calls for the authenticated user's org.
|
|
17
|
+
*
|
|
18
|
+
* The API calls are returned in order of creation, with the most recently created API calls first.
|
|
19
|
+
*
|
|
20
|
+
* Tags: api-calls
|
|
21
|
+
*
|
|
22
|
+
* @param params Function parameters.
|
|
23
|
+
* @property {Client} [client] Optional client with auth token.
|
|
24
|
+
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
25
|
+
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
26
|
+
* @property {CreatedAtSortMode} sort_by (query)
|
|
27
|
+
* @returns {Promise<OrgListApiCallsReturn>} successful operation
|
|
28
|
+
*
|
|
29
|
+
* Possible return types: ApiCallWithPriceResultsPage
|
|
30
|
+
*/
|
|
31
|
+
export default function org_list_api_calls({ client, limit, page_token, sort_by, }: OrgListApiCallsInput): Promise<OrgListApiCallsReturn>;
|
|
32
|
+
export declare function org_list_api_calls_pager(params: OrgListApiCallsInput): Pager<OrgListApiCallsInput, OrgListApiCallsReturn, ApiCallWithPrice>;
|
|
11
33
|
export {};
|
|
12
34
|
//# sourceMappingURL=org_list_api_calls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"org_list_api_calls.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/org_list_api_calls.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"org_list_api_calls.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/org_list_api_calls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,iBAAiB,CAAA;AAExB,UAAU,oBAAoB;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,iBAAiB,CAAA;CAC3B;AAED,aAAK,qBAAqB,GAAG,2BAA2B,CAAA;AAExD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAA8B,kBAAkB,CAAC,EAC/C,MAAM,EACN,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE,oBAAoB,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAgCvD;AAED,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,oBAAoB,GAC3B,KAAK,CAAC,oBAAoB,EAAE,qBAAqB,EAAE,gBAAgB,CAAC,CAMtE"}
|
|
@@ -1,12 +1,32 @@
|
|
|
1
|
-
import { ApiCallWithPriceResultsPage_type, Error_type, CreatedAtSortMode_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { Pager } from '../../pagination.js';
|
|
3
|
+
import { ApiCallWithPriceResultsPage, CreatedAtSortMode, ApiCallWithPrice } from '../../models.js';
|
|
4
|
+
interface UserListApiCallsInput {
|
|
4
5
|
client?: Client;
|
|
5
6
|
limit: number;
|
|
6
7
|
page_token: string;
|
|
7
|
-
sort_by:
|
|
8
|
+
sort_by: CreatedAtSortMode;
|
|
8
9
|
}
|
|
9
|
-
declare type
|
|
10
|
-
|
|
10
|
+
declare type UserListApiCallsReturn = ApiCallWithPriceResultsPage;
|
|
11
|
+
/**
|
|
12
|
+
* List API calls for your user.
|
|
13
|
+
*
|
|
14
|
+
* This endpoint requires authentication by any Zoo user. It returns the API calls for the authenticated user.
|
|
15
|
+
*
|
|
16
|
+
* The API calls are returned in order of creation, with the most recently created API calls first.
|
|
17
|
+
*
|
|
18
|
+
* Tags: api-calls
|
|
19
|
+
*
|
|
20
|
+
* @param params Function parameters.
|
|
21
|
+
* @property {Client} [client] Optional client with auth token.
|
|
22
|
+
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
23
|
+
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
24
|
+
* @property {CreatedAtSortMode} sort_by (query)
|
|
25
|
+
* @returns {Promise<UserListApiCallsReturn>} successful operation
|
|
26
|
+
*
|
|
27
|
+
* Possible return types: ApiCallWithPriceResultsPage
|
|
28
|
+
*/
|
|
29
|
+
export default function user_list_api_calls({ client, limit, page_token, sort_by, }: UserListApiCallsInput): Promise<UserListApiCallsReturn>;
|
|
30
|
+
export declare function user_list_api_calls_pager(params: UserListApiCallsInput): Pager<UserListApiCallsInput, UserListApiCallsReturn, ApiCallWithPrice>;
|
|
11
31
|
export {};
|
|
12
32
|
//# sourceMappingURL=user_list_api_calls.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user_list_api_calls.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/user_list_api_calls.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"user_list_api_calls.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-calls/user_list_api_calls.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,iBAAiB,CAAA;AAExB,UAAU,qBAAqB;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,iBAAiB,CAAA;CAC3B;AAED,aAAK,sBAAsB,GAAG,2BAA2B,CAAA;AAEzD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAA8B,mBAAmB,CAAC,EAChD,MAAM,EACN,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE,qBAAqB,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAgCzD;AAED,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,qBAAqB,GAC5B,KAAK,CAAC,qBAAqB,EAAE,sBAAsB,EAAE,gBAAgB,CAAC,CAMxE"}
|
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import { ApiToken_type, Error_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { ApiToken } from '../../models.js';
|
|
3
|
+
interface CreateApiTokenForUserInput {
|
|
4
4
|
client?: Client;
|
|
5
5
|
label: string;
|
|
6
6
|
}
|
|
7
|
-
declare type
|
|
8
|
-
|
|
7
|
+
declare type CreateApiTokenForUserReturn = ApiToken;
|
|
8
|
+
/**
|
|
9
|
+
* Create a new API token for your user.
|
|
10
|
+
*
|
|
11
|
+
* This endpoint requires authentication by any Zoo user. It creates a new API token for the authenticated user.
|
|
12
|
+
*
|
|
13
|
+
* Tags: api-tokens
|
|
14
|
+
*
|
|
15
|
+
* @param params Function parameters.
|
|
16
|
+
* @property {Client} [client] Optional client with auth token.
|
|
17
|
+
* @property {string} label An optional label for the API token. (query)
|
|
18
|
+
* @returns {Promise<CreateApiTokenForUserReturn>} successful creation
|
|
19
|
+
*
|
|
20
|
+
* Possible return types: ApiToken
|
|
21
|
+
*/
|
|
22
|
+
export default function create_api_token_for_user({ client, label, }: CreateApiTokenForUserInput): Promise<CreateApiTokenForUserReturn>;
|
|
9
23
|
export {};
|
|
10
24
|
//# sourceMappingURL=create_api_token_for_user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create_api_token_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-tokens/create_api_token_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"create_api_token_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-tokens/create_api_token_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,UAAU,0BAA0B;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;CACd;AAED,aAAK,2BAA2B,GAAG,QAAQ,CAAA;AAE3C;;;;;;;;;;;;;GAaG;AACH,wBAA8B,yBAAyB,CAAC,EACtD,MAAM,EACN,KAAK,GACN,EAAE,0BAA0B,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAgCnE"}
|
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import { Error_type, ApiTokenUuid_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { ApiTokenUuid } from '../../models.js';
|
|
3
|
+
interface DeleteApiTokenForUserInput {
|
|
4
4
|
client?: Client;
|
|
5
|
-
token:
|
|
5
|
+
token: ApiTokenUuid;
|
|
6
6
|
}
|
|
7
|
-
declare type
|
|
8
|
-
|
|
7
|
+
declare type DeleteApiTokenForUserReturn = void;
|
|
8
|
+
/**
|
|
9
|
+
* Delete an API token for your user.
|
|
10
|
+
*
|
|
11
|
+
* This endpoint requires authentication by any Zoo user. It deletes the requested API token for the user.
|
|
12
|
+
*
|
|
13
|
+
* This endpoint does not actually delete the API token from the database. It merely marks the token as invalid. We still want to keep the token in the database for historical purposes.
|
|
14
|
+
*
|
|
15
|
+
* Tags: api-tokens
|
|
16
|
+
*
|
|
17
|
+
* @param params Function parameters.
|
|
18
|
+
* @property {Client} [client] Optional client with auth token.
|
|
19
|
+
* @property {ApiTokenUuid} token The API token. (path)
|
|
20
|
+
* @returns {Promise<DeleteApiTokenForUserReturn>} successful deletion
|
|
21
|
+
*/
|
|
22
|
+
export default function delete_api_token_for_user({ client, token, }: DeleteApiTokenForUserInput): Promise<DeleteApiTokenForUserReturn>;
|
|
9
23
|
export {};
|
|
10
24
|
//# sourceMappingURL=delete_api_token_for_user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete_api_token_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-tokens/delete_api_token_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"delete_api_token_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-tokens/delete_api_token_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,UAAU,0BAA0B;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,YAAY,CAAA;CACpB;AAED,aAAK,2BAA2B,GAAG,IAAI,CAAA;AAEvC;;;;;;;;;;;;;GAaG;AACH,wBAA8B,yBAAyB,CAAC,EACtD,MAAM,EACN,KAAK,GACN,EAAE,0BAA0B,GAAG,OAAO,CAAC,2BAA2B,CAAC,CA+BnE"}
|
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import { ApiToken_type, Error_type, ApiTokenUuid_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { ApiToken, ApiTokenUuid } from '../../models.js';
|
|
3
|
+
interface GetApiTokenForUserInput {
|
|
4
4
|
client?: Client;
|
|
5
|
-
token:
|
|
5
|
+
token: ApiTokenUuid;
|
|
6
6
|
}
|
|
7
|
-
declare type
|
|
8
|
-
|
|
7
|
+
declare type GetApiTokenForUserReturn = ApiToken;
|
|
8
|
+
/**
|
|
9
|
+
* Get an API token for your user.
|
|
10
|
+
*
|
|
11
|
+
* This endpoint requires authentication by any Zoo user. It returns details of the requested API token for the user.
|
|
12
|
+
*
|
|
13
|
+
* Tags: api-tokens
|
|
14
|
+
*
|
|
15
|
+
* @param params Function parameters.
|
|
16
|
+
* @property {Client} [client] Optional client with auth token.
|
|
17
|
+
* @property {ApiTokenUuid} token The API token. (path)
|
|
18
|
+
* @returns {Promise<GetApiTokenForUserReturn>} successful operation
|
|
19
|
+
*
|
|
20
|
+
* Possible return types: ApiToken
|
|
21
|
+
*/
|
|
22
|
+
export default function get_api_token_for_user({ client, token, }: GetApiTokenForUserInput): Promise<GetApiTokenForUserReturn>;
|
|
9
23
|
export {};
|
|
10
24
|
//# sourceMappingURL=get_api_token_for_user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get_api_token_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-tokens/get_api_token_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"get_api_token_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-tokens/get_api_token_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAGxC,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAExD,UAAU,uBAAuB;IAC/B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,YAAY,CAAA;CACpB;AAED,aAAK,wBAAwB,GAAG,QAAQ,CAAA;AAExC;;;;;;;;;;;;;GAaG;AACH,wBAA8B,sBAAsB,CAAC,EACnD,MAAM,EACN,KAAK,GACN,EAAE,uBAAuB,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAgC7D"}
|
|
@@ -1,12 +1,32 @@
|
|
|
1
|
-
import { ApiTokenResultsPage_type, Error_type, CreatedAtSortMode_type } from '../../models.js';
|
|
2
1
|
import { Client } from '../../client.js';
|
|
3
|
-
|
|
2
|
+
import { Pager } from '../../pagination.js';
|
|
3
|
+
import { ApiTokenResultsPage, CreatedAtSortMode, ApiToken } from '../../models.js';
|
|
4
|
+
interface ListApiTokensForUserInput {
|
|
4
5
|
client?: Client;
|
|
5
6
|
limit: number;
|
|
6
7
|
page_token: string;
|
|
7
|
-
sort_by:
|
|
8
|
+
sort_by: CreatedAtSortMode;
|
|
8
9
|
}
|
|
9
|
-
declare type
|
|
10
|
-
|
|
10
|
+
declare type ListApiTokensForUserReturn = ApiTokenResultsPage;
|
|
11
|
+
/**
|
|
12
|
+
* List API tokens for your user.
|
|
13
|
+
*
|
|
14
|
+
* This endpoint requires authentication by any Zoo user. It returns the API tokens for the authenticated user.
|
|
15
|
+
*
|
|
16
|
+
* The API tokens are returned in order of creation, with the most recently created API tokens first.
|
|
17
|
+
*
|
|
18
|
+
* Tags: api-tokens
|
|
19
|
+
*
|
|
20
|
+
* @param params Function parameters.
|
|
21
|
+
* @property {Client} [client] Optional client with auth token.
|
|
22
|
+
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
23
|
+
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
24
|
+
* @property {CreatedAtSortMode} sort_by (query)
|
|
25
|
+
* @returns {Promise<ListApiTokensForUserReturn>} successful operation
|
|
26
|
+
*
|
|
27
|
+
* Possible return types: ApiTokenResultsPage
|
|
28
|
+
*/
|
|
29
|
+
export default function list_api_tokens_for_user({ client, limit, page_token, sort_by, }: ListApiTokensForUserInput): Promise<ListApiTokensForUserReturn>;
|
|
30
|
+
export declare function list_api_tokens_for_user_pager(params: ListApiTokensForUserInput): Pager<ListApiTokensForUserInput, ListApiTokensForUserReturn, ApiToken>;
|
|
11
31
|
export {};
|
|
12
32
|
//# sourceMappingURL=list_api_tokens_for_user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list_api_tokens_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-tokens/list_api_tokens_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"list_api_tokens_for_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/api-tokens/list_api_tokens_for_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AAExC,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACL,mBAAmB,EACnB,iBAAiB,EACjB,QAAQ,EACT,MAAM,iBAAiB,CAAA;AAExB,UAAU,yBAAyB;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,iBAAiB,CAAA;CAC3B;AAED,aAAK,0BAA0B,GAAG,mBAAmB,CAAA;AAErD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAA8B,wBAAwB,CAAC,EACrD,MAAM,EACN,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE,yBAAyB,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAgCjE;AAED,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,yBAAyB,GAChC,KAAK,CAAC,yBAAyB,EAAE,0BAA0B,EAAE,QAAQ,CAAC,CAMxE"}
|