@worknice/js-sdk 0.13.18 → 0.13.20
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.
package/dist/api/_generated.d.ts
CHANGED
|
@@ -331,7 +331,6 @@ type BasicAbnForm = Assignment & PaperworkAssignment & {
|
|
|
331
331
|
notifications: Array<Notification>;
|
|
332
332
|
onboardingIndex?: Maybe<Scalars['Int']['output']>;
|
|
333
333
|
owner?: Maybe<Person>;
|
|
334
|
-
paperworkSummary?: Maybe<PaperworkSummary>;
|
|
335
334
|
paperworkType: PaperworkType;
|
|
336
335
|
previousForms: Array<BasicAbnForm>;
|
|
337
336
|
processedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -360,8 +359,6 @@ type BasicAbnFormTemplate = PaperworkTemplate & Template & {
|
|
|
360
359
|
instructions?: Maybe<Scalars['String']['output']>;
|
|
361
360
|
name: Scalars['String']['output'];
|
|
362
361
|
org: Org;
|
|
363
|
-
/** Paperwork summaries are only returned for paperwork that can be summarised (the person has at least one assignment for the template or the template is marked as required for the person). */
|
|
364
|
-
paperworkSummaries: Array<PaperworkSummary>;
|
|
365
362
|
paperworkType: PaperworkType;
|
|
366
363
|
/** @deprecated Unused. */
|
|
367
364
|
templateParameters: Array<TemplateParameter>;
|
|
@@ -417,7 +414,6 @@ type BasicBankAccountForm = Assignment & PaperworkAssignment & PersonBankAccount
|
|
|
417
414
|
notifications: Array<Notification>;
|
|
418
415
|
onboardingIndex?: Maybe<Scalars['Int']['output']>;
|
|
419
416
|
owner?: Maybe<Person>;
|
|
420
|
-
paperworkSummary?: Maybe<PaperworkSummary>;
|
|
421
417
|
paperworkType: PaperworkType;
|
|
422
418
|
previousForms: Array<BasicBankAccountForm>;
|
|
423
419
|
processedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -445,8 +441,6 @@ type BasicBankAccountFormTemplate = PaperworkTemplate & Template & {
|
|
|
445
441
|
instructions?: Maybe<Scalars['String']['output']>;
|
|
446
442
|
name: Scalars['String']['output'];
|
|
447
443
|
org: Org;
|
|
448
|
-
/** Paperwork summaries are only returned for paperwork that can be summarised (the person has at least one assignment for the template or the template is marked as required for the person). */
|
|
449
|
-
paperworkSummaries: Array<PaperworkSummary>;
|
|
450
444
|
paperworkType: PaperworkType;
|
|
451
445
|
/** @deprecated Unused. */
|
|
452
446
|
templateParameters: Array<TemplateParameter>;
|
|
@@ -513,7 +507,6 @@ type BasicEmergencyContactForm = Assignment & PaperworkAssignment & PersonChange
|
|
|
513
507
|
notifications: Array<Notification>;
|
|
514
508
|
onboardingIndex?: Maybe<Scalars['Int']['output']>;
|
|
515
509
|
owner?: Maybe<Person>;
|
|
516
|
-
paperworkSummary?: Maybe<PaperworkSummary>;
|
|
517
510
|
paperworkType: PaperworkType;
|
|
518
511
|
previousForms: Array<BasicEmergencyContactForm>;
|
|
519
512
|
processedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -544,8 +537,6 @@ type BasicEmergencyContactFormTemplate = PaperworkTemplate & Template & {
|
|
|
544
537
|
instructions?: Maybe<Scalars['String']['output']>;
|
|
545
538
|
name: Scalars['String']['output'];
|
|
546
539
|
org: Org;
|
|
547
|
-
/** Paperwork summaries are only returned for paperwork that can be summarised (the person has at least one assignment for the template or the template is marked as required for the person). */
|
|
548
|
-
paperworkSummaries: Array<PaperworkSummary>;
|
|
549
540
|
paperworkType: PaperworkType;
|
|
550
541
|
/** @deprecated Unused. */
|
|
551
542
|
templateParameters: Array<TemplateParameter>;
|
|
@@ -583,7 +574,6 @@ type BasicPersonalDetailsForm = Assignment & PaperworkAssignment & PersonChange
|
|
|
583
574
|
onboardingIndex?: Maybe<Scalars['Int']['output']>;
|
|
584
575
|
otherGivenNames?: Maybe<Scalars['String']['output']>;
|
|
585
576
|
owner?: Maybe<Person>;
|
|
586
|
-
paperworkSummary?: Maybe<PaperworkSummary>;
|
|
587
577
|
paperworkType: PaperworkType;
|
|
588
578
|
personalEmail?: Maybe<Scalars['String']['output']>;
|
|
589
579
|
personalPhone?: Maybe<Scalars['String']['output']>;
|
|
@@ -626,8 +616,6 @@ type BasicPersonalDetailsFormTemplate = PaperworkTemplate & Template & {
|
|
|
626
616
|
instructions?: Maybe<Scalars['String']['output']>;
|
|
627
617
|
name: Scalars['String']['output'];
|
|
628
618
|
org: Org;
|
|
629
|
-
/** Paperwork summaries are only returned for paperwork that can be summarised (the person has at least one assignment for the template or the template is marked as required for the person). */
|
|
630
|
-
paperworkSummaries: Array<PaperworkSummary>;
|
|
631
619
|
paperworkType: PaperworkType;
|
|
632
620
|
/** @deprecated Unused. */
|
|
633
621
|
templateParameters: Array<TemplateParameter>;
|
|
@@ -659,7 +647,6 @@ type BasicPreEmploymentForm = Assignment & PaperworkAssignment & {
|
|
|
659
647
|
notifications: Array<Notification>;
|
|
660
648
|
onboardingIndex?: Maybe<Scalars['Int']['output']>;
|
|
661
649
|
owner?: Maybe<Person>;
|
|
662
|
-
paperworkSummary?: Maybe<PaperworkSummary>;
|
|
663
650
|
paperworkType: PaperworkType;
|
|
664
651
|
previousForms: Array<BasicPreEmploymentForm>;
|
|
665
652
|
processedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -692,8 +679,6 @@ type BasicPreEmploymentFormTemplate = PaperworkTemplate & Template & {
|
|
|
692
679
|
introduction?: Maybe<Scalars['String']['output']>;
|
|
693
680
|
name: Scalars['String']['output'];
|
|
694
681
|
org: Org;
|
|
695
|
-
/** Paperwork summaries are only returned for paperwork that can be summarised (the person has at least one assignment for the template or the template is marked as required for the person). */
|
|
696
|
-
paperworkSummaries: Array<PaperworkSummary>;
|
|
697
682
|
paperworkType: PaperworkType;
|
|
698
683
|
/** @deprecated Unused. */
|
|
699
684
|
templateParameters: Array<TemplateParameter>;
|
|
@@ -724,7 +709,6 @@ type BasicSuperForm = Assignment & PaperworkAssignment & PersonChange & PersonSu
|
|
|
724
709
|
notifications: Array<Notification>;
|
|
725
710
|
onboardingIndex?: Maybe<Scalars['Int']['output']>;
|
|
726
711
|
owner?: Maybe<Person>;
|
|
727
|
-
paperworkSummary?: Maybe<PaperworkSummary>;
|
|
728
712
|
paperworkType: PaperworkType;
|
|
729
713
|
previousForms: Array<BasicSuperForm>;
|
|
730
714
|
processedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -773,8 +757,6 @@ type BasicSuperFormTemplate = PaperworkTemplate & Template & {
|
|
|
773
757
|
instructions?: Maybe<Scalars['String']['output']>;
|
|
774
758
|
name: Scalars['String']['output'];
|
|
775
759
|
org: Org;
|
|
776
|
-
/** Paperwork summaries are only returned for paperwork that can be summarised (the person has at least one assignment for the template or the template is marked as required for the person). */
|
|
777
|
-
paperworkSummaries: Array<PaperworkSummary>;
|
|
778
760
|
paperworkType: PaperworkType;
|
|
779
761
|
/** @deprecated Unused. */
|
|
780
762
|
templateParameters: Array<TemplateParameter>;
|
|
@@ -812,7 +794,6 @@ type BasicTaxForm = Assignment & PaperworkAssignment & PersonChange & PersonTaxD
|
|
|
812
794
|
onboardingIndex?: Maybe<Scalars['Int']['output']>;
|
|
813
795
|
otherGivenNames?: Maybe<Scalars['String']['output']>;
|
|
814
796
|
owner?: Maybe<Person>;
|
|
815
|
-
paperworkSummary?: Maybe<PaperworkSummary>;
|
|
816
797
|
paperworkType: PaperworkType;
|
|
817
798
|
previousForms: Array<BasicTaxForm>;
|
|
818
799
|
processedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -844,8 +825,6 @@ type BasicTaxFormTemplate = PaperworkTemplate & Template & {
|
|
|
844
825
|
instructions?: Maybe<Scalars['String']['output']>;
|
|
845
826
|
name: Scalars['String']['output'];
|
|
846
827
|
org: Org;
|
|
847
|
-
/** Paperwork summaries are only returned for paperwork that can be summarised (the person has at least one assignment for the template or the template is marked as required for the person). */
|
|
848
|
-
paperworkSummaries: Array<PaperworkSummary>;
|
|
849
828
|
paperworkType: PaperworkType;
|
|
850
829
|
/** @deprecated Unused. */
|
|
851
830
|
templateParameters: Array<TemplateParameter>;
|
|
@@ -944,7 +923,6 @@ type Certificate = Assignment & PaperworkAssignment & {
|
|
|
944
923
|
notifications: Array<Notification>;
|
|
945
924
|
onboardingIndex?: Maybe<Scalars['Int']['output']>;
|
|
946
925
|
owner?: Maybe<Person>;
|
|
947
|
-
paperworkSummary?: Maybe<PaperworkSummary>;
|
|
948
926
|
paperworkType: PaperworkType;
|
|
949
927
|
processedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
950
928
|
processor?: Maybe<Person>;
|
|
@@ -986,8 +964,6 @@ type CertificateTemplate = PaperworkTemplate & Template & {
|
|
|
986
964
|
issueDatePresence: FieldPresence;
|
|
987
965
|
name: Scalars['String']['output'];
|
|
988
966
|
org: Org;
|
|
989
|
-
/** Paperwork summaries are only returned for paperwork that can be summarised (the person has at least one assignment for the template or the template is marked as required for the person). */
|
|
990
|
-
paperworkSummaries: Array<PaperworkSummary>;
|
|
991
967
|
paperworkType: PaperworkType;
|
|
992
968
|
proof: CertificateProof;
|
|
993
969
|
/** @deprecated Unused. */
|
|
@@ -1196,7 +1172,6 @@ type Document = Assignment & PaperworkAssignment & {
|
|
|
1196
1172
|
onboardingIndex?: Maybe<Scalars['Int']['output']>;
|
|
1197
1173
|
/** The person to whom the document belongs. */
|
|
1198
1174
|
owner?: Maybe<Person>;
|
|
1199
|
-
paperworkSummary?: Maybe<PaperworkSummary>;
|
|
1200
1175
|
paperworkType: PaperworkType;
|
|
1201
1176
|
processedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1202
1177
|
processor?: Maybe<Person>;
|
|
@@ -1208,8 +1183,8 @@ type Document = Assignment & PaperworkAssignment & {
|
|
|
1208
1183
|
submitter?: Maybe<Person>;
|
|
1209
1184
|
template?: Maybe<PaperworkTemplate>;
|
|
1210
1185
|
updatedAt: Scalars['DateTime']['output'];
|
|
1211
|
-
/** The signed URL where this document can be accessed. The signed URL will only be accessible for 1 hour following the request. Every request generates a new URL. */
|
|
1212
|
-
url
|
|
1186
|
+
/** The signed URL where this document can be accessed. The signed URL will only be accessible for 1 hour following the request. Every request generates a new URL. Only available when the document has finished processing. */
|
|
1187
|
+
url?: Maybe<Scalars['String']['output']>;
|
|
1213
1188
|
};
|
|
1214
1189
|
type DocumentNotificationsArgs = {
|
|
1215
1190
|
includeRead?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -1768,7 +1743,6 @@ type KeypayEmployeeForm = Assignment & PaperworkAssignment & PersonBankAccountsC
|
|
|
1768
1743
|
onboardingIndex?: Maybe<Scalars['Int']['output']>;
|
|
1769
1744
|
otherGivenNames?: Maybe<Scalars['String']['output']>;
|
|
1770
1745
|
owner?: Maybe<Person>;
|
|
1771
|
-
paperworkSummary?: Maybe<PaperworkSummary>;
|
|
1772
1746
|
paperworkType: PaperworkType;
|
|
1773
1747
|
personalDetailsPresence: FieldPresence;
|
|
1774
1748
|
personalEmail?: Maybe<Scalars['String']['output']>;
|
|
@@ -1856,8 +1830,6 @@ type KeypayEmployeeFormTemplate = PaperworkTemplate & Template & {
|
|
|
1856
1830
|
mobilePhonePresence: FieldPresence;
|
|
1857
1831
|
name: Scalars['String']['output'];
|
|
1858
1832
|
org: Org;
|
|
1859
|
-
/** Paperwork summaries are only returned for paperwork that can be summarised (the person has at least one assignment for the template or the template is marked as required for the person). */
|
|
1860
|
-
paperworkSummaries: Array<PaperworkSummary>;
|
|
1861
1833
|
paperworkType: PaperworkType;
|
|
1862
1834
|
personalDetailsPresence: FieldPresence;
|
|
1863
1835
|
superPresence: FieldPresence;
|
|
@@ -3791,6 +3763,7 @@ type Org = {
|
|
|
3791
3763
|
dataImports: Array<DataImport>;
|
|
3792
3764
|
demo: Scalars['Boolean']['output'];
|
|
3793
3765
|
departments: Array<Department>;
|
|
3766
|
+
failedDocuments: Array<Document>;
|
|
3794
3767
|
features: OrgFeatures;
|
|
3795
3768
|
id: Scalars['ID']['output'];
|
|
3796
3769
|
integrations: Array<Integration>;
|
|
@@ -3883,7 +3856,6 @@ type PaperworkAssignment = {
|
|
|
3883
3856
|
onboardingIndex?: Maybe<Scalars['Int']['output']>;
|
|
3884
3857
|
/** The person who is submitting this assignment. */
|
|
3885
3858
|
owner?: Maybe<Person>;
|
|
3886
|
-
paperworkSummary?: Maybe<PaperworkSummary>;
|
|
3887
3859
|
paperworkType: PaperworkType;
|
|
3888
3860
|
processedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
3889
3861
|
/** The person who processed this assignment. */
|
|
@@ -4021,8 +3993,6 @@ type PaperworkTemplate = {
|
|
|
4021
3993
|
id: Scalars['ID']['output'];
|
|
4022
3994
|
name: Scalars['String']['output'];
|
|
4023
3995
|
org: Org;
|
|
4024
|
-
/** Paperwork summaries are only returned for paperwork that can be summarised (the person has at least one assignment for the template or the template is marked as required for the person). */
|
|
4025
|
-
paperworkSummaries: Array<PaperworkSummary>;
|
|
4026
3996
|
paperworkType: PaperworkType;
|
|
4027
3997
|
/** @deprecated Unused. */
|
|
4028
3998
|
templateParameters: Array<TemplateParameter>;
|
|
@@ -4933,7 +4903,6 @@ type Questionnaire = Assignment & PaperworkAssignment & {
|
|
|
4933
4903
|
notifications: Array<Notification>;
|
|
4934
4904
|
onboardingIndex?: Maybe<Scalars['Int']['output']>;
|
|
4935
4905
|
owner?: Maybe<Person>;
|
|
4936
|
-
paperworkSummary?: Maybe<PaperworkSummary>;
|
|
4937
4906
|
paperworkType: PaperworkType;
|
|
4938
4907
|
processedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4939
4908
|
processor?: Maybe<Person>;
|
|
@@ -5004,8 +4973,6 @@ type QuestionnaireTemplate = PaperworkTemplate & Template & {
|
|
|
5004
4973
|
instructions?: Maybe<Scalars['String']['output']>;
|
|
5005
4974
|
name: Scalars['String']['output'];
|
|
5006
4975
|
org: Org;
|
|
5007
|
-
/** Paperwork summaries are only returned for paperwork that can be summarised (the person has at least one assignment for the template or the template is marked as required for the person). */
|
|
5008
|
-
paperworkSummaries: Array<PaperworkSummary>;
|
|
5009
4976
|
paperworkType: PaperworkType;
|
|
5010
4977
|
questions: Array<QuestionnaireTemplateQuestion>;
|
|
5011
4978
|
/** @deprecated Unused. */
|