@simpleapps-com/augur-api 2026.5.4 → 2026.5.5
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-C72Z8ANN.d.mts → client-yZ3HRVgf.d.mts} +20 -2
- package/dist/{client-C72Z8ANN.d.ts → client-yZ3HRVgf.d.ts} +20 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +59 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +59 -1
- 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
|
@@ -1959,7 +1959,7 @@ declare class OpenSearchClient extends BaseServiceClient {
|
|
|
1959
1959
|
/**
|
|
1960
1960
|
* Generated types for items service
|
|
1961
1961
|
* Source: shared/specs/items.json
|
|
1962
|
-
* Generated: 2026-05-
|
|
1962
|
+
* Generated: 2026-05-14T17:43:07Z
|
|
1963
1963
|
*
|
|
1964
1964
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
1965
1965
|
*/
|
|
@@ -2031,6 +2031,8 @@ interface BrandsItemsListParams extends EdgeCacheParams {
|
|
|
2031
2031
|
tags?: string;
|
|
2032
2032
|
variantFilter?: string;
|
|
2033
2033
|
}
|
|
2034
|
+
/** Params for GET /brands/{brandsUid}/items/{brandsXItemsUid} */
|
|
2035
|
+
type BrandsItemsGetParams = EdgeCacheParams;
|
|
2034
2036
|
/** Params for GET /categories/lookup */
|
|
2035
2037
|
interface CategoriesLookupGetParams extends EdgeCacheParams {
|
|
2036
2038
|
cacheTtl?: number;
|
|
@@ -2392,6 +2394,18 @@ interface BrandsData {
|
|
|
2392
2394
|
[key: string]: unknown;
|
|
2393
2395
|
}
|
|
2394
2396
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
2397
|
+
interface BrandsItemsData {
|
|
2398
|
+
brandsXItemsUid?: number;
|
|
2399
|
+
brandsUid?: number;
|
|
2400
|
+
invMastUid?: number;
|
|
2401
|
+
dateCreated?: string;
|
|
2402
|
+
dateLastModified?: string;
|
|
2403
|
+
updateCd?: number;
|
|
2404
|
+
statusCd?: number;
|
|
2405
|
+
processCd?: number;
|
|
2406
|
+
[key: string]: unknown;
|
|
2407
|
+
}
|
|
2408
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
2395
2409
|
interface InvLocData {
|
|
2396
2410
|
companyId?: string;
|
|
2397
2411
|
locationId?: number;
|
|
@@ -2560,6 +2574,10 @@ interface ItemsClientSpec {
|
|
|
2560
2574
|
};
|
|
2561
2575
|
items: {
|
|
2562
2576
|
list: (brandsUid: number, params?: BrandsItemsListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
2577
|
+
create: (brandsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2578
|
+
get: (brandsUid: number, brandsXItemsUid: number, params?: BrandsItemsGetParams) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2579
|
+
update: (brandsUid: number, brandsXItemsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2580
|
+
delete: (brandsUid: number, brandsXItemsUid: number) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2563
2581
|
};
|
|
2564
2582
|
};
|
|
2565
2583
|
categories: {
|
|
@@ -2813,7 +2831,7 @@ type WhoamiDataResource$1 = ReturnType<typeof createWhoamiDataResource$1>;
|
|
|
2813
2831
|
/**
|
|
2814
2832
|
* Generated client for items service
|
|
2815
2833
|
* Source: shared/specs/items.json
|
|
2816
|
-
* Generated: 2026-05-
|
|
2834
|
+
* Generated: 2026-05-14T17:43:07Z
|
|
2817
2835
|
*
|
|
2818
2836
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
2819
2837
|
*/
|
|
@@ -1959,7 +1959,7 @@ declare class OpenSearchClient extends BaseServiceClient {
|
|
|
1959
1959
|
/**
|
|
1960
1960
|
* Generated types for items service
|
|
1961
1961
|
* Source: shared/specs/items.json
|
|
1962
|
-
* Generated: 2026-05-
|
|
1962
|
+
* Generated: 2026-05-14T17:43:07Z
|
|
1963
1963
|
*
|
|
1964
1964
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
1965
1965
|
*/
|
|
@@ -2031,6 +2031,8 @@ interface BrandsItemsListParams extends EdgeCacheParams {
|
|
|
2031
2031
|
tags?: string;
|
|
2032
2032
|
variantFilter?: string;
|
|
2033
2033
|
}
|
|
2034
|
+
/** Params for GET /brands/{brandsUid}/items/{brandsXItemsUid} */
|
|
2035
|
+
type BrandsItemsGetParams = EdgeCacheParams;
|
|
2034
2036
|
/** Params for GET /categories/lookup */
|
|
2035
2037
|
interface CategoriesLookupGetParams extends EdgeCacheParams {
|
|
2036
2038
|
cacheTtl?: number;
|
|
@@ -2392,6 +2394,18 @@ interface BrandsData {
|
|
|
2392
2394
|
[key: string]: unknown;
|
|
2393
2395
|
}
|
|
2394
2396
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
2397
|
+
interface BrandsItemsData {
|
|
2398
|
+
brandsXItemsUid?: number;
|
|
2399
|
+
brandsUid?: number;
|
|
2400
|
+
invMastUid?: number;
|
|
2401
|
+
dateCreated?: string;
|
|
2402
|
+
dateLastModified?: string;
|
|
2403
|
+
updateCd?: number;
|
|
2404
|
+
statusCd?: number;
|
|
2405
|
+
processCd?: number;
|
|
2406
|
+
[key: string]: unknown;
|
|
2407
|
+
}
|
|
2408
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
2395
2409
|
interface InvLocData {
|
|
2396
2410
|
companyId?: string;
|
|
2397
2411
|
locationId?: number;
|
|
@@ -2560,6 +2574,10 @@ interface ItemsClientSpec {
|
|
|
2560
2574
|
};
|
|
2561
2575
|
items: {
|
|
2562
2576
|
list: (brandsUid: number, params?: BrandsItemsListParams) => Promise<BaseResponse<Record<string, unknown>>>;
|
|
2577
|
+
create: (brandsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2578
|
+
get: (brandsUid: number, brandsXItemsUid: number, params?: BrandsItemsGetParams) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2579
|
+
update: (brandsUid: number, brandsXItemsUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2580
|
+
delete: (brandsUid: number, brandsXItemsUid: number) => Promise<BaseResponse<BrandsItemsData>>;
|
|
2563
2581
|
};
|
|
2564
2582
|
};
|
|
2565
2583
|
categories: {
|
|
@@ -2813,7 +2831,7 @@ type WhoamiDataResource$1 = ReturnType<typeof createWhoamiDataResource$1>;
|
|
|
2813
2831
|
/**
|
|
2814
2832
|
* Generated client for items service
|
|
2815
2833
|
* Source: shared/specs/items.json
|
|
2816
|
-
* Generated: 2026-05-
|
|
2834
|
+
* Generated: 2026-05-14T17:43:07Z
|
|
2817
2835
|
*
|
|
2818
2836
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
2819
2837
|
*/
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AugurAPI } from './client-
|
|
2
|
-
export { a as AgrInfoClient, b as AgrSiteClient, c as AgrWorkClient, d as AugurAPIConfig, e as AugurContext, f as AugurRequestConfig, g as AugurRequestError, h as AugurResponse, i as AvalaraClient, B as BaseResponse, j as BaseResponseSchema, k as Basecamp2Client, l as BrandFolderClient, C as CommerceClient, m as ContextCreationError, n as CustomersClient, D as DiscoveryEndpoint, E as EndpointSearchResult, G as GregorovichClient, H as HealthCheckData, o as HealthCheckDataSchema, I as ItemsClient, J as JoomlaClient, L as LegacyClient, p as LogisticsClient, N as NexusClient, O as OpenSearchClient, q as OrdersClient, P as P21ApisClient, r as P21CoreClient, s as P21PimClient, t as P21SismClient, u as PaginationParamsSchema, v as PaymentsClient, w as PricingClient, R as RequestConfig, S as ServiceMap, x as ShippingClient, y as SlackClient, z as SmartyStreetsClient, U as UPSClient, V as VMIClient } from './client-
|
|
1
|
+
import { A as AugurAPI } from './client-yZ3HRVgf.mjs';
|
|
2
|
+
export { a as AgrInfoClient, b as AgrSiteClient, c as AgrWorkClient, d as AugurAPIConfig, e as AugurContext, f as AugurRequestConfig, g as AugurRequestError, h as AugurResponse, i as AvalaraClient, B as BaseResponse, j as BaseResponseSchema, k as Basecamp2Client, l as BrandFolderClient, C as CommerceClient, m as ContextCreationError, n as CustomersClient, D as DiscoveryEndpoint, E as EndpointSearchResult, G as GregorovichClient, H as HealthCheckData, o as HealthCheckDataSchema, I as ItemsClient, J as JoomlaClient, L as LegacyClient, p as LogisticsClient, N as NexusClient, O as OpenSearchClient, q as OrdersClient, P as P21ApisClient, r as P21CoreClient, s as P21PimClient, t as P21SismClient, u as PaginationParamsSchema, v as PaymentsClient, w as PricingClient, R as RequestConfig, S as ServiceMap, x as ShippingClient, y as SlackClient, z as SmartyStreetsClient, U as UPSClient, V as VMIClient } from './client-yZ3HRVgf.mjs';
|
|
3
3
|
import 'valibot';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -173,6 +173,6 @@ declare class RateLimitError extends AugurError {
|
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
declare const VERSION = "2026.5.
|
|
176
|
+
declare const VERSION = "2026.5.5";
|
|
177
177
|
|
|
178
178
|
export { AugurAPI, type AugurAPIError, AugurError, AuthenticationError, type CrossSiteAuthParams, type CrossSiteAuthResult, NotFoundError, RateLimitError, VERSION, ValidationError, authenticateUserForSite, createCrossSiteAuthenticator };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AugurAPI } from './client-
|
|
2
|
-
export { a as AgrInfoClient, b as AgrSiteClient, c as AgrWorkClient, d as AugurAPIConfig, e as AugurContext, f as AugurRequestConfig, g as AugurRequestError, h as AugurResponse, i as AvalaraClient, B as BaseResponse, j as BaseResponseSchema, k as Basecamp2Client, l as BrandFolderClient, C as CommerceClient, m as ContextCreationError, n as CustomersClient, D as DiscoveryEndpoint, E as EndpointSearchResult, G as GregorovichClient, H as HealthCheckData, o as HealthCheckDataSchema, I as ItemsClient, J as JoomlaClient, L as LegacyClient, p as LogisticsClient, N as NexusClient, O as OpenSearchClient, q as OrdersClient, P as P21ApisClient, r as P21CoreClient, s as P21PimClient, t as P21SismClient, u as PaginationParamsSchema, v as PaymentsClient, w as PricingClient, R as RequestConfig, S as ServiceMap, x as ShippingClient, y as SlackClient, z as SmartyStreetsClient, U as UPSClient, V as VMIClient } from './client-
|
|
1
|
+
import { A as AugurAPI } from './client-yZ3HRVgf.js';
|
|
2
|
+
export { a as AgrInfoClient, b as AgrSiteClient, c as AgrWorkClient, d as AugurAPIConfig, e as AugurContext, f as AugurRequestConfig, g as AugurRequestError, h as AugurResponse, i as AvalaraClient, B as BaseResponse, j as BaseResponseSchema, k as Basecamp2Client, l as BrandFolderClient, C as CommerceClient, m as ContextCreationError, n as CustomersClient, D as DiscoveryEndpoint, E as EndpointSearchResult, G as GregorovichClient, H as HealthCheckData, o as HealthCheckDataSchema, I as ItemsClient, J as JoomlaClient, L as LegacyClient, p as LogisticsClient, N as NexusClient, O as OpenSearchClient, q as OrdersClient, P as P21ApisClient, r as P21CoreClient, s as P21PimClient, t as P21SismClient, u as PaginationParamsSchema, v as PaymentsClient, w as PricingClient, R as RequestConfig, S as ServiceMap, x as ShippingClient, y as SlackClient, z as SmartyStreetsClient, U as UPSClient, V as VMIClient } from './client-yZ3HRVgf.js';
|
|
3
3
|
import 'valibot';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -173,6 +173,6 @@ declare class RateLimitError extends AugurError {
|
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
declare const VERSION = "2026.5.
|
|
176
|
+
declare const VERSION = "2026.5.5";
|
|
177
177
|
|
|
178
178
|
export { AugurAPI, type AugurAPIError, AugurError, AuthenticationError, type CrossSiteAuthParams, type CrossSiteAuthResult, NotFoundError, RateLimitError, VERSION, ValidationError, authenticateUserForSite, createCrossSiteAuthenticator };
|
package/dist/index.js
CHANGED
|
@@ -4301,6 +4301,16 @@ var BrandsDataSchema = v11.looseObject({
|
|
|
4301
4301
|
processCd: v11.optional(v11.number()),
|
|
4302
4302
|
contentId: v11.optional(v11.nullable(v11.number()))
|
|
4303
4303
|
});
|
|
4304
|
+
var BrandsItemsDataSchema = v11.looseObject({
|
|
4305
|
+
brandsXItemsUid: v11.optional(v11.number()),
|
|
4306
|
+
brandsUid: v11.optional(v11.number()),
|
|
4307
|
+
invMastUid: v11.optional(v11.number()),
|
|
4308
|
+
dateCreated: v11.optional(v11.string()),
|
|
4309
|
+
dateLastModified: v11.optional(v11.string()),
|
|
4310
|
+
updateCd: v11.optional(v11.number()),
|
|
4311
|
+
statusCd: v11.optional(v11.number()),
|
|
4312
|
+
processCd: v11.optional(v11.number())
|
|
4313
|
+
});
|
|
4304
4314
|
var InvLocDataSchema = v11.looseObject({
|
|
4305
4315
|
companyId: v11.optional(v11.string()),
|
|
4306
4316
|
locationId: v11.optional(v11.number()),
|
|
@@ -4761,6 +4771,54 @@ var endpoints6 = [
|
|
|
4761
4771
|
responseSchema: PassthroughDataSchema6,
|
|
4762
4772
|
responseType: "passthrough"
|
|
4763
4773
|
},
|
|
4774
|
+
{
|
|
4775
|
+
method: "POST",
|
|
4776
|
+
path: "/brands/{brandsUid}/items",
|
|
4777
|
+
chain: "brands.items",
|
|
4778
|
+
action: "create",
|
|
4779
|
+
aliases: [],
|
|
4780
|
+
pathParams: ["brandsUid"],
|
|
4781
|
+
queryParams: [],
|
|
4782
|
+
edgeCache: false,
|
|
4783
|
+
responseSchema: BrandsItemsDataSchema,
|
|
4784
|
+
responseType: "object"
|
|
4785
|
+
},
|
|
4786
|
+
{
|
|
4787
|
+
method: "GET",
|
|
4788
|
+
path: "/brands/{brandsUid}/items/{brandsXItemsUid}",
|
|
4789
|
+
chain: "brands.items",
|
|
4790
|
+
action: "get",
|
|
4791
|
+
aliases: [],
|
|
4792
|
+
pathParams: ["brandsUid", "brandsXItemsUid"],
|
|
4793
|
+
queryParams: [],
|
|
4794
|
+
edgeCache: true,
|
|
4795
|
+
responseSchema: BrandsItemsDataSchema,
|
|
4796
|
+
responseType: "object"
|
|
4797
|
+
},
|
|
4798
|
+
{
|
|
4799
|
+
method: "PUT",
|
|
4800
|
+
path: "/brands/{brandsUid}/items/{brandsXItemsUid}",
|
|
4801
|
+
chain: "brands.items",
|
|
4802
|
+
action: "update",
|
|
4803
|
+
aliases: [],
|
|
4804
|
+
pathParams: ["brandsUid", "brandsXItemsUid"],
|
|
4805
|
+
queryParams: [],
|
|
4806
|
+
edgeCache: false,
|
|
4807
|
+
responseSchema: BrandsItemsDataSchema,
|
|
4808
|
+
responseType: "object"
|
|
4809
|
+
},
|
|
4810
|
+
{
|
|
4811
|
+
method: "DELETE",
|
|
4812
|
+
path: "/brands/{brandsUid}/items/{brandsXItemsUid}",
|
|
4813
|
+
chain: "brands.items",
|
|
4814
|
+
action: "delete",
|
|
4815
|
+
aliases: [],
|
|
4816
|
+
pathParams: ["brandsUid", "brandsXItemsUid"],
|
|
4817
|
+
queryParams: [],
|
|
4818
|
+
edgeCache: false,
|
|
4819
|
+
responseSchema: BrandsItemsDataSchema,
|
|
4820
|
+
responseType: "object"
|
|
4821
|
+
},
|
|
4764
4822
|
{
|
|
4765
4823
|
method: "GET",
|
|
4766
4824
|
path: "/categories/lookup",
|
|
@@ -14218,7 +14276,7 @@ function createCrossSiteAuthenticator(augurInfoToken) {
|
|
|
14218
14276
|
}
|
|
14219
14277
|
|
|
14220
14278
|
// src/index.ts
|
|
14221
|
-
var VERSION = "2026.5.
|
|
14279
|
+
var VERSION = "2026.5.5";
|
|
14222
14280
|
// Annotate the CommonJS export names for ESM import in node:
|
|
14223
14281
|
0 && (module.exports = {
|
|
14224
14282
|
AgrInfoClient,
|