@getcommunity/gc-validators 0.0.115 → 0.0.116

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/index.d.cts CHANGED
@@ -1187,6 +1187,7 @@ type ClientDocument = {
1187
1187
  logos?: BlockBrandLogos | null;
1188
1188
  teamwork_id: string;
1189
1189
  teamwork_name: string;
1190
+ gainapp_id: string | null;
1190
1191
  utm_sheet_id: string;
1191
1192
  allow_create_utm_link: boolean;
1192
1193
  is_organic_social: boolean;
@@ -1721,6 +1722,7 @@ declare const QueryStrapiSearchClients: v.ObjectSchema<{
1721
1722
  readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1722
1723
  readonly teamwork_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1723
1724
  readonly teamwork_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1725
+ readonly gainapp_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1724
1726
  readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1725
1727
  readonly is_active: v.OptionalSchema<v.BooleanSchema<"this value must be a boolean">, undefined>;
1726
1728
  readonly is_featured: v.OptionalSchema<v.BooleanSchema<"this value must be a boolean">, undefined>;
@@ -1738,6 +1740,7 @@ declare const SCreateClientDocument: v.ObjectSchema<{
1738
1740
  readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
1739
1741
  readonly teamwork_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
1740
1742
  readonly teamwork_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
1743
+ readonly gainapp_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1741
1744
  readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1742
1745
  readonly is_active: v.BooleanSchema<"this value must be a boolean">;
1743
1746
  readonly is_featured: v.BooleanSchema<"this value must be a boolean">;
@@ -1751,6 +1754,7 @@ declare const SUpdateClientDocument: v.ObjectSchema<{
1751
1754
  readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1752
1755
  readonly teamwork_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1753
1756
  readonly teamwork_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1757
+ readonly gainapp_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1754
1758
  readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1755
1759
  readonly is_active: v.OptionalSchema<v.BooleanSchema<"this value must be a boolean">, undefined>;
1756
1760
  readonly is_featured: v.OptionalSchema<v.BooleanSchema<"this value must be a boolean">, undefined>;
@@ -1766,6 +1770,7 @@ declare const SUpdateClientDocumentRequest: v.ObjectSchema<{
1766
1770
  readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1767
1771
  readonly teamwork_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1768
1772
  readonly teamwork_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1773
+ readonly gainapp_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1769
1774
  readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1770
1775
  readonly is_active: v.OptionalSchema<v.BooleanSchema<"this value must be a boolean">, undefined>;
1771
1776
  readonly is_featured: v.OptionalSchema<v.BooleanSchema<"this value must be a boolean">, undefined>;
package/dist/index.d.ts CHANGED
@@ -1187,6 +1187,7 @@ type ClientDocument = {
1187
1187
  logos?: BlockBrandLogos | null;
1188
1188
  teamwork_id: string;
1189
1189
  teamwork_name: string;
1190
+ gainapp_id: string | null;
1190
1191
  utm_sheet_id: string;
1191
1192
  allow_create_utm_link: boolean;
1192
1193
  is_organic_social: boolean;
@@ -1721,6 +1722,7 @@ declare const QueryStrapiSearchClients: v.ObjectSchema<{
1721
1722
  readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1722
1723
  readonly teamwork_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1723
1724
  readonly teamwork_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1725
+ readonly gainapp_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1724
1726
  readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1725
1727
  readonly is_active: v.OptionalSchema<v.BooleanSchema<"this value must be a boolean">, undefined>;
1726
1728
  readonly is_featured: v.OptionalSchema<v.BooleanSchema<"this value must be a boolean">, undefined>;
@@ -1738,6 +1740,7 @@ declare const SCreateClientDocument: v.ObjectSchema<{
1738
1740
  readonly title: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
1739
1741
  readonly teamwork_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
1740
1742
  readonly teamwork_name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>;
1743
+ readonly gainapp_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1741
1744
  readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1742
1745
  readonly is_active: v.BooleanSchema<"this value must be a boolean">;
1743
1746
  readonly is_featured: v.BooleanSchema<"this value must be a boolean">;
@@ -1751,6 +1754,7 @@ declare const SUpdateClientDocument: v.ObjectSchema<{
1751
1754
  readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1752
1755
  readonly teamwork_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1753
1756
  readonly teamwork_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1757
+ readonly gainapp_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1754
1758
  readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1755
1759
  readonly is_active: v.OptionalSchema<v.BooleanSchema<"this value must be a boolean">, undefined>;
1756
1760
  readonly is_featured: v.OptionalSchema<v.BooleanSchema<"this value must be a boolean">, undefined>;
@@ -1766,6 +1770,7 @@ declare const SUpdateClientDocumentRequest: v.ObjectSchema<{
1766
1770
  readonly title: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1767
1771
  readonly teamwork_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1768
1772
  readonly teamwork_name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1773
+ readonly gainapp_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1769
1774
  readonly utm_sheet_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 255, "The string you provided is too long, it must be 255 characters or less.">]>, undefined>;
1770
1775
  readonly is_active: v.OptionalSchema<v.BooleanSchema<"this value must be a boolean">, undefined>;
1771
1776
  readonly is_featured: v.OptionalSchema<v.BooleanSchema<"this value must be a boolean">, undefined>;
package/dist/index.js CHANGED
@@ -1622,6 +1622,7 @@ var QueryStrapiSearchClients = v6.object({
1622
1622
  title: IsValidOrUndefinedShortString,
1623
1623
  teamwork_id: IsValidOrUndefinedShortString,
1624
1624
  teamwork_name: IsValidOrUndefinedShortString,
1625
+ gainapp_id: IsValidOrUndefinedShortString,
1625
1626
  utm_sheet_id: IsValidOrUndefinedShortString,
1626
1627
  is_active: IsValidOrUndefinedIsBoolean,
1627
1628
  is_featured: IsValidOrUndefinedIsBoolean,
@@ -1635,6 +1636,7 @@ var SCreateClientDocument = v6.object({
1635
1636
  title: IsValidShortString,
1636
1637
  teamwork_id: IsValidShortString,
1637
1638
  teamwork_name: IsValidShortString,
1639
+ gainapp_id: IsValidOrUndefinedShortString,
1638
1640
  utm_sheet_id: IsValidOrUndefinedShortString,
1639
1641
  is_active: IsValidIsBoolean,
1640
1642
  is_featured: IsValidIsBoolean,
@@ -1647,6 +1649,7 @@ var SUpdateClientDocument = v6.object({
1647
1649
  title: IsValidOrUndefinedShortString,
1648
1650
  teamwork_id: IsValidOrUndefinedShortString,
1649
1651
  teamwork_name: IsValidOrUndefinedShortString,
1652
+ gainapp_id: IsValidOrUndefinedShortString,
1650
1653
  utm_sheet_id: IsValidOrUndefinedShortString,
1651
1654
  is_active: IsValidOrUndefinedIsBoolean,
1652
1655
  is_featured: IsValidOrUndefinedIsBoolean,