sandbox0 0.5.1 → 0.5.3

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.
Files changed (33) hide show
  1. package/dist/apispec/src/apis/FunctionsApi.d.ts +34 -0
  2. package/dist/apispec/src/apis/FunctionsApi.d.ts.map +1 -0
  3. package/dist/apispec/src/apis/FunctionsApi.js +64 -0
  4. package/dist/apispec/src/apis/index.d.ts +1 -0
  5. package/dist/apispec/src/apis/index.d.ts.map +1 -1
  6. package/dist/apispec/src/apis/index.js +1 -0
  7. package/dist/apispec/src/models/FunctionInvokeRequest.d.ts +73 -0
  8. package/dist/apispec/src/models/FunctionInvokeRequest.d.ts.map +1 -0
  9. package/dist/apispec/src/models/FunctionInvokeRequest.js +53 -0
  10. package/dist/apispec/src/models/FunctionInvokeResponse.d.ts +47 -0
  11. package/dist/apispec/src/models/FunctionInvokeResponse.d.ts.map +1 -0
  12. package/dist/apispec/src/models/FunctionInvokeResponse.js +47 -0
  13. package/dist/apispec/src/models/SandboxAppServiceView.d.ts +6 -0
  14. package/dist/apispec/src/models/SandboxAppServiceView.d.ts.map +1 -1
  15. package/dist/apispec/src/models/SandboxAppServiceView.js +2 -0
  16. package/dist/apispec/src/models/SuccessFunctionInvokeResponse.d.ts +40 -0
  17. package/dist/apispec/src/models/SuccessFunctionInvokeResponse.d.ts.map +1 -0
  18. package/dist/apispec/src/models/SuccessFunctionInvokeResponse.js +46 -0
  19. package/dist/apispec/src/models/index.d.ts +3 -0
  20. package/dist/apispec/src/models/index.d.ts.map +1 -1
  21. package/dist/apispec/src/models/index.js +3 -0
  22. package/dist/apispec_compat.d.ts +15 -0
  23. package/dist/apispec_compat.d.ts.map +1 -1
  24. package/dist/client.d.ts +1 -0
  25. package/dist/client.d.ts.map +1 -1
  26. package/dist/client.js +1 -0
  27. package/dist/index.d.ts +1 -0
  28. package/dist/index.d.ts.map +1 -1
  29. package/dist/index.js +1 -0
  30. package/dist/sandbox_functions.d.ts +7 -0
  31. package/dist/sandbox_functions.d.ts.map +1 -0
  32. package/dist/sandbox_functions.js +22 -0
  33. package/package.json +1 -1
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime.js';
13
+ import type { FunctionInvokeRequest, SuccessFunctionInvokeResponse } from '../models/index.js';
14
+ export interface ApiV1SandboxesIdFunctionsNameInvokePostRequest {
15
+ id: string;
16
+ name: string;
17
+ functionInvokeRequest: FunctionInvokeRequest;
18
+ }
19
+ /**
20
+ *
21
+ */
22
+ export declare class FunctionsApi extends runtime.BaseAPI {
23
+ /**
24
+ * Invokes /workspace/functions/{name}.py through the Python function runtime. The default handler is `handler`.
25
+ * Invoke a sandbox function
26
+ */
27
+ apiV1SandboxesIdFunctionsNameInvokePostRaw(requestParameters: ApiV1SandboxesIdFunctionsNameInvokePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SuccessFunctionInvokeResponse>>;
28
+ /**
29
+ * Invokes /workspace/functions/{name}.py through the Python function runtime. The default handler is `handler`.
30
+ * Invoke a sandbox function
31
+ */
32
+ apiV1SandboxesIdFunctionsNameInvokePost(requestParameters: ApiV1SandboxesIdFunctionsNameInvokePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SuccessFunctionInvokeResponse>;
33
+ }
34
+ //# sourceMappingURL=FunctionsApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionsApi.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/FunctionsApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,qBAAqB,EACrB,6BAA6B,EAC9B,MAAM,iBAAiB,CAAC;AAUzB,MAAM,WAAW,8CAA8C;IAC3D,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,qBAAqB,EAAE,qBAAqB,CAAC;CAChD;AAED;;GAEG;AACH,qBAAa,YAAa,SAAQ,OAAO,CAAC,OAAO;IAE7C;;;OAGG;IACG,0CAA0C,CAAC,iBAAiB,EAAE,8CAA8C,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,6BAA6B,CAAC,CAAC;IAoD5O;;;OAGG;IACG,uCAAuC,CAAC,iBAAiB,EAAE,8CAA8C,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,6BAA6B,CAAC;CAKvN"}
@@ -0,0 +1,64 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import * as runtime from '../runtime.js';
15
+ import { FunctionInvokeRequestToJSON, SuccessFunctionInvokeResponseFromJSON, } from '../models/index.js';
16
+ /**
17
+ *
18
+ */
19
+ export class FunctionsApi extends runtime.BaseAPI {
20
+ /**
21
+ * Invokes /workspace/functions/{name}.py through the Python function runtime. The default handler is `handler`.
22
+ * Invoke a sandbox function
23
+ */
24
+ async apiV1SandboxesIdFunctionsNameInvokePostRaw(requestParameters, initOverrides) {
25
+ if (requestParameters['id'] == null) {
26
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiV1SandboxesIdFunctionsNameInvokePost().');
27
+ }
28
+ if (requestParameters['name'] == null) {
29
+ throw new runtime.RequiredError('name', 'Required parameter "name" was null or undefined when calling apiV1SandboxesIdFunctionsNameInvokePost().');
30
+ }
31
+ if (requestParameters['functionInvokeRequest'] == null) {
32
+ throw new runtime.RequiredError('functionInvokeRequest', 'Required parameter "functionInvokeRequest" was null or undefined when calling apiV1SandboxesIdFunctionsNameInvokePost().');
33
+ }
34
+ const queryParameters = {};
35
+ const headerParameters = {};
36
+ headerParameters['Content-Type'] = 'application/json';
37
+ if (this.configuration && this.configuration.accessToken) {
38
+ const token = this.configuration.accessToken;
39
+ const tokenString = await token("bearerAuth", []);
40
+ if (tokenString) {
41
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
42
+ }
43
+ }
44
+ let urlPath = `/api/v1/sandboxes/{id}/functions/{name}/invoke`;
45
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
46
+ urlPath = urlPath.replace(`{${"name"}}`, encodeURIComponent(String(requestParameters['name'])));
47
+ const response = await this.request({
48
+ path: urlPath,
49
+ method: 'POST',
50
+ headers: headerParameters,
51
+ query: queryParameters,
52
+ body: FunctionInvokeRequestToJSON(requestParameters['functionInvokeRequest']),
53
+ }, initOverrides);
54
+ return new runtime.JSONApiResponse(response, (jsonValue) => SuccessFunctionInvokeResponseFromJSON(jsonValue));
55
+ }
56
+ /**
57
+ * Invokes /workspace/functions/{name}.py through the Python function runtime. The default handler is `handler`.
58
+ * Invoke a sandbox function
59
+ */
60
+ async apiV1SandboxesIdFunctionsNameInvokePost(requestParameters, initOverrides) {
61
+ const response = await this.apiV1SandboxesIdFunctionsNameInvokePostRaw(requestParameters, initOverrides);
62
+ return await response.value();
63
+ }
64
+ }
@@ -3,6 +3,7 @@ export * from './AuthApi.js';
3
3
  export * from './ContextsApi.js';
4
4
  export * from './CredentialSourcesApi.js';
5
5
  export * from './FilesApi.js';
6
+ export * from './FunctionsApi.js';
6
7
  export * from './HealthApi.js';
7
8
  export * from './QuotasApi.js';
8
9
  export * from './RegionsApi.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC"}
@@ -5,6 +5,7 @@ export * from './AuthApi.js';
5
5
  export * from './ContextsApi.js';
6
6
  export * from './CredentialSourcesApi.js';
7
7
  export * from './FilesApi.js';
8
+ export * from './FunctionsApi.js';
8
9
  export * from './HealthApi.js';
9
10
  export * from './QuotasApi.js';
10
11
  export * from './RegionsApi.js';
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface FunctionInvokeRequest
16
+ */
17
+ export interface FunctionInvokeRequest {
18
+ /**
19
+ * Logical request method passed to the function. Defaults to POST.
20
+ * @type {string}
21
+ * @memberof FunctionInvokeRequest
22
+ */
23
+ method?: string;
24
+ /**
25
+ * Logical request path passed to the function. Defaults to /.
26
+ * @type {string}
27
+ * @memberof FunctionInvokeRequest
28
+ */
29
+ path?: string;
30
+ /**
31
+ *
32
+ * @type {{ [key: string]: Array<string>; }}
33
+ * @memberof FunctionInvokeRequest
34
+ */
35
+ query?: {
36
+ [key: string]: Array<string>;
37
+ };
38
+ /**
39
+ *
40
+ * @type {{ [key: string]: Array<string>; }}
41
+ * @memberof FunctionInvokeRequest
42
+ */
43
+ headers?: {
44
+ [key: string]: Array<string>;
45
+ };
46
+ /**
47
+ * Base64-encoded request body passed to the function.
48
+ * @type {string}
49
+ * @memberof FunctionInvokeRequest
50
+ */
51
+ bodyBase64?: string;
52
+ /**
53
+ * Python handler name inside the function module. Defaults to handler.
54
+ * @type {string}
55
+ * @memberof FunctionInvokeRequest
56
+ */
57
+ handler?: string;
58
+ /**
59
+ * Per-invocation timeout in milliseconds. Defaults to 30000 and must not exceed 120000.
60
+ * @type {number}
61
+ * @memberof FunctionInvokeRequest
62
+ */
63
+ timeoutMs?: number;
64
+ }
65
+ /**
66
+ * Check if a given object implements the FunctionInvokeRequest interface.
67
+ */
68
+ export declare function instanceOfFunctionInvokeRequest(value: object): value is FunctionInvokeRequest;
69
+ export declare function FunctionInvokeRequestFromJSON(json: any): FunctionInvokeRequest;
70
+ export declare function FunctionInvokeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionInvokeRequest;
71
+ export declare function FunctionInvokeRequestToJSON(json: any): FunctionInvokeRequest;
72
+ export declare function FunctionInvokeRequestToJSONTyped(value?: FunctionInvokeRequest | null, ignoreDiscriminator?: boolean): any;
73
+ //# sourceMappingURL=FunctionInvokeRequest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionInvokeRequest.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionInvokeRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,KAAK,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;KAAE,CAAC;IAC1C;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;KAAE,CAAC;IAC5C;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAE7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAcjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAehI"}
@@ -0,0 +1,53 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the FunctionInvokeRequest interface.
16
+ */
17
+ export function instanceOfFunctionInvokeRequest(value) {
18
+ return true;
19
+ }
20
+ export function FunctionInvokeRequestFromJSON(json) {
21
+ return FunctionInvokeRequestFromJSONTyped(json, false);
22
+ }
23
+ export function FunctionInvokeRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'method': json['method'] == null ? undefined : json['method'],
29
+ 'path': json['path'] == null ? undefined : json['path'],
30
+ 'query': json['query'] == null ? undefined : json['query'],
31
+ 'headers': json['headers'] == null ? undefined : json['headers'],
32
+ 'bodyBase64': json['body_base64'] == null ? undefined : json['body_base64'],
33
+ 'handler': json['handler'] == null ? undefined : json['handler'],
34
+ 'timeoutMs': json['timeout_ms'] == null ? undefined : json['timeout_ms'],
35
+ };
36
+ }
37
+ export function FunctionInvokeRequestToJSON(json) {
38
+ return FunctionInvokeRequestToJSONTyped(json, false);
39
+ }
40
+ export function FunctionInvokeRequestToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'method': value['method'],
46
+ 'path': value['path'],
47
+ 'query': value['query'],
48
+ 'headers': value['headers'],
49
+ 'body_base64': value['bodyBase64'],
50
+ 'handler': value['handler'],
51
+ 'timeout_ms': value['timeoutMs'],
52
+ };
53
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface FunctionInvokeResponse
16
+ */
17
+ export interface FunctionInvokeResponse {
18
+ /**
19
+ * Function-level HTTP-style status code.
20
+ * @type {number}
21
+ * @memberof FunctionInvokeResponse
22
+ */
23
+ status: number;
24
+ /**
25
+ *
26
+ * @type {{ [key: string]: Array<string>; }}
27
+ * @memberof FunctionInvokeResponse
28
+ */
29
+ headers?: {
30
+ [key: string]: Array<string>;
31
+ };
32
+ /**
33
+ * Base64-encoded function response body.
34
+ * @type {string}
35
+ * @memberof FunctionInvokeResponse
36
+ */
37
+ bodyBase64?: string;
38
+ }
39
+ /**
40
+ * Check if a given object implements the FunctionInvokeResponse interface.
41
+ */
42
+ export declare function instanceOfFunctionInvokeResponse(value: object): value is FunctionInvokeResponse;
43
+ export declare function FunctionInvokeResponseFromJSON(json: any): FunctionInvokeResponse;
44
+ export declare function FunctionInvokeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FunctionInvokeResponse;
45
+ export declare function FunctionInvokeResponseToJSON(json: any): FunctionInvokeResponse;
46
+ export declare function FunctionInvokeResponseToJSONTyped(value?: FunctionInvokeResponse | null, ignoreDiscriminator?: boolean): any;
47
+ //# sourceMappingURL=FunctionInvokeResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionInvokeResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/FunctionInvokeResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;KAAE,CAAC;IAC5C;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAG/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAUnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWlI"}
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the FunctionInvokeResponse interface.
16
+ */
17
+ export function instanceOfFunctionInvokeResponse(value) {
18
+ if (!('status' in value) || value['status'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function FunctionInvokeResponseFromJSON(json) {
23
+ return FunctionInvokeResponseFromJSONTyped(json, false);
24
+ }
25
+ export function FunctionInvokeResponseFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'status': json['status'],
31
+ 'headers': json['headers'] == null ? undefined : json['headers'],
32
+ 'bodyBase64': json['body_base64'] == null ? undefined : json['body_base64'],
33
+ };
34
+ }
35
+ export function FunctionInvokeResponseToJSON(json) {
36
+ return FunctionInvokeResponseToJSONTyped(json, false);
37
+ }
38
+ export function FunctionInvokeResponseToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'status': value['status'],
44
+ 'headers': value['headers'],
45
+ 'body_base64': value['bodyBase64'],
46
+ };
47
+ }
@@ -66,6 +66,12 @@ export interface SandboxAppServiceView {
66
66
  * @memberof SandboxAppServiceView
67
67
  */
68
68
  publishBlockers?: Array<string>;
69
+ /**
70
+ * Public HTTPS URL for this service when public exposure is enabled.
71
+ * @type {string}
72
+ * @memberof SandboxAppServiceView
73
+ */
74
+ publicUrl?: string;
69
75
  }
