@joeygrable94/utm-src-pub-validators 0.0.106 → 0.0.111

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
@@ -179,20 +179,20 @@ type SUtmLinkBuilderPartCampaignDateValueYearInput = v.InferInput<typeof SUtmLin
179
179
  declare const SUtmLinkBuilderPartCampaignDateValueYear: v.NumberSchema<"Please provide a valid year.">;
180
180
  type SUtmLinkBuilderPartCampaignDateValueYear = v.InferOutput<typeof SUtmLinkBuilderPartCampaignDateValueYear>;
181
181
  type SUtmLinkBuilderPartCampaignDateValueQuarterInput = v.InferInput<typeof SUtmLinkBuilderPartCampaignDateValueQuarter>;
182
- declare const SUtmLinkBuilderPartCampaignDateValueQuarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
182
+ declare const SUtmLinkBuilderPartCampaignDateValueQuarter: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
183
183
  type SUtmLinkBuilderPartCampaignDateValueQuarter = v.InferOutput<typeof SUtmLinkBuilderPartCampaignDateValueQuarter>;
184
184
  type SUtmLinkBuilderPartCampaignDateValueMonthInput = v.InferInput<typeof SUtmLinkBuilderPartCampaignDateValueMonth>;
185
- declare const SUtmLinkBuilderPartCampaignDateValueMonth: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
185
+ declare const SUtmLinkBuilderPartCampaignDateValueMonth: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
186
186
  type SUtmLinkBuilderPartCampaignDateValueMonth = v.InferOutput<typeof SUtmLinkBuilderPartCampaignDateValueMonth>;
187
187
  type SUtmLinkBuilderPartCampaignDateValueDayInput = v.InferInput<typeof SUtmLinkBuilderPartCampaignDateValueDay>;
188
- declare const SUtmLinkBuilderPartCampaignDateValueDay: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
188
+ declare const SUtmLinkBuilderPartCampaignDateValueDay: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
189
189
  type SUtmLinkBuilderPartCampaignDateValueDay = v.InferOutput<typeof SUtmLinkBuilderPartCampaignDateValueDay>;
190
190
  type SUtmLinkBuilderPartCampaignDateValueInput = v.InferInput<typeof SUtmLinkBuilderPartCampaignDateValue>;
191
191
  declare const SUtmLinkBuilderPartCampaignDateValue: v.ObjectSchema<{
192
192
  readonly year: v.NumberSchema<"Please provide a valid year.">;
193
- readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
194
- readonly month: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
195
- readonly day: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
193
+ readonly quarter: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
194
+ readonly month: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
195
+ readonly day: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
196
196
  }, undefined>;
197
197
  type SUtmLinkBuilderPartCampaignDateValue = v.InferOutput<typeof SUtmLinkBuilderPartCampaignDateValue>;
198
198
  type SUtmLinkBuilderPartCampaignDateObjectInput = v.InferInput<typeof SUtmLinkBuilderPartCampaignDateObject>;
@@ -200,9 +200,9 @@ declare const SUtmLinkBuilderPartCampaignDateObject: v.ObjectSchema<{
200
200
  readonly format: v.PicklistSchema<readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"], "Please select a valid campaign date format.">;
201
201
  readonly value: v.ObjectSchema<{
202
202
  readonly year: v.NumberSchema<"Please provide a valid year.">;
203
- readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
204
- readonly month: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
205
- readonly day: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
203
+ readonly quarter: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
204
+ readonly month: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
205
+ readonly day: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
206
206
  }, undefined>;
207
207
  }, undefined>;
208
208
  type SUtmLinkBuilderPartCampaignDateObject = v.InferOutput<typeof SUtmLinkBuilderPartCampaignDateObject>;
