@shortcut/client 1.1.0

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.
@@ -0,0 +1,1042 @@
1
+ import { Category, CreateCategory, CreateCommentComment, CreateEntityTemplate, CreateEpic, CreateEpicComment, CreateGroup, CreateIteration, CreateLabelParams, CreateLinkedFile, CreateMilestone, CreateOrDeleteStoryReaction, CreateProject, CreateStories, CreateStoryComment, CreateStoryLink, CreateStoryParams, CreateTask, CustomField, DeleteStories, EntityTemplate, Epic, EpicSearchResults, EpicSlim, EpicWorkflow, GetEpicStories, GetExternalLinkStoriesParams, GetIterationStories, GetLabelStories, GetMember, GetProjectStories, Group, History, Iteration, IterationSearchResults, IterationSlim, Label, LinkedFile, ListEpics, ListGroupStories, ListLabels, ListMembers, Member, MemberInfo, Milestone, MilestoneSearchResults, Project, Repository, Search, SearchResults, SearchStories, Story, StoryComment, StoryLink, StoryReaction, StorySearchResults, StorySlim, Task, ThreadedComment, UpdateCategory, UpdateComment, UpdateCustomField, UpdateEntityTemplate, UpdateEpic, UpdateFile, UpdateGroup, UpdateIteration, UpdateLabel, UpdateLinkedFile, UpdateMilestone, UpdateProject, UpdateStories, UpdateStory, UpdateStoryComment, UpdateStoryLink, UpdateTask, UploadedFile, Workflow } from './data-contracts';
2
+ import { HttpClient, RequestParams } from './http-client';
3
+ /**
4
+ * Please don't use this class directly, instead use the `ShortcutClient` class we provided which is extending this class to add headers for authorization. * @internal
5
+ * @private
6
+ */
7
+ export declare class Api<SecurityDataType = unknown> extends HttpClient<SecurityDataType> {
8
+ /**
9
+ * @description List Categories returns a list of all Categories and their attributes.
10
+ *
11
+ * @name ListCategories
12
+ * @summary List Categories
13
+ * @request GET:/api/v3/categories
14
+ * @secure
15
+ */
16
+ listCategories: (params?: RequestParams) => Promise<import("axios").AxiosResponse<Category[], any>>;
17
+ /**
18
+ * @description Create Category allows you to create a new Category in Shortcut.
19
+ *
20
+ * @name CreateCategory
21
+ * @summary Create Category
22
+ * @request POST:/api/v3/categories
23
+ * @secure
24
+ */
25
+ createCategory: (CreateCategory: CreateCategory, params?: RequestParams) => Promise<import("axios").AxiosResponse<Category, any>>;
26
+ /**
27
+ * @description Get Category returns information about the selected Category.
28
+ *
29
+ * @name GetCategory
30
+ * @summary Get Category
31
+ * @request GET:/api/v3/categories/{category-public-id}
32
+ * @secure
33
+ */
34
+ getCategory: (categoryPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<Category, any>>;
35
+ /**
36
+ * @description Update Category allows you to replace a Category name with another name. If you try to name a Category something that already exists, you will receive a 422 response.
37
+ *
38
+ * @name UpdateCategory
39
+ * @summary Update Category
40
+ * @request PUT:/api/v3/categories/{category-public-id}
41
+ * @secure
42
+ */
43
+ updateCategory: (categoryPublicId: number, UpdateCategory: UpdateCategory, params?: RequestParams) => Promise<import("axios").AxiosResponse<Category, any>>;
44
+ /**
45
+ * @description Delete Category can be used to delete any Category.
46
+ *
47
+ * @name DeleteCategory
48
+ * @summary Delete Category
49
+ * @request DELETE:/api/v3/categories/{category-public-id}
50
+ * @secure
51
+ */
52
+ deleteCategory: (categoryPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
53
+ /**
54
+ * @description List Category Milestones returns a list of all Milestones with the Category.
55
+ *
56
+ * @name ListCategoryMilestones
57
+ * @summary List Category Milestones
58
+ * @request GET:/api/v3/categories/{category-public-id}/milestones
59
+ * @secure
60
+ */
61
+ listCategoryMilestones: (categoryPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<Milestone[], any>>;
62
+ /**
63
+ * No description
64
+ *
65
+ * @name ListCustomFields
66
+ * @summary List Custom Fields
67
+ * @request GET:/api/v3/custom-fields
68
+ * @secure
69
+ */
70
+ listCustomFields: (params?: RequestParams) => Promise<import("axios").AxiosResponse<CustomField[], any>>;
71
+ /**
72
+ * No description
73
+ *
74
+ * @name GetCustomField
75
+ * @summary Get Custom Field
76
+ * @request GET:/api/v3/custom-fields/{custom-field-public-id}
77
+ * @secure
78
+ */
79
+ getCustomField: (customFieldPublicId: string, params?: RequestParams) => Promise<import("axios").AxiosResponse<CustomField, any>>;
80
+ /**
81
+ * @description Update Custom Field can be used to update the definition of a Custom Field. The order of items in the 'values' collection is interpreted to be their ascending sort order.To delete an existing enum value, simply omit it from the 'values' collection. New enum values may be created inline by including an object in the 'values' collection having a 'value' entry with no 'id' (eg. {'value': 'myNewValue', 'color_key': 'green'}).
82
+ *
83
+ * @name UpdateCustomField
84
+ * @summary Update Custom Field
85
+ * @request PUT:/api/v3/custom-fields/{custom-field-public-id}
86
+ * @secure
87
+ */
88
+ updateCustomField: (customFieldPublicId: string, UpdateCustomField: UpdateCustomField, params?: RequestParams) => Promise<import("axios").AxiosResponse<CustomField, any>>;
89
+ /**
90
+ * No description
91
+ *
92
+ * @name DeleteCustomField
93
+ * @summary Delete Custom Field
94
+ * @request DELETE:/api/v3/custom-fields/{custom-field-public-id}
95
+ * @secure
96
+ */
97
+ deleteCustomField: (customFieldPublicId: string, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
98
+ /**
99
+ * @description List all the entity templates for the Workspace.
100
+ *
101
+ * @name ListEntityTemplates
102
+ * @summary List Entity Templates
103
+ * @request GET:/api/v3/entity-templates
104
+ * @secure
105
+ */
106
+ listEntityTemplates: (params?: RequestParams) => Promise<import("axios").AxiosResponse<EntityTemplate[], any>>;
107
+ /**
108
+ * @description Create a new entity template for the Workspace.
109
+ *
110
+ * @name CreateEntityTemplate
111
+ * @summary Create Entity Template
112
+ * @request POST:/api/v3/entity-templates
113
+ * @secure
114
+ */
115
+ createEntityTemplate: (CreateEntityTemplate: CreateEntityTemplate, params?: RequestParams) => Promise<import("axios").AxiosResponse<EntityTemplate, any>>;
116
+ /**
117
+ * @description Disables the Story Template feature for the Workspace.
118
+ *
119
+ * @name DisableStoryTemplates
120
+ * @summary Disable Story Templates
121
+ * @request PUT:/api/v3/entity-templates/disable
122
+ * @secure
123
+ */
124
+ disableStoryTemplates: (params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
125
+ /**
126
+ * @description Enables the Story Template feature for the Workspace.
127
+ *
128
+ * @name EnableStoryTemplates
129
+ * @summary Enable Story Templates
130
+ * @request PUT:/api/v3/entity-templates/enable
131
+ * @secure
132
+ */
133
+ enableStoryTemplates: (params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
134
+ /**
135
+ * @description Get Entity Template returns information about a given entity template.
136
+ *
137
+ * @name GetEntityTemplate
138
+ * @summary Get Entity Template
139
+ * @request GET:/api/v3/entity-templates/{entity-template-public-id}
140
+ * @secure
141
+ */
142
+ getEntityTemplate: (entityTemplatePublicId: string, params?: RequestParams) => Promise<import("axios").AxiosResponse<EntityTemplate, any>>;
143
+ /**
144
+ * @description Update an entity template's name or its contents.
145
+ *
146
+ * @name UpdateEntityTemplate
147
+ * @summary Update Entity Template
148
+ * @request PUT:/api/v3/entity-templates/{entity-template-public-id}
149
+ * @secure
150
+ */
151
+ updateEntityTemplate: (entityTemplatePublicId: string, UpdateEntityTemplate: UpdateEntityTemplate, params?: RequestParams) => Promise<import("axios").AxiosResponse<EntityTemplate, any>>;
152
+ /**
153
+ * No description
154
+ *
155
+ * @name DeleteEntityTemplate
156
+ * @summary Delete Entity Template
157
+ * @request DELETE:/api/v3/entity-templates/{entity-template-public-id}
158
+ * @secure
159
+ */
160
+ deleteEntityTemplate: (entityTemplatePublicId: string, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
161
+ /**
162
+ * @description Returns the Epic Workflow for the Workspace.
163
+ *
164
+ * @name GetEpicWorkflow
165
+ * @summary Get Epic Workflow
166
+ * @request GET:/api/v3/epic-workflow
167
+ * @secure
168
+ */
169
+ getEpicWorkflow: (params?: RequestParams) => Promise<import("axios").AxiosResponse<EpicWorkflow, any>>;
170
+ /**
171
+ * @description List Epics returns a list of all Epics and their attributes.
172
+ *
173
+ * @name ListEpics
174
+ * @summary List Epics
175
+ * @request GET:/api/v3/epics
176
+ * @secure
177
+ */
178
+ listEpics: (ListEpics: ListEpics, params?: RequestParams) => Promise<import("axios").AxiosResponse<EpicSlim[], any>>;
179
+ /**
180
+ * @description Create Epic allows you to create a new Epic in Shortcut.
181
+ *
182
+ * @name CreateEpic
183
+ * @summary Create Epic
184
+ * @request POST:/api/v3/epics
185
+ * @secure
186
+ */
187
+ createEpic: (CreateEpic: CreateEpic, params?: RequestParams) => Promise<import("axios").AxiosResponse<Epic, any>>;
188
+ /**
189
+ * @description Get Epic returns information about the selected Epic.
190
+ *
191
+ * @name GetEpic
192
+ * @summary Get Epic
193
+ * @request GET:/api/v3/epics/{epic-public-id}
194
+ * @secure
195
+ */
196
+ getEpic: (epicPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<Epic, any>>;
197
+ /**
198
+ * @description Update Epic can be used to update numerous fields in the Epic. The only required parameter is Epic ID, which can be found in the Shortcut UI.
199
+ *
200
+ * @name UpdateEpic
201
+ * @summary Update Epic
202
+ * @request PUT:/api/v3/epics/{epic-public-id}
203
+ * @secure
204
+ */
205
+ updateEpic: (epicPublicId: number, UpdateEpic: UpdateEpic, params?: RequestParams) => Promise<import("axios").AxiosResponse<Epic, any>>;
206
+ /**
207
+ * @description Delete Epic can be used to delete the Epic. The only required parameter is Epic ID.
208
+ *
209
+ * @name DeleteEpic
210
+ * @summary Delete Epic
211
+ * @request DELETE:/api/v3/epics/{epic-public-id}
212
+ * @secure
213
+ */
214
+ deleteEpic: (epicPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
215
+ /**
216
+ * @description Get a list of all Comments on an Epic.
217
+ *
218
+ * @name ListEpicComments
219
+ * @summary List Epic Comments
220
+ * @request GET:/api/v3/epics/{epic-public-id}/comments
221
+ * @secure
222
+ */
223
+ listEpicComments: (epicPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<ThreadedComment[], any>>;
224
+ /**
225
+ * @description This endpoint allows you to create a threaded Comment on an Epic.
226
+ *
227
+ * @name CreateEpicComment
228
+ * @summary Create Epic Comment
229
+ * @request POST:/api/v3/epics/{epic-public-id}/comments
230
+ * @secure
231
+ */
232
+ createEpicComment: (epicPublicId: number, CreateEpicComment: CreateEpicComment, params?: RequestParams) => Promise<import("axios").AxiosResponse<ThreadedComment, any>>;
233
+ /**
234
+ * @description This endpoint allows you to create a nested Comment reply to an existing Epic Comment.
235
+ *
236
+ * @name CreateEpicCommentComment
237
+ * @summary Create Epic Comment Comment
238
+ * @request POST:/api/v3/epics/{epic-public-id}/comments/{comment-public-id}
239
+ * @secure
240
+ */
241
+ createEpicCommentComment: (epicPublicId: number, commentPublicId: number, CreateCommentComment: CreateCommentComment, params?: RequestParams) => Promise<import("axios").AxiosResponse<ThreadedComment, any>>;
242
+ /**
243
+ * @description This endpoint returns information about the selected Epic Comment.
244
+ *
245
+ * @name GetEpicComment
246
+ * @summary Get Epic Comment
247
+ * @request GET:/api/v3/epics/{epic-public-id}/comments/{comment-public-id}
248
+ * @secure
249
+ */
250
+ getEpicComment: (epicPublicId: number, commentPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<ThreadedComment, any>>;
251
+ /**
252
+ * @description This endpoint allows you to update a threaded Comment on an Epic.
253
+ *
254
+ * @name UpdateEpicComment
255
+ * @summary Update Epic Comment
256
+ * @request PUT:/api/v3/epics/{epic-public-id}/comments/{comment-public-id}
257
+ * @secure
258
+ */
259
+ updateEpicComment: (epicPublicId: number, commentPublicId: number, UpdateComment: UpdateComment, params?: RequestParams) => Promise<import("axios").AxiosResponse<ThreadedComment, any>>;
260
+ /**
261
+ * @description This endpoint allows you to delete a Comment from an Epic.
262
+ *
263
+ * @name DeleteEpicComment
264
+ * @summary Delete Epic Comment
265
+ * @request DELETE:/api/v3/epics/{epic-public-id}/comments/{comment-public-id}
266
+ * @secure
267
+ */
268
+ deleteEpicComment: (epicPublicId: number, commentPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
269
+ /**
270
+ * @description Get a list of all Stories in an Epic.
271
+ *
272
+ * @name ListEpicStories
273
+ * @summary List Epic Stories
274
+ * @request GET:/api/v3/epics/{epic-public-id}/stories
275
+ * @secure
276
+ */
277
+ listEpicStories: (epicPublicId: number, GetEpicStories: GetEpicStories, params?: RequestParams) => Promise<import("axios").AxiosResponse<StorySlim[], any>>;
278
+ /**
279
+ * @description This endpoint allows you to unlink a productboard epic.
280
+ *
281
+ * @name UnlinkProductboardFromEpic
282
+ * @summary Unlink Productboard from Epic
283
+ * @request POST:/api/v3/epics/{epic-public-id}/unlink-productboard
284
+ * @secure
285
+ */
286
+ unlinkProductboardFromEpic: (epicPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
287
+ /**
288
+ * @description Get Stories which have a given External Link associated with them.
289
+ *
290
+ * @name GetExternalLinkStories
291
+ * @summary Get External Link Stories
292
+ * @request GET:/api/v3/external-link/stories
293
+ * @secure
294
+ */
295
+ getExternalLinkStories: (GetExternalLinkStoriesParams: GetExternalLinkStoriesParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<StorySlim[], any>>;
296
+ /**
297
+ * @description List Files returns a list of all UploadedFiles in the workspace.
298
+ *
299
+ * @name ListFiles
300
+ * @summary List Files
301
+ * @request GET:/api/v3/files
302
+ * @secure
303
+ */
304
+ listFiles: (params?: RequestParams) => Promise<import("axios").AxiosResponse<UploadedFile[], any>>;
305
+ /**
306
+ * @description Upload Files uploads one or many files and optionally associates them with a story. Use the multipart/form-data content-type to upload. Each `file` key should contain a separate file. Each UploadedFile's name comes from the Content-Disposition header "filename" directive for that field.
307
+ *
308
+ * @name UploadFiles
309
+ * @summary Upload Files
310
+ * @request POST:/api/v3/files
311
+ * @secure
312
+ */
313
+ uploadFiles: (data: {
314
+ /**
315
+ * The story ID that these files will be associated with.
316
+ * @format int64
317
+ */
318
+ story_id?: number;
319
+ /**
320
+ * A file upload. At least one is required.
321
+ * @format binary
322
+ */
323
+ file0: File;
324
+ /**
325
+ * Optional additional files.
326
+ * @format binary
327
+ */
328
+ file1?: File;
329
+ /**
330
+ * Optional additional files.
331
+ * @format binary
332
+ */
333
+ file2?: File;
334
+ /**
335
+ * Optional additional files.
336
+ * @format binary
337
+ */
338
+ file3?: File;
339
+ }, params?: RequestParams) => Promise<import("axios").AxiosResponse<UploadedFile[], any>>;
340
+ /**
341
+ * @description Get File returns information about the selected UploadedFile.
342
+ *
343
+ * @name GetFile
344
+ * @summary Get File
345
+ * @request GET:/api/v3/files/{file-public-id}
346
+ * @secure
347
+ */
348
+ getFile: (filePublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<UploadedFile, any>>;
349
+ /**
350
+ * @description Update File updates the properties of an UploadedFile (but not its content).
351
+ *
352
+ * @name UpdateFile
353
+ * @summary Update File
354
+ * @request PUT:/api/v3/files/{file-public-id}
355
+ * @secure
356
+ */
357
+ updateFile: (filePublicId: number, UpdateFile: UpdateFile, params?: RequestParams) => Promise<import("axios").AxiosResponse<UploadedFile, any>>;
358
+ /**
359
+ * @description Delete File deletes a previously uploaded file.
360
+ *
361
+ * @name DeleteFile
362
+ * @summary Delete File
363
+ * @request DELETE:/api/v3/files/{file-public-id}
364
+ * @secure
365
+ */
366
+ deleteFile: (filePublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
367
+ /**
368
+ * @description A group in our API maps to a "Team" within the Shortcut Product. A Team is a collection of Users that can be associated to Stories, Epics, and Iterations within Shortcut.
369
+ *
370
+ * @name ListGroups
371
+ * @summary List Groups
372
+ * @request GET:/api/v3/groups
373
+ * @secure
374
+ */
375
+ listGroups: (params?: RequestParams) => Promise<import("axios").AxiosResponse<Group[], any>>;
376
+ /**
377
+ * No description
378
+ *
379
+ * @name CreateGroup
380
+ * @summary Create Group
381
+ * @request POST:/api/v3/groups
382
+ * @secure
383
+ */
384
+ createGroup: (CreateGroup: CreateGroup, params?: RequestParams) => Promise<import("axios").AxiosResponse<Group, any>>;
385
+ /**
386
+ * @description Disables Groups for the current workspace2
387
+ *
388
+ * @name DisableGroups
389
+ * @summary Disable Groups
390
+ * @request PUT:/api/v3/groups/disable
391
+ * @secure
392
+ */
393
+ disableGroups: (params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
394
+ /**
395
+ * @description Enables Groups for the current workspace2
396
+ *
397
+ * @name EnableGroups
398
+ * @summary Enable Groups
399
+ * @request PUT:/api/v3/groups/enable
400
+ * @secure
401
+ */
402
+ enableGroups: (params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
403
+ /**
404
+ * No description
405
+ *
406
+ * @name GetGroup
407
+ * @summary Get Group
408
+ * @request GET:/api/v3/groups/{group-public-id}
409
+ * @secure
410
+ */
411
+ getGroup: (groupPublicId: string, params?: RequestParams) => Promise<import("axios").AxiosResponse<Group, any>>;
412
+ /**
413
+ * No description
414
+ *
415
+ * @name UpdateGroup
416
+ * @summary Update Group
417
+ * @request PUT:/api/v3/groups/{group-public-id}
418
+ * @secure
419
+ */
420
+ updateGroup: (groupPublicId: string, UpdateGroup: UpdateGroup, params?: RequestParams) => Promise<import("axios").AxiosResponse<Group, any>>;
421
+ /**
422
+ * @description List the Stories assigned to the Group. (By default, limited to 1,000).
423
+ *
424
+ * @name ListGroupStories
425
+ * @summary List Group Stories
426
+ * @request GET:/api/v3/groups/{group-public-id}/stories
427
+ * @secure
428
+ */
429
+ listGroupStories: (groupPublicId: string, ListGroupStories: ListGroupStories, params?: RequestParams) => Promise<import("axios").AxiosResponse<StorySlim[], any>>;
430
+ /**
431
+ * No description
432
+ *
433
+ * @name ListIterations
434
+ * @summary List Iterations
435
+ * @request GET:/api/v3/iterations
436
+ * @secure
437
+ */
438
+ listIterations: (params?: RequestParams) => Promise<import("axios").AxiosResponse<IterationSlim[], any>>;
439
+ /**
440
+ * No description
441
+ *
442
+ * @name CreateIteration
443
+ * @summary Create Iteration
444
+ * @request POST:/api/v3/iterations
445
+ * @secure
446
+ */
447
+ createIteration: (CreateIteration: CreateIteration, params?: RequestParams) => Promise<import("axios").AxiosResponse<Iteration, any>>;
448
+ /**
449
+ * @description Disables Iterations for the current workspace
450
+ *
451
+ * @name DisableIterations
452
+ * @summary Disable Iterations
453
+ * @request PUT:/api/v3/iterations/disable
454
+ * @secure
455
+ */
456
+ disableIterations: (params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
457
+ /**
458
+ * @description Enables Iterations for the current workspace
459
+ *
460
+ * @name EnableIterations
461
+ * @summary Enable Iterations
462
+ * @request PUT:/api/v3/iterations/enable
463
+ * @secure
464
+ */
465
+ enableIterations: (params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
466
+ /**
467
+ * No description
468
+ *
469
+ * @name GetIteration
470
+ * @summary Get Iteration
471
+ * @request GET:/api/v3/iterations/{iteration-public-id}
472
+ * @secure
473
+ */
474
+ getIteration: (iterationPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<Iteration, any>>;
475
+ /**
476
+ * No description
477
+ *
478
+ * @name UpdateIteration
479
+ * @summary Update Iteration
480
+ * @request PUT:/api/v3/iterations/{iteration-public-id}
481
+ * @secure
482
+ */
483
+ updateIteration: (iterationPublicId: number, UpdateIteration: UpdateIteration, params?: RequestParams) => Promise<import("axios").AxiosResponse<Iteration, any>>;
484
+ /**
485
+ * No description
486
+ *
487
+ * @name DeleteIteration
488
+ * @summary Delete Iteration
489
+ * @request DELETE:/api/v3/iterations/{iteration-public-id}
490
+ * @secure
491
+ */
492
+ deleteIteration: (iterationPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
493
+ /**
494
+ * @description Get a list of all Stories in an Iteration.
495
+ *
496
+ * @name ListIterationStories
497
+ * @summary List Iteration Stories
498
+ * @request GET:/api/v3/iterations/{iteration-public-id}/stories
499
+ * @secure
500
+ */
501
+ listIterationStories: (iterationPublicId: number, GetIterationStories: GetIterationStories, params?: RequestParams) => Promise<import("axios").AxiosResponse<StorySlim[], any>>;
502
+ /**
503
+ * @description List Labels returns a list of all Labels and their attributes.
504
+ *
505
+ * @name ListLabels
506
+ * @summary List Labels
507
+ * @request GET:/api/v3/labels
508
+ * @secure
509
+ */
510
+ listLabels: (ListLabels: ListLabels, params?: RequestParams) => Promise<import("axios").AxiosResponse<Label[], any>>;
511
+ /**
512
+ * @description Create Label allows you to create a new Label in Shortcut.
513
+ *
514
+ * @name CreateLabel
515
+ * @summary Create Label
516
+ * @request POST:/api/v3/labels
517
+ * @secure
518
+ */
519
+ createLabel: (CreateLabelParams: CreateLabelParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<Label, any>>;
520
+ /**
521
+ * @description Get Label returns information about the selected Label.
522
+ *
523
+ * @name GetLabel
524
+ * @summary Get Label
525
+ * @request GET:/api/v3/labels/{label-public-id}
526
+ * @secure
527
+ */
528
+ getLabel: (labelPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<Label, any>>;
529
+ /**
530
+ * @description Update Label allows you to replace a Label name with another name. If you try to name a Label something that already exists, you will receive a 422 response.
531
+ *
532
+ * @name UpdateLabel
533
+ * @summary Update Label
534
+ * @request PUT:/api/v3/labels/{label-public-id}
535
+ * @secure
536
+ */
537
+ updateLabel: (labelPublicId: number, UpdateLabel: UpdateLabel, params?: RequestParams) => Promise<import("axios").AxiosResponse<Label, any>>;
538
+ /**
539
+ * @description Delete Label can be used to delete any Label.
540
+ *
541
+ * @name DeleteLabel
542
+ * @summary Delete Label
543
+ * @request DELETE:/api/v3/labels/{label-public-id}
544
+ * @secure
545
+ */
546
+ deleteLabel: (labelPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
547
+ /**
548
+ * @description List all of the Epics with the Label.
549
+ *
550
+ * @name ListLabelEpics
551
+ * @summary List Label Epics
552
+ * @request GET:/api/v3/labels/{label-public-id}/epics
553
+ * @secure
554
+ */
555
+ listLabelEpics: (labelPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<EpicSlim[], any>>;
556
+ /**
557
+ * @description List all of the Stories with the Label.
558
+ *
559
+ * @name ListLabelStories
560
+ * @summary List Label Stories
561
+ * @request GET:/api/v3/labels/{label-public-id}/stories
562
+ * @secure
563
+ */
564
+ listLabelStories: (labelPublicId: number, GetLabelStories: GetLabelStories, params?: RequestParams) => Promise<import("axios").AxiosResponse<StorySlim[], any>>;
565
+ /**
566
+ * @description List Linked Files returns a list of all Linked-Files and their attributes.
567
+ *
568
+ * @name ListLinkedFiles
569
+ * @summary List Linked Files
570
+ * @request GET:/api/v3/linked-files
571
+ * @secure
572
+ */
573
+ listLinkedFiles: (params?: RequestParams) => Promise<import("axios").AxiosResponse<LinkedFile[], any>>;
574
+ /**
575
+ * @description Create Linked File allows you to create a new Linked File in Shortcut.
576
+ *
577
+ * @name CreateLinkedFile
578
+ * @summary Create Linked File
579
+ * @request POST:/api/v3/linked-files
580
+ * @secure
581
+ */
582
+ createLinkedFile: (CreateLinkedFile: CreateLinkedFile, params?: RequestParams) => Promise<import("axios").AxiosResponse<LinkedFile, any>>;
583
+ /**
584
+ * @description Get File returns information about the selected Linked File.
585
+ *
586
+ * @name GetLinkedFile
587
+ * @summary Get Linked File
588
+ * @request GET:/api/v3/linked-files/{linked-file-public-id}
589
+ * @secure
590
+ */
591
+ getLinkedFile: (linkedFilePublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<LinkedFile, any>>;
592
+ /**
593
+ * @description Updated Linked File allows you to update properties of a previously attached Linked-File.
594
+ *
595
+ * @name UpdateLinkedFile
596
+ * @summary Update Linked File
597
+ * @request PUT:/api/v3/linked-files/{linked-file-public-id}
598
+ * @secure
599
+ */
600
+ updateLinkedFile: (linkedFilePublicId: number, UpdateLinkedFile: UpdateLinkedFile, params?: RequestParams) => Promise<import("axios").AxiosResponse<LinkedFile, any>>;
601
+ /**
602
+ * @description Delete Linked File can be used to delete any previously attached Linked-File.
603
+ *
604
+ * @name DeleteLinkedFile
605
+ * @summary Delete Linked File
606
+ * @request DELETE:/api/v3/linked-files/{linked-file-public-id}
607
+ * @secure
608
+ */
609
+ deleteLinkedFile: (linkedFilePublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
610
+ /**
611
+ * @description Returns information about the authenticated member.
612
+ *
613
+ * @name GetCurrentMemberInfo
614
+ * @summary Get Current Member Info
615
+ * @request GET:/api/v3/member
616
+ * @secure
617
+ */
618
+ getCurrentMemberInfo: (params?: RequestParams) => Promise<import("axios").AxiosResponse<MemberInfo, any>>;
619
+ /**
620
+ * @description Returns information about members of the Workspace.
621
+ *
622
+ * @name ListMembers
623
+ * @summary List Members
624
+ * @request GET:/api/v3/members
625
+ * @secure
626
+ */
627
+ listMembers: (ListMembers: ListMembers, params?: RequestParams) => Promise<import("axios").AxiosResponse<Member[], any>>;
628
+ /**
629
+ * @description Returns information about a Member.
630
+ *
631
+ * @name GetMember
632
+ * @summary Get Member
633
+ * @request GET:/api/v3/members/{member-public-id}
634
+ * @secure
635
+ */
636
+ getMember: (memberPublicId: string, GetMember: GetMember, params?: RequestParams) => Promise<import("axios").AxiosResponse<Member, any>>;
637
+ /**
638
+ * @description List Milestones returns a list of all Milestones and their attributes.
639
+ *
640
+ * @name ListMilestones
641
+ * @summary List Milestones
642
+ * @request GET:/api/v3/milestones
643
+ * @secure
644
+ */
645
+ listMilestones: (params?: RequestParams) => Promise<import("axios").AxiosResponse<Milestone[], any>>;
646
+ /**
647
+ * @description Create Milestone allows you to create a new Milestone in Shortcut.
648
+ *
649
+ * @name CreateMilestone
650
+ * @summary Create Milestone
651
+ * @request POST:/api/v3/milestones
652
+ * @secure
653
+ */
654
+ createMilestone: (CreateMilestone: CreateMilestone, params?: RequestParams) => Promise<import("axios").AxiosResponse<Milestone, any>>;
655
+ /**
656
+ * @description Get Milestone returns information about a chosen Milestone.
657
+ *
658
+ * @name GetMilestone
659
+ * @summary Get Milestone
660
+ * @request GET:/api/v3/milestones/{milestone-public-id}
661
+ * @secure
662
+ */
663
+ getMilestone: (milestonePublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<Milestone, any>>;
664
+ /**
665
+ * @description Update Milestone can be used to update Milestone properties.
666
+ *
667
+ * @name UpdateMilestone
668
+ * @summary Update Milestone
669
+ * @request PUT:/api/v3/milestones/{milestone-public-id}
670
+ * @secure
671
+ */
672
+ updateMilestone: (milestonePublicId: number, UpdateMilestone: UpdateMilestone, params?: RequestParams) => Promise<import("axios").AxiosResponse<Milestone, any>>;
673
+ /**
674
+ * @description Delete Milestone can be used to delete any Milestone.
675
+ *
676
+ * @name DeleteMilestone
677
+ * @summary Delete Milestone
678
+ * @request DELETE:/api/v3/milestones/{milestone-public-id}
679
+ * @secure
680
+ */
681
+ deleteMilestone: (milestonePublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
682
+ /**
683
+ * @description List all of the Epics within the Milestone.
684
+ *
685
+ * @name ListMilestoneEpics
686
+ * @summary List Milestone Epics
687
+ * @request GET:/api/v3/milestones/{milestone-public-id}/epics
688
+ * @secure
689
+ */
690
+ listMilestoneEpics: (milestonePublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<EpicSlim[], any>>;
691
+ /**
692
+ * @description List Projects returns a list of all Projects and their attributes.
693
+ *
694
+ * @name ListProjects
695
+ * @summary List Projects
696
+ * @request GET:/api/v3/projects
697
+ * @secure
698
+ */
699
+ listProjects: (params?: RequestParams) => Promise<import("axios").AxiosResponse<Project[], any>>;
700
+ /**
701
+ * @description Create Project is used to create a new Shortcut Project.
702
+ *
703
+ * @name CreateProject
704
+ * @summary Create Project
705
+ * @request POST:/api/v3/projects
706
+ * @secure
707
+ */
708
+ createProject: (CreateProject: CreateProject, params?: RequestParams) => Promise<import("axios").AxiosResponse<Project, any>>;
709
+ /**
710
+ * @description Get Project returns information about the selected Project.
711
+ *
712
+ * @name GetProject
713
+ * @summary Get Project
714
+ * @request GET:/api/v3/projects/{project-public-id}
715
+ * @secure
716
+ */
717
+ getProject: (projectPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<Project, any>>;
718
+ /**
719
+ * @description Update Project can be used to change properties of a Project.
720
+ *
721
+ * @name UpdateProject
722
+ * @summary Update Project
723
+ * @request PUT:/api/v3/projects/{project-public-id}
724
+ * @secure
725
+ */
726
+ updateProject: (projectPublicId: number, UpdateProject: UpdateProject, params?: RequestParams) => Promise<import("axios").AxiosResponse<Project, any>>;
727
+ /**
728
+ * @description Delete Project can be used to delete a Project. Projects can only be deleted if all associated Stories are moved or deleted. In the case that the Project cannot be deleted, you will receive a 422 response.
729
+ *
730
+ * @name DeleteProject
731
+ * @summary Delete Project
732
+ * @request DELETE:/api/v3/projects/{project-public-id}
733
+ * @secure
734
+ */
735
+ deleteProject: (projectPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
736
+ /**
737
+ * @description List Stories returns a list of all Stories in a selected Project and their attributes.
738
+ *
739
+ * @name ListStories
740
+ * @summary List Stories
741
+ * @request GET:/api/v3/projects/{project-public-id}/stories
742
+ * @secure
743
+ */
744
+ listStories: (projectPublicId: number, GetProjectStories: GetProjectStories, params?: RequestParams) => Promise<import("axios").AxiosResponse<StorySlim[], any>>;
745
+ /**
746
+ * @description List Repositories returns a list of all Repositories and their attributes.
747
+ *
748
+ * @name ListRepositories
749
+ * @summary List Repositories
750
+ * @request GET:/api/v3/repositories
751
+ * @secure
752
+ */
753
+ listRepositories: (params?: RequestParams) => Promise<import("axios").AxiosResponse<Repository[], any>>;
754
+ /**
755
+ * @description Get Repository returns information about the selected Repository.
756
+ *
757
+ * @name GetRepository
758
+ * @summary Get Repository
759
+ * @request GET:/api/v3/repositories/{repo-public-id}
760
+ * @secure
761
+ */
762
+ getRepository: (repoPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<Repository, any>>;
763
+ /**
764
+ * @description Search lets you search Epics and Stories based on desired parameters. Since ordering of the results can change over time (due to search ranking decay, new Epics and Stories being created), the `next` value from the previous response can be used as the path and query string for the next page to ensure stable ordering.
765
+ *
766
+ * @name Search
767
+ * @summary Search
768
+ * @request GET:/api/v3/search
769
+ * @secure
770
+ */
771
+ search: (Search: Search, params?: RequestParams) => Promise<import("axios").AxiosResponse<SearchResults, any>>;
772
+ /**
773
+ * @description Search Epics lets you search Epics based on desired parameters. Since ordering of stories can change over time (due to search ranking decay, new Epics being created), the `next` value from the previous response can be used as the path and query string for the next page to ensure stable ordering.
774
+ *
775
+ * @name SearchEpics
776
+ * @summary Search Epics
777
+ * @request GET:/api/v3/search/epics
778
+ * @secure
779
+ */
780
+ searchEpics: (Search: Search, params?: RequestParams) => Promise<import("axios").AxiosResponse<EpicSearchResults, any>>;
781
+ /**
782
+ * @description Search Iterations lets you search Iterations based on desired parameters. Since ordering of results can change over time (due to search ranking decay, new Iterations being created), the `next` value from the previous response can be used as the path and query string for the next page to ensure stable ordering.
783
+ *
784
+ * @name SearchIterations
785
+ * @summary Search Iterations
786
+ * @request GET:/api/v3/search/iterations
787
+ * @secure
788
+ */
789
+ searchIterations: (Search: Search, params?: RequestParams) => Promise<import("axios").AxiosResponse<IterationSearchResults, any>>;
790
+ /**
791
+ * @description Search Milestones lets you search Milestones based on desired parameters. Since ordering of results can change over time (due to search ranking decay, new Milestones being created), the `next` value from the previous response can be used as the path and query string for the next page to ensure stable ordering.
792
+ *
793
+ * @name SearchMilestones
794
+ * @summary Search Milestones
795
+ * @request GET:/api/v3/search/milestones
796
+ * @secure
797
+ */
798
+ searchMilestones: (Search: Search, params?: RequestParams) => Promise<import("axios").AxiosResponse<MilestoneSearchResults, any>>;
799
+ /**
800
+ * @description Search Stories lets you search Stories based on desired parameters. Since ordering of stories can change over time (due to search ranking decay, new stories being created), the `next` value from the previous response can be used as the path and query string for the next page to ensure stable ordering.
801
+ *
802
+ * @name SearchStories
803
+ * @summary Search Stories
804
+ * @request GET:/api/v3/search/stories
805
+ * @secure
806
+ */
807
+ searchStories: (Search: Search, params?: RequestParams) => Promise<import("axios").AxiosResponse<StorySearchResults, any>>;
808
+ /**
809
+ * @description Create Story is used to add a new story to your Shortcut.
810
+ *
811
+ * @name CreateStory
812
+ * @summary Create Story
813
+ * @request POST:/api/v3/stories
814
+ * @secure
815
+ */
816
+ createStory: (CreateStoryParams: CreateStoryParams, params?: RequestParams) => Promise<import("axios").AxiosResponse<Story, any>>;
817
+ /**
818
+ * @description Create Multiple Stories allows you to create multiple stories in a single request using the same syntax as [Create Story](https://developer.shortcut.com/api/rest/v3#create-story).
819
+ *
820
+ * @name CreateMultipleStories
821
+ * @summary Create Multiple Stories
822
+ * @request POST:/api/v3/stories/bulk
823
+ * @secure
824
+ */
825
+ createMultipleStories: (CreateStories: CreateStories, params?: RequestParams) => Promise<import("axios").AxiosResponse<StorySlim[], any>>;
826
+ /**
827
+ * @description Update Multiple Stories allows you to make changes to numerous stories at once.
828
+ *
829
+ * @name UpdateMultipleStories
830
+ * @summary Update Multiple Stories
831
+ * @request PUT:/api/v3/stories/bulk
832
+ * @secure
833
+ */
834
+ updateMultipleStories: (UpdateStories: UpdateStories, params?: RequestParams) => Promise<import("axios").AxiosResponse<StorySlim[], any>>;
835
+ /**
836
+ * @description Delete Multiple Stories allows you to delete multiple archived stories at once.
837
+ *
838
+ * @name DeleteMultipleStories
839
+ * @summary Delete Multiple Stories
840
+ * @request DELETE:/api/v3/stories/bulk
841
+ * @secure
842
+ */
843
+ deleteMultipleStories: (DeleteStories: DeleteStories, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
844
+ /**
845
+ * @description Search Stories lets you search Stories based on desired parameters.
846
+ *
847
+ * @name SearchStoriesOld
848
+ * @summary Search Stories (Old)
849
+ * @request POST:/api/v3/stories/search
850
+ * @secure
851
+ */
852
+ searchStoriesOld: (SearchStories: SearchStories, params?: RequestParams) => Promise<import("axios").AxiosResponse<StorySlim[], any>>;
853
+ /**
854
+ * @description Get Story returns information about a chosen Story.
855
+ *
856
+ * @name GetStory
857
+ * @summary Get Story
858
+ * @request GET:/api/v3/stories/{story-public-id}
859
+ * @secure
860
+ */
861
+ getStory: (storyPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<Story, any>>;
862
+ /**
863
+ * @description Update Story can be used to update Story properties.
864
+ *
865
+ * @name UpdateStory
866
+ * @summary Update Story
867
+ * @request PUT:/api/v3/stories/{story-public-id}
868
+ * @secure
869
+ */
870
+ updateStory: (storyPublicId: number, UpdateStory: UpdateStory, params?: RequestParams) => Promise<import("axios").AxiosResponse<Story, any>>;
871
+ /**
872
+ * @description Delete Story can be used to delete any Story.
873
+ *
874
+ * @name DeleteStory
875
+ * @summary Delete Story
876
+ * @request DELETE:/api/v3/stories/{story-public-id}
877
+ * @secure
878
+ */
879
+ deleteStory: (storyPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
880
+ /**
881
+ * @description Lists Comments associated with a Story
882
+ *
883
+ * @name ListStoryComment
884
+ * @summary List Story Comment
885
+ * @request GET:/api/v3/stories/{story-public-id}/comments
886
+ * @secure
887
+ */
888
+ listStoryComment: (storyPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<StoryComment[], any>>;
889
+ /**
890
+ * @description Create Comment allows you to create a Comment on any Story.
891
+ *
892
+ * @name CreateStoryComment
893
+ * @summary Create Story Comment
894
+ * @request POST:/api/v3/stories/{story-public-id}/comments
895
+ * @secure
896
+ */
897
+ createStoryComment: (storyPublicId: number, CreateStoryComment: CreateStoryComment, params?: RequestParams) => Promise<import("axios").AxiosResponse<StoryComment, any>>;
898
+ /**
899
+ * @description Get Comment is used to get Comment information.
900
+ *
901
+ * @name GetStoryComment
902
+ * @summary Get Story Comment
903
+ * @request GET:/api/v3/stories/{story-public-id}/comments/{comment-public-id}
904
+ * @secure
905
+ */
906
+ getStoryComment: (storyPublicId: number, commentPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<StoryComment, any>>;
907
+ /**
908
+ * @description Update Comment replaces the text of the existing Comment.
909
+ *
910
+ * @name UpdateStoryComment
911
+ * @summary Update Story Comment
912
+ * @request PUT:/api/v3/stories/{story-public-id}/comments/{comment-public-id}
913
+ * @secure
914
+ */
915
+ updateStoryComment: (storyPublicId: number, commentPublicId: number, UpdateStoryComment: UpdateStoryComment, params?: RequestParams) => Promise<import("axios").AxiosResponse<StoryComment, any>>;
916
+ /**
917
+ * @description Delete a Comment from any story.
918
+ *
919
+ * @name DeleteStoryComment
920
+ * @summary Delete Story Comment
921
+ * @request DELETE:/api/v3/stories/{story-public-id}/comments/{comment-public-id}
922
+ * @secure
923
+ */
924
+ deleteStoryComment: (storyPublicId: number, commentPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
925
+ /**
926
+ * @description Create a reaction to a story comment.
927
+ *
928
+ * @name CreateStoryReaction
929
+ * @summary Create Story Reaction
930
+ * @request POST:/api/v3/stories/{story-public-id}/comments/{comment-public-id}/reactions
931
+ * @secure
932
+ */
933
+ createStoryReaction: (storyPublicId: number, commentPublicId: number, CreateOrDeleteStoryReaction: CreateOrDeleteStoryReaction, params?: RequestParams) => Promise<import("axios").AxiosResponse<StoryReaction[], any>>;
934
+ /**
935
+ * @description Delete a reaction from any story comment.
936
+ *
937
+ * @name DeleteStoryReaction
938
+ * @summary Delete Story Reaction
939
+ * @request DELETE:/api/v3/stories/{story-public-id}/comments/{comment-public-id}/reactions
940
+ * @secure
941
+ */
942
+ deleteStoryReaction: (storyPublicId: number, commentPublicId: number, CreateOrDeleteStoryReaction: CreateOrDeleteStoryReaction, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
943
+ /**
944
+ * No description
945
+ *
946
+ * @name StoryHistory
947
+ * @summary Story History
948
+ * @request GET:/api/v3/stories/{story-public-id}/history
949
+ * @secure
950
+ */
951
+ storyHistory: (storyPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<History[], any>>;
952
+ /**
953
+ * @description Create Task is used to create a new task in a Story.
954
+ *
955
+ * @name CreateTask
956
+ * @summary Create Task
957
+ * @request POST:/api/v3/stories/{story-public-id}/tasks
958
+ * @secure
959
+ */
960
+ createTask: (storyPublicId: number, CreateTask: CreateTask, params?: RequestParams) => Promise<import("axios").AxiosResponse<Task, any>>;
961
+ /**
962
+ * @description Returns information about a chosen Task.
963
+ *
964
+ * @name GetTask
965
+ * @summary Get Task
966
+ * @request GET:/api/v3/stories/{story-public-id}/tasks/{task-public-id}
967
+ * @secure
968
+ */
969
+ getTask: (storyPublicId: number, taskPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<Task, any>>;
970
+ /**
971
+ * @description Update Task can be used to update Task properties.
972
+ *
973
+ * @name UpdateTask
974
+ * @summary Update Task
975
+ * @request PUT:/api/v3/stories/{story-public-id}/tasks/{task-public-id}
976
+ * @secure
977
+ */
978
+ updateTask: (storyPublicId: number, taskPublicId: number, UpdateTask: UpdateTask, params?: RequestParams) => Promise<import("axios").AxiosResponse<Task, any>>;
979
+ /**
980
+ * @description Delete Task can be used to delete any previously created Task on a Story.
981
+ *
982
+ * @name DeleteTask
983
+ * @summary Delete Task
984
+ * @request DELETE:/api/v3/stories/{story-public-id}/tasks/{task-public-id}
985
+ * @secure
986
+ */
987
+ deleteTask: (storyPublicId: number, taskPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
988
+ /**
989
+ * @description Story Links (called Story Relationships in the UI) allow you create semantic relationships between two stories. The parameters read like an active voice grammatical sentence: subject -> verb -> object. The subject story acts on the object Story; the object story is the direct object of the sentence. The subject story "blocks", "duplicates", or "relates to" the object story. Examples: - "story 5 blocks story 6” -- story 6 is now "blocked" until story 5 is moved to a Done workflow state. - "story 2 duplicates story 1” -- Story 2 represents the same body of work as Story 1 (and should probably be archived). - "story 7 relates to story 3”
990
+ *
991
+ * @name CreateStoryLink
992
+ * @summary Create Story Link
993
+ * @request POST:/api/v3/story-links
994
+ * @secure
995
+ */
996
+ createStoryLink: (CreateStoryLink: CreateStoryLink, params?: RequestParams) => Promise<import("axios").AxiosResponse<StoryLink, any>>;
997
+ /**
998
+ * @description Returns the stories and their relationship for the given Story Link.
999
+ *
1000
+ * @name GetStoryLink
1001
+ * @summary Get Story Link
1002
+ * @request GET:/api/v3/story-links/{story-link-public-id}
1003
+ * @secure
1004
+ */
1005
+ getStoryLink: (storyLinkPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<StoryLink, any>>;
1006
+ /**
1007
+ * @description Updates the stories and/or the relationship for the given Story Link.
1008
+ *
1009
+ * @name UpdateStoryLink
1010
+ * @summary Update Story Link
1011
+ * @request PUT:/api/v3/story-links/{story-link-public-id}
1012
+ * @secure
1013
+ */
1014
+ updateStoryLink: (storyLinkPublicId: number, UpdateStoryLink: UpdateStoryLink, params?: RequestParams) => Promise<import("axios").AxiosResponse<StoryLink, any>>;
1015
+ /**
1016
+ * @description Removes the relationship between the stories for the given Story Link.
1017
+ *
1018
+ * @name DeleteStoryLink
1019
+ * @summary Delete Story Link
1020
+ * @request DELETE:/api/v3/story-links/{story-link-public-id}
1021
+ * @secure
1022
+ */
1023
+ deleteStoryLink: (storyLinkPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<void, any>>;
1024
+ /**
1025
+ * @description Returns a list of all Workflows in the Workspace.
1026
+ *
1027
+ * @name ListWorkflows
1028
+ * @summary List Workflows
1029
+ * @request GET:/api/v3/workflows
1030
+ * @secure
1031
+ */
1032
+ listWorkflows: (params?: RequestParams) => Promise<import("axios").AxiosResponse<Workflow[], any>>;
1033
+ /**
1034
+ * @description Get Workflow returns information about a chosen Workflow.
1035
+ *
1036
+ * @name GetWorkflow
1037
+ * @summary Get Workflow
1038
+ * @request GET:/api/v3/workflows/{workflow-public-id}
1039
+ * @secure
1040
+ */
1041
+ getWorkflow: (workflowPublicId: number, params?: RequestParams) => Promise<import("axios").AxiosResponse<Workflow, any>>;
1042
+ }