@spscommerce/asst-api 4.2.1 → 4.2.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.
- package/dist/SpsItemIdResponse-CkHdH_QJ.d.cts +59 -0
- package/dist/SpsItemIdResponse-CkHdH_QJ.d.ts +59 -0
- package/dist/SpsItemIdResponse-s0vCXepG.d.cts +74 -0
- package/dist/SpsItemIdResponse-s0vCXepG.d.ts +74 -0
- package/dist/chunk-4RARACQK.js +528 -0
- package/dist/chunk-7CGKH3QQ.js +528 -0
- package/dist/chunk-BVCWT7AV.js +79 -0
- package/dist/chunk-C73WZRUL.js +544 -0
- package/dist/chunk-FCUIJXCD.js +544 -0
- package/dist/chunk-L4AWOEED.js +4892 -0
- package/dist/chunk-MH76527N.js +4892 -0
- package/dist/chunk-RPGGEEFE.js +79 -0
- package/dist/chunk-SPR77CVW.js +529 -0
- package/dist/index.cjs +14 -7
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +7 -3
- package/dist/msw.cjs +8 -7
- package/dist/msw.d.cts +4 -4
- package/dist/msw.d.ts +4 -4
- package/dist/msw.js +2 -2
- package/dist/zod-BRmUARvM.d.cts +5879 -0
- package/dist/zod-C3fOiO-H.d.cts +5900 -0
- package/dist/zod-CFNzalN6.d.ts +5879 -0
- package/dist/zod-CJ6AFTQr.d.ts +5900 -0
- package/dist/zod-VuA-QJOT.d.ts +5915 -0
- package/dist/zod-jDi_gO0s.d.cts +5915 -0
- package/dist/zod.cjs +10 -7
- package/dist/zod.d.cts +1 -1
- package/dist/zod.d.ts +1 -1
- package/dist/zod.js +4 -2
- package/package.json +1 -1
package/dist/zod.cjs
CHANGED
|
@@ -34,6 +34,7 @@ __export(zod_exports, {
|
|
|
34
34
|
attributeDetailSchema: () => attributeDetailSchema,
|
|
35
35
|
bulbSchema: () => bulbSchema,
|
|
36
36
|
categoryEnumSchema: () => categoryEnumSchema,
|
|
37
|
+
categoryTypeSchema: () => categoryTypeSchema,
|
|
37
38
|
companyBriefByOrgSchema: () => companyBriefByOrgSchema,
|
|
38
39
|
companyRelationshipUpsertBodySchema: () => companyRelationshipUpsertBodySchema,
|
|
39
40
|
componentDetailsSchema: () => componentDetailsSchema,
|
|
@@ -4130,14 +4131,14 @@ var ostring = () => stringType().optional();
|
|
|
4130
4131
|
var onumber = () => numberType().optional();
|
|
4131
4132
|
var oboolean = () => booleanType().optional();
|
|
4132
4133
|
var coerce = {
|
|
4133
|
-
string: (arg) => ZodString.create({ ...arg, coerce: true }),
|
|
4134
|
-
number: (arg) => ZodNumber.create({ ...arg, coerce: true }),
|
|
4135
|
-
boolean: (arg) => ZodBoolean.create({
|
|
4134
|
+
string: ((arg) => ZodString.create({ ...arg, coerce: true })),
|
|
4135
|
+
number: ((arg) => ZodNumber.create({ ...arg, coerce: true })),
|
|
4136
|
+
boolean: ((arg) => ZodBoolean.create({
|
|
4136
4137
|
...arg,
|
|
4137
4138
|
coerce: true
|
|
4138
|
-
}),
|
|
4139
|
-
bigint: (arg) => ZodBigInt.create({ ...arg, coerce: true }),
|
|
4140
|
-
date: (arg) => ZodDate.create({ ...arg, coerce: true })
|
|
4139
|
+
})),
|
|
4140
|
+
bigint: ((arg) => ZodBigInt.create({ ...arg, coerce: true })),
|
|
4141
|
+
date: ((arg) => ZodDate.create({ ...arg, coerce: true }))
|
|
4141
4142
|
};
|
|
4142
4143
|
var NEVER = INVALID;
|
|
4143
4144
|
|
|
@@ -4290,6 +4291,7 @@ var downLoadItemsParamsSchema = external_exports.object({
|
|
|
4290
4291
|
});
|
|
4291
4292
|
|
|
4292
4293
|
// lib/categories/models/ItemCategory.ts
|
|
4294
|
+
var categoryTypeSchema = external_exports.enum(["CATALOG", "SELECTION_CODE", "PRODUCT_CODE", "EXPORT"]);
|
|
4293
4295
|
var itemCategorySchema = external_exports.object({
|
|
4294
4296
|
categoryid: external_exports.number(),
|
|
4295
4297
|
encodedCategoryId: external_exports.string(),
|
|
@@ -4299,7 +4301,7 @@ var itemCategorySchema = external_exports.object({
|
|
|
4299
4301
|
createdDate: external_exports.number().nullish(),
|
|
4300
4302
|
categorytimestamp: external_exports.number().nullish(),
|
|
4301
4303
|
typeId: external_exports.number(),
|
|
4302
|
-
type:
|
|
4304
|
+
type: categoryTypeSchema,
|
|
4303
4305
|
categorykey: external_exports.string().nullish(),
|
|
4304
4306
|
description: external_exports.string().nullish(),
|
|
4305
4307
|
categoryCatalogName: external_exports.string().nullish()
|
|
@@ -4987,6 +4989,7 @@ var companyBriefByOrgSchema = external_exports.object({
|
|
|
4987
4989
|
attributeDetailSchema,
|
|
4988
4990
|
bulbSchema,
|
|
4989
4991
|
categoryEnumSchema,
|
|
4992
|
+
categoryTypeSchema,
|
|
4990
4993
|
companyBriefByOrgSchema,
|
|
4991
4994
|
companyRelationshipUpsertBodySchema,
|
|
4992
4995
|
componentDetailsSchema,
|
package/dist/zod.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { c as companyBriefByOrgSchema, e as envSchema, s as spsItemIdResponseSchema } from './CompanyBriefByOrg-Dy2omcT0.cjs';
|
|
2
|
-
export {
|
|
2
|
+
export { aO as attrProdTypeSchema, aE as attributeDetailSchema, aw as bulbSchema, aB as categoryEnumSchema, ap as categoryTypeSchema, aU as companyRelationshipUpsertBodySchema, aG as componentDetailsSchema, aR as connectionSchema, al as downLoadItemsParamsSchema, ah as exportDayOfWeekEnum, ai as exportFrequencyEnum, ak as exportSchema, aj as exportTypeEnum, af as generateImportTemplateParamsSchema, aK as groupedAttributeListSchema, aI as groupedAttributesSchema, aA as groupedItemSchema, aJ as hierarchyCategorySchema, aH as hierarchyDetailsSchema, aV as identityServiceDatetimePreferencesSchema, aW as identityServiceOrganizationMetadataSchema, aX as identityServiceOrganizationSchema, aY as identityServicePreferencesSchema, aZ as identityServiceUserSchema, a9 as importDetailSchema, aa as importErrorSchema, ab as importErrorsSchema, ac as importSchema, ae as importStatusEnumSchema, ad as importsStatusSchema, am as itemCategoriesSearchSchema, an as itemCategorySchema, az as itemDetailSchema, aD as itemDetailViewSchema, b0 as itemErrorDetailsResultSchema, b2 as itemErrorDetailsResultV2Schema, b1 as itemErrorDetailsSchema, b4 as itemErrorDetailsV2Schema, b6 as itemErrorSummaryResultV2Schema, b3 as itemErrorSummaryV2Schema, aq as itemHeaderSchema, ao as itemHierarchyResponseSchema, ar as itemMapSchema, aT as itemPartnerSchema, ax as itemPriceSchema, as as itemSearchViewSchema, at as itemTableSchema, aN as localeSchema, ay as mediaItemSchema, aL as packComponentDetailsSchema, aM as packComponentItemInfoSchema, aC as packComponentSchema, au as phaseEnumSchema, a_ as registeredServiceSchema, aF as repeatableGroupSchema, aP as spreadsheetTemplateCompanySchema, aQ as spreadsheetTemplateSchema, aS as tradingPartnerAccessByCompanyIdSchema, av as tradingPartnerStageSchema, b5 as tradingPartnerStageV2Schema, a$ as userAccountSchema, ag as vendorPartnerAttGroupsSchema } from './zod-BRmUARvM.cjs';
|
|
3
3
|
import 'ky';
|
|
4
4
|
import 'zod';
|
package/dist/zod.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { c as companyBriefByOrgSchema, e as envSchema, s as spsItemIdResponseSchema } from './CompanyBriefByOrg-Dy2omcT0.js';
|
|
2
|
-
export {
|
|
2
|
+
export { aO as attrProdTypeSchema, aE as attributeDetailSchema, aw as bulbSchema, aB as categoryEnumSchema, ap as categoryTypeSchema, aU as companyRelationshipUpsertBodySchema, aG as componentDetailsSchema, aR as connectionSchema, al as downLoadItemsParamsSchema, ah as exportDayOfWeekEnum, ai as exportFrequencyEnum, ak as exportSchema, aj as exportTypeEnum, af as generateImportTemplateParamsSchema, aK as groupedAttributeListSchema, aI as groupedAttributesSchema, aA as groupedItemSchema, aJ as hierarchyCategorySchema, aH as hierarchyDetailsSchema, aV as identityServiceDatetimePreferencesSchema, aW as identityServiceOrganizationMetadataSchema, aX as identityServiceOrganizationSchema, aY as identityServicePreferencesSchema, aZ as identityServiceUserSchema, a9 as importDetailSchema, aa as importErrorSchema, ab as importErrorsSchema, ac as importSchema, ae as importStatusEnumSchema, ad as importsStatusSchema, am as itemCategoriesSearchSchema, an as itemCategorySchema, az as itemDetailSchema, aD as itemDetailViewSchema, b0 as itemErrorDetailsResultSchema, b2 as itemErrorDetailsResultV2Schema, b1 as itemErrorDetailsSchema, b4 as itemErrorDetailsV2Schema, b6 as itemErrorSummaryResultV2Schema, b3 as itemErrorSummaryV2Schema, aq as itemHeaderSchema, ao as itemHierarchyResponseSchema, ar as itemMapSchema, aT as itemPartnerSchema, ax as itemPriceSchema, as as itemSearchViewSchema, at as itemTableSchema, aN as localeSchema, ay as mediaItemSchema, aL as packComponentDetailsSchema, aM as packComponentItemInfoSchema, aC as packComponentSchema, au as phaseEnumSchema, a_ as registeredServiceSchema, aF as repeatableGroupSchema, aP as spreadsheetTemplateCompanySchema, aQ as spreadsheetTemplateSchema, aS as tradingPartnerAccessByCompanyIdSchema, av as tradingPartnerStageSchema, b5 as tradingPartnerStageV2Schema, a$ as userAccountSchema, ag as vendorPartnerAttGroupsSchema } from './zod-CFNzalN6.js';
|
|
3
3
|
import 'ky';
|
|
4
4
|
import 'zod';
|
package/dist/zod.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
envSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RPGGEEFE.js";
|
|
4
4
|
import {
|
|
5
5
|
attrProdTypeSchema,
|
|
6
6
|
attributeDetailSchema,
|
|
7
7
|
bulbSchema,
|
|
8
8
|
categoryEnumSchema,
|
|
9
|
+
categoryTypeSchema,
|
|
9
10
|
companyBriefByOrgSchema,
|
|
10
11
|
companyRelationshipUpsertBodySchema,
|
|
11
12
|
componentDetailsSchema,
|
|
@@ -61,7 +62,7 @@ import {
|
|
|
61
62
|
tradingPartnerStageV2Schema,
|
|
62
63
|
userAccountSchema,
|
|
63
64
|
vendorPartnerAttGroupsSchema
|
|
64
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-L4AWOEED.js";
|
|
65
66
|
|
|
66
67
|
// lib/exports/models/ExportType.ts
|
|
67
68
|
var exportTypeEnum = external_exports.enum(["ALL", "UPDATES", "DELTAS_UPDATE", "NO_BUYER_PART_NUMBER"]);
|
|
@@ -124,6 +125,7 @@ export {
|
|
|
124
125
|
attributeDetailSchema,
|
|
125
126
|
bulbSchema,
|
|
126
127
|
categoryEnumSchema,
|
|
128
|
+
categoryTypeSchema,
|
|
127
129
|
companyBriefByOrgSchema,
|
|
128
130
|
companyRelationshipUpsertBodySchema,
|
|
129
131
|
componentDetailsSchema,
|
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": "4.2.
|
|
6
|
+
"version": "4.2.3",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|