@@ -228,9 +228,9 @@ declare const SUtmLinkBuilderPartCampaignObject: v.ObjectSchema<{
228
228
  readonly format: v.PicklistSchema<readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"], "Please select a valid campaign date format.">;
229
229
  readonly value: v.ObjectSchema<{
230
230
  readonly year: v.NumberSchema<"Please provide a valid year.">;
231
- readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
232
- readonly month: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
233
- readonly day: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
231
+ readonly quarter: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
232
+ readonly month: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
233
+ readonly day: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
234
234
  }, undefined>;
235
235
  }, undefined>;
236
236
  }, undefined>;
@@ -245,9 +245,9 @@ declare const SUtmLinkBuilderPartCampaigns: v.SchemaWithPipe<readonly [v.ArraySc
245
245
  readonly format: v.PicklistSchema<readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"], "Please select a valid campaign date format.">;
246
246
  readonly value: v.ObjectSchema<{
247
247
  readonly year: v.NumberSchema<"Please provide a valid year.">;
248
- readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
249
- readonly month: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
250
- readonly day: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
248
+ readonly quarter: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
249
+ readonly month: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
250
+ readonly day: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
251
251
  }, undefined>;
252
252
  }, undefined>;
253
253
  }, undefined>, undefined>, v.MinLengthAction<{
@@ -259,9 +259,9 @@ declare const SUtmLinkBuilderPartCampaigns: v.SchemaWithPipe<readonly [v.ArraySc
259
259
  format: "no date" | "annually" | "quarterly" | "monthly" | "on a specific date";
260
260
  value: {
261
261
  year: number;
262
- quarter?: number | undefined;
263
- month?: number | undefined;
264
- day?: number | undefined;
262
+ quarter?: number | null | undefined;
263
+ month?: number | null | undefined;
264
+ day?: number | null | undefined;
265
265
  };
266
266
  };
267
267
  }[], 1, "Please provide at least one campaign.">, v.MaxLengthAction<{
@@ -273,9 +273,9 @@ declare const SUtmLinkBuilderPartCampaigns: v.SchemaWithPipe<readonly [v.ArraySc
273
273
  format: "no date" | "annually" | "quarterly" | "monthly" | "on a specific date";
274
274
  value: {
275
275
  year: number;
276
- quarter?: number | undefined;
277
- month?: number | undefined;
278
- day?: number | undefined;
276
+ quarter?: number | null | undefined;
277
+ month?: number | null | undefined;
278
+ day?: number | null | undefined;
279
279
  };
280
280
  };
281
281
  }[], 10, "You can provide up to 10 campaigns.">]>;
@@ -331,9 +331,9 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
331
331
  readonly format: v.PicklistSchema<readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"], "Please select a valid campaign date format.">;
332
332
  readonly value: v.ObjectSchema<{
333
333
  readonly year: v.NumberSchema<"Please provide a valid year.">;
334
- readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
335
- readonly month: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
336
- readonly day: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
334
+ readonly quarter: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
335
+ readonly month: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
336
+ readonly day: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
337
337
  }, undefined>;
338
338
  }, undefined>;
339
339
  }, undefined>, undefined>, v.MinLengthAction<{
@@ -345,9 +345,9 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
345
345
  format: "no date" | "annually" | "quarterly" | "monthly" | "on a specific date";
346
346
  value: {
347
347
  year: number;
348
- quarter?: number | undefined;
349
- month?: number | undefined;
350
- day?: number | undefined;
348
+ quarter?: number | null | undefined;
349
+ month?: number | null | undefined;
350
+ day?: number | null | undefined;
351
351
  };
352
352
  };
353
353
  }[], 1, "Please provide at least one campaign.">, v.MaxLengthAction<{
@@ -359,9 +359,9 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
359
359
  format: "no date" | "annually" | "quarterly" | "monthly" | "on a specific date";
360
360
  value: {
361
361
  year: number;
362
- quarter?: number | undefined;
363
- month?: number | undefined;
364
- day?: number | undefined;
362
+ quarter?: number | null | undefined;
363
+ month?: number | null | undefined;
364
+ day?: number | null | undefined;
365
365
  };
366
366
  };
