@joeygrable94/utm-src-pub-validators 0.0.30 → 0.0.32

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
@@ -260,6 +260,7 @@ declare const SUpdateCampaignIdDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
260
260
  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>;
261
261
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
262
262
  }, undefined>], undefined>;
263
+ type SUpdateCampaignIdDocumentRequest = v.InferOutput<typeof SUpdateCampaignIdDocumentRequest>;
263
264
  declare const SDeleteCampaignIdDocument: v.ObjectSchema<{
264
265
  readonly documentId: v.StringSchema<"please provide a valid document id">;
265
266
  }, undefined>;
@@ -332,6 +333,7 @@ declare const SUpdateCampaignKeyDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
332
333
  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>;
333
334
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
334
335
  }, undefined>], undefined>;
336
+ type SUpdateCampaignKeyDocumentRequest = v.InferOutput<typeof SUpdateCampaignKeyDocumentRequest>;
335
337
  declare const SDeleteCampaignKeyDocument: v.ObjectSchema<{
336
338
  readonly documentId: v.StringSchema<"please provide a valid document id">;
337
339
  }, undefined>;
@@ -404,6 +406,7 @@ declare const SUpdateCampaignPhaseDocumentRequest: v.UnionSchema<[v.ObjectSchema
404
406
  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>;
405
407
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
406
408
  }, undefined>], undefined>;
409
+ type SUpdateCampaignPhaseDocumentRequest = v.InferOutput<typeof SUpdateCampaignPhaseDocumentRequest>;
407
410
  declare const SDeleteCampaignPhaseDocument: v.ObjectSchema<{
408
411
  readonly documentId: v.StringSchema<"please provide a valid document id">;
409
412
  }, undefined>;
@@ -476,6 +479,7 @@ declare const SUpdateCampaignProductDocumentRequest: v.UnionSchema<[v.ObjectSche
476
479
  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>;
477
480
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
478
481
  }, undefined>], undefined>;
482
+ type SUpdateCampaignProductDocumentRequest = v.InferOutput<typeof SUpdateCampaignProductDocumentRequest>;
479
483
  declare const SDeleteCampaignProductDocument: v.ObjectSchema<{
480
484
  readonly documentId: v.StringSchema<"please provide a valid document id">;
481
485
  }, undefined>;
@@ -548,6 +552,7 @@ declare const SUpdateContentDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
548
552
  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>;
549
553
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
550
554
  }, undefined>], undefined>;
555
+ type SUpdateContentDocumentRequest = v.InferOutput<typeof SUpdateContentDocumentRequest>;
551
556
  declare const SDeleteContentDocument: v.ObjectSchema<{
552
557
  readonly documentId: v.StringSchema<"please provide a valid document id">;
553
558
  }, undefined>;
@@ -620,6 +625,7 @@ declare const SUpdateCreativeFormatVariantDocumentRequest: v.UnionSchema<[v.Obje
620
625
  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>;
621
626
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
622
627
  }, undefined>], undefined>;
628
+ type SUpdateCreativeFormatVariantDocumentRequest = v.InferOutput<typeof SUpdateCreativeFormatVariantDocumentRequest>;
623
629
  declare const SDeleteCreativeFormatVariantDocument: v.ObjectSchema<{
624
630
  readonly documentId: v.StringSchema<"please provide a valid document id">;
625
631
  }, undefined>;
@@ -692,6 +698,7 @@ declare const SUpdateCreativeFormatDocumentRequest: v.UnionSchema<[v.ObjectSchem
692
698
  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
699
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
694
700
  }, undefined>], undefined>;
701
+ type SUpdateCreativeFormatDocumentRequest = v.InferOutput<typeof SUpdateCreativeFormatDocumentRequest>;
695
702
  declare const SDeleteCreativeFormatDocument: v.ObjectSchema<{
696
703
  readonly documentId: v.StringSchema<"please provide a valid document id">;
697
704
  }, undefined>;
@@ -788,16 +795,23 @@ declare const SUpdateAsInvitedGroupDocumentRequest: v.ObjectSchema<{
788
795
  }, undefined>;
