@simpleapps-com/augur-api 2026.10.8 → 2026.10.9
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/README.md +18 -0
- package/SKILL.md +21 -3
- package/dist/{client-BhbdzKhy.d.mts → client-C9XBvL6B.d.mts} +192 -81
- package/dist/{client-BhbdzKhy.d.ts → client-C9XBvL6B.d.ts} +192 -81
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +108 -117
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +108 -117
- 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
|
@@ -250,6 +250,16 @@ type BaseResponse$1<T> = {
|
|
|
250
250
|
total: number;
|
|
251
251
|
totalResults: number;
|
|
252
252
|
};
|
|
253
|
+
/**
|
|
254
|
+
* The documented fields of a response type, without its `[key: string]: unknown` pass-through.
|
|
255
|
+
*
|
|
256
|
+
* Response types are the MINIMUM shape, so a misspelled field still compiles as `unknown`.
|
|
257
|
+
* Read rows through `Known<T>` to make any undocumented name a compile error, destructuring
|
|
258
|
+
* included: `const row: Known<ItemsTypes.InvMastInvSubListItem> = sub;`
|
|
259
|
+
*/
|
|
260
|
+
type Known<T> = {
|
|
261
|
+
[K in keyof T as string extends K ? never : number extends K ? never : K]: T[K];
|
|
262
|
+
};
|
|
253
263
|
type HealthCheckData = v.InferOutput<typeof HealthCheckDataSchema>;
|
|
254
264
|
type PingData = v.InferOutput<typeof PingDataSchema>;
|
|
255
265
|
type WhoamiData = v.InferOutput<typeof WhoamiDataSchema>;
|
|
@@ -1192,7 +1202,7 @@ interface UsersListItem$1 {
|
|
|
1192
1202
|
username: string;
|
|
1193
1203
|
/** 1 when the user is blocked */
|
|
1194
1204
|
block: number;
|
|
1195
|
-
/** Profile values keyed by profile key;
|
|
1205
|
+
/** Profile values keyed by profile key; {} when the user has none */
|
|
1196
1206
|
profileValues: Record<string, string>;
|
|
1197
1207
|
/** Prophet 21 customer ID from the profile; empty when unset */
|
|
1198
1208
|
customerId: string;
|
|
@@ -1264,8 +1274,8 @@ interface UsersVerifyPasswordCreateData {
|
|
|
1264
1274
|
isVerified: boolean;
|
|
1265
1275
|
/** Username sent */
|
|
1266
1276
|
username: string;
|
|
1267
|
-
/** User JWT;
|
|
1268
|
-
token: string |
|
|
1277
|
+
/** User JWT; null when the password did not match */
|
|
1278
|
+
token: string | null;
|
|
1269
1279
|
/** Email address; empty when the password did not match */
|
|
1270
1280
|
email: string;
|
|
1271
1281
|
/** True when the user's profile has a Prophet 21 customer ID */
|
|
@@ -4025,8 +4035,8 @@ interface TaxEngineCreateData {
|
|
|
4025
4035
|
taxEstimate: number;
|
|
4026
4036
|
/** P21 customer ID the items were priced for */
|
|
4027
4037
|
customerId: number;
|
|
4028
|
-
/** Postal code the tax rate was looked up for */
|
|
4029
|
-
postalCode: string
|
|
4038
|
+
/** Postal code the tax rate was looked up for, exactly as sent (leading zeros kept) */
|
|
4039
|
+
postalCode: string;
|
|
4030
4040
|
/** Tax rate applied, as a fraction (0.089 = 8.9%) */
|
|
4031
4041
|
taxRate: number;
|
|
4032
4042
|
/** Per-item tax estimates */
|
|
@@ -7868,8 +7878,11 @@ interface ItemSearchListDataItemsItem {
|
|
|
7868
7878
|
itemDesc: string | null;
|
|
7869
7879
|
/** OpenSearch relevance score */
|
|
7870
7880
|
score: number | null;
|
|
7871
|
-
/**
|
|
7872
|
-
|
|
7881
|
+
/**
|
|
7882
|
+
* Index source fields requested through sourceFieldsList, keyed by field name; null when the item
|
|
7883
|
+
* has none
|
|
7884
|
+
*/
|
|
7885
|
+
sourceFields: Record<string, unknown> | null;
|
|
7873
7886
|
/** Relevance score truncated to an integer */
|
|
7874
7887
|
scoreInt: number;
|
|
7875
7888
|
/** Brandfolder assets; the key is present only when useBrandFolderDoc=Y */
|
|
@@ -7893,8 +7906,8 @@ interface ItemSearchListData {
|
|
|
7893
7906
|
took: number;
|
|
7894
7907
|
/** query_string row recorded for this search text (0 when not recorded) */
|
|
7895
7908
|
queryStringUid: number;
|
|
7896
|
-
/** Redirect link configured for this search text, or
|
|
7897
|
-
queryStringRedirectLink: string |
|
|
7909
|
+
/** Redirect link configured for this search text, or null when none */
|
|
7910
|
+
queryStringRedirectLink: string | null;
|
|
7898
7911
|
[key: string]: unknown;
|
|
7899
7912
|
}
|
|
7900
7913
|
/**
|
|
@@ -10558,7 +10571,7 @@ interface CategoriesLookupGetDataChildrenOption1ItemRoomSceneOption1 {
|
|
|
10558
10571
|
}
|
|
10559
10572
|
/**
|
|
10560
10573
|
* Shape of `children` (MINIMUM fields; reused wherever the same shape appears)
|
|
10561
|
-
* Active child categories after childrenFilter, childrenLimit and childrenOffset
|
|
10574
|
+
* Active child categories after childrenFilter, childrenLimit and childrenOffset, in display order
|
|
10562
10575
|
*
|
|
10563
10576
|
* Field `children` of CategoriesLookupGetData
|
|
10564
10577
|
*/
|
|
@@ -10575,8 +10588,8 @@ interface CategoriesLookupGetDataChildrenOption1Item {
|
|
|
10575
10588
|
fullPath: string | null;
|
|
10576
10589
|
/** URL-safe hierarchy path */
|
|
10577
10590
|
cleanPath: string | null;
|
|
10578
|
-
/** Category image path, or
|
|
10579
|
-
categoryImage: string |
|
|
10591
|
+
/** Category image path, or null when none */
|
|
10592
|
+
categoryImage: string | null;
|
|
10580
10593
|
/** Display order under the parent */
|
|
10581
10594
|
sequenceNo: number;
|
|
10582
10595
|
/** Product collection */
|
|
@@ -10611,10 +10624,10 @@ interface CategoriesLookupGetData {
|
|
|
10611
10624
|
itemCategoryId: string;
|
|
10612
10625
|
/** Category description */
|
|
10613
10626
|
itemCategoryDesc: string;
|
|
10614
|
-
/** Category image path, or
|
|
10615
|
-
categoryImage: string |
|
|
10616
|
-
/** Category text, or
|
|
10617
|
-
categoryText: string |
|
|
10627
|
+
/** Category image path, or null when none */
|
|
10628
|
+
categoryImage: string | null;
|
|
10629
|
+
/** Category text, or null when none */
|
|
10630
|
+
categoryText: string | null;
|
|
10618
10631
|
/** Parent category ID */
|
|
10619
10632
|
parentItemCategoryUid: number;
|
|
10620
10633
|
/** Depth of the category in the hierarchy */
|
|
@@ -10631,8 +10644,11 @@ interface CategoriesLookupGetData {
|
|
|
10631
10644
|
maxItems: number;
|
|
10632
10645
|
/** Online items in the category (OpenSearch count, after filters) */
|
|
10633
10646
|
itemsByCategory: number;
|
|
10634
|
-
/**
|
|
10635
|
-
|
|
10647
|
+
/**
|
|
10648
|
+
* Active child categories after childrenFilter, childrenLimit and childrenOffset, in display
|
|
10649
|
+
* order
|
|
10650
|
+
*/
|
|
10651
|
+
children: CategoriesLookupGetDataChildrenOption1Item[];
|
|
10636
10652
|
/** Children before childrenFilter and paging */
|
|
10637
10653
|
childrenTotal: number;
|
|
10638
10654
|
/** Children returned */
|
|
@@ -11326,8 +11342,8 @@ interface InvMastListItem {
|
|
|
11326
11342
|
stock: InvMastStockGetData;
|
|
11327
11343
|
/** Category display description per item category ID */
|
|
11328
11344
|
categoryDisplayDescriptions: Record<string, string>;
|
|
11329
|
-
/** Non-empty user-defined field values, keyed by field name
|
|
11330
|
-
userDefined: Record<string, unknown
|
|
11345
|
+
/** Non-empty user-defined field values, keyed by field name; {} when the item has none */
|
|
11346
|
+
userDefined: Record<string, unknown>;
|
|
11331
11347
|
/** Prophet 21 item text blocks (empty unless the site has a p21_pim config) */
|
|
11332
11348
|
invMastText: InvMastListItemInvMastTextItem[];
|
|
11333
11349
|
/** Descriptions in other languages */
|
|
@@ -17463,7 +17479,7 @@ interface ContextGetDataOption1$1 {
|
|
|
17463
17479
|
*
|
|
17464
17480
|
* Nested in ContextGetData
|
|
17465
17481
|
*/
|
|
17466
|
-
interface ContextGetDataOption2
|
|
17482
|
+
interface ContextGetDataOption2 {
|
|
17467
17483
|
/** Site described */
|
|
17468
17484
|
siteId: string;
|
|
17469
17485
|
/** Site domain; null when the site is not provisioned */
|
|
@@ -17484,7 +17500,7 @@ interface ContextGetDataOption2$1 {
|
|
|
17484
17500
|
*
|
|
17485
17501
|
* Returned by: api.agrSite.context.get(siteId)
|
|
17486
17502
|
*/
|
|
17487
|
-
type ContextGetData$1 = ContextGetDataOption1$1 | ContextGetDataOption2
|
|
17503
|
+
type ContextGetData$1 = ContextGetDataOption1$1 | ContextGetDataOption2;
|
|
17488
17504
|
/**
|
|
17489
17505
|
* Write a file to a site web folder
|
|
17490
17506
|
* Response data for POST /datafiles — MINIMUM fields, extras pass through
|
|
@@ -18667,6 +18683,7 @@ type types$h_ConfigsListItem = ConfigsListItem;
|
|
|
18667
18683
|
type types$h_ConfigsListParams = ConfigsListParams;
|
|
18668
18684
|
type types$h_ConfigsUpdateBody = ConfigsUpdateBody;
|
|
18669
18685
|
type types$h_ConfigsUpdateData = ConfigsUpdateData;
|
|
18686
|
+
type types$h_ContextGetDataOption2 = ContextGetDataOption2;
|
|
18670
18687
|
type types$h_DatafilesCreateBody = DatafilesCreateBody;
|
|
18671
18688
|
type types$h_DatafilesCreateData = DatafilesCreateData;
|
|
18672
18689
|
type types$h_FyxerTranscriptCreateBody = FyxerTranscriptCreateBody;
|
|
@@ -18721,7 +18738,7 @@ type types$h_UsersAddressesListParams = UsersAddressesListParams;
|
|
|
18721
18738
|
type types$h_UsersAddressesUpdateBody = UsersAddressesUpdateBody;
|
|
18722
18739
|
type types$h_UsersAddressesUpdateData = UsersAddressesUpdateData;
|
|
18723
18740
|
declare namespace types$h {
|
|
18724
|
-
export type { types$h_AgrSiteClientSpec as AgrSiteClientSpec, types$h_ConfigsGetData as ConfigsGetData, types$h_ConfigsGetDataConfigsItem as ConfigsGetDataConfigsItem, types$h_ConfigsGetParams as ConfigsGetParams, types$h_ConfigsListData as ConfigsListData, types$h_ConfigsListItem as ConfigsListItem, types$h_ConfigsListParams as ConfigsListParams, types$h_ConfigsUpdateBody as ConfigsUpdateBody, types$h_ConfigsUpdateData as ConfigsUpdateData, ContextGetData$1 as ContextGetData, ContextGetDataOption1$1 as ContextGetDataOption1, ContextGetDataOption1ServicesItem$1 as ContextGetDataOption1ServicesItem,
|
|
18741
|
+
export type { types$h_AgrSiteClientSpec as AgrSiteClientSpec, types$h_ConfigsGetData as ConfigsGetData, types$h_ConfigsGetDataConfigsItem as ConfigsGetDataConfigsItem, types$h_ConfigsGetParams as ConfigsGetParams, types$h_ConfigsListData as ConfigsListData, types$h_ConfigsListItem as ConfigsListItem, types$h_ConfigsListParams as ConfigsListParams, types$h_ConfigsUpdateBody as ConfigsUpdateBody, types$h_ConfigsUpdateData as ConfigsUpdateData, ContextGetData$1 as ContextGetData, ContextGetDataOption1$1 as ContextGetDataOption1, ContextGetDataOption1ServicesItem$1 as ContextGetDataOption1ServicesItem, types$h_ContextGetDataOption2 as ContextGetDataOption2, ContextGetParams$1 as ContextGetParams, types$h_DatafilesCreateBody as DatafilesCreateBody, types$h_DatafilesCreateData as DatafilesCreateData, types$h_FyxerTranscriptCreateBody as FyxerTranscriptCreateBody, types$h_FyxerTranscriptCreateData as FyxerTranscriptCreateData, types$h_FyxerTranscriptDeleteData as FyxerTranscriptDeleteData, types$h_FyxerTranscriptGetData as FyxerTranscriptGetData, types$h_FyxerTranscriptGetParams as FyxerTranscriptGetParams, types$h_FyxerTranscriptListData as FyxerTranscriptListData, types$h_FyxerTranscriptListItem as FyxerTranscriptListItem, types$h_FyxerTranscriptListParams as FyxerTranscriptListParams, types$h_FyxerTranscriptUpdateBody as FyxerTranscriptUpdateBody, types$h_FyxerTranscriptUpdateData as FyxerTranscriptUpdateData, types$h_GeoCodesPostalCodesGetData as GeoCodesPostalCodesGetData, types$h_GeoCodesPostalCodesGetParams as GeoCodesPostalCodesGetParams, types$h_GeoCodesPostalCodesListData as GeoCodesPostalCodesListData, types$h_GeoCodesPostalCodesListItem as GeoCodesPostalCodesListItem, types$h_GeoCodesPostalCodesListParams as GeoCodesPostalCodesListParams, types$h_MetaFilesRobotsListData as MetaFilesRobotsListData, types$h_MetaFilesRobotsListParams as MetaFilesRobotsListParams, types$h_NotificationsCreateBody as NotificationsCreateBody, types$h_NotificationsCreateData as NotificationsCreateData, types$h_OpenSearchEmbeddingListData as OpenSearchEmbeddingListData, types$h_OpenSearchEmbeddingListParams as OpenSearchEmbeddingListParams, types$h_PostalCodesXShiptosCreateBody as PostalCodesXShiptosCreateBody, types$h_PostalCodesXShiptosCreateData as PostalCodesXShiptosCreateData, types$h_PostalCodesXShiptosDeleteData as PostalCodesXShiptosDeleteData, types$h_PostalCodesXShiptosGetData as PostalCodesXShiptosGetData, types$h_PostalCodesXShiptosGetParams as PostalCodesXShiptosGetParams, types$h_PostalCodesXShiptosListData as PostalCodesXShiptosListData, types$h_PostalCodesXShiptosListItem as PostalCodesXShiptosListItem, types$h_PostalCodesXShiptosListParams as PostalCodesXShiptosListParams, types$h_PostalCodesXShiptosUpdateBody as PostalCodesXShiptosUpdateBody, types$h_PostalCodesXShiptosUpdateData as PostalCodesXShiptosUpdateData, types$h_SettingsCreateBody as SettingsCreateBody, types$h_SettingsCreateData as SettingsCreateData, types$h_SettingsDeleteData as SettingsDeleteData, types$h_SettingsGetData as SettingsGetData, types$h_SettingsGetParams as SettingsGetParams, types$h_SettingsListData as SettingsListData, types$h_SettingsListItem as SettingsListItem, types$h_SettingsListParams as SettingsListParams, types$h_SettingsUpdateBody as SettingsUpdateBody, types$h_SettingsUpdateData as SettingsUpdateData, types$h_UsersAddressesCreateBody as UsersAddressesCreateBody, types$h_UsersAddressesCreateData as UsersAddressesCreateData, types$h_UsersAddressesDeleteData as UsersAddressesDeleteData, types$h_UsersAddressesGetData as UsersAddressesGetData, types$h_UsersAddressesGetParams as UsersAddressesGetParams, types$h_UsersAddressesListData as UsersAddressesListData, types$h_UsersAddressesListItem as UsersAddressesListItem, types$h_UsersAddressesListParams as UsersAddressesListParams, types$h_UsersAddressesUpdateBody as UsersAddressesUpdateBody, types$h_UsersAddressesUpdateData as UsersAddressesUpdateData };
|
|
18725
18742
|
}
|
|
18726
18743
|
|
|
18727
18744
|
/**
|
|
@@ -25438,9 +25455,10 @@ interface ContextGetDataOption1ServicesItem {
|
|
|
25438
25455
|
[key: string]: unknown;
|
|
25439
25456
|
}
|
|
25440
25457
|
/**
|
|
25441
|
-
*
|
|
25458
|
+
* Get a site configuration context
|
|
25459
|
+
* Response data for GET /context/{siteId} — MINIMUM fields, extras pass through
|
|
25442
25460
|
*
|
|
25443
|
-
*
|
|
25461
|
+
* Returned by: api.agrInfo.context.get(siteId)
|
|
25444
25462
|
*/
|
|
25445
25463
|
interface ContextGetDataOption1 {
|
|
25446
25464
|
/** Site described */
|
|
@@ -25457,33 +25475,13 @@ interface ContextGetDataOption1 {
|
|
|
25457
25475
|
inactiveServices: string[];
|
|
25458
25476
|
[key: string]: unknown;
|
|
25459
25477
|
}
|
|
25460
|
-
/**
|
|
25461
|
-
* Shape of data nested in ContextGetData (MINIMUM fields; reused wherever the same shape appears)
|
|
25462
|
-
*
|
|
25463
|
-
* Nested in ContextGetData
|
|
25464
|
-
*/
|
|
25465
|
-
interface ContextGetDataOption2 {
|
|
25466
|
-
/** Site described */
|
|
25467
|
-
siteId: string;
|
|
25468
|
-
/** Site domain; null when the site is not provisioned */
|
|
25469
|
-
domain: string | null;
|
|
25470
|
-
/** Site row in sites_table (dev port = 3000 + uid); 0 when the site is unknown */
|
|
25471
|
-
uid: number;
|
|
25472
|
-
/** Services the site is configured for */
|
|
25473
|
-
services: string[];
|
|
25474
|
-
/** Number of configured services */
|
|
25475
|
-
serviceCount: number;
|
|
25476
|
-
/** Services the site is not configured for */
|
|
25477
|
-
inactiveServices: string[];
|
|
25478
|
-
[key: string]: unknown;
|
|
25479
|
-
}
|
|
25480
25478
|
/**
|
|
25481
25479
|
* Get a site configuration context
|
|
25482
25480
|
* Response data for GET /context/{siteId} — MINIMUM fields, extras pass through
|
|
25483
25481
|
*
|
|
25484
25482
|
* Returned by: api.agrInfo.context.get(siteId)
|
|
25485
25483
|
*/
|
|
25486
|
-
type ContextGetData = ContextGetDataOption1
|
|
25484
|
+
type ContextGetData = ContextGetDataOption1;
|
|
25487
25485
|
/**
|
|
25488
25486
|
* Generate Response from joomla
|
|
25489
25487
|
* Response data for POST /joomla/generate — MINIMUM fields, extras pass through
|
|
@@ -25684,6 +25682,96 @@ interface RubricsUpdateBody {
|
|
|
25684
25682
|
* Returned by: api.agrInfo.rubrics.delete(rubricsUid)
|
|
25685
25683
|
*/
|
|
25686
25684
|
type RubricsDeleteData = RubricsListItem;
|
|
25685
|
+
/**
|
|
25686
|
+
* Shape of `user` (MINIMUM fields; reused wherever the same shape appears)
|
|
25687
|
+
* The token's user; null for a site token or a refused caller
|
|
25688
|
+
*
|
|
25689
|
+
* Field `user` of SitesP21ApiCreateData
|
|
25690
|
+
* Field `user` of SitesValidateCreateData
|
|
25691
|
+
*/
|
|
25692
|
+
interface SitesValidateCreateDataUser {
|
|
25693
|
+
/** User ID (a Joomla user, or an agr_int user for agr-int-user and client tokens) */
|
|
25694
|
+
userId: number;
|
|
25695
|
+
/** Username */
|
|
25696
|
+
username: string;
|
|
25697
|
+
/** Email address; empty for a client credential */
|
|
25698
|
+
email: string;
|
|
25699
|
+
/** Display name; empty for a client credential */
|
|
25700
|
+
name: string;
|
|
25701
|
+
/** Roles granted to the user ("Super User" for a Joomla super user) */
|
|
25702
|
+
roles: string[];
|
|
25703
|
+
[key: string]: unknown;
|
|
25704
|
+
}
|
|
25705
|
+
/**
|
|
25706
|
+
* Shape of `p21` (MINIMUM fields; reused wherever the same shape appears)
|
|
25707
|
+
* The site's P21 API credentials; null when the caller is refused or the site has no P21 API
|
|
25708
|
+
* configured
|
|
25709
|
+
*
|
|
25710
|
+
* Field `p21` of SitesP21ApiCreateData
|
|
25711
|
+
*/
|
|
25712
|
+
interface SitesP21ApiCreateDataP21 {
|
|
25713
|
+
/**
|
|
25714
|
+
* P21 API base URL (https://{host}:{port}); token endpoint is POST
|
|
25715
|
+
* {baseUrl}/api/security/token/v2
|
|
25716
|
+
*/
|
|
25717
|
+
baseUrl: string;
|
|
25718
|
+
/** P21 API user name, sent to the token endpoint with the password */
|
|
25719
|
+
username: string;
|
|
25720
|
+
/** P21 API password */
|
|
25721
|
+
password: string;
|
|
25722
|
+
/** P21 consumer key for the token endpoint; null while sites use user credentials */
|
|
25723
|
+
clientSecret: string | null;
|
|
25724
|
+
/** True when the site allows write-back through the P21 API; false until write-back exists */
|
|
25725
|
+
writable: boolean;
|
|
25726
|
+
[key: string]: unknown;
|
|
25727
|
+
}
|
|
25728
|
+
/**
|
|
25729
|
+
* P21 API credentials
|
|
25730
|
+
* Response data for POST /sites/p21-api — MINIMUM fields, extras pass through
|
|
25731
|
+
*
|
|
25732
|
+
* Returned by: api.agrInfo.sites.p21Api.create(data)
|
|
25733
|
+
*/
|
|
25734
|
+
interface SitesP21ApiCreateData {
|
|
25735
|
+
/** True when the caller is accepted for the site (validated exactly as POST /sites/validate) */
|
|
25736
|
+
valid: boolean;
|
|
25737
|
+
/** Site the caller was validated against */
|
|
25738
|
+
siteId: string;
|
|
25739
|
+
/** Why the caller was refused, or why p21 is null; empty otherwise */
|
|
25740
|
+
error: string;
|
|
25741
|
+
/** site, user, agr-int-user or client; null when the token did not validate */
|
|
25742
|
+
tokenType: string | null;
|
|
25743
|
+
/** True for a Joomla super user token */
|
|
25744
|
+
isAdmin: boolean;
|
|
25745
|
+
/** The token's user; null for a site token or a refused caller */
|
|
25746
|
+
user: SitesValidateCreateDataUser | null;
|
|
25747
|
+
/**
|
|
25748
|
+
* The site's P21 API credentials; null when the caller is refused or the site has no P21 API
|
|
25749
|
+
* configured
|
|
25750
|
+
*/
|
|
25751
|
+
p21: SitesP21ApiCreateDataP21 | null;
|
|
25752
|
+
[key: string]: unknown;
|
|
25753
|
+
}
|
|
25754
|
+
/**
|
|
25755
|
+
* P21 API credentials
|
|
25756
|
+
* Request body for POST /sites/p21-api — MINIMUM fields, extras pass through
|
|
25757
|
+
*
|
|
25758
|
+
* Request body of: api.agrInfo.sites.p21Api.create(data)
|
|
25759
|
+
* Request body of: api.agrInfo.sites.validate.create(data)
|
|
25760
|
+
*/
|
|
25761
|
+
interface SitesValidateCreateBody {
|
|
25762
|
+
/** Site the token was issued for */
|
|
25763
|
+
siteId: string;
|
|
25764
|
+
/** JWT, or an agr_int client credential (agrc_...) */
|
|
25765
|
+
token: string;
|
|
25766
|
+
[key: string]: unknown;
|
|
25767
|
+
}
|
|
25768
|
+
/**
|
|
25769
|
+
* P21 API credentials
|
|
25770
|
+
* Request body for POST /sites/p21-api — MINIMUM fields, extras pass through
|
|
25771
|
+
*
|
|
25772
|
+
* Request body of: api.agrInfo.sites.p21Api.create(data)
|
|
25773
|
+
*/
|
|
25774
|
+
type SitesP21ApiCreateBody = SitesValidateCreateBody;
|
|
25687
25775
|
/**
|
|
25688
25776
|
* Staff token for a target site
|
|
25689
25777
|
* Response data for POST /sites/staff-token — MINIMUM fields, extras pass through
|
|
@@ -25710,25 +25798,6 @@ interface SitesStaffTokenCreateBody {
|
|
|
25710
25798
|
siteId: string;
|
|
25711
25799
|
[key: string]: unknown;
|
|
25712
25800
|
}
|
|
25713
|
-
/**
|
|
25714
|
-
* Shape of `user` (MINIMUM fields; reused wherever the same shape appears)
|
|
25715
|
-
* The token's user; null for a site token or a failed validation
|
|
25716
|
-
*
|
|
25717
|
-
* Field `user` of SitesValidateCreateData
|
|
25718
|
-
*/
|
|
25719
|
-
interface SitesValidateCreateDataUser {
|
|
25720
|
-
/** User ID (a Joomla user, or an agr_int user for agr-int-user and client tokens) */
|
|
25721
|
-
userId: number;
|
|
25722
|
-
/** Username */
|
|
25723
|
-
username: string;
|
|
25724
|
-
/** Email address; empty for a client credential */
|
|
25725
|
-
email: string;
|
|
25726
|
-
/** Display name; empty for a client credential */
|
|
25727
|
-
name: string;
|
|
25728
|
-
/** Roles granted to the user ("Super User" for a Joomla super user) */
|
|
25729
|
-
roles: string[];
|
|
25730
|
-
[key: string]: unknown;
|
|
25731
|
-
}
|
|
25732
25801
|
/**
|
|
25733
25802
|
* Shape of `connection` (MINIMUM fields; reused wherever the same shape appears)
|
|
25734
25803
|
* The site's P21 database connection
|
|
@@ -25771,19 +25840,6 @@ interface SitesValidateCreateData {
|
|
|
25771
25840
|
connection: SitesValidateCreateDataConnection;
|
|
25772
25841
|
[key: string]: unknown;
|
|
25773
25842
|
}
|
|
25774
|
-
/**
|
|
25775
|
-
* Validate credentials
|
|
25776
|
-
* Request body for POST /sites/validate — MINIMUM fields, extras pass through
|
|
25777
|
-
*
|
|
25778
|
-
* Request body of: api.agrInfo.sites.validate.create(data)
|
|
25779
|
-
*/
|
|
25780
|
-
interface SitesValidateCreateBody {
|
|
25781
|
-
/** Site the token was issued for */
|
|
25782
|
-
siteId: string;
|
|
25783
|
-
/** JWT, or an agr_int client credential (agrc_...) */
|
|
25784
|
-
token: string;
|
|
25785
|
-
[key: string]: unknown;
|
|
25786
|
-
}
|
|
25787
25843
|
/**
|
|
25788
25844
|
* List Workflows
|
|
25789
25845
|
* Response data for GET /workflows — MINIMUM fields, extras pass through
|
|
@@ -25911,6 +25967,7 @@ interface AgrInfoClientSpec {
|
|
|
25911
25967
|
*
|
|
25912
25968
|
* Errors:
|
|
25913
25969
|
* 400: The body is missing or not a JSON object.
|
|
25970
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
25914
25971
|
*
|
|
25915
25972
|
* POST https://agr-info.augur-api.com/akasha/generate
|
|
25916
25973
|
* Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1akasha~1generate/post
|
|
@@ -25928,8 +25985,14 @@ interface AgrInfoClientSpec {
|
|
|
25928
25985
|
*
|
|
25929
25986
|
* get the context for a site
|
|
25930
25987
|
*
|
|
25988
|
+
* Response data: A site's configuration as the admin site (augur_info) sees it: every service
|
|
25989
|
+
* with its full config
|
|
25990
|
+
*
|
|
25931
25991
|
* Auth: bearer token; spec scopes: none listed (most endpoints list `public`)
|
|
25932
25992
|
*
|
|
25993
|
+
* Errors:
|
|
25994
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
25995
|
+
*
|
|
25933
25996
|
* GET https://agr-info.augur-api.com/context/{siteId}
|
|
25934
25997
|
* Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1context~1{siteId}/get
|
|
25935
25998
|
*
|
|
@@ -25950,6 +26013,7 @@ interface AgrInfoClientSpec {
|
|
|
25950
26013
|
*
|
|
25951
26014
|
* Errors:
|
|
25952
26015
|
* 400: The body is missing or not a JSON object.
|
|
26016
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
25953
26017
|
*
|
|
25954
26018
|
* POST https://agr-info.augur-api.com/joomla/generate
|
|
25955
26019
|
* Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1joomla~1generate/post
|
|
@@ -25967,6 +26031,7 @@ interface AgrInfoClientSpec {
|
|
|
25967
26031
|
*
|
|
25968
26032
|
* Errors:
|
|
25969
26033
|
* 400: orderBy is not column|ASC or column|DESC on a microservices column.
|
|
26034
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
25970
26035
|
*
|
|
25971
26036
|
* GET https://agr-info.augur-api.com/microservices
|
|
25972
26037
|
* Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1microservices/get
|
|
@@ -25983,6 +26048,7 @@ interface AgrInfoClientSpec {
|
|
|
25983
26048
|
*
|
|
25984
26049
|
* Errors:
|
|
25985
26050
|
* 400: The body is missing or not a JSON object. Or name is missing.
|
|
26051
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
25986
26052
|
*
|
|
25987
26053
|
* POST https://agr-info.augur-api.com/microservices
|
|
25988
26054
|
* Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1microservices/post
|
|
@@ -25996,6 +26062,7 @@ interface AgrInfoClientSpec {
|
|
|
25996
26062
|
* Call: api.agrInfo.microservices.get(microservicesUid)
|
|
25997
26063
|
*
|
|
25998
26064
|
* Errors:
|
|
26065
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
25999
26066
|
* 404: No microservice with this ID.
|
|
26000
26067
|
*
|
|
26001
26068
|
* GET https://agr-info.augur-api.com/microservices/{microservicesUid}
|
|
@@ -26016,6 +26083,7 @@ interface AgrInfoClientSpec {
|
|
|
26016
26083
|
*
|
|
26017
26084
|
* Errors:
|
|
26018
26085
|
* 400: The body is missing or not a JSON object.
|
|
26086
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26019
26087
|
* 404: No microservice with this ID.
|
|
26020
26088
|
*
|
|
26021
26089
|
* PUT https://agr-info.augur-api.com/microservices/{microservicesUid}
|
|
@@ -26032,6 +26100,7 @@ interface AgrInfoClientSpec {
|
|
|
26032
26100
|
* Call: api.agrInfo.microservices.delete(microservicesUid)
|
|
26033
26101
|
*
|
|
26034
26102
|
* Errors:
|
|
26103
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26035
26104
|
* 404: No microservice with this ID.
|
|
26036
26105
|
*
|
|
26037
26106
|
* DELETE https://agr-info.augur-api.com/microservices/{microservicesUid}
|
|
@@ -26050,6 +26119,7 @@ interface AgrInfoClientSpec {
|
|
|
26050
26119
|
*
|
|
26051
26120
|
* Errors:
|
|
26052
26121
|
* 400: orderBy is not column|ASC or column|DESC on a rubrics column.
|
|
26122
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26053
26123
|
*
|
|
26054
26124
|
* GET https://agr-info.augur-api.com/rubrics
|
|
26055
26125
|
* Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1rubrics/get
|
|
@@ -26067,6 +26137,7 @@ interface AgrInfoClientSpec {
|
|
|
26067
26137
|
*
|
|
26068
26138
|
* Errors:
|
|
26069
26139
|
* 400: The body is missing or not a JSON object. Or title, id or content is missing.
|
|
26140
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26070
26141
|
*
|
|
26071
26142
|
* POST https://agr-info.augur-api.com/rubrics
|
|
26072
26143
|
* Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1rubrics/post
|
|
@@ -26080,6 +26151,7 @@ interface AgrInfoClientSpec {
|
|
|
26080
26151
|
* Call: api.agrInfo.rubrics.get(rubricsUid)
|
|
26081
26152
|
*
|
|
26082
26153
|
* Errors:
|
|
26154
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26083
26155
|
* 404: No rubric with this ID.
|
|
26084
26156
|
*
|
|
26085
26157
|
* GET https://agr-info.augur-api.com/rubrics/{rubricsUid}
|
|
@@ -26098,6 +26170,7 @@ interface AgrInfoClientSpec {
|
|
|
26098
26170
|
*
|
|
26099
26171
|
* Errors:
|
|
26100
26172
|
* 400: The body is missing or not a JSON object.
|
|
26173
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26101
26174
|
* 404: No rubric with this ID.
|
|
26102
26175
|
*
|
|
26103
26176
|
* PUT https://agr-info.augur-api.com/rubrics/{rubricsUid}
|
|
@@ -26113,6 +26186,7 @@ interface AgrInfoClientSpec {
|
|
|
26113
26186
|
* Call: api.agrInfo.rubrics.delete(rubricsUid)
|
|
26114
26187
|
*
|
|
26115
26188
|
* Errors:
|
|
26189
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26116
26190
|
* 404: No rubric with this ID.
|
|
26117
26191
|
*
|
|
26118
26192
|
* DELETE https://agr-info.augur-api.com/rubrics/{rubricsUid}
|
|
@@ -26124,6 +26198,32 @@ interface AgrInfoClientSpec {
|
|
|
26124
26198
|
delete: (rubricsUid: number) => Promise<BaseResponse$1<RubricsDeleteData>>;
|
|
26125
26199
|
};
|
|
26126
26200
|
sites: {
|
|
26201
|
+
p21Api: {
|
|
26202
|
+
/**
|
|
26203
|
+
* P21 API credentials
|
|
26204
|
+
* Call: api.agrInfo.sites.p21Api.create(data)
|
|
26205
|
+
*
|
|
26206
|
+
* Validate a caller for a site exactly as POST /sites/validate does, and return the site's
|
|
26207
|
+
* Prophet 21 API (middleware) credentials instead of the SQL connection. An accepted caller
|
|
26208
|
+
* is valid even when the site has no P21 API configured (p21 null). Sent with Cache-Control:
|
|
26209
|
+
* private, no-store
|
|
26210
|
+
*
|
|
26211
|
+
* Request body: Validate a site's token or client credential
|
|
26212
|
+
* Response data: Result of validating a caller for a site, with the site's Prophet 21 API
|
|
26213
|
+
* (middleware) credentials; never the SQL connection
|
|
26214
|
+
*
|
|
26215
|
+
* Errors:
|
|
26216
|
+
* 400: The body is missing or not a JSON object. Or siteId or token is missing.
|
|
26217
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26218
|
+
*
|
|
26219
|
+
* POST https://agr-info.augur-api.com/sites/p21-api
|
|
26220
|
+
* Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1sites~1p21-api/post
|
|
26221
|
+
*
|
|
26222
|
+
* @param data SitesP21ApiCreateBody (request body)
|
|
26223
|
+
* @returns BaseResponse whose `data` is SitesP21ApiCreateData
|
|
26224
|
+
*/
|
|
26225
|
+
create: (data: SitesP21ApiCreateBody) => Promise<BaseResponse$1<SitesP21ApiCreateData>>;
|
|
26226
|
+
};
|
|
26127
26227
|
staffToken: {
|
|
26128
26228
|
/**
|
|
26129
26229
|
* Staff token for a target site
|
|
@@ -26142,6 +26242,8 @@ interface AgrInfoClientSpec {
|
|
|
26142
26242
|
* or the target site has no unblocked Super User with the same username and email
|
|
26143
26243
|
* (case-insensitive).
|
|
26144
26244
|
* 404: The target siteId is not a known site.
|
|
26245
|
+
* 503: A site database or service did not respond while checking the caller, the target
|
|
26246
|
+
* site or its mirror account, or while issuing the token. Retryable.
|
|
26145
26247
|
*
|
|
26146
26248
|
* POST https://agr-info.augur-api.com/sites/staff-token
|
|
26147
26249
|
* Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1sites~1staff-token/post
|
|
@@ -26164,6 +26266,7 @@ interface AgrInfoClientSpec {
|
|
|
26164
26266
|
*
|
|
26165
26267
|
* Errors:
|
|
26166
26268
|
* 400: The body is missing or not a JSON object. Or siteId or token is missing.
|
|
26269
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26167
26270
|
*
|
|
26168
26271
|
* POST https://agr-info.augur-api.com/sites/validate
|
|
26169
26272
|
* Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1sites~1validate/post
|
|
@@ -26181,6 +26284,7 @@ interface AgrInfoClientSpec {
|
|
|
26181
26284
|
*
|
|
26182
26285
|
* Errors:
|
|
26183
26286
|
* 400: orderBy is not column|ASC or column|DESC on a workflows column.
|
|
26287
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26184
26288
|
*
|
|
26185
26289
|
* GET https://agr-info.augur-api.com/workflows
|
|
26186
26290
|
* Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1workflows/get
|
|
@@ -26197,6 +26301,7 @@ interface AgrInfoClientSpec {
|
|
|
26197
26301
|
*
|
|
26198
26302
|
* Errors:
|
|
26199
26303
|
* 400: The body is missing or not a JSON object. Or title or workflow is missing.
|
|
26304
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26200
26305
|
*
|
|
26201
26306
|
* POST https://agr-info.augur-api.com/workflows
|
|
26202
26307
|
* Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1workflows/post
|
|
@@ -26210,6 +26315,7 @@ interface AgrInfoClientSpec {
|
|
|
26210
26315
|
* Call: api.agrInfo.workflows.get(workflowsUid)
|
|
26211
26316
|
*
|
|
26212
26317
|
* Errors:
|
|
26318
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26213
26319
|
* 404: No workflow with this ID.
|
|
26214
26320
|
*
|
|
26215
26321
|
* GET https://agr-info.augur-api.com/workflows/{workflowsUid}
|
|
@@ -26228,6 +26334,7 @@ interface AgrInfoClientSpec {
|
|
|
26228
26334
|
*
|
|
26229
26335
|
* Errors:
|
|
26230
26336
|
* 400: The body is missing or not a JSON object.
|
|
26337
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26231
26338
|
* 404: No workflow with this ID.
|
|
26232
26339
|
*
|
|
26233
26340
|
* PUT https://agr-info.augur-api.com/workflows/{workflowsUid}
|
|
@@ -26243,6 +26350,7 @@ interface AgrInfoClientSpec {
|
|
|
26243
26350
|
* Call: api.agrInfo.workflows.delete(workflowsUid)
|
|
26244
26351
|
*
|
|
26245
26352
|
* Errors:
|
|
26353
|
+
* 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
|
|
26246
26354
|
* 404: No workflow with this ID.
|
|
26247
26355
|
*
|
|
26248
26356
|
* DELETE https://agr-info.augur-api.com/workflows/{workflowsUid}
|
|
@@ -26262,7 +26370,6 @@ type types$c_AkashaGenerateCreateData = AkashaGenerateCreateData;
|
|
|
26262
26370
|
type types$c_ContextGetData = ContextGetData;
|
|
26263
26371
|
type types$c_ContextGetDataOption1 = ContextGetDataOption1;
|
|
26264
26372
|
type types$c_ContextGetDataOption1ServicesItem = ContextGetDataOption1ServicesItem;
|
|
26265
|
-
type types$c_ContextGetDataOption2 = ContextGetDataOption2;
|
|
26266
26373
|
type types$c_ContextGetParams = ContextGetParams;
|
|
26267
26374
|
type types$c_JoomlaGenerateCreateBody = JoomlaGenerateCreateBody;
|
|
26268
26375
|
type types$c_JoomlaGenerateCreateData = JoomlaGenerateCreateData;
|
|
@@ -26286,6 +26393,9 @@ type types$c_RubricsListItem = RubricsListItem;
|
|
|
26286
26393
|
type types$c_RubricsListParams = RubricsListParams;
|
|
26287
26394
|
type types$c_RubricsUpdateBody = RubricsUpdateBody;
|
|
26288
26395
|
type types$c_RubricsUpdateData = RubricsUpdateData;
|
|
26396
|
+
type types$c_SitesP21ApiCreateBody = SitesP21ApiCreateBody;
|
|
26397
|
+
type types$c_SitesP21ApiCreateData = SitesP21ApiCreateData;
|
|
26398
|
+
type types$c_SitesP21ApiCreateDataP21 = SitesP21ApiCreateDataP21;
|
|
26289
26399
|
type types$c_SitesStaffTokenCreateBody = SitesStaffTokenCreateBody;
|
|
26290
26400
|
type types$c_SitesStaffTokenCreateData = SitesStaffTokenCreateData;
|
|
26291
26401
|
type types$c_SitesValidateCreateBody = SitesValidateCreateBody;
|
|
@@ -26303,7 +26413,7 @@ type types$c_WorkflowsListParams = WorkflowsListParams;
|
|
|
26303
26413
|
type types$c_WorkflowsUpdateBody = WorkflowsUpdateBody;
|
|
26304
26414
|
type types$c_WorkflowsUpdateData = WorkflowsUpdateData;
|
|
26305
26415
|
declare namespace types$c {
|
|
26306
|
-
export type { types$c_AgrInfoClientSpec as AgrInfoClientSpec, types$c_AkashaGenerateCreateBody as AkashaGenerateCreateBody, types$c_AkashaGenerateCreateData as AkashaGenerateCreateData, types$c_ContextGetData as ContextGetData, types$c_ContextGetDataOption1 as ContextGetDataOption1, types$c_ContextGetDataOption1ServicesItem as ContextGetDataOption1ServicesItem, types$
|
|
26416
|
+
export type { types$c_AgrInfoClientSpec as AgrInfoClientSpec, types$c_AkashaGenerateCreateBody as AkashaGenerateCreateBody, types$c_AkashaGenerateCreateData as AkashaGenerateCreateData, types$c_ContextGetData as ContextGetData, types$c_ContextGetDataOption1 as ContextGetDataOption1, types$c_ContextGetDataOption1ServicesItem as ContextGetDataOption1ServicesItem, types$c_ContextGetParams as ContextGetParams, types$c_JoomlaGenerateCreateBody as JoomlaGenerateCreateBody, types$c_JoomlaGenerateCreateData as JoomlaGenerateCreateData, types$c_MicroservicesCreateBody as MicroservicesCreateBody, types$c_MicroservicesCreateData as MicroservicesCreateData, types$c_MicroservicesDeleteData as MicroservicesDeleteData, types$c_MicroservicesGetData as MicroservicesGetData, types$c_MicroservicesGetParams as MicroservicesGetParams, types$c_MicroservicesListData as MicroservicesListData, types$c_MicroservicesListItem as MicroservicesListItem, types$c_MicroservicesListParams as MicroservicesListParams, types$c_MicroservicesUpdateBody as MicroservicesUpdateBody, types$c_MicroservicesUpdateData as MicroservicesUpdateData, types$c_RubricsCreateBody as RubricsCreateBody, types$c_RubricsCreateData as RubricsCreateData, types$c_RubricsDeleteData as RubricsDeleteData, types$c_RubricsGetData as RubricsGetData, types$c_RubricsGetParams as RubricsGetParams, types$c_RubricsListData as RubricsListData, types$c_RubricsListItem as RubricsListItem, types$c_RubricsListParams as RubricsListParams, types$c_RubricsUpdateBody as RubricsUpdateBody, types$c_RubricsUpdateData as RubricsUpdateData, types$c_SitesP21ApiCreateBody as SitesP21ApiCreateBody, types$c_SitesP21ApiCreateData as SitesP21ApiCreateData, types$c_SitesP21ApiCreateDataP21 as SitesP21ApiCreateDataP21, types$c_SitesStaffTokenCreateBody as SitesStaffTokenCreateBody, types$c_SitesStaffTokenCreateData as SitesStaffTokenCreateData, types$c_SitesValidateCreateBody as SitesValidateCreateBody, types$c_SitesValidateCreateData as SitesValidateCreateData, types$c_SitesValidateCreateDataConnection as SitesValidateCreateDataConnection, types$c_SitesValidateCreateDataUser as SitesValidateCreateDataUser, types$c_WorkflowsCreateBody as WorkflowsCreateBody, types$c_WorkflowsCreateData as WorkflowsCreateData, types$c_WorkflowsDeleteData as WorkflowsDeleteData, types$c_WorkflowsGetData as WorkflowsGetData, types$c_WorkflowsGetParams as WorkflowsGetParams, types$c_WorkflowsListData as WorkflowsListData, types$c_WorkflowsListItem as WorkflowsListItem, types$c_WorkflowsListParams as WorkflowsListParams, types$c_WorkflowsUpdateBody as WorkflowsUpdateBody, types$c_WorkflowsUpdateData as WorkflowsUpdateData };
|
|
26307
26417
|
}
|
|
26308
26418
|
|
|
26309
26419
|
/**
|
|
@@ -26343,6 +26453,7 @@ declare namespace types$c {
|
|
|
26343
26453
|
* GET /rubrics/{rubricsUid} → api.agrInfo.rubrics.get(rubricsUid) → RubricsGetData
|
|
26344
26454
|
* PUT /rubrics/{rubricsUid} → api.agrInfo.rubrics.update(rubricsUid, data) → RubricsUpdateData
|
|
26345
26455
|
* DELETE /rubrics/{rubricsUid} → api.agrInfo.rubrics.delete(rubricsUid) → RubricsDeleteData
|
|
26456
|
+
* POST /sites/p21-api → api.agrInfo.sites.p21Api.create(data) → SitesP21ApiCreateData
|
|
26346
26457
|
* POST /sites/staff-token → api.agrInfo.sites.staffToken.create(data) → SitesStaffTokenCreateData
|
|
26347
26458
|
* POST /sites/validate → api.agrInfo.sites.validate.create(data) → SitesValidateCreateData
|
|
26348
26459
|
* GET /workflows → api.agrInfo.workflows.list(params) → WorkflowsListData
|
|
@@ -35213,4 +35324,4 @@ declare class AugurAPI {
|
|
|
35213
35324
|
private calculateMultiWordMatches;
|
|
35214
35325
|
}
|
|
35215
35326
|
|
|
35216
|
-
export {
|
|
35327
|
+
export { P21PimClient as $, AugurAPI as A, type BaseResponse$1 as B, type CallArgs as C, type DiscoveryEndpoint as D, type EndpointEntry as E, type Envelope as F, GregorovichClient as G, types$8 as H, type HealthCheckData as I, HealthCheckDataSchema as J, ItemsClient as K, types$j as L, JoomlaClient as M, types$o as N, type Known as O, LegacyClient as P, types$i as Q, LogisticsClient as R, types$7 as S, OpenSearchClient as T, types$k as U, OrdersClient as V, types$f as W, P21ApisClient as X, types$6 as Y, P21CoreClient as Z, types$5 as _, AgrInfoClient as a, types$e as a0, P21SismClient as a1, types$4 as a2, PaginationParamsSchema as a3, PaymentsClient as a4, types$d as a5, type PingData as a6, PricingClient as a7, types$m as a8, type RequestConfig as a9, type ServiceMap as aa, ShippingClient as ab, types$3 as ac, SmartyStreetsClient as ad, types$2 as ae, UPSClient as af, types$1 as ag, VMIClient as ah, types$l as ai, type WhoamiData as aj, WhoamiDataSchema as ak, AgrIntClient as b, types$b as c, AgrSiteClient as d, types$h as e, AgrWorkClient as f, type AugurAPIConfig as g, type AugurContext as h, type AugurRequestConfig as i, type AugurRequestError as j, type AugurResponse as k, AvalaraClient as l, types$a as m, BaseResponseSchema as n, Basecamp2Client as o, types as p, BrandFolderClient as q, types$9 as r, type CallResult as s, types$c as t, CommerceClient as u, types$n as v, ContextCreationError as w, CustomersClient as x, types$g as y, type EndpointSearchResult as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AugurAPI } from './client-
|
|
2
|
-
export { a as AgrInfoClient, t as AgrInfoTypes, b as AgrIntClient, c as AgrIntTypes, d as AgrSiteClient, e as AgrSiteTypes, f as AgrWorkClient, g as AugurAPIConfig, h as AugurContext, i as AugurRequestConfig, j as AugurRequestError, k as AugurResponse, l as AvalaraClient, m as AvalaraTypes, B as BaseResponse, n as BaseResponseSchema, o as Basecamp2Client, p as Basecamp2Types, q as BrandFolderClient, r as BrandFolderTypes, C as CallArgs, s as CallResult, u as CommerceClient, v as CommerceTypes, w as ContextCreationError, x as CustomersClient, y as CustomersTypes, D as DiscoveryEndpoint, E as EndpointEntry, z as EndpointSearchResult, F as Envelope, G as GregorovichClient, H as GregorovichTypes, I as HealthCheckData, J as HealthCheckDataSchema, K as ItemsClient, L as ItemsTypes, M as JoomlaClient, N as JoomlaTypes, O as
|
|
1
|
+
import { A as AugurAPI } from './client-C9XBvL6B.mjs';
|
|
2
|
+
export { a as AgrInfoClient, t as AgrInfoTypes, b as AgrIntClient, c as AgrIntTypes, d as AgrSiteClient, e as AgrSiteTypes, f as AgrWorkClient, g as AugurAPIConfig, h as AugurContext, i as AugurRequestConfig, j as AugurRequestError, k as AugurResponse, l as AvalaraClient, m as AvalaraTypes, B as BaseResponse, n as BaseResponseSchema, o as Basecamp2Client, p as Basecamp2Types, q as BrandFolderClient, r as BrandFolderTypes, C as CallArgs, s as CallResult, u as CommerceClient, v as CommerceTypes, w as ContextCreationError, x as CustomersClient, y as CustomersTypes, D as DiscoveryEndpoint, E as EndpointEntry, z as EndpointSearchResult, F as Envelope, G as GregorovichClient, H as GregorovichTypes, I as HealthCheckData, J as HealthCheckDataSchema, K as ItemsClient, L as ItemsTypes, M as JoomlaClient, N as JoomlaTypes, O as Known, P as LegacyClient, Q as LegacyTypes, R as LogisticsClient, S as LogisticsTypes, T as OpenSearchClient, U as OpenSearchTypes, V as OrdersClient, W as OrdersTypes, X as P21ApisClient, Y as P21ApisTypes, Z as P21CoreClient, _ as P21CoreTypes, $ as P21PimClient, a0 as P21PimTypes, a1 as P21SismClient, a2 as P21SismTypes, a3 as PaginationParamsSchema, a4 as PaymentsClient, a5 as PaymentsTypes, a6 as PingData, a7 as PricingClient, a8 as PricingTypes, a9 as RequestConfig, aa as ServiceMap, ab as ShippingClient, ac as ShippingTypes, ad as SmartyStreetsClient, ae as SmartyStreetsTypes, af as UPSClient, ag as UPSTypes, ah as VMIClient, ai as VMITypes, aj as WhoamiData, ak as WhoamiDataSchema } from './client-C9XBvL6B.mjs';
|
|
3
3
|
import 'valibot';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -204,6 +204,6 @@ declare namespace types {
|
|
|
204
204
|
export type { types_AgrWorkClientSpec as AgrWorkClientSpec };
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
declare const VERSION = "2026.10.
|
|
207
|
+
declare const VERSION = "2026.10.9";
|
|
208
208
|
|
|
209
209
|
export { types as AgrWorkTypes, 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, t as AgrInfoTypes, b as AgrIntClient, c as AgrIntTypes, d as AgrSiteClient, e as AgrSiteTypes, f as AgrWorkClient, g as AugurAPIConfig, h as AugurContext, i as AugurRequestConfig, j as AugurRequestError, k as AugurResponse, l as AvalaraClient, m as AvalaraTypes, B as BaseResponse, n as BaseResponseSchema, o as Basecamp2Client, p as Basecamp2Types, q as BrandFolderClient, r as BrandFolderTypes, C as CallArgs, s as CallResult, u as CommerceClient, v as CommerceTypes, w as ContextCreationError, x as CustomersClient, y as CustomersTypes, D as DiscoveryEndpoint, E as EndpointEntry, z as EndpointSearchResult, F as Envelope, G as GregorovichClient, H as GregorovichTypes, I as HealthCheckData, J as HealthCheckDataSchema, K as ItemsClient, L as ItemsTypes, M as JoomlaClient, N as JoomlaTypes, O as
|
|
1
|
+
import { A as AugurAPI } from './client-C9XBvL6B.js';
|
|
2
|
+
export { a as AgrInfoClient, t as AgrInfoTypes, b as AgrIntClient, c as AgrIntTypes, d as AgrSiteClient, e as AgrSiteTypes, f as AgrWorkClient, g as AugurAPIConfig, h as AugurContext, i as AugurRequestConfig, j as AugurRequestError, k as AugurResponse, l as AvalaraClient, m as AvalaraTypes, B as BaseResponse, n as BaseResponseSchema, o as Basecamp2Client, p as Basecamp2Types, q as BrandFolderClient, r as BrandFolderTypes, C as CallArgs, s as CallResult, u as CommerceClient, v as CommerceTypes, w as ContextCreationError, x as CustomersClient, y as CustomersTypes, D as DiscoveryEndpoint, E as EndpointEntry, z as EndpointSearchResult, F as Envelope, G as GregorovichClient, H as GregorovichTypes, I as HealthCheckData, J as HealthCheckDataSchema, K as ItemsClient, L as ItemsTypes, M as JoomlaClient, N as JoomlaTypes, O as Known, P as LegacyClient, Q as LegacyTypes, R as LogisticsClient, S as LogisticsTypes, T as OpenSearchClient, U as OpenSearchTypes, V as OrdersClient, W as OrdersTypes, X as P21ApisClient, Y as P21ApisTypes, Z as P21CoreClient, _ as P21CoreTypes, $ as P21PimClient, a0 as P21PimTypes, a1 as P21SismClient, a2 as P21SismTypes, a3 as PaginationParamsSchema, a4 as PaymentsClient, a5 as PaymentsTypes, a6 as PingData, a7 as PricingClient, a8 as PricingTypes, a9 as RequestConfig, aa as ServiceMap, ab as ShippingClient, ac as ShippingTypes, ad as SmartyStreetsClient, ae as SmartyStreetsTypes, af as UPSClient, ag as UPSTypes, ah as VMIClient, ai as VMITypes, aj as WhoamiData, ak as WhoamiDataSchema } from './client-C9XBvL6B.js';
|
|
3
3
|
import 'valibot';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -204,6 +204,6 @@ declare namespace types {
|
|
|
204
204
|
export type { types_AgrWorkClientSpec as AgrWorkClientSpec };
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
-
declare const VERSION = "2026.10.
|
|
207
|
+
declare const VERSION = "2026.10.9";
|
|
208
208
|
|
|
209
209
|
export { types as AgrWorkTypes, AugurAPI, type AugurAPIError, AugurError, AuthenticationError, type CrossSiteAuthParams, type CrossSiteAuthResult, InvalidArgumentError, NotFoundError, RateLimitError, VERSION, ValidationError, authenticateUserForSite, createCrossSiteAuthenticator };
|