367
367
  }[], 10, "You can provide up to 10 campaigns.">]>;
@@ -2113,8 +2113,8 @@ type SReadWebsiteDocumentByDocumentId = v.InferOutput<typeof SReadWebsiteDocumen
2113
2113
  declare const SUpdateAsCreatorWebsiteDocument: v.ObjectSchema<{
2114
2114
  readonly domain: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 3, "the domain is too short, it must be at least 3 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>;
2115
2115
  readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
2116
- readonly is_secure: v.BooleanSchema<"isSecure must be a boolean">;
2117
- readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
2116
+ readonly is_secure: v.OptionalSchema<v.BooleanSchema<"isSecure must be a boolean">, undefined>;
2117
+ readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
2118
2118
  }, undefined>;
2119
2119
  type SUpdateAsCreatorWebsiteDocument = v.InferOutput<typeof SUpdateAsCreatorWebsiteDocument>;
2120
2120
  declare const SUpdateAsCreatorWebsiteDocumentRequest: v.ObjectSchema<{
@@ -2122,8 +2122,8 @@ declare const SUpdateAsCreatorWebsiteDocumentRequest: v.ObjectSchema<{
2122
2122
  readonly data: v.ObjectSchema<{
2123
2123
  readonly domain: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 3, "the domain is too short, it must be at least 3 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>;
2124
2124
  readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
2125
- readonly is_secure: v.BooleanSchema<"isSecure must be a boolean">;
2126
- readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
2125
+ readonly is_secure: v.OptionalSchema<v.BooleanSchema<"isSecure must be a boolean">, undefined>;
2126
+ readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
2127
2127
  }, undefined>;
2128
2128
  }, undefined>;
2129
2129
  type SUpdateAsCreatorWebsiteDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorWebsiteDocumentRequest>;
@@ -2141,8 +2141,8 @@ type SUpdateAsInvitedWebsiteDocumentRequest = v.InferOutput<typeof SUpdateAsInvi
2141
2141
  declare const SUpdateWebsiteDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
2142
2142
  readonly domain: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 3, "the domain is too short, it must be at least 3 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>;
2143
2143
  readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
2144
- readonly is_secure: v.BooleanSchema<"isSecure must be a boolean">;
2145
- readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
2144
+ readonly is_secure: v.OptionalSchema<v.BooleanSchema<"isSecure must be a boolean">, undefined>;
2145
+ readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
2146
2146
  }, undefined>, v.ObjectSchema<{
2147
2147
  readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
2148
2148
  }, undefined>], undefined>;
package/dist/index.d.ts CHANGED
@@ -179,20 +179,20 @@ type SUtmLinkBuilderPartCampaignDateValueYearInput = v.InferInput<typeof SUtmLin
179
179
  declare const SUtmLinkBuilderPartCampaignDateValueYear: v.NumberSchema<"Please provide a valid year.">;
180
180
  type SUtmLinkBuilderPartCampaignDateValueYear = v.InferOutput<typeof SUtmLinkBuilderPartCampaignDateValueYear>;
181
181
  type SUtmLinkBuilderPartCampaignDateValueQuarterInput = v.InferInput<typeof SUtmLinkBuilderPartCampaignDateValueQuarter>;
182
- declare const SUtmLinkBuilderPartCampaignDateValueQuarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
182
+ declare const SUtmLinkBuilderPartCampaignDateValueQuarter: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
183
183
  type SUtmLinkBuilderPartCampaignDateValueQuarter = v.InferOutput<typeof SUtmLinkBuilderPartCampaignDateValueQuarter>;
184
184
  type SUtmLinkBuilderPartCampaignDateValueMonthInput = v.InferInput<typeof SUtmLinkBuilderPartCampaignDateValueMonth>;
