spatialflow 0.1.0__py3-none-any.whl
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.
- spatialflow/__init__.py +91 -0
- spatialflow/_generated/.github/workflows/python.yml +31 -0
- spatialflow/_generated/.gitignore +66 -0
- spatialflow/_generated/.gitlab-ci.yml +31 -0
- spatialflow/_generated/.openapi-generator/FILES +390 -0
- spatialflow/_generated/.openapi-generator/VERSION +1 -0
- spatialflow/_generated/.openapi-generator-ignore +23 -0
- spatialflow/_generated/.spec-hash +1 -0
- spatialflow/_generated/.travis.yml +17 -0
- spatialflow/_generated/README.md +537 -0
- spatialflow/_generated/__init__.py +1 -0
- spatialflow/_generated/docs/APIUsageStats.md +32 -0
- spatialflow/_generated/docs/AccountApi.md +1751 -0
- spatialflow/_generated/docs/ActionDeliverySuccessMetrics.md +32 -0
- spatialflow/_generated/docs/ActionResponse.md +32 -0
- spatialflow/_generated/docs/ActionRetryConfigSchema.md +32 -0
- spatialflow/_generated/docs/ActivitySummary.md +30 -0
- spatialflow/_generated/docs/AdminApi.md +1787 -0
- spatialflow/_generated/docs/ApiKeyCreateRequest.md +31 -0
- spatialflow/_generated/docs/ApiKeyCreateResponse.md +31 -0
- spatialflow/_generated/docs/ApiKeyResponse.md +38 -0
- spatialflow/_generated/docs/ApiKeyUpdateRequest.md +33 -0
- spatialflow/_generated/docs/AsyncUploadGeofencesResponse.md +33 -0
- spatialflow/_generated/docs/AuthTypeEnum.md +17 -0
- spatialflow/_generated/docs/AuthenticationApi.md +1289 -0
- spatialflow/_generated/docs/BatchLocationUpdateIn.md +30 -0
- spatialflow/_generated/docs/BillingApi.md +925 -0
- spatialflow/_generated/docs/BulkGeofenceRequest.md +29 -0
- spatialflow/_generated/docs/ChangePasswordSchema.md +30 -0
- spatialflow/_generated/docs/CheckoutSessionRequest.md +32 -0
- spatialflow/_generated/docs/CheckoutSessionResponse.md +31 -0
- spatialflow/_generated/docs/CircuitBreakerSchema.md +33 -0
- spatialflow/_generated/docs/ConfigFieldDefinitionRequest.md +41 -0
- spatialflow/_generated/docs/ConfigFieldDefinitionResponse.md +43 -0
- spatialflow/_generated/docs/ConfirmPasswordResetSchema.md +31 -0
- spatialflow/_generated/docs/CreateFromTemplateIn.md +30 -0
- spatialflow/_generated/docs/CreateGeofenceRequest.md +36 -0
- spatialflow/_generated/docs/CreateIntegrationSchema.md +33 -0
- spatialflow/_generated/docs/CreateUserSchema.md +35 -0
- spatialflow/_generated/docs/CreateWebhookRequest.md +43 -0
- spatialflow/_generated/docs/DashboardComparisonMetrics.md +32 -0
- spatialflow/_generated/docs/DashboardMetricsResponse.md +36 -0
- spatialflow/_generated/docs/DefaultApi.md +585 -0
- spatialflow/_generated/docs/DeleteFileResponse.md +30 -0
- spatialflow/_generated/docs/DeliveryStatusEnum.md +15 -0
- spatialflow/_generated/docs/DeviceIn.md +32 -0
- spatialflow/_generated/docs/DeviceOut.md +37 -0
- spatialflow/_generated/docs/DevicesApi.md +1213 -0
- spatialflow/_generated/docs/E2ETestApi.md +271 -0
- spatialflow/_generated/docs/EmailApi.md +541 -0
- spatialflow/_generated/docs/EmailHealthResponse.md +31 -0
- spatialflow/_generated/docs/EmailQueueStats.md +34 -0
- spatialflow/_generated/docs/EmailStats.md +31 -0
- spatialflow/_generated/docs/EmailStatusResponse.md +36 -0
- spatialflow/_generated/docs/ErrorResponse.md +32 -0
- spatialflow/_generated/docs/ExecutionOut.md +38 -0
- spatialflow/_generated/docs/ExportIntegrationSchema.md +35 -0
- spatialflow/_generated/docs/FileListResponse.md +31 -0
- spatialflow/_generated/docs/ForgotPasswordSchema.md +29 -0
- spatialflow/_generated/docs/GPXPlaybackOut.md +42 -0
- spatialflow/_generated/docs/GPXRouteOut.md +40 -0
- spatialflow/_generated/docs/GPXSimulatorApi.md +883 -0
- spatialflow/_generated/docs/GeoJSONPoint.md +31 -0
- spatialflow/_generated/docs/GeofenceListResponse.md +31 -0
- spatialflow/_generated/docs/GeofenceResponse.md +43 -0
- spatialflow/_generated/docs/GeofenceStats.md +30 -0
- spatialflow/_generated/docs/GeofenceTestResult.md +33 -0
- spatialflow/_generated/docs/GeofencesApi.md +1524 -0
- spatialflow/_generated/docs/HealthCheckResponse.md +31 -0
- spatialflow/_generated/docs/HealthResponse.md +32 -0
- spatialflow/_generated/docs/ImportIntegrationSchema.md +32 -0
- spatialflow/_generated/docs/ImportResultSchema.md +33 -0
- spatialflow/_generated/docs/IntegrationDetailSchema.md +44 -0
- spatialflow/_generated/docs/IntegrationResponseSchema.md +42 -0
- spatialflow/_generated/docs/IntegrationStatsSchema.md +36 -0
- spatialflow/_generated/docs/IntegrationTypeListResponse.md +34 -0
- spatialflow/_generated/docs/IntegrationTypeRequest.md +40 -0
- spatialflow/_generated/docs/IntegrationTypeResponse.md +45 -0
- spatialflow/_generated/docs/IntegrationsApi.md +2008 -0
- spatialflow/_generated/docs/InvoiceLineItem.md +33 -0
- spatialflow/_generated/docs/InvoiceListResponse.md +31 -0
- spatialflow/_generated/docs/InvoiceResponse.md +40 -0
- spatialflow/_generated/docs/LocationBatchIn.md +31 -0
- spatialflow/_generated/docs/LocationImportResponse.md +41 -0
- spatialflow/_generated/docs/LocationIngestResponse.md +35 -0
- spatialflow/_generated/docs/LocationPointIn.md +38 -0
- spatialflow/_generated/docs/LocationUpdateIn.md +36 -0
- spatialflow/_generated/docs/LocationUpdateOut.md +32 -0
- spatialflow/_generated/docs/LoginResponse.md +33 -0
- spatialflow/_generated/docs/LoginSchema.md +30 -0
- spatialflow/_generated/docs/MemberActionResponse.md +33 -0
- spatialflow/_generated/docs/MemberSummary.md +36 -0
- spatialflow/_generated/docs/MethodEnum.md +17 -0
- spatialflow/_generated/docs/OAuthAuthorizeResponse.md +29 -0
- spatialflow/_generated/docs/OAuthCallbackQuery.md +32 -0
- spatialflow/_generated/docs/OAuthLinkResponse.md +31 -0
- spatialflow/_generated/docs/OAuthProvidersResponse.md +29 -0
- spatialflow/_generated/docs/OnboardingProgressResponse.md +37 -0
- spatialflow/_generated/docs/PaymentMethodResponse.md +37 -0
- spatialflow/_generated/docs/PingResponse.md +31 -0
- spatialflow/_generated/docs/PlanChangePreviewResponse.md +35 -0
- spatialflow/_generated/docs/PlanFeatures.md +36 -0
- spatialflow/_generated/docs/PlanLimits.md +34 -0
- spatialflow/_generated/docs/PlanResponse.md +37 -0
- spatialflow/_generated/docs/PortalSessionRequest.md +30 -0
- spatialflow/_generated/docs/PortalSessionResponse.md +30 -0
- spatialflow/_generated/docs/PresignedUrlRequest.md +31 -0
- spatialflow/_generated/docs/PresignedUrlResponse.md +35 -0
- spatialflow/_generated/docs/PrivacyErasureRequest.md +35 -0
- spatialflow/_generated/docs/PrivacyErasureResponse.md +36 -0
- spatialflow/_generated/docs/PublicApi.md +389 -0
- spatialflow/_generated/docs/PublicLocationIngestApi.md +249 -0
- spatialflow/_generated/docs/RateLimitResponse.md +32 -0
- spatialflow/_generated/docs/RecentActivity.md +31 -0
- spatialflow/_generated/docs/RefreshTokenSchema.md +29 -0
- spatialflow/_generated/docs/RegisterSchema.md +37 -0
- spatialflow/_generated/docs/ResendVerificationSchema.md +29 -0
- spatialflow/_generated/docs/ResetPasswordSchema.md +31 -0
- spatialflow/_generated/docs/RetryPolicyResponseSchema.md +32 -0
- spatialflow/_generated/docs/RetryPolicySchema.md +35 -0
- spatialflow/_generated/docs/RetryStrategyEnum.md +14 -0
- spatialflow/_generated/docs/SeedDataResponseSchema.md +31 -0
- spatialflow/_generated/docs/SendEmailRequest.md +33 -0
- spatialflow/_generated/docs/SetupIntentResponse.md +30 -0
- spatialflow/_generated/docs/SignupRequest.md +40 -0
- spatialflow/_generated/docs/StartPlaybackRequest.md +30 -0
- spatialflow/_generated/docs/StorageApi.md +494 -0
- spatialflow/_generated/docs/SubscriptionActionResponse.md +32 -0
- spatialflow/_generated/docs/SubscriptionResponse.md +36 -0
- spatialflow/_generated/docs/SubscriptionsApi.md +677 -0
- spatialflow/_generated/docs/SuccessResponse.md +31 -0
- spatialflow/_generated/docs/SystemApi.md +137 -0
- spatialflow/_generated/docs/TemplateOut.md +35 -0
- spatialflow/_generated/docs/TestEventRequest.md +29 -0
- spatialflow/_generated/docs/TestIntegrationResponseSchema.md +31 -0
- spatialflow/_generated/docs/TestPointRequest.md +34 -0
- spatialflow/_generated/docs/TestPointResponse.md +33 -0
- spatialflow/_generated/docs/TestWebhookRequest.md +32 -0
- spatialflow/_generated/docs/TestWorkflowIn.md +29 -0
- spatialflow/_generated/docs/TileMetadata.md +36 -0
- spatialflow/_generated/docs/TilesApi.md +462 -0
- spatialflow/_generated/docs/UnsubscribeRequest.md +29 -0
- spatialflow/_generated/docs/UnsubscribeResponse.md +31 -0
- spatialflow/_generated/docs/UpdateGeofenceRequest.md +37 -0
- spatialflow/_generated/docs/UpdateIntegrationSchema.md +33 -0
- spatialflow/_generated/docs/UpdateMemberRoleRequest.md +30 -0
- spatialflow/_generated/docs/UpdateOnboardingProgressRequest.md +30 -0
- spatialflow/_generated/docs/UpdateProfileRequest.md +45 -0
- spatialflow/_generated/docs/UpdateUserWorkspaceRequest.md +31 -0
- spatialflow/_generated/docs/UpdateWebhookRequest.md +43 -0
- spatialflow/_generated/docs/UploadGeofencesRequest.md +31 -0
- spatialflow/_generated/docs/UploadJobStatus.md +42 -0
- spatialflow/_generated/docs/UsageMetrics.md +33 -0
- spatialflow/_generated/docs/UsageResponse.md +36 -0
- spatialflow/_generated/docs/UsageStats.md +32 -0
- spatialflow/_generated/docs/UserActionResponse.md +35 -0
- spatialflow/_generated/docs/UserApprovalRequest.md +30 -0
- spatialflow/_generated/docs/UserInviteRequest.md +33 -0
- spatialflow/_generated/docs/UserInviteResponse.md +36 -0
- spatialflow/_generated/docs/UserListResponse.md +34 -0
- spatialflow/_generated/docs/UserProfileResponse.md +55 -0
- spatialflow/_generated/docs/UserRejectionRequest.md +30 -0
- spatialflow/_generated/docs/UserResponse.md +44 -0
- spatialflow/_generated/docs/UserSummary.md +41 -0
- spatialflow/_generated/docs/UserUsageResponse.md +38 -0
- spatialflow/_generated/docs/UserWorkspaceResponse.md +34 -0
- spatialflow/_generated/docs/WebhookDeliveryDetailResponse.md +49 -0
- spatialflow/_generated/docs/WebhookDeliveryListResponse.md +31 -0
- spatialflow/_generated/docs/WebhookDeliveryResponse.md +46 -0
- spatialflow/_generated/docs/WebhookListResponse.md +31 -0
- spatialflow/_generated/docs/WebhookMetricsResponse.md +31 -0
- spatialflow/_generated/docs/WebhookResponse.md +50 -0
- spatialflow/_generated/docs/WebhookTestResponse.md +36 -0
- spatialflow/_generated/docs/WebhooksApi.md +1384 -0
- spatialflow/_generated/docs/WorkflowImportSchema.md +30 -0
- spatialflow/_generated/docs/WorkflowIn.md +32 -0
- spatialflow/_generated/docs/WorkflowListOut.md +39 -0
- spatialflow/_generated/docs/WorkflowListResponse.md +32 -0
- spatialflow/_generated/docs/WorkflowOut.md +42 -0
- spatialflow/_generated/docs/WorkflowRetryPolicyUpdateSchema.md +32 -0
- spatialflow/_generated/docs/WorkflowStepRetrySchema.md +33 -0
- spatialflow/_generated/docs/WorkflowUpdate.md +33 -0
- spatialflow/_generated/docs/WorkflowsApi.md +2599 -0
- spatialflow/_generated/docs/WorkspaceDeleteResponse.md +33 -0
- spatialflow/_generated/docs/WorkspaceDetail.md +37 -0
- spatialflow/_generated/docs/WorkspaceDetailResponse.md +41 -0
- spatialflow/_generated/docs/WorkspaceIn.md +34 -0
- spatialflow/_generated/docs/WorkspaceListItem.md +39 -0
- spatialflow/_generated/docs/WorkspaceListResponse.md +34 -0
- spatialflow/_generated/docs/WorkspaceMembersResponse.md +35 -0
- spatialflow/_generated/docs/WorkspaceOut.md +38 -0
- spatialflow/_generated/docs/WorkspaceSummary.md +32 -0
- spatialflow/_generated/docs/WorkspaceUpdateRequest.md +34 -0
- spatialflow/_generated/docs/WorkspaceUpdateResponse.md +33 -0
- spatialflow/_generated/docs/WorkspacesApi.md +241 -0
- spatialflow/_generated/git_push.sh +57 -0
- spatialflow/_generated/pyproject.toml +91 -0
- spatialflow/_generated/requirements.txt +6 -0
- spatialflow/_generated/setup.cfg +2 -0
- spatialflow/_generated/setup.py +51 -0
- spatialflow/_generated/spatialflow_generated/__init__.py +216 -0
- spatialflow/_generated/spatialflow_generated/api/__init__.py +24 -0
- spatialflow/_generated/spatialflow_generated/api/account_api.py +5675 -0
- spatialflow/_generated/spatialflow_generated/api/admin_api.py +6173 -0
- spatialflow/_generated/spatialflow_generated/api/authentication_api.py +4753 -0
- spatialflow/_generated/spatialflow_generated/api/billing_api.py +3151 -0
- spatialflow/_generated/spatialflow_generated/api/default_api.py +2157 -0
- spatialflow/_generated/spatialflow_generated/api/devices_api.py +3965 -0
- spatialflow/_generated/spatialflow_generated/api/e2_e_test_api.py +1049 -0
- spatialflow/_generated/spatialflow_generated/api/email_api.py +1879 -0
- spatialflow/_generated/spatialflow_generated/api/geofences_api.py +4899 -0
- spatialflow/_generated/spatialflow_generated/api/gpx_simulator_api.py +2824 -0
- spatialflow/_generated/spatialflow_generated/api/integrations_api.py +6952 -0
- spatialflow/_generated/spatialflow_generated/api/public_api.py +1506 -0
- spatialflow/_generated/spatialflow_generated/api/public_location_ingest_api.py +845 -0
- spatialflow/_generated/spatialflow_generated/api/storage_api.py +1642 -0
- spatialflow/_generated/spatialflow_generated/api/subscriptions_api.py +2356 -0
- spatialflow/_generated/spatialflow_generated/api/system_api.py +529 -0
- spatialflow/_generated/spatialflow_generated/api/tiles_api.py +1626 -0
- spatialflow/_generated/spatialflow_generated/api/webhooks_api.py +4579 -0
- spatialflow/_generated/spatialflow_generated/api/workflows_api.py +8334 -0
- spatialflow/_generated/spatialflow_generated/api/workspaces_api.py +813 -0
- spatialflow/_generated/spatialflow_generated/api_client.py +800 -0
- spatialflow/_generated/spatialflow_generated/api_response.py +21 -0
- spatialflow/_generated/spatialflow_generated/configuration.py +599 -0
- spatialflow/_generated/spatialflow_generated/exceptions.py +199 -0
- spatialflow/_generated/spatialflow_generated/models/__init__.py +180 -0
- spatialflow/_generated/spatialflow_generated/models/action_delivery_success_metrics.py +96 -0
- spatialflow/_generated/spatialflow_generated/models/action_response.py +96 -0
- spatialflow/_generated/spatialflow_generated/models/action_retry_config_schema.py +114 -0
- spatialflow/_generated/spatialflow_generated/models/activity_summary.py +89 -0
- spatialflow/_generated/spatialflow_generated/models/api_key_create_request.py +95 -0
- spatialflow/_generated/spatialflow_generated/models/api_key_create_response.py +89 -0
- spatialflow/_generated/spatialflow_generated/models/api_key_response.py +109 -0
- spatialflow/_generated/spatialflow_generated/models/api_key_update_request.py +114 -0
- spatialflow/_generated/spatialflow_generated/models/api_usage_stats.py +98 -0
- spatialflow/_generated/spatialflow_generated/models/async_upload_geofences_response.py +93 -0
- spatialflow/_generated/spatialflow_generated/models/auth_type_enum.py +39 -0
- spatialflow/_generated/spatialflow_generated/models/batch_location_update_in.py +97 -0
- spatialflow/_generated/spatialflow_generated/models/bulk_geofence_request.py +95 -0
- spatialflow/_generated/spatialflow_generated/models/change_password_schema.py +89 -0
- spatialflow/_generated/spatialflow_generated/models/checkout_session_request.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/checkout_session_response.py +89 -0
- spatialflow/_generated/spatialflow_generated/models/circuit_breaker_schema.py +94 -0
- spatialflow/_generated/spatialflow_generated/models/config_field_definition_request.py +134 -0
- spatialflow/_generated/spatialflow_generated/models/config_field_definition_response.py +138 -0
- spatialflow/_generated/spatialflow_generated/models/confirm_password_reset_schema.py +89 -0
- spatialflow/_generated/spatialflow_generated/models/create_from_template_in.py +94 -0
- spatialflow/_generated/spatialflow_generated/models/create_geofence_request.py +125 -0
- spatialflow/_generated/spatialflow_generated/models/create_integration_schema.py +106 -0
- spatialflow/_generated/spatialflow_generated/models/create_user_schema.py +99 -0
- spatialflow/_generated/spatialflow_generated/models/create_webhook_request.py +136 -0
- spatialflow/_generated/spatialflow_generated/models/dashboard_comparison_metrics.py +96 -0
- spatialflow/_generated/spatialflow_generated/models/dashboard_metrics_response.py +108 -0
- spatialflow/_generated/spatialflow_generated/models/delete_file_response.py +89 -0
- spatialflow/_generated/spatialflow_generated/models/delivery_status_enum.py +38 -0
- spatialflow/_generated/spatialflow_generated/models/device_in.py +98 -0
- spatialflow/_generated/spatialflow_generated/models/device_out.py +114 -0
- spatialflow/_generated/spatialflow_generated/models/email_health_response.py +92 -0
- spatialflow/_generated/spatialflow_generated/models/email_queue_stats.py +97 -0
- spatialflow/_generated/spatialflow_generated/models/email_stats.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/email_status_response.py +112 -0
- spatialflow/_generated/spatialflow_generated/models/error_response.py +101 -0
- spatialflow/_generated/spatialflow_generated/models/execution_out.py +126 -0
- spatialflow/_generated/spatialflow_generated/models/export_integration_schema.py +97 -0
- spatialflow/_generated/spatialflow_generated/models/file_list_response.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/forgot_password_schema.py +87 -0
- spatialflow/_generated/spatialflow_generated/models/geo_json_point.py +97 -0
- spatialflow/_generated/spatialflow_generated/models/geofence_list_response.py +97 -0
- spatialflow/_generated/spatialflow_generated/models/geofence_response.py +139 -0
- spatialflow/_generated/spatialflow_generated/models/geofence_stats.py +89 -0
- spatialflow/_generated/spatialflow_generated/models/geofence_test_result.py +98 -0
- spatialflow/_generated/spatialflow_generated/models/gpx_playback_out.py +128 -0
- spatialflow/_generated/spatialflow_generated/models/gpx_route_out.py +119 -0
- spatialflow/_generated/spatialflow_generated/models/health_check_response.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/health_response.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/import_integration_schema.py +100 -0
- spatialflow/_generated/spatialflow_generated/models/import_result_schema.py +103 -0
- spatialflow/_generated/spatialflow_generated/models/integration_detail_schema.py +125 -0
- spatialflow/_generated/spatialflow_generated/models/integration_response_schema.py +123 -0
- spatialflow/_generated/spatialflow_generated/models/integration_stats_schema.py +116 -0
- spatialflow/_generated/spatialflow_generated/models/integration_type_list_response.py +103 -0
- spatialflow/_generated/spatialflow_generated/models/integration_type_request.py +117 -0
- spatialflow/_generated/spatialflow_generated/models/integration_type_response.py +128 -0
- spatialflow/_generated/spatialflow_generated/models/invoice_line_item.py +93 -0
- spatialflow/_generated/spatialflow_generated/models/invoice_list_response.py +97 -0
- spatialflow/_generated/spatialflow_generated/models/invoice_response.py +120 -0
- spatialflow/_generated/spatialflow_generated/models/location_batch_in.py +102 -0
- spatialflow/_generated/spatialflow_generated/models/location_import_response.py +120 -0
- spatialflow/_generated/spatialflow_generated/models/location_ingest_response.py +117 -0
- spatialflow/_generated/spatialflow_generated/models/location_point_in.py +129 -0
- spatialflow/_generated/spatialflow_generated/models/location_update_in.py +132 -0
- spatialflow/_generated/spatialflow_generated/models/location_update_out.py +93 -0
- spatialflow/_generated/spatialflow_generated/models/login_response.py +95 -0
- spatialflow/_generated/spatialflow_generated/models/login_schema.py +89 -0
- spatialflow/_generated/spatialflow_generated/models/member_action_response.py +98 -0
- spatialflow/_generated/spatialflow_generated/models/member_summary.py +114 -0
- spatialflow/_generated/spatialflow_generated/models/method_enum.py +39 -0
- spatialflow/_generated/spatialflow_generated/models/o_auth_authorize_response.py +87 -0
- spatialflow/_generated/spatialflow_generated/models/o_auth_callback_query.py +103 -0
- spatialflow/_generated/spatialflow_generated/models/o_auth_link_response.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/o_auth_providers_response.py +87 -0
- spatialflow/_generated/spatialflow_generated/models/onboarding_progress_response.py +112 -0
- spatialflow/_generated/spatialflow_generated/models/payment_method_response.py +116 -0
- spatialflow/_generated/spatialflow_generated/models/ping_response.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/plan_change_preview_response.py +104 -0
- spatialflow/_generated/spatialflow_generated/models/plan_features.py +109 -0
- spatialflow/_generated/spatialflow_generated/models/plan_limits.py +95 -0
- spatialflow/_generated/spatialflow_generated/models/plan_response.py +114 -0
- spatialflow/_generated/spatialflow_generated/models/portal_session_request.py +87 -0
- spatialflow/_generated/spatialflow_generated/models/portal_session_response.py +87 -0
- spatialflow/_generated/spatialflow_generated/models/presigned_url_request.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/presigned_url_response.py +99 -0
- spatialflow/_generated/spatialflow_generated/models/privacy_erasure_request.py +118 -0
- spatialflow/_generated/spatialflow_generated/models/privacy_erasure_response.py +110 -0
- spatialflow/_generated/spatialflow_generated/models/rate_limit_response.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/recent_activity.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/refresh_token_schema.py +87 -0
- spatialflow/_generated/spatialflow_generated/models/register_schema.py +133 -0
- spatialflow/_generated/spatialflow_generated/models/resend_verification_schema.py +87 -0
- spatialflow/_generated/spatialflow_generated/models/reset_password_schema.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/retry_policy_response_schema.py +95 -0
- spatialflow/_generated/spatialflow_generated/models/retry_policy_schema.py +99 -0
- spatialflow/_generated/spatialflow_generated/models/retry_strategy_enum.py +38 -0
- spatialflow/_generated/spatialflow_generated/models/seed_data_response_schema.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/send_email_request.py +100 -0
- spatialflow/_generated/spatialflow_generated/models/setup_intent_response.py +87 -0
- spatialflow/_generated/spatialflow_generated/models/signup_request.py +164 -0
- spatialflow/_generated/spatialflow_generated/models/start_playback_request.py +89 -0
- spatialflow/_generated/spatialflow_generated/models/subscription_action_response.py +100 -0
- spatialflow/_generated/spatialflow_generated/models/subscription_response.py +113 -0
- spatialflow/_generated/spatialflow_generated/models/success_response.py +94 -0
- spatialflow/_generated/spatialflow_generated/models/template_out.py +104 -0
- spatialflow/_generated/spatialflow_generated/models/test_event_request.py +92 -0
- spatialflow/_generated/spatialflow_generated/models/test_integration_response_schema.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/test_point_request.py +125 -0
- spatialflow/_generated/spatialflow_generated/models/test_point_response.py +101 -0
- spatialflow/_generated/spatialflow_generated/models/test_webhook_request.py +106 -0
- spatialflow/_generated/spatialflow_generated/models/test_workflow_in.py +87 -0
- spatialflow/_generated/spatialflow_generated/models/tile_metadata.py +99 -0
- spatialflow/_generated/spatialflow_generated/models/unsubscribe_request.py +87 -0
- spatialflow/_generated/spatialflow_generated/models/unsubscribe_response.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/update_geofence_request.py +142 -0
- spatialflow/_generated/spatialflow_generated/models/update_integration_schema.py +121 -0
- spatialflow/_generated/spatialflow_generated/models/update_member_role_request.py +87 -0
- spatialflow/_generated/spatialflow_generated/models/update_onboarding_progress_request.py +87 -0
- spatialflow/_generated/spatialflow_generated/models/update_profile_request.py +208 -0
- spatialflow/_generated/spatialflow_generated/models/update_user_workspace_request.py +89 -0
- spatialflow/_generated/spatialflow_generated/models/update_webhook_request.py +186 -0
- spatialflow/_generated/spatialflow_generated/models/upload_geofences_request.py +95 -0
- spatialflow/_generated/spatialflow_generated/models/upload_job_status.py +137 -0
- spatialflow/_generated/spatialflow_generated/models/usage_metrics.py +93 -0
- spatialflow/_generated/spatialflow_generated/models/usage_response.py +105 -0
- spatialflow/_generated/spatialflow_generated/models/usage_stats.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/user_action_response.py +119 -0
- spatialflow/_generated/spatialflow_generated/models/user_approval_request.py +92 -0
- spatialflow/_generated/spatialflow_generated/models/user_invite_request.py +110 -0
- spatialflow/_generated/spatialflow_generated/models/user_invite_response.py +99 -0
- spatialflow/_generated/spatialflow_generated/models/user_list_response.py +110 -0
- spatialflow/_generated/spatialflow_generated/models/user_profile_response.py +158 -0
- spatialflow/_generated/spatialflow_generated/models/user_rejection_request.py +87 -0
- spatialflow/_generated/spatialflow_generated/models/user_response.py +142 -0
- spatialflow/_generated/spatialflow_generated/models/user_summary.py +140 -0
- spatialflow/_generated/spatialflow_generated/models/user_usage_response.py +152 -0
- spatialflow/_generated/spatialflow_generated/models/user_workspace_response.py +110 -0
- spatialflow/_generated/spatialflow_generated/models/webhook_delivery_detail_response.py +182 -0
- spatialflow/_generated/spatialflow_generated/models/webhook_delivery_list_response.py +97 -0
- spatialflow/_generated/spatialflow_generated/models/webhook_delivery_response.py +161 -0
- spatialflow/_generated/spatialflow_generated/models/webhook_list_response.py +97 -0
- spatialflow/_generated/spatialflow_generated/models/webhook_metrics_response.py +89 -0
- spatialflow/_generated/spatialflow_generated/models/webhook_response.py +148 -0
- spatialflow/_generated/spatialflow_generated/models/webhook_test_response.py +114 -0
- spatialflow/_generated/spatialflow_generated/models/workflow_import_schema.py +89 -0
- spatialflow/_generated/spatialflow_generated/models/workflow_in.py +98 -0
- spatialflow/_generated/spatialflow_generated/models/workflow_list_out.py +118 -0
- spatialflow/_generated/spatialflow_generated/models/workflow_list_response.py +101 -0
- spatialflow/_generated/spatialflow_generated/models/workflow_out.py +129 -0
- spatialflow/_generated/spatialflow_generated/models/workflow_retry_policy_update_schema.py +109 -0
- spatialflow/_generated/spatialflow_generated/models/workflow_step_retry_schema.py +103 -0
- spatialflow/_generated/spatialflow_generated/models/workflow_update.py +120 -0
- spatialflow/_generated/spatialflow_generated/models/workspace_delete_response.py +93 -0
- spatialflow/_generated/spatialflow_generated/models/workspace_detail.py +116 -0
- spatialflow/_generated/spatialflow_generated/models/workspace_detail_response.py +143 -0
- spatialflow/_generated/spatialflow_generated/models/workspace_in.py +122 -0
- spatialflow/_generated/spatialflow_generated/models/workspace_list_item.py +130 -0
- spatialflow/_generated/spatialflow_generated/models/workspace_list_response.py +103 -0
- spatialflow/_generated/spatialflow_generated/models/workspace_members_response.py +109 -0
- spatialflow/_generated/spatialflow_generated/models/workspace_out.py +132 -0
- spatialflow/_generated/spatialflow_generated/models/workspace_summary.py +91 -0
- spatialflow/_generated/spatialflow_generated/models/workspace_update_request.py +120 -0
- spatialflow/_generated/spatialflow_generated/models/workspace_update_response.py +93 -0
- spatialflow/_generated/spatialflow_generated/py.typed +0 -0
- spatialflow/_generated/spatialflow_generated/rest.py +215 -0
- spatialflow/_generated/test-requirements.txt +6 -0
- spatialflow/_generated/tox.ini +9 -0
- spatialflow/client.py +137 -0
- spatialflow/exceptions.py +234 -0
- spatialflow/jobs.py +204 -0
- spatialflow/pagination.py +142 -0
- spatialflow/uploads.py +166 -0
- spatialflow/webhooks.py +126 -0
- spatialflow-0.1.0.dist-info/METADATA +249 -0
- spatialflow-0.1.0.dist-info/RECORD +404 -0
- spatialflow-0.1.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,541 @@
|
|
|
1
|
+
# spatialflow_generated.EmailApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.spatialflow.io*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**apps_email_api_get_email_history**](EmailApi.md#apps_email_api_get_email_history) | **GET** /api/v1/email/history | Get Email History
|
|
8
|
+
[**apps_email_api_get_email_status**](EmailApi.md#apps_email_api_get_email_status) | **GET** /api/v1/email/status/{email_id} | Get Email Status
|
|
9
|
+
[**apps_email_api_get_queue_stats**](EmailApi.md#apps_email_api_get_queue_stats) | **GET** /api/v1/email/queue-stats | Get Queue Stats
|
|
10
|
+
[**apps_email_api_health_check**](EmailApi.md#apps_email_api_health_check) | **GET** /api/v1/email/health | Health Check
|
|
11
|
+
[**apps_email_api_preview_email_template**](EmailApi.md#apps_email_api_preview_email_template) | **GET** /api/v1/email/preview/{template_name} | Preview Email Template
|
|
12
|
+
[**apps_email_api_send_email**](EmailApi.md#apps_email_api_send_email) | **POST** /api/v1/email/send | Send Email
|
|
13
|
+
[**apps_email_api_send_test_email**](EmailApi.md#apps_email_api_send_test_email) | **POST** /api/v1/email/test | Send Test Email
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# **apps_email_api_get_email_history**
|
|
17
|
+
> apps_email_api_get_email_history(limit=limit, offset=offset)
|
|
18
|
+
|
|
19
|
+
Get Email History
|
|
20
|
+
|
|
21
|
+
Get email history for the current user
|
|
22
|
+
|
|
23
|
+
### Example
|
|
24
|
+
|
|
25
|
+
* Bearer Authentication (JWTBearer):
|
|
26
|
+
|
|
27
|
+
```python
|
|
28
|
+
import spatialflow_generated
|
|
29
|
+
from spatialflow_generated.rest import ApiException
|
|
30
|
+
from pprint import pprint
|
|
31
|
+
|
|
32
|
+
# Defining the host is optional and defaults to https://api.spatialflow.io
|
|
33
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
34
|
+
configuration = spatialflow_generated.Configuration(
|
|
35
|
+
host = "https://api.spatialflow.io"
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
# The client must configure the authentication and authorization parameters
|
|
39
|
+
# in accordance with the API server security policy.
|
|
40
|
+
# Examples for each auth method are provided below, use the example that
|
|
41
|
+
# satisfies your auth use case.
|
|
42
|
+
|
|
43
|
+
# Configure Bearer authorization: JWTBearer
|
|
44
|
+
configuration = spatialflow_generated.Configuration(
|
|
45
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
46
|
+
)
|
|
47
|
+
|
|
48
|
+
# Enter a context with an instance of the API client
|
|
49
|
+
async with spatialflow_generated.ApiClient(configuration) as api_client:
|
|
50
|
+
# Create an instance of the API class
|
|
51
|
+
api_instance = spatialflow_generated.EmailApi(api_client)
|
|
52
|
+
limit = 50 # int | (optional) (default to 50)
|
|
53
|
+
offset = 0 # int | (optional) (default to 0)
|
|
54
|
+
|
|
55
|
+
try:
|
|
56
|
+
# Get Email History
|
|
57
|
+
await api_instance.apps_email_api_get_email_history(limit=limit, offset=offset)
|
|
58
|
+
except Exception as e:
|
|
59
|
+
print("Exception when calling EmailApi->apps_email_api_get_email_history: %s\n" % e)
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### Parameters
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
Name | Type | Description | Notes
|
|
68
|
+
------------- | ------------- | ------------- | -------------
|
|
69
|
+
**limit** | **int**| | [optional] [default to 50]
|
|
70
|
+
**offset** | **int**| | [optional] [default to 0]
|
|
71
|
+
|
|
72
|
+
### Return type
|
|
73
|
+
|
|
74
|
+
void (empty response body)
|
|
75
|
+
|
|
76
|
+
### Authorization
|
|
77
|
+
|
|
78
|
+
[JWTBearer](../README.md#JWTBearer)
|
|
79
|
+
|
|
80
|
+
### HTTP request headers
|
|
81
|
+
|
|
82
|
+
- **Content-Type**: Not defined
|
|
83
|
+
- **Accept**: Not defined
|
|
84
|
+
|
|
85
|
+
### HTTP response details
|
|
86
|
+
|
|
87
|
+
| Status code | Description | Response headers |
|
|
88
|
+
|-------------|-------------|------------------|
|
|
89
|
+
**200** | OK | - |
|
|
90
|
+
|
|
91
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
92
|
+
|
|
93
|
+
# **apps_email_api_get_email_status**
|
|
94
|
+
> EmailStatusResponse apps_email_api_get_email_status(email_id)
|
|
95
|
+
|
|
96
|
+
Get Email Status
|
|
97
|
+
|
|
98
|
+
Check email delivery status
|
|
99
|
+
|
|
100
|
+
### Example
|
|
101
|
+
|
|
102
|
+
* Bearer Authentication (JWTBearer):
|
|
103
|
+
|
|
104
|
+
```python
|
|
105
|
+
import spatialflow_generated
|
|
106
|
+
from spatialflow_generated.models.email_status_response import EmailStatusResponse
|
|
107
|
+
from spatialflow_generated.rest import ApiException
|
|
108
|
+
from pprint import pprint
|
|
109
|
+
|
|
110
|
+
# Defining the host is optional and defaults to https://api.spatialflow.io
|
|
111
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
112
|
+
configuration = spatialflow_generated.Configuration(
|
|
113
|
+
host = "https://api.spatialflow.io"
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
# The client must configure the authentication and authorization parameters
|
|
117
|
+
# in accordance with the API server security policy.
|
|
118
|
+
# Examples for each auth method are provided below, use the example that
|
|
119
|
+
# satisfies your auth use case.
|
|
120
|
+
|
|
121
|
+
# Configure Bearer authorization: JWTBearer
|
|
122
|
+
configuration = spatialflow_generated.Configuration(
|
|
123
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
# Enter a context with an instance of the API client
|
|
127
|
+
async with spatialflow_generated.ApiClient(configuration) as api_client:
|
|
128
|
+
# Create an instance of the API class
|
|
129
|
+
api_instance = spatialflow_generated.EmailApi(api_client)
|
|
130
|
+
email_id = 'email_id_example' # str |
|
|
131
|
+
|
|
132
|
+
try:
|
|
133
|
+
# Get Email Status
|
|
134
|
+
api_response = await api_instance.apps_email_api_get_email_status(email_id)
|
|
135
|
+
print("The response of EmailApi->apps_email_api_get_email_status:\n")
|
|
136
|
+
pprint(api_response)
|
|
137
|
+
except Exception as e:
|
|
138
|
+
print("Exception when calling EmailApi->apps_email_api_get_email_status: %s\n" % e)
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
### Parameters
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
Name | Type | Description | Notes
|
|
147
|
+
------------- | ------------- | ------------- | -------------
|
|
148
|
+
**email_id** | **str**| |
|
|
149
|
+
|
|
150
|
+
### Return type
|
|
151
|
+
|
|
152
|
+
[**EmailStatusResponse**](EmailStatusResponse.md)
|
|
153
|
+
|
|
154
|
+
### Authorization
|
|
155
|
+
|
|
156
|
+
[JWTBearer](../README.md#JWTBearer)
|
|
157
|
+
|
|
158
|
+
### HTTP request headers
|
|
159
|
+
|
|
160
|
+
- **Content-Type**: Not defined
|
|
161
|
+
- **Accept**: application/json
|
|
162
|
+
|
|
163
|
+
### HTTP response details
|
|
164
|
+
|
|
165
|
+
| Status code | Description | Response headers |
|
|
166
|
+
|-------------|-------------|------------------|
|
|
167
|
+
**200** | OK | - |
|
|
168
|
+
**403** | Forbidden | - |
|
|
169
|
+
|
|
170
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
171
|
+
|
|
172
|
+
# **apps_email_api_get_queue_stats**
|
|
173
|
+
> EmailQueueStats apps_email_api_get_queue_stats()
|
|
174
|
+
|
|
175
|
+
Get Queue Stats
|
|
176
|
+
|
|
177
|
+
Get email queue statistics (admin only)
|
|
178
|
+
|
|
179
|
+
### Example
|
|
180
|
+
|
|
181
|
+
* Bearer Authentication (JWTBearer):
|
|
182
|
+
|
|
183
|
+
```python
|
|
184
|
+
import spatialflow_generated
|
|
185
|
+
from spatialflow_generated.models.email_queue_stats import EmailQueueStats
|
|
186
|
+
from spatialflow_generated.rest import ApiException
|
|
187
|
+
from pprint import pprint
|
|
188
|
+
|
|
189
|
+
# Defining the host is optional and defaults to https://api.spatialflow.io
|
|
190
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
191
|
+
configuration = spatialflow_generated.Configuration(
|
|
192
|
+
host = "https://api.spatialflow.io"
|
|
193
|
+
)
|
|
194
|
+
|
|
195
|
+
# The client must configure the authentication and authorization parameters
|
|
196
|
+
# in accordance with the API server security policy.
|
|
197
|
+
# Examples for each auth method are provided below, use the example that
|
|
198
|
+
# satisfies your auth use case.
|
|
199
|
+
|
|
200
|
+
# Configure Bearer authorization: JWTBearer
|
|
201
|
+
configuration = spatialflow_generated.Configuration(
|
|
202
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
203
|
+
)
|
|
204
|
+
|
|
205
|
+
# Enter a context with an instance of the API client
|
|
206
|
+
async with spatialflow_generated.ApiClient(configuration) as api_client:
|
|
207
|
+
# Create an instance of the API class
|
|
208
|
+
api_instance = spatialflow_generated.EmailApi(api_client)
|
|
209
|
+
|
|
210
|
+
try:
|
|
211
|
+
# Get Queue Stats
|
|
212
|
+
api_response = await api_instance.apps_email_api_get_queue_stats()
|
|
213
|
+
print("The response of EmailApi->apps_email_api_get_queue_stats:\n")
|
|
214
|
+
pprint(api_response)
|
|
215
|
+
except Exception as e:
|
|
216
|
+
print("Exception when calling EmailApi->apps_email_api_get_queue_stats: %s\n" % e)
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
### Parameters
|
|
222
|
+
|
|
223
|
+
This endpoint does not need any parameter.
|
|
224
|
+
|
|
225
|
+
### Return type
|
|
226
|
+
|
|
227
|
+
[**EmailQueueStats**](EmailQueueStats.md)
|
|
228
|
+
|
|
229
|
+
### Authorization
|
|
230
|
+
|
|
231
|
+
[JWTBearer](../README.md#JWTBearer)
|
|
232
|
+
|
|
233
|
+
### HTTP request headers
|
|
234
|
+
|
|
235
|
+
- **Content-Type**: Not defined
|
|
236
|
+
- **Accept**: application/json
|
|
237
|
+
|
|
238
|
+
### HTTP response details
|
|
239
|
+
|
|
240
|
+
| Status code | Description | Response headers |
|
|
241
|
+
|-------------|-------------|------------------|
|
|
242
|
+
**200** | OK | - |
|
|
243
|
+
|
|
244
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
245
|
+
|
|
246
|
+
# **apps_email_api_health_check**
|
|
247
|
+
> EmailHealthResponse apps_email_api_health_check()
|
|
248
|
+
|
|
249
|
+
Health Check
|
|
250
|
+
|
|
251
|
+
Email service health check
|
|
252
|
+
|
|
253
|
+
### Example
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
```python
|
|
257
|
+
import spatialflow_generated
|
|
258
|
+
from spatialflow_generated.models.email_health_response import EmailHealthResponse
|
|
259
|
+
from spatialflow_generated.rest import ApiException
|
|
260
|
+
from pprint import pprint
|
|
261
|
+
|
|
262
|
+
# Defining the host is optional and defaults to https://api.spatialflow.io
|
|
263
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
264
|
+
configuration = spatialflow_generated.Configuration(
|
|
265
|
+
host = "https://api.spatialflow.io"
|
|
266
|
+
)
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
# Enter a context with an instance of the API client
|
|
270
|
+
async with spatialflow_generated.ApiClient(configuration) as api_client:
|
|
271
|
+
# Create an instance of the API class
|
|
272
|
+
api_instance = spatialflow_generated.EmailApi(api_client)
|
|
273
|
+
|
|
274
|
+
try:
|
|
275
|
+
# Health Check
|
|
276
|
+
api_response = await api_instance.apps_email_api_health_check()
|
|
277
|
+
print("The response of EmailApi->apps_email_api_health_check:\n")
|
|
278
|
+
pprint(api_response)
|
|
279
|
+
except Exception as e:
|
|
280
|
+
print("Exception when calling EmailApi->apps_email_api_health_check: %s\n" % e)
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
### Parameters
|
|
286
|
+
|
|
287
|
+
This endpoint does not need any parameter.
|
|
288
|
+
|
|
289
|
+
### Return type
|
|
290
|
+
|
|
291
|
+
[**EmailHealthResponse**](EmailHealthResponse.md)
|
|
292
|
+
|
|
293
|
+
### Authorization
|
|
294
|
+
|
|
295
|
+
No authorization required
|
|
296
|
+
|
|
297
|
+
### HTTP request headers
|
|
298
|
+
|
|
299
|
+
- **Content-Type**: Not defined
|
|
300
|
+
- **Accept**: application/json
|
|
301
|
+
|
|
302
|
+
### HTTP response details
|
|
303
|
+
|
|
304
|
+
| Status code | Description | Response headers |
|
|
305
|
+
|-------------|-------------|------------------|
|
|
306
|
+
**200** | OK | - |
|
|
307
|
+
|
|
308
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
309
|
+
|
|
310
|
+
# **apps_email_api_preview_email_template**
|
|
311
|
+
> apps_email_api_preview_email_template(template_name, format=format)
|
|
312
|
+
|
|
313
|
+
Preview Email Template
|
|
314
|
+
|
|
315
|
+
Preview an email template with sample data (admin only) Args: template_name: Name of the template to preview format: Output format - 'html' or 'txt' (default: 'html')
|
|
316
|
+
|
|
317
|
+
### Example
|
|
318
|
+
|
|
319
|
+
* Bearer Authentication (JWTBearer):
|
|
320
|
+
|
|
321
|
+
```python
|
|
322
|
+
import spatialflow_generated
|
|
323
|
+
from spatialflow_generated.rest import ApiException
|
|
324
|
+
from pprint import pprint
|
|
325
|
+
|
|
326
|
+
# Defining the host is optional and defaults to https://api.spatialflow.io
|
|
327
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
328
|
+
configuration = spatialflow_generated.Configuration(
|
|
329
|
+
host = "https://api.spatialflow.io"
|
|
330
|
+
)
|
|
331
|
+
|
|
332
|
+
# The client must configure the authentication and authorization parameters
|
|
333
|
+
# in accordance with the API server security policy.
|
|
334
|
+
# Examples for each auth method are provided below, use the example that
|
|
335
|
+
# satisfies your auth use case.
|
|
336
|
+
|
|
337
|
+
# Configure Bearer authorization: JWTBearer
|
|
338
|
+
configuration = spatialflow_generated.Configuration(
|
|
339
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
340
|
+
)
|
|
341
|
+
|
|
342
|
+
# Enter a context with an instance of the API client
|
|
343
|
+
async with spatialflow_generated.ApiClient(configuration) as api_client:
|
|
344
|
+
# Create an instance of the API class
|
|
345
|
+
api_instance = spatialflow_generated.EmailApi(api_client)
|
|
346
|
+
template_name = 'template_name_example' # str |
|
|
347
|
+
format = 'html' # str | (optional) (default to 'html')
|
|
348
|
+
|
|
349
|
+
try:
|
|
350
|
+
# Preview Email Template
|
|
351
|
+
await api_instance.apps_email_api_preview_email_template(template_name, format=format)
|
|
352
|
+
except Exception as e:
|
|
353
|
+
print("Exception when calling EmailApi->apps_email_api_preview_email_template: %s\n" % e)
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
### Parameters
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
Name | Type | Description | Notes
|
|
362
|
+
------------- | ------------- | ------------- | -------------
|
|
363
|
+
**template_name** | **str**| |
|
|
364
|
+
**format** | **str**| | [optional] [default to 'html']
|
|
365
|
+
|
|
366
|
+
### Return type
|
|
367
|
+
|
|
368
|
+
void (empty response body)
|
|
369
|
+
|
|
370
|
+
### Authorization
|
|
371
|
+
|
|
372
|
+
[JWTBearer](../README.md#JWTBearer)
|
|
373
|
+
|
|
374
|
+
### HTTP request headers
|
|
375
|
+
|
|
376
|
+
- **Content-Type**: Not defined
|
|
377
|
+
- **Accept**: application/json
|
|
378
|
+
|
|
379
|
+
### HTTP response details
|
|
380
|
+
|
|
381
|
+
| Status code | Description | Response headers |
|
|
382
|
+
|-------------|-------------|------------------|
|
|
383
|
+
**200** | OK | - |
|
|
384
|
+
**404** | Not Found | - |
|
|
385
|
+
**500** | Internal Server Error | - |
|
|
386
|
+
|
|
387
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
388
|
+
|
|
389
|
+
# **apps_email_api_send_email**
|
|
390
|
+
> Dict[str, object] apps_email_api_send_email(send_email_request)
|
|
391
|
+
|
|
392
|
+
Send Email
|
|
393
|
+
|
|
394
|
+
Queue email for delivery (admin only)
|
|
395
|
+
|
|
396
|
+
### Example
|
|
397
|
+
|
|
398
|
+
* Bearer Authentication (JWTBearer):
|
|
399
|
+
|
|
400
|
+
```python
|
|
401
|
+
import spatialflow_generated
|
|
402
|
+
from spatialflow_generated.models.send_email_request import SendEmailRequest
|
|
403
|
+
from spatialflow_generated.rest import ApiException
|
|
404
|
+
from pprint import pprint
|
|
405
|
+
|
|
406
|
+
# Defining the host is optional and defaults to https://api.spatialflow.io
|
|
407
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
408
|
+
configuration = spatialflow_generated.Configuration(
|
|
409
|
+
host = "https://api.spatialflow.io"
|
|
410
|
+
)
|
|
411
|
+
|
|
412
|
+
# The client must configure the authentication and authorization parameters
|
|
413
|
+
# in accordance with the API server security policy.
|
|
414
|
+
# Examples for each auth method are provided below, use the example that
|
|
415
|
+
# satisfies your auth use case.
|
|
416
|
+
|
|
417
|
+
# Configure Bearer authorization: JWTBearer
|
|
418
|
+
configuration = spatialflow_generated.Configuration(
|
|
419
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
420
|
+
)
|
|
421
|
+
|
|
422
|
+
# Enter a context with an instance of the API client
|
|
423
|
+
async with spatialflow_generated.ApiClient(configuration) as api_client:
|
|
424
|
+
# Create an instance of the API class
|
|
425
|
+
api_instance = spatialflow_generated.EmailApi(api_client)
|
|
426
|
+
send_email_request = spatialflow_generated.SendEmailRequest() # SendEmailRequest |
|
|
427
|
+
|
|
428
|
+
try:
|
|
429
|
+
# Send Email
|
|
430
|
+
api_response = await api_instance.apps_email_api_send_email(send_email_request)
|
|
431
|
+
print("The response of EmailApi->apps_email_api_send_email:\n")
|
|
432
|
+
pprint(api_response)
|
|
433
|
+
except Exception as e:
|
|
434
|
+
print("Exception when calling EmailApi->apps_email_api_send_email: %s\n" % e)
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
### Parameters
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
Name | Type | Description | Notes
|
|
443
|
+
------------- | ------------- | ------------- | -------------
|
|
444
|
+
**send_email_request** | [**SendEmailRequest**](SendEmailRequest.md)| |
|
|
445
|
+
|
|
446
|
+
### Return type
|
|
447
|
+
|
|
448
|
+
**Dict[str, object]**
|
|
449
|
+
|
|
450
|
+
### Authorization
|
|
451
|
+
|
|
452
|
+
[JWTBearer](../README.md#JWTBearer)
|
|
453
|
+
|
|
454
|
+
### HTTP request headers
|
|
455
|
+
|
|
456
|
+
- **Content-Type**: application/json
|
|
457
|
+
- **Accept**: application/json
|
|
458
|
+
|
|
459
|
+
### HTTP response details
|
|
460
|
+
|
|
461
|
+
| Status code | Description | Response headers |
|
|
462
|
+
|-------------|-------------|------------------|
|
|
463
|
+
**200** | OK | - |
|
|
464
|
+
**400** | Bad Request | - |
|
|
465
|
+
|
|
466
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
467
|
+
|
|
468
|
+
# **apps_email_api_send_test_email**
|
|
469
|
+
> Dict[str, object] apps_email_api_send_test_email()
|
|
470
|
+
|
|
471
|
+
Send Test Email
|
|
472
|
+
|
|
473
|
+
Send a test email to verify email configuration (admin only)
|
|
474
|
+
|
|
475
|
+
### Example
|
|
476
|
+
|
|
477
|
+
* Bearer Authentication (JWTBearer):
|
|
478
|
+
|
|
479
|
+
```python
|
|
480
|
+
import spatialflow_generated
|
|
481
|
+
from spatialflow_generated.rest import ApiException
|
|
482
|
+
from pprint import pprint
|
|
483
|
+
|
|
484
|
+
# Defining the host is optional and defaults to https://api.spatialflow.io
|
|
485
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
486
|
+
configuration = spatialflow_generated.Configuration(
|
|
487
|
+
host = "https://api.spatialflow.io"
|
|
488
|
+
)
|
|
489
|
+
|
|
490
|
+
# The client must configure the authentication and authorization parameters
|
|
491
|
+
# in accordance with the API server security policy.
|
|
492
|
+
# Examples for each auth method are provided below, use the example that
|
|
493
|
+
# satisfies your auth use case.
|
|
494
|
+
|
|
495
|
+
# Configure Bearer authorization: JWTBearer
|
|
496
|
+
configuration = spatialflow_generated.Configuration(
|
|
497
|
+
access_token = os.environ["BEARER_TOKEN"]
|
|
498
|
+
)
|
|
499
|
+
|
|
500
|
+
# Enter a context with an instance of the API client
|
|
501
|
+
async with spatialflow_generated.ApiClient(configuration) as api_client:
|
|
502
|
+
# Create an instance of the API class
|
|
503
|
+
api_instance = spatialflow_generated.EmailApi(api_client)
|
|
504
|
+
|
|
505
|
+
try:
|
|
506
|
+
# Send Test Email
|
|
507
|
+
api_response = await api_instance.apps_email_api_send_test_email()
|
|
508
|
+
print("The response of EmailApi->apps_email_api_send_test_email:\n")
|
|
509
|
+
pprint(api_response)
|
|
510
|
+
except Exception as e:
|
|
511
|
+
print("Exception when calling EmailApi->apps_email_api_send_test_email: %s\n" % e)
|
|
512
|
+
```
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
### Parameters
|
|
517
|
+
|
|
518
|
+
This endpoint does not need any parameter.
|
|
519
|
+
|
|
520
|
+
### Return type
|
|
521
|
+
|
|
522
|
+
**Dict[str, object]**
|
|
523
|
+
|
|
524
|
+
### Authorization
|
|
525
|
+
|
|
526
|
+
[JWTBearer](../README.md#JWTBearer)
|
|
527
|
+
|
|
528
|
+
### HTTP request headers
|
|
529
|
+
|
|
530
|
+
- **Content-Type**: Not defined
|
|
531
|
+
- **Accept**: application/json
|
|
532
|
+
|
|
533
|
+
### HTTP response details
|
|
534
|
+
|
|
535
|
+
| Status code | Description | Response headers |
|
|
536
|
+
|-------------|-------------|------------------|
|
|
537
|
+
**200** | OK | - |
|
|
538
|
+
**500** | Internal Server Error | - |
|
|
539
|
+
|
|
540
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
541
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# EmailHealthResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**status** | **str** | |
|
|
9
|
+
**checks** | **Dict[str, object]** | |
|
|
10
|
+
**timestamp** | **datetime** | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```python
|
|
15
|
+
from spatialflow_generated.models.email_health_response import EmailHealthResponse
|
|
16
|
+
|
|
17
|
+
# TODO update the JSON string below
|
|
18
|
+
json = "{}"
|
|
19
|
+
# create an instance of EmailHealthResponse from a JSON string
|
|
20
|
+
email_health_response_instance = EmailHealthResponse.from_json(json)
|
|
21
|
+
# print the JSON string representation of the object
|
|
22
|
+
print(EmailHealthResponse.to_json())
|
|
23
|
+
|
|
24
|
+
# convert the object into a dict
|
|
25
|
+
email_health_response_dict = email_health_response_instance.to_dict()
|
|
26
|
+
# create an instance of EmailHealthResponse from a dict
|
|
27
|
+
email_health_response_from_dict = EmailHealthResponse.from_dict(email_health_response_dict)
|
|
28
|
+
```
|
|
29
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
30
|
+
|
|
31
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# EmailQueueStats
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**pending** | **int** | |
|
|
9
|
+
**queued** | **int** | |
|
|
10
|
+
**delivered** | **int** | |
|
|
11
|
+
**failed** | **int** | |
|
|
12
|
+
**total_today** | **int** | |
|
|
13
|
+
**total_this_hour** | **int** | |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```python
|
|
18
|
+
from spatialflow_generated.models.email_queue_stats import EmailQueueStats
|
|
19
|
+
|
|
20
|
+
# TODO update the JSON string below
|
|
21
|
+
json = "{}"
|
|
22
|
+
# create an instance of EmailQueueStats from a JSON string
|
|
23
|
+
email_queue_stats_instance = EmailQueueStats.from_json(json)
|
|
24
|
+
# print the JSON string representation of the object
|
|
25
|
+
print(EmailQueueStats.to_json())
|
|
26
|
+
|
|
27
|
+
# convert the object into a dict
|
|
28
|
+
email_queue_stats_dict = email_queue_stats_instance.to_dict()
|
|
29
|
+
# create an instance of EmailQueueStats from a dict
|
|
30
|
+
email_queue_stats_from_dict = EmailQueueStats.from_dict(email_queue_stats_dict)
|
|
31
|
+
```
|
|
32
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# EmailStats
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**total_emails** | **int** | |
|
|
9
|
+
**delivered** | **int** | |
|
|
10
|
+
**failed** | **int** | |
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```python
|
|
15
|
+
from spatialflow_generated.models.email_stats import EmailStats
|
|
16
|
+
|
|
17
|
+
# TODO update the JSON string below
|
|
18
|
+
json = "{}"
|
|
19
|
+
# create an instance of EmailStats from a JSON string
|
|
20
|
+
email_stats_instance = EmailStats.from_json(json)
|
|
21
|
+
# print the JSON string representation of the object
|
|
22
|
+
print(EmailStats.to_json())
|
|
23
|
+
|
|
24
|
+
# convert the object into a dict
|
|
25
|
+
email_stats_dict = email_stats_instance.to_dict()
|
|
26
|
+
# create an instance of EmailStats from a dict
|
|
27
|
+
email_stats_from_dict = EmailStats.from_dict(email_stats_dict)
|
|
28
|
+
```
|
|
29
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
30
|
+
|
|
31
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# EmailStatusResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **str** | |
|
|
9
|
+
**to_email** | **str** | |
|
|
10
|
+
**subject** | **str** | |
|
|
11
|
+
**status** | **str** | |
|
|
12
|
+
**created_at** | **datetime** | |
|
|
13
|
+
**delivered_at** | **datetime** | |
|
|
14
|
+
**retry_count** | **int** | |
|
|
15
|
+
**error_message** | **str** | |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
from spatialflow_generated.models.email_status_response import EmailStatusResponse
|
|
21
|
+
|
|
22
|
+
# TODO update the JSON string below
|
|
23
|
+
json = "{}"
|
|
24
|
+
# create an instance of EmailStatusResponse from a JSON string
|
|
25
|
+
email_status_response_instance = EmailStatusResponse.from_json(json)
|
|
26
|
+
# print the JSON string representation of the object
|
|
27
|
+
print(EmailStatusResponse.to_json())
|
|
28
|
+
|
|
29
|
+
# convert the object into a dict
|
|
30
|
+
email_status_response_dict = email_status_response_instance.to_dict()
|
|
31
|
+
# create an instance of EmailStatusResponse from a dict
|
|
32
|
+
email_status_response_from_dict = EmailStatusResponse.from_dict(email_status_response_dict)
|
|
33
|
+
```
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# ErrorResponse
|
|
2
|
+
|
|
3
|
+
Standard error response schema for all API endpoints. Follows Django Ninja standard format and aligns with validation errors. Compatible with frontend apiClient.ts error handling. Attributes: detail: Human-readable error message or machine-readable error code error_code: Optional machine-readable error identifier details: Optional additional context (field errors, validation details, etc.) Examples: Simple error: {\"detail\": \"Resource not found\"} Error with code: {\"detail\": \"FORBIDDEN\", \"error_code\": \"INSUFFICIENT_PERMISSIONS\"} Validation error: { \"detail\": \"Validation failed\", \"details\": { \"name\": [\"This field is required\"], \"email\": [\"Invalid email format\"] } }
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**detail** | **str** | |
|
|
10
|
+
**error_code** | **str** | | [optional]
|
|
11
|
+
**details** | **Dict[str, object]** | | [optional]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from spatialflow_generated.models.error_response import ErrorResponse
|
|
17
|
+
|
|
18
|
+
# TODO update the JSON string below
|
|
19
|
+
json = "{}"
|
|
20
|
+
# create an instance of ErrorResponse from a JSON string
|
|
21
|
+
error_response_instance = ErrorResponse.from_json(json)
|
|
22
|
+
# print the JSON string representation of the object
|
|
23
|
+
print(ErrorResponse.to_json())
|
|
24
|
+
|
|
25
|
+
# convert the object into a dict
|
|
26
|
+
error_response_dict = error_response_instance.to_dict()
|
|
27
|
+
# create an instance of ErrorResponse from a dict
|
|
28
|
+
error_response_from_dict = ErrorResponse.from_dict(error_response_dict)
|
|
29
|
+
```
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
31
|
+
|
|
32
|
+
|