@ibiliaze/global-vars 1.138.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 +9 -8
- package/dist/ticketops/roles/blog.js +52 -49
- package/dist/ticketops/roles/campaign.d.ts +14 -11
- package/dist/ticketops/roles/campaign.js +84 -81
- 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 +1367 -71
- 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: {
|
|
@@ -314,7 +314,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
314
314
|
readonly role: "postBlog";
|
|
315
315
|
readonly name: "Create blog";
|
|
316
316
|
readonly response_201: {
|
|
317
|
-
blog:
|
|
317
|
+
blog: import("./inputsDefault").BlogBase<TId_3, TDate_3>;
|
|
318
318
|
message: string;
|
|
319
319
|
};
|
|
320
320
|
readonly response_500: {
|
|
@@ -327,7 +327,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
327
327
|
readonly role: "getBlogs";
|
|
328
328
|
readonly name: "Get blogs";
|
|
329
329
|
readonly response_200: {
|
|
330
|
-
blogs:
|
|
330
|
+
blogs: import("./inputsDefault").BlogBase<TId_3, TDate_3>[];
|
|
331
331
|
count: number;
|
|
332
332
|
};
|
|
333
333
|
readonly response_500: {
|
|
@@ -340,7 +340,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
340
340
|
readonly role: "getBlogById";
|
|
341
341
|
readonly name: "Get blog";
|
|
342
342
|
readonly response_200: {
|
|
343
|
-
blog:
|
|
343
|
+
blog: import("./inputsDefault").BlogBase<TId_3, TDate_3> | null;
|
|
344
344
|
message: string;
|
|
345
345
|
};
|
|
346
346
|
readonly response_404: {
|
|
@@ -353,11 +353,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
353
353
|
readonly role: "putBlogById";
|
|
354
354
|
readonly name: "Update blog";
|
|
355
355
|
readonly response_200: {
|
|
356
|
-
blog:
|
|
356
|
+
blog: import("./inputsDefault").BlogBase<TId_3, TDate_3>;
|
|
357
357
|
message: string;
|
|
358
358
|
};
|
|
359
359
|
readonly response_404: {
|
|
360
|
-
blog:
|
|
360
|
+
blog: import("./inputsDefault").BlogBase<TId_3, TDate_3> | null;
|
|
361
361
|
message: string;
|
|
362
362
|
};
|
|
363
363
|
readonly response_500: {
|
|
@@ -370,11 +370,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
370
370
|
readonly role: "deleteBlogById";
|
|
371
371
|
readonly name: "Delete blog";
|
|
372
372
|
readonly response_200: {
|
|
373
|
-
blog:
|
|
373
|
+
blog: import("./inputsDefault").BlogBase<TId_3, TDate_3>;
|
|
374
374
|
message: string;
|
|
375
375
|
};
|
|
376
376
|
readonly response_404: {
|
|
377
|
-
blog:
|
|
377
|
+
blog: import("./inputsDefault").BlogBase<TId_3, TDate_3> | null;
|
|
378
378
|
message: string;
|
|
379
379
|
};
|
|
380
380
|
readonly response_500: {
|
|
@@ -387,7 +387,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
387
387
|
readonly role: "postCampaign";
|
|
388
388
|
readonly name: "Create campaign";
|
|
389
389
|
readonly response_201: {
|
|
390
|
-
campaign:
|
|
390
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4>;
|
|
391
391
|
message: string;
|
|
392
392
|
};
|
|
393
393
|
readonly response_500: {
|
|
@@ -400,7 +400,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
400
400
|
readonly role: "postCampaignStartById";
|
|
401
401
|
readonly name: "Start campaign by ID";
|
|
402
402
|
readonly response_200: {
|
|
403
|
-
campaign:
|
|
403
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4>;
|
|
404
404
|
message: string;
|
|
405
405
|
};
|
|
406
406
|
readonly response_400: {
|
|
@@ -422,7 +422,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
422
422
|
readonly role: "postCampaignStopById";
|
|
423
423
|
readonly name: "Stop campaign by ID";
|
|
424
424
|
readonly response_200: {
|
|
425
|
-
campaign:
|
|
425
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4>;
|
|
426
426
|
message: string;
|
|
427
427
|
};
|
|
428
428
|
readonly response_404: {
|
|
@@ -438,7 +438,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
438
438
|
readonly role: "getCampaigns";
|
|
439
439
|
readonly name: "Get campaigns";
|
|
440
440
|
readonly response_200: {
|
|
441
|
-
campaigns:
|
|
441
|
+
campaigns: import("./inputsDefault").CampaignBase<TId_4, TDate_4>[];
|
|
442
442
|
count: number;
|
|
443
443
|
};
|
|
444
444
|
readonly response_500: {
|
|
@@ -451,7 +451,9 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
451
451
|
readonly role: "getCampaignInsightById";
|
|
452
452
|
readonly name: "Get campaign insight";
|
|
453
453
|
readonly response_200: {
|
|
454
|
-
stages:
|
|
454
|
+
stages: (import("./inputsDefault").CampaignStageBase<TId_4> & {
|
|
455
|
+
stageId: string;
|
|
456
|
+
}[]) | null;
|
|
455
457
|
};
|
|
456
458
|
readonly response_400: {
|
|
457
459
|
message: string;
|
|
@@ -466,7 +468,7 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
466
468
|
readonly role: "getCampaignById";
|
|
467
469
|
readonly name: "Get campaign";
|
|
468
470
|
readonly response_200: {
|
|
469
|
-
campaign:
|
|
471
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4> | null;
|
|
470
472
|
message: string;
|
|
471
473
|
};
|
|
472
474
|
readonly response_404: {
|
|
@@ -479,11 +481,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
479
481
|
readonly role: "putCampaignById";
|
|
480
482
|
readonly name: "Update campaign";
|
|
481
483
|
readonly response_200: {
|
|
482
|
-
campaign:
|
|
484
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4>;
|
|
483
485
|
message: string;
|
|
484
486
|
};
|
|
485
487
|
readonly response_404: {
|
|
486
|
-
campaign:
|
|
488
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4> | null;
|
|
487
489
|
message: string;
|
|
488
490
|
};
|
|
489
491
|
readonly response_500: {
|
|
@@ -496,11 +498,11 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
496
498
|
readonly role: "deleteCampaignById";
|
|
497
499
|
readonly name: "Delete campaign";
|
|
498
500
|
readonly response_200: {
|
|
499
|
-
campaign:
|
|
501
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4>;
|
|
500
502
|
message: string;
|
|
501
503
|
};
|
|
502
504
|
readonly response_404: {
|
|
503
|
-
campaign:
|
|
505
|
+
campaign: import("./inputsDefault").CampaignBase<TId_4, TDate_4> | null;
|
|
504
506
|
message: string;
|
|
505
507
|
};
|
|
506
508
|
readonly response_500: {
|
|
@@ -512,26 +514,74 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
512
514
|
readonly path: "/category";
|
|
513
515
|
readonly role: "postCategory";
|
|
514
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
|
+
};
|
|
515
525
|
}, {
|
|
516
526
|
readonly method: "get";
|
|
517
527
|
readonly path: "/category";
|
|
518
528
|
readonly role: "getCategories";
|
|
519
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
|
+
};
|
|
520
538
|
}, {
|
|
521
539
|
readonly method: "get";
|
|
522
540
|
readonly path: "/category/:id";
|
|
523
541
|
readonly role: "getCategoryById";
|
|
524
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
|
+
};
|
|
525
551
|
}, {
|
|
526
552
|
readonly method: "put";
|
|
527
553
|
readonly path: "/category/:id";
|
|
528
554
|
readonly role: "putCategoryById";
|
|
529
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
|
+
};
|
|
530
568
|
}, {
|
|
531
569
|
readonly method: "delete";
|
|
532
570
|
readonly path: "/category/:id";
|
|
533
571
|
readonly role: "deleteCategoryById";
|
|
534
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
|
+
};
|
|
535
585
|
}, {
|
|
536
586
|
readonly method: "post";
|
|
537
587
|
readonly path: "/email";
|
|
@@ -552,46 +602,131 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
552
602
|
readonly path: "/event/book";
|
|
553
603
|
readonly role: "postEventBook";
|
|
554
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
|
+
};
|
|
555
616
|
}, {
|
|
556
617
|
readonly method: "post";
|
|
557
618
|
readonly path: "/event";
|
|
558
619
|
readonly role: "postEvent";
|
|
559
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
|
+
};
|
|
560
629
|
}, {
|
|
561
630
|
readonly method: "post";
|
|
562
631
|
readonly path: "/events";
|
|
563
632
|
readonly role: "postEvents";
|
|
564
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
|
+
};
|
|
565
642
|
}, {
|
|
566
643
|
readonly method: "post";
|
|
567
644
|
readonly path: "/event/book/cancel";
|
|
568
645
|
readonly role: "postEventBookCancel";
|
|
569
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
|
+
};
|
|
570
657
|
}, {
|
|
571
658
|
readonly method: "get";
|
|
572
659
|
readonly path: "/event";
|
|
573
660
|
readonly role: "getEvents";
|
|
574
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
|
+
};
|
|
575
670
|
}, {
|
|
576
671
|
readonly method: "get";
|
|
577
672
|
readonly path: "/event/:id";
|
|
578
673
|
readonly role: "getEventById";
|
|
579
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
|
+
};
|
|
580
683
|
}, {
|
|
581
684
|
readonly method: "put";
|
|
582
685
|
readonly path: "/event/:id";
|
|
583
686
|
readonly role: "putEventById";
|
|
584
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
|
+
};
|
|
585
700
|
}, {
|
|
586
701
|
readonly method: "delete";
|
|
587
702
|
readonly path: "/events";
|
|
588
703
|
readonly role: "deleteEvents";
|
|
589
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
|
+
};
|
|
590
713
|
}, {
|
|
591
714
|
readonly method: "delete";
|
|
592
715
|
readonly path: "/event/:id";
|
|
593
716
|
readonly role: "deleteEventById";
|
|
594
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
|
+
};
|
|
595
730
|
}, {
|
|
596
731
|
readonly method: "get";
|
|
597
732
|
readonly path: "/fail";
|
|
@@ -617,266 +752,779 @@ export declare const apis: <TId, TDate>() => readonly [{
|
|
|
617
752
|
readonly path: "/flow";
|
|
618
753
|
readonly role: "postFlow";
|
|
619
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
|
+
};
|
|
620
763
|
}, {
|
|
621
764
|
readonly method: "get";
|
|
622
765
|
readonly path: "/flow";
|
|
623
766
|
readonly role: "getFlows";
|
|
624
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
|
+
};
|
|
625
776
|
}, {
|
|
626
777
|
readonly method: "get";
|
|
627
778
|
readonly path: "/flow/api";
|
|
628
779
|
readonly role: "getFlowApis";
|
|
629
780
|
readonly name: "Get APIs";
|
|
781
|
+
readonly response_200: {
|
|
782
|
+
apis: unknown;
|
|
783
|
+
};
|
|
784
|
+
readonly response_500: {
|
|
785
|
+
message: string;
|
|
786
|
+
error: string;
|
|
787
|
+
};
|
|
630
788
|
}, {
|
|
631
789
|
readonly method: "get";
|
|
632
790
|
readonly path: "/flow/:id";
|
|
633
791
|
readonly role: "getFlowById";
|
|
634
792
|
readonly name: "Get flow";
|
|
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
|
+
};
|
|
635
801
|
}, {
|
|
636
802
|
readonly method: "put";
|
|
637
803
|
readonly path: "/flow/:id";
|
|
638
804
|
readonly role: "putFlowById";
|
|
639
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
|
+
};
|
|
640
819
|
}, {
|
|
641
820
|
readonly method: "delete";
|
|
642
821
|
readonly path: "/flow/:id";
|
|
643
822
|
readonly role: "deleteFlowById";
|
|
644
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
|
+
};
|
|
645
836
|
}, {
|
|
646
837
|
readonly method: "post";
|
|
647
838
|
readonly path: "/fixture";
|
|
648
839
|
readonly role: "postFixture";
|
|
649
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
|
+
};
|
|
650
849
|
}, {
|
|
651
850
|
readonly method: "get";
|
|
652
851
|
readonly path: "/fixture";
|
|
653
852
|
readonly role: "getFixtures";
|
|
654
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
|
+
};
|
|
655
862
|
}, {
|
|
656
863
|
readonly method: "get";
|
|
657
864
|
readonly path: "/fixture/:id";
|
|
658
865
|
readonly role: "getFixtureById";
|
|
659
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
|
+
};
|
|
660
875
|
}, {
|
|
661
876
|
readonly method: "put";
|
|
662
877
|
readonly path: "/fixture/:id";
|
|
663
878
|
readonly role: "putFixtureById";
|
|
664
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
|
+
};
|
|
665
892
|
}, {
|
|
666
893
|
readonly method: "delete";
|
|
667
894
|
readonly path: "/fixture/:id";
|
|
668
895
|
readonly role: "deleteFixtureById";
|
|
669
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
|
+
};
|
|
670
909
|
}, {
|
|
671
910
|
readonly method: "post";
|
|
672
911
|
readonly path: "/group";
|
|
673
912
|
readonly role: "postGroup";
|
|
674
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
|
+
};
|
|
675
922
|
}, {
|
|
676
923
|
readonly method: "get";
|
|
677
924
|
readonly path: "/group";
|
|
678
925
|
readonly role: "getGroups";
|
|
679
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
|
+
};
|
|
680
935
|
}, {
|
|
681
936
|
readonly method: "get";
|
|
682
937
|
readonly path: "/group/:id";
|
|
683
938
|
readonly role: "getGroupById";
|
|
684
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
|
+
};
|
|
685
948
|
}, {
|
|
686
949
|
readonly method: "put";
|
|
687
950
|
readonly path: "/group/:id";
|
|
688
951
|
readonly role: "putGroupById";
|
|
689
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
|
+
};
|
|
690
966
|
}, {
|
|
691
967
|
readonly method: "delete";
|
|
692
968
|
readonly path: "/group/:id";
|
|
693
969
|
readonly role: "deleteGroupById";
|
|
694
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
|
+
};
|
|
695
983
|
}, {
|
|
696
984
|
readonly method: "post";
|
|
697
985
|
readonly path: "/job";
|
|
698
986
|
readonly role: "postJob";
|
|
699
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
|
+
};
|
|
700
996
|
}, {
|
|
701
997
|
readonly method: "post";
|
|
702
998
|
readonly path: "/job/many";
|
|
703
999
|
readonly role: "postJobMany";
|
|
704
1000
|
readonly name: "Create many jobs";
|
|
705
|
-
|
|
706
|
-
|
|
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
|
+
};
|
|
1009
|
+
}, {
|
|
1010
|
+
readonly method: "post";
|
|
707
1011
|
readonly path: "/job/start/:id";
|
|
708
1012
|
readonly role: "postJobStartById";
|
|
709
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
|
+
};
|
|
710
1025
|
}, {
|
|
711
1026
|
readonly method: "get";
|
|
712
1027
|
readonly path: "/job";
|
|
713
1028
|
readonly role: "getJobs";
|
|
714
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
|
+
};
|
|
715
1038
|
}, {
|
|
716
1039
|
readonly method: "get";
|
|
717
1040
|
readonly path: "/job/:id";
|
|
718
1041
|
readonly role: "getJobById";
|
|
719
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
|
+
};
|
|
720
1051
|
}, {
|
|
721
1052
|
readonly method: "get";
|
|
722
1053
|
readonly path: "/job/details/:id";
|
|
723
1054
|
readonly role: "getJobDetailsById";
|
|
724
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
|
+
};
|
|
725
1072
|
}, {
|
|
726
1073
|
readonly method: "put";
|
|
727
1074
|
readonly path: "/job/:id";
|
|
728
1075
|
readonly role: "putJobById";
|
|
729
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
|
+
};
|
|
730
1089
|
}, {
|
|
731
1090
|
readonly method: "delete";
|
|
732
1091
|
readonly path: "/job/:id";
|
|
733
1092
|
readonly role: "deleteJobById";
|
|
734
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
|
+
};
|
|
735
1106
|
}, {
|
|
736
1107
|
readonly method: "get";
|
|
737
1108
|
readonly path: "/log";
|
|
738
1109
|
readonly role: "getLogs";
|
|
739
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
|
+
};
|
|
740
1119
|
}, {
|
|
741
1120
|
readonly method: "delete";
|
|
742
1121
|
readonly path: "/log/all";
|
|
743
1122
|
readonly role: "deleteLogsAll";
|
|
744
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
|
+
};
|
|
745
1131
|
}, {
|
|
746
1132
|
readonly method: "delete";
|
|
747
1133
|
readonly path: "/log/:id";
|
|
748
1134
|
readonly role: "deleteLogById";
|
|
749
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
|
+
};
|
|
750
1148
|
}, {
|
|
751
1149
|
readonly method: "post";
|
|
752
1150
|
readonly path: "/notification";
|
|
753
1151
|
readonly role: "postNotification";
|
|
754
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
|
+
};
|
|
755
1161
|
}, {
|
|
756
1162
|
readonly method: "post";
|
|
757
1163
|
readonly path: "/notification/read";
|
|
758
1164
|
readonly role: "postNotificationRead";
|
|
759
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
|
+
};
|
|
760
1174
|
}, {
|
|
761
1175
|
readonly method: "get";
|
|
762
1176
|
readonly path: "/notification";
|
|
763
1177
|
readonly role: "getNotifications";
|
|
764
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
|
+
};
|
|
765
1188
|
}, {
|
|
766
1189
|
readonly method: "get";
|
|
767
1190
|
readonly path: "/notification/:id";
|
|
768
1191
|
readonly role: "getNotificationById";
|
|
769
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
|
+
};
|
|
770
1201
|
}, {
|
|
771
1202
|
readonly method: "put";
|
|
772
1203
|
readonly path: "/notification/:id";
|
|
773
1204
|
readonly role: "putNotificationById";
|
|
774
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
|
+
};
|
|
775
1218
|
}, {
|
|
776
1219
|
readonly method: "delete";
|
|
777
1220
|
readonly path: "/notification/:id";
|
|
778
1221
|
readonly role: "deleteNotificationById";
|
|
779
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
|
+
};
|
|
780
1235
|
}, {
|
|
781
1236
|
readonly method: "post";
|
|
782
1237
|
readonly path: "/page";
|
|
783
1238
|
readonly role: "postPage";
|
|
784
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
|
+
};
|
|
785
1248
|
}, {
|
|
786
1249
|
readonly method: "post";
|
|
787
1250
|
readonly path: "/page/trigger/:id";
|
|
788
1251
|
readonly role: "postPageTriggerById";
|
|
789
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
|
+
};
|
|
790
1262
|
}, {
|
|
791
1263
|
readonly method: "get";
|
|
792
1264
|
readonly path: "/page";
|
|
793
1265
|
readonly role: "getPages";
|
|
794
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
|
+
};
|
|
795
1275
|
}, {
|
|
796
1276
|
readonly method: "get";
|
|
797
1277
|
readonly path: "/page/:id";
|
|
798
1278
|
readonly role: "getPageById";
|
|
799
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
|
+
};
|
|
800
1288
|
}, {
|
|
801
1289
|
readonly method: "put";
|
|
802
1290
|
readonly path: "/page/:id";
|
|
803
1291
|
readonly role: "putPageById";
|
|
804
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
|
+
};
|
|
805
1305
|
}, {
|
|
806
1306
|
readonly method: "delete";
|
|
807
1307
|
readonly path: "/page/:id";
|
|
808
1308
|
readonly role: "deletePageById";
|
|
809
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
|
+
};
|
|
810
1322
|
}, {
|
|
811
1323
|
readonly method: "post";
|
|
812
1324
|
readonly path: "/product";
|
|
813
1325
|
readonly role: "postProduct";
|
|
814
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
|
+
};
|
|
815
1335
|
}, {
|
|
816
1336
|
readonly method: "get";
|
|
817
1337
|
readonly path: "/product";
|
|
818
1338
|
readonly role: "getProducts";
|
|
819
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
|
+
};
|
|
820
1348
|
}, {
|
|
821
1349
|
readonly method: "get";
|
|
822
1350
|
readonly path: "/product/:id";
|
|
823
1351
|
readonly role: "getProductById";
|
|
824
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
|
+
};
|
|
825
1361
|
}, {
|
|
826
1362
|
readonly method: "put";
|
|
827
1363
|
readonly path: "/product/:id";
|
|
828
1364
|
readonly role: "putProductById";
|
|
829
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
|
+
};
|
|
830
1378
|
}, {
|
|
831
1379
|
readonly method: "delete";
|
|
832
1380
|
readonly path: "/product/:id";
|
|
833
1381
|
readonly role: "deleteProductById";
|
|
834
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
|
+
};
|
|
835
1395
|
}, {
|
|
836
1396
|
readonly method: "post";
|
|
837
1397
|
readonly path: "/prospect";
|
|
838
1398
|
readonly role: "postProspect";
|
|
839
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
|
+
};
|
|
840
1408
|
}, {
|
|
841
1409
|
readonly method: "post";
|
|
842
1410
|
readonly path: "/prospect/subscribe";
|
|
843
1411
|
readonly role: "postProspectSubscribe";
|
|
844
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
|
+
};
|
|
845
1421
|
}, {
|
|
846
1422
|
readonly method: "get";
|
|
847
1423
|
readonly path: "/prospect";
|
|
848
1424
|
readonly role: "getProspects";
|
|
849
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
|
+
};
|
|
850
1435
|
}, {
|
|
851
1436
|
readonly method: "get";
|
|
852
1437
|
readonly path: "/prospect/count/new";
|
|
853
1438
|
readonly role: "getProspectCountNew";
|
|
854
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
|
+
};
|
|
855
1447
|
}, {
|
|
856
1448
|
readonly method: "get";
|
|
857
1449
|
readonly path: "/prospect/:id";
|
|
858
1450
|
readonly role: "getProspectById";
|
|
859
1451
|
readonly name: "Get prospect by ID";
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
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
|
+
};
|
|
1460
|
+
}, {
|
|
1461
|
+
readonly method: "get";
|
|
1462
|
+
readonly path: "/prospect/email/track";
|
|
1463
|
+
readonly role: "getProspectEmailTrack";
|
|
864
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
|
+
};
|
|
865
1477
|
}, {
|
|
866
1478
|
readonly method: "put";
|
|
867
1479
|
readonly path: "/prospect/:id";
|
|
868
1480
|
readonly role: "putProspectById";
|
|
869
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
|
+
};
|
|
870
1494
|
}, {
|
|
871
1495
|
readonly method: "put";
|
|
872
1496
|
readonly path: "/prospect/opened/:id";
|
|
873
1497
|
readonly role: "putProspectOpenedById";
|
|
874
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
|
+
};
|
|
875
1511
|
}, {
|
|
876
1512
|
readonly method: "delete";
|
|
877
1513
|
readonly path: "/prospect/:id";
|
|
878
1514
|
readonly role: "deleteProspectById";
|
|
879
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
|
+
};
|
|
880
1528
|
}, {
|
|
881
1529
|
readonly method: "post";
|
|
882
1530
|
readonly path: "/report";
|
|
@@ -1401,7 +2049,7 @@ declare const allApis: readonly [{
|
|
|
1401
2049
|
readonly role: "postAdminToken";
|
|
1402
2050
|
readonly name: "Login admin";
|
|
1403
2051
|
readonly response_200: {
|
|
1404
|
-
admin:
|
|
2052
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1405
2053
|
message: string;
|
|
1406
2054
|
};
|
|
1407
2055
|
readonly response_401: {
|
|
@@ -1444,7 +2092,7 @@ declare const allApis: readonly [{
|
|
|
1444
2092
|
readonly role: "postAdminLogout";
|
|
1445
2093
|
readonly name: "Logout admin";
|
|
1446
2094
|
readonly response_200: {
|
|
1447
|
-
admin:
|
|
2095
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1448
2096
|
message: string;
|
|
1449
2097
|
};
|
|
1450
2098
|
readonly response_500: {
|
|
@@ -1457,7 +2105,7 @@ declare const allApis: readonly [{
|
|
|
1457
2105
|
readonly role: "postAdminLogoutAll";
|
|
1458
2106
|
readonly name: "Logout all sessions";
|
|
1459
2107
|
readonly response_200: {
|
|
1460
|
-
admin:
|
|
2108
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1461
2109
|
message: string;
|
|
1462
2110
|
};
|
|
1463
2111
|
readonly response_500: {
|
|
@@ -1470,7 +2118,7 @@ declare const allApis: readonly [{
|
|
|
1470
2118
|
readonly role: "postAdminLogoutBySessionId";
|
|
1471
2119
|
readonly name: "Logout session by ID";
|
|
1472
2120
|
readonly response_200: {
|
|
1473
|
-
admin:
|
|
2121
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1474
2122
|
message: string;
|
|
1475
2123
|
};
|
|
1476
2124
|
readonly response_500: {
|
|
@@ -1483,7 +2131,7 @@ declare const allApis: readonly [{
|
|
|
1483
2131
|
readonly role: "getAdmin";
|
|
1484
2132
|
readonly name: "Get admin";
|
|
1485
2133
|
readonly response_200: {
|
|
1486
|
-
admin:
|
|
2134
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1487
2135
|
};
|
|
1488
2136
|
readonly response_500: {
|
|
1489
2137
|
message: string;
|
|
@@ -1508,7 +2156,7 @@ declare const allApis: readonly [{
|
|
|
1508
2156
|
readonly role: "getAdminPublic";
|
|
1509
2157
|
readonly name: "Get public admin";
|
|
1510
2158
|
readonly response_200: {
|
|
1511
|
-
admin: Partial<
|
|
2159
|
+
admin: Partial<import("./inputsDefault").AdminBase<TId_1, TDate_1>>;
|
|
1512
2160
|
};
|
|
1513
2161
|
readonly response_400: {
|
|
1514
2162
|
message: string;
|
|
@@ -1526,11 +2174,11 @@ declare const allApis: readonly [{
|
|
|
1526
2174
|
readonly role: "putAdmin";
|
|
1527
2175
|
readonly name: "Update admin";
|
|
1528
2176
|
readonly response_200: {
|
|
1529
|
-
admin:
|
|
2177
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1530
2178
|
message: string;
|
|
1531
2179
|
};
|
|
1532
2180
|
readonly response_404: {
|
|
1533
|
-
admin:
|
|
2181
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1> | null;
|
|
1534
2182
|
message: string;
|
|
1535
2183
|
};
|
|
1536
2184
|
readonly response_500: {
|
|
@@ -1543,11 +2191,11 @@ declare const allApis: readonly [{
|
|
|
1543
2191
|
readonly role: "putAdminPassword";
|
|
1544
2192
|
readonly name: "Update admin password";
|
|
1545
2193
|
readonly response_200: {
|
|
1546
|
-
admin:
|
|
2194
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1547
2195
|
message: string;
|
|
1548
2196
|
};
|
|
1549
2197
|
readonly response_404: {
|
|
1550
|
-
admin:
|
|
2198
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1> | null;
|
|
1551
2199
|
message: string;
|
|
1552
2200
|
};
|
|
1553
2201
|
readonly response_500: {
|
|
@@ -1560,7 +2208,7 @@ declare const allApis: readonly [{
|
|
|
1560
2208
|
readonly role: "deleteAdmin";
|
|
1561
2209
|
readonly name: "Delete admin";
|
|
1562
2210
|
readonly response_200: {
|
|
1563
|
-
admin:
|
|
2211
|
+
admin: import("./inputsDefault").AdminBase<TId_1, TDate_1>;
|
|
1564
2212
|
message: string;
|
|
1565
2213
|
};
|
|
1566
2214
|
readonly response_500: {
|
|
@@ -1573,7 +2221,7 @@ declare const allApis: readonly [{
|
|
|
1573
2221
|
readonly role: "postBlog";
|
|
1574
2222
|
readonly name: "Create blog";
|
|
1575
2223
|
readonly response_201: {
|
|
1576
|
-
blog:
|
|
2224
|
+
blog: import("./inputsDefault").BlogBase<TId_2, TDate_2>;
|
|
1577
2225
|
message: string;
|
|
1578
2226
|
};
|
|
1579
2227
|
readonly response_500: {
|
|
@@ -1586,7 +2234,7 @@ declare const allApis: readonly [{
|
|
|
1586
2234
|
readonly role: "getBlogs";
|
|
1587
2235
|
readonly name: "Get blogs";
|
|
1588
2236
|
readonly response_200: {
|
|
1589
|
-
blogs:
|
|
2237
|
+
blogs: import("./inputsDefault").BlogBase<TId_2, TDate_2>[];
|
|
1590
2238
|
count: number;
|
|
1591
2239
|
};
|
|
1592
2240
|
readonly response_500: {
|
|
@@ -1599,7 +2247,7 @@ declare const allApis: readonly [{
|
|
|
1599
2247
|
readonly role: "getBlogById";
|
|
1600
2248
|
readonly name: "Get blog";
|
|
1601
2249
|
readonly response_200: {
|
|
1602
|
-
blog:
|
|
2250
|
+
blog: import("./inputsDefault").BlogBase<TId_2, TDate_2> | null;
|
|
1603
2251
|
message: string;
|
|
1604
2252
|
};
|
|
1605
2253
|
readonly response_404: {
|
|
@@ -1612,11 +2260,11 @@ declare const allApis: readonly [{
|
|
|
1612
2260
|
readonly role: "putBlogById";
|
|
1613
2261
|
readonly name: "Update blog";
|
|
1614
2262
|
readonly response_200: {
|
|
1615
|
-
blog:
|
|
2263
|
+
blog: import("./inputsDefault").BlogBase<TId_2, TDate_2>;
|
|
1616
2264
|
message: string;
|
|
1617
2265
|
};
|
|
1618
2266
|
readonly response_404: {
|
|
1619
|
-
blog:
|
|
2267
|
+
blog: import("./inputsDefault").BlogBase<TId_2, TDate_2> | null;
|
|
1620
2268
|
message: string;
|
|
1621
2269
|
};
|
|
1622
2270
|
readonly response_500: {
|
|
@@ -1629,11 +2277,11 @@ declare const allApis: readonly [{
|
|
|
1629
2277
|
readonly role: "deleteBlogById";
|
|
1630
2278
|
readonly name: "Delete blog";
|
|
1631
2279
|
readonly response_200: {
|
|
1632
|
-
blog:
|
|
2280
|
+
blog: import("./inputsDefault").BlogBase<TId_2, TDate_2>;
|
|
1633
2281
|
message: string;
|
|
1634
2282
|
};
|
|
1635
2283
|
readonly response_404: {
|
|
1636
|
-
blog:
|
|
2284
|
+
blog: import("./inputsDefault").BlogBase<TId_2, TDate_2> | null;
|
|
1637
2285
|
message: string;
|
|
1638
2286
|
};
|
|
1639
2287
|
readonly response_500: {
|
|
@@ -1646,7 +2294,7 @@ declare const allApis: readonly [{
|
|
|
1646
2294
|
readonly role: "postCampaign";
|
|
1647
2295
|
readonly name: "Create campaign";
|
|
1648
2296
|
readonly response_201: {
|
|
1649
|
-
campaign:
|
|
2297
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3>;
|
|
1650
2298
|
message: string;
|
|
1651
2299
|
};
|
|
1652
2300
|
readonly response_500: {
|
|
@@ -1659,7 +2307,7 @@ declare const allApis: readonly [{
|
|
|
1659
2307
|
readonly role: "postCampaignStartById";
|
|
1660
2308
|
readonly name: "Start campaign by ID";
|
|
1661
2309
|
readonly response_200: {
|
|
1662
|
-
campaign:
|
|
2310
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3>;
|
|
1663
2311
|
message: string;
|
|
1664
2312
|
};
|
|
1665
2313
|
readonly response_400: {
|
|
@@ -1681,7 +2329,7 @@ declare const allApis: readonly [{
|
|
|
1681
2329
|
readonly role: "postCampaignStopById";
|
|
1682
2330
|
readonly name: "Stop campaign by ID";
|
|
1683
2331
|
readonly response_200: {
|
|
1684
|
-
campaign:
|
|
2332
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3>;
|
|
1685
2333
|
message: string;
|
|
1686
2334
|
};
|
|
1687
2335
|
readonly response_404: {
|
|
@@ -1697,7 +2345,7 @@ declare const allApis: readonly [{
|
|
|
1697
2345
|
readonly role: "getCampaigns";
|
|
1698
2346
|
readonly name: "Get campaigns";
|
|
1699
2347
|
readonly response_200: {
|
|
1700
|
-
campaigns:
|
|
2348
|
+
campaigns: import("./inputsDefault").CampaignBase<TId_3, TDate_3>[];
|
|
1701
2349
|
count: number;
|
|
1702
2350
|
};
|
|
1703
2351
|
readonly response_500: {
|
|
@@ -1710,7 +2358,9 @@ declare const allApis: readonly [{
|
|
|
1710
2358
|
readonly role: "getCampaignInsightById";
|
|
1711
2359
|
readonly name: "Get campaign insight";
|
|
1712
2360
|
readonly response_200: {
|
|
1713
|
-
stages:
|
|
2361
|
+
stages: (import("./inputsDefault").CampaignStageBase<TId_3> & {
|
|
2362
|
+
stageId: string;
|
|
2363
|
+
}[]) | null;
|
|
1714
2364
|
};
|
|
1715
2365
|
readonly response_400: {
|
|
1716
2366
|
message: string;
|
|
@@ -1725,7 +2375,7 @@ declare const allApis: readonly [{
|
|
|
1725
2375
|
readonly role: "getCampaignById";
|
|
1726
2376
|
readonly name: "Get campaign";
|
|
1727
2377
|
readonly response_200: {
|
|
1728
|
-
campaign:
|
|
2378
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3> | null;
|
|
1729
2379
|
message: string;
|
|
1730
2380
|
};
|
|
1731
2381
|
readonly response_404: {
|
|
@@ -1738,11 +2388,11 @@ declare const allApis: readonly [{
|
|
|
1738
2388
|
readonly role: "putCampaignById";
|
|
1739
2389
|
readonly name: "Update campaign";
|
|
1740
2390
|
readonly response_200: {
|
|
1741
|
-
campaign:
|
|
2391
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3>;
|
|
1742
2392
|
message: string;
|
|
1743
2393
|
};
|
|
1744
2394
|
readonly response_404: {
|
|
1745
|
-
campaign:
|
|
2395
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3> | null;
|
|
1746
2396
|
message: string;
|
|
1747
2397
|
};
|
|
1748
2398
|
readonly response_500: {
|
|
@@ -1755,11 +2405,11 @@ declare const allApis: readonly [{
|
|
|
1755
2405
|
readonly role: "deleteCampaignById";
|
|
1756
2406
|
readonly name: "Delete campaign";
|
|
1757
2407
|
readonly response_200: {
|
|
1758
|
-
campaign:
|
|
2408
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3>;
|
|
1759
2409
|
message: string;
|
|
1760
2410
|
};
|
|
1761
2411
|
readonly response_404: {
|
|
1762
|
-
campaign:
|
|
2412
|
+
campaign: import("./inputsDefault").CampaignBase<TId_3, TDate_3> | null;
|
|
1763
2413
|
message: string;
|
|
1764
2414
|
};
|
|
1765
2415
|
readonly response_500: {
|
|
@@ -1771,26 +2421,74 @@ declare const allApis: readonly [{
|
|
|
1771
2421
|
readonly path: "/category";
|
|
1772
2422
|
readonly role: "postCategory";
|
|
1773
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
|
+
};
|
|
1774
2432
|
}, {
|
|
1775
2433
|
readonly method: "get";
|
|
1776
2434
|
readonly path: "/category";
|
|
1777
2435
|
readonly role: "getCategories";
|
|
1778
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
|
+
};
|
|
1779
2445
|
}, {
|
|
1780
2446
|
readonly method: "get";
|
|
1781
2447
|
readonly path: "/category/:id";
|
|
1782
2448
|
readonly role: "getCategoryById";
|
|
1783
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
|
+
};
|
|
1784
2458
|
}, {
|
|
1785
2459
|
readonly method: "put";
|
|
1786
2460
|
readonly path: "/category/:id";
|
|
1787
2461
|
readonly role: "putCategoryById";
|
|
1788
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
|
+
};
|
|
1789
2475
|
}, {
|
|
1790
2476
|
readonly method: "delete";
|
|
1791
2477
|
readonly path: "/category/:id";
|
|
1792
2478
|
readonly role: "deleteCategoryById";
|
|
1793
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
|
+
};
|
|
1794
2492
|
}, {
|
|
1795
2493
|
readonly method: "post";
|
|
1796
2494
|
readonly path: "/email";
|
|
@@ -1811,46 +2509,131 @@ declare const allApis: readonly [{
|
|
|
1811
2509
|
readonly path: "/event/book";
|
|
1812
2510
|
readonly role: "postEventBook";
|
|
1813
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
|
+
};
|
|
1814
2523
|
}, {
|
|
1815
2524
|
readonly method: "post";
|
|
1816
2525
|
readonly path: "/event";
|
|
1817
2526
|
readonly role: "postEvent";
|
|
1818
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
|
+
};
|
|
1819
2536
|
}, {
|
|
1820
2537
|
readonly method: "post";
|
|
1821
2538
|
readonly path: "/events";
|
|
1822
2539
|
readonly role: "postEvents";
|
|
1823
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
|
+
};
|
|
1824
2549
|
}, {
|
|
1825
2550
|
readonly method: "post";
|
|
1826
2551
|
readonly path: "/event/book/cancel";
|
|
1827
2552
|
readonly role: "postEventBookCancel";
|
|
1828
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
|
+
};
|
|
1829
2564
|
}, {
|
|
1830
2565
|
readonly method: "get";
|
|
1831
2566
|
readonly path: "/event";
|
|
1832
2567
|
readonly role: "getEvents";
|
|
1833
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
|
+
};
|
|
1834
2577
|
}, {
|
|
1835
2578
|
readonly method: "get";
|
|
1836
2579
|
readonly path: "/event/:id";
|
|
1837
2580
|
readonly role: "getEventById";
|
|
1838
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
|
+
};
|
|
1839
2590
|
}, {
|
|
1840
2591
|
readonly method: "put";
|
|
1841
2592
|
readonly path: "/event/:id";
|
|
1842
2593
|
readonly role: "putEventById";
|
|
1843
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
|
+
};
|
|
1844
2607
|
}, {
|
|
1845
2608
|
readonly method: "delete";
|
|
1846
2609
|
readonly path: "/events";
|
|
1847
2610
|
readonly role: "deleteEvents";
|
|
1848
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
|
+
};
|
|
1849
2620
|
}, {
|
|
1850
2621
|
readonly method: "delete";
|
|
1851
2622
|
readonly path: "/event/:id";
|
|
1852
2623
|
readonly role: "deleteEventById";
|
|
1853
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
|
+
};
|
|
1854
2637
|
}, {
|
|
1855
2638
|
readonly method: "get";
|
|
1856
2639
|
readonly path: "/fail";
|
|
@@ -1876,266 +2659,779 @@ declare const allApis: readonly [{
|
|
|
1876
2659
|
readonly path: "/flow";
|
|
1877
2660
|
readonly role: "postFlow";
|
|
1878
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
|
+
};
|
|
1879
2670
|
}, {
|
|
1880
2671
|
readonly method: "get";
|
|
1881
2672
|
readonly path: "/flow";
|
|
1882
2673
|
readonly role: "getFlows";
|
|
1883
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
|
+
};
|
|
1884
2683
|
}, {
|
|
1885
2684
|
readonly method: "get";
|
|
1886
2685
|
readonly path: "/flow/api";
|
|
1887
2686
|
readonly role: "getFlowApis";
|
|
1888
2687
|
readonly name: "Get APIs";
|
|
2688
|
+
readonly response_200: {
|
|
2689
|
+
apis: unknown;
|
|
2690
|
+
};
|
|
2691
|
+
readonly response_500: {
|
|
2692
|
+
message: string;
|
|
2693
|
+
error: string;
|
|
2694
|
+
};
|
|
1889
2695
|
}, {
|
|
1890
2696
|
readonly method: "get";
|
|
1891
2697
|
readonly path: "/flow/:id";
|
|
1892
2698
|
readonly role: "getFlowById";
|
|
1893
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
|
+
};
|
|
1894
2708
|
}, {
|
|
1895
2709
|
readonly method: "put";
|
|
1896
2710
|
readonly path: "/flow/:id";
|
|
1897
2711
|
readonly role: "putFlowById";
|
|
1898
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
|
+
};
|
|
1899
2726
|
}, {
|
|
1900
2727
|
readonly method: "delete";
|
|
1901
2728
|
readonly path: "/flow/:id";
|
|
1902
2729
|
readonly role: "deleteFlowById";
|
|
1903
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
|
+
};
|
|
1904
2743
|
}, {
|
|
1905
2744
|
readonly method: "post";
|
|
1906
2745
|
readonly path: "/fixture";
|
|
1907
2746
|
readonly role: "postFixture";
|
|
1908
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
|
+
};
|
|
1909
2756
|
}, {
|
|
1910
2757
|
readonly method: "get";
|
|
1911
2758
|
readonly path: "/fixture";
|
|
1912
2759
|
readonly role: "getFixtures";
|
|
1913
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
|
+
};
|
|
1914
2769
|
}, {
|
|
1915
2770
|
readonly method: "get";
|
|
1916
2771
|
readonly path: "/fixture/:id";
|
|
1917
2772
|
readonly role: "getFixtureById";
|
|
1918
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
|
+
};
|
|
1919
2782
|
}, {
|
|
1920
2783
|
readonly method: "put";
|
|
1921
2784
|
readonly path: "/fixture/:id";
|
|
1922
2785
|
readonly role: "putFixtureById";
|
|
1923
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
|
+
};
|
|
1924
2799
|
}, {
|
|
1925
2800
|
readonly method: "delete";
|
|
1926
2801
|
readonly path: "/fixture/:id";
|
|
1927
2802
|
readonly role: "deleteFixtureById";
|
|
1928
2803
|
readonly name: "Delete fixture";
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
readonly
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
readonly
|
|
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
|
+
};
|
|
2816
|
+
}, {
|
|
2817
|
+
readonly method: "post";
|
|
2818
|
+
readonly path: "/group";
|
|
2819
|
+
readonly role: "postGroup";
|
|
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
|
+
};
|
|
2829
|
+
}, {
|
|
2830
|
+
readonly method: "get";
|
|
2831
|
+
readonly path: "/group";
|
|
2832
|
+
readonly role: "getGroups";
|
|
1938
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
|
+
};
|
|
1939
2842
|
}, {
|
|
1940
2843
|
readonly method: "get";
|
|
1941
2844
|
readonly path: "/group/:id";
|
|
1942
2845
|
readonly role: "getGroupById";
|
|
1943
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
|
+
};
|
|
1944
2855
|
}, {
|
|
1945
2856
|
readonly method: "put";
|
|
1946
2857
|
readonly path: "/group/:id";
|
|
1947
2858
|
readonly role: "putGroupById";
|
|
1948
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
|
+
};
|
|
1949
2873
|
}, {
|
|
1950
2874
|
readonly method: "delete";
|
|
1951
2875
|
readonly path: "/group/:id";
|
|
1952
2876
|
readonly role: "deleteGroupById";
|
|
1953
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
|
+
};
|
|
1954
2890
|
}, {
|
|
1955
2891
|
readonly method: "post";
|
|
1956
2892
|
readonly path: "/job";
|
|
1957
2893
|
readonly role: "postJob";
|
|
1958
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
|
+
};
|
|
1959
2903
|
}, {
|
|
1960
2904
|
readonly method: "post";
|
|
1961
2905
|
readonly path: "/job/many";
|
|
1962
2906
|
readonly role: "postJobMany";
|
|
1963
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
|
+
};
|
|
1964
2916
|
}, {
|
|
1965
2917
|
readonly method: "post";
|
|
1966
2918
|
readonly path: "/job/start/:id";
|
|
1967
2919
|
readonly role: "postJobStartById";
|
|
1968
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
|
+
};
|
|
1969
2932
|
}, {
|
|
1970
2933
|
readonly method: "get";
|
|
1971
2934
|
readonly path: "/job";
|
|
1972
2935
|
readonly role: "getJobs";
|
|
1973
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
|
+
};
|
|
1974
2945
|
}, {
|
|
1975
2946
|
readonly method: "get";
|
|
1976
2947
|
readonly path: "/job/:id";
|
|
1977
2948
|
readonly role: "getJobById";
|
|
1978
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
|
+
};
|
|
1979
2958
|
}, {
|
|
1980
2959
|
readonly method: "get";
|
|
1981
2960
|
readonly path: "/job/details/:id";
|
|
1982
2961
|
readonly role: "getJobDetailsById";
|
|
1983
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
|
+
};
|
|
1984
2979
|
}, {
|
|
1985
2980
|
readonly method: "put";
|
|
1986
2981
|
readonly path: "/job/:id";
|
|
1987
2982
|
readonly role: "putJobById";
|
|
1988
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
|
+
};
|
|
1989
2996
|
}, {
|
|
1990
2997
|
readonly method: "delete";
|
|
1991
2998
|
readonly path: "/job/:id";
|
|
1992
2999
|
readonly role: "deleteJobById";
|
|
1993
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
|
+
};
|
|
1994
3013
|
}, {
|
|
1995
3014
|
readonly method: "get";
|
|
1996
3015
|
readonly path: "/log";
|
|
1997
3016
|
readonly role: "getLogs";
|
|
1998
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
|
+
};
|
|
1999
3026
|
}, {
|
|
2000
3027
|
readonly method: "delete";
|
|
2001
3028
|
readonly path: "/log/all";
|
|
2002
3029
|
readonly role: "deleteLogsAll";
|
|
2003
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
|
+
};
|
|
2004
3038
|
}, {
|
|
2005
3039
|
readonly method: "delete";
|
|
2006
3040
|
readonly path: "/log/:id";
|
|
2007
3041
|
readonly role: "deleteLogById";
|
|
2008
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
|
+
};
|
|
2009
3055
|
}, {
|
|
2010
3056
|
readonly method: "post";
|
|
2011
3057
|
readonly path: "/notification";
|
|
2012
3058
|
readonly role: "postNotification";
|
|
2013
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
|
+
};
|
|
2014
3068
|
}, {
|
|
2015
3069
|
readonly method: "post";
|
|
2016
3070
|
readonly path: "/notification/read";
|
|
2017
3071
|
readonly role: "postNotificationRead";
|
|
2018
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
|
+
};
|
|
2019
3081
|
}, {
|
|
2020
3082
|
readonly method: "get";
|
|
2021
3083
|
readonly path: "/notification";
|
|
2022
3084
|
readonly role: "getNotifications";
|
|
2023
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
|
+
};
|
|
2024
3095
|
}, {
|
|
2025
3096
|
readonly method: "get";
|
|
2026
3097
|
readonly path: "/notification/:id";
|
|
2027
3098
|
readonly role: "getNotificationById";
|
|
2028
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
|
+
};
|
|
2029
3108
|
}, {
|
|
2030
3109
|
readonly method: "put";
|
|
2031
3110
|
readonly path: "/notification/:id";
|
|
2032
3111
|
readonly role: "putNotificationById";
|
|
2033
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
|
+
};
|
|
2034
3125
|
}, {
|
|
2035
3126
|
readonly method: "delete";
|
|
2036
3127
|
readonly path: "/notification/:id";
|
|
2037
3128
|
readonly role: "deleteNotificationById";
|
|
2038
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
|
+
};
|
|
2039
3142
|
}, {
|
|
2040
3143
|
readonly method: "post";
|
|
2041
3144
|
readonly path: "/page";
|
|
2042
3145
|
readonly role: "postPage";
|
|
2043
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
|
+
};
|
|
2044
3155
|
}, {
|
|
2045
3156
|
readonly method: "post";
|
|
2046
3157
|
readonly path: "/page/trigger/:id";
|
|
2047
3158
|
readonly role: "postPageTriggerById";
|
|
2048
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
|
+
};
|
|
2049
3169
|
}, {
|
|
2050
3170
|
readonly method: "get";
|
|
2051
3171
|
readonly path: "/page";
|
|
2052
3172
|
readonly role: "getPages";
|
|
2053
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
|
+
};
|
|
2054
3182
|
}, {
|
|
2055
3183
|
readonly method: "get";
|
|
2056
3184
|
readonly path: "/page/:id";
|
|
2057
3185
|
readonly role: "getPageById";
|
|
2058
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
|
+
};
|
|
2059
3195
|
}, {
|
|
2060
3196
|
readonly method: "put";
|
|
2061
3197
|
readonly path: "/page/:id";
|
|
2062
3198
|
readonly role: "putPageById";
|
|
2063
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
|
+
};
|
|
2064
3212
|
}, {
|
|
2065
3213
|
readonly method: "delete";
|
|
2066
3214
|
readonly path: "/page/:id";
|
|
2067
3215
|
readonly role: "deletePageById";
|
|
2068
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
|
+
};
|
|
2069
3229
|
}, {
|
|
2070
3230
|
readonly method: "post";
|
|
2071
3231
|
readonly path: "/product";
|
|
2072
3232
|
readonly role: "postProduct";
|
|
2073
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
|
+
};
|
|
2074
3242
|
}, {
|
|
2075
3243
|
readonly method: "get";
|
|
2076
3244
|
readonly path: "/product";
|
|
2077
3245
|
readonly role: "getProducts";
|
|
2078
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
|
+
};
|
|
2079
3255
|
}, {
|
|
2080
3256
|
readonly method: "get";
|
|
2081
3257
|
readonly path: "/product/:id";
|
|
2082
3258
|
readonly role: "getProductById";
|
|
2083
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
|
+
};
|
|
2084
3268
|
}, {
|
|
2085
3269
|
readonly method: "put";
|
|
2086
3270
|
readonly path: "/product/:id";
|
|
2087
3271
|
readonly role: "putProductById";
|
|
2088
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
|
+
};
|
|
2089
3285
|
}, {
|
|
2090
3286
|
readonly method: "delete";
|
|
2091
3287
|
readonly path: "/product/:id";
|
|
2092
3288
|
readonly role: "deleteProductById";
|
|
2093
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
|
+
};
|
|
2094
3302
|
}, {
|
|
2095
3303
|
readonly method: "post";
|
|
2096
3304
|
readonly path: "/prospect";
|
|
2097
3305
|
readonly role: "postProspect";
|
|
2098
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
|
+
};
|
|
2099
3315
|
}, {
|
|
2100
3316
|
readonly method: "post";
|
|
2101
3317
|
readonly path: "/prospect/subscribe";
|
|
2102
3318
|
readonly role: "postProspectSubscribe";
|
|
2103
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
|
+
};
|
|
2104
3328
|
}, {
|
|
2105
3329
|
readonly method: "get";
|
|
2106
3330
|
readonly path: "/prospect";
|
|
2107
3331
|
readonly role: "getProspects";
|
|
2108
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
|
+
};
|
|
2109
3342
|
}, {
|
|
2110
3343
|
readonly method: "get";
|
|
2111
3344
|
readonly path: "/prospect/count/new";
|
|
2112
3345
|
readonly role: "getProspectCountNew";
|
|
2113
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
|
+
};
|
|
2114
3354
|
}, {
|
|
2115
3355
|
readonly method: "get";
|
|
2116
3356
|
readonly path: "/prospect/:id";
|
|
2117
3357
|
readonly role: "getProspectById";
|
|
2118
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
|
+
};
|
|
2119
3367
|
}, {
|
|
2120
3368
|
readonly method: "get";
|
|
2121
3369
|
readonly path: "/prospect/email/track";
|
|
2122
3370
|
readonly role: "getProspectEmailTrack";
|
|
2123
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
|
+
};
|
|
2124
3384
|
}, {
|
|
2125
3385
|
readonly method: "put";
|
|
2126
3386
|
readonly path: "/prospect/:id";
|
|
2127
3387
|
readonly role: "putProspectById";
|
|
2128
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
|
+
};
|
|
2129
3401
|
}, {
|
|
2130
3402
|
readonly method: "put";
|
|
2131
3403
|
readonly path: "/prospect/opened/:id";
|
|
2132
3404
|
readonly role: "putProspectOpenedById";
|
|
2133
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
|
+
};
|
|
2134
3418
|
}, {
|
|
2135
3419
|
readonly method: "delete";
|
|
2136
3420
|
readonly path: "/prospect/:id";
|
|
2137
3421
|
readonly role: "deleteProspectById";
|
|
2138
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
|
+
};
|
|
2139
3435
|
}, {
|
|
2140
3436
|
readonly method: "post";
|
|
2141
3437
|
readonly path: "/report";
|