@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.mjs
CHANGED
|
@@ -8554,6 +8554,11 @@ var BrandsGetParamsSchema = v12.looseObject({
|
|
|
8554
8554
|
...EdgeCacheParamsSchema.entries,
|
|
8555
8555
|
brandsId: v12.optional(v12.string())
|
|
8556
8556
|
});
|
|
8557
|
+
var BrandsCategoriesListParamsSchema = v12.looseObject({
|
|
8558
|
+
...EdgeCacheParamsSchema.entries,
|
|
8559
|
+
limit: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8560
|
+
offset: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number)))
|
|
8561
|
+
});
|
|
8557
8562
|
var BrandsFacetsListParamsSchema = v12.looseObject({
|
|
8558
8563
|
...EdgeCacheParamsSchema.entries,
|
|
8559
8564
|
classId5ExcludeList: v12.optional(v12.string()),
|
|
@@ -8561,6 +8566,8 @@ var BrandsFacetsListParamsSchema = v12.looseObject({
|
|
|
8561
8566
|
discontinuedAny: v12.optional(v12.string()),
|
|
8562
8567
|
filters: v12.optional(v12.string()),
|
|
8563
8568
|
from: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8569
|
+
itemCategoryUid: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8570
|
+
parentCategoryUid: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8564
8571
|
q: v12.optional(v12.string()),
|
|
8565
8572
|
size: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8566
8573
|
sort: v12.optional(v12.string()),
|
|
@@ -8577,8 +8584,10 @@ var BrandsItemsListParamsSchema = v12.looseObject({
|
|
|
8577
8584
|
fields: v12.optional(v12.string()),
|
|
8578
8585
|
filters: v12.optional(v12.string()),
|
|
8579
8586
|
includeStock: v12.optional(v12.string()),
|
|
8587
|
+
itemCategoryUid: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8580
8588
|
limit: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8581
8589
|
offset: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8590
|
+
parentCategoryUid: v12.optional(v12.pipe(v12.unknown(), v12.transform(Number))),
|
|
8582
8591
|
q: v12.optional(v12.string()),
|
|
8583
8592
|
sortBy: v12.optional(v12.string()),
|
|
8584
8593
|
sortOrder: v12.optional(v12.string()),
|
|
@@ -9825,6 +9834,14 @@ var BrandsAttributesListDataSchema = v12.looseObject({
|
|
|
9825
9834
|
})
|
|
9826
9835
|
)
|
|
9827
9836
|
});
|
|
9837
|
+
var BrandsCategoriesListDataSchema = v12.array(
|
|
9838
|
+
v12.looseObject({
|
|
9839
|
+
itemCategoryUid: v12.number(),
|
|
9840
|
+
itemCategoryId: v12.string(),
|
|
9841
|
+
itemCategoryDesc: v12.string(),
|
|
9842
|
+
itemCount: v12.number()
|
|
9843
|
+
})
|
|
9844
|
+
);
|
|
9828
9845
|
var BrandsFacetsListDataSchema = v12.looseObject({
|
|
9829
9846
|
meta: v12.looseObject({
|
|
9830
9847
|
took: v12.number(),
|
|
@@ -11301,7 +11318,6 @@ var InvMastLocationsBinsGetDataSchema = v12.looseObject({
|
|
|
11301
11318
|
),
|
|
11302
11319
|
lastMaintainedBy: v12.string()
|
|
11303
11320
|
});
|
|
11304
|
-
var InvMastPrecacheListDataSchema = v12.boolean();
|
|
11305
11321
|
var InvMastPromotionalGroupsListDataSchema = v12.array(
|
|
11306
11322
|
v12.looseObject({
|
|
11307
11323
|
promotionalGroupDetUid: v12.number(),
|
|
@@ -12041,7 +12057,6 @@ var ItemCategoryGetDataSchema = v12.looseObject({
|
|
|
12041
12057
|
processCd: v12.number(),
|
|
12042
12058
|
itemCount: v12.number()
|
|
12043
12059
|
});
|
|
12044
|
-
var ItemCategoryPrecacheListDataSchema = InvMastPrecacheListDataSchema;
|
|
12045
12060
|
var ItemConversionListDataSchema = v12.array(
|
|
12046
12061
|
v12.looseObject({
|
|
12047
12062
|
fromUom: v12.string(),
|
|
@@ -12093,7 +12108,7 @@ var ItemFavoritesItemsGetDataSchema = v12.looseObject({
|
|
|
12093
12108
|
processCd: v12.number()
|
|
12094
12109
|
});
|
|
12095
12110
|
var ItemFavoritesItemsUpdateDataSchema = ItemFavoritesItemsGetDataSchema;
|
|
12096
|
-
var ItemFavoritesItemsDeleteDataSchema =
|
|
12111
|
+
var ItemFavoritesItemsDeleteDataSchema = v12.boolean();
|
|
12097
12112
|
var ItemPackageTypeListDataSchema = v12.array(
|
|
12098
12113
|
v12.looseObject({
|
|
12099
12114
|
itemPackageTypeUid: v12.number(),
|
|
@@ -13286,6 +13301,25 @@ var endpoints12 = [
|
|
|
13286
13301
|
responseSchema: BrandsAttributesListDataSchema,
|
|
13287
13302
|
responseType: "object"
|
|
13288
13303
|
},
|
|
13304
|
+
{
|
|
13305
|
+
method: "GET",
|
|
13306
|
+
path: "/brands/{brandsUid}/categories",
|
|
13307
|
+
chain: "brands.categories",
|
|
13308
|
+
action: "list",
|
|
13309
|
+
aliases: [],
|
|
13310
|
+
pathParams: ["brandsUid"],
|
|
13311
|
+
pathPatterns: { brandsUid: "^\\d+$" },
|
|
13312
|
+
queryParams: ["limit", "offset"],
|
|
13313
|
+
edgeCache: true,
|
|
13314
|
+
summary: "List categories for a brand",
|
|
13315
|
+
params: {
|
|
13316
|
+
brandsUid: { in: "path", type: "integer", required: true },
|
|
13317
|
+
limit: { in: "query", type: "integer", required: false },
|
|
13318
|
+
offset: { in: "query", type: "integer", required: false }
|
|
13319
|
+
},
|
|
13320
|
+
responseSchema: BrandsCategoriesListDataSchema,
|
|
13321
|
+
responseType: "array"
|
|
13322
|
+
},
|
|
13289
13323
|
{
|
|
13290
13324
|
method: "GET",
|
|
13291
13325
|
path: "/brands/{brandsUid}/facets",
|
|
@@ -13300,6 +13334,8 @@ var endpoints12 = [
|
|
|
13300
13334
|
"discontinuedAny",
|
|
13301
13335
|
"filters",
|
|
13302
13336
|
"from",
|
|
13337
|
+
"itemCategoryUid",
|
|
13338
|
+
"parentCategoryUid",
|
|
13303
13339
|
"q",
|
|
13304
13340
|
"size",
|
|
13305
13341
|
"sort",
|
|
@@ -13317,6 +13353,8 @@ var endpoints12 = [
|
|
|
13317
13353
|
discontinuedAny: { in: "query", type: "string", required: false },
|
|
13318
13354
|
filters: { in: "query", type: "string", required: false },
|
|
13319
13355
|
from: { in: "query", type: "integer", required: false },
|
|
13356
|
+
itemCategoryUid: { in: "query", type: "integer", required: false },
|
|
13357
|
+
parentCategoryUid: { in: "query", type: "integer", required: false },
|
|
13320
13358
|
q: { in: "query", type: "string", required: false },
|
|
13321
13359
|
size: { in: "query", type: "integer", required: false },
|
|
13322
13360
|
sort: { in: "query", type: "string", required: false },
|
|
@@ -13343,8 +13381,10 @@ var endpoints12 = [
|
|
|
13343
13381
|
"fields",
|
|
13344
13382
|
"filters",
|
|
13345
13383
|
"includeStock",
|
|
13384
|
+
"itemCategoryUid",
|
|
13346
13385
|
"limit",
|
|
13347
13386
|
"offset",
|
|
13387
|
+
"parentCategoryUid",
|
|
13348
13388
|
"q",
|
|
13349
13389
|
"sortBy",
|
|
13350
13390
|
"sortOrder",
|
|
@@ -13361,8 +13401,10 @@ var endpoints12 = [
|
|
|
13361
13401
|
fields: { in: "query", type: "string", required: false },
|
|
13362
13402
|
filters: { in: "query", type: "string", required: false },
|
|
13363
13403
|
includeStock: { in: "query", type: "string", required: false },
|
|
13404
|
+
itemCategoryUid: { in: "query", type: "integer", required: false },
|
|
13364
13405
|
limit: { in: "query", type: "integer", required: false },
|
|
13365
13406
|
offset: { in: "query", type: "integer", required: false },
|
|
13407
|
+
parentCategoryUid: { in: "query", type: "integer", required: false },
|
|
13366
13408
|
q: { in: "query", type: "string", required: false },
|
|
13367
13409
|
sortBy: { in: "query", type: "string", required: false },
|
|
13368
13410
|
sortOrder: { in: "query", type: "string", required: false },
|
|
@@ -14573,21 +14615,6 @@ var endpoints12 = [
|
|
|
14573
14615
|
responseSchema: InvMastLocationsBinsGetDataSchema,
|
|
14574
14616
|
responseType: "object"
|
|
14575
14617
|
},
|
|
14576
|
-
{
|
|
14577
|
-
method: "GET",
|
|
14578
|
-
path: "/inv-mast/{invMastUid}/precache",
|
|
14579
|
-
chain: "invMast.precache",
|
|
14580
|
-
action: "list",
|
|
14581
|
-
aliases: [],
|
|
14582
|
-
pathParams: ["invMastUid"],
|
|
14583
|
-
pathPatterns: { invMastUid: "^\\d+$" },
|
|
14584
|
-
queryParams: [],
|
|
14585
|
-
edgeCache: true,
|
|
14586
|
-
summary: "Queue item pre-cache",
|
|
14587
|
-
params: { invMastUid: { in: "path", type: "integer", required: true } },
|
|
14588
|
-
responseSchema: InvMastPrecacheListDataSchema,
|
|
14589
|
-
responseType: "scalar"
|
|
14590
|
-
},
|
|
14591
14618
|
{
|
|
14592
14619
|
method: "GET",
|
|
14593
14620
|
path: "/inv-mast/{invMastUid}/promotional-groups",
|
|
@@ -15179,21 +15206,6 @@ var endpoints12 = [
|
|
|
15179
15206
|
responseSchema: ItemCategoryGetDataSchema,
|
|
15180
15207
|
responseType: "object"
|
|
15181
15208
|
},
|
|
15182
|
-
{
|
|
15183
|
-
method: "GET",
|
|
15184
|
-
path: "/item-category/{itemCategoryUid}/precache",
|
|
15185
|
-
chain: "itemCategory.precache",
|
|
15186
|
-
action: "list",
|
|
15187
|
-
aliases: [],
|
|
15188
|
-
pathParams: ["itemCategoryUid"],
|
|
15189
|
-
pathPatterns: { itemCategoryUid: "^\\d+$" },
|
|
15190
|
-
queryParams: [],
|
|
15191
|
-
edgeCache: true,
|
|
15192
|
-
summary: "Queue item category pre-cache",
|
|
15193
|
-
params: { itemCategoryUid: { in: "path", type: "integer", required: true } },
|
|
15194
|
-
responseSchema: ItemCategoryPrecacheListDataSchema,
|
|
15195
|
-
responseType: "scalar"
|
|
15196
|
-
},
|
|
15197
15209
|
{
|
|
15198
15210
|
method: "GET",
|
|
15199
15211
|
path: "/item-conversion",
|
|
@@ -18167,6 +18179,15 @@ var SpeedshipFreightListParamsSchema = v15.looseObject({
|
|
|
18167
18179
|
vendorId: v15.optional(v15.string()),
|
|
18168
18180
|
weightUnit: v15.string()
|
|
18169
18181
|
});
|
|
18182
|
+
var UPSAddressValidationListParamsSchema = v15.looseObject({
|
|
18183
|
+
...EdgeCacheParamsSchema.entries,
|
|
18184
|
+
address1: v15.string(),
|
|
18185
|
+
address2: v15.optional(v15.string()),
|
|
18186
|
+
city: v15.optional(v15.string()),
|
|
18187
|
+
countryCode: v15.optional(v15.string()),
|
|
18188
|
+
postalCode: v15.string(),
|
|
18189
|
+
stateProvinceCode: v15.optional(v15.string())
|
|
18190
|
+
});
|
|
18170
18191
|
var UPSRatesListParamsSchema = v15.looseObject({
|
|
18171
18192
|
...EdgeCacheParamsSchema.entries,
|
|
18172
18193
|
fromAddress1: v15.string(),
|
|
@@ -18279,6 +18300,15 @@ var ShipviaRatesListDataSchema = v15.array(
|
|
|
18279
18300
|
})
|
|
18280
18301
|
);
|
|
18281
18302
|
var ShipviaRatesLtlListDataSchema = ShipviaRatesListDataSchema;
|
|
18303
|
+
var UPSAddressValidationListDataSchema = v15.looseObject({
|
|
18304
|
+
classification: v15.string(),
|
|
18305
|
+
address1: v15.string(),
|
|
18306
|
+
address2: v15.string(),
|
|
18307
|
+
city: v15.string(),
|
|
18308
|
+
stateProvinceCode: v15.string(),
|
|
18309
|
+
postalCode: v15.string(),
|
|
18310
|
+
countryCode: v15.string()
|
|
18311
|
+
});
|
|
18282
18312
|
var UPSRatesListDataSchema = FedexRatesListDataSchema;
|
|
18283
18313
|
var PassthroughDataSchema14 = v15.record(v15.string(), v15.unknown());
|
|
18284
18314
|
|
|
@@ -18702,6 +18732,28 @@ var endpoints15 = [
|
|
|
18702
18732
|
responseSchema: PassthroughDataSchema14,
|
|
18703
18733
|
responseType: "passthrough"
|
|
18704
18734
|
},
|
|
18735
|
+
{
|
|
18736
|
+
method: "GET",
|
|
18737
|
+
path: "/ups/address-validation",
|
|
18738
|
+
chain: "ups.addressValidation",
|
|
18739
|
+
action: "list",
|
|
18740
|
+
aliases: [],
|
|
18741
|
+
pathParams: [],
|
|
18742
|
+
pathPatterns: {},
|
|
18743
|
+
queryParams: ["address1", "address2", "city", "countryCode", "postalCode", "stateProvinceCode"],
|
|
18744
|
+
edgeCache: true,
|
|
18745
|
+
summary: "Validate and Classify UPS Address",
|
|
18746
|
+
params: {
|
|
18747
|
+
address1: { in: "query", type: "string", required: true },
|
|
18748
|
+
address2: { in: "query", type: "string", required: false },
|
|
18749
|
+
city: { in: "query", type: "string", required: false },
|
|
18750
|
+
countryCode: { in: "query", type: "string", required: false },
|
|
18751
|
+
postalCode: { in: "query", type: "string", required: true },
|
|
18752
|
+
stateProvinceCode: { in: "query", type: "string", required: false }
|
|
18753
|
+
},
|
|
18754
|
+
responseSchema: UPSAddressValidationListDataSchema,
|
|
18755
|
+
responseType: "object"
|
|
18756
|
+
},
|
|
18705
18757
|
{
|
|
18706
18758
|
method: "GET",
|
|
18707
18759
|
path: "/ups/rates",
|
|
@@ -35754,7 +35806,7 @@ function createCrossSiteAuthenticator(augurInfoToken) {
|
|
|
35754
35806
|
}
|
|
35755
35807
|
|
|
35756
35808
|
// src/index.ts
|
|
35757
|
-
var VERSION = "2026.10.
|
|
35809
|
+
var VERSION = "2026.10.21";
|
|
35758
35810
|
export {
|
|
35759
35811
|
AgrInfoClient,
|
|
35760
35812
|
AgrIntClient,
|