70
76
  /**
71
77
  * Check if a given object implements the SandboxAppServiceView interface.
@@ -1 +1 @@
1
- {"version":3,"file":"SandboxAppServiceView.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppServiceView.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,wBAAwB,CAAC;IACnC;;;;OAIG;IACH,OAAO,EAAE,wBAAwB,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,uBAAuB,CAAC;IACtC;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAM7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAejH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAgBhI"}
1
+ {"version":3,"file":"SandboxAppServiceView.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SandboxAppServiceView.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAOzE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAO3E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC;;;;OAIG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,OAAO,CAAC,EAAE,wBAAwB,CAAC;IACnC;;;;OAIG;IACH,OAAO,EAAE,wBAAwB,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,uBAAuB,CAAC;IACtC;;;;OAIG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,qBAAqB,CAM7F;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE9E;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,qBAAqB,CAgBjH;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,qBAAqB,CAE5E;AAED,wBAAgB,gCAAgC,CAAC,KAAK,CAAC,EAAE,qBAAqB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAiBhI"}
@@ -44,6 +44,7 @@ export function SandboxAppServiceViewFromJSONTyped(json, ignoreDiscriminator) {
44
44
  'healthCheck': json['health_check'] == null ? undefined : SandboxAppServiceHealthFromJSON(json['health_check']),
45
45
  'publishable': json['publishable'],
46
46
  'publishBlockers': json['publish_blockers'] == null ? undefined : json['publish_blockers'],
47
+ 'publicUrl': json['public_url'] == null ? undefined : json['public_url'],
47
48
  };
48
49
  }
49
50
  export function SandboxAppServiceViewToJSON(json) {
@@ -62,5 +63,6 @@ export function SandboxAppServiceViewToJSONTyped(value, ignoreDiscriminator = fa
62
63
  'health_check': SandboxAppServiceHealthToJSON(value['healthCheck']),
63
64
  'publishable': value['publishable'],
64
65
  'publish_blockers': value['publishBlockers'],
66
+ 'public_url': value['publicUrl'],
65
67
  };
66
68
  }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Sandbox0 API
3
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
4
+ *
5
+ * The version of the OpenAPI document: 0.1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { FunctionInvokeResponse } from './FunctionInvokeResponse.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SuccessFunctionInvokeResponse
17
+ */
18
+ export interface SuccessFunctionInvokeResponse {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof SuccessFunctionInvokeResponse
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {FunctionInvokeResponse}
28
+ * @memberof SuccessFunctionInvokeResponse
29
+ */
30
+ data?: FunctionInvokeResponse;
31
+ }
32
+ /**
33
+ * Check if a given object implements the SuccessFunctionInvokeResponse interface.
34
+ */
35
+ export declare function instanceOfSuccessFunctionInvokeResponse(value: object): value is SuccessFunctionInvokeResponse;
36
+ export declare function SuccessFunctionInvokeResponseFromJSON(json: any): SuccessFunctionInvokeResponse;
37
+ export declare function SuccessFunctionInvokeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SuccessFunctionInvokeResponse;
38
+ export declare function SuccessFunctionInvokeResponseToJSON(json: any): SuccessFunctionInvokeResponse;
39
+ export declare function SuccessFunctionInvokeResponseToJSONTyped(value?: SuccessFunctionInvokeResponse | null, ignoreDiscriminator?: boolean): any;
40
+ //# sourceMappingURL=SuccessFunctionInvokeResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SuccessFunctionInvokeResponse.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/SuccessFunctionInvokeResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAQvE;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,sBAAsB,CAAC;CACjC;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAG7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CASjI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAUhJ"}
@@ -0,0 +1,46 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Sandbox0 API
5
+ * Public HTTP APIs exposed by Sandbox0 regional gateways and the global gateway.
6
+ *
7
+ * The version of the OpenAPI document: 0.1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { FunctionInvokeResponseFromJSON, FunctionInvokeResponseToJSON, } from './FunctionInvokeResponse.js';
15
+ /**
16
+ * Check if a given object implements the SuccessFunctionInvokeResponse interface.
17
+ */
18
+ export function instanceOfSuccessFunctionInvokeResponse(value) {
19
+ if (!('success' in value) || value['success'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function SuccessFunctionInvokeResponseFromJSON(json) {
24
+ return SuccessFunctionInvokeResponseFromJSONTyped(json, false);
25
+ }
26
+ export function SuccessFunctionInvokeResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'success': json['success'],
32
+ 'data': json['data'] == null ? undefined : FunctionInvokeResponseFromJSON(json['data']),
33
+ };
34
+ }
35
+ export function SuccessFunctionInvokeResponseToJSON(json) {
36
+ return SuccessFunctionInvokeResponseToJSONTyped(json, false);
37
+ }
38
+ export function SuccessFunctionInvokeResponseToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'success': value['success'],
44
+ 'data': FunctionInvokeResponseToJSON(value['data']),
45
+ };
46
+ }
@@ -64,6 +64,8 @@ export * from './FileWatchSubscribed.js';
64
64
  export * from './FileWatchUnsubscribeRequest.js';
