@joeygrable94/utm-src-pub-validators 0.0.34 → 0.0.36

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.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  import * as v from 'valibot';
2
2
 
3
+ declare const GroupApplyValueToOptions: readonly ["source", "medium", "campaign", "content", "creative", "term", "id"];
4
+ declare const GroupApplyValueAsOptions: readonly ["prefix", "suffix"];
5
+
3
6
  declare const LIMIT_MIN_LABEL = 1;
4
7
  declare const LIMIT_MAX_LABEL = 255;
5
8
  declare const LIMIT_MIN_VALUE = 1;
@@ -47,10 +50,42 @@ declare const LIMIT_MAX_UTM_TERM = 2028;
47
50
  declare const LIMIT_MIN_UTM_ID = 1;
48
51
  declare const LIMIT_MAX_UTM_ID = 2030;
49
52
 
50
- declare const REGEX_VALUE: RegExp;
51
- declare const ERROR_MESSAGE_REGEX_VALUE = "can only contain letters, numbers, and the special characters: - _ .";
52
- declare const REGEX_DOMAIN: RegExp;
53
- declare const ERROR_MESSAGE_REGEX_DOMAIN = "please provide a valid domain name";
53
+ declare const STRAPI_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
54
+ declare const STRAPI_PAGINATION_MAX_SIZE_LIMIT = 10000;
55
+ declare const USER_PAGINATION_DEFAULT_SIZE_LIMIT = 10;
56
+ declare const USER_PAGINATION_MAX_SIZE_LIMIT = 10;
57
+ declare const USER_ACCOUNT_PAGINATION_DEFAULT_SIZE_LIMIT = 10;
58
+ declare const USER_ACCOUNT_PAGINATION_MAX_SIZE_LIMIT = 100;
59
+ declare const USER_LIMITATION_PAGINATION_DEFAULT_SIZE_LIMIT = 10;
60
+ declare const USER_LIMITATION_PAGINATION_MAX_SIZE_LIMIT = 100;
61
+ declare const GROUP_PAGINATION_DEFAULT_SIZE_LIMIT = 10;
62
+ declare const GROUP_PAGINATION_MAX_SIZE_LIMIT = 100;
63
+ declare const GROUP_USER_PAGINATION_DEFAULT_SIZE_LIMIT = 10;
64
+ declare const GROUP_USER_PAGINATION_MAX_SIZE_LIMIT = 100;
65
+ declare const WEBSITE_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
66
+ declare const WEBSITE_PAGINATION_MAX_SIZE_LIMIT = 10000;
67
+ declare const TRACKING_LINK_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
68
+ declare const TRACKING_LINK_PAGINATION_MAX_SIZE_LIMIT = 10000;
69
+ declare const CAMPAIGN_ID_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
70
+ declare const CAMPAIGN_ID_PAGINATION_MAX_SIZE_LIMIT = 10000;
71
+ declare const CAMPAIGN_KEY_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
72
+ declare const CAMPAIGN_KEY_PAGINATION_MAX_SIZE_LIMIT = 10000;
73
+ declare const CAMPAIGN_PHASE_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
74
+ declare const CAMPAIGN_PHASE_PAGINATION_MAX_SIZE_LIMIT = 10000;
75
+ declare const CAMPAIGN_PRODUCT_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
76
+ declare const CAMPAIGN_PRODUCT_PAGINATION_MAX_SIZE_LIMIT = 10000;
77
+ declare const CONTENT_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
78
+ declare const CONTENT_PAGINATION_MAX_SIZE_LIMIT = 10000;
79
+ declare const CREATIVE_FORMAT_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
80
+ declare const CREATIVE_FORMAT_PAGINATION_MAX_SIZE_LIMIT = 10000;
81
+ declare const CREATIVE_FORMAT_VARIANT_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
82
+ declare const CREATIVE_FORMAT_VARIANT_PAGINATION_MAX_SIZE_LIMIT = 10000;
83
+ declare const MEDIUM_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
84
+ declare const MEDIUM_PAGINATION_MAX_SIZE_LIMIT = 10000;
85
+ declare const SOURCE_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
86
+ declare const SOURCE_PAGINATION_MAX_SIZE_LIMIT = 10000;
87
+ declare const TERM_PAGINATION_DEFAULT_SIZE_LIMIT = 100;
88
+ declare const TERM_PAGINATION_MAX_SIZE_LIMIT = 10000;
54
89
 
