@simpleapps-com/augur-api 2026.10.20 → 2026.10.21
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/{client-DkdD_JGo.d.mts → client-DT9cVxyf.d.mts} +144 -63
- package/dist/{client-DkdD_JGo.d.ts → client-DT9cVxyf.d.ts} +144 -63
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +86 -34
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +86 -34
- package/dist/index.mjs.map +1 -1
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8635,6 +8635,11 @@ var BrandsGetParamsSchema = v12.looseObject({
|
|
|
8635
8635
|
...EdgeCacheParamsSchema.entries,
|
|
8636
8636
|
brandsId: v12.optional(v12.string())
|
|
8637
8637
|
});
|
|
8638
|
+
var BrandsCategoriesListParamsSchema = v12.looseObject({
|
|
8639
|
+
...EdgeCacheParamsSchema.entries,
|
|
8640
|
+
limit: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8641
|
+
offset: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number)))
|
|
8642
|
+
});
|
|
8638
8643
|
var BrandsFacetsListParamsSchema = v12.looseObject({
|
|
8639
8644
|
...EdgeCacheParamsSchema.entries,
|
|
8640
8645
|
classId5ExcludeList: v12.optional(v12.string()),
|
|
@@ -8642,6 +8647,8 @@ var BrandsFacetsListParamsSchema = v12.looseObject({
|
|
|
8642
8647
|
discontinuedAny: v12.optional(v12.string()),
|
|
8643
8648
|
filters: v12.optional(v12.string()),
|
|
8644
8649
|
from: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8650
|
+
itemCategoryUid: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8651
|
+
parentCategoryUid: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8645
8652
|
q: v12.optional(v12.string()),
|
|
8646
8653
|
size: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8647
8654
|
sort: v12.optional(v12.string()),
|
|
@@ -8658,8 +8665,10 @@ var BrandsItemsListParamsSchema = v12.looseObject({
|
|
|
8658
8665
|
fields: v12.optional(v12.string()),
|
|
8659
8666
|
filters: v12.optional(v12.string()),
|
|
8660
8667
|
includeStock: v12.optional(v12.string()),
|
|
8668
|
+
itemCategoryUid: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8661
8669
|
limit: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8662
8670
|
offset: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8671
|
+
parentCategoryUid: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8663
8672
|
q: v12.optional(v12.string()),
|
|
8664
8673
|
sortBy: v12.optional(v12.string()),
|
|
8665
8674
|
sortOrder: v12.optional(v12.string()),
|
|
@@ -9906,6 +9915,14 @@ var BrandsAttributesListDataSchema = v12.looseObject({
|
|
|
9906
9915
|
})
|
|
9907
9916
|
)
|
|
9908
9917
|
});
|
|
9918
|
+
var BrandsCategoriesListDataSchema = v12.array(
|
|
9919
|
+
v12.looseObject({
|
|
9920
|
+
itemCategoryUid: v12.number(),
|
|
9921
|
+
itemCategoryId: v12.string(),
|
|
9922
|
+
itemCategoryDesc: v12.string(),
|
|
9923
|
+
itemCount: v12.number()
|
|
9924
|
+
})
|
|
9925
|
+
);
|
|
9909
9926
|
var BrandsFacetsListDataSchema = v12.looseObject({
|
|
9910
9927
|
meta: v12.looseObject({
|
|
9911
9928
|
took: v12.number(),
|
|
@@ -11382,7 +11399,6 @@ var InvMastLocationsBinsGetDataSchema = v12.looseObject({
|
|
|
11382
11399
|
),
|
|
11383
11400
|
lastMaintainedBy: v12.string()
|
|
11384
11401
|
});
|
|
11385
|
-
var InvMastPrecacheListDataSchema = v12.boolean();
|
|
11386
11402
|
var InvMastPromotionalGroupsListDataSchema = v12.array(
|
|
11387
11403
|
v12.looseObject({
|
|
11388
11404
|
promotionalGroupDetUid: v12.number(),
|
|
@@ -12122,7 +12138,6 @@ var ItemCategoryGetDataSchema = v12.looseObject({
|
|
|
12122
12138
|
processCd: v12.number(),
|
|
12123
12139
|
itemCount: v12.number()
|
|
12124
12140
|
});
|
|
12125
|
-
var ItemCategoryPrecacheListDataSchema = InvMastPrecacheListDataSchema;
|
|
12126
12141
|
var ItemConversionListDataSchema = v12.array(
|
|
12127
12142
|
v12.looseObject({
|
|
12128
12143
|
fromUom: v12.string(),
|
|
@@ -12174,7 +12189,7 @@ var ItemFavoritesItemsGetDataSchema = v12.looseObject({
|
|
|
12174
12189
|
processCd: v12.number()
|
|
12175
12190
|
});
|
|
12176
12191
|
var ItemFavoritesItemsUpdateDataSchema = ItemFavoritesItemsGetDataSchema;
|
|
12177
|
-
var ItemFavoritesItemsDeleteDataSchema =
|
|
12192
|
+
var ItemFavoritesItemsDeleteDataSchema = v12.boolean();
|
|
12178
12193
|
var ItemPackageTypeListDataSchema = v12.array(
|
|
12179
12194
|
v12.looseObject({
|
|
12180
12195
|
itemPackageTypeUid: v12.number(),
|
|
@@ -13367,6 +13382,25 @@ var endpoints12 = [
|
|
|
13367
13382
|
responseSchema: BrandsAttributesListDataSchema,
|
|
13368
13383
|
responseType: "object"
|
|
13369
13384
|
},
|
|
13385
|
+
{
|
|
13386
|
+
method: "GET",
|
|
13387
|
+
path: "/brands/{brandsUid}/categories",
|
|
13388
|
+
chain: "brands.categories",
|
|
13389
|
+
action: "list",
|
|
13390
|
+
aliases: [],
|
|
13391
|
+
pathParams: ["brandsUid"],
|
|
13392
|
+
pathPatterns: { brandsUid: "^\\d+$" },
|
|
13393
|
+
queryParams: ["limit", "offset"],
|
|
13394
|
+
edgeCache: true,
|
|
13395
|
+
summary: "List categories for a brand",
|
|
13396
|
+
params: {
|
|
13397
|
+
brandsUid: { in: "path", type: "integer", required: true },
|
|
13398
|
+
limit: { in: "query", type: "integer", required: false },
|
|
13399
|
+
offset: { in: "query", type: "integer", required: false }
|
|
13400
|
+
},
|
|
13401
|
+
responseSchema: BrandsCategoriesListDataSchema,
|
|
13402
|
+
responseType: "array"
|
|
13403
|
+
},
|
|
13370
13404
|
{
|
|
13371
13405
|
method: "GET",
|
|
13372
13406
|
path: "/brands/{brandsUid}/facets",
|
|
@@ -13381,6 +13415,8 @@ var endpoints12 = [
|
|
|
13381
13415
|
"discontinuedAny",
|
|
13382
13416
|
"filters",
|
|
13383
13417
|
"from",
|
|
13418
|
+
"itemCategoryUid",
|
|
13419
|
+
"parentCategoryUid",
|
|
13384
13420
|
"q",
|
|
13385
13421
|
"size",
|
|
13386
13422
|
"sort",
|
|
@@ -13398,6 +13434,8 @@ var endpoints12 = [
|
|
|
13398
13434
|
discontinuedAny: { in: "query", type: "string", required: false },
|
|
13399
13435
|
filters: { in: "query", type: "string", required: false },
|
|
13400
13436
|
from: { in: "query", type: "integer", required: false },
|
|
13437
|
+
itemCategoryUid: { in: "query", type: "integer", required: false },
|
|
13438
|
+
parentCategoryUid: { in: "query", type: "integer", required: false },
|
|
13401
13439
|
q: { in: "query", type: "string", required: false },
|
|
13402
13440
|
size: { in: "query", type: "integer", required: false },
|
|
13403
13441
|
sort: { in: "query", type: "string", required: false },
|
|
@@ -13424,8 +13462,10 @@ var endpoints12 = [
|
|
|
13424
13462
|
"fields",
|
|
13425
13463
|
"filters",
|
|
13426
13464
|
"includeStock",
|
|
13465
|
+
"itemCategoryUid",
|
|
13427
13466
|
"limit",
|
|
13428
13467
|
"offset",
|
|
13468
|
+
"parentCategoryUid",
|
|
13429
13469
|
"q",
|
|
13430
13470
|
"sortBy",
|
|
13431
13471
|
"sortOrder",
|
|
@@ -13442,8 +13482,10 @@ var endpoints12 = [
|
|
|
13442
13482
|
fields: { in: "query", type: "string", required: false },
|
|
13443
13483
|
filters: { in: "query", type: "string", required: false },
|
|
13444
13484
|
includeStock: { in: "query", type: "string", required: false },
|
|
13485
|
+
itemCategoryUid: { in: "query", type: "integer", required: false },
|
|
13445
13486
|
limit: { in: "query", type: "integer", required: false },
|
|
13446
13487
|
offset: { in: "query", type: "integer", required: false },
|
|
13488
|
+
parentCategoryUid: { in: "query", type: "integer", required: false },
|
|
13447
13489
|
q: { in: "query", type: "string", required: false },
|
|
13448
13490
|
sortBy: { in: "query", type: "string", required: false },
|
|
13449
13491
|
sortOrder: { in: "query", type: "string", required: false },
|
|
@@ -14654,21 +14696,6 @@ var endpoints12 = [
|
|
|
14654
14696
|
responseSchema: InvMastLocationsBinsGetDataSchema,
|
|
14655
14697
|
responseType: "object"
|
|
14656
14698
|
},
|
|
14657
|
-
{
|
|
14658
|
-
method: "GET",
|
|
14659
|
-
path: "/inv-mast/{invMastUid}/precache",
|
|
14660
|
-
chain: "invMast.precache",
|
|
14661
|
-
action: "list",
|
|
14662
|
-
aliases: [],
|
|
14663
|
-
pathParams: ["invMastUid"],
|
|
14664
|
-
pathPatterns: { invMastUid: "^\\d+$" },
|
|
14665
|
-
queryParams: [],
|
|
14666
|
-
edgeCache: true,
|
|
14667
|
-
summary: "Queue item pre-cache",
|
|
14668
|
-
params: { invMastUid: { in: "path", type: "integer", required: true } },
|
|
14669
|
-
responseSchema: InvMastPrecacheListDataSchema,
|
|
14670
|
-
responseType: "scalar"
|
|
14671
|
-
},
|
|
14672
14699
|
{
|
|
14673
14700
|
method: "GET",
|
|
14674
14701
|
path: "/inv-mast/{invMastUid}/promotional-groups",
|
|
@@ -15260,21 +15287,6 @@ var endpoints12 = [
|
|
|
15260
15287
|
responseSchema: ItemCategoryGetDataSchema,
|
|
15261
15288
|
responseType: "object"
|
|
15262
15289
|
},
|
|
15263
|
-
{
|
|
15264
|
-
method: "GET",
|
|
15265
|
-
path: "/item-category/{itemCategoryUid}/precache",
|
|
15266
|
-
chain: "itemCategory.precache",
|
|
15267
|
-
action: "list",
|
|
15268
|
-
aliases: [],
|
|
15269
|
-
pathParams: ["itemCategoryUid"],
|
|
15270
|
-
pathPatterns: { itemCategoryUid: "^\\d+$" },
|
|
15271
|
-
queryParams: [],
|
|
15272
|
-
edgeCache: true,
|
|
15273
|
-
summary: "Queue item category pre-cache",
|
|
15274
|
-
params: { itemCategoryUid: { in: "path", type: "integer", required: true } },
|
|
15275
|
-
responseSchema: ItemCategoryPrecacheListDataSchema,
|
|
15276
|
-
responseType: "scalar"
|
|
15277
|
-
},
|
|
15278
15290
|
{
|
|
15279
15291
|
method: "GET",
|
|
15280
15292
|
path: "/item-conversion",
|
|
@@ -18248,6 +18260,15 @@ var SpeedshipFreightListParamsSchema = v15.looseObject({
|
|
|
18248
18260
|
vendorId: v15.optional(v15.string()),
|
|
18249
18261
|
weightUnit: v15.string()
|
|
18250
18262
|
});
|
|
18263
|
+
var UPSAddressValidationListParamsSchema = v15.looseObject({
|
|
18264
|
+
...EdgeCacheParamsSchema.entries,
|
|
18265
|
+
address1: v15.string(),
|
|
18266
|
+
address2: v15.optional(v15.string()),
|
|
18267
|
+
city: v15.optional(v15.string()),
|
|
18268
|
+
countryCode: v15.optional(v15.string()),
|
|
18269
|
+
postalCode: v15.string(),
|
|
18270
|
+
stateProvinceCode: v15.optional(v15.string())
|
|
18271
|
+
});
|
|
18251
18272
|
var UPSRatesListParamsSchema = v15.looseObject({
|
|
18252
18273
|
...EdgeCacheParamsSchema.entries,
|
|
18253
18274
|
fromAddress1: v15.string(),
|
|
@@ -18360,6 +18381,15 @@ var ShipviaRatesListDataSchema = v15.array(
|
|
|
18360
18381
|
})
|
|
18361
18382
|
);
|
|
18362
18383
|
var ShipviaRatesLtlListDataSchema = ShipviaRatesListDataSchema;
|
|
18384
|
+
var UPSAddressValidationListDataSchema = v15.looseObject({
|
|
18385
|
+
classification: v15.string(),
|
|
18386
|
+
address1: v15.string(),
|
|
18387
|
+
address2: v15.string(),
|
|
18388
|
+
city: v15.string(),
|
|
18389
|
+
stateProvinceCode: v15.string(),
|
|
18390
|
+
postalCode: v15.string(),
|
|
18391
|
+
countryCode: v15.string()
|
|
18392
|
+
});
|
|
18363
18393
|
var UPSRatesListDataSchema = FedexRatesListDataSchema;
|
|
18364
18394
|
var PassthroughDataSchema14 = v15.record(v15.string(), v15.unknown());
|
|
18365
18395
|
|
|
@@ -18783,6 +18813,28 @@ var endpoints15 = [
|
|
|
18783
18813
|
responseSchema: PassthroughDataSchema14,
|
|
18784
18814
|
responseType: "passthrough"
|
|
18785
18815
|
},
|
|
18816
|
+
{
|
|
18817
|
+
method: "GET",
|
|
18818
|
+
path: "/ups/address-validation",
|
|
18819
|
+
chain: "ups.addressValidation",
|
|
18820
|
+
action: "list",
|
|
18821
|
+
aliases: [],
|
|
18822
|
+
pathParams: [],
|
|
18823
|
+
pathPatterns: {},
|
|
18824
|
+
queryParams: ["address1", "address2", "city", "countryCode", "postalCode", "stateProvinceCode"],
|
|
18825
|
+
edgeCache: true,
|
|
18826
|
+
summary: "Validate and Classify UPS Address",
|
|
18827
|
+
params: {
|
|
18828
|
+
address1: { in: "query", type: "string", required: true },
|
|
18829
|
+
address2: { in: "query", type: "string", required: false },
|
|
18830
|
+
city: { in: "query", type: "string", required: false },
|
|
18831
|
+
countryCode: { in: "query", type: "string", required: false },
|
|
18832
|
+
postalCode: { in: "query", type: "string", required: true },
|
|
18833
|
+
stateProvinceCode: { in: "query", type: "string", required: false }
|
|
18834
|
+
},
|
|
18835
|
+
responseSchema: UPSAddressValidationListDataSchema,
|
|
18836
|
+
responseType: "object"
|
|
18837
|
+
},
|
|
18786
18838
|
{
|
|
18787
18839
|
method: "GET",
|
|
18788
18840
|
path: "/ups/rates",
|
|
@@ -35835,7 +35887,7 @@ function createCrossSiteAuthenticator(augurInfoToken) {
|
|
|
35835
35887
|
}
|
|
35836
35888
|
|
|
35837
35889
|
// src/index.ts
|
|
35838
|
-
var VERSION = "2026.10.
|
|
35890
|
+
var VERSION = "2026.10.21";
|
|
35839
35891
|
// Annotate the CommonJS export names for ESM import in node:
|
|
35840
35892
|
0 && (module.exports = {
|
|
35841
35893
|
AgrInfoClient,
|