@prismatic-io/components-gusto 0.0.0-stage → 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,1279 @@
1
+ //#region node_modules/axios/index.d.ts
2
+ type AxiosHeaderValue = AxiosHeaders | string | string[] | number | boolean | null;
3
+ type AxiosHeaderParameters = Record<string, string>;
4
+ interface RawAxiosHeaders {
5
+ [key: string]: AxiosHeaderValue;
6
+ }
7
+ type AxiosHeaderMatcher = string | RegExp | ((this: AxiosHeaders, value: string, name: string) => boolean);
8
+ type AxiosHeaderParser = (this: AxiosHeaders, value: AxiosHeaderValue, header: string) => any;
9
+ declare class AxiosHeaders {
10
+ constructor(headers?: RawAxiosHeaders | AxiosHeaders | string);
11
+ [key: string]: any;
12
+ set(headerName?: string, value?: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
13
+ set(headers?: RawAxiosHeaders | AxiosHeaders | string, rewrite?: boolean): AxiosHeaders;
14
+ set(headers?: Iterable<[string, AxiosHeaderValue]>, rewrite?: boolean): AxiosHeaders;
15
+ get(headerName: string, parser: typeof AxiosHeaders.parseParameters): AxiosHeaderParameters;
16
+ get(headerName: string, parser: RegExp): RegExpExecArray | null;
17
+ get(headerName: string, matcher?: true | AxiosHeaderParser): AxiosHeaderValue;
18
+ has(header: string, matcher?: AxiosHeaderMatcher): boolean;
19
+ delete(header: string | string[], matcher?: AxiosHeaderMatcher): boolean;
20
+ clear(matcher?: AxiosHeaderMatcher): boolean;
21
+ normalize(format: boolean): AxiosHeaders;
22
+ concat(...targets: Array<AxiosHeaders | RawAxiosHeaders | string | undefined | null>): AxiosHeaders;
23
+ toJSON(asStrings: true): Record<string, string>;
24
+ toJSON(asStrings?: false): Record<string, string | string[]>;
25
+ toJSON(asStrings?: boolean): Record<string, string | string[]>;
26
+ static from(thing?: AxiosHeaders | RawAxiosHeaders | string): AxiosHeaders;
27
+ static parseParameters(value: AxiosHeaderValue): AxiosHeaderParameters;
28
+ static accessor(header: string | string[]): AxiosHeaders;
29
+ static concat(...targets: Array<AxiosHeaders | RawAxiosHeaders | string | undefined | null>): AxiosHeaders;
30
+ setContentType(value: ContentType, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
31
+ getContentType(parser?: RegExp): RegExpExecArray | null;
32
+ getContentType(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
33
+ hasContentType(matcher?: AxiosHeaderMatcher): boolean;
34
+ setContentLength(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
35
+ getContentLength(parser?: RegExp): RegExpExecArray | null;
36
+ getContentLength(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
37
+ hasContentLength(matcher?: AxiosHeaderMatcher): boolean;
38
+ setAccept(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
39
+ getAccept(parser?: RegExp): RegExpExecArray | null;
40
+ getAccept(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
41
+ hasAccept(matcher?: AxiosHeaderMatcher): boolean;
42
+ setUserAgent(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
43
+ getUserAgent(parser?: RegExp): RegExpExecArray | null;
44
+ getUserAgent(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
45
+ hasUserAgent(matcher?: AxiosHeaderMatcher): boolean;
46
+ setContentEncoding(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
47
+ getContentEncoding(parser?: RegExp): RegExpExecArray | null;
48
+ getContentEncoding(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
49
+ hasContentEncoding(matcher?: AxiosHeaderMatcher): boolean;
50
+ setAuthorization(value: AxiosHeaderValue, rewrite?: boolean | AxiosHeaderMatcher): AxiosHeaders;
51
+ getAuthorization(parser?: RegExp): RegExpExecArray | null;
52
+ getAuthorization(matcher?: AxiosHeaderMatcher): AxiosHeaderValue;
53
+ hasAuthorization(matcher?: AxiosHeaderMatcher): boolean;
54
+ getSetCookie(): string[];
55
+ toString(): string;
56
+ [Symbol.iterator](): IterableIterator<[string, AxiosHeaderValue]>;
57
+ }
58
+ type ContentType = AxiosHeaderValue | 'text/html' | 'text/plain' | 'multipart/form-data' | 'application/json' | 'application/x-www-form-urlencoded' | 'application/octet-stream';
59
+ type CommonResponseHeadersList = 'Server' | 'Content-Type' | 'Content-Length' | 'Cache-Control' | 'Content-Encoding';
60
+ type CommonResponseHeaderKey = CommonResponseHeadersList | Lowercase<CommonResponseHeadersList>;
61
+ type RawCommonResponseHeaders = { [Key in CommonResponseHeaderKey]: AxiosHeaderValue } & {
62
+ 'set-cookie': string[];
63
+ };
64
+ type RawAxiosResponseHeaders = Partial<RawAxiosHeaders & RawCommonResponseHeaders>;
65
+ type AxiosResponseHeaders = RawAxiosResponseHeaders & AxiosHeaders;
66
+ type UppercaseMethod = 'GET' | 'DELETE' | 'HEAD' | 'OPTIONS' | 'POST' | 'PUT' | 'PATCH' | 'PURGE' | 'LINK' | 'UNLINK' | 'QUERY';
67
+ type Method = (UppercaseMethod | Lowercase<UppercaseMethod>) & {};
68
+ type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream' | 'formdata';
69
+ //#endregion
70
+ //#region src/util.d.ts
71
+ interface CursorEventItem {
72
+ uuid: string;
73
+ [key: string]: unknown;
74
+ }
75
+ //#endregion
76
+ //#region npm-dist/.entry.d.ts
77
+ declare const _default: import("@prismatic-io/spectral").CallableComponent<{
78
+ key: "gusto";
79
+ public: true;
80
+ documentationUrl: "https://prismatic.io/docs/components/gusto/";
81
+ display: {
82
+ category: "Application Connectors";
83
+ label: string;
84
+ description: string;
85
+ iconPath: string;
86
+ };
87
+ actions: {
88
+ rawRequest: import("@prismatic-io/spectral").ActionDefinition<{
89
+ url: {
90
+ comments: string;
91
+ example: string;
92
+ label: string;
93
+ placeholder: string;
94
+ type: "string";
95
+ required: true;
96
+ clean: (value: unknown) => string;
97
+ };
98
+ method: {
99
+ label: string;
100
+ type: "string";
101
+ required: true;
102
+ model: {
103
+ label: Method;
104
+ value: Method;
105
+ }[];
106
+ comments: string;
107
+ clean: (value: unknown) => string;
108
+ };
109
+ data: {
110
+ label: string;
111
+ placeholder: string;
112
+ type: "string";
113
+ required: false;
114
+ comments: string;
115
+ example: string;
116
+ };
117
+ formData: {
118
+ label: string;
119
+ placeholder: string;
120
+ type: "string";
121
+ collection: "keyvaluelist";
122
+ required: false;
123
+ comments: string;
124
+ example: string;
125
+ };
126
+ fileData: {
127
+ label: string;
128
+ placeholder: string;
129
+ type: "string";
130
+ collection: "keyvaluelist";
131
+ required: false;
132
+ comments: string;
133
+ example: string;
134
+ };
135
+ fileDataFileNames: {
136
+ label: string;
137
+ placeholder: string;
138
+ type: "string";
139
+ collection: "keyvaluelist";
140
+ required: false;
141
+ comments: string;
142
+ clean: (values: any) => Record<string, string> | undefined;
143
+ };
144
+ queryParams: {
145
+ label: string;
146
+ placeholder: string;
147
+ type: "string";
148
+ collection: "keyvaluelist";
149
+ required: false;
150
+ comments: string;
151
+ };
152
+ headers: {
153
+ label: string;
154
+ placeholder: string;
155
+ type: "string";
156
+ collection: "keyvaluelist";
157
+ required: false;
158
+ comments: string;
159
+ example: string;
160
+ };
161
+ responseType: {
162
+ label: string;
163
+ placeholder: string;
164
+ type: "string";
165
+ default: string;
166
+ required: true;
167
+ comments: string;
168
+ model: {
169
+ label: ResponseType;
170
+ value: ResponseType;
171
+ }[];
172
+ clean: (value: unknown) => ResponseType;
173
+ };
174
+ timeout: {
175
+ label: string;
176
+ type: "string";
177
+ required: false;
178
+ comments: string;
179
+ example: string;
180
+ clean: (value: unknown) => number;
181
+ };
182
+ retryDelayMS: {
183
+ label: string;
184
+ placeholder: string;
185
+ type: "string";
186
+ required: false;
187
+ comments: string;
188
+ default: string;
189
+ clean: (value: unknown) => number;
190
+ };
191
+ retryAllErrors: {
192
+ label: string;
193
+ type: "boolean";
194
+ default: string;
195
+ required: false;
196
+ comments: string;
197
+ clean: (value: unknown) => boolean;
198
+ };
199
+ maxRetries: {
200
+ label: string;
201
+ placeholder: string;
202
+ type: "string";
203
+ required: false;
204
+ comments: string;
205
+ default: string;
206
+ clean: (value: unknown) => number;
207
+ };
208
+ useExponentialBackoff: {
209
+ label: string;
210
+ type: "boolean";
211
+ default: string;
212
+ required: false;
213
+ comments: string;
214
+ clean: (value: unknown) => boolean;
215
+ };
216
+ connection: {
217
+ label: string;
218
+ required: true;
219
+ type: "connection";
220
+ };
221
+ apiVersion: {
222
+ label: string;
223
+ required: true;
224
+ type: "string";
225
+ comments: string;
226
+ example: string;
227
+ default: string;
228
+ clean: (value: unknown, defaultValue?: string) => string;
229
+ };
230
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
231
+ data: {
232
+ data: any;
233
+ headers: AxiosResponseHeaders | Partial<RawAxiosHeaders & {
234
+ "Content-Length": AxiosHeaderValue;
235
+ "Content-Encoding": AxiosHeaderValue;
236
+ "Content-Type": AxiosHeaderValue;
237
+ Server: AxiosHeaderValue;
238
+ "Cache-Control": AxiosHeaderValue;
239
+ "content-length": AxiosHeaderValue;
240
+ "content-encoding": AxiosHeaderValue;
241
+ "content-type": AxiosHeaderValue;
242
+ server: AxiosHeaderValue;
243
+ "cache-control": AxiosHeaderValue;
244
+ } & {
245
+ 'set-cookie': string[];
246
+ }>;
247
+ };
248
+ }>;
249
+ listWebhookSubscriptions: import("@prismatic-io/spectral").ActionDefinition<{
250
+ connection: {
251
+ label: string;
252
+ required: true;
253
+ type: "connection";
254
+ };
255
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
256
+ data: {
257
+ data: {
258
+ uuid: string;
259
+ url: string;
260
+ status: string;
261
+ subscription_types: string[];
262
+ }[];
263
+ headers: {};
264
+ };
265
+ }>;
266
+ getWebhookSubscription: import("@prismatic-io/spectral").ActionDefinition<{
267
+ connection: {
268
+ label: string;
269
+ required: true;
270
+ type: "connection";
271
+ };
272
+ webhookSubscriptionUuid: {
273
+ label: string;
274
+ required: true;
275
+ type: "string";
276
+ comments: string;
277
+ example: string;
278
+ clean: (value: unknown, defaultValue?: string) => string;
279
+ };
280
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
281
+ data: {
282
+ data: {
283
+ uuid: string;
284
+ url: string;
285
+ status: string;
286
+ subscription_types: string[];
287
+ };
288
+ headers: {};
289
+ };
290
+ }>;
291
+ createWebhookSubscription: import("@prismatic-io/spectral").ActionDefinition<{
292
+ connection: {
293
+ label: string;
294
+ required: true;
295
+ type: "connection";
296
+ };
297
+ webhookUrl: {
298
+ label: string;
299
+ required: true;
300
+ type: "string";
301
+ comments: string;
302
+ example: string;
303
+ clean: (value: unknown, defaultValue?: string) => string;
304
+ };
305
+ subscriptionTypes: {
306
+ label: string;
307
+ required: true;
308
+ type: "text";
309
+ comments: string;
310
+ example: string;
311
+ clean: (value: unknown, defaultValue?: string) => string;
312
+ };
313
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
314
+ data: {
315
+ data: {
316
+ uuid: string;
317
+ url: string;
318
+ status: string;
319
+ subscription_types: string[];
320
+ };
321
+ headers: {};
322
+ };
323
+ }>;
324
+ updateWebhookSubscription: import("@prismatic-io/spectral").ActionDefinition<{
325
+ connection: {
326
+ label: string;
327
+ required: true;
328
+ type: "connection";
329
+ };
330
+ webhookSubscriptionUuid: {
331
+ label: string;
332
+ required: true;
333
+ type: "string";
334
+ comments: string;
335
+ example: string;
336
+ clean: (value: unknown, defaultValue?: string) => string;
337
+ };
338
+ subscriptionTypes: {
339
+ label: string;
340
+ required: true;
341
+ type: "text";
342
+ comments: string;
343
+ example: string;
344
+ clean: (value: unknown, defaultValue?: string) => string;
345
+ };
346
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
347
+ data: {
348
+ data: {
349
+ uuid: string;
350
+ url: string;
351
+ status: string;
352
+ subscription_types: string[];
353
+ };
354
+ headers: {};
355
+ };
356
+ }>;
357
+ deleteWebhookSubscription: import("@prismatic-io/spectral").ActionDefinition<{
358
+ connection: {
359
+ label: string;
360
+ required: true;
361
+ type: "connection";
362
+ };
363
+ webhookSubscriptionUuid: {
364
+ label: string;
365
+ required: true;
366
+ type: "string";
367
+ comments: string;
368
+ example: string;
369
+ clean: (value: unknown, defaultValue?: string) => string;
370
+ };
371
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
372
+ data: {
373
+ message: string;
374
+ };
375
+ }>;
376
+ getWebhookEvents: import("@prismatic-io/spectral").ActionDefinition<{
377
+ connection: {
378
+ label: string;
379
+ required: true;
380
+ type: "connection";
381
+ };
382
+ resourceUuid: {
383
+ label: string;
384
+ required: false;
385
+ type: "string";
386
+ comments: string;
387
+ example: string;
388
+ clean: (value: unknown) => string | undefined;
389
+ };
390
+ eventType: {
391
+ label: string;
392
+ required: false;
393
+ type: "string";
394
+ comments: string;
395
+ example: string;
396
+ clean: (value: unknown) => string | undefined;
397
+ };
398
+ sortOrder: {
399
+ label: string;
400
+ required: false;
401
+ type: "string";
402
+ model: {
403
+ label: string;
404
+ value: string;
405
+ }[];
406
+ comments: string;
407
+ clean: (value: unknown) => string | undefined;
408
+ };
409
+ fetchAll: {
410
+ label: string;
411
+ type: "boolean";
412
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
413
+ comments: string;
414
+ required: false;
415
+ default: string;
416
+ };
417
+ startingAfterUuid: {
418
+ label: string;
419
+ required: false;
420
+ type: "string";
421
+ comments: string;
422
+ clean: (value: unknown) => string | undefined;
423
+ };
424
+ limit: {
425
+ label: string;
426
+ required: false;
427
+ type: "string";
428
+ comments: string;
429
+ clean: (value: unknown) => string | undefined;
430
+ };
431
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
432
+ data: {
433
+ data: CursorEventItem[];
434
+ headers: {};
435
+ };
436
+ } | {
437
+ data: {
438
+ data: any;
439
+ headers: AxiosResponseHeaders | Partial<RawAxiosHeaders & {
440
+ "Content-Length": AxiosHeaderValue;
441
+ "Content-Encoding": AxiosHeaderValue;
442
+ "Content-Type": AxiosHeaderValue;
443
+ Server: AxiosHeaderValue;
444
+ "Cache-Control": AxiosHeaderValue;
445
+ "content-length": AxiosHeaderValue;
446
+ "content-encoding": AxiosHeaderValue;
447
+ "content-type": AxiosHeaderValue;
448
+ server: AxiosHeaderValue;
449
+ "cache-control": AxiosHeaderValue;
450
+ } & {
451
+ 'set-cookie': string[];
452
+ }>;
453
+ };
454
+ }>;
455
+ terminateEmployee: import("@prismatic-io/spectral").ActionDefinition<{
456
+ connection: {
457
+ label: string;
458
+ required: true;
459
+ type: "connection";
460
+ };
461
+ employeeId: {
462
+ label: string;
463
+ required: true;
464
+ type: "string";
465
+ comments: string;
466
+ example: string;
467
+ dataSource: string;
468
+ clean: (value: unknown, defaultValue?: string) => string;
469
+ };
470
+ terminationDate: {
471
+ label: string;
472
+ required: true;
473
+ type: "string";
474
+ comments: string;
475
+ clean: (value: unknown, defaultValue?: string) => string;
476
+ example: string;
477
+ };
478
+ runTerminationPayroll: {
479
+ label: string;
480
+ required: true;
481
+ type: "boolean";
482
+ comments: string;
483
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
484
+ };
485
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
486
+ data: {
487
+ data: {
488
+ uuid: string;
489
+ employee_uuid: string;
490
+ active: boolean;
491
+ effective_date: string;
492
+ run_termination_payroll: boolean;
493
+ };
494
+ headers: {};
495
+ };
496
+ }>;
497
+ getPaySchedule: import("@prismatic-io/spectral").ActionDefinition<{
498
+ connection: {
499
+ label: string;
500
+ required: true;
501
+ type: "connection";
502
+ };
503
+ companyId: {
504
+ label: string;
505
+ required: true;
506
+ type: "string";
507
+ comments: string;
508
+ example: string;
509
+ dataSource: string;
510
+ clean: (value: unknown, defaultValue?: string) => string;
511
+ };
512
+ payScheduleId: {
513
+ label: string;
514
+ required: true;
515
+ type: "string";
516
+ comments: string;
517
+ example: string;
518
+ dataSource: string;
519
+ clean: (value: unknown, defaultValue?: string) => string;
520
+ };
521
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
522
+ data: {
523
+ data: {
524
+ uuid: string;
525
+ version: string;
526
+ frequency: string;
527
+ anchor_pay_date: string;
528
+ anchor_end_of_pay_period: string;
529
+ day_1: number;
530
+ day_2: null;
531
+ name: null;
532
+ custom_name: string;
533
+ auto_pilot: boolean;
534
+ active: boolean;
535
+ auto_payroll_enablement_blockers: null;
536
+ }[];
537
+ headers: {};
538
+ };
539
+ }>;
540
+ listPaySchedules: import("@prismatic-io/spectral").ActionDefinition<{
541
+ connection: {
542
+ label: string;
543
+ required: true;
544
+ type: "connection";
545
+ };
546
+ companyId: {
547
+ label: string;
548
+ required: true;
549
+ type: "string";
550
+ comments: string;
551
+ example: string;
552
+ dataSource: string;
553
+ clean: (value: unknown, defaultValue?: string) => string;
554
+ };
555
+ fetchAll: {
556
+ label: string;
557
+ type: "boolean";
558
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
559
+ comments: string;
560
+ required: false;
561
+ default: string;
562
+ };
563
+ page: {
564
+ label: string;
565
+ required: false;
566
+ type: "string";
567
+ comments: string;
568
+ clean: (value: unknown) => number | undefined;
569
+ };
570
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
571
+ data: {
572
+ data: unknown[];
573
+ headers: {};
574
+ };
575
+ } | {
576
+ data: {
577
+ data: any;
578
+ headers: AxiosResponseHeaders | Partial<RawAxiosHeaders & {
579
+ "Content-Length": AxiosHeaderValue;
580
+ "Content-Encoding": AxiosHeaderValue;
581
+ "Content-Type": AxiosHeaderValue;
582
+ Server: AxiosHeaderValue;
583
+ "Cache-Control": AxiosHeaderValue;
584
+ "content-length": AxiosHeaderValue;
585
+ "content-encoding": AxiosHeaderValue;
586
+ "content-type": AxiosHeaderValue;
587
+ server: AxiosHeaderValue;
588
+ "cache-control": AxiosHeaderValue;
589
+ } & {
590
+ 'set-cookie': string[];
591
+ }>;
592
+ };
593
+ }>;
594
+ createEmployee: import("@prismatic-io/spectral").ActionDefinition<{
595
+ connection: {
596
+ label: string;
597
+ required: true;
598
+ type: "connection";
599
+ };
600
+ companyId: {
601
+ label: string;
602
+ required: true;
603
+ type: "string";
604
+ comments: string;
605
+ example: string;
606
+ dataSource: string;
607
+ clean: (value: unknown, defaultValue?: string) => string;
608
+ };
609
+ firstName: {
610
+ label: string;
611
+ required: true;
612
+ type: "string";
613
+ comments: string;
614
+ clean: (value: unknown, defaultValue?: string) => string;
615
+ };
616
+ middleInitial: {
617
+ label: string;
618
+ required: false;
619
+ type: "string";
620
+ comments: string;
621
+ clean: (value: unknown) => string | undefined;
622
+ };
623
+ lastName: {
624
+ label: string;
625
+ required: true;
626
+ type: "string";
627
+ comments: string;
628
+ clean: (value: unknown, defaultValue?: string) => string;
629
+ };
630
+ dateOfBirth: {
631
+ label: string;
632
+ required: false;
633
+ type: "string";
634
+ comments: string;
635
+ clean: (value: unknown, defaultValue?: string) => string;
636
+ example: string;
637
+ };
638
+ email: {
639
+ comments: string;
640
+ label: string;
641
+ required: false;
642
+ type: "string";
643
+ clean: (value: unknown, defaultValue?: string) => string;
644
+ example: string;
645
+ };
646
+ ssn: {
647
+ label: string;
648
+ required: false;
649
+ type: "string";
650
+ comments: string;
651
+ clean: (value: unknown, defaultValue?: string) => string;
652
+ example: string;
653
+ };
654
+ selfOnboarding: {
655
+ label: string;
656
+ required: false;
657
+ type: "boolean";
658
+ comments: string;
659
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
660
+ default: string;
661
+ };
662
+ additionalFields: {
663
+ label: string;
664
+ type: "code";
665
+ language: "json";
666
+ comments: string;
667
+ required: false;
668
+ placeholder: string;
669
+ example: string;
670
+ clean: (value: unknown) => object;
671
+ };
672
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
673
+ data: {
674
+ data: {
675
+ uuid: string;
676
+ first_name: string;
677
+ middle_initial: null;
678
+ last_name: string;
679
+ email: string;
680
+ company_uuid: string;
681
+ manager_uuid: null;
682
+ version: string;
683
+ current_employment_status: string;
684
+ onboarding_status: string;
685
+ preferred_first_name: null;
686
+ department_uuid: null;
687
+ employee_code: string;
688
+ payment_method: string;
689
+ department: null;
690
+ terminated: boolean;
691
+ two_percent_shareholder: boolean;
692
+ onboarded: boolean;
693
+ historical: boolean;
694
+ has_ssn: boolean;
695
+ onboarding_documents_config: {
696
+ uuid: null;
697
+ i9_document: boolean;
698
+ };
699
+ jobs: {
700
+ uuid: string;
701
+ version: string;
702
+ employee_uuid: string;
703
+ current_compensation_uuid: string;
704
+ payment_unit: string;
705
+ primary: boolean;
706
+ two_percent_shareholder: boolean;
707
+ state_wc_covered: null;
708
+ state_wc_class_code: null;
709
+ title: string;
710
+ compensations: {
711
+ uuid: string;
712
+ employee_uuid: string;
713
+ version: string;
714
+ payment_unit: string;
715
+ flsa_status: string;
716
+ adjust_for_minimum_wage: boolean;
717
+ minimum_wages: never[];
718
+ job_uuid: string;
719
+ effective_date: string;
720
+ rate: string;
721
+ }[];
722
+ rate: string;
723
+ hire_date: string;
724
+ }[];
725
+ eligible_paid_time_off: never[];
726
+ terminations: never[];
727
+ garnishments: never[];
728
+ date_of_birth: string;
729
+ ssn: string;
730
+ phone: null;
731
+ work_email: null;
732
+ current_home_address: {
733
+ street_1: string;
734
+ street_2: string;
735
+ city: string;
736
+ state: string;
737
+ zip: string;
738
+ country: string;
739
+ active: boolean;
740
+ uiud: string;
741
+ };
742
+ all_home_addresses: ({
743
+ street_1: string;
744
+ street_2: string;
745
+ city: string;
746
+ state: string;
747
+ zip: string;
748
+ country: string;
749
+ active: boolean;
750
+ uiud: string;
751
+ } | {
752
+ street_1: string;
753
+ street_2: null;
754
+ city: string;
755
+ state: string;
756
+ zip: string;
757
+ country: string;
758
+ active: boolean;
759
+ uiud: string;
760
+ })[];
761
+ member_portal_invitation_status: {
762
+ status: string;
763
+ token_expired: boolean;
764
+ welcome_email_sent_at: string;
765
+ last_password_resent_at: null;
766
+ };
767
+ partner_portal_invitation_sent: boolean;
768
+ };
769
+ headers: {};
770
+ };
771
+ }>;
772
+ findEmployeeByEmail: import("@prismatic-io/spectral").ActionDefinition<{
773
+ connection: {
774
+ label: string;
775
+ required: true;
776
+ type: "connection";
777
+ };
778
+ companyId: {
779
+ label: string;
780
+ required: true;
781
+ type: "string";
782
+ comments: string;
783
+ example: string;
784
+ dataSource: string;
785
+ clean: (value: unknown, defaultValue?: string) => string;
786
+ };
787
+ email: {
788
+ required: true;
789
+ label: string;
790
+ type: "string";
791
+ comments: string;
792
+ clean: (value: unknown, defaultValue?: string) => string;
793
+ example: string;
794
+ };
795
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, any>;
796
+ getEmployee: import("@prismatic-io/spectral").ActionDefinition<{
797
+ connection: {
798
+ label: string;
799
+ required: true;
800
+ type: "connection";
801
+ };
802
+ employeeId: {
803
+ label: string;
804
+ required: true;
805
+ type: "string";
806
+ comments: string;
807
+ example: string;
808
+ dataSource: string;
809
+ clean: (value: unknown, defaultValue?: string) => string;
810
+ };
811
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
812
+ data: {
813
+ data: {
814
+ uuid: string;
815
+ first_name: string;
816
+ middle_initial: null;
817
+ last_name: string;
818
+ email: string;
819
+ company_uuid: string;
820
+ manager_uuid: null;
821
+ version: string;
822
+ current_employment_status: string;
823
+ onboarding_status: string;
824
+ preferred_first_name: null;
825
+ department_uuid: null;
826
+ employee_code: string;
827
+ payment_method: string;
828
+ department: null;
829
+ terminated: boolean;
830
+ two_percent_shareholder: boolean;
831
+ onboarded: boolean;
832
+ historical: boolean;
833
+ has_ssn: boolean;
834
+ onboarding_documents_config: {
835
+ uuid: null;
836
+ i9_document: boolean;
837
+ };
838
+ jobs: {
839
+ uuid: string;
840
+ version: string;
841
+ employee_uuid: string;
842
+ current_compensation_uuid: string;
843
+ payment_unit: string;
844
+ primary: boolean;
845
+ two_percent_shareholder: boolean;
846
+ state_wc_covered: null;
847
+ state_wc_class_code: null;
848
+ title: string;
849
+ compensations: {
850
+ uuid: string;
851
+ employee_uuid: string;
852
+ version: string;
853
+ payment_unit: string;
854
+ flsa_status: string;
855
+ adjust_for_minimum_wage: boolean;
856
+ minimum_wages: never[];
857
+ job_uuid: string;
858
+ effective_date: string;
859
+ rate: string;
860
+ }[];
861
+ rate: string;
862
+ hire_date: string;
863
+ }[];
864
+ eligible_paid_time_off: never[];
865
+ terminations: never[];
866
+ garnishments: never[];
867
+ date_of_birth: string;
868
+ ssn: string;
869
+ phone: null;
870
+ work_email: null;
871
+ current_home_address: {
872
+ street_1: string;
873
+ street_2: string;
874
+ city: string;
875
+ state: string;
876
+ zip: string;
877
+ country: string;
878
+ active: boolean;
879
+ uiud: string;
880
+ };
881
+ all_home_addresses: ({
882
+ street_1: string;
883
+ street_2: string;
884
+ city: string;
885
+ state: string;
886
+ zip: string;
887
+ country: string;
888
+ active: boolean;
889
+ uiud: string;
890
+ } | {
891
+ street_1: string;
892
+ street_2: null;
893
+ city: string;
894
+ state: string;
895
+ zip: string;
896
+ country: string;
897
+ active: boolean;
898
+ uiud: string;
899
+ })[];
900
+ member_portal_invitation_status: {
901
+ status: string;
902
+ token_expired: boolean;
903
+ welcome_email_sent_at: string;
904
+ last_password_resent_at: null;
905
+ };
906
+ partner_portal_invitation_sent: boolean;
907
+ };
908
+ headers: {};
909
+ };
910
+ }>;
911
+ listEmployees: import("@prismatic-io/spectral").ActionDefinition<{
912
+ connection: {
913
+ label: string;
914
+ required: true;
915
+ type: "connection";
916
+ };
917
+ companyId: {
918
+ label: string;
919
+ required: true;
920
+ type: "string";
921
+ comments: string;
922
+ example: string;
923
+ dataSource: string;
924
+ clean: (value: unknown, defaultValue?: string) => string;
925
+ };
926
+ fetchAll: {
927
+ label: string;
928
+ type: "boolean";
929
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
930
+ comments: string;
931
+ required: false;
932
+ default: string;
933
+ };
934
+ page: {
935
+ label: string;
936
+ required: false;
937
+ type: "string";
938
+ comments: string;
939
+ clean: (value: unknown) => number | undefined;
940
+ };
941
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
942
+ data: {
943
+ data: unknown[];
944
+ headers: {};
945
+ };
946
+ } | {
947
+ data: {
948
+ data: any;
949
+ headers: AxiosResponseHeaders | Partial<RawAxiosHeaders & {
950
+ "Content-Length": AxiosHeaderValue;
951
+ "Content-Encoding": AxiosHeaderValue;
952
+ "Content-Type": AxiosHeaderValue;
953
+ Server: AxiosHeaderValue;
954
+ "Cache-Control": AxiosHeaderValue;
955
+ "content-length": AxiosHeaderValue;
956
+ "content-encoding": AxiosHeaderValue;
957
+ "content-type": AxiosHeaderValue;
958
+ server: AxiosHeaderValue;
959
+ "cache-control": AxiosHeaderValue;
960
+ } & {
961
+ 'set-cookie': string[];
962
+ }>;
963
+ };
964
+ }>;
965
+ getCompany: import("@prismatic-io/spectral").ActionDefinition<{
966
+ connection: {
967
+ label: string;
968
+ required: true;
969
+ type: "connection";
970
+ };
971
+ companyId: {
972
+ label: string;
973
+ required: true;
974
+ type: "string";
975
+ comments: string;
976
+ example: string;
977
+ dataSource: string;
978
+ clean: (value: unknown, defaultValue?: string) => string;
979
+ };
980
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
981
+ data: {
982
+ data: {
983
+ uuid: string;
984
+ name: string;
985
+ trade_name: string;
986
+ is_partner_managed: boolean;
987
+ tier: string;
988
+ locations: {
989
+ street_1: string;
990
+ street_2: string;
991
+ city: string;
992
+ state: string;
993
+ zip: string;
994
+ country: string;
995
+ active: boolean;
996
+ }[];
997
+ ein: string;
998
+ entity_type: string;
999
+ pay_schedule_type: string;
1000
+ join_date: string;
1001
+ funding_type: string;
1002
+ slug: string;
1003
+ is_suspended: boolean;
1004
+ company_status: string;
1005
+ is_high_risk_business: boolean;
1006
+ is_marijuana_business: boolean;
1007
+ contractor_only: boolean;
1008
+ compensations: {
1009
+ hourly: {
1010
+ uuid: string;
1011
+ name: string;
1012
+ multiple: number;
1013
+ }[];
1014
+ fixed: ({
1015
+ uuid: string;
1016
+ name: string;
1017
+ } | {
1018
+ uuid: null;
1019
+ name: string;
1020
+ })[];
1021
+ paid_time_off: ({
1022
+ uuid: string;
1023
+ name: string;
1024
+ } | {
1025
+ uuid: null;
1026
+ name: string;
1027
+ })[];
1028
+ };
1029
+ primary_signatory: {
1030
+ uuid: string;
1031
+ first_name: string;
1032
+ middle_initial: string;
1033
+ last_name: string;
1034
+ phone: string;
1035
+ email: string;
1036
+ home_address: {
1037
+ street_1: string;
1038
+ street_2: string;
1039
+ city: string;
1040
+ state: string;
1041
+ zip: string;
1042
+ country: string;
1043
+ };
1044
+ };
1045
+ primary_payroll_admin: {
1046
+ first_name: string;
1047
+ last_name: string;
1048
+ phone: string;
1049
+ email: string;
1050
+ };
1051
+ };
1052
+ headers: {};
1053
+ };
1054
+ }>;
1055
+ listCompanies: import("@prismatic-io/spectral").ActionDefinition<{
1056
+ connection: {
1057
+ label: string;
1058
+ required: true;
1059
+ type: "connection";
1060
+ };
1061
+ fetchAll: {
1062
+ label: string;
1063
+ type: "boolean";
1064
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1065
+ comments: string;
1066
+ required: false;
1067
+ default: string;
1068
+ };
1069
+ page: {
1070
+ label: string;
1071
+ required: false;
1072
+ type: "string";
1073
+ comments: string;
1074
+ clean: (value: unknown) => number | undefined;
1075
+ };
1076
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1077
+ data: {
1078
+ data: unknown[];
1079
+ headers: {};
1080
+ };
1081
+ } | {
1082
+ data: {
1083
+ data: any;
1084
+ headers: AxiosResponseHeaders | Partial<RawAxiosHeaders & {
1085
+ "Content-Length": AxiosHeaderValue;
1086
+ "Content-Encoding": AxiosHeaderValue;
1087
+ "Content-Type": AxiosHeaderValue;
1088
+ Server: AxiosHeaderValue;
1089
+ "Cache-Control": AxiosHeaderValue;
1090
+ "content-length": AxiosHeaderValue;
1091
+ "content-encoding": AxiosHeaderValue;
1092
+ "content-type": AxiosHeaderValue;
1093
+ server: AxiosHeaderValue;
1094
+ "cache-control": AxiosHeaderValue;
1095
+ } & {
1096
+ 'set-cookie': string[];
1097
+ }>;
1098
+ };
1099
+ }>;
1100
+ listCompanyAdmins: import("@prismatic-io/spectral").ActionDefinition<{
1101
+ connection: {
1102
+ label: string;
1103
+ required: true;
1104
+ type: "connection";
1105
+ };
1106
+ companyId: {
1107
+ label: string;
1108
+ required: true;
1109
+ type: "string";
1110
+ comments: string;
1111
+ example: string;
1112
+ dataSource: string;
1113
+ clean: (value: unknown, defaultValue?: string) => string;
1114
+ };
1115
+ fetchAll: {
1116
+ label: string;
1117
+ type: "boolean";
1118
+ clean: (value: unknown, defaultValue?: boolean) => boolean;
1119
+ comments: string;
1120
+ required: false;
1121
+ default: string;
1122
+ };
1123
+ page: {
1124
+ label: string;
1125
+ required: false;
1126
+ type: "string";
1127
+ comments: string;
1128
+ clean: (value: unknown) => number | undefined;
1129
+ };
1130
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, boolean, {
1131
+ data: {
1132
+ data: unknown[];
1133
+ headers: {};
1134
+ };
1135
+ } | {
1136
+ data: {
1137
+ data: any;
1138
+ headers: AxiosResponseHeaders | Partial<RawAxiosHeaders & {
1139
+ "Content-Length": AxiosHeaderValue;
1140
+ "Content-Encoding": AxiosHeaderValue;
1141
+ "Content-Type": AxiosHeaderValue;
1142
+ Server: AxiosHeaderValue;
1143
+ "Cache-Control": AxiosHeaderValue;
1144
+ "content-length": AxiosHeaderValue;
1145
+ "content-encoding": AxiosHeaderValue;
1146
+ "content-type": AxiosHeaderValue;
1147
+ server: AxiosHeaderValue;
1148
+ "cache-control": AxiosHeaderValue;
1149
+ } & {
1150
+ 'set-cookie': string[];
1151
+ }>;
1152
+ };
1153
+ }>;
1154
+ };
1155
+ connections: import("@prismatic-io/spectral").KeyedConnection<{
1156
+ key: "gustoOauth";
1157
+ display: {
1158
+ label: string;
1159
+ description: string;
1160
+ };
1161
+ oauth2Type: import("@prismatic-io/spectral").OAuth2Type.AuthorizationCode;
1162
+ inputs: {
1163
+ authorizeUrl: {
1164
+ label: string;
1165
+ placeholder: string;
1166
+ type: "string";
1167
+ required: true;
1168
+ shown: true;
1169
+ default: string;
1170
+ model: {
1171
+ label: string;
1172
+ value: string;
1173
+ }[];
1174
+ comments: string;
1175
+ };
1176
+ tokenUrl: {
1177
+ label: string;
1178
+ placeholder: string;
1179
+ type: "string";
1180
+ required: true;
1181
+ shown: true;
1182
+ default: string;
1183
+ model: {
1184
+ label: string;
1185
+ value: string;
1186
+ }[];
1187
+ comments: string;
1188
+ };
1189
+ scopes: {
1190
+ label: string;
1191
+ placeholder: string;
1192
+ type: "string";
1193
+ required: false;
1194
+ shown: false;
1195
+ comments: string;
1196
+ default: string;
1197
+ };
1198
+ clientId: {
1199
+ label: string;
1200
+ placeholder: string;
1201
+ type: "string";
1202
+ required: true;
1203
+ shown: true;
1204
+ comments: string;
1205
+ example: string;
1206
+ };
1207
+ clientSecret: {
1208
+ label: string;
1209
+ placeholder: string;
1210
+ type: "password";
1211
+ required: true;
1212
+ shown: true;
1213
+ comments: string;
1214
+ example: string;
1215
+ };
1216
+ };
1217
+ }, "gustoOauth">[];
1218
+ dataSources: {
1219
+ selectCompany: import("@prismatic-io/spectral").DataSourceDefinition<{
1220
+ connection: {
1221
+ label: string;
1222
+ required: true;
1223
+ type: "connection";
1224
+ };
1225
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1226
+ selectEmployee: import("@prismatic-io/spectral").DataSourceDefinition<{
1227
+ connection: {
1228
+ label: string;
1229
+ required: true;
1230
+ type: "connection";
1231
+ };
1232
+ companyId: {
1233
+ dataSource: undefined;
1234
+ label: string;
1235
+ required: true;
1236
+ type: "string";
1237
+ comments: string;
1238
+ example: string;
1239
+ clean: (value: unknown, defaultValue?: string) => string;
1240
+ };
1241
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1242
+ selectPaySchedule: import("@prismatic-io/spectral").DataSourceDefinition<{
1243
+ connection: {
1244
+ label: string;
1245
+ required: true;
1246
+ type: "connection";
1247
+ };
1248
+ companyId: {
1249
+ dataSource: undefined;
1250
+ label: string;
1251
+ required: true;
1252
+ type: "string";
1253
+ comments: string;
1254
+ example: string;
1255
+ clean: (value: unknown, defaultValue?: string) => string;
1256
+ };
1257
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, "picklist">;
1258
+ };
1259
+ triggers: {
1260
+ gustoWebhookTrigger: import("@prismatic-io/spectral").TriggerDefinition<{
1261
+ connection: {
1262
+ label: string;
1263
+ required: true;
1264
+ type: "connection";
1265
+ };
1266
+ }, import("@prismatic-io/spectral").ConfigVarResultCollection, true, {
1267
+ payload: import("@prismatic-io/spectral").TriggerPayload<Record<string, unknown>>;
1268
+ response: {
1269
+ statusCode: number;
1270
+ contentType: string;
1271
+ };
1272
+ branch: string;
1273
+ }, import("@prismatic-io/spectral").Inputs>;
1274
+ };
1275
+ hooks: {
1276
+ error: (error: unknown) => unknown;
1277
+ };
1278
+ }>;
1279
+ export = _default;