185
- declare const SUtmLinkBuilderPartCampaignDateValueMonth: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
185
+ declare const SUtmLinkBuilderPartCampaignDateValueMonth: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
186
186
  type SUtmLinkBuilderPartCampaignDateValueMonth = v.InferOutput<typeof SUtmLinkBuilderPartCampaignDateValueMonth>;
187
187
  type SUtmLinkBuilderPartCampaignDateValueDayInput = v.InferInput<typeof SUtmLinkBuilderPartCampaignDateValueDay>;
188
- declare const SUtmLinkBuilderPartCampaignDateValueDay: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
188
+ declare const SUtmLinkBuilderPartCampaignDateValueDay: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
189
189
  type SUtmLinkBuilderPartCampaignDateValueDay = v.InferOutput<typeof SUtmLinkBuilderPartCampaignDateValueDay>;
190
190
  type SUtmLinkBuilderPartCampaignDateValueInput = v.InferInput<typeof SUtmLinkBuilderPartCampaignDateValue>;
191
191
  declare const SUtmLinkBuilderPartCampaignDateValue: v.ObjectSchema<{
192
192
  readonly year: v.NumberSchema<"Please provide a valid year.">;
193
- readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
194
- readonly month: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
195
- readonly day: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
193
+ readonly quarter: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
194
+ readonly month: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
195
+ readonly day: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
196
196
  }, undefined>;
197
197
  type SUtmLinkBuilderPartCampaignDateValue = v.InferOutput<typeof SUtmLinkBuilderPartCampaignDateValue>;
198
198
  type SUtmLinkBuilderPartCampaignDateObjectInput = v.InferInput<typeof SUtmLinkBuilderPartCampaignDateObject>;
@@ -200,9 +200,9 @@ declare const SUtmLinkBuilderPartCampaignDateObject: v.ObjectSchema<{
200
200
  readonly format: v.PicklistSchema<readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"], "Please select a valid campaign date format.">;
201
201
  readonly value: v.ObjectSchema<{
202
202
  readonly year: v.NumberSchema<"Please provide a valid year.">;
203
- readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
204
- readonly month: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
205
- readonly day: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
203
+ readonly quarter: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
204
+ readonly month: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
205
+ readonly day: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
206
206
  }, undefined>;
207
207
  }, undefined>;
208
208
  type SUtmLinkBuilderPartCampaignDateObject = v.InferOutput<typeof SUtmLinkBuilderPartCampaignDateObject>;
@@ -228,9 +228,9 @@ declare const SUtmLinkBuilderPartCampaignObject: v.ObjectSchema<{
228
228
  readonly format: v.PicklistSchema<readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"], "Please select a valid campaign date format.">;
229
229
  readonly value: v.ObjectSchema<{
230
230
  readonly year: v.NumberSchema<"Please provide a valid year.">;
231
- readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
232
- readonly month: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
233
- readonly day: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
231
+ readonly quarter: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
232
+ readonly month: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
233
+ readonly day: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
234
234
  }, undefined>;
235
235
  }, undefined>;
236
236
  }, undefined>;
@@ -245,9 +245,9 @@ declare const SUtmLinkBuilderPartCampaigns: v.SchemaWithPipe<readonly [v.ArraySc
245
245
  readonly format: v.PicklistSchema<readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"], "Please select a valid campaign date format.">;
246
246
  readonly value: v.ObjectSchema<{
247
247
  readonly year: v.NumberSchema<"Please provide a valid year.">;
248
- readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
249
- readonly month: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
250
- readonly day: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
248
+ readonly quarter: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
249
+ readonly month: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
250
+ readonly day: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
251
251
  }, undefined>;
252
252
  }, undefined>;
