@deliverart/sdk-js-lead 0.0.0-dev-20260721002647
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/README.md +68 -0
- package/dist/index.cjs +420 -0
- package/dist/index.d.cts +3920 -0
- package/dist/index.d.ts +3920 -0
- package/dist/index.js +375 -0
- package/package.json +37 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
// src/models.ts
|
|
2
|
+
import { companyNullableIriSchema } from "@deliverart/sdk-js-company";
|
|
3
|
+
import {
|
|
4
|
+
addressSchema,
|
|
5
|
+
booleanSchema,
|
|
6
|
+
datetimeSchema,
|
|
7
|
+
sortDirSchema,
|
|
8
|
+
timestampsFilterSchema
|
|
9
|
+
} from "@deliverart/sdk-js-global-types";
|
|
10
|
+
import {
|
|
11
|
+
activatableIntegrationSchema,
|
|
12
|
+
activatableIntegrationHealthStatusSchema,
|
|
13
|
+
activatableIntegrationStatusSchema,
|
|
14
|
+
integrationCassaInCloudDataSchema,
|
|
15
|
+
integrationDeliverooDataSchema,
|
|
16
|
+
integrationGlovoDataSchema,
|
|
17
|
+
integrationJustEatDataSchema,
|
|
18
|
+
integrationKitchenDataSchema,
|
|
19
|
+
integrationProviderSchema,
|
|
20
|
+
integrationServiceSchema,
|
|
21
|
+
integrationTilbyDataSchema
|
|
22
|
+
} from "@deliverart/sdk-js-integration-types";
|
|
23
|
+
import { pointOfSaleNullableIriSchema } from "@deliverart/sdk-js-point-of-sale";
|
|
24
|
+
import { userNullableIriSchema } from "@deliverart/sdk-js-user";
|
|
25
|
+
import { z as z2 } from "zod";
|
|
26
|
+
|
|
27
|
+
// src/types.ts
|
|
28
|
+
import { iriNullableSchema, iriSchema } from "@deliverart/sdk-js-global-types";
|
|
29
|
+
import { z } from "zod";
|
|
30
|
+
var leadIriSchema = iriSchema("/leads/:id");
|
|
31
|
+
var leadNullableIriSchema = iriNullableSchema("/leads/:id");
|
|
32
|
+
var leadStatuses = [
|
|
33
|
+
"pending",
|
|
34
|
+
"partially_initialized",
|
|
35
|
+
"initialized",
|
|
36
|
+
"completed"
|
|
37
|
+
];
|
|
38
|
+
var leadStatusSchema = z.enum(leadStatuses);
|
|
39
|
+
var leadCompletionSteps = [
|
|
40
|
+
"CREATE_USER_MANAGER",
|
|
41
|
+
"CREATE_COMPANY",
|
|
42
|
+
"CREATE_POINT_OF_SALE",
|
|
43
|
+
"CONFIGURE_INTEGRATIONS"
|
|
44
|
+
];
|
|
45
|
+
var leadCompletionStepSchema = z.enum(leadCompletionSteps);
|
|
46
|
+
|
|
47
|
+
// src/models.ts
|
|
48
|
+
var leadBillingDataObjectSchema = z2.object({
|
|
49
|
+
sdi: z2.string().trim().optional().nullable(),
|
|
50
|
+
pec: z2.email({ message: "Invalid email format" }).optional().nullable()
|
|
51
|
+
}).catchall(z2.unknown());
|
|
52
|
+
var leadBillingDataSchema = z2.union([
|
|
53
|
+
leadBillingDataObjectSchema,
|
|
54
|
+
z2.array(z2.never()).transform(() => ({}))
|
|
55
|
+
]);
|
|
56
|
+
var leadIntegrationsStatsSchema = z2.object({
|
|
57
|
+
count: z2.coerce.number(),
|
|
58
|
+
statuses: z2.record(z2.string(), z2.coerce.number())
|
|
59
|
+
});
|
|
60
|
+
var leadSchema = z2.object({
|
|
61
|
+
id: z2.string(),
|
|
62
|
+
status: leadStatusSchema,
|
|
63
|
+
email: z2.email(),
|
|
64
|
+
firstName: z2.string(),
|
|
65
|
+
lastName: z2.string(),
|
|
66
|
+
businessName: z2.string(),
|
|
67
|
+
posName: z2.string(),
|
|
68
|
+
posAddress: addressSchema,
|
|
69
|
+
numberOfCouriers: z2.coerce.number(),
|
|
70
|
+
notificationsEnabled: z2.boolean(),
|
|
71
|
+
uncompletedSteps: z2.array(leadCompletionStepSchema),
|
|
72
|
+
completedSteps: z2.array(leadCompletionStepSchema),
|
|
73
|
+
percentageCompletion: z2.coerce.number(),
|
|
74
|
+
integrationsStats: leadIntegrationsStatsSchema,
|
|
75
|
+
createdAt: datetimeSchema,
|
|
76
|
+
updatedAt: datetimeSchema
|
|
77
|
+
});
|
|
78
|
+
var leadDetailsSchema = leadSchema.extend({
|
|
79
|
+
user: userNullableIriSchema,
|
|
80
|
+
company: companyNullableIriSchema,
|
|
81
|
+
pointOfSale: pointOfSaleNullableIriSchema,
|
|
82
|
+
vat: z2.string(),
|
|
83
|
+
taxCode: z2.string().nullable(),
|
|
84
|
+
billingAddress: addressSchema,
|
|
85
|
+
billingData: leadBillingDataSchema
|
|
86
|
+
});
|
|
87
|
+
var leadListItemSchema = leadDetailsSchema.extend({
|
|
88
|
+
integrations: z2.array(activatableIntegrationSchema).optional().default([])
|
|
89
|
+
});
|
|
90
|
+
var writableLeadIntegrationBaseSchema = z2.object({
|
|
91
|
+
name: z2.string(),
|
|
92
|
+
provider: integrationProviderSchema
|
|
93
|
+
});
|
|
94
|
+
var writableLeadIntegrationSchema = z2.discriminatedUnion("service", [
|
|
95
|
+
z2.object({
|
|
96
|
+
service: z2.literal("kitchen"),
|
|
97
|
+
data: integrationKitchenDataSchema
|
|
98
|
+
}).extend(writableLeadIntegrationBaseSchema.shape),
|
|
99
|
+
z2.object({
|
|
100
|
+
service: z2.literal("deliveroo"),
|
|
101
|
+
data: integrationDeliverooDataSchema
|
|
102
|
+
}).extend(writableLeadIntegrationBaseSchema.shape),
|
|
103
|
+
z2.object({
|
|
104
|
+
service: z2.literal("glovo"),
|
|
105
|
+
data: integrationGlovoDataSchema
|
|
106
|
+
}).extend(writableLeadIntegrationBaseSchema.shape),
|
|
107
|
+
z2.object({
|
|
108
|
+
service: z2.literal("justeat"),
|
|
109
|
+
data: integrationJustEatDataSchema
|
|
110
|
+
}).extend(writableLeadIntegrationBaseSchema.shape),
|
|
111
|
+
z2.object({
|
|
112
|
+
service: z2.literal("cassa_in_cloud"),
|
|
113
|
+
data: integrationCassaInCloudDataSchema
|
|
114
|
+
}).extend(writableLeadIntegrationBaseSchema.shape),
|
|
115
|
+
z2.object({
|
|
116
|
+
service: z2.literal("tilby"),
|
|
117
|
+
data: integrationTilbyDataSchema
|
|
118
|
+
}).extend(writableLeadIntegrationBaseSchema.shape)
|
|
119
|
+
]);
|
|
120
|
+
var writableLeadSchema = z2.object({
|
|
121
|
+
email: z2.email(),
|
|
122
|
+
firstName: z2.string(),
|
|
123
|
+
lastName: z2.string(),
|
|
124
|
+
businessName: z2.string(),
|
|
125
|
+
posName: z2.string(),
|
|
126
|
+
vat: z2.string(),
|
|
127
|
+
taxCode: z2.string().nullable().optional(),
|
|
128
|
+
billingAddress: addressSchema,
|
|
129
|
+
posAddress: addressSchema,
|
|
130
|
+
billingData: leadBillingDataSchema.optional(),
|
|
131
|
+
numberOfCouriers: z2.coerce.number().int().nonnegative().optional(),
|
|
132
|
+
notificationsEnabled: z2.boolean().optional()
|
|
133
|
+
});
|
|
134
|
+
var writableCreateLeadSchema = writableLeadSchema.extend({
|
|
135
|
+
integrations: z2.array(writableLeadIntegrationSchema).optional()
|
|
136
|
+
});
|
|
137
|
+
var leadEnumFilter = (schema) => z2.union([schema, z2.array(schema)]);
|
|
138
|
+
var leadsQuerySchema = z2.object({
|
|
139
|
+
id: z2.union([z2.string(), z2.array(z2.string())]).optional(),
|
|
140
|
+
email: z2.string().optional(),
|
|
141
|
+
firstName: z2.string().optional(),
|
|
142
|
+
lastName: z2.string().optional(),
|
|
143
|
+
businessName: z2.string().optional(),
|
|
144
|
+
posName: z2.string().optional(),
|
|
145
|
+
vat: z2.string().optional(),
|
|
146
|
+
taxCode: z2.string().optional(),
|
|
147
|
+
"integrations.connectionId": z2.union([z2.string(), z2.array(z2.string())]).optional(),
|
|
148
|
+
status: leadEnumFilter(leadStatusSchema).optional(),
|
|
149
|
+
"integrations.status": leadEnumFilter(activatableIntegrationStatusSchema).optional(),
|
|
150
|
+
"integrations.healthStatus": leadEnumFilter(
|
|
151
|
+
activatableIntegrationHealthStatusSchema
|
|
152
|
+
).optional(),
|
|
153
|
+
"integrations.service": leadEnumFilter(integrationServiceSchema).optional(),
|
|
154
|
+
uncompletedSteps: leadEnumFilter(leadCompletionStepSchema).optional(),
|
|
155
|
+
completedSteps: leadEnumFilter(leadCompletionStepSchema).optional(),
|
|
156
|
+
"billingAddress.city": z2.union([z2.string(), z2.array(z2.string())]).optional(),
|
|
157
|
+
"billingAddress.region": z2.union([z2.string(), z2.array(z2.string())]).optional(),
|
|
158
|
+
"billingAddress.postalCode": z2.union([z2.string(), z2.array(z2.string())]).optional(),
|
|
159
|
+
"billingAddress.country": z2.union([z2.string(), z2.array(z2.string())]).optional(),
|
|
160
|
+
"posAddress.city": z2.union([z2.string(), z2.array(z2.string())]).optional(),
|
|
161
|
+
"posAddress.region": z2.union([z2.string(), z2.array(z2.string())]).optional(),
|
|
162
|
+
"posAddress.postalCode": z2.union([z2.string(), z2.array(z2.string())]).optional(),
|
|
163
|
+
"posAddress.country": z2.union([z2.string(), z2.array(z2.string())]).optional(),
|
|
164
|
+
"order[businessName]": sortDirSchema.optional(),
|
|
165
|
+
"order[firstName]": sortDirSchema.optional(),
|
|
166
|
+
"order[lastName]": sortDirSchema.optional(),
|
|
167
|
+
"order[posName]": sortDirSchema.optional(),
|
|
168
|
+
"order[createdAt]": sortDirSchema.optional(),
|
|
169
|
+
"order[updatedAt]": sortDirSchema.optional(),
|
|
170
|
+
page: z2.coerce.number().optional(),
|
|
171
|
+
itemsPerPage: z2.coerce.number().optional(),
|
|
172
|
+
pagination: booleanSchema.optional()
|
|
173
|
+
}).extend(timestampsFilterSchema.shape);
|
|
174
|
+
|
|
175
|
+
// src/requests/leads/CreateLead.ts
|
|
176
|
+
import { AbstractApiRequest } from "@deliverart/sdk-js-core";
|
|
177
|
+
var createLeadInputSchema = writableCreateLeadSchema;
|
|
178
|
+
var createLeadResponseSchema = leadDetailsSchema;
|
|
179
|
+
var CreateLead = class extends AbstractApiRequest {
|
|
180
|
+
constructor(input) {
|
|
181
|
+
super(input);
|
|
182
|
+
this.method = "POST";
|
|
183
|
+
this.contentType = "application/json";
|
|
184
|
+
this.accept = "application/json";
|
|
185
|
+
this.inputSchema = createLeadInputSchema;
|
|
186
|
+
this.outputSchema = createLeadResponseSchema;
|
|
187
|
+
this.querySchema = void 0;
|
|
188
|
+
this.headersSchema = void 0;
|
|
189
|
+
}
|
|
190
|
+
getPath() {
|
|
191
|
+
return "/leads";
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
// src/requests/leads/DeleteLead.ts
|
|
196
|
+
import { AbstractApiRequest as AbstractApiRequest2 } from "@deliverart/sdk-js-core";
|
|
197
|
+
import { emptyResponseSchema } from "@deliverart/sdk-js-global-types";
|
|
198
|
+
import { z as z3 } from "zod";
|
|
199
|
+
var deleteLeadInputSchema = z3.undefined();
|
|
200
|
+
var deleteLeadResponseSchema = emptyResponseSchema;
|
|
201
|
+
var DeleteLead = class extends AbstractApiRequest2 {
|
|
202
|
+
constructor(leadId) {
|
|
203
|
+
super(void 0);
|
|
204
|
+
this.method = "DELETE";
|
|
205
|
+
this.contentType = "application/json";
|
|
206
|
+
this.accept = "application/json";
|
|
207
|
+
this.inputSchema = deleteLeadInputSchema;
|
|
208
|
+
this.outputSchema = deleteLeadResponseSchema;
|
|
209
|
+
this.querySchema = void 0;
|
|
210
|
+
this.headersSchema = void 0;
|
|
211
|
+
this.leadId = leadId;
|
|
212
|
+
}
|
|
213
|
+
getPath() {
|
|
214
|
+
return `/leads/${this.leadId}`;
|
|
215
|
+
}
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
// src/requests/leads/GenerateLeadApiToken.ts
|
|
219
|
+
import { AbstractApiRequest as AbstractApiRequest3 } from "@deliverart/sdk-js-core";
|
|
220
|
+
import { z as z4 } from "zod";
|
|
221
|
+
var generateLeadApiTokenInputSchema = z4.undefined();
|
|
222
|
+
var generateLeadApiTokenResponseSchema = z4.object({
|
|
223
|
+
api_token: z4.string().length(64)
|
|
224
|
+
});
|
|
225
|
+
var GenerateLeadApiToken = class extends AbstractApiRequest3 {
|
|
226
|
+
constructor(leadId) {
|
|
227
|
+
super(void 0);
|
|
228
|
+
this.method = "POST";
|
|
229
|
+
this.contentType = "application/json";
|
|
230
|
+
this.accept = "application/json";
|
|
231
|
+
this.inputSchema = generateLeadApiTokenInputSchema;
|
|
232
|
+
this.outputSchema = generateLeadApiTokenResponseSchema;
|
|
233
|
+
this.querySchema = void 0;
|
|
234
|
+
this.headersSchema = void 0;
|
|
235
|
+
this.leadId = leadId;
|
|
236
|
+
}
|
|
237
|
+
getPath() {
|
|
238
|
+
return `/leads/${this.leadId}/api_token/generate`;
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
|
|
242
|
+
// src/requests/leads/GetLeadDetails.ts
|
|
243
|
+
import { AbstractApiRequest as AbstractApiRequest4 } from "@deliverart/sdk-js-core";
|
|
244
|
+
import { z as z5 } from "zod";
|
|
245
|
+
var getLeadDetailsInputSchema = z5.undefined();
|
|
246
|
+
var getLeadDetailsResponseSchema = leadDetailsSchema;
|
|
247
|
+
var GetLeadDetails = class extends AbstractApiRequest4 {
|
|
248
|
+
constructor(leadId) {
|
|
249
|
+
super(void 0);
|
|
250
|
+
this.method = "GET";
|
|
251
|
+
this.contentType = "application/json";
|
|
252
|
+
this.accept = "application/json";
|
|
253
|
+
this.inputSchema = getLeadDetailsInputSchema;
|
|
254
|
+
this.outputSchema = getLeadDetailsResponseSchema;
|
|
255
|
+
this.querySchema = void 0;
|
|
256
|
+
this.headersSchema = void 0;
|
|
257
|
+
this.leadId = leadId;
|
|
258
|
+
}
|
|
259
|
+
getPath() {
|
|
260
|
+
return `/leads/${this.leadId}`;
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
// src/requests/leads/GetLeads.ts
|
|
265
|
+
import { AbstractApiRequest as AbstractApiRequest5 } from "@deliverart/sdk-js-core";
|
|
266
|
+
import { createPaginatedSchema } from "@deliverart/sdk-js-global-types";
|
|
267
|
+
import { z as z6 } from "zod";
|
|
268
|
+
var getLeadsQuerySchema = leadsQuerySchema;
|
|
269
|
+
var getLeadsInputSchema = z6.undefined();
|
|
270
|
+
var getLeadsResponseSchema = createPaginatedSchema(leadListItemSchema);
|
|
271
|
+
var GetLeads = class extends AbstractApiRequest5 {
|
|
272
|
+
constructor(options) {
|
|
273
|
+
super(void 0, options);
|
|
274
|
+
this.method = "GET";
|
|
275
|
+
this.contentType = "application/json";
|
|
276
|
+
this.accept = "application/json";
|
|
277
|
+
this.inputSchema = getLeadsInputSchema;
|
|
278
|
+
this.outputSchema = getLeadsResponseSchema;
|
|
279
|
+
this.querySchema = getLeadsQuerySchema;
|
|
280
|
+
this.headersSchema = void 0;
|
|
281
|
+
this.listItemSchema = leadListItemSchema;
|
|
282
|
+
this.paginationDefaultEnabled = true;
|
|
283
|
+
}
|
|
284
|
+
getPath() {
|
|
285
|
+
return "/leads";
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
// src/requests/leads/InitializeLead.ts
|
|
290
|
+
import { AbstractApiRequest as AbstractApiRequest6 } from "@deliverart/sdk-js-core";
|
|
291
|
+
import { booleanSchema as booleanSchema2 } from "@deliverart/sdk-js-global-types";
|
|
292
|
+
import { z as z7 } from "zod";
|
|
293
|
+
var initializeLeadInputSchema = z7.object({
|
|
294
|
+
convertLeadIntegrations: z7.boolean().optional()
|
|
295
|
+
}).optional();
|
|
296
|
+
var initializeLeadQuerySchema = z7.object({
|
|
297
|
+
convertLeadIntegrations: booleanSchema2.optional()
|
|
298
|
+
});
|
|
299
|
+
var initializeLeadResponseSchema = leadDetailsSchema;
|
|
300
|
+
var InitializeLead = class extends AbstractApiRequest6 {
|
|
301
|
+
constructor(leadId, input, options) {
|
|
302
|
+
super(input, options);
|
|
303
|
+
this.method = "POST";
|
|
304
|
+
this.contentType = "application/json";
|
|
305
|
+
this.accept = "application/json";
|
|
306
|
+
this.inputSchema = initializeLeadInputSchema;
|
|
307
|
+
this.outputSchema = initializeLeadResponseSchema;
|
|
308
|
+
this.querySchema = initializeLeadQuerySchema;
|
|
309
|
+
this.headersSchema = void 0;
|
|
310
|
+
this.leadId = leadId;
|
|
311
|
+
}
|
|
312
|
+
getPath() {
|
|
313
|
+
return `/leads/${this.leadId}/initialize`;
|
|
314
|
+
}
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
// src/requests/leads/UpdateLead.ts
|
|
318
|
+
import { AbstractApiRequest as AbstractApiRequest7 } from "@deliverart/sdk-js-core";
|
|
319
|
+
var updateLeadInputSchema = writableLeadSchema.partial();
|
|
320
|
+
var updateLeadResponseSchema = leadDetailsSchema;
|
|
321
|
+
var UpdateLead = class extends AbstractApiRequest7 {
|
|
322
|
+
constructor(leadId, input) {
|
|
323
|
+
super(input);
|
|
324
|
+
this.method = "PATCH";
|
|
325
|
+
this.contentType = "application/merge-patch+json";
|
|
326
|
+
this.accept = "application/json";
|
|
327
|
+
this.inputSchema = updateLeadInputSchema;
|
|
328
|
+
this.outputSchema = updateLeadResponseSchema;
|
|
329
|
+
this.querySchema = void 0;
|
|
330
|
+
this.headersSchema = void 0;
|
|
331
|
+
this.leadId = leadId;
|
|
332
|
+
}
|
|
333
|
+
getPath() {
|
|
334
|
+
return `/leads/${this.leadId}`;
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
export {
|
|
338
|
+
CreateLead,
|
|
339
|
+
DeleteLead,
|
|
340
|
+
GenerateLeadApiToken,
|
|
341
|
+
GetLeadDetails,
|
|
342
|
+
GetLeads,
|
|
343
|
+
InitializeLead,
|
|
344
|
+
UpdateLead,
|
|
345
|
+
createLeadInputSchema,
|
|
346
|
+
createLeadResponseSchema,
|
|
347
|
+
deleteLeadInputSchema,
|
|
348
|
+
deleteLeadResponseSchema,
|
|
349
|
+
generateLeadApiTokenInputSchema,
|
|
350
|
+
generateLeadApiTokenResponseSchema,
|
|
351
|
+
getLeadDetailsInputSchema,
|
|
352
|
+
getLeadDetailsResponseSchema,
|
|
353
|
+
getLeadsInputSchema,
|
|
354
|
+
getLeadsQuerySchema,
|
|
355
|
+
getLeadsResponseSchema,
|
|
356
|
+
initializeLeadInputSchema,
|
|
357
|
+
initializeLeadQuerySchema,
|
|
358
|
+
initializeLeadResponseSchema,
|
|
359
|
+
leadCompletionStepSchema,
|
|
360
|
+
leadCompletionSteps,
|
|
361
|
+
leadDetailsSchema,
|
|
362
|
+
leadIntegrationsStatsSchema,
|
|
363
|
+
leadIriSchema,
|
|
364
|
+
leadListItemSchema,
|
|
365
|
+
leadNullableIriSchema,
|
|
366
|
+
leadSchema,
|
|
367
|
+
leadStatusSchema,
|
|
368
|
+
leadStatuses,
|
|
369
|
+
leadsQuerySchema,
|
|
370
|
+
updateLeadInputSchema,
|
|
371
|
+
updateLeadResponseSchema,
|
|
372
|
+
writableCreateLeadSchema,
|
|
373
|
+
writableLeadIntegrationSchema,
|
|
374
|
+
writableLeadSchema
|
|
375
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@deliverart/sdk-js-lead",
|
|
3
|
+
"description": "Deliverart JavaScript SDK for Lead Management",
|
|
4
|
+
"version": "0.0.0-dev-20260721002647",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"tsup": {
|
|
9
|
+
"tsconfig": "./tsconfig.json"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.cjs"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"dist"
|
|
19
|
+
],
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"zod": "4.3.5",
|
|
22
|
+
"@deliverart/sdk-js-core": "0.0.0-dev-20260721002647",
|
|
23
|
+
"@deliverart/sdk-js-global-types": "0.0.0-dev-20260721002647",
|
|
24
|
+
"@deliverart/sdk-js-integration-types": "0.0.0-dev-20260721002647",
|
|
25
|
+
"@deliverart/sdk-js-point-of-sale": "0.0.0-dev-20260721002647",
|
|
26
|
+
"@deliverart/sdk-js-company": "0.0.0-dev-20260721002647",
|
|
27
|
+
"@deliverart/sdk-js-user": "0.0.0-dev-20260721002647"
|
|
28
|
+
},
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"build": "tsup src/index.ts --dts --format esm,cjs",
|
|
34
|
+
"dev": "tsup src/index.ts --dts --watch",
|
|
35
|
+
"clean": "rm -rf dist"
|
|
36
|
+
}
|
|
37
|
+
}
|