@joeygrable94/utm-src-pub-validators 0.0.39 → 0.0.41

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
@@ -274,20 +274,20 @@ declare const SQueryListTrackingLinkDocuments: v.ObjectSchema<{
274
274
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
275
275
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
276
276
  readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
277
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
278
- readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
279
- readonly protocol: v.UndefinedableSchema<v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">, undefined>;
280
- readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
281
- readonly path: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url path">, v.TrimAction, v.MinLengthAction<string, 1, "the url path is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url path is too long, it must be 2038 characters or less">]>, undefined>;
282
- readonly query: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url query">, v.TrimAction, v.MinLengthAction<string, 1, "the url query is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url query is too long, it must be 2038 characters or less">]>, undefined>;
283
- readonly fragment: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url hash/fragment">, v.TrimAction, v.MinLengthAction<string, 1, "the url hash/fragment is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url hash/fragment is too long, it must be 2038 characters or less">]>, undefined>;
284
- readonly utm_source: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_source is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_source is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_source can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
285
- readonly utm_medium: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_medium is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_medium is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_medium can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
286
- readonly utm_campaign: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_campaign is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2024, "the utm_campaign is too long, it must be 2024 characters or less">, v.RegexAction<string, "utm_campaign can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
287
- readonly utm_creative_format: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
288
- readonly utm_content: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
289
- readonly utm_term: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
290
- readonly utm_id: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
277
+ readonly is_active: v.SchemaWithFallback<v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>, true>;
278
+ readonly destination: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
279
+ readonly protocol: v.OptionalSchema<v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">, undefined>;
280
+ readonly domain: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
281
+ readonly path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url path">, v.TrimAction, v.MinLengthAction<string, 1, "the url path is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url path is too long, it must be 2038 characters or less">]>, undefined>;
282
+ readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url query">, v.TrimAction, v.MinLengthAction<string, 1, "the url query is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url query is too long, it must be 2038 characters or less">]>, undefined>;
283
+ readonly fragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url hash/fragment">, v.TrimAction, v.MinLengthAction<string, 1, "the url hash/fragment is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url hash/fragment is too long, it must be 2038 characters or less">]>, undefined>;
284
+ readonly utm_source: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_source is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_source is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_source can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
285
+ readonly utm_medium: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_medium is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_medium is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_medium can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
286
+ readonly utm_campaign: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_campaign is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2024, "the utm_campaign is too long, it must be 2024 characters or less">, v.RegexAction<string, "utm_campaign can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
287
+ readonly utm_creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
288
+ readonly utm_content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
289
+ readonly utm_term: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
290
+ readonly utm_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
291
291
  }, undefined>;
292
292
  type SQueryListTrackingLinkDocuments = v.InferOutput<typeof SQueryListTrackingLinkDocuments>;
293
293
  declare const SCreateTrackingLinkDocument: v.ObjectSchema<{
@@ -1752,7 +1752,7 @@ type UserWithAccountDocument = BaseDocument & Pick<UserDocument, "id" | "documen
1752
1752
  };
1753
1753
  type UserAuthorizationSuccessResponse = {
1754
1754
  jwt: string;
1755
- user: Pick<UserDocument, "id" | "documentId" | "username" | "email" | "provider" | "confirmed" | "blocked" | "createdAt" | "updatedAt" | "publishedAt">;
1755
+ user: UserWithAccountDocument;
1756
1756
  };
1757
1757
 
