@spscommerce/asst-api 5.3.2 → 5.3.4
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/{CompanySearch-7_L0_02Y.d.ts → CompanySearch-BbVFcsAx.d.ts} +1 -1
- package/dist/{SpsItemIdResponse-Duo9fy_R.d.ts → SpsItemIdResponse-CorAaMf-.d.ts} +1 -1
- package/dist/{chunk-35CHQUKC.js → chunk-42U2ERT7.js} +102 -43
- package/dist/chunk-ATHXI7QZ.js +1049 -0
- package/dist/{chunk-XSWAONLH.js → chunk-JOTJ2YCI.js} +5 -8
- package/dist/index.cjs +794 -4647
- package/dist/index.d.ts +8 -7
- package/dist/index.js +3 -3
- package/dist/msw.cjs +765 -4642
- package/dist/msw.d.ts +3 -2
- package/dist/msw.js +41 -25
- package/dist/{zod-f4vmP6zY.d.ts → zod-BTAcqNX0.d.ts} +21 -4
- package/dist/zod.cjs +736 -4641
- package/dist/zod.d.ts +2 -2
- package/dist/zod.js +49 -36
- package/package.json +10 -3
- package/dist/chunk-3H53DOKQ.js +0 -5009
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as AsstClient, I as ItemHierarchyResponse,
|
|
2
|
-
export {
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
1
|
+
import { A as AsstClient, I as ItemHierarchyResponse, c as CompanyType, S as SpsItemIdResponse, C as CompanyBriefByOrg } from './SpsItemIdResponse-CorAaMf-.js';
|
|
2
|
+
export { a as AsstClientOptions, b as AsstUrl, B as BASE_URLS, E as Env, e as envSchema } from './SpsItemIdResponse-CorAaMf-.js';
|
|
3
|
+
import { q as Import, v as ImportsStatus, a8 as VendorPartnerAttGroups, G as GenerateImportTemplateParams, E as Export, e as DownloadItemsParams, D as DownloadCatalogedItemsParams, A as AttrProdType, a4 as TradingPartnerAccessByCompanyId, b as CompanyRelationshipUpsertBody, Q as ItemPartner, w as ItemCategoriesSearch, U as Locale, a2 as SpreadsheetTemplate, a7 as UserAccount, S as ItemSearchView, z as ItemDetailView, y as ItemDetail, J as ItemErrorDetailsResult, M as ItemErrorSummaryResultV2, K as ItemErrorDetailsResultV2 } from './zod-BTAcqNX0.js';
|
|
4
|
+
export { a as AttributeDetail, B as Bulb, C as CategoryEnum, c as ComponentDetails, d as Connection, f as ExportDayOfWeek, g as ExportFrequency, h as ExportType, i as GroupedAttributeList, j as GroupedAttributes, k as GroupedItem, H as HierarchyCategory, l as HierarchyDetails, I as IdentityServiceDatetimePreferences, m as IdentityServiceOrganization, n as IdentityServiceOrganizationMetadata, o as IdentityServicePreferences, p as IdentityServiceUser, r as ImportDetails, s as ImportError, t as ImportErrors, u as ImportStatusEnum, x as ItemCategory, F as ItemErrorDetails, L as ItemErrorDetailsV2, N as ItemErrorSummaryV2, O as ItemHeader, P as ItemMap, R as ItemPrice, T as ItemTable, V as MediaItem, W as PRODUCT_CODE_DEFAULT_VALUE, X as PackComponent, Y as PackComponentDetails, Z as PackComponentItemInfo, _ as PhaseEnum, $ as RegisteredService, a0 as RepeatableGroup, a1 as SELECTION_CODE_DEFAULT_VALUE, a3 as SpreadsheetTemplateCompany, a5 as TradingPartnerStage, a6 as TradingPartnerStageV2 } from './zod-BTAcqNX0.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
-
import { b as CompanySearchParams,
|
|
6
|
+
import { b as CompanySearchParams, a as CompanySearch, C as Company } from './CompanySearch-BbVFcsAx.js';
|
|
7
7
|
import 'ky';
|
|
8
8
|
|
|
9
9
|
declare const relationshipSchema: z.ZodObject<{
|
|
@@ -138,7 +138,8 @@ declare function createExportsApi(client: AsstClient): {
|
|
|
138
138
|
createExport: (data: Export, params?: {
|
|
139
139
|
orgId?: string;
|
|
140
140
|
}) => Promise<void>;
|
|
141
|
-
downloadItems: (params:
|
|
141
|
+
downloadItems: (params: DownloadItemsParams) => Promise<void>;
|
|
142
|
+
downloadCatalogedItems: (params: DownloadCatalogedItemsParams) => Promise<void>;
|
|
142
143
|
};
|
|
143
144
|
|
|
144
145
|
/**
|
|
@@ -991,4 +992,4 @@ declare function createRulesManagementApi(client: AsstClient): {
|
|
|
991
992
|
activateRule: (ruleId: string, request: ActivateRuleRequestDto, signal?: AbortSignal) => Promise<void>;
|
|
992
993
|
};
|
|
993
994
|
|
|
994
|
-
export { type ActivateRuleRequestDto, type ApplicationType, AsstClient, AttrProdType, type CatalogBriefResponse, type CatalogCreateRequest, type CatalogCreateResponse, type CatalogSearchParams, type CategoriesApi, Company, CompanyBriefByOrg, type CompanyFeature, type CompanyRelationship, CompanyRelationshipUpsertBody, CompanySearch, CompanySearchParams, CompanyType,
|
|
995
|
+
export { type ActivateRuleRequestDto, type ApplicationType, AsstClient, AttrProdType, type CatalogBriefResponse, type CatalogCreateRequest, type CatalogCreateResponse, type CatalogSearchParams, type CategoriesApi, Company, CompanyBriefByOrg, type CompanyFeature, type CompanyRelationship, CompanyRelationshipUpsertBody, CompanySearch, CompanySearchParams, CompanyType, DownloadCatalogedItemsParams, DownloadItemsParams, Export, type FeatureType, type FlagOptions, type FlattenedItemIdentifiers, GenerateImportTemplateParams, type GetItemErrorSummaryParams, Import, ImportsStatus, ItemCategoriesSearch, ItemDetail, ItemDetailView, ItemErrorDetailsResult, ItemErrorDetailsResultV2, ItemErrorSummaryResultV2, ItemHierarchyResponse, type ItemOrgStageDetails, type ItemOrgStatus, ItemPartner, ItemSearchView, type ItemStatus, type ItemStatusResponse, type ItemStatusV2, type ItemStatusV2Response, type ItemsApi, Locale, type OrgSummary, type RetailerTradingPartnerStages, SpreadsheetTemplate, SpsItemIdResponse, type Stage, TradingPartnerAccessByCompanyId, type UniqueCriteriaOptions, UserAccount, VendorPartnerAttGroups, createCategoriesApi, createCompaniesApi, createCompanyFeaturesApi, createErrorsApi, createErrorsApiV2, createExportsApi, createFeatureFlagsApi, createImportsApi, createItemsApi, createItemsApiV2, createLocaleApi, createProductTypesApi, createRulesManagementApi, createSpreadsheetTemplateApi, createTradingPartnerAccessApi, createTradingPartnerSettingsApi, createUniqueCriteriaApi, createWhoAmIApi };
|
package/dist/index.js
CHANGED
|
@@ -17,16 +17,16 @@ import {
|
|
|
17
17
|
createTradingPartnerSettingsApi,
|
|
18
18
|
createUniqueCriteriaApi,
|
|
19
19
|
createWhoAmIApi
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-42U2ERT7.js";
|
|
21
21
|
import {
|
|
22
22
|
AsstClient,
|
|
23
23
|
BASE_URLS,
|
|
24
24
|
envSchema
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-JOTJ2YCI.js";
|
|
26
26
|
import {
|
|
27
27
|
PRODUCT_CODE_DEFAULT_VALUE,
|
|
28
28
|
SELECTION_CODE_DEFAULT_VALUE
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ATHXI7QZ.js";
|
|
30
30
|
export {
|
|
31
31
|
AsstClient,
|
|
32
32
|
BASE_URLS,
|