65
65
  export * from './FileWatchUnsubscribed.js';
66
66
  export * from './ForkVolumeRequest.js';
67
+ export * from './FunctionInvokeRequest.js';
68
+ export * from './FunctionInvokeResponse.js';
67
69
  export * from './GRPCAction.js';
68
70
  export * from './GatewayMetadata.js';
69
71
  export * from './HTTPGetAction.js';
@@ -185,6 +187,7 @@ export * from './SuccessFileReadResponse.js';
185
187
  export * from './SuccessFileReadResponseAllOfData.js';
186
188
  export * from './SuccessFileReadResponseAllOfDataOneOf.js';
187
189
  export * from './SuccessFileStatResponse.js';
190
+ export * from './SuccessFunctionInvokeResponse.js';
188
191
  export * from './SuccessGatewayMetadataResponse.js';
189
192
  export * from './SuccessHealthResponse.js';
190
193
  export * from './SuccessHealthResponseAllOfData.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/apispec/src/models/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,wBAAwB,CAAC;AACvC,cAAc,YAAY,CAAC;AAC3B,cAAc,uCAAuC,CAAC;AACtD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CA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AC;AAC1C,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC"}
@@ -66,6 +66,8 @@ export * from './FileWatchSubscribed.js';
66
66
  export * from './FileWatchUnsubscribeRequest.js';
