@simpleapps-com/augur-api 2026.10.30 → 2026.10.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-DRpPuvl5.d.mts → client-TPJa269Y.d.mts} +142 -8
- package/dist/{client-DRpPuvl5.d.ts → client-TPJa269Y.d.ts} +142 -8
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +74 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +74 -3
- 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
|
@@ -24987,6 +24987,26 @@ interface ConfigsListParams extends EdgeCacheParams {
|
|
|
24987
24987
|
type ConfigsGetParams = EdgeCacheParams;
|
|
24988
24988
|
/** Params for GET /context/{siteId} */
|
|
24989
24989
|
type ContextGetParams$1 = EdgeCacheParams;
|
|
24990
|
+
/** Params for GET /datafiles */
|
|
24991
|
+
interface DatafilesListParams extends EdgeCacheParams {
|
|
24992
|
+
/** Entries per page (default 10, max 1000) */
|
|
24993
|
+
limit?: number;
|
|
24994
|
+
/** public (www) or private (datafiles) */
|
|
24995
|
+
location: string;
|
|
24996
|
+
/** Entries to skip (default 0) */
|
|
24997
|
+
offset?: number;
|
|
24998
|
+
/** Folder path relative to the location root, e.g. media/catalogs/ */
|
|
24999
|
+
path: string;
|
|
25000
|
+
/** true to include each file's sha256 */
|
|
25001
|
+
withSha256?: string;
|
|
25002
|
+
}
|
|
25003
|
+
/** Params for DELETE /datafiles */
|
|
25004
|
+
interface DatafilesDeleteParams {
|
|
25005
|
+
/** public (www) or private (datafiles) */
|
|
25006
|
+
location: string;
|
|
25007
|
+
/** File path relative to the location root */
|
|
25008
|
+
path: string;
|
|
25009
|
+
}
|
|
24990
25010
|
/** Params for GET /fyxer-transcript */
|
|
24991
25011
|
interface FyxerTranscriptListParams extends EdgeCacheParams {
|
|
24992
25012
|
/** Limit number of results (Default: 10) */
|
|
@@ -25249,13 +25269,49 @@ interface ContextGetDataOption2 {
|
|
|
25249
25269
|
* Returned by: api.agrSite.context.get(siteId)
|
|
25250
25270
|
*/
|
|
25251
25271
|
type ContextGetData$1 = ContextGetDataOption1$1 | ContextGetDataOption2;
|
|
25272
|
+
/**
|
|
25273
|
+
* List a site web folder
|
|
25274
|
+
* Response data for GET /datafiles — MINIMUM fields, extras pass through
|
|
25275
|
+
*
|
|
25276
|
+
* Returned by: api.agrSite.datafiles.list(params) (array items)
|
|
25277
|
+
*/
|
|
25278
|
+
interface DatafilesListItem {
|
|
25279
|
+
/** Path relative to the location root */
|
|
25280
|
+
path: string;
|
|
25281
|
+
/** file or dir */
|
|
25282
|
+
type: string;
|
|
25283
|
+
/** Size in bytes; 0 for a folder */
|
|
25284
|
+
size: number;
|
|
25285
|
+
/** Last modified time, ISO 8601 UTC */
|
|
25286
|
+
modified: string;
|
|
25287
|
+
/**
|
|
25288
|
+
* Lowercase hex sha256 of a file; the key is absent unless withSha256=true was sent, and for
|
|
25289
|
+
* folders
|
|
25290
|
+
*/
|
|
25291
|
+
sha256?: string | null;
|
|
25292
|
+
[key: string]: unknown;
|
|
25293
|
+
}
|
|
25294
|
+
/** Returned by: api.agrSite.datafiles.list(params) */
|
|
25295
|
+
type DatafilesListData = DatafilesListItem[];
|
|
25252
25296
|
/**
|
|
25253
25297
|
* Write a file to a site web folder
|
|
25254
25298
|
* Response data for POST /datafiles — MINIMUM fields, extras pass through
|
|
25255
25299
|
*
|
|
25256
25300
|
* Returned by: api.agrSite.datafiles.create(data)
|
|
25257
25301
|
*/
|
|
25258
|
-
|
|
25302
|
+
interface DatafilesCreateData {
|
|
25303
|
+
/** Stored location and path, as "{location}/{path}" */
|
|
25304
|
+
path: string;
|
|
25305
|
+
/** File size in bytes */
|
|
25306
|
+
size: number;
|
|
25307
|
+
/** Lowercase hex sha256 of the stored file */
|
|
25308
|
+
sha256: string;
|
|
25309
|
+
/** True when an existing file at the path was replaced */
|
|
25310
|
+
overwritten: boolean;
|
|
25311
|
+
/** True when the file already matched the sent sha256 and nothing was written */
|
|
25312
|
+
unchanged: boolean;
|
|
25313
|
+
[key: string]: unknown;
|
|
25314
|
+
}
|
|
25259
25315
|
/**
|
|
25260
25316
|
* Write a file to a site web folder
|
|
25261
25317
|
* Request body for POST /datafiles — MINIMUM fields, extras pass through
|
|
@@ -25270,8 +25326,30 @@ interface DatafilesCreateBody {
|
|
|
25270
25326
|
* allowed extension
|
|
25271
25327
|
*/
|
|
25272
25328
|
path: string;
|
|
25273
|
-
/** File content, base64-encoded;
|
|
25274
|
-
content
|
|
25329
|
+
/** File content, base64-encoded; send this or sourceUrl, not both */
|
|
25330
|
+
content?: string;
|
|
25331
|
+
/** Public https URL the file is copied from; send this or content, not both */
|
|
25332
|
+
sourceUrl?: string | null;
|
|
25333
|
+
/**
|
|
25334
|
+
* Expected lowercase hex sha256 of the file; when the stored file already matches, nothing is
|
|
25335
|
+
* written, and a written file that does not match is discarded
|
|
25336
|
+
*/
|
|
25337
|
+
sha256?: string | null;
|
|
25338
|
+
[key: string]: unknown;
|
|
25339
|
+
}
|
|
25340
|
+
/**
|
|
25341
|
+
* Delete a file
|
|
25342
|
+
* Response data for DELETE /datafiles — MINIMUM fields, extras pass through
|
|
25343
|
+
*
|
|
25344
|
+
* Returned by: api.agrSite.datafiles.delete(params)
|
|
25345
|
+
*/
|
|
25346
|
+
interface DatafilesDeleteData {
|
|
25347
|
+
/** Removed location and path, as "{location}/{path}" */
|
|
25348
|
+
path: string;
|
|
25349
|
+
/** Size in bytes of the removed file */
|
|
25350
|
+
size: number;
|
|
25351
|
+
/** Lowercase hex sha256 of the removed file */
|
|
25352
|
+
sha256: string;
|
|
25275
25353
|
[key: string]: unknown;
|
|
25276
25354
|
}
|
|
25277
25355
|
/**
|
|
@@ -26025,19 +26103,46 @@ interface AgrSiteClientSpec {
|
|
|
26025
26103
|
get: (siteId: string, params?: ContextGetParams$1) => Promise<BaseResponse$1<ContextGetData$1>>;
|
|
26026
26104
|
};
|
|
26027
26105
|
datafiles: {
|
|
26106
|
+
/**
|
|
26107
|
+
* List a site web folder
|
|
26108
|
+
* Call: api.agrSite.datafiles.list(params)
|
|
26109
|
+
*
|
|
26110
|
+
* List one folder of a site web folder, sorted by name
|
|
26111
|
+
*
|
|
26112
|
+
* Response data, each item: One file or folder inside a listed folder
|
|
26113
|
+
*
|
|
26114
|
+
* Errors:
|
|
26115
|
+
* 400: Request rejected: location or path is missing or invalid, or path names a file.
|
|
26116
|
+
* 403: Request rejected: a public path does not start with images/, media/ or phocadownload/.
|
|
26117
|
+
* 404: The folder does not exist.
|
|
26118
|
+
*
|
|
26119
|
+
* GET https://agr-site.augur-api.com/datafiles
|
|
26120
|
+
* Contract: https://agr-site.augur-api.com/openapi.json#/paths/~1datafiles/get
|
|
26121
|
+
*
|
|
26122
|
+
* @param params DatafilesListParams (query string)
|
|
26123
|
+
* @returns BaseResponse whose `data` is DatafilesListData
|
|
26124
|
+
*/
|
|
26125
|
+
list: (params?: DatafilesListParams) => Promise<BaseResponse$1<DatafilesListData>>;
|
|
26028
26126
|
/**
|
|
26029
26127
|
* Write a file to a site web folder
|
|
26030
26128
|
* Call: api.agrSite.datafiles.create(data)
|
|
26031
26129
|
*
|
|
26130
|
+
* Write a file to a site web folder from base64 content or an https URL
|
|
26131
|
+
*
|
|
26032
26132
|
* Request body: Write one file into the calling site's public (www) or private (datafiles)
|
|
26033
|
-
* folder
|
|
26133
|
+
* folder, from base64 content or an https URL
|
|
26134
|
+
* Response data: The file now stored at the requested path
|
|
26034
26135
|
*
|
|
26035
26136
|
* Success status: 201 (not 200)
|
|
26036
26137
|
*
|
|
26037
26138
|
* Errors:
|
|
26038
|
-
* 400: Request rejected: location, path or
|
|
26039
|
-
*
|
|
26040
|
-
*
|
|
26139
|
+
* 400: Request rejected: location, path, content, sourceUrl or sha256 is missing or invalid,
|
|
26140
|
+
* or both content and sourceUrl were sent.
|
|
26141
|
+
* 403: Request rejected: a public path does not start with images/, media/ or phocadownload/,
|
|
26142
|
+
* the file extension is not allowed, or the content contains a PHP open tag.
|
|
26143
|
+
* 422: The written file did not match the sent sha256; it was discarded and any existing file
|
|
26144
|
+
* is unchanged.
|
|
26145
|
+
* 502: The sourceUrl could not be fetched; nothing was written.
|
|
26041
26146
|
*
|
|
26042
26147
|
* POST https://agr-site.augur-api.com/datafiles
|
|
26043
26148
|
* Contract: https://agr-site.augur-api.com/openapi.json#/paths/~1datafiles/post
|
|
@@ -26046,6 +26151,28 @@ interface AgrSiteClientSpec {
|
|
|
26046
26151
|
* @returns BaseResponse whose `data` is DatafilesCreateData
|
|
26047
26152
|
*/
|
|
26048
26153
|
create: (data: DatafilesCreateBody) => Promise<BaseResponse$1<DatafilesCreateData>>;
|
|
26154
|
+
/**
|
|
26155
|
+
* Delete a file
|
|
26156
|
+
* Call: api.agrSite.datafiles.delete(params)
|
|
26157
|
+
*
|
|
26158
|
+
* Delete one file from a site web folder
|
|
26159
|
+
*
|
|
26160
|
+
* Response data: The file that was removed
|
|
26161
|
+
*
|
|
26162
|
+
* Errors:
|
|
26163
|
+
* 400: Request rejected: location or path is missing or invalid, or path names a folder or
|
|
26164
|
+
* carries a wildcard; nothing was removed.
|
|
26165
|
+
* 403: Request rejected: a public path does not start with images/, media/ or phocadownload/,
|
|
26166
|
+
* or the file extension is not allowed.
|
|
26167
|
+
* 404: The file does not exist.
|
|
26168
|
+
*
|
|
26169
|
+
* DELETE https://agr-site.augur-api.com/datafiles
|
|
26170
|
+
* Contract: https://agr-site.augur-api.com/openapi.json#/paths/~1datafiles/delete
|
|
26171
|
+
*
|
|
26172
|
+
* @param params DatafilesDeleteParams (query string)
|
|
26173
|
+
* @returns BaseResponse whose `data` is DatafilesDeleteData
|
|
26174
|
+
*/
|
|
26175
|
+
delete: (params?: DatafilesDeleteParams) => Promise<BaseResponse$1<DatafilesDeleteData>>;
|
|
26049
26176
|
};
|
|
26050
26177
|
fyxerTranscript: {
|
|
26051
26178
|
/**
|
|
@@ -26573,6 +26700,11 @@ type types$k_ConfigsUpdateData = ConfigsUpdateData;
|
|
|
26573
26700
|
type types$k_ContextGetDataOption2 = ContextGetDataOption2;
|
|
26574
26701
|
type types$k_DatafilesCreateBody = DatafilesCreateBody;
|
|
26575
26702
|
type types$k_DatafilesCreateData = DatafilesCreateData;
|
|
26703
|
+
type types$k_DatafilesDeleteData = DatafilesDeleteData;
|
|
26704
|
+
type types$k_DatafilesDeleteParams = DatafilesDeleteParams;
|
|
26705
|
+
type types$k_DatafilesListData = DatafilesListData;
|
|
26706
|
+
type types$k_DatafilesListItem = DatafilesListItem;
|
|
26707
|
+
type types$k_DatafilesListParams = DatafilesListParams;
|
|
26576
26708
|
type types$k_FyxerTranscriptCreateBody = FyxerTranscriptCreateBody;
|
|
26577
26709
|
type types$k_FyxerTranscriptCreateData = FyxerTranscriptCreateData;
|
|
26578
26710
|
type types$k_FyxerTranscriptDeleteData = FyxerTranscriptDeleteData;
|
|
@@ -26635,7 +26767,7 @@ type types$k_UsersAddressesListParams = UsersAddressesListParams;
|
|
|
26635
26767
|
type types$k_UsersAddressesUpdateBody = UsersAddressesUpdateBody;
|
|
26636
26768
|
type types$k_UsersAddressesUpdateData = UsersAddressesUpdateData;
|
|
26637
26769
|
declare namespace types$k {
|
|
26638
|
-
export type { types$k_AgrSiteClientSpec as AgrSiteClientSpec, types$k_ConfigsGetData as ConfigsGetData, types$k_ConfigsGetDataConfigsItem as ConfigsGetDataConfigsItem, types$k_ConfigsGetParams as ConfigsGetParams, types$k_ConfigsListData as ConfigsListData, types$k_ConfigsListItem as ConfigsListItem, types$k_ConfigsListParams as ConfigsListParams, types$k_ConfigsUpdateBody as ConfigsUpdateBody, types$k_ConfigsUpdateData as ConfigsUpdateData, ContextGetData$1 as ContextGetData, ContextGetDataOption1$1 as ContextGetDataOption1, ContextGetDataOption1ServicesItem$1 as ContextGetDataOption1ServicesItem, types$k_ContextGetDataOption2 as ContextGetDataOption2, ContextGetParams$1 as ContextGetParams, types$k_DatafilesCreateBody as DatafilesCreateBody, types$k_DatafilesCreateData as DatafilesCreateData, types$k_FyxerTranscriptCreateBody as FyxerTranscriptCreateBody, types$k_FyxerTranscriptCreateData as FyxerTranscriptCreateData, types$k_FyxerTranscriptDeleteData as FyxerTranscriptDeleteData, types$k_FyxerTranscriptGetData as FyxerTranscriptGetData, types$k_FyxerTranscriptGetParams as FyxerTranscriptGetParams, types$k_FyxerTranscriptListData as FyxerTranscriptListData, types$k_FyxerTranscriptListItem as FyxerTranscriptListItem, types$k_FyxerTranscriptListParams as FyxerTranscriptListParams, types$k_FyxerTranscriptUpdateBody as FyxerTranscriptUpdateBody, types$k_FyxerTranscriptUpdateData as FyxerTranscriptUpdateData, types$k_GeoCodesPostalCodesGetData as GeoCodesPostalCodesGetData, types$k_GeoCodesPostalCodesGetParams as GeoCodesPostalCodesGetParams, types$k_GeoCodesPostalCodesListData as GeoCodesPostalCodesListData, types$k_GeoCodesPostalCodesListItem as GeoCodesPostalCodesListItem, types$k_GeoCodesPostalCodesListParams as GeoCodesPostalCodesListParams, types$k_LinkedSitesListData as LinkedSitesListData, types$k_LinkedSitesListItem as LinkedSitesListItem, types$k_LinkedSitesListParams as LinkedSitesListParams, types$k_LinkedSitesTokenCreateBody as LinkedSitesTokenCreateBody, types$k_LinkedSitesTokenCreateData as LinkedSitesTokenCreateData, types$k_MetaFilesRobotsListData as MetaFilesRobotsListData, types$k_MetaFilesRobotsListParams as MetaFilesRobotsListParams, types$k_NotificationsCreateBody as NotificationsCreateBody, types$k_NotificationsCreateData as NotificationsCreateData, types$k_NotificationsGetData as NotificationsGetData, types$k_NotificationsGetParams as NotificationsGetParams, types$k_NotificationsListData as NotificationsListData, types$k_NotificationsListItem as NotificationsListItem, types$k_NotificationsListParams as NotificationsListParams, types$k_OpenSearchEmbeddingListData as OpenSearchEmbeddingListData, types$k_OpenSearchEmbeddingListParams as OpenSearchEmbeddingListParams, types$k_PostalCodesXShiptosCreateBody as PostalCodesXShiptosCreateBody, types$k_PostalCodesXShiptosCreateData as PostalCodesXShiptosCreateData, types$k_PostalCodesXShiptosDeleteData as PostalCodesXShiptosDeleteData, types$k_PostalCodesXShiptosGetData as PostalCodesXShiptosGetData, types$k_PostalCodesXShiptosGetParams as PostalCodesXShiptosGetParams, types$k_PostalCodesXShiptosListData as PostalCodesXShiptosListData, types$k_PostalCodesXShiptosListItem as PostalCodesXShiptosListItem, types$k_PostalCodesXShiptosListParams as PostalCodesXShiptosListParams, types$k_PostalCodesXShiptosUpdateBody as PostalCodesXShiptosUpdateBody, types$k_PostalCodesXShiptosUpdateData as PostalCodesXShiptosUpdateData, types$k_SettingsCreateBody as SettingsCreateBody, types$k_SettingsCreateData as SettingsCreateData, types$k_SettingsDeleteData as SettingsDeleteData, types$k_SettingsGetData as SettingsGetData, types$k_SettingsGetParams as SettingsGetParams, types$k_SettingsListData as SettingsListData, types$k_SettingsListItem as SettingsListItem, types$k_SettingsListParams as SettingsListParams, types$k_SettingsUpdateBody as SettingsUpdateBody, types$k_SettingsUpdateData as SettingsUpdateData, types$k_UsersAddressesCreateBody as UsersAddressesCreateBody, types$k_UsersAddressesCreateData as UsersAddressesCreateData, types$k_UsersAddressesDeleteData as UsersAddressesDeleteData, types$k_UsersAddressesGetData as UsersAddressesGetData, types$k_UsersAddressesGetParams as UsersAddressesGetParams, types$k_UsersAddressesListData as UsersAddressesListData, types$k_UsersAddressesListItem as UsersAddressesListItem, types$k_UsersAddressesListParams as UsersAddressesListParams, types$k_UsersAddressesUpdateBody as UsersAddressesUpdateBody, types$k_UsersAddressesUpdateData as UsersAddressesUpdateData };
|
|
26770
|
+
export type { types$k_AgrSiteClientSpec as AgrSiteClientSpec, types$k_ConfigsGetData as ConfigsGetData, types$k_ConfigsGetDataConfigsItem as ConfigsGetDataConfigsItem, types$k_ConfigsGetParams as ConfigsGetParams, types$k_ConfigsListData as ConfigsListData, types$k_ConfigsListItem as ConfigsListItem, types$k_ConfigsListParams as ConfigsListParams, types$k_ConfigsUpdateBody as ConfigsUpdateBody, types$k_ConfigsUpdateData as ConfigsUpdateData, ContextGetData$1 as ContextGetData, ContextGetDataOption1$1 as ContextGetDataOption1, ContextGetDataOption1ServicesItem$1 as ContextGetDataOption1ServicesItem, types$k_ContextGetDataOption2 as ContextGetDataOption2, ContextGetParams$1 as ContextGetParams, types$k_DatafilesCreateBody as DatafilesCreateBody, types$k_DatafilesCreateData as DatafilesCreateData, types$k_DatafilesDeleteData as DatafilesDeleteData, types$k_DatafilesDeleteParams as DatafilesDeleteParams, types$k_DatafilesListData as DatafilesListData, types$k_DatafilesListItem as DatafilesListItem, types$k_DatafilesListParams as DatafilesListParams, types$k_FyxerTranscriptCreateBody as FyxerTranscriptCreateBody, types$k_FyxerTranscriptCreateData as FyxerTranscriptCreateData, types$k_FyxerTranscriptDeleteData as FyxerTranscriptDeleteData, types$k_FyxerTranscriptGetData as FyxerTranscriptGetData, types$k_FyxerTranscriptGetParams as FyxerTranscriptGetParams, types$k_FyxerTranscriptListData as FyxerTranscriptListData, types$k_FyxerTranscriptListItem as FyxerTranscriptListItem, types$k_FyxerTranscriptListParams as FyxerTranscriptListParams, types$k_FyxerTranscriptUpdateBody as FyxerTranscriptUpdateBody, types$k_FyxerTranscriptUpdateData as FyxerTranscriptUpdateData, types$k_GeoCodesPostalCodesGetData as GeoCodesPostalCodesGetData, types$k_GeoCodesPostalCodesGetParams as GeoCodesPostalCodesGetParams, types$k_GeoCodesPostalCodesListData as GeoCodesPostalCodesListData, types$k_GeoCodesPostalCodesListItem as GeoCodesPostalCodesListItem, types$k_GeoCodesPostalCodesListParams as GeoCodesPostalCodesListParams, types$k_LinkedSitesListData as LinkedSitesListData, types$k_LinkedSitesListItem as LinkedSitesListItem, types$k_LinkedSitesListParams as LinkedSitesListParams, types$k_LinkedSitesTokenCreateBody as LinkedSitesTokenCreateBody, types$k_LinkedSitesTokenCreateData as LinkedSitesTokenCreateData, types$k_MetaFilesRobotsListData as MetaFilesRobotsListData, types$k_MetaFilesRobotsListParams as MetaFilesRobotsListParams, types$k_NotificationsCreateBody as NotificationsCreateBody, types$k_NotificationsCreateData as NotificationsCreateData, types$k_NotificationsGetData as NotificationsGetData, types$k_NotificationsGetParams as NotificationsGetParams, types$k_NotificationsListData as NotificationsListData, types$k_NotificationsListItem as NotificationsListItem, types$k_NotificationsListParams as NotificationsListParams, types$k_OpenSearchEmbeddingListData as OpenSearchEmbeddingListData, types$k_OpenSearchEmbeddingListParams as OpenSearchEmbeddingListParams, types$k_PostalCodesXShiptosCreateBody as PostalCodesXShiptosCreateBody, types$k_PostalCodesXShiptosCreateData as PostalCodesXShiptosCreateData, types$k_PostalCodesXShiptosDeleteData as PostalCodesXShiptosDeleteData, types$k_PostalCodesXShiptosGetData as PostalCodesXShiptosGetData, types$k_PostalCodesXShiptosGetParams as PostalCodesXShiptosGetParams, types$k_PostalCodesXShiptosListData as PostalCodesXShiptosListData, types$k_PostalCodesXShiptosListItem as PostalCodesXShiptosListItem, types$k_PostalCodesXShiptosListParams as PostalCodesXShiptosListParams, types$k_PostalCodesXShiptosUpdateBody as PostalCodesXShiptosUpdateBody, types$k_PostalCodesXShiptosUpdateData as PostalCodesXShiptosUpdateData, types$k_SettingsCreateBody as SettingsCreateBody, types$k_SettingsCreateData as SettingsCreateData, types$k_SettingsDeleteData as SettingsDeleteData, types$k_SettingsGetData as SettingsGetData, types$k_SettingsGetParams as SettingsGetParams, types$k_SettingsListData as SettingsListData, types$k_SettingsListItem as SettingsListItem, types$k_SettingsListParams as SettingsListParams, types$k_SettingsUpdateBody as SettingsUpdateBody, types$k_SettingsUpdateData as SettingsUpdateData, types$k_UsersAddressesCreateBody as UsersAddressesCreateBody, types$k_UsersAddressesCreateData as UsersAddressesCreateData, types$k_UsersAddressesDeleteData as UsersAddressesDeleteData, types$k_UsersAddressesGetData as UsersAddressesGetData, types$k_UsersAddressesGetParams as UsersAddressesGetParams, types$k_UsersAddressesListData as UsersAddressesListData, types$k_UsersAddressesListItem as UsersAddressesListItem, types$k_UsersAddressesListParams as UsersAddressesListParams, types$k_UsersAddressesUpdateBody as UsersAddressesUpdateBody, types$k_UsersAddressesUpdateData as UsersAddressesUpdateData };
|
|
26639
26771
|
}
|
|
26640
26772
|
|
|
26641
26773
|
/**
|
|
@@ -26664,7 +26796,9 @@ declare namespace types$k {
|
|
|
26664
26796
|
* GET /configs/{serviceName} → api.agrSite.configs.get(serviceName) → ConfigsGetData
|
|
26665
26797
|
* PUT /configs/{serviceName} → api.agrSite.configs.update(serviceName, data) → ConfigsUpdateData
|
|
26666
26798
|
* GET /context/{siteId} → api.agrSite.context.get(siteId) → ContextGetData
|
|
26799
|
+
* GET /datafiles → api.agrSite.datafiles.list(params) → DatafilesListData
|
|
26667
26800
|
* POST /datafiles → api.agrSite.datafiles.create(data) → DatafilesCreateData
|
|
26801
|
+
* DELETE /datafiles → api.agrSite.datafiles.delete(params) → DatafilesDeleteData
|
|
26668
26802
|
* GET /fyxer-transcript → api.agrSite.fyxerTranscript.list(params) → FyxerTranscriptListData
|
|
26669
26803
|
* POST /fyxer-transcript → api.agrSite.fyxerTranscript.create(data) → FyxerTranscriptCreateData
|
|
26670
26804
|
* GET /fyxer-transcript/{fyxerTranscriptHdrUid} →
|
|
@@ -24987,6 +24987,26 @@ interface ConfigsListParams extends EdgeCacheParams {
|
|
|
24987
24987
|
type ConfigsGetParams = EdgeCacheParams;
|
|
24988
24988
|
/** Params for GET /context/{siteId} */
|
|
24989
24989
|
type ContextGetParams$1 = EdgeCacheParams;
|
|
24990
|
+
/** Params for GET /datafiles */
|
|
24991
|
+
interface DatafilesListParams extends EdgeCacheParams {
|
|
24992
|
+
/** Entries per page (default 10, max 1000) */
|
|
24993
|
+
limit?: number;
|
|
24994
|
+
/** public (www) or private (datafiles) */
|
|
24995
|
+
location: string;
|
|
24996
|
+
/** Entries to skip (default 0) */
|
|
24997
|
+
offset?: number;
|
|
24998
|
+
/** Folder path relative to the location root, e.g. media/catalogs/ */
|
|
24999
|
+
path: string;
|
|
25000
|
+
/** true to include each file's sha256 */
|
|
25001
|
+
withSha256?: string;
|
|
25002
|
+
}
|
|
25003
|
+
/** Params for DELETE /datafiles */
|
|
25004
|
+
interface DatafilesDeleteParams {
|
|
25005
|
+
/** public (www) or private (datafiles) */
|
|
25006
|
+
location: string;
|
|
25007
|
+
/** File path relative to the location root */
|
|
25008
|
+
path: string;
|
|
25009
|
+
}
|
|
24990
25010
|
/** Params for GET /fyxer-transcript */
|
|
24991
25011
|
interface FyxerTranscriptListParams extends EdgeCacheParams {
|
|
24992
25012
|
/** Limit number of results (Default: 10) */
|
|
@@ -25249,13 +25269,49 @@ interface ContextGetDataOption2 {
|
|
|
25249
25269
|
* Returned by: api.agrSite.context.get(siteId)
|
|
25250
25270
|
*/
|
|
25251
25271
|
type ContextGetData$1 = ContextGetDataOption1$1 | ContextGetDataOption2;
|
|
25272
|
+
/**
|
|
25273
|
+
* List a site web folder
|
|
25274
|
+
* Response data for GET /datafiles — MINIMUM fields, extras pass through
|
|
25275
|
+
*
|
|
25276
|
+
* Returned by: api.agrSite.datafiles.list(params) (array items)
|
|
25277
|
+
*/
|
|
25278
|
+
interface DatafilesListItem {
|
|
25279
|
+
/** Path relative to the location root */
|
|
25280
|
+
path: string;
|
|
25281
|
+
/** file or dir */
|
|
25282
|
+
type: string;
|
|
25283
|
+
/** Size in bytes; 0 for a folder */
|
|
25284
|
+
size: number;
|
|
25285
|
+
/** Last modified time, ISO 8601 UTC */
|
|
25286
|
+
modified: string;
|
|
25287
|
+
/**
|
|
25288
|
+
* Lowercase hex sha256 of a file; the key is absent unless withSha256=true was sent, and for
|
|
25289
|
+
* folders
|
|
25290
|
+
*/
|
|
25291
|
+
sha256?: string | null;
|
|
25292
|
+
[key: string]: unknown;
|
|
25293
|
+
}
|
|
25294
|
+
/** Returned by: api.agrSite.datafiles.list(params) */
|
|
25295
|
+
type DatafilesListData = DatafilesListItem[];
|
|
25252
25296
|
/**
|
|
25253
25297
|
* Write a file to a site web folder
|
|
25254
25298
|
* Response data for POST /datafiles — MINIMUM fields, extras pass through
|
|
25255
25299
|
*
|
|
25256
25300
|
* Returned by: api.agrSite.datafiles.create(data)
|
|
25257
25301
|
*/
|
|
25258
|
-
|
|
25302
|
+
interface DatafilesCreateData {
|
|
25303
|
+
/** Stored location and path, as "{location}/{path}" */
|
|
25304
|
+
path: string;
|
|
25305
|
+
/** File size in bytes */
|
|
25306
|
+
size: number;
|
|
25307
|
+
/** Lowercase hex sha256 of the stored file */
|
|
25308
|
+
sha256: string;
|
|
25309
|
+
/** True when an existing file at the path was replaced */
|
|
25310
|
+
overwritten: boolean;
|
|
25311
|
+
/** True when the file already matched the sent sha256 and nothing was written */
|
|
25312
|
+
unchanged: boolean;
|
|
25313
|
+
[key: string]: unknown;
|
|
25314
|
+
}
|
|
25259
25315
|
/**
|
|
25260
25316
|
* Write a file to a site web folder
|
|
25261
25317
|
* Request body for POST /datafiles — MINIMUM fields, extras pass through
|
|
@@ -25270,8 +25326,30 @@ interface DatafilesCreateBody {
|
|
|
25270
25326
|
* allowed extension
|
|
25271
25327
|
*/
|
|
25272
25328
|
path: string;
|
|
25273
|
-
/** File content, base64-encoded;
|
|
25274
|
-
content
|
|
25329
|
+
/** File content, base64-encoded; send this or sourceUrl, not both */
|
|
25330
|
+
content?: string;
|
|
25331
|
+
/** Public https URL the file is copied from; send this or content, not both */
|
|
25332
|
+
sourceUrl?: string | null;
|
|
25333
|
+
/**
|
|
25334
|
+
* Expected lowercase hex sha256 of the file; when the stored file already matches, nothing is
|
|
25335
|
+
* written, and a written file that does not match is discarded
|
|
25336
|
+
*/
|
|
25337
|
+
sha256?: string | null;
|
|
25338
|
+
[key: string]: unknown;
|
|
25339
|
+
}
|
|
25340
|
+
/**
|
|
25341
|
+
* Delete a file
|
|
25342
|
+
* Response data for DELETE /datafiles — MINIMUM fields, extras pass through
|
|
25343
|
+
*
|
|
25344
|
+
* Returned by: api.agrSite.datafiles.delete(params)
|
|
25345
|
+
*/
|
|
25346
|
+
interface DatafilesDeleteData {
|
|
25347
|
+
/** Removed location and path, as "{location}/{path}" */
|
|
25348
|
+
path: string;
|
|
25349
|
+
/** Size in bytes of the removed file */
|
|
25350
|
+
size: number;
|
|
25351
|
+
/** Lowercase hex sha256 of the removed file */
|
|
25352
|
+
sha256: string;
|
|
25275
25353
|
[key: string]: unknown;
|
|
25276
25354
|
}
|
|
25277
25355
|
/**
|
|
@@ -26025,19 +26103,46 @@ interface AgrSiteClientSpec {
|
|
|
26025
26103
|
get: (siteId: string, params?: ContextGetParams$1) => Promise<BaseResponse$1<ContextGetData$1>>;
|
|
26026
26104
|
};
|
|
26027
26105
|
datafiles: {
|
|
26106
|
+
/**
|
|
26107
|
+
* List a site web folder
|
|
26108
|
+
* Call: api.agrSite.datafiles.list(params)
|
|
26109
|
+
*
|
|
26110
|
+
* List one folder of a site web folder, sorted by name
|
|
26111
|
+
*
|
|
26112
|
+
* Response data, each item: One file or folder inside a listed folder
|
|
26113
|
+
*
|
|
26114
|
+
* Errors:
|
|
26115
|
+
* 400: Request rejected: location or path is missing or invalid, or path names a file.
|
|
26116
|
+
* 403: Request rejected: a public path does not start with images/, media/ or phocadownload/.
|
|
26117
|
+
* 404: The folder does not exist.
|
|
26118
|
+
*
|
|
26119
|
+
* GET https://agr-site.augur-api.com/datafiles
|
|
26120
|
+
* Contract: https://agr-site.augur-api.com/openapi.json#/paths/~1datafiles/get
|
|
26121
|
+
*
|
|
26122
|
+
* @param params DatafilesListParams (query string)
|
|
26123
|
+
* @returns BaseResponse whose `data` is DatafilesListData
|
|
26124
|
+
*/
|
|
26125
|
+
list: (params?: DatafilesListParams) => Promise<BaseResponse$1<DatafilesListData>>;
|
|
26028
26126
|
/**
|
|
26029
26127
|
* Write a file to a site web folder
|
|
26030
26128
|
* Call: api.agrSite.datafiles.create(data)
|
|
26031
26129
|
*
|
|
26130
|
+
* Write a file to a site web folder from base64 content or an https URL
|
|
26131
|
+
*
|
|
26032
26132
|
* Request body: Write one file into the calling site's public (www) or private (datafiles)
|
|
26033
|
-
* folder
|
|
26133
|
+
* folder, from base64 content or an https URL
|
|
26134
|
+
* Response data: The file now stored at the requested path
|
|
26034
26135
|
*
|
|
26035
26136
|
* Success status: 201 (not 200)
|
|
26036
26137
|
*
|
|
26037
26138
|
* Errors:
|
|
26038
|
-
* 400: Request rejected: location, path or
|
|
26039
|
-
*
|
|
26040
|
-
*
|
|
26139
|
+
* 400: Request rejected: location, path, content, sourceUrl or sha256 is missing or invalid,
|
|
26140
|
+
* or both content and sourceUrl were sent.
|
|
26141
|
+
* 403: Request rejected: a public path does not start with images/, media/ or phocadownload/,
|
|
26142
|
+
* the file extension is not allowed, or the content contains a PHP open tag.
|
|
26143
|
+
* 422: The written file did not match the sent sha256; it was discarded and any existing file
|
|
26144
|
+
* is unchanged.
|
|
26145
|
+
* 502: The sourceUrl could not be fetched; nothing was written.
|
|
26041
26146
|
*
|
|
26042
26147
|
* POST https://agr-site.augur-api.com/datafiles
|
|
26043
26148
|
* Contract: https://agr-site.augur-api.com/openapi.json#/paths/~1datafiles/post
|
|
@@ -26046,6 +26151,28 @@ interface AgrSiteClientSpec {
|
|
|
26046
26151
|
* @returns BaseResponse whose `data` is DatafilesCreateData
|
|
26047
26152
|
*/
|
|
26048
26153
|
create: (data: DatafilesCreateBody) => Promise<BaseResponse$1<DatafilesCreateData>>;
|
|
26154
|
+
/**
|
|
26155
|
+
* Delete a file
|
|
26156
|
+
* Call: api.agrSite.datafiles.delete(params)
|
|
26157
|
+
*
|
|
26158
|
+
* Delete one file from a site web folder
|
|
26159
|
+
*
|
|
26160
|
+
* Response data: The file that was removed
|
|
26161
|
+
*
|
|
26162
|
+
* Errors:
|
|
26163
|
+
* 400: Request rejected: location or path is missing or invalid, or path names a folder or
|
|
26164
|
+
* carries a wildcard; nothing was removed.
|
|
26165
|
+
* 403: Request rejected: a public path does not start with images/, media/ or phocadownload/,
|
|
26166
|
+
* or the file extension is not allowed.
|
|
26167
|
+
* 404: The file does not exist.
|
|
26168
|
+
*
|
|
26169
|
+
* DELETE https://agr-site.augur-api.com/datafiles
|
|
26170
|
+
* Contract: https://agr-site.augur-api.com/openapi.json#/paths/~1datafiles/delete
|
|
26171
|
+
*
|
|
26172
|
+
* @param params DatafilesDeleteParams (query string)
|
|
26173
|
+
* @returns BaseResponse whose `data` is DatafilesDeleteData
|
|
26174
|
+
*/
|
|
26175
|
+
delete: (params?: DatafilesDeleteParams) => Promise<BaseResponse$1<DatafilesDeleteData>>;
|
|
26049
26176
|
};
|
|
26050
26177
|
fyxerTranscript: {
|
|
26051
26178
|
/**
|
|
@@ -26573,6 +26700,11 @@ type types$k_ConfigsUpdateData = ConfigsUpdateData;
|
|
|
26573
26700
|
type types$k_ContextGetDataOption2 = ContextGetDataOption2;
|
|
26574
26701
|
type types$k_DatafilesCreateBody = DatafilesCreateBody;
|
|
26575
26702
|
type types$k_DatafilesCreateData = DatafilesCreateData;
|
|
26703
|
+
type types$k_DatafilesDeleteData = DatafilesDeleteData;
|
|
26704
|
+
type types$k_DatafilesDeleteParams = DatafilesDeleteParams;
|
|
26705
|
+
type types$k_DatafilesListData = DatafilesListData;
|
|
26706
|
+
type types$k_DatafilesListItem = DatafilesListItem;
|
|
26707
|
+
type types$k_DatafilesListParams = DatafilesListParams;
|
|
26576
26708
|
type types$k_FyxerTranscriptCreateBody = FyxerTranscriptCreateBody;
|
|
26577
26709
|
type types$k_FyxerTranscriptCreateData = FyxerTranscriptCreateData;
|
|
26578
26710
|
type types$k_FyxerTranscriptDeleteData = FyxerTranscriptDeleteData;
|
|
@@ -26635,7 +26767,7 @@ type types$k_UsersAddressesListParams = UsersAddressesListParams;
|
|
|
26635
26767
|
type types$k_UsersAddressesUpdateBody = UsersAddressesUpdateBody;
|
|
26636
26768
|
type types$k_UsersAddressesUpdateData = UsersAddressesUpdateData;
|
|
26637
26769
|
declare namespace types$k {
|
|
26638
|
-
export type { types$k_AgrSiteClientSpec as AgrSiteClientSpec, types$k_ConfigsGetData as ConfigsGetData, types$k_ConfigsGetDataConfigsItem as ConfigsGetDataConfigsItem, types$k_ConfigsGetParams as ConfigsGetParams, types$k_ConfigsListData as ConfigsListData, types$k_ConfigsListItem as ConfigsListItem, types$k_ConfigsListParams as ConfigsListParams, types$k_ConfigsUpdateBody as ConfigsUpdateBody, types$k_ConfigsUpdateData as ConfigsUpdateData, ContextGetData$1 as ContextGetData, ContextGetDataOption1$1 as ContextGetDataOption1, ContextGetDataOption1ServicesItem$1 as ContextGetDataOption1ServicesItem, types$k_ContextGetDataOption2 as ContextGetDataOption2, ContextGetParams$1 as ContextGetParams, types$k_DatafilesCreateBody as DatafilesCreateBody, types$k_DatafilesCreateData as DatafilesCreateData, types$k_FyxerTranscriptCreateBody as FyxerTranscriptCreateBody, types$k_FyxerTranscriptCreateData as FyxerTranscriptCreateData, types$k_FyxerTranscriptDeleteData as FyxerTranscriptDeleteData, types$k_FyxerTranscriptGetData as FyxerTranscriptGetData, types$k_FyxerTranscriptGetParams as FyxerTranscriptGetParams, types$k_FyxerTranscriptListData as FyxerTranscriptListData, types$k_FyxerTranscriptListItem as FyxerTranscriptListItem, types$k_FyxerTranscriptListParams as FyxerTranscriptListParams, types$k_FyxerTranscriptUpdateBody as FyxerTranscriptUpdateBody, types$k_FyxerTranscriptUpdateData as FyxerTranscriptUpdateData, types$k_GeoCodesPostalCodesGetData as GeoCodesPostalCodesGetData, types$k_GeoCodesPostalCodesGetParams as GeoCodesPostalCodesGetParams, types$k_GeoCodesPostalCodesListData as GeoCodesPostalCodesListData, types$k_GeoCodesPostalCodesListItem as GeoCodesPostalCodesListItem, types$k_GeoCodesPostalCodesListParams as GeoCodesPostalCodesListParams, types$k_LinkedSitesListData as LinkedSitesListData, types$k_LinkedSitesListItem as LinkedSitesListItem, types$k_LinkedSitesListParams as LinkedSitesListParams, types$k_LinkedSitesTokenCreateBody as LinkedSitesTokenCreateBody, types$k_LinkedSitesTokenCreateData as LinkedSitesTokenCreateData, types$k_MetaFilesRobotsListData as MetaFilesRobotsListData, types$k_MetaFilesRobotsListParams as MetaFilesRobotsListParams, types$k_NotificationsCreateBody as NotificationsCreateBody, types$k_NotificationsCreateData as NotificationsCreateData, types$k_NotificationsGetData as NotificationsGetData, types$k_NotificationsGetParams as NotificationsGetParams, types$k_NotificationsListData as NotificationsListData, types$k_NotificationsListItem as NotificationsListItem, types$k_NotificationsListParams as NotificationsListParams, types$k_OpenSearchEmbeddingListData as OpenSearchEmbeddingListData, types$k_OpenSearchEmbeddingListParams as OpenSearchEmbeddingListParams, types$k_PostalCodesXShiptosCreateBody as PostalCodesXShiptosCreateBody, types$k_PostalCodesXShiptosCreateData as PostalCodesXShiptosCreateData, types$k_PostalCodesXShiptosDeleteData as PostalCodesXShiptosDeleteData, types$k_PostalCodesXShiptosGetData as PostalCodesXShiptosGetData, types$k_PostalCodesXShiptosGetParams as PostalCodesXShiptosGetParams, types$k_PostalCodesXShiptosListData as PostalCodesXShiptosListData, types$k_PostalCodesXShiptosListItem as PostalCodesXShiptosListItem, types$k_PostalCodesXShiptosListParams as PostalCodesXShiptosListParams, types$k_PostalCodesXShiptosUpdateBody as PostalCodesXShiptosUpdateBody, types$k_PostalCodesXShiptosUpdateData as PostalCodesXShiptosUpdateData, types$k_SettingsCreateBody as SettingsCreateBody, types$k_SettingsCreateData as SettingsCreateData, types$k_SettingsDeleteData as SettingsDeleteData, types$k_SettingsGetData as SettingsGetData, types$k_SettingsGetParams as SettingsGetParams, types$k_SettingsListData as SettingsListData, types$k_SettingsListItem as SettingsListItem, types$k_SettingsListParams as SettingsListParams, types$k_SettingsUpdateBody as SettingsUpdateBody, types$k_SettingsUpdateData as SettingsUpdateData, types$k_UsersAddressesCreateBody as UsersAddressesCreateBody, types$k_UsersAddressesCreateData as UsersAddressesCreateData, types$k_UsersAddressesDeleteData as UsersAddressesDeleteData, types$k_UsersAddressesGetData as UsersAddressesGetData, types$k_UsersAddressesGetParams as UsersAddressesGetParams, types$k_UsersAddressesListData as UsersAddressesListData, types$k_UsersAddressesListItem as UsersAddressesListItem, types$k_UsersAddressesListParams as UsersAddressesListParams, types$k_UsersAddressesUpdateBody as UsersAddressesUpdateBody, types$k_UsersAddressesUpdateData as UsersAddressesUpdateData };
|
|
26770
|
+
export type { types$k_AgrSiteClientSpec as AgrSiteClientSpec, types$k_ConfigsGetData as ConfigsGetData, types$k_ConfigsGetDataConfigsItem as ConfigsGetDataConfigsItem, types$k_ConfigsGetParams as ConfigsGetParams, types$k_ConfigsListData as ConfigsListData, types$k_ConfigsListItem as ConfigsListItem, types$k_ConfigsListParams as ConfigsListParams, types$k_ConfigsUpdateBody as ConfigsUpdateBody, types$k_ConfigsUpdateData as ConfigsUpdateData, ContextGetData$1 as ContextGetData, ContextGetDataOption1$1 as ContextGetDataOption1, ContextGetDataOption1ServicesItem$1 as ContextGetDataOption1ServicesItem, types$k_ContextGetDataOption2 as ContextGetDataOption2, ContextGetParams$1 as ContextGetParams, types$k_DatafilesCreateBody as DatafilesCreateBody, types$k_DatafilesCreateData as DatafilesCreateData, types$k_DatafilesDeleteData as DatafilesDeleteData, types$k_DatafilesDeleteParams as DatafilesDeleteParams, types$k_DatafilesListData as DatafilesListData, types$k_DatafilesListItem as DatafilesListItem, types$k_DatafilesListParams as DatafilesListParams, types$k_FyxerTranscriptCreateBody as FyxerTranscriptCreateBody, types$k_FyxerTranscriptCreateData as FyxerTranscriptCreateData, types$k_FyxerTranscriptDeleteData as FyxerTranscriptDeleteData, types$k_FyxerTranscriptGetData as FyxerTranscriptGetData, types$k_FyxerTranscriptGetParams as FyxerTranscriptGetParams, types$k_FyxerTranscriptListData as FyxerTranscriptListData, types$k_FyxerTranscriptListItem as FyxerTranscriptListItem, types$k_FyxerTranscriptListParams as FyxerTranscriptListParams, types$k_FyxerTranscriptUpdateBody as FyxerTranscriptUpdateBody, types$k_FyxerTranscriptUpdateData as FyxerTranscriptUpdateData, types$k_GeoCodesPostalCodesGetData as GeoCodesPostalCodesGetData, types$k_GeoCodesPostalCodesGetParams as GeoCodesPostalCodesGetParams, types$k_GeoCodesPostalCodesListData as GeoCodesPostalCodesListData, types$k_GeoCodesPostalCodesListItem as GeoCodesPostalCodesListItem, types$k_GeoCodesPostalCodesListParams as GeoCodesPostalCodesListParams, types$k_LinkedSitesListData as LinkedSitesListData, types$k_LinkedSitesListItem as LinkedSitesListItem, types$k_LinkedSitesListParams as LinkedSitesListParams, types$k_LinkedSitesTokenCreateBody as LinkedSitesTokenCreateBody, types$k_LinkedSitesTokenCreateData as LinkedSitesTokenCreateData, types$k_MetaFilesRobotsListData as MetaFilesRobotsListData, types$k_MetaFilesRobotsListParams as MetaFilesRobotsListParams, types$k_NotificationsCreateBody as NotificationsCreateBody, types$k_NotificationsCreateData as NotificationsCreateData, types$k_NotificationsGetData as NotificationsGetData, types$k_NotificationsGetParams as NotificationsGetParams, types$k_NotificationsListData as NotificationsListData, types$k_NotificationsListItem as NotificationsListItem, types$k_NotificationsListParams as NotificationsListParams, types$k_OpenSearchEmbeddingListData as OpenSearchEmbeddingListData, types$k_OpenSearchEmbeddingListParams as OpenSearchEmbeddingListParams, types$k_PostalCodesXShiptosCreateBody as PostalCodesXShiptosCreateBody, types$k_PostalCodesXShiptosCreateData as PostalCodesXShiptosCreateData, types$k_PostalCodesXShiptosDeleteData as PostalCodesXShiptosDeleteData, types$k_PostalCodesXShiptosGetData as PostalCodesXShiptosGetData, types$k_PostalCodesXShiptosGetParams as PostalCodesXShiptosGetParams, types$k_PostalCodesXShiptosListData as PostalCodesXShiptosListData, types$k_PostalCodesXShiptosListItem as PostalCodesXShiptosListItem, types$k_PostalCodesXShiptosListParams as PostalCodesXShiptosListParams, types$k_PostalCodesXShiptosUpdateBody as PostalCodesXShiptosUpdateBody, types$k_PostalCodesXShiptosUpdateData as PostalCodesXShiptosUpdateData, types$k_SettingsCreateBody as SettingsCreateBody, types$k_SettingsCreateData as SettingsCreateData, types$k_SettingsDeleteData as SettingsDeleteData, types$k_SettingsGetData as SettingsGetData, types$k_SettingsGetParams as SettingsGetParams, types$k_SettingsListData as SettingsListData, types$k_SettingsListItem as SettingsListItem, types$k_SettingsListParams as SettingsListParams, types$k_SettingsUpdateBody as SettingsUpdateBody, types$k_SettingsUpdateData as SettingsUpdateData, types$k_UsersAddressesCreateBody as UsersAddressesCreateBody, types$k_UsersAddressesCreateData as UsersAddressesCreateData, types$k_UsersAddressesDeleteData as UsersAddressesDeleteData, types$k_UsersAddressesGetData as UsersAddressesGetData, types$k_UsersAddressesGetParams as UsersAddressesGetParams, types$k_UsersAddressesListData as UsersAddressesListData, types$k_UsersAddressesListItem as UsersAddressesListItem, types$k_UsersAddressesListParams as UsersAddressesListParams, types$k_UsersAddressesUpdateBody as UsersAddressesUpdateBody, types$k_UsersAddressesUpdateData as UsersAddressesUpdateData };
|
|
26639
26771
|
}
|
|
26640
26772
|
|
|
26641
26773
|
/**
|
|
@@ -26664,7 +26796,9 @@ declare namespace types$k {
|
|
|
26664
26796
|
* GET /configs/{serviceName} → api.agrSite.configs.get(serviceName) → ConfigsGetData
|
|
26665
26797
|
* PUT /configs/{serviceName} → api.agrSite.configs.update(serviceName, data) → ConfigsUpdateData
|
|
26666
26798
|
* GET /context/{siteId} → api.agrSite.context.get(siteId) → ContextGetData
|
|
26799
|
+
* GET /datafiles → api.agrSite.datafiles.list(params) → DatafilesListData
|
|
26667
26800
|
* POST /datafiles → api.agrSite.datafiles.create(data) → DatafilesCreateData
|
|
26801
|
+
* DELETE /datafiles → api.agrSite.datafiles.delete(params) → DatafilesDeleteData
|
|
26668
26802
|
* GET /fyxer-transcript → api.agrSite.fyxerTranscript.list(params) → FyxerTranscriptListData
|
|
26669
26803
|
* POST /fyxer-transcript → api.agrSite.fyxerTranscript.create(data) → FyxerTranscriptCreateData
|
|
26670
26804
|
* GET /fyxer-transcript/{fyxerTranscriptHdrUid} →
|
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, E as EndpointEntry, z as EndpointParam, D as Envelope, G as GoogMcClient, F as GoogMcTypes, H as GregorovichClient, I as GregorovichTypes, J as HealthCheckData, K as HealthCheckDataSchema, L as ItemsClient, M as ItemsTypes, N as JoomlaClient, O as JoomlaTypes, P as Known, Q as LegacyClient, R as LegacyTypes, S as LogisticsClient, T as LogisticsTypes, U as MarketsClient, V as MarketsTypes, W as OpenSearchClient, X as OpenSearchTypes, Y as OrdersClient, Z as OrdersTypes, _ as P21ApisClient, $ as P21ApisTypes, a0 as P21CoreClient, a1 as P21CoreTypes, a2 as P21PimClient, a3 as P21PimTypes, a4 as P21SismClient, a5 as P21SismTypes, a6 as PaginationParamsSchema, a7 as PaymentsClient, a8 as PaymentsTypes, a9 as PingData, aa as PricingClient, ab as PricingTypes, ac as RequestConfig, ad as ShippingClient, ae as ShippingTypes, af as SmartyStreetsClient, ag as SmartyStreetsTypes, ah as UPSClient, ai as UPSTypes, aj as VMIClient, ak as VMITypes, al as VendorsClient, am as VendorsTypes, an as WhoamiData, ao as WhoamiDataSchema, ap as isReadOnly } from './client-
|
|
1
|
+
import { A as AugurAPI } from './client-TPJa269Y.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, E as EndpointEntry, z as EndpointParam, D as Envelope, G as GoogMcClient, F as GoogMcTypes, H as GregorovichClient, I as GregorovichTypes, J as HealthCheckData, K as HealthCheckDataSchema, L as ItemsClient, M as ItemsTypes, N as JoomlaClient, O as JoomlaTypes, P as Known, Q as LegacyClient, R as LegacyTypes, S as LogisticsClient, T as LogisticsTypes, U as MarketsClient, V as MarketsTypes, W as OpenSearchClient, X as OpenSearchTypes, Y as OrdersClient, Z as OrdersTypes, _ as P21ApisClient, $ as P21ApisTypes, a0 as P21CoreClient, a1 as P21CoreTypes, a2 as P21PimClient, a3 as P21PimTypes, a4 as P21SismClient, a5 as P21SismTypes, a6 as PaginationParamsSchema, a7 as PaymentsClient, a8 as PaymentsTypes, a9 as PingData, aa as PricingClient, ab as PricingTypes, ac as RequestConfig, ad as ShippingClient, ae as ShippingTypes, af as SmartyStreetsClient, ag as SmartyStreetsTypes, ah as UPSClient, ai as UPSTypes, aj as VMIClient, ak as VMITypes, al as VendorsClient, am as VendorsTypes, an as WhoamiData, ao as WhoamiDataSchema, ap as isReadOnly } from './client-TPJa269Y.mjs';
|
|
3
3
|
import 'valibot';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -231,6 +231,6 @@ declare namespace types {
|
|
|
231
231
|
export type { types_AgrWorkClientSpec as AgrWorkClientSpec };
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
declare const VERSION = "2026.10.
|
|
234
|
+
declare const VERSION = "2026.10.31";
|
|
235
235
|
|
|
236
236
|
export { types as AgrWorkTypes, AugurAPI, type AugurAPIError, AugurError, AuthenticationError, type CrossSiteAuthParams, type CrossSiteAuthResult, InvalidArgumentError, NotFoundError, RateLimitError, type SiteId, VERSION, ValidationError, authenticateUserForSite, createCrossSiteAuthenticator, isSiteId, parseSiteId };
|
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, E as EndpointEntry, z as EndpointParam, D as Envelope, G as GoogMcClient, F as GoogMcTypes, H as GregorovichClient, I as GregorovichTypes, J as HealthCheckData, K as HealthCheckDataSchema, L as ItemsClient, M as ItemsTypes, N as JoomlaClient, O as JoomlaTypes, P as Known, Q as LegacyClient, R as LegacyTypes, S as LogisticsClient, T as LogisticsTypes, U as MarketsClient, V as MarketsTypes, W as OpenSearchClient, X as OpenSearchTypes, Y as OrdersClient, Z as OrdersTypes, _ as P21ApisClient, $ as P21ApisTypes, a0 as P21CoreClient, a1 as P21CoreTypes, a2 as P21PimClient, a3 as P21PimTypes, a4 as P21SismClient, a5 as P21SismTypes, a6 as PaginationParamsSchema, a7 as PaymentsClient, a8 as PaymentsTypes, a9 as PingData, aa as PricingClient, ab as PricingTypes, ac as RequestConfig, ad as ShippingClient, ae as ShippingTypes, af as SmartyStreetsClient, ag as SmartyStreetsTypes, ah as UPSClient, ai as UPSTypes, aj as VMIClient, ak as VMITypes, al as VendorsClient, am as VendorsTypes, an as WhoamiData, ao as WhoamiDataSchema, ap as isReadOnly } from './client-
|
|
1
|
+
import { A as AugurAPI } from './client-TPJa269Y.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, E as EndpointEntry, z as EndpointParam, D as Envelope, G as GoogMcClient, F as GoogMcTypes, H as GregorovichClient, I as GregorovichTypes, J as HealthCheckData, K as HealthCheckDataSchema, L as ItemsClient, M as ItemsTypes, N as JoomlaClient, O as JoomlaTypes, P as Known, Q as LegacyClient, R as LegacyTypes, S as LogisticsClient, T as LogisticsTypes, U as MarketsClient, V as MarketsTypes, W as OpenSearchClient, X as OpenSearchTypes, Y as OrdersClient, Z as OrdersTypes, _ as P21ApisClient, $ as P21ApisTypes, a0 as P21CoreClient, a1 as P21CoreTypes, a2 as P21PimClient, a3 as P21PimTypes, a4 as P21SismClient, a5 as P21SismTypes, a6 as PaginationParamsSchema, a7 as PaymentsClient, a8 as PaymentsTypes, a9 as PingData, aa as PricingClient, ab as PricingTypes, ac as RequestConfig, ad as ShippingClient, ae as ShippingTypes, af as SmartyStreetsClient, ag as SmartyStreetsTypes, ah as UPSClient, ai as UPSTypes, aj as VMIClient, ak as VMITypes, al as VendorsClient, am as VendorsTypes, an as WhoamiData, ao as WhoamiDataSchema, ap as isReadOnly } from './client-TPJa269Y.js';
|
|
3
3
|
import 'valibot';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -231,6 +231,6 @@ declare namespace types {
|
|
|
231
231
|
export type { types_AgrWorkClientSpec as AgrWorkClientSpec };
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
declare const VERSION = "2026.10.
|
|
234
|
+
declare const VERSION = "2026.10.31";
|
|
235
235
|
|
|
236
236
|
export { types as AgrWorkTypes, AugurAPI, type AugurAPIError, AugurError, AuthenticationError, type CrossSiteAuthParams, type CrossSiteAuthResult, InvalidArgumentError, NotFoundError, RateLimitError, type SiteId, VERSION, ValidationError, authenticateUserForSite, createCrossSiteAuthenticator, isSiteId, parseSiteId };
|
package/dist/index.js
CHANGED
|
@@ -2492,6 +2492,18 @@ var ConfigsListParamsSchema = v4.looseObject({
|
|
|
2492
2492
|
limit: v4.optional(v4.pipe(v4.unknown(), v4.transform(Number))),
|
|
2493
2493
|
offset: v4.optional(v4.pipe(v4.unknown(), v4.transform(Number)))
|
|
2494
2494
|
});
|
|
2495
|
+
var DatafilesListParamsSchema = v4.looseObject({
|
|
2496
|
+
...EdgeCacheParamsSchema.entries,
|
|
2497
|
+
limit: v4.optional(v4.pipe(v4.unknown(), v4.transform(Number))),
|
|
2498
|
+
location: v4.string(),
|
|
2499
|
+
offset: v4.optional(v4.pipe(v4.unknown(), v4.transform(Number))),
|
|
2500
|
+
path: v4.string(),
|
|
2501
|
+
withSha256: v4.optional(v4.string())
|
|
2502
|
+
});
|
|
2503
|
+
var DatafilesDeleteParamsSchema = v4.looseObject({
|
|
2504
|
+
location: v4.string(),
|
|
2505
|
+
path: v4.string()
|
|
2506
|
+
});
|
|
2495
2507
|
var FyxerTranscriptListParamsSchema = v4.looseObject({
|
|
2496
2508
|
...EdgeCacheParamsSchema.entries,
|
|
2497
2509
|
limit: v4.optional(v4.pipe(v4.unknown(), v4.transform(Number))),
|
|
@@ -2616,7 +2628,27 @@ var ContextGetDataSchema2 = v4.union([
|
|
|
2616
2628
|
inactiveServices: v4.array(v4.string())
|
|
2617
2629
|
})
|
|
2618
2630
|
]);
|
|
2619
|
-
var
|
|
2631
|
+
var DatafilesListDataSchema = v4.array(
|
|
2632
|
+
v4.looseObject({
|
|
2633
|
+
path: v4.string(),
|
|
2634
|
+
type: v4.string(),
|
|
2635
|
+
size: v4.number(),
|
|
2636
|
+
modified: v4.string(),
|
|
2637
|
+
sha256: v4.optional(v4.nullable(v4.string()))
|
|
2638
|
+
})
|
|
2639
|
+
);
|
|
2640
|
+
var DatafilesCreateDataSchema = v4.looseObject({
|
|
2641
|
+
path: v4.string(),
|
|
2642
|
+
size: v4.number(),
|
|
2643
|
+
sha256: v4.string(),
|
|
2644
|
+
overwritten: v4.boolean(),
|
|
2645
|
+
unchanged: v4.boolean()
|
|
2646
|
+
});
|
|
2647
|
+
var DatafilesDeleteDataSchema = v4.looseObject({
|
|
2648
|
+
path: v4.string(),
|
|
2649
|
+
size: v4.number(),
|
|
2650
|
+
sha256: v4.string()
|
|
2651
|
+
});
|
|
2620
2652
|
var FyxerTranscriptListDataSchema = v4.array(
|
|
2621
2653
|
v4.looseObject({
|
|
2622
2654
|
fyxerTranscriptHdrUid: v4.number(),
|
|
@@ -2900,6 +2932,27 @@ var endpoints3 = [
|
|
|
2900
2932
|
responseSchema: ContextGetDataSchema2,
|
|
2901
2933
|
responseType: "object"
|
|
2902
2934
|
},
|
|
2935
|
+
{
|
|
2936
|
+
method: "GET",
|
|
2937
|
+
path: "/datafiles",
|
|
2938
|
+
chain: "datafiles",
|
|
2939
|
+
action: "list",
|
|
2940
|
+
aliases: [],
|
|
2941
|
+
pathParams: [],
|
|
2942
|
+
pathPatterns: {},
|
|
2943
|
+
queryParams: ["limit", "location", "offset", "path", "withSha256"],
|
|
2944
|
+
edgeCache: true,
|
|
2945
|
+
summary: "List a site web folder",
|
|
2946
|
+
params: {
|
|
2947
|
+
limit: { in: "query", type: "integer", required: false },
|
|
2948
|
+
location: { in: "query", type: "string", required: true },
|
|
2949
|
+
offset: { in: "query", type: "integer", required: false },
|
|
2950
|
+
path: { in: "query", type: "string", required: true },
|
|
2951
|
+
withSha256: { in: "query", type: "string", required: false }
|
|
2952
|
+
},
|
|
2953
|
+
responseSchema: DatafilesListDataSchema,
|
|
2954
|
+
responseType: "array"
|
|
2955
|
+
},
|
|
2903
2956
|
{
|
|
2904
2957
|
method: "POST",
|
|
2905
2958
|
path: "/datafiles",
|
|
@@ -2913,7 +2966,25 @@ var endpoints3 = [
|
|
|
2913
2966
|
summary: "Write a file to a site web folder",
|
|
2914
2967
|
params: {},
|
|
2915
2968
|
responseSchema: DatafilesCreateDataSchema,
|
|
2916
|
-
responseType: "
|
|
2969
|
+
responseType: "object"
|
|
2970
|
+
},
|
|
2971
|
+
{
|
|
2972
|
+
method: "DELETE",
|
|
2973
|
+
path: "/datafiles",
|
|
2974
|
+
chain: "datafiles",
|
|
2975
|
+
action: "delete",
|
|
2976
|
+
aliases: [],
|
|
2977
|
+
pathParams: [],
|
|
2978
|
+
pathPatterns: {},
|
|
2979
|
+
queryParams: ["location", "path"],
|
|
2980
|
+
edgeCache: false,
|
|
2981
|
+
summary: "Delete a file",
|
|
2982
|
+
params: {
|
|
2983
|
+
location: { in: "query", type: "string", required: true },
|
|
2984
|
+
path: { in: "query", type: "string", required: true }
|
|
2985
|
+
},
|
|
2986
|
+
responseSchema: DatafilesDeleteDataSchema,
|
|
2987
|
+
responseType: "object"
|
|
2917
2988
|
},
|
|
2918
2989
|
{
|
|
2919
2990
|
method: "GET",
|
|
@@ -40902,7 +40973,7 @@ function createCrossSiteAuthenticator(augurInfoToken) {
|
|
|
40902
40973
|
}
|
|
40903
40974
|
|
|
40904
40975
|
// src/index.ts
|
|
40905
|
-
var VERSION = "2026.10.
|
|
40976
|
+
var VERSION = "2026.10.31";
|
|
40906
40977
|
// Annotate the CommonJS export names for ESM import in node:
|
|
40907
40978
|
0 && (module.exports = {
|
|
40908
40979
|
AgrInfoClient,
|