@joeygrable94/utm-src-pub-validators 0.0.17 → 0.0.18

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
@@ -159,19 +159,38 @@ declare const IsValidUrlUtmId: v.SchemaWithPipe<readonly [v.StringSchema<undefin
159
159
  declare const IsValidOrUndefinedUrlUtmId: 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>;
160
160
 
161
161
  declare const SCreateCampaignIdDocument: v.ObjectSchema<{
162
+ readonly cost: v.SchemaWithPipe<readonly [v.NumberSchema<"please enter a cost value">, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000000, "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions">]>;
162
163
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
163
164
  readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
164
165
  readonly description: 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>;
165
166
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
166
- readonly cost: v.SchemaWithPipe<readonly [v.NumberSchema<"please enter a cost value">, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000000, "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions">]>;
167
167
  }, undefined>;
168
168
  type SCreateCampaignIdDocument = v.InferOutput<typeof SCreateCampaignIdDocument>;
169
+ declare const SCreateCampaignIdDocumentRequest: v.ObjectSchema<{
170
+ readonly documentId: v.StringSchema<undefined>;
171
+ readonly data: v.ObjectSchema<{
172
+ readonly cost: v.SchemaWithPipe<readonly [v.NumberSchema<"please enter a cost value">, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000000, "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions">]>;
173
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
174
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
175
+ readonly description: 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>;
176
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
177
+ }, undefined>;
178
+ }, undefined>;
179
+ type SCreateCampaignIdDocumentRequest = v.InferOutput<typeof SCreateCampaignIdDocumentRequest>;
180
+ declare const SReadCampaignIdDocumentById: v.ObjectSchema<{
181
+ readonly id: v.NumberSchema<undefined>;
182
+ }, undefined>;
183
+ type SReadCampaignIdDocumentById = v.InferOutput<typeof SReadCampaignIdDocumentById>;
184
+ declare const SReadCampaignIdDocumentByDocumentId: v.ObjectSchema<{
185
+ readonly documentId: v.StringSchema<undefined>;
186
+ }, undefined>;
187
+ type SReadCampaignIdDocumentByDocumentId = v.InferOutput<typeof SReadCampaignIdDocumentByDocumentId>;
169
188
  declare const SUpdateAsCreatorCampaignIdDocument: v.ObjectSchema<{
189
+ readonly cost: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<"please enter a cost value">, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000000, "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions">]>, undefined>;
170
190
  readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
171
191
  readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
172
192
  readonly description: 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>;
173
193
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
174
- readonly cost: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<"please enter a cost value">, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000000, "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions">]>, undefined>;
175
194
  }, undefined>;
176
195
  type SUpdateAsCreatorCampaignIdDocument = v.InferOutput<typeof SUpdateAsCreatorCampaignIdDocument>;
177
196
  declare const SUpdateAsInvitedCampaignIdDocument: v.ObjectSchema<{
@@ -180,6 +199,21 @@ declare const SUpdateAsInvitedCampaignIdDocument: v.ObjectSchema<{
180
199
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
181
200
  }, undefined>;
182
201
  type SUpdateAsInvitedCampaignIdDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignIdDocument>;
202
+ declare const SUpdateCampaignIdDocumentRequest: v.ObjectSchema<{
203
+ readonly documentId: v.StringSchema<undefined>;
204
+ readonly data: v.ObjectSchema<{
205
+ readonly cost: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<"please enter a cost value">, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000000, "your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions">]>, undefined>;
206
+ readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
207
+ readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
208
+ readonly description: 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>;
209
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
210
+ }, undefined>;
211
+ }, undefined>;
212
+ type SUpdateCampaignIdDocumentRequest = v.InferOutput<typeof SUpdateCampaignIdDocumentRequest>;
213
+ declare const SDeleteCampaignIdDocument: v.ObjectSchema<{
214
+ readonly documentId: v.StringSchema<undefined>;
215
+ }, undefined>;
216
+ type SDeleteCampaignIdDocument = v.InferOutput<typeof SDeleteCampaignIdDocument>;
183
217
 