67
67
  export * from './FileWatchUnsubscribed.js';
68
68
  export * from './ForkVolumeRequest.js';
69
+ export * from './FunctionInvokeRequest.js';
70
+ export * from './FunctionInvokeResponse.js';
69
71
  export * from './GRPCAction.js';
70
72
  export * from './GatewayMetadata.js';
71
73
  export * from './HTTPGetAction.js';
@@ -187,6 +189,7 @@ export * from './SuccessFileReadResponse.js';
187
189
  export * from './SuccessFileReadResponseAllOfData.js';
188
190
  export * from './SuccessFileReadResponseAllOfDataOneOf.js';
189
191
  export * from './SuccessFileStatResponse.js';
192
+ export * from './SuccessFunctionInvokeResponse.js';
190
193
  export * from './SuccessGatewayMetadataResponse.js';
191
194
  export * from './SuccessHealthResponse.js';
192
195
  export * from './SuccessHealthResponseAllOfData.js';
@@ -428,6 +428,16 @@ export declare const models: {
428
428
  ForkVolumeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): modelsImport.ForkVolumeRequest;
429
429
  ForkVolumeRequestToJSON(json: any): modelsImport.ForkVolumeRequest;
430
430
  ForkVolumeRequestToJSONTyped(value?: modelsImport.ForkVolumeRequest | null, ignoreDiscriminator?: boolean): any;
