Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
feat(fleet): reconcile pinned cua Image SDK import (#7754)
r33drichardsa2ac0b2ce26f
diff --git a/libs/fleet/backend/auth/authz_image_uploads.rego b/libs/fleet/backend/auth/authz_image_uploads.regonew file mode 100644index 0000000000..9cd8d0fd25--- /dev/null+++ b/libs/fleet/backend/auth/authz_image_uploads.rego@@ -0,0 +1,30 @@+# /api/image-uploads/presign signs writes only after the handler proves the+# payload namespace belongs to the authenticated subject. This surface limits+# the route to the same principal families that can hold a tenant grant; the+# handler is deliberately the ownership boundary because the namespace is JSON+# payload data rather than a route parameter available to authz_ownership.rego.+package authz_image_uploads++import data.authz++default allow = false++allow {+ input.route == "/api/image-uploads/presign"+ authz.is_interactive_client+}++allow {+ input.route == "/api/image-uploads/presign"+ input.user.principal_type == "github_oidc"+}++allow {+ input.route == "/api/image-uploads/presign"+ authz.is_user_key_client+}++allow {+ input.route == "/api/image-uploads/presign"+ authz.is_per_key_client+}diff --git a/libs/fleet/backend/auth/custom_resource_creation_admission_test.rego b/libs/fleet/backend/auth/custom_resource_creation_admission_test.regoindex 56b0f331a0..88c701fc11 100644--- a/libs/fleet/backend/auth/custom_resource_creation_admission_test.rego+++ b/libs/fleet/backend/auth/custom_resource_creation_admission_test.rego@@ -153,6 +153,16 @@ test_namespaced_custom_group_collection_is_create {)}+test_namespaced_image_collection_requires_card_admission {+ request := input_for(+ "POST", "apis/images.cua.ai/v1alpha1/namespaces/ns-a/images", true, [], "u", [], 2026, 8,+ )++ custom_resource_creation_admission.is_custom_resource_create with input as request+ not custom_resource_creation_admission.exempt with input as request+ not custom_resource_creation_admission.billing_eligible with input as request+}+test_cluster_custom_group_collection_is_create {custom_resource_creation_admission.is_custom_resource_create with input as input_for("POST", "apis/osgym.cua.ai/v1alpha1/osgymsandboxtemplates", true, [], "u", [], 2026, 8,diff --git a/libs/fleet/backend/auth/middlewares.go b/libs/fleet/backend/auth/middlewares.goindex 2b81db0ad6..d76f490e66 100644--- a/libs/fleet/backend/auth/middlewares.go+++ b/libs/fleet/backend/auth/middlewares.go@@ -95,6 +95,7 @@ var surfacePolicySources = map[string]struct {"authz-state-query": {"authz_state_query.rego", authzStateQueryPolicy},"authz-feature-flags": {"authz_feature_flags.rego", authzFeatureFlagsPolicy},"authz-account-lookup": {"authz_account_lookup.rego", authzAccountLookupPolicy},+ "authz-image-uploads": {"authz_image_uploads.rego", authzImageUploadsPolicy},}//go:embed authz_account_lookup.rego@@ -121,6 +122,9 @@ var authzUsagePolicy string//go:embed authz_namespaces.regovar authzNamespacesPolicy string+//go:embed authz_image_uploads.rego+var authzImageUploadsPolicy string+//go:embed authz_github_trust.regovar authzGitHubTrustPolicy stringdiff --git a/libs/fleet/backend/auth/policy_characterization_test.go b/libs/fleet/backend/auth/policy_characterization_test.goindex 9a67f0805b..9eab2baba8 100644--- a/libs/fleet/backend/auth/policy_characterization_test.go+++ b/libs/fleet/backend/auth/policy_characterization_test.go@@ -145,8 +145,9 @@ type routeCase struct {// path is the request URL. Only /api/k8s reads it (through// pool_admission's own params.path), but PolicyMiddleware builds an// input.path for every leaf, so every case sets one.- path string- body string+ path string+ body string+ additionalMethods []string}// characterizationCases lists the parameter cases for every route. A route with@@ -179,6 +180,7 @@ func characterizationCases() map[string][]routeCase {simple("/api/usage/overview", "/api/usage/overview")simple("/api/usage/pool", "/api/usage/pool")simple("/api/usage/browser-timings", "/api/usage/browser-timings")+ simple("/api/image-uploads/presign", "/api/image-uploads/presign")simple("/api/chat/conversations", "/api/chat/conversations")simple("/api/billing/summary", "/api/billing/summary")simple("/api/billing/usage", "/api/billing/usage")@@ -282,9 +284,10 @@ func characterizationCases() map[string][]routeCase {// list, the admin escape hatch over it, the GitHub namespace grant, and the// pool-admission leaf reading the body.k8sPaths := []struct {- name string- path string- body string+ name string+ path string+ body string+ additionalMethods []string}{{name: "namespaced-pods", path: "api/v1/namespaces/ns-a/pods"},{name: "cluster-nodes", path: "api/v1/nodes"},@@ -295,6 +298,11 @@ func characterizationCases() map[string][]routeCase {{name: "granted-ns-pools", path: "apis/cua.ai/v1/namespaces/ns-a/osgymworkspacepools"},{name: "ungranted-ns-pools", path: "apis/cua.ai/v1/namespaces/ns-b/osgymworkspacepools"},{name: "granted-ns-claims", path: "apis/osgym.cua.ai/v1alpha1/namespaces/ns-a/osgymsandboxclaims"},+ {name: "image-collection", path: "apis/images.cua.ai/v1alpha1/namespaces/ns-a/images"},+ {name: "image-item", path: "apis/images.cua.ai/v1alpha1/namespaces/ns-a/images/image-demo", additionalMethods: []string{http.MethodPut}},+ {name: "image-status", path: "apis/images.cua.ai/v1alpha1/namespaces/ns-a/images/image-demo/status"},+ {name: "cluster-images", path: "apis/images.cua.ai/v1alpha1/images"},+ {name: "image-group-builders", path: "apis/images.cua.ai/v1alpha1/namespaces/ns-a/builders"},// The event feed, in each of the four addressing forms the apiserver// serves it under, crossed with the two API groups that serve it. These// are the only k8s paths every principal shape is denied on — including@@ -372,10 +380,11 @@ func characterizationCases() map[string][]routeCase {body = "{}"}k8s = append(k8s, routeCase{- name: k8sPath.name,- params: map[string]string{"path": k8sPath.path},- path: "/api/k8s/" + k8sPath.path,- body: body,+ name: k8sPath.name,+ params: map[string]string{"path": k8sPath.path},+ path: "/api/k8s/" + k8sPath.path,+ body: body,+ additionalMethods: k8sPath.additionalMethods,})}cases["/api/k8s/{path...}"] = k8s@@ -465,7 +474,11 @@ recorded. Add at least one parameter case for it.`, route)surface, _ := RouteSurface(route)plan := plans[surface]for _, testCase := range cases[route] {- for _, method := range characterizationMethods {+ methods := characterizationMethods+ if len(testCase.additionalMethods) > 0 {+ methods = append(append([]string{}, characterizationMethods...), testCase.additionalMethods...)+ }+ for _, method := range methods {for _, principal := range principals {request := characterizationRequest(route, testCase, method, principal.user)result := plan.eval(request.Context(), newRequestPolicyInput(request, plan.bodyBudget))diff --git a/libs/fleet/backend/auth/policy_routes.go b/libs/fleet/backend/auth/policy_routes.goindex cb589934af..d8b71b53ee 100644--- a/libs/fleet/backend/auth/policy_routes.go+++ b/libs/fleet/backend/auth/policy_routes.go@@ -185,6 +185,12 @@ func AccountLookupRoutePolicy() Node {return All(BasePolicy(), surfaceLeaf("authz-account-lookup", "data.authz_account_lookup.allow"))}+// ImageUploadsRoutePolicy guards bounded image upload signing. Namespace ownership+// is evaluated by the handler because the namespace is carried in the JSON body.+func ImageUploadsRoutePolicy() Node {+ return All(BasePolicy(), surfaceLeaf("authz-image-uploads", "data.authz_image_uploads.allow"))+}+// K8sRoutePolicy guards /api/k8s/{path...}. It is the same base + surface shape// as every other route, with Image namespace ownership and four admission conjuncts: card-or-admin admission// for custom-resource creation, pool admission over the request body, and@@ -311,6 +317,7 @@ var surfacePolicies = map[string]surfacePolicy{"signed-service-urls": {tree: SignedServiceURLsRoutePolicy},"state-query": {tree: StateQueryRoutePolicy},"feature-flags": {tree: FeatureFlagsRoutePolicy, options: []MiddlewareOption{WithDeniedAudit("feature_flag_admin", featureFlagAuditBodyLimit), WithAdminAPIErrorResponses(), WithFreshAdminAuthorization()}},+ "image-uploads": {tree: ImageUploadsRoutePolicy},"k8s": {tree: K8sRoutePolicy,options: []MiddlewareOption{WithDeniedMessage("k8s request is not allowed")},@@ -333,6 +340,7 @@ var routeSurfaces = map[string]string{"/api/usage/overview": "usage","/api/usage/pool": "usage","/api/usage/browser-timings": "usage",+ "/api/image-uploads/presign": "image-uploads","/api/chat/conversations": "chat","/api/chat/conversations/{id}": "chat",diff --git a/libs/fleet/backend/auth/testdata/image-uploads-route-plan.txt b/libs/fleet/backend/auth/testdata/image-uploads-route-plan.txtnew file mode 100644index 0000000000..5186cb9892--- /dev/null+++ b/libs/fleet/backend/auth/testdata/image-uploads-route-plan.txt@@ -0,0 +1,3 @@+All+ Leaf query=data.authz_base.allow source=registered:authz-base+ Leaf query=data.authz_image_uploads.allow source=multi["registered:authz","registered:authz-image-uploads"]diff --git a/libs/fleet/backend/auth/testdata/route-authorization-table.txt b/libs/fleet/backend/auth/testdata/route-authorization-table.txtindex 0838bef52a..c0957c7a5a 100644--- a/libs/fleet/backend/auth/testdata/route-authorization-table.txt+++ b/libs/fleet/backend/auth/testdata/route-authorization-table.txt@@ -933,6 +933,61 @@/api/github-trust-policies/{id} | id | QUERY | spa = allow/api/github-trust-policies/{id} | id | QUERY | user-key = deny/api/github-trust-policies/{id} | id | QUERY | user-key-verified = allow+/api/image-uploads/presign | plain | DELETE | admin-spa = allow+/api/image-uploads/presign | plain | DELETE | cua-cli = allow+/api/image-uploads/presign | plain | DELETE | dcr-client = deny+/api/image-uploads/presign | plain | DELETE | empty-sub = deny+/api/image-uploads/presign | plain | DELETE | github-oidc = allow+/api/image-uploads/presign | plain | DELETE | oauth2-proxy = deny+/api/image-uploads/presign | plain | DELETE | per-key-other-ns = allow+/api/image-uploads/presign | plain | DELETE | per-key-owned-ns = allow+/api/image-uploads/presign | plain | DELETE | spa = allow+/api/image-uploads/presign | plain | DELETE | user-key = allow+/api/image-uploads/presign | plain | DELETE | user-key-verified = allow+/api/image-uploads/presign | plain | GET | admin-spa = allow+/api/image-uploads/presign | plain | GET | cua-cli = allow+/api/image-uploads/presign | plain | GET | dcr-client = deny+/api/image-uploads/presign | plain | GET | empty-sub = deny+/api/image-uploads/presign | plain | GET | github-oidc = allow+/api/image-uploads/presign | plain | GET | oauth2-proxy = deny+/api/image-uploads/presign | plain | GET | per-key-other-ns = allow+/api/image-uploads/presign | plain | GET | per-key-owned-ns = allow+/api/image-uploads/presign | plain | GET | spa = allow+/api/image-uploads/presign | plain | GET | user-key = allow+/api/image-uploads/presign | plain | GET | user-key-verified = allow+/api/image-uploads/presign | plain | PATCH | admin-spa = allow+/api/image-uploads/presign | plain | PATCH | cua-cli = allow+/api/image-uploads/presign | plain | PATCH | dcr-client = deny+/api/image-uploads/presign | plain | PATCH | empty-sub = deny+/api/image-uploads/presign | plain | PATCH | github-oidc = allow+/api/image-uploads/presign | plain | PATCH | oauth2-proxy = deny+/api/image-uploads/presign | plain | PATCH | per-key-other-ns = allow+/api/image-uploads/presign | plain | PATCH | per-key-owned-ns = allow+/api/image-uploads/presign | plain | PATCH | spa = allow+/api/image-uploads/presign | plain | PATCH | user-key = allow+/api/image-uploads/presign | plain | PATCH | user-key-verified = allow+/api/image-uploads/presign | plain | POST | admin-spa = allow+/api/image-uploads/presign | plain | POST | cua-cli = allow+/api/image-uploads/presign | plain | POST | dcr-client = deny+/api/image-uploads/presign | plain | POST | empty-sub = deny+/api/image-uploads/presign | plain | POST | github-oidc = allow+/api/image-uploads/presign | plain | POST | oauth2-proxy = deny+/api/image-uploads/presign | plain | POST | per-key-other-ns = allow+/api/image-uploads/presign | plain | POST | per-key-owned-ns = allow+/api/image-uploads/presign | plain | POST | spa = allow+/api/image-uploads/presign | plain | POST | user-key = allow+/api/image-uploads/presign | plain | POST | user-key-verified = allow+/api/image-uploads/presign | plain | QUERY | admin-spa = allow+/api/image-uploads/presign | plain | QUERY | cua-cli = allow+/api/image-uploads/presign | plain | QUERY | dcr-client = deny+/api/image-uploads/presign | plain | QUERY | empty-sub = deny+/api/image-uploads/presign | plain | QUERY | github-oidc = allow+/api/image-uploads/presign | plain | QUERY | oauth2-proxy = deny+/api/image-uploads/presign | plain | QUERY | per-key-other-ns = allow+/api/image-uploads/presign | plain | QUERY | per-key-owned-ns = allow+/api/image-uploads/presign | plain | QUERY | spa = allow+/api/image-uploads/presign | plain | QUERY | user-key = allow+/api/image-uploads/presign | plain | QUERY | user-key-verified = allow/api/k8s/{path...} | capsule-tenants | DELETE | admin-spa = deny/api/k8s/{path...} | capsule-tenants | DELETE | cua-cli = deny/api/k8s/{path...} | capsule-tenants | DELETE | dcr-client = deny@@ -1208,6 +1263,61 @@/api/k8s/{path...} | cluster-events | QUERY | spa = deny/api/k8s/{path...} | cluster-events | QUERY | user-key = deny/api/k8s/{path...} | cluster-events | QUERY | user-key-verified = deny+/api/k8s/{path...} | cluster-images | DELETE | admin-spa = deny+/api/k8s/{path...} | cluster-images | DELETE | cua-cli = deny+/api/k8s/{path...} | cluster-images | DELETE | dcr-client = deny+/api/k8s/{path...} | cluster-images | DELETE | empty-sub = deny+/api/k8s/{path...} | cluster-images | DELETE | github-oidc = deny+/api/k8s/{path...} | cluster-images | DELETE | oauth2-proxy = deny+/api/k8s/{path...} | cluster-images | DELETE | per-key-other-ns = deny+/api/k8s/{path...} | cluster-images | DELETE | per-key-owned-ns = deny+/api/k8s/{path...} | cluster-images | DELETE | spa = deny+/api/k8s/{path...} | cluster-images | DELETE | user-key = deny+/api/k8s/{path...} | cluster-images | DELETE | user-key-verified = deny+/api/k8s/{path...} | cluster-images | GET | admin-spa = deny+/api/k8s/{path...} | cluster-images | GET | cua-cli = deny+/api/k8s/{path...} | cluster-images | GET | dcr-client = deny+/api/k8s/{path...} | cluster-images | GET | empty-sub = deny+/api/k8s/{path...} | cluster-images | GET | github-oidc = deny+/api/k8s/{path...} | cluster-images | GET | oauth2-proxy = deny+/api/k8s/{path...} | cluster-images | GET | per-key-other-ns = deny+/api/k8s/{path...} | cluster-images | GET | per-key-owned-ns = deny+/api/k8s/{path...} | cluster-images | GET | spa = deny+/api/k8s/{path...} | cluster-images | GET | user-key = deny+/api/k8s/{path...} | cluster-images | GET | user-key-verified = deny+/api/k8s/{path...} | cluster-images | PATCH | admin-spa = deny+/api/k8s/{path...} | cluster-images | PATCH | cua-cli = deny+/api/k8s/{path...} | cluster-images | PATCH | dcr-client = deny+/api/k8s/{path...} | cluster-images | PATCH | empty-sub = deny+/api/k8s/{path...} | cluster-images | PATCH | github-oidc = deny+/api/k8s/{path...} | cluster-images | PATCH | oauth2-proxy = deny+/api/k8s/{path...} | cluster-images | PATCH | per-key-other-ns = deny+/api/k8s/{path...} | cluster-images | PATCH | per-key-owned-ns = deny+/api/k8s/{path...} | cluster-images | PATCH | spa = deny+/api/k8s/{path...} | cluster-images | PATCH | user-key = deny+/api/k8s/{path...} | cluster-images | PATCH | user-key-verified = deny+/api/k8s/{path...} | cluster-images | POST | admin-spa = deny+/api/k8s/{path...} | cluster-images | POST | cua-cli = deny+/api/k8s/{path...} | cluster-images | POST | dcr-client = deny+/api/k8s/{path...} | cluster-images | POST | empty-sub = deny+/api/k8s/{path...} | cluster-images | POST | github-oidc = deny+/api/k8s/{path...} | cluster-images | POST | oauth2-proxy = deny+/api/k8s/{path...} | cluster-images | POST | per-key-other-ns = deny+/api/k8s/{path...} | cluster-images | POST | per-key-owned-ns = deny+/api/k8s/{path...} | cluster-images | POST | spa = deny+/api/k8s/{path...} | cluster-images | POST | user-key = deny+/api/k8s/{path...} | cluster-images | POST | user-key-verified = deny+/api/k8s/{path...} | cluster-images | QUERY | admin-spa = deny+/api/k8s/{path...} | cluster-images | QUERY | cua-cli = deny+/api/k8s/{path...} | cluster-images | QUERY | dcr-client = deny+/api/k8s/{path...} | cluster-images | QUERY | empty-sub = deny+/api/k8s/{path...} | cluster-images | QUERY | github-oidc = deny+/api/k8s/{path...} | cluster-images | QUERY | oauth2-proxy = deny+/api/k8s/{path...} | cluster-images | QUERY | per-key-other-ns = deny+/api/k8s/{path...} | cluster-images | QUERY | per-key-owned-ns = deny+/api/k8s/{path...} | cluster-images | QUERY | spa = deny+/api/k8s/{path...} | cluster-images | QUERY | user-key = deny+/api/k8s/{path...} | cluster-images | QUERY | user-key-verified = deny/api/k8s/{path...} | cluster-nodes | DELETE | admin-spa = deny/api/k8s/{path...} | cluster-nodes | DELETE | cua-cli = deny/api/k8s/{path...} | cluster-nodes | DELETE | dcr-client = deny@@ -1703,6 +1813,237 @@/api/k8s/{path...} | group-namespaced-events | QUERY | spa = deny/api/k8s/{path...} | group-namespaced-events | QUERY | user-key = deny/api/k8s/{path...} | group-namespaced-events | QUERY | user-key-verified = deny+/api/k8s/{path...} | image-collection | DELETE | admin-spa = deny+/api/k8s/{path...} | image-collection | DELETE | cua-cli = deny+/api/k8s/{path...} | image-collection | DELETE | dcr-client = deny+/api/k8s/{path...} | image-collection | DELETE | empty-sub = deny+/api/k8s/{path...} | image-collection | DELETE | github-oidc = deny+/api/k8s/{path...} | image-collection | DELETE | oauth2-proxy = deny+/api/k8s/{path...} | image-collection | DELETE | per-key-other-ns = deny+/api/k8s/{path...} | image-collection | DELETE | per-key-owned-ns = deny+/api/k8s/{path...} | image-collection | DELETE | spa = deny+/api/k8s/{path...} | image-collection | DELETE | user-key = deny+/api/k8s/{path...} | image-collection | DELETE | user-key-verified = deny+/api/k8s/{path...} | image-collection | GET | admin-spa = allow+/api/k8s/{path...} | image-collection | GET | cua-cli = allow+/api/k8s/{path...} | image-collection | GET | dcr-client = deny+/api/k8s/{path...} | image-collection | GET | empty-sub = deny+/api/k8s/{path...} | image-collection | GET | github-oidc = allow+/api/k8s/{path...} | image-collection | GET | oauth2-proxy = deny+/api/k8s/{path...} | image-collection | GET | per-key-other-ns = deny+/api/k8s/{path...} | image-collection | GET | per-key-owned-ns = deny+/api/k8s/{path...} | image-collection | GET | spa = allow+/api/k8s/{path...} | image-collection | GET | user-key = allow+/api/k8s/{path...} | image-collection | GET | user-key-verified = allow+/api/k8s/{path...} | image-collection | PATCH | admin-spa = deny+/api/k8s/{path...} | image-collection | PATCH | cua-cli = deny+/api/k8s/{path...} | image-collection | PATCH | dcr-client = deny+/api/k8s/{path...} | image-collection | PATCH | empty-sub = deny+/api/k8s/{path...} | image-collection | PATCH | github-oidc = deny+/api/k8s/{path...} | image-collection | PATCH | oauth2-proxy = deny+/api/k8s/{path...} | image-collection | PATCH | per-key-other-ns = deny+/api/k8s/{path...} | image-collection | PATCH | per-key-owned-ns = deny+/api/k8s/{path...} | image-collection | PATCH | spa = deny+/api/k8s/{path...} | image-collection | PATCH | user-key = deny+/api/k8s/{path...} | image-collection | PATCH | user-key-verified = deny+/api/k8s/{path...} | image-collection | POST | admin-spa = allow+/api/k8s/{path...} | image-collection | POST | cua-cli = allow+/api/k8s/{path...} | image-collection | POST | dcr-client = deny+/api/k8s/{path...} | image-collection | POST | empty-sub = deny+/api/k8s/{path...} | image-collection | POST | github-oidc = allow+/api/k8s/{path...} | image-collection | POST | oauth2-proxy = deny+/api/k8s/{path...} | image-collection | POST | per-key-other-ns = deny+/api/k8s/{path...} | image-collection | POST | per-key-owned-ns = deny+/api/k8s/{path...} | image-collection | POST | spa = allow+/api/k8s/{path...} | image-collection | POST | user-key = allow+/api/k8s/{path...} | image-collection | POST | user-key-verified = allow+/api/k8s/{path...} | image-collection | QUERY | admin-spa = deny+/api/k8s/{path...} | image-collection | QUERY | cua-cli = deny+/api/k8s/{path...} | image-collection | QUERY | dcr-client = deny+/api/k8s/{path...} | image-collection | QUERY | empty-sub = deny+/api/k8s/{path...} | image-collection | QUERY | github-oidc = deny+/api/k8s/{path...} | image-collection | QUERY | oauth2-proxy = deny+/api/k8s/{path...} | image-collection | QUERY | per-key-other-ns = deny+/api/k8s/{path...} | image-collection | QUERY | per-key-owned-ns = deny+/api/k8s/{path...} | image-collection | QUERY | spa = deny+/api/k8s/{path...} | image-collection | QUERY | user-key = deny+/api/k8s/{path...} | image-collection | QUERY | user-key-verified = deny+/api/k8s/{path...} | image-group-builders | DELETE | admin-spa = deny+/api/k8s/{path...} | image-group-builders | DELETE | cua-cli = deny+/api/k8s/{path...} | image-group-builders | DELETE | dcr-client = deny+/api/k8s/{path...} | image-group-builders | DELETE | empty-sub = deny+/api/k8s/{path...} | image-group-builders | DELETE | github-oidc = deny+/api/k8s/{path...} | image-group-builders | DELETE | oauth2-proxy = deny+/api/k8s/{path...} | image-group-builders | DELETE | per-key-other-ns = deny+/api/k8s/{path...} | image-group-builders | DELETE | per-key-owned-ns = deny+/api/k8s/{path...} | image-group-builders | DELETE | spa = deny+/api/k8s/{path...} | image-group-builders | DELETE | user-key = deny+/api/k8s/{path...} | image-group-builders | DELETE | user-key-verified = deny+/api/k8s/{path...} | image-group-builders | GET | admin-spa = deny+/api/k8s/{path...} | image-group-builders | GET | cua-cli = deny+/api/k8s/{path...} | image-group-builders | GET | dcr-client = deny+/api/k8s/{path...} | image-group-builders | GET | empty-sub = deny+/api/k8s/{path...} | image-group-builders | GET | github-oidc = deny+/api/k8s/{path...} | image-group-builders | GET | oauth2-proxy = deny+/api/k8s/{path...} | image-group-builders | GET | per-key-other-ns = deny+/api/k8s/{path...} | image-group-builders | GET | per-key-owned-ns = deny+/api/k8s/{path...} | image-group-builders | GET | spa = deny+/api/k8s/{path...} | image-group-builders | GET | user-key = deny+/api/k8s/{path...} | image-group-builders | GET | user-key-verified = deny+/api/k8s/{path...} | image-group-builders | PATCH | admin-spa = deny+/api/k8s/{path...} | image-group-builders | PATCH | cua-cli = deny+/api/k8s/{path...} | image-group-builders | PATCH | dcr-client = deny+/api/k8s/{path...} | image-group-builders | PATCH | empty-sub = deny+/api/k8s/{path...} | image-group-builders | PATCH | github-oidc = deny+/api/k8s/{path...} | image-group-builders | PATCH | oauth2-proxy = deny+/api/k8s/{path...} | image-group-builders | PATCH | per-key-other-ns = deny+/api/k8s/{path...} | image-group-builders | PATCH | per-key-owned-ns = deny+/api/k8s/{path...} | image-group-builders | PATCH | spa = deny+/api/k8s/{path...} | image-group-builders | PATCH | user-key = deny+/api/k8s/{path...} | image-group-builders | PATCH | user-key-verified = deny+/api/k8s/{path...} | image-group-builders | POST | admin-spa = deny+/api/k8s/{path...} | image-group-builders | POST | cua-cli = deny+/api/k8s/{path...} | image-group-builders | POST | dcr-client = deny+/api/k8s/{path...} | image-group-builders | POST | empty-sub = deny+/api/k8s/{path...} | image-group-builders | POST | github-oidc = deny+/api/k8s/{path...} | image-group-builders | POST | oauth2-proxy = deny+/api/k8s/{path...} | image-group-builders | POST | per-key-other-ns = deny+/api/k8s/{path...} | image-group-builders | POST | per-key-owned-ns = deny+/api/k8s/{path...} | image-group-builders | POST | spa = deny+/api/k8s/{path...} | image-group-builders | POST | user-key = deny+/api/k8s/{path...} | image-group-builders | POST | user-key-verified = deny+/api/k8s/{path...} | image-group-builders | QUERY | admin-spa = deny+/api/k8s/{path...} | image-group-builders | QUERY | cua-cli = deny+/api/k8s/{path...} | image-group-builders | QUERY | dcr-client = deny+/api/k8s/{path...} | image-group-builders | QUERY | empty-sub = deny+/api/k8s/{path...} | image-group-builders | QUERY | github-oidc = deny+/api/k8s/{path...} | image-group-builders | QUERY | oauth2-proxy = deny+/api/k8s/{path...} | image-group-builders | QUERY | per-key-other-ns = deny+/api/k8s/{path...} | image-group-builders | QUERY | per-key-owned-ns = deny+/api/k8s/{path...} | image-group-builders | QUERY | spa = deny+/api/k8s/{path...} | image-group-builders | QUERY | user-key = deny+/api/k8s/{path...} | image-group-builders | QUERY | user-key-verified = deny+/api/k8s/{path...} | image-item | DELETE | admin-spa = allow+/api/k8s/{path...} | image-item | DELETE | cua-cli = allow+/api/k8s/{path...} | image-item | DELETE | dcr-client = deny+/api/k8s/{path...} | image-item | DELETE | empty-sub = deny+/api/k8s/{path...} | image-item | DELETE | github-oidc = allow+/api/k8s/{path...} | image-item | DELETE | oauth2-proxy = deny+/api/k8s/{path...} | image-item | DELETE | per-key-other-ns = deny+/api/k8s/{path...} | image-item | DELETE | per-key-owned-ns = deny+/api/k8s/{path...} | image-item | DELETE | spa = allow+/api/k8s/{path...} | image-item | DELETE | user-key = allow+/api/k8s/{path...} | image-item | DELETE | user-key-verified = allow+/api/k8s/{path...} | image-item | GET | admin-spa = allow+/api/k8s/{path...} | image-item | GET | cua-cli = allow+/api/k8s/{path...} | image-item | GET | dcr-client = deny+/api/k8s/{path...} | image-item | GET | empty-sub = deny+/api/k8s/{path...} | image-item | GET | github-oidc = allow+/api/k8s/{path...} | image-item | GET | oauth2-proxy = deny+/api/k8s/{path...} | image-item | GET | per-key-other-ns = deny+/api/k8s/{path...} | image-item | GET | per-key-owned-ns = deny+/api/k8s/{path...} | image-item | GET | spa = allow+/api/k8s/{path...} | image-item | GET | user-key = allow+/api/k8s/{path...} | image-item | GET | user-key-verified = allow+/api/k8s/{path...} | image-item | PATCH | admin-spa = deny+/api/k8s/{path...} | image-item | PATCH | cua-cli = deny+/api/k8s/{path...} | image-item | PATCH | dcr-client = deny+/api/k8s/{path...} | image-item | PATCH | empty-sub = deny+/api/k8s/{path...} | image-item | PATCH | github-oidc = deny+/api/k8s/{path...} | image-item | PATCH | oauth2-proxy = deny+/api/k8s/{path...} | image-item | PATCH | per-key-other-ns = deny+/api/k8s/{path...} | image-item | PATCH | per-key-owned-ns = deny+/api/k8s/{path...} | image-item | PATCH | spa = deny+/api/k8s/{path...} | image-item | PATCH | user-key = deny+/api/k8s/{path...} | image-item | PATCH | user-key-verified = deny+/api/k8s/{path...} | image-item | POST | admin-spa = deny+/api/k8s/{path...} | image-item | POST | cua-cli = deny+/api/k8s/{path...} | image-item | POST | dcr-client = deny+/api/k8s/{path...} | image-item | POST | empty-sub = deny+/api/k8s/{path...} | image-item | POST | github-oidc = deny+/api/k8s/{path...} | image-item | POST | oauth2-proxy = deny+/api/k8s/{path...} | image-item | POST | per-key-other-ns = deny+/api/k8s/{path...} | image-item | POST | per-key-owned-ns = deny+/api/k8s/{path...} | image-item | POST | spa = deny+/api/k8s/{path...} | image-item | POST | user-key = deny+/api/k8s/{path...} | image-item | POST | user-key-verified = deny+/api/k8s/{path...} | image-item | PUT | admin-spa = deny+/api/k8s/{path...} | image-item | PUT | cua-cli = deny+/api/k8s/{path...} | image-item | PUT | dcr-client = deny+/api/k8s/{path...} | image-item | PUT | empty-sub = deny+/api/k8s/{path...} | image-item | PUT | github-oidc = deny+/api/k8s/{path...} | image-item | PUT | oauth2-proxy = deny+/api/k8s/{path...} | image-item | PUT | per-key-other-ns = deny+/api/k8s/{path...} | image-item | PUT | per-key-owned-ns = deny+/api/k8s/{path...} | image-item | PUT | spa = deny+/api/k8s/{path...} | image-item | PUT | user-key = deny+/api/k8s/{path...} | image-item | PUT | user-key-verified = deny+/api/k8s/{path...} | image-item | QUERY | admin-spa = deny+/api/k8s/{path...} | image-item | QUERY | cua-cli = deny+/api/k8s/{path...} | image-item | QUERY | dcr-client = deny+/api/k8s/{path...} | image-item | QUERY | empty-sub = deny+/api/k8s/{path...} | image-item | QUERY | github-oidc = deny+/api/k8s/{path...} | image-item | QUERY | oauth2-proxy = deny+/api/k8s/{path...} | image-item | QUERY | per-key-other-ns = deny+/api/k8s/{path...} | image-item | QUERY | per-key-owned-ns = deny+/api/k8s/{path...} | image-item | QUERY | spa = deny+/api/k8s/{path...} | image-item | QUERY | user-key = deny+/api/k8s/{path...} | image-item | QUERY | user-key-verified = deny+/api/k8s/{path...} | image-status | DELETE | admin-spa = deny+/api/k8s/{path...} | image-status | DELETE | cua-cli = deny+/api/k8s/{path...} | image-status | DELETE | dcr-client = deny+/api/k8s/{path...} | image-status | DELETE | empty-sub = deny+/api/k8s/{path...} | image-status | DELETE | github-oidc = deny+/api/k8s/{path...} | image-status | DELETE | oauth2-proxy = deny+/api/k8s/{path...} | image-status | DELETE | per-key-other-ns = deny+/api/k8s/{path...} | image-status | DELETE | per-key-owned-ns = deny+/api/k8s/{path...} | image-status | DELETE | spa = deny+/api/k8s/{path...} | image-status | DELETE | user-key = deny+/api/k8s/{path...} | image-status | DELETE | user-key-verified = deny+/api/k8s/{path...} | image-status | GET | admin-spa = deny+/api/k8s/{path...} | image-status | GET | cua-cli = deny+/api/k8s/{path...} | image-status | GET | dcr-client = deny+/api/k8s/{path...} | image-status | GET | empty-sub = deny+/api/k8s/{path...} | image-status | GET | github-oidc = deny+/api/k8s/{path...} | image-status | GET | oauth2-proxy = deny+/api/k8s/{path...} | image-status | GET | per-key-other-ns = deny+/api/k8s/{path...} | image-status | GET | per-key-owned-ns = deny+/api/k8s/{path...} | image-status | GET | spa = deny+/api/k8s/{path...} | image-status | GET | user-key = deny+/api/k8s/{path...} | image-status | GET | user-key-verified = deny+/api/k8s/{path...} | image-status | PATCH | admin-spa = deny+/api/k8s/{path...} | image-status | PATCH | cua-cli = deny+/api/k8s/{path...} | image-status | PATCH | dcr-client = deny+/api/k8s/{path...} | image-status | PATCH | empty-sub = deny+/api/k8s/{path...} | image-status | PATCH | github-oidc = deny+/api/k8s/{path...} | image-status | PATCH | oauth2-proxy = deny+/api/k8s/{path...} | image-status | PATCH | per-key-other-ns = deny+/api/k8s/{path...} | image-status | PATCH | per-key-owned-ns = deny+/api/k8s/{path...} | image-status | PATCH | spa = deny+/api/k8s/{path...} | image-status | PATCH | user-key = deny+/api/k8s/{path...} | image-status | PATCH | user-key-verified = deny+/api/k8s/{path...} | image-status | POST | admin-spa = deny+/api/k8s/{path...} | image-status | POST | cua-cli = deny+/api/k8s/{path...} | image-status | POST | dcr-client = deny+/api/k8s/{path...} | image-status | POST | empty-sub = deny+/api/k8s/{path...} | image-status | POST | github-oidc = deny+/api/k8s/{path...} | image-status | POST | oauth2-proxy = deny+/api/k8s/{path...} | image-status | POST | per-key-other-ns = deny+/api/k8s/{path...} | image-status | POST | per-key-owned-ns = deny+/api/k8s/{path...} | image-status | POST | spa = deny+/api/k8s/{path...} | image-status | POST | user-key = deny+/api/k8s/{path...} | image-status | POST | user-key-verified = deny+/api/k8s/{path...} | image-status | QUERY | admin-spa = deny+/api/k8s/{path...} | image-status | QUERY | cua-cli = deny+/api/k8s/{path...} | image-status | QUERY | dcr-client = deny+/api/k8s/{path...} | image-status | QUERY | empty-sub = deny+/api/k8s/{path...} | image-status | QUERY | github-oidc = deny+/api/k8s/{path...} | image-status | QUERY | oauth2-proxy = deny+/api/k8s/{path...} | image-status | QUERY | per-key-other-ns = deny+/api/k8s/{path...} | image-status | QUERY | per-key-owned-ns = deny+/api/k8s/{path...} | image-status | QUERY | spa = deny+/api/k8s/{path...} | image-status | QUERY | user-key = deny+/api/k8s/{path...} | image-status | QUERY | user-key-verified = deny/api/k8s/{path...} | legacy-watch-cluster-nodes | DELETE | admin-spa = deny/api/k8s/{path...} | legacy-watch-cluster-nodes | DELETE | cua-cli = deny/api/k8s/{path...} | legacy-watch-cluster-nodes | DELETE | dcr-client = denydiff --git a/libs/fleet/backend/config/config.go b/libs/fleet/backend/config/config.goindex 20749773c6..f3088ee2d4 100644--- a/libs/fleet/backend/config/config.go+++ b/libs/fleet/backend/config/config.go@@ -40,6 +40,7 @@ type Configuration struct {Usage UsageConfigurationProductAnalytics ProductAnalyticsConfigurationSignedServiceURL SignedServiceURLConfiguration+ ImageUploads ImageUploadConfiguration}type WebServerConfiguration struct {@@ -164,6 +165,14 @@ type ProductAnalyticsConfiguration struct {ExcludedSubjects []string}+type ImageUploadConfiguration struct {+ Bucket string+ Region string+ URLLifetime time.Duration+ MaxFileBytes int64+ MaxFilesPerRequest int+}+type TelemetryConfiguration struct {Endpoint string // OTEL_EXPORTER_OTLP_ENDPOINTProtocol string // OTEL_EXPORTER_OTLP_PROTOCOL@@ -231,6 +240,11 @@ var specs = []flagSpec{{"product-analytics.project-token", "posthog-project-token", "POSTHOG_PROJECT_TOKEN", "", "PostHog project token"},{"product-analytics.identity-key", "posthog-identity-key", "POSTHOG_IDENTITY_KEY", "", "Key for pseudonymous product analytics identity"},{"product-analytics.excluded-subjects", "fleet-analytics-excluded-subs", "FLEET_ANALYTICS_EXCLUDED_SUBS", "", "Comma-separated Keycloak subjects excluded from analytics"},+ {"image-uploads.bucket", "image-upload-bucket", "IMAGE_UPLOAD_BUCKET", "", "S3 bucket for presigned image uploads"},+ {"image-uploads.region", "image-upload-region", "IMAGE_UPLOAD_REGION", "us-east-1", "AWS region for presigned image uploads"},+ {"image-uploads.url-lifetime", "image-upload-url-lifetime", "IMAGE_UPLOAD_URL_LIFETIME", "15m", "Lifetime for presigned image upload URLs"},+ {"image-uploads.max-file-bytes", "image-upload-max-file-bytes", "IMAGE_UPLOAD_MAX_FILE_BYTES", "5368709120", "Maximum bytes in one image upload file"},+ {"image-uploads.max-files-per-request", "image-upload-max-files-per-request", "IMAGE_UPLOAD_MAX_FILES_PER_REQUEST", "32", "Maximum image files in one signing request"},{"telemetry.endpoint", "otel-endpoint", "OTEL_EXPORTER_OTLP_ENDPOINT", "https://otel.cua.ai", "OTLP HTTP traces endpoint"},{"telemetry.protocol", "otel-protocol", "OTEL_EXPORTER_OTLP_PROTOCOL", "http/protobuf", "OTLP exporter protocol"},{"telemetry.service-name", "otel-service-name", "OTEL_SERVICE_NAME", "cyclops-cs-backend", "OTEL service.name"},@@ -275,6 +289,10 @@ func LoadConfig() (*Configuration, error) {if err != nil {return nil, err}+ imageUploadURLLifetime, err := time.ParseDuration(viper.GetString("image-uploads.url-lifetime"))+ if err != nil {+ return nil, fmt.Errorf("parse IMAGE_UPLOAD_URL_LIFETIME: %w", err)+ }base := strings.TrimRight(viper.GetString("kc.base-url"), "/")realm := viper.GetString("kc.realm")@@ -366,6 +384,13 @@ func LoadConfig() (*Configuration, error) {Environment: strings.TrimSpace(viper.GetString("telemetry.environment")),ExcludedSubjects: splitCommaSeparated(viper.GetString("product-analytics.excluded-subjects")),},+ ImageUploads: ImageUploadConfiguration{+ Bucket: strings.TrimSpace(viper.GetString("image-uploads.bucket")),+ Region: viper.GetString("image-uploads.region"),+ URLLifetime: imageUploadURLLifetime,+ MaxFileBytes: viper.GetInt64("image-uploads.max-file-bytes"),+ MaxFilesPerRequest: viper.GetInt("image-uploads.max-files-per-request"),+ },Telemetry: TelemetryConfiguration{Endpoint: viper.GetString("telemetry.endpoint"),Protocol: viper.GetString("telemetry.protocol"),@@ -387,6 +412,9 @@ func LoadConfig() (*Configuration, error) {if err := validateUsageConfiguration(cfg.Usage); err != nil {return nil, err}+ if cfg.ImageUploads.URLLifetime <= 0 || cfg.ImageUploads.MaxFileBytes <= 0 || cfg.ImageUploads.MaxFilesPerRequest <= 0 {+ return nil, fmt.Errorf("image upload bounds must be positive")+ }return cfg, nil}diff --git a/libs/fleet/backend/config/config_test.go b/libs/fleet/backend/config/config_test.goindex 8a9104b59e..ec7d2a7044 100644--- a/libs/fleet/backend/config/config_test.go+++ b/libs/fleet/backend/config/config_test.go@@ -1,6 +1,7 @@package configimport (+ "fmt""os""slices""strings"@@ -11,6 +12,26 @@ import ("github.com/spf13/viper")+func TestLoadConfig_ImageUploadsOptional(t *testing.T) {+ for _, value := range []string{"", " "} {+ t.Run(fmt.Sprintf("value_%q", value), func(t *testing.T) {+ viper.Reset()+ t.Cleanup(viper.Reset)+ t.Setenv("KC_ADMIN_CLIENT_SECRET", "secret")+ t.Setenv("IMAGE_UPLOAD_BUCKET", value)+ RegisterFlags(pflag.NewFlagSet("missing-image-upload-bucket", pflag.ContinueOnError))++ cfg, err := LoadConfig()+ if err != nil {+ t.Fatal(err)+ }+ if cfg.ImageUploads.Bucket != "" {+ t.Fatalf("Bucket = %q, want disabled uploads", cfg.ImageUploads.Bucket)+ }+ })+ }+}+func TestLoadConfig_UsesPublicIssuerForTokenURL(t *testing.T) {viper.Reset()t.Cleanup(viper.Reset)@@ -451,3 +472,35 @@ func TestLoadConfig_SignedServiceURLConfiguration(t *testing.T) {}})}++func TestLoadConfig_ImageUploadValues(t *testing.T) {+ viper.Reset()+ t.Cleanup(viper.Reset)+ t.Setenv("KC_ADMIN_CLIENT_SECRET", "test-secret")+ t.Setenv("IMAGE_UPLOAD_BUCKET", "fleet-uploads")+ t.Setenv("IMAGE_UPLOAD_REGION", "us-west-2")+ t.Setenv("IMAGE_UPLOAD_URL_LIFETIME", "10m")+ t.Setenv("IMAGE_UPLOAD_MAX_FILE_BYTES", "1234")+ t.Setenv("IMAGE_UPLOAD_MAX_FILES_PER_REQUEST", "3")+ RegisterFlags(pflag.NewFlagSet("image-upload-test", pflag.ContinueOnError))++ cfg, err := LoadConfig()+ if err != nil {+ t.Fatalf("LoadConfig() error = %v", err)+ }+ if got, want := cfg.ImageUploads.Bucket, "fleet-uploads"; got != want {+ t.Fatalf("Bucket = %q, want %q", got, want)+ }+ if got, want := cfg.ImageUploads.Region, "us-west-2"; got != want {+ t.Fatalf("Region = %q, want %q", got, want)+ }+ if got, want := cfg.ImageUploads.URLLifetime, 10*time.Minute; got != want {+ t.Fatalf("URLLifetime = %s, want %s", got, want)+ }+ if got, want := cfg.ImageUploads.MaxFileBytes, int64(1234); got != want {+ t.Fatalf("MaxFileBytes = %d, want %d", got, want)+ }+ if got, want := cfg.ImageUploads.MaxFilesPerRequest, 3; got != want {+ t.Fatalf("MaxFilesPerRequest = %d, want %d", got, want)+ }+}diff --git a/libs/fleet/backend/handlers/handlers.go b/libs/fleet/backend/handlers/handlers.goindex 0dd1fd9c8c..f2cff06a2b 100644--- a/libs/fleet/backend/handlers/handlers.go+++ b/libs/fleet/backend/handlers/handlers.go@@ -78,6 +78,9 @@ type Handlers struct {WorkloadAdmin *keycloak.AdminWorkloadAudience stringWorkloadTokenURL string++ ImageUploads config.ImageUploadConfiguration+ ImageObjects ImageObjectStore}func New(admin *keycloak.Admin, cfg *config.Configuration) Handlers {@@ -90,6 +93,7 @@ func New(admin *keycloak.Admin, cfg *config.Configuration) Handlers {KC: cfg.Keycloak,Stripe: cfg.Stripe,Analytics: productanalytics.Nop(),+ ImageUploads: cfg.ImageUploads,chatLocks: newConversationLockRegistry(),}}diff --git a/libs/fleet/backend/handlers/image_uploads.go b/libs/fleet/backend/handlers/image_uploads.gonew file mode 100644index 0000000000..454789ca44--- /dev/null+++ b/libs/fleet/backend/handlers/image_uploads.go@@ -0,0 +1,275 @@+package handlers++import (+ "context"+ "crypto/sha256"+ "encoding/base64"+ "encoding/hex"+ "encoding/json"+ "errors"+ "fmt"+ "io"+ "net/http"+ "regexp"+ "strings"+ "time"+ "unicode"+ "unicode/utf8"++ "cyclops-cs-backend/auth"++ "github.com/aws/aws-sdk-go-v2/aws"+ awsv4 "github.com/aws/aws-sdk-go-v2/aws/signer/v4"+ "github.com/aws/aws-sdk-go-v2/service/s3"+ s3types "github.com/aws/aws-sdk-go-v2/service/s3/types"+)++var imageDigest = regexp.MustCompile(`^sha256:[0-9a-f]{64}$`)++type ImageObjectStore interface {+ Exists(ctx context.Context, key string, size int64, digest string) (bool, error)+ PresignPut(ctx context.Context, key string, size int64, digest string, expires time.Duration) (string, http.Header, error)+}++type ImageUploadFileRequest struct {+ Digest string `json:"digest"`+ SizeBytes int64 `json:"sizeBytes"`+ Name string `json:"name"`+}++type ImageUploadRequest struct {+ Namespace string `json:"namespace"`+ Files []ImageUploadFileRequest `json:"files"`+}++type PresignedPut struct {+ Method string `json:"method"`+ URL string `json:"url"`+ Headers map[string]string `json:"headers"`+}++type ImageUploadInstruction struct {+ Digest string `json:"digest"`+ SizeBytes int64 `json:"sizeBytes"`+ Reference string `json:"reference"`+ Upload *PresignedPut `json:"upload,omitempty"`+}++type ImageUploadResponse struct {+ Files []ImageUploadInstruction `json:"files"`+}++// PresignImageUploads returns one stable opaque reference for each requested+// digest and, only when the exact object is absent, a short-lived PUT upload.+func (h Handlers) PresignImageUploads(w http.ResponseWriter, r *http.Request) {+ body, err := io.ReadAll(http.MaxBytesReader(w, r.Body, 1<<20))+ if err != nil || !utf8.Valid(body) {+ writeErr(w, http.StatusBadRequest, "invalid image upload request")+ return+ }+ var request ImageUploadRequest+ decoder := json.NewDecoder(strings.NewReader(string(body)))+ decoder.DisallowUnknownFields()+ if err := decoder.Decode(&request); err != nil {+ writeErr(w, http.StatusBadRequest, "invalid image upload request")+ return+ }+ if err := decoder.Decode(&struct{}{}); !errors.Is(err, io.EOF) {+ writeErr(w, http.StatusBadRequest, "invalid image upload request")+ return+ }+ if err := h.validateImageUploadRequest(request); err != nil {+ writeErr(w, http.StatusBadRequest, err.Error())+ return+ }++ user := currentUser(r)+ if user == nil || user.ID == "" {+ writeErr(w, http.StatusUnauthorized, "authentication required")+ return+ }+ if h.isPerKeyPrincipal(user) {+ if user.Namespace == "" || user.Namespace != request.Namespace {+ writeErr(w, http.StatusForbidden, "namespace access denied")+ return+ }+ } else if isGitHubPrincipal(user) {+ if !namespaceAllowed(user, request.Namespace) {+ writeErr(w, http.StatusForbidden, "namespace access denied")+ return+ }+ } else if !namespaceAllowed(user, request.Namespace) {+ allowed, err := h.userHasNamespaceRBAC(r.Context(), user.ID, request.Namespace)+ if err != nil || !allowed {+ writeErr(w, http.StatusForbidden, "namespace access denied")+ return+ }+ }+ if h.ImageObjects == nil {+ writeErr(w, http.StatusServiceUnavailable, "image uploads are unavailable")+ return+ }++ response := ImageUploadResponse{Files: make([]ImageUploadInstruction, 0, len(request.Files))}+ for _, file := range request.Files {+ key, reference := imageObjectNames(request.Namespace, file.Digest)+ exists, err := h.ImageObjects.Exists(r.Context(), key, file.SizeBytes, file.Digest)+ if err != nil {+ writeErr(w, http.StatusBadGateway, "image object lookup failed")+ return+ }+ instruction := ImageUploadInstruction{Digest: file.Digest, SizeBytes: file.SizeBytes, Reference: reference}+ if !exists {+ url, headers, err := h.ImageObjects.PresignPut(r.Context(), key, file.SizeBytes, file.Digest, h.ImageUploads.URLLifetime)+ if err != nil {+ writeErr(w, http.StatusBadGateway, "image upload signing failed")+ return+ }+ instruction.Upload = &PresignedPut{Method: http.MethodPut, URL: url, Headers: signedHeaders(headers)}+ }+ response.Files = append(response.Files, instruction)+ }+ writeJSON(w, http.StatusOK, response)+}++func (h Handlers) validateImageUploadRequest(request ImageUploadRequest) error {+ if len(request.Namespace) > 63 || !dnsLabel.MatchString(request.Namespace) {+ return errors.New("namespace must be a DNS label")+ }+ if len(request.Files) == 0 || len(request.Files) > h.ImageUploads.MaxFilesPerRequest {+ return errors.New("file count is outside configured bounds")+ }+ for _, file := range request.Files {+ if !imageDigest.MatchString(file.Digest) {+ return errors.New("digest must be a sha256 digest")+ }+ if file.SizeBytes <= 0 || file.SizeBytes > h.ImageUploads.MaxFileBytes {+ return errors.New("file size is outside configured bounds")+ }+ if err := validateImageUploadFileName(file.Name); err != nil {+ return err+ }+ }+ return nil+}++func (h Handlers) isPerKeyPrincipal(user *auth.User) bool {+ return h.AuthCfg.KeyClientPfx != "" && strings.HasPrefix(user.AZP, h.AuthCfg.KeyClientPfx)+}++func validateImageUploadFileName(name string) error {+ if name == "" || len(name) > 255 || strings.TrimSpace(name) == "" || name == "." || name == ".." ||+ strings.ContainsAny(name, `/\`) {+ return errors.New("file name must be a bounded base name")+ }+ for _, r := range name {+ if unicode.IsControl(r) {+ return errors.New("file name must not contain control characters")+ }+ }+ return nil+}++func imageObjectNames(namespace, digest string) (key, reference string) {+ tenantHash := sha256.Sum256([]byte(namespace))+ digestHash := sha256.Sum256([]byte(digest))+ tenantLabel := "tenant-" + hex.EncodeToString(tenantHash[:16])+ digestToken := base64.RawURLEncoding.EncodeToString(digestHash[:])+ return "tenants/" + namespace + "/images/" + digestToken,+ "uploads/" + tenantLabel + "/" + digestToken+}++func imageDigestChecksum(digest string) (string, error) {+ raw, err := hex.DecodeString(strings.TrimPrefix(digest, "sha256:"))+ if err != nil || len(raw) != sha256.Size {+ return "", fmt.Errorf("invalid sha256 digest")+ }+ return base64.StdEncoding.EncodeToString(raw), nil+}++func signedHeaders(headers http.Header) map[string]string {+ out := make(map[string]string, len(headers))+ for name, values := range headers {+ out[name] = strings.Join(values, ",")+ }+ return out+}++type s3ImageObjectStore struct {+ client *s3.Client+ presigner *s3.PresignClient+ bucket string+}++func NewS3ImageObjectStore(client *s3.Client, bucket string) ImageObjectStore {+ presigner := s3.NewPresignClient(client, func(options *s3.PresignOptions) {+ options.Presigner = checksumHeaderPresigner{signer: awsv4.NewSigner()}+ })+ return &s3ImageObjectStore{client: client, presigner: presigner, bucket: bucket}+}++type checksumHeaderPresigner struct {+ signer *awsv4.Signer+}++func (p checksumHeaderPresigner) PresignHTTP(+ ctx context.Context,+ credentials aws.Credentials,+ request *http.Request,+ payloadHash string,+ service string,+ region string,+ signingTime time.Time,+ options ...func(*awsv4.SignerOptions),+) (string, http.Header, error) {+ options = append(options, func(signerOptions *awsv4.SignerOptions) {+ signerOptions.DisableHeaderHoisting = true+ signerOptions.DisableURIPathEscaping = true+ })+ return p.signer.PresignHTTP(ctx, credentials, request, payloadHash, service, region, signingTime, options...)+}++func (s *s3ImageObjectStore) Exists(ctx context.Context, key string, size int64, digest string) (bool, error) {+ checksum, err := imageDigestChecksum(digest)+ if err != nil {+ return false, err+ }+ object, err := s.client.HeadObject(ctx, &s3.HeadObjectInput{+ Bucket: aws.String(s.bucket),+ Key: aws.String(key),+ ChecksumMode: s3types.ChecksumModeEnabled,+ })+ if err != nil {+ var notFound *s3types.NotFound+ if errors.As(err, ¬Found) {+ return false, nil+ }+ return false, err+ }+ if actual := aws.ToInt64(object.ContentLength); actual != size {+ return false, fmt.Errorf("stored image size mismatch: got %d, want %d", actual, size)+ }+ if actual := aws.ToString(object.ChecksumSHA256); actual != checksum {+ return false, fmt.Errorf("stored image checksum mismatch")+ }+ return true, nil+}++func (s *s3ImageObjectStore) PresignPut(ctx context.Context, key string, size int64, digest string, expires time.Duration) (string, http.Header, error) {+ checksum, err := imageDigestChecksum(digest)+ if err != nil {+ return "", nil, err+ }+ request, err := s.presigner.PresignPutObject(ctx, &s3.PutObjectInput{+ Bucket: aws.String(s.bucket),+ Key: aws.String(key),+ ContentLength: aws.Int64(size),+ ChecksumSHA256: aws.String(checksum),+ }, s3.WithPresignExpires(expires))+ if err != nil {+ return "", nil, err+ }+ return request.URL, request.SignedHeader, nil+}++var _ ImageObjectStore = (*s3ImageObjectStore)(nil)diff --git a/libs/fleet/backend/handlers/image_uploads_test.go b/libs/fleet/backend/handlers/image_uploads_test.gonew file mode 100644index 0000000000..ed9a5119e5--- /dev/null+++ b/libs/fleet/backend/handlers/image_uploads_test.go@@ -0,0 +1,449 @@+package handlers++import (+ "bytes"+ "context"+ "encoding/base64"+ "encoding/hex"+ "encoding/json"+ "errors"+ "fmt"+ "net/http"+ "net/http/httptest"+ "strings"+ "testing"+ "time"++ "cyclops-cs-backend/auth"+ "cyclops-cs-backend/config"++ "github.com/aws/aws-sdk-go-v2/aws"+ "github.com/aws/aws-sdk-go-v2/credentials"+ "github.com/aws/aws-sdk-go-v2/service/s3"+)++const imageUploadDigest = "sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"++type fakeImageObjectStore struct {+ exists bool+ existsErr error+ presignErr error+ existsCalls []imageObjectCall+ presignCalls []imageObjectCall+ presignedURL string+ presignedHeads http.Header+}++type imageObjectCall struct {+ key string+ size int64+ digest string+ expires time.Duration+}++func (s *fakeImageObjectStore) Exists(_ context.Context, key string, size int64, digest string) (bool, error) {+ s.existsCalls = append(s.existsCalls, imageObjectCall{key: key, size: size, digest: digest})+ return s.exists, s.existsErr+}++func (s *fakeImageObjectStore) PresignPut(_ context.Context, key string, size int64, digest string, expires time.Duration) (string, http.Header, error) {+ s.presignCalls = append(s.presignCalls, imageObjectCall{key: key, size: size, digest: digest, expires: expires})+ return s.presignedURL, s.presignedHeads.Clone(), s.presignErr+}++func TestPresignImageUploadsDisabledStoreReturnsUnavailable(t *testing.T) {+ h := imageUploadHandlers(nil)+ recorder := httptest.NewRecorder()+ request := withUser(jsonRequest(t, validImageUploadRequest("rootfs")), &auth.User{+ ID: "user-123", AllowedNamespaces: []string{"workers"},+ })+ h.PresignImageUploads(recorder, request)+ if recorder.Code != http.StatusServiceUnavailable {+ t.Fatalf("status = %d, want 503; body = %s", recorder.Code, recorder.Body.String())+ }+}++func TestPresignImageUploadsSignsMissingFilesWithStableOpaqueReferences(t *testing.T) {+ store := &fakeImageObjectStore{+ presignedURL: "https://uploads.example.test/signed",+ presignedHeads: http.Header{"Content-Length": {"12"}, "X-Amz-Meta-Test": {"yes"}},+ }+ h := imageUploadHandlers(store)+ user := &auth.User{ID: "user-123", AllowedNamespaces: []string{"workers"}}++ first := presignImageUploads(t, h, user, ImageUploadRequest{+ Namespace: "workers",+ Files: []ImageUploadFileRequest{{Digest: imageUploadDigest, SizeBytes: 12, Name: "worker-rootfs"}},+ })+ second := presignImageUploads(t, h, user, ImageUploadRequest{+ Namespace: "workers",+ Files: []ImageUploadFileRequest{{Digest: imageUploadDigest, SizeBytes: 12, Name: "worker-rootfs"}},+ })++ if got, want := len(first.Files), 1; got != want {+ t.Fatalf("files = %d, want %d", got, want)+ }+ file := first.Files[0]+ if file.Digest != imageUploadDigest || file.SizeBytes != 12 {+ t.Fatalf("file = %#v, want digest and size echoed", file)+ }+ if file.Reference == "" || file.Reference != second.Files[0].Reference {+ t.Fatalf("reference = %q then %q, want stable non-empty reference", file.Reference, second.Files[0].Reference)+ }+ if file.Upload == nil || file.Upload.Method != http.MethodPut || file.Upload.URL != store.presignedURL {+ t.Fatalf("upload = %#v, want PUT %q", file.Upload, store.presignedURL)+ }+ if got := file.Upload.Headers["X-Amz-Meta-Test"]; got != "yes" {+ t.Fatalf("upload headers = %#v, want signed header", file.Upload.Headers)+ }+ if got, want := len(store.existsCalls), 2; got != want {+ t.Fatalf("Exists calls = %d, want %d", got, want)+ }+ if got, want := len(store.presignCalls), 2; got != want {+ t.Fatalf("PresignPut calls = %d, want %d", got, want)+ }+ if store.existsCalls[0].key == file.Reference || store.presignCalls[0].key == file.Reference {+ t.Fatalf("store key leaked as client reference: %q", file.Reference)+ }+ if got, want := store.presignCalls[0].expires, 15*time.Minute; got != want {+ t.Fatalf("presign expiry = %s, want %s", got, want)+ }+ if got, want := store.existsCalls[0].digest, imageUploadDigest; got != want {+ t.Fatalf("Exists digest = %q, want %q", got, want)+ }+ if got, want := store.presignCalls[0].digest, imageUploadDigest; got != want {+ t.Fatalf("PresignPut digest = %q, want %q", got, want)+ }+}++func TestPresignImageUploadsOmitsUploadForExistingFiles(t *testing.T) {+ store := &fakeImageObjectStore{exists: true}+ response := presignImageUploads(t, imageUploadHandlers(store), &auth.User{+ ID: "user-123", AllowedNamespaces: []string{"workers"},+ }, ImageUploadRequest{+ Namespace: "workers",+ Files: []ImageUploadFileRequest{{Digest: imageUploadDigest, SizeBytes: 12, Name: "worker-rootfs"}},+ })++ if response.Files[0].Upload != nil {+ t.Fatalf("upload = %#v, want omitted for an existing object", response.Files[0].Upload)+ }+ if got := len(store.presignCalls); got != 0 {+ t.Fatalf("PresignPut calls = %d, want 0", got)+ }+}++func TestPresignImageUploadsRejectsUnauthorizedNamespaceBeforeStoreCalls(t *testing.T) {+ store := &fakeImageObjectStore{}+ w := httptest.NewRecorder()+ r := jsonRequest(t, ImageUploadRequest{+ Namespace: "workers",+ Files: []ImageUploadFileRequest{{Digest: imageUploadDigest, SizeBytes: 12, Name: "worker-rootfs"}},+ })+ r = withUser(r, &auth.User{ID: "user-123"})+ imageUploadHandlers(store).PresignImageUploads(w, r)++ if got, want := w.Code, http.StatusForbidden; got != want {+ t.Fatalf("status = %d, want %d; body = %s", got, want, w.Body.String())+ }+ assertImageObjectStoreUnused(t, store)+}++func TestPresignImageUploadsDeniesGitHubNamespaceWithoutRBACProbe(t *testing.T) {+ fakeK8s := newFakeK8s(http.StatusOK, `{"items":[]}`)+ defer fakeK8s.server.Close()+ overrideK8sClient(fakeK8s.server.Client(), fakeK8s.server.URL, "fake-sa-token")+ store := &fakeImageObjectStore{}+ w := httptest.NewRecorder()+ r := withUser(jsonRequest(t, validImageUploadRequest("worker-rootfs")), &auth.User{+ ID: "github-subject", PrincipalType: auth.PrincipalTypeGitHubOIDC,+ AllowedNamespaces: []string{"other"},+ })++ imageUploadHandlers(store).PresignImageUploads(w, r)++ if got, want := w.Code, http.StatusForbidden; got != want {+ t.Fatalf("status = %d, want %d; body = %s", got, want, w.Body.String())+ }+ if len(fakeK8s.requests) != 0 {+ t.Fatalf("RBAC probes = %d, want 0", len(fakeK8s.requests))+ }+ assertImageObjectStoreUnused(t, store)+}++func TestPresignImageUploadsAllowsNormalUserThroughRBACFallback(t *testing.T) {+ fakeK8s := newFakeK8s(http.StatusOK, `{"items":[]}`)+ defer fakeK8s.server.Close()+ overrideK8sClient(fakeK8s.server.Client(), fakeK8s.server.URL, "fake-sa-token")+ store := &fakeImageObjectStore{exists: true}++ presignImageUploads(t, imageUploadHandlers(store), &auth.User{ID: "user-123"}, validImageUploadRequest("worker-rootfs"))++ if got, want := len(fakeK8s.requests), 1; got != want {+ t.Fatalf("RBAC probes = %d, want %d", got, want)+ }+}++func TestPresignImageUploadsAllowsPerKeyPrincipalInClaimedNamespace(t *testing.T) {+ store := &fakeImageObjectStore{exists: true}+ response := presignImageUploads(t, imageUploadHandlers(store), &auth.User{+ ID: "service-account-key-one", AZP: "key-one", Namespace: "workers",+ }, ImageUploadRequest{+ Namespace: "workers",+ Files: []ImageUploadFileRequest{{Digest: imageUploadDigest, SizeBytes: 12, Name: "worker-rootfs"}},+ })++ if len(response.Files) != 1 {+ t.Fatalf("files = %d, want 1", len(response.Files))+ }+}++func TestPresignImageUploadsDeniesPerKeyPrincipalOutsideClaimedNamespace(t *testing.T) {+ store := &fakeImageObjectStore{}+ w := httptest.NewRecorder()+ r := withUser(jsonRequest(t, ImageUploadRequest{+ Namespace: "other",+ Files: []ImageUploadFileRequest{{Digest: imageUploadDigest, SizeBytes: 12, Name: "worker-rootfs"}},+ }), &auth.User{+ ID: "service-account-key-one", AZP: "key-one", Namespace: "workers",+ AllowedNamespaces: []string{"other"},+ })+ imageUploadHandlers(store).PresignImageUploads(w, r)++ if got, want := w.Code, http.StatusForbidden; got != want {+ t.Fatalf("status = %d, want %d; body = %s", got, want, w.Body.String())+ }+ assertImageObjectStoreUnused(t, store)+}++func TestPresignImageUploadsUsesStableTenantIdentityAcrossCredentials(t *testing.T) {+ firstStore := &fakeImageObjectStore{exists: true}+ first := presignImageUploads(t, imageUploadHandlers(firstStore), &auth.User{+ ID: "service-account-key-one", AZP: "key-one", Namespace: "workers",+ }, ImageUploadRequest{+ Namespace: "workers",+ Files: []ImageUploadFileRequest{{Digest: imageUploadDigest, SizeBytes: 12, Name: "worker-rootfs"}},+ })+ secondStore := &fakeImageObjectStore{exists: true}+ second := presignImageUploads(t, imageUploadHandlers(secondStore), &auth.User{+ ID: "service-account-key-two", AZP: "key-two", Namespace: "workers",+ }, ImageUploadRequest{+ Namespace: "workers",+ Files: []ImageUploadFileRequest{{Digest: imageUploadDigest, SizeBytes: 12, Name: "worker-rootfs"}},+ })++ if got, want := second.Files[0].Reference, first.Files[0].Reference; got != want {+ t.Fatalf("reference = %q, want %q", got, want)+ }+ if got, want := secondStore.existsCalls[0].key, firstStore.existsCalls[0].key; got != want {+ t.Fatalf("store key = %q, want %q", got, want)+ }+}++func TestPresignImageUploadsRejectsInvalidRequestsBeforeStoreCalls(t *testing.T) {+ tests := []struct {+ name string+ request ImageUploadRequest+ }{+ {+ name: "malformed digest",+ request: ImageUploadRequest{Namespace: "workers", Files: []ImageUploadFileRequest{{+ Digest: "sha256:not-a-digest", SizeBytes: 12, Name: "worker-rootfs",+ }}},+ },+ {name: "zero files", request: ImageUploadRequest{Namespace: "workers"}},+ {+ name: "too many files",+ request: ImageUploadRequest{Namespace: "workers", Files: []ImageUploadFileRequest{+ {Digest: imageUploadDigest, SizeBytes: 12, Name: "one"},+ {Digest: imageUploadDigest, SizeBytes: 12, Name: "two"},+ }},+ },+ {+ name: "file exceeds configured size",+ request: ImageUploadRequest{Namespace: "workers", Files: []ImageUploadFileRequest{{+ Digest: imageUploadDigest, SizeBytes: 101, Name: "worker-rootfs",+ }}},+ },+ {+ name: "invalid namespace",+ request: ImageUploadRequest{Namespace: "Workers", Files: []ImageUploadFileRequest{{+ Digest: imageUploadDigest, SizeBytes: 12, Name: "worker-rootfs",+ }}},+ },+ {+ name: "namespace exceeds DNS label length",+ request: ImageUploadRequest{Namespace: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", Files: []ImageUploadFileRequest{{+ Digest: imageUploadDigest, SizeBytes: 12, Name: "worker-rootfs",+ }}},+ },+ {name: "empty file name", request: validImageUploadRequest("")},+ {name: "slash in file name", request: validImageUploadRequest("dir/file")},+ {name: "backslash in file name", request: validImageUploadRequest(`dir\file`)},+ {name: "dot file name", request: validImageUploadRequest(".")},+ {name: "dot dot file name", request: validImageUploadRequest("..")},+ {name: "control in file name", request: validImageUploadRequest("worker\nrootfs")},+ {name: "oversized file name", request: validImageUploadRequest(strings.Repeat("a", 256))},+ }++ for _, test := range tests {+ t.Run(test.name, func(t *testing.T) {+ store := &fakeImageObjectStore{existsErr: errors.New("must not be called")}+ w := httptest.NewRecorder()+ r := withUser(jsonRequest(t, test.request), &auth.User{+ ID: "user-123", AllowedNamespaces: []string{"workers"},+ })+ imageUploadHandlers(store).PresignImageUploads(w, r)++ if got, want := w.Code, http.StatusBadRequest; got != want {+ t.Fatalf("status = %d, want %d; body = %s", got, want, w.Body.String())+ }+ assertImageObjectStoreUnused(t, store)+ })+ }+}++func TestPresignImageUploadsRejectsInvalidUTF8BeforeStoreCalls(t *testing.T) {+ store := &fakeImageObjectStore{existsErr: errors.New("must not be called")}+ body := append([]byte(`{"namespace":"workers","files":[{"digest":"`+imageUploadDigest+`","sizeBytes":12,"name":"`), 0xff)+ body = append(body, []byte(`"}]}`)...)+ r := httptest.NewRequest(http.MethodPost, "/api/image-uploads/presign", bytes.NewReader(body))+ r.Header.Set("Content-Type", "application/json")+ r = withUser(r, &auth.User{ID: "user-123", AllowedNamespaces: []string{"workers"}})+ w := httptest.NewRecorder()++ imageUploadHandlers(store).PresignImageUploads(w, r)++ if got, want := w.Code, http.StatusBadRequest; got != want {+ t.Fatalf("status = %d, want %d; body = %s", got, want, w.Body.String())+ }+ assertImageObjectStoreUnused(t, store)+}++func TestS3ImageObjectStorePresignRequiresClaimedSHA256(t *testing.T) {+ store := testS3ImageObjectStore(t, http.HandlerFunc(func(http.ResponseWriter, *http.Request) {+ t.Fatal("presigning must not send an HTTP request")+ }))++ url, headers, err := store.PresignPut(context.Background(), "tenants/workers/images/test", 12, imageUploadDigest, 15*time.Minute)+ if err != nil {+ t.Fatalf("PresignPut() error = %v", err)+ }+ if got, want := headers.Get("X-Amz-Checksum-Sha256"), imageUploadChecksum(t); got != want {+ t.Fatalf("checksum header = %q, want %q; headers = %#v; url = %s", got, want, headers, url)+ }+}++func TestS3ImageObjectStoreExistsRequiresExactSizeAndChecksum(t *testing.T) {+ tests := []struct {+ name string+ size int64+ checksum string+ wantExists bool+ wantErr bool+ }{+ {name: "matching object", size: 12, checksum: imageUploadChecksum(t), wantExists: true},+ {name: "poisoned checksum", size: 12, checksum: base64.StdEncoding.EncodeToString(make([]byte, 32)), wantErr: true},+ {name: "wrong size", size: 13, checksum: imageUploadChecksum(t), wantErr: true},+ {name: "missing checksum", size: 12, wantErr: true},+ }++ for _, test := range tests {+ t.Run(test.name, func(t *testing.T) {+ var checksumMode string+ store := testS3ImageObjectStore(t, http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {+ checksumMode = r.Header.Get("X-Amz-Checksum-Mode")+ w.Header().Set("Content-Length", fmt.Sprint(test.size))+ if test.checksum != "" {+ w.Header().Set("X-Amz-Checksum-Sha256", test.checksum)+ }+ w.WriteHeader(http.StatusOK)+ }))++ exists, err := store.Exists(context.Background(), "tenants/workers/images/test", 12, imageUploadDigest)+ if (err != nil) != test.wantErr {+ t.Fatalf("Exists() error = %v, wantErr %t", err, test.wantErr)+ }+ if exists != test.wantExists {+ t.Fatalf("Exists() = %t, want %t", exists, test.wantExists)+ }+ if got, want := checksumMode, "ENABLED"; got != want {+ t.Fatalf("checksum mode = %q, want %q", got, want)+ }+ })+ }+}++func testS3ImageObjectStore(t *testing.T, handler http.Handler) ImageObjectStore {+ t.Helper()+ server := httptest.NewServer(handler)+ t.Cleanup(server.Close)+ cfg := aws.Config{+ Region: "us-east-1",+ BaseEndpoint: aws.String(server.URL),+ Credentials: credentials.NewStaticCredentialsProvider("access", "secret", ""),+ HTTPClient: server.Client(),+ }+ client := s3.NewFromConfig(cfg, func(options *s3.Options) { options.UsePathStyle = true })+ return NewS3ImageObjectStore(client, "image-uploads")+}++func imageUploadChecksum(t *testing.T) string {+ t.Helper()+ raw, err := hex.DecodeString(strings.TrimPrefix(imageUploadDigest, "sha256:"))+ if err != nil {+ t.Fatalf("decode digest: %v", err)+ }+ return base64.StdEncoding.EncodeToString(raw)+}++func imageUploadHandlers(store ImageObjectStore) Handlers {+ return Handlers{+ AuthCfg: config.AuthConfiguration{KeyClientPfx: "key-"},+ ImageUploads: config.ImageUploadConfiguration{+ MaxFileBytes: 100,+ MaxFilesPerRequest: 1,+ URLLifetime: 15 * time.Minute,+ },+ ImageObjects: store,+ }+}++func validImageUploadRequest(name string) ImageUploadRequest {+ return ImageUploadRequest{+ Namespace: "workers",+ Files: []ImageUploadFileRequest{{Digest: imageUploadDigest, SizeBytes: 12, Name: name}},+ }+}++func presignImageUploads(t *testing.T, h Handlers, user *auth.User, request ImageUploadRequest) ImageUploadResponse {+ t.Helper()+ w := httptest.NewRecorder()+ h.PresignImageUploads(w, withUser(jsonRequest(t, request), user))+ if got, want := w.Code, http.StatusOK; got != want {+ t.Fatalf("status = %d, want %d; body = %s", got, want, w.Body.String())+ }+ var response ImageUploadResponse+ if err := json.NewDecoder(w.Body).Decode(&response); err != nil {+ t.Fatalf("decode response: %v", err)+ }+ return response+}++func jsonRequest(t *testing.T, body ImageUploadRequest) *http.Request {+ t.Helper()+ encoded, err := json.Marshal(body)+ if err != nil {+ t.Fatalf("marshal request: %v", err)+ }+ r := httptest.NewRequest(http.MethodPost, "/api/image-uploads/presign", bytes.NewReader(encoded))+ r.Header.Set("Content-Type", "application/json")+ return r+}++func assertImageObjectStoreUnused(t *testing.T, store *fakeImageObjectStore) {+ t.Helper()+ if len(store.existsCalls) != 0 || len(store.presignCalls) != 0 {+ t.Fatalf("store calls = exists:%d presign:%d, want none", len(store.existsCalls), len(store.presignCalls))+ }+}diff --git a/libs/fleet/backend/main.go b/libs/fleet/backend/main.goindex 0ddbcd756a..25ba791785 100644--- a/libs/fleet/backend/main.go+++ b/libs/fleet/backend/main.go@@ -33,6 +33,9 @@ import ("syscall""time"+ awsconfig "github.com/aws/aws-sdk-go-v2/config"+ "github.com/aws/aws-sdk-go-v2/service/s3"+"github.com/spf13/cobra""cyclops-cs-backend/accountlookup"@@ -190,6 +193,9 @@ func setupRouter(c handlers.Handlers) http.Handler {r.Handle("PUT /api/admin/feature-flags/{key}", withAuthenticatedMiddlewares("/api/admin/feature-flags/{key}", c.UpdateFeatureFlag))r.Handle("DELETE /api/admin/feature-flags/{key}", withAuthenticatedMiddlewares("/api/admin/feature-flags/{key}", c.DeleteFeatureFlag))+ r.Handle("POST /api/image-uploads/presign",+ withAuthenticatedMiddlewares("/api/image-uploads/presign", c.PresignImageUploads))+// Stripe-hosted billing. Browser routes require the normal SPA JWT; the// webhook uses Stripe signature verification as its authentication boundary.r.Handle("GET /api/billing/summary",@@ -335,6 +341,17 @@ func initializeFeatureFlags(ctx context.Context, environment string, credentialsreturn nil}+func newImageObjectStore(ctx context.Context, cfg config.ImageUploadConfiguration) (handlers.ImageObjectStore, error) {+ if strings.TrimSpace(cfg.Bucket) == "" {+ return nil, nil+ }+ awsCfg, err := awsconfig.LoadDefaultConfig(ctx, awsconfig.WithRegion(cfg.Region))+ if err != nil {+ return nil, fmt.Errorf("load image upload AWS config: %w", err)+ }+ return handlers.NewS3ImageObjectStore(s3.NewFromConfig(awsCfg), cfg.Bucket), nil+}+func run() error {slog.SetDefault(slog.New(slog.NewJSONHandler(os.Stdout, nil)))ctx, stopSignals := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)@@ -479,6 +496,15 @@ func run() error {lease := featureflagadmin.NewKubernetesLeaseLock(leaseConfig.apiBaseURL, leaseConfig.namespace, leaseConfig.name, leaseConfig.holderIdentity, 30*time.Second, 5*time.Second, time.Now)h.FeatureFlags = newFeatureFlagAdminService(managementStore, lease)}+ h.ImageObjects, err = newImageObjectStore(ctx, cfg.ImageUploads)+ if err != nil {+ return err+ }+ if h.ImageObjects != nil {+ slog.Info("image uploads: presigning enabled", "region", cfg.ImageUploads.Region)+ } else {+ slog.Info("image uploads: disabled (IMAGE_UPLOAD_BUCKET unset)")+ }if cfg.Stripe.SecretKey != "" {h.Billing = billing.NewService(billing.NewStripeGateway(cfg.Stripe.SecretKey))slog.Info("stripe billing: hosted flows enabled")diff --git a/libs/fleet/backend/main_test.go b/libs/fleet/backend/main_test.goindex eec1a7e213..0c42fcbe72 100644--- a/libs/fleet/backend/main_test.go+++ b/libs/fleet/backend/main_test.go@@ -156,6 +156,13 @@ func TestFeatureFlagAdminSwaggerDocumentsReachableResponses(t *testing.T) {}}+func TestNewImageObjectStoreDisabledWithoutBucket(t *testing.T) {+ store, err := newImageObjectStore(context.Background(), config.ImageUploadConfiguration{})+ if err != nil || store != nil {+ t.Fatalf("newImageObjectStore() = %v, %v, want nil, nil", store, err)+ }+}+func TestGatewayRoutesAreRemoved(t *testing.T) {router := setupRouter(handlers.Handlers{})diff --git a/libs/fleet/scripts/generate-sdk-bindings.sh b/libs/fleet/scripts/generate-sdk-bindings.shindex 8a7bd1e2a0..61944ae810 100755--- a/libs/fleet/scripts/generate-sdk-bindings.sh+++ b/libs/fleet/scripts/generate-sdk-bindings.sh@@ -5,8 +5,9 @@ usage() {cat >&2 <<'USAGE'Usage: generate-sdk-bindings.sh [--check]-Generate checked-in UniFFI Python, Kotlin, Swift, and Ruby bindings. --check-compares fresh output to the checked-in generated source without modifying it.+Generate all checked-in UniFFI bindings, including Go, Node TypeScript, and+browser TypeScript compatibility targets. --check compares fresh output to the+checked-in generated source without modifying it.USAGE}@@ -21,11 +22,13 @@ if [ "$#" -gt 1 ]; thenexit 2fi-repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"-workspace_dir="$repo_root/cyclops-cs"+workspace_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"workspace="$workspace_dir/Cargo.toml"bindings_dir="$workspace_dir/sdk-bindings"languages="python kotlin swift ruby"+binding_roots="$languages go-uniffi ts-uniffi ts-uniffi-browser"+go_bindgen_version="uniffi-bindgen 0.7.1+v0.31.0"+typescript_bindgen_package="[email protected]"manifest_name=".cyclops-sdk-generated-files"if cargo_bin="$(command -v cargo)" && [ -n "$cargo_bin" ]; then@@ -35,6 +38,14 @@ elseexit 127fi+if go_bindgen_bin="$(command -v uniffi-bindgen-go)" && \+ [ "$($go_bindgen_bin --version)" = "$go_bindgen_version" ]; then+ :+else+ echo "error: uniffi-bindgen-go $go_bindgen_version must be available on PATH" >&2+ exit 127+fi+if rustc_bin="$(command -v rustc)" && [ -n "$rustc_bin" ]; then:else@@ -42,6 +53,13 @@ elseexit 127fi+if npx_bin="$(command -v npx)" && [ -n "$npx_bin" ]; then+ :+else+ echo "error: npx must be available on PATH" >&2+ exit 127+fi+host_triple="$("$rustc_bin" -vV | sed -n 's/^host: //p')"if [ -z "$host_triple" ]; thenecho "error: could not determine the Rust host target" >&2@@ -294,8 +312,38 @@ PYTHON_FACADE_FOOTER} >> "$facade_file"}+normalize_browser_bridge_order() {+ python3 - "$temporary_output/generated/ts-uniffi-browser/cpp/fleet_sdk_module.rs" <<'PYTHON_BROWSER_ORDER'+import pathlib+import re+import sys++path = pathlib.Path(sys.argv[1])+text = path.read_text()+lines = text.splitlines(keepends=True)+starts = []+for index, line in enumerate(lines):+ if re.match(r"^mod [a-z0-9_]+ \{", line):+ if index > 0 and lines[index - 1].rstrip("\n") == "#[allow(non_snake_case)]":+ starts.append(index - 1)+ else:+ starts.append(index)+if not starts:+ raise SystemExit("expected browser callback module section")+prefix = "".join(lines[:starts[0]])+blocks = ["".join(lines[block_start:block_end]) for block_start, block_end in zip(starts, starts[1:] + [len(lines)])]+def module_name(block: str) -> str:+ match = re.search(r"(?m)^mod ([a-z0-9_]+) \{", block)+ if match is None:+ raise SystemExit("unexpected browser callback module name")+ return match.group(1)+blocks.sort(key=module_name)+path.write_text(prefix + "".join(blocks))+PYTHON_BROWSER_ORDER+}+normalize_generated_text() {- for language in $languages; do+ for language in $binding_roots; dofind -P "$temporary_output/generated/$language" -type f -print | while IFS= read -r file; donormalized="$file.normalized"awk '@@ -482,7 +530,7 @@ prepare_complete_replacement_root() {replacement_root="$(mktemp -d "$workspace_dir/.sdk-bindings.new.XXXXXX")"cp -pR "$bindings_dir/." "$replacement_root/"- for language in $languages; do+ for language in $binding_roots; doprepare_replacement_root "$language"done}@@ -629,12 +677,23 @@ firaw_output="$temporary_output/raw"generated_root="$temporary_output/generated"mkdir -p "$raw_output" "$generated_root/python/fleet_sdk" "$generated_root/kotlin" \- "$generated_root/swift" "$generated_root/ruby/cyclops_sdk"+ "$generated_root/swift" "$generated_root/ruby/cyclops_sdk" \+ "$generated_root/go-uniffi" "$generated_root/ts-uniffi" \+ "$generated_root/ts-uniffi-browser/ts" "$generated_root/ts-uniffi-browser/cpp""$cargo_bin" run --locked --manifest-path "$workspace" -p cyclops-sdk-bindgen --target "$host_triple" -- \generate --library "$library" \--language python --language kotlin --language swift --language ruby \--out-dir "$raw_output" --no-format+"$go_bindgen_bin" "$library" --library --out-dir "$generated_root/go-uniffi"+"$npx_bin" --yes --package "$typescript_bindgen_package" ubrn \+ generate napi bindings "$library" --library --no-format \+ --ts-dir "$generated_root/ts-uniffi" --lib-colocated+"$npx_bin" --yes --package "$typescript_bindgen_package" ubrn \+ generate wasm bindings "$library" --library --no-format \+ --ts-dir "$generated_root/ts-uniffi-browser/ts" \+ --cpp-dir "$generated_root/ts-uniffi-browser/cpp"+mv "$raw_output/fleet_sdk.py" "$generated_root/python/fleet_sdk/_sdk.py"mv "$raw_output/cyclops_sdk_schema.py" "$generated_root/python/fleet_sdk/_schema.py"write_python_facade \@@ -842,8 +901,8 @@ def replace_buffer(match):f"{indent})")text, buffer_replacements = re.subn(buffer_pattern, replace_buffer, text)-if buffer_replacements != 25:- raise SystemExit(f"expected 25 Ruby Rust-buffer future wrappers, found {buffer_replacements}")+if buffer_replacements != 29:+ raise SystemExit(f"expected 29 Ruby Rust-buffer future wrappers, found {buffer_replacements}")if len(re.findall(r"result = FleetSdk\.rust_call_with_error\(SdkBuildError,:uniffi_[a-z0-9_]*builder_build,", text)) != 8:raise SystemExit("expected eight synchronous Ruby SDK builder build calls")@@ -858,8 +917,8 @@ def replace_void(match):f"{indent})")text, void_replacements = re.subn(void_pattern, replace_void, text)-if void_replacements != 6:- raise SystemExit(f"expected 6 Ruby void future wrappers, found {void_replacements}")+if void_replacements != 7:+ raise SystemExit(f"expected 7 Ruby void future wrappers, found {void_replacements}")handle_map_anchor = """def self.uniffi_bytes(v)raise TypeError, \"no implicit conversion of #{v} into String\" unless v.respond_to?(:to_str)@@ -1060,8 +1119,30 @@ write_ruby_facade \"$generated_root/ruby/cyclops_sdk/schema.rb" \"$generated_root/ruby/cyclops_sdk.rb"+python3 - "$workspace_dir/scripts/normalize-compat-sdk-bindings.py" "$generated_root" <<'PYTHON_COMPAT'+import importlib.util+import pathlib+import sys++spec = importlib.util.spec_from_file_location("compat", sys.argv[1])+compat = importlib.util.module_from_spec(spec)+spec.loader.exec_module(compat)+root = pathlib.Path(sys.argv[2])+for component in ("cyclops_sdk_schema", "fleet_sdk"):+ schema = component == "cyclops_sdk_schema"+ for path, normalize in (+ (root / "go-uniffi" / component / f"{component}.go", compat.normalize_go),+ (root / "ts-uniffi" / f"{component}.ts", compat.normalize_node),+ ):+ normalized = normalize(path.read_text(), schema=schema)+ compat.check_no_builders(normalized, path)+ path.write_text(normalized)+PYTHON_COMPAT++rustfmt --edition 2021 "$generated_root/ts-uniffi-browser/cpp/"*.rs+normalize_browser_bridge_ordernormalize_generated_text-for language in $languages; do+for language in $binding_roots; dofind -P "$generated_root/$language" -type d -exec chmod 755 {} \;find -P "$generated_root/$language" -type f -exec chmod 644 {} \;write_manifest "$generated_root/$language" "$temporary_output/$language.manifest"@@ -1071,7 +1152,7 @@ doneif "$check_only"; thencheck_failed=false- for language in $languages; do+ for language in $binding_roots; doif ! compare_root "$generated_root/$language" "$bindings_dir/$language" "$language"; thencheck_failed=truefidiff --git a/libs/fleet/scripts/normalize-compat-sdk-bindings.py b/libs/fleet/scripts/normalize-compat-sdk-bindings.pyindex 53c049d9ca..a777c20d8f 100755--- a/libs/fleet/scripts/normalize-compat-sdk-bindings.py+++ b/libs/fleet/scripts/normalize-compat-sdk-bindings.py@@ -148,15 +148,24 @@ def format_go(source: str) -> str:return formatted.stdout-def normalize_go(raw: str) -> str:- require_all(- raw,- [- "TtlSecondsAfterCreated *uint32",- "FfiConverterOptionalUint32INSTANCE.Write(writer, value.TtlSecondsAfterCreated)",- ],- "Go",- )+def normalize_go(raw: str, *, schema: bool = True) -> str:+ if schema:+ require_all(+ raw,+ [+ "TtlSecondsAfterCreated *uint32",+ "FfiConverterOptionalUint32INSTANCE.Write(writer, value.TtlSecondsAfterCreated)",+ ],+ "Go",+ )+ if not schema:+ raw, renamed = re.subn(+ r"(?m)^func PoolDisplayStatus\(pool Pool\) PoolDisplayStatus \{",+ "func GetPoolDisplayStatus(pool Pool) PoolDisplayStatus {",+ raw,+ )+ if renamed != 1:+ raise ValueError("expected one Go pool display-status function/type collision")builder_classes = go_builder_classes(raw)if not builder_classes:raise ValueError("raw Go generator output is missing builder declarations")@@ -240,16 +249,17 @@ def remove_node_builder_declarations(return "".join(normalized)-def normalize_node(raw: str) -> str:- require_all(- raw,- [- "ttlSecondsAfterCreated?: number",- "ttlSecondsAfterCreated: FfiConverterOptionalUInt32.read(from)",- "FfiConverterOptionalUInt32.write(value.ttlSecondsAfterCreated, into)",- ],- "Node",- )+def normalize_node(raw: str, *, schema: bool = True) -> str:+ if schema:+ require_all(+ raw,+ [+ "ttlSecondsAfterCreated?: number",+ "ttlSecondsAfterCreated: FfiConverterOptionalUInt32.read(from)",+ "FfiConverterOptionalUInt32.write(value.ttlSecondsAfterCreated, into)",+ ],+ "Node",+ )declarations = list(NODE_DECLARATION.finditer(raw))if not declarations:raise ValueError("raw Node generator output is missing top-level declarations")@@ -266,7 +276,7 @@ def normalize_node(raw: str) -> str:def check_no_builders(source: str, path: Path) -> None:- if path == NODE_OUTPUT:+ if path.suffix == ".ts":for declaration in NODE_DECLARATION.finditer(source):if declaration.group("name").endswith(BUILDER_NAME):raise ValueError(f"compatibility binding exposes builder ABI: {path}")diff --git a/libs/fleet/scripts/test-generate-sdk-bindings.sh b/libs/fleet/scripts/test-generate-sdk-bindings.shindex c6ad34ff4a..0c8b9bc1a0 100755--- a/libs/fleet/scripts/test-generate-sdk-bindings.sh+++ b/libs/fleet/scripts/test-generate-sdk-bindings.sh@@ -1,8 +1,7 @@#!/usr/bin/env bashset -euo pipefail-repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"-workspace_dir="$repo_root/cyclops-cs"+workspace_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"generator="$workspace_dir/scripts/generate-sdk-bindings.sh"compat_generator="$workspace_dir/scripts/generate-compat-sdk-bindings.sh"compat_normalizer="$workspace_dir/scripts/normalize-compat-sdk-bindings.py"@@ -331,6 +330,9 @@ if [ "$handwritten_directory_created" = true ]; thenfiassert_tree_unchanged "$initial_hash" "handwritten fixture cleanup""$generator" --check+for compatibility_root in go-uniffi ts-uniffi ts-uniffi-browser; do+ [ -f "$bindings_dir/$compatibility_root/.cyclops-sdk-generated-files" ] || fail "canonical generator omits $compatibility_root manifest"+doneruntime_library="$(find_cyclops_sdk_library)" || fail "could not read a cyclops-sdk cdylib from Cargo compiler-artifact output"[ -f "$runtime_library" ] || fail "Cargo reported a missing cyclops-sdk cdylib: $runtime_library"@@ -908,6 +910,18 @@ NODEgrep -Fq -- "TtlSecondsAfterCreated *uint32" "$go_schema_source" || fail "Go bindings omit TtlSecondsAfterCreated"grep -Fq -- "FfiConverterOptionalUint32INSTANCE.Write(writer, value.TtlSecondsAfterCreated)" "$go_schema_source" || fail "Go bindings do not write TtlSecondsAfterCreated"+for typescript_binding in "$node_sdk_source" "$browser_sdk_source"; do+ for upload_type in ImageUploadFileRequest ImageUploadInstruction ImageUploadRequest ImageUploadResponse PresignedPut; do+ grep -Fq -- "export type $upload_type =" "$typescript_binding" || fail "TypeScript bindings omit $upload_type: $typescript_binding"+ done+ grep -Fq -- "presignImageUploads(" "$typescript_binding" || fail "TypeScript bindings omit presignImageUploads: $typescript_binding"+done+for upload_type in ImageUploadFileRequest ImageUploadInstruction ImageUploadRequest ImageUploadResponse PresignedPut; do+ grep -Fq -- "type $upload_type struct" "$go_sdk_source" || fail "Go bindings omit $upload_type"+done+grep -Fq -- "PresignImageUploads(" "$go_sdk_source" || fail "Go bindings omit PresignImageUploads"+grep -Fq -- "func GetPoolDisplayStatus(pool Pool) PoolDisplayStatus" "$go_sdk_source" || fail "Go display-status function collides with its record type"+for typescript_binding in "$node_sdk_source" "$browser_sdk_source"; dogrep -Fq -- "timeoutSecs?: bigint" "$typescript_binding" || fail "TypeScript bindings omit HttpRequest.timeoutSecs: $typescript_binding"grep -Fq -- "timeoutSecs: FfiConverterOptionalUInt64.read(from)" "$typescript_binding" || fail "TypeScript bindings do not read HttpRequest.timeoutSecs: $typescript_binding"@@ -1011,6 +1025,17 @@ mv "$temporary_directory/content-file" "$content_file"chmod "$content_file_mode" "$content_file""$generator" --check+compatibility_content_file="$bindings_dir/ts-uniffi/fleet_sdk.ts"+compatibility_content_mode="$(mode_for "$compatibility_content_file")"+cp "$compatibility_content_file" "$temporary_directory/compatibility-content-file"+printf '+// compatibility content drift+' >> "$compatibility_content_file"+expect_check_failure compatibility-content+mv "$temporary_directory/compatibility-content-file" "$compatibility_content_file"+chmod "$compatibility_content_mode" "$compatibility_content_file"+"$generator" --check+mode_file="$bindings_dir/ruby/cyclops_sdk.rb"mode_file_mode="$(mode_for "$mode_file")"chmod 600 "$mode_file"diff --git a/libs/fleet/sdk-bindings/README.md b/libs/fleet/sdk-bindings/README.mdindex 4cf5055609..ad36897333 100644--- a/libs/fleet/sdk-bindings/README.md+++ b/libs/fleet/sdk-bindings/README.md@@ -2,32 +2,23 @@This directory contains the checked-in generated sources for several CyclopsSDK targets. Rust is the native `cyclops-sdk` API and owns the canonical-implementation. The authoritative deterministic generation and drift pipeline-in `generate-sdk-bindings.sh` owns **Python, Kotlin, Swift, and Ruby**.-The OpenAPI JavaScript client and native-library packaging are outside that-four-language binding surface; separate UniFFI snapshots are described below.--### Separately generated targets--`go-uniffi` and `ts-uniffi` (Node.js) are checked-in compatibility snapshots-produced by `uniffi-bindgen-go` and `uniffi-bindgen-react-native`, not outputs-of `generate-sdk-bindings.sh`. `generate-compat-sdk-bindings.sh` owns their-narrow repository compatibility normalization: every snapshot is derived from-fresh raw generator output, then deterministic removal excludes only generated-builder ABI. It retains all non-builder generated content, including record-fields and serialization such as TTL fields, so these snapshots continue to-expose direct record constructors only. The normalizer never uses a checked-in-snapshot as transformation input.--`ts-uniffi-browser` (Browser/WASM) regenerates from Rust metadata during its-build, commits its TypeScript record modules, and verifies that generated-surface with an executable WASM builder artifact contract. Browser/WASM is an-advertised generated builder target alongside Python, Kotlin, Swift, and Ruby.--Go and Node.js remain separate compatibility snapshots. Adding builders to-their public contracts requires separately regenerating and validating each-third-party generator, cross-component converter layer, packaging path,-checked-in scope, and runtime API.+implementation. The deterministic generation and drift pipeline in+`generate-sdk-bindings.sh` owns Python, Kotlin, Swift, Ruby, Go, Node.js+TypeScript, and Browser/WASM TypeScript source roots.++### Compatibility targets++The pinned Go and TypeScript generators run from the same Rust metadata as+UniFFI. Go and Node.js retain their existing direct-record API: the canonical+generator reuses `normalize-compat-sdk-bindings.py` to exclude generated builder+ABI, without deleting non-builder records or methods. Go exposes the status helper+as `GetPoolDisplayStatus` to avoid colliding with its `PoolDisplayStatus` record. The normalizer never uses+checked-in snapshots as transformation input. The schema-only+`generate-compat-sdk-bindings.sh --check` remains an independent compatibility+check. Browser/WASM retains its advertised generated builder surface.++Native-library and browser/WASM packaging still use their existing separate+build commands; generating source does not prove runtime packaging works.## Source of truth and compatibility@@ -85,8 +76,9 @@ cargo run --locked --manifest-path "$REPO_ROOT/cyclops-cs/Cargo.toml" \--output "$REPO_ROOT/clusters/base/osgym/crd.yaml"```-Generate or check all four UniFFI language roots with the pinned workspace-wrapper around UniFFI `0.31.0`:+Generate or check every binding root with UniFFI `0.31.0`,+`uniffi-bindgen-go 0.7.1+v0.31.0`, `[email protected]`,+and Go (`gofmt`) on PATH:```sh"$REPO_ROOT/cyclops-cs/scripts/generate-sdk-bindings.sh"diff --git a/libs/fleet/sdk-bindings/go-uniffi/.cyclops-sdk-generated-files b/libs/fleet/sdk-bindings/go-uniffi/.cyclops-sdk-generated-filesnew file mode 100644index 0000000000..73f8619251--- /dev/null+++ b/libs/fleet/sdk-bindings/go-uniffi/.cyclops-sdk-generated-files@@ -0,0 +1,6 @@+d cyclops_sdk_schema+d fleet_sdk+f cyclops_sdk_schema/cyclops_sdk_schema.go+f cyclops_sdk_schema/cyclops_sdk_schema.h+f fleet_sdk/fleet_sdk.go+f fleet_sdk/fleet_sdk.hdiff --git a/libs/fleet/sdk-bindings/go-uniffi/README.md b/libs/fleet/sdk-bindings/go-uniffi/README.mdindex b2a723f9bc..1d519501e4 100644--- a/libs/fleet/sdk-bindings/go-uniffi/README.md+++ b/libs/fleet/sdk-bindings/go-uniffi/README.md@@ -1,10 +1,11 @@# Cyclops Go UniFFI bindings-Generated with `uniffi-bindgen-go v0.7.1+v0.31.0`. This checked-in snapshot is-outside `scripts/generate-sdk-bindings.sh`; it currently exposes direct record-constructors, not the newer `UniffiBuilder` objects present in Rust metadata.-Regenerating and validating this separate pipeline is required before builders-can be advertised for Go. Build consumers with the Cyclops Rust cdylib+Generated by `scripts/generate-sdk-bindings.sh` using the pinned+`uniffi-bindgen-go` and the existing compatibility normalizer. Records keep+constructors rather than exposing generated builder ABI. `--check` verifies+this root along with the other SDK languages; do not edit generated files.++Build consumers with the Cyclops Rust cdylibavailable to cgo, for example:`CGO_LDFLAGS='-L/path/to -lcyclops_sdk' LD_LIBRARY_PATH=/path/to go test ./...`diff --git a/libs/fleet/sdk-bindings/go-uniffi/cyclops_sdk_schema/cyclops_sdk_schema.h b/libs/fleet/sdk-bindings/go-uniffi/cyclops_sdk_schema/cyclops_sdk_schema.hindex d34c40ac97..6dd859f3b6 100644--- a/libs/fleet/sdk-bindings/go-uniffi/cyclops_sdk_schema/cyclops_sdk_schema.h+++ b/libs/fleet/sdk-bindings/go-uniffi/cyclops_sdk_schema/cyclops_sdk_schema.h@@ -369,6 +369,164 @@ static void call_UniffiForeignFutureCompleteVoid(}+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_SANDBOXSERVICEBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_SANDBOXSERVICEBUILDER+uint64_t uniffi_cyclops_sdk_schema_fn_clone_sandboxservicebuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_FREE_SANDBOXSERVICEBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_FREE_SANDBOXSERVICEBUILDER+void uniffi_cyclops_sdk_schema_fn_free_sandboxservicebuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CONSTRUCTOR_SANDBOXSERVICEBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CONSTRUCTOR_SANDBOXSERVICEBUILDER_NEW+uint64_t uniffi_cyclops_sdk_schema_fn_constructor_sandboxservicebuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_SANDBOXSERVICEBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_SANDBOXSERVICEBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_SANDBOXSERVICEBUILDER_NAME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_SANDBOXSERVICEBUILDER_NAME+uint64_t uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_name(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_SANDBOXSERVICEBUILDER_PROTOCOL+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_SANDBOXSERVICEBUILDER_PROTOCOL+uint64_t uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_protocol(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_SANDBOXSERVICEBUILDER_TARGET_PORT+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_SANDBOXSERVICEBUILDER_TARGET_PORT+uint64_t uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_target_port(uint64_t ptr, uint16_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_SANDBOXTEMPLATEREFBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_SANDBOXTEMPLATEREFBUILDER+uint64_t uniffi_cyclops_sdk_schema_fn_clone_sandboxtemplaterefbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_FREE_SANDBOXTEMPLATEREFBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_FREE_SANDBOXTEMPLATEREFBUILDER+void uniffi_cyclops_sdk_schema_fn_free_sandboxtemplaterefbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CONSTRUCTOR_SANDBOXTEMPLATEREFBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CONSTRUCTOR_SANDBOXTEMPLATEREFBUILDER_NEW+uint64_t uniffi_cyclops_sdk_schema_fn_constructor_sandboxtemplaterefbuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_SANDBOXTEMPLATEREFBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_SANDBOXTEMPLATEREFBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_SANDBOXTEMPLATEREFBUILDER_NAME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_SANDBOXTEMPLATEREFBUILDER_NAME+uint64_t uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_name(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_VMTEMPLATEBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_VMTEMPLATEBUILDER+uint64_t uniffi_cyclops_sdk_schema_fn_clone_vmtemplatebuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_FREE_VMTEMPLATEBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_FREE_VMTEMPLATEBUILDER+void uniffi_cyclops_sdk_schema_fn_free_vmtemplatebuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CONSTRUCTOR_VMTEMPLATEBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CONSTRUCTOR_VMTEMPLATEBUILDER_NEW+uint64_t uniffi_cyclops_sdk_schema_fn_constructor_vmtemplatebuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_COMMAND+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_COMMAND+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_command(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_CONTAINER_DISK_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_CONTAINER_DISK_IMAGE+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_container_disk_image(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_CPU_CORES+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_CPU_CORES+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_cpu_cores(uint64_t ptr, uint32_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_FIRMWARE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_FIRMWARE+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_firmware(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_IMAGE_PULL_POLICY+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_IMAGE_PULL_POLICY+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_policy(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_IMAGE_PULL_SECRET+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_IMAGE_PULL_SECRET+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_secret(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_MEMORY+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_MEMORY+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_memory(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_NESTED_VIRTUALIZATION+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_NESTED_VIRTUALIZATION+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_nested_virtualization(uint64_t ptr, int8_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_NODE_SELECTOR+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_NODE_SELECTOR+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_node_selector(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_OIDC+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_OIDC+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_oidc(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_PROBES+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_PROBES+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_probes(uint64_t ptr, uint64_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_RUNTIME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_RUNTIME+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_RUNTIME_CLASS_NAME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_RUNTIME_CLASS_NAME+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime_class_name(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_SERVICES+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_SERVICES+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_services(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_TOLERATIONS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_VMTEMPLATEBUILDER_TOLERATIONS+uint64_t uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_tolerations(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_PRESERVEDJSON#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_PRESERVEDJSON@@ -390,6 +548,109 @@ uint64_t uniffi_cyclops_sdk_schema_fn_constructor_preservedjson_from_json(RustBuRustBuffer uniffi_cyclops_sdk_schema_fn_method_preservedjson_to_json(uint64_t ptr, RustCallStatus *out_status);#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_OSGYMSANDBOXTEMPLATESPECBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_OSGYMSANDBOXTEMPLATESPECBUILDER+uint64_t uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxtemplatespecbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_FREE_OSGYMSANDBOXTEMPLATESPECBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_FREE_OSGYMSANDBOXTEMPLATESPECBUILDER+void uniffi_cyclops_sdk_schema_fn_free_osgymsandboxtemplatespecbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CONSTRUCTOR_OSGYMSANDBOXTEMPLATESPECBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CONSTRUCTOR_OSGYMSANDBOXTEMPLATESPECBUILDER_NEW+uint64_t uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxtemplatespecbuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXTEMPLATESPECBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXTEMPLATESPECBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXTEMPLATESPECBUILDER_VM_TEMPLATE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXTEMPLATESPECBUILDER_VM_TEMPLATE+uint64_t uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_vm_template(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_OSGYMSANDBOXWARMPOOLSPECBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_OSGYMSANDBOXWARMPOOLSPECBUILDER+uint64_t uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxwarmpoolspecbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_FREE_OSGYMSANDBOXWARMPOOLSPECBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_FREE_OSGYMSANDBOXWARMPOOLSPECBUILDER+void uniffi_cyclops_sdk_schema_fn_free_osgymsandboxwarmpoolspecbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CONSTRUCTOR_OSGYMSANDBOXWARMPOOLSPECBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CONSTRUCTOR_OSGYMSANDBOXWARMPOOLSPECBUILDER_NEW+uint64_t uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxwarmpoolspecbuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_AUTOSCALING+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_AUTOSCALING+uint64_t uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_autoscaling(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_REPLICAS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_REPLICAS+uint64_t uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_replicas(uint64_t ptr, uint32_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_SANDBOX_TEMPLATE_REF+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_SANDBOX_TEMPLATE_REF+uint64_t uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_TTL_SECONDS_AFTER_CREATED+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_TTL_SECONDS_AFTER_CREATED+uint64_t uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created(uint64_t ptr, uint32_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_WARMPOOLAUTOSCALINGBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CLONE_WARMPOOLAUTOSCALINGBUILDER+uint64_t uniffi_cyclops_sdk_schema_fn_clone_warmpoolautoscalingbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_FREE_WARMPOOLAUTOSCALINGBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_FREE_WARMPOOLAUTOSCALINGBUILDER+void uniffi_cyclops_sdk_schema_fn_free_warmpoolautoscalingbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CONSTRUCTOR_WARMPOOLAUTOSCALINGBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_CONSTRUCTOR_WARMPOOLAUTOSCALINGBUILDER_NEW+uint64_t uniffi_cyclops_sdk_schema_fn_constructor_warmpoolautoscalingbuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_WARMPOOLAUTOSCALINGBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_WARMPOOLAUTOSCALINGBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_WARMPOOLAUTOSCALINGBUILDER_INITIAL_POOL_SIZE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_WARMPOOLAUTOSCALINGBUILDER_INITIAL_POOL_SIZE+uint64_t uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_initial_pool_size(uint64_t ptr, uint32_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_WARMPOOLAUTOSCALINGBUILDER_MAX_POOL_SIZE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_WARMPOOLAUTOSCALINGBUILDER_MAX_POOL_SIZE+uint64_t uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_max_pool_size(uint64_t ptr, uint32_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_WARMPOOLAUTOSCALINGBUILDER_MIN_POOL_SIZE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_FN_METHOD_WARMPOOLAUTOSCALINGBUILDER_MIN_POOL_SIZE+uint64_t uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_min_pool_size(uint64_t ptr, uint32_t value, RustCallStatus *out_status+);+#endif#ifndef UNIFFI_FFIDEF_FFI_CYCLOPS_SDK_SCHEMA_RUSTBUFFER_ALLOC#define UNIFFI_FFIDEF_FFI_CYCLOPS_SDK_SCHEMA_RUSTBUFFER_ALLOCRustBuffer ffi_cyclops_sdk_schema_rustbuffer_alloc(uint64_t size, RustCallStatus *out_status@@ -648,24 +909,257 @@ void ffi_cyclops_sdk_schema_rust_future_free_void(uint64_t handle#ifndef UNIFFI_FFIDEF_FFI_CYCLOPS_SDK_SCHEMA_RUST_FUTURE_COMPLETE_VOID#define UNIFFI_FFIDEF_FFI_CYCLOPS_SDK_SCHEMA_RUST_FUTURE_COMPLETE_VOIDvoid ffi_cyclops_sdk_schema_rust_future_complete_void(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_SANDBOXSERVICEBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_SANDBOXSERVICEBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_SANDBOXSERVICEBUILDER_NAME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_SANDBOXSERVICEBUILDER_NAME+uint16_t uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_name(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_SANDBOXSERVICEBUILDER_PROTOCOL+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_SANDBOXSERVICEBUILDER_PROTOCOL+uint16_t uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_protocol(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_SANDBOXSERVICEBUILDER_TARGET_PORT+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_SANDBOXSERVICEBUILDER_TARGET_PORT+uint16_t uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_target_port(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_SANDBOXTEMPLATEREFBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_SANDBOXTEMPLATEREFBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_SANDBOXTEMPLATEREFBUILDER_NAME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_SANDBOXTEMPLATEREFBUILDER_NAME+uint16_t uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_name(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_COMMAND+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_COMMAND+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_command(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_CONTAINER_DISK_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_CONTAINER_DISK_IMAGE+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_container_disk_image(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_CPU_CORES+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_CPU_CORES+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_cpu_cores(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_FIRMWARE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_FIRMWARE+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_firmware(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_IMAGE_PULL_POLICY+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_IMAGE_PULL_POLICY+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_policy(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_IMAGE_PULL_SECRET+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_IMAGE_PULL_SECRET+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_secret(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_MEMORY+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_MEMORY+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_memory(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_NESTED_VIRTUALIZATION+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_NESTED_VIRTUALIZATION+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_nested_virtualization(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_NODE_SELECTOR+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_NODE_SELECTOR+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_node_selector(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_OIDC+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_OIDC+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_oidc(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_PROBES+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_PROBES+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_probes(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_RUNTIME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_RUNTIME+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_RUNTIME_CLASS_NAME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_RUNTIME_CLASS_NAME+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime_class_name(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_SERVICES+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_SERVICES+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_services(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_TOLERATIONS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_VMTEMPLATEBUILDER_TOLERATIONS+uint16_t uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_tolerations(void+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_PRESERVEDJSON_TO_JSON#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_PRESERVEDJSON_TO_JSONuint16_t uniffi_cyclops_sdk_schema_checksum_method_preservedjson_to_json(void-++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXTEMPLATESPECBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXTEMPLATESPECBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXTEMPLATESPECBUILDER_VM_TEMPLATE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXTEMPLATESPECBUILDER_VM_TEMPLATE+uint16_t uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_vm_template(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_AUTOSCALING+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_AUTOSCALING+uint16_t uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_autoscaling(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_REPLICAS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_REPLICAS+uint16_t uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_replicas(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_SANDBOX_TEMPLATE_REF+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_SANDBOX_TEMPLATE_REF+uint16_t uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_TTL_SECONDS_AFTER_CREATED+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_OSGYMSANDBOXWARMPOOLSPECBUILDER_TTL_SECONDS_AFTER_CREATED+uint16_t uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_WARMPOOLAUTOSCALINGBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_WARMPOOLAUTOSCALINGBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_WARMPOOLAUTOSCALINGBUILDER_INITIAL_POOL_SIZE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_WARMPOOLAUTOSCALINGBUILDER_INITIAL_POOL_SIZE+uint16_t uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_initial_pool_size(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_WARMPOOLAUTOSCALINGBUILDER_MAX_POOL_SIZE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_WARMPOOLAUTOSCALINGBUILDER_MAX_POOL_SIZE+uint16_t uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_max_pool_size(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_WARMPOOLAUTOSCALINGBUILDER_MIN_POOL_SIZE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_METHOD_WARMPOOLAUTOSCALINGBUILDER_MIN_POOL_SIZE+uint16_t uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_min_pool_size(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_SANDBOXSERVICEBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_SANDBOXSERVICEBUILDER_NEW+uint16_t uniffi_cyclops_sdk_schema_checksum_constructor_sandboxservicebuilder_new(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_SANDBOXTEMPLATEREFBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_SANDBOXTEMPLATEREFBUILDER_NEW+uint16_t uniffi_cyclops_sdk_schema_checksum_constructor_sandboxtemplaterefbuilder_new(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_VMTEMPLATEBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_VMTEMPLATEBUILDER_NEW+uint16_t uniffi_cyclops_sdk_schema_checksum_constructor_vmtemplatebuilder_new(void+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_PRESERVEDJSON_FROM_JSON#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_PRESERVEDJSON_FROM_JSONuint16_t uniffi_cyclops_sdk_schema_checksum_constructor_preservedjson_from_json(void-++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_OSGYMSANDBOXTEMPLATESPECBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_OSGYMSANDBOXTEMPLATESPECBUILDER_NEW+uint16_t uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxtemplatespecbuilder_new(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_OSGYMSANDBOXWARMPOOLSPECBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_OSGYMSANDBOXWARMPOOLSPECBUILDER_NEW+uint16_t uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxwarmpoolspecbuilder_new(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_WARMPOOLAUTOSCALINGBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_SCHEMA_CHECKSUM_CONSTRUCTOR_WARMPOOLAUTOSCALINGBUILDER_NEW+uint16_t uniffi_cyclops_sdk_schema_checksum_constructor_warmpoolautoscalingbuilder_new(void+);#endif#ifndef UNIFFI_FFIDEF_FFI_CYCLOPS_SDK_SCHEMA_UNIFFI_CONTRACT_VERSION#define UNIFFI_FFIDEF_FFI_CYCLOPS_SDK_SCHEMA_UNIFFI_CONTRACT_VERSIONuint32_t ffi_cyclops_sdk_schema_uniffi_contract_version(void-+);#endif-diff --git a/libs/fleet/sdk-bindings/go-uniffi/fleet_sdk/fleet_sdk.go b/libs/fleet/sdk-bindings/go-uniffi/fleet_sdk/fleet_sdk.goindex dc3d29801c..d481a9059a 100644--- a/libs/fleet/sdk-bindings/go-uniffi/fleet_sdk/fleet_sdk.go+++ b/libs/fleet/sdk-bindings/go-uniffi/fleet_sdk/fleet_sdk.go@@ -475,6 +475,51 @@ func uniffiCheckChecksums() {panic("fleet_sdk: uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim: UniFFI API checksum mismatch")}}+ {+ checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {+ return C.uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads()+ })+ if checksum != 53280 {+ // If this happens try cleaning and rebuilding your project+ panic("fleet_sdk: uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads: UniFFI API checksum mismatch")+ }+ }+ {+ checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {+ return C.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image()+ })+ if checksum != 51053 {+ // If this happens try cleaning and rebuilding your project+ panic("fleet_sdk: uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image: UniFFI API checksum mismatch")+ }+ }+ {+ checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {+ return C.uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image()+ })+ if checksum != 24680 {+ // If this happens try cleaning and rebuilding your project+ panic("fleet_sdk: uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image: UniFFI API checksum mismatch")+ }+ }+ {+ checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {+ return C.uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image()+ })+ if checksum != 56969 {+ // If this happens try cleaning and rebuilding your project+ panic("fleet_sdk: uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image: UniFFI API checksum mismatch")+ }+ }+ {+ checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {+ return C.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images()+ })+ if checksum != 31215 {+ // If this happens try cleaning and rebuilding your project+ panic("fleet_sdk: uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images: UniFFI API checksum mismatch")+ }+ }{checksum := rustCall(func(_uniffiStatus *C.RustCallStatus) C.uint16_t {return C.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace()@@ -1311,6 +1356,11 @@ type CyclopsClientInterface interface {// can be mutated through the SDK.RenewClaim(claim Claim, shutdownTime string) (Claim, error)WaitClaim(claim Claim) (Sandbox, error)+ PresignImageUploads(request ImageUploadRequest) (ImageUploadResponse, error)+ CreateImage(namespace string, manifest *cyclops_sdk_schema.PreservedJson) (*cyclops_sdk_schema.PreservedJson, error)+ DeleteImage(namespace string, name string) error+ GetImage(namespace string, name string) (*cyclops_sdk_schema.PreservedJson, error)+ ListImages(namespace string) ([]*cyclops_sdk_schema.PreservedJson, error)CreateNamespace(name string) (Namespace, error)DeleteNamespace(name string) errorGetNamespace(name string) (Namespace, error)@@ -1635,6 +1685,179 @@ func (_self *CyclopsClient) WaitClaim(claim Claim) (Sandbox, error) {return res, err}+func (_self *CyclopsClient) PresignImageUploads(request ImageUploadRequest) (ImageUploadResponse, error) {+ _pointer := _self.ffiObject.incrementPointer("*CyclopsClient")+ defer _self.ffiObject.decrementPointer()+ res, err := uniffiRustCallAsync[*SdkError](+ FfiConverterSdkErrorINSTANCE,+ // completeFn+ func(handle C.uint64_t, status *C.RustCallStatus) RustBufferI {+ res := C.ffi_cyclops_sdk_rust_future_complete_rust_buffer(handle, status)+ return GoRustBuffer{+ inner: res,+ }+ },+ // liftFn+ func(ffi RustBufferI) ImageUploadResponse {+ return FfiConverterImageUploadResponseINSTANCE.Lift(ffi)+ },+ C.uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(+ _pointer, FfiConverterImageUploadRequestINSTANCE.Lower(request)),+ // pollFn+ func(handle C.uint64_t, continuation C.UniffiRustFutureContinuationCallback, data C.uint64_t) {+ C.ffi_cyclops_sdk_rust_future_poll_rust_buffer(handle, continuation, data)+ },+ // freeFn+ func(handle C.uint64_t) {+ C.ffi_cyclops_sdk_rust_future_free_rust_buffer(handle)+ },+ )++ if err == nil {+ return res, nil+ }++ return res, err+}++func (_self *CyclopsClient) CreateImage(namespace string, manifest *cyclops_sdk_schema.PreservedJson) (*cyclops_sdk_schema.PreservedJson, error) {+ _pointer := _self.ffiObject.incrementPointer("*CyclopsClient")+ defer _self.ffiObject.decrementPointer()+ res, err := uniffiRustCallAsync[*SdkError](+ FfiConverterSdkErrorINSTANCE,+ // completeFn+ func(handle C.uint64_t, status *C.RustCallStatus) C.uint64_t {+ res := C.ffi_cyclops_sdk_rust_future_complete_u64(handle, status)+ return res+ },+ // liftFn+ func(ffi C.uint64_t) *cyclops_sdk_schema.PreservedJson {+ return func(handle C.uint64_t) *cyclops_sdk_schema.PreservedJson {+ return cyclops_sdk_schema.LiftFromExternalPreservedJson(uint64(handle))+ }(ffi)+ },+ C.uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(+ _pointer, FfiConverterStringINSTANCE.Lower(namespace), func(value *cyclops_sdk_schema.PreservedJson) C.uint64_t {+ return C.uint64_t(cyclops_sdk_schema.LowerToExternalPreservedJson(value))+ }(manifest)),+ // pollFn+ func(handle C.uint64_t, continuation C.UniffiRustFutureContinuationCallback, data C.uint64_t) {+ C.ffi_cyclops_sdk_rust_future_poll_u64(handle, continuation, data)+ },+ // freeFn+ func(handle C.uint64_t) {+ C.ffi_cyclops_sdk_rust_future_free_u64(handle)+ },+ )++ if err == nil {+ return res, nil+ }++ return res, err+}++func (_self *CyclopsClient) DeleteImage(namespace string, name string) error {+ _pointer := _self.ffiObject.incrementPointer("*CyclopsClient")+ defer _self.ffiObject.decrementPointer()+ _, err := uniffiRustCallAsync[*SdkError](+ FfiConverterSdkErrorINSTANCE,+ // completeFn+ func(handle C.uint64_t, status *C.RustCallStatus) struct{} {+ C.ffi_cyclops_sdk_rust_future_complete_void(handle, status)+ return struct{}{}+ },+ // liftFn+ func(_ struct{}) struct{} { return struct{}{} },+ C.uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(+ _pointer, FfiConverterStringINSTANCE.Lower(namespace), FfiConverterStringINSTANCE.Lower(name)),+ // pollFn+ func(handle C.uint64_t, continuation C.UniffiRustFutureContinuationCallback, data C.uint64_t) {+ C.ffi_cyclops_sdk_rust_future_poll_void(handle, continuation, data)+ },+ // freeFn+ func(handle C.uint64_t) {+ C.ffi_cyclops_sdk_rust_future_free_void(handle)+ },+ )++ if err == nil {+ return nil+ }++ return err+}++func (_self *CyclopsClient) GetImage(namespace string, name string) (*cyclops_sdk_schema.PreservedJson, error) {+ _pointer := _self.ffiObject.incrementPointer("*CyclopsClient")+ defer _self.ffiObject.decrementPointer()+ res, err := uniffiRustCallAsync[*SdkError](+ FfiConverterSdkErrorINSTANCE,+ // completeFn+ func(handle C.uint64_t, status *C.RustCallStatus) C.uint64_t {+ res := C.ffi_cyclops_sdk_rust_future_complete_u64(handle, status)+ return res+ },+ // liftFn+ func(ffi C.uint64_t) *cyclops_sdk_schema.PreservedJson {+ return func(handle C.uint64_t) *cyclops_sdk_schema.PreservedJson {+ return cyclops_sdk_schema.LiftFromExternalPreservedJson(uint64(handle))+ }(ffi)+ },+ C.uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(+ _pointer, FfiConverterStringINSTANCE.Lower(namespace), FfiConverterStringINSTANCE.Lower(name)),+ // pollFn+ func(handle C.uint64_t, continuation C.UniffiRustFutureContinuationCallback, data C.uint64_t) {+ C.ffi_cyclops_sdk_rust_future_poll_u64(handle, continuation, data)+ },+ // freeFn+ func(handle C.uint64_t) {+ C.ffi_cyclops_sdk_rust_future_free_u64(handle)+ },+ )++ if err == nil {+ return res, nil+ }++ return res, err+}++func (_self *CyclopsClient) ListImages(namespace string) ([]*cyclops_sdk_schema.PreservedJson, error) {+ _pointer := _self.ffiObject.incrementPointer("*CyclopsClient")+ defer _self.ffiObject.decrementPointer()+ res, err := uniffiRustCallAsync[*SdkError](+ FfiConverterSdkErrorINSTANCE,+ // completeFn+ func(handle C.uint64_t, status *C.RustCallStatus) RustBufferI {+ res := C.ffi_cyclops_sdk_rust_future_complete_rust_buffer(handle, status)+ return GoRustBuffer{+ inner: res,+ }+ },+ // liftFn+ func(ffi RustBufferI) []*cyclops_sdk_schema.PreservedJson {+ return FfiConverterSequencePreservedJsonINSTANCE.Lift(ffi)+ },+ C.uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(+ _pointer, FfiConverterStringINSTANCE.Lower(namespace)),+ // pollFn+ func(handle C.uint64_t, continuation C.UniffiRustFutureContinuationCallback, data C.uint64_t) {+ C.ffi_cyclops_sdk_rust_future_poll_rust_buffer(handle, continuation, data)+ },+ // freeFn+ func(handle C.uint64_t) {+ C.ffi_cyclops_sdk_rust_future_free_rust_buffer(handle)+ },+ )++ if err == nil {+ return res, nil+ }++ return res, err+}+func (_self *CyclopsClient) CreateNamespace(name string) (Namespace, error) {_pointer := _self.ffiObject.incrementPointer("*CyclopsClient")defer _self.ffiObject.decrementPointer()@@ -2544,12 +2767,16 @@ func (_ FfiDestroyerCyclopsCredentials) Destroy(value *CyclopsCredentials) {}type HttpClient interface {+ // Executes an HTTP request. Foreign implementations must enforce+ // `request.max_response_bytes` while streaming the response body.Execute(request HttpRequest) (HttpResponse, error)}type HttpClientImpl struct {ffiObject FfiObject}+// Executes an HTTP request. Foreign implementations must enforce+// `request.max_response_bytes` while streaming the response body.func (_self *HttpClientImpl) Execute(request HttpRequest) (HttpResponse, error) {_pointer := _self.ffiObject.incrementPointer("HttpClient")defer _self.ffiObject.decrementPointer()@@ -3319,6 +3546,190 @@ func (_ FfiDestroyerHttpResponse) Destroy(value HttpResponse) {value.Destroy()}+type ImageUploadFileRequest struct {+ Digest string+ SizeBytes uint64+ Name string+}++func (r *ImageUploadFileRequest) Destroy() {+ FfiDestroyerString{}.Destroy(r.Digest)+ FfiDestroyerUint64{}.Destroy(r.SizeBytes)+ FfiDestroyerString{}.Destroy(r.Name)+}++type FfiConverterImageUploadFileRequest struct{}++var FfiConverterImageUploadFileRequestINSTANCE = FfiConverterImageUploadFileRequest{}++func (c FfiConverterImageUploadFileRequest) Lift(rb RustBufferI) ImageUploadFileRequest {+ return LiftFromRustBuffer[ImageUploadFileRequest](c, rb)+}++func (c FfiConverterImageUploadFileRequest) Read(reader io.Reader) ImageUploadFileRequest {+ return ImageUploadFileRequest{+ FfiConverterStringINSTANCE.Read(reader),+ FfiConverterUint64INSTANCE.Read(reader),+ FfiConverterStringINSTANCE.Read(reader),+ }+}++func (c FfiConverterImageUploadFileRequest) Lower(value ImageUploadFileRequest) C.RustBuffer {+ return LowerIntoRustBuffer[ImageUploadFileRequest](c, value)+}++func (c FfiConverterImageUploadFileRequest) LowerExternal(value ImageUploadFileRequest) ExternalCRustBuffer {+ return RustBufferFromC(LowerIntoRustBuffer[ImageUploadFileRequest](c, value))+}++func (c FfiConverterImageUploadFileRequest) Write(writer io.Writer, value ImageUploadFileRequest) {+ FfiConverterStringINSTANCE.Write(writer, value.Digest)+ FfiConverterUint64INSTANCE.Write(writer, value.SizeBytes)+ FfiConverterStringINSTANCE.Write(writer, value.Name)+}++type FfiDestroyerImageUploadFileRequest struct{}++func (_ FfiDestroyerImageUploadFileRequest) Destroy(value ImageUploadFileRequest) {+ value.Destroy()+}++type ImageUploadInstruction struct {+ Digest string+ SizeBytes uint64+ Reference string+ Upload *PresignedPut+}++func (r *ImageUploadInstruction) Destroy() {+ FfiDestroyerString{}.Destroy(r.Digest)+ FfiDestroyerUint64{}.Destroy(r.SizeBytes)+ FfiDestroyerString{}.Destroy(r.Reference)+ FfiDestroyerOptionalPresignedPut{}.Destroy(r.Upload)+}++type FfiConverterImageUploadInstruction struct{}++var FfiConverterImageUploadInstructionINSTANCE = FfiConverterImageUploadInstruction{}++func (c FfiConverterImageUploadInstruction) Lift(rb RustBufferI) ImageUploadInstruction {+ return LiftFromRustBuffer[ImageUploadInstruction](c, rb)+}++func (c FfiConverterImageUploadInstruction) Read(reader io.Reader) ImageUploadInstruction {+ return ImageUploadInstruction{+ FfiConverterStringINSTANCE.Read(reader),+ FfiConverterUint64INSTANCE.Read(reader),+ FfiConverterStringINSTANCE.Read(reader),+ FfiConverterOptionalPresignedPutINSTANCE.Read(reader),+ }+}++func (c FfiConverterImageUploadInstruction) Lower(value ImageUploadInstruction) C.RustBuffer {+ return LowerIntoRustBuffer[ImageUploadInstruction](c, value)+}++func (c FfiConverterImageUploadInstruction) LowerExternal(value ImageUploadInstruction) ExternalCRustBuffer {+ return RustBufferFromC(LowerIntoRustBuffer[ImageUploadInstruction](c, value))+}++func (c FfiConverterImageUploadInstruction) Write(writer io.Writer, value ImageUploadInstruction) {+ FfiConverterStringINSTANCE.Write(writer, value.Digest)+ FfiConverterUint64INSTANCE.Write(writer, value.SizeBytes)+ FfiConverterStringINSTANCE.Write(writer, value.Reference)+ FfiConverterOptionalPresignedPutINSTANCE.Write(writer, value.Upload)+}++type FfiDestroyerImageUploadInstruction struct{}++func (_ FfiDestroyerImageUploadInstruction) Destroy(value ImageUploadInstruction) {+ value.Destroy()+}++type ImageUploadRequest struct {+ Namespace string+ Files []ImageUploadFileRequest+}++func (r *ImageUploadRequest) Destroy() {+ FfiDestroyerString{}.Destroy(r.Namespace)+ FfiDestroyerSequenceImageUploadFileRequest{}.Destroy(r.Files)+}++type FfiConverterImageUploadRequest struct{}++var FfiConverterImageUploadRequestINSTANCE = FfiConverterImageUploadRequest{}++func (c FfiConverterImageUploadRequest) Lift(rb RustBufferI) ImageUploadRequest {+ return LiftFromRustBuffer[ImageUploadRequest](c, rb)+}++func (c FfiConverterImageUploadRequest) Read(reader io.Reader) ImageUploadRequest {+ return ImageUploadRequest{+ FfiConverterStringINSTANCE.Read(reader),+ FfiConverterSequenceImageUploadFileRequestINSTANCE.Read(reader),+ }+}++func (c FfiConverterImageUploadRequest) Lower(value ImageUploadRequest) C.RustBuffer {+ return LowerIntoRustBuffer[ImageUploadRequest](c, value)+}++func (c FfiConverterImageUploadRequest) LowerExternal(value ImageUploadRequest) ExternalCRustBuffer {+ return RustBufferFromC(LowerIntoRustBuffer[ImageUploadRequest](c, value))+}++func (c FfiConverterImageUploadRequest) Write(writer io.Writer, value ImageUploadRequest) {+ FfiConverterStringINSTANCE.Write(writer, value.Namespace)+ FfiConverterSequenceImageUploadFileRequestINSTANCE.Write(writer, value.Files)+}++type FfiDestroyerImageUploadRequest struct{}++func (_ FfiDestroyerImageUploadRequest) Destroy(value ImageUploadRequest) {+ value.Destroy()+}++type ImageUploadResponse struct {+ Files []ImageUploadInstruction+}++func (r *ImageUploadResponse) Destroy() {+ FfiDestroyerSequenceImageUploadInstruction{}.Destroy(r.Files)+}++type FfiConverterImageUploadResponse struct{}++var FfiConverterImageUploadResponseINSTANCE = FfiConverterImageUploadResponse{}++func (c FfiConverterImageUploadResponse) Lift(rb RustBufferI) ImageUploadResponse {+ return LiftFromRustBuffer[ImageUploadResponse](c, rb)+}++func (c FfiConverterImageUploadResponse) Read(reader io.Reader) ImageUploadResponse {+ return ImageUploadResponse{+ FfiConverterSequenceImageUploadInstructionINSTANCE.Read(reader),+ }+}++func (c FfiConverterImageUploadResponse) Lower(value ImageUploadResponse) C.RustBuffer {+ return LowerIntoRustBuffer[ImageUploadResponse](c, value)+}++func (c FfiConverterImageUploadResponse) LowerExternal(value ImageUploadResponse) ExternalCRustBuffer {+ return RustBufferFromC(LowerIntoRustBuffer[ImageUploadResponse](c, value))+}++func (c FfiConverterImageUploadResponse) Write(writer io.Writer, value ImageUploadResponse) {+ FfiConverterSequenceImageUploadInstructionINSTANCE.Write(writer, value.Files)+}++type FfiDestroyerImageUploadResponse struct{}++func (_ FfiDestroyerImageUploadResponse) Destroy(value ImageUploadResponse) {+ value.Destroy()+}+type Namespace struct {Name stringStatus string@@ -3538,6 +3949,54 @@ func (_ FfiDestroyerPoolDisplayStatus) Destroy(value PoolDisplayStatus) {value.Destroy()}+type PresignedPut struct {+ Method string+ Url string+ Headers map[string]string+}++func (r *PresignedPut) Destroy() {+ FfiDestroyerString{}.Destroy(r.Method)+ FfiDestroyerString{}.Destroy(r.Url)+ FfiDestroyerMapStringString{}.Destroy(r.Headers)+}++type FfiConverterPresignedPut struct{}++var FfiConverterPresignedPutINSTANCE = FfiConverterPresignedPut{}++func (c FfiConverterPresignedPut) Lift(rb RustBufferI) PresignedPut {+ return LiftFromRustBuffer[PresignedPut](c, rb)+}++func (c FfiConverterPresignedPut) Read(reader io.Reader) PresignedPut {+ return PresignedPut{+ FfiConverterStringINSTANCE.Read(reader),+ FfiConverterStringINSTANCE.Read(reader),+ FfiConverterMapStringStringINSTANCE.Read(reader),+ }+}++func (c FfiConverterPresignedPut) Lower(value PresignedPut) C.RustBuffer {+ return LowerIntoRustBuffer[PresignedPut](c, value)+}++func (c FfiConverterPresignedPut) LowerExternal(value PresignedPut) ExternalCRustBuffer {+ return RustBufferFromC(LowerIntoRustBuffer[PresignedPut](c, value))+}++func (c FfiConverterPresignedPut) Write(writer io.Writer, value PresignedPut) {+ FfiConverterStringINSTANCE.Write(writer, value.Method)+ FfiConverterStringINSTANCE.Write(writer, value.Url)+ FfiConverterMapStringStringINSTANCE.Write(writer, value.Headers)+}++type FfiDestroyerPresignedPut struct{}++func (_ FfiDestroyerPresignedPut) Destroy(value PresignedPut) {+ value.Destroy()+}+type ResourceMetadata struct {Namespace stringName string@@ -4892,6 +5351,47 @@ func (_ FfiDestroyerOptionalBytes) Destroy(value *[]byte) {}}+type FfiConverterOptionalPresignedPut struct{}++var FfiConverterOptionalPresignedPutINSTANCE = FfiConverterOptionalPresignedPut{}++func (c FfiConverterOptionalPresignedPut) Lift(rb RustBufferI) *PresignedPut {+ return LiftFromRustBuffer[*PresignedPut](c, rb)+}++func (_ FfiConverterOptionalPresignedPut) Read(reader io.Reader) *PresignedPut {+ if readInt8(reader) == 0 {+ return nil+ }+ temp := FfiConverterPresignedPutINSTANCE.Read(reader)+ return &temp+}++func (c FfiConverterOptionalPresignedPut) Lower(value *PresignedPut) C.RustBuffer {+ return LowerIntoRustBuffer[*PresignedPut](c, value)+}++func (c FfiConverterOptionalPresignedPut) LowerExternal(value *PresignedPut) ExternalCRustBuffer {+ return RustBufferFromC(LowerIntoRustBuffer[*PresignedPut](c, value))+}++func (_ FfiConverterOptionalPresignedPut) Write(writer io.Writer, value *PresignedPut) {+ if value == nil {+ writeInt8(writer, 0)+ } else {+ writeInt8(writer, 1)+ FfiConverterPresignedPutINSTANCE.Write(writer, *value)+ }+}++type FfiDestroyerOptionalPresignedPut struct{}++func (_ FfiDestroyerOptionalPresignedPut) Destroy(value *PresignedPut) {+ if value != nil {+ FfiDestroyerPresignedPut{}.Destroy(*value)+ }+}+type FfiConverterOptionalClaimSpec struct{}var FfiConverterOptionalClaimSpecINSTANCE = FfiConverterOptionalClaimSpec{}@@ -5103,6 +5603,53 @@ func (FfiDestroyerSequenceString) Destroy(sequence []string) {}}+type FfiConverterSequencePreservedJson struct{}++var FfiConverterSequencePreservedJsonINSTANCE = FfiConverterSequencePreservedJson{}++func (c FfiConverterSequencePreservedJson) Lift(rb RustBufferI) []*cyclops_sdk_schema.PreservedJson {+ return LiftFromRustBuffer[[]*cyclops_sdk_schema.PreservedJson](c, rb)+}++func (c FfiConverterSequencePreservedJson) Read(reader io.Reader) []*cyclops_sdk_schema.PreservedJson {+ length := readInt32(reader)+ if length == 0 {+ return nil+ }+ result := make([]*cyclops_sdk_schema.PreservedJson, 0, length)+ for i := int32(0); i < length; i++ {+ result = append(result, cyclops_sdk_schema.FfiConverterPreservedJsonINSTANCE.Read(reader))+ }+ return result+}++func (c FfiConverterSequencePreservedJson) Lower(value []*cyclops_sdk_schema.PreservedJson) C.RustBuffer {+ return LowerIntoRustBuffer[[]*cyclops_sdk_schema.PreservedJson](c, value)+}++func (c FfiConverterSequencePreservedJson) LowerExternal(value []*cyclops_sdk_schema.PreservedJson) ExternalCRustBuffer {+ return RustBufferFromC(LowerIntoRustBuffer[[]*cyclops_sdk_schema.PreservedJson](c, value))+}++func (c FfiConverterSequencePreservedJson) Write(writer io.Writer, value []*cyclops_sdk_schema.PreservedJson) {+ if len(value) > math.MaxInt32 {+ panic("[]*cyclops_sdk_schema.PreservedJson is too large to fit into Int32")+ }++ writeInt32(writer, int32(len(value)))+ for _, item := range value {+ cyclops_sdk_schema.FfiConverterPreservedJsonINSTANCE.Write(writer, item)+ }+}++type FfiDestroyerSequencePreservedJson struct{}++func (FfiDestroyerSequencePreservedJson) Destroy(sequence []*cyclops_sdk_schema.PreservedJson) {+ for _, value := range sequence {+ cyclops_sdk_schema.FfiDestroyerPreservedJson{}.Destroy(value)+ }+}+type FfiConverterSequenceClaim struct{}var FfiConverterSequenceClaimINSTANCE = FfiConverterSequenceClaim{}@@ -5197,6 +5744,100 @@ func (FfiDestroyerSequenceHttpHeader) Destroy(sequence []HttpHeader) {}}+type FfiConverterSequenceImageUploadFileRequest struct{}++var FfiConverterSequenceImageUploadFileRequestINSTANCE = FfiConverterSequenceImageUploadFileRequest{}++func (c FfiConverterSequenceImageUploadFileRequest) Lift(rb RustBufferI) []ImageUploadFileRequest {+ return LiftFromRustBuffer[[]ImageUploadFileRequest](c, rb)+}++func (c FfiConverterSequenceImageUploadFileRequest) Read(reader io.Reader) []ImageUploadFileRequest {+ length := readInt32(reader)+ if length == 0 {+ return nil+ }+ result := make([]ImageUploadFileRequest, 0, length)+ for i := int32(0); i < length; i++ {+ result = append(result, FfiConverterImageUploadFileRequestINSTANCE.Read(reader))+ }+ return result+}++func (c FfiConverterSequenceImageUploadFileRequest) Lower(value []ImageUploadFileRequest) C.RustBuffer {+ return LowerIntoRustBuffer[[]ImageUploadFileRequest](c, value)+}++func (c FfiConverterSequenceImageUploadFileRequest) LowerExternal(value []ImageUploadFileRequest) ExternalCRustBuffer {+ return RustBufferFromC(LowerIntoRustBuffer[[]ImageUploadFileRequest](c, value))+}++func (c FfiConverterSequenceImageUploadFileRequest) Write(writer io.Writer, value []ImageUploadFileRequest) {+ if len(value) > math.MaxInt32 {+ panic("[]ImageUploadFileRequest is too large to fit into Int32")+ }++ writeInt32(writer, int32(len(value)))+ for _, item := range value {+ FfiConverterImageUploadFileRequestINSTANCE.Write(writer, item)+ }+}++type FfiDestroyerSequenceImageUploadFileRequest struct{}++func (FfiDestroyerSequenceImageUploadFileRequest) Destroy(sequence []ImageUploadFileRequest) {+ for _, value := range sequence {+ FfiDestroyerImageUploadFileRequest{}.Destroy(value)+ }+}++type FfiConverterSequenceImageUploadInstruction struct{}++var FfiConverterSequenceImageUploadInstructionINSTANCE = FfiConverterSequenceImageUploadInstruction{}++func (c FfiConverterSequenceImageUploadInstruction) Lift(rb RustBufferI) []ImageUploadInstruction {+ return LiftFromRustBuffer[[]ImageUploadInstruction](c, rb)+}++func (c FfiConverterSequenceImageUploadInstruction) Read(reader io.Reader) []ImageUploadInstruction {+ length := readInt32(reader)+ if length == 0 {+ return nil+ }+ result := make([]ImageUploadInstruction, 0, length)+ for i := int32(0); i < length; i++ {+ result = append(result, FfiConverterImageUploadInstructionINSTANCE.Read(reader))+ }+ return result+}++func (c FfiConverterSequenceImageUploadInstruction) Lower(value []ImageUploadInstruction) C.RustBuffer {+ return LowerIntoRustBuffer[[]ImageUploadInstruction](c, value)+}++func (c FfiConverterSequenceImageUploadInstruction) LowerExternal(value []ImageUploadInstruction) ExternalCRustBuffer {+ return RustBufferFromC(LowerIntoRustBuffer[[]ImageUploadInstruction](c, value))+}++func (c FfiConverterSequenceImageUploadInstruction) Write(writer io.Writer, value []ImageUploadInstruction) {+ if len(value) > math.MaxInt32 {+ panic("[]ImageUploadInstruction is too large to fit into Int32")+ }++ writeInt32(writer, int32(len(value)))+ for _, item := range value {+ FfiConverterImageUploadInstructionINSTANCE.Write(writer, item)+ }+}++type FfiDestroyerSequenceImageUploadInstruction struct{}++func (FfiDestroyerSequenceImageUploadInstruction) Destroy(sequence []ImageUploadInstruction) {+ for _, value := range sequence {+ FfiDestroyerImageUploadInstruction{}.Destroy(value)+ }+}+type FfiConverterSequenceNamespace struct{}var FfiConverterSequenceNamespaceINSTANCE = FfiConverterSequenceNamespace{}@@ -5548,6 +6189,14 @@ func HealthyPoolDisplayStatus() PoolDisplayStatus {}))}+func GetPoolDisplayStatus(pool Pool) PoolDisplayStatus {+ return FfiConverterPoolDisplayStatusINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) RustBufferI {+ return GoRustBuffer{+ inner: C.uniffi_cyclops_sdk_fn_func_pool_display_status(FfiConverterPoolINSTANCE.Lower(pool), _uniffiStatus),+ }+ }))+}+func RemovedPoolDisplayStatus() PoolDisplayStatus {return FfiConverterPoolDisplayStatusINSTANCE.Lift(rustCall(func(_uniffiStatus *C.RustCallStatus) RustBufferI {return GoRustBuffer{diff --git a/libs/fleet/sdk-bindings/go-uniffi/fleet_sdk/fleet_sdk.h b/libs/fleet/sdk-bindings/go-uniffi/fleet_sdk/fleet_sdk.hindex 3d9e701201..92d4d433f3 100644--- a/libs/fleet/sdk-bindings/go-uniffi/fleet_sdk/fleet_sdk.h+++ b/libs/fleet/sdk-bindings/go-uniffi/fleet_sdk/fleet_sdk.h@@ -491,6 +491,31 @@ uint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_renew_claim(uint64_t ptr, Ruuint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_wait_claim(uint64_t ptr, RustBuffer claim);#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_PRESIGN_IMAGE_UPLOADS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_PRESIGN_IMAGE_UPLOADS+uint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(uint64_t ptr, RustBuffer request+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_CREATE_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_CREATE_IMAGE+uint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(uint64_t ptr, RustBuffer namespace, uint64_t manifest+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_DELETE_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_DELETE_IMAGE+uint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(uint64_t ptr, RustBuffer namespace, RustBuffer name+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_GET_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_GET_IMAGE+uint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(uint64_t ptr, RustBuffer namespace, RustBuffer name+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_LIST_IMAGES+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_LIST_IMAGES+uint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(uint64_t ptr, RustBuffer namespace+);+#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_CREATE_NAMESPACE#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_CREATE_NAMESPACEuint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_create_namespace(uint64_t ptr, RustBuffer name@@ -646,6 +671,181 @@ void uniffi_cyclops_sdk_fn_init_callback_vtable_httpclient(UniffiVTableCallbackIuint64_t uniffi_cyclops_sdk_fn_method_httpclient_execute(uint64_t ptr, RustBuffer request);#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CREATECLAIMREQUESTBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CREATECLAIMREQUESTBUILDER+uint64_t uniffi_cyclops_sdk_fn_clone_createclaimrequestbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_CREATECLAIMREQUESTBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_CREATECLAIMREQUESTBUILDER+void uniffi_cyclops_sdk_fn_free_createclaimrequestbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_CREATECLAIMREQUESTBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_CREATECLAIMREQUESTBUILDER_NEW+uint64_t uniffi_cyclops_sdk_fn_constructor_createclaimrequestbuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATECLAIMREQUESTBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATECLAIMREQUESTBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATECLAIMREQUESTBUILDER_NAME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATECLAIMREQUESTBUILDER_NAME+uint64_t uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_name(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATECLAIMREQUESTBUILDER_POOL+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATECLAIMREQUESTBUILDER_POOL+uint64_t uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_pool(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATECLAIMREQUESTBUILDER_SPEC+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATECLAIMREQUESTBUILDER_SPEC+uint64_t uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_spec(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CREATEPOOLREQUESTBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CREATEPOOLREQUESTBUILDER+uint64_t uniffi_cyclops_sdk_fn_clone_createpoolrequestbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_CREATEPOOLREQUESTBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_CREATEPOOLREQUESTBUILDER+void uniffi_cyclops_sdk_fn_free_createpoolrequestbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_CREATEPOOLREQUESTBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_CREATEPOOLREQUESTBUILDER_NEW+uint64_t uniffi_cyclops_sdk_fn_constructor_createpoolrequestbuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATEPOOLREQUESTBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATEPOOLREQUESTBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATEPOOLREQUESTBUILDER_NAMESPACE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATEPOOLREQUESTBUILDER_NAMESPACE+uint64_t uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_namespace(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATEPOOLREQUESTBUILDER_SPEC+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATEPOOLREQUESTBUILDER_SPEC+uint64_t uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_spec(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CREATESIGNEDSERVICEURLREQUESTBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CREATESIGNEDSERVICEURLREQUESTBUILDER+uint64_t uniffi_cyclops_sdk_fn_clone_createsignedserviceurlrequestbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_CREATESIGNEDSERVICEURLREQUESTBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_CREATESIGNEDSERVICEURLREQUESTBUILDER+void uniffi_cyclops_sdk_fn_free_createsignedserviceurlrequestbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_CREATESIGNEDSERVICEURLREQUESTBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_CREATESIGNEDSERVICEURLREQUESTBUILDER_NEW+uint64_t uniffi_cyclops_sdk_fn_constructor_createsignedserviceurlrequestbuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_EXPIRES_IN_SECONDS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_EXPIRES_IN_SECONDS+uint64_t uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_expires_in_seconds(uint64_t ptr, uint32_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_LABEL+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_LABEL+uint64_t uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_label(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_SANDBOX+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_SANDBOX+uint64_t uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_sandbox(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_SERVICE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_SERVICE+uint64_t uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_service(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CREATETEMPLATEREQUESTBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CREATETEMPLATEREQUESTBUILDER+uint64_t uniffi_cyclops_sdk_fn_clone_createtemplaterequestbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_CREATETEMPLATEREQUESTBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_CREATETEMPLATEREQUESTBUILDER+void uniffi_cyclops_sdk_fn_free_createtemplaterequestbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_CREATETEMPLATEREQUESTBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_CREATETEMPLATEREQUESTBUILDER_NEW+uint64_t uniffi_cyclops_sdk_fn_constructor_createtemplaterequestbuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATETEMPLATEREQUESTBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATETEMPLATEREQUESTBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATETEMPLATEREQUESTBUILDER_NAME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATETEMPLATEREQUESTBUILDER_NAME+uint64_t uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_name(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATETEMPLATEREQUESTBUILDER_NAMESPACE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATETEMPLATEREQUESTBUILDER_NAMESPACE+uint64_t uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_namespace(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATETEMPLATEREQUESTBUILDER_SPEC+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATETEMPLATEREQUESTBUILDER_SPEC+uint64_t uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_spec(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CREATEUSERAPIKEYREQUESTBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CREATEUSERAPIKEYREQUESTBUILDER+uint64_t uniffi_cyclops_sdk_fn_clone_createuserapikeyrequestbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_CREATEUSERAPIKEYREQUESTBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_CREATEUSERAPIKEYREQUESTBUILDER+void uniffi_cyclops_sdk_fn_free_createuserapikeyrequestbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_CREATEUSERAPIKEYREQUESTBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_CREATEUSERAPIKEYREQUESTBUILDER_NEW+uint64_t uniffi_cyclops_sdk_fn_constructor_createuserapikeyrequestbuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATEUSERAPIKEYREQUESTBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATEUSERAPIKEYREQUESTBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATEUSERAPIKEYREQUESTBUILDER_NAME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATEUSERAPIKEYREQUESTBUILDER_NAME+uint64_t uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_name(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATEUSERAPIKEYREQUESTBUILDER_SCOPE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CREATEUSERAPIKEYREQUESTBUILDER_SCOPE+uint64_t uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_scope(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CYCLOPSCREDENTIALS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CYCLOPSCREDENTIALSuint64_t uniffi_cyclops_sdk_fn_clone_cyclopscredentials(uint64_t handle, RustCallStatus *out_status@@ -661,10 +861,148 @@ void uniffi_cyclops_sdk_fn_free_cyclopscredentials(uint64_t handle, RustCallStatuint64_t uniffi_cyclops_sdk_fn_constructor_cyclopscredentials_new(RustBuffer client_id, RustBuffer client_secret, RustCallStatus *out_status);#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER+uint64_t uniffi_cyclops_sdk_fn_clone_cyclopstokenproviderconfigurationbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER+void uniffi_cyclops_sdk_fn_free_cyclopstokenproviderconfigurationbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_NEW+uint64_t uniffi_cyclops_sdk_fn_constructor_cyclopstokenproviderconfigurationbuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_BASE_URL+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_BASE_URL+uint64_t uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_base_url(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_CLAIM_POLL_INTERVAL_MS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_CLAIM_POLL_INTERVAL_MS+uint64_t uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms(uint64_t ptr, uint64_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_CLAIM_POLL_LIMIT+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_CLAIM_POLL_LIMIT+uint64_t uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit(uint64_t ptr, uint32_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_POOL_POLL_INTERVAL_MS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_POOL_POLL_INTERVAL_MS+uint64_t uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms(uint64_t ptr, uint64_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_POOL_POLL_LIMIT+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_POOL_POLL_LIMIT+uint64_t uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit(uint64_t ptr, uint32_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_HTTPREQUESTBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_HTTPREQUESTBUILDER+uint64_t uniffi_cyclops_sdk_fn_clone_httprequestbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_HTTPREQUESTBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_HTTPREQUESTBUILDER+void uniffi_cyclops_sdk_fn_free_httprequestbuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_HTTPREQUESTBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_HTTPREQUESTBUILDER_NEW+uint64_t uniffi_cyclops_sdk_fn_constructor_httprequestbuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_BODY+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_BODY+uint64_t uniffi_cyclops_sdk_fn_method_httprequestbuilder_body(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_fn_method_httprequestbuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_HEADERS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_HEADERS+uint64_t uniffi_cyclops_sdk_fn_method_httprequestbuilder_headers(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_MAX_RESPONSE_BYTES+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_MAX_RESPONSE_BYTES+uint64_t uniffi_cyclops_sdk_fn_method_httprequestbuilder_max_response_bytes(uint64_t ptr, uint64_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_METHOD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_METHOD+uint64_t uniffi_cyclops_sdk_fn_method_httprequestbuilder_method(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_TIMEOUT_SECS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_TIMEOUT_SECS+uint64_t uniffi_cyclops_sdk_fn_method_httprequestbuilder_timeout_secs(uint64_t ptr, uint64_t value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_URL+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_HTTPREQUESTBUILDER_URL+uint64_t uniffi_cyclops_sdk_fn_method_httprequestbuilder_url(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_TEMPLATEBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CLONE_TEMPLATEBUILDER+uint64_t uniffi_cyclops_sdk_fn_clone_templatebuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_TEMPLATEBUILDER+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FREE_TEMPLATEBUILDER+void uniffi_cyclops_sdk_fn_free_templatebuilder(uint64_t handle, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_TEMPLATEBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_CONSTRUCTOR_TEMPLATEBUILDER_NEW+uint64_t uniffi_cyclops_sdk_fn_constructor_templatebuilder_new(RustCallStatus *out_status++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_TEMPLATEBUILDER_API_VERSION+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_TEMPLATEBUILDER_API_VERSION+uint64_t uniffi_cyclops_sdk_fn_method_templatebuilder_api_version(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_TEMPLATEBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_TEMPLATEBUILDER_BUILD+RustBuffer uniffi_cyclops_sdk_fn_method_templatebuilder_build(uint64_t ptr, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_TEMPLATEBUILDER_KIND+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_TEMPLATEBUILDER_KIND+uint64_t uniffi_cyclops_sdk_fn_method_templatebuilder_kind(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_TEMPLATEBUILDER_METADATA+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_TEMPLATEBUILDER_METADATA+uint64_t uniffi_cyclops_sdk_fn_method_templatebuilder_metadata(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_TEMPLATEBUILDER_SPEC+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_TEMPLATEBUILDER_SPEC+uint64_t uniffi_cyclops_sdk_fn_method_templatebuilder_spec(uint64_t ptr, RustBuffer value, RustCallStatus *out_status+);+#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FUNC_HEALTHY_POOL_DISPLAY_STATUS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FUNC_HEALTHY_POOL_DISPLAY_STATUSRustBuffer uniffi_cyclops_sdk_fn_func_healthy_pool_display_status(RustCallStatus *out_status-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FUNC_POOL_DISPLAY_STATUS@@ -675,19 +1013,19 @@ RustBuffer uniffi_cyclops_sdk_fn_func_pool_display_status(RustBuffer pool, RustC#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FUNC_REMOVED_POOL_DISPLAY_STATUS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FUNC_REMOVED_POOL_DISPLAY_STATUSRustBuffer uniffi_cyclops_sdk_fn_func_removed_pool_display_status(RustCallStatus *out_status-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FUNC_TERMINATING_POOL_DISPLAY_STATUS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FUNC_TERMINATING_POOL_DISPLAY_STATUSRustBuffer uniffi_cyclops_sdk_fn_func_terminating_pool_display_status(RustCallStatus *out_status-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FUNC_UNKNOWN_POOL_DISPLAY_STATUS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_FUNC_UNKNOWN_POOL_DISPLAY_STATUSRustBuffer uniffi_cyclops_sdk_fn_func_unknown_pool_display_status(RustCallStatus *out_status-+);#endif#ifndef UNIFFI_FFIDEF_FFI_CYCLOPS_SDK_RUSTBUFFER_ALLOC@@ -953,271 +1291,571 @@ void ffi_cyclops_sdk_rust_future_complete_void(uint64_t handle, RustCallStatus *#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_FUNC_HEALTHY_POOL_DISPLAY_STATUS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_FUNC_HEALTHY_POOL_DISPLAY_STATUSuint16_t uniffi_cyclops_sdk_checksum_func_healthy_pool_display_status(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_FUNC_POOL_DISPLAY_STATUS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_FUNC_POOL_DISPLAY_STATUSuint16_t uniffi_cyclops_sdk_checksum_func_pool_display_status(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_FUNC_REMOVED_POOL_DISPLAY_STATUS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_FUNC_REMOVED_POOL_DISPLAY_STATUSuint16_t uniffi_cyclops_sdk_checksum_func_removed_pool_display_status(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_FUNC_TERMINATING_POOL_DISPLAY_STATUS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_FUNC_TERMINATING_POOL_DISPLAY_STATUSuint16_t uniffi_cyclops_sdk_checksum_func_terminating_pool_display_status(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_FUNC_UNKNOWN_POOL_DISPLAY_STATUS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_FUNC_UNKNOWN_POOL_DISPLAY_STATUSuint16_t uniffi_cyclops_sdk_checksum_func_unknown_pool_display_status(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_CLAIM#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_CLAIMuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_CLAIM#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_CLAIMuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_GET_CLAIM#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_GET_CLAIMuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_CLAIMS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_CLAIMSuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_RENEW_CLAIM#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_RENEW_CLAIMuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_renew_claim(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_WAIT_CLAIM#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_WAIT_CLAIMuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim(void-++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_PRESIGN_IMAGE_UPLOADS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_PRESIGN_IMAGE_UPLOADS+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_IMAGE+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_IMAGE+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_GET_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_GET_IMAGE+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_IMAGES+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_IMAGES+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images(void+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_NAMESPACE#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_NAMESPACEuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_NAMESPACE#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_NAMESPACEuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_GET_NAMESPACE#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_GET_NAMESPACEuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_NAMESPACES#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_NAMESPACESuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_POOL#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_POOLuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_pool(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_POOL#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_POOLuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_pool(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_GET_POOL#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_GET_POOLuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_pool(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_POOLS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_POOLSuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_pools(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_RECONCILE_POOL#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_RECONCILE_POOLuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_UPDATE_POOL#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_UPDATE_POOLuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_pool(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_SERVICE_REQUEST#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_SERVICE_REQUESTuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_service_request(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_SIGNED_SERVICE_URL#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_SIGNED_SERVICE_URLuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_signed_service_url(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_SIGNED_SERVICE_URLS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_SIGNED_SERVICE_URLSuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_signed_service_urls(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_REVOKE_SIGNED_SERVICE_URL#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_REVOKE_SIGNED_SERVICE_URLuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_revoke_signed_service_url(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_TEMPLATE#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_TEMPLATEuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_template(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_TEMPLATE#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_TEMPLATEuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_template(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_GET_TEMPLATE#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_GET_TEMPLATEuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_template(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_TEMPLATES#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_TEMPLATESuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_templates(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_RECONCILE_TEMPLATE#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_RECONCILE_TEMPLATEuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_template(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_UPDATE_TEMPLATE#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_UPDATE_TEMPLATEuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_template(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_USER_API_KEY#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_USER_API_KEYuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_user_api_key(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_USER_API_KEY#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_USER_API_KEYuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_user_api_key(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_USER_API_KEYS#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_USER_API_KEYSuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_ACCESSTOKENPROVIDER_GET_ACCESS_TOKEN#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_ACCESSTOKENPROVIDER_GET_ACCESS_TOKENuint16_t uniffi_cyclops_sdk_checksum_method_accesstokenprovider_get_access_token(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPCLIENT_EXECUTE#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPCLIENT_EXECUTEuint16_t uniffi_cyclops_sdk_checksum_method_httpclient_execute(void-++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATECLAIMREQUESTBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATECLAIMREQUESTBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATECLAIMREQUESTBUILDER_NAME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATECLAIMREQUESTBUILDER_NAME+uint16_t uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_name(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATECLAIMREQUESTBUILDER_POOL+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATECLAIMREQUESTBUILDER_POOL+uint16_t uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_pool(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATECLAIMREQUESTBUILDER_SPEC+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATECLAIMREQUESTBUILDER_SPEC+uint16_t uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_spec(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATEPOOLREQUESTBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATEPOOLREQUESTBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATEPOOLREQUESTBUILDER_NAMESPACE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATEPOOLREQUESTBUILDER_NAMESPACE+uint16_t uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_namespace(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATEPOOLREQUESTBUILDER_SPEC+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATEPOOLREQUESTBUILDER_SPEC+uint16_t uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_spec(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_EXPIRES_IN_SECONDS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_EXPIRES_IN_SECONDS+uint16_t uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_expires_in_seconds(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_LABEL+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_LABEL+uint16_t uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_label(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_SANDBOX+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_SANDBOX+uint16_t uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_sandbox(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_SERVICE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATESIGNEDSERVICEURLREQUESTBUILDER_SERVICE+uint16_t uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_service(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATETEMPLATEREQUESTBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATETEMPLATEREQUESTBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATETEMPLATEREQUESTBUILDER_NAME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATETEMPLATEREQUESTBUILDER_NAME+uint16_t uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_name(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATETEMPLATEREQUESTBUILDER_NAMESPACE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATETEMPLATEREQUESTBUILDER_NAMESPACE+uint16_t uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_namespace(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATETEMPLATEREQUESTBUILDER_SPEC+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATETEMPLATEREQUESTBUILDER_SPEC+uint16_t uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_spec(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATEUSERAPIKEYREQUESTBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATEUSERAPIKEYREQUESTBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATEUSERAPIKEYREQUESTBUILDER_NAME+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATEUSERAPIKEYREQUESTBUILDER_NAME+uint16_t uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_name(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATEUSERAPIKEYREQUESTBUILDER_SCOPE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CREATEUSERAPIKEYREQUESTBUILDER_SCOPE+uint16_t uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_scope(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_BASE_URL+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_BASE_URL+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_base_url(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_CLAIM_POLL_INTERVAL_MS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_CLAIM_POLL_INTERVAL_MS+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_CLAIM_POLL_LIMIT+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_CLAIM_POLL_LIMIT+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_POOL_POLL_INTERVAL_MS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_POOL_POLL_INTERVAL_MS+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_POOL_POLL_LIMIT+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_POOL_POLL_LIMIT+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_BODY+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_BODY+uint16_t uniffi_cyclops_sdk_checksum_method_httprequestbuilder_body(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_checksum_method_httprequestbuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_HEADERS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_HEADERS+uint16_t uniffi_cyclops_sdk_checksum_method_httprequestbuilder_headers(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_MAX_RESPONSE_BYTES+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_MAX_RESPONSE_BYTES+uint16_t uniffi_cyclops_sdk_checksum_method_httprequestbuilder_max_response_bytes(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_METHOD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_METHOD+uint16_t uniffi_cyclops_sdk_checksum_method_httprequestbuilder_method(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_TIMEOUT_SECS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_TIMEOUT_SECS+uint16_t uniffi_cyclops_sdk_checksum_method_httprequestbuilder_timeout_secs(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_URL+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_HTTPREQUESTBUILDER_URL+uint16_t uniffi_cyclops_sdk_checksum_method_httprequestbuilder_url(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_TEMPLATEBUILDER_API_VERSION+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_TEMPLATEBUILDER_API_VERSION+uint16_t uniffi_cyclops_sdk_checksum_method_templatebuilder_api_version(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_TEMPLATEBUILDER_BUILD+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_TEMPLATEBUILDER_BUILD+uint16_t uniffi_cyclops_sdk_checksum_method_templatebuilder_build(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_TEMPLATEBUILDER_KIND+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_TEMPLATEBUILDER_KIND+uint16_t uniffi_cyclops_sdk_checksum_method_templatebuilder_kind(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_TEMPLATEBUILDER_METADATA+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_TEMPLATEBUILDER_METADATA+uint16_t uniffi_cyclops_sdk_checksum_method_templatebuilder_metadata(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_TEMPLATEBUILDER_SPEC+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_TEMPLATEBUILDER_SPEC+uint16_t uniffi_cyclops_sdk_checksum_method_templatebuilder_spec(void+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECT#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECTuint16_t uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECT_BROWSER_WITH_ACCESS_TOKEN#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECT_BROWSER_WITH_ACCESS_TOKENuint16_t uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_browser_with_access_token(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECT_WITH_ACCESS_TOKEN#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECT_WITH_ACCESS_TOKENuint16_t uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECT_WITH_ACCESS_TOKEN_AND_NATIVE_HTTP_CLIENT#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECT_WITH_ACCESS_TOKEN_AND_NATIVE_HTTP_CLIENTuint16_t uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_and_native_http_client(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECT_WITH_ACCESS_TOKEN_PROVIDER#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECT_WITH_ACCESS_TOKEN_PROVIDERuint16_t uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECT_WITH_ACCESS_TOKEN_PROVIDER_AND_NATIVE_HTTP_CLIENT#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECT_WITH_ACCESS_TOKEN_PROVIDER_AND_NATIVE_HTTP_CLIENTuint16_t uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client(void-+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECT_WITH_NATIVE_HTTP_CLIENT#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCLIENT_CONNECT_WITH_NATIVE_HTTP_CLIENTuint16_t uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_native_http_client(void-++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CREATECLAIMREQUESTBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CREATECLAIMREQUESTBUILDER_NEW+uint16_t uniffi_cyclops_sdk_checksum_constructor_createclaimrequestbuilder_new(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CREATEPOOLREQUESTBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CREATEPOOLREQUESTBUILDER_NEW+uint16_t uniffi_cyclops_sdk_checksum_constructor_createpoolrequestbuilder_new(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CREATESIGNEDSERVICEURLREQUESTBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CREATESIGNEDSERVICEURLREQUESTBUILDER_NEW+uint16_t uniffi_cyclops_sdk_checksum_constructor_createsignedserviceurlrequestbuilder_new(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CREATETEMPLATEREQUESTBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CREATETEMPLATEREQUESTBUILDER_NEW+uint16_t uniffi_cyclops_sdk_checksum_constructor_createtemplaterequestbuilder_new(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CREATEUSERAPIKEYREQUESTBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CREATEUSERAPIKEYREQUESTBUILDER_NEW+uint16_t uniffi_cyclops_sdk_checksum_constructor_createuserapikeyrequestbuilder_new(void+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCREDENTIALS_NEW#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSCREDENTIALS_NEWuint16_t uniffi_cyclops_sdk_checksum_constructor_cyclopscredentials_new(void-++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_CYCLOPSTOKENPROVIDERCONFIGURATIONBUILDER_NEW+uint16_t uniffi_cyclops_sdk_checksum_constructor_cyclopstokenproviderconfigurationbuilder_new(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_HTTPREQUESTBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_HTTPREQUESTBUILDER_NEW+uint16_t uniffi_cyclops_sdk_checksum_constructor_httprequestbuilder_new(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_TEMPLATEBUILDER_NEW+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_CONSTRUCTOR_TEMPLATEBUILDER_NEW+uint16_t uniffi_cyclops_sdk_checksum_constructor_templatebuilder_new(void+);#endif#ifndef UNIFFI_FFIDEF_FFI_CYCLOPS_SDK_UNIFFI_CONTRACT_VERSION#define UNIFFI_FFIDEF_FFI_CYCLOPS_SDK_UNIFFI_CONTRACT_VERSIONuint32_t ffi_cyclops_sdk_uniffi_contract_version(void-+);#endifdiff --git a/libs/fleet/sdk-bindings/kotlin/ai/cua/cyclops/sdk/fleet_sdk.kt b/libs/fleet/sdk-bindings/kotlin/ai/cua/cyclops/sdk/fleet_sdk.ktindex 087e84d29f..966399614a 100644--- a/libs/fleet/sdk-bindings/kotlin/ai/cua/cyclops/sdk/fleet_sdk.kt+++ b/libs/fleet/sdk-bindings/kotlin/ai/cua/cyclops/sdk/fleet_sdk.kt@@ -36,10 +36,12 @@ import ai.cua.cyclops.sdk.schema.FfiConverterTypeOSGymSandboxClaimStatusimport ai.cua.cyclops.sdk.schema.FfiConverterTypeOSGymSandboxTemplateSpecimport ai.cua.cyclops.sdk.schema.FfiConverterTypeOSGymSandboxWarmPoolSpecimport ai.cua.cyclops.sdk.schema.FfiConverterTypeOSGymSandboxWarmPoolStatus+import ai.cua.cyclops.sdk.schema.FfiConverterTypePreservedJsonimport ai.cua.cyclops.sdk.schema.OsGymSandboxClaimStatusimport ai.cua.cyclops.sdk.schema.OsGymSandboxTemplateSpecimport ai.cua.cyclops.sdk.schema.OsGymSandboxWarmPoolSpecimport ai.cua.cyclops.sdk.schema.OsGymSandboxWarmPoolStatus+import ai.cua.cyclops.sdk.schema.PreservedJsonimport java.util.concurrent.atomic.AtomicBooleanimport kotlin.coroutines.resumeimport kotlinx.coroutines.CancellableContinuation@@ -53,6 +55,7 @@ import ai.cua.cyclops.sdk.schema.RustBuffer as RustBufferOSGymSandboxClaimStatusimport ai.cua.cyclops.sdk.schema.RustBuffer as RustBufferOSGymSandboxTemplateSpecimport ai.cua.cyclops.sdk.schema.RustBuffer as RustBufferOSGymSandboxWarmPoolSpecimport ai.cua.cyclops.sdk.schema.RustBuffer as RustBufferOSGymSandboxWarmPoolStatus+import ai.cua.cyclops.sdk.schema.RustBuffer as RustBufferPreservedJson// This is a helper for safely working with byte buffers returned from the Rust code.// A rust-owned buffer is represented by its capacity, its current length, and a@@ -724,6 +727,16 @@ internal object IntegrityCheckingUniffiLib {): Shortexternal fun uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim(): Short+ external fun uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads(+ ): Short+ external fun uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image(+ ): Short+ external fun uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image(+ ): Short+ external fun uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image(+ ): Short+ external fun uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images(+ ): Shortexternal fun uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace(): Shortexternal fun uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace(@@ -931,6 +944,16 @@ external fun uniffi_cyclops_sdk_fn_method_cyclopsclient_renew_claim(`ptr`: Long,): Longexternal fun uniffi_cyclops_sdk_fn_method_cyclopsclient_wait_claim(`ptr`: Long,`claim`: RustBuffer.ByValue,): Long+external fun uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(`ptr`: Long,`request`: RustBuffer.ByValue,+): Long+external fun uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(`ptr`: Long,`namespace`: RustBuffer.ByValue,`manifest`: Long,+): Long+external fun uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(`ptr`: Long,`namespace`: RustBuffer.ByValue,`name`: RustBuffer.ByValue,+): Long+external fun uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(`ptr`: Long,`namespace`: RustBuffer.ByValue,`name`: RustBuffer.ByValue,+): Long+external fun uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(`ptr`: Long,`namespace`: RustBuffer.ByValue,+): Longexternal fun uniffi_cyclops_sdk_fn_method_cyclopsclient_create_namespace(`ptr`: Long,`name`: RustBuffer.ByValue,): Longexternal fun uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_namespace(`ptr`: Long,`name`: RustBuffer.ByValue,@@ -1283,6 +1306,21 @@ private fun uniffiCheckApiChecksums(lib: IntegrityCheckingUniffiLib) {if (lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim() != 18984.toShort()) {throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")}+ if (lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads() != 53280.toShort()) {+ throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")+ }+ if (lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image() != 51053.toShort()) {+ throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")+ }+ if (lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image() != 24680.toShort()) {+ throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")+ }+ if (lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image() != 56969.toShort()) {+ throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")+ }+ if (lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images() != 31215.toShort()) {+ throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")+ }if (lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace() != 38049.toShort()) {throw RuntimeException("UniFFI API checksum mismatch: try cleaning and rebuilding your project")}@@ -3961,6 +3999,16 @@ public interface CyclopsClientInterface {suspend fun `waitClaim`(`claim`: Claim): Sandbox+ suspend fun `presignImageUploads`(`request`: ImageUploadRequest): ImageUploadResponse++ suspend fun `createImage`(`namespace`: kotlin.String, `manifest`: PreservedJson): PreservedJson++ suspend fun `deleteImage`(`namespace`: kotlin.String, `name`: kotlin.String)++ suspend fun `getImage`(`namespace`: kotlin.String, `name`: kotlin.String): PreservedJson++ suspend fun `listImages`(`namespace`: kotlin.String): List<PreservedJson>+suspend fun `createNamespace`(`name`: kotlin.String): Namespacesuspend fun `deleteNamespace`(`name`: kotlin.String)@@ -4242,6 +4290,112 @@ open class CyclopsClient: Disposable, AutoCloseable, CyclopsClientInterface}+ @Throws(SdkException::class)+ @Suppress("ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE")+ override suspend fun `presignImageUploads`(`request`: ImageUploadRequest) : ImageUploadResponse {+ return uniffiRustCallAsync(+ callWithHandle { uniffiHandle ->+ UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(+ uniffiHandle,+ FfiConverterTypeImageUploadRequest.lower(`request`),+ )+ },+ { future, callback, continuation -> UniffiLib.ffi_cyclops_sdk_rust_future_poll_rust_buffer(future, callback, continuation) },+ { future, continuation -> UniffiLib.ffi_cyclops_sdk_rust_future_complete_rust_buffer(future, continuation) },+ { future -> UniffiLib.ffi_cyclops_sdk_rust_future_free_rust_buffer(future) },+ // lift function+ { FfiConverterTypeImageUploadResponse.lift(it) },+ // Error FFI converter+ SdkException.ErrorHandler,+ )+ }+++ @Throws(SdkException::class)+ @Suppress("ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE")+ override suspend fun `createImage`(`namespace`: kotlin.String, `manifest`: PreservedJson) : PreservedJson {+ return uniffiRustCallAsync(+ callWithHandle { uniffiHandle ->+ UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(+ uniffiHandle,+ FfiConverterString.lower(`namespace`),FfiConverterTypePreservedJson.lower(`manifest`),+ )+ },+ { future, callback, continuation -> UniffiLib.ffi_cyclops_sdk_rust_future_poll_u64(future, callback, continuation) },+ { future, continuation -> UniffiLib.ffi_cyclops_sdk_rust_future_complete_u64(future, continuation) },+ { future -> UniffiLib.ffi_cyclops_sdk_rust_future_free_u64(future) },+ // lift function+ { FfiConverterTypePreservedJson.lift(it) },+ // Error FFI converter+ SdkException.ErrorHandler,+ )+ }+++ @Throws(SdkException::class)+ @Suppress("ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE")+ override suspend fun `deleteImage`(`namespace`: kotlin.String, `name`: kotlin.String) {+ return uniffiRustCallAsync(+ callWithHandle { uniffiHandle ->+ UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(+ uniffiHandle,+ FfiConverterString.lower(`namespace`),FfiConverterString.lower(`name`),+ )+ },+ { future, callback, continuation -> UniffiLib.ffi_cyclops_sdk_rust_future_poll_void(future, callback, continuation) },+ { future, continuation -> UniffiLib.ffi_cyclops_sdk_rust_future_complete_void(future, continuation) },+ { future -> UniffiLib.ffi_cyclops_sdk_rust_future_free_void(future) },+ // lift function+ { Unit },++ // Error FFI converter+ SdkException.ErrorHandler,+ )+ }+++ @Throws(SdkException::class)+ @Suppress("ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE")+ override suspend fun `getImage`(`namespace`: kotlin.String, `name`: kotlin.String) : PreservedJson {+ return uniffiRustCallAsync(+ callWithHandle { uniffiHandle ->+ UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(+ uniffiHandle,+ FfiConverterString.lower(`namespace`),FfiConverterString.lower(`name`),+ )+ },+ { future, callback, continuation -> UniffiLib.ffi_cyclops_sdk_rust_future_poll_u64(future, callback, continuation) },+ { future, continuation -> UniffiLib.ffi_cyclops_sdk_rust_future_complete_u64(future, continuation) },+ { future -> UniffiLib.ffi_cyclops_sdk_rust_future_free_u64(future) },+ // lift function+ { FfiConverterTypePreservedJson.lift(it) },+ // Error FFI converter+ SdkException.ErrorHandler,+ )+ }+++ @Throws(SdkException::class)+ @Suppress("ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE")+ override suspend fun `listImages`(`namespace`: kotlin.String) : List<PreservedJson> {+ return uniffiRustCallAsync(+ callWithHandle { uniffiHandle ->+ UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(+ uniffiHandle,+ FfiConverterString.lower(`namespace`),+ )+ },+ { future, callback, continuation -> UniffiLib.ffi_cyclops_sdk_rust_future_poll_rust_buffer(future, callback, continuation) },+ { future, continuation -> UniffiLib.ffi_cyclops_sdk_rust_future_complete_rust_buffer(future, continuation) },+ { future -> UniffiLib.ffi_cyclops_sdk_rust_future_free_rust_buffer(future) },+ // lift function+ { FfiConverterSequenceTypePreservedJson.lift(it) },+ // Error FFI converter+ SdkException.ErrorHandler,+ )+ }++@Throws(SdkException::class)@Suppress("ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE")override suspend fun `createNamespace`(`name`: kotlin.String) : Namespace {@@ -6986,6 +7140,168 @@ public object FfiConverterTypeHttpResponse: FfiConverterRustBuffer<HttpResponse>+data class ImageUploadFileRequest (+ var `digest`: kotlin.String+ ,+ var `sizeBytes`: kotlin.ULong+ ,+ var `name`: kotlin.String++){++++++ companion object+}++/**+ * @suppress+ */+public object FfiConverterTypeImageUploadFileRequest: FfiConverterRustBuffer<ImageUploadFileRequest> {+ override fun read(buf: ByteBuffer): ImageUploadFileRequest {+ return ImageUploadFileRequest(+ FfiConverterString.read(buf),+ FfiConverterULong.read(buf),+ FfiConverterString.read(buf),+ )+ }++ override fun allocationSize(value: ImageUploadFileRequest) = (+ FfiConverterString.allocationSize(value.`digest`) ++ FfiConverterULong.allocationSize(value.`sizeBytes`) ++ FfiConverterString.allocationSize(value.`name`)+ )++ override fun write(value: ImageUploadFileRequest, buf: ByteBuffer) {+ FfiConverterString.write(value.`digest`, buf)+ FfiConverterULong.write(value.`sizeBytes`, buf)+ FfiConverterString.write(value.`name`, buf)+ }+}++++data class ImageUploadInstruction (+ var `digest`: kotlin.String+ ,+ var `sizeBytes`: kotlin.ULong+ ,+ var `reference`: kotlin.String+ ,+ var `upload`: PresignedPut?++){++++++ companion object+}++/**+ * @suppress+ */+public object FfiConverterTypeImageUploadInstruction: FfiConverterRustBuffer<ImageUploadInstruction> {+ override fun read(buf: ByteBuffer): ImageUploadInstruction {+ return ImageUploadInstruction(+ FfiConverterString.read(buf),+ FfiConverterULong.read(buf),+ FfiConverterString.read(buf),+ FfiConverterOptionalTypePresignedPut.read(buf),+ )+ }++ override fun allocationSize(value: ImageUploadInstruction) = (+ FfiConverterString.allocationSize(value.`digest`) ++ FfiConverterULong.allocationSize(value.`sizeBytes`) ++ FfiConverterString.allocationSize(value.`reference`) ++ FfiConverterOptionalTypePresignedPut.allocationSize(value.`upload`)+ )++ override fun write(value: ImageUploadInstruction, buf: ByteBuffer) {+ FfiConverterString.write(value.`digest`, buf)+ FfiConverterULong.write(value.`sizeBytes`, buf)+ FfiConverterString.write(value.`reference`, buf)+ FfiConverterOptionalTypePresignedPut.write(value.`upload`, buf)+ }+}++++data class ImageUploadRequest (+ var `namespace`: kotlin.String+ ,+ var `files`: List<ImageUploadFileRequest>++){++++++ companion object+}++/**+ * @suppress+ */+public object FfiConverterTypeImageUploadRequest: FfiConverterRustBuffer<ImageUploadRequest> {+ override fun read(buf: ByteBuffer): ImageUploadRequest {+ return ImageUploadRequest(+ FfiConverterString.read(buf),+ FfiConverterSequenceTypeImageUploadFileRequest.read(buf),+ )+ }++ override fun allocationSize(value: ImageUploadRequest) = (+ FfiConverterString.allocationSize(value.`namespace`) ++ FfiConverterSequenceTypeImageUploadFileRequest.allocationSize(value.`files`)+ )++ override fun write(value: ImageUploadRequest, buf: ByteBuffer) {+ FfiConverterString.write(value.`namespace`, buf)+ FfiConverterSequenceTypeImageUploadFileRequest.write(value.`files`, buf)+ }+}++++data class ImageUploadResponse (+ var `files`: List<ImageUploadInstruction>++){++++++ companion object+}++/**+ * @suppress+ */+public object FfiConverterTypeImageUploadResponse: FfiConverterRustBuffer<ImageUploadResponse> {+ override fun read(buf: ByteBuffer): ImageUploadResponse {+ return ImageUploadResponse(+ FfiConverterSequenceTypeImageUploadInstruction.read(buf),+ )+ }++ override fun allocationSize(value: ImageUploadResponse) = (+ FfiConverterSequenceTypeImageUploadInstruction.allocationSize(value.`files`)+ )++ override fun write(value: ImageUploadResponse, buf: ByteBuffer) {+ FfiConverterSequenceTypeImageUploadInstruction.write(value.`files`, buf)+ }+}+++data class Namespace (var `name`: kotlin.String,@@ -7192,6 +7508,49 @@ public object FfiConverterTypePoolDisplayStatus: FfiConverterRustBuffer<PoolDisp+data class PresignedPut (+ var `method`: kotlin.String+ ,+ var `url`: kotlin.String+ ,+ var `headers`: Map<kotlin.String, kotlin.String>++){++++++ companion object+}++/**+ * @suppress+ */+public object FfiConverterTypePresignedPut: FfiConverterRustBuffer<PresignedPut> {+ override fun read(buf: ByteBuffer): PresignedPut {+ return PresignedPut(+ FfiConverterString.read(buf),+ FfiConverterString.read(buf),+ FfiConverterMapStringString.read(buf),+ )+ }++ override fun allocationSize(value: PresignedPut) = (+ FfiConverterString.allocationSize(value.`method`) ++ FfiConverterString.allocationSize(value.`url`) ++ FfiConverterMapStringString.allocationSize(value.`headers`)+ )++ override fun write(value: PresignedPut, buf: ByteBuffer) {+ FfiConverterString.write(value.`method`, buf)+ FfiConverterString.write(value.`url`, buf)+ FfiConverterMapStringString.write(value.`headers`, buf)+ }+}+++data class ResourceMetadata (var `namespace`: kotlin.String,@@ -8117,6 +8476,38 @@ public object FfiConverterOptionalByteArray: FfiConverterRustBuffer<kotlin.ByteA+/**+ * @suppress+ */+public object FfiConverterOptionalTypePresignedPut: FfiConverterRustBuffer<PresignedPut?> {+ override fun read(buf: ByteBuffer): PresignedPut? {+ if (buf.get().toInt() == 0) {+ return null+ }+ return FfiConverterTypePresignedPut.read(buf)+ }++ override fun allocationSize(value: PresignedPut?): ULong {+ if (value == null) {+ return 1UL+ } else {+ return 1UL + FfiConverterTypePresignedPut.allocationSize(value)+ }+ }++ override fun write(value: PresignedPut?, buf: ByteBuffer) {+ if (value == null) {+ buf.put(0)+ } else {+ buf.put(1)+ FfiConverterTypePresignedPut.write(value, buf)+ }+ }+}++++/*** @suppress*/@@ -8273,6 +8664,34 @@ public object FfiConverterSequenceString: FfiConverterRustBuffer<List<kotlin.Str+/**+ * @suppress+ */+public object FfiConverterSequenceTypePreservedJson: FfiConverterRustBuffer<List<PreservedJson>> {+ override fun read(buf: ByteBuffer): List<PreservedJson> {+ val len = buf.getInt()+ return List<PreservedJson>(len) {+ FfiConverterTypePreservedJson.read(buf)+ }+ }++ override fun allocationSize(value: List<PreservedJson>): ULong {+ val sizeForLength = 4UL+ val sizeForItems = value.map { FfiConverterTypePreservedJson.allocationSize(it) }.sum()+ return sizeForLength + sizeForItems+ }++ override fun write(value: List<PreservedJson>, buf: ByteBuffer) {+ buf.putInt(value.size)+ value.iterator().forEach {+ FfiConverterTypePreservedJson.write(it, buf)+ }+ }+}++++/*** @suppress*/@@ -8329,6 +8748,62 @@ public object FfiConverterSequenceTypeHttpHeader: FfiConverterRustBuffer<List<Ht+/**+ * @suppress+ */+public object FfiConverterSequenceTypeImageUploadFileRequest: FfiConverterRustBuffer<List<ImageUploadFileRequest>> {+ override fun read(buf: ByteBuffer): List<ImageUploadFileRequest> {+ val len = buf.getInt()+ return List<ImageUploadFileRequest>(len) {+ FfiConverterTypeImageUploadFileRequest.read(buf)+ }+ }++ override fun allocationSize(value: List<ImageUploadFileRequest>): ULong {+ val sizeForLength = 4UL+ val sizeForItems = value.map { FfiConverterTypeImageUploadFileRequest.allocationSize(it) }.sum()+ return sizeForLength + sizeForItems+ }++ override fun write(value: List<ImageUploadFileRequest>, buf: ByteBuffer) {+ buf.putInt(value.size)+ value.iterator().forEach {+ FfiConverterTypeImageUploadFileRequest.write(it, buf)+ }+ }+}+++++/**+ * @suppress+ */+public object FfiConverterSequenceTypeImageUploadInstruction: FfiConverterRustBuffer<List<ImageUploadInstruction>> {+ override fun read(buf: ByteBuffer): List<ImageUploadInstruction> {+ val len = buf.getInt()+ return List<ImageUploadInstruction>(len) {+ FfiConverterTypeImageUploadInstruction.read(buf)+ }+ }++ override fun allocationSize(value: List<ImageUploadInstruction>): ULong {+ val sizeForLength = 4UL+ val sizeForItems = value.map { FfiConverterTypeImageUploadInstruction.allocationSize(it) }.sum()+ return sizeForLength + sizeForItems+ }++ override fun write(value: List<ImageUploadInstruction>, buf: ByteBuffer) {+ buf.putInt(value.size)+ value.iterator().forEach {+ FfiConverterTypeImageUploadInstruction.write(it, buf)+ }+ }+}++++/*** @suppress*/@@ -8521,6 +8996,8 @@ public object FfiConverterMapStringString: FfiConverterRustBuffer<Map<kotlin.Str++fun `healthyPoolDisplayStatus`(): PoolDisplayStatus {return FfiConverterTypePoolDisplayStatus.lift(uniffiRustCall() { _status ->diff --git a/libs/fleet/sdk-bindings/python/fleet_sdk/__init__.py b/libs/fleet/sdk-bindings/python/fleet_sdk/__init__.pyindex 02a57bbf03..afc6acef53 100644--- a/libs/fleet/sdk-bindings/python/fleet_sdk/__init__.py+++ b/libs/fleet/sdk-bindings/python/fleet_sdk/__init__.py@@ -28,6 +28,11 @@ class _UniffiFfiConverterTypeOSGymSandboxWarmPoolStatus(_sdk_component._UniffiCoread = staticmethod(_schema_component._UniffiFfiConverterTypeOSGymSandboxWarmPoolStatus.read)write = staticmethod(_schema_component._UniffiFfiConverterTypeOSGymSandboxWarmPoolStatus.write)+class _UniffiFfiConverterTypePreservedJson(_sdk_component._UniffiConverterRustBuffer):+ check_lower = staticmethod(_schema_component._UniffiFfiConverterTypePreservedJson.check_lower)+ read = staticmethod(_schema_component._UniffiFfiConverterTypePreservedJson.read)+ write = staticmethod(_schema_component._UniffiFfiConverterTypePreservedJson.write)+__all__ = [*_schema_component.__all__, *_sdk_component.__all__]del _schema_componentdiff --git a/libs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py b/libs/fleet/sdk-bindings/python/fleet_sdk/_sdk.pyindex ffc3acb155..e06899a7a9 100644--- a/libs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py+++ b/libs/fleet/sdk-bindings/python/fleet_sdk/_sdk.py@@ -556,6 +556,8 @@ def _uniffi_check_api_checksums(lib):raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim() != 23330:raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")+ if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image() != 51053:+ raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace() != 38049:raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_pool() != 48557:@@ -568,6 +570,8 @@ def _uniffi_check_api_checksums(lib):raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim() != 20460:raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")+ if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image() != 24680:+ raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace() != 4545:raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_pool() != 31235:@@ -578,6 +582,8 @@ def _uniffi_check_api_checksums(lib):raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim() != 17760:raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")+ if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image() != 56969:+ raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace() != 184:raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_pool() != 49450:@@ -586,6 +592,8 @@ def _uniffi_check_api_checksums(lib):raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims() != 7802:raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")+ if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images() != 31215:+ raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces() != 65288:raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_pools() != 27984:@@ -596,6 +604,8 @@ def _uniffi_check_api_checksums(lib):raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys() != 5949:raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")+ if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads() != 53280:+ raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool() != 53919:raise InternalError("UniFFI API checksum mismatch: try cleaning and rebuilding your project")if lib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_template() != 36469:@@ -1283,6 +1293,12 @@ _UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_create_claim.argtypes = (_UniffiRustBuffer,)_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_create_claim.restype = ctypes.c_uint64+_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image.argtypes = (+ ctypes.c_uint64,+ _UniffiRustBuffer,+ ctypes.c_uint64,+)+_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image.restype = ctypes.c_uint64_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_create_namespace.argtypes = (ctypes.c_uint64,_UniffiRustBuffer,@@ -1313,6 +1329,12 @@ _UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_claim.argtypes = (_UniffiRustBuffer,)_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_claim.restype = ctypes.c_uint64+_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image.argtypes = (+ ctypes.c_uint64,+ _UniffiRustBuffer,+ _UniffiRustBuffer,+)+_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image.restype = ctypes.c_uint64_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_namespace.argtypes = (ctypes.c_uint64,_UniffiRustBuffer,@@ -1338,6 +1360,12 @@ _UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_get_claim.argtypes = (_UniffiRustBuffer,)_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_get_claim.restype = ctypes.c_uint64+_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image.argtypes = (+ ctypes.c_uint64,+ _UniffiRustBuffer,+ _UniffiRustBuffer,+)+_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image.restype = ctypes.c_uint64_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_get_namespace.argtypes = (ctypes.c_uint64,_UniffiRustBuffer,@@ -1359,6 +1387,11 @@ _UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_list_claims.argtypes = (_UniffiRustBuffer,)_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_list_claims.restype = ctypes.c_uint64+_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images.argtypes = (+ ctypes.c_uint64,+ _UniffiRustBuffer,+)+_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images.restype = ctypes.c_uint64_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_list_namespaces.argtypes = (ctypes.c_uint64,)@@ -1382,6 +1415,11 @@ _UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_list_user_api_keys.argtypectypes.c_uint64,)_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_list_user_api_keys.restype = ctypes.c_uint64+_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads.argtypes = (+ ctypes.c_uint64,+ _UniffiRustBuffer,+)+_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads.restype = ctypes.c_uint64_UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_pool.argtypes = (ctypes.c_uint64,_UniffiRustBuffer,@@ -1671,6 +1709,9 @@ _UniffiLib.uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_na_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim.argtypes = ()_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim.restype = ctypes.c_uint16+_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image.argtypes = (+)+_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image.restype = ctypes.c_uint16_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace.argtypes = ()_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace.restype = ctypes.c_uint16@@ -1689,6 +1730,9 @@ _UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_user_api_key._UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim.argtypes = ()_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim.restype = ctypes.c_uint16+_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image.argtypes = (+)+_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image.restype = ctypes.c_uint16_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace.argtypes = ()_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace.restype = ctypes.c_uint16@@ -1704,6 +1748,9 @@ _UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_user_api_key._UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim.argtypes = ()_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim.restype = ctypes.c_uint16+_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image.argtypes = (+)+_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image.restype = ctypes.c_uint16_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace.argtypes = ()_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace.restype = ctypes.c_uint16@@ -1716,6 +1763,9 @@ _UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_template.restype_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims.argtypes = ()_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims.restype = ctypes.c_uint16+_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images.argtypes = (+)+_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images.restype = ctypes.c_uint16_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces.argtypes = ()_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces.restype = ctypes.c_uint16@@ -1731,6 +1781,9 @@ _UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_templates.resty_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys.argtypes = ()_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys.restype = ctypes.c_uint16+_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads.argtypes = (+)+_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads.restype = ctypes.c_uint16_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool.argtypes = ()_UniffiLib.uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool.restype = ctypes.c_uint16@@ -3067,6 +3120,275 @@ class _UniffiFfiConverterTypeHttpResponse(_UniffiConverterRustBuffer):_UniffiFfiConverterSequenceTypeHttpHeader.write(value.headers, buf)_UniffiFfiConverterBytes.write(value.body, buf)+@dataclass+class ImageUploadFileRequest:+ def __init__(self, *, digest:str, size_bytes:int, name:str):+ self.digest = digest+ self.size_bytes = size_bytes+ self.name = name+++++ def __str__(self):+ return "ImageUploadFileRequest(digest={}, size_bytes={}, name={})".format(self.digest, self.size_bytes, self.name)+ def __eq__(self, other):+ if self.digest != other.digest:+ return False+ if self.size_bytes != other.size_bytes:+ return False+ if self.name != other.name:+ return False+ return True++class _UniffiFfiConverterTypeImageUploadFileRequest(_UniffiConverterRustBuffer):+ @staticmethod+ def read(buf):+ return ImageUploadFileRequest(+ digest=_UniffiFfiConverterString.read(buf),+ size_bytes=_UniffiFfiConverterUInt64.read(buf),+ name=_UniffiFfiConverterString.read(buf),+ )++ @staticmethod+ def check_lower(value):+ _UniffiFfiConverterString.check_lower(value.digest)+ _UniffiFfiConverterUInt64.check_lower(value.size_bytes)+ _UniffiFfiConverterString.check_lower(value.name)++ @staticmethod+ def write(value, buf):+ _UniffiFfiConverterString.write(value.digest, buf)+ _UniffiFfiConverterUInt64.write(value.size_bytes, buf)+ _UniffiFfiConverterString.write(value.name, buf)++@dataclass+class PresignedPut:+ def __init__(self, *, method:str, url:str, headers:dict[str, str]):+ self.method = method+ self.url = url+ self.headers = headers+++++ def __str__(self):+ return "PresignedPut(method={}, url={}, headers={})".format(self.method, self.url, self.headers)+ def __eq__(self, other):+ if self.method != other.method:+ return False+ if self.url != other.url:+ return False+ if self.headers != other.headers:+ return False+ return True++class _UniffiFfiConverterTypePresignedPut(_UniffiConverterRustBuffer):+ @staticmethod+ def read(buf):+ return PresignedPut(+ method=_UniffiFfiConverterString.read(buf),+ url=_UniffiFfiConverterString.read(buf),+ headers=_UniffiFfiConverterMapStringString.read(buf),+ )++ @staticmethod+ def check_lower(value):+ _UniffiFfiConverterString.check_lower(value.method)+ _UniffiFfiConverterString.check_lower(value.url)+ _UniffiFfiConverterMapStringString.check_lower(value.headers)++ @staticmethod+ def write(value, buf):+ _UniffiFfiConverterString.write(value.method, buf)+ _UniffiFfiConverterString.write(value.url, buf)+ _UniffiFfiConverterMapStringString.write(value.headers, buf)++class _UniffiFfiConverterOptionalTypePresignedPut(_UniffiConverterRustBuffer):+ @classmethod+ def check_lower(cls, value):+ if value is not None:+ _UniffiFfiConverterTypePresignedPut.check_lower(value)++ @classmethod+ def write(cls, value, buf):+ if value is None:+ buf.write_u8(0)+ return++ buf.write_u8(1)+ _UniffiFfiConverterTypePresignedPut.write(value, buf)++ @classmethod+ def read(cls, buf):+ flag = buf.read_u8()+ if flag == 0:+ return None+ elif flag == 1:+ return _UniffiFfiConverterTypePresignedPut.read(buf)+ else:+ raise InternalError("Unexpected flag byte for optional type")++@dataclass+class ImageUploadInstruction:+ def __init__(self, *, digest:str, size_bytes:int, reference:str, upload:typing.Optional[PresignedPut]):+ self.digest = digest+ self.size_bytes = size_bytes+ self.reference = reference+ self.upload = upload+++++ def __str__(self):+ return "ImageUploadInstruction(digest={}, size_bytes={}, reference={}, upload={})".format(self.digest, self.size_bytes, self.reference, self.upload)+ def __eq__(self, other):+ if self.digest != other.digest:+ return False+ if self.size_bytes != other.size_bytes:+ return False+ if self.reference != other.reference:+ return False+ if self.upload != other.upload:+ return False+ return True++class _UniffiFfiConverterTypeImageUploadInstruction(_UniffiConverterRustBuffer):+ @staticmethod+ def read(buf):+ return ImageUploadInstruction(+ digest=_UniffiFfiConverterString.read(buf),+ size_bytes=_UniffiFfiConverterUInt64.read(buf),+ reference=_UniffiFfiConverterString.read(buf),+ upload=_UniffiFfiConverterOptionalTypePresignedPut.read(buf),+ )++ @staticmethod+ def check_lower(value):+ _UniffiFfiConverterString.check_lower(value.digest)+ _UniffiFfiConverterUInt64.check_lower(value.size_bytes)+ _UniffiFfiConverterString.check_lower(value.reference)+ _UniffiFfiConverterOptionalTypePresignedPut.check_lower(value.upload)++ @staticmethod+ def write(value, buf):+ _UniffiFfiConverterString.write(value.digest, buf)+ _UniffiFfiConverterUInt64.write(value.size_bytes, buf)+ _UniffiFfiConverterString.write(value.reference, buf)+ _UniffiFfiConverterOptionalTypePresignedPut.write(value.upload, buf)++class _UniffiFfiConverterSequenceTypeImageUploadFileRequest(_UniffiConverterRustBuffer):+ @classmethod+ def check_lower(cls, value):+ for item in value:+ _UniffiFfiConverterTypeImageUploadFileRequest.check_lower(item)++ @classmethod+ def write(cls, value, buf):+ items = len(value)+ buf.write_i32(items)+ for item in value:+ _UniffiFfiConverterTypeImageUploadFileRequest.write(item, buf)++ @classmethod+ def read(cls, buf):+ count = buf.read_i32()+ if count < 0:+ raise InternalError("Unexpected negative sequence length")++ return [+ _UniffiFfiConverterTypeImageUploadFileRequest.read(buf) for i in range(count)+ ]++@dataclass+class ImageUploadRequest:+ def __init__(self, *, namespace:str, files:typing.List[ImageUploadFileRequest]):+ self.namespace = namespace+ self.files = files+++++ def __str__(self):+ return "ImageUploadRequest(namespace={}, files={})".format(self.namespace, self.files)+ def __eq__(self, other):+ if self.namespace != other.namespace:+ return False+ if self.files != other.files:+ return False+ return True++class _UniffiFfiConverterTypeImageUploadRequest(_UniffiConverterRustBuffer):+ @staticmethod+ def read(buf):+ return ImageUploadRequest(+ namespace=_UniffiFfiConverterString.read(buf),+ files=_UniffiFfiConverterSequenceTypeImageUploadFileRequest.read(buf),+ )++ @staticmethod+ def check_lower(value):+ _UniffiFfiConverterString.check_lower(value.namespace)+ _UniffiFfiConverterSequenceTypeImageUploadFileRequest.check_lower(value.files)++ @staticmethod+ def write(value, buf):+ _UniffiFfiConverterString.write(value.namespace, buf)+ _UniffiFfiConverterSequenceTypeImageUploadFileRequest.write(value.files, buf)++class _UniffiFfiConverterSequenceTypeImageUploadInstruction(_UniffiConverterRustBuffer):+ @classmethod+ def check_lower(cls, value):+ for item in value:+ _UniffiFfiConverterTypeImageUploadInstruction.check_lower(item)++ @classmethod+ def write(cls, value, buf):+ items = len(value)+ buf.write_i32(items)+ for item in value:+ _UniffiFfiConverterTypeImageUploadInstruction.write(item, buf)++ @classmethod+ def read(cls, buf):+ count = buf.read_i32()+ if count < 0:+ raise InternalError("Unexpected negative sequence length")++ return [+ _UniffiFfiConverterTypeImageUploadInstruction.read(buf) for i in range(count)+ ]++@dataclass+class ImageUploadResponse:+ def __init__(self, *, files:typing.List[ImageUploadInstruction]):+ self.files = files+++++ def __str__(self):+ return "ImageUploadResponse(files={})".format(self.files)+ def __eq__(self, other):+ if self.files != other.files:+ return False+ return True++class _UniffiFfiConverterTypeImageUploadResponse(_UniffiConverterRustBuffer):+ @staticmethod+ def read(buf):+ return ImageUploadResponse(+ files=_UniffiFfiConverterSequenceTypeImageUploadInstruction.read(buf),+ )++ @staticmethod+ def check_lower(value):+ _UniffiFfiConverterSequenceTypeImageUploadInstruction.check_lower(value.files)++ @staticmethod+ def write(value, buf):+ _UniffiFfiConverterSequenceTypeImageUploadInstruction.write(value.files, buf)+@dataclassclass Namespace:def __init__(self, *, name:str, status:str, created_at:str, labels:typing.Optional[dict[str, str]]):@@ -4749,6 +5071,8 @@ class _UniffiFfiConverterTypeCreateUserApiKeyRequestBuilder:def write(cls, value: CreateUserApiKeyRequestBuilder, buf: _UniffiRustBuffer):buf.write_u64(cls.lower(value))++class _UniffiFfiConverterSequenceTypeClaim(_UniffiConverterRustBuffer):@classmethoddef check_lower(cls, value):@@ -4772,6 +5096,29 @@ class _UniffiFfiConverterSequenceTypeClaim(_UniffiConverterRustBuffer):_UniffiFfiConverterTypeClaim.read(buf) for i in range(count)]+class _UniffiFfiConverterSequenceTypePreservedJson(_UniffiConverterRustBuffer):+ @classmethod+ def check_lower(cls, value):+ for item in value:+ fleet_sdk._UniffiFfiConverterTypePreservedJson.check_lower(item)++ @classmethod+ def write(cls, value, buf):+ items = len(value)+ buf.write_i32(items)+ for item in value:+ fleet_sdk._UniffiFfiConverterTypePreservedJson.write(item, buf)++ @classmethod+ def read(cls, buf):+ count = buf.read_i32()+ if count < 0:+ raise InternalError("Unexpected negative sequence length")++ return [+ fleet_sdk._UniffiFfiConverterTypePreservedJson.read(buf) for i in range(count)+ ]+class _UniffiFfiConverterSequenceTypeNamespace(_UniffiConverterRustBuffer):@classmethoddef check_lower(cls, value):@@ -4892,6 +5239,8 @@ class CyclopsClientProtocol(typing.Protocol):async def create_claim(self, request: CreateClaimRequest) -> Claim:raise NotImplementedError+ async def create_image(self, namespace: str,manifest: fleet_sdk.PreservedJson) -> fleet_sdk.PreservedJson:+ raise NotImplementedErrorasync def create_namespace(self, name: str) -> Namespace:raise NotImplementedErrorasync def create_pool(self, request: CreatePoolRequest) -> Pool:@@ -4904,6 +5253,8 @@ class CyclopsClientProtocol(typing.Protocol):raise NotImplementedErrorasync def delete_claim(self, claim: Claim) -> None:raise NotImplementedError+ async def delete_image(self, namespace: str,name: str) -> None:+ raise NotImplementedErrorasync def delete_namespace(self, name: str) -> None:raise NotImplementedErrorasync def delete_pool(self, pool: Pool) -> None:@@ -4914,6 +5265,8 @@ class CyclopsClientProtocol(typing.Protocol):raise NotImplementedErrorasync def get_claim(self, claim: Claim) -> Claim:raise NotImplementedError+ async def get_image(self, namespace: str,name: str) -> fleet_sdk.PreservedJson:+ raise NotImplementedErrorasync def get_namespace(self, name: str) -> Namespace:raise NotImplementedErrorasync def get_pool(self, name: str) -> Pool:@@ -4922,6 +5275,8 @@ class CyclopsClientProtocol(typing.Protocol):raise NotImplementedErrorasync def list_claims(self, namespace: str) -> typing.List[Claim]:raise NotImplementedError+ async def list_images(self, namespace: str) -> typing.List[fleet_sdk.PreservedJson]:+ raise NotImplementedErrorasync def list_namespaces(self, ) -> typing.List[Namespace]:raise NotImplementedErrorasync def list_pools(self, namespace: str) -> typing.List[Pool]:@@ -4932,6 +5287,8 @@ class CyclopsClientProtocol(typing.Protocol):raise NotImplementedErrorasync def list_user_api_keys(self, ) -> typing.List[UserApiKey]:raise NotImplementedError+ async def presign_image_uploads(self, request: ImageUploadRequest) -> ImageUploadResponse:+ raise NotImplementedErrorasync def reconcile_pool(self, request: CreatePoolRequest) -> Pool:raise NotImplementedErrorasync def reconcile_template(self, request: CreateTemplateRequest) -> Template:@@ -5127,6 +5484,26 @@ class CyclopsClient(CyclopsClientProtocol):_uniffi_lift_return,_uniffi_error_converter,)+ async def create_image(self, namespace: str,manifest: fleet_sdk.PreservedJson) -> fleet_sdk.PreservedJson:++ _UniffiFfiConverterString.check_lower(namespace)++ fleet_sdk._UniffiFfiConverterTypePreservedJson.check_lower(manifest)+ _uniffi_lowered_args = (+ self._uniffi_clone_handle(),+ _UniffiFfiConverterString.lower(namespace),+ fleet_sdk._UniffiFfiConverterTypePreservedJson.lower(manifest),+ )+ _uniffi_lift_return = fleet_sdk._UniffiFfiConverterTypePreservedJson.lift+ _uniffi_error_converter = _UniffiFfiConverterTypeSdkError+ return await _uniffi_rust_call_async(+ _UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(*_uniffi_lowered_args),+ _UniffiLib.ffi_cyclops_sdk_rust_future_poll_u64,+ _UniffiLib.ffi_cyclops_sdk_rust_future_complete_u64,+ _UniffiLib.ffi_cyclops_sdk_rust_future_free_u64,+ _uniffi_lift_return,+ _uniffi_error_converter,+ )async def create_namespace(self, name: str) -> Namespace:_UniffiFfiConverterString.check_lower(name)@@ -5229,6 +5606,26 @@ class CyclopsClient(CyclopsClientProtocol):_uniffi_lift_return,_uniffi_error_converter,)+ async def delete_image(self, namespace: str,name: str) -> None:++ _UniffiFfiConverterString.check_lower(namespace)++ _UniffiFfiConverterString.check_lower(name)+ _uniffi_lowered_args = (+ self._uniffi_clone_handle(),+ _UniffiFfiConverterString.lower(namespace),+ _UniffiFfiConverterString.lower(name),+ )+ _uniffi_lift_return = lambda val: None+ _uniffi_error_converter = _UniffiFfiConverterTypeSdkError+ return await _uniffi_rust_call_async(+ _UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(*_uniffi_lowered_args),+ _UniffiLib.ffi_cyclops_sdk_rust_future_poll_void,+ _UniffiLib.ffi_cyclops_sdk_rust_future_complete_void,+ _UniffiLib.ffi_cyclops_sdk_rust_future_free_void,+ _uniffi_lift_return,+ _uniffi_error_converter,+ )async def delete_namespace(self, name: str) -> None:_UniffiFfiConverterString.check_lower(name)@@ -5314,6 +5711,26 @@ class CyclopsClient(CyclopsClientProtocol):_uniffi_lift_return,_uniffi_error_converter,)+ async def get_image(self, namespace: str,name: str) -> fleet_sdk.PreservedJson:++ _UniffiFfiConverterString.check_lower(namespace)++ _UniffiFfiConverterString.check_lower(name)+ _uniffi_lowered_args = (+ self._uniffi_clone_handle(),+ _UniffiFfiConverterString.lower(namespace),+ _UniffiFfiConverterString.lower(name),+ )+ _uniffi_lift_return = fleet_sdk._UniffiFfiConverterTypePreservedJson.lift+ _uniffi_error_converter = _UniffiFfiConverterTypeSdkError+ return await _uniffi_rust_call_async(+ _UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(*_uniffi_lowered_args),+ _UniffiLib.ffi_cyclops_sdk_rust_future_poll_u64,+ _UniffiLib.ffi_cyclops_sdk_rust_future_complete_u64,+ _UniffiLib.ffi_cyclops_sdk_rust_future_free_u64,+ _uniffi_lift_return,+ _uniffi_error_converter,+ )async def get_namespace(self, name: str) -> Namespace:_UniffiFfiConverterString.check_lower(name)@@ -5385,6 +5802,23 @@ class CyclopsClient(CyclopsClientProtocol):_uniffi_lift_return,_uniffi_error_converter,)+ async def list_images(self, namespace: str) -> typing.List[fleet_sdk.PreservedJson]:++ _UniffiFfiConverterString.check_lower(namespace)+ _uniffi_lowered_args = (+ self._uniffi_clone_handle(),+ _UniffiFfiConverterString.lower(namespace),+ )+ _uniffi_lift_return = _UniffiFfiConverterSequenceTypePreservedJson.lift+ _uniffi_error_converter = _UniffiFfiConverterTypeSdkError+ return await _uniffi_rust_call_async(+ _UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(*_uniffi_lowered_args),+ _UniffiLib.ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ _UniffiLib.ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ _UniffiLib.ffi_cyclops_sdk_rust_future_free_rust_buffer,+ _uniffi_lift_return,+ _uniffi_error_converter,+ )async def list_namespaces(self, ) -> typing.List[Namespace]:_uniffi_lowered_args = (self._uniffi_clone_handle(),@@ -5464,6 +5898,23 @@ class CyclopsClient(CyclopsClientProtocol):_uniffi_lift_return,_uniffi_error_converter,)+ async def presign_image_uploads(self, request: ImageUploadRequest) -> ImageUploadResponse:++ _UniffiFfiConverterTypeImageUploadRequest.check_lower(request)+ _uniffi_lowered_args = (+ self._uniffi_clone_handle(),+ _UniffiFfiConverterTypeImageUploadRequest.lower(request),+ )+ _uniffi_lift_return = _UniffiFfiConverterTypeImageUploadResponse.lift+ _uniffi_error_converter = _UniffiFfiConverterTypeSdkError+ return await _uniffi_rust_call_async(+ _UniffiLib.uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(*_uniffi_lowered_args),+ _UniffiLib.ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ _UniffiLib.ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ _UniffiLib.ffi_cyclops_sdk_rust_future_free_rust_buffer,+ _uniffi_lift_return,+ _uniffi_error_converter,+ )async def reconcile_pool(self, request: CreatePoolRequest) -> Pool:_UniffiFfiConverterTypeCreatePoolRequest.check_lower(request)@@ -6395,6 +6846,11 @@ __all__ = ["HttpHeader","HttpRequest","HttpResponse",+ "ImageUploadFileRequest",+ "PresignedPut",+ "ImageUploadInstruction",+ "ImageUploadRequest",+ "ImageUploadResponse","Namespace","NewUserApiKey","PoolDisplayStatus",diff --git a/libs/fleet/sdk-bindings/ruby/cyclops_sdk.rb b/libs/fleet/sdk-bindings/ruby/cyclops_sdk.rbindex 533436ed05..c2ff988289 100644--- a/libs/fleet/sdk-bindings/ruby/cyclops_sdk.rb+++ b/libs/fleet/sdk-bindings/ruby/cyclops_sdk.rb@@ -23,6 +23,7 @@ module FleetSdkreadTypeOSGymSandboxTemplateSpecreadTypeOSGymSandboxWarmPoolSpecreadTypeOSGymSandboxWarmPoolStatus+ readTypePreservedJson].freezeSCHEMA_WRITE_METHODS = %i[write_TypeClaimSpec@@ -30,6 +31,7 @@ module FleetSdkwrite_TypeOSGymSandboxTemplateSpecwrite_TypeOSGymSandboxWarmPoolSpecwrite_TypeOSGymSandboxWarmPoolStatus+ write_TypePreservedJson].freezeschema_rust_buffer = CyclopsSdkSchema::RustBufferdiff --git a/libs/fleet/sdk-bindings/ruby/cyclops_sdk/sdk.rb b/libs/fleet/sdk-bindings/ruby/cyclops_sdk/sdk.rbindex 00e131285c..440937f2a3 100644--- a/libs/fleet/sdk-bindings/ruby/cyclops_sdk/sdk.rb+++ b/libs/fleet/sdk-bindings/ruby/cyclops_sdk/sdk.rb@@ -409,6 +409,88 @@ private_constant :UniffiHandleMapendend+ # The Record type ImageUploadFileRequest.++ def self.check_lower_TypeImageUploadFileRequest(v)++++ end++ def self.alloc_from_TypeImageUploadFileRequest(v)+ RustBuffer.allocWithBuilder do |builder|+ builder.write_TypeImageUploadFileRequest(v)+ return builder.finalize+ end+ end++ def consumeIntoTypeImageUploadFileRequest+ consumeWithStream do |stream|+ return stream.readTypeImageUploadFileRequest+ end+ end++ # The Record type ImageUploadInstruction.++ def self.check_lower_TypeImageUploadInstruction(v)++++ RustBuffer.check_lower_OptionalTypePresignedPut(v.upload)+ end++ def self.alloc_from_TypeImageUploadInstruction(v)+ RustBuffer.allocWithBuilder do |builder|+ builder.write_TypeImageUploadInstruction(v)+ return builder.finalize+ end+ end++ def consumeIntoTypeImageUploadInstruction+ consumeWithStream do |stream|+ return stream.readTypeImageUploadInstruction+ end+ end++ # The Record type ImageUploadRequest.++ def self.check_lower_TypeImageUploadRequest(v)++ RustBuffer.check_lower_SequenceTypeImageUploadFileRequest(v.files)+ end++ def self.alloc_from_TypeImageUploadRequest(v)+ RustBuffer.allocWithBuilder do |builder|+ builder.write_TypeImageUploadRequest(v)+ return builder.finalize+ end+ end++ def consumeIntoTypeImageUploadRequest+ consumeWithStream do |stream|+ return stream.readTypeImageUploadRequest+ end+ end++ # The Record type ImageUploadResponse.++ def self.check_lower_TypeImageUploadResponse(v)+ RustBuffer.check_lower_SequenceTypeImageUploadInstruction(v.files)+ end++ def self.alloc_from_TypeImageUploadResponse(v)+ RustBuffer.allocWithBuilder do |builder|+ builder.write_TypeImageUploadResponse(v)+ return builder.finalize+ end+ end++ def consumeIntoTypeImageUploadResponse+ consumeWithStream do |stream|+ return stream.readTypeImageUploadResponse+ end+ end+# The Record type Namespace.def self.check_lower_TypeNamespace(v)@@ -498,6 +580,27 @@ private_constant :UniffiHandleMapendend+ # The Record type PresignedPut.++ def self.check_lower_TypePresignedPut(v)+++ RustBuffer.check_lower_MapStringString(v.headers)+ end++ def self.alloc_from_TypePresignedPut(v)+ RustBuffer.allocWithBuilder do |builder|+ builder.write_TypePresignedPut(v)+ return builder.finalize+ end+ end++ def consumeIntoTypePresignedPut+ consumeWithStream do |stream|+ return stream.readTypePresignedPut+ end+ end+# The Record type ResourceMetadata.def self.check_lower_TypeResourceMetadata(v)@@ -704,6 +807,27 @@ private_constant :UniffiHandleMapendend+ # The Optional<T> type for TypePresignedPut.++ def self.check_lower_OptionalTypePresignedPut(v)+ if not v.nil?+ RustBuffer.check_lower_TypePresignedPut(v)+ end+ end++ def self.alloc_from_OptionalTypePresignedPut(v)+ RustBuffer.allocWithBuilder do |builder|+ builder.write_OptionalTypePresignedPut(v)+ return builder.finalize()+ end+ end++ def consumeIntoOptionalTypePresignedPut+ consumeWithStream do |stream|+ return stream.readOptionalTypePresignedPut+ end+ end+# The Optional<T> type for TypeClaimSpec.def self.check_lower_OptionalTypeClaimSpec(v)@@ -809,6 +933,27 @@ private_constant :UniffiHandleMapendend+ # The Sequence<T> type for TypePreservedJson.++ def self.check_lower_SequenceTypePreservedJson(v)+ v.each do |item|+ (PreservedJson.uniffi_check_lower item)+ end+ end++ def self.alloc_from_SequenceTypePreservedJson(v)+ RustBuffer.allocWithBuilder do |builder|+ builder.write_SequenceTypePreservedJson(v)+ return builder.finalize()+ end+ end++ def consumeIntoSequenceTypePreservedJson+ consumeWithStream do |stream|+ return stream.readSequenceTypePreservedJson+ end+ end+# The Sequence<T> type for TypeClaim.def self.check_lower_SequenceTypeClaim(v)@@ -851,6 +996,48 @@ private_constant :UniffiHandleMapendend+ # The Sequence<T> type for TypeImageUploadFileRequest.++ def self.check_lower_SequenceTypeImageUploadFileRequest(v)+ v.each do |item|+ RustBuffer.check_lower_TypeImageUploadFileRequest(item)+ end+ end++ def self.alloc_from_SequenceTypeImageUploadFileRequest(v)+ RustBuffer.allocWithBuilder do |builder|+ builder.write_SequenceTypeImageUploadFileRequest(v)+ return builder.finalize()+ end+ end++ def consumeIntoSequenceTypeImageUploadFileRequest+ consumeWithStream do |stream|+ return stream.readSequenceTypeImageUploadFileRequest+ end+ end++ # The Sequence<T> type for TypeImageUploadInstruction.++ def self.check_lower_SequenceTypeImageUploadInstruction(v)+ v.each do |item|+ RustBuffer.check_lower_TypeImageUploadInstruction(item)+ end+ end++ def self.alloc_from_SequenceTypeImageUploadInstruction(v)+ RustBuffer.allocWithBuilder do |builder|+ builder.write_SequenceTypeImageUploadInstruction(v)+ return builder.finalize()+ end+ end++ def consumeIntoSequenceTypeImageUploadInstruction+ consumeWithStream do |stream|+ return stream.readSequenceTypeImageUploadInstruction+ end+ end+# The Sequence<T> type for TypeNamespace.def self.check_lower_SequenceTypeNamespace(v)@@ -1262,6 +1449,44 @@ class RustBufferStream)end+ # The Record type ImageUploadFileRequest.++ def readTypeImageUploadFileRequest+ ImageUploadFileRequest.new(+ digest: readString,+ size_bytes: readU64,+ name: readString+ )+ end++ # The Record type ImageUploadInstruction.++ def readTypeImageUploadInstruction+ ImageUploadInstruction.new(+ digest: readString,+ size_bytes: readU64,+ reference: readString,+ upload: readOptionalTypePresignedPut+ )+ end++ # The Record type ImageUploadRequest.++ def readTypeImageUploadRequest+ ImageUploadRequest.new(+ namespace: readString,+ files: readSequenceTypeImageUploadFileRequest+ )+ end++ # The Record type ImageUploadResponse.++ def readTypeImageUploadResponse+ ImageUploadResponse.new(+ files: readSequenceTypeImageUploadInstruction+ )+ end+# The Record type Namespace.def readTypeNamespace@@ -1307,6 +1532,16 @@ class RustBufferStream)end+ # The Record type PresignedPut.++ def readTypePresignedPut+ PresignedPut.new(+ method: readString,+ url: readString,+ headers: readMapStringString+ )+ end+# The Record type ResourceMetadata.def readTypeResourceMetadata@@ -1575,6 +1810,20 @@ class RustBufferStreamendend+ # The Optional<T> type for TypePresignedPut.++ def readOptionalTypePresignedPut+ flag = unpack_from 1, 'c'++ if flag == 0+ return nil+ elsif flag == 1+ return readTypePresignedPut+ else+ raise InternalError, 'Unexpected flag byte for OptionalTypePresignedPut'+ end+ end+# The Optional<T> type for TypeClaimSpec.def readOptionalTypeClaimSpec@@ -1647,6 +1896,22 @@ class RustBufferStreamitemsend+ # The Sequence<T> type for TypePreservedJson.++ def readSequenceTypePreservedJson+ count = unpack_from 4, 'l>'++ raise InternalError, 'Unexpected negative sequence length' if count.negative?++ items = []++ count.times do+ items.append readTypePreservedJson+ end++ items+ end+# The Sequence<T> type for TypeClaim.def readSequenceTypeClaim@@ -1679,6 +1944,38 @@ class RustBufferStreamitemsend+ # The Sequence<T> type for TypeImageUploadFileRequest.++ def readSequenceTypeImageUploadFileRequest+ count = unpack_from 4, 'l>'++ raise InternalError, 'Unexpected negative sequence length' if count.negative?++ items = []++ count.times do+ items.append readTypeImageUploadFileRequest+ end++ items+ end++ # The Sequence<T> type for TypeImageUploadInstruction.++ def readSequenceTypeImageUploadInstruction+ count = unpack_from 4, 'l>'++ raise InternalError, 'Unexpected negative sequence length' if count.negative?++ items = []++ count.times do+ items.append readTypeImageUploadInstruction+ end++ items+ end+# The Sequence<T> type for TypeNamespace.def readSequenceTypeNamespace@@ -2030,6 +2327,36 @@ class RustBufferBuilderself.write_Bytes(v.body)end+ # The Record type ImageUploadFileRequest.++ def write_TypeImageUploadFileRequest(v)+ self.write_String(v.digest)+ self.write_U64(v.size_bytes)+ self.write_String(v.name)+ end++ # The Record type ImageUploadInstruction.++ def write_TypeImageUploadInstruction(v)+ self.write_String(v.digest)+ self.write_U64(v.size_bytes)+ self.write_String(v.reference)+ self.write_OptionalTypePresignedPut(v.upload)+ end++ # The Record type ImageUploadRequest.++ def write_TypeImageUploadRequest(v)+ self.write_String(v.namespace)+ self.write_SequenceTypeImageUploadFileRequest(v.files)+ end++ # The Record type ImageUploadResponse.++ def write_TypeImageUploadResponse(v)+ self.write_SequenceTypeImageUploadInstruction(v.files)+ end+# The Record type Namespace.def write_TypeNamespace(v)@@ -2067,6 +2394,14 @@ class RustBufferBuilderself.write_String(v.indicator)end+ # The Record type PresignedPut.++ def write_TypePresignedPut(v)+ self.write_String(v.method)+ self.write_String(v.url)+ self.write_MapStringString(v.headers)+ end+# The Record type ResourceMetadata.def write_TypeResourceMetadata(v)@@ -2166,6 +2501,17 @@ class RustBufferBuilderendend+ # The Optional<T> type for TypePresignedPut.++ def write_OptionalTypePresignedPut(v)+ if v.nil?+ pack_into(1, 'c', 0)+ else+ pack_into(1, 'c', 1)+ self.write_TypePresignedPut(v)+ end+ end+# The Optional<T> type for TypeClaimSpec.def write_OptionalTypeClaimSpec(v)@@ -2220,6 +2566,16 @@ class RustBufferBuilderendend+ # The Sequence<T> type for TypePreservedJson.++ def write_SequenceTypePreservedJson(items)+ pack_into(4, 'l>', items.size)++ items.each do |item|+ self.write_TypePreservedJson(item)+ end+ end+# The Sequence<T> type for TypeClaim.def write_SequenceTypeClaim(items)@@ -2240,6 +2596,26 @@ class RustBufferBuilderendend+ # The Sequence<T> type for TypeImageUploadFileRequest.++ def write_SequenceTypeImageUploadFileRequest(items)+ pack_into(4, 'l>', items.size)++ items.each do |item|+ self.write_TypeImageUploadFileRequest(item)+ end+ end++ # The Sequence<T> type for TypeImageUploadInstruction.++ def write_SequenceTypeImageUploadInstruction(items)+ pack_into(4, 'l>', items.size)++ items.each do |item|+ self.write_TypeImageUploadInstruction(item)+ end+ end+# The Sequence<T> type for TypeNamespace.def write_SequenceTypeNamespace(items)@@ -2835,6 +3211,21 @@ module UniFFILibattach_function :uniffi_cyclops_sdk_fn_method_cyclopsclient_wait_claim,[:uint64, RustBuffer.by_value, RustCallStatus.by_ref],:uint64+ attach_function :uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads,+ [:uint64, RustBuffer.by_value, RustCallStatus.by_ref],+ :uint64+ attach_function :uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image,+ [:uint64, RustBuffer.by_value, :uint64, RustCallStatus.by_ref],+ :uint64+ attach_function :uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image,+ [:uint64, RustBuffer.by_value, RustBuffer.by_value, RustCallStatus.by_ref],+ :uint64+ attach_function :uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image,+ [:uint64, RustBuffer.by_value, RustBuffer.by_value, RustCallStatus.by_ref],+ :uint64+ attach_function :uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images,+ [:uint64, RustBuffer.by_value, RustCallStatus.by_ref],+ :uint64attach_function :uniffi_cyclops_sdk_fn_method_cyclopsclient_create_namespace,[:uint64, RustBuffer.by_value, RustCallStatus.by_ref],:uint64@@ -3208,6 +3599,21 @@ module UniFFILibattach_function :uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim,[RustCallStatus.by_ref],:uint16+ attach_function :uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads,+ [RustCallStatus.by_ref],+ :uint16+ attach_function :uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image,+ [RustCallStatus.by_ref],+ :uint16+ attach_function :uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image,+ [RustCallStatus.by_ref],+ :uint16+ attach_function :uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image,+ [RustCallStatus.by_ref],+ :uint16+ attach_function :uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images,+ [RustCallStatus.by_ref],+ :uint16attach_function :uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace,[RustCallStatus.by_ref],:uint16@@ -3469,6 +3875,123 @@ end+ # Record type ImageUploadFileRequest+class ImageUploadFileRequest+ attr_reader :digest, :size_bytes, :name++ def initialize(digest:, size_bytes:, name:)+ @digest = digest+ @size_bytes = size_bytes+ @name = name+ end++ def ==(other)+ if @digest != other.digest+ return false+ end+ if @size_bytes != other.size_bytes+ return false+ end+ if @name != other.name+ return false+ end++ true+ end+end++ # Record type ImageUploadInstruction+class ImageUploadInstruction+ attr_reader :digest, :size_bytes, :reference, :upload++ def initialize(digest:, size_bytes:, reference:, upload:)+ @digest = digest+ @size_bytes = size_bytes+ @reference = reference+ @upload = upload+ end++ def ==(other)+ if @digest != other.digest+ return false+ end+ if @size_bytes != other.size_bytes+ return false+ end+ if @reference != other.reference+ return false+ end+ if @upload != other.upload+ return false+ end++ true+ end+end++ # Record type ImageUploadRequest+class ImageUploadRequest+ attr_reader :namespace, :files++ def initialize(namespace:, files:)+ @namespace = namespace+ @files = files+ end++ def ==(other)+ if @namespace != other.namespace+ return false+ end+ if @files != other.files+ return false+ end++ true+ end+end++ # Record type ImageUploadResponse+class ImageUploadResponse+ attr_reader :files++ def initialize(files:)+ @files = files+ end++ def ==(other)+ if @files != other.files+ return false+ end++ true+ end+end++ # Record type PresignedPut+class PresignedPut+ attr_reader :method, :url, :headers++ def initialize(method:, url:, headers:)+ @method = method+ @url = url+ @headers = headers+ end++ def ==(other)+ if @method != other.method+ return false+ end+ if @url != other.url+ return false+ end+ if @headers != other.headers+ return false+ end++ true+ end+end+# Record type PoolDisplayStatusclass PoolDisplayStatusattr_reader :kind, :label, :indicator@@ -4300,6 +4823,66 @@ end)return result.consumeIntoTypeSandboxend+ def presign_image_uploads(request)+ request = request+ RustBuffer.check_lower_TypeImageUploadRequest(request)+ result = FleetSdk.uniffi_rust_future_rust_buffer(+ SdkError,+ UniFFILib.uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(uniffi_clone_handle(),RustBuffer.alloc_from_TypeImageUploadRequest(request),RustCallStatus.new),+ )+ return result.consumeIntoTypeImageUploadResponse+ end+ def create_image(namespace, manifest)+ namespace = FleetSdk::uniffi_utf8(namespace)++ manifest = manifest+ (PreservedJson.uniffi_check_lower manifest)+ result = FleetSdk.uniffi_rust_future_rust_buffer(+ SdkError,+ UniFFILib.uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(uniffi_clone_handle(),RustBuffer.allocFromString(namespace),(PreservedJson.uniffi_lower manifest),RustCallStatus.new),+ )+ return PreservedJson.uniffi_allocate(result)+ end+ def delete_image(namespace, name)+ namespace = FleetSdk::uniffi_utf8(namespace)++ name = FleetSdk::uniffi_utf8(name)++ FleetSdk.uniffi_rust_future_void(++ SdkError,++ UniFFILib.uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(uniffi_clone_handle(),RustBuffer.allocFromString(namespace),RustBuffer.allocFromString(name),RustCallStatus.new),++ )+ end++ def get_image(namespace, name)+ namespace = FleetSdk::uniffi_utf8(namespace)++ name = FleetSdk::uniffi_utf8(name)++ result = FleetSdk.uniffi_rust_future_rust_buffer(++ SdkError,++ UniFFILib.uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(uniffi_clone_handle(),RustBuffer.allocFromString(namespace),RustBuffer.allocFromString(name),RustCallStatus.new),++ )+ return PreservedJson.uniffi_allocate(result)+ end+ def list_images(namespace)+ namespace = FleetSdk::uniffi_utf8(namespace)++ result = FleetSdk.uniffi_rust_future_rust_buffer(++ SdkError,++ UniFFILib.uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(uniffi_clone_handle(),RustBuffer.allocFromString(namespace),RustCallStatus.new),++ )+ return result.consumeIntoSequenceTypePreservedJson+ enddef create_namespace(name)name = FleetSdk::uniffi_utf8(name)diff --git a/libs/fleet/sdk-bindings/swift/CyclopsSdk.swift b/libs/fleet/sdk-bindings/swift/CyclopsSdk.swiftindex f25403eb4e..9a5ce4a7f0 100644--- a/libs/fleet/sdk-bindings/swift/CyclopsSdk.swift+++ b/libs/fleet/sdk-bindings/swift/CyclopsSdk.swift@@ -1561,6 +1561,16 @@ public protocol CyclopsClientProtocol: AnyObject, Sendable {func waitClaim(claim: Claim) async throws -> Sandbox+ func presignImageUploads(request: ImageUploadRequest) async throws -> ImageUploadResponse++ func createImage(namespace: String, manifest: PreservedJson) async throws -> PreservedJson++ func deleteImage(namespace: String, name: String) async throws++ func getImage(namespace: String, name: String) async throws -> PreservedJson++ func listImages(namespace: String) async throws -> [PreservedJson]+func createNamespace(name: String) async throws -> Namespacefunc deleteNamespace(name: String) async throws@@ -1835,6 +1845,91 @@ open func waitClaim(claim: Claim)async throws -> Sandbox {)}+open func presignImageUploads(request: ImageUploadRequest)async throws -> ImageUploadResponse {+ return+ try await uniffiRustCallAsync(+ rustFutureFunc: {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(+ self.uniffiCloneHandle(),+ FfiConverterTypeImageUploadRequest_lower(request)+ )+ },+ pollFunc: ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ completeFunc: ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ freeFunc: ffi_cyclops_sdk_rust_future_free_rust_buffer,+ liftFunc: FfiConverterTypeImageUploadResponse_lift,+ errorHandler: FfiConverterTypeSdkError_lift+ )+}++open func createImage(namespace: String, manifest: PreservedJson)async throws -> PreservedJson {+ return+ try await uniffiRustCallAsync(+ rustFutureFunc: {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(+ self.uniffiCloneHandle(),+ FfiConverterString.lower(namespace),FfiConverterTypePreservedJson_lower(manifest)+ )+ },+ pollFunc: ffi_cyclops_sdk_rust_future_poll_u64,+ completeFunc: ffi_cyclops_sdk_rust_future_complete_u64,+ freeFunc: ffi_cyclops_sdk_rust_future_free_u64,+ liftFunc: FfiConverterTypePreservedJson_lift,+ errorHandler: FfiConverterTypeSdkError_lift+ )+}++open func deleteImage(namespace: String, name: String)async throws {+ return+ try await uniffiRustCallAsync(+ rustFutureFunc: {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(+ self.uniffiCloneHandle(),+ FfiConverterString.lower(namespace),FfiConverterString.lower(name)+ )+ },+ pollFunc: ffi_cyclops_sdk_rust_future_poll_void,+ completeFunc: ffi_cyclops_sdk_rust_future_complete_void,+ freeFunc: ffi_cyclops_sdk_rust_future_free_void,+ liftFunc: { $0 },+ errorHandler: FfiConverterTypeSdkError_lift+ )+}++open func getImage(namespace: String, name: String)async throws -> PreservedJson {+ return+ try await uniffiRustCallAsync(+ rustFutureFunc: {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(+ self.uniffiCloneHandle(),+ FfiConverterString.lower(namespace),FfiConverterString.lower(name)+ )+ },+ pollFunc: ffi_cyclops_sdk_rust_future_poll_u64,+ completeFunc: ffi_cyclops_sdk_rust_future_complete_u64,+ freeFunc: ffi_cyclops_sdk_rust_future_free_u64,+ liftFunc: FfiConverterTypePreservedJson_lift,+ errorHandler: FfiConverterTypeSdkError_lift+ )+}++open func listImages(namespace: String)async throws -> [PreservedJson] {+ return+ try await uniffiRustCallAsync(+ rustFutureFunc: {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(+ self.uniffiCloneHandle(),+ FfiConverterString.lower(namespace)+ )+ },+ pollFunc: ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ completeFunc: ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ freeFunc: ffi_cyclops_sdk_rust_future_free_rust_buffer,+ liftFunc: FfiConverterSequenceTypePreservedJson.lift,+ errorHandler: FfiConverterTypeSdkError_lift+ )+}+open func createNamespace(name: String)async throws -> Namespace {returntry await uniffiRustCallAsync(@@ -3847,6 +3942,230 @@ public func FfiConverterTypeHttpResponse_lower(_ value: HttpResponse) -> RustBuf}+public struct ImageUploadFileRequest: Equatable, Hashable {+ public var digest: String+ public var sizeBytes: UInt64+ public var name: String++ // Default memberwise initializers are never public by default, so we+ // declare one manually.+ public init(digest: String, sizeBytes: UInt64, name: String) {+ self.digest = digest+ self.sizeBytes = sizeBytes+ self.name = name+ }+++++}++#if compiler(>=6)+extension ImageUploadFileRequest: Sendable {}+#endif++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public struct FfiConverterTypeImageUploadFileRequest: FfiConverterRustBuffer {+ public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ImageUploadFileRequest {+ return+ try ImageUploadFileRequest(+ digest: FfiConverterString.read(from: &buf),+ sizeBytes: FfiConverterUInt64.read(from: &buf),+ name: FfiConverterString.read(from: &buf)+ )+ }++ public static func write(_ value: ImageUploadFileRequest, into buf: inout [UInt8]) {+ FfiConverterString.write(value.digest, into: &buf)+ FfiConverterUInt64.write(value.sizeBytes, into: &buf)+ FfiConverterString.write(value.name, into: &buf)+ }+}+++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public func FfiConverterTypeImageUploadFileRequest_lift(_ buf: RustBuffer) throws -> ImageUploadFileRequest {+ return try FfiConverterTypeImageUploadFileRequest.lift(buf)+}++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public func FfiConverterTypeImageUploadFileRequest_lower(_ value: ImageUploadFileRequest) -> RustBuffer {+ return FfiConverterTypeImageUploadFileRequest.lower(value)+}+++public struct ImageUploadInstruction: Equatable, Hashable {+ public var digest: String+ public var sizeBytes: UInt64+ public var reference: String+ public var upload: PresignedPut?++ // Default memberwise initializers are never public by default, so we+ // declare one manually.+ public init(digest: String, sizeBytes: UInt64, reference: String, upload: PresignedPut?) {+ self.digest = digest+ self.sizeBytes = sizeBytes+ self.reference = reference+ self.upload = upload+ }+++++}++#if compiler(>=6)+extension ImageUploadInstruction: Sendable {}+#endif++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public struct FfiConverterTypeImageUploadInstruction: FfiConverterRustBuffer {+ public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ImageUploadInstruction {+ return+ try ImageUploadInstruction(+ digest: FfiConverterString.read(from: &buf),+ sizeBytes: FfiConverterUInt64.read(from: &buf),+ reference: FfiConverterString.read(from: &buf),+ upload: FfiConverterOptionTypePresignedPut.read(from: &buf)+ )+ }++ public static func write(_ value: ImageUploadInstruction, into buf: inout [UInt8]) {+ FfiConverterString.write(value.digest, into: &buf)+ FfiConverterUInt64.write(value.sizeBytes, into: &buf)+ FfiConverterString.write(value.reference, into: &buf)+ FfiConverterOptionTypePresignedPut.write(value.upload, into: &buf)+ }+}+++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public func FfiConverterTypeImageUploadInstruction_lift(_ buf: RustBuffer) throws -> ImageUploadInstruction {+ return try FfiConverterTypeImageUploadInstruction.lift(buf)+}++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public func FfiConverterTypeImageUploadInstruction_lower(_ value: ImageUploadInstruction) -> RustBuffer {+ return FfiConverterTypeImageUploadInstruction.lower(value)+}+++public struct ImageUploadRequest: Equatable, Hashable {+ public var namespace: String+ public var files: [ImageUploadFileRequest]++ // Default memberwise initializers are never public by default, so we+ // declare one manually.+ public init(namespace: String, files: [ImageUploadFileRequest]) {+ self.namespace = namespace+ self.files = files+ }+++++}++#if compiler(>=6)+extension ImageUploadRequest: Sendable {}+#endif++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public struct FfiConverterTypeImageUploadRequest: FfiConverterRustBuffer {+ public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ImageUploadRequest {+ return+ try ImageUploadRequest(+ namespace: FfiConverterString.read(from: &buf),+ files: FfiConverterSequenceTypeImageUploadFileRequest.read(from: &buf)+ )+ }++ public static func write(_ value: ImageUploadRequest, into buf: inout [UInt8]) {+ FfiConverterString.write(value.namespace, into: &buf)+ FfiConverterSequenceTypeImageUploadFileRequest.write(value.files, into: &buf)+ }+}+++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public func FfiConverterTypeImageUploadRequest_lift(_ buf: RustBuffer) throws -> ImageUploadRequest {+ return try FfiConverterTypeImageUploadRequest.lift(buf)+}++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public func FfiConverterTypeImageUploadRequest_lower(_ value: ImageUploadRequest) -> RustBuffer {+ return FfiConverterTypeImageUploadRequest.lower(value)+}+++public struct ImageUploadResponse: Equatable, Hashable {+ public var files: [ImageUploadInstruction]++ // Default memberwise initializers are never public by default, so we+ // declare one manually.+ public init(files: [ImageUploadInstruction]) {+ self.files = files+ }+++++}++#if compiler(>=6)+extension ImageUploadResponse: Sendable {}+#endif++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public struct FfiConverterTypeImageUploadResponse: FfiConverterRustBuffer {+ public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> ImageUploadResponse {+ return+ try ImageUploadResponse(+ files: FfiConverterSequenceTypeImageUploadInstruction.read(from: &buf)+ )+ }++ public static func write(_ value: ImageUploadResponse, into buf: inout [UInt8]) {+ FfiConverterSequenceTypeImageUploadInstruction.write(value.files, into: &buf)+ }+}+++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public func FfiConverterTypeImageUploadResponse_lift(_ buf: RustBuffer) throws -> ImageUploadResponse {+ return try FfiConverterTypeImageUploadResponse.lift(buf)+}++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public func FfiConverterTypeImageUploadResponse_lower(_ value: ImageUploadResponse) -> RustBuffer {+ return FfiConverterTypeImageUploadResponse.lower(value)+}++public struct Namespace: Equatable, Hashable {public var name: Stringpublic var status: String@@ -4108,6 +4427,64 @@ public func FfiConverterTypePoolDisplayStatus_lower(_ value: PoolDisplayStatus)}+public struct PresignedPut: Equatable, Hashable {+ public var method: String+ public var url: String+ public var headers: [String: String]++ // Default memberwise initializers are never public by default, so we+ // declare one manually.+ public init(method: String, url: String, headers: [String: String]) {+ self.method = method+ self.url = url+ self.headers = headers+ }+++++}++#if compiler(>=6)+extension PresignedPut: Sendable {}+#endif++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public struct FfiConverterTypePresignedPut: FfiConverterRustBuffer {+ public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> PresignedPut {+ return+ try PresignedPut(+ method: FfiConverterString.read(from: &buf),+ url: FfiConverterString.read(from: &buf),+ headers: FfiConverterDictionaryStringString.read(from: &buf)+ )+ }++ public static func write(_ value: PresignedPut, into buf: inout [UInt8]) {+ FfiConverterString.write(value.method, into: &buf)+ FfiConverterString.write(value.url, into: &buf)+ FfiConverterDictionaryStringString.write(value.headers, into: &buf)+ }+}+++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public func FfiConverterTypePresignedPut_lift(_ buf: RustBuffer) throws -> PresignedPut {+ return try FfiConverterTypePresignedPut.lift(buf)+}++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+public func FfiConverterTypePresignedPut_lower(_ value: PresignedPut) -> RustBuffer {+ return FfiConverterTypePresignedPut.lower(value)+}++public struct ResourceMetadata: Equatable, Hashable {public var namespace: Stringpublic var name: String@@ -5023,6 +5400,30 @@ fileprivate struct FfiConverterOptionData: FfiConverterRustBuffer {}}+#if swift(>=5.8)+@_documentation(visibility: private)+#endif+fileprivate struct FfiConverterOptionTypePresignedPut: FfiConverterRustBuffer {+ typealias SwiftType = PresignedPut?++ public static func write(_ value: SwiftType, into buf: inout [UInt8]) {+ guard let value = value else {+ writeInt(&buf, Int8(0))+ return+ }+ writeInt(&buf, Int8(1))+ FfiConverterTypePresignedPut.write(value, into: &buf)+ }++ public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> SwiftType {+ switch try readInt(&buf) as Int8 {+ case 0: return nil+ case 1: return try FfiConverterTypePresignedPut.read(from: &buf)+ default: throw UniffiInternalError.unexpectedOptionalTag+ }+ }+}+#if swift(>=5.8)@_documentation(visibility: private)#endif@@ -5144,6 +5545,31 @@ fileprivate struct FfiConverterSequenceString: FfiConverterRustBuffer {}}+#if swift(>=5.8)+@_documentation(visibility: private)+#endif+fileprivate struct FfiConverterSequenceTypePreservedJson: FfiConverterRustBuffer {+ typealias SwiftType = [PreservedJson]++ public static func write(_ value: [PreservedJson], into buf: inout [UInt8]) {+ let len = Int32(value.count)+ writeInt(&buf, len)+ for item in value {+ FfiConverterTypePreservedJson.write(item, into: &buf)+ }+ }++ public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> [PreservedJson] {+ let len: Int32 = try readInt(&buf)+ var seq = [PreservedJson]()+ seq.reserveCapacity(Int(len))+ for _ in 0 ..< len {+ seq.append(try FfiConverterTypePreservedJson.read(from: &buf))+ }+ return seq+ }+}+#if swift(>=5.8)@_documentation(visibility: private)#endif@@ -5194,6 +5620,56 @@ fileprivate struct FfiConverterSequenceTypeHttpHeader: FfiConverterRustBuffer {}}+#if swift(>=5.8)+@_documentation(visibility: private)+#endif+fileprivate struct FfiConverterSequenceTypeImageUploadFileRequest: FfiConverterRustBuffer {+ typealias SwiftType = [ImageUploadFileRequest]++ public static func write(_ value: [ImageUploadFileRequest], into buf: inout [UInt8]) {+ let len = Int32(value.count)+ writeInt(&buf, len)+ for item in value {+ FfiConverterTypeImageUploadFileRequest.write(item, into: &buf)+ }+ }++ public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> [ImageUploadFileRequest] {+ let len: Int32 = try readInt(&buf)+ var seq = [ImageUploadFileRequest]()+ seq.reserveCapacity(Int(len))+ for _ in 0 ..< len {+ seq.append(try FfiConverterTypeImageUploadFileRequest.read(from: &buf))+ }+ return seq+ }+}++#if swift(>=5.8)+@_documentation(visibility: private)+#endif+fileprivate struct FfiConverterSequenceTypeImageUploadInstruction: FfiConverterRustBuffer {+ typealias SwiftType = [ImageUploadInstruction]++ public static func write(_ value: [ImageUploadInstruction], into buf: inout [UInt8]) {+ let len = Int32(value.count)+ writeInt(&buf, len)+ for item in value {+ FfiConverterTypeImageUploadInstruction.write(item, into: &buf)+ }+ }++ public static func read(from buf: inout (data: Data, offset: Data.Index)) throws -> [ImageUploadInstruction] {+ let len: Int32 = try readInt(&buf)+ var seq = [ImageUploadInstruction]()+ seq.reserveCapacity(Int(len))+ for _ in 0 ..< len {+ seq.append(try FfiConverterTypeImageUploadInstruction.read(from: &buf))+ }+ return seq+ }+}+#if swift(>=5.8)@_documentation(visibility: private)#endif@@ -5562,6 +6038,21 @@ private let initializationResult: InitializationResult = {if (uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim() != 18984) {return InitializationResult.apiChecksumMismatch}+ if (uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads() != 53280) {+ return InitializationResult.apiChecksumMismatch+ }+ if (uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image() != 51053) {+ return InitializationResult.apiChecksumMismatch+ }+ if (uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image() != 24680) {+ return InitializationResult.apiChecksumMismatch+ }+ if (uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image() != 56969) {+ return InitializationResult.apiChecksumMismatch+ }+ if (uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images() != 31215) {+ return InitializationResult.apiChecksumMismatch+ }if (uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace() != 38049) {return InitializationResult.apiChecksumMismatch}diff --git a/libs/fleet/sdk-bindings/swift/CyclopsSdkFFI.h b/libs/fleet/sdk-bindings/swift/CyclopsSdkFFI.hindex 4b1fbd93f3..87cd56ebce 100644--- a/libs/fleet/sdk-bindings/swift/CyclopsSdkFFI.h+++ b/libs/fleet/sdk-bindings/swift/CyclopsSdkFFI.h@@ -348,6 +348,31 @@ uint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_renew_claim(uint64_t ptr, Ruuint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_wait_claim(uint64_t ptr, RustBuffer claim);#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_PRESIGN_IMAGE_UPLOADS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_PRESIGN_IMAGE_UPLOADS+uint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(uint64_t ptr, RustBuffer request+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_CREATE_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_CREATE_IMAGE+uint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(uint64_t ptr, RustBuffer namespace, uint64_t manifest+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_DELETE_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_DELETE_IMAGE+uint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(uint64_t ptr, RustBuffer namespace, RustBuffer name+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_GET_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_GET_IMAGE+uint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(uint64_t ptr, RustBuffer namespace, RustBuffer name+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_LIST_IMAGES+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_LIST_IMAGES+uint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(uint64_t ptr, RustBuffer namespace+);+#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_CREATE_NAMESPACE#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_FN_METHOD_CYCLOPSCLIENT_CREATE_NAMESPACEuint64_t uniffi_cyclops_sdk_fn_method_cyclopsclient_create_namespace(uint64_t ptr, RustBuffer name@@ -1184,6 +1209,36 @@ uint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_renew_claim(void#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_WAIT_CLAIMuint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim(void+);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_PRESIGN_IMAGE_UPLOADS+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_PRESIGN_IMAGE_UPLOADS+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_IMAGE+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_DELETE_IMAGE+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_GET_IMAGE+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_GET_IMAGE+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image(void++);+#endif+#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_IMAGES+#define UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_LIST_IMAGES+uint16_t uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images(void+);#endif#ifndef UNIFFI_FFIDEF_UNIFFI_CYCLOPS_SDK_CHECKSUM_METHOD_CYCLOPSCLIENT_CREATE_NAMESPACEdiff --git a/libs/fleet/sdk-bindings/ts-uniffi-browser/.cyclops-sdk-generated-files b/libs/fleet/sdk-bindings/ts-uniffi-browser/.cyclops-sdk-generated-filesnew file mode 100644index 0000000000..e7c53afb1a--- /dev/null+++ b/libs/fleet/sdk-bindings/ts-uniffi-browser/.cyclops-sdk-generated-files@@ -0,0 +1,8 @@+d cpp+d ts+f cpp/cyclops_sdk_schema_module.rs+f cpp/fleet_sdk_module.rs+f ts/cyclops_sdk_schema-ffi.ts+f ts/cyclops_sdk_schema.ts+f ts/fleet_sdk-ffi.ts+f ts/fleet_sdk.tsdiff --git a/libs/fleet/sdk-bindings/ts-uniffi-browser/cpp/cyclops_sdk_schema_module.rs b/libs/fleet/sdk-bindings/ts-uniffi-browser/cpp/cyclops_sdk_schema_module.rsindex 81cb13db42..08a114c8c4 100644--- a/libs/fleet/sdk-bindings/ts-uniffi-browser/cpp/cyclops_sdk_schema_module.rs+++ b/libs/fleet/sdk-bindings/ts-uniffi-browser/cpp/cyclops_sdk_schema_module.rs@@ -2,6 +2,146 @@use uniffi_runtime_javascript::{self as js, uniffi as u, IntoJs, IntoRust};use wasm_bindgen::prelude::wasm_bindgen;extern "C" {+ fn uniffi_cyclops_sdk_schema_fn_clone_sandboxservicebuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_free_sandboxservicebuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ );+ fn uniffi_cyclops_sdk_schema_fn_constructor_sandboxservicebuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_name(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_protocol(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_target_port(+ ptr: u64,+ value: u16,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_clone_sandboxtemplaterefbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_free_sandboxtemplaterefbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ );+ fn uniffi_cyclops_sdk_schema_fn_constructor_sandboxtemplaterefbuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_name(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_clone_vmtemplatebuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_free_vmtemplatebuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ );+ fn uniffi_cyclops_sdk_schema_fn_constructor_vmtemplatebuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_command(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_container_disk_image(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_cpu_cores(+ ptr: u64,+ value: u32,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_firmware(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_policy(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_secret(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_memory(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_nested_virtualization(+ ptr: u64,+ value: i8,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_node_selector(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_oidc(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_probes(+ ptr: u64,+ value: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime_class_name(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_services(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_tolerations(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;fn uniffi_cyclops_sdk_schema_fn_clone_preservedjson(handle: u64,status_: &mut u::RustCallStatus,@@ -18,32 +158,145 @@ extern "C" {ptr: u64,status_: &mut u::RustCallStatus,) -> u::RustBuffer;- fn uniffi_cyclops_sdk_schema_fn_method_poolspec_uniffi_trait_eq_eq(- ptr: u::RustBuffer,- other: u::RustBuffer,+ fn uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxtemplatespecbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_free_osgymsandboxtemplatespecbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ );+ fn uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxtemplatespecbuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_vm_template(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxwarmpoolspecbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_free_osgymsandboxwarmpoolspecbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ );+ fn uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxwarmpoolspecbuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_autoscaling(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_replicas(+ ptr: u64,+ value: u32,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created(+ ptr: u64,+ value: u32,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_clone_warmpoolautoscalingbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_free_warmpoolautoscalingbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ );+ fn uniffi_cyclops_sdk_schema_fn_constructor_warmpoolautoscalingbuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_initial_pool_size(+ ptr: u64,+ value: u32,status_: &mut u::RustCallStatus,- ) -> i8;- fn uniffi_cyclops_sdk_schema_fn_method_poolspec_uniffi_trait_eq_ne(- ptr: u::RustBuffer,- other: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_max_pool_size(+ ptr: u64,+ value: u32,status_: &mut u::RustCallStatus,- ) -> i8;- fn uniffi_cyclops_sdk_schema_fn_method_poolspec_uniffi_trait_hash(- ptr: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_min_pool_size(+ ptr: u64,+ value: u32,status_: &mut u::RustCallStatus,) -> u64;+ fn uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_build() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_name() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_protocol() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_target_port() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_build() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_name() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_build() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_command() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_container_disk_image() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_cpu_cores() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_firmware() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_policy() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_secret() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_memory() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_nested_virtualization() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_node_selector() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_oidc() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_probes() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime_class_name() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_services() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_tolerations() -> u16;fn uniffi_cyclops_sdk_schema_checksum_method_preservedjson_to_json() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_build() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_vm_template() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_autoscaling() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_build() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_replicas() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref(+ ) -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created(+ ) -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_build() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_initial_pool_size(+ ) -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_max_pool_size() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_min_pool_size() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_constructor_sandboxservicebuilder_new() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_constructor_sandboxtemplaterefbuilder_new() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_constructor_vmtemplatebuilder_new() -> u16;fn uniffi_cyclops_sdk_schema_checksum_constructor_preservedjson_from_json() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxtemplatespecbuilder_new() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxwarmpoolspecbuilder_new() -> u16;+ fn uniffi_cyclops_sdk_schema_checksum_constructor_warmpoolautoscalingbuilder_new() -> u16;fn ffi_cyclops_sdk_schema_uniffi_contract_version() -> u32;}#[wasm_bindgen]-pub fn ubrn_uniffi_cyclops_sdk_schema_fn_clone_preservedjson(+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_clone_sandboxservicebuilder(handle: js::Handle,f_status_: &mut js::RustCallStatus,) -> js::Handle {let mut u_status_ = u::RustCallStatus::default();let value_ = unsafe {- uniffi_cyclops_sdk_schema_fn_clone_preservedjson(+ uniffi_cyclops_sdk_schema_fn_clone_sandboxservicebuilder(u64::into_rust(handle),&mut u_status_,)@@ -52,13 +305,13 @@ pub fn ubrn_uniffi_cyclops_sdk_schema_fn_clone_preservedjson(value_.into_js()}#[wasm_bindgen]-pub fn ubrn_uniffi_cyclops_sdk_schema_fn_free_preservedjson(+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_free_sandboxservicebuilder(handle: js::Handle,f_status_: &mut js::RustCallStatus,) {let mut u_status_ = u::RustCallStatus::default();unsafe {- uniffi_cyclops_sdk_schema_fn_free_preservedjson(+ uniffi_cyclops_sdk_schema_fn_free_sandboxservicebuilder(u64::into_rust(handle),&mut u_status_,)@@ -66,13 +319,41 @@ pub fn ubrn_uniffi_cyclops_sdk_schema_fn_free_preservedjson(f_status_.copy_from(u_status_);}#[wasm_bindgen]-pub fn ubrn_uniffi_cyclops_sdk_schema_fn_constructor_preservedjson_from_json(+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_constructor_sandboxservicebuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_constructor_sandboxservicebuilder_new(&mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_build(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_build(+ u64::into_rust(ptr),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_name(+ ptr: js::Handle,value: js::ForeignBytes,f_status_: &mut js::RustCallStatus,) -> js::Handle {let mut u_status_ = u::RustCallStatus::default();let value_ = unsafe {- uniffi_cyclops_sdk_schema_fn_constructor_preservedjson_from_json(+ uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_name(+ u64::into_rust(ptr),u::RustBuffer::into_rust(value),&mut u_status_,)@@ -81,14 +362,33 @@ pub fn ubrn_uniffi_cyclops_sdk_schema_fn_constructor_preservedjson_from_json(value_.into_js()}#[wasm_bindgen]-pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_preservedjson_to_json(+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_protocol(ptr: js::Handle,+ value: js::ForeignBytes,f_status_: &mut js::RustCallStatus,-) -> js::ForeignBytes {+) -> js::Handle {let mut u_status_ = u::RustCallStatus::default();let value_ = unsafe {- uniffi_cyclops_sdk_schema_fn_method_preservedjson_to_json(+ uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_protocol(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_target_port(+ ptr: js::Handle,+ value: js::UInt16,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_target_port(u64::into_rust(ptr),+ u16::into_rust(value),&mut u_status_,)};@@ -96,33 +396,54 @@ pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_preservedjson_to_json(value_.into_js()}#[wasm_bindgen]-pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_poolspec_uniffi_trait_eq_eq(- ptr: js::ForeignBytes,- other: js::ForeignBytes,+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_clone_sandboxtemplaterefbuilder(+ handle: js::Handle,f_status_: &mut js::RustCallStatus,-) -> js::Int8 {+) -> js::Handle {let mut u_status_ = u::RustCallStatus::default();let value_ = unsafe {- uniffi_cyclops_sdk_schema_fn_method_poolspec_uniffi_trait_eq_eq(- u::RustBuffer::into_rust(ptr),- u::RustBuffer::into_rust(other),+ uniffi_cyclops_sdk_schema_fn_clone_sandboxtemplaterefbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_free_sandboxtemplaterefbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_schema_fn_free_sandboxtemplaterefbuilder(+ u64::into_rust(handle),&mut u_status_,)};f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_constructor_sandboxtemplaterefbuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_constructor_sandboxtemplaterefbuilder_new(&mut u_status_)+ };+ f_status_.copy_from(u_status_);value_.into_js()}#[wasm_bindgen]-pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_poolspec_uniffi_trait_eq_ne(- ptr: js::ForeignBytes,- other: js::ForeignBytes,+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_build(+ ptr: js::Handle,f_status_: &mut js::RustCallStatus,-) -> js::Int8 {+) -> js::ForeignBytes {let mut u_status_ = u::RustCallStatus::default();let value_ = unsafe {- uniffi_cyclops_sdk_schema_fn_method_poolspec_uniffi_trait_eq_ne(- u::RustBuffer::into_rust(ptr),- u::RustBuffer::into_rust(other),+ uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_build(+ u64::into_rust(ptr),&mut u_status_,)};@@ -130,14 +451,16 @@ pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_poolspec_uniffi_trait_eq_ne(value_.into_js()}#[wasm_bindgen]-pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_poolspec_uniffi_trait_hash(- ptr: js::ForeignBytes,+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_name(+ ptr: js::Handle,+ value: js::ForeignBytes,f_status_: &mut js::RustCallStatus,-) -> js::UInt64 {+) -> js::Handle {let mut u_status_ = u::RustCallStatus::default();let value_ = unsafe {- uniffi_cyclops_sdk_schema_fn_method_poolspec_uniffi_trait_hash(- u::RustBuffer::into_rust(ptr),+ uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_name(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),&mut u_status_,)};@@ -145,12 +468,865 @@ pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_poolspec_uniffi_trait_hash(value_.into_js()}#[wasm_bindgen]-pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_preservedjson_to_json() -> js::UInt16 {- uniffi_cyclops_sdk_schema_checksum_method_preservedjson_to_json().into_js()+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_clone_vmtemplatebuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_clone_vmtemplatebuilder(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()}#[wasm_bindgen]-pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_preservedjson_from_json() -> js::UInt16 {- uniffi_cyclops_sdk_schema_checksum_constructor_preservedjson_from_json().into_js()+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_free_vmtemplatebuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_schema_fn_free_vmtemplatebuilder(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_constructor_vmtemplatebuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { uniffi_cyclops_sdk_schema_fn_constructor_vmtemplatebuilder_new(&mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_build(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_build(+ u64::into_rust(ptr),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_command(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_command(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_container_disk_image(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_container_disk_image(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_cpu_cores(+ ptr: js::Handle,+ value: js::UInt32,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_cpu_cores(+ u64::into_rust(ptr),+ u32::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_firmware(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_firmware(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_policy(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_policy(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_secret(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_secret(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_memory(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_memory(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_nested_virtualization(+ ptr: js::Handle,+ value: js::Int8,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_nested_virtualization(+ u64::into_rust(ptr),+ i8::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_node_selector(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_node_selector(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_oidc(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_oidc(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_probes(+ ptr: js::Handle,+ value: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_probes(+ u64::into_rust(ptr),+ u64::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime_class_name(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime_class_name(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_services(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_services(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_tolerations(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_tolerations(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_clone_preservedjson(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_clone_preservedjson(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_free_preservedjson(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_schema_fn_free_preservedjson(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_constructor_preservedjson_from_json(+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_constructor_preservedjson_from_json(+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_preservedjson_to_json(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_preservedjson_to_json(+ u64::into_rust(ptr),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxtemplatespecbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxtemplatespecbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_free_osgymsandboxtemplatespecbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_schema_fn_free_osgymsandboxtemplatespecbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxtemplatespecbuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxtemplatespecbuilder_new(&mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_build(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_build(+ u64::into_rust(ptr),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_vm_template(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_vm_template(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxwarmpoolspecbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxwarmpoolspecbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_free_osgymsandboxwarmpoolspecbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_schema_fn_free_osgymsandboxwarmpoolspecbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxwarmpoolspecbuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxwarmpoolspecbuilder_new(&mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_autoscaling(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_autoscaling(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_build(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_build(+ u64::into_rust(ptr),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_replicas(+ ptr: js::Handle,+ value: js::UInt32,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_replicas(+ u64::into_rust(ptr),+ u32::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created(+ ptr: js::Handle,+ value: js::UInt32,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created (u64 :: into_rust (ptr) , u32 :: into_rust (value) , & mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_clone_warmpoolautoscalingbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_clone_warmpoolautoscalingbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_free_warmpoolautoscalingbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_schema_fn_free_warmpoolautoscalingbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_constructor_warmpoolautoscalingbuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_constructor_warmpoolautoscalingbuilder_new(&mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_build(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_build(+ u64::into_rust(ptr),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_initial_pool_size(+ ptr: js::Handle,+ value: js::UInt32,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_initial_pool_size(+ u64::into_rust(ptr),+ u32::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_max_pool_size(+ ptr: js::Handle,+ value: js::UInt32,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_max_pool_size(+ u64::into_rust(ptr),+ u32::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_min_pool_size(+ ptr: js::Handle,+ value: js::UInt32,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_min_pool_size(+ u64::into_rust(ptr),+ u32::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_build(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_name(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_name().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_protocol(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_protocol().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_target_port(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_target_port().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_build(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_name(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_name().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_build() -> js::UInt16+{+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_command(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_command().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_container_disk_image(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_container_disk_image().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_cpu_cores(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_cpu_cores().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_firmware(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_firmware().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_policy(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_policy().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_secret(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_secret().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_memory() -> js::UInt16+{+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_memory().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_nested_virtualization(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_nested_virtualization().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_node_selector(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_node_selector().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_oidc() -> js::UInt16+{+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_oidc().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_probes() -> js::UInt16+{+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_probes().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime_class_name(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime_class_name().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_services(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_services().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_tolerations(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_tolerations().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_preservedjson_to_json() -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_preservedjson_to_json().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_build(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_vm_template(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_vm_template()+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_autoscaling(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_autoscaling()+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_build(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_replicas(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_replicas().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref()+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created () . into_js ()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_build(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_initial_pool_size(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_initial_pool_size()+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_max_pool_size(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_max_pool_size().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_min_pool_size(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_min_pool_size().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_sandboxservicebuilder_new(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_constructor_sandboxservicebuilder_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_sandboxtemplaterefbuilder_new(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_constructor_sandboxtemplaterefbuilder_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_vmtemplatebuilder_new(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_constructor_vmtemplatebuilder_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_preservedjson_from_json(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_constructor_preservedjson_from_json().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxtemplatespecbuilder_new(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxtemplatespecbuilder_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxwarmpoolspecbuilder_new(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxwarmpoolspecbuilder_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_warmpoolautoscalingbuilder_new(+) -> js::UInt16 {+ uniffi_cyclops_sdk_schema_checksum_constructor_warmpoolautoscalingbuilder_new().into_js()}#[wasm_bindgen]pub unsafe fn ubrn_ffi_cyclops_sdk_schema_uniffi_contract_version() -> js::UInt32 {diff --git a/libs/fleet/sdk-bindings/ts-uniffi-browser/cpp/fleet_sdk_module.rs b/libs/fleet/sdk-bindings/ts-uniffi-browser/cpp/fleet_sdk_module.rsnew file mode 100644index 0000000000..d8db0787f9--- /dev/null+++ b/libs/fleet/sdk-bindings/ts-uniffi-browser/cpp/fleet_sdk_module.rs@@ -0,0 +1,4247 @@+#[allow(unused_imports)]+use uniffi_runtime_javascript::{self as js, uniffi as u, IntoJs, IntoRust};+use wasm_bindgen::prelude::wasm_bindgen;+extern "C" {+ fn uniffi_cyclops_sdk_fn_clone_cyclopsclient(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_free_cyclopsclient(handle: u64, status_: &mut u::RustCallStatus);+ fn uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect(+ configuration: u::RustBuffer,+ http_client: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_browser_with_access_token(+ configuration: u::RustBuffer,+ access_token: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token(+ configuration: u::RustBuffer,+ access_token: u::RustBuffer,+ http_client: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_and_native_http_client(+ configuration: u::RustBuffer,+ access_token: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_provider(+ configuration: u::RustBuffer,+ token_provider: u64,+ http_client: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client(+ configuration: u::RustBuffer,+ token_provider: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_native_http_client(+ configuration: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_create_claim(+ ptr: u64,+ request: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_claim(+ ptr: u64,+ claim: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_get_claim(ptr: u64, claim: u::RustBuffer) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_list_claims(+ ptr: u64,+ namespace: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_renew_claim(+ ptr: u64,+ claim: u::RustBuffer,+ shutdown_time: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_wait_claim(ptr: u64, claim: u::RustBuffer)+ -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(+ ptr: u64,+ request: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(+ ptr: u64,+ namespace: u::RustBuffer,+ manifest: u64,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(+ ptr: u64,+ namespace: u::RustBuffer,+ name: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(+ ptr: u64,+ namespace: u::RustBuffer,+ name: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(+ ptr: u64,+ namespace: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_create_namespace(+ ptr: u64,+ name: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_namespace(+ ptr: u64,+ name: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_get_namespace(+ ptr: u64,+ name: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_list_namespaces(ptr: u64) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_create_pool(+ ptr: u64,+ request: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_pool(ptr: u64, pool: u::RustBuffer)+ -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_get_pool(ptr: u64, name: u::RustBuffer) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_list_pools(+ ptr: u64,+ namespace: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_pool(+ ptr: u64,+ request: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_update_pool(ptr: u64, pool: u::RustBuffer)+ -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_service_request(+ ptr: u64,+ sandbox: u::RustBuffer,+ service: u::RustBuffer,+ path: u::RustBuffer,+ request: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_create_signed_service_url(+ ptr: u64,+ request: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_list_signed_service_urls(+ ptr: u64,+ sandbox: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_revoke_signed_service_url(+ ptr: u64,+ signed_service_url: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_create_template(+ ptr: u64,+ request: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_template(+ ptr: u64,+ template: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_get_template(+ ptr: u64,+ namespace: u::RustBuffer,+ name: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_list_templates(+ ptr: u64,+ namespace: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_template(+ ptr: u64,+ request: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_update_template(+ ptr: u64,+ template: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_create_user_api_key(+ ptr: u64,+ request: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_user_api_key(+ ptr: u64,+ id: u::RustBuffer,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopsclient_list_user_api_keys(ptr: u64) -> u64;+ fn uniffi_cyclops_sdk_fn_clone_accesstokenprovider(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_free_accesstokenprovider(handle: u64, status_: &mut u::RustCallStatus);+ fn uniffi_cyclops_sdk_fn_init_callback_vtable_accesstokenprovider(+ vtable: std::ptr::NonNull<v_table_callback_interface_access_token_provider::VTableRs>,+ );+ fn uniffi_cyclops_sdk_fn_method_accesstokenprovider_get_access_token(+ ptr: u64,+ force_refresh: i8,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_clone_httpclient(handle: u64, status_: &mut u::RustCallStatus) -> u64;+ fn uniffi_cyclops_sdk_fn_free_httpclient(handle: u64, status_: &mut u::RustCallStatus);+ fn uniffi_cyclops_sdk_fn_init_callback_vtable_httpclient(+ vtable: std::ptr::NonNull<v_table_callback_interface_http_client::VTableRs>,+ );+ fn uniffi_cyclops_sdk_fn_method_httpclient_execute(ptr: u64, request: u::RustBuffer) -> u64;+ fn uniffi_cyclops_sdk_fn_clone_createclaimrequestbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_free_createclaimrequestbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ );+ fn uniffi_cyclops_sdk_fn_constructor_createclaimrequestbuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_name(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_pool(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_spec(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_clone_createpoolrequestbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_free_createpoolrequestbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ );+ fn uniffi_cyclops_sdk_fn_constructor_createpoolrequestbuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_namespace(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_spec(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_clone_createsignedserviceurlrequestbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_free_createsignedserviceurlrequestbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ );+ fn uniffi_cyclops_sdk_fn_constructor_createsignedserviceurlrequestbuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_expires_in_seconds(+ ptr: u64,+ value: u32,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_label(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_sandbox(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_service(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_clone_createtemplaterequestbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_free_createtemplaterequestbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ );+ fn uniffi_cyclops_sdk_fn_constructor_createtemplaterequestbuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_name(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_namespace(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_spec(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_clone_createuserapikeyrequestbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_free_createuserapikeyrequestbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ );+ fn uniffi_cyclops_sdk_fn_constructor_createuserapikeyrequestbuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_name(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_scope(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_clone_cyclopscredentials(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_free_cyclopscredentials(handle: u64, status_: &mut u::RustCallStatus);+ fn uniffi_cyclops_sdk_fn_constructor_cyclopscredentials_new(+ client_id: u::RustBuffer,+ client_secret: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_clone_cyclopstokenproviderconfigurationbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_free_cyclopstokenproviderconfigurationbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ );+ fn uniffi_cyclops_sdk_fn_constructor_cyclopstokenproviderconfigurationbuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_base_url(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms(+ ptr: u64,+ value: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit(+ ptr: u64,+ value: u32,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms(+ ptr: u64,+ value: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit(+ ptr: u64,+ value: u32,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_clone_httprequestbuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_free_httprequestbuilder(handle: u64, status_: &mut u::RustCallStatus);+ fn uniffi_cyclops_sdk_fn_constructor_httprequestbuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_httprequestbuilder_body(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_httprequestbuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_fn_method_httprequestbuilder_headers(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_httprequestbuilder_max_response_bytes(+ ptr: u64,+ value: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_httprequestbuilder_method(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_httprequestbuilder_timeout_secs(+ ptr: u64,+ value: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_httprequestbuilder_url(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_clone_templatebuilder(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_free_templatebuilder(handle: u64, status_: &mut u::RustCallStatus);+ fn uniffi_cyclops_sdk_fn_constructor_templatebuilder_new(+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_templatebuilder_api_version(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_templatebuilder_build(+ ptr: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_fn_method_templatebuilder_kind(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_templatebuilder_metadata(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_method_templatebuilder_spec(+ ptr: u64,+ value: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn uniffi_cyclops_sdk_fn_func_healthy_pool_display_status(+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_fn_func_pool_display_status(+ pool: u::RustBuffer,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_fn_func_removed_pool_display_status(+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_fn_func_terminating_pool_display_status(+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn uniffi_cyclops_sdk_fn_func_unknown_pool_display_status(+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn ffi_cyclops_sdk_rust_future_poll_u8(+ handle: u64,+ callback: rust_future_continuation_callback::FnSig,+ callback_data: u64,+ );+ fn ffi_cyclops_sdk_rust_future_cancel_u8(handle: u64);+ fn ffi_cyclops_sdk_rust_future_free_u8(handle: u64);+ fn ffi_cyclops_sdk_rust_future_complete_u8(handle: u64, status_: &mut u::RustCallStatus) -> u8;+ fn ffi_cyclops_sdk_rust_future_poll_i8(+ handle: u64,+ callback: rust_future_continuation_callback::FnSig,+ callback_data: u64,+ );+ fn ffi_cyclops_sdk_rust_future_cancel_i8(handle: u64);+ fn ffi_cyclops_sdk_rust_future_free_i8(handle: u64);+ fn ffi_cyclops_sdk_rust_future_complete_i8(handle: u64, status_: &mut u::RustCallStatus) -> i8;+ fn ffi_cyclops_sdk_rust_future_poll_u16(+ handle: u64,+ callback: rust_future_continuation_callback::FnSig,+ callback_data: u64,+ );+ fn ffi_cyclops_sdk_rust_future_cancel_u16(handle: u64);+ fn ffi_cyclops_sdk_rust_future_free_u16(handle: u64);+ fn ffi_cyclops_sdk_rust_future_complete_u16(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u16;+ fn ffi_cyclops_sdk_rust_future_poll_i16(+ handle: u64,+ callback: rust_future_continuation_callback::FnSig,+ callback_data: u64,+ );+ fn ffi_cyclops_sdk_rust_future_cancel_i16(handle: u64);+ fn ffi_cyclops_sdk_rust_future_free_i16(handle: u64);+ fn ffi_cyclops_sdk_rust_future_complete_i16(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> i16;+ fn ffi_cyclops_sdk_rust_future_poll_u32(+ handle: u64,+ callback: rust_future_continuation_callback::FnSig,+ callback_data: u64,+ );+ fn ffi_cyclops_sdk_rust_future_cancel_u32(handle: u64);+ fn ffi_cyclops_sdk_rust_future_free_u32(handle: u64);+ fn ffi_cyclops_sdk_rust_future_complete_u32(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u32;+ fn ffi_cyclops_sdk_rust_future_poll_i32(+ handle: u64,+ callback: rust_future_continuation_callback::FnSig,+ callback_data: u64,+ );+ fn ffi_cyclops_sdk_rust_future_cancel_i32(handle: u64);+ fn ffi_cyclops_sdk_rust_future_free_i32(handle: u64);+ fn ffi_cyclops_sdk_rust_future_complete_i32(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> i32;+ fn ffi_cyclops_sdk_rust_future_poll_u64(+ handle: u64,+ callback: rust_future_continuation_callback::FnSig,+ callback_data: u64,+ );+ fn ffi_cyclops_sdk_rust_future_cancel_u64(handle: u64);+ fn ffi_cyclops_sdk_rust_future_free_u64(handle: u64);+ fn ffi_cyclops_sdk_rust_future_complete_u64(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u64;+ fn ffi_cyclops_sdk_rust_future_poll_i64(+ handle: u64,+ callback: rust_future_continuation_callback::FnSig,+ callback_data: u64,+ );+ fn ffi_cyclops_sdk_rust_future_cancel_i64(handle: u64);+ fn ffi_cyclops_sdk_rust_future_free_i64(handle: u64);+ fn ffi_cyclops_sdk_rust_future_complete_i64(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> i64;+ fn ffi_cyclops_sdk_rust_future_poll_f32(+ handle: u64,+ callback: rust_future_continuation_callback::FnSig,+ callback_data: u64,+ );+ fn ffi_cyclops_sdk_rust_future_cancel_f32(handle: u64);+ fn ffi_cyclops_sdk_rust_future_free_f32(handle: u64);+ fn ffi_cyclops_sdk_rust_future_complete_f32(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> f32;+ fn ffi_cyclops_sdk_rust_future_poll_f64(+ handle: u64,+ callback: rust_future_continuation_callback::FnSig,+ callback_data: u64,+ );+ fn ffi_cyclops_sdk_rust_future_cancel_f64(handle: u64);+ fn ffi_cyclops_sdk_rust_future_free_f64(handle: u64);+ fn ffi_cyclops_sdk_rust_future_complete_f64(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> f64;+ fn ffi_cyclops_sdk_rust_future_poll_rust_buffer(+ handle: u64,+ callback: rust_future_continuation_callback::FnSig,+ callback_data: u64,+ );+ fn ffi_cyclops_sdk_rust_future_cancel_rust_buffer(handle: u64);+ fn ffi_cyclops_sdk_rust_future_free_rust_buffer(handle: u64);+ fn ffi_cyclops_sdk_rust_future_complete_rust_buffer(+ handle: u64,+ status_: &mut u::RustCallStatus,+ ) -> u::RustBuffer;+ fn ffi_cyclops_sdk_rust_future_poll_void(+ handle: u64,+ callback: rust_future_continuation_callback::FnSig,+ callback_data: u64,+ );+ fn ffi_cyclops_sdk_rust_future_cancel_void(handle: u64);+ fn ffi_cyclops_sdk_rust_future_free_void(handle: u64);+ fn ffi_cyclops_sdk_rust_future_complete_void(handle: u64, status_: &mut u::RustCallStatus);+ fn uniffi_cyclops_sdk_checksum_func_healthy_pool_display_status() -> u16;+ fn uniffi_cyclops_sdk_checksum_func_pool_display_status() -> u16;+ fn uniffi_cyclops_sdk_checksum_func_removed_pool_display_status() -> u16;+ fn uniffi_cyclops_sdk_checksum_func_terminating_pool_display_status() -> u16;+ fn uniffi_cyclops_sdk_checksum_func_unknown_pool_display_status() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_renew_claim() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_pool() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_pool() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_pool() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_pools() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_pool() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_service_request() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_signed_service_url() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_signed_service_urls() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_revoke_signed_service_url() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_template() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_template() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_template() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_templates() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_template() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_template() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_user_api_key() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_user_api_key() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_accesstokenprovider_get_access_token() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_httpclient_execute() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_build() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_name() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_pool() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_spec() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_build() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_namespace() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_spec() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_build() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_expires_in_seconds(+ ) -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_label() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_sandbox() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_service() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_build() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_name() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_namespace() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_spec() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_build() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_name() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_scope() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_base_url() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_build() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms(+ ) -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit(+ ) -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms(+ ) -> u16;+ fn uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit(+ ) -> u16;+ fn uniffi_cyclops_sdk_checksum_method_httprequestbuilder_body() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_httprequestbuilder_build() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_httprequestbuilder_headers() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_httprequestbuilder_max_response_bytes() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_httprequestbuilder_method() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_httprequestbuilder_timeout_secs() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_httprequestbuilder_url() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_templatebuilder_api_version() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_templatebuilder_build() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_templatebuilder_kind() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_templatebuilder_metadata() -> u16;+ fn uniffi_cyclops_sdk_checksum_method_templatebuilder_spec() -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect() -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_browser_with_access_token(+ ) -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token() -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_and_native_http_client(+ ) -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider(+ ) -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client(+ ) -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_native_http_client() -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_createclaimrequestbuilder_new() -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_createpoolrequestbuilder_new() -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_createsignedserviceurlrequestbuilder_new() -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_createtemplaterequestbuilder_new() -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_createuserapikeyrequestbuilder_new() -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_cyclopscredentials_new() -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_cyclopstokenproviderconfigurationbuilder_new() -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_httprequestbuilder_new() -> u16;+ fn uniffi_cyclops_sdk_checksum_constructor_templatebuilder_new() -> u16;+ fn ffi_cyclops_sdk_uniffi_contract_version() -> u32;+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_clone_cyclopsclient(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_clone_cyclopsclient(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_free_cyclopsclient(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe { uniffi_cyclops_sdk_fn_free_cyclopsclient(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect(+ configuration: js::ForeignBytes,+ http_client: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect(+ u::RustBuffer::into_rust(configuration),+ u64::into_rust(http_client),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_browser_with_access_token(+ configuration: js::ForeignBytes,+ access_token: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_browser_with_access_token(+ u::RustBuffer::into_rust(configuration),+ u::RustBuffer::into_rust(access_token),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token(+ configuration: js::ForeignBytes,+ access_token: js::ForeignBytes,+ http_client: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token(+ u::RustBuffer::into_rust(configuration),+ u::RustBuffer::into_rust(access_token),+ u64::into_rust(http_client),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_and_native_http_client(+ configuration: js::ForeignBytes,+ access_token: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_and_native_http_client (u :: RustBuffer :: into_rust (configuration) , u :: RustBuffer :: into_rust (access_token) , & mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_provider(+ configuration: js::ForeignBytes,+ token_provider: js::Handle,+ http_client: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_provider(+ u::RustBuffer::into_rust(configuration),+ u64::into_rust(token_provider),+ u64::into_rust(http_client),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client(+ configuration: js::ForeignBytes,+ token_provider: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client (u :: RustBuffer :: into_rust (configuration) , u64 :: into_rust (token_provider) , & mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_native_http_client(+ configuration: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_native_http_client(+ u::RustBuffer::into_rust(configuration),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_claim(+ ptr: js::Handle,+ request: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_create_claim(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(request),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_claim(+ ptr: js::Handle,+ claim: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_claim(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(claim),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_claim(+ ptr: js::Handle,+ claim: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_get_claim(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(claim),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_claims(+ ptr: js::Handle,+ namespace: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_list_claims(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(namespace),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_renew_claim(+ ptr: js::Handle,+ claim: js::ForeignBytes,+ shutdown_time: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_renew_claim(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(claim),+ u::RustBuffer::into_rust(shutdown_time),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_wait_claim(+ ptr: js::Handle,+ claim: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_wait_claim(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(claim),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(+ ptr: js::Handle,+ request: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(request),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(+ ptr: js::Handle,+ namespace: js::ForeignBytes,+ manifest: js::Handle,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(namespace),+ u64::into_rust(manifest),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(+ ptr: js::Handle,+ namespace: js::ForeignBytes,+ name: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(namespace),+ u::RustBuffer::into_rust(name),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(+ ptr: js::Handle,+ namespace: js::ForeignBytes,+ name: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(namespace),+ u::RustBuffer::into_rust(name),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(+ ptr: js::Handle,+ namespace: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(namespace),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_namespace(+ ptr: js::Handle,+ name: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_create_namespace(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(name),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_namespace(+ ptr: js::Handle,+ name: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_namespace(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(name),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_namespace(+ ptr: js::Handle,+ name: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_get_namespace(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(name),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_namespaces(+ ptr: js::Handle,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_list_namespaces(u64::into_rust(ptr)).into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_pool(+ ptr: js::Handle,+ request: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_create_pool(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(request),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_pool(+ ptr: js::Handle,+ pool: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_pool(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(pool),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_pool(+ ptr: js::Handle,+ name: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_get_pool(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(name),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_pools(+ ptr: js::Handle,+ namespace: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_list_pools(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(namespace),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_pool(+ ptr: js::Handle,+ request: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_pool(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(request),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_update_pool(+ ptr: js::Handle,+ pool: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_update_pool(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(pool),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_service_request(+ ptr: js::Handle,+ sandbox: js::ForeignBytes,+ service: js::ForeignBytes,+ path: js::ForeignBytes,+ request: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_service_request(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(sandbox),+ u::RustBuffer::into_rust(service),+ u::RustBuffer::into_rust(path),+ u::RustBuffer::into_rust(request),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_signed_service_url(+ ptr: js::Handle,+ request: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_create_signed_service_url(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(request),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_signed_service_urls(+ ptr: js::Handle,+ sandbox: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_list_signed_service_urls(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(sandbox),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_revoke_signed_service_url(+ ptr: js::Handle,+ signed_service_url: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_revoke_signed_service_url(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(signed_service_url),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_template(+ ptr: js::Handle,+ request: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_create_template(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(request),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_template(+ ptr: js::Handle,+ template: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_template(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(template),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_template(+ ptr: js::Handle,+ namespace: js::ForeignBytes,+ name: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_get_template(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(namespace),+ u::RustBuffer::into_rust(name),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_templates(+ ptr: js::Handle,+ namespace: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_list_templates(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(namespace),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_template(+ ptr: js::Handle,+ request: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_template(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(request),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_update_template(+ ptr: js::Handle,+ template: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_update_template(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(template),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_user_api_key(+ ptr: js::Handle,+ request: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_create_user_api_key(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(request),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_user_api_key(+ ptr: js::Handle,+ id: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_user_api_key(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(id),+ )+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_user_api_keys(+ ptr: js::Handle,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_cyclopsclient_list_user_api_keys(u64::into_rust(ptr)).into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_clone_accesstokenprovider(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_clone_accesstokenprovider(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_free_accesstokenprovider(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_fn_free_accesstokenprovider(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_init_callback_vtable_accesstokenprovider(+ vtable: v_table_callback_interface_access_token_provider::VTableJs,+) {+ uniffi_cyclops_sdk_fn_init_callback_vtable_accesstokenprovider(std::ptr::NonNull::<+ v_table_callback_interface_access_token_provider::VTableRs,+ >::into_rust(vtable));+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_accesstokenprovider_get_access_token(+ ptr: js::Handle,+ force_refresh: js::Int8,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_accesstokenprovider_get_access_token(+ u64::into_rust(ptr),+ i8::into_rust(force_refresh),+ )+ .into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_clone_httpclient(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { uniffi_cyclops_sdk_fn_clone_httpclient(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_free_httpclient(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe { uniffi_cyclops_sdk_fn_free_httpclient(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_init_callback_vtable_httpclient(+ vtable: v_table_callback_interface_http_client::VTableJs,+) {+ uniffi_cyclops_sdk_fn_init_callback_vtable_httpclient(std::ptr::NonNull::<+ v_table_callback_interface_http_client::VTableRs,+ >::into_rust(vtable));+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_fn_method_httpclient_execute(+ ptr: js::Handle,+ request: js::ForeignBytes,+) -> js::Handle {+ uniffi_cyclops_sdk_fn_method_httpclient_execute(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(request),+ )+ .into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_clone_createclaimrequestbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_clone_createclaimrequestbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_free_createclaimrequestbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_fn_free_createclaimrequestbuilder(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_createclaimrequestbuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { uniffi_cyclops_sdk_fn_constructor_createclaimrequestbuilder_new(&mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_build(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_build(+ u64::into_rust(ptr),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_name(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_name(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_pool(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_pool(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_spec(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_spec(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_clone_createpoolrequestbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_clone_createpoolrequestbuilder(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_free_createpoolrequestbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_fn_free_createpoolrequestbuilder(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_createpoolrequestbuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { uniffi_cyclops_sdk_fn_constructor_createpoolrequestbuilder_new(&mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_build(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_build(+ u64::into_rust(ptr),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_namespace(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_namespace(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_spec(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_spec(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_clone_createsignedserviceurlrequestbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_clone_createsignedserviceurlrequestbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_free_createsignedserviceurlrequestbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_fn_free_createsignedserviceurlrequestbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_createsignedserviceurlrequestbuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_constructor_createsignedserviceurlrequestbuilder_new(&mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_build(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_build(+ u64::into_rust(ptr),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_expires_in_seconds(+ ptr: js::Handle,+ value: js::UInt32,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_expires_in_seconds(+ u64::into_rust(ptr),+ u32::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_label(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_label(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_sandbox(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_sandbox(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_service(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_service(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_clone_createtemplaterequestbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_clone_createtemplaterequestbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_free_createtemplaterequestbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_fn_free_createtemplaterequestbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_createtemplaterequestbuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_constructor_createtemplaterequestbuilder_new(&mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_build(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_build(+ u64::into_rust(ptr),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_name(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_name(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_namespace(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_namespace(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_spec(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_spec(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_clone_createuserapikeyrequestbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_clone_createuserapikeyrequestbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_free_createuserapikeyrequestbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_fn_free_createuserapikeyrequestbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_createuserapikeyrequestbuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_constructor_createuserapikeyrequestbuilder_new(&mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_build(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_build(+ u64::into_rust(ptr),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_name(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_name(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_scope(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_scope(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_clone_cyclopscredentials(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_clone_cyclopscredentials(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_free_cyclopscredentials(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_fn_free_cyclopscredentials(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopscredentials_new(+ client_id: js::ForeignBytes,+ client_secret: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_constructor_cyclopscredentials_new(+ u::RustBuffer::into_rust(client_id),+ u::RustBuffer::into_rust(client_secret),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_clone_cyclopstokenproviderconfigurationbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_clone_cyclopstokenproviderconfigurationbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_free_cyclopstokenproviderconfigurationbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_fn_free_cyclopstokenproviderconfigurationbuilder(+ u64::into_rust(handle),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopstokenproviderconfigurationbuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_constructor_cyclopstokenproviderconfigurationbuilder_new(+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_base_url(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_base_url(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_build(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_build(+ u64::into_rust(ptr),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms(+ ptr: js::Handle,+ value: js::UInt64,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms(+ u64::into_rust(ptr),+ u64::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit(+ ptr: js::Handle,+ value: js::UInt32,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit(+ u64::into_rust(ptr),+ u32::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms(+ ptr: js::Handle,+ value: js::UInt64,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms(+ u64::into_rust(ptr),+ u64::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit(+ ptr: js::Handle,+ value: js::UInt32,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit(+ u64::into_rust(ptr),+ u32::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_clone_httprequestbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_clone_httprequestbuilder(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_free_httprequestbuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe {+ uniffi_cyclops_sdk_fn_free_httprequestbuilder(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_httprequestbuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { uniffi_cyclops_sdk_fn_constructor_httprequestbuilder_new(&mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_body(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_body(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_build(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_build(u64::into_rust(ptr), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_headers(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_headers(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_max_response_bytes(+ ptr: js::Handle,+ value: js::UInt64,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_max_response_bytes(+ u64::into_rust(ptr),+ u64::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_method(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_method(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_timeout_secs(+ ptr: js::Handle,+ value: js::UInt64,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_timeout_secs(+ u64::into_rust(ptr),+ u64::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_url(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_url(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_clone_templatebuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_clone_templatebuilder(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_free_templatebuilder(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe { uniffi_cyclops_sdk_fn_free_templatebuilder(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_constructor_templatebuilder_new(+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe { uniffi_cyclops_sdk_fn_constructor_templatebuilder_new(&mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_api_version(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_templatebuilder_api_version(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_build(+ ptr: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_templatebuilder_build(u64::into_rust(ptr), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_kind(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_templatebuilder_kind(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_metadata(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_templatebuilder_metadata(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_spec(+ ptr: js::Handle,+ value: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::Handle {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_method_templatebuilder_spec(+ u64::into_rust(ptr),+ u::RustBuffer::into_rust(value),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_func_healthy_pool_display_status(+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe { uniffi_cyclops_sdk_fn_func_healthy_pool_display_status(&mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_func_pool_display_status(+ pool: js::ForeignBytes,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ uniffi_cyclops_sdk_fn_func_pool_display_status(+ u::RustBuffer::into_rust(pool),+ &mut u_status_,+ )+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_func_removed_pool_display_status(+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe { uniffi_cyclops_sdk_fn_func_removed_pool_display_status(&mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_func_terminating_pool_display_status(+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { uniffi_cyclops_sdk_fn_func_terminating_pool_display_status(&mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub fn ubrn_uniffi_cyclops_sdk_fn_func_unknown_pool_display_status(+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe { uniffi_cyclops_sdk_fn_func_unknown_pool_display_status(&mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_poll_u8(+ handle: js::Handle,+ callback: rust_future_continuation_callback::JsCallbackFnRustFutureContinuationCallback,+ callback_data: js::Handle,+) {+ ffi_cyclops_sdk_rust_future_poll_u8(+ u64::into_rust(handle),+ rust_future_continuation_callback::FnSig::into_rust(callback),+ u64::into_rust(callback_data),+ );+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_cancel_u8(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_cancel_u8(u64::into_rust(handle));+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_free_u8(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_free_u8(u64::into_rust(handle));+}+#[wasm_bindgen]+pub fn ubrn_ffi_cyclops_sdk_rust_future_complete_u8(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::UInt8 {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { ffi_cyclops_sdk_rust_future_complete_u8(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_poll_i8(+ handle: js::Handle,+ callback: rust_future_continuation_callback::JsCallbackFnRustFutureContinuationCallback,+ callback_data: js::Handle,+) {+ ffi_cyclops_sdk_rust_future_poll_i8(+ u64::into_rust(handle),+ rust_future_continuation_callback::FnSig::into_rust(callback),+ u64::into_rust(callback_data),+ );+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_cancel_i8(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_cancel_i8(u64::into_rust(handle));+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_free_i8(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_free_i8(u64::into_rust(handle));+}+#[wasm_bindgen]+pub fn ubrn_ffi_cyclops_sdk_rust_future_complete_i8(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Int8 {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { ffi_cyclops_sdk_rust_future_complete_i8(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_poll_u16(+ handle: js::Handle,+ callback: rust_future_continuation_callback::JsCallbackFnRustFutureContinuationCallback,+ callback_data: js::Handle,+) {+ ffi_cyclops_sdk_rust_future_poll_u16(+ u64::into_rust(handle),+ rust_future_continuation_callback::FnSig::into_rust(callback),+ u64::into_rust(callback_data),+ );+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_cancel_u16(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_cancel_u16(u64::into_rust(handle));+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_free_u16(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_free_u16(u64::into_rust(handle));+}+#[wasm_bindgen]+pub fn ubrn_ffi_cyclops_sdk_rust_future_complete_u16(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::UInt16 {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { ffi_cyclops_sdk_rust_future_complete_u16(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_poll_i16(+ handle: js::Handle,+ callback: rust_future_continuation_callback::JsCallbackFnRustFutureContinuationCallback,+ callback_data: js::Handle,+) {+ ffi_cyclops_sdk_rust_future_poll_i16(+ u64::into_rust(handle),+ rust_future_continuation_callback::FnSig::into_rust(callback),+ u64::into_rust(callback_data),+ );+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_cancel_i16(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_cancel_i16(u64::into_rust(handle));+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_free_i16(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_free_i16(u64::into_rust(handle));+}+#[wasm_bindgen]+pub fn ubrn_ffi_cyclops_sdk_rust_future_complete_i16(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Int16 {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { ffi_cyclops_sdk_rust_future_complete_i16(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_poll_u32(+ handle: js::Handle,+ callback: rust_future_continuation_callback::JsCallbackFnRustFutureContinuationCallback,+ callback_data: js::Handle,+) {+ ffi_cyclops_sdk_rust_future_poll_u32(+ u64::into_rust(handle),+ rust_future_continuation_callback::FnSig::into_rust(callback),+ u64::into_rust(callback_data),+ );+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_cancel_u32(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_cancel_u32(u64::into_rust(handle));+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_free_u32(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_free_u32(u64::into_rust(handle));+}+#[wasm_bindgen]+pub fn ubrn_ffi_cyclops_sdk_rust_future_complete_u32(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::UInt32 {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { ffi_cyclops_sdk_rust_future_complete_u32(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_poll_i32(+ handle: js::Handle,+ callback: rust_future_continuation_callback::JsCallbackFnRustFutureContinuationCallback,+ callback_data: js::Handle,+) {+ ffi_cyclops_sdk_rust_future_poll_i32(+ u64::into_rust(handle),+ rust_future_continuation_callback::FnSig::into_rust(callback),+ u64::into_rust(callback_data),+ );+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_cancel_i32(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_cancel_i32(u64::into_rust(handle));+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_free_i32(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_free_i32(u64::into_rust(handle));+}+#[wasm_bindgen]+pub fn ubrn_ffi_cyclops_sdk_rust_future_complete_i32(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Int32 {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { ffi_cyclops_sdk_rust_future_complete_i32(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_poll_u64(+ handle: js::Handle,+ callback: rust_future_continuation_callback::JsCallbackFnRustFutureContinuationCallback,+ callback_data: js::Handle,+) {+ ffi_cyclops_sdk_rust_future_poll_u64(+ u64::into_rust(handle),+ rust_future_continuation_callback::FnSig::into_rust(callback),+ u64::into_rust(callback_data),+ );+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_cancel_u64(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_cancel_u64(u64::into_rust(handle));+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_free_u64(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_free_u64(u64::into_rust(handle));+}+#[wasm_bindgen]+pub fn ubrn_ffi_cyclops_sdk_rust_future_complete_u64(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::UInt64 {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { ffi_cyclops_sdk_rust_future_complete_u64(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_poll_i64(+ handle: js::Handle,+ callback: rust_future_continuation_callback::JsCallbackFnRustFutureContinuationCallback,+ callback_data: js::Handle,+) {+ ffi_cyclops_sdk_rust_future_poll_i64(+ u64::into_rust(handle),+ rust_future_continuation_callback::FnSig::into_rust(callback),+ u64::into_rust(callback_data),+ );+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_cancel_i64(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_cancel_i64(u64::into_rust(handle));+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_free_i64(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_free_i64(u64::into_rust(handle));+}+#[wasm_bindgen]+pub fn ubrn_ffi_cyclops_sdk_rust_future_complete_i64(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Int64 {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { ffi_cyclops_sdk_rust_future_complete_i64(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_poll_f32(+ handle: js::Handle,+ callback: rust_future_continuation_callback::JsCallbackFnRustFutureContinuationCallback,+ callback_data: js::Handle,+) {+ ffi_cyclops_sdk_rust_future_poll_f32(+ u64::into_rust(handle),+ rust_future_continuation_callback::FnSig::into_rust(callback),+ u64::into_rust(callback_data),+ );+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_cancel_f32(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_cancel_f32(u64::into_rust(handle));+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_free_f32(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_free_f32(u64::into_rust(handle));+}+#[wasm_bindgen]+pub fn ubrn_ffi_cyclops_sdk_rust_future_complete_f32(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Float32 {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { ffi_cyclops_sdk_rust_future_complete_f32(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_poll_f64(+ handle: js::Handle,+ callback: rust_future_continuation_callback::JsCallbackFnRustFutureContinuationCallback,+ callback_data: js::Handle,+) {+ ffi_cyclops_sdk_rust_future_poll_f64(+ u64::into_rust(handle),+ rust_future_continuation_callback::FnSig::into_rust(callback),+ u64::into_rust(callback_data),+ );+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_cancel_f64(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_cancel_f64(u64::into_rust(handle));+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_free_f64(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_free_f64(u64::into_rust(handle));+}+#[wasm_bindgen]+pub fn ubrn_ffi_cyclops_sdk_rust_future_complete_f64(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::Float64 {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ =+ unsafe { ffi_cyclops_sdk_rust_future_complete_f64(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer(+ handle: js::Handle,+ callback: rust_future_continuation_callback::JsCallbackFnRustFutureContinuationCallback,+ callback_data: js::Handle,+) {+ ffi_cyclops_sdk_rust_future_poll_rust_buffer(+ u64::into_rust(handle),+ rust_future_continuation_callback::FnSig::into_rust(callback),+ u64::into_rust(callback_data),+ );+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_cancel_rust_buffer(u64::into_rust(handle));+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_free_rust_buffer(u64::into_rust(handle));+}+#[wasm_bindgen]+pub fn ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) -> js::ForeignBytes {+ let mut u_status_ = u::RustCallStatus::default();+ let value_ = unsafe {+ ffi_cyclops_sdk_rust_future_complete_rust_buffer(u64::into_rust(handle), &mut u_status_)+ };+ f_status_.copy_from(u_status_);+ value_.into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_poll_void(+ handle: js::Handle,+ callback: rust_future_continuation_callback::JsCallbackFnRustFutureContinuationCallback,+ callback_data: js::Handle,+) {+ ffi_cyclops_sdk_rust_future_poll_void(+ u64::into_rust(handle),+ rust_future_continuation_callback::FnSig::into_rust(callback),+ u64::into_rust(callback_data),+ );+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_cancel_void(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_cancel_void(u64::into_rust(handle));+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_rust_future_free_void(handle: js::Handle) {+ ffi_cyclops_sdk_rust_future_free_void(u64::into_rust(handle));+}+#[wasm_bindgen]+pub fn ubrn_ffi_cyclops_sdk_rust_future_complete_void(+ handle: js::Handle,+ f_status_: &mut js::RustCallStatus,+) {+ let mut u_status_ = u::RustCallStatus::default();+ unsafe { ffi_cyclops_sdk_rust_future_complete_void(u64::into_rust(handle), &mut u_status_) };+ f_status_.copy_from(u_status_);+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_func_healthy_pool_display_status() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_func_healthy_pool_display_status().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_func_pool_display_status() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_func_pool_display_status().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_func_removed_pool_display_status() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_func_removed_pool_display_status().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_func_terminating_pool_display_status() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_func_terminating_pool_display_status().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_func_unknown_pool_display_status() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_func_unknown_pool_display_status().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_renew_claim() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_renew_claim().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_pool() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_pool().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_pool() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_pool().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_pool() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_pool().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_pools() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_pools().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_pool() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_pool().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_service_request() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_service_request().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_signed_service_url(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_signed_service_url().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_signed_service_urls(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_signed_service_urls().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_revoke_signed_service_url(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_revoke_signed_service_url().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_template() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_template().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_template() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_template().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_template() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_template().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_templates() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_templates().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_template(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_template().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_template() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_template().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_user_api_key(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_user_api_key().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_user_api_key(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_user_api_key().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_accesstokenprovider_get_access_token(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_accesstokenprovider_get_access_token().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_httpclient_execute() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_httpclient_execute().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_build() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_name() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_name().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_pool() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_pool().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_spec() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_spec().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_build() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_namespace(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_namespace().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_spec() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_spec().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_build(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_expires_in_seconds(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_expires_in_seconds()+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_label(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_label().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_sandbox(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_sandbox().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_service(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_service().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_build(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_name(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_name().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_namespace(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_namespace().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_spec(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_spec().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_build(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_name(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_name().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_scope(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_scope().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_base_url(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_base_url().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_build(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms () . into_js ()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit()+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms () . into_js ()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit()+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_body() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_body().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_build() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_headers() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_headers().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_max_response_bytes(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_max_response_bytes().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_method() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_method().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_timeout_secs() -> js::UInt16+{+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_timeout_secs().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_url() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_url().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_api_version() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_templatebuilder_api_version().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_build() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_templatebuilder_build().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_kind() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_templatebuilder_kind().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_metadata() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_templatebuilder_metadata().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_spec() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_method_templatebuilder_spec().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_browser_with_access_token(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_browser_with_access_token()+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_and_native_http_client(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_and_native_http_client () . into_js ()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider()+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client () . into_js ()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_native_http_client(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_native_http_client()+ .into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_createclaimrequestbuilder_new(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_createclaimrequestbuilder_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_createpoolrequestbuilder_new(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_createpoolrequestbuilder_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_createsignedserviceurlrequestbuilder_new(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_createsignedserviceurlrequestbuilder_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_createtemplaterequestbuilder_new(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_createtemplaterequestbuilder_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_createuserapikeyrequestbuilder_new(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_createuserapikeyrequestbuilder_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopscredentials_new() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_cyclopscredentials_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopstokenproviderconfigurationbuilder_new(+) -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_cyclopstokenproviderconfigurationbuilder_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_httprequestbuilder_new() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_httprequestbuilder_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_uniffi_cyclops_sdk_checksum_constructor_templatebuilder_new() -> js::UInt16 {+ uniffi_cyclops_sdk_checksum_constructor_templatebuilder_new().into_js()+}+#[wasm_bindgen]+pub unsafe fn ubrn_ffi_cyclops_sdk_uniffi_contract_version() -> js::UInt32 {+ ffi_cyclops_sdk_uniffi_contract_version().into_js()+}+mod callback_interface_access_token_provider_method0 {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ #[wasm_bindgen]+ pub type JsCallbackFnCallbackInterfaceAccessTokenProviderMethod0;+ #[wasm_bindgen(method)]+ pub fn call(+ this_: &JsCallbackFnCallbackInterfaceAccessTokenProviderMethod0,+ ctx_: &JsCallbackFnCallbackInterfaceAccessTokenProviderMethod0,+ uniffi_handle: js::UInt64,+ force_refresh: js::Int8,+ uniffi_future_callback : foreign_future_complete_rust_buffer :: JsCallbackFnForeignFutureCompleteRustBuffer,+ uniffi_callback_data: js::UInt64,+ ) -> foreign_future_dropped_callback_struct::VTableJs;+ }+ thread_local! { static CALLBACK : js :: ForeignCell < JsCallbackFnCallbackInterfaceAccessTokenProviderMethod0 > = js :: ForeignCell :: new () ; }+ impl IntoRust<JsCallbackFnCallbackInterfaceAccessTokenProviderMethod0> for FnSig {+ fn into_rust(callback: JsCallbackFnCallbackInterfaceAccessTokenProviderMethod0) -> Self {+ CALLBACK.with(|cell| cell.set(callback));+ implementation+ }+ }+ pub(super) type FnSig = extern "C" fn(+ uniffi_handle: u64,+ force_refresh: i8,+ uniffi_future_callback: foreign_future_complete_rust_buffer::FnSig,+ uniffi_callback_data: u64,+ rs_return_: &mut foreign_future_dropped_callback_struct::VTableRs,+ );+ extern "C" fn implementation(+ uniffi_handle: u64,+ force_refresh: i8,+ uniffi_future_callback: foreign_future_complete_rust_buffer::FnSig,+ uniffi_callback_data: u64,+ rs_return_: &mut foreign_future_dropped_callback_struct::VTableRs,+ ) {+ let uniffi_result_ = CALLBACK.with(|cell_| {+ cell_.with_value(|callback_| {+ callback_.call(+ callback_,+ uniffi_handle.into_js(),+ force_refresh.into_js(),+ uniffi_future_callback.into_js(),+ uniffi_callback_data.into_js(),+ )+ })+ });+ uniffi_result_.copy_into_return(rs_return_);+ }+}+mod callback_interface_http_client_method0 {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ #[wasm_bindgen]+ pub type JsCallbackFnCallbackInterfaceHttpClientMethod0;+ #[wasm_bindgen(method)]+ pub fn call(+ this_: &JsCallbackFnCallbackInterfaceHttpClientMethod0,+ ctx_: &JsCallbackFnCallbackInterfaceHttpClientMethod0,+ uniffi_handle: js::UInt64,+ request: js::ForeignBytes,+ uniffi_future_callback : foreign_future_complete_rust_buffer :: JsCallbackFnForeignFutureCompleteRustBuffer,+ uniffi_callback_data: js::UInt64,+ ) -> foreign_future_dropped_callback_struct::VTableJs;+ }+ thread_local! { static CALLBACK : js :: ForeignCell < JsCallbackFnCallbackInterfaceHttpClientMethod0 > = js :: ForeignCell :: new () ; }+ impl IntoRust<JsCallbackFnCallbackInterfaceHttpClientMethod0> for FnSig {+ fn into_rust(callback: JsCallbackFnCallbackInterfaceHttpClientMethod0) -> Self {+ CALLBACK.with(|cell| cell.set(callback));+ implementation+ }+ }+ pub(super) type FnSig = extern "C" fn(+ uniffi_handle: u64,+ request: u::RustBuffer,+ uniffi_future_callback: foreign_future_complete_rust_buffer::FnSig,+ uniffi_callback_data: u64,+ rs_return_: &mut foreign_future_dropped_callback_struct::VTableRs,+ );+ extern "C" fn implementation(+ uniffi_handle: u64,+ request: u::RustBuffer,+ uniffi_future_callback: foreign_future_complete_rust_buffer::FnSig,+ uniffi_callback_data: u64,+ rs_return_: &mut foreign_future_dropped_callback_struct::VTableRs,+ ) {+ let uniffi_result_ = CALLBACK.with(|cell_| {+ cell_.with_value(|callback_| {+ callback_.call(+ callback_,+ uniffi_handle.into_js(),+ request.into_js(),+ uniffi_future_callback.into_js(),+ uniffi_callback_data.into_js(),+ )+ })+ });+ uniffi_result_.copy_into_return(rs_return_);+ }+}+mod foreign_future_complete_f32 {+ use super::*;+ # [wasm_bindgen (js_name = ForeignFutureCompleteF32)]+ pub struct JsCallbackFnForeignFutureCompleteF32 {+ callback: FnSig,+ }+ impl JsCallbackFnForeignFutureCompleteF32 {+ fn new(callback: FnSig) -> Self {+ Self { callback }+ }+ }+ # [wasm_bindgen (js_class = ForeignFutureCompleteF32)]+ impl JsCallbackFnForeignFutureCompleteF32 {+ #[wasm_bindgen]+ pub fn call(+ &self,+ _ctx: &Self,+ callback_data: js::UInt64,+ result: foreign_future_result_f32::VTableJs,+ ) {+ (self.callback)(+ u64::into_rust(callback_data),+ foreign_future_result_f32::VTableRs::into_rust(result),+ )+ }+ }+ pub(super) type FnSig =+ extern "C" fn(callback_data: u64, result: foreign_future_result_f32::VTableRs);+ impl IntoJs<JsCallbackFnForeignFutureCompleteF32> for FnSig {+ fn into_js(self) -> JsCallbackFnForeignFutureCompleteF32 {+ JsCallbackFnForeignFutureCompleteF32::new(self)+ }+ }+}+mod foreign_future_complete_f64 {+ use super::*;+ # [wasm_bindgen (js_name = ForeignFutureCompleteF64)]+ pub struct JsCallbackFnForeignFutureCompleteF64 {+ callback: FnSig,+ }+ impl JsCallbackFnForeignFutureCompleteF64 {+ fn new(callback: FnSig) -> Self {+ Self { callback }+ }+ }+ # [wasm_bindgen (js_class = ForeignFutureCompleteF64)]+ impl JsCallbackFnForeignFutureCompleteF64 {+ #[wasm_bindgen]+ pub fn call(+ &self,+ _ctx: &Self,+ callback_data: js::UInt64,+ result: foreign_future_result_f64::VTableJs,+ ) {+ (self.callback)(+ u64::into_rust(callback_data),+ foreign_future_result_f64::VTableRs::into_rust(result),+ )+ }+ }+ pub(super) type FnSig =+ extern "C" fn(callback_data: u64, result: foreign_future_result_f64::VTableRs);+ impl IntoJs<JsCallbackFnForeignFutureCompleteF64> for FnSig {+ fn into_js(self) -> JsCallbackFnForeignFutureCompleteF64 {+ JsCallbackFnForeignFutureCompleteF64::new(self)+ }+ }+}+mod foreign_future_complete_i16 {+ use super::*;+ # [wasm_bindgen (js_name = ForeignFutureCompleteI16)]+ pub struct JsCallbackFnForeignFutureCompleteI16 {+ callback: FnSig,+ }+ impl JsCallbackFnForeignFutureCompleteI16 {+ fn new(callback: FnSig) -> Self {+ Self { callback }+ }+ }+ # [wasm_bindgen (js_class = ForeignFutureCompleteI16)]+ impl JsCallbackFnForeignFutureCompleteI16 {+ #[wasm_bindgen]+ pub fn call(+ &self,+ _ctx: &Self,+ callback_data: js::UInt64,+ result: foreign_future_result_i16::VTableJs,+ ) {+ (self.callback)(+ u64::into_rust(callback_data),+ foreign_future_result_i16::VTableRs::into_rust(result),+ )+ }+ }+ pub(super) type FnSig =+ extern "C" fn(callback_data: u64, result: foreign_future_result_i16::VTableRs);+ impl IntoJs<JsCallbackFnForeignFutureCompleteI16> for FnSig {+ fn into_js(self) -> JsCallbackFnForeignFutureCompleteI16 {+ JsCallbackFnForeignFutureCompleteI16::new(self)+ }+ }+}+mod foreign_future_complete_i32 {+ use super::*;+ # [wasm_bindgen (js_name = ForeignFutureCompleteI32)]+ pub struct JsCallbackFnForeignFutureCompleteI32 {+ callback: FnSig,+ }+ impl JsCallbackFnForeignFutureCompleteI32 {+ fn new(callback: FnSig) -> Self {+ Self { callback }+ }+ }+ # [wasm_bindgen (js_class = ForeignFutureCompleteI32)]+ impl JsCallbackFnForeignFutureCompleteI32 {+ #[wasm_bindgen]+ pub fn call(+ &self,+ _ctx: &Self,+ callback_data: js::UInt64,+ result: foreign_future_result_i32::VTableJs,+ ) {+ (self.callback)(+ u64::into_rust(callback_data),+ foreign_future_result_i32::VTableRs::into_rust(result),+ )+ }+ }+ pub(super) type FnSig =+ extern "C" fn(callback_data: u64, result: foreign_future_result_i32::VTableRs);+ impl IntoJs<JsCallbackFnForeignFutureCompleteI32> for FnSig {+ fn into_js(self) -> JsCallbackFnForeignFutureCompleteI32 {+ JsCallbackFnForeignFutureCompleteI32::new(self)+ }+ }+}+mod foreign_future_complete_i64 {+ use super::*;+ # [wasm_bindgen (js_name = ForeignFutureCompleteI64)]+ pub struct JsCallbackFnForeignFutureCompleteI64 {+ callback: FnSig,+ }+ impl JsCallbackFnForeignFutureCompleteI64 {+ fn new(callback: FnSig) -> Self {+ Self { callback }+ }+ }+ # [wasm_bindgen (js_class = ForeignFutureCompleteI64)]+ impl JsCallbackFnForeignFutureCompleteI64 {+ #[wasm_bindgen]+ pub fn call(+ &self,+ _ctx: &Self,+ callback_data: js::UInt64,+ result: foreign_future_result_i64::VTableJs,+ ) {+ (self.callback)(+ u64::into_rust(callback_data),+ foreign_future_result_i64::VTableRs::into_rust(result),+ )+ }+ }+ pub(super) type FnSig =+ extern "C" fn(callback_data: u64, result: foreign_future_result_i64::VTableRs);+ impl IntoJs<JsCallbackFnForeignFutureCompleteI64> for FnSig {+ fn into_js(self) -> JsCallbackFnForeignFutureCompleteI64 {+ JsCallbackFnForeignFutureCompleteI64::new(self)+ }+ }+}+mod foreign_future_complete_i8 {+ use super::*;+ # [wasm_bindgen (js_name = ForeignFutureCompleteI8)]+ pub struct JsCallbackFnForeignFutureCompleteI8 {+ callback: FnSig,+ }+ impl JsCallbackFnForeignFutureCompleteI8 {+ fn new(callback: FnSig) -> Self {+ Self { callback }+ }+ }+ # [wasm_bindgen (js_class = ForeignFutureCompleteI8)]+ impl JsCallbackFnForeignFutureCompleteI8 {+ #[wasm_bindgen]+ pub fn call(+ &self,+ _ctx: &Self,+ callback_data: js::UInt64,+ result: foreign_future_result_i8::VTableJs,+ ) {+ (self.callback)(+ u64::into_rust(callback_data),+ foreign_future_result_i8::VTableRs::into_rust(result),+ )+ }+ }+ pub(super) type FnSig =+ extern "C" fn(callback_data: u64, result: foreign_future_result_i8::VTableRs);+ impl IntoJs<JsCallbackFnForeignFutureCompleteI8> for FnSig {+ fn into_js(self) -> JsCallbackFnForeignFutureCompleteI8 {+ JsCallbackFnForeignFutureCompleteI8::new(self)+ }+ }+}+mod foreign_future_complete_rust_buffer {+ use super::*;+ # [wasm_bindgen (js_name = ForeignFutureCompleteRustBuffer)]+ pub struct JsCallbackFnForeignFutureCompleteRustBuffer {+ callback: FnSig,+ }+ impl JsCallbackFnForeignFutureCompleteRustBuffer {+ fn new(callback: FnSig) -> Self {+ Self { callback }+ }+ }+ # [wasm_bindgen (js_class = ForeignFutureCompleteRustBuffer)]+ impl JsCallbackFnForeignFutureCompleteRustBuffer {+ #[wasm_bindgen]+ pub fn call(+ &self,+ _ctx: &Self,+ callback_data: js::UInt64,+ result: foreign_future_result_rust_buffer::VTableJs,+ ) {+ (self.callback)(+ u64::into_rust(callback_data),+ foreign_future_result_rust_buffer::VTableRs::into_rust(result),+ )+ }+ }+ pub(super) type FnSig =+ extern "C" fn(callback_data: u64, result: foreign_future_result_rust_buffer::VTableRs);+ impl IntoJs<JsCallbackFnForeignFutureCompleteRustBuffer> for FnSig {+ fn into_js(self) -> JsCallbackFnForeignFutureCompleteRustBuffer {+ JsCallbackFnForeignFutureCompleteRustBuffer::new(self)+ }+ }+}+mod foreign_future_complete_u16 {+ use super::*;+ # [wasm_bindgen (js_name = ForeignFutureCompleteU16)]+ pub struct JsCallbackFnForeignFutureCompleteU16 {+ callback: FnSig,+ }+ impl JsCallbackFnForeignFutureCompleteU16 {+ fn new(callback: FnSig) -> Self {+ Self { callback }+ }+ }+ # [wasm_bindgen (js_class = ForeignFutureCompleteU16)]+ impl JsCallbackFnForeignFutureCompleteU16 {+ #[wasm_bindgen]+ pub fn call(+ &self,+ _ctx: &Self,+ callback_data: js::UInt64,+ result: foreign_future_result_u16::VTableJs,+ ) {+ (self.callback)(+ u64::into_rust(callback_data),+ foreign_future_result_u16::VTableRs::into_rust(result),+ )+ }+ }+ pub(super) type FnSig =+ extern "C" fn(callback_data: u64, result: foreign_future_result_u16::VTableRs);+ impl IntoJs<JsCallbackFnForeignFutureCompleteU16> for FnSig {+ fn into_js(self) -> JsCallbackFnForeignFutureCompleteU16 {+ JsCallbackFnForeignFutureCompleteU16::new(self)+ }+ }+}+mod foreign_future_complete_u32 {+ use super::*;+ # [wasm_bindgen (js_name = ForeignFutureCompleteU32)]+ pub struct JsCallbackFnForeignFutureCompleteU32 {+ callback: FnSig,+ }+ impl JsCallbackFnForeignFutureCompleteU32 {+ fn new(callback: FnSig) -> Self {+ Self { callback }+ }+ }+ # [wasm_bindgen (js_class = ForeignFutureCompleteU32)]+ impl JsCallbackFnForeignFutureCompleteU32 {+ #[wasm_bindgen]+ pub fn call(+ &self,+ _ctx: &Self,+ callback_data: js::UInt64,+ result: foreign_future_result_u32::VTableJs,+ ) {+ (self.callback)(+ u64::into_rust(callback_data),+ foreign_future_result_u32::VTableRs::into_rust(result),+ )+ }+ }+ pub(super) type FnSig =+ extern "C" fn(callback_data: u64, result: foreign_future_result_u32::VTableRs);+ impl IntoJs<JsCallbackFnForeignFutureCompleteU32> for FnSig {+ fn into_js(self) -> JsCallbackFnForeignFutureCompleteU32 {+ JsCallbackFnForeignFutureCompleteU32::new(self)+ }+ }+}+mod foreign_future_complete_u64 {+ use super::*;+ # [wasm_bindgen (js_name = ForeignFutureCompleteU64)]+ pub struct JsCallbackFnForeignFutureCompleteU64 {+ callback: FnSig,+ }+ impl JsCallbackFnForeignFutureCompleteU64 {+ fn new(callback: FnSig) -> Self {+ Self { callback }+ }+ }+ # [wasm_bindgen (js_class = ForeignFutureCompleteU64)]+ impl JsCallbackFnForeignFutureCompleteU64 {+ #[wasm_bindgen]+ pub fn call(+ &self,+ _ctx: &Self,+ callback_data: js::UInt64,+ result: foreign_future_result_u64::VTableJs,+ ) {+ (self.callback)(+ u64::into_rust(callback_data),+ foreign_future_result_u64::VTableRs::into_rust(result),+ )+ }+ }+ pub(super) type FnSig =+ extern "C" fn(callback_data: u64, result: foreign_future_result_u64::VTableRs);+ impl IntoJs<JsCallbackFnForeignFutureCompleteU64> for FnSig {+ fn into_js(self) -> JsCallbackFnForeignFutureCompleteU64 {+ JsCallbackFnForeignFutureCompleteU64::new(self)+ }+ }+}+mod foreign_future_complete_u8 {+ use super::*;+ # [wasm_bindgen (js_name = ForeignFutureCompleteU8)]+ pub struct JsCallbackFnForeignFutureCompleteU8 {+ callback: FnSig,+ }+ impl JsCallbackFnForeignFutureCompleteU8 {+ fn new(callback: FnSig) -> Self {+ Self { callback }+ }+ }+ # [wasm_bindgen (js_class = ForeignFutureCompleteU8)]+ impl JsCallbackFnForeignFutureCompleteU8 {+ #[wasm_bindgen]+ pub fn call(+ &self,+ _ctx: &Self,+ callback_data: js::UInt64,+ result: foreign_future_result_u8::VTableJs,+ ) {+ (self.callback)(+ u64::into_rust(callback_data),+ foreign_future_result_u8::VTableRs::into_rust(result),+ )+ }+ }+ pub(super) type FnSig =+ extern "C" fn(callback_data: u64, result: foreign_future_result_u8::VTableRs);+ impl IntoJs<JsCallbackFnForeignFutureCompleteU8> for FnSig {+ fn into_js(self) -> JsCallbackFnForeignFutureCompleteU8 {+ JsCallbackFnForeignFutureCompleteU8::new(self)+ }+ }+}+mod foreign_future_complete_void {+ use super::*;+ # [wasm_bindgen (js_name = ForeignFutureCompleteVoid)]+ pub struct JsCallbackFnForeignFutureCompleteVoid {+ callback: FnSig,+ }+ impl JsCallbackFnForeignFutureCompleteVoid {+ fn new(callback: FnSig) -> Self {+ Self { callback }+ }+ }+ # [wasm_bindgen (js_class = ForeignFutureCompleteVoid)]+ impl JsCallbackFnForeignFutureCompleteVoid {+ #[wasm_bindgen]+ pub fn call(+ &self,+ _ctx: &Self,+ callback_data: js::UInt64,+ result: foreign_future_result_void::VTableJs,+ ) {+ (self.callback)(+ u64::into_rust(callback_data),+ foreign_future_result_void::VTableRs::into_rust(result),+ )+ }+ }+ pub(super) type FnSig =+ extern "C" fn(callback_data: u64, result: foreign_future_result_void::VTableRs);+ impl IntoJs<JsCallbackFnForeignFutureCompleteVoid> for FnSig {+ fn into_js(self) -> JsCallbackFnForeignFutureCompleteVoid {+ JsCallbackFnForeignFutureCompleteVoid::new(self)+ }+ }+}+mod foreign_future_dropped_callback {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ #[wasm_bindgen]+ pub type JsCallbackFnForeignFutureDroppedCallback;+ #[wasm_bindgen(method)]+ pub fn call(+ this_: &JsCallbackFnForeignFutureDroppedCallback,+ ctx_: &JsCallbackFnForeignFutureDroppedCallback,+ handle: js::UInt64,+ );+ }+ thread_local! { static CALLBACK : js :: ForeignCell < JsCallbackFnForeignFutureDroppedCallback > = js :: ForeignCell :: new () ; }+ impl IntoRust<JsCallbackFnForeignFutureDroppedCallback> for FnSig {+ fn into_rust(callback: JsCallbackFnForeignFutureDroppedCallback) -> Self {+ CALLBACK.with(|cell| cell.set(callback));+ implementation+ }+ }+ pub(super) type FnSig = extern "C" fn(handle: u64);+ extern "C" fn implementation(handle: u64) {+ CALLBACK.with(|cell_| {+ cell_.with_value(|callback_| callback_.call(callback_, handle.into_js()))+ });+ }+}+mod foreign_future_dropped_callback_struct {+ use super::foreign_future_dropped_callback as method_free;+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn handle(this: &VTableJs) -> js::UInt64;+ #[wasm_bindgen(method, getter)]+ fn free(this: &VTableJs) -> method_free::JsCallbackFnForeignFutureDroppedCallback;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ handle: u64,+ free: method_free::FnSig,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ handle: u64::into_rust(v_.handle()),+ free: method_free::FnSig::into_rust(v_.free()),+ }+ }+ }+ impl VTableJs {+ #[allow(unused)]+ pub(super) fn copy_into_return(self, rust: &mut VTableRs) {+ *rust = <VTableRs>::into_rust(self);+ }+ }+}+mod foreign_future_result_f32 {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn return_value(this: &VTableJs) -> js::Float32;+ #[wasm_bindgen(method, getter)]+ fn call_status(this: &VTableJs) -> js::RustCallStatus;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ return_value: f32,+ call_status: u::RustCallStatus,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ return_value: f32::into_rust(v_.return_value()),+ call_status: u::RustCallStatus::into_rust(v_.call_status()),+ }+ }+ }+ impl VTableJs {+ #[allow(unused)]+ pub(super) fn copy_into_return(self, rust: &mut VTableRs) {+ *rust = <VTableRs>::into_rust(self);+ }+ }+}+mod foreign_future_result_f64 {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn return_value(this: &VTableJs) -> js::Float64;+ #[wasm_bindgen(method, getter)]+ fn call_status(this: &VTableJs) -> js::RustCallStatus;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ return_value: f64,+ call_status: u::RustCallStatus,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ return_value: f64::into_rust(v_.return_value()),+ call_status: u::RustCallStatus::into_rust(v_.call_status()),+ }+ }+ }+ impl VTableJs {+ #[allow(unused)]+ pub(super) fn copy_into_return(self, rust: &mut VTableRs) {+ *rust = <VTableRs>::into_rust(self);+ }+ }+}+mod foreign_future_result_i16 {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn return_value(this: &VTableJs) -> js::Int16;+ #[wasm_bindgen(method, getter)]+ fn call_status(this: &VTableJs) -> js::RustCallStatus;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ return_value: i16,+ call_status: u::RustCallStatus,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ return_value: i16::into_rust(v_.return_value()),+ call_status: u::RustCallStatus::into_rust(v_.call_status()),+ }+ }+ }+ impl VTableJs {+ #[allow(unused)]+ pub(super) fn copy_into_return(self, rust: &mut VTableRs) {+ *rust = <VTableRs>::into_rust(self);+ }+ }+}+mod foreign_future_result_i32 {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn return_value(this: &VTableJs) -> js::Int32;+ #[wasm_bindgen(method, getter)]+ fn call_status(this: &VTableJs) -> js::RustCallStatus;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ return_value: i32,+ call_status: u::RustCallStatus,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ return_value: i32::into_rust(v_.return_value()),+ call_status: u::RustCallStatus::into_rust(v_.call_status()),+ }+ }+ }+ impl VTableJs {+ #[allow(unused)]+ pub(super) fn copy_into_return(self, rust: &mut VTableRs) {+ *rust = <VTableRs>::into_rust(self);+ }+ }+}+mod foreign_future_result_i64 {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn return_value(this: &VTableJs) -> js::Int64;+ #[wasm_bindgen(method, getter)]+ fn call_status(this: &VTableJs) -> js::RustCallStatus;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ return_value: i64,+ call_status: u::RustCallStatus,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ return_value: i64::into_rust(v_.return_value()),+ call_status: u::RustCallStatus::into_rust(v_.call_status()),+ }+ }+ }+ impl VTableJs {+ #[allow(unused)]+ pub(super) fn copy_into_return(self, rust: &mut VTableRs) {+ *rust = <VTableRs>::into_rust(self);+ }+ }+}+mod foreign_future_result_i8 {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn return_value(this: &VTableJs) -> js::Int8;+ #[wasm_bindgen(method, getter)]+ fn call_status(this: &VTableJs) -> js::RustCallStatus;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ return_value: i8,+ call_status: u::RustCallStatus,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ return_value: i8::into_rust(v_.return_value()),+ call_status: u::RustCallStatus::into_rust(v_.call_status()),+ }+ }+ }+ impl VTableJs {+ #[allow(unused)]+ pub(super) fn copy_into_return(self, rust: &mut VTableRs) {+ *rust = <VTableRs>::into_rust(self);+ }+ }+}+mod foreign_future_result_rust_buffer {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn return_value(this: &VTableJs) -> js::ForeignBytes;+ #[wasm_bindgen(method, getter)]+ fn call_status(this: &VTableJs) -> js::RustCallStatus;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ return_value: u::RustBuffer,+ call_status: u::RustCallStatus,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ return_value: u::RustBuffer::into_rust(v_.return_value()),+ call_status: u::RustCallStatus::into_rust(v_.call_status()),+ }+ }+ }+ impl VTableJs {+ #[allow(unused)]+ pub(super) fn copy_into_return(self, rust: &mut VTableRs) {+ *rust = <VTableRs>::into_rust(self);+ }+ }+}+mod foreign_future_result_u16 {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn return_value(this: &VTableJs) -> js::UInt16;+ #[wasm_bindgen(method, getter)]+ fn call_status(this: &VTableJs) -> js::RustCallStatus;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ return_value: u16,+ call_status: u::RustCallStatus,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ return_value: u16::into_rust(v_.return_value()),+ call_status: u::RustCallStatus::into_rust(v_.call_status()),+ }+ }+ }+ impl VTableJs {+ #[allow(unused)]+ pub(super) fn copy_into_return(self, rust: &mut VTableRs) {+ *rust = <VTableRs>::into_rust(self);+ }+ }+}+mod foreign_future_result_u32 {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn return_value(this: &VTableJs) -> js::UInt32;+ #[wasm_bindgen(method, getter)]+ fn call_status(this: &VTableJs) -> js::RustCallStatus;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ return_value: u32,+ call_status: u::RustCallStatus,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ return_value: u32::into_rust(v_.return_value()),+ call_status: u::RustCallStatus::into_rust(v_.call_status()),+ }+ }+ }+ impl VTableJs {+ #[allow(unused)]+ pub(super) fn copy_into_return(self, rust: &mut VTableRs) {+ *rust = <VTableRs>::into_rust(self);+ }+ }+}+mod foreign_future_result_u64 {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn return_value(this: &VTableJs) -> js::UInt64;+ #[wasm_bindgen(method, getter)]+ fn call_status(this: &VTableJs) -> js::RustCallStatus;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ return_value: u64,+ call_status: u::RustCallStatus,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ return_value: u64::into_rust(v_.return_value()),+ call_status: u::RustCallStatus::into_rust(v_.call_status()),+ }+ }+ }+ impl VTableJs {+ #[allow(unused)]+ pub(super) fn copy_into_return(self, rust: &mut VTableRs) {+ *rust = <VTableRs>::into_rust(self);+ }+ }+}+mod foreign_future_result_u8 {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn return_value(this: &VTableJs) -> js::UInt8;+ #[wasm_bindgen(method, getter)]+ fn call_status(this: &VTableJs) -> js::RustCallStatus;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ return_value: u8,+ call_status: u::RustCallStatus,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ return_value: u8::into_rust(v_.return_value()),+ call_status: u::RustCallStatus::into_rust(v_.call_status()),+ }+ }+ }+ impl VTableJs {+ #[allow(unused)]+ pub(super) fn copy_into_return(self, rust: &mut VTableRs) {+ *rust = <VTableRs>::into_rust(self);+ }+ }+}+mod foreign_future_result_void {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn call_status(this: &VTableJs) -> js::RustCallStatus;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ call_status: u::RustCallStatus,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ call_status: u::RustCallStatus::into_rust(v_.call_status()),+ }+ }+ }+ impl VTableJs {+ #[allow(unused)]+ pub(super) fn copy_into_return(self, rust: &mut VTableRs) {+ *rust = <VTableRs>::into_rust(self);+ }+ }+}+mod rust_future_continuation_callback {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ #[wasm_bindgen]+ pub type JsCallbackFnRustFutureContinuationCallback;+ #[wasm_bindgen(method)]+ pub fn call(+ this_: &JsCallbackFnRustFutureContinuationCallback,+ ctx_: &JsCallbackFnRustFutureContinuationCallback,+ data: js::UInt64,+ poll_result: js::Int8,+ );+ }+ thread_local! { static CALLBACK : js :: ForeignCell < JsCallbackFnRustFutureContinuationCallback > = js :: ForeignCell :: new () ; }+ impl IntoRust<JsCallbackFnRustFutureContinuationCallback> for FnSig {+ fn into_rust(callback: JsCallbackFnRustFutureContinuationCallback) -> Self {+ CALLBACK.with(|cell| cell.set(callback));+ implementation+ }+ }+ pub(super) type FnSig = extern "C" fn(data: u64, poll_result: i8);+ extern "C" fn implementation(data: u64, poll_result: i8) {+ CALLBACK.with(|cell_| {+ cell_.with_value(|callback_| {+ callback_.call(callback_, data.into_js(), poll_result.into_js())+ })+ });+ }+}+mod v_table_callback_interface_access_token_provider {+ use super::callback_interface_access_token_provider_method0 as method_get_access_token;+ use super::v_table_callback_interface_access_token_provider__clone as method_uniffi_clone;+ use super::v_table_callback_interface_access_token_provider__free as method_uniffi_free;+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn uniffi_free(+ this: &VTableJs,+ ) -> method_uniffi_free::JsCallbackFnVTableCallbackInterfaceAccessTokenProviderFree;+ #[wasm_bindgen(method, getter)]+ fn uniffi_clone(+ this: &VTableJs,+ ) -> method_uniffi_clone::JsCallbackFnVTableCallbackInterfaceAccessTokenProviderClone;+ #[wasm_bindgen(method, getter)]+ fn get_access_token(+ this: &VTableJs,+ ) -> method_get_access_token::JsCallbackFnCallbackInterfaceAccessTokenProviderMethod0;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ uniffi_free: method_uniffi_free::FnSig,+ uniffi_clone: method_uniffi_clone::FnSig,+ get_access_token: method_get_access_token::FnSig,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ uniffi_free: method_uniffi_free::FnSig::into_rust(v_.uniffi_free()),+ uniffi_clone: method_uniffi_clone::FnSig::into_rust(v_.uniffi_clone()),+ get_access_token: method_get_access_token::FnSig::into_rust(v_.get_access_token()),+ }+ }+ }+}+#[allow(non_snake_case)]+mod v_table_callback_interface_access_token_provider__clone {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ #[wasm_bindgen]+ pub type JsCallbackFnVTableCallbackInterfaceAccessTokenProviderClone;+ #[wasm_bindgen(method)]+ pub fn call(+ this_: &JsCallbackFnVTableCallbackInterfaceAccessTokenProviderClone,+ ctx_: &JsCallbackFnVTableCallbackInterfaceAccessTokenProviderClone,+ handle: js::UInt64,+ ) -> js::UInt64;+ }+ thread_local! { static CALLBACK : js :: ForeignCell < JsCallbackFnVTableCallbackInterfaceAccessTokenProviderClone > = js :: ForeignCell :: new () ; }+ impl IntoRust<JsCallbackFnVTableCallbackInterfaceAccessTokenProviderClone> for FnSig {+ fn into_rust(+ callback: JsCallbackFnVTableCallbackInterfaceAccessTokenProviderClone,+ ) -> Self {+ CALLBACK.with(|cell| cell.set(callback));+ implementation+ }+ }+ pub(super) type FnSig = extern "C" fn(handle: u64) -> u64;+ extern "C" fn implementation(handle: u64) -> u64 {+ let uniffi_result_ = CALLBACK.with(|cell_| {+ cell_.with_value(|callback_| callback_.call(callback_, handle.into_js()))+ });+ u64::into_rust(uniffi_result_)+ }+}+#[allow(non_snake_case)]+mod v_table_callback_interface_access_token_provider__free {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ #[wasm_bindgen]+ pub type JsCallbackFnVTableCallbackInterfaceAccessTokenProviderFree;+ #[wasm_bindgen(method)]+ pub fn call(+ this_: &JsCallbackFnVTableCallbackInterfaceAccessTokenProviderFree,+ ctx_: &JsCallbackFnVTableCallbackInterfaceAccessTokenProviderFree,+ handle: js::UInt64,+ );+ }+ thread_local! { static CALLBACK : js :: ForeignCell < JsCallbackFnVTableCallbackInterfaceAccessTokenProviderFree > = js :: ForeignCell :: new () ; }+ impl IntoRust<JsCallbackFnVTableCallbackInterfaceAccessTokenProviderFree> for FnSig {+ fn into_rust(callback: JsCallbackFnVTableCallbackInterfaceAccessTokenProviderFree) -> Self {+ CALLBACK.with(|cell| cell.set(callback));+ implementation+ }+ }+ pub(super) type FnSig = extern "C" fn(handle: u64);+ extern "C" fn implementation(handle: u64) {+ CALLBACK.with(|cell_| {+ cell_.with_value(|callback_| callback_.call(callback_, handle.into_js()))+ });+ }+}+mod v_table_callback_interface_http_client {+ use super::callback_interface_http_client_method0 as method_execute;+ use super::v_table_callback_interface_http_client__clone as method_uniffi_clone;+ use super::v_table_callback_interface_http_client__free as method_uniffi_free;+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ pub type VTableJs;+ #[wasm_bindgen(method, getter)]+ fn uniffi_free(+ this: &VTableJs,+ ) -> method_uniffi_free::JsCallbackFnVTableCallbackInterfaceHttpClientFree;+ #[wasm_bindgen(method, getter)]+ fn uniffi_clone(+ this: &VTableJs,+ ) -> method_uniffi_clone::JsCallbackFnVTableCallbackInterfaceHttpClientClone;+ #[wasm_bindgen(method, getter)]+ fn execute(+ this: &VTableJs,+ ) -> method_execute::JsCallbackFnCallbackInterfaceHttpClientMethod0;+ }+ #[repr(C)]+ pub(super) struct VTableRs {+ uniffi_free: method_uniffi_free::FnSig,+ uniffi_clone: method_uniffi_clone::FnSig,+ execute: method_execute::FnSig,+ }+ impl IntoRust<VTableJs> for VTableRs {+ fn into_rust(v_: VTableJs) -> Self {+ Self {+ uniffi_free: method_uniffi_free::FnSig::into_rust(v_.uniffi_free()),+ uniffi_clone: method_uniffi_clone::FnSig::into_rust(v_.uniffi_clone()),+ execute: method_execute::FnSig::into_rust(v_.execute()),+ }+ }+ }+}+#[allow(non_snake_case)]+mod v_table_callback_interface_http_client__clone {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ #[wasm_bindgen]+ pub type JsCallbackFnVTableCallbackInterfaceHttpClientClone;+ #[wasm_bindgen(method)]+ pub fn call(+ this_: &JsCallbackFnVTableCallbackInterfaceHttpClientClone,+ ctx_: &JsCallbackFnVTableCallbackInterfaceHttpClientClone,+ handle: js::UInt64,+ ) -> js::UInt64;+ }+ thread_local! { static CALLBACK : js :: ForeignCell < JsCallbackFnVTableCallbackInterfaceHttpClientClone > = js :: ForeignCell :: new () ; }+ impl IntoRust<JsCallbackFnVTableCallbackInterfaceHttpClientClone> for FnSig {+ fn into_rust(callback: JsCallbackFnVTableCallbackInterfaceHttpClientClone) -> Self {+ CALLBACK.with(|cell| cell.set(callback));+ implementation+ }+ }+ pub(super) type FnSig = extern "C" fn(handle: u64) -> u64;+ extern "C" fn implementation(handle: u64) -> u64 {+ let uniffi_result_ = CALLBACK.with(|cell_| {+ cell_.with_value(|callback_| callback_.call(callback_, handle.into_js()))+ });+ u64::into_rust(uniffi_result_)+ }+}+#[allow(non_snake_case)]+mod v_table_callback_interface_http_client__free {+ use super::*;+ #[wasm_bindgen]+ extern "C" {+ #[wasm_bindgen]+ pub type JsCallbackFnVTableCallbackInterfaceHttpClientFree;+ #[wasm_bindgen(method)]+ pub fn call(+ this_: &JsCallbackFnVTableCallbackInterfaceHttpClientFree,+ ctx_: &JsCallbackFnVTableCallbackInterfaceHttpClientFree,+ handle: js::UInt64,+ );+ }+ thread_local! { static CALLBACK : js :: ForeignCell < JsCallbackFnVTableCallbackInterfaceHttpClientFree > = js :: ForeignCell :: new () ; }+ impl IntoRust<JsCallbackFnVTableCallbackInterfaceHttpClientFree> for FnSig {+ fn into_rust(callback: JsCallbackFnVTableCallbackInterfaceHttpClientFree) -> Self {+ CALLBACK.with(|cell| cell.set(callback));+ implementation+ }+ }+ pub(super) type FnSig = extern "C" fn(handle: u64);+ extern "C" fn implementation(handle: u64) {+ CALLBACK.with(|cell_| {+ cell_.with_value(|callback_| callback_.call(callback_, handle.into_js()))+ });+ }+}diff --git a/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/cyclops_sdk_schema-ffi.ts b/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/cyclops_sdk_schema-ffi.tsindex 1bad3d9373..b24c0b6f26 100644--- a/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/cyclops_sdk_schema-ffi.ts+++ b/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/cyclops_sdk_schema-ffi.ts@@ -6,10 +6,7 @@// @ts-nocheck// Structs and function types for calling back into Typescript from Rust.-export type UniffiRustFutureContinuationCallback = (- data: bigint,- pollResult: number,-) => void;+export type UniffiRustFutureContinuationCallback = (data: bigint, pollResult: number) => void;export type UniffiForeignFutureDroppedCallback = (handle: bigint) => void;export type UniffiForeignFutureDroppedCallbackStruct = {handle: bigint;diff --git a/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/cyclops_sdk_schema.ts b/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/cyclops_sdk_schema.tsindex 1e301937e6..6e84238d07 100644--- a/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/cyclops_sdk_schema.ts+++ b/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/cyclops_sdk_schema.ts@@ -4,39 +4,9 @@/* eslint-disable */// @ts-nocheckimport * as wasmBundle from "./wasm-bindgen/index.js";-import {- type UniffiRustFutureContinuationCallback,- type UniffiForeignFutureDroppedCallback,- type UniffiForeignFutureDroppedCallbackStruct,+import { type UniffiRustFutureContinuationCallback, type UniffiForeignFutureDroppedCallback, type UniffiForeignFutureDroppedCallbackStruct,} from "./cyclops_sdk_schema-ffi";-import {- type FfiConverter,- type UniffiByteArray,- type UniffiGcObject,- type UniffiHandle,- type UniffiObjectFactory,- AbstractFfiConverterByteArray,- FfiConverterArray,- FfiConverterBool,- FfiConverterInt32,- FfiConverterMap,- FfiConverterObject,- FfiConverterOptional,- FfiConverterUInt16,- FfiConverterUInt32,- FfiConverterUInt8,- RustBuffer,- UniffiAbstractObject,- UniffiEnum,- UniffiError,- UniffiInternalError,- UniffiRustCaller,- destructorGuardSymbol,- pointerLiteralSymbol,- uniffiCreateFfiConverterString,- uniffiCreateRecord,- uniffiTypeNameSymbol,- variantOrdinalSymbol,+import { type FfiConverter, type UniffiByteArray, type UniffiGcObject, type UniffiHandle, type UniffiObjectFactory, AbstractFfiConverterByteArray, FfiConverterArray, FfiConverterBool, FfiConverterInt32, FfiConverterMap, FfiConverterObject, FfiConverterOptional, FfiConverterUInt16, FfiConverterUInt32, FfiConverterUInt8, RustBuffer, UniffiAbstractObject, UniffiEnum, UniffiError, UniffiInternalError, UniffiRustCaller, destructorGuardSymbol, pointerLiteralSymbol, uniffiCreateFfiConverterString, uniffiCreateRecord, uniffiTypeNameSymbol, variantOrdinalSymbol,} from "@ubjs/core";// wasm1: wrap the wasm-bindgen namespace once so the codegen call sites can// uniformly reference `nativeModule().rustbuffer_alloc` / `.rustbuffer_free`.@@ -47,9 +17,7 @@ const _nativeModule = Object.assign({}, wasmBundle, {rustbuffer_free: (_: Uint8Array): void => {},});const nativeModule = () => _nativeModule;-const uniffiCaller = new UniffiRustCaller(- () => new wasmBundle.RustCallStatus(),-);+const uniffiCaller = new UniffiRustCaller(() => new wasmBundle.RustCallStatus());const uniffiIsDebug =// @ts-ignore -- The process global might not be defined@@ -61,2774 +29,2387 @@ const uniffiIsDebug =// Public interface members begin here.const stringConverter = (() => {- const encoder = new TextEncoder();- const decoder = new TextDecoder();- return {- stringToBytes: (s: string) => encoder.encode(s),- bytesToString: (ab: UniffiByteArray) => decoder.decode(ab),- stringByteLength: (s: string) => encoder.encode(s).byteLength,- writeStringIntoBuffer: (s: string, buf: any, offset: number): number => {- const view = new Uint8Array(- buf.arrayBuffer,- offset,- buf.arrayBuffer.byteLength - offset,- );- return encoder.encodeInto(s, view).written;- },- readStringFromBuffer: (buf: any, offset: number, length: number): string =>- decoder.decode(new Uint8Array(buf.arrayBuffer, offset, length)),- };+ const encoder = new TextEncoder();+ const decoder = new TextDecoder();+ return {+ stringToBytes: (s: string) => encoder.encode(s),+ bytesToString: (ab: UniffiByteArray) => decoder.decode(ab),+ stringByteLength: (s: string) => encoder.encode(s).byteLength,+ writeStringIntoBuffer: (s: string, buf: any, offset: number): number => {+ const view = new Uint8Array(+ buf.arrayBuffer,+ offset,+ buf.arrayBuffer.byteLength - offset,+ );+ return encoder.encodeInto(s, view).written;+ },+ readStringFromBuffer: (buf: any, offset: number, length: number): string =>+ decoder.decode(new Uint8Array(buf.arrayBuffer, offset, length)),+ };})();const FfiConverterString = uniffiCreateFfiConverterString(stringConverter);export type ClaimLifecycle = {- shutdownTime?: string;- shutdownPolicy?: string;- autoRenew?: boolean;-};+ shutdownTime?: string,+ shutdownPolicy?: string,+ autoRenew?: boolean+}/*** Generated factory for {@link ClaimLifecycle} record objects.*/export const ClaimLifecycle = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<ClaimLifecycle, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<ClaimLifecycle>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<ClaimLifecycle, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<ClaimLifecycle>,+ });})();const FfiConverterTypeClaimLifecycle = (() => {- type TypeName = ClaimLifecycle;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- shutdownTime: FfiConverterOptionalString.read(from),- shutdownPolicy: FfiConverterOptionalString.read(from),- autoRenew: FfiConverterOptionalBoolean.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterOptionalString.write(value.shutdownTime, into);- FfiConverterOptionalString.write(value.shutdownPolicy, into);- FfiConverterOptionalBoolean.write(value.autoRenew, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterOptionalString.allocationSize(value.shutdownTime) +- FfiConverterOptionalString.allocationSize(value.shutdownPolicy) +- FfiConverterOptionalBoolean.allocationSize(value.autoRenew)- );- }- }- return new FFIConverter();+ type TypeName = ClaimLifecycle;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ shutdownTime: FfiConverterOptionalString.read(from),+ shutdownPolicy: FfiConverterOptionalString.read(from),+ autoRenew: FfiConverterOptionalBoolean.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterOptionalString.write(value.shutdownTime, into);+ FfiConverterOptionalString.write(value.shutdownPolicy, into);+ FfiConverterOptionalBoolean.write(value.autoRenew, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterOptionalString.allocationSize(value.shutdownTime) ++ FfiConverterOptionalString.allocationSize(value.shutdownPolicy) ++ FfiConverterOptionalBoolean.allocationSize(value.autoRenew);++ }+ };+ return new FFIConverter();})();export type SandboxTemplateRef = {- name: string;-};+ name: string+}/*** Generated factory for {@link SandboxTemplateRef} record objects.*/export const SandboxTemplateRef = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<SandboxTemplateRef, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<SandboxTemplateRef>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<SandboxTemplateRef, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<SandboxTemplateRef>,+ });})();const FfiConverterTypeSandboxTemplateRef = (() => {- type TypeName = SandboxTemplateRef;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- name: FfiConverterString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.name, into);- }- allocationSize(value: TypeName): number {- return FfiConverterString.allocationSize(value.name);- }- }- return new FFIConverter();+ type TypeName = SandboxTemplateRef;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ name: FfiConverterString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.name, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.name);++ }+ };+ return new FFIConverter();})();export type ClaimSpec = {- sandboxTemplateRef: SandboxTemplateRef;- warmpool?: string;- bindDeadline?: number;- lifecycle?: ClaimLifecycle;- ttlSecondsAfterCreated?: number;-};+ sandboxTemplateRef: SandboxTemplateRef,+ warmpool?: string,+ bindDeadline?: number,+ lifecycle?: ClaimLifecycle,+ ttlSecondsAfterCreated?: number+}/*** Generated factory for {@link ClaimSpec} record objects.*/export const ClaimSpec = (() => {- const defaults = () => ({- ttlSecondsAfterCreated: undefined,- });- const create = (() => {- return uniffiCreateRecord<ClaimSpec, ReturnType<typeof defaults>>(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<ClaimSpec>,- });+ const defaults = () => ({+ ttlSecondsAfterCreated: undefined+ });+ const create = (() => {+ return uniffiCreateRecord<ClaimSpec, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<ClaimSpec>,+ });})();const FfiConverterTypeClaimSpec = (() => {- type TypeName = ClaimSpec;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- sandboxTemplateRef: FfiConverterTypeSandboxTemplateRef.read(from),- warmpool: FfiConverterOptionalString.read(from),- bindDeadline: FfiConverterOptionalUInt32.read(from),- lifecycle: FfiConverterOptionalTypeClaimLifecycle.read(from),- ttlSecondsAfterCreated: FfiConverterOptionalUInt32.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterTypeSandboxTemplateRef.write(value.sandboxTemplateRef, into);- FfiConverterOptionalString.write(value.warmpool, into);- FfiConverterOptionalUInt32.write(value.bindDeadline, into);- FfiConverterOptionalTypeClaimLifecycle.write(value.lifecycle, into);- FfiConverterOptionalUInt32.write(value.ttlSecondsAfterCreated, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterTypeSandboxTemplateRef.allocationSize(- value.sandboxTemplateRef,- ) +- FfiConverterOptionalString.allocationSize(value.warmpool) +- FfiConverterOptionalUInt32.allocationSize(value.bindDeadline) +- FfiConverterOptionalTypeClaimLifecycle.allocationSize(value.lifecycle) +- FfiConverterOptionalUInt32.allocationSize(value.ttlSecondsAfterCreated)- );- }- }- return new FFIConverter();+ type TypeName = ClaimSpec;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ sandboxTemplateRef: FfiConverterTypeSandboxTemplateRef.read(from),+ warmpool: FfiConverterOptionalString.read(from),+ bindDeadline: FfiConverterOptionalUInt32.read(from),+ lifecycle: FfiConverterOptionalTypeClaimLifecycle.read(from),+ ttlSecondsAfterCreated: FfiConverterOptionalUInt32.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterTypeSandboxTemplateRef.write(value.sandboxTemplateRef, into);+ FfiConverterOptionalString.write(value.warmpool, into);+ FfiConverterOptionalUInt32.write(value.bindDeadline, into);+ FfiConverterOptionalTypeClaimLifecycle.write(value.lifecycle, into);+ FfiConverterOptionalUInt32.write(value.ttlSecondsAfterCreated, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterTypeSandboxTemplateRef.allocationSize(value.sandboxTemplateRef) ++ FfiConverterOptionalString.allocationSize(value.warmpool) ++ FfiConverterOptionalUInt32.allocationSize(value.bindDeadline) ++ FfiConverterOptionalTypeClaimLifecycle.allocationSize(value.lifecycle) ++ FfiConverterOptionalUInt32.allocationSize(value.ttlSecondsAfterCreated);++ }+ };+ return new FFIConverter();})();export type OsGymSandboxClaimCondition = {- type?: string;- status?: string;- reason?: string;- message?: string;- lastTransitionTime?: string;-};+ type?: string,+ status?: string,+ reason?: string,+ message?: string,+ lastTransitionTime?: string+}/*** Generated factory for {@link OsGymSandboxClaimCondition} record objects.*/export const OsGymSandboxClaimCondition = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<- OsGymSandboxClaimCondition,- ReturnType<typeof defaults>- >(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () =>- Object.freeze(defaults()) as Partial<OsGymSandboxClaimCondition>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<OsGymSandboxClaimCondition, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<OsGymSandboxClaimCondition>,+ });})();const FfiConverterTypeOSGymSandboxClaimCondition = (() => {- type TypeName = OsGymSandboxClaimCondition;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- type: FfiConverterOptionalString.read(from),- status: FfiConverterOptionalString.read(from),- reason: FfiConverterOptionalString.read(from),- message: FfiConverterOptionalString.read(from),- lastTransitionTime: FfiConverterOptionalString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterOptionalString.write(value.type, into);- FfiConverterOptionalString.write(value.status, into);- FfiConverterOptionalString.write(value.reason, into);- FfiConverterOptionalString.write(value.message, into);- FfiConverterOptionalString.write(value.lastTransitionTime, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterOptionalString.allocationSize(value.type) +- FfiConverterOptionalString.allocationSize(value.status) +- FfiConverterOptionalString.allocationSize(value.reason) +- FfiConverterOptionalString.allocationSize(value.message) +- FfiConverterOptionalString.allocationSize(value.lastTransitionTime)- );- }- }- return new FFIConverter();+ type TypeName = OsGymSandboxClaimCondition;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ type: FfiConverterOptionalString.read(from),+ status: FfiConverterOptionalString.read(from),+ reason: FfiConverterOptionalString.read(from),+ message: FfiConverterOptionalString.read(from),+ lastTransitionTime: FfiConverterOptionalString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterOptionalString.write(value.type, into);+ FfiConverterOptionalString.write(value.status, into);+ FfiConverterOptionalString.write(value.reason, into);+ FfiConverterOptionalString.write(value.message, into);+ FfiConverterOptionalString.write(value.lastTransitionTime, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterOptionalString.allocationSize(value.type) ++ FfiConverterOptionalString.allocationSize(value.status) ++ FfiConverterOptionalString.allocationSize(value.reason) ++ FfiConverterOptionalString.allocationSize(value.message) ++ FfiConverterOptionalString.allocationSize(value.lastTransitionTime);++ }+ };+ return new FFIConverter();})();export type OsGymSandboxClaimSandbox = {- name?: string;- service?: string;-};+ name?: string,+ service?: string+}/*** Generated factory for {@link OsGymSandboxClaimSandbox} record objects.*/export const OsGymSandboxClaimSandbox = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<- OsGymSandboxClaimSandbox,- ReturnType<typeof defaults>- >(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () =>- Object.freeze(defaults()) as Partial<OsGymSandboxClaimSandbox>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<OsGymSandboxClaimSandbox, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<OsGymSandboxClaimSandbox>,+ });})();const FfiConverterTypeOSGymSandboxClaimSandbox = (() => {- type TypeName = OsGymSandboxClaimSandbox;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- name: FfiConverterOptionalString.read(from),- service: FfiConverterOptionalString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterOptionalString.write(value.name, into);- FfiConverterOptionalString.write(value.service, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterOptionalString.allocationSize(value.name) +- FfiConverterOptionalString.allocationSize(value.service)- );- }- }- return new FFIConverter();+ type TypeName = OsGymSandboxClaimSandbox;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ name: FfiConverterOptionalString.read(from),+ service: FfiConverterOptionalString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterOptionalString.write(value.name, into);+ FfiConverterOptionalString.write(value.service, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterOptionalString.allocationSize(value.name) ++ FfiConverterOptionalString.allocationSize(value.service);++ }+ };+ return new FFIConverter();})();export type OsGymSandboxClaimStatus = {- phase?: string;- conditions?: Array<OsGymSandboxClaimCondition>;- sandbox?: OsGymSandboxClaimSandbox;-};+ phase?: string,+ conditions?: Array<OsGymSandboxClaimCondition>,+ sandbox?: OsGymSandboxClaimSandbox+}/*** Generated factory for {@link OsGymSandboxClaimStatus} record objects.*/export const OsGymSandboxClaimStatus = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<- OsGymSandboxClaimStatus,- ReturnType<typeof defaults>- >(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () =>- Object.freeze(defaults()) as Partial<OsGymSandboxClaimStatus>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<OsGymSandboxClaimStatus, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<OsGymSandboxClaimStatus>,+ });})();const FfiConverterTypeOSGymSandboxClaimStatus = (() => {- type TypeName = OsGymSandboxClaimStatus;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- phase: FfiConverterOptionalString.read(from),- conditions:- FfiConverterOptionalSequenceTypeOSGymSandboxClaimCondition.read(from),- sandbox: FfiConverterOptionalTypeOSGymSandboxClaimSandbox.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterOptionalString.write(value.phase, into);- FfiConverterOptionalSequenceTypeOSGymSandboxClaimCondition.write(- value.conditions,- into,- );- FfiConverterOptionalTypeOSGymSandboxClaimSandbox.write(- value.sandbox,- into,- );- }- allocationSize(value: TypeName): number {- return (- FfiConverterOptionalString.allocationSize(value.phase) +- FfiConverterOptionalSequenceTypeOSGymSandboxClaimCondition.allocationSize(- value.conditions,- ) +- FfiConverterOptionalTypeOSGymSandboxClaimSandbox.allocationSize(- value.sandbox,- )- );- }- }- return new FFIConverter();+ type TypeName = OsGymSandboxClaimStatus;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ phase: FfiConverterOptionalString.read(from),+ conditions: FfiConverterOptionalSequenceTypeOSGymSandboxClaimCondition.read(from),+ sandbox: FfiConverterOptionalTypeOSGymSandboxClaimSandbox.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterOptionalString.write(value.phase, into);+ FfiConverterOptionalSequenceTypeOSGymSandboxClaimCondition.write(value.conditions, into);+ FfiConverterOptionalTypeOSGymSandboxClaimSandbox.write(value.sandbox, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterOptionalString.allocationSize(value.phase) ++ FfiConverterOptionalSequenceTypeOSGymSandboxClaimCondition.allocationSize(value.conditions) ++ FfiConverterOptionalTypeOSGymSandboxClaimSandbox.allocationSize(value.sandbox);++ }+ };+ return new FFIConverter();})();export enum RuntimeKind {- Kubevirt,- Macos,- Gvisor,+ Kubevirt,+ Macos,+ Gvisor}const FfiConverterTypeRuntimeKind = (() => {- const ordinalConverter = FfiConverterInt32;- type TypeName = RuntimeKind;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- switch (ordinalConverter.read(from)) {- case 1:- return RuntimeKind.Kubevirt;- case 2:- return RuntimeKind.Macos;- case 3:- return RuntimeKind.Gvisor;- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- write(value: TypeName, into: RustBuffer): void {- switch (value) {- case RuntimeKind.Kubevirt:- return ordinalConverter.write(1, into);- case RuntimeKind.Macos:- return ordinalConverter.write(2, into);- case RuntimeKind.Gvisor:- return ordinalConverter.write(3, into);- }- }- allocationSize(value: TypeName): number {- return ordinalConverter.allocationSize(0);+ const ordinalConverter = FfiConverterInt32;+ type TypeName = RuntimeKind;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ switch (ordinalConverter.read(from)) {+ case 1: return RuntimeKind.Kubevirt;+ case 2: return RuntimeKind.Macos;+ case 3: return RuntimeKind.Gvisor;+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ write(value: TypeName, into: RustBuffer): void {+ switch (value) {+ case RuntimeKind.Kubevirt: return ordinalConverter.write(1, into);+ case RuntimeKind.Macos: return ordinalConverter.write(2, into);+ case RuntimeKind.Gvisor: return ordinalConverter.write(3, into);+ }+ }+ allocationSize(value: TypeName): number {+ return ordinalConverter.allocationSize(0);+ }}- }- return new FFIConverter();+ return new FFIConverter();})();export interface PreservedJsonLike {- toJson(): string;++ toJson(): string;}/*** @deprecated Use `PreservedJsonLike` instead.*/export type PreservedJsonInterface = PreservedJsonLike;-export class PreservedJson- extends UniffiAbstractObject- implements PreservedJsonLike-{- readonly [uniffiTypeNameSymbol] = "PreservedJson";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- // No primary constructor declared for this class.- private constructor(pointer: UniffiHandle) {++export class PreservedJson extends UniffiAbstractObject implements PreservedJsonLike {++ readonly [uniffiTypeNameSymbol] = "PreservedJson";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ // No primary constructor declared for this class.+private constructor(pointer: UniffiHandle) {super();this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypePreservedJsonObjectFactory.bless(pointer);- }+ this[destructorGuardSymbol] = uniffiTypePreservedJsonObjectFactory.bless(pointer);+}+++ static fromJson(value: string): PreservedJsonLike /*throws*/ {+ return FfiConverterTypePreservedJson.lift(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeJsonValueError.lift.bind(FfiConverterTypeJsonValueError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_preservedjson_from_json(+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- static fromJson(value: string): PreservedJsonLike /*throws*/ {- return FfiConverterTypePreservedJson.lift(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeJsonValueError.lift.bind(- FfiConverterTypeJsonValueError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_preservedjson_from_json(- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- toJson(): string {++ toJson(): string {return ((__rb: Uint8Array) => {- try {- return FfiConverterString.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_preservedjson_to_json(- uniffiTypePreservedJsonObjectFactory.clonePointer(this),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ try {+ return FfiConverterString.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_preservedjson_to_json(+ uniffiTypePreservedJsonObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }+++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypePreservedJsonObjectFactory.pointer(this);+ uniffiTypePreservedJsonObjectFactory.freePointer(pointer);+ uniffiTypePreservedJsonObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }+ }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer = uniffiTypePreservedJsonObjectFactory.pointer(this);- uniffiTypePreservedJsonObjectFactory.freePointer(pointer);- uniffiTypePreservedJsonObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+ static instanceOf(obj_: any): obj_ is PreservedJson {+ return uniffiTypePreservedJsonObjectFactory.isConcreteType(obj_);}- }- static instanceOf(obj_: any): obj_ is PreservedJson {- return uniffiTypePreservedJsonObjectFactory.isConcreteType(obj_);- }+}-const uniffiTypePreservedJsonObjectFactory: UniffiObjectFactory<PreservedJsonLike> =- (() => {+const uniffiTypePreservedJsonObjectFactory: UniffiObjectFactory<PreservedJsonLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypePreservedJsonObjectFactory.freePointer(heldValue);- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypePreservedJsonObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): PreservedJsonLike {+ create(pointer: UniffiHandle): PreservedJsonLike {const instance = Object.create(PreservedJson.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "PreservedJson";return instance;- },+ },- bless(p: UniffiHandle): UniffiGcObject {++ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: PreservedJsonLike): UniffiHandle {+ pointer(obj_: PreservedJsonLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: PreservedJsonLike): UniffiHandle {+ clonePointer(obj_: PreservedJsonLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_preservedjson(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_preservedjson(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_preservedjson(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_preservedjson(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is PreservedJsonLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "PreservedJson"- );- },- };- })();-const FfiConverterTypePreservedJson = new FfiConverterObject(- uniffiTypePreservedJsonObjectFactory,-);+ isConcreteType(obj_: any): obj_ is PreservedJsonLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "PreservedJson";+ },+}})();+const FfiConverterTypePreservedJson = new FfiConverterObject(uniffiTypePreservedJsonObjectFactory);export enum ImagePullPolicy {- Always,- IfNotPresent,- Never,+ Always,+ IfNotPresent,+ Never}const FfiConverterTypeImagePullPolicy = (() => {- const ordinalConverter = FfiConverterInt32;- type TypeName = ImagePullPolicy;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- switch (ordinalConverter.read(from)) {- case 1:- return ImagePullPolicy.Always;- case 2:- return ImagePullPolicy.IfNotPresent;- case 3:- return ImagePullPolicy.Never;- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- write(value: TypeName, into: RustBuffer): void {- switch (value) {- case ImagePullPolicy.Always:- return ordinalConverter.write(1, into);- case ImagePullPolicy.IfNotPresent:- return ordinalConverter.write(2, into);- case ImagePullPolicy.Never:- return ordinalConverter.write(3, into);- }- }- allocationSize(value: TypeName): number {- return ordinalConverter.allocationSize(0);+ const ordinalConverter = FfiConverterInt32;+ type TypeName = ImagePullPolicy;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ switch (ordinalConverter.read(from)) {+ case 1: return ImagePullPolicy.Always;+ case 2: return ImagePullPolicy.IfNotPresent;+ case 3: return ImagePullPolicy.Never;+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ write(value: TypeName, into: RustBuffer): void {+ switch (value) {+ case ImagePullPolicy.Always: return ordinalConverter.write(1, into);+ case ImagePullPolicy.IfNotPresent: return ordinalConverter.write(2, into);+ case ImagePullPolicy.Never: return ordinalConverter.write(3, into);+ }+ }+ allocationSize(value: TypeName): number {+ return ordinalConverter.allocationSize(0);+ }}- }- return new FFIConverter();+ return new FFIConverter();})();export enum Firmware {- Bios,- Efi,+ Bios,+ Efi}const FfiConverterTypeFirmware = (() => {- const ordinalConverter = FfiConverterInt32;- type TypeName = Firmware;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- switch (ordinalConverter.read(from)) {- case 1:- return Firmware.Bios;- case 2:- return Firmware.Efi;- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- write(value: TypeName, into: RustBuffer): void {- switch (value) {- case Firmware.Bios:- return ordinalConverter.write(1, into);- case Firmware.Efi:- return ordinalConverter.write(2, into);- }- }- allocationSize(value: TypeName): number {- return ordinalConverter.allocationSize(0);+ const ordinalConverter = FfiConverterInt32;+ type TypeName = Firmware;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ switch (ordinalConverter.read(from)) {+ case 1: return Firmware.Bios;+ case 2: return Firmware.Efi;+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ write(value: TypeName, into: RustBuffer): void {+ switch (value) {+ case Firmware.Bios: return ordinalConverter.write(1, into);+ case Firmware.Efi: return ordinalConverter.write(2, into);+ }+ }+ allocationSize(value: TypeName): number {+ return ordinalConverter.allocationSize(0);+ }}- }- return new FFIConverter();+ return new FFIConverter();})();export enum ServiceProtocol {- Tcp,- Udp,+ Tcp,+ Udp}const FfiConverterTypeServiceProtocol = (() => {- const ordinalConverter = FfiConverterInt32;- type TypeName = ServiceProtocol;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- switch (ordinalConverter.read(from)) {- case 1:- return ServiceProtocol.Tcp;- case 2:- return ServiceProtocol.Udp;- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- write(value: TypeName, into: RustBuffer): void {- switch (value) {- case ServiceProtocol.Tcp:- return ordinalConverter.write(1, into);- case ServiceProtocol.Udp:- return ordinalConverter.write(2, into);- }- }- allocationSize(value: TypeName): number {- return ordinalConverter.allocationSize(0);+ const ordinalConverter = FfiConverterInt32;+ type TypeName = ServiceProtocol;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ switch (ordinalConverter.read(from)) {+ case 1: return ServiceProtocol.Tcp;+ case 2: return ServiceProtocol.Udp;+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ write(value: TypeName, into: RustBuffer): void {+ switch (value) {+ case ServiceProtocol.Tcp: return ordinalConverter.write(1, into);+ case ServiceProtocol.Udp: return ordinalConverter.write(2, into);+ }+ }+ allocationSize(value: TypeName): number {+ return ordinalConverter.allocationSize(0);+ }}- }- return new FFIConverter();+ return new FFIConverter();})();export type SandboxService = {- name: string;- targetPort: number;- protocol?: ServiceProtocol;-};+ name: string,+ targetPort: number,+ protocol?: ServiceProtocol+}/*** Generated factory for {@link SandboxService} record objects.*/export const SandboxService = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<SandboxService, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<SandboxService>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<SandboxService, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<SandboxService>,+ });})();const FfiConverterTypeSandboxService = (() => {- type TypeName = SandboxService;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- name: FfiConverterString.read(from),- targetPort: FfiConverterUInt16.read(from),- protocol: FfiConverterOptionalTypeServiceProtocol.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.name, into);- FfiConverterUInt16.write(value.targetPort, into);- FfiConverterOptionalTypeServiceProtocol.write(value.protocol, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.name) +- FfiConverterUInt16.allocationSize(value.targetPort) +- FfiConverterOptionalTypeServiceProtocol.allocationSize(value.protocol)- );- }- }- return new FFIConverter();+ type TypeName = SandboxService;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ name: FfiConverterString.read(from),+ targetPort: FfiConverterUInt16.read(from),+ protocol: FfiConverterOptionalTypeServiceProtocol.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.name, into);+ FfiConverterUInt16.write(value.targetPort, into);+ FfiConverterOptionalTypeServiceProtocol.write(value.protocol, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.name) ++ FfiConverterUInt16.allocationSize(value.targetPort) ++ FfiConverterOptionalTypeServiceProtocol.allocationSize(value.protocol);++ }+ };+ return new FFIConverter();})();export type OidcConfig = {- credentialsSecret: string;- tokenUrl: string;- awsRoleArn?: string;- awsRegion?: string;- refreshIntervalSeconds?: number;-};+ credentialsSecret: string,+ tokenUrl: string,+ awsRoleArn?: string,+ awsRegion?: string,+ refreshIntervalSeconds?: number+}/*** Generated factory for {@link OidcConfig} record objects.*/export const OidcConfig = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<OidcConfig, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<OidcConfig>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<OidcConfig, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<OidcConfig>,+ });})();const FfiConverterTypeOidcConfig = (() => {- type TypeName = OidcConfig;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- credentialsSecret: FfiConverterString.read(from),- tokenUrl: FfiConverterString.read(from),- awsRoleArn: FfiConverterOptionalString.read(from),- awsRegion: FfiConverterOptionalString.read(from),- refreshIntervalSeconds: FfiConverterOptionalUInt32.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.credentialsSecret, into);- FfiConverterString.write(value.tokenUrl, into);- FfiConverterOptionalString.write(value.awsRoleArn, into);- FfiConverterOptionalString.write(value.awsRegion, into);- FfiConverterOptionalUInt32.write(value.refreshIntervalSeconds, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.credentialsSecret) +- FfiConverterString.allocationSize(value.tokenUrl) +- FfiConverterOptionalString.allocationSize(value.awsRoleArn) +- FfiConverterOptionalString.allocationSize(value.awsRegion) +- FfiConverterOptionalUInt32.allocationSize(value.refreshIntervalSeconds)- );- }- }- return new FFIConverter();+ type TypeName = OidcConfig;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ credentialsSecret: FfiConverterString.read(from),+ tokenUrl: FfiConverterString.read(from),+ awsRoleArn: FfiConverterOptionalString.read(from),+ awsRegion: FfiConverterOptionalString.read(from),+ refreshIntervalSeconds: FfiConverterOptionalUInt32.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.credentialsSecret, into);+ FfiConverterString.write(value.tokenUrl, into);+ FfiConverterOptionalString.write(value.awsRoleArn, into);+ FfiConverterOptionalString.write(value.awsRegion, into);+ FfiConverterOptionalUInt32.write(value.refreshIntervalSeconds, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.credentialsSecret) ++ FfiConverterString.allocationSize(value.tokenUrl) ++ FfiConverterOptionalString.allocationSize(value.awsRoleArn) ++ FfiConverterOptionalString.allocationSize(value.awsRegion) ++ FfiConverterOptionalUInt32.allocationSize(value.refreshIntervalSeconds);++ }+ };+ return new FFIConverter();})();export type VmTemplate = {- containerDiskImage: string;- command?: Array<string>;- runtime?: RuntimeKind;- runtimeClassName?: string;- nodeSelector?: Map<string, string>;- tolerations?: Array<PreservedJsonLike>;- imagePullPolicy?: ImagePullPolicy;- imagePullSecret?: string;- cpuCores?: number;- memory?: string;- firmware?: Firmware;- nestedVirtualization?: boolean;- probes?: PreservedJsonLike;- services?: Array<SandboxService>;- oidc?: OidcConfig;-};+ containerDiskImage: string,+ command?: Array<string>,+ runtime?: RuntimeKind,+ runtimeClassName?: string,+ nodeSelector?: Map<string, string>,+ tolerations?: Array<PreservedJsonLike>,+ imagePullPolicy?: ImagePullPolicy,+ imagePullSecret?: string,+ cpuCores?: number,+ memory?: string,+ firmware?: Firmware,+ nestedVirtualization?: boolean,+ probes?: PreservedJsonLike,+ services?: Array<SandboxService>,+ oidc?: OidcConfig+}/*** Generated factory for {@link VmTemplate} record objects.*/export const VmTemplate = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<VmTemplate, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<VmTemplate>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<VmTemplate, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<VmTemplate>,+ });})();const FfiConverterTypeVmTemplate = (() => {- type TypeName = VmTemplate;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- containerDiskImage: FfiConverterString.read(from),- command: FfiConverterOptionalSequenceString.read(from),- runtime: FfiConverterOptionalTypeRuntimeKind.read(from),- runtimeClassName: FfiConverterOptionalString.read(from),- nodeSelector: FfiConverterOptionalMapStringString.read(from),- tolerations: FfiConverterOptionalSequenceTypePreservedJson.read(from),- imagePullPolicy: FfiConverterOptionalTypeImagePullPolicy.read(from),- imagePullSecret: FfiConverterOptionalString.read(from),- cpuCores: FfiConverterOptionalUInt32.read(from),- memory: FfiConverterOptionalString.read(from),- firmware: FfiConverterOptionalTypeFirmware.read(from),- nestedVirtualization: FfiConverterOptionalBoolean.read(from),- probes: FfiConverterOptionalTypePreservedJson.read(from),- services: FfiConverterOptionalSequenceTypeSandboxService.read(from),- oidc: FfiConverterOptionalTypeOidcConfig.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.containerDiskImage, into);- FfiConverterOptionalSequenceString.write(value.command, into);- FfiConverterOptionalTypeRuntimeKind.write(value.runtime, into);- FfiConverterOptionalString.write(value.runtimeClassName, into);- FfiConverterOptionalMapStringString.write(value.nodeSelector, into);- FfiConverterOptionalSequenceTypePreservedJson.write(- value.tolerations,- into,- );- FfiConverterOptionalTypeImagePullPolicy.write(- value.imagePullPolicy,- into,- );- FfiConverterOptionalString.write(value.imagePullSecret, into);- FfiConverterOptionalUInt32.write(value.cpuCores, into);- FfiConverterOptionalString.write(value.memory, into);- FfiConverterOptionalTypeFirmware.write(value.firmware, into);- FfiConverterOptionalBoolean.write(value.nestedVirtualization, into);- FfiConverterOptionalTypePreservedJson.write(value.probes, into);- FfiConverterOptionalSequenceTypeSandboxService.write(- value.services,- into,- );- FfiConverterOptionalTypeOidcConfig.write(value.oidc, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.containerDiskImage) +- FfiConverterOptionalSequenceString.allocationSize(value.command) +- FfiConverterOptionalTypeRuntimeKind.allocationSize(value.runtime) +- FfiConverterOptionalString.allocationSize(value.runtimeClassName) +- FfiConverterOptionalMapStringString.allocationSize(value.nodeSelector) +- FfiConverterOptionalSequenceTypePreservedJson.allocationSize(- value.tolerations,- ) +- FfiConverterOptionalTypeImagePullPolicy.allocationSize(- value.imagePullPolicy,- ) +- FfiConverterOptionalString.allocationSize(value.imagePullSecret) +- FfiConverterOptionalUInt32.allocationSize(value.cpuCores) +- FfiConverterOptionalString.allocationSize(value.memory) +- FfiConverterOptionalTypeFirmware.allocationSize(value.firmware) +- FfiConverterOptionalBoolean.allocationSize(value.nestedVirtualization) +- FfiConverterOptionalTypePreservedJson.allocationSize(value.probes) +- FfiConverterOptionalSequenceTypeSandboxService.allocationSize(- value.services,- ) +- FfiConverterOptionalTypeOidcConfig.allocationSize(value.oidc)- );- }- }- return new FFIConverter();+ type TypeName = VmTemplate;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ containerDiskImage: FfiConverterString.read(from),+ command: FfiConverterOptionalSequenceString.read(from),+ runtime: FfiConverterOptionalTypeRuntimeKind.read(from),+ runtimeClassName: FfiConverterOptionalString.read(from),+ nodeSelector: FfiConverterOptionalMapStringString.read(from),+ tolerations: FfiConverterOptionalSequenceTypePreservedJson.read(from),+ imagePullPolicy: FfiConverterOptionalTypeImagePullPolicy.read(from),+ imagePullSecret: FfiConverterOptionalString.read(from),+ cpuCores: FfiConverterOptionalUInt32.read(from),+ memory: FfiConverterOptionalString.read(from),+ firmware: FfiConverterOptionalTypeFirmware.read(from),+ nestedVirtualization: FfiConverterOptionalBoolean.read(from),+ probes: FfiConverterOptionalTypePreservedJson.read(from),+ services: FfiConverterOptionalSequenceTypeSandboxService.read(from),+ oidc: FfiConverterOptionalTypeOidcConfig.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.containerDiskImage, into);+ FfiConverterOptionalSequenceString.write(value.command, into);+ FfiConverterOptionalTypeRuntimeKind.write(value.runtime, into);+ FfiConverterOptionalString.write(value.runtimeClassName, into);+ FfiConverterOptionalMapStringString.write(value.nodeSelector, into);+ FfiConverterOptionalSequenceTypePreservedJson.write(value.tolerations, into);+ FfiConverterOptionalTypeImagePullPolicy.write(value.imagePullPolicy, into);+ FfiConverterOptionalString.write(value.imagePullSecret, into);+ FfiConverterOptionalUInt32.write(value.cpuCores, into);+ FfiConverterOptionalString.write(value.memory, into);+ FfiConverterOptionalTypeFirmware.write(value.firmware, into);+ FfiConverterOptionalBoolean.write(value.nestedVirtualization, into);+ FfiConverterOptionalTypePreservedJson.write(value.probes, into);+ FfiConverterOptionalSequenceTypeSandboxService.write(value.services, into);+ FfiConverterOptionalTypeOidcConfig.write(value.oidc, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.containerDiskImage) ++ FfiConverterOptionalSequenceString.allocationSize(value.command) ++ FfiConverterOptionalTypeRuntimeKind.allocationSize(value.runtime) ++ FfiConverterOptionalString.allocationSize(value.runtimeClassName) ++ FfiConverterOptionalMapStringString.allocationSize(value.nodeSelector) ++ FfiConverterOptionalSequenceTypePreservedJson.allocationSize(value.tolerations) ++ FfiConverterOptionalTypeImagePullPolicy.allocationSize(value.imagePullPolicy) ++ FfiConverterOptionalString.allocationSize(value.imagePullSecret) ++ FfiConverterOptionalUInt32.allocationSize(value.cpuCores) ++ FfiConverterOptionalString.allocationSize(value.memory) ++ FfiConverterOptionalTypeFirmware.allocationSize(value.firmware) ++ FfiConverterOptionalBoolean.allocationSize(value.nestedVirtualization) ++ FfiConverterOptionalTypePreservedJson.allocationSize(value.probes) ++ FfiConverterOptionalSequenceTypeSandboxService.allocationSize(value.services) ++ FfiConverterOptionalTypeOidcConfig.allocationSize(value.oidc);++ }+ };+ return new FFIConverter();})();export type OsGymSandboxSpec = {- vmTemplate: VmTemplate;-};+ vmTemplate: VmTemplate+}/*** Generated factory for {@link OsGymSandboxSpec} record objects.*/export const OsGymSandboxSpec = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<OsGymSandboxSpec, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<OsGymSandboxSpec>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<OsGymSandboxSpec, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<OsGymSandboxSpec>,+ });})();const FfiConverterTypeOSGymSandboxSpec = (() => {- type TypeName = OsGymSandboxSpec;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- vmTemplate: FfiConverterTypeVmTemplate.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterTypeVmTemplate.write(value.vmTemplate, into);- }- allocationSize(value: TypeName): number {- return FfiConverterTypeVmTemplate.allocationSize(value.vmTemplate);- }- }- return new FFIConverter();+ type TypeName = OsGymSandboxSpec;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ vmTemplate: FfiConverterTypeVmTemplate.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterTypeVmTemplate.write(value.vmTemplate, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterTypeVmTemplate.allocationSize(value.vmTemplate);++ }+ };+ return new FFIConverter();})();export type OsGymSandboxStatus = {- phase?: string;- runtime?: string;- ready?: boolean;- vmName?: string;- service?: string;- message?: string;- resetIssuedAt?: string;- resetVmiUid?: string;-};+ phase?: string,+ runtime?: string,+ ready?: boolean,+ vmName?: string,+ service?: string,+ message?: string,+ resetIssuedAt?: string,+ resetVmiUid?: string+}/*** Generated factory for {@link OsGymSandboxStatus} record objects.*/export const OsGymSandboxStatus = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<OsGymSandboxStatus, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<OsGymSandboxStatus>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<OsGymSandboxStatus, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<OsGymSandboxStatus>,+ });})();const FfiConverterTypeOSGymSandboxStatus = (() => {- type TypeName = OsGymSandboxStatus;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- phase: FfiConverterOptionalString.read(from),- runtime: FfiConverterOptionalString.read(from),- ready: FfiConverterOptionalBoolean.read(from),- vmName: FfiConverterOptionalString.read(from),- service: FfiConverterOptionalString.read(from),- message: FfiConverterOptionalString.read(from),- resetIssuedAt: FfiConverterOptionalString.read(from),- resetVmiUid: FfiConverterOptionalString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterOptionalString.write(value.phase, into);- FfiConverterOptionalString.write(value.runtime, into);- FfiConverterOptionalBoolean.write(value.ready, into);- FfiConverterOptionalString.write(value.vmName, into);- FfiConverterOptionalString.write(value.service, into);- FfiConverterOptionalString.write(value.message, into);- FfiConverterOptionalString.write(value.resetIssuedAt, into);- FfiConverterOptionalString.write(value.resetVmiUid, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterOptionalString.allocationSize(value.phase) +- FfiConverterOptionalString.allocationSize(value.runtime) +- FfiConverterOptionalBoolean.allocationSize(value.ready) +- FfiConverterOptionalString.allocationSize(value.vmName) +- FfiConverterOptionalString.allocationSize(value.service) +- FfiConverterOptionalString.allocationSize(value.message) +- FfiConverterOptionalString.allocationSize(value.resetIssuedAt) +- FfiConverterOptionalString.allocationSize(value.resetVmiUid)- );- }- }- return new FFIConverter();+ type TypeName = OsGymSandboxStatus;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ phase: FfiConverterOptionalString.read(from),+ runtime: FfiConverterOptionalString.read(from),+ ready: FfiConverterOptionalBoolean.read(from),+ vmName: FfiConverterOptionalString.read(from),+ service: FfiConverterOptionalString.read(from),+ message: FfiConverterOptionalString.read(from),+ resetIssuedAt: FfiConverterOptionalString.read(from),+ resetVmiUid: FfiConverterOptionalString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterOptionalString.write(value.phase, into);+ FfiConverterOptionalString.write(value.runtime, into);+ FfiConverterOptionalBoolean.write(value.ready, into);+ FfiConverterOptionalString.write(value.vmName, into);+ FfiConverterOptionalString.write(value.service, into);+ FfiConverterOptionalString.write(value.message, into);+ FfiConverterOptionalString.write(value.resetIssuedAt, into);+ FfiConverterOptionalString.write(value.resetVmiUid, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterOptionalString.allocationSize(value.phase) ++ FfiConverterOptionalString.allocationSize(value.runtime) ++ FfiConverterOptionalBoolean.allocationSize(value.ready) ++ FfiConverterOptionalString.allocationSize(value.vmName) ++ FfiConverterOptionalString.allocationSize(value.service) ++ FfiConverterOptionalString.allocationSize(value.message) ++ FfiConverterOptionalString.allocationSize(value.resetIssuedAt) ++ FfiConverterOptionalString.allocationSize(value.resetVmiUid);++ }+ };+ return new FFIConverter();})();export type OsGymSandboxTemplateSpec = {- vmTemplate: VmTemplate;-};+ vmTemplate: VmTemplate+}/*** Generated factory for {@link OsGymSandboxTemplateSpec} record objects.*/export const OsGymSandboxTemplateSpec = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<- OsGymSandboxTemplateSpec,- ReturnType<typeof defaults>- >(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () =>- Object.freeze(defaults()) as Partial<OsGymSandboxTemplateSpec>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<OsGymSandboxTemplateSpec, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<OsGymSandboxTemplateSpec>,+ });})();const FfiConverterTypeOSGymSandboxTemplateSpec = (() => {- type TypeName = OsGymSandboxTemplateSpec;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- vmTemplate: FfiConverterTypeVmTemplate.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterTypeVmTemplate.write(value.vmTemplate, into);- }- allocationSize(value: TypeName): number {- return FfiConverterTypeVmTemplate.allocationSize(value.vmTemplate);- }- }- return new FFIConverter();+ type TypeName = OsGymSandboxTemplateSpec;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ vmTemplate: FfiConverterTypeVmTemplate.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterTypeVmTemplate.write(value.vmTemplate, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterTypeVmTemplate.allocationSize(value.vmTemplate);++ }+ };+ return new FFIConverter();})();export type WarmPoolAutoscaling = {- minPoolSize?: number;- initialPoolSize?: number;- maxPoolSize?: number;-};+ minPoolSize?: number,+ initialPoolSize?: number,+ maxPoolSize?: number+}/*** Generated factory for {@link WarmPoolAutoscaling} record objects.*/export const WarmPoolAutoscaling = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<WarmPoolAutoscaling, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<WarmPoolAutoscaling>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<WarmPoolAutoscaling, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<WarmPoolAutoscaling>,+ });})();const FfiConverterTypeWarmPoolAutoscaling = (() => {- type TypeName = WarmPoolAutoscaling;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- minPoolSize: FfiConverterOptionalUInt32.read(from),- initialPoolSize: FfiConverterOptionalUInt32.read(from),- maxPoolSize: FfiConverterOptionalUInt32.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterOptionalUInt32.write(value.minPoolSize, into);- FfiConverterOptionalUInt32.write(value.initialPoolSize, into);- FfiConverterOptionalUInt32.write(value.maxPoolSize, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterOptionalUInt32.allocationSize(value.minPoolSize) +- FfiConverterOptionalUInt32.allocationSize(value.initialPoolSize) +- FfiConverterOptionalUInt32.allocationSize(value.maxPoolSize)- );- }- }- return new FFIConverter();+ type TypeName = WarmPoolAutoscaling;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ minPoolSize: FfiConverterOptionalUInt32.read(from),+ initialPoolSize: FfiConverterOptionalUInt32.read(from),+ maxPoolSize: FfiConverterOptionalUInt32.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterOptionalUInt32.write(value.minPoolSize, into);+ FfiConverterOptionalUInt32.write(value.initialPoolSize, into);+ FfiConverterOptionalUInt32.write(value.maxPoolSize, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterOptionalUInt32.allocationSize(value.minPoolSize) ++ FfiConverterOptionalUInt32.allocationSize(value.initialPoolSize) ++ FfiConverterOptionalUInt32.allocationSize(value.maxPoolSize);++ }+ };+ return new FFIConverter();})();export type OsGymSandboxWarmPoolSpec = {- replicas: number;- sandboxTemplateRef: SandboxTemplateRef;- autoscaling?: WarmPoolAutoscaling;- ttlSecondsAfterCreated?: number;-};+ replicas: number,+ sandboxTemplateRef: SandboxTemplateRef,+ autoscaling?: WarmPoolAutoscaling,+ ttlSecondsAfterCreated?: number+}/*** Generated factory for {@link OsGymSandboxWarmPoolSpec} record objects.*/export const OsGymSandboxWarmPoolSpec = (() => {- const defaults = () => ({- ttlSecondsAfterCreated: undefined,- });- const create = (() => {- return uniffiCreateRecord<- OsGymSandboxWarmPoolSpec,- ReturnType<typeof defaults>- >(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () =>- Object.freeze(defaults()) as Partial<OsGymSandboxWarmPoolSpec>,- });+ const defaults = () => ({+ ttlSecondsAfterCreated: undefined+ });+ const create = (() => {+ return uniffiCreateRecord<OsGymSandboxWarmPoolSpec, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<OsGymSandboxWarmPoolSpec>,+ });})();const FfiConverterTypeOSGymSandboxWarmPoolSpec = (() => {- type TypeName = OsGymSandboxWarmPoolSpec;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- replicas: FfiConverterUInt32.read(from),- sandboxTemplateRef: FfiConverterTypeSandboxTemplateRef.read(from),- autoscaling: FfiConverterOptionalTypeWarmPoolAutoscaling.read(from),- ttlSecondsAfterCreated: FfiConverterOptionalUInt32.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterUInt32.write(value.replicas, into);- FfiConverterTypeSandboxTemplateRef.write(value.sandboxTemplateRef, into);- FfiConverterOptionalTypeWarmPoolAutoscaling.write(- value.autoscaling,- into,- );- FfiConverterOptionalUInt32.write(value.ttlSecondsAfterCreated, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterUInt32.allocationSize(value.replicas) +- FfiConverterTypeSandboxTemplateRef.allocationSize(- value.sandboxTemplateRef,- ) +- FfiConverterOptionalTypeWarmPoolAutoscaling.allocationSize(- value.autoscaling,- ) +- FfiConverterOptionalUInt32.allocationSize(value.ttlSecondsAfterCreated)- );- }- }- return new FFIConverter();+ type TypeName = OsGymSandboxWarmPoolSpec;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ replicas: FfiConverterUInt32.read(from),+ sandboxTemplateRef: FfiConverterTypeSandboxTemplateRef.read(from),+ autoscaling: FfiConverterOptionalTypeWarmPoolAutoscaling.read(from),+ ttlSecondsAfterCreated: FfiConverterOptionalUInt32.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterUInt32.write(value.replicas, into);+ FfiConverterTypeSandboxTemplateRef.write(value.sandboxTemplateRef, into);+ FfiConverterOptionalTypeWarmPoolAutoscaling.write(value.autoscaling, into);+ FfiConverterOptionalUInt32.write(value.ttlSecondsAfterCreated, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterUInt32.allocationSize(value.replicas) ++ FfiConverterTypeSandboxTemplateRef.allocationSize(value.sandboxTemplateRef) ++ FfiConverterOptionalTypeWarmPoolAutoscaling.allocationSize(value.autoscaling) ++ FfiConverterOptionalUInt32.allocationSize(value.ttlSecondsAfterCreated);++ }+ };+ return new FFIConverter();})();export type OsGymSandboxWarmPoolStatus = {- replicas?: number;- readyReplicas?: number;- selector?: string;-};+ replicas?: number,+ readyReplicas?: number,+ selector?: string+}/*** Generated factory for {@link OsGymSandboxWarmPoolStatus} record objects.*/export const OsGymSandboxWarmPoolStatus = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<- OsGymSandboxWarmPoolStatus,- ReturnType<typeof defaults>- >(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () =>- Object.freeze(defaults()) as Partial<OsGymSandboxWarmPoolStatus>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<OsGymSandboxWarmPoolStatus, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<OsGymSandboxWarmPoolStatus>,+ });})();const FfiConverterTypeOSGymSandboxWarmPoolStatus = (() => {- type TypeName = OsGymSandboxWarmPoolStatus;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- replicas: FfiConverterOptionalUInt32.read(from),- readyReplicas: FfiConverterOptionalUInt32.read(from),- selector: FfiConverterOptionalString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterOptionalUInt32.write(value.replicas, into);- FfiConverterOptionalUInt32.write(value.readyReplicas, into);- FfiConverterOptionalString.write(value.selector, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterOptionalUInt32.allocationSize(value.replicas) +- FfiConverterOptionalUInt32.allocationSize(value.readyReplicas) +- FfiConverterOptionalString.allocationSize(value.selector)- );- }- }- return new FFIConverter();+ type TypeName = OsGymSandboxWarmPoolStatus;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ replicas: FfiConverterOptionalUInt32.read(from),+ readyReplicas: FfiConverterOptionalUInt32.read(from),+ selector: FfiConverterOptionalString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterOptionalUInt32.write(value.replicas, into);+ FfiConverterOptionalUInt32.write(value.readyReplicas, into);+ FfiConverterOptionalString.write(value.selector, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterOptionalUInt32.allocationSize(value.replicas) ++ FfiConverterOptionalUInt32.allocationSize(value.readyReplicas) ++ FfiConverterOptionalString.allocationSize(value.selector);++ }+ };+ return new FFIConverter();})();+// Error type: JsonValueErrorexport enum JsonValueError_Tags {- Invalid = "Invalid",+ Invalid = "Invalid"}export const JsonValueError = (() => {- type Invalid__interface = {- tag: JsonValueError_Tags.Invalid;- inner: Readonly<{ reason: string }>;- };- class Invalid_ extends UniffiError implements Invalid__interface {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "JsonValueError";- readonly tag = JsonValueError_Tags.Invalid;- readonly inner: Readonly<{ reason: string }>;- constructor(inner: { reason: string }) {- super("JsonValueError", "Invalid");- this.inner = Object.freeze(inner);- }- static new(inner: { reason: string }): Invalid_ {- return new Invalid_(inner);- }+ type Invalid__interface = {+ tag: JsonValueError_Tags.Invalid;+ inner:+Readonly<{reason: string}>+ };+ class Invalid_ extends UniffiError implements Invalid__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "JsonValueError";+ readonly tag = JsonValueError_Tags.Invalid;+ readonly inner:+Readonly<{reason: string}>;+ constructor(+inner: {reason: string }) {+ super("JsonValueError", "Invalid");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {reason: string }): Invalid_ {+ return new Invalid_(inner);+ }++ static instanceOf(obj: any): obj is Invalid_ {+ return obj.tag === JsonValueError_Tags.Invalid;+ }+ static hasInner(obj: any): obj is Invalid_ {+ return Invalid_.instanceOf(obj);+ }++ static getInner(obj: Invalid_):+Readonly<{reason: string}> {+ return obj.inner;+ }- static instanceOf(obj: any): obj is Invalid_ {- return obj.tag === JsonValueError_Tags.Invalid;- }- static hasInner(obj: any): obj is Invalid_ {- return Invalid_.instanceOf(obj);}- static getInner(obj: Invalid_): Readonly<{ reason: string }> {- return obj.inner;+ function instanceOf(obj: any): obj is JsonValueError {+ return obj[uniffiTypeNameSymbol] === "JsonValueError";}- }- function instanceOf(obj: any): obj is JsonValueError {- return obj[uniffiTypeNameSymbol] === "JsonValueError";- }+ return Object.freeze({+ instanceOf,+ Invalid: Invalid_+ });- return Object.freeze({- instanceOf,- Invalid: Invalid_,- });})();-export type JsonValueError = InstanceType<(typeof JsonValueError)["Invalid"]>;+export type JsonValueError = InstanceType<+ typeof JsonValueError['Invalid']+>;// FfiConverter for enum JsonValueErrorconst FfiConverterTypeJsonValueError = (() => {- const ordinalConverter = FfiConverterInt32;- type TypeName = JsonValueError;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- switch (ordinalConverter.read(from)) {- case 1:- return new JsonValueError.Invalid({- reason: FfiConverterString.read(from),- });- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- write(value: TypeName, into: RustBuffer): void {- switch (value.tag) {- case JsonValueError_Tags.Invalid: {- ordinalConverter.write(1, into);- const inner = value.inner;- FfiConverterString.write(inner.reason, into);- return;- }- default:- // Throwing from here means that JsonValueError_Tags hasn't matched an ordinal.- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- allocationSize(value: TypeName): number {- switch (value.tag) {- case JsonValueError_Tags.Invalid: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(1);- size += FfiConverterString.allocationSize(inner.reason);- return size;- }- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }+ const ordinalConverter = FfiConverterInt32;+ type TypeName = JsonValueError;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ switch (ordinalConverter.read(from)) {+ case 1: return new JsonValueError.Invalid({reason: FfiConverterString.read(from) });+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ write(value: TypeName, into: RustBuffer): void {+ switch (value.tag) {+ case JsonValueError_Tags.Invalid: {+ ordinalConverter.write(1, into);+ const inner = value.inner;+ FfiConverterString.write(inner.reason, into);+ return;+ }+ default:+ // Throwing from here means that JsonValueError_Tags hasn't matched an ordinal.+ throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ allocationSize(value: TypeName): number {+ switch (value.tag) {+ case JsonValueError_Tags.Invalid: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(1);+ size += FfiConverterString.allocationSize(inner.reason);+ return size;+ }+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }}- }- return new FFIConverter();+ return new FFIConverter();})();+// Error type: SchemaBuildErrorexport enum SchemaBuildError_Tags {- MissingRequiredField = "MissingRequiredField",+ MissingRequiredField = "MissingRequiredField"}export const SchemaBuildError = (() => {- type MissingRequiredField__interface = {- tag: SchemaBuildError_Tags.MissingRequiredField;- inner: Readonly<{ recordType: string; field: string }>;- };- class MissingRequiredField_- extends UniffiError- implements MissingRequiredField__interface- {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SchemaBuildError";- readonly tag = SchemaBuildError_Tags.MissingRequiredField;- readonly inner: Readonly<{ recordType: string; field: string }>;- constructor(inner: { recordType: string; field: string }) {- super("SchemaBuildError", "MissingRequiredField");-- this.inner = Object.freeze(inner);- }- static new(inner: {- recordType: string;- field: string;- }): MissingRequiredField_ {- return new MissingRequiredField_(inner);- }-- static instanceOf(obj: any): obj is MissingRequiredField_ {- return obj.tag === SchemaBuildError_Tags.MissingRequiredField;- }- static hasInner(obj: any): obj is MissingRequiredField_ {- return MissingRequiredField_.instanceOf(obj);- }-- static getInner(- obj: MissingRequiredField_,- ): Readonly<{ recordType: string; field: string }> {- return obj.inner;++ type MissingRequiredField__interface = {+ tag: SchemaBuildError_Tags.MissingRequiredField;+ inner:+Readonly<{recordType: string; field: string}>+ };+ class MissingRequiredField_ extends UniffiError implements MissingRequiredField__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SchemaBuildError";+ readonly tag = SchemaBuildError_Tags.MissingRequiredField;+ readonly inner:+Readonly<{recordType: string; field: string}>;+ constructor(+inner: {recordType: string; field: string }) {+ super("SchemaBuildError", "MissingRequiredField");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {recordType: string; field: string }): MissingRequiredField_ {+ return new MissingRequiredField_(inner);+ }++ static instanceOf(obj: any): obj is MissingRequiredField_ {+ return obj.tag === SchemaBuildError_Tags.MissingRequiredField;+ }+ static hasInner(obj: any): obj is MissingRequiredField_ {+ return MissingRequiredField_.instanceOf(obj);+ }++ static getInner(obj: MissingRequiredField_):+Readonly<{recordType: string; field: string}> {+ return obj.inner;+ }+}- }- function instanceOf(obj: any): obj is SchemaBuildError {- return obj[uniffiTypeNameSymbol] === "SchemaBuildError";- }+ function instanceOf(obj: any): obj is SchemaBuildError {+ return obj[uniffiTypeNameSymbol] === "SchemaBuildError";+ }++ return Object.freeze({+ instanceOf,+ MissingRequiredField: MissingRequiredField_+ });- return Object.freeze({- instanceOf,- MissingRequiredField: MissingRequiredField_,- });})();export type SchemaBuildError = InstanceType<- (typeof SchemaBuildError)["MissingRequiredField"]+ typeof SchemaBuildError['MissingRequiredField']>;// FfiConverter for enum SchemaBuildErrorconst FfiConverterTypeSchemaBuildError = (() => {- const ordinalConverter = FfiConverterInt32;- type TypeName = SchemaBuildError;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- switch (ordinalConverter.read(from)) {- case 1:- return new SchemaBuildError.MissingRequiredField({- recordType: FfiConverterString.read(from),- field: FfiConverterString.read(from),- });- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- write(value: TypeName, into: RustBuffer): void {- switch (value.tag) {- case SchemaBuildError_Tags.MissingRequiredField: {- ordinalConverter.write(1, into);- const inner = value.inner;- FfiConverterString.write(inner.recordType, into);- FfiConverterString.write(inner.field, into);- return;- }- default:- // Throwing from here means that SchemaBuildError_Tags hasn't matched an ordinal.- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- allocationSize(value: TypeName): number {- switch (value.tag) {- case SchemaBuildError_Tags.MissingRequiredField: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(1);- size += FfiConverterString.allocationSize(inner.recordType);- size += FfiConverterString.allocationSize(inner.field);- return size;- }- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }+ const ordinalConverter = FfiConverterInt32;+ type TypeName = SchemaBuildError;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ switch (ordinalConverter.read(from)) {+ case 1: return new SchemaBuildError.MissingRequiredField({recordType: FfiConverterString.read(from), field: FfiConverterString.read(from) });+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ write(value: TypeName, into: RustBuffer): void {+ switch (value.tag) {+ case SchemaBuildError_Tags.MissingRequiredField: {+ ordinalConverter.write(1, into);+ const inner = value.inner;+ FfiConverterString.write(inner.recordType, into);+ FfiConverterString.write(inner.field, into);+ return;+ }+ default:+ // Throwing from here means that SchemaBuildError_Tags hasn't matched an ordinal.+ throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ allocationSize(value: TypeName): number {+ switch (value.tag) {+ case SchemaBuildError_Tags.MissingRequiredField: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(1);+ size += FfiConverterString.allocationSize(inner.recordType);+ size += FfiConverterString.allocationSize(inner.field);+ return size;+ }+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }}- }- return new FFIConverter();+ return new FFIConverter();})();export interface OsGymSandboxTemplateSpecBuilderLike {- build() /*throws*/ : OsGymSandboxTemplateSpec;- vmTemplate(value: VmTemplate): OsGymSandboxTemplateSpecBuilderLike;++ build() /*throws*/: OsGymSandboxTemplateSpec;+ vmTemplate(value: VmTemplate): OsGymSandboxTemplateSpecBuilderLike;}/*** @deprecated Use `OsGymSandboxTemplateSpecBuilderLike` instead.*/-export type OsGymSandboxTemplateSpecBuilderInterface =- OsGymSandboxTemplateSpecBuilderLike;--export class OsGymSandboxTemplateSpecBuilder- extends UniffiAbstractObject- implements OsGymSandboxTemplateSpecBuilderLike-{- readonly [uniffiTypeNameSymbol] = "OsGymSandboxTemplateSpecBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxtemplatespecbuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- );- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.bless(pointer);- }+export type OsGymSandboxTemplateSpecBuilderInterface = OsGymSandboxTemplateSpecBuilderLike;- build(): OsGymSandboxTemplateSpec /*throws*/ {- return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeOSGymSandboxTemplateSpec.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSchemaBuildError.lift.bind(- FfiConverterTypeSchemaBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_build(- uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.clonePointer(- this,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- vmTemplate(value: VmTemplate): OsGymSandboxTemplateSpecBuilderLike {- return FfiConverterTypeOSGymSandboxTemplateSpecBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_vm_template(- uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterTypeVmTemplate.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),+export class OsGymSandboxTemplateSpecBuilder extends UniffiAbstractObject implements OsGymSandboxTemplateSpecBuilderLike {++ readonly [uniffiTypeNameSymbol] = "OsGymSandboxTemplateSpecBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxtemplatespecbuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.bless(pointer);+ }+- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer =- uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.pointer(this);- uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.freePointer(- pointer,- );- uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+++ build(): OsGymSandboxTemplateSpec /*throws*/ {+ return ((__rb: Uint8Array) => {+ try {+ return FfiConverterTypeOSGymSandboxTemplateSpec.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSchemaBuildError.lift.bind(FfiConverterTypeSchemaBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_build(+ uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ vmTemplate(value: VmTemplate): OsGymSandboxTemplateSpecBuilderLike {+ return FfiConverterTypeOSGymSandboxTemplateSpecBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_vm_template(+ uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeVmTemplate.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }+++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.pointer(this);+ uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.freePointer(pointer);+ uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }}- }- static instanceOf(obj_: any): obj_ is OsGymSandboxTemplateSpecBuilder {- return uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.isConcreteType(- obj_,- );- }+ static instanceOf(obj_: any): obj_ is OsGymSandboxTemplateSpecBuilder {+ return uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory: UniffiObjectFactory<OsGymSandboxTemplateSpecBuilderLike> =- (() => {+const uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory: UniffiObjectFactory<OsGymSandboxTemplateSpecBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.freePointer(- heldValue,- );- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): OsGymSandboxTemplateSpecBuilderLike {- const instance = Object.create(- OsGymSandboxTemplateSpecBuilder.prototype,- );+ create(pointer: UniffiHandle): OsGymSandboxTemplateSpecBuilderLike {+ const instance = Object.create(OsGymSandboxTemplateSpecBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "OsGymSandboxTemplateSpecBuilder";return instance;- },+ },+- bless(p: UniffiHandle): UniffiGcObject {+ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: OsGymSandboxTemplateSpecBuilderLike): UniffiHandle {+ pointer(obj_: OsGymSandboxTemplateSpecBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: OsGymSandboxTemplateSpecBuilderLike): UniffiHandle {+ clonePointer(obj_: OsGymSandboxTemplateSpecBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxtemplatespecbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxtemplatespecbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_osgymsandboxtemplatespecbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_osgymsandboxtemplatespecbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is OsGymSandboxTemplateSpecBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "OsGymSandboxTemplateSpecBuilder"- );- },- };- })();-const FfiConverterTypeOSGymSandboxTemplateSpecBuilder = new FfiConverterObject(- uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory,-);+ isConcreteType(obj_: any): obj_ is OsGymSandboxTemplateSpecBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "OsGymSandboxTemplateSpecBuilder";+ },+}})();+const FfiConverterTypeOSGymSandboxTemplateSpecBuilder = new FfiConverterObject(uniffiTypeOsGymSandboxTemplateSpecBuilderObjectFactory);export interface OsGymSandboxWarmPoolSpecBuilderLike {- autoscaling(value: WarmPoolAutoscaling): OsGymSandboxWarmPoolSpecBuilderLike;- build() /*throws*/ : OsGymSandboxWarmPoolSpec;- replicas(value: number): OsGymSandboxWarmPoolSpecBuilderLike;- sandboxTemplateRef(- value: SandboxTemplateRef,- ): OsGymSandboxWarmPoolSpecBuilderLike;- ttlSecondsAfterCreated(value: number): OsGymSandboxWarmPoolSpecBuilderLike;++ autoscaling(value: WarmPoolAutoscaling): OsGymSandboxWarmPoolSpecBuilderLike;+ build() /*throws*/: OsGymSandboxWarmPoolSpec;+ replicas(value: number): OsGymSandboxWarmPoolSpecBuilderLike;+ sandboxTemplateRef(value: SandboxTemplateRef): OsGymSandboxWarmPoolSpecBuilderLike;+ ttlSecondsAfterCreated(value: number): OsGymSandboxWarmPoolSpecBuilderLike;}/*** @deprecated Use `OsGymSandboxWarmPoolSpecBuilderLike` instead.*/-export type OsGymSandboxWarmPoolSpecBuilderInterface =- OsGymSandboxWarmPoolSpecBuilderLike;--export class OsGymSandboxWarmPoolSpecBuilder- extends UniffiAbstractObject- implements OsGymSandboxWarmPoolSpecBuilderLike-{- readonly [uniffiTypeNameSymbol] = "OsGymSandboxWarmPoolSpecBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxwarmpoolspecbuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- );- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.bless(pointer);- }+export type OsGymSandboxWarmPoolSpecBuilderInterface = OsGymSandboxWarmPoolSpecBuilderLike;- autoscaling(value: WarmPoolAutoscaling): OsGymSandboxWarmPoolSpecBuilderLike {- return FfiConverterTypeOSGymSandboxWarmPoolSpecBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_autoscaling(- uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterTypeWarmPoolAutoscaling.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- build(): OsGymSandboxWarmPoolSpec /*throws*/ {- return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeOSGymSandboxWarmPoolSpec.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSchemaBuildError.lift.bind(- FfiConverterTypeSchemaBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_build(- uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.clonePointer(- this,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+export class OsGymSandboxWarmPoolSpecBuilder extends UniffiAbstractObject implements OsGymSandboxWarmPoolSpecBuilderLike {- replicas(value: number): OsGymSandboxWarmPoolSpecBuilderLike {- return FfiConverterTypeOSGymSandboxWarmPoolSpecBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_replicas(- uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),+ readonly [uniffiTypeNameSymbol] = "OsGymSandboxWarmPoolSpecBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxwarmpoolspecbuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.bless(pointer);+ }+- sandboxTemplateRef(- value: SandboxTemplateRef,- ): OsGymSandboxWarmPoolSpecBuilderLike {- return FfiConverterTypeOSGymSandboxWarmPoolSpecBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref(- uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterTypeSandboxTemplateRef.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- ttlSecondsAfterCreated(value: number): OsGymSandboxWarmPoolSpecBuilderLike {- return FfiConverterTypeOSGymSandboxWarmPoolSpecBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created(- uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer =- uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.pointer(this);- uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.freePointer(- pointer,- );- uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+ autoscaling(value: WarmPoolAutoscaling): OsGymSandboxWarmPoolSpecBuilderLike {+ return FfiConverterTypeOSGymSandboxWarmPoolSpecBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_autoscaling(+ uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeWarmPoolAutoscaling.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));}- }- static instanceOf(obj_: any): obj_ is OsGymSandboxWarmPoolSpecBuilder {- return uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.isConcreteType(- obj_,- );- }+ build(): OsGymSandboxWarmPoolSpec /*throws*/ {+ return ((__rb: Uint8Array) => {+ try {+ return FfiConverterTypeOSGymSandboxWarmPoolSpec.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSchemaBuildError.lift.bind(FfiConverterTypeSchemaBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_build(+ uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ replicas(value: number): OsGymSandboxWarmPoolSpecBuilderLike {+ return FfiConverterTypeOSGymSandboxWarmPoolSpecBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_replicas(+ uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ sandboxTemplateRef(value: SandboxTemplateRef): OsGymSandboxWarmPoolSpecBuilderLike {+ return FfiConverterTypeOSGymSandboxWarmPoolSpecBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref(+ uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeSandboxTemplateRef.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ ttlSecondsAfterCreated(value: number): OsGymSandboxWarmPoolSpecBuilderLike {+ return FfiConverterTypeOSGymSandboxWarmPoolSpecBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created(+ uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }+++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.pointer(this);+ uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.freePointer(pointer);+ uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }+ }++ static instanceOf(obj_: any): obj_ is OsGymSandboxWarmPoolSpecBuilder {+ return uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory: UniffiObjectFactory<OsGymSandboxWarmPoolSpecBuilderLike> =- (() => {+const uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory: UniffiObjectFactory<OsGymSandboxWarmPoolSpecBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.freePointer(- heldValue,- );- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): OsGymSandboxWarmPoolSpecBuilderLike {- const instance = Object.create(- OsGymSandboxWarmPoolSpecBuilder.prototype,- );+ create(pointer: UniffiHandle): OsGymSandboxWarmPoolSpecBuilderLike {+ const instance = Object.create(OsGymSandboxWarmPoolSpecBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "OsGymSandboxWarmPoolSpecBuilder";return instance;- },+ },- bless(p: UniffiHandle): UniffiGcObject {++ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: OsGymSandboxWarmPoolSpecBuilderLike): UniffiHandle {+ pointer(obj_: OsGymSandboxWarmPoolSpecBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: OsGymSandboxWarmPoolSpecBuilderLike): UniffiHandle {+ clonePointer(obj_: OsGymSandboxWarmPoolSpecBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxwarmpoolspecbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxwarmpoolspecbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_osgymsandboxwarmpoolspecbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_osgymsandboxwarmpoolspecbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is OsGymSandboxWarmPoolSpecBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "OsGymSandboxWarmPoolSpecBuilder"- );- },- };- })();-const FfiConverterTypeOSGymSandboxWarmPoolSpecBuilder = new FfiConverterObject(- uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory,-);+ isConcreteType(obj_: any): obj_ is OsGymSandboxWarmPoolSpecBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "OsGymSandboxWarmPoolSpecBuilder";+ },+}})();+const FfiConverterTypeOSGymSandboxWarmPoolSpecBuilder = new FfiConverterObject(uniffiTypeOsGymSandboxWarmPoolSpecBuilderObjectFactory);export interface SandboxServiceBuilderLike {- build() /*throws*/ : SandboxService;- name(value: string): SandboxServiceBuilderLike;- protocol(value: ServiceProtocol): SandboxServiceBuilderLike;- targetPort(value: number): SandboxServiceBuilderLike;++ build() /*throws*/: SandboxService;+ name(value: string): SandboxServiceBuilderLike;+ protocol(value: ServiceProtocol): SandboxServiceBuilderLike;+ targetPort(value: number): SandboxServiceBuilderLike;}/*** @deprecated Use `SandboxServiceBuilderLike` instead.*/export type SandboxServiceBuilderInterface = SandboxServiceBuilderLike;-export class SandboxServiceBuilder- extends UniffiAbstractObject- implements SandboxServiceBuilderLike-{- readonly [uniffiTypeNameSymbol] = "SandboxServiceBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_sandboxservicebuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- );- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeSandboxServiceBuilderObjectFactory.bless(pointer);- }- build(): SandboxService /*throws*/ {- return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeSandboxService.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSchemaBuildError.lift.bind(- FfiConverterTypeSchemaBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_build(- uniffiTypeSandboxServiceBuilderObjectFactory.clonePointer(this),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+export class SandboxServiceBuilder extends UniffiAbstractObject implements SandboxServiceBuilderLike {- name(value: string): SandboxServiceBuilderLike {- return FfiConverterTypeSandboxServiceBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_name(- uniffiTypeSandboxServiceBuilderObjectFactory.clonePointer(this),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),+ readonly [uniffiTypeNameSymbol] = "SandboxServiceBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_sandboxservicebuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeSandboxServiceBuilderObjectFactory.bless(pointer);+ }+- protocol(value: ServiceProtocol): SandboxServiceBuilderLike {- return FfiConverterTypeSandboxServiceBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_protocol(- uniffiTypeSandboxServiceBuilderObjectFactory.clonePointer(this),- FfiConverterTypeServiceProtocol.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- targetPort(value: number): SandboxServiceBuilderLike {- return FfiConverterTypeSandboxServiceBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_target_port(- uniffiTypeSandboxServiceBuilderObjectFactory.clonePointer(this),- FfiConverterUInt16.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer =- uniffiTypeSandboxServiceBuilderObjectFactory.pointer(this);- uniffiTypeSandboxServiceBuilderObjectFactory.freePointer(pointer);- uniffiTypeSandboxServiceBuilderObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+ build(): SandboxService /*throws*/ {+ return ((__rb: Uint8Array) => {+ try {+ return FfiConverterTypeSandboxService.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSchemaBuildError.lift.bind(FfiConverterTypeSchemaBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_build(+ uniffiTypeSandboxServiceBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ name(value: string): SandboxServiceBuilderLike {+ return FfiConverterTypeSandboxServiceBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_name(+ uniffiTypeSandboxServiceBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ protocol(value: ServiceProtocol): SandboxServiceBuilderLike {+ return FfiConverterTypeSandboxServiceBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_protocol(+ uniffiTypeSandboxServiceBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeServiceProtocol.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ targetPort(value: number): SandboxServiceBuilderLike {+ return FfiConverterTypeSandboxServiceBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_target_port(+ uniffiTypeSandboxServiceBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt16.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }+++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeSandboxServiceBuilderObjectFactory.pointer(this);+ uniffiTypeSandboxServiceBuilderObjectFactory.freePointer(pointer);+ uniffiTypeSandboxServiceBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }}- }- static instanceOf(obj_: any): obj_ is SandboxServiceBuilder {- return uniffiTypeSandboxServiceBuilderObjectFactory.isConcreteType(obj_);- }+ static instanceOf(obj_: any): obj_ is SandboxServiceBuilder {+ return uniffiTypeSandboxServiceBuilderObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeSandboxServiceBuilderObjectFactory: UniffiObjectFactory<SandboxServiceBuilderLike> =- (() => {+const uniffiTypeSandboxServiceBuilderObjectFactory: UniffiObjectFactory<SandboxServiceBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeSandboxServiceBuilderObjectFactory.freePointer(heldValue);- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeSandboxServiceBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): SandboxServiceBuilderLike {+ create(pointer: UniffiHandle): SandboxServiceBuilderLike {const instance = Object.create(SandboxServiceBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "SandboxServiceBuilder";return instance;- },+ },- bless(p: UniffiHandle): UniffiGcObject {++ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: SandboxServiceBuilderLike): UniffiHandle {+ pointer(obj_: SandboxServiceBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: SandboxServiceBuilderLike): UniffiHandle {+ clonePointer(obj_: SandboxServiceBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_sandboxservicebuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_sandboxservicebuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_sandboxservicebuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_sandboxservicebuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is SandboxServiceBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "SandboxServiceBuilder"- );- },- };- })();-const FfiConverterTypeSandboxServiceBuilder = new FfiConverterObject(- uniffiTypeSandboxServiceBuilderObjectFactory,-);+ isConcreteType(obj_: any): obj_ is SandboxServiceBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "SandboxServiceBuilder";+ },+}})();+const FfiConverterTypeSandboxServiceBuilder = new FfiConverterObject(uniffiTypeSandboxServiceBuilderObjectFactory);export interface SandboxTemplateRefBuilderLike {- build() /*throws*/ : SandboxTemplateRef;- name(value: string): SandboxTemplateRefBuilderLike;++ build() /*throws*/: SandboxTemplateRef;+ name(value: string): SandboxTemplateRefBuilderLike;}/*** @deprecated Use `SandboxTemplateRefBuilderLike` instead.*/export type SandboxTemplateRefBuilderInterface = SandboxTemplateRefBuilderLike;-export class SandboxTemplateRefBuilder- extends UniffiAbstractObject- implements SandboxTemplateRefBuilderLike-{- readonly [uniffiTypeNameSymbol] = "SandboxTemplateRefBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_sandboxtemplaterefbuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- );- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeSandboxTemplateRefBuilderObjectFactory.bless(pointer);- }- build(): SandboxTemplateRef /*throws*/ {- return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeSandboxTemplateRef.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSchemaBuildError.lift.bind(- FfiConverterTypeSchemaBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_build(- uniffiTypeSandboxTemplateRefBuilderObjectFactory.clonePointer(this),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+export class SandboxTemplateRefBuilder extends UniffiAbstractObject implements SandboxTemplateRefBuilderLike {- name(value: string): SandboxTemplateRefBuilderLike {- return FfiConverterTypeSandboxTemplateRefBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_name(- uniffiTypeSandboxTemplateRefBuilderObjectFactory.clonePointer(this),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),+ readonly [uniffiTypeNameSymbol] = "SandboxTemplateRefBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_sandboxtemplaterefbuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeSandboxTemplateRefBuilderObjectFactory.bless(pointer);+ }+++- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer =- uniffiTypeSandboxTemplateRefBuilderObjectFactory.pointer(this);- uniffiTypeSandboxTemplateRefBuilderObjectFactory.freePointer(pointer);- uniffiTypeSandboxTemplateRefBuilderObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+ build(): SandboxTemplateRef /*throws*/ {+ return ((__rb: Uint8Array) => {+ try {+ return FfiConverterTypeSandboxTemplateRef.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSchemaBuildError.lift.bind(FfiConverterTypeSchemaBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_build(+ uniffiTypeSandboxTemplateRefBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ name(value: string): SandboxTemplateRefBuilderLike {+ return FfiConverterTypeSandboxTemplateRefBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_name(+ uniffiTypeSandboxTemplateRefBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }+++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeSandboxTemplateRefBuilderObjectFactory.pointer(this);+ uniffiTypeSandboxTemplateRefBuilderObjectFactory.freePointer(pointer);+ uniffiTypeSandboxTemplateRefBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }}- }- static instanceOf(obj_: any): obj_ is SandboxTemplateRefBuilder {- return uniffiTypeSandboxTemplateRefBuilderObjectFactory.isConcreteType(- obj_,- );- }+ static instanceOf(obj_: any): obj_ is SandboxTemplateRefBuilder {+ return uniffiTypeSandboxTemplateRefBuilderObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeSandboxTemplateRefBuilderObjectFactory: UniffiObjectFactory<SandboxTemplateRefBuilderLike> =- (() => {+const uniffiTypeSandboxTemplateRefBuilderObjectFactory: UniffiObjectFactory<SandboxTemplateRefBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeSandboxTemplateRefBuilderObjectFactory.freePointer(- heldValue,- );- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeSandboxTemplateRefBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): SandboxTemplateRefBuilderLike {+ create(pointer: UniffiHandle): SandboxTemplateRefBuilderLike {const instance = Object.create(SandboxTemplateRefBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "SandboxTemplateRefBuilder";return instance;- },+ },- bless(p: UniffiHandle): UniffiGcObject {++ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: SandboxTemplateRefBuilderLike): UniffiHandle {+ pointer(obj_: SandboxTemplateRefBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: SandboxTemplateRefBuilderLike): UniffiHandle {+ clonePointer(obj_: SandboxTemplateRefBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_sandboxtemplaterefbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_sandboxtemplaterefbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_sandboxtemplaterefbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_sandboxtemplaterefbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is SandboxTemplateRefBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "SandboxTemplateRefBuilder"- );- },- };- })();-const FfiConverterTypeSandboxTemplateRefBuilder = new FfiConverterObject(- uniffiTypeSandboxTemplateRefBuilderObjectFactory,-);+ isConcreteType(obj_: any): obj_ is SandboxTemplateRefBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "SandboxTemplateRefBuilder";+ },+}})();+const FfiConverterTypeSandboxTemplateRefBuilder = new FfiConverterObject(uniffiTypeSandboxTemplateRefBuilderObjectFactory);export interface VmTemplateBuilderLike {- build() /*throws*/ : VmTemplate;- command(value: Array<string>): VmTemplateBuilderLike;- containerDiskImage(value: string): VmTemplateBuilderLike;- cpuCores(value: number): VmTemplateBuilderLike;- firmware(value: Firmware): VmTemplateBuilderLike;- imagePullPolicy(value: ImagePullPolicy): VmTemplateBuilderLike;- imagePullSecret(value: string): VmTemplateBuilderLike;- memory(value: string): VmTemplateBuilderLike;- nestedVirtualization(value: boolean): VmTemplateBuilderLike;- nodeSelector(value: Map<string, string>): VmTemplateBuilderLike;- oidc(value: OidcConfig): VmTemplateBuilderLike;- probes(value: PreservedJsonLike): VmTemplateBuilderLike;- runtime(value: RuntimeKind): VmTemplateBuilderLike;- runtimeClassName(value: string): VmTemplateBuilderLike;- services(value: Array<SandboxService>): VmTemplateBuilderLike;- tolerations(value: Array<PreservedJsonLike>): VmTemplateBuilderLike;++ build() /*throws*/: VmTemplate;+ command(value: Array<string>): VmTemplateBuilderLike;+ containerDiskImage(value: string): VmTemplateBuilderLike;+ cpuCores(value: number): VmTemplateBuilderLike;+ firmware(value: Firmware): VmTemplateBuilderLike;+ imagePullPolicy(value: ImagePullPolicy): VmTemplateBuilderLike;+ imagePullSecret(value: string): VmTemplateBuilderLike;+ memory(value: string): VmTemplateBuilderLike;+ nestedVirtualization(value: boolean): VmTemplateBuilderLike;+ nodeSelector(value: Map<string, string>): VmTemplateBuilderLike;+ oidc(value: OidcConfig): VmTemplateBuilderLike;+ probes(value: PreservedJsonLike): VmTemplateBuilderLike;+ runtime(value: RuntimeKind): VmTemplateBuilderLike;+ runtimeClassName(value: string): VmTemplateBuilderLike;+ services(value: Array<SandboxService>): VmTemplateBuilderLike;+ tolerations(value: Array<PreservedJsonLike>): VmTemplateBuilderLike;}/*** @deprecated Use `VmTemplateBuilderLike` instead.*/export type VmTemplateBuilderInterface = VmTemplateBuilderLike;-export class VmTemplateBuilder- extends UniffiAbstractObject- implements VmTemplateBuilderLike-{- readonly [uniffiTypeNameSymbol] = "VmTemplateBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_vmtemplatebuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- );- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeVmTemplateBuilderObjectFactory.bless(pointer);- }-- build(): VmTemplate /*throws*/ {- return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeVmTemplate.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSchemaBuildError.lift.bind(- FfiConverterTypeSchemaBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_build(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- command(value: Array<string>): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_command(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterSequenceString.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+export class VmTemplateBuilder extends UniffiAbstractObject implements VmTemplateBuilderLike {- containerDiskImage(value: string): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_container_disk_image(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),+ readonly [uniffiTypeNameSymbol] = "VmTemplateBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_vmtemplatebuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- }-- cpuCores(value: number): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_cpu_cores(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }-- firmware(value: Firmware): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_firmware(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterTypeFirmware.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }-- imagePullPolicy(value: ImagePullPolicy): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_policy(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterTypeImagePullPolicy.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }-- imagePullSecret(value: string): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_secret(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }-- memory(value: string): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_memory(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }-- nestedVirtualization(value: boolean): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_nested_virtualization(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterBool.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }-- nodeSelector(value: Map<string, string>): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_node_selector(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterMapStringString.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }-- oidc(value: OidcConfig): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_oidc(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterTypeOidcConfig.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }-- probes(value: PreservedJsonLike): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_probes(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterTypePreservedJson.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeVmTemplateBuilderObjectFactory.bless(pointer);+ }- runtime(value: RuntimeKind): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterTypeRuntimeKind.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- runtimeClassName(value: string): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime_class_name(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- services(value: Array<SandboxService>): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_services(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterSequenceTypeSandboxService.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- tolerations(value: Array<PreservedJsonLike>): VmTemplateBuilderLike {- return FfiConverterTypeVmTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_tolerations(- uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterSequenceTypePreservedJson.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ build(): VmTemplate /*throws*/ {+ return ((__rb: Uint8Array) => {+ try {+ return FfiConverterTypeVmTemplate.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSchemaBuildError.lift.bind(FfiConverterTypeSchemaBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_build(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ command(value: Array<string>): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_command(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterSequenceString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ containerDiskImage(value: string): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_container_disk_image(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ cpuCores(value: number): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_cpu_cores(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ firmware(value: Firmware): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_firmware(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeFirmware.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ imagePullPolicy(value: ImagePullPolicy): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_policy(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeImagePullPolicy.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ imagePullSecret(value: string): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_secret(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ memory(value: string): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_memory(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ nestedVirtualization(value: boolean): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_nested_virtualization(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterBool.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ nodeSelector(value: Map<string, string>): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_node_selector(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterMapStringString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ oidc(value: OidcConfig): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_oidc(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeOidcConfig.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ probes(value: PreservedJsonLike): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_probes(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterTypePreservedJson.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ runtime(value: RuntimeKind): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeRuntimeKind.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ runtimeClassName(value: string): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime_class_name(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ services(value: Array<SandboxService>): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_services(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterSequenceTypeSandboxService.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ tolerations(value: Array<PreservedJsonLike>): VmTemplateBuilderLike {+ return FfiConverterTypeVmTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_tolerations(+ uniffiTypeVmTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterSequenceTypePreservedJson.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }+++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeVmTemplateBuilderObjectFactory.pointer(this);+ uniffiTypeVmTemplateBuilderObjectFactory.freePointer(pointer);+ uniffiTypeVmTemplateBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }+ }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer = uniffiTypeVmTemplateBuilderObjectFactory.pointer(this);- uniffiTypeVmTemplateBuilderObjectFactory.freePointer(pointer);- uniffiTypeVmTemplateBuilderObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+ static instanceOf(obj_: any): obj_ is VmTemplateBuilder {+ return uniffiTypeVmTemplateBuilderObjectFactory.isConcreteType(obj_);}- }- static instanceOf(obj_: any): obj_ is VmTemplateBuilder {- return uniffiTypeVmTemplateBuilderObjectFactory.isConcreteType(obj_);- }+}-const uniffiTypeVmTemplateBuilderObjectFactory: UniffiObjectFactory<VmTemplateBuilderLike> =- (() => {+const uniffiTypeVmTemplateBuilderObjectFactory: UniffiObjectFactory<VmTemplateBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeVmTemplateBuilderObjectFactory.freePointer(heldValue);- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeVmTemplateBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): VmTemplateBuilderLike {+ create(pointer: UniffiHandle): VmTemplateBuilderLike {const instance = Object.create(VmTemplateBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "VmTemplateBuilder";return instance;- },+ },+- bless(p: UniffiHandle): UniffiGcObject {+ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: VmTemplateBuilderLike): UniffiHandle {+ pointer(obj_: VmTemplateBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: VmTemplateBuilderLike): UniffiHandle {+ clonePointer(obj_: VmTemplateBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_vmtemplatebuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_vmtemplatebuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_vmtemplatebuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_vmtemplatebuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is VmTemplateBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "VmTemplateBuilder"- );- },- };- })();-const FfiConverterTypeVmTemplateBuilder = new FfiConverterObject(- uniffiTypeVmTemplateBuilderObjectFactory,-);+ isConcreteType(obj_: any): obj_ is VmTemplateBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "VmTemplateBuilder";+ },+}})();+const FfiConverterTypeVmTemplateBuilder = new FfiConverterObject(uniffiTypeVmTemplateBuilderObjectFactory);export interface WarmPoolAutoscalingBuilderLike {- build() /*throws*/ : WarmPoolAutoscaling;- initialPoolSize(value: number): WarmPoolAutoscalingBuilderLike;- maxPoolSize(value: number): WarmPoolAutoscalingBuilderLike;- minPoolSize(value: number): WarmPoolAutoscalingBuilderLike;++ build() /*throws*/: WarmPoolAutoscaling;+ initialPoolSize(value: number): WarmPoolAutoscalingBuilderLike;+ maxPoolSize(value: number): WarmPoolAutoscalingBuilderLike;+ minPoolSize(value: number): WarmPoolAutoscalingBuilderLike;}/*** @deprecated Use `WarmPoolAutoscalingBuilderLike` instead.*/-export type WarmPoolAutoscalingBuilderInterface =- WarmPoolAutoscalingBuilderLike;--export class WarmPoolAutoscalingBuilder- extends UniffiAbstractObject- implements WarmPoolAutoscalingBuilderLike-{- readonly [uniffiTypeNameSymbol] = "WarmPoolAutoscalingBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_warmpoolautoscalingbuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- );- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.bless(pointer);- }+export type WarmPoolAutoscalingBuilderInterface = WarmPoolAutoscalingBuilderLike;- build(): WarmPoolAutoscaling /*throws*/ {- return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeWarmPoolAutoscaling.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSchemaBuildError.lift.bind(- FfiConverterTypeSchemaBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_build(- uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.clonePointer(- this,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- initialPoolSize(value: number): WarmPoolAutoscalingBuilderLike {- return FfiConverterTypeWarmPoolAutoscalingBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_initial_pool_size(- uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+export class WarmPoolAutoscalingBuilder extends UniffiAbstractObject implements WarmPoolAutoscalingBuilderLike {- maxPoolSize(value: number): WarmPoolAutoscalingBuilderLike {- return FfiConverterTypeWarmPoolAutoscalingBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_max_pool_size(- uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),+ readonly [uniffiTypeNameSymbol] = "WarmPoolAutoscalingBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_constructor_warmpoolautoscalingbuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.bless(pointer);+ }- minPoolSize(value: number): WarmPoolAutoscalingBuilderLike {- return FfiConverterTypeWarmPoolAutoscalingBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_min_pool_size(- uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer =- uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.pointer(this);- uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.freePointer(pointer);- uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+++ build(): WarmPoolAutoscaling /*throws*/ {+ return ((__rb: Uint8Array) => {+ try {+ return FfiConverterTypeWarmPoolAutoscaling.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSchemaBuildError.lift.bind(FfiConverterTypeSchemaBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_build(+ uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ initialPoolSize(value: number): WarmPoolAutoscalingBuilderLike {+ return FfiConverterTypeWarmPoolAutoscalingBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_initial_pool_size(+ uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ maxPoolSize(value: number): WarmPoolAutoscalingBuilderLike {+ return FfiConverterTypeWarmPoolAutoscalingBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_max_pool_size(+ uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ minPoolSize(value: number): WarmPoolAutoscalingBuilderLike {+ return FfiConverterTypeWarmPoolAutoscalingBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_min_pool_size(+ uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }+++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.pointer(this);+ uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.freePointer(pointer);+ uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }+ }++ static instanceOf(obj_: any): obj_ is WarmPoolAutoscalingBuilder {+ return uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.isConcreteType(obj_);}- }- static instanceOf(obj_: any): obj_ is WarmPoolAutoscalingBuilder {- return uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.isConcreteType(- obj_,- );- }+}-const uniffiTypeWarmPoolAutoscalingBuilderObjectFactory: UniffiObjectFactory<WarmPoolAutoscalingBuilderLike> =- (() => {+const uniffiTypeWarmPoolAutoscalingBuilderObjectFactory: UniffiObjectFactory<WarmPoolAutoscalingBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.freePointer(- heldValue,- );- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeWarmPoolAutoscalingBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): WarmPoolAutoscalingBuilderLike {+ create(pointer: UniffiHandle): WarmPoolAutoscalingBuilderLike {const instance = Object.create(WarmPoolAutoscalingBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "WarmPoolAutoscalingBuilder";return instance;- },+ },+- bless(p: UniffiHandle): UniffiGcObject {+ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: WarmPoolAutoscalingBuilderLike): UniffiHandle {+ pointer(obj_: WarmPoolAutoscalingBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: WarmPoolAutoscalingBuilderLike): UniffiHandle {+ clonePointer(obj_: WarmPoolAutoscalingBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_warmpoolautoscalingbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_clone_warmpoolautoscalingbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_warmpoolautoscalingbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_schema_fn_free_warmpoolautoscalingbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is WarmPoolAutoscalingBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "WarmPoolAutoscalingBuilder"- );- },- };- })();-const FfiConverterTypeWarmPoolAutoscalingBuilder = new FfiConverterObject(- uniffiTypeWarmPoolAutoscalingBuilderObjectFactory,-);+ isConcreteType(obj_: any): obj_ is WarmPoolAutoscalingBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "WarmPoolAutoscalingBuilder";+ },+}})();+const FfiConverterTypeWarmPoolAutoscalingBuilder = new FfiConverterObject(uniffiTypeWarmPoolAutoscalingBuilderObjectFactory);// FfiConverter for string | undefinedconst FfiConverterOptionalString = new FfiConverterOptional(FfiConverterString);@@ -2840,95 +2421,62 @@ const FfiConverterOptionalBoolean = new FfiConverterOptional(FfiConverterBool);const FfiConverterOptionalUInt32 = new FfiConverterOptional(FfiConverterUInt32);// FfiConverter for ClaimLifecycle | undefined-const FfiConverterOptionalTypeClaimLifecycle = new FfiConverterOptional(- FfiConverterTypeClaimLifecycle,-);+const FfiConverterOptionalTypeClaimLifecycle = new FfiConverterOptional(FfiConverterTypeClaimLifecycle);// FfiConverter for Array<OsGymSandboxClaimCondition>-const FfiConverterSequenceTypeOSGymSandboxClaimCondition =- new FfiConverterArray(FfiConverterTypeOSGymSandboxClaimCondition);+const FfiConverterSequenceTypeOSGymSandboxClaimCondition = new FfiConverterArray(FfiConverterTypeOSGymSandboxClaimCondition);// FfiConverter for Array<OsGymSandboxClaimCondition> | undefined-const FfiConverterOptionalSequenceTypeOSGymSandboxClaimCondition =- new FfiConverterOptional(FfiConverterSequenceTypeOSGymSandboxClaimCondition);+const FfiConverterOptionalSequenceTypeOSGymSandboxClaimCondition = new FfiConverterOptional(FfiConverterSequenceTypeOSGymSandboxClaimCondition);// FfiConverter for OsGymSandboxClaimSandbox | undefined-const FfiConverterOptionalTypeOSGymSandboxClaimSandbox =- new FfiConverterOptional(FfiConverterTypeOSGymSandboxClaimSandbox);+const FfiConverterOptionalTypeOSGymSandboxClaimSandbox = new FfiConverterOptional(FfiConverterTypeOSGymSandboxClaimSandbox);// FfiConverter for Array<string>const FfiConverterSequenceString = new FfiConverterArray(FfiConverterString);// FfiConverter for Array<string> | undefined-const FfiConverterOptionalSequenceString = new FfiConverterOptional(- FfiConverterSequenceString,-);+const FfiConverterOptionalSequenceString = new FfiConverterOptional(FfiConverterSequenceString);// FfiConverter for RuntimeKind | undefined-const FfiConverterOptionalTypeRuntimeKind = new FfiConverterOptional(- FfiConverterTypeRuntimeKind,-);+const FfiConverterOptionalTypeRuntimeKind = new FfiConverterOptional(FfiConverterTypeRuntimeKind);// FfiConverter for Map<string, string>-const FfiConverterMapStringString = new FfiConverterMap(- FfiConverterString,- FfiConverterString,-);+const FfiConverterMapStringString = new FfiConverterMap(FfiConverterString, FfiConverterString);// FfiConverter for Map<string, string> | undefined-const FfiConverterOptionalMapStringString = new FfiConverterOptional(- FfiConverterMapStringString,-);+const FfiConverterOptionalMapStringString = new FfiConverterOptional(FfiConverterMapStringString);// FfiConverter for Array<PreservedJsonLike>-const FfiConverterSequenceTypePreservedJson = new FfiConverterArray(- FfiConverterTypePreservedJson,-);+const FfiConverterSequenceTypePreservedJson = new FfiConverterArray(FfiConverterTypePreservedJson);// FfiConverter for Array<PreservedJsonLike> | undefined-const FfiConverterOptionalSequenceTypePreservedJson = new FfiConverterOptional(- FfiConverterSequenceTypePreservedJson,-);+const FfiConverterOptionalSequenceTypePreservedJson = new FfiConverterOptional(FfiConverterSequenceTypePreservedJson);// FfiConverter for ImagePullPolicy | undefined-const FfiConverterOptionalTypeImagePullPolicy = new FfiConverterOptional(- FfiConverterTypeImagePullPolicy,-);+const FfiConverterOptionalTypeImagePullPolicy = new FfiConverterOptional(FfiConverterTypeImagePullPolicy);// FfiConverter for Firmware | undefined-const FfiConverterOptionalTypeFirmware = new FfiConverterOptional(- FfiConverterTypeFirmware,-);+const FfiConverterOptionalTypeFirmware = new FfiConverterOptional(FfiConverterTypeFirmware);// FfiConverter for PreservedJsonLike | undefined-const FfiConverterOptionalTypePreservedJson = new FfiConverterOptional(- FfiConverterTypePreservedJson,-);+const FfiConverterOptionalTypePreservedJson = new FfiConverterOptional(FfiConverterTypePreservedJson);// FfiConverter for ServiceProtocol | undefined-const FfiConverterOptionalTypeServiceProtocol = new FfiConverterOptional(- FfiConverterTypeServiceProtocol,-);+const FfiConverterOptionalTypeServiceProtocol = new FfiConverterOptional(FfiConverterTypeServiceProtocol);// FfiConverter for Array<SandboxService>-const FfiConverterSequenceTypeSandboxService = new FfiConverterArray(- FfiConverterTypeSandboxService,-);+const FfiConverterSequenceTypeSandboxService = new FfiConverterArray(FfiConverterTypeSandboxService);// FfiConverter for Array<SandboxService> | undefined-const FfiConverterOptionalSequenceTypeSandboxService = new FfiConverterOptional(- FfiConverterSequenceTypeSandboxService,-);+const FfiConverterOptionalSequenceTypeSandboxService = new FfiConverterOptional(FfiConverterSequenceTypeSandboxService);// FfiConverter for OidcConfig | undefined-const FfiConverterOptionalTypeOidcConfig = new FfiConverterOptional(- FfiConverterTypeOidcConfig,-);+const FfiConverterOptionalTypeOidcConfig = new FfiConverterOptional(FfiConverterTypeOidcConfig);// FfiConverter for WarmPoolAutoscaling | undefined-const FfiConverterOptionalTypeWarmPoolAutoscaling = new FfiConverterOptional(- FfiConverterTypeWarmPoolAutoscaling,-);+const FfiConverterOptionalTypeWarmPoolAutoscaling = new FfiConverterOptional(FfiConverterTypeWarmPoolAutoscaling);+/*** This should be called before anything else.@@ -2941,346 +2489,138 @@ const FfiConverterOptionalTypeWarmPoolAutoscaling = new FfiConverterOptional(* It also initializes the machinery to enable Rust to talk back to Javascript.*/function uniffiEnsureInitialized() {- // Get the bindings contract version from our ComponentInterface- const bindingsContractVersion = 30;- // Get the scaffolding contract version by calling the into the dylib- const scaffoldingContractVersion =- nativeModule().ubrn_ffi_cyclops_sdk_schema_uniffi_contract_version();- if (bindingsContractVersion !== scaffoldingContractVersion) {- throw new UniffiInternalError.ContractVersionMismatch(- scaffoldingContractVersion,- bindingsContractVersion,- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxtemplatespecbuilder_new() !==- 22071- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxtemplatespecbuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_build() !==- 53928- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_vm_template() !==- 6610- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_vm_template",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxwarmpoolspecbuilder_new() !==- 26063- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxwarmpoolspecbuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_autoscaling() !==- 44912- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_autoscaling",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_build() !==- 5682- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_replicas() !==- 50438- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_replicas",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref() !==- 7198- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created() !==- 44516- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_preservedjson_from_json() !==- 24064- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_constructor_preservedjson_from_json",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_preservedjson_to_json() !==- 8252- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_preservedjson_to_json",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_sandboxservicebuilder_new() !==- 21082- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_constructor_sandboxservicebuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_build() !==- 62919- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_name() !==- 62417- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_name",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_protocol() !==- 10309- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_protocol",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_target_port() !==- 61462- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_target_port",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_sandboxtemplaterefbuilder_new() !==- 4748- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_constructor_sandboxtemplaterefbuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_build() !==- 46569- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_name() !==- 1803- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_name",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_vmtemplatebuilder_new() !==- 27302- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_constructor_vmtemplatebuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_build() !==- 17867- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_command() !==- 20371- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_command",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_container_disk_image() !==- 49021- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_container_disk_image",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_cpu_cores() !==- 25645- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_cpu_cores",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_firmware() !==- 33926- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_firmware",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_policy() !==- 41828- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_policy",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_secret() !==- 40154- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_secret",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_memory() !==- 55615- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_memory",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_nested_virtualization() !==- 23834- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_nested_virtualization",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_node_selector() !==- 45280- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_node_selector",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_oidc() !==- 27280- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_oidc",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_probes() !==- 40623- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_probes",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime() !==- 63375- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime_class_name() !==- 25466- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime_class_name",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_services() !==- 14113- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_services",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_tolerations() !==- 1632- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_tolerations",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_warmpoolautoscalingbuilder_new() !==- 25769- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_constructor_warmpoolautoscalingbuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_build() !==- 17132- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_initial_pool_size() !==- 56913- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_initial_pool_size",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_max_pool_size() !==- 18359- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_max_pool_size",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_min_pool_size() !==- 46153- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_min_pool_size",- );- }-}+ // Get the bindings contract version from our ComponentInterface+ const bindingsContractVersion = 30;+ // Get the scaffolding contract version by calling the into the dylib+ const scaffoldingContractVersion = nativeModule().ubrn_ffi_cyclops_sdk_schema_uniffi_contract_version();+ if (bindingsContractVersion !== scaffoldingContractVersion) {+ throw new UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion, bindingsContractVersion);+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxtemplatespecbuilder_new() !== 22071) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxtemplatespecbuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_build() !== 53928) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_vm_template() !== 6610) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_vm_template");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxwarmpoolspecbuilder_new() !== 26063) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxwarmpoolspecbuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_autoscaling() !== 44912) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_autoscaling");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_build() !== 5682) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_replicas() !== 50438) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_replicas");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref() !== 7198) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created() !== 44516) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_preservedjson_from_json() !== 24064) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_constructor_preservedjson_from_json");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_preservedjson_to_json() !== 8252) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_preservedjson_to_json");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_sandboxservicebuilder_new() !== 21082) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_constructor_sandboxservicebuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_build() !== 62919) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_name() !== 62417) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_name");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_protocol() !== 10309) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_protocol");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_target_port() !== 61462) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_target_port");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_sandboxtemplaterefbuilder_new() !== 4748) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_constructor_sandboxtemplaterefbuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_build() !== 46569) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_name() !== 1803) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_name");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_vmtemplatebuilder_new() !== 27302) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_constructor_vmtemplatebuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_build() !== 17867) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_command() !== 20371) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_command");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_container_disk_image() !== 49021) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_container_disk_image");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_cpu_cores() !== 25645) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_cpu_cores");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_firmware() !== 33926) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_firmware");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_policy() !== 41828) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_policy");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_secret() !== 40154) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_secret");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_memory() !== 55615) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_memory");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_nested_virtualization() !== 23834) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_nested_virtualization");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_node_selector() !== 45280) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_node_selector");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_oidc() !== 27280) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_oidc");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_probes() !== 40623) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_probes");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime() !== 63375) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime_class_name() !== 25466) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime_class_name");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_services() !== 14113) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_services");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_tolerations() !== 1632) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_tolerations");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_constructor_warmpoolautoscalingbuilder_new() !== 25769) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_constructor_warmpoolautoscalingbuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_build() !== 17132) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_initial_pool_size() !== 56913) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_initial_pool_size");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_max_pool_size() !== 18359) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_max_pool_size");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_min_pool_size() !== 46153) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_min_pool_size");+ }++ }export default Object.freeze({initialize: uniffiEnsureInitialized,@@ -3313,5 +2653,5 @@ export default Object.freeze({FfiConverterTypeVmTemplateBuilder,FfiConverterTypeWarmPoolAutoscaling,FfiConverterTypeWarmPoolAutoscalingBuilder,- },+ }});diff --git a/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/fleet_sdk-ffi.ts b/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/fleet_sdk-ffi.tsindex e76b42f428..d61c95dd1d 100644--- a/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/fleet_sdk-ffi.ts+++ b/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/fleet_sdk-ffi.ts@@ -6,10 +6,7 @@// @ts-nocheck// Structs and function types for calling back into Typescript from Rust.-export type UniffiRustFutureContinuationCallback = (- data: bigint,- pollResult: number,-) => void;+export type UniffiRustFutureContinuationCallback = (data: bigint, pollResult: number) => void;export type UniffiForeignFutureDroppedCallback = (handle: bigint) => void;export type UniffiForeignFutureDroppedCallbackStruct = {handle: bigint;@@ -19,36 +16,17 @@ export type UniffiForeignFutureResultRustBuffer = {return_value: Uint8Array;call_status: UniffiRustCallStatus;};-export type UniffiForeignFutureCompleterustBuffer = (- callbackData: bigint,- result: UniffiForeignFutureResultRustBuffer,-) => void;-type UniffiCallbackInterfaceFleetSdkAccessTokenProviderMethod0 = (- uniffiHandle: bigint,- forceRefresh: number,- uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer,- uniffiCallbackData: bigint,-) => UniffiForeignFutureDroppedCallbackStruct;-type UniffiCallbackInterfaceCloneFleetSdkAccessTokenProvider = (- handle: bigint,-) => UniffiResult<void>;-type UniffiCallbackInterfaceFreeFleetSdkAccessTokenProvider = (- handle: bigint,-) => void;+export type UniffiForeignFutureCompleterustBuffer = (callbackData: bigint, result: UniffiForeignFutureResultRustBuffer) => void;+type UniffiCallbackInterfaceFleetSdkAccessTokenProviderMethod0 = (uniffiHandle: bigint, forceRefresh: number, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;+type UniffiCallbackInterfaceCloneFleetSdkAccessTokenProvider = (handle: bigint) => UniffiResult<void>;+type UniffiCallbackInterfaceFreeFleetSdkAccessTokenProvider = (handle: bigint) => void;export type UniffiVTableCallbackInterfaceFleetSdkAccessTokenProvider = {uniffi_free: UniffiCallbackInterfaceFreeFleetSdkAccessTokenProvider;uniffi_clone: UniffiCallbackInterfaceCloneFleetSdkAccessTokenProvider;get_access_token: UniffiCallbackInterfaceFleetSdkAccessTokenProviderMethod0;};-type UniffiCallbackInterfaceFleetSdkHttpClientMethod0 = (- uniffiHandle: bigint,- request: Uint8Array,- uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer,- uniffiCallbackData: bigint,-) => UniffiForeignFutureDroppedCallbackStruct;-type UniffiCallbackInterfaceCloneFleetSdkHttpClient = (- handle: bigint,-) => UniffiResult<void>;+type UniffiCallbackInterfaceFleetSdkHttpClientMethod0 = (uniffiHandle: bigint, request: Uint8Array, uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer, uniffiCallbackData: bigint) => UniffiForeignFutureDroppedCallbackStruct;+type UniffiCallbackInterfaceCloneFleetSdkHttpClient = (handle: bigint) => UniffiResult<void>;type UniffiCallbackInterfaceFreeFleetSdkHttpClient = (handle: bigint) => void;export type UniffiVTableCallbackInterfaceFleetSdkHttpClient = {uniffi_free: UniffiCallbackInterfaceFreeFleetSdkHttpClient;diff --git a/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/fleet_sdk.ts b/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/fleet_sdk.tsindex da685e1bb2..c914f52e58 100644--- a/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/fleet_sdk.ts+++ b/libs/fleet/sdk-bindings/ts-uniffi-browser/ts/fleet_sdk.ts@@ -4,67 +4,14 @@/* eslint-disable */// @ts-nocheckimport * as wasmBundle from "./wasm-bindgen/index.js";-import {- type UniffiRustFutureContinuationCallback,- type UniffiForeignFutureDroppedCallback,- type UniffiForeignFutureDroppedCallbackStruct,- type UniffiForeignFutureResultRustBuffer,- type UniffiForeignFutureCompleterustBuffer,- type UniffiVTableCallbackInterfaceFleetSdkAccessTokenProvider,- type UniffiVTableCallbackInterfaceFleetSdkHttpClient,+import { type UniffiRustFutureContinuationCallback, type UniffiForeignFutureDroppedCallback, type UniffiForeignFutureDroppedCallbackStruct, type UniffiForeignFutureResultRustBuffer, type UniffiForeignFutureCompleterustBuffer, type UniffiVTableCallbackInterfaceFleetSdkAccessTokenProvider, type UniffiVTableCallbackInterfaceFleetSdkHttpClient,} from "./fleet_sdk-ffi";-import {- type ClaimSpec,- type OsGymSandboxClaimStatus,- type OsGymSandboxTemplateSpec,- type OsGymSandboxWarmPoolSpec,- type OsGymSandboxWarmPoolStatus,+import { type ClaimSpec, type OsGymSandboxClaimStatus, type OsGymSandboxTemplateSpec, type OsGymSandboxWarmPoolSpec, type OsGymSandboxWarmPoolStatus, type PreservedJsonLike,} from "./cyclops_sdk_schema";-import {- type FfiConverter,- type UniffiByteArray,- type UniffiGcObject,- type UniffiHandle,- type UniffiObjectFactory,- type UniffiReferenceHolder,- type UniffiRustCallStatus,- AbstractFfiConverterByteArray,- FfiConverterArray,- FfiConverterArrayBuffer,- FfiConverterBool,- FfiConverterInt32,- FfiConverterMap,- FfiConverterObject,- FfiConverterObjectWithCallbacks,- FfiConverterOptional,- FfiConverterUInt16,- FfiConverterUInt32,- FfiConverterUInt64,- FfiConverterUInt8,- RustBuffer,- UniffiAbstractObject,- UniffiEnum,- UniffiError,- UniffiInternalError,- UniffiResult,- UniffiRustCaller,- destructorGuardSymbol,- pointerLiteralSymbol,- uniffiCreateFfiConverterString,- uniffiCreateRecord,- uniffiRustCallAsync,- uniffiTraitInterfaceCallAsyncWithError,- uniffiTypeNameSymbol,- variantOrdinalSymbol,+import { type FfiConverter, type UniffiByteArray, type UniffiGcObject, type UniffiHandle, type UniffiObjectFactory, type UniffiReferenceHolder, type UniffiRustCallStatus, AbstractFfiConverterByteArray, FfiConverterArray, FfiConverterArrayBuffer, FfiConverterBool, FfiConverterInt32, FfiConverterMap, FfiConverterObject, FfiConverterObjectWithCallbacks, FfiConverterOptional, FfiConverterUInt16, FfiConverterUInt32, FfiConverterUInt64, FfiConverterUInt8, RustBuffer, UniffiAbstractObject, UniffiEnum, UniffiError, UniffiInternalError, UniffiResult, UniffiRustCaller, destructorGuardSymbol, pointerLiteralSymbol, uniffiCreateFfiConverterString, uniffiCreateRecord, uniffiRustCallAsync, uniffiTraitInterfaceCallAsyncWithError, uniffiTypeNameSymbol, variantOrdinalSymbol,} from "@ubjs/core";import uniffiCyclopsSdkSchemaModule from "./cyclops_sdk_schema";-const {- FfiConverterTypeClaimSpec,- FfiConverterTypeOSGymSandboxClaimStatus,- FfiConverterTypeOSGymSandboxTemplateSpec,- FfiConverterTypeOSGymSandboxWarmPoolSpec,- FfiConverterTypeOSGymSandboxWarmPoolStatus,-} = uniffiCyclopsSdkSchemaModule.converters;+const { FfiConverterTypeClaimSpec, FfiConverterTypeOSGymSandboxClaimStatus, FfiConverterTypeOSGymSandboxTemplateSpec, FfiConverterTypeOSGymSandboxWarmPoolSpec, FfiConverterTypeOSGymSandboxWarmPoolStatus, FfiConverterTypePreservedJson } = uniffiCyclopsSdkSchemaModule.converters;// wasm1: wrap the wasm-bindgen namespace once so the codegen call sites can// uniformly reference `nativeModule().rustbuffer_alloc` / `.rustbuffer_free`.// For wasm1, RustBuffers are plain JS Uint8Arrays — no Rust-side allocation@@ -74,9 +21,7 @@ const _nativeModule = Object.assign({}, wasmBundle, {rustbuffer_free: (_: Uint8Array): void => {},});const nativeModule = () => _nativeModule;-const uniffiCaller = new UniffiRustCaller(- () => new wasmBundle.RustCallStatus(),-);+const uniffiCaller = new UniffiRustCaller(() => new wasmBundle.RustCallStatus());const uniffiIsDebug =// @ts-ignore -- The process global might not be defined@@ -88,230 +33,211 @@ const uniffiIsDebug =// Public interface members begin here.export function healthyPoolDisplayStatus(): PoolDisplayStatus {- return ((__rb: Uint8Array) => {- try {- return FfiConverterTypePoolDisplayStatus.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_func_healthy_pool_display_status(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );-}+ return ((__rb: Uint8Array) => {+ try {+ return FfiConverterTypePoolDisplayStatus.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_func_healthy_pool_display_status(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }export function poolDisplayStatus(pool: Pool): PoolDisplayStatus {- return ((__rb: Uint8Array) => {- try {- return FfiConverterTypePoolDisplayStatus.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_func_pool_display_status(- FfiConverterTypePool.lower(pool, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );-}+ return ((__rb: Uint8Array) => {+ try {+ return FfiConverterTypePoolDisplayStatus.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_func_pool_display_status(+ FfiConverterTypePool.lower(pool, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }export function removedPoolDisplayStatus(): PoolDisplayStatus {- return ((__rb: Uint8Array) => {- try {- return FfiConverterTypePoolDisplayStatus.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_func_removed_pool_display_status(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );-}+ return ((__rb: Uint8Array) => {+ try {+ return FfiConverterTypePoolDisplayStatus.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_func_removed_pool_display_status(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }export function terminatingPoolDisplayStatus(): PoolDisplayStatus {- return ((__rb: Uint8Array) => {- try {- return FfiConverterTypePoolDisplayStatus.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_func_terminating_pool_display_status(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );-}+ return ((__rb: Uint8Array) => {+ try {+ return FfiConverterTypePoolDisplayStatus.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_func_terminating_pool_display_status(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }export function unknownPoolDisplayStatus(): PoolDisplayStatus {- return ((__rb: Uint8Array) => {- try {- return FfiConverterTypePoolDisplayStatus.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_func_unknown_pool_display_status(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );-}+ return ((__rb: Uint8Array) => {+ try {+ return FfiConverterTypePoolDisplayStatus.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_func_unknown_pool_display_status(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }const stringConverter = (() => {- const encoder = new TextEncoder();- const decoder = new TextDecoder();- return {- stringToBytes: (s: string) => encoder.encode(s),- bytesToString: (ab: UniffiByteArray) => decoder.decode(ab),- stringByteLength: (s: string) => encoder.encode(s).byteLength,- writeStringIntoBuffer: (s: string, buf: any, offset: number): number => {- const view = new Uint8Array(- buf.arrayBuffer,- offset,- buf.arrayBuffer.byteLength - offset,- );- return encoder.encodeInto(s, view).written;- },- readStringFromBuffer: (buf: any, offset: number, length: number): string =>- decoder.decode(new Uint8Array(buf.arrayBuffer, offset, length)),- };+ const encoder = new TextEncoder();+ const decoder = new TextDecoder();+ return {+ stringToBytes: (s: string) => encoder.encode(s),+ bytesToString: (ab: UniffiByteArray) => decoder.decode(ab),+ stringByteLength: (s: string) => encoder.encode(s).byteLength,+ writeStringIntoBuffer: (s: string, buf: any, offset: number): number => {+ const view = new Uint8Array(+ buf.arrayBuffer,+ offset,+ buf.arrayBuffer.byteLength - offset,+ );+ return encoder.encodeInto(s, view).written;+ },+ readStringFromBuffer: (buf: any, offset: number, length: number): string =>+ decoder.decode(new Uint8Array(buf.arrayBuffer, offset, length)),+ };})();const FfiConverterString = uniffiCreateFfiConverterString(stringConverter);export type ResourceMetadata = {- namespace: string;- name: string;- labels?: Map<string, string>;- creationTimestamp?: string;-};+ namespace: string,+ name: string,+ labels?: Map<string, string>,+ creationTimestamp?: string+}/*** Generated factory for {@link ResourceMetadata} record objects.*/export const ResourceMetadata = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<ResourceMetadata, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<ResourceMetadata>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<ResourceMetadata, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<ResourceMetadata>,+ });})();const FfiConverterTypeResourceMetadata = (() => {- type TypeName = ResourceMetadata;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- namespace: FfiConverterString.read(from),- name: FfiConverterString.read(from),- labels: FfiConverterOptionalMapStringString.read(from),- creationTimestamp: FfiConverterOptionalString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.namespace, into);- FfiConverterString.write(value.name, into);- FfiConverterOptionalMapStringString.write(value.labels, into);- FfiConverterOptionalString.write(value.creationTimestamp, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.namespace) +- FfiConverterString.allocationSize(value.name) +- FfiConverterOptionalMapStringString.allocationSize(value.labels) +- FfiConverterOptionalString.allocationSize(value.creationTimestamp)- );- }- }- return new FFIConverter();+ type TypeName = ResourceMetadata;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ namespace: FfiConverterString.read(from),+ name: FfiConverterString.read(from),+ labels: FfiConverterOptionalMapStringString.read(from),+ creationTimestamp: FfiConverterOptionalString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.namespace, into);+ FfiConverterString.write(value.name, into);+ FfiConverterOptionalMapStringString.write(value.labels, into);+ FfiConverterOptionalString.write(value.creationTimestamp, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.namespace) ++ FfiConverterString.allocationSize(value.name) ++ FfiConverterOptionalMapStringString.allocationSize(value.labels) ++ FfiConverterOptionalString.allocationSize(value.creationTimestamp);++ }+ };+ return new FFIConverter();})();export type Claim = {- apiVersion: string;- kind: string;- metadata: ResourceMetadata;- spec: ClaimSpec;- status?: OsGymSandboxClaimStatus;-};+ apiVersion: string,+ kind: string,+ metadata: ResourceMetadata,+ spec: ClaimSpec,+ status?: OsGymSandboxClaimStatus+}/*** Generated factory for {@link Claim} record objects.*/export const Claim = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<Claim, ReturnType<typeof defaults>>(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<Claim>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<Claim, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<Claim>,+ });})();const FfiConverterTypeClaim = (() => {- type TypeName = Claim;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- apiVersion: FfiConverterString.read(from),- kind: FfiConverterString.read(from),- metadata: FfiConverterTypeResourceMetadata.read(from),- spec: FfiConverterTypeClaimSpec.read(from),- status: FfiConverterOptionalTypeOSGymSandboxClaimStatus.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.apiVersion, into);- FfiConverterString.write(value.kind, into);- FfiConverterTypeResourceMetadata.write(value.metadata, into);- FfiConverterTypeClaimSpec.write(value.spec, into);- FfiConverterOptionalTypeOSGymSandboxClaimStatus.write(value.status, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.apiVersion) +- FfiConverterString.allocationSize(value.kind) +- FfiConverterTypeResourceMetadata.allocationSize(value.metadata) +- FfiConverterTypeClaimSpec.allocationSize(value.spec) +- FfiConverterOptionalTypeOSGymSandboxClaimStatus.allocationSize(- value.status,- )- );- }- }- return new FFIConverter();+ type TypeName = Claim;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ apiVersion: FfiConverterString.read(from),+ kind: FfiConverterString.read(from),+ metadata: FfiConverterTypeResourceMetadata.read(from),+ spec: FfiConverterTypeClaimSpec.read(from),+ status: FfiConverterOptionalTypeOSGymSandboxClaimStatus.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.apiVersion, into);+ FfiConverterString.write(value.kind, into);+ FfiConverterTypeResourceMetadata.write(value.metadata, into);+ FfiConverterTypeClaimSpec.write(value.spec, into);+ FfiConverterOptionalTypeOSGymSandboxClaimStatus.write(value.status, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.apiVersion) ++ FfiConverterString.allocationSize(value.kind) ++ FfiConverterTypeResourceMetadata.allocationSize(value.metadata) ++ FfiConverterTypeClaimSpec.allocationSize(value.spec) ++ FfiConverterOptionalTypeOSGymSandboxClaimStatus.allocationSize(value.status);++ }+ };+ return new FFIConverter();})();/**@@ -324,1068 +250,1230 @@ const FfiConverterTypeClaim = (() => {* shim are gone).*/export type Pool = {- apiVersion: string;- kind: string;- metadata: ResourceMetadata;- spec: OsGymSandboxWarmPoolSpec;- status?: OsGymSandboxWarmPoolStatus;-};+ apiVersion: string,+ kind: string,+ metadata: ResourceMetadata,+ spec: OsGymSandboxWarmPoolSpec,+ status?: OsGymSandboxWarmPoolStatus+}/*** Generated factory for {@link Pool} record objects.*/export const Pool = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<Pool, ReturnType<typeof defaults>>(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<Pool>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<Pool, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<Pool>,+ });})();const FfiConverterTypePool = (() => {- type TypeName = Pool;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- apiVersion: FfiConverterString.read(from),- kind: FfiConverterString.read(from),- metadata: FfiConverterTypeResourceMetadata.read(from),- spec: FfiConverterTypeOSGymSandboxWarmPoolSpec.read(from),- status: FfiConverterOptionalTypeOSGymSandboxWarmPoolStatus.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.apiVersion, into);- FfiConverterString.write(value.kind, into);- FfiConverterTypeResourceMetadata.write(value.metadata, into);- FfiConverterTypeOSGymSandboxWarmPoolSpec.write(value.spec, into);- FfiConverterOptionalTypeOSGymSandboxWarmPoolStatus.write(- value.status,- into,- );- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.apiVersion) +- FfiConverterString.allocationSize(value.kind) +- FfiConverterTypeResourceMetadata.allocationSize(value.metadata) +- FfiConverterTypeOSGymSandboxWarmPoolSpec.allocationSize(value.spec) +- FfiConverterOptionalTypeOSGymSandboxWarmPoolStatus.allocationSize(- value.status,- )- );- }- }- return new FFIConverter();+ type TypeName = Pool;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ apiVersion: FfiConverterString.read(from),+ kind: FfiConverterString.read(from),+ metadata: FfiConverterTypeResourceMetadata.read(from),+ spec: FfiConverterTypeOSGymSandboxWarmPoolSpec.read(from),+ status: FfiConverterOptionalTypeOSGymSandboxWarmPoolStatus.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.apiVersion, into);+ FfiConverterString.write(value.kind, into);+ FfiConverterTypeResourceMetadata.write(value.metadata, into);+ FfiConverterTypeOSGymSandboxWarmPoolSpec.write(value.spec, into);+ FfiConverterOptionalTypeOSGymSandboxWarmPoolStatus.write(value.status, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.apiVersion) ++ FfiConverterString.allocationSize(value.kind) ++ FfiConverterTypeResourceMetadata.allocationSize(value.metadata) ++ FfiConverterTypeOSGymSandboxWarmPoolSpec.allocationSize(value.spec) ++ FfiConverterOptionalTypeOSGymSandboxWarmPoolStatus.allocationSize(value.status);++ }+ };+ return new FFIConverter();})();export type CreateClaimRequest = {- pool: Pool;- spec?: ClaimSpec;- /**- * Explicit claim name. A client-supplied name is used verbatim (after- * DNS-label validation); left unset, the client generates a random- * `claim-<petname>` so concurrent leases and retries cannot collide.- */- name?: string;-};+ pool: Pool,+ spec?: ClaimSpec,+ /**+ * Explicit claim name. A client-supplied name is used verbatim (after+ * DNS-label validation); left unset, the client generates a random+ * `claim-<petname>` so concurrent leases and retries cannot collide.+ */+ name?: string+}/*** Generated factory for {@link CreateClaimRequest} record objects.*/export const CreateClaimRequest = (() => {- const defaults = () => ({- name: undefined,- });- const create = (() => {- return uniffiCreateRecord<CreateClaimRequest, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<CreateClaimRequest>,- });+ const defaults = () => ({+ name: undefined+ });+ const create = (() => {+ return uniffiCreateRecord<CreateClaimRequest, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<CreateClaimRequest>,+ });})();const FfiConverterTypeCreateClaimRequest = (() => {- type TypeName = CreateClaimRequest;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- pool: FfiConverterTypePool.read(from),- spec: FfiConverterOptionalTypeClaimSpec.read(from),- name: FfiConverterOptionalString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterTypePool.write(value.pool, into);- FfiConverterOptionalTypeClaimSpec.write(value.spec, into);- FfiConverterOptionalString.write(value.name, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterTypePool.allocationSize(value.pool) +- FfiConverterOptionalTypeClaimSpec.allocationSize(value.spec) +- FfiConverterOptionalString.allocationSize(value.name)- );- }- }- return new FFIConverter();+ type TypeName = CreateClaimRequest;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ pool: FfiConverterTypePool.read(from),+ spec: FfiConverterOptionalTypeClaimSpec.read(from),+ name: FfiConverterOptionalString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterTypePool.write(value.pool, into);+ FfiConverterOptionalTypeClaimSpec.write(value.spec, into);+ FfiConverterOptionalString.write(value.name, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterTypePool.allocationSize(value.pool) ++ FfiConverterOptionalTypeClaimSpec.allocationSize(value.spec) ++ FfiConverterOptionalString.allocationSize(value.name);++ }+ };+ return new FFIConverter();})();export type CreatePoolRequest = {- namespace: string;- spec: OsGymSandboxWarmPoolSpec;-};+ namespace: string,+ spec: OsGymSandboxWarmPoolSpec+}/*** Generated factory for {@link CreatePoolRequest} record objects.*/export const CreatePoolRequest = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<CreatePoolRequest, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<CreatePoolRequest>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<CreatePoolRequest, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<CreatePoolRequest>,+ });})();const FfiConverterTypeCreatePoolRequest = (() => {- type TypeName = CreatePoolRequest;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- namespace: FfiConverterString.read(from),- spec: FfiConverterTypeOSGymSandboxWarmPoolSpec.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.namespace, into);- FfiConverterTypeOSGymSandboxWarmPoolSpec.write(value.spec, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.namespace) +- FfiConverterTypeOSGymSandboxWarmPoolSpec.allocationSize(value.spec)- );- }- }- return new FFIConverter();+ type TypeName = CreatePoolRequest;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ namespace: FfiConverterString.read(from),+ spec: FfiConverterTypeOSGymSandboxWarmPoolSpec.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.namespace, into);+ FfiConverterTypeOSGymSandboxWarmPoolSpec.write(value.spec, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.namespace) ++ FfiConverterTypeOSGymSandboxWarmPoolSpec.allocationSize(value.spec);++ }+ };+ return new FFIConverter();})();export type Sandbox = {- namespace: string;- claim: string;- name: string;- services: Array<string>;-};+ namespace: string,+ claim: string,+ name: string,+ services: Array<string>+}/*** Generated factory for {@link Sandbox} record objects.*/export const Sandbox = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<Sandbox, ReturnType<typeof defaults>>(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<Sandbox>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<Sandbox, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<Sandbox>,+ });})();const FfiConverterTypeSandbox = (() => {- type TypeName = Sandbox;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- namespace: FfiConverterString.read(from),- claim: FfiConverterString.read(from),- name: FfiConverterString.read(from),- services: FfiConverterSequenceString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.namespace, into);- FfiConverterString.write(value.claim, into);- FfiConverterString.write(value.name, into);- FfiConverterSequenceString.write(value.services, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.namespace) +- FfiConverterString.allocationSize(value.claim) +- FfiConverterString.allocationSize(value.name) +- FfiConverterSequenceString.allocationSize(value.services)- );- }- }- return new FFIConverter();+ type TypeName = Sandbox;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ namespace: FfiConverterString.read(from),+ claim: FfiConverterString.read(from),+ name: FfiConverterString.read(from),+ services: FfiConverterSequenceString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.namespace, into);+ FfiConverterString.write(value.claim, into);+ FfiConverterString.write(value.name, into);+ FfiConverterSequenceString.write(value.services, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.namespace) ++ FfiConverterString.allocationSize(value.claim) ++ FfiConverterString.allocationSize(value.name) ++ FfiConverterSequenceString.allocationSize(value.services);++ }+ };+ return new FFIConverter();})();export type CreateSignedServiceUrlRequest = {- sandbox: Sandbox;- service: string;- label?: string;- expiresInSeconds: number;-};+ sandbox: Sandbox,+ service: string,+ label?: string,+ expiresInSeconds: number+}/*** Generated factory for {@link CreateSignedServiceUrlRequest} record objects.*/export const CreateSignedServiceUrlRequest = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<- CreateSignedServiceUrlRequest,- ReturnType<typeof defaults>- >(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () =>- Object.freeze(defaults()) as Partial<CreateSignedServiceUrlRequest>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<CreateSignedServiceUrlRequest, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<CreateSignedServiceUrlRequest>,+ });})();const FfiConverterTypeCreateSignedServiceUrlRequest = (() => {- type TypeName = CreateSignedServiceUrlRequest;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- sandbox: FfiConverterTypeSandbox.read(from),- service: FfiConverterString.read(from),- label: FfiConverterOptionalString.read(from),- expiresInSeconds: FfiConverterUInt32.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterTypeSandbox.write(value.sandbox, into);- FfiConverterString.write(value.service, into);- FfiConverterOptionalString.write(value.label, into);- FfiConverterUInt32.write(value.expiresInSeconds, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterTypeSandbox.allocationSize(value.sandbox) +- FfiConverterString.allocationSize(value.service) +- FfiConverterOptionalString.allocationSize(value.label) +- FfiConverterUInt32.allocationSize(value.expiresInSeconds)- );- }- }- return new FFIConverter();+ type TypeName = CreateSignedServiceUrlRequest;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ sandbox: FfiConverterTypeSandbox.read(from),+ service: FfiConverterString.read(from),+ label: FfiConverterOptionalString.read(from),+ expiresInSeconds: FfiConverterUInt32.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterTypeSandbox.write(value.sandbox, into);+ FfiConverterString.write(value.service, into);+ FfiConverterOptionalString.write(value.label, into);+ FfiConverterUInt32.write(value.expiresInSeconds, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterTypeSandbox.allocationSize(value.sandbox) ++ FfiConverterString.allocationSize(value.service) ++ FfiConverterOptionalString.allocationSize(value.label) ++ FfiConverterUInt32.allocationSize(value.expiresInSeconds);++ }+ };+ return new FFIConverter();})();export type CreateTemplateRequest = {- namespace: string;- name: string;- spec: OsGymSandboxTemplateSpec;-};+ namespace: string,+ name: string,+ spec: OsGymSandboxTemplateSpec+}/*** Generated factory for {@link CreateTemplateRequest} record objects.*/export const CreateTemplateRequest = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<- CreateTemplateRequest,- ReturnType<typeof defaults>- >(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<CreateTemplateRequest>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<CreateTemplateRequest, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<CreateTemplateRequest>,+ });})();const FfiConverterTypeCreateTemplateRequest = (() => {- type TypeName = CreateTemplateRequest;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- namespace: FfiConverterString.read(from),- name: FfiConverterString.read(from),- spec: FfiConverterTypeOSGymSandboxTemplateSpec.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.namespace, into);- FfiConverterString.write(value.name, into);- FfiConverterTypeOSGymSandboxTemplateSpec.write(value.spec, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.namespace) +- FfiConverterString.allocationSize(value.name) +- FfiConverterTypeOSGymSandboxTemplateSpec.allocationSize(value.spec)- );- }- }- return new FFIConverter();+ type TypeName = CreateTemplateRequest;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ namespace: FfiConverterString.read(from),+ name: FfiConverterString.read(from),+ spec: FfiConverterTypeOSGymSandboxTemplateSpec.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.namespace, into);+ FfiConverterString.write(value.name, into);+ FfiConverterTypeOSGymSandboxTemplateSpec.write(value.spec, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.namespace) ++ FfiConverterString.allocationSize(value.name) ++ FfiConverterTypeOSGymSandboxTemplateSpec.allocationSize(value.spec);++ }+ };+ return new FFIConverter();})();export type CreateUserApiKeyRequest = {- name: string;- scope: Array<string>;-};+ name: string,+ scope: Array<string>+}/*** Generated factory for {@link CreateUserApiKeyRequest} record objects.*/export const CreateUserApiKeyRequest = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<- CreateUserApiKeyRequest,- ReturnType<typeof defaults>- >(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () =>- Object.freeze(defaults()) as Partial<CreateUserApiKeyRequest>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<CreateUserApiKeyRequest, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<CreateUserApiKeyRequest>,+ });})();const FfiConverterTypeCreateUserApiKeyRequest = (() => {- type TypeName = CreateUserApiKeyRequest;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- name: FfiConverterString.read(from),- scope: FfiConverterSequenceString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.name, into);- FfiConverterSequenceString.write(value.scope, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.name) +- FfiConverterSequenceString.allocationSize(value.scope)- );- }- }- return new FFIConverter();+ type TypeName = CreateUserApiKeyRequest;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ name: FfiConverterString.read(from),+ scope: FfiConverterSequenceString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.name, into);+ FfiConverterSequenceString.write(value.scope, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.name) ++ FfiConverterSequenceString.allocationSize(value.scope);++ }+ };+ return new FFIConverter();})();-export interface CyclopsCredentialsLike {}+export interface CyclopsCredentialsLike {++}/*** @deprecated Use `CyclopsCredentialsLike` instead.*/export type CyclopsCredentialsInterface = CyclopsCredentialsLike;-export class CyclopsCredentials- extends UniffiAbstractObject- implements CyclopsCredentialsLike-{- readonly [uniffiTypeNameSymbol] = "CyclopsCredentials";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor(clientId: string, clientSecret: string) {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopscredentials_new(- FfiConverterString.lower(clientId, nativeModule().rustbuffer_alloc),- FfiConverterString.lower(- clientSecret,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),++export class CyclopsCredentials extends UniffiAbstractObject implements CyclopsCredentialsLike {++ readonly [uniffiTypeNameSymbol] = "CyclopsCredentials";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor(clientId: string, clientSecret: string) {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopscredentials_new(+ FfiConverterString.lower(clientId, nativeModule().rustbuffer_alloc),+ FfiConverterString.lower(clientSecret, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeCyclopsCredentialsObjectFactory.bless(pointer);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeCyclopsCredentialsObjectFactory.bless(pointer);+ }+++- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer = uniffiTypeCyclopsCredentialsObjectFactory.pointer(this);- uniffiTypeCyclopsCredentialsObjectFactory.freePointer(pointer);- uniffiTypeCyclopsCredentialsObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeCyclopsCredentialsObjectFactory.pointer(this);+ uniffiTypeCyclopsCredentialsObjectFactory.freePointer(pointer);+ uniffiTypeCyclopsCredentialsObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }}- }- static instanceOf(obj_: any): obj_ is CyclopsCredentials {- return uniffiTypeCyclopsCredentialsObjectFactory.isConcreteType(obj_);- }+ static instanceOf(obj_: any): obj_ is CyclopsCredentials {+ return uniffiTypeCyclopsCredentialsObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeCyclopsCredentialsObjectFactory: UniffiObjectFactory<CyclopsCredentialsLike> =- (() => {+const uniffiTypeCyclopsCredentialsObjectFactory: UniffiObjectFactory<CyclopsCredentialsLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeCyclopsCredentialsObjectFactory.freePointer(heldValue);- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeCyclopsCredentialsObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): CyclopsCredentialsLike {+ create(pointer: UniffiHandle): CyclopsCredentialsLike {const instance = Object.create(CyclopsCredentials.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "CyclopsCredentials";return instance;- },+ },+- bless(p: UniffiHandle): UniffiGcObject {+ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: CyclopsCredentialsLike): UniffiHandle {+ pointer(obj_: CyclopsCredentialsLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: CyclopsCredentialsLike): UniffiHandle {+ clonePointer(obj_: CyclopsCredentialsLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_cyclopscredentials(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_cyclopscredentials(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_cyclopscredentials(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_cyclopscredentials(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is CyclopsCredentialsLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "CyclopsCredentials"- );- },- };- })();-const FfiConverterTypeCyclopsCredentials = new FfiConverterObject(- uniffiTypeCyclopsCredentialsObjectFactory,-);+ isConcreteType(obj_: any): obj_ is CyclopsCredentialsLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "CyclopsCredentials";+ },+}})();+const FfiConverterTypeCyclopsCredentials = new FfiConverterObject(uniffiTypeCyclopsCredentialsObjectFactory);export type CyclopsConfiguration = {- baseUrl: string;- tokenUrl: string;- credentials: CyclopsCredentialsLike;- poolPollIntervalMs: bigint;- poolPollLimit: number;- claimPollIntervalMs: bigint;- claimPollLimit: number;-};+ baseUrl: string,+ tokenUrl: string,+ credentials: CyclopsCredentialsLike,+ poolPollIntervalMs: bigint,+ poolPollLimit: number,+ claimPollIntervalMs: bigint,+ claimPollLimit: number+}/*** Generated factory for {@link CyclopsConfiguration} record objects.*/export const CyclopsConfiguration = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<- CyclopsConfiguration,- ReturnType<typeof defaults>- >(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<CyclopsConfiguration>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<CyclopsConfiguration, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<CyclopsConfiguration>,+ });})();const FfiConverterTypeCyclopsConfiguration = (() => {- type TypeName = CyclopsConfiguration;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- baseUrl: FfiConverterString.read(from),- tokenUrl: FfiConverterString.read(from),- credentials: FfiConverterTypeCyclopsCredentials.read(from),- poolPollIntervalMs: FfiConverterUInt64.read(from),- poolPollLimit: FfiConverterUInt32.read(from),- claimPollIntervalMs: FfiConverterUInt64.read(from),- claimPollLimit: FfiConverterUInt32.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.baseUrl, into);- FfiConverterString.write(value.tokenUrl, into);- FfiConverterTypeCyclopsCredentials.write(value.credentials, into);- FfiConverterUInt64.write(value.poolPollIntervalMs, into);- FfiConverterUInt32.write(value.poolPollLimit, into);- FfiConverterUInt64.write(value.claimPollIntervalMs, into);- FfiConverterUInt32.write(value.claimPollLimit, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.baseUrl) +- FfiConverterString.allocationSize(value.tokenUrl) +- FfiConverterTypeCyclopsCredentials.allocationSize(value.credentials) +- FfiConverterUInt64.allocationSize(value.poolPollIntervalMs) +- FfiConverterUInt32.allocationSize(value.poolPollLimit) +- FfiConverterUInt64.allocationSize(value.claimPollIntervalMs) +- FfiConverterUInt32.allocationSize(value.claimPollLimit)- );- }- }- return new FFIConverter();+ type TypeName = CyclopsConfiguration;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ baseUrl: FfiConverterString.read(from),+ tokenUrl: FfiConverterString.read(from),+ credentials: FfiConverterTypeCyclopsCredentials.read(from),+ poolPollIntervalMs: FfiConverterUInt64.read(from),+ poolPollLimit: FfiConverterUInt32.read(from),+ claimPollIntervalMs: FfiConverterUInt64.read(from),+ claimPollLimit: FfiConverterUInt32.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.baseUrl, into);+ FfiConverterString.write(value.tokenUrl, into);+ FfiConverterTypeCyclopsCredentials.write(value.credentials, into);+ FfiConverterUInt64.write(value.poolPollIntervalMs, into);+ FfiConverterUInt32.write(value.poolPollLimit, into);+ FfiConverterUInt64.write(value.claimPollIntervalMs, into);+ FfiConverterUInt32.write(value.claimPollLimit, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.baseUrl) ++ FfiConverterString.allocationSize(value.tokenUrl) ++ FfiConverterTypeCyclopsCredentials.allocationSize(value.credentials) ++ FfiConverterUInt64.allocationSize(value.poolPollIntervalMs) ++ FfiConverterUInt32.allocationSize(value.poolPollLimit) ++ FfiConverterUInt64.allocationSize(value.claimPollIntervalMs) ++ FfiConverterUInt32.allocationSize(value.claimPollLimit);++ }+ };+ return new FFIConverter();})();export type CyclopsTokenProviderConfiguration = {- baseUrl: string;- poolPollIntervalMs: bigint;- poolPollLimit: number;- claimPollIntervalMs: bigint;- claimPollLimit: number;-};+ baseUrl: string,+ poolPollIntervalMs: bigint,+ poolPollLimit: number,+ claimPollIntervalMs: bigint,+ claimPollLimit: number+}/*** Generated factory for {@link CyclopsTokenProviderConfiguration} record objects.*/export const CyclopsTokenProviderConfiguration = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<- CyclopsTokenProviderConfiguration,- ReturnType<typeof defaults>- >(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () =>- Object.freeze(defaults()) as Partial<CyclopsTokenProviderConfiguration>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<CyclopsTokenProviderConfiguration, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<CyclopsTokenProviderConfiguration>,+ });})();const FfiConverterTypeCyclopsTokenProviderConfiguration = (() => {- type TypeName = CyclopsTokenProviderConfiguration;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- baseUrl: FfiConverterString.read(from),- poolPollIntervalMs: FfiConverterUInt64.read(from),- poolPollLimit: FfiConverterUInt32.read(from),- claimPollIntervalMs: FfiConverterUInt64.read(from),- claimPollLimit: FfiConverterUInt32.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.baseUrl, into);- FfiConverterUInt64.write(value.poolPollIntervalMs, into);- FfiConverterUInt32.write(value.poolPollLimit, into);- FfiConverterUInt64.write(value.claimPollIntervalMs, into);- FfiConverterUInt32.write(value.claimPollLimit, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.baseUrl) +- FfiConverterUInt64.allocationSize(value.poolPollIntervalMs) +- FfiConverterUInt32.allocationSize(value.poolPollLimit) +- FfiConverterUInt64.allocationSize(value.claimPollIntervalMs) +- FfiConverterUInt32.allocationSize(value.claimPollLimit)- );- }- }- return new FFIConverter();+ type TypeName = CyclopsTokenProviderConfiguration;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ baseUrl: FfiConverterString.read(from),+ poolPollIntervalMs: FfiConverterUInt64.read(from),+ poolPollLimit: FfiConverterUInt32.read(from),+ claimPollIntervalMs: FfiConverterUInt64.read(from),+ claimPollLimit: FfiConverterUInt32.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.baseUrl, into);+ FfiConverterUInt64.write(value.poolPollIntervalMs, into);+ FfiConverterUInt32.write(value.poolPollLimit, into);+ FfiConverterUInt64.write(value.claimPollIntervalMs, into);+ FfiConverterUInt32.write(value.claimPollLimit, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.baseUrl) ++ FfiConverterUInt64.allocationSize(value.poolPollIntervalMs) ++ FfiConverterUInt32.allocationSize(value.poolPollLimit) ++ FfiConverterUInt64.allocationSize(value.claimPollIntervalMs) ++ FfiConverterUInt32.allocationSize(value.claimPollLimit);++ }+ };+ return new FFIConverter();})();export type HttpHeader = {- name: string;- value: string;-};+ name: string,+ value: string+}/*** Generated factory for {@link HttpHeader} record objects.*/export const HttpHeader = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<HttpHeader, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<HttpHeader>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<HttpHeader, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<HttpHeader>,+ });})();const FfiConverterTypeHttpHeader = (() => {- type TypeName = HttpHeader;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- name: FfiConverterString.read(from),- value: FfiConverterString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.name, into);- FfiConverterString.write(value.value, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.name) +- FfiConverterString.allocationSize(value.value)- );- }- }- return new FFIConverter();+ type TypeName = HttpHeader;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ name: FfiConverterString.read(from),+ value: FfiConverterString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.name, into);+ FfiConverterString.write(value.value, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.name) ++ FfiConverterString.allocationSize(value.value);++ }+ };+ return new FFIConverter();})();export type HttpRequest = {- method: string;- url: string;- headers: Array<HttpHeader>;- body?: ArrayBuffer;- /**- * Per-request timeout. Defaults to absent so callers written against the- * pre-timeout record shape keep constructing requests unchanged; absent- * falls back to the native client's 30-second default.- */- timeoutSecs?: bigint;- /**- * Maximum bytes delivered in the response body. Absent preserves the- * historical unbounded response behavior.- */- maxResponseBytes?: bigint;-};+ method: string,+ url: string,+ headers: Array<HttpHeader>,+ body?: ArrayBuffer,+ /**+ * Per-request timeout. Defaults to absent so callers written against the+ * pre-timeout record shape keep constructing requests unchanged; absent+ * falls back to the native client's 30-second default.+ */+ timeoutSecs?: bigint,+ /**+ * Maximum bytes delivered in the response body. Absent preserves the+ * historical unbounded response behavior.+ */+ maxResponseBytes?: bigint+}/*** Generated factory for {@link HttpRequest} record objects.*/export const HttpRequest = (() => {- const defaults = () => ({- timeoutSecs: undefined,- maxResponseBytes: undefined,- });- const create = (() => {- return uniffiCreateRecord<HttpRequest, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<HttpRequest>,- });+ const defaults = () => ({+ timeoutSecs: undefined,+ maxResponseBytes: undefined+ });+ const create = (() => {+ return uniffiCreateRecord<HttpRequest, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<HttpRequest>,+ });})();const FfiConverterTypeHttpRequest = (() => {- type TypeName = HttpRequest;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- method: FfiConverterString.read(from),- url: FfiConverterString.read(from),- headers: FfiConverterSequenceTypeHttpHeader.read(from),- body: FfiConverterOptionalBytes.read(from),- timeoutSecs: FfiConverterOptionalUInt64.read(from),- maxResponseBytes: FfiConverterOptionalUInt64.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.method, into);- FfiConverterString.write(value.url, into);- FfiConverterSequenceTypeHttpHeader.write(value.headers, into);- FfiConverterOptionalBytes.write(value.body, into);- FfiConverterOptionalUInt64.write(value.timeoutSecs, into);- FfiConverterOptionalUInt64.write(value.maxResponseBytes, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.method) +- FfiConverterString.allocationSize(value.url) +- FfiConverterSequenceTypeHttpHeader.allocationSize(value.headers) +- FfiConverterOptionalBytes.allocationSize(value.body) +- FfiConverterOptionalUInt64.allocationSize(value.timeoutSecs) +- FfiConverterOptionalUInt64.allocationSize(value.maxResponseBytes)- );- }- }- return new FFIConverter();+ type TypeName = HttpRequest;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ method: FfiConverterString.read(from),+ url: FfiConverterString.read(from),+ headers: FfiConverterSequenceTypeHttpHeader.read(from),+ body: FfiConverterOptionalBytes.read(from),+ timeoutSecs: FfiConverterOptionalUInt64.read(from),+ maxResponseBytes: FfiConverterOptionalUInt64.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.method, into);+ FfiConverterString.write(value.url, into);+ FfiConverterSequenceTypeHttpHeader.write(value.headers, into);+ FfiConverterOptionalBytes.write(value.body, into);+ FfiConverterOptionalUInt64.write(value.timeoutSecs, into);+ FfiConverterOptionalUInt64.write(value.maxResponseBytes, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.method) ++ FfiConverterString.allocationSize(value.url) ++ FfiConverterSequenceTypeHttpHeader.allocationSize(value.headers) ++ FfiConverterOptionalBytes.allocationSize(value.body) ++ FfiConverterOptionalUInt64.allocationSize(value.timeoutSecs) ++ FfiConverterOptionalUInt64.allocationSize(value.maxResponseBytes);++ }+ };+ return new FFIConverter();})();export type HttpResponse = {- status: number;- headers: Array<HttpHeader>;- body: ArrayBuffer;-};+ status: number,+ headers: Array<HttpHeader>,+ body: ArrayBuffer+}/*** Generated factory for {@link HttpResponse} record objects.*/export const HttpResponse = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<HttpResponse, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<HttpResponse>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<HttpResponse, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<HttpResponse>,+ });})();const FfiConverterTypeHttpResponse = (() => {- type TypeName = HttpResponse;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- status: FfiConverterUInt16.read(from),- headers: FfiConverterSequenceTypeHttpHeader.read(from),- body: FfiConverterArrayBuffer.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterUInt16.write(value.status, into);- FfiConverterSequenceTypeHttpHeader.write(value.headers, into);- FfiConverterArrayBuffer.write(value.body, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterUInt16.allocationSize(value.status) +- FfiConverterSequenceTypeHttpHeader.allocationSize(value.headers) +- FfiConverterArrayBuffer.allocationSize(value.body)- );- }- }- return new FFIConverter();+ type TypeName = HttpResponse;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ status: FfiConverterUInt16.read(from),+ headers: FfiConverterSequenceTypeHttpHeader.read(from),+ body: FfiConverterArrayBuffer.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterUInt16.write(value.status, into);+ FfiConverterSequenceTypeHttpHeader.write(value.headers, into);+ FfiConverterArrayBuffer.write(value.body, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterUInt16.allocationSize(value.status) ++ FfiConverterSequenceTypeHttpHeader.allocationSize(value.headers) ++ FfiConverterArrayBuffer.allocationSize(value.body);++ }+ };+ return new FFIConverter();})();-export type Namespace = {- name: string;- status: string;- createdAt: string;- labels?: Map<string, string>;-};+export type ImageUploadFileRequest = {+ digest: string,+ sizeBytes: bigint,+ name: string+}/**- * Generated factory for {@link Namespace} record objects.+ * Generated factory for {@link ImageUploadFileRequest} record objects.*/-export const Namespace = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<Namespace, ReturnType<typeof defaults>>(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<Namespace>,- });+export const ImageUploadFileRequest = (() => {+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<ImageUploadFileRequest, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<ImageUploadFileRequest>,+ });})();-const FfiConverterTypeNamespace = (() => {- type TypeName = Namespace;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- name: FfiConverterString.read(from),- status: FfiConverterString.read(from),- createdAt: FfiConverterString.read(from),- labels: FfiConverterOptionalMapStringString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.name, into);- FfiConverterString.write(value.status, into);- FfiConverterString.write(value.createdAt, into);- FfiConverterOptionalMapStringString.write(value.labels, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.name) +- FfiConverterString.allocationSize(value.status) +- FfiConverterString.allocationSize(value.createdAt) +- FfiConverterOptionalMapStringString.allocationSize(value.labels)- );- }- }- return new FFIConverter();+const FfiConverterTypeImageUploadFileRequest = (() => {+ type TypeName = ImageUploadFileRequest;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ digest: FfiConverterString.read(from),+ sizeBytes: FfiConverterUInt64.read(from),+ name: FfiConverterString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.digest, into);+ FfiConverterUInt64.write(value.sizeBytes, into);+ FfiConverterString.write(value.name, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.digest) ++ FfiConverterUInt64.allocationSize(value.sizeBytes) ++ FfiConverterString.allocationSize(value.name);++ }+ };+ return new FFIConverter();})();-export type NewUserApiKey = {- clientId: string;- clientSecret: string;- tokenUrl: string;- name: string;- scope: Array<string>;-};+export type PresignedPut = {+ method: string,+ url: string,+ headers: Map<string, string>+}/**- * Generated factory for {@link NewUserApiKey} record objects.+ * Generated factory for {@link PresignedPut} record objects.*/-export const NewUserApiKey = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<NewUserApiKey, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<NewUserApiKey>,- });-})();--const FfiConverterTypeNewUserApiKey = (() => {- type TypeName = NewUserApiKey;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- clientId: FfiConverterString.read(from),- clientSecret: FfiConverterString.read(from),- tokenUrl: FfiConverterString.read(from),- name: FfiConverterString.read(from),- scope: FfiConverterSequenceString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.clientId, into);- FfiConverterString.write(value.clientSecret, into);- FfiConverterString.write(value.tokenUrl, into);- FfiConverterString.write(value.name, into);- FfiConverterSequenceString.write(value.scope, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.clientId) +- FfiConverterString.allocationSize(value.clientSecret) +- FfiConverterString.allocationSize(value.tokenUrl) +- FfiConverterString.allocationSize(value.name) +- FfiConverterSequenceString.allocationSize(value.scope)- );- }- }- return new FFIConverter();+export const PresignedPut = (() => {+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<PresignedPut, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<PresignedPut>,+ });})();-export enum PoolDisplayStatusKind {- Healthy,- ScaledToZero,- Removed,- Terminating,- Unknown,-}+const FfiConverterTypePresignedPut = (() => {+ type TypeName = PresignedPut;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ method: FfiConverterString.read(from),+ url: FfiConverterString.read(from),+ headers: FfiConverterMapStringString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.method, into);+ FfiConverterString.write(value.url, into);+ FfiConverterMapStringString.write(value.headers, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.method) ++ FfiConverterString.allocationSize(value.url) ++ FfiConverterMapStringString.allocationSize(value.headers);-const FfiConverterTypePoolDisplayStatusKind = (() => {- const ordinalConverter = FfiConverterInt32;- type TypeName = PoolDisplayStatusKind;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- switch (ordinalConverter.read(from)) {- case 1:- return PoolDisplayStatusKind.Healthy;- case 2:- return PoolDisplayStatusKind.ScaledToZero;- case 3:- return PoolDisplayStatusKind.Removed;- case 4:- return PoolDisplayStatusKind.Terminating;- case 5:- return PoolDisplayStatusKind.Unknown;- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- write(value: TypeName, into: RustBuffer): void {- switch (value) {- case PoolDisplayStatusKind.Healthy:- return ordinalConverter.write(1, into);- case PoolDisplayStatusKind.ScaledToZero:- return ordinalConverter.write(2, into);- case PoolDisplayStatusKind.Removed:- return ordinalConverter.write(3, into);- case PoolDisplayStatusKind.Terminating:- return ordinalConverter.write(4, into);- case PoolDisplayStatusKind.Unknown:- return ordinalConverter.write(5, into);- }- }- allocationSize(value: TypeName): number {- return ordinalConverter.allocationSize(0);- }- }- return new FFIConverter();+ }+ };+ return new FFIConverter();})();-export type PoolDisplayStatus = {- kind: PoolDisplayStatusKind;- label: string;- indicator: string;-};+export type ImageUploadInstruction = {+ digest: string,+ sizeBytes: bigint,+ reference: string,+ upload?: PresignedPut+}/**- * Generated factory for {@link PoolDisplayStatus} record objects.+ * Generated factory for {@link ImageUploadInstruction} record objects.*/-export const PoolDisplayStatus = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<PoolDisplayStatus, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<PoolDisplayStatus>,- });+export const ImageUploadInstruction = (() => {+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<ImageUploadInstruction, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<ImageUploadInstruction>,+ });})();-const FfiConverterTypePoolDisplayStatus = (() => {- type TypeName = PoolDisplayStatus;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- kind: FfiConverterTypePoolDisplayStatusKind.read(from),- label: FfiConverterString.read(from),- indicator: FfiConverterString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterTypePoolDisplayStatusKind.write(value.kind, into);- FfiConverterString.write(value.label, into);- FfiConverterString.write(value.indicator, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterTypePoolDisplayStatusKind.allocationSize(value.kind) +- FfiConverterString.allocationSize(value.label) +- FfiConverterString.allocationSize(value.indicator)- );- }- }- return new FFIConverter();+const FfiConverterTypeImageUploadInstruction = (() => {+ type TypeName = ImageUploadInstruction;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ digest: FfiConverterString.read(from),+ sizeBytes: FfiConverterUInt64.read(from),+ reference: FfiConverterString.read(from),+ upload: FfiConverterOptionalTypePresignedPut.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.digest, into);+ FfiConverterUInt64.write(value.sizeBytes, into);+ FfiConverterString.write(value.reference, into);+ FfiConverterOptionalTypePresignedPut.write(value.upload, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.digest) ++ FfiConverterUInt64.allocationSize(value.sizeBytes) ++ FfiConverterString.allocationSize(value.reference) ++ FfiConverterOptionalTypePresignedPut.allocationSize(value.upload);++ }+ };+ return new FFIConverter();+})();++export type ImageUploadRequest = {+ namespace: string,+ files: Array<ImageUploadFileRequest>+}++/**+ * Generated factory for {@link ImageUploadRequest} record objects.+ */+export const ImageUploadRequest = (() => {+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<ImageUploadRequest, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<ImageUploadRequest>,+ });+})();++const FfiConverterTypeImageUploadRequest = (() => {+ type TypeName = ImageUploadRequest;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ namespace: FfiConverterString.read(from),+ files: FfiConverterSequenceTypeImageUploadFileRequest.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.namespace, into);+ FfiConverterSequenceTypeImageUploadFileRequest.write(value.files, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.namespace) ++ FfiConverterSequenceTypeImageUploadFileRequest.allocationSize(value.files);++ }+ };+ return new FFIConverter();+})();++export type ImageUploadResponse = {+ files: Array<ImageUploadInstruction>+}++/**+ * Generated factory for {@link ImageUploadResponse} record objects.+ */+export const ImageUploadResponse = (() => {+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<ImageUploadResponse, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<ImageUploadResponse>,+ });+})();++const FfiConverterTypeImageUploadResponse = (() => {+ type TypeName = ImageUploadResponse;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ files: FfiConverterSequenceTypeImageUploadInstruction.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterSequenceTypeImageUploadInstruction.write(value.files, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterSequenceTypeImageUploadInstruction.allocationSize(value.files);++ }+ };+ return new FFIConverter();+})();++export type Namespace = {+ name: string,+ status: string,+ createdAt: string,+ labels?: Map<string, string>+}++/**+ * Generated factory for {@link Namespace} record objects.+ */+export const Namespace = (() => {+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<Namespace, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<Namespace>,+ });+})();++const FfiConverterTypeNamespace = (() => {+ type TypeName = Namespace;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ name: FfiConverterString.read(from),+ status: FfiConverterString.read(from),+ createdAt: FfiConverterString.read(from),+ labels: FfiConverterOptionalMapStringString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.name, into);+ FfiConverterString.write(value.status, into);+ FfiConverterString.write(value.createdAt, into);+ FfiConverterOptionalMapStringString.write(value.labels, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.name) ++ FfiConverterString.allocationSize(value.status) ++ FfiConverterString.allocationSize(value.createdAt) ++ FfiConverterOptionalMapStringString.allocationSize(value.labels);++ }+ };+ return new FFIConverter();+})();++export type NewUserApiKey = {+ clientId: string,+ clientSecret: string,+ tokenUrl: string,+ name: string,+ scope: Array<string>+}++/**+ * Generated factory for {@link NewUserApiKey} record objects.+ */+export const NewUserApiKey = (() => {+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<NewUserApiKey, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<NewUserApiKey>,+ });+})();++const FfiConverterTypeNewUserApiKey = (() => {+ type TypeName = NewUserApiKey;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ clientId: FfiConverterString.read(from),+ clientSecret: FfiConverterString.read(from),+ tokenUrl: FfiConverterString.read(from),+ name: FfiConverterString.read(from),+ scope: FfiConverterSequenceString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.clientId, into);+ FfiConverterString.write(value.clientSecret, into);+ FfiConverterString.write(value.tokenUrl, into);+ FfiConverterString.write(value.name, into);+ FfiConverterSequenceString.write(value.scope, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.clientId) ++ FfiConverterString.allocationSize(value.clientSecret) ++ FfiConverterString.allocationSize(value.tokenUrl) ++ FfiConverterString.allocationSize(value.name) ++ FfiConverterSequenceString.allocationSize(value.scope);++ }+ };+ return new FFIConverter();+})();++export enum PoolDisplayStatusKind {+ Healthy,+ ScaledToZero,+ Removed,+ Terminating,+ Unknown+}++const FfiConverterTypePoolDisplayStatusKind = (() => {+ const ordinalConverter = FfiConverterInt32;+ type TypeName = PoolDisplayStatusKind;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ switch (ordinalConverter.read(from)) {+ case 1: return PoolDisplayStatusKind.Healthy;+ case 2: return PoolDisplayStatusKind.ScaledToZero;+ case 3: return PoolDisplayStatusKind.Removed;+ case 4: return PoolDisplayStatusKind.Terminating;+ case 5: return PoolDisplayStatusKind.Unknown;+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ write(value: TypeName, into: RustBuffer): void {+ switch (value) {+ case PoolDisplayStatusKind.Healthy: return ordinalConverter.write(1, into);+ case PoolDisplayStatusKind.ScaledToZero: return ordinalConverter.write(2, into);+ case PoolDisplayStatusKind.Removed: return ordinalConverter.write(3, into);+ case PoolDisplayStatusKind.Terminating: return ordinalConverter.write(4, into);+ case PoolDisplayStatusKind.Unknown: return ordinalConverter.write(5, into);+ }+ }+ allocationSize(value: TypeName): number {+ return ordinalConverter.allocationSize(0);+ }+ }+ return new FFIConverter();+})();++export type PoolDisplayStatus = {+ kind: PoolDisplayStatusKind,+ label: string,+ indicator: string+}++/**+ * Generated factory for {@link PoolDisplayStatus} record objects.+ */+export const PoolDisplayStatus = (() => {+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<PoolDisplayStatus, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<PoolDisplayStatus>,+ });+})();++const FfiConverterTypePoolDisplayStatus = (() => {+ type TypeName = PoolDisplayStatus;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ kind: FfiConverterTypePoolDisplayStatusKind.read(from),+ label: FfiConverterString.read(from),+ indicator: FfiConverterString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterTypePoolDisplayStatusKind.write(value.kind, into);+ FfiConverterString.write(value.label, into);+ FfiConverterString.write(value.indicator, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterTypePoolDisplayStatusKind.allocationSize(value.kind) ++ FfiConverterString.allocationSize(value.label) ++ FfiConverterString.allocationSize(value.indicator);++ }+ };+ return new FFIConverter();})();export type SignedServiceUrl = {- id: string;- namespace: string;- claim: string;- sandbox: string;- service: string;- label?: string;- url: string;- createdAt: string;- expiresAt: string;- revokedAt?: string;-};+ id: string,+ namespace: string,+ claim: string,+ sandbox: string,+ service: string,+ label?: string,+ url: string,+ createdAt: string,+ expiresAt: string,+ revokedAt?: string+}/*** Generated factory for {@link SignedServiceUrl} record objects.*/export const SignedServiceUrl = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<SignedServiceUrl, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<SignedServiceUrl>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<SignedServiceUrl, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<SignedServiceUrl>,+ });})();const FfiConverterTypeSignedServiceUrl = (() => {- type TypeName = SignedServiceUrl;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- id: FfiConverterString.read(from),- namespace: FfiConverterString.read(from),- claim: FfiConverterString.read(from),- sandbox: FfiConverterString.read(from),- service: FfiConverterString.read(from),- label: FfiConverterOptionalString.read(from),- url: FfiConverterString.read(from),- createdAt: FfiConverterString.read(from),- expiresAt: FfiConverterString.read(from),- revokedAt: FfiConverterOptionalString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.id, into);- FfiConverterString.write(value.namespace, into);- FfiConverterString.write(value.claim, into);- FfiConverterString.write(value.sandbox, into);- FfiConverterString.write(value.service, into);- FfiConverterOptionalString.write(value.label, into);- FfiConverterString.write(value.url, into);- FfiConverterString.write(value.createdAt, into);- FfiConverterString.write(value.expiresAt, into);- FfiConverterOptionalString.write(value.revokedAt, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.id) +- FfiConverterString.allocationSize(value.namespace) +- FfiConverterString.allocationSize(value.claim) +- FfiConverterString.allocationSize(value.sandbox) +- FfiConverterString.allocationSize(value.service) +- FfiConverterOptionalString.allocationSize(value.label) +- FfiConverterString.allocationSize(value.url) +- FfiConverterString.allocationSize(value.createdAt) +- FfiConverterString.allocationSize(value.expiresAt) +- FfiConverterOptionalString.allocationSize(value.revokedAt)- );- }- }- return new FFIConverter();+ type TypeName = SignedServiceUrl;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ id: FfiConverterString.read(from),+ namespace: FfiConverterString.read(from),+ claim: FfiConverterString.read(from),+ sandbox: FfiConverterString.read(from),+ service: FfiConverterString.read(from),+ label: FfiConverterOptionalString.read(from),+ url: FfiConverterString.read(from),+ createdAt: FfiConverterString.read(from),+ expiresAt: FfiConverterString.read(from),+ revokedAt: FfiConverterOptionalString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.id, into);+ FfiConverterString.write(value.namespace, into);+ FfiConverterString.write(value.claim, into);+ FfiConverterString.write(value.sandbox, into);+ FfiConverterString.write(value.service, into);+ FfiConverterOptionalString.write(value.label, into);+ FfiConverterString.write(value.url, into);+ FfiConverterString.write(value.createdAt, into);+ FfiConverterString.write(value.expiresAt, into);+ FfiConverterOptionalString.write(value.revokedAt, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.id) ++ FfiConverterString.allocationSize(value.namespace) ++ FfiConverterString.allocationSize(value.claim) ++ FfiConverterString.allocationSize(value.sandbox) ++ FfiConverterString.allocationSize(value.service) ++ FfiConverterOptionalString.allocationSize(value.label) ++ FfiConverterString.allocationSize(value.url) ++ FfiConverterString.allocationSize(value.createdAt) ++ FfiConverterString.allocationSize(value.expiresAt) ++ FfiConverterOptionalString.allocationSize(value.revokedAt);++ }+ };+ return new FFIConverter();})();/**@@ -1393,4906 +1481,3977 @@ const FfiConverterTypeSignedServiceUrl = (() => {* and claims reference one by name via `spec.sandboxTemplateRef.name`.*/export type Template = {- apiVersion: string;- kind: string;- metadata: ResourceMetadata;- spec: OsGymSandboxTemplateSpec;-};+ apiVersion: string,+ kind: string,+ metadata: ResourceMetadata,+ spec: OsGymSandboxTemplateSpec+}/*** Generated factory for {@link Template} record objects.*/export const Template = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<Template, ReturnType<typeof defaults>>(defaults);- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<Template>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<Template, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<Template>,+ });})();const FfiConverterTypeTemplate = (() => {- type TypeName = Template;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- apiVersion: FfiConverterString.read(from),- kind: FfiConverterString.read(from),- metadata: FfiConverterTypeResourceMetadata.read(from),- spec: FfiConverterTypeOSGymSandboxTemplateSpec.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.apiVersion, into);- FfiConverterString.write(value.kind, into);- FfiConverterTypeResourceMetadata.write(value.metadata, into);- FfiConverterTypeOSGymSandboxTemplateSpec.write(value.spec, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.apiVersion) +- FfiConverterString.allocationSize(value.kind) +- FfiConverterTypeResourceMetadata.allocationSize(value.metadata) +- FfiConverterTypeOSGymSandboxTemplateSpec.allocationSize(value.spec)- );- }- }- return new FFIConverter();+ type TypeName = Template;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ apiVersion: FfiConverterString.read(from),+ kind: FfiConverterString.read(from),+ metadata: FfiConverterTypeResourceMetadata.read(from),+ spec: FfiConverterTypeOSGymSandboxTemplateSpec.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.apiVersion, into);+ FfiConverterString.write(value.kind, into);+ FfiConverterTypeResourceMetadata.write(value.metadata, into);+ FfiConverterTypeOSGymSandboxTemplateSpec.write(value.spec, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.apiVersion) ++ FfiConverterString.allocationSize(value.kind) ++ FfiConverterTypeResourceMetadata.allocationSize(value.metadata) ++ FfiConverterTypeOSGymSandboxTemplateSpec.allocationSize(value.spec);++ }+ };+ return new FFIConverter();})();export type UserApiKey = {- id: string;- clientId: string;- name: string;- scope: Array<string>;-};+ id: string,+ clientId: string,+ name: string,+ scope: Array<string>+}/*** Generated factory for {@link UserApiKey} record objects.*/export const UserApiKey = (() => {- const defaults = () => ({});- const create = (() => {- return uniffiCreateRecord<UserApiKey, ReturnType<typeof defaults>>(- defaults,- );- })();- return Object.freeze({- create,- new: create,- defaults: () => Object.freeze(defaults()) as Partial<UserApiKey>,- });+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<UserApiKey, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<UserApiKey>,+ });})();const FfiConverterTypeUserApiKey = (() => {- type TypeName = UserApiKey;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- return {- id: FfiConverterString.read(from),- clientId: FfiConverterString.read(from),- name: FfiConverterString.read(from),- scope: FfiConverterSequenceString.read(from),- };- }- write(value: TypeName, into: RustBuffer): void {- FfiConverterString.write(value.id, into);- FfiConverterString.write(value.clientId, into);- FfiConverterString.write(value.name, into);- FfiConverterSequenceString.write(value.scope, into);- }- allocationSize(value: TypeName): number {- return (- FfiConverterString.allocationSize(value.id) +- FfiConverterString.allocationSize(value.clientId) +- FfiConverterString.allocationSize(value.name) +- FfiConverterSequenceString.allocationSize(value.scope)- );- }- }- return new FFIConverter();+ type TypeName = UserApiKey;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ id: FfiConverterString.read(from),+ clientId: FfiConverterString.read(from),+ name: FfiConverterString.read(from),+ scope: FfiConverterSequenceString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.id, into);+ FfiConverterString.write(value.clientId, into);+ FfiConverterString.write(value.name, into);+ FfiConverterSequenceString.write(value.scope, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.id) ++ FfiConverterString.allocationSize(value.clientId) ++ FfiConverterString.allocationSize(value.name) ++ FfiConverterSequenceString.allocationSize(value.scope);++ }+ };+ return new FFIConverter();})();+// Error type: AccessTokenProviderErrorexport enum AccessTokenProviderError_Tags {- Failed = "Failed",+ Failed = "Failed"}export const AccessTokenProviderError = (() => {- type Failed__interface = {- tag: AccessTokenProviderError_Tags.Failed;- inner: Readonly<{ reason: string }>;- };- class Failed_ extends UniffiError implements Failed__interface {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "AccessTokenProviderError";- readonly tag = AccessTokenProviderError_Tags.Failed;- readonly inner: Readonly<{ reason: string }>;- constructor(inner: { reason: string }) {- super("AccessTokenProviderError", "Failed");- this.inner = Object.freeze(inner);- }- static new(inner: { reason: string }): Failed_ {- return new Failed_(inner);- }+ type Failed__interface = {+ tag: AccessTokenProviderError_Tags.Failed;+ inner:+Readonly<{reason: string}>+ };+ class Failed_ extends UniffiError implements Failed__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "AccessTokenProviderError";+ readonly tag = AccessTokenProviderError_Tags.Failed;+ readonly inner:+Readonly<{reason: string}>;+ constructor(+inner: {reason: string }) {+ super("AccessTokenProviderError", "Failed");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {reason: string }): Failed_ {+ return new Failed_(inner);+ }++ static instanceOf(obj: any): obj is Failed_ {+ return obj.tag === AccessTokenProviderError_Tags.Failed;+ }+ static hasInner(obj: any): obj is Failed_ {+ return Failed_.instanceOf(obj);+ }++ static getInner(obj: Failed_):+Readonly<{reason: string}> {+ return obj.inner;+ }- static instanceOf(obj: any): obj is Failed_ {- return obj.tag === AccessTokenProviderError_Tags.Failed;- }- static hasInner(obj: any): obj is Failed_ {- return Failed_.instanceOf(obj);}- static getInner(obj: Failed_): Readonly<{ reason: string }> {- return obj.inner;+ function instanceOf(obj: any): obj is AccessTokenProviderError {+ return obj[uniffiTypeNameSymbol] === "AccessTokenProviderError";}- }- function instanceOf(obj: any): obj is AccessTokenProviderError {- return obj[uniffiTypeNameSymbol] === "AccessTokenProviderError";- }+ return Object.freeze({+ instanceOf,+ Failed: Failed_+ });- return Object.freeze({- instanceOf,- Failed: Failed_,- });})();export type AccessTokenProviderError = InstanceType<- (typeof AccessTokenProviderError)["Failed"]+ typeof AccessTokenProviderError['Failed']>;// FfiConverter for enum AccessTokenProviderErrorconst FfiConverterTypeAccessTokenProviderError = (() => {- const ordinalConverter = FfiConverterInt32;- type TypeName = AccessTokenProviderError;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- switch (ordinalConverter.read(from)) {- case 1:- return new AccessTokenProviderError.Failed({- reason: FfiConverterString.read(from),- });- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- write(value: TypeName, into: RustBuffer): void {- switch (value.tag) {- case AccessTokenProviderError_Tags.Failed: {- ordinalConverter.write(1, into);- const inner = value.inner;- FfiConverterString.write(inner.reason, into);- return;- }- default:- // Throwing from here means that AccessTokenProviderError_Tags hasn't matched an ordinal.- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- allocationSize(value: TypeName): number {- switch (value.tag) {- case AccessTokenProviderError_Tags.Failed: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(1);- size += FfiConverterString.allocationSize(inner.reason);- return size;- }- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }+ const ordinalConverter = FfiConverterInt32;+ type TypeName = AccessTokenProviderError;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ switch (ordinalConverter.read(from)) {+ case 1: return new AccessTokenProviderError.Failed({reason: FfiConverterString.read(from) });+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ write(value: TypeName, into: RustBuffer): void {+ switch (value.tag) {+ case AccessTokenProviderError_Tags.Failed: {+ ordinalConverter.write(1, into);+ const inner = value.inner;+ FfiConverterString.write(inner.reason, into);+ return;+ }+ default:+ // Throwing from here means that AccessTokenProviderError_Tags hasn't matched an ordinal.+ throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ allocationSize(value: TypeName): number {+ switch (value.tag) {+ case AccessTokenProviderError_Tags.Failed: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(1);+ size += FfiConverterString.allocationSize(inner.reason);+ return size;+ }+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }}- }- return new FFIConverter();+ return new FFIConverter();})();+// Error type: HttpErrorexport enum HttpError_Tags {- Transport = "Transport",+ Transport = "Transport"}export const HttpError = (() => {- type Transport__interface = {- tag: HttpError_Tags.Transport;- inner: Readonly<{ reason: string }>;- };- class Transport_ extends UniffiError implements Transport__interface {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "HttpError";- readonly tag = HttpError_Tags.Transport;- readonly inner: Readonly<{ reason: string }>;- constructor(inner: { reason: string }) {- super("HttpError", "Transport");- this.inner = Object.freeze(inner);- }- static new(inner: { reason: string }): Transport_ {- return new Transport_(inner);- }+ type Transport__interface = {+ tag: HttpError_Tags.Transport;+ inner:+Readonly<{reason: string}>+ };+ class Transport_ extends UniffiError implements Transport__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "HttpError";+ readonly tag = HttpError_Tags.Transport;+ readonly inner:+Readonly<{reason: string}>;+ constructor(+inner: {reason: string }) {+ super("HttpError", "Transport");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {reason: string }): Transport_ {+ return new Transport_(inner);+ }++ static instanceOf(obj: any): obj is Transport_ {+ return obj.tag === HttpError_Tags.Transport;+ }+ static hasInner(obj: any): obj is Transport_ {+ return Transport_.instanceOf(obj);+ }++ static getInner(obj: Transport_):+Readonly<{reason: string}> {+ return obj.inner;+ }- static instanceOf(obj: any): obj is Transport_ {- return obj.tag === HttpError_Tags.Transport;- }- static hasInner(obj: any): obj is Transport_ {- return Transport_.instanceOf(obj);}- static getInner(obj: Transport_): Readonly<{ reason: string }> {- return obj.inner;+ function instanceOf(obj: any): obj is HttpError {+ return obj[uniffiTypeNameSymbol] === "HttpError";}- }- function instanceOf(obj: any): obj is HttpError {- return obj[uniffiTypeNameSymbol] === "HttpError";- }+ return Object.freeze({+ instanceOf,+ Transport: Transport_+ });- return Object.freeze({- instanceOf,- Transport: Transport_,- });})();-export type HttpError = InstanceType<(typeof HttpError)["Transport"]>;+export type HttpError = InstanceType<+ typeof HttpError['Transport']+>;// FfiConverter for enum HttpErrorconst FfiConverterTypeHttpError = (() => {- const ordinalConverter = FfiConverterInt32;- type TypeName = HttpError;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- switch (ordinalConverter.read(from)) {- case 1:- return new HttpError.Transport({- reason: FfiConverterString.read(from),- });- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- write(value: TypeName, into: RustBuffer): void {- switch (value.tag) {- case HttpError_Tags.Transport: {- ordinalConverter.write(1, into);- const inner = value.inner;- FfiConverterString.write(inner.reason, into);- return;- }- default:- // Throwing from here means that HttpError_Tags hasn't matched an ordinal.- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- allocationSize(value: TypeName): number {- switch (value.tag) {- case HttpError_Tags.Transport: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(1);- size += FfiConverterString.allocationSize(inner.reason);- return size;- }- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }+ const ordinalConverter = FfiConverterInt32;+ type TypeName = HttpError;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ switch (ordinalConverter.read(from)) {+ case 1: return new HttpError.Transport({reason: FfiConverterString.read(from) });+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ write(value: TypeName, into: RustBuffer): void {+ switch (value.tag) {+ case HttpError_Tags.Transport: {+ ordinalConverter.write(1, into);+ const inner = value.inner;+ FfiConverterString.write(inner.reason, into);+ return;+ }+ default:+ // Throwing from here means that HttpError_Tags hasn't matched an ordinal.+ throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ allocationSize(value: TypeName): number {+ switch (value.tag) {+ case HttpError_Tags.Transport: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(1);+ size += FfiConverterString.allocationSize(inner.reason);+ return size;+ }+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }}- }- return new FFIConverter();+ return new FFIConverter();})();+// Error type: SdkBuildErrorexport enum SdkBuildError_Tags {- MissingRequiredField = "MissingRequiredField",+ MissingRequiredField = "MissingRequiredField"}export const SdkBuildError = (() => {- type MissingRequiredField__interface = {- tag: SdkBuildError_Tags.MissingRequiredField;- inner: Readonly<{ recordType: string; field: string }>;- };- class MissingRequiredField_- extends UniffiError- implements MissingRequiredField__interface- {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SdkBuildError";- readonly tag = SdkBuildError_Tags.MissingRequiredField;- readonly inner: Readonly<{ recordType: string; field: string }>;- constructor(inner: { recordType: string; field: string }) {- super("SdkBuildError", "MissingRequiredField");- this.inner = Object.freeze(inner);- }- static new(inner: {- recordType: string;- field: string;- }): MissingRequiredField_ {- return new MissingRequiredField_(inner);- }+ type MissingRequiredField__interface = {+ tag: SdkBuildError_Tags.MissingRequiredField;+ inner:+Readonly<{recordType: string; field: string}>+ };+ class MissingRequiredField_ extends UniffiError implements MissingRequiredField__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SdkBuildError";+ readonly tag = SdkBuildError_Tags.MissingRequiredField;+ readonly inner:+Readonly<{recordType: string; field: string}>;+ constructor(+inner: {recordType: string; field: string }) {+ super("SdkBuildError", "MissingRequiredField");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {recordType: string; field: string }): MissingRequiredField_ {+ return new MissingRequiredField_(inner);+ }++ static instanceOf(obj: any): obj is MissingRequiredField_ {+ return obj.tag === SdkBuildError_Tags.MissingRequiredField;+ }+ static hasInner(obj: any): obj is MissingRequiredField_ {+ return MissingRequiredField_.instanceOf(obj);+ }++ static getInner(obj: MissingRequiredField_):+Readonly<{recordType: string; field: string}> {+ return obj.inner;+ }- static instanceOf(obj: any): obj is MissingRequiredField_ {- return obj.tag === SdkBuildError_Tags.MissingRequiredField;- }- static hasInner(obj: any): obj is MissingRequiredField_ {- return MissingRequiredField_.instanceOf(obj);}- static getInner(- obj: MissingRequiredField_,- ): Readonly<{ recordType: string; field: string }> {- return obj.inner;+ function instanceOf(obj: any): obj is SdkBuildError {+ return obj[uniffiTypeNameSymbol] === "SdkBuildError";}- }- function instanceOf(obj: any): obj is SdkBuildError {- return obj[uniffiTypeNameSymbol] === "SdkBuildError";- }+ return Object.freeze({+ instanceOf,+ MissingRequiredField: MissingRequiredField_+ });- return Object.freeze({- instanceOf,- MissingRequiredField: MissingRequiredField_,- });})();export type SdkBuildError = InstanceType<- (typeof SdkBuildError)["MissingRequiredField"]+ typeof SdkBuildError['MissingRequiredField']>;// FfiConverter for enum SdkBuildErrorconst FfiConverterTypeSdkBuildError = (() => {- const ordinalConverter = FfiConverterInt32;- type TypeName = SdkBuildError;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- switch (ordinalConverter.read(from)) {- case 1:- return new SdkBuildError.MissingRequiredField({- recordType: FfiConverterString.read(from),- field: FfiConverterString.read(from),- });- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- write(value: TypeName, into: RustBuffer): void {- switch (value.tag) {- case SdkBuildError_Tags.MissingRequiredField: {- ordinalConverter.write(1, into);- const inner = value.inner;- FfiConverterString.write(inner.recordType, into);- FfiConverterString.write(inner.field, into);- return;- }- default:- // Throwing from here means that SdkBuildError_Tags hasn't matched an ordinal.- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- allocationSize(value: TypeName): number {- switch (value.tag) {- case SdkBuildError_Tags.MissingRequiredField: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(1);- size += FfiConverterString.allocationSize(inner.recordType);- size += FfiConverterString.allocationSize(inner.field);- return size;- }- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }+ const ordinalConverter = FfiConverterInt32;+ type TypeName = SdkBuildError;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ switch (ordinalConverter.read(from)) {+ case 1: return new SdkBuildError.MissingRequiredField({recordType: FfiConverterString.read(from), field: FfiConverterString.read(from) });+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ write(value: TypeName, into: RustBuffer): void {+ switch (value.tag) {+ case SdkBuildError_Tags.MissingRequiredField: {+ ordinalConverter.write(1, into);+ const inner = value.inner;+ FfiConverterString.write(inner.recordType, into);+ FfiConverterString.write(inner.field, into);+ return;+ }+ default:+ // Throwing from here means that SdkBuildError_Tags hasn't matched an ordinal.+ throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ allocationSize(value: TypeName): number {+ switch (value.tag) {+ case SdkBuildError_Tags.MissingRequiredField: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(1);+ size += FfiConverterString.allocationSize(inner.recordType);+ size += FfiConverterString.allocationSize(inner.field);+ return size;+ }+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }}- }- return new FFIConverter();+ return new FFIConverter();})();+// Error type: SdkErrorexport enum SdkError_Tags {- Configuration = "Configuration",- InvalidResourceName = "InvalidResourceName",- Transport = "Transport",- Token = "Token",- Body = "Body",- Status = "Status",- SignedServiceUrlsUnavailable = "SignedServiceUrlsUnavailable",- UnknownService = "UnknownService",- InvalidServicePath = "InvalidServicePath",- ClaimFailed = "ClaimFailed",- ClaimTimeout = "ClaimTimeout",- PoolAccessDenied = "PoolAccessDenied",+ Configuration = "Configuration",+ InvalidResourceName = "InvalidResourceName",+ Transport = "Transport",+ Token = "Token",+ Body = "Body",+ Status = "Status",+ SignedServiceUrlsUnavailable = "SignedServiceUrlsUnavailable",+ UnknownService = "UnknownService",+ InvalidServicePath = "InvalidServicePath",+ ClaimFailed = "ClaimFailed",+ ClaimTimeout = "ClaimTimeout",+ PoolAccessDenied = "PoolAccessDenied"}export const SdkError = (() => {- type Configuration__interface = {- tag: SdkError_Tags.Configuration;- inner: Readonly<{ reason: string }>;- };- class Configuration_ extends UniffiError implements Configuration__interface {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SdkError";- readonly tag = SdkError_Tags.Configuration;- readonly inner: Readonly<{ reason: string }>;- constructor(inner: { reason: string }) {- super("SdkError", "Configuration");- this.inner = Object.freeze(inner);- }- static new(inner: { reason: string }): Configuration_ {- return new Configuration_(inner);- }+ type Configuration__interface = {+ tag: SdkError_Tags.Configuration;+ inner:+Readonly<{reason: string}>+ };+ class Configuration_ extends UniffiError implements Configuration__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SdkError";+ readonly tag = SdkError_Tags.Configuration;+ readonly inner:+Readonly<{reason: string}>;+ constructor(+inner: {reason: string }) {+ super("SdkError", "Configuration");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {reason: string }): Configuration_ {+ return new Configuration_(inner);+ }- static instanceOf(obj: any): obj is Configuration_ {- return obj.tag === SdkError_Tags.Configuration;- }- static hasInner(obj: any): obj is Configuration_ {- return Configuration_.instanceOf(obj);- }+ static instanceOf(obj: any): obj is Configuration_ {+ return obj.tag === SdkError_Tags.Configuration;+ }+ static hasInner(obj: any): obj is Configuration_ {+ return Configuration_.instanceOf(obj);+ }++ static getInner(obj: Configuration_):+Readonly<{reason: string}> {+ return obj.inner;+ }- static getInner(obj: Configuration_): Readonly<{ reason: string }> {- return obj.inner;}- }- type InvalidResourceName__interface = {- tag: SdkError_Tags.InvalidResourceName;- inner: Readonly<{ field: string; value: string; reason: string }>;- };- class InvalidResourceName_- extends UniffiError- implements InvalidResourceName__interface- {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SdkError";- readonly tag = SdkError_Tags.InvalidResourceName;- readonly inner: Readonly<{ field: string; value: string; reason: string }>;- constructor(inner: { field: string; value: string; reason: string }) {- super("SdkError", "InvalidResourceName");+ type InvalidResourceName__interface = {+ tag: SdkError_Tags.InvalidResourceName;+ inner:+Readonly<{field: string; value: string; reason: string}>+ };+ class InvalidResourceName_ extends UniffiError implements InvalidResourceName__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SdkError";+ readonly tag = SdkError_Tags.InvalidResourceName;+ readonly inner:+Readonly<{field: string; value: string; reason: string}>;+ constructor(+inner: {field: string; value: string; reason: string }) {+ super("SdkError", "InvalidResourceName");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {field: string; value: string; reason: string }): InvalidResourceName_ {+ return new InvalidResourceName_(inner);+ }- this.inner = Object.freeze(inner);- }- static new(inner: {- field: string;- value: string;- reason: string;- }): InvalidResourceName_ {- return new InvalidResourceName_(inner);- }+ static instanceOf(obj: any): obj is InvalidResourceName_ {+ return obj.tag === SdkError_Tags.InvalidResourceName;+ }+ static hasInner(obj: any): obj is InvalidResourceName_ {+ return InvalidResourceName_.instanceOf(obj);+ }- static instanceOf(obj: any): obj is InvalidResourceName_ {- return obj.tag === SdkError_Tags.InvalidResourceName;- }- static hasInner(obj: any): obj is InvalidResourceName_ {- return InvalidResourceName_.instanceOf(obj);- }+ static getInner(obj: InvalidResourceName_):+Readonly<{field: string; value: string; reason: string}> {+ return obj.inner;+ }- static getInner(- obj: InvalidResourceName_,- ): Readonly<{ field: string; value: string; reason: string }> {- return obj.inner;}- }- type Transport__interface = {- tag: SdkError_Tags.Transport;- inner: Readonly<{ reason: string }>;- };- class Transport_ extends UniffiError implements Transport__interface {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SdkError";- readonly tag = SdkError_Tags.Transport;- readonly inner: Readonly<{ reason: string }>;- constructor(inner: { reason: string }) {- super("SdkError", "Transport");+ type Transport__interface = {+ tag: SdkError_Tags.Transport;+ inner:+Readonly<{reason: string}>+ };+ class Transport_ extends UniffiError implements Transport__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SdkError";+ readonly tag = SdkError_Tags.Transport;+ readonly inner:+Readonly<{reason: string}>;+ constructor(+inner: {reason: string }) {+ super("SdkError", "Transport");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {reason: string }): Transport_ {+ return new Transport_(inner);+ }- this.inner = Object.freeze(inner);- }- static new(inner: { reason: string }): Transport_ {- return new Transport_(inner);- }+ static instanceOf(obj: any): obj is Transport_ {+ return obj.tag === SdkError_Tags.Transport;+ }+ static hasInner(obj: any): obj is Transport_ {+ return Transport_.instanceOf(obj);+ }- static instanceOf(obj: any): obj is Transport_ {- return obj.tag === SdkError_Tags.Transport;- }- static hasInner(obj: any): obj is Transport_ {- return Transport_.instanceOf(obj);- }+ static getInner(obj: Transport_):+Readonly<{reason: string}> {+ return obj.inner;+ }- static getInner(obj: Transport_): Readonly<{ reason: string }> {- return obj.inner;}- }- type Token__interface = {- tag: SdkError_Tags.Token;- inner: Readonly<{ reason: string }>;- };- class Token_ extends UniffiError implements Token__interface {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SdkError";- readonly tag = SdkError_Tags.Token;- readonly inner: Readonly<{ reason: string }>;- constructor(inner: { reason: string }) {- super("SdkError", "Token");+ type Token__interface = {+ tag: SdkError_Tags.Token;+ inner:+Readonly<{reason: string}>+ };+ class Token_ extends UniffiError implements Token__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SdkError";+ readonly tag = SdkError_Tags.Token;+ readonly inner:+Readonly<{reason: string}>;+ constructor(+inner: {reason: string }) {+ super("SdkError", "Token");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {reason: string }): Token_ {+ return new Token_(inner);+ }- this.inner = Object.freeze(inner);- }- static new(inner: { reason: string }): Token_ {- return new Token_(inner);- }+ static instanceOf(obj: any): obj is Token_ {+ return obj.tag === SdkError_Tags.Token;+ }+ static hasInner(obj: any): obj is Token_ {+ return Token_.instanceOf(obj);+ }- static instanceOf(obj: any): obj is Token_ {- return obj.tag === SdkError_Tags.Token;- }- static hasInner(obj: any): obj is Token_ {- return Token_.instanceOf(obj);- }+ static getInner(obj: Token_):+Readonly<{reason: string}> {+ return obj.inner;+ }- static getInner(obj: Token_): Readonly<{ reason: string }> {- return obj.inner;}- }- type Body__interface = {- tag: SdkError_Tags.Body;- inner: Readonly<{ reason: string }>;- };- class Body_ extends UniffiError implements Body__interface {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SdkError";- readonly tag = SdkError_Tags.Body;- readonly inner: Readonly<{ reason: string }>;- constructor(inner: { reason: string }) {- super("SdkError", "Body");+ type Body__interface = {+ tag: SdkError_Tags.Body;+ inner:+Readonly<{reason: string}>+ };+ class Body_ extends UniffiError implements Body__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SdkError";+ readonly tag = SdkError_Tags.Body;+ readonly inner:+Readonly<{reason: string}>;+ constructor(+inner: {reason: string }) {+ super("SdkError", "Body");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {reason: string }): Body_ {+ return new Body_(inner);+ }- this.inner = Object.freeze(inner);- }- static new(inner: { reason: string }): Body_ {- return new Body_(inner);- }+ static instanceOf(obj: any): obj is Body_ {+ return obj.tag === SdkError_Tags.Body;+ }+ static hasInner(obj: any): obj is Body_ {+ return Body_.instanceOf(obj);+ }++ static getInner(obj: Body_):+Readonly<{reason: string}> {+ return obj.inner;+ }- static instanceOf(obj: any): obj is Body_ {- return obj.tag === SdkError_Tags.Body;- }- static hasInner(obj: any): obj is Body_ {- return Body_.instanceOf(obj);}- static getInner(obj: Body_): Readonly<{ reason: string }> {- return obj.inner;- }- }+ type Status__interface = {+ tag: SdkError_Tags.Status;+ inner:+Readonly<{operation: string; status: number; body: string}>+ };+ class Status_ extends UniffiError implements Status__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SdkError";+ readonly tag = SdkError_Tags.Status;+ readonly inner:+Readonly<{operation: string; status: number; body: string}>;+ constructor(+inner: {operation: string; status: number; body: string }) {+ super("SdkError", "Status");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {operation: string; status: number; body: string }): Status_ {+ return new Status_(inner);+ }- type Status__interface = {- tag: SdkError_Tags.Status;- inner: Readonly<{ operation: string; status: number; body: string }>;- };- class Status_ extends UniffiError implements Status__interface {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SdkError";- readonly tag = SdkError_Tags.Status;- readonly inner: Readonly<{- operation: string;- status: number;- body: string;- }>;- constructor(inner: { operation: string; status: number; body: string }) {- super("SdkError", "Status");+ static instanceOf(obj: any): obj is Status_ {+ return obj.tag === SdkError_Tags.Status;+ }+ static hasInner(obj: any): obj is Status_ {+ return Status_.instanceOf(obj);+ }- this.inner = Object.freeze(inner);- }- static new(inner: {- operation: string;- status: number;- body: string;- }): Status_ {- return new Status_(inner);- }+ static getInner(obj: Status_):+Readonly<{operation: string; status: number; body: string}> {+ return obj.inner;+ }- static instanceOf(obj: any): obj is Status_ {- return obj.tag === SdkError_Tags.Status;- }- static hasInner(obj: any): obj is Status_ {- return Status_.instanceOf(obj);}- static getInner(- obj: Status_,- ): Readonly<{ operation: string; status: number; body: string }> {- return obj.inner;- }- }+ type SignedServiceUrlsUnavailable__interface = {+ tag: SdkError_Tags.SignedServiceUrlsUnavailable+ };+ class SignedServiceUrlsUnavailable_ extends UniffiError implements SignedServiceUrlsUnavailable__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SdkError";+ readonly tag = SdkError_Tags.SignedServiceUrlsUnavailable;+ constructor() {+ super("SdkError", "SignedServiceUrlsUnavailable");+ }- type SignedServiceUrlsUnavailable__interface = {- tag: SdkError_Tags.SignedServiceUrlsUnavailable;- };- class SignedServiceUrlsUnavailable_- extends UniffiError- implements SignedServiceUrlsUnavailable__interface- {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SdkError";- readonly tag = SdkError_Tags.SignedServiceUrlsUnavailable;- constructor() {- super("SdkError", "SignedServiceUrlsUnavailable");- }+ static new(): SignedServiceUrlsUnavailable_ {+ return new SignedServiceUrlsUnavailable_();+ }- static new(): SignedServiceUrlsUnavailable_ {- return new SignedServiceUrlsUnavailable_();- }+ static instanceOf(obj: any): obj is SignedServiceUrlsUnavailable_ {+ return obj.tag === SdkError_Tags.SignedServiceUrlsUnavailable;+ }+ static hasInner(obj: any): obj is SignedServiceUrlsUnavailable_ {+ return false;+ }- static instanceOf(obj: any): obj is SignedServiceUrlsUnavailable_ {- return obj.tag === SdkError_Tags.SignedServiceUrlsUnavailable;}- static hasInner(obj: any): obj is SignedServiceUrlsUnavailable_ {- return false;- }- }- type UnknownService__interface = {- tag: SdkError_Tags.UnknownService;- inner: Readonly<{ requested: string; available: Array<string> }>;- };- class UnknownService_- extends UniffiError- implements UnknownService__interface- {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SdkError";- readonly tag = SdkError_Tags.UnknownService;- readonly inner: Readonly<{ requested: string; available: Array<string> }>;- constructor(inner: { requested: string; available: Array<string> }) {- super("SdkError", "UnknownService");+ type UnknownService__interface = {+ tag: SdkError_Tags.UnknownService;+ inner:+Readonly<{requested: string; available: Array<string>}>+ };+ class UnknownService_ extends UniffiError implements UnknownService__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SdkError";+ readonly tag = SdkError_Tags.UnknownService;+ readonly inner:+Readonly<{requested: string; available: Array<string>}>;+ constructor(+inner: {requested: string; available: Array<string> }) {+ super("SdkError", "UnknownService");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {requested: string; available: Array<string> }): UnknownService_ {+ return new UnknownService_(inner);+ }- this.inner = Object.freeze(inner);- }- static new(inner: {- requested: string;- available: Array<string>;- }): UnknownService_ {- return new UnknownService_(inner);- }+ static instanceOf(obj: any): obj is UnknownService_ {+ return obj.tag === SdkError_Tags.UnknownService;+ }+ static hasInner(obj: any): obj is UnknownService_ {+ return UnknownService_.instanceOf(obj);+ }- static instanceOf(obj: any): obj is UnknownService_ {- return obj.tag === SdkError_Tags.UnknownService;- }- static hasInner(obj: any): obj is UnknownService_ {- return UnknownService_.instanceOf(obj);- }+ static getInner(obj: UnknownService_):+Readonly<{requested: string; available: Array<string>}> {+ return obj.inner;+ }- static getInner(- obj: UnknownService_,- ): Readonly<{ requested: string; available: Array<string> }> {- return obj.inner;}- }- type InvalidServicePath__interface = {- tag: SdkError_Tags.InvalidServicePath;- inner: Readonly<{ path: string }>;- };- class InvalidServicePath_- extends UniffiError- implements InvalidServicePath__interface- {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SdkError";- readonly tag = SdkError_Tags.InvalidServicePath;- readonly inner: Readonly<{ path: string }>;- constructor(inner: { path: string }) {- super("SdkError", "InvalidServicePath");+ type InvalidServicePath__interface = {+ tag: SdkError_Tags.InvalidServicePath;+ inner:+Readonly<{path: string}>+ };+ class InvalidServicePath_ extends UniffiError implements InvalidServicePath__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SdkError";+ readonly tag = SdkError_Tags.InvalidServicePath;+ readonly inner:+Readonly<{path: string}>;+ constructor(+inner: {path: string }) {+ super("SdkError", "InvalidServicePath");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {path: string }): InvalidServicePath_ {+ return new InvalidServicePath_(inner);+ }- this.inner = Object.freeze(inner);- }- static new(inner: { path: string }): InvalidServicePath_ {- return new InvalidServicePath_(inner);- }+ static instanceOf(obj: any): obj is InvalidServicePath_ {+ return obj.tag === SdkError_Tags.InvalidServicePath;+ }+ static hasInner(obj: any): obj is InvalidServicePath_ {+ return InvalidServicePath_.instanceOf(obj);+ }- static instanceOf(obj: any): obj is InvalidServicePath_ {- return obj.tag === SdkError_Tags.InvalidServicePath;- }- static hasInner(obj: any): obj is InvalidServicePath_ {- return InvalidServicePath_.instanceOf(obj);- }+ static getInner(obj: InvalidServicePath_):+Readonly<{path: string}> {+ return obj.inner;+ }- static getInner(obj: InvalidServicePath_): Readonly<{ path: string }> {- return obj.inner;}- }- type ClaimFailed__interface = {- tag: SdkError_Tags.ClaimFailed;- inner: Readonly<{ phase: string; status: string }>;- };- class ClaimFailed_ extends UniffiError implements ClaimFailed__interface {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SdkError";- readonly tag = SdkError_Tags.ClaimFailed;- readonly inner: Readonly<{ phase: string; status: string }>;- constructor(inner: { phase: string; status: string }) {- super("SdkError", "ClaimFailed");+ type ClaimFailed__interface = {+ tag: SdkError_Tags.ClaimFailed;+ inner:+Readonly<{phase: string; status: string}>+ };+ class ClaimFailed_ extends UniffiError implements ClaimFailed__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SdkError";+ readonly tag = SdkError_Tags.ClaimFailed;+ readonly inner:+Readonly<{phase: string; status: string}>;+ constructor(+inner: {phase: string; status: string }) {+ super("SdkError", "ClaimFailed");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {phase: string; status: string }): ClaimFailed_ {+ return new ClaimFailed_(inner);+ }- this.inner = Object.freeze(inner);- }- static new(inner: { phase: string; status: string }): ClaimFailed_ {- return new ClaimFailed_(inner);- }+ static instanceOf(obj: any): obj is ClaimFailed_ {+ return obj.tag === SdkError_Tags.ClaimFailed;+ }+ static hasInner(obj: any): obj is ClaimFailed_ {+ return ClaimFailed_.instanceOf(obj);+ }- static instanceOf(obj: any): obj is ClaimFailed_ {- return obj.tag === SdkError_Tags.ClaimFailed;- }- static hasInner(obj: any): obj is ClaimFailed_ {- return ClaimFailed_.instanceOf(obj);- }+ static getInner(obj: ClaimFailed_):+Readonly<{phase: string; status: string}> {+ return obj.inner;+ }- static getInner(- obj: ClaimFailed_,- ): Readonly<{ phase: string; status: string }> {- return obj.inner;}- }- type ClaimTimeout__interface = {- tag: SdkError_Tags.ClaimTimeout;- };- class ClaimTimeout_ extends UniffiError implements ClaimTimeout__interface {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SdkError";- readonly tag = SdkError_Tags.ClaimTimeout;- constructor() {- super("SdkError", "ClaimTimeout");- }+ type ClaimTimeout__interface = {+ tag: SdkError_Tags.ClaimTimeout+ };+ class ClaimTimeout_ extends UniffiError implements ClaimTimeout__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SdkError";+ readonly tag = SdkError_Tags.ClaimTimeout;+ constructor() {+ super("SdkError", "ClaimTimeout");+ }- static new(): ClaimTimeout_ {- return new ClaimTimeout_();- }+ static new(): ClaimTimeout_ {+ return new ClaimTimeout_();+ }++ static instanceOf(obj: any): obj is ClaimTimeout_ {+ return obj.tag === SdkError_Tags.ClaimTimeout;+ }+ static hasInner(obj: any): obj is ClaimTimeout_ {+ return false;+ }- static instanceOf(obj: any): obj is ClaimTimeout_ {- return obj.tag === SdkError_Tags.ClaimTimeout;}- static hasInner(obj: any): obj is ClaimTimeout_ {- return false;++ type PoolAccessDenied__interface = {+ tag: SdkError_Tags.PoolAccessDenied;+ inner:+Readonly<{operation: string; namespace: string; status: number; body: string}>+ };+ class PoolAccessDenied_ extends UniffiError implements PoolAccessDenied__interface {+ /**+ * @private+ * This field is private and should not be used, use `tag` instead.+ */+ readonly [uniffiTypeNameSymbol] = "SdkError";+ readonly tag = SdkError_Tags.PoolAccessDenied;+ readonly inner:+Readonly<{operation: string; namespace: string; status: number; body: string}>;+ constructor(+inner: {operation: string; namespace: string; status: number; body: string }) {+ super("SdkError", "PoolAccessDenied");++ this.inner = Object.freeze(inner);+ }+ static new(+inner: {operation: string; namespace: string; status: number; body: string }): PoolAccessDenied_ {+ return new PoolAccessDenied_(inner);+ }++ static instanceOf(obj: any): obj is PoolAccessDenied_ {+ return obj.tag === SdkError_Tags.PoolAccessDenied;+ }+ static hasInner(obj: any): obj is PoolAccessDenied_ {+ return PoolAccessDenied_.instanceOf(obj);+ }++ static getInner(obj: PoolAccessDenied_):+Readonly<{operation: string; namespace: string; status: number; body: string}> {+ return obj.inner;+ }+}- }- type PoolAccessDenied__interface = {- tag: SdkError_Tags.PoolAccessDenied;- inner: Readonly<{- operation: string;- namespace: string;- status: number;- body: string;- }>;- };- class PoolAccessDenied_- extends UniffiError- implements PoolAccessDenied__interface- {- /**- * @private- * This field is private and should not be used, use `tag` instead.- */- readonly [uniffiTypeNameSymbol] = "SdkError";- readonly tag = SdkError_Tags.PoolAccessDenied;- readonly inner: Readonly<{- operation: string;- namespace: string;- status: number;- body: string;- }>;- constructor(inner: {- operation: string;- namespace: string;- status: number;- body: string;- }) {- super("SdkError", "PoolAccessDenied");-- this.inner = Object.freeze(inner);- }- static new(inner: {- operation: string;- namespace: string;- status: number;- body: string;- }): PoolAccessDenied_ {- return new PoolAccessDenied_(inner);- }-- static instanceOf(obj: any): obj is PoolAccessDenied_ {- return obj.tag === SdkError_Tags.PoolAccessDenied;- }- static hasInner(obj: any): obj is PoolAccessDenied_ {- return PoolAccessDenied_.instanceOf(obj);- }-- static getInner(- obj: PoolAccessDenied_,- ): Readonly<{- operation: string;- namespace: string;- status: number;- body: string;- }> {- return obj.inner;+ function instanceOf(obj: any): obj is SdkError {+ return obj[uniffiTypeNameSymbol] === "SdkError";}- }- function instanceOf(obj: any): obj is SdkError {- return obj[uniffiTypeNameSymbol] === "SdkError";- }+ return Object.freeze({+ instanceOf,+ Configuration: Configuration_,+ InvalidResourceName: InvalidResourceName_,+ Transport: Transport_,+ Token: Token_,+ Body: Body_,+ Status: Status_,+ SignedServiceUrlsUnavailable: SignedServiceUrlsUnavailable_,+ UnknownService: UnknownService_,+ InvalidServicePath: InvalidServicePath_,+ ClaimFailed: ClaimFailed_,+ ClaimTimeout: ClaimTimeout_,+ PoolAccessDenied: PoolAccessDenied_+ });- return Object.freeze({- instanceOf,- Configuration: Configuration_,- InvalidResourceName: InvalidResourceName_,- Transport: Transport_,- Token: Token_,- Body: Body_,- Status: Status_,- SignedServiceUrlsUnavailable: SignedServiceUrlsUnavailable_,- UnknownService: UnknownService_,- InvalidServicePath: InvalidServicePath_,- ClaimFailed: ClaimFailed_,- ClaimTimeout: ClaimTimeout_,- PoolAccessDenied: PoolAccessDenied_,- });})();export type SdkError = InstanceType<- (typeof SdkError)[- | "Configuration"- | "InvalidResourceName"- | "Transport"- | "Token"- | "Body"- | "Status"- | "SignedServiceUrlsUnavailable"- | "UnknownService"- | "InvalidServicePath"- | "ClaimFailed"- | "ClaimTimeout"- | "PoolAccessDenied"]+ typeof SdkError['Configuration' | 'InvalidResourceName' | 'Transport' | 'Token' | 'Body' | 'Status' | 'SignedServiceUrlsUnavailable' | 'UnknownService' | 'InvalidServicePath' | 'ClaimFailed' | 'ClaimTimeout' | 'PoolAccessDenied']>;// FfiConverter for enum SdkErrorconst FfiConverterTypeSdkError = (() => {- const ordinalConverter = FfiConverterInt32;- type TypeName = SdkError;- class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {- read(from: RustBuffer): TypeName {- switch (ordinalConverter.read(from)) {- case 1:- return new SdkError.Configuration({- reason: FfiConverterString.read(from),- });- case 2:- return new SdkError.InvalidResourceName({- field: FfiConverterString.read(from),- value: FfiConverterString.read(from),- reason: FfiConverterString.read(from),- });- case 3:- return new SdkError.Transport({- reason: FfiConverterString.read(from),- });- case 4:- return new SdkError.Token({ reason: FfiConverterString.read(from) });- case 5:- return new SdkError.Body({ reason: FfiConverterString.read(from) });- case 6:- return new SdkError.Status({- operation: FfiConverterString.read(from),- status: FfiConverterUInt16.read(from),- body: FfiConverterString.read(from),- });- case 7:- return new SdkError.SignedServiceUrlsUnavailable();- case 8:- return new SdkError.UnknownService({- requested: FfiConverterString.read(from),- available: FfiConverterSequenceString.read(from),- });- case 9:- return new SdkError.InvalidServicePath({- path: FfiConverterString.read(from),- });- case 10:- return new SdkError.ClaimFailed({- phase: FfiConverterString.read(from),- status: FfiConverterString.read(from),- });- case 11:- return new SdkError.ClaimTimeout();- case 12:- return new SdkError.PoolAccessDenied({- operation: FfiConverterString.read(from),- namespace: FfiConverterString.read(from),- status: FfiConverterUInt16.read(from),- body: FfiConverterString.read(from),- });- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- write(value: TypeName, into: RustBuffer): void {- switch (value.tag) {- case SdkError_Tags.Configuration: {- ordinalConverter.write(1, into);- const inner = value.inner;- FfiConverterString.write(inner.reason, into);- return;- }- case SdkError_Tags.InvalidResourceName: {- ordinalConverter.write(2, into);- const inner = value.inner;- FfiConverterString.write(inner.field, into);- FfiConverterString.write(inner.value, into);- FfiConverterString.write(inner.reason, into);- return;- }- case SdkError_Tags.Transport: {- ordinalConverter.write(3, into);- const inner = value.inner;- FfiConverterString.write(inner.reason, into);- return;- }- case SdkError_Tags.Token: {- ordinalConverter.write(4, into);- const inner = value.inner;- FfiConverterString.write(inner.reason, into);- return;- }- case SdkError_Tags.Body: {- ordinalConverter.write(5, into);- const inner = value.inner;- FfiConverterString.write(inner.reason, into);- return;- }- case SdkError_Tags.Status: {- ordinalConverter.write(6, into);- const inner = value.inner;- FfiConverterString.write(inner.operation, into);- FfiConverterUInt16.write(inner.status, into);- FfiConverterString.write(inner.body, into);- return;- }- case SdkError_Tags.SignedServiceUrlsUnavailable: {- ordinalConverter.write(7, into);- return;- }- case SdkError_Tags.UnknownService: {- ordinalConverter.write(8, into);- const inner = value.inner;- FfiConverterString.write(inner.requested, into);- FfiConverterSequenceString.write(inner.available, into);- return;- }- case SdkError_Tags.InvalidServicePath: {- ordinalConverter.write(9, into);- const inner = value.inner;- FfiConverterString.write(inner.path, into);- return;- }- case SdkError_Tags.ClaimFailed: {- ordinalConverter.write(10, into);- const inner = value.inner;- FfiConverterString.write(inner.phase, into);- FfiConverterString.write(inner.status, into);- return;- }- case SdkError_Tags.ClaimTimeout: {- ordinalConverter.write(11, into);- return;- }- case SdkError_Tags.PoolAccessDenied: {- ordinalConverter.write(12, into);- const inner = value.inner;- FfiConverterString.write(inner.operation, into);- FfiConverterString.write(inner.namespace, into);- FfiConverterUInt16.write(inner.status, into);- FfiConverterString.write(inner.body, into);- return;- }- default:- // Throwing from here means that SdkError_Tags hasn't matched an ordinal.- throw new UniffiInternalError.UnexpectedEnumCase();- }- }- allocationSize(value: TypeName): number {- switch (value.tag) {- case SdkError_Tags.Configuration: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(1);- size += FfiConverterString.allocationSize(inner.reason);- return size;- }- case SdkError_Tags.InvalidResourceName: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(2);- size += FfiConverterString.allocationSize(inner.field);- size += FfiConverterString.allocationSize(inner.value);- size += FfiConverterString.allocationSize(inner.reason);- return size;- }- case SdkError_Tags.Transport: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(3);- size += FfiConverterString.allocationSize(inner.reason);- return size;- }- case SdkError_Tags.Token: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(4);- size += FfiConverterString.allocationSize(inner.reason);- return size;- }- case SdkError_Tags.Body: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(5);- size += FfiConverterString.allocationSize(inner.reason);- return size;- }- case SdkError_Tags.Status: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(6);- size += FfiConverterString.allocationSize(inner.operation);- size += FfiConverterUInt16.allocationSize(inner.status);- size += FfiConverterString.allocationSize(inner.body);- return size;- }- case SdkError_Tags.SignedServiceUrlsUnavailable: {- return ordinalConverter.allocationSize(7);- }- case SdkError_Tags.UnknownService: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(8);- size += FfiConverterString.allocationSize(inner.requested);- size += FfiConverterSequenceString.allocationSize(inner.available);- return size;- }- case SdkError_Tags.InvalidServicePath: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(9);- size += FfiConverterString.allocationSize(inner.path);- return size;- }- case SdkError_Tags.ClaimFailed: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(10);- size += FfiConverterString.allocationSize(inner.phase);- size += FfiConverterString.allocationSize(inner.status);- return size;- }- case SdkError_Tags.ClaimTimeout: {- return ordinalConverter.allocationSize(11);- }- case SdkError_Tags.PoolAccessDenied: {- const inner = value.inner;- let size = ordinalConverter.allocationSize(12);- size += FfiConverterString.allocationSize(inner.operation);- size += FfiConverterString.allocationSize(inner.namespace);- size += FfiConverterUInt16.allocationSize(inner.status);- size += FfiConverterString.allocationSize(inner.body);- return size;- }- default:- throw new UniffiInternalError.UnexpectedEnumCase();- }+ const ordinalConverter = FfiConverterInt32;+ type TypeName = SdkError;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ switch (ordinalConverter.read(from)) {+ case 1: return new SdkError.Configuration({reason: FfiConverterString.read(from) });+ case 2: return new SdkError.InvalidResourceName({field: FfiConverterString.read(from), value: FfiConverterString.read(from), reason: FfiConverterString.read(from) });+ case 3: return new SdkError.Transport({reason: FfiConverterString.read(from) });+ case 4: return new SdkError.Token({reason: FfiConverterString.read(from) });+ case 5: return new SdkError.Body({reason: FfiConverterString.read(from) });+ case 6: return new SdkError.Status({operation: FfiConverterString.read(from), status: FfiConverterUInt16.read(from), body: FfiConverterString.read(from) });+ case 7: return new SdkError.SignedServiceUrlsUnavailable();+ case 8: return new SdkError.UnknownService({requested: FfiConverterString.read(from), available: FfiConverterSequenceString.read(from) });+ case 9: return new SdkError.InvalidServicePath({path: FfiConverterString.read(from) });+ case 10: return new SdkError.ClaimFailed({phase: FfiConverterString.read(from), status: FfiConverterString.read(from) });+ case 11: return new SdkError.ClaimTimeout();+ case 12: return new SdkError.PoolAccessDenied({operation: FfiConverterString.read(from), namespace: FfiConverterString.read(from), status: FfiConverterUInt16.read(from), body: FfiConverterString.read(from) });+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ write(value: TypeName, into: RustBuffer): void {+ switch (value.tag) {+ case SdkError_Tags.Configuration: {+ ordinalConverter.write(1, into);+ const inner = value.inner;+ FfiConverterString.write(inner.reason, into);+ return;+ }+ case SdkError_Tags.InvalidResourceName: {+ ordinalConverter.write(2, into);+ const inner = value.inner;+ FfiConverterString.write(inner.field, into);+ FfiConverterString.write(inner.value, into);+ FfiConverterString.write(inner.reason, into);+ return;+ }+ case SdkError_Tags.Transport: {+ ordinalConverter.write(3, into);+ const inner = value.inner;+ FfiConverterString.write(inner.reason, into);+ return;+ }+ case SdkError_Tags.Token: {+ ordinalConverter.write(4, into);+ const inner = value.inner;+ FfiConverterString.write(inner.reason, into);+ return;+ }+ case SdkError_Tags.Body: {+ ordinalConverter.write(5, into);+ const inner = value.inner;+ FfiConverterString.write(inner.reason, into);+ return;+ }+ case SdkError_Tags.Status: {+ ordinalConverter.write(6, into);+ const inner = value.inner;+ FfiConverterString.write(inner.operation, into);+ FfiConverterUInt16.write(inner.status, into);+ FfiConverterString.write(inner.body, into);+ return;+ }+ case SdkError_Tags.SignedServiceUrlsUnavailable: {+ ordinalConverter.write(7, into);+ return;+ }+ case SdkError_Tags.UnknownService: {+ ordinalConverter.write(8, into);+ const inner = value.inner;+ FfiConverterString.write(inner.requested, into);+ FfiConverterSequenceString.write(inner.available, into);+ return;+ }+ case SdkError_Tags.InvalidServicePath: {+ ordinalConverter.write(9, into);+ const inner = value.inner;+ FfiConverterString.write(inner.path, into);+ return;+ }+ case SdkError_Tags.ClaimFailed: {+ ordinalConverter.write(10, into);+ const inner = value.inner;+ FfiConverterString.write(inner.phase, into);+ FfiConverterString.write(inner.status, into);+ return;+ }+ case SdkError_Tags.ClaimTimeout: {+ ordinalConverter.write(11, into);+ return;+ }+ case SdkError_Tags.PoolAccessDenied: {+ ordinalConverter.write(12, into);+ const inner = value.inner;+ FfiConverterString.write(inner.operation, into);+ FfiConverterString.write(inner.namespace, into);+ FfiConverterUInt16.write(inner.status, into);+ FfiConverterString.write(inner.body, into);+ return;+ }+ default:+ // Throwing from here means that SdkError_Tags hasn't matched an ordinal.+ throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }+ allocationSize(value: TypeName): number {+ switch (value.tag) {+ case SdkError_Tags.Configuration: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(1);+ size += FfiConverterString.allocationSize(inner.reason);+ return size;+ }+ case SdkError_Tags.InvalidResourceName: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(2);+ size += FfiConverterString.allocationSize(inner.field);+ size += FfiConverterString.allocationSize(inner.value);+ size += FfiConverterString.allocationSize(inner.reason);+ return size;+ }+ case SdkError_Tags.Transport: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(3);+ size += FfiConverterString.allocationSize(inner.reason);+ return size;+ }+ case SdkError_Tags.Token: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(4);+ size += FfiConverterString.allocationSize(inner.reason);+ return size;+ }+ case SdkError_Tags.Body: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(5);+ size += FfiConverterString.allocationSize(inner.reason);+ return size;+ }+ case SdkError_Tags.Status: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(6);+ size += FfiConverterString.allocationSize(inner.operation);+ size += FfiConverterUInt16.allocationSize(inner.status);+ size += FfiConverterString.allocationSize(inner.body);+ return size;+ }+ case SdkError_Tags.SignedServiceUrlsUnavailable: {+ return ordinalConverter.allocationSize(7);+ }+ case SdkError_Tags.UnknownService: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(8);+ size += FfiConverterString.allocationSize(inner.requested);+ size += FfiConverterSequenceString.allocationSize(inner.available);+ return size;+ }+ case SdkError_Tags.InvalidServicePath: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(9);+ size += FfiConverterString.allocationSize(inner.path);+ return size;+ }+ case SdkError_Tags.ClaimFailed: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(10);+ size += FfiConverterString.allocationSize(inner.phase);+ size += FfiConverterString.allocationSize(inner.status);+ return size;+ }+ case SdkError_Tags.ClaimTimeout: {+ return ordinalConverter.allocationSize(11);+ }+ case SdkError_Tags.PoolAccessDenied: {+ const inner = value.inner;+ let size = ordinalConverter.allocationSize(12);+ size += FfiConverterString.allocationSize(inner.operation);+ size += FfiConverterString.allocationSize(inner.namespace);+ size += FfiConverterUInt16.allocationSize(inner.status);+ size += FfiConverterString.allocationSize(inner.body);+ return size;+ }+ default: throw new UniffiInternalError.UnexpectedEnumCase();+ }+ }}- }- return new FFIConverter();+ return new FFIConverter();})();export interface AccessTokenProvider {- getAccessToken(- forceRefresh: boolean,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<string>;++ getAccessToken(forceRefresh: boolean, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<string>;}-export class AccessTokenProviderImpl- extends UniffiAbstractObject- implements AccessTokenProvider-{- readonly [uniffiTypeNameSymbol] = "AccessTokenProviderImpl";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- // No primary constructor declared for this class.- private constructor(pointer: UniffiHandle) {++export class AccessTokenProviderImpl extends UniffiAbstractObject implements AccessTokenProvider {++ readonly [uniffiTypeNameSymbol] = "AccessTokenProviderImpl";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ // No primary constructor declared for this class.+private constructor(pointer: UniffiHandle) {super();this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeAccessTokenProviderImplObjectFactory.bless(pointer);- }+ this[destructorGuardSymbol] = uniffiTypeAccessTokenProviderImplObjectFactory.bless(pointer);+}++- async getAccessToken(- forceRefresh: boolean,- asyncOpts_?: { signal: AbortSignal },- ): Promise<string> /*throws*/ {++ async getAccessToken(forceRefresh: boolean, asyncOpts_?: { signal: AbortSignal }): Promise<string> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_accesstokenprovider_get_access_token(- uniffiTypeAccessTokenProviderImplObjectFactory.clonePointer(this),- FfiConverterBool.lower(forceRefresh, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_accesstokenprovider_get_access_token(+ uniffiTypeAccessTokenProviderImplObjectFactory.clonePointer(this),FfiConverterBool.lower(forceRefresh, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeAccessTokenProviderError.lift.bind(FfiConverterTypeAccessTokenProviderError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterString.lift.bind(FfiConverterString),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeAccessTokenProviderError.lift.bind(- FfiConverterTypeAccessTokenProviderError,- ),- );- }+ }+- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer =- uniffiTypeAccessTokenProviderImplObjectFactory.pointer(this);- uniffiTypeAccessTokenProviderImplObjectFactory.freePointer(pointer);- uniffiTypeAccessTokenProviderImplObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeAccessTokenProviderImplObjectFactory.pointer(this);+ uniffiTypeAccessTokenProviderImplObjectFactory.freePointer(pointer);+ uniffiTypeAccessTokenProviderImplObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }}- }- static instanceOf(obj_: any): obj_ is AccessTokenProviderImpl {- return uniffiTypeAccessTokenProviderImplObjectFactory.isConcreteType(obj_);- }+ static instanceOf(obj_: any): obj_ is AccessTokenProviderImpl {+ return uniffiTypeAccessTokenProviderImplObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeAccessTokenProviderImplObjectFactory: UniffiObjectFactory<AccessTokenProvider> =- (() => {+const uniffiTypeAccessTokenProviderImplObjectFactory: UniffiObjectFactory<AccessTokenProvider> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeAccessTokenProviderImplObjectFactory.freePointer(- heldValue,- );- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeAccessTokenProviderImplObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): AccessTokenProvider {+ create(pointer: UniffiHandle): AccessTokenProvider {const instance = Object.create(AccessTokenProviderImpl.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "AccessTokenProviderImpl";return instance;- },+ },+- bless(p: UniffiHandle): UniffiGcObject {+ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: AccessTokenProvider): UniffiHandle {+ pointer(obj_: AccessTokenProvider): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: AccessTokenProvider): UniffiHandle {+ clonePointer(obj_: AccessTokenProvider): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_accesstokenprovider(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_accesstokenprovider(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_accesstokenprovider(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_accesstokenprovider(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is AccessTokenProvider {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "AccessTokenProviderImpl"- );- },- };- })();-const FfiConverterTypeAccessTokenProvider = new FfiConverterObjectWithCallbacks(- uniffiTypeAccessTokenProviderImplObjectFactory,-);+ isConcreteType(obj_: any): obj_ is AccessTokenProvider {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "AccessTokenProviderImpl";+ },+}})();+const FfiConverterTypeAccessTokenProvider = new FfiConverterObjectWithCallbacks(uniffiTypeAccessTokenProviderImplObjectFactory);// Add a vtable for the callbacks that go in AccessTokenProvider.// Put the implementation in a struct so we don't pollute the top-level namespace-const uniffiCallbackInterfaceAccessTokenProvider: {- vtable: any;- register: () => void;-} = {- // Create the VTable using a series of closures.- // ts automatically converts these into C callback functions.- vtable: {- get_access_token: (- uniffiHandle: bigint,- forceRefresh: number,- uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer,- uniffiCallbackData: bigint,- ) => {- const uniffiMakeCall = async (signal: AbortSignal): Promise<string> => {- const jsCallback =- FfiConverterTypeAccessTokenProvider.lift(uniffiHandle);- return await jsCallback.getAccessToken(- FfiConverterBool.lift(forceRefresh),- { signal },- );- };- const uniffiHandleSuccess = (returnValue: string) => {- uniffiFutureCallback.call(- uniffiFutureCallback,- uniffiCallbackData,- /* UniffiForeignFutureResultRustBuffer */ {- return_value: FfiConverterString.lower(- returnValue,- nativeModule().rustbuffer_alloc,- ),- call_status: uniffiCaller.createCallStatus(),- },- );- };- const uniffiHandleError = (code: number, errorBuf: UniffiByteArray) => {- uniffiFutureCallback.call(- uniffiFutureCallback,- uniffiCallbackData,- /* UniffiForeignFutureResultRustBuffer */ {- return_value: /*empty*/ new Uint8Array(0),- // TODO create callstatus with error.- call_status: uniffiCaller.createErrorStatus(code, errorBuf),- },- );- };- const uniffiForeignFuture = uniffiTraitInterfaceCallAsyncWithError(- /*makeCall:*/ uniffiMakeCall,- /*handleSuccess:*/ uniffiHandleSuccess,- /*handleError:*/ uniffiHandleError,- /*isErrorType:*/ AccessTokenProviderError.instanceOf,- /*lowerError:*/ FfiConverterTypeAccessTokenProviderError.lower.bind(- FfiConverterTypeAccessTokenProviderError,- ),- /*lowerString:*/ FfiConverterString.lower.bind(FfiConverterString),- /*alloc:*/ nativeModule().rustbuffer_alloc,- );- return uniffiForeignFuture;- },- uniffi_free: (uniffiHandle: UniffiHandle): void => {- // this will throw a stale handle error if the handle isn't found.- FfiConverterTypeAccessTokenProvider.drop(uniffiHandle);+const uniffiCallbackInterfaceAccessTokenProvider: { vtable: any; register: () => void; } = {+ // Create the VTable using a series of closures.+ // ts automatically converts these into C callback functions.+ vtable: {+ get_access_token: (+ uniffiHandle: bigint,+ forceRefresh: number,+ uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer,+ uniffiCallbackData: bigint) => {+ const uniffiMakeCall =+ async (signal: AbortSignal)+ : Promise<string> => {+ const jsCallback = FfiConverterTypeAccessTokenProvider.lift(uniffiHandle);+ return await jsCallback.getAccessToken(+ FfiConverterBool.lift(forceRefresh), { signal }+ )+ };+ const uniffiHandleSuccess = (returnValue: string) => {+ uniffiFutureCallback.call(+ uniffiFutureCallback,+ uniffiCallbackData,+ /* UniffiForeignFutureResultRustBuffer */{+ return_value: FfiConverterString.lower(returnValue, nativeModule().rustbuffer_alloc),+ call_status: uniffiCaller.createCallStatus()+ }+ );+ };+ const uniffiHandleError = (code: number, errorBuf: UniffiByteArray) => {+ uniffiFutureCallback.call(+ uniffiFutureCallback,+ uniffiCallbackData,+ /* UniffiForeignFutureResultRustBuffer */{+ return_value: /*empty*/ new Uint8Array(0),+ // TODO create callstatus with error.+ call_status: uniffiCaller.createErrorStatus(code, errorBuf),+ }+ );+ };+ const uniffiForeignFuture = uniffiTraitInterfaceCallAsyncWithError(+ /*makeCall:*/ uniffiMakeCall,+ /*handleSuccess:*/ uniffiHandleSuccess,+ /*handleError:*/ uniffiHandleError,+ /*isErrorType:*/ AccessTokenProviderError.instanceOf,+ /*lowerError:*/ FfiConverterTypeAccessTokenProviderError.lower.bind(FfiConverterTypeAccessTokenProviderError),+ /*lowerString:*/ FfiConverterString.lower.bind(FfiConverterString),+ /*alloc:*/ nativeModule().rustbuffer_alloc,+ );+ return uniffiForeignFuture;+ },+ uniffi_free: (uniffiHandle: UniffiHandle): void => {+ // this will throw a stale handle error if the handle isn't found.+ FfiConverterTypeAccessTokenProvider.drop(uniffiHandle);+ },+ uniffi_clone: (uniffiHandle: UniffiHandle): UniffiHandle => {+ return FfiConverterTypeAccessTokenProvider.clone(uniffiHandle);+ }},- uniffi_clone: (uniffiHandle: UniffiHandle): UniffiHandle => {- return FfiConverterTypeAccessTokenProvider.clone(uniffiHandle);+ register: () => {nativeModule().ubrn_uniffi_cyclops_sdk_fn_init_callback_vtable_accesstokenprovider(+ uniffiCallbackInterfaceAccessTokenProvider.vtable+ );},- },- register: () => {- nativeModule().ubrn_uniffi_cyclops_sdk_fn_init_callback_vtable_accesstokenprovider(- uniffiCallbackInterfaceAccessTokenProvider.vtable,- );- },};export interface CreateClaimRequestBuilderLike {- build() /*throws*/ : CreateClaimRequest;- name(value: string): CreateClaimRequestBuilderLike;- pool(value: Pool): CreateClaimRequestBuilderLike;- spec(value: ClaimSpec): CreateClaimRequestBuilderLike;++ build() /*throws*/: CreateClaimRequest;+ name(value: string): CreateClaimRequestBuilderLike;+ pool(value: Pool): CreateClaimRequestBuilderLike;+ spec(value: ClaimSpec): CreateClaimRequestBuilderLike;}/*** @deprecated Use `CreateClaimRequestBuilderLike` instead.*/export type CreateClaimRequestBuilderInterface = CreateClaimRequestBuilderLike;-export class CreateClaimRequestBuilder- extends UniffiAbstractObject- implements CreateClaimRequestBuilderLike-{- readonly [uniffiTypeNameSymbol] = "CreateClaimRequestBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_createclaimrequestbuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),++export class CreateClaimRequestBuilder extends UniffiAbstractObject implements CreateClaimRequestBuilderLike {++ readonly [uniffiTypeNameSymbol] = "CreateClaimRequestBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_createclaimrequestbuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeCreateClaimRequestBuilderObjectFactory.bless(pointer);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeCreateClaimRequestBuilderObjectFactory.bless(pointer);+ }+- build(): CreateClaimRequest /*throws*/ {+++ build(): CreateClaimRequest /*throws*/ {return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeCreateClaimRequest.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(- FfiConverterTypeSdkBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_build(- uniffiTypeCreateClaimRequestBuilderObjectFactory.clonePointer(this),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ try {+ return FfiConverterTypeCreateClaimRequest.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(FfiConverterTypeSdkBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_build(+ uniffiTypeCreateClaimRequestBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- name(value: string): CreateClaimRequestBuilderLike {- return FfiConverterTypeCreateClaimRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_name(- uniffiTypeCreateClaimRequestBuilderObjectFactory.clonePointer(this),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ name(value: string): CreateClaimRequestBuilderLike {+ return FfiConverterTypeCreateClaimRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_name(+ uniffiTypeCreateClaimRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- pool(value: Pool): CreateClaimRequestBuilderLike {- return FfiConverterTypeCreateClaimRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_pool(- uniffiTypeCreateClaimRequestBuilderObjectFactory.clonePointer(this),- FfiConverterTypePool.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ pool(value: Pool): CreateClaimRequestBuilderLike {+ return FfiConverterTypeCreateClaimRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_pool(+ uniffiTypeCreateClaimRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterTypePool.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ spec(value: ClaimSpec): CreateClaimRequestBuilderLike {+ return FfiConverterTypeCreateClaimRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_spec(+ uniffiTypeCreateClaimRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeClaimSpec.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- spec(value: ClaimSpec): CreateClaimRequestBuilderLike {- return FfiConverterTypeCreateClaimRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_spec(- uniffiTypeCreateClaimRequestBuilderObjectFactory.clonePointer(this),- FfiConverterTypeClaimSpec.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer =- uniffiTypeCreateClaimRequestBuilderObjectFactory.pointer(this);- uniffiTypeCreateClaimRequestBuilderObjectFactory.freePointer(pointer);- uniffiTypeCreateClaimRequestBuilderObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeCreateClaimRequestBuilderObjectFactory.pointer(this);+ uniffiTypeCreateClaimRequestBuilderObjectFactory.freePointer(pointer);+ uniffiTypeCreateClaimRequestBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }}- }- static instanceOf(obj_: any): obj_ is CreateClaimRequestBuilder {- return uniffiTypeCreateClaimRequestBuilderObjectFactory.isConcreteType(- obj_,- );- }+ static instanceOf(obj_: any): obj_ is CreateClaimRequestBuilder {+ return uniffiTypeCreateClaimRequestBuilderObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeCreateClaimRequestBuilderObjectFactory: UniffiObjectFactory<CreateClaimRequestBuilderLike> =- (() => {+const uniffiTypeCreateClaimRequestBuilderObjectFactory: UniffiObjectFactory<CreateClaimRequestBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeCreateClaimRequestBuilderObjectFactory.freePointer(- heldValue,- );- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeCreateClaimRequestBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): CreateClaimRequestBuilderLike {+ create(pointer: UniffiHandle): CreateClaimRequestBuilderLike {const instance = Object.create(CreateClaimRequestBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "CreateClaimRequestBuilder";return instance;- },+ },- bless(p: UniffiHandle): UniffiGcObject {++ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: CreateClaimRequestBuilderLike): UniffiHandle {+ pointer(obj_: CreateClaimRequestBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: CreateClaimRequestBuilderLike): UniffiHandle {+ clonePointer(obj_: CreateClaimRequestBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_createclaimrequestbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_createclaimrequestbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_createclaimrequestbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_createclaimrequestbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is CreateClaimRequestBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "CreateClaimRequestBuilder"- );- },- };- })();-const FfiConverterTypeCreateClaimRequestBuilder = new FfiConverterObject(- uniffiTypeCreateClaimRequestBuilderObjectFactory,-);+ isConcreteType(obj_: any): obj_ is CreateClaimRequestBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "CreateClaimRequestBuilder";+ },+}})();+const FfiConverterTypeCreateClaimRequestBuilder = new FfiConverterObject(uniffiTypeCreateClaimRequestBuilderObjectFactory);export interface CreatePoolRequestBuilderLike {- build() /*throws*/ : CreatePoolRequest;- namespace(value: string): CreatePoolRequestBuilderLike;- spec(value: OsGymSandboxWarmPoolSpec): CreatePoolRequestBuilderLike;++ build() /*throws*/: CreatePoolRequest;+ namespace(value: string): CreatePoolRequestBuilderLike;+ spec(value: OsGymSandboxWarmPoolSpec): CreatePoolRequestBuilderLike;}/*** @deprecated Use `CreatePoolRequestBuilderLike` instead.*/export type CreatePoolRequestBuilderInterface = CreatePoolRequestBuilderLike;-export class CreatePoolRequestBuilder- extends UniffiAbstractObject- implements CreatePoolRequestBuilderLike-{- readonly [uniffiTypeNameSymbol] = "CreatePoolRequestBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_createpoolrequestbuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),++export class CreatePoolRequestBuilder extends UniffiAbstractObject implements CreatePoolRequestBuilderLike {++ readonly [uniffiTypeNameSymbol] = "CreatePoolRequestBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_createpoolrequestbuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeCreatePoolRequestBuilderObjectFactory.bless(pointer);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeCreatePoolRequestBuilderObjectFactory.bless(pointer);+ }+++- build(): CreatePoolRequest /*throws*/ {+ build(): CreatePoolRequest /*throws*/ {return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeCreatePoolRequest.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(- FfiConverterTypeSdkBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_build(- uniffiTypeCreatePoolRequestBuilderObjectFactory.clonePointer(this),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ try {+ return FfiConverterTypeCreatePoolRequest.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(FfiConverterTypeSdkBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_build(+ uniffiTypeCreatePoolRequestBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- namespace(value: string): CreatePoolRequestBuilderLike {- return FfiConverterTypeCreatePoolRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_namespace(- uniffiTypeCreatePoolRequestBuilderObjectFactory.clonePointer(this),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ namespace(value: string): CreatePoolRequestBuilderLike {+ return FfiConverterTypeCreatePoolRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_namespace(+ uniffiTypeCreatePoolRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- spec(value: OsGymSandboxWarmPoolSpec): CreatePoolRequestBuilderLike {- return FfiConverterTypeCreatePoolRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_spec(- uniffiTypeCreatePoolRequestBuilderObjectFactory.clonePointer(this),- FfiConverterTypeOSGymSandboxWarmPoolSpec.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ spec(value: OsGymSandboxWarmPoolSpec): CreatePoolRequestBuilderLike {+ return FfiConverterTypeCreatePoolRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_spec(+ uniffiTypeCreatePoolRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeOSGymSandboxWarmPoolSpec.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer =- uniffiTypeCreatePoolRequestBuilderObjectFactory.pointer(this);- uniffiTypeCreatePoolRequestBuilderObjectFactory.freePointer(pointer);- uniffiTypeCreatePoolRequestBuilderObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeCreatePoolRequestBuilderObjectFactory.pointer(this);+ uniffiTypeCreatePoolRequestBuilderObjectFactory.freePointer(pointer);+ uniffiTypeCreatePoolRequestBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }}- }- static instanceOf(obj_: any): obj_ is CreatePoolRequestBuilder {- return uniffiTypeCreatePoolRequestBuilderObjectFactory.isConcreteType(obj_);- }+ static instanceOf(obj_: any): obj_ is CreatePoolRequestBuilder {+ return uniffiTypeCreatePoolRequestBuilderObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeCreatePoolRequestBuilderObjectFactory: UniffiObjectFactory<CreatePoolRequestBuilderLike> =- (() => {+const uniffiTypeCreatePoolRequestBuilderObjectFactory: UniffiObjectFactory<CreatePoolRequestBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeCreatePoolRequestBuilderObjectFactory.freePointer(- heldValue,- );- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeCreatePoolRequestBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): CreatePoolRequestBuilderLike {+ create(pointer: UniffiHandle): CreatePoolRequestBuilderLike {const instance = Object.create(CreatePoolRequestBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "CreatePoolRequestBuilder";return instance;- },+ },- bless(p: UniffiHandle): UniffiGcObject {++ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: CreatePoolRequestBuilderLike): UniffiHandle {+ pointer(obj_: CreatePoolRequestBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: CreatePoolRequestBuilderLike): UniffiHandle {+ clonePointer(obj_: CreatePoolRequestBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_createpoolrequestbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_createpoolrequestbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_createpoolrequestbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_createpoolrequestbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is CreatePoolRequestBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "CreatePoolRequestBuilder"- );- },- };- })();-const FfiConverterTypeCreatePoolRequestBuilder = new FfiConverterObject(- uniffiTypeCreatePoolRequestBuilderObjectFactory,-);+ isConcreteType(obj_: any): obj_ is CreatePoolRequestBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "CreatePoolRequestBuilder";+ },+}})();+const FfiConverterTypeCreatePoolRequestBuilder = new FfiConverterObject(uniffiTypeCreatePoolRequestBuilderObjectFactory);export interface CreateSignedServiceUrlRequestBuilderLike {- build() /*throws*/ : CreateSignedServiceUrlRequest;- expiresInSeconds(value: number): CreateSignedServiceUrlRequestBuilderLike;- label(value: string): CreateSignedServiceUrlRequestBuilderLike;- sandbox(value: Sandbox): CreateSignedServiceUrlRequestBuilderLike;- service(value: string): CreateSignedServiceUrlRequestBuilderLike;++ build() /*throws*/: CreateSignedServiceUrlRequest;+ expiresInSeconds(value: number): CreateSignedServiceUrlRequestBuilderLike;+ label(value: string): CreateSignedServiceUrlRequestBuilderLike;+ sandbox(value: Sandbox): CreateSignedServiceUrlRequestBuilderLike;+ service(value: string): CreateSignedServiceUrlRequestBuilderLike;}/*** @deprecated Use `CreateSignedServiceUrlRequestBuilderLike` instead.*/-export type CreateSignedServiceUrlRequestBuilderInterface =- CreateSignedServiceUrlRequestBuilderLike;--export class CreateSignedServiceUrlRequestBuilder- extends UniffiAbstractObject- implements CreateSignedServiceUrlRequestBuilderLike-{- readonly [uniffiTypeNameSymbol] = "CreateSignedServiceUrlRequestBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_createsignedserviceurlrequestbuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- );- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.bless(- pointer,- );- }+export type CreateSignedServiceUrlRequestBuilderInterface = CreateSignedServiceUrlRequestBuilderLike;- build(): CreateSignedServiceUrlRequest /*throws*/ {- return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeCreateSignedServiceUrlRequest.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(- FfiConverterTypeSdkBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_build(- uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.clonePointer(- this,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- expiresInSeconds(value: number): CreateSignedServiceUrlRequestBuilderLike {- return FfiConverterTypeCreateSignedServiceUrlRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_expires_in_seconds(- uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+export class CreateSignedServiceUrlRequestBuilder extends UniffiAbstractObject implements CreateSignedServiceUrlRequestBuilderLike {- label(value: string): CreateSignedServiceUrlRequestBuilderLike {- return FfiConverterTypeCreateSignedServiceUrlRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_label(- uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),+ readonly [uniffiTypeNameSymbol] = "CreateSignedServiceUrlRequestBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_createsignedserviceurlrequestbuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.bless(pointer);+ }- sandbox(value: Sandbox): CreateSignedServiceUrlRequestBuilderLike {- return FfiConverterTypeCreateSignedServiceUrlRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_sandbox(- uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterTypeSandbox.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- service(value: string): CreateSignedServiceUrlRequestBuilderLike {- return FfiConverterTypeCreateSignedServiceUrlRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_service(- uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer =- uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.pointer(- this,- );- uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.freePointer(- pointer,- );- uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];++ build(): CreateSignedServiceUrlRequest /*throws*/ {+ return ((__rb: Uint8Array) => {+ try {+ return FfiConverterTypeCreateSignedServiceUrlRequest.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(FfiConverterTypeSdkBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_build(+ uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));}- }- static instanceOf(obj_: any): obj_ is CreateSignedServiceUrlRequestBuilder {- return uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.isConcreteType(- obj_,- );- }+ expiresInSeconds(value: number): CreateSignedServiceUrlRequestBuilderLike {+ return FfiConverterTypeCreateSignedServiceUrlRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_expires_in_seconds(+ uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ label(value: string): CreateSignedServiceUrlRequestBuilderLike {+ return FfiConverterTypeCreateSignedServiceUrlRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_label(+ uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ sandbox(value: Sandbox): CreateSignedServiceUrlRequestBuilderLike {+ return FfiConverterTypeCreateSignedServiceUrlRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_sandbox(+ uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeSandbox.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ service(value: string): CreateSignedServiceUrlRequestBuilderLike {+ return FfiConverterTypeCreateSignedServiceUrlRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_service(+ uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }+++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.pointer(this);+ uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.freePointer(pointer);+ uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }+ }++ static instanceOf(obj_: any): obj_ is CreateSignedServiceUrlRequestBuilder {+ return uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory: UniffiObjectFactory<CreateSignedServiceUrlRequestBuilderLike> =- (() => {+const uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory: UniffiObjectFactory<CreateSignedServiceUrlRequestBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.freePointer(- heldValue,- );- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): CreateSignedServiceUrlRequestBuilderLike {- const instance = Object.create(- CreateSignedServiceUrlRequestBuilder.prototype,- );+ create(pointer: UniffiHandle): CreateSignedServiceUrlRequestBuilderLike {+ const instance = Object.create(CreateSignedServiceUrlRequestBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "CreateSignedServiceUrlRequestBuilder";return instance;- },+ },- bless(p: UniffiHandle): UniffiGcObject {++ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: CreateSignedServiceUrlRequestBuilderLike): UniffiHandle {+ pointer(obj_: CreateSignedServiceUrlRequestBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(- obj_: CreateSignedServiceUrlRequestBuilderLike,- ): UniffiHandle {+ clonePointer(obj_: CreateSignedServiceUrlRequestBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_createsignedserviceurlrequestbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_createsignedserviceurlrequestbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_createsignedserviceurlrequestbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,- );- },-- isConcreteType(- obj_: any,- ): obj_ is CreateSignedServiceUrlRequestBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "CreateSignedServiceUrlRequestBuilder"+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_createsignedserviceurlrequestbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },- };- })();-const FfiConverterTypeCreateSignedServiceUrlRequestBuilder =- new FfiConverterObject(- uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory,- );+ },++ isConcreteType(obj_: any): obj_ is CreateSignedServiceUrlRequestBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "CreateSignedServiceUrlRequestBuilder";+ },+}})();+const FfiConverterTypeCreateSignedServiceUrlRequestBuilder = new FfiConverterObject(uniffiTypeCreateSignedServiceUrlRequestBuilderObjectFactory);export interface CreateTemplateRequestBuilderLike {- build() /*throws*/ : CreateTemplateRequest;- name(value: string): CreateTemplateRequestBuilderLike;- namespace(value: string): CreateTemplateRequestBuilderLike;- spec(value: OsGymSandboxTemplateSpec): CreateTemplateRequestBuilderLike;++ build() /*throws*/: CreateTemplateRequest;+ name(value: string): CreateTemplateRequestBuilderLike;+ namespace(value: string): CreateTemplateRequestBuilderLike;+ spec(value: OsGymSandboxTemplateSpec): CreateTemplateRequestBuilderLike;}/*** @deprecated Use `CreateTemplateRequestBuilderLike` instead.*/-export type CreateTemplateRequestBuilderInterface =- CreateTemplateRequestBuilderLike;--export class CreateTemplateRequestBuilder- extends UniffiAbstractObject- implements CreateTemplateRequestBuilderLike-{- readonly [uniffiTypeNameSymbol] = "CreateTemplateRequestBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_createtemplaterequestbuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+export type CreateTemplateRequestBuilderInterface = CreateTemplateRequestBuilderLike;+++export class CreateTemplateRequestBuilder extends UniffiAbstractObject implements CreateTemplateRequestBuilderLike {++ readonly [uniffiTypeNameSymbol] = "CreateTemplateRequestBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_createtemplaterequestbuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeCreateTemplateRequestBuilderObjectFactory.bless(pointer);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeCreateTemplateRequestBuilderObjectFactory.bless(pointer);+ }+- build(): CreateTemplateRequest /*throws*/ {+++ build(): CreateTemplateRequest /*throws*/ {return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeCreateTemplateRequest.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(- FfiConverterTypeSdkBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_build(- uniffiTypeCreateTemplateRequestBuilderObjectFactory.clonePointer(- this,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ try {+ return FfiConverterTypeCreateTemplateRequest.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(FfiConverterTypeSdkBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_build(+ uniffiTypeCreateTemplateRequestBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- name(value: string): CreateTemplateRequestBuilderLike {- return FfiConverterTypeCreateTemplateRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_name(- uniffiTypeCreateTemplateRequestBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ name(value: string): CreateTemplateRequestBuilderLike {+ return FfiConverterTypeCreateTemplateRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_name(+ uniffiTypeCreateTemplateRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- namespace(value: string): CreateTemplateRequestBuilderLike {- return FfiConverterTypeCreateTemplateRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_namespace(- uniffiTypeCreateTemplateRequestBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ namespace(value: string): CreateTemplateRequestBuilderLike {+ return FfiConverterTypeCreateTemplateRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_namespace(+ uniffiTypeCreateTemplateRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ spec(value: OsGymSandboxTemplateSpec): CreateTemplateRequestBuilderLike {+ return FfiConverterTypeCreateTemplateRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_spec(+ uniffiTypeCreateTemplateRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeOSGymSandboxTemplateSpec.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- spec(value: OsGymSandboxTemplateSpec): CreateTemplateRequestBuilderLike {- return FfiConverterTypeCreateTemplateRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_spec(- uniffiTypeCreateTemplateRequestBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterTypeOSGymSandboxTemplateSpec.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer =- uniffiTypeCreateTemplateRequestBuilderObjectFactory.pointer(this);- uniffiTypeCreateTemplateRequestBuilderObjectFactory.freePointer(pointer);- uniffiTypeCreateTemplateRequestBuilderObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeCreateTemplateRequestBuilderObjectFactory.pointer(this);+ uniffiTypeCreateTemplateRequestBuilderObjectFactory.freePointer(pointer);+ uniffiTypeCreateTemplateRequestBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }}- }- static instanceOf(obj_: any): obj_ is CreateTemplateRequestBuilder {- return uniffiTypeCreateTemplateRequestBuilderObjectFactory.isConcreteType(- obj_,- );- }+ static instanceOf(obj_: any): obj_ is CreateTemplateRequestBuilder {+ return uniffiTypeCreateTemplateRequestBuilderObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeCreateTemplateRequestBuilderObjectFactory: UniffiObjectFactory<CreateTemplateRequestBuilderLike> =- (() => {+const uniffiTypeCreateTemplateRequestBuilderObjectFactory: UniffiObjectFactory<CreateTemplateRequestBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeCreateTemplateRequestBuilderObjectFactory.freePointer(- heldValue,- );- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeCreateTemplateRequestBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): CreateTemplateRequestBuilderLike {+ create(pointer: UniffiHandle): CreateTemplateRequestBuilderLike {const instance = Object.create(CreateTemplateRequestBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "CreateTemplateRequestBuilder";return instance;- },+ },- bless(p: UniffiHandle): UniffiGcObject {++ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: CreateTemplateRequestBuilderLike): UniffiHandle {+ pointer(obj_: CreateTemplateRequestBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: CreateTemplateRequestBuilderLike): UniffiHandle {+ clonePointer(obj_: CreateTemplateRequestBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_createtemplaterequestbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_createtemplaterequestbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_createtemplaterequestbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_createtemplaterequestbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is CreateTemplateRequestBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "CreateTemplateRequestBuilder"- );- },- };- })();-const FfiConverterTypeCreateTemplateRequestBuilder = new FfiConverterObject(- uniffiTypeCreateTemplateRequestBuilderObjectFactory,-);+ isConcreteType(obj_: any): obj_ is CreateTemplateRequestBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "CreateTemplateRequestBuilder";+ },+}})();+const FfiConverterTypeCreateTemplateRequestBuilder = new FfiConverterObject(uniffiTypeCreateTemplateRequestBuilderObjectFactory);export interface CreateUserApiKeyRequestBuilderLike {- build() /*throws*/ : CreateUserApiKeyRequest;- name(value: string): CreateUserApiKeyRequestBuilderLike;- scope(value: Array<string>): CreateUserApiKeyRequestBuilderLike;++ build() /*throws*/: CreateUserApiKeyRequest;+ name(value: string): CreateUserApiKeyRequestBuilderLike;+ scope(value: Array<string>): CreateUserApiKeyRequestBuilderLike;}/*** @deprecated Use `CreateUserApiKeyRequestBuilderLike` instead.*/-export type CreateUserApiKeyRequestBuilderInterface =- CreateUserApiKeyRequestBuilderLike;--export class CreateUserApiKeyRequestBuilder- extends UniffiAbstractObject- implements CreateUserApiKeyRequestBuilderLike-{- readonly [uniffiTypeNameSymbol] = "CreateUserApiKeyRequestBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_createuserapikeyrequestbuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+export type CreateUserApiKeyRequestBuilderInterface = CreateUserApiKeyRequestBuilderLike;+++export class CreateUserApiKeyRequestBuilder extends UniffiAbstractObject implements CreateUserApiKeyRequestBuilderLike {++ readonly [uniffiTypeNameSymbol] = "CreateUserApiKeyRequestBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_createuserapikeyrequestbuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.bless(pointer);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.bless(pointer);+ }++- build(): CreateUserApiKeyRequest /*throws*/ {++ build(): CreateUserApiKeyRequest /*throws*/ {return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeCreateUserApiKeyRequest.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(- FfiConverterTypeSdkBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_build(- uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.clonePointer(- this,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ try {+ return FfiConverterTypeCreateUserApiKeyRequest.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(FfiConverterTypeSdkBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_build(+ uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- name(value: string): CreateUserApiKeyRequestBuilderLike {- return FfiConverterTypeCreateUserApiKeyRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_name(- uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ name(value: string): CreateUserApiKeyRequestBuilderLike {+ return FfiConverterTypeCreateUserApiKeyRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_name(+ uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ scope(value: Array<string>): CreateUserApiKeyRequestBuilderLike {+ return FfiConverterTypeCreateUserApiKeyRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_scope(+ uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterSequenceString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- scope(value: Array<string>): CreateUserApiKeyRequestBuilderLike {- return FfiConverterTypeCreateUserApiKeyRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_scope(- uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterSequenceString.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer =- uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.pointer(this);- uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.freePointer(- pointer,- );- uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.pointer(this);+ uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.freePointer(pointer);+ uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }}- }- static instanceOf(obj_: any): obj_ is CreateUserApiKeyRequestBuilder {- return uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.isConcreteType(- obj_,- );- }+ static instanceOf(obj_: any): obj_ is CreateUserApiKeyRequestBuilder {+ return uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory: UniffiObjectFactory<CreateUserApiKeyRequestBuilderLike> =- (() => {+const uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory: UniffiObjectFactory<CreateUserApiKeyRequestBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.freePointer(- heldValue,- );- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): CreateUserApiKeyRequestBuilderLike {- const instance = Object.create(- CreateUserApiKeyRequestBuilder.prototype,- );+ create(pointer: UniffiHandle): CreateUserApiKeyRequestBuilderLike {+ const instance = Object.create(CreateUserApiKeyRequestBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "CreateUserApiKeyRequestBuilder";return instance;- },+ },+- bless(p: UniffiHandle): UniffiGcObject {+ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: CreateUserApiKeyRequestBuilderLike): UniffiHandle {+ pointer(obj_: CreateUserApiKeyRequestBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: CreateUserApiKeyRequestBuilderLike): UniffiHandle {+ clonePointer(obj_: CreateUserApiKeyRequestBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_createuserapikeyrequestbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_createuserapikeyrequestbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_createuserapikeyrequestbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_createuserapikeyrequestbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is CreateUserApiKeyRequestBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "CreateUserApiKeyRequestBuilder"- );- },- };- })();-const FfiConverterTypeCreateUserApiKeyRequestBuilder = new FfiConverterObject(- uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory,-);+ isConcreteType(obj_: any): obj_ is CreateUserApiKeyRequestBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "CreateUserApiKeyRequestBuilder";+ },+}})();+const FfiConverterTypeCreateUserApiKeyRequestBuilder = new FfiConverterObject(uniffiTypeCreateUserApiKeyRequestBuilderObjectFactory);export interface CyclopsClientLike {- createClaim(- request: CreateClaimRequest,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Claim>;- createNamespace(- name: string,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Namespace>;- createPool(- request: CreatePoolRequest,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Pool>;- createSignedServiceUrl(- request: CreateSignedServiceUrlRequest,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<SignedServiceUrl>;- createTemplate(- request: CreateTemplateRequest,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Template>;- createUserApiKey(- request: CreateUserApiKeyRequest,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<NewUserApiKey>;- deleteClaim(- claim: Claim,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<void>;- deleteNamespace(- name: string,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<void>;- deletePool(- pool: Pool,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<void>;- deleteTemplate(- template: Template,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<void>;- deleteUserApiKey(- id: string,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<void>;- getClaim(- claim: Claim,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Claim>;- getNamespace(- name: string,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Namespace>;- getPool(- name: string,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Pool>;- getTemplate(- namespace: string,- name: string,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Template>;- listClaims(- namespace: string,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Array<Claim>>;- listNamespaces(asyncOpts_?: {- signal: AbortSignal;- }) /*throws*/ : Promise<Array<Namespace>>;- listPools(- namespace: string,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Array<Pool>>;- listSignedServiceUrls(- sandbox: Sandbox,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Array<SignedServiceUrl>>;- listTemplates(- namespace: string,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Array<Template>>;- listUserApiKeys(asyncOpts_?: {- signal: AbortSignal;- }) /*throws*/ : Promise<Array<UserApiKey>>;- reconcilePool(- request: CreatePoolRequest,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Pool>;- reconcileTemplate(- request: CreateTemplateRequest,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Template>;- /**- * Push the claim's `spec.lifecycle.shutdownTime` forward. That absolute- * expiry is the only liveness input the pool operator's claim reaper- * honors, so a holder that outlives its current lease must renew before- * the deadline passes or the bound sandbox is deleted underneath it.- * Deliberately narrower than a claim update: nothing else on the claim- * can be mutated through the SDK.- */- renewClaim(- claim: Claim,- shutdownTime: string,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Claim>;- revokeSignedServiceUrl(- signedServiceUrl: SignedServiceUrl,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<void>;- serviceRequest(- sandbox: Sandbox,- service: string,- path: string,- request: HttpRequest,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<HttpResponse>;- updatePool(- pool: Pool,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Pool>;- updateTemplate(- template: Template,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Template>;- waitClaim(- claim: Claim,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<Sandbox>;++ createClaim(request: CreateClaimRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Claim>;+ createImage(namespace: string, manifest: PreservedJsonLike, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<PreservedJsonLike>;+ createNamespace(name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Namespace>;+ createPool(request: CreatePoolRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Pool>;+ createSignedServiceUrl(request: CreateSignedServiceUrlRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<SignedServiceUrl>;+ createTemplate(request: CreateTemplateRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Template>;+ createUserApiKey(request: CreateUserApiKeyRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<NewUserApiKey>;+ deleteClaim(claim: Claim, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<void>;+ deleteImage(namespace: string, name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<void>;+ deleteNamespace(name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<void>;+ deletePool(pool: Pool, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<void>;+ deleteTemplate(template: Template, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<void>;+ deleteUserApiKey(id: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<void>;+ getClaim(claim: Claim, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Claim>;+ getImage(namespace: string, name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<PreservedJsonLike>;+ getNamespace(name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Namespace>;+ getPool(name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Pool>;+ getTemplate(namespace: string, name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Template>;+ listClaims(namespace: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<Claim>>;+ listImages(namespace: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<PreservedJsonLike>>;+ listNamespaces(asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<Namespace>>;+ listPools(namespace: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<Pool>>;+ listSignedServiceUrls(sandbox: Sandbox, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<SignedServiceUrl>>;+ listTemplates(namespace: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<Template>>;+ listUserApiKeys(asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<UserApiKey>>;+ presignImageUploads(request: ImageUploadRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<ImageUploadResponse>;+ reconcilePool(request: CreatePoolRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Pool>;+ reconcileTemplate(request: CreateTemplateRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Template>;+/**+ * Push the claim's `spec.lifecycle.shutdownTime` forward. That absolute+ * expiry is the only liveness input the pool operator's claim reaper+ * honors, so a holder that outlives its current lease must renew before+ * the deadline passes or the bound sandbox is deleted underneath it.+ * Deliberately narrower than a claim update: nothing else on the claim+ * can be mutated through the SDK.+ */+ renewClaim(claim: Claim, shutdownTime: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Claim>;+ revokeSignedServiceUrl(signedServiceUrl: SignedServiceUrl, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<void>;+ serviceRequest(sandbox: Sandbox, service: string, path: string, request: HttpRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<HttpResponse>;+ updatePool(pool: Pool, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Pool>;+ updateTemplate(template: Template, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Template>;+ waitClaim(claim: Claim, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Sandbox>;}/*** @deprecated Use `CyclopsClientLike` instead.*/export type CyclopsClientInterface = CyclopsClientLike;-export class CyclopsClient- extends UniffiAbstractObject- implements CyclopsClientLike-{- readonly [uniffiTypeNameSymbol] = "CyclopsClient";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- // No primary constructor declared for this class.- private constructor(pointer: UniffiHandle) {- super();- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeCyclopsClientObjectFactory.bless(pointer);- }- static connect(- configuration: CyclopsConfiguration,- httpClient: HttpClient,- ): CyclopsClientLike /*throws*/ {- return FfiConverterTypeCyclopsClient.lift(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect(- FfiConverterTypeCyclopsConfiguration.lower(- configuration,- nativeModule().rustbuffer_alloc,- ),- FfiConverterTypeHttpClient.lower(- httpClient,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+export class CyclopsClient extends UniffiAbstractObject implements CyclopsClientLike {- static connectBrowserWithAccessToken(- configuration: CyclopsTokenProviderConfiguration,- accessToken: string,- ): CyclopsClientLike /*throws*/ {- return FfiConverterTypeCyclopsClient.lift(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_browser_with_access_token(- FfiConverterTypeCyclopsTokenProviderConfiguration.lower(- configuration,- nativeModule().rustbuffer_alloc,- ),- FfiConverterString.lower(- accessToken,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ readonly [uniffiTypeNameSymbol] = "CyclopsClient";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ // No primary constructor declared for this class.+private constructor(pointer: UniffiHandle) {+ super();+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeCyclopsClientObjectFactory.bless(pointer);+}- static connectWithAccessToken(- configuration: CyclopsTokenProviderConfiguration,- accessToken: string,- httpClient: HttpClient,- ): CyclopsClientLike /*throws*/ {- return FfiConverterTypeCyclopsClient.lift(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token(- FfiConverterTypeCyclopsTokenProviderConfiguration.lower(- configuration,- nativeModule().rustbuffer_alloc,- ),- FfiConverterString.lower(- accessToken,- nativeModule().rustbuffer_alloc,- ),- FfiConverterTypeHttpClient.lower(- httpClient,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- static connectWithAccessTokenAndNativeHttpClient(- configuration: CyclopsTokenProviderConfiguration,- accessToken: string,- ): CyclopsClientLike /*throws*/ {- return FfiConverterTypeCyclopsClient.lift(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_and_native_http_client(- FfiConverterTypeCyclopsTokenProviderConfiguration.lower(- configuration,- nativeModule().rustbuffer_alloc,- ),- FfiConverterString.lower(- accessToken,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ static connect(configuration: CyclopsConfiguration, httpClient: HttpClient): CyclopsClientLike /*throws*/ {+ return FfiConverterTypeCyclopsClient.lift(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect(+ FfiConverterTypeCyclopsConfiguration.lower(configuration, nativeModule().rustbuffer_alloc),+ FfiConverterTypeHttpClient.lower(httpClient, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ static connectBrowserWithAccessToken(configuration: CyclopsTokenProviderConfiguration, accessToken: string): CyclopsClientLike /*throws*/ {+ return FfiConverterTypeCyclopsClient.lift(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_browser_with_access_token(+ FfiConverterTypeCyclopsTokenProviderConfiguration.lower(configuration, nativeModule().rustbuffer_alloc),+ FfiConverterString.lower(accessToken, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ static connectWithAccessToken(configuration: CyclopsTokenProviderConfiguration, accessToken: string, httpClient: HttpClient): CyclopsClientLike /*throws*/ {+ return FfiConverterTypeCyclopsClient.lift(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token(+ FfiConverterTypeCyclopsTokenProviderConfiguration.lower(configuration, nativeModule().rustbuffer_alloc),+ FfiConverterString.lower(accessToken, nativeModule().rustbuffer_alloc),+ FfiConverterTypeHttpClient.lower(httpClient, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ static connectWithAccessTokenAndNativeHttpClient(configuration: CyclopsTokenProviderConfiguration, accessToken: string): CyclopsClientLike /*throws*/ {+ return FfiConverterTypeCyclopsClient.lift(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_and_native_http_client(+ FfiConverterTypeCyclopsTokenProviderConfiguration.lower(configuration, nativeModule().rustbuffer_alloc),+ FfiConverterString.lower(accessToken, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ static connectWithAccessTokenProvider(configuration: CyclopsTokenProviderConfiguration, tokenProvider: AccessTokenProvider, httpClient: HttpClient): CyclopsClientLike /*throws*/ {+ return FfiConverterTypeCyclopsClient.lift(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_provider(+ FfiConverterTypeCyclopsTokenProviderConfiguration.lower(configuration, nativeModule().rustbuffer_alloc),+ FfiConverterTypeAccessTokenProvider.lower(tokenProvider, nativeModule().rustbuffer_alloc),+ FfiConverterTypeHttpClient.lower(httpClient, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ static connectWithAccessTokenProviderAndNativeHttpClient(configuration: CyclopsTokenProviderConfiguration, tokenProvider: AccessTokenProvider): CyclopsClientLike /*throws*/ {+ return FfiConverterTypeCyclopsClient.lift(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client(+ FfiConverterTypeCyclopsTokenProviderConfiguration.lower(configuration, nativeModule().rustbuffer_alloc),+ FfiConverterTypeAccessTokenProvider.lower(tokenProvider, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- static connectWithAccessTokenProvider(- configuration: CyclopsTokenProviderConfiguration,- tokenProvider: AccessTokenProvider,- httpClient: HttpClient,- ): CyclopsClientLike /*throws*/ {- return FfiConverterTypeCyclopsClient.lift(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_provider(- FfiConverterTypeCyclopsTokenProviderConfiguration.lower(- configuration,- nativeModule().rustbuffer_alloc,- ),- FfiConverterTypeAccessTokenProvider.lower(- tokenProvider,- nativeModule().rustbuffer_alloc,- ),- FfiConverterTypeHttpClient.lower(- httpClient,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ static connectWithNativeHttpClient(configuration: CyclopsConfiguration): CyclopsClientLike /*throws*/ {+ return FfiConverterTypeCyclopsClient.lift(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_native_http_client(+ FfiConverterTypeCyclopsConfiguration.lower(configuration, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- static connectWithAccessTokenProviderAndNativeHttpClient(- configuration: CyclopsTokenProviderConfiguration,- tokenProvider: AccessTokenProvider,- ): CyclopsClientLike /*throws*/ {- return FfiConverterTypeCyclopsClient.lift(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client(- FfiConverterTypeCyclopsTokenProviderConfiguration.lower(- configuration,- nativeModule().rustbuffer_alloc,- ),- FfiConverterTypeAccessTokenProvider.lower(- tokenProvider,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- static connectWithNativeHttpClient(- configuration: CyclopsConfiguration,- ): CyclopsClientLike /*throws*/ {- return FfiConverterTypeCyclopsClient.lift(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_native_http_client(- FfiConverterTypeCyclopsConfiguration.lower(- configuration,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- async createClaim(- request: CreateClaimRequest,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Claim> /*throws*/ {+ async createClaim(request: CreateClaimRequest, asyncOpts_?: { signal: AbortSignal }): Promise<Claim> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_claim(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeCreateClaimRequest.lower(- request,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_claim(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeCreateClaimRequest.lower(request, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeClaim.lift.bind(FfiConverterTypeClaim),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeClaim.lift.bind(FfiConverterTypeClaim),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async createNamespace(- name: string,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Namespace> /*throws*/ {+ async createImage(namespace: string, manifest: PreservedJsonLike, asyncOpts_?: { signal: AbortSignal }): Promise<PreservedJsonLike> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_namespace(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterString.lower(name, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc),FfiConverterTypePreservedJson.lower(manifest, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_u64,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_u64,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_u64,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_u64,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypePreservedJson.lift.bind(FfiConverterTypePreservedJson),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeNamespace.lift.bind(- FfiConverterTypeNamespace,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async createPool(- request: CreatePoolRequest,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Pool> /*throws*/ {+ async createNamespace(name: string, asyncOpts_?: { signal: AbortSignal }): Promise<Namespace> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_pool(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeCreatePoolRequest.lower(- request,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_namespace(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(name, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeNamespace.lift.bind(FfiConverterTypeNamespace),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypePool.lift.bind(FfiConverterTypePool),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async createSignedServiceUrl(- request: CreateSignedServiceUrlRequest,- asyncOpts_?: { signal: AbortSignal },- ): Promise<SignedServiceUrl> /*throws*/ {+ async createPool(request: CreatePoolRequest, asyncOpts_?: { signal: AbortSignal }): Promise<Pool> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_signed_service_url(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeCreateSignedServiceUrlRequest.lower(- request,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_pool(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeCreatePoolRequest.lower(request, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypePool.lift.bind(FfiConverterTypePool),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeSignedServiceUrl.lift.bind(- FfiConverterTypeSignedServiceUrl,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async createTemplate(- request: CreateTemplateRequest,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Template> /*throws*/ {+ async createSignedServiceUrl(request: CreateSignedServiceUrlRequest, asyncOpts_?: { signal: AbortSignal }): Promise<SignedServiceUrl> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_template(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeCreateTemplateRequest.lower(- request,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_signed_service_url(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeCreateSignedServiceUrlRequest.lower(request, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeSignedServiceUrl.lift.bind(FfiConverterTypeSignedServiceUrl),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeTemplate.lift.bind(- FfiConverterTypeTemplate,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async createUserApiKey(- request: CreateUserApiKeyRequest,- asyncOpts_?: { signal: AbortSignal },- ): Promise<NewUserApiKey> /*throws*/ {+ async createTemplate(request: CreateTemplateRequest, asyncOpts_?: { signal: AbortSignal }): Promise<Template> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_user_api_key(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeCreateUserApiKeyRequest.lower(- request,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_template(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeCreateTemplateRequest.lower(request, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeTemplate.lift.bind(FfiConverterTypeTemplate),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeNewUserApiKey.lift.bind(- FfiConverterTypeNewUserApiKey,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async deleteClaim(- claim: Claim,- asyncOpts_?: { signal: AbortSignal },- ): Promise<void> /*throws*/ {+ async createUserApiKey(request: CreateUserApiKeyRequest, asyncOpts_?: { signal: AbortSignal }): Promise<NewUserApiKey> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_claim(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeClaim.lower(claim, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_create_user_api_key(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeCreateUserApiKeyRequest.lower(request, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeNewUserApiKey.lift.bind(FfiConverterTypeNewUserApiKey),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_void,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_void,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_void,- /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_void,- /*liftFunc:*/ (_v) => {},- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async deleteNamespace(- name: string,- asyncOpts_?: { signal: AbortSignal },- ): Promise<void> /*throws*/ {+ async deleteClaim(claim: Claim, asyncOpts_?: { signal: AbortSignal }): Promise<void> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_namespace(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterString.lower(name, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_claim(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeClaim.lower(claim, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_void,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_void,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_void,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_void,+ /*liftFunc:*/ (_v) => {},+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_void,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_void,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_void,- /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_void,- /*liftFunc:*/ (_v) => {},- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async deletePool(- pool: Pool,- asyncOpts_?: { signal: AbortSignal },- ): Promise<void> /*throws*/ {+ async deleteImage(namespace: string, name: string, asyncOpts_?: { signal: AbortSignal }): Promise<void> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_pool(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypePool.lower(pool, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc),FfiConverterString.lower(name, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_void,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_void,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_void,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_void,+ /*liftFunc:*/ (_v) => {},+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_void,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_void,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_void,- /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_void,- /*liftFunc:*/ (_v) => {},- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async deleteTemplate(- template: Template,- asyncOpts_?: { signal: AbortSignal },- ): Promise<void> /*throws*/ {+ async deleteNamespace(name: string, asyncOpts_?: { signal: AbortSignal }): Promise<void> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_template(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeTemplate.lower(- template,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_namespace(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(name, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_void,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_void,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_void,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_void,+ /*liftFunc:*/ (_v) => {},+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_void,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_void,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_void,- /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_void,- /*liftFunc:*/ (_v) => {},- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async deleteUserApiKey(- id: string,- asyncOpts_?: { signal: AbortSignal },- ): Promise<void> /*throws*/ {+ async deletePool(pool: Pool, asyncOpts_?: { signal: AbortSignal }): Promise<void> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_user_api_key(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterString.lower(id, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_pool(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypePool.lower(pool, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_void,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_void,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_void,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_void,+ /*liftFunc:*/ (_v) => {},+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_void,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_void,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_void,- /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_void,- /*liftFunc:*/ (_v) => {},- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async getClaim(- claim: Claim,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Claim> /*throws*/ {+ async deleteTemplate(template: Template, asyncOpts_?: { signal: AbortSignal }): Promise<void> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_claim(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeClaim.lower(claim, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_template(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeTemplate.lower(template, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_void,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_void,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_void,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_void,+ /*liftFunc:*/ (_v) => {},+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeClaim.lift.bind(FfiConverterTypeClaim),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async getNamespace(- name: string,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Namespace> /*throws*/ {+ async deleteUserApiKey(id: string, asyncOpts_?: { signal: AbortSignal }): Promise<void> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_namespace(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterString.lower(name, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_user_api_key(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(id, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_void,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_void,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_void,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_void,+ /*liftFunc:*/ (_v) => {},+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeNamespace.lift.bind(- FfiConverterTypeNamespace,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async getPool(- name: string,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Pool> /*throws*/ {+ async getClaim(claim: Claim, asyncOpts_?: { signal: AbortSignal }): Promise<Claim> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_pool(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterString.lower(name, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_claim(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeClaim.lower(claim, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeClaim.lift.bind(FfiConverterTypeClaim),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypePool.lift.bind(FfiConverterTypePool),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async getTemplate(- namespace: string,- name: string,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Template> /*throws*/ {+ async getImage(namespace: string, name: string, asyncOpts_?: { signal: AbortSignal }): Promise<PreservedJsonLike> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_template(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc),- FfiConverterString.lower(name, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc),FfiConverterString.lower(name, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_u64,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_u64,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_u64,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_u64,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypePreservedJson.lift.bind(FfiConverterTypePreservedJson),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeTemplate.lift.bind(- FfiConverterTypeTemplate,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async listClaims(- namespace: string,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Array<Claim>> /*throws*/ {+ async getNamespace(name: string, asyncOpts_?: { signal: AbortSignal }): Promise<Namespace> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_claims(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_namespace(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(name, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeNamespace.lift.bind(FfiConverterTypeNamespace),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterSequenceTypeClaim.lift.bind(- FfiConverterSequenceTypeClaim,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async listNamespaces(asyncOpts_?: {- signal: AbortSignal;- }): Promise<Array<Namespace>> /*throws*/ {+ async getPool(name: string, asyncOpts_?: { signal: AbortSignal }): Promise<Pool> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_namespaces(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_pool(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(name, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypePool.lift.bind(FfiConverterTypePool),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterSequenceTypeNamespace.lift.bind(- FfiConverterSequenceTypeNamespace,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async listPools(- namespace: string,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Array<Pool>> /*throws*/ {+ async getTemplate(namespace: string, name: string, asyncOpts_?: { signal: AbortSignal }): Promise<Template> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_pools(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_get_template(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc),FfiConverterString.lower(name, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeTemplate.lift.bind(FfiConverterTypeTemplate),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterSequenceTypePool.lift.bind(- FfiConverterSequenceTypePool,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async listSignedServiceUrls(- sandbox: Sandbox,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Array<SignedServiceUrl>> /*throws*/ {+ async listClaims(namespace: string, asyncOpts_?: { signal: AbortSignal }): Promise<Array<Claim>> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_signed_service_urls(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeSandbox.lower(- sandbox,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_claims(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterSequenceTypeClaim.lift.bind(FfiConverterSequenceTypeClaim),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterSequenceTypeSignedServiceUrl.lift.bind(- FfiConverterSequenceTypeSignedServiceUrl,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async listTemplates(- namespace: string,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Array<Template>> /*throws*/ {+ async listImages(namespace: string, asyncOpts_?: { signal: AbortSignal }): Promise<Array<PreservedJsonLike>> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_templates(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterSequenceTypePreservedJson.lift.bind(FfiConverterSequenceTypePreservedJson),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterSequenceTypeTemplate.lift.bind(- FfiConverterSequenceTypeTemplate,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async listUserApiKeys(asyncOpts_?: {- signal: AbortSignal;- }): Promise<Array<UserApiKey>> /*throws*/ {+ async listNamespaces(asyncOpts_?: { signal: AbortSignal }): Promise<Array<Namespace>> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_user_api_keys(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_namespaces(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterSequenceTypeNamespace.lift.bind(FfiConverterSequenceTypeNamespace),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterSequenceTypeUserApiKey.lift.bind(- FfiConverterSequenceTypeUserApiKey,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async reconcilePool(- request: CreatePoolRequest,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Pool> /*throws*/ {+ async listPools(namespace: string, asyncOpts_?: { signal: AbortSignal }): Promise<Array<Pool>> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_pool(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeCreatePoolRequest.lower(- request,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_pools(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterSequenceTypePool.lift.bind(FfiConverterSequenceTypePool),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypePool.lift.bind(FfiConverterTypePool),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async reconcileTemplate(- request: CreateTemplateRequest,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Template> /*throws*/ {+ async listSignedServiceUrls(sandbox: Sandbox, asyncOpts_?: { signal: AbortSignal }): Promise<Array<SignedServiceUrl>> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_template(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeCreateTemplateRequest.lower(- request,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_signed_service_urls(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeSandbox.lower(sandbox, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterSequenceTypeSignedServiceUrl.lift.bind(FfiConverterSequenceTypeSignedServiceUrl),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeTemplate.lift.bind(- FfiConverterTypeTemplate,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- /**- * Push the claim's `spec.lifecycle.shutdownTime` forward. That absolute- * expiry is the only liveness input the pool operator's claim reaper- * honors, so a holder that outlives its current lease must renew before- * the deadline passes or the bound sandbox is deleted underneath it.- * Deliberately narrower than a claim update: nothing else on the claim- * can be mutated through the SDK.- */- async renewClaim(- claim: Claim,- shutdownTime: string,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Claim> /*throws*/ {+ async listTemplates(namespace: string, asyncOpts_?: { signal: AbortSignal }): Promise<Array<Template>> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_renew_claim(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeClaim.lower(claim, nativeModule().rustbuffer_alloc),- FfiConverterString.lower(- shutdownTime,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_templates(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterSequenceTypeTemplate.lift.bind(FfiConverterSequenceTypeTemplate),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeClaim.lift.bind(FfiConverterTypeClaim),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async revokeSignedServiceUrl(- signedServiceUrl: SignedServiceUrl,- asyncOpts_?: { signal: AbortSignal },- ): Promise<void> /*throws*/ {+ async listUserApiKeys(asyncOpts_?: { signal: AbortSignal }): Promise<Array<UserApiKey>> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_revoke_signed_service_url(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeSignedServiceUrl.lower(- signedServiceUrl,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_list_user_api_keys(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterSequenceTypeUserApiKey.lift.bind(FfiConverterSequenceTypeUserApiKey),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_void,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_void,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_void,- /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_void,- /*liftFunc:*/ (_v) => {},- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async serviceRequest(- sandbox: Sandbox,- service: string,- path: string,- request: HttpRequest,- asyncOpts_?: { signal: AbortSignal },- ): Promise<HttpResponse> /*throws*/ {+ async presignImageUploads(request: ImageUploadRequest, asyncOpts_?: { signal: AbortSignal }): Promise<ImageUploadResponse> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_service_request(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeSandbox.lower(- sandbox,- nativeModule().rustbuffer_alloc,- ),- FfiConverterString.lower(service, nativeModule().rustbuffer_alloc),- FfiConverterString.lower(path, nativeModule().rustbuffer_alloc),- FfiConverterTypeHttpRequest.lower(- request,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeImageUploadRequest.lower(request, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeImageUploadResponse.lift.bind(FfiConverterTypeImageUploadResponse),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeHttpResponse.lift.bind(- FfiConverterTypeHttpResponse,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async updatePool(- pool: Pool,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Pool> /*throws*/ {+ async reconcilePool(request: CreatePoolRequest, asyncOpts_?: { signal: AbortSignal }): Promise<Pool> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_update_pool(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypePool.lower(pool, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_pool(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeCreatePoolRequest.lower(request, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypePool.lift.bind(FfiConverterTypePool),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypePool.lift.bind(FfiConverterTypePool),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async updateTemplate(- template: Template,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Template> /*throws*/ {+ async reconcileTemplate(request: CreateTemplateRequest, asyncOpts_?: { signal: AbortSignal }): Promise<Template> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_update_template(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeTemplate.lower(- template,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_template(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeCreateTemplateRequest.lower(request, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeTemplate.lift.bind(FfiConverterTypeTemplate),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeTemplate.lift.bind(- FfiConverterTypeTemplate,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- async waitClaim(- claim: Claim,- asyncOpts_?: { signal: AbortSignal },- ): Promise<Sandbox> /*throws*/ {+/**+ * Push the claim's `spec.lifecycle.shutdownTime` forward. That absolute+ * expiry is the only liveness input the pool operator's claim reaper+ * honors, so a holder that outlives its current lease must renew before+ * the deadline passes or the bound sandbox is deleted underneath it.+ * Deliberately narrower than a claim update: nothing else on the claim+ * can be mutated through the SDK.+ */+ async renewClaim(claim: Claim, shutdownTime: string, asyncOpts_?: { signal: AbortSignal }): Promise<Claim> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_wait_claim(- uniffiTypeCyclopsClientObjectFactory.clonePointer(this),- FfiConverterTypeClaim.lower(claim, nativeModule().rustbuffer_alloc),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_renew_claim(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeClaim.lower(claim, nativeModule().rustbuffer_alloc),FfiConverterString.lower(shutdownTime, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeClaim.lift.bind(FfiConverterTypeClaim),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeSandbox.lift.bind(FfiConverterTypeSandbox),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(- FfiConverterTypeSdkError,- ),- );- }+ }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer = uniffiTypeCyclopsClientObjectFactory.pointer(this);- uniffiTypeCyclopsClientObjectFactory.freePointer(pointer);- uniffiTypeCyclopsClientObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+ async revokeSignedServiceUrl(signedServiceUrl: SignedServiceUrl, asyncOpts_?: { signal: AbortSignal }): Promise<void> /*throws*/ {+ return await uniffiRustCallAsync(+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_revoke_signed_service_url(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeSignedServiceUrl.lower(signedServiceUrl, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_void,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_void,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_void,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_void,+ /*liftFunc:*/ (_v) => {},+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError)+ );}- }- static instanceOf(obj_: any): obj_ is CyclopsClient {- return uniffiTypeCyclopsClientObjectFactory.isConcreteType(obj_);- }+ async serviceRequest(sandbox: Sandbox, service: string, path: string, request: HttpRequest, asyncOpts_?: { signal: AbortSignal }): Promise<HttpResponse> /*throws*/ {+ return await uniffiRustCallAsync(+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_service_request(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeSandbox.lower(sandbox, nativeModule().rustbuffer_alloc),FfiConverterString.lower(service, nativeModule().rustbuffer_alloc),FfiConverterString.lower(path, nativeModule().rustbuffer_alloc),FfiConverterTypeHttpRequest.lower(request, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeHttpResponse.lift.bind(FfiConverterTypeHttpResponse),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError)+ );+ }++ async updatePool(pool: Pool, asyncOpts_?: { signal: AbortSignal }): Promise<Pool> /*throws*/ {+ return await uniffiRustCallAsync(+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_update_pool(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypePool.lower(pool, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypePool.lift.bind(FfiConverterTypePool),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError)+ );+ }++ async updateTemplate(template: Template, asyncOpts_?: { signal: AbortSignal }): Promise<Template> /*throws*/ {+ return await uniffiRustCallAsync(+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_update_template(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeTemplate.lower(template, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeTemplate.lift.bind(FfiConverterTypeTemplate),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError)+ );+ }++ async waitClaim(claim: Claim, asyncOpts_?: { signal: AbortSignal }): Promise<Sandbox> /*throws*/ {+ return await uniffiRustCallAsync(+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopsclient_wait_claim(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeClaim.lower(claim, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeSandbox.lift.bind(FfiConverterTypeSandbox),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError)+ );+ }+++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeCyclopsClientObjectFactory.pointer(this);+ uniffiTypeCyclopsClientObjectFactory.freePointer(pointer);+ uniffiTypeCyclopsClientObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }+ }++ static instanceOf(obj_: any): obj_ is CyclopsClient {+ return uniffiTypeCyclopsClientObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeCyclopsClientObjectFactory: UniffiObjectFactory<CyclopsClientLike> =- (() => {+const uniffiTypeCyclopsClientObjectFactory: UniffiObjectFactory<CyclopsClientLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeCyclopsClientObjectFactory.freePointer(heldValue);- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeCyclopsClientObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): CyclopsClientLike {+ create(pointer: UniffiHandle): CyclopsClientLike {const instance = Object.create(CyclopsClient.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "CyclopsClient";return instance;- },+ },+- bless(p: UniffiHandle): UniffiGcObject {+ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: CyclopsClientLike): UniffiHandle {+ pointer(obj_: CyclopsClientLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: CyclopsClientLike): UniffiHandle {+ clonePointer(obj_: CyclopsClientLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_cyclopsclient(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_cyclopsclient(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_cyclopsclient(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_cyclopsclient(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is CyclopsClientLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "CyclopsClient"- );- },- };- })();-const FfiConverterTypeCyclopsClient = new FfiConverterObject(- uniffiTypeCyclopsClientObjectFactory,-);+ isConcreteType(obj_: any): obj_ is CyclopsClientLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "CyclopsClient";+ },+}})();+const FfiConverterTypeCyclopsClient = new FfiConverterObject(uniffiTypeCyclopsClientObjectFactory);export interface CyclopsTokenProviderConfigurationBuilderLike {- baseUrl(value: string): CyclopsTokenProviderConfigurationBuilderLike;- build() /*throws*/ : CyclopsTokenProviderConfiguration;- claimPollIntervalMs(- value: bigint,- ): CyclopsTokenProviderConfigurationBuilderLike;- claimPollLimit(value: number): CyclopsTokenProviderConfigurationBuilderLike;- poolPollIntervalMs(- value: bigint,- ): CyclopsTokenProviderConfigurationBuilderLike;- poolPollLimit(value: number): CyclopsTokenProviderConfigurationBuilderLike;++ baseUrl(value: string): CyclopsTokenProviderConfigurationBuilderLike;+ build() /*throws*/: CyclopsTokenProviderConfiguration;+ claimPollIntervalMs(value: bigint): CyclopsTokenProviderConfigurationBuilderLike;+ claimPollLimit(value: number): CyclopsTokenProviderConfigurationBuilderLike;+ poolPollIntervalMs(value: bigint): CyclopsTokenProviderConfigurationBuilderLike;+ poolPollLimit(value: number): CyclopsTokenProviderConfigurationBuilderLike;}/*** @deprecated Use `CyclopsTokenProviderConfigurationBuilderLike` instead.*/-export type CyclopsTokenProviderConfigurationBuilderInterface =- CyclopsTokenProviderConfigurationBuilderLike;--export class CyclopsTokenProviderConfigurationBuilder- extends UniffiAbstractObject- implements CyclopsTokenProviderConfigurationBuilderLike-{- readonly [uniffiTypeNameSymbol] = "CyclopsTokenProviderConfigurationBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopstokenproviderconfigurationbuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- );- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.bless(- pointer,- );- }+export type CyclopsTokenProviderConfigurationBuilderInterface = CyclopsTokenProviderConfigurationBuilderLike;- baseUrl(value: string): CyclopsTokenProviderConfigurationBuilderLike {- return FfiConverterTypeCyclopsTokenProviderConfigurationBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_base_url(- uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),++export class CyclopsTokenProviderConfigurationBuilder extends UniffiAbstractObject implements CyclopsTokenProviderConfigurationBuilderLike {++ readonly [uniffiTypeNameSymbol] = "CyclopsTokenProviderConfigurationBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_cyclopstokenproviderconfigurationbuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.bless(pointer);+ }+++- build(): CyclopsTokenProviderConfiguration /*throws*/ {+ baseUrl(value: string): CyclopsTokenProviderConfigurationBuilderLike {+ return FfiConverterTypeCyclopsTokenProviderConfigurationBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_base_url(+ uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ build(): CyclopsTokenProviderConfiguration /*throws*/ {return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeCyclopsTokenProviderConfiguration.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(- FfiConverterTypeSdkBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_build(- uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.clonePointer(- this,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ try {+ return FfiConverterTypeCyclopsTokenProviderConfiguration.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(FfiConverterTypeSdkBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_build(+ uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- claimPollIntervalMs(- value: bigint,- ): CyclopsTokenProviderConfigurationBuilderLike {- return FfiConverterTypeCyclopsTokenProviderConfigurationBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms(- uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterUInt64.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ claimPollIntervalMs(value: bigint): CyclopsTokenProviderConfigurationBuilderLike {+ return FfiConverterTypeCyclopsTokenProviderConfigurationBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms(+ uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt64.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- claimPollLimit(value: number): CyclopsTokenProviderConfigurationBuilderLike {- return FfiConverterTypeCyclopsTokenProviderConfigurationBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit(- uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ claimPollLimit(value: number): CyclopsTokenProviderConfigurationBuilderLike {+ return FfiConverterTypeCyclopsTokenProviderConfigurationBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit(+ uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- poolPollIntervalMs(- value: bigint,- ): CyclopsTokenProviderConfigurationBuilderLike {- return FfiConverterTypeCyclopsTokenProviderConfigurationBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms(- uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterUInt64.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ poolPollIntervalMs(value: bigint): CyclopsTokenProviderConfigurationBuilderLike {+ return FfiConverterTypeCyclopsTokenProviderConfigurationBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms(+ uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt64.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- poolPollLimit(value: number): CyclopsTokenProviderConfigurationBuilderLike {- return FfiConverterTypeCyclopsTokenProviderConfigurationBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit(- uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.clonePointer(- this,- ),- FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ poolPollLimit(value: number): CyclopsTokenProviderConfigurationBuilderLike {+ return FfiConverterTypeCyclopsTokenProviderConfigurationBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit(+ uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt32.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer =- uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.pointer(- this,- );- uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.freePointer(- pointer,- );- uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.unbless(- ptr,- );- delete (this as any)[destructorGuardSymbol];++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.pointer(this);+ uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.freePointer(pointer);+ uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }}- }- static instanceOf(- obj_: any,- ): obj_ is CyclopsTokenProviderConfigurationBuilder {- return uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.isConcreteType(- obj_,- );- }+ static instanceOf(obj_: any): obj_ is CyclopsTokenProviderConfigurationBuilder {+ return uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory: UniffiObjectFactory<CyclopsTokenProviderConfigurationBuilderLike> =- (() => {+const uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory: UniffiObjectFactory<CyclopsTokenProviderConfigurationBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.freePointer(- heldValue,- );- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(- pointer: UniffiHandle,- ): CyclopsTokenProviderConfigurationBuilderLike {- const instance = Object.create(- CyclopsTokenProviderConfigurationBuilder.prototype,- );+ create(pointer: UniffiHandle): CyclopsTokenProviderConfigurationBuilderLike {+ const instance = Object.create(CyclopsTokenProviderConfigurationBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);- instance[uniffiTypeNameSymbol] =- "CyclopsTokenProviderConfigurationBuilder";+ instance[uniffiTypeNameSymbol] = "CyclopsTokenProviderConfigurationBuilder";return instance;- },+ },- bless(p: UniffiHandle): UniffiGcObject {++ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(- obj_: CyclopsTokenProviderConfigurationBuilderLike,- ): UniffiHandle {+ pointer(obj_: CyclopsTokenProviderConfigurationBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(- obj_: CyclopsTokenProviderConfigurationBuilderLike,- ): UniffiHandle {+ clonePointer(obj_: CyclopsTokenProviderConfigurationBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_cyclopstokenproviderconfigurationbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_cyclopstokenproviderconfigurationbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_cyclopstokenproviderconfigurationbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,- );- },-- isConcreteType(- obj_: any,- ): obj_ is CyclopsTokenProviderConfigurationBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] ===- "CyclopsTokenProviderConfigurationBuilder"+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_cyclopstokenproviderconfigurationbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },- };- })();-const FfiConverterTypeCyclopsTokenProviderConfigurationBuilder =- new FfiConverterObject(- uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory,- );+ },++ isConcreteType(obj_: any): obj_ is CyclopsTokenProviderConfigurationBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "CyclopsTokenProviderConfigurationBuilder";+ },+}})();+const FfiConverterTypeCyclopsTokenProviderConfigurationBuilder = new FfiConverterObject(uniffiTypeCyclopsTokenProviderConfigurationBuilderObjectFactory);export interface HttpClient {- /**- * Executes an HTTP request. Foreign implementations must enforce- * `request.max_response_bytes` while streaming the response body.- */- execute(- request: HttpRequest,- asyncOpts_?: { signal: AbortSignal },- ) /*throws*/ : Promise<HttpResponse>;++/**+ * Executes an HTTP request. Foreign implementations must enforce+ * `request.max_response_bytes` while streaming the response body.+ */+ execute(request: HttpRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<HttpResponse>;}+export class HttpClientImpl extends UniffiAbstractObject implements HttpClient {- readonly [uniffiTypeNameSymbol] = "HttpClientImpl";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- // No primary constructor declared for this class.- private constructor(pointer: UniffiHandle) {++ readonly [uniffiTypeNameSymbol] = "HttpClientImpl";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ // No primary constructor declared for this class.+private constructor(pointer: UniffiHandle) {super();this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeHttpClientImplObjectFactory.bless(pointer);- }+ this[destructorGuardSymbol] = uniffiTypeHttpClientImplObjectFactory.bless(pointer);+}+- /**- * Executes an HTTP request. Foreign implementations must enforce- * `request.max_response_bytes` while streaming the response body.- */- async execute(- request: HttpRequest,- asyncOpts_?: { signal: AbortSignal },- ): Promise<HttpResponse> /*throws*/ {+++/**+ * Executes an HTTP request. Foreign implementations must enforce+ * `request.max_response_bytes` while streaming the response body.+ */+ async execute(request: HttpRequest, asyncOpts_?: { signal: AbortSignal }): Promise<HttpResponse> /*throws*/ {return await uniffiRustCallAsync(- /*rustCaller:*/ uniffiCaller,- /*rustFutureFunc:*/ () => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httpclient_execute(- uniffiTypeHttpClientImplObjectFactory.clonePointer(this),- FfiConverterTypeHttpRequest.lower(- request,- nativeModule().rustbuffer_alloc,- ),+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httpclient_execute(+ uniffiTypeHttpClientImplObjectFactory.clonePointer(this),FfiConverterTypeHttpRequest.lower(request, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeHttpResponse.lift.bind(FfiConverterTypeHttpResponse),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeHttpError.lift.bind(FfiConverterTypeHttpError));- },- /*pollFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_poll_rust_buffer,- /*cancelFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_cancel_rust_buffer,- /*completeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_complete_rust_buffer,- /*freeFunc:*/ nativeModule()- .ubrn_ffi_cyclops_sdk_rust_future_free_rust_buffer,- // Async returns always go through the JS-side converter: the- // FFI symbol returns the future handle (u64), and the user-level- // RustBuffer comes back via the shared `rust_future_complete_*`- // export. The bytes the runtime hands back must be deserialized- // here using the per-callable return-type converter.- /*liftFunc:*/ FfiConverterTypeHttpResponse.lift.bind(- FfiConverterTypeHttpResponse,- ),- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- /*asyncOpts:*/ asyncOpts_,- /*errorHandler:*/ FfiConverterTypeHttpError.lift.bind(- FfiConverterTypeHttpError,- ),- );- }+ }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer = uniffiTypeHttpClientImplObjectFactory.pointer(this);- uniffiTypeHttpClientImplObjectFactory.freePointer(pointer);- uniffiTypeHttpClientImplObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeHttpClientImplObjectFactory.pointer(this);+ uniffiTypeHttpClientImplObjectFactory.freePointer(pointer);+ uniffiTypeHttpClientImplObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }}- }- static instanceOf(obj_: any): obj_ is HttpClientImpl {- return uniffiTypeHttpClientImplObjectFactory.isConcreteType(obj_);- }+ static instanceOf(obj_: any): obj_ is HttpClientImpl {+ return uniffiTypeHttpClientImplObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeHttpClientImplObjectFactory: UniffiObjectFactory<HttpClient> =- (() => {+const uniffiTypeHttpClientImplObjectFactory: UniffiObjectFactory<HttpClient> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeHttpClientImplObjectFactory.freePointer(heldValue);- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeHttpClientImplObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): HttpClient {+ create(pointer: UniffiHandle): HttpClient {const instance = Object.create(HttpClientImpl.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "HttpClientImpl";return instance;- },+ },+- bless(p: UniffiHandle): UniffiGcObject {+ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: HttpClient): UniffiHandle {+ pointer(obj_: HttpClient): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: HttpClient): UniffiHandle {+ clonePointer(obj_: HttpClient): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_httpclient(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_httpclient(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_httpclient(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_httpclient(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is HttpClient {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "HttpClientImpl"- );- },- };- })();-const FfiConverterTypeHttpClient = new FfiConverterObjectWithCallbacks(- uniffiTypeHttpClientImplObjectFactory,-);+ isConcreteType(obj_: any): obj_ is HttpClient {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "HttpClientImpl";+ },+}})();+const FfiConverterTypeHttpClient = new FfiConverterObjectWithCallbacks(uniffiTypeHttpClientImplObjectFactory);// Add a vtable for the callbacks that go in HttpClient.// Put the implementation in a struct so we don't pollute the top-level namespace-const uniffiCallbackInterfaceHttpClient: { vtable: any; register: () => void } =- {+const uniffiCallbackInterfaceHttpClient: { vtable: any; register: () => void; } = {// Create the VTable using a series of closures.// ts automatically converts these into C callback functions.vtable: {- execute: (- uniffiHandle: bigint,- request: Uint8Array,- uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer,- uniffiCallbackData: bigint,- ) => {- const uniffiMakeCall = async (- signal: AbortSignal,- ): Promise<HttpResponse> => {- const jsCallback = FfiConverterTypeHttpClient.lift(uniffiHandle);- return await jsCallback.execute(- FfiConverterTypeHttpRequest.lift(request),- { signal },- );- };- const uniffiHandleSuccess = (returnValue: HttpResponse) => {- uniffiFutureCallback.call(- uniffiFutureCallback,- uniffiCallbackData,- /* UniffiForeignFutureResultRustBuffer */ {- return_value: FfiConverterTypeHttpResponse.lower(- returnValue,- nativeModule().rustbuffer_alloc,- ),- call_status: uniffiCaller.createCallStatus(),- },- );- };- const uniffiHandleError = (code: number, errorBuf: UniffiByteArray) => {- uniffiFutureCallback.call(- uniffiFutureCallback,- uniffiCallbackData,- /* UniffiForeignFutureResultRustBuffer */ {- return_value: /*empty*/ new Uint8Array(0),- // TODO create callstatus with error.- call_status: uniffiCaller.createErrorStatus(code, errorBuf),- },- );- };- const uniffiForeignFuture = uniffiTraitInterfaceCallAsyncWithError(- /*makeCall:*/ uniffiMakeCall,- /*handleSuccess:*/ uniffiHandleSuccess,- /*handleError:*/ uniffiHandleError,- /*isErrorType:*/ HttpError.instanceOf,- /*lowerError:*/ FfiConverterTypeHttpError.lower.bind(- FfiConverterTypeHttpError,- ),- /*lowerString:*/ FfiConverterString.lower.bind(FfiConverterString),- /*alloc:*/ nativeModule().rustbuffer_alloc,- );- return uniffiForeignFuture;- },- uniffi_free: (uniffiHandle: UniffiHandle): void => {- // this will throw a stale handle error if the handle isn't found.- FfiConverterTypeHttpClient.drop(uniffiHandle);- },- uniffi_clone: (uniffiHandle: UniffiHandle): UniffiHandle => {- return FfiConverterTypeHttpClient.clone(uniffiHandle);- },+ execute: (+ uniffiHandle: bigint,+ request: Uint8Array,+ uniffiFutureCallback: UniffiForeignFutureCompleterustBuffer,+ uniffiCallbackData: bigint) => {+ const uniffiMakeCall =+ async (signal: AbortSignal)+ : Promise<HttpResponse> => {+ const jsCallback = FfiConverterTypeHttpClient.lift(uniffiHandle);+ return await jsCallback.execute(+ FfiConverterTypeHttpRequest.lift(request), { signal }+ )+ };+ const uniffiHandleSuccess = (returnValue: HttpResponse) => {+ uniffiFutureCallback.call(+ uniffiFutureCallback,+ uniffiCallbackData,+ /* UniffiForeignFutureResultRustBuffer */{+ return_value: FfiConverterTypeHttpResponse.lower(returnValue, nativeModule().rustbuffer_alloc),+ call_status: uniffiCaller.createCallStatus()+ }+ );+ };+ const uniffiHandleError = (code: number, errorBuf: UniffiByteArray) => {+ uniffiFutureCallback.call(+ uniffiFutureCallback,+ uniffiCallbackData,+ /* UniffiForeignFutureResultRustBuffer */{+ return_value: /*empty*/ new Uint8Array(0),+ // TODO create callstatus with error.+ call_status: uniffiCaller.createErrorStatus(code, errorBuf),+ }+ );+ };+ const uniffiForeignFuture = uniffiTraitInterfaceCallAsyncWithError(+ /*makeCall:*/ uniffiMakeCall,+ /*handleSuccess:*/ uniffiHandleSuccess,+ /*handleError:*/ uniffiHandleError,+ /*isErrorType:*/ HttpError.instanceOf,+ /*lowerError:*/ FfiConverterTypeHttpError.lower.bind(FfiConverterTypeHttpError),+ /*lowerString:*/ FfiConverterString.lower.bind(FfiConverterString),+ /*alloc:*/ nativeModule().rustbuffer_alloc,+ );+ return uniffiForeignFuture;+ },+ uniffi_free: (uniffiHandle: UniffiHandle): void => {+ // this will throw a stale handle error if the handle isn't found.+ FfiConverterTypeHttpClient.drop(uniffiHandle);+ },+ uniffi_clone: (uniffiHandle: UniffiHandle): UniffiHandle => {+ return FfiConverterTypeHttpClient.clone(uniffiHandle);+ }},- register: () => {- nativeModule().ubrn_uniffi_cyclops_sdk_fn_init_callback_vtable_httpclient(- uniffiCallbackInterfaceHttpClient.vtable,- );+ register: () => {nativeModule().ubrn_uniffi_cyclops_sdk_fn_init_callback_vtable_httpclient(+ uniffiCallbackInterfaceHttpClient.vtable+ );},- };+};export interface HttpRequestBuilderLike {- body(value: ArrayBuffer): HttpRequestBuilderLike;- build() /*throws*/ : HttpRequest;- headers(value: Array<HttpHeader>): HttpRequestBuilderLike;- maxResponseBytes(value: bigint): HttpRequestBuilderLike;- method(value: string): HttpRequestBuilderLike;- timeoutSecs(value: bigint): HttpRequestBuilderLike;- url(value: string): HttpRequestBuilderLike;++ body(value: ArrayBuffer): HttpRequestBuilderLike;+ build() /*throws*/: HttpRequest;+ headers(value: Array<HttpHeader>): HttpRequestBuilderLike;+ maxResponseBytes(value: bigint): HttpRequestBuilderLike;+ method(value: string): HttpRequestBuilderLike;+ timeoutSecs(value: bigint): HttpRequestBuilderLike;+ url(value: string): HttpRequestBuilderLike;}/*** @deprecated Use `HttpRequestBuilderLike` instead.*/export type HttpRequestBuilderInterface = HttpRequestBuilderLike;-export class HttpRequestBuilder- extends UniffiAbstractObject- implements HttpRequestBuilderLike-{- readonly [uniffiTypeNameSymbol] = "HttpRequestBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_httprequestbuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- );- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeHttpRequestBuilderObjectFactory.bless(pointer);- }- body(value: ArrayBuffer): HttpRequestBuilderLike {- return FfiConverterTypeHttpRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_body(- uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),- FfiConverterArrayBuffer.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+export class HttpRequestBuilder extends UniffiAbstractObject implements HttpRequestBuilderLike {- build(): HttpRequest /*throws*/ {- return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeHttpRequest.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(- FfiConverterTypeSdkBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_build(- uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),+ readonly [uniffiTypeNameSymbol] = "HttpRequestBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_httprequestbuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeHttpRequestBuilderObjectFactory.bless(pointer);+ }- headers(value: Array<HttpHeader>): HttpRequestBuilderLike {- return FfiConverterTypeHttpRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_headers(- uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),- FfiConverterSequenceTypeHttpHeader.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- maxResponseBytes(value: bigint): HttpRequestBuilderLike {- return FfiConverterTypeHttpRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_max_response_bytes(- uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),- FfiConverterUInt64.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- method(value: string): HttpRequestBuilderLike {- return FfiConverterTypeHttpRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_method(- uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }- timeoutSecs(value: bigint): HttpRequestBuilderLike {- return FfiConverterTypeHttpRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_timeout_secs(- uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),- FfiConverterUInt64.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ body(value: ArrayBuffer): HttpRequestBuilderLike {+ return FfiConverterTypeHttpRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_body(+ uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterArrayBuffer.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- url(value: string): HttpRequestBuilderLike {- return FfiConverterTypeHttpRequestBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_url(- uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ build(): HttpRequest /*throws*/ {+ return ((__rb: Uint8Array) => {+ try {+ return FfiConverterTypeHttpRequest.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(FfiConverterTypeSdkBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_build(+ uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer = uniffiTypeHttpRequestBuilderObjectFactory.pointer(this);- uniffiTypeHttpRequestBuilderObjectFactory.freePointer(pointer);- uniffiTypeHttpRequestBuilderObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+ headers(value: Array<HttpHeader>): HttpRequestBuilderLike {+ return FfiConverterTypeHttpRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_headers(+ uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterSequenceTypeHttpHeader.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));}- }- static instanceOf(obj_: any): obj_ is HttpRequestBuilder {- return uniffiTypeHttpRequestBuilderObjectFactory.isConcreteType(obj_);- }+ maxResponseBytes(value: bigint): HttpRequestBuilderLike {+ return FfiConverterTypeHttpRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_max_response_bytes(+ uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt64.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ method(value: string): HttpRequestBuilderLike {+ return FfiConverterTypeHttpRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_method(+ uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ timeoutSecs(value: bigint): HttpRequestBuilderLike {+ return FfiConverterTypeHttpRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_timeout_secs(+ uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterUInt64.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }++ url(value: string): HttpRequestBuilderLike {+ return FfiConverterTypeHttpRequestBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_httprequestbuilder_url(+ uniffiTypeHttpRequestBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }+++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeHttpRequestBuilderObjectFactory.pointer(this);+ uniffiTypeHttpRequestBuilderObjectFactory.freePointer(pointer);+ uniffiTypeHttpRequestBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }+ }++ static instanceOf(obj_: any): obj_ is HttpRequestBuilder {+ return uniffiTypeHttpRequestBuilderObjectFactory.isConcreteType(obj_);+ }++}-const uniffiTypeHttpRequestBuilderObjectFactory: UniffiObjectFactory<HttpRequestBuilderLike> =- (() => {+const uniffiTypeHttpRequestBuilderObjectFactory: UniffiObjectFactory<HttpRequestBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeHttpRequestBuilderObjectFactory.freePointer(heldValue);- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeHttpRequestBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): HttpRequestBuilderLike {+ create(pointer: UniffiHandle): HttpRequestBuilderLike {const instance = Object.create(HttpRequestBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "HttpRequestBuilder";return instance;- },+ },- bless(p: UniffiHandle): UniffiGcObject {++ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: HttpRequestBuilderLike): UniffiHandle {+ pointer(obj_: HttpRequestBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: HttpRequestBuilderLike): UniffiHandle {+ clonePointer(obj_: HttpRequestBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_httprequestbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_httprequestbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_httprequestbuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_httprequestbuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is HttpRequestBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "HttpRequestBuilder"- );- },- };- })();-const FfiConverterTypeHttpRequestBuilder = new FfiConverterObject(- uniffiTypeHttpRequestBuilderObjectFactory,-);+ isConcreteType(obj_: any): obj_ is HttpRequestBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "HttpRequestBuilder";+ },+}})();+const FfiConverterTypeHttpRequestBuilder = new FfiConverterObject(uniffiTypeHttpRequestBuilderObjectFactory);export interface TemplateBuilderLike {- apiVersion(value: string): TemplateBuilderLike;- build() /*throws*/ : Template;- kind(value: string): TemplateBuilderLike;- metadata(value: ResourceMetadata): TemplateBuilderLike;- spec(value: OsGymSandboxTemplateSpec): TemplateBuilderLike;++ apiVersion(value: string): TemplateBuilderLike;+ build() /*throws*/: Template;+ kind(value: string): TemplateBuilderLike;+ metadata(value: ResourceMetadata): TemplateBuilderLike;+ spec(value: OsGymSandboxTemplateSpec): TemplateBuilderLike;}/*** @deprecated Use `TemplateBuilderLike` instead.*/export type TemplateBuilderInterface = TemplateBuilderLike;-export class TemplateBuilder- extends UniffiAbstractObject- implements TemplateBuilderLike-{- readonly [uniffiTypeNameSymbol] = "TemplateBuilder";- readonly [destructorGuardSymbol]: UniffiGcObject;- readonly [pointerLiteralSymbol]: UniffiHandle;- constructor() {- super();- const pointer = uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_templatebuilder_new(- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- );- this[pointerLiteralSymbol] = pointer;- this[destructorGuardSymbol] =- uniffiTypeTemplateBuilderObjectFactory.bless(pointer);- }- apiVersion(value: string): TemplateBuilderLike {- return FfiConverterTypeTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_api_version(- uniffiTypeTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),+export class TemplateBuilder extends UniffiAbstractObject implements TemplateBuilderLike {++ readonly [uniffiTypeNameSymbol] = "TemplateBuilder";+ readonly [destructorGuardSymbol]: UniffiGcObject;+ readonly [pointerLiteralSymbol]: UniffiHandle;+ constructor() {+ super();+ const pointer =+ uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_constructor_templatebuilder_new(+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),);- }+ this[pointerLiteralSymbol] = pointer;+ this[destructorGuardSymbol] = uniffiTypeTemplateBuilderObjectFactory.bless(pointer);+ }+++++ apiVersion(value: string): TemplateBuilderLike {+ return FfiConverterTypeTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_api_version(+ uniffiTypeTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- build(): Template /*throws*/ {+ build(): Template /*throws*/ {return ((__rb: Uint8Array) => {- try {- return FfiConverterTypeTemplate.lift(__rb);- } finally {- nativeModule().rustbuffer_free(__rb);- }- })(- uniffiCaller.rustCallWithError(- /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(- FfiConverterTypeSdkBuildError,- ),- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_build(- uniffiTypeTemplateBuilderObjectFactory.clonePointer(this),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ try {+ return FfiConverterTypeTemplate.lift(__rb);+ } finally {+ nativeModule().rustbuffer_free(__rb);+ }+ })(uniffiCaller.rustCallWithError(+ /*liftError:*/ FfiConverterTypeSdkBuildError.lift.bind(FfiConverterTypeSdkBuildError),+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_build(+ uniffiTypeTemplateBuilderObjectFactory.clonePointer(this),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- kind(value: string): TemplateBuilderLike {- return FfiConverterTypeTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_kind(- uniffiTypeTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ kind(value: string): TemplateBuilderLike {+ return FfiConverterTypeTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_kind(+ uniffiTypeTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterString.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- metadata(value: ResourceMetadata): TemplateBuilderLike {- return FfiConverterTypeTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_metadata(- uniffiTypeTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterTypeResourceMetadata.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ metadata(value: ResourceMetadata): TemplateBuilderLike {+ return FfiConverterTypeTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_metadata(+ uniffiTypeTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeResourceMetadata.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }- spec(value: OsGymSandboxTemplateSpec): TemplateBuilderLike {- return FfiConverterTypeTemplateBuilder.lift(- uniffiCaller.rustCall(- /*caller:*/ (callStatus) => {- return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_spec(- uniffiTypeTemplateBuilderObjectFactory.clonePointer(this),- FfiConverterTypeOSGymSandboxTemplateSpec.lower(- value,- nativeModule().rustbuffer_alloc,- ),- callStatus,- );- },- /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),- ),- );- }+ spec(value: OsGymSandboxTemplateSpec): TemplateBuilderLike {+ return FfiConverterTypeTemplateBuilder.lift(uniffiCaller.rustCall(+ /*caller:*/ (callStatus) => {+ return nativeModule().ubrn_uniffi_cyclops_sdk_fn_method_templatebuilder_spec(+ uniffiTypeTemplateBuilderObjectFactory.clonePointer(this),+ FfiConverterTypeOSGymSandboxTemplateSpec.lower(value, nativeModule().rustbuffer_alloc),+ callStatus);+ },+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ ));+ }+++ uniffiDestroy(): void {+ const ptr = (this as any)[destructorGuardSymbol];+ if (ptr !== undefined) {+ const pointer = uniffiTypeTemplateBuilderObjectFactory.pointer(this);+ uniffiTypeTemplateBuilderObjectFactory.freePointer(pointer);+ uniffiTypeTemplateBuilderObjectFactory.unbless(ptr);+ delete (this as any)[destructorGuardSymbol];+ }+ }- uniffiDestroy(): void {- const ptr = (this as any)[destructorGuardSymbol];- if (ptr !== undefined) {- const pointer = uniffiTypeTemplateBuilderObjectFactory.pointer(this);- uniffiTypeTemplateBuilderObjectFactory.freePointer(pointer);- uniffiTypeTemplateBuilderObjectFactory.unbless(ptr);- delete (this as any)[destructorGuardSymbol];+ static instanceOf(obj_: any): obj_ is TemplateBuilder {+ return uniffiTypeTemplateBuilderObjectFactory.isConcreteType(obj_);}- }- static instanceOf(obj_: any): obj_ is TemplateBuilder {- return uniffiTypeTemplateBuilderObjectFactory.isConcreteType(obj_);- }+}-const uniffiTypeTemplateBuilderObjectFactory: UniffiObjectFactory<TemplateBuilderLike> =- (() => {+const uniffiTypeTemplateBuilderObjectFactory: UniffiObjectFactory<TemplateBuilderLike> = (() => {+/// <reference lib="es2021" />- const registry =- typeof FinalizationRegistry !== "undefined"- ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {- uniffiTypeTemplateBuilderObjectFactory.freePointer(heldValue);- })- : null;+ const registry = typeof FinalizationRegistry !== 'undefined' ? new FinalizationRegistry<UniffiHandle>((heldValue: UniffiHandle) => {+ uniffiTypeTemplateBuilderObjectFactory.freePointer(heldValue);+ }) : null;return {- create(pointer: UniffiHandle): TemplateBuilderLike {+ create(pointer: UniffiHandle): TemplateBuilderLike {const instance = Object.create(TemplateBuilder.prototype);instance[pointerLiteralSymbol] = pointer;instance[destructorGuardSymbol] = this.bless(pointer);instance[uniffiTypeNameSymbol] = "TemplateBuilder";return instance;- },+ },- bless(p: UniffiHandle): UniffiGcObject {++ bless(p: UniffiHandle): UniffiGcObject {const ptr = {- p, // make sure this object doesn't get optimized away.- markDestroyed: () => undefined,+ p, // make sure this object doesn't get optimized away.+ markDestroyed: () => undefined,};if (registry) {- registry.register(ptr, p, ptr);+ registry.register(ptr, p, ptr);}return ptr;- },+ },- unbless(ptr_: UniffiGcObject) {+ unbless(ptr_: UniffiGcObject) {if (registry) {- registry.unregister(ptr_);+ registry.unregister(ptr_);}- },+ },- pointer(obj_: TemplateBuilderLike): UniffiHandle {+ pointer(obj_: TemplateBuilderLike): UniffiHandle {if ((obj_ as any)[destructorGuardSymbol] === undefined) {- throw new UniffiInternalError.UnexpectedNullPointer();+ throw new UniffiInternalError.UnexpectedNullPointer();}return (obj_ as any)[pointerLiteralSymbol];- },+ },- clonePointer(obj_: TemplateBuilderLike): UniffiHandle {+ clonePointer(obj_: TemplateBuilderLike): UniffiHandle {const pointer = this.pointer(obj_);return uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_templatebuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_clone_templatebuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- freePointer(pointer: UniffiHandle): void {+ freePointer(pointer: UniffiHandle): void {uniffiCaller.rustCall(- /*caller:*/ (callStatus) =>- nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_templatebuilder(- pointer,- callStatus,- ),- /*liftString:*/ FfiConverterString.lift,+ /*caller:*/ (callStatus) => nativeModule().ubrn_uniffi_cyclops_sdk_fn_free_templatebuilder(pointer, callStatus),+ /*liftString:*/ FfiConverterString.lift);- },+ },- isConcreteType(obj_: any): obj_ is TemplateBuilderLike {- return (- obj_[destructorGuardSymbol] &&- obj_[uniffiTypeNameSymbol] === "TemplateBuilder"- );- },- };- })();-const FfiConverterTypeTemplateBuilder = new FfiConverterObject(- uniffiTypeTemplateBuilderObjectFactory,-);+ isConcreteType(obj_: any): obj_ is TemplateBuilderLike {+ return obj_[destructorGuardSymbol] && obj_[uniffiTypeNameSymbol] === "TemplateBuilder";+ },+}})();+const FfiConverterTypeTemplateBuilder = new FfiConverterObject(uniffiTypeTemplateBuilderObjectFactory);// FfiConverter for Map<string, string>-const FfiConverterMapStringString = new FfiConverterMap(- FfiConverterString,- FfiConverterString,-);+const FfiConverterMapStringString = new FfiConverterMap(FfiConverterString, FfiConverterString);// FfiConverter for Map<string, string> | undefined-const FfiConverterOptionalMapStringString = new FfiConverterOptional(- FfiConverterMapStringString,-);+const FfiConverterOptionalMapStringString = new FfiConverterOptional(FfiConverterMapStringString);// FfiConverter for string | undefinedconst FfiConverterOptionalString = new FfiConverterOptional(FfiConverterString);// FfiConverter for OsGymSandboxClaimStatus | undefined-const FfiConverterOptionalTypeOSGymSandboxClaimStatus =- new FfiConverterOptional(FfiConverterTypeOSGymSandboxClaimStatus);+const FfiConverterOptionalTypeOSGymSandboxClaimStatus = new FfiConverterOptional(FfiConverterTypeOSGymSandboxClaimStatus);// FfiConverter for OsGymSandboxWarmPoolStatus | undefined-const FfiConverterOptionalTypeOSGymSandboxWarmPoolStatus =- new FfiConverterOptional(FfiConverterTypeOSGymSandboxWarmPoolStatus);+const FfiConverterOptionalTypeOSGymSandboxWarmPoolStatus = new FfiConverterOptional(FfiConverterTypeOSGymSandboxWarmPoolStatus);// FfiConverter for ClaimSpec | undefined-const FfiConverterOptionalTypeClaimSpec = new FfiConverterOptional(- FfiConverterTypeClaimSpec,-);+const FfiConverterOptionalTypeClaimSpec = new FfiConverterOptional(FfiConverterTypeClaimSpec);// FfiConverter for Array<string>const FfiConverterSequenceString = new FfiConverterArray(FfiConverterString);// FfiConverter for Array<HttpHeader>-const FfiConverterSequenceTypeHttpHeader = new FfiConverterArray(- FfiConverterTypeHttpHeader,-);+const FfiConverterSequenceTypeHttpHeader = new FfiConverterArray(FfiConverterTypeHttpHeader);// FfiConverter for ArrayBuffer | undefined-const FfiConverterOptionalBytes = new FfiConverterOptional(- FfiConverterArrayBuffer,-);+const FfiConverterOptionalBytes = new FfiConverterOptional(FfiConverterArrayBuffer);// FfiConverter for bigint | undefinedconst FfiConverterOptionalUInt64 = new FfiConverterOptional(FfiConverterUInt64);+// FfiConverter for PresignedPut | undefined+const FfiConverterOptionalTypePresignedPut = new FfiConverterOptional(FfiConverterTypePresignedPut);++// FfiConverter for Array<ImageUploadFileRequest>+const FfiConverterSequenceTypeImageUploadFileRequest = new FfiConverterArray(FfiConverterTypeImageUploadFileRequest);++// FfiConverter for Array<ImageUploadInstruction>+const FfiConverterSequenceTypeImageUploadInstruction = new FfiConverterArray(FfiConverterTypeImageUploadInstruction);+// FfiConverter for Array<Claim>-const FfiConverterSequenceTypeClaim = new FfiConverterArray(- FfiConverterTypeClaim,-);+const FfiConverterSequenceTypeClaim = new FfiConverterArray(FfiConverterTypeClaim);++// FfiConverter for Array<PreservedJsonLike>+const FfiConverterSequenceTypePreservedJson = new FfiConverterArray(FfiConverterTypePreservedJson);// FfiConverter for Array<Namespace>-const FfiConverterSequenceTypeNamespace = new FfiConverterArray(- FfiConverterTypeNamespace,-);+const FfiConverterSequenceTypeNamespace = new FfiConverterArray(FfiConverterTypeNamespace);// FfiConverter for Array<Pool>-const FfiConverterSequenceTypePool = new FfiConverterArray(- FfiConverterTypePool,-);+const FfiConverterSequenceTypePool = new FfiConverterArray(FfiConverterTypePool);// FfiConverter for Array<SignedServiceUrl>-const FfiConverterSequenceTypeSignedServiceUrl = new FfiConverterArray(- FfiConverterTypeSignedServiceUrl,-);+const FfiConverterSequenceTypeSignedServiceUrl = new FfiConverterArray(FfiConverterTypeSignedServiceUrl);// FfiConverter for Array<Template>-const FfiConverterSequenceTypeTemplate = new FfiConverterArray(- FfiConverterTypeTemplate,-);+const FfiConverterSequenceTypeTemplate = new FfiConverterArray(FfiConverterTypeTemplate);// FfiConverter for Array<UserApiKey>-const FfiConverterSequenceTypeUserApiKey = new FfiConverterArray(- FfiConverterTypeUserApiKey,-);+const FfiConverterSequenceTypeUserApiKey = new FfiConverterArray(FfiConverterTypeUserApiKey);+/*** This should be called before anything else.@@ -6305,733 +5464,299 @@ const FfiConverterSequenceTypeUserApiKey = new FfiConverterArray(* It also initializes the machinery to enable Rust to talk back to Javascript.*/function uniffiEnsureInitialized() {- // Get the bindings contract version from our ComponentInterface- const bindingsContractVersion = 30;- // Get the scaffolding contract version by calling the into the dylib- const scaffoldingContractVersion =- nativeModule().ubrn_ffi_cyclops_sdk_uniffi_contract_version();- if (bindingsContractVersion !== scaffoldingContractVersion) {- throw new UniffiInternalError.ContractVersionMismatch(- scaffoldingContractVersion,- bindingsContractVersion,- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_func_healthy_pool_display_status() !==- 3094- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_func_healthy_pool_display_status",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_func_pool_display_status() !==- 8587- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_func_pool_display_status",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_func_removed_pool_display_status() !==- 48761- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_func_removed_pool_display_status",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_func_terminating_pool_display_status() !==- 41320- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_func_terminating_pool_display_status",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_func_unknown_pool_display_status() !==- 39929- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_func_unknown_pool_display_status",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_accesstokenprovider_get_access_token() !==- 1180- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_accesstokenprovider_get_access_token",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_createclaimrequestbuilder_new() !==- 10967- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_createclaimrequestbuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_build() !==- 10518- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_name() !==- 19762- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_name",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_pool() !==- 7405- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_pool",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_spec() !==- 28263- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_spec",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_createpoolrequestbuilder_new() !==- 33658- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_createpoolrequestbuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_build() !==- 60558- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_namespace() !==- 18934- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_namespace",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_spec() !==- 7566- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_spec",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_createsignedserviceurlrequestbuilder_new() !==- 16004- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_createsignedserviceurlrequestbuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_build() !==- 4255- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_expires_in_seconds() !==- 30769- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_expires_in_seconds",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_label() !==- 1753- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_label",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_sandbox() !==- 1132- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_sandbox",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_service() !==- 62938- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_service",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_createtemplaterequestbuilder_new() !==- 6787- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_createtemplaterequestbuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_build() !==- 46749- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_name() !==- 38970- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_name",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_namespace() !==- 38181- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_namespace",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_spec() !==- 29902- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_spec",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_createuserapikeyrequestbuilder_new() !==- 47741- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_createuserapikeyrequestbuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_build() !==- 18677- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_name() !==- 53365- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_name",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_scope() !==- 26616- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_scope",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect() !==- 54404- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_browser_with_access_token() !==- 55589- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_browser_with_access_token",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token() !==- 10148- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_and_native_http_client() !==- 42291- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_and_native_http_client",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider() !==- 58487- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client() !==- 62005- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_native_http_client() !==- 49301- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_native_http_client",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim() !==- 23330- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace() !==- 38049- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_pool() !==- 48557- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_pool",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_signed_service_url() !==- 17810- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_signed_service_url",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_template() !==- 13689- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_template",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_user_api_key() !==- 9174- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_user_api_key",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim() !==- 20460- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace() !==- 4545- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_pool() !==- 31235- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_pool",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_template() !==- 54852- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_template",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_user_api_key() !==- 1700- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_user_api_key",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim() !==- 17760- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace() !==- 184- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_pool() !==- 49450- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_pool",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_template() !==- 8909- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_template",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims() !==- 7802- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces() !==- 65288- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_pools() !==- 27984- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_pools",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_signed_service_urls() !==- 31479- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_signed_service_urls",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_templates() !==- 58376- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_templates",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys() !==- 5949- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool() !==- 53919- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_template() !==- 36469- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_template",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_renew_claim() !==- 17505- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_renew_claim",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_revoke_signed_service_url() !==- 59989- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_revoke_signed_service_url",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_service_request() !==- 46699- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_service_request",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_pool() !==- 17695- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_pool",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_template() !==- 18704- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_template",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim() !==- 18984- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopscredentials_new() !==- 25746- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_cyclopscredentials_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopstokenproviderconfigurationbuilder_new() !==- 43069- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_cyclopstokenproviderconfigurationbuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_base_url() !==- 48016- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_base_url",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_build() !==- 28182- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms() !==- 50054- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit() !==- 7533- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms() !==- 16373- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit() !==- 6865- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httpclient_execute() !==- 33213- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_httpclient_execute",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_httprequestbuilder_new() !==- 25892- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_httprequestbuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_body() !==- 9054- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_body",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_build() !==- 14573- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_headers() !==- 19982- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_headers",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_max_response_bytes() !==- 42011- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_max_response_bytes",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_method() !==- 4078- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_method",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_timeout_secs() !==- 40941- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_timeout_secs",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_url() !==- 12282- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_url",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_templatebuilder_new() !==- 19815- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_constructor_templatebuilder_new",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_api_version() !==- 65471- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_templatebuilder_api_version",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_build() !==- 2046- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_templatebuilder_build",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_kind() !==- 14122- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_templatebuilder_kind",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_metadata() !==- 25572- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_templatebuilder_metadata",- );- }- if (- nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_spec() !==- 43128- ) {- throw new UniffiInternalError.ApiChecksumMismatch(- "uniffi_cyclops_sdk_checksum_method_templatebuilder_spec",- );- }+ // Get the bindings contract version from our ComponentInterface+ const bindingsContractVersion = 30;+ // Get the scaffolding contract version by calling the into the dylib+ const scaffoldingContractVersion = nativeModule().ubrn_ffi_cyclops_sdk_uniffi_contract_version();+ if (bindingsContractVersion !== scaffoldingContractVersion) {+ throw new UniffiInternalError.ContractVersionMismatch(scaffoldingContractVersion, bindingsContractVersion);+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_func_healthy_pool_display_status() !== 3094) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_func_healthy_pool_display_status");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_func_pool_display_status() !== 8587) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_func_pool_display_status");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_func_removed_pool_display_status() !== 48761) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_func_removed_pool_display_status");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_func_terminating_pool_display_status() !== 41320) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_func_terminating_pool_display_status");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_func_unknown_pool_display_status() !== 39929) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_func_unknown_pool_display_status");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_accesstokenprovider_get_access_token() !== 1180) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_accesstokenprovider_get_access_token");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_createclaimrequestbuilder_new() !== 10967) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_createclaimrequestbuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_build() !== 10518) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_name() !== 19762) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_name");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_pool() !== 7405) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_pool");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_spec() !== 28263) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_spec");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_createpoolrequestbuilder_new() !== 33658) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_createpoolrequestbuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_build() !== 60558) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_namespace() !== 18934) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_namespace");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_spec() !== 7566) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_spec");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_createsignedserviceurlrequestbuilder_new() !== 16004) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_createsignedserviceurlrequestbuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_build() !== 4255) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_expires_in_seconds() !== 30769) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_expires_in_seconds");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_label() !== 1753) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_label");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_sandbox() !== 1132) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_sandbox");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_service() !== 62938) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_service");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_createtemplaterequestbuilder_new() !== 6787) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_createtemplaterequestbuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_build() !== 46749) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_name() !== 38970) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_name");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_namespace() !== 38181) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_namespace");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_spec() !== 29902) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_spec");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_createuserapikeyrequestbuilder_new() !== 47741) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_createuserapikeyrequestbuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_build() !== 18677) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_name() !== 53365) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_name");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_scope() !== 26616) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_scope");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect() !== 54404) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_browser_with_access_token() !== 55589) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_browser_with_access_token");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token() !== 10148) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_and_native_http_client() !== 42291) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_and_native_http_client");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider() !== 58487) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client() !== 62005) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_native_http_client() !== 49301) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_native_http_client");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim() !== 23330) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image() !== 51053) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace() !== 38049) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_pool() !== 48557) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_pool");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_signed_service_url() !== 17810) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_signed_service_url");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_template() !== 13689) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_template");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_user_api_key() !== 9174) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_user_api_key");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim() !== 20460) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image() !== 24680) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace() !== 4545) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_pool() !== 31235) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_pool");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_template() !== 54852) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_template");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_user_api_key() !== 1700) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_user_api_key");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim() !== 17760) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image() !== 56969) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace() !== 184) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_pool() !== 49450) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_pool");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_template() !== 8909) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_template");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims() !== 7802) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images() !== 31215) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces() !== 65288) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_pools() !== 27984) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_pools");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_signed_service_urls() !== 31479) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_signed_service_urls");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_templates() !== 58376) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_templates");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys() !== 5949) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads() !== 53280) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool() !== 53919) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_template() !== 36469) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_template");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_renew_claim() !== 17505) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_renew_claim");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_revoke_signed_service_url() !== 59989) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_revoke_signed_service_url");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_service_request() !== 46699) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_service_request");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_pool() !== 17695) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_pool");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_template() !== 18704) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_template");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim() !== 18984) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopscredentials_new() !== 25746) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_cyclopscredentials_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_cyclopstokenproviderconfigurationbuilder_new() !== 43069) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_cyclopstokenproviderconfigurationbuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_base_url() !== 48016) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_base_url");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_build() !== 28182) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms() !== 50054) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit() !== 7533) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms() !== 16373) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit() !== 6865) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httpclient_execute() !== 33213) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_httpclient_execute");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_httprequestbuilder_new() !== 25892) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_httprequestbuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_body() !== 9054) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_httprequestbuilder_body");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_build() !== 14573) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_httprequestbuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_headers() !== 19982) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_httprequestbuilder_headers");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_max_response_bytes() !== 42011) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_httprequestbuilder_max_response_bytes");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_method() !== 4078) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_httprequestbuilder_method");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_timeout_secs() !== 40941) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_httprequestbuilder_timeout_secs");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_httprequestbuilder_url() !== 12282) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_httprequestbuilder_url");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_constructor_templatebuilder_new() !== 19815) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_constructor_templatebuilder_new");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_api_version() !== 65471) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_templatebuilder_api_version");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_build() !== 2046) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_templatebuilder_build");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_kind() !== 14122) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_templatebuilder_kind");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_metadata() !== 25572) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_templatebuilder_metadata");+ }+ if (nativeModule().ubrn_uniffi_cyclops_sdk_checksum_method_templatebuilder_spec() !== 43128) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_templatebuilder_spec");+ }- uniffiCallbackInterfaceAccessTokenProvider.register();- uniffiCallbackInterfaceHttpClient.register();-}+ uniffiCallbackInterfaceAccessTokenProvider.register();+ uniffiCallbackInterfaceHttpClient.register();+ }export default Object.freeze({initialize: uniffiEnsureInitialized,@@ -7060,11 +5785,16 @@ export default Object.freeze({FfiConverterTypeHttpRequest,FfiConverterTypeHttpRequestBuilder,FfiConverterTypeHttpResponse,+ FfiConverterTypeImageUploadFileRequest,+ FfiConverterTypeImageUploadInstruction,+ FfiConverterTypeImageUploadRequest,+ FfiConverterTypeImageUploadResponse,FfiConverterTypeNamespace,FfiConverterTypeNewUserApiKey,FfiConverterTypePool,FfiConverterTypePoolDisplayStatus,FfiConverterTypePoolDisplayStatusKind,+ FfiConverterTypePresignedPut,FfiConverterTypeResourceMetadata,FfiConverterTypeSandbox,FfiConverterTypeSdkBuildError,@@ -7073,5 +5803,5 @@ export default Object.freeze({FfiConverterTypeTemplate,FfiConverterTypeTemplateBuilder,FfiConverterTypeUserApiKey,- },+ }});diff --git a/libs/fleet/sdk-bindings/ts-uniffi/.cyclops-sdk-generated-files b/libs/fleet/sdk-bindings/ts-uniffi/.cyclops-sdk-generated-filesnew file mode 100644index 0000000000..0d09a52c0f--- /dev/null+++ b/libs/fleet/sdk-bindings/ts-uniffi/.cyclops-sdk-generated-files@@ -0,0 +1,5 @@+f cyclops_sdk_schema-ffi.ts+f cyclops_sdk_schema.ts+f fleet_sdk-ffi.ts+f fleet_sdk.ts+f index.tsdiff --git a/libs/fleet/sdk-bindings/ts-uniffi/README.md b/libs/fleet/sdk-bindings/ts-uniffi/README.mdindex c17c522f8c..69346e0fe6 100644--- a/libs/fleet/sdk-bindings/ts-uniffi/README.md+++ b/libs/fleet/sdk-bindings/ts-uniffi/README.md@@ -1,13 +1,10 @@# Cyclops TypeScript UniFFI bindings-Generated with `uniffi-bindgen-react-native` for Node.js N-API. The checked-in-Node.js and browser/WASM snapshots are outside-`scripts/generate-sdk-bindings.sh`; they currently expose direct record-factories, not the newer `UniffiBuilder` objects present in Rust metadata.-Browser packaging runs UBRN generation at build time, but the resulting builder-surface is not committed, drift-checked, or contract-tested. Regenerating where-applicable and validating these separate runtime and packaging pipelines is-required before builders can be advertised for either TypeScript target.+Generated by `scripts/generate-sdk-bindings.sh` using the pinned+`uniffi-bindgen-react-native`. Node.js retains direct record factories through+the existing compatibility normalizer; Browser/WASM retains its builder API.+Both roots participate in canonical `--check`. Runtime packaging remains a+separate validation step; do not edit generated files.Runtime requires `@ubjs/core`, `@ubjs/node`, and a colocated`libcyclops_sdk` cdylib. Browser source is generated indiff --git a/libs/fleet/sdk-bindings/ts-uniffi/cyclops_sdk_schema-ffi.ts b/libs/fleet/sdk-bindings/ts-uniffi/cyclops_sdk_schema-ffi.tsindex 528d2607cf..a07a76a194 100644--- a/libs/fleet/sdk-bindings/ts-uniffi/cyclops_sdk_schema-ffi.ts+++ b/libs/fleet/sdk-bindings/ts-uniffi/cyclops_sdk_schema-ffi.ts@@ -263,6 +263,26 @@ const DEFINITIONS = {ret: FfiType.Void,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxtemplatespecbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_free_osgymsandboxtemplatespecbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxwarmpoolspecbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_free_osgymsandboxwarmpoolspecbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },"uniffi_cyclops_sdk_schema_fn_clone_preservedjson": {args: [FfiType.Handle],ret: FfiType.Handle,@@ -273,6 +293,91 @@ const DEFINITIONS = {ret: FfiType.Void,hasRustCallStatus: true,},+ "uniffi_cyclops_sdk_schema_fn_clone_sandboxservicebuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_free_sandboxservicebuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_clone_sandboxtemplaterefbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_free_sandboxtemplaterefbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_clone_vmtemplatebuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_free_vmtemplatebuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_clone_warmpoolautoscalingbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_free_warmpoolautoscalingbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxtemplatespecbuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_vm_template": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxwarmpoolspecbuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_autoscaling": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_replicas": {+ args: [FfiType.Handle, FfiType.UInt32],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created": {+ args: [FfiType.Handle, FfiType.UInt32],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },"uniffi_cyclops_sdk_schema_fn_constructor_preservedjson_from_json": {args: [FfiType.RustBuffer],ret: FfiType.Handle,@@ -283,11 +388,206 @@ const DEFINITIONS = {ret: FfiType.RustBuffer,hasRustCallStatus: true,},+ "uniffi_cyclops_sdk_schema_fn_constructor_sandboxservicebuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_name": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_protocol": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_target_port": {+ args: [FfiType.Handle, FfiType.UInt16],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_constructor_sandboxtemplaterefbuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_name": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_constructor_vmtemplatebuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_command": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_container_disk_image": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_cpu_cores": {+ args: [FfiType.Handle, FfiType.UInt32],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_firmware": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_policy": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_secret": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_memory": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_nested_virtualization": {+ args: [FfiType.Handle, FfiType.Int8],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_node_selector": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_oidc": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_probes": {+ args: [FfiType.Handle, FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime_class_name": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_services": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_tolerations": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_constructor_warmpoolautoscalingbuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_initial_pool_size": {+ args: [FfiType.Handle, FfiType.UInt32],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_max_pool_size": {+ args: [FfiType.Handle, FfiType.UInt32],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_min_pool_size": {+ args: [FfiType.Handle, FfiType.UInt32],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },"ffi_cyclops_sdk_schema_uniffi_contract_version": {args: [],ret: FfiType.UInt32,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxtemplatespecbuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_vm_template": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxwarmpoolspecbuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_autoscaling": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_replicas": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },"uniffi_cyclops_sdk_schema_checksum_constructor_preservedjson_from_json": {args: [],ret: FfiType.UInt16,@@ -298,6 +598,156 @@ const DEFINITIONS = {ret: FfiType.UInt16,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_schema_checksum_constructor_sandboxservicebuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_name": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_protocol": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_target_port": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_constructor_sandboxtemplaterefbuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_name": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_constructor_vmtemplatebuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_command": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_container_disk_image": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_cpu_cores": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_firmware": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_policy": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_secret": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_memory": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_nested_virtualization": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_node_selector": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_oidc": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_probes": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime_class_name": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_services": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_tolerations": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_constructor_warmpoolautoscalingbuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_initial_pool_size": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_max_pool_size": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_min_pool_size": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },},callbacks: {"RustFutureContinuationCallback": {@@ -368,13 +818,103 @@ interface NativeModuleInterface {ffi_cyclops_sdk_schema_rust_future_cancel_void(handle: bigint): void;ffi_cyclops_sdk_schema_rust_future_complete_void(handle: bigint, uniffi_out_err: UniffiRustCallStatus): void;ffi_cyclops_sdk_schema_rust_future_free_void(handle: bigint): void;+ uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxtemplatespecbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_free_osgymsandboxtemplatespecbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_schema_fn_clone_osgymsandboxwarmpoolspecbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_free_osgymsandboxwarmpoolspecbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;uniffi_cyclops_sdk_schema_fn_clone_preservedjson(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;uniffi_cyclops_sdk_schema_fn_free_preservedjson(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_schema_fn_clone_sandboxservicebuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_free_sandboxservicebuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_schema_fn_clone_sandboxtemplaterefbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_free_sandboxtemplaterefbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_schema_fn_clone_vmtemplatebuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_free_vmtemplatebuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_schema_fn_clone_warmpoolautoscalingbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_free_warmpoolautoscalingbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxtemplatespecbuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxtemplatespecbuilder_vm_template(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_constructor_osgymsandboxwarmpoolspecbuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_autoscaling(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_replicas(uniffiSelf: bigint, value: number, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created(uniffiSelf: bigint, value: number, uniffi_out_err: UniffiRustCallStatus): bigint;uniffi_cyclops_sdk_schema_fn_constructor_preservedjson_from_json(value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;uniffi_cyclops_sdk_schema_fn_method_preservedjson_to_json(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_schema_fn_constructor_sandboxservicebuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_name(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_protocol(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_sandboxservicebuilder_target_port(uniffiSelf: bigint, value: number, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_constructor_sandboxtemplaterefbuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_schema_fn_method_sandboxtemplaterefbuilder_name(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_constructor_vmtemplatebuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_command(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_container_disk_image(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_cpu_cores(uniffiSelf: bigint, value: number, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_firmware(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_policy(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_image_pull_secret(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_memory(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_nested_virtualization(uniffiSelf: bigint, value: number, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_node_selector(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_oidc(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_probes(uniffiSelf: bigint, value: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_runtime_class_name(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_services(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_vmtemplatebuilder_tolerations(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_constructor_warmpoolautoscalingbuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_initial_pool_size(uniffiSelf: bigint, value: number, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_max_pool_size(uniffiSelf: bigint, value: number, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_schema_fn_method_warmpoolautoscalingbuilder_min_pool_size(uniffiSelf: bigint, value: number, uniffi_out_err: UniffiRustCallStatus): bigint;ffi_cyclops_sdk_schema_uniffi_contract_version(): number;+ uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxtemplatespecbuilder_new(): number;+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_build(): number;+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxtemplatespecbuilder_vm_template(): number;+ uniffi_cyclops_sdk_schema_checksum_constructor_osgymsandboxwarmpoolspecbuilder_new(): number;+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_autoscaling(): number;+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_build(): number;+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_replicas(): number;+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_sandbox_template_ref(): number;+ uniffi_cyclops_sdk_schema_checksum_method_osgymsandboxwarmpoolspecbuilder_ttl_seconds_after_created(): number;uniffi_cyclops_sdk_schema_checksum_constructor_preservedjson_from_json(): number;uniffi_cyclops_sdk_schema_checksum_method_preservedjson_to_json(): number;+ uniffi_cyclops_sdk_schema_checksum_constructor_sandboxservicebuilder_new(): number;+ uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_build(): number;+ uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_name(): number;+ uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_protocol(): number;+ uniffi_cyclops_sdk_schema_checksum_method_sandboxservicebuilder_target_port(): number;+ uniffi_cyclops_sdk_schema_checksum_constructor_sandboxtemplaterefbuilder_new(): number;+ uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_build(): number;+ uniffi_cyclops_sdk_schema_checksum_method_sandboxtemplaterefbuilder_name(): number;+ uniffi_cyclops_sdk_schema_checksum_constructor_vmtemplatebuilder_new(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_build(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_command(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_container_disk_image(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_cpu_cores(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_firmware(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_policy(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_image_pull_secret(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_memory(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_nested_virtualization(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_node_selector(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_oidc(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_probes(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_runtime_class_name(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_services(): number;+ uniffi_cyclops_sdk_schema_checksum_method_vmtemplatebuilder_tolerations(): number;+ uniffi_cyclops_sdk_schema_checksum_constructor_warmpoolautoscalingbuilder_new(): number;+ uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_build(): number;+ uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_initial_pool_size(): number;+ uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_max_pool_size(): number;+ uniffi_cyclops_sdk_schema_checksum_method_warmpoolautoscalingbuilder_min_pool_size(): number;// Codegen call sites use these via `nativeModule().rustbuffer_alloc(...)`// and `nativeModule().rustbuffer_free(...)`. The runtime's registered// module exposes them as method properties.@@ -402,4 +942,4 @@ export type UniffiForeignFutureDroppedCallback = (handle: bigint) => void;export type UniffiForeignFutureDroppedCallbackStruct = {handle: bigint;free: UniffiForeignFutureDroppedCallback;-};\ No newline at end of file+};diff --git a/libs/fleet/sdk-bindings/ts-uniffi/fleet_sdk-ffi.ts b/libs/fleet/sdk-bindings/ts-uniffi/fleet_sdk-ffi.tsindex cbbd34335b..3fdc1a9325 100644--- a/libs/fleet/sdk-bindings/ts-uniffi/fleet_sdk-ffi.ts+++ b/libs/fleet/sdk-bindings/ts-uniffi/fleet_sdk-ffi.ts@@ -273,6 +273,56 @@ const DEFINITIONS = {ret: FfiType.Void,hasRustCallStatus: true,},+ "uniffi_cyclops_sdk_fn_clone_createclaimrequestbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_free_createclaimrequestbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_clone_createpoolrequestbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_free_createpoolrequestbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_clone_createsignedserviceurlrequestbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_free_createsignedserviceurlrequestbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_clone_createtemplaterequestbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_free_createtemplaterequestbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_clone_createuserapikeyrequestbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_free_createuserapikeyrequestbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },"uniffi_cyclops_sdk_fn_clone_cyclopsclient": {args: [FfiType.Handle],ret: FfiType.Handle,@@ -293,6 +343,16 @@ const DEFINITIONS = {ret: FfiType.Void,hasRustCallStatus: true,},+ "uniffi_cyclops_sdk_fn_clone_cyclopstokenproviderconfigurationbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_free_cyclopstokenproviderconfigurationbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },"uniffi_cyclops_sdk_fn_clone_httpclient": {args: [FfiType.Handle],ret: FfiType.Handle,@@ -303,6 +363,26 @@ const DEFINITIONS = {ret: FfiType.Void,hasRustCallStatus: true,},+ "uniffi_cyclops_sdk_fn_clone_httprequestbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_free_httprequestbuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_clone_templatebuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_free_templatebuilder": {+ args: [FfiType.Handle],+ ret: FfiType.Void,+ hasRustCallStatus: true,+ },"uniffi_cyclops_sdk_fn_init_callback_vtable_accesstokenprovider": {args: [FfiType.Reference(FfiType.Struct("VTableCallbackInterfaceFleetSdkAccessTokenProvider"))],ret: FfiType.Void,@@ -343,6 +423,126 @@ const DEFINITIONS = {ret: FfiType.Handle,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_fn_constructor_createclaimrequestbuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_name": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_pool": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_spec": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_constructor_createpoolrequestbuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_namespace": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_spec": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_constructor_createsignedserviceurlrequestbuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_expires_in_seconds": {+ args: [FfiType.Handle, FfiType.UInt32],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_label": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_sandbox": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_service": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_constructor_createtemplaterequestbuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_name": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_namespace": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_spec": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_constructor_createuserapikeyrequestbuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_name": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_scope": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },"uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect": {args: [FfiType.RustBuffer, FfiType.Handle],ret: FfiType.Handle,@@ -383,6 +583,11 @@ const DEFINITIONS = {ret: FfiType.Handle,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image": {+ args: [FfiType.Handle, FfiType.RustBuffer, FfiType.Handle],+ ret: FfiType.Handle,+ hasRustCallStatus: false,+ },"uniffi_cyclops_sdk_fn_method_cyclopsclient_create_namespace": {args: [FfiType.Handle, FfiType.RustBuffer],ret: FfiType.Handle,@@ -413,6 +618,11 @@ const DEFINITIONS = {ret: FfiType.Handle,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image": {+ args: [FfiType.Handle, FfiType.RustBuffer, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: false,+ },"uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_namespace": {args: [FfiType.Handle, FfiType.RustBuffer],ret: FfiType.Handle,@@ -438,6 +648,11 @@ const DEFINITIONS = {ret: FfiType.Handle,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image": {+ args: [FfiType.Handle, FfiType.RustBuffer, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: false,+ },"uniffi_cyclops_sdk_fn_method_cyclopsclient_get_namespace": {args: [FfiType.Handle, FfiType.RustBuffer],ret: FfiType.Handle,@@ -458,6 +673,11 @@ const DEFINITIONS = {ret: FfiType.Handle,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: false,+ },"uniffi_cyclops_sdk_fn_method_cyclopsclient_list_namespaces": {args: [FfiType.Handle],ret: FfiType.Handle,@@ -483,6 +703,11 @@ const DEFINITIONS = {ret: FfiType.Handle,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: false,+ },"uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_pool": {args: [FfiType.Handle, FfiType.RustBuffer],ret: FfiType.Handle,@@ -528,11 +753,116 @@ const DEFINITIONS = {ret: FfiType.Handle,hasRustCallStatus: true,},+ "uniffi_cyclops_sdk_fn_constructor_cyclopstokenproviderconfigurationbuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_base_url": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms": {+ args: [FfiType.Handle, FfiType.UInt64],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit": {+ args: [FfiType.Handle, FfiType.UInt32],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms": {+ args: [FfiType.Handle, FfiType.UInt64],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit": {+ args: [FfiType.Handle, FfiType.UInt32],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },"uniffi_cyclops_sdk_fn_method_httpclient_execute": {args: [FfiType.Handle, FfiType.RustBuffer],ret: FfiType.Handle,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_fn_constructor_httprequestbuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_httprequestbuilder_body": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_httprequestbuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_httprequestbuilder_headers": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_httprequestbuilder_max_response_bytes": {+ args: [FfiType.Handle, FfiType.UInt64],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_httprequestbuilder_method": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_httprequestbuilder_timeout_secs": {+ args: [FfiType.Handle, FfiType.UInt64],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_httprequestbuilder_url": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_constructor_templatebuilder_new": {+ args: [],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_templatebuilder_api_version": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_templatebuilder_build": {+ args: [FfiType.Handle],+ ret: FfiType.RustBuffer,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_templatebuilder_kind": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_templatebuilder_metadata": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },+ "uniffi_cyclops_sdk_fn_method_templatebuilder_spec": {+ args: [FfiType.Handle, FfiType.RustBuffer],+ ret: FfiType.Handle,+ hasRustCallStatus: true,+ },"ffi_cyclops_sdk_uniffi_contract_version": {args: [],ret: FfiType.UInt32,@@ -568,6 +898,126 @@ const DEFINITIONS = {ret: FfiType.UInt16,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_checksum_constructor_createclaimrequestbuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_name": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_pool": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_spec": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_constructor_createpoolrequestbuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_namespace": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_spec": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_constructor_createsignedserviceurlrequestbuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_expires_in_seconds": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_label": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_sandbox": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_service": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_constructor_createtemplaterequestbuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_name": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_namespace": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_spec": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_constructor_createuserapikeyrequestbuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_name": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_scope": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },"uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect": {args: [],ret: FfiType.UInt16,@@ -608,6 +1058,11 @@ const DEFINITIONS = {ret: FfiType.UInt16,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },"uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace": {args: [],ret: FfiType.UInt16,@@ -638,6 +1093,11 @@ const DEFINITIONS = {ret: FfiType.UInt16,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },"uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace": {args: [],ret: FfiType.UInt16,@@ -663,6 +1123,11 @@ const DEFINITIONS = {ret: FfiType.UInt16,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },"uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace": {args: [],ret: FfiType.UInt16,@@ -683,6 +1148,11 @@ const DEFINITIONS = {ret: FfiType.UInt16,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },"uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces": {args: [],ret: FfiType.UInt16,@@ -708,6 +1178,11 @@ const DEFINITIONS = {ret: FfiType.UInt16,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },"uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool": {args: [],ret: FfiType.UInt16,@@ -753,11 +1228,116 @@ const DEFINITIONS = {ret: FfiType.UInt16,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_checksum_constructor_cyclopstokenproviderconfigurationbuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_base_url": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },"uniffi_cyclops_sdk_checksum_method_httpclient_execute": {args: [],ret: FfiType.UInt16,hasRustCallStatus: false,},+ "uniffi_cyclops_sdk_checksum_constructor_httprequestbuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_body": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_headers": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_max_response_bytes": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_method": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_timeout_secs": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_httprequestbuilder_url": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_constructor_templatebuilder_new": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_templatebuilder_api_version": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_templatebuilder_build": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_templatebuilder_kind": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_templatebuilder_metadata": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },+ "uniffi_cyclops_sdk_checksum_method_templatebuilder_spec": {+ args: [],+ ret: FfiType.UInt16,+ hasRustCallStatus: false,+ },},callbacks: {"RustFutureContinuationCallback": {@@ -881,12 +1461,28 @@ interface NativeModuleInterface {ffi_cyclops_sdk_rust_future_free_void(handle: bigint): void;uniffi_cyclops_sdk_fn_clone_accesstokenprovider(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;uniffi_cyclops_sdk_fn_free_accesstokenprovider(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_fn_clone_createclaimrequestbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_free_createclaimrequestbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_fn_clone_createpoolrequestbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_free_createpoolrequestbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_fn_clone_createsignedserviceurlrequestbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_free_createsignedserviceurlrequestbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_fn_clone_createtemplaterequestbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_free_createtemplaterequestbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_fn_clone_createuserapikeyrequestbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_free_createuserapikeyrequestbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;uniffi_cyclops_sdk_fn_clone_cyclopsclient(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;uniffi_cyclops_sdk_fn_free_cyclopsclient(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;uniffi_cyclops_sdk_fn_clone_cyclopscredentials(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;uniffi_cyclops_sdk_fn_free_cyclopscredentials(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_fn_clone_cyclopstokenproviderconfigurationbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_free_cyclopstokenproviderconfigurationbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;uniffi_cyclops_sdk_fn_clone_httpclient(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;uniffi_cyclops_sdk_fn_free_httpclient(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_fn_clone_httprequestbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_free_httprequestbuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;+ uniffi_cyclops_sdk_fn_clone_templatebuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_free_templatebuilder(ptr: bigint, uniffi_out_err: UniffiRustCallStatus): void;uniffi_cyclops_sdk_fn_init_callback_vtable_accesstokenprovider(vtable: UniffiVTableCallbackInterfaceFleetSdkAccessTokenProvider): void;uniffi_cyclops_sdk_fn_init_callback_vtable_httpclient(vtable: UniffiVTableCallbackInterfaceFleetSdkHttpClient): void;uniffi_cyclops_sdk_fn_func_healthy_pool_display_status(uniffi_out_err: UniffiRustCallStatus): Uint8Array;@@ -895,6 +1491,30 @@ interface NativeModuleInterface {uniffi_cyclops_sdk_fn_func_terminating_pool_display_status(uniffi_out_err: UniffiRustCallStatus): Uint8Array;uniffi_cyclops_sdk_fn_func_unknown_pool_display_status(uniffi_out_err: UniffiRustCallStatus): Uint8Array;uniffi_cyclops_sdk_fn_method_accesstokenprovider_get_access_token(uniffiSelf: bigint, forceRefresh: number): bigint;+ uniffi_cyclops_sdk_fn_constructor_createclaimrequestbuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_name(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_pool(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createclaimrequestbuilder_spec(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_constructor_createpoolrequestbuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_namespace(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createpoolrequestbuilder_spec(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_constructor_createsignedserviceurlrequestbuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_expires_in_seconds(uniffiSelf: bigint, value: number, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_label(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_sandbox(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createsignedserviceurlrequestbuilder_service(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_constructor_createtemplaterequestbuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_name(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_namespace(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createtemplaterequestbuilder_spec(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_constructor_createuserapikeyrequestbuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_name(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_createuserapikeyrequestbuilder_scope(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect(configuration: Uint8Array, httpClient: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_browser_with_access_token(configuration: Uint8Array, accessToken: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token(configuration: Uint8Array, accessToken: Uint8Array, httpClient: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;@@ -903,26 +1523,31 @@ interface NativeModuleInterface {uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client(configuration: Uint8Array, tokenProvider: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;uniffi_cyclops_sdk_fn_constructor_cyclopsclient_connect_with_native_http_client(configuration: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_create_claim(uniffiSelf: bigint, request: Uint8Array): bigint;+ uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(uniffiSelf: bigint, namespace: Uint8Array, manifest: bigint): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_create_namespace(uniffiSelf: bigint, name: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_create_pool(uniffiSelf: bigint, request: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_create_signed_service_url(uniffiSelf: bigint, request: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_create_template(uniffiSelf: bigint, request: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_create_user_api_key(uniffiSelf: bigint, request: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_claim(uniffiSelf: bigint, claim: Uint8Array): bigint;+ uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(uniffiSelf: bigint, namespace: Uint8Array, name: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_namespace(uniffiSelf: bigint, name: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_pool(uniffiSelf: bigint, pool: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_template(uniffiSelf: bigint, template: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_user_api_key(uniffiSelf: bigint, id: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_get_claim(uniffiSelf: bigint, claim: Uint8Array): bigint;+ uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(uniffiSelf: bigint, namespace: Uint8Array, name: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_get_namespace(uniffiSelf: bigint, name: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_get_pool(uniffiSelf: bigint, name: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_get_template(uniffiSelf: bigint, namespace: Uint8Array, name: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_list_claims(uniffiSelf: bigint, namespace: Uint8Array): bigint;+ uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(uniffiSelf: bigint, namespace: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_list_namespaces(uniffiSelf: bigint): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_list_pools(uniffiSelf: bigint, namespace: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_list_signed_service_urls(uniffiSelf: bigint, sandbox: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_list_templates(uniffiSelf: bigint, namespace: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_list_user_api_keys(uniffiSelf: bigint): bigint;+ uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(uniffiSelf: bigint, request: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_pool(uniffiSelf: bigint, request: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_reconcile_template(uniffiSelf: bigint, request: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_renew_claim(uniffiSelf: bigint, claim: Uint8Array, shutdownTime: Uint8Array): bigint;@@ -932,7 +1557,28 @@ interface NativeModuleInterface {uniffi_cyclops_sdk_fn_method_cyclopsclient_update_template(uniffiSelf: bigint, template: Uint8Array): bigint;uniffi_cyclops_sdk_fn_method_cyclopsclient_wait_claim(uniffiSelf: bigint, claim: Uint8Array): bigint;uniffi_cyclops_sdk_fn_constructor_cyclopscredentials_new(clientId: Uint8Array, clientSecret: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_constructor_cyclopstokenproviderconfigurationbuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_base_url(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms(uniffiSelf: bigint, value: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit(uniffiSelf: bigint, value: number, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms(uniffiSelf: bigint, value: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit(uniffiSelf: bigint, value: number, uniffi_out_err: UniffiRustCallStatus): bigint;uniffi_cyclops_sdk_fn_method_httpclient_execute(uniffiSelf: bigint, request: Uint8Array): bigint;+ uniffi_cyclops_sdk_fn_constructor_httprequestbuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_body(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_headers(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_max_response_bytes(uniffiSelf: bigint, value: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_method(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_timeout_secs(uniffiSelf: bigint, value: bigint, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_httprequestbuilder_url(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_constructor_templatebuilder_new(uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_templatebuilder_api_version(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_templatebuilder_build(uniffiSelf: bigint, uniffi_out_err: UniffiRustCallStatus): Uint8Array;+ uniffi_cyclops_sdk_fn_method_templatebuilder_kind(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_templatebuilder_metadata(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;+ uniffi_cyclops_sdk_fn_method_templatebuilder_spec(uniffiSelf: bigint, value: Uint8Array, uniffi_out_err: UniffiRustCallStatus): bigint;ffi_cyclops_sdk_uniffi_contract_version(): number;uniffi_cyclops_sdk_checksum_func_healthy_pool_display_status(): number;uniffi_cyclops_sdk_checksum_func_pool_display_status(): number;@@ -940,6 +1586,30 @@ interface NativeModuleInterface {uniffi_cyclops_sdk_checksum_func_terminating_pool_display_status(): number;uniffi_cyclops_sdk_checksum_func_unknown_pool_display_status(): number;uniffi_cyclops_sdk_checksum_method_accesstokenprovider_get_access_token(): number;+ uniffi_cyclops_sdk_checksum_constructor_createclaimrequestbuilder_new(): number;+ uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_build(): number;+ uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_name(): number;+ uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_pool(): number;+ uniffi_cyclops_sdk_checksum_method_createclaimrequestbuilder_spec(): number;+ uniffi_cyclops_sdk_checksum_constructor_createpoolrequestbuilder_new(): number;+ uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_build(): number;+ uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_namespace(): number;+ uniffi_cyclops_sdk_checksum_method_createpoolrequestbuilder_spec(): number;+ uniffi_cyclops_sdk_checksum_constructor_createsignedserviceurlrequestbuilder_new(): number;+ uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_build(): number;+ uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_expires_in_seconds(): number;+ uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_label(): number;+ uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_sandbox(): number;+ uniffi_cyclops_sdk_checksum_method_createsignedserviceurlrequestbuilder_service(): number;+ uniffi_cyclops_sdk_checksum_constructor_createtemplaterequestbuilder_new(): number;+ uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_build(): number;+ uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_name(): number;+ uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_namespace(): number;+ uniffi_cyclops_sdk_checksum_method_createtemplaterequestbuilder_spec(): number;+ uniffi_cyclops_sdk_checksum_constructor_createuserapikeyrequestbuilder_new(): number;+ uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_build(): number;+ uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_name(): number;+ uniffi_cyclops_sdk_checksum_method_createuserapikeyrequestbuilder_scope(): number;uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect(): number;uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_browser_with_access_token(): number;uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token(): number;@@ -948,26 +1618,31 @@ interface NativeModuleInterface {uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_access_token_provider_and_native_http_client(): number;uniffi_cyclops_sdk_checksum_constructor_cyclopsclient_connect_with_native_http_client(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim(): number;+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_pool(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_signed_service_url(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_template(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_user_api_key(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim(): number;+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_pool(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_template(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_user_api_key(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim(): number;+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_pool(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_template(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims(): number;+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_pools(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_signed_service_urls(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_templates(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys(): number;+ uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_template(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_renew_claim(): number;@@ -977,7 +1652,28 @@ interface NativeModuleInterface {uniffi_cyclops_sdk_checksum_method_cyclopsclient_update_template(): number;uniffi_cyclops_sdk_checksum_method_cyclopsclient_wait_claim(): number;uniffi_cyclops_sdk_checksum_constructor_cyclopscredentials_new(): number;+ uniffi_cyclops_sdk_checksum_constructor_cyclopstokenproviderconfigurationbuilder_new(): number;+ uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_base_url(): number;+ uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_build(): number;+ uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_interval_ms(): number;+ uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_claim_poll_limit(): number;+ uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_interval_ms(): number;+ uniffi_cyclops_sdk_checksum_method_cyclopstokenproviderconfigurationbuilder_pool_poll_limit(): number;uniffi_cyclops_sdk_checksum_method_httpclient_execute(): number;+ uniffi_cyclops_sdk_checksum_constructor_httprequestbuilder_new(): number;+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_body(): number;+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_build(): number;+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_headers(): number;+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_max_response_bytes(): number;+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_method(): number;+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_timeout_secs(): number;+ uniffi_cyclops_sdk_checksum_method_httprequestbuilder_url(): number;+ uniffi_cyclops_sdk_checksum_constructor_templatebuilder_new(): number;+ uniffi_cyclops_sdk_checksum_method_templatebuilder_api_version(): number;+ uniffi_cyclops_sdk_checksum_method_templatebuilder_build(): number;+ uniffi_cyclops_sdk_checksum_method_templatebuilder_kind(): number;+ uniffi_cyclops_sdk_checksum_method_templatebuilder_metadata(): number;+ uniffi_cyclops_sdk_checksum_method_templatebuilder_spec(): number;// Codegen call sites use these via `nativeModule().rustbuffer_alloc(...)`// and `nativeModule().rustbuffer_free(...)`. The runtime's registered// module exposes them as method properties.@@ -1026,4 +1722,4 @@ export type UniffiVTableCallbackInterfaceFleetSdkHttpClient = {uniffi_free: UniffiCallbackInterfaceFreeFleetSdkHttpClient;uniffi_clone: UniffiCallbackInterfaceCloneFleetSdkHttpClient;execute: UniffiCallbackInterfaceFleetSdkHttpClientMethod0;-};\ No newline at end of file+};diff --git a/libs/fleet/sdk-bindings/ts-uniffi/fleet_sdk.ts b/libs/fleet/sdk-bindings/ts-uniffi/fleet_sdk.tsindex 9168faa06f..affaaf5040 100644--- a/libs/fleet/sdk-bindings/ts-uniffi/fleet_sdk.ts+++ b/libs/fleet/sdk-bindings/ts-uniffi/fleet_sdk.ts@@ -6,12 +6,12 @@import nativeModule from "./fleet_sdk-ffi";import { type UniffiRustFutureContinuationCallback, type UniffiForeignFutureDroppedCallback, type UniffiForeignFutureDroppedCallbackStruct, type UniffiForeignFutureResultRustBuffer, type UniffiForeignFutureCompleterustBuffer, type UniffiVTableCallbackInterfaceFleetSdkAccessTokenProvider, type UniffiVTableCallbackInterfaceFleetSdkHttpClient,} from "./fleet_sdk-ffi";-import { type ClaimSpec, type OsGymSandboxClaimStatus, type OsGymSandboxTemplateSpec, type OsGymSandboxWarmPoolSpec, type OsGymSandboxWarmPoolStatus,+import { type ClaimSpec, type OsGymSandboxClaimStatus, type OsGymSandboxTemplateSpec, type OsGymSandboxWarmPoolSpec, type OsGymSandboxWarmPoolStatus, type PreservedJsonLike,} from "./cyclops_sdk_schema";import { type FfiConverter, type UniffiByteArray, type UniffiGcObject, type UniffiHandle, type UniffiObjectFactory, type UniffiReferenceHolder, type UniffiRustCallStatus, AbstractFfiConverterByteArray, FfiConverterArray, FfiConverterArrayBuffer, FfiConverterBool, FfiConverterInt32, FfiConverterMap, FfiConverterObject, FfiConverterObjectWithCallbacks, FfiConverterOptional, FfiConverterUInt16, FfiConverterUInt32, FfiConverterUInt64, FfiConverterUInt8, RustBuffer, UniffiAbstractObject, UniffiEnum, UniffiError, UniffiInternalError, UniffiResult, UniffiRustCaller, destructorGuardSymbol, pointerLiteralSymbol, uniffiCreateFfiConverterString, uniffiCreateRecord, uniffiRustCallAsync, uniffiTraitInterfaceCallAsyncWithError, uniffiTypeNameSymbol, variantOrdinalSymbol,} from "@ubjs/core";import uniffiCyclopsSdkSchemaModule from "./cyclops_sdk_schema";-const { FfiConverterTypeClaimSpec, FfiConverterTypeOSGymSandboxClaimStatus, FfiConverterTypeOSGymSandboxTemplateSpec, FfiConverterTypeOSGymSandboxWarmPoolSpec, FfiConverterTypeOSGymSandboxWarmPoolStatus } = uniffiCyclopsSdkSchemaModule.converters;+const { FfiConverterTypeClaimSpec, FfiConverterTypeOSGymSandboxClaimStatus, FfiConverterTypeOSGymSandboxTemplateSpec, FfiConverterTypeOSGymSandboxWarmPoolSpec, FfiConverterTypeOSGymSandboxWarmPoolStatus, FfiConverterTypePreservedJson } = uniffiCyclopsSdkSchemaModule.converters;const uniffiCaller = new UniffiRustCaller(() => ({ code: 0 }));const uniffiIsDebug =@@ -974,6 +974,233 @@ const FfiConverterTypeHttpResponse = (() => {return new FFIConverter();})();+export type ImageUploadFileRequest = {+ digest: string,+ sizeBytes: bigint,+ name: string+}++/**+ * Generated factory for {@link ImageUploadFileRequest} record objects.+ */+export const ImageUploadFileRequest = (() => {+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<ImageUploadFileRequest, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<ImageUploadFileRequest>,+ });+})();++const FfiConverterTypeImageUploadFileRequest = (() => {+ type TypeName = ImageUploadFileRequest;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ digest: FfiConverterString.read(from),+ sizeBytes: FfiConverterUInt64.read(from),+ name: FfiConverterString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.digest, into);+ FfiConverterUInt64.write(value.sizeBytes, into);+ FfiConverterString.write(value.name, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.digest) ++ FfiConverterUInt64.allocationSize(value.sizeBytes) ++ FfiConverterString.allocationSize(value.name);++ }+ };+ return new FFIConverter();+})();++export type PresignedPut = {+ method: string,+ url: string,+ headers: Map<string, string>+}++/**+ * Generated factory for {@link PresignedPut} record objects.+ */+export const PresignedPut = (() => {+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<PresignedPut, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<PresignedPut>,+ });+})();++const FfiConverterTypePresignedPut = (() => {+ type TypeName = PresignedPut;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ method: FfiConverterString.read(from),+ url: FfiConverterString.read(from),+ headers: FfiConverterMapStringString.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.method, into);+ FfiConverterString.write(value.url, into);+ FfiConverterMapStringString.write(value.headers, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.method) ++ FfiConverterString.allocationSize(value.url) ++ FfiConverterMapStringString.allocationSize(value.headers);++ }+ };+ return new FFIConverter();+})();++export type ImageUploadInstruction = {+ digest: string,+ sizeBytes: bigint,+ reference: string,+ upload?: PresignedPut+}++/**+ * Generated factory for {@link ImageUploadInstruction} record objects.+ */+export const ImageUploadInstruction = (() => {+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<ImageUploadInstruction, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<ImageUploadInstruction>,+ });+})();++const FfiConverterTypeImageUploadInstruction = (() => {+ type TypeName = ImageUploadInstruction;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ digest: FfiConverterString.read(from),+ sizeBytes: FfiConverterUInt64.read(from),+ reference: FfiConverterString.read(from),+ upload: FfiConverterOptionalTypePresignedPut.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.digest, into);+ FfiConverterUInt64.write(value.sizeBytes, into);+ FfiConverterString.write(value.reference, into);+ FfiConverterOptionalTypePresignedPut.write(value.upload, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.digest) ++ FfiConverterUInt64.allocationSize(value.sizeBytes) ++ FfiConverterString.allocationSize(value.reference) ++ FfiConverterOptionalTypePresignedPut.allocationSize(value.upload);++ }+ };+ return new FFIConverter();+})();++export type ImageUploadRequest = {+ namespace: string,+ files: Array<ImageUploadFileRequest>+}++/**+ * Generated factory for {@link ImageUploadRequest} record objects.+ */+export const ImageUploadRequest = (() => {+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<ImageUploadRequest, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<ImageUploadRequest>,+ });+})();++const FfiConverterTypeImageUploadRequest = (() => {+ type TypeName = ImageUploadRequest;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ namespace: FfiConverterString.read(from),+ files: FfiConverterSequenceTypeImageUploadFileRequest.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterString.write(value.namespace, into);+ FfiConverterSequenceTypeImageUploadFileRequest.write(value.files, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterString.allocationSize(value.namespace) ++ FfiConverterSequenceTypeImageUploadFileRequest.allocationSize(value.files);++ }+ };+ return new FFIConverter();+})();++export type ImageUploadResponse = {+ files: Array<ImageUploadInstruction>+}++/**+ * Generated factory for {@link ImageUploadResponse} record objects.+ */+export const ImageUploadResponse = (() => {+ const defaults = () => ({+ });+ const create = (() => {+ return uniffiCreateRecord<ImageUploadResponse, ReturnType<typeof defaults>>(defaults);+ })();+ return Object.freeze({+ create,+ new: create,+ defaults: () => Object.freeze(defaults()) as Partial<ImageUploadResponse>,+ });+})();++const FfiConverterTypeImageUploadResponse = (() => {+ type TypeName = ImageUploadResponse;+ class FFIConverter extends AbstractFfiConverterByteArray<TypeName> {+ read(from: RustBuffer): TypeName {+ return {+ files: FfiConverterSequenceTypeImageUploadInstruction.read(from)+ };+ }+ write(value: TypeName, into: RustBuffer): void {+ FfiConverterSequenceTypeImageUploadInstruction.write(value.files, into);+ }+ allocationSize(value: TypeName): number {+ return FfiConverterSequenceTypeImageUploadInstruction.allocationSize(value.files);++ }+ };+ return new FFIConverter();+})();+export type Namespace = {name: string,status: string,@@ -2524,26 +2751,31 @@ const uniffiCallbackInterfaceAccessTokenProvider: { vtable: any; register: () =>export interface CyclopsClientLike {createClaim(request: CreateClaimRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Claim>;+ createImage(namespace: string, manifest: PreservedJsonLike, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<PreservedJsonLike>;createNamespace(name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Namespace>;createPool(request: CreatePoolRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Pool>;createSignedServiceUrl(request: CreateSignedServiceUrlRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<SignedServiceUrl>;createTemplate(request: CreateTemplateRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Template>;createUserApiKey(request: CreateUserApiKeyRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<NewUserApiKey>;deleteClaim(claim: Claim, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<void>;+ deleteImage(namespace: string, name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<void>;deleteNamespace(name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<void>;deletePool(pool: Pool, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<void>;deleteTemplate(template: Template, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<void>;deleteUserApiKey(id: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<void>;getClaim(claim: Claim, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Claim>;+ getImage(namespace: string, name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<PreservedJsonLike>;getNamespace(name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Namespace>;getPool(name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Pool>;getTemplate(namespace: string, name: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Template>;listClaims(namespace: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<Claim>>;+ listImages(namespace: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<PreservedJsonLike>>;listNamespaces(asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<Namespace>>;listPools(namespace: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<Pool>>;listSignedServiceUrls(sandbox: Sandbox, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<SignedServiceUrl>>;listTemplates(namespace: string, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<Template>>;listUserApiKeys(asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Array<UserApiKey>>;+ presignImageUploads(request: ImageUploadRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<ImageUploadResponse>;reconcilePool(request: CreatePoolRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Pool>;reconcileTemplate(request: CreateTemplateRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<Template>;/**@@ -2706,6 +2938,38 @@ private constructor(pointer: UniffiHandle) {}}+ async createImage(namespace: string, manifest: PreservedJsonLike, asyncOpts_?: { signal: AbortSignal }): Promise<PreservedJsonLike> /*throws*/ {+ const __stack = uniffiIsDebug ? new Error().stack : undefined;+ try {+ return await uniffiRustCallAsync(+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().uniffi_cyclops_sdk_fn_method_cyclopsclient_create_image(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc),FfiConverterTypePreservedJson.lower(manifest, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_poll_u64,+ /*cancelFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_cancel_u64,+ /*completeFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_complete_u64,+ /*freeFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_free_u64,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypePreservedJson.lift.bind(FfiConverterTypePreservedJson),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError)+ );+ } catch (__error: any) {+ if (uniffiIsDebug && __error instanceof Error) {+ __error.stack = __stack;+ }+ throw __error;+ }+ }+async createNamespace(name: string, asyncOpts_?: { signal: AbortSignal }): Promise<Namespace> /*throws*/ {const __stack = uniffiIsDebug ? new Error().stack : undefined;try {@@ -2893,6 +3157,33 @@ private constructor(pointer: UniffiHandle) {}}+ async deleteImage(namespace: string, name: string, asyncOpts_?: { signal: AbortSignal }): Promise<void> /*throws*/ {+ const __stack = uniffiIsDebug ? new Error().stack : undefined;+ try {+ return await uniffiRustCallAsync(+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().uniffi_cyclops_sdk_fn_method_cyclopsclient_delete_image(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc),FfiConverterString.lower(name, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_poll_void,+ /*cancelFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_cancel_void,+ /*completeFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_complete_void,+ /*freeFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_free_void,+ /*liftFunc:*/ (_v) => {},+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError)+ );+ } catch (__error: any) {+ if (uniffiIsDebug && __error instanceof Error) {+ __error.stack = __stack;+ }+ throw __error;+ }+ }+async deleteNamespace(name: string, asyncOpts_?: { signal: AbortSignal }): Promise<void> /*throws*/ {const __stack = uniffiIsDebug ? new Error().stack : undefined;try {@@ -3033,6 +3324,38 @@ private constructor(pointer: UniffiHandle) {}}+ async getImage(namespace: string, name: string, asyncOpts_?: { signal: AbortSignal }): Promise<PreservedJsonLike> /*throws*/ {+ const __stack = uniffiIsDebug ? new Error().stack : undefined;+ try {+ return await uniffiRustCallAsync(+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().uniffi_cyclops_sdk_fn_method_cyclopsclient_get_image(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc),FfiConverterString.lower(name, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_poll_u64,+ /*cancelFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_cancel_u64,+ /*completeFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_complete_u64,+ /*freeFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_free_u64,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypePreservedJson.lift.bind(FfiConverterTypePreservedJson),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError)+ );+ } catch (__error: any) {+ if (uniffiIsDebug && __error instanceof Error) {+ __error.stack = __stack;+ }+ throw __error;+ }+ }+async getNamespace(name: string, asyncOpts_?: { signal: AbortSignal }): Promise<Namespace> /*throws*/ {const __stack = uniffiIsDebug ? new Error().stack : undefined;try {@@ -3161,6 +3484,38 @@ private constructor(pointer: UniffiHandle) {}}+ async listImages(namespace: string, asyncOpts_?: { signal: AbortSignal }): Promise<Array<PreservedJsonLike>> /*throws*/ {+ const __stack = uniffiIsDebug ? new Error().stack : undefined;+ try {+ return await uniffiRustCallAsync(+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().uniffi_cyclops_sdk_fn_method_cyclopsclient_list_images(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterString.lower(namespace, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterSequenceTypePreservedJson.lift.bind(FfiConverterSequenceTypePreservedJson),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError)+ );+ } catch (__error: any) {+ if (uniffiIsDebug && __error instanceof Error) {+ __error.stack = __stack;+ }+ throw __error;+ }+ }+async listNamespaces(asyncOpts_?: { signal: AbortSignal }): Promise<Array<Namespace>> /*throws*/ {const __stack = uniffiIsDebug ? new Error().stack : undefined;try {@@ -3321,6 +3676,38 @@ private constructor(pointer: UniffiHandle) {}}+ async presignImageUploads(request: ImageUploadRequest, asyncOpts_?: { signal: AbortSignal }): Promise<ImageUploadResponse> /*throws*/ {+ const __stack = uniffiIsDebug ? new Error().stack : undefined;+ try {+ return await uniffiRustCallAsync(+ /*rustCaller:*/ uniffiCaller,+ /*rustFutureFunc:*/ () => {+ return nativeModule().uniffi_cyclops_sdk_fn_method_cyclopsclient_presign_image_uploads(+ uniffiTypeCyclopsClientObjectFactory.clonePointer(this),FfiConverterTypeImageUploadRequest.lower(request, nativeModule().rustbuffer_alloc)+ );+ },+ /*pollFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_poll_rust_buffer,+ /*cancelFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_cancel_rust_buffer,+ /*completeFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_complete_rust_buffer,+ /*freeFunc:*/ nativeModule().ffi_cyclops_sdk_rust_future_free_rust_buffer,+ // Async returns always go through the JS-side converter: the+ // FFI symbol returns the future handle (u64), and the user-level+ // RustBuffer comes back via the shared `rust_future_complete_*`+ // export. The bytes the runtime hands back must be deserialized+ // here using the per-callable return-type converter.+ /*liftFunc:*/ FfiConverterTypeImageUploadResponse.lift.bind(FfiConverterTypeImageUploadResponse),+ /*liftString:*/ FfiConverterString.lift.bind(FfiConverterString),+ /*asyncOpts:*/ asyncOpts_,+ /*errorHandler:*/ FfiConverterTypeSdkError.lift.bind(FfiConverterTypeSdkError)+ );+ } catch (__error: any) {+ if (uniffiIsDebug && __error instanceof Error) {+ __error.stack = __stack;+ }+ throw __error;+ }+ }+async reconcilePool(request: CreatePoolRequest, asyncOpts_?: { signal: AbortSignal }): Promise<Pool> /*throws*/ {const __stack = uniffiIsDebug ? new Error().stack : undefined;try {@@ -3662,6 +4049,10 @@ const FfiConverterTypeCyclopsClient = new FfiConverterObject(uniffiTypeCyclopsClexport interface HttpClient {+/**+ * Executes an HTTP request. Foreign implementations must enforce+ * `request.max_response_bytes` while streaming the response body.+ */execute(request: HttpRequest, asyncOpts_?: { signal: AbortSignal }) /*throws*/: Promise<HttpResponse>;}@@ -3681,6 +4072,10 @@ private constructor(pointer: UniffiHandle) {+/**+ * Executes an HTTP request. Foreign implementations must enforce+ * `request.max_response_bytes` while streaming the response body.+ */async execute(request: HttpRequest, asyncOpts_?: { signal: AbortSignal }): Promise<HttpResponse> /*throws*/ {const __stack = uniffiIsDebug ? new Error().stack : undefined;try {@@ -3888,9 +4283,21 @@ const FfiConverterOptionalBytes = new FfiConverterOptional(FfiConverterArrayBuff// FfiConverter for bigint | undefinedconst FfiConverterOptionalUInt64 = new FfiConverterOptional(FfiConverterUInt64);+// FfiConverter for PresignedPut | undefined+const FfiConverterOptionalTypePresignedPut = new FfiConverterOptional(FfiConverterTypePresignedPut);++// FfiConverter for Array<ImageUploadFileRequest>+const FfiConverterSequenceTypeImageUploadFileRequest = new FfiConverterArray(FfiConverterTypeImageUploadFileRequest);++// FfiConverter for Array<ImageUploadInstruction>+const FfiConverterSequenceTypeImageUploadInstruction = new FfiConverterArray(FfiConverterTypeImageUploadInstruction);+// FfiConverter for Array<Claim>const FfiConverterSequenceTypeClaim = new FfiConverterArray(FfiConverterTypeClaim);+// FfiConverter for Array<PreservedJsonLike>+const FfiConverterSequenceTypePreservedJson = new FfiConverterArray(FfiConverterTypePreservedJson);+// FfiConverter for Array<Namespace>const FfiConverterSequenceTypeNamespace = new FfiConverterArray(FfiConverterTypeNamespace);@@ -3967,6 +4374,9 @@ function uniffiEnsureInitialized() {if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim() !== 23330) {throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_claim");}+ if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image() !== 51053) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_image");+ }if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace() !== 38049) {throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_create_namespace");}@@ -3985,6 +4395,9 @@ function uniffiEnsureInitialized() {if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim() !== 20460) {throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_claim");}+ if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image() !== 24680) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_image");+ }if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace() !== 4545) {throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_delete_namespace");}@@ -4000,6 +4413,9 @@ function uniffiEnsureInitialized() {if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim() !== 17760) {throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_claim");}+ if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image() !== 56969) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_image");+ }if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace() !== 184) {throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_get_namespace");}@@ -4012,6 +4428,9 @@ function uniffiEnsureInitialized() {if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims() !== 7802) {throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_claims");}+ if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images() !== 31215) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_images");+ }if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces() !== 65288) {throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_namespaces");}@@ -4027,6 +4446,9 @@ function uniffiEnsureInitialized() {if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys() !== 5949) {throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_list_user_api_keys");}+ if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads() !== 53280) {+ throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_presign_image_uploads");+ }if (nativeModule().uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool() !== 53919) {throw new UniffiInternalError.ApiChecksumMismatch("uniffi_cyclops_sdk_checksum_method_cyclopsclient_reconcile_pool");}@@ -4082,11 +4504,16 @@ export default Object.freeze({FfiConverterTypeHttpHeader,FfiConverterTypeHttpRequest,FfiConverterTypeHttpResponse,+ FfiConverterTypeImageUploadFileRequest,+ FfiConverterTypeImageUploadInstruction,+ FfiConverterTypeImageUploadRequest,+ FfiConverterTypeImageUploadResponse,FfiConverterTypeNamespace,FfiConverterTypeNewUserApiKey,FfiConverterTypePool,FfiConverterTypePoolDisplayStatus,FfiConverterTypePoolDisplayStatusKind,+ FfiConverterTypePresignedPut,FfiConverterTypeResourceMetadata,FfiConverterTypeSandbox,FfiConverterTypeSdkBuildError,diff --git a/libs/fleet/sdk-bindings/ts-uniffi/index.ts b/libs/fleet/sdk-bindings/ts-uniffi/index.tsindex a2164622cf..6651c89066 100644--- a/libs/fleet/sdk-bindings/ts-uniffi/index.ts+++ b/libs/fleet/sdk-bindings/ts-uniffi/index.ts@@ -18,4 +18,4 @@ export async function uniffiInitAsync() { /* sync flavor: no-op */ }export default {cyclops_sdk_schema,fleet_sdk,-};\ No newline at end of file+};diff --git a/libs/fleet/sdk/src/image_uploads.rs b/libs/fleet/sdk/src/image_uploads.rsnew file mode 100644index 0000000000..ad4c6579fb--- /dev/null+++ b/libs/fleet/sdk/src/image_uploads.rs@@ -0,0 +1,85 @@+use crate::{CyclopsClient, HttpHeader, HttpRequest, SdkError, routes};+use serde::{Deserialize, Serialize};+use std::{collections::HashMap, sync::Arc};++const JSON_CONTENT_TYPE: &str = "application/json";++#[derive(Clone, Debug, Serialize, Deserialize, uniffi::Record)]+#[serde(rename_all = "camelCase")]+pub struct ImageUploadFileRequest {+ pub digest: String,+ pub size_bytes: u64,+ pub name: String,+}++#[derive(Clone, Debug, Serialize, Deserialize, uniffi::Record)]+#[serde(rename_all = "camelCase")]+pub struct ImageUploadRequest {+ pub namespace: String,+ pub files: Vec<ImageUploadFileRequest>,+}++#[derive(Clone, Debug, Serialize, Deserialize, uniffi::Record)]+#[serde(rename_all = "camelCase")]+pub struct PresignedPut {+ pub method: String,+ pub url: String,+ pub headers: HashMap<String, String>,+}++#[derive(Clone, Debug, Serialize, Deserialize, uniffi::Record)]+#[serde(rename_all = "camelCase")]+pub struct ImageUploadInstruction {+ pub digest: String,+ pub size_bytes: u64,+ pub reference: String,+ pub upload: Option<PresignedPut>,+}++#[derive(Clone, Debug, Serialize, Deserialize, uniffi::Record)]+#[serde(rename_all = "camelCase")]+pub struct ImageUploadResponse {+ pub files: Vec<ImageUploadInstruction>,+}++#[uniffi::export]+impl CyclopsClient {+ pub async fn presign_image_uploads(+ self: Arc<Self>,+ request: ImageUploadRequest,+ ) -> Result<ImageUploadResponse, SdkError> {+ let body = serde_json::to_vec(&request).map_err(|error| SdkError::Body {+ reason: error.to_string(),+ })?;+ self.send_json_crud(+ "presign image uploads",+ json_request(+ "POST",+ routes::image_uploads_presign(self.base_url())?,+ Some(body),+ ),+ &[200],+ )+ .await+ }+}++fn json_request(method: &str, url: url::Url, body: Option<Vec<u8>>) -> HttpRequest {+ HttpRequest {+ method: method.into(),+ url: url.into(),+ headers: vec![+ HttpHeader {+ name: "accept".into(),+ value: JSON_CONTENT_TYPE.into(),+ },+ HttpHeader {+ name: "content-type".into(),+ value: JSON_CONTENT_TYPE.into(),+ },+ ],+ body,+ timeout_secs: None,+ max_response_bytes: None,+ }+}diff --git a/libs/fleet/sdk/src/images.rs b/libs/fleet/sdk/src/images.rsnew file mode 100644index 0000000000..557638b3d7--- /dev/null+++ b/libs/fleet/sdk/src/images.rs@@ -0,0 +1,126 @@+use crate::{CyclopsClient, HttpHeader, HttpRequest, PreservedJson, SdkError, routes};+use serde::Deserialize;+use std::sync::Arc;++const JSON_CONTENT_TYPE: &str = "application/json";++#[derive(Deserialize)]+struct ImageList {+ items: Vec<PreservedJson>,+}++#[uniffi::export]+impl CyclopsClient {+ pub async fn get_image(+ self: Arc<Self>,+ namespace: String,+ name: String,+ ) -> Result<Arc<PreservedJson>, SdkError> {+ let image = self+ .send_json_crud(+ "get image",+ json_request(+ "GET",+ routes::image_item(self.base_url(), &namespace, &name)?,+ None,+ ),+ &[200],+ )+ .await?;+ Ok(Arc::new(image))+ }++ pub async fn create_image(+ self: Arc<Self>,+ namespace: String,+ manifest: Arc<PreservedJson>,+ ) -> Result<Arc<PreservedJson>, SdkError> {+ let collection_url = routes::image_collection(self.base_url(), &namespace)?;+ validate_manifest_namespace(&namespace, &manifest)?;+ let image = self+ .send_json_crud(+ "create image",+ json_request(+ "POST",+ collection_url,+ Some(serde_json::to_vec(manifest.as_ref()).map_err(|error| {+ SdkError::Body {+ reason: error.to_string(),+ }+ })?),+ ),+ &[201],+ )+ .await?;+ Ok(Arc::new(image))+ }++ pub async fn delete_image(+ self: Arc<Self>,+ namespace: String,+ name: String,+ ) -> Result<(), SdkError> {+ self.send_unit_crud(+ "delete image",+ json_request(+ "DELETE",+ routes::image_item(self.base_url(), &namespace, &name)?,+ None,+ ),+ &[200, 202, 204, 404],+ )+ .await+ }++ pub async fn list_images(+ self: Arc<Self>,+ namespace: String,+ ) -> Result<Vec<Arc<PreservedJson>>, SdkError> {+ let images: ImageList = self+ .send_json_crud(+ "list images",+ json_request(+ "GET",+ routes::image_collection(self.base_url(), &namespace)?,+ None,+ ),+ &[200],+ )+ .await?;+ Ok(images.items.into_iter().map(Arc::new).collect())+ }+}++fn validate_manifest_namespace(namespace: &str, manifest: &PreservedJson) -> Result<(), SdkError> {+ let reason = match manifest.as_value().pointer("/metadata/namespace") {+ Some(serde_json::Value::String(value)) if value == namespace => return Ok(()),+ Some(serde_json::Value::String(_)) => {+ "image metadata.namespace must match the requested namespace"+ }+ Some(_) => "image metadata.namespace must be a string",+ None => "image metadata.namespace is required",+ };+ Err(SdkError::Configuration {+ reason: reason.into(),+ })+}++fn json_request(method: &str, url: url::Url, body: Option<Vec<u8>>) -> HttpRequest {+ HttpRequest {+ method: method.into(),+ url: url.into(),+ headers: vec![+ HttpHeader {+ name: "accept".into(),+ value: JSON_CONTENT_TYPE.into(),+ },+ HttpHeader {+ name: "content-type".into(),+ value: JSON_CONTENT_TYPE.into(),+ },+ ],+ body,+ timeout_secs: None,+ max_response_bytes: None,+ }+}diff --git a/libs/fleet/sdk/src/lib.rs b/libs/fleet/sdk/src/lib.rsindex 7aba53ba5d..7c95954c2c 100644--- a/libs/fleet/sdk/src/lib.rs+++ b/libs/fleet/sdk/src/lib.rs@@ -1,6 +1,8 @@mod claims;mod client;mod error;+mod image_uploads;+mod images;mod namespaces;mod pools;mod routes;@@ -13,10 +15,15 @@ mod types;mod user_keys;pub use client::CyclopsClient;+pub use cyclops_sdk_schema::PreservedJson;pub use error::{AccessTokenProviderError, HttpError, MAX_STATUS_BODY_BYTES, SdkBuildError, SdkError,bounded_body,};+pub use image_uploads::{+ ImageUploadFileRequest, ImageUploadInstruction, ImageUploadRequest, ImageUploadResponse,+ PresignedPut,+};pub use routes::validate_dns_label;pub use status::{PoolDisplayStatus, PoolDisplayStatusKind, healthy_pool_display_status, pool_display_status,diff --git a/libs/fleet/sdk/src/routes.rs b/libs/fleet/sdk/src/routes.rsindex 9e02b8ecb9..4bca6741e4 100644--- a/libs/fleet/sdk/src/routes.rs+++ b/libs/fleet/sdk/src/routes.rs@@ -7,6 +7,7 @@ const CLAIM_COLLECTION_SUFFIX: &str = "/osgymsandboxclaims";const POOL_COLLECTION_SUFFIX: &str = "/osgymsandboxwarmpools";const TEMPLATE_COLLECTION_SUFFIX: &str = "/osgymsandboxtemplates";const NAMESPACE_COLLECTION: &str = "api/namespaces";+const IMAGE_UPLOADS_PRESIGN: &str = "api/image-uploads/presign";const NAMESPACE_PREFIX: &str = "api/namespaces/";const SERVICE_COLLECTION_PREFIX: &str = "api/svc/";const SIGNED_SERVICE_URL_COLLECTION_PREFIX: &str = "api/signed-service-urls/";@@ -54,6 +55,27 @@ pub fn template_item(base: &Url, namespace: &str, name: &str) -> Result<Url, Sdk)}+pub fn image_collection(base: &Url, namespace: &str) -> Result<Url, SdkError> {+ validate_dns_label_for("namespace", namespace)?;+ route(+ base,+ format!("api/k8s/apis/images.cua.ai/v1alpha1/namespaces/{namespace}/images"),+ )+}++pub fn image_item(base: &Url, namespace: &str, name: &str) -> Result<Url, SdkError> {+ validate_dns_label_for("namespace", namespace)?;+ validate_dns_label_for("name", name)?;+ route(+ base,+ format!("api/k8s/apis/images.cua.ai/v1alpha1/namespaces/{namespace}/images/{name}"),+ )+}++pub fn image_uploads_presign(base: &Url) -> Result<Url, SdkError> {+ route(base, IMAGE_UPLOADS_PRESIGN.into())+}+pub fn namespace_collection(base: &Url) -> Result<Url, SdkError> {route(base, NAMESPACE_COLLECTION.into())}@@ -317,8 +339,9 @@ fn hex_value(byte: u8) -> Option<u8> {#[cfg(test)]mod tests {use super::{- claim_collection, claim_item, namespace_collection, namespace_item, pool_collection,- pool_item, signed_service_url_collection, signed_service_url_item, signed_service_url_list,+ claim_collection, claim_item, image_collection, image_item, image_uploads_presign,+ namespace_collection, namespace_item, pool_collection, pool_item,+ signed_service_url_collection, signed_service_url_item, signed_service_url_list,template_collection, template_item,};use url::Url;@@ -369,6 +392,10 @@ mod tests {namespace_collection(&base).unwrap().as_str(),"https://cyclops.example:8443/api/namespaces");+ assert_eq!(+ image_uploads_presign(&base).unwrap().as_str(),+ "https://cyclops.example:8443/api/image-uploads/presign"+ );assert_eq!(namespace_item(&base, "example-pool").unwrap().as_str(),"https://cyclops.example:8443/api/namespaces/example-pool"@@ -393,6 +420,16 @@ mod tests {.as_str(),"https://cyclops.example:8443/api/k8s/apis/osgym.cua.ai/v1alpha1/namespaces/example-pool/osgymsandboxtemplates/example-template");+ assert_eq!(+ image_collection(&base, "example-pool").unwrap().as_str(),+ "https://cyclops.example:8443/api/k8s/apis/images.cua.ai/v1alpha1/namespaces/example-pool/images"+ );+ assert_eq!(+ image_item(&base, "example-pool", "example-image")+ .unwrap()+ .as_str(),+ "https://cyclops.example:8443/api/k8s/apis/images.cua.ai/v1alpha1/namespaces/example-pool/images/example-image"+ );}#[test]@@ -413,6 +450,10 @@ mod tests {namespace_collection(&base).unwrap().as_str(),"https://gateway.example/cyclops/api/namespaces");+ assert_eq!(+ image_uploads_presign(&base).unwrap().as_str(),+ "https://gateway.example/cyclops/api/image-uploads/presign"+ );assert_eq!(namespace_item(&base, "example-pool").unwrap().as_str(),"https://gateway.example/cyclops/api/namespaces/example-pool"diff --git a/libs/fleet/sdk/tests/binding_generation.rs b/libs/fleet/sdk/tests/binding_generation.rsindex b48ffd653d..9dba4f87ad 100644--- a/libs/fleet/sdk/tests/binding_generation.rs+++ b/libs/fleet/sdk/tests/binding_generation.rs@@ -64,10 +64,18 @@ fn generated_bindings_hide_raw_credentials_and_claim_update() {assert!(python.contains("async def list_user_api_keys"));assert!(python.contains("async def create_user_api_key"));assert!(python.contains("async def delete_user_api_key"));+ assert!(python.contains("async def get_image"));+ assert!(python.contains("async def create_image"));+ assert!(python.contains("async def delete_image"));+ assert!(python.contains("async def list_images"));assert!(kotlin.contains("suspend fun `listNamespaces`"));assert!(kotlin.contains("suspend fun `listUserApiKeys`"));assert!(kotlin.contains("suspend fun `createUserApiKey`"));assert!(kotlin.contains("suspend fun `deleteUserApiKey`"));+ assert!(kotlin.contains("suspend fun `getImage`"));+ assert!(kotlin.contains("suspend fun `createImage`"));+ assert!(kotlin.contains("suspend fun `deleteImage`"));+ assert!(kotlin.contains("suspend fun `listImages`"));assert!(python.contains("creation_timestamp:typing.Optional[str]"));assert!(kotlin.contains("var `creationTimestamp`: kotlin.String?"));diff --git a/libs/fleet/sdk/tests/image_flow.rs b/libs/fleet/sdk/tests/image_flow.rsnew file mode 100644index 0000000000..f921fcfeb7--- /dev/null+++ b/libs/fleet/sdk/tests/image_flow.rs@@ -0,0 +1,185 @@+mod support;++use cyclops_sdk::{+ CyclopsClient, CyclopsConfiguration, CyclopsCredentials, HttpResponse, PreservedJson, SdkError,+};+use std::sync::Arc;+use support::ScriptedHttpClient;++const BASE_URL: &str = "https://cyclops.example:8443/prefix";+const TOKEN_URL: &str = "https://identity.example/oauth/token";+const NAMESPACE: &str = "workers";+const IMAGE_NAME: &str = "image-demo";+const IMAGE_COLLECTION: &str = "https://cyclops.example:8443/prefix/api/k8s/apis/images.cua.ai/v1alpha1/namespaces/workers/images";+const IMAGE_ITEM: &str = "https://cyclops.example:8443/prefix/api/k8s/apis/images.cua.ai/v1alpha1/namespaces/workers/images/image-demo";+const IMAGE_JSON: &[u8] = br#"{"apiVersion":"images.cua.ai/v1alpha1","kind":"Image","metadata":{"namespace":"workers","name":"image-demo"},"spec":{"recipe":"example"}}"#;++#[tokio::test]+async fn image_crud_uses_generic_k8s_paths() {+ let http = Arc::new(ScriptedHttpClient::new([+ Ok(token()),+ Ok(response(404, br#"{"kind":"Status"}"#)),+ Ok(response(201, IMAGE_JSON)),+ Ok(response(200, br#"{"items":[]}"#)),+ Ok(response(200, IMAGE_JSON)),+ Ok(response(200, br#"{}"#)),+ ]));+ let client = client(Arc::clone(&http));+ let manifest =+ PreservedJson::from_json(String::from_utf8(IMAGE_JSON.to_vec()).unwrap()).unwrap();++ assert!(+ client+ .clone()+ .get_image(NAMESPACE.into(), IMAGE_NAME.into())+ .await+ .is_err()+ );+ client+ .clone()+ .create_image(NAMESPACE.into(), manifest)+ .await+ .unwrap();+ client.clone().list_images(NAMESPACE.into()).await.unwrap();+ client+ .clone()+ .get_image(NAMESPACE.into(), IMAGE_NAME.into())+ .await+ .unwrap();+ client+ .delete_image(NAMESPACE.into(), IMAGE_NAME.into())+ .await+ .unwrap();++ let requests = http.authenticated_requests().await;+ assert_eq!(+ requests+ .iter()+ .map(|request| request.url.as_str())+ .collect::<Vec<_>>(),+ vec![+ IMAGE_ITEM,+ IMAGE_COLLECTION,+ IMAGE_COLLECTION,+ IMAGE_ITEM,+ IMAGE_ITEM+ ]+ );+ assert_eq!(requests[1].method, "POST");+ let body: serde_json::Value =+ serde_json::from_slice(requests[1].body.as_deref().unwrap()).unwrap();+ let expected: serde_json::Value = serde_json::from_slice(IMAGE_JSON).unwrap();+ assert_eq!(body, expected);+}++#[tokio::test]+async fn image_delete_accepts_only_its_documented_success_statuses() {+ for status in [200, 202, 204, 404] {+ let http = Arc::new(ScriptedHttpClient::new([+ Ok(token()),+ Ok(response(status, b"{}")),+ ]));++ client(Arc::clone(&http))+ .delete_image(NAMESPACE.into(), IMAGE_NAME.into())+ .await+ .unwrap();+ assert_eq!(http.authenticated_requests().await[0].url, IMAGE_ITEM);+ }++ let http = Arc::new(ScriptedHttpClient::new([+ Ok(token()),+ Ok(response(201, b"{}")),+ ]));+ assert!(matches!(+ client(http)+ .delete_image(NAMESPACE.into(), IMAGE_NAME.into())+ .await,+ Err(SdkError::Status { status: 201, .. })+ ));+}++#[tokio::test]+async fn image_validation_and_namespace_mismatches_do_not_reach_http() {+ let http = Arc::new(ScriptedHttpClient::new([]));+ let error = client(Arc::clone(&http))+ .get_image("Workers".into(), IMAGE_NAME.into())+ .await+ .unwrap_err();+ assert!(matches!(+ error,+ SdkError::InvalidResourceName { ref field, .. } if field == "namespace"+ ));+ assert_eq!(http.request_count().await, 0);++ let http = Arc::new(ScriptedHttpClient::new([]));+ let manifest = PreservedJson::from_json(+ r#"{"apiVersion":"images.cua.ai/v1alpha1","kind":"Image","metadata":{"namespace":"other","name":"image-demo"}}"#.into(),+ )+ .unwrap();+ let error = client(Arc::clone(&http))+ .create_image(NAMESPACE.into(), manifest)+ .await+ .unwrap_err();+ assert!(matches!(error, SdkError::Configuration { .. }));+ assert_eq!(http.request_count().await, 0);+}++#[tokio::test]+async fn image_create_rejects_missing_namespace_without_http() {+ assert_create_image_rejected_without_request(+ r#"{"apiVersion":"images.cua.ai/v1alpha1","kind":"Image","metadata":{"name":"image-demo"}}"#,+ )+ .await;+}++#[tokio::test]+async fn image_create_rejects_non_string_namespaces_without_http() {+ for namespace in ["null", "false", "1", "{}", "[]"] {+ let manifest = format!(+ r#"{{"apiVersion":"images.cua.ai/v1alpha1","kind":"Image","metadata":{{"namespace":{namespace},"name":"image-demo"}}}}"#+ );+ assert_create_image_rejected_without_request(&manifest).await;+ }+}++async fn assert_create_image_rejected_without_request(manifest_json: &str) {+ let http = Arc::new(ScriptedHttpClient::new([]));+ let manifest = PreservedJson::from_json(manifest_json.into()).unwrap();++ let error = client(Arc::clone(&http))+ .create_image(NAMESPACE.into(), manifest)+ .await+ .unwrap_err();++ assert!(matches!(error, SdkError::Configuration { .. }));+ assert_eq!(http.request_count().await, 0);+}++fn client(http: Arc<ScriptedHttpClient>) -> Arc<CyclopsClient> {+ CyclopsClient::connect(+ CyclopsConfiguration {+ base_url: BASE_URL.into(),+ token_url: TOKEN_URL.into(),+ credentials: CyclopsCredentials::new("client".into(), "secret".into()),+ pool_poll_interval_ms: 1,+ pool_poll_limit: 1,+ claim_poll_interval_ms: 1,+ claim_poll_limit: 1,+ },+ http,+ )+ .unwrap()+}++fn token() -> HttpResponse {+ response(200, br#"{"access_token":"token-a","expires_in":3600}"#)+}++fn response(status: u16, body: &[u8]) -> HttpResponse {+ HttpResponse {+ status,+ headers: vec![],+ body: body.into(),+ }+}diff --git a/libs/fleet/sdk/tests/image_upload_flow.rs b/libs/fleet/sdk/tests/image_upload_flow.rsnew file mode 100644index 0000000000..a638f38c3f--- /dev/null+++ b/libs/fleet/sdk/tests/image_upload_flow.rs@@ -0,0 +1,102 @@+mod support;++use cyclops_sdk::{+ CyclopsClient, CyclopsConfiguration, CyclopsCredentials, ImageUploadFileRequest,+ ImageUploadRequest,+};+use std::sync::Arc;+use support::ScriptedHttpClient;++const BASE_URL: &str = "https://cyclops.example.test";+const TOKEN_URL: &str = "https://auth.example.test/token";+const UPLOAD_URL: &str = "https://cyclops.example.test/api/image-uploads/presign";+const DIGEST: &str = "sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef";++#[tokio::test]+async fn presign_image_uploads_posts_typed_request_and_returns_optional_upload() {+ let http = Arc::new(ScriptedHttpClient::new([+ Ok(token()),+ Ok(response(+ 200,+ br#"{"files":[{"digest":"sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef","sizeBytes":12,"reference":"uploads/tenant-a/abc","upload":{"method":"PUT","url":"https://uploads.example.test/signed","headers":{"content-length":"12"}}}]}"#,+ )),+ ]));+ let client = client(Arc::clone(&http));++ let response = client+ .presign_image_uploads(ImageUploadRequest {+ namespace: "workers".into(),+ files: vec![ImageUploadFileRequest {+ digest: DIGEST.into(),+ size_bytes: 12,+ name: "worker-rootfs".into(),+ }],+ })+ .await+ .unwrap();++ assert_eq!(response.files.len(), 1);+ assert_eq!(response.files[0].reference, "uploads/tenant-a/abc");+ let upload = response.files[0].upload.as_ref().unwrap();+ assert_eq!(upload.method, "PUT");+ assert_eq!(upload.url, "https://uploads.example.test/signed");+ assert_eq!(upload.headers.get("content-length"), Some(&"12".into()));++ let requests = http.authenticated_requests().await;+ assert_eq!(requests.len(), 1);+ assert_eq!(requests[0].method, "POST");+ assert_eq!(requests[0].url.as_str(), UPLOAD_URL);+ assert_eq!(+ serde_json::from_slice::<serde_json::Value>(requests[0].body.as_deref().unwrap()).unwrap(),+ serde_json::json!({+ "namespace": "workers",+ "files": [{"digest": DIGEST, "sizeBytes": 12, "name": "worker-rootfs"}],+ })+ );+}++#[tokio::test]+async fn presign_image_uploads_accepts_only_http_ok() {+ let http = Arc::new(ScriptedHttpClient::new([+ Ok(token()),+ Ok(response(201, br#"{}"#)),+ ]));++ assert!(+ client(http)+ .presign_image_uploads(ImageUploadRequest {+ namespace: "workers".into(),+ files: vec![],+ })+ .await+ .is_err()+ );+}++fn client(http: Arc<ScriptedHttpClient>) -> Arc<CyclopsClient> {+ CyclopsClient::connect(+ CyclopsConfiguration {+ base_url: BASE_URL.into(),+ token_url: TOKEN_URL.into(),+ credentials: CyclopsCredentials::new("client".into(), "secret".into()),+ pool_poll_interval_ms: 1,+ pool_poll_limit: 1,+ claim_poll_interval_ms: 1,+ claim_poll_limit: 1,+ },+ http,+ )+ .unwrap()+}++fn token() -> cyclops_sdk::HttpResponse {+ response(200, br#"{"access_token":"token-a","expires_in":3600}"#)+}++fn response(status: u16, body: &[u8]) -> cyclops_sdk::HttpResponse {+ cyclops_sdk::HttpResponse {+ status,+ headers: vec![],+ body: body.into(),+ }+}diff --git a/libs/fleet/sdk/tests/public_api.rs b/libs/fleet/sdk/tests/public_api.rsindex 331ff480d0..7553bfc282 100644--- a/libs/fleet/sdk/tests/public_api.rs+++ b/libs/fleet/sdk/tests/public_api.rs@@ -3,7 +3,7 @@ use std::sync::Arc;use cyclops_sdk::{Claim, CreateClaimRequest, CreatePoolRequest, CyclopsClient, CyclopsConfiguration,CyclopsCredentials, HttpClient, HttpError, HttpHeader, HttpRequest, HttpRequestBuilder,- HttpResponse, Pool, ResourceMetadata, Sandbox, SdkError,+ HttpResponse, Pool, PreservedJson, ResourceMetadata, Sandbox, SdkError,};use cyclops_sdk_schema::{ClaimSpec, OSGymSandboxClaimStatus, OSGymSandboxWarmPoolSpec, OSGymSandboxWarmPoolStatus,@@ -101,6 +101,28 @@ fn public_configuration_and_transport_are_constructible() {assert!(client.is_ok());}+#[test]+fn public_image_api_uses_opaque_json() {+ let client = CyclopsClient::connect(configuration(), Arc::new(RecordingHttpClient)).unwrap();+ let manifest = PreservedJson::from_json(+ r#"{"apiVersion":"images.cua.ai/v1alpha1","kind":"Image","metadata":{"namespace":"default","name":"image-demo"}}"#.into(),+ )+ .unwrap();++ std::mem::drop(+ client+ .clone()+ .get_image("default".into(), "image-demo".into()),+ );+ std::mem::drop(client.clone().create_image("default".into(), manifest));+ std::mem::drop(+ client+ .clone()+ .delete_image("default".into(), "image-demo".into()),+ );+ std::mem::drop(client.list_images("default".into()));+}+#[test]fn native_http_client_constructor_is_constructible_without_a_foreign_callback() {assert!(CyclopsClient::connect_with_native_http_client(configuration()).is_ok());