789
796
  type SUpdateAsInvitedGroupDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedGroupDocumentRequest>;
790
797
  declare const SUpdateGroupDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
791
- 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>;
792
- 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>;
793
- 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>;
794
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
795
- readonly apply_value_to: v.UndefinedableSchema<v.PicklistSchema<["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>, undefined>;
796
- readonly apply_value_as: v.UndefinedableSchema<v.PicklistSchema<["prefix", "suffix"], undefined>, undefined>;
798
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
799
+ readonly data: v.ObjectSchema<{
800
+ 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>;
801
+ 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>;
802
+ 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>;
803
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
804
+ readonly apply_value_to: v.UndefinedableSchema<v.PicklistSchema<["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>, undefined>;
805
+ readonly apply_value_as: v.UndefinedableSchema<v.PicklistSchema<["prefix", "suffix"], undefined>, undefined>;
806
+ }, undefined>;
797
807
  }, undefined>, v.ObjectSchema<{
798
- 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>;
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>;
808
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
809
+ readonly data: v.ObjectSchema<{
810
+ 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>;
811
+ 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>;
812
+ }, undefined>;
800
813
  }, undefined>], undefined>;
814
+ type SUpdateGroupDocumentRequest = v.InferOutput<typeof SUpdateGroupDocumentRequest>;
801
815
  declare const SDeleteGroupDocument: v.ObjectSchema<{
802
816
  readonly documentId: v.StringSchema<"please provide a valid document id">;
803
817
  }, undefined>;
@@ -870,6 +884,7 @@ declare const SUpdateMediumDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
870
884
  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>;
871
885
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
872
886
  }, undefined>], undefined>;
887
+ type SUpdateMediumDocumentRequest = v.InferOutput<typeof SUpdateMediumDocumentRequest>;
873
888
  declare const SDeleteMediumDocument: v.ObjectSchema<{
874
889
  readonly documentId: v.StringSchema<"please provide a valid document id">;
875
890
  }, undefined>;
@@ -942,6 +957,7 @@ declare const SUpdateSourceDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
942
957
  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>;
943
958
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
944
959
  }, undefined>], undefined>;
960
+ type SUpdateSourceDocumentRequest = v.InferOutput<typeof SUpdateSourceDocumentRequest>;
945
961
  declare const SDeleteSourceDocument: v.ObjectSchema<{
946
962
  readonly documentId: v.StringSchema<"please provide a valid document id">;
947
963
  }, undefined>;
@@ -1037,6 +1053,7 @@ declare const SUpdateTermDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
1037
1053
  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>;
1038
1054
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1039
1055
  }, undefined>], undefined>;
1056
+ type SUpdateTermDocumentRequest = v.InferOutput<typeof SUpdateTermDocumentRequest>;
1040
1057
  declare const SDeleteTermDocument: v.ObjectSchema<{
1041
1058
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1042
1059
  }, undefined>;
@@ -1192,6 +1209,7 @@ declare const SUpdateTrackingLinkDocumentRequest: v.UnionSchema<[v.ObjectSchema<
1192
1209
  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>;
1193
1210
  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>;
1194
1211
  }, undefined>], undefined>;
1212
+ type SUpdateTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateTrackingLinkDocumentRequest>;
1195
1213
  declare const SDeleteTrackingLinkDocument: v.ObjectSchema<{
1196
1214
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1197
1215
  }, undefined>;
@@ -1226,6 +1244,7 @@ type SUpdateUserAccountDocument = v.InferOutput<typeof SUpdateUserAccountDocumen
1226
1244
 
