@dakkitor/api-contracts 1.1.126 → 1.1.127

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 (30) hide show
  1. package/dist/actives/actives.contract.d.ts +3851 -3851
  2. package/dist/agent-client-links/agent-client-links.contract.d.ts +538 -538
  3. package/dist/bookings/bookings.contract.d.ts +14861 -14861
  4. package/dist/call-history/call-history.contract.d.ts +183 -183
  5. package/dist/client-contacts/client-contacts.contract.d.ts +502 -502
  6. package/dist/clients/clients.contract.d.ts +172 -172
  7. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1558 -1558
  8. package/dist/collaborations/collaborations.contract.d.ts +1316 -1316
  9. package/dist/common/common-schemas.d.ts +8 -8
  10. package/dist/companies/companies.contract.d.ts +12 -12
  11. package/dist/cron-executions/cron-executions.contract.d.ts +6 -6
  12. package/dist/curated-workers/curated-workers.contract.d.ts +450 -450
  13. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
  14. package/dist/curated-workers/curated-workers.contract.js +4 -2
  15. package/dist/dashboards/agent-daily-metrics.contract.d.ts +3 -3
  16. package/dist/dashboards/dashboard-widgets.contract.d.ts +54 -54
  17. package/dist/dashboards/dashboard.contract.d.ts +34 -34
  18. package/dist/files/files.contract.d.ts +24 -24
  19. package/dist/jobs/jobs.contract.d.ts +1717 -1717
  20. package/dist/lead-assignments/lead-assignments.contract.d.ts +66 -66
  21. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +53 -53
  22. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +7 -7
  23. package/dist/leads/leads.contract.d.ts +161 -161
  24. package/dist/locations/locations.contract.d.ts +21 -21
  25. package/dist/postcodes/postcodes.contract.d.ts +18 -18
  26. package/dist/qualifications/qualifications.contract.d.ts +22 -22
  27. package/dist/trades/trades.contract.d.ts +16 -16
  28. package/dist/users/users.contract.d.ts +36 -36
  29. package/dist/workers/workers.contract.d.ts +651 -651
  30. package/package.json +1 -1
@@ -44,23 +44,23 @@ export declare const UpsertPhoneNumberSchema: z.ZodEffects<z.ZodObject<{
44
44
  isPrimary: z.ZodOptional<z.ZodBoolean>;
45
45
  }, "strip", z.ZodTypeAny, {
46
46
  id?: string | undefined;
47
- phoneNumber?: string | undefined;
48
47
  description?: string | null | undefined;
48
+ phoneNumber?: string | undefined;
49
49
  isPrimary?: boolean | undefined;
50
50
  }, {
51
51
  id?: string | undefined;
52
- phoneNumber?: string | undefined;
53
52
  description?: string | null | undefined;
53
+ phoneNumber?: string | undefined;
54
54
  isPrimary?: boolean | undefined;
55
55
  }>, {
56
56
  id?: string | undefined;
57
- phoneNumber?: string | undefined;
58
57
  description?: string | null | undefined;
58
+ phoneNumber?: string | undefined;
59
59
  isPrimary?: boolean | undefined;
60
60
  }, {
61
61
  id?: string | undefined;
62
- phoneNumber?: string | undefined;
63
62
  description?: string | null | undefined;
63
+ phoneNumber?: string | undefined;
64
64
  isPrimary?: boolean | undefined;
65
65
  }>;
66
66
  export type PhoneNumberResponse = z.infer<typeof PhoneNumberResponseSchema>;
@@ -103,11 +103,11 @@ export declare const CreateLocationSchema: z.ZodObject<{
103
103
  address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
104
104
  postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
105
105
  }, "strip", z.ZodTypeAny, {
106
- address?: string | null | undefined;
107
106
  postcode?: string | null | undefined;
108
- }, {
109
107
  address?: string | null | undefined;
108
+ }, {
110
109
  postcode?: string | null | undefined;
110
+ address?: string | null | undefined;
111
111
  }>;