253
253
  }, undefined>, undefined>, v.MinLengthAction<{
@@ -259,9 +259,9 @@ declare const SUtmLinkBuilderPartCampaigns: v.SchemaWithPipe<readonly [v.ArraySc
259
259
  format: "no date" | "annually" | "quarterly" | "monthly" | "on a specific date";
260
260
  value: {
261
261
  year: number;
262
- quarter?: number | undefined;
263
- month?: number | undefined;
264
- day?: number | undefined;
262
+ quarter?: number | null | undefined;
263
+ month?: number | null | undefined;
264
+ day?: number | null | undefined;
265
265
  };
266
266
  };
267
267
  }[], 1, "Please provide at least one campaign.">, v.MaxLengthAction<{
@@ -273,9 +273,9 @@ declare const SUtmLinkBuilderPartCampaigns: v.SchemaWithPipe<readonly [v.ArraySc
273
273
  format: "no date" | "annually" | "quarterly" | "monthly" | "on a specific date";
274
274
  value: {
275
275
  year: number;
276
- quarter?: number | undefined;
277
- month?: number | undefined;
278
- day?: number | undefined;
276
+ quarter?: number | null | undefined;
277
+ month?: number | null | undefined;
278
+ day?: number | null | undefined;
279
279
  };
280
280
  };
281
281
  }[], 10, "You can provide up to 10 campaigns.">]>;
@@ -331,9 +331,9 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
331
331
  readonly format: v.PicklistSchema<readonly ["no date", "annually", "quarterly", "monthly", "on a specific date"], "Please select a valid campaign date format.">;
332
332
  readonly value: v.ObjectSchema<{
333
333
  readonly year: v.NumberSchema<"Please provide a valid year.">;
334
- readonly quarter: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
335
- readonly month: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
336
- readonly day: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
334
+ readonly quarter: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
335
+ readonly month: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
336
+ readonly day: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
337
337
  }, undefined>;
338
338
  }, undefined>;
339
339
  }, undefined>, undefined>, v.MinLengthAction<{
@@ -345,9 +345,9 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
345
345
  format: "no date" | "annually" | "quarterly" | "monthly" | "on a specific date";
346
346
  value: {
347
347
  year: number;
348
- quarter?: number | undefined;
349
- month?: number | undefined;
350
- day?: number | undefined;
348
+ quarter?: number | null | undefined;
349
+ month?: number | null | undefined;
350
+ day?: number | null | undefined;
351
351
  };
352
352
  };
353
353
  }[], 1, "Please provide at least one campaign.">, v.MaxLengthAction<{
@@ -359,9 +359,9 @@ declare const SUtmLinkBuilderTableForm: v.ObjectSchema<{
359
359
  format: "no date" | "annually" | "quarterly" | "monthly" | "on a specific date";
360
360
  value: {
361
361
  year: number;
362
- quarter?: number | undefined;
363
- month?: number | undefined;
364
- day?: number | undefined;
362
+ quarter?: number | null | undefined;
363
+ month?: number | null | undefined;
364
+ day?: number | null | undefined;
365
365
  };
366
366
  };
367
367
  }[], 10, "You can provide up to 10 campaigns.">]>;
@@ -2113,8 +2113,8 @@ type SReadWebsiteDocumentByDocumentId = v.InferOutput<typeof SReadWebsiteDocumen
2113
2113
  declare const SUpdateAsCreatorWebsiteDocument: v.ObjectSchema<{
2114
2114
  readonly domain: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 3, "the domain is too short, it must be at least 3 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>;
2115
2115
  readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
2116
- readonly is_secure: v.BooleanSchema<"isSecure must be a boolean">;
2117
- readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
2116
+ readonly is_secure: v.OptionalSchema<v.BooleanSchema<"isSecure must be a boolean">, undefined>;
2117
+ readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
2118
2118
  }, undefined>;
2119
2119
  type SUpdateAsCreatorWebsiteDocument = v.InferOutput<typeof SUpdateAsCreatorWebsiteDocument>;