431
+ instanceOfFunctionInvokeRequest(value: object): value is modelsImport.FunctionInvokeRequest;
432
+ FunctionInvokeRequestFromJSON(json: any): modelsImport.FunctionInvokeRequest;
433
+ FunctionInvokeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): modelsImport.FunctionInvokeRequest;
434
+ FunctionInvokeRequestToJSON(json: any): modelsImport.FunctionInvokeRequest;
435
+ FunctionInvokeRequestToJSONTyped(value?: modelsImport.FunctionInvokeRequest | null, ignoreDiscriminator?: boolean): any;
436
+ instanceOfFunctionInvokeResponse(value: object): value is modelsImport.FunctionInvokeResponse;
437
+ FunctionInvokeResponseFromJSON(json: any): modelsImport.FunctionInvokeResponse;
438
+ FunctionInvokeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): modelsImport.FunctionInvokeResponse;
439
+ FunctionInvokeResponseToJSON(json: any): modelsImport.FunctionInvokeResponse;
440
+ FunctionInvokeResponseToJSONTyped(value?: modelsImport.FunctionInvokeResponse | null, ignoreDiscriminator?: boolean): any;
431
441
  instanceOfGRPCAction(value: object): value is modelsImport.GRPCAction;
432
442
  GRPCActionFromJSON(json: any): modelsImport.GRPCAction;
