@kittycad/lib 3.2.7 → 3.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +1 -1
- package/dist/mjs/index.js +1 -1
- package/dist/types/__tests__/gen/oauth2-list_oauth2_apps_for_any_org.test.d.ts +2 -0
- package/dist/types/__tests__/gen/oauth2-list_oauth2_apps_for_any_org.test.d.ts.map +1 -0
- package/dist/types/__tests__/gen/oauth2-list_oauth2_apps_for_any_user.test.d.ts +2 -0
- package/dist/types/__tests__/gen/oauth2-list_oauth2_apps_for_any_user.test.d.ts.map +1 -0
- package/dist/types/src/api/oauth2/list_oauth2_apps_for_any_org.d.ts +32 -0
- package/dist/types/src/api/oauth2/list_oauth2_apps_for_any_org.d.ts.map +1 -0
- package/dist/types/src/api/oauth2/list_oauth2_apps_for_any_user.d.ts +32 -0
- package/dist/types/src/api/oauth2/list_oauth2_apps_for_any_user.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +8 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/models.d.ts +1 -1
- package/dist/types/src/models.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/mjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{BSON as t}from"bson";try{if("undefined"==typeof fetch&&"undefined"!=typeof process&&process.versions?.node){new Function("m","return import(m)")("cross-fetch/polyfill").catch((()=>{}))}}catch{}class e{constructor(t){const e="undefined"!=typeof process?process.env:void 0,a=e?.KITTYCAD_TOKEN||e?.KITTYCAD_API_TOKEN||e?.ZOO_AI_TOKEN,o=e?.ZOO_HOST;"string"==typeof t?this.token=t:t&&"object"==typeof t&&(this.token=t.token,this.baseUrl=t.baseUrl,this.fetch=t.fetch),this.token??=a,this.baseUrl??=o}}function a(t){const e=new URLSearchParams;for(const[a,o]of Object.entries(t))if(void 0!==o)if(Array.isArray(o))for(const t of o)e.append(a,String(t));else e.append(a,String(o));const a=e.toString();return a?`?${a}`:""}function o(t){const e=new URLSearchParams;for(const[a,o]of Object.entries(t||{}))if(void 0!==o)if(Array.isArray(o))for(const t of o)e.append(a,String(t));else e.append(a,String(o));return e}try{if("undefined"!=typeof process&&process.versions?.node&&"win32"===process.platform){new Function("m","return import(m)")("win-ca")}}catch{}class n extends Error{constructor(t,e,a){super(a||e?.message||`HTTP ${t}`),this.name="ApiError",this.status=t,this.error_code=e?.error_code,this.request_id=e?.request_id,this.body=e}}async function i(t){if(t.ok)return;let e;try{e=await t.json()}catch{try{const a=await t.text();e=a?{message:a}:void 0}catch{e=void 0}}throw new n(t.status,e)}class r{started=!1;constructor(t,e,a="page_token"){this.fetchPage=t,this.baseParams={...e},this.tokenField=a}hasNext(){return!this.started||!!this.nextToken}reset(){this.started=!1,this.nextToken=void 0}async next(){if(this.started&&!this.nextToken)return[];const t={...this.baseParams};this.started&&this.nextToken&&(t[this.tokenField]=this.nextToken);const e=await this.fetchPage(t);return this.started=!0,this.nextToken=e?.next_page??null,e?.items??[]}}function s(t,e,a="page_token"){return new r(t,e,a)}async function c({client:t,limit:e,page_token:o,sort_by:n}){const r="/api-calls"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function h({client:t,id:e,limit:o,page_token:n,sort_by:r}){const s=`/users/${e}/api-calls`+a({limit:o,page_token:n,sort_by:r}),c=(t?.baseUrl||"https://api.zoo.dev")+s,h=t&&t.token||"",u={};h&&(u.Authorization=`Bearer ${h}`);const d={method:"GET",headers:u},p=t?.fetch||fetch,f=await p(c,d);await i(f);return await f.json()}async function u({client:t,limit:e,page_token:o,sort_by:n,status:r}){const s="/async/operations"+a({limit:e,page_token:o,sort_by:n,status:r}),c=(t?.baseUrl||"https://api.zoo.dev")+s,h=t&&t.token||"",u={};h&&(u.Authorization=`Bearer ${h}`);const d={method:"GET",headers:u},p=t?.fetch||fetch,f=await p(c,d);await i(f);return await f.json()}async function d({client:t,limit:e,page_token:o,sort_by:n}){const r="/org/api-calls"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function p({client:t,limit:e,page_token:o,sort_by:n}){const r="/user/api-calls"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function f({client:t,limit:e,page_token:o,sort_by:n}){const r="/user/api-tokens"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}function l(t){return!!t&&"object"==typeof t&&"buffer"in t&&t.buffer instanceof ArrayBuffer&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength}class _{constructor(t){this.functionNameParams=t}async connect(){const t="/ws/executor/term"+a({}),e=((this.functionNameParams?.client?.baseUrl||"https://api.zoo.dev")+t).replace(/^http/,"ws"),o=new WebSocket(e);await new Promise(((t,e)=>{const a=()=>{i(),t()},n=t=>{i(),e(new Error("WebSocket error"))},i=()=>{o.removeEventListener("open",a),o.removeEventListener("error",n)};o.addEventListener("open",a),o.addEventListener("error",n)}));const n=this.functionNameParams?.client&&this.functionNameParams.client?.token||"";if(n)try{const t={type:"headers",headers:{Authorization:`Bearer ${n}`}};o.send(JSON.stringify(t))}catch{}return this.ws=o,this}send(t){this.ws.send(JSON.stringify(t))}sendBinary(e){try{const a=t.serialize(e);this.ws.send(a)}catch{this.ws.send(JSON.stringify(e))}}recv(t=6e4){return new Promise(((e,a)=>{const o=setTimeout((()=>{r(),a(new Error("timeout"))}),t),n=t=>{r(),a(new Error("WebSocket error"))},i=t=>{r();try{const a=this.parseMessage(t);e(a)}catch(t){a(t)}},r=()=>{clearTimeout(o),this.ws.removeEventListener("message",i),this.ws.removeEventListener("error",n)};this.ws.addEventListener("message",i),this.ws.addEventListener("error",n)}))}close(){this.ws.close()}parseMessage(e){const a=e?.data;if("string"==typeof a)return JSON.parse(a);if("undefined"!=typeof Buffer&&Buffer.isBuffer?.(a)){const e=a;try{return JSON.parse(e.toString("utf8"))}catch{}return t.deserialize(e)}if(a instanceof ArrayBuffer){const e=new Uint8Array(a);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}if(l(a)){const e=new Uint8Array(a.buffer,a.byteOffset,a.byteLength);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}return a}}class w{constructor(t){this.functionNameParams=t}async connect(){const t="/ws/ml/copilot"+a({conversation_id:this.functionNameParams.conversation_id,replay:this.functionNameParams.replay,pr:this.functionNameParams.pr}),e=((this.functionNameParams?.client?.baseUrl||"https://api.zoo.dev")+t).replace(/^http/,"ws"),o=new WebSocket(e);await new Promise(((t,e)=>{const a=()=>{i(),t()},n=t=>{i(),e(new Error("WebSocket error"))},i=()=>{o.removeEventListener("open",a),o.removeEventListener("error",n)};o.addEventListener("open",a),o.addEventListener("error",n)}));const n=this.functionNameParams?.client&&this.functionNameParams.client?.token||"";if(n)try{const t={type:"headers",headers:{Authorization:`Bearer ${n}`}};o.send(JSON.stringify(t))}catch{}return this.ws=o,this}send(t){this.ws.send(JSON.stringify(t))}sendBinary(e){try{const a=t.serialize(e);this.ws.send(a)}catch{this.ws.send(JSON.stringify(e))}}recv(t=6e4){return new Promise(((e,a)=>{const o=setTimeout((()=>{r(),a(new Error("timeout"))}),t),n=t=>{r(),a(new Error("WebSocket error"))},i=t=>{r();try{const a=this.parseMessage(t);e(a)}catch(t){a(t)}},r=()=>{clearTimeout(o),this.ws.removeEventListener("message",i),this.ws.removeEventListener("error",n)};this.ws.addEventListener("message",i),this.ws.addEventListener("error",n)}))}close(){this.ws.close()}parseMessage(e){const a=e?.data;if("string"==typeof a)return JSON.parse(a);if("undefined"!=typeof Buffer&&Buffer.isBuffer?.(a)){const e=a;try{return JSON.parse(e.toString("utf8"))}catch{}return t.deserialize(e)}if(a instanceof ArrayBuffer){const e=new Uint8Array(a);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}if(l(a)){const e=new Uint8Array(a.buffer,a.byteOffset,a.byteLength);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}return a}}class y{constructor(t){this.functionNameParams=t}async connect(){const t=`/ws/ml/reasoning/${this.functionNameParams.id}`+a({}),e=((this.functionNameParams?.client?.baseUrl||"https://api.zoo.dev")+t).replace(/^http/,"ws"),o=new WebSocket(e);await new Promise(((t,e)=>{const a=()=>{i(),t()},n=t=>{i(),e(new Error("WebSocket error"))},i=()=>{o.removeEventListener("open",a),o.removeEventListener("error",n)};o.addEventListener("open",a),o.addEventListener("error",n)}));const n=this.functionNameParams?.client&&this.functionNameParams.client?.token||"";if(n)try{const t={type:"headers",headers:{Authorization:`Bearer ${n}`}};o.send(JSON.stringify(t))}catch{}return this.ws=o,this}send(t){this.ws.send(JSON.stringify(t))}sendBinary(e){try{const a=t.serialize(e);this.ws.send(a)}catch{this.ws.send(JSON.stringify(e))}}recv(t=6e4){return new Promise(((e,a)=>{const o=setTimeout((()=>{r(),a(new Error("timeout"))}),t),n=t=>{r(),a(new Error("WebSocket error"))},i=t=>{r();try{const a=this.parseMessage(t);e(a)}catch(t){a(t)}},r=()=>{clearTimeout(o),this.ws.removeEventListener("message",i),this.ws.removeEventListener("error",n)};this.ws.addEventListener("message",i),this.ws.addEventListener("error",n)}))}close(){this.ws.close()}parseMessage(e){const a=e?.data;if("string"==typeof a)return JSON.parse(a);if("undefined"!=typeof Buffer&&Buffer.isBuffer?.(a)){const e=a;try{return JSON.parse(e.toString("utf8"))}catch{}return t.deserialize(e)}if(a instanceof ArrayBuffer){const e=new Uint8Array(a);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}if(l(a)){const e=new Uint8Array(a.buffer,a.byteOffset,a.byteLength);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}return a}}async function m({client:t,limit:e,page_token:o,sort_by:n}){const r="/ml/conversations"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function b({client:t,limit:e,page_token:o,sort_by:n}){const r="/ml-prompts"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function g({client:t,limit:e,page_token:o,sort_by:n,conversation_id:r,no_models:s,no_parts:c}){const h="/user/text-to-cad"+a({limit:e,page_token:o,sort_by:n,conversation_id:r,no_models:s,no_parts:c}),u=(t?.baseUrl||"https://api.zoo.dev")+h,d=t&&t.token||"",p={};d&&(p.Authorization=`Bearer ${d}`);const f={method:"GET",headers:p},l=t?.fetch||fetch,_=await l(u,f);await i(_);return await _.json()}class v{constructor(t){this.functionNameParams=t}async connect(){const t="/ws/modeling/commands"+a({api_call_id:this.functionNameParams.api_call_id,fps:this.functionNameParams.fps,order_independent_transparency:this.functionNameParams.order_independent_transparency,pool:this.functionNameParams.pool,post_effect:this.functionNameParams.post_effect,replay:this.functionNameParams.replay,show_grid:this.functionNameParams.show_grid,unlocked_framerate:this.functionNameParams.unlocked_framerate,video_res_height:this.functionNameParams.video_res_height,video_res_width:this.functionNameParams.video_res_width,webrtc:this.functionNameParams.webrtc,pr:this.functionNameParams.pr}),e=((this.functionNameParams?.client?.baseUrl||"https://api.zoo.dev")+t).replace(/^http/,"ws"),o=new WebSocket(e);await new Promise(((t,e)=>{const a=()=>{i(),t()},n=t=>{i(),e(new Error("WebSocket error"))},i=()=>{o.removeEventListener("open",a),o.removeEventListener("error",n)};o.addEventListener("open",a),o.addEventListener("error",n)}));const n=this.functionNameParams?.client&&this.functionNameParams.client?.token||"";if(n)try{const t={type:"headers",headers:{Authorization:`Bearer ${n}`}};o.send(JSON.stringify(t))}catch{}return this.ws=o,this}send(t){this.ws.send(JSON.stringify(t))}sendBinary(e){try{const a=t.serialize(e);this.ws.send(a)}catch{this.ws.send(JSON.stringify(e))}}recv(t=6e4){return new Promise(((e,a)=>{const o=setTimeout((()=>{r(),a(new Error("timeout"))}),t),n=t=>{r(),a(new Error("WebSocket error"))},i=t=>{r();try{const a=this.parseMessage(t);e(a)}catch(t){a(t)}},r=()=>{clearTimeout(o),this.ws.removeEventListener("message",i),this.ws.removeEventListener("error",n)};this.ws.addEventListener("message",i),this.ws.addEventListener("error",n)}))}close(){this.ws.close()}parseMessage(e){const a=e?.data;if("string"==typeof a)return JSON.parse(a);if("undefined"!=typeof Buffer&&Buffer.isBuffer?.(a)){const e=a;try{return JSON.parse(e.toString("utf8"))}catch{}return t.deserialize(e)}if(a instanceof ArrayBuffer){const e=new Uint8Array(a);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}if(l(a)){const e=new Uint8Array(a.buffer,a.byteOffset,a.byteLength);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}return a}}async function z({client:t,limit:e,page_token:o,sort_by:n}){const r="/org/oauth2/apps"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function k({client:t,limit:e,page_token:o,sort_by:n}){const r="/user/oauth2/apps"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function $({client:t,limit:e,page_token:o,sort_by:n}){const r="/org/shortlinks"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function T({client:t,id:e,filter:o,limit:n,page_token:r,sort_by:s}){const c=`/org/datasets/${e}/conversions`+a({filter:o,limit:n,page_token:r,sort_by:s}),h=(t?.baseUrl||"https://api.zoo.dev")+c,u=t&&t.token||"",d={};u&&(d.Authorization=`Bearer ${u}`);const p={method:"GET",headers:d},f=t?.fetch||fetch,l=await f(h,p);await i(l);return await l.json()}async function U({client:t,limit:e,page_token:o,sort_by:n}){const r="/org/datasets"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function A({client:t,limit:e,page_token:o,sort_by:n,role:r}){const s="/org/members"+a({limit:e,page_token:o,sort_by:n,role:r}),c=(t?.baseUrl||"https://api.zoo.dev")+s,h=t&&t.token||"",u={};h&&(u.Authorization=`Bearer ${h}`);const d={method:"GET",headers:u},p=t?.fetch||fetch,f=await p(c,d);await i(f);return await f.json()}async function B({client:t,limit:e,page_token:o,sort_by:n}){const r="/orgs"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function j({client:t,id:e,limit:o,page_token:n,q:r,sort_by:s}){const c=`/org/datasets/${e}/search/conversions`+a({limit:o,page_token:n,q:r,sort_by:s}),h=(t?.baseUrl||"https://api.zoo.dev")+c,u=t&&t.token||"",d={};u&&(d.Authorization=`Bearer ${u}`);const p={method:"GET",headers:d},f=t?.fetch||fetch,l=await f(h,p);await i(l);return await l.json()}async function E({client:t,limit:e,page_token:o,sort_by:n}){const r="/org/service-accounts"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function S({client:t,limit:e,page_token:o,sort_by:n}){const r="/user/shortlinks"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function O({client:t,limit:e,page_token:o,sort_by:n}){const r="/users"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function P({client:t,limit:e,page_token:o,sort_by:n}){const r="/users-extended"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}const N={get_api_call:async function({client:t,id:e}){const o=`/api-calls/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_api_call_for_org:async function({client:t,id:e}){const o=`/org/api-calls/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_api_call_for_user:async function({client:t,id:e}){const o=`/user/api-calls/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_api_call_metrics:async function({client:t,group_by:e}){const o="/api-call-metrics"+a({group_by:e}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_async_operation:async function({client:t,id:e}){const o=`/async/operations/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},list_api_calls:c,list_api_calls_for_user:h,list_api_calls_for_user_pager:function(t){return s(h,t,"page_token")},list_api_calls_pager:function(t){return s(c,t,"page_token")},list_async_operations:u,list_async_operations_pager:function(t){return s(u,t,"page_token")},org_list_api_calls:d,org_list_api_calls_pager:function(t){return s(d,t,"page_token")},user_list_api_calls:p,user_list_api_calls_pager:function(t){return s(p,t,"page_token")}},G={create_api_token_for_user:async function({client:t,label:e}){const o="/user/api-tokens"+a({label:e}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"POST",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},delete_api_token_for_user:async function({client:t,token:e}){const o=`/user/api-tokens/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},get_api_token_for_user:async function({client:t,token:e}){const o=`/user/api-tokens/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},list_api_tokens_for_user:f,list_api_tokens_for_user_pager:function(t){return s(f,t,"page_token")}},J={apps_github_callback:async function({client:t}={}){const e="/apps/github/callback"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},apps_github_consent:async function({client:t}={}){const e="/apps/github/consent"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},apps_github_webhook:async function({client:t,body:e}){const o="/apps/github/webhook"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/octet-stream";const c={method:"POST",headers:s,body:e},h=t?.fetch||fetch,u=await h(n,c);await i(u)}},C={create_executor_term:t=>new _(t),create_file_execution:async function({client:t,lang:e,output:o,body:n}){const r=`/file/execute/${e}`+a({output:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/octet-stream";const u={method:"POST",headers:h,body:n},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()}},L={create_file_center_of_mass:async function({client:t,output_unit:e,src_format:o,body:n}){const r="/file/center-of-mass"+a({output_unit:e,src_format:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/octet-stream";const u={method:"POST",headers:h,body:n},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},create_file_conversion:async function({client:t,output_format:e,src_format:o,body:n}){const r=`/file/conversion/${o}/${e}`+a({}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/octet-stream";const u={method:"POST",headers:h,body:n},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},create_file_conversion_options:async function({client:t,files:e,body:o}){const n="/file/conversion"+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h=new FormData;e.forEach((t=>{h.append(t.name,t.data,t.name)})),h.append("event",JSON.stringify(o));const u={method:"POST",headers:c,body:h},d=t?.fetch||fetch,p=await d(r,u);return await i(p),await p.json()},create_file_density:async function({client:t,material_mass:e,material_mass_unit:o,output_unit:n,src_format:r,body:s}){const c="/file/density"+a({material_mass:e,material_mass_unit:o,output_unit:n,src_format:r}),h=(t?.baseUrl||"https://api.zoo.dev")+c,u=t&&t.token||"",d={};u&&(d.Authorization=`Bearer ${u}`),d["Content-Type"]="application/octet-stream";const p={method:"POST",headers:d,body:s},f=t?.fetch||fetch,l=await f(h,p);return await i(l),await l.json()},create_file_mass:async function({client:t,material_density:e,material_density_unit:o,output_unit:n,src_format:r,body:s}){const c="/file/mass"+a({material_density:e,material_density_unit:o,output_unit:n,src_format:r}),h=(t?.baseUrl||"https://api.zoo.dev")+c,u=t&&t.token||"",d={};u&&(d.Authorization=`Bearer ${u}`),d["Content-Type"]="application/octet-stream";const p={method:"POST",headers:d,body:s},f=t?.fetch||fetch,l=await f(h,p);return await i(l),await l.json()},create_file_surface_area:async function({client:t,output_unit:e,src_format:o,body:n}){const r="/file/surface-area"+a({output_unit:e,src_format:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/octet-stream";const u={method:"POST",headers:h,body:n},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},create_file_volume:async function({client:t,output_unit:e,src_format:o,body:n}){const r="/file/volume"+a({output_unit:e,src_format:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/octet-stream";const u={method:"POST",headers:h,body:n},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()}},x={community_sso:async function({client:t,sig:e,sso:o}){const n="/community/sso"+a({sig:e,sso:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},create_debug_uploads:async function({client:t,files:e}){const o="/debug/uploads"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c=new FormData;e.forEach((t=>{c.append(t.name,t.data,t.name)}));const h={method:"POST",headers:s,body:c},u=t?.fetch||fetch,d=await u(n,h);return await i(d),await d.json()},create_event:async function({client:t,files:e,body:o}){const n="/events"+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h=new FormData;e.forEach((t=>{h.append(t.name,t.data,t.name)})),h.append("event",JSON.stringify(o));const u={method:"POST",headers:c,body:h},d=t?.fetch||fetch,p=await d(r,u);await i(p)},get_ipinfo:async function({client:t}={}){const e="/_meta/ipinfo"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_pricing_subscriptions:async function({client:t}={}){const e="/pricing/subscriptions"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_schema:async function({client:t}={}){const e="/"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},internal_get_api_token_for_discord_user:async function({client:t,discord_id:e}){const o=`/internal/discord/api-token/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},ping:async function({client:t}={}){const e="/ping"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()}},D={create_custom_model:async function({client:t,body:e}){const o="/ml/custom/models"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_kcl_code_completions:async function({client:t,body:e}){const o="/ml/kcl/completions"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_proprietary_to_kcl:async function({client:t,files:e,code_option:o}){const n="/ml/convert/proprietary-to-kcl"+a({code_option:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h=new FormData;e.forEach((t=>{h.append(t.name,t.data,t.name)}));const u={method:"POST",headers:c,body:h},d=t?.fetch||fetch,p=await d(r,u);return await i(p),await p.json()},create_text_to_cad:async function({client:t,output_format:e,kcl:o,body:n}){const r=`/ai/text-to-cad/${e}`+a({kcl:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/json";const u={method:"POST",headers:h,body:JSON.stringify(n)},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},create_text_to_cad_iteration:async function({client:t,body:e}){const o="/ml/text-to-cad/iteration"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_text_to_cad_multi_file_iteration:async function({client:t,files:e,body:o}){const n="/ml/text-to-cad/multi-file/iteration"+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h=new FormData;e.forEach((t=>{h.append(t.name,t.data,t.name)})),h.append("event",JSON.stringify(o));const u={method:"POST",headers:c,body:h},d=t?.fetch||fetch,p=await d(r,u);return await i(p),await p.json()},create_text_to_cad_part_feedback:async function({client:t,id:e,feedback:o}){const n=`/user/text-to-cad/${e}`+a({feedback:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"POST",headers:c},u=t?.fetch||fetch,d=await u(r,h);await i(d)},get_custom_model:async function({client:t,id:e}){const o=`/ml/custom/models/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_ml_prompt:async function({client:t,id:e}){const o=`/ml-prompts/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_text_to_cad_part_for_user:async function({client:t,id:e}){const o=`/user/text-to-cad/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},list_conversations_for_user:m,list_conversations_for_user_pager:function(t){return s(m,t,"page_token")},list_ml_prompts:b,list_ml_prompts_pager:function(t){return s(b,t,"page_token")},list_org_datasets_for_model:async function({client:t,id:e}){const o=`/ml/custom/models/${e}/datasets`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},list_text_to_cad_parts_for_user:g,list_text_to_cad_parts_for_user_pager:function(t){return s(g,t,"page_token")},ml_copilot_ws:t=>new w(t),ml_reasoning_ws:t=>new y(t),update_custom_model:async function({client:t,id:e,body:o}){const n=`/ml/custom/models/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()}},q={modeling_commands_ws:t=>new v(t)},W={create_org_oauth2_app:async function({client:t,body:e}){const o="/org/oauth2/apps"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_user_oauth2_app:async function({client:t,body:e}){const o="/user/oauth2/apps"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},delete_org_oauth2_app:async function({client:t,client_id:e}){const o=`/org/oauth2/apps/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},delete_user_oauth2_app:async function({client:t,client_id:e}){const o=`/user/oauth2/apps/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},device_access_token:async function({client:t,body:e}){const n="/oauth2/device/token"+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/x-www-form-urlencoded";const h={method:"POST",headers:c,body:o(e)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},device_auth_confirm:async function({client:t,body:e}){const o="/oauth2/device/confirm"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);await i(u)},device_auth_request:async function({client:t,body:e}){const n="/oauth2/device/auth"+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/x-www-form-urlencoded";const h={method:"POST",headers:c,body:o(e)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},device_auth_verify:async function({client:t,app_name:e,user_code:o}){const n="/oauth2/device/verify"+a({app_name:e,user_code:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},get_org_oauth2_app:async function({client:t,client_id:e}){const o=`/org/oauth2/apps/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_user_oauth2_app:async function({client:t,client_id:e}){const o=`/user/oauth2/apps/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},list_org_oauth2_apps:z,list_org_oauth2_apps_pager:function(t){return s(z,t,"page_token")},list_user_oauth2_apps:k,list_user_oauth2_apps_pager:function(t){return s(k,t,"page_token")},oauth2_provider_callback:async function({client:t,provider:e,code:o,id_token:n,state:r,user:s}){const c=`/oauth2/provider/${e}/callback`+a({code:o,id_token:n,state:r,user:s}),h=(t?.baseUrl||"https://api.zoo.dev")+c,u=t&&t.token||"",d={};u&&(d.Authorization=`Bearer ${u}`);const p={method:"GET",headers:d},f=t?.fetch||fetch,l=await f(h,p);return await i(l),await l.json()},oauth2_provider_callback_post:async function({client:t,provider:e,body:n}){const r=`/oauth2/provider/${e}/callback`+a({}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/x-www-form-urlencoded";const u={method:"POST",headers:h,body:o(n)},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},oauth2_provider_consent:async function({client:t,provider:e,callback_url:o}){const n=`/oauth2/provider/${e}/consent`+a({callback_url:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},oauth2_token_revoke:async function({client:t,body:e}){const n="/oauth2/token/revoke"+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/x-www-form-urlencoded";const h={method:"POST",headers:c,body:o(e)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},update_org_oauth2_app:async function({client:t,client_id:e,body:o}){const n=`/org/oauth2/apps/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},update_user_oauth2_app:async function({client:t,client_id:e,body:o}){const n=`/user/oauth2/apps/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},verify_oauth_account_linking:async function({client:t,callback_url:e,token:o}){const n="/oauth2/verify-account-linking"+a({callback_url:e,token:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()}},F={create_org:async function({client:t,body:e}){const o="/org"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_org_dataset:async function({client:t,body:e}){const o="/org/datasets"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_org_member:async function({client:t,body:e}){const o="/org/members"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_org_saml_idp:async function({client:t,body:e}){const o="/org/saml/idp"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},delete_org:async function({client:t}={}){const e="/org"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"DELETE",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},delete_org_dataset:async function({client:t,id:e}){const o=`/org/datasets/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},delete_org_member:async function({client:t,user_id:e}){const o=`/org/members/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},delete_org_saml_idp:async function({client:t}={}){const e="/org/saml/idp"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"DELETE",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},download_org_dataset_conversion_original:async function({client:t,conversion_id:e,id:o}){const n=`/org/datasets/${o}/conversions/${e}/original`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},download_org_dataset_successful_kcl_bulk:async function({client:t,id:e}){const o=`/org/datasets/${e}/bulk-download/kcl`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_any_org:async function({client:t,id:e}){const o=`/orgs/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_org:async function({client:t}={}){const e="/org"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_org_dataset:async function({client:t,id:e}){const o=`/org/datasets/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_org_dataset_conversion:async function({client:t,conversion_id:e,id:o}){const n=`/org/datasets/${o}/conversions/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},get_org_dataset_conversion_stats:async function({client:t,id:e}){const o=`/org/datasets/${e}/stats`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_org_member:async function({client:t,user_id:e}){const o=`/org/members/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_org_privacy_settings:async function({client:t}={}){const e="/org/privacy"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_org_saml_idp:async function({client:t}={}){const e="/org/saml/idp"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_org_shortlinks:$,get_org_shortlinks_pager:function(t){return s($,t,"page_token")},get_user_org:async function({client:t}={}){const e="/user/org"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},list_org_dataset_conversions:T,list_org_dataset_conversions_pager:function(t){return s(T,t,"page_token")},list_org_datasets:U,list_org_datasets_pager:function(t){return s(U,t,"page_token")},list_org_members:A,list_org_members_pager:function(t){return s(A,t,"page_token")},list_orgs:B,list_orgs_pager:function(t){return s(B,t,"page_token")},org_admin_details_get:async function({client:t,id:e}){const o=`/orgs/${e}/admin/details`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},org_dataset_s3_policies:async function({client:t,role_arn:e,uri:o}){const n="/org/dataset/s3/policies"+a({role_arn:e,uri:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},retrigger_org_dataset:async function({client:t,id:e,statuses:o}){const n=`/org/datasets/${e}/retrigger`+a({statuses:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"POST",headers:c},u=t?.fetch||fetch,d=await u(r,h);await i(d)},retrigger_org_dataset_conversion:async function({client:t,conversion_id:e,id:o}){const n=`/org/datasets/${o}/conversions/${e}/retrigger`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"POST",headers:c},u=t?.fetch||fetch,d=await u(r,h);await i(d)},search_org_dataset_conversions:j,search_org_dataset_conversions_pager:function(t){return s(j,t,"page_token")},search_org_dataset_semantic:async function({client:t,id:e,limit:o,q:n}){const r=`/org/datasets/${e}/search/semantic`+a({limit:o,q:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},update_org:async function({client:t,body:e}){const o="/org"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_org_dataset:async function({client:t,id:e,body:o}){const n=`/org/datasets/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},update_org_member:async function({client:t,user_id:e,body:o}){const n=`/org/members/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},update_org_privacy_settings:async function({client:t,body:e}){const o="/org/privacy"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_org_saml_idp:async function({client:t,body:e}){const o="/org/saml/idp"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},upload_org_dataset_files:async function({client:t,files:e,id:o}){const n=`/org/datasets/${o}/uploads`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h=new FormData;e.forEach((t=>{h.append(t.name,t.data,t.name)}));const u={method:"POST",headers:c,body:h},d=t?.fetch||fetch,p=await d(r,u);return await i(p),await p.json()}},M={create_org_subscription:async function({client:t,body:e}){const o="/org/payment/subscriptions"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_payment_information_for_org:async function({client:t,body:e}){const o="/org/payment"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_payment_information_for_user:async function({client:t,body:e}){const o="/user/payment"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_payment_intent_for_org:async function({client:t}={}){const e="/org/payment/intent"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"POST",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},create_payment_intent_for_user:async function({client:t}={}){const e="/user/payment/intent"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"POST",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},create_user_subscription:async function({client:t,body:e}){const o="/user/payment/subscriptions"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},delete_payment_information_for_org:async function({client:t}={}){const e="/org/payment"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"DELETE",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},delete_payment_information_for_user:async function({client:t}={}){const e="/user/payment"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"DELETE",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},delete_payment_method_for_org:async function({client:t,id:e}){const o=`/org/payment/methods/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},delete_payment_method_for_user:async function({client:t,id:e,force:o}){const n=`/user/payment/methods/${e}`+a({force:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"DELETE",headers:c},u=t?.fetch||fetch,d=await u(r,h);await i(d)},get_org_subscription:async function({client:t}={}){const e="/org/payment/subscriptions"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_payment_balance_for_any_org:async function({client:t,include_total_due:e,id:o}){const n=`/orgs/${o}/payment/balance`+a({include_total_due:e}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},get_payment_balance_for_any_user:async function({client:t,id:e,include_total_due:o}){const n=`/users/${e}/payment/balance`+a({include_total_due:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},get_payment_balance_for_org:async function({client:t,include_total_due:e}){const o="/org/payment/balance"+a({include_total_due:e}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_payment_balance_for_user:async function({client:t,include_total_due:e}){const o="/user/payment/balance"+a({include_total_due:e}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_payment_information_for_org:async function({client:t}={}){const e="/org/payment"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_payment_information_for_user:async function({client:t}={}){const e="/user/payment"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_user_subscription:async function({client:t}={}){const e="/user/payment/subscriptions"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},list_invoices_for_org:async function({client:t}={}){const e="/org/payment/invoices"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},list_invoices_for_user:async function({client:t}={}){const e="/user/payment/invoices"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},list_payment_methods_for_org:async function({client:t}={}){const e="/org/payment/methods"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},list_payment_methods_for_user:async function({client:t}={}){const e="/user/payment/methods"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},set_default_payment_method_for_user:async function({client:t,id:e}){const o=`/user/payment/methods/${e}/default`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"POST",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},update_org_subscription:async function({client:t,body:e}){const o="/org/payment/subscriptions"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_org_subscription_for_any_org:async function({client:t,id:e,body:o}){const n=`/orgs/${e}/payment/subscriptions`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},update_payment_balance_for_any_org:async function({client:t,id:e,include_total_due:o,body:n}){const r=`/orgs/${e}/payment/balance`+a({include_total_due:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/json";const u={method:"PUT",headers:h,body:JSON.stringify(n)},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},update_payment_balance_for_any_user:async function({client:t,id:e,include_total_due:o,body:n}){const r=`/users/${e}/payment/balance`+a({include_total_due:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/json";const u={method:"PUT",headers:h,body:JSON.stringify(n)},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},update_payment_information_for_org:async function({client:t,body:e}){const o="/org/payment"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_payment_information_for_user:async function({client:t,body:e}){const o="/user/payment"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_user_subscription:async function({client:t,body:e}){const o="/user/payment/subscriptions"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},upsert_subscription_plan_price:async function({client:t,slug:e,body:o}){const n=`/subscription-plans/${e}/prices`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"POST",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},validate_customer_tax_information_for_org:async function({client:t}={}){const e="/org/payment/tax"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},validate_customer_tax_information_for_user:async function({client:t}={}){const e="/user/payment/tax"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)}},K={create_service_account_for_org:async function({client:t,label:e}){const o="/org/service-accounts"+a({label:e}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"POST",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},delete_service_account_for_org:async function({client:t,token:e}){const o=`/org/service-accounts/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},get_service_account_for_org:async function({client:t,token:e}){const o=`/org/service-accounts/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},list_service_accounts_for_org:E,list_service_accounts_for_org_pager:function(t){return s(E,t,"page_token")}},I={create_store_coupon:async function({client:t,body:e}){const o="/store/coupon"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()}},H={get_angle_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/angle/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_area_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/area/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_current_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/current/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_energy_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/energy/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_force_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/force/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_frequency_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/frequency/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_length_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/length/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_mass_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/mass/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_power_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/power/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_pressure_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/pressure/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_temperature_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/temperature/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_torque_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/torque/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_volume_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/volume/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()}},R={create_user_shortlink:async function({client:t,body:e}){const o="/user/shortlinks"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},delete_user_self:async function({client:t}={}){const e="/user"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"DELETE",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},delete_user_shortlink:async function({client:t,key:e}){const o=`/user/shortlinks/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},get_oauth2_providers_for_user:async function({client:t}={}){const e="/user/oauth2/providers"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_session_for_user:async function({client:t,token:e}){const o=`/user/session/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_user:async function({client:t,id:e}){const o=`/users/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_user_extended:async function({client:t,id:e}){const o=`/users-extended/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_user_privacy_settings:async function({client:t}={}){const e="/user/privacy"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_user_self:async function({client:t}={}){const e="/user"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_user_self_extended:async function({client:t}={}){const e="/user/extended"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_user_shortlinks:S,get_user_shortlinks_pager:function(t){return s(S,t,"page_token")},list_users:O,list_users_extended:P,list_users_extended_pager:function(t){return s(P,t,"page_token")},list_users_pager:function(t){return s(O,t,"page_token")},put_public_email_marketing_consent_request:async function({client:t,body:e}){const o="/website/email-marketing-consent/request"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);await i(u)},put_public_sales_form:async function({client:t,body:e}){const o="/website/forms/sales"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);await i(u)},put_public_support_form:async function({client:t,body:e}){const o="/website/forms/support"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);await i(u)},put_user_cad_user_info_form:async function({client:t,body:e}){const o="/website/forms/cad-user-info"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);await i(u)},update_subscription_for_user:async function({client:t,id:e,body:o}){const n=`/users/${e}/payment/subscriptions`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},update_user_privacy_settings:async function({client:t,body:e}){const o="/user/privacy"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_user_self:async function({client:t,body:e}){const o="/user"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_user_shortlink:async function({client:t,key:e,body:o}){const n=`/user/shortlinks/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);await i(d)},user_admin_details_get:async function({client:t,id:e}){const o=`/users/${e}/admin/details`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},user_email_marketing_consent_decline_post:async function({client:t}={}){const e="/user/email-marketing-consent/decline"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"POST",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},user_email_marketing_consent_get:async function({client:t}={}){const e="/user/email-marketing-consent"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},user_email_marketing_consent_request_post:async function({client:t}={}){const e="/user/email-marketing-consent/request"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"POST",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},user_email_marketing_consent_seen_post:async function({client:t}={}){const e="/user/email-marketing-consent/seen"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"POST",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},user_features_get:async function({client:t}={}){const e="/user/features"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()}};export{n as ApiError,e as Client,r as Pager,N as api_calls,G as api_tokens,J as apps,s as createPager,C as executor,L as file,x as meta,D as ml,q as modeling,W as oauth2,F as orgs,M as payments,K as service_accounts,I as store,H as unit,R as users};
|
|
1
|
+
import{BSON as t}from"bson";try{if("undefined"==typeof fetch&&"undefined"!=typeof process&&process.versions?.node){new Function("m","return import(m)")("cross-fetch/polyfill").catch((()=>{}))}}catch{}class e{constructor(t){const e="undefined"!=typeof process?process.env:void 0,a=e?.KITTYCAD_TOKEN||e?.KITTYCAD_API_TOKEN||e?.ZOO_AI_TOKEN,o=e?.ZOO_HOST;"string"==typeof t?this.token=t:t&&"object"==typeof t&&(this.token=t.token,this.baseUrl=t.baseUrl,this.fetch=t.fetch),this.token??=a,this.baseUrl??=o}}function a(t){const e=new URLSearchParams;for(const[a,o]of Object.entries(t))if(void 0!==o)if(Array.isArray(o))for(const t of o)e.append(a,String(t));else e.append(a,String(o));const a=e.toString();return a?`?${a}`:""}function o(t){const e=new URLSearchParams;for(const[a,o]of Object.entries(t||{}))if(void 0!==o)if(Array.isArray(o))for(const t of o)e.append(a,String(t));else e.append(a,String(o));return e}try{if("undefined"!=typeof process&&process.versions?.node&&"win32"===process.platform){new Function("m","return import(m)")("win-ca")}}catch{}class n extends Error{constructor(t,e,a){super(a||e?.message||`HTTP ${t}`),this.name="ApiError",this.status=t,this.error_code=e?.error_code,this.request_id=e?.request_id,this.body=e}}async function i(t){if(t.ok)return;let e;try{e=await t.json()}catch{try{const a=await t.text();e=a?{message:a}:void 0}catch{e=void 0}}throw new n(t.status,e)}class r{started=!1;constructor(t,e,a="page_token"){this.fetchPage=t,this.baseParams={...e},this.tokenField=a}hasNext(){return!this.started||!!this.nextToken}reset(){this.started=!1,this.nextToken=void 0}async next(){if(this.started&&!this.nextToken)return[];const t={...this.baseParams};this.started&&this.nextToken&&(t[this.tokenField]=this.nextToken);const e=await this.fetchPage(t);return this.started=!0,this.nextToken=e?.next_page??null,e?.items??[]}}function s(t,e,a="page_token"){return new r(t,e,a)}async function c({client:t,limit:e,page_token:o,sort_by:n}){const r="/api-calls"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function h({client:t,id:e,limit:o,page_token:n,sort_by:r}){const s=`/users/${e}/api-calls`+a({limit:o,page_token:n,sort_by:r}),c=(t?.baseUrl||"https://api.zoo.dev")+s,h=t&&t.token||"",u={};h&&(u.Authorization=`Bearer ${h}`);const d={method:"GET",headers:u},p=t?.fetch||fetch,f=await p(c,d);await i(f);return await f.json()}async function u({client:t,limit:e,page_token:o,sort_by:n,status:r}){const s="/async/operations"+a({limit:e,page_token:o,sort_by:n,status:r}),c=(t?.baseUrl||"https://api.zoo.dev")+s,h=t&&t.token||"",u={};h&&(u.Authorization=`Bearer ${h}`);const d={method:"GET",headers:u},p=t?.fetch||fetch,f=await p(c,d);await i(f);return await f.json()}async function d({client:t,limit:e,page_token:o,sort_by:n}){const r="/org/api-calls"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function p({client:t,limit:e,page_token:o,sort_by:n}){const r="/user/api-calls"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function f({client:t,limit:e,page_token:o,sort_by:n}){const r="/user/api-tokens"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}function _(t){return!!t&&"object"==typeof t&&"buffer"in t&&t.buffer instanceof ArrayBuffer&&"number"==typeof t.byteOffset&&"number"==typeof t.byteLength}class l{constructor(t){this.functionNameParams=t}async connect(){const t="/ws/executor/term"+a({}),e=((this.functionNameParams?.client?.baseUrl||"https://api.zoo.dev")+t).replace(/^http/,"ws"),o=new WebSocket(e);await new Promise(((t,e)=>{const a=()=>{i(),t()},n=t=>{i(),e(new Error("WebSocket error"))},i=()=>{o.removeEventListener("open",a),o.removeEventListener("error",n)};o.addEventListener("open",a),o.addEventListener("error",n)}));const n=this.functionNameParams?.client&&this.functionNameParams.client?.token||"";if(n)try{const t={type:"headers",headers:{Authorization:`Bearer ${n}`}};o.send(JSON.stringify(t))}catch{}return this.ws=o,this}send(t){this.ws.send(JSON.stringify(t))}sendBinary(e){try{const a=t.serialize(e);this.ws.send(a)}catch{this.ws.send(JSON.stringify(e))}}recv(t=6e4){return new Promise(((e,a)=>{const o=setTimeout((()=>{r(),a(new Error("timeout"))}),t),n=t=>{r(),a(new Error("WebSocket error"))},i=t=>{r();try{const a=this.parseMessage(t);e(a)}catch(t){a(t)}},r=()=>{clearTimeout(o),this.ws.removeEventListener("message",i),this.ws.removeEventListener("error",n)};this.ws.addEventListener("message",i),this.ws.addEventListener("error",n)}))}close(){this.ws.close()}parseMessage(e){const a=e?.data;if("string"==typeof a)return JSON.parse(a);if("undefined"!=typeof Buffer&&Buffer.isBuffer?.(a)){const e=a;try{return JSON.parse(e.toString("utf8"))}catch{}return t.deserialize(e)}if(a instanceof ArrayBuffer){const e=new Uint8Array(a);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}if(_(a)){const e=new Uint8Array(a.buffer,a.byteOffset,a.byteLength);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}return a}}class w{constructor(t){this.functionNameParams=t}async connect(){const t="/ws/ml/copilot"+a({conversation_id:this.functionNameParams.conversation_id,replay:this.functionNameParams.replay,pr:this.functionNameParams.pr}),e=((this.functionNameParams?.client?.baseUrl||"https://api.zoo.dev")+t).replace(/^http/,"ws"),o=new WebSocket(e);await new Promise(((t,e)=>{const a=()=>{i(),t()},n=t=>{i(),e(new Error("WebSocket error"))},i=()=>{o.removeEventListener("open",a),o.removeEventListener("error",n)};o.addEventListener("open",a),o.addEventListener("error",n)}));const n=this.functionNameParams?.client&&this.functionNameParams.client?.token||"";if(n)try{const t={type:"headers",headers:{Authorization:`Bearer ${n}`}};o.send(JSON.stringify(t))}catch{}return this.ws=o,this}send(t){this.ws.send(JSON.stringify(t))}sendBinary(e){try{const a=t.serialize(e);this.ws.send(a)}catch{this.ws.send(JSON.stringify(e))}}recv(t=6e4){return new Promise(((e,a)=>{const o=setTimeout((()=>{r(),a(new Error("timeout"))}),t),n=t=>{r(),a(new Error("WebSocket error"))},i=t=>{r();try{const a=this.parseMessage(t);e(a)}catch(t){a(t)}},r=()=>{clearTimeout(o),this.ws.removeEventListener("message",i),this.ws.removeEventListener("error",n)};this.ws.addEventListener("message",i),this.ws.addEventListener("error",n)}))}close(){this.ws.close()}parseMessage(e){const a=e?.data;if("string"==typeof a)return JSON.parse(a);if("undefined"!=typeof Buffer&&Buffer.isBuffer?.(a)){const e=a;try{return JSON.parse(e.toString("utf8"))}catch{}return t.deserialize(e)}if(a instanceof ArrayBuffer){const e=new Uint8Array(a);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}if(_(a)){const e=new Uint8Array(a.buffer,a.byteOffset,a.byteLength);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}return a}}class y{constructor(t){this.functionNameParams=t}async connect(){const t=`/ws/ml/reasoning/${this.functionNameParams.id}`+a({}),e=((this.functionNameParams?.client?.baseUrl||"https://api.zoo.dev")+t).replace(/^http/,"ws"),o=new WebSocket(e);await new Promise(((t,e)=>{const a=()=>{i(),t()},n=t=>{i(),e(new Error("WebSocket error"))},i=()=>{o.removeEventListener("open",a),o.removeEventListener("error",n)};o.addEventListener("open",a),o.addEventListener("error",n)}));const n=this.functionNameParams?.client&&this.functionNameParams.client?.token||"";if(n)try{const t={type:"headers",headers:{Authorization:`Bearer ${n}`}};o.send(JSON.stringify(t))}catch{}return this.ws=o,this}send(t){this.ws.send(JSON.stringify(t))}sendBinary(e){try{const a=t.serialize(e);this.ws.send(a)}catch{this.ws.send(JSON.stringify(e))}}recv(t=6e4){return new Promise(((e,a)=>{const o=setTimeout((()=>{r(),a(new Error("timeout"))}),t),n=t=>{r(),a(new Error("WebSocket error"))},i=t=>{r();try{const a=this.parseMessage(t);e(a)}catch(t){a(t)}},r=()=>{clearTimeout(o),this.ws.removeEventListener("message",i),this.ws.removeEventListener("error",n)};this.ws.addEventListener("message",i),this.ws.addEventListener("error",n)}))}close(){this.ws.close()}parseMessage(e){const a=e?.data;if("string"==typeof a)return JSON.parse(a);if("undefined"!=typeof Buffer&&Buffer.isBuffer?.(a)){const e=a;try{return JSON.parse(e.toString("utf8"))}catch{}return t.deserialize(e)}if(a instanceof ArrayBuffer){const e=new Uint8Array(a);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}if(_(a)){const e=new Uint8Array(a.buffer,a.byteOffset,a.byteLength);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}return a}}async function m({client:t,limit:e,page_token:o,sort_by:n}){const r="/ml/conversations"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function b({client:t,limit:e,page_token:o,sort_by:n}){const r="/ml-prompts"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function g({client:t,limit:e,page_token:o,sort_by:n,conversation_id:r,no_models:s,no_parts:c}){const h="/user/text-to-cad"+a({limit:e,page_token:o,sort_by:n,conversation_id:r,no_models:s,no_parts:c}),u=(t?.baseUrl||"https://api.zoo.dev")+h,d=t&&t.token||"",p={};d&&(p.Authorization=`Bearer ${d}`);const f={method:"GET",headers:p},_=t?.fetch||fetch,l=await _(u,f);await i(l);return await l.json()}class z{constructor(t){this.functionNameParams=t}async connect(){const t="/ws/modeling/commands"+a({api_call_id:this.functionNameParams.api_call_id,fps:this.functionNameParams.fps,order_independent_transparency:this.functionNameParams.order_independent_transparency,pool:this.functionNameParams.pool,post_effect:this.functionNameParams.post_effect,replay:this.functionNameParams.replay,show_grid:this.functionNameParams.show_grid,unlocked_framerate:this.functionNameParams.unlocked_framerate,video_res_height:this.functionNameParams.video_res_height,video_res_width:this.functionNameParams.video_res_width,webrtc:this.functionNameParams.webrtc,pr:this.functionNameParams.pr}),e=((this.functionNameParams?.client?.baseUrl||"https://api.zoo.dev")+t).replace(/^http/,"ws"),o=new WebSocket(e);await new Promise(((t,e)=>{const a=()=>{i(),t()},n=t=>{i(),e(new Error("WebSocket error"))},i=()=>{o.removeEventListener("open",a),o.removeEventListener("error",n)};o.addEventListener("open",a),o.addEventListener("error",n)}));const n=this.functionNameParams?.client&&this.functionNameParams.client?.token||"";if(n)try{const t={type:"headers",headers:{Authorization:`Bearer ${n}`}};o.send(JSON.stringify(t))}catch{}return this.ws=o,this}send(t){this.ws.send(JSON.stringify(t))}sendBinary(e){try{const a=t.serialize(e);this.ws.send(a)}catch{this.ws.send(JSON.stringify(e))}}recv(t=6e4){return new Promise(((e,a)=>{const o=setTimeout((()=>{r(),a(new Error("timeout"))}),t),n=t=>{r(),a(new Error("WebSocket error"))},i=t=>{r();try{const a=this.parseMessage(t);e(a)}catch(t){a(t)}},r=()=>{clearTimeout(o),this.ws.removeEventListener("message",i),this.ws.removeEventListener("error",n)};this.ws.addEventListener("message",i),this.ws.addEventListener("error",n)}))}close(){this.ws.close()}parseMessage(e){const a=e?.data;if("string"==typeof a)return JSON.parse(a);if("undefined"!=typeof Buffer&&Buffer.isBuffer?.(a)){const e=a;try{return JSON.parse(e.toString("utf8"))}catch{}return t.deserialize(e)}if(a instanceof ArrayBuffer){const e=new Uint8Array(a);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}if(_(a)){const e=new Uint8Array(a.buffer,a.byteOffset,a.byteLength);try{const t=(new TextDecoder).decode(e);return JSON.parse(t)}catch{}return t.deserialize(e)}return a}}async function v({client:t,id:e,limit:o,page_token:n,sort_by:r}){const s=`/orgs/${e}/oauth2/apps`+a({limit:o,page_token:n,sort_by:r}),c=(t?.baseUrl||"https://api.zoo.dev")+s,h=t&&t.token||"",u={};h&&(u.Authorization=`Bearer ${h}`);const d={method:"GET",headers:u},p=t?.fetch||fetch,f=await p(c,d);await i(f);return await f.json()}async function k({client:t,id:e,limit:o,page_token:n,sort_by:r}){const s=`/users/${e}/oauth2/apps`+a({limit:o,page_token:n,sort_by:r}),c=(t?.baseUrl||"https://api.zoo.dev")+s,h=t&&t.token||"",u={};h&&(u.Authorization=`Bearer ${h}`);const d={method:"GET",headers:u},p=t?.fetch||fetch,f=await p(c,d);await i(f);return await f.json()}async function $({client:t,limit:e,page_token:o,sort_by:n}){const r="/org/oauth2/apps"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function T({client:t,limit:e,page_token:o,sort_by:n}){const r="/user/oauth2/apps"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function U({client:t,limit:e,page_token:o,sort_by:n}){const r="/org/shortlinks"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function A({client:t,id:e,filter:o,limit:n,page_token:r,sort_by:s}){const c=`/org/datasets/${e}/conversions`+a({filter:o,limit:n,page_token:r,sort_by:s}),h=(t?.baseUrl||"https://api.zoo.dev")+c,u=t&&t.token||"",d={};u&&(d.Authorization=`Bearer ${u}`);const p={method:"GET",headers:d},f=t?.fetch||fetch,_=await f(h,p);await i(_);return await _.json()}async function B({client:t,limit:e,page_token:o,sort_by:n}){const r="/org/datasets"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function j({client:t,limit:e,page_token:o,sort_by:n,role:r}){const s="/org/members"+a({limit:e,page_token:o,sort_by:n,role:r}),c=(t?.baseUrl||"https://api.zoo.dev")+s,h=t&&t.token||"",u={};h&&(u.Authorization=`Bearer ${h}`);const d={method:"GET",headers:u},p=t?.fetch||fetch,f=await p(c,d);await i(f);return await f.json()}async function E({client:t,limit:e,page_token:o,sort_by:n}){const r="/orgs"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function S({client:t,id:e,limit:o,page_token:n,q:r,sort_by:s}){const c=`/org/datasets/${e}/search/conversions`+a({limit:o,page_token:n,q:r,sort_by:s}),h=(t?.baseUrl||"https://api.zoo.dev")+c,u=t&&t.token||"",d={};u&&(d.Authorization=`Bearer ${u}`);const p={method:"GET",headers:d},f=t?.fetch||fetch,_=await f(h,p);await i(_);return await _.json()}async function O({client:t,limit:e,page_token:o,sort_by:n}){const r="/org/service-accounts"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function P({client:t,limit:e,page_token:o,sort_by:n}){const r="/user/shortlinks"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function N({client:t,limit:e,page_token:o,sort_by:n}){const r="/users"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}async function G({client:t,limit:e,page_token:o,sort_by:n}){const r="/users-extended"+a({limit:e,page_token:o,sort_by:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);await i(p);return await p.json()}const J={get_api_call:async function({client:t,id:e}){const o=`/api-calls/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_api_call_for_org:async function({client:t,id:e}){const o=`/org/api-calls/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_api_call_for_user:async function({client:t,id:e}){const o=`/user/api-calls/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_api_call_metrics:async function({client:t,group_by:e}){const o="/api-call-metrics"+a({group_by:e}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_async_operation:async function({client:t,id:e}){const o=`/async/operations/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},list_api_calls:c,list_api_calls_for_user:h,list_api_calls_for_user_pager:function(t){return s(h,t,"page_token")},list_api_calls_pager:function(t){return s(c,t,"page_token")},list_async_operations:u,list_async_operations_pager:function(t){return s(u,t,"page_token")},org_list_api_calls:d,org_list_api_calls_pager:function(t){return s(d,t,"page_token")},user_list_api_calls:p,user_list_api_calls_pager:function(t){return s(p,t,"page_token")}},C={create_api_token_for_user:async function({client:t,label:e}){const o="/user/api-tokens"+a({label:e}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"POST",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},delete_api_token_for_user:async function({client:t,token:e}){const o=`/user/api-tokens/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},get_api_token_for_user:async function({client:t,token:e}){const o=`/user/api-tokens/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},list_api_tokens_for_user:f,list_api_tokens_for_user_pager:function(t){return s(f,t,"page_token")}},L={apps_github_callback:async function({client:t}={}){const e="/apps/github/callback"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},apps_github_consent:async function({client:t}={}){const e="/apps/github/consent"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},apps_github_webhook:async function({client:t,body:e}){const o="/apps/github/webhook"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/octet-stream";const c={method:"POST",headers:s,body:e},h=t?.fetch||fetch,u=await h(n,c);await i(u)}},x={create_executor_term:t=>new l(t),create_file_execution:async function({client:t,lang:e,output:o,body:n}){const r=`/file/execute/${e}`+a({output:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/octet-stream";const u={method:"POST",headers:h,body:n},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()}},D={create_file_center_of_mass:async function({client:t,output_unit:e,src_format:o,body:n}){const r="/file/center-of-mass"+a({output_unit:e,src_format:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/octet-stream";const u={method:"POST",headers:h,body:n},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},create_file_conversion:async function({client:t,output_format:e,src_format:o,body:n}){const r=`/file/conversion/${o}/${e}`+a({}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/octet-stream";const u={method:"POST",headers:h,body:n},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},create_file_conversion_options:async function({client:t,files:e,body:o}){const n="/file/conversion"+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h=new FormData;e.forEach((t=>{h.append(t.name,t.data,t.name)})),h.append("event",JSON.stringify(o));const u={method:"POST",headers:c,body:h},d=t?.fetch||fetch,p=await d(r,u);return await i(p),await p.json()},create_file_density:async function({client:t,material_mass:e,material_mass_unit:o,output_unit:n,src_format:r,body:s}){const c="/file/density"+a({material_mass:e,material_mass_unit:o,output_unit:n,src_format:r}),h=(t?.baseUrl||"https://api.zoo.dev")+c,u=t&&t.token||"",d={};u&&(d.Authorization=`Bearer ${u}`),d["Content-Type"]="application/octet-stream";const p={method:"POST",headers:d,body:s},f=t?.fetch||fetch,_=await f(h,p);return await i(_),await _.json()},create_file_mass:async function({client:t,material_density:e,material_density_unit:o,output_unit:n,src_format:r,body:s}){const c="/file/mass"+a({material_density:e,material_density_unit:o,output_unit:n,src_format:r}),h=(t?.baseUrl||"https://api.zoo.dev")+c,u=t&&t.token||"",d={};u&&(d.Authorization=`Bearer ${u}`),d["Content-Type"]="application/octet-stream";const p={method:"POST",headers:d,body:s},f=t?.fetch||fetch,_=await f(h,p);return await i(_),await _.json()},create_file_surface_area:async function({client:t,output_unit:e,src_format:o,body:n}){const r="/file/surface-area"+a({output_unit:e,src_format:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/octet-stream";const u={method:"POST",headers:h,body:n},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},create_file_volume:async function({client:t,output_unit:e,src_format:o,body:n}){const r="/file/volume"+a({output_unit:e,src_format:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/octet-stream";const u={method:"POST",headers:h,body:n},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()}},q={community_sso:async function({client:t,sig:e,sso:o}){const n="/community/sso"+a({sig:e,sso:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},create_debug_uploads:async function({client:t,files:e}){const o="/debug/uploads"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c=new FormData;e.forEach((t=>{c.append(t.name,t.data,t.name)}));const h={method:"POST",headers:s,body:c},u=t?.fetch||fetch,d=await u(n,h);return await i(d),await d.json()},create_event:async function({client:t,files:e,body:o}){const n="/events"+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h=new FormData;e.forEach((t=>{h.append(t.name,t.data,t.name)})),h.append("event",JSON.stringify(o));const u={method:"POST",headers:c,body:h},d=t?.fetch||fetch,p=await d(r,u);await i(p)},get_ipinfo:async function({client:t}={}){const e="/_meta/ipinfo"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_pricing_subscriptions:async function({client:t}={}){const e="/pricing/subscriptions"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_schema:async function({client:t}={}){const e="/"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},internal_get_api_token_for_discord_user:async function({client:t,discord_id:e}){const o=`/internal/discord/api-token/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},ping:async function({client:t}={}){const e="/ping"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()}},W={create_custom_model:async function({client:t,body:e}){const o="/ml/custom/models"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_kcl_code_completions:async function({client:t,body:e}){const o="/ml/kcl/completions"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_proprietary_to_kcl:async function({client:t,files:e,code_option:o}){const n="/ml/convert/proprietary-to-kcl"+a({code_option:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h=new FormData;e.forEach((t=>{h.append(t.name,t.data,t.name)}));const u={method:"POST",headers:c,body:h},d=t?.fetch||fetch,p=await d(r,u);return await i(p),await p.json()},create_text_to_cad:async function({client:t,output_format:e,kcl:o,body:n}){const r=`/ai/text-to-cad/${e}`+a({kcl:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/json";const u={method:"POST",headers:h,body:JSON.stringify(n)},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},create_text_to_cad_iteration:async function({client:t,body:e}){const o="/ml/text-to-cad/iteration"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_text_to_cad_multi_file_iteration:async function({client:t,files:e,body:o}){const n="/ml/text-to-cad/multi-file/iteration"+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h=new FormData;e.forEach((t=>{h.append(t.name,t.data,t.name)})),h.append("event",JSON.stringify(o));const u={method:"POST",headers:c,body:h},d=t?.fetch||fetch,p=await d(r,u);return await i(p),await p.json()},create_text_to_cad_part_feedback:async function({client:t,id:e,feedback:o}){const n=`/user/text-to-cad/${e}`+a({feedback:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"POST",headers:c},u=t?.fetch||fetch,d=await u(r,h);await i(d)},get_custom_model:async function({client:t,id:e}){const o=`/ml/custom/models/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_ml_prompt:async function({client:t,id:e}){const o=`/ml-prompts/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_text_to_cad_part_for_user:async function({client:t,id:e}){const o=`/user/text-to-cad/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},list_conversations_for_user:m,list_conversations_for_user_pager:function(t){return s(m,t,"page_token")},list_ml_prompts:b,list_ml_prompts_pager:function(t){return s(b,t,"page_token")},list_org_datasets_for_model:async function({client:t,id:e}){const o=`/ml/custom/models/${e}/datasets`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},list_text_to_cad_parts_for_user:g,list_text_to_cad_parts_for_user_pager:function(t){return s(g,t,"page_token")},ml_copilot_ws:t=>new w(t),ml_reasoning_ws:t=>new y(t),update_custom_model:async function({client:t,id:e,body:o}){const n=`/ml/custom/models/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()}},F={modeling_commands_ws:t=>new z(t)},M={create_org_oauth2_app:async function({client:t,body:e}){const o="/org/oauth2/apps"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_user_oauth2_app:async function({client:t,body:e}){const o="/user/oauth2/apps"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},delete_org_oauth2_app:async function({client:t,client_id:e}){const o=`/org/oauth2/apps/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},delete_user_oauth2_app:async function({client:t,client_id:e}){const o=`/user/oauth2/apps/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},device_access_token:async function({client:t,body:e}){const n="/oauth2/device/token"+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/x-www-form-urlencoded";const h={method:"POST",headers:c,body:o(e)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},device_auth_confirm:async function({client:t,body:e}){const o="/oauth2/device/confirm"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);await i(u)},device_auth_request:async function({client:t,body:e}){const n="/oauth2/device/auth"+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/x-www-form-urlencoded";const h={method:"POST",headers:c,body:o(e)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},device_auth_verify:async function({client:t,app_name:e,user_code:o}){const n="/oauth2/device/verify"+a({app_name:e,user_code:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},get_org_oauth2_app:async function({client:t,client_id:e}){const o=`/org/oauth2/apps/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_user_oauth2_app:async function({client:t,client_id:e}){const o=`/user/oauth2/apps/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},list_oauth2_apps_for_any_org:v,list_oauth2_apps_for_any_org_pager:function(t){return s(v,t,"page_token")},list_oauth2_apps_for_any_user:k,list_oauth2_apps_for_any_user_pager:function(t){return s(k,t,"page_token")},list_org_oauth2_apps:$,list_org_oauth2_apps_pager:function(t){return s($,t,"page_token")},list_user_oauth2_apps:T,list_user_oauth2_apps_pager:function(t){return s(T,t,"page_token")},oauth2_provider_callback:async function({client:t,provider:e,code:o,id_token:n,state:r,user:s}){const c=`/oauth2/provider/${e}/callback`+a({code:o,id_token:n,state:r,user:s}),h=(t?.baseUrl||"https://api.zoo.dev")+c,u=t&&t.token||"",d={};u&&(d.Authorization=`Bearer ${u}`);const p={method:"GET",headers:d},f=t?.fetch||fetch,_=await f(h,p);return await i(_),await _.json()},oauth2_provider_callback_post:async function({client:t,provider:e,body:n}){const r=`/oauth2/provider/${e}/callback`+a({}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/x-www-form-urlencoded";const u={method:"POST",headers:h,body:o(n)},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},oauth2_provider_consent:async function({client:t,provider:e,callback_url:o}){const n=`/oauth2/provider/${e}/consent`+a({callback_url:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},oauth2_token_revoke:async function({client:t,body:e}){const n="/oauth2/token/revoke"+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/x-www-form-urlencoded";const h={method:"POST",headers:c,body:o(e)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},update_org_oauth2_app:async function({client:t,client_id:e,body:o}){const n=`/org/oauth2/apps/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},update_user_oauth2_app:async function({client:t,client_id:e,body:o}){const n=`/user/oauth2/apps/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},verify_oauth_account_linking:async function({client:t,callback_url:e,token:o}){const n="/oauth2/verify-account-linking"+a({callback_url:e,token:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()}},K={create_org:async function({client:t,body:e}){const o="/org"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_org_dataset:async function({client:t,body:e}){const o="/org/datasets"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_org_member:async function({client:t,body:e}){const o="/org/members"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_org_saml_idp:async function({client:t,body:e}){const o="/org/saml/idp"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},delete_org:async function({client:t}={}){const e="/org"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"DELETE",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},delete_org_dataset:async function({client:t,id:e}){const o=`/org/datasets/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},delete_org_member:async function({client:t,user_id:e}){const o=`/org/members/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},delete_org_saml_idp:async function({client:t}={}){const e="/org/saml/idp"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"DELETE",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},download_org_dataset_conversion_original:async function({client:t,conversion_id:e,id:o}){const n=`/org/datasets/${o}/conversions/${e}/original`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},download_org_dataset_successful_kcl_bulk:async function({client:t,id:e}){const o=`/org/datasets/${e}/bulk-download/kcl`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_any_org:async function({client:t,id:e}){const o=`/orgs/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_org:async function({client:t}={}){const e="/org"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_org_dataset:async function({client:t,id:e}){const o=`/org/datasets/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_org_dataset_conversion:async function({client:t,conversion_id:e,id:o}){const n=`/org/datasets/${o}/conversions/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},get_org_dataset_conversion_stats:async function({client:t,id:e}){const o=`/org/datasets/${e}/stats`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_org_member:async function({client:t,user_id:e}){const o=`/org/members/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_org_privacy_settings:async function({client:t}={}){const e="/org/privacy"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_org_saml_idp:async function({client:t}={}){const e="/org/saml/idp"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_org_shortlinks:U,get_org_shortlinks_pager:function(t){return s(U,t,"page_token")},get_user_org:async function({client:t}={}){const e="/user/org"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},list_org_dataset_conversions:A,list_org_dataset_conversions_pager:function(t){return s(A,t,"page_token")},list_org_datasets:B,list_org_datasets_pager:function(t){return s(B,t,"page_token")},list_org_members:j,list_org_members_pager:function(t){return s(j,t,"page_token")},list_orgs:E,list_orgs_pager:function(t){return s(E,t,"page_token")},org_admin_details_get:async function({client:t,id:e}){const o=`/orgs/${e}/admin/details`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},org_dataset_s3_policies:async function({client:t,role_arn:e,uri:o}){const n="/org/dataset/s3/policies"+a({role_arn:e,uri:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},retrigger_org_dataset:async function({client:t,id:e,statuses:o}){const n=`/org/datasets/${e}/retrigger`+a({statuses:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"POST",headers:c},u=t?.fetch||fetch,d=await u(r,h);await i(d)},retrigger_org_dataset_conversion:async function({client:t,conversion_id:e,id:o}){const n=`/org/datasets/${o}/conversions/${e}/retrigger`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"POST",headers:c},u=t?.fetch||fetch,d=await u(r,h);await i(d)},search_org_dataset_conversions:S,search_org_dataset_conversions_pager:function(t){return s(S,t,"page_token")},search_org_dataset_semantic:async function({client:t,id:e,limit:o,q:n}){const r=`/org/datasets/${e}/search/semantic`+a({limit:o,q:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},update_org:async function({client:t,body:e}){const o="/org"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_org_dataset:async function({client:t,id:e,body:o}){const n=`/org/datasets/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},update_org_member:async function({client:t,user_id:e,body:o}){const n=`/org/members/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},update_org_privacy_settings:async function({client:t,body:e}){const o="/org/privacy"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_org_saml_idp:async function({client:t,body:e}){const o="/org/saml/idp"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},upload_org_dataset_files:async function({client:t,files:e,id:o}){const n=`/org/datasets/${o}/uploads`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h=new FormData;e.forEach((t=>{h.append(t.name,t.data,t.name)}));const u={method:"POST",headers:c,body:h},d=t?.fetch||fetch,p=await d(r,u);return await i(p),await p.json()}},I={create_org_subscription:async function({client:t,body:e}){const o="/org/payment/subscriptions"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_payment_information_for_org:async function({client:t,body:e}){const o="/org/payment"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_payment_information_for_user:async function({client:t,body:e}){const o="/user/payment"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},create_payment_intent_for_org:async function({client:t}={}){const e="/org/payment/intent"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"POST",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},create_payment_intent_for_user:async function({client:t}={}){const e="/user/payment/intent"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"POST",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},create_user_subscription:async function({client:t,body:e}){const o="/user/payment/subscriptions"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},delete_payment_information_for_org:async function({client:t}={}){const e="/org/payment"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"DELETE",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},delete_payment_information_for_user:async function({client:t}={}){const e="/user/payment"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"DELETE",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},delete_payment_method_for_org:async function({client:t,id:e}){const o=`/org/payment/methods/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},delete_payment_method_for_user:async function({client:t,id:e,force:o}){const n=`/user/payment/methods/${e}`+a({force:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"DELETE",headers:c},u=t?.fetch||fetch,d=await u(r,h);await i(d)},get_org_subscription:async function({client:t}={}){const e="/org/payment/subscriptions"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_payment_balance_for_any_org:async function({client:t,include_total_due:e,id:o}){const n=`/orgs/${o}/payment/balance`+a({include_total_due:e}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},get_payment_balance_for_any_user:async function({client:t,id:e,include_total_due:o}){const n=`/users/${e}/payment/balance`+a({include_total_due:o}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`);const h={method:"GET",headers:c},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},get_payment_balance_for_org:async function({client:t,include_total_due:e}){const o="/org/payment/balance"+a({include_total_due:e}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_payment_balance_for_user:async function({client:t,include_total_due:e}){const o="/user/payment/balance"+a({include_total_due:e}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_payment_information_for_org:async function({client:t}={}){const e="/org/payment"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_payment_information_for_user:async function({client:t}={}){const e="/user/payment"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_user_subscription:async function({client:t}={}){const e="/user/payment/subscriptions"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},list_invoices_for_org:async function({client:t}={}){const e="/org/payment/invoices"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},list_invoices_for_user:async function({client:t}={}){const e="/user/payment/invoices"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},list_payment_methods_for_org:async function({client:t}={}){const e="/org/payment/methods"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},list_payment_methods_for_user:async function({client:t}={}){const e="/user/payment/methods"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},set_default_payment_method_for_user:async function({client:t,id:e}){const o=`/user/payment/methods/${e}/default`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"POST",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},update_org_subscription:async function({client:t,body:e}){const o="/org/payment/subscriptions"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_org_subscription_for_any_org:async function({client:t,id:e,body:o}){const n=`/orgs/${e}/payment/subscriptions`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},update_payment_balance_for_any_org:async function({client:t,id:e,include_total_due:o,body:n}){const r=`/orgs/${e}/payment/balance`+a({include_total_due:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/json";const u={method:"PUT",headers:h,body:JSON.stringify(n)},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},update_payment_balance_for_any_user:async function({client:t,id:e,include_total_due:o,body:n}){const r=`/users/${e}/payment/balance`+a({include_total_due:o}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`),h["Content-Type"]="application/json";const u={method:"PUT",headers:h,body:JSON.stringify(n)},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},update_payment_information_for_org:async function({client:t,body:e}){const o="/org/payment"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_payment_information_for_user:async function({client:t,body:e}){const o="/user/payment"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_user_subscription:async function({client:t,body:e}){const o="/user/payment/subscriptions"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},upsert_subscription_plan_price:async function({client:t,slug:e,body:o}){const n=`/subscription-plans/${e}/prices`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"POST",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},validate_customer_tax_information_for_org:async function({client:t}={}){const e="/org/payment/tax"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},validate_customer_tax_information_for_user:async function({client:t}={}){const e="/user/payment/tax"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)}},H={create_service_account_for_org:async function({client:t,label:e}){const o="/org/service-accounts"+a({label:e}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"POST",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},delete_service_account_for_org:async function({client:t,token:e}){const o=`/org/service-accounts/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},get_service_account_for_org:async function({client:t,token:e}){const o=`/org/service-accounts/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},list_service_accounts_for_org:O,list_service_accounts_for_org_pager:function(t){return s(O,t,"page_token")}},R={create_store_coupon:async function({client:t,body:e}){const o="/store/coupon"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()}},Y={get_angle_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/angle/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_area_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/area/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_current_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/current/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_energy_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/energy/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_force_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/force/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_frequency_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/frequency/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_length_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/length/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_mass_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/mass/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_power_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/power/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_pressure_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/pressure/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_temperature_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/temperature/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_torque_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/torque/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()},get_volume_unit_conversion:async function({client:t,input_unit:e,output_unit:o,value:n}){const r=`/unit/conversion/volume/${e}/${o}`+a({value:n}),s=(t?.baseUrl||"https://api.zoo.dev")+r,c=t&&t.token||"",h={};c&&(h.Authorization=`Bearer ${c}`);const u={method:"GET",headers:h},d=t?.fetch||fetch,p=await d(s,u);return await i(p),await p.json()}},Z={create_user_shortlink:async function({client:t,body:e}){const o="/user/shortlinks"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"POST",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},delete_user_self:async function({client:t}={}){const e="/user"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"DELETE",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},delete_user_shortlink:async function({client:t,key:e}){const o=`/user/shortlinks/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"DELETE",headers:s},h=t?.fetch||fetch,u=await h(n,c);await i(u)},get_oauth2_providers_for_user:async function({client:t}={}){const e="/user/oauth2/providers"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_session_for_user:async function({client:t,token:e}){const o=`/user/session/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_user:async function({client:t,id:e}){const o=`/users/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_user_extended:async function({client:t,id:e}){const o=`/users-extended/${e}`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},get_user_privacy_settings:async function({client:t}={}){const e="/user/privacy"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_user_self:async function({client:t}={}){const e="/user"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_user_self_extended:async function({client:t}={}){const e="/user/extended"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},get_user_shortlinks:P,get_user_shortlinks_pager:function(t){return s(P,t,"page_token")},list_users:N,list_users_extended:G,list_users_extended_pager:function(t){return s(G,t,"page_token")},list_users_pager:function(t){return s(N,t,"page_token")},put_public_email_marketing_consent_request:async function({client:t,body:e}){const o="/website/email-marketing-consent/request"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);await i(u)},put_public_sales_form:async function({client:t,body:e}){const o="/website/forms/sales"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);await i(u)},put_public_support_form:async function({client:t,body:e}){const o="/website/forms/support"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);await i(u)},put_user_cad_user_info_form:async function({client:t,body:e}){const o="/website/forms/cad-user-info"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);await i(u)},update_subscription_for_user:async function({client:t,id:e,body:o}){const n=`/users/${e}/payment/subscriptions`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);return await i(d),await d.json()},update_user_privacy_settings:async function({client:t,body:e}){const o="/user/privacy"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_user_self:async function({client:t,body:e}){const o="/user"+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`),s["Content-Type"]="application/json";const c={method:"PUT",headers:s,body:JSON.stringify(e)},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},update_user_shortlink:async function({client:t,key:e,body:o}){const n=`/user/shortlinks/${e}`+a({}),r=(t?.baseUrl||"https://api.zoo.dev")+n,s=t&&t.token||"",c={};s&&(c.Authorization=`Bearer ${s}`),c["Content-Type"]="application/json";const h={method:"PUT",headers:c,body:JSON.stringify(o)},u=t?.fetch||fetch,d=await u(r,h);await i(d)},user_admin_details_get:async function({client:t,id:e}){const o=`/users/${e}/admin/details`+a({}),n=(t?.baseUrl||"https://api.zoo.dev")+o,r=t&&t.token||"",s={};r&&(s.Authorization=`Bearer ${r}`);const c={method:"GET",headers:s},h=t?.fetch||fetch,u=await h(n,c);return await i(u),await u.json()},user_email_marketing_consent_decline_post:async function({client:t}={}){const e="/user/email-marketing-consent/decline"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"POST",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},user_email_marketing_consent_get:async function({client:t}={}){const e="/user/email-marketing-consent"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()},user_email_marketing_consent_request_post:async function({client:t}={}){const e="/user/email-marketing-consent/request"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"POST",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},user_email_marketing_consent_seen_post:async function({client:t}={}){const e="/user/email-marketing-consent/seen"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"POST",headers:r},c=t?.fetch||fetch,h=await c(o,s);await i(h)},user_features_get:async function({client:t}={}){const e="/user/features"+a({}),o=(t?.baseUrl||"https://api.zoo.dev")+e,n=t&&t.token||"",r={};n&&(r.Authorization=`Bearer ${n}`);const s={method:"GET",headers:r},c=t?.fetch||fetch,h=await c(o,s);return await i(h),await h.json()}};export{n as ApiError,e as Client,r as Pager,J as api_calls,C as api_tokens,L as apps,s as createPager,x as executor,D as file,q as meta,W as ml,F as modeling,M as oauth2,K as orgs,I as payments,H as service_accounts,R as store,Y as unit,Z as users};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth2-list_oauth2_apps_for_any_org.test.d.ts","sourceRoot":"","sources":["../../../../__tests__/gen/oauth2-list_oauth2_apps_for_any_org.test.ts"],"names":[],"mappings":"AAgBA,wBAAsB,aAAa,oBAelC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oauth2-list_oauth2_apps_for_any_user.test.d.ts","sourceRoot":"","sources":["../../../../__tests__/gen/oauth2-list_oauth2_apps_for_any_user.test.ts"],"names":[],"mappings":"AAgBA,wBAAsB,aAAa,oBAelC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Client } from '../../client.js';
|
|
2
|
+
import { Pager } from '../../pagination.js';
|
|
3
|
+
import { OAuth2AppResponseResultsPage, Uuid, CreatedAtSortMode, OAuth2AppResponse } from '../../models.js';
|
|
4
|
+
interface ListOauth2AppsForAnyOrgInput {
|
|
5
|
+
client?: Client;
|
|
6
|
+
id: Uuid;
|
|
7
|
+
limit?: number;
|
|
8
|
+
page_token?: string;
|
|
9
|
+
sort_by?: CreatedAtSortMode;
|
|
10
|
+
}
|
|
11
|
+
type ListOauth2AppsForAnyOrgReturn = OAuth2AppResponseResultsPage;
|
|
12
|
+
/**
|
|
13
|
+
* List OAuth 2.0 apps owned by an organization.
|
|
14
|
+
*
|
|
15
|
+
* This endpoint requires Zoo admin authentication. It returns the target organization's active OAuth apps for admin dashboard inspection.
|
|
16
|
+
*
|
|
17
|
+
* Tags: oauth2, hidden
|
|
18
|
+
*
|
|
19
|
+
* @param params Function parameters.
|
|
20
|
+
* @property {Client} [client] Optional client with auth token.
|
|
21
|
+
* @property {Uuid} id The organization ID. (path)
|
|
22
|
+
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
23
|
+
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
24
|
+
* @property {CreatedAtSortMode} sort_by (query)
|
|
25
|
+
* @returns {Promise<ListOauth2AppsForAnyOrgReturn>} successful operation
|
|
26
|
+
*
|
|
27
|
+
* Possible return types: OAuth2AppResponseResultsPage
|
|
28
|
+
*/
|
|
29
|
+
export default function list_oauth2_apps_for_any_org({ client, id, limit, page_token, sort_by, }: ListOauth2AppsForAnyOrgInput): Promise<ListOauth2AppsForAnyOrgReturn>;
|
|
30
|
+
export declare function list_oauth2_apps_for_any_org_pager(params: ListOauth2AppsForAnyOrgInput): Pager<ListOauth2AppsForAnyOrgInput, ListOauth2AppsForAnyOrgReturn, OAuth2AppResponse>;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=list_oauth2_apps_for_any_org.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list_oauth2_apps_for_any_org.d.ts","sourceRoot":"","sources":["../../../../../src/api/oauth2/list_oauth2_apps_for_any_org.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAEpD,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACL,4BAA4B,EAC5B,IAAI,EACJ,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,iBAAiB,CAAA;AAExB,UAAU,4BAA4B;IACpC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,IAAI,CAAA;IACR,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B;AAED,KAAK,6BAA6B,GAAG,4BAA4B,CAAA;AAEjE;;;;;;;;;;;;;;;;GAgBG;AACH,wBAA8B,4BAA4B,CAAC,EACzD,MAAM,EACN,EAAE,EACF,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE,4BAA4B,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAyBvE;AAED,wBAAgB,kCAAkC,CAChD,MAAM,EAAE,4BAA4B,GACnC,KAAK,CACN,4BAA4B,EAC5B,6BAA6B,EAC7B,iBAAiB,CAClB,CAMA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Client } from '../../client.js';
|
|
2
|
+
import { Pager } from '../../pagination.js';
|
|
3
|
+
import { OAuth2AppResponseResultsPage, UserIdentifier, CreatedAtSortMode, OAuth2AppResponse } from '../../models.js';
|
|
4
|
+
interface ListOauth2AppsForAnyUserInput {
|
|
5
|
+
client?: Client;
|
|
6
|
+
id: UserIdentifier;
|
|
7
|
+
limit?: number;
|
|
8
|
+
page_token?: string;
|
|
9
|
+
sort_by?: CreatedAtSortMode;
|
|
10
|
+
}
|
|
11
|
+
type ListOauth2AppsForAnyUserReturn = OAuth2AppResponseResultsPage;
|
|
12
|
+
/**
|
|
13
|
+
* List OAuth 2.0 apps owned by a user.
|
|
14
|
+
*
|
|
15
|
+
* This endpoint requires Zoo admin authentication. It returns the target user's active OAuth apps so the admin dashboard can inspect them without impersonating the user.
|
|
16
|
+
*
|
|
17
|
+
* Tags: oauth2, hidden
|
|
18
|
+
*
|
|
19
|
+
* @param params Function parameters.
|
|
20
|
+
* @property {Client} [client] Optional client with auth token.
|
|
21
|
+
* @property {UserIdentifier} id The user's identifier (uuid or email). (path)
|
|
22
|
+
* @property {number} limit Maximum number of items returned by a single call (query)
|
|
23
|
+
* @property {string} page_token Token returned by previous call to retrieve the subsequent page (query)
|
|
24
|
+
* @property {CreatedAtSortMode} sort_by (query)
|
|
25
|
+
* @returns {Promise<ListOauth2AppsForAnyUserReturn>} successful operation
|
|
26
|
+
*
|
|
27
|
+
* Possible return types: OAuth2AppResponseResultsPage
|
|
28
|
+
*/
|
|
29
|
+
export default function list_oauth2_apps_for_any_user({ client, id, limit, page_token, sort_by, }: ListOauth2AppsForAnyUserInput): Promise<ListOauth2AppsForAnyUserReturn>;
|
|
30
|
+
export declare function list_oauth2_apps_for_any_user_pager(params: ListOauth2AppsForAnyUserInput): Pager<ListOauth2AppsForAnyUserInput, ListOauth2AppsForAnyUserReturn, OAuth2AppResponse>;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=list_oauth2_apps_for_any_user.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list_oauth2_apps_for_any_user.d.ts","sourceRoot":"","sources":["../../../../../src/api/oauth2/list_oauth2_apps_for_any_user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAc,MAAM,iBAAiB,CAAA;AAEpD,OAAO,EAAE,KAAK,EAAe,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACL,4BAA4B,EAC5B,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,iBAAiB,CAAA;AAExB,UAAU,6BAA6B;IACrC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,EAAE,cAAc,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,iBAAiB,CAAA;CAC5B;AAED,KAAK,8BAA8B,GAAG,4BAA4B,CAAA;AAElE;;;;;;;;;;;;;;;;GAgBG;AACH,wBAA8B,6BAA6B,CAAC,EAC1D,MAAM,EACN,EAAE,EACF,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE,6BAA6B,GAAG,OAAO,CAAC,8BAA8B,CAAC,CAyBzE;AAED,wBAAgB,mCAAmC,CACjD,MAAM,EAAE,6BAA6B,GACpC,KAAK,CACN,6BAA6B,EAC7B,8BAA8B,EAC9B,iBAAiB,CAClB,CAMA"}
|
|
@@ -146,6 +146,8 @@ import device_auth_request from './api/oauth2/device_auth_request.js';
|
|
|
146
146
|
import device_auth_verify from './api/oauth2/device_auth_verify.js';
|
|
147
147
|
import get_org_oauth2_app from './api/oauth2/get_org_oauth2_app.js';
|
|
148
148
|
import get_user_oauth2_app from './api/oauth2/get_user_oauth2_app.js';
|
|
149
|
+
import list_oauth2_apps_for_any_org from './api/oauth2/list_oauth2_apps_for_any_org.js';
|
|
150
|
+
import list_oauth2_apps_for_any_user from './api/oauth2/list_oauth2_apps_for_any_user.js';
|
|
149
151
|
import list_org_oauth2_apps from './api/oauth2/list_org_oauth2_apps.js';
|
|
150
152
|
import list_user_oauth2_apps from './api/oauth2/list_user_oauth2_apps.js';
|
|
151
153
|
import oauth2_provider_callback from './api/oauth2/oauth2_provider_callback.js';
|
|
@@ -155,6 +157,8 @@ import oauth2_token_revoke from './api/oauth2/oauth2_token_revoke.js';
|
|
|
155
157
|
import update_org_oauth2_app from './api/oauth2/update_org_oauth2_app.js';
|
|
156
158
|
import update_user_oauth2_app from './api/oauth2/update_user_oauth2_app.js';
|
|
157
159
|
import verify_oauth_account_linking from './api/oauth2/verify_oauth_account_linking.js';
|
|
160
|
+
import { list_oauth2_apps_for_any_org_pager } from './api/oauth2/list_oauth2_apps_for_any_org.js';
|
|
161
|
+
import { list_oauth2_apps_for_any_user_pager } from './api/oauth2/list_oauth2_apps_for_any_user.js';
|
|
158
162
|
import { list_org_oauth2_apps_pager } from './api/oauth2/list_org_oauth2_apps.js';
|
|
159
163
|
import { list_user_oauth2_apps_pager } from './api/oauth2/list_user_oauth2_apps.js';
|
|
160
164
|
export declare const oauth2: {
|
|
@@ -168,6 +172,10 @@ export declare const oauth2: {
|
|
|
168
172
|
device_auth_verify: typeof device_auth_verify;
|
|
169
173
|
get_org_oauth2_app: typeof get_org_oauth2_app;
|
|
170
174
|
get_user_oauth2_app: typeof get_user_oauth2_app;
|
|
175
|
+
list_oauth2_apps_for_any_org: typeof list_oauth2_apps_for_any_org;
|
|
176
|
+
list_oauth2_apps_for_any_org_pager: typeof list_oauth2_apps_for_any_org_pager;
|
|
177
|
+
list_oauth2_apps_for_any_user: typeof list_oauth2_apps_for_any_user;
|
|
178
|
+
list_oauth2_apps_for_any_user_pager: typeof list_oauth2_apps_for_any_user_pager;
|
|
171
179
|
list_org_oauth2_apps: typeof list_org_oauth2_apps;
|
|
172
180
|
list_org_oauth2_apps_pager: typeof list_org_oauth2_apps_pager;
|
|
173
181
|
list_user_oauth2_apps: typeof list_user_oauth2_apps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,iCAAiC,CAAA;AAC1D,OAAO,oBAAoB,MAAM,yCAAyC,CAAA;AAC1E,OAAO,qBAAqB,MAAM,0CAA0C,CAAA;AAC5E,OAAO,oBAAoB,MAAM,yCAAyC,CAAA;AAC1E,OAAO,mBAAmB,MAAM,wCAAwC,CAAA;AACxE,OAAO,cAAc,MAAM,mCAAmC,CAAA;AAC9D,OAAO,uBAAuB,MAAM,4CAA4C,CAAA;AAChF,OAAO,qBAAqB,MAAM,0CAA0C,CAAA;AAC5E,OAAO,kBAAkB,MAAM,uCAAuC,CAAA;AACtE,OAAO,mBAAmB,MAAM,wCAAwC,CAAA;AACxE,OAAO,EAAE,6BAA6B,EAAE,MAAM,4CAA4C,CAAA;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAA;AACxE,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAA;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAA;AAChF,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAA;AAClF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAgBrB,CAAA;AAED,OAAO,yBAAyB,MAAM,+CAA+C,CAAA;AACrF,OAAO,yBAAyB,MAAM,+CAA+C,CAAA;AACrF,OAAO,sBAAsB,MAAM,4CAA4C,CAAA;AAC/E,OAAO,wBAAwB,MAAM,8CAA8C,CAAA;AACnF,OAAO,E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