1227
1245
  declare const SCreateUserLimitationsDocument: v.ObjectSchema<{
1228
1246
  readonly limit_groups: v.NumberSchema<undefined>;
1247
+ readonly limit_group_users: v.NumberSchema<undefined>;
1229
1248
  readonly limit_websites: v.NumberSchema<undefined>;
1230
1249
  readonly limit_tracking_links: v.NumberSchema<undefined>;
1231
1250
  readonly limit_sources: v.NumberSchema<undefined>;
@@ -1250,6 +1269,7 @@ declare const SReadUserLimitationsDocumentByDocumentId: v.ObjectSchema<{
1250
1269
  type SReadUserLimitationsDocumentByDocumentId = v.InferOutput<typeof SReadUserLimitationsDocumentByDocumentId>;
1251
1270
  declare const SUpdateUserLimitationsDocument: v.ObjectSchema<{
1252
1271
  readonly limit_groups: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1272
+ readonly limit_group_users: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1253
1273
  readonly limit_websites: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1254
1274
  readonly limit_tracking_links: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1255
1275
  readonly limit_sources: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
@@ -1360,6 +1380,7 @@ declare const SUpdateWebsiteDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
1360
1380
  }, undefined>, v.ObjectSchema<{
1361
1381
  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>;
1362
1382
  }, undefined>], undefined>;
1383
+ type SUpdateWebsiteDocumentRequest = v.InferOutput<typeof SUpdateWebsiteDocumentRequest>;
1363
1384
  declare const SDeleteWebsiteDocument: v.ObjectSchema<{
1364
1385
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1365
1386
  }, undefined>;
package/dist/index.d.ts CHANGED
@@ -260,6 +260,7 @@ declare const SUpdateCampaignIdDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
260
260
  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>;
261
261
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
262
262
  }, undefined>], undefined>;
263
+ type SUpdateCampaignIdDocumentRequest = v.InferOutput<typeof SUpdateCampaignIdDocumentRequest>;
263
264
  declare const SDeleteCampaignIdDocument: v.ObjectSchema<{
264
265
  readonly documentId: v.StringSchema<"please provide a valid document id">;
265
266
  }, undefined>;
@@ -332,6 +333,7 @@ declare const SUpdateCampaignKeyDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
332
333
  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>;
333
334
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
334
335
  }, undefined>], undefined>;
336
+ type SUpdateCampaignKeyDocumentRequest = v.InferOutput<typeof SUpdateCampaignKeyDocumentRequest>;
335
337
  declare const SDeleteCampaignKeyDocument: v.ObjectSchema<{
336
338
  readonly documentId: v.StringSchema<"please provide a valid document id">;
337
339
  }, undefined>;
@@ -404,6 +406,7 @@ declare const SUpdateCampaignPhaseDocumentRequest: v.UnionSchema<[v.ObjectSchema
404
406
  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>;
405
407
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
406
408
  }, undefined>], undefined>;
409
+ type SUpdateCampaignPhaseDocumentRequest = v.InferOutput<typeof SUpdateCampaignPhaseDocumentRequest>;
407
410
  declare const SDeleteCampaignPhaseDocument: v.ObjectSchema<{
408
411
  readonly documentId: v.StringSchema<"please provide a valid document id">;
409
412
  }, undefined>;
@@ -476,6 +479,7 @@ declare const SUpdateCampaignProductDocumentRequest: v.UnionSchema<[v.ObjectSche
476
479
  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>;
477
480
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
478
481
  }, undefined>], undefined>;
482
+ type SUpdateCampaignProductDocumentRequest = v.InferOutput<typeof SUpdateCampaignProductDocumentRequest>;
479
483
  declare const SDeleteCampaignProductDocument: v.ObjectSchema<{
480
484
  readonly documentId: v.StringSchema<"please provide a valid document id">;
481
485
  }, undefined>;
@@ -548,6 +552,7 @@ declare const SUpdateContentDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
548
552
  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>;
549
553
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
550
554
  }, undefined>], undefined>;
555
+ type SUpdateContentDocumentRequest = v.InferOutput<typeof SUpdateContentDocumentRequest>;
551
556
  declare const SDeleteContentDocument: v.ObjectSchema<{
552
557
  readonly documentId: v.StringSchema<"please provide a valid document id">;
553
558
  }, undefined>;
@@ -620,6 +625,7 @@ declare const SUpdateCreativeFormatVariantDocumentRequest: v.UnionSchema<[v.Obje
620
625
  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>;
621
626
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
622
627
  }, undefined>], undefined>;
