@spscommerce/asst-api 0.0.1-beta.9 → 0.0.1
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/{ItemErrorDetailsResult-c62caeae.d.ts → ItemErrorDetailsResult-317fbe3e.d.ts} +166 -156
- package/dist/ItemStatusResponse-7f871d5a.d.ts +91 -0
- package/dist/{chunk-IHIEBLQV.js → chunk-HEFVXX2V.js} +82 -23
- package/dist/{chunk-ITWMRXLD.js → chunk-HG7MCO42.js} +77 -16
- package/dist/index.cjs +148 -36
- package/dist/index.d.ts +119 -6
- package/dist/index.js +4 -2
- package/dist/msw.cjs +158 -29
- package/dist/msw.d.ts +110 -69
- package/dist/msw.js +82 -11
- package/dist/{ItemErrorDetails-e6e400aa.d.ts → zod-1c4396f8.d.ts} +179 -103
- package/dist/zod.cjs +84 -22
- package/dist/zod.d.ts +2 -2
- package/dist/zod.js +9 -1
- package/package.json +1 -1
- package/dist/ImportsStatus-52d26b01.d.ts +0 -134
- package/dist/ImportsStatusEnum-22c03a0b.d.ts +0 -51
- package/dist/ItemCategoriesSearch-1bb945de.d.ts +0 -275
- package/dist/ItemCategoriesSearch-44b87663.d.ts +0 -318
- package/dist/ItemCategoriesSearch-e0870a34.d.ts +0 -318
- package/dist/ItemCategoriesSearch-e3298650.d.ts +0 -319
- package/dist/ItemCategoriesSearch-ec43591f.d.ts +0 -319
- package/dist/ItemCategory-14816deb.d.ts +0 -99
- package/dist/ItemCategory-768179bd.d.ts +0 -99
- package/dist/ItemErrorDetails-1614b511.d.ts +0 -3137
- package/dist/ItemErrorDetails-1bd2821e.d.ts +0 -3137
- package/dist/ItemErrorDetailsResult-0b4a628c.d.ts +0 -3032
- package/dist/ItemErrorDetailsResult-859368da.d.ts +0 -3032
- package/dist/ItemErrorDetailsResult-9ac97c24.d.ts +0 -3032
- package/dist/ItemErrorDetailsResult-c12c4eac.d.ts +0 -3032
- package/dist/TradingPartnerAccessByCompanyId-29866586.d.ts +0 -97
- package/dist/TradingPartnerAccessByCompanyId-43f83fb6.d.ts +0 -130
- package/dist/TradingPartnerAccessByCompanyId-479e3e57.d.ts +0 -124
- package/dist/TradingPartnerAccessByCompanyId-53b868a8.d.ts +0 -125
- package/dist/TradingPartnerAccessByCompanyId-b227f0c5.d.ts +0 -125
- package/dist/TradingPartnerAccessByCompanyId-e7a1d443.d.ts +0 -129
- package/dist/asstClient-f6a1693a.d.ts +0 -29
- package/dist/chunk-3FMMM7IS.js +0 -80
- package/dist/chunk-3JRE7YYE.js +0 -4576
- package/dist/chunk-4WER3ZLX.js +0 -4576
- package/dist/chunk-6ZNFOWTV.js +0 -78
- package/dist/chunk-7HCJJATJ.js +0 -40
- package/dist/chunk-B7B2ACF4.js +0 -3794
- package/dist/chunk-D3ML6E4G.js +0 -3787
- package/dist/chunk-ETURPA7W.js +0 -326
- package/dist/chunk-F3KCLICG.js +0 -77
- package/dist/chunk-FS6LHGAR.js +0 -87
- package/dist/chunk-G36FM5OA.js +0 -327
- package/dist/chunk-GDFX3WTX.js +0 -78
- package/dist/chunk-LGP22FRF.js +0 -0
- package/dist/chunk-LYMGZWSR.js +0 -80
- package/dist/chunk-N2OYWNHF.js +0 -80
- package/dist/chunk-OA6PO3QG.js +0 -78
- package/dist/chunk-OBXZRDPY.js +0 -77
- package/dist/chunk-OI47EFQH.js +0 -82
- package/dist/chunk-OVOZIZA2.js +0 -326
- package/dist/chunk-RNUSCCKB.js +0 -183
- package/dist/chunk-RRGAJ4ZS.js +0 -4576
- package/dist/chunk-T3UCSW2B.js +0 -81
- package/dist/chunk-XMNYZGXF.js +0 -84
- package/dist/chunk-YCQUK6KV.js +0 -85
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const importDetailSchema: z.ZodObject<{
|
|
4
|
-
completedAt: z.ZodNullable<z.ZodNumber>;
|
|
5
|
-
errorCount: z.ZodNumber;
|
|
6
|
-
importId: z.ZodNumber;
|
|
7
|
-
name: z.ZodString;
|
|
8
|
-
startedAt: z.ZodNullable<z.ZodString>;
|
|
9
|
-
status: z.ZodString;
|
|
10
|
-
uploadedAt: z.ZodString;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
status: string;
|
|
13
|
-
completedAt: number | null;
|
|
14
|
-
errorCount: number;
|
|
15
|
-
importId: number;
|
|
16
|
-
name: string;
|
|
17
|
-
startedAt: string | null;
|
|
18
|
-
uploadedAt: string;
|
|
19
|
-
}, {
|
|
20
|
-
status: string;
|
|
21
|
-
completedAt: number | null;
|
|
22
|
-
errorCount: number;
|
|
23
|
-
importId: number;
|
|
24
|
-
name: string;
|
|
25
|
-
startedAt: string | null;
|
|
26
|
-
uploadedAt: string;
|
|
27
|
-
}>;
|
|
28
|
-
type ImportDetails = z.infer<typeof importDetailSchema>;
|
|
29
|
-
|
|
30
|
-
declare const importErrorSchema: z.ZodObject<{
|
|
31
|
-
attribute: z.ZodString;
|
|
32
|
-
description: z.ZodString;
|
|
33
|
-
importErrorId: z.ZodNumber;
|
|
34
|
-
row: z.ZodNumber;
|
|
35
|
-
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
attribute: string;
|
|
37
|
-
description: string;
|
|
38
|
-
importErrorId: number;
|
|
39
|
-
row: number;
|
|
40
|
-
}, {
|
|
41
|
-
attribute: string;
|
|
42
|
-
description: string;
|
|
43
|
-
importErrorId: number;
|
|
44
|
-
row: number;
|
|
45
|
-
}>;
|
|
46
|
-
type ImportError = z.infer<typeof importErrorSchema>;
|
|
47
|
-
|
|
48
|
-
declare const importStatusEnumSchema: z.ZodEnum<["QUEUED_FOR_IMPORT", "IN_PROGRESS", "DOC_FAILED", "VALIDATION_FAILED", "COMPLETED"]>;
|
|
49
|
-
type ImportStatusEnum = z.infer<typeof importStatusEnumSchema>;
|
|
50
|
-
|
|
51
|
-
declare const exportDayOfWeekEnum: z.ZodEnum<["MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"]>;
|
|
52
|
-
type ExportDayOfWeek = z.infer<typeof exportDayOfWeekEnum>;
|
|
53
|
-
|
|
54
|
-
declare const exportFrequencyEnum: z.ZodEnum<["IMMEDIATE", "ONETIME", "DAILY", "WEEKLY", "MONTHLY"]>;
|
|
55
|
-
type ExportFrequency = z.infer<typeof exportFrequencyEnum>;
|
|
56
|
-
|
|
57
|
-
declare const exportTypeEnum: z.ZodEnum<["ALL", "UPDATES", "DELTAS_UPDATE", "NO_BUYER_PART_NUMBER"]>;
|
|
58
|
-
type ExportType = z.infer<typeof exportTypeEnum>;
|
|
59
|
-
|
|
60
|
-
declare const itemCategorySchema: z.ZodObject<{
|
|
61
|
-
categoryid: z.ZodNumber;
|
|
62
|
-
companyId: z.ZodNumber;
|
|
63
|
-
name: z.ZodString;
|
|
64
|
-
isActive: z.ZodNumber;
|
|
65
|
-
createdDate: z.ZodNullable<z.ZodNumber>;
|
|
66
|
-
categorytimestamp: z.ZodNullable<z.ZodNumber>;
|
|
67
|
-
typeId: z.ZodNumber;
|
|
68
|
-
type: z.ZodString;
|
|
69
|
-
categorykey: z.ZodOptional<z.ZodString>;
|
|
70
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
-
categoryCatalogName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
-
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
type: string;
|
|
74
|
-
name: string;
|
|
75
|
-
isActive: number;
|
|
76
|
-
createdDate: number | null;
|
|
77
|
-
companyId: number;
|
|
78
|
-
categoryid: number;
|
|
79
|
-
categorytimestamp: number | null;
|
|
80
|
-
typeId: number;
|
|
81
|
-
categorykey?: string | undefined;
|
|
82
|
-
description?: string | null | undefined;
|
|
83
|
-
categoryCatalogName?: string | null | undefined;
|
|
84
|
-
}, {
|
|
85
|
-
type: string;
|
|
86
|
-
name: string;
|
|
87
|
-
isActive: number;
|
|
88
|
-
createdDate: number | null;
|
|
89
|
-
companyId: number;
|
|
90
|
-
categoryid: number;
|
|
91
|
-
categorytimestamp: number | null;
|
|
92
|
-
typeId: number;
|
|
93
|
-
categorykey?: string | undefined;
|
|
94
|
-
description?: string | null | undefined;
|
|
95
|
-
categoryCatalogName?: string | null | undefined;
|
|
96
|
-
}>;
|
|
97
|
-
type ItemCategory = z.infer<typeof itemCategorySchema>;
|
|
98
|
-
|
|
99
|
-
export { ExportDayOfWeek as E, ImportDetails as I, ImportError as a, ImportStatusEnum as b, ExportFrequency as c, ExportType as d, ItemCategory as e, importErrorSchema as f, importStatusEnumSchema as g, exportDayOfWeekEnum as h, importDetailSchema as i, exportFrequencyEnum as j, exportTypeEnum as k, itemCategorySchema as l };
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const importDetailSchema: z.ZodObject<{
|
|
4
|
-
completedAt: z.ZodNullable<z.ZodNumber>;
|
|
5
|
-
errorCount: z.ZodNumber;
|
|
6
|
-
importId: z.ZodNumber;
|
|
7
|
-
name: z.ZodString;
|
|
8
|
-
startedAt: z.ZodNullable<z.ZodString>;
|
|
9
|
-
status: z.ZodString;
|
|
10
|
-
uploadedAt: z.ZodString;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
completedAt: number | null;
|
|
13
|
-
status: string;
|
|
14
|
-
errorCount: number;
|
|
15
|
-
importId: number;
|
|
16
|
-
name: string;
|
|
17
|
-
startedAt: string | null;
|
|
18
|
-
uploadedAt: string;
|
|
19
|
-
}, {
|
|
20
|
-
completedAt: number | null;
|
|
21
|
-
status: string;
|
|
22
|
-
errorCount: number;
|
|
23
|
-
importId: number;
|
|
24
|
-
name: string;
|
|
25
|
-
startedAt: string | null;
|
|
26
|
-
uploadedAt: string;
|
|
27
|
-
}>;
|
|
28
|
-
type ImportDetails = z.infer<typeof importDetailSchema>;
|
|
29
|
-
|
|
30
|
-
declare const importErrorSchema: z.ZodObject<{
|
|
31
|
-
attribute: z.ZodString;
|
|
32
|
-
description: z.ZodString;
|
|
33
|
-
importErrorId: z.ZodNumber;
|
|
34
|
-
row: z.ZodNumber;
|
|
35
|
-
}, "strip", z.ZodTypeAny, {
|
|
36
|
-
attribute: string;
|
|
37
|
-
description: string;
|
|
38
|
-
importErrorId: number;
|
|
39
|
-
row: number;
|
|
40
|
-
}, {
|
|
41
|
-
attribute: string;
|
|
42
|
-
description: string;
|
|
43
|
-
importErrorId: number;
|
|
44
|
-
row: number;
|
|
45
|
-
}>;
|
|
46
|
-
type ImportError = z.infer<typeof importErrorSchema>;
|
|
47
|
-
|
|
48
|
-
declare const importStatusEnumSchema: z.ZodEnum<["QUEUED_FOR_IMPORT", "IN_PROGRESS", "DOC_FAILED", "VALIDATION_FAILED", "COMPLETED"]>;
|
|
49
|
-
type ImportStatusEnum = z.infer<typeof importStatusEnumSchema>;
|
|
50
|
-
|
|
51
|
-
declare const exportDayOfWeekEnum: z.ZodEnum<["MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"]>;
|
|
52
|
-
type ExportDayOfWeek = z.infer<typeof exportDayOfWeekEnum>;
|
|
53
|
-
|
|
54
|
-
declare const exportFrequencyEnum: z.ZodEnum<["IMMEDIATE", "ONETIME", "DAILY", "WEEKLY", "MONTHLY"]>;
|
|
55
|
-
type ExportFrequency = z.infer<typeof exportFrequencyEnum>;
|
|
56
|
-
|
|
57
|
-
declare const exportTypeEnum: z.ZodEnum<["ALL", "UPDATES", "DELTAS_UPDATE", "NO_BUYER_PART_NUMBER"]>;
|
|
58
|
-
type ExportType = z.infer<typeof exportTypeEnum>;
|
|
59
|
-
|
|
60
|
-
declare const itemCategorySchema: z.ZodObject<{
|
|
61
|
-
categoryid: z.ZodNumber;
|
|
62
|
-
companyId: z.ZodNumber;
|
|
63
|
-
name: z.ZodString;
|
|
64
|
-
isActive: z.ZodNumber;
|
|
65
|
-
createdDate: z.ZodNullable<z.ZodNumber>;
|
|
66
|
-
categorytimestamp: z.ZodNullable<z.ZodNumber>;
|
|
67
|
-
typeId: z.ZodNumber;
|
|
68
|
-
type: z.ZodString;
|
|
69
|
-
categorykey: z.ZodOptional<z.ZodString>;
|
|
70
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
|
-
categoryCatalogName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
|
-
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
type: string;
|
|
74
|
-
name: string;
|
|
75
|
-
isActive: number;
|
|
76
|
-
createdDate: number | null;
|
|
77
|
-
companyId: number;
|
|
78
|
-
categoryid: number;
|
|
79
|
-
categorytimestamp: number | null;
|
|
80
|
-
typeId: number;
|
|
81
|
-
categorykey?: string | undefined;
|
|
82
|
-
description?: string | null | undefined;
|
|
83
|
-
categoryCatalogName?: string | null | undefined;
|
|
84
|
-
}, {
|
|
85
|
-
type: string;
|
|
86
|
-
name: string;
|
|
87
|
-
isActive: number;
|
|
88
|
-
createdDate: number | null;
|
|
89
|
-
companyId: number;
|
|
90
|
-
categoryid: number;
|
|
91
|
-
categorytimestamp: number | null;
|
|
92
|
-
typeId: number;
|
|
93
|
-
categorykey?: string | undefined;
|
|
94
|
-
description?: string | null | undefined;
|
|
95
|
-
categoryCatalogName?: string | null | undefined;
|
|
96
|
-
}>;
|
|
97
|
-
type ItemCategory = z.infer<typeof itemCategorySchema>;
|
|
98
|
-
|
|
99
|
-
export { ExportDayOfWeek as E, ImportDetails as I, ImportError as a, ImportStatusEnum as b, ExportFrequency as c, ExportType as d, ItemCategory as e, importErrorSchema as f, importStatusEnumSchema as g, exportDayOfWeekEnum as h, importDetailSchema as i, exportFrequencyEnum as j, exportTypeEnum as k, itemCategorySchema as l };
|