55
90
  /**
56
91
  * Example usage of GroupEntityScope type
@@ -82,385 +117,534 @@ type GroupEntityScope = {
82
117
  declare const GROUP_ENTITY_KEYS: GroupEntityKey[];
83
118
  declare const GROUP_ENTITY_SCOPES: GroupEntityScope[];
84
119
 
85
- type ValidateAndCleanSuccess<T> = {
86
- data: Partial<T>;
87
- error: null;
88
- errors: null;
89
- };
90
- type ValidateAndCleanFailure = {
91
- data: null;
92
- error: string | null;
93
- errors: Record<string, string> | null;
94
- };
95
- type ValidateAndCleanResult<T> = ValidateAndCleanSuccess<T> | ValidateAndCleanFailure;
96
- declare function validateAndClean<T>(schema: v.BaseSchema<T, Partial<T>, v.BaseIssue<T>>, input: unknown): ValidateAndCleanResult<T>;
97
- declare function isValidationSuccess<T>(result: ValidateAndCleanResult<T>): result is ValidateAndCleanSuccess<T>;
98
- declare function isValidationFailure<T>(result: ValidateAndCleanResult<T>): result is ValidateAndCleanFailure;
99
- declare function omitUndefined<T extends Record<string, any>>(obj: T): Partial<T>;
100
-
101
- declare function dateToday(): Date;
102
- declare function datePlusDays(today: Date, days?: number): Date;
103
-
104
- declare const IsValidReferenceId: v.NumberSchema<"please provide a valid id">;
105
- declare const IsValidReferenceDocumentId: v.StringSchema<"please provide a valid document id">;
106
- declare const IsValidCost: 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">]>;
107
- declare const IsValidOrUndefinedCost: 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>;
108
- declare const IsValidLabel: 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">]>;
109
- declare const IsValidOrUndefinedLabel: 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>;
110
- declare const IsValidValue: 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: - _ .">]>;
111
- declare const IsValidOrUndefinedValue: 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>;
112
- declare const IsValidDescription: 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>;
113
- declare const IsValidOrUndefinedDescription: 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>;
114
- declare const IsValidIsActive: v.BooleanSchema<"isActive must be a boolean">;
115
- declare const IsValidOrUndefinedIsActive: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
116
- declare const IsValidIsSecure: v.BooleanSchema<"isSecure must be a boolean">;
117
- declare const IsValidOrUndefinedIsSecure: v.UndefinedableSchema<v.BooleanSchema<"isSecure must be a boolean">, undefined>;
118
- declare const IsValidName: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a name">, v.TrimAction, v.MinLengthAction<string, 2, "the name is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the name is too long, it must be 255 characters or less">]>;
119
- declare const IsValidOrUndefinedName: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a name">, v.TrimAction, v.MinLengthAction<string, 2, "the name is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the name is too long, it must be 255 characters or less">]>, undefined>;
120
-
121
- declare const IsValidApplyValueTo: v.PicklistSchema<["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
122
- declare const IsValidOrUndefinedApplyValueTo: v.UndefinedableSchema<v.PicklistSchema<["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>, undefined>;
123
- declare const IsValidApplyValueAs: v.PicklistSchema<["prefix", "suffix"], undefined>;
124
- declare const IsValidOrUndefinedApplyValueAs: v.UndefinedableSchema<v.PicklistSchema<["prefix", "suffix"], undefined>, undefined>;
125
-
126
- declare const IsValidGroupUserScopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<GroupEntityScope[], "invalid group scope provided">]>, "please provide an array of scopes">, v.MinLengthAction<GroupEntityScope[], 1, "you must provide at least one scope">, v.MaxLengthAction<GroupEntityScope[], number, "you cannot provide more scopes than available">]>;
127
-
128
- declare const IsValidProductId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a product_id">, v.TrimAction, v.MinLengthAction<string, 2, "the product_id is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the product_id is too long, it must be 64 characters or less">]>;
129
- declare const IsValidOrUndefinedProductId: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a product_id">, v.TrimAction, v.MinLengthAction<string, 2, "the product_id is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the product_id is too long, it must be 64 characters or less">]>, undefined>;
130
- declare const IsValidPriceId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a price_id">, v.TrimAction, v.MinLengthAction<string, 2, "the price_id is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the price_id is too long, it must be 64 characters or less">]>;
131
- declare const IsValidOrUndefinedPriceId: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a price_id">, v.TrimAction, v.MinLengthAction<string, 2, "the price_id is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the price_id is too long, it must be 64 characters or less">]>, undefined>;
132
- declare const IsValidUnitAmount: v.SchemaWithPipe<readonly [v.NumberSchema<"please provide a unit_amount">, v.MinValueAction<number, 0, "the unit_amount must be a decimal greater than or equal to 0">]>;
133
- declare const IsValidOrUndefinedUnitAmount: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<"please provide a unit_amount">, v.MinValueAction<number, 0, "the unit_amount must be a decimal greater than or equal to 0">]>, undefined>;
134
- declare const IsValidUnitTermInMonths: v.SchemaWithPipe<readonly [v.NumberSchema<"please provide a unit_term_in_months">, v.MinValueAction<number, 1, "the unit_term_in_months must be an integer greater than or equal to 1">, v.MaxValueAction<number, 12, "the unit_term_in_months must be an integer less than or equal to 12">]>;
135
- declare const IsValidOrUndefinedUnitTermInMonths: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<"please provide a unit_term_in_months">, v.MinValueAction<number, 1, "the unit_term_in_months must be an integer greater than or equal to 1">, v.MaxValueAction<number, 12, "the unit_term_in_months must be an integer less than or equal to 12">]>, undefined>;
136
-
137
- declare const IsValidUrlDestination: 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">]>;
138
- declare const IsValidOrUndefinedUrlDestination: 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>;
139
- declare const IsValidUrlProtocol: v.PicklistSchema<["http", "https"], "please provide a valid url protocol">;
140
- declare const IsValidOrUndefinedUrlProtocol: v.UndefinedableSchema<v.PicklistSchema<["http", "https"], "please provide a valid url protocol">, undefined>;
141
- declare const IsValidUrlDomain: 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">]>;
142
- declare const IsValidOrUndefinedUrlDomain: 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>;
143
- declare const IsValidUrlPath: 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">]>;
144
- declare const IsValidOrUndefinedUrlPath: 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>;
145
- declare const IsValidUrlQuery: 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">]>;
146
- declare const IsValidOrUndefinedUrlQuery: 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>;
147
- declare const IsValidUrlFragment: 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">]>;
148
- declare const IsValidOrUndefinedUrlFragment: 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>;
149
-
150
- declare const IsValidCustomerId: 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">]>;
151
- declare const IsValidOrUndefinedCustomerId: 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>;
152
- declare const IsValidSubscriptionId: 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">]>;
153
- declare const IsValidOrUndefinedSubscriptionId: 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>;
154
- declare const IsValidSubscriptionStatus: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a subscription status">, v.TrimAction, v.PicklistSchema<["incomplete", "incomplete_expired", "unpaid", "past_due", "canceled", "paused", "trialing", "active"], undefined>]>;
155
- declare const IsValidOrUndefinedSubscriptionStatus: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a subscription status">, v.TrimAction, v.PicklistSchema<["incomplete", "incomplete_expired", "unpaid", "past_due", "canceled", "paused", "trialing", "active"], undefined>]>, undefined>;
156
- declare const IsValidCurrentPeriodStart: v.NullableSchema<v.DateSchema<undefined>, undefined>;
157
- declare const IsValidOrUndefinedCurrentPeriodStart: v.UndefinedableSchema<v.NullableSchema<v.DateSchema<undefined>, undefined>, undefined>;
158
- declare const IsValidCurrentPeriodEnd: v.NullableSchema<v.DateSchema<undefined>, undefined>;
159
- declare const IsValidOrUndefinedCurrentPeriodEnd: v.UndefinedableSchema<v.NullableSchema<v.DateSchema<undefined>, undefined>, undefined>;
160
- declare const IsValidTrialPeriodEnd: v.DateSchema<undefined>;
161
- declare const IsValidOrUndefinedTrialPeriodEnd: v.UndefinedableSchema<v.DateSchema<undefined>, undefined>;
162
-
163
- declare const IsValidUsername: 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: - _ .">]>;
164
- declare const IsValidOrUndefinedUsername: v.UndefinedableSchema<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: - _ .">]>, undefined>;
165
- declare const IsValidEmail: 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">]>;
166
- declare const IsValidOrUndefinedEmail: v.UndefinedableSchema<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">]>, undefined>;
167
- declare const IsValidPassword: 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">]>;
168
- declare const IsValidOrUndefinedPassword: v.UndefinedableSchema<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">]>, undefined>;
169
- declare const IsValidProvider: v.SchemaWithPipe<readonly [v.StringSchema<"please enter a provider">, v.TrimAction, v.MaxLengthAction<string, 255, "the provider string is too long, it must be 255 characters or less">]>;
170
- declare const IsValidOrUndefinedProvider: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please enter a provider">, v.TrimAction, v.MaxLengthAction<string, 255, "the provider string is too long, it must be 255 characters or less">]>, undefined>;
171
- declare const IsValidConfirmed: v.BooleanSchema<undefined>;
172
- declare const IsValidOrUndefinedConfirmed: v.UndefinedableSchema<v.BooleanSchema<undefined>, undefined>;
173
- declare const IsValidBlocked: v.BooleanSchema<undefined>;
174
- declare const IsValidOrUndefinedBlocked: v.UndefinedableSchema<v.BooleanSchema<undefined>, undefined>;
120
+ declare const REGEX_VALUE: RegExp;
121
+ declare const ERROR_MESSAGE_REGEX_VALUE = "can only contain letters, numbers, and the special characters: - _ .";
122
+ declare const REGEX_DOMAIN: RegExp;
123
+ declare const ERROR_MESSAGE_REGEX_DOMAIN = "please provide a valid domain name";
175
124
 
176
- declare const IsValidUrlUtmSource: 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: - _ .">]>;
177
- declare const IsValidOrUndefinedUrlUtmSource: 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>;
178
- declare const IsValidUrlUtmMedium: 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: - _ .">]>;
179
- declare const IsValidOrUndefinedUrlUtmMedium: 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>;
180
- declare const IsValidUrlUtmCampaign: 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: - _ .">]>;
181
- declare const IsValidOrUndefinedUrlUtmCampaign: 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>;
182
- declare const IsValidUrlUtmCreativeFormat: 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: - _ .">]>;
183
- declare const IsValidOrUndefinedUrlUtmCreativeFormat: 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>;
184
- declare const IsValidUrlUtmContent: 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: - _ .">]>;
185
- declare const IsValidOrUndefinedUrlUtmContent: 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>;
186
- declare const IsValidUrlUtmTerm: 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: - _ .">]>;
187
- declare const IsValidOrUndefinedUrlUtmTerm: 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>;
188
- declare const IsValidUrlUtmId: 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: - _ .">]>;
189
- 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>;
125
+ declare const SubscriptionStatusValues: readonly ["incomplete", "incomplete_expired", "trialing", "active", "past_due", "canceled", "unpaid", "paused"];
190
126
 
191
- declare const SCreateCampaignIdDocument: v.ObjectSchema<{
192
- 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">]>;
193
- 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">]>;
194
- 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: - _ .">]>;
195
- 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>;
196
- readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
127
+ declare const SQueryListGroupUserDocuments: v.ObjectSchema<{
128
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
129
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
130
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100, undefined>]>, 10>, 10>;
197
131
  }, undefined>;
198
- type SCreateCampaignIdDocument = v.InferOutput<typeof SCreateCampaignIdDocument>;
199
- declare const SCreateCampaignIdDocumentRequest: v.ObjectSchema<{
132
+ type SQueryListGroupUserDocuments = v.InferOutput<typeof SQueryListGroupUserDocuments>;
133
+ declare const SCreateGroupUserDocument: v.ObjectSchema<{
134
+ readonly group: v.StringSchema<"please provide a valid document id">;
135
+ readonly user: v.StringSchema<"please provide a valid document id">;
136
+ readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<GroupEntityScope[], "invalid group scope provided">]>, "please provide an array of scopes">, v.MinLengthAction<GroupEntityScope[], 1, "you must provide at least one scope">, v.MaxLengthAction<GroupEntityScope[], number, "you cannot provide more scopes than available">]>;
137
+ }, undefined>;
138
+ type SCreateGroupUserDocument = v.InferOutput<typeof SCreateGroupUserDocument>;
139
+ declare const SCreateGroupUserDocumentRequest: v.ObjectSchema<{
200
140
  readonly documentId: v.StringSchema<"please provide a valid document id">;
201
141
  readonly data: v.ObjectSchema<{
202
- 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">]>;
203
- 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">]>;
204
- 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: - _ .">]>;
205
- 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>;
206
- readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
142
+ readonly group: v.StringSchema<"please provide a valid document id">;
143
+ readonly user: v.StringSchema<"please provide a valid document id">;
144
+ readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<GroupEntityScope[], "invalid group scope provided">]>, "please provide an array of scopes">, v.MinLengthAction<GroupEntityScope[], 1, "you must provide at least one scope">, v.MaxLengthAction<GroupEntityScope[], number, "you cannot provide more scopes than available">]>;
207
145
  }, undefined>;
208
146
  }, undefined>;
209
- type SCreateCampaignIdDocumentRequest = v.InferOutput<typeof SCreateCampaignIdDocumentRequest>;
210
- declare const SReadCampaignIdDocumentById: v.ObjectSchema<{
147
+ type SCreateGroupUserDocumentRequest = v.InferOutput<typeof SCreateGroupUserDocumentRequest>;
148
+ declare const SReadGroupUserDocumentById: v.ObjectSchema<{
211
149
  readonly id: v.NumberSchema<"please provide a valid id">;
212
150
  }, undefined>;
213
- type SReadCampaignIdDocumentById = v.InferOutput<typeof SReadCampaignIdDocumentById>;
214
- declare const SReadCampaignIdDocumentByDocumentId: v.ObjectSchema<{
215
- readonly documentId: v.StringSchema<"please provide a valid document id">;
216
- }, undefined>;
217
- type SReadCampaignIdDocumentByDocumentId = v.InferOutput<typeof SReadCampaignIdDocumentByDocumentId>;
218
- declare const SUpdateAsCreatorCampaignIdDocument: v.ObjectSchema<{
219
- 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>;
220
- 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>;
221
- 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
- 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>;
223
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
224
- }, undefined>;
225
- type SUpdateAsCreatorCampaignIdDocument = v.InferOutput<typeof SUpdateAsCreatorCampaignIdDocument>;
226
- declare const SUpdateAsCreatorCampaignIdDocumentRequest: v.ObjectSchema<{
151
+ type SReadGroupUserDocumentById = v.InferOutput<typeof SReadGroupUserDocumentById>;
152
+ declare const SReadGroupUserDocumentByDocumentId: v.ObjectSchema<{
227
153
  readonly documentId: v.StringSchema<"please provide a valid document id">;
228
- readonly data: v.ObjectSchema<{
229
- 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>;
230
- 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>;
231
- 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>;
232
- 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>;
233
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
234
- }, undefined>;
235
154
  }, undefined>;
236
- type SUpdateAsCreatorCampaignIdDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCampaignIdDocumentRequest>;
237
- declare const SUpdateAsInvitedCampaignIdDocument: v.ObjectSchema<{
238
- 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>;
239
- 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>;
240
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
155
+ type SReadGroupUserDocumentByDocumentId = v.InferOutput<typeof SReadGroupUserDocumentByDocumentId>;
156
+ declare const SUpdateGroupUserDocument: v.ObjectSchema<{
157
+ readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<GroupEntityScope[], "invalid group scope provided">]>, "please provide an array of scopes">, v.MinLengthAction<GroupEntityScope[], 1, "you must provide at least one scope">, v.MaxLengthAction<GroupEntityScope[], number, "you cannot provide more scopes than available">]>;
241
158
  }, undefined>;
242
- type SUpdateAsInvitedCampaignIdDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignIdDocument>;
243
- declare const SUpdateAsInvitedCampaignIdDocumentRequest: v.ObjectSchema<{
159
+ type SUpdateGroupUserDocument = v.InferOutput<typeof SUpdateGroupUserDocument>;
160
+ declare const SUpdateGroupUserDocumentRequest: v.ObjectSchema<{
244
161
  readonly documentId: v.StringSchema<"please provide a valid document id">;
245
162
  readonly data: v.ObjectSchema<{
246
- 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>;
247
- 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>;
248
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
163
+ readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<GroupEntityScope[], "invalid group scope provided">]>, "please provide an array of scopes">, v.MinLengthAction<GroupEntityScope[], 1, "you must provide at least one scope">, v.MaxLengthAction<GroupEntityScope[], number, "you cannot provide more scopes than available">]>;
249
164
  }, undefined>;
250
165
  }, undefined>;
251
- type SUpdateAsInvitedCampaignIdDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedCampaignIdDocumentRequest>;
252
- declare const SUpdateCampaignIdDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
253
- 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>;
254
- 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>;
255
- 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>;
256
- 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>;
257
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
258
- }, undefined>, 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 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
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
262
- }, undefined>], undefined>;
263
- type SUpdateCampaignIdDocumentRequest = v.InferOutput<typeof SUpdateCampaignIdDocumentRequest>;
264
- declare const SDeleteCampaignIdDocument: v.ObjectSchema<{
166
+ type SUpdateGroupUserDocumentRequest = v.InferOutput<typeof SUpdateGroupUserDocumentRequest>;
167
+ declare const SDeleteGroupUserDocument: v.ObjectSchema<{
265
168
  readonly documentId: v.StringSchema<"please provide a valid document id">;
266
169
  }, undefined>;
267
- type SDeleteCampaignIdDocument = v.InferOutput<typeof SDeleteCampaignIdDocument>;
170
+ type SDeleteGroupUserDocument = v.InferOutput<typeof SDeleteGroupUserDocument>;
268
171
 
269
- declare const SCreateCampaignKeyDocument: v.ObjectSchema<{
172
+ declare const SQueryListGroupDocuments: v.ObjectSchema<{
173
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
174
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 3, undefined>, v.MaxValueAction<number, 100, undefined>]>, 10>, 10>;
175
+ }, undefined>;
176
+ type SQueryListGroupDocuments = v.InferOutput<typeof SQueryListGroupDocuments>;
177
+ declare const SCreateGroupDocument: v.ObjectSchema<{
270
178
  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">]>;
271
179
  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: - _ .">]>;
272
180
  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>;
273
181
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
182
+ readonly apply_value_to: v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
183
+ readonly apply_value_as: v.PicklistSchema<readonly ["prefix", "suffix"], undefined>;
274
184
  }, undefined>;
275
- type SCreateCampaignKeyDocument = v.InferOutput<typeof SCreateCampaignKeyDocument>;
276
- declare const SCreateCampaignKeyDocumentRequest: v.ObjectSchema<{
277
- readonly documentId: v.StringSchema<"please provide a valid document id">;
278
- readonly data: v.ObjectSchema<{
279
- 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">]>;
280
- 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: - _ .">]>;
281
- 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>;
282
- readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
283
- }, undefined>;
284
- }, undefined>;
285
- type SCreateCampaignKeyDocumentRequest = v.InferOutput<typeof SCreateCampaignKeyDocumentRequest>;
286
- declare const SReadCampaignKeyDocumentById: v.ObjectSchema<{
185
+ type SCreateGroupDocument = v.InferOutput<typeof SCreateGroupDocument>;
186
+ declare const SReadGroupDocumentById: v.ObjectSchema<{
287
187
  readonly id: v.NumberSchema<"please provide a valid id">;
288
188
  }, undefined>;
289
- type SReadCampaignKeyDocumentById = v.InferOutput<typeof SReadCampaignKeyDocumentById>;
290
- declare const SReadCampaignKeyDocumentByDocumentId: v.ObjectSchema<{
189
+ type SReadGroupDocumentById = v.InferOutput<typeof SReadGroupDocumentById>;
190
+ declare const SReadGroupDocumentByDocumentId: v.ObjectSchema<{
291
191
  readonly documentId: v.StringSchema<"please provide a valid document id">;
292
192
  }, undefined>;
293
- type SReadCampaignKeyDocumentByDocumentId = v.InferOutput<typeof SReadCampaignKeyDocumentByDocumentId>;
294
- declare const SUpdateAsCreatorCampaignKeyDocument: v.ObjectSchema<{
193
+ type SReadGroupDocumentByDocumentId = v.InferOutput<typeof SReadGroupDocumentByDocumentId>;
194
+ declare const SUpdateAsCreatorGroupDocument: v.ObjectSchema<{
295
195
  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>;
296
196
  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>;
297
197
  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>;
298
198
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
199
+ readonly apply_value_to: v.UndefinedableSchema<v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>, undefined>;
200
+ readonly apply_value_as: v.UndefinedableSchema<v.PicklistSchema<readonly ["prefix", "suffix"], undefined>, undefined>;
299
201
  }, undefined>;
300
- type SUpdateAsCreatorCampaignKeyDocument = v.InferOutput<typeof SUpdateAsCreatorCampaignKeyDocument>;
301
- declare const SUpdateAsCreatorCampaignKeyDocumentRequest: v.ObjectSchema<{
202
+ type SUpdateAsCreatorGroupDocument = v.InferOutput<typeof SUpdateAsCreatorGroupDocument>;
203
+ declare const SUpdateAsCreatorGroupDocumentRequest: v.ObjectSchema<{
302
204
  readonly documentId: v.StringSchema<"please provide a valid document id">;
303
205
  readonly data: v.ObjectSchema<{
304
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>;
305
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>;
306
208
  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>;
307
209
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
210
+ readonly apply_value_to: v.UndefinedableSchema<v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>, undefined>;
211
+ readonly apply_value_as: v.UndefinedableSchema<v.PicklistSchema<readonly ["prefix", "suffix"], undefined>, undefined>;
308
212
  }, undefined>;
309
213
  }, undefined>;
310
- type SUpdateAsCreatorCampaignKeyDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCampaignKeyDocumentRequest>;
311
- declare const SUpdateAsInvitedCampaignKeyDocument: v.ObjectSchema<{
214
+ type SUpdateAsCreatorGroupDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorGroupDocumentRequest>;
215
+ declare const SUpdateAsInvitedGroupDocument: v.ObjectSchema<{
312
216
  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 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>;
314
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
217
+ 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
218
  }, undefined>;
316
- type SUpdateAsInvitedCampaignKeyDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignKeyDocument>;
317
- declare const SUpdateAsInvitedCampaignKeyDocumentRequest: v.ObjectSchema<{
219
+ type SUpdateAsInvitedGroupDocument = v.InferOutput<typeof SUpdateAsInvitedGroupDocument>;
220
+ declare const SUpdateAsInvitedGroupDocumentRequest: v.ObjectSchema<{
318
221
  readonly documentId: v.StringSchema<"please provide a valid document id">;
319
222
  readonly data: v.ObjectSchema<{
320
223
  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
- 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>;
322
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
224
+ 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>;
323
225
  }, undefined>;
324
226
  }, undefined>;
325
- type SUpdateAsInvitedCampaignKeyDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedCampaignKeyDocumentRequest>;
326
- declare const SUpdateCampaignKeyDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
327
- 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>;
328
- 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>;
329
- 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>;
330
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
227
+ type SUpdateAsInvitedGroupDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedGroupDocumentRequest>;
228
+ declare const SUpdateGroupDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
229
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
230
+ readonly data: v.ObjectSchema<{
231
+ 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>;
232
+ 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>;
233
+ 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>;
234
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
235
+ readonly apply_value_to: v.UndefinedableSchema<v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>, undefined>;
236
+ readonly apply_value_as: v.UndefinedableSchema<v.PicklistSchema<readonly ["prefix", "suffix"], undefined>, undefined>;
237
+ }, undefined>;
331
238
  }, undefined>, v.ObjectSchema<{
332
- 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>;
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>;
334
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
335
- }, undefined>], undefined>;
336
- type SUpdateCampaignKeyDocumentRequest = v.InferOutput<typeof SUpdateCampaignKeyDocumentRequest>;
337
- declare const SDeleteCampaignKeyDocument: v.ObjectSchema<{
338
239
  readonly documentId: v.StringSchema<"please provide a valid document id">;
339
- }, undefined>;
340
- type SDeleteCampaignKeyDocument = v.InferOutput<typeof SDeleteCampaignKeyDocument>;
341
-
342
- declare const SCreateCampaignPhaseDocument: v.ObjectSchema<{
343
- 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">]>;
344
- 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: - _ .">]>;
345
- 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>;
240
+ readonly data: v.ObjectSchema<{
241
+ 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>;
242
+ 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>;
243
+ }, undefined>;
244
+ }, undefined>], undefined>;
245
+ type SUpdateGroupDocumentRequest = v.InferOutput<typeof SUpdateGroupDocumentRequest>;
246
+ declare const SDeleteGroupDocument: v.ObjectSchema<{
247
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
248
+ }, undefined>;
249
+ type SDeleteGroupDocument = v.InferOutput<typeof SDeleteGroupDocument>;
250
+
251
+ declare const SStripeCheckoutLineItem: v.ObjectSchema<{
252
+ readonly price: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a price_id">, v.TrimAction, v.MinLengthAction<string, 2, "the price_id is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the price_id is too long, it must be 64 characters or less">]>;
253
+ readonly quantity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1, undefined>]>;
254
+ }, undefined>;
255
+ type SStripeCheckoutLineItem = v.InferOutput<typeof SStripeCheckoutLineItem>;
256
+ declare const SStripeCheckoutCreateSession: v.ObjectSchema<{
257
+ readonly line_items: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
258
+ readonly price: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a price_id">, v.TrimAction, v.MinLengthAction<string, 2, "the price_id is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the price_id is too long, it must be 64 characters or less">]>;
259
+ readonly quantity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1, undefined>]>;
260
+ }, undefined>, undefined>, v.MinLengthAction<{
261
+ price: string;
262
+ quantity: number;
263
+ }[], 1, undefined>, v.MaxLengthAction<{
264
+ price: string;
265
+ quantity: number;
266
+ }[], 10, undefined>]>;
267
+ readonly mode: v.PicklistSchema<["payment", "subscription"], undefined>;
268
+ readonly success_url: 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>;
269
+ readonly cancel_url: 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>;
270
+ }, undefined>;
271
+ type SStripeCheckoutCreateSession = v.InferOutput<typeof SStripeCheckoutCreateSession>;
272
+
273
+ declare const SQueryListTrackingLinkDocuments: v.ObjectSchema<{
274
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
275
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
276
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
277
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
278
+ readonly destination: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url destination">, v.TrimAction, v.MinLengthAction<string, 10, "the url destination is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 2048, "the url destination is too long, it must be 2048 characters or less">, v.UrlAction<string, "please provide a valid url">]>, undefined>;
279
+ readonly protocol: v.UndefinedableSchema<v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">, undefined>;
280
+ readonly domain: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a domain">, v.TrimAction, v.MinLengthAction<string, 10, "the domain is too short, it must be at least 10 characters">, v.MaxLengthAction<string, 253, "the domain is too long, it must be 253 characters or less">, v.RegexAction<string, "please provide a valid domain name">]>, undefined>;
281
+ readonly path: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url path">, v.TrimAction, v.MinLengthAction<string, 1, "the url path is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url path is too long, it must be 2038 characters or less">]>, undefined>;
282
+ readonly query: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url query">, v.TrimAction, v.MinLengthAction<string, 1, "the url query is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url query is too long, it must be 2038 characters or less">]>, undefined>;
283
+ readonly fragment: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a url hash/fragment">, v.TrimAction, v.MinLengthAction<string, 1, "the url hash/fragment is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2038, "the url hash/fragment is too long, it must be 2038 characters or less">]>, undefined>;
284
+ readonly utm_source: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_source is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_source is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_source can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
285
+ readonly utm_medium: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_medium is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2026, "the utm_medium is too long, it must be 2026 characters or less">, v.RegexAction<string, "utm_medium can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
286
+ readonly utm_campaign: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_campaign is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2024, "the utm_campaign is too long, it must be 2024 characters or less">, v.RegexAction<string, "utm_campaign can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
287
+ readonly utm_creative_format: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_creative_format is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2017, "the utm_creative_format is too long, it must be 2017 characters or less">, v.RegexAction<string, "utm_creative_format can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
288
+ readonly utm_content: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_content is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2025, "the utm_content is too long, it must be 2025 characters or less">, v.RegexAction<string, "utm_content can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
289
+ readonly utm_term: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_term is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2028, "the utm_term is too long, it must be 2028 characters or less">, v.RegexAction<string, "utm_term can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
290
+ readonly utm_id: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "the utm_id is too short, it must be at least 1 characters">, v.MaxLengthAction<string, 2030, "the utm_id is too long, it must be 2030 characters or less">, v.RegexAction<string, "utm_id can only contain letters, numbers, and the special characters: - _ .">]>, undefined>;
291
+ }, undefined>;
292
+ type SQueryListTrackingLinkDocuments = v.InferOutput<typeof SQueryListTrackingLinkDocuments>;
293
+ declare const SCreateTrackingLinkDocument: v.ObjectSchema<{
346
294
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
295
+ 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">]>;
296
+ readonly protocol: v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">;
297
+ 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">]>;
298
+ 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">]>;
299
+ 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">]>;
300
+ 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">]>;
301
+ 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: - _ .">]>;
302
+ 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: - _ .">]>;
303
+ 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: - _ .">]>;
304
+ 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: - _ .">]>;
305
+ 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: - _ .">]>;
306
+ 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: - _ .">]>;
307
+ 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: - _ .">]>;
347
308
  }, undefined>;
348
- type SCreateCampaignPhaseDocument = v.InferOutput<typeof SCreateCampaignPhaseDocument>;
349
- declare const SCreateCampaignPhaseDocumentRequest: v.ObjectSchema<{
309
+ type SCreateTrackingLinkDocument = v.InferOutput<typeof SCreateTrackingLinkDocument>;
310
+ declare const SCreateTrackingLinkDocumentRequest: v.ObjectSchema<{
350
311
  readonly documentId: v.StringSchema<"please provide a valid document id">;
351
312
  readonly data: v.ObjectSchema<{
352
- 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">]>;
353
- 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: - _ .">]>;
354
- 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>;
355
313
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
314
+ 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">]>;
315
+ readonly protocol: v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">;
316
+ 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">]>;
317
+ 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">]>;
318
+ 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">]>;
319
+ 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">]>;
320
+ 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: - _ .">]>;
321
+ 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: - _ .">]>;
322
+ 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: - _ .">]>;
323
+ 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: - _ .">]>;
324
+ 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: - _ .">]>;
325
+ 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: - _ .">]>;
326
+ 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: - _ .">]>;
356
327
  }, undefined>;
357
328
  }, undefined>;
358
- type SCreateCampaignPhaseDocumentRequest = v.InferOutput<typeof SCreateCampaignPhaseDocumentRequest>;
359
- declare const SReadCampaignPhaseDocumentById: v.ObjectSchema<{
329
+ type SCreateTrackingLinkDocumentRequest = v.InferOutput<typeof SCreateTrackingLinkDocumentRequest>;
330
+ declare const SReadTrackingLinkDocumentById: v.ObjectSchema<{
360
331
  readonly id: v.NumberSchema<"please provide a valid id">;
361
332
  }, undefined>;
362
- type SReadCampaignPhaseDocumentById = v.InferOutput<typeof SReadCampaignPhaseDocumentById>;
363
- declare const SReadCampaignPhaseDocumentByDocumentId: v.ObjectSchema<{
333
+ type SReadTrackingLinkDocumentById = v.InferOutput<typeof SReadTrackingLinkDocumentById>;
334
+ declare const SReadTrackingLinkDocumentByDocumentId: v.ObjectSchema<{
364
335
  readonly documentId: v.StringSchema<"please provide a valid document id">;
365
336
  }, undefined>;
366
- type SReadCampaignPhaseDocumentByDocumentId = v.InferOutput<typeof SReadCampaignPhaseDocumentByDocumentId>;
367
- declare const SUpdateAsCreatorCampaignPhaseDocument: v.ObjectSchema<{
368
- 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>;
369
- 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>;
370
- 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>;
371
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
337
+ type SReadTrackingLinkDocumentByDocumentId = v.InferOutput<typeof SReadTrackingLinkDocumentByDocumentId>;
338
+ declare const SUpdateAsCreatorTrackingLinkDocument: v.ObjectSchema<{
339
+ 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>;
340
+ 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>;
341
+ readonly protocol: v.UndefinedableSchema<v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">, undefined>;
342
+ 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>;
343
+ 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>;
344
+ 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>;
345
+ 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>;
346
+ 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>;
347
+ 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>;
348
+ 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>;
349
+ 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>;
350
+ 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>;
351
+ 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>;
352
+ 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>;
372
353
  }, undefined>;
373
- type SUpdateAsCreatorCampaignPhaseDocument = v.InferOutput<typeof SUpdateAsCreatorCampaignPhaseDocument>;
374
- declare const SUpdateAsCreatorCampaignPhaseDocumentRequest: v.ObjectSchema<{
354
+ type SUpdateAsCreatorTrackingLinkDocument = v.InferOutput<typeof SUpdateAsCreatorTrackingLinkDocument>;
355
+ declare const SUpdateAsCreatorTrackingLinkDocumentRequest: v.ObjectSchema<{
375
356
  readonly documentId: v.StringSchema<"please provide a valid document id">;
376
357
  readonly data: v.ObjectSchema<{
377
- 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>;
378
- 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>;
379
- 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>;
380
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
358
+ 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>;
359
+ 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>;
360
+ readonly protocol: v.UndefinedableSchema<v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">, undefined>;
361
+ 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>;
362
+ 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>;
363
+ 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>;
364
+ 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>;
365
+ 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>;
366
+ 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>;
367
+ 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>;
368
+ 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>;
369
+ 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>;
370
+ 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>;
371
+ 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>;
381
372
  }, undefined>;
382
373
  }, undefined>;
383
- type SUpdateAsCreatorCampaignPhaseDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCampaignPhaseDocumentRequest>;
384
- declare const SUpdateAsInvitedCampaignPhaseDocument: v.ObjectSchema<{
385
- 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>;
386
- 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>;
387
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
374
+ type SUpdateAsCreatorTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorTrackingLinkDocumentRequest>;
375
+ declare const SUpdateAsInvitedTrackingLinkDocument: v.ObjectSchema<{
376
+ 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>;
377
+ 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>;
378
+ readonly protocol: v.UndefinedableSchema<v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">, undefined>;
379
+ 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>;
380
+ 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>;
381
+ 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>;
382
+ 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>;
383
+ 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>;
384
+ 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>;
385
+ 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>;
386
+ 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>;
387
+ 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>;
388
+ 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>;
389
+ 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>;
388
390
  }, undefined>;
389
- type SUpdateAsInvitedCampaignPhaseDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignPhaseDocument>;
390
- declare const SUpdateAsInvitedCampaignPhaseDocumentRequest: v.ObjectSchema<{
391
+ type SUpdateAsInvitedTrackingLinkDocument = v.InferOutput<typeof SUpdateAsInvitedTrackingLinkDocument>;
392
+ declare const SUpdateAsInvitedTrackingLinkDocumentRequest: v.ObjectSchema<{
391
393
  readonly documentId: v.StringSchema<"please provide a valid document id">;
392
394
  readonly data: v.ObjectSchema<{
393
- 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>;
394
- 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>;
395
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
395
+ 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>;
396
+ 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>;
397
+ readonly protocol: v.UndefinedableSchema<v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">, undefined>;
398
+ 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>;
399
+ 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>;
400
+ 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>;
401
+ 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>;
402
+ 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>;
403
+ 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>;
404
+ 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>;
405
+ 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>;
406
+ 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>;
407
+ 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>;
408
+ 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>;
396
409
  }, undefined>;
397
410
  }, undefined>;
398
- type SUpdateAsInvitedCampaignPhaseDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedCampaignPhaseDocumentRequest>;
399
- declare const SUpdateCampaignPhaseDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
400
- 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>;
401
- 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>;
402
- 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>;
403
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
411
+ type SUpdateAsInvitedTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedTrackingLinkDocumentRequest>;
412
+ declare const SUpdateTrackingLinkDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
413
+ 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>;
414
+ 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>;
415
+ readonly protocol: v.UndefinedableSchema<v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">, undefined>;
416
+ 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>;
417
+ 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>;
418
+ 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>;
419
+ 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>;
420
+ 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>;
421
+ 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>;
422
+ 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>;
423
+ 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>;
424
+ 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>;
425
+ 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>;
426
+ 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>;
404
427
  }, undefined>, v.ObjectSchema<{
405
- 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>;
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>;
407
- readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
428
+ 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>;
429
+ 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>;
430
+ readonly protocol: v.UndefinedableSchema<v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">, undefined>;
431
+ 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>;
432
+ 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>;
433
+ 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>;
434
+ 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>;
435
+ 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>;
436
+ 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>;
437
+ 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>;
438
+ 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>;
439
+ 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>;
440
+ 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>;
441
+ 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>;
408
442
  }, undefined>], undefined>;
409
- type SUpdateCampaignPhaseDocumentRequest = v.InferOutput<typeof SUpdateCampaignPhaseDocumentRequest>;
410
- declare const SDeleteCampaignPhaseDocument: v.ObjectSchema<{
443
+ type SUpdateTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateTrackingLinkDocumentRequest>;
444
+ declare const SDeleteTrackingLinkDocument: v.ObjectSchema<{
411
445
  readonly documentId: v.StringSchema<"please provide a valid document id">;
412
446
  }, undefined>;
413
- type SDeleteCampaignPhaseDocument = v.InferOutput<typeof SDeleteCampaignPhaseDocument>;
447
+ type SDeleteTrackingLinkDocument = v.InferOutput<typeof SDeleteTrackingLinkDocument>;
414
448
 
415
- declare const SCreateCampaignProductDocument: v.ObjectSchema<{
449
+ declare const SQueryListUserAccountDocuments: v.ObjectSchema<{
450
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
451
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
452
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 100, undefined>]>, 10>, 10>;
453
+ 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>;
454
+ 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>;
455
+ readonly subscription_status: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a subscription status">, v.TrimAction, v.PicklistSchema<readonly ["incomplete", "incomplete_expired", "trialing", "active", "past_due", "canceled", "unpaid", "paused"], undefined>]>, undefined>;
456
+ readonly current_period_start_after: v.UndefinedableSchema<v.NullableSchema<v.DateSchema<undefined>, undefined>, undefined>;
457
+ readonly current_period_start_before: v.UndefinedableSchema<v.NullableSchema<v.DateSchema<undefined>, undefined>, undefined>;
458
+ readonly current_period_end_after: v.UndefinedableSchema<v.NullableSchema<v.DateSchema<undefined>, undefined>, undefined>;
459
+ readonly current_period_end_before: v.UndefinedableSchema<v.NullableSchema<v.DateSchema<undefined>, undefined>, undefined>;
460
+ readonly trial_period_end_after: v.UndefinedableSchema<v.DateSchema<undefined>, undefined>;
461
+ readonly trial_period_end_before: v.UndefinedableSchema<v.DateSchema<undefined>, undefined>;
462
+ }, undefined>;
463
+ type SQueryListUserAccountDocuments = v.InferOutput<typeof SQueryListUserAccountDocuments>;
464
+ declare const SCreateUserAccountDocument: v.ObjectSchema<{
465
+ 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>;
466
+ 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>;
467
+ readonly subscription_status: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a subscription status">, v.TrimAction, v.PicklistSchema<readonly ["incomplete", "incomplete_expired", "trialing", "active", "past_due", "canceled", "unpaid", "paused"], undefined>]>;
468
+ readonly current_period_start: v.NullableSchema<v.DateSchema<undefined>, undefined>;
469
+ readonly current_period_end: v.NullableSchema<v.DateSchema<undefined>, undefined>;
470
+ readonly trial_period_end: v.UndefinedableSchema<v.DateSchema<undefined>, undefined>;
471
+ }, undefined>;
472
+ type SCreateUserAccountDocument = v.InferOutput<typeof SCreateUserAccountDocument>;
473
+ declare const SReadUserAccountDocumentById: v.ObjectSchema<{
474
+ readonly id: v.NumberSchema<"please provide a valid id">;
475
+ }, undefined>;
476
+ type SReadUserAccountDocumentById = v.InferOutput<typeof SReadUserAccountDocumentById>;
477
+ declare const SReadUserAccountDocumentByDocumentId: v.ObjectSchema<{
478
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
479
+ }, undefined>;
480
+ type SReadUserAccountDocumentByDocumentId = v.InferOutput<typeof SReadUserAccountDocumentByDocumentId>;
481
+ declare const SUpdateUserAccountDocument: v.ObjectSchema<{
482
+ 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>;
483
+ 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>;
484
+ readonly subscription_status: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a subscription status">, v.TrimAction, v.PicklistSchema<readonly ["incomplete", "incomplete_expired", "trialing", "active", "past_due", "canceled", "unpaid", "paused"], undefined>]>, undefined>;
485
+ readonly current_period_start: v.UndefinedableSchema<v.NullableSchema<v.DateSchema<undefined>, undefined>, undefined>;
486
+ readonly current_period_end: v.UndefinedableSchema<v.NullableSchema<v.DateSchema<undefined>, undefined>, undefined>;
487
+ readonly trial_period_end: v.UndefinedableSchema<v.DateSchema<undefined>, undefined>;
488
+ }, undefined>;
489
+ type SUpdateUserAccountDocument = v.InferOutput<typeof SUpdateUserAccountDocument>;
490
+
491
+ declare const SQueryListUserLimitationDocuments: v.ObjectSchema<{
492
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
493
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
494
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 100, undefined>]>, 10>, 10>;
495
+ }, undefined>;
496
+ type SQueryListUserLimitationDocuments = v.InferOutput<typeof SQueryListUserLimitationDocuments>;
497
+ declare const SCreateUserLimitationsDocument: v.ObjectSchema<{
498
+ readonly limit_groups: v.NumberSchema<undefined>;
499
+ readonly limit_group_users: v.NumberSchema<undefined>;
500
+ readonly limit_websites: v.NumberSchema<undefined>;
501
+ readonly limit_tracking_links: v.NumberSchema<undefined>;
502
+ readonly limit_sources: v.NumberSchema<undefined>;
503
+ readonly limit_mediums: v.NumberSchema<undefined>;
504
+ readonly limit_campaign_ids: v.NumberSchema<undefined>;
505
+ readonly limit_campaign_keys: v.NumberSchema<undefined>;
506
+ readonly limit_campaign_phases: v.NumberSchema<undefined>;
507
+ readonly limit_campaign_products: v.NumberSchema<undefined>;
508
+ readonly limit_contents: v.NumberSchema<undefined>;
509
+ readonly limit_creative_formats: v.NumberSchema<undefined>;
510
+ readonly limit_creative_format_variants: v.NumberSchema<undefined>;
511
+ readonly limit_terms: v.NumberSchema<undefined>;
512
+ }, undefined>;
513
+ type SCreateUserLimitationsDocument = v.InferOutput<typeof SCreateUserLimitationsDocument>;
514
+ declare const SReadUserLimitationsDocumentById: v.ObjectSchema<{
515
+ readonly id: v.NumberSchema<"please provide a valid id">;
516
+ }, undefined>;
517
+ type SReadUserLimitationsDocumentById = v.InferOutput<typeof SReadUserLimitationsDocumentById>;
518
+ declare const SReadUserLimitationsDocumentByDocumentId: v.ObjectSchema<{
519
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
520
+ }, undefined>;
521
+ type SReadUserLimitationsDocumentByDocumentId = v.InferOutput<typeof SReadUserLimitationsDocumentByDocumentId>;
522
+ declare const SUpdateUserLimitationsDocument: v.ObjectSchema<{
523
+ readonly limit_groups: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
524
+ readonly limit_group_users: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
525
+ readonly limit_websites: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
526
+ readonly limit_tracking_links: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
527
+ readonly limit_sources: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
528
+ readonly limit_mediums: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
529
+ readonly limit_campaign_ids: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
530
+ readonly limit_campaign_keys: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
531
+ readonly limit_campaign_phases: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
532
+ readonly limit_campaign_products: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
533
+ readonly limit_contents: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
534
+ readonly limit_creative_formats: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
535
+ readonly limit_creative_format_variants: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
536
+ readonly limit_terms: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
537
+ }, undefined>;
538
+ type SUpdateUserLimitationsDocument = v.InferOutput<typeof SUpdateUserLimitationsDocument>;
539
+
540
+ declare const SReadUserDocumentToken: v.ObjectSchema<{
541
+ readonly token: v.StringSchema<undefined>;
542
+ }, undefined>;
543
+ type SReadUserDocumentToken = v.InferOutput<typeof SReadUserDocumentToken>;
544
+ declare const SLoginUserDocument: v.ObjectSchema<{
545
+ 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: - _ .">]>;
546
+ 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">]>;
547
+ }, undefined>;
548
+ type SLoginUserDocument = v.InferOutput<typeof SLoginUserDocument>;
549
+ declare const SRegisterUserDocument: v.ObjectSchema<{
550
+ 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: - _ .">]>;
551
+ 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">]>;
552
+ 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">]>;
553
+ }, undefined>;
554
+ type SRegisterUserDocument = v.InferOutput<typeof SRegisterUserDocument>;
555
+ declare const SForgotPasswordUserDocument: v.ObjectSchema<{
556
+ 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">]>;
557
+ }, undefined>;
558
+ type SForgotPasswordUserDocument = v.InferOutput<typeof SForgotPasswordUserDocument>;
559
+ declare const SResetPasswordUserDocument: v.ObjectSchema<{
560
+ 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">]>;
561
+ 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">]>;
562
+ readonly code: v.StringSchema<undefined>;
563
+ }, undefined>;
564
+ type SResetPasswordUserDocument = v.InferOutput<typeof SResetPasswordUserDocument>;
565
+ declare const SRequestConfirmEmail: v.ObjectSchema<{
566
+ 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">]>;
567
+ }, undefined>;
568
+ type SRequestConfirmEmail = v.InferOutput<typeof SRequestConfirmEmail>;
569
+ declare const SQueryListUserDocuments: v.ObjectSchema<{
570
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
571
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 3, undefined>, v.MaxValueAction<number, 10, undefined>]>, 10>, 10>;
572
+ }, undefined>;
573
+ type SQueryListUserDocuments = v.InferOutput<typeof SQueryListUserDocuments>;
574
+ declare const SQueryListUserDocumentsByIdentifier: v.ObjectSchema<{
575
+ readonly identifier: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>;
576
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
577
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 3, undefined>, v.MaxValueAction<number, 10, undefined>]>, 10>, 10>;
578
+ }, undefined>;
579
+ type SQueryListUserDocumentsByIdentifier = v.InferOutput<typeof SQueryListUserDocumentsByIdentifier>;
580
+ declare const SReadUserDocumentById: v.ObjectSchema<{
581
+ readonly id: v.NumberSchema<"please provide a valid id">;
582
+ }, undefined>;
583
+ type SReadUserDocumentById = v.InferOutput<typeof SReadUserDocumentById>;
584
+ declare const SReadUserDocumentByDocumentId: v.ObjectSchema<{
585
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
586
+ }, undefined>;
587
+ type SReadUserDocumentByDocumentId = v.InferOutput<typeof SReadUserDocumentByDocumentId>;
588
+
589
+ declare const SQueryListCampaignIdDocuments: v.ObjectSchema<{
590
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
591
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
592
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
593
+ }, undefined>;
594
+ type SQueryListCampaignIdDocuments = v.InferOutput<typeof SQueryListCampaignIdDocuments>;
595
+ declare const SCreateCampaignIdDocument: v.ObjectSchema<{
596
+ 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">]>;
416
597
  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">]>;
417
598
  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: - _ .">]>;
418
599
  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>;
419
600
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
420
601
  }, undefined>;
421
- type SCreateCampaignProductDocument = v.InferOutput<typeof SCreateCampaignProductDocument>;
422
- declare const SCreateCampaignProductDocumentRequest: v.ObjectSchema<{
602
+ type SCreateCampaignIdDocument = v.InferOutput<typeof SCreateCampaignIdDocument>;
603
+ declare const SCreateCampaignIdDocumentRequest: v.ObjectSchema<{
423
604
  readonly documentId: v.StringSchema<"please provide a valid document id">;
424
605
  readonly data: v.ObjectSchema<{
606
+ 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">]>;
425
607
  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">]>;
426
608
  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: - _ .">]>;
427
609
  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>;
428
610
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
429
611
  }, undefined>;
430
612
  }, undefined>;
431
- type SCreateCampaignProductDocumentRequest = v.InferOutput<typeof SCreateCampaignProductDocumentRequest>;
432
- declare const SReadCampaignProductDocumentById: v.ObjectSchema<{
613
+ type SCreateCampaignIdDocumentRequest = v.InferOutput<typeof SCreateCampaignIdDocumentRequest>;
614
+ declare const SReadCampaignIdDocumentById: v.ObjectSchema<{
433
615
  readonly id: v.NumberSchema<"please provide a valid id">;
434
616
  }, undefined>;
435
- type SReadCampaignProductDocumentById = v.InferOutput<typeof SReadCampaignProductDocumentById>;
436
- declare const SReadCampaignProductDocumentByDocumentId: v.ObjectSchema<{
617
+ type SReadCampaignIdDocumentById = v.InferOutput<typeof SReadCampaignIdDocumentById>;
618
+ declare const SReadCampaignIdDocumentByDocumentId: v.ObjectSchema<{
437
619
  readonly documentId: v.StringSchema<"please provide a valid document id">;
438
620
  }, undefined>;
439
- type SReadCampaignProductDocumentByDocumentId = v.InferOutput<typeof SReadCampaignProductDocumentByDocumentId>;
440
- declare const SUpdateAsCreatorCampaignProductDocument: v.ObjectSchema<{
621
+ type SReadCampaignIdDocumentByDocumentId = v.InferOutput<typeof SReadCampaignIdDocumentByDocumentId>;
622
+ declare const SUpdateAsCreatorCampaignIdDocument: v.ObjectSchema<{
623
+ 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>;
441
624
  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>;
442
625
  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>;
443
- 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>;
626
+ 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>;
444
627
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
445
628
  }, undefined>;
446
- type SUpdateAsCreatorCampaignProductDocument = v.InferOutput<typeof SUpdateAsCreatorCampaignProductDocument>;
447
- declare const SUpdateAsCreatorCampaignProductDocumentRequest: v.ObjectSchema<{
629
+ type SUpdateAsCreatorCampaignIdDocument = v.InferOutput<typeof SUpdateAsCreatorCampaignIdDocument>;
630
+ declare const SUpdateAsCreatorCampaignIdDocumentRequest: v.ObjectSchema<{
448
631
  readonly documentId: v.StringSchema<"please provide a valid document id">;
449
632
  readonly data: v.ObjectSchema<{
633
+ 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>;
450
634
  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>;
451
635
  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>;
452
- 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>;
636
+ 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>;
453
637
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
454
638
  }, undefined>;
455
639
  }, undefined>;
456
- type SUpdateAsCreatorCampaignProductDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCampaignProductDocumentRequest>;
457
- declare const SUpdateAsInvitedCampaignProductDocument: v.ObjectSchema<{
640
+ type SUpdateAsCreatorCampaignIdDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCampaignIdDocumentRequest>;
641
+ declare const SUpdateAsInvitedCampaignIdDocument: v.ObjectSchema<{
458
642
  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>;
459
643
  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>;
460
644
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
461
645
  }, undefined>;
462
- type SUpdateAsInvitedCampaignProductDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignProductDocument>;
463
- declare const SUpdateAsInvitedCampaignProductDocumentRequest: v.ObjectSchema<{
646
+ type SUpdateAsInvitedCampaignIdDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignIdDocument>;
647
+ declare const SUpdateAsInvitedCampaignIdDocumentRequest: v.ObjectSchema<{
464
648
  readonly documentId: v.StringSchema<"please provide a valid document id">;
465
649
  readonly data: v.ObjectSchema<{
466
650
  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>;
@@ -468,31 +652,38 @@ declare const SUpdateAsInvitedCampaignProductDocumentRequest: v.ObjectSchema<{
468
652
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
469
653
  }, undefined>;
470
654
  }, undefined>;
471
- type SUpdateAsInvitedCampaignProductDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedCampaignProductDocumentRequest>;
472
- declare const SUpdateCampaignProductDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
655
+ type SUpdateAsInvitedCampaignIdDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedCampaignIdDocumentRequest>;
656
+ declare const SUpdateCampaignIdDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
657
+ 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>;
473
658
  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>;
474
659
  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>;
475
- 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>;
660
+ 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>;
476
661
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
477
662
  }, undefined>, v.ObjectSchema<{
478
663
  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>;
479
664
  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>;
480
665
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
481
666
  }, undefined>], undefined>;
482
- type SUpdateCampaignProductDocumentRequest = v.InferOutput<typeof SUpdateCampaignProductDocumentRequest>;
483
- declare const SDeleteCampaignProductDocument: v.ObjectSchema<{
667
+ type SUpdateCampaignIdDocumentRequest = v.InferOutput<typeof SUpdateCampaignIdDocumentRequest>;
668
+ declare const SDeleteCampaignIdDocument: v.ObjectSchema<{
484
669
  readonly documentId: v.StringSchema<"please provide a valid document id">;
485
670
  }, undefined>;
486
- type SDeleteCampaignProductDocument = v.InferOutput<typeof SDeleteCampaignProductDocument>;
671
+ type SDeleteCampaignIdDocument = v.InferOutput<typeof SDeleteCampaignIdDocument>;
487
672
 
488
- declare const SCreateContentDocument: v.ObjectSchema<{
673
+ declare const SQueryListCampaignKeyDocuments: v.ObjectSchema<{
674
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
675
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
676
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
677
+ }, undefined>;
678
+ type SQueryListCampaignKeyDocuments = v.InferOutput<typeof SQueryListCampaignKeyDocuments>;
679
+ declare const SCreateCampaignKeyDocument: v.ObjectSchema<{
489
680
  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">]>;
490
681
  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: - _ .">]>;
491
682
  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>;
492
683
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
493
684
  }, undefined>;
494
- type SCreateContentDocument = v.InferOutput<typeof SCreateContentDocument>;
495
- declare const SCreateContentDocumentRequest: v.ObjectSchema<{
685
+ type SCreateCampaignKeyDocument = v.InferOutput<typeof SCreateCampaignKeyDocument>;
686
+ declare const SCreateCampaignKeyDocumentRequest: v.ObjectSchema<{
496
687
  readonly documentId: v.StringSchema<"please provide a valid document id">;
497
688
  readonly data: v.ObjectSchema<{
498
689
  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">]>;
@@ -501,23 +692,23 @@ declare const SCreateContentDocumentRequest: v.ObjectSchema<{
501
692
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
502
693
  }, undefined>;
503
694
  }, undefined>;
504
- type SCreateContentDocumentRequest = v.InferOutput<typeof SCreateContentDocumentRequest>;
505
- declare const SReadContentDocumentById: v.ObjectSchema<{
695
+ type SCreateCampaignKeyDocumentRequest = v.InferOutput<typeof SCreateCampaignKeyDocumentRequest>;
696
+ declare const SReadCampaignKeyDocumentById: v.ObjectSchema<{
506
697
  readonly id: v.NumberSchema<"please provide a valid id">;
507
698
  }, undefined>;
508
- type SReadContentDocumentById = v.InferOutput<typeof SReadContentDocumentById>;
509
- declare const SReadContentDocumentByDocumentId: v.ObjectSchema<{
699
+ type SReadCampaignKeyDocumentById = v.InferOutput<typeof SReadCampaignKeyDocumentById>;
700
+ declare const SReadCampaignKeyDocumentByDocumentId: v.ObjectSchema<{
510
701
  readonly documentId: v.StringSchema<"please provide a valid document id">;
511
702
  }, undefined>;
512
- type SReadContentDocumentByDocumentId = v.InferOutput<typeof SReadContentDocumentByDocumentId>;
513
- declare const SUpdateAsCreatorContentDocument: v.ObjectSchema<{
703
+ type SReadCampaignKeyDocumentByDocumentId = v.InferOutput<typeof SReadCampaignKeyDocumentByDocumentId>;
704
+ declare const SUpdateAsCreatorCampaignKeyDocument: v.ObjectSchema<{
514
705
  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>;
515
706
  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>;
516
707
  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>;
517
708
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
518
709
  }, undefined>;
519
- type SUpdateAsCreatorContentDocument = v.InferOutput<typeof SUpdateAsCreatorContentDocument>;
520
- declare const SUpdateAsCreatorContentDocumentRequest: v.ObjectSchema<{
710
+ type SUpdateAsCreatorCampaignKeyDocument = v.InferOutput<typeof SUpdateAsCreatorCampaignKeyDocument>;
711
+ declare const SUpdateAsCreatorCampaignKeyDocumentRequest: v.ObjectSchema<{
521
712
  readonly documentId: v.StringSchema<"please provide a valid document id">;
522
713
  readonly data: v.ObjectSchema<{
523
714
  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>;
@@ -526,14 +717,14 @@ declare const SUpdateAsCreatorContentDocumentRequest: v.ObjectSchema<{
526
717
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
527
718
  }, undefined>;
528
719
  }, undefined>;
529
- type SUpdateAsCreatorContentDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorContentDocumentRequest>;
530
- declare const SUpdateAsInvitedContentDocument: v.ObjectSchema<{
720
+ type SUpdateAsCreatorCampaignKeyDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCampaignKeyDocumentRequest>;
721
+ declare const SUpdateAsInvitedCampaignKeyDocument: v.ObjectSchema<{
531
722
  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>;
532
723
  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>;
533
724
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
534
725
  }, undefined>;
535
- type SUpdateAsInvitedContentDocument = v.InferOutput<typeof SUpdateAsInvitedContentDocument>;
536
- declare const SUpdateAsInvitedContentDocumentRequest: v.ObjectSchema<{
726
+ type SUpdateAsInvitedCampaignKeyDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignKeyDocument>;
727
+ declare const SUpdateAsInvitedCampaignKeyDocumentRequest: v.ObjectSchema<{
537
728
  readonly documentId: v.StringSchema<"please provide a valid document id">;
538
729
  readonly data: v.ObjectSchema<{
539
730
  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>;
@@ -541,8 +732,8 @@ declare const SUpdateAsInvitedContentDocumentRequest: v.ObjectSchema<{
541
732
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
542
733
  }, undefined>;
543
734
  }, undefined>;
544
- type SUpdateAsInvitedContentDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedContentDocumentRequest>;
545
- declare const SUpdateContentDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
735
+ type SUpdateAsInvitedCampaignKeyDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedCampaignKeyDocumentRequest>;
736
+ declare const SUpdateCampaignKeyDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
546
737
  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>;
547
738
  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>;
548
739
  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>;
@@ -552,20 +743,26 @@ declare const SUpdateContentDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
552
743
  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>;
553
744
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
554
745
  }, undefined>], undefined>;
555
- type SUpdateContentDocumentRequest = v.InferOutput<typeof SUpdateContentDocumentRequest>;
556
- declare const SDeleteContentDocument: v.ObjectSchema<{
746
+ type SUpdateCampaignKeyDocumentRequest = v.InferOutput<typeof SUpdateCampaignKeyDocumentRequest>;
747
+ declare const SDeleteCampaignKeyDocument: v.ObjectSchema<{
557
748
  readonly documentId: v.StringSchema<"please provide a valid document id">;
558
749
  }, undefined>;
559
- type SDeleteContentDocument = v.InferOutput<typeof SDeleteContentDocument>;
750
+ type SDeleteCampaignKeyDocument = v.InferOutput<typeof SDeleteCampaignKeyDocument>;
560
751
 
561
- declare const SCreateCreativeFormatVariantDocument: v.ObjectSchema<{
752
+ declare const SQueryListCampaignPhaseDocuments: v.ObjectSchema<{
753
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
754
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
755
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
756
+ }, undefined>;
757
+ type SQueryListCampaignPhaseDocuments = v.InferOutput<typeof SQueryListCampaignPhaseDocuments>;
758
+ declare const SCreateCampaignPhaseDocument: v.ObjectSchema<{
562
759
  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">]>;
563
760
  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: - _ .">]>;
564
761
  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>;
565
762
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
566
763
  }, undefined>;
567
- type SCreateCreativeFormatVariantDocument = v.InferOutput<typeof SCreateCreativeFormatVariantDocument>;
568
- declare const SCreateCreativeFormatVariantDocumentRequest: v.ObjectSchema<{
764
+ type SCreateCampaignPhaseDocument = v.InferOutput<typeof SCreateCampaignPhaseDocument>;
765
+ declare const SCreateCampaignPhaseDocumentRequest: v.ObjectSchema<{
569
766
  readonly documentId: v.StringSchema<"please provide a valid document id">;
570
767
  readonly data: v.ObjectSchema<{
571
768
  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">]>;
@@ -574,23 +771,23 @@ declare const SCreateCreativeFormatVariantDocumentRequest: v.ObjectSchema<{
574
771
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
575
772
  }, undefined>;
576
773
  }, undefined>;
577
- type SCreateCreativeFormatVariantDocumentRequest = v.InferOutput<typeof SCreateCreativeFormatVariantDocumentRequest>;
578
- declare const SReadCreativeFormatVariantDocumentById: v.ObjectSchema<{
774
+ type SCreateCampaignPhaseDocumentRequest = v.InferOutput<typeof SCreateCampaignPhaseDocumentRequest>;
775
+ declare const SReadCampaignPhaseDocumentById: v.ObjectSchema<{
579
776
  readonly id: v.NumberSchema<"please provide a valid id">;
580
777
  }, undefined>;
581
- type SReadCreativeFormatVariantDocumentById = v.InferOutput<typeof SReadCreativeFormatVariantDocumentById>;
582
- declare const SReadCreativeFormatVariantDocumentByDocumentId: v.ObjectSchema<{
778
+ type SReadCampaignPhaseDocumentById = v.InferOutput<typeof SReadCampaignPhaseDocumentById>;
779
+ declare const SReadCampaignPhaseDocumentByDocumentId: v.ObjectSchema<{
583
780
  readonly documentId: v.StringSchema<"please provide a valid document id">;
584
781
  }, undefined>;
585
- type SReadCreativeFormatVariantDocumentByDocumentId = v.InferOutput<typeof SReadCreativeFormatVariantDocumentByDocumentId>;
586
- declare const SUpdateAsCreatorCreativeFormatVariantDocument: v.ObjectSchema<{
782
+ type SReadCampaignPhaseDocumentByDocumentId = v.InferOutput<typeof SReadCampaignPhaseDocumentByDocumentId>;
783
+ declare const SUpdateAsCreatorCampaignPhaseDocument: v.ObjectSchema<{
587
784
  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>;
588
785
  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>;
589
786
  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>;
590
787
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
591
788
  }, undefined>;
592
- type SUpdateAsCreatorCreativeFormatVariantDocument = v.InferOutput<typeof SUpdateAsCreatorCreativeFormatVariantDocument>;
593
- declare const SUpdateAsCreatorCreativeFormatVariantDocumentRequest: v.ObjectSchema<{
789
+ type SUpdateAsCreatorCampaignPhaseDocument = v.InferOutput<typeof SUpdateAsCreatorCampaignPhaseDocument>;
790
+ declare const SUpdateAsCreatorCampaignPhaseDocumentRequest: v.ObjectSchema<{
594
791
  readonly documentId: v.StringSchema<"please provide a valid document id">;
595
792
  readonly data: v.ObjectSchema<{
596
793
  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>;
@@ -599,14 +796,14 @@ declare const SUpdateAsCreatorCreativeFormatVariantDocumentRequest: v.ObjectSche
599
796
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
600
797
  }, undefined>;
601
798
  }, undefined>;
602
- type SUpdateAsCreatorCreativeFormatVariantDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCreativeFormatVariantDocumentRequest>;
603
- declare const SUpdateAsInvitedCreativeFormatVariantDocument: v.ObjectSchema<{
799
+ type SUpdateAsCreatorCampaignPhaseDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCampaignPhaseDocumentRequest>;
800
+ declare const SUpdateAsInvitedCampaignPhaseDocument: v.ObjectSchema<{
604
801
  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>;
605
802
  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>;
606
803
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
607
804
  }, undefined>;
608
- type SUpdateAsInvitedCreativeFormatVariantDocument = v.InferOutput<typeof SUpdateAsInvitedCreativeFormatVariantDocument>;
609
- declare const SUpdateAsInvitedCreativeFormatVariantDocumentRequest: v.ObjectSchema<{
805
+ type SUpdateAsInvitedCampaignPhaseDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignPhaseDocument>;
806
+ declare const SUpdateAsInvitedCampaignPhaseDocumentRequest: v.ObjectSchema<{
610
807
  readonly documentId: v.StringSchema<"please provide a valid document id">;
611
808
  readonly data: v.ObjectSchema<{
612
809
  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,8 +811,8 @@ declare const SUpdateAsInvitedCreativeFormatVariantDocumentRequest: v.ObjectSche
614
811
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
615
812
  }, undefined>;
616
813
  }, undefined>;
617
- type SUpdateAsInvitedCreativeFormatVariantDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedCreativeFormatVariantDocumentRequest>;
618
- declare const SUpdateCreativeFormatVariantDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
814
+ type SUpdateAsInvitedCampaignPhaseDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedCampaignPhaseDocumentRequest>;
815
+ declare const SUpdateCampaignPhaseDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
619
816
  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>;
620
817
  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>;
621
818
  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>;
@@ -625,20 +822,26 @@ declare const SUpdateCreativeFormatVariantDocumentRequest: v.UnionSchema<[v.Obje
625
822
  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>;
626
823
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
627
824
  }, undefined>], undefined>;
628
- type SUpdateCreativeFormatVariantDocumentRequest = v.InferOutput<typeof SUpdateCreativeFormatVariantDocumentRequest>;
629
- declare const SDeleteCreativeFormatVariantDocument: v.ObjectSchema<{
825
+ type SUpdateCampaignPhaseDocumentRequest = v.InferOutput<typeof SUpdateCampaignPhaseDocumentRequest>;
826
+ declare const SDeleteCampaignPhaseDocument: v.ObjectSchema<{
630
827
  readonly documentId: v.StringSchema<"please provide a valid document id">;
631
828
  }, undefined>;
632
- type SDeleteCreativeFormatVariantDocument = v.InferOutput<typeof SDeleteCreativeFormatVariantDocument>;
829
+ type SDeleteCampaignPhaseDocument = v.InferOutput<typeof SDeleteCampaignPhaseDocument>;
633
830
 
634
- declare const SCreateCreativeFormatDocument: v.ObjectSchema<{
831
+ declare const SQueryListCampaignProductDocuments: v.ObjectSchema<{
832
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
833
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
834
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
835
+ }, undefined>;
836
+ type SQueryListCampaignProductDocuments = v.InferOutput<typeof SQueryListCampaignProductDocuments>;
837
+ declare const SCreateCampaignProductDocument: v.ObjectSchema<{
635
838
  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">]>;
636
839
  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: - _ .">]>;
637
840
  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>;
638
841
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
639
842
  }, undefined>;
640
- type SCreateCreativeFormatDocument = v.InferOutput<typeof SCreateCreativeFormatDocument>;
641
- declare const SCreateCreativeFormatDocumentRequest: v.ObjectSchema<{
843
+ type SCreateCampaignProductDocument = v.InferOutput<typeof SCreateCampaignProductDocument>;
844
+ declare const SCreateCampaignProductDocumentRequest: v.ObjectSchema<{
642
845
  readonly documentId: v.StringSchema<"please provide a valid document id">;
643
846
  readonly data: v.ObjectSchema<{
644
847
  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">]>;
@@ -647,23 +850,23 @@ declare const SCreateCreativeFormatDocumentRequest: v.ObjectSchema<{
647
850
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
648
851
  }, undefined>;
649
852
  }, undefined>;
650
- type SCreateCreativeFormatDocumentRequest = v.InferOutput<typeof SCreateCreativeFormatDocumentRequest>;
651
- declare const SReadCreativeFormatDocumentById: v.ObjectSchema<{
853
+ type SCreateCampaignProductDocumentRequest = v.InferOutput<typeof SCreateCampaignProductDocumentRequest>;
854
+ declare const SReadCampaignProductDocumentById: v.ObjectSchema<{
652
855
  readonly id: v.NumberSchema<"please provide a valid id">;
653
856
  }, undefined>;
654
- type SReadCreativeFormatDocumentById = v.InferOutput<typeof SReadCreativeFormatDocumentById>;
655
- declare const SReadCreativeFormatDocumentByDocumentId: v.ObjectSchema<{
857
+ type SReadCampaignProductDocumentById = v.InferOutput<typeof SReadCampaignProductDocumentById>;
858
+ declare const SReadCampaignProductDocumentByDocumentId: v.ObjectSchema<{
656
859
  readonly documentId: v.StringSchema<"please provide a valid document id">;
657
860
  }, undefined>;
658
- type SReadCreativeFormatDocumentByDocumentId = v.InferOutput<typeof SReadCreativeFormatDocumentByDocumentId>;
659
- declare const SUpdateAsCreatorCreativeFormatDocument: v.ObjectSchema<{
861
+ type SReadCampaignProductDocumentByDocumentId = v.InferOutput<typeof SReadCampaignProductDocumentByDocumentId>;
862
+ declare const SUpdateAsCreatorCampaignProductDocument: v.ObjectSchema<{
660
863
  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>;
661
864
  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>;
662
865
  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>;
663
866
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
664
867
  }, undefined>;
665
- type SUpdateAsCreatorCreativeFormatDocument = v.InferOutput<typeof SUpdateAsCreatorCreativeFormatDocument>;
666
- declare const SUpdateAsCreatorCreativeFormatDocumentRequest: v.ObjectSchema<{
868
+ type SUpdateAsCreatorCampaignProductDocument = v.InferOutput<typeof SUpdateAsCreatorCampaignProductDocument>;
869
+ declare const SUpdateAsCreatorCampaignProductDocumentRequest: v.ObjectSchema<{
667
870
  readonly documentId: v.StringSchema<"please provide a valid document id">;
668
871
  readonly data: v.ObjectSchema<{
669
872
  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>;
@@ -672,14 +875,14 @@ declare const SUpdateAsCreatorCreativeFormatDocumentRequest: v.ObjectSchema<{
672
875
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
673
876
  }, undefined>;
674
877
  }, undefined>;
675
- type SUpdateAsCreatorCreativeFormatDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCreativeFormatDocumentRequest>;
676
- declare const SUpdateAsInvitedCreativeFormatDocument: v.ObjectSchema<{
878
+ type SUpdateAsCreatorCampaignProductDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCampaignProductDocumentRequest>;
879
+ declare const SUpdateAsInvitedCampaignProductDocument: v.ObjectSchema<{
677
880
  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>;
678
881
  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>;
679
882
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
680
883
  }, undefined>;
681
- type SUpdateAsInvitedCreativeFormatDocument = v.InferOutput<typeof SUpdateAsInvitedCreativeFormatDocument>;
682
- declare const SUpdateAsInvitedCreativeFormatDocumentRequest: v.ObjectSchema<{
884
+ type SUpdateAsInvitedCampaignProductDocument = v.InferOutput<typeof SUpdateAsInvitedCampaignProductDocument>;
885
+ declare const SUpdateAsInvitedCampaignProductDocumentRequest: v.ObjectSchema<{
683
886
  readonly documentId: v.StringSchema<"please provide a valid document id">;
684
887
  readonly data: v.ObjectSchema<{
685
888
  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>;
@@ -687,8 +890,8 @@ declare const SUpdateAsInvitedCreativeFormatDocumentRequest: v.ObjectSchema<{
687
890
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
688
891
  }, undefined>;
689
892
  }, undefined>;
690
- type SUpdateAsInvitedCreativeFormatDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedCreativeFormatDocumentRequest>;
691
- declare const SUpdateCreativeFormatDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
893
+ type SUpdateAsInvitedCampaignProductDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedCampaignProductDocumentRequest>;
894
+ declare const SUpdateCampaignProductDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
692
895
  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>;
693
896
  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>;
694
897
  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>;
@@ -698,133 +901,105 @@ declare const SUpdateCreativeFormatDocumentRequest: v.UnionSchema<[v.ObjectSchem
698
901
  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>;
699
902
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
700
903
  }, undefined>], undefined>;
701
- type SUpdateCreativeFormatDocumentRequest = v.InferOutput<typeof SUpdateCreativeFormatDocumentRequest>;
702
- declare const SDeleteCreativeFormatDocument: v.ObjectSchema<{
904
+ type SUpdateCampaignProductDocumentRequest = v.InferOutput<typeof SUpdateCampaignProductDocumentRequest>;
905
+ declare const SDeleteCampaignProductDocument: v.ObjectSchema<{
703
906
  readonly documentId: v.StringSchema<"please provide a valid document id">;
704
907
  }, undefined>;
705
- type SDeleteCreativeFormatDocument = v.InferOutput<typeof SDeleteCreativeFormatDocument>;
908
+ type SDeleteCampaignProductDocument = v.InferOutput<typeof SDeleteCampaignProductDocument>;
706
909
 
707
- declare const SCreateGroupUserDocument: v.ObjectSchema<{
708
- readonly group: v.StringSchema<"please provide a valid document id">;
709
- readonly user: v.StringSchema<"please provide a valid document id">;
710
- readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<GroupEntityScope[], "invalid group scope provided">]>, "please provide an array of scopes">, v.MinLengthAction<GroupEntityScope[], 1, "you must provide at least one scope">, v.MaxLengthAction<GroupEntityScope[], number, "you cannot provide more scopes than available">]>;
711
- }, undefined>;
712
- type SCreateGroupUserDocument = v.InferOutput<typeof SCreateGroupUserDocument>;
713
- declare const SCreateGroupUserDocumentRequest: v.ObjectSchema<{
714
- readonly documentId: v.StringSchema<"please provide a valid document id">;
715
- readonly data: v.ObjectSchema<{
716
- readonly group: v.StringSchema<"please provide a valid document id">;
717
- readonly user: v.StringSchema<"please provide a valid document id">;
718
- readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<GroupEntityScope[], "invalid group scope provided">]>, "please provide an array of scopes">, v.MinLengthAction<GroupEntityScope[], 1, "you must provide at least one scope">, v.MaxLengthAction<GroupEntityScope[], number, "you cannot provide more scopes than available">]>;
719
- }, undefined>;
720
- }, undefined>;
721
- type SCreateGroupUserDocumentRequest = v.InferOutput<typeof SCreateGroupUserDocumentRequest>;
722
- declare const SReadGroupUserDocumentById: v.ObjectSchema<{
723
- readonly id: v.NumberSchema<"please provide a valid id">;
724
- }, undefined>;
725
- type SReadGroupUserDocumentById = v.InferOutput<typeof SReadGroupUserDocumentById>;
726
- declare const SReadGroupUserDocumentByDocumentId: v.ObjectSchema<{
727
- readonly documentId: v.StringSchema<"please provide a valid document id">;
728
- }, undefined>;
729
- type SReadGroupUserDocumentByDocumentId = v.InferOutput<typeof SReadGroupUserDocumentByDocumentId>;
730
- declare const SUpdateGroupUserDocument: v.ObjectSchema<{
731
- readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<GroupEntityScope[], "invalid group scope provided">]>, "please provide an array of scopes">, v.MinLengthAction<GroupEntityScope[], 1, "you must provide at least one scope">, v.MaxLengthAction<GroupEntityScope[], number, "you cannot provide more scopes than available">]>;
910
+ declare const SQueryListContentDocuments: v.ObjectSchema<{
911
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
912
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
913
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
732
914
  }, undefined>;
733
- type SUpdateGroupUserDocument = v.InferOutput<typeof SUpdateGroupUserDocument>;
734
- declare const SUpdateGroupUserDocumentRequest: v.ObjectSchema<{
735
- readonly documentId: v.StringSchema<"please provide a valid document id">;
736
- readonly data: v.ObjectSchema<{
737
- readonly scopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<GroupEntityScope[], "invalid group scope provided">]>, "please provide an array of scopes">, v.MinLengthAction<GroupEntityScope[], 1, "you must provide at least one scope">, v.MaxLengthAction<GroupEntityScope[], number, "you cannot provide more scopes than available">]>;
738
- }, undefined>;
739
- }, undefined>;
740
- type SUpdateGroupUserDocumentRequest = v.InferOutput<typeof SUpdateGroupUserDocumentRequest>;
741
- declare const SDeleteGroupUserDocument: v.ObjectSchema<{
742
- readonly documentId: v.StringSchema<"please provide a valid document id">;
743
- }, undefined>;
744
- type SDeleteGroupUserDocument = v.InferOutput<typeof SDeleteGroupUserDocument>;
745
-
746
- declare const SCreateGroupDocument: v.ObjectSchema<{
915
+ type SQueryListContentDocuments = v.InferOutput<typeof SQueryListContentDocuments>;
916
+ declare const SCreateContentDocument: v.ObjectSchema<{
747
917
  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">]>;
748
918
  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: - _ .">]>;
749
919
  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>;
750
920
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
751
- readonly apply_value_to: v.PicklistSchema<["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
752
- readonly apply_value_as: v.PicklistSchema<["prefix", "suffix"], undefined>;
753
921
  }, undefined>;
754
- type SCreateGroupDocument = v.InferOutput<typeof SCreateGroupDocument>;
755
- declare const SReadGroupDocumentById: v.ObjectSchema<{
922
+ type SCreateContentDocument = v.InferOutput<typeof SCreateContentDocument>;
923
+ declare const SCreateContentDocumentRequest: v.ObjectSchema<{
924
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
925
+ readonly data: v.ObjectSchema<{
926
+ 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">]>;
927
+ 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: - _ .">]>;
928
+ 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>;
929
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
930
+ }, undefined>;
931
+ }, undefined>;
932
+ type SCreateContentDocumentRequest = v.InferOutput<typeof SCreateContentDocumentRequest>;
933
+ declare const SReadContentDocumentById: v.ObjectSchema<{
756
934
  readonly id: v.NumberSchema<"please provide a valid id">;
757
935
  }, undefined>;
758
- type SReadGroupDocumentById = v.InferOutput<typeof SReadGroupDocumentById>;
759
- declare const SReadGroupDocumentByDocumentId: v.ObjectSchema<{
936
+ type SReadContentDocumentById = v.InferOutput<typeof SReadContentDocumentById>;
937
+ declare const SReadContentDocumentByDocumentId: v.ObjectSchema<{
760
938
  readonly documentId: v.StringSchema<"please provide a valid document id">;
761
939
  }, undefined>;
762
- type SReadGroupDocumentByDocumentId = v.InferOutput<typeof SReadGroupDocumentByDocumentId>;
763
- declare const SUpdateAsCreatorGroupDocument: v.ObjectSchema<{
940
+ type SReadContentDocumentByDocumentId = v.InferOutput<typeof SReadContentDocumentByDocumentId>;
941
+ declare const SUpdateAsCreatorContentDocument: v.ObjectSchema<{
764
942
  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>;
765
943
  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>;
766
944
  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>;
767
945
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
768
- readonly apply_value_to: v.UndefinedableSchema<v.PicklistSchema<["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>, undefined>;
769
- readonly apply_value_as: v.UndefinedableSchema<v.PicklistSchema<["prefix", "suffix"], undefined>, undefined>;
770
946
  }, undefined>;
771
- type SUpdateAsCreatorGroupDocument = v.InferOutput<typeof SUpdateAsCreatorGroupDocument>;
772
- declare const SUpdateAsCreatorGroupDocumentRequest: v.ObjectSchema<{
947
+ type SUpdateAsCreatorContentDocument = v.InferOutput<typeof SUpdateAsCreatorContentDocument>;
948
+ declare const SUpdateAsCreatorContentDocumentRequest: v.ObjectSchema<{
773
949
  readonly documentId: v.StringSchema<"please provide a valid document id">;
774
950
  readonly data: v.ObjectSchema<{
775
951
  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>;
776
952
  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>;
777
953
  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>;
778
954
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
779
- readonly apply_value_to: v.UndefinedableSchema<v.PicklistSchema<["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>, undefined>;
780
- readonly apply_value_as: v.UndefinedableSchema<v.PicklistSchema<["prefix", "suffix"], undefined>, undefined>;
781
955
  }, undefined>;
782
956
  }, undefined>;
783
- type SUpdateAsCreatorGroupDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorGroupDocumentRequest>;
784
- declare const SUpdateAsInvitedGroupDocument: v.ObjectSchema<{
957
+ type SUpdateAsCreatorContentDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorContentDocumentRequest>;
958
+ declare const SUpdateAsInvitedContentDocument: v.ObjectSchema<{
785
959
  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>;
786
- 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>;
787
- }, undefined>;
788
- type SUpdateAsInvitedGroupDocument = v.InferOutput<typeof SUpdateAsInvitedGroupDocument>;
789
- declare const SUpdateAsInvitedGroupDocumentRequest: v.ObjectSchema<{
790
- readonly documentId: v.StringSchema<"please provide a valid document id">;
791
- readonly data: v.ObjectSchema<{
792
- 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>;
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
- }, undefined>;
960
+ 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>;
961
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
795
962
  }, undefined>;
796
- type SUpdateAsInvitedGroupDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedGroupDocumentRequest>;
797
- declare const SUpdateGroupDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
963
+ type SUpdateAsInvitedContentDocument = v.InferOutput<typeof SUpdateAsInvitedContentDocument>;
964
+ declare const SUpdateAsInvitedContentDocumentRequest: v.ObjectSchema<{
798
965
  readonly documentId: v.StringSchema<"please provide a valid document id">;
799
966
  readonly data: v.ObjectSchema<{
800
967
  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>;
968
+ 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>;
803
969
  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
970
  }, undefined>;
971
+ }, undefined>;
972
+ type SUpdateAsInvitedContentDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedContentDocumentRequest>;
973
+ declare const SUpdateContentDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
974
+ 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>;
975
+ 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>;
976
+ 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>;
977
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
807
978
  }, undefined>, v.ObjectSchema<{
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>;
979
+ 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>;
980
+ 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>;
981
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
813
982
  }, undefined>], undefined>;
814
- type SUpdateGroupDocumentRequest = v.InferOutput<typeof SUpdateGroupDocumentRequest>;
815
- declare const SDeleteGroupDocument: v.ObjectSchema<{
983
+ type SUpdateContentDocumentRequest = v.InferOutput<typeof SUpdateContentDocumentRequest>;
984
+ declare const SDeleteContentDocument: v.ObjectSchema<{
816
985
  readonly documentId: v.StringSchema<"please provide a valid document id">;
817
986
  }, undefined>;
818
- type SDeleteGroupDocument = v.InferOutput<typeof SDeleteGroupDocument>;
987
+ type SDeleteContentDocument = v.InferOutput<typeof SDeleteContentDocument>;
819
988
 
820
- declare const SCreateMediumDocument: v.ObjectSchema<{
989
+ declare const SQueryListCreativeFormatVariantDocuments: v.ObjectSchema<{
990
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
991
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
992
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
993
+ }, undefined>;
994
+ type SQueryListCreativeFormatVariantDocuments = v.InferOutput<typeof SQueryListCreativeFormatVariantDocuments>;
995
+ declare const SCreateCreativeFormatVariantDocument: v.ObjectSchema<{
821
996
  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">]>;
822
997
  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: - _ .">]>;
823
998
  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>;
824
999
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
825
1000
  }, undefined>;
826
- type SCreateMediumDocument = v.InferOutput<typeof SCreateMediumDocument>;
827
- declare const SCreateMediumDocumentRequest: v.ObjectSchema<{
1001
+ type SCreateCreativeFormatVariantDocument = v.InferOutput<typeof SCreateCreativeFormatVariantDocument>;
1002
+ declare const SCreateCreativeFormatVariantDocumentRequest: v.ObjectSchema<{
828
1003
  readonly documentId: v.StringSchema<"please provide a valid document id">;
829
1004
  readonly data: v.ObjectSchema<{
830
1005
  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">]>;
@@ -833,23 +1008,23 @@ declare const SCreateMediumDocumentRequest: v.ObjectSchema<{
833
1008
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
834
1009
  }, undefined>;
835
1010
  }, undefined>;
836
- type SCreateMediumDocumentRequest = v.InferOutput<typeof SCreateMediumDocumentRequest>;
837
- declare const SReadMediumDocumentById: v.ObjectSchema<{
1011
+ type SCreateCreativeFormatVariantDocumentRequest = v.InferOutput<typeof SCreateCreativeFormatVariantDocumentRequest>;
1012
+ declare const SReadCreativeFormatVariantDocumentById: v.ObjectSchema<{
838
1013
  readonly id: v.NumberSchema<"please provide a valid id">;
839
1014
  }, undefined>;
840
- type SReadMediumDocumentById = v.InferOutput<typeof SReadMediumDocumentById>;
841
- declare const SReadMediumDocumentByDocumentId: v.ObjectSchema<{
1015
+ type SReadCreativeFormatVariantDocumentById = v.InferOutput<typeof SReadCreativeFormatVariantDocumentById>;
1016
+ declare const SReadCreativeFormatVariantDocumentByDocumentId: v.ObjectSchema<{
842
1017
  readonly documentId: v.StringSchema<"please provide a valid document id">;
843
1018
  }, undefined>;
844
- type SReadMediumDocumentByDocumentId = v.InferOutput<typeof SReadMediumDocumentByDocumentId>;
845
- declare const SUpdateAsCreatorMediumDocument: v.ObjectSchema<{
1019
+ type SReadCreativeFormatVariantDocumentByDocumentId = v.InferOutput<typeof SReadCreativeFormatVariantDocumentByDocumentId>;
1020
+ declare const SUpdateAsCreatorCreativeFormatVariantDocument: v.ObjectSchema<{
846
1021
  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>;
847
1022
  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>;
848
1023
  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>;
849
1024
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
850
1025
  }, undefined>;
851
- type SUpdateAsCreatorMediumDocument = v.InferOutput<typeof SUpdateAsCreatorMediumDocument>;
852
- declare const SUpdateAsCreatorMediumDocumentRequest: v.ObjectSchema<{
1026
+ type SUpdateAsCreatorCreativeFormatVariantDocument = v.InferOutput<typeof SUpdateAsCreatorCreativeFormatVariantDocument>;
1027
+ declare const SUpdateAsCreatorCreativeFormatVariantDocumentRequest: v.ObjectSchema<{
853
1028
  readonly documentId: v.StringSchema<"please provide a valid document id">;
854
1029
  readonly data: v.ObjectSchema<{
855
1030
  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>;
@@ -858,14 +1033,14 @@ declare const SUpdateAsCreatorMediumDocumentRequest: v.ObjectSchema<{
858
1033
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
859
1034
  }, undefined>;
860
1035
  }, undefined>;
861
- type SUpdateAsCreatorMediumDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorMediumDocumentRequest>;
862
- declare const SUpdateAsInvitedMediumDocument: v.ObjectSchema<{
1036
+ type SUpdateAsCreatorCreativeFormatVariantDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCreativeFormatVariantDocumentRequest>;
1037
+ declare const SUpdateAsInvitedCreativeFormatVariantDocument: v.ObjectSchema<{
863
1038
  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>;
864
1039
  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>;
865
1040
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
866
1041
  }, undefined>;
867
- type SUpdateAsInvitedMediumDocument = v.InferOutput<typeof SUpdateAsInvitedMediumDocument>;
868
- declare const SUpdateAsInvitedMediumDocumentRequest: v.ObjectSchema<{
1042
+ type SUpdateAsInvitedCreativeFormatVariantDocument = v.InferOutput<typeof SUpdateAsInvitedCreativeFormatVariantDocument>;
1043
+ declare const SUpdateAsInvitedCreativeFormatVariantDocumentRequest: v.ObjectSchema<{
869
1044
  readonly documentId: v.StringSchema<"please provide a valid document id">;
870
1045
  readonly data: v.ObjectSchema<{
871
1046
  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>;
@@ -873,8 +1048,8 @@ declare const SUpdateAsInvitedMediumDocumentRequest: v.ObjectSchema<{
873
1048
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
874
1049
  }, undefined>;
875
1050
  }, undefined>;
876
- type SUpdateAsInvitedMediumDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedMediumDocumentRequest>;
877
- declare const SUpdateMediumDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
1051
+ type SUpdateAsInvitedCreativeFormatVariantDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedCreativeFormatVariantDocumentRequest>;
1052
+ declare const SUpdateCreativeFormatVariantDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
878
1053
  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>;
879
1054
  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>;
880
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>;
@@ -884,20 +1059,26 @@ declare const SUpdateMediumDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
884
1059
  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>;
885
1060
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
886
1061
  }, undefined>], undefined>;
887
- type SUpdateMediumDocumentRequest = v.InferOutput<typeof SUpdateMediumDocumentRequest>;
888
- declare const SDeleteMediumDocument: v.ObjectSchema<{
1062
+ type SUpdateCreativeFormatVariantDocumentRequest = v.InferOutput<typeof SUpdateCreativeFormatVariantDocumentRequest>;
1063
+ declare const SDeleteCreativeFormatVariantDocument: v.ObjectSchema<{
889
1064
  readonly documentId: v.StringSchema<"please provide a valid document id">;
890
1065
  }, undefined>;
891
- type SDeleteMediumDocument = v.InferOutput<typeof SDeleteMediumDocument>;
1066
+ type SDeleteCreativeFormatVariantDocument = v.InferOutput<typeof SDeleteCreativeFormatVariantDocument>;
892
1067
 
893
- declare const SCreateSourceDocument: v.ObjectSchema<{
1068
+ declare const SQueryListCreativeFormatDocuments: v.ObjectSchema<{
1069
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1070
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
1071
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
1072
+ }, undefined>;
1073
+ type SQueryListCreativeFormatDocuments = v.InferOutput<typeof SQueryListCreativeFormatDocuments>;
1074
+ declare const SCreateCreativeFormatDocument: v.ObjectSchema<{
894
1075
  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">]>;
895
1076
  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: - _ .">]>;
896
1077
  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>;
897
1078
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
898
1079
  }, undefined>;
899
- type SCreateSourceDocument = v.InferOutput<typeof SCreateSourceDocument>;
900
- declare const SCreateSourceDocumentRequest: v.ObjectSchema<{
1080
+ type SCreateCreativeFormatDocument = v.InferOutput<typeof SCreateCreativeFormatDocument>;
1081
+ declare const SCreateCreativeFormatDocumentRequest: v.ObjectSchema<{
901
1082
  readonly documentId: v.StringSchema<"please provide a valid document id">;
902
1083
  readonly data: v.ObjectSchema<{
903
1084
  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">]>;
@@ -906,23 +1087,23 @@ declare const SCreateSourceDocumentRequest: v.ObjectSchema<{
906
1087
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
907
1088
  }, undefined>;
908
1089
  }, undefined>;
909
- type SCreateSourceDocumentRequest = v.InferOutput<typeof SCreateSourceDocumentRequest>;
910
- declare const SReadSourceDocumentById: v.ObjectSchema<{
1090
+ type SCreateCreativeFormatDocumentRequest = v.InferOutput<typeof SCreateCreativeFormatDocumentRequest>;
1091
+ declare const SReadCreativeFormatDocumentById: v.ObjectSchema<{
911
1092
  readonly id: v.NumberSchema<"please provide a valid id">;
912
1093
  }, undefined>;
913
- type SReadSourceDocumentById = v.InferOutput<typeof SReadSourceDocumentById>;
914
- declare const SReadSourceDocumentByDocumentId: v.ObjectSchema<{
1094
+ type SReadCreativeFormatDocumentById = v.InferOutput<typeof SReadCreativeFormatDocumentById>;
1095
+ declare const SReadCreativeFormatDocumentByDocumentId: v.ObjectSchema<{
915
1096
  readonly documentId: v.StringSchema<"please provide a valid document id">;
916
1097
  }, undefined>;
917
- type SReadSourceDocumentByDocumentId = v.InferOutput<typeof SReadSourceDocumentByDocumentId>;
918
- declare const SUpdateAsCreatorSourceDocument: v.ObjectSchema<{
1098
+ type SReadCreativeFormatDocumentByDocumentId = v.InferOutput<typeof SReadCreativeFormatDocumentByDocumentId>;
1099
+ declare const SUpdateAsCreatorCreativeFormatDocument: v.ObjectSchema<{
919
1100
  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>;
920
1101
  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>;
921
1102
  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>;
922
1103
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
923
1104
  }, undefined>;
924
- type SUpdateAsCreatorSourceDocument = v.InferOutput<typeof SUpdateAsCreatorSourceDocument>;
925
- declare const SUpdateAsCreatorSourceDocumentRequest: v.ObjectSchema<{
1105
+ type SUpdateAsCreatorCreativeFormatDocument = v.InferOutput<typeof SUpdateAsCreatorCreativeFormatDocument>;
1106
+ declare const SUpdateAsCreatorCreativeFormatDocumentRequest: v.ObjectSchema<{
926
1107
  readonly documentId: v.StringSchema<"please provide a valid document id">;
927
1108
  readonly data: v.ObjectSchema<{
928
1109
  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>;
@@ -931,14 +1112,14 @@ declare const SUpdateAsCreatorSourceDocumentRequest: v.ObjectSchema<{
931
1112
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
932
1113
  }, undefined>;
933
1114
  }, undefined>;
934
- type SUpdateAsCreatorSourceDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorSourceDocumentRequest>;
935
- declare const SUpdateAsInvitedSourceDocument: v.ObjectSchema<{
1115
+ type SUpdateAsCreatorCreativeFormatDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorCreativeFormatDocumentRequest>;
1116
+ declare const SUpdateAsInvitedCreativeFormatDocument: v.ObjectSchema<{
936
1117
  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>;
937
1118
  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>;
938
1119
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
939
1120
  }, undefined>;
940
- type SUpdateAsInvitedSourceDocument = v.InferOutput<typeof SUpdateAsInvitedSourceDocument>;
941
- declare const SUpdateAsInvitedSourceDocumentRequest: v.ObjectSchema<{
1121
+ type SUpdateAsInvitedCreativeFormatDocument = v.InferOutput<typeof SUpdateAsInvitedCreativeFormatDocument>;
1122
+ declare const SUpdateAsInvitedCreativeFormatDocumentRequest: v.ObjectSchema<{
942
1123
  readonly documentId: v.StringSchema<"please provide a valid document id">;
943
1124
  readonly data: v.ObjectSchema<{
944
1125
  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>;
@@ -946,8 +1127,8 @@ declare const SUpdateAsInvitedSourceDocumentRequest: v.ObjectSchema<{
946
1127
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
947
1128
  }, undefined>;
948
1129
  }, undefined>;
949
- type SUpdateAsInvitedSourceDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedSourceDocumentRequest>;
950
- declare const SUpdateSourceDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
1130
+ type SUpdateAsInvitedCreativeFormatDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedCreativeFormatDocumentRequest>;
1131
+ declare const SUpdateCreativeFormatDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
951
1132
  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>;
952
1133
  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>;
953
1134
  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>;
@@ -957,43 +1138,26 @@ declare const SUpdateSourceDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
957
1138
  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>;
958
1139
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
959
1140
  }, undefined>], undefined>;
960
- type SUpdateSourceDocumentRequest = v.InferOutput<typeof SUpdateSourceDocumentRequest>;
961
- declare const SDeleteSourceDocument: v.ObjectSchema<{
1141
+ type SUpdateCreativeFormatDocumentRequest = v.InferOutput<typeof SUpdateCreativeFormatDocumentRequest>;
1142
+ declare const SDeleteCreativeFormatDocument: v.ObjectSchema<{
962
1143
  readonly documentId: v.StringSchema<"please provide a valid document id">;
963
1144
  }, undefined>;
964
- type SDeleteSourceDocument = v.InferOutput<typeof SDeleteSourceDocument>;
1145
+ type SDeleteCreativeFormatDocument = v.InferOutput<typeof SDeleteCreativeFormatDocument>;
965
1146
 
966
- type SubscriptionStatusValue = "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid" | "paused";
967
- declare const SStripeCheckoutLineItem: v.ObjectSchema<{
968
- readonly price: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a price_id">, v.TrimAction, v.MinLengthAction<string, 2, "the price_id is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the price_id is too long, it must be 64 characters or less">]>;
969
- readonly quantity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1, undefined>]>;
970
- }, undefined>;
971
- type SStripeCheckoutLineItem = v.InferOutput<typeof SStripeCheckoutLineItem>;
972
- declare const SStripeCheckoutCreateSession: v.ObjectSchema<{
973
- readonly line_items: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
974
- readonly price: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a price_id">, v.TrimAction, v.MinLengthAction<string, 2, "the price_id is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the price_id is too long, it must be 64 characters or less">]>;
975
- readonly quantity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1, undefined>]>;
976
- }, undefined>, undefined>, v.MinLengthAction<{
977
- price: string;
978
- quantity: number;
979
- }[], 1, undefined>, v.MaxLengthAction<{
980
- price: string;
981
- quantity: number;
982
- }[], 10, undefined>]>;
983
- readonly mode: v.PicklistSchema<["payment", "subscription"], undefined>;
984
- readonly success_url: 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>;
985
- readonly cancel_url: 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>;
1147
+ declare const SQueryListMediumDocuments: v.ObjectSchema<{
1148
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1149
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
1150
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
986
1151
  }, undefined>;
987
- type SStripeCheckoutCreateSession = v.InferOutput<typeof SStripeCheckoutCreateSession>;
988
-
989
- declare const SCreateTermDocument: v.ObjectSchema<{
1152
+ type SQueryListMediumDocuments = v.InferOutput<typeof SQueryListMediumDocuments>;
1153
+ declare const SCreateMediumDocument: v.ObjectSchema<{
990
1154
  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">]>;
991
1155
  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: - _ .">]>;
992
1156
  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>;
993
1157
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
994
1158
  }, undefined>;
995
- type SCreateTermDocument = v.InferOutput<typeof SCreateTermDocument>;
996
- declare const SCreateTermDocumentRequest: v.ObjectSchema<{
1159
+ type SCreateMediumDocument = v.InferOutput<typeof SCreateMediumDocument>;
1160
+ declare const SCreateMediumDocumentRequest: v.ObjectSchema<{
997
1161
  readonly documentId: v.StringSchema<"please provide a valid document id">;
998
1162
  readonly data: v.ObjectSchema<{
999
1163
  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">]>;
@@ -1002,23 +1166,23 @@ declare const SCreateTermDocumentRequest: v.ObjectSchema<{
1002
1166
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
1003
1167
  }, undefined>;
1004
1168
  }, undefined>;
1005
- type SCreateTermDocumentRequest = v.InferOutput<typeof SCreateTermDocumentRequest>;
1006
- declare const SReadTermDocumentById: v.ObjectSchema<{
1169
+ type SCreateMediumDocumentRequest = v.InferOutput<typeof SCreateMediumDocumentRequest>;
1170
+ declare const SReadMediumDocumentById: v.ObjectSchema<{
1007
1171
  readonly id: v.NumberSchema<"please provide a valid id">;
1008
1172
  }, undefined>;
1009
- type SReadTermDocumentById = v.InferOutput<typeof SReadTermDocumentById>;
1010
- declare const SReadTermDocumentByDocumentId: v.ObjectSchema<{
1173
+ type SReadMediumDocumentById = v.InferOutput<typeof SReadMediumDocumentById>;
1174
+ declare const SReadMediumDocumentByDocumentId: v.ObjectSchema<{
1011
1175
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1012
1176
  }, undefined>;
1013
- type SReadTermDocumentByDocumentId = v.InferOutput<typeof SReadTermDocumentByDocumentId>;
1014
- declare const SUpdateAsCreatorTermDocument: v.ObjectSchema<{
1177
+ type SReadMediumDocumentByDocumentId = v.InferOutput<typeof SReadMediumDocumentByDocumentId>;
1178
+ declare const SUpdateAsCreatorMediumDocument: v.ObjectSchema<{
1015
1179
  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>;
1016
1180
  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>;
1017
1181
  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
1182
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1019
- }, undefined>;
1020
- type SUpdateAsCreatorTermDocument = v.InferOutput<typeof SUpdateAsCreatorTermDocument>;
1021
- declare const SUpdateAsCreatorTermDocumentRequest: v.ObjectSchema<{
1183
+ }, undefined>;
1184
+ type SUpdateAsCreatorMediumDocument = v.InferOutput<typeof SUpdateAsCreatorMediumDocument>;
1185
+ declare const SUpdateAsCreatorMediumDocumentRequest: v.ObjectSchema<{
1022
1186
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1023
1187
  readonly data: v.ObjectSchema<{
1024
1188
  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>;
@@ -1027,14 +1191,14 @@ declare const SUpdateAsCreatorTermDocumentRequest: v.ObjectSchema<{
1027
1191
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1028
1192
  }, undefined>;
1029
1193
  }, undefined>;
1030
- type SUpdateAsCreatorTermDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorTermDocumentRequest>;
1031
- declare const SUpdateAsInvitedTermDocument: v.ObjectSchema<{
1194
+ type SUpdateAsCreatorMediumDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorMediumDocumentRequest>;
1195
+ declare const SUpdateAsInvitedMediumDocument: v.ObjectSchema<{
1032
1196
  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>;
1033
1197
  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>;
1034
1198
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1035
1199
  }, undefined>;
1036
- type SUpdateAsInvitedTermDocument = v.InferOutput<typeof SUpdateAsInvitedTermDocument>;
1037
- declare const SUpdateAsInvitedTermDocumentRequest: v.ObjectSchema<{
1200
+ type SUpdateAsInvitedMediumDocument = v.InferOutput<typeof SUpdateAsInvitedMediumDocument>;
1201
+ declare const SUpdateAsInvitedMediumDocumentRequest: v.ObjectSchema<{
1038
1202
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1039
1203
  readonly data: v.ObjectSchema<{
1040
1204
  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>;
@@ -1042,8 +1206,8 @@ declare const SUpdateAsInvitedTermDocumentRequest: v.ObjectSchema<{
1042
1206
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1043
1207
  }, undefined>;
1044
1208
  }, undefined>;
1045
- type SUpdateAsInvitedTermDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedTermDocumentRequest>;
1046
- declare const SUpdateTermDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
1209
+ type SUpdateAsInvitedMediumDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedMediumDocumentRequest>;
1210
+ declare const SUpdateMediumDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
1047
1211
  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>;
1048
1212
  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>;
1049
1213
  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>;
@@ -1053,276 +1217,176 @@ declare const SUpdateTermDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
1053
1217
  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>;
1054
1218
  readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1055
1219
  }, undefined>], undefined>;
1056
- type SUpdateTermDocumentRequest = v.InferOutput<typeof SUpdateTermDocumentRequest>;
1057
- declare const SDeleteTermDocument: v.ObjectSchema<{
1220
+ type SUpdateMediumDocumentRequest = v.InferOutput<typeof SUpdateMediumDocumentRequest>;
1221
+ declare const SDeleteMediumDocument: v.ObjectSchema<{
1058
1222
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1059
1223
  }, undefined>;
1060
- type SDeleteTermDocument = v.InferOutput<typeof SDeleteTermDocument>;
1224
+ type SDeleteMediumDocument = v.InferOutput<typeof SDeleteMediumDocument>;
1061
1225
 
1062
- declare const SCreateTrackingLinkDocument: v.ObjectSchema<{
1226
+ declare const SQueryListSourceDocuments: v.ObjectSchema<{
1227
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1228
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
1229
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
1230
+ }, undefined>;
1231
+ type SQueryListSourceDocuments = v.InferOutput<typeof SQueryListSourceDocuments>;
1232
+ declare const SCreateSourceDocument: v.ObjectSchema<{
1233
+ 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">]>;
1234
+ 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: - _ .">]>;
1235
+ 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>;
1063
1236
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
1064
- 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">]>;
1065
- readonly protocol: v.PicklistSchema<["http", "https"], "please provide a valid url protocol">;
1066
- 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">]>;
1067
- 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">]>;
1068
- 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">]>;
1069
- 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">]>;
1070
- 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: - _ .">]>;
1071
- 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: - _ .">]>;
1072
- 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: - _ .">]>;
1073
- 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: - _ .">]>;
1074
- 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: - _ .">]>;
1075
- 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: - _ .">]>;
1076
- 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: - _ .">]>;
1077
1237
  }, undefined>;
1078
- type SCreateTrackingLinkDocument = v.InferOutput<typeof SCreateTrackingLinkDocument>;
1079
- declare const SCreateTrackingLinkDocumentRequest: v.ObjectSchema<{
1238
+ type SCreateSourceDocument = v.InferOutput<typeof SCreateSourceDocument>;
1239
+ declare const SCreateSourceDocumentRequest: v.ObjectSchema<{
1080
1240
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1081
1241
  readonly data: v.ObjectSchema<{
1242
+ 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">]>;
1243
+ 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: - _ .">]>;
1244
+ 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>;
1082
1245
  readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
1083
- 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">]>;
1084
- readonly protocol: v.PicklistSchema<["http", "https"], "please provide a valid url protocol">;
1085
- 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">]>;
1086
- 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">]>;
1087
- 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">]>;
1088
- 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">]>;
1089
- 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: - _ .">]>;
1090
- 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: - _ .">]>;
1091
- 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: - _ .">]>;
1092
- 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: - _ .">]>;
1093
- 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: - _ .">]>;
1094
- 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: - _ .">]>;
1095
- 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: - _ .">]>;
1096
1246
  }, undefined>;
1097
1247
  }, undefined>;
1098
- type SCreateTrackingLinkDocumentRequest = v.InferOutput<typeof SCreateTrackingLinkDocumentRequest>;
1099
- declare const SReadTrackingLinkDocumentById: v.ObjectSchema<{
1248
+ type SCreateSourceDocumentRequest = v.InferOutput<typeof SCreateSourceDocumentRequest>;
1249
+ declare const SReadSourceDocumentById: v.ObjectSchema<{
1100
1250
  readonly id: v.NumberSchema<"please provide a valid id">;
1101
1251
  }, undefined>;
1102
- type SReadTrackingLinkDocumentById = v.InferOutput<typeof SReadTrackingLinkDocumentById>;
1103
- declare const SReadTrackingLinkDocumentByDocumentId: v.ObjectSchema<{
1252
+ type SReadSourceDocumentById = v.InferOutput<typeof SReadSourceDocumentById>;
1253
+ declare const SReadSourceDocumentByDocumentId: v.ObjectSchema<{
1104
1254
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1105
1255
  }, undefined>;
1106
- type SReadTrackingLinkDocumentByDocumentId = v.InferOutput<typeof SReadTrackingLinkDocumentByDocumentId>;
1107
- declare const SUpdateAsCreatorTrackingLinkDocument: v.ObjectSchema<{
1108
- 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>;
1109
- 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>;
1110
- readonly protocol: v.UndefinedableSchema<v.PicklistSchema<["http", "https"], "please provide a valid url protocol">, undefined>;
1111
- 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>;
1112
- 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>;
1113
- 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>;
1114
- 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>;
1115
- 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>;
1116
- 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>;
1117
- 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>;
1118
- 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>;
1119
- 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>;
1120
- 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>;
1121
- 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>;
1256
+ type SReadSourceDocumentByDocumentId = v.InferOutput<typeof SReadSourceDocumentByDocumentId>;
1257
+ declare const SUpdateAsCreatorSourceDocument: v.ObjectSchema<{
1258
+ 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>;
1259
+ 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>;
1260
+ 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>;
1261
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1122
1262
  }, undefined>;
1123
- type SUpdateAsCreatorTrackingLinkDocument = v.InferOutput<typeof SUpdateAsCreatorTrackingLinkDocument>;
1124
- declare const SUpdateAsCreatorTrackingLinkDocumentRequest: v.ObjectSchema<{
1263
+ type SUpdateAsCreatorSourceDocument = v.InferOutput<typeof SUpdateAsCreatorSourceDocument>;
1264
+ declare const SUpdateAsCreatorSourceDocumentRequest: v.ObjectSchema<{
1125
1265
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1126
1266
  readonly data: v.ObjectSchema<{
1127
- 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>;
1128
- 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>;
1129
- readonly protocol: v.UndefinedableSchema<v.PicklistSchema<["http", "https"], "please provide a valid url protocol">, undefined>;
1130
- 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>;
1131
- 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>;
1132
- 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>;
1133
- 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>;
1134
- 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>;
1135
- 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>;
1136
- 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>;
1137
- 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>;
1138
- 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>;
1139
- 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>;
1140
- 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>;
1267
+ 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>;
1268
+ 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>;
1269
+ 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>;
1270
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1141
1271
  }, undefined>;
1142
1272
  }, undefined>;
1143
- type SUpdateAsCreatorTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorTrackingLinkDocumentRequest>;
1144
- declare const SUpdateAsInvitedTrackingLinkDocument: v.ObjectSchema<{
1145
- 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>;
1146
- 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>;
1147
- readonly protocol: v.UndefinedableSchema<v.PicklistSchema<["http", "https"], "please provide a valid url protocol">, undefined>;
1148
- 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>;
1149
- 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>;
1150
- 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>;
1151
- 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>;
1152
- 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>;
1153
- 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>;
1154
- 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>;
1155
- 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>;
1156
- 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>;
1157
- 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>;
1158
- 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>;
1273
+ type SUpdateAsCreatorSourceDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorSourceDocumentRequest>;
1274
+ declare const SUpdateAsInvitedSourceDocument: v.ObjectSchema<{
1275
+ 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>;
1276
+ 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>;
1277
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1159
1278
  }, undefined>;
1160
- type SUpdateAsInvitedTrackingLinkDocument = v.InferOutput<typeof SUpdateAsInvitedTrackingLinkDocument>;
1161
- declare const SUpdateAsInvitedTrackingLinkDocumentRequest: v.ObjectSchema<{
1279
+ type SUpdateAsInvitedSourceDocument = v.InferOutput<typeof SUpdateAsInvitedSourceDocument>;
1280
+ declare const SUpdateAsInvitedSourceDocumentRequest: v.ObjectSchema<{
1162
1281
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1163
1282
  readonly data: v.ObjectSchema<{
1164
- 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>;
1165
- 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>;
1166
- readonly protocol: v.UndefinedableSchema<v.PicklistSchema<["http", "https"], "please provide a valid url protocol">, undefined>;
1167
- 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>;
1168
- 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>;
1169
- 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>;
1170
- 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>;
1171
- 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>;
1172
- 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>;
1173
- 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>;
1174
- 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>;
1175
- 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>;
1176
- 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>;
1177
- 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>;
1283
+ 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>;
1284
+ 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>;
1285
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1178
1286
  }, undefined>;
1179
1287
  }, undefined>;
1180
- type SUpdateAsInvitedTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedTrackingLinkDocumentRequest>;
1181
- declare const SUpdateTrackingLinkDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
1182
- 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>;
1183
- 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>;
1184
- readonly protocol: v.UndefinedableSchema<v.PicklistSchema<["http", "https"], "please provide a valid url protocol">, undefined>;
1185
- 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>;
1186
- 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>;
1187
- 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>;
1188
- 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>;
1189
- 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>;
1190
- 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>;
1191
- 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>;
1192
- 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>;
1193
- 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>;
1194
- 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>;
1195
- 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>;
1288
+ type SUpdateAsInvitedSourceDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedSourceDocumentRequest>;
1289
+ declare const SUpdateSourceDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
1290
+ 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>;
1291
+ 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>;
1292
+ 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>;
1293
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1196
1294
  }, undefined>, v.ObjectSchema<{
1197
- 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>;
1198
- 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>;
1199
- readonly protocol: v.UndefinedableSchema<v.PicklistSchema<["http", "https"], "please provide a valid url protocol">, undefined>;
1200
- 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>;
1201
- 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>;
1202
- 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>;
1203
- 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>;
1204
- 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>;
1205
- 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>;
1206
- 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>;
1207
- 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>;
1208
- 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>;
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>;
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>;
1295
+ 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>;
1296
+ 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>;
1297
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1211
1298
  }, undefined>], undefined>;
1212
- type SUpdateTrackingLinkDocumentRequest = v.InferOutput<typeof SUpdateTrackingLinkDocumentRequest>;
1213
- declare const SDeleteTrackingLinkDocument: v.ObjectSchema<{
1214
- readonly documentId: v.StringSchema<"please provide a valid document id">;
1215
- }, undefined>;
1216
- type SDeleteTrackingLinkDocument = v.InferOutput<typeof SDeleteTrackingLinkDocument>;
1217
-
1218
- declare const SCreateUserAccountDocument: v.ObjectSchema<{
1219
- 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>;
1220
- 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>;
1221
- readonly subscription_status: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a subscription status">, v.TrimAction, v.PicklistSchema<["incomplete", "incomplete_expired", "unpaid", "past_due", "canceled", "paused", "trialing", "active"], undefined>]>;
1222
- readonly current_period_start: v.NullableSchema<v.DateSchema<undefined>, undefined>;
1223
- readonly current_period_end: v.NullableSchema<v.DateSchema<undefined>, undefined>;
1224
- readonly trial_period_end: v.UndefinedableSchema<v.DateSchema<undefined>, undefined>;
1225
- }, undefined>;
1226
- type SCreateUserAccountDocument = v.InferOutput<typeof SCreateUserAccountDocument>;
1227
- declare const SReadUserAccountDocumentById: v.ObjectSchema<{
1228
- readonly id: v.NumberSchema<"please provide a valid id">;
1229
- }, undefined>;
1230
- type SReadUserAccountDocumentById = v.InferOutput<typeof SReadUserAccountDocumentById>;
1231
- declare const SReadUserAccountDocumentByDocumentId: v.ObjectSchema<{
1232
- readonly documentId: v.StringSchema<"please provide a valid document id">;
1233
- }, undefined>;
1234
- type SReadUserAccountDocumentByDocumentId = v.InferOutput<typeof SReadUserAccountDocumentByDocumentId>;
1235
- declare const SUpdateUserAccountDocument: v.ObjectSchema<{
1236
- 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>;
1237
- 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>;
1238
- readonly subscription_status: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a subscription status">, v.TrimAction, v.PicklistSchema<["incomplete", "incomplete_expired", "unpaid", "past_due", "canceled", "paused", "trialing", "active"], undefined>]>, undefined>;
1239
- readonly current_period_start: v.UndefinedableSchema<v.NullableSchema<v.DateSchema<undefined>, undefined>, undefined>;
1240
- readonly current_period_end: v.UndefinedableSchema<v.NullableSchema<v.DateSchema<undefined>, undefined>, undefined>;
1241
- readonly trial_period_end: v.UndefinedableSchema<v.DateSchema<undefined>, undefined>;
1242
- }, undefined>;
1243
- type SUpdateUserAccountDocument = v.InferOutput<typeof SUpdateUserAccountDocument>;
1244
-
1245
- declare const SCreateUserLimitationsDocument: v.ObjectSchema<{
1246
- readonly limit_groups: v.NumberSchema<undefined>;
1247
- readonly limit_group_users: v.NumberSchema<undefined>;
1248
- readonly limit_websites: v.NumberSchema<undefined>;
1249
- readonly limit_tracking_links: v.NumberSchema<undefined>;
1250
- readonly limit_sources: v.NumberSchema<undefined>;
1251
- readonly limit_mediums: v.NumberSchema<undefined>;
1252
- readonly limit_campaign_ids: v.NumberSchema<undefined>;
1253
- readonly limit_campaign_keys: v.NumberSchema<undefined>;
1254
- readonly limit_campaign_phases: v.NumberSchema<undefined>;
1255
- readonly limit_campaign_products: v.NumberSchema<undefined>;
1256
- readonly limit_contents: v.NumberSchema<undefined>;
1257
- readonly limit_creative_formats: v.NumberSchema<undefined>;
1258
- readonly limit_creative_format_variants: v.NumberSchema<undefined>;
1259
- readonly limit_terms: v.NumberSchema<undefined>;
1260
- }, undefined>;
1261
- type SCreateUserLimitationsDocument = v.InferOutput<typeof SCreateUserLimitationsDocument>;
1262
- declare const SReadUserLimitationsDocumentById: v.ObjectSchema<{
1263
- readonly id: v.NumberSchema<"please provide a valid id">;
1264
- }, undefined>;
1265
- type SReadUserLimitationsDocumentById = v.InferOutput<typeof SReadUserLimitationsDocumentById>;
1266
- declare const SReadUserLimitationsDocumentByDocumentId: v.ObjectSchema<{
1267
- readonly documentId: v.StringSchema<"please provide a valid document id">;
1268
- }, undefined>;
1269
- type SReadUserLimitationsDocumentByDocumentId = v.InferOutput<typeof SReadUserLimitationsDocumentByDocumentId>;
1270
- declare const SUpdateUserLimitationsDocument: v.ObjectSchema<{
1271
- readonly limit_groups: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1272
- readonly limit_group_users: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1273
- readonly limit_websites: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1274
- readonly limit_tracking_links: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1275
- readonly limit_sources: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1276
- readonly limit_mediums: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1277
- readonly limit_campaign_ids: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1278
- readonly limit_campaign_keys: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1279
- readonly limit_campaign_phases: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1280
- readonly limit_campaign_products: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1281
- readonly limit_contents: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1282
- readonly limit_creative_formats: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1283
- readonly limit_creative_format_variants: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1284
- readonly limit_terms: v.UndefinedableSchema<v.NumberSchema<undefined>, undefined>;
1299
+ type SUpdateSourceDocumentRequest = v.InferOutput<typeof SUpdateSourceDocumentRequest>;
1300
+ declare const SDeleteSourceDocument: v.ObjectSchema<{
1301
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
1285
1302
  }, undefined>;
1286
- type SUpdateUserLimitationsDocument = v.InferOutput<typeof SUpdateUserLimitationsDocument>;
1303
+ type SDeleteSourceDocument = v.InferOutput<typeof SDeleteSourceDocument>;
1287
1304
 
1288
- declare const SReadUserDocumentToken: v.ObjectSchema<{
1289
- readonly token: v.StringSchema<undefined>;
1305
+ declare const SQueryListTermDocuments: v.ObjectSchema<{
1306
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1307
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
1308
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
1290
1309
  }, undefined>;
1291
- type SReadUserDocumentToken = v.InferOutput<typeof SReadUserDocumentToken>;
1292
- declare const SLoginUserDocument: v.ObjectSchema<{
1293
- 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: - _ .">]>;
1294
- 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">]>;
1310
+ type SQueryListTermDocuments = v.InferOutput<typeof SQueryListTermDocuments>;
1311
+ declare const SCreateTermDocument: v.ObjectSchema<{
1312
+ 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">]>;
1313
+ 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: - _ .">]>;
1314
+ 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>;
1315
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
1295
1316
  }, undefined>;
1296
- type SLoginUserDocument = v.InferOutput<typeof SLoginUserDocument>;
1297
- declare const SRegisterUserDocument: v.ObjectSchema<{
1298
- 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: - _ .">]>;
1299
- 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">]>;
1300
- 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">]>;
1317
+ type SCreateTermDocument = v.InferOutput<typeof SCreateTermDocument>;
1318
+ declare const SCreateTermDocumentRequest: v.ObjectSchema<{
1319
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
1320
+ readonly data: v.ObjectSchema<{
1321
+ 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">]>;
1322
+ 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: - _ .">]>;
1323
+ 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>;
1324
+ readonly is_active: v.BooleanSchema<"isActive must be a boolean">;
1325
+ }, undefined>;
1301
1326
  }, undefined>;
1302
- type SRegisterUserDocument = v.InferOutput<typeof SRegisterUserDocument>;
1303
- declare const SForgotPasswordUserDocument: v.ObjectSchema<{
1304
- 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">]>;
1327
+ type SCreateTermDocumentRequest = v.InferOutput<typeof SCreateTermDocumentRequest>;
1328
+ declare const SReadTermDocumentById: v.ObjectSchema<{
1329
+ readonly id: v.NumberSchema<"please provide a valid id">;
1305
1330
  }, undefined>;
1306
- type SForgotPasswordUserDocument = v.InferOutput<typeof SForgotPasswordUserDocument>;
1307
- declare const SResetPasswordUserDocument: v.ObjectSchema<{
1308
- 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">]>;
1309
- 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">]>;
1310
- readonly code: v.StringSchema<undefined>;
1331
+ type SReadTermDocumentById = v.InferOutput<typeof SReadTermDocumentById>;
1332
+ declare const SReadTermDocumentByDocumentId: v.ObjectSchema<{
1333
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
1311
1334
  }, undefined>;
1312
- type SResetPasswordUserDocument = v.InferOutput<typeof SResetPasswordUserDocument>;
1313
- declare const SRequestConfirmEmail: v.ObjectSchema<{
1314
- 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">]>;
1335
+ type SReadTermDocumentByDocumentId = v.InferOutput<typeof SReadTermDocumentByDocumentId>;
1336
+ declare const SUpdateAsCreatorTermDocument: v.ObjectSchema<{
1337
+ 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>;
1338
+ 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>;
1339
+ 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>;
1340
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1315
1341
  }, undefined>;
1316
- type SRequestConfirmEmail = v.InferOutput<typeof SRequestConfirmEmail>;
1317
- declare const SReadUserDocumentById: v.ObjectSchema<{
1318
- readonly id: v.NumberSchema<"please provide a valid id">;
1342
+ type SUpdateAsCreatorTermDocument = v.InferOutput<typeof SUpdateAsCreatorTermDocument>;
1343
+ declare const SUpdateAsCreatorTermDocumentRequest: v.ObjectSchema<{
1344
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
1345
+ readonly data: v.ObjectSchema<{
1346
+ 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>;
1347
+ 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>;
1348
+ 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>;
1349
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1350
+ }, undefined>;
1319
1351
  }, undefined>;
1320
- type SReadUserDocumentById = v.InferOutput<typeof SReadUserDocumentById>;
1321
- declare const SReadUserDocumentByDocumentId: v.ObjectSchema<{
1352
+ type SUpdateAsCreatorTermDocumentRequest = v.InferOutput<typeof SUpdateAsCreatorTermDocumentRequest>;
1353
+ declare const SUpdateAsInvitedTermDocument: v.ObjectSchema<{
1354
+ 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>;
1355
+ 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>;
1356
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1357
+ }, undefined>;
1358
+ type SUpdateAsInvitedTermDocument = v.InferOutput<typeof SUpdateAsInvitedTermDocument>;
1359
+ declare const SUpdateAsInvitedTermDocumentRequest: v.ObjectSchema<{
1360
+ readonly documentId: v.StringSchema<"please provide a valid document id">;
1361
+ readonly data: v.ObjectSchema<{
1362
+ 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>;
1363
+ 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>;
1364
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1365
+ }, undefined>;
1366
+ }, undefined>;
1367
+ type SUpdateAsInvitedTermDocumentRequest = v.InferOutput<typeof SUpdateAsInvitedTermDocumentRequest>;
1368
+ declare const SUpdateTermDocumentRequest: v.UnionSchema<[v.ObjectSchema<{
1369
+ 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>;
1370
+ 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>;
1371
+ 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>;
1372
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1373
+ }, undefined>, v.ObjectSchema<{
1374
+ 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>;
1375
+ 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>;
1376
+ readonly is_active: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1377
+ }, undefined>], undefined>;
1378
+ type SUpdateTermDocumentRequest = v.InferOutput<typeof SUpdateTermDocumentRequest>;
1379
+ declare const SDeleteTermDocument: v.ObjectSchema<{
1322
1380
  readonly documentId: v.StringSchema<"please provide a valid document id">;
1323
1381
  }, undefined>;
1324
- type SReadUserDocumentByDocumentId = v.InferOutput<typeof SReadUserDocumentByDocumentId>;
1382
+ type SDeleteTermDocument = v.InferOutput<typeof SDeleteTermDocument>;
1325
1383
 
1384
+ declare const SQueryListWebsiteDocuments: v.ObjectSchema<{
1385
+ readonly documentId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
1386
+ readonly page: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>, 1>, 1>;
1387
+ readonly size: v.SchemaWithFallback<v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 10, undefined>, v.MaxValueAction<number, 10000, undefined>]>, 100>, 100>;
1388
+ }, undefined>;
1389
+ type SQueryListWebsiteDocuments = v.InferOutput<typeof SQueryListWebsiteDocuments>;
1326
1390
  declare const SCreateWebsiteDocument: v.ObjectSchema<{
1327
1391
  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">]>;
1328
1392
  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>;
@@ -1390,4 +1454,498 @@ declare const SDeleteWebsiteDocument: v.ObjectSchema<{
1390
1454
  }, undefined>;
1391
1455
  type SDeleteWebsiteDocument = v.InferOutput<typeof SDeleteWebsiteDocument>;
1392
1456
 
1393
- export { ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_VALUE, GROUP_ENTITY_KEYS, GROUP_ENTITY_PERMISSIONS, GROUP_ENTITY_SCOPES, type GroupEntityActions, type GroupEntityKey, type GroupEntityScope, 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, SRequestConfirmEmail, SResetPasswordUserDocument, SStripeCheckoutCreateSession, SStripeCheckoutLineItem, SUpdateAsCreatorCampaignIdDocument, SUpdateAsCreatorCampaignIdDocumentRequest, SUpdateAsCreatorCampaignKeyDocument, SUpdateAsCreatorCampaignKeyDocumentRequest, SUpdateAsCreatorCampaignPhaseDocument, SUpdateAsCreatorCampaignPhaseDocumentRequest, SUpdateAsCreatorCampaignProductDocument, SUpdateAsCreatorCampaignProductDocumentRequest, SUpdateAsCreatorContentDocument, SUpdateAsCreatorContentDocumentRequest, SUpdateAsCreatorCreativeFormatDocument, SUpdateAsCreatorCreativeFormatDocumentRequest, SUpdateAsCreatorCreativeFormatVariantDocument, SUpdateAsCreatorCreativeFormatVariantDocumentRequest, SUpdateAsCreatorGroupDocument, SUpdateAsCreatorGroupDocumentRequest, SUpdateAsCreatorMediumDocument, SUpdateAsCreatorMediumDocumentRequest, SUpdateAsCreatorSourceDocument, SUpdateAsCreatorSourceDocumentRequest, SUpdateAsCreatorTermDocument, SUpdateAsCreatorTermDocumentRequest, SUpdateAsCreatorTrackingLinkDocument, SUpdateAsCreatorTrackingLinkDocumentRequest, SUpdateAsCreatorWebsiteDocument, SUpdateAsCreatorWebsiteDocumentRequest, SUpdateAsInvitedCampaignIdDocument, SUpdateAsInvitedCampaignIdDocumentRequest, SUpdateAsInvitedCampaignKeyDocument, SUpdateAsInvitedCampaignKeyDocumentRequest, SUpdateAsInvitedCampaignPhaseDocument, SUpdateAsInvitedCampaignPhaseDocumentRequest, SUpdateAsInvitedCampaignProductDocument, SUpdateAsInvitedCampaignProductDocumentRequest, SUpdateAsInvitedContentDocument, SUpdateAsInvitedContentDocumentRequest, SUpdateAsInvitedCreativeFormatDocument, SUpdateAsInvitedCreativeFormatDocumentRequest, SUpdateAsInvitedCreativeFormatVariantDocument, SUpdateAsInvitedCreativeFormatVariantDocumentRequest, SUpdateAsInvitedGroupDocument, SUpdateAsInvitedGroupDocumentRequest, SUpdateAsInvitedMediumDocument, SUpdateAsInvitedMediumDocumentRequest, SUpdateAsInvitedSourceDocument, SUpdateAsInvitedSourceDocumentRequest, SUpdateAsInvitedTermDocument, SUpdateAsInvitedTermDocumentRequest, SUpdateAsInvitedTrackingLinkDocument, SUpdateAsInvitedTrackingLinkDocumentRequest, SUpdateAsInvitedWebsiteDocument, SUpdateAsInvitedWebsiteDocumentRequest, 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 };
1457
+ type UrlProtocol = "http" | "https";
1458
+ declare const UrlProtocolOptions: readonly ["http", "https"];
1459
+ type TrackingLinkDocument = BaseDocument & {
1460
+ group?: GroupDocument;
1461
+ creator?: UserDocument;
1462
+ destination: string;
1463
+ protocol: UrlProtocol;
1464
+ domain: string;
1465
+ path: string | null;
1466
+ query: string | null;
1467
+ fragment: string | null;
1468
+ utm_id: string | null;
1469
+ utm_source: string | null;
1470
+ utm_medium: string | null;
1471
+ utm_campaign: string | null;
1472
+ utm_creative_format: string | null;
1473
+ utm_content: string | null;
1474
+ utm_term: string | null;
1475
+ };
1476
+
1477
+ type CampaignIdDocument = BaseDocument & {
1478
+ cost: number;
1479
+ label: string;
1480
+ value: string;
1481
+ description: string | null;
1482
+ is_active: boolean;
1483
+ group?: GroupDocument;
1484
+ creator?: UserDocument;
1485
+ };
1486
+
1487
+ type CampaignKeyDocument = BaseDocument & {
1488
+ label: string;
1489
+ value: string;
1490
+ description: string | null;
1491
+ is_active: boolean;
1492
+ group?: GroupDocument;
1493
+ creator?: UserDocument;
1494
+ };
1495
+
1496
+ type CampaignPhaseDocument = BaseDocument & {
1497
+ label: string;
1498
+ value: string;
1499
+ description: string | null;
1500
+ is_active: boolean;
1501
+ group?: GroupDocument;
1502
+ creator?: UserDocument;
1503
+ };
1504
+
1505
+ type CampaignProductDocument = BaseDocument & {
1506
+ label: string;
1507
+ value: string;
1508
+ description: string | null;
1509
+ is_active: boolean;
1510
+ group?: GroupDocument;
1511
+ creator?: UserDocument;
1512
+ };
1513
+
1514
+ type ContentDocument = BaseDocument & {
1515
+ label: string;
1516
+ value: string;
1517
+ description: string | null;
1518
+ is_active: boolean;
1519
+ group?: GroupDocument;
1520
+ creator?: UserDocument;
1521
+ };
1522
+
1523
+ type CreativeFormatVariantDocument = BaseDocument & {
1524
+ label: string;
1525
+ value: string;
1526
+ description: string | null;
1527
+ is_active: boolean;
1528
+ group?: GroupDocument;
1529
+ creator?: UserDocument;
1530
+ };
1531
+
1532
+ type CreativeFormatDocument = BaseDocument & {
1533
+ label: string;
1534
+ value: string;
1535
+ description: string | null;
1536
+ is_active: boolean;
1537
+ group?: GroupDocument;
1538
+ creator?: UserDocument;
1539
+ };
1540
+
1541
+ type MediumDocument = BaseDocument & {
1542
+ label: string;
1543
+ value: string;
1544
+ description: string | null;
1545
+ is_active: boolean;
1546
+ group?: GroupDocument;
1547
+ creator?: UserDocument;
1548
+ };
1549
+
1550
+ type SourceDocument = BaseDocument & {
1551
+ label: string;
1552
+ value: string;
1553
+ description: string | null;
1554
+ is_active: boolean;
1555
+ group?: GroupDocument;
1556
+ creator?: UserDocument;
1557
+ };
1558
+
1559
+ type TermDocument = BaseDocument & {
1560
+ label: string;
1561
+ value: string;
1562
+ description: string | null;
1563
+ is_active: boolean;
1564
+ group?: GroupDocument;
1565
+ creator?: UserDocument;
1566
+ };
1567
+
1568
+ type WebsiteDocument = BaseDocument & {
1569
+ domain: string;
1570
+ description: string | null;
1571
+ is_secure: boolean;
1572
+ is_active: boolean;
1573
+ group?: GroupDocument;
1574
+ creator?: UserDocument;
1575
+ };
1576
+
1577
+ type GroupApplyValueTo = (typeof GroupApplyValueToOptions)[number];
1578
+ type GroupApplyValueAs = (typeof GroupApplyValueAsOptions)[number];
1579
+ type GroupDocument = BaseDocument & {
1580
+ label: string;
1581
+ value: string;
1582
+ description: string | null;
1583
+ is_active: boolean;
1584
+ apply_value_to: GroupApplyValueTo;
1585
+ apply_value_as: GroupApplyValueAs;
1586
+ creator?: UserDocument;
1587
+ authorized_users?: UserDocument[];
1588
+ websites?: WebsiteDocument[];
1589
+ tracking_links?: TrackingLinkDocument[];
1590
+ utm_sources?: SourceDocument[];
1591
+ utm_mediums?: MediumDocument[];
1592
+ utm_ids?: CampaignIdDocument[];
1593
+ utm_campaign_phases?: CampaignPhaseDocument[];
1594
+ utm_campaign_products?: CampaignProductDocument[];
1595
+ utm_campaign_keys?: CampaignKeyDocument[];
1596
+ utm_contents?: ContentDocument[];
1597
+ utm_creative_formats?: CreativeFormatDocument[];
1598
+ utm_creative_format_variants?: CreativeFormatVariantDocument[];
1599
+ utm_terms?: TermDocument[];
1600
+ };
1601
+
1602
+ type RoleDocument = BaseDocument & {
1603
+ type: string;
1604
+ name: string;
1605
+ locale: string;
1606
+ description: string;
1607
+ users: UserDocument[];
1608
+ };
1609
+
1610
+ type SubscriptionStatusValue = (typeof SubscriptionStatusValues)[number];
1611
+ type StripeCheckoutRedirectResponse = {
1612
+ checkout_url: string;
1613
+ };
1614
+ type ProductDocument = {
1615
+ id: string;
1616
+ object: "product";
1617
+ active: boolean;
1618
+ attributes: string[];
1619
+ created: number;
1620
+ default_price: string;
1621
+ description: string;
1622
+ images: string[];
1623
+ livemode: boolean;
1624
+ marketing_features: string[];
1625
+ metadata: {
1626
+ groups_limit: string;
1627
+ order: string;
1628
+ [key: string]: string;
1629
+ };
1630
+ name: string;
1631
+ package_dimensions: null;
1632
+ shippable: null | boolean;
1633
+ statement_descriptor: null | string;
1634
+ tax_code: string;
1635
+ type: "service" | string;
1636
+ unit_label: null | string;
1637
+ updated: number;
1638
+ url: null | string;
1639
+ };
1640
+ type PriceDocument = {
1641
+ id: string;
1642
+ object: "price";
1643
+ active: boolean;
1644
+ billing_scheme: "per_unit" | "tiered";
1645
+ created: number;
1646
+ currency: string;
1647
+ custom_unit_amount: null | {
1648
+ enabled: boolean;
1649
+ maximum?: number;
1650
+ minimum?: number;
1651
+ preset?: number;
1652
+ };
1653
+ livemode: boolean;
1654
+ lookup_key: string | null;
1655
+ metadata: {
1656
+ [key: string]: string;
1657
+ };
1658
+ nickname: string | null;
1659
+ product: string;
1660
+ recurring: null | {
1661
+ interval: "day" | "week" | "month" | "year";
1662
+ interval_count: number;
1663
+ trial_period_days?: number;
1664
+ usage_type?: "licensed" | "metered";
1665
+ };
1666
+ tax_behavior: "inclusive" | "exclusive" | "unspecified";
1667
+ tiers_mode: "graduated" | "volume" | null;
1668
+ transform_quantity: null | {
1669
+ divide_by: number;
1670
+ round: "up" | "down";
1671
+ };
1672
+ type: "one_time" | "recurring";
1673
+ unit_amount: number | null;
1674
+ unit_amount_decimal: string | null;
1675
+ };
1676
+ type StripeProductPricesResponse = {
1677
+ products: ProductDocument[];
1678
+ prices: PriceDocument[];
1679
+ };
1680
+
1681
+ type UserAccountDocument = BaseDocument & {
1682
+ customer_id: string | null;
1683
+ subscription_id: string | null;
1684
+ subscription_status: SubscriptionStatusValue;
1685
+ current_period_start: Date | null;
1686
+ current_period_end: Date | null;
1687
+ trial_end: Date | null;
1688
+ trial_period_end: Date | null;
1689
+ user?: UserDocument;
1690
+ };
1691
+
1692
+ type UserLimitationsDocument = BaseDocument & {
1693
+ user?: UserDocument;
1694
+ limit_groups: number;
1695
+ limit_websites: number;
1696
+ limit_tracking_links: number;
1697
+ limit_sources: number;
1698
+ limit_mediums: number;
1699
+ limit_campaign_ids: number;
1700
+ limit_campaign_phases: number;
1701
+ limit_campaign_products: number;
1702
+ limit_campaign_keys: number;
1703
+ limit_contents: number;
1704
+ limit_creative_formats: number;
1705
+ limit_creative_format_variants: number;
1706
+ limit_terms: number;
1707
+ };
1708
+
1709
+ type UserDocument = BaseDocument & {
1710
+ username: string;
1711
+ email: string;
1712
+ confirmed: boolean;
1713
+ blocked: boolean;
1714
+ provider: "local";
1715
+ role?: RoleDocument;
1716
+ account?: UserAccountDocument;
1717
+ limits?: UserLimitationsDocument;
1718
+ groups?: GroupDocument[];
1719
+ authorized_groups?: GroupDocument[];
1720
+ created_websites?: WebsiteDocument[];
1721
+ tracking_links?: TrackingLinkDocument[];
1722
+ utm_sources?: SourceDocument[];
1723
+ utm_mediums?: MediumDocument[];
1724
+ utm_ids?: CampaignIdDocument[];
1725
+ utm_campaign_phases?: CampaignPhaseDocument[];
1726
+ utm_campaign_products?: CampaignProductDocument[];
1727
+ utm_campaign_keys?: CampaignKeyDocument[];
1728
+ utm_contents?: ContentDocument[];
1729
+ utm_creative_formats?: CreativeFormatDocument[];
1730
+ utm_creative_format_variants?: CreativeFormatVariantDocument[];
1731
+ utm_terms?: TermDocument[];
1732
+ };
1733
+ type UserWithAccountDocument = BaseDocument & Pick<UserDocument, "id" | "documentId" | "username" | "email" | "confirmed" | "blocked" | "provider" | "createdAt" | "updatedAt" | "publishedAt"> & {
1734
+ account: UserAccountDocument;
1735
+ };
1736
+ type UserAuthorizationSuccessResponse = {
1737
+ jwt: string;
1738
+ user: Pick<UserDocument, "id" | "documentId" | "username" | "email" | "provider" | "confirmed" | "blocked" | "createdAt" | "updatedAt" | "publishedAt">;
1739
+ };
1740
+
1741
+ type BaseDocument = {
1742
+ id: number;
1743
+ documentId: string;
1744
+ publishedAt: string;
1745
+ createdAt: string;
1746
+ updatedAt: string;
1747
+ createdBy?: UserDocument | null;
1748
+ updatedBy?: UserDocument | null;
1749
+ };
1750
+
1751
+ type MediaFormat = {
1752
+ ext: string;
1753
+ url: string;
1754
+ hash: string;
1755
+ mime: string;
1756
+ name: string;
1757
+ path: string | null;
1758
+ size: number;
1759
+ width: number;
1760
+ height: number;
1761
+ sizeInBytes: number;
1762
+ };
1763
+ type MediaFormats = {
1764
+ large?: MediaFormat;
1765
+ small?: MediaFormat;
1766
+ medium?: MediaFormat;
1767
+ thumbnail?: MediaFormat;
1768
+ };
1769
+ type MediaUploadDocument = BaseDocument & {
1770
+ name: string;
1771
+ alternativeText: string | null;
1772
+ caption: string | null;
1773
+ width: number;
1774
+ height: number;
1775
+ formats?: MediaFormats | null;
1776
+ hash: string;
1777
+ ext: string;
1778
+ mime: string;
1779
+ size: number;
1780
+ url: string;
1781
+ previewUrl: string | null;
1782
+ provider: string;
1783
+ provider_metadata: null;
1784
+ };
1785
+
1786
+ type StrapiPagination = {
1787
+ page: number;
1788
+ pageSize: number;
1789
+ pageCount: number;
1790
+ total: number;
1791
+ };
1792
+ type StrapiResponseMeta = {
1793
+ pagination?: StrapiPagination;
1794
+ token?: string;
1795
+ };
1796
+ type StrapiErrorDetail = {
1797
+ status: string | number;
1798
+ name: string;
1799
+ message: string;
1800
+ details: Record<string, string>;
1801
+ };
1802
+ type StrapiSingleResponse<T> = {
1803
+ data: T;
1804
+ error?: undefined;
1805
+ meta?: StrapiResponseMeta;
1806
+ };
1807
+ type StrapiListResponse<T> = {
1808
+ data: T[];
1809
+ error?: undefined;
1810
+ meta?: StrapiResponseMeta;
1811
+ };
1812
+ type StrapiErrorResponse = {
1813
+ data: null;
1814
+ error: StrapiErrorDetail;
1815
+ meta?: undefined;
1816
+ };
1817
+
1818
+ type SeoOpenGraph = {
1819
+ ogTitle: string;
1820
+ ogDescription: string;
1821
+ ogType: string | null;
1822
+ ogUrl: string | null;
1823
+ ogImage?: MediaUploadDocument | null;
1824
+ };
1825
+ type SeoMeta = {
1826
+ metaTitle: string;
1827
+ metaDescription: string;
1828
+ metaImage?: MediaUploadDocument | null;
1829
+ openGraph?: SeoOpenGraph | null;
1830
+ keywords: string | null;
1831
+ canonicalURL: string | null;
1832
+ metaRobots: string | null;
1833
+ metaViewport: string | null;
1834
+ structuredData: {
1835
+ [key: string]: string;
1836
+ } | null;
1837
+ };
1838
+
1839
+ type GroupUserDocument = BaseDocument & {
1840
+ group: Partial<GroupDocument>;
1841
+ user: Partial<UserDocument>;
1842
+ scopes: GroupEntityScope[];
1843
+ };
1844
+
1845
+ declare function dateToday(): Date;
1846
+ declare function datePlusDays(today: Date, days?: number): Date;
1847
+
1848
+ type ValidateAndCleanSuccess<T> = {
1849
+ data: Partial<T>;
1850
+ error: null;
1851
+ errors: null;
1852
+ };
1853
+ type ValidateAndCleanFailure = {
1854
+ data: null;
1855
+ error: string | null;
1856
+ errors: Record<string, string> | null;
1857
+ };
1858
+ type ValidateAndCleanResult<T> = ValidateAndCleanSuccess<T> | ValidateAndCleanFailure;
1859
+ declare function validateAndClean<T>(schema: v.BaseSchema<T, Partial<T>, v.BaseIssue<T>>, input: unknown): ValidateAndCleanResult<T>;
1860
+ declare function isValidationSuccess<T>(result: ValidateAndCleanResult<T>): result is ValidateAndCleanSuccess<T>;
1861
+ declare function isValidationFailure<T>(result: ValidateAndCleanResult<T>): result is ValidateAndCleanFailure;
1862
+ declare function omitUndefined<T extends Record<string, any>>(obj: T): Partial<T>;
1863
+
1864
+ declare const IsValidReferenceId: v.NumberSchema<"please provide a valid id">;
1865
+ declare const IsValidReferenceDocumentId: v.StringSchema<"please provide a valid document id">;
1866
+ declare const IsValidCost: 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">]>;
1867
+ declare const IsValidOrUndefinedCost: 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>;
1868
+ declare const IsValidLabel: 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">]>;
1869
+ declare const IsValidOrUndefinedLabel: 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>;
1870
+ declare const IsValidValue: 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: - _ .">]>;
1871
+ declare const IsValidOrUndefinedValue: 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>;
1872
+ declare const IsValidDescription: 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>;
1873
+ declare const IsValidOrUndefinedDescription: 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>;
1874
+ declare const IsValidIsActive: v.BooleanSchema<"isActive must be a boolean">;
1875
+ declare const IsValidOrUndefinedIsActive: v.UndefinedableSchema<v.BooleanSchema<"isActive must be a boolean">, undefined>;
1876
+ declare const IsValidIsSecure: v.BooleanSchema<"isSecure must be a boolean">;
1877
+ declare const IsValidOrUndefinedIsSecure: v.UndefinedableSchema<v.BooleanSchema<"isSecure must be a boolean">, undefined>;
1878
+ declare const IsValidName: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a name">, v.TrimAction, v.MinLengthAction<string, 2, "the name is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the name is too long, it must be 255 characters or less">]>;
1879
+ declare const IsValidOrUndefinedName: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a name">, v.TrimAction, v.MinLengthAction<string, 2, "the name is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 255, "the name is too long, it must be 255 characters or less">]>, undefined>;
1880
+
1881
+ declare const IsValidGroupUserScopes: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a valid scope">, v.PicklistSchema<GroupEntityScope[], "invalid group scope provided">]>, "please provide an array of scopes">, v.MinLengthAction<GroupEntityScope[], 1, "you must provide at least one scope">, v.MaxLengthAction<GroupEntityScope[], number, "you cannot provide more scopes than available">]>;
1882
+
1883
+ declare const IsValidApplyValueTo: v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>;
1884
+ declare const IsValidOrUndefinedApplyValueTo: v.UndefinedableSchema<v.PicklistSchema<readonly ["source", "medium", "campaign", "content", "creative", "term", "id"], undefined>, undefined>;
1885
+ declare const IsValidApplyValueAs: v.PicklistSchema<readonly ["prefix", "suffix"], undefined>;
1886
+ declare const IsValidOrUndefinedApplyValueAs: v.UndefinedableSchema<v.PicklistSchema<readonly ["prefix", "suffix"], undefined>, undefined>;
1887
+
1888
+ declare const IsValidProductId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a product_id">, v.TrimAction, v.MinLengthAction<string, 2, "the product_id is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the product_id is too long, it must be 64 characters or less">]>;
1889
+ declare const IsValidOrUndefinedProductId: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a product_id">, v.TrimAction, v.MinLengthAction<string, 2, "the product_id is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the product_id is too long, it must be 64 characters or less">]>, undefined>;
1890
+ declare const IsValidPriceId: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a price_id">, v.TrimAction, v.MinLengthAction<string, 2, "the price_id is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the price_id is too long, it must be 64 characters or less">]>;
1891
+ declare const IsValidOrUndefinedPriceId: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a price_id">, v.TrimAction, v.MinLengthAction<string, 2, "the price_id is too short, it must be at least 2 characters">, v.MaxLengthAction<string, 64, "the price_id is too long, it must be 64 characters or less">]>, undefined>;
1892
+ declare const IsValidUnitAmount: v.SchemaWithPipe<readonly [v.NumberSchema<"please provide a unit_amount">, v.MinValueAction<number, 0, "the unit_amount must be a decimal greater than or equal to 0">]>;
1893
+ declare const IsValidOrUndefinedUnitAmount: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<"please provide a unit_amount">, v.MinValueAction<number, 0, "the unit_amount must be a decimal greater than or equal to 0">]>, undefined>;
1894
+ declare const IsValidUnitTermInMonths: v.SchemaWithPipe<readonly [v.NumberSchema<"please provide a unit_term_in_months">, v.MinValueAction<number, 1, "the unit_term_in_months must be an integer greater than or equal to 1">, v.MaxValueAction<number, 12, "the unit_term_in_months must be an integer less than or equal to 12">]>;
1895
+ declare const IsValidOrUndefinedUnitTermInMonths: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<"please provide a unit_term_in_months">, v.MinValueAction<number, 1, "the unit_term_in_months must be an integer greater than or equal to 1">, v.MaxValueAction<number, 12, "the unit_term_in_months must be an integer less than or equal to 12">]>, undefined>;
1896
+
1897
+ declare const IsValidUrlDestination: 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">]>;
1898
+ declare const IsValidOrUndefinedUrlDestination: 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>;
1899
+ declare const IsValidUrlProtocol: v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">;
1900
+ declare const IsValidOrUndefinedUrlProtocol: v.UndefinedableSchema<v.PicklistSchema<readonly ["http", "https"], "please provide a valid url protocol">, undefined>;
1901
+ declare const IsValidUrlDomain: 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">]>;
1902
+ declare const IsValidOrUndefinedUrlDomain: 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>;
1903
+ declare const IsValidUrlPath: 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">]>;
1904
+ declare const IsValidOrUndefinedUrlPath: 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>;
1905
+ declare const IsValidUrlQuery: 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">]>;
1906
+ declare const IsValidOrUndefinedUrlQuery: 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>;
1907
+ declare const IsValidUrlFragment: 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">]>;
1908
+ declare const IsValidOrUndefinedUrlFragment: 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>;
1909
+
1910
+ declare const IsValidCustomerId: 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">]>;
1911
+ declare const IsValidOrUndefinedCustomerId: 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>;
1912
+ declare const IsValidSubscriptionId: 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">]>;
1913
+ declare const IsValidOrUndefinedSubscriptionId: 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>;
1914
+ declare const IsValidSubscriptionStatus: v.SchemaWithPipe<readonly [v.StringSchema<"please provide a subscription status">, v.TrimAction, v.PicklistSchema<readonly ["incomplete", "incomplete_expired", "trialing", "active", "past_due", "canceled", "unpaid", "paused"], undefined>]>;
1915
+ declare const IsValidOrUndefinedSubscriptionStatus: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please provide a subscription status">, v.TrimAction, v.PicklistSchema<readonly ["incomplete", "incomplete_expired", "trialing", "active", "past_due", "canceled", "unpaid", "paused"], undefined>]>, undefined>;
1916
+ declare const IsValidCurrentPeriodStart: v.NullableSchema<v.DateSchema<undefined>, undefined>;
1917
+ declare const IsValidOrUndefinedCurrentPeriodStart: v.UndefinedableSchema<v.NullableSchema<v.DateSchema<undefined>, undefined>, undefined>;
1918
+ declare const IsValidCurrentPeriodEnd: v.NullableSchema<v.DateSchema<undefined>, undefined>;
1919
+ declare const IsValidOrUndefinedCurrentPeriodEnd: v.UndefinedableSchema<v.NullableSchema<v.DateSchema<undefined>, undefined>, undefined>;
1920
+ declare const IsValidTrialPeriodEnd: v.DateSchema<undefined>;
1921
+ declare const IsValidOrUndefinedTrialPeriodEnd: v.UndefinedableSchema<v.DateSchema<undefined>, undefined>;
1922
+
1923
+ declare const IsValidUsername: 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: - _ .">]>;
1924
+ declare const IsValidOrUndefinedUsername: v.UndefinedableSchema<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: - _ .">]>, undefined>;
1925
+ declare const IsValidEmail: 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">]>;
1926
+ declare const IsValidOrUndefinedEmail: v.UndefinedableSchema<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">]>, undefined>;
1927
+ declare const IsValidPassword: 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">]>;
1928
+ declare const IsValidOrUndefinedPassword: v.UndefinedableSchema<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">]>, undefined>;
1929
+ declare const IsValidProvider: v.SchemaWithPipe<readonly [v.StringSchema<"please enter a provider">, v.TrimAction, v.MaxLengthAction<string, 255, "the provider string is too long, it must be 255 characters or less">]>;
1930
+ declare const IsValidOrUndefinedProvider: v.UndefinedableSchema<v.SchemaWithPipe<readonly [v.StringSchema<"please enter a provider">, v.TrimAction, v.MaxLengthAction<string, 255, "the provider string is too long, it must be 255 characters or less">]>, undefined>;
1931
+ declare const IsValidConfirmed: v.BooleanSchema<undefined>;
1932
+ declare const IsValidOrUndefinedConfirmed: v.UndefinedableSchema<v.BooleanSchema<undefined>, undefined>;
1933
+ declare const IsValidBlocked: v.BooleanSchema<undefined>;
1934
+ declare const IsValidOrUndefinedBlocked: v.UndefinedableSchema<v.BooleanSchema<undefined>, undefined>;
1935
+
1936
+ declare const IsValidUrlUtmSource: 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: - _ .">]>;
1937
+ declare const IsValidOrUndefinedUrlUtmSource: 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>;
1938
+ declare const IsValidUrlUtmMedium: 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: - _ .">]>;
1939
+ declare const IsValidOrUndefinedUrlUtmMedium: 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>;
1940
+ declare const IsValidUrlUtmCampaign: 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: - _ .">]>;
1941
+ declare const IsValidOrUndefinedUrlUtmCampaign: 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>;
1942
+ declare const IsValidUrlUtmCreativeFormat: 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: - _ .">]>;
1943
+ declare const IsValidOrUndefinedUrlUtmCreativeFormat: 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>;
1944
+ declare const IsValidUrlUtmContent: 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: - _ .">]>;
1945
+ declare const IsValidOrUndefinedUrlUtmContent: 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>;
1946
+ declare const IsValidUrlUtmTerm: 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: - _ .">]>;
1947
+ declare const IsValidOrUndefinedUrlUtmTerm: 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>;
1948
+ declare const IsValidUrlUtmId: 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: - _ .">]>;
1949
+ 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>;
1950
+
1951
+ export { type BaseDocument, CAMPAIGN_ID_PAGINATION_DEFAULT_SIZE_LIMIT, CAMPAIGN_ID_PAGINATION_MAX_SIZE_LIMIT, CAMPAIGN_KEY_PAGINATION_DEFAULT_SIZE_LIMIT, CAMPAIGN_KEY_PAGINATION_MAX_SIZE_LIMIT, CAMPAIGN_PHASE_PAGINATION_DEFAULT_SIZE_LIMIT, CAMPAIGN_PHASE_PAGINATION_MAX_SIZE_LIMIT, CAMPAIGN_PRODUCT_PAGINATION_DEFAULT_SIZE_LIMIT, CAMPAIGN_PRODUCT_PAGINATION_MAX_SIZE_LIMIT, CONTENT_PAGINATION_DEFAULT_SIZE_LIMIT, CONTENT_PAGINATION_MAX_SIZE_LIMIT, CREATIVE_FORMAT_PAGINATION_DEFAULT_SIZE_LIMIT, CREATIVE_FORMAT_PAGINATION_MAX_SIZE_LIMIT, CREATIVE_FORMAT_VARIANT_PAGINATION_DEFAULT_SIZE_LIMIT, CREATIVE_FORMAT_VARIANT_PAGINATION_MAX_SIZE_LIMIT, type CampaignIdDocument, type CampaignKeyDocument, type CampaignPhaseDocument, type CampaignProductDocument, type ContentDocument, type CreativeFormatDocument, type CreativeFormatVariantDocument, ERROR_MESSAGE_REGEX_DOMAIN, ERROR_MESSAGE_REGEX_VALUE, GROUP_ENTITY_KEYS, GROUP_ENTITY_PERMISSIONS, GROUP_ENTITY_SCOPES, GROUP_PAGINATION_DEFAULT_SIZE_LIMIT, GROUP_PAGINATION_MAX_SIZE_LIMIT, GROUP_USER_PAGINATION_DEFAULT_SIZE_LIMIT, GROUP_USER_PAGINATION_MAX_SIZE_LIMIT, type GroupApplyValueAs, GroupApplyValueAsOptions, type GroupApplyValueTo, GroupApplyValueToOptions, type GroupDocument, type GroupEntityActions, type GroupEntityKey, type GroupEntityScope, type GroupUserDocument, 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, MEDIUM_PAGINATION_DEFAULT_SIZE_LIMIT, MEDIUM_PAGINATION_MAX_SIZE_LIMIT, type MediaFormat, type MediaFormats, type MediaUploadDocument, type MediumDocument, type PriceDocument, type ProductDocument, REGEX_DOMAIN, REGEX_VALUE, type RoleDocument, 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, SOURCE_PAGINATION_DEFAULT_SIZE_LIMIT, SOURCE_PAGINATION_MAX_SIZE_LIMIT, SQueryListCampaignIdDocuments, SQueryListCampaignKeyDocuments, SQueryListCampaignPhaseDocuments, SQueryListCampaignProductDocuments, SQueryListContentDocuments, SQueryListCreativeFormatDocuments, SQueryListCreativeFormatVariantDocuments, SQueryListGroupDocuments, SQueryListGroupUserDocuments, SQueryListMediumDocuments, SQueryListSourceDocuments, SQueryListTermDocuments, SQueryListTrackingLinkDocuments, SQueryListUserAccountDocuments, SQueryListUserDocuments, SQueryListUserDocumentsByIdentifier, SQueryListUserLimitationDocuments, SQueryListWebsiteDocuments, 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, SRequestConfirmEmail, SResetPasswordUserDocument, SStripeCheckoutCreateSession, SStripeCheckoutLineItem, STRAPI_PAGINATION_DEFAULT_SIZE_LIMIT, STRAPI_PAGINATION_MAX_SIZE_LIMIT, SUpdateAsCreatorCampaignIdDocument, SUpdateAsCreatorCampaignIdDocumentRequest, SUpdateAsCreatorCampaignKeyDocument, SUpdateAsCreatorCampaignKeyDocumentRequest, SUpdateAsCreatorCampaignPhaseDocument, SUpdateAsCreatorCampaignPhaseDocumentRequest, SUpdateAsCreatorCampaignProductDocument, SUpdateAsCreatorCampaignProductDocumentRequest, SUpdateAsCreatorContentDocument, SUpdateAsCreatorContentDocumentRequest, SUpdateAsCreatorCreativeFormatDocument, SUpdateAsCreatorCreativeFormatDocumentRequest, SUpdateAsCreatorCreativeFormatVariantDocument, SUpdateAsCreatorCreativeFormatVariantDocumentRequest, SUpdateAsCreatorGroupDocument, SUpdateAsCreatorGroupDocumentRequest, SUpdateAsCreatorMediumDocument, SUpdateAsCreatorMediumDocumentRequest, SUpdateAsCreatorSourceDocument, SUpdateAsCreatorSourceDocumentRequest, SUpdateAsCreatorTermDocument, SUpdateAsCreatorTermDocumentRequest, SUpdateAsCreatorTrackingLinkDocument, SUpdateAsCreatorTrackingLinkDocumentRequest, SUpdateAsCreatorWebsiteDocument, SUpdateAsCreatorWebsiteDocumentRequest, SUpdateAsInvitedCampaignIdDocument, SUpdateAsInvitedCampaignIdDocumentRequest, SUpdateAsInvitedCampaignKeyDocument, SUpdateAsInvitedCampaignKeyDocumentRequest, SUpdateAsInvitedCampaignPhaseDocument, SUpdateAsInvitedCampaignPhaseDocumentRequest, SUpdateAsInvitedCampaignProductDocument, SUpdateAsInvitedCampaignProductDocumentRequest, SUpdateAsInvitedContentDocument, SUpdateAsInvitedContentDocumentRequest, SUpdateAsInvitedCreativeFormatDocument, SUpdateAsInvitedCreativeFormatDocumentRequest, SUpdateAsInvitedCreativeFormatVariantDocument, SUpdateAsInvitedCreativeFormatVariantDocumentRequest, SUpdateAsInvitedGroupDocument, SUpdateAsInvitedGroupDocumentRequest, SUpdateAsInvitedMediumDocument, SUpdateAsInvitedMediumDocumentRequest, SUpdateAsInvitedSourceDocument, SUpdateAsInvitedSourceDocumentRequest, SUpdateAsInvitedTermDocument, SUpdateAsInvitedTermDocumentRequest, SUpdateAsInvitedTrackingLinkDocument, SUpdateAsInvitedTrackingLinkDocumentRequest, SUpdateAsInvitedWebsiteDocument, SUpdateAsInvitedWebsiteDocumentRequest, SUpdateCampaignIdDocumentRequest, SUpdateCampaignKeyDocumentRequest, SUpdateCampaignPhaseDocumentRequest, SUpdateCampaignProductDocumentRequest, SUpdateContentDocumentRequest, SUpdateCreativeFormatDocumentRequest, SUpdateCreativeFormatVariantDocumentRequest, SUpdateGroupDocumentRequest, SUpdateGroupUserDocument, SUpdateGroupUserDocumentRequest, SUpdateMediumDocumentRequest, SUpdateSourceDocumentRequest, SUpdateTermDocumentRequest, SUpdateTrackingLinkDocumentRequest, SUpdateUserAccountDocument, SUpdateUserLimitationsDocument, SUpdateWebsiteDocumentRequest, type SeoMeta, type SeoOpenGraph, type SourceDocument, type StrapiErrorDetail, type StrapiErrorResponse, type StrapiListResponse, type StrapiPagination, type StrapiResponseMeta, type StrapiSingleResponse, type StripeCheckoutRedirectResponse, type StripeProductPricesResponse, type SubscriptionStatusValue, SubscriptionStatusValues, TERM_PAGINATION_DEFAULT_SIZE_LIMIT, TERM_PAGINATION_MAX_SIZE_LIMIT, TRACKING_LINK_PAGINATION_DEFAULT_SIZE_LIMIT, TRACKING_LINK_PAGINATION_MAX_SIZE_LIMIT, type TermDocument, type TrackingLinkDocument, USER_ACCOUNT_PAGINATION_DEFAULT_SIZE_LIMIT, USER_ACCOUNT_PAGINATION_MAX_SIZE_LIMIT, USER_LIMITATION_PAGINATION_DEFAULT_SIZE_LIMIT, USER_LIMITATION_PAGINATION_MAX_SIZE_LIMIT, USER_PAGINATION_DEFAULT_SIZE_LIMIT, USER_PAGINATION_MAX_SIZE_LIMIT, type UrlProtocol, UrlProtocolOptions, type UserAccountDocument, type UserAuthorizationSuccessResponse, type UserDocument, type UserLimitationsDocument, type UserWithAccountDocument, WEBSITE_PAGINATION_DEFAULT_SIZE_LIMIT, WEBSITE_PAGINATION_MAX_SIZE_LIMIT, type WebsiteDocument, datePlusDays, dateToday, isValidationFailure, isValidationSuccess, omitUndefined, validateAndClean };