@joeygrable94/utm-src-pub-validators 0.0.53 → 0.0.54
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.cjs +911 -1040
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +134 -44
- package/dist/index.d.ts +134 -44
- package/dist/index.js +906 -1040
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var v45 = require('valibot');
|
|
4
4
|
|
|
5
5
|
function _interopNamespace(e) {
|
|
6
6
|
if (e && e.__esModule) return e;
|
|
@@ -20,7 +20,7 @@ function _interopNamespace(e) {
|
|
|
20
20
|
return Object.freeze(n);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var v45__namespace = /*#__PURE__*/_interopNamespace(v45);
|
|
24
24
|
|
|
25
25
|
// src/actions/group-user.crud.ts
|
|
26
26
|
|
|
@@ -183,476 +183,476 @@ var LIMIT_MIN_UTM_TERM = 1;
|
|
|
183
183
|
var LIMIT_MAX_UTM_TERM = 2028;
|
|
184
184
|
var LIMIT_MIN_UTM_ID = 1;
|
|
185
185
|
var LIMIT_MAX_UTM_ID = 2030;
|
|
186
|
-
var IsValidReferenceId =
|
|
187
|
-
|
|
188
|
-
|
|
186
|
+
var IsValidReferenceId = v45__namespace.pipe(
|
|
187
|
+
v45__namespace.number("please provide a valid id"),
|
|
188
|
+
v45__namespace.minValue(0, "please provide a valid id")
|
|
189
189
|
);
|
|
190
|
-
var IsValidReferenceDocumentId =
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
190
|
+
var IsValidReferenceDocumentId = v45__namespace.pipe(
|
|
191
|
+
v45__namespace.string("please provide a valid document id"),
|
|
192
|
+
v45__namespace.minLength(1),
|
|
193
|
+
v45__namespace.maxLength(255)
|
|
194
194
|
);
|
|
195
|
-
var IsValidMinPage =
|
|
196
|
-
|
|
195
|
+
var IsValidMinPage = v45__namespace.fallback(
|
|
196
|
+
v45__namespace.optional(v45__namespace.pipe(v45__namespace.number(), v45__namespace.minValue(1)), 1),
|
|
197
197
|
1
|
|
198
198
|
);
|
|
199
|
-
var IsValidCost =
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
199
|
+
var IsValidCost = v45__namespace.pipe(
|
|
200
|
+
v45__namespace.number("please enter a cost value"),
|
|
201
|
+
v45__namespace.minValue(0),
|
|
202
|
+
v45__namespace.maxValue(
|
|
203
203
|
1e6,
|
|
204
204
|
"your campaign cost exceeds our $1 million dollar limit, please contact us for enterprise solutions"
|
|
205
205
|
)
|
|
206
206
|
);
|
|
207
|
-
var IsValidOrUndefinedCost =
|
|
208
|
-
var IsValidLabel =
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
207
|
+
var IsValidOrUndefinedCost = v45__namespace.undefinedable(IsValidCost);
|
|
208
|
+
var IsValidLabel = v45__namespace.pipe(
|
|
209
|
+
v45__namespace.string("please provide a label"),
|
|
210
|
+
v45__namespace.trim(),
|
|
211
|
+
v45__namespace.minLength(
|
|
212
212
|
LIMIT_MIN_LABEL,
|
|
213
213
|
`the label is too short, it must be at least ${LIMIT_MIN_LABEL} characters`
|
|
214
214
|
),
|
|
215
|
-
|
|
215
|
+
v45__namespace.maxLength(
|
|
216
216
|
LIMIT_MAX_LABEL,
|
|
217
217
|
`the label is too long, it must be ${LIMIT_MAX_LABEL} characters or less`
|
|
218
218
|
)
|
|
219
219
|
);
|
|
220
|
-
var IsValidOrUndefinedLabel =
|
|
221
|
-
var IsValidValue =
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
220
|
+
var IsValidOrUndefinedLabel = v45__namespace.undefinedable(IsValidLabel);
|
|
221
|
+
var IsValidValue = v45__namespace.pipe(
|
|
222
|
+
v45__namespace.string("please provide a value"),
|
|
223
|
+
v45__namespace.trim(),
|
|
224
|
+
v45__namespace.minLength(
|
|
225
225
|
LIMIT_MIN_VALUE,
|
|
226
226
|
`the value is too short, it must be at least ${LIMIT_MIN_VALUE} characters`
|
|
227
227
|
),
|
|
228
|
-
|
|
228
|
+
v45__namespace.maxLength(
|
|
229
229
|
LIMIT_MAX_VALUE,
|
|
230
230
|
`the value is too long, it must be ${LIMIT_MAX_VALUE} characters or less`
|
|
231
231
|
),
|
|
232
|
-
|
|
232
|
+
v45__namespace.regex(REGEX_VALUE, `the value ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
233
233
|
);
|
|
234
|
-
var IsValidOrUndefinedValue =
|
|
235
|
-
var IsValidDescription =
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
234
|
+
var IsValidOrUndefinedValue = v45__namespace.undefinedable(IsValidValue);
|
|
235
|
+
var IsValidDescription = v45__namespace.nullable(
|
|
236
|
+
v45__namespace.pipe(
|
|
237
|
+
v45__namespace.string("the description must be a string"),
|
|
238
|
+
v45__namespace.trim(),
|
|
239
|
+
v45__namespace.maxLength(
|
|
240
240
|
LIMIT_MAX_DESCRIPTION,
|
|
241
241
|
`the description is too long, it must be ${LIMIT_MAX_DESCRIPTION} characters or less`
|
|
242
242
|
)
|
|
243
243
|
)
|
|
244
244
|
);
|
|
245
|
-
var IsValidOrUndefinedDescription =
|
|
246
|
-
var IsValidIsActive =
|
|
247
|
-
var IsValidOrUndefinedIsActive =
|
|
248
|
-
var IsValidIsSecure =
|
|
249
|
-
var IsValidOrUndefinedIsSecure =
|
|
250
|
-
var IsValidName =
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
245
|
+
var IsValidOrUndefinedDescription = v45__namespace.undefinedable(IsValidDescription);
|
|
246
|
+
var IsValidIsActive = v45__namespace.boolean("isActive must be a boolean");
|
|
247
|
+
var IsValidOrUndefinedIsActive = v45__namespace.undefinedable(IsValidIsActive);
|
|
248
|
+
var IsValidIsSecure = v45__namespace.boolean("isSecure must be a boolean");
|
|
249
|
+
var IsValidOrUndefinedIsSecure = v45__namespace.undefinedable(IsValidIsSecure);
|
|
250
|
+
var IsValidName = v45__namespace.pipe(
|
|
251
|
+
v45__namespace.string("please provide a name"),
|
|
252
|
+
v45__namespace.trim(),
|
|
253
|
+
v45__namespace.minLength(
|
|
254
254
|
LIMIT_MIN_NAME,
|
|
255
255
|
`the name is too short, it must be at least ${LIMIT_MIN_NAME} characters`
|
|
256
256
|
),
|
|
257
|
-
|
|
257
|
+
v45__namespace.maxLength(
|
|
258
258
|
LIMIT_MAX_NAME,
|
|
259
259
|
`the name is too long, it must be ${LIMIT_MAX_NAME} characters or less`
|
|
260
260
|
)
|
|
261
261
|
);
|
|
262
|
-
var IsValidOrUndefinedName =
|
|
263
|
-
var IsValidGroupUserScopes =
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
262
|
+
var IsValidOrUndefinedName = v45__namespace.undefinedable(IsValidName);
|
|
263
|
+
var IsValidGroupUserScopes = v45__namespace.pipe(
|
|
264
|
+
v45__namespace.array(
|
|
265
|
+
v45__namespace.pipe(
|
|
266
|
+
v45__namespace.string("please provide a valid scope"),
|
|
267
|
+
v45__namespace.picklist(GROUP_ENTITY_SCOPES, "invalid group scope provided")
|
|
268
268
|
),
|
|
269
269
|
"please provide an array of scopes"
|
|
270
270
|
),
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
v45__namespace.minLength(1, "you must provide at least one scope"),
|
|
272
|
+
v45__namespace.maxLength(
|
|
273
273
|
GROUP_ENTITY_SCOPES.length,
|
|
274
274
|
"you cannot provide more scopes than available"
|
|
275
275
|
)
|
|
276
276
|
);
|
|
277
|
-
var IsValidApplyValueTo =
|
|
278
|
-
var IsValidOrUndefinedApplyValueTo =
|
|
279
|
-
var IsValidApplyValueAs =
|
|
280
|
-
var IsValidOrUndefinedApplyValueAs =
|
|
281
|
-
var IsValidProductId =
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
277
|
+
var IsValidApplyValueTo = v45__namespace.picklist(GroupApplyValueToOptions);
|
|
278
|
+
var IsValidOrUndefinedApplyValueTo = v45__namespace.undefinedable(IsValidApplyValueTo);
|
|
279
|
+
var IsValidApplyValueAs = v45__namespace.picklist(GroupApplyValueAsOptions);
|
|
280
|
+
var IsValidOrUndefinedApplyValueAs = v45__namespace.undefinedable(IsValidApplyValueAs);
|
|
281
|
+
var IsValidProductId = v45__namespace.pipe(
|
|
282
|
+
v45__namespace.string("please provide a product_id"),
|
|
283
|
+
v45__namespace.trim(),
|
|
284
|
+
v45__namespace.minLength(
|
|
285
285
|
LIMIT_MIN_PRODUCT_ID,
|
|
286
286
|
`the product_id is too short, it must be at least ${LIMIT_MIN_PRODUCT_ID} characters`
|
|
287
287
|
),
|
|
288
|
-
|
|
288
|
+
v45__namespace.maxLength(
|
|
289
289
|
LIMIT_MAX_PRODUCT_ID,
|
|
290
290
|
`the product_id is too long, it must be ${LIMIT_MAX_PRODUCT_ID} characters or less`
|
|
291
291
|
)
|
|
292
292
|
);
|
|
293
|
-
var IsValidOrUndefinedProductId =
|
|
294
|
-
var IsValidPriceId =
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
293
|
+
var IsValidOrUndefinedProductId = v45__namespace.undefinedable(IsValidProductId);
|
|
294
|
+
var IsValidPriceId = v45__namespace.pipe(
|
|
295
|
+
v45__namespace.string("please provide a price_id"),
|
|
296
|
+
v45__namespace.trim(),
|
|
297
|
+
v45__namespace.minLength(
|
|
298
298
|
LIMIT_MIN_PRICE_ID,
|
|
299
299
|
`the price_id is too short, it must be at least ${LIMIT_MIN_PRICE_ID} characters`
|
|
300
300
|
),
|
|
301
|
-
|
|
301
|
+
v45__namespace.maxLength(
|
|
302
302
|
LIMIT_MAX_PRICE_ID,
|
|
303
303
|
`the price_id is too long, it must be ${LIMIT_MAX_PRICE_ID} characters or less`
|
|
304
304
|
)
|
|
305
305
|
);
|
|
306
|
-
var IsValidOrUndefinedPriceId =
|
|
307
|
-
var IsValidUnitAmount =
|
|
308
|
-
|
|
309
|
-
|
|
306
|
+
var IsValidOrUndefinedPriceId = v45__namespace.undefinedable(IsValidPriceId);
|
|
307
|
+
var IsValidUnitAmount = v45__namespace.pipe(
|
|
308
|
+
v45__namespace.number("please provide a unit_amount"),
|
|
309
|
+
v45__namespace.minValue(
|
|
310
310
|
LIMIT_MIN_UNIT_AMOUNT,
|
|
311
311
|
`the unit_amount must be a decimal greater than or equal to ${LIMIT_MIN_UNIT_AMOUNT}`
|
|
312
312
|
)
|
|
313
313
|
);
|
|
314
|
-
var IsValidOrUndefinedUnitAmount =
|
|
315
|
-
var IsValidUnitTermInMonths =
|
|
316
|
-
|
|
317
|
-
|
|
314
|
+
var IsValidOrUndefinedUnitAmount = v45__namespace.undefinedable(IsValidUnitAmount);
|
|
315
|
+
var IsValidUnitTermInMonths = v45__namespace.pipe(
|
|
316
|
+
v45__namespace.number("please provide a unit_term_in_months"),
|
|
317
|
+
v45__namespace.minValue(
|
|
318
318
|
LIMIT_MIN_UNIT_TERM_IN_MONTHS,
|
|
319
319
|
`the unit_term_in_months must be an integer greater than or equal to ${LIMIT_MIN_UNIT_TERM_IN_MONTHS}`
|
|
320
320
|
),
|
|
321
|
-
|
|
321
|
+
v45__namespace.maxValue(
|
|
322
322
|
LIMIT_MAX_UNIT_TERM_IN_MONTHS,
|
|
323
323
|
`the unit_term_in_months must be an integer less than or equal to ${LIMIT_MAX_UNIT_TERM_IN_MONTHS}`
|
|
324
324
|
)
|
|
325
325
|
);
|
|
326
|
-
var IsValidOrUndefinedUnitTermInMonths =
|
|
326
|
+
var IsValidOrUndefinedUnitTermInMonths = v45__namespace.undefinedable(
|
|
327
327
|
IsValidUnitTermInMonths
|
|
328
328
|
);
|
|
329
|
-
var IsValidUrlDestination =
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
329
|
+
var IsValidUrlDestination = v45__namespace.pipe(
|
|
330
|
+
v45__namespace.string("please provide a url destination"),
|
|
331
|
+
v45__namespace.trim(),
|
|
332
|
+
v45__namespace.minLength(
|
|
333
333
|
LIMIT_MIN_DESTINATION,
|
|
334
334
|
`the url destination is too short, it must be at least ${LIMIT_MIN_DESTINATION} characters`
|
|
335
335
|
),
|
|
336
|
-
|
|
336
|
+
v45__namespace.maxLength(
|
|
337
337
|
LIMIT_MAX_DESTINATION,
|
|
338
338
|
`the url destination is too long, it must be ${LIMIT_MAX_DESTINATION} characters or less`
|
|
339
339
|
),
|
|
340
|
-
|
|
340
|
+
v45__namespace.url("please provide a valid url")
|
|
341
341
|
);
|
|
342
|
-
var IsValidOrUndefinedUrlDestination =
|
|
343
|
-
var IsValidUrlProtocol =
|
|
344
|
-
|
|
345
|
-
|
|
342
|
+
var IsValidOrUndefinedUrlDestination = v45__namespace.undefinedable(IsValidUrlDestination);
|
|
343
|
+
var IsValidUrlProtocol = v45__namespace.pipe(
|
|
344
|
+
v45__namespace.string(),
|
|
345
|
+
v45__namespace.picklist(UrlProtocolOptions, "please provide a valid url protocol")
|
|
346
346
|
);
|
|
347
|
-
var IsValidOrUndefinedUrlProtocol =
|
|
348
|
-
var IsValidUrlDomain =
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
347
|
+
var IsValidOrUndefinedUrlProtocol = v45__namespace.undefinedable(IsValidUrlProtocol);
|
|
348
|
+
var IsValidUrlDomain = v45__namespace.pipe(
|
|
349
|
+
v45__namespace.string("please provide a domain"),
|
|
350
|
+
v45__namespace.trim(),
|
|
351
|
+
v45__namespace.minLength(
|
|
352
352
|
LIMIT_MIN_DOMAIN,
|
|
353
353
|
`the domain is too short, it must be at least ${LIMIT_MIN_DOMAIN} characters`
|
|
354
354
|
),
|
|
355
|
-
|
|
355
|
+
v45__namespace.maxLength(
|
|
356
356
|
LIMIT_MAX_DOMAIN,
|
|
357
357
|
`the domain is too long, it must be ${LIMIT_MAX_DOMAIN} characters or less`
|
|
358
358
|
),
|
|
359
|
-
|
|
359
|
+
v45__namespace.regex(REGEX_DOMAIN, ERROR_MESSAGE_REGEX_DOMAIN)
|
|
360
360
|
);
|
|
361
|
-
var IsValidOrUndefinedUrlDomain =
|
|
362
|
-
var IsValidUrlPath =
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
361
|
+
var IsValidOrUndefinedUrlDomain = v45__namespace.undefinedable(IsValidUrlDomain);
|
|
362
|
+
var IsValidUrlPath = v45__namespace.pipe(
|
|
363
|
+
v45__namespace.string("please provide a url path"),
|
|
364
|
+
v45__namespace.trim(),
|
|
365
|
+
v45__namespace.minLength(
|
|
366
366
|
LIMIT_MIN_PATH,
|
|
367
367
|
`the url path is too short, it must be at least ${LIMIT_MIN_PATH} characters`
|
|
368
368
|
),
|
|
369
|
-
|
|
369
|
+
v45__namespace.maxLength(
|
|
370
370
|
LIMIT_MAX_PATH,
|
|
371
371
|
`the url path is too long, it must be ${LIMIT_MAX_PATH} characters or less`
|
|
372
372
|
)
|
|
373
373
|
);
|
|
374
|
-
var IsValidOrUndefinedUrlPath =
|
|
375
|
-
var IsValidUrlQuery =
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
374
|
+
var IsValidOrUndefinedUrlPath = v45__namespace.undefinedable(IsValidUrlPath);
|
|
375
|
+
var IsValidUrlQuery = v45__namespace.pipe(
|
|
376
|
+
v45__namespace.string("please provide a url query"),
|
|
377
|
+
v45__namespace.trim(),
|
|
378
|
+
v45__namespace.minLength(
|
|
379
379
|
LIMIT_MIN_QUERY,
|
|
380
380
|
`the url query is too short, it must be at least ${LIMIT_MIN_QUERY} characters`
|
|
381
381
|
),
|
|
382
|
-
|
|
382
|
+
v45__namespace.maxLength(
|
|
383
383
|
LIMIT_MAX_QUERY,
|
|
384
384
|
`the url query is too long, it must be ${LIMIT_MAX_QUERY} characters or less`
|
|
385
385
|
)
|
|
386
386
|
);
|
|
387
|
-
var IsValidOrUndefinedUrlQuery =
|
|
388
|
-
var IsValidUrlFragment =
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
387
|
+
var IsValidOrUndefinedUrlQuery = v45__namespace.undefinedable(IsValidUrlQuery);
|
|
388
|
+
var IsValidUrlFragment = v45__namespace.pipe(
|
|
389
|
+
v45__namespace.string("please provide a url hash/fragment"),
|
|
390
|
+
v45__namespace.trim(),
|
|
391
|
+
v45__namespace.minLength(
|
|
392
392
|
LIMIT_MIN_FRAGMENT,
|
|
393
393
|
`the url hash/fragment is too short, it must be at least ${LIMIT_MIN_FRAGMENT} characters`
|
|
394
394
|
),
|
|
395
|
-
|
|
395
|
+
v45__namespace.maxLength(
|
|
396
396
|
LIMIT_MAX_FRAGMENT,
|
|
397
397
|
`the url hash/fragment is too long, it must be ${LIMIT_MAX_FRAGMENT} characters or less`
|
|
398
398
|
)
|
|
399
399
|
);
|
|
400
|
-
var IsValidOrUndefinedUrlFragment =
|
|
401
|
-
var IsValidCustomerId =
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
400
|
+
var IsValidOrUndefinedUrlFragment = v45__namespace.undefinedable(IsValidUrlFragment);
|
|
401
|
+
var IsValidCustomerId = v45__namespace.pipe(
|
|
402
|
+
v45__namespace.string("please provide a customer ID"),
|
|
403
|
+
v45__namespace.trim(),
|
|
404
|
+
v45__namespace.maxLength(
|
|
405
405
|
LIMIT_MAX_STRIPE_ID,
|
|
406
406
|
`the customer ID is too long, it must be ${LIMIT_MAX_STRIPE_ID} characters or less`
|
|
407
407
|
)
|
|
408
408
|
);
|
|
409
|
-
var IsValidOrUndefinedCustomerId =
|
|
410
|
-
var IsValidSubscriptionId =
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
409
|
+
var IsValidOrUndefinedCustomerId = v45__namespace.undefinedable(IsValidCustomerId);
|
|
410
|
+
var IsValidSubscriptionId = v45__namespace.pipe(
|
|
411
|
+
v45__namespace.string("please provide a subscription ID"),
|
|
412
|
+
v45__namespace.trim(),
|
|
413
|
+
v45__namespace.maxLength(
|
|
414
414
|
LIMIT_MAX_STRIPE_ID,
|
|
415
415
|
`the subscription ID is too long, it must be ${LIMIT_MAX_STRIPE_ID} characters or less`
|
|
416
416
|
)
|
|
417
417
|
);
|
|
418
|
-
var IsValidOrUndefinedSubscriptionId =
|
|
419
|
-
var IsValidSubscriptionStatus =
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
418
|
+
var IsValidOrUndefinedSubscriptionId = v45__namespace.undefinedable(IsValidSubscriptionId);
|
|
419
|
+
var IsValidSubscriptionStatus = v45__namespace.pipe(
|
|
420
|
+
v45__namespace.string("please provide a subscription status"),
|
|
421
|
+
v45__namespace.trim(),
|
|
422
|
+
v45__namespace.picklist(SubscriptionStatusValues)
|
|
423
423
|
);
|
|
424
|
-
var IsValidOrUndefinedSubscriptionStatus =
|
|
424
|
+
var IsValidOrUndefinedSubscriptionStatus = v45__namespace.undefinedable(
|
|
425
425
|
IsValidSubscriptionStatus
|
|
426
426
|
);
|
|
427
|
-
var IsValidCurrentPeriodStart =
|
|
428
|
-
var IsValidOrUndefinedCurrentPeriodStart =
|
|
427
|
+
var IsValidCurrentPeriodStart = v45__namespace.nullable(v45__namespace.date());
|
|
428
|
+
var IsValidOrUndefinedCurrentPeriodStart = v45__namespace.undefinedable(
|
|
429
429
|
IsValidCurrentPeriodStart
|
|
430
430
|
);
|
|
431
|
-
var IsValidCurrentPeriodEnd =
|
|
432
|
-
var IsValidOrUndefinedCurrentPeriodEnd =
|
|
431
|
+
var IsValidCurrentPeriodEnd = v45__namespace.nullable(v45__namespace.date());
|
|
432
|
+
var IsValidOrUndefinedCurrentPeriodEnd = v45__namespace.undefinedable(
|
|
433
433
|
IsValidCurrentPeriodEnd
|
|
434
434
|
);
|
|
435
|
-
var IsValidTrialPeriodEnd =
|
|
436
|
-
var IsValidOrUndefinedTrialPeriodEnd =
|
|
437
|
-
var IsValidUsername =
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
435
|
+
var IsValidTrialPeriodEnd = v45__namespace.date();
|
|
436
|
+
var IsValidOrUndefinedTrialPeriodEnd = v45__namespace.undefinedable(IsValidTrialPeriodEnd);
|
|
437
|
+
var IsValidUsername = v45__namespace.pipe(
|
|
438
|
+
v45__namespace.string("please provide a username"),
|
|
439
|
+
v45__namespace.trim(),
|
|
440
|
+
v45__namespace.minLength(
|
|
441
441
|
LIMIT_MIN_USERNAME,
|
|
442
442
|
`your username is too short, it must be at least ${LIMIT_MIN_USERNAME} characters`
|
|
443
443
|
),
|
|
444
|
-
|
|
444
|
+
v45__namespace.maxLength(
|
|
445
445
|
LIMIT_MAX_USERNAME,
|
|
446
446
|
`your username is too long, it must be ${LIMIT_MAX_USERNAME} characters or less`
|
|
447
447
|
),
|
|
448
|
-
|
|
448
|
+
v45__namespace.regex(REGEX_VALUE, `your username ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
449
449
|
);
|
|
450
|
-
var IsValidOrUndefinedUsername =
|
|
451
|
-
var IsValidEmail =
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
450
|
+
var IsValidOrUndefinedUsername = v45__namespace.undefinedable(IsValidUsername);
|
|
451
|
+
var IsValidEmail = v45__namespace.pipe(
|
|
452
|
+
v45__namespace.string("please provide an email"),
|
|
453
|
+
v45__namespace.trim(),
|
|
454
|
+
v45__namespace.minLength(
|
|
455
455
|
LIMIT_MIN_EMAIL,
|
|
456
456
|
`your email is too short, it must be at least ${LIMIT_MIN_EMAIL} characters`
|
|
457
457
|
),
|
|
458
|
-
|
|
458
|
+
v45__namespace.maxLength(
|
|
459
459
|
LIMIT_MAX_EMAIL,
|
|
460
460
|
`your email is too long, it must be ${LIMIT_MAX_EMAIL} characters or less`
|
|
461
461
|
),
|
|
462
|
-
|
|
462
|
+
v45__namespace.email("please provide a valid email address")
|
|
463
463
|
);
|
|
464
|
-
var IsValidOrUndefinedEmail =
|
|
465
|
-
var IsValidPassword =
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
464
|
+
var IsValidOrUndefinedEmail = v45__namespace.undefinedable(IsValidEmail);
|
|
465
|
+
var IsValidPassword = v45__namespace.pipe(
|
|
466
|
+
v45__namespace.string("a password is required"),
|
|
467
|
+
v45__namespace.trim(),
|
|
468
|
+
v45__namespace.minLength(
|
|
469
469
|
LIMIT_MIN_PASSWORD,
|
|
470
470
|
`your password is too short, it must be at least ${LIMIT_MIN_PASSWORD} characters`
|
|
471
471
|
),
|
|
472
|
-
|
|
472
|
+
v45__namespace.maxLength(
|
|
473
473
|
LIMIT_MAX_PASSWORD,
|
|
474
474
|
`your password is too long, it must be ${LIMIT_MAX_PASSWORD} characters or less`
|
|
475
475
|
)
|
|
476
476
|
);
|
|
477
|
-
var IsValidOrUndefinedPassword =
|
|
478
|
-
var IsValidProvider =
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
477
|
+
var IsValidOrUndefinedPassword = v45__namespace.undefinedable(IsValidPassword);
|
|
478
|
+
var IsValidProvider = v45__namespace.pipe(
|
|
479
|
+
v45__namespace.string("please enter a provider"),
|
|
480
|
+
v45__namespace.trim(),
|
|
481
|
+
v45__namespace.maxLength(
|
|
482
482
|
LIMIT_MAX_PROVIDER,
|
|
483
483
|
`the provider string is too long, it must be ${LIMIT_MAX_PROVIDER} characters or less`
|
|
484
484
|
)
|
|
485
485
|
);
|
|
486
|
-
var IsValidOrUndefinedProvider =
|
|
487
|
-
var IsValidConfirmed =
|
|
488
|
-
var IsValidOrUndefinedConfirmed =
|
|
489
|
-
var IsValidBlocked =
|
|
490
|
-
var IsValidOrUndefinedBlocked =
|
|
491
|
-
var IsValidUrlUtmSource =
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
486
|
+
var IsValidOrUndefinedProvider = v45__namespace.undefinedable(IsValidProvider);
|
|
487
|
+
var IsValidConfirmed = v45__namespace.boolean();
|
|
488
|
+
var IsValidOrUndefinedConfirmed = v45__namespace.undefinedable(IsValidConfirmed);
|
|
489
|
+
var IsValidBlocked = v45__namespace.boolean();
|
|
490
|
+
var IsValidOrUndefinedBlocked = v45__namespace.undefinedable(IsValidBlocked);
|
|
491
|
+
var IsValidUrlUtmSource = v45__namespace.pipe(
|
|
492
|
+
v45__namespace.string(),
|
|
493
|
+
v45__namespace.trim(),
|
|
494
|
+
v45__namespace.minLength(
|
|
495
495
|
LIMIT_MIN_UTM_SOURCE,
|
|
496
496
|
`the utm_source is too short, it must be at least ${LIMIT_MIN_UTM_SOURCE} characters`
|
|
497
497
|
),
|
|
498
|
-
|
|
498
|
+
v45__namespace.maxLength(
|
|
499
499
|
LIMIT_MAX_UTM_SOURCE,
|
|
500
500
|
`the utm_source is too long, it must be ${LIMIT_MAX_UTM_SOURCE} characters or less`
|
|
501
501
|
),
|
|
502
|
-
|
|
502
|
+
v45__namespace.regex(REGEX_VALUE, `utm_source ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
503
503
|
);
|
|
504
|
-
var IsValidOrUndefinedUrlUtmSource =
|
|
505
|
-
var IsValidUrlUtmMedium =
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
504
|
+
var IsValidOrUndefinedUrlUtmSource = v45__namespace.undefinedable(IsValidUrlUtmSource);
|
|
505
|
+
var IsValidUrlUtmMedium = v45__namespace.pipe(
|
|
506
|
+
v45__namespace.string(),
|
|
507
|
+
v45__namespace.trim(),
|
|
508
|
+
v45__namespace.minLength(
|
|
509
509
|
LIMIT_MIN_UTM_MEDIUM,
|
|
510
510
|
`the utm_medium is too short, it must be at least ${LIMIT_MIN_UTM_MEDIUM} characters`
|
|
511
511
|
),
|
|
512
|
-
|
|
512
|
+
v45__namespace.maxLength(
|
|
513
513
|
LIMIT_MAX_UTM_MEDIUM,
|
|
514
514
|
`the utm_medium is too long, it must be ${LIMIT_MAX_UTM_MEDIUM} characters or less`
|
|
515
515
|
),
|
|
516
|
-
|
|
516
|
+
v45__namespace.regex(REGEX_VALUE, `utm_medium ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
517
517
|
);
|
|
518
|
-
var IsValidOrUndefinedUrlUtmMedium =
|
|
519
|
-
var IsValidUrlUtmCampaign =
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
518
|
+
var IsValidOrUndefinedUrlUtmMedium = v45__namespace.undefinedable(IsValidUrlUtmMedium);
|
|
519
|
+
var IsValidUrlUtmCampaign = v45__namespace.pipe(
|
|
520
|
+
v45__namespace.string(),
|
|
521
|
+
v45__namespace.trim(),
|
|
522
|
+
v45__namespace.minLength(
|
|
523
523
|
LIMIT_MIN_UTM_CAMPAIGN,
|
|
524
524
|
`the utm_campaign is too short, it must be at least ${LIMIT_MIN_UTM_CAMPAIGN} characters`
|
|
525
525
|
),
|
|
526
|
-
|
|
526
|
+
v45__namespace.maxLength(
|
|
527
527
|
LIMIT_MAX_UTM_CAMPAIGN,
|
|
528
528
|
`the utm_campaign is too long, it must be ${LIMIT_MAX_UTM_CAMPAIGN} characters or less`
|
|
529
529
|
),
|
|
530
|
-
|
|
530
|
+
v45__namespace.regex(REGEX_VALUE, `utm_campaign ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
531
531
|
);
|
|
532
|
-
var IsValidOrUndefinedUrlUtmCampaign =
|
|
533
|
-
var IsValidUrlUtmCreativeFormat =
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
532
|
+
var IsValidOrUndefinedUrlUtmCampaign = v45__namespace.undefinedable(IsValidUrlUtmCampaign);
|
|
533
|
+
var IsValidUrlUtmCreativeFormat = v45__namespace.pipe(
|
|
534
|
+
v45__namespace.string(),
|
|
535
|
+
v45__namespace.trim(),
|
|
536
|
+
v45__namespace.minLength(
|
|
537
537
|
LIMIT_MIN_UTM_CREATIVE_FORMAT,
|
|
538
538
|
`the utm_creative_format is too short, it must be at least ${LIMIT_MIN_UTM_CREATIVE_FORMAT} characters`
|
|
539
539
|
),
|
|
540
|
-
|
|
540
|
+
v45__namespace.maxLength(
|
|
541
541
|
LIMIT_MAX_UTM_CREATIVE_FORMAT,
|
|
542
542
|
`the utm_creative_format is too long, it must be ${LIMIT_MAX_UTM_CREATIVE_FORMAT} characters or less`
|
|
543
543
|
),
|
|
544
|
-
|
|
544
|
+
v45__namespace.regex(REGEX_VALUE, `utm_creative_format ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
545
545
|
);
|
|
546
|
-
var IsValidOrUndefinedUrlUtmCreativeFormat =
|
|
546
|
+
var IsValidOrUndefinedUrlUtmCreativeFormat = v45__namespace.undefinedable(
|
|
547
547
|
IsValidUrlUtmCreativeFormat
|
|
548
548
|
);
|
|
549
|
-
var IsValidUrlUtmContent =
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
549
|
+
var IsValidUrlUtmContent = v45__namespace.pipe(
|
|
550
|
+
v45__namespace.string(),
|
|
551
|
+
v45__namespace.trim(),
|
|
552
|
+
v45__namespace.minLength(
|
|
553
553
|
LIMIT_MIN_UTM_CONTENT,
|
|
554
554
|
`the utm_content is too short, it must be at least ${LIMIT_MIN_UTM_CONTENT} characters`
|
|
555
555
|
),
|
|
556
|
-
|
|
556
|
+
v45__namespace.maxLength(
|
|
557
557
|
LIMIT_MAX_UTM_CONTENT,
|
|
558
558
|
`the utm_content is too long, it must be ${LIMIT_MAX_UTM_CONTENT} characters or less`
|
|
559
559
|
),
|
|
560
|
-
|
|
560
|
+
v45__namespace.regex(REGEX_VALUE, `utm_content ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
561
561
|
);
|
|
562
|
-
var IsValidOrUndefinedUrlUtmContent =
|
|
563
|
-
var IsValidUrlUtmTerm =
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
562
|
+
var IsValidOrUndefinedUrlUtmContent = v45__namespace.undefinedable(IsValidUrlUtmContent);
|
|
563
|
+
var IsValidUrlUtmTerm = v45__namespace.pipe(
|
|
564
|
+
v45__namespace.string(),
|
|
565
|
+
v45__namespace.trim(),
|
|
566
|
+
v45__namespace.minLength(
|
|
567
567
|
LIMIT_MIN_UTM_TERM,
|
|
568
568
|
`the utm_term is too short, it must be at least ${LIMIT_MIN_UTM_TERM} characters`
|
|
569
569
|
),
|
|
570
|
-
|
|
570
|
+
v45__namespace.maxLength(
|
|
571
571
|
LIMIT_MAX_UTM_TERM,
|
|
572
572
|
`the utm_term is too long, it must be ${LIMIT_MAX_UTM_TERM} characters or less`
|
|
573
573
|
),
|
|
574
|
-
|
|
574
|
+
v45__namespace.regex(REGEX_VALUE, `utm_term ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
575
575
|
);
|
|
576
|
-
var IsValidOrUndefinedUrlUtmTerm =
|
|
577
|
-
var IsValidUrlUtmId =
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
576
|
+
var IsValidOrUndefinedUrlUtmTerm = v45__namespace.undefinedable(IsValidUrlUtmTerm);
|
|
577
|
+
var IsValidUrlUtmId = v45__namespace.pipe(
|
|
578
|
+
v45__namespace.string(),
|
|
579
|
+
v45__namespace.trim(),
|
|
580
|
+
v45__namespace.minLength(
|
|
581
581
|
LIMIT_MIN_UTM_ID,
|
|
582
582
|
`the utm_id is too short, it must be at least ${LIMIT_MIN_UTM_ID} characters`
|
|
583
583
|
),
|
|
584
|
-
|
|
584
|
+
v45__namespace.maxLength(
|
|
585
585
|
LIMIT_MAX_UTM_ID,
|
|
586
586
|
`the utm_id is too long, it must be ${LIMIT_MAX_UTM_ID} characters or less`
|
|
587
587
|
),
|
|
588
|
-
|
|
588
|
+
v45__namespace.regex(REGEX_VALUE, `utm_id ${ERROR_MESSAGE_REGEX_VALUE}`)
|
|
589
589
|
);
|
|
590
|
-
var IsValidOrUndefinedUrlUtmId =
|
|
590
|
+
var IsValidOrUndefinedUrlUtmId = v45__namespace.undefinedable(IsValidUrlUtmId);
|
|
591
591
|
|
|
592
592
|
// src/actions/group-user.crud.ts
|
|
593
|
-
var SQueryListGroupUserDocuments =
|
|
593
|
+
var SQueryListGroupUserDocuments = v45__namespace.object({
|
|
594
594
|
documentId: IsValidReferenceDocumentId,
|
|
595
595
|
page: IsValidMinPage,
|
|
596
|
-
size:
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
596
|
+
size: v45__namespace.fallback(
|
|
597
|
+
v45__namespace.optional(
|
|
598
|
+
v45__namespace.pipe(
|
|
599
|
+
v45__namespace.number(),
|
|
600
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
601
|
+
v45__namespace.maxValue(GROUP_USER_PAGINATION_MAX_SIZE_LIMIT)
|
|
602
602
|
),
|
|
603
603
|
GROUP_USER_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
604
604
|
),
|
|
605
605
|
GROUP_USER_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
606
606
|
)
|
|
607
607
|
});
|
|
608
|
-
var SCreateGroupUserDocument =
|
|
608
|
+
var SCreateGroupUserDocument = v45__namespace.object({
|
|
609
609
|
group: IsValidReferenceDocumentId,
|
|
610
610
|
user: IsValidReferenceDocumentId,
|
|
611
611
|
scopes: IsValidGroupUserScopes
|
|
612
612
|
});
|
|
613
|
-
var SCreateGroupUserAssignMultipleUsers =
|
|
613
|
+
var SCreateGroupUserAssignMultipleUsers = v45__namespace.object({
|
|
614
614
|
group: IsValidReferenceDocumentId,
|
|
615
|
-
user:
|
|
616
|
-
|
|
617
|
-
|
|
615
|
+
user: v45__namespace.pipe(
|
|
616
|
+
v45__namespace.array(IsValidReferenceDocumentId),
|
|
617
|
+
v45__namespace.minLength(1, "Please assign at least one user to this group")
|
|
618
618
|
),
|
|
619
619
|
scopes: IsValidGroupUserScopes
|
|
620
620
|
});
|
|
621
|
-
var SCreateGroupUserDocumentRequest =
|
|
621
|
+
var SCreateGroupUserDocumentRequest = v45__namespace.object({
|
|
622
622
|
documentId: IsValidReferenceDocumentId,
|
|
623
623
|
data: SCreateGroupUserDocument
|
|
624
624
|
});
|
|
625
|
-
var SReadGroupUserDocumentById =
|
|
625
|
+
var SReadGroupUserDocumentById = v45__namespace.object({
|
|
626
626
|
id: IsValidReferenceId
|
|
627
627
|
});
|
|
628
|
-
var SReadGroupUserDocumentByDocumentId =
|
|
628
|
+
var SReadGroupUserDocumentByDocumentId = v45__namespace.object({
|
|
629
629
|
documentId: IsValidReferenceDocumentId
|
|
630
630
|
});
|
|
631
|
-
var SUpdateGroupUserDocument =
|
|
631
|
+
var SUpdateGroupUserDocument = v45__namespace.object({
|
|
632
632
|
scopes: IsValidGroupUserScopes
|
|
633
633
|
});
|
|
634
|
-
var SUpdateGroupUserDocumentRequest =
|
|
634
|
+
var SUpdateGroupUserDocumentRequest = v45__namespace.object({
|
|
635
635
|
documentId: IsValidReferenceDocumentId,
|
|
636
636
|
data: SUpdateGroupUserDocument
|
|
637
637
|
});
|
|
638
|
-
var SDeleteGroupUserDocument =
|
|
638
|
+
var SDeleteGroupUserDocument = v45__namespace.object({
|
|
639
639
|
documentId: IsValidReferenceDocumentId
|
|
640
640
|
});
|
|
641
|
-
var SQueryListGroupDocuments =
|
|
641
|
+
var SQueryListGroupDocuments = v45__namespace.object({
|
|
642
642
|
page: IsValidMinPage,
|
|
643
|
-
size:
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
643
|
+
size: v45__namespace.fallback(
|
|
644
|
+
v45__namespace.optional(
|
|
645
|
+
v45__namespace.pipe(
|
|
646
|
+
v45__namespace.number(),
|
|
647
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
648
|
+
v45__namespace.maxValue(GROUP_PAGINATION_MAX_SIZE_LIMIT)
|
|
649
649
|
),
|
|
650
650
|
GROUP_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
651
651
|
),
|
|
652
652
|
GROUP_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
653
653
|
)
|
|
654
654
|
});
|
|
655
|
-
var SCreateGroupDocument =
|
|
655
|
+
var SCreateGroupDocument = v45__namespace.object({
|
|
656
656
|
label: IsValidLabel,
|
|
657
657
|
value: IsValidValue,
|
|
658
658
|
description: IsValidDescription,
|
|
@@ -660,13 +660,13 @@ var SCreateGroupDocument = v29__namespace.object({
|
|
|
660
660
|
apply_value_to: IsValidApplyValueTo,
|
|
661
661
|
apply_value_as: IsValidApplyValueAs
|
|
662
662
|
});
|
|
663
|
-
var SReadGroupDocumentById =
|
|
663
|
+
var SReadGroupDocumentById = v45__namespace.object({
|
|
664
664
|
id: IsValidReferenceId
|
|
665
665
|
});
|
|
666
|
-
var SReadGroupDocumentByDocumentId =
|
|
666
|
+
var SReadGroupDocumentByDocumentId = v45__namespace.object({
|
|
667
667
|
documentId: IsValidReferenceDocumentId
|
|
668
668
|
});
|
|
669
|
-
var SUpdateAsCreatorGroupDocument =
|
|
669
|
+
var SUpdateAsCreatorGroupDocument = v45__namespace.object({
|
|
670
670
|
label: IsValidOrUndefinedLabel,
|
|
671
671
|
value: IsValidOrUndefinedValue,
|
|
672
672
|
description: IsValidOrUndefinedDescription,
|
|
@@ -674,53 +674,53 @@ var SUpdateAsCreatorGroupDocument = v29__namespace.object({
|
|
|
674
674
|
apply_value_to: IsValidOrUndefinedApplyValueTo,
|
|
675
675
|
apply_value_as: IsValidOrUndefinedApplyValueAs
|
|
676
676
|
});
|
|
677
|
-
var SUpdateAsCreatorGroupDocumentRequest =
|
|
677
|
+
var SUpdateAsCreatorGroupDocumentRequest = v45__namespace.object({
|
|
678
678
|
documentId: IsValidReferenceDocumentId,
|
|
679
679
|
data: SUpdateAsCreatorGroupDocument
|
|
680
680
|
});
|
|
681
|
-
var SUpdateAsInvitedGroupDocument =
|
|
681
|
+
var SUpdateAsInvitedGroupDocument = v45__namespace.object({
|
|
682
682
|
label: IsValidOrUndefinedLabel,
|
|
683
683
|
description: IsValidOrUndefinedDescription
|
|
684
684
|
});
|
|
685
|
-
var SUpdateAsInvitedGroupDocumentRequest =
|
|
685
|
+
var SUpdateAsInvitedGroupDocumentRequest = v45__namespace.object({
|
|
686
686
|
documentId: IsValidReferenceDocumentId,
|
|
687
687
|
data: SUpdateAsInvitedGroupDocument
|
|
688
688
|
});
|
|
689
|
-
var SUpdateGroupDocumentRequest =
|
|
689
|
+
var SUpdateGroupDocumentRequest = v45__namespace.union([
|
|
690
690
|
SUpdateAsCreatorGroupDocumentRequest,
|
|
691
691
|
SUpdateAsInvitedGroupDocumentRequest
|
|
692
692
|
]);
|
|
693
|
-
var SDeleteGroupDocument =
|
|
693
|
+
var SDeleteGroupDocument = v45__namespace.object({
|
|
694
694
|
documentId: IsValidReferenceDocumentId
|
|
695
695
|
});
|
|
696
|
-
var SReadUserDocumentToken =
|
|
697
|
-
token:
|
|
696
|
+
var SReadUserDocumentToken = v45__namespace.object({
|
|
697
|
+
token: v45__namespace.string()
|
|
698
698
|
});
|
|
699
|
-
var SLoginUserDocument =
|
|
699
|
+
var SLoginUserDocument = v45__namespace.object({
|
|
700
700
|
identifier: IsValidEmail,
|
|
701
701
|
password: IsValidPassword
|
|
702
702
|
});
|
|
703
|
-
var SRegisterUserDocument =
|
|
703
|
+
var SRegisterUserDocument = v45__namespace.object({
|
|
704
704
|
username: IsValidUsername,
|
|
705
705
|
email: IsValidEmail,
|
|
706
706
|
password: IsValidPassword
|
|
707
707
|
});
|
|
708
|
-
var SForgotPasswordUserDocument =
|
|
708
|
+
var SForgotPasswordUserDocument = v45__namespace.object({
|
|
709
709
|
email: IsValidEmail
|
|
710
710
|
});
|
|
711
|
-
var SResetPasswordUserDocument =
|
|
711
|
+
var SResetPasswordUserDocument = v45__namespace.object({
|
|
712
712
|
password: IsValidPassword,
|
|
713
713
|
passwordConfirmation: IsValidPassword,
|
|
714
|
-
code:
|
|
714
|
+
code: v45__namespace.string()
|
|
715
715
|
});
|
|
716
|
-
var SChangePassword =
|
|
717
|
-
|
|
716
|
+
var SChangePassword = v45__namespace.pipe(
|
|
717
|
+
v45__namespace.object({
|
|
718
718
|
currentPassword: IsValidPassword,
|
|
719
719
|
password: IsValidPassword,
|
|
720
720
|
passwordConfirmation: IsValidPassword
|
|
721
721
|
}),
|
|
722
|
-
|
|
723
|
-
|
|
722
|
+
v45__namespace.forward(
|
|
723
|
+
v45__namespace.partialCheck(
|
|
724
724
|
[["password"], ["passwordConfirmation"]],
|
|
725
725
|
(input) => input.password === input.passwordConfirmation,
|
|
726
726
|
"Your new passwords do not match."
|
|
@@ -728,10 +728,17 @@ var SChangePassword = v29__namespace.pipe(
|
|
|
728
728
|
["passwordConfirmation"]
|
|
729
729
|
)
|
|
730
730
|
);
|
|
731
|
-
var SRequestConfirmEmail =
|
|
731
|
+
var SRequestConfirmEmail = v45__namespace.object({
|
|
732
732
|
email: IsValidEmail
|
|
733
733
|
});
|
|
734
|
-
var
|
|
734
|
+
var SBaseDocument = v45__namespace.object({
|
|
735
|
+
id: v45__namespace.number(),
|
|
736
|
+
documentId: IsValidReferenceDocumentId,
|
|
737
|
+
publishedAt: v45__namespace.optional(v45__namespace.string()),
|
|
738
|
+
createdAt: v45__namespace.string(),
|
|
739
|
+
updatedAt: v45__namespace.string()
|
|
740
|
+
});
|
|
741
|
+
var SBaseGroupDocument = v45__namespace.object({
|
|
735
742
|
label: IsValidLabel,
|
|
736
743
|
value: IsValidValue,
|
|
737
744
|
description: IsValidDescription,
|
|
@@ -741,191 +748,173 @@ var SBaseGroupDocument = v29__namespace.object({
|
|
|
741
748
|
});
|
|
742
749
|
|
|
743
750
|
// src/entities/group/group.document.ts
|
|
744
|
-
var SGroupDocument =
|
|
745
|
-
|
|
746
|
-
documentId: IsValidReferenceDocumentId,
|
|
747
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
748
|
-
createdAt: v29__namespace.string(),
|
|
749
|
-
updatedAt: v29__namespace.string(),
|
|
751
|
+
var SGroupDocument = v45__namespace.object({
|
|
752
|
+
...SBaseDocument.entries,
|
|
750
753
|
...SBaseGroupDocument.entries
|
|
751
754
|
});
|
|
752
|
-
var SBaseTrackingLinkDocument =
|
|
755
|
+
var SBaseTrackingLinkDocument = v45__namespace.object({
|
|
753
756
|
is_active: IsValidIsActive,
|
|
754
757
|
destination: IsValidUrlDestination,
|
|
755
758
|
protocol: IsValidUrlProtocol,
|
|
756
759
|
domain: IsValidUrlDomain,
|
|
757
|
-
path:
|
|
758
|
-
query:
|
|
759
|
-
fragment:
|
|
760
|
-
utm_source:
|
|
761
|
-
utm_medium:
|
|
762
|
-
utm_campaign:
|
|
763
|
-
utm_creative_format:
|
|
764
|
-
utm_content:
|
|
765
|
-
utm_term:
|
|
766
|
-
utm_id:
|
|
760
|
+
path: v45__namespace.nullable(IsValidUrlPath),
|
|
761
|
+
query: v45__namespace.nullable(IsValidUrlQuery),
|
|
762
|
+
fragment: v45__namespace.nullable(IsValidUrlFragment),
|
|
763
|
+
utm_source: v45__namespace.nullable(IsValidUrlUtmSource),
|
|
764
|
+
utm_medium: v45__namespace.nullable(IsValidUrlUtmMedium),
|
|
765
|
+
utm_campaign: v45__namespace.nullable(IsValidUrlUtmCampaign),
|
|
766
|
+
utm_creative_format: v45__namespace.nullable(IsValidUrlUtmCreativeFormat),
|
|
767
|
+
utm_content: v45__namespace.nullable(IsValidUrlUtmContent),
|
|
768
|
+
utm_term: v45__namespace.nullable(IsValidUrlUtmTerm),
|
|
769
|
+
utm_id: v45__namespace.nullable(IsValidUrlUtmId)
|
|
767
770
|
});
|
|
768
771
|
|
|
769
772
|
// src/entities/tracking-link/tracking-link.document.ts
|
|
770
|
-
var STrackingLinkDocument =
|
|
771
|
-
|
|
772
|
-
documentId: IsValidReferenceDocumentId,
|
|
773
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
774
|
-
createdAt: v29__namespace.string(),
|
|
775
|
-
updatedAt: v29__namespace.string(),
|
|
773
|
+
var STrackingLinkDocument = v45__namespace.object({
|
|
774
|
+
...SBaseDocument.entries,
|
|
776
775
|
...SBaseTrackingLinkDocument.entries
|
|
777
776
|
});
|
|
778
|
-
var SBaseUserDocument =
|
|
777
|
+
var SBaseUserDocument = v45__namespace.object({
|
|
779
778
|
username: IsValidUsername,
|
|
780
779
|
email: IsValidEmail,
|
|
781
|
-
confirmed:
|
|
782
|
-
blocked:
|
|
783
|
-
provider:
|
|
780
|
+
confirmed: v45__namespace.boolean(),
|
|
781
|
+
blocked: v45__namespace.boolean(),
|
|
782
|
+
provider: v45__namespace.literal("local")
|
|
784
783
|
});
|
|
785
784
|
|
|
786
785
|
// src/entities/user/user.document.ts
|
|
787
|
-
var SUserDocument =
|
|
788
|
-
|
|
789
|
-
documentId: IsValidReferenceDocumentId,
|
|
790
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
791
|
-
createdAt: v29__namespace.string(),
|
|
792
|
-
updatedAt: v29__namespace.string(),
|
|
786
|
+
var SUserDocument = v45__namespace.object({
|
|
787
|
+
...SBaseDocument.entries,
|
|
793
788
|
...SBaseUserDocument.entries
|
|
794
789
|
});
|
|
795
790
|
|
|
796
791
|
// src/entities/user/user-draft-pub-created-by.schema.ts
|
|
797
|
-
var SBaseDocumentCreatedBy =
|
|
798
|
-
createdBy:
|
|
799
|
-
updatedBy:
|
|
792
|
+
var SBaseDocumentCreatedBy = v45__namespace.object({
|
|
793
|
+
createdBy: v45__namespace.optional(SUserDocument),
|
|
794
|
+
updatedBy: v45__namespace.optional(SUserDocument)
|
|
800
795
|
});
|
|
801
|
-
var SBaseRoleDocument =
|
|
802
|
-
type:
|
|
803
|
-
name:
|
|
804
|
-
locale:
|
|
805
|
-
description:
|
|
796
|
+
var SBaseRoleDocument = v45__namespace.object({
|
|
797
|
+
type: v45__namespace.string(),
|
|
798
|
+
name: v45__namespace.string(),
|
|
799
|
+
locale: v45__namespace.string(),
|
|
800
|
+
description: v45__namespace.string()
|
|
806
801
|
});
|
|
807
802
|
|
|
808
803
|
// src/entities/role/role.document.ts
|
|
809
|
-
var SRoleDocument =
|
|
810
|
-
|
|
811
|
-
documentId: IsValidReferenceDocumentId,
|
|
812
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
813
|
-
createdAt: v29__namespace.string(),
|
|
814
|
-
updatedAt: v29__namespace.string(),
|
|
804
|
+
var SRoleDocument = v45__namespace.object({
|
|
805
|
+
...SBaseDocument.entries,
|
|
815
806
|
...SBaseRoleDocument.entries
|
|
816
807
|
});
|
|
817
|
-
var SRoleRelationsDocument =
|
|
818
|
-
user:
|
|
808
|
+
var SRoleRelationsDocument = v45__namespace.object({
|
|
809
|
+
user: v45__namespace.optional(SUserDocument)
|
|
819
810
|
});
|
|
820
|
-
var SBaseUserAccountDocument =
|
|
821
|
-
customer_id:
|
|
822
|
-
subscription_id:
|
|
811
|
+
var SBaseUserAccountDocument = v45__namespace.object({
|
|
812
|
+
customer_id: v45__namespace.nullable(IsValidCustomerId),
|
|
813
|
+
subscription_id: v45__namespace.nullable(IsValidCustomerId),
|
|
823
814
|
subscription_status: IsValidSubscriptionStatus,
|
|
824
|
-
current_period_start:
|
|
825
|
-
current_period_end:
|
|
826
|
-
trial_period_end:
|
|
815
|
+
current_period_start: v45__namespace.nullable(IsValidCurrentPeriodStart),
|
|
816
|
+
current_period_end: v45__namespace.nullable(IsValidCurrentPeriodEnd),
|
|
817
|
+
trial_period_end: v45__namespace.nullable(IsValidTrialPeriodEnd)
|
|
827
818
|
});
|
|
828
819
|
|
|
829
820
|
// src/entities/user-account/user-account.document.ts
|
|
830
|
-
var SUserAccountDocument =
|
|
831
|
-
|
|
832
|
-
documentId: IsValidReferenceDocumentId,
|
|
833
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
834
|
-
createdAt: v29__namespace.string(),
|
|
835
|
-
updatedAt: v29__namespace.string(),
|
|
821
|
+
var SUserAccountDocument = v45__namespace.object({
|
|
822
|
+
...SBaseDocument.entries,
|
|
836
823
|
...SBaseUserAccountDocument.entries
|
|
837
824
|
});
|
|
838
|
-
var SUserAccountRelationsDocument =
|
|
839
|
-
user:
|
|
825
|
+
var SUserAccountRelationsDocument = v45__namespace.object({
|
|
826
|
+
user: v45__namespace.optional(SUserDocument)
|
|
840
827
|
});
|
|
841
|
-
var SUserAccountRelationsReqDocument =
|
|
828
|
+
var SUserAccountRelationsReqDocument = v45__namespace.object({
|
|
842
829
|
user: SUserDocument
|
|
843
830
|
});
|
|
844
|
-
var SBaseUserLimitationsDocument =
|
|
845
|
-
limit_groups:
|
|
846
|
-
limit_group_users:
|
|
847
|
-
limit_websites:
|
|
848
|
-
limit_tracking_links:
|
|
849
|
-
limit_sources:
|
|
850
|
-
limit_mediums:
|
|
851
|
-
limit_campaign_ids:
|
|
852
|
-
limit_campaign_keys:
|
|
853
|
-
limit_campaign_phases:
|
|
854
|
-
limit_campaign_products:
|
|
855
|
-
limit_contents:
|
|
856
|
-
limit_creative_formats:
|
|
857
|
-
limit_creative_format_variants:
|
|
858
|
-
limit_terms:
|
|
831
|
+
var SBaseUserLimitationsDocument = v45__namespace.object({
|
|
832
|
+
limit_groups: v45__namespace.number(),
|
|
833
|
+
limit_group_users: v45__namespace.number(),
|
|
834
|
+
limit_websites: v45__namespace.number(),
|
|
835
|
+
limit_tracking_links: v45__namespace.number(),
|
|
836
|
+
limit_sources: v45__namespace.number(),
|
|
837
|
+
limit_mediums: v45__namespace.number(),
|
|
838
|
+
limit_campaign_ids: v45__namespace.number(),
|
|
839
|
+
limit_campaign_keys: v45__namespace.number(),
|
|
840
|
+
limit_campaign_phases: v45__namespace.number(),
|
|
841
|
+
limit_campaign_products: v45__namespace.number(),
|
|
842
|
+
limit_contents: v45__namespace.number(),
|
|
843
|
+
limit_creative_formats: v45__namespace.number(),
|
|
844
|
+
limit_creative_format_variants: v45__namespace.number(),
|
|
845
|
+
limit_terms: v45__namespace.number()
|
|
859
846
|
});
|
|
860
847
|
|
|
861
848
|
// src/entities/user-limitations/user-limitations.document.ts
|
|
862
|
-
var SUserLimitationsDocument =
|
|
863
|
-
|
|
864
|
-
documentId: IsValidReferenceDocumentId,
|
|
865
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
866
|
-
createdAt: v29__namespace.string(),
|
|
867
|
-
updatedAt: v29__namespace.string(),
|
|
849
|
+
var SUserLimitationsDocument = v45__namespace.object({
|
|
850
|
+
...SBaseDocument.entries,
|
|
868
851
|
...SBaseUserLimitationsDocument.entries
|
|
869
852
|
});
|
|
870
|
-
var SUserLimitationsRelationsDocument =
|
|
871
|
-
user:
|
|
853
|
+
var SUserLimitationsRelationsDocument = v45__namespace.object({
|
|
854
|
+
user: v45__namespace.optional(SUserDocument)
|
|
872
855
|
});
|
|
873
|
-
var SBaseCampaignIdDocument =
|
|
856
|
+
var SBaseCampaignIdDocument = v45__namespace.object({
|
|
874
857
|
cost: IsValidCost,
|
|
875
858
|
label: IsValidLabel,
|
|
876
859
|
value: IsValidValue,
|
|
877
860
|
description: IsValidDescription,
|
|
878
861
|
is_active: IsValidIsActive
|
|
879
862
|
});
|
|
880
|
-
var SBaseCampaignPhaseDocument =
|
|
863
|
+
var SBaseCampaignPhaseDocument = v45__namespace.object({
|
|
881
864
|
label: IsValidLabel,
|
|
882
865
|
value: IsValidValue,
|
|
883
866
|
description: IsValidDescription,
|
|
884
867
|
is_active: IsValidIsActive
|
|
885
868
|
});
|
|
886
|
-
var SBaseCampaignProductDocument =
|
|
869
|
+
var SBaseCampaignProductDocument = v45__namespace.object({
|
|
887
870
|
label: IsValidLabel,
|
|
888
871
|
value: IsValidValue,
|
|
889
872
|
description: IsValidDescription,
|
|
890
873
|
is_active: IsValidIsActive
|
|
891
874
|
});
|
|
892
|
-
var
|
|
875
|
+
var SBaseCampaignTargetDocument = v45__namespace.object({
|
|
893
876
|
label: IsValidLabel,
|
|
894
877
|
value: IsValidValue,
|
|
895
878
|
description: IsValidDescription,
|
|
896
879
|
is_active: IsValidIsActive
|
|
897
880
|
});
|
|
898
|
-
var
|
|
881
|
+
var SBaseCampaignKeyDocument = v45__namespace.object({
|
|
899
882
|
label: IsValidLabel,
|
|
900
883
|
value: IsValidValue,
|
|
901
884
|
description: IsValidDescription,
|
|
902
885
|
is_active: IsValidIsActive
|
|
903
886
|
});
|
|
904
|
-
var
|
|
887
|
+
var SBaseSourceDocument = v45__namespace.object({
|
|
905
888
|
label: IsValidLabel,
|
|
906
889
|
value: IsValidValue,
|
|
907
890
|
description: IsValidDescription,
|
|
908
891
|
is_active: IsValidIsActive
|
|
909
892
|
});
|
|
910
|
-
var
|
|
893
|
+
var SBaseMediumDocument = v45__namespace.object({
|
|
911
894
|
label: IsValidLabel,
|
|
912
895
|
value: IsValidValue,
|
|
913
896
|
description: IsValidDescription,
|
|
914
897
|
is_active: IsValidIsActive
|
|
915
898
|
});
|
|
916
|
-
var
|
|
899
|
+
var SBaseContentDocument = v45__namespace.object({
|
|
917
900
|
label: IsValidLabel,
|
|
918
901
|
value: IsValidValue,
|
|
919
902
|
description: IsValidDescription,
|
|
920
903
|
is_active: IsValidIsActive
|
|
921
904
|
});
|
|
922
|
-
var
|
|
905
|
+
var SBaseCreativeFormatDocument = v45__namespace.object({
|
|
923
906
|
label: IsValidLabel,
|
|
924
907
|
value: IsValidValue,
|
|
925
908
|
description: IsValidDescription,
|
|
926
909
|
is_active: IsValidIsActive
|
|
927
910
|
});
|
|
928
|
-
var
|
|
911
|
+
var SBaseCreativeFormatVariantDocument = v45__namespace.object({
|
|
912
|
+
label: IsValidLabel,
|
|
913
|
+
value: IsValidValue,
|
|
914
|
+
description: IsValidDescription,
|
|
915
|
+
is_active: IsValidIsActive
|
|
916
|
+
});
|
|
917
|
+
var SBaseTermDocument = v45__namespace.object({
|
|
929
918
|
label: IsValidLabel,
|
|
930
919
|
value: IsValidValue,
|
|
931
920
|
description: IsValidDescription,
|
|
@@ -933,127 +922,95 @@ var SBaseTermDocument = v29__namespace.object({
|
|
|
933
922
|
});
|
|
934
923
|
|
|
935
924
|
// src/entities/utm/param.documents.ts
|
|
936
|
-
var SCampaignIdDocument =
|
|
937
|
-
|
|
938
|
-
documentId: IsValidReferenceDocumentId,
|
|
939
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
940
|
-
createdAt: v29__namespace.string(),
|
|
941
|
-
updatedAt: v29__namespace.string(),
|
|
925
|
+
var SCampaignIdDocument = v45__namespace.object({
|
|
926
|
+
...SBaseDocument.entries,
|
|
942
927
|
...SBaseCampaignIdDocument.entries
|
|
943
928
|
});
|
|
944
|
-
var SCampaignPhaseDocument =
|
|
945
|
-
|
|
946
|
-
documentId: IsValidReferenceDocumentId,
|
|
947
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
948
|
-
createdAt: v29__namespace.string(),
|
|
949
|
-
updatedAt: v29__namespace.string(),
|
|
929
|
+
var SCampaignPhaseDocument = v45__namespace.object({
|
|
930
|
+
...SBaseDocument.entries,
|
|
950
931
|
...SBaseCampaignPhaseDocument.entries
|
|
951
932
|
});
|
|
952
|
-
var SCampaignProductDocument =
|
|
953
|
-
|
|
954
|
-
documentId: IsValidReferenceDocumentId,
|
|
955
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
956
|
-
createdAt: v29__namespace.string(),
|
|
957
|
-
updatedAt: v29__namespace.string(),
|
|
933
|
+
var SCampaignProductDocument = v45__namespace.object({
|
|
934
|
+
...SBaseDocument.entries,
|
|
958
935
|
...SBaseCampaignProductDocument.entries
|
|
959
936
|
});
|
|
960
|
-
var
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
937
|
+
var SCampaignTargetDocument = v45__namespace.object({
|
|
938
|
+
...SBaseDocument.entries,
|
|
939
|
+
...SBaseCampaignTargetDocument.entries
|
|
940
|
+
});
|
|
941
|
+
var SCampaignKeyDocument = v45__namespace.object({
|
|
942
|
+
...SBaseDocument.entries,
|
|
966
943
|
...SBaseCampaignKeyDocument.entries
|
|
967
944
|
});
|
|
968
|
-
var SSourceDocument =
|
|
969
|
-
|
|
970
|
-
documentId: IsValidReferenceDocumentId,
|
|
971
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
972
|
-
createdAt: v29__namespace.string(),
|
|
973
|
-
updatedAt: v29__namespace.string(),
|
|
945
|
+
var SSourceDocument = v45__namespace.object({
|
|
946
|
+
...SBaseDocument.entries,
|
|
974
947
|
...SBaseSourceDocument.entries
|
|
975
948
|
});
|
|
976
|
-
var SMediumDocument =
|
|
977
|
-
|
|
978
|
-
documentId: IsValidReferenceDocumentId,
|
|
979
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
980
|
-
createdAt: v29__namespace.string(),
|
|
981
|
-
updatedAt: v29__namespace.string(),
|
|
949
|
+
var SMediumDocument = v45__namespace.object({
|
|
950
|
+
...SBaseDocument.entries,
|
|
982
951
|
...SBaseMediumDocument.entries
|
|
983
952
|
});
|
|
984
|
-
var SContentDocument =
|
|
985
|
-
|
|
986
|
-
documentId: IsValidReferenceDocumentId,
|
|
987
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
988
|
-
createdAt: v29__namespace.string(),
|
|
989
|
-
updatedAt: v29__namespace.string(),
|
|
953
|
+
var SContentDocument = v45__namespace.object({
|
|
954
|
+
...SBaseDocument.entries,
|
|
990
955
|
...SBaseContentDocument.entries
|
|
991
956
|
});
|
|
992
|
-
var SCreativeFormatDocument =
|
|
993
|
-
|
|
994
|
-
documentId: IsValidReferenceDocumentId,
|
|
995
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
996
|
-
createdAt: v29__namespace.string(),
|
|
997
|
-
updatedAt: v29__namespace.string(),
|
|
957
|
+
var SCreativeFormatDocument = v45__namespace.object({
|
|
958
|
+
...SBaseDocument.entries,
|
|
998
959
|
...SBaseCreativeFormatDocument.entries
|
|
999
960
|
});
|
|
1000
|
-
var SCreativeFormatVariantDocument =
|
|
1001
|
-
|
|
1002
|
-
documentId: IsValidReferenceDocumentId,
|
|
1003
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
1004
|
-
createdAt: v29__namespace.string(),
|
|
1005
|
-
updatedAt: v29__namespace.string(),
|
|
961
|
+
var SCreativeFormatVariantDocument = v45__namespace.object({
|
|
962
|
+
...SBaseDocument.entries,
|
|
1006
963
|
...SBaseCreativeFormatVariantDocument.entries
|
|
1007
964
|
});
|
|
1008
|
-
var STermDocument =
|
|
1009
|
-
|
|
1010
|
-
documentId: IsValidReferenceDocumentId,
|
|
1011
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
1012
|
-
createdAt: v29__namespace.string(),
|
|
1013
|
-
updatedAt: v29__namespace.string(),
|
|
965
|
+
var STermDocument = v45__namespace.object({
|
|
966
|
+
...SBaseDocument.entries,
|
|
1014
967
|
...SBaseTermDocument.entries
|
|
1015
968
|
});
|
|
1016
|
-
var SCampaignIdRelationsDocument =
|
|
1017
|
-
group:
|
|
1018
|
-
creator:
|
|
969
|
+
var SCampaignIdRelationsDocument = v45__namespace.object({
|
|
970
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
971
|
+
creator: v45__namespace.optional(SUserDocument)
|
|
972
|
+
});
|
|
973
|
+
var SCampaignPhaseRelationsDocument = v45__namespace.object({
|
|
974
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
975
|
+
creator: v45__namespace.optional(SUserDocument)
|
|
1019
976
|
});
|
|
1020
|
-
var
|
|
1021
|
-
group:
|
|
1022
|
-
creator:
|
|
977
|
+
var SCampaignProductRelationsDocument = v45__namespace.object({
|
|
978
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
979
|
+
creator: v45__namespace.optional(SUserDocument)
|
|
1023
980
|
});
|
|
1024
|
-
var
|
|
1025
|
-
group:
|
|
1026
|
-
creator:
|
|
981
|
+
var SCampaignTargetRelationsDocument = v45__namespace.object({
|
|
982
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
983
|
+
creator: v45__namespace.optional(SUserDocument)
|
|
1027
984
|
});
|
|
1028
|
-
var SCampaignKeyRelationsDocument =
|
|
1029
|
-
group:
|
|
1030
|
-
creator:
|
|
985
|
+
var SCampaignKeyRelationsDocument = v45__namespace.object({
|
|
986
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
987
|
+
creator: v45__namespace.optional(SUserDocument)
|
|
1031
988
|
});
|
|
1032
|
-
var SSourceRelationsDocument =
|
|
1033
|
-
group:
|
|
1034
|
-
creator:
|
|
989
|
+
var SSourceRelationsDocument = v45__namespace.object({
|
|
990
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
991
|
+
creator: v45__namespace.optional(SUserDocument)
|
|
1035
992
|
});
|
|
1036
|
-
var SMediumRelationsDocument =
|
|
1037
|
-
group:
|
|
1038
|
-
creator:
|
|
993
|
+
var SMediumRelationsDocument = v45__namespace.object({
|
|
994
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
995
|
+
creator: v45__namespace.optional(SUserDocument)
|
|
1039
996
|
});
|
|
1040
|
-
var SContentRelationsDocument =
|
|
1041
|
-
group:
|
|
1042
|
-
creator:
|
|
997
|
+
var SContentRelationsDocument = v45__namespace.object({
|
|
998
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
999
|
+
creator: v45__namespace.optional(SUserDocument)
|
|
1043
1000
|
});
|
|
1044
|
-
var SCreativeFormatRelationsDocument =
|
|
1045
|
-
group:
|
|
1046
|
-
creator:
|
|
1001
|
+
var SCreativeFormatRelationsDocument = v45__namespace.object({
|
|
1002
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
1003
|
+
creator: v45__namespace.optional(SUserDocument)
|
|
1047
1004
|
});
|
|
1048
|
-
var SCreativeFormatVariantRelationsDocument =
|
|
1049
|
-
group:
|
|
1050
|
-
creator:
|
|
1005
|
+
var SCreativeFormatVariantRelationsDocument = v45__namespace.object({
|
|
1006
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
1007
|
+
creator: v45__namespace.optional(SUserDocument)
|
|
1051
1008
|
});
|
|
1052
|
-
var STermRelationsDocument =
|
|
1053
|
-
group:
|
|
1054
|
-
creator:
|
|
1009
|
+
var STermRelationsDocument = v45__namespace.object({
|
|
1010
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
1011
|
+
creator: v45__namespace.optional(SUserDocument)
|
|
1055
1012
|
});
|
|
1056
|
-
var SBaseWebsiteDocument =
|
|
1013
|
+
var SBaseWebsiteDocument = v45__namespace.object({
|
|
1057
1014
|
domain: IsValidUrlDomain,
|
|
1058
1015
|
description: IsValidDescription,
|
|
1059
1016
|
is_secure: IsValidIsSecure,
|
|
@@ -1061,79 +1018,75 @@ var SBaseWebsiteDocument = v29__namespace.object({
|
|
|
1061
1018
|
});
|
|
1062
1019
|
|
|
1063
1020
|
// src/entities/website/website.document.ts
|
|
1064
|
-
var SWebsiteDocument =
|
|
1065
|
-
|
|
1066
|
-
documentId: IsValidReferenceDocumentId,
|
|
1067
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
1068
|
-
createdAt: v29__namespace.string(),
|
|
1069
|
-
updatedAt: v29__namespace.string(),
|
|
1021
|
+
var SWebsiteDocument = v45__namespace.object({
|
|
1022
|
+
...SBaseDocument.entries,
|
|
1070
1023
|
...SBaseWebsiteDocument.entries
|
|
1071
1024
|
});
|
|
1072
|
-
var SWebsiteRelationsDocument =
|
|
1073
|
-
group:
|
|
1074
|
-
creator:
|
|
1025
|
+
var SWebsiteRelationsDocument = v45__namespace.object({
|
|
1026
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
1027
|
+
creator: v45__namespace.optional(SUserDocument)
|
|
1075
1028
|
});
|
|
1076
1029
|
|
|
1077
1030
|
// src/entities/user/user.relations.ts
|
|
1078
|
-
var SUserRelationRole =
|
|
1079
|
-
role:
|
|
1031
|
+
var SUserRelationRole = v45__namespace.object({
|
|
1032
|
+
role: v45__namespace.optional(SRoleDocument)
|
|
1080
1033
|
});
|
|
1081
|
-
var SUserRelationReqRole =
|
|
1034
|
+
var SUserRelationReqRole = v45__namespace.object({
|
|
1082
1035
|
role: SRoleDocument
|
|
1083
1036
|
});
|
|
1084
|
-
var SUserRelationAccount =
|
|
1085
|
-
account:
|
|
1037
|
+
var SUserRelationAccount = v45__namespace.object({
|
|
1038
|
+
account: v45__namespace.optional(SUserAccountDocument)
|
|
1086
1039
|
});
|
|
1087
|
-
var SUserRelationReqAccount =
|
|
1040
|
+
var SUserRelationReqAccount = v45__namespace.object({
|
|
1088
1041
|
account: SUserAccountDocument
|
|
1089
1042
|
});
|
|
1090
|
-
var SUserRelationLimits =
|
|
1091
|
-
limits:
|
|
1043
|
+
var SUserRelationLimits = v45__namespace.object({
|
|
1044
|
+
limits: v45__namespace.optional(SUserLimitationsDocument)
|
|
1092
1045
|
});
|
|
1093
|
-
var SUserRelationReqLimits =
|
|
1046
|
+
var SUserRelationReqLimits = v45__namespace.object({
|
|
1094
1047
|
limits: SUserLimitationsDocument
|
|
1095
1048
|
});
|
|
1096
|
-
var SUserRelationAuthorizedGroups =
|
|
1097
|
-
authorized_groups:
|
|
1049
|
+
var SUserRelationAuthorizedGroups = v45__namespace.object({
|
|
1050
|
+
authorized_groups: v45__namespace.optional(v45__namespace.array(SGroupDocument))
|
|
1098
1051
|
});
|
|
1099
|
-
var SUserRelationCreatedWebsites =
|
|
1100
|
-
created_websites:
|
|
1052
|
+
var SUserRelationCreatedWebsites = v45__namespace.object({
|
|
1053
|
+
created_websites: v45__namespace.optional(v45__namespace.array(SWebsiteDocument))
|
|
1101
1054
|
});
|
|
1102
|
-
var SUserRelationTrackingLinks =
|
|
1103
|
-
tracking_links:
|
|
1055
|
+
var SUserRelationTrackingLinks = v45__namespace.object({
|
|
1056
|
+
tracking_links: v45__namespace.optional(v45__namespace.array(STrackingLinkDocument))
|
|
1104
1057
|
});
|
|
1105
|
-
var SUserRelationSources =
|
|
1106
|
-
utm_sources:
|
|
1058
|
+
var SUserRelationSources = v45__namespace.object({
|
|
1059
|
+
utm_sources: v45__namespace.optional(v45__namespace.array(SSourceDocument))
|
|
1107
1060
|
});
|
|
1108
|
-
var SUserRelationMediums =
|
|
1109
|
-
utm_mediums:
|
|
1061
|
+
var SUserRelationMediums = v45__namespace.object({
|
|
1062
|
+
utm_mediums: v45__namespace.optional(v45__namespace.array(SMediumDocument))
|
|
1110
1063
|
});
|
|
1111
|
-
var SUserRelationCampaignIds =
|
|
1112
|
-
utm_ids:
|
|
1064
|
+
var SUserRelationCampaignIds = v45__namespace.object({
|
|
1065
|
+
utm_ids: v45__namespace.optional(v45__namespace.array(SCampaignIdDocument))
|
|
1113
1066
|
});
|
|
1114
|
-
var SUserRelationCampaignPhases =
|
|
1115
|
-
utm_campaign_phases:
|
|
1067
|
+
var SUserRelationCampaignPhases = v45__namespace.object({
|
|
1068
|
+
utm_campaign_phases: v45__namespace.optional(v45__namespace.array(SCampaignPhaseDocument))
|
|
1116
1069
|
});
|
|
1117
|
-
var SUserRelationCampaignProducts =
|
|
1118
|
-
utm_campaign_products:
|
|
1070
|
+
var SUserRelationCampaignProducts = v45__namespace.object({
|
|
1071
|
+
utm_campaign_products: v45__namespace.optional(v45__namespace.array(SCampaignProductDocument))
|
|
1119
1072
|
});
|
|
1120
|
-
var SUserRelationCampaignKeys =
|
|
1121
|
-
utm_campaign_keys:
|
|
1073
|
+
var SUserRelationCampaignKeys = v45__namespace.object({
|
|
1074
|
+
utm_campaign_keys: v45__namespace.optional(v45__namespace.array(SCampaignKeyDocument))
|
|
1122
1075
|
});
|
|
1123
|
-
var SUserRelationContents =
|
|
1124
|
-
utm_contents:
|
|
1076
|
+
var SUserRelationContents = v45__namespace.object({
|
|
1077
|
+
utm_contents: v45__namespace.optional(v45__namespace.array(SContentDocument))
|
|
1125
1078
|
});
|
|
1126
|
-
var SUserRelationCreativeFormats =
|
|
1127
|
-
utm_creative_formats:
|
|
1079
|
+
var SUserRelationCreativeFormats = v45__namespace.object({
|
|
1080
|
+
utm_creative_formats: v45__namespace.optional(v45__namespace.array(SCreativeFormatDocument))
|
|
1128
1081
|
});
|
|
1129
|
-
var SUserRelationCreativeFormatVariants =
|
|
1130
|
-
utm_creative_format_variants:
|
|
1082
|
+
var SUserRelationCreativeFormatVariants = v45__namespace.object({
|
|
1083
|
+
utm_creative_format_variants: v45__namespace.optional(v45__namespace.array(SCreativeFormatVariantDocument))
|
|
1131
1084
|
});
|
|
1132
|
-
var SUserRelationTerms =
|
|
1133
|
-
utm_terms:
|
|
1085
|
+
var SUserRelationTerms = v45__namespace.object({
|
|
1086
|
+
utm_terms: v45__namespace.optional(v45__namespace.array(STermDocument))
|
|
1134
1087
|
});
|
|
1135
|
-
var SUserRelationsDocument =
|
|
1136
|
-
group:
|
|
1088
|
+
var SUserRelationsDocument = v45__namespace.object({
|
|
1089
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
1137
1090
|
...SUserRelationRole.entries,
|
|
1138
1091
|
...SUserRelationAuthorizedGroups.entries,
|
|
1139
1092
|
...SUserRelationCreatedWebsites.entries,
|
|
@@ -1151,53 +1104,53 @@ var SUserRelationsDocument = v29__namespace.object({
|
|
|
1151
1104
|
});
|
|
1152
1105
|
|
|
1153
1106
|
// src/entities/tracking-link/tracking-link.relations.ts
|
|
1154
|
-
var STrackingLinkRelationsDocument =
|
|
1155
|
-
group:
|
|
1156
|
-
creator:
|
|
1107
|
+
var STrackingLinkRelationsDocument = v45__namespace.object({
|
|
1108
|
+
group: v45__namespace.optional(SGroupDocument),
|
|
1109
|
+
creator: v45__namespace.optional(SUserDocument)
|
|
1157
1110
|
});
|
|
1158
1111
|
|
|
1159
1112
|
// src/entities/group/group.relations.ts
|
|
1160
|
-
var SGroupRelationAuthorizedUsers =
|
|
1161
|
-
authorized_users:
|
|
1113
|
+
var SGroupRelationAuthorizedUsers = v45__namespace.object({
|
|
1114
|
+
authorized_users: v45__namespace.optional(v45__namespace.array(SUserDocument))
|
|
1162
1115
|
});
|
|
1163
|
-
var SGroupRelationWebsites =
|
|
1164
|
-
websites:
|
|
1116
|
+
var SGroupRelationWebsites = v45__namespace.object({
|
|
1117
|
+
websites: v45__namespace.optional(SWebsiteDocument)
|
|
1165
1118
|
});
|
|
1166
|
-
var SGroupRelationTrackingLinks =
|
|
1167
|
-
tracking_links:
|
|
1119
|
+
var SGroupRelationTrackingLinks = v45__namespace.object({
|
|
1120
|
+
tracking_links: v45__namespace.optional(v45__namespace.array(STrackingLinkDocument))
|
|
1168
1121
|
});
|
|
1169
|
-
var SGroupRelationSources =
|
|
1170
|
-
utm_sources:
|
|
1122
|
+
var SGroupRelationSources = v45__namespace.object({
|
|
1123
|
+
utm_sources: v45__namespace.optional(v45__namespace.array(SSourceDocument))
|
|
1171
1124
|
});
|
|
1172
|
-
var SGroupRelationMediums =
|
|
1173
|
-
utm_mediums:
|
|
1125
|
+
var SGroupRelationMediums = v45__namespace.object({
|
|
1126
|
+
utm_mediums: v45__namespace.optional(v45__namespace.array(SMediumDocument))
|
|
1174
1127
|
});
|
|
1175
|
-
var SGroupRelationCampaignIds =
|
|
1176
|
-
utm_ids:
|
|
1128
|
+
var SGroupRelationCampaignIds = v45__namespace.object({
|
|
1129
|
+
utm_ids: v45__namespace.optional(v45__namespace.array(SCampaignIdDocument))
|
|
1177
1130
|
});
|
|
1178
|
-
var SGroupRelationCampaignPhases =
|
|
1179
|
-
utm_campaign_phases:
|
|
1131
|
+
var SGroupRelationCampaignPhases = v45__namespace.object({
|
|
1132
|
+
utm_campaign_phases: v45__namespace.optional(v45__namespace.array(SCampaignPhaseDocument))
|
|
1180
1133
|
});
|
|
1181
|
-
var SGroupRelationCampaignProducts =
|
|
1182
|
-
utm_campaign_products:
|
|
1134
|
+
var SGroupRelationCampaignProducts = v45__namespace.object({
|
|
1135
|
+
utm_campaign_products: v45__namespace.optional(v45__namespace.array(SCampaignProductDocument))
|
|
1183
1136
|
});
|
|
1184
|
-
var SGroupRelationCampaignKeys =
|
|
1185
|
-
utm_campaign_keys:
|
|
1137
|
+
var SGroupRelationCampaignKeys = v45__namespace.object({
|
|
1138
|
+
utm_campaign_keys: v45__namespace.optional(v45__namespace.array(SCampaignKeyDocument))
|
|
1186
1139
|
});
|
|
1187
|
-
var SGroupRelationContents =
|
|
1188
|
-
utm_contents:
|
|
1140
|
+
var SGroupRelationContents = v45__namespace.object({
|
|
1141
|
+
utm_contents: v45__namespace.optional(v45__namespace.array(SBaseContentDocument))
|
|
1189
1142
|
});
|
|
1190
|
-
var SGroupRelationCreativeFormats =
|
|
1191
|
-
utm_creative_formats:
|
|
1143
|
+
var SGroupRelationCreativeFormats = v45__namespace.object({
|
|
1144
|
+
utm_creative_formats: v45__namespace.optional(v45__namespace.array(SCreativeFormatDocument))
|
|
1192
1145
|
});
|
|
1193
|
-
var SGroupRelationCreativeFormatVariants =
|
|
1194
|
-
utm_creative_format_variants:
|
|
1146
|
+
var SGroupRelationCreativeFormatVariants = v45__namespace.object({
|
|
1147
|
+
utm_creative_format_variants: v45__namespace.optional(v45__namespace.array(SCreativeFormatVariantDocument))
|
|
1195
1148
|
});
|
|
1196
|
-
var SGroupRelationTerms =
|
|
1197
|
-
utm_terms:
|
|
1149
|
+
var SGroupRelationTerms = v45__namespace.object({
|
|
1150
|
+
utm_terms: v45__namespace.optional(v45__namespace.array(STermDocument))
|
|
1198
1151
|
});
|
|
1199
|
-
var SGroupRelationsDocument =
|
|
1200
|
-
creator:
|
|
1152
|
+
var SGroupRelationsDocument = v45__namespace.object({
|
|
1153
|
+
creator: v45__namespace.optional(SUserDocument),
|
|
1201
1154
|
...SGroupRelationAuthorizedUsers.entries,
|
|
1202
1155
|
...SGroupRelationTrackingLinks.entries,
|
|
1203
1156
|
...SGroupRelationWebsites.entries,
|
|
@@ -1212,24 +1165,20 @@ var SGroupRelationsDocument = v29__namespace.object({
|
|
|
1212
1165
|
...SGroupRelationCreativeFormatVariants.entries,
|
|
1213
1166
|
...SGroupRelationTerms.entries
|
|
1214
1167
|
});
|
|
1215
|
-
var SBaseGroupUserDocument =
|
|
1168
|
+
var SBaseGroupUserDocument = v45__namespace.object({
|
|
1216
1169
|
scopes: IsValidGroupUserScopes
|
|
1217
1170
|
});
|
|
1218
1171
|
|
|
1219
1172
|
// src/entities/group-user/group-user.document.ts
|
|
1220
|
-
var SGroupUserDocument =
|
|
1221
|
-
|
|
1222
|
-
documentId: IsValidReferenceDocumentId,
|
|
1223
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
1224
|
-
createdAt: v29__namespace.string(),
|
|
1225
|
-
updatedAt: v29__namespace.string(),
|
|
1173
|
+
var SGroupUserDocument = v45__namespace.object({
|
|
1174
|
+
...SBaseDocument.entries,
|
|
1226
1175
|
...SBaseGroupUserDocument.entries
|
|
1227
1176
|
});
|
|
1228
|
-
var SGroupUserRelationsDocument =
|
|
1229
|
-
user:
|
|
1230
|
-
group:
|
|
1177
|
+
var SGroupUserRelationsDocument = v45__namespace.object({
|
|
1178
|
+
user: v45__namespace.optional(SUserDocument),
|
|
1179
|
+
group: v45__namespace.optional(SGroupDocument)
|
|
1231
1180
|
});
|
|
1232
|
-
var SGroupUserRelationsReqDocument =
|
|
1181
|
+
var SGroupUserRelationsReqDocument = v45__namespace.object({
|
|
1233
1182
|
user: SUserDocument,
|
|
1234
1183
|
group: SGroupDocument
|
|
1235
1184
|
});
|
|
@@ -1242,103 +1191,103 @@ var SUtmLinkBuilderPartCampaignDateOptions = [
|
|
|
1242
1191
|
"on a specific date",
|
|
1243
1192
|
"no date"
|
|
1244
1193
|
];
|
|
1245
|
-
var SUtmLinkBuilderTableForm =
|
|
1194
|
+
var SUtmLinkBuilderTableForm = v45__namespace.object({
|
|
1246
1195
|
creator: IsValidReferenceDocumentId,
|
|
1247
1196
|
client: IsValidReferenceDocumentId,
|
|
1248
|
-
url_destinations:
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1197
|
+
url_destinations: v45__namespace.pipe(
|
|
1198
|
+
v45__namespace.array(IsValidUrlDestination),
|
|
1199
|
+
v45__namespace.minLength(1, "Please provide at least one destination URL."),
|
|
1200
|
+
v45__namespace.maxLength(100, "You can provide up to 100 destination URLs.")
|
|
1252
1201
|
),
|
|
1253
|
-
sources:
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1202
|
+
sources: v45__namespace.pipe(
|
|
1203
|
+
v45__namespace.array(SSourceDocument),
|
|
1204
|
+
v45__namespace.minLength(1, "Please select at least one source."),
|
|
1205
|
+
v45__namespace.maxLength(10, "You can select up to 10 sources.")
|
|
1257
1206
|
),
|
|
1258
|
-
mediums:
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1207
|
+
mediums: v45__namespace.pipe(
|
|
1208
|
+
v45__namespace.array(SMediumDocument),
|
|
1209
|
+
v45__namespace.minLength(1, "Please select at least one medium."),
|
|
1210
|
+
v45__namespace.maxLength(10, "You can select up to 10 mediums.")
|
|
1262
1211
|
),
|
|
1263
|
-
campaign:
|
|
1212
|
+
campaign: v45__namespace.object({
|
|
1264
1213
|
campaign_phase: SCampaignPhaseDocument,
|
|
1265
|
-
campaign_product:
|
|
1214
|
+
campaign_product: v45__namespace.optional(SCampaignProductDocument),
|
|
1266
1215
|
// campaign_targeting: v.optional(v.array()),
|
|
1267
|
-
campaign_key:
|
|
1268
|
-
campaign_date:
|
|
1269
|
-
format:
|
|
1216
|
+
campaign_key: v45__namespace.optional(SCampaignKeyDocument),
|
|
1217
|
+
campaign_date: v45__namespace.object({
|
|
1218
|
+
format: v45__namespace.picklist(
|
|
1270
1219
|
SUtmLinkBuilderPartCampaignDateOptions,
|
|
1271
1220
|
"Please select a valid campaign date format."
|
|
1272
1221
|
),
|
|
1273
|
-
value:
|
|
1274
|
-
year:
|
|
1275
|
-
quarter:
|
|
1276
|
-
month:
|
|
1277
|
-
day:
|
|
1222
|
+
value: v45__namespace.object({
|
|
1223
|
+
year: v45__namespace.number("Please provide a valid year."),
|
|
1224
|
+
quarter: v45__namespace.optional(v45__namespace.number()),
|
|
1225
|
+
month: v45__namespace.optional(v45__namespace.number()),
|
|
1226
|
+
day: v45__namespace.optional(v45__namespace.number())
|
|
1278
1227
|
})
|
|
1279
1228
|
})
|
|
1280
1229
|
}),
|
|
1281
|
-
content:
|
|
1282
|
-
creative_formats:
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
creative_format:
|
|
1287
|
-
creative_format_variants:
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1230
|
+
content: v45__namespace.optional(SContentDocument),
|
|
1231
|
+
creative_formats: v45__namespace.optional(
|
|
1232
|
+
v45__namespace.pipe(
|
|
1233
|
+
v45__namespace.array(
|
|
1234
|
+
v45__namespace.object({
|
|
1235
|
+
creative_format: v45__namespace.optional(SCreativeFormatDocument),
|
|
1236
|
+
creative_format_variants: v45__namespace.optional(
|
|
1237
|
+
v45__namespace.pipe(
|
|
1238
|
+
v45__namespace.array(SCreativeFormatVariantDocument),
|
|
1239
|
+
v45__namespace.minLength(1, "Please select at least one creative format variations."),
|
|
1240
|
+
v45__namespace.maxLength(10, "You can select up to 10 creative format variations.")
|
|
1292
1241
|
)
|
|
1293
1242
|
)
|
|
1294
1243
|
})
|
|
1295
1244
|
),
|
|
1296
|
-
|
|
1297
|
-
|
|
1245
|
+
v45__namespace.minLength(1, "Please select at least one creative format."),
|
|
1246
|
+
v45__namespace.maxLength(10, "You can select up to 10 creative formats.")
|
|
1298
1247
|
)
|
|
1299
1248
|
),
|
|
1300
|
-
id:
|
|
1249
|
+
id: v45__namespace.optional(SCampaignIdDocument)
|
|
1301
1250
|
});
|
|
1302
|
-
var SStripeCheckoutLineItem =
|
|
1251
|
+
var SStripeCheckoutLineItem = v45__namespace.object({
|
|
1303
1252
|
price: IsValidPriceId,
|
|
1304
|
-
quantity:
|
|
1253
|
+
quantity: v45__namespace.pipe(v45__namespace.number(), v45__namespace.minValue(1), v45__namespace.maxValue(1))
|
|
1305
1254
|
});
|
|
1306
|
-
var SStripeCheckoutCreateSession =
|
|
1307
|
-
line_items:
|
|
1308
|
-
mode:
|
|
1255
|
+
var SStripeCheckoutCreateSession = v45__namespace.object({
|
|
1256
|
+
line_items: v45__namespace.pipe(v45__namespace.array(SStripeCheckoutLineItem), v45__namespace.minLength(1), v45__namespace.maxLength(10)),
|
|
1257
|
+
mode: v45__namespace.picklist(["payment", "subscription"]),
|
|
1309
1258
|
success_url: IsValidOrUndefinedUrlDestination,
|
|
1310
1259
|
cancel_url: IsValidOrUndefinedUrlDestination
|
|
1311
1260
|
});
|
|
1312
|
-
var SQueryListTrackingLinkDocuments =
|
|
1261
|
+
var SQueryListTrackingLinkDocuments = v45__namespace.object({
|
|
1313
1262
|
documentId: IsValidReferenceDocumentId,
|
|
1314
1263
|
page: IsValidMinPage,
|
|
1315
|
-
size:
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1264
|
+
size: v45__namespace.fallback(
|
|
1265
|
+
v45__namespace.optional(
|
|
1266
|
+
v45__namespace.pipe(
|
|
1267
|
+
v45__namespace.number(),
|
|
1268
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1269
|
+
v45__namespace.maxValue(TRACKING_LINK_PAGINATION_MAX_SIZE_LIMIT)
|
|
1321
1270
|
),
|
|
1322
1271
|
TRACKING_LINK_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1323
1272
|
),
|
|
1324
1273
|
TRACKING_LINK_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1325
1274
|
),
|
|
1326
|
-
is_active:
|
|
1327
|
-
destination:
|
|
1328
|
-
protocol:
|
|
1329
|
-
domain:
|
|
1330
|
-
path:
|
|
1331
|
-
query:
|
|
1332
|
-
fragment:
|
|
1333
|
-
utm_source:
|
|
1334
|
-
utm_medium:
|
|
1335
|
-
utm_campaign:
|
|
1336
|
-
utm_creative_format:
|
|
1337
|
-
utm_content:
|
|
1338
|
-
utm_term:
|
|
1339
|
-
utm_id:
|
|
1340
|
-
});
|
|
1341
|
-
var SCreateTrackingLinkDocument =
|
|
1275
|
+
is_active: v45__namespace.fallback(v45__namespace.optional(IsValidIsActive), true),
|
|
1276
|
+
destination: v45__namespace.optional(IsValidUrlDestination),
|
|
1277
|
+
protocol: v45__namespace.optional(IsValidUrlProtocol),
|
|
1278
|
+
domain: v45__namespace.optional(IsValidUrlDomain),
|
|
1279
|
+
path: v45__namespace.optional(IsValidUrlPath),
|
|
1280
|
+
query: v45__namespace.optional(IsValidUrlQuery),
|
|
1281
|
+
fragment: v45__namespace.optional(IsValidUrlFragment),
|
|
1282
|
+
utm_source: v45__namespace.optional(IsValidUrlUtmSource),
|
|
1283
|
+
utm_medium: v45__namespace.optional(IsValidUrlUtmMedium),
|
|
1284
|
+
utm_campaign: v45__namespace.optional(IsValidUrlUtmCampaign),
|
|
1285
|
+
utm_creative_format: v45__namespace.optional(IsValidUrlUtmCreativeFormat),
|
|
1286
|
+
utm_content: v45__namespace.optional(IsValidUrlUtmContent),
|
|
1287
|
+
utm_term: v45__namespace.optional(IsValidUrlUtmTerm),
|
|
1288
|
+
utm_id: v45__namespace.optional(IsValidUrlUtmId)
|
|
1289
|
+
});
|
|
1290
|
+
var SCreateTrackingLinkDocument = v45__namespace.object({
|
|
1342
1291
|
is_active: IsValidIsActive,
|
|
1343
1292
|
destination: IsValidUrlDestination,
|
|
1344
1293
|
protocol: IsValidUrlProtocol,
|
|
@@ -1354,21 +1303,21 @@ var SCreateTrackingLinkDocument = v29__namespace.object({
|
|
|
1354
1303
|
utm_term: IsValidUrlUtmTerm,
|
|
1355
1304
|
utm_id: IsValidUrlUtmId
|
|
1356
1305
|
});
|
|
1357
|
-
var SCreateMultipleTrackingLinkDocuments =
|
|
1358
|
-
|
|
1359
|
-
|
|
1306
|
+
var SCreateMultipleTrackingLinkDocuments = v45__namespace.pipe(
|
|
1307
|
+
v45__namespace.array(SCreateTrackingLinkDocument),
|
|
1308
|
+
v45__namespace.minLength(1, "Please create at least one tracking link")
|
|
1360
1309
|
);
|
|
1361
|
-
var SCreateTrackingLinkDocumentRequest =
|
|
1310
|
+
var SCreateTrackingLinkDocumentRequest = v45__namespace.object({
|
|
1362
1311
|
documentId: IsValidReferenceDocumentId,
|
|
1363
1312
|
data: SCreateTrackingLinkDocument
|
|
1364
1313
|
});
|
|
1365
|
-
var SReadTrackingLinkDocumentById =
|
|
1314
|
+
var SReadTrackingLinkDocumentById = v45__namespace.object({
|
|
1366
1315
|
id: IsValidReferenceId
|
|
1367
1316
|
});
|
|
1368
|
-
var SReadTrackingLinkDocumentByDocumentId =
|
|
1317
|
+
var SReadTrackingLinkDocumentByDocumentId = v45__namespace.object({
|
|
1369
1318
|
documentId: IsValidReferenceDocumentId
|
|
1370
1319
|
});
|
|
1371
|
-
var SUpdateAsCreatorTrackingLinkDocument =
|
|
1320
|
+
var SUpdateAsCreatorTrackingLinkDocument = v45__namespace.object({
|
|
1372
1321
|
is_active: IsValidOrUndefinedUrlDestination,
|
|
1373
1322
|
destination: IsValidOrUndefinedUrlDestination,
|
|
1374
1323
|
protocol: IsValidOrUndefinedUrlProtocol,
|
|
@@ -1384,11 +1333,11 @@ var SUpdateAsCreatorTrackingLinkDocument = v29__namespace.object({
|
|
|
1384
1333
|
utm_term: IsValidOrUndefinedUrlUtmTerm,
|
|
1385
1334
|
utm_id: IsValidOrUndefinedUrlUtmId
|
|
1386
1335
|
});
|
|
1387
|
-
var SUpdateAsCreatorTrackingLinkDocumentRequest =
|
|
1336
|
+
var SUpdateAsCreatorTrackingLinkDocumentRequest = v45__namespace.object({
|
|
1388
1337
|
documentId: IsValidReferenceDocumentId,
|
|
1389
1338
|
data: SUpdateAsCreatorTrackingLinkDocument
|
|
1390
1339
|
});
|
|
1391
|
-
var SUpdateAsInvitedTrackingLinkDocument =
|
|
1340
|
+
var SUpdateAsInvitedTrackingLinkDocument = v45__namespace.object({
|
|
1392
1341
|
is_active: IsValidOrUndefinedUrlDestination,
|
|
1393
1342
|
destination: IsValidOrUndefinedUrlDestination,
|
|
1394
1343
|
protocol: IsValidOrUndefinedUrlProtocol,
|
|
@@ -1404,26 +1353,26 @@ var SUpdateAsInvitedTrackingLinkDocument = v29__namespace.object({
|
|
|
1404
1353
|
utm_term: IsValidOrUndefinedUrlUtmTerm,
|
|
1405
1354
|
utm_id: IsValidOrUndefinedUrlUtmId
|
|
1406
1355
|
});
|
|
1407
|
-
var SUpdateAsInvitedTrackingLinkDocumentRequest =
|
|
1356
|
+
var SUpdateAsInvitedTrackingLinkDocumentRequest = v45__namespace.object({
|
|
1408
1357
|
documentId: IsValidReferenceDocumentId,
|
|
1409
1358
|
data: SUpdateAsInvitedTrackingLinkDocument
|
|
1410
1359
|
});
|
|
1411
|
-
var SUpdateTrackingLinkDocumentRequest =
|
|
1360
|
+
var SUpdateTrackingLinkDocumentRequest = v45__namespace.union([
|
|
1412
1361
|
SUpdateAsCreatorTrackingLinkDocument,
|
|
1413
1362
|
SUpdateAsInvitedTrackingLinkDocument
|
|
1414
1363
|
]);
|
|
1415
|
-
var SDeleteTrackingLinkDocument =
|
|
1364
|
+
var SDeleteTrackingLinkDocument = v45__namespace.object({
|
|
1416
1365
|
documentId: IsValidReferenceDocumentId
|
|
1417
1366
|
});
|
|
1418
|
-
var SQueryListUserAccountDocuments =
|
|
1367
|
+
var SQueryListUserAccountDocuments = v45__namespace.object({
|
|
1419
1368
|
documentId: IsValidReferenceDocumentId,
|
|
1420
1369
|
page: IsValidMinPage,
|
|
1421
|
-
size:
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1370
|
+
size: v45__namespace.fallback(
|
|
1371
|
+
v45__namespace.optional(
|
|
1372
|
+
v45__namespace.pipe(
|
|
1373
|
+
v45__namespace.number(),
|
|
1374
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1375
|
+
v45__namespace.maxValue(USER_ACCOUNT_PAGINATION_MAX_SIZE_LIMIT)
|
|
1427
1376
|
),
|
|
1428
1377
|
USER_ACCOUNT_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1429
1378
|
),
|
|
@@ -1439,7 +1388,7 @@ var SQueryListUserAccountDocuments = v29__namespace.object({
|
|
|
1439
1388
|
trial_period_end_after: IsValidOrUndefinedTrialPeriodEnd,
|
|
1440
1389
|
trial_period_end_before: IsValidOrUndefinedTrialPeriodEnd
|
|
1441
1390
|
});
|
|
1442
|
-
var SCreateUserAccountDocument =
|
|
1391
|
+
var SCreateUserAccountDocument = v45__namespace.object({
|
|
1443
1392
|
customer_id: IsValidOrUndefinedCustomerId,
|
|
1444
1393
|
subscription_id: IsValidOrUndefinedSubscriptionId,
|
|
1445
1394
|
subscription_status: IsValidSubscriptionStatus,
|
|
@@ -1447,13 +1396,13 @@ var SCreateUserAccountDocument = v29__namespace.object({
|
|
|
1447
1396
|
current_period_end: IsValidCurrentPeriodEnd,
|
|
1448
1397
|
trial_period_end: IsValidOrUndefinedTrialPeriodEnd
|
|
1449
1398
|
});
|
|
1450
|
-
var SReadUserAccountDocumentById =
|
|
1399
|
+
var SReadUserAccountDocumentById = v45__namespace.object({
|
|
1451
1400
|
id: IsValidReferenceId
|
|
1452
1401
|
});
|
|
1453
|
-
var SReadUserAccountDocumentByDocumentId =
|
|
1402
|
+
var SReadUserAccountDocumentByDocumentId = v45__namespace.object({
|
|
1454
1403
|
documentId: IsValidReferenceDocumentId
|
|
1455
1404
|
});
|
|
1456
|
-
var SUpdateUserAccountDocument =
|
|
1405
|
+
var SUpdateUserAccountDocument = v45__namespace.object({
|
|
1457
1406
|
customer_id: IsValidOrUndefinedCustomerId,
|
|
1458
1407
|
subscription_id: IsValidOrUndefinedSubscriptionId,
|
|
1459
1408
|
subscription_status: IsValidOrUndefinedSubscriptionStatus,
|
|
@@ -1461,965 +1410,882 @@ var SUpdateUserAccountDocument = v29__namespace.object({
|
|
|
1461
1410
|
current_period_end: IsValidOrUndefinedCurrentPeriodEnd,
|
|
1462
1411
|
trial_period_end: IsValidOrUndefinedTrialPeriodEnd
|
|
1463
1412
|
});
|
|
1464
|
-
var SQueryListUserLimitationDocuments =
|
|
1413
|
+
var SQueryListUserLimitationDocuments = v45__namespace.object({
|
|
1465
1414
|
documentId: IsValidReferenceDocumentId,
|
|
1466
1415
|
page: IsValidMinPage,
|
|
1467
|
-
size:
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1416
|
+
size: v45__namespace.fallback(
|
|
1417
|
+
v45__namespace.optional(
|
|
1418
|
+
v45__namespace.pipe(
|
|
1419
|
+
v45__namespace.number(),
|
|
1420
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1421
|
+
v45__namespace.maxValue(USER_LIMITATION_PAGINATION_MAX_SIZE_LIMIT)
|
|
1473
1422
|
),
|
|
1474
1423
|
USER_LIMITATION_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1475
1424
|
),
|
|
1476
1425
|
USER_LIMITATION_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1477
1426
|
)
|
|
1478
1427
|
});
|
|
1479
|
-
var SCreateUserLimitationsDocument =
|
|
1480
|
-
limit_groups:
|
|
1481
|
-
limit_group_users:
|
|
1482
|
-
limit_websites:
|
|
1483
|
-
limit_tracking_links:
|
|
1484
|
-
limit_sources:
|
|
1485
|
-
limit_mediums:
|
|
1486
|
-
limit_campaign_ids:
|
|
1487
|
-
limit_campaign_keys:
|
|
1488
|
-
limit_campaign_phases:
|
|
1489
|
-
limit_campaign_products:
|
|
1490
|
-
limit_contents:
|
|
1491
|
-
limit_creative_formats:
|
|
1492
|
-
limit_creative_format_variants:
|
|
1493
|
-
limit_terms:
|
|
1494
|
-
});
|
|
1495
|
-
var SReadUserLimitationsDocumentById =
|
|
1428
|
+
var SCreateUserLimitationsDocument = v45__namespace.object({
|
|
1429
|
+
limit_groups: v45__namespace.number(),
|
|
1430
|
+
limit_group_users: v45__namespace.number(),
|
|
1431
|
+
limit_websites: v45__namespace.number(),
|
|
1432
|
+
limit_tracking_links: v45__namespace.number(),
|
|
1433
|
+
limit_sources: v45__namespace.number(),
|
|
1434
|
+
limit_mediums: v45__namespace.number(),
|
|
1435
|
+
limit_campaign_ids: v45__namespace.number(),
|
|
1436
|
+
limit_campaign_keys: v45__namespace.number(),
|
|
1437
|
+
limit_campaign_phases: v45__namespace.number(),
|
|
1438
|
+
limit_campaign_products: v45__namespace.number(),
|
|
1439
|
+
limit_contents: v45__namespace.number(),
|
|
1440
|
+
limit_creative_formats: v45__namespace.number(),
|
|
1441
|
+
limit_creative_format_variants: v45__namespace.number(),
|
|
1442
|
+
limit_terms: v45__namespace.number()
|
|
1443
|
+
});
|
|
1444
|
+
var SReadUserLimitationsDocumentById = v45__namespace.object({
|
|
1496
1445
|
id: IsValidReferenceId
|
|
1497
1446
|
});
|
|
1498
|
-
var SReadUserLimitationsDocumentByDocumentId =
|
|
1447
|
+
var SReadUserLimitationsDocumentByDocumentId = v45__namespace.object({
|
|
1499
1448
|
documentId: IsValidReferenceDocumentId
|
|
1500
1449
|
});
|
|
1501
|
-
var SUpdateUserLimitationsDocument =
|
|
1502
|
-
limit_groups:
|
|
1503
|
-
limit_group_users:
|
|
1504
|
-
limit_websites:
|
|
1505
|
-
limit_tracking_links:
|
|
1506
|
-
limit_sources:
|
|
1507
|
-
limit_mediums:
|
|
1508
|
-
limit_campaign_ids:
|
|
1509
|
-
limit_campaign_keys:
|
|
1510
|
-
limit_campaign_phases:
|
|
1511
|
-
limit_campaign_products:
|
|
1512
|
-
limit_contents:
|
|
1513
|
-
limit_creative_formats:
|
|
1514
|
-
limit_creative_format_variants:
|
|
1515
|
-
limit_terms:
|
|
1516
|
-
});
|
|
1517
|
-
var SQueryListUserDocuments =
|
|
1450
|
+
var SUpdateUserLimitationsDocument = v45__namespace.object({
|
|
1451
|
+
limit_groups: v45__namespace.undefinedable(v45__namespace.number()),
|
|
1452
|
+
limit_group_users: v45__namespace.undefinedable(v45__namespace.number()),
|
|
1453
|
+
limit_websites: v45__namespace.undefinedable(v45__namespace.number()),
|
|
1454
|
+
limit_tracking_links: v45__namespace.undefinedable(v45__namespace.number()),
|
|
1455
|
+
limit_sources: v45__namespace.undefinedable(v45__namespace.number()),
|
|
1456
|
+
limit_mediums: v45__namespace.undefinedable(v45__namespace.number()),
|
|
1457
|
+
limit_campaign_ids: v45__namespace.undefinedable(v45__namespace.number()),
|
|
1458
|
+
limit_campaign_keys: v45__namespace.undefinedable(v45__namespace.number()),
|
|
1459
|
+
limit_campaign_phases: v45__namespace.undefinedable(v45__namespace.number()),
|
|
1460
|
+
limit_campaign_products: v45__namespace.undefinedable(v45__namespace.number()),
|
|
1461
|
+
limit_contents: v45__namespace.undefinedable(v45__namespace.number()),
|
|
1462
|
+
limit_creative_formats: v45__namespace.undefinedable(v45__namespace.number()),
|
|
1463
|
+
limit_creative_format_variants: v45__namespace.undefinedable(v45__namespace.number()),
|
|
1464
|
+
limit_terms: v45__namespace.undefinedable(v45__namespace.number())
|
|
1465
|
+
});
|
|
1466
|
+
var SQueryListUserDocuments = v45__namespace.object({
|
|
1518
1467
|
page: IsValidMinPage,
|
|
1519
|
-
size:
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1468
|
+
size: v45__namespace.fallback(
|
|
1469
|
+
v45__namespace.optional(
|
|
1470
|
+
v45__namespace.pipe(
|
|
1471
|
+
v45__namespace.number(),
|
|
1472
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1473
|
+
v45__namespace.maxValue(USER_PAGINATION_MAX_SIZE_LIMIT)
|
|
1525
1474
|
),
|
|
1526
1475
|
USER_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1527
1476
|
),
|
|
1528
1477
|
USER_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1529
1478
|
)
|
|
1530
1479
|
});
|
|
1531
|
-
var SQueryListUserDocumentsByIdentifier =
|
|
1532
|
-
identifier:
|
|
1480
|
+
var SQueryListUserDocumentsByIdentifier = v45__namespace.object({
|
|
1481
|
+
identifier: v45__namespace.pipe(v45__namespace.string(), v45__namespace.maxLength(255)),
|
|
1533
1482
|
page: IsValidMinPage,
|
|
1534
|
-
size:
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1483
|
+
size: v45__namespace.fallback(
|
|
1484
|
+
v45__namespace.optional(
|
|
1485
|
+
v45__namespace.pipe(
|
|
1486
|
+
v45__namespace.number(),
|
|
1487
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1488
|
+
v45__namespace.maxValue(USER_PAGINATION_MAX_SIZE_LIMIT)
|
|
1540
1489
|
),
|
|
1541
1490
|
USER_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1542
1491
|
),
|
|
1543
1492
|
USER_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1544
1493
|
)
|
|
1545
1494
|
});
|
|
1546
|
-
var SReadUserDocumentById =
|
|
1495
|
+
var SReadUserDocumentById = v45__namespace.object({
|
|
1547
1496
|
id: IsValidReferenceId
|
|
1548
1497
|
});
|
|
1549
|
-
var SReadUserDocumentByDocumentId =
|
|
1498
|
+
var SReadUserDocumentByDocumentId = v45__namespace.object({
|
|
1550
1499
|
documentId: IsValidReferenceDocumentId
|
|
1551
1500
|
});
|
|
1552
|
-
var SQueryListCampaignIdDocuments =
|
|
1501
|
+
var SQueryListCampaignIdDocuments = v45__namespace.object({
|
|
1553
1502
|
documentId: IsValidReferenceDocumentId,
|
|
1554
1503
|
page: IsValidMinPage,
|
|
1555
|
-
size:
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1504
|
+
size: v45__namespace.fallback(
|
|
1505
|
+
v45__namespace.optional(
|
|
1506
|
+
v45__namespace.pipe(
|
|
1507
|
+
v45__namespace.number(),
|
|
1508
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1509
|
+
v45__namespace.maxValue(CAMPAIGN_ID_PAGINATION_MAX_SIZE_LIMIT)
|
|
1561
1510
|
),
|
|
1562
1511
|
CAMPAIGN_ID_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1563
1512
|
),
|
|
1564
1513
|
CAMPAIGN_ID_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1565
1514
|
)
|
|
1566
1515
|
});
|
|
1567
|
-
var SCreateCampaignIdDocument =
|
|
1516
|
+
var SCreateCampaignIdDocument = v45__namespace.object({
|
|
1568
1517
|
cost: IsValidCost,
|
|
1569
1518
|
label: IsValidLabel,
|
|
1570
1519
|
value: IsValidValue,
|
|
1571
1520
|
description: IsValidDescription,
|
|
1572
1521
|
is_active: IsValidIsActive
|
|
1573
1522
|
});
|
|
1574
|
-
var SCreateMultipleCampaignIdDocuments =
|
|
1575
|
-
|
|
1576
|
-
|
|
1523
|
+
var SCreateMultipleCampaignIdDocuments = v45__namespace.pipe(
|
|
1524
|
+
v45__namespace.array(SCreateCampaignIdDocument),
|
|
1525
|
+
v45__namespace.minLength(1, "At least one campaign ID is required")
|
|
1577
1526
|
);
|
|
1578
|
-
var SCreateCampaignIdDocumentRequest =
|
|
1527
|
+
var SCreateCampaignIdDocumentRequest = v45__namespace.object({
|
|
1579
1528
|
documentId: IsValidReferenceDocumentId,
|
|
1580
1529
|
data: SCreateCampaignIdDocument
|
|
1581
1530
|
});
|
|
1582
|
-
var SReadCampaignIdDocumentById =
|
|
1531
|
+
var SReadCampaignIdDocumentById = v45__namespace.object({
|
|
1583
1532
|
id: IsValidReferenceId
|
|
1584
1533
|
});
|
|
1585
|
-
var SReadCampaignIdDocumentByDocumentId =
|
|
1534
|
+
var SReadCampaignIdDocumentByDocumentId = v45__namespace.object({
|
|
1586
1535
|
documentId: IsValidReferenceDocumentId
|
|
1587
1536
|
});
|
|
1588
|
-
var SUpdateAsCreatorCampaignIdDocument =
|
|
1537
|
+
var SUpdateAsCreatorCampaignIdDocument = v45__namespace.object({
|
|
1589
1538
|
cost: IsValidOrUndefinedCost,
|
|
1590
1539
|
label: IsValidOrUndefinedLabel,
|
|
1591
1540
|
value: IsValidOrUndefinedValue,
|
|
1592
1541
|
description: IsValidDescription,
|
|
1593
1542
|
is_active: IsValidOrUndefinedIsActive
|
|
1594
1543
|
});
|
|
1595
|
-
var SUpdateAsCreatorCampaignIdDocumentRequest =
|
|
1544
|
+
var SUpdateAsCreatorCampaignIdDocumentRequest = v45__namespace.object({
|
|
1596
1545
|
documentId: IsValidReferenceDocumentId,
|
|
1597
1546
|
data: SUpdateAsCreatorCampaignIdDocument
|
|
1598
1547
|
});
|
|
1599
|
-
var SUpdateAsInvitedCampaignIdDocument =
|
|
1548
|
+
var SUpdateAsInvitedCampaignIdDocument = v45__namespace.object({
|
|
1600
1549
|
label: IsValidOrUndefinedLabel,
|
|
1601
1550
|
description: IsValidDescription,
|
|
1602
1551
|
is_active: IsValidOrUndefinedIsActive
|
|
1603
1552
|
});
|
|
1604
|
-
var SUpdateAsInvitedCampaignIdDocumentRequest =
|
|
1553
|
+
var SUpdateAsInvitedCampaignIdDocumentRequest = v45__namespace.object({
|
|
1605
1554
|
documentId: IsValidReferenceDocumentId,
|
|
1606
1555
|
data: SUpdateAsInvitedCampaignIdDocument
|
|
1607
1556
|
});
|
|
1608
|
-
var SUpdateCampaignIdDocumentRequest =
|
|
1557
|
+
var SUpdateCampaignIdDocumentRequest = v45__namespace.union([
|
|
1609
1558
|
SUpdateAsCreatorCampaignIdDocument,
|
|
1610
1559
|
SUpdateAsInvitedCampaignIdDocument
|
|
1611
1560
|
]);
|
|
1612
|
-
var SDeleteCampaignIdDocument =
|
|
1561
|
+
var SDeleteCampaignIdDocument = v45__namespace.object({
|
|
1613
1562
|
documentId: IsValidReferenceDocumentId
|
|
1614
1563
|
});
|
|
1615
|
-
var SQueryListCampaignKeyDocuments =
|
|
1564
|
+
var SQueryListCampaignKeyDocuments = v45__namespace.object({
|
|
1616
1565
|
documentId: IsValidReferenceDocumentId,
|
|
1617
1566
|
page: IsValidMinPage,
|
|
1618
|
-
size:
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1567
|
+
size: v45__namespace.fallback(
|
|
1568
|
+
v45__namespace.optional(
|
|
1569
|
+
v45__namespace.pipe(
|
|
1570
|
+
v45__namespace.number(),
|
|
1571
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1572
|
+
v45__namespace.maxValue(CAMPAIGN_KEY_PAGINATION_MAX_SIZE_LIMIT)
|
|
1624
1573
|
),
|
|
1625
1574
|
CAMPAIGN_KEY_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1626
1575
|
),
|
|
1627
1576
|
CAMPAIGN_KEY_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1628
1577
|
)
|
|
1629
1578
|
});
|
|
1630
|
-
var SCreateCampaignKeyDocument =
|
|
1579
|
+
var SCreateCampaignKeyDocument = v45__namespace.object({
|
|
1631
1580
|
label: IsValidLabel,
|
|
1632
1581
|
value: IsValidValue,
|
|
1633
1582
|
description: IsValidDescription,
|
|
1634
1583
|
is_active: IsValidIsActive
|
|
1635
1584
|
});
|
|
1636
|
-
var SCreateMultipleCampaignKeyDocuments =
|
|
1637
|
-
|
|
1638
|
-
|
|
1585
|
+
var SCreateMultipleCampaignKeyDocuments = v45__namespace.pipe(
|
|
1586
|
+
v45__namespace.array(SCreateCampaignKeyDocument),
|
|
1587
|
+
v45__namespace.minLength(1, "At least one campaign key is required")
|
|
1639
1588
|
);
|
|
1640
|
-
var SCreateCampaignKeyDocumentRequest =
|
|
1589
|
+
var SCreateCampaignKeyDocumentRequest = v45__namespace.object({
|
|
1641
1590
|
documentId: IsValidReferenceDocumentId,
|
|
1642
1591
|
data: SCreateCampaignKeyDocument
|
|
1643
1592
|
});
|
|
1644
|
-
var SReadCampaignKeyDocumentById =
|
|
1593
|
+
var SReadCampaignKeyDocumentById = v45__namespace.object({
|
|
1645
1594
|
id: IsValidReferenceId
|
|
1646
1595
|
});
|
|
1647
|
-
var SReadCampaignKeyDocumentByDocumentId =
|
|
1596
|
+
var SReadCampaignKeyDocumentByDocumentId = v45__namespace.object({
|
|
1648
1597
|
documentId: IsValidReferenceDocumentId
|
|
1649
1598
|
});
|
|
1650
|
-
var SUpdateAsCreatorCampaignKeyDocument =
|
|
1599
|
+
var SUpdateAsCreatorCampaignKeyDocument = v45__namespace.object({
|
|
1651
1600
|
label: IsValidOrUndefinedLabel,
|
|
1652
1601
|
value: IsValidOrUndefinedValue,
|
|
1653
1602
|
description: IsValidOrUndefinedDescription,
|
|
1654
1603
|
is_active: IsValidOrUndefinedIsActive
|
|
1655
1604
|
});
|
|
1656
|
-
var SUpdateAsCreatorCampaignKeyDocumentRequest =
|
|
1605
|
+
var SUpdateAsCreatorCampaignKeyDocumentRequest = v45__namespace.object({
|
|
1657
1606
|
documentId: IsValidReferenceDocumentId,
|
|
1658
1607
|
data: SUpdateAsCreatorCampaignKeyDocument
|
|
1659
1608
|
});
|
|
1660
|
-
var SUpdateAsInvitedCampaignKeyDocument =
|
|
1609
|
+
var SUpdateAsInvitedCampaignKeyDocument = v45__namespace.object({
|
|
1661
1610
|
label: IsValidOrUndefinedLabel,
|
|
1662
1611
|
description: IsValidDescription,
|
|
1663
1612
|
is_active: IsValidOrUndefinedIsActive
|
|
1664
1613
|
});
|
|
1665
|
-
var SUpdateAsInvitedCampaignKeyDocumentRequest =
|
|
1614
|
+
var SUpdateAsInvitedCampaignKeyDocumentRequest = v45__namespace.object({
|
|
1666
1615
|
documentId: IsValidReferenceDocumentId,
|
|
1667
1616
|
data: SUpdateAsInvitedCampaignKeyDocument
|
|
1668
1617
|
});
|
|
1669
|
-
var SUpdateCampaignKeyDocumentRequest =
|
|
1618
|
+
var SUpdateCampaignKeyDocumentRequest = v45__namespace.union([
|
|
1670
1619
|
SUpdateAsCreatorCampaignKeyDocument,
|
|
1671
1620
|
SUpdateAsInvitedCampaignKeyDocument
|
|
1672
1621
|
]);
|
|
1673
|
-
var SDeleteCampaignKeyDocument =
|
|
1622
|
+
var SDeleteCampaignKeyDocument = v45__namespace.object({
|
|
1674
1623
|
documentId: IsValidReferenceDocumentId
|
|
1675
1624
|
});
|
|
1676
|
-
var SQueryListCampaignPhaseDocuments =
|
|
1625
|
+
var SQueryListCampaignPhaseDocuments = v45__namespace.object({
|
|
1677
1626
|
documentId: IsValidReferenceDocumentId,
|
|
1678
1627
|
page: IsValidMinPage,
|
|
1679
|
-
size:
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1628
|
+
size: v45__namespace.fallback(
|
|
1629
|
+
v45__namespace.optional(
|
|
1630
|
+
v45__namespace.pipe(
|
|
1631
|
+
v45__namespace.number(),
|
|
1632
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1633
|
+
v45__namespace.maxValue(CAMPAIGN_PHASE_PAGINATION_MAX_SIZE_LIMIT)
|
|
1685
1634
|
),
|
|
1686
1635
|
CAMPAIGN_PHASE_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1687
1636
|
),
|
|
1688
1637
|
CAMPAIGN_PHASE_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1689
1638
|
)
|
|
1690
1639
|
});
|
|
1691
|
-
var SCreateCampaignPhaseDocument =
|
|
1640
|
+
var SCreateCampaignPhaseDocument = v45__namespace.object({
|
|
1692
1641
|
label: IsValidLabel,
|
|
1693
1642
|
value: IsValidValue,
|
|
1694
1643
|
description: IsValidDescription,
|
|
1695
1644
|
is_active: IsValidIsActive
|
|
1696
1645
|
});
|
|
1697
|
-
var SCreateMultipleCampaignPhaseDocuments =
|
|
1698
|
-
|
|
1699
|
-
|
|
1646
|
+
var SCreateMultipleCampaignPhaseDocuments = v45__namespace.pipe(
|
|
1647
|
+
v45__namespace.array(SCreateCampaignPhaseDocument),
|
|
1648
|
+
v45__namespace.minLength(1, "At least one campaign phase is required")
|
|
1700
1649
|
);
|
|
1701
|
-
var SCreateCampaignPhaseDocumentRequest =
|
|
1650
|
+
var SCreateCampaignPhaseDocumentRequest = v45__namespace.object({
|
|
1702
1651
|
documentId: IsValidReferenceDocumentId,
|
|
1703
1652
|
data: SCreateCampaignPhaseDocument
|
|
1704
1653
|
});
|
|
1705
|
-
var SReadCampaignPhaseDocumentById =
|
|
1654
|
+
var SReadCampaignPhaseDocumentById = v45__namespace.object({
|
|
1706
1655
|
id: IsValidReferenceId
|
|
1707
1656
|
});
|
|
1708
|
-
var SReadCampaignPhaseDocumentByDocumentId =
|
|
1657
|
+
var SReadCampaignPhaseDocumentByDocumentId = v45__namespace.object({
|
|
1709
1658
|
documentId: IsValidReferenceDocumentId
|
|
1710
1659
|
});
|
|
1711
|
-
var SUpdateAsCreatorCampaignPhaseDocument =
|
|
1660
|
+
var SUpdateAsCreatorCampaignPhaseDocument = v45__namespace.object({
|
|
1712
1661
|
label: IsValidOrUndefinedLabel,
|
|
1713
1662
|
value: IsValidOrUndefinedValue,
|
|
1714
1663
|
description: IsValidOrUndefinedDescription,
|
|
1715
1664
|
is_active: IsValidOrUndefinedIsActive
|
|
1716
1665
|
});
|
|
1717
|
-
var SUpdateAsCreatorCampaignPhaseDocumentRequest =
|
|
1666
|
+
var SUpdateAsCreatorCampaignPhaseDocumentRequest = v45__namespace.object({
|
|
1718
1667
|
documentId: IsValidReferenceDocumentId,
|
|
1719
1668
|
data: SUpdateAsCreatorCampaignPhaseDocument
|
|
1720
1669
|
});
|
|
1721
|
-
var SUpdateAsInvitedCampaignPhaseDocument =
|
|
1670
|
+
var SUpdateAsInvitedCampaignPhaseDocument = v45__namespace.object({
|
|
1722
1671
|
label: IsValidOrUndefinedLabel,
|
|
1723
1672
|
description: IsValidDescription,
|
|
1724
1673
|
is_active: IsValidOrUndefinedIsActive
|
|
1725
1674
|
});
|
|
1726
|
-
var SUpdateAsInvitedCampaignPhaseDocumentRequest =
|
|
1675
|
+
var SUpdateAsInvitedCampaignPhaseDocumentRequest = v45__namespace.object({
|
|
1727
1676
|
documentId: IsValidReferenceDocumentId,
|
|
1728
1677
|
data: SUpdateAsInvitedCampaignPhaseDocument
|
|
1729
1678
|
});
|
|
1730
|
-
var SUpdateCampaignPhaseDocumentRequest =
|
|
1679
|
+
var SUpdateCampaignPhaseDocumentRequest = v45__namespace.union([
|
|
1731
1680
|
SUpdateAsCreatorCampaignPhaseDocument,
|
|
1732
1681
|
SUpdateAsInvitedCampaignPhaseDocument
|
|
1733
1682
|
]);
|
|
1734
|
-
var SDeleteCampaignPhaseDocument =
|
|
1683
|
+
var SDeleteCampaignPhaseDocument = v45__namespace.object({
|
|
1735
1684
|
documentId: IsValidReferenceDocumentId
|
|
1736
1685
|
});
|
|
1737
|
-
var SQueryListCampaignProductDocuments =
|
|
1686
|
+
var SQueryListCampaignProductDocuments = v45__namespace.object({
|
|
1738
1687
|
documentId: IsValidReferenceDocumentId,
|
|
1739
1688
|
page: IsValidMinPage,
|
|
1740
|
-
size:
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1689
|
+
size: v45__namespace.fallback(
|
|
1690
|
+
v45__namespace.optional(
|
|
1691
|
+
v45__namespace.pipe(
|
|
1692
|
+
v45__namespace.number(),
|
|
1693
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1694
|
+
v45__namespace.maxValue(CAMPAIGN_PRODUCT_PAGINATION_MAX_SIZE_LIMIT)
|
|
1746
1695
|
),
|
|
1747
1696
|
CAMPAIGN_PRODUCT_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1748
1697
|
),
|
|
1749
1698
|
CAMPAIGN_PRODUCT_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1750
1699
|
)
|
|
1751
1700
|
});
|
|
1752
|
-
var SCreateCampaignProductDocument =
|
|
1701
|
+
var SCreateCampaignProductDocument = v45__namespace.object({
|
|
1753
1702
|
label: IsValidLabel,
|
|
1754
1703
|
value: IsValidValue,
|
|
1755
1704
|
description: IsValidDescription,
|
|
1756
1705
|
is_active: IsValidIsActive
|
|
1757
1706
|
});
|
|
1758
|
-
var SCreateMultipleCampaignProductDocuments =
|
|
1759
|
-
|
|
1760
|
-
|
|
1707
|
+
var SCreateMultipleCampaignProductDocuments = v45__namespace.pipe(
|
|
1708
|
+
v45__namespace.array(SCreateCampaignProductDocument),
|
|
1709
|
+
v45__namespace.minLength(1, "At least one campaign product is required")
|
|
1761
1710
|
);
|
|
1762
|
-
var SCreateCampaignProductDocumentRequest =
|
|
1711
|
+
var SCreateCampaignProductDocumentRequest = v45__namespace.object({
|
|
1763
1712
|
documentId: IsValidReferenceDocumentId,
|
|
1764
1713
|
data: SCreateCampaignProductDocument
|
|
1765
1714
|
});
|
|
1766
|
-
var SReadCampaignProductDocumentById =
|
|
1715
|
+
var SReadCampaignProductDocumentById = v45__namespace.object({
|
|
1767
1716
|
id: IsValidReferenceId
|
|
1768
1717
|
});
|
|
1769
|
-
var SReadCampaignProductDocumentByDocumentId =
|
|
1718
|
+
var SReadCampaignProductDocumentByDocumentId = v45__namespace.object({
|
|
1770
1719
|
documentId: IsValidReferenceDocumentId
|
|
1771
1720
|
});
|
|
1772
|
-
var SUpdateAsCreatorCampaignProductDocument =
|
|
1721
|
+
var SUpdateAsCreatorCampaignProductDocument = v45__namespace.object({
|
|
1773
1722
|
label: IsValidOrUndefinedLabel,
|
|
1774
1723
|
value: IsValidOrUndefinedValue,
|
|
1775
1724
|
description: IsValidOrUndefinedDescription,
|
|
1776
1725
|
is_active: IsValidOrUndefinedIsActive
|
|
1777
1726
|
});
|
|
1778
|
-
var SUpdateAsCreatorCampaignProductDocumentRequest =
|
|
1727
|
+
var SUpdateAsCreatorCampaignProductDocumentRequest = v45__namespace.object({
|
|
1779
1728
|
documentId: IsValidReferenceDocumentId,
|
|
1780
1729
|
data: SUpdateAsCreatorCampaignProductDocument
|
|
1781
1730
|
});
|
|
1782
|
-
var SUpdateAsInvitedCampaignProductDocument =
|
|
1731
|
+
var SUpdateAsInvitedCampaignProductDocument = v45__namespace.object({
|
|
1783
1732
|
label: IsValidOrUndefinedLabel,
|
|
1784
1733
|
description: IsValidDescription,
|
|
1785
1734
|
is_active: IsValidOrUndefinedIsActive
|
|
1786
1735
|
});
|
|
1787
|
-
var SUpdateAsInvitedCampaignProductDocumentRequest =
|
|
1736
|
+
var SUpdateAsInvitedCampaignProductDocumentRequest = v45__namespace.object({
|
|
1788
1737
|
documentId: IsValidReferenceDocumentId,
|
|
1789
1738
|
data: SUpdateAsInvitedCampaignProductDocument
|
|
1790
1739
|
});
|
|
1791
|
-
var SUpdateCampaignProductDocumentRequest =
|
|
1740
|
+
var SUpdateCampaignProductDocumentRequest = v45__namespace.union([
|
|
1792
1741
|
SUpdateAsCreatorCampaignProductDocument,
|
|
1793
1742
|
SUpdateAsInvitedCampaignProductDocument
|
|
1794
1743
|
]);
|
|
1795
|
-
var SDeleteCampaignProductDocument =
|
|
1744
|
+
var SDeleteCampaignProductDocument = v45__namespace.object({
|
|
1796
1745
|
documentId: IsValidReferenceDocumentId
|
|
1797
1746
|
});
|
|
1798
|
-
var SQueryListContentDocuments =
|
|
1747
|
+
var SQueryListContentDocuments = v45__namespace.object({
|
|
1799
1748
|
documentId: IsValidReferenceDocumentId,
|
|
1800
1749
|
page: IsValidMinPage,
|
|
1801
|
-
size:
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1750
|
+
size: v45__namespace.fallback(
|
|
1751
|
+
v45__namespace.optional(
|
|
1752
|
+
v45__namespace.pipe(
|
|
1753
|
+
v45__namespace.number(),
|
|
1754
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1755
|
+
v45__namespace.maxValue(CONTENT_PAGINATION_MAX_SIZE_LIMIT)
|
|
1807
1756
|
),
|
|
1808
1757
|
CONTENT_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1809
1758
|
),
|
|
1810
1759
|
CONTENT_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1811
1760
|
)
|
|
1812
1761
|
});
|
|
1813
|
-
var SCreateContentDocument =
|
|
1762
|
+
var SCreateContentDocument = v45__namespace.object({
|
|
1814
1763
|
label: IsValidLabel,
|
|
1815
1764
|
value: IsValidValue,
|
|
1816
1765
|
description: IsValidDescription,
|
|
1817
1766
|
is_active: IsValidIsActive
|
|
1818
1767
|
});
|
|
1819
|
-
var SCreateMultipleContentDocuments =
|
|
1820
|
-
|
|
1821
|
-
|
|
1768
|
+
var SCreateMultipleContentDocuments = v45__namespace.pipe(
|
|
1769
|
+
v45__namespace.array(SCreateContentDocument),
|
|
1770
|
+
v45__namespace.minLength(1, "At least one term is required")
|
|
1822
1771
|
);
|
|
1823
|
-
var SCreateContentDocumentRequest =
|
|
1772
|
+
var SCreateContentDocumentRequest = v45__namespace.object({
|
|
1824
1773
|
documentId: IsValidReferenceDocumentId,
|
|
1825
1774
|
data: SCreateContentDocument
|
|
1826
1775
|
});
|
|
1827
|
-
var SReadContentDocumentById =
|
|
1776
|
+
var SReadContentDocumentById = v45__namespace.object({
|
|
1828
1777
|
id: IsValidReferenceId
|
|
1829
1778
|
});
|
|
1830
|
-
var SReadContentDocumentByDocumentId =
|
|
1779
|
+
var SReadContentDocumentByDocumentId = v45__namespace.object({
|
|
1831
1780
|
documentId: IsValidReferenceDocumentId
|
|
1832
1781
|
});
|
|
1833
|
-
var SUpdateAsCreatorContentDocument =
|
|
1782
|
+
var SUpdateAsCreatorContentDocument = v45__namespace.object({
|
|
1834
1783
|
label: IsValidOrUndefinedLabel,
|
|
1835
1784
|
value: IsValidOrUndefinedValue,
|
|
1836
1785
|
description: IsValidOrUndefinedDescription,
|
|
1837
1786
|
is_active: IsValidOrUndefinedIsActive
|
|
1838
1787
|
});
|
|
1839
|
-
var SUpdateAsCreatorContentDocumentRequest =
|
|
1788
|
+
var SUpdateAsCreatorContentDocumentRequest = v45__namespace.object({
|
|
1840
1789
|
documentId: IsValidReferenceDocumentId,
|
|
1841
1790
|
data: SUpdateAsCreatorContentDocument
|
|
1842
1791
|
});
|
|
1843
|
-
var SUpdateAsInvitedContentDocument =
|
|
1792
|
+
var SUpdateAsInvitedContentDocument = v45__namespace.object({
|
|
1844
1793
|
label: IsValidOrUndefinedLabel,
|
|
1845
1794
|
description: IsValidDescription,
|
|
1846
1795
|
is_active: IsValidOrUndefinedIsActive
|
|
1847
1796
|
});
|
|
1848
|
-
var SUpdateAsInvitedContentDocumentRequest =
|
|
1797
|
+
var SUpdateAsInvitedContentDocumentRequest = v45__namespace.object({
|
|
1849
1798
|
documentId: IsValidReferenceDocumentId,
|
|
1850
1799
|
data: SUpdateAsInvitedContentDocument
|
|
1851
1800
|
});
|
|
1852
|
-
var SUpdateContentDocumentRequest =
|
|
1801
|
+
var SUpdateContentDocumentRequest = v45__namespace.union([
|
|
1853
1802
|
SUpdateAsCreatorContentDocument,
|
|
1854
1803
|
SUpdateAsInvitedContentDocument
|
|
1855
1804
|
]);
|
|
1856
|
-
var SDeleteContentDocument =
|
|
1805
|
+
var SDeleteContentDocument = v45__namespace.object({
|
|
1857
1806
|
documentId: IsValidReferenceDocumentId
|
|
1858
1807
|
});
|
|
1859
|
-
var SQueryListCreativeFormatVariantDocuments =
|
|
1808
|
+
var SQueryListCreativeFormatVariantDocuments = v45__namespace.object({
|
|
1860
1809
|
documentId: IsValidReferenceDocumentId,
|
|
1861
1810
|
page: IsValidMinPage,
|
|
1862
|
-
size:
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1811
|
+
size: v45__namespace.fallback(
|
|
1812
|
+
v45__namespace.optional(
|
|
1813
|
+
v45__namespace.pipe(
|
|
1814
|
+
v45__namespace.number(),
|
|
1815
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1816
|
+
v45__namespace.maxValue(CREATIVE_FORMAT_VARIANT_PAGINATION_MAX_SIZE_LIMIT)
|
|
1868
1817
|
),
|
|
1869
1818
|
CREATIVE_FORMAT_VARIANT_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1870
1819
|
),
|
|
1871
1820
|
CREATIVE_FORMAT_VARIANT_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1872
1821
|
)
|
|
1873
1822
|
});
|
|
1874
|
-
var SCreateCreativeFormatVariantDocument =
|
|
1823
|
+
var SCreateCreativeFormatVariantDocument = v45__namespace.object({
|
|
1875
1824
|
label: IsValidLabel,
|
|
1876
1825
|
value: IsValidValue,
|
|
1877
1826
|
description: IsValidDescription,
|
|
1878
1827
|
is_active: IsValidIsActive
|
|
1879
1828
|
});
|
|
1880
|
-
var SCreateMultipleCreativeFormatVariantDocuments =
|
|
1881
|
-
|
|
1882
|
-
|
|
1829
|
+
var SCreateMultipleCreativeFormatVariantDocuments = v45__namespace.pipe(
|
|
1830
|
+
v45__namespace.array(SCreateCreativeFormatVariantDocument),
|
|
1831
|
+
v45__namespace.minLength(1, "At least one term is required")
|
|
1883
1832
|
);
|
|
1884
|
-
var SCreateCreativeFormatVariantDocumentRequest =
|
|
1833
|
+
var SCreateCreativeFormatVariantDocumentRequest = v45__namespace.object({
|
|
1885
1834
|
documentId: IsValidReferenceDocumentId,
|
|
1886
1835
|
data: SCreateCreativeFormatVariantDocument
|
|
1887
1836
|
});
|
|
1888
|
-
var SReadCreativeFormatVariantDocumentById =
|
|
1837
|
+
var SReadCreativeFormatVariantDocumentById = v45__namespace.object({
|
|
1889
1838
|
id: IsValidReferenceId
|
|
1890
1839
|
});
|
|
1891
|
-
var SReadCreativeFormatVariantDocumentByDocumentId =
|
|
1840
|
+
var SReadCreativeFormatVariantDocumentByDocumentId = v45__namespace.object({
|
|
1892
1841
|
documentId: IsValidReferenceDocumentId
|
|
1893
1842
|
});
|
|
1894
|
-
var SUpdateAsCreatorCreativeFormatVariantDocument =
|
|
1843
|
+
var SUpdateAsCreatorCreativeFormatVariantDocument = v45__namespace.object({
|
|
1895
1844
|
label: IsValidOrUndefinedLabel,
|
|
1896
1845
|
value: IsValidOrUndefinedValue,
|
|
1897
1846
|
description: IsValidOrUndefinedDescription,
|
|
1898
1847
|
is_active: IsValidOrUndefinedIsActive
|
|
1899
1848
|
});
|
|
1900
|
-
var SUpdateAsCreatorCreativeFormatVariantDocumentRequest =
|
|
1849
|
+
var SUpdateAsCreatorCreativeFormatVariantDocumentRequest = v45__namespace.object({
|
|
1901
1850
|
documentId: IsValidReferenceDocumentId,
|
|
1902
1851
|
data: SUpdateAsCreatorCreativeFormatVariantDocument
|
|
1903
1852
|
});
|
|
1904
|
-
var SUpdateAsInvitedCreativeFormatVariantDocument =
|
|
1853
|
+
var SUpdateAsInvitedCreativeFormatVariantDocument = v45__namespace.object({
|
|
1905
1854
|
label: IsValidOrUndefinedLabel,
|
|
1906
1855
|
description: IsValidDescription,
|
|
1907
1856
|
is_active: IsValidOrUndefinedIsActive
|
|
1908
1857
|
});
|
|
1909
|
-
var SUpdateAsInvitedCreativeFormatVariantDocumentRequest =
|
|
1858
|
+
var SUpdateAsInvitedCreativeFormatVariantDocumentRequest = v45__namespace.object({
|
|
1910
1859
|
documentId: IsValidReferenceDocumentId,
|
|
1911
1860
|
data: SUpdateAsInvitedCreativeFormatVariantDocument
|
|
1912
1861
|
});
|
|
1913
|
-
var SUpdateCreativeFormatVariantDocumentRequest =
|
|
1862
|
+
var SUpdateCreativeFormatVariantDocumentRequest = v45__namespace.union([
|
|
1914
1863
|
SUpdateAsCreatorCreativeFormatVariantDocument,
|
|
1915
1864
|
SUpdateAsInvitedCreativeFormatVariantDocument
|
|
1916
1865
|
]);
|
|
1917
|
-
var SDeleteCreativeFormatVariantDocument =
|
|
1866
|
+
var SDeleteCreativeFormatVariantDocument = v45__namespace.object({
|
|
1918
1867
|
documentId: IsValidReferenceDocumentId
|
|
1919
1868
|
});
|
|
1920
|
-
var SQueryListCreativeFormatDocuments =
|
|
1869
|
+
var SQueryListCreativeFormatDocuments = v45__namespace.object({
|
|
1921
1870
|
documentId: IsValidReferenceDocumentId,
|
|
1922
1871
|
page: IsValidMinPage,
|
|
1923
|
-
size:
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1872
|
+
size: v45__namespace.fallback(
|
|
1873
|
+
v45__namespace.optional(
|
|
1874
|
+
v45__namespace.pipe(
|
|
1875
|
+
v45__namespace.number(),
|
|
1876
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1877
|
+
v45__namespace.maxValue(CREATIVE_FORMAT_PAGINATION_MAX_SIZE_LIMIT)
|
|
1929
1878
|
),
|
|
1930
1879
|
CREATIVE_FORMAT_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1931
1880
|
),
|
|
1932
1881
|
CREATIVE_FORMAT_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1933
1882
|
)
|
|
1934
1883
|
});
|
|
1935
|
-
var SCreateCreativeFormatDocument =
|
|
1884
|
+
var SCreateCreativeFormatDocument = v45__namespace.object({
|
|
1936
1885
|
label: IsValidLabel,
|
|
1937
1886
|
value: IsValidValue,
|
|
1938
1887
|
description: IsValidDescription,
|
|
1939
1888
|
is_active: IsValidIsActive
|
|
1940
1889
|
});
|
|
1941
|
-
var SCreateMultipleCreativeFormatDocuments =
|
|
1942
|
-
|
|
1943
|
-
|
|
1890
|
+
var SCreateMultipleCreativeFormatDocuments = v45__namespace.pipe(
|
|
1891
|
+
v45__namespace.array(SCreateCreativeFormatDocument),
|
|
1892
|
+
v45__namespace.minLength(1, "At least one creative format is required")
|
|
1944
1893
|
);
|
|
1945
|
-
var SCreateCreativeFormatDocumentRequest =
|
|
1894
|
+
var SCreateCreativeFormatDocumentRequest = v45__namespace.object({
|
|
1946
1895
|
documentId: IsValidReferenceDocumentId,
|
|
1947
1896
|
data: SCreateCreativeFormatDocument
|
|
1948
1897
|
});
|
|
1949
|
-
var SReadCreativeFormatDocumentById =
|
|
1898
|
+
var SReadCreativeFormatDocumentById = v45__namespace.object({
|
|
1950
1899
|
id: IsValidReferenceId
|
|
1951
1900
|
});
|
|
1952
|
-
var SReadCreativeFormatDocumentByDocumentId =
|
|
1901
|
+
var SReadCreativeFormatDocumentByDocumentId = v45__namespace.object({
|
|
1953
1902
|
documentId: IsValidReferenceDocumentId
|
|
1954
1903
|
});
|
|
1955
|
-
var SUpdateAsCreatorCreativeFormatDocument =
|
|
1904
|
+
var SUpdateAsCreatorCreativeFormatDocument = v45__namespace.object({
|
|
1956
1905
|
label: IsValidOrUndefinedLabel,
|
|
1957
1906
|
value: IsValidOrUndefinedValue,
|
|
1958
1907
|
description: IsValidOrUndefinedDescription,
|
|
1959
1908
|
is_active: IsValidOrUndefinedIsActive
|
|
1960
1909
|
});
|
|
1961
|
-
var SUpdateAsCreatorCreativeFormatDocumentRequest =
|
|
1910
|
+
var SUpdateAsCreatorCreativeFormatDocumentRequest = v45__namespace.object({
|
|
1962
1911
|
documentId: IsValidReferenceDocumentId,
|
|
1963
1912
|
data: SUpdateAsCreatorCreativeFormatDocument
|
|
1964
1913
|
});
|
|
1965
|
-
var SUpdateAsInvitedCreativeFormatDocument =
|
|
1914
|
+
var SUpdateAsInvitedCreativeFormatDocument = v45__namespace.object({
|
|
1966
1915
|
label: IsValidOrUndefinedLabel,
|
|
1967
1916
|
description: IsValidDescription,
|
|
1968
1917
|
is_active: IsValidOrUndefinedIsActive
|
|
1969
1918
|
});
|
|
1970
|
-
var SUpdateAsInvitedCreativeFormatDocumentRequest =
|
|
1919
|
+
var SUpdateAsInvitedCreativeFormatDocumentRequest = v45__namespace.object({
|
|
1971
1920
|
documentId: IsValidReferenceDocumentId,
|
|
1972
1921
|
data: SUpdateAsInvitedCreativeFormatDocument
|
|
1973
1922
|
});
|
|
1974
|
-
var SUpdateCreativeFormatDocumentRequest =
|
|
1923
|
+
var SUpdateCreativeFormatDocumentRequest = v45__namespace.union([
|
|
1975
1924
|
SUpdateAsCreatorCreativeFormatDocument,
|
|
1976
1925
|
SUpdateAsInvitedCreativeFormatDocument
|
|
1977
1926
|
]);
|
|
1978
|
-
var SDeleteCreativeFormatDocument =
|
|
1927
|
+
var SDeleteCreativeFormatDocument = v45__namespace.object({
|
|
1979
1928
|
documentId: IsValidReferenceDocumentId
|
|
1980
1929
|
});
|
|
1981
|
-
var SQueryListMediumDocuments =
|
|
1930
|
+
var SQueryListMediumDocuments = v45__namespace.object({
|
|
1982
1931
|
documentId: IsValidReferenceDocumentId,
|
|
1983
1932
|
page: IsValidMinPage,
|
|
1984
|
-
size:
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1933
|
+
size: v45__namespace.fallback(
|
|
1934
|
+
v45__namespace.optional(
|
|
1935
|
+
v45__namespace.pipe(
|
|
1936
|
+
v45__namespace.number(),
|
|
1937
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1938
|
+
v45__namespace.maxValue(MEDIUM_PAGINATION_MAX_SIZE_LIMIT)
|
|
1990
1939
|
),
|
|
1991
1940
|
MEDIUM_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1992
1941
|
),
|
|
1993
1942
|
MEDIUM_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
1994
1943
|
)
|
|
1995
1944
|
});
|
|
1996
|
-
var SCreateMediumDocument =
|
|
1945
|
+
var SCreateMediumDocument = v45__namespace.object({
|
|
1997
1946
|
label: IsValidLabel,
|
|
1998
1947
|
value: IsValidValue,
|
|
1999
1948
|
description: IsValidDescription,
|
|
2000
1949
|
is_active: IsValidIsActive
|
|
2001
1950
|
});
|
|
2002
|
-
var SCreateMultipleMediumDocuments =
|
|
2003
|
-
|
|
2004
|
-
|
|
1951
|
+
var SCreateMultipleMediumDocuments = v45__namespace.pipe(
|
|
1952
|
+
v45__namespace.array(SCreateMediumDocument),
|
|
1953
|
+
v45__namespace.minLength(1, "At least one medium is required")
|
|
2005
1954
|
);
|
|
2006
|
-
var SCreateMediumDocumentRequest =
|
|
1955
|
+
var SCreateMediumDocumentRequest = v45__namespace.object({
|
|
2007
1956
|
documentId: IsValidReferenceDocumentId,
|
|
2008
1957
|
data: SCreateMediumDocument
|
|
2009
1958
|
});
|
|
2010
|
-
var SReadMediumDocumentById =
|
|
1959
|
+
var SReadMediumDocumentById = v45__namespace.object({
|
|
2011
1960
|
id: IsValidReferenceId
|
|
2012
1961
|
});
|
|
2013
|
-
var SReadMediumDocumentByDocumentId =
|
|
1962
|
+
var SReadMediumDocumentByDocumentId = v45__namespace.object({
|
|
2014
1963
|
documentId: IsValidReferenceDocumentId
|
|
2015
1964
|
});
|
|
2016
|
-
var SUpdateAsCreatorMediumDocument =
|
|
1965
|
+
var SUpdateAsCreatorMediumDocument = v45__namespace.object({
|
|
2017
1966
|
label: IsValidOrUndefinedLabel,
|
|
2018
1967
|
value: IsValidOrUndefinedValue,
|
|
2019
1968
|
description: IsValidOrUndefinedDescription,
|
|
2020
1969
|
is_active: IsValidOrUndefinedIsActive
|
|
2021
1970
|
});
|
|
2022
|
-
var SUpdateAsCreatorMediumDocumentRequest =
|
|
1971
|
+
var SUpdateAsCreatorMediumDocumentRequest = v45__namespace.object({
|
|
2023
1972
|
documentId: IsValidReferenceDocumentId,
|
|
2024
1973
|
data: SUpdateAsCreatorMediumDocument
|
|
2025
1974
|
});
|
|
2026
|
-
var SUpdateAsInvitedMediumDocument =
|
|
1975
|
+
var SUpdateAsInvitedMediumDocument = v45__namespace.object({
|
|
2027
1976
|
label: IsValidOrUndefinedLabel,
|
|
2028
1977
|
description: IsValidDescription,
|
|
2029
1978
|
is_active: IsValidOrUndefinedIsActive
|
|
2030
1979
|
});
|
|
2031
|
-
var SUpdateAsInvitedMediumDocumentRequest =
|
|
1980
|
+
var SUpdateAsInvitedMediumDocumentRequest = v45__namespace.object({
|
|
2032
1981
|
documentId: IsValidReferenceDocumentId,
|
|
2033
1982
|
data: SUpdateAsInvitedMediumDocument
|
|
2034
1983
|
});
|
|
2035
|
-
var SUpdateMediumDocumentRequest =
|
|
1984
|
+
var SUpdateMediumDocumentRequest = v45__namespace.union([
|
|
2036
1985
|
SUpdateAsCreatorMediumDocument,
|
|
2037
1986
|
SUpdateAsInvitedMediumDocument
|
|
2038
1987
|
]);
|
|
2039
|
-
var SDeleteMediumDocument =
|
|
1988
|
+
var SDeleteMediumDocument = v45__namespace.object({
|
|
2040
1989
|
documentId: IsValidReferenceDocumentId
|
|
2041
1990
|
});
|
|
2042
|
-
var SQueryListSourceDocuments =
|
|
1991
|
+
var SQueryListSourceDocuments = v45__namespace.object({
|
|
2043
1992
|
documentId: IsValidReferenceDocumentId,
|
|
2044
1993
|
page: IsValidMinPage,
|
|
2045
|
-
size:
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
1994
|
+
size: v45__namespace.fallback(
|
|
1995
|
+
v45__namespace.optional(
|
|
1996
|
+
v45__namespace.pipe(
|
|
1997
|
+
v45__namespace.number(),
|
|
1998
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
1999
|
+
v45__namespace.maxValue(SOURCE_PAGINATION_MAX_SIZE_LIMIT)
|
|
2051
2000
|
),
|
|
2052
2001
|
SOURCE_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
2053
2002
|
),
|
|
2054
2003
|
SOURCE_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
2055
2004
|
)
|
|
2056
2005
|
});
|
|
2057
|
-
var SCreateSourceDocument =
|
|
2006
|
+
var SCreateSourceDocument = v45__namespace.object({
|
|
2058
2007
|
label: IsValidLabel,
|
|
2059
2008
|
value: IsValidValue,
|
|
2060
2009
|
description: IsValidDescription,
|
|
2061
2010
|
is_active: IsValidIsActive
|
|
2062
2011
|
});
|
|
2063
|
-
var SCreateMultipleSourceDocuments =
|
|
2064
|
-
|
|
2065
|
-
|
|
2012
|
+
var SCreateMultipleSourceDocuments = v45__namespace.pipe(
|
|
2013
|
+
v45__namespace.array(SCreateSourceDocument),
|
|
2014
|
+
v45__namespace.minLength(1, "At least one source is required")
|
|
2066
2015
|
);
|
|
2067
|
-
var SCreateSourceDocumentRequest =
|
|
2016
|
+
var SCreateSourceDocumentRequest = v45__namespace.object({
|
|
2068
2017
|
documentId: IsValidReferenceDocumentId,
|
|
2069
2018
|
data: SCreateSourceDocument
|
|
2070
2019
|
});
|
|
2071
|
-
var SReadSourceDocumentById =
|
|
2020
|
+
var SReadSourceDocumentById = v45__namespace.object({
|
|
2072
2021
|
id: IsValidReferenceId
|
|
2073
2022
|
});
|
|
2074
|
-
var SReadSourceDocumentByDocumentId =
|
|
2023
|
+
var SReadSourceDocumentByDocumentId = v45__namespace.object({
|
|
2075
2024
|
documentId: IsValidReferenceDocumentId
|
|
2076
2025
|
});
|
|
2077
|
-
var SUpdateAsCreatorSourceDocument =
|
|
2026
|
+
var SUpdateAsCreatorSourceDocument = v45__namespace.object({
|
|
2078
2027
|
label: IsValidOrUndefinedLabel,
|
|
2079
2028
|
value: IsValidOrUndefinedValue,
|
|
2080
2029
|
description: IsValidOrUndefinedDescription,
|
|
2081
2030
|
is_active: IsValidOrUndefinedIsActive
|
|
2082
2031
|
});
|
|
2083
|
-
var SUpdateAsCreatorSourceDocumentRequest =
|
|
2032
|
+
var SUpdateAsCreatorSourceDocumentRequest = v45__namespace.object({
|
|
2084
2033
|
documentId: IsValidReferenceDocumentId,
|
|
2085
2034
|
data: SUpdateAsCreatorSourceDocument
|
|
2086
2035
|
});
|
|
2087
|
-
var SUpdateAsInvitedSourceDocument =
|
|
2036
|
+
var SUpdateAsInvitedSourceDocument = v45__namespace.object({
|
|
2088
2037
|
label: IsValidOrUndefinedLabel,
|
|
2089
2038
|
description: IsValidDescription,
|
|
2090
2039
|
is_active: IsValidOrUndefinedIsActive
|
|
2091
2040
|
});
|
|
2092
|
-
var SUpdateAsInvitedSourceDocumentRequest =
|
|
2041
|
+
var SUpdateAsInvitedSourceDocumentRequest = v45__namespace.object({
|
|
2093
2042
|
documentId: IsValidReferenceDocumentId,
|
|
2094
2043
|
data: SUpdateAsInvitedSourceDocument
|
|
2095
2044
|
});
|
|
2096
|
-
var SUpdateSourceDocumentRequest =
|
|
2045
|
+
var SUpdateSourceDocumentRequest = v45__namespace.union([
|
|
2097
2046
|
SUpdateAsCreatorSourceDocument,
|
|
2098
2047
|
SUpdateAsInvitedSourceDocument
|
|
2099
2048
|
]);
|
|
2100
|
-
var SDeleteSourceDocument =
|
|
2049
|
+
var SDeleteSourceDocument = v45__namespace.object({
|
|
2101
2050
|
documentId: IsValidReferenceDocumentId
|
|
2102
2051
|
});
|
|
2103
|
-
var SQueryListTermDocuments =
|
|
2052
|
+
var SQueryListTermDocuments = v45__namespace.object({
|
|
2104
2053
|
documentId: IsValidReferenceDocumentId,
|
|
2105
2054
|
page: IsValidMinPage,
|
|
2106
|
-
size:
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2055
|
+
size: v45__namespace.fallback(
|
|
2056
|
+
v45__namespace.optional(
|
|
2057
|
+
v45__namespace.pipe(
|
|
2058
|
+
v45__namespace.number(),
|
|
2059
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
2060
|
+
v45__namespace.maxValue(TERM_PAGINATION_MAX_SIZE_LIMIT)
|
|
2112
2061
|
),
|
|
2113
2062
|
TERM_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
2114
2063
|
),
|
|
2115
2064
|
TERM_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
2116
2065
|
)
|
|
2117
2066
|
});
|
|
2118
|
-
var SCreateTermDocument =
|
|
2067
|
+
var SCreateTermDocument = v45__namespace.object({
|
|
2119
2068
|
label: IsValidLabel,
|
|
2120
2069
|
value: IsValidValue,
|
|
2121
2070
|
description: IsValidDescription,
|
|
2122
2071
|
is_active: IsValidIsActive
|
|
2123
2072
|
});
|
|
2124
|
-
var SCreateMultipleTermDocuments =
|
|
2125
|
-
|
|
2126
|
-
|
|
2073
|
+
var SCreateMultipleTermDocuments = v45__namespace.pipe(
|
|
2074
|
+
v45__namespace.array(SCreateTermDocument),
|
|
2075
|
+
v45__namespace.minLength(1, "At least one term is required")
|
|
2127
2076
|
);
|
|
2128
|
-
var SCreateTermDocumentRequest =
|
|
2077
|
+
var SCreateTermDocumentRequest = v45__namespace.object({
|
|
2129
2078
|
documentId: IsValidReferenceDocumentId,
|
|
2130
2079
|
data: SCreateTermDocument
|
|
2131
2080
|
});
|
|
2132
|
-
var SReadTermDocumentById =
|
|
2081
|
+
var SReadTermDocumentById = v45__namespace.object({
|
|
2133
2082
|
id: IsValidReferenceId
|
|
2134
2083
|
});
|
|
2135
|
-
var SReadTermDocumentByDocumentId =
|
|
2084
|
+
var SReadTermDocumentByDocumentId = v45__namespace.object({
|
|
2136
2085
|
documentId: IsValidReferenceDocumentId
|
|
2137
2086
|
});
|
|
2138
|
-
var SUpdateAsCreatorTermDocument =
|
|
2087
|
+
var SUpdateAsCreatorTermDocument = v45__namespace.object({
|
|
2139
2088
|
label: IsValidOrUndefinedLabel,
|
|
2140
2089
|
value: IsValidOrUndefinedValue,
|
|
2141
2090
|
description: IsValidOrUndefinedDescription,
|
|
2142
2091
|
is_active: IsValidOrUndefinedIsActive
|
|
2143
2092
|
});
|
|
2144
|
-
var SUpdateAsCreatorTermDocumentRequest =
|
|
2093
|
+
var SUpdateAsCreatorTermDocumentRequest = v45__namespace.object({
|
|
2145
2094
|
documentId: IsValidReferenceDocumentId,
|
|
2146
2095
|
data: SUpdateAsCreatorTermDocument
|
|
2147
2096
|
});
|
|
2148
|
-
var SUpdateAsInvitedTermDocument =
|
|
2097
|
+
var SUpdateAsInvitedTermDocument = v45__namespace.object({
|
|
2149
2098
|
label: IsValidOrUndefinedLabel,
|
|
2150
2099
|
description: IsValidDescription,
|
|
2151
2100
|
is_active: IsValidOrUndefinedIsActive
|
|
2152
2101
|
});
|
|
2153
|
-
var SUpdateAsInvitedTermDocumentRequest =
|
|
2102
|
+
var SUpdateAsInvitedTermDocumentRequest = v45__namespace.object({
|
|
2154
2103
|
documentId: IsValidReferenceDocumentId,
|
|
2155
2104
|
data: SUpdateAsInvitedTermDocument
|
|
2156
2105
|
});
|
|
2157
|
-
var SUpdateTermDocumentRequest =
|
|
2106
|
+
var SUpdateTermDocumentRequest = v45__namespace.union([
|
|
2158
2107
|
SUpdateAsCreatorTermDocument,
|
|
2159
2108
|
SUpdateAsInvitedTermDocument
|
|
2160
2109
|
]);
|
|
2161
|
-
var SDeleteTermDocument =
|
|
2110
|
+
var SDeleteTermDocument = v45__namespace.object({
|
|
2162
2111
|
documentId: IsValidReferenceDocumentId
|
|
2163
2112
|
});
|
|
2164
|
-
var SQueryListWebsiteDocuments =
|
|
2113
|
+
var SQueryListWebsiteDocuments = v45__namespace.object({
|
|
2165
2114
|
documentId: IsValidReferenceDocumentId,
|
|
2166
2115
|
page: IsValidMinPage,
|
|
2167
|
-
size:
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2116
|
+
size: v45__namespace.fallback(
|
|
2117
|
+
v45__namespace.optional(
|
|
2118
|
+
v45__namespace.pipe(
|
|
2119
|
+
v45__namespace.number(),
|
|
2120
|
+
v45__namespace.minValue(STRAPI_PAGINATION_MIN_SIZE_LIMIT),
|
|
2121
|
+
v45__namespace.maxValue(WEBSITE_PAGINATION_MAX_SIZE_LIMIT)
|
|
2173
2122
|
),
|
|
2174
2123
|
WEBSITE_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
2175
2124
|
),
|
|
2176
2125
|
WEBSITE_PAGINATION_DEFAULT_SIZE_LIMIT
|
|
2177
2126
|
)
|
|
2178
2127
|
});
|
|
2179
|
-
var SCreateWebsiteDocument =
|
|
2128
|
+
var SCreateWebsiteDocument = v45__namespace.object({
|
|
2180
2129
|
domain: IsValidUrlDomain,
|
|
2181
2130
|
description: IsValidOrUndefinedDescription,
|
|
2182
2131
|
is_secure: IsValidIsSecure,
|
|
2183
2132
|
is_active: IsValidIsActive
|
|
2184
2133
|
});
|
|
2185
|
-
var SCreateMultipleWebsiteDocuments =
|
|
2186
|
-
|
|
2187
|
-
|
|
2134
|
+
var SCreateMultipleWebsiteDocuments = v45__namespace.pipe(
|
|
2135
|
+
v45__namespace.array(SCreateWebsiteDocument),
|
|
2136
|
+
v45__namespace.minLength(1, "At least one website is required")
|
|
2188
2137
|
);
|
|
2189
|
-
var SCreateWebsiteDocumentRequest =
|
|
2138
|
+
var SCreateWebsiteDocumentRequest = v45__namespace.object({
|
|
2190
2139
|
documentId: IsValidReferenceDocumentId,
|
|
2191
2140
|
data: SCreateWebsiteDocument
|
|
2192
2141
|
});
|
|
2193
|
-
var SReadWebsiteDocumentById =
|
|
2142
|
+
var SReadWebsiteDocumentById = v45__namespace.object({
|
|
2194
2143
|
id: IsValidReferenceId
|
|
2195
2144
|
});
|
|
2196
|
-
var SReadWebsiteDocumentByDocumentId =
|
|
2145
|
+
var SReadWebsiteDocumentByDocumentId = v45__namespace.object({
|
|
2197
2146
|
documentId: IsValidReferenceDocumentId
|
|
2198
2147
|
});
|
|
2199
|
-
var SUpdateAsCreatorWebsiteDocument =
|
|
2148
|
+
var SUpdateAsCreatorWebsiteDocument = v45__namespace.object({
|
|
2200
2149
|
domain: IsValidOrUndefinedUrlDomain,
|
|
2201
2150
|
description: IsValidOrUndefinedDescription,
|
|
2202
2151
|
is_secure: IsValidIsSecure,
|
|
2203
2152
|
is_active: IsValidIsActive
|
|
2204
2153
|
});
|
|
2205
|
-
var SUpdateAsCreatorWebsiteDocumentRequest =
|
|
2154
|
+
var SUpdateAsCreatorWebsiteDocumentRequest = v45__namespace.object({
|
|
2206
2155
|
documentId: IsValidReferenceDocumentId,
|
|
2207
2156
|
data: SUpdateAsCreatorWebsiteDocument
|
|
2208
2157
|
});
|
|
2209
|
-
var SUpdateAsInvitedWebsiteDocument =
|
|
2158
|
+
var SUpdateAsInvitedWebsiteDocument = v45__namespace.object({
|
|
2210
2159
|
description: IsValidOrUndefinedDescription
|
|
2211
2160
|
});
|
|
2212
|
-
var SUpdateAsInvitedWebsiteDocumentRequest =
|
|
2161
|
+
var SUpdateAsInvitedWebsiteDocumentRequest = v45__namespace.object({
|
|
2213
2162
|
documentId: IsValidReferenceDocumentId,
|
|
2214
2163
|
data: SUpdateAsInvitedWebsiteDocument
|
|
2215
2164
|
});
|
|
2216
|
-
var SUpdateWebsiteDocumentRequest =
|
|
2165
|
+
var SUpdateWebsiteDocumentRequest = v45__namespace.union([
|
|
2217
2166
|
SUpdateAsCreatorWebsiteDocument,
|
|
2218
2167
|
SUpdateAsInvitedWebsiteDocument
|
|
2219
2168
|
]);
|
|
2220
|
-
var SDeleteWebsiteDocument =
|
|
2169
|
+
var SDeleteWebsiteDocument = v45__namespace.object({
|
|
2221
2170
|
documentId: IsValidReferenceDocumentId
|
|
2222
2171
|
});
|
|
2223
|
-
var SGroupUserDocumentWithRelations =
|
|
2224
|
-
|
|
2225
|
-
documentId: IsValidReferenceDocumentId,
|
|
2226
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2227
|
-
createdAt: v29__namespace.string(),
|
|
2228
|
-
updatedAt: v29__namespace.string(),
|
|
2172
|
+
var SGroupUserDocumentWithRelations = v45__namespace.object({
|
|
2173
|
+
...SBaseDocument.entries,
|
|
2229
2174
|
...SBaseGroupUserDocument.entries,
|
|
2230
2175
|
...SGroupUserRelationsDocument.entries
|
|
2231
2176
|
});
|
|
2232
|
-
var SGroupUserDocumentReqRelations =
|
|
2233
|
-
|
|
2234
|
-
documentId: IsValidReferenceDocumentId,
|
|
2235
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2236
|
-
createdAt: v29__namespace.string(),
|
|
2237
|
-
updatedAt: v29__namespace.string(),
|
|
2177
|
+
var SGroupUserDocumentReqRelations = v45__namespace.object({
|
|
2178
|
+
...SBaseDocument.entries,
|
|
2238
2179
|
...SBaseGroupUserDocument.entries,
|
|
2239
2180
|
...SGroupUserRelationsReqDocument.entries
|
|
2240
2181
|
});
|
|
2241
|
-
var SGroupDocumentWithRelations =
|
|
2242
|
-
|
|
2243
|
-
documentId: IsValidReferenceDocumentId,
|
|
2244
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2245
|
-
createdAt: v29__namespace.string(),
|
|
2246
|
-
updatedAt: v29__namespace.string(),
|
|
2182
|
+
var SGroupDocumentWithRelations = v45__namespace.object({
|
|
2183
|
+
...SBaseDocument.entries,
|
|
2247
2184
|
...SBaseGroupDocument.entries,
|
|
2248
2185
|
...SGroupRelationsDocument.entries
|
|
2249
2186
|
});
|
|
2250
|
-
var SRoleDocumentWithRelations =
|
|
2251
|
-
|
|
2252
|
-
documentId: IsValidReferenceDocumentId,
|
|
2253
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2254
|
-
createdAt: v29__namespace.string(),
|
|
2255
|
-
updatedAt: v29__namespace.string(),
|
|
2187
|
+
var SRoleDocumentWithRelations = v45__namespace.object({
|
|
2188
|
+
...SBaseDocument.entries,
|
|
2256
2189
|
...SBaseRoleDocument.entries,
|
|
2257
2190
|
...SRoleRelationsDocument.entries
|
|
2258
2191
|
});
|
|
2259
|
-
var STrackingLinkDocumentWithRelations =
|
|
2260
|
-
|
|
2261
|
-
documentId: IsValidReferenceDocumentId,
|
|
2262
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2263
|
-
createdAt: v29__namespace.string(),
|
|
2264
|
-
updatedAt: v29__namespace.string(),
|
|
2192
|
+
var STrackingLinkDocumentWithRelations = v45__namespace.object({
|
|
2193
|
+
...SBaseDocument.entries,
|
|
2265
2194
|
...SBaseTrackingLinkDocument.entries,
|
|
2266
2195
|
...STrackingLinkRelationsDocument.entries
|
|
2267
2196
|
});
|
|
2268
|
-
var SUserAccountDocumentWithRelations =
|
|
2269
|
-
|
|
2270
|
-
documentId: IsValidReferenceDocumentId,
|
|
2271
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2272
|
-
createdAt: v29__namespace.string(),
|
|
2273
|
-
updatedAt: v29__namespace.string(),
|
|
2197
|
+
var SUserAccountDocumentWithRelations = v45__namespace.object({
|
|
2198
|
+
...SBaseDocument.entries,
|
|
2274
2199
|
...SBaseUserAccountDocument.entries,
|
|
2275
2200
|
...SUserAccountRelationsDocument.entries
|
|
2276
2201
|
});
|
|
2277
|
-
var SUserAccountDocumentReqRelations =
|
|
2278
|
-
|
|
2279
|
-
documentId: IsValidReferenceDocumentId,
|
|
2280
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2281
|
-
createdAt: v29__namespace.string(),
|
|
2282
|
-
updatedAt: v29__namespace.string(),
|
|
2202
|
+
var SUserAccountDocumentReqRelations = v45__namespace.object({
|
|
2203
|
+
...SBaseDocument.entries,
|
|
2283
2204
|
...SBaseUserAccountDocument.entries,
|
|
2284
2205
|
...SUserAccountRelationsReqDocument.entries
|
|
2285
2206
|
});
|
|
2286
|
-
var SUserLimitationsDocumentWithRelations =
|
|
2287
|
-
|
|
2288
|
-
documentId: IsValidReferenceDocumentId,
|
|
2289
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2290
|
-
createdAt: v29__namespace.string(),
|
|
2291
|
-
updatedAt: v29__namespace.string(),
|
|
2207
|
+
var SUserLimitationsDocumentWithRelations = v45__namespace.object({
|
|
2208
|
+
...SBaseDocument.entries,
|
|
2292
2209
|
...SBaseUserLimitationsDocument.entries,
|
|
2293
2210
|
...SUserLimitationsRelationsDocument.entries
|
|
2294
2211
|
});
|
|
2295
|
-
var SUserDocumentWithRelations =
|
|
2296
|
-
|
|
2297
|
-
documentId: IsValidReferenceDocumentId,
|
|
2298
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2299
|
-
createdAt: v29__namespace.string(),
|
|
2300
|
-
updatedAt: v29__namespace.string(),
|
|
2212
|
+
var SUserDocumentWithRelations = v45__namespace.object({
|
|
2213
|
+
...SBaseDocument.entries,
|
|
2301
2214
|
...SBaseUserDocument.entries,
|
|
2302
2215
|
...SUserRelationsDocument.entries
|
|
2303
2216
|
});
|
|
2304
|
-
var SUserDocumentWithAccountRelations =
|
|
2305
|
-
|
|
2306
|
-
documentId: IsValidReferenceDocumentId,
|
|
2307
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2308
|
-
createdAt: v29__namespace.string(),
|
|
2309
|
-
updatedAt: v29__namespace.string(),
|
|
2217
|
+
var SUserDocumentWithAccountRelations = v45__namespace.object({
|
|
2218
|
+
...SBaseDocument.entries,
|
|
2310
2219
|
...SBaseUserDocument.entries,
|
|
2311
2220
|
...SUserRelationReqAccount.entries
|
|
2312
2221
|
});
|
|
2313
|
-
var SUserDocumentWithAccountAndRoleRelations =
|
|
2314
|
-
|
|
2315
|
-
documentId: IsValidReferenceDocumentId,
|
|
2316
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2317
|
-
createdAt: v29__namespace.string(),
|
|
2318
|
-
updatedAt: v29__namespace.string(),
|
|
2222
|
+
var SUserDocumentWithAccountAndRoleRelations = v45__namespace.object({
|
|
2223
|
+
...SBaseDocument.entries,
|
|
2319
2224
|
...SBaseUserDocument.entries,
|
|
2320
2225
|
...SUserRelationReqRole.entries,
|
|
2321
2226
|
...SUserRelationReqAccount.entries
|
|
2322
2227
|
});
|
|
2323
|
-
var SUserAuthorizationSuccessResponse =
|
|
2324
|
-
jwt:
|
|
2228
|
+
var SUserAuthorizationSuccessResponse = v45__namespace.object({
|
|
2229
|
+
jwt: v45__namespace.string(),
|
|
2325
2230
|
user: SUserDocumentWithAccountAndRoleRelations
|
|
2326
2231
|
});
|
|
2327
|
-
var SCampaignIdDocumentWithRelations =
|
|
2328
|
-
|
|
2329
|
-
documentId: IsValidReferenceDocumentId,
|
|
2330
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2331
|
-
createdAt: v29__namespace.string(),
|
|
2332
|
-
updatedAt: v29__namespace.string(),
|
|
2232
|
+
var SCampaignIdDocumentWithRelations = v45__namespace.object({
|
|
2233
|
+
...SBaseDocument.entries,
|
|
2333
2234
|
SBaseCampaignIdDocument,
|
|
2334
2235
|
SCampaignIdRelationsDocument
|
|
2335
2236
|
});
|
|
2336
|
-
var
|
|
2337
|
-
|
|
2338
|
-
documentId: IsValidReferenceDocumentId,
|
|
2339
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2340
|
-
createdAt: v29__namespace.string(),
|
|
2341
|
-
updatedAt: v29__namespace.string(),
|
|
2342
|
-
SBaseCampaignKeyDocument,
|
|
2343
|
-
SCampaignKeyRelationsDocument
|
|
2344
|
-
});
|
|
2345
|
-
var SCampaignPhaseDocumentWithRelations = v29__namespace.object({
|
|
2346
|
-
id: v29__namespace.number(),
|
|
2347
|
-
documentId: IsValidReferenceDocumentId,
|
|
2348
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2349
|
-
createdAt: v29__namespace.string(),
|
|
2350
|
-
updatedAt: v29__namespace.string(),
|
|
2237
|
+
var SCampaignPhaseDocumentWithRelations = v45__namespace.object({
|
|
2238
|
+
...SBaseDocument.entries,
|
|
2351
2239
|
SBaseCampaignPhaseDocument,
|
|
2352
2240
|
SCampaignPhaseRelationsDocument
|
|
2353
2241
|
});
|
|
2354
|
-
var SCampaignProductDocumentWithRelations =
|
|
2355
|
-
|
|
2356
|
-
documentId: IsValidReferenceDocumentId,
|
|
2357
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2358
|
-
createdAt: v29__namespace.string(),
|
|
2359
|
-
updatedAt: v29__namespace.string(),
|
|
2242
|
+
var SCampaignProductDocumentWithRelations = v45__namespace.object({
|
|
2243
|
+
...SBaseDocument.entries,
|
|
2360
2244
|
SBaseCampaignProductDocument,
|
|
2361
2245
|
SCampaignProductRelationsDocument
|
|
2362
2246
|
});
|
|
2363
|
-
var
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2247
|
+
var SCampaignTargetDocumentWithRelations = v45__namespace.object({
|
|
2248
|
+
...SBaseDocument.entries,
|
|
2249
|
+
SBaseCampaignTargetDocument,
|
|
2250
|
+
SCampaignTargetRelationsDocument
|
|
2251
|
+
});
|
|
2252
|
+
var SCampaignKeyDocumentWithRelations = v45__namespace.object({
|
|
2253
|
+
...SBaseDocument.entries,
|
|
2254
|
+
SBaseCampaignKeyDocument,
|
|
2255
|
+
SCampaignKeyRelationsDocument
|
|
2256
|
+
});
|
|
2257
|
+
var SSourceDocumentWithRelations = v45__namespace.object({
|
|
2258
|
+
...SBaseDocument.entries,
|
|
2369
2259
|
SBaseSourceDocument,
|
|
2370
2260
|
SSourceRelationsDocument
|
|
2371
2261
|
});
|
|
2372
|
-
var SMediumDocumentWithRelations =
|
|
2373
|
-
|
|
2374
|
-
documentId: IsValidReferenceDocumentId,
|
|
2375
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2376
|
-
createdAt: v29__namespace.string(),
|
|
2377
|
-
updatedAt: v29__namespace.string(),
|
|
2262
|
+
var SMediumDocumentWithRelations = v45__namespace.object({
|
|
2263
|
+
...SBaseDocument.entries,
|
|
2378
2264
|
SBaseMediumDocument,
|
|
2379
2265
|
SMediumRelationsDocument
|
|
2380
2266
|
});
|
|
2381
|
-
var SContentDocumentWithRelations =
|
|
2382
|
-
|
|
2383
|
-
documentId: IsValidReferenceDocumentId,
|
|
2384
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2385
|
-
createdAt: v29__namespace.string(),
|
|
2386
|
-
updatedAt: v29__namespace.string(),
|
|
2267
|
+
var SContentDocumentWithRelations = v45__namespace.object({
|
|
2268
|
+
...SBaseDocument.entries,
|
|
2387
2269
|
SBaseContentDocument,
|
|
2388
2270
|
SContentRelationsDocument
|
|
2389
2271
|
});
|
|
2390
|
-
var SCreativeFormatDocumentWithRelations =
|
|
2391
|
-
|
|
2392
|
-
documentId: IsValidReferenceDocumentId,
|
|
2393
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2394
|
-
createdAt: v29__namespace.string(),
|
|
2395
|
-
updatedAt: v29__namespace.string(),
|
|
2272
|
+
var SCreativeFormatDocumentWithRelations = v45__namespace.object({
|
|
2273
|
+
...SBaseDocument.entries,
|
|
2396
2274
|
SBaseCreativeFormatDocument,
|
|
2397
2275
|
SCreativeFormatRelationsDocument
|
|
2398
2276
|
});
|
|
2399
|
-
var SCreativeFormatVariantDocumentWithRelations =
|
|
2400
|
-
|
|
2401
|
-
documentId: IsValidReferenceDocumentId,
|
|
2402
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2403
|
-
createdAt: v29__namespace.string(),
|
|
2404
|
-
updatedAt: v29__namespace.string(),
|
|
2277
|
+
var SCreativeFormatVariantDocumentWithRelations = v45__namespace.object({
|
|
2278
|
+
...SBaseDocument.entries,
|
|
2405
2279
|
SBaseCreativeFormatVariantDocument,
|
|
2406
2280
|
SCreativeFormatVariantRelationsDocument
|
|
2407
2281
|
});
|
|
2408
|
-
var STermDocumentWithRelations =
|
|
2409
|
-
|
|
2410
|
-
documentId: IsValidReferenceDocumentId,
|
|
2411
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2412
|
-
createdAt: v29__namespace.string(),
|
|
2413
|
-
updatedAt: v29__namespace.string(),
|
|
2282
|
+
var STermDocumentWithRelations = v45__namespace.object({
|
|
2283
|
+
...SBaseDocument.entries,
|
|
2414
2284
|
SBaseTermDocument,
|
|
2415
2285
|
STermRelationsDocument
|
|
2416
2286
|
});
|
|
2417
|
-
var SWebsiteDocumentWithRelations =
|
|
2418
|
-
|
|
2419
|
-
documentId: IsValidReferenceDocumentId,
|
|
2420
|
-
publishedAt: v29__namespace.optional(v29__namespace.string()),
|
|
2421
|
-
createdAt: v29__namespace.string(),
|
|
2422
|
-
updatedAt: v29__namespace.string(),
|
|
2287
|
+
var SWebsiteDocumentWithRelations = v45__namespace.object({
|
|
2288
|
+
...SBaseDocument.entries,
|
|
2423
2289
|
...SBaseWebsiteDocument.entries,
|
|
2424
2290
|
...SWebsiteRelationsDocument.entries
|
|
2425
2291
|
});
|
|
@@ -3035,10 +2901,10 @@ function datePlusDays(today, days = 30) {
|
|
|
3035
2901
|
function validateAndClean(schema, input) {
|
|
3036
2902
|
var _a, _b;
|
|
3037
2903
|
try {
|
|
3038
|
-
const parsed =
|
|
2904
|
+
const parsed = v45__namespace.parse(schema, input);
|
|
3039
2905
|
return { data: parsed, error: null, errors: null };
|
|
3040
2906
|
} catch (err) {
|
|
3041
|
-
if (err instanceof
|
|
2907
|
+
if (err instanceof v45__namespace.ValiError) {
|
|
3042
2908
|
const errors = {};
|
|
3043
2909
|
for (const issue of err.issues) {
|
|
3044
2910
|
const field = ((_b = (_a = issue.path) == null ? void 0 : _a[0]) == null ? void 0 : _b.key) || "unknown";
|
|
@@ -3230,9 +3096,11 @@ exports.SBaseCampaignIdDocument = SBaseCampaignIdDocument;
|
|
|
3230
3096
|
exports.SBaseCampaignKeyDocument = SBaseCampaignKeyDocument;
|
|
3231
3097
|
exports.SBaseCampaignPhaseDocument = SBaseCampaignPhaseDocument;
|
|
3232
3098
|
exports.SBaseCampaignProductDocument = SBaseCampaignProductDocument;
|
|
3099
|
+
exports.SBaseCampaignTargetDocument = SBaseCampaignTargetDocument;
|
|
3233
3100
|
exports.SBaseContentDocument = SBaseContentDocument;
|
|
3234
3101
|
exports.SBaseCreativeFormatDocument = SBaseCreativeFormatDocument;
|
|
3235
3102
|
exports.SBaseCreativeFormatVariantDocument = SBaseCreativeFormatVariantDocument;
|
|
3103
|
+
exports.SBaseDocument = SBaseDocument;
|
|
3236
3104
|
exports.SBaseDocumentCreatedBy = SBaseDocumentCreatedBy;
|
|
3237
3105
|
exports.SBaseGroupDocument = SBaseGroupDocument;
|
|
3238
3106
|
exports.SBaseGroupUserDocument = SBaseGroupUserDocument;
|
|
@@ -3257,6 +3125,9 @@ exports.SCampaignPhaseRelationsDocument = SCampaignPhaseRelationsDocument;
|
|
|
3257
3125
|
exports.SCampaignProductDocument = SCampaignProductDocument;
|
|
3258
3126
|
exports.SCampaignProductDocumentWithRelations = SCampaignProductDocumentWithRelations;
|
|
3259
3127
|
exports.SCampaignProductRelationsDocument = SCampaignProductRelationsDocument;
|
|
3128
|
+
exports.SCampaignTargetDocument = SCampaignTargetDocument;
|
|
3129
|
+
exports.SCampaignTargetDocumentWithRelations = SCampaignTargetDocumentWithRelations;
|
|
3130
|
+
exports.SCampaignTargetRelationsDocument = SCampaignTargetRelationsDocument;
|
|
3260
3131
|
exports.SChangePassword = SChangePassword;
|
|
3261
3132
|
exports.SContentDocument = SContentDocument;
|
|
3262
3133
|
exports.SContentDocumentWithRelations = SContentDocumentWithRelations;
|