@spscommerce/asst-api 4.8.0 → 4.10.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/{chunk-52RZCPMT.js → chunk-FJMJ3WLT.js} +4 -4
- package/dist/{chunk-VQDRXCML.js → chunk-GVKJQMZO.js} +1 -1
- package/dist/{chunk-ZAW3TKZQ.js → chunk-T6TAJDKV.js} +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/msw.cjs +4 -4
- package/dist/msw.d.cts +1 -1
- package/dist/msw.d.ts +1 -1
- package/dist/msw.js +2 -2
- package/dist/{zod-CEvcMeWn.d.ts → zod-BzaUv6Z0.d.ts} +6 -3
- package/dist/{zod-DscWtu4d.d.cts → zod-xDwooVEk.d.cts} +6 -3
- package/dist/zod.cjs +5 -4
- package/dist/zod.d.cts +1 -1
- package/dist/zod.d.ts +1 -1
- package/dist/zod.js +3 -2
- package/package.json +1 -1
|
@@ -4173,10 +4173,13 @@ var itemPartnerSchema = external_exports.object({
|
|
|
4173
4173
|
applications: external_exports.array(applicationTypeSchema)
|
|
4174
4174
|
});
|
|
4175
4175
|
|
|
4176
|
+
// lib/companies/models/CompanyType.ts
|
|
4177
|
+
var companyTypeSchema = external_exports.enum(["SUPPLIER", "RETAILER"]);
|
|
4178
|
+
|
|
4176
4179
|
// lib/tradingPartners/models/TradingPartnerAccessByCompanyId.ts
|
|
4177
4180
|
var tradingPartnerAccessByCompanyIdSchema = external_exports.object({
|
|
4178
4181
|
companyId: external_exports.number(),
|
|
4179
|
-
|
|
4182
|
+
companyTypes: external_exports.array(companyTypeSchema),
|
|
4180
4183
|
identityOrgId: external_exports.string(),
|
|
4181
4184
|
companyName: external_exports.string(),
|
|
4182
4185
|
count: external_exports.number(),
|
|
@@ -4842,9 +4845,6 @@ var itemErrorDetailsResultV2Schema = external_exports.object({
|
|
|
4842
4845
|
itemErrorDetails: external_exports.array(itemErrorDetailsV2Schema)
|
|
4843
4846
|
});
|
|
4844
4847
|
|
|
4845
|
-
// lib/companies/models/CompanyType.ts
|
|
4846
|
-
var companyTypeSchema = external_exports.enum(["SUPPLIER", "RETAILER"]);
|
|
4847
|
-
|
|
4848
4848
|
// lib/companies/models/CompanyBriefByOrg.ts
|
|
4849
4849
|
var companyBriefByOrgSchema = external_exports.object({
|
|
4850
4850
|
companyId: external_exports.number(),
|
package/dist/index.cjs
CHANGED
|
@@ -4431,10 +4431,13 @@ var itemPartnerSchema = external_exports.object({
|
|
|
4431
4431
|
applications: external_exports.array(applicationTypeSchema)
|
|
4432
4432
|
});
|
|
4433
4433
|
|
|
4434
|
+
// lib/companies/models/CompanyType.ts
|
|
4435
|
+
var companyTypeSchema = external_exports.enum(["SUPPLIER", "RETAILER"]);
|
|
4436
|
+
|
|
4434
4437
|
// lib/tradingPartners/models/TradingPartnerAccessByCompanyId.ts
|
|
4435
4438
|
var tradingPartnerAccessByCompanyIdSchema = external_exports.object({
|
|
4436
4439
|
companyId: external_exports.number(),
|
|
4437
|
-
|
|
4440
|
+
companyTypes: external_exports.array(companyTypeSchema),
|
|
4438
4441
|
identityOrgId: external_exports.string(),
|
|
4439
4442
|
companyName: external_exports.string(),
|
|
4440
4443
|
count: external_exports.number(),
|
|
@@ -5577,9 +5580,6 @@ function createUniqueCriteriaApi(client) {
|
|
|
5577
5580
|
};
|
|
5578
5581
|
}
|
|
5579
5582
|
|
|
5580
|
-
// lib/companies/models/CompanyType.ts
|
|
5581
|
-
var companyTypeSchema = external_exports.enum(["SUPPLIER", "RETAILER"]);
|
|
5582
|
-
|
|
5583
5583
|
// lib/companies/models/CompanyBriefByOrg.ts
|
|
5584
5584
|
var companyBriefByOrgSchema = external_exports.object({
|
|
5585
5585
|
companyId: external_exports.number(),
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as AsstClient, I as ItemHierarchyResponse, a as CompanyType, S as SpsItemIdResponse, C as CompanyBriefByOrg } from './SpsItemIdResponse-BEq6yqtR.cjs';
|
|
2
2
|
export { b as AsstClientOptions, c as AsstUrl, B as BASE_URLS, E as Env, e as envSchema } from './SpsItemIdResponse-BEq6yqtR.cjs';
|
|
3
|
-
import { I as Import, a as ImportsStatus, V as VendorPartnerAttGroups, G as GenerateImportTemplateParams, E as Export, D as DownLoadItemsParams, A as AttrProdType, T as TradingPartnerAccessByCompanyId, C as CompanyRelationshipUpsertBody, b as ItemPartner, c as ItemCategoriesSearch, L as Locale, S as SpreadsheetTemplate, U as UserAccount, d as ItemSearchView, e as ItemDetailView, f as ItemDetail, g as ItemErrorDetailsResult, h as ItemErrorSummaryResultV2, i as ItemErrorDetailsResultV2 } from './zod-
|
|
4
|
-
export { K as AttributeDetail, a0 as Bulb, M as CategoryEnum, N as ComponentDetails, q as Connection, n as ExportDayOfWeek, o as ExportFrequency, p as ExportType, O as GroupedAttributeList, Q as GroupedAttributes, W as GroupedItem, X as HierarchyCategory, Y as HierarchyDetails, v as IdentityServiceDatetimePreferences, w as IdentityServiceOrganization, u as IdentityServiceOrganizationMetadata, x as IdentityServicePreferences, y as IdentityServiceUser, j as ImportDetails, k as ImportError, l as ImportErrors, m as ImportStatusEnum, s as ItemCategory, a4 as ItemErrorDetails, a6 as ItemErrorDetailsV2, a5 as ItemErrorSummaryV2, z as ItemHeader, B as ItemMap, Z as ItemPrice, F as ItemTable, $ as MediaItem, P as PRODUCT_CODE_DEFAULT_VALUE, a1 as PackComponent, _ as PackComponentDetails, a3 as PackComponentItemInfo, H as PhaseEnum, R as RegisteredService, a2 as RepeatableGroup, r as SELECTION_CODE_DEFAULT_VALUE, t as SpreadsheetTemplateCompany, J as TradingPartnerStage, a7 as TradingPartnerStageV2 } from './zod-
|
|
3
|
+
import { I as Import, a as ImportsStatus, V as VendorPartnerAttGroups, G as GenerateImportTemplateParams, E as Export, D as DownLoadItemsParams, A as AttrProdType, T as TradingPartnerAccessByCompanyId, C as CompanyRelationshipUpsertBody, b as ItemPartner, c as ItemCategoriesSearch, L as Locale, S as SpreadsheetTemplate, U as UserAccount, d as ItemSearchView, e as ItemDetailView, f as ItemDetail, g as ItemErrorDetailsResult, h as ItemErrorSummaryResultV2, i as ItemErrorDetailsResultV2 } from './zod-xDwooVEk.cjs';
|
|
4
|
+
export { K as AttributeDetail, a0 as Bulb, M as CategoryEnum, N as ComponentDetails, q as Connection, n as ExportDayOfWeek, o as ExportFrequency, p as ExportType, O as GroupedAttributeList, Q as GroupedAttributes, W as GroupedItem, X as HierarchyCategory, Y as HierarchyDetails, v as IdentityServiceDatetimePreferences, w as IdentityServiceOrganization, u as IdentityServiceOrganizationMetadata, x as IdentityServicePreferences, y as IdentityServiceUser, j as ImportDetails, k as ImportError, l as ImportErrors, m as ImportStatusEnum, s as ItemCategory, a4 as ItemErrorDetails, a6 as ItemErrorDetailsV2, a5 as ItemErrorSummaryV2, z as ItemHeader, B as ItemMap, Z as ItemPrice, F as ItemTable, $ as MediaItem, P as PRODUCT_CODE_DEFAULT_VALUE, a1 as PackComponent, _ as PackComponentDetails, a3 as PackComponentItemInfo, H as PhaseEnum, R as RegisteredService, a2 as RepeatableGroup, r as SELECTION_CODE_DEFAULT_VALUE, t as SpreadsheetTemplateCompany, J as TradingPartnerStage, a7 as TradingPartnerStageV2 } from './zod-xDwooVEk.cjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { b as CompanySearchParams, C as CompanySearch, a as Company } from './CompanySearch-T6HJx4a6.cjs';
|
|
7
7
|
import 'ky';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as AsstClient, I as ItemHierarchyResponse, a as CompanyType, S as SpsItemIdResponse, C as CompanyBriefByOrg } from './SpsItemIdResponse-BEq6yqtR.js';
|
|
2
2
|
export { b as AsstClientOptions, c as AsstUrl, B as BASE_URLS, E as Env, e as envSchema } from './SpsItemIdResponse-BEq6yqtR.js';
|
|
3
|
-
import { I as Import, a as ImportsStatus, V as VendorPartnerAttGroups, G as GenerateImportTemplateParams, E as Export, D as DownLoadItemsParams, A as AttrProdType, T as TradingPartnerAccessByCompanyId, C as CompanyRelationshipUpsertBody, b as ItemPartner, c as ItemCategoriesSearch, L as Locale, S as SpreadsheetTemplate, U as UserAccount, d as ItemSearchView, e as ItemDetailView, f as ItemDetail, g as ItemErrorDetailsResult, h as ItemErrorSummaryResultV2, i as ItemErrorDetailsResultV2 } from './zod-
|
|
4
|
-
export { K as AttributeDetail, a0 as Bulb, M as CategoryEnum, N as ComponentDetails, q as Connection, n as ExportDayOfWeek, o as ExportFrequency, p as ExportType, O as GroupedAttributeList, Q as GroupedAttributes, W as GroupedItem, X as HierarchyCategory, Y as HierarchyDetails, v as IdentityServiceDatetimePreferences, w as IdentityServiceOrganization, u as IdentityServiceOrganizationMetadata, x as IdentityServicePreferences, y as IdentityServiceUser, j as ImportDetails, k as ImportError, l as ImportErrors, m as ImportStatusEnum, s as ItemCategory, a4 as ItemErrorDetails, a6 as ItemErrorDetailsV2, a5 as ItemErrorSummaryV2, z as ItemHeader, B as ItemMap, Z as ItemPrice, F as ItemTable, $ as MediaItem, P as PRODUCT_CODE_DEFAULT_VALUE, a1 as PackComponent, _ as PackComponentDetails, a3 as PackComponentItemInfo, H as PhaseEnum, R as RegisteredService, a2 as RepeatableGroup, r as SELECTION_CODE_DEFAULT_VALUE, t as SpreadsheetTemplateCompany, J as TradingPartnerStage, a7 as TradingPartnerStageV2 } from './zod-
|
|
3
|
+
import { I as Import, a as ImportsStatus, V as VendorPartnerAttGroups, G as GenerateImportTemplateParams, E as Export, D as DownLoadItemsParams, A as AttrProdType, T as TradingPartnerAccessByCompanyId, C as CompanyRelationshipUpsertBody, b as ItemPartner, c as ItemCategoriesSearch, L as Locale, S as SpreadsheetTemplate, U as UserAccount, d as ItemSearchView, e as ItemDetailView, f as ItemDetail, g as ItemErrorDetailsResult, h as ItemErrorSummaryResultV2, i as ItemErrorDetailsResultV2 } from './zod-BzaUv6Z0.js';
|
|
4
|
+
export { K as AttributeDetail, a0 as Bulb, M as CategoryEnum, N as ComponentDetails, q as Connection, n as ExportDayOfWeek, o as ExportFrequency, p as ExportType, O as GroupedAttributeList, Q as GroupedAttributes, W as GroupedItem, X as HierarchyCategory, Y as HierarchyDetails, v as IdentityServiceDatetimePreferences, w as IdentityServiceOrganization, u as IdentityServiceOrganizationMetadata, x as IdentityServicePreferences, y as IdentityServiceUser, j as ImportDetails, k as ImportError, l as ImportErrors, m as ImportStatusEnum, s as ItemCategory, a4 as ItemErrorDetails, a6 as ItemErrorDetailsV2, a5 as ItemErrorSummaryV2, z as ItemHeader, B as ItemMap, Z as ItemPrice, F as ItemTable, $ as MediaItem, P as PRODUCT_CODE_DEFAULT_VALUE, a1 as PackComponent, _ as PackComponentDetails, a3 as PackComponentItemInfo, H as PhaseEnum, R as RegisteredService, a2 as RepeatableGroup, r as SELECTION_CODE_DEFAULT_VALUE, t as SpreadsheetTemplateCompany, J as TradingPartnerStage, a7 as TradingPartnerStageV2 } from './zod-BzaUv6Z0.js';
|
|
5
5
|
import { z } from 'zod';
|
|
6
6
|
import { b as CompanySearchParams, C as CompanySearch, a as Company } from './CompanySearch-T6HJx4a6.js';
|
|
7
7
|
import 'ky';
|
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-T6TAJDKV.js";
|
|
21
21
|
import {
|
|
22
22
|
AsstClient,
|
|
23
23
|
BASE_URLS,
|
|
24
24
|
envSchema
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GVKJQMZO.js";
|
|
26
26
|
import {
|
|
27
27
|
PRODUCT_CODE_DEFAULT_VALUE,
|
|
28
28
|
SELECTION_CODE_DEFAULT_VALUE
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FJMJ3WLT.js";
|
|
30
30
|
export {
|
|
31
31
|
AsstClient,
|
|
32
32
|
BASE_URLS,
|
package/dist/msw.cjs
CHANGED
|
@@ -4475,10 +4475,13 @@ var itemPartnerSchema = external_exports.object({
|
|
|
4475
4475
|
applications: external_exports.array(applicationTypeSchema)
|
|
4476
4476
|
});
|
|
4477
4477
|
|
|
4478
|
+
// lib/companies/models/CompanyType.ts
|
|
4479
|
+
var companyTypeSchema = external_exports.enum(["SUPPLIER", "RETAILER"]);
|
|
4480
|
+
|
|
4478
4481
|
// lib/tradingPartners/models/TradingPartnerAccessByCompanyId.ts
|
|
4479
4482
|
var tradingPartnerAccessByCompanyIdSchema = external_exports.object({
|
|
4480
4483
|
companyId: external_exports.number(),
|
|
4481
|
-
|
|
4484
|
+
companyTypes: external_exports.array(companyTypeSchema),
|
|
4482
4485
|
identityOrgId: external_exports.string(),
|
|
4483
4486
|
companyName: external_exports.string(),
|
|
4484
4487
|
count: external_exports.number(),
|
|
@@ -5500,9 +5503,6 @@ function createUniqueCriteriaApiHandlers(client) {
|
|
|
5500
5503
|
var import_zod_mock15 = require("@anatine/zod-mock");
|
|
5501
5504
|
var import_msw16 = require("msw");
|
|
5502
5505
|
|
|
5503
|
-
// lib/companies/models/CompanyType.ts
|
|
5504
|
-
var companyTypeSchema = external_exports.enum(["SUPPLIER", "RETAILER"]);
|
|
5505
|
-
|
|
5506
5506
|
// lib/companies/models/CompanyBriefByOrg.ts
|
|
5507
5507
|
var companyBriefByOrgSchema = external_exports.object({
|
|
5508
5508
|
companyId: external_exports.number(),
|
package/dist/msw.d.cts
CHANGED
|
@@ -166,6 +166,7 @@ declare function createTradingPartnerAccessApiHandlers(client: AsstClient): {
|
|
|
166
166
|
(resolver?: ResponseResolver): msw.HttpHandler;
|
|
167
167
|
generateData(): {
|
|
168
168
|
companyId: number;
|
|
169
|
+
companyTypes: ("SUPPLIER" | "RETAILER")[];
|
|
169
170
|
connections: {
|
|
170
171
|
catalog_id: number;
|
|
171
172
|
catalog_name: string | null;
|
|
@@ -174,7 +175,6 @@ declare function createTradingPartnerAccessApiHandlers(client: AsstClient): {
|
|
|
174
175
|
partner_org_id: string;
|
|
175
176
|
}[];
|
|
176
177
|
count: number;
|
|
177
|
-
companyType: string;
|
|
178
178
|
identityOrgId: string;
|
|
179
179
|
companyName: string;
|
|
180
180
|
};
|
package/dist/msw.d.ts
CHANGED
|
@@ -166,6 +166,7 @@ declare function createTradingPartnerAccessApiHandlers(client: AsstClient): {
|
|
|
166
166
|
(resolver?: ResponseResolver): msw.HttpHandler;
|
|
167
167
|
generateData(): {
|
|
168
168
|
companyId: number;
|
|
169
|
+
companyTypes: ("SUPPLIER" | "RETAILER")[];
|
|
169
170
|
connections: {
|
|
170
171
|
catalog_id: number;
|
|
171
172
|
catalog_name: string | null;
|
|
@@ -174,7 +175,6 @@ declare function createTradingPartnerAccessApiHandlers(client: AsstClient): {
|
|
|
174
175
|
partner_org_id: string;
|
|
175
176
|
}[];
|
|
176
177
|
count: number;
|
|
177
|
-
companyType: string;
|
|
178
178
|
identityOrgId: string;
|
|
179
179
|
companyName: string;
|
|
180
180
|
};
|
package/dist/msw.js
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
BASE_URL_V2,
|
|
21
21
|
FlattenedItemIdentifierKeysSchema,
|
|
22
22
|
retailerTradingPartnerStages
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-T6TAJDKV.js";
|
|
24
24
|
import {
|
|
25
25
|
attrProdTypeSchema,
|
|
26
26
|
catalogBriefResponseSchema,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
tradingPartnerAccessByCompanyIdSchema,
|
|
50
50
|
userAccountSchema,
|
|
51
51
|
vendorPartnerAttGroupsSchema
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-FJMJ3WLT.js";
|
|
53
53
|
|
|
54
54
|
// lib/imports/mockHandlers.ts
|
|
55
55
|
import { generateMock } from "@anatine/zod-mock";
|
|
@@ -230,6 +230,7 @@ declare const exportSchema: z.ZodObject<{
|
|
|
230
230
|
dayOfWeek: z.ZodOptional<z.ZodEnum<["MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"]>>;
|
|
231
231
|
hourOfDay: z.ZodOptional<z.ZodNumber>;
|
|
232
232
|
date: z.ZodOptional<z.ZodString>;
|
|
233
|
+
reportType: z.ZodOptional<z.ZodEnum<["SUPPLIER_REPORT", "RETAILER_REPORT"]>>;
|
|
233
234
|
catalogIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
234
235
|
itemInfoIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
235
236
|
excludeItemInfoIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -254,6 +255,7 @@ declare const exportSchema: z.ZodObject<{
|
|
|
254
255
|
dayOfMonth?: number | undefined;
|
|
255
256
|
dayOfWeek?: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN" | undefined;
|
|
256
257
|
hourOfDay?: number | undefined;
|
|
258
|
+
reportType?: "SUPPLIER_REPORT" | "RETAILER_REPORT" | undefined;
|
|
257
259
|
itemInfoIds?: number[] | undefined;
|
|
258
260
|
excludeItemInfoIds?: number[] | undefined;
|
|
259
261
|
selectionCodeIds?: number[] | undefined;
|
|
@@ -277,6 +279,7 @@ declare const exportSchema: z.ZodObject<{
|
|
|
277
279
|
dayOfMonth?: number | undefined;
|
|
278
280
|
dayOfWeek?: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN" | undefined;
|
|
279
281
|
hourOfDay?: number | undefined;
|
|
282
|
+
reportType?: "SUPPLIER_REPORT" | "RETAILER_REPORT" | undefined;
|
|
280
283
|
itemInfoIds?: number[] | undefined;
|
|
281
284
|
excludeItemInfoIds?: number[] | undefined;
|
|
282
285
|
selectionCodeIds?: number[] | undefined;
|
|
@@ -422,7 +425,7 @@ type ItemPartner = z.infer<typeof itemPartnerSchema>;
|
|
|
422
425
|
|
|
423
426
|
declare const tradingPartnerAccessByCompanyIdSchema: z.ZodObject<{
|
|
424
427
|
companyId: z.ZodNumber;
|
|
425
|
-
|
|
428
|
+
companyTypes: z.ZodArray<z.ZodEnum<["SUPPLIER", "RETAILER"]>, "many">;
|
|
426
429
|
identityOrgId: z.ZodString;
|
|
427
430
|
companyName: z.ZodString;
|
|
428
431
|
count: z.ZodNumber;
|
|
@@ -447,6 +450,7 @@ declare const tradingPartnerAccessByCompanyIdSchema: z.ZodObject<{
|
|
|
447
450
|
}>, "many">;
|
|
448
451
|
}, "strip", z.ZodTypeAny, {
|
|
449
452
|
companyId: number;
|
|
453
|
+
companyTypes: ("SUPPLIER" | "RETAILER")[];
|
|
450
454
|
connections: {
|
|
451
455
|
catalog_id: number;
|
|
452
456
|
catalog_name: string | null;
|
|
@@ -455,11 +459,11 @@ declare const tradingPartnerAccessByCompanyIdSchema: z.ZodObject<{
|
|
|
455
459
|
partner_org_id: string;
|
|
456
460
|
}[];
|
|
457
461
|
count: number;
|
|
458
|
-
companyType: string;
|
|
459
462
|
identityOrgId: string;
|
|
460
463
|
companyName: string;
|
|
461
464
|
}, {
|
|
462
465
|
companyId: number;
|
|
466
|
+
companyTypes: ("SUPPLIER" | "RETAILER")[];
|
|
463
467
|
connections: {
|
|
464
468
|
catalog_id: number;
|
|
465
469
|
catalog_name: string | null;
|
|
@@ -468,7 +472,6 @@ declare const tradingPartnerAccessByCompanyIdSchema: z.ZodObject<{
|
|
|
468
472
|
partner_org_id: string;
|
|
469
473
|
}[];
|
|
470
474
|
count: number;
|
|
471
|
-
companyType: string;
|
|
472
475
|
identityOrgId: string;
|
|
473
476
|
companyName: string;
|
|
474
477
|
}>;
|
|
@@ -230,6 +230,7 @@ declare const exportSchema: z.ZodObject<{
|
|
|
230
230
|
dayOfWeek: z.ZodOptional<z.ZodEnum<["MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"]>>;
|
|
231
231
|
hourOfDay: z.ZodOptional<z.ZodNumber>;
|
|
232
232
|
date: z.ZodOptional<z.ZodString>;
|
|
233
|
+
reportType: z.ZodOptional<z.ZodEnum<["SUPPLIER_REPORT", "RETAILER_REPORT"]>>;
|
|
233
234
|
catalogIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
234
235
|
itemInfoIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
235
236
|
excludeItemInfoIds: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
@@ -254,6 +255,7 @@ declare const exportSchema: z.ZodObject<{
|
|
|
254
255
|
dayOfMonth?: number | undefined;
|
|
255
256
|
dayOfWeek?: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN" | undefined;
|
|
256
257
|
hourOfDay?: number | undefined;
|
|
258
|
+
reportType?: "SUPPLIER_REPORT" | "RETAILER_REPORT" | undefined;
|
|
257
259
|
itemInfoIds?: number[] | undefined;
|
|
258
260
|
excludeItemInfoIds?: number[] | undefined;
|
|
259
261
|
selectionCodeIds?: number[] | undefined;
|
|
@@ -277,6 +279,7 @@ declare const exportSchema: z.ZodObject<{
|
|
|
277
279
|
dayOfMonth?: number | undefined;
|
|
278
280
|
dayOfWeek?: "MON" | "TUE" | "WED" | "THU" | "FRI" | "SAT" | "SUN" | undefined;
|
|
279
281
|
hourOfDay?: number | undefined;
|
|
282
|
+
reportType?: "SUPPLIER_REPORT" | "RETAILER_REPORT" | undefined;
|
|
280
283
|
itemInfoIds?: number[] | undefined;
|
|
281
284
|
excludeItemInfoIds?: number[] | undefined;
|
|
282
285
|
selectionCodeIds?: number[] | undefined;
|
|
@@ -422,7 +425,7 @@ type ItemPartner = z.infer<typeof itemPartnerSchema>;
|
|
|
422
425
|
|
|
423
426
|
declare const tradingPartnerAccessByCompanyIdSchema: z.ZodObject<{
|
|
424
427
|
companyId: z.ZodNumber;
|
|
425
|
-
|
|
428
|
+
companyTypes: z.ZodArray<z.ZodEnum<["SUPPLIER", "RETAILER"]>, "many">;
|
|
426
429
|
identityOrgId: z.ZodString;
|
|
427
430
|
companyName: z.ZodString;
|
|
428
431
|
count: z.ZodNumber;
|
|
@@ -447,6 +450,7 @@ declare const tradingPartnerAccessByCompanyIdSchema: z.ZodObject<{
|
|
|
447
450
|
}>, "many">;
|
|
448
451
|
}, "strip", z.ZodTypeAny, {
|
|
449
452
|
companyId: number;
|
|
453
|
+
companyTypes: ("SUPPLIER" | "RETAILER")[];
|
|
450
454
|
connections: {
|
|
451
455
|
catalog_id: number;
|
|
452
456
|
catalog_name: string | null;
|
|
@@ -455,11 +459,11 @@ declare const tradingPartnerAccessByCompanyIdSchema: z.ZodObject<{
|
|
|
455
459
|
partner_org_id: string;
|
|
456
460
|
}[];
|
|
457
461
|
count: number;
|
|
458
|
-
companyType: string;
|
|
459
462
|
identityOrgId: string;
|
|
460
463
|
companyName: string;
|
|
461
464
|
}, {
|
|
462
465
|
companyId: number;
|
|
466
|
+
companyTypes: ("SUPPLIER" | "RETAILER")[];
|
|
463
467
|
connections: {
|
|
464
468
|
catalog_id: number;
|
|
465
469
|
catalog_name: string | null;
|
|
@@ -468,7 +472,6 @@ declare const tradingPartnerAccessByCompanyIdSchema: z.ZodObject<{
|
|
|
468
472
|
partner_org_id: string;
|
|
469
473
|
}[];
|
|
470
474
|
count: number;
|
|
471
|
-
companyType: string;
|
|
472
475
|
identityOrgId: string;
|
|
473
476
|
companyName: string;
|
|
474
477
|
}>;
|
package/dist/zod.cjs
CHANGED
|
@@ -4272,6 +4272,7 @@ var exportSchema = external_exports.object({
|
|
|
4272
4272
|
dayOfWeek: external_exports.optional(exportDayOfWeekEnum),
|
|
4273
4273
|
hourOfDay: external_exports.optional(external_exports.number()),
|
|
4274
4274
|
date: external_exports.optional(external_exports.string()),
|
|
4275
|
+
reportType: external_exports.optional(external_exports.enum(["SUPPLIER_REPORT", "RETAILER_REPORT"])),
|
|
4275
4276
|
catalogIds: external_exports.optional(external_exports.array(external_exports.number())),
|
|
4276
4277
|
itemInfoIds: external_exports.optional(external_exports.array(external_exports.number())),
|
|
4277
4278
|
excludeItemInfoIds: external_exports.optional(external_exports.array(external_exports.number())),
|
|
@@ -4748,10 +4749,13 @@ var itemPartnerSchema = external_exports.object({
|
|
|
4748
4749
|
applications: external_exports.array(applicationTypeSchema)
|
|
4749
4750
|
});
|
|
4750
4751
|
|
|
4752
|
+
// lib/companies/models/CompanyType.ts
|
|
4753
|
+
var companyTypeSchema = external_exports.enum(["SUPPLIER", "RETAILER"]);
|
|
4754
|
+
|
|
4751
4755
|
// lib/tradingPartners/models/TradingPartnerAccessByCompanyId.ts
|
|
4752
4756
|
var tradingPartnerAccessByCompanyIdSchema = external_exports.object({
|
|
4753
4757
|
companyId: external_exports.number(),
|
|
4754
|
-
|
|
4758
|
+
companyTypes: external_exports.array(companyTypeSchema),
|
|
4755
4759
|
identityOrgId: external_exports.string(),
|
|
4756
4760
|
companyName: external_exports.string(),
|
|
4757
4761
|
count: external_exports.number(),
|
|
@@ -5003,9 +5007,6 @@ var itemErrorDetailsResultV2Schema = external_exports.object({
|
|
|
5003
5007
|
itemErrorDetails: external_exports.array(itemErrorDetailsV2Schema)
|
|
5004
5008
|
});
|
|
5005
5009
|
|
|
5006
|
-
// lib/companies/models/CompanyType.ts
|
|
5007
|
-
var companyTypeSchema = external_exports.enum(["SUPPLIER", "RETAILER"]);
|
|
5008
|
-
|
|
5009
5010
|
// lib/companies/models/CompanyBriefByOrg.ts
|
|
5010
5011
|
var companyBriefByOrgSchema = external_exports.object({
|
|
5011
5012
|
companyId: external_exports.number(),
|
package/dist/zod.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { d as companyBriefByOrgSchema, e as envSchema, i as itemHierarchyResponseSchema, s as spsItemIdResponseSchema } from './SpsItemIdResponse-BEq6yqtR.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-
|
|
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-xDwooVEk.cjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'ky';
|
package/dist/zod.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { d as companyBriefByOrgSchema, e as envSchema, i as itemHierarchyResponseSchema, s as spsItemIdResponseSchema } from './SpsItemIdResponse-BEq6yqtR.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-
|
|
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-BzaUv6Z0.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import 'ky';
|
package/dist/zod.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
envSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GVKJQMZO.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-FJMJ3WLT.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"]);
|
|
@@ -99,6 +99,7 @@ var exportSchema = external_exports.object({
|
|
|
99
99
|
dayOfWeek: external_exports.optional(exportDayOfWeekEnum),
|
|
100
100
|
hourOfDay: external_exports.optional(external_exports.number()),
|
|
101
101
|
date: external_exports.optional(external_exports.string()),
|
|
102
|
+
reportType: external_exports.optional(external_exports.enum(["SUPPLIER_REPORT", "RETAILER_REPORT"])),
|
|
102
103
|
catalogIds: external_exports.optional(external_exports.array(external_exports.number())),
|
|
103
104
|
itemInfoIds: external_exports.optional(external_exports.array(external_exports.number())),
|
|
104
105
|
excludeItemInfoIds: external_exports.optional(external_exports.array(external_exports.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.10.0",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|