windmill-client 0.3.5 → 0.3.7
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/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/package.json +9 -2
- package/build.sh +0 -8
- package/client.ts +0 -364
- package/publish.sh +0 -5
- package/src/client.ts +0 -364
- package/src/core/ApiError.ts +0 -25
- package/src/core/ApiRequestOptions.ts +0 -17
- package/src/core/ApiResult.ts +0 -11
- package/src/core/CancelablePromise.ts +0 -131
- package/src/core/OpenAPI.ts +0 -32
- package/src/core/request.ts +0 -322
- package/src/index.ts +0 -148
- package/src/models/AccountId.ts +0 -6
- package/src/models/ActionKind.ts +0 -14
- package/src/models/After.ts +0 -9
- package/src/models/AppWithLastVersion.ts +0 -32
- package/src/models/AppWithLastVersionWDraft.ts +0 -12
- package/src/models/ArgsFilter.ts +0 -9
- package/src/models/AuditLog.ts +0 -43
- package/src/models/Before.ts +0 -9
- package/src/models/BranchAll.ts +0 -17
- package/src/models/BranchOne.ts +0 -17
- package/src/models/ClientName.ts +0 -6
- package/src/models/CompletedJob.ts +0 -73
- package/src/models/ContextualVariable.ts +0 -11
- package/src/models/CreateInput.ts +0 -10
- package/src/models/CreateResource.ts +0 -12
- package/src/models/CreateVariable.ts +0 -14
- package/src/models/CreateWorkspace.ts +0 -11
- package/src/models/CreatedBy.ts +0 -9
- package/src/models/EditResource.ts +0 -11
- package/src/models/EditResourceType.ts +0 -10
- package/src/models/EditSchedule.ts +0 -14
- package/src/models/EditVariable.ts +0 -12
- package/src/models/EditWorkspaceUser.ts +0 -11
- package/src/models/Flow.ts +0 -10
- package/src/models/FlowMetadata.ts +0 -17
- package/src/models/FlowModule.ts +0 -33
- package/src/models/FlowModuleValue.ts +0 -17
- package/src/models/FlowPreview.ts +0 -14
- package/src/models/FlowStatus.ts +0 -19
- package/src/models/FlowStatusModule.ts +0 -44
- package/src/models/FlowValue.ts +0 -13
- package/src/models/Folder.ts +0 -11
- package/src/models/ForloopFlow.ts +0 -16
- package/src/models/GlobalUserInfo.ts +0 -24
- package/src/models/Graphql.ts +0 -9
- package/src/models/Group.ts +0 -12
- package/src/models/Http.ts +0 -9
- package/src/models/Identity.ts +0 -10
- package/src/models/IncludeHeader.ts +0 -11
- package/src/models/Input.ts +0 -14
- package/src/models/InputId.ts +0 -6
- package/src/models/InputTransform.ts +0 -10
- package/src/models/JavascriptTransform.ts +0 -10
- package/src/models/Job.ts +0 -22
- package/src/models/JobId.ts +0 -6
- package/src/models/JobKinds.ts +0 -9
- package/src/models/ListableApp.ts +0 -28
- package/src/models/ListableRawApp.ts +0 -15
- package/src/models/ListableResource.ts +0 -20
- package/src/models/ListableVariable.ts +0 -20
- package/src/models/Login.ts +0 -10
- package/src/models/MainArgSignature.ts +0 -43
- package/src/models/Name.ts +0 -6
- package/src/models/NewJobId.ts +0 -9
- package/src/models/NewSchedule.ts +0 -18
- package/src/models/NewScript.ts +0 -44
- package/src/models/NewScriptWithDraft.ts +0 -12
- package/src/models/NewToken.ts +0 -11
- package/src/models/NewTokenImpersonate.ts +0 -11
- package/src/models/NewUser.ts +0 -11
- package/src/models/OpenFlow.ts +0 -14
- package/src/models/OpenFlowWPath.ts +0 -11
- package/src/models/Operation.ts +0 -9
- package/src/models/OrderDesc.ts +0 -9
- package/src/models/Page.ts +0 -9
- package/src/models/ParentJob.ts +0 -9
- package/src/models/Path.ts +0 -6
- package/src/models/PathFlow.ts +0 -13
- package/src/models/PathId.ts +0 -6
- package/src/models/PathScript.ts +0 -14
- package/src/models/Payload.ts +0 -11
- package/src/models/PerPage.ts +0 -9
- package/src/models/Policy.ts +0 -23
- package/src/models/Preview.ts +0 -37
- package/src/models/QueueLimit.ts +0 -10
- package/src/models/QueuedJob.ts +0 -71
- package/src/models/RawScript.ts +0 -31
- package/src/models/Resource.ts +0 -15
- package/src/models/ResourceName.ts +0 -9
- package/src/models/ResourceType.ts +0 -12
- package/src/models/ResultFilter.ts +0 -9
- package/src/models/Retry.ts +0 -17
- package/src/models/RunnableId.ts +0 -6
- package/src/models/RunnableType.ts +0 -10
- package/src/models/RunnableTypeQuery.ts +0 -8
- package/src/models/Running.ts +0 -9
- package/src/models/Schedule.ts +0 -23
- package/src/models/SchedulePath.ts +0 -9
- package/src/models/ScheduleWJobs.ts +0 -15
- package/src/models/Script.ts +0 -58
- package/src/models/ScriptArgs.ts +0 -6
- package/src/models/ScriptExactHash.ts +0 -9
- package/src/models/ScriptExactPath.ts +0 -9
- package/src/models/ScriptHash.ts +0 -6
- package/src/models/ScriptPath.ts +0 -6
- package/src/models/ScriptStartPath.ts +0 -9
- package/src/models/SlackToken.ts +0 -14
- package/src/models/StartedAfter.ts +0 -9
- package/src/models/StartedBefore.ts +0 -9
- package/src/models/StaticTransform.ts +0 -10
- package/src/models/Success.ts +0 -9
- package/src/models/Suspended.ts +0 -9
- package/src/models/Tag.ts +0 -9
- package/src/models/Token.ts +0 -6
- package/src/models/TokenResponse.ts +0 -12
- package/src/models/TruncatedToken.ts +0 -14
- package/src/models/UpdateInput.ts +0 -11
- package/src/models/Usage.ts +0 -9
- package/src/models/User.ts +0 -21
- package/src/models/UserWorkspaceList.ts +0 -14
- package/src/models/Username.ts +0 -9
- package/src/models/VersionId.ts +0 -6
- package/src/models/WorkerPing.ts +0 -14
- package/src/models/Workspace.ts +0 -12
- package/src/models/WorkspaceId.ts +0 -6
- package/src/models/WorkspaceInvite.ts +0 -12
- package/src/services/AdminService.ts +0 -91
- package/src/services/AppService.ts +0 -385
- package/src/services/AuditService.ts +0 -104
- package/src/services/CaptureService.ts +0 -80
- package/src/services/DraftService.ts +0 -63
- package/src/services/FavoriteService.ts +0 -63
- package/src/services/FlowService.ts +0 -369
- package/src/services/FolderService.ts +0 -270
- package/src/services/GranularAclService.ts +0 -105
- package/src/services/GroupService.ts +0 -239
- package/src/services/InputService.ts +0 -176
- package/src/services/JobService.ts +0 -1471
- package/src/services/OauthService.ts +0 -198
- package/src/services/RawAppService.ts +0 -210
- package/src/services/ResourceService.ts +0 -401
- package/src/services/ScheduleService.ts +0 -258
- package/src/services/ScriptService.ts +0 -517
- package/src/services/SettingsService.ts +0 -59
- package/src/services/UserService.ts +0 -614
- package/src/services/VariableService.ts +0 -221
- package/src/services/WorkerService.ts +0 -53
- package/src/services/WorkspaceService.ts +0 -494
- package/tsconfig.json +0 -110
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
import type { FlowStatus } from './FlowStatus';
|
|
7
|
-
import type { FlowValue } from './FlowValue';
|
|
8
|
-
import type { ScriptArgs } from './ScriptArgs';
|
|
9
|
-
|
|
10
|
-
export type CompletedJob = {
|
|
11
|
-
workspace_id?: string;
|
|
12
|
-
id: string;
|
|
13
|
-
parent_job?: string;
|
|
14
|
-
created_by: string;
|
|
15
|
-
created_at: string;
|
|
16
|
-
started_at: string;
|
|
17
|
-
duration_ms: number;
|
|
18
|
-
success: boolean;
|
|
19
|
-
script_path?: string;
|
|
20
|
-
script_hash?: string;
|
|
21
|
-
args?: ScriptArgs;
|
|
22
|
-
result?: any;
|
|
23
|
-
logs?: string;
|
|
24
|
-
deleted?: boolean;
|
|
25
|
-
raw_code?: string;
|
|
26
|
-
canceled: boolean;
|
|
27
|
-
canceled_by?: string;
|
|
28
|
-
canceled_reason?: string;
|
|
29
|
-
job_kind: CompletedJob.job_kind;
|
|
30
|
-
schedule_path?: string;
|
|
31
|
-
/**
|
|
32
|
-
* The user (u/userfoo) or group (g/groupfoo) whom
|
|
33
|
-
* the execution of this script will be permissioned_as and by extension its DT_TOKEN.
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
permissioned_as: string;
|
|
37
|
-
flow_status?: FlowStatus;
|
|
38
|
-
raw_flow?: FlowValue;
|
|
39
|
-
is_flow_step: boolean;
|
|
40
|
-
language?: CompletedJob.language;
|
|
41
|
-
is_skipped: boolean;
|
|
42
|
-
email: string;
|
|
43
|
-
visible_to_owner: boolean;
|
|
44
|
-
mem_peak?: number;
|
|
45
|
-
tag: string;
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export namespace CompletedJob {
|
|
49
|
-
|
|
50
|
-
export enum job_kind {
|
|
51
|
-
SCRIPT = 'script',
|
|
52
|
-
PREVIEW = 'preview',
|
|
53
|
-
DEPENDENCIES = 'dependencies',
|
|
54
|
-
FLOW = 'flow',
|
|
55
|
-
FLOWPREVIEW = 'flowpreview',
|
|
56
|
-
SCRIPT_HUB = 'script_hub',
|
|
57
|
-
IDENTITY = 'identity',
|
|
58
|
-
HTTP = 'http',
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export enum language {
|
|
62
|
-
PYTHON3 = 'python3',
|
|
63
|
-
DENO = 'deno',
|
|
64
|
-
GO = 'go',
|
|
65
|
-
BASH = 'bash',
|
|
66
|
-
POSTGRESQL = 'postgresql',
|
|
67
|
-
NATIVETS = 'nativets',
|
|
68
|
-
BUN = 'bun',
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
export type CreateResource = {
|
|
7
|
-
path: string;
|
|
8
|
-
value: any;
|
|
9
|
-
description?: string;
|
|
10
|
-
resource_type: string;
|
|
11
|
-
};
|
|
12
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
export type CreateVariable = {
|
|
7
|
-
path: string;
|
|
8
|
-
value: string;
|
|
9
|
-
is_secret: boolean;
|
|
10
|
-
description: string;
|
|
11
|
-
account?: number;
|
|
12
|
-
is_oauth?: boolean;
|
|
13
|
-
};
|
|
14
|
-
|
package/src/models/CreatedBy.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
import type { ScriptArgs } from './ScriptArgs';
|
|
7
|
-
|
|
8
|
-
export type EditSchedule = {
|
|
9
|
-
schedule: string;
|
|
10
|
-
timezone: string;
|
|
11
|
-
args: ScriptArgs;
|
|
12
|
-
on_failure?: string;
|
|
13
|
-
};
|
|
14
|
-
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
export type EditVariable = {
|
|
7
|
-
path?: string;
|
|
8
|
-
value?: string;
|
|
9
|
-
is_secret?: boolean;
|
|
10
|
-
description?: string;
|
|
11
|
-
};
|
|
12
|
-
|
package/src/models/Flow.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
import type { FlowMetadata } from './FlowMetadata';
|
|
7
|
-
import type { OpenFlow } from './OpenFlow';
|
|
8
|
-
|
|
9
|
-
export type Flow = (OpenFlow & FlowMetadata);
|
|
10
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
export type FlowMetadata = {
|
|
7
|
-
workspace_id?: string;
|
|
8
|
-
path: string;
|
|
9
|
-
edited_by: string;
|
|
10
|
-
edited_at: string;
|
|
11
|
-
archived: boolean;
|
|
12
|
-
extra_perms: Record<string, any>;
|
|
13
|
-
additionalProperties?: boolean;
|
|
14
|
-
starred?: boolean;
|
|
15
|
-
draft_only?: boolean;
|
|
16
|
-
};
|
|
17
|
-
|
package/src/models/FlowModule.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
import type { FlowModuleValue } from './FlowModuleValue';
|
|
7
|
-
import type { InputTransform } from './InputTransform';
|
|
8
|
-
import type { Retry } from './Retry';
|
|
9
|
-
|
|
10
|
-
export type FlowModule = {
|
|
11
|
-
id: string;
|
|
12
|
-
value: FlowModuleValue;
|
|
13
|
-
stop_after_if?: {
|
|
14
|
-
skip_if_stopped?: boolean;
|
|
15
|
-
expr: string;
|
|
16
|
-
};
|
|
17
|
-
sleep?: InputTransform;
|
|
18
|
-
cache_ttl?: number;
|
|
19
|
-
summary?: string;
|
|
20
|
-
mock?: {
|
|
21
|
-
enabled?: boolean;
|
|
22
|
-
return_value?: any;
|
|
23
|
-
};
|
|
24
|
-
suspend?: {
|
|
25
|
-
required_events?: number;
|
|
26
|
-
timeout?: number;
|
|
27
|
-
resume_form?: {
|
|
28
|
-
schema?: Record<string, any>;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
retry?: Retry;
|
|
32
|
-
};
|
|
33
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
import type { BranchAll } from './BranchAll';
|
|
7
|
-
import type { BranchOne } from './BranchOne';
|
|
8
|
-
import type { ForloopFlow } from './ForloopFlow';
|
|
9
|
-
import type { Graphql } from './Graphql';
|
|
10
|
-
import type { Http } from './Http';
|
|
11
|
-
import type { Identity } from './Identity';
|
|
12
|
-
import type { PathFlow } from './PathFlow';
|
|
13
|
-
import type { PathScript } from './PathScript';
|
|
14
|
-
import type { RawScript } from './RawScript';
|
|
15
|
-
|
|
16
|
-
export type FlowModuleValue = (RawScript | PathScript | PathFlow | ForloopFlow | BranchOne | BranchAll | Identity | Http | Graphql);
|
|
17
|
-
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
import type { FlowValue } from './FlowValue';
|
|
7
|
-
import type { ScriptArgs } from './ScriptArgs';
|
|
8
|
-
|
|
9
|
-
export type FlowPreview = {
|
|
10
|
-
value: FlowValue;
|
|
11
|
-
path?: string;
|
|
12
|
-
args: ScriptArgs;
|
|
13
|
-
};
|
|
14
|
-
|
package/src/models/FlowStatus.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
import type { FlowStatusModule } from './FlowStatusModule';
|
|
7
|
-
|
|
8
|
-
export type FlowStatus = {
|
|
9
|
-
step: number;
|
|
10
|
-
modules: Array<FlowStatusModule>;
|
|
11
|
-
failure_module: (FlowStatusModule & {
|
|
12
|
-
parent_module?: string;
|
|
13
|
-
});
|
|
14
|
-
retry?: {
|
|
15
|
-
fail_count?: number;
|
|
16
|
-
failed_jobs?: Array<string>;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
export type FlowStatusModule = {
|
|
7
|
-
type: FlowStatusModule.type;
|
|
8
|
-
id?: string;
|
|
9
|
-
job?: string;
|
|
10
|
-
count?: number;
|
|
11
|
-
iterator?: {
|
|
12
|
-
index?: number;
|
|
13
|
-
itered?: Array<any>;
|
|
14
|
-
args?: any;
|
|
15
|
-
};
|
|
16
|
-
flow_jobs?: Array<string>;
|
|
17
|
-
branch_chosen?: {
|
|
18
|
-
type: FlowStatusModule.type;
|
|
19
|
-
branch?: number;
|
|
20
|
-
};
|
|
21
|
-
branchall?: {
|
|
22
|
-
branch: number;
|
|
23
|
-
len: number;
|
|
24
|
-
};
|
|
25
|
-
approvers?: Array<{
|
|
26
|
-
resume_id: number;
|
|
27
|
-
approver: string;
|
|
28
|
-
}>;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export namespace FlowStatusModule {
|
|
32
|
-
|
|
33
|
-
export enum type {
|
|
34
|
-
WAITING_FOR_PRIOR_STEPS = 'WaitingForPriorSteps',
|
|
35
|
-
WAITING_FOR_EVENTS = 'WaitingForEvents',
|
|
36
|
-
WAITING_FOR_EXECUTOR = 'WaitingForExecutor',
|
|
37
|
-
IN_PROGRESS = 'InProgress',
|
|
38
|
-
SUCCESS = 'Success',
|
|
39
|
-
FAILURE = 'Failure',
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
|
package/src/models/FlowValue.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
import type { FlowModule } from './FlowModule';
|
|
7
|
-
|
|
8
|
-
export type FlowValue = {
|
|
9
|
-
modules: Array<FlowModule>;
|
|
10
|
-
failure_module?: FlowModule;
|
|
11
|
-
same_worker?: boolean;
|
|
12
|
-
};
|
|
13
|
-
|
package/src/models/Folder.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
import type { FlowModule } from './FlowModule';
|
|
7
|
-
import type { InputTransform } from './InputTransform';
|
|
8
|
-
|
|
9
|
-
export type ForloopFlow = {
|
|
10
|
-
modules: Array<FlowModule>;
|
|
11
|
-
iterator: InputTransform;
|
|
12
|
-
skip_failures: boolean;
|
|
13
|
-
type: 'forloopflow';
|
|
14
|
-
parallel?: boolean;
|
|
15
|
-
};
|
|
16
|
-
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
export type GlobalUserInfo = {
|
|
7
|
-
email: string;
|
|
8
|
-
login_type: GlobalUserInfo.login_type;
|
|
9
|
-
super_admin: boolean;
|
|
10
|
-
verified: boolean;
|
|
11
|
-
name?: string;
|
|
12
|
-
company?: string;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export namespace GlobalUserInfo {
|
|
16
|
-
|
|
17
|
-
export enum login_type {
|
|
18
|
-
PASSWORD = 'password',
|
|
19
|
-
GITHUB = 'github',
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
package/src/models/Graphql.ts
DELETED
package/src/models/Group.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
export type Group = {
|
|
7
|
-
name: string;
|
|
8
|
-
summary?: string;
|
|
9
|
-
members?: Array<string>;
|
|
10
|
-
extra_perms?: Record<string, boolean>;
|
|
11
|
-
};
|
|
12
|
-
|
package/src/models/Http.ts
DELETED
package/src/models/Identity.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* List of headers's keys (separated with ',') whove value are added to the args
|
|
8
|
-
* Header's key lowercased and '-'' replaced to '_' such that 'Content-Type' becomes the 'content_type' arg key
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
export type IncludeHeader = string;
|
package/src/models/Input.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
export type Input = {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
args: Record<string, any>;
|
|
10
|
-
created_by: string;
|
|
11
|
-
created_at: string;
|
|
12
|
-
is_public: boolean;
|
|
13
|
-
};
|
|
14
|
-
|
package/src/models/InputId.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
import type { JavascriptTransform } from './JavascriptTransform';
|
|
7
|
-
import type { StaticTransform } from './StaticTransform';
|
|
8
|
-
|
|
9
|
-
export type InputTransform = (StaticTransform | JavascriptTransform);
|
|
10
|
-
|
package/src/models/Job.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
import type { CompletedJob } from './CompletedJob';
|
|
7
|
-
import type { QueuedJob } from './QueuedJob';
|
|
8
|
-
|
|
9
|
-
export type Job = ((CompletedJob | QueuedJob) & {
|
|
10
|
-
type?: Job.type;
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
export namespace Job {
|
|
14
|
-
|
|
15
|
-
export enum type {
|
|
16
|
-
COMPLETED_JOB = 'CompletedJob',
|
|
17
|
-
QUEUED_JOB = 'QueuedJob',
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
package/src/models/JobId.ts
DELETED
package/src/models/JobKinds.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* filter on job kind (values 'preview', 'script', 'dependencies', 'flow') separated by,
|
|
8
|
-
*/
|
|
9
|
-
export type JobKinds = string;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
export type ListableApp = {
|
|
7
|
-
id: number;
|
|
8
|
-
workspace_id: string;
|
|
9
|
-
path: string;
|
|
10
|
-
summary: string;
|
|
11
|
-
version: number;
|
|
12
|
-
extra_perms: Record<string, boolean>;
|
|
13
|
-
starred?: boolean;
|
|
14
|
-
edited_at: string;
|
|
15
|
-
execution_mode: ListableApp.execution_mode;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export namespace ListableApp {
|
|
19
|
-
|
|
20
|
-
export enum execution_mode {
|
|
21
|
-
VIEWER = 'viewer',
|
|
22
|
-
PUBLISHER = 'publisher',
|
|
23
|
-
ANONYMOUS = 'anonymous',
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
export type ListableRawApp = {
|
|
7
|
-
workspace_id: string;
|
|
8
|
-
path: string;
|
|
9
|
-
summary: string;
|
|
10
|
-
extra_perms: Record<string, boolean>;
|
|
11
|
-
starred?: boolean;
|
|
12
|
-
version: number;
|
|
13
|
-
edited_at: string;
|
|
14
|
-
};
|
|
15
|
-
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
|
|
6
|
-
export type ListableResource = {
|
|
7
|
-
workspace_id?: string;
|
|
8
|
-
path: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
resource_type: string;
|
|
11
|
-
value?: any;
|
|
12
|
-
is_oauth: boolean;
|
|
13
|
-
extra_perms?: Record<string, boolean>;
|
|
14
|
-
is_expired?: boolean;
|
|
15
|
-
refresh_error?: string;
|
|
16
|
-
is_linked: boolean;
|
|
17
|
-
is_refreshed: boolean;
|
|
18
|
-
account?: number;
|
|
19
|
-
};
|
|
20
|
-
|