@spscommerce/asst-api 4.3.0 → 4.5.0
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-CI_Ao86P.d.cts → SpsItemIdResponse-gAHfCzwP.d.cts} +22 -14
- package/dist/{SpsItemIdResponse-CI_Ao86P.d.ts → SpsItemIdResponse-gAHfCzwP.d.ts} +22 -14
- package/dist/{chunk-LKUGPDIT.js → chunk-BMTYM2N6.js} +33 -4
- package/dist/{chunk-CI3ZSIT4.js → chunk-VS3QNXZF.js} +146 -37
- package/dist/{chunk-55ECRTUX.js → chunk-WX4LGXJV.js} +1 -1
- package/dist/index.cjs +174 -40
- package/dist/index.d.cts +141 -14
- package/dist/index.d.ts +141 -14
- package/dist/index.js +3 -3
- package/dist/msw.cjs +85 -7
- package/dist/msw.d.cts +43 -12
- package/dist/msw.d.ts +43 -12
- package/dist/msw.js +50 -4
- package/dist/{zod-C41Rts8D.d.cts → zod-C-emh7a3.d.cts} +10 -46
- package/dist/{zod-COyz02Lh.d.ts → zod-D3Xe9bw3.d.ts} +10 -46
- package/dist/zod.cjs +31 -4
- package/dist/zod.d.cts +2 -2
- package/dist/zod.d.ts +2 -2
- package/dist/zod.js +2 -2
- package/package.json +2 -3
- package/dist/SpsItemIdResponse-0VgfCmG_.d.cts +0 -84
- package/dist/SpsItemIdResponse-0VgfCmG_.d.ts +0 -84
- package/dist/SpsItemIdResponse-s0vCXepG.d.cts +0 -74
- package/dist/SpsItemIdResponse-s0vCXepG.d.ts +0 -74
- package/dist/chunk-355LPVI6.js +0 -126
- package/dist/chunk-63KIELUR.js +0 -128
- package/dist/chunk-DK2OMRWR.js +0 -134
- package/dist/chunk-FCUIJXCD.js +0 -544
- package/dist/chunk-L4AWOEED.js +0 -4892
- package/dist/chunk-NFZI7D22.js +0 -544
- package/dist/chunk-NUUQDRHD.js +0 -4899
- package/dist/chunk-RPGGEEFE.js +0 -79
- package/dist/zod-C3fOiO-H.d.cts +0 -5900
- package/dist/zod-CJ6AFTQr.d.ts +0 -5900
- package/dist/zod-CJmsC_DX.d.cts +0 -5900
- package/dist/zod-CzPw-bfk.d.cts +0 -5900
- package/dist/zod-vDuspd-x.d.ts +0 -5900
- package/dist/zod-xWM6u1LJ.d.ts +0 -5900
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './SpsItemIdResponse-
|
|
1
|
+
import './SpsItemIdResponse-gAHfCzwP.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
declare const importSchema: z.ZodObject<{
|
|
@@ -308,13 +308,13 @@ declare const downLoadItemsParamsSchema: z.ZodObject<{
|
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
309
|
"multi-sheet": boolean;
|
|
310
310
|
ids: string[];
|
|
311
|
-
availableAttributes?: string[] | undefined;
|
|
312
311
|
orgId?: string | undefined;
|
|
312
|
+
availableAttributes?: string[] | undefined;
|
|
313
313
|
}, {
|
|
314
314
|
"multi-sheet": boolean;
|
|
315
315
|
ids: string[];
|
|
316
|
-
availableAttributes?: string[] | undefined;
|
|
317
316
|
orgId?: string | undefined;
|
|
317
|
+
availableAttributes?: string[] | undefined;
|
|
318
318
|
}>;
|
|
319
319
|
type DownLoadItemsParams = z.infer<typeof downLoadItemsParamsSchema>;
|
|
320
320
|
|
|
@@ -493,8 +493,8 @@ declare const itemCategorySchema: z.ZodObject<{
|
|
|
493
493
|
}, "strip", z.ZodTypeAny, {
|
|
494
494
|
type: "CATALOG" | "SELECTION_CODE" | "PRODUCT_CODE" | "EXPORT";
|
|
495
495
|
name: string;
|
|
496
|
-
isActive: number;
|
|
497
496
|
companyId: number;
|
|
497
|
+
isActive: number;
|
|
498
498
|
categoryid: number;
|
|
499
499
|
encodedCategoryId: string;
|
|
500
500
|
typeId: number;
|
|
@@ -506,8 +506,8 @@ declare const itemCategorySchema: z.ZodObject<{
|
|
|
506
506
|
}, {
|
|
507
507
|
type: "CATALOG" | "SELECTION_CODE" | "PRODUCT_CODE" | "EXPORT";
|
|
508
508
|
name: string;
|
|
509
|
-
isActive: number;
|
|
510
509
|
companyId: number;
|
|
510
|
+
isActive: number;
|
|
511
511
|
categoryid: number;
|
|
512
512
|
encodedCategoryId: string;
|
|
513
513
|
typeId: number;
|
|
@@ -537,8 +537,8 @@ declare const itemCategoriesSearchSchema: z.ZodObject<{
|
|
|
537
537
|
}, "strip", z.ZodTypeAny, {
|
|
538
538
|
type: "CATALOG" | "SELECTION_CODE" | "PRODUCT_CODE" | "EXPORT";
|
|
539
539
|
name: string;
|
|
540
|
-
isActive: number;
|
|
541
540
|
companyId: number;
|
|
541
|
+
isActive: number;
|
|
542
542
|
categoryid: number;
|
|
543
543
|
encodedCategoryId: string;
|
|
544
544
|
typeId: number;
|
|
@@ -550,8 +550,8 @@ declare const itemCategoriesSearchSchema: z.ZodObject<{
|
|
|
550
550
|
}, {
|
|
551
551
|
type: "CATALOG" | "SELECTION_CODE" | "PRODUCT_CODE" | "EXPORT";
|
|
552
552
|
name: string;
|
|
553
|
-
isActive: number;
|
|
554
553
|
companyId: number;
|
|
554
|
+
isActive: number;
|
|
555
555
|
categoryid: number;
|
|
556
556
|
encodedCategoryId: string;
|
|
557
557
|
typeId: number;
|
|
@@ -566,8 +566,8 @@ declare const itemCategoriesSearchSchema: z.ZodObject<{
|
|
|
566
566
|
data: {
|
|
567
567
|
type: "CATALOG" | "SELECTION_CODE" | "PRODUCT_CODE" | "EXPORT";
|
|
568
568
|
name: string;
|
|
569
|
-
isActive: number;
|
|
570
569
|
companyId: number;
|
|
570
|
+
isActive: number;
|
|
571
571
|
categoryid: number;
|
|
572
572
|
encodedCategoryId: string;
|
|
573
573
|
typeId: number;
|
|
@@ -582,8 +582,8 @@ declare const itemCategoriesSearchSchema: z.ZodObject<{
|
|
|
582
582
|
data: {
|
|
583
583
|
type: "CATALOG" | "SELECTION_CODE" | "PRODUCT_CODE" | "EXPORT";
|
|
584
584
|
name: string;
|
|
585
|
-
isActive: number;
|
|
586
585
|
companyId: number;
|
|
586
|
+
isActive: number;
|
|
587
587
|
categoryid: number;
|
|
588
588
|
encodedCategoryId: string;
|
|
589
589
|
typeId: number;
|
|
@@ -5864,40 +5864,4 @@ declare const itemErrorDetailsResultV2Schema: z.ZodObject<{
|
|
|
5864
5864
|
}>;
|
|
5865
5865
|
type ItemErrorDetailsResultV2 = z.infer<typeof itemErrorDetailsResultV2Schema>;
|
|
5866
5866
|
|
|
5867
|
-
|
|
5868
|
-
companyId: z.ZodNumber;
|
|
5869
|
-
name: z.ZodString;
|
|
5870
|
-
orgId: z.ZodString;
|
|
5871
|
-
companyType: z.ZodObject<{
|
|
5872
|
-
type: z.ZodEnum<["SUPPLIER", "RETAILER"]>;
|
|
5873
|
-
display: z.ZodEnum<["SUPPLIER", "RETAILER"]>;
|
|
5874
|
-
}, "strip", z.ZodTypeAny, {
|
|
5875
|
-
type: "SUPPLIER" | "RETAILER";
|
|
5876
|
-
display: "SUPPLIER" | "RETAILER";
|
|
5877
|
-
}, {
|
|
5878
|
-
type: "SUPPLIER" | "RETAILER";
|
|
5879
|
-
display: "SUPPLIER" | "RETAILER";
|
|
5880
|
-
}>;
|
|
5881
|
-
dc4Id: z.ZodNumber;
|
|
5882
|
-
}, "strip", z.ZodTypeAny, {
|
|
5883
|
-
name: string;
|
|
5884
|
-
orgId: string;
|
|
5885
|
-
companyId: number;
|
|
5886
|
-
companyType: {
|
|
5887
|
-
type: "SUPPLIER" | "RETAILER";
|
|
5888
|
-
display: "SUPPLIER" | "RETAILER";
|
|
5889
|
-
};
|
|
5890
|
-
dc4Id: number;
|
|
5891
|
-
}, {
|
|
5892
|
-
name: string;
|
|
5893
|
-
orgId: string;
|
|
5894
|
-
companyId: number;
|
|
5895
|
-
companyType: {
|
|
5896
|
-
type: "SUPPLIER" | "RETAILER";
|
|
5897
|
-
display: "SUPPLIER" | "RETAILER";
|
|
5898
|
-
};
|
|
5899
|
-
dc4Id: number;
|
|
5900
|
-
}>;
|
|
5901
|
-
type CompanyBriefByOrg = z.infer<typeof companyBriefByOrgSchema>;
|
|
5902
|
-
|
|
5903
|
-
export { type PackComponentDetails as $, type AttrProdType as A, type ItemHeader as B, type CompanyRelationshipUpsertBody as C, type DownLoadItemsParams as D, type Export as E, type ItemMap as F, type GenerateImportTemplateParams as G, type ItemTable as H, type Import as I, type PhaseEnum as J, type TradingPartnerStage as K, type Locale as L, type AttributeDetail as M, type CategoryEnum as N, type ComponentDetails as O, PRODUCT_CODE_DEFAULT_VALUE as P, type GroupedAttributeList as Q, type RegisteredService as R, type SpreadsheetTemplate as S, type TradingPartnerAccessByCompanyId as T, type UserAccount as U, type VendorPartnerAttGroups as V, type GroupedAttributes as W, type GroupedItem as X, type HierarchyCategory as Y, type HierarchyDetails as Z, type ItemPrice as _, type ImportsStatus as a, itemErrorDetailsResultSchema as a$, type MediaItem as a0, type Bulb as a1, type PackComponent as a2, type RepeatableGroup as a3, type PackComponentItemInfo as a4, type ItemErrorDetails as a5, type ItemErrorSummaryV2 as a6, type ItemErrorDetailsV2 as a7, type TradingPartnerStageV2 as a8, importDetailSchema as a9, categoryEnumSchema as aA, packComponentSchema as aB, itemDetailViewSchema as aC, attributeDetailSchema as aD, repeatableGroupSchema as aE, componentDetailsSchema as aF, hierarchyDetailsSchema as aG, groupedAttributesSchema as aH, hierarchyCategorySchema as aI, groupedAttributeListSchema as aJ, packComponentDetailsSchema as aK, packComponentItemInfoSchema as aL, localeSchema as aM, attrProdTypeSchema as aN, spreadsheetTemplateCompanySchema as aO, spreadsheetTemplateSchema as aP, connectionSchema as aQ, tradingPartnerAccessByCompanyIdSchema as aR, itemPartnerSchema as aS, companyRelationshipUpsertBodySchema as aT, identityServiceDatetimePreferencesSchema as aU, identityServiceOrganizationMetadataSchema as aV, identityServiceOrganizationSchema as aW, identityServicePreferencesSchema as aX, identityServiceUserSchema as aY, registeredServiceSchema as aZ, userAccountSchema as a_, importErrorSchema as aa, importErrorsSchema as ab, importSchema as ac, importsStatusSchema as ad, importStatusEnumSchema as ae, generateImportTemplateParamsSchema as af, vendorPartnerAttGroupsSchema as ag, exportDayOfWeekEnum as ah, exportFrequencyEnum as ai, exportTypeEnum as aj, exportSchema as ak, downLoadItemsParamsSchema as al, itemCategoriesSearchSchema as am, itemCategorySchema as an, categoryTypeSchema as ao, itemHeaderSchema as ap, itemMapSchema as aq, itemSearchViewSchema as ar, itemTableSchema as as, phaseEnumSchema as at, tradingPartnerStageSchema as au, bulbSchema as av, itemPriceSchema as aw, mediaItemSchema as ax, itemDetailSchema as ay, groupedItemSchema as az, type ItemPartner as b, itemErrorDetailsSchema as b0, itemErrorDetailsResultV2Schema as b1, itemErrorSummaryV2Schema as b2, itemErrorDetailsV2Schema as b3, tradingPartnerStageV2Schema as b4, itemErrorSummaryResultV2Schema as b5, companyBriefByOrgSchema as b6, type ItemCategoriesSearch as c, type ItemSearchView as d, type ItemDetailView as e, type ItemDetail as f, type ItemErrorDetailsResult as g, type ItemErrorSummaryResultV2 as h, type ItemErrorDetailsResultV2 as i, type CompanyBriefByOrg as j, type ImportDetails as k, type ImportError as l, type ImportErrors as m, type ImportStatusEnum as n, type ExportDayOfWeek as o, type ExportFrequency as p, type ExportType as q, type Connection as r, SELECTION_CODE_DEFAULT_VALUE as s, type ItemCategory as t, type SpreadsheetTemplateCompany as u, type IdentityServiceOrganizationMetadata as v, type IdentityServiceDatetimePreferences as w, type IdentityServiceOrganization as x, type IdentityServicePreferences as y, type IdentityServiceUser as z };
|
|
5867
|
+
export { type MediaItem as $, type AttrProdType as A, type ItemMap as B, type CompanyRelationshipUpsertBody as C, type DownLoadItemsParams as D, type Export as E, type ItemTable as F, type GenerateImportTemplateParams as G, type PhaseEnum as H, type Import as I, type TradingPartnerStage as J, type AttributeDetail as K, type Locale as L, type CategoryEnum as M, type ComponentDetails as N, type GroupedAttributeList as O, PRODUCT_CODE_DEFAULT_VALUE as P, type GroupedAttributes as Q, type RegisteredService as R, type SpreadsheetTemplate as S, type TradingPartnerAccessByCompanyId as T, type UserAccount as U, type VendorPartnerAttGroups as V, type GroupedItem as W, type HierarchyCategory as X, type HierarchyDetails as Y, type ItemPrice as Z, type PackComponentDetails as _, type ImportsStatus as a, itemErrorDetailsSchema as a$, type Bulb as a0, type PackComponent as a1, type RepeatableGroup as a2, type PackComponentItemInfo as a3, type ItemErrorDetails as a4, type ItemErrorSummaryV2 as a5, type ItemErrorDetailsV2 as a6, type TradingPartnerStageV2 as a7, importDetailSchema as a8, importErrorSchema as a9, packComponentSchema as aA, itemDetailViewSchema as aB, attributeDetailSchema as aC, repeatableGroupSchema as aD, componentDetailsSchema as aE, hierarchyDetailsSchema as aF, groupedAttributesSchema as aG, hierarchyCategorySchema as aH, groupedAttributeListSchema as aI, packComponentDetailsSchema as aJ, packComponentItemInfoSchema as aK, localeSchema as aL, attrProdTypeSchema as aM, spreadsheetTemplateCompanySchema as aN, spreadsheetTemplateSchema as aO, connectionSchema as aP, tradingPartnerAccessByCompanyIdSchema as aQ, itemPartnerSchema as aR, companyRelationshipUpsertBodySchema as aS, identityServiceDatetimePreferencesSchema as aT, identityServiceOrganizationMetadataSchema as aU, identityServiceOrganizationSchema as aV, identityServicePreferencesSchema as aW, identityServiceUserSchema as aX, registeredServiceSchema as aY, userAccountSchema as aZ, itemErrorDetailsResultSchema as a_, importErrorsSchema as aa, importSchema as ab, importsStatusSchema as ac, importStatusEnumSchema as ad, generateImportTemplateParamsSchema as ae, vendorPartnerAttGroupsSchema as af, exportDayOfWeekEnum as ag, exportFrequencyEnum as ah, exportTypeEnum as ai, exportSchema as aj, downLoadItemsParamsSchema as ak, itemCategoriesSearchSchema as al, itemCategorySchema as am, categoryTypeSchema as an, itemHeaderSchema as ao, itemMapSchema as ap, itemSearchViewSchema as aq, itemTableSchema as ar, phaseEnumSchema as as, tradingPartnerStageSchema as at, bulbSchema as au, itemPriceSchema as av, mediaItemSchema as aw, itemDetailSchema as ax, groupedItemSchema as ay, categoryEnumSchema as az, type ItemPartner as b, itemErrorDetailsResultV2Schema as b0, itemErrorSummaryV2Schema as b1, itemErrorDetailsV2Schema as b2, tradingPartnerStageV2Schema as b3, itemErrorSummaryResultV2Schema as b4, type ItemCategoriesSearch as c, type ItemSearchView as d, type ItemDetailView as e, type ItemDetail as f, type ItemErrorDetailsResult as g, type ItemErrorSummaryResultV2 as h, type ItemErrorDetailsResultV2 as i, type ImportDetails as j, type ImportError as k, type ImportErrors as l, type ImportStatusEnum as m, type ExportDayOfWeek as n, type ExportFrequency as o, type ExportType as p, type Connection as q, SELECTION_CODE_DEFAULT_VALUE as r, type ItemCategory as s, type SpreadsheetTemplateCompany as t, type IdentityServiceOrganizationMetadata as u, type IdentityServiceDatetimePreferences as v, type IdentityServiceOrganization as w, type IdentityServicePreferences as x, type IdentityServiceUser as y, type ItemHeader as z };
|
package/dist/zod.cjs
CHANGED
|
@@ -4336,6 +4336,33 @@ var itemHierarchyResponseSchema = external_exports.object({
|
|
|
4336
4336
|
)
|
|
4337
4337
|
});
|
|
4338
4338
|
|
|
4339
|
+
// lib/categories/models/CatalogManagement.ts
|
|
4340
|
+
var catalogCreateRequestSchema = external_exports.object({
|
|
4341
|
+
type: external_exports.string(),
|
|
4342
|
+
name: external_exports.string(),
|
|
4343
|
+
companyId: external_exports.number()
|
|
4344
|
+
});
|
|
4345
|
+
var catalogCreateResponseSchema = external_exports.object({
|
|
4346
|
+
categoryid: external_exports.number()
|
|
4347
|
+
});
|
|
4348
|
+
var catalogSearchParamsSchema = external_exports.object({
|
|
4349
|
+
ownerCompanyIds: external_exports.array(external_exports.number()).optional(),
|
|
4350
|
+
searchTerms: external_exports.string().optional(),
|
|
4351
|
+
categoryType: external_exports.literal("CATALOG")
|
|
4352
|
+
});
|
|
4353
|
+
var catalogBriefResponseSchema = external_exports.object({
|
|
4354
|
+
categoryId: external_exports.number(),
|
|
4355
|
+
categoryName: external_exports.string(),
|
|
4356
|
+
categoryDescription: external_exports.string(),
|
|
4357
|
+
categoryDescriptionExt: external_exports.string(),
|
|
4358
|
+
ownerCompanyId: external_exports.string(),
|
|
4359
|
+
categoryTypeId: external_exports.number(),
|
|
4360
|
+
createdAt: external_exports.string(),
|
|
4361
|
+
modifiedAt: external_exports.string(),
|
|
4362
|
+
createdBy: external_exports.string(),
|
|
4363
|
+
modifiedBy: external_exports.string()
|
|
4364
|
+
});
|
|
4365
|
+
|
|
4339
4366
|
// lib/items/v1/models/ItemHeader.ts
|
|
4340
4367
|
var itemHeaderSchema = external_exports.object({
|
|
4341
4368
|
status: external_exports.string().optional(),
|
|
@@ -4976,15 +5003,15 @@ var itemErrorDetailsResultV2Schema = external_exports.object({
|
|
|
4976
5003
|
itemErrorDetails: external_exports.array(itemErrorDetailsV2Schema)
|
|
4977
5004
|
});
|
|
4978
5005
|
|
|
5006
|
+
// lib/companies/models/CompanyType.ts
|
|
5007
|
+
var companyTypeSchema = external_exports.enum(["SUPPLIER", "RETAILER"]);
|
|
5008
|
+
|
|
4979
5009
|
// lib/companies/models/CompanyBriefByOrg.ts
|
|
4980
5010
|
var companyBriefByOrgSchema = external_exports.object({
|
|
4981
5011
|
companyId: external_exports.number(),
|
|
4982
5012
|
name: external_exports.string(),
|
|
4983
5013
|
orgId: external_exports.string(),
|
|
4984
|
-
|
|
4985
|
-
type: external_exports.enum(["SUPPLIER", "RETAILER"]),
|
|
4986
|
-
display: external_exports.enum(["SUPPLIER", "RETAILER"])
|
|
4987
|
-
}),
|
|
5014
|
+
companyTypes: external_exports.array(companyTypeSchema),
|
|
4988
5015
|
dc4Id: external_exports.number()
|
|
4989
5016
|
});
|
|
4990
5017
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/zod.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { e as envSchema, i as itemHierarchyResponseSchema, s as spsItemIdResponseSchema } from './SpsItemIdResponse-
|
|
2
|
-
export {
|
|
1
|
+
export { c as companyBriefByOrgSchema, e as envSchema, i as itemHierarchyResponseSchema, s as spsItemIdResponseSchema } from './SpsItemIdResponse-gAHfCzwP.cjs';
|
|
2
|
+
export { aM as attrProdTypeSchema, aC as attributeDetailSchema, au as bulbSchema, az as categoryEnumSchema, an as categoryTypeSchema, aS as companyRelationshipUpsertBodySchema, aE as componentDetailsSchema, aP as connectionSchema, ak as downLoadItemsParamsSchema, ag as exportDayOfWeekEnum, ah as exportFrequencyEnum, aj as exportSchema, ai as exportTypeEnum, ae as generateImportTemplateParamsSchema, aI as groupedAttributeListSchema, aG as groupedAttributesSchema, ay as groupedItemSchema, aH as hierarchyCategorySchema, aF as hierarchyDetailsSchema, aT as identityServiceDatetimePreferencesSchema, aU as identityServiceOrganizationMetadataSchema, aV as identityServiceOrganizationSchema, aW as identityServicePreferencesSchema, aX as identityServiceUserSchema, a8 as importDetailSchema, a9 as importErrorSchema, aa as importErrorsSchema, ab as importSchema, ad as importStatusEnumSchema, ac as importsStatusSchema, al as itemCategoriesSearchSchema, am as itemCategorySchema, ax as itemDetailSchema, aB as itemDetailViewSchema, a_ as itemErrorDetailsResultSchema, b0 as itemErrorDetailsResultV2Schema, a$ as itemErrorDetailsSchema, b2 as itemErrorDetailsV2Schema, b4 as itemErrorSummaryResultV2Schema, b1 as itemErrorSummaryV2Schema, ao as itemHeaderSchema, ap as itemMapSchema, aR as itemPartnerSchema, av as itemPriceSchema, aq as itemSearchViewSchema, ar as itemTableSchema, aL as localeSchema, aw as mediaItemSchema, aJ as packComponentDetailsSchema, aK as packComponentItemInfoSchema, aA as packComponentSchema, as as phaseEnumSchema, aY as registeredServiceSchema, aD as repeatableGroupSchema, aN as spreadsheetTemplateCompanySchema, aO as spreadsheetTemplateSchema, aQ as tradingPartnerAccessByCompanyIdSchema, at as tradingPartnerStageSchema, b3 as tradingPartnerStageV2Schema, aZ as userAccountSchema, af as vendorPartnerAttGroupsSchema } from './zod-C-emh7a3.cjs';
|
|
3
3
|
import 'ky';
|
|
4
4
|
import 'zod';
|
package/dist/zod.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { e as envSchema, i as itemHierarchyResponseSchema, s as spsItemIdResponseSchema } from './SpsItemIdResponse-
|
|
2
|
-
export {
|
|
1
|
+
export { c as companyBriefByOrgSchema, e as envSchema, i as itemHierarchyResponseSchema, s as spsItemIdResponseSchema } from './SpsItemIdResponse-gAHfCzwP.js';
|
|
2
|
+
export { aM as attrProdTypeSchema, aC as attributeDetailSchema, au as bulbSchema, az as categoryEnumSchema, an as categoryTypeSchema, aS as companyRelationshipUpsertBodySchema, aE as componentDetailsSchema, aP as connectionSchema, ak as downLoadItemsParamsSchema, ag as exportDayOfWeekEnum, ah as exportFrequencyEnum, aj as exportSchema, ai as exportTypeEnum, ae as generateImportTemplateParamsSchema, aI as groupedAttributeListSchema, aG as groupedAttributesSchema, ay as groupedItemSchema, aH as hierarchyCategorySchema, aF as hierarchyDetailsSchema, aT as identityServiceDatetimePreferencesSchema, aU as identityServiceOrganizationMetadataSchema, aV as identityServiceOrganizationSchema, aW as identityServicePreferencesSchema, aX as identityServiceUserSchema, a8 as importDetailSchema, a9 as importErrorSchema, aa as importErrorsSchema, ab as importSchema, ad as importStatusEnumSchema, ac as importsStatusSchema, al as itemCategoriesSearchSchema, am as itemCategorySchema, ax as itemDetailSchema, aB as itemDetailViewSchema, a_ as itemErrorDetailsResultSchema, b0 as itemErrorDetailsResultV2Schema, a$ as itemErrorDetailsSchema, b2 as itemErrorDetailsV2Schema, b4 as itemErrorSummaryResultV2Schema, b1 as itemErrorSummaryV2Schema, ao as itemHeaderSchema, ap as itemMapSchema, aR as itemPartnerSchema, av as itemPriceSchema, aq as itemSearchViewSchema, ar as itemTableSchema, aL as localeSchema, aw as mediaItemSchema, aJ as packComponentDetailsSchema, aK as packComponentItemInfoSchema, aA as packComponentSchema, as as phaseEnumSchema, aY as registeredServiceSchema, aD as repeatableGroupSchema, aN as spreadsheetTemplateCompanySchema, aO as spreadsheetTemplateSchema, aQ as tradingPartnerAccessByCompanyIdSchema, at as tradingPartnerStageSchema, b3 as tradingPartnerStageV2Schema, aZ as userAccountSchema, af as vendorPartnerAttGroupsSchema } from './zod-D3Xe9bw3.js';
|
|
3
3
|
import 'ky';
|
|
4
4
|
import 'zod';
|
package/dist/zod.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
envSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WX4LGXJV.js";
|
|
4
4
|
import {
|
|
5
5
|
attrProdTypeSchema,
|
|
6
6
|
attributeDetailSchema,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
tradingPartnerStageV2Schema,
|
|
63
63
|
userAccountSchema,
|
|
64
64
|
vendorPartnerAttGroupsSchema
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-BMTYM2N6.js";
|
|
66
66
|
|
|
67
67
|
// lib/exports/models/ExportType.ts
|
|
68
68
|
var exportTypeEnum = external_exports.enum(["ALL", "UPDATES", "DELTAS_UPDATE", "NO_BUYER_PART_NUMBER"]);
|
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.
|
|
6
|
+
"version": "4.5.0",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@anatine/zod-mock": "^3.13.4",
|
|
37
37
|
"@faker-js/faker": "^8.4.1",
|
|
38
|
-
"msw": "^2
|
|
38
|
+
"msw": "^2"
|
|
39
39
|
},
|
|
40
40
|
"peerDependenciesMeta": {
|
|
41
41
|
"@anatine/zod-mock": {
|
|
@@ -52,7 +52,6 @@
|
|
|
52
52
|
"@anatine/zod-mock": "^3.13.4",
|
|
53
53
|
"@faker-js/faker": "^8.4.1",
|
|
54
54
|
"@microsoft/api-extractor": "^7.47.9",
|
|
55
|
-
"msw": "^2.10.5",
|
|
56
55
|
"tsup": "^8.3.0",
|
|
57
56
|
"vite": "^6.2.6"
|
|
58
57
|
},
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import * as ky from 'ky';
|
|
2
|
-
import { Options } from 'ky';
|
|
3
|
-
import { z } from 'zod';
|
|
4
|
-
|
|
5
|
-
declare const baseUrlsSchema: z.ZodObject<{
|
|
6
|
-
local: z.ZodLiteral<"https://localhost:8443/">;
|
|
7
|
-
test: z.ZodLiteral<"https://integration.api.spscommerce.com/assortment/gateway/">;
|
|
8
|
-
prod: z.ZodLiteral<"https://api.spscommerce.com/assortment/gateway/">;
|
|
9
|
-
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
local: "https://localhost:8443/";
|
|
11
|
-
test: "https://integration.api.spscommerce.com/assortment/gateway/";
|
|
12
|
-
prod: "https://api.spscommerce.com/assortment/gateway/";
|
|
13
|
-
}, {
|
|
14
|
-
local: "https://localhost:8443/";
|
|
15
|
-
test: "https://integration.api.spscommerce.com/assortment/gateway/";
|
|
16
|
-
prod: "https://api.spscommerce.com/assortment/gateway/";
|
|
17
|
-
}>;
|
|
18
|
-
type BaseUrls = z.infer<typeof baseUrlsSchema>;
|
|
19
|
-
declare const BASE_URLS: BaseUrls;
|
|
20
|
-
declare const envSchema: z.ZodEnum<["local", "test", "prod"]>;
|
|
21
|
-
type Env = z.infer<typeof envSchema>;
|
|
22
|
-
type AsstUrl = BaseUrls[Env];
|
|
23
|
-
interface AsstClientOptions extends Options {
|
|
24
|
-
prefixUrl?: AsstUrl;
|
|
25
|
-
}
|
|
26
|
-
type Input = string | URL | Request;
|
|
27
|
-
type Listener = (config: AsstClientOptions) => void;
|
|
28
|
-
declare class AsstClient {
|
|
29
|
-
#private;
|
|
30
|
-
constructor(options?: AsstClientOptions);
|
|
31
|
-
/**
|
|
32
|
-
* Set company type that will be automatically added to all requests
|
|
33
|
-
* @param companyType Company type to add to all requests (e.g., 'RETAILER', 'SUPPLIER')
|
|
34
|
-
*/
|
|
35
|
-
setCompanyType(companyType: string | undefined): this;
|
|
36
|
-
/**
|
|
37
|
-
* Get the current company type
|
|
38
|
-
* @returns Current company type or undefined if not set
|
|
39
|
-
*/
|
|
40
|
-
getCompanyType(): string | undefined;
|
|
41
|
-
updateConfig(options: AsstClientOptions): void;
|
|
42
|
-
getBaseUrl(): AsstUrl;
|
|
43
|
-
/**
|
|
44
|
-
* Subscribe to config changes. The callback will be immediately invoked with the current config.
|
|
45
|
-
* @param subscriptionCallback Function that will be called with the new config every time it is changed
|
|
46
|
-
* @returns Function to unsubscribe to config changes
|
|
47
|
-
*/
|
|
48
|
-
subscribeToConfigChange(listener: Listener): () => boolean;
|
|
49
|
-
get(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
50
|
-
post(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
51
|
-
put(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
52
|
-
patch(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
53
|
-
head(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
54
|
-
delete(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
type Hierarchy = {
|
|
58
|
-
id: string;
|
|
59
|
-
name?: string | null;
|
|
60
|
-
description?: string | null;
|
|
61
|
-
type?: string | null;
|
|
62
|
-
child?: Hierarchy | null;
|
|
63
|
-
};
|
|
64
|
-
type ItemHierarchyResponse = {
|
|
65
|
-
itemHierarchies: Array<{
|
|
66
|
-
itemId: string;
|
|
67
|
-
hierarchies: Array<Hierarchy>;
|
|
68
|
-
}>;
|
|
69
|
-
};
|
|
70
|
-
declare const itemHierarchyResponseSchema: z.ZodType<ItemHierarchyResponse>;
|
|
71
|
-
|
|
72
|
-
declare const spsItemIdResponseSchema: z.ZodObject<{
|
|
73
|
-
id: z.ZodString;
|
|
74
|
-
ref: z.ZodString;
|
|
75
|
-
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
id: string;
|
|
77
|
-
ref: string;
|
|
78
|
-
}, {
|
|
79
|
-
id: string;
|
|
80
|
-
ref: string;
|
|
81
|
-
}>;
|
|
82
|
-
type SpsItemIdResponse = z.infer<typeof spsItemIdResponseSchema>;
|
|
83
|
-
|
|
84
|
-
export { AsstClient as A, BASE_URLS as B, type Env as E, type ItemHierarchyResponse as I, type SpsItemIdResponse as S, type AsstClientOptions as a, type AsstUrl as b, envSchema as e, itemHierarchyResponseSchema as i, spsItemIdResponseSchema as s };
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import * as ky from 'ky';
|
|
2
|
-
import { Options } from 'ky';
|
|
3
|
-
import { z } from 'zod';
|
|
4
|
-
|
|
5
|
-
declare const baseUrlsSchema: z.ZodObject<{
|
|
6
|
-
local: z.ZodLiteral<"https://localhost:8443/">;
|
|
7
|
-
test: z.ZodLiteral<"https://integration.api.spscommerce.com/assortment/gateway/">;
|
|
8
|
-
prod: z.ZodLiteral<"https://api.spscommerce.com/assortment/gateway/">;
|
|
9
|
-
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
local: "https://localhost:8443/";
|
|
11
|
-
test: "https://integration.api.spscommerce.com/assortment/gateway/";
|
|
12
|
-
prod: "https://api.spscommerce.com/assortment/gateway/";
|
|
13
|
-
}, {
|
|
14
|
-
local: "https://localhost:8443/";
|
|
15
|
-
test: "https://integration.api.spscommerce.com/assortment/gateway/";
|
|
16
|
-
prod: "https://api.spscommerce.com/assortment/gateway/";
|
|
17
|
-
}>;
|
|
18
|
-
type BaseUrls = z.infer<typeof baseUrlsSchema>;
|
|
19
|
-
declare const BASE_URLS: BaseUrls;
|
|
20
|
-
declare const envSchema: z.ZodEnum<["local", "test", "prod"]>;
|
|
21
|
-
type Env = z.infer<typeof envSchema>;
|
|
22
|
-
type AsstUrl = BaseUrls[Env];
|
|
23
|
-
interface AsstClientOptions extends Options {
|
|
24
|
-
prefixUrl?: AsstUrl;
|
|
25
|
-
}
|
|
26
|
-
type Input = string | URL | Request;
|
|
27
|
-
type Listener = (config: AsstClientOptions) => void;
|
|
28
|
-
declare class AsstClient {
|
|
29
|
-
#private;
|
|
30
|
-
constructor(options?: AsstClientOptions);
|
|
31
|
-
/**
|
|
32
|
-
* Set company type that will be automatically added to all requests
|
|
33
|
-
* @param companyType Company type to add to all requests (e.g., 'RETAILER', 'SUPPLIER')
|
|
34
|
-
*/
|
|
35
|
-
setCompanyType(companyType: string | undefined): this;
|
|
36
|
-
/**
|
|
37
|
-
* Get the current company type
|
|
38
|
-
* @returns Current company type or undefined if not set
|
|
39
|
-
*/
|
|
40
|
-
getCompanyType(): string | undefined;
|
|
41
|
-
updateConfig(options: AsstClientOptions): void;
|
|
42
|
-
getBaseUrl(): AsstUrl;
|
|
43
|
-
/**
|
|
44
|
-
* Subscribe to config changes. The callback will be immediately invoked with the current config.
|
|
45
|
-
* @param subscriptionCallback Function that will be called with the new config every time it is changed
|
|
46
|
-
* @returns Function to unsubscribe to config changes
|
|
47
|
-
*/
|
|
48
|
-
subscribeToConfigChange(listener: Listener): () => boolean;
|
|
49
|
-
get(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
50
|
-
post(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
51
|
-
put(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
52
|
-
patch(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
53
|
-
head(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
54
|
-
delete(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
type Hierarchy = {
|
|
58
|
-
id: string;
|
|
59
|
-
name?: string | null;
|
|
60
|
-
description?: string | null;
|
|
61
|
-
type?: string | null;
|
|
62
|
-
child?: Hierarchy | null;
|
|
63
|
-
};
|
|
64
|
-
type ItemHierarchyResponse = {
|
|
65
|
-
itemHierarchies: Array<{
|
|
66
|
-
itemId: string;
|
|
67
|
-
hierarchies: Array<Hierarchy>;
|
|
68
|
-
}>;
|
|
69
|
-
};
|
|
70
|
-
declare const itemHierarchyResponseSchema: z.ZodType<ItemHierarchyResponse>;
|
|
71
|
-
|
|
72
|
-
declare const spsItemIdResponseSchema: z.ZodObject<{
|
|
73
|
-
id: z.ZodString;
|
|
74
|
-
ref: z.ZodString;
|
|
75
|
-
}, "strip", z.ZodTypeAny, {
|
|
76
|
-
id: string;
|
|
77
|
-
ref: string;
|
|
78
|
-
}, {
|
|
79
|
-
id: string;
|
|
80
|
-
ref: string;
|
|
81
|
-
}>;
|
|
82
|
-
type SpsItemIdResponse = z.infer<typeof spsItemIdResponseSchema>;
|
|
83
|
-
|
|
84
|
-
export { AsstClient as A, BASE_URLS as B, type Env as E, type ItemHierarchyResponse as I, type SpsItemIdResponse as S, type AsstClientOptions as a, type AsstUrl as b, envSchema as e, itemHierarchyResponseSchema as i, spsItemIdResponseSchema as s };
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as ky from 'ky';
|
|
2
|
-
import { Options } from 'ky';
|
|
3
|
-
import { z } from 'zod';
|
|
4
|
-
|
|
5
|
-
declare const baseUrlsSchema: z.ZodObject<{
|
|
6
|
-
local: z.ZodLiteral<"https://localhost:8443/">;
|
|
7
|
-
test: z.ZodLiteral<"https://integration.api.spscommerce.com/assortment/gateway/">;
|
|
8
|
-
prod: z.ZodLiteral<"https://api.spscommerce.com/assortment/gateway/">;
|
|
9
|
-
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
local: "https://localhost:8443/";
|
|
11
|
-
test: "https://integration.api.spscommerce.com/assortment/gateway/";
|
|
12
|
-
prod: "https://api.spscommerce.com/assortment/gateway/";
|
|
13
|
-
}, {
|
|
14
|
-
local: "https://localhost:8443/";
|
|
15
|
-
test: "https://integration.api.spscommerce.com/assortment/gateway/";
|
|
16
|
-
prod: "https://api.spscommerce.com/assortment/gateway/";
|
|
17
|
-
}>;
|
|
18
|
-
type BaseUrls = z.infer<typeof baseUrlsSchema>;
|
|
19
|
-
declare const BASE_URLS: BaseUrls;
|
|
20
|
-
declare const envSchema: z.ZodEnum<["local", "test", "prod"]>;
|
|
21
|
-
type Env = z.infer<typeof envSchema>;
|
|
22
|
-
type AsstUrl = BaseUrls[Env];
|
|
23
|
-
interface AsstClientOptions extends Options {
|
|
24
|
-
prefixUrl?: AsstUrl;
|
|
25
|
-
}
|
|
26
|
-
type Input = string | URL | Request;
|
|
27
|
-
type Listener = (config: AsstClientOptions) => void;
|
|
28
|
-
declare class AsstClient {
|
|
29
|
-
#private;
|
|
30
|
-
constructor(options?: AsstClientOptions);
|
|
31
|
-
updateConfig(options: AsstClientOptions): void;
|
|
32
|
-
getBaseUrl(): AsstUrl;
|
|
33
|
-
/**
|
|
34
|
-
* Subscribe to config changes. The callback will be immediately invoked with the current config.
|
|
35
|
-
* @param subscriptionCallback Function that will be called with the new config every time it is changed
|
|
36
|
-
* @returns Function to unsubscribe to config changes
|
|
37
|
-
*/
|
|
38
|
-
subscribeToConfigChange(listener: Listener): () => boolean;
|
|
39
|
-
get(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
40
|
-
post(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
41
|
-
put(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
42
|
-
patch(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
43
|
-
head(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
44
|
-
delete(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
type Hierarchy = {
|
|
48
|
-
id: string;
|
|
49
|
-
name?: string | null;
|
|
50
|
-
description?: string | null;
|
|
51
|
-
type?: string | null;
|
|
52
|
-
child?: Hierarchy | null;
|
|
53
|
-
};
|
|
54
|
-
type ItemHierarchyResponse = {
|
|
55
|
-
itemHierarchies: Array<{
|
|
56
|
-
itemId: string;
|
|
57
|
-
hierarchies: Array<Hierarchy>;
|
|
58
|
-
}>;
|
|
59
|
-
};
|
|
60
|
-
declare const itemHierarchyResponseSchema: z.ZodType<ItemHierarchyResponse>;
|
|
61
|
-
|
|
62
|
-
declare const spsItemIdResponseSchema: z.ZodObject<{
|
|
63
|
-
id: z.ZodString;
|
|
64
|
-
ref: z.ZodString;
|
|
65
|
-
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
id: string;
|
|
67
|
-
ref: string;
|
|
68
|
-
}, {
|
|
69
|
-
id: string;
|
|
70
|
-
ref: string;
|
|
71
|
-
}>;
|
|
72
|
-
type SpsItemIdResponse = z.infer<typeof spsItemIdResponseSchema>;
|
|
73
|
-
|
|
74
|
-
export { AsstClient as A, BASE_URLS as B, type Env as E, type ItemHierarchyResponse as I, type SpsItemIdResponse as S, type AsstClientOptions as a, type AsstUrl as b, envSchema as e, itemHierarchyResponseSchema as i, spsItemIdResponseSchema as s };
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import * as ky from 'ky';
|
|
2
|
-
import { Options } from 'ky';
|
|
3
|
-
import { z } from 'zod';
|
|
4
|
-
|
|
5
|
-
declare const baseUrlsSchema: z.ZodObject<{
|
|
6
|
-
local: z.ZodLiteral<"https://localhost:8443/">;
|
|
7
|
-
test: z.ZodLiteral<"https://integration.api.spscommerce.com/assortment/gateway/">;
|
|
8
|
-
prod: z.ZodLiteral<"https://api.spscommerce.com/assortment/gateway/">;
|
|
9
|
-
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
local: "https://localhost:8443/";
|
|
11
|
-
test: "https://integration.api.spscommerce.com/assortment/gateway/";
|
|
12
|
-
prod: "https://api.spscommerce.com/assortment/gateway/";
|
|
13
|
-
}, {
|
|
14
|
-
local: "https://localhost:8443/";
|
|
15
|
-
test: "https://integration.api.spscommerce.com/assortment/gateway/";
|
|
16
|
-
prod: "https://api.spscommerce.com/assortment/gateway/";
|
|
17
|
-
}>;
|
|
18
|
-
type BaseUrls = z.infer<typeof baseUrlsSchema>;
|
|
19
|
-
declare const BASE_URLS: BaseUrls;
|
|
20
|
-
declare const envSchema: z.ZodEnum<["local", "test", "prod"]>;
|
|
21
|
-
type Env = z.infer<typeof envSchema>;
|
|
22
|
-
type AsstUrl = BaseUrls[Env];
|
|
23
|
-
interface AsstClientOptions extends Options {
|
|
24
|
-
prefixUrl?: AsstUrl;
|
|
25
|
-
}
|
|
26
|
-
type Input = string | URL | Request;
|
|
27
|
-
type Listener = (config: AsstClientOptions) => void;
|
|
28
|
-
declare class AsstClient {
|
|
29
|
-
#private;
|
|
30
|
-
constructor(options?: AsstClientOptions);
|
|
31
|
-
updateConfig(options: AsstClientOptions): void;
|
|
32
|
-
getBaseUrl(): AsstUrl;
|
|
33
|
-
/**
|
|
34
|
-
* Subscribe to config changes. The callback will be immediately invoked with the current config.
|
|
35
|
-
* @param subscriptionCallback Function that will be called with the new config every time it is changed
|
|
36
|
-
* @returns Function to unsubscribe to config changes
|
|
37
|
-
*/
|
|
38
|
-
subscribeToConfigChange(listener: Listener): () => boolean;
|
|
39
|
-
get(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
40
|
-
post(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
41
|
-
put(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
42
|
-
patch(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
43
|
-
head(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
44
|
-
delete(url: Input, options?: AsstClientOptions): ky.ResponsePromise;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
type Hierarchy = {
|
|
48
|
-
id: string;
|
|
49
|
-
name?: string | null;
|
|
50
|
-
description?: string | null;
|
|
51
|
-
type?: string | null;
|
|
52
|
-
child?: Hierarchy | null;
|
|
53
|
-
};
|
|
54
|
-
type ItemHierarchyResponse = {
|
|
55
|
-
itemHierarchies: Array<{
|
|
56
|
-
itemId: string;
|
|
57
|
-
hierarchies: Array<Hierarchy>;
|
|
58
|
-
}>;
|
|
59
|
-
};
|
|
60
|
-
declare const itemHierarchyResponseSchema: z.ZodType<ItemHierarchyResponse>;
|
|
61
|
-
|
|
62
|
-
declare const spsItemIdResponseSchema: z.ZodObject<{
|
|
63
|
-
id: z.ZodString;
|
|
64
|
-
ref: z.ZodString;
|
|
65
|
-
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
id: string;
|
|
67
|
-
ref: string;
|
|
68
|
-
}, {
|
|
69
|
-
id: string;
|
|
70
|
-
ref: string;
|
|
71
|
-
}>;
|
|
72
|
-
type SpsItemIdResponse = z.infer<typeof spsItemIdResponseSchema>;
|
|
73
|
-
|
|
74
|
-
export { AsstClient as A, BASE_URLS as B, type Env as E, type ItemHierarchyResponse as I, type SpsItemIdResponse as S, type AsstClientOptions as a, type AsstUrl as b, envSchema as e, itemHierarchyResponseSchema as i, spsItemIdResponseSchema as s };
|