@simpleapps-com/augur-api 2026.6.2 → 2026.6.3
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-rJXd07YM.d.mts → client-Bkt57JO1.d.mts} +21 -4
- package/dist/{client-rJXd07YM.d.ts → client-Bkt57JO1.d.ts} +21 -4
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +37 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +37 -4
- 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
|
@@ -4957,7 +4957,7 @@ declare class AgrInfoClient extends BaseServiceClient {
|
|
|
4957
4957
|
/**
|
|
4958
4958
|
* Generated types for agr-int service
|
|
4959
4959
|
* Source: shared/specs/agr-int.json
|
|
4960
|
-
* Generated: 2026-06-
|
|
4960
|
+
* Generated: 2026-06-09T02:39:25Z
|
|
4961
4961
|
*
|
|
4962
4962
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4963
4963
|
*/
|
|
@@ -5025,9 +5025,20 @@ interface UsersData {
|
|
|
5025
5025
|
[key: string]: unknown;
|
|
5026
5026
|
}
|
|
5027
5027
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5028
|
-
interface
|
|
5028
|
+
interface UsersRotateData {
|
|
5029
5029
|
usersUid?: number;
|
|
5030
5030
|
username?: string;
|
|
5031
|
+
token?: string;
|
|
5032
|
+
[key: string]: unknown;
|
|
5033
|
+
}
|
|
5034
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5035
|
+
interface UsersValidateData {
|
|
5036
|
+
valid?: boolean;
|
|
5037
|
+
scope?: string;
|
|
5038
|
+
userId?: number;
|
|
5039
|
+
username?: string;
|
|
5040
|
+
email?: string;
|
|
5041
|
+
name?: string;
|
|
5031
5042
|
[key: string]: unknown;
|
|
5032
5043
|
}
|
|
5033
5044
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
@@ -5063,8 +5074,14 @@ interface AgrIntClientSpec {
|
|
|
5063
5074
|
update: (usersUid: number, usersXRolesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<UsersRolesData>>;
|
|
5064
5075
|
delete: (usersUid: number, usersXRolesUid: number) => Promise<BaseResponse<UsersRolesData>>;
|
|
5065
5076
|
};
|
|
5077
|
+
rotate: {
|
|
5078
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<UsersRotateData>>;
|
|
5079
|
+
};
|
|
5080
|
+
validate: {
|
|
5081
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<UsersValidateData>>;
|
|
5082
|
+
};
|
|
5066
5083
|
verify: {
|
|
5067
|
-
create: (data: Record<string, unknown>) => Promise<BaseResponse<
|
|
5084
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<UsersRotateData>>;
|
|
5068
5085
|
};
|
|
5069
5086
|
};
|
|
5070
5087
|
}
|
|
@@ -5072,7 +5089,7 @@ interface AgrIntClientSpec {
|
|
|
5072
5089
|
/**
|
|
5073
5090
|
* Generated client for agr-int service
|
|
5074
5091
|
* Source: shared/specs/agr-int.json
|
|
5075
|
-
* Generated: 2026-06-
|
|
5092
|
+
* Generated: 2026-06-09T02:39:25Z
|
|
5076
5093
|
*
|
|
5077
5094
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
5078
5095
|
*/
|
|
@@ -4957,7 +4957,7 @@ declare class AgrInfoClient extends BaseServiceClient {
|
|
|
4957
4957
|
/**
|
|
4958
4958
|
* Generated types for agr-int service
|
|
4959
4959
|
* Source: shared/specs/agr-int.json
|
|
4960
|
-
* Generated: 2026-06-
|
|
4960
|
+
* Generated: 2026-06-09T02:39:25Z
|
|
4961
4961
|
*
|
|
4962
4962
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4963
4963
|
*/
|
|
@@ -5025,9 +5025,20 @@ interface UsersData {
|
|
|
5025
5025
|
[key: string]: unknown;
|
|
5026
5026
|
}
|
|
5027
5027
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5028
|
-
interface
|
|
5028
|
+
interface UsersRotateData {
|
|
5029
5029
|
usersUid?: number;
|
|
5030
5030
|
username?: string;
|
|
5031
|
+
token?: string;
|
|
5032
|
+
[key: string]: unknown;
|
|
5033
|
+
}
|
|
5034
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5035
|
+
interface UsersValidateData {
|
|
5036
|
+
valid?: boolean;
|
|
5037
|
+
scope?: string;
|
|
5038
|
+
userId?: number;
|
|
5039
|
+
username?: string;
|
|
5040
|
+
email?: string;
|
|
5041
|
+
name?: string;
|
|
5031
5042
|
[key: string]: unknown;
|
|
5032
5043
|
}
|
|
5033
5044
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
@@ -5063,8 +5074,14 @@ interface AgrIntClientSpec {
|
|
|
5063
5074
|
update: (usersUid: number, usersXRolesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<UsersRolesData>>;
|
|
5064
5075
|
delete: (usersUid: number, usersXRolesUid: number) => Promise<BaseResponse<UsersRolesData>>;
|
|
5065
5076
|
};
|
|
5077
|
+
rotate: {
|
|
5078
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<UsersRotateData>>;
|
|
5079
|
+
};
|
|
5080
|
+
validate: {
|
|
5081
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<UsersValidateData>>;
|
|
5082
|
+
};
|
|
5066
5083
|
verify: {
|
|
5067
|
-
create: (data: Record<string, unknown>) => Promise<BaseResponse<
|
|
5084
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<UsersRotateData>>;
|
|
5068
5085
|
};
|
|
5069
5086
|
};
|
|
5070
5087
|
}
|
|
@@ -5072,7 +5089,7 @@ interface AgrIntClientSpec {
|
|
|
5072
5089
|
/**
|
|
5073
5090
|
* Generated client for agr-int service
|
|
5074
5091
|
* Source: shared/specs/agr-int.json
|
|
5075
|
-
* Generated: 2026-06-
|
|
5092
|
+
* Generated: 2026-06-09T02:39:25Z
|
|
5076
5093
|
*
|
|
5077
5094
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
5078
5095
|
*/
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AugurAPI } from './client-
|
|
2
|
-
export { a as AgrInfoClient, b as AgrIntClient, c as AgrSiteClient, d as AgrWorkClient, e as AugurAPIConfig, f as AugurContext, g as AugurRequestConfig, h as AugurRequestError, i as AugurResponse, j as AvalaraClient, B as BaseResponse, k as BaseResponseSchema, l as Basecamp2Client, m as BrandFolderClient, C as CommerceClient, n as ContextCreationError, o as CustomersClient, D as DiscoveryEndpoint, E as EndpointSearchResult, G as GregorovichClient, H as HealthCheckData, p as HealthCheckDataSchema, I as ItemsClient, J as JoomlaClient, L as LegacyClient, q as LogisticsClient, N as NexusClient, O as OpenSearchClient, r as OrdersClient, P as P21ApisClient, s as P21CoreClient, t as P21PimClient, u as P21SismClient, v as PaginationParamsSchema, w as PaymentsClient, x as PricingClient, R as RequestConfig, S as ServiceMap, y as ShippingClient, z as SlackClient, F as SmartyStreetsClient, U as UPSClient, V as VMIClient } from './client-
|
|
1
|
+
import { A as AugurAPI } from './client-Bkt57JO1.mjs';
|
|
2
|
+
export { a as AgrInfoClient, b as AgrIntClient, c as AgrSiteClient, d as AgrWorkClient, e as AugurAPIConfig, f as AugurContext, g as AugurRequestConfig, h as AugurRequestError, i as AugurResponse, j as AvalaraClient, B as BaseResponse, k as BaseResponseSchema, l as Basecamp2Client, m as BrandFolderClient, C as CommerceClient, n as ContextCreationError, o as CustomersClient, D as DiscoveryEndpoint, E as EndpointSearchResult, G as GregorovichClient, H as HealthCheckData, p as HealthCheckDataSchema, I as ItemsClient, J as JoomlaClient, L as LegacyClient, q as LogisticsClient, N as NexusClient, O as OpenSearchClient, r as OrdersClient, P as P21ApisClient, s as P21CoreClient, t as P21PimClient, u as P21SismClient, v as PaginationParamsSchema, w as PaymentsClient, x as PricingClient, R as RequestConfig, S as ServiceMap, y as ShippingClient, z as SlackClient, F as SmartyStreetsClient, U as UPSClient, V as VMIClient } from './client-Bkt57JO1.mjs';
|
|
3
3
|
import 'valibot';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -180,6 +180,6 @@ declare class InvalidArgumentError extends AugurError {
|
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
declare const VERSION = "2026.6.
|
|
183
|
+
declare const VERSION = "2026.6.3";
|
|
184
184
|
|
|
185
185
|
export { AugurAPI, type AugurAPIError, AugurError, AuthenticationError, type CrossSiteAuthParams, type CrossSiteAuthResult, InvalidArgumentError, 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 AgrIntClient, c as AgrSiteClient, d as AgrWorkClient, e as AugurAPIConfig, f as AugurContext, g as AugurRequestConfig, h as AugurRequestError, i as AugurResponse, j as AvalaraClient, B as BaseResponse, k as BaseResponseSchema, l as Basecamp2Client, m as BrandFolderClient, C as CommerceClient, n as ContextCreationError, o as CustomersClient, D as DiscoveryEndpoint, E as EndpointSearchResult, G as GregorovichClient, H as HealthCheckData, p as HealthCheckDataSchema, I as ItemsClient, J as JoomlaClient, L as LegacyClient, q as LogisticsClient, N as NexusClient, O as OpenSearchClient, r as OrdersClient, P as P21ApisClient, s as P21CoreClient, t as P21PimClient, u as P21SismClient, v as PaginationParamsSchema, w as PaymentsClient, x as PricingClient, R as RequestConfig, S as ServiceMap, y as ShippingClient, z as SlackClient, F as SmartyStreetsClient, U as UPSClient, V as VMIClient } from './client-
|
|
1
|
+
import { A as AugurAPI } from './client-Bkt57JO1.js';
|
|
2
|
+
export { a as AgrInfoClient, b as AgrIntClient, c as AgrSiteClient, d as AgrWorkClient, e as AugurAPIConfig, f as AugurContext, g as AugurRequestConfig, h as AugurRequestError, i as AugurResponse, j as AvalaraClient, B as BaseResponse, k as BaseResponseSchema, l as Basecamp2Client, m as BrandFolderClient, C as CommerceClient, n as ContextCreationError, o as CustomersClient, D as DiscoveryEndpoint, E as EndpointSearchResult, G as GregorovichClient, H as HealthCheckData, p as HealthCheckDataSchema, I as ItemsClient, J as JoomlaClient, L as LegacyClient, q as LogisticsClient, N as NexusClient, O as OpenSearchClient, r as OrdersClient, P as P21ApisClient, s as P21CoreClient, t as P21PimClient, u as P21SismClient, v as PaginationParamsSchema, w as PaymentsClient, x as PricingClient, R as RequestConfig, S as ServiceMap, y as ShippingClient, z as SlackClient, F as SmartyStreetsClient, U as UPSClient, V as VMIClient } from './client-Bkt57JO1.js';
|
|
3
3
|
import 'valibot';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -180,6 +180,6 @@ declare class InvalidArgumentError extends AugurError {
|
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
declare const VERSION = "2026.6.
|
|
183
|
+
declare const VERSION = "2026.6.3";
|
|
184
184
|
|
|
185
185
|
export { AugurAPI, type AugurAPIError, AugurError, AuthenticationError, type CrossSiteAuthParams, type CrossSiteAuthResult, InvalidArgumentError, NotFoundError, RateLimitError, VERSION, ValidationError, authenticateUserForSite, createCrossSiteAuthenticator };
|
package/dist/index.js
CHANGED
|
@@ -9854,9 +9854,18 @@ var UsersDataSchema = v22.looseObject({
|
|
|
9854
9854
|
statusCd: v22.optional(v22.number()),
|
|
9855
9855
|
processCd: v22.optional(v22.number())
|
|
9856
9856
|
});
|
|
9857
|
-
var
|
|
9857
|
+
var UsersRotateDataSchema = v22.looseObject({
|
|
9858
9858
|
usersUid: v22.optional(v22.number()),
|
|
9859
|
-
username: v22.optional(v22.string())
|
|
9859
|
+
username: v22.optional(v22.string()),
|
|
9860
|
+
token: v22.optional(v22.string())
|
|
9861
|
+
});
|
|
9862
|
+
var UsersValidateDataSchema = v22.looseObject({
|
|
9863
|
+
valid: v22.optional(v22.boolean()),
|
|
9864
|
+
scope: v22.optional(v22.string()),
|
|
9865
|
+
userId: v22.optional(v22.number()),
|
|
9866
|
+
username: v22.optional(v22.string()),
|
|
9867
|
+
email: v22.optional(v22.string()),
|
|
9868
|
+
name: v22.optional(v22.string())
|
|
9860
9869
|
});
|
|
9861
9870
|
var UsersRolesDataSchema = v22.looseObject({
|
|
9862
9871
|
usersXRolesUid: v22.optional(v22.number()),
|
|
@@ -9956,6 +9965,30 @@ var endpoints15 = [
|
|
|
9956
9965
|
responseSchema: UsersDataSchema,
|
|
9957
9966
|
responseType: "object"
|
|
9958
9967
|
},
|
|
9968
|
+
{
|
|
9969
|
+
method: "POST",
|
|
9970
|
+
path: "/users/rotate",
|
|
9971
|
+
chain: "users.rotate",
|
|
9972
|
+
action: "create",
|
|
9973
|
+
aliases: [],
|
|
9974
|
+
pathParams: [],
|
|
9975
|
+
queryParams: [],
|
|
9976
|
+
edgeCache: false,
|
|
9977
|
+
responseSchema: UsersRotateDataSchema,
|
|
9978
|
+
responseType: "object"
|
|
9979
|
+
},
|
|
9980
|
+
{
|
|
9981
|
+
method: "POST",
|
|
9982
|
+
path: "/users/validate",
|
|
9983
|
+
chain: "users.validate",
|
|
9984
|
+
action: "create",
|
|
9985
|
+
aliases: [],
|
|
9986
|
+
pathParams: [],
|
|
9987
|
+
queryParams: [],
|
|
9988
|
+
edgeCache: false,
|
|
9989
|
+
responseSchema: UsersValidateDataSchema,
|
|
9990
|
+
responseType: "object"
|
|
9991
|
+
},
|
|
9959
9992
|
{
|
|
9960
9993
|
method: "POST",
|
|
9961
9994
|
path: "/users/verify",
|
|
@@ -9965,7 +9998,7 @@ var endpoints15 = [
|
|
|
9965
9998
|
pathParams: [],
|
|
9966
9999
|
queryParams: [],
|
|
9967
10000
|
edgeCache: false,
|
|
9968
|
-
responseSchema:
|
|
10001
|
+
responseSchema: UsersRotateDataSchema,
|
|
9969
10002
|
responseType: "object"
|
|
9970
10003
|
},
|
|
9971
10004
|
{
|
|
@@ -14556,7 +14589,7 @@ function createCrossSiteAuthenticator(augurInfoToken) {
|
|
|
14556
14589
|
}
|
|
14557
14590
|
|
|
14558
14591
|
// src/index.ts
|
|
14559
|
-
var VERSION = "2026.6.
|
|
14592
|
+
var VERSION = "2026.6.3";
|
|
14560
14593
|
// Annotate the CommonJS export names for ESM import in node:
|
|
14561
14594
|
0 && (module.exports = {
|
|
14562
14595
|
AgrInfoClient,
|