@prismatic-io/components-jamf 0.0.0-stage → 0.0.1

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,2263 @@
1
+ //#region node_modules/axios/index.d.ts
2
+ type UppercaseMethod = 'GET' | 'DELETE' | 'HEAD' | 'OPTIONS' | 'POST' | 'PUT' | 'PATCH' | 'PURGE' | 'LINK' | 'UNLINK' | 'QUERY';
3
+ type Method = (UppercaseMethod | Lowercase<UppercaseMethod>) & {};
4
+ type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' | 'formdata';
5
+ //#endregion
6
+ //#region src/types/index.d.ts
7
+ interface PagedResponse<T> {
8
+ results: T[];
9
+ totalCount: number;
10
+ }
11
+ interface RichPagedResponse<T> extends PagedResponse<T> {
12
+ page: number;
13
+ pageSize: number;
14
+ totalPages: number;
15
+ hasNext: boolean;
16
+ hasPrevious: boolean;
17
+ }
18
+ interface JamfCreateResponse {
19
+ id: string;
20
+ href: string;
21
+ }
22
+ interface ComputerInventory {
23
+ id: string;
24
+ udid: string | null;
25
+ general?: {
26
+ name: string;
27
+ lastContactTime: string | null;
28
+ lastEnrolledDate?: string | null;
29
+ platform: string;
30
+ assetTag: string | null;
31
+ reportDate: string | null;
32
+ remoteManagement: {
33
+ managed: boolean;
34
+ };
35
+ supervised: boolean;
36
+ };
37
+ hardware?: {
38
+ make: string;
39
+ model: string;
40
+ serialNumber: string;
41
+ processorType: string | null;
42
+ totalRamMegabytes: number;
43
+ };
44
+ operatingSystem?: {
45
+ name: string;
46
+ version: string;
47
+ build: string;
48
+ };
49
+ userAndLocation?: {
50
+ username: string | null;
51
+ realname: string | null;
52
+ email: string | null;
53
+ department: string | null;
54
+ building: string | null;
55
+ };
56
+ security?: {
57
+ sipStatus: string | null;
58
+ gatekeeperStatus: string | null;
59
+ xprotectVersion: string | null;
60
+ firewall: boolean | null;
61
+ };
62
+ }
63
+ interface MobileDevice {
64
+ id: string;
65
+ managementId: string | null;
66
+ name: string | null;
67
+ udid: string | null;
68
+ serialNumber: string | null;
69
+ wifiMacAddress: string | null;
70
+ phoneNumber: string | null;
71
+ username: string | null;
72
+ type: string | null;
73
+ model: string | null;
74
+ modelIdentifier: string | null;
75
+ softwareUpdateDeviceId: string | null;
76
+ }
77
+ interface MobileDeviceDetail extends MobileDevice {
78
+ osVersion: string | null;
79
+ osType: string | null;
80
+ realname: string | null;
81
+ email: string | null;
82
+ department: string | null;
83
+ }
84
+ interface MobileDeviceInventory {
85
+ mobileDeviceId: string;
86
+ deviceType: string | null;
87
+ general?: {
88
+ udid: string | null;
89
+ displayName: string | null;
90
+ assetTag: string | null;
91
+ siteId: string | null;
92
+ lastInventoryUpdateDate: string | null;
93
+ osVersion: string | null;
94
+ osRapidSecurityResponse: string | null;
95
+ osBuild: string | null;
96
+ osSupplementalBuildVersion: string | null;
97
+ softwareUpdateDeviceId: string | null;
98
+ ipAddress: string | null;
99
+ managed: boolean;
100
+ supervised: boolean;
101
+ deviceOwnershipType: string | null;
102
+ enrollmentMethodPrestage: string | null;
103
+ enrollmentSessionTokenValid: boolean;
104
+ lastEnrolledDate: string | null;
105
+ mdmProfileExpirationDate: string | null;
106
+ timeZone: string | null;
107
+ declarativeDeviceManagementEnabled: boolean;
108
+ managementId: string | null;
109
+ extensionAttributes: unknown[] | null;
110
+ lastLoggedInUsernameSelfService: string | null;
111
+ lastLoggedInUsernameSelfServiceTimestamp: string | null;
112
+ sharedIpad: boolean;
113
+ diagnosticAndUsageReportingEnabled: boolean;
114
+ appAnalyticsEnabled: boolean;
115
+ residentUsers: number | null;
116
+ quotaSize: number | null;
117
+ temporarySessionOnly: boolean | null;
118
+ temporarySessionTimeout: number | null;
119
+ userSessionTimeout: number | null;
120
+ syncedToComputer: number | null;
121
+ maximumSharediPadUsersStored: number | null;
122
+ lastBackupDate: string | null;
123
+ deviceLocatorServiceEnabled: boolean;
124
+ doNotDisturbEnabled: boolean;
125
+ cloudBackupEnabled: boolean;
126
+ lastCloudBackupDate: string | null;
127
+ locationServicesForSelfServiceMobileEnabled: boolean;
128
+ itunesStoreAccountActive: boolean;
129
+ exchangeDeviceId: string | null;
130
+ tethered: boolean;
131
+ } | null;
132
+ hardware?: {
133
+ capacityMb: number | null;
134
+ availableSpaceMb: number | null;
135
+ usedSpacePercentage: number | null;
136
+ batteryLevel: number | null;
137
+ serialNumber: string | null;
138
+ wifiMacAddress: string | null;
139
+ bluetoothMacAddress: string | null;
140
+ modelIdentifier: string | null;
141
+ model: string | null;
142
+ modelNumber: string | null;
143
+ bluetoothLowEnergyCapable: boolean | null;
144
+ deviceId: string | null;
145
+ } | null;
146
+ userAndLocation?: {
147
+ username: string | null;
148
+ realName: string | null;
149
+ emailAddress: string | null;
150
+ position: string | null;
151
+ phoneNumber: string | null;
152
+ departmentId: string | null;
153
+ buildingId: string | null;
154
+ room: string | null;
155
+ building: string | null;
156
+ department: string | null;
157
+ } | null;
158
+ security?: {
159
+ dataProtected: boolean | null;
160
+ blockLevelEncryptionCapable: boolean | null;
161
+ fileLevelEncryptionCapable: boolean | null;
162
+ passcodePresent: boolean | null;
163
+ passcodeCompliant: boolean | null;
164
+ passcodeCompliantWithProfile: boolean | null;
165
+ hardwareEncryption: number | null;
166
+ activationLockEnabled: boolean | null;
167
+ jailBreakDetected: boolean | null;
168
+ lostModeEnabled: boolean | null;
169
+ } | null;
170
+ }
171
+ interface JamfUser {
172
+ id: string;
173
+ username: string;
174
+ realname: string | null;
175
+ email: string | null;
176
+ position: string | null;
177
+ enableCustomPhotoUrl: boolean;
178
+ customPhotoUrl: string | null;
179
+ ldapServer: {
180
+ id: string;
181
+ name: string | null;
182
+ } | null;
183
+ extensionAttributes: unknown[];
184
+ }
185
+ interface Department {
186
+ id: string;
187
+ name: string;
188
+ }
189
+ interface Category {
190
+ id: string;
191
+ name: string;
192
+ priority: number;
193
+ }
194
+ interface Script {
195
+ id: string;
196
+ name: string;
197
+ categoryId: string | null;
198
+ categoryName: string | null;
199
+ info: string | null;
200
+ notes: string | null;
201
+ priority: string;
202
+ parameter4: string | null;
203
+ parameter5: string | null;
204
+ parameter6: string | null;
205
+ parameter7: string | null;
206
+ parameter8: string | null;
207
+ parameter9: string | null;
208
+ parameter10: string | null;
209
+ parameter11: string | null;
210
+ osRequirements: string | null;
211
+ scriptContents: string | null;
212
+ }
213
+ interface Package {
214
+ id: string;
215
+ packageName: string;
216
+ fileName: string;
217
+ categoryId: string | null;
218
+ info: string | null;
219
+ notes: string | null;
220
+ priority: number;
221
+ osRequirements: string;
222
+ rebootRequired: boolean;
223
+ fillUserTemplate: boolean;
224
+ indexed: boolean;
225
+ fillExistingUsers: boolean;
226
+ swu: boolean;
227
+ selfHealNotify: boolean;
228
+ selfHealingAction: string | null;
229
+ osInstall: boolean;
230
+ serialNumber: string;
231
+ parentPackageId: string;
232
+ basePath: string;
233
+ suppressUpdates: boolean;
234
+ cloudTransferStatus: string | null;
235
+ ignoreConflicts: boolean;
236
+ suppressFromDock: boolean;
237
+ suppressEula: boolean;
238
+ suppressRegistration: boolean;
239
+ installLanguage: string;
240
+ md5: string;
241
+ sha256: string;
242
+ hashType: string | null;
243
+ hashValue: string;
244
+ size: string;
245
+ osInstallerVersion: string;
246
+ manifest: string;
247
+ manifestFileName: string;
248
+ format: string;
249
+ sha3512: string;
250
+ }
251
+ interface Webhook {
252
+ id: number;
253
+ name: string;
254
+ enabled: boolean;
255
+ url: string;
256
+ content_type: string;
257
+ event: string;
258
+ connection_timeout?: number;
259
+ read_timeout?: number;
260
+ authentication_type?: string;
261
+ username?: string;
262
+ password?: string;
263
+ header?: string;
264
+ hash_algorithm?: string;
265
+ enable_display_fields_for_group_object?: boolean;
266
+ display_fields?: unknown[];
267
+ smart_group_id?: number;
268
+ }
269
+ interface WebhookListItem {
270
+ id: number;
271
+ name: string;
272
+ }
273
+ interface WebhookMutationResult {
274
+ id: number | null;
275
+ }
276
+ interface WebhookResponse {
277
+ webhook: Webhook;
278
+ }
279
+ interface WebhooksListResponse {
280
+ webhooks: WebhookListItem[];
281
+ }
282
+ interface ComputerPollCursor extends Record<string, unknown> {
283
+ watermark: string;
284
+ boundaryIds: string[];
285
+ tieGroup?: {
286
+ lastKey: string | null;
287
+ };
288
+ }
289
+ //#endregion
290
+ //#region npm-dist/.entry.d.ts
291
+ declare const _default: import("@prismatic-io/spectral").CallableComponent<{
292
+ key: "jamf";
293
+ public: true;
294
+ documentationUrl: "https://prismatic.io/docs/components/jamf/";
295
+ display: {
296
+ label: string;
297
+ description: string;
298
+ iconPath: string;
299
+ category: "Application Connectors";
300
+ };
301
+ hooks: {
302
+ error: (error: unknown) => unknown;
303
+ };
304
+ actions: {
305
+ rawRequest: import("@prismatic-io/spectral").ActionDefinition<{
306
+ url: {
307
+ comments: string;
308
+ example: string;
309
+ label: string;
310
+ placeholder: string;
311
+ type: "string";
312
+ required: true;
313
+ clean: (value: unknown) => string;
314
+ };
315
+ method: {
316
+ label: string;
317
+ type: "string";
318
+ required: true;
319
+ model: {
320
+ label: Method;
321
+ value: Method;
322
+ }[];
323
+ comments: string;
324
+ clean: (value: unknown) => string;
325
+ };
326
+ data: {
327
+ label: string;
328
+ placeholder: string;
329
+ type: "string";
330
+ required: false;
331
+ comments: string;
332
+ example: string;
333
+ };
334
+ formData: {
335
+ label: string;
336
+ placeholder: string;
337
+ type: "string";
338
+ collection: "keyvaluelist";
339
+ required: false;
340
+ comments: string;
341
+ example: string;
342
+ };
343
+ fileData: {
344
+ label: string;
345
+ placeholder: string;
346
+ type: "string";
347
+ collection: "keyvaluelist";
348
+ required: false;
349
+ comments: string;
350
+ example: string;
351
+ };
352
+ fileDataFileNames: {
353
+ label: string;
354
+ placeholder: string;
355
+ type: "string";
356
+ collection: "keyvaluelist";
357
+ required: false;
358
+ comments: string;
359
+ clean: (values: any) => Record<string, string> | undefined;
360
+ };
361
+ queryParams: {
362
+ label: string;
363
+ placeholder: string;
364
+ type: "string";
365
+ collection: "keyvaluelist";
366
+ required: false;
367
+ comments: string;
368
+ };
369
+ headers: {
370
+ label: string;
371
+ placeholder: string;
372
+ type: "string";
373
+ collection: "keyvaluelist";
374
+ required: false;
375
+ comments: string;
376
+ example: string;
377
+ };
378
+ responseType: {
379
+ label: string;
380
+ placeholder: string;
381
+ type: "string";
382
+ default: string;
383
+ required: true;
384
+ comments: string;
385
+ model: {
386
+ label: ResponseType;
387
+ value: ResponseType;
388
+ }[];
389
+ clean: (value: unknown) => ResponseType;
390
+ };
391
+ timeout: {
392
+ label: string;
393
+ type: "string";
394
+ required: false;
395
+ comments: string;
396
+ example: string;
397
+ clean: (value: unknown) => number;
398
+ };
399
+ retryDelayMS: {
400
+ label: string;
401
+ placeholder: string;
402
+ type: "string";
403
+ required: false;
404
+ comments: string;
405
+ default: string;
406
+ clean: (value: unknown) => number;
407
+ };
408
+ retryAllErrors: {
409
+ label: string;
410
+ type: "boolean";
411
+ default: string;
412
+ required: false;
413
+ comments: string;
414
+ clean: (value: unknown) => boolean;
415
+ };
416
+ maxRetries: {
417
+ label: string;
418
+ placeholder: string;
419
+ type: "string";
420
+ required: false;
421
+ comments: string;
422
+ default: string;
423
+ clean: (value: unknown) => number;
424
+ };
425
+ useExponentialBackoff: {
426
+ label: string;
427
+ type: "boolean";
428
+ default: string;
429
+ required: false;
430
+ comments: string;
431
+ clean: (value: unknown) => boolean;
432
+ };
433
+ connection: {
434
+ label: string;
435
+ type: "connection";
436
+ required: true;
437
+ comments: string;
438
+ };
439
+ apiType: {
440
+ label: string;
441
+ type: "string";
442
+ required: false;
443
+ default: string;
444
+ model: {
445
+ label: string;
446
+ value: string;
447
+ }[];
448
+ comments: string;
449
+ clean: (value: unknown, defaultValue?: string) => string;
450
+ };
451
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
452
+ data: any;
453
+ }>;
454
+ createWebhook: import("@prismatic-io/spectral").ActionDefinition<{
455
+ connection: {
456
+ label: string;
457
+ type: "connection";
458
+ required: true;
459
+ comments: string;
460
+ };
461
+ webhookName: {
462
+ label: string;
463
+ type: "string";
464
+ required: true;
465
+ comments: string;
466
+ clean: (value: unknown, defaultValue?: string) => string;
467
+ placeholder: string;
468
+ example: string;
469
+ };
470
+ webhookEvent: {
471
+ label: string;
472
+ type: "string";
473
+ required: true;
474
+ model: {
475
+ label: string;
476
+ value: string;
477
+ }[];
478
+ comments: string;
479
+ clean: (value: unknown, defaultValue?: string) => string;
480
+ placeholder: string;
481
+ example: string;
482
+ };
483
+ webhookUrl: {
484
+ label: string;
485
+ type: "string";
486
+ required: true;
487
+ comments: string;
488
+ clean: (value: unknown, defaultValue?: string) => string;
489
+ placeholder: string;
490
+ example: string;
491
+ };
492
+ additionalFields: {
493
+ label: string;
494
+ required: boolean;
495
+ comments: string;
496
+ inputs: {
497
+ webhookContentType: {
498
+ label: string;
499
+ type: "string";
500
+ required: false;
501
+ default: string;
502
+ model: {
503
+ label: string;
504
+ value: string;
505
+ }[];
506
+ comments: string;
507
+ clean: (value: unknown, defaultValue?: string) => string;
508
+ example: string;
509
+ };
510
+ webhookEnabled: {
511
+ label: string;
512
+ type: "boolean";
513
+ required: false;
514
+ default: string;
515
+ comments: string;
516
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
517
+ };
518
+ webhookAuthType: {
519
+ label: string;
520
+ type: "string";
521
+ required: false;
522
+ default: string;
523
+ model: {
524
+ label: string;
525
+ value: string;
526
+ }[];
527
+ comments: string;
528
+ clean: (value: unknown, defaultValue?: string) => string;
529
+ };
530
+ webhookAuthHeaderName: {
531
+ label: string;
532
+ type: "string";
533
+ required: false;
534
+ comments: string;
535
+ clean: (value: unknown) => string | undefined;
536
+ placeholder: string;
537
+ example: string;
538
+ };
539
+ webhookAuthHeaderValue: {
540
+ label: string;
541
+ type: "string";
542
+ required: false;
543
+ comments: string;
544
+ clean: (value: unknown) => string | undefined;
545
+ placeholder: string;
546
+ };
547
+ };
548
+ } & {
549
+ type: "structuredObject";
550
+ };
551
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
552
+ data: {
553
+ id: number | null;
554
+ };
555
+ }>;
556
+ deleteInstancedWebhooks: import("@prismatic-io/spectral").ActionDefinition<{
557
+ connection: {
558
+ label: string;
559
+ type: "connection";
560
+ required: true;
561
+ comments: string;
562
+ };
563
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
564
+ data: {
565
+ webhooksDeleted: number;
566
+ };
567
+ }>;
568
+ deleteWebhook: import("@prismatic-io/spectral").ActionDefinition<{
569
+ connection: {
570
+ label: string;
571
+ type: "connection";
572
+ required: true;
573
+ comments: string;
574
+ };
575
+ resourceId: {
576
+ label: string;
577
+ comments: string;
578
+ dataSource: string;
579
+ type: "string";
580
+ required: true;
581
+ clean: (value: unknown, defaultValue?: string) => string;
582
+ placeholder: string;
583
+ example: string;
584
+ };
585
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
586
+ data: string;
587
+ }>;
588
+ getWebhook: import("@prismatic-io/spectral").ActionDefinition<{
589
+ connection: {
590
+ label: string;
591
+ type: "connection";
592
+ required: true;
593
+ comments: string;
594
+ };
595
+ resourceId: {
596
+ label: string;
597
+ comments: string;
598
+ dataSource: string;
599
+ type: "string";
600
+ required: true;
601
+ clean: (value: unknown, defaultValue?: string) => string;
602
+ placeholder: string;
603
+ example: string;
604
+ };
605
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
606
+ data: WebhookResponse;
607
+ }>;
608
+ listWebhooks: import("@prismatic-io/spectral").ActionDefinition<{
609
+ connection: {
610
+ label: string;
611
+ type: "connection";
612
+ required: true;
613
+ comments: string;
614
+ };
615
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
616
+ data: WebhooksListResponse;
617
+ }>;
618
+ updateWebhook: import("@prismatic-io/spectral").ActionDefinition<{
619
+ connection: {
620
+ label: string;
621
+ type: "connection";
622
+ required: true;
623
+ comments: string;
624
+ };
625
+ resourceId: {
626
+ label: string;
627
+ comments: string;
628
+ dataSource: string;
629
+ type: "string";
630
+ required: true;
631
+ clean: (value: unknown, defaultValue?: string) => string;
632
+ placeholder: string;
633
+ example: string;
634
+ };
635
+ additionalFields: {
636
+ label: string;
637
+ required: boolean;
638
+ comments: string;
639
+ inputs: {
640
+ webhookName: {
641
+ required: boolean;
642
+ clean: (value: unknown) => string | undefined;
643
+ label: string;
644
+ type: "string";
645
+ comments: string;
646
+ placeholder: string;
647
+ example: string;
648
+ };
649
+ webhookEvent: {
650
+ required: boolean;
651
+ clean: (value: unknown) => string | undefined;
652
+ label: string;
653
+ type: "string";
654
+ model: {
655
+ label: string;
656
+ value: string;
657
+ }[];
658
+ comments: string;
659
+ placeholder: string;
660
+ example: string;
661
+ };
662
+ webhookUrl: {
663
+ required: boolean;
664
+ clean: (value: unknown) => string | undefined;
665
+ label: string;
666
+ type: "string";
667
+ comments: string;
668
+ placeholder: string;
669
+ example: string;
670
+ };
671
+ webhookContentType: {
672
+ default: undefined;
673
+ clean: (value: unknown) => string | undefined;
674
+ label: string;
675
+ type: "string";
676
+ required: false;
677
+ model: {
678
+ label: string;
679
+ value: string;
680
+ }[];
681
+ comments: string;
682
+ example: string;
683
+ };
684
+ webhookEnabled: {
685
+ label: string;
686
+ type: "string";
687
+ required: false;
688
+ model: {
689
+ label: string;
690
+ value: string;
691
+ }[];
692
+ comments: string;
693
+ clean: (value: unknown) => boolean | undefined;
694
+ };
695
+ };
696
+ } & {
697
+ type: "structuredObject";
698
+ };
699
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
700
+ data: WebhookMutationResult;
701
+ }>;
702
+ createPackage: import("@prismatic-io/spectral").ActionDefinition<{
703
+ connection: {
704
+ label: string;
705
+ type: "connection";
706
+ required: true;
707
+ comments: string;
708
+ };
709
+ packageName: {
710
+ label: string;
711
+ type: "string";
712
+ required: true;
713
+ comments: string;
714
+ clean: (value: unknown, defaultValue?: string) => string;
715
+ placeholder: string;
716
+ example: string;
717
+ };
718
+ packageFileName: {
719
+ label: string;
720
+ type: "string";
721
+ required: true;
722
+ comments: string;
723
+ clean: (value: unknown, defaultValue?: string) => string;
724
+ placeholder: string;
725
+ example: string;
726
+ };
727
+ packageCategoryId: {
728
+ label: string;
729
+ type: "string";
730
+ required: false;
731
+ dataSource: string;
732
+ comments: string;
733
+ clean: (value: unknown) => string | undefined;
734
+ placeholder: string;
735
+ example: string;
736
+ };
737
+ additionalFields: {
738
+ label: string;
739
+ required: boolean;
740
+ comments: string;
741
+ inputs: {
742
+ packagePriority: {
743
+ label: string;
744
+ type: "string";
745
+ required: false;
746
+ comments: string;
747
+ clean: (value: unknown) => number | undefined;
748
+ placeholder: string;
749
+ example: string;
750
+ };
751
+ packageInfo: {
752
+ label: string;
753
+ type: "string";
754
+ required: false;
755
+ comments: string;
756
+ clean: (value: unknown) => string | undefined;
757
+ placeholder: string;
758
+ example: string;
759
+ };
760
+ packageNotes: {
761
+ label: string;
762
+ type: "string";
763
+ required: false;
764
+ comments: string;
765
+ clean: (value: unknown) => string | undefined;
766
+ placeholder: string;
767
+ example: string;
768
+ };
769
+ packageRebootRequired: {
770
+ label: string;
771
+ type: "boolean";
772
+ required: false;
773
+ comments: string;
774
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
775
+ };
776
+ packageOsInstall: {
777
+ label: string;
778
+ type: "boolean";
779
+ required: false;
780
+ comments: string;
781
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
782
+ };
783
+ packageFillUserTemplate: {
784
+ label: string;
785
+ type: "boolean";
786
+ required: false;
787
+ comments: string;
788
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
789
+ };
790
+ packageSuppressUpdates: {
791
+ label: string;
792
+ type: "boolean";
793
+ required: false;
794
+ comments: string;
795
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
796
+ };
797
+ packageSuppressEula: {
798
+ label: string;
799
+ type: "boolean";
800
+ required: false;
801
+ comments: string;
802
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
803
+ };
804
+ packageSuppressFromDock: {
805
+ label: string;
806
+ type: "boolean";
807
+ required: false;
808
+ comments: string;
809
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
810
+ };
811
+ packageSuppressRegistration: {
812
+ label: string;
813
+ type: "boolean";
814
+ required: false;
815
+ comments: string;
816
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
817
+ };
818
+ };
819
+ } & {
820
+ type: "structuredObject";
821
+ };
822
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
823
+ data: JamfCreateResponse;
824
+ }>;
825
+ deletePackage: import("@prismatic-io/spectral").ActionDefinition<{
826
+ connection: {
827
+ label: string;
828
+ type: "connection";
829
+ required: true;
830
+ comments: string;
831
+ };
832
+ resourceId: {
833
+ label: string;
834
+ comments: string;
835
+ dataSource: string;
836
+ type: "string";
837
+ required: true;
838
+ clean: (value: unknown, defaultValue?: string) => string;
839
+ placeholder: string;
840
+ example: string;
841
+ };
842
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
843
+ data: string;
844
+ }>;
845
+ getPackage: import("@prismatic-io/spectral").ActionDefinition<{
846
+ connection: {
847
+ label: string;
848
+ type: "connection";
849
+ required: true;
850
+ comments: string;
851
+ };
852
+ resourceId: {
853
+ label: string;
854
+ comments: string;
855
+ dataSource: string;
856
+ type: "string";
857
+ required: true;
858
+ clean: (value: unknown, defaultValue?: string) => string;
859
+ placeholder: string;
860
+ example: string;
861
+ };
862
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
863
+ data: Package;
864
+ }>;
865
+ listPackages: import("@prismatic-io/spectral").ActionDefinition<{
866
+ connection: {
867
+ label: string;
868
+ type: "connection";
869
+ required: true;
870
+ comments: string;
871
+ };
872
+ fetchAll: {
873
+ label: string;
874
+ type: "boolean";
875
+ required: false;
876
+ default: string;
877
+ comments: string;
878
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
879
+ };
880
+ pagination: {
881
+ label: string;
882
+ required: boolean;
883
+ comments: string;
884
+ inputs: {
885
+ page: {
886
+ label: string;
887
+ type: "string";
888
+ required: false;
889
+ default: string;
890
+ comments: string;
891
+ clean: (value: unknown) => string | undefined;
892
+ placeholder: string;
893
+ example: string;
894
+ };
895
+ pageSize: {
896
+ label: string;
897
+ type: "string";
898
+ required: false;
899
+ comments: string;
900
+ clean: (value: unknown) => string | undefined;
901
+ placeholder: string;
902
+ example: string;
903
+ default: string;
904
+ };
905
+ };
906
+ } & {
907
+ type: "structuredObject";
908
+ };
909
+ sort: {
910
+ label: string;
911
+ type: "string";
912
+ required: false;
913
+ comments: string;
914
+ clean: (value: unknown) => string | undefined;
915
+ placeholder: string;
916
+ example: string;
917
+ };
918
+ filter: {
919
+ label: string;
920
+ type: "string";
921
+ required: false;
922
+ comments: string;
923
+ clean: (value: unknown) => string | undefined;
924
+ placeholder: string;
925
+ example: string;
926
+ };
927
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
928
+ data: PagedResponse<Package>;
929
+ }>;
930
+ updatePackage: import("@prismatic-io/spectral").ActionDefinition<{
931
+ connection: {
932
+ label: string;
933
+ type: "connection";
934
+ required: true;
935
+ comments: string;
936
+ };
937
+ resourceId: {
938
+ label: string;
939
+ comments: string;
940
+ dataSource: string;
941
+ type: "string";
942
+ required: true;
943
+ clean: (value: unknown, defaultValue?: string) => string;
944
+ placeholder: string;
945
+ example: string;
946
+ };
947
+ packageCategoryId: {
948
+ label: string;
949
+ type: "string";
950
+ required: false;
951
+ dataSource: string;
952
+ comments: string;
953
+ clean: (value: unknown) => string | undefined;
954
+ placeholder: string;
955
+ example: string;
956
+ };
957
+ additionalFields: {
958
+ label: string;
959
+ required: boolean;
960
+ comments: string;
961
+ inputs: {
962
+ packageName: {
963
+ required: boolean;
964
+ clean: (value: unknown) => string | undefined;
965
+ label: string;
966
+ type: "string";
967
+ comments: string;
968
+ placeholder: string;
969
+ example: string;
970
+ };
971
+ packageFileName: {
972
+ required: boolean;
973
+ clean: (value: unknown) => string | undefined;
974
+ label: string;
975
+ type: "string";
976
+ comments: string;
977
+ placeholder: string;
978
+ example: string;
979
+ };
980
+ packagePriority: {
981
+ label: string;
982
+ type: "string";
983
+ required: false;
984
+ comments: string;
985
+ clean: (value: unknown) => number | undefined;
986
+ placeholder: string;
987
+ example: string;
988
+ };
989
+ packageInfo: {
990
+ label: string;
991
+ type: "string";
992
+ required: false;
993
+ comments: string;
994
+ clean: (value: unknown) => string | undefined;
995
+ placeholder: string;
996
+ example: string;
997
+ };
998
+ packageNotes: {
999
+ label: string;
1000
+ type: "string";
1001
+ required: false;
1002
+ comments: string;
1003
+ clean: (value: unknown) => string | undefined;
1004
+ placeholder: string;
1005
+ example: string;
1006
+ };
1007
+ packageRebootRequired: {
1008
+ label: string;
1009
+ type: "string";
1010
+ required: false;
1011
+ model: {
1012
+ label: string;
1013
+ value: string;
1014
+ }[];
1015
+ comments: string;
1016
+ clean: (value: unknown) => boolean | undefined;
1017
+ };
1018
+ packageOsInstall: {
1019
+ label: string;
1020
+ type: "string";
1021
+ required: false;
1022
+ model: {
1023
+ label: string;
1024
+ value: string;
1025
+ }[];
1026
+ comments: string;
1027
+ clean: (value: unknown) => boolean | undefined;
1028
+ };
1029
+ packageFillUserTemplate: {
1030
+ label: string;
1031
+ type: "string";
1032
+ required: false;
1033
+ model: {
1034
+ label: string;
1035
+ value: string;
1036
+ }[];
1037
+ comments: string;
1038
+ clean: (value: unknown) => boolean | undefined;
1039
+ };
1040
+ packageSuppressUpdates: {
1041
+ label: string;
1042
+ type: "string";
1043
+ required: false;
1044
+ model: {
1045
+ label: string;
1046
+ value: string;
1047
+ }[];
1048
+ comments: string;
1049
+ clean: (value: unknown) => boolean | undefined;
1050
+ };
1051
+ packageSuppressEula: {
1052
+ label: string;
1053
+ type: "string";
1054
+ required: false;
1055
+ model: {
1056
+ label: string;
1057
+ value: string;
1058
+ }[];
1059
+ comments: string;
1060
+ clean: (value: unknown) => boolean | undefined;
1061
+ };
1062
+ packageSuppressFromDock: {
1063
+ label: string;
1064
+ type: "string";
1065
+ required: false;
1066
+ model: {
1067
+ label: string;
1068
+ value: string;
1069
+ }[];
1070
+ comments: string;
1071
+ clean: (value: unknown) => boolean | undefined;
1072
+ };
1073
+ packageSuppressRegistration: {
1074
+ label: string;
1075
+ type: "string";
1076
+ required: false;
1077
+ model: {
1078
+ label: string;
1079
+ value: string;
1080
+ }[];
1081
+ comments: string;
1082
+ clean: (value: unknown) => boolean | undefined;
1083
+ };
1084
+ };
1085
+ } & {
1086
+ type: "structuredObject";
1087
+ };
1088
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1089
+ data: Package;
1090
+ }>;
1091
+ createScript: import("@prismatic-io/spectral").ActionDefinition<{
1092
+ connection: {
1093
+ label: string;
1094
+ type: "connection";
1095
+ required: true;
1096
+ comments: string;
1097
+ };
1098
+ scriptName: {
1099
+ label: string;
1100
+ type: "string";
1101
+ required: true;
1102
+ comments: string;
1103
+ clean: (value: unknown, defaultValue?: string) => string;
1104
+ placeholder: string;
1105
+ example: string;
1106
+ };
1107
+ scriptCategoryId: {
1108
+ label: string;
1109
+ type: "string";
1110
+ required: false;
1111
+ dataSource: string;
1112
+ comments: string;
1113
+ clean: (value: unknown) => string | undefined;
1114
+ placeholder: string;
1115
+ example: string;
1116
+ };
1117
+ additionalFields: {
1118
+ label: string;
1119
+ required: boolean;
1120
+ comments: string;
1121
+ inputs: {
1122
+ scriptContents: {
1123
+ label: string;
1124
+ type: "text";
1125
+ required: false;
1126
+ comments: string;
1127
+ clean: (value: unknown) => string | undefined;
1128
+ placeholder: string;
1129
+ example: string;
1130
+ };
1131
+ scriptPriority: {
1132
+ label: string;
1133
+ type: "string";
1134
+ required: false;
1135
+ default: string;
1136
+ model: {
1137
+ label: string;
1138
+ value: string;
1139
+ }[];
1140
+ comments: string;
1141
+ clean: (value: unknown) => string | undefined;
1142
+ placeholder: string;
1143
+ example: string;
1144
+ };
1145
+ scriptInfo: {
1146
+ label: string;
1147
+ type: "string";
1148
+ required: false;
1149
+ comments: string;
1150
+ clean: (value: unknown) => string | undefined;
1151
+ placeholder: string;
1152
+ example: string;
1153
+ };
1154
+ scriptNotes: {
1155
+ label: string;
1156
+ type: "string";
1157
+ required: false;
1158
+ comments: string;
1159
+ clean: (value: unknown) => string | undefined;
1160
+ placeholder: string;
1161
+ example: string;
1162
+ };
1163
+ };
1164
+ } & {
1165
+ type: "structuredObject";
1166
+ };
1167
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1168
+ data: JamfCreateResponse;
1169
+ }>;
1170
+ deleteScript: import("@prismatic-io/spectral").ActionDefinition<{
1171
+ connection: {
1172
+ label: string;
1173
+ type: "connection";
1174
+ required: true;
1175
+ comments: string;
1176
+ };
1177
+ resourceId: {
1178
+ label: string;
1179
+ comments: string;
1180
+ dataSource: string;
1181
+ type: "string";
1182
+ required: true;
1183
+ clean: (value: unknown, defaultValue?: string) => string;
1184
+ placeholder: string;
1185
+ example: string;
1186
+ };
1187
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1188
+ data: string;
1189
+ }>;
1190
+ getScript: import("@prismatic-io/spectral").ActionDefinition<{
1191
+ connection: {
1192
+ label: string;
1193
+ type: "connection";
1194
+ required: true;
1195
+ comments: string;
1196
+ };
1197
+ resourceId: {
1198
+ label: string;
1199
+ comments: string;
1200
+ dataSource: string;
1201
+ type: "string";
1202
+ required: true;
1203
+ clean: (value: unknown, defaultValue?: string) => string;
1204
+ placeholder: string;
1205
+ example: string;
1206
+ };
1207
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1208
+ data: Script;
1209
+ }>;
1210
+ listScripts: import("@prismatic-io/spectral").ActionDefinition<{
1211
+ connection: {
1212
+ label: string;
1213
+ type: "connection";
1214
+ required: true;
1215
+ comments: string;
1216
+ };
1217
+ fetchAll: {
1218
+ label: string;
1219
+ type: "boolean";
1220
+ required: false;
1221
+ default: string;
1222
+ comments: string;
1223
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1224
+ };
1225
+ pagination: {
1226
+ label: string;
1227
+ required: boolean;
1228
+ comments: string;
1229
+ inputs: {
1230
+ page: {
1231
+ label: string;
1232
+ type: "string";
1233
+ required: false;
1234
+ default: string;
1235
+ comments: string;
1236
+ clean: (value: unknown) => string | undefined;
1237
+ placeholder: string;
1238
+ example: string;
1239
+ };
1240
+ pageSize: {
1241
+ label: string;
1242
+ type: "string";
1243
+ required: false;
1244
+ comments: string;
1245
+ clean: (value: unknown) => string | undefined;
1246
+ placeholder: string;
1247
+ example: string;
1248
+ default: string;
1249
+ };
1250
+ };
1251
+ } & {
1252
+ type: "structuredObject";
1253
+ };
1254
+ sort: {
1255
+ label: string;
1256
+ type: "string";
1257
+ required: false;
1258
+ comments: string;
1259
+ clean: (value: unknown) => string | undefined;
1260
+ placeholder: string;
1261
+ example: string;
1262
+ };
1263
+ filter: {
1264
+ label: string;
1265
+ type: "string";
1266
+ required: false;
1267
+ comments: string;
1268
+ clean: (value: unknown) => string | undefined;
1269
+ placeholder: string;
1270
+ example: string;
1271
+ };
1272
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1273
+ data: PagedResponse<Script>;
1274
+ }>;
1275
+ updateScript: import("@prismatic-io/spectral").ActionDefinition<{
1276
+ connection: {
1277
+ label: string;
1278
+ type: "connection";
1279
+ required: true;
1280
+ comments: string;
1281
+ };
1282
+ resourceId: {
1283
+ label: string;
1284
+ comments: string;
1285
+ dataSource: string;
1286
+ type: "string";
1287
+ required: true;
1288
+ clean: (value: unknown, defaultValue?: string) => string;
1289
+ placeholder: string;
1290
+ example: string;
1291
+ };
1292
+ scriptCategoryId: {
1293
+ label: string;
1294
+ type: "string";
1295
+ required: false;
1296
+ dataSource: string;
1297
+ comments: string;
1298
+ clean: (value: unknown) => string | undefined;
1299
+ placeholder: string;
1300
+ example: string;
1301
+ };
1302
+ additionalFields: {
1303
+ label: string;
1304
+ required: boolean;
1305
+ comments: string;
1306
+ inputs: {
1307
+ scriptName: {
1308
+ required: boolean;
1309
+ clean: (value: unknown) => string | undefined;
1310
+ label: string;
1311
+ type: "string";
1312
+ comments: string;
1313
+ placeholder: string;
1314
+ example: string;
1315
+ };
1316
+ scriptContents: {
1317
+ label: string;
1318
+ type: "text";
1319
+ required: false;
1320
+ comments: string;
1321
+ clean: (value: unknown) => string | undefined;
1322
+ placeholder: string;
1323
+ example: string;
1324
+ };
1325
+ scriptPriority: {
1326
+ default: undefined;
1327
+ label: string;
1328
+ type: "string";
1329
+ required: false;
1330
+ model: {
1331
+ label: string;
1332
+ value: string;
1333
+ }[];
1334
+ comments: string;
1335
+ clean: (value: unknown) => string | undefined;
1336
+ placeholder: string;
1337
+ example: string;
1338
+ };
1339
+ scriptInfo: {
1340
+ label: string;
1341
+ type: "string";
1342
+ required: false;
1343
+ comments: string;
1344
+ clean: (value: unknown) => string | undefined;
1345
+ placeholder: string;
1346
+ example: string;
1347
+ };
1348
+ scriptNotes: {
1349
+ label: string;
1350
+ type: "string";
1351
+ required: false;
1352
+ comments: string;
1353
+ clean: (value: unknown) => string | undefined;
1354
+ placeholder: string;
1355
+ example: string;
1356
+ };
1357
+ };
1358
+ } & {
1359
+ type: "structuredObject";
1360
+ };
1361
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1362
+ data: Script;
1363
+ }>;
1364
+ createCategory: import("@prismatic-io/spectral").ActionDefinition<{
1365
+ connection: {
1366
+ label: string;
1367
+ type: "connection";
1368
+ required: true;
1369
+ comments: string;
1370
+ };
1371
+ categoryName: {
1372
+ label: string;
1373
+ type: "string";
1374
+ required: true;
1375
+ comments: string;
1376
+ clean: (value: unknown, defaultValue?: string) => string;
1377
+ placeholder: string;
1378
+ example: string;
1379
+ };
1380
+ priority: {
1381
+ label: string;
1382
+ type: "string";
1383
+ required: false;
1384
+ default: string;
1385
+ comments: string;
1386
+ clean: (value: unknown, defaultValue?: number) => number;
1387
+ placeholder: string;
1388
+ example: string;
1389
+ };
1390
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1391
+ data: JamfCreateResponse;
1392
+ }>;
1393
+ deleteCategory: import("@prismatic-io/spectral").ActionDefinition<{
1394
+ connection: {
1395
+ label: string;
1396
+ type: "connection";
1397
+ required: true;
1398
+ comments: string;
1399
+ };
1400
+ resourceId: {
1401
+ label: string;
1402
+ comments: string;
1403
+ dataSource: string;
1404
+ type: "string";
1405
+ required: true;
1406
+ clean: (value: unknown, defaultValue?: string) => string;
1407
+ placeholder: string;
1408
+ example: string;
1409
+ };
1410
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1411
+ data: string;
1412
+ }>;
1413
+ getCategory: import("@prismatic-io/spectral").ActionDefinition<{
1414
+ connection: {
1415
+ label: string;
1416
+ type: "connection";
1417
+ required: true;
1418
+ comments: string;
1419
+ };
1420
+ resourceId: {
1421
+ label: string;
1422
+ comments: string;
1423
+ dataSource: string;
1424
+ type: "string";
1425
+ required: true;
1426
+ clean: (value: unknown, defaultValue?: string) => string;
1427
+ placeholder: string;
1428
+ example: string;
1429
+ };
1430
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1431
+ data: Category;
1432
+ }>;
1433
+ listCategories: import("@prismatic-io/spectral").ActionDefinition<{
1434
+ connection: {
1435
+ label: string;
1436
+ type: "connection";
1437
+ required: true;
1438
+ comments: string;
1439
+ };
1440
+ fetchAll: {
1441
+ label: string;
1442
+ type: "boolean";
1443
+ required: false;
1444
+ default: string;
1445
+ comments: string;
1446
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1447
+ };
1448
+ pagination: {
1449
+ label: string;
1450
+ required: boolean;
1451
+ comments: string;
1452
+ inputs: {
1453
+ page: {
1454
+ label: string;
1455
+ type: "string";
1456
+ required: false;
1457
+ default: string;
1458
+ comments: string;
1459
+ clean: (value: unknown) => string | undefined;
1460
+ placeholder: string;
1461
+ example: string;
1462
+ };
1463
+ pageSize: {
1464
+ label: string;
1465
+ type: "string";
1466
+ required: false;
1467
+ comments: string;
1468
+ clean: (value: unknown) => string | undefined;
1469
+ placeholder: string;
1470
+ example: string;
1471
+ default: string;
1472
+ };
1473
+ };
1474
+ } & {
1475
+ type: "structuredObject";
1476
+ };
1477
+ sort: {
1478
+ label: string;
1479
+ type: "string";
1480
+ required: false;
1481
+ comments: string;
1482
+ clean: (value: unknown) => string | undefined;
1483
+ placeholder: string;
1484
+ example: string;
1485
+ };
1486
+ filter: {
1487
+ label: string;
1488
+ type: "string";
1489
+ required: false;
1490
+ comments: string;
1491
+ clean: (value: unknown) => string | undefined;
1492
+ placeholder: string;
1493
+ example: string;
1494
+ };
1495
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1496
+ data: PagedResponse<Category>;
1497
+ }>;
1498
+ updateCategory: import("@prismatic-io/spectral").ActionDefinition<{
1499
+ connection: {
1500
+ label: string;
1501
+ type: "connection";
1502
+ required: true;
1503
+ comments: string;
1504
+ };
1505
+ resourceId: {
1506
+ label: string;
1507
+ comments: string;
1508
+ dataSource: string;
1509
+ type: "string";
1510
+ required: true;
1511
+ clean: (value: unknown, defaultValue?: string) => string;
1512
+ placeholder: string;
1513
+ example: string;
1514
+ };
1515
+ categoryName: {
1516
+ required: boolean;
1517
+ clean: (value: unknown) => string | undefined;
1518
+ label: string;
1519
+ type: "string";
1520
+ comments: string;
1521
+ placeholder: string;
1522
+ example: string;
1523
+ };
1524
+ priority: {
1525
+ default: undefined;
1526
+ clean: (value: unknown) => number | undefined;
1527
+ label: string;
1528
+ type: "string";
1529
+ required: false;
1530
+ comments: string;
1531
+ placeholder: string;
1532
+ example: string;
1533
+ };
1534
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1535
+ data: Category;
1536
+ }>;
1537
+ createDepartment: import("@prismatic-io/spectral").ActionDefinition<{
1538
+ connection: {
1539
+ label: string;
1540
+ type: "connection";
1541
+ required: true;
1542
+ comments: string;
1543
+ };
1544
+ departmentName: {
1545
+ label: string;
1546
+ type: "string";
1547
+ required: true;
1548
+ comments: string;
1549
+ clean: (value: unknown, defaultValue?: string) => string;
1550
+ placeholder: string;
1551
+ example: string;
1552
+ };
1553
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1554
+ data: JamfCreateResponse;
1555
+ }>;
1556
+ deleteDepartment: import("@prismatic-io/spectral").ActionDefinition<{
1557
+ connection: {
1558
+ label: string;
1559
+ type: "connection";
1560
+ required: true;
1561
+ comments: string;
1562
+ };
1563
+ resourceId: {
1564
+ label: string;
1565
+ comments: string;
1566
+ dataSource: string;
1567
+ type: "string";
1568
+ required: true;
1569
+ clean: (value: unknown, defaultValue?: string) => string;
1570
+ placeholder: string;
1571
+ example: string;
1572
+ };
1573
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1574
+ data: string;
1575
+ }>;
1576
+ getDepartment: import("@prismatic-io/spectral").ActionDefinition<{
1577
+ connection: {
1578
+ label: string;
1579
+ type: "connection";
1580
+ required: true;
1581
+ comments: string;
1582
+ };
1583
+ resourceId: {
1584
+ label: string;
1585
+ comments: string;
1586
+ dataSource: string;
1587
+ type: "string";
1588
+ required: true;
1589
+ clean: (value: unknown, defaultValue?: string) => string;
1590
+ placeholder: string;
1591
+ example: string;
1592
+ };
1593
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1594
+ data: Department;
1595
+ }>;
1596
+ listDepartments: import("@prismatic-io/spectral").ActionDefinition<{
1597
+ connection: {
1598
+ label: string;
1599
+ type: "connection";
1600
+ required: true;
1601
+ comments: string;
1602
+ };
1603
+ fetchAll: {
1604
+ label: string;
1605
+ type: "boolean";
1606
+ required: false;
1607
+ default: string;
1608
+ comments: string;
1609
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1610
+ };
1611
+ pagination: {
1612
+ label: string;
1613
+ required: boolean;
1614
+ comments: string;
1615
+ inputs: {
1616
+ page: {
1617
+ label: string;
1618
+ type: "string";
1619
+ required: false;
1620
+ default: string;
1621
+ comments: string;
1622
+ clean: (value: unknown) => string | undefined;
1623
+ placeholder: string;
1624
+ example: string;
1625
+ };
1626
+ pageSize: {
1627
+ label: string;
1628
+ type: "string";
1629
+ required: false;
1630
+ comments: string;
1631
+ clean: (value: unknown) => string | undefined;
1632
+ placeholder: string;
1633
+ example: string;
1634
+ default: string;
1635
+ };
1636
+ };
1637
+ } & {
1638
+ type: "structuredObject";
1639
+ };
1640
+ sort: {
1641
+ label: string;
1642
+ type: "string";
1643
+ required: false;
1644
+ comments: string;
1645
+ clean: (value: unknown) => string | undefined;
1646
+ placeholder: string;
1647
+ example: string;
1648
+ };
1649
+ filter: {
1650
+ label: string;
1651
+ type: "string";
1652
+ required: false;
1653
+ comments: string;
1654
+ clean: (value: unknown) => string | undefined;
1655
+ placeholder: string;
1656
+ example: string;
1657
+ };
1658
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1659
+ data: PagedResponse<Department>;
1660
+ }>;
1661
+ updateDepartment: import("@prismatic-io/spectral").ActionDefinition<{
1662
+ connection: {
1663
+ label: string;
1664
+ type: "connection";
1665
+ required: true;
1666
+ comments: string;
1667
+ };
1668
+ resourceId: {
1669
+ label: string;
1670
+ comments: string;
1671
+ dataSource: string;
1672
+ type: "string";
1673
+ required: true;
1674
+ clean: (value: unknown, defaultValue?: string) => string;
1675
+ placeholder: string;
1676
+ example: string;
1677
+ };
1678
+ departmentName: {
1679
+ label: string;
1680
+ type: "string";
1681
+ required: true;
1682
+ comments: string;
1683
+ clean: (value: unknown, defaultValue?: string) => string;
1684
+ placeholder: string;
1685
+ example: string;
1686
+ };
1687
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1688
+ data: Department;
1689
+ }>;
1690
+ listUsers: import("@prismatic-io/spectral").ActionDefinition<{
1691
+ connection: {
1692
+ label: string;
1693
+ type: "connection";
1694
+ required: true;
1695
+ comments: string;
1696
+ };
1697
+ fetchAll: {
1698
+ label: string;
1699
+ type: "boolean";
1700
+ required: false;
1701
+ default: string;
1702
+ comments: string;
1703
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1704
+ };
1705
+ pagination: {
1706
+ label: string;
1707
+ required: boolean;
1708
+ comments: string;
1709
+ inputs: {
1710
+ page: {
1711
+ label: string;
1712
+ type: "string";
1713
+ required: false;
1714
+ default: string;
1715
+ comments: string;
1716
+ clean: (value: unknown) => string | undefined;
1717
+ placeholder: string;
1718
+ example: string;
1719
+ };
1720
+ pageSize: {
1721
+ label: string;
1722
+ type: "string";
1723
+ required: false;
1724
+ comments: string;
1725
+ clean: (value: unknown) => string | undefined;
1726
+ placeholder: string;
1727
+ example: string;
1728
+ default: string;
1729
+ };
1730
+ };
1731
+ } & {
1732
+ type: "structuredObject";
1733
+ };
1734
+ sort: {
1735
+ label: string;
1736
+ type: "string";
1737
+ required: false;
1738
+ comments: string;
1739
+ clean: (value: unknown) => string | undefined;
1740
+ placeholder: string;
1741
+ example: string;
1742
+ };
1743
+ filter: {
1744
+ label: string;
1745
+ type: "string";
1746
+ required: false;
1747
+ comments: string;
1748
+ clean: (value: unknown) => string | undefined;
1749
+ placeholder: string;
1750
+ example: string;
1751
+ };
1752
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1753
+ data: RichPagedResponse<JamfUser>;
1754
+ }>;
1755
+ getMobileDevice: import("@prismatic-io/spectral").ActionDefinition<{
1756
+ connection: {
1757
+ label: string;
1758
+ type: "connection";
1759
+ required: true;
1760
+ comments: string;
1761
+ };
1762
+ resourceId: {
1763
+ label: string;
1764
+ comments: string;
1765
+ dataSource: string;
1766
+ type: "string";
1767
+ required: true;
1768
+ clean: (value: unknown, defaultValue?: string) => string;
1769
+ placeholder: string;
1770
+ example: string;
1771
+ };
1772
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1773
+ data: MobileDeviceDetail;
1774
+ }>;
1775
+ listMobileDevices: import("@prismatic-io/spectral").ActionDefinition<{
1776
+ connection: {
1777
+ label: string;
1778
+ type: "connection";
1779
+ required: true;
1780
+ comments: string;
1781
+ };
1782
+ fetchAll: {
1783
+ label: string;
1784
+ type: "boolean";
1785
+ required: false;
1786
+ default: string;
1787
+ comments: string;
1788
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1789
+ };
1790
+ pagination: {
1791
+ label: string;
1792
+ required: boolean;
1793
+ comments: string;
1794
+ inputs: {
1795
+ page: {
1796
+ label: string;
1797
+ type: "string";
1798
+ required: false;
1799
+ default: string;
1800
+ comments: string;
1801
+ clean: (value: unknown) => string | undefined;
1802
+ placeholder: string;
1803
+ example: string;
1804
+ };
1805
+ pageSize: {
1806
+ label: string;
1807
+ type: "string";
1808
+ required: false;
1809
+ comments: string;
1810
+ clean: (value: unknown) => string | undefined;
1811
+ placeholder: string;
1812
+ example: string;
1813
+ default: string;
1814
+ };
1815
+ };
1816
+ } & {
1817
+ type: "structuredObject";
1818
+ };
1819
+ sort: {
1820
+ label: string;
1821
+ type: "string";
1822
+ required: false;
1823
+ comments: string;
1824
+ clean: (value: unknown) => string | undefined;
1825
+ placeholder: string;
1826
+ example: string;
1827
+ };
1828
+ filter: {
1829
+ label: string;
1830
+ type: "string";
1831
+ required: false;
1832
+ comments: string;
1833
+ clean: (value: unknown) => string | undefined;
1834
+ placeholder: string;
1835
+ example: string;
1836
+ };
1837
+ section: {
1838
+ label: string;
1839
+ type: "string";
1840
+ collection: "valuelist";
1841
+ default: string[];
1842
+ model: {
1843
+ label: string;
1844
+ value: string;
1845
+ }[];
1846
+ comments: string;
1847
+ clean: (value: unknown) => string[];
1848
+ placeholder: string;
1849
+ example: string;
1850
+ };
1851
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1852
+ data: PagedResponse<MobileDeviceInventory>;
1853
+ }>;
1854
+ getComputer: import("@prismatic-io/spectral").ActionDefinition<{
1855
+ connection: {
1856
+ label: string;
1857
+ type: "connection";
1858
+ required: true;
1859
+ comments: string;
1860
+ };
1861
+ resourceId: {
1862
+ label: string;
1863
+ comments: string;
1864
+ dataSource: string;
1865
+ type: "string";
1866
+ required: true;
1867
+ clean: (value: unknown, defaultValue?: string) => string;
1868
+ placeholder: string;
1869
+ example: string;
1870
+ };
1871
+ section: {
1872
+ label: string;
1873
+ type: "string";
1874
+ collection: "valuelist";
1875
+ default: string[];
1876
+ model: {
1877
+ label: string;
1878
+ value: string;
1879
+ }[];
1880
+ comments: string;
1881
+ clean: (value: unknown) => string[];
1882
+ placeholder: string;
1883
+ example: string;
1884
+ };
1885
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1886
+ data: ComputerInventory;
1887
+ }>;
1888
+ listComputers: import("@prismatic-io/spectral").ActionDefinition<{
1889
+ connection: {
1890
+ label: string;
1891
+ type: "connection";
1892
+ required: true;
1893
+ comments: string;
1894
+ };
1895
+ fetchAll: {
1896
+ label: string;
1897
+ type: "boolean";
1898
+ required: false;
1899
+ default: string;
1900
+ comments: string;
1901
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1902
+ };
1903
+ pagination: {
1904
+ label: string;
1905
+ required: boolean;
1906
+ comments: string;
1907
+ inputs: {
1908
+ page: {
1909
+ label: string;
1910
+ type: "string";
1911
+ required: false;
1912
+ default: string;
1913
+ comments: string;
1914
+ clean: (value: unknown) => string | undefined;
1915
+ placeholder: string;
1916
+ example: string;
1917
+ };
1918
+ pageSize: {
1919
+ label: string;
1920
+ type: "string";
1921
+ required: false;
1922
+ comments: string;
1923
+ clean: (value: unknown) => string | undefined;
1924
+ placeholder: string;
1925
+ example: string;
1926
+ default: string;
1927
+ };
1928
+ };
1929
+ } & {
1930
+ type: "structuredObject";
1931
+ };
1932
+ sort: {
1933
+ label: string;
1934
+ type: "string";
1935
+ required: false;
1936
+ comments: string;
1937
+ clean: (value: unknown) => string | undefined;
1938
+ placeholder: string;
1939
+ example: string;
1940
+ };
1941
+ filter: {
1942
+ label: string;
1943
+ type: "string";
1944
+ required: false;
1945
+ comments: string;
1946
+ clean: (value: unknown) => string | undefined;
1947
+ placeholder: string;
1948
+ example: string;
1949
+ };
1950
+ section: {
1951
+ label: string;
1952
+ type: "string";
1953
+ collection: "valuelist";
1954
+ default: string[];
1955
+ model: {
1956
+ label: string;
1957
+ value: string;
1958
+ }[];
1959
+ comments: string;
1960
+ clean: (value: unknown) => string[];
1961
+ placeholder: string;
1962
+ example: string;
1963
+ };
1964
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1965
+ data: PagedResponse<ComputerInventory>;
1966
+ }>;
1967
+ updateComputer: import("@prismatic-io/spectral").ActionDefinition<{
1968
+ connection: {
1969
+ label: string;
1970
+ type: "connection";
1971
+ required: true;
1972
+ comments: string;
1973
+ };
1974
+ resourceId: {
1975
+ label: string;
1976
+ comments: string;
1977
+ dataSource: string;
1978
+ type: "string";
1979
+ required: true;
1980
+ clean: (value: unknown, defaultValue?: string) => string;
1981
+ placeholder: string;
1982
+ example: string;
1983
+ };
1984
+ computerUpdateBody: {
1985
+ label: string;
1986
+ language: "json";
1987
+ type: "code";
1988
+ required: true;
1989
+ comments: string;
1990
+ clean: (value: unknown) => object;
1991
+ placeholder: string;
1992
+ example: string;
1993
+ };
1994
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1995
+ data: string;
1996
+ }>;
1997
+ };
1998
+ connections: (import("@prismatic-io/spectral").KeyedConnection<{
1999
+ key: "jamfClientCredentials";
2000
+ display: {
2001
+ label: string;
2002
+ description: string;
2003
+ };
2004
+ inputs: {
2005
+ baseUrl: {
2006
+ label: string;
2007
+ type: "string";
2008
+ required: true;
2009
+ shown: boolean;
2010
+ comments: string;
2011
+ placeholder: string;
2012
+ example: string;
2013
+ };
2014
+ clientId: {
2015
+ label: string;
2016
+ type: "string";
2017
+ required: true;
2018
+ shown: boolean;
2019
+ comments: string;
2020
+ placeholder: string;
2021
+ example: string;
2022
+ };
2023
+ clientSecret: {
2024
+ label: string;
2025
+ type: "password";
2026
+ required: true;
2027
+ shown: boolean;
2028
+ comments: string;
2029
+ };
2030
+ };
2031
+ }, "jamfClientCredentials"> | import("@prismatic-io/spectral").KeyedConnection<{
2032
+ key: "jamfBearerToken";
2033
+ display: {
2034
+ label: string;
2035
+ description: string;
2036
+ };
2037
+ inputs: {
2038
+ baseUrl: {
2039
+ label: string;
2040
+ type: "string";
2041
+ required: true;
2042
+ shown: boolean;
2043
+ comments: string;
2044
+ placeholder: string;
2045
+ example: string;
2046
+ };
2047
+ username: {
2048
+ label: string;
2049
+ type: "string";
2050
+ required: true;
2051
+ shown: boolean;
2052
+ comments: string;
2053
+ placeholder: string;
2054
+ example: string;
2055
+ };
2056
+ password: {
2057
+ label: string;
2058
+ type: "password";
2059
+ required: true;
2060
+ shown: boolean;
2061
+ comments: string;
2062
+ };
2063
+ };
2064
+ }, "jamfBearerToken">)[];
2065
+ triggers: {
2066
+ webhook: import("@prismatic-io/spectral").TriggerDefinition<{
2067
+ authHeaderName: {
2068
+ label: string;
2069
+ type: "string";
2070
+ required: false;
2071
+ comments: string;
2072
+ clean: (value: unknown) => string | undefined;
2073
+ placeholder: string;
2074
+ example: string;
2075
+ };
2076
+ authHeaderValue: {
2077
+ label: string;
2078
+ type: "string";
2079
+ required: false;
2080
+ comments: string;
2081
+ clean: (value: unknown) => string | undefined;
2082
+ placeholder: string;
2083
+ };
2084
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2085
+ payload: import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>;
2086
+ }, import("@prismatic-io/spectral").Inputs>;
2087
+ webhookEvents: import("@prismatic-io/spectral").TriggerDefinition<{
2088
+ connection: {
2089
+ label: string;
2090
+ type: "connection";
2091
+ required: true;
2092
+ comments: string;
2093
+ };
2094
+ events: {
2095
+ label: string;
2096
+ type: "string";
2097
+ collection: "valuelist";
2098
+ required: true;
2099
+ model: {
2100
+ label: string;
2101
+ value: string;
2102
+ }[];
2103
+ default: string[];
2104
+ comments: string;
2105
+ clean: (value: unknown) => string[];
2106
+ };
2107
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
2108
+ payload: import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>;
2109
+ }, import("@prismatic-io/spectral").Inputs>;
2110
+ pollNewComputers: import("@prismatic-io/spectral").PollingTriggerDefinition<{
2111
+ connection: {
2112
+ label: string;
2113
+ type: "connection";
2114
+ required: true;
2115
+ comments: string;
2116
+ };
2117
+ lookBackDate: {
2118
+ label: string;
2119
+ placeholder: string;
2120
+ type: "string";
2121
+ required: false;
2122
+ comments: string;
2123
+ example: string;
2124
+ clean: (value: unknown) => string;
2125
+ };
2126
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>, boolean, {
2127
+ payload: {
2128
+ paginationState: ComputerPollCursor | undefined;
2129
+ body: {
2130
+ data: ComputerInventory[];
2131
+ };
2132
+ headers: {
2133
+ [key: string]: string;
2134
+ };
2135
+ queryParameters: {
2136
+ [key: string]: string;
2137
+ };
2138
+ rawBody: {
2139
+ data: unknown;
2140
+ contentType?: string;
2141
+ };
2142
+ pathFragment: string;
2143
+ webhookUrls: {
2144
+ [key: string]: string;
2145
+ };
2146
+ webhookApiKeys: {
2147
+ [key: string]: string[];
2148
+ };
2149
+ invokeUrl: string;
2150
+ executionId: string;
2151
+ customer: import("@prismatic-io/spectral").CustomerAttributes;
2152
+ instance: import("@prismatic-io/spectral").InstanceAttributes;
2153
+ user: import("@prismatic-io/spectral").UserAttributes;
2154
+ integration: import("@prismatic-io/spectral").IntegrationAttributes;
2155
+ flow: import("@prismatic-io/spectral").FlowAttributes;
2156
+ startedAt: string;
2157
+ globalDebug: boolean;
2158
+ };
2159
+ polledNoChanges: boolean;
2160
+ }, import("@prismatic-io/spectral").Inputs>;
2161
+ pollNewMobileDevices: import("@prismatic-io/spectral").PollingTriggerDefinition<{
2162
+ connection: {
2163
+ label: string;
2164
+ type: "connection";
2165
+ required: true;
2166
+ comments: string;
2167
+ };
2168
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>, boolean, {
2169
+ payload: {
2170
+ body: {
2171
+ data: MobileDevice[];
2172
+ };
2173
+ headers: {
2174
+ [key: string]: string;
2175
+ };
2176
+ queryParameters: {
2177
+ [key: string]: string;
2178
+ };
2179
+ rawBody: {
2180
+ data: unknown;
2181
+ contentType?: string;
2182
+ };
2183
+ pathFragment: string;
2184
+ webhookUrls: {
2185
+ [key: string]: string;
2186
+ };
2187
+ webhookApiKeys: {
2188
+ [key: string]: string[];
2189
+ };
2190
+ invokeUrl: string;
2191
+ executionId: string;
2192
+ customer: import("@prismatic-io/spectral").CustomerAttributes;
2193
+ instance: import("@prismatic-io/spectral").InstanceAttributes;
2194
+ user: import("@prismatic-io/spectral").UserAttributes;
2195
+ integration: import("@prismatic-io/spectral").IntegrationAttributes;
2196
+ flow: import("@prismatic-io/spectral").FlowAttributes;
2197
+ startedAt: string;
2198
+ globalDebug: boolean;
2199
+ paginationState?: Record<string, unknown> | undefined;
2200
+ };
2201
+ polledNoChanges: boolean;
2202
+ }, import("@prismatic-io/spectral").Inputs>;
2203
+ };
2204
+ dataSources: {
2205
+ selectComputer: import("@prismatic-io/spectral").DataSourceDefinition<{
2206
+ connection: {
2207
+ label: string;
2208
+ type: "connection";
2209
+ required: true;
2210
+ comments: string;
2211
+ };
2212
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2213
+ selectMobileDevice: import("@prismatic-io/spectral").DataSourceDefinition<{
2214
+ connection: {
2215
+ label: string;
2216
+ type: "connection";
2217
+ required: true;
2218
+ comments: string;
2219
+ };
2220
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2221
+ selectDepartment: import("@prismatic-io/spectral").DataSourceDefinition<{
2222
+ connection: {
2223
+ label: string;
2224
+ type: "connection";
2225
+ required: true;
2226
+ comments: string;
2227
+ };
2228
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2229
+ selectCategory: import("@prismatic-io/spectral").DataSourceDefinition<{
2230
+ connection: {
2231
+ label: string;
2232
+ type: "connection";
2233
+ required: true;
2234
+ comments: string;
2235
+ };
2236
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2237
+ selectPackage: import("@prismatic-io/spectral").DataSourceDefinition<{
2238
+ connection: {
2239
+ label: string;
2240
+ type: "connection";
2241
+ required: true;
2242
+ comments: string;
2243
+ };
2244
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2245
+ selectScript: import("@prismatic-io/spectral").DataSourceDefinition<{
2246
+ connection: {
2247
+ label: string;
2248
+ type: "connection";
2249
+ required: true;
2250
+ comments: string;
2251
+ };
2252
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2253
+ selectWebhook: import("@prismatic-io/spectral").DataSourceDefinition<{
2254
+ connection: {
2255
+ label: string;
2256
+ type: "connection";
2257
+ required: true;
2258
+ comments: string;
2259
+ };
2260
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
2261
+ };
2262
+ }>;
2263
+ export = _default;