@getcommunity/gc-validators 0.0.184 → 0.0.186

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
@@ -2460,8 +2460,8 @@ declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
2460
2460
  readonly project_pricing: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
2461
2461
  readonly project_address: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
2462
2462
  readonly phone_number: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>, undefined>;
2463
- readonly num_of_models: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2464
- readonly num_of_units_remain: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2463
+ readonly num_of_models: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2464
+ readonly num_of_units_remain: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2465
2465
  readonly buyer_profile: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
2466
2466
  readonly social_organic_start_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
2467
2467
  readonly paid_media_start_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
@@ -2484,8 +2484,8 @@ declare const SCreateClientProjectDocument: v.ObjectSchema<{
2484
2484
  readonly project_pricing: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2485
2485
  readonly project_address: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2486
2486
  readonly phone_number: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>, undefined>, undefined>;
2487
- readonly num_of_models: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2488
- readonly num_of_units_remain: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2487
+ readonly num_of_models: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2488
+ readonly num_of_units_remain: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2489
2489
  readonly buyer_profile: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2490
2490
  readonly social_organic_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
2491
2491
  readonly paid_media_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
@@ -2504,8 +2504,8 @@ declare const SUpdateClientProjectDocument: v.ObjectSchema<{
2504
2504
  readonly project_pricing: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2505
2505
  readonly project_address: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2506
2506
  readonly phone_number: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>, undefined>, undefined>;
2507
- readonly num_of_models: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2508
- readonly num_of_units_remain: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2507
+ readonly num_of_models: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2508
+ readonly num_of_units_remain: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2509
2509
  readonly buyer_profile: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2510
2510
  readonly social_organic_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
2511
2511
  readonly paid_media_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
@@ -2526,8 +2526,8 @@ declare const SUpdateClientProjectDocumentRequest: v.ObjectSchema<{
2526
2526
  readonly project_pricing: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2527
2527
  readonly project_address: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2528
2528
  readonly phone_number: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>, undefined>, undefined>;
2529
- readonly num_of_models: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2530
- readonly num_of_units_remain: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2529
+ readonly num_of_models: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2530
+ readonly num_of_units_remain: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2531
2531
  readonly buyer_profile: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2532
2532
  readonly social_organic_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
2533
2533
  readonly paid_media_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
@@ -3637,7 +3637,7 @@ declare const QueryStrapiSearchTeamMembers: v.ObjectSchema<{
3637
3637
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
3638
3638
  readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
3639
3639
  readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
3640
- readonly order: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3640
+ readonly order: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3641
3641
  readonly tier: v.OptionalSchema<v.PicklistSchema<["owner", "manager", "employee"], undefined>, undefined>;
3642
3642
  readonly group: v.OptionalSchema<v.PicklistSchema<["account", "media", "creative"], undefined>, undefined>;
3643
3643
  readonly is_employed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -3690,7 +3690,7 @@ type QuerySortTeamworkProjectHealth = v.InferOutput<typeof QuerySortTeamworkProj
3690
3690
  declare const QueryStrapiSearchTeamworkProjectHealth: v.ObjectSchema<{
3691
3691
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
3692
3692
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
3693
- readonly lastPeriodDays: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3693
+ readonly lastPeriodDays: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3694
3694
  readonly searchTerm: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
3695
3695
  readonly excludeTagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
3696
3696
  readonly includeArchivedProjects: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -3810,7 +3810,7 @@ declare const SChangePassword: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3810
3810
  type SChangePassword = v.InferOutput<typeof SChangePassword>;
3811
3811
  declare const SAuthRawAccessToken: v.ObjectSchema<{
3812
3812
  readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3813
- readonly expires_in: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3813
+ readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3814
3814
  readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3815
3815
  readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3816
3816
  readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -3821,7 +3821,7 @@ declare const SAuthConnectProviderRedirectSearch: v.ObjectSchema<{
3821
3821
  readonly access_token: v.StringSchema<undefined>;
3822
3822
  readonly raw: v.OptionalSchema<v.ObjectSchema<{
3823
3823
  readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3824
- readonly expires_in: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3824
+ readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3825
3825
  readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3826
3826
  readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3827
3827
  readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -3835,7 +3835,7 @@ declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
3835
3835
  readonly access_token: v.StringSchema<undefined>;
3836
3836
  readonly raw: v.OptionalSchema<v.ObjectSchema<{
3837
3837
  readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3838
- readonly expires_in: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3838
+ readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3839
3839
  readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3840
3840
  readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3841
3841
  readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -3898,9 +3898,9 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
3898
3898
  readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
3899
3899
  readonly value: v.ObjectSchema<{
3900
3900
  readonly year: v.NumberSchema<undefined>;
3901
- readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3902
- readonly month: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3903
- readonly day: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3901
+ readonly quarter: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3902
+ readonly month: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3903
+ readonly day: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3904
3904
  }, undefined>;
3905
3905
  }, undefined>;
3906
3906
  }, undefined>;
package/dist/index.d.ts CHANGED
@@ -2460,8 +2460,8 @@ declare const QueryStrapiSearchClientProjects: v.ObjectSchema<{
2460
2460
  readonly project_pricing: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
2461
2461
  readonly project_address: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
2462
2462
  readonly phone_number: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>, undefined>;
2463
- readonly num_of_models: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2464
- readonly num_of_units_remain: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2463
+ readonly num_of_models: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2464
+ readonly num_of_units_remain: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2465
2465
  readonly buyer_profile: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
2466
2466
  readonly social_organic_start_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
2467
2467
  readonly paid_media_start_date: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>;
@@ -2484,8 +2484,8 @@ declare const SCreateClientProjectDocument: v.ObjectSchema<{
2484
2484
  readonly project_pricing: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2485
2485
  readonly project_address: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2486
2486
  readonly phone_number: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>, undefined>, undefined>;
2487
- readonly num_of_models: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2488
- readonly num_of_units_remain: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2487
+ readonly num_of_models: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2488
+ readonly num_of_units_remain: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2489
2489
  readonly buyer_profile: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2490
2490
  readonly social_organic_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
2491
2491
  readonly paid_media_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
@@ -2504,8 +2504,8 @@ declare const SUpdateClientProjectDocument: v.ObjectSchema<{
2504
2504
  readonly project_pricing: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2505
2505
  readonly project_address: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2506
2506
  readonly phone_number: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>, undefined>, undefined>;
2507
- readonly num_of_models: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2508
- readonly num_of_units_remain: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2507
+ readonly num_of_models: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2508
+ readonly num_of_units_remain: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2509
2509
  readonly buyer_profile: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2510
2510
  readonly social_organic_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
2511
2511
  readonly paid_media_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
@@ -2526,8 +2526,8 @@ declare const SUpdateClientProjectDocumentRequest: v.ObjectSchema<{
2526
2526
  readonly project_pricing: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2527
2527
  readonly project_address: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2528
2528
  readonly phone_number: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 7, undefined>, v.MaxLengthAction<string, 24, undefined>, v.RegexAction<string, "Please provide a valid phone number.">]>, undefined>, undefined>;
2529
- readonly num_of_models: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2530
- readonly num_of_units_remain: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2529
+ readonly num_of_models: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2530
+ readonly num_of_units_remain: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
2531
2531
  readonly buyer_profile: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
2532
2532
  readonly social_organic_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
2533
2533
  readonly paid_media_start_date: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoDateAction<string, undefined>]>, undefined>, undefined>;
@@ -3637,7 +3637,7 @@ declare const QueryStrapiSearchTeamMembers: v.ObjectSchema<{
3637
3637
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
3638
3638
  readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
3639
3639
  readonly slug: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
3640
- readonly order: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3640
+ readonly order: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3641
3641
  readonly tier: v.OptionalSchema<v.PicklistSchema<["owner", "manager", "employee"], undefined>, undefined>;
3642
3642
  readonly group: v.OptionalSchema<v.PicklistSchema<["account", "media", "creative"], undefined>, undefined>;
3643
3643
  readonly is_employed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -3690,7 +3690,7 @@ type QuerySortTeamworkProjectHealth = v.InferOutput<typeof QuerySortTeamworkProj
3690
3690
  declare const QueryStrapiSearchTeamworkProjectHealth: v.ObjectSchema<{
3691
3691
  readonly page: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
3692
3692
  readonly size: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
3693
- readonly lastPeriodDays: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3693
+ readonly lastPeriodDays: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3694
3694
  readonly searchTerm: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, number, undefined>]>, undefined>;
3695
3695
  readonly excludeTagIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, number, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
3696
3696
  readonly includeArchivedProjects: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
@@ -3810,7 +3810,7 @@ declare const SChangePassword: v.SchemaWithPipe<readonly [v.ObjectSchema<{
3810
3810
  type SChangePassword = v.InferOutput<typeof SChangePassword>;
3811
3811
  declare const SAuthRawAccessToken: v.ObjectSchema<{
3812
3812
  readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3813
- readonly expires_in: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3813
+ readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3814
3814
  readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3815
3815
  readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3816
3816
  readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -3821,7 +3821,7 @@ declare const SAuthConnectProviderRedirectSearch: v.ObjectSchema<{
3821
3821
  readonly access_token: v.StringSchema<undefined>;
3822
3822
  readonly raw: v.OptionalSchema<v.ObjectSchema<{
3823
3823
  readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3824
- readonly expires_in: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3824
+ readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3825
3825
  readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3826
3826
  readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3827
3827
  readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -3835,7 +3835,7 @@ declare const SAuthConnectProviderConfirmation: v.ObjectSchema<{
3835
3835
  readonly access_token: v.StringSchema<undefined>;
3836
3836
  readonly raw: v.OptionalSchema<v.ObjectSchema<{
3837
3837
  readonly access_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3838
- readonly expires_in: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3838
+ readonly expires_in: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3839
3839
  readonly scope: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3840
3840
  readonly token_type: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3841
3841
  readonly id_token: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -3898,9 +3898,9 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
3898
3898
  readonly format: v.PicklistSchema<readonly ["annually", "quarterly", "monthly", "on a specific date", "no date"], undefined>;
3899
3899
  readonly value: v.ObjectSchema<{
3900
3900
  readonly year: v.NumberSchema<undefined>;
3901
- readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3902
- readonly month: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3903
- readonly day: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
3901
+ readonly quarter: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3902
+ readonly month: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3903
+ readonly day: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>, undefined>, undefined>;
3904
3904
  }, undefined>;
3905
3905
  }, undefined>;
3906
3906
  }, undefined>;
package/dist/index.js CHANGED
@@ -864,6 +864,7 @@ function hasPermission(user, permissions, resource, action, data) {
864
864
  if (typeof permission === "boolean") return permission;
865
865
  return permission(user, permissions, data);
866
866
  }
867
+ var VIntegerNullable = () => v33.optional(v33.nullable(v33.pipe(v33.number(), v33.integer())));
867
868
  var VStringShort = (minLength13 = LIMIT_MIN_VALUE) => v33.pipe(
868
869
  v33.string(),
869
870
  v33.trim(),
@@ -1285,8 +1286,8 @@ var QueryStrapiSearchClientProjects = v33.object({
1285
1286
  project_pricing: v33.optional(VStringMax(LIMIT_SHORT_STRING_MAX_LENGTH)),
1286
1287
  project_address: v33.optional(VStringMax()),
1287
1288
  phone_number: v33.optional(VStringPhone()),
1288
- num_of_models: v33.optional(v33.number()),
1289
- num_of_units_remain: v33.optional(v33.number()),
1289
+ num_of_models: VIntegerNullable(),
1290
+ num_of_units_remain: VIntegerNullable(),
1290
1291
  buyer_profile: v33.optional(VStringMax()),
1291
1292
  social_organic_start_date: v33.optional(v33.pipe(v33.string(), v33.isoDate())),
1292
1293
  paid_media_start_date: v33.optional(v33.pipe(v33.string(), v33.isoDate())),
@@ -1311,8 +1312,8 @@ var SCreateClientProjectDocument = v33.object({
1311
1312
  project_pricing: v33.optional(v33.nullable(VStringMax())),
1312
1313
  project_address: v33.optional(v33.nullable(VStringMax())),
1313
1314
  phone_number: VStringPhoneNullable(),
1314
- num_of_models: v33.optional(v33.number()),
1315
- num_of_units_remain: v33.optional(v33.number()),
1315
+ num_of_models: VIntegerNullable(),
1316
+ num_of_units_remain: VIntegerNullable(),
1316
1317
  buyer_profile: v33.optional(v33.nullable(VStringMax())),
1317
1318
  social_organic_start_date: v33.optional(v33.nullable(v33.pipe(v33.string(), v33.isoDate()))),
1318
1319
  paid_media_start_date: v33.optional(v33.nullable(v33.pipe(v33.string(), v33.isoDate()))),
@@ -1341,8 +1342,8 @@ var SUpdateClientProjectDocument = v33.object({
1341
1342
  project_pricing: v33.optional(v33.nullable(VStringMax())),
1342
1343
  project_address: v33.optional(v33.nullable(VStringMax())),
1343
1344
  phone_number: VStringPhoneNullable(),
1344
- num_of_models: v33.optional(v33.number()),
1345
- num_of_units_remain: v33.optional(v33.number()),
1345
+ num_of_models: VIntegerNullable(),
1346
+ num_of_units_remain: VIntegerNullable(),
1346
1347
  buyer_profile: v33.optional(v33.nullable(VStringMax())),
1347
1348
  social_organic_start_date: v33.optional(v33.nullable(v33.pipe(v33.string(), v33.isoDate()))),
1348
1349
  paid_media_start_date: v33.optional(v33.nullable(v33.pipe(v33.string(), v33.isoDate()))),
@@ -2489,7 +2490,7 @@ var QueryStrapiSearchTeamMembers = v33.object({
2489
2490
  size: VSize(LIMIT_BLOG_POST_PAGINATION_MAX_SIZE),
2490
2491
  name: v33.optional(VStringMax()),
2491
2492
  slug: v33.optional(VStringMax()),
2492
- order: v33.optional(v33.number()),
2493
+ order: VIntegerNullable(),
2493
2494
  tier: v33.optional(v33.picklist(["owner", "manager", "employee"])),
2494
2495
  group: v33.optional(v33.picklist(["account", "media", "creative"])),
2495
2496
  is_employed: v33.optional(v33.boolean()),
@@ -2550,7 +2551,7 @@ var QuerySortTeamworkProjectHealth = v33.optional(
2550
2551
  var QueryStrapiSearchTeamworkProjectHealth = v33.object({
2551
2552
  page: VPage(),
2552
2553
  size: VSize(LIMIT_PAGINATION_DEFAULT_SIZE),
2553
- lastPeriodDays: v33.optional(v33.number()),
2554
+ lastPeriodDays: VIntegerNullable(),
2554
2555
  searchTerm: v33.optional(VStringMax()),
2555
2556
  excludeTagIds: v33.optional(
2556
2557
  v33.array(VStringMinMax(LIMIT_MIN_VALUE, LIMIT_SHORT_STRING_MAX_LENGTH))
@@ -2686,7 +2687,7 @@ var SChangePassword = v33.pipe(
2686
2687
  );
2687
2688
  var SAuthRawAccessToken = v33.object({
2688
2689
  access_token: v33.optional(v33.string()),
2689
- expires_in: v33.optional(v33.number()),
2690
+ expires_in: VIntegerNullable(),
2690
2691
  scope: v33.optional(v33.string()),
2691
2692
  token_type: v33.optional(v33.string()),
2692
2693
  id_token: v33.optional(v33.string())
@@ -2800,9 +2801,9 @@ var SUtmLinkBuilderTableForm = v33.object({
2800
2801
  format: v33.picklist(SUtmLinkBuilderPartCampaignDateOptions),
2801
2802
  value: v33.object({
2802
2803
  year: v33.number(),
2803
- quarter: v33.optional(v33.number()),
2804
- month: v33.optional(v33.number()),
2805
- day: v33.optional(v33.number())
2804
+ quarter: VIntegerNullable(),
2805
+ month: VIntegerNullable(),
2806
+ day: VIntegerNullable()
2806
2807
  })
2807
2808
  })
2808
2809
  }),