@ai-grator/api 0.3.74 → 0.3.77

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.
Files changed (62) hide show
  1. package/admin/endpoints/admin.ts +9 -0
  2. package/admin/endpoints/commands/ban-admin-antifraud-check-value.command.ts +37 -0
  3. package/admin/endpoints/commands/create-admin-blacklist-entry.command.ts +45 -0
  4. package/admin/endpoints/commands/delete-admin-blacklist-entry.command.ts +28 -0
  5. package/admin/endpoints/commands/index.ts +3 -0
  6. package/admin/endpoints/queries/get-admin-antifraud-checks.query.ts +35 -0
  7. package/admin/endpoints/queries/get-admin-blacklist-entries.query.ts +35 -0
  8. package/admin/endpoints/queries/index.ts +2 -0
  9. package/admin/enums/admin-antifraud-check-reason.enum.ts +5 -0
  10. package/admin/enums/admin-blacklist-entry-type.enum.ts +4 -0
  11. package/admin/enums/index.ts +2 -0
  12. package/admin/models/admin-antifraud-check-response.schema.ts +27 -0
  13. package/admin/models/admin-blacklist-entry-response.schema.ts +12 -0
  14. package/admin/models/index.ts +2 -0
  15. package/build/admin/endpoints/admin.d.ts +5 -0
  16. package/build/admin/endpoints/admin.d.ts.map +1 -1
  17. package/build/admin/endpoints/admin.js +7 -0
  18. package/build/admin/endpoints/commands/ban-admin-antifraud-check-value.command.d.ts +71 -0
  19. package/build/admin/endpoints/commands/ban-admin-antifraud-check-value.command.d.ts.map +1 -0
  20. package/build/admin/endpoints/commands/ban-admin-antifraud-check-value.command.js +32 -0
  21. package/build/admin/endpoints/commands/create-admin-blacklist-entry.command.d.ts +52 -0
  22. package/build/admin/endpoints/commands/create-admin-blacklist-entry.command.d.ts.map +1 -0
  23. package/build/admin/endpoints/commands/create-admin-blacklist-entry.command.js +41 -0
  24. package/build/admin/endpoints/commands/delete-admin-blacklist-entry.command.d.ts +26 -0
  25. package/build/admin/endpoints/commands/delete-admin-blacklist-entry.command.d.ts.map +1 -0
  26. package/build/admin/endpoints/commands/delete-admin-blacklist-entry.command.js +25 -0
  27. package/build/admin/endpoints/commands/index.d.ts +3 -0
  28. package/build/admin/endpoints/commands/index.d.ts.map +1 -1
  29. package/build/admin/endpoints/commands/index.js +3 -0
  30. package/build/admin/endpoints/queries/get-admin-antifraud-checks.query.d.ts +78 -0
  31. package/build/admin/endpoints/queries/get-admin-antifraud-checks.query.d.ts.map +1 -0
  32. package/build/admin/endpoints/queries/get-admin-antifraud-checks.query.js +32 -0
  33. package/build/admin/endpoints/queries/get-admin-blacklist-entries.query.d.ts +54 -0
  34. package/build/admin/endpoints/queries/get-admin-blacklist-entries.query.d.ts.map +1 -0
  35. package/build/admin/endpoints/queries/get-admin-blacklist-entries.query.js +32 -0
  36. package/build/admin/endpoints/queries/index.d.ts +2 -0
  37. package/build/admin/endpoints/queries/index.d.ts.map +1 -1
  38. package/build/admin/endpoints/queries/index.js +2 -0
  39. package/build/admin/enums/admin-antifraud-check-reason.enum.d.ts +6 -0
  40. package/build/admin/enums/admin-antifraud-check-reason.enum.d.ts.map +1 -0
  41. package/build/admin/enums/admin-antifraud-check-reason.enum.js +9 -0
  42. package/build/admin/enums/admin-blacklist-entry-type.enum.d.ts +5 -0
  43. package/build/admin/enums/admin-blacklist-entry-type.enum.d.ts.map +1 -0
  44. package/build/admin/enums/admin-blacklist-entry-type.enum.js +8 -0
  45. package/build/admin/enums/index.d.ts +2 -0
  46. package/build/admin/enums/index.d.ts.map +1 -1
  47. package/build/admin/enums/index.js +2 -0
  48. package/build/admin/models/admin-antifraud-check-response.schema.d.ts +34 -0
  49. package/build/admin/models/admin-antifraud-check-response.schema.d.ts.map +1 -0
  50. package/build/admin/models/admin-antifraud-check-response.schema.js +23 -0
  51. package/build/admin/models/admin-blacklist-entry-response.schema.d.ts +11 -0
  52. package/build/admin/models/admin-blacklist-entry-response.schema.d.ts.map +1 -0
  53. package/build/admin/models/admin-blacklist-entry-response.schema.js +12 -0
  54. package/build/admin/models/index.d.ts +2 -0
  55. package/build/admin/models/index.d.ts.map +1 -1
  56. package/build/admin/models/index.js +2 -0
  57. package/build/errors/errors.d.ts +59 -0
  58. package/build/errors/errors.d.ts.map +1 -1
  59. package/build/errors/errors.js +59 -0
  60. package/build/tsconfig.tsbuildinfo +1 -1
  61. package/errors/errors.ts +59 -0
  62. package/package.json +1 -1
