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.
Files changed (153) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.js +3 -1
  3. package/package.json +9 -2
  4. package/build.sh +0 -8
  5. package/client.ts +0 -364
  6. package/publish.sh +0 -5
  7. package/src/client.ts +0 -364
  8. package/src/core/ApiError.ts +0 -25
  9. package/src/core/ApiRequestOptions.ts +0 -17
  10. package/src/core/ApiResult.ts +0 -11
  11. package/src/core/CancelablePromise.ts +0 -131
  12. package/src/core/OpenAPI.ts +0 -32
  13. package/src/core/request.ts +0 -322
  14. package/src/index.ts +0 -148
  15. package/src/models/AccountId.ts +0 -6
  16. package/src/models/ActionKind.ts +0 -14
  17. package/src/models/After.ts +0 -9
  18. package/src/models/AppWithLastVersion.ts +0 -32
  19. package/src/models/AppWithLastVersionWDraft.ts +0 -12
  20. package/src/models/ArgsFilter.ts +0 -9
  21. package/src/models/AuditLog.ts +0 -43
  22. package/src/models/Before.ts +0 -9
  23. package/src/models/BranchAll.ts +0 -17
  24. package/src/models/BranchOne.ts +0 -17
  25. package/src/models/ClientName.ts +0 -6
  26. package/src/models/CompletedJob.ts +0 -73
  27. package/src/models/ContextualVariable.ts +0 -11
  28. package/src/models/CreateInput.ts +0 -10
  29. package/src/models/CreateResource.ts +0 -12
  30. package/src/models/CreateVariable.ts +0 -14
  31. package/src/models/CreateWorkspace.ts +0 -11
  32. package/src/models/CreatedBy.ts +0 -9
  33. package/src/models/EditResource.ts +0 -11
  34. package/src/models/EditResourceType.ts +0 -10
  35. package/src/models/EditSchedule.ts +0 -14
  36. package/src/models/EditVariable.ts +0 -12
  37. package/src/models/EditWorkspaceUser.ts +0 -11
  38. package/src/models/Flow.ts +0 -10
  39. package/src/models/FlowMetadata.ts +0 -17
  40. package/src/models/FlowModule.ts +0 -33
  41. package/src/models/FlowModuleValue.ts +0 -17
  42. package/src/models/FlowPreview.ts +0 -14
  43. package/src/models/FlowStatus.ts +0 -19
  44. package/src/models/FlowStatusModule.ts +0 -44
  45. package/src/models/FlowValue.ts +0 -13
  46. package/src/models/Folder.ts +0 -11
  47. package/src/models/ForloopFlow.ts +0 -16
  48. package/src/models/GlobalUserInfo.ts +0 -24
  49. package/src/models/Graphql.ts +0 -9
  50. package/src/models/Group.ts +0 -12
  51. package/src/models/Http.ts +0 -9
  52. package/src/models/Identity.ts +0 -10
  53. package/src/models/IncludeHeader.ts +0 -11
  54. package/src/models/Input.ts +0 -14
  55. package/src/models/InputId.ts +0 -6
  56. package/src/models/InputTransform.ts +0 -10
  57. package/src/models/JavascriptTransform.ts +0 -10
  58. package/src/models/Job.ts +0 -22
  59. package/src/models/JobId.ts +0 -6
  60. package/src/models/JobKinds.ts +0 -9
  61. package/src/models/ListableApp.ts +0 -28
  62. package/src/models/ListableRawApp.ts +0 -15
  63. package/src/models/ListableResource.ts +0 -20
  64. package/src/models/ListableVariable.ts +0 -20
  65. package/src/models/Login.ts +0 -10
  66. package/src/models/MainArgSignature.ts +0 -43
  67. package/src/models/Name.ts +0 -6
  68. package/src/models/NewJobId.ts +0 -9
  69. package/src/models/NewSchedule.ts +0 -18
  70. package/src/models/NewScript.ts +0 -44
  71. package/src/models/NewScriptWithDraft.ts +0 -12
  72. package/src/models/NewToken.ts +0 -11
  73. package/src/models/NewTokenImpersonate.ts +0 -11
  74. package/src/models/NewUser.ts +0 -11
  75. package/src/models/OpenFlow.ts +0 -14
  76. package/src/models/OpenFlowWPath.ts +0 -11
  77. package/src/models/Operation.ts +0 -9
  78. package/src/models/OrderDesc.ts +0 -9
  79. package/src/models/Page.ts +0 -9
  80. package/src/models/ParentJob.ts +0 -9
  81. package/src/models/Path.ts +0 -6
  82. package/src/models/PathFlow.ts +0 -13
  83. package/src/models/PathId.ts +0 -6
  84. package/src/models/PathScript.ts +0 -14
  85. package/src/models/Payload.ts +0 -11
  86. package/src/models/PerPage.ts +0 -9
  87. package/src/models/Policy.ts +0 -23
  88. package/src/models/Preview.ts +0 -37
  89. package/src/models/QueueLimit.ts +0 -10
  90. package/src/models/QueuedJob.ts +0 -71
  91. package/src/models/RawScript.ts +0 -31
  92. package/src/models/Resource.ts +0 -15
  93. package/src/models/ResourceName.ts +0 -9
  94. package/src/models/ResourceType.ts +0 -12
  95. package/src/models/ResultFilter.ts +0 -9
  96. package/src/models/Retry.ts +0 -17
  97. package/src/models/RunnableId.ts +0 -6
  98. package/src/models/RunnableType.ts +0 -10
  99. package/src/models/RunnableTypeQuery.ts +0 -8
  100. package/src/models/Running.ts +0 -9
  101. package/src/models/Schedule.ts +0 -23
  102. package/src/models/SchedulePath.ts +0 -9
  103. package/src/models/ScheduleWJobs.ts +0 -15
  104. package/src/models/Script.ts +0 -58
  105. package/src/models/ScriptArgs.ts +0 -6
  106. package/src/models/ScriptExactHash.ts +0 -9
  107. package/src/models/ScriptExactPath.ts +0 -9
  108. package/src/models/ScriptHash.ts +0 -6
  109. package/src/models/ScriptPath.ts +0 -6
  110. package/src/models/ScriptStartPath.ts +0 -9
  111. package/src/models/SlackToken.ts +0 -14
  112. package/src/models/StartedAfter.ts +0 -9
  113. package/src/models/StartedBefore.ts +0 -9
  114. package/src/models/StaticTransform.ts +0 -10
  115. package/src/models/Success.ts +0 -9
  116. package/src/models/Suspended.ts +0 -9
  117. package/src/models/Tag.ts +0 -9
  118. package/src/models/Token.ts +0 -6
  119. package/src/models/TokenResponse.ts +0 -12
  120. package/src/models/TruncatedToken.ts +0 -14
  121. package/src/models/UpdateInput.ts +0 -11
  122. package/src/models/Usage.ts +0 -9
  123. package/src/models/User.ts +0 -21
  124. package/src/models/UserWorkspaceList.ts +0 -14
  125. package/src/models/Username.ts +0 -9
  126. package/src/models/VersionId.ts +0 -6
  127. package/src/models/WorkerPing.ts +0 -14
  128. package/src/models/Workspace.ts +0 -12
  129. package/src/models/WorkspaceId.ts +0 -6
  130. package/src/models/WorkspaceInvite.ts +0 -12
  131. package/src/services/AdminService.ts +0 -91
  132. package/src/services/AppService.ts +0 -385
  133. package/src/services/AuditService.ts +0 -104
  134. package/src/services/CaptureService.ts +0 -80
  135. package/src/services/DraftService.ts +0 -63
  136. package/src/services/FavoriteService.ts +0 -63
  137. package/src/services/FlowService.ts +0 -369
  138. package/src/services/FolderService.ts +0 -270
  139. package/src/services/GranularAclService.ts +0 -105
  140. package/src/services/GroupService.ts +0 -239
  141. package/src/services/InputService.ts +0 -176
  142. package/src/services/JobService.ts +0 -1471
  143. package/src/services/OauthService.ts +0 -198
  144. package/src/services/RawAppService.ts +0 -210
  145. package/src/services/ResourceService.ts +0 -401
  146. package/src/services/ScheduleService.ts +0 -258
  147. package/src/services/ScriptService.ts +0 -517
  148. package/src/services/SettingsService.ts +0 -59
  149. package/src/services/UserService.ts +0 -614
  150. package/src/services/VariableService.ts +0 -221
  151. package/src/services/WorkerService.ts +0 -53
  152. package/src/services/WorkspaceService.ts +0 -494
  153. package/tsconfig.json +0 -110
