@spscommerce/asst-api 0.0.1-beta.1 → 0.0.1-beta.10
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/ItemCategoriesSearch-44b87663.d.ts +318 -0
- package/dist/ItemCategoriesSearch-e0870a34.d.ts +318 -0
- package/dist/ItemCategoriesSearch-e3298650.d.ts +319 -0
- package/dist/ItemCategoriesSearch-ec43591f.d.ts +319 -0
- package/dist/ItemCategory-14816deb.d.ts +99 -0
- package/dist/ItemErrorDetails-0eed9761.d.ts +3200 -0
- package/dist/ItemErrorDetails-1614b511.d.ts +3137 -0
- package/dist/ItemErrorDetails-1bd2821e.d.ts +3137 -0
- package/dist/ItemErrorDetails-b2c79d10.d.ts +3197 -0
- package/dist/ItemErrorDetails-ba155b70.d.ts +3269 -0
- package/dist/ItemErrorDetails-bc465036.d.ts +3200 -0
- package/dist/ItemErrorDetails-e6e400aa.d.ts +3197 -0
- package/dist/ItemErrorDetailsResult-0b4a628c.d.ts +3032 -0
- package/dist/ItemErrorDetailsResult-8317ab6e.d.ts +3092 -0
- package/dist/ItemErrorDetailsResult-859368da.d.ts +3032 -0
- package/dist/ItemErrorDetailsResult-9ac97c24.d.ts +3032 -0
- package/dist/ItemErrorDetailsResult-ae90f329.d.ts +3097 -0
- package/dist/ItemErrorDetailsResult-c12c4eac.d.ts +3032 -0
- package/dist/ItemErrorDetailsResult-c62caeae.d.ts +3092 -0
- package/dist/ItemErrorDetailsResult-fbc33a43.d.ts +3097 -0
- package/dist/ItemStatusResponse-7f871d5a.d.ts +91 -0
- package/dist/TradingPartnerAccessByCompanyId-29866586.d.ts +97 -0
- package/dist/TradingPartnerAccessByCompanyId-43f83fb6.d.ts +130 -0
- package/dist/TradingPartnerAccessByCompanyId-53b868a8.d.ts +125 -0
- package/dist/TradingPartnerAccessByCompanyId-b227f0c5.d.ts +125 -0
- package/dist/TradingPartnerAccessByCompanyId-e7a1d443.d.ts +129 -0
- package/dist/chunk-3CJG5LDN.js +360 -0
- package/dist/chunk-3FMMM7IS.js +80 -0
- package/dist/chunk-3JRE7YYE.js +4576 -0
- package/dist/chunk-4HWZ3JEH.js +328 -0
- package/dist/chunk-4WER3ZLX.js +4576 -0
- package/dist/chunk-5YWAQNT6.js +4634 -0
- package/dist/chunk-6ZNFOWTV.js +78 -0
- package/dist/chunk-CB3PVPHS.js +344 -0
- package/dist/chunk-ETURPA7W.js +326 -0
- package/dist/chunk-F3KCLICG.js +77 -0
- package/dist/chunk-FS6LHGAR.js +87 -0
- package/dist/chunk-G36FM5OA.js +327 -0
- package/dist/chunk-GDFX3WTX.js +78 -0
- package/dist/chunk-GSUSBCHT.js +4576 -0
- package/dist/chunk-IHIEBLQV.js +4576 -0
- package/dist/chunk-ITWMRXLD.js +328 -0
- package/dist/chunk-J3A66IGS.js +389 -0
- package/dist/chunk-LYMGZWSR.js +80 -0
- package/dist/chunk-N2OYWNHF.js +80 -0
- package/dist/chunk-OA6PO3QG.js +78 -0
- package/dist/chunk-OBXZRDPY.js +77 -0
- package/dist/chunk-OI47EFQH.js +82 -0
- package/dist/chunk-OVOZIZA2.js +326 -0
- package/dist/chunk-RRGAJ4ZS.js +4576 -0
- package/dist/chunk-T3UCSW2B.js +81 -0
- package/dist/chunk-VNFU2PUV.js +4577 -0
- package/dist/chunk-WN2FPUF3.js +4577 -0
- package/dist/chunk-XMNYZGXF.js +84 -0
- package/dist/chunk-YCQUK6KV.js +85 -0
- package/dist/index.cjs +1001 -84
- package/dist/index.d.ts +197 -46
- package/dist/index.js +23 -56
- package/dist/msw.cjs +1056 -65
- package/dist/msw.d.ts +638 -76
- package/dist/msw.js +317 -54
- package/dist/zod.cjs +812 -17
- package/dist/zod.d.ts +4 -2
- package/dist/zod.js +112 -52
- package/package.json +2 -3
package/dist/zod.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { o as attrProdTypeSchema, w as attributeDefinitionSchema, x as attributeMetaDataSchema, z as attributeValidValuesSchema, y as attributesByCompanySchema, p as envSchema, t as exportSchema, q as importErrorsSchema, r as importSchema, s as importsStatusSchema, u as itemCategoriesSearchSchema, D as itemDetailViewSchema, K as itemErrorDetailsResultSchema, C as itemSearchViewSchema, F as localeSchema, G as spreadsheetTemplateSchema, H as tradingPartnerAccessByCompanyIdSchema, J as userAccountSchema, v as vendorPartnerAttGroupsSchema } from './ItemErrorDetailsResult-fbc33a43.js';
|
|
2
|
+
export { a4 as attrDatatypeNameEnumSchema, aj as attributeDetailSchema, a5 as attributeGroupSchema, a6 as attributeSummarySchema, ac as bulbSchema, ah as categoryEnumSchema, al as componentDetailsSchema, au as connectionSchema, $ as downLoadItemsParamsSchema, Y as exportDayOfWeekEnum, Z as exportFrequencyEnum, _ as exportTypeEnum, X as generateImportTemplateParamsSchema, ap as groupedAttributeListSchema, an as groupedAttributesSchema, ag as groupedItemSchema, ao as hierarchyCategorySchema, am as hierarchyDetailsSchema, a1 as hierarchySchema, av as identityServiceDatetimePreferencesSchema, aw as identityServiceOrganizationMetadataSchema, ax as identityServiceOrganizationSchema, ay as identityServicePreferencesSchema, az as identityServiceUserSchema, U as importDetailSchema, V as importErrorSchema, W as importStatusEnumSchema, a0 as itemCategorySchema, af as itemDetailSchema, aB as itemErrorDetailsSchema, a7 as itemHeaderSchema, a2 as itemHierarchyResponseSchema, a3 as itemHierarchySchema, a8 as itemMapSchema, ad as itemPriceSchema, a9 as itemTableSchema, ae as mediaItemSchema, aq as packComponentDetailsSchema, ar as packComponentItemInfoSchema, ai as packComponentSchema, aa as phaseEnumSchema, aA as registeredServiceSchema, ak as repeatableGroupSchema, at as spreadsheetTemplateCompanySchema, as as spsItemIdResponseSchema, ab as tradingPartnerStageSchema } from './ItemErrorDetails-ba155b70.js';
|
|
3
|
+
import 'ky-universal';
|
|
4
|
+
import 'ky';
|
|
3
5
|
import 'zod';
|
package/dist/zod.js
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
|
-
import "./chunk-LGP22FRF.js";
|
|
2
1
|
import {
|
|
2
|
+
attrDatatypeNameEnumSchema,
|
|
3
|
+
attrProdTypeSchema,
|
|
4
|
+
attributeDefinitionSchema,
|
|
5
|
+
attributeDetailSchema,
|
|
6
|
+
attributeGroupSchema,
|
|
7
|
+
attributeMetaDataSchema,
|
|
8
|
+
attributeSummarySchema,
|
|
9
|
+
attributeValidValuesSchema,
|
|
10
|
+
attributesByCompanySchema,
|
|
11
|
+
bulbSchema,
|
|
12
|
+
categoryEnumSchema,
|
|
13
|
+
componentDetailsSchema,
|
|
14
|
+
connectionSchema,
|
|
15
|
+
downLoadItemsParamsSchema,
|
|
16
|
+
envSchema,
|
|
17
|
+
exportDayOfWeekEnum,
|
|
18
|
+
exportFrequencyEnum,
|
|
19
|
+
exportSchema,
|
|
20
|
+
exportTypeEnum,
|
|
21
|
+
generateImportTemplateParamsSchema,
|
|
22
|
+
groupedAttributeListSchema,
|
|
23
|
+
groupedAttributesSchema,
|
|
24
|
+
groupedItemSchema,
|
|
25
|
+
hierarchyCategorySchema,
|
|
26
|
+
hierarchyDetailsSchema,
|
|
27
|
+
hierarchySchema,
|
|
28
|
+
identityServiceDatetimePreferencesSchema,
|
|
29
|
+
identityServiceOrganizationMetadataSchema,
|
|
30
|
+
identityServiceOrganizationSchema,
|
|
31
|
+
identityServicePreferencesSchema,
|
|
32
|
+
identityServiceUserSchema,
|
|
3
33
|
importDetailSchema,
|
|
4
34
|
importErrorSchema,
|
|
5
35
|
importErrorsSchema,
|
|
@@ -8,61 +38,65 @@ import {
|
|
|
8
38
|
importsStatusSchema,
|
|
9
39
|
itemCategoriesSearchSchema,
|
|
10
40
|
itemCategorySchema,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
var exportSchema = z.object({
|
|
39
|
-
exportName: z.string(),
|
|
40
|
-
exportDescription: z.string(),
|
|
41
|
-
isActive: z.boolean(),
|
|
42
|
-
exportType: exportTypeEnum,
|
|
43
|
-
exportFrequency: exportFrequencyEnum,
|
|
44
|
-
includeValidAttributes: z.optional(z.boolean()),
|
|
45
|
-
dayOfMonth: z.optional(z.number()),
|
|
46
|
-
dayOfWeek: z.optional(exportDayOfWeekEnum),
|
|
47
|
-
hourOfDay: z.optional(z.number()),
|
|
48
|
-
date: z.optional(z.string()),
|
|
49
|
-
catalogIds: z.optional(z.array(z.number())),
|
|
50
|
-
itemInfoIds: z.optional(z.array(z.number())),
|
|
51
|
-
excludeItemInfoIds: z.optional(z.array(z.number())),
|
|
52
|
-
selectionCodeIds: z.optional(z.array(z.number())),
|
|
53
|
-
productCodeIds: z.optional(z.array(z.number())),
|
|
54
|
-
productTypes: z.optional(z.array(z.string())),
|
|
55
|
-
deliveryType: z.optional(z.string()),
|
|
56
|
-
spreadsheetTemplateId: z.optional(z.number()),
|
|
57
|
-
emailAddresses: z.optional(z.array(z.string())),
|
|
58
|
-
subjectLine: z.optional(z.string()),
|
|
59
|
-
additionalLocales: z.optional(z.array(z.string()))
|
|
60
|
-
});
|
|
41
|
+
itemDetailSchema,
|
|
42
|
+
itemDetailViewSchema,
|
|
43
|
+
itemErrorDetailsResultSchema,
|
|
44
|
+
itemErrorDetailsSchema,
|
|
45
|
+
itemHeaderSchema,
|
|
46
|
+
itemHierarchyResponseSchema,
|
|
47
|
+
itemHierarchySchema,
|
|
48
|
+
itemMapSchema,
|
|
49
|
+
itemPriceSchema,
|
|
50
|
+
itemSearchViewSchema,
|
|
51
|
+
itemTableSchema,
|
|
52
|
+
localeSchema,
|
|
53
|
+
mediaItemSchema,
|
|
54
|
+
packComponentDetailsSchema,
|
|
55
|
+
packComponentItemInfoSchema,
|
|
56
|
+
packComponentSchema,
|
|
57
|
+
phaseEnumSchema,
|
|
58
|
+
registeredServiceSchema,
|
|
59
|
+
repeatableGroupSchema,
|
|
60
|
+
spreadsheetTemplateCompanySchema,
|
|
61
|
+
spreadsheetTemplateSchema,
|
|
62
|
+
spsItemIdResponseSchema,
|
|
63
|
+
tradingPartnerAccessByCompanyIdSchema,
|
|
64
|
+
tradingPartnerStageSchema,
|
|
65
|
+
userAccountSchema,
|
|
66
|
+
vendorPartnerAttGroupsSchema
|
|
67
|
+
} from "./chunk-5YWAQNT6.js";
|
|
61
68
|
export {
|
|
69
|
+
attrDatatypeNameEnumSchema,
|
|
70
|
+
attrProdTypeSchema,
|
|
71
|
+
attributeDefinitionSchema,
|
|
72
|
+
attributeDetailSchema,
|
|
73
|
+
attributeGroupSchema,
|
|
74
|
+
attributeMetaDataSchema,
|
|
75
|
+
attributeSummarySchema,
|
|
76
|
+
attributeValidValuesSchema,
|
|
77
|
+
attributesByCompanySchema,
|
|
78
|
+
bulbSchema,
|
|
79
|
+
categoryEnumSchema,
|
|
80
|
+
componentDetailsSchema,
|
|
81
|
+
connectionSchema,
|
|
82
|
+
downLoadItemsParamsSchema,
|
|
83
|
+
envSchema,
|
|
62
84
|
exportDayOfWeekEnum,
|
|
63
85
|
exportFrequencyEnum,
|
|
64
86
|
exportSchema,
|
|
65
87
|
exportTypeEnum,
|
|
88
|
+
generateImportTemplateParamsSchema,
|
|
89
|
+
groupedAttributeListSchema,
|
|
90
|
+
groupedAttributesSchema,
|
|
91
|
+
groupedItemSchema,
|
|
92
|
+
hierarchyCategorySchema,
|
|
93
|
+
hierarchyDetailsSchema,
|
|
94
|
+
hierarchySchema,
|
|
95
|
+
identityServiceDatetimePreferencesSchema,
|
|
96
|
+
identityServiceOrganizationMetadataSchema,
|
|
97
|
+
identityServiceOrganizationSchema,
|
|
98
|
+
identityServicePreferencesSchema,
|
|
99
|
+
identityServiceUserSchema,
|
|
66
100
|
importDetailSchema,
|
|
67
101
|
importErrorSchema,
|
|
68
102
|
importErrorsSchema,
|
|
@@ -70,5 +104,31 @@ export {
|
|
|
70
104
|
importStatusEnumSchema,
|
|
71
105
|
importsStatusSchema,
|
|
72
106
|
itemCategoriesSearchSchema,
|
|
73
|
-
itemCategorySchema
|
|
107
|
+
itemCategorySchema,
|
|
108
|
+
itemDetailSchema,
|
|
109
|
+
itemDetailViewSchema,
|
|
110
|
+
itemErrorDetailsResultSchema,
|
|
111
|
+
itemErrorDetailsSchema,
|
|
112
|
+
itemHeaderSchema,
|
|
113
|
+
itemHierarchyResponseSchema,
|
|
114
|
+
itemHierarchySchema,
|
|
115
|
+
itemMapSchema,
|
|
116
|
+
itemPriceSchema,
|
|
117
|
+
itemSearchViewSchema,
|
|
118
|
+
itemTableSchema,
|
|
119
|
+
localeSchema,
|
|
120
|
+
mediaItemSchema,
|
|
121
|
+
packComponentDetailsSchema,
|
|
122
|
+
packComponentItemInfoSchema,
|
|
123
|
+
packComponentSchema,
|
|
124
|
+
phaseEnumSchema,
|
|
125
|
+
registeredServiceSchema,
|
|
126
|
+
repeatableGroupSchema,
|
|
127
|
+
spreadsheetTemplateCompanySchema,
|
|
128
|
+
spreadsheetTemplateSchema,
|
|
129
|
+
spsItemIdResponseSchema,
|
|
130
|
+
tradingPartnerAccessByCompanyIdSchema,
|
|
131
|
+
tradingPartnerStageSchema,
|
|
132
|
+
userAccountSchema,
|
|
133
|
+
vendorPartnerAttGroupsSchema
|
|
74
134
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Assortment Api is a collection of HTTP functions to use Assortment endpoints",
|
|
4
4
|
"author": "Assortment",
|
|
5
5
|
"repository": "https://github.com/SPSCommerce/assortment-main/tree/main/ui/packages/asst-api",
|
|
6
|
-
"version": "0.0.1-beta.
|
|
6
|
+
"version": "0.0.1-beta.10",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
@@ -53,8 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"ky": "^0.33.3",
|
|
56
|
-
"ky-universal": "^0.11.0"
|
|
57
|
-
"query-string": "^8.1.0"
|
|
56
|
+
"ky-universal": "^0.11.0"
|
|
58
57
|
},
|
|
59
58
|
"msw": {
|
|
60
59
|
"workerDirectory": "public"
|