@automate.ax/integration-contracts 0.118.0 → 0.119.3

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.
@@ -1,6 +1,15 @@
1
1
  import * as z from "zod";
2
2
  export declare const MILLIONVERIFIER_FILE_ID_SCHEMA: z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>;
3
3
  export declare const MILLIONVERIFIER_FILE_STATUS_SCHEMA: z.ZodEnum<{
4
+ unknown: "unknown";
5
+ error: "error";
6
+ paused: "paused";
7
+ canceled: "canceled";
8
+ finished: "finished";
9
+ inProgress: "inProgress";
10
+ inQueueToStart: "inQueueToStart";
11
+ }>;
12
+ export declare const MILLIONVERIFIER_FILE_FILTER_STATUS_SCHEMA: z.ZodEnum<{
4
13
  error: "error";
5
14
  paused: "paused";
6
15
  canceled: "canceled";
@@ -22,6 +31,7 @@ export declare const MILLIONVERIFIER_FILE_SCHEMA: z.ZodObject<{
22
31
  percent: z.ZodNumber;
23
32
  reverify: z.ZodNumber;
24
33
  status: z.ZodEnum<{
34
+ unknown: "unknown";
25
35
  error: "error";
26
36
  paused: "paused";
27
37
  canceled: "canceled";
@@ -91,6 +101,7 @@ export declare const MILLIONVERIFIER_FILE_WIRE_SCHEMA: z.ZodPipe<z.ZodObject<{
91
101
  percent: z.ZodNumber;
92
102
  reverify: z.ZodNumber;
93
103
  status: z.ZodEnum<{
104
+ unknown: "unknown";
94
105
  error: "error";
95
106
  in_progress: "in_progress";
96
107
  paused: "paused";
@@ -117,7 +128,7 @@ export declare const MILLIONVERIFIER_FILE_WIRE_SCHEMA: z.ZodPipe<z.ZodObject<{
117
128
  ok: number;
118
129
  percent: number;
119
130
  reverify: number;
120
- status: "error" | "paused" | "canceled" | "finished" | "inProgress" | "inQueueToStart";
131
+ status: "unknown" | "error" | "paused" | "canceled" | "finished" | "inProgress" | "inQueueToStart";
121
132
  totalRows: number;
122
133
  uniqueEmails: number;
123
134
  unknown: number;
@@ -138,7 +149,7 @@ export declare const MILLIONVERIFIER_FILE_WIRE_SCHEMA: z.ZodPipe<z.ZodObject<{
138
149
  ok: number;
139
150
  percent: number;
140
151
  reverify: number;
141
- status: "error" | "in_progress" | "paused" | "canceled" | "finished" | "in_queue_to_start";
152
+ status: "unknown" | "error" | "in_progress" | "paused" | "canceled" | "finished" | "in_queue_to_start";
142
153
  total_rows: number;
143
154
  unique_emails: number;
144
155
  unknown: number;
@@ -223,4 +234,4 @@ export declare const MILLIONVERIFIER_CREDITS_WIRE_SCHEMA: z.ZodPipe<z.ZodObject<
223
234
  *
224
235
  * @param status - Public file status.
225
236
  */
226
- export declare function toMillionVerifierFileStatus(status: z.output<typeof MILLIONVERIFIER_FILE_STATUS_SCHEMA>): "error" | "in_progress" | "paused" | "canceled" | "finished" | "in_queue_to_start";
237
+ export declare function toMillionVerifierFileStatus(status: z.output<typeof MILLIONVERIFIER_FILE_FILTER_STATUS_SCHEMA>): "error" | "in_progress" | "paused" | "canceled" | "finished" | "in_queue_to_start";
@@ -3,6 +3,15 @@ export const MILLIONVERIFIER_FILE_ID_SCHEMA = z
3
3
  .union([z.string().regex(/^\d+$/), z.number().int().positive()])
4
4
  .transform(String);
5
5
  export const MILLIONVERIFIER_FILE_STATUS_SCHEMA = z.enum([
6
+ "unknown",
7
+ "inProgress",
8
+ "error",
9
+ "finished",
10
+ "canceled",
11
+ "paused",
12
+ "inQueueToStart",
13
+ ]);
14
+ export const MILLIONVERIFIER_FILE_FILTER_STATUS_SCHEMA = z.enum([
6
15
  "inProgress",
7
16
  "error",
8
17
  "finished",
@@ -61,6 +70,7 @@ export const MILLIONVERIFIER_CREDITS_SCHEMA = z.object({
61
70
  renewingCredits: z.number().int().nonnegative(),
62
71
  });
63
72
  const PROVIDER_FILE_STATUS_SCHEMA = z.enum([
73
+ "unknown",
64
74
  "in_progress",
65
75
  "error",
66
76
  "finished",