@@ -38,6 +38,15 @@ export const ADMIN_ROUTES = {
38
38
  // LINKED ACCOUNTS
39
39
  GET_LINKED_ACCOUNT_CLUSTERS: 'linked-accounts/clusters',
40
40
 
41
+ // BLACKLIST
42
+ GET_BLACKLIST_ENTRIES: 'blacklist',
43
+ CREATE_BLACKLIST_ENTRY: 'blacklist',
44
+ DELETE_BLACKLIST_ENTRY: (entryId: string) => `blacklist/${entryId}`,
45
+
46
+ // ANTIFRAUD
47
+ GET_ANTIFRAUD_CHECKS: 'antifraud-checks',
48
+ BAN_ANTIFRAUD_CHECK_VALUE: (checkId: string) => `antifraud-checks/${checkId}/ban`,
49
+
41
50
  // SUPPORT
42
51
  GET_SUPPORT_CHATS: 'support/chats',
43
52
  GET_SUPPORT_CHAT_MESSAGES: (userId: string) => `support/chats/${userId}/messages`,
@@ -0,0 +1,37 @@
1
+ import { z } from 'zod';
2
+ import { defineContract, HTTP_METHODS, HttpErrorResponseSchema } from '../../../_common';
3
+ import { AdminAntifraudCheckResponseSchema } from '../../models';
4
+ import { ADMIN_ROUTES } from '../admin';
5
+
6
+ export const BanAdminAntifraudCheckValueCommandParams = z.object({
7
+ checkId: z.uuid(),
8
+ });
9
+
10
+ export const BanAdminAntifraudCheckValueCommandBody = z.object({
11
+ reason: z.string().trim().min(1).max(500),
12
+ });
13
+
14
+ export const BanAdminAntifraudCheckValueCommandResponse = AdminAntifraudCheckResponseSchema;
15
+
16
+ export const BanAdminAntifraudCheckValueCommand = defineContract({
17
+ method: HTTP_METHODS.POST,
18
+ path: ADMIN_ROUTES.BAN_ANTIFRAUD_CHECK_VALUE(':checkId'),
19
+ summary: 'Blacklist the IP or fingerprint an antifraud check matched on',
20
+ request: {
21
+ params: BanAdminAntifraudCheckValueCommandParams,
22
+ body: BanAdminAntifraudCheckValueCommandBody,
23
+ },
24
+ responses: {
25
+ 200: BanAdminAntifraudCheckValueCommandResponse,
26
+ 400: HttpErrorResponseSchema,
27
+ 401: HttpErrorResponseSchema,
28
+ 403: HttpErrorResponseSchema,
29
+ 404: HttpErrorResponseSchema,
30
+ 409: HttpErrorResponseSchema,
31
+ 500: HttpErrorResponseSchema,
32
+ },
33
+ });
34
+
35
+ export type BanAdminAntifraudCheckValueCommandParamsType = z.infer<typeof BanAdminAntifraudCheckValueCommandParams>;
36
+ export type BanAdminAntifraudCheckValueCommandBodyType = z.infer<typeof BanAdminAntifraudCheckValueCommandBody>;
37
+ export type BanAdminAntifraudCheckValueCommandResponseType = z.infer<typeof BanAdminAntifraudCheckValueCommandResponse>;
@@ -0,0 +1,45 @@
1
+ import { z } from 'zod';
2
+ import { defineContract, HTTP_METHODS, HttpErrorResponseSchema } from '../../../_common';
3
+ import { ADMIN_BLACKLIST_ENTRY_TYPE } from '../../enums';
4
+ import { AdminBlacklistEntryResponseSchema } from '../../models';
5
+ import { ADMIN_ROUTES } from '../admin';
6
+
7
+ const BlacklistReasonSchema = z.string().trim().min(1).max(500).nullable().optional();
8
+
9
+ export const CreateAdminBlacklistEntryCommandBody = z.discriminatedUnion('type', [
10
+ z.object({
11
+ type: z.literal(ADMIN_BLACKLIST_ENTRY_TYPE.IP),
12
+ value: z
13
+ .string()
14
+ .trim()
15
+ .pipe(z.union([z.ipv4(), z.ipv6()])),
16
+ reason: BlacklistReasonSchema,
17
+ }),
18
+ z.object({
19
+ type: z.literal(ADMIN_BLACKLIST_ENTRY_TYPE.FINGERPRINT),
20
+ value: z.string().trim().toLowerCase().min(1).max(128),
21
+ reason: BlacklistReasonSchema,
22
+ }),
23
+ ]);
24
+
25
+ export const CreateAdminBlacklistEntryCommandResponse = AdminBlacklistEntryResponseSchema;
26
+
27
+ export const CreateAdminBlacklistEntryCommand = defineContract({
28
+ method: HTTP_METHODS.POST,
29
+ path: ADMIN_ROUTES.CREATE_BLACKLIST_ENTRY,
30
+ summary: 'Add an IP or a client fingerprint to the blacklist',
31
+ request: {
32
+ body: CreateAdminBlacklistEntryCommandBody,
33
+ },
34
+ responses: {
35
+ 201: CreateAdminBlacklistEntryCommandResponse,
36
+ 400: HttpErrorResponseSchema,
37
+ 401: HttpErrorResponseSchema,
38
+ 403: HttpErrorResponseSchema,
39
+ 409: HttpErrorResponseSchema,
40
+ 500: HttpErrorResponseSchema,
41
+ },
42
+ });
43
+
44
+ export type CreateAdminBlacklistEntryCommandBodyType = z.infer<typeof CreateAdminBlacklistEntryCommandBody>;
45
+ export type CreateAdminBlacklistEntryCommandResponseType = z.infer<typeof CreateAdminBlacklistEntryCommandResponse>;
@@ -0,0 +1,28 @@
1
+ import { z } from 'zod';
2
+ import { defineContract, HTTP_METHODS, HttpErrorResponseSchema, HttpSuccessResponseSchema } from '../../../_common';
3
+ import { ADMIN_ROUTES } from '../admin';
4
+
5
+ export const DeleteAdminBlacklistEntryCommandParams = z.object({
6
+ entryId: z.uuid(),
7
+ });
8
+
9
+ export const DeleteAdminBlacklistEntryCommandResponse = HttpSuccessResponseSchema;
10
+
11
+ export const DeleteAdminBlacklistEntryCommand = defineContract({
12
+ method: HTTP_METHODS.DELETE,
13
+ path: ADMIN_ROUTES.DELETE_BLACKLIST_ENTRY(':entryId'),
14
+ summary: 'Remove an entry from the blacklist',
15
+ request: {
16
+ params: DeleteAdminBlacklistEntryCommandParams,
17
+ },
18
+ responses: {
19
+ 200: DeleteAdminBlacklistEntryCommandResponse,
20
+ 401: HttpErrorResponseSchema,
21
+ 403: HttpErrorResponseSchema,
22
+ 404: HttpErrorResponseSchema,
23
+ 500: HttpErrorResponseSchema,
24
+ },
25
+ });
26
+
27
+ export type DeleteAdminBlacklistEntryCommandParamsType = z.infer<typeof DeleteAdminBlacklistEntryCommandParams>;
28
+ export type DeleteAdminBlacklistEntryCommandResponseType = z.infer<typeof DeleteAdminBlacklistEntryCommandResponse>;
@@ -23,3 +23,6 @@ export * from './probe-admin-trend-reference-video.command';
23
23
  export * from './create-admin-trend-category.command';
24
24
  export * from './update-admin-trend-category.command';
25
25
  export * from './delete-admin-trend-category.command';
26
+ export * from './create-admin-blacklist-entry.command';
27
+ export * from './delete-admin-blacklist-entry.command';
28
+ export * from './ban-admin-antifraud-check-value.command';
@@ -0,0 +1,35 @@
1
+ import { z } from 'zod';
2
+ import { defineContract, defineOffsetPaginationQuery, HTTP_METHODS, HttpErrorResponseSchema } from '../../../_common';
3
+ import { ADMIN_ANTIFRAUD_CHECK_REASON } from '../../enums';
4
+ import { AdminAntifraudCheckResponseSchema } from '../../models';
5
+ import { ADMIN_ROUTES } from '../admin';
6
+
7
+ export const GetAdminAntifraudChecksQueryQuery = defineOffsetPaginationQuery().extend({
8
+ reason: z.enum(ADMIN_ANTIFRAUD_CHECK_REASON).optional(),
9
+ search: z.string().trim().max(255).optional(),
10
+ });
11
+
12
+ export const GetAdminAntifraudChecksQueryResponse = z.object({
13
+ checks: z.array(AdminAntifraudCheckResponseSchema),
14
+ total: z.number().int().nonnegative(),
15
+ page: z.number().int().positive(),
16
+ limit: z.number().int().positive(),
17
+ });
18
+
19
+ export const GetAdminAntifraudChecksQuery = defineContract({
20
+ method: HTTP_METHODS.GET,
21
+ path: ADMIN_ROUTES.GET_ANTIFRAUD_CHECKS,
22
+ summary: 'Get account matches that denied the email verification bonus',
23
+ request: {
24
+ query: GetAdminAntifraudChecksQueryQuery,
25
+ },
26
+ responses: {
27
+ 200: GetAdminAntifraudChecksQueryResponse,
28
+ 401: HttpErrorResponseSchema,
29
+ 403: HttpErrorResponseSchema,
30
+ 500: HttpErrorResponseSchema,
31
+ },
32
+ });
33
+
34
+ export type GetAdminAntifraudChecksQueryQueryType = z.infer<typeof GetAdminAntifraudChecksQueryQuery>;
35
+ export type GetAdminAntifraudChecksQueryResponseType = z.infer<typeof GetAdminAntifraudChecksQueryResponse>;
@@ -0,0 +1,35 @@
1
+ import { z } from 'zod';
2
+ import { defineContract, defineOffsetPaginationQuery, HTTP_METHODS, HttpErrorResponseSchema } from '../../../_common';
3
+ import { ADMIN_BLACKLIST_ENTRY_TYPE } from '../../enums';
4
+ import { AdminBlacklistEntryResponseSchema } from '../../models';
5
+ import { ADMIN_ROUTES } from '../admin';
6
+
7
+ export const GetAdminBlacklistEntriesQueryQuery = defineOffsetPaginationQuery().extend({
8
+ type: z.enum(ADMIN_BLACKLIST_ENTRY_TYPE).optional(),
9
+ search: z.string().trim().max(255).optional(),
10
+ });
11
+
12
+ export const GetAdminBlacklistEntriesQueryResponse = z.object({
13
+ entries: z.array(AdminBlacklistEntryResponseSchema),
14
+ total: z.number().int().nonnegative(),
15
+ page: z.number().int().positive(),
16
+ limit: z.number().int().positive(),
17
+ });
18
+
19
+ export const GetAdminBlacklistEntriesQuery = defineContract({
20
+ method: HTTP_METHODS.GET,
21
+ path: ADMIN_ROUTES.GET_BLACKLIST_ENTRIES,
22
+ summary: 'Get blacklisted IPs and fingerprints with pagination and filters',
23
+ request: {
24
+ query: GetAdminBlacklistEntriesQueryQuery,
25
+ },
26
+ responses: {
27
+ 200: GetAdminBlacklistEntriesQueryResponse,
28
+ 401: HttpErrorResponseSchema,
29
+ 403: HttpErrorResponseSchema,
30
+ 500: HttpErrorResponseSchema,
31
+ },
32
+ });
33
+
34
+ export type GetAdminBlacklistEntriesQueryQueryType = z.infer<typeof GetAdminBlacklistEntriesQueryQuery>;
35
+ export type GetAdminBlacklistEntriesQueryResponseType = z.infer<typeof GetAdminBlacklistEntriesQueryResponse>;
@@ -25,3 +25,5 @@ export * from './get-admin-linked-account-clusters.query';
25
25
  export * from './get-admin-trends.query';
26
26
  export * from './get-admin-trend.query';
27
27
  export * from './get-admin-trend-categories.query';
28
+ export * from './get-admin-blacklist-entries.query';
29
+ export * from './get-admin-antifraud-checks.query';
@@ -0,0 +1,5 @@
1
+ export enum ADMIN_ANTIFRAUD_CHECK_REASON {
2
+ FINGERPRINT_MATCH = 'fingerprint_match',
3
+ IP_MATCH = 'ip_match',
4
+ CANONICAL_EMAIL_MATCH = 'canonical_email_match',
5
+ }
@@ -0,0 +1,4 @@
1
+ export enum ADMIN_BLACKLIST_ENTRY_TYPE {
2
+ IP = 'ip',
3
+ FINGERPRINT = 'fingerprint',
4
+ }
@@ -10,3 +10,5 @@ export * from './linked-account-reason-type.enum';
10
10
  export * from './linked-accounts-period.enum';
11
11
  export * from './admin-bulk-ban-result.enum';
12
12
  export * from './admin-bulk-ban-skip-reason.enum';
13
+ export * from './admin-blacklist-entry-type.enum';
14
+ export * from './admin-antifraud-check-reason.enum';
@@ -0,0 +1,27 @@
1
+ import { z } from 'zod';
2
+ import { ADMIN_ANTIFRAUD_CHECK_REASON } from '../enums';
3
+
4
+ export const AdminAntifraudCheckUserSchema = z.object({
5
+ uuid: z.uuid(),
6
+ email: z.string(),
7
+ });
8
+
9
+ export const AdminAntifraudCheckBanSchema = z.object({
10
+ entryId: z.uuid(),
11
+ reason: z.string().nullable(),
12
+ createdAt: z.iso.datetime(),
13
+ });
14
+
15
+ export const AdminAntifraudCheckResponseSchema = z.object({
16
+ uuid: z.uuid(),
17
+ user: AdminAntifraudCheckUserSchema,
18
+ matchedUser: AdminAntifraudCheckUserSchema,
19
+ reason: z.enum(ADMIN_ANTIFRAUD_CHECK_REASON),
20
+ value: z.string(),
21
+ ban: AdminAntifraudCheckBanSchema.nullable(),
22
+ createdAt: z.iso.datetime(),
23
+ });
24
+
25
+ export type AdminAntifraudCheckUserSchemaType = z.infer<typeof AdminAntifraudCheckUserSchema>;
26
+ export type AdminAntifraudCheckBanSchemaType = z.infer<typeof AdminAntifraudCheckBanSchema>;
27
+ export type AdminAntifraudCheckResponseSchemaType = z.infer<typeof AdminAntifraudCheckResponseSchema>;
@@ -0,0 +1,12 @@
1
+ import { z } from 'zod';
2
+ import { ADMIN_BLACKLIST_ENTRY_TYPE } from '../enums';
3
+
4
+ export const AdminBlacklistEntryResponseSchema = z.object({
5
+ uuid: z.uuid(),
6
+ type: z.enum(ADMIN_BLACKLIST_ENTRY_TYPE),
7
+ value: z.string(),
8
+ reason: z.string().nullable(),
9
+ createdAt: z.iso.datetime(),
10
+ });
11
+
12
+ export type AdminBlacklistEntryResponseSchemaType = z.infer<typeof AdminBlacklistEntryResponseSchema>;
@@ -19,3 +19,5 @@ export * from './admin-time-zone.schema';
19
19
  export * from './admin-linked-account-cluster.schema';
20
20
  export * from './admin-trend-category-response.schema';
21
21
  export * from './admin-trend-response.schema';
22
+ export * from './admin-blacklist-entry-response.schema';
23
+ export * from './admin-antifraud-check-response.schema';
@@ -24,6 +24,11 @@ export declare const ADMIN_ROUTES: {
24
24
  readonly BAN_USERS: "users/ban";
25
25
  readonly UNBAN_USER: (userId: string) => string;
26
26
  readonly GET_LINKED_ACCOUNT_CLUSTERS: "linked-accounts/clusters";
27
+ readonly GET_BLACKLIST_ENTRIES: "blacklist";
28
+ readonly CREATE_BLACKLIST_ENTRY: "blacklist";
29
+ readonly DELETE_BLACKLIST_ENTRY: (entryId: string) => string;
30
+ readonly GET_ANTIFRAUD_CHECKS: "antifraud-checks";
31
+ readonly BAN_ANTIFRAUD_CHECK_VALUE: (checkId: string) => string;
27
32
  readonly GET_SUPPORT_CHATS: "support/chats";
28
33
  readonly GET_SUPPORT_CHAT_MESSAGES: (userId: string) => string;
29
34
  readonly SEND_SUPPORT_REPLY: (userId: string) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../admin/endpoints/admin.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,YAAY;;sCAGI,MAAM;gDACI,MAAM;iDACL,MAAM;sDACD,MAAM;yDACH,MAAM;kDACb,MAAM;+DACO,MAAM;wDACb,MAAM,aAAa,MAAM;uDAE1B,MAAM;yDACJ,MAAM;;;;;;;;gCAgB/B,MAAM;6CACO,MAAM;gCACnB,MAAM;;kCAEJ,MAAM;;;iDAOS,MAAM;0CACb,MAAM;8CACF,MAAM;;;gCAKpB,MAAM;mCACH,MAAM;mCACN,MAAM;0CACC,MAAM;;;6CAKH,MAAM;6CACN,MAAM;;;;;kCAOjB,MAAM;qCACH,MAAM;qCACN,MAAM;4CACC,MAAM;;;iDAKD,MAAM;iDACN,MAAM;;;CAKpC,CAAC"}
1
+ {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../admin/endpoints/admin.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,EAAG,OAAgB,CAAC;AAEjD,eAAO,MAAM,YAAY;;sCAGI,MAAM;gDACI,MAAM;iDACL,MAAM;sDACD,MAAM;yDACH,MAAM;kDACb,MAAM;+DACO,MAAM;wDACb,MAAM,aAAa,MAAM;uDAE1B,MAAM;yDACJ,MAAM;;;;;;;;gCAgB/B,MAAM;6CACO,MAAM;gCACnB,MAAM;;kCAEJ,MAAM;;;;+CAQO,MAAM;;kDAIH,MAAM;;iDAIP,MAAM;0CACb,MAAM;8CACF,MAAM;;;gCAKpB,MAAM;mCACH,MAAM;mCACN,MAAM;0CACC,MAAM;;;6CAKH,MAAM;6CACN,MAAM;;;;;kCAOjB,MAAM;qCACH,MAAM;qCACN,MAAM;4CACC,MAAM;;;iDAKD,MAAM;iDACN,MAAM;;;CAKpC,CAAC"}
@@ -33,6 +33,13 @@ exports.ADMIN_ROUTES = {
33
33
  UNBAN_USER: (userId) => `users/${userId}/unban`,
34
34
  // LINKED ACCOUNTS
35
35
  GET_LINKED_ACCOUNT_CLUSTERS: 'linked-accounts/clusters',
36
+ // BLACKLIST
37
+ GET_BLACKLIST_ENTRIES: 'blacklist',
38
+ CREATE_BLACKLIST_ENTRY: 'blacklist',
39
+ DELETE_BLACKLIST_ENTRY: (entryId) => `blacklist/${entryId}`,
40
+ // ANTIFRAUD
41
+ GET_ANTIFRAUD_CHECKS: 'antifraud-checks',
42
+ BAN_ANTIFRAUD_CHECK_VALUE: (checkId) => `antifraud-checks/${checkId}/ban`,
36
43
  // SUPPORT
37
44
  GET_SUPPORT_CHATS: 'support/chats',
38
45
  GET_SUPPORT_CHAT_MESSAGES: (userId) => `support/chats/${userId}/messages`,
@@ -0,0 +1,71 @@
1
+ import { z } from 'zod';
2
+ import { HTTP_METHODS } from '../../../_common';
3
+ export declare const BanAdminAntifraudCheckValueCommandParams: z.ZodObject<{
4
+ checkId: z.ZodUUID;
5
+ }, z.core.$strip>;
6
+ export declare const BanAdminAntifraudCheckValueCommandBody: z.ZodObject<{
7
+ reason: z.ZodString;
8
+ }, z.core.$strip>;
9
+ export declare const BanAdminAntifraudCheckValueCommandResponse: z.ZodObject<{
10
+ uuid: z.ZodUUID;
11
+ user: z.ZodObject<{
12
+ uuid: z.ZodUUID;
13
+ email: z.ZodString;
14
+ }, z.core.$strip>;
15
+ matchedUser: z.ZodObject<{
16
+ uuid: z.ZodUUID;
17
+ email: z.ZodString;
18
+ }, z.core.$strip>;
19
+ reason: z.ZodEnum<typeof import("../..").ADMIN_ANTIFRAUD_CHECK_REASON>;
20
+ value: z.ZodString;
21
+ ban: z.ZodNullable<z.ZodObject<{
22
+ entryId: z.ZodUUID;
23
+ reason: z.ZodNullable<z.ZodString>;
24
+ createdAt: z.ZodISODateTime;
25
+ }, z.core.$strip>>;
26
+ createdAt: z.ZodISODateTime;
27
+ }, z.core.$strip>;
28
+ export declare const BanAdminAntifraudCheckValueCommand: {
29
+ method: HTTP_METHODS.POST;
30
+ path: string;
31
+ summary: string;
32
+ request: {
33
+ params: z.ZodObject<{
34
+ checkId: z.ZodUUID;
35
+ }, z.core.$strip>;
36
+ body: z.ZodObject<{
37
+ reason: z.ZodString;
38
+ }, z.core.$strip>;
39
+ };
40
+ responses: {
41
+ 200: z.ZodObject<{
42
+ uuid: z.ZodUUID;
43
+ user: z.ZodObject<{
44
+ uuid: z.ZodUUID;
45
+ email: z.ZodString;
46
+ }, z.core.$strip>;
47
+ matchedUser: z.ZodObject<{
48
+ uuid: z.ZodUUID;
49
+ email: z.ZodString;
50
+ }, z.core.$strip>;
51
+ reason: z.ZodEnum<typeof import("../..").ADMIN_ANTIFRAUD_CHECK_REASON>;
52
+ value: z.ZodString;
53
+ ban: z.ZodNullable<z.ZodObject<{
54
+ entryId: z.ZodUUID;
55
+ reason: z.ZodNullable<z.ZodString>;
56
+ createdAt: z.ZodISODateTime;
57
+ }, z.core.$strip>>;
58
+ createdAt: z.ZodISODateTime;
59
+ }, z.core.$strip>;
60
+ 400: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
61
+ 401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
62
+ 403: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
63
+ 404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
64
+ 409: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
65
+ 500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
66
+ };
67
+ };
68
+ export type BanAdminAntifraudCheckValueCommandParamsType = z.infer<typeof BanAdminAntifraudCheckValueCommandParams>;
69
+ export type BanAdminAntifraudCheckValueCommandBodyType = z.infer<typeof BanAdminAntifraudCheckValueCommandBody>;
70
+ export type BanAdminAntifraudCheckValueCommandResponseType = z.infer<typeof BanAdminAntifraudCheckValueCommandResponse>;
71
+ //# sourceMappingURL=ban-admin-antifraud-check-value.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ban-admin-antifraud-check-value.command.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/commands/ban-admin-antifraud-check-value.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AAIzF,eAAO,MAAM,wCAAwC;;iBAEnD,CAAC;AAEH,eAAO,MAAM,sCAAsC;;iBAEjD,CAAC;AAEH,eAAO,MAAM,0CAA0C;;;;;;;;;;;;;;;;;;iBAAoC,CAAC;AAE5F,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB7C,CAAC;AAEH,MAAM,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AACpH,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AAChH,MAAM,MAAM,8CAA8C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0CAA0C,CAAC,CAAC"}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BanAdminAntifraudCheckValueCommand = exports.BanAdminAntifraudCheckValueCommandResponse = exports.BanAdminAntifraudCheckValueCommandBody = exports.BanAdminAntifraudCheckValueCommandParams = void 0;
4
+ const zod_1 = require("zod");
5
+ const _common_1 = require("../../../_common");
6
+ const models_1 = require("../../models");
7
+ const admin_1 = require("../admin");
8
+ exports.BanAdminAntifraudCheckValueCommandParams = zod_1.z.object({
9
+ checkId: zod_1.z.uuid(),
10
+ });
11
+ exports.BanAdminAntifraudCheckValueCommandBody = zod_1.z.object({
12
+ reason: zod_1.z.string().trim().min(1).max(500),
13
+ });
14
+ exports.BanAdminAntifraudCheckValueCommandResponse = models_1.AdminAntifraudCheckResponseSchema;
15
+ exports.BanAdminAntifraudCheckValueCommand = (0, _common_1.defineContract)({
16
+ method: _common_1.HTTP_METHODS.POST,
17
+ path: admin_1.ADMIN_ROUTES.BAN_ANTIFRAUD_CHECK_VALUE(':checkId'),
18
+ summary: 'Blacklist the IP or fingerprint an antifraud check matched on',
19
+ request: {
20
+ params: exports.BanAdminAntifraudCheckValueCommandParams,
21
+ body: exports.BanAdminAntifraudCheckValueCommandBody,
22
+ },
23
+ responses: {
24
+ 200: exports.BanAdminAntifraudCheckValueCommandResponse,
25
+ 400: _common_1.HttpErrorResponseSchema,
26
+ 401: _common_1.HttpErrorResponseSchema,
27
+ 403: _common_1.HttpErrorResponseSchema,
28
+ 404: _common_1.HttpErrorResponseSchema,
29
+ 409: _common_1.HttpErrorResponseSchema,
30
+ 500: _common_1.HttpErrorResponseSchema,
31
+ },
32
+ });
@@ -0,0 +1,52 @@
1
+ import { z } from 'zod';
2
+ import { HTTP_METHODS } from '../../../_common';
3
+ import { ADMIN_BLACKLIST_ENTRY_TYPE } from '../../enums';
4
+ export declare const CreateAdminBlacklistEntryCommandBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
5
+ type: z.ZodLiteral<ADMIN_BLACKLIST_ENTRY_TYPE.IP>;
6
+ value: z.ZodPipe<z.ZodString, z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
7
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ type: z.ZodLiteral<ADMIN_BLACKLIST_ENTRY_TYPE.FINGERPRINT>;
10
+ value: z.ZodString;
11
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>], "type">;
13
+ export declare const CreateAdminBlacklistEntryCommandResponse: z.ZodObject<{
14
+ uuid: z.ZodUUID;
15
+ type: z.ZodEnum<typeof ADMIN_BLACKLIST_ENTRY_TYPE>;
16
+ value: z.ZodString;
17
+ reason: z.ZodNullable<z.ZodString>;
18
+ createdAt: z.ZodISODateTime;
19
+ }, z.core.$strip>;
20
+ export declare const CreateAdminBlacklistEntryCommand: {
21
+ method: HTTP_METHODS.POST;
22
+ path: "blacklist";
23
+ summary: string;
24
+ request: {
25
+ body: z.ZodDiscriminatedUnion<[z.ZodObject<{
26
+ type: z.ZodLiteral<ADMIN_BLACKLIST_ENTRY_TYPE.IP>;
27
+ value: z.ZodPipe<z.ZodString, z.ZodUnion<readonly [z.ZodIPv4, z.ZodIPv6]>>;
28
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ type: z.ZodLiteral<ADMIN_BLACKLIST_ENTRY_TYPE.FINGERPRINT>;
31
+ value: z.ZodString;
32
+ reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ }, z.core.$strip>], "type">;
34
+ };
35
+ responses: {
36
+ 201: z.ZodObject<{
37
+ uuid: z.ZodUUID;
38
+ type: z.ZodEnum<typeof ADMIN_BLACKLIST_ENTRY_TYPE>;
39
+ value: z.ZodString;
40
+ reason: z.ZodNullable<z.ZodString>;
41
+ createdAt: z.ZodISODateTime;
42
+ }, z.core.$strip>;
43
+ 400: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
44
+ 401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
45
+ 403: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
46
+ 409: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
47
+ 500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
48
+ };
49
+ };
50
+ export type CreateAdminBlacklistEntryCommandBodyType = z.infer<typeof CreateAdminBlacklistEntryCommandBody>;
51
+ export type CreateAdminBlacklistEntryCommandResponseType = z.infer<typeof CreateAdminBlacklistEntryCommandResponse>;
52
+ //# sourceMappingURL=create-admin-blacklist-entry.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-admin-blacklist-entry.command.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/commands/create-admin-blacklist-entry.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAA2B,MAAM,kBAAkB,CAAC;AACzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAMzD,eAAO,MAAM,oCAAoC;;;;;;;;2BAc/C,CAAC;AAEH,eAAO,MAAM,wCAAwC;;;;;;iBAAoC,CAAC;AAE1F,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe3C,CAAC;AAEH,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAC5G,MAAM,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateAdminBlacklistEntryCommand = exports.CreateAdminBlacklistEntryCommandResponse = exports.CreateAdminBlacklistEntryCommandBody = void 0;
4
+ const zod_1 = require("zod");
5
+ const _common_1 = require("../../../_common");
6
+ const enums_1 = require("../../enums");
7
+ const models_1 = require("../../models");
8
+ const admin_1 = require("../admin");
9
+ const BlacklistReasonSchema = zod_1.z.string().trim().min(1).max(500).nullable().optional();
10
+ exports.CreateAdminBlacklistEntryCommandBody = zod_1.z.discriminatedUnion('type', [
11
+ zod_1.z.object({
12
+ type: zod_1.z.literal(enums_1.ADMIN_BLACKLIST_ENTRY_TYPE.IP),
13
+ value: zod_1.z
14
+ .string()
15
+ .trim()
16
+ .pipe(zod_1.z.union([zod_1.z.ipv4(), zod_1.z.ipv6()])),
17
+ reason: BlacklistReasonSchema,
18
+ }),
19
+ zod_1.z.object({
20
+ type: zod_1.z.literal(enums_1.ADMIN_BLACKLIST_ENTRY_TYPE.FINGERPRINT),
21
+ value: zod_1.z.string().trim().toLowerCase().min(1).max(128),
22
+ reason: BlacklistReasonSchema,
23
+ }),
24
+ ]);
25
+ exports.CreateAdminBlacklistEntryCommandResponse = models_1.AdminBlacklistEntryResponseSchema;
26
+ exports.CreateAdminBlacklistEntryCommand = (0, _common_1.defineContract)({
27
+ method: _common_1.HTTP_METHODS.POST,
28
+ path: admin_1.ADMIN_ROUTES.CREATE_BLACKLIST_ENTRY,
29
+ summary: 'Add an IP or a client fingerprint to the blacklist',
30
+ request: {
31
+ body: exports.CreateAdminBlacklistEntryCommandBody,
32
+ },
33
+ responses: {
34
+ 201: exports.CreateAdminBlacklistEntryCommandResponse,
35
+ 400: _common_1.HttpErrorResponseSchema,
36
+ 401: _common_1.HttpErrorResponseSchema,
37
+ 403: _common_1.HttpErrorResponseSchema,
38
+ 409: _common_1.HttpErrorResponseSchema,
39
+ 500: _common_1.HttpErrorResponseSchema,
40
+ },
41
+ });
@@ -0,0 +1,26 @@
1
+ import { z } from 'zod';
2
+ import { HTTP_METHODS } from '../../../_common';
3
+ export declare const DeleteAdminBlacklistEntryCommandParams: z.ZodObject<{
4
+ entryId: z.ZodUUID;
5
+ }, z.core.$strip>;
6
+ export declare const DeleteAdminBlacklistEntryCommandResponse: z.ZodType<import("../../../_common").HttpSuccessResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpSuccessResponse, unknown>>;
7
+ export declare const DeleteAdminBlacklistEntryCommand: {
8
+ method: HTTP_METHODS.DELETE;
9
+ path: string;
10
+ summary: string;
11
+ request: {
12
+ params: z.ZodObject<{
13
+ entryId: z.ZodUUID;
14
+ }, z.core.$strip>;
15
+ };
16
+ responses: {
17
+ 200: z.ZodType<import("../../../_common").HttpSuccessResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpSuccessResponse, unknown>>;
18
+ 401: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
19
+ 403: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
20
+ 404: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
21
+ 500: z.ZodType<import("../../../_common").HttpErrorResponse, unknown, z.core.$ZodTypeInternals<import("../../../_common").HttpErrorResponse, unknown>>;
22
+ };
23
+ };
24
+ export type DeleteAdminBlacklistEntryCommandParamsType = z.infer<typeof DeleteAdminBlacklistEntryCommandParams>;
25
+ export type DeleteAdminBlacklistEntryCommandResponseType = z.infer<typeof DeleteAdminBlacklistEntryCommandResponse>;
26
+ //# sourceMappingURL=delete-admin-blacklist-entry.command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-admin-blacklist-entry.command.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/commands/delete-admin-blacklist-entry.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAkB,YAAY,EAAsD,MAAM,kBAAkB,CAAC;AAGpH,eAAO,MAAM,sCAAsC;;iBAEjD,CAAC;AAEH,eAAO,MAAM,wCAAwC,uJAA4B,CAAC;AAElF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;CAc3C,CAAC;AAEH,MAAM,MAAM,0CAA0C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sCAAsC,CAAC,CAAC;AAChH,MAAM,MAAM,4CAA4C,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteAdminBlacklistEntryCommand = exports.DeleteAdminBlacklistEntryCommandResponse = exports.DeleteAdminBlacklistEntryCommandParams = void 0;
4
+ const zod_1 = require("zod");
5
+ const _common_1 = require("../../../_common");
6
+ const admin_1 = require("../admin");
7
+ exports.DeleteAdminBlacklistEntryCommandParams = zod_1.z.object({
8
+ entryId: zod_1.z.uuid(),
9
+ });
10
+ exports.DeleteAdminBlacklistEntryCommandResponse = _common_1.HttpSuccessResponseSchema;
11
+ exports.DeleteAdminBlacklistEntryCommand = (0, _common_1.defineContract)({
12
+ method: _common_1.HTTP_METHODS.DELETE,
13
+ path: admin_1.ADMIN_ROUTES.DELETE_BLACKLIST_ENTRY(':entryId'),
14
+ summary: 'Remove an entry from the blacklist',
15
+ request: {
16
+ params: exports.DeleteAdminBlacklistEntryCommandParams,
17
+ },
18
+ responses: {
19
+ 200: exports.DeleteAdminBlacklistEntryCommandResponse,
20
+ 401: _common_1.HttpErrorResponseSchema,
21
+ 403: _common_1.HttpErrorResponseSchema,
22
+ 404: _common_1.HttpErrorResponseSchema,
23
+ 500: _common_1.HttpErrorResponseSchema,
24
+ },
25
+ });
@@ -23,4 +23,7 @@ export * from './probe-admin-trend-reference-video.command';
23
23
  export * from './create-admin-trend-category.command';
24
24
  export * from './update-admin-trend-category.command';
25
25
  export * from './delete-admin-trend-category.command';
26
+ export * from './create-admin-blacklist-entry.command';
27
+ export * from './delete-admin-blacklist-entry.command';
28
+ export * from './ban-admin-antifraud-check-value.command';
26
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,wCAAwC,CAAC;AACvD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../admin/endpoints/commands/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,wCAAwC,CAAC;AACvD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oCAAoC,CAAC;AACnD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,2CAA2C,CAAC"}
@@ -39,3 +39,6 @@ __exportStar(require("./probe-admin-trend-reference-video.command"), exports);
39
39
  __exportStar(require("./create-admin-trend-category.command"), exports);
40
40
  __exportStar(require("./update-admin-trend-category.command"), exports);
41
41
  __exportStar(require("./delete-admin-trend-category.command"), exports);
42
+ __exportStar(require("./create-admin-blacklist-entry.command"), exports);
43
+ __exportStar(require("./delete-admin-blacklist-entry.command"), exports);
44
+ __exportStar(require("./ban-admin-antifraud-check-value.command"), exports);