1758
1758
  type BaseDocument = {
package/dist/index.d.ts CHANGED
@@ -274,20 +274,20 @@ declare const SQueryListTrackingLinkDocuments: v.ObjectSchema<{
274
274
  readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
275
275
  readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
276
276
  readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
277
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
278
- readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
279
- readonly protocol: v.UndefinedableSchema<v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">, undefined>;
280
- readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
281
- readonly path: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url path">, v.TrimAction, v.MinLengthAction<string, 1, "the url path is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url path is too long, it must be 2038 characters or less">]>, undefined>;
282
- readonly query: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url query">, v.TrimAction, v.MinLengthAction<string, 1, "the url query is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url query is too long, it must be 2038 characters or less">]>, undefined>;
283
- readonly fragment: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url hash/fragment">, v.TrimAction, v.MinLengthAction<string, 1, "the url hash/fragment is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url hash/fragment is too long, it must be 2038 characters or less">]>, undefined>;
284
- readonly utm_source: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_source is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_source is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_source can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
285
- readonly utm_medium: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_medium is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_medium is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_medium can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
286
- readonly utm_campaign: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_campaign is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2024, "the utm_campaign is too long, it must be 2024 characters or less">, v.RegexAction<string, "utm_campaign can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
287
- readonly utm_creative_format: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
288
- readonly utm_content: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
289
- readonly utm_term: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
290
- readonly utm_id: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
277
+ readonly is_active: v.SchemaWithFallback<v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>, true>;
278
+ readonly destination: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
279
+ readonly protocol: v.OptionalSchema<v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">, undefined>;
280
+ readonly domain: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
281
+ readonly path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url path">, v.TrimAction, v.MinLengthAction<string, 1, "the url path is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url path is too long, it must be 2038 characters or less">]>, undefined>;
282
+ readonly query: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url query">, v.TrimAction, v.MinLengthAction<string, 1, "the url query is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url query is too long, it must be 2038 characters or less">]>, undefined>;
283
+ readonly fragment: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url hash/fragment">, v.TrimAction, v.MinLengthAction<string, 1, "the url hash/fragment is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url hash/fragment is too long, it must be 2038 characters or less">]>, undefined>;
284
+ readonly utm_source: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_source is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_source is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_source can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
285
+ readonly utm_medium: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_medium is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_medium is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_medium can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
286
+ readonly utm_campaign: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_campaign is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2024, "the utm_campaign is too long, it must be 2024 characters or less">, v.RegexAction<string, "utm_campaign can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
287
+ readonly utm_creative_format: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
288
+ readonly utm_content: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
289
+ readonly utm_term: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
290
+ readonly utm_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
291
291
  }, undefined>;
292
292
  type SQueryListTrackingLinkDocuments = v.InferOutput<typeof SQueryListTrackingLinkDocuments>;
293
293
  declare const SCreateTrackingLinkDocument: v.ObjectSchema<{
@@ -1752,7 +1752,7 @@ type UserWithAccountDocument = BaseDocument & Pick<UserDocument, "id" | "documen
1752
1752
  };
1753
1753
  type UserAuthorizationSuccessResponse = {
1754
1754
  jwt: string;
1755
- user: Pick<UserDocument, "id" | "documentId" | "username" | "email" | "provider" | "confirmed" | "blocked" | "createdAt" | "updatedAt" | "publishedAt">;
1755
+ user: UserWithAccountDocument;
1756
1756
  };
1757
1757
 
1758
1758
  type BaseDocument = {
package/dist/index.js CHANGED
@@ -671,20 +671,20 @@ var SQueryListTrackingLinkDocuments = v14.object({
671
671
  ),
672
672
  TRACKING_LINK_PAGINATION_DEFAULT_SIZE_LIMIT
673
673
  ),
674
- is_active: IsValidOrUndefinedIsActive,
675
- destination: IsValidOrUndefinedUrlDestination,
676
- protocol: IsValidOrUndefinedUrlProtocol,
677
- domain: IsValidOrUndefinedUrlDomain,
678
- path: IsValidOrUndefinedUrlPath,
679
- query: IsValidOrUndefinedUrlQuery,
680
- fragment: IsValidOrUndefinedUrlFragment,
681
- utm_source: IsValidOrUndefinedUrlUtmSource,
682
- utm_medium: IsValidOrUndefinedUrlUtmMedium,
683
- utm_campaign: IsValidOrUndefinedUrlUtmCampaign,
684
- utm_creative_format: IsValidOrUndefinedUrlUtmCreativeFormat,
685
- utm_content: IsValidOrUndefinedUrlUtmContent,
686
- utm_term: IsValidOrUndefinedUrlUtmTerm,
687
- utm_id: IsValidOrUndefinedUrlUtmId
674
+ is_active: v14.fallback(v14.optional(IsValidIsActive), true),
675
+ destination: v14.optional(IsValidUrlDestination),
676
+ protocol: v14.optional(IsValidUrlProtocol),
677
+ domain: v14.optional(IsValidUrlDomain),
678
+ path: v14.optional(IsValidUrlPath),
679
+ query: v14.optional(IsValidUrlQuery),
680
+ fragment: v14.optional(IsValidUrlFragment),
681
+ utm_source: v14.optional(IsValidUrlUtmSource),
682
+ utm_medium: v14.optional(IsValidUrlUtmMedium),
683
+ utm_campaign: v14.optional(IsValidUrlUtmCampaign),
684
+ utm_creative_format: v14.optional(IsValidUrlUtmCreativeFormat),
685
+ utm_content: v14.optional(IsValidUrlUtmContent),
686
+ utm_term: v14.optional(IsValidUrlUtmTerm),
687
+ utm_id: v14.optional(IsValidUrlUtmId)
688
688
  });
689
689
  var SCreateTrackingLinkDocument = v14.object({
690
690
  is_active: IsValidIsActive,