@simpleapps-com/augur-api 2026.6.2 → 2026.6.4
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-LO8qxF0b.d.mts} +152 -4
- package/dist/{client-rJXd07YM.d.ts → client-LO8qxF0b.d.ts} +152 -4
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +373 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +373 -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,11 +4957,45 @@ 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-14T22:37:15Z
|
|
4961
4961
|
*
|
|
4962
4962
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4963
4963
|
*/
|
|
4964
4964
|
|
|
4965
|
+
/** Params for GET /bundles */
|
|
4966
|
+
interface BundlesListParams extends EdgeCacheParams {
|
|
4967
|
+
bundleId?: string;
|
|
4968
|
+
bundleName?: string;
|
|
4969
|
+
limit?: number;
|
|
4970
|
+
offset?: number;
|
|
4971
|
+
orderBy?: string;
|
|
4972
|
+
statusCd?: number;
|
|
4973
|
+
systemFlag?: string;
|
|
4974
|
+
}
|
|
4975
|
+
/** Params for GET /bundles/{bundlesUid} */
|
|
4976
|
+
type BundlesGetParams = EdgeCacheParams;
|
|
4977
|
+
/** Params for GET /bundles/{bundlesUid}/resources */
|
|
4978
|
+
interface BundlesResourcesListParams extends EdgeCacheParams {
|
|
4979
|
+
limit?: number;
|
|
4980
|
+
offset?: number;
|
|
4981
|
+
orderBy?: string;
|
|
4982
|
+
statusCd?: number;
|
|
4983
|
+
}
|
|
4984
|
+
/** Params for GET /bundles/{bundlesUid}/resources/{bundlesXResourcesUid} */
|
|
4985
|
+
type BundlesResourcesGetParams = EdgeCacheParams;
|
|
4986
|
+
/** Params for GET /resources */
|
|
4987
|
+
interface ResourcesListParams extends EdgeCacheParams {
|
|
4988
|
+
limit?: number;
|
|
4989
|
+
offset?: number;
|
|
4990
|
+
orderBy?: string;
|
|
4991
|
+
resourceId?: string;
|
|
4992
|
+
resourceName?: string;
|
|
4993
|
+
resourcePath?: string;
|
|
4994
|
+
resourceType?: string;
|
|
4995
|
+
statusCd?: number;
|
|
4996
|
+
}
|
|
4997
|
+
/** Params for GET /resources/{resourcesUid} */
|
|
4998
|
+
type ResourcesGetParams = EdgeCacheParams;
|
|
4965
4999
|
/** Params for GET /roles */
|
|
4966
5000
|
interface RolesListParams extends EdgeCacheParams {
|
|
4967
5001
|
limit?: number;
|
|
@@ -4974,6 +5008,15 @@ interface RolesListParams extends EdgeCacheParams {
|
|
|
4974
5008
|
}
|
|
4975
5009
|
/** Params for GET /roles/{rolesUid} */
|
|
4976
5010
|
type RolesGetParams = EdgeCacheParams;
|
|
5011
|
+
/** Params for GET /roles/{rolesUid}/bundles */
|
|
5012
|
+
interface RolesBundlesListParams extends EdgeCacheParams {
|
|
5013
|
+
limit?: number;
|
|
5014
|
+
offset?: number;
|
|
5015
|
+
orderBy?: string;
|
|
5016
|
+
statusCd?: number;
|
|
5017
|
+
}
|
|
5018
|
+
/** Params for GET /roles/{rolesUid}/bundles/{rolesXBundlesUid} */
|
|
5019
|
+
type RolesBundlesGetParams = EdgeCacheParams;
|
|
4977
5020
|
/** Params for GET /users */
|
|
4978
5021
|
interface UsersListParams extends EdgeCacheParams {
|
|
4979
5022
|
email?: string;
|
|
@@ -4996,6 +5039,50 @@ interface UsersRolesListParams extends EdgeCacheParams {
|
|
|
4996
5039
|
/** Params for GET /users/{usersUid}/roles/{usersXRolesUid} */
|
|
4997
5040
|
type UsersRolesGetParams = EdgeCacheParams;
|
|
4998
5041
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5042
|
+
interface BundlesData {
|
|
5043
|
+
bundlesUid?: number;
|
|
5044
|
+
bundleId?: string;
|
|
5045
|
+
bundleName?: string;
|
|
5046
|
+
description?: string | null;
|
|
5047
|
+
systemFlag?: string;
|
|
5048
|
+
dateCreated?: string;
|
|
5049
|
+
dateLastModified?: string;
|
|
5050
|
+
updateCd?: number;
|
|
5051
|
+
statusCd?: number;
|
|
5052
|
+
processCd?: number;
|
|
5053
|
+
[key: string]: unknown;
|
|
5054
|
+
}
|
|
5055
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5056
|
+
interface BundlesResourcesData {
|
|
5057
|
+
bundlesXResourcesUid?: number;
|
|
5058
|
+
bundlesUid?: number;
|
|
5059
|
+
resourcesUid?: number;
|
|
5060
|
+
readCd?: number;
|
|
5061
|
+
writeCd?: number;
|
|
5062
|
+
executeCd?: number;
|
|
5063
|
+
dateCreated?: string;
|
|
5064
|
+
dateLastModified?: string;
|
|
5065
|
+
updateCd?: number;
|
|
5066
|
+
statusCd?: number;
|
|
5067
|
+
processCd?: number;
|
|
5068
|
+
[key: string]: unknown;
|
|
5069
|
+
}
|
|
5070
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5071
|
+
interface ResourcesData {
|
|
5072
|
+
resourcesUid?: number;
|
|
5073
|
+
resourceId?: string;
|
|
5074
|
+
resourceName?: string;
|
|
5075
|
+
resourceType?: string;
|
|
5076
|
+
resourcePath?: string;
|
|
5077
|
+
description?: string | null;
|
|
5078
|
+
dateCreated?: string;
|
|
5079
|
+
dateLastModified?: string;
|
|
5080
|
+
updateCd?: number;
|
|
5081
|
+
statusCd?: number;
|
|
5082
|
+
processCd?: number;
|
|
5083
|
+
[key: string]: unknown;
|
|
5084
|
+
}
|
|
5085
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
4999
5086
|
interface RolesData {
|
|
5000
5087
|
rolesUid?: number;
|
|
5001
5088
|
roleId?: string;
|
|
@@ -5010,6 +5097,18 @@ interface RolesData {
|
|
|
5010
5097
|
[key: string]: unknown;
|
|
5011
5098
|
}
|
|
5012
5099
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5100
|
+
interface RolesBundlesData {
|
|
5101
|
+
rolesXBundlesUid?: number;
|
|
5102
|
+
rolesUid?: number;
|
|
5103
|
+
bundlesUid?: number;
|
|
5104
|
+
dateCreated?: string;
|
|
5105
|
+
dateLastModified?: string;
|
|
5106
|
+
updateCd?: number;
|
|
5107
|
+
statusCd?: number;
|
|
5108
|
+
processCd?: number;
|
|
5109
|
+
[key: string]: unknown;
|
|
5110
|
+
}
|
|
5111
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5013
5112
|
interface UsersData {
|
|
5014
5113
|
usersUid?: number;
|
|
5015
5114
|
username?: string;
|
|
@@ -5025,9 +5124,20 @@ interface UsersData {
|
|
|
5025
5124
|
[key: string]: unknown;
|
|
5026
5125
|
}
|
|
5027
5126
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5028
|
-
interface
|
|
5127
|
+
interface UsersRotateData {
|
|
5029
5128
|
usersUid?: number;
|
|
5030
5129
|
username?: string;
|
|
5130
|
+
token?: string;
|
|
5131
|
+
[key: string]: unknown;
|
|
5132
|
+
}
|
|
5133
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5134
|
+
interface UsersValidateData {
|
|
5135
|
+
valid?: boolean;
|
|
5136
|
+
scope?: string;
|
|
5137
|
+
userId?: number;
|
|
5138
|
+
username?: string;
|
|
5139
|
+
email?: string;
|
|
5140
|
+
name?: string;
|
|
5031
5141
|
[key: string]: unknown;
|
|
5032
5142
|
}
|
|
5033
5143
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
@@ -5043,12 +5153,40 @@ interface UsersRolesData {
|
|
|
5043
5153
|
[key: string]: unknown;
|
|
5044
5154
|
}
|
|
5045
5155
|
interface AgrIntClientSpec {
|
|
5156
|
+
bundles: {
|
|
5157
|
+
list: (params?: BundlesListParams) => Promise<BaseResponse<BundlesData[]>>;
|
|
5158
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<BundlesData>>;
|
|
5159
|
+
get: (bundlesUid: number, params?: BundlesGetParams) => Promise<BaseResponse<BundlesData>>;
|
|
5160
|
+
update: (bundlesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BundlesData>>;
|
|
5161
|
+
delete: (bundlesUid: number) => Promise<BaseResponse<BundlesData>>;
|
|
5162
|
+
resources: {
|
|
5163
|
+
list: (bundlesUid: number, params?: BundlesResourcesListParams) => Promise<BaseResponse<BundlesResourcesData[]>>;
|
|
5164
|
+
create: (bundlesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BundlesResourcesData>>;
|
|
5165
|
+
get: (bundlesUid: number, bundlesXResourcesUid: number, params?: BundlesResourcesGetParams) => Promise<BaseResponse<BundlesResourcesData>>;
|
|
5166
|
+
update: (bundlesUid: number, bundlesXResourcesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BundlesResourcesData>>;
|
|
5167
|
+
delete: (bundlesUid: number, bundlesXResourcesUid: number) => Promise<BaseResponse<BundlesResourcesData>>;
|
|
5168
|
+
};
|
|
5169
|
+
};
|
|
5170
|
+
resources: {
|
|
5171
|
+
list: (params?: ResourcesListParams) => Promise<BaseResponse<ResourcesData[]>>;
|
|
5172
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<ResourcesData>>;
|
|
5173
|
+
get: (resourcesUid: number, params?: ResourcesGetParams) => Promise<BaseResponse<ResourcesData>>;
|
|
5174
|
+
update: (resourcesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<ResourcesData>>;
|
|
5175
|
+
delete: (resourcesUid: number) => Promise<BaseResponse<ResourcesData>>;
|
|
5176
|
+
};
|
|
5046
5177
|
roles: {
|
|
5047
5178
|
list: (params?: RolesListParams) => Promise<BaseResponse<RolesData[]>>;
|
|
5048
5179
|
create: (data: Record<string, unknown>) => Promise<BaseResponse<RolesData>>;
|
|
5049
5180
|
get: (rolesUid: number, params?: RolesGetParams) => Promise<BaseResponse<RolesData>>;
|
|
5050
5181
|
update: (rolesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<RolesData>>;
|
|
5051
5182
|
delete: (rolesUid: number) => Promise<BaseResponse<RolesData>>;
|
|
5183
|
+
bundles: {
|
|
5184
|
+
list: (rolesUid: number, params?: RolesBundlesListParams) => Promise<BaseResponse<RolesBundlesData[]>>;
|
|
5185
|
+
create: (rolesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<RolesBundlesData>>;
|
|
5186
|
+
get: (rolesUid: number, rolesXBundlesUid: number, params?: RolesBundlesGetParams) => Promise<BaseResponse<RolesBundlesData>>;
|
|
5187
|
+
update: (rolesUid: number, rolesXBundlesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<RolesBundlesData>>;
|
|
5188
|
+
delete: (rolesUid: number, rolesXBundlesUid: number) => Promise<BaseResponse<RolesBundlesData>>;
|
|
5189
|
+
};
|
|
5052
5190
|
};
|
|
5053
5191
|
users: {
|
|
5054
5192
|
list: (params?: UsersListParams) => Promise<BaseResponse<UsersData[]>>;
|
|
@@ -5063,8 +5201,14 @@ interface AgrIntClientSpec {
|
|
|
5063
5201
|
update: (usersUid: number, usersXRolesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<UsersRolesData>>;
|
|
5064
5202
|
delete: (usersUid: number, usersXRolesUid: number) => Promise<BaseResponse<UsersRolesData>>;
|
|
5065
5203
|
};
|
|
5204
|
+
rotate: {
|
|
5205
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<UsersRotateData>>;
|
|
5206
|
+
};
|
|
5207
|
+
validate: {
|
|
5208
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<UsersValidateData>>;
|
|
5209
|
+
};
|
|
5066
5210
|
verify: {
|
|
5067
|
-
create: (data: Record<string, unknown>) => Promise<BaseResponse<
|
|
5211
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<UsersRotateData>>;
|
|
5068
5212
|
};
|
|
5069
5213
|
};
|
|
5070
5214
|
}
|
|
@@ -5072,14 +5216,18 @@ interface AgrIntClientSpec {
|
|
|
5072
5216
|
/**
|
|
5073
5217
|
* Generated client for agr-int service
|
|
5074
5218
|
* Source: shared/specs/agr-int.json
|
|
5075
|
-
* Generated: 2026-06-
|
|
5219
|
+
* Generated: 2026-06-14T22:37:15Z
|
|
5076
5220
|
*
|
|
5077
5221
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
5078
5222
|
*/
|
|
5079
5223
|
|
|
5080
5224
|
declare class AgrIntClient extends BaseServiceClient {
|
|
5225
|
+
readonly bundles: AgrIntClientSpec['bundles'];
|
|
5226
|
+
readonly resources: AgrIntClientSpec['resources'];
|
|
5081
5227
|
readonly roles: AgrIntClientSpec['roles'];
|
|
5082
5228
|
readonly users: AgrIntClientSpec['users'];
|
|
5229
|
+
readonly bundlesData: AgrIntClientSpec['bundles'];
|
|
5230
|
+
readonly resourcesData: AgrIntClientSpec['resources'];
|
|
5083
5231
|
readonly rolesData: AgrIntClientSpec['roles'];
|
|
5084
5232
|
readonly usersData: AgrIntClientSpec['users'];
|
|
5085
5233
|
constructor(http: HTTPClient, baseUrl?: string);
|
|
@@ -4957,11 +4957,45 @@ 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-14T22:37:15Z
|
|
4961
4961
|
*
|
|
4962
4962
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
4963
4963
|
*/
|
|
4964
4964
|
|
|
4965
|
+
/** Params for GET /bundles */
|
|
4966
|
+
interface BundlesListParams extends EdgeCacheParams {
|
|
4967
|
+
bundleId?: string;
|
|
4968
|
+
bundleName?: string;
|
|
4969
|
+
limit?: number;
|
|
4970
|
+
offset?: number;
|
|
4971
|
+
orderBy?: string;
|
|
4972
|
+
statusCd?: number;
|
|
4973
|
+
systemFlag?: string;
|
|
4974
|
+
}
|
|
4975
|
+
/** Params for GET /bundles/{bundlesUid} */
|
|
4976
|
+
type BundlesGetParams = EdgeCacheParams;
|
|
4977
|
+
/** Params for GET /bundles/{bundlesUid}/resources */
|
|
4978
|
+
interface BundlesResourcesListParams extends EdgeCacheParams {
|
|
4979
|
+
limit?: number;
|
|
4980
|
+
offset?: number;
|
|
4981
|
+
orderBy?: string;
|
|
4982
|
+
statusCd?: number;
|
|
4983
|
+
}
|
|
4984
|
+
/** Params for GET /bundles/{bundlesUid}/resources/{bundlesXResourcesUid} */
|
|
4985
|
+
type BundlesResourcesGetParams = EdgeCacheParams;
|
|
4986
|
+
/** Params for GET /resources */
|
|
4987
|
+
interface ResourcesListParams extends EdgeCacheParams {
|
|
4988
|
+
limit?: number;
|
|
4989
|
+
offset?: number;
|
|
4990
|
+
orderBy?: string;
|
|
4991
|
+
resourceId?: string;
|
|
4992
|
+
resourceName?: string;
|
|
4993
|
+
resourcePath?: string;
|
|
4994
|
+
resourceType?: string;
|
|
4995
|
+
statusCd?: number;
|
|
4996
|
+
}
|
|
4997
|
+
/** Params for GET /resources/{resourcesUid} */
|
|
4998
|
+
type ResourcesGetParams = EdgeCacheParams;
|
|
4965
4999
|
/** Params for GET /roles */
|
|
4966
5000
|
interface RolesListParams extends EdgeCacheParams {
|
|
4967
5001
|
limit?: number;
|
|
@@ -4974,6 +5008,15 @@ interface RolesListParams extends EdgeCacheParams {
|
|
|
4974
5008
|
}
|
|
4975
5009
|
/** Params for GET /roles/{rolesUid} */
|
|
4976
5010
|
type RolesGetParams = EdgeCacheParams;
|
|
5011
|
+
/** Params for GET /roles/{rolesUid}/bundles */
|
|
5012
|
+
interface RolesBundlesListParams extends EdgeCacheParams {
|
|
5013
|
+
limit?: number;
|
|
5014
|
+
offset?: number;
|
|
5015
|
+
orderBy?: string;
|
|
5016
|
+
statusCd?: number;
|
|
5017
|
+
}
|
|
5018
|
+
/** Params for GET /roles/{rolesUid}/bundles/{rolesXBundlesUid} */
|
|
5019
|
+
type RolesBundlesGetParams = EdgeCacheParams;
|
|
4977
5020
|
/** Params for GET /users */
|
|
4978
5021
|
interface UsersListParams extends EdgeCacheParams {
|
|
4979
5022
|
email?: string;
|
|
@@ -4996,6 +5039,50 @@ interface UsersRolesListParams extends EdgeCacheParams {
|
|
|
4996
5039
|
/** Params for GET /users/{usersUid}/roles/{usersXRolesUid} */
|
|
4997
5040
|
type UsersRolesGetParams = EdgeCacheParams;
|
|
4998
5041
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5042
|
+
interface BundlesData {
|
|
5043
|
+
bundlesUid?: number;
|
|
5044
|
+
bundleId?: string;
|
|
5045
|
+
bundleName?: string;
|
|
5046
|
+
description?: string | null;
|
|
5047
|
+
systemFlag?: string;
|
|
5048
|
+
dateCreated?: string;
|
|
5049
|
+
dateLastModified?: string;
|
|
5050
|
+
updateCd?: number;
|
|
5051
|
+
statusCd?: number;
|
|
5052
|
+
processCd?: number;
|
|
5053
|
+
[key: string]: unknown;
|
|
5054
|
+
}
|
|
5055
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5056
|
+
interface BundlesResourcesData {
|
|
5057
|
+
bundlesXResourcesUid?: number;
|
|
5058
|
+
bundlesUid?: number;
|
|
5059
|
+
resourcesUid?: number;
|
|
5060
|
+
readCd?: number;
|
|
5061
|
+
writeCd?: number;
|
|
5062
|
+
executeCd?: number;
|
|
5063
|
+
dateCreated?: string;
|
|
5064
|
+
dateLastModified?: string;
|
|
5065
|
+
updateCd?: number;
|
|
5066
|
+
statusCd?: number;
|
|
5067
|
+
processCd?: number;
|
|
5068
|
+
[key: string]: unknown;
|
|
5069
|
+
}
|
|
5070
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5071
|
+
interface ResourcesData {
|
|
5072
|
+
resourcesUid?: number;
|
|
5073
|
+
resourceId?: string;
|
|
5074
|
+
resourceName?: string;
|
|
5075
|
+
resourceType?: string;
|
|
5076
|
+
resourcePath?: string;
|
|
5077
|
+
description?: string | null;
|
|
5078
|
+
dateCreated?: string;
|
|
5079
|
+
dateLastModified?: string;
|
|
5080
|
+
updateCd?: number;
|
|
5081
|
+
statusCd?: number;
|
|
5082
|
+
processCd?: number;
|
|
5083
|
+
[key: string]: unknown;
|
|
5084
|
+
}
|
|
5085
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
4999
5086
|
interface RolesData {
|
|
5000
5087
|
rolesUid?: number;
|
|
5001
5088
|
roleId?: string;
|
|
@@ -5010,6 +5097,18 @@ interface RolesData {
|
|
|
5010
5097
|
[key: string]: unknown;
|
|
5011
5098
|
}
|
|
5012
5099
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5100
|
+
interface RolesBundlesData {
|
|
5101
|
+
rolesXBundlesUid?: number;
|
|
5102
|
+
rolesUid?: number;
|
|
5103
|
+
bundlesUid?: number;
|
|
5104
|
+
dateCreated?: string;
|
|
5105
|
+
dateLastModified?: string;
|
|
5106
|
+
updateCd?: number;
|
|
5107
|
+
statusCd?: number;
|
|
5108
|
+
processCd?: number;
|
|
5109
|
+
[key: string]: unknown;
|
|
5110
|
+
}
|
|
5111
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5013
5112
|
interface UsersData {
|
|
5014
5113
|
usersUid?: number;
|
|
5015
5114
|
username?: string;
|
|
@@ -5025,9 +5124,20 @@ interface UsersData {
|
|
|
5025
5124
|
[key: string]: unknown;
|
|
5026
5125
|
}
|
|
5027
5126
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5028
|
-
interface
|
|
5127
|
+
interface UsersRotateData {
|
|
5029
5128
|
usersUid?: number;
|
|
5030
5129
|
username?: string;
|
|
5130
|
+
token?: string;
|
|
5131
|
+
[key: string]: unknown;
|
|
5132
|
+
}
|
|
5133
|
+
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
5134
|
+
interface UsersValidateData {
|
|
5135
|
+
valid?: boolean;
|
|
5136
|
+
scope?: string;
|
|
5137
|
+
userId?: number;
|
|
5138
|
+
username?: string;
|
|
5139
|
+
email?: string;
|
|
5140
|
+
name?: string;
|
|
5031
5141
|
[key: string]: unknown;
|
|
5032
5142
|
}
|
|
5033
5143
|
/** Response data — fields are MINIMUM, extra fields pass through */
|
|
@@ -5043,12 +5153,40 @@ interface UsersRolesData {
|
|
|
5043
5153
|
[key: string]: unknown;
|
|
5044
5154
|
}
|
|
5045
5155
|
interface AgrIntClientSpec {
|
|
5156
|
+
bundles: {
|
|
5157
|
+
list: (params?: BundlesListParams) => Promise<BaseResponse<BundlesData[]>>;
|
|
5158
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<BundlesData>>;
|
|
5159
|
+
get: (bundlesUid: number, params?: BundlesGetParams) => Promise<BaseResponse<BundlesData>>;
|
|
5160
|
+
update: (bundlesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BundlesData>>;
|
|
5161
|
+
delete: (bundlesUid: number) => Promise<BaseResponse<BundlesData>>;
|
|
5162
|
+
resources: {
|
|
5163
|
+
list: (bundlesUid: number, params?: BundlesResourcesListParams) => Promise<BaseResponse<BundlesResourcesData[]>>;
|
|
5164
|
+
create: (bundlesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BundlesResourcesData>>;
|
|
5165
|
+
get: (bundlesUid: number, bundlesXResourcesUid: number, params?: BundlesResourcesGetParams) => Promise<BaseResponse<BundlesResourcesData>>;
|
|
5166
|
+
update: (bundlesUid: number, bundlesXResourcesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<BundlesResourcesData>>;
|
|
5167
|
+
delete: (bundlesUid: number, bundlesXResourcesUid: number) => Promise<BaseResponse<BundlesResourcesData>>;
|
|
5168
|
+
};
|
|
5169
|
+
};
|
|
5170
|
+
resources: {
|
|
5171
|
+
list: (params?: ResourcesListParams) => Promise<BaseResponse<ResourcesData[]>>;
|
|
5172
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<ResourcesData>>;
|
|
5173
|
+
get: (resourcesUid: number, params?: ResourcesGetParams) => Promise<BaseResponse<ResourcesData>>;
|
|
5174
|
+
update: (resourcesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<ResourcesData>>;
|
|
5175
|
+
delete: (resourcesUid: number) => Promise<BaseResponse<ResourcesData>>;
|
|
5176
|
+
};
|
|
5046
5177
|
roles: {
|
|
5047
5178
|
list: (params?: RolesListParams) => Promise<BaseResponse<RolesData[]>>;
|
|
5048
5179
|
create: (data: Record<string, unknown>) => Promise<BaseResponse<RolesData>>;
|
|
5049
5180
|
get: (rolesUid: number, params?: RolesGetParams) => Promise<BaseResponse<RolesData>>;
|
|
5050
5181
|
update: (rolesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<RolesData>>;
|
|
5051
5182
|
delete: (rolesUid: number) => Promise<BaseResponse<RolesData>>;
|
|
5183
|
+
bundles: {
|
|
5184
|
+
list: (rolesUid: number, params?: RolesBundlesListParams) => Promise<BaseResponse<RolesBundlesData[]>>;
|
|
5185
|
+
create: (rolesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<RolesBundlesData>>;
|
|
5186
|
+
get: (rolesUid: number, rolesXBundlesUid: number, params?: RolesBundlesGetParams) => Promise<BaseResponse<RolesBundlesData>>;
|
|
5187
|
+
update: (rolesUid: number, rolesXBundlesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<RolesBundlesData>>;
|
|
5188
|
+
delete: (rolesUid: number, rolesXBundlesUid: number) => Promise<BaseResponse<RolesBundlesData>>;
|
|
5189
|
+
};
|
|
5052
5190
|
};
|
|
5053
5191
|
users: {
|
|
5054
5192
|
list: (params?: UsersListParams) => Promise<BaseResponse<UsersData[]>>;
|
|
@@ -5063,8 +5201,14 @@ interface AgrIntClientSpec {
|
|
|
5063
5201
|
update: (usersUid: number, usersXRolesUid: number, data: Record<string, unknown>) => Promise<BaseResponse<UsersRolesData>>;
|
|
5064
5202
|
delete: (usersUid: number, usersXRolesUid: number) => Promise<BaseResponse<UsersRolesData>>;
|
|
5065
5203
|
};
|
|
5204
|
+
rotate: {
|
|
5205
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<UsersRotateData>>;
|
|
5206
|
+
};
|
|
5207
|
+
validate: {
|
|
5208
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<UsersValidateData>>;
|
|
5209
|
+
};
|
|
5066
5210
|
verify: {
|
|
5067
|
-
create: (data: Record<string, unknown>) => Promise<BaseResponse<
|
|
5211
|
+
create: (data: Record<string, unknown>) => Promise<BaseResponse<UsersRotateData>>;
|
|
5068
5212
|
};
|
|
5069
5213
|
};
|
|
5070
5214
|
}
|
|
@@ -5072,14 +5216,18 @@ interface AgrIntClientSpec {
|
|
|
5072
5216
|
/**
|
|
5073
5217
|
* Generated client for agr-int service
|
|
5074
5218
|
* Source: shared/specs/agr-int.json
|
|
5075
|
-
* Generated: 2026-06-
|
|
5219
|
+
* Generated: 2026-06-14T22:37:15Z
|
|
5076
5220
|
*
|
|
5077
5221
|
* DO NOT EDIT — regenerate with: python shared/scripts/generate-ts.py
|
|
5078
5222
|
*/
|
|
5079
5223
|
|
|
5080
5224
|
declare class AgrIntClient extends BaseServiceClient {
|
|
5225
|
+
readonly bundles: AgrIntClientSpec['bundles'];
|
|
5226
|
+
readonly resources: AgrIntClientSpec['resources'];
|
|
5081
5227
|
readonly roles: AgrIntClientSpec['roles'];
|
|
5082
5228
|
readonly users: AgrIntClientSpec['users'];
|
|
5229
|
+
readonly bundlesData: AgrIntClientSpec['bundles'];
|
|
5230
|
+
readonly resourcesData: AgrIntClientSpec['resources'];
|
|
5083
5231
|
readonly rolesData: AgrIntClientSpec['roles'];
|
|
5084
5232
|
readonly usersData: AgrIntClientSpec['users'];
|
|
5085
5233
|
constructor(http: HTTPClient, baseUrl?: string);
|
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-LO8qxF0b.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-LO8qxF0b.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.4";
|
|
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-LO8qxF0b.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-LO8qxF0b.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.4";
|
|
184
184
|
|
|
185
185
|
export { AugurAPI, type AugurAPIError, AugurError, AuthenticationError, type CrossSiteAuthParams, type CrossSiteAuthResult, InvalidArgumentError, NotFoundError, RateLimitError, VERSION, ValidationError, authenticateUserForSite, createCrossSiteAuthenticator };
|