@getcommunity/gc-validators 0.0.207 → 0.0.209

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/types.d.cts CHANGED
@@ -574,6 +574,55 @@ type TeamworkProjectUpdate = {
574
574
  isActive: boolean;
575
575
  };
576
576
 
577
+ type TeamworkTag = {
578
+ id: number;
579
+ projectId: number;
580
+ project: TeamworkRelatedMeta;
581
+ name: string;
582
+ color: string;
583
+ };
584
+ type TeamworkTagResponseMeta = {};
585
+ type TeamworkTagsResponse = {
586
+ tags: TeamworkTag[];
587
+ meta: TeamworkResponseMeta & TeamworkTagResponseMeta;
588
+ included: object;
589
+ };
590
+ type TeamworkTagResponse = {
591
+ tag: TeamworkTag;
592
+ meta: TeamworkResponseMeta & TeamworkTagResponseMeta;
593
+ included: object;
594
+ };
595
+
596
+ type TeamworkUserAccount = {
597
+ id: number;
598
+ firstName: string;
599
+ lastName: string;
600
+ title: string;
601
+ email: string;
602
+ companyId: number;
603
+ companyRoleId: number;
604
+ company: TeamworkRelatedMeta;
605
+ isAdmin: boolean;
606
+ isClientUser: boolean;
607
+ isServiceAccount: boolean;
608
+ type: string;
609
+ deleted: boolean;
610
+ avatarUrl: string | null;
611
+ lengthOfDay: number;
612
+ workingHoursId: number;
613
+ workingHour: TeamworkRelatedMeta;
614
+ canAccessPortfolio: boolean;
615
+ canAddProjects: boolean;
616
+ canManagePortfolio: boolean;
617
+ isPlaceholderResource: boolean;
618
+ timezone: string;
619
+ lastLogin: string | null;
620
+ createdBy: TeamworkRelatedMeta | null;
621
+ createdAt: string;
622
+ updatedBy: TeamworkRelatedMeta | null;
623
+ updatedAt: string;
624
+ };
625
+
577
626
  type TeamworkProject = {
578
627
  id: number;
579
628
  name: string;
@@ -652,31 +701,28 @@ type TeamworkProjectResponseMeta = {
652
701
  };
653
702
  type TeamworkProjectsResponse = {
654
703
  projects: TeamworkProject[];
655
- meta: TeamworkResponseMeta & TeamworkProjectResponseMeta;
656
- included: object;
704
+ meta: TeamworkResponseMeta & TeamworkProjectResponseMeta & {
705
+ integrations: Record<string, string[]>;
706
+ permissions: Record<string, string[]>;
707
+ };
708
+ included: {
709
+ users: Record<string, TeamworkUserAccount>;
710
+ projectUpdates: Record<string, TeamworkProjectUpdate>;
711
+ companies: Record<string, TeamworkCompany>;
712
+ projectCategories: Record<string, TeamworkProjectCategory>;
713
+ tags: Record<string, TeamworkTag>;
714
+ customfields: Record<string, TeamworkCustomField>;
715
+ customfieldProjects: Record<string, TeamworkProjectCustomField>;
716
+ projectTaskStats: Record<string, TeamworkProjectTaskStat>;
717
+ currencies: Record<string, TeamworkCurrency>;
718
+ };
657
719
  };
658
720
  type TeamworkProjectResponse = {
659
721
  project: TeamworkProject;
660
- meta: TeamworkResponseMeta & TeamworkProjectResponseMeta;
661
- included: object;
662
- };
663
-
664
- type TeamworkTag = {
665
- id: number;
666
- projectId: number;
667
- project: TeamworkRelatedMeta;
668
- name: string;
669
- color: string;
670
- };
671
- type TeamworkTagResponseMeta = {};
672
- type TeamworkTagsResponse = {
673
- tags: TeamworkTag[];
674
- meta: TeamworkResponseMeta & TeamworkTagResponseMeta;
675
- included: object;
676
- };
677
- type TeamworkTagResponse = {
678
- tag: TeamworkTag;
679
- meta: TeamworkResponseMeta & TeamworkTagResponseMeta;
722
+ meta: TeamworkResponseMeta & TeamworkProjectResponseMeta & {
723
+ integrations: Record<string, string[]>;
724
+ permissions: Record<string, string[]>;
725
+ };
680
726
  included: object;
681
727
  };
682
728
 
@@ -802,34 +848,4 @@ type TeamworkTasklistResponse = {
802
848
  included: object;
803
849
  };
804
850
 
805
- type TeamworkUserAccount = {
806
- id: number;
807
- firstName: string;
808
- lastName: string;
809
- title: string;
810
- email: string;
811
- companyId: number;
812
- companyRoleId: number;
813
- company: TeamworkRelatedMeta;
814
- isAdmin: boolean;
815
- isClientUser: boolean;
816
- isServiceAccount: boolean;
817
- type: string;
818
- deleted: boolean;
819
- avatarUrl: string | null;
820
- lengthOfDay: number;
821
- workingHoursId: number;
822
- workingHour: TeamworkRelatedMeta;
823
- canAccessPortfolio: boolean;
824
- canAddProjects: boolean;
825
- canManagePortfolio: boolean;
826
- isPlaceholderResource: boolean;
827
- timezone: string;
828
- lastLogin: string | null;
829
- createdBy: TeamworkRelatedMeta | null;
830
- createdAt: string;
831
- updatedBy: TeamworkRelatedMeta | null;
832
- updatedAt: string;
833
- };
834
-
835
851
  export { BaseDocument, type BlockAnnouncementBar, type BlockButtonGroup, type BlockContact, type BlockCtaLink, type BlockFaq, type BlockGraphicImage, type BlockPullQuote, type BlockSectionTitle, type BlockTextDetails, BlockVideoEmbed, type BlogPageDocument, type BlogPostBlock, type BlogPostDocument, type CareersPageDocument, type CategoryDocument, type ComponentBlockAnnouncementBar, type ComponentBlockButtonGroup, type ComponentBlockContact, type ComponentBlockCtaLink, type ComponentBlockFaq, ComponentBlockFullscreenContent, type ComponentBlockGraphicImage, type ComponentBlockPullQuote, type ComponentBlockSectionTitle, type ComponentBlockTextDetails, ComponentBlockVideo, type ComponentFormDownload, type ComponentFormSelect, type ComponentSharedButton, type ComponentSharedLink, type ComponentSharedQuestionAnswer, ComponentSharedRichTextBlock, type ComponentSlideContent, type ComponentSliderSettings, type ComponentSlideshow, type ComponentSlideshowSettings, ComponentUtmOption, type FAQPageDocument, type FormDownload, type FormDownloadKeys, type FormSelect, type FormSelectInputOption, type FormUID, type LandingPageDocument, type LeadDocument, MediaUploadDocument, type NewsletterSignupDocument, type PolicyPageDocument, type ResumeDocument, RichTextBlock, SeoMeta, type SharedButton, type SharedLink, type SharedQuestionAnswer, type SlideContent, type SlideType, type SliderBreakpoint, type SliderOrigin, type SliderSettings, type SliderSpacing, type Slideshow, type SlideshowComponentProps, type SlideshowComponentSlideSettings, type SlideshowMode, type SlideshowSettings, type StrapiBgColorOptions, type StrapiDirection, type StrapiGapSizes, type StrapiIconName, type StrapiIconPosition, type StrapiLinkReferrerPolicy, type StrapiLinkRel, type StrapiLinkTarget, type StrapiLinkType, type StrapiTextColorOptions, type StrapiThemeOptions, TagDocument, type TeamMemberDocument, type TeamMemberGroup, type TeamMemberTier, type TeamPageDocument, type TeamworkActivePages, type TeamworkCompany, type TeamworkCurrency, type TeamworkCustomField, type TeamworkLockdown, type TeamworkProject, type TeamworkProjectCategory, type TeamworkProjectCustomField, type TeamworkProjectResponse, type TeamworkProjectResponseMeta, type TeamworkProjectTaskStat, type TeamworkProjectUpdate, type TeamworkProjectsResponse, type TeamworkRelatedMeta, type TeamworkResponseMeta, type TeamworkResponseMetaPagination, type TeamworkResponseMetaProjectStats, type TeamworkTag, type TeamworkTagResponse, type TeamworkTagResponseMeta, type TeamworkTagsResponse, type TeamworkTask, type TeamworkTaskCard, type TeamworkTaskResponse, type TeamworkTaskResponseMeta, type TeamworkTaskUserPermissions, type TeamworkTasklist, type TeamworkTasklistResponse, type TeamworkTasklistResponseMeta, type TeamworkTasklistsResponse, type TeamworkTasksResponse, type TeamworkUserAccount, type TrendDocument, type UrlRedirectDocument, type UrlRedirectQueryParams, type UrlRedirectStatusCode, type UtmMetaPageDocument };
package/dist/types.d.ts CHANGED
@@ -574,6 +574,55 @@ type TeamworkProjectUpdate = {
574
574
  isActive: boolean;
575
575
  };
576
576
 
577
+ type TeamworkTag = {
578
+ id: number;
579
+ projectId: number;
580
+ project: TeamworkRelatedMeta;
581
+ name: string;
582
+ color: string;
583
+ };
584
+ type TeamworkTagResponseMeta = {};
585
+ type TeamworkTagsResponse = {
586
+ tags: TeamworkTag[];
587
+ meta: TeamworkResponseMeta & TeamworkTagResponseMeta;
588
+ included: object;
589
+ };
590
+ type TeamworkTagResponse = {
591
+ tag: TeamworkTag;
592
+ meta: TeamworkResponseMeta & TeamworkTagResponseMeta;
593
+ included: object;
594
+ };
595
+
596
+ type TeamworkUserAccount = {
597
+ id: number;
598
+ firstName: string;
599
+ lastName: string;
600
+ title: string;
601
+ email: string;
602
+ companyId: number;
603
+ companyRoleId: number;
604
+ company: TeamworkRelatedMeta;
605
+ isAdmin: boolean;
606
+ isClientUser: boolean;
607
+ isServiceAccount: boolean;
608
+ type: string;
609
+ deleted: boolean;
610
+ avatarUrl: string | null;
611
+ lengthOfDay: number;
612
+ workingHoursId: number;
613
+ workingHour: TeamworkRelatedMeta;
614
+ canAccessPortfolio: boolean;
615
+ canAddProjects: boolean;
616
+ canManagePortfolio: boolean;
617
+ isPlaceholderResource: boolean;
618
+ timezone: string;
619
+ lastLogin: string | null;
620
+ createdBy: TeamworkRelatedMeta | null;
621
+ createdAt: string;
622
+ updatedBy: TeamworkRelatedMeta | null;
623
+ updatedAt: string;
624
+ };
625
+
577
626
  type TeamworkProject = {
578
627
  id: number;
579
628
  name: string;
@@ -652,31 +701,28 @@ type TeamworkProjectResponseMeta = {
652
701
  };
653
702
  type TeamworkProjectsResponse = {
654
703
  projects: TeamworkProject[];
655
- meta: TeamworkResponseMeta & TeamworkProjectResponseMeta;
656
- included: object;
704
+ meta: TeamworkResponseMeta & TeamworkProjectResponseMeta & {
705
+ integrations: Record<string, string[]>;
706
+ permissions: Record<string, string[]>;
707
+ };
708
+ included: {
709
+ users: Record<string, TeamworkUserAccount>;
710
+ projectUpdates: Record<string, TeamworkProjectUpdate>;
711
+ companies: Record<string, TeamworkCompany>;
712
+ projectCategories: Record<string, TeamworkProjectCategory>;
713
+ tags: Record<string, TeamworkTag>;
714
+ customfields: Record<string, TeamworkCustomField>;
715
+ customfieldProjects: Record<string, TeamworkProjectCustomField>;
716
+ projectTaskStats: Record<string, TeamworkProjectTaskStat>;
717
+ currencies: Record<string, TeamworkCurrency>;
718
+ };
657
719
  };
658
720
  type TeamworkProjectResponse = {
659
721
  project: TeamworkProject;
660
- meta: TeamworkResponseMeta & TeamworkProjectResponseMeta;
661
- included: object;
662
- };
663
-
664
- type TeamworkTag = {
665
- id: number;
666
- projectId: number;
667
- project: TeamworkRelatedMeta;
668
- name: string;
669
- color: string;
670
- };
671
- type TeamworkTagResponseMeta = {};
672
- type TeamworkTagsResponse = {
673
- tags: TeamworkTag[];
674
- meta: TeamworkResponseMeta & TeamworkTagResponseMeta;
675
- included: object;
676
- };
677
- type TeamworkTagResponse = {
678
- tag: TeamworkTag;
679
- meta: TeamworkResponseMeta & TeamworkTagResponseMeta;
722
+ meta: TeamworkResponseMeta & TeamworkProjectResponseMeta & {
723
+ integrations: Record<string, string[]>;
724
+ permissions: Record<string, string[]>;
725
+ };
680
726
  included: object;
681
727
  };
682
728
 
@@ -802,34 +848,4 @@ type TeamworkTasklistResponse = {
802
848
  included: object;
803
849
  };
804
850
 
805
- type TeamworkUserAccount = {
806
- id: number;
807
- firstName: string;
808
- lastName: string;
809
- title: string;
810
- email: string;
811
- companyId: number;
812
- companyRoleId: number;
813
- company: TeamworkRelatedMeta;
814
- isAdmin: boolean;
815
- isClientUser: boolean;
816
- isServiceAccount: boolean;
817
- type: string;
818
- deleted: boolean;
819
- avatarUrl: string | null;
820
- lengthOfDay: number;
821
- workingHoursId: number;
822
- workingHour: TeamworkRelatedMeta;
823
- canAccessPortfolio: boolean;
824
- canAddProjects: boolean;
825
- canManagePortfolio: boolean;
826
- isPlaceholderResource: boolean;
827
- timezone: string;
828
- lastLogin: string | null;
829
- createdBy: TeamworkRelatedMeta | null;
830
- createdAt: string;
831
- updatedBy: TeamworkRelatedMeta | null;
832
- updatedAt: string;
833
- };
834
-
835
851
  export { BaseDocument, type BlockAnnouncementBar, type BlockButtonGroup, type BlockContact, type BlockCtaLink, type BlockFaq, type BlockGraphicImage, type BlockPullQuote, type BlockSectionTitle, type BlockTextDetails, BlockVideoEmbed, type BlogPageDocument, type BlogPostBlock, type BlogPostDocument, type CareersPageDocument, type CategoryDocument, type ComponentBlockAnnouncementBar, type ComponentBlockButtonGroup, type ComponentBlockContact, type ComponentBlockCtaLink, type ComponentBlockFaq, ComponentBlockFullscreenContent, type ComponentBlockGraphicImage, type ComponentBlockPullQuote, type ComponentBlockSectionTitle, type ComponentBlockTextDetails, ComponentBlockVideo, type ComponentFormDownload, type ComponentFormSelect, type ComponentSharedButton, type ComponentSharedLink, type ComponentSharedQuestionAnswer, ComponentSharedRichTextBlock, type ComponentSlideContent, type ComponentSliderSettings, type ComponentSlideshow, type ComponentSlideshowSettings, ComponentUtmOption, type FAQPageDocument, type FormDownload, type FormDownloadKeys, type FormSelect, type FormSelectInputOption, type FormUID, type LandingPageDocument, type LeadDocument, MediaUploadDocument, type NewsletterSignupDocument, type PolicyPageDocument, type ResumeDocument, RichTextBlock, SeoMeta, type SharedButton, type SharedLink, type SharedQuestionAnswer, type SlideContent, type SlideType, type SliderBreakpoint, type SliderOrigin, type SliderSettings, type SliderSpacing, type Slideshow, type SlideshowComponentProps, type SlideshowComponentSlideSettings, type SlideshowMode, type SlideshowSettings, type StrapiBgColorOptions, type StrapiDirection, type StrapiGapSizes, type StrapiIconName, type StrapiIconPosition, type StrapiLinkReferrerPolicy, type StrapiLinkRel, type StrapiLinkTarget, type StrapiLinkType, type StrapiTextColorOptions, type StrapiThemeOptions, TagDocument, type TeamMemberDocument, type TeamMemberGroup, type TeamMemberTier, type TeamPageDocument, type TeamworkActivePages, type TeamworkCompany, type TeamworkCurrency, type TeamworkCustomField, type TeamworkLockdown, type TeamworkProject, type TeamworkProjectCategory, type TeamworkProjectCustomField, type TeamworkProjectResponse, type TeamworkProjectResponseMeta, type TeamworkProjectTaskStat, type TeamworkProjectUpdate, type TeamworkProjectsResponse, type TeamworkRelatedMeta, type TeamworkResponseMeta, type TeamworkResponseMetaPagination, type TeamworkResponseMetaProjectStats, type TeamworkTag, type TeamworkTagResponse, type TeamworkTagResponseMeta, type TeamworkTagsResponse, type TeamworkTask, type TeamworkTaskCard, type TeamworkTaskResponse, type TeamworkTaskResponseMeta, type TeamworkTaskUserPermissions, type TeamworkTasklist, type TeamworkTasklistResponse, type TeamworkTasklistResponseMeta, type TeamworkTasklistsResponse, type TeamworkTasksResponse, type TeamworkUserAccount, type TrendDocument, type UrlRedirectDocument, type UrlRedirectQueryParams, type UrlRedirectStatusCode, type UtmMetaPageDocument };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@getcommunity/gc-validators",
3
3
  "description": "Schema Validator for GetCommunity web-stack types",
4
- "version": "0.0.207",
4
+ "version": "0.0.209",
5
5
  "author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
6
6
  "contributors": [],
7
7
  "type": "module",