@spscommerce/asst-api 4.7.0 → 4.9.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/CompanySearch-T6HJx4a6.d.cts +313 -0
- package/dist/CompanySearch-T6HJx4a6.d.ts +313 -0
- package/dist/{SpsItemIdResponse-gAHfCzwP.d.cts → SpsItemIdResponse-BEq6yqtR.d.cts} +28 -23
- package/dist/{SpsItemIdResponse-gAHfCzwP.d.ts → SpsItemIdResponse-BEq6yqtR.d.ts} +28 -23
- package/dist/{chunk-BMTYM2N6.js → chunk-FJMJ3WLT.js} +89 -5
- package/dist/{chunk-WX4LGXJV.js → chunk-GVKJQMZO.js} +8 -1
- package/dist/{chunk-IZLZKWK7.js → chunk-T6TAJDKV.js} +95 -33
- package/dist/index.cjs +185 -36
- package/dist/index.d.cts +112 -25
- package/dist/index.d.ts +112 -25
- package/dist/index.js +3 -3
- package/dist/msw.cjs +106 -5
- package/dist/msw.d.cts +98 -28
- package/dist/msw.d.ts +98 -28
- package/dist/msw.js +24 -3
- package/dist/{zod-C-emh7a3.d.cts → zod-BKip1Oyo.d.cts} +161 -161
- package/dist/{zod-D3Xe9bw3.d.ts → zod-tq08RlYz.d.ts} +161 -161
- package/dist/zod.cjs +86 -4
- package/dist/zod.d.cts +3 -3
- package/dist/zod.d.ts +3 -3
- package/dist/zod.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4123,6 +4123,7 @@ var AsstClient = class {
|
|
|
4123
4123
|
#baseUrl = BASE_URLS["test"];
|
|
4124
4124
|
#listeners = /* @__PURE__ */ new Set();
|
|
4125
4125
|
#currentConfig = initialConfig;
|
|
4126
|
+
#companyType = "SUPPLIER";
|
|
4126
4127
|
constructor(options) {
|
|
4127
4128
|
if (options) {
|
|
4128
4129
|
this.updateConfig(options);
|
|
@@ -4136,9 +4137,15 @@ var AsstClient = class {
|
|
|
4136
4137
|
}
|
|
4137
4138
|
this.#listeners.forEach((listener) => listener(options));
|
|
4138
4139
|
}
|
|
4140
|
+
updateCompanyType(companyType) {
|
|
4141
|
+
this.#companyType = companyType;
|
|
4142
|
+
}
|
|
4139
4143
|
getBaseUrl() {
|
|
4140
4144
|
return this.#baseUrl;
|
|
4141
4145
|
}
|
|
4146
|
+
getCompanyType() {
|
|
4147
|
+
return this.#companyType;
|
|
4148
|
+
}
|
|
4142
4149
|
/**
|
|
4143
4150
|
* Subscribe to config changes. The callback will be immediately invoked with the current config.
|
|
4144
4151
|
* @param subscriptionCallback Function that will be called with the new config every time it is changed
|
|
@@ -4259,7 +4266,7 @@ function getCompanyTypeSearchParams({
|
|
|
4259
4266
|
|
|
4260
4267
|
// lib/imports/index.ts
|
|
4261
4268
|
var BASE_URL = "imports";
|
|
4262
|
-
function createImportsApi(client
|
|
4269
|
+
function createImportsApi(client) {
|
|
4263
4270
|
async function getImportErrors(importId, params, signal) {
|
|
4264
4271
|
const data = await client.get(`${BASE_URL}/${importId}/errors`, { searchParams: params, signal }).json();
|
|
4265
4272
|
return importErrorsSchema.parse(data);
|
|
@@ -4274,7 +4281,7 @@ function createImportsApi(client, companyType) {
|
|
|
4274
4281
|
async function getImportsStatus(signal) {
|
|
4275
4282
|
const data = await client.get(`${BASE_URL}/status`, {
|
|
4276
4283
|
signal,
|
|
4277
|
-
searchParams: getCompanyTypeSearchParams({ companyType })
|
|
4284
|
+
searchParams: getCompanyTypeSearchParams({ companyType: client.getCompanyType() })
|
|
4278
4285
|
}).json();
|
|
4279
4286
|
return external_exports.array(importsStatusSchema).parse(data);
|
|
4280
4287
|
}
|
|
@@ -4284,7 +4291,7 @@ function createImportsApi(client, companyType) {
|
|
|
4284
4291
|
async function getVendorPartnerGroups(signal) {
|
|
4285
4292
|
const data = await client.get(`${BASE_URL}/template/vendor-partner-groups`, {
|
|
4286
4293
|
signal,
|
|
4287
|
-
searchParams: getCompanyTypeSearchParams({ companyType })
|
|
4294
|
+
searchParams: getCompanyTypeSearchParams({ companyType: client.getCompanyType() })
|
|
4288
4295
|
}).json();
|
|
4289
4296
|
return external_exports.array(vendorPartnerAttGroupsSchema).parse(data);
|
|
4290
4297
|
}
|
|
@@ -4293,7 +4300,7 @@ function createImportsApi(client, companyType) {
|
|
|
4293
4300
|
headers: {
|
|
4294
4301
|
Accept: "application/octet-stream"
|
|
4295
4302
|
},
|
|
4296
|
-
searchParams: getCompanyTypeSearchParams({ params, companyType }),
|
|
4303
|
+
searchParams: getCompanyTypeSearchParams({ params, companyType: client.getCompanyType() }),
|
|
4297
4304
|
timeout: false
|
|
4298
4305
|
});
|
|
4299
4306
|
const disposition = response.headers.get("content-disposition") || "";
|
|
@@ -4323,7 +4330,7 @@ function createImportsApi(client, companyType) {
|
|
|
4323
4330
|
// lib/exports/index.ts
|
|
4324
4331
|
var BASE_URL2 = "exports";
|
|
4325
4332
|
var BASE_URL_V2 = "v2/exports";
|
|
4326
|
-
function createExportsApi(client
|
|
4333
|
+
function createExportsApi(client) {
|
|
4327
4334
|
async function createExport(data, params) {
|
|
4328
4335
|
await client.post(`${BASE_URL_V2}/add`, {
|
|
4329
4336
|
json: data,
|
|
@@ -4337,7 +4344,10 @@ function createExportsApi(client, companyType) {
|
|
|
4337
4344
|
availableAttributes: params.availableAttributes?.join(",") ?? ""
|
|
4338
4345
|
};
|
|
4339
4346
|
const response = await client.get(`${BASE_URL2}/spreadsheet/by-item`, {
|
|
4340
|
-
searchParams: getCompanyTypeSearchParams({
|
|
4347
|
+
searchParams: getCompanyTypeSearchParams({
|
|
4348
|
+
params: searchParams,
|
|
4349
|
+
companyType: client.getCompanyType()
|
|
4350
|
+
}),
|
|
4341
4351
|
headers: {
|
|
4342
4352
|
Accept: "application/octet-stream"
|
|
4343
4353
|
},
|
|
@@ -4421,10 +4431,13 @@ var itemPartnerSchema = external_exports.object({
|
|
|
4421
4431
|
applications: external_exports.array(applicationTypeSchema)
|
|
4422
4432
|
});
|
|
4423
4433
|
|
|
4434
|
+
// lib/companies/models/CompanyType.ts
|
|
4435
|
+
var companyTypeSchema = external_exports.enum(["SUPPLIER", "RETAILER"]);
|
|
4436
|
+
|
|
4424
4437
|
// lib/tradingPartners/models/TradingPartnerAccessByCompanyId.ts
|
|
4425
4438
|
var tradingPartnerAccessByCompanyIdSchema = external_exports.object({
|
|
4426
4439
|
companyId: external_exports.number(),
|
|
4427
|
-
|
|
4440
|
+
companyTypes: external_exports.array(companyTypeSchema),
|
|
4428
4441
|
identityOrgId: external_exports.string(),
|
|
4429
4442
|
companyName: external_exports.string(),
|
|
4430
4443
|
count: external_exports.number(),
|
|
@@ -4433,10 +4446,13 @@ var tradingPartnerAccessByCompanyIdSchema = external_exports.object({
|
|
|
4433
4446
|
|
|
4434
4447
|
// lib/tradingPartners/index.ts
|
|
4435
4448
|
var BASE_URL4 = "trading-partner-access";
|
|
4436
|
-
function createTradingPartnerAccessApi(client
|
|
4449
|
+
function createTradingPartnerAccessApi(client) {
|
|
4437
4450
|
async function getAllTradingPartners(params, signal) {
|
|
4438
4451
|
const data = await client.get(`${BASE_URL4}/connections`, {
|
|
4439
|
-
searchParams: getCompanyTypeSearchParams({
|
|
4452
|
+
searchParams: getCompanyTypeSearchParams({
|
|
4453
|
+
params,
|
|
4454
|
+
companyType: client.getCompanyType()
|
|
4455
|
+
}),
|
|
4440
4456
|
signal
|
|
4441
4457
|
}).json();
|
|
4442
4458
|
return tradingPartnerAccessByCompanyIdSchema.parse(data);
|
|
@@ -4467,10 +4483,10 @@ var retailerTradingPartnerStages = external_exports.array(
|
|
|
4467
4483
|
|
|
4468
4484
|
// lib/tradingPartnerSettings/index.ts
|
|
4469
4485
|
var BASE_URL5 = "trading-partner-settings";
|
|
4470
|
-
function createTradingPartnerSettingsApi(client
|
|
4486
|
+
function createTradingPartnerSettingsApi(client) {
|
|
4471
4487
|
async function getRetailerStages(signal) {
|
|
4472
4488
|
const data = await client.get(`${BASE_URL5}/stages/retailer-configured`, {
|
|
4473
|
-
searchParams: getCompanyTypeSearchParams({ companyType }),
|
|
4489
|
+
searchParams: getCompanyTypeSearchParams({ companyType: client.getCompanyType() }),
|
|
4474
4490
|
signal
|
|
4475
4491
|
}).json();
|
|
4476
4492
|
return retailerTradingPartnerStages.parse(data);
|
|
@@ -4556,13 +4572,20 @@ var BASE_URL6 = "categories";
|
|
|
4556
4572
|
function createCategoriesApi(client) {
|
|
4557
4573
|
async function getCatalogs(params, signal) {
|
|
4558
4574
|
const data = await client.get(`${BASE_URL6}/search-category`, {
|
|
4559
|
-
searchParams: {
|
|
4575
|
+
searchParams: {
|
|
4576
|
+
...params,
|
|
4577
|
+
type: "CATALOG",
|
|
4578
|
+
companyType: client.getCompanyType()
|
|
4579
|
+
},
|
|
4560
4580
|
signal
|
|
4561
4581
|
}).json();
|
|
4562
4582
|
return itemCategoriesSearchSchema.parse(data);
|
|
4563
4583
|
}
|
|
4564
4584
|
async function getProductCodes(params, signal) {
|
|
4565
|
-
const searchParams = {
|
|
4585
|
+
const searchParams = {
|
|
4586
|
+
type: "PRODUCT_CODE",
|
|
4587
|
+
companyType: client.getCompanyType()
|
|
4588
|
+
};
|
|
4566
4589
|
if (params?.categoryName) {
|
|
4567
4590
|
searchParams.categoryName = params.categoryName;
|
|
4568
4591
|
}
|
|
@@ -4583,7 +4606,10 @@ function createCategoriesApi(client) {
|
|
|
4583
4606
|
return itemCategoriesSearchSchema.parse(data);
|
|
4584
4607
|
}
|
|
4585
4608
|
async function getSelectionCodes(params, signal) {
|
|
4586
|
-
const searchParams = {
|
|
4609
|
+
const searchParams = {
|
|
4610
|
+
type: "SELECTION_CODE",
|
|
4611
|
+
companyType: client.getCompanyType()
|
|
4612
|
+
};
|
|
4587
4613
|
if (params?.categoryName) {
|
|
4588
4614
|
searchParams.categoryName = params.categoryName;
|
|
4589
4615
|
}
|
|
@@ -4628,7 +4654,12 @@ function createCategoriesApi(client) {
|
|
|
4628
4654
|
return external_exports.array(catalogBriefResponseSchema).parse(data);
|
|
4629
4655
|
}
|
|
4630
4656
|
async function createCategoryHierarchy(searchParams) {
|
|
4631
|
-
return await client.post(`${BASE_URL6}/hierarchy`, {
|
|
4657
|
+
return await client.post(`${BASE_URL6}/hierarchy`, {
|
|
4658
|
+
searchParams: getCompanyTypeSearchParams({
|
|
4659
|
+
params: searchParams,
|
|
4660
|
+
companyType: client.getCompanyType()
|
|
4661
|
+
})
|
|
4662
|
+
}).json();
|
|
4632
4663
|
}
|
|
4633
4664
|
return {
|
|
4634
4665
|
getCatalogs,
|
|
@@ -5176,28 +5207,41 @@ var itemStatusResponseSchema = external_exports.object({
|
|
|
5176
5207
|
|
|
5177
5208
|
// lib/items/v1/index.ts
|
|
5178
5209
|
var BASE_URL12 = "items";
|
|
5179
|
-
function createItemsApi(client
|
|
5210
|
+
function createItemsApi(client) {
|
|
5180
5211
|
function getCoalescedParams(params = {}) {
|
|
5181
5212
|
const queryParams = {};
|
|
5182
5213
|
if (params.limit !== void 0) queryParams.limit = params.limit.toString();
|
|
5183
|
-
if (params.offset !== void 0)
|
|
5184
|
-
|
|
5214
|
+
if (params.offset !== void 0)
|
|
5215
|
+
queryParams.offset = params.offset.toString();
|
|
5216
|
+
if (params.applicationType)
|
|
5217
|
+
queryParams.application = params.applicationType;
|
|
5185
5218
|
if (params.url) queryParams.url = params.url;
|
|
5186
5219
|
return Object.keys(queryParams).length > 0 ? queryParams : void 0;
|
|
5187
5220
|
}
|
|
5188
5221
|
async function searchItems(params, signal) {
|
|
5189
|
-
const searchParams = getCompanyTypeSearchParams({
|
|
5222
|
+
const searchParams = getCompanyTypeSearchParams({
|
|
5223
|
+
params: getCoalescedParams(params),
|
|
5224
|
+
companyType: client.getCompanyType()
|
|
5225
|
+
});
|
|
5190
5226
|
const data = await client.get(`${BASE_URL12}`, { searchParams, signal }).json();
|
|
5191
5227
|
return itemSearchViewSchema.parse(data);
|
|
5192
5228
|
}
|
|
5193
5229
|
async function getItem(itemId, locale = "en-US", signal) {
|
|
5194
|
-
const data = await client.get(`${BASE_URL12}/${itemId}`, {
|
|
5230
|
+
const data = await client.get(`${BASE_URL12}/${itemId}`, {
|
|
5231
|
+
searchParams: getCompanyTypeSearchParams({
|
|
5232
|
+
params: { locale },
|
|
5233
|
+
companyType: client.getCompanyType()
|
|
5234
|
+
}),
|
|
5235
|
+
signal
|
|
5236
|
+
}).json();
|
|
5195
5237
|
return itemDetailViewSchema.parse(data);
|
|
5196
5238
|
}
|
|
5197
5239
|
async function updateItem(itemId, item) {
|
|
5198
5240
|
await client.put(`${BASE_URL12}/details/${itemId}`, {
|
|
5199
5241
|
json: { ...item },
|
|
5200
|
-
searchParams: getCompanyTypeSearchParams({
|
|
5242
|
+
searchParams: getCompanyTypeSearchParams({
|
|
5243
|
+
companyType: client.getCompanyType()
|
|
5244
|
+
}),
|
|
5201
5245
|
timeout: 45e3
|
|
5202
5246
|
}).json();
|
|
5203
5247
|
}
|
|
@@ -5212,9 +5256,12 @@ function createItemsApi(client, companyType) {
|
|
|
5212
5256
|
await client.delete(`${BASE_URL12}`, { searchParams: params });
|
|
5213
5257
|
}
|
|
5214
5258
|
async function getItemInfoId(spsItemId, signal) {
|
|
5215
|
-
const data = await client.get(`${BASE_URL12}/${spsItemId}/itemInfoId`, {
|
|
5216
|
-
|
|
5217
|
-
|
|
5259
|
+
const data = await client.get(`${BASE_URL12}/${spsItemId}/itemInfoId`, {
|
|
5260
|
+
searchParams: getCompanyTypeSearchParams({
|
|
5261
|
+
companyType: client.getCompanyType()
|
|
5262
|
+
}),
|
|
5263
|
+
signal
|
|
5264
|
+
}).json();
|
|
5218
5265
|
return external_exports.number().parse(data);
|
|
5219
5266
|
}
|
|
5220
5267
|
async function getSpsItemId(itemInfoId, signal) {
|
|
@@ -5297,10 +5344,12 @@ var itemStatusV2ResponseSchema = external_exports.object({
|
|
|
5297
5344
|
// lib/items/v2/index.ts
|
|
5298
5345
|
var BASE_URL13 = "v2/items";
|
|
5299
5346
|
function createItemsApiV2(client) {
|
|
5300
|
-
async function getItemStatus(
|
|
5347
|
+
async function getItemStatus(itemIds) {
|
|
5301
5348
|
const data = await client.post(`${BASE_URL13}/status`, {
|
|
5302
5349
|
json: { itemIds },
|
|
5303
|
-
searchParams: getCompanyTypeSearchParams({
|
|
5350
|
+
searchParams: getCompanyTypeSearchParams({
|
|
5351
|
+
companyType: client.getCompanyType()
|
|
5352
|
+
})
|
|
5304
5353
|
}).json();
|
|
5305
5354
|
return itemStatusV2ResponseSchema.parse(data);
|
|
5306
5355
|
}
|
|
@@ -5334,10 +5383,12 @@ var itemErrorDetailsResultSchema = external_exports.object({
|
|
|
5334
5383
|
|
|
5335
5384
|
// lib/errors/v1/index.ts
|
|
5336
5385
|
var BASE_URL14 = "errors";
|
|
5337
|
-
function createErrorsApi(client
|
|
5386
|
+
function createErrorsApi(client) {
|
|
5338
5387
|
async function getInvalidItemErrorDetails(itemInfoId, signal) {
|
|
5339
5388
|
const data = await client.get(`${BASE_URL14}/items/${itemInfoId}`, {
|
|
5340
|
-
searchParams: getCompanyTypeSearchParams({
|
|
5389
|
+
searchParams: getCompanyTypeSearchParams({
|
|
5390
|
+
companyType: client.getCompanyType()
|
|
5391
|
+
}),
|
|
5341
5392
|
signal
|
|
5342
5393
|
}).json();
|
|
5343
5394
|
return itemErrorDetailsResultSchema.parse(data);
|
|
@@ -5416,7 +5467,7 @@ var itemErrorDetailsResultV2Schema = external_exports.object({
|
|
|
5416
5467
|
|
|
5417
5468
|
// lib/errors/v2/index.ts
|
|
5418
5469
|
var BASE_URL15 = "errors/v2";
|
|
5419
|
-
function createErrorsApiV2(client
|
|
5470
|
+
function createErrorsApiV2(client) {
|
|
5420
5471
|
async function getItemErrorSummary(params, signal) {
|
|
5421
5472
|
const searchParams = new URLSearchParams();
|
|
5422
5473
|
if (params.searchField)
|
|
@@ -5432,13 +5483,19 @@ function createErrorsApiV2(client, companyType) {
|
|
|
5432
5483
|
if (params.docInEventId)
|
|
5433
5484
|
searchParams.append("docInEventId", params.docInEventId);
|
|
5434
5485
|
if (params.importId) searchParams.append("importId", params.importId);
|
|
5435
|
-
if (
|
|
5436
|
-
|
|
5486
|
+
if (client.getCompanyType())
|
|
5487
|
+
searchParams.append("companyType", client.getCompanyType());
|
|
5488
|
+
const data = await client.get(`${BASE_URL15}/summary`, {
|
|
5489
|
+
signal,
|
|
5490
|
+
searchParams
|
|
5491
|
+
}).json();
|
|
5437
5492
|
return itemErrorSummaryResultV2Schema.parse(data);
|
|
5438
5493
|
}
|
|
5439
5494
|
async function getItemErrorDetails(itemInfoId, signal) {
|
|
5440
5495
|
const data = await client.get(`${BASE_URL15}/items/${itemInfoId}`, {
|
|
5441
|
-
searchParams: getCompanyTypeSearchParams({
|
|
5496
|
+
searchParams: getCompanyTypeSearchParams({
|
|
5497
|
+
companyType: client.getCompanyType()
|
|
5498
|
+
}),
|
|
5442
5499
|
signal
|
|
5443
5500
|
}).json();
|
|
5444
5501
|
return itemErrorDetailsResultV2Schema.parse(data);
|
|
@@ -5523,9 +5580,6 @@ function createUniqueCriteriaApi(client) {
|
|
|
5523
5580
|
};
|
|
5524
5581
|
}
|
|
5525
5582
|
|
|
5526
|
-
// lib/companies/models/CompanyType.ts
|
|
5527
|
-
var companyTypeSchema = external_exports.enum(["SUPPLIER", "RETAILER"]);
|
|
5528
|
-
|
|
5529
5583
|
// lib/companies/models/CompanyBriefByOrg.ts
|
|
5530
5584
|
var companyBriefByOrgSchema = external_exports.object({
|
|
5531
5585
|
companyId: external_exports.number(),
|
|
@@ -5535,6 +5589,88 @@ var companyBriefByOrgSchema = external_exports.object({
|
|
|
5535
5589
|
dc4Id: external_exports.number()
|
|
5536
5590
|
});
|
|
5537
5591
|
|
|
5592
|
+
// lib/companies/models/CompanyRelationship.ts
|
|
5593
|
+
var applicationSchema = external_exports.object({
|
|
5594
|
+
application: applicationTypeSchema,
|
|
5595
|
+
relationshipApplicationId: external_exports.number()
|
|
5596
|
+
});
|
|
5597
|
+
var catalogSchema = external_exports.object({
|
|
5598
|
+
active: external_exports.boolean(),
|
|
5599
|
+
catalogId: external_exports.number(),
|
|
5600
|
+
itemPartnerId: external_exports.number()
|
|
5601
|
+
});
|
|
5602
|
+
var relationshipCompanySchema = external_exports.object({
|
|
5603
|
+
companyId: external_exports.number(),
|
|
5604
|
+
companyTypes: external_exports.array(companyTypeSchema),
|
|
5605
|
+
dc4Id: external_exports.number().nullable(),
|
|
5606
|
+
name: external_exports.string(),
|
|
5607
|
+
orgId: external_exports.string()
|
|
5608
|
+
});
|
|
5609
|
+
var relationshipSchema = external_exports.object({
|
|
5610
|
+
active: external_exports.boolean(),
|
|
5611
|
+
application: external_exports.array(applicationSchema),
|
|
5612
|
+
catalog: external_exports.array(catalogSchema),
|
|
5613
|
+
company: relationshipCompanySchema,
|
|
5614
|
+
createdAt: external_exports.number(),
|
|
5615
|
+
modifiedAt: external_exports.number().nullable(),
|
|
5616
|
+
relationshipId: external_exports.number()
|
|
5617
|
+
});
|
|
5618
|
+
|
|
5619
|
+
// lib/companies/models/Company.ts
|
|
5620
|
+
var featureResponseSchema = external_exports.object({
|
|
5621
|
+
active: external_exports.boolean(),
|
|
5622
|
+
createdBy: external_exports.string().nullable(),
|
|
5623
|
+
createdDate: external_exports.number().nullable(),
|
|
5624
|
+
display: external_exports.string(),
|
|
5625
|
+
modifiedBy: external_exports.string().nullable(),
|
|
5626
|
+
modifiedDate: external_exports.number().nullable(),
|
|
5627
|
+
type: external_exports.string()
|
|
5628
|
+
});
|
|
5629
|
+
var identitySchema = external_exports.object({
|
|
5630
|
+
orgId: external_exports.string().nullable(),
|
|
5631
|
+
service: external_exports.object({
|
|
5632
|
+
name: external_exports.string()
|
|
5633
|
+
}).nullable()
|
|
5634
|
+
});
|
|
5635
|
+
var companySchema = external_exports.object({
|
|
5636
|
+
active: external_exports.boolean(),
|
|
5637
|
+
companyId: external_exports.number(),
|
|
5638
|
+
companyTypes: external_exports.array(companyTypeSchema),
|
|
5639
|
+
createdAt: external_exports.number().nullable(),
|
|
5640
|
+
features: external_exports.array(featureResponseSchema),
|
|
5641
|
+
identity: identitySchema,
|
|
5642
|
+
modifiedAt: external_exports.number().nullable(),
|
|
5643
|
+
name: external_exports.string(),
|
|
5644
|
+
relationships: external_exports.array(relationshipSchema),
|
|
5645
|
+
uniqueAttributes: external_exports.array(external_exports.string())
|
|
5646
|
+
});
|
|
5647
|
+
|
|
5648
|
+
// lib/companies/models/CompanySearch.ts
|
|
5649
|
+
var companySearchParamsSchema = external_exports.object({
|
|
5650
|
+
name: external_exports.string().min(2).max(100).optional(),
|
|
5651
|
+
companyIds: external_exports.string().min(2).optional(),
|
|
5652
|
+
orgId: external_exports.string().min(2).optional(),
|
|
5653
|
+
catalogName: external_exports.string().min(2).max(100).optional(),
|
|
5654
|
+
catalogIds: external_exports.string().min(2).optional(),
|
|
5655
|
+
type: companyTypeSchema.optional()
|
|
5656
|
+
});
|
|
5657
|
+
var companyCatalogSchema = external_exports.object({
|
|
5658
|
+
categoryId: external_exports.number(),
|
|
5659
|
+
categoryName: external_exports.string()
|
|
5660
|
+
});
|
|
5661
|
+
var companySearchSchema = external_exports.object({
|
|
5662
|
+
id: external_exports.string(),
|
|
5663
|
+
organizationName: external_exports.string(),
|
|
5664
|
+
description: external_exports.string(),
|
|
5665
|
+
orgId: external_exports.string().optional(),
|
|
5666
|
+
roles: external_exports.array(companyTypeSchema),
|
|
5667
|
+
connections: external_exports.number(),
|
|
5668
|
+
uniqueCriteria: external_exports.array(external_exports.string()).optional(),
|
|
5669
|
+
serviceName: external_exports.string(),
|
|
5670
|
+
catalogs: external_exports.array(companyCatalogSchema),
|
|
5671
|
+
application: external_exports.array(applicationTypeSchema).optional()
|
|
5672
|
+
});
|
|
5673
|
+
|
|
5538
5674
|
// lib/companies/index.ts
|
|
5539
5675
|
var BASE_URL17 = "v3/companys";
|
|
5540
5676
|
function createCompaniesApi(client) {
|
|
@@ -5545,7 +5681,20 @@ function createCompaniesApi(client) {
|
|
|
5545
5681
|
}).json();
|
|
5546
5682
|
return companyBriefByOrgSchema.parse(data);
|
|
5547
5683
|
}
|
|
5548
|
-
|
|
5684
|
+
async function companySearch(params, signal) {
|
|
5685
|
+
const data = await client.get(`${BASE_URL17}/search`, {
|
|
5686
|
+
searchParams: params,
|
|
5687
|
+
signal
|
|
5688
|
+
}).json();
|
|
5689
|
+
return external_exports.array(companySearchSchema).parse(data);
|
|
5690
|
+
}
|
|
5691
|
+
async function getCompanyById(companyId, signal) {
|
|
5692
|
+
const data = await client.get(`${BASE_URL17}/${companyId}`, {
|
|
5693
|
+
signal
|
|
5694
|
+
}).json();
|
|
5695
|
+
return companySchema.parse(data);
|
|
5696
|
+
}
|
|
5697
|
+
return { getCompanyBriefInfoByOrg, companySearch, getCompanyById };
|
|
5549
5698
|
}
|
|
5550
5699
|
|
|
5551
5700
|
// lib/rulesManagement/index.ts
|
package/dist/index.d.cts
CHANGED
|
@@ -1,19 +1,109 @@
|
|
|
1
|
-
import { A as AsstClient, I as ItemHierarchyResponse, S as SpsItemIdResponse, C as CompanyBriefByOrg } from './SpsItemIdResponse-
|
|
2
|
-
export {
|
|
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-
|
|
1
|
+
import { A as AsstClient, I as ItemHierarchyResponse, a as CompanyType, S as SpsItemIdResponse, C as CompanyBriefByOrg } from './SpsItemIdResponse-BEq6yqtR.cjs';
|
|
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-BKip1Oyo.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-BKip1Oyo.cjs';
|
|
5
5
|
import { z } from 'zod';
|
|
6
|
+
import { b as CompanySearchParams, C as CompanySearch, a as Company } from './CompanySearch-T6HJx4a6.cjs';
|
|
6
7
|
import 'ky';
|
|
7
8
|
|
|
8
|
-
declare const
|
|
9
|
-
|
|
9
|
+
declare const relationshipSchema: z.ZodObject<{
|
|
10
|
+
active: z.ZodBoolean;
|
|
11
|
+
application: z.ZodArray<z.ZodObject<{
|
|
12
|
+
application: z.ZodEnum<["ASSORTMENT", "ITEM-XREF", "TEST-ORDER-GENERATOR"]>;
|
|
13
|
+
relationshipApplicationId: z.ZodNumber;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
application: "ASSORTMENT" | "ITEM-XREF" | "TEST-ORDER-GENERATOR";
|
|
16
|
+
relationshipApplicationId: number;
|
|
17
|
+
}, {
|
|
18
|
+
application: "ASSORTMENT" | "ITEM-XREF" | "TEST-ORDER-GENERATOR";
|
|
19
|
+
relationshipApplicationId: number;
|
|
20
|
+
}>, "many">;
|
|
21
|
+
catalog: z.ZodArray<z.ZodObject<{
|
|
22
|
+
active: z.ZodBoolean;
|
|
23
|
+
catalogId: z.ZodNumber;
|
|
24
|
+
itemPartnerId: z.ZodNumber;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
active: boolean;
|
|
27
|
+
catalogId: number;
|
|
28
|
+
itemPartnerId: number;
|
|
29
|
+
}, {
|
|
30
|
+
active: boolean;
|
|
31
|
+
catalogId: number;
|
|
32
|
+
itemPartnerId: number;
|
|
33
|
+
}>, "many">;
|
|
34
|
+
company: z.ZodObject<{
|
|
35
|
+
companyId: z.ZodNumber;
|
|
36
|
+
companyTypes: z.ZodArray<z.ZodEnum<["SUPPLIER", "RETAILER"]>, "many">;
|
|
37
|
+
dc4Id: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
name: z.ZodString;
|
|
39
|
+
orgId: z.ZodString;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
companyId: number;
|
|
42
|
+
name: string;
|
|
43
|
+
orgId: string;
|
|
44
|
+
companyTypes: ("SUPPLIER" | "RETAILER")[];
|
|
45
|
+
dc4Id: number | null;
|
|
46
|
+
}, {
|
|
47
|
+
companyId: number;
|
|
48
|
+
name: string;
|
|
49
|
+
orgId: string;
|
|
50
|
+
companyTypes: ("SUPPLIER" | "RETAILER")[];
|
|
51
|
+
dc4Id: number | null;
|
|
52
|
+
}>;
|
|
53
|
+
createdAt: z.ZodNumber;
|
|
54
|
+
modifiedAt: z.ZodNullable<z.ZodNumber>;
|
|
55
|
+
relationshipId: z.ZodNumber;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
application: {
|
|
58
|
+
application: "ASSORTMENT" | "ITEM-XREF" | "TEST-ORDER-GENERATOR";
|
|
59
|
+
relationshipApplicationId: number;
|
|
60
|
+
}[];
|
|
61
|
+
active: boolean;
|
|
62
|
+
catalog: {
|
|
63
|
+
active: boolean;
|
|
64
|
+
catalogId: number;
|
|
65
|
+
itemPartnerId: number;
|
|
66
|
+
}[];
|
|
67
|
+
company: {
|
|
68
|
+
companyId: number;
|
|
69
|
+
name: string;
|
|
70
|
+
orgId: string;
|
|
71
|
+
companyTypes: ("SUPPLIER" | "RETAILER")[];
|
|
72
|
+
dc4Id: number | null;
|
|
73
|
+
};
|
|
74
|
+
createdAt: number;
|
|
75
|
+
modifiedAt: number | null;
|
|
76
|
+
relationshipId: number;
|
|
77
|
+
}, {
|
|
78
|
+
application: {
|
|
79
|
+
application: "ASSORTMENT" | "ITEM-XREF" | "TEST-ORDER-GENERATOR";
|
|
80
|
+
relationshipApplicationId: number;
|
|
81
|
+
}[];
|
|
82
|
+
active: boolean;
|
|
83
|
+
catalog: {
|
|
84
|
+
active: boolean;
|
|
85
|
+
catalogId: number;
|
|
86
|
+
itemPartnerId: number;
|
|
87
|
+
}[];
|
|
88
|
+
company: {
|
|
89
|
+
companyId: number;
|
|
90
|
+
name: string;
|
|
91
|
+
orgId: string;
|
|
92
|
+
companyTypes: ("SUPPLIER" | "RETAILER")[];
|
|
93
|
+
dc4Id: number | null;
|
|
94
|
+
};
|
|
95
|
+
createdAt: number;
|
|
96
|
+
modifiedAt: number | null;
|
|
97
|
+
relationshipId: number;
|
|
98
|
+
}>;
|
|
99
|
+
type CompanyRelationship = z.infer<typeof relationshipSchema>;
|
|
10
100
|
|
|
11
101
|
/**
|
|
12
102
|
* Initialize Imports Api functions
|
|
13
103
|
* @param client Assortment Client instance
|
|
14
104
|
* @returns An object containing Imports API functions
|
|
15
105
|
*/
|
|
16
|
-
declare function createImportsApi(client: AsstClient
|
|
106
|
+
declare function createImportsApi(client: AsstClient): {
|
|
17
107
|
getImportErrors: (importId: string, params?: {
|
|
18
108
|
offset?: number;
|
|
19
109
|
limit?: number;
|
|
@@ -44,7 +134,7 @@ declare function createImportsApi(client: AsstClient, companyType?: CompanyType)
|
|
|
44
134
|
* @param companyType Company type for perspective
|
|
45
135
|
* @returns An object containing Exports API functions
|
|
46
136
|
*/
|
|
47
|
-
declare function createExportsApi(client: AsstClient
|
|
137
|
+
declare function createExportsApi(client: AsstClient): {
|
|
48
138
|
createExport: (data: Export, params?: {
|
|
49
139
|
orgId?: string;
|
|
50
140
|
}) => Promise<void>;
|
|
@@ -65,10 +155,9 @@ declare function createProductTypesApi(client: AsstClient): {
|
|
|
65
155
|
/**
|
|
66
156
|
* Initialize Trading Partner Access Api functions
|
|
67
157
|
* @param client Assortment Client instance
|
|
68
|
-
* @param companyType Company type for perspective
|
|
69
158
|
* @returns An object containing Trading Partner Access API functions
|
|
70
159
|
*/
|
|
71
|
-
declare function createTradingPartnerAccessApi(client: AsstClient
|
|
160
|
+
declare function createTradingPartnerAccessApi(client: AsstClient): {
|
|
72
161
|
getAllTradingPartners: (params?: {
|
|
73
162
|
orgId?: string;
|
|
74
163
|
}, signal?: AbortSignal) => Promise<TradingPartnerAccessByCompanyId>;
|
|
@@ -82,10 +171,9 @@ type RetailerTradingPartnerStages = z.infer<typeof retailerTradingPartnerStages>
|
|
|
82
171
|
/**
|
|
83
172
|
* Initialize Trading Partner Settings Api functions
|
|
84
173
|
* @param client Assortment Client instance
|
|
85
|
-
* @param companyType Company type for perspective
|
|
86
174
|
* @returns An object containing Trading Partner Settings API functions
|
|
87
175
|
*/
|
|
88
|
-
declare function createTradingPartnerSettingsApi(client: AsstClient
|
|
176
|
+
declare function createTradingPartnerSettingsApi(client: AsstClient): {
|
|
89
177
|
getRetailerStages: (signal?: AbortSignal) => Promise<RetailerTradingPartnerStages>;
|
|
90
178
|
};
|
|
91
179
|
|
|
@@ -99,12 +187,12 @@ declare const catalogCreateRequestSchema: z.ZodObject<{
|
|
|
99
187
|
companyId: z.ZodNumber;
|
|
100
188
|
}, "strip", z.ZodTypeAny, {
|
|
101
189
|
type: string;
|
|
102
|
-
name: string;
|
|
103
190
|
companyId: number;
|
|
191
|
+
name: string;
|
|
104
192
|
}, {
|
|
105
193
|
type: string;
|
|
106
|
-
name: string;
|
|
107
194
|
companyId: number;
|
|
195
|
+
name: string;
|
|
108
196
|
}>;
|
|
109
197
|
type CatalogCreateRequest = z.infer<typeof catalogCreateRequestSchema>;
|
|
110
198
|
/**
|
|
@@ -151,6 +239,8 @@ declare const catalogBriefResponseSchema: z.ZodObject<{
|
|
|
151
239
|
createdBy: z.ZodString;
|
|
152
240
|
modifiedBy: z.ZodString;
|
|
153
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
+
createdAt: string;
|
|
243
|
+
modifiedAt: string;
|
|
154
244
|
createdBy: string;
|
|
155
245
|
modifiedBy: string;
|
|
156
246
|
categoryId: number;
|
|
@@ -159,9 +249,9 @@ declare const catalogBriefResponseSchema: z.ZodObject<{
|
|
|
159
249
|
categoryDescriptionExt: string;
|
|
160
250
|
ownerCompanyId: string;
|
|
161
251
|
categoryTypeId: number;
|
|
252
|
+
}, {
|
|
162
253
|
createdAt: string;
|
|
163
254
|
modifiedAt: string;
|
|
164
|
-
}, {
|
|
165
255
|
createdBy: string;
|
|
166
256
|
modifiedBy: string;
|
|
167
257
|
categoryId: number;
|
|
@@ -170,8 +260,6 @@ declare const catalogBriefResponseSchema: z.ZodObject<{
|
|
|
170
260
|
categoryDescriptionExt: string;
|
|
171
261
|
ownerCompanyId: string;
|
|
172
262
|
categoryTypeId: number;
|
|
173
|
-
createdAt: string;
|
|
174
|
-
modifiedAt: string;
|
|
175
263
|
}>;
|
|
176
264
|
type CatalogBriefResponse = z.infer<typeof catalogBriefResponseSchema>;
|
|
177
265
|
|
|
@@ -471,10 +559,9 @@ type ItemsApi = {
|
|
|
471
559
|
/**
|
|
472
560
|
* Initialize Items Api functions
|
|
473
561
|
* @param client Assortment Client instance
|
|
474
|
-
* @param companyType Optional company type eg "RETAILER" | "SUPPLIER"
|
|
475
562
|
* @returns An object containing Items API functions
|
|
476
563
|
*/
|
|
477
|
-
declare function createItemsApi(client: AsstClient
|
|
564
|
+
declare function createItemsApi(client: AsstClient): ItemsApi;
|
|
478
565
|
|
|
479
566
|
declare const itemOrgStageDetailsSchema: z.ZodObject<{
|
|
480
567
|
/**
|
|
@@ -772,20 +859,18 @@ type Stage = z.infer<typeof stageSchema>;
|
|
|
772
859
|
/**
|
|
773
860
|
* Initialize Items Api functions
|
|
774
861
|
* @param client Assortment Client instance
|
|
775
|
-
* @param companyType Company type for perspective
|
|
776
862
|
* @returns An object containing Items API functions
|
|
777
863
|
*/
|
|
778
864
|
declare function createItemsApiV2(client: AsstClient): {
|
|
779
|
-
getItemStatus: (
|
|
865
|
+
getItemStatus: (itemIds: string[]) => Promise<ItemStatusV2Response>;
|
|
780
866
|
};
|
|
781
867
|
|
|
782
868
|
/**
|
|
783
869
|
* Initialize Errors Api functions
|
|
784
870
|
* @param client Assortment Client instance
|
|
785
|
-
* @param companyType Company type for perspective
|
|
786
871
|
* @returns An object containing Errors API functions
|
|
787
872
|
*/
|
|
788
|
-
declare function createErrorsApi(client: AsstClient
|
|
873
|
+
declare function createErrorsApi(client: AsstClient): {
|
|
789
874
|
getInvalidItemErrorDetails: (itemInfoId: string, signal?: AbortSignal) => Promise<ItemErrorDetailsResult>;
|
|
790
875
|
};
|
|
791
876
|
|
|
@@ -804,7 +889,7 @@ type GetItemErrorSummaryParams = {
|
|
|
804
889
|
* @param companyType Company type for perspective
|
|
805
890
|
* @returns An object containing Errors API functions
|
|
806
891
|
*/
|
|
807
|
-
declare function createErrorsApiV2(client: AsstClient
|
|
892
|
+
declare function createErrorsApiV2(client: AsstClient): {
|
|
808
893
|
getItemErrorSummary: (params: GetItemErrorSummaryParams, signal?: AbortSignal) => Promise<ItemErrorSummaryResultV2>;
|
|
809
894
|
getItemErrorDetails: (itemInfoId: number, signal?: AbortSignal) => Promise<ItemErrorDetailsResultV2>;
|
|
810
895
|
};
|
|
@@ -851,6 +936,8 @@ declare function createCompaniesApi(client: AsstClient): {
|
|
|
851
936
|
getCompanyBriefInfoByOrg: (params?: {
|
|
852
937
|
orgId?: string;
|
|
853
938
|
}, signal?: AbortSignal) => Promise<CompanyBriefByOrg>;
|
|
939
|
+
companySearch: (params?: CompanySearchParams, signal?: AbortSignal) => Promise<CompanySearch[]>;
|
|
940
|
+
getCompanyById: (companyId: number, signal?: AbortSignal) => Promise<Company>;
|
|
854
941
|
};
|
|
855
942
|
|
|
856
943
|
declare const activateRuleRequestDtoSchema: z.ZodObject<{
|
|
@@ -874,4 +961,4 @@ declare function createRulesManagementApi(client: AsstClient): {
|
|
|
874
961
|
activateRule: (ruleId: string, request: ActivateRuleRequestDto, signal?: AbortSignal) => Promise<void>;
|
|
875
962
|
};
|
|
876
963
|
|
|
877
|
-
export { type ActivateRuleRequestDto, type ApplicationType, AsstClient, AttrProdType, type CatalogBriefResponse, type CatalogCreateRequest, type CatalogCreateResponse, type CatalogSearchParams, type CategoriesApi, CompanyBriefByOrg, CompanyRelationshipUpsertBody, 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 };
|
|
964
|
+
export { type ActivateRuleRequestDto, type ApplicationType, AsstClient, AttrProdType, type CatalogBriefResponse, type CatalogCreateRequest, type CatalogCreateResponse, type CatalogSearchParams, type CategoriesApi, Company, CompanyBriefByOrg, type CompanyRelationship, CompanyRelationshipUpsertBody, CompanySearch, CompanySearchParams, CompanyType, 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 };
|