@dakkitor/api-contracts 1.1.137 → 1.1.139
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/abilities/abilities.contract.d.ts +2 -0
- package/dist/abilities/abilities.contract.d.ts.map +1 -1
- package/dist/abilities/abilities.contract.js +4 -1
- package/dist/abilities/bot.abilities.json +4 -0
- package/dist/abilities/cron-scheduler.abilities.json +10 -0
- package/dist/abilities/first-agent.abilities.json +16 -1
- package/dist/abilities/kpi.abilities.json +4 -0
- package/dist/abilities/second-agent.abilities.json +18 -1
- package/dist/abilities/team-leads.json +4 -0
- package/dist/actives/actives.contract.d.ts +14109 -7079
- package/dist/actives/actives.contract.d.ts.map +1 -1
- package/dist/actives/actives.contract.js +290 -2
- package/dist/agent-client-links/agent-client-links.contract.d.ts +1431 -1017
- package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
- package/dist/auth/auth.contract.d.ts +16 -16
- package/dist/bookings/bookings.contract.d.ts +31263 -60067
- package/dist/bookings/bookings.contract.d.ts.map +1 -1
- package/dist/bookings/bookings.contract.js +223 -8
- package/dist/call-history/call-history.contract.d.ts +814 -640
- package/dist/call-history/call-history.contract.d.ts.map +1 -1
- package/dist/client-contacts/client-contacts.contract.d.ts +177 -177
- package/dist/clients/clients.contract.d.ts +92 -92
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +2114 -1730
- package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
- package/dist/collaborations/collaborations.contract.d.ts +1889 -1508
- package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
- package/dist/common/common-schemas.d.ts +23 -4
- package/dist/common/common-schemas.d.ts.map +1 -1
- package/dist/common/common-schemas.js +31 -1
- package/dist/companies/companies.contract.d.ts +28 -28
- package/dist/cron-executions/cron-executions.contract.d.ts +131 -7
- package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
- package/dist/cron-executions/cron-executions.contract.js +14 -0
- package/dist/curated-workers/curated-workers.contract.d.ts +762 -500
- package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
- package/dist/curated-workers/curated-workers.contract.js +10 -0
- package/dist/dashboards/dashboard-widgets.contract.d.ts +671 -147
- package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
- package/dist/dashboards/dashboard-widgets.contract.js +140 -7
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/jobs/jobs.contract.d.ts +5234 -2120
- package/dist/jobs/jobs.contract.d.ts.map +1 -1
- package/dist/jobs/jobs.contract.js +77 -1
- package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +64 -64
- package/dist/lead-assignments/lead-assignments.contract.d.ts +754 -562
- package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +254 -24
- package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
- package/dist/lead-distribution/agent-lead-distribution.contract.js +7 -1
- package/dist/leads/leads.contract.d.ts +228 -228
- package/dist/locations/locations.contract.d.ts +22 -22
- package/dist/offices/offices.contract.d.ts +794 -0
- package/dist/offices/offices.contract.d.ts.map +1 -0
- package/dist/offices/offices.contract.js +93 -0
- package/dist/own-research/own-research.contract.d.ts +854 -563
- package/dist/own-research/own-research.contract.d.ts.map +1 -1
- package/dist/users/users.contract.d.ts +345 -245
- package/dist/users/users.contract.d.ts.map +1 -1
- package/dist/users/users.contract.js +7 -25
- package/dist/workers/workers.contract.d.ts +1723 -839
- package/dist/workers/workers.contract.d.ts.map +1 -1
- package/dist/workers/workers.contract.js +76 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collaborations.contract.d.ts","sourceRoot":"","sources":["../../contracts/collaborations/collaborations.contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB;;GAEG;AACH,eAAO,MAAM,yBAAyB,gJAWM,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,iCAAiC,iDAEM,CAAC;AAErD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"collaborations.contract.d.ts","sourceRoot":"","sources":["../../contracts/collaborations/collaborations.contract.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB;;GAEG;AACH,eAAO,MAAM,yBAAyB,gJAWM,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,iCAAiC,iDAEM,CAAC;AAErD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,iCAAiC,CACzC,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoHxC,CAAC"}
|
|
@@ -97,17 +97,36 @@ export declare const RatingRangeSchema: z.ZodObject<{
|
|
|
97
97
|
export type RatingRange = z.infer<typeof RatingRangeSchema>;
|
|
98
98
|
export declare const EnglishLevelSchema: z.ZodEnum<["NONE", "BASIC", "INTERMEDIATE", "ADVANCED", "NATIVE"]>;
|
|
99
99
|
export type EnglishLevel = z.infer<typeof EnglishLevelSchema>;
|
|
100
|
+
export declare const TransportationMethodSchema: z.ZodEnum<["OWN_CAR", "OWN_VAN", "MOTORCYCLE", "PUBLIC_TRANSPORT", "BICYCLE", "WALK"]>;
|
|
101
|
+
export type TransportationMethod = z.infer<typeof TransportationMethodSchema>;
|
|
102
|
+
export declare const TransportationSchema: z.ZodEffects<z.ZodObject<{
|
|
103
|
+
methods: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["OWN_CAR", "OWN_VAN", "MOTORCYCLE", "PUBLIC_TRANSPORT", "BICYCLE", "WALK"]>, "many">>>;
|
|
104
|
+
preferredMethod: z.ZodOptional<z.ZodNullable<z.ZodEnum<["OWN_CAR", "OWN_VAN", "MOTORCYCLE", "PUBLIC_TRANSPORT", "BICYCLE", "WALK"]>>>;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
107
|
+
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
108
|
+
}, {
|
|
109
|
+
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
110
|
+
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
111
|
+
}>, {
|
|
112
|
+
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
113
|
+
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
114
|
+
}, {
|
|
115
|
+
methods?: ("OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK")[] | null | undefined;
|
|
116
|
+
preferredMethod?: "OWN_CAR" | "OWN_VAN" | "MOTORCYCLE" | "PUBLIC_TRANSPORT" | "BICYCLE" | "WALK" | null | undefined;
|
|
117
|
+
}>;
|
|
118
|
+
export type Transportation = z.infer<typeof TransportationSchema>;
|
|
100
119
|
export declare const NationalitySchema: z.ZodEnum<["AFGHAN", "ALBANIAN", "ALGERIAN", "AMERICAN", "ANDORRAN", "ANGOLAN", "ANTIGUANS", "ARGENTINEAN", "ARMENIAN", "AUSTRALIAN", "AUSTRIAN", "AZERBAIJANI", "BAHAMIAN", "BAHRAINI", "BANGLADESHI", "BARBADIAN", "BARBUDANS", "BELARUSIAN", "BELGIAN", "BELIZEAN", "BENINESE", "BHUTANESE", "BOLIVIAN", "BOSNIAN", "BRAZILIAN", "BRITISH", "BRUNEIAN", "BULGARIAN", "BURKINABE", "BURMESE", "BURUNDIAN", "CAMBODIAN", "CAMEROONIAN", "CANADIAN", "CAPE_VERDEAN", "CENTRAL_AFRICAN", "CHADIAN", "CHILEAN", "CHINESE", "COLOMBIAN", "COMORAN", "CONGOLESE", "COSTA_RICAN", "CROATIAN", "CUBAN", "CYPRIOT", "CZECH", "DANISH", "DJIBOUTI", "DOMINICAN", "DUTCH", "EAST_TIMORESE", "ECUADOREAN", "EGYPTIAN", "EMIRIAN", "EQUATORIAL_GUINEAN", "ERITREAN", "ESTONIAN", "ETHIOPIAN", "FIJIAN", "FILIPINO", "FINNISH", "FRENCH", "GABONESE", "GAMBIAN", "GEORGIAN", "GERMAN", "GHANAIAN", "GREEK", "GRENADIAN", "GUATEMALAN", "GUINEA_BISSAUAN", "GUINEAN", "GUYANESE", "HAITIAN", "HERZEGOVINIAN", "HONDURAN", "HUNGARIAN", "ICELANDER", "INDIAN", "INDONESIAN", "IRANIAN", "IRAQI", "IRISH", "ISRAELI", "ITALIAN", "IVORIAN", "JAMAICAN", "JAPANESE", "JORDANIAN", "KAZAKHSTANI", "KENYAN", "KITTIAN_AND_NEVISIAN", "KUWAITI", "KYRGYZ", "LAOTIAN", "LATVIAN", "LEBANESE", "LIBERIAN", "LIBYAN", "LIECHTENSTEINER", "LITHUANIAN", "LUXEMBOURGER", "MACEDONIAN", "MALAGASY", "MALAWIAN", "MALAYSIAN", "MALDIVAN", "MALIAN", "MALTESE", "MARSHALLESE", "MAURITANIAN", "MAURITIAN", "MEXICAN", "MICRONESIAN", "MOLDOVAN", "MONACAN", "MONGOLIAN", "MOROCCAN", "MOSOTHO", "MOTSWANA", "MOZAMBICAN", "NAMIBIAN", "NAURUAN", "NEPALESE", "NEW_ZEALANDER", "NI_VANUATU", "NICARAGUAN", "NIGERIEN", "NIGERIAN", "NORTH_KOREAN", "NORTHERN_IRISH", "NORWEGIAN", "OMANI", "PAKISTANI", "PALAUAN", "PANAMANIAN", "PAPUA_NEW_GUINEAN", "PARAGUAYAN", "PERUVIAN", "POLISH", "PORTUGUESE", "QATARI", "ROMANIAN", "RUSSIAN", "RWANDAN", "SAINT_LUCIAN", "SALVADORAN", "SAMOAN", "SAN_MARINESE", "SAO_TOMEAN", "SAUDI", "SCOTTISH", "SENEGALESE", "SERBIAN", "SEYCHELLOIS", "SIERRA_LEONEAN", "SINGAPOREAN", "SLOVAKIAN", "SLOVENIAN", "SOLOMON_ISLANDER", "SOMALI", "SOUTH_AFRICAN", "SOUTH_KOREAN", "SOUTH_SUDANESE", "SPANISH", "SRI_LANKAN", "SUDANESE", "SURINAMER", "SWAZI", "SWEDISH", "SWISS", "SYRIAN", "TAIWANESE", "TAJIK", "TANZANIAN", "THAI", "TOGOLESE", "TONGAN", "TRINIDADIAN_OR_TOBAGONIAN", "TUNISIAN", "TURKISH", "TUVALUAN", "UGANDAN", "UKRAINIAN", "URUGUAYAN", "UZBEKISTANI", "VENEZUELAN", "VIETNAMESE", "WELSH", "YEMENITE", "ZAMBIAN", "ZIMBABWEAN"]>;
|
|
101
120
|
export type Nationality = z.infer<typeof NationalitySchema>;
|
|
102
121
|
export declare const CreateLocationSchema: z.ZodObject<{
|
|
103
122
|
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
104
123
|
postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
105
124
|
}, "strip", z.ZodTypeAny, {
|
|
106
|
-
postcode?: string | null | undefined;
|
|
107
125
|
address?: string | null | undefined;
|
|
108
|
-
}, {
|
|
109
126
|
postcode?: string | null | undefined;
|
|
127
|
+
}, {
|
|
110
128
|
address?: string | null | undefined;
|
|
129
|
+
postcode?: string | null | undefined;
|
|
111
130
|
}>;
|
|
112
131
|
export declare const LocationDetailsSchema: z.ZodObject<{
|
|
113
132
|
address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -118,16 +137,16 @@ export declare const LocationDetailsSchema: z.ZodObject<{
|
|
|
118
137
|
postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
119
138
|
areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
120
139
|
}, "strip", z.ZodTypeAny, {
|
|
121
|
-
postcode?: string | null | undefined;
|
|
122
140
|
address?: string | null | undefined;
|
|
141
|
+
postcode?: string | null | undefined;
|
|
123
142
|
county?: string | null | undefined;
|
|
124
143
|
adminDistrict?: string | null | undefined;
|
|
125
144
|
builtUpArea?: string | null | undefined;
|
|
126
145
|
postTown?: string | null | undefined;
|
|
127
146
|
areaCovered?: string | null | undefined;
|
|
128
147
|
}, {
|
|
129
|
-
postcode?: string | null | undefined;
|
|
130
148
|
address?: string | null | undefined;
|
|
149
|
+
postcode?: string | null | undefined;
|
|
131
150
|
county?: string | null | undefined;
|
|
132
151
|
adminDistrict?: string | null | undefined;
|
|
133
152
|
builtUpArea?: string | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common-schemas.d.ts","sourceRoot":"","sources":["../../contracts/common/common-schemas.ts"],"names":[],"mappings":"AAEA,OAAO,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Schema = exports.ResourceIdSchema = exports.AutocompleteQuerySchema = exports.LocationFilterSchema = exports.LocationDetailsSchema = exports.CreateLocationSchema = exports.NationalitySchema = exports.EnglishLevelSchema = exports.RatingRangeSchema = exports.DateRangeSchema = exports.RateUnitSchema = exports.SortOrderSchema = exports.UpsertPhoneNumberSchema = exports.CreatePhoneNumberSchema = exports.PhoneNumberResponseSchema = exports.PhoneSchema = void 0;
|
|
3
|
+
exports.MessageResponseSchema = exports.PayRangeSchema = exports.ResourceIdSchema = exports.AutocompleteQuerySchema = exports.LocationFilterSchema = exports.LocationDetailsSchema = exports.CreateLocationSchema = exports.NationalitySchema = exports.TransportationSchema = exports.TransportationMethodSchema = exports.EnglishLevelSchema = exports.RatingRangeSchema = exports.DateRangeSchema = exports.RateUnitSchema = exports.SortOrderSchema = exports.UpsertPhoneNumberSchema = exports.CreatePhoneNumberSchema = exports.PhoneNumberResponseSchema = exports.PhoneSchema = void 0;
|
|
4
4
|
const zod_openapi_1 = require("@anatine/zod-openapi");
|
|
5
5
|
const libphonenumber_js_1 = require("libphonenumber-js");
|
|
6
6
|
const zod_1 = require("zod");
|
|
@@ -98,6 +98,36 @@ exports.RatingRangeSchema = zod_1.z
|
|
|
98
98
|
exports.EnglishLevelSchema = zod_1.z
|
|
99
99
|
.enum(['NONE', 'BASIC', 'INTERMEDIATE', 'ADVANCED', 'NATIVE'])
|
|
100
100
|
.openapi({ title: 'EnglishLevel' });
|
|
101
|
+
exports.TransportationMethodSchema = zod_1.z.enum([
|
|
102
|
+
'OWN_CAR',
|
|
103
|
+
'OWN_VAN',
|
|
104
|
+
'MOTORCYCLE',
|
|
105
|
+
'PUBLIC_TRANSPORT',
|
|
106
|
+
'BICYCLE',
|
|
107
|
+
'WALK',
|
|
108
|
+
]);
|
|
109
|
+
exports.TransportationSchema = zod_1.z
|
|
110
|
+
.object({
|
|
111
|
+
methods: zod_1.z
|
|
112
|
+
.array(exports.TransportationMethodSchema)
|
|
113
|
+
.nullable()
|
|
114
|
+
.optional()
|
|
115
|
+
.describe('Transportation Methods'),
|
|
116
|
+
preferredMethod: exports.TransportationMethodSchema.nullable()
|
|
117
|
+
.optional()
|
|
118
|
+
.describe('Preferred Transportation Method'),
|
|
119
|
+
})
|
|
120
|
+
.superRefine((data, ctx) => {
|
|
121
|
+
if (data.preferredMethod &&
|
|
122
|
+
(!data.methods || !data.methods.includes(data.preferredMethod))) {
|
|
123
|
+
ctx.addIssue({
|
|
124
|
+
code: zod_1.z.ZodIssueCode.custom,
|
|
125
|
+
message: 'Preferred method must be one of the selected methods',
|
|
126
|
+
path: ['preferredMethod'],
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
.openapi({ title: 'Transportation' });
|
|
101
131
|
exports.NationalitySchema = zod_1.z
|
|
102
132
|
.enum([
|
|
103
133
|
'AFGHAN',
|
|
@@ -8,13 +8,13 @@ export declare const CompanySchema: z.ZodObject<{
|
|
|
8
8
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
9
9
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
name: string;
|
|
12
11
|
id: string;
|
|
12
|
+
name: string;
|
|
13
13
|
createdAt: string;
|
|
14
14
|
updatedAt: string;
|
|
15
15
|
}, {
|
|
16
|
-
name: string;
|
|
17
16
|
id: string;
|
|
17
|
+
name: string;
|
|
18
18
|
createdAt: string | Date;
|
|
19
19
|
updatedAt: string | Date;
|
|
20
20
|
}>;
|
|
@@ -40,37 +40,37 @@ export declare const FilterCompanySchema: z.ZodObject<{
|
|
|
40
40
|
sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["name", "createdAt", "updatedAt"]>>>;
|
|
41
41
|
sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
|
-
page: number;
|
|
44
43
|
limit: number;
|
|
44
|
+
page: number;
|
|
45
45
|
name?: string | null | undefined;
|
|
46
46
|
sortBy?: "name" | "createdAt" | "updatedAt" | null | undefined;
|
|
47
47
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
48
48
|
}, {
|
|
49
49
|
name?: string | null | undefined;
|
|
50
|
+
limit?: number | undefined;
|
|
51
|
+
page?: number | undefined;
|
|
50
52
|
sortBy?: "name" | "createdAt" | "updatedAt" | null | undefined;
|
|
51
53
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
52
|
-
page?: number | undefined;
|
|
53
|
-
limit?: number | undefined;
|
|
54
54
|
}>;
|
|
55
55
|
export declare const CompanyAutocompleteResponseSchema: z.ZodObject<{
|
|
56
56
|
id: z.ZodString;
|
|
57
57
|
name: z.ZodString;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
name: string;
|
|
60
59
|
id: string;
|
|
61
|
-
}, {
|
|
62
60
|
name: string;
|
|
61
|
+
}, {
|
|
63
62
|
id: string;
|
|
63
|
+
name: string;
|
|
64
64
|
}>;
|
|
65
65
|
export declare const CompanyAutocompleteArraySchema: z.ZodArray<z.ZodObject<{
|
|
66
66
|
id: z.ZodString;
|
|
67
67
|
name: z.ZodString;
|
|
68
68
|
}, "strip", z.ZodTypeAny, {
|
|
69
|
-
name: string;
|
|
70
69
|
id: string;
|
|
71
|
-
}, {
|
|
72
70
|
name: string;
|
|
71
|
+
}, {
|
|
73
72
|
id: string;
|
|
73
|
+
name: string;
|
|
74
74
|
}>, "many">;
|
|
75
75
|
export declare const CompaniesPaginatedResponseSchema: z.ZodObject<{
|
|
76
76
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -79,13 +79,13 @@ export declare const CompaniesPaginatedResponseSchema: z.ZodObject<{
|
|
|
79
79
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
80
80
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
name: string;
|
|
83
82
|
id: string;
|
|
83
|
+
name: string;
|
|
84
84
|
createdAt: string;
|
|
85
85
|
updatedAt: string;
|
|
86
86
|
}, {
|
|
87
|
-
name: string;
|
|
88
87
|
id: string;
|
|
88
|
+
name: string;
|
|
89
89
|
createdAt: string | Date;
|
|
90
90
|
updatedAt: string | Date;
|
|
91
91
|
}>, "many">;
|
|
@@ -97,8 +97,8 @@ export declare const CompaniesPaginatedResponseSchema: z.ZodObject<{
|
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
98
|
limit: number;
|
|
99
99
|
items: {
|
|
100
|
-
name: string;
|
|
101
100
|
id: string;
|
|
101
|
+
name: string;
|
|
102
102
|
createdAt: string;
|
|
103
103
|
updatedAt: string;
|
|
104
104
|
}[];
|
|
@@ -109,8 +109,8 @@ export declare const CompaniesPaginatedResponseSchema: z.ZodObject<{
|
|
|
109
109
|
}, {
|
|
110
110
|
limit: number;
|
|
111
111
|
items: {
|
|
112
|
-
name: string;
|
|
113
112
|
id: string;
|
|
113
|
+
name: string;
|
|
114
114
|
createdAt: string | Date;
|
|
115
115
|
updatedAt: string | Date;
|
|
116
116
|
}[];
|
|
@@ -252,13 +252,13 @@ export declare const companiesContractRouter: {
|
|
|
252
252
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
253
253
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
254
254
|
}, "strip", z.ZodTypeAny, {
|
|
255
|
-
name: string;
|
|
256
255
|
id: string;
|
|
256
|
+
name: string;
|
|
257
257
|
createdAt: string;
|
|
258
258
|
updatedAt: string;
|
|
259
259
|
}, {
|
|
260
|
-
name: string;
|
|
261
260
|
id: string;
|
|
261
|
+
name: string;
|
|
262
262
|
createdAt: string | Date;
|
|
263
263
|
updatedAt: string | Date;
|
|
264
264
|
}>;
|
|
@@ -298,17 +298,17 @@ export declare const companiesContractRouter: {
|
|
|
298
298
|
sortBy: z.ZodNullable<z.ZodOptional<z.ZodEnum<["name", "createdAt", "updatedAt"]>>>;
|
|
299
299
|
sortOrder: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
|
|
300
300
|
}, "strip", z.ZodTypeAny, {
|
|
301
|
-
page: number;
|
|
302
301
|
limit: number;
|
|
302
|
+
page: number;
|
|
303
303
|
name?: string | null | undefined;
|
|
304
304
|
sortBy?: "name" | "createdAt" | "updatedAt" | null | undefined;
|
|
305
305
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
306
306
|
}, {
|
|
307
307
|
name?: string | null | undefined;
|
|
308
|
+
limit?: number | undefined;
|
|
309
|
+
page?: number | undefined;
|
|
308
310
|
sortBy?: "name" | "createdAt" | "updatedAt" | null | undefined;
|
|
309
311
|
sortOrder?: "ASC" | "DESC" | null | undefined;
|
|
310
|
-
page?: number | undefined;
|
|
311
|
-
limit?: number | undefined;
|
|
312
312
|
}>;
|
|
313
313
|
metadata: {
|
|
314
314
|
tags: string[];
|
|
@@ -427,13 +427,13 @@ export declare const companiesContractRouter: {
|
|
|
427
427
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
428
428
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
|
-
name: string;
|
|
431
430
|
id: string;
|
|
431
|
+
name: string;
|
|
432
432
|
createdAt: string;
|
|
433
433
|
updatedAt: string;
|
|
434
434
|
}, {
|
|
435
|
-
name: string;
|
|
436
435
|
id: string;
|
|
436
|
+
name: string;
|
|
437
437
|
createdAt: string | Date;
|
|
438
438
|
updatedAt: string | Date;
|
|
439
439
|
}>, "many">;
|
|
@@ -445,8 +445,8 @@ export declare const companiesContractRouter: {
|
|
|
445
445
|
}, "strip", z.ZodTypeAny, {
|
|
446
446
|
limit: number;
|
|
447
447
|
items: {
|
|
448
|
-
name: string;
|
|
449
448
|
id: string;
|
|
449
|
+
name: string;
|
|
450
450
|
createdAt: string;
|
|
451
451
|
updatedAt: string;
|
|
452
452
|
}[];
|
|
@@ -457,8 +457,8 @@ export declare const companiesContractRouter: {
|
|
|
457
457
|
}, {
|
|
458
458
|
limit: number;
|
|
459
459
|
items: {
|
|
460
|
-
name: string;
|
|
461
460
|
id: string;
|
|
461
|
+
name: string;
|
|
462
462
|
createdAt: string | Date;
|
|
463
463
|
updatedAt: string | Date;
|
|
464
464
|
}[];
|
|
@@ -594,11 +594,11 @@ export declare const companiesContractRouter: {
|
|
|
594
594
|
id: z.ZodString;
|
|
595
595
|
name: z.ZodString;
|
|
596
596
|
}, "strip", z.ZodTypeAny, {
|
|
597
|
-
name: string;
|
|
598
597
|
id: string;
|
|
599
|
-
}, {
|
|
600
598
|
name: string;
|
|
599
|
+
}, {
|
|
601
600
|
id: string;
|
|
601
|
+
name: string;
|
|
602
602
|
}>, "many">;
|
|
603
603
|
};
|
|
604
604
|
};
|
|
@@ -726,13 +726,13 @@ export declare const companiesContractRouter: {
|
|
|
726
726
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
727
727
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
728
728
|
}, "strip", z.ZodTypeAny, {
|
|
729
|
-
name: string;
|
|
730
729
|
id: string;
|
|
730
|
+
name: string;
|
|
731
731
|
createdAt: string;
|
|
732
732
|
updatedAt: string;
|
|
733
733
|
}, {
|
|
734
|
-
name: string;
|
|
735
734
|
id: string;
|
|
735
|
+
name: string;
|
|
736
736
|
createdAt: string | Date;
|
|
737
737
|
updatedAt: string | Date;
|
|
738
738
|
}>;
|
|
@@ -894,13 +894,13 @@ export declare const companiesContractRouter: {
|
|
|
894
894
|
createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
895
895
|
updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
|
|
896
896
|
}, "strip", z.ZodTypeAny, {
|
|
897
|
-
name: string;
|
|
898
897
|
id: string;
|
|
898
|
+
name: string;
|
|
899
899
|
createdAt: string;
|
|
900
900
|
updatedAt: string;
|
|
901
901
|
}, {
|
|
902
|
-
name: string;
|
|
903
902
|
id: string;
|
|
903
|
+
name: string;
|
|
904
904
|
createdAt: string | Date;
|
|
905
905
|
updatedAt: string | Date;
|
|
906
906
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const CronJobNameSchema: z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS"]>;
|
|
2
|
+
export declare const CronJobNameSchema: z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS", "RECONCILE_ALL_DAILY_METRICS"]>;
|
|
3
3
|
export declare const CronExecutionStatusSchema: z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>;
|
|
4
4
|
export declare const CronExecutionHistorySchema: z.ZodObject<{
|
|
5
5
|
id: z.ZodString;
|
|
@@ -161,7 +161,7 @@ export declare const CronExecutionFilterSchema: z.ZodObject<{
|
|
|
161
161
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
162
162
|
page: z.ZodDefault<z.ZodNumber>;
|
|
163
163
|
} & {
|
|
164
|
-
jobNames: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS"]>, z.ZodArray<z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS"]>, "many">]>>, ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS")[] | undefined, "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS")[] | undefined>;
|
|
164
|
+
jobNames: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS", "RECONCILE_ALL_DAILY_METRICS"]>, z.ZodArray<z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS", "RECONCILE_ALL_DAILY_METRICS"]>, "many">]>>, ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS")[] | undefined, "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS")[] | undefined>;
|
|
165
165
|
statuses: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>, z.ZodArray<z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>, "many">]>>, ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined, "SUCCESS" | "FAILED" | "PARTIAL" | ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined>;
|
|
166
166
|
startedAfter: z.ZodOptional<z.ZodString>;
|
|
167
167
|
startedBefore: z.ZodOptional<z.ZodString>;
|
|
@@ -170,7 +170,7 @@ export declare const CronExecutionFilterSchema: z.ZodObject<{
|
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
171
171
|
limit: number;
|
|
172
172
|
page: number;
|
|
173
|
-
jobNames?: ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS")[] | undefined;
|
|
173
|
+
jobNames?: ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS")[] | undefined;
|
|
174
174
|
statuses?: ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined;
|
|
175
175
|
startedAfter?: string | undefined;
|
|
176
176
|
startedBefore?: string | undefined;
|
|
@@ -179,7 +179,7 @@ export declare const CronExecutionFilterSchema: z.ZodObject<{
|
|
|
179
179
|
}, {
|
|
180
180
|
limit?: number | undefined;
|
|
181
181
|
page?: number | undefined;
|
|
182
|
-
jobNames?: "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS")[] | undefined;
|
|
182
|
+
jobNames?: "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS")[] | undefined;
|
|
183
183
|
statuses?: "SUCCESS" | "FAILED" | "PARTIAL" | ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined;
|
|
184
184
|
startedAfter?: string | undefined;
|
|
185
185
|
startedBefore?: string | undefined;
|
|
@@ -394,7 +394,7 @@ export declare const cronExecutionsContract: {
|
|
|
394
394
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
395
395
|
page: z.ZodDefault<z.ZodNumber>;
|
|
396
396
|
} & {
|
|
397
|
-
jobNames: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS"]>, z.ZodArray<z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS"]>, "many">]>>, ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS")[] | undefined, "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS")[] | undefined>;
|
|
397
|
+
jobNames: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS", "RECONCILE_ALL_DAILY_METRICS"]>, z.ZodArray<z.ZodEnum<["GENERATE_DAILY_ACTIVES", "CLEANUP_ORPHANED_FILES", "CLEANUP_ARCHIVED_FILES", "UPDATE_AGENT_PERFORMANCE", "RECONCILE_DAILY_METRICS", "RECONCILE_ALL_DAILY_METRICS"]>, "many">]>>, ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS")[] | undefined, "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS")[] | undefined>;
|
|
398
398
|
statuses: z.ZodEffects<z.ZodOptional<z.ZodUnion<[z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>, z.ZodArray<z.ZodEnum<["SUCCESS", "FAILED", "PARTIAL"]>, "many">]>>, ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined, "SUCCESS" | "FAILED" | "PARTIAL" | ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined>;
|
|
399
399
|
startedAfter: z.ZodOptional<z.ZodString>;
|
|
400
400
|
startedBefore: z.ZodOptional<z.ZodString>;
|
|
@@ -403,7 +403,7 @@ export declare const cronExecutionsContract: {
|
|
|
403
403
|
}, "strip", z.ZodTypeAny, {
|
|
404
404
|
limit: number;
|
|
405
405
|
page: number;
|
|
406
|
-
jobNames?: ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS")[] | undefined;
|
|
406
|
+
jobNames?: ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS")[] | undefined;
|
|
407
407
|
statuses?: ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined;
|
|
408
408
|
startedAfter?: string | undefined;
|
|
409
409
|
startedBefore?: string | undefined;
|
|
@@ -412,7 +412,7 @@ export declare const cronExecutionsContract: {
|
|
|
412
412
|
}, {
|
|
413
413
|
limit?: number | undefined;
|
|
414
414
|
page?: number | undefined;
|
|
415
|
-
jobNames?: "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS")[] | undefined;
|
|
415
|
+
jobNames?: "GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS" | ("GENERATE_DAILY_ACTIVES" | "CLEANUP_ORPHANED_FILES" | "CLEANUP_ARCHIVED_FILES" | "UPDATE_AGENT_PERFORMANCE" | "RECONCILE_DAILY_METRICS" | "RECONCILE_ALL_DAILY_METRICS")[] | undefined;
|
|
416
416
|
statuses?: "SUCCESS" | "FAILED" | "PARTIAL" | ("SUCCESS" | "FAILED" | "PARTIAL")[] | undefined;
|
|
417
417
|
startedAfter?: string | undefined;
|
|
418
418
|
startedBefore?: string | undefined;
|
|
@@ -1763,5 +1763,129 @@ export declare const cronExecutionsContract: {
|
|
|
1763
1763
|
}>;
|
|
1764
1764
|
};
|
|
1765
1765
|
};
|
|
1766
|
+
triggerReconcileAllDailyMetrics: {
|
|
1767
|
+
metadata: {
|
|
1768
|
+
tags: string[];
|
|
1769
|
+
};
|
|
1770
|
+
summary: "Trigger full reconciliation of daily metrics across all historical dates";
|
|
1771
|
+
method: "POST";
|
|
1772
|
+
body: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
1773
|
+
path: "/v2/cron-executions/trigger/reconcile-all-daily-metrics";
|
|
1774
|
+
responses: {
|
|
1775
|
+
400: z.ZodObject<{
|
|
1776
|
+
statusCode: z.ZodNumber;
|
|
1777
|
+
message: z.ZodString;
|
|
1778
|
+
code: z.ZodString;
|
|
1779
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
1780
|
+
timestamp: z.ZodString;
|
|
1781
|
+
path: z.ZodString;
|
|
1782
|
+
correlationId: z.ZodOptional<z.ZodString>;
|
|
1783
|
+
}, "strip", z.ZodTypeAny, {
|
|
1784
|
+
code: string;
|
|
1785
|
+
path: string;
|
|
1786
|
+
message: string;
|
|
1787
|
+
statusCode: number;
|
|
1788
|
+
timestamp: string;
|
|
1789
|
+
details?: unknown;
|
|
1790
|
+
correlationId?: string | undefined;
|
|
1791
|
+
}, {
|
|
1792
|
+
code: string;
|
|
1793
|
+
path: string;
|
|
1794
|
+
message: string;
|
|
1795
|
+
statusCode: number;
|
|
1796
|
+
timestamp: string;
|
|
1797
|
+
details?: unknown;
|
|
1798
|
+
correlationId?: string | undefined;
|
|
1799
|
+
}>;
|
|
1800
|
+
401: z.ZodObject<{
|
|
1801
|
+
statusCode: z.ZodNumber;
|
|
1802
|
+
message: z.ZodString;
|
|
1803
|
+
code: z.ZodString;
|
|
1804
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
1805
|
+
timestamp: z.ZodString;
|
|
1806
|
+
path: z.ZodString;
|
|
1807
|
+
correlationId: z.ZodOptional<z.ZodString>;
|
|
1808
|
+
}, "strip", z.ZodTypeAny, {
|
|
1809
|
+
code: string;
|
|
1810
|
+
path: string;
|
|
1811
|
+
message: string;
|
|
1812
|
+
statusCode: number;
|
|
1813
|
+
timestamp: string;
|
|
1814
|
+
details?: unknown;
|
|
1815
|
+
correlationId?: string | undefined;
|
|
1816
|
+
}, {
|
|
1817
|
+
code: string;
|
|
1818
|
+
path: string;
|
|
1819
|
+
message: string;
|
|
1820
|
+
statusCode: number;
|
|
1821
|
+
timestamp: string;
|
|
1822
|
+
details?: unknown;
|
|
1823
|
+
correlationId?: string | undefined;
|
|
1824
|
+
}>;
|
|
1825
|
+
500: z.ZodObject<{
|
|
1826
|
+
statusCode: z.ZodNumber;
|
|
1827
|
+
message: z.ZodString;
|
|
1828
|
+
code: z.ZodString;
|
|
1829
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
1830
|
+
timestamp: z.ZodString;
|
|
1831
|
+
path: z.ZodString;
|
|
1832
|
+
correlationId: z.ZodOptional<z.ZodString>;
|
|
1833
|
+
}, "strip", z.ZodTypeAny, {
|
|
1834
|
+
code: string;
|
|
1835
|
+
path: string;
|
|
1836
|
+
message: string;
|
|
1837
|
+
statusCode: number;
|
|
1838
|
+
timestamp: string;
|
|
1839
|
+
details?: unknown;
|
|
1840
|
+
correlationId?: string | undefined;
|
|
1841
|
+
}, {
|
|
1842
|
+
code: string;
|
|
1843
|
+
path: string;
|
|
1844
|
+
message: string;
|
|
1845
|
+
statusCode: number;
|
|
1846
|
+
timestamp: string;
|
|
1847
|
+
details?: unknown;
|
|
1848
|
+
correlationId?: string | undefined;
|
|
1849
|
+
}>;
|
|
1850
|
+
201: z.ZodObject<{
|
|
1851
|
+
success: z.ZodBoolean;
|
|
1852
|
+
message: z.ZodString;
|
|
1853
|
+
executionId: z.ZodString;
|
|
1854
|
+
}, "strip", z.ZodTypeAny, {
|
|
1855
|
+
message: string;
|
|
1856
|
+
success: boolean;
|
|
1857
|
+
executionId: string;
|
|
1858
|
+
}, {
|
|
1859
|
+
message: string;
|
|
1860
|
+
success: boolean;
|
|
1861
|
+
executionId: string;
|
|
1862
|
+
}>;
|
|
1863
|
+
403: z.ZodObject<{
|
|
1864
|
+
statusCode: z.ZodNumber;
|
|
1865
|
+
message: z.ZodString;
|
|
1866
|
+
code: z.ZodString;
|
|
1867
|
+
details: z.ZodOptional<z.ZodUnknown>;
|
|
1868
|
+
timestamp: z.ZodString;
|
|
1869
|
+
path: z.ZodString;
|
|
1870
|
+
correlationId: z.ZodOptional<z.ZodString>;
|
|
1871
|
+
}, "strip", z.ZodTypeAny, {
|
|
1872
|
+
code: string;
|
|
1873
|
+
path: string;
|
|
1874
|
+
message: string;
|
|
1875
|
+
statusCode: number;
|
|
1876
|
+
timestamp: string;
|
|
1877
|
+
details?: unknown;
|
|
1878
|
+
correlationId?: string | undefined;
|
|
1879
|
+
}, {
|
|
1880
|
+
code: string;
|
|
1881
|
+
path: string;
|
|
1882
|
+
message: string;
|
|
1883
|
+
statusCode: number;
|
|
1884
|
+
timestamp: string;
|
|
1885
|
+
details?: unknown;
|
|
1886
|
+
correlationId?: string | undefined;
|
|
1887
|
+
}>;
|
|
1888
|
+
};
|
|
1889
|
+
};
|
|
1766
1890
|
};
|
|
1767
1891
|
//# sourceMappingURL=cron-executions.contract.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cron-executions.contract.d.ts","sourceRoot":"","sources":["../../contracts/cron-executions/cron-executions.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"cron-executions.contract.d.ts","sourceRoot":"","sources":["../../contracts/cron-executions/cron-executions.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,iBAAiB,iLASM,CAAC;AAErC,eAAO,MAAM,yBAAyB,6CAEM,CAAC;AAE7C,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCM,CAAC;AAE9C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAiBM,CAAC;AAE5C,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;0BAWM,CAAC;AAEzC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAeM,CAAC;AAEvC,eAAO,MAAM,2BAA2B;;;;;;;;;;;;EAWM,CAAC;AAE/C,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCM,CAAC;AAE7C,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG5C,CAAC;AAEL,eAAO,MAAM,4BAA4B;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgJlC,CAAC"}
|
|
@@ -15,6 +15,7 @@ exports.CronJobNameSchema = zod_1.z
|
|
|
15
15
|
'CLEANUP_ARCHIVED_FILES',
|
|
16
16
|
'UPDATE_AGENT_PERFORMANCE',
|
|
17
17
|
'RECONCILE_DAILY_METRICS',
|
|
18
|
+
'RECONCILE_ALL_DAILY_METRICS',
|
|
18
19
|
])
|
|
19
20
|
.openapi({ title: 'CronJobName' });
|
|
20
21
|
exports.CronExecutionStatusSchema = zod_1.z
|
|
@@ -279,6 +280,19 @@ exports.cronExecutionsContract = c.router({
|
|
|
279
280
|
tags: ['Internal - Cron Jobs'],
|
|
280
281
|
},
|
|
281
282
|
},
|
|
283
|
+
triggerReconcileAllDailyMetrics: {
|
|
284
|
+
method: 'POST',
|
|
285
|
+
path: '/cron-executions/trigger/reconcile-all-daily-metrics',
|
|
286
|
+
body: zod_1.z.object({}),
|
|
287
|
+
responses: {
|
|
288
|
+
201: exports.CronExecutionResponseSchema,
|
|
289
|
+
403: error_schemas_1.ErrorResponseSchema,
|
|
290
|
+
},
|
|
291
|
+
summary: 'Trigger full reconciliation of daily metrics across all historical dates',
|
|
292
|
+
metadata: {
|
|
293
|
+
tags: ['Internal - Cron Jobs'],
|
|
294
|
+
},
|
|
295
|
+
},
|
|
282
296
|
}, {
|
|
283
297
|
pathPrefix: '/v2',
|
|
284
298
|
commonResponses: {
|