@scalepad/sdk-lm 0.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,668 @@
1
+ import { BaseApiClient } from "./runtime.js";
2
+ export class GeneratedLifecycleManagerClient extends BaseApiClient {
3
+ constructor(config) {
4
+ super(config);
5
+ }
6
+ getNotesById(pathParams) {
7
+ const path = `/lifecycle-manager/v1/notes/${encodeURIComponent(String(pathParams.id))}`;
8
+ return this.requestJson({
9
+ method: "GET",
10
+ path,
11
+ });
12
+ }
13
+ updateNotesById(pathParams, body) {
14
+ const path = `/lifecycle-manager/v1/notes/${encodeURIComponent(String(pathParams.id))}`;
15
+ return this.requestJson({
16
+ method: "PUT",
17
+ path,
18
+ body
19
+ });
20
+ }
21
+ deleteNotesById(pathParams) {
22
+ const path = `/lifecycle-manager/v1/notes/${encodeURIComponent(String(pathParams.id))}`;
23
+ return this.requestJson({
24
+ method: "DELETE",
25
+ path,
26
+ });
27
+ }
28
+ listNotes(query) {
29
+ const path = "/lifecycle-manager/v1/notes";
30
+ return this.requestJson({
31
+ method: "GET",
32
+ path,
33
+ query,
34
+ });
35
+ }
36
+ createNotes(body) {
37
+ const path = "/lifecycle-manager/v1/notes";
38
+ return this.requestJson({
39
+ method: "POST",
40
+ path,
41
+ body
42
+ });
43
+ }
44
+ updateNotesArchiveStatusById(pathParams, body) {
45
+ const path = `/lifecycle-manager/v1/notes/${encodeURIComponent(String(pathParams.id))}/archive-status`;
46
+ return this.requestJson({
47
+ method: "PUT",
48
+ path,
49
+ body
50
+ });
51
+ }
52
+ updateV2MeetingsById(pathParams, body) {
53
+ const path = `/lifecycle-manager/v2/meetings/${encodeURIComponent(String(pathParams.id))}`;
54
+ return this.requestJson({
55
+ method: "PUT",
56
+ path,
57
+ body
58
+ });
59
+ }
60
+ updateMeetingTypesByMeetingTypeId(pathParams, body) {
61
+ const path = `/lifecycle-manager/v1/meeting-types/${encodeURIComponent(String(pathParams.meeting_type_id))}`;
62
+ return this.requestJson({
63
+ method: "PUT",
64
+ path,
65
+ body
66
+ });
67
+ }
68
+ deleteMeetingTypesByMeetingTypeId(pathParams) {
69
+ const path = `/lifecycle-manager/v1/meeting-types/${encodeURIComponent(String(pathParams.meeting_type_id))}`;
70
+ return this.requestJson({
71
+ method: "DELETE",
72
+ path,
73
+ });
74
+ }
75
+ listMeetingTypes() {
76
+ const path = "/lifecycle-manager/v1/meeting-types";
77
+ return this.requestJson({
78
+ method: "GET",
79
+ path,
80
+ });
81
+ }
82
+ createMeetingTypes(body) {
83
+ const path = "/lifecycle-manager/v1/meeting-types";
84
+ return this.requestJson({
85
+ method: "POST",
86
+ path,
87
+ body
88
+ });
89
+ }
90
+ listMeetingsInitiativesByMeetingId(pathParams) {
91
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.meeting_id))}/initiatives`;
92
+ return this.requestJson({
93
+ method: "GET",
94
+ path,
95
+ });
96
+ }
97
+ updateMeetingsInitiativesByMeetingIdAndInitiativeId(pathParams) {
98
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.meeting_id))}/initiatives/${encodeURIComponent(String(pathParams.initiative_id))}`;
99
+ return this.requestJson({
100
+ method: "PUT",
101
+ path,
102
+ });
103
+ }
104
+ deleteMeetingsInitiativesByMeetingIdAndInitiativeId(pathParams) {
105
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.meeting_id))}/initiatives/${encodeURIComponent(String(pathParams.initiative_id))}`;
106
+ return this.requestJson({
107
+ method: "DELETE",
108
+ path,
109
+ });
110
+ }
111
+ listMeetingsGoalsByMeetingId(pathParams) {
112
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.meeting_id))}/goals`;
113
+ return this.requestJson({
114
+ method: "GET",
115
+ path,
116
+ });
117
+ }
118
+ updateMeetingsGoalsByMeetingIdAndGoalId(pathParams) {
119
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.meeting_id))}/goals/${encodeURIComponent(String(pathParams.goal_id))}`;
120
+ return this.requestJson({
121
+ method: "PUT",
122
+ path,
123
+ });
124
+ }
125
+ deleteMeetingsGoalsByMeetingIdAndGoalId(pathParams) {
126
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.meeting_id))}/goals/${encodeURIComponent(String(pathParams.goal_id))}`;
127
+ return this.requestJson({
128
+ method: "DELETE",
129
+ path,
130
+ });
131
+ }
132
+ getMeetingsById(pathParams) {
133
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.id))}`;
134
+ return this.requestJson({
135
+ method: "GET",
136
+ path,
137
+ });
138
+ }
139
+ updateMeetingsById(pathParams, body) {
140
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.id))}`;
141
+ return this.requestJson({
142
+ method: "PUT",
143
+ path,
144
+ body
145
+ });
146
+ }
147
+ deleteMeetingsById(pathParams) {
148
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.id))}`;
149
+ return this.requestJson({
150
+ method: "DELETE",
151
+ path,
152
+ });
153
+ }
154
+ createV2Meetings(body) {
155
+ const path = "/lifecycle-manager/v2/meetings";
156
+ return this.requestJson({
157
+ method: "POST",
158
+ path,
159
+ body
160
+ });
161
+ }
162
+ listMeetings(query) {
163
+ const path = "/lifecycle-manager/v1/meetings";
164
+ return this.requestJson({
165
+ method: "GET",
166
+ path,
167
+ query,
168
+ });
169
+ }
170
+ createMeetings(body) {
171
+ const path = "/lifecycle-manager/v1/meetings";
172
+ return this.requestJson({
173
+ method: "POST",
174
+ path,
175
+ body
176
+ });
177
+ }
178
+ updateMeetingsCompletionStatusById(pathParams, body) {
179
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.id))}/completion-status`;
180
+ return this.requestJson({
181
+ method: "PUT",
182
+ path,
183
+ body
184
+ });
185
+ }
186
+ createMeetingsAttendeesUsersById(pathParams, body) {
187
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.id))}/attendees/users`;
188
+ return this.requestJson({
189
+ method: "POST",
190
+ path,
191
+ body
192
+ });
193
+ }
194
+ deleteMeetingsAttendeesUsersById(pathParams, body) {
195
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.id))}/attendees/users`;
196
+ return this.requestJson({
197
+ method: "DELETE",
198
+ path,
199
+ body
200
+ });
201
+ }
202
+ createMeetingsAttendeesContactsById(pathParams, body) {
203
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.id))}/attendees/contacts`;
204
+ return this.requestJson({
205
+ method: "POST",
206
+ path,
207
+ body
208
+ });
209
+ }
210
+ deleteMeetingsAttendeesContactsById(pathParams, body) {
211
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.id))}/attendees/contacts`;
212
+ return this.requestJson({
213
+ method: "DELETE",
214
+ path,
215
+ body
216
+ });
217
+ }
218
+ listMeetingsActionItemsByMeetingId(pathParams) {
219
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.meeting_id))}/action-items`;
220
+ return this.requestJson({
221
+ method: "GET",
222
+ path,
223
+ });
224
+ }
225
+ updateMeetingsActionItemsByMeetingIdAndActionItemId(pathParams) {
226
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.meeting_id))}/action-items/${encodeURIComponent(String(pathParams.action_item_id))}`;
227
+ return this.requestJson({
228
+ method: "PUT",
229
+ path,
230
+ });
231
+ }
232
+ deleteMeetingsActionItemsByMeetingIdAndActionItemId(pathParams) {
233
+ const path = `/lifecycle-manager/v1/meetings/${encodeURIComponent(String(pathParams.meeting_id))}/action-items/${encodeURIComponent(String(pathParams.action_item_id))}`;
234
+ return this.requestJson({
235
+ method: "DELETE",
236
+ path,
237
+ });
238
+ }
239
+ updateInitiativesStatusById(pathParams, body) {
240
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.id))}/status`;
241
+ return this.requestJson({
242
+ method: "PUT",
243
+ path,
244
+ body
245
+ });
246
+ }
247
+ updateInitiativesScheduleById(pathParams, body) {
248
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.id))}/schedule`;
249
+ return this.requestJson({
250
+ method: "PUT",
251
+ path,
252
+ body
253
+ });
254
+ }
255
+ updateInitiativesRecurringById(pathParams, body) {
256
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.id))}/recurring`;
257
+ return this.requestJson({
258
+ method: "PUT",
259
+ path,
260
+ body
261
+ });
262
+ }
263
+ updateInitiativesPriorityById(pathParams, body) {
264
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.id))}/priority`;
265
+ return this.requestJson({
266
+ method: "PUT",
267
+ path,
268
+ body
269
+ });
270
+ }
271
+ updateInitiativesBudgetById(pathParams, body) {
272
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.id))}/budget`;
273
+ return this.requestJson({
274
+ method: "PUT",
275
+ path,
276
+ body
277
+ });
278
+ }
279
+ listInitiativesMeetingsByInitiativeId(pathParams) {
280
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.initiative_id))}/meetings`;
281
+ return this.requestJson({
282
+ method: "GET",
283
+ path,
284
+ });
285
+ }
286
+ updateInitiativesMeetingsByInitiativeIdAndMeetingId(pathParams) {
287
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.initiative_id))}/meetings/${encodeURIComponent(String(pathParams.meeting_id))}`;
288
+ return this.requestJson({
289
+ method: "PUT",
290
+ path,
291
+ });
292
+ }
293
+ deleteInitiativesMeetingsByInitiativeIdAndMeetingId(pathParams) {
294
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.initiative_id))}/meetings/${encodeURIComponent(String(pathParams.meeting_id))}`;
295
+ return this.requestJson({
296
+ method: "DELETE",
297
+ path,
298
+ });
299
+ }
300
+ listInitiativesGoalsByInitiativeId(pathParams) {
301
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.initiative_id))}/goals`;
302
+ return this.requestJson({
303
+ method: "GET",
304
+ path,
305
+ });
306
+ }
307
+ updateInitiativesGoalsByInitiativeIdAndGoalId(pathParams) {
308
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.initiative_id))}/goals/${encodeURIComponent(String(pathParams.goal_id))}`;
309
+ return this.requestJson({
310
+ method: "PUT",
311
+ path,
312
+ });
313
+ }
314
+ deleteInitiativesGoalsByInitiativeIdAndGoalId(pathParams) {
315
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.initiative_id))}/goals/${encodeURIComponent(String(pathParams.goal_id))}`;
316
+ return this.requestJson({
317
+ method: "DELETE",
318
+ path,
319
+ });
320
+ }
321
+ getInitiativesById(pathParams) {
322
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.id))}`;
323
+ return this.requestJson({
324
+ method: "GET",
325
+ path,
326
+ });
327
+ }
328
+ updateInitiativesById(pathParams, body) {
329
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.id))}`;
330
+ return this.requestJson({
331
+ method: "PUT",
332
+ path,
333
+ body
334
+ });
335
+ }
336
+ deleteInitiativesById(pathParams) {
337
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.id))}`;
338
+ return this.requestJson({
339
+ method: "DELETE",
340
+ path,
341
+ });
342
+ }
343
+ listInitiatives(query) {
344
+ const path = "/lifecycle-manager/v1/initiatives";
345
+ return this.requestJson({
346
+ method: "GET",
347
+ path,
348
+ query,
349
+ });
350
+ }
351
+ createInitiatives(body) {
352
+ const path = "/lifecycle-manager/v1/initiatives";
353
+ return this.requestJson({
354
+ method: "POST",
355
+ path,
356
+ body
357
+ });
358
+ }
359
+ listInitiativesActionItemsByInitiativeId(pathParams) {
360
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.initiative_id))}/action-items`;
361
+ return this.requestJson({
362
+ method: "GET",
363
+ path,
364
+ });
365
+ }
366
+ updateInitiativesActionItemsByInitiativeIdAndActionItemId(pathParams) {
367
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.initiative_id))}/action-items/${encodeURIComponent(String(pathParams.action_item_id))}`;
368
+ return this.requestJson({
369
+ method: "PUT",
370
+ path,
371
+ });
372
+ }
373
+ deleteInitiativesActionItemsByInitiativeIdAndActionItemId(pathParams) {
374
+ const path = `/lifecycle-manager/v1/initiatives/${encodeURIComponent(String(pathParams.initiative_id))}/action-items/${encodeURIComponent(String(pathParams.action_item_id))}`;
375
+ return this.requestJson({
376
+ method: "DELETE",
377
+ path,
378
+ });
379
+ }
380
+ updateGoalsStatusById(pathParams, body) {
381
+ const path = `/lifecycle-manager/v1/goals/${encodeURIComponent(String(pathParams.id))}/status`;
382
+ return this.requestJson({
383
+ method: "PUT",
384
+ path,
385
+ body
386
+ });
387
+ }
388
+ updateGoalsScheduleById(pathParams, body) {
389
+ const path = `/lifecycle-manager/v1/goals/${encodeURIComponent(String(pathParams.id))}/schedule`;
390
+ return this.requestJson({
391
+ method: "PUT",
392
+ path,
393
+ body
394
+ });
395
+ }
396
+ listGoalsMeetingsByGoalId(pathParams) {
397
+ const path = `/lifecycle-manager/v1/goals/${encodeURIComponent(String(pathParams.goal_id))}/meetings`;
398
+ return this.requestJson({
399
+ method: "GET",
400
+ path,
401
+ });
402
+ }
403
+ updateGoalsMeetingsByGoalIdAndMeetingId(pathParams) {
404
+ const path = `/lifecycle-manager/v1/goals/${encodeURIComponent(String(pathParams.goal_id))}/meetings/${encodeURIComponent(String(pathParams.meeting_id))}`;
405
+ return this.requestJson({
406
+ method: "PUT",
407
+ path,
408
+ });
409
+ }
410
+ deleteGoalsMeetingsByGoalIdAndMeetingId(pathParams) {
411
+ const path = `/lifecycle-manager/v1/goals/${encodeURIComponent(String(pathParams.goal_id))}/meetings/${encodeURIComponent(String(pathParams.meeting_id))}`;
412
+ return this.requestJson({
413
+ method: "DELETE",
414
+ path,
415
+ });
416
+ }
417
+ listGoalsInitiativesByGoalId(pathParams) {
418
+ const path = `/lifecycle-manager/v1/goals/${encodeURIComponent(String(pathParams.goal_id))}/initiatives`;
419
+ return this.requestJson({
420
+ method: "GET",
421
+ path,
422
+ });
423
+ }
424
+ updateGoalsInitiativesByGoalIdAndInitiativeId(pathParams) {
425
+ const path = `/lifecycle-manager/v1/goals/${encodeURIComponent(String(pathParams.goal_id))}/initiatives/${encodeURIComponent(String(pathParams.initiative_id))}`;
426
+ return this.requestJson({
427
+ method: "PUT",
428
+ path,
429
+ });
430
+ }
431
+ deleteGoalsInitiativesByGoalIdAndInitiativeId(pathParams) {
432
+ const path = `/lifecycle-manager/v1/goals/${encodeURIComponent(String(pathParams.goal_id))}/initiatives/${encodeURIComponent(String(pathParams.initiative_id))}`;
433
+ return this.requestJson({
434
+ method: "DELETE",
435
+ path,
436
+ });
437
+ }
438
+ getGoalsById(pathParams) {
439
+ const path = `/lifecycle-manager/v1/goals/${encodeURIComponent(String(pathParams.id))}`;
440
+ return this.requestJson({
441
+ method: "GET",
442
+ path,
443
+ });
444
+ }
445
+ updateGoalsById(pathParams, body) {
446
+ const path = `/lifecycle-manager/v1/goals/${encodeURIComponent(String(pathParams.id))}`;
447
+ return this.requestJson({
448
+ method: "PUT",
449
+ path,
450
+ body
451
+ });
452
+ }
453
+ deleteGoalsById(pathParams) {
454
+ const path = `/lifecycle-manager/v1/goals/${encodeURIComponent(String(pathParams.id))}`;
455
+ return this.requestJson({
456
+ method: "DELETE",
457
+ path,
458
+ });
459
+ }
460
+ listGoals(query) {
461
+ const path = "/lifecycle-manager/v1/goals";
462
+ return this.requestJson({
463
+ method: "GET",
464
+ path,
465
+ query,
466
+ });
467
+ }
468
+ createGoals(body) {
469
+ const path = "/lifecycle-manager/v1/goals";
470
+ return this.requestJson({
471
+ method: "POST",
472
+ path,
473
+ body
474
+ });
475
+ }
476
+ updateActionItemsCompletionStatusById(pathParams, body) {
477
+ const path = `/lifecycle-manager/v1/action-items/${encodeURIComponent(String(pathParams.id))}/completion-status`;
478
+ return this.requestJson({
479
+ method: "PUT",
480
+ path,
481
+ body
482
+ });
483
+ }
484
+ getActionItemsById(pathParams) {
485
+ const path = `/lifecycle-manager/v1/action-items/${encodeURIComponent(String(pathParams.id))}`;
486
+ return this.requestJson({
487
+ method: "GET",
488
+ path,
489
+ });
490
+ }
491
+ updateActionItemsById(pathParams, body) {
492
+ const path = `/lifecycle-manager/v1/action-items/${encodeURIComponent(String(pathParams.id))}`;
493
+ return this.requestJson({
494
+ method: "PUT",
495
+ path,
496
+ body
497
+ });
498
+ }
499
+ deleteActionItemsById(pathParams) {
500
+ const path = `/lifecycle-manager/v1/action-items/${encodeURIComponent(String(pathParams.id))}`;
501
+ return this.requestJson({
502
+ method: "DELETE",
503
+ path,
504
+ });
505
+ }
506
+ listActionItems(query) {
507
+ const path = "/lifecycle-manager/v1/action-items";
508
+ return this.requestJson({
509
+ method: "GET",
510
+ path,
511
+ query,
512
+ });
513
+ }
514
+ createActionItems(body) {
515
+ const path = "/lifecycle-manager/v1/action-items";
516
+ return this.requestJson({
517
+ method: "POST",
518
+ path,
519
+ body
520
+ });
521
+ }
522
+ getContractsById(pathParams) {
523
+ const path = `/lifecycle-manager/v1/contracts/${encodeURIComponent(String(pathParams.id))}`;
524
+ return this.requestJson({
525
+ method: "GET",
526
+ path,
527
+ });
528
+ }
529
+ updateContractsById(pathParams, body) {
530
+ const path = `/lifecycle-manager/v1/contracts/${encodeURIComponent(String(pathParams.id))}`;
531
+ return this.requestJson({
532
+ method: "PUT",
533
+ path,
534
+ body
535
+ });
536
+ }
537
+ deleteContractsById(pathParams) {
538
+ const path = `/lifecycle-manager/v1/contracts/${encodeURIComponent(String(pathParams.id))}`;
539
+ return this.requestJson({
540
+ method: "DELETE",
541
+ path,
542
+ });
543
+ }
544
+ listContracts(query) {
545
+ const path = "/lifecycle-manager/v1/contracts";
546
+ return this.requestJson({
547
+ method: "GET",
548
+ path,
549
+ query,
550
+ });
551
+ }
552
+ createContracts(body) {
553
+ const path = "/lifecycle-manager/v1/contracts";
554
+ return this.requestJson({
555
+ method: "POST",
556
+ path,
557
+ body
558
+ });
559
+ }
560
+ listAssetsHardwareLifecycles(query) {
561
+ const path = "/lifecycle-manager/v1/assets/hardware/lifecycles";
562
+ return this.requestJson({
563
+ method: "GET",
564
+ path,
565
+ query,
566
+ });
567
+ }
568
+ getAssessmentTemplatesByAssessmentTemplateId(pathParams) {
569
+ const path = `/lifecycle-manager/v1/assessment-templates/${encodeURIComponent(String(pathParams.assessment_template_id))}`;
570
+ return this.requestJson({
571
+ method: "GET",
572
+ path,
573
+ });
574
+ }
575
+ updateAssessmentTemplatesByAssessmentTemplateId(pathParams, body) {
576
+ const path = `/lifecycle-manager/v1/assessment-templates/${encodeURIComponent(String(pathParams.assessment_template_id))}`;
577
+ return this.requestJson({
578
+ method: "PUT",
579
+ path,
580
+ body
581
+ });
582
+ }
583
+ deleteAssessmentTemplatesByAssessmentTemplateId(pathParams) {
584
+ const path = `/lifecycle-manager/v1/assessment-templates/${encodeURIComponent(String(pathParams.assessment_template_id))}`;
585
+ return this.requestJson({
586
+ method: "DELETE",
587
+ path,
588
+ });
589
+ }
590
+ listAssessmentTemplates() {
591
+ const path = "/lifecycle-manager/v1/assessment-templates";
592
+ return this.requestJson({
593
+ method: "GET",
594
+ path,
595
+ });
596
+ }
597
+ createAssessmentTemplates(body) {
598
+ const path = "/lifecycle-manager/v1/assessment-templates";
599
+ return this.requestJson({
600
+ method: "POST",
601
+ path,
602
+ body
603
+ });
604
+ }
605
+ updateAssessmentsInternalCommentById(pathParams, body) {
606
+ const path = `/lifecycle-manager/v1/assessments/${encodeURIComponent(String(pathParams.id))}/internal-comment`;
607
+ return this.requestJson({
608
+ method: "PUT",
609
+ path,
610
+ body
611
+ });
612
+ }
613
+ updateAssessmentsEvaluateById(pathParams, body) {
614
+ const path = `/lifecycle-manager/v1/assessments/${encodeURIComponent(String(pathParams.id))}/evaluate`;
615
+ return this.requestJson({
616
+ method: "PUT",
617
+ path,
618
+ body
619
+ });
620
+ }
621
+ getAssessmentsById(pathParams) {
622
+ const path = `/lifecycle-manager/v1/assessments/${encodeURIComponent(String(pathParams.id))}`;
623
+ return this.requestJson({
624
+ method: "GET",
625
+ path,
626
+ });
627
+ }
628
+ updateAssessmentsById(pathParams, body) {
629
+ const path = `/lifecycle-manager/v1/assessments/${encodeURIComponent(String(pathParams.id))}`;
630
+ return this.requestJson({
631
+ method: "PUT",
632
+ path,
633
+ body
634
+ });
635
+ }
636
+ deleteAssessmentsById(pathParams) {
637
+ const path = `/lifecycle-manager/v1/assessments/${encodeURIComponent(String(pathParams.id))}`;
638
+ return this.requestJson({
639
+ method: "DELETE",
640
+ path,
641
+ });
642
+ }
643
+ listAssessments(query) {
644
+ const path = "/lifecycle-manager/v1/assessments";
645
+ return this.requestJson({
646
+ method: "GET",
647
+ path,
648
+ query,
649
+ });
650
+ }
651
+ createAssessments(body) {
652
+ const path = "/lifecycle-manager/v1/assessments";
653
+ return this.requestJson({
654
+ method: "POST",
655
+ path,
656
+ body
657
+ });
658
+ }
659
+ updateAssessmentsCompletionStatusById(pathParams, body) {
660
+ const path = `/lifecycle-manager/v1/assessments/${encodeURIComponent(String(pathParams.id))}/completion-status`;
661
+ return this.requestJson({
662
+ method: "PUT",
663
+ path,
664
+ body
665
+ });
666
+ }
667
+ }
668
+ //# sourceMappingURL=generated.js.map