112
112
  export declare const LocationDetailsSchema: z.ZodObject<{
113
113
  address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -118,16 +118,16 @@ export declare const LocationDetailsSchema: z.ZodObject<{
118
118
  postTown: z.ZodNullable<z.ZodOptional<z.ZodString>>;
119
119
  areaCovered: z.ZodNullable<z.ZodOptional<z.ZodString>>;
120
120
  }, "strip", z.ZodTypeAny, {
121
- address?: string | null | undefined;
122
121
  postcode?: string | null | undefined;
122
+ address?: string | null | undefined;
123
123
  county?: string | null | undefined;
124
124
  adminDistrict?: string | null | undefined;
125
125
  builtUpArea?: string | null | undefined;
126
126
  postTown?: string | null | undefined;
127
127
  areaCovered?: string | null | undefined;
128
128
  }, {
129
- address?: string | null | undefined;
130
129
  postcode?: string | null | undefined;
130
+ address?: string | null | undefined;
131
131
  county?: string | null | undefined;
132
132
  adminDistrict?: string | null | undefined;
133
133
  builtUpArea?: string | null | undefined;
@@ -290,6 +290,12 @@ export declare const companiesContractRouter: {
290
290
  };
291
291
  };
292
292
  findAll: {
293
+ metadata: {
294
+ tags: string[];
295
+ openApi: {
296
+ operationId: string;
297
+ };
298
+ };
293
299
  query: z.ZodObject<{
294
300
  limit: z.ZodDefault<z.ZodNumber>;
295
301
  page: z.ZodDefault<z.ZodNumber>;
@@ -310,12 +316,6 @@ export declare const companiesContractRouter: {
310
316
  sortBy?: "name" | "createdAt" | "updatedAt" | null | undefined;
311
317
  sortOrder?: "ASC" | "DESC" | null | undefined;
312
318
  }>;
313
- metadata: {
314
- tags: string[];
315
- openApi: {
316
- operationId: string;
317
- };
318
- };
319
319
  summary: "Get all companies";
320
320
  method: "GET";
321
321
  path: "/v2/companies";
@@ -470,6 +470,12 @@ export declare const companiesContractRouter: {
470
470
  };
471
471
  };
472
472
  autocomplete: {
473
+ metadata: {
474
+ tags: string[];
475
+ openApi: {
476
+ operationId: string;
477
+ };
478
+ };
473
479
  query: z.ZodObject<{
474
480
  query: z.ZodOptional<z.ZodString>;
475
481
  id: z.ZodOptional<z.ZodString>;
@@ -480,12 +486,6 @@ export declare const companiesContractRouter: {
480
486
  id?: string | undefined;
481
487
  query?: string | undefined;
482
488
  }>;
483
- metadata: {
484
- tags: string[];
485
- openApi: {
486
- operationId: string;
487
- };
488
- };
489
489
  summary: "Get companies for autocomplete";
490
490
  method: "GET";
491
491
  path: "/v2/companies/autocomplete";
@@ -387,6 +387,9 @@ export type PaginatedCronExecutionHistory = z.infer<typeof PaginatedCronExecutio
387
387
  export type PaginatedCronJobHealth = z.infer<typeof PaginatedCronJobHealthSchema>;
388
388
  export declare const cronExecutionsContract: {
389
389
  findAll: {
390
+ metadata: {
391
+ tags: string[];
392
+ };
390
393
  query: z.ZodObject<{
391
394
  limit: z.ZodDefault<z.ZodNumber>;
392
395
  page: z.ZodDefault<z.ZodNumber>;
@@ -416,9 +419,6 @@ export declare const cronExecutionsContract: {
416
419
  startedAfter?: string | undefined;
417
420
  startedBefore?: string | undefined;
418
421
  }>;
419
- metadata: {
420
- tags: string[];
421
- };
422
422
  summary: "List all cron executions";
423
423
  method: "GET";
424
424
  path: "/v2/cron-executions";
@@ -735,6 +735,9 @@ export declare const cronExecutionsContract: {
735
735
  };
736
736
  };
737
737
  getHealthStatus: {
738
+ metadata: {
739
+ tags: string[];
740
+ };
738
741
  query: z.ZodObject<{
739
742
  limit: z.ZodDefault<z.ZodNumber>;
740
743
  page: z.ZodDefault<z.ZodNumber>;
@@ -745,9 +748,6 @@ export declare const cronExecutionsContract: {
745
748
  limit?: number | undefined;
746
749
  page?: number | undefined;
747
750
  }>;
748
- metadata: {
749
- tags: string[];
750
- };
751
751
  summary: "Get health status for all cron jobs";
752
752
  method: "GET";
753
753
  path: "/v2/cron-executions/health";