@@ -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 ListableVariable = {
7
- workspace_id: string;
8
- path: string;
9
- value?: string;
10
- is_secret: boolean;
11
- description?: string;
12
- account?: number;
13
- is_oauth?: boolean;
14
- extra_perms: Record<string, boolean>;
15
- is_expired?: boolean;
16
- refresh_error?: string;
17
- is_linked?: boolean;
18
- is_refreshed?: boolean;
19
- };
20
-
@@ -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
- export type Login = {
7
- email: string;
8
- password: string;
9
- };
10
-
@@ -1,43 +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 MainArgSignature = {
7
- type: MainArgSignature.type;
8
- error: string;
9
- star_args: boolean;
10
- star_kwargs?: boolean;
11
- args: Array<{
12
- name: string;
13
- typ: ('float' | 'int' | 'bool' | 'email' | 'unknown' | 'bytes' | 'dict' | 'datetime' | 'sql' | {
14
- resource: string | null;
15
- } | {
16
- str: Array<string> | null;
17
- } | {
18
- object: Array<{
19
- key: string;
20
- typ: ('float' | 'int' | 'bool' | 'email' | 'unknown' | 'bytes' | 'dict' | 'datetime' | 'sql' | {
21
- str: any;
22
- });
23
- }>;
24
- } | {
25
- list: ('float' | 'int' | 'bool' | 'email' | 'unknown' | 'bytes' | 'dict' | 'datetime' | 'sql' | {
26
- str: any;
27
- }) | null;
28
- });
29
- has_default?: boolean;
30
- default?: any;
31
- }>;
32
- };
33
-
34
- export namespace MainArgSignature {
35
-
36
- export enum type {
37
- VALID = 'Valid',
38
- INVALID = 'Invalid',
39
- }
40
-
41
-
42
- }
43
-
@@ -1,6 +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 Name = string;
@@ -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
- * The job id to assign to the created job. if missing, job is chosen randomly using the ULID scheme. If a job id already exists in the queue or as a completed job, the request to create one will fail (Bad Request)
8
- */
9
- export type NewJobId = string;
@@ -1,18 +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 NewSchedule = {
9
- path: string;
10
- schedule: string;
11
- timezone: string;
12
- script_path: string;
13
- is_flow: boolean;
14
- args: ScriptArgs;
15
- enabled?: boolean;
16
- on_failure?: string;
17
- };
18
-
@@ -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 NewScript = {
7
- path: string;
8
- parent_hash?: string;
9
- summary: string;
10
- description: string;
11
- content: string;
12
- schema?: Record<string, any>;
13
- is_template?: boolean;
14
- lock?: Array<string>;
15
- language: NewScript.language;
16
- kind?: NewScript.kind;
17
- tag?: string;
18
- draft_only?: boolean;
19
- envs?: Array<string>;
20
- };
21
-
22
- export namespace NewScript {
23
-
24
- export enum language {
25
- PYTHON3 = 'python3',
26
- DENO = 'deno',
27
- GO = 'go',
28
- BASH = 'bash',
29
- POSTGRESQL = 'postgresql',
30
- NATIVETS = 'nativets',
31
- BUN = 'bun',
32
- }
33
-
34
- export enum kind {
35
- SCRIPT = 'script',
36
- FAILURE = 'failure',
37
- TRIGGER = 'trigger',
38
- COMMAND = 'command',
39
- APPROVAL = 'approval',
40
- }
41
-
42
-
43
- }
44
-
@@ -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
- import type { NewScript } from './NewScript';
7
-
8
- export type NewScriptWithDraft = (NewScript & {
9
- draft?: NewScript;
10
- hash: string;
11
- });
12
-
@@ -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
- export type NewToken = {
7
- label?: string;
8
- expiration?: string;
9
- scopes?: Array<string>;
10
- };
11
-
@@ -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
- export type NewTokenImpersonate = {
7
- label?: string;
8
- expiration?: string;
9
- impersonate_email: string;
10
- };
11
-
@@ -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
- export type NewUser = {
7
- email: string;
8
- username: string;
9
- is_admin: boolean;
10
- };
11
-
@@ -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
-
8
- export type OpenFlow = {
9
- summary: string;
10
- description?: string;
11
- value: FlowValue;
12
- schema?: Record<string, any>;
13
- };
14
-
@@ -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
- import type { OpenFlow } from './OpenFlow';
7
-
8
- export type OpenFlowWPath = (OpenFlow & {
9
- path: string;
10
- });
11
-
@@ -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 exact or prefix name of operation
8
- */
9
- export type Operation = string;
@@ -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
- * order by desc order (default true)
8
- */
9
- export type OrderDesc = boolean;
@@ -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
- * which page to return (start at 1, default 1)
8
- */
9
- export type Page = number;
@@ -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
- * The parent job that is at the origin and responsible for the execution of this script if any
8
- */
9
- export type ParentJob = string;
@@ -1,6 +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 Path = string;
@@ -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 { InputTransform } from './InputTransform';
7
-
8
- export type PathFlow = {
9
- input_transforms: Record<string, InputTransform>;
10
- path: string;
11
- type: 'flow';
12
- };
13
-
@@ -1,6 +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 PathId = number;
@@ -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 { InputTransform } from './InputTransform';
7
-
8
- export type PathScript = {
9
- input_transforms: Record<string, InputTransform>;
10
- path: string;
11
- hash?: string;
12
- type: 'script';
13
- };
14
-
@@ -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
- * The base64 encoded payload that has been encoded as a JSON. e.g how to encode such payload encodeURIComponent
8
- * `encodeURIComponent(btoa(JSON.stringify({a: 2})))`
9
- *
10
- */
11
- export type Payload = string;
@@ -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
- * number of items to return for a given page (default 30, max 100)
8
- */
9
- export type PerPage = number;
@@ -1,23 +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 Policy = {
7
- triggerables?: Record<string, Record<string, any>>;
8
- execution_mode?: Policy.execution_mode;
9
- on_behalf_of?: string;
10
- on_behalf_of_email?: string;
11
- };
12
-
13
- export namespace Policy {
14
-
15
- export enum execution_mode {
16
- VIEWER = 'viewer',
17
- PUBLISHER = 'publisher',
18
- ANONYMOUS = 'anonymous',
19
- }
20
-
21
-
22
- }
23
-
@@ -1,37 +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 Preview = {
9
- content?: string;
10
- path?: string;
11
- args: ScriptArgs;
12
- language?: Preview.language;
13
- tag?: string;
14
- kind?: Preview.kind;
15
- };
16
-
17
- export namespace Preview {
18
-
19
- export enum language {
20
- PYTHON3 = 'python3',
21
- DENO = 'deno',
22
- GO = 'go',
23
- BASH = 'bash',
24
- POSTGRESQL = 'postgresql',
25
- NATIVETS = 'nativets',
26
- BUN = 'bun',
27
- }
28
-
29
- export enum kind {
30
- CODE = 'code',
31
- IDENTITY = 'identity',
32
- HTTP = 'http',
33
- }
34
-
35
-
36
- }
37
-
@@ -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
- /**
7
- * The maximum size of the queue for which the request would get rejected if that job would push it above that limit
8
- *
9
- */
10
- export type QueueLimit = string;
@@ -1,71 +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 QueuedJob = {
11
- workspace_id?: string;
12
- id: string;
13
- parent_job?: string;
14
- created_by?: string;
15
- created_at?: string;
16
- started_at?: string;
17
- scheduled_for?: string;
18
- running: boolean;
19
- script_path?: string;
20
- script_hash?: string;
21
- args?: ScriptArgs;
22
- logs?: string;
23
- raw_code?: string;
24
- canceled: boolean;
25
- canceled_by?: string;
26
- canceled_reason?: string;
27
- last_ping?: string;
28
- job_kind: QueuedJob.job_kind;
29
- schedule_path?: string;
30
- /**
31
- * The user (u/userfoo) or group (g/groupfoo) whom
32
- * the execution of this script will be permissioned_as and by extension its DT_TOKEN.
33
- *
34
- */
35
- permissioned_as: string;
36
- flow_status?: FlowStatus;
37
- raw_flow?: FlowValue;
38
- is_flow_step: boolean;
39
- language?: QueuedJob.language;
40
- email: string;
41
- visible_to_owner: boolean;
42
- mem_peak?: number;
43
- tag: string;
44
- };
45
-
46
- export namespace QueuedJob {
47
-
48
- export enum job_kind {
49
- SCRIPT = 'script',
50
- PREVIEW = 'preview',
51
- DEPENDENCIES = 'dependencies',
52
- FLOW = 'flow',
53
- FLOWPREVIEW = 'flowpreview',
54
- SCRIPT_HUB = 'script_hub',
55
- IDENTITY = 'identity',
56
- HTTP = 'http',
57
- }
58
-
59
- export enum language {
60
- PYTHON3 = 'python3',
61
- DENO = 'deno',
62
- GO = 'go',
63
- BASH = 'bash',
64
- POSTGRESQL = 'postgresql',
65
- NATIVETS = 'nativets',
66
- BUN = 'bun',
67
- }
68
-
69
-
70
- }
71
-
@@ -1,31 +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 { InputTransform } from './InputTransform';
7
-
8
- export type RawScript = {
9
- input_transforms: Record<string, InputTransform>;
10
- content: string;
11
- language: RawScript.language;
12
- path?: string;
13
- lock?: string;
14
- type: 'rawscript';
15
- tag?: string;
16
- };
17
-
18
- export namespace RawScript {
19
-
20
- export enum language {
21
- DENO = 'deno',
22
- PYTHON3 = 'python3',
23
- GO = 'go',
24
- BASH = 'bash',
25
- POSTGRESQL = 'postgresql',
26
- NATIVETS = 'nativets',
27
- }
28
-
29
-
30
- }
31
-
@@ -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 Resource = {
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
- };
15
-
@@ -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 exact or prefix name of resource
8
- */
9
- export type ResourceName = string;
@@ -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 ResourceType = {
7
- workspace_id?: string;
8
- name: string;
9
- schema?: any;
10
- description?: string;
11
- };
12
-
@@ -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 jobs containing those result as a json subset (@> in postgres)
8
- */
9
- export type ResultFilter = string;
@@ -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 Retry = {
7
- constant?: {
8
- attempts?: number;
9
- seconds?: number;
10
- };
11
- exponential?: {
12
- attempts?: number;
13
- multiplier?: number;
14
- seconds?: number;
15
- };
16
- };
17
-
@@ -1,6 +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 RunnableId = string;
@@ -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
- export enum RunnableType {
7
- SCRIPT_HASH = 'ScriptHash',
8
- SCRIPT_PATH = 'ScriptPath',
9
- FLOW_PATH = 'FlowPath',
10
- }
@@ -1,8 +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 { RunnableType } from './RunnableType';
7
-
8
- export type RunnableTypeQuery = RunnableType;
@@ -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 running jobs
8
- */
9
- export type Running = boolean;
@@ -1,23 +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 Schedule = {
9
- path: string;
10
- edited_by: string;
11
- edited_at: string;
12
- schedule: string;
13
- timezone: string;
14
- enabled: boolean;
15
- script_path: string;
16
- is_flow: boolean;
17
- args?: ScriptArgs;
18
- extra_perms: Record<string, boolean>;
19
- email: string;
20
- error?: string;
21
- on_failure?: string;
22
- };
23
-