@xyo-network/api-call-witness 3.4.0 → 3.4.2
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 +170 -3
- package/dist/neutral/index.mjs +2 -2
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +13 -13
- package/src/Witness/Witness.ts +2 -2
- package/dist/neutral/Payload/Schema.d.ts +0 -5
- package/dist/neutral/Payload/Schema.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/asApiCall.d.ts +0 -5
- package/dist/neutral/Payload/identity/asApiCall.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/asApiCallBase64Result.d.ts +0 -20
- package/dist/neutral/Payload/identity/asApiCallBase64Result.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/asApiCallResult.d.ts +0 -5
- package/dist/neutral/Payload/identity/asApiCallResult.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/asApiCallXmlResult.d.ts +0 -20
- package/dist/neutral/Payload/identity/asApiCallXmlResult.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/asApiUriCall.d.ts +0 -35
- package/dist/neutral/Payload/identity/asApiUriCall.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/asApiUriTemplateCall.d.ts +0 -44
- package/dist/neutral/Payload/identity/asApiUriTemplateCall.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/isApiCall.d.ts +0 -3
- package/dist/neutral/Payload/identity/isApiCall.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/isApiCallBase64Result.d.ts +0 -3
- package/dist/neutral/Payload/identity/isApiCallBase64Result.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/isApiCallErrorResult.d.ts +0 -3
- package/dist/neutral/Payload/identity/isApiCallErrorResult.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/isApiCallResult.d.ts +0 -3
- package/dist/neutral/Payload/identity/isApiCallResult.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/isApiCallXmlResult.d.ts +0 -3
- package/dist/neutral/Payload/identity/isApiCallXmlResult.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/isApiUriCall.d.ts +0 -3
- package/dist/neutral/Payload/identity/isApiUriCall.d.ts.map +0 -1
- package/dist/neutral/Payload/identity/isApiUriTemplateCall.d.ts +0 -3
- package/dist/neutral/Payload/identity/isApiUriTemplateCall.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/ApiCall.d.ts +0 -4
- package/dist/neutral/Payload/types/ApiCall.d.ts.map +0 -1
- package/dist/neutral/Payload/types/ApiCallBase64Result.d.ts +0 -11
- package/dist/neutral/Payload/types/ApiCallBase64Result.d.ts.map +0 -1
- package/dist/neutral/Payload/types/ApiCallErrorResult.d.ts +0 -9
- package/dist/neutral/Payload/types/ApiCallErrorResult.d.ts.map +0 -1
- package/dist/neutral/Payload/types/ApiCallFields.d.ts +0 -8
- package/dist/neutral/Payload/types/ApiCallFields.d.ts.map +0 -1
- package/dist/neutral/Payload/types/ApiCallJsonResult.d.ts +0 -103
- package/dist/neutral/Payload/types/ApiCallJsonResult.d.ts.map +0 -1
- package/dist/neutral/Payload/types/ApiCallResult.d.ts +0 -8
- package/dist/neutral/Payload/types/ApiCallResult.d.ts.map +0 -1
- package/dist/neutral/Payload/types/ApiCallXmlResult.d.ts +0 -9
- package/dist/neutral/Payload/types/ApiCallXmlResult.d.ts.map +0 -1
- package/dist/neutral/Payload/types/ApiUriCall.d.ts +0 -7
- package/dist/neutral/Payload/types/ApiUriCall.d.ts.map +0 -1
- package/dist/neutral/Payload/types/ApiUriTemplateCall.d.ts +0 -8
- package/dist/neutral/Payload/types/ApiUriTemplateCall.d.ts.map +0 -1
- package/dist/neutral/Payload/types/HttpMeta.d.ts +0 -5
- package/dist/neutral/Payload/types/HttpMeta.d.ts.map +0 -1
- package/dist/neutral/Payload/types/MimeTypes.d.ts +0 -2
- package/dist/neutral/Payload/types/MimeTypes.d.ts.map +0 -1
- package/dist/neutral/Payload/types/Queries.d.ts +0 -2
- package/dist/neutral/Payload/types/Queries.d.ts.map +0 -1
- package/dist/neutral/Payload/types/Verb.d.ts +0 -2
- package/dist/neutral/Payload/types/Verb.d.ts.map +0 -1
- package/dist/neutral/Payload/types/index.d.ts +0 -14
- package/dist/neutral/Payload/types/index.d.ts.map +0 -1
- package/dist/neutral/Witness/Config.d.ts +0 -314
- 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 -3
- 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/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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isApiCallXmlResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/isApiCallXmlResult.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAiB,gBAAgB,EAAE,MAAM,mBAAmB,CAAA;AAExE,eAAO,MAAM,kBAAkB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,gBAE5D,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isApiUriCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/isApiUriCall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAG1D,eAAO,MAAM,mBAAmB,WAAY,OAAO,KAAG,KAAK,IAAI,iBAAkF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isApiUriTemplateCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/isApiUriTemplateCall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAGlE,eAAO,MAAM,2BAA2B,WAAY,OAAO,KAAG,KAAK,IAAI,yBACyD,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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/ApiCall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAA;AAExE,MAAM,MAAM,cAAc,GAAG,iBAAiB,GAAG,yBAAyB,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/hex';
|
|
2
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
3
|
-
import type { ApiCallResultSchema } from '../Schema.ts';
|
|
4
|
-
import type { ApiCallJsonResult } from './ApiCallJsonResult.ts';
|
|
5
|
-
import type { ApiCallXmlResult } from './ApiCallXmlResult.ts';
|
|
6
|
-
export type ApiCallBase64Result = Payload<{
|
|
7
|
-
call: Hash;
|
|
8
|
-
contentType: Exclude<Exclude<string, ApiCallJsonResult['contentType']>, ApiCallXmlResult['contentType']>;
|
|
9
|
-
data: string;
|
|
10
|
-
}, ApiCallResultSchema>;
|
|
11
|
-
//# sourceMappingURL=ApiCallBase64Result.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiCallBase64Result.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/ApiCallBase64Result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAE7D,MAAM,MAAM,mBAAmB,GAAG,OAAO,CACvC;IACE,IAAI,EAAE,IAAI,CAAA;IACV,WAAW,EAAE,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAA;IACxG,IAAI,EAAE,MAAM,CAAA;CACb,EACD,mBAAmB,CACpB,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/hex';
|
|
2
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
3
|
-
import type { ApiCallResultSchema } from '../Schema.ts';
|
|
4
|
-
import type { HttpMeta } from './HttpMeta.ts';
|
|
5
|
-
export type ApiCallErrorResult = Payload<{
|
|
6
|
-
call: Hash;
|
|
7
|
-
http?: HttpMeta;
|
|
8
|
-
}, ApiCallResultSchema>;
|
|
9
|
-
//# sourceMappingURL=ApiCallErrorResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiCallErrorResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/ApiCallErrorResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,MAAM,kBAAkB,GAAG,OAAO,CACtC;IACE,IAAI,EAAE,IAAI,CAAA;IACV,IAAI,CAAC,EAAE,QAAQ,CAAA;CAChB,EACD,mBAAmB,CACpB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiCallFields.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/ApiCallFields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAErC,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAA;IAC5C,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI,CAAA;CACZ"}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/hex';
|
|
2
|
-
import type { JsonArray, JsonObject } from '@xylabs/object';
|
|
3
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
4
|
-
import { ApiCallResultSchema } from '../Schema.ts';
|
|
5
|
-
export type ApiCallJsonResultType = JsonArray | JsonObject;
|
|
6
|
-
export type ApiCallJsonResult<T extends ApiCallJsonResultType = ApiCallJsonResultType> = Payload<{
|
|
7
|
-
call: Hash;
|
|
8
|
-
contentType: 'application/json';
|
|
9
|
-
data: T;
|
|
10
|
-
}, ApiCallResultSchema>;
|
|
11
|
-
export declare const isApiCallJsonResult: <T extends ApiCallJsonResultType = ApiCallJsonResultType>(x?: unknown | null) => x is ApiCallJsonResult<T>;
|
|
12
|
-
export declare const asApiCallJsonResult: {
|
|
13
|
-
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
14
|
-
schema: "network.xyo.api.call.result";
|
|
15
|
-
call: Hash;
|
|
16
|
-
contentType: "application/json";
|
|
17
|
-
data: {
|
|
18
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
19
|
-
} | (string | number | boolean | {
|
|
20
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
21
|
-
} | (string | number | boolean | {
|
|
22
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
23
|
-
} | (string | number | boolean | {
|
|
24
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
25
|
-
} | (string | number | boolean | {
|
|
26
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
27
|
-
} | (string | number | boolean | {
|
|
28
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
29
|
-
} | (string | number | boolean | {
|
|
30
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
31
|
-
} | (string | number | boolean | {
|
|
32
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null;
|
|
33
|
-
} | (string | number | boolean | {
|
|
34
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null;
|
|
35
|
-
} | (string | number | boolean | {
|
|
36
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null;
|
|
37
|
-
} | (string | number | boolean | {
|
|
38
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null;
|
|
39
|
-
} | (string | number | boolean | {
|
|
40
|
-
[x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
41
|
-
} | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[];
|
|
42
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
43
|
-
<TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
44
|
-
schema: "network.xyo.api.call.result";
|
|
45
|
-
call: Hash;
|
|
46
|
-
contentType: "application/json";
|
|
47
|
-
data: {
|
|
48
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
49
|
-
} | (string | number | boolean | {
|
|
50
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
51
|
-
} | (string | number | boolean | {
|
|
52
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
53
|
-
} | (string | number | boolean | {
|
|
54
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
55
|
-
} | (string | number | boolean | {
|
|
56
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
57
|
-
} | (string | number | boolean | {
|
|
58
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
59
|
-
} | (string | number | boolean | {
|
|
60
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
61
|
-
} | (string | number | boolean | {
|
|
62
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null;
|
|
63
|
-
} | (string | number | boolean | {
|
|
64
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null;
|
|
65
|
-
} | (string | number | boolean | {
|
|
66
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null;
|
|
67
|
-
} | (string | number | boolean | {
|
|
68
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null;
|
|
69
|
-
} | (string | number | boolean | {
|
|
70
|
-
[x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
71
|
-
} | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[];
|
|
72
|
-
}>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{
|
|
73
|
-
schema: "network.xyo.api.call.result";
|
|
74
|
-
call: Hash;
|
|
75
|
-
contentType: "application/json";
|
|
76
|
-
data: {
|
|
77
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
78
|
-
} | (string | number | boolean | {
|
|
79
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
80
|
-
} | (string | number | boolean | {
|
|
81
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
82
|
-
} | (string | number | boolean | {
|
|
83
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
84
|
-
} | (string | number | boolean | {
|
|
85
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
86
|
-
} | (string | number | boolean | {
|
|
87
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
88
|
-
} | (string | number | boolean | {
|
|
89
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null;
|
|
90
|
-
} | (string | number | boolean | {
|
|
91
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null;
|
|
92
|
-
} | (string | number | boolean | {
|
|
93
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null)[] | null;
|
|
94
|
-
} | (string | number | boolean | {
|
|
95
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null)[] | null;
|
|
96
|
-
} | (string | number | boolean | {
|
|
97
|
-
[x: string]: string | number | boolean | /*elided*/ any | (string | number | boolean | /*elided*/ any | /*elided*/ any | null)[] | null;
|
|
98
|
-
} | (string | number | boolean | {
|
|
99
|
-
[x: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
100
|
-
} | /*elided*/ any | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[] | null)[];
|
|
101
|
-
}>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
102
|
-
};
|
|
103
|
-
//# sourceMappingURL=ApiCallJsonResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiCallJsonResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/ApiCallJsonResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAE3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAGlD,MAAM,MAAM,qBAAqB,GAAG,SAAS,GAAG,UAAU,CAAA;AAE1D,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,qBAAqB,GAAG,qBAAqB,IAAI,OAAO,CAC9F;IACE,IAAI,EAAE,IAAI,CAAA;IACV,WAAW,EAAE,kBAAkB,CAAA;IAC/B,IAAI,EAAE,CAAC,CAAA;CACR,EACD,mBAAmB,CACpB,CAAA;AAED,eAAO,MAAM,mBAAmB,GAAI,CAAC,SAAS,qBAAqB,8BAA8B,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,iBAAiB,CAAC,CAAC,CAEzI,CAAA;AACD,eAAO,MAAM,mBAAmB;;;cAVtB,IAAI;qBACG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVQ,qDAAiB,iCAEnC,gBAAoB;;;cAOnC,IAAI;qBACG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;sBALnB,qDAAiB;;cAIvB,IAAI;qBACG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;yBAHkC,gBAAoB;CAYX,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { JsonArray, JsonObject } from '@xylabs/object';
|
|
2
|
-
import type { ApiCallBase64Result } from './ApiCallBase64Result.ts';
|
|
3
|
-
import type { ApiCallErrorResult } from './ApiCallErrorResult.ts';
|
|
4
|
-
import type { ApiCallJsonResult } from './ApiCallJsonResult.ts';
|
|
5
|
-
type NewType = JsonObject;
|
|
6
|
-
export type ApiCallResult<TJson extends JsonArray | JsonObject = JsonArray | NewType> = ApiCallBase64Result | ApiCallJsonResult<TJson> | ApiCallErrorResult;
|
|
7
|
-
export {};
|
|
8
|
-
//# sourceMappingURL=ApiCallResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiCallResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/ApiCallResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAE3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE/D,KAAK,OAAO,GAAG,UAAU,CAAA;AAEzB,MAAM,MAAM,aAAa,CAAC,KAAK,SAAS,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,IAChF,mBAAmB,GACnB,iBAAiB,CAAC,KAAK,CAAC,GACxB,kBAAkB,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Hash } from '@xylabs/hex';
|
|
2
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
3
|
-
import type { ApiCallResultSchema } from '../Schema.ts';
|
|
4
|
-
export type ApiCallXmlResult = Payload<{
|
|
5
|
-
call: Hash;
|
|
6
|
-
contentType: 'application/xml' | 'text/xml';
|
|
7
|
-
data: string;
|
|
8
|
-
}, ApiCallResultSchema>;
|
|
9
|
-
//# sourceMappingURL=ApiCallXmlResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiCallXmlResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/ApiCallXmlResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAEvD,MAAM,MAAM,gBAAgB,GAAG,OAAO,CACpC;IACE,IAAI,EAAE,IAAI,CAAA;IACV,WAAW,EAAE,iBAAiB,GAAG,UAAU,CAAA;IAC3C,IAAI,EAAE,MAAM,CAAA;CACb,EACD,mBAAmB,CACpB,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
2
|
-
import type { ApiCallSchema } from '../Schema.ts';
|
|
3
|
-
import type { ApiCallFields } from './ApiCallFields.ts';
|
|
4
|
-
export type ApiUriCallPayload = Payload<ApiCallFields & {
|
|
5
|
-
uri: string;
|
|
6
|
-
}, ApiCallSchema>;
|
|
7
|
-
//# sourceMappingURL=ApiUriCall.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiUriCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/ApiUriCall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEvD,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACrC,aAAa,GAAG;IACd,GAAG,EAAE,MAAM,CAAA;CACZ,EACD,aAAa,CACd,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Payload } from '@xyo-network/payload-model';
|
|
2
|
-
import type { ApiCallSchema } from '../Schema.ts';
|
|
3
|
-
import type { ApiCallFields } from './ApiCallFields.ts';
|
|
4
|
-
export type ApiUriTemplateCallPayload = Payload<ApiCallFields & {
|
|
5
|
-
params?: Record<string, string>;
|
|
6
|
-
uriTemplate?: string;
|
|
7
|
-
}, ApiCallSchema>;
|
|
8
|
-
//# sourceMappingURL=ApiUriTemplateCall.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiUriTemplateCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/ApiUriTemplateCall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAEvD,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAC7C,aAAa,GAAG;IACd,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,EACD,aAAa,CACd,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HttpMeta.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/HttpMeta.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MimeTypes.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/MimeTypes.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,SAAS,GACjB,kBAAkB,GAClB,0BAA0B,GAC1B,iBAAiB,GACjB,uBAAuB,GACvB,iBAAiB,GACjB,WAAW,GACX,YAAY,GACZ,WAAW,GACX,WAAW,GACX,YAAY,GACZ,UAAU,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Queries.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/Queries.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Verb.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/Verb.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,IAAI,GAAG,KAAK,GAAG,MAAM,CAAA"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export * from './ApiCall.ts';
|
|
2
|
-
export * from './ApiCallBase64Result.ts';
|
|
3
|
-
export * from './ApiCallErrorResult.ts';
|
|
4
|
-
export * from './ApiCallFields.ts';
|
|
5
|
-
export * from './ApiCallJsonResult.ts';
|
|
6
|
-
export * from './ApiCallResult.ts';
|
|
7
|
-
export * from './ApiCallXmlResult.ts';
|
|
8
|
-
export * from './ApiUriCall.ts';
|
|
9
|
-
export * from './ApiUriTemplateCall.ts';
|
|
10
|
-
export * from './HttpMeta.ts';
|
|
11
|
-
export * from './MimeTypes.ts';
|
|
12
|
-
export * from './Queries.ts';
|
|
13
|
-
export * from './Verb.ts';
|
|
14
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,0BAA0B,CAAA;AACxC,cAAc,yBAAyB,CAAA;AACvC,cAAc,oBAAoB,CAAA;AAClC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,yBAAyB,CAAA;AACvC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA"}
|