628
+ type SUpdateCreativeFormatVariantDocumentRequest = v.InferOutput<typeof SUpdateCreativeFormatVariantDocumentRequest>;
623
629
  declare const SDeleteCreativeFormatVariantDocument: v.ObjectSchema<{
624
630
  readonly documentId: v.StringSchema<"please provide a valid document id">;
625
631
  }, undefined>;
@@ -692,6 +698,7 @@ declare const SUpdateCreativeFormatDocumentRequest: v.UnionSchema<[v.ObjectSchem
692
698
  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
699
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
694
700
  }, undefined>], undefined>;
701
+ type SUpdateCreativeFormatDocumentRequest = v.InferOutput<typeof SUpdateCreativeFormatDocumentRequest>;
695
702
  declare const SDeleteCreativeFormatDocument: v.ObjectSchema<{
696
703
  readonly documentId: v.StringSchema<"please provide a valid document id">;
697
704
  }, undefined>;
@@ -788,16 +795,23 @@ declare const SUpdateAsInvitedGroupDocumentRequest: v.ObjectSchema<{
788
795
  }, undefined>;
789
796
  type SUpdateAsInvitedGroupDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedGroupDocumentRequest>;
790
797
  declare const SUpdateGroupDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
791
- 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>;
792
- 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>;
793
- 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>;
794
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
795
- readonly apply_value_to: v.UndefinedableSchema<v.PicklistSchema<["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>, undefined>;
796
- readonly apply_value_as: v.UndefinedableSchema<v.PicklistSchema<["prefix", "suffix"], undefined>, undefined>;
798
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
799
+ readonly data: v.ObjectSchema<{
800
+ 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>;
801
+ 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>;
802
+ 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>;
803
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
804
+ readonly apply_value_to: v.UndefinedableSchema<v.PicklistSchema<["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>, undefined>;
805
+ readonly apply_value_as: v.UndefinedableSchema<v.PicklistSchema<["prefix", "suffix"], undefined>, undefined>;
806
+ }, undefined>;
797
807
  }, undefined>, v.ObjectSchema<{
798
- 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>;
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>;
808
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
809
+ readonly data: v.ObjectSchema<{
810
+ 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>;
811
+ 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>;
812
+ }, undefined>;
800
813
  }, undefined>], undefined>;
814
+ type SUpdateGroupDocumentRequest = v.InferOutput<typeof SUpdateGroupDocumentRequest>;
801
815
  declare const SDeleteGroupDocument: v.ObjectSchema<{
802
816
  readonly documentId: v.StringSchema<"please provide a valid document id">;
803
817
  }, undefined>;
@@ -870,6 +884,7 @@ declare const SUpdateMediumDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
870
884
  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>;
871
885
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
872
886
  }, undefined>], undefined>;
887
+ type SUpdateMediumDocumentRequest = v.InferOutput<typeof SUpdateMediumDocumentRequest>;
873
888
  declare const SDeleteMediumDocument: v.ObjectSchema<{
874
889
  readonly documentId: v.StringSchema<"please provide a valid document id">;
875
890
  }, undefined>;
@@ -942,6 +957,7 @@ declare const SUpdateSourceDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
942
957
  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>;
943
958
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
944
959
  }, undefined>], undefined>;
960
+ type SUpdateSourceDocumentRequest = v.InferOutput<typeof SUpdateSourceDocumentRequest>;
945
961
  declare const SDeleteSourceDocument: v.ObjectSchema<{
946
962
  readonly documentId: v.StringSchema<"please provide a valid document id">;
947
963
  }, undefined>;
@@ -1037,6 +1053,7 @@ declare const SUpdateTermDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
1037
1053
  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>;
1038
1054
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1039
1055
  }, undefined>], undefined>;
1056
+ type SUpdateTermDocumentRequest = v.InferOutput<typeof SUpdateTermDocumentRequest>;
1040
1057
  declare const SDeleteTermDocument: v.ObjectSchema<{
1041
1058
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1042
1059
  }, undefined>;