2120
2120
  declare const SUpdateAsCreatorWebsiteDocumentRequest: v.ObjectSchema<{
@@ -2122,8 +2122,8 @@ declare const SUpdateAsCreatorWebsiteDocumentRequest: v.ObjectSchema<{
2122
2122
  readonly data: v.ObjectSchema<{
2123
2123
  readonly domain: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 3, "the domain is too short, it must be at least 3 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>;
2124
2124
  readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
2125
- readonly is_secure: v.BooleanSchema<"isSecure must be a boolean">;
2126
- readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
2125
+ readonly is_secure: v.OptionalSchema<v.BooleanSchema<"isSecure must be a boolean">, undefined>;
2126
+ readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
2127
2127
  }, undefined>;
2128
2128
  }, undefined>;
2129
2129
  type SUpdateAsCreatorWebsiteDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorWebsiteDocumentRequest>;
@@ -2141,8 +2141,8 @@ type SUpdateAsInvitedWebsiteDocumentRequest = v.InferOutput<typeof SUpdateAsInvi
2141
2141
  declare const SUpdateWebsiteDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
2142
2142
  readonly domain: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 3, "the domain is too short, it must be at least 3 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>;
2143
2143
  readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
2144
- readonly is_secure: v.BooleanSchema<"isSecure must be a boolean">;
2145
- readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
2144
+ readonly is_secure: v.OptionalSchema<v.BooleanSchema<"isSecure must be a boolean">, undefined>;
2145
+ readonly is_active: v.OptionalSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
2146
2146
  }, undefined>, v.ObjectSchema<{
2147
2147
  readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"the description must be a string">, v.TrimAction, v.MaxLengthAction<string, 1024, "the description is too long, it must be 1024 characters or less">]>, undefined>, undefined>;
2148
2148
  }, undefined>], undefined>;
package/dist/index.js CHANGED
@@ -1191,9 +1191,15 @@ var SUtmLinkBuilderPartCampaignDateFormat = v12.picklist(
1191
1191
  var SUtmLinkBuilderPartCampaignDateValueYear = v12.number(
1192
1192
  "Please provide a valid year."
1193
1193
  );
1194
- var SUtmLinkBuilderPartCampaignDateValueQuarter = v12.optional(v12.number());
1195
- var SUtmLinkBuilderPartCampaignDateValueMonth = v12.optional(v12.number());
1196
- var SUtmLinkBuilderPartCampaignDateValueDay = v12.optional(v12.number());
1194
+ var SUtmLinkBuilderPartCampaignDateValueQuarter = v12.optional(
1195
+ v12.nullable(v12.number())
1196
+ );
1197
+ var SUtmLinkBuilderPartCampaignDateValueMonth = v12.optional(
1198
+ v12.nullable(v12.number())
1199
+ );
1200
+ var SUtmLinkBuilderPartCampaignDateValueDay = v12.optional(
1201
+ v12.nullable(v12.number())
1202
+ );
1197
1203
  var SUtmLinkBuilderPartCampaignDateValue = v12.object({
1198
1204
  year: SUtmLinkBuilderPartCampaignDateValueYear,
1199
1205
  quarter: SUtmLinkBuilderPartCampaignDateValueQuarter,
@@ -2559,8 +2565,8 @@ var SReadWebsiteDocumentByDocumentId = v12.object({
2559
2565
  var SUpdateAsCreatorWebsiteDocument = v12.object({
2560
2566
  domain: IsValidOrUndefinedUrlDomain,
2561
2567
  description: IsValidOrUndefinedDescription,
2562
- is_secure: IsValidIsSecure,
2563
- is_active: IsValidIsActive
2568
+ is_secure: IsValidOrUndefinedIsSecure,
2569
+ is_active: IsValidOrUndefinedIsActive
2564
2570
  });
2565
2571
  var SUpdateAsCreatorWebsiteDocumentRequest = v12.object({
2566
2572
  documentId: IsValidReferenceDocumentId,