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,401 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { CreateResource } from '../models/CreateResource';
6
- import type { EditResource } from '../models/EditResource';
7
- import type { EditResourceType } from '../models/EditResourceType';
8
- import type { ListableResource } from '../models/ListableResource';
9
- import type { Resource } from '../models/Resource';
10
- import type { ResourceType } from '../models/ResourceType';
11
-
12
- import type { CancelablePromise } from '../core/CancelablePromise';
13
- import { OpenAPI } from '../core/OpenAPI';
14
- import { request as __request } from '../core/request';
15
-
16
- export class ResourceService {
17
-
18
- /**
19
- * create resource
20
- * @returns string resource created
21
- * @throws ApiError
22
- */
23
- public static createResource({
24
- workspace,
25
- requestBody,
26
- updateIfExists,
27
- }: {
28
- workspace: string,
29
- /**
30
- * new resource
31
- */
32
- requestBody: CreateResource,
33
- updateIfExists?: boolean,
34
- }): CancelablePromise<string> {
35
- return __request(OpenAPI, {
36
- method: 'POST',
37
- url: '/w/{workspace}/resources/create',
38
- path: {
39
- 'workspace': workspace,
40
- },
41
- query: {
42
- 'update_if_exists': updateIfExists,
43
- },
44
- body: requestBody,
45
- mediaType: 'application/json',
46
- });
47
- }
48
-
49
- /**
50
- * delete resource
51
- * @returns string resource deleted
52
- * @throws ApiError
53
- */
54
- public static deleteResource({
55
- workspace,
56
- path,
57
- }: {
58
- workspace: string,
59
- path: string,
60
- }): CancelablePromise<string> {
61
- return __request(OpenAPI, {
62
- method: 'DELETE',
63
- url: '/w/{workspace}/resources/delete/{path}',
64
- path: {
65
- 'workspace': workspace,
66
- 'path': path,
67
- },
68
- });
69
- }
70
-
71
- /**
72
- * update resource
73
- * @returns string resource updated
74
- * @throws ApiError
75
- */
76
- public static updateResource({
77
- workspace,
78
- path,
79
- requestBody,
80
- }: {
81
- workspace: string,
82
- path: string,
83
- /**
84
- * updated resource
85
- */
86
- requestBody: EditResource,
87
- }): CancelablePromise<string> {
88
- return __request(OpenAPI, {
89
- method: 'POST',
90
- url: '/w/{workspace}/resources/update/{path}',
91
- path: {
92
- 'workspace': workspace,
93
- 'path': path,
94
- },
95
- body: requestBody,
96
- mediaType: 'application/json',
97
- });
98
- }
99
-
100
- /**
101
- * update resource value
102
- * @returns string resource value updated
103
- * @throws ApiError
104
- */
105
- public static updateResourceValue({
106
- workspace,
107
- path,
108
- requestBody,
109
- }: {
110
- workspace: string,
111
- path: string,
112
- /**
113
- * updated resource
114
- */
115
- requestBody: {
116
- value?: any;
117
- },
118
- }): CancelablePromise<string> {
119
- return __request(OpenAPI, {
120
- method: 'POST',
121
- url: '/w/{workspace}/resources/update_value/{path}',
122
- path: {
123
- 'workspace': workspace,
124
- 'path': path,
125
- },
126
- body: requestBody,
127
- mediaType: 'application/json',
128
- });
129
- }
130
-
131
- /**
132
- * get resource
133
- * @returns Resource resource
134
- * @throws ApiError
135
- */
136
- public static getResource({
137
- workspace,
138
- path,
139
- }: {
140
- workspace: string,
141
- path: string,
142
- }): CancelablePromise<Resource> {
143
- return __request(OpenAPI, {
144
- method: 'GET',
145
- url: '/w/{workspace}/resources/get/{path}',
146
- path: {
147
- 'workspace': workspace,
148
- 'path': path,
149
- },
150
- });
151
- }
152
-
153
- /**
154
- * get resource value
155
- * @returns any resource value
156
- * @throws ApiError
157
- */
158
- public static getResourceValue({
159
- workspace,
160
- path,
161
- }: {
162
- workspace: string,
163
- path: string,
164
- }): CancelablePromise<any> {
165
- return __request(OpenAPI, {
166
- method: 'GET',
167
- url: '/w/{workspace}/resources/get_value/{path}',
168
- path: {
169
- 'workspace': workspace,
170
- 'path': path,
171
- },
172
- });
173
- }
174
-
175
- /**
176
- * does resource exists
177
- * @returns boolean does resource exists
178
- * @throws ApiError
179
- */
180
- public static existsResource({
181
- workspace,
182
- path,
183
- }: {
184
- workspace: string,
185
- path: string,
186
- }): CancelablePromise<boolean> {
187
- return __request(OpenAPI, {
188
- method: 'GET',
189
- url: '/w/{workspace}/resources/exists/{path}',
190
- path: {
191
- 'workspace': workspace,
192
- 'path': path,
193
- },
194
- });
195
- }
196
-
197
- /**
198
- * list resources
199
- * @returns ListableResource resource list
200
- * @throws ApiError
201
- */
202
- public static listResource({
203
- workspace,
204
- page,
205
- perPage,
206
- resourceType,
207
- resourceTypeExclude,
208
- }: {
209
- workspace: string,
210
- /**
211
- * which page to return (start at 1, default 1)
212
- */
213
- page?: number,
214
- /**
215
- * number of items to return for a given page (default 30, max 100)
216
- */
217
- perPage?: number,
218
- /**
219
- * resource_types to list from, separated by ',',
220
- */
221
- resourceType?: string,
222
- /**
223
- * resource_types to not list from, separated by ',',
224
- */
225
- resourceTypeExclude?: string,
226
- }): CancelablePromise<Array<ListableResource>> {
227
- return __request(OpenAPI, {
228
- method: 'GET',
229
- url: '/w/{workspace}/resources/list',
230
- path: {
231
- 'workspace': workspace,
232
- },
233
- query: {
234
- 'page': page,
235
- 'per_page': perPage,
236
- 'resource_type': resourceType,
237
- 'resource_type_exclude': resourceTypeExclude,
238
- },
239
- });
240
- }
241
-
242
- /**
243
- * create resource_type
244
- * @returns string resource_type created
245
- * @throws ApiError
246
- */
247
- public static createResourceType({
248
- workspace,
249
- requestBody,
250
- }: {
251
- workspace: string,
252
- /**
253
- * new resource_type
254
- */
255
- requestBody: ResourceType,
256
- }): CancelablePromise<string> {
257
- return __request(OpenAPI, {
258
- method: 'POST',
259
- url: '/w/{workspace}/resources/type/create',
260
- path: {
261
- 'workspace': workspace,
262
- },
263
- body: requestBody,
264
- mediaType: 'application/json',
265
- });
266
- }
267
-
268
- /**
269
- * delete resource_type
270
- * @returns string resource_type deleted
271
- * @throws ApiError
272
- */
273
- public static deleteResourceType({
274
- workspace,
275
- path,
276
- }: {
277
- workspace: string,
278
- path: string,
279
- }): CancelablePromise<string> {
280
- return __request(OpenAPI, {
281
- method: 'DELETE',
282
- url: '/w/{workspace}/resources/type/delete/{path}',
283
- path: {
284
- 'workspace': workspace,
285
- 'path': path,
286
- },
287
- });
288
- }
289
-
290
- /**
291
- * update resource_type
292
- * @returns string resource_type updated
293
- * @throws ApiError
294
- */
295
- public static updateResourceType({
296
- workspace,
297
- path,
298
- requestBody,
299
- }: {
300
- workspace: string,
301
- path: string,
302
- /**
303
- * updated resource_type
304
- */
305
- requestBody: EditResourceType,
306
- }): CancelablePromise<string> {
307
- return __request(OpenAPI, {
308
- method: 'POST',
309
- url: '/w/{workspace}/resources/type/update/{path}',
310
- path: {
311
- 'workspace': workspace,
312
- 'path': path,
313
- },
314
- body: requestBody,
315
- mediaType: 'application/json',
316
- });
317
- }
318
-
319
- /**
320
- * get resource_type
321
- * @returns ResourceType resource_type deleted
322
- * @throws ApiError
323
- */
324
- public static getResourceType({
325
- workspace,
326
- path,
327
- }: {
328
- workspace: string,
329
- path: string,
330
- }): CancelablePromise<ResourceType> {
331
- return __request(OpenAPI, {
332
- method: 'GET',
333
- url: '/w/{workspace}/resources/type/get/{path}',
334
- path: {
335
- 'workspace': workspace,
336
- 'path': path,
337
- },
338
- });
339
- }
340
-
341
- /**
342
- * does resource_type exists
343
- * @returns boolean does resource_type exist
344
- * @throws ApiError
345
- */
346
- public static existsResourceType({
347
- workspace,
348
- path,
349
- }: {
350
- workspace: string,
351
- path: string,
352
- }): CancelablePromise<boolean> {
353
- return __request(OpenAPI, {
354
- method: 'GET',
355
- url: '/w/{workspace}/resources/type/exists/{path}',
356
- path: {
357
- 'workspace': workspace,
358
- 'path': path,
359
- },
360
- });
361
- }
362
-
363
- /**
364
- * list resource_types
365
- * @returns ResourceType resource_type list
366
- * @throws ApiError
367
- */
368
- public static listResourceType({
369
- workspace,
370
- }: {
371
- workspace: string,
372
- }): CancelablePromise<Array<ResourceType>> {
373
- return __request(OpenAPI, {
374
- method: 'GET',
375
- url: '/w/{workspace}/resources/type/list',
376
- path: {
377
- 'workspace': workspace,
378
- },
379
- });
380
- }
381
-
382
- /**
383
- * list resource_types names
384
- * @returns string resource_type list
385
- * @throws ApiError
386
- */
387
- public static listResourceTypeNames({
388
- workspace,
389
- }: {
390
- workspace: string,
391
- }): CancelablePromise<Array<string>> {
392
- return __request(OpenAPI, {
393
- method: 'GET',
394
- url: '/w/{workspace}/resources/type/listnames',
395
- path: {
396
- 'workspace': workspace,
397
- },
398
- });
399
- }
400
-
401
- }
@@ -1,258 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { EditSchedule } from '../models/EditSchedule';
6
- import type { NewSchedule } from '../models/NewSchedule';
7
- import type { Schedule } from '../models/Schedule';
8
- import type { ScheduleWJobs } from '../models/ScheduleWJobs';
9
-
10
- import type { CancelablePromise } from '../core/CancelablePromise';
11
- import { OpenAPI } from '../core/OpenAPI';
12
- import { request as __request } from '../core/request';
13
-
14
- export class ScheduleService {
15
-
16
- /**
17
- * preview schedule
18
- * @returns string List of 5 estimated upcoming execution events (in UTC)
19
- * @throws ApiError
20
- */
21
- public static previewSchedule({
22
- requestBody,
23
- }: {
24
- /**
25
- * schedule
26
- */
27
- requestBody: {
28
- schedule: string;
29
- timezone: string;
30
- },
31
- }): CancelablePromise<Array<string>> {
32
- return __request(OpenAPI, {
33
- method: 'POST',
34
- url: '/schedules/preview',
35
- body: requestBody,
36
- mediaType: 'application/json',
37
- });
38
- }
39
-
40
- /**
41
- * create schedule
42
- * @returns string schedule created
43
- * @throws ApiError
44
- */
45
- public static createSchedule({
46
- workspace,
47
- requestBody,
48
- }: {
49
- workspace: string,
50
- /**
51
- * new schedule
52
- */
53
- requestBody: NewSchedule,
54
- }): CancelablePromise<string> {
55
- return __request(OpenAPI, {
56
- method: 'POST',
57
- url: '/w/{workspace}/schedules/create',
58
- path: {
59
- 'workspace': workspace,
60
- },
61
- body: requestBody,
62
- mediaType: 'application/json',
63
- });
64
- }
65
-
66
- /**
67
- * update schedule
68
- * @returns string schedule updated
69
- * @throws ApiError
70
- */
71
- public static updateSchedule({
72
- workspace,
73
- path,
74
- requestBody,
75
- }: {
76
- workspace: string,
77
- path: string,
78
- /**
79
- * updated schedule
80
- */
81
- requestBody: EditSchedule,
82
- }): CancelablePromise<string> {
83
- return __request(OpenAPI, {
84
- method: 'POST',
85
- url: '/w/{workspace}/schedules/update/{path}',
86
- path: {
87
- 'workspace': workspace,
88
- 'path': path,
89
- },
90
- body: requestBody,
91
- mediaType: 'application/json',
92
- });
93
- }
94
-
95
- /**
96
- * set enabled schedule
97
- * @returns string schedule enabled set
98
- * @throws ApiError
99
- */
100
- public static setScheduleEnabled({
101
- workspace,
102
- path,
103
- requestBody,
104
- }: {
105
- workspace: string,
106
- path: string,
107
- /**
108
- * updated schedule enable
109
- */
110
- requestBody: {
111
- enabled: boolean;
112
- },
113
- }): CancelablePromise<string> {
114
- return __request(OpenAPI, {
115
- method: 'POST',
116
- url: '/w/{workspace}/schedules/setenabled/{path}',
117
- path: {
118
- 'workspace': workspace,
119
- 'path': path,
120
- },
121
- body: requestBody,
122
- mediaType: 'application/json',
123
- });
124
- }
125
-
126
- /**
127
- * delete schedule
128
- * @returns string schedule deleted
129
- * @throws ApiError
130
- */
131
- public static deleteSchedule({
132
- workspace,
133
- path,
134
- }: {
135
- workspace: string,
136
- path: string,
137
- }): CancelablePromise<string> {
138
- return __request(OpenAPI, {
139
- method: 'DELETE',
140
- url: '/w/{workspace}/schedules/delete/{path}',
141
- path: {
142
- 'workspace': workspace,
143
- 'path': path,
144
- },
145
- });
146
- }
147
-
148
- /**
149
- * get schedule
150
- * @returns Schedule schedule deleted
151
- * @throws ApiError
152
- */
153
- public static getSchedule({
154
- workspace,
155
- path,
156
- }: {
157
- workspace: string,
158
- path: string,
159
- }): CancelablePromise<Schedule> {
160
- return __request(OpenAPI, {
161
- method: 'GET',
162
- url: '/w/{workspace}/schedules/get/{path}',
163
- path: {
164
- 'workspace': workspace,
165
- 'path': path,
166
- },
167
- });
168
- }
169
-
170
- /**
171
- * does schedule exists
172
- * @returns boolean schedule exists
173
- * @throws ApiError
174
- */
175
- public static existsSchedule({
176
- workspace,
177
- path,
178
- }: {
179
- workspace: string,
180
- path: string,
181
- }): CancelablePromise<boolean> {
182
- return __request(OpenAPI, {
183
- method: 'GET',
184
- url: '/w/{workspace}/schedules/exists/{path}',
185
- path: {
186
- 'workspace': workspace,
187
- 'path': path,
188
- },
189
- });
190
- }
191
-
192
- /**
193
- * list schedules
194
- * @returns Schedule schedule list
195
- * @throws ApiError
196
- */
197
- public static listSchedules({
198
- workspace,
199
- page,
200
- perPage,
201
- }: {
202
- workspace: string,
203
- /**
204
- * which page to return (start at 1, default 1)
205
- */
206
- page?: number,
207
- /**
208
- * number of items to return for a given page (default 30, max 100)
209
- */
210
- perPage?: number,
211
- }): CancelablePromise<Array<Schedule>> {
212
- return __request(OpenAPI, {
213
- method: 'GET',
214
- url: '/w/{workspace}/schedules/list',
215
- path: {
216
- 'workspace': workspace,
217
- },
218
- query: {
219
- 'page': page,
220
- 'per_page': perPage,
221
- },
222
- });
223
- }
224
-
225
- /**
226
- * list schedules with last 20 jobs
227
- * @returns ScheduleWJobs schedule list
228
- * @throws ApiError
229
- */
230
- public static listSchedulesWithJobs({
231
- workspace,
232
- page,
233
- perPage,
234
- }: {
235
- workspace: string,
236
- /**
237
- * which page to return (start at 1, default 1)
238
- */
239
- page?: number,
240
- /**
241
- * number of items to return for a given page (default 30, max 100)
242
- */
243
- perPage?: number,
244
- }): CancelablePromise<Array<ScheduleWJobs>> {
245
- return __request(OpenAPI, {
246
- method: 'GET',
247
- url: '/w/{workspace}/schedules/list_with_jobs',
248
- path: {
249
- 'workspace': workspace,
250
- },
251
- query: {
252
- 'page': page,
253
- 'per_page': perPage,
254
- },
255
- });
256
- }
257
-
258
- }