433
443
  GRPCActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): modelsImport.GRPCAction;
@@ -1097,6 +1107,11 @@ export declare const models: {
1097
1107
  SuccessFileStatResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): modelsImport.SuccessFileStatResponse;
1098
1108
  SuccessFileStatResponseToJSON(json: any): modelsImport.SuccessFileStatResponse;
1099
1109
  SuccessFileStatResponseToJSONTyped(value?: modelsImport.SuccessFileStatResponse | null, ignoreDiscriminator?: boolean): any;
1110
+ instanceOfSuccessFunctionInvokeResponse(value: object): value is modelsImport.SuccessFunctionInvokeResponse;
1111
+ SuccessFunctionInvokeResponseFromJSON(json: any): modelsImport.SuccessFunctionInvokeResponse;
1112
+ SuccessFunctionInvokeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): modelsImport.SuccessFunctionInvokeResponse;
1113
+ SuccessFunctionInvokeResponseToJSON(json: any): modelsImport.SuccessFunctionInvokeResponse;
1114
+ SuccessFunctionInvokeResponseToJSONTyped(value?: modelsImport.SuccessFunctionInvokeResponse | null, ignoreDiscriminator?: boolean): any;
1100
1115
  instanceOfSuccessGatewayMetadataResponse(value: object): value is modelsImport.SuccessGatewayMetadataResponse;
1101
1116
  SuccessGatewayMetadataResponseFromJSON(json: any): modelsImport.SuccessGatewayMetadataResponse;