@@ -1192,6 +1209,7 @@ declare const SUpdateTrackingLinkDocumentRequest: v.UnionSchema<[v.ObjectSchema<
1192
1209
  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>;
1193
1210
  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>;
1194
1211
  }, undefined>], undefined>;
1212
+ type SUpdateTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateTrackingLinkDocumentRequest>;
1195
1213
  declare const SDeleteTrackingLinkDocument: v.ObjectSchema<{
1196
1214
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1197
1215
  }, undefined>;
@@ -1226,6 +1244,7 @@ type SUpdateUserAccountDocument = v.InferOutput<typeof SUpdateUserAccountDocumen
1226
1244
 
1227
1245
  declare const SCreateUserLimitationsDocument: v.ObjectSchema<{
1228
1246
  readonly limit_groups: v.NumberSchema<undefined>;
1247
+ readonly limit_group_users: v.NumberSchema<undefined>;
1229
1248
  readonly limit_websites: v.NumberSchema<undefined>;
1230
1249
  readonly limit_tracking_links: v.NumberSchema<undefined>;
1231
1250
  readonly limit_sources: v.NumberSchema<undefined>;
@@ -1250,6 +1269,7 @@ declare const SReadUserLimitationsDocumentByDocumentId: v.ObjectSchema<{
1250
1269
  type SReadUserLimitationsDocumentByDocumentId = v.InferOutput<typeof SReadUserLimitationsDocumentByDocumentId>;
1251
1270
  declare const SUpdateUserLimitationsDocument: v.ObjectSchema<{
1252
1271
  readonly limit_groups: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1272
+ readonly limit_group_users: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1253
1273
  readonly limit_websites: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1254
1274
  readonly limit_tracking_links: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1255
1275
  readonly limit_sources: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
@@ -1360,6 +1380,7 @@ declare const SUpdateWebsiteDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
1360
1380
  }, undefined>, v.ObjectSchema<{
1361
1381
  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>;
1362
1382
  }, undefined>], undefined>;
1383
+ type SUpdateWebsiteDocumentRequest = v.InferOutput<typeof SUpdateWebsiteDocumentRequest>;
1363
1384
  declare const SDeleteWebsiteDocument: v.ObjectSchema<{
1364
1385
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1365
1386
  }, undefined>;
package/dist/index.js CHANGED
@@ -881,7 +881,10 @@ var SUpdateAsInvitedGroupDocumentRequest = v9.object({
881
881
  documentId: IsValidReferenceDocumentId,
882
882
  data: SUpdateAsInvitedGroupDocument
883
883
  });
884
- var SUpdateGroupDocumentRequest = v9.union([SUpdateAsCreatorGroupDocument, SUpdateAsInvitedGroupDocument]);
884
+ var SUpdateGroupDocumentRequest = v9.union([
885
+ SUpdateAsCreatorGroupDocumentRequest,
886
+ SUpdateAsInvitedGroupDocumentRequest
887
+ ]);
885
888
  var SDeleteGroupDocument = v9.object({
886
889
  documentId: IsValidReferenceDocumentId
887
890
  });
@@ -1109,6 +1112,7 @@ var SUpdateUserAccountDocument = v9.object({
1109
1112
  });
1110
1113
  var SCreateUserLimitationsDocument = v9.object({
1111
1114
  limit_groups: v9.number(),
1115
+ limit_group_users: v9.number(),
1112
1116
  limit_websites: v9.number(),
1113
1117
  limit_tracking_links: v9.number(),
1114
1118
  limit_sources: v9.number(),
@@ -1130,6 +1134,7 @@ var SReadUserLimitationsDocumentByDocumentId = v9.object({
1130
1134
  });
1131
1135
  var SUpdateUserLimitationsDocument = v9.object({
1132
1136
  limit_groups: v9.undefinedable(v9.number()),
1137
+ limit_group_users: v9.undefinedable(v9.number()),
1133
1138
  limit_websites: v9.undefinedable(v9.number()),
1134
1139
  limit_tracking_links: v9.undefinedable(v9.number()),
1135
1140
  limit_sources: v9.undefinedable(v9.number()),