@ibiliaze/global-vars 1.137.0 → 1.139.0
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/ticketops/roles/admin.d.ts +13 -12
- package/dist/ticketops/roles/admin.js +130 -127
- package/dist/ticketops/roles/blog.d.ts +50 -1
- package/dist/ticketops/roles/blog.js +52 -7
- package/dist/ticketops/roles/campaign.d.ts +90 -1
- package/dist/ticketops/roles/campaign.js +84 -10
- package/dist/ticketops/roles/category.d.ts +50 -1
- package/dist/ticketops/roles/category.js +52 -7
- package/dist/ticketops/roles/event.d.ts +87 -1
- package/dist/ticketops/roles/event.js +81 -11
- package/dist/ticketops/roles/fixture.d.ts +50 -1
- package/dist/ticketops/roles/fixture.js +47 -7
- package/dist/ticketops/roles/flow.d.ts +58 -1
- package/dist/ticketops/roles/flow.js +55 -8
- package/dist/ticketops/roles/group.d.ts +51 -1
- package/dist/ticketops/roles/group.js +47 -7
- package/dist/ticketops/roles/job.d.ts +85 -1
- package/dist/ticketops/roles/job.js +73 -10
- package/dist/ticketops/roles/log.d.ts +29 -1
- package/dist/ticketops/roles/log.js +30 -5
- package/dist/ticketops/roles/notification.d.ts +59 -1
- package/dist/ticketops/roles/notification.js +55 -8
- package/dist/ticketops/roles/page.d.ts +59 -1
- package/dist/ticketops/roles/page.js +56 -8
- package/dist/ticketops/roles/product.d.ts +50 -1
- package/dist/ticketops/roles/product.js +47 -7
- package/dist/ticketops/roles/prospect.d.ts +90 -1
- package/dist/ticketops/roles/prospect.js +82 -11
- package/dist/ticketops/roles.d.ts +1590 -26
- package/dist/ticketops/roles.js +28 -28
- package/package.json +2 -2
|
@@ -142,7 +142,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
142
142
|
readonly role: "postAdminToken";
|
|
143
143
|
readonly name: "Login admin";
|
|
144
144
|
readonly response_200: {
|
|
145
|
-
admin:
|
|
145
|
+
admin: import("./inputsDefault").AdminBase<TId_2, TDate_2>;
|
|
146
146
|
message: string;
|
|
147
147
|
};
|
|
148
148
|
readonly response_401: {
|
|
@@ -185,7 +185,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
185
185
|
readonly role: "postAdminLogout";
|
|
186
186
|
readonly name: "Logout admin";
|
|
187
187
|
readonly response_200: {
|
|
188
|
-
admin:
|
|
188
|
+
admin: import("./inputsDefault").AdminBase<TId_2, TDate_2>;
|
|
189
189
|
message: string;
|
|
190
190
|
};
|
|
191
191
|
readonly response_500: {
|
|
@@ -198,7 +198,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
198
198
|
readonly role: "postAdminLogoutAll";
|
|
199
199
|
readonly name: "Logout all sessions";
|
|
200
200
|
readonly response_200: {
|
|
201
|
-
admin:
|
|
201
|
+
admin: import("./inputsDefault").AdminBase<TId_2, TDate_2>;
|
|
202
202
|
message: string;
|
|
203
203
|
};
|
|
204
204
|
readonly response_500: {
|
|
@@ -211,7 +211,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
211
211
|
readonly role: "postAdminLogoutBySessionId";
|
|
212
212
|
readonly name: "Logout session by ID";
|
|
213
213
|
readonly response_200: {
|
|
214
|
-
admin:
|
|
214
|
+
admin: import("./inputsDefault").AdminBase<TId_2, TDate_2>;
|
|
215
215
|
message: string;
|
|
216
216
|
};
|
|
217
217
|
readonly response_500: {
|
|
@@ -224,7 +224,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
224
224
|
readonly role: "getAdmin";
|
|
225
225
|
readonly name: "Get admin";
|
|
226
226
|
readonly response_200: {
|
|
227
|
-
admin:
|
|
227
|
+
admin: import("./inputsDefault").AdminBase<TId_2, TDate_2>;
|
|
228
228
|
};
|
|
229
229
|
readonly response_500: {
|
|
230
230
|
message: string;
|
|
@@ -249,7 +249,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
249
249
|
readonly role: "getAdminPublic";
|
|
250
250
|
readonly name: "Get public admin";
|
|
251
251
|
readonly response_200: {
|
|
252
|
-
admin: Partial<
|
|
252
|
+
admin: Partial<import("./inputsDefault").AdminBase<TId_2, TDate_2>>;
|
|
253
253
|
};
|
|
254
254
|
readonly response_400: {
|
|
255
255
|
message: string;
|
|
@@ -267,11 +267,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
267
267
|
readonly role: "putAdmin";
|
|
268
268
|
readonly name: "Update admin";
|
|
269
269
|
readonly response_200: {
|
|
270
|
-
admin:
|
|
270
|
+
admin: import("./inputsDefault").AdminBase<TId_2, TDate_2>;
|
|
271
271
|
message: string;
|
|
272
272
|
};
|
|
273
273
|
readonly response_404: {
|
|
274
|
-
admin:
|
|
274
|
+
admin: import("./inputsDefault").AdminBase<TId_2, TDate_2> | null;
|
|
275
275
|
message: string;
|
|
276
276
|
};
|
|
277
277
|
readonly response_500: {
|
|
@@ -284,11 +284,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
284
284
|
readonly role: "putAdminPassword";
|
|
285
285
|
readonly name: "Update admin password";
|
|
286
286
|
readonly response_200: {
|
|
287
|
-
admin:
|
|
287
|
+
admin: import("./inputsDefault").AdminBase<TId_2, TDate_2>;
|
|
288
288
|
message: string;
|
|
289
289
|
};
|
|
290
290
|
readonly response_404: {
|
|
291
|
-
admin:
|
|
291
|
+
admin: import("./inputsDefault").AdminBase<TId_2, TDate_2> | null;
|
|
292
292
|
message: string;
|
|
293
293
|
};
|
|
294
294
|
readonly response_500: {
|
|
@@ -301,7 +301,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
301
301
|
readonly role: "deleteAdmin";
|
|
302
302
|
readonly name: "Delete admin";
|
|
303
303
|
readonly response_200: {
|
|
304
|
-
admin:
|
|
304
|
+
admin: import("./inputsDefault").AdminBase<TId_2, TDate_2>;
|
|
305
305
|
message: string;
|
|
306
306
|
};
|
|
307
307
|
readonly response_500: {
|
|
@@ -313,91 +313,275 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
313
313
|
readonly path: "/blog";
|
|
314
314
|
readonly role: "postBlog";
|
|
315
315
|
readonly name: "Create blog";
|
|
316
|
+
readonly response_201: {
|
|
317
|
+
blog: import("./inputsDefault").BlogBase<TId_3, TDate_3>;
|
|
318
|
+
message: string;
|
|
319
|
+
};
|
|
320
|
+
readonly response_500: {
|
|
321
|
+
message: string;
|
|
322
|
+
error: string;
|
|
323
|
+
};
|
|
316
324
|
}, {
|
|
317
325
|
readonly method: "get";
|
|
318
326
|
readonly path: "/blog";
|
|
319
327
|
readonly role: "getBlogs";
|
|
320
328
|
readonly name: "Get blogs";
|
|
329
|
+
readonly response_200: {
|
|
330
|
+
blogs: import("./inputsDefault").BlogBase<TId_3, TDate_3>[];
|
|
331
|
+
count: number;
|
|
332
|
+
};
|
|
333
|
+
readonly response_500: {
|
|
334
|
+
message: string;
|
|
335
|
+
error: string;
|
|
336
|
+
};
|
|
321
337
|
}, {
|
|
322
338
|
readonly method: "get";
|
|
323
339
|
readonly path: "/blog/:id";
|
|
324
340
|
readonly role: "getBlogById";
|
|
325
341
|
readonly name: "Get blog";
|
|
342
|
+
readonly response_200: {
|
|
343
|
+
blog: import("./inputsDefault").BlogBase<TId_3, TDate_3> | null;
|
|
344
|
+
message: string;
|
|
345
|
+
};
|
|
346
|
+
readonly response_404: {
|
|
347
|
+
message: string;
|
|
348
|
+
error: string;
|
|
349
|
+
};
|
|
326
350
|
}, {
|
|
327
351
|
readonly method: "put";
|
|
328
352
|
readonly path: "/blog/:id";
|
|
329
353
|
readonly role: "putBlogById";
|
|
330
354
|
readonly name: "Update blog";
|
|
355
|
+
readonly response_200: {
|
|
356
|
+
blog: import("./inputsDefault").BlogBase<TId_3, TDate_3>;
|
|
357
|
+
message: string;
|
|
358
|
+
};
|
|
359
|
+
readonly response_404: {
|
|
360
|
+
blog: import("./inputsDefault").BlogBase<TId_3, TDate_3> | null;
|
|
361
|
+
message: string;
|
|
362
|
+
};
|
|
363
|
+
readonly response_500: {
|
|
364
|
+
message: string;
|
|
365
|
+
error: string;
|
|
366
|
+
};
|
|
331
367
|
}, {
|
|
332
368
|
readonly method: "delete";
|
|
333
369
|
readonly path: "/blog/:id";
|
|
334
370
|
readonly role: "deleteBlogById";
|
|
335
371
|
readonly name: "Delete blog";
|
|
372
|
+
readonly response_200: {
|
|
373
|
+
blog: import("./inputsDefault").BlogBase<TId_3, TDate_3>;
|
|
374
|
+
message: string;
|
|
375
|
+
};
|
|
376
|
+
readonly response_404: {
|
|
377
|
+
blog: import("./inputsDefault").BlogBase<TId_3, TDate_3> | null;
|
|
378
|
+
message: string;
|
|
379
|
+
};
|
|
380
|
+
readonly response_500: {
|
|
381
|
+
message: string;
|
|
382
|
+
error: string;
|
|
383
|
+
};
|
|
336
384
|
}, {
|
|
337
385
|
readonly method: "post";
|
|
338
386
|
readonly path: "/campaign";
|
|
339
387
|
readonly role: "postCampaign";
|
|
340
388
|
readonly name: "Create campaign";
|
|
389
|
+
readonly response_201: {
|
|
390
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4>;
|
|
391
|
+
message: string;
|
|
392
|
+
};
|
|
393
|
+
readonly response_500: {
|
|
394
|
+
message: string;
|
|
395
|
+
error: string;
|
|
396
|
+
};
|
|
341
397
|
}, {
|
|
342
398
|
readonly method: "post";
|
|
343
399
|
readonly path: "/campaign/start/:id";
|
|
344
400
|
readonly role: "postCampaignStartById";
|
|
345
401
|
readonly name: "Start campaign by ID";
|
|
402
|
+
readonly response_200: {
|
|
403
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4>;
|
|
404
|
+
message: string;
|
|
405
|
+
};
|
|
406
|
+
readonly response_400: {
|
|
407
|
+
message: string;
|
|
408
|
+
};
|
|
409
|
+
readonly response_401: {
|
|
410
|
+
message: string;
|
|
411
|
+
};
|
|
412
|
+
readonly response_404: {
|
|
413
|
+
message: string;
|
|
414
|
+
};
|
|
415
|
+
readonly response_500: {
|
|
416
|
+
message: string;
|
|
417
|
+
error: string;
|
|
418
|
+
};
|
|
346
419
|
}, {
|
|
347
420
|
readonly method: "post";
|
|
348
421
|
readonly path: "/campaign/stop/:id";
|
|
349
422
|
readonly role: "postCampaignStopById";
|
|
350
423
|
readonly name: "Stop campaign by ID";
|
|
424
|
+
readonly response_200: {
|
|
425
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4>;
|
|
426
|
+
message: string;
|
|
427
|
+
};
|
|
428
|
+
readonly response_404: {
|
|
429
|
+
message: string;
|
|
430
|
+
};
|
|
431
|
+
readonly response_500: {
|
|
432
|
+
message: string;
|
|
433
|
+
error: string;
|
|
434
|
+
};
|
|
351
435
|
}, {
|
|
352
436
|
readonly method: "get";
|
|
353
437
|
readonly path: "/campaign";
|
|
354
438
|
readonly role: "getCampaigns";
|
|
355
439
|
readonly name: "Get campaigns";
|
|
440
|
+
readonly response_200: {
|
|
441
|
+
campaigns: import("./inputsDefault").CampaignBase<TId_4, TDate_4>[];
|
|
442
|
+
count: number;
|
|
443
|
+
};
|
|
444
|
+
readonly response_500: {
|
|
445
|
+
message: string;
|
|
446
|
+
error: string;
|
|
447
|
+
};
|
|
356
448
|
}, {
|
|
357
449
|
readonly method: "get";
|
|
358
450
|
readonly path: "/campaign/insight/:id";
|
|
359
451
|
readonly role: "getCampaignInsightById";
|
|
360
452
|
readonly name: "Get campaign insight";
|
|
453
|
+
readonly response_200: {
|
|
454
|
+
stages: (import("./inputsDefault").CampaignStageBase<TId_4> & {
|
|
455
|
+
stageId: string;
|
|
456
|
+
}[]) | null;
|
|
457
|
+
};
|
|
458
|
+
readonly response_400: {
|
|
459
|
+
message: string;
|
|
460
|
+
};
|
|
461
|
+
readonly response_500: {
|
|
462
|
+
message: string;
|
|
463
|
+
error?: string;
|
|
464
|
+
};
|
|
361
465
|
}, {
|
|
362
466
|
readonly method: "get";
|
|
363
467
|
readonly path: "/campaign/:id";
|
|
364
468
|
readonly role: "getCampaignById";
|
|
365
469
|
readonly name: "Get campaign";
|
|
470
|
+
readonly response_200: {
|
|
471
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4> | null;
|
|
472
|
+
message: string;
|
|
473
|
+
};
|
|
474
|
+
readonly response_404: {
|
|
475
|
+
message: string;
|
|
476
|
+
error: string;
|
|
477
|
+
};
|
|
366
478
|
}, {
|
|
367
479
|
readonly method: "put";
|
|
368
480
|
readonly path: "/campaign/:id";
|
|
369
481
|
readonly role: "putCampaignById";
|
|
370
482
|
readonly name: "Update campaign";
|
|
483
|
+
readonly response_200: {
|
|
484
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4>;
|
|
485
|
+
message: string;
|
|
486
|
+
};
|
|
487
|
+
readonly response_404: {
|
|
488
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4> | null;
|
|
489
|
+
message: string;
|
|
490
|
+
};
|
|
491
|
+
readonly response_500: {
|
|
492
|
+
message: string;
|
|
493
|
+
error: string;
|
|
494
|
+
};
|
|
371
495
|
}, {
|
|
372
496
|
readonly method: "delete";
|
|
373
497
|
readonly path: "/campaign/:id";
|
|
374
498
|
readonly role: "deleteCampaignById";
|
|
375
499
|
readonly name: "Delete campaign";
|
|
500
|
+
readonly response_200: {
|
|
501
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4>;
|
|
502
|
+
message: string;
|
|
503
|
+
};
|
|
504
|
+
readonly response_404: {
|
|
505
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4> | null;
|
|
506
|
+
message: string;
|
|
507
|
+
};
|
|
508
|
+
readonly response_500: {
|
|
509
|
+
message: string;
|
|
510
|
+
error: string;
|
|
511
|
+
};
|
|
376
512
|
}, {
|
|
377
513
|
readonly method: "post";
|
|
378
514
|
readonly path: "/category";
|
|
379
515
|
readonly role: "postCategory";
|
|
380
516
|
readonly name: "Create category";
|
|
517
|
+
readonly response_201: {
|
|
518
|
+
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5>;
|
|
519
|
+
message: string;
|
|
520
|
+
};
|
|
521
|
+
readonly response_500: {
|
|
522
|
+
message: string;
|
|
523
|
+
error: string;
|
|
524
|
+
};
|
|
381
525
|
}, {
|
|
382
526
|
readonly method: "get";
|
|
383
527
|
readonly path: "/category";
|
|
384
528
|
readonly role: "getCategories";
|
|
385
529
|
readonly name: "Get categories";
|
|
530
|
+
readonly response_200: {
|
|
531
|
+
categories: import("./inputsDefault").CategoryBase<TId_5, TDate_5>[];
|
|
532
|
+
count: number;
|
|
533
|
+
};
|
|
534
|
+
readonly response_500: {
|
|
535
|
+
message: string;
|
|
536
|
+
error: string;
|
|
537
|
+
};
|
|
386
538
|
}, {
|
|
387
539
|
readonly method: "get";
|
|
388
540
|
readonly path: "/category/:id";
|
|
389
541
|
readonly role: "getCategoryById";
|
|
390
542
|
readonly name: "Get category";
|
|
543
|
+
readonly response_200: {
|
|
544
|
+
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5> | null;
|
|
545
|
+
message: string;
|
|
546
|
+
};
|
|
547
|
+
readonly response_404: {
|
|
548
|
+
message: string;
|
|
549
|
+
error: string;
|
|
550
|
+
};
|
|
391
551
|
}, {
|
|
392
552
|
readonly method: "put";
|
|
393
553
|
readonly path: "/category/:id";
|
|
394
554
|
readonly role: "putCategoryById";
|
|
395
555
|
readonly name: "Update category";
|
|
556
|
+
readonly response_200: {
|
|
557
|
+
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5>;
|
|
558
|
+
message: string;
|
|
559
|
+
};
|
|
560
|
+
readonly response_404: {
|
|
561
|
+
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5> | null;
|
|
562
|
+
message: string;
|
|
563
|
+
};
|
|
564
|
+
readonly response_500: {
|
|
565
|
+
message: string;
|
|
566
|
+
error: string;
|
|
567
|
+
};
|
|
396
568
|
}, {
|
|
397
569
|
readonly method: "delete";
|
|
398
570
|
readonly path: "/category/:id";
|
|
399
571
|
readonly role: "deleteCategoryById";
|
|
400
572
|
readonly name: "Delete category";
|
|
573
|
+
readonly response_200: {
|
|
574
|
+
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5>;
|
|
575
|
+
message: string;
|
|
576
|
+
};
|
|
577
|
+
readonly response_404: {
|
|
578
|
+
category: import("./inputsDefault").CategoryBase<TId_5, TDate_5> | null;
|
|
579
|
+
message: string;
|
|
580
|
+
};
|
|
581
|
+
readonly response_500: {
|
|
582
|
+
message: string;
|
|
583
|
+
error: string;
|
|
584
|
+
};
|
|
401
585
|
}, {
|
|
402
586
|
readonly method: "post";
|
|
403
587
|
readonly path: "/email";
|
|
@@ -418,46 +602,131 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
418
602
|
readonly path: "/event/book";
|
|
419
603
|
readonly role: "postEventBook";
|
|
420
604
|
readonly name: "Book event";
|
|
605
|
+
readonly response_201: {
|
|
606
|
+
event: import("./inputsDefault").EventBase<TId_6, TDate_6>;
|
|
607
|
+
message: string;
|
|
608
|
+
};
|
|
609
|
+
readonly response_400: {
|
|
610
|
+
message: string;
|
|
611
|
+
};
|
|
612
|
+
readonly response_500: {
|
|
613
|
+
message: string;
|
|
614
|
+
error: string;
|
|
615
|
+
};
|
|
421
616
|
}, {
|
|
422
617
|
readonly method: "post";
|
|
423
618
|
readonly path: "/event";
|
|
424
619
|
readonly role: "postEvent";
|
|
425
620
|
readonly name: "Create event";
|
|
621
|
+
readonly response_201: {
|
|
622
|
+
event: import("./inputsDefault").EventBase<TId_6, TDate_6>;
|
|
623
|
+
message: string;
|
|
624
|
+
};
|
|
625
|
+
readonly response_500: {
|
|
626
|
+
message: string;
|
|
627
|
+
error: string;
|
|
628
|
+
};
|
|
426
629
|
}, {
|
|
427
630
|
readonly method: "post";
|
|
428
631
|
readonly path: "/events";
|
|
429
632
|
readonly role: "postEvents";
|
|
430
633
|
readonly name: "Create many events";
|
|
634
|
+
readonly response_201: {
|
|
635
|
+
events: import("./inputsDefault").EventBase<TId_6, TDate_6>[];
|
|
636
|
+
message: string;
|
|
637
|
+
};
|
|
638
|
+
readonly response_500: {
|
|
639
|
+
message: string;
|
|
640
|
+
error: string;
|
|
641
|
+
};
|
|
431
642
|
}, {
|
|
432
643
|
readonly method: "post";
|
|
433
644
|
readonly path: "/event/book/cancel";
|
|
434
645
|
readonly role: "postEventBookCancel";
|
|
435
646
|
readonly name: "Request booking cancel";
|
|
647
|
+
readonly response_200: {
|
|
648
|
+
message: string;
|
|
649
|
+
};
|
|
650
|
+
readonly response_400: {
|
|
651
|
+
message: string;
|
|
652
|
+
};
|
|
653
|
+
readonly response_500: {
|
|
654
|
+
message: string;
|
|
655
|
+
error: string;
|
|
656
|
+
};
|
|
436
657
|
}, {
|
|
437
658
|
readonly method: "get";
|
|
438
659
|
readonly path: "/event";
|
|
439
660
|
readonly role: "getEvents";
|
|
440
661
|
readonly name: "Get events";
|
|
662
|
+
readonly response_200: {
|
|
663
|
+
events: import("./inputsDefault").EventBase<TId_6, TDate_6>[];
|
|
664
|
+
count: number;
|
|
665
|
+
};
|
|
666
|
+
readonly response_500: {
|
|
667
|
+
message: string;
|
|
668
|
+
error: string;
|
|
669
|
+
};
|
|
441
670
|
}, {
|
|
442
671
|
readonly method: "get";
|
|
443
672
|
readonly path: "/event/:id";
|
|
444
673
|
readonly role: "getEventById";
|
|
445
674
|
readonly name: "Get event";
|
|
675
|
+
readonly response_200: {
|
|
676
|
+
event: import("./inputsDefault").EventBase<TId_6, TDate_6> | null;
|
|
677
|
+
message: string;
|
|
678
|
+
};
|
|
679
|
+
readonly response_404: {
|
|
680
|
+
message: string;
|
|
681
|
+
error: string;
|
|
682
|
+
};
|
|
446
683
|
}, {
|
|
447
684
|
readonly method: "put";
|
|
448
685
|
readonly path: "/event/:id";
|
|
449
686
|
readonly role: "putEventById";
|
|
450
687
|
readonly name: "Update event";
|
|
688
|
+
readonly response_200: {
|
|
689
|
+
event: import("./inputsDefault").EventBase<TId_6, TDate_6>;
|
|
690
|
+
message: string;
|
|
691
|
+
};
|
|
692
|
+
readonly response_404: {
|
|
693
|
+
event: import("./inputsDefault").EventBase<TId_6, TDate_6> | null;
|
|
694
|
+
message: string;
|
|
695
|
+
};
|
|
696
|
+
readonly response_500: {
|
|
697
|
+
message: string;
|
|
698
|
+
error: string;
|
|
699
|
+
};
|
|
451
700
|
}, {
|
|
452
701
|
readonly method: "delete";
|
|
453
702
|
readonly path: "/events";
|
|
454
703
|
readonly role: "deleteEvents";
|
|
455
704
|
readonly name: "Delete many events";
|
|
705
|
+
readonly response_200: {
|
|
706
|
+
deletedCount: number;
|
|
707
|
+
message: string;
|
|
708
|
+
};
|
|
709
|
+
readonly response_500: {
|
|
710
|
+
message: string;
|
|
711
|
+
error: string;
|
|
712
|
+
};
|
|
456
713
|
}, {
|
|
457
714
|
readonly method: "delete";
|
|
458
715
|
readonly path: "/event/:id";
|
|
459
716
|
readonly role: "deleteEventById";
|
|
460
717
|
readonly name: "Delete event";
|
|
718
|
+
readonly response_200: {
|
|
719
|
+
event: import("./inputsDefault").EventBase<TId_6, TDate_6>;
|
|
720
|
+
message: string;
|
|
721
|
+
};
|
|
722
|
+
readonly response_404: {
|
|
723
|
+
event: import("./inputsDefault").EventBase<TId_6, TDate_6> | null;
|
|
724
|
+
message: string;
|
|
725
|
+
};
|
|
726
|
+
readonly response_500: {
|
|
727
|
+
message: string;
|
|
728
|
+
error: string;
|
|
729
|
+
};
|
|
461
730
|
}, {
|
|
462
731
|
readonly method: "get";
|
|
463
732
|
readonly path: "/fail";
|
|
@@ -483,266 +752,779 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
483
752
|
readonly path: "/flow";
|
|
484
753
|
readonly role: "postFlow";
|
|
485
754
|
readonly name: "Create flow";
|
|
755
|
+
readonly response_201: {
|
|
756
|
+
flow: import("./inputsDefault").FlowBase<TId_7, TDate_7>;
|
|
757
|
+
message: string;
|
|
758
|
+
};
|
|
759
|
+
readonly response_500: {
|
|
760
|
+
message: string;
|
|
761
|
+
error: string;
|
|
762
|
+
};
|
|
486
763
|
}, {
|
|
487
764
|
readonly method: "get";
|
|
488
765
|
readonly path: "/flow";
|
|
489
766
|
readonly role: "getFlows";
|
|
490
767
|
readonly name: "Get flows";
|
|
768
|
+
readonly response_200: {
|
|
769
|
+
flows: import("./inputsDefault").FlowBase<TId_7, TDate_7>[];
|
|
770
|
+
count: number;
|
|
771
|
+
};
|
|
772
|
+
readonly response_500: {
|
|
773
|
+
message: string;
|
|
774
|
+
error: string;
|
|
775
|
+
};
|
|
491
776
|
}, {
|
|
492
777
|
readonly method: "get";
|
|
493
778
|
readonly path: "/flow/api";
|
|
494
779
|
readonly role: "getFlowApis";
|
|
495
780
|
readonly name: "Get APIs";
|
|
781
|
+
readonly response_200: {
|
|
782
|
+
apis: unknown;
|
|
783
|
+
};
|
|
784
|
+
readonly response_500: {
|
|
785
|
+
message: string;
|
|
786
|
+
error: string;
|
|
787
|
+
};
|
|
496
788
|
}, {
|
|
497
789
|
readonly method: "get";
|
|
498
790
|
readonly path: "/flow/:id";
|
|
499
791
|
readonly role: "getFlowById";
|
|
500
792
|
readonly name: "Get flow";
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
793
|
+
readonly response_200: {
|
|
794
|
+
flow: import("./inputsDefault").FlowBase<TId_7, TDate_7> | null;
|
|
795
|
+
message: string;
|
|
796
|
+
};
|
|
797
|
+
readonly response_404: {
|
|
798
|
+
message: string;
|
|
799
|
+
error: string;
|
|
800
|
+
};
|
|
801
|
+
}, {
|
|
802
|
+
readonly method: "put";
|
|
803
|
+
readonly path: "/flow/:id";
|
|
804
|
+
readonly role: "putFlowById";
|
|
505
805
|
readonly name: "Update flow";
|
|
806
|
+
readonly response_200: {
|
|
807
|
+
flow: import("./inputsDefault").FlowBase<TId_7, TDate_7>;
|
|
808
|
+
message: string;
|
|
809
|
+
};
|
|
810
|
+
readonly response_404: {
|
|
811
|
+
flow: import("./inputsDefault").FlowBase<TId_7, TDate_7> | null;
|
|
812
|
+
message: string;
|
|
813
|
+
error?: string;
|
|
814
|
+
};
|
|
815
|
+
readonly response_500: {
|
|
816
|
+
message: string;
|
|
817
|
+
error: string;
|
|
818
|
+
};
|
|
506
819
|
}, {
|
|
507
820
|
readonly method: "delete";
|
|
508
821
|
readonly path: "/flow/:id";
|
|
509
822
|
readonly role: "deleteFlowById";
|
|
510
823
|
readonly name: "Delete flow";
|
|
824
|
+
readonly response_200: {
|
|
825
|
+
flow: import("./inputsDefault").FlowBase<TId_7, TDate_7>;
|
|
826
|
+
message: string;
|
|
827
|
+
};
|
|
828
|
+
readonly response_404: {
|
|
829
|
+
flow: import("./inputsDefault").FlowBase<TId_7, TDate_7> | null;
|
|
830
|
+
message: string;
|
|
831
|
+
};
|
|
832
|
+
readonly response_500: {
|
|
833
|
+
message: string;
|
|
834
|
+
error: string;
|
|
835
|
+
};
|
|
511
836
|
}, {
|
|
512
837
|
readonly method: "post";
|
|
513
838
|
readonly path: "/fixture";
|
|
514
839
|
readonly role: "postFixture";
|
|
515
840
|
readonly name: "Create fixture";
|
|
841
|
+
readonly response_201: {
|
|
842
|
+
fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8>;
|
|
843
|
+
message: string;
|
|
844
|
+
};
|
|
845
|
+
readonly response_500: {
|
|
846
|
+
message: string;
|
|
847
|
+
error: string;
|
|
848
|
+
};
|
|
516
849
|
}, {
|
|
517
850
|
readonly method: "get";
|
|
518
851
|
readonly path: "/fixture";
|
|
519
852
|
readonly role: "getFixtures";
|
|
520
853
|
readonly name: "Get fixtures";
|
|
854
|
+
readonly response_200: {
|
|
855
|
+
fixtures: import("./inputsDefault").FixtureBase<TId_8, TDate_8>[];
|
|
856
|
+
count: number;
|
|
857
|
+
};
|
|
858
|
+
readonly response_500: {
|
|
859
|
+
message: string;
|
|
860
|
+
error: string;
|
|
861
|
+
};
|
|
521
862
|
}, {
|
|
522
863
|
readonly method: "get";
|
|
523
864
|
readonly path: "/fixture/:id";
|
|
524
865
|
readonly role: "getFixtureById";
|
|
525
866
|
readonly name: "Get fixture";
|
|
867
|
+
readonly response_200: {
|
|
868
|
+
fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8> | null;
|
|
869
|
+
message: string;
|
|
870
|
+
};
|
|
871
|
+
readonly response_404: {
|
|
872
|
+
message: string;
|
|
873
|
+
error: string;
|
|
874
|
+
};
|
|
526
875
|
}, {
|
|
527
876
|
readonly method: "put";
|
|
528
877
|
readonly path: "/fixture/:id";
|
|
529
878
|
readonly role: "putFixtureById";
|
|
530
879
|
readonly name: "Update fixture";
|
|
880
|
+
readonly response_200: {
|
|
881
|
+
fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8>;
|
|
882
|
+
message: string;
|
|
883
|
+
};
|
|
884
|
+
readonly response_404: {
|
|
885
|
+
fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8> | null;
|
|
886
|
+
message: string;
|
|
887
|
+
};
|
|
888
|
+
readonly response_500: {
|
|
889
|
+
message: string;
|
|
890
|
+
error: string;
|
|
891
|
+
};
|
|
531
892
|
}, {
|
|
532
893
|
readonly method: "delete";
|
|
533
894
|
readonly path: "/fixture/:id";
|
|
534
895
|
readonly role: "deleteFixtureById";
|
|
535
896
|
readonly name: "Delete fixture";
|
|
897
|
+
readonly response_200: {
|
|
898
|
+
fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8>;
|
|
899
|
+
message: string;
|
|
900
|
+
};
|
|
901
|
+
readonly response_404: {
|
|
902
|
+
fixture: import("./inputsDefault").FixtureBase<TId_8, TDate_8> | null;
|
|
903
|
+
message: string;
|
|
904
|
+
};
|
|
905
|
+
readonly response_500: {
|
|
906
|
+
message: string;
|
|
907
|
+
error: string;
|
|
908
|
+
};
|
|
536
909
|
}, {
|
|
537
910
|
readonly method: "post";
|
|
538
911
|
readonly path: "/group";
|
|
539
912
|
readonly role: "postGroup";
|
|
540
913
|
readonly name: "Create group";
|
|
914
|
+
readonly response_201: {
|
|
915
|
+
group: import("./inputsDefault").GroupBase<TId_9, TDate_9>;
|
|
916
|
+
message: string;
|
|
917
|
+
};
|
|
918
|
+
readonly response_500: {
|
|
919
|
+
message: string;
|
|
920
|
+
error: string;
|
|
921
|
+
};
|
|
541
922
|
}, {
|
|
542
923
|
readonly method: "get";
|
|
543
924
|
readonly path: "/group";
|
|
544
925
|
readonly role: "getGroups";
|
|
545
926
|
readonly name: "Get groups";
|
|
927
|
+
readonly response_200: {
|
|
928
|
+
groups: import("./inputsDefault").GroupBase<TId_9, TDate_9>[];
|
|
929
|
+
count: number;
|
|
930
|
+
};
|
|
931
|
+
readonly response_500: {
|
|
932
|
+
message: string;
|
|
933
|
+
error: string;
|
|
934
|
+
};
|
|
546
935
|
}, {
|
|
547
936
|
readonly method: "get";
|
|
548
937
|
readonly path: "/group/:id";
|
|
549
938
|
readonly role: "getGroupById";
|
|
550
939
|
readonly name: "Get group";
|
|
940
|
+
readonly response_200: {
|
|
941
|
+
group: import("./inputsDefault").GroupBase<TId_9, TDate_9> | null;
|
|
942
|
+
message: string;
|
|
943
|
+
};
|
|
944
|
+
readonly response_404: {
|
|
945
|
+
message: string;
|
|
946
|
+
error: string;
|
|
947
|
+
};
|
|
551
948
|
}, {
|
|
552
949
|
readonly method: "put";
|
|
553
950
|
readonly path: "/group/:id";
|
|
554
951
|
readonly role: "putGroupById";
|
|
555
952
|
readonly name: "Update group";
|
|
953
|
+
readonly response_200: {
|
|
954
|
+
group: import("./inputsDefault").GroupBase<TId_9, TDate_9>;
|
|
955
|
+
message: string;
|
|
956
|
+
};
|
|
957
|
+
readonly response_404: {
|
|
958
|
+
group?: import("./inputsDefault").GroupBase<TId_9, TDate_9> | null;
|
|
959
|
+
message: string;
|
|
960
|
+
error?: string;
|
|
961
|
+
};
|
|
962
|
+
readonly response_500: {
|
|
963
|
+
message: string;
|
|
964
|
+
error: string;
|
|
965
|
+
};
|
|
556
966
|
}, {
|
|
557
967
|
readonly method: "delete";
|
|
558
968
|
readonly path: "/group/:id";
|
|
559
969
|
readonly role: "deleteGroupById";
|
|
560
970
|
readonly name: "Delete group";
|
|
971
|
+
readonly response_200: {
|
|
972
|
+
group: import("./inputsDefault").GroupBase<TId_9, TDate_9>;
|
|
973
|
+
message: string;
|
|
974
|
+
};
|
|
975
|
+
readonly response_404: {
|
|
976
|
+
group?: import("./inputsDefault").GroupBase<TId_9, TDate_9> | null;
|
|
977
|
+
message: string;
|
|
978
|
+
};
|
|
979
|
+
readonly response_500: {
|
|
980
|
+
message: string;
|
|
981
|
+
error: string;
|
|
982
|
+
};
|
|
561
983
|
}, {
|
|
562
984
|
readonly method: "post";
|
|
563
985
|
readonly path: "/job";
|
|
564
986
|
readonly role: "postJob";
|
|
565
987
|
readonly name: "Create job";
|
|
988
|
+
readonly response_201: {
|
|
989
|
+
job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
|
|
990
|
+
message: string;
|
|
991
|
+
};
|
|
992
|
+
readonly response_500: {
|
|
993
|
+
message: string;
|
|
994
|
+
error: string;
|
|
995
|
+
};
|
|
566
996
|
}, {
|
|
567
997
|
readonly method: "post";
|
|
568
998
|
readonly path: "/job/many";
|
|
569
999
|
readonly role: "postJobMany";
|
|
570
1000
|
readonly name: "Create many jobs";
|
|
1001
|
+
readonly response_201: {
|
|
1002
|
+
jobs: import("./inputsDefault").JobBase<TId_10, TDate_10>[];
|
|
1003
|
+
message: string;
|
|
1004
|
+
};
|
|
1005
|
+
readonly response_500: {
|
|
1006
|
+
message: string;
|
|
1007
|
+
error: string;
|
|
1008
|
+
};
|
|
571
1009
|
}, {
|
|
572
1010
|
readonly method: "post";
|
|
573
1011
|
readonly path: "/job/start/:id";
|
|
574
1012
|
readonly role: "postJobStartById";
|
|
575
1013
|
readonly name: "Run job by ID";
|
|
1014
|
+
readonly response_201: {
|
|
1015
|
+
job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
|
|
1016
|
+
message: string;
|
|
1017
|
+
};
|
|
1018
|
+
readonly response_404: {
|
|
1019
|
+
message: string;
|
|
1020
|
+
};
|
|
1021
|
+
readonly response_500: {
|
|
1022
|
+
message: string;
|
|
1023
|
+
error: string;
|
|
1024
|
+
};
|
|
576
1025
|
}, {
|
|
577
1026
|
readonly method: "get";
|
|
578
1027
|
readonly path: "/job";
|
|
579
1028
|
readonly role: "getJobs";
|
|
580
1029
|
readonly name: "Get jobs";
|
|
1030
|
+
readonly response_200: {
|
|
1031
|
+
jobs: import("./inputsDefault").JobBase<TId_10, TDate_10>[];
|
|
1032
|
+
count: number;
|
|
1033
|
+
};
|
|
1034
|
+
readonly response_500: {
|
|
1035
|
+
message: string;
|
|
1036
|
+
error: string;
|
|
1037
|
+
};
|
|
581
1038
|
}, {
|
|
582
1039
|
readonly method: "get";
|
|
583
1040
|
readonly path: "/job/:id";
|
|
584
1041
|
readonly role: "getJobById";
|
|
585
1042
|
readonly name: "Get job";
|
|
1043
|
+
readonly response_200: {
|
|
1044
|
+
job: import("./inputsDefault").JobBase<TId_10, TDate_10> | null;
|
|
1045
|
+
message: string;
|
|
1046
|
+
};
|
|
1047
|
+
readonly response_404: {
|
|
1048
|
+
message: string;
|
|
1049
|
+
error: string;
|
|
1050
|
+
};
|
|
586
1051
|
}, {
|
|
587
1052
|
readonly method: "get";
|
|
588
1053
|
readonly path: "/job/details/:id";
|
|
589
1054
|
readonly role: "getJobDetailsById";
|
|
590
1055
|
readonly name: "Get job details";
|
|
1056
|
+
readonly response_200: {
|
|
1057
|
+
job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
|
|
1058
|
+
campaign: import("./inputsDefault").CampaignBase<TId_10, TDate_10> | null;
|
|
1059
|
+
group: import("./inputsDefault").GroupBase<TId_10, TDate_10> | null;
|
|
1060
|
+
template: import("./inputsDefault").GroupBase<TId_10, TDate_10> | null;
|
|
1061
|
+
message: string;
|
|
1062
|
+
};
|
|
1063
|
+
readonly response_400: {
|
|
1064
|
+
job?: import("./inputsDefault").JobBase<TId_10, TDate_10> | null;
|
|
1065
|
+
message: string;
|
|
1066
|
+
};
|
|
1067
|
+
readonly response_404: {
|
|
1068
|
+
job?: import("./inputsDefault").JobBase<TId_10, TDate_10> | null;
|
|
1069
|
+
message: string;
|
|
1070
|
+
error: string;
|
|
1071
|
+
};
|
|
591
1072
|
}, {
|
|
592
1073
|
readonly method: "put";
|
|
593
1074
|
readonly path: "/job/:id";
|
|
594
1075
|
readonly role: "putJobById";
|
|
595
1076
|
readonly name: "Update job";
|
|
1077
|
+
readonly response_200: {
|
|
1078
|
+
job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
|
|
1079
|
+
message: string;
|
|
1080
|
+
};
|
|
1081
|
+
readonly response_404: {
|
|
1082
|
+
job?: import("./inputsDefault").JobBase<TId_10, TDate_10> | null;
|
|
1083
|
+
message: string;
|
|
1084
|
+
};
|
|
1085
|
+
readonly response_500: {
|
|
1086
|
+
message: string;
|
|
1087
|
+
error: string;
|
|
1088
|
+
};
|
|
596
1089
|
}, {
|
|
597
1090
|
readonly method: "delete";
|
|
598
1091
|
readonly path: "/job/:id";
|
|
599
1092
|
readonly role: "deleteJobById";
|
|
600
1093
|
readonly name: "Delete job";
|
|
1094
|
+
readonly response_200: {
|
|
1095
|
+
job: import("./inputsDefault").JobBase<TId_10, TDate_10>;
|
|
1096
|
+
message: string;
|
|
1097
|
+
};
|
|
1098
|
+
readonly response_404: {
|
|
1099
|
+
job?: import("./inputsDefault").JobBase<TId_10, TDate_10> | null;
|
|
1100
|
+
message: string;
|
|
1101
|
+
};
|
|
1102
|
+
readonly response_500: {
|
|
1103
|
+
message: string;
|
|
1104
|
+
error: string;
|
|
1105
|
+
};
|
|
601
1106
|
}, {
|
|
602
1107
|
readonly method: "get";
|
|
603
1108
|
readonly path: "/log";
|
|
604
1109
|
readonly role: "getLogs";
|
|
605
1110
|
readonly name: "Get logs";
|
|
1111
|
+
readonly response_200: {
|
|
1112
|
+
logs: import("./inputsDefault").LogBase<TId_11, TDate_11>[];
|
|
1113
|
+
count: number;
|
|
1114
|
+
};
|
|
1115
|
+
readonly response_500: {
|
|
1116
|
+
message: string;
|
|
1117
|
+
error: string;
|
|
1118
|
+
};
|
|
606
1119
|
}, {
|
|
607
1120
|
readonly method: "delete";
|
|
608
1121
|
readonly path: "/log/all";
|
|
609
1122
|
readonly role: "deleteLogsAll";
|
|
610
1123
|
readonly name: "Delete all logs";
|
|
1124
|
+
readonly response_200: {
|
|
1125
|
+
message: string;
|
|
1126
|
+
};
|
|
1127
|
+
readonly response_500: {
|
|
1128
|
+
message: string;
|
|
1129
|
+
error: string;
|
|
1130
|
+
};
|
|
611
1131
|
}, {
|
|
612
1132
|
readonly method: "delete";
|
|
613
1133
|
readonly path: "/log/:id";
|
|
614
1134
|
readonly role: "deleteLogById";
|
|
615
1135
|
readonly name: "Delete log by ID";
|
|
1136
|
+
readonly response_200: {
|
|
1137
|
+
log: import("./inputsDefault").LogBase<TId_11, TDate_11>;
|
|
1138
|
+
message: string;
|
|
1139
|
+
};
|
|
1140
|
+
readonly response_404: {
|
|
1141
|
+
log: import("./inputsDefault").LogBase<TId_11, TDate_11> | null;
|
|
1142
|
+
message: string;
|
|
1143
|
+
};
|
|
1144
|
+
readonly response_500: {
|
|
1145
|
+
message: string;
|
|
1146
|
+
error: string;
|
|
1147
|
+
};
|
|
616
1148
|
}, {
|
|
617
1149
|
readonly method: "post";
|
|
618
1150
|
readonly path: "/notification";
|
|
619
1151
|
readonly role: "postNotification";
|
|
620
1152
|
readonly name: "Create notification";
|
|
1153
|
+
readonly response_201: {
|
|
1154
|
+
notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12>;
|
|
1155
|
+
message: string;
|
|
1156
|
+
};
|
|
1157
|
+
readonly response_500: {
|
|
1158
|
+
message: string;
|
|
1159
|
+
error: string;
|
|
1160
|
+
};
|
|
621
1161
|
}, {
|
|
622
1162
|
readonly method: "post";
|
|
623
1163
|
readonly path: "/notification/read";
|
|
624
1164
|
readonly role: "postNotificationRead";
|
|
625
1165
|
readonly name: "Mark notifications read";
|
|
1166
|
+
readonly response_201: {
|
|
1167
|
+
notificationIds: string[];
|
|
1168
|
+
message: string;
|
|
1169
|
+
};
|
|
1170
|
+
readonly response_500: {
|
|
1171
|
+
message: string;
|
|
1172
|
+
error: string;
|
|
1173
|
+
};
|
|
626
1174
|
}, {
|
|
627
1175
|
readonly method: "get";
|
|
628
1176
|
readonly path: "/notification";
|
|
629
1177
|
readonly role: "getNotifications";
|
|
630
1178
|
readonly name: "Get notifications";
|
|
1179
|
+
readonly response_200: {
|
|
1180
|
+
notifications: import("./inputsDefault").NotificationBase<TId_12, TDate_12>[];
|
|
1181
|
+
count: number;
|
|
1182
|
+
unreadCount: number;
|
|
1183
|
+
};
|
|
1184
|
+
readonly response_500: {
|
|
1185
|
+
message: string;
|
|
1186
|
+
error: string;
|
|
1187
|
+
};
|
|
631
1188
|
}, {
|
|
632
1189
|
readonly method: "get";
|
|
633
1190
|
readonly path: "/notification/:id";
|
|
634
1191
|
readonly role: "getNotificationById";
|
|
635
1192
|
readonly name: "Get notification by ID";
|
|
1193
|
+
readonly response_200: {
|
|
1194
|
+
notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12> | null;
|
|
1195
|
+
message: string;
|
|
1196
|
+
};
|
|
1197
|
+
readonly response_404: {
|
|
1198
|
+
message: string;
|
|
1199
|
+
error: string;
|
|
1200
|
+
};
|
|
636
1201
|
}, {
|
|
637
1202
|
readonly method: "put";
|
|
638
1203
|
readonly path: "/notification/:id";
|
|
639
1204
|
readonly role: "putNotificationById";
|
|
640
1205
|
readonly name: "Update notification";
|
|
1206
|
+
readonly response_200: {
|
|
1207
|
+
notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12>;
|
|
1208
|
+
message: string;
|
|
1209
|
+
};
|
|
1210
|
+
readonly response_404: {
|
|
1211
|
+
notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12> | null;
|
|
1212
|
+
message: string;
|
|
1213
|
+
};
|
|
1214
|
+
readonly response_500: {
|
|
1215
|
+
message: string;
|
|
1216
|
+
error: string;
|
|
1217
|
+
};
|
|
641
1218
|
}, {
|
|
642
1219
|
readonly method: "delete";
|
|
643
1220
|
readonly path: "/notification/:id";
|
|
644
1221
|
readonly role: "deleteNotificationById";
|
|
645
1222
|
readonly name: "Delete notification";
|
|
1223
|
+
readonly response_200: {
|
|
1224
|
+
notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12>;
|
|
1225
|
+
message: string;
|
|
1226
|
+
};
|
|
1227
|
+
readonly response_404: {
|
|
1228
|
+
notification: import("./inputsDefault").NotificationBase<TId_12, TDate_12> | null;
|
|
1229
|
+
message: string;
|
|
1230
|
+
};
|
|
1231
|
+
readonly response_500: {
|
|
1232
|
+
message: string;
|
|
1233
|
+
error: string;
|
|
1234
|
+
};
|
|
646
1235
|
}, {
|
|
647
1236
|
readonly method: "post";
|
|
648
1237
|
readonly path: "/page";
|
|
649
1238
|
readonly role: "postPage";
|
|
650
1239
|
readonly name: "Create page";
|
|
1240
|
+
readonly response_201: {
|
|
1241
|
+
page: import("./inputsDefault").PageBase<TId_13, TDate_13>;
|
|
1242
|
+
message: string;
|
|
1243
|
+
};
|
|
1244
|
+
readonly response_500: {
|
|
1245
|
+
message: string;
|
|
1246
|
+
error: string;
|
|
1247
|
+
};
|
|
651
1248
|
}, {
|
|
652
1249
|
readonly method: "post";
|
|
653
1250
|
readonly path: "/page/trigger/:id";
|
|
654
1251
|
readonly role: "postPageTriggerById";
|
|
655
1252
|
readonly name: "Trigger page by ID";
|
|
1253
|
+
readonly response_200: Record<string, never>;
|
|
1254
|
+
readonly response_404: {
|
|
1255
|
+
page: import("./inputsDefault").PageBase<TId_13, TDate_13> | null;
|
|
1256
|
+
message: string;
|
|
1257
|
+
};
|
|
1258
|
+
readonly response_500: {
|
|
1259
|
+
message: string;
|
|
1260
|
+
error: string;
|
|
1261
|
+
};
|
|
656
1262
|
}, {
|
|
657
1263
|
readonly method: "get";
|
|
658
1264
|
readonly path: "/page";
|
|
659
1265
|
readonly role: "getPages";
|
|
660
1266
|
readonly name: "Get pages";
|
|
1267
|
+
readonly response_200: {
|
|
1268
|
+
pages: import("./inputsDefault").PageBase<TId_13, TDate_13>[];
|
|
1269
|
+
count: number;
|
|
1270
|
+
};
|
|
1271
|
+
readonly response_500: {
|
|
1272
|
+
message: string;
|
|
1273
|
+
error: string;
|
|
1274
|
+
};
|
|
661
1275
|
}, {
|
|
662
1276
|
readonly method: "get";
|
|
663
1277
|
readonly path: "/page/:id";
|
|
664
1278
|
readonly role: "getPageById";
|
|
665
1279
|
readonly name: "Get page by ID";
|
|
1280
|
+
readonly response_200: {
|
|
1281
|
+
page: import("./inputsDefault").PageBase<TId_13, TDate_13> | null;
|
|
1282
|
+
message: string;
|
|
1283
|
+
};
|
|
1284
|
+
readonly response_404: {
|
|
1285
|
+
message: string;
|
|
1286
|
+
error: string;
|
|
1287
|
+
};
|
|
666
1288
|
}, {
|
|
667
1289
|
readonly method: "put";
|
|
668
1290
|
readonly path: "/page/:id";
|
|
669
1291
|
readonly role: "putPageById";
|
|
670
1292
|
readonly name: "Update page";
|
|
1293
|
+
readonly response_200: {
|
|
1294
|
+
page: import("./inputsDefault").PageBase<TId_13, TDate_13>;
|
|
1295
|
+
message: string;
|
|
1296
|
+
};
|
|
1297
|
+
readonly response_404: {
|
|
1298
|
+
page: import("./inputsDefault").PageBase<TId_13, TDate_13> | null;
|
|
1299
|
+
message: string;
|
|
1300
|
+
};
|
|
1301
|
+
readonly response_500: {
|
|
1302
|
+
message: string;
|
|
1303
|
+
error: string;
|
|
1304
|
+
};
|
|
671
1305
|
}, {
|
|
672
1306
|
readonly method: "delete";
|
|
673
1307
|
readonly path: "/page/:id";
|
|
674
1308
|
readonly role: "deletePageById";
|
|
675
1309
|
readonly name: "Delete page";
|
|
1310
|
+
readonly response_200: {
|
|
1311
|
+
page: import("./inputsDefault").PageBase<TId_13, TDate_13>;
|
|
1312
|
+
message: string;
|
|
1313
|
+
};
|
|
1314
|
+
readonly response_404: {
|
|
1315
|
+
page: import("./inputsDefault").PageBase<TId_13, TDate_13> | null;
|
|
1316
|
+
message: string;
|
|
1317
|
+
};
|
|
1318
|
+
readonly response_500: {
|
|
1319
|
+
message: string;
|
|
1320
|
+
error: string;
|
|
1321
|
+
};
|
|
676
1322
|
}, {
|
|
677
1323
|
readonly method: "post";
|
|
678
1324
|
readonly path: "/product";
|
|
679
1325
|
readonly role: "postProduct";
|
|
680
1326
|
readonly name: "Create product";
|
|
1327
|
+
readonly response_201: {
|
|
1328
|
+
product: import("./inputsDefault").ProductBase<TId_14, TDate_14>;
|
|
1329
|
+
message: string;
|
|
1330
|
+
};
|
|
1331
|
+
readonly response_500: {
|
|
1332
|
+
message: string;
|
|
1333
|
+
error: string;
|
|
1334
|
+
};
|
|
681
1335
|
}, {
|
|
682
1336
|
readonly method: "get";
|
|
683
1337
|
readonly path: "/product";
|
|
684
1338
|
readonly role: "getProducts";
|
|
685
1339
|
readonly name: "Get products";
|
|
1340
|
+
readonly response_200: {
|
|
1341
|
+
products: import("./inputsDefault").ProductBase<TId_14, TDate_14>[];
|
|
1342
|
+
count: number;
|
|
1343
|
+
};
|
|
1344
|
+
readonly response_500: {
|
|
1345
|
+
message: string;
|
|
1346
|
+
error: string;
|
|
1347
|
+
};
|
|
686
1348
|
}, {
|
|
687
1349
|
readonly method: "get";
|
|
688
1350
|
readonly path: "/product/:id";
|
|
689
1351
|
readonly role: "getProductById";
|
|
690
1352
|
readonly name: "Get product";
|
|
1353
|
+
readonly response_200: {
|
|
1354
|
+
product: import("./inputsDefault").ProductBase<TId_14, TDate_14> | null;
|
|
1355
|
+
message: string;
|
|
1356
|
+
};
|
|
1357
|
+
readonly response_404: {
|
|
1358
|
+
message: string;
|
|
1359
|
+
error: string;
|
|
1360
|
+
};
|
|
691
1361
|
}, {
|
|
692
1362
|
readonly method: "put";
|
|
693
1363
|
readonly path: "/product/:id";
|
|
694
1364
|
readonly role: "putProductById";
|
|
695
1365
|
readonly name: "Update product";
|
|
1366
|
+
readonly response_200: {
|
|
1367
|
+
product: import("./inputsDefault").ProductBase<TId_14, TDate_14>;
|
|
1368
|
+
message: string;
|
|
1369
|
+
};
|
|
1370
|
+
readonly response_404: {
|
|
1371
|
+
product: import("./inputsDefault").ProductBase<TId_14, TDate_14> | null;
|
|
1372
|
+
message: string;
|
|
1373
|
+
};
|
|
1374
|
+
readonly response_500: {
|
|
1375
|
+
message: string;
|
|
1376
|
+
error: string;
|
|
1377
|
+
};
|
|
696
1378
|
}, {
|
|
697
1379
|
readonly method: "delete";
|
|
698
1380
|
readonly path: "/product/:id";
|
|
699
1381
|
readonly role: "deleteProductById";
|
|
700
1382
|
readonly name: "Delete product";
|
|
1383
|
+
readonly response_200: {
|
|
1384
|
+
product: import("./inputsDefault").ProductBase<TId_14, TDate_14>;
|
|
1385
|
+
message: string;
|
|
1386
|
+
};
|
|
1387
|
+
readonly response_404: {
|
|
1388
|
+
product: import("./inputsDefault").ProductBase<TId_14, TDate_14> | null;
|
|
1389
|
+
message: string;
|
|
1390
|
+
};
|
|
1391
|
+
readonly response_500: {
|
|
1392
|
+
message: string;
|
|
1393
|
+
error: string;
|
|
1394
|
+
};
|
|
701
1395
|
}, {
|
|
702
1396
|
readonly method: "post";
|
|
703
1397
|
readonly path: "/prospect";
|
|
704
1398
|
readonly role: "postProspect";
|
|
705
1399
|
readonly name: "Create prospect";
|
|
1400
|
+
readonly response_201: {
|
|
1401
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
|
|
1402
|
+
message: string;
|
|
1403
|
+
};
|
|
1404
|
+
readonly response_500: {
|
|
1405
|
+
message: string;
|
|
1406
|
+
error: string;
|
|
1407
|
+
};
|
|
706
1408
|
}, {
|
|
707
1409
|
readonly method: "post";
|
|
708
1410
|
readonly path: "/prospect/subscribe";
|
|
709
1411
|
readonly role: "postProspectSubscribe";
|
|
710
1412
|
readonly name: "Subscribe prospect";
|
|
1413
|
+
readonly response_201: {
|
|
1414
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
|
|
1415
|
+
message: string;
|
|
1416
|
+
};
|
|
1417
|
+
readonly response_500: {
|
|
1418
|
+
message: string;
|
|
1419
|
+
error: string;
|
|
1420
|
+
};
|
|
711
1421
|
}, {
|
|
712
1422
|
readonly method: "get";
|
|
713
1423
|
readonly path: "/prospect";
|
|
714
1424
|
readonly role: "getProspects";
|
|
715
1425
|
readonly name: "Get prospects";
|
|
1426
|
+
readonly response_200: {
|
|
1427
|
+
prospects: import("./inputsDefault").ProspectBase<TId_15, TDate_15>[];
|
|
1428
|
+
count: number;
|
|
1429
|
+
new: number;
|
|
1430
|
+
};
|
|
1431
|
+
readonly response_500: {
|
|
1432
|
+
message: string;
|
|
1433
|
+
error: string;
|
|
1434
|
+
};
|
|
716
1435
|
}, {
|
|
717
1436
|
readonly method: "get";
|
|
718
1437
|
readonly path: "/prospect/count/new";
|
|
719
1438
|
readonly role: "getProspectCountNew";
|
|
720
1439
|
readonly name: "Get new prospect count";
|
|
1440
|
+
readonly response_200: {
|
|
1441
|
+
new: number;
|
|
1442
|
+
};
|
|
1443
|
+
readonly response_500: {
|
|
1444
|
+
message: string;
|
|
1445
|
+
error: string;
|
|
1446
|
+
};
|
|
721
1447
|
}, {
|
|
722
1448
|
readonly method: "get";
|
|
723
1449
|
readonly path: "/prospect/:id";
|
|
724
1450
|
readonly role: "getProspectById";
|
|
725
1451
|
readonly name: "Get prospect by ID";
|
|
1452
|
+
readonly response_200: {
|
|
1453
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15> | null;
|
|
1454
|
+
message: string;
|
|
1455
|
+
};
|
|
1456
|
+
readonly response_404: {
|
|
1457
|
+
message: string;
|
|
1458
|
+
error: string;
|
|
1459
|
+
};
|
|
726
1460
|
}, {
|
|
727
1461
|
readonly method: "get";
|
|
728
1462
|
readonly path: "/prospect/email/track";
|
|
729
1463
|
readonly role: "getProspectEmailTrack";
|
|
730
1464
|
readonly name: "Track prospect email";
|
|
1465
|
+
readonly response_200: {
|
|
1466
|
+
message: string;
|
|
1467
|
+
};
|
|
1468
|
+
readonly response_302: Record<string, never>;
|
|
1469
|
+
readonly response_400: {
|
|
1470
|
+
message: string;
|
|
1471
|
+
event?: string;
|
|
1472
|
+
};
|
|
1473
|
+
readonly response_500: {
|
|
1474
|
+
message: string;
|
|
1475
|
+
error: string;
|
|
1476
|
+
};
|
|
731
1477
|
}, {
|
|
732
1478
|
readonly method: "put";
|
|
733
1479
|
readonly path: "/prospect/:id";
|
|
734
1480
|
readonly role: "putProspectById";
|
|
735
1481
|
readonly name: "Update prospect";
|
|
1482
|
+
readonly response_200: {
|
|
1483
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
|
|
1484
|
+
message: string;
|
|
1485
|
+
};
|
|
1486
|
+
readonly response_404: {
|
|
1487
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15> | null;
|
|
1488
|
+
message: string;
|
|
1489
|
+
};
|
|
1490
|
+
readonly response_500: {
|
|
1491
|
+
message: string;
|
|
1492
|
+
error: string;
|
|
1493
|
+
};
|
|
736
1494
|
}, {
|
|
737
1495
|
readonly method: "put";
|
|
738
1496
|
readonly path: "/prospect/opened/:id";
|
|
739
1497
|
readonly role: "putProspectOpenedById";
|
|
740
1498
|
readonly name: "Mark prospect opened";
|
|
1499
|
+
readonly response_200: {
|
|
1500
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
|
|
1501
|
+
message: string;
|
|
1502
|
+
};
|
|
1503
|
+
readonly response_404: {
|
|
1504
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15> | null;
|
|
1505
|
+
message: string;
|
|
1506
|
+
};
|
|
1507
|
+
readonly response_500: {
|
|
1508
|
+
message: string;
|
|
1509
|
+
error: string;
|
|
1510
|
+
};
|
|
741
1511
|
}, {
|
|
742
1512
|
readonly method: "delete";
|
|
743
1513
|
readonly path: "/prospect/:id";
|
|
744
1514
|
readonly role: "deleteProspectById";
|
|
745
1515
|
readonly name: "Delete prospect";
|
|
1516
|
+
readonly response_200: {
|
|
1517
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15>;
|
|
1518
|
+
message: string;
|
|
1519
|
+
};
|
|
1520
|
+
readonly response_404: {
|
|
1521
|
+
prospect: import("./inputsDefault").ProspectBase<TId_15, TDate_15> | null;
|
|
1522
|
+
message: string;
|
|
1523
|
+
};
|
|
1524
|
+
readonly response_500: {
|
|
1525
|
+
message: string;
|
|
1526
|
+
error: string;
|
|
1527
|
+
};
|
|
746
1528
|
}, {
|
|
747
1529
|
readonly method: "post";
|
|
748
1530
|
readonly path: "/report";
|
|
@@ -1267,7 +2049,7 @@ declare const allApis: readonly [{
|
|
|
1267
2049
|
readonly role: "postAdminToken";
|
|
1268
2050
|
readonly name: "Login admin";
|
|
1269
2051
|
readonly response_200: {
|
|
1270
|
-
admin:
|
|
2052
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1271
2053
|
message: string;
|
|
1272
2054
|
};
|
|
1273
2055
|
readonly response_401: {
|
|
@@ -1310,7 +2092,7 @@ declare const allApis: readonly [{
|
|
|
1310
2092
|
readonly role: "postAdminLogout";
|
|
1311
2093
|
readonly name: "Logout admin";
|
|
1312
2094
|
readonly response_200: {
|
|
1313
|
-
admin:
|
|
2095
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1314
2096
|
message: string;
|
|
1315
2097
|
};
|
|
1316
2098
|
readonly response_500: {
|
|
@@ -1323,7 +2105,7 @@ declare const allApis: readonly [{
|
|
|
1323
2105
|
readonly role: "postAdminLogoutAll";
|
|
1324
2106
|
readonly name: "Logout all sessions";
|
|
1325
2107
|
readonly response_200: {
|
|
1326
|
-
admin:
|
|
2108
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1327
2109
|
message: string;
|
|
1328
2110
|
};
|
|
1329
2111
|
readonly response_500: {
|
|
@@ -1336,7 +2118,7 @@ declare const allApis: readonly [{
|
|
|
1336
2118
|
readonly role: "postAdminLogoutBySessionId";
|
|
1337
2119
|
readonly name: "Logout session by ID";
|
|
1338
2120
|
readonly response_200: {
|
|
1339
|
-
admin:
|
|
2121
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1340
2122
|
message: string;
|
|
1341
2123
|
};
|
|
1342
2124
|
readonly response_500: {
|
|
@@ -1349,7 +2131,7 @@ declare const allApis: readonly [{
|
|
|
1349
2131
|
readonly role: "getAdmin";
|
|
1350
2132
|
readonly name: "Get admin";
|
|
1351
2133
|
readonly response_200: {
|
|
1352
|
-
admin:
|
|
2134
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1353
2135
|
};
|
|
1354
2136
|
readonly response_500: {
|
|
1355
2137
|
message: string;
|
|
@@ -1374,7 +2156,7 @@ declare const allApis: readonly [{
|
|
|
1374
2156
|
readonly role: "getAdminPublic";
|
|
1375
2157
|
readonly name: "Get public admin";
|
|
1376
2158
|
readonly response_200: {
|
|
1377
|
-
admin: Partial<
|
|
2159
|
+
admin: Partial<import("./inputsDefault").AdminBase<TId_1, TDate_1>>;
|
|
1378
2160
|
};
|
|
1379
2161
|
readonly response_400: {
|
|
1380
2162
|
message: string;
|
|
@@ -1392,11 +2174,11 @@ declare const allApis: readonly [{
|
|
|
1392
2174
|
readonly role: "putAdmin";
|
|
1393
2175
|
readonly name: "Update admin";
|
|
1394
2176
|
readonly response_200: {
|
|
1395
|
-
admin:
|
|
2177
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1396
2178
|
message: string;
|
|
1397
2179
|
};
|
|
1398
2180
|
readonly response_404: {
|
|
1399
|
-
admin:
|
|
2181
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1> | null;
|
|
1400
2182
|
message: string;
|
|
1401
2183
|
};
|
|
1402
2184
|
readonly response_500: {
|
|
@@ -1409,11 +2191,11 @@ declare const allApis: readonly [{
|
|
|
1409
2191
|
readonly role: "putAdminPassword";
|
|
1410
2192
|
readonly name: "Update admin password";
|
|
1411
2193
|
readonly response_200: {
|
|
1412
|
-
admin:
|
|
2194
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1413
2195
|
message: string;
|
|
1414
2196
|
};
|
|
1415
2197
|
readonly response_404: {
|
|
1416
|
-
admin:
|
|
2198
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1> | null;
|
|
1417
2199
|
message: string;
|
|
1418
2200
|
};
|
|
1419
2201
|
readonly response_500: {
|
|
@@ -1426,7 +2208,7 @@ declare const allApis: readonly [{
|
|
|
1426
2208
|
readonly role: "deleteAdmin";
|
|
1427
2209
|
readonly name: "Delete admin";
|
|
1428
2210
|
readonly response_200: {
|
|
1429
|
-
admin:
|
|
2211
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1430
2212
|
message: string;
|
|
1431
2213
|
};
|
|
1432
2214
|
readonly response_500: {
|
|
@@ -1438,91 +2220,275 @@ declare const allApis: readonly [{
|
|
|
1438
2220
|
readonly path: "/blog";
|
|
1439
2221
|
readonly role: "postBlog";
|
|
1440
2222
|
readonly name: "Create blog";
|
|
2223
|
+
readonly response_201: {
|
|
2224
|
+
blog: import("./inputsDefault").BlogBase<TId_2, TDate_2>;
|
|
2225
|
+
message: string;
|
|
2226
|
+
};
|
|
2227
|
+
readonly response_500: {
|
|
2228
|
+
message: string;
|
|
2229
|
+
error: string;
|
|
2230
|
+
};
|
|
1441
2231
|
}, {
|
|
1442
2232
|
readonly method: "get";
|
|
1443
2233
|
readonly path: "/blog";
|
|
1444
2234
|
readonly role: "getBlogs";
|
|
1445
2235
|
readonly name: "Get blogs";
|
|
2236
|
+
readonly response_200: {
|
|
2237
|
+
blogs: import("./inputsDefault").BlogBase<TId_2, TDate_2>[];
|
|
2238
|
+
count: number;
|
|
2239
|
+
};
|
|
2240
|
+
readonly response_500: {
|
|
2241
|
+
message: string;
|
|
2242
|
+
error: string;
|
|
2243
|
+
};
|
|
1446
2244
|
}, {
|
|
1447
2245
|
readonly method: "get";
|
|
1448
2246
|
readonly path: "/blog/:id";
|
|
1449
2247
|
readonly role: "getBlogById";
|
|
1450
2248
|
readonly name: "Get blog";
|
|
2249
|
+
readonly response_200: {
|
|
2250
|
+
blog: import("./inputsDefault").BlogBase<TId_2, TDate_2> | null;
|
|
2251
|
+
message: string;
|
|
2252
|
+
};
|
|
2253
|
+
readonly response_404: {
|
|
2254
|
+
message: string;
|
|
2255
|
+
error: string;
|
|
2256
|
+
};
|
|
1451
2257
|
}, {
|
|
1452
2258
|
readonly method: "put";
|
|
1453
2259
|
readonly path: "/blog/:id";
|
|
1454
2260
|
readonly role: "putBlogById";
|
|
1455
2261
|
readonly name: "Update blog";
|
|
2262
|
+
readonly response_200: {
|
|
2263
|
+
blog: import("./inputsDefault").BlogBase<TId_2, TDate_2>;
|
|
2264
|
+
message: string;
|
|
2265
|
+
};
|
|
2266
|
+
readonly response_404: {
|
|
2267
|
+
blog: import("./inputsDefault").BlogBase<TId_2, TDate_2> | null;
|
|
2268
|
+
message: string;
|
|
2269
|
+
};
|
|
2270
|
+
readonly response_500: {
|
|
2271
|
+
message: string;
|
|
2272
|
+
error: string;
|
|
2273
|
+
};
|
|
1456
2274
|
}, {
|
|
1457
2275
|
readonly method: "delete";
|
|
1458
2276
|
readonly path: "/blog/:id";
|
|
1459
2277
|
readonly role: "deleteBlogById";
|
|
1460
2278
|
readonly name: "Delete blog";
|
|
2279
|
+
readonly response_200: {
|
|
2280
|
+
blog: import("./inputsDefault").BlogBase<TId_2, TDate_2>;
|
|
2281
|
+
message: string;
|
|
2282
|
+
};
|
|
2283
|
+
readonly response_404: {
|
|
2284
|
+
blog: import("./inputsDefault").BlogBase<TId_2, TDate_2> | null;
|
|
2285
|
+
message: string;
|
|
2286
|
+
};
|
|
2287
|
+
readonly response_500: {
|
|
2288
|
+
message: string;
|
|
2289
|
+
error: string;
|
|
2290
|
+
};
|
|
1461
2291
|
}, {
|
|
1462
2292
|
readonly method: "post";
|
|
1463
2293
|
readonly path: "/campaign";
|
|
1464
2294
|
readonly role: "postCampaign";
|
|
1465
2295
|
readonly name: "Create campaign";
|
|
2296
|
+
readonly response_201: {
|
|
2297
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3>;
|
|
2298
|
+
message: string;
|
|
2299
|
+
};
|
|
2300
|
+
readonly response_500: {
|
|
2301
|
+
message: string;
|
|
2302
|
+
error: string;
|
|
2303
|
+
};
|
|
1466
2304
|
}, {
|
|
1467
2305
|
readonly method: "post";
|
|
1468
2306
|
readonly path: "/campaign/start/:id";
|
|
1469
2307
|
readonly role: "postCampaignStartById";
|
|
1470
2308
|
readonly name: "Start campaign by ID";
|
|
2309
|
+
readonly response_200: {
|
|
2310
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3>;
|
|
2311
|
+
message: string;
|
|
2312
|
+
};
|
|
2313
|
+
readonly response_400: {
|
|
2314
|
+
message: string;
|
|
2315
|
+
};
|
|
2316
|
+
readonly response_401: {
|
|
2317
|
+
message: string;
|
|
2318
|
+
};
|
|
2319
|
+
readonly response_404: {
|
|
2320
|
+
message: string;
|
|
2321
|
+
};
|
|
2322
|
+
readonly response_500: {
|
|
2323
|
+
message: string;
|
|
2324
|
+
error: string;
|
|
2325
|
+
};
|
|
1471
2326
|
}, {
|
|
1472
2327
|
readonly method: "post";
|
|
1473
2328
|
readonly path: "/campaign/stop/:id";
|
|
1474
2329
|
readonly role: "postCampaignStopById";
|
|
1475
2330
|
readonly name: "Stop campaign by ID";
|
|
2331
|
+
readonly response_200: {
|
|
2332
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3>;
|
|
2333
|
+
message: string;
|
|
2334
|
+
};
|
|
2335
|
+
readonly response_404: {
|
|
2336
|
+
message: string;
|
|
2337
|
+
};
|
|
2338
|
+
readonly response_500: {
|
|
2339
|
+
message: string;
|
|
2340
|
+
error: string;
|
|
2341
|
+
};
|
|
1476
2342
|
}, {
|
|
1477
2343
|
readonly method: "get";
|
|
1478
2344
|
readonly path: "/campaign";
|
|
1479
2345
|
readonly role: "getCampaigns";
|
|
1480
2346
|
readonly name: "Get campaigns";
|
|
2347
|
+
readonly response_200: {
|
|
2348
|
+
campaigns: import("./inputsDefault").CampaignBase<TId_3, TDate_3>[];
|
|
2349
|
+
count: number;
|
|
2350
|
+
};
|
|
2351
|
+
readonly response_500: {
|
|
2352
|
+
message: string;
|
|
2353
|
+
error: string;
|
|
2354
|
+
};
|
|
1481
2355
|
}, {
|
|
1482
2356
|
readonly method: "get";
|
|
1483
2357
|
readonly path: "/campaign/insight/:id";
|
|
1484
2358
|
readonly role: "getCampaignInsightById";
|
|
1485
2359
|
readonly name: "Get campaign insight";
|
|
2360
|
+
readonly response_200: {
|
|
2361
|
+
stages: (import("./inputsDefault").CampaignStageBase<TId_3> & {
|
|
2362
|
+
stageId: string;
|
|
2363
|
+
}[]) | null;
|
|
2364
|
+
};
|
|
2365
|
+
readonly response_400: {
|
|
2366
|
+
message: string;
|
|
2367
|
+
};
|
|
2368
|
+
readonly response_500: {
|
|
2369
|
+
message: string;
|
|
2370
|
+
error?: string;
|
|
2371
|
+
};
|
|
1486
2372
|
}, {
|
|
1487
2373
|
readonly method: "get";
|
|
1488
2374
|
readonly path: "/campaign/:id";
|
|
1489
2375
|
readonly role: "getCampaignById";
|
|
1490
2376
|
readonly name: "Get campaign";
|
|
2377
|
+
readonly response_200: {
|
|
2378
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3> | null;
|
|
2379
|
+
message: string;
|
|
2380
|
+
};
|
|
2381
|
+
readonly response_404: {
|
|
2382
|
+
message: string;
|
|
2383
|
+
error: string;
|
|
2384
|
+
};
|
|
1491
2385
|
}, {
|
|
1492
2386
|
readonly method: "put";
|
|
1493
2387
|
readonly path: "/campaign/:id";
|
|
1494
2388
|
readonly role: "putCampaignById";
|
|
1495
2389
|
readonly name: "Update campaign";
|
|
2390
|
+
readonly response_200: {
|
|
2391
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3>;
|
|
2392
|
+
message: string;
|
|
2393
|
+
};
|
|
2394
|
+
readonly response_404: {
|
|
2395
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3> | null;
|
|
2396
|
+
message: string;
|
|
2397
|
+
};
|
|
2398
|
+
readonly response_500: {
|
|
2399
|
+
message: string;
|
|
2400
|
+
error: string;
|
|
2401
|
+
};
|
|
1496
2402
|
}, {
|
|
1497
2403
|
readonly method: "delete";
|
|
1498
2404
|
readonly path: "/campaign/:id";
|
|
1499
2405
|
readonly role: "deleteCampaignById";
|
|
1500
2406
|
readonly name: "Delete campaign";
|
|
2407
|
+
readonly response_200: {
|
|
2408
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3>;
|
|
2409
|
+
message: string;
|
|
2410
|
+
};
|
|
2411
|
+
readonly response_404: {
|
|
2412
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3> | null;
|
|
2413
|
+
message: string;
|
|
2414
|
+
};
|
|
2415
|
+
readonly response_500: {
|
|
2416
|
+
message: string;
|
|
2417
|
+
error: string;
|
|
2418
|
+
};
|
|
1501
2419
|
}, {
|
|
1502
2420
|
readonly method: "post";
|
|
1503
2421
|
readonly path: "/category";
|
|
1504
2422
|
readonly role: "postCategory";
|
|
1505
2423
|
readonly name: "Create category";
|
|
2424
|
+
readonly response_201: {
|
|
2425
|
+
category: import("./inputsDefault").CategoryBase<TId_4, TDate_4>;
|
|
2426
|
+
message: string;
|
|
2427
|
+
};
|
|
2428
|
+
readonly response_500: {
|
|
2429
|
+
message: string;
|
|
2430
|
+
error: string;
|
|
2431
|
+
};
|
|
1506
2432
|
}, {
|
|
1507
2433
|
readonly method: "get";
|
|
1508
2434
|
readonly path: "/category";
|
|
1509
2435
|
readonly role: "getCategories";
|
|
1510
2436
|
readonly name: "Get categories";
|
|
2437
|
+
readonly response_200: {
|
|
2438
|
+
categories: import("./inputsDefault").CategoryBase<TId_4, TDate_4>[];
|
|
2439
|
+
count: number;
|
|
2440
|
+
};
|
|
2441
|
+
readonly response_500: {
|
|
2442
|
+
message: string;
|
|
2443
|
+
error: string;
|
|
2444
|
+
};
|
|
1511
2445
|
}, {
|
|
1512
2446
|
readonly method: "get";
|
|
1513
2447
|
readonly path: "/category/:id";
|
|
1514
2448
|
readonly role: "getCategoryById";
|
|
1515
2449
|
readonly name: "Get category";
|
|
2450
|
+
readonly response_200: {
|
|
2451
|
+
category: import("./inputsDefault").CategoryBase<TId_4, TDate_4> | null;
|
|
2452
|
+
message: string;
|
|
2453
|
+
};
|
|
2454
|
+
readonly response_404: {
|
|
2455
|
+
message: string;
|
|
2456
|
+
error: string;
|
|
2457
|
+
};
|
|
1516
2458
|
}, {
|
|
1517
2459
|
readonly method: "put";
|
|
1518
2460
|
readonly path: "/category/:id";
|
|
1519
2461
|
readonly role: "putCategoryById";
|
|
1520
2462
|
readonly name: "Update category";
|
|
2463
|
+
readonly response_200: {
|
|
2464
|
+
category: import("./inputsDefault").CategoryBase<TId_4, TDate_4>;
|
|
2465
|
+
message: string;
|
|
2466
|
+
};
|
|
2467
|
+
readonly response_404: {
|
|
2468
|
+
category: import("./inputsDefault").CategoryBase<TId_4, TDate_4> | null;
|
|
2469
|
+
message: string;
|
|
2470
|
+
};
|
|
2471
|
+
readonly response_500: {
|
|
2472
|
+
message: string;
|
|
2473
|
+
error: string;
|
|
2474
|
+
};
|
|
1521
2475
|
}, {
|
|
1522
2476
|
readonly method: "delete";
|
|
1523
2477
|
readonly path: "/category/:id";
|
|
1524
2478
|
readonly role: "deleteCategoryById";
|
|
1525
2479
|
readonly name: "Delete category";
|
|
2480
|
+
readonly response_200: {
|
|
2481
|
+
category: import("./inputsDefault").CategoryBase<TId_4, TDate_4>;
|
|
2482
|
+
message: string;
|
|
2483
|
+
};
|
|
2484
|
+
readonly response_404: {
|
|
2485
|
+
category: import("./inputsDefault").CategoryBase<TId_4, TDate_4> | null;
|
|
2486
|
+
message: string;
|
|
2487
|
+
};
|
|
2488
|
+
readonly response_500: {
|
|
2489
|
+
message: string;
|
|
2490
|
+
error: string;
|
|
2491
|
+
};
|
|
1526
2492
|
}, {
|
|
1527
2493
|
readonly method: "post";
|
|
1528
2494
|
readonly path: "/email";
|
|
@@ -1543,46 +2509,131 @@ declare const allApis: readonly [{
|
|
|
1543
2509
|
readonly path: "/event/book";
|
|
1544
2510
|
readonly role: "postEventBook";
|
|
1545
2511
|
readonly name: "Book event";
|
|
2512
|
+
readonly response_201: {
|
|
2513
|
+
event: import("./inputsDefault").EventBase<TId_5, TDate_5>;
|
|
2514
|
+
message: string;
|
|
2515
|
+
};
|
|
2516
|
+
readonly response_400: {
|
|
2517
|
+
message: string;
|
|
2518
|
+
};
|
|
2519
|
+
readonly response_500: {
|
|
2520
|
+
message: string;
|
|
2521
|
+
error: string;
|
|
2522
|
+
};
|
|
1546
2523
|
}, {
|
|
1547
2524
|
readonly method: "post";
|
|
1548
2525
|
readonly path: "/event";
|
|
1549
2526
|
readonly role: "postEvent";
|
|
1550
2527
|
readonly name: "Create event";
|
|
2528
|
+
readonly response_201: {
|
|
2529
|
+
event: import("./inputsDefault").EventBase<TId_5, TDate_5>;
|
|
2530
|
+
message: string;
|
|
2531
|
+
};
|
|
2532
|
+
readonly response_500: {
|
|
2533
|
+
message: string;
|
|
2534
|
+
error: string;
|
|
2535
|
+
};
|
|
1551
2536
|
}, {
|
|
1552
2537
|
readonly method: "post";
|
|
1553
2538
|
readonly path: "/events";
|
|
1554
2539
|
readonly role: "postEvents";
|
|
1555
2540
|
readonly name: "Create many events";
|
|
2541
|
+
readonly response_201: {
|
|
2542
|
+
events: import("./inputsDefault").EventBase<TId_5, TDate_5>[];
|
|
2543
|
+
message: string;
|
|
2544
|
+
};
|
|
2545
|
+
readonly response_500: {
|
|
2546
|
+
message: string;
|
|
2547
|
+
error: string;
|
|
2548
|
+
};
|
|
1556
2549
|
}, {
|
|
1557
2550
|
readonly method: "post";
|
|
1558
2551
|
readonly path: "/event/book/cancel";
|
|
1559
2552
|
readonly role: "postEventBookCancel";
|
|
1560
2553
|
readonly name: "Request booking cancel";
|
|
2554
|
+
readonly response_200: {
|
|
2555
|
+
message: string;
|
|
2556
|
+
};
|
|
2557
|
+
readonly response_400: {
|
|
2558
|
+
message: string;
|
|
2559
|
+
};
|
|
2560
|
+
readonly response_500: {
|
|
2561
|
+
message: string;
|
|
2562
|
+
error: string;
|
|
2563
|
+
};
|
|
1561
2564
|
}, {
|
|
1562
2565
|
readonly method: "get";
|
|
1563
2566
|
readonly path: "/event";
|
|
1564
2567
|
readonly role: "getEvents";
|
|
1565
2568
|
readonly name: "Get events";
|
|
2569
|
+
readonly response_200: {
|
|
2570
|
+
events: import("./inputsDefault").EventBase<TId_5, TDate_5>[];
|
|
2571
|
+
count: number;
|
|
2572
|
+
};
|
|
2573
|
+
readonly response_500: {
|
|
2574
|
+
message: string;
|
|
2575
|
+
error: string;
|
|
2576
|
+
};
|
|
1566
2577
|
}, {
|
|
1567
2578
|
readonly method: "get";
|
|
1568
2579
|
readonly path: "/event/:id";
|
|
1569
2580
|
readonly role: "getEventById";
|
|
1570
2581
|
readonly name: "Get event";
|
|
2582
|
+
readonly response_200: {
|
|
2583
|
+
event: import("./inputsDefault").EventBase<TId_5, TDate_5> | null;
|
|
2584
|
+
message: string;
|
|
2585
|
+
};
|
|
2586
|
+
readonly response_404: {
|
|
2587
|
+
message: string;
|
|
2588
|
+
error: string;
|
|
2589
|
+
};
|
|
1571
2590
|
}, {
|
|
1572
2591
|
readonly method: "put";
|
|
1573
2592
|
readonly path: "/event/:id";
|
|
1574
2593
|
readonly role: "putEventById";
|
|
1575
2594
|
readonly name: "Update event";
|
|
2595
|
+
readonly response_200: {
|
|
2596
|
+
event: import("./inputsDefault").EventBase<TId_5, TDate_5>;
|
|
2597
|
+
message: string;
|
|
2598
|
+
};
|
|
2599
|
+
readonly response_404: {
|
|
2600
|
+
event: import("./inputsDefault").EventBase<TId_5, TDate_5> | null;
|
|
2601
|
+
message: string;
|
|
2602
|
+
};
|
|
2603
|
+
readonly response_500: {
|
|
2604
|
+
message: string;
|
|
2605
|
+
error: string;
|
|
2606
|
+
};
|
|
1576
2607
|
}, {
|
|
1577
2608
|
readonly method: "delete";
|
|
1578
2609
|
readonly path: "/events";
|
|
1579
2610
|
readonly role: "deleteEvents";
|
|
1580
2611
|
readonly name: "Delete many events";
|
|
2612
|
+
readonly response_200: {
|
|
2613
|
+
deletedCount: number;
|
|
2614
|
+
message: string;
|
|
2615
|
+
};
|
|
2616
|
+
readonly response_500: {
|
|
2617
|
+
message: string;
|
|
2618
|
+
error: string;
|
|
2619
|
+
};
|
|
1581
2620
|
}, {
|
|
1582
2621
|
readonly method: "delete";
|
|
1583
2622
|
readonly path: "/event/:id";
|
|
1584
2623
|
readonly role: "deleteEventById";
|
|
1585
2624
|
readonly name: "Delete event";
|
|
2625
|
+
readonly response_200: {
|
|
2626
|
+
event: import("./inputsDefault").EventBase<TId_5, TDate_5>;
|
|
2627
|
+
message: string;
|
|
2628
|
+
};
|
|
2629
|
+
readonly response_404: {
|
|
2630
|
+
event: import("./inputsDefault").EventBase<TId_5, TDate_5> | null;
|
|
2631
|
+
message: string;
|
|
2632
|
+
};
|
|
2633
|
+
readonly response_500: {
|
|
2634
|
+
message: string;
|
|
2635
|
+
error: string;
|
|
2636
|
+
};
|
|
1586
2637
|
}, {
|
|
1587
2638
|
readonly method: "get";
|
|
1588
2639
|
readonly path: "/fail";
|
|
@@ -1608,266 +2659,779 @@ declare const allApis: readonly [{
|
|
|
1608
2659
|
readonly path: "/flow";
|
|
1609
2660
|
readonly role: "postFlow";
|
|
1610
2661
|
readonly name: "Create flow";
|
|
2662
|
+
readonly response_201: {
|
|
2663
|
+
flow: import("./inputsDefault").FlowBase<TId_6, TDate_6>;
|
|
2664
|
+
message: string;
|
|
2665
|
+
};
|
|
2666
|
+
readonly response_500: {
|
|
2667
|
+
message: string;
|
|
2668
|
+
error: string;
|
|
2669
|
+
};
|
|
1611
2670
|
}, {
|
|
1612
2671
|
readonly method: "get";
|
|
1613
2672
|
readonly path: "/flow";
|
|
1614
2673
|
readonly role: "getFlows";
|
|
1615
2674
|
readonly name: "Get flows";
|
|
2675
|
+
readonly response_200: {
|
|
2676
|
+
flows: import("./inputsDefault").FlowBase<TId_6, TDate_6>[];
|
|
2677
|
+
count: number;
|
|
2678
|
+
};
|
|
2679
|
+
readonly response_500: {
|
|
2680
|
+
message: string;
|
|
2681
|
+
error: string;
|
|
2682
|
+
};
|
|
1616
2683
|
}, {
|
|
1617
2684
|
readonly method: "get";
|
|
1618
2685
|
readonly path: "/flow/api";
|
|
1619
2686
|
readonly role: "getFlowApis";
|
|
1620
2687
|
readonly name: "Get APIs";
|
|
2688
|
+
readonly response_200: {
|
|
2689
|
+
apis: unknown;
|
|
2690
|
+
};
|
|
2691
|
+
readonly response_500: {
|
|
2692
|
+
message: string;
|
|
2693
|
+
error: string;
|
|
2694
|
+
};
|
|
1621
2695
|
}, {
|
|
1622
2696
|
readonly method: "get";
|
|
1623
2697
|
readonly path: "/flow/:id";
|
|
1624
2698
|
readonly role: "getFlowById";
|
|
1625
2699
|
readonly name: "Get flow";
|
|
2700
|
+
readonly response_200: {
|
|
2701
|
+
flow: import("./inputsDefault").FlowBase<TId_6, TDate_6> | null;
|
|
2702
|
+
message: string;
|
|
2703
|
+
};
|
|
2704
|
+
readonly response_404: {
|
|
2705
|
+
message: string;
|
|
2706
|
+
error: string;
|
|
2707
|
+
};
|
|
1626
2708
|
}, {
|
|
1627
2709
|
readonly method: "put";
|
|
1628
2710
|
readonly path: "/flow/:id";
|
|
1629
2711
|
readonly role: "putFlowById";
|
|
1630
2712
|
readonly name: "Update flow";
|
|
2713
|
+
readonly response_200: {
|
|
2714
|
+
flow: import("./inputsDefault").FlowBase<TId_6, TDate_6>;
|
|
2715
|
+
message: string;
|
|
2716
|
+
};
|
|
2717
|
+
readonly response_404: {
|
|
2718
|
+
flow: import("./inputsDefault").FlowBase<TId_6, TDate_6> | null;
|
|
2719
|
+
message: string;
|
|
2720
|
+
error?: string;
|
|
2721
|
+
};
|
|
2722
|
+
readonly response_500: {
|
|
2723
|
+
message: string;
|
|
2724
|
+
error: string;
|
|
2725
|
+
};
|
|
1631
2726
|
}, {
|
|
1632
2727
|
readonly method: "delete";
|
|
1633
2728
|
readonly path: "/flow/:id";
|
|
1634
2729
|
readonly role: "deleteFlowById";
|
|
1635
2730
|
readonly name: "Delete flow";
|
|
2731
|
+
readonly response_200: {
|
|
2732
|
+
flow: import("./inputsDefault").FlowBase<TId_6, TDate_6>;
|
|
2733
|
+
message: string;
|
|
2734
|
+
};
|
|
2735
|
+
readonly response_404: {
|
|
2736
|
+
flow: import("./inputsDefault").FlowBase<TId_6, TDate_6> | null;
|
|
2737
|
+
message: string;
|
|
2738
|
+
};
|
|
2739
|
+
readonly response_500: {
|
|
2740
|
+
message: string;
|
|
2741
|
+
error: string;
|
|
2742
|
+
};
|
|
1636
2743
|
}, {
|
|
1637
2744
|
readonly method: "post";
|
|
1638
2745
|
readonly path: "/fixture";
|
|
1639
2746
|
readonly role: "postFixture";
|
|
1640
2747
|
readonly name: "Create fixture";
|
|
2748
|
+
readonly response_201: {
|
|
2749
|
+
fixture: import("./inputsDefault").FixtureBase<TId_7, TDate_7>;
|
|
2750
|
+
message: string;
|
|
2751
|
+
};
|
|
2752
|
+
readonly response_500: {
|
|
2753
|
+
message: string;
|
|
2754
|
+
error: string;
|
|
2755
|
+
};
|
|
1641
2756
|
}, {
|
|
1642
2757
|
readonly method: "get";
|
|
1643
2758
|
readonly path: "/fixture";
|
|
1644
2759
|
readonly role: "getFixtures";
|
|
1645
2760
|
readonly name: "Get fixtures";
|
|
2761
|
+
readonly response_200: {
|
|
2762
|
+
fixtures: import("./inputsDefault").FixtureBase<TId_7, TDate_7>[];
|
|
2763
|
+
count: number;
|
|
2764
|
+
};
|
|
2765
|
+
readonly response_500: {
|
|
2766
|
+
message: string;
|
|
2767
|
+
error: string;
|
|
2768
|
+
};
|
|
1646
2769
|
}, {
|
|
1647
2770
|
readonly method: "get";
|
|
1648
2771
|
readonly path: "/fixture/:id";
|
|
1649
2772
|
readonly role: "getFixtureById";
|
|
1650
2773
|
readonly name: "Get fixture";
|
|
2774
|
+
readonly response_200: {
|
|
2775
|
+
fixture: import("./inputsDefault").FixtureBase<TId_7, TDate_7> | null;
|
|
2776
|
+
message: string;
|
|
2777
|
+
};
|
|
2778
|
+
readonly response_404: {
|
|
2779
|
+
message: string;
|
|
2780
|
+
error: string;
|
|
2781
|
+
};
|
|
1651
2782
|
}, {
|
|
1652
2783
|
readonly method: "put";
|
|
1653
2784
|
readonly path: "/fixture/:id";
|
|
1654
2785
|
readonly role: "putFixtureById";
|
|
1655
2786
|
readonly name: "Update fixture";
|
|
2787
|
+
readonly response_200: {
|
|
2788
|
+
fixture: import("./inputsDefault").FixtureBase<TId_7, TDate_7>;
|
|
2789
|
+
message: string;
|
|
2790
|
+
};
|
|
2791
|
+
readonly response_404: {
|
|
2792
|
+
fixture: import("./inputsDefault").FixtureBase<TId_7, TDate_7> | null;
|
|
2793
|
+
message: string;
|
|
2794
|
+
};
|
|
2795
|
+
readonly response_500: {
|
|
2796
|
+
message: string;
|
|
2797
|
+
error: string;
|
|
2798
|
+
};
|
|
1656
2799
|
}, {
|
|
1657
2800
|
readonly method: "delete";
|
|
1658
2801
|
readonly path: "/fixture/:id";
|
|
1659
2802
|
readonly role: "deleteFixtureById";
|
|
1660
2803
|
readonly name: "Delete fixture";
|
|
2804
|
+
readonly response_200: {
|
|
2805
|
+
fixture: import("./inputsDefault").FixtureBase<TId_7, TDate_7>;
|
|
2806
|
+
message: string;
|
|
2807
|
+
};
|
|
2808
|
+
readonly response_404: {
|
|
2809
|
+
fixture: import("./inputsDefault").FixtureBase<TId_7, TDate_7> | null;
|
|
2810
|
+
message: string;
|
|
2811
|
+
};
|
|
2812
|
+
readonly response_500: {
|
|
2813
|
+
message: string;
|
|
2814
|
+
error: string;
|
|
2815
|
+
};
|
|
1661
2816
|
}, {
|
|
1662
2817
|
readonly method: "post";
|
|
1663
2818
|
readonly path: "/group";
|
|
1664
2819
|
readonly role: "postGroup";
|
|
1665
2820
|
readonly name: "Create group";
|
|
2821
|
+
readonly response_201: {
|
|
2822
|
+
group: import("./inputsDefault").GroupBase<TId_8, TDate_8>;
|
|
2823
|
+
message: string;
|
|
2824
|
+
};
|
|
2825
|
+
readonly response_500: {
|
|
2826
|
+
message: string;
|
|
2827
|
+
error: string;
|
|
2828
|
+
};
|
|
1666
2829
|
}, {
|
|
1667
2830
|
readonly method: "get";
|
|
1668
2831
|
readonly path: "/group";
|
|
1669
2832
|
readonly role: "getGroups";
|
|
1670
2833
|
readonly name: "Get groups";
|
|
2834
|
+
readonly response_200: {
|
|
2835
|
+
groups: import("./inputsDefault").GroupBase<TId_8, TDate_8>[];
|
|
2836
|
+
count: number;
|
|
2837
|
+
};
|
|
2838
|
+
readonly response_500: {
|
|
2839
|
+
message: string;
|
|
2840
|
+
error: string;
|
|
2841
|
+
};
|
|
1671
2842
|
}, {
|
|
1672
2843
|
readonly method: "get";
|
|
1673
2844
|
readonly path: "/group/:id";
|
|
1674
2845
|
readonly role: "getGroupById";
|
|
1675
2846
|
readonly name: "Get group";
|
|
2847
|
+
readonly response_200: {
|
|
2848
|
+
group: import("./inputsDefault").GroupBase<TId_8, TDate_8> | null;
|
|
2849
|
+
message: string;
|
|
2850
|
+
};
|
|
2851
|
+
readonly response_404: {
|
|
2852
|
+
message: string;
|
|
2853
|
+
error: string;
|
|
2854
|
+
};
|
|
1676
2855
|
}, {
|
|
1677
2856
|
readonly method: "put";
|
|
1678
2857
|
readonly path: "/group/:id";
|
|
1679
2858
|
readonly role: "putGroupById";
|
|
1680
2859
|
readonly name: "Update group";
|
|
2860
|
+
readonly response_200: {
|
|
2861
|
+
group: import("./inputsDefault").GroupBase<TId_8, TDate_8>;
|
|
2862
|
+
message: string;
|
|
2863
|
+
};
|
|
2864
|
+
readonly response_404: {
|
|
2865
|
+
group?: import("./inputsDefault").GroupBase<TId_8, TDate_8> | null;
|
|
2866
|
+
message: string;
|
|
2867
|
+
error?: string;
|
|
2868
|
+
};
|
|
2869
|
+
readonly response_500: {
|
|
2870
|
+
message: string;
|
|
2871
|
+
error: string;
|
|
2872
|
+
};
|
|
1681
2873
|
}, {
|
|
1682
2874
|
readonly method: "delete";
|
|
1683
2875
|
readonly path: "/group/:id";
|
|
1684
2876
|
readonly role: "deleteGroupById";
|
|
1685
2877
|
readonly name: "Delete group";
|
|
2878
|
+
readonly response_200: {
|
|
2879
|
+
group: import("./inputsDefault").GroupBase<TId_8, TDate_8>;
|
|
2880
|
+
message: string;
|
|
2881
|
+
};
|
|
2882
|
+
readonly response_404: {
|
|
2883
|
+
group?: import("./inputsDefault").GroupBase<TId_8, TDate_8> | null;
|
|
2884
|
+
message: string;
|
|
2885
|
+
};
|
|
2886
|
+
readonly response_500: {
|
|
2887
|
+
message: string;
|
|
2888
|
+
error: string;
|
|
2889
|
+
};
|
|
1686
2890
|
}, {
|
|
1687
2891
|
readonly method: "post";
|
|
1688
2892
|
readonly path: "/job";
|
|
1689
2893
|
readonly role: "postJob";
|
|
1690
2894
|
readonly name: "Create job";
|
|
2895
|
+
readonly response_201: {
|
|
2896
|
+
job: import("./inputsDefault").JobBase<TId_9, TDate_9>;
|
|
2897
|
+
message: string;
|
|
2898
|
+
};
|
|
2899
|
+
readonly response_500: {
|
|
2900
|
+
message: string;
|
|
2901
|
+
error: string;
|
|
2902
|
+
};
|
|
1691
2903
|
}, {
|
|
1692
2904
|
readonly method: "post";
|
|
1693
2905
|
readonly path: "/job/many";
|
|
1694
2906
|
readonly role: "postJobMany";
|
|
1695
2907
|
readonly name: "Create many jobs";
|
|
2908
|
+
readonly response_201: {
|
|
2909
|
+
jobs: import("./inputsDefault").JobBase<TId_9, TDate_9>[];
|
|
2910
|
+
message: string;
|
|
2911
|
+
};
|
|
2912
|
+
readonly response_500: {
|
|
2913
|
+
message: string;
|
|
2914
|
+
error: string;
|
|
2915
|
+
};
|
|
1696
2916
|
}, {
|
|
1697
2917
|
readonly method: "post";
|
|
1698
2918
|
readonly path: "/job/start/:id";
|
|
1699
2919
|
readonly role: "postJobStartById";
|
|
1700
2920
|
readonly name: "Run job by ID";
|
|
2921
|
+
readonly response_201: {
|
|
2922
|
+
job: import("./inputsDefault").JobBase<TId_9, TDate_9>;
|
|
2923
|
+
message: string;
|
|
2924
|
+
};
|
|
2925
|
+
readonly response_404: {
|
|
2926
|
+
message: string;
|
|
2927
|
+
};
|
|
2928
|
+
readonly response_500: {
|
|
2929
|
+
message: string;
|
|
2930
|
+
error: string;
|
|
2931
|
+
};
|
|
1701
2932
|
}, {
|
|
1702
2933
|
readonly method: "get";
|
|
1703
2934
|
readonly path: "/job";
|
|
1704
2935
|
readonly role: "getJobs";
|
|
1705
2936
|
readonly name: "Get jobs";
|
|
2937
|
+
readonly response_200: {
|
|
2938
|
+
jobs: import("./inputsDefault").JobBase<TId_9, TDate_9>[];
|
|
2939
|
+
count: number;
|
|
2940
|
+
};
|
|
2941
|
+
readonly response_500: {
|
|
2942
|
+
message: string;
|
|
2943
|
+
error: string;
|
|
2944
|
+
};
|
|
1706
2945
|
}, {
|
|
1707
2946
|
readonly method: "get";
|
|
1708
2947
|
readonly path: "/job/:id";
|
|
1709
2948
|
readonly role: "getJobById";
|
|
1710
2949
|
readonly name: "Get job";
|
|
2950
|
+
readonly response_200: {
|
|
2951
|
+
job: import("./inputsDefault").JobBase<TId_9, TDate_9> | null;
|
|
2952
|
+
message: string;
|
|
2953
|
+
};
|
|
2954
|
+
readonly response_404: {
|
|
2955
|
+
message: string;
|
|
2956
|
+
error: string;
|
|
2957
|
+
};
|
|
1711
2958
|
}, {
|
|
1712
2959
|
readonly method: "get";
|
|
1713
2960
|
readonly path: "/job/details/:id";
|
|
1714
2961
|
readonly role: "getJobDetailsById";
|
|
1715
2962
|
readonly name: "Get job details";
|
|
2963
|
+
readonly response_200: {
|
|
2964
|
+
job: import("./inputsDefault").JobBase<TId_9, TDate_9>;
|
|
2965
|
+
campaign: import("./inputsDefault").CampaignBase<TId_9, TDate_9> | null;
|
|
2966
|
+
group: import("./inputsDefault").GroupBase<TId_9, TDate_9> | null;
|
|
2967
|
+
template: import("./inputsDefault").GroupBase<TId_9, TDate_9> | null;
|
|
2968
|
+
message: string;
|
|
2969
|
+
};
|
|
2970
|
+
readonly response_400: {
|
|
2971
|
+
job?: import("./inputsDefault").JobBase<TId_9, TDate_9> | null;
|
|
2972
|
+
message: string;
|
|
2973
|
+
};
|
|
2974
|
+
readonly response_404: {
|
|
2975
|
+
job?: import("./inputsDefault").JobBase<TId_9, TDate_9> | null;
|
|
2976
|
+
message: string;
|
|
2977
|
+
error: string;
|
|
2978
|
+
};
|
|
1716
2979
|
}, {
|
|
1717
2980
|
readonly method: "put";
|
|
1718
2981
|
readonly path: "/job/:id";
|
|
1719
2982
|
readonly role: "putJobById";
|
|
1720
2983
|
readonly name: "Update job";
|
|
2984
|
+
readonly response_200: {
|
|
2985
|
+
job: import("./inputsDefault").JobBase<TId_9, TDate_9>;
|
|
2986
|
+
message: string;
|
|
2987
|
+
};
|
|
2988
|
+
readonly response_404: {
|
|
2989
|
+
job?: import("./inputsDefault").JobBase<TId_9, TDate_9> | null;
|
|
2990
|
+
message: string;
|
|
2991
|
+
};
|
|
2992
|
+
readonly response_500: {
|
|
2993
|
+
message: string;
|
|
2994
|
+
error: string;
|
|
2995
|
+
};
|
|
1721
2996
|
}, {
|
|
1722
2997
|
readonly method: "delete";
|
|
1723
2998
|
readonly path: "/job/:id";
|
|
1724
2999
|
readonly role: "deleteJobById";
|
|
1725
3000
|
readonly name: "Delete job";
|
|
3001
|
+
readonly response_200: {
|
|
3002
|
+
job: import("./inputsDefault").JobBase<TId_9, TDate_9>;
|
|
3003
|
+
message: string;
|
|
3004
|
+
};
|
|
3005
|
+
readonly response_404: {
|
|
3006
|
+
job?: import("./inputsDefault").JobBase<TId_9, TDate_9> | null;
|
|
3007
|
+
message: string;
|
|
3008
|
+
};
|
|
3009
|
+
readonly response_500: {
|
|
3010
|
+
message: string;
|
|
3011
|
+
error: string;
|
|
3012
|
+
};
|
|
1726
3013
|
}, {
|
|
1727
3014
|
readonly method: "get";
|
|
1728
3015
|
readonly path: "/log";
|
|
1729
3016
|
readonly role: "getLogs";
|
|
1730
3017
|
readonly name: "Get logs";
|
|
3018
|
+
readonly response_200: {
|
|
3019
|
+
logs: import("./inputsDefault").LogBase<TId_10, TDate_10>[];
|
|
3020
|
+
count: number;
|
|
3021
|
+
};
|
|
3022
|
+
readonly response_500: {
|
|
3023
|
+
message: string;
|
|
3024
|
+
error: string;
|
|
3025
|
+
};
|
|
1731
3026
|
}, {
|
|
1732
3027
|
readonly method: "delete";
|
|
1733
3028
|
readonly path: "/log/all";
|
|
1734
3029
|
readonly role: "deleteLogsAll";
|
|
1735
3030
|
readonly name: "Delete all logs";
|
|
3031
|
+
readonly response_200: {
|
|
3032
|
+
message: string;
|
|
3033
|
+
};
|
|
3034
|
+
readonly response_500: {
|
|
3035
|
+
message: string;
|
|
3036
|
+
error: string;
|
|
3037
|
+
};
|
|
1736
3038
|
}, {
|
|
1737
3039
|
readonly method: "delete";
|
|
1738
3040
|
readonly path: "/log/:id";
|
|
1739
3041
|
readonly role: "deleteLogById";
|
|
1740
3042
|
readonly name: "Delete log by ID";
|
|
3043
|
+
readonly response_200: {
|
|
3044
|
+
log: import("./inputsDefault").LogBase<TId_10, TDate_10>;
|
|
3045
|
+
message: string;
|
|
3046
|
+
};
|
|
3047
|
+
readonly response_404: {
|
|
3048
|
+
log: import("./inputsDefault").LogBase<TId_10, TDate_10> | null;
|
|
3049
|
+
message: string;
|
|
3050
|
+
};
|
|
3051
|
+
readonly response_500: {
|
|
3052
|
+
message: string;
|
|
3053
|
+
error: string;
|
|
3054
|
+
};
|
|
1741
3055
|
}, {
|
|
1742
3056
|
readonly method: "post";
|
|
1743
3057
|
readonly path: "/notification";
|
|
1744
3058
|
readonly role: "postNotification";
|
|
1745
3059
|
readonly name: "Create notification";
|
|
3060
|
+
readonly response_201: {
|
|
3061
|
+
notification: import("./inputsDefault").NotificationBase<TId_11, TDate_11>;
|
|
3062
|
+
message: string;
|
|
3063
|
+
};
|
|
3064
|
+
readonly response_500: {
|
|
3065
|
+
message: string;
|
|
3066
|
+
error: string;
|
|
3067
|
+
};
|
|
1746
3068
|
}, {
|
|
1747
3069
|
readonly method: "post";
|
|
1748
3070
|
readonly path: "/notification/read";
|
|
1749
3071
|
readonly role: "postNotificationRead";
|
|
1750
3072
|
readonly name: "Mark notifications read";
|
|
3073
|
+
readonly response_201: {
|
|
3074
|
+
notificationIds: string[];
|
|
3075
|
+
message: string;
|
|
3076
|
+
};
|
|
3077
|
+
readonly response_500: {
|
|
3078
|
+
message: string;
|
|
3079
|
+
error: string;
|
|
3080
|
+
};
|
|
1751
3081
|
}, {
|
|
1752
3082
|
readonly method: "get";
|
|
1753
3083
|
readonly path: "/notification";
|
|
1754
3084
|
readonly role: "getNotifications";
|
|
1755
3085
|
readonly name: "Get notifications";
|
|
3086
|
+
readonly response_200: {
|
|
3087
|
+
notifications: import("./inputsDefault").NotificationBase<TId_11, TDate_11>[];
|
|
3088
|
+
count: number;
|
|
3089
|
+
unreadCount: number;
|
|
3090
|
+
};
|
|
3091
|
+
readonly response_500: {
|
|
3092
|
+
message: string;
|
|
3093
|
+
error: string;
|
|
3094
|
+
};
|
|
1756
3095
|
}, {
|
|
1757
3096
|
readonly method: "get";
|
|
1758
3097
|
readonly path: "/notification/:id";
|
|
1759
3098
|
readonly role: "getNotificationById";
|
|
1760
3099
|
readonly name: "Get notification by ID";
|
|
3100
|
+
readonly response_200: {
|
|
3101
|
+
notification: import("./inputsDefault").NotificationBase<TId_11, TDate_11> | null;
|
|
3102
|
+
message: string;
|
|
3103
|
+
};
|
|
3104
|
+
readonly response_404: {
|
|
3105
|
+
message: string;
|
|
3106
|
+
error: string;
|
|
3107
|
+
};
|
|
1761
3108
|
}, {
|
|
1762
3109
|
readonly method: "put";
|
|
1763
3110
|
readonly path: "/notification/:id";
|
|
1764
3111
|
readonly role: "putNotificationById";
|
|
1765
3112
|
readonly name: "Update notification";
|
|
3113
|
+
readonly response_200: {
|
|
3114
|
+
notification: import("./inputsDefault").NotificationBase<TId_11, TDate_11>;
|
|
3115
|
+
message: string;
|
|
3116
|
+
};
|
|
3117
|
+
readonly response_404: {
|
|
3118
|
+
notification: import("./inputsDefault").NotificationBase<TId_11, TDate_11> | null;
|
|
3119
|
+
message: string;
|
|
3120
|
+
};
|
|
3121
|
+
readonly response_500: {
|
|
3122
|
+
message: string;
|
|
3123
|
+
error: string;
|
|
3124
|
+
};
|
|
1766
3125
|
}, {
|
|
1767
3126
|
readonly method: "delete";
|
|
1768
3127
|
readonly path: "/notification/:id";
|
|
1769
3128
|
readonly role: "deleteNotificationById";
|
|
1770
3129
|
readonly name: "Delete notification";
|
|
3130
|
+
readonly response_200: {
|
|
3131
|
+
notification: import("./inputsDefault").NotificationBase<TId_11, TDate_11>;
|
|
3132
|
+
message: string;
|
|
3133
|
+
};
|
|
3134
|
+
readonly response_404: {
|
|
3135
|
+
notification: import("./inputsDefault").NotificationBase<TId_11, TDate_11> | null;
|
|
3136
|
+
message: string;
|
|
3137
|
+
};
|
|
3138
|
+
readonly response_500: {
|
|
3139
|
+
message: string;
|
|
3140
|
+
error: string;
|
|
3141
|
+
};
|
|
1771
3142
|
}, {
|
|
1772
3143
|
readonly method: "post";
|
|
1773
3144
|
readonly path: "/page";
|
|
1774
3145
|
readonly role: "postPage";
|
|
1775
3146
|
readonly name: "Create page";
|
|
3147
|
+
readonly response_201: {
|
|
3148
|
+
page: import("./inputsDefault").PageBase<TId_12, TDate_12>;
|
|
3149
|
+
message: string;
|
|
3150
|
+
};
|
|
3151
|
+
readonly response_500: {
|
|
3152
|
+
message: string;
|
|
3153
|
+
error: string;
|
|
3154
|
+
};
|
|
1776
3155
|
}, {
|
|
1777
3156
|
readonly method: "post";
|
|
1778
3157
|
readonly path: "/page/trigger/:id";
|
|
1779
3158
|
readonly role: "postPageTriggerById";
|
|
1780
3159
|
readonly name: "Trigger page by ID";
|
|
3160
|
+
readonly response_200: Record<string, never>;
|
|
3161
|
+
readonly response_404: {
|
|
3162
|
+
page: import("./inputsDefault").PageBase<TId_12, TDate_12> | null;
|
|
3163
|
+
message: string;
|
|
3164
|
+
};
|
|
3165
|
+
readonly response_500: {
|
|
3166
|
+
message: string;
|
|
3167
|
+
error: string;
|
|
3168
|
+
};
|
|
1781
3169
|
}, {
|
|
1782
3170
|
readonly method: "get";
|
|
1783
3171
|
readonly path: "/page";
|
|
1784
3172
|
readonly role: "getPages";
|
|
1785
3173
|
readonly name: "Get pages";
|
|
3174
|
+
readonly response_200: {
|
|
3175
|
+
pages: import("./inputsDefault").PageBase<TId_12, TDate_12>[];
|
|
3176
|
+
count: number;
|
|
3177
|
+
};
|
|
3178
|
+
readonly response_500: {
|
|
3179
|
+
message: string;
|
|
3180
|
+
error: string;
|
|
3181
|
+
};
|
|
1786
3182
|
}, {
|
|
1787
3183
|
readonly method: "get";
|
|
1788
3184
|
readonly path: "/page/:id";
|
|
1789
3185
|
readonly role: "getPageById";
|
|
1790
3186
|
readonly name: "Get page by ID";
|
|
3187
|
+
readonly response_200: {
|
|
3188
|
+
page: import("./inputsDefault").PageBase<TId_12, TDate_12> | null;
|
|
3189
|
+
message: string;
|
|
3190
|
+
};
|
|
3191
|
+
readonly response_404: {
|
|
3192
|
+
message: string;
|
|
3193
|
+
error: string;
|
|
3194
|
+
};
|
|
1791
3195
|
}, {
|
|
1792
3196
|
readonly method: "put";
|
|
1793
3197
|
readonly path: "/page/:id";
|
|
1794
3198
|
readonly role: "putPageById";
|
|
1795
3199
|
readonly name: "Update page";
|
|
3200
|
+
readonly response_200: {
|
|
3201
|
+
page: import("./inputsDefault").PageBase<TId_12, TDate_12>;
|
|
3202
|
+
message: string;
|
|
3203
|
+
};
|
|
3204
|
+
readonly response_404: {
|
|
3205
|
+
page: import("./inputsDefault").PageBase<TId_12, TDate_12> | null;
|
|
3206
|
+
message: string;
|
|
3207
|
+
};
|
|
3208
|
+
readonly response_500: {
|
|
3209
|
+
message: string;
|
|
3210
|
+
error: string;
|
|
3211
|
+
};
|
|
1796
3212
|
}, {
|
|
1797
3213
|
readonly method: "delete";
|
|
1798
3214
|
readonly path: "/page/:id";
|
|
1799
3215
|
readonly role: "deletePageById";
|
|
1800
3216
|
readonly name: "Delete page";
|
|
3217
|
+
readonly response_200: {
|
|
3218
|
+
page: import("./inputsDefault").PageBase<TId_12, TDate_12>;
|
|
3219
|
+
message: string;
|
|
3220
|
+
};
|
|
3221
|
+
readonly response_404: {
|
|
3222
|
+
page: import("./inputsDefault").PageBase<TId_12, TDate_12> | null;
|
|
3223
|
+
message: string;
|
|
3224
|
+
};
|
|
3225
|
+
readonly response_500: {
|
|
3226
|
+
message: string;
|
|
3227
|
+
error: string;
|
|
3228
|
+
};
|
|
1801
3229
|
}, {
|
|
1802
3230
|
readonly method: "post";
|
|
1803
3231
|
readonly path: "/product";
|
|
1804
3232
|
readonly role: "postProduct";
|
|
1805
3233
|
readonly name: "Create product";
|
|
3234
|
+
readonly response_201: {
|
|
3235
|
+
product: import("./inputsDefault").ProductBase<TId_13, TDate_13>;
|
|
3236
|
+
message: string;
|
|
3237
|
+
};
|
|
3238
|
+
readonly response_500: {
|
|
3239
|
+
message: string;
|
|
3240
|
+
error: string;
|
|
3241
|
+
};
|
|
1806
3242
|
}, {
|
|
1807
3243
|
readonly method: "get";
|
|
1808
3244
|
readonly path: "/product";
|
|
1809
3245
|
readonly role: "getProducts";
|
|
1810
3246
|
readonly name: "Get products";
|
|
3247
|
+
readonly response_200: {
|
|
3248
|
+
products: import("./inputsDefault").ProductBase<TId_13, TDate_13>[];
|
|
3249
|
+
count: number;
|
|
3250
|
+
};
|
|
3251
|
+
readonly response_500: {
|
|
3252
|
+
message: string;
|
|
3253
|
+
error: string;
|
|
3254
|
+
};
|
|
1811
3255
|
}, {
|
|
1812
3256
|
readonly method: "get";
|
|
1813
3257
|
readonly path: "/product/:id";
|
|
1814
3258
|
readonly role: "getProductById";
|
|
1815
3259
|
readonly name: "Get product";
|
|
3260
|
+
readonly response_200: {
|
|
3261
|
+
product: import("./inputsDefault").ProductBase<TId_13, TDate_13> | null;
|
|
3262
|
+
message: string;
|
|
3263
|
+
};
|
|
3264
|
+
readonly response_404: {
|
|
3265
|
+
message: string;
|
|
3266
|
+
error: string;
|
|
3267
|
+
};
|
|
1816
3268
|
}, {
|
|
1817
3269
|
readonly method: "put";
|
|
1818
3270
|
readonly path: "/product/:id";
|
|
1819
3271
|
readonly role: "putProductById";
|
|
1820
3272
|
readonly name: "Update product";
|
|
3273
|
+
readonly response_200: {
|
|
3274
|
+
product: import("./inputsDefault").ProductBase<TId_13, TDate_13>;
|
|
3275
|
+
message: string;
|
|
3276
|
+
};
|
|
3277
|
+
readonly response_404: {
|
|
3278
|
+
product: import("./inputsDefault").ProductBase<TId_13, TDate_13> | null;
|
|
3279
|
+
message: string;
|
|
3280
|
+
};
|
|
3281
|
+
readonly response_500: {
|
|
3282
|
+
message: string;
|
|
3283
|
+
error: string;
|
|
3284
|
+
};
|
|
1821
3285
|
}, {
|
|
1822
3286
|
readonly method: "delete";
|
|
1823
3287
|
readonly path: "/product/:id";
|
|
1824
3288
|
readonly role: "deleteProductById";
|
|
1825
3289
|
readonly name: "Delete product";
|
|
3290
|
+
readonly response_200: {
|
|
3291
|
+
product: import("./inputsDefault").ProductBase<TId_13, TDate_13>;
|
|
3292
|
+
message: string;
|
|
3293
|
+
};
|
|
3294
|
+
readonly response_404: {
|
|
3295
|
+
product: import("./inputsDefault").ProductBase<TId_13, TDate_13> | null;
|
|
3296
|
+
message: string;
|
|
3297
|
+
};
|
|
3298
|
+
readonly response_500: {
|
|
3299
|
+
message: string;
|
|
3300
|
+
error: string;
|
|
3301
|
+
};
|
|
1826
3302
|
}, {
|
|
1827
3303
|
readonly method: "post";
|
|
1828
3304
|
readonly path: "/prospect";
|
|
1829
3305
|
readonly role: "postProspect";
|
|
1830
3306
|
readonly name: "Create prospect";
|
|
3307
|
+
readonly response_201: {
|
|
3308
|
+
prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14>;
|
|
3309
|
+
message: string;
|
|
3310
|
+
};
|
|
3311
|
+
readonly response_500: {
|
|
3312
|
+
message: string;
|
|
3313
|
+
error: string;
|
|
3314
|
+
};
|
|
1831
3315
|
}, {
|
|
1832
3316
|
readonly method: "post";
|
|
1833
3317
|
readonly path: "/prospect/subscribe";
|
|
1834
3318
|
readonly role: "postProspectSubscribe";
|
|
1835
3319
|
readonly name: "Subscribe prospect";
|
|
3320
|
+
readonly response_201: {
|
|
3321
|
+
prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14>;
|
|
3322
|
+
message: string;
|
|
3323
|
+
};
|
|
3324
|
+
readonly response_500: {
|
|
3325
|
+
message: string;
|
|
3326
|
+
error: string;
|
|
3327
|
+
};
|
|
1836
3328
|
}, {
|
|
1837
3329
|
readonly method: "get";
|
|
1838
3330
|
readonly path: "/prospect";
|
|
1839
3331
|
readonly role: "getProspects";
|
|
1840
3332
|
readonly name: "Get prospects";
|
|
3333
|
+
readonly response_200: {
|
|
3334
|
+
prospects: import("./inputsDefault").ProspectBase<TId_14, TDate_14>[];
|
|
3335
|
+
count: number;
|
|
3336
|
+
new: number;
|
|
3337
|
+
};
|
|
3338
|
+
readonly response_500: {
|
|
3339
|
+
message: string;
|
|
3340
|
+
error: string;
|
|
3341
|
+
};
|
|
1841
3342
|
}, {
|
|
1842
3343
|
readonly method: "get";
|
|
1843
3344
|
readonly path: "/prospect/count/new";
|
|
1844
3345
|
readonly role: "getProspectCountNew";
|
|
1845
3346
|
readonly name: "Get new prospect count";
|
|
3347
|
+
readonly response_200: {
|
|
3348
|
+
new: number;
|
|
3349
|
+
};
|
|
3350
|
+
readonly response_500: {
|
|
3351
|
+
message: string;
|
|
3352
|
+
error: string;
|
|
3353
|
+
};
|
|
1846
3354
|
}, {
|
|
1847
3355
|
readonly method: "get";
|
|
1848
3356
|
readonly path: "/prospect/:id";
|
|
1849
3357
|
readonly role: "getProspectById";
|
|
1850
3358
|
readonly name: "Get prospect by ID";
|
|
3359
|
+
readonly response_200: {
|
|
3360
|
+
prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14> | null;
|
|
3361
|
+
message: string;
|
|
3362
|
+
};
|
|
3363
|
+
readonly response_404: {
|
|
3364
|
+
message: string;
|
|
3365
|
+
error: string;
|
|
3366
|
+
};
|
|
1851
3367
|
}, {
|
|
1852
3368
|
readonly method: "get";
|
|
1853
3369
|
readonly path: "/prospect/email/track";
|
|
1854
3370
|
readonly role: "getProspectEmailTrack";
|
|
1855
3371
|
readonly name: "Track prospect email";
|
|
3372
|
+
readonly response_200: {
|
|
3373
|
+
message: string;
|
|
3374
|
+
};
|
|
3375
|
+
readonly response_302: Record<string, never>;
|
|
3376
|
+
readonly response_400: {
|
|
3377
|
+
message: string;
|
|
3378
|
+
event?: string;
|
|
3379
|
+
};
|
|
3380
|
+
readonly response_500: {
|
|
3381
|
+
message: string;
|
|
3382
|
+
error: string;
|
|
3383
|
+
};
|
|
1856
3384
|
}, {
|
|
1857
3385
|
readonly method: "put";
|
|
1858
3386
|
readonly path: "/prospect/:id";
|
|
1859
3387
|
readonly role: "putProspectById";
|
|
1860
3388
|
readonly name: "Update prospect";
|
|
3389
|
+
readonly response_200: {
|
|
3390
|
+
prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14>;
|
|
3391
|
+
message: string;
|
|
3392
|
+
};
|
|
3393
|
+
readonly response_404: {
|
|
3394
|
+
prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14> | null;
|
|
3395
|
+
message: string;
|
|
3396
|
+
};
|
|
3397
|
+
readonly response_500: {
|
|
3398
|
+
message: string;
|
|
3399
|
+
error: string;
|
|
3400
|
+
};
|
|
1861
3401
|
}, {
|
|
1862
3402
|
readonly method: "put";
|
|
1863
3403
|
readonly path: "/prospect/opened/:id";
|
|
1864
3404
|
readonly role: "putProspectOpenedById";
|
|
1865
3405
|
readonly name: "Mark prospect opened";
|
|
3406
|
+
readonly response_200: {
|
|
3407
|
+
prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14>;
|
|
3408
|
+
message: string;
|
|
3409
|
+
};
|
|
3410
|
+
readonly response_404: {
|
|
3411
|
+
prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14> | null;
|
|
3412
|
+
message: string;
|
|
3413
|
+
};
|
|
3414
|
+
readonly response_500: {
|
|
3415
|
+
message: string;
|
|
3416
|
+
error: string;
|
|
3417
|
+
};
|
|
1866
3418
|
}, {
|
|
1867
3419
|
readonly method: "delete";
|
|
1868
3420
|
readonly path: "/prospect/:id";
|
|
1869
3421
|
readonly role: "deleteProspectById";
|
|
1870
3422
|
readonly name: "Delete prospect";
|
|
3423
|
+
readonly response_200: {
|
|
3424
|
+
prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14>;
|
|
3425
|
+
message: string;
|
|
3426
|
+
};
|
|
3427
|
+
readonly response_404: {
|
|
3428
|
+
prospect: import("./inputsDefault").ProspectBase<TId_14, TDate_14> | null;
|
|
3429
|
+
message: string;
|
|
3430
|
+
};
|
|
3431
|
+
readonly response_500: {
|
|
3432
|
+
message: string;
|
|
3433
|
+
error: string;
|
|
3434
|
+
};
|
|
1871
3435
|
}, {
|
|
1872
3436
|
readonly method: "post";
|
|
1873
3437
|
readonly path: "/report";
|