@xyo-network/http-call-witness 7.0.2 → 7.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/index.d.ts +1 -2
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/neutral/index.mjs +2 -485
- package/dist/neutral/index.mjs.map +4 -4
- package/package.json +100 -44
- package/dist/neutral/Payload/Schema.d.ts +0 -9
- package/dist/neutral/Payload/Schema.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/asHttpCall.d.ts +0 -39
- package/dist/neutral/Payload/identity/asHttpCall.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/asHttpCallBase64Result.d.ts +0 -19
- package/dist/neutral/Payload/identity/asHttpCallBase64Result.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/asHttpCallResult.d.ts +0 -51
- package/dist/neutral/Payload/identity/asHttpCallResult.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/asHttpCallXmlResult.d.ts +0 -19
- package/dist/neutral/Payload/identity/asHttpCallXmlResult.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/asHttpUriCall.d.ts +0 -21
- package/dist/neutral/Payload/identity/asHttpUriCall.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/asHttpUriTemplateCall.d.ts +0 -23
- package/dist/neutral/Payload/identity/asHttpUriTemplateCall.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/index.d.ts +0 -14
- package/dist/neutral/Payload/identity/index.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/isHttpCall.d.ts +0 -19
- package/dist/neutral/Payload/identity/isHttpCall.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/isHttpCallBase64Result.d.ts +0 -9
- package/dist/neutral/Payload/identity/isHttpCallBase64Result.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/isHttpCallErrorResult.d.ts +0 -11
- package/dist/neutral/Payload/identity/isHttpCallErrorResult.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/isHttpCallResult.d.ts +0 -25
- package/dist/neutral/Payload/identity/isHttpCallResult.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/isHttpCallXmlResult.d.ts +0 -9
- package/dist/neutral/Payload/identity/isHttpCallXmlResult.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/isHttpUriCall.d.ts +0 -10
- package/dist/neutral/Payload/identity/isHttpUriCall.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/isHttpUriTemplateCall.d.ts +0 -11
- package/dist/neutral/Payload/identity/isHttpUriTemplateCall.d.ts.map +0 -1
- package/dist/neutral/Payload/index.d.ts +0 -4
- package/dist/neutral/Payload/index.d.ts.map +0 -1
- package/dist/neutral/Payload/types/HttpCall.d.ts +0 -27
- package/dist/neutral/Payload/types/HttpCall.d.ts.map +0 -1
- package/dist/neutral/Payload/types/HttpCallBase64Result.d.ts +0 -11
- package/dist/neutral/Payload/types/HttpCallBase64Result.d.ts.map +0 -1
- package/dist/neutral/Payload/types/HttpCallErrorResult.d.ts +0 -13
- package/dist/neutral/Payload/types/HttpCallErrorResult.d.ts.map +0 -1
- package/dist/neutral/Payload/types/HttpCallFields.d.ts +0 -11
- package/dist/neutral/Payload/types/HttpCallFields.d.ts.map +0 -1
- package/dist/neutral/Payload/types/HttpCallHtmlResult.d.ts +0 -11
- package/dist/neutral/Payload/types/HttpCallHtmlResult.d.ts.map +0 -1
- package/dist/neutral/Payload/types/HttpCallJsonResult.d.ts +0 -34
- package/dist/neutral/Payload/types/HttpCallJsonResult.d.ts.map +0 -1
- package/dist/neutral/Payload/types/HttpCallResult.d.ts +0 -30
- package/dist/neutral/Payload/types/HttpCallResult.d.ts.map +0 -1
- package/dist/neutral/Payload/types/HttpCallXmlResult.d.ts +0 -11
- package/dist/neutral/Payload/types/HttpCallXmlResult.d.ts.map +0 -1
- package/dist/neutral/Payload/types/HttpMeta.d.ts +0 -7
- package/dist/neutral/Payload/types/HttpMeta.d.ts.map +0 -1
- package/dist/neutral/Payload/types/HttpUriCall.d.ts +0 -15
- package/dist/neutral/Payload/types/HttpUriCall.d.ts.map +0 -1
- package/dist/neutral/Payload/types/HttpUriTemplateCall.d.ts +0 -16
- package/dist/neutral/Payload/types/HttpUriTemplateCall.d.ts.map +0 -1
- package/dist/neutral/Payload/types/MimeTypes.d.ts +0 -16
- package/dist/neutral/Payload/types/MimeTypes.d.ts.map +0 -1
- package/dist/neutral/Payload/types/Queries.d.ts +0 -4
- package/dist/neutral/Payload/types/Queries.d.ts.map +0 -1
- package/dist/neutral/Payload/types/Verb.d.ts +0 -7
- package/dist/neutral/Payload/types/Verb.d.ts.map +0 -1
- package/dist/neutral/Payload/types/index.d.ts +0 -15
- package/dist/neutral/Payload/types/index.d.ts.map +0 -1
- package/dist/neutral/Witness/Config.d.ts +0 -26
- package/dist/neutral/Witness/Config.d.ts.map +0 -1
- package/dist/neutral/Witness/Params.d.ts +0 -7
- package/dist/neutral/Witness/Params.d.ts.map +0 -1
- package/dist/neutral/Witness/Schema.d.ts +0 -5
- package/dist/neutral/Witness/Schema.d.ts.map +0 -1
- package/dist/neutral/Witness/Witness.d.ts +0 -16
- package/dist/neutral/Witness/Witness.d.ts.map +0 -1
- package/dist/neutral/Witness/index.d.ts +0 -5
- package/dist/neutral/Witness/index.d.ts.map +0 -1
- package/dist/neutral/lib/checkIpfsUrl.d.ts +0 -8
- package/dist/neutral/lib/checkIpfsUrl.d.ts.map +0 -1
- package/dist/neutral/lib/index.d.ts +0 -2
- package/dist/neutral/lib/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/http-call-witness",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -30,67 +30,123 @@
|
|
|
30
30
|
"dist",
|
|
31
31
|
"README.md"
|
|
32
32
|
],
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@xyo-network/payloadset-plugins": "~7.0.4"
|
|
35
|
+
},
|
|
33
36
|
"devDependencies": {
|
|
34
|
-
"@ariestools/
|
|
37
|
+
"@ariestools/crypto": "~8.0.3",
|
|
38
|
+
"@ariestools/eth-address": "~8.0.3",
|
|
39
|
+
"@ariestools/sdk": "~8.0.3",
|
|
40
|
+
"@ariestools/threads": "~8.0.3",
|
|
41
|
+
"@ariestools/toolchain": "~8.6.12",
|
|
42
|
+
"@ariestools/tsconfig": "~8.6.12",
|
|
35
43
|
"@bitauth/libauth": "~3.0.0",
|
|
44
|
+
"@metamask/providers": "~22.1.1",
|
|
36
45
|
"@noble/post-quantum": "~0.6.1",
|
|
46
|
+
"@opentelemetry/api": "~1.9.1",
|
|
47
|
+
"@opentelemetry/sdk-trace-base": "~2.9.0",
|
|
48
|
+
"@scure/base": "~2.2.0",
|
|
49
|
+
"@scure/bip39": "~2.2.0",
|
|
50
|
+
"@uniswap/v3-sdk": "~3.31.0",
|
|
51
|
+
"@xyo-network/diviner-hash-lease": "~7.0.11",
|
|
52
|
+
"@xyo-network/diviner-indexing": "~7.0.11",
|
|
53
|
+
"@xyo-network/open-zeppelin-typechain": "~4.1.3",
|
|
54
|
+
"@xyo-network/sdk": "~7.0.11",
|
|
55
|
+
"@xyo-network/sdk-protocol": "~7.0.15",
|
|
56
|
+
"@xyo-network/uniswap-typechain": "~4.1.3",
|
|
57
|
+
"@xyo-network/witness-blockchain-abstract": "~7.0.11",
|
|
58
|
+
"@xyo-network/witness-evm-abstract": "~7.0.11",
|
|
59
|
+
"@xyo-network/witness-timestamp": "~7.0.11",
|
|
60
|
+
"ajv": "~8.20.0",
|
|
61
|
+
"async-mutex": "~0.5.0",
|
|
62
|
+
"base64-js": "~1.5.1",
|
|
63
|
+
"bowser": "~2.14.1",
|
|
64
|
+
"crypto-js": "~4.2.0",
|
|
65
|
+
"debug": "~4.4.3",
|
|
66
|
+
"es6-dynamic-template": "~2.0.0",
|
|
67
|
+
"eslint": "~10.6.0",
|
|
68
|
+
"eslint-import-resolver-typescript": "~4.4.5",
|
|
69
|
+
"ethers": "~6.17.0",
|
|
70
|
+
"file-type": "~22.0.1",
|
|
71
|
+
"fluent-ffmpeg": "~2.1.3",
|
|
72
|
+
"geotiff": "~3.0.5",
|
|
73
|
+
"gm": "~1.25.1",
|
|
74
|
+
"graphql": "~17.0.2",
|
|
75
|
+
"hasbin": "~1.2.3",
|
|
76
|
+
"hash-wasm": "~4.12.0",
|
|
77
|
+
"idb": "~8.0.3",
|
|
78
|
+
"lru-cache": "~11.5.1",
|
|
79
|
+
"node-screenlogic": "~2.1.1",
|
|
80
|
+
"observable-fns": "~0.6.1",
|
|
81
|
+
"parse-data-url": "~6.0.0",
|
|
82
|
+
"prom-client": "~15.1.3",
|
|
83
|
+
"regression": "~2.0.1",
|
|
84
|
+
"sha.js": "~2.4.12",
|
|
85
|
+
"svg-parser": "~2.0.4",
|
|
86
|
+
"systeminformation": "~5.31.14",
|
|
87
|
+
"typescript": "~6.0.3",
|
|
88
|
+
"uuid": "~14.0.1",
|
|
89
|
+
"webextension-polyfill": "~0.12.0",
|
|
90
|
+
"xml2js": "~0.6.2",
|
|
91
|
+
"zod": "~4.4.3"
|
|
92
|
+
},
|
|
93
|
+
"peerDependencies": {
|
|
94
|
+
"@ariestools/crypto": "^8.0.3",
|
|
95
|
+
"@ariestools/eth-address": "^8.0.3",
|
|
96
|
+
"@ariestools/sdk": "^8.0.3",
|
|
97
|
+
"@ariestools/threads": "^8.0.3",
|
|
98
|
+
"@bitauth/libauth": "^3.0.0",
|
|
99
|
+
"@metamask/providers": "^22.1.1",
|
|
100
|
+
"@noble/post-quantum": "^0.6.1",
|
|
37
101
|
"@opentelemetry/api": "^1.9.1",
|
|
38
|
-
"@opentelemetry/sdk-trace-base": "^2.
|
|
102
|
+
"@opentelemetry/sdk-trace-base": "^2.9.0",
|
|
39
103
|
"@scure/base": "^2.2.0",
|
|
40
|
-
"@scure/bip39": "
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
-
"@xyo-network/sdk": "
|
|
47
|
-
"@xyo-network/
|
|
104
|
+
"@scure/bip39": "^2.2.0",
|
|
105
|
+
"@uniswap/v3-sdk": "^3.31.0",
|
|
106
|
+
"@xyo-network/diviner-hash-lease": "^7.0.11",
|
|
107
|
+
"@xyo-network/diviner-indexing": "^7.0.11",
|
|
108
|
+
"@xyo-network/open-zeppelin-typechain": "^4.1.3",
|
|
109
|
+
"@xyo-network/sdk": "^7.0.11",
|
|
110
|
+
"@xyo-network/sdk-protocol": "^7.0.15",
|
|
111
|
+
"@xyo-network/uniswap-typechain": "^4.1.3",
|
|
112
|
+
"@xyo-network/witness-blockchain-abstract": "^7.0.11",
|
|
113
|
+
"@xyo-network/witness-evm-abstract": "^7.0.11",
|
|
114
|
+
"@xyo-network/witness-timestamp": "^7.0.11",
|
|
48
115
|
"ajv": "^8.20.0",
|
|
49
116
|
"async-mutex": "^0.5.0",
|
|
50
117
|
"base64-js": "^1.5.1",
|
|
51
|
-
"
|
|
52
|
-
"
|
|
118
|
+
"bowser": "^2.14.1",
|
|
119
|
+
"crypto-js": "^4.2.0",
|
|
120
|
+
"debug": "^4.4.3",
|
|
53
121
|
"es6-dynamic-template": "^2.0.0",
|
|
54
|
-
"eslint": "^10.6.0",
|
|
55
|
-
"eslint-import-resolver-typescript": "^4.4.5",
|
|
56
122
|
"ethers": "^6.17.0",
|
|
123
|
+
"file-type": "^22.0.1",
|
|
124
|
+
"fluent-ffmpeg": "^2.1.3",
|
|
125
|
+
"geotiff": "^3.0.5",
|
|
126
|
+
"gm": "^1.25.1",
|
|
127
|
+
"graphql": "^17.0.2",
|
|
128
|
+
"hasbin": "^1.2.3",
|
|
57
129
|
"hash-wasm": "^4.12.0",
|
|
58
130
|
"idb": "^8.0.3",
|
|
59
131
|
"lru-cache": "^11.5.1",
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
132
|
+
"node-screenlogic": "^2.1.1",
|
|
133
|
+
"observable-fns": "^0.6.1",
|
|
134
|
+
"parse-data-url": "^6.0.0",
|
|
135
|
+
"prom-client": "^15.1.3",
|
|
136
|
+
"regression": "^2.0.1",
|
|
137
|
+
"sha.js": "^2.4.12",
|
|
138
|
+
"svg-parser": "^2.0.4",
|
|
139
|
+
"systeminformation": "^5.31.14",
|
|
140
|
+
"uuid": "^14.0.1",
|
|
141
|
+
"webextension-polyfill": "^0.12.0",
|
|
142
|
+
"xml2js": "^0.6.2",
|
|
64
143
|
"zod": "^4.4.3"
|
|
65
144
|
},
|
|
66
|
-
"peerDependencies": {
|
|
67
|
-
"@ariestools/sdk": "^7.0",
|
|
68
|
-
"@bitauth/libauth": "~3.0",
|
|
69
|
-
"@noble/post-quantum": "~0.6.1",
|
|
70
|
-
"@opentelemetry/api": "^1.9",
|
|
71
|
-
"@opentelemetry/sdk-trace-base": "^2.7",
|
|
72
|
-
"@scure/base": "^2.2",
|
|
73
|
-
"@scure/bip39": "~2.2",
|
|
74
|
-
"@xylabs/geo": "^7.0",
|
|
75
|
-
"@xylabs/threads": "^7.0",
|
|
76
|
-
"@xyo-network/sdk": "~7.0",
|
|
77
|
-
"@xyo-network/sdk-protocol": "^7.0",
|
|
78
|
-
"ajv": "^8.20",
|
|
79
|
-
"async-mutex": "^0.5",
|
|
80
|
-
"base64-js": "^1.5",
|
|
81
|
-
"debug": "~4.4",
|
|
82
|
-
"es6-dynamic-template": "^2.0",
|
|
83
|
-
"ethers": "^6.16",
|
|
84
|
-
"hash-wasm": "^4.12",
|
|
85
|
-
"idb": "^8.0",
|
|
86
|
-
"lru-cache": "^11.3",
|
|
87
|
-
"observable-fns": "~0.6",
|
|
88
|
-
"zod": "^4.4"
|
|
89
|
-
},
|
|
90
145
|
"engines": {
|
|
91
146
|
"node": "^24"
|
|
92
147
|
},
|
|
93
148
|
"publishConfig": {
|
|
94
149
|
"access": "public"
|
|
95
|
-
}
|
|
150
|
+
},
|
|
151
|
+
"deprecated": "Use @xyo-network/payloadset-plugins/http-call-witness instead. Replace @xyo-network/http-call-witness with @xyo-network/payloadset-plugins/http-call-witness. This package is a compatibility shim only and will not receive further updates."
|
|
96
152
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const HttpCallSchema: "network.xyo.http.call" & {
|
|
2
|
-
readonly __schema: true;
|
|
3
|
-
};
|
|
4
|
-
export type HttpCallSchema = typeof HttpCallSchema;
|
|
5
|
-
export declare const HttpCallResultSchema: string & {
|
|
6
|
-
readonly __schema: true;
|
|
7
|
-
};
|
|
8
|
-
export type HttpCallResultSchema = typeof HttpCallResultSchema;
|
|
9
|
-
//# sourceMappingURL=Schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Payload/Schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;CAA0C,CAAA;AACrE,MAAM,MAAM,cAAc,GAAG,OAAO,cAAc,CAAA;AAElD,eAAO,MAAM,oBAAoB;;CAA6C,CAAA;AAC9E,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAA"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export declare const asHttpCall: {
|
|
2
|
-
<T>(value: T): (T & ({
|
|
3
|
-
schema: "network.xyo.http.call" & {
|
|
4
|
-
readonly __schema: true;
|
|
5
|
-
};
|
|
6
|
-
uri: string;
|
|
7
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
8
|
-
queries?: Record<string, string> | undefined;
|
|
9
|
-
verb?: "get" | "post" | undefined;
|
|
10
|
-
} | {
|
|
11
|
-
schema: "network.xyo.http.call" & {
|
|
12
|
-
readonly __schema: true;
|
|
13
|
-
};
|
|
14
|
-
params?: Record<string, string> | undefined;
|
|
15
|
-
uriTemplate?: string | undefined;
|
|
16
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
17
|
-
queries?: Record<string, string> | undefined;
|
|
18
|
-
verb?: "get" | "post" | undefined;
|
|
19
|
-
})) | undefined;
|
|
20
|
-
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & ({
|
|
21
|
-
schema: "network.xyo.http.call" & {
|
|
22
|
-
readonly __schema: true;
|
|
23
|
-
};
|
|
24
|
-
uri: string;
|
|
25
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
26
|
-
queries?: Record<string, string> | undefined;
|
|
27
|
-
verb?: "get" | "post" | undefined;
|
|
28
|
-
} | {
|
|
29
|
-
schema: "network.xyo.http.call" & {
|
|
30
|
-
readonly __schema: true;
|
|
31
|
-
};
|
|
32
|
-
params?: Record<string, string> | undefined;
|
|
33
|
-
uriTemplate?: string | undefined;
|
|
34
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
35
|
-
queries?: Record<string, string> | undefined;
|
|
36
|
-
verb?: "get" | "post" | undefined;
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=asHttpCall.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"asHttpCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/asHttpCall.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA0C,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const asHttpCallBase64Result: {
|
|
2
|
-
<T>(value: T): (T & {
|
|
3
|
-
schema: string & {
|
|
4
|
-
readonly __schema: true;
|
|
5
|
-
};
|
|
6
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
7
|
-
contentType: string;
|
|
8
|
-
data: string;
|
|
9
|
-
}) | undefined;
|
|
10
|
-
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
11
|
-
schema: string & {
|
|
12
|
-
readonly __schema: true;
|
|
13
|
-
};
|
|
14
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
15
|
-
contentType: string;
|
|
16
|
-
data: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=asHttpCallBase64Result.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"asHttpCallBase64Result.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/asHttpCallBase64Result.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;CAAkE,CAAA"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
export declare const asHttpCallResult: {
|
|
2
|
-
<T>(value: T): (T & ({
|
|
3
|
-
schema: string & {
|
|
4
|
-
readonly __schema: true;
|
|
5
|
-
};
|
|
6
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
7
|
-
contentType: string;
|
|
8
|
-
data: string;
|
|
9
|
-
} | {
|
|
10
|
-
schema: string & {
|
|
11
|
-
readonly __schema: true;
|
|
12
|
-
};
|
|
13
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
14
|
-
http?: {
|
|
15
|
-
code?: string | undefined;
|
|
16
|
-
status?: number | undefined;
|
|
17
|
-
} | undefined;
|
|
18
|
-
} | {
|
|
19
|
-
schema: string & {
|
|
20
|
-
readonly __schema: true;
|
|
21
|
-
};
|
|
22
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
23
|
-
contentType: "application/json";
|
|
24
|
-
data: import("../index.ts").HttpCallJsonResultType;
|
|
25
|
-
})) | undefined;
|
|
26
|
-
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & ({
|
|
27
|
-
schema: string & {
|
|
28
|
-
readonly __schema: true;
|
|
29
|
-
};
|
|
30
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
31
|
-
contentType: string;
|
|
32
|
-
data: string;
|
|
33
|
-
} | {
|
|
34
|
-
schema: string & {
|
|
35
|
-
readonly __schema: true;
|
|
36
|
-
};
|
|
37
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
38
|
-
http?: {
|
|
39
|
-
code?: string | undefined;
|
|
40
|
-
status?: number | undefined;
|
|
41
|
-
} | undefined;
|
|
42
|
-
} | {
|
|
43
|
-
schema: string & {
|
|
44
|
-
readonly __schema: true;
|
|
45
|
-
};
|
|
46
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
47
|
-
contentType: "application/json";
|
|
48
|
-
data: import("../index.ts").HttpCallJsonResultType;
|
|
49
|
-
});
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=asHttpCallResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"asHttpCallResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/asHttpCallResult.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAsD,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const asHttpCallXmlResult: {
|
|
2
|
-
<T>(value: T): (T & {
|
|
3
|
-
schema: string & {
|
|
4
|
-
readonly __schema: true;
|
|
5
|
-
};
|
|
6
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
7
|
-
contentType: "application/xml" | "text/xml";
|
|
8
|
-
data: string;
|
|
9
|
-
}) | undefined;
|
|
10
|
-
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
11
|
-
schema: string & {
|
|
12
|
-
readonly __schema: true;
|
|
13
|
-
};
|
|
14
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
15
|
-
contentType: "application/xml" | "text/xml";
|
|
16
|
-
data: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
//# sourceMappingURL=asHttpCallXmlResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"asHttpCallXmlResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/asHttpCallXmlResult.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;CAA4D,CAAA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const asHttpUriCall: {
|
|
2
|
-
<T>(value: T): (T & {
|
|
3
|
-
schema: "network.xyo.http.call" & {
|
|
4
|
-
readonly __schema: true;
|
|
5
|
-
};
|
|
6
|
-
uri: string;
|
|
7
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
8
|
-
queries?: Record<string, string> | undefined;
|
|
9
|
-
verb?: "get" | "post" | undefined;
|
|
10
|
-
}) | undefined;
|
|
11
|
-
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
12
|
-
schema: "network.xyo.http.call" & {
|
|
13
|
-
readonly __schema: true;
|
|
14
|
-
};
|
|
15
|
-
uri: string;
|
|
16
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
17
|
-
queries?: Record<string, string> | undefined;
|
|
18
|
-
verb?: "get" | "post" | undefined;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=asHttpUriCall.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"asHttpUriCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/asHttpUriCall.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;CAAgD,CAAA"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const asHttpUriTemplateCall: {
|
|
2
|
-
<T>(value: T): (T & {
|
|
3
|
-
schema: "network.xyo.http.call" & {
|
|
4
|
-
readonly __schema: true;
|
|
5
|
-
};
|
|
6
|
-
params?: Record<string, string> | undefined;
|
|
7
|
-
uriTemplate?: string | undefined;
|
|
8
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
9
|
-
queries?: Record<string, string> | undefined;
|
|
10
|
-
verb?: "get" | "post" | undefined;
|
|
11
|
-
}) | undefined;
|
|
12
|
-
<T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
|
|
13
|
-
schema: "network.xyo.http.call" & {
|
|
14
|
-
readonly __schema: true;
|
|
15
|
-
};
|
|
16
|
-
params?: Record<string, string> | undefined;
|
|
17
|
-
uriTemplate?: string | undefined;
|
|
18
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
19
|
-
queries?: Record<string, string> | undefined;
|
|
20
|
-
verb?: "get" | "post" | undefined;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=asHttpUriTemplateCall.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"asHttpUriTemplateCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/asHttpUriTemplateCall.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;CAAgE,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export * from './asHttpCall.ts';
|
|
2
|
-
export * from './asHttpCallBase64Result.ts';
|
|
3
|
-
export * from './asHttpCallResult.ts';
|
|
4
|
-
export * from './asHttpCallXmlResult.ts';
|
|
5
|
-
export * from './asHttpUriCall.ts';
|
|
6
|
-
export * from './asHttpUriTemplateCall.ts';
|
|
7
|
-
export * from './isHttpCall.ts';
|
|
8
|
-
export * from './isHttpCallBase64Result.ts';
|
|
9
|
-
export * from './isHttpCallErrorResult.ts';
|
|
10
|
-
export * from './isHttpCallResult.ts';
|
|
11
|
-
export * from './isHttpCallXmlResult.ts';
|
|
12
|
-
export * from './isHttpUriCall.ts';
|
|
13
|
-
export * from './isHttpUriTemplateCall.ts';
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,6BAA6B,CAAA;AAC3C,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA;AACxC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,6BAA6B,CAAA;AAC3C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA;AACxC,cAAc,oBAAoB,CAAA;AAClC,cAAc,4BAA4B,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const isHttpCall: <T>(value: T) => value is T & ({
|
|
2
|
-
schema: "network.xyo.http.call" & {
|
|
3
|
-
readonly __schema: true;
|
|
4
|
-
};
|
|
5
|
-
uri: string;
|
|
6
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
7
|
-
queries?: Record<string, string> | undefined;
|
|
8
|
-
verb?: "get" | "post" | undefined;
|
|
9
|
-
} | {
|
|
10
|
-
schema: "network.xyo.http.call" & {
|
|
11
|
-
readonly __schema: true;
|
|
12
|
-
};
|
|
13
|
-
params?: Record<string, string> | undefined;
|
|
14
|
-
uriTemplate?: string | undefined;
|
|
15
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
16
|
-
queries?: Record<string, string> | undefined;
|
|
17
|
-
verb?: "get" | "post" | undefined;
|
|
18
|
-
});
|
|
19
|
-
//# sourceMappingURL=isHttpCall.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isHttpCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/isHttpCall.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;EAA4B,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const isHttpCallBase64Result: <T>(value: T) => value is T & {
|
|
2
|
-
schema: string & {
|
|
3
|
-
readonly __schema: true;
|
|
4
|
-
};
|
|
5
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
6
|
-
contentType: string;
|
|
7
|
-
data: string;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=isHttpCallBase64Result.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isHttpCallBase64Result.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/isHttpCallBase64Result.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB;;;;;;;CAAwC,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const isHttpCallErrorResult: <T>(value: T) => value is T & {
|
|
2
|
-
schema: string & {
|
|
3
|
-
readonly __schema: true;
|
|
4
|
-
};
|
|
5
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
6
|
-
http?: {
|
|
7
|
-
code?: string | undefined;
|
|
8
|
-
status?: number | undefined;
|
|
9
|
-
} | undefined;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=isHttpCallErrorResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isHttpCallErrorResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/isHttpCallErrorResult.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB;;;;;;;;;CAA4F,CAAA"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare const isHttpCallResult: <T>(value: T) => value is T & ({
|
|
2
|
-
schema: string & {
|
|
3
|
-
readonly __schema: true;
|
|
4
|
-
};
|
|
5
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
6
|
-
contentType: string;
|
|
7
|
-
data: string;
|
|
8
|
-
} | {
|
|
9
|
-
schema: string & {
|
|
10
|
-
readonly __schema: true;
|
|
11
|
-
};
|
|
12
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
13
|
-
http?: {
|
|
14
|
-
code?: string | undefined;
|
|
15
|
-
status?: number | undefined;
|
|
16
|
-
} | undefined;
|
|
17
|
-
} | {
|
|
18
|
-
schema: string & {
|
|
19
|
-
readonly __schema: true;
|
|
20
|
-
};
|
|
21
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
22
|
-
contentType: "application/json";
|
|
23
|
-
data: import("../index.ts").HttpCallJsonResultType;
|
|
24
|
-
});
|
|
25
|
-
//# sourceMappingURL=isHttpCallResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isHttpCallResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/isHttpCallResult.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;EAAkC,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const isHttpCallXmlResult: <T>(value: T) => value is T & {
|
|
2
|
-
schema: string & {
|
|
3
|
-
readonly __schema: true;
|
|
4
|
-
};
|
|
5
|
-
call: import("@ariestools/sdk").BrandedHash;
|
|
6
|
-
contentType: "application/xml" | "text/xml";
|
|
7
|
-
data: string;
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=isHttpCallXmlResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isHttpCallXmlResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/isHttpCallXmlResult.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;;;;;CAAqC,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const isHttpUriCall: <T>(value: T) => value is T & {
|
|
2
|
-
schema: "network.xyo.http.call" & {
|
|
3
|
-
readonly __schema: true;
|
|
4
|
-
};
|
|
5
|
-
uri: string;
|
|
6
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
7
|
-
queries?: Record<string, string> | undefined;
|
|
8
|
-
verb?: "get" | "post" | undefined;
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=isHttpUriCall.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isHttpUriCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/isHttpUriCall.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;;CAA+B,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const isHttpUriTemplateCall: <T>(value: T) => value is T & {
|
|
2
|
-
schema: "network.xyo.http.call" & {
|
|
3
|
-
readonly __schema: true;
|
|
4
|
-
};
|
|
5
|
-
params?: Record<string, string> | undefined;
|
|
6
|
-
uriTemplate?: string | undefined;
|
|
7
|
-
headers?: Record<string, string | undefined> | undefined;
|
|
8
|
-
queries?: Record<string, string> | undefined;
|
|
9
|
-
verb?: "get" | "post" | undefined;
|
|
10
|
-
};
|
|
11
|
-
//# sourceMappingURL=isHttpUriTemplateCall.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isHttpUriTemplateCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/isHttpUriTemplateCall.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB;;;;;;;;;CAAkH,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Payload/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const HttpCallZod: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
3
|
-
schema: z.ZodMiniLiteral<"network.xyo.http.call" & {
|
|
4
|
-
readonly __schema: true;
|
|
5
|
-
}>;
|
|
6
|
-
uri: z.ZodMiniString<string>;
|
|
7
|
-
headers: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
8
|
-
queries: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
9
|
-
verb: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
10
|
-
get: "get";
|
|
11
|
-
post: "post";
|
|
12
|
-
}>>;
|
|
13
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
14
|
-
schema: z.ZodMiniLiteral<"network.xyo.http.call" & {
|
|
15
|
-
readonly __schema: true;
|
|
16
|
-
}>;
|
|
17
|
-
params: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
18
|
-
uriTemplate: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
19
|
-
headers: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
20
|
-
queries: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
21
|
-
verb: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
22
|
-
get: "get";
|
|
23
|
-
post: "post";
|
|
24
|
-
}>>;
|
|
25
|
-
}, z.core.$strip>]>;
|
|
26
|
-
export type HttpCall = z.infer<typeof HttpCallZod>;
|
|
27
|
-
//# sourceMappingURL=HttpCall.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HttpCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/HttpCall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAK7B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;mBAAoD,CAAA;AAE5E,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const HttpCallBase64ResultZod: z.ZodMiniObject<{
|
|
3
|
-
schema: z.ZodMiniLiteral<string & {
|
|
4
|
-
readonly __schema: true;
|
|
5
|
-
}>;
|
|
6
|
-
call: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>;
|
|
7
|
-
contentType: z.ZodMiniString<string>;
|
|
8
|
-
data: z.ZodMiniString<string>;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
export type HttpCallBase64Result = z.infer<typeof HttpCallBase64ResultZod>;
|
|
11
|
-
//# sourceMappingURL=HttpCallBase64Result.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HttpCallBase64Result.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/HttpCallBase64Result.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAI7B,eAAO,MAAM,uBAAuB;;;;;;;iBAIlC,CAAA;AAEF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const HttpCallErrorResultZod: z.ZodMiniObject<{
|
|
3
|
-
schema: z.ZodMiniLiteral<string & {
|
|
4
|
-
readonly __schema: true;
|
|
5
|
-
}>;
|
|
6
|
-
call: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@ariestools/sdk").BrandedHash, string>>;
|
|
7
|
-
http: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
8
|
-
code: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
9
|
-
status: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
|
|
10
|
-
}, z.core.$strip>>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
export type HttpCallErrorResult = z.infer<typeof HttpCallErrorResultZod>;
|
|
13
|
-
//# sourceMappingURL=HttpCallErrorResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HttpCallErrorResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/HttpCallErrorResult.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAK7B,eAAO,MAAM,sBAAsB;;;;;;;;;iBAGjC,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/mini';
|
|
2
|
-
export declare const HttpCallFieldsZod: z.ZodMiniObject<{
|
|
3
|
-
headers: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
4
|
-
queries: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniString<string>>>;
|
|
5
|
-
verb: z.ZodMiniOptional<z.ZodMiniEnum<{
|
|
6
|
-
get: "get";
|
|
7
|
-
post: "post";
|
|
8
|
-
}>>;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
export type HttpCallFields = z.infer<typeof HttpCallFieldsZod>;
|
|
11
|
-
//# sourceMappingURL=HttpCallFields.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HttpCallFields.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/HttpCallFields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAK7B,eAAO,MAAM,iBAAiB;;;;;;;iBAI5B,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA"}
|