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