1102
1117
  SuccessGatewayMetadataResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): modelsImport.SuccessGatewayMetadataResponse;
@@ -1 +1 @@
1
- {"version":3,"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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOlB,CAAC"}
package/dist/client.d.ts CHANGED
@@ -23,6 +23,7 @@ export declare class Client {
23
23
  readonly apispec: {
24
24
  sandboxes: apisTypes.SandboxesApi;
25
25
  contexts: apisTypes.ContextsApi;
26
+ functions: apisTypes.FunctionsApi;
26
27
  files: apisTypes.FilesApi;
27
28
  sandboxVolumes: apisTypes.SandboxVolumesApi;
28
29
  snapshots: apisTypes.SnapshotsApi;
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,YAAY,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,KAAK,SAAS,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,C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AAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;YAWpC,QAAQ;CAiCvB"}
package/dist/client.js CHANGED
@@ -44,6 +44,7 @@ export class Client {
44
44
  this.apispec = {
45
45
  sandboxes: new apis.SandboxesApi(this.configuration),
46
46
  contexts: new apis.ContextsApi(this.configuration),
47
+ functions: new apis.FunctionsApi(this.configuration),
47
48
  files: new apis.FilesApi(this.configuration),
48
49
  sandboxVolumes: new apis.SandboxVolumesApi(this.configuration),
49
50
  snapshots: new apis.SnapshotsApi(this.configuration),
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from "./sessions.js";
8
8
  export { apis, models, runtime } from "./apispec_compat.js";
9
9
  export * as apispec from "./apispec_compat.js";
10
10
  import "./sandbox_contexts.js";
11
+ import "./sandbox_functions.js";
11
12
  import "./sandbox_files.js";
12
13
  import "./sandbox_network.js";
13
14
  import "./sandbox_services.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,aAAa,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,aAAa,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,cAAc,oBAAoB,CAAC;AACnC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,oBAAoB,CAAC;AAC5B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,iBAAiB,CAAC;AACzB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,gBAAgB,CAAC"}
package/dist/index.js CHANGED
@@ -8,6 +8,7 @@ export * from "./sessions.js";
8
8
  export { apis, models, runtime } from "./apispec_compat.js";
9
9
  export * as apispec from "./apispec_compat.js";
10
10
  import "./sandbox_contexts.js";
11
+ import "./sandbox_functions.js";
11
12
  import "./sandbox_files.js";
12
13
  import "./sandbox_network.js";
13
14
  import "./sandbox_services.js";
@@ -0,0 +1,7 @@
1
+ import type { FunctionInvokeRequest, FunctionInvokeResponse } from "./apispec/src/models/index.js";
2
+ declare module "./sandbox" {
3
+ interface Sandbox {
4
+ invokeFunction(name: string, request?: FunctionInvokeRequest): Promise<FunctionInvokeResponse>;
5
+ }
6
+ }
7
+ //# sourceMappingURL=sandbox_functions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sandbox_functions.d.ts","sourceRoot":"","sources":["../src/sandbox_functions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,4BAA4B,CAAC;AAUpC,OAAO,QAAQ,WAAW,CAAC;IACzB,UAAU,OAAO;QACf,cAAc,CACZ,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,qBAAqB,GAC9B,OAAO,CAAC,sBAAsB,CAAC,CAAC;KACpC;CACF"}
@@ -0,0 +1,22 @@
1
+ import { APIError, wrapApiCall } from "./errors.js";
2
+ import { ensureData } from "./response.js";
3
+ import { Sandbox } from "./sandbox.js";
4
+ function getClient(sandbox) {
5
+ return sandbox.client;
6
+ }
7
+ Sandbox.prototype.invokeFunction = async function (name, request = {}) {
8
+ if (!name.trim()) {
9
+ throw new APIError({
10
+ statusCode: 0,
11
+ code: "invalid_argument",
12
+ message: "function name is required",
13
+ });
14
+ }
15
+ const client = getClient(this);
16
+ const response = await wrapApiCall(() => client.apispec.functions.apiV1SandboxesIdFunctionsNameInvokePost({
17
+ id: this.id,
18
+ name,
19
+ functionInvokeRequest: request,
20
+ }));
21
+ return ensureData(response, "invoke function returned empty response");
22
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sandbox0",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "description": "Sandbox0 JavaScript/TypeScript SDK",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Sandbox0 Team",