@xyo-network/http-call-witness 3.4.0 → 3.4.1

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 +644 -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,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"}
@@ -1,314 +0,0 @@
1
- import type { WitnessConfig } from '@xyo-network/witness-model';
2
- import type { HttpCall, HttpUriCall, HttpUriTemplateCall, MimeTypes } from '../Payload/index.ts';
3
- import { HttpCallWitnessConfigSchema } from './Schema.ts';
4
- export type HttpCallWitnessConfigBase = WitnessConfig<{
5
- accept?: MimeTypes;
6
- headers?: Record<string, string | undefined>;
7
- queries?: HttpCall['queries'];
8
- schema: HttpCallWitnessConfigSchema;
9
- timeout?: number;
10
- verb?: HttpCall['verb'];
11
- }>;
12
- export type HttpUriCallWitnessConfig = WitnessConfig<HttpCallWitnessConfigBase & {
13
- uri: HttpUriCall['uri'];
14
- }>;
15
- export type HttpUriTemplateCallWitnessConfig = WitnessConfig<HttpCallWitnessConfigBase & {
16
- params?: Record<string, string>;
17
- uriTemplate: HttpUriTemplateCall['uriTemplate'];
18
- }>;
19
- export type HttpCallWitnessConfig = HttpUriCallWitnessConfig | HttpUriTemplateCallWitnessConfig | HttpCallWitnessConfigBase;
20
- export declare const isHttpCallWitnessConfig: (x?: unknown | null) => x is HttpCallWitnessConfig;
21
- export declare const asHttpCallWitnessConfig: {
22
- <TType extends HttpCallWitnessConfig>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
23
- <TType extends HttpCallWitnessConfig>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<HttpCallWitnessConfig>, config?: import("@xylabs/object").TypeCheckConfig): TType;
24
- };
25
- export declare const isHttpUriCallWitnessConfig: (value?: unknown) => value is HttpUriCallWitnessConfig;
26
- export declare const asHttpUriCallWitnessConfig: {
27
- <TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
28
- schema: "network.xyo.http.call.witness.config";
29
- headers?: {
30
- [x: string]: string | undefined;
31
- } | undefined;
32
- queries?: {
33
- [x: string]: string;
34
- } | undefined;
35
- verb?: import("../Payload/index.ts").Verb | undefined;
36
- uri: HttpUriCall["uri"];
37
- readonly archiving?: {
38
- readonly archivists?: string[] | undefined;
39
- readonly queries?: string[] | undefined;
40
- } | undefined;
41
- readonly allowedQueries?: string[] | undefined;
42
- readonly archivist?: import(".store/@xyo-network-module-model-npm-3.8.0-0abf9408c3/package").ModuleIdentifier | undefined;
43
- readonly consoleLogger?: import(".store/@xylabs-logger-npm-4.5.1-a411051254/package").LogLevel | undefined;
44
- readonly labels?: {
45
- [x: string]: string | undefined;
46
- } | undefined;
47
- readonly name?: import(".store/@xyo-network-module-model-npm-3.8.0-0abf9408c3/package").ModuleName | undefined;
48
- readonly paging?: {
49
- [x: string]: {
50
- size?: number | undefined;
51
- };
52
- } | undefined;
53
- readonly retry?: {
54
- backoff?: number | undefined;
55
- interval?: number | undefined;
56
- retries?: number | undefined;
57
- } | undefined;
58
- readonly security?: {
59
- readonly allowAnonymous?: boolean | undefined;
60
- readonly allowed?: {
61
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
62
- } | undefined;
63
- readonly disallowed?: {
64
- [x: string]: Lowercase<string>[];
65
- } | undefined;
66
- } | undefined;
67
- readonly sign?: boolean | undefined;
68
- readonly storeQueries?: boolean | undefined;
69
- readonly timestamp?: boolean | undefined;
70
- accept?: MimeTypes | undefined;
71
- timeout?: number | undefined;
72
- }>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
73
- <TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
74
- schema: "network.xyo.http.call.witness.config";
75
- headers?: {
76
- [x: string]: string | undefined;
77
- } | undefined;
78
- queries?: {
79
- [x: string]: string;
80
- } | undefined;
81
- verb?: import("../Payload/index.ts").Verb | undefined;
82
- uri: HttpUriCall["uri"];
83
- readonly archiving?: {
84
- readonly archivists?: string[] | undefined;
85
- readonly queries?: string[] | undefined;
86
- } | undefined;
87
- readonly allowedQueries?: string[] | undefined;
88
- readonly archivist?: import(".store/@xyo-network-module-model-npm-3.8.0-0abf9408c3/package").ModuleIdentifier | undefined;
89
- readonly consoleLogger?: import(".store/@xylabs-logger-npm-4.5.1-a411051254/package").LogLevel | undefined;
90
- readonly labels?: {
91
- [x: string]: string | undefined;
92
- } | undefined;
93
- readonly name?: import(".store/@xyo-network-module-model-npm-3.8.0-0abf9408c3/package").ModuleName | undefined;
94
- readonly paging?: {
95
- [x: string]: {
96
- size?: number | undefined;
97
- };
98
- } | undefined;
99
- readonly retry?: {
100
- backoff?: number | undefined;
101
- interval?: number | undefined;
102
- retries?: number | undefined;
103
- } | undefined;
104
- readonly security?: {
105
- readonly allowAnonymous?: boolean | undefined;
106
- readonly allowed?: {
107
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
108
- } | undefined;
109
- readonly disallowed?: {
110
- [x: string]: Lowercase<string>[];
111
- } | undefined;
112
- } | undefined;
113
- readonly sign?: boolean | undefined;
114
- readonly storeQueries?: boolean | undefined;
115
- readonly timestamp?: boolean | undefined;
116
- accept?: MimeTypes | undefined;
117
- timeout?: number | undefined;
118
- }>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{
119
- schema: "network.xyo.http.call.witness.config";
120
- headers?: {
121
- [x: string]: string | undefined;
122
- } | undefined;
123
- queries?: {
124
- [x: string]: string;
125
- } | undefined;
126
- verb?: import("../Payload/index.ts").Verb | undefined;
127
- uri: HttpUriCall["uri"];
128
- readonly archiving?: {
129
- readonly archivists?: string[] | undefined;
130
- readonly queries?: string[] | undefined;
131
- } | undefined;
132
- readonly allowedQueries?: string[] | undefined;
133
- readonly archivist?: import(".store/@xyo-network-module-model-npm-3.8.0-0abf9408c3/package").ModuleIdentifier | undefined;
134
- readonly consoleLogger?: import(".store/@xylabs-logger-npm-4.5.1-a411051254/package").LogLevel | undefined;
135
- readonly labels?: {
136
- [x: string]: string | undefined;
137
- } | undefined;
138
- readonly name?: import(".store/@xyo-network-module-model-npm-3.8.0-0abf9408c3/package").ModuleName | undefined;
139
- readonly paging?: {
140
- [x: string]: {
141
- size?: number | undefined;
142
- };
143
- } | undefined;
144
- readonly retry?: {
145
- backoff?: number | undefined;
146
- interval?: number | undefined;
147
- retries?: number | undefined;
148
- } | undefined;
149
- readonly security?: {
150
- readonly allowAnonymous?: boolean | undefined;
151
- readonly allowed?: {
152
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
153
- } | undefined;
154
- readonly disallowed?: {
155
- [x: string]: Lowercase<string>[];
156
- } | undefined;
157
- } | undefined;
158
- readonly sign?: boolean | undefined;
159
- readonly storeQueries?: boolean | undefined;
160
- readonly timestamp?: boolean | undefined;
161
- accept?: MimeTypes | undefined;
162
- timeout?: number | undefined;
163
- }>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
164
- };
165
- export declare const isHttpUriTemplateCallWitnessConfig: (value?: unknown) => value is HttpUriTemplateCallWitnessConfig;
166
- export declare const asHttpUriTemplateCallWitnessConfig: {
167
- <TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
168
- schema: "network.xyo.http.call.witness.config";
169
- headers?: {
170
- [x: string]: string | undefined;
171
- } | undefined;
172
- queries?: {
173
- [x: string]: string;
174
- } | undefined;
175
- verb?: import("../Payload/index.ts").Verb | undefined;
176
- params?: {
177
- [x: string]: string;
178
- } | undefined;
179
- uriTemplate: HttpUriTemplateCall["uriTemplate"];
180
- readonly archiving?: {
181
- readonly archivists?: string[] | undefined;
182
- readonly queries?: string[] | undefined;
183
- } | undefined;
184
- readonly allowedQueries?: string[] | undefined;
185
- readonly archivist?: import(".store/@xyo-network-module-model-npm-3.8.0-0abf9408c3/package").ModuleIdentifier | undefined;
186
- readonly consoleLogger?: import(".store/@xylabs-logger-npm-4.5.1-a411051254/package").LogLevel | undefined;
187
- readonly labels?: {
188
- [x: string]: string | undefined;
189
- } | undefined;
190
- readonly name?: import(".store/@xyo-network-module-model-npm-3.8.0-0abf9408c3/package").ModuleName | undefined;
191
- readonly paging?: {
192
- [x: string]: {
193
- size?: number | undefined;
194
- };
195
- } | undefined;
196
- readonly retry?: {
197
- backoff?: number | undefined;
198
- interval?: number | undefined;
199
- retries?: number | undefined;
200
- } | undefined;
201
- readonly security?: {
202
- readonly allowAnonymous?: boolean | undefined;
203
- readonly allowed?: {
204
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
205
- } | undefined;
206
- readonly disallowed?: {
207
- [x: string]: Lowercase<string>[];
208
- } | undefined;
209
- } | undefined;
210
- readonly sign?: boolean | undefined;
211
- readonly storeQueries?: boolean | undefined;
212
- readonly timestamp?: boolean | undefined;
213
- accept?: MimeTypes | undefined;
214
- timeout?: number | undefined;
215
- }>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
216
- <TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
217
- schema: "network.xyo.http.call.witness.config";
218
- headers?: {
219
- [x: string]: string | undefined;
220
- } | undefined;
221
- queries?: {
222
- [x: string]: string;
223
- } | undefined;
224
- verb?: import("../Payload/index.ts").Verb | undefined;
225
- params?: {
226
- [x: string]: string;
227
- } | undefined;
228
- uriTemplate: HttpUriTemplateCall["uriTemplate"];
229
- readonly archiving?: {
230
- readonly archivists?: string[] | undefined;
231
- readonly queries?: string[] | undefined;
232
- } | undefined;
233
- readonly allowedQueries?: string[] | undefined;
234
- readonly archivist?: import(".store/@xyo-network-module-model-npm-3.8.0-0abf9408c3/package").ModuleIdentifier | undefined;
235
- readonly consoleLogger?: import(".store/@xylabs-logger-npm-4.5.1-a411051254/package").LogLevel | undefined;
236
- readonly labels?: {
237
- [x: string]: string | undefined;
238
- } | undefined;
239
- readonly name?: import(".store/@xyo-network-module-model-npm-3.8.0-0abf9408c3/package").ModuleName | undefined;
240
- readonly paging?: {
241
- [x: string]: {
242
- size?: number | undefined;
243
- };
244
- } | undefined;
245
- readonly retry?: {
246
- backoff?: number | undefined;
247
- interval?: number | undefined;
248
- retries?: number | undefined;
249
- } | undefined;
250
- readonly security?: {
251
- readonly allowAnonymous?: boolean | undefined;
252
- readonly allowed?: {
253
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
254
- } | undefined;
255
- readonly disallowed?: {
256
- [x: string]: Lowercase<string>[];
257
- } | undefined;
258
- } | undefined;
259
- readonly sign?: boolean | undefined;
260
- readonly storeQueries?: boolean | undefined;
261
- readonly timestamp?: boolean | undefined;
262
- accept?: MimeTypes | undefined;
263
- timeout?: number | undefined;
264
- }>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<import("@xylabs/object").DeepRestrictToStringKeys<{
265
- schema: "network.xyo.http.call.witness.config";
266
- headers?: {
267
- [x: string]: string | undefined;
268
- } | undefined;
269
- queries?: {
270
- [x: string]: string;
271
- } | undefined;
272
- verb?: import("../Payload/index.ts").Verb | undefined;
273
- params?: {
274
- [x: string]: string;
275
- } | undefined;
276
- uriTemplate: HttpUriTemplateCall["uriTemplate"];
277
- readonly archiving?: {
278
- readonly archivists?: string[] | undefined;
279
- readonly queries?: string[] | undefined;
280
- } | undefined;
281
- readonly allowedQueries?: string[] | undefined;
282
- readonly archivist?: import(".store/@xyo-network-module-model-npm-3.8.0-0abf9408c3/package").ModuleIdentifier | undefined;
283
- readonly consoleLogger?: import(".store/@xylabs-logger-npm-4.5.1-a411051254/package").LogLevel | undefined;
284
- readonly labels?: {
285
- [x: string]: string | undefined;
286
- } | undefined;
287
- readonly name?: import(".store/@xyo-network-module-model-npm-3.8.0-0abf9408c3/package").ModuleName | undefined;
288
- readonly paging?: {
289
- [x: string]: {
290
- size?: number | undefined;
291
- };
292
- } | undefined;
293
- readonly retry?: {
294
- backoff?: number | undefined;
295
- interval?: number | undefined;
296
- retries?: number | undefined;
297
- } | undefined;
298
- readonly security?: {
299
- readonly allowAnonymous?: boolean | undefined;
300
- readonly allowed?: {
301
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
302
- } | undefined;
303
- readonly disallowed?: {
304
- [x: string]: Lowercase<string>[];
305
- } | undefined;
306
- } | undefined;
307
- readonly sign?: boolean | undefined;
308
- readonly storeQueries?: boolean | undefined;
309
- readonly timestamp?: boolean | undefined;
310
- accept?: MimeTypes | undefined;
311
- timeout?: number | undefined;
312
- }>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
313
- };
314
- //# sourceMappingURL=Config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/Witness/Config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EACV,QAAQ,EAAE,WAAW,EAAE,mBAAmB,EAAE,SAAS,EACtD,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAA;AAEzD,MAAM,MAAM,yBAAyB,GAAG,aAAa,CAAC;IACpD,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAA;IAC5C,OAAO,CAAC,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAA;IAC7B,MAAM,EAAE,2BAA2B,CAAA;IACnC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;CACxB,CAAC,CAAA;AAEF,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAClD,yBAAyB,GAAG;IAC1B,GAAG,EAAE,WAAW,CAAC,KAAK,CAAC,CAAA;CACxB,CACF,CAAA;AAED,MAAM,MAAM,gCAAgC,GAAG,aAAa,CAC1D,yBAAyB,GAAG;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,mBAAmB,CAAC,aAAa,CAAC,CAAA;CAChD,CACF,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,wBAAwB,GAAG,gCAAgC,GAAG,yBAAyB,CAAA;AAE3H,eAAO,MAAM,uBAAuB,oDAA4E,CAAA;AAChH,eAAO,MAAM,uBAAuB;wDA7BmB,qDACxC,iCACI,gBAAoB;wDAGpC,qDAAiB,gHAGJ,gBAAoB;CAqBkD,CAAA;AAEtF,eAAO,MAAM,0BAA0B,WAAY,OAAO,KAAG,KAAK,IAAI,wBACO,CAAA;AAC7E,eAAO,MAAM,0BAA0B;;;;;;;;;;aAlB9B,WAAW,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAVhB,SAAS;kBAIR,MAAM;sBATqC,qDACxC,iCACI,gBAAoB;;;;;;;;;;aAa9B,WAAW,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAVhB,SAAS;kBAIR,MAAM;sBAJf,qDAAiB;;;;;;;;;aAUX,WAAW,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAVhB,SAAS;kBAIR,MAAM;yBADF,gBAAoB;CAyBwD,CAAA;AAE5F,eAAO,MAAM,kCAAkC,WAAY,OAAO,KAAG,KAAK,IAAI,gCACe,CAAA;AAC7F,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;qBAf9B,mBAAmB,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAjBxC,SAAS;kBAIR,MAAM;sBATqC,qDACxC,iCACI,gBAAoB;;;;;;;;;;;;;qBAoBtB,mBAAmB,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAjBxC,SAAS;kBAIR,MAAM;sBAJf,qDAAiB;;;;;;;;;;;;qBAiBH,mBAAmB,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAjBxC,SAAS;kBAIR,MAAM;yBADF,gBAAoB;CA6BwE,CAAA"}
@@ -1,7 +0,0 @@
1
- import type { WitnessParams } from '@xyo-network/witness-model';
2
- import type { HttpCallWitnessConfig } from './Config.ts';
3
- export type HttpCallWitnessParams = WitnessParams<HttpCallWitnessConfig, {
4
- headers?: Record<string, string | undefined>;
5
- ipfsGateway?: string;
6
- }>;
7
- //# sourceMappingURL=Params.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../src/Witness/Params.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAA;AAE/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAExD,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAC/C,qBAAqB,EACrB;IACE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAA;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CACF,CAAA"}
@@ -1,3 +0,0 @@
1
- export declare const HttpCallWitnessConfigSchema = "network.xyo.http.call.witness.config";
2
- export type HttpCallWitnessConfigSchema = typeof HttpCallWitnessConfigSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../src/Witness/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,yCAAyC,CAAA;AACjF,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAA"}
@@ -1,16 +0,0 @@
1
- import { AbstractWitness } from '@xyo-network/abstract-witness';
2
- import type { Schema } from '@xyo-network/payload-model';
3
- import type { HttpCall, HttpCallResult, MimeTypes } from '../Payload/index.ts';
4
- import type { HttpCallWitnessParams } from './Params.ts';
5
- export declare class HttpCallWitness<TParams extends HttpCallWitnessParams = HttpCallWitnessParams> extends AbstractWitness<TParams, HttpCall, HttpCallResult> {
6
- static readonly configSchemas: Schema[];
7
- static readonly defaultConfigSchema: Schema;
8
- get accept(): MimeTypes;
9
- get ipfsGateway(): string | undefined;
10
- get timeout(): number | undefined;
11
- getFullUri(call?: HttpCall): string;
12
- getHeaders(headers?: Record<string, string | undefined>): Record<string, string | undefined>;
13
- protected observeHandler(inPayloads?: HttpCall[]): Promise<HttpCallResult[]>;
14
- private httpGet;
15
- }
16
- //# sourceMappingURL=Witness.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../../src/Witness/Witness.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAQxD,OAAO,KAAK,EACV,QAAQ,EAKR,cAAc,EAEd,SAAS,EACV,MAAM,qBAAqB,CAAA;AAS5B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AAGxD,qBAAa,eAAe,CAAC,OAAO,SAAS,qBAAqB,GAAG,qBAAqB,CAAE,SAAQ,eAAe,CAAC,OAAO,EAAE,QAAQ,EAAE,cAAc,CAAC;IACpJ,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAwD;IACxG,gBAAyB,mBAAmB,EAAE,MAAM,CAA8B;IAElF,IAAI,MAAM,IAAI,SAAS,CAEtB;IAED,IAAI,WAAW,uBAEd;IAED,IAAI,OAAO,uBAEV;IAED,UAAU,CAAC,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM;IAiCnC,UAAU,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;cAMnE,cAAc,CAAC,UAAU,GAAE,QAAQ,EAAO,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;YAiCjF,OAAO;CA6FtB"}
@@ -1,5 +0,0 @@
1
- export * from './Config.ts';
2
- export * from './Params.ts';
3
- export * from './Schema.ts';
4
- export * from './Witness.ts';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Witness/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA"}