184
218
  declare const SCreateCampaignKeyDocument: v.ObjectSchema<{
185
219
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
@@ -188,6 +222,24 @@ declare const SCreateCampaignKeyDocument: v.ObjectSchema<{
188
222
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
189
223
  }, undefined>;
190
224
  type SCreateCampaignKeyDocument = v.InferOutput<typeof SCreateCampaignKeyDocument>;
225
+ declare const SCreateCampaignKeyDocumentRequest: v.ObjectSchema<{
226
+ readonly documentId: v.StringSchema<undefined>;
227
+ readonly data: v.ObjectSchema<{
228
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
229
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
230
+ readonly description: 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>;
231
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
232
+ }, undefined>;
233
+ }, undefined>;
234
+ type SCreateCampaignKeyDocumentRequest = v.InferOutput<typeof SCreateCampaignKeyDocumentRequest>;
235
+ declare const SReadCampaignKeyDocumentById: v.ObjectSchema<{
236
+ readonly id: v.NumberSchema<undefined>;
237
+ }, undefined>;
238
+ type SReadCampaignKeyDocumentById = v.InferOutput<typeof SReadCampaignKeyDocumentById>;
239
+ declare const SReadCampaignKeyDocumentByDocumentId: v.ObjectSchema<{
240
+ readonly documentId: v.StringSchema<undefined>;
241
+ }, undefined>;
242
+ type SReadCampaignKeyDocumentByDocumentId = v.InferOutput<typeof SReadCampaignKeyDocumentByDocumentId>;
191
243
  declare const SUpdateAsCreatorCampaignKeyDocument: v.ObjectSchema<{
192
244
  readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
193
245
  readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
@@ -201,6 +253,20 @@ declare const SUpdateAsInvitedCampaignKeyDocument: v.ObjectSchema<{
201
253
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
202
254
  }, undefined>;
203
255
  type SUpdateAsInvitedCampaignKeyDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignKeyDocument>;
256
+ declare const SUpdateCampaignKeyDocumentRequest: v.ObjectSchema<{
257
+ readonly documentId: v.StringSchema<undefined>;
258
+ readonly data: v.ObjectSchema<{
259
+ readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
260
+ readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
261
+ readonly description: v.UndefinedableSchema<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>;
262
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
263
+ }, undefined>;
264
+ }, undefined>;
265
+ type SUpdateCampaignKeyDocumentRequest = v.InferOutput<typeof SUpdateCampaignKeyDocumentRequest>;
266
+ declare const SDeleteCampaignKeyDocument: v.ObjectSchema<{
267
+ readonly documentId: v.StringSchema<undefined>;
268
+ }, undefined>;
269
+ type SDeleteCampaignKeyDocument = v.InferOutput<typeof SDeleteCampaignKeyDocument>;
204
270
 
205
271
  declare const SCreateCampaignPhaseDocument: v.ObjectSchema<{
206
272
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
@@ -209,6 +275,24 @@ declare const SCreateCampaignPhaseDocument: v.ObjectSchema<{
209
275
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
210
276
  }, undefined>;
211
277
  type SCreateCampaignPhaseDocument = v.InferOutput<typeof SCreateCampaignPhaseDocument>;
278
+ declare const SCreateCampaignPhaseDocumentRequest: v.ObjectSchema<{
279
+ readonly documentId: v.StringSchema<undefined>;
280
+ readonly data: v.ObjectSchema<{
281
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
282
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
283
+ readonly description: 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>;
284
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
285
+ }, undefined>;
286
+ }, undefined>;
287
+ type SCreateCampaignPhaseDocumentRequest = v.InferOutput<typeof SCreateCampaignPhaseDocumentRequest>;
288
+ declare const SReadCampaignPhaseDocumentById: v.ObjectSchema<{
289
+ readonly id: v.NumberSchema<undefined>;
290
+ }, undefined>;
291
+ type SReadCampaignPhaseDocumentById = v.InferOutput<typeof SReadCampaignPhaseDocumentById>;
292
+ declare const SReadCampaignPhaseDocumentByDocumentId: v.ObjectSchema<{
293
+ readonly documentId: v.StringSchema<undefined>;
294
+ }, undefined>;
295
+ type SReadCampaignPhaseDocumentByDocumentId = v.InferOutput<typeof SReadCampaignPhaseDocumentByDocumentId>;
212
296
  declare const SUpdateAsCreatorCampaignPhaseDocument: v.ObjectSchema<{
213
297
  readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
214
298
  readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
@@ -222,6 +306,20 @@ declare const SUpdateAsInvitedCampaignPhaseDocument: v.ObjectSchema<{
222
306
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
223
307
  }, undefined>;
224
308
  type SUpdateAsInvitedCampaignPhaseDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignPhaseDocument>;
309
+ declare const SUpdateCampaignPhaseDocumentRequest: v.ObjectSchema<{
310
+ readonly documentId: v.StringSchema<undefined>;
311
+ readonly data: v.ObjectSchema<{
312
+ readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
313
+ readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
314
+ readonly description: v.UndefinedableSchema<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>;
315
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
316
+ }, undefined>;
317
+ }, undefined>;
318
+ type SUpdateCampaignPhaseDocumentRequest = v.InferOutput<typeof SUpdateCampaignPhaseDocumentRequest>;
319
+ declare const SDeleteCampaignPhaseDocument: v.ObjectSchema<{
320
+ readonly documentId: v.StringSchema<undefined>;
321
+ }, undefined>;
322
+ type SDeleteCampaignPhaseDocument = v.InferOutput<typeof SDeleteCampaignPhaseDocument>;
225
323
 
226
324
  declare const SCreateCampaignProductDocument: v.ObjectSchema<{
227
325
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
@@ -230,6 +328,24 @@ declare const SCreateCampaignProductDocument: v.ObjectSchema<{
230
328
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
231
329
  }, undefined>;
232
330
  type SCreateCampaignProductDocument = v.InferOutput<typeof SCreateCampaignProductDocument>;
331
+ declare const SCreateCampaignProductDocumentRequest: v.ObjectSchema<{
332
+ readonly documentId: v.StringSchema<undefined>;
333
+ readonly data: v.ObjectSchema<{
334
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
335
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
336
+ readonly description: 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>;
337
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
338
+ }, undefined>;
339
+ }, undefined>;
340
+ type SCreateCampaignProductDocumentRequest = v.InferOutput<typeof SCreateCampaignProductDocumentRequest>;
341
+ declare const SReadCampaignProductDocumentById: v.ObjectSchema<{
342
+ readonly id: v.NumberSchema<undefined>;
343
+ }, undefined>;
344
+ type SReadCampaignProductDocumentById = v.InferOutput<typeof SReadCampaignProductDocumentById>;
345
+ declare const SReadCampaignProductDocumentByDocumentId: v.ObjectSchema<{
346
+ readonly documentId: v.StringSchema<undefined>;
347
+ }, undefined>;
348
+ type SReadCampaignProductDocumentByDocumentId = v.InferOutput<typeof SReadCampaignProductDocumentByDocumentId>;
233
349
  declare const SUpdateAsCreatorCampaignProductDocument: v.ObjectSchema<{
234
350
  readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
235
351
  readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
@@ -243,6 +359,20 @@ declare const SUpdateAsInvitedCampaignProductDocument: v.ObjectSchema<{
243
359
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
244
360
  }, undefined>;
245
361
  type SUpdateAsInvitedCampaignProductDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignProductDocument>;
362
+ declare const SUpdateCampaignProductDocumentRequest: v.ObjectSchema<{
363
+ readonly documentId: v.StringSchema<undefined>;
364
+ readonly data: v.ObjectSchema<{
365
+ readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
366
+ readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
367
+ readonly description: v.UndefinedableSchema<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>;
368
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
369
+ }, undefined>;
370
+ }, undefined>;
371
+ type SUpdateCampaignProductDocumentRequest = v.InferOutput<typeof SUpdateCampaignProductDocumentRequest>;
372
+ declare const SDeleteCampaignProductDocument: v.ObjectSchema<{
373
+ readonly documentId: v.StringSchema<undefined>;
374
+ }, undefined>;
375
+ type SDeleteCampaignProductDocument = v.InferOutput<typeof SDeleteCampaignProductDocument>;
246
376
 
247
377
  declare const SCreateContentDocument: v.ObjectSchema<{
248
378
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
@@ -251,6 +381,24 @@ declare const SCreateContentDocument: v.ObjectSchema<{
251
381
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
252
382
  }, undefined>;
253
383
  type SCreateContentDocument = v.InferOutput<typeof SCreateContentDocument>;
384
+ declare const SCreateContentDocumentRequest: v.ObjectSchema<{
385
+ readonly documentId: v.StringSchema<undefined>;
386
+ readonly data: v.ObjectSchema<{
387
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
388
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
389
+ readonly description: 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>;
390
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
391
+ }, undefined>;
392
+ }, undefined>;
393
+ type SCreateContentDocumentRequest = v.InferOutput<typeof SCreateContentDocumentRequest>;
394
+ declare const SReadContentDocumentById: v.ObjectSchema<{
395
+ readonly id: v.NumberSchema<undefined>;
396
+ }, undefined>;
397
+ type SReadContentDocumentById = v.InferOutput<typeof SReadContentDocumentById>;
398
+ declare const SReadContentDocumentByDocumentId: v.ObjectSchema<{
399
+ readonly documentId: v.StringSchema<undefined>;
400
+ }, undefined>;
401
+ type SReadContentDocumentByDocumentId = v.InferOutput<typeof SReadContentDocumentByDocumentId>;
254
402
  declare const SUpdateAsCreatorContentDocument: v.ObjectSchema<{
255
403
  readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
256
404
  readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
@@ -264,6 +412,20 @@ declare const SUpdateAsInvitedContentDocument: v.ObjectSchema<{
264
412
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
265
413
  }, undefined>;
266
414
  type SUpdateAsInvitedContentDocument = v.InferOutput<typeof SUpdateAsInvitedContentDocument>;
415
+ declare const SUpdateContentDocumentRequest: v.ObjectSchema<{
416
+ readonly documentId: v.StringSchema<undefined>;
417
+ readonly data: v.ObjectSchema<{
418
+ readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
419
+ readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
420
+ readonly description: v.UndefinedableSchema<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>;
421
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
422
+ }, undefined>;
423
+ }, undefined>;
424
+ type SUpdateContentDocumentRequest = v.InferOutput<typeof SUpdateContentDocumentRequest>;
425
+ declare const SDeleteContentDocument: v.ObjectSchema<{
426
+ readonly documentId: v.StringSchema<undefined>;
427
+ }, undefined>;
428
+ type SDeleteContentDocument = v.InferOutput<typeof SDeleteContentDocument>;
267
429
 
268
430
  declare const SCreateCreativeFormatVariantDocument: v.ObjectSchema<{
269
431
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
@@ -272,6 +434,24 @@ declare const SCreateCreativeFormatVariantDocument: v.ObjectSchema<{
272
434
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
273
435
  }, undefined>;
274
436
  type SCreateCreativeFormatVariantDocument = v.InferOutput<typeof SCreateCreativeFormatVariantDocument>;
437
+ declare const SCreateCreativeFormatVariantDocumentRequest: v.ObjectSchema<{
438
+ readonly documentId: v.StringSchema<undefined>;
439
+ readonly data: v.ObjectSchema<{
440
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
441
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
442
+ readonly description: 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>;
443
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
444
+ }, undefined>;
445
+ }, undefined>;
446
+ type SCreateCreativeFormatVariantDocumentRequest = v.InferOutput<typeof SCreateCreativeFormatVariantDocumentRequest>;
447
+ declare const SReadCreativeFormatVariantDocumentById: v.ObjectSchema<{
448
+ readonly id: v.NumberSchema<undefined>;
449
+ }, undefined>;
450
+ type SReadCreativeFormatVariantDocumentById = v.InferOutput<typeof SReadCreativeFormatVariantDocumentById>;
451
+ declare const SReadCreativeFormatVariantDocumentByDocumentId: v.ObjectSchema<{
452
+ readonly documentId: v.StringSchema<undefined>;
453
+ }, undefined>;
454
+ type SReadCreativeFormatVariantDocumentByDocumentId = v.InferOutput<typeof SReadCreativeFormatVariantDocumentByDocumentId>;
275
455
  declare const SUpdateAsCreatorCreativeFormatVariantDocument: v.ObjectSchema<{
276
456
  readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
277
457
  readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
@@ -285,6 +465,20 @@ declare const SUpdateAsInvitedCreativeFormatVariantDocument: v.ObjectSchema<{
285
465
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
286
466
  }, undefined>;
287
467
  type SUpdateAsInvitedCreativeFormatVariantDocument = v.InferOutput<typeof SUpdateAsInvitedCreativeFormatVariantDocument>;
468
+ declare const SUpdateCreativeFormatVariantDocumentRequest: v.ObjectSchema<{
469
+ readonly documentId: v.StringSchema<undefined>;
470
+ readonly data: v.ObjectSchema<{
471
+ readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
472
+ readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
473
+ readonly description: v.UndefinedableSchema<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>;
474
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
475
+ }, undefined>;
476
+ }, undefined>;
477
+ type SUpdateCreativeFormatVariantDocumentRequest = v.InferOutput<typeof SUpdateCreativeFormatVariantDocumentRequest>;
478
+ declare const SDeleteCreativeFormatVariantDocument: v.ObjectSchema<{
479
+ readonly documentId: v.StringSchema<undefined>;
480
+ }, undefined>;
481
+ type SDeleteCreativeFormatVariantDocument = v.InferOutput<typeof SDeleteCreativeFormatVariantDocument>;
288
482
 
289
483
  declare const SCreateCreativeFormatDocument: v.ObjectSchema<{
290
484
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
@@ -293,6 +487,24 @@ declare const SCreateCreativeFormatDocument: v.ObjectSchema<{
293
487
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
294
488
  }, undefined>;
295
489
  type SCreateCreativeFormatDocument = v.InferOutput<typeof SCreateCreativeFormatDocument>;
490
+ declare const SCreateCreativeFormatDocumentRequest: v.ObjectSchema<{
491
+ readonly documentId: v.StringSchema<undefined>;
492
+ readonly data: v.ObjectSchema<{
493
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
494
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
495
+ readonly description: 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>;
496
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
497
+ }, undefined>;
498
+ }, undefined>;
499
+ type SCreateCreativeFormatDocumentRequest = v.InferOutput<typeof SCreateCreativeFormatDocumentRequest>;
500
+ declare const SReadCreativeFormatDocumentById: v.ObjectSchema<{
501
+ readonly id: v.NumberSchema<undefined>;
502
+ }, undefined>;
503
+ type SReadCreativeFormatDocumentById = v.InferOutput<typeof SReadCreativeFormatDocumentById>;
504
+ declare const SReadCreativeFormatDocumentByDocumentId: v.ObjectSchema<{
505
+ readonly documentId: v.StringSchema<undefined>;
506
+ }, undefined>;
507
+ type SReadCreativeFormatDocumentByDocumentId = v.InferOutput<typeof SReadCreativeFormatDocumentByDocumentId>;
296
508
  declare const SUpdateAsCreatorCreativeFormatDocument: v.ObjectSchema<{
297
509
  readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
298
510
  readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
@@ -306,6 +518,63 @@ declare const SUpdateAsInvitedCreativeFormatDocument: v.ObjectSchema<{
306
518
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
307
519
  }, undefined>;
308
520
  type SUpdateAsInvitedCreativeFormatDocument = v.InferOutput<typeof SUpdateAsInvitedCreativeFormatDocument>;
521
+ declare const SUpdateCreativeFormatDocumentRequest: v.ObjectSchema<{
522
+ readonly documentId: v.StringSchema<undefined>;
523
+ readonly data: v.ObjectSchema<{
524
+ readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
525
+ readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
526
+ readonly description: v.UndefinedableSchema<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>;
527
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
528
+ }, undefined>;
529
+ }, undefined>;
530
+ type SUpdateCreativeFormatDocumentRequest = v.InferOutput<typeof SUpdateCreativeFormatDocumentRequest>;
531
+ declare const SDeleteCreativeFormatDocument: v.ObjectSchema<{
532
+ readonly documentId: v.StringSchema<undefined>;
533
+ }, undefined>;
534
+ type SDeleteCreativeFormatDocument = v.InferOutput<typeof SDeleteCreativeFormatDocument>;
535
+
536
+ declare const SCreateGroupUserDocument: v.ObjectSchema<{
537
+ readonly group: v.StringSchema<"please provide a valid document id">;
538
+ readonly user: v.StringSchema<"please provide a valid document id">;
539
+ readonly scopes: v.ArraySchema<v.StringSchema<"please provide a valid scope">, "please provide an array of scopes">;
540
+ }, undefined>;
541
+ type SCreateGroupUserDocument = v.InferOutput<typeof SCreateGroupUserDocument>;
542
+ declare const SCreateGroupUserDocumentRequest: v.ObjectSchema<{
543
+ readonly documentId: v.StringSchema<undefined>;
544
+ readonly data: v.ObjectSchema<{
545
+ readonly group: v.StringSchema<"please provide a valid document id">;
546
+ readonly user: v.StringSchema<"please provide a valid document id">;
547
+ readonly scopes: v.ArraySchema<v.StringSchema<"please provide a valid scope">, "please provide an array of scopes">;
548
+ }, undefined>;
549
+ }, undefined>;
550
+ type SCreateGroupUserDocumentRequest = v.InferOutput<typeof SCreateGroupUserDocumentRequest>;
551
+ declare const SReadGroupUserDocumentById: v.ObjectSchema<{
552
+ readonly id: v.NumberSchema<undefined>;
553
+ }, undefined>;
554
+ type SReadGroupUserDocumentById = v.InferOutput<typeof SReadGroupUserDocumentById>;
555
+ declare const SReadGroupUserDocumentByDocumentId: v.ObjectSchema<{
556
+ readonly documentId: v.StringSchema<undefined>;
557
+ }, undefined>;
558
+ type SReadGroupUserDocumentByDocumentId = v.InferOutput<typeof SReadGroupUserDocumentByDocumentId>;
559
+ declare const SUpdateGroupUserDocument: v.ObjectSchema<{
560
+ readonly group: v.StringSchema<"please provide a valid document id">;
561
+ readonly user: v.StringSchema<"please provide a valid document id">;
562
+ readonly scopes: v.ArraySchema<v.StringSchema<"please provide a valid scope">, "please provide an array of scopes">;
563
+ }, undefined>;
564
+ type SUpdateGroupUserDocument = v.InferOutput<typeof SUpdateGroupUserDocument>;
565
+ declare const SUpdateGroupUserDocumentRequest: v.ObjectSchema<{
566
+ readonly documentId: v.StringSchema<undefined>;
567
+ readonly data: v.ObjectSchema<{
568
+ readonly group: v.StringSchema<"please provide a valid document id">;
569
+ readonly user: v.StringSchema<"please provide a valid document id">;
570
+ readonly scopes: v.ArraySchema<v.StringSchema<"please provide a valid scope">, "please provide an array of scopes">;
571
+ }, undefined>;
572
+ }, undefined>;
573
+ type SUpdateGroupUserDocumentRequest = v.InferOutput<typeof SUpdateGroupUserDocumentRequest>;
574
+ declare const SDeleteGroupUserDocument: v.ObjectSchema<{
575
+ readonly documentId: v.StringSchema<undefined>;
576
+ }, undefined>;
577
+ type SDeleteGroupUserDocument = v.InferOutput<typeof SDeleteGroupUserDocument>;
309
578
 
310
579
  declare const SCreateGroupDocument: v.ObjectSchema<{
311
580
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
@@ -316,6 +585,14 @@ declare const SCreateGroupDocument: v.ObjectSchema<{
316
585
  readonly apply_value_as: v.PicklistSchema<["prefix", "suffix"], undefined>;
317
586
  }, undefined>;
318
587
  type SCreateGroupDocument = v.InferOutput<typeof SCreateGroupDocument>;
588
+ declare const SReadGroupDocumentById: v.ObjectSchema<{
589
+ readonly id: v.NumberSchema<undefined>;
590
+ }, undefined>;
591
+ type SReadGroupDocumentById = v.InferOutput<typeof SReadGroupDocumentById>;
592
+ declare const SReadGroupDocumentByDocumentId: v.ObjectSchema<{
593
+ readonly documentId: v.StringSchema<undefined>;
594
+ }, undefined>;
595
+ type SReadGroupDocumentByDocumentId = v.InferOutput<typeof SReadGroupDocumentByDocumentId>;
319
596
  declare const SUpdateAsCreatorGroupDocument: v.ObjectSchema<{
320
597
  readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
321
598
  readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
@@ -330,19 +607,22 @@ declare const SUpdateAsInvitedGroupDocument: v.ObjectSchema<{
330
607
  readonly description: v.UndefinedableSchema<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>;
331
608
  }, undefined>;
332
609
  type SUpdateAsInvitedGroupDocument = v.InferOutput<typeof SUpdateAsInvitedGroupDocument>;
333
-
334
- declare const SCreateGroupUserDocument: v.ObjectSchema<{
335
- readonly group: v.StringSchema<"please provide a valid document id">;
336
- readonly user: v.StringSchema<"please provide a valid document id">;
337
- readonly scopes: v.ArraySchema<v.StringSchema<"please provide a valid scope">, "please provide an array of scopes">;
610
+ declare const SUpdateGroupDocumentRequest: v.ObjectSchema<{
611
+ readonly documentId: v.StringSchema<undefined>;
612
+ readonly data: v.ObjectSchema<{
613
+ readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
614
+ readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
615
+ readonly description: v.UndefinedableSchema<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>;
616
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
617
+ readonly apply_value_to: v.UndefinedableSchema<v.PicklistSchema<["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>, undefined>;
618
+ readonly apply_value_as: v.UndefinedableSchema<v.PicklistSchema<["prefix", "suffix"], undefined>, undefined>;
619
+ }, undefined>;
338
620
  }, undefined>;
339
- type SCreateGroupUserDocument = v.InferOutput<typeof SCreateGroupUserDocument>;
340
- declare const SUpdateGroupUserDocument: v.ObjectSchema<{
341
- readonly group: v.StringSchema<"please provide a valid document id">;
342
- readonly user: v.StringSchema<"please provide a valid document id">;
343
- readonly scopes: v.ArraySchema<v.StringSchema<"please provide a valid scope">, "please provide an array of scopes">;
621
+ type SUpdateGroupDocumentRequest = v.InferOutput<typeof SUpdateGroupDocumentRequest>;
622
+ declare const SDeleteGroupDocument: v.ObjectSchema<{
623
+ readonly documentId: v.StringSchema<undefined>;
344
624
  }, undefined>;
345
- type SUpdateGroupUserDocument = v.InferOutput<typeof SUpdateGroupUserDocument>;
625
+ type SDeleteGroupDocument = v.InferOutput<typeof SDeleteGroupDocument>;
346
626
 
347
627
  declare const SCreateMediumDocument: v.ObjectSchema<{
348
628
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
@@ -351,6 +631,24 @@ declare const SCreateMediumDocument: v.ObjectSchema<{
351
631
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
352
632
  }, undefined>;
353
633
  type SCreateMediumDocument = v.InferOutput<typeof SCreateMediumDocument>;
634
+ declare const SCreateMediumDocumentRequest: v.ObjectSchema<{
635
+ readonly documentId: v.StringSchema<undefined>;
636
+ readonly data: v.ObjectSchema<{
637
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
638
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
639
+ readonly description: 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>;
640
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
641
+ }, undefined>;
642
+ }, undefined>;
643
+ type SCreateMediumDocumentRequest = v.InferOutput<typeof SCreateMediumDocumentRequest>;
644
+ declare const SReadMediumDocumentById: v.ObjectSchema<{
645
+ readonly id: v.NumberSchema<undefined>;
646
+ }, undefined>;
647
+ type SReadMediumDocumentById = v.InferOutput<typeof SReadMediumDocumentById>;
648
+ declare const SReadMediumDocumentByDocumentId: v.ObjectSchema<{
649
+ readonly documentId: v.StringSchema<undefined>;
650
+ }, undefined>;
651
+ type SReadMediumDocumentByDocumentId = v.InferOutput<typeof SReadMediumDocumentByDocumentId>;
354
652
  declare const SUpdateAsCreatorMediumDocument: v.ObjectSchema<{
355
653
  readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
356
654
  readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
@@ -364,6 +662,20 @@ declare const SUpdateAsInvitedMediumDocument: v.ObjectSchema<{
364
662
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
365
663
  }, undefined>;
366
664
  type SUpdateAsInvitedMediumDocument = v.InferOutput<typeof SUpdateAsInvitedMediumDocument>;
665
+ declare const SUpdateMediumDocumentRequest: v.ObjectSchema<{
666
+ readonly documentId: v.StringSchema<undefined>;
667
+ readonly data: v.ObjectSchema<{
668
+ readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
669
+ readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
670
+ readonly description: v.UndefinedableSchema<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>;
671
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
672
+ }, undefined>;
673
+ }, undefined>;
674
+ type SUpdateMediumDocumentRequest = v.InferOutput<typeof SUpdateMediumDocumentRequest>;
675
+ declare const SDeleteMediumDocument: v.ObjectSchema<{
676
+ readonly documentId: v.StringSchema<undefined>;
677
+ }, undefined>;
678
+ type SDeleteMediumDocument = v.InferOutput<typeof SDeleteMediumDocument>;
367
679
 
368
680
  declare const SCreateSourceDocument: v.ObjectSchema<{
369
681
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
@@ -372,6 +684,24 @@ declare const SCreateSourceDocument: v.ObjectSchema<{
372
684
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
373
685
  }, undefined>;
374
686
  type SCreateSourceDocument = v.InferOutput<typeof SCreateSourceDocument>;
687
+ declare const SCreateSourceDocumentRequest: v.ObjectSchema<{
688
+ readonly documentId: v.StringSchema<undefined>;
689
+ readonly data: v.ObjectSchema<{
690
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
691
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
692
+ readonly description: 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>;
693
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
694
+ }, undefined>;
695
+ }, undefined>;
696
+ type SCreateSourceDocumentRequest = v.InferOutput<typeof SCreateSourceDocumentRequest>;
697
+ declare const SReadSourceDocumentById: v.ObjectSchema<{
698
+ readonly id: v.NumberSchema<undefined>;
699
+ }, undefined>;
700
+ type SReadSourceDocumentById = v.InferOutput<typeof SReadSourceDocumentById>;
701
+ declare const SReadSourceDocumentByDocumentId: v.ObjectSchema<{
702
+ readonly documentId: v.StringSchema<undefined>;
703
+ }, undefined>;
704
+ type SReadSourceDocumentByDocumentId = v.InferOutput<typeof SReadSourceDocumentByDocumentId>;
375
705
  declare const SUpdateAsCreatorSourceDocument: v.ObjectSchema<{
376
706
  readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
377
707
  readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
@@ -385,6 +715,20 @@ declare const SUpdateAsInvitedSourceDocument: v.ObjectSchema<{
385
715
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
386
716
  }, undefined>;
387
717
  type SUpdateAsInvitedSourceDocument = v.InferOutput<typeof SUpdateAsInvitedSourceDocument>;
718
+ declare const SUpdateSourceDocumentRequest: v.ObjectSchema<{
719
+ readonly documentId: v.StringSchema<undefined>;
720
+ readonly data: v.ObjectSchema<{
721
+ readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
722
+ readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
723
+ readonly description: v.UndefinedableSchema<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>;
724
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
725
+ }, undefined>;
726
+ }, undefined>;
727
+ type SUpdateSourceDocumentRequest = v.InferOutput<typeof SUpdateSourceDocumentRequest>;
728
+ declare const SDeleteSourceDocument: v.ObjectSchema<{
729
+ readonly documentId: v.StringSchema<undefined>;
730
+ }, undefined>;
731
+ type SDeleteSourceDocument = v.InferOutput<typeof SDeleteSourceDocument>;
388
732
 
389
733
  type SubscriptionStatusValue = "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid" | "paused";
390
734
  declare const SStripeCheckoutLineItem: v.ObjectSchema<{
@@ -416,6 +760,24 @@ declare const SCreateTermDocument: v.ObjectSchema<{
416
760
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
417
761
  }, undefined>;
418
762
  type SCreateTermDocument = v.InferOutput<typeof SCreateTermDocument>;
763
+ declare const SCreateTermDocumentRequest: v.ObjectSchema<{
764
+ readonly documentId: v.StringSchema<undefined>;
765
+ readonly data: v.ObjectSchema<{
766
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>;
767
+ readonly value: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>;
768
+ readonly description: 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>;
769
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
770
+ }, undefined>;
771
+ }, undefined>;
772
+ type SCreateTermDocumentRequest = v.InferOutput<typeof SCreateTermDocumentRequest>;
773
+ declare const SReadTermDocumentById: v.ObjectSchema<{
774
+ readonly id: v.NumberSchema<undefined>;
775
+ }, undefined>;
776
+ type SReadTermDocumentById = v.InferOutput<typeof SReadTermDocumentById>;
777
+ declare const SReadTermDocumentByDocumentId: v.ObjectSchema<{
778
+ readonly documentId: v.StringSchema<undefined>;
779
+ }, undefined>;
780
+ type SReadTermDocumentByDocumentId = v.InferOutput<typeof SReadTermDocumentByDocumentId>;
419
781
  declare const SUpdateAsCreatorTermDocument: v.ObjectSchema<{
420
782
  readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
421
783
  readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
@@ -429,25 +791,20 @@ declare const SUpdateAsInvitedTermDocument: v.ObjectSchema<{
429
791
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
430
792
  }, undefined>;
431
793
  type SUpdateAsInvitedTermDocument = v.InferOutput<typeof SUpdateAsInvitedTermDocument>;
432
-
433
- declare const SCreateWebsiteDocument: v.ObjectSchema<{
434
- readonly domain: 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">]>;
435
- readonly description: v.UndefinedableSchema<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>;
436
- readonly is_secure: v.BooleanSchema<"isSecure must be a boolean">;
437
- readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
794
+ declare const SUpdateTermDocumentRequest: v.ObjectSchema<{
795
+ readonly documentId: v.StringSchema<undefined>;
796
+ readonly data: v.ObjectSchema<{
797
+ readonly label: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a label">, v.TrimAction, v.MinLengthAction<string, 1, "the label is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the label is too long, it must be 255 characters or less">]>, undefined>;
798
+ readonly value: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a value">, v.TrimAction, v.MinLengthAction<string, 1, "the value is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 255, "the value is too long, it must be 255 characters or less">, v.RegexAction<string, "the value can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
799
+ readonly description: v.UndefinedableSchema<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>;
800
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
801
+ }, undefined>;
438
802
  }, undefined>;
439
- type SCreateWebsiteDocument = v.InferOutput<typeof SCreateWebsiteDocument>;
440
- declare const SUpdateAsCreatorWebsiteDocument: v.ObjectSchema<{
441
- 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>;
442
- readonly description: v.UndefinedableSchema<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>;
443
- readonly is_secure: v.BooleanSchema<"isSecure must be a boolean">;
444
- readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
803
+ type SUpdateTermDocumentRequest = v.InferOutput<typeof SUpdateTermDocumentRequest>;
804
+ declare const SDeleteTermDocument: v.ObjectSchema<{
805
+ readonly documentId: v.StringSchema<undefined>;
445
806
  }, undefined>;
446
- type SUpdateAsCreatorWebsiteDocument = v.InferOutput<typeof SUpdateAsCreatorWebsiteDocument>;
447
- declare const SUpdateAsInvitedWebsiteDocument: v.ObjectSchema<{
448
- readonly description: v.UndefinedableSchema<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>;
449
- }, undefined>;
450
- type SUpdateAsInvitedWebsiteDocument = v.InferOutput<typeof SUpdateAsInvitedWebsiteDocument>;
807
+ type SDeleteTermDocument = v.InferOutput<typeof SDeleteTermDocument>;
451
808
 
452
809
  declare const SCreateTrackingLinkDocument: v.ObjectSchema<{
453
810
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
@@ -466,6 +823,34 @@ declare const SCreateTrackingLinkDocument: v.ObjectSchema<{
466
823
  readonly utm_id: 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: - _ .">]>;
467
824
  }, undefined>;
468
825
  type SCreateTrackingLinkDocument = v.InferOutput<typeof SCreateTrackingLinkDocument>;
826
+ declare const SCreateTrackingLinkDocumentRequest: v.ObjectSchema<{
827
+ readonly documentId: v.StringSchema<undefined>;
828
+ readonly data: v.ObjectSchema<{
829
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
830
+ readonly destination: 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">]>;
831
+ readonly protocol: v.PicklistSchema<["http", "https"], "please provide a valid url protocol">;
832
+ readonly domain: 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">]>;
833
+ readonly path: 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">]>;
834
+ readonly query: 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">]>;
835
+ readonly fragment: 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">]>;
836
+ readonly utm_source: 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: - _ .">]>;
837
+ readonly utm_medium: 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: - _ .">]>;
838
+ readonly utm_campaign: 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: - _ .">]>;
839
+ readonly utm_creative_format: 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: - _ .">]>;
840
+ readonly utm_content: 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: - _ .">]>;
841
+ readonly utm_term: 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: - _ .">]>;
842
+ readonly utm_id: 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: - _ .">]>;
843
+ }, undefined>;
844
+ }, undefined>;
845
+ type SCreateTrackingLinkDocumentRequest = v.InferOutput<typeof SCreateTrackingLinkDocumentRequest>;
846
+ declare const SReadTrackingLinkDocumentById: v.ObjectSchema<{
847
+ readonly id: v.NumberSchema<undefined>;
848
+ }, undefined>;
849
+ type SReadTrackingLinkDocumentById = v.InferOutput<typeof SReadTrackingLinkDocumentById>;
850
+ declare const SReadTrackingLinkDocumentByDocumentId: v.ObjectSchema<{
851
+ readonly documentId: v.StringSchema<undefined>;
852
+ }, undefined>;
853
+ type SReadTrackingLinkDocumentByDocumentId = v.InferOutput<typeof SReadTrackingLinkDocumentByDocumentId>;
469
854
  declare const SUpdateAsCreatorTrackingLinkDocument: v.ObjectSchema<{
470
855
  readonly is_active: 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>;
471
856
  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>;
@@ -500,6 +885,30 @@ declare const SUpdateAsInvitedTrackingLinkDocument: v.ObjectSchema<{
500
885
  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>;
501
886
  }, undefined>;
502
887
  type SUpdateAsInvitedTrackingLinkDocument = v.InferOutput<typeof SUpdateAsInvitedTrackingLinkDocument>;
888
+ declare const SUpdateTrackingLinkDocumentRequest: v.ObjectSchema<{
889
+ readonly documentId: v.StringSchema<undefined>;
890
+ readonly data: v.ObjectSchema<{
891
+ readonly is_active: 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>;
892
+ 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>;
893
+ readonly protocol: v.UndefinedableSchema<v.PicklistSchema<["http", "https"], "please provide a valid url protocol">, undefined>;
894
+ 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>;
895
+ 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>;
896
+ 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>;
897
+ 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>;
898
+ 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>;
899
+ 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>;
900
+ 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>;
901
+ 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>;
902
+ 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>;
903
+ 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>;
904
+ 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>;
905
+ }, undefined>;
906
+ }, undefined>;
907
+ type SUpdateTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateTrackingLinkDocumentRequest>;
908
+ declare const SDeleteTrackingLinkDocument: v.ObjectSchema<{
909
+ readonly documentId: v.StringSchema<undefined>;
910
+ }, undefined>;
911
+ type SDeleteTrackingLinkDocument = v.InferOutput<typeof SDeleteTrackingLinkDocument>;
503
912
 
504
913
  declare const SCreateUserAccountDocument: v.ObjectSchema<{
505
914
  readonly customer_id: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a customer ID">, v.TrimAction, v.MaxLengthAction<string, 255, "the customer ID is too long, it must be 255 characters or less">]>, undefined>;
@@ -510,6 +919,14 @@ declare const SCreateUserAccountDocument: v.ObjectSchema<{
510
919
  readonly trial_period_end: v.UndefinedableSchema<v.DateSchema<undefined>, undefined>;
511
920
  }, undefined>;
512
921
  type SCreateUserAccountDocument = v.InferOutput<typeof SCreateUserAccountDocument>;
922
+ declare const SReadUserAccountDocumentById: v.ObjectSchema<{
923
+ readonly id: v.NumberSchema<undefined>;
924
+ }, undefined>;
925
+ type SReadUserAccountDocumentById = v.InferOutput<typeof SReadUserAccountDocumentById>;
926
+ declare const SReadUserAccountDocumentByDocumentId: v.ObjectSchema<{
927
+ readonly documentId: v.StringSchema<undefined>;
928
+ }, undefined>;
929
+ type SReadUserAccountDocumentByDocumentId = v.InferOutput<typeof SReadUserAccountDocumentByDocumentId>;
513
930
  declare const SUpdateUserAccountDocument: v.ObjectSchema<{
514
931
  readonly customer_id: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a customer ID">, v.TrimAction, v.MaxLengthAction<string, 255, "the customer ID is too long, it must be 255 characters or less">]>, undefined>;
515
932
  readonly subscription_id: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a subscription ID">, v.TrimAction, v.MaxLengthAction<string, 255, "the subscription ID is too long, it must be 255 characters or less">]>, undefined>;
@@ -536,6 +953,14 @@ declare const SCreateUserLimitationsDocument: v.ObjectSchema<{
536
953
  readonly limit_terms: v.NumberSchema<undefined>;
537
954
  }, undefined>;
538
955
  type SCreateUserLimitationsDocument = v.InferOutput<typeof SCreateUserLimitationsDocument>;
956
+ declare const SReadUserLimitationsDocumentById: v.ObjectSchema<{
957
+ readonly id: v.NumberSchema<undefined>;
958
+ }, undefined>;
959
+ type SReadUserLimitationsDocumentById = v.InferOutput<typeof SReadUserLimitationsDocumentById>;
960
+ declare const SReadUserLimitationsDocumentByDocumentId: v.ObjectSchema<{
961
+ readonly documentId: v.StringSchema<undefined>;
962
+ }, undefined>;
963
+ type SReadUserLimitationsDocumentByDocumentId = v.InferOutput<typeof SReadUserLimitationsDocumentByDocumentId>;
539
964
  declare const SUpdateUserLimitationsDocument: v.ObjectSchema<{
540
965
  readonly limit_groups: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
541
966
  readonly limit_websites: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
@@ -553,4 +978,89 @@ declare const SUpdateUserLimitationsDocument: v.ObjectSchema<{
553
978
  }, undefined>;
554
979
  type SUpdateUserLimitationsDocument = v.InferOutput<typeof SUpdateUserLimitationsDocument>;
555
980
 
556
- export { ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_VALUE, IsValidApplyValueAs, IsValidApplyValueTo, IsValidBlocked, IsValidConfirmed, IsValidCost, IsValidCurrentPeriodEnd, IsValidCurrentPeriodStart, IsValidCustomerId, IsValidDescription, IsValidEmail, IsValidGroupUserScopes, IsValidIsActive, IsValidIsSecure, IsValidLabel, IsValidName, IsValidOrUndefinedApplyValueAs, IsValidOrUndefinedApplyValueTo, IsValidOrUndefinedBlocked, IsValidOrUndefinedConfirmed, IsValidOrUndefinedCost, IsValidOrUndefinedCurrentPeriodEnd, IsValidOrUndefinedCurrentPeriodStart, IsValidOrUndefinedCustomerId, IsValidOrUndefinedDescription, IsValidOrUndefinedEmail, IsValidOrUndefinedIsActive, IsValidOrUndefinedIsSecure, IsValidOrUndefinedLabel, IsValidOrUndefinedName, IsValidOrUndefinedPassword, IsValidOrUndefinedPriceId, IsValidOrUndefinedProductId, IsValidOrUndefinedProvider, IsValidOrUndefinedSubscriptionId, IsValidOrUndefinedSubscriptionStatus, IsValidOrUndefinedTrialPeriodEnd, IsValidOrUndefinedUnitAmount, IsValidOrUndefinedUnitTermInMonths, IsValidOrUndefinedUrlDestination, IsValidOrUndefinedUrlDomain, IsValidOrUndefinedUrlFragment, IsValidOrUndefinedUrlPath, IsValidOrUndefinedUrlProtocol, IsValidOrUndefinedUrlQuery, IsValidOrUndefinedUrlUtmCampaign, IsValidOrUndefinedUrlUtmContent, IsValidOrUndefinedUrlUtmCreativeFormat, IsValidOrUndefinedUrlUtmId, IsValidOrUndefinedUrlUtmMedium, IsValidOrUndefinedUrlUtmSource, IsValidOrUndefinedUrlUtmTerm, IsValidOrUndefinedUsername, IsValidOrUndefinedValue, IsValidPassword, IsValidPriceId, IsValidProductId, IsValidProvider, IsValidReferenceDocumentId, IsValidReferenceId, IsValidSubscriptionId, IsValidSubscriptionStatus, IsValidTrialPeriodEnd, IsValidUnitAmount, IsValidUnitTermInMonths, IsValidUrlDestination, IsValidUrlDomain, IsValidUrlFragment, IsValidUrlPath, IsValidUrlProtocol, IsValidUrlQuery, IsValidUrlUtmCampaign, IsValidUrlUtmContent, IsValidUrlUtmCreativeFormat, IsValidUrlUtmId, IsValidUrlUtmMedium, IsValidUrlUtmSource, IsValidUrlUtmTerm, IsValidUsername, IsValidValue, LIMIT_MAX_DESCRIPTION, LIMIT_MAX_DESTINATION, LIMIT_MAX_DOMAIN, LIMIT_MAX_EMAIL, LIMIT_MAX_FRAGMENT, LIMIT_MAX_LABEL, LIMIT_MAX_NAME, LIMIT_MAX_PASSWORD, LIMIT_MAX_PATH, LIMIT_MAX_PRICE_ID, LIMIT_MAX_PRODUCT_ID, LIMIT_MAX_PROVIDER, LIMIT_MAX_QUERY, LIMIT_MAX_STRIPE_ID, LIMIT_MAX_UNIT_TERM_IN_MONTHS, LIMIT_MAX_USERNAME, LIMIT_MAX_UTM_CAMPAIGN, LIMIT_MAX_UTM_CONTENT, LIMIT_MAX_UTM_CREATIVE_FORMAT, LIMIT_MAX_UTM_ID, LIMIT_MAX_UTM_MEDIUM, LIMIT_MAX_UTM_SOURCE, LIMIT_MAX_UTM_TERM, LIMIT_MAX_VALUE, LIMIT_MIN_DESTINATION, LIMIT_MIN_DOMAIN, LIMIT_MIN_EMAIL, LIMIT_MIN_FRAGMENT, LIMIT_MIN_LABEL, LIMIT_MIN_NAME, LIMIT_MIN_PASSWORD, LIMIT_MIN_PATH, LIMIT_MIN_PRICE_ID, LIMIT_MIN_PRODUCT_ID, LIMIT_MIN_QUERY, LIMIT_MIN_UNIT_AMOUNT, LIMIT_MIN_UNIT_TERM_IN_MONTHS, LIMIT_MIN_USERNAME, LIMIT_MIN_UTM_CAMPAIGN, LIMIT_MIN_UTM_CONTENT, LIMIT_MIN_UTM_CREATIVE_FORMAT, LIMIT_MIN_UTM_ID, LIMIT_MIN_UTM_MEDIUM, LIMIT_MIN_UTM_SOURCE, LIMIT_MIN_UTM_TERM, LIMIT_MIN_VALUE, REGEX_DOMAIN, REGEX_VALUE, SCreateCampaignIdDocument, SCreateCampaignKeyDocument, SCreateCampaignPhaseDocument, SCreateCampaignProductDocument, SCreateContentDocument, SCreateCreativeFormatDocument, SCreateCreativeFormatVariantDocument, SCreateGroupDocument, SCreateGroupUserDocument, SCreateMediumDocument, SCreateSourceDocument, SCreateTermDocument, SCreateTrackingLinkDocument, SCreateUserAccountDocument, SCreateUserLimitationsDocument, SCreateWebsiteDocument, SStripeCheckoutCreateSession, SStripeCheckoutLineItem, SUpdateAsCreatorCampaignIdDocument, SUpdateAsCreatorCampaignKeyDocument, SUpdateAsCreatorCampaignPhaseDocument, SUpdateAsCreatorCampaignProductDocument, SUpdateAsCreatorContentDocument, SUpdateAsCreatorCreativeFormatDocument, SUpdateAsCreatorCreativeFormatVariantDocument, SUpdateAsCreatorGroupDocument, SUpdateAsCreatorMediumDocument, SUpdateAsCreatorSourceDocument, SUpdateAsCreatorTermDocument, SUpdateAsCreatorTrackingLinkDocument, SUpdateAsCreatorWebsiteDocument, SUpdateAsInvitedCampaignIdDocument, SUpdateAsInvitedCampaignKeyDocument, SUpdateAsInvitedCampaignPhaseDocument, SUpdateAsInvitedCampaignProductDocument, SUpdateAsInvitedContentDocument, SUpdateAsInvitedCreativeFormatDocument, SUpdateAsInvitedCreativeFormatVariantDocument, SUpdateAsInvitedGroupDocument, SUpdateAsInvitedMediumDocument, SUpdateAsInvitedSourceDocument, SUpdateAsInvitedTermDocument, SUpdateAsInvitedTrackingLinkDocument, SUpdateAsInvitedWebsiteDocument, SUpdateGroupUserDocument, SUpdateUserAccountDocument, SUpdateUserLimitationsDocument, type SubscriptionStatusValue, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };
981
+ declare const SReadUserDocumentToken: v.ObjectSchema<{
982
+ readonly token: v.StringSchema<undefined>;
983
+ }, undefined>;
984
+ type SReadUserDocumentToken = v.InferOutput<typeof SReadUserDocumentToken>;
985
+ declare const SLoginUserDocument: v.ObjectSchema<{
986
+ readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
987
+ readonly password: v.SchemaWithPipe<readonly [v.StringSchema<"a password is required">, v.TrimAction, v.MinLengthAction<string, 8, "your password is too short, it must be at least 8 characters">, v.MaxLengthAction<string, 255, "your password is too long, it must be 255 characters or less">]>;
988
+ }, undefined>;
989
+ type SLoginUserDocument = v.InferOutput<typeof SLoginUserDocument>;
990
+ declare const SRegisterUserDocument: v.ObjectSchema<{
991
+ readonly username: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a username">, v.TrimAction, v.MinLengthAction<string, 3, "your username is too short, it must be at least 3 characters">, v.MaxLengthAction<string, 255, "your username is too long, it must be 255 characters or less">, v.RegexAction<string, "your username can only contain letters, numbers, and the special characters: - _ .">]>;
992
+ readonly email: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
993
+ readonly password: v.SchemaWithPipe<readonly [v.StringSchema<"a password is required">, v.TrimAction, v.MinLengthAction<string, 8, "your password is too short, it must be at least 8 characters">, v.MaxLengthAction<string, 255, "your password is too long, it must be 255 characters or less">]>;
994
+ }, undefined>;
995
+ type SRegisterUserDocument = v.InferOutput<typeof SRegisterUserDocument>;
996
+ declare const SForgotPasswordUserDocument: v.ObjectSchema<{
997
+ readonly email: v.SchemaWithPipe<readonly [v.StringSchema<"please provide an email">, v.TrimAction, v.MinLengthAction<string, 5, "your email is too short, it must be at least 5 characters">, v.MaxLengthAction<string, 255, "your email is too long, it must be 255 characters or less">, v.EmailAction<string, "please provide a valid email address">]>;
998
+ }, undefined>;
999
+ type SForgotPasswordUserDocument = v.InferOutput<typeof SForgotPasswordUserDocument>;
1000
+ declare const SResetPasswordUserDocument: v.ObjectSchema<{
1001
+ readonly password: v.SchemaWithPipe<readonly [v.StringSchema<"a password is required">, v.TrimAction, v.MinLengthAction<string, 8, "your password is too short, it must be at least 8 characters">, v.MaxLengthAction<string, 255, "your password is too long, it must be 255 characters or less">]>;
1002
+ readonly passwordConfirmation: v.SchemaWithPipe<readonly [v.StringSchema<"a password is required">, v.TrimAction, v.MinLengthAction<string, 8, "your password is too short, it must be at least 8 characters">, v.MaxLengthAction<string, 255, "your password is too long, it must be 255 characters or less">]>;
1003
+ readonly code: v.StringSchema<undefined>;
1004
+ }, undefined>;
1005
+ type SResetPasswordUserDocument = v.InferOutput<typeof SResetPasswordUserDocument>;
1006
+ declare const SReadUserDocumentById: v.ObjectSchema<{
1007
+ readonly id: v.NumberSchema<undefined>;
1008
+ }, undefined>;
1009
+ type SReadUserDocumentById = v.InferOutput<typeof SReadUserDocumentById>;
1010
+ declare const SReadUserDocumentByDocumentId: v.ObjectSchema<{
1011
+ readonly documentId: v.StringSchema<undefined>;
1012
+ }, undefined>;
1013
+ type SReadUserDocumentByDocumentId = v.InferOutput<typeof SReadUserDocumentByDocumentId>;
1014
+
1015
+ declare const SCreateWebsiteDocument: v.ObjectSchema<{
1016
+ readonly domain: 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">]>;
1017
+ readonly description: v.UndefinedableSchema<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>;
1018
+ readonly is_secure: v.BooleanSchema<"isSecure must be a boolean">;
1019
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
1020
+ }, undefined>;
1021
+ type SCreateWebsiteDocument = v.InferOutput<typeof SCreateWebsiteDocument>;
1022
+ declare const SCreateWebsiteDocumentRequest: v.ObjectSchema<{
1023
+ readonly documentId: v.StringSchema<undefined>;
1024
+ readonly data: v.ObjectSchema<{
1025
+ readonly domain: 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">]>;
1026
+ readonly description: v.UndefinedableSchema<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>;
1027
+ readonly is_secure: v.BooleanSchema<"isSecure must be a boolean">;
1028
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
1029
+ }, undefined>;
1030
+ }, undefined>;
1031
+ type SCreateWebsiteDocumentRequest = v.InferOutput<typeof SCreateWebsiteDocumentRequest>;
1032
+ declare const SReadWebsiteDocumentById: v.ObjectSchema<{
1033
+ readonly id: v.NumberSchema<undefined>;
1034
+ }, undefined>;
1035
+ type SReadWebsiteDocumentById = v.InferOutput<typeof SReadWebsiteDocumentById>;
1036
+ declare const SReadWebsiteDocumentByDocumentId: v.ObjectSchema<{
1037
+ readonly documentId: v.StringSchema<undefined>;
1038
+ }, undefined>;
1039
+ type SReadWebsiteDocumentByDocumentId = v.InferOutput<typeof SReadWebsiteDocumentByDocumentId>;
1040
+ declare const SUpdateAsCreatorWebsiteDocument: v.ObjectSchema<{
1041
+ 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>;
1042
+ readonly description: v.UndefinedableSchema<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>;
1043
+ readonly is_secure: v.BooleanSchema<"isSecure must be a boolean">;
1044
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
1045
+ }, undefined>;
1046
+ type SUpdateAsCreatorWebsiteDocument = v.InferOutput<typeof SUpdateAsCreatorWebsiteDocument>;
1047
+ declare const SUpdateAsInvitedWebsiteDocument: v.ObjectSchema<{
1048
+ readonly description: v.UndefinedableSchema<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>;
1049
+ }, undefined>;
1050
+ type SUpdateAsInvitedWebsiteDocument = v.InferOutput<typeof SUpdateAsInvitedWebsiteDocument>;
1051
+ declare const SUpdateWebsiteDocumentRequest: v.ObjectSchema<{
1052
+ readonly documentId: v.StringSchema<undefined>;
1053
+ readonly data: v.ObjectSchema<{
1054
+ 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>;
1055
+ readonly description: v.UndefinedableSchema<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>;
1056
+ readonly is_secure: v.BooleanSchema<"isSecure must be a boolean">;
1057
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
1058
+ }, undefined>;
1059
+ }, undefined>;
1060
+ type SUpdateWebsiteDocumentRequest = v.InferOutput<typeof SUpdateWebsiteDocumentRequest>;
1061
+ declare const SDeleteWebsiteDocument: v.ObjectSchema<{
1062
+ readonly documentId: v.StringSchema<undefined>;
1063
+ }, undefined>;
1064
+ type SDeleteWebsiteDocument = v.InferOutput<typeof SDeleteWebsiteDocument>;
1065
+
1066
+ export { ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_VALUE, IsValidApplyValueAs, IsValidApplyValueTo, IsValidBlocked, IsValidConfirmed, IsValidCost, IsValidCurrentPeriodEnd, IsValidCurrentPeriodStart, IsValidCustomerId, IsValidDescription, IsValidEmail, IsValidGroupUserScopes, IsValidIsActive, IsValidIsSecure, IsValidLabel, IsValidName, IsValidOrUndefinedApplyValueAs, IsValidOrUndefinedApplyValueTo, IsValidOrUndefinedBlocked, IsValidOrUndefinedConfirmed, IsValidOrUndefinedCost, IsValidOrUndefinedCurrentPeriodEnd, IsValidOrUndefinedCurrentPeriodStart, IsValidOrUndefinedCustomerId, IsValidOrUndefinedDescription, IsValidOrUndefinedEmail, IsValidOrUndefinedIsActive, IsValidOrUndefinedIsSecure, IsValidOrUndefinedLabel, IsValidOrUndefinedName, IsValidOrUndefinedPassword, IsValidOrUndefinedPriceId, IsValidOrUndefinedProductId, IsValidOrUndefinedProvider, IsValidOrUndefinedSubscriptionId, IsValidOrUndefinedSubscriptionStatus, IsValidOrUndefinedTrialPeriodEnd, IsValidOrUndefinedUnitAmount, IsValidOrUndefinedUnitTermInMonths, IsValidOrUndefinedUrlDestination, IsValidOrUndefinedUrlDomain, IsValidOrUndefinedUrlFragment, IsValidOrUndefinedUrlPath, IsValidOrUndefinedUrlProtocol, IsValidOrUndefinedUrlQuery, IsValidOrUndefinedUrlUtmCampaign, IsValidOrUndefinedUrlUtmContent, IsValidOrUndefinedUrlUtmCreativeFormat, IsValidOrUndefinedUrlUtmId, IsValidOrUndefinedUrlUtmMedium, IsValidOrUndefinedUrlUtmSource, IsValidOrUndefinedUrlUtmTerm, IsValidOrUndefinedUsername, IsValidOrUndefinedValue, IsValidPassword, IsValidPriceId, IsValidProductId, IsValidProvider, IsValidReferenceDocumentId, IsValidReferenceId, IsValidSubscriptionId, IsValidSubscriptionStatus, IsValidTrialPeriodEnd, IsValidUnitAmount, IsValidUnitTermInMonths, IsValidUrlDestination, IsValidUrlDomain, IsValidUrlFragment, IsValidUrlPath, IsValidUrlProtocol, IsValidUrlQuery, IsValidUrlUtmCampaign, IsValidUrlUtmContent, IsValidUrlUtmCreativeFormat, IsValidUrlUtmId, IsValidUrlUtmMedium, IsValidUrlUtmSource, IsValidUrlUtmTerm, IsValidUsername, IsValidValue, LIMIT_MAX_DESCRIPTION, LIMIT_MAX_DESTINATION, LIMIT_MAX_DOMAIN, LIMIT_MAX_EMAIL, LIMIT_MAX_FRAGMENT, LIMIT_MAX_LABEL, LIMIT_MAX_NAME, LIMIT_MAX_PASSWORD, LIMIT_MAX_PATH, LIMIT_MAX_PRICE_ID, LIMIT_MAX_PRODUCT_ID, LIMIT_MAX_PROVIDER, LIMIT_MAX_QUERY, LIMIT_MAX_STRIPE_ID, LIMIT_MAX_UNIT_TERM_IN_MONTHS, LIMIT_MAX_USERNAME, LIMIT_MAX_UTM_CAMPAIGN, LIMIT_MAX_UTM_CONTENT, LIMIT_MAX_UTM_CREATIVE_FORMAT, LIMIT_MAX_UTM_ID, LIMIT_MAX_UTM_MEDIUM, LIMIT_MAX_UTM_SOURCE, LIMIT_MAX_UTM_TERM, LIMIT_MAX_VALUE, LIMIT_MIN_DESTINATION, LIMIT_MIN_DOMAIN, LIMIT_MIN_EMAIL, LIMIT_MIN_FRAGMENT, LIMIT_MIN_LABEL, LIMIT_MIN_NAME, LIMIT_MIN_PASSWORD, LIMIT_MIN_PATH, LIMIT_MIN_PRICE_ID, LIMIT_MIN_PRODUCT_ID, LIMIT_MIN_QUERY, LIMIT_MIN_UNIT_AMOUNT, LIMIT_MIN_UNIT_TERM_IN_MONTHS, LIMIT_MIN_USERNAME, LIMIT_MIN_UTM_CAMPAIGN, LIMIT_MIN_UTM_CONTENT, LIMIT_MIN_UTM_CREATIVE_FORMAT, LIMIT_MIN_UTM_ID, LIMIT_MIN_UTM_MEDIUM, LIMIT_MIN_UTM_SOURCE, LIMIT_MIN_UTM_TERM, LIMIT_MIN_VALUE, REGEX_DOMAIN, REGEX_VALUE, SCreateCampaignIdDocument, SCreateCampaignIdDocumentRequest, SCreateCampaignKeyDocument, SCreateCampaignKeyDocumentRequest, SCreateCampaignPhaseDocument, SCreateCampaignPhaseDocumentRequest, SCreateCampaignProductDocument, SCreateCampaignProductDocumentRequest, SCreateContentDocument, SCreateContentDocumentRequest, SCreateCreativeFormatDocument, SCreateCreativeFormatDocumentRequest, SCreateCreativeFormatVariantDocument, SCreateCreativeFormatVariantDocumentRequest, SCreateGroupDocument, SCreateGroupUserDocument, SCreateGroupUserDocumentRequest, SCreateMediumDocument, SCreateMediumDocumentRequest, SCreateSourceDocument, SCreateSourceDocumentRequest, SCreateTermDocument, SCreateTermDocumentRequest, SCreateTrackingLinkDocument, SCreateTrackingLinkDocumentRequest, SCreateUserAccountDocument, SCreateUserLimitationsDocument, SCreateWebsiteDocument, SCreateWebsiteDocumentRequest, SDeleteCampaignIdDocument, SDeleteCampaignKeyDocument, SDeleteCampaignPhaseDocument, SDeleteCampaignProductDocument, SDeleteContentDocument, SDeleteCreativeFormatDocument, SDeleteCreativeFormatVariantDocument, SDeleteGroupDocument, SDeleteGroupUserDocument, SDeleteMediumDocument, SDeleteSourceDocument, SDeleteTermDocument, SDeleteTrackingLinkDocument, SDeleteWebsiteDocument, SForgotPasswordUserDocument, SLoginUserDocument, SReadCampaignIdDocumentByDocumentId, SReadCampaignIdDocumentById, SReadCampaignKeyDocumentByDocumentId, SReadCampaignKeyDocumentById, SReadCampaignPhaseDocumentByDocumentId, SReadCampaignPhaseDocumentById, SReadCampaignProductDocumentByDocumentId, SReadCampaignProductDocumentById, SReadContentDocumentByDocumentId, SReadContentDocumentById, SReadCreativeFormatDocumentByDocumentId, SReadCreativeFormatDocumentById, SReadCreativeFormatVariantDocumentByDocumentId, SReadCreativeFormatVariantDocumentById, SReadGroupDocumentByDocumentId, SReadGroupDocumentById, SReadGroupUserDocumentByDocumentId, SReadGroupUserDocumentById, SReadMediumDocumentByDocumentId, SReadMediumDocumentById, SReadSourceDocumentByDocumentId, SReadSourceDocumentById, SReadTermDocumentByDocumentId, SReadTermDocumentById, SReadTrackingLinkDocumentByDocumentId, SReadTrackingLinkDocumentById, SReadUserAccountDocumentByDocumentId, SReadUserAccountDocumentById, SReadUserDocumentByDocumentId, SReadUserDocumentById, SReadUserDocumentToken, SReadUserLimitationsDocumentByDocumentId, SReadUserLimitationsDocumentById, SReadWebsiteDocumentByDocumentId, SReadWebsiteDocumentById, SRegisterUserDocument, SResetPasswordUserDocument, SStripeCheckoutCreateSession, SStripeCheckoutLineItem, SUpdateAsCreatorCampaignIdDocument, SUpdateAsCreatorCampaignKeyDocument, SUpdateAsCreatorCampaignPhaseDocument, SUpdateAsCreatorCampaignProductDocument, SUpdateAsCreatorContentDocument, SUpdateAsCreatorCreativeFormatDocument, SUpdateAsCreatorCreativeFormatVariantDocument, SUpdateAsCreatorGroupDocument, SUpdateAsCreatorMediumDocument, SUpdateAsCreatorSourceDocument, SUpdateAsCreatorTermDocument, SUpdateAsCreatorTrackingLinkDocument, SUpdateAsCreatorWebsiteDocument, SUpdateAsInvitedCampaignIdDocument, SUpdateAsInvitedCampaignKeyDocument, SUpdateAsInvitedCampaignPhaseDocument, SUpdateAsInvitedCampaignProductDocument, SUpdateAsInvitedContentDocument, SUpdateAsInvitedCreativeFormatDocument, SUpdateAsInvitedCreativeFormatVariantDocument, SUpdateAsInvitedGroupDocument, SUpdateAsInvitedMediumDocument, SUpdateAsInvitedSourceDocument, SUpdateAsInvitedTermDocument, SUpdateAsInvitedTrackingLinkDocument, SUpdateAsInvitedWebsiteDocument, SUpdateCampaignIdDocumentRequest, SUpdateCampaignKeyDocumentRequest, SUpdateCampaignPhaseDocumentRequest, SUpdateCampaignProductDocumentRequest, SUpdateContentDocumentRequest, SUpdateCreativeFormatDocumentRequest, SUpdateCreativeFormatVariantDocumentRequest, SUpdateGroupDocumentRequest, SUpdateGroupUserDocument, SUpdateGroupUserDocumentRequest, SUpdateMediumDocumentRequest, SUpdateSourceDocumentRequest, SUpdateTermDocumentRequest, SUpdateTrackingLinkDocumentRequest, SUpdateUserAccountDocument, SUpdateUserLimitationsDocument, SUpdateWebsiteDocumentRequest, type SubscriptionStatusValue, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };