lancer-shared 1.2.317 → 1.2.319
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/schemas/account/bidder-account.d.ts +49 -49
- package/dist/schemas/account/scraper-account.d.ts +27 -27
- package/dist/schemas/agent/index.d.ts +290 -290
- package/dist/schemas/agent/proposal.d.ts +4 -4
- package/dist/schemas/bidder/bid.d.ts +2946 -2946
- package/dist/schemas/campaign/campaign-analytics.d.ts +1419 -1419
- package/dist/schemas/campaign/campaign-chat-bot.d.ts +24 -24
- package/dist/schemas/campaign/campaign-expenses.d.ts +2 -2
- package/dist/schemas/campaign/campaign-insights.d.ts +12 -12
- package/dist/schemas/campaign/campaign.d.ts +579 -579
- package/dist/schemas/campaign/sequence/boost-node.d.ts +2 -2
- package/dist/schemas/campaign/sequence/client-size-node.d.ts +8 -8
- package/dist/schemas/campaign/sequence/client-spent-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/hire-rate-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/hourly-rate-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/rating-node.d.ts +16 -16
- package/dist/schemas/campaign/sequence/suitability-node.d.ts +16 -16
- package/dist/schemas/chat/index.d.ts +28 -28
- package/dist/schemas/dashboard/index.d.ts +46 -46
- package/dist/schemas/golden-dataset/sample.d.ts +12 -12
- package/dist/schemas/infrastructure/index.d.ts +8 -8
- package/dist/schemas/invoice/index.d.ts +55 -55
- package/dist/schemas/job/index.d.ts +205 -205
- package/dist/schemas/job/job-api.d.ts +4 -4
- package/dist/schemas/job/job-details.d.ts +713 -713
- package/dist/schemas/job/job-filters.d.ts +55 -55
- package/dist/schemas/job/job-listing.d.ts +114 -114
- package/dist/schemas/job/nuxt.d.ts +130 -130
- package/dist/schemas/lead/index.d.ts +1303 -1303
- package/dist/schemas/lead/lead-status.d.ts +4 -4
- package/dist/schemas/logger/feed/feed-chunk-enrich.d.ts +16 -16
- package/dist/schemas/logger/feed/feed-enrich.d.ts +12 -12
- package/dist/schemas/logger/feed/feed-job-enrich.d.ts +346 -346
- package/dist/schemas/logger/feed/feed-scrape.d.ts +6 -6
- package/dist/schemas/logger/log-event.d.ts +120 -120
- package/dist/schemas/logger/scraper-events.d.ts +81 -81
- package/dist/schemas/notifications/index.d.ts +4 -4
- package/dist/schemas/organization/billing.d.ts +2 -2
- package/dist/schemas/organization/cover-letter.d.ts +4 -4
- package/dist/schemas/organization/index.d.ts +120 -120
- package/dist/schemas/organization/onboarding.d.ts +6 -6
- package/dist/schemas/organization/organization-leads.d.ts +4 -4
- package/dist/schemas/organization/subscription.d.ts +12 -12
- package/dist/schemas/plan/index.d.ts +55 -55
- package/dist/schemas/proxy/proxy.d.ts +29 -29
- package/dist/schemas/saved-search/index.d.ts +4 -4
- package/dist/schemas/scraper/scrape-payload.d.ts +966 -961
- package/dist/schemas/scraper/scrape-result.d.ts +228 -228
- package/dist/schemas/scraper/upwork-profile.d.ts +16 -16
- package/dist/schemas/shared.d.ts +1 -1
- package/dist/schemas/transaction/index.d.ts +20 -20
- package/dist/schemas/upwork-analytics/index.d.ts +22 -22
- package/dist/schemas/upwork-talent/index.d.ts +74 -74
- package/dist/schemas/usage/index.d.ts +17 -17
- package/dist/schemas/usage-event/index.d.ts +11 -11
- package/dist/schemas/user/index.d.ts +4 -4
- package/package.json +1 -1
|
@@ -7,15 +7,15 @@ export declare const invoiceStripeMetadataLineSchema: z.ZodObject<{
|
|
|
7
7
|
subscription_item_id: z.ZodString;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
description: string;
|
|
10
|
+
currency: string;
|
|
10
11
|
amount: number;
|
|
11
12
|
quantity: number;
|
|
12
|
-
currency: string;
|
|
13
13
|
subscription_item_id: string;
|
|
14
14
|
}, {
|
|
15
15
|
description: string;
|
|
16
|
+
currency: string;
|
|
16
17
|
amount: number;
|
|
17
18
|
quantity: number;
|
|
18
|
-
currency: string;
|
|
19
19
|
subscription_item_id: string;
|
|
20
20
|
}>;
|
|
21
21
|
export declare const invoiceStripeMetadataSchema: z.ZodObject<{
|
|
@@ -31,15 +31,15 @@ export declare const invoiceStripeMetadataSchema: z.ZodObject<{
|
|
|
31
31
|
subscription_item_id: z.ZodString;
|
|
32
32
|
}, "strip", z.ZodTypeAny, {
|
|
33
33
|
description: string;
|
|
34
|
+
currency: string;
|
|
34
35
|
amount: number;
|
|
35
36
|
quantity: number;
|
|
36
|
-
currency: string;
|
|
37
37
|
subscription_item_id: string;
|
|
38
38
|
}, {
|
|
39
39
|
description: string;
|
|
40
|
+
currency: string;
|
|
40
41
|
amount: number;
|
|
41
42
|
quantity: number;
|
|
42
|
-
currency: string;
|
|
43
43
|
subscription_item_id: string;
|
|
44
44
|
}>, "many">;
|
|
45
45
|
amount_paid: z.ZodNumber;
|
|
@@ -47,15 +47,15 @@ export declare const invoiceStripeMetadataSchema: z.ZodObject<{
|
|
|
47
47
|
amount_remaining: z.ZodNumber;
|
|
48
48
|
attempt_count: z.ZodNumber;
|
|
49
49
|
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
status: "void" | "draft" | "open" | "paid" | "uncollectible";
|
|
51
50
|
id: string;
|
|
52
|
-
|
|
51
|
+
status: "open" | "void" | "draft" | "paid" | "uncollectible";
|
|
53
52
|
hosted_invoice_url: string;
|
|
53
|
+
subscription_id: string;
|
|
54
54
|
lines: {
|
|
55
55
|
description: string;
|
|
56
|
+
currency: string;
|
|
56
57
|
amount: number;
|
|
57
58
|
quantity: number;
|
|
58
|
-
currency: string;
|
|
59
59
|
subscription_item_id: string;
|
|
60
60
|
}[];
|
|
61
61
|
amount_paid: number;
|
|
@@ -63,15 +63,15 @@ export declare const invoiceStripeMetadataSchema: z.ZodObject<{
|
|
|
63
63
|
amount_remaining: number;
|
|
64
64
|
attempt_count: number;
|
|
65
65
|
}, {
|
|
66
|
-
status: "void" | "draft" | "open" | "paid" | "uncollectible";
|
|
67
66
|
id: string;
|
|
68
|
-
|
|
67
|
+
status: "open" | "void" | "draft" | "paid" | "uncollectible";
|
|
69
68
|
hosted_invoice_url: string;
|
|
69
|
+
subscription_id: string;
|
|
70
70
|
lines: {
|
|
71
71
|
description: string;
|
|
72
|
+
currency: string;
|
|
72
73
|
amount: number;
|
|
73
74
|
quantity: number;
|
|
74
|
-
currency: string;
|
|
75
75
|
subscription_item_id: string;
|
|
76
76
|
}[];
|
|
77
77
|
amount_paid: number;
|
|
@@ -85,15 +85,15 @@ export declare const invoiceLineItemSchema: z.ZodObject<{
|
|
|
85
85
|
quantity: z.ZodNumber;
|
|
86
86
|
currency: z.ZodString;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
total: number;
|
|
88
89
|
description: string;
|
|
89
|
-
quantity: number;
|
|
90
90
|
currency: string;
|
|
91
|
-
|
|
91
|
+
quantity: number;
|
|
92
92
|
}, {
|
|
93
|
+
total: number;
|
|
93
94
|
description: string;
|
|
94
|
-
quantity: number;
|
|
95
95
|
currency: string;
|
|
96
|
-
|
|
96
|
+
quantity: number;
|
|
97
97
|
}>;
|
|
98
98
|
export declare const invoiceStatusEnum: z.ZodEnum<["open", "paid", "past_due", "payment_failed"]>;
|
|
99
99
|
export declare const invoiceSchema: z.ZodObject<{
|
|
@@ -111,15 +111,15 @@ export declare const invoiceSchema: z.ZodObject<{
|
|
|
111
111
|
quantity: z.ZodNumber;
|
|
112
112
|
currency: z.ZodString;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
+
total: number;
|
|
114
115
|
description: string;
|
|
115
|
-
quantity: number;
|
|
116
116
|
currency: string;
|
|
117
|
-
|
|
117
|
+
quantity: number;
|
|
118
118
|
}, {
|
|
119
|
+
total: number;
|
|
119
120
|
description: string;
|
|
120
|
-
quantity: number;
|
|
121
121
|
currency: string;
|
|
122
|
-
|
|
122
|
+
quantity: number;
|
|
123
123
|
}>, "many">;
|
|
124
124
|
stripe: z.ZodObject<{
|
|
125
125
|
id: z.ZodString;
|
|
@@ -134,15 +134,15 @@ export declare const invoiceSchema: z.ZodObject<{
|
|
|
134
134
|
subscription_item_id: z.ZodString;
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
136
|
description: string;
|
|
137
|
+
currency: string;
|
|
137
138
|
amount: number;
|
|
138
139
|
quantity: number;
|
|
139
|
-
currency: string;
|
|
140
140
|
subscription_item_id: string;
|
|
141
141
|
}, {
|
|
142
142
|
description: string;
|
|
143
|
+
currency: string;
|
|
143
144
|
amount: number;
|
|
144
145
|
quantity: number;
|
|
145
|
-
currency: string;
|
|
146
146
|
subscription_item_id: string;
|
|
147
147
|
}>, "many">;
|
|
148
148
|
amount_paid: z.ZodNumber;
|
|
@@ -150,15 +150,15 @@ export declare const invoiceSchema: z.ZodObject<{
|
|
|
150
150
|
amount_remaining: z.ZodNumber;
|
|
151
151
|
attempt_count: z.ZodNumber;
|
|
152
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
|
-
status: "void" | "draft" | "open" | "paid" | "uncollectible";
|
|
154
153
|
id: string;
|
|
155
|
-
|
|
154
|
+
status: "open" | "void" | "draft" | "paid" | "uncollectible";
|
|
156
155
|
hosted_invoice_url: string;
|
|
156
|
+
subscription_id: string;
|
|
157
157
|
lines: {
|
|
158
158
|
description: string;
|
|
159
|
+
currency: string;
|
|
159
160
|
amount: number;
|
|
160
161
|
quantity: number;
|
|
161
|
-
currency: string;
|
|
162
162
|
subscription_item_id: string;
|
|
163
163
|
}[];
|
|
164
164
|
amount_paid: number;
|
|
@@ -166,15 +166,15 @@ export declare const invoiceSchema: z.ZodObject<{
|
|
|
166
166
|
amount_remaining: number;
|
|
167
167
|
attempt_count: number;
|
|
168
168
|
}, {
|
|
169
|
-
status: "void" | "draft" | "open" | "paid" | "uncollectible";
|
|
170
169
|
id: string;
|
|
171
|
-
|
|
170
|
+
status: "open" | "void" | "draft" | "paid" | "uncollectible";
|
|
172
171
|
hosted_invoice_url: string;
|
|
172
|
+
subscription_id: string;
|
|
173
173
|
lines: {
|
|
174
174
|
description: string;
|
|
175
|
+
currency: string;
|
|
175
176
|
amount: number;
|
|
176
177
|
quantity: number;
|
|
177
|
-
currency: string;
|
|
178
178
|
subscription_item_id: string;
|
|
179
179
|
}[];
|
|
180
180
|
amount_paid: number;
|
|
@@ -185,30 +185,22 @@ export declare const invoiceSchema: z.ZodObject<{
|
|
|
185
185
|
createdAt: z.ZodNumber;
|
|
186
186
|
updatedAt: z.ZodNumber;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
|
-
currency: string;
|
|
189
|
-
status: "open" | "paid" | "past_due" | "payment_failed";
|
|
190
188
|
id: string;
|
|
191
189
|
total: number;
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
lineItems: {
|
|
197
|
-
description: string;
|
|
198
|
-
quantity: number;
|
|
199
|
-
currency: string;
|
|
200
|
-
total: number;
|
|
201
|
-
}[];
|
|
190
|
+
status: "open" | "payment_failed" | "paid" | "past_due";
|
|
191
|
+
currency: string;
|
|
192
|
+
createdAt: number;
|
|
193
|
+
updatedAt: number;
|
|
202
194
|
stripe: {
|
|
203
|
-
status: "void" | "draft" | "open" | "paid" | "uncollectible";
|
|
204
195
|
id: string;
|
|
205
|
-
|
|
196
|
+
status: "open" | "void" | "draft" | "paid" | "uncollectible";
|
|
206
197
|
hosted_invoice_url: string;
|
|
198
|
+
subscription_id: string;
|
|
207
199
|
lines: {
|
|
208
200
|
description: string;
|
|
201
|
+
currency: string;
|
|
209
202
|
amount: number;
|
|
210
203
|
quantity: number;
|
|
211
|
-
currency: string;
|
|
212
204
|
subscription_item_id: string;
|
|
213
205
|
}[];
|
|
214
206
|
amount_paid: number;
|
|
@@ -216,33 +208,33 @@ export declare const invoiceSchema: z.ZodObject<{
|
|
|
216
208
|
amount_remaining: number;
|
|
217
209
|
attempt_count: number;
|
|
218
210
|
};
|
|
219
|
-
createdAt: number;
|
|
220
|
-
updatedAt: number;
|
|
221
|
-
}, {
|
|
222
|
-
currency: string;
|
|
223
|
-
status: "open" | "paid" | "past_due" | "payment_failed";
|
|
224
|
-
id: string;
|
|
225
|
-
total: number;
|
|
226
211
|
subtotal: number;
|
|
227
212
|
amountPaid: number;
|
|
228
213
|
amountDue: number;
|
|
229
214
|
amountRemaining: number;
|
|
230
215
|
lineItems: {
|
|
216
|
+
total: number;
|
|
231
217
|
description: string;
|
|
232
|
-
quantity: number;
|
|
233
218
|
currency: string;
|
|
234
|
-
|
|
219
|
+
quantity: number;
|
|
235
220
|
}[];
|
|
221
|
+
}, {
|
|
222
|
+
id: string;
|
|
223
|
+
total: number;
|
|
224
|
+
status: "open" | "payment_failed" | "paid" | "past_due";
|
|
225
|
+
currency: string;
|
|
226
|
+
createdAt: number;
|
|
227
|
+
updatedAt: number;
|
|
236
228
|
stripe: {
|
|
237
|
-
status: "void" | "draft" | "open" | "paid" | "uncollectible";
|
|
238
229
|
id: string;
|
|
239
|
-
|
|
230
|
+
status: "open" | "void" | "draft" | "paid" | "uncollectible";
|
|
240
231
|
hosted_invoice_url: string;
|
|
232
|
+
subscription_id: string;
|
|
241
233
|
lines: {
|
|
242
234
|
description: string;
|
|
235
|
+
currency: string;
|
|
243
236
|
amount: number;
|
|
244
237
|
quantity: number;
|
|
245
|
-
currency: string;
|
|
246
238
|
subscription_item_id: string;
|
|
247
239
|
}[];
|
|
248
240
|
amount_paid: number;
|
|
@@ -250,8 +242,16 @@ export declare const invoiceSchema: z.ZodObject<{
|
|
|
250
242
|
amount_remaining: number;
|
|
251
243
|
attempt_count: number;
|
|
252
244
|
};
|
|
253
|
-
|
|
254
|
-
|
|
245
|
+
subtotal: number;
|
|
246
|
+
amountPaid: number;
|
|
247
|
+
amountDue: number;
|
|
248
|
+
amountRemaining: number;
|
|
249
|
+
lineItems: {
|
|
250
|
+
total: number;
|
|
251
|
+
description: string;
|
|
252
|
+
currency: string;
|
|
253
|
+
quantity: number;
|
|
254
|
+
}[];
|
|
255
255
|
}>;
|
|
256
256
|
export type InvoiceStatus = z.infer<typeof invoiceStatusEnum>;
|
|
257
257
|
export interface InvoiceStripeMetadataLine extends infer<typeof invoiceStripeMetadataLineSchema> {
|