@simpleapps-com/augur-api 2026.10.8 → 2026.10.10

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.
@@ -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; [] when the user has none */
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; false when the password did not match */
1268
- token: string | false;
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 | number;
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
- /** Index source fields requested through sourceFieldsList, keyed by field name ([] when empty) */
7872
- sourceFields: Record<string, unknown> | [] | null;
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 false when none */
7897
- queryStringRedirectLink: string | false;
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 false when none */
10579
- categoryImage: string | false;
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 false when none */
10615
- categoryImage: string | false;
10616
- /** Category text, or false when none */
10617
- categoryText: string | false;
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
- /** Active child categories after childrenFilter, childrenLimit and childrenOffset */
10635
- children: CategoriesLookupGetDataChildrenOption1Item[] | Record<string, CategoriesLookupGetDataChildrenOption1Item>;
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 ([] when empty) */
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 */
@@ -12166,6 +12182,8 @@ interface InvMastStockGetDataStockDataItem {
12166
12182
  sellable: string | null;
12167
12183
  /** Y when the item is discontinued at the location */
12168
12184
  discontinued: string;
12185
+ /** Y when the location record is deleted in P21 (inv_loc.delete_flag) */
12186
+ deleteFlag: string | null;
12169
12187
  /** qtyOnHand minus qtyAllocated */
12170
12188
  unallocated: number;
12171
12189
  /** Date (Y-m-d) the next purchase order is due in */
@@ -17463,7 +17481,7 @@ interface ContextGetDataOption1$1 {
17463
17481
  *
17464
17482
  * Nested in ContextGetData
17465
17483
  */
17466
- interface ContextGetDataOption2$1 {
17484
+ interface ContextGetDataOption2 {
17467
17485
  /** Site described */
17468
17486
  siteId: string;
17469
17487
  /** Site domain; null when the site is not provisioned */
@@ -17484,7 +17502,7 @@ interface ContextGetDataOption2$1 {
17484
17502
  *
17485
17503
  * Returned by: api.agrSite.context.get(siteId)
17486
17504
  */
17487
- type ContextGetData$1 = ContextGetDataOption1$1 | ContextGetDataOption2$1;
17505
+ type ContextGetData$1 = ContextGetDataOption1$1 | ContextGetDataOption2;
17488
17506
  /**
17489
17507
  * Write a file to a site web folder
17490
17508
  * Response data for POST /datafiles — MINIMUM fields, extras pass through
@@ -18667,6 +18685,7 @@ type types$h_ConfigsListItem = ConfigsListItem;
18667
18685
  type types$h_ConfigsListParams = ConfigsListParams;
18668
18686
  type types$h_ConfigsUpdateBody = ConfigsUpdateBody;
18669
18687
  type types$h_ConfigsUpdateData = ConfigsUpdateData;
18688
+ type types$h_ContextGetDataOption2 = ContextGetDataOption2;
18670
18689
  type types$h_DatafilesCreateBody = DatafilesCreateBody;
18671
18690
  type types$h_DatafilesCreateData = DatafilesCreateData;
18672
18691
  type types$h_FyxerTranscriptCreateBody = FyxerTranscriptCreateBody;
@@ -18721,7 +18740,7 @@ type types$h_UsersAddressesListParams = UsersAddressesListParams;
18721
18740
  type types$h_UsersAddressesUpdateBody = UsersAddressesUpdateBody;
18722
18741
  type types$h_UsersAddressesUpdateData = UsersAddressesUpdateData;
18723
18742
  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, ContextGetDataOption2$1 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 };
18743
+ 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
18744
  }
18726
18745
 
18727
18746
  /**
@@ -25379,6 +25398,25 @@ interface RubricsListParams extends EdgeCacheParams {
25379
25398
  }
25380
25399
  /** Params for GET /rubrics/{rubricsUid} */
25381
25400
  type RubricsGetParams = EdgeCacheParams;
25401
+ /** Params for GET /sites */
25402
+ interface SitesListParams extends EdgeCacheParams {
25403
+ /**
25404
+ * Active code mirrored from sites_table.active (704=active, 705=inactive), sent comma-joined
25405
+ * (704,705); -1 for every site. Default: 704
25406
+ */
25407
+ legacyActiveCd?: number | number[];
25408
+ /** Limit number of results (Default: 10) */
25409
+ limit?: number;
25410
+ /** Starting offset results (Default: 0) */
25411
+ offset?: number;
25412
+ /** Order By (Default: sites_uid|ASC) */
25413
+ orderBy?: string;
25414
+ /**
25415
+ * Status code or list of codes (700=DELETE, 704=ACTIVE, 705=INACTIVE), sent comma-joined
25416
+ * (704,705); -1 for every status. Default: 704
25417
+ */
25418
+ statusCd?: number | number[];
25419
+ }
25382
25420
  /** Params for GET /workflows */
25383
25421
  interface WorkflowsListParams extends EdgeCacheParams {
25384
25422
  /** Limit number of results (Default: 10) */
@@ -25438,9 +25476,10 @@ interface ContextGetDataOption1ServicesItem {
25438
25476
  [key: string]: unknown;
25439
25477
  }
25440
25478
  /**
25441
- * Shape of data nested in ContextGetData (MINIMUM fields; reused wherever the same shape appears)
25479
+ * Get a site configuration context
25480
+ * Response data for GET /context/{siteId} — MINIMUM fields, extras pass through
25442
25481
  *
25443
- * Nested in ContextGetData
25482
+ * Returned by: api.agrInfo.context.get(siteId)
25444
25483
  */
25445
25484
  interface ContextGetDataOption1 {
25446
25485
  /** Site described */
@@ -25457,33 +25496,13 @@ interface ContextGetDataOption1 {
25457
25496
  inactiveServices: string[];
25458
25497
  [key: string]: unknown;
25459
25498
  }
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
25499
  /**
25481
25500
  * Get a site configuration context
25482
25501
  * Response data for GET /context/{siteId} — MINIMUM fields, extras pass through
25483
25502
  *
25484
25503
  * Returned by: api.agrInfo.context.get(siteId)
25485
25504
  */
25486
- type ContextGetData = ContextGetDataOption1 | ContextGetDataOption2;
25505
+ type ContextGetData = ContextGetDataOption1;
25487
25506
  /**
25488
25507
  * Generate Response from joomla
25489
25508
  * Response data for POST /joomla/generate — MINIMUM fields, extras pass through
@@ -25684,6 +25703,125 @@ interface RubricsUpdateBody {
25684
25703
  * Returned by: api.agrInfo.rubrics.delete(rubricsUid)
25685
25704
  */
25686
25705
  type RubricsDeleteData = RubricsListItem;
25706
+ /**
25707
+ * List sites
25708
+ * Response data for GET /sites — MINIMUM fields, extras pass through
25709
+ *
25710
+ * Returned by: api.agrInfo.sites.list(params) (array items)
25711
+ */
25712
+ interface SitesListItem {
25713
+ /** agr_info sites row ID */
25714
+ sitesUid: number;
25715
+ /** Site ID */
25716
+ siteId: string;
25717
+ /** Row status (704 = Active, 705 = Inactive, 700 = Deleted) */
25718
+ statusCd: number;
25719
+ /** 704 when sites_table.active is 1, else 705 */
25720
+ legacyActiveCd: number;
25721
+ /** Services configured for the site (a config file with a non-empty prefix), sorted by name */
25722
+ services: string[];
25723
+ /** Prophet 21 version last reported by the site */
25724
+ prophet21Version: string | null;
25725
+ /** SQL Server version last reported by the site */
25726
+ sqlserverVersion: string | null;
25727
+ /** Where the site's Prophet 21 is hosted */
25728
+ prophet21Hosting: string;
25729
+ /** Last successful connection to the site's Prophet 21 */
25730
+ dateLastConnect: string;
25731
+ [key: string]: unknown;
25732
+ }
25733
+ /** Returned by: api.agrInfo.sites.list(params) */
25734
+ type SitesListData = SitesListItem[];
25735
+ /**
25736
+ * Shape of `user` (MINIMUM fields; reused wherever the same shape appears)
25737
+ * The token's user; null for a site token or a refused caller
25738
+ *
25739
+ * Field `user` of SitesP21ApiCreateData
25740
+ * Field `user` of SitesValidateCreateData
25741
+ */
25742
+ interface SitesValidateCreateDataUser {
25743
+ /** User ID (a Joomla user, or an agr_int user for agr-int-user and client tokens) */
25744
+ userId: number;
25745
+ /** Username */
25746
+ username: string;
25747
+ /** Email address; empty for a client credential */
25748
+ email: string;
25749
+ /** Display name; empty for a client credential */
25750
+ name: string;
25751
+ /** Roles granted to the user ("Super User" for a Joomla super user) */
25752
+ roles: string[];
25753
+ [key: string]: unknown;
25754
+ }
25755
+ /**
25756
+ * Shape of `p21` (MINIMUM fields; reused wherever the same shape appears)
25757
+ * The site's P21 API credentials; null when the caller is refused or the site has no P21 API
25758
+ * configured
25759
+ *
25760
+ * Field `p21` of SitesP21ApiCreateData
25761
+ */
25762
+ interface SitesP21ApiCreateDataP21 {
25763
+ /**
25764
+ * P21 API base URL (https://{host}:{port}); token endpoint is POST
25765
+ * {baseUrl}/api/security/token/v2
25766
+ */
25767
+ baseUrl: string;
25768
+ /** P21 API user name, sent to the token endpoint with the password */
25769
+ username: string;
25770
+ /** P21 API password */
25771
+ password: string;
25772
+ /** P21 consumer key for the token endpoint; null while sites use user credentials */
25773
+ clientSecret: string | null;
25774
+ /** True when the site allows write-back through the P21 API; false until write-back exists */
25775
+ writable: boolean;
25776
+ [key: string]: unknown;
25777
+ }
25778
+ /**
25779
+ * P21 API credentials
25780
+ * Response data for POST /sites/p21-api — MINIMUM fields, extras pass through
25781
+ *
25782
+ * Returned by: api.agrInfo.sites.p21Api.create(data)
25783
+ */
25784
+ interface SitesP21ApiCreateData {
25785
+ /** True when the caller is accepted for the site (validated exactly as POST /sites/validate) */
25786
+ valid: boolean;
25787
+ /** Site the caller was validated against */
25788
+ siteId: string;
25789
+ /** Why the caller was refused, or why p21 is null; empty otherwise */
25790
+ error: string;
25791
+ /** site, user, agr-int-user or client; null when the token did not validate */
25792
+ tokenType: string | null;
25793
+ /** True for a Joomla super user token */
25794
+ isAdmin: boolean;
25795
+ /** The token's user; null for a site token or a refused caller */
25796
+ user: SitesValidateCreateDataUser | null;
25797
+ /**
25798
+ * The site's P21 API credentials; null when the caller is refused or the site has no P21 API
25799
+ * configured
25800
+ */
25801
+ p21: SitesP21ApiCreateDataP21 | null;
25802
+ [key: string]: unknown;
25803
+ }
25804
+ /**
25805
+ * P21 API credentials
25806
+ * Request body for POST /sites/p21-api — MINIMUM fields, extras pass through
25807
+ *
25808
+ * Request body of: api.agrInfo.sites.p21Api.create(data)
25809
+ * Request body of: api.agrInfo.sites.validate.create(data)
25810
+ */
25811
+ interface SitesValidateCreateBody {
25812
+ /** Site the token was issued for */
25813
+ siteId: string;
25814
+ /** JWT, or an agr_int client credential (agrc_...) */
25815
+ token: string;
25816
+ [key: string]: unknown;
25817
+ }
25818
+ /**
25819
+ * P21 API credentials
25820
+ * Request body for POST /sites/p21-api — MINIMUM fields, extras pass through
25821
+ *
25822
+ * Request body of: api.agrInfo.sites.p21Api.create(data)
25823
+ */
25824
+ type SitesP21ApiCreateBody = SitesValidateCreateBody;
25687
25825
  /**
25688
25826
  * Staff token for a target site
25689
25827
  * Response data for POST /sites/staff-token — MINIMUM fields, extras pass through
@@ -25710,25 +25848,6 @@ interface SitesStaffTokenCreateBody {
25710
25848
  siteId: string;
25711
25849
  [key: string]: unknown;
25712
25850
  }
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
25851
  /**
25733
25852
  * Shape of `connection` (MINIMUM fields; reused wherever the same shape appears)
25734
25853
  * The site's P21 database connection
@@ -25771,19 +25890,6 @@ interface SitesValidateCreateData {
25771
25890
  connection: SitesValidateCreateDataConnection;
25772
25891
  [key: string]: unknown;
25773
25892
  }
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
25893
  /**
25788
25894
  * List Workflows
25789
25895
  * Response data for GET /workflows — MINIMUM fields, extras pass through
@@ -25911,6 +26017,7 @@ interface AgrInfoClientSpec {
25911
26017
  *
25912
26018
  * Errors:
25913
26019
  * 400: The body is missing or not a JSON object.
26020
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
25914
26021
  *
25915
26022
  * POST https://agr-info.augur-api.com/akasha/generate
25916
26023
  * Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1akasha~1generate/post
@@ -25928,8 +26035,14 @@ interface AgrInfoClientSpec {
25928
26035
  *
25929
26036
  * get the context for a site
25930
26037
  *
26038
+ * Response data: A site's configuration as the admin site (augur_info) sees it: every service
26039
+ * with its full config
26040
+ *
25931
26041
  * Auth: bearer token; spec scopes: none listed (most endpoints list `public`)
25932
26042
  *
26043
+ * Errors:
26044
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26045
+ *
25933
26046
  * GET https://agr-info.augur-api.com/context/{siteId}
25934
26047
  * Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1context~1{siteId}/get
25935
26048
  *
@@ -25950,6 +26063,7 @@ interface AgrInfoClientSpec {
25950
26063
  *
25951
26064
  * Errors:
25952
26065
  * 400: The body is missing or not a JSON object.
26066
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
25953
26067
  *
25954
26068
  * POST https://agr-info.augur-api.com/joomla/generate
25955
26069
  * Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1joomla~1generate/post
@@ -25967,6 +26081,7 @@ interface AgrInfoClientSpec {
25967
26081
  *
25968
26082
  * Errors:
25969
26083
  * 400: orderBy is not column|ASC or column|DESC on a microservices column.
26084
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
25970
26085
  *
25971
26086
  * GET https://agr-info.augur-api.com/microservices
25972
26087
  * Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1microservices/get
@@ -25983,6 +26098,7 @@ interface AgrInfoClientSpec {
25983
26098
  *
25984
26099
  * Errors:
25985
26100
  * 400: The body is missing or not a JSON object. Or name is missing.
26101
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
25986
26102
  *
25987
26103
  * POST https://agr-info.augur-api.com/microservices
25988
26104
  * Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1microservices/post
@@ -25996,6 +26112,7 @@ interface AgrInfoClientSpec {
25996
26112
  * Call: api.agrInfo.microservices.get(microservicesUid)
25997
26113
  *
25998
26114
  * Errors:
26115
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
25999
26116
  * 404: No microservice with this ID.
26000
26117
  *
26001
26118
  * GET https://agr-info.augur-api.com/microservices/{microservicesUid}
@@ -26016,6 +26133,7 @@ interface AgrInfoClientSpec {
26016
26133
  *
26017
26134
  * Errors:
26018
26135
  * 400: The body is missing or not a JSON object.
26136
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26019
26137
  * 404: No microservice with this ID.
26020
26138
  *
26021
26139
  * PUT https://agr-info.augur-api.com/microservices/{microservicesUid}
@@ -26032,6 +26150,7 @@ interface AgrInfoClientSpec {
26032
26150
  * Call: api.agrInfo.microservices.delete(microservicesUid)
26033
26151
  *
26034
26152
  * Errors:
26153
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26035
26154
  * 404: No microservice with this ID.
26036
26155
  *
26037
26156
  * DELETE https://agr-info.augur-api.com/microservices/{microservicesUid}
@@ -26050,6 +26169,7 @@ interface AgrInfoClientSpec {
26050
26169
  *
26051
26170
  * Errors:
26052
26171
  * 400: orderBy is not column|ASC or column|DESC on a rubrics column.
26172
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26053
26173
  *
26054
26174
  * GET https://agr-info.augur-api.com/rubrics
26055
26175
  * Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1rubrics/get
@@ -26067,6 +26187,7 @@ interface AgrInfoClientSpec {
26067
26187
  *
26068
26188
  * Errors:
26069
26189
  * 400: The body is missing or not a JSON object. Or title, id or content is missing.
26190
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26070
26191
  *
26071
26192
  * POST https://agr-info.augur-api.com/rubrics
26072
26193
  * Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1rubrics/post
@@ -26080,6 +26201,7 @@ interface AgrInfoClientSpec {
26080
26201
  * Call: api.agrInfo.rubrics.get(rubricsUid)
26081
26202
  *
26082
26203
  * Errors:
26204
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26083
26205
  * 404: No rubric with this ID.
26084
26206
  *
26085
26207
  * GET https://agr-info.augur-api.com/rubrics/{rubricsUid}
@@ -26098,6 +26220,7 @@ interface AgrInfoClientSpec {
26098
26220
  *
26099
26221
  * Errors:
26100
26222
  * 400: The body is missing or not a JSON object.
26223
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26101
26224
  * 404: No rubric with this ID.
26102
26225
  *
26103
26226
  * PUT https://agr-info.augur-api.com/rubrics/{rubricsUid}
@@ -26113,6 +26236,7 @@ interface AgrInfoClientSpec {
26113
26236
  * Call: api.agrInfo.rubrics.delete(rubricsUid)
26114
26237
  *
26115
26238
  * Errors:
26239
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26116
26240
  * 404: No rubric with this ID.
26117
26241
  *
26118
26242
  * DELETE https://agr-info.augur-api.com/rubrics/{rubricsUid}
@@ -26124,6 +26248,53 @@ interface AgrInfoClientSpec {
26124
26248
  delete: (rubricsUid: number) => Promise<BaseResponse$1<RubricsDeleteData>>;
26125
26249
  };
26126
26250
  sites: {
26251
+ /**
26252
+ * List sites
26253
+ * Call: api.agrInfo.sites.list(params)
26254
+ *
26255
+ * List sites with the services each is configured for (a per-site service config file with a
26256
+ * non-empty prefix). Active means sites_table.active. augur_info only
26257
+ *
26258
+ * Response data, each item: One site with the services it is configured for
26259
+ * (SitesHelper::generateDoc)
26260
+ *
26261
+ * Errors:
26262
+ * 400: orderBy is not column|ASC or column|DESC on a sites column.
26263
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26264
+ *
26265
+ * GET https://agr-info.augur-api.com/sites
26266
+ * Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1sites/get
26267
+ *
26268
+ * @param params SitesListParams (query string)
26269
+ * @returns BaseResponse whose `data` is SitesListData
26270
+ */
26271
+ list: (params?: SitesListParams) => Promise<BaseResponse$1<SitesListData>>;
26272
+ p21Api: {
26273
+ /**
26274
+ * P21 API credentials
26275
+ * Call: api.agrInfo.sites.p21Api.create(data)
26276
+ *
26277
+ * Validate a caller for a site exactly as POST /sites/validate does, and return the site's
26278
+ * Prophet 21 API (middleware) credentials instead of the SQL connection. An accepted caller
26279
+ * is valid even when the site has no P21 API configured (p21 null). Sent with Cache-Control:
26280
+ * private, no-store
26281
+ *
26282
+ * Request body: Validate a site's token or client credential
26283
+ * Response data: Result of validating a caller for a site, with the site's Prophet 21 API
26284
+ * (middleware) credentials; never the SQL connection
26285
+ *
26286
+ * Errors:
26287
+ * 400: The body is missing or not a JSON object. Or siteId or token is missing.
26288
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26289
+ *
26290
+ * POST https://agr-info.augur-api.com/sites/p21-api
26291
+ * Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1sites~1p21-api/post
26292
+ *
26293
+ * @param data SitesP21ApiCreateBody (request body)
26294
+ * @returns BaseResponse whose `data` is SitesP21ApiCreateData
26295
+ */
26296
+ create: (data: SitesP21ApiCreateBody) => Promise<BaseResponse$1<SitesP21ApiCreateData>>;
26297
+ };
26127
26298
  staffToken: {
26128
26299
  /**
26129
26300
  * Staff token for a target site
@@ -26142,6 +26313,8 @@ interface AgrInfoClientSpec {
26142
26313
  * or the target site has no unblocked Super User with the same username and email
26143
26314
  * (case-insensitive).
26144
26315
  * 404: The target siteId is not a known site.
26316
+ * 503: A site database or service did not respond while checking the caller, the target
26317
+ * site or its mirror account, or while issuing the token. Retryable.
26145
26318
  *
26146
26319
  * POST https://agr-info.augur-api.com/sites/staff-token
26147
26320
  * Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1sites~1staff-token/post
@@ -26164,6 +26337,7 @@ interface AgrInfoClientSpec {
26164
26337
  *
26165
26338
  * Errors:
26166
26339
  * 400: The body is missing or not a JSON object. Or siteId or token is missing.
26340
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26167
26341
  *
26168
26342
  * POST https://agr-info.augur-api.com/sites/validate
26169
26343
  * Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1sites~1validate/post
@@ -26181,6 +26355,7 @@ interface AgrInfoClientSpec {
26181
26355
  *
26182
26356
  * Errors:
26183
26357
  * 400: orderBy is not column|ASC or column|DESC on a workflows column.
26358
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26184
26359
  *
26185
26360
  * GET https://agr-info.augur-api.com/workflows
26186
26361
  * Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1workflows/get
@@ -26197,6 +26372,7 @@ interface AgrInfoClientSpec {
26197
26372
  *
26198
26373
  * Errors:
26199
26374
  * 400: The body is missing or not a JSON object. Or title or workflow is missing.
26375
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26200
26376
  *
26201
26377
  * POST https://agr-info.augur-api.com/workflows
26202
26378
  * Contract: https://agr-info.augur-api.com/openapi.json#/paths/~1workflows/post
@@ -26210,6 +26386,7 @@ interface AgrInfoClientSpec {
26210
26386
  * Call: api.agrInfo.workflows.get(workflowsUid)
26211
26387
  *
26212
26388
  * Errors:
26389
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26213
26390
  * 404: No workflow with this ID.
26214
26391
  *
26215
26392
  * GET https://agr-info.augur-api.com/workflows/{workflowsUid}
@@ -26228,6 +26405,7 @@ interface AgrInfoClientSpec {
26228
26405
  *
26229
26406
  * Errors:
26230
26407
  * 400: The body is missing or not a JSON object.
26408
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26231
26409
  * 404: No workflow with this ID.
26232
26410
  *
26233
26411
  * PUT https://agr-info.augur-api.com/workflows/{workflowsUid}
@@ -26243,6 +26421,7 @@ interface AgrInfoClientSpec {
26243
26421
  * Call: api.agrInfo.workflows.delete(workflowsUid)
26244
26422
  *
26245
26423
  * Errors:
26424
+ * 403: x-site-id is not augur_info: agr_info serves only the augur_info site.
26246
26425
  * 404: No workflow with this ID.
26247
26426
  *
26248
26427
  * DELETE https://agr-info.augur-api.com/workflows/{workflowsUid}
@@ -26262,7 +26441,6 @@ type types$c_AkashaGenerateCreateData = AkashaGenerateCreateData;
26262
26441
  type types$c_ContextGetData = ContextGetData;
26263
26442
  type types$c_ContextGetDataOption1 = ContextGetDataOption1;
26264
26443
  type types$c_ContextGetDataOption1ServicesItem = ContextGetDataOption1ServicesItem;
26265
- type types$c_ContextGetDataOption2 = ContextGetDataOption2;
26266
26444
  type types$c_ContextGetParams = ContextGetParams;
26267
26445
  type types$c_JoomlaGenerateCreateBody = JoomlaGenerateCreateBody;
26268
26446
  type types$c_JoomlaGenerateCreateData = JoomlaGenerateCreateData;
@@ -26286,6 +26464,12 @@ type types$c_RubricsListItem = RubricsListItem;
26286
26464
  type types$c_RubricsListParams = RubricsListParams;
26287
26465
  type types$c_RubricsUpdateBody = RubricsUpdateBody;
26288
26466
  type types$c_RubricsUpdateData = RubricsUpdateData;
26467
+ type types$c_SitesListData = SitesListData;
26468
+ type types$c_SitesListItem = SitesListItem;
26469
+ type types$c_SitesListParams = SitesListParams;
26470
+ type types$c_SitesP21ApiCreateBody = SitesP21ApiCreateBody;
26471
+ type types$c_SitesP21ApiCreateData = SitesP21ApiCreateData;
26472
+ type types$c_SitesP21ApiCreateDataP21 = SitesP21ApiCreateDataP21;
26289
26473
  type types$c_SitesStaffTokenCreateBody = SitesStaffTokenCreateBody;
26290
26474
  type types$c_SitesStaffTokenCreateData = SitesStaffTokenCreateData;
26291
26475
  type types$c_SitesValidateCreateBody = SitesValidateCreateBody;
@@ -26303,7 +26487,7 @@ type types$c_WorkflowsListParams = WorkflowsListParams;
26303
26487
  type types$c_WorkflowsUpdateBody = WorkflowsUpdateBody;
26304
26488
  type types$c_WorkflowsUpdateData = WorkflowsUpdateData;
26305
26489
  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$c_ContextGetDataOption2 as ContextGetDataOption2, 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_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 };
26490
+ 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_SitesListData as SitesListData, types$c_SitesListItem as SitesListItem, types$c_SitesListParams as SitesListParams, 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
26491
  }
26308
26492
 
26309
26493
  /**
@@ -26343,6 +26527,8 @@ declare namespace types$c {
26343
26527
  * GET /rubrics/{rubricsUid} → api.agrInfo.rubrics.get(rubricsUid) → RubricsGetData
26344
26528
  * PUT /rubrics/{rubricsUid} → api.agrInfo.rubrics.update(rubricsUid, data) → RubricsUpdateData
26345
26529
  * DELETE /rubrics/{rubricsUid} → api.agrInfo.rubrics.delete(rubricsUid) → RubricsDeleteData
26530
+ * GET /sites → api.agrInfo.sites.list(params) → SitesListData
26531
+ * POST /sites/p21-api → api.agrInfo.sites.p21Api.create(data) → SitesP21ApiCreateData
26346
26532
  * POST /sites/staff-token → api.agrInfo.sites.staffToken.create(data) → SitesStaffTokenCreateData
26347
26533
  * POST /sites/validate → api.agrInfo.sites.validate.create(data) → SitesValidateCreateData
26348
26534
  * GET /workflows → api.agrInfo.workflows.list(params) → WorkflowsListData
@@ -35213,4 +35399,4 @@ declare class AugurAPI {
35213
35399
  private calculateMultiWordMatches;
35214
35400
  }
35215
35401
 
35216
- export { types$e 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, LegacyClient as O, types$i as P, LogisticsClient as Q, types$7 as R, OpenSearchClient as S, types$k as T, OrdersClient as U, types$f as V, P21ApisClient as W, types$6 as X, P21CoreClient as Y, types$5 as Z, P21PimClient as _, AgrInfoClient as a, P21SismClient as a0, types$4 as a1, PaginationParamsSchema as a2, PaymentsClient as a3, types$d as a4, type PingData as a5, PricingClient as a6, types$m as a7, type RequestConfig as a8, type ServiceMap as a9, ShippingClient as aa, types$3 as ab, SmartyStreetsClient as ac, types$2 as ad, UPSClient as ae, types$1 as af, VMIClient as ag, types$l as ah, type WhoamiData as ai, WhoamiDataSchema as aj, 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 };
35402
+ 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 };