@simpleapps-com/augur-api 2026.10.29 → 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-B7Pib5eu.d.mts → client-TPJa269Y.d.mts} +247 -15
- package/dist/{client-B7Pib5eu.d.ts → client-TPJa269Y.d.ts} +247 -15
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +115 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +115 -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
package/dist/index.mjs
CHANGED
|
@@ -2410,6 +2410,18 @@ var ConfigsListParamsSchema = v4.looseObject({
|
|
|
2410
2410
|
limit: v4.optional(v4.pipe(v4.unknown(), v4.transform(Number))),
|
|
2411
2411
|
offset: v4.optional(v4.pipe(v4.unknown(), v4.transform(Number)))
|
|
2412
2412
|
});
|
|
2413
|
+
var DatafilesListParamsSchema = v4.looseObject({
|
|
2414
|
+
...EdgeCacheParamsSchema.entries,
|
|
2415
|
+
limit: v4.optional(v4.pipe(v4.unknown(), v4.transform(Number))),
|
|
2416
|
+
location: v4.string(),
|
|
2417
|
+
offset: v4.optional(v4.pipe(v4.unknown(), v4.transform(Number))),
|
|
2418
|
+
path: v4.string(),
|
|
2419
|
+
withSha256: v4.optional(v4.string())
|
|
2420
|
+
});
|
|
2421
|
+
var DatafilesDeleteParamsSchema = v4.looseObject({
|
|
2422
|
+
location: v4.string(),
|
|
2423
|
+
path: v4.string()
|
|
2424
|
+
});
|
|
2413
2425
|
var FyxerTranscriptListParamsSchema = v4.looseObject({
|
|
2414
2426
|
...EdgeCacheParamsSchema.entries,
|
|
2415
2427
|
limit: v4.optional(v4.pipe(v4.unknown(), v4.transform(Number))),
|
|
@@ -2534,7 +2546,27 @@ var ContextGetDataSchema2 = v4.union([
|
|
|
2534
2546
|
inactiveServices: v4.array(v4.string())
|
|
2535
2547
|
})
|
|
2536
2548
|
]);
|
|
2537
|
-
var
|
|
2549
|
+
var DatafilesListDataSchema = v4.array(
|
|
2550
|
+
v4.looseObject({
|
|
2551
|
+
path: v4.string(),
|
|
2552
|
+
type: v4.string(),
|
|
2553
|
+
size: v4.number(),
|
|
2554
|
+
modified: v4.string(),
|
|
2555
|
+
sha256: v4.optional(v4.nullable(v4.string()))
|
|
2556
|
+
})
|
|
2557
|
+
);
|
|
2558
|
+
var DatafilesCreateDataSchema = v4.looseObject({
|
|
2559
|
+
path: v4.string(),
|
|
2560
|
+
size: v4.number(),
|
|
2561
|
+
sha256: v4.string(),
|
|
2562
|
+
overwritten: v4.boolean(),
|
|
2563
|
+
unchanged: v4.boolean()
|
|
2564
|
+
});
|
|
2565
|
+
var DatafilesDeleteDataSchema = v4.looseObject({
|
|
2566
|
+
path: v4.string(),
|
|
2567
|
+
size: v4.number(),
|
|
2568
|
+
sha256: v4.string()
|
|
2569
|
+
});
|
|
2538
2570
|
var FyxerTranscriptListDataSchema = v4.array(
|
|
2539
2571
|
v4.looseObject({
|
|
2540
2572
|
fyxerTranscriptHdrUid: v4.number(),
|
|
@@ -2608,6 +2640,15 @@ var GeoCodesPostalCodesGetDataSchema = v4.looseObject({
|
|
|
2608
2640
|
statusCd: v4.number(),
|
|
2609
2641
|
processCd: v4.number()
|
|
2610
2642
|
});
|
|
2643
|
+
var LinkedSitesListDataSchema = v4.array(
|
|
2644
|
+
v4.looseObject({ siteId: v4.string(), domain: v4.string(), userId: v4.number() })
|
|
2645
|
+
);
|
|
2646
|
+
var LinkedSitesTokenCreateDataSchema = v4.looseObject({
|
|
2647
|
+
token: v4.string(),
|
|
2648
|
+
siteId: v4.string(),
|
|
2649
|
+
userId: v4.number(),
|
|
2650
|
+
username: v4.string()
|
|
2651
|
+
});
|
|
2611
2652
|
var MetaFilesRobotsListDataSchema = v4.looseObject({
|
|
2612
2653
|
content: v4.string(),
|
|
2613
2654
|
contentType: v4.string()
|
|
@@ -2809,6 +2850,27 @@ var endpoints3 = [
|
|
|
2809
2850
|
responseSchema: ContextGetDataSchema2,
|
|
2810
2851
|
responseType: "object"
|
|
2811
2852
|
},
|
|
2853
|
+
{
|
|
2854
|
+
method: "GET",
|
|
2855
|
+
path: "/datafiles",
|
|
2856
|
+
chain: "datafiles",
|
|
2857
|
+
action: "list",
|
|
2858
|
+
aliases: [],
|
|
2859
|
+
pathParams: [],
|
|
2860
|
+
pathPatterns: {},
|
|
2861
|
+
queryParams: ["limit", "location", "offset", "path", "withSha256"],
|
|
2862
|
+
edgeCache: true,
|
|
2863
|
+
summary: "List a site web folder",
|
|
2864
|
+
params: {
|
|
2865
|
+
limit: { in: "query", type: "integer", required: false },
|
|
2866
|
+
location: { in: "query", type: "string", required: true },
|
|
2867
|
+
offset: { in: "query", type: "integer", required: false },
|
|
2868
|
+
path: { in: "query", type: "string", required: true },
|
|
2869
|
+
withSha256: { in: "query", type: "string", required: false }
|
|
2870
|
+
},
|
|
2871
|
+
responseSchema: DatafilesListDataSchema,
|
|
2872
|
+
responseType: "array"
|
|
2873
|
+
},
|
|
2812
2874
|
{
|
|
2813
2875
|
method: "POST",
|
|
2814
2876
|
path: "/datafiles",
|
|
@@ -2822,7 +2884,25 @@ var endpoints3 = [
|
|
|
2822
2884
|
summary: "Write a file to a site web folder",
|
|
2823
2885
|
params: {},
|
|
2824
2886
|
responseSchema: DatafilesCreateDataSchema,
|
|
2825
|
-
responseType: "
|
|
2887
|
+
responseType: "object"
|
|
2888
|
+
},
|
|
2889
|
+
{
|
|
2890
|
+
method: "DELETE",
|
|
2891
|
+
path: "/datafiles",
|
|
2892
|
+
chain: "datafiles",
|
|
2893
|
+
action: "delete",
|
|
2894
|
+
aliases: [],
|
|
2895
|
+
pathParams: [],
|
|
2896
|
+
pathPatterns: {},
|
|
2897
|
+
queryParams: ["location", "path"],
|
|
2898
|
+
edgeCache: false,
|
|
2899
|
+
summary: "Delete a file",
|
|
2900
|
+
params: {
|
|
2901
|
+
location: { in: "query", type: "string", required: true },
|
|
2902
|
+
path: { in: "query", type: "string", required: true }
|
|
2903
|
+
},
|
|
2904
|
+
responseSchema: DatafilesDeleteDataSchema,
|
|
2905
|
+
responseType: "object"
|
|
2826
2906
|
},
|
|
2827
2907
|
{
|
|
2828
2908
|
method: "GET",
|
|
@@ -2941,6 +3021,36 @@ var endpoints3 = [
|
|
|
2941
3021
|
responseSchema: GeoCodesPostalCodesGetDataSchema,
|
|
2942
3022
|
responseType: "object"
|
|
2943
3023
|
},
|
|
3024
|
+
{
|
|
3025
|
+
method: "GET",
|
|
3026
|
+
path: "/linked-sites",
|
|
3027
|
+
chain: "linkedSites",
|
|
3028
|
+
action: "list",
|
|
3029
|
+
aliases: [],
|
|
3030
|
+
pathParams: [],
|
|
3031
|
+
pathPatterns: {},
|
|
3032
|
+
queryParams: [],
|
|
3033
|
+
edgeCache: true,
|
|
3034
|
+
summary: "Sites the caller can switch to",
|
|
3035
|
+
params: {},
|
|
3036
|
+
responseSchema: LinkedSitesListDataSchema,
|
|
3037
|
+
responseType: "array"
|
|
3038
|
+
},
|
|
3039
|
+
{
|
|
3040
|
+
method: "POST",
|
|
3041
|
+
path: "/linked-sites/token",
|
|
3042
|
+
chain: "linkedSites.token",
|
|
3043
|
+
action: "create",
|
|
3044
|
+
aliases: [],
|
|
3045
|
+
pathParams: [],
|
|
3046
|
+
pathPatterns: {},
|
|
3047
|
+
queryParams: [],
|
|
3048
|
+
edgeCache: false,
|
|
3049
|
+
summary: "Token for a linked site",
|
|
3050
|
+
params: {},
|
|
3051
|
+
responseSchema: LinkedSitesTokenCreateDataSchema,
|
|
3052
|
+
responseType: "object"
|
|
3053
|
+
},
|
|
2944
3054
|
{
|
|
2945
3055
|
method: "GET",
|
|
2946
3056
|
path: "/meta-files/robots",
|
|
@@ -39607,6 +39717,7 @@ var AgrSiteClient = class extends BaseServiceClient {
|
|
|
39607
39717
|
this.datafiles = proxy.datafiles;
|
|
39608
39718
|
this.fyxerTranscript = proxy.fyxerTranscript;
|
|
39609
39719
|
this.geoCodesPostalCodes = proxy.geoCodesPostalCodes;
|
|
39720
|
+
this.linkedSites = proxy.linkedSites;
|
|
39610
39721
|
this.metaFiles = proxy.metaFiles;
|
|
39611
39722
|
this.notifications = proxy.notifications;
|
|
39612
39723
|
this.openSearch = proxy.openSearch;
|
|
@@ -39618,6 +39729,7 @@ var AgrSiteClient = class extends BaseServiceClient {
|
|
|
39618
39729
|
this.datafilesData = dataProxy.datafiles;
|
|
39619
39730
|
this.fyxerTranscriptData = dataProxy.fyxerTranscript;
|
|
39620
39731
|
this.geoCodesPostalCodesData = dataProxy.geoCodesPostalCodes;
|
|
39732
|
+
this.linkedSitesData = dataProxy.linkedSites;
|
|
39621
39733
|
this.metaFilesData = dataProxy.metaFiles;
|
|
39622
39734
|
this.notificationsData = dataProxy.notifications;
|
|
39623
39735
|
this.openSearchData = dataProxy.openSearch;
|
|
@@ -40779,7 +40891,7 @@ function createCrossSiteAuthenticator(augurInfoToken) {
|
|
|
40779
40891
|
}
|
|
40780
40892
|
|
|
40781
40893
|
// src/index.ts
|
|
40782
|
-
var VERSION = "2026.10.
|
|
40894
|
+
var VERSION = "2026.10.31";
|
|
40783
40895
|
export {
|
|
40784
40896
|
AgrInfoClient,
|
|
40785
40897
|
AgrIntClient,
|