@xyo-network/http-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.
Files changed (82) hide show
  1. package/dist/neutral/index.d.ts +176 -3
  2. package/dist/neutral/index.mjs +3 -1
  3. package/dist/neutral/index.mjs.map +1 -1
  4. package/package.json +14 -14
  5. package/src/Witness/Witness.ts +3 -1
  6. package/dist/neutral/Payload/Schema.d.ts +0 -5
  7. package/dist/neutral/Payload/Schema.d.ts.map +0 -1
  8. package/dist/neutral/Payload/identity/asHttpCall.d.ts +0 -5
  9. package/dist/neutral/Payload/identity/asHttpCall.d.ts.map +0 -1
  10. package/dist/neutral/Payload/identity/asHttpCallBase64Result.d.ts +0 -20
  11. package/dist/neutral/Payload/identity/asHttpCallBase64Result.d.ts.map +0 -1
  12. package/dist/neutral/Payload/identity/asHttpCallResult.d.ts +0 -5
  13. package/dist/neutral/Payload/identity/asHttpCallResult.d.ts.map +0 -1
  14. package/dist/neutral/Payload/identity/asHttpCallXmlResult.d.ts +0 -20
  15. package/dist/neutral/Payload/identity/asHttpCallXmlResult.d.ts.map +0 -1
  16. package/dist/neutral/Payload/identity/asHttpUriCall.d.ts +0 -35
  17. package/dist/neutral/Payload/identity/asHttpUriCall.d.ts.map +0 -1
  18. package/dist/neutral/Payload/identity/asHttpUriTemplateCall.d.ts +0 -44
  19. package/dist/neutral/Payload/identity/asHttpUriTemplateCall.d.ts.map +0 -1
  20. package/dist/neutral/Payload/identity/index.d.ts +0 -14
  21. package/dist/neutral/Payload/identity/index.d.ts.map +0 -1
  22. package/dist/neutral/Payload/identity/isHttpCall.d.ts +0 -3
  23. package/dist/neutral/Payload/identity/isHttpCall.d.ts.map +0 -1
  24. package/dist/neutral/Payload/identity/isHttpCallBase64Result.d.ts +0 -3
  25. package/dist/neutral/Payload/identity/isHttpCallBase64Result.d.ts.map +0 -1
  26. package/dist/neutral/Payload/identity/isHttpCallErrorResult.d.ts +0 -3
  27. package/dist/neutral/Payload/identity/isHttpCallErrorResult.d.ts.map +0 -1
  28. package/dist/neutral/Payload/identity/isHttpCallResult.d.ts +0 -3
  29. package/dist/neutral/Payload/identity/isHttpCallResult.d.ts.map +0 -1
  30. package/dist/neutral/Payload/identity/isHttpCallXmlResult.d.ts +0 -3
  31. package/dist/neutral/Payload/identity/isHttpCallXmlResult.d.ts.map +0 -1
  32. package/dist/neutral/Payload/identity/isHttpUriCall.d.ts +0 -3
  33. package/dist/neutral/Payload/identity/isHttpUriCall.d.ts.map +0 -1
  34. package/dist/neutral/Payload/identity/isHttpUriTemplateCall.d.ts +0 -3
  35. package/dist/neutral/Payload/identity/isHttpUriTemplateCall.d.ts.map +0 -1
  36. package/dist/neutral/Payload/index.d.ts +0 -4
  37. package/dist/neutral/Payload/index.d.ts.map +0 -1
  38. package/dist/neutral/Payload/types/HttpCall.d.ts +0 -4
  39. package/dist/neutral/Payload/types/HttpCall.d.ts.map +0 -1
  40. package/dist/neutral/Payload/types/HttpCallBase64Result.d.ts +0 -11
  41. package/dist/neutral/Payload/types/HttpCallBase64Result.d.ts.map +0 -1
  42. package/dist/neutral/Payload/types/HttpCallErrorResult.d.ts +0 -9
  43. package/dist/neutral/Payload/types/HttpCallErrorResult.d.ts.map +0 -1
  44. package/dist/neutral/Payload/types/HttpCallFields.d.ts +0 -8
  45. package/dist/neutral/Payload/types/HttpCallFields.d.ts.map +0 -1
  46. package/dist/neutral/Payload/types/HttpCallHtmlResult.d.ts +0 -9
  47. package/dist/neutral/Payload/types/HttpCallHtmlResult.d.ts.map +0 -1
  48. package/dist/neutral/Payload/types/HttpCallJsonResult.d.ts +0 -103
  49. package/dist/neutral/Payload/types/HttpCallJsonResult.d.ts.map +0 -1
  50. package/dist/neutral/Payload/types/HttpCallResult.d.ts +0 -8
  51. package/dist/neutral/Payload/types/HttpCallResult.d.ts.map +0 -1
  52. package/dist/neutral/Payload/types/HttpCallXmlResult.d.ts +0 -9
  53. package/dist/neutral/Payload/types/HttpCallXmlResult.d.ts.map +0 -1
  54. package/dist/neutral/Payload/types/HttpMeta.d.ts +0 -5
  55. package/dist/neutral/Payload/types/HttpMeta.d.ts.map +0 -1
  56. package/dist/neutral/Payload/types/HttpUriCall.d.ts +0 -7
  57. package/dist/neutral/Payload/types/HttpUriCall.d.ts.map +0 -1
  58. package/dist/neutral/Payload/types/HttpUriTemplateCall.d.ts +0 -8
  59. package/dist/neutral/Payload/types/HttpUriTemplateCall.d.ts.map +0 -1
  60. package/dist/neutral/Payload/types/MimeTypes.d.ts +0 -2
  61. package/dist/neutral/Payload/types/MimeTypes.d.ts.map +0 -1
  62. package/dist/neutral/Payload/types/Queries.d.ts +0 -2
  63. package/dist/neutral/Payload/types/Queries.d.ts.map +0 -1
  64. package/dist/neutral/Payload/types/Verb.d.ts +0 -2
  65. package/dist/neutral/Payload/types/Verb.d.ts.map +0 -1
  66. package/dist/neutral/Payload/types/index.d.ts +0 -15
  67. package/dist/neutral/Payload/types/index.d.ts.map +0 -1
  68. package/dist/neutral/Witness/Config.d.ts +0 -314
  69. package/dist/neutral/Witness/Config.d.ts.map +0 -1
  70. package/dist/neutral/Witness/Params.d.ts +0 -7
  71. package/dist/neutral/Witness/Params.d.ts.map +0 -1
  72. package/dist/neutral/Witness/Schema.d.ts +0 -3
  73. package/dist/neutral/Witness/Schema.d.ts.map +0 -1
  74. package/dist/neutral/Witness/Witness.d.ts +0 -16
  75. package/dist/neutral/Witness/Witness.d.ts.map +0 -1
  76. package/dist/neutral/Witness/index.d.ts +0 -5
  77. package/dist/neutral/Witness/index.d.ts.map +0 -1
  78. package/dist/neutral/index.d.ts.map +0 -1
  79. package/dist/neutral/lib/checkIpfsUrl.d.ts +0 -8
  80. package/dist/neutral/lib/checkIpfsUrl.d.ts.map +0 -1
  81. package/dist/neutral/lib/index.d.ts +0 -2
  82. package/dist/neutral/lib/index.d.ts.map +0 -1
@@ -1,3 +0,0 @@
1
- import type { HttpCallXmlResult } from '../types/index.ts';
2
- export declare const isHttpCallXmlResult: (x?: unknown | null) => x is HttpCallXmlResult;
3
- //# sourceMappingURL=isHttpCallXmlResult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isHttpCallXmlResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/isHttpCallXmlResult.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAE1E,eAAO,MAAM,mBAAmB,OAAQ,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,iBAE7D,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { HttpUriCall } from '../types/index.ts';
2
- export declare const isHttpUriCall: (value?: unknown) => value is HttpUriCall;
3
- //# sourceMappingURL=isHttpUriCall.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isHttpUriCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/isHttpUriCall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAGpD,eAAO,MAAM,aAAa,WAAY,OAAO,KAAG,KAAK,IAAI,WAAgE,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { HttpUriTemplateCall } from '../types/index.ts';
2
- export declare const isHttpUriTemplateCall: (value?: unknown) => value is HttpUriTemplateCall;
3
- //# sourceMappingURL=isHttpUriTemplateCall.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"isHttpUriTemplateCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/identity/isHttpUriTemplateCall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAG5D,eAAO,MAAM,qBAAqB,WAAY,OAAO,KAAG,KAAK,IAAI,mBAC6C,CAAA"}
@@ -1,4 +0,0 @@
1
- export * from './identity/index.ts';
2
- export * from './Schema.ts';
3
- export * from './types/index.ts';
4
- //# sourceMappingURL=index.d.ts.map
@@ -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,4 +0,0 @@
1
- import type { HttpUriCall } from './HttpUriCall.ts';
2
- import type { HttpUriTemplateCall } from './HttpUriTemplateCall.ts';
3
- export type HttpCall = HttpUriCall | HttpUriTemplateCall;
4
- //# 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,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AAEnE,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG,mBAAmB,CAAA"}
@@ -1,11 +0,0 @@
1
- import type { Hash } from '@xylabs/hex';
2
- import type { Payload } from '@xyo-network/payload-model';
3
- import type { HttpCallResultSchema } from '../Schema.ts';
4
- import type { HttpCallJsonResult } from './HttpCallJsonResult.ts';
5
- import type { HttpCallXmlResult } from './HttpCallXmlResult.ts';
6
- export type HttpCallBase64Result = Payload<{
7
- call: Hash;
8
- contentType: Exclude<Exclude<string, HttpCallJsonResult['contentType']>, HttpCallXmlResult['contentType']>;
9
- data: string;
10
- }, HttpCallResultSchema>;
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":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE/D,MAAM,MAAM,oBAAoB,GAAG,OAAO,CACxC;IACE,IAAI,EAAE,IAAI,CAAA;IACV,WAAW,EAAE,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,kBAAkB,CAAC,aAAa,CAAC,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC,CAAA;IAC1G,IAAI,EAAE,MAAM,CAAA;CACb,EACD,oBAAoB,CACrB,CAAA"}
@@ -1,9 +0,0 @@
1
- import type { Hash } from '@xylabs/hex';
2
- import type { Payload } from '@xyo-network/payload-model';
3
- import type { HttpCallResultSchema } from '../Schema.ts';
4
- import type { HttpMeta } from './HttpMeta.ts';
5
- export type HttpCallErrorResult = Payload<{
6
- call: Hash;
7
- http?: HttpMeta;
8
- }, HttpCallResultSchema>;
9
- //# sourceMappingURL=HttpCallErrorResult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpCallErrorResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/HttpCallErrorResult.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,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,MAAM,mBAAmB,GAAG,OAAO,CACvC;IACE,IAAI,EAAE,IAAI,CAAA;IACV,IAAI,CAAC,EAAE,QAAQ,CAAA;CAChB,EACD,oBAAoB,CACrB,CAAA"}
@@ -1,8 +0,0 @@
1
- import type { Queries } from './Queries.ts';
2
- import type { Verb } from './Verb.ts';
3
- export interface HttpCallFields {
4
- headers?: Record<string, string | undefined>;
5
- queries?: Queries;
6
- verb?: Verb;
7
- }
8
- //# 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,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAErC,MAAM,WAAW,cAAc;IAC7B,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,9 +0,0 @@
1
- import type { Hash } from '@xylabs/hex';
2
- import type { Payload } from '@xyo-network/payload-model';
3
- import type { HttpCallResultSchema } from '../Schema.ts';
4
- export type HttpCallHtmlResult = Payload<{
5
- call: Hash;
6
- contentType: 'text/html';
7
- data: string;
8
- }, HttpCallResultSchema>;
9
- //# sourceMappingURL=HttpCallHtmlResult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpCallHtmlResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/HttpCallHtmlResult.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,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAExD,MAAM,MAAM,kBAAkB,GAAG,OAAO,CACtC;IACE,IAAI,EAAE,IAAI,CAAA;IACV,WAAW,EAAE,WAAW,CAAA;IACxB,IAAI,EAAE,MAAM,CAAA;CACb,EACD,oBAAoB,CACrB,CAAA"}
@@ -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 { HttpCallResultSchema } from '../Schema.ts';
5
- export type HttpCallJsonResultType = JsonArray | JsonObject;
6
- export type HttpCallJsonResult<T extends HttpCallJsonResultType = HttpCallJsonResultType> = Payload<{
7
- call: Hash;
8
- contentType: 'application/json';
9
- data: T;
10
- }, HttpCallResultSchema>;
11
- export declare const isHttpCallJsonResult: <T extends HttpCallJsonResultType = HttpCallJsonResultType>(x?: unknown | null) => x is HttpCallJsonResult<T>;
12
- export declare const asHttpCallJsonResult: {
13
- <TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
14
- schema: "network.xyo.http.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.http.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.http.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=HttpCallJsonResult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpCallJsonResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/HttpCallJsonResult.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,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAGnD,MAAM,MAAM,sBAAsB,GAAG,SAAS,GAAG,UAAU,CAAA;AAE3D,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,sBAAsB,GAAG,sBAAsB,IAAI,OAAO,CACjG;IACE,IAAI,EAAE,IAAI,CAAA;IACV,WAAW,EAAE,kBAAkB,CAAA;IAC/B,IAAI,EAAE,CAAC,CAAA;CACR,EACD,oBAAoB,CACrB,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,sBAAsB,+BAA+B,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,kBAAkB,CAAC,CAAC,CAE7I,CAAA;AACD,eAAO,MAAM,oBAAoB;;;cAVvB,IAAI;qBACG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVQ,qDAAiB,iCAEnC,gBAAoB;;;cAOnC,IAAI;qBACG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;sBALtB,qDAAiB;;cAIpB,IAAI;qBACG,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;yBAH+B,gBAAmB;CAYL,CAAA"}
@@ -1,8 +0,0 @@
1
- import type { JsonArray, JsonObject } from '@xylabs/object';
2
- import type { HttpCallBase64Result } from './HttpCallBase64Result.ts';
3
- import type { HttpCallErrorResult } from './HttpCallErrorResult.ts';
4
- import type { HttpCallJsonResult } from './HttpCallJsonResult.ts';
5
- type NewType = JsonObject;
6
- export type HttpCallResult<TJson extends JsonArray | JsonObject = JsonArray | NewType> = HttpCallBase64Result | HttpCallJsonResult<TJson> | HttpCallErrorResult;
7
- export {};
8
- //# sourceMappingURL=HttpCallResult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpCallResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/HttpCallResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAE3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAEjE,KAAK,OAAO,GAAG,UAAU,CAAA;AAEzB,MAAM,MAAM,cAAc,CAAC,KAAK,SAAS,SAAS,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,IACjF,oBAAoB,GACpB,kBAAkB,CAAC,KAAK,CAAC,GACzB,mBAAmB,CAAA"}
@@ -1,9 +0,0 @@
1
- import type { Hash } from '@xylabs/hex';
2
- import type { Payload } from '@xyo-network/payload-model';
3
- import type { HttpCallResultSchema } from '../Schema.ts';
4
- export type HttpCallXmlResult = Payload<{
5
- call: Hash;
6
- contentType: 'application/xml' | 'text/xml';
7
- data: string;
8
- }, HttpCallResultSchema>;
9
- //# sourceMappingURL=HttpCallXmlResult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpCallXmlResult.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/HttpCallXmlResult.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,oBAAoB,EAAE,MAAM,cAAc,CAAA;AAExD,MAAM,MAAM,iBAAiB,GAAG,OAAO,CACrC;IACE,IAAI,EAAE,IAAI,CAAA;IACV,WAAW,EAAE,iBAAiB,GAAG,UAAU,CAAA;IAC3C,IAAI,EAAE,MAAM,CAAA;CACb,EACD,oBAAoB,CACrB,CAAA"}
@@ -1,5 +0,0 @@
1
- export interface HttpMeta {
2
- code?: string;
3
- status?: number;
4
- }
5
- //# sourceMappingURL=HttpMeta.d.ts.map
@@ -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,7 +0,0 @@
1
- import type { Payload } from '@xyo-network/payload-model';
2
- import type { HttpCallSchema } from '../Schema.ts';
3
- import type { HttpCallFields } from './HttpCallFields.ts';
4
- export type HttpUriCall = Payload<HttpCallFields & {
5
- uri: string;
6
- }, HttpCallSchema>;
7
- //# sourceMappingURL=HttpUriCall.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpUriCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/HttpUriCall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEzD,MAAM,MAAM,WAAW,GAAG,OAAO,CAC/B,cAAc,GAAG;IACf,GAAG,EAAE,MAAM,CAAA;CACZ,EACD,cAAc,CACf,CAAA"}
@@ -1,8 +0,0 @@
1
- import type { Payload } from '@xyo-network/payload-model';
2
- import type { HttpCallSchema } from '../Schema.ts';
3
- import type { HttpCallFields } from './HttpCallFields.ts';
4
- export type HttpUriTemplateCall = Payload<HttpCallFields & {
5
- params?: Record<string, string>;
6
- uriTemplate?: string;
7
- }, HttpCallSchema>;
8
- //# sourceMappingURL=HttpUriTemplateCall.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HttpUriTemplateCall.d.ts","sourceRoot":"","sources":["../../../../src/Payload/types/HttpUriTemplateCall.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEzD,MAAM,MAAM,mBAAmB,GAAG,OAAO,CACvC,cAAc,GAAG;IACf,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,EACD,cAAc,CACf,CAAA"}
@@ -1,2 +0,0 @@
1
- export type MimeTypes = 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/xhtml+xml' | 'application/xml' | 'image/gif' | 'image/jpeg' | 'image/png' | 'text/html' | 'text/plain' | 'text/xml';
2
- //# sourceMappingURL=MimeTypes.d.ts.map
@@ -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,2 +0,0 @@
1
- export type Queries = Record<string, string>;
2
- //# sourceMappingURL=Queries.d.ts.map
@@ -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,2 +0,0 @@
1
- export type Verb = 'get' | 'post';
2
- //# sourceMappingURL=Verb.d.ts.map
@@ -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,15 +0,0 @@
1
- export * from './HttpCall.ts';
2
- export * from './HttpCallBase64Result.ts';
3
- export * from './HttpCallErrorResult.ts';
4
- export * from './HttpCallFields.ts';
5
- export * from './HttpCallHtmlResult.ts';
6
- export * from './HttpCallJsonResult.ts';
7
- export * from './HttpCallResult.ts';
8
- export * from './HttpCallXmlResult.ts';
9
- export * from './HttpMeta.ts';
10
- export * from './HttpUriCall.ts';
11
- export * from './HttpUriTemplateCall.ts';
12
- export * from './MimeTypes.ts';
13
- export * from './Queries.ts';
14
- export * from './Verb.ts';
15
- //# 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,eAAe,CAAA;AAC7B,cAAc,2BAA2B,CAAA;AACzC,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AACtC,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA"}