@xyo-network/api-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 (80) hide show
  1. package/dist/neutral/index.d.ts +638 -3
  2. package/dist/neutral/index.mjs +2 -2
  3. package/dist/neutral/index.mjs.map +1 -1
  4. package/package.json +13 -13
  5. package/src/Witness/Witness.ts +2 -2
  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/asApiCall.d.ts +0 -5
  9. package/dist/neutral/Payload/identity/asApiCall.d.ts.map +0 -1
  10. package/dist/neutral/Payload/identity/asApiCallBase64Result.d.ts +0 -20
  11. package/dist/neutral/Payload/identity/asApiCallBase64Result.d.ts.map +0 -1
  12. package/dist/neutral/Payload/identity/asApiCallResult.d.ts +0 -5
  13. package/dist/neutral/Payload/identity/asApiCallResult.d.ts.map +0 -1
  14. package/dist/neutral/Payload/identity/asApiCallXmlResult.d.ts +0 -20
  15. package/dist/neutral/Payload/identity/asApiCallXmlResult.d.ts.map +0 -1
  16. package/dist/neutral/Payload/identity/asApiUriCall.d.ts +0 -35
  17. package/dist/neutral/Payload/identity/asApiUriCall.d.ts.map +0 -1
  18. package/dist/neutral/Payload/identity/asApiUriTemplateCall.d.ts +0 -44
  19. package/dist/neutral/Payload/identity/asApiUriTemplateCall.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/isApiCall.d.ts +0 -3
  23. package/dist/neutral/Payload/identity/isApiCall.d.ts.map +0 -1
  24. package/dist/neutral/Payload/identity/isApiCallBase64Result.d.ts +0 -3
  25. package/dist/neutral/Payload/identity/isApiCallBase64Result.d.ts.map +0 -1
  26. package/dist/neutral/Payload/identity/isApiCallErrorResult.d.ts +0 -3
  27. package/dist/neutral/Payload/identity/isApiCallErrorResult.d.ts.map +0 -1
  28. package/dist/neutral/Payload/identity/isApiCallResult.d.ts +0 -3
  29. package/dist/neutral/Payload/identity/isApiCallResult.d.ts.map +0 -1
  30. package/dist/neutral/Payload/identity/isApiCallXmlResult.d.ts +0 -3
  31. package/dist/neutral/Payload/identity/isApiCallXmlResult.d.ts.map +0 -1
  32. package/dist/neutral/Payload/identity/isApiUriCall.d.ts +0 -3
  33. package/dist/neutral/Payload/identity/isApiUriCall.d.ts.map +0 -1
  34. package/dist/neutral/Payload/identity/isApiUriTemplateCall.d.ts +0 -3
  35. package/dist/neutral/Payload/identity/isApiUriTemplateCall.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/ApiCall.d.ts +0 -4
  39. package/dist/neutral/Payload/types/ApiCall.d.ts.map +0 -1
  40. package/dist/neutral/Payload/types/ApiCallBase64Result.d.ts +0 -11
  41. package/dist/neutral/Payload/types/ApiCallBase64Result.d.ts.map +0 -1
  42. package/dist/neutral/Payload/types/ApiCallErrorResult.d.ts +0 -9
  43. package/dist/neutral/Payload/types/ApiCallErrorResult.d.ts.map +0 -1
  44. package/dist/neutral/Payload/types/ApiCallFields.d.ts +0 -8
  45. package/dist/neutral/Payload/types/ApiCallFields.d.ts.map +0 -1
  46. package/dist/neutral/Payload/types/ApiCallJsonResult.d.ts +0 -103
  47. package/dist/neutral/Payload/types/ApiCallJsonResult.d.ts.map +0 -1
  48. package/dist/neutral/Payload/types/ApiCallResult.d.ts +0 -8
  49. package/dist/neutral/Payload/types/ApiCallResult.d.ts.map +0 -1
  50. package/dist/neutral/Payload/types/ApiCallXmlResult.d.ts +0 -9
  51. package/dist/neutral/Payload/types/ApiCallXmlResult.d.ts.map +0 -1
  52. package/dist/neutral/Payload/types/ApiUriCall.d.ts +0 -7
  53. package/dist/neutral/Payload/types/ApiUriCall.d.ts.map +0 -1
  54. package/dist/neutral/Payload/types/ApiUriTemplateCall.d.ts +0 -8
  55. package/dist/neutral/Payload/types/ApiUriTemplateCall.d.ts.map +0 -1
  56. package/dist/neutral/Payload/types/HttpMeta.d.ts +0 -5
  57. package/dist/neutral/Payload/types/HttpMeta.d.ts.map +0 -1
  58. package/dist/neutral/Payload/types/MimeTypes.d.ts +0 -2
  59. package/dist/neutral/Payload/types/MimeTypes.d.ts.map +0 -1
  60. package/dist/neutral/Payload/types/Queries.d.ts +0 -2
  61. package/dist/neutral/Payload/types/Queries.d.ts.map +0 -1
  62. package/dist/neutral/Payload/types/Verb.d.ts +0 -2
  63. package/dist/neutral/Payload/types/Verb.d.ts.map +0 -1
  64. package/dist/neutral/Payload/types/index.d.ts +0 -14
  65. package/dist/neutral/Payload/types/index.d.ts.map +0 -1
  66. package/dist/neutral/Witness/Config.d.ts +0 -314
  67. package/dist/neutral/Witness/Config.d.ts.map +0 -1
  68. package/dist/neutral/Witness/Params.d.ts +0 -7
  69. package/dist/neutral/Witness/Params.d.ts.map +0 -1
  70. package/dist/neutral/Witness/Schema.d.ts +0 -3
  71. package/dist/neutral/Witness/Schema.d.ts.map +0 -1
  72. package/dist/neutral/Witness/Witness.d.ts +0 -16
  73. package/dist/neutral/Witness/Witness.d.ts.map +0 -1
  74. package/dist/neutral/Witness/index.d.ts +0 -5
  75. package/dist/neutral/Witness/index.d.ts.map +0 -1
  76. package/dist/neutral/index.d.ts.map +0 -1
  77. package/dist/neutral/lib/checkIpfsUrl.d.ts +0 -8
  78. package/dist/neutral/lib/checkIpfsUrl.d.ts.map +0 -1
  79. package/dist/neutral/lib/index.d.ts +0 -2
  80. 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 { 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,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,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,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"}
@@ -1,314 +0,0 @@
1
- import type { WitnessConfig } from '@xyo-network/witness-model';
2
- import type { ApiCallPayload, ApiUriCallPayload, ApiUriTemplateCallPayload, MimeTypes } from '../Payload/index.ts';
3
- import { ApiCallWitnessConfigSchema } from './Schema.ts';
4
- export type ApiCallWitnessConfigBase = WitnessConfig<{
5
- accept?: MimeTypes;
6
- headers?: Record<string, string | undefined>;
7
- queries?: ApiCallPayload['queries'];
8
- schema: ApiCallWitnessConfigSchema;
9
- timeout?: number;
10
- verb?: ApiCallPayload['verb'];
11
- }>;
12
- export type ApiUriCallWitnessConfig = WitnessConfig<ApiCallWitnessConfigBase & {
13
- uri: ApiUriCallPayload['uri'];
14
- }>;
15
- export type ApiUriTemplateCallWitnessConfig = WitnessConfig<ApiCallWitnessConfigBase & {
16
- params?: Record<string, string>;
17
- uriTemplate: ApiUriTemplateCallPayload['uriTemplate'];
18
- }>;
19
- export type ApiCallWitnessConfig = ApiUriCallWitnessConfig | ApiUriTemplateCallWitnessConfig | ApiCallWitnessConfigBase;
20
- export declare const isApiCallWitnessConfig: (x?: unknown | null) => x is ApiCallWitnessConfig;
21
- export declare const asApiCallWitnessConfig: {
22
- <TType extends ApiCallWitnessConfig>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
23
- <TType extends ApiCallWitnessConfig>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<ApiCallWitnessConfig>, config?: import("@xylabs/object").TypeCheckConfig): TType;
24
- };
25
- export declare const isApiUriCallWitnessConfig: (value?: unknown) => value is ApiUriCallWitnessConfig;
26
- export declare const asApiUriCallWitnessConfig: {
27
- <TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
28
- schema: "network.xyo.api.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: ApiUriCallPayload["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.api.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: ApiUriCallPayload["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.api.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: ApiUriCallPayload["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 isApiUriTemplateCallWitnessConfig: (value?: unknown) => value is ApiUriTemplateCallWitnessConfig;
166
- export declare const asApiUriTemplateCallWitnessConfig: {
167
- <TType extends import("@xylabs/object").DeepRestrictToStringKeys<{
168
- schema: "network.xyo.api.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: ApiUriTemplateCallPayload["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.api.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: ApiUriTemplateCallPayload["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.api.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: ApiUriTemplateCallPayload["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,cAAc,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,SAAS,EACxE,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAExD,MAAM,MAAM,wBAAwB,GAAG,aAAa,CAAC;IACnD,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAA;IAC5C,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAA;IACnC,MAAM,EAAE,0BAA0B,CAAA;IAClC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;CAC9B,CAAC,CAAA;AAEF,MAAM,MAAM,uBAAuB,GAAG,aAAa,CACjD,wBAAwB,GAAG;IACzB,GAAG,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAA;CAC9B,CACF,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,aAAa,CACzD,wBAAwB,GAAG;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,yBAAyB,CAAC,aAAa,CAAC,CAAA;CACtD,CACF,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG,uBAAuB,GAAG,+BAA+B,GAAG,wBAAwB,CAAA;AAEvH,eAAO,MAAM,sBAAsB,mDAA0E,CAAA;AAC7G,eAAO,MAAM,sBAAsB;uDA7BoB,qDAAiB,iCAEvE,gBAAoB;uDAEqB,qDACtC,+GAE4B,gBAClB;CAqBsE,CAAA;AAEpF,eAAO,MAAM,yBAAyB,WAAY,OAAO,KAAG,KAAK,IAAI,uBACM,CAAA;AAC3E,eAAO,MAAM,yBAAyB;;;;;;;;;;aAlB7B,iBAAiB,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAVtB,SAAS;kBAIR,MAAM;sBATqC,qDAAiB,iCAEvE,gBAAoB;;;;;;;;;;aAaZ,iBAAiB,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAVtB,SAAS;kBAIR,MAAM;sBALwB,qDACtC;;;;;;;;;aAUK,iBAAiB,CAAC,KAAK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAVtB,SAAS;kBAIR,MAAM;yBAFc,gBAClB;CAyB4E,CAAA;AAE1F,eAAO,MAAM,iCAAiC,WAAY,OAAO,KAAG,KAAK,IAAI,+BACc,CAAA;AAC3F,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;qBAf7B,yBAAyB,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAjB9C,SAAS;kBAIR,MAAM;sBATqC,qDAAiB,iCAEvE,gBAAoB;;;;;;;;;;;;;qBAoBJ,yBAAyB,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAjB9C,SAAS;kBAIR,MAAM;sBALwB,qDACtC;;;;;;;;;;;;qBAiBa,yBAAyB,CAAC,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAjB9C,SAAS;kBAIR,MAAM;yBAFc,gBAClB;CA6B4F,CAAA"}
@@ -1,7 +0,0 @@
1
- import type { WitnessParams } from '@xyo-network/witness-model';
2
- import type { ApiCallWitnessConfig } from './Config.ts';
3
- export type ApiCallWitnessParams = WitnessParams<ApiCallWitnessConfig, {
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,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAEvD,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAC9C,oBAAoB,EACpB;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 ApiCallWitnessConfigSchema = "network.xyo.api.call.witness.config";
2
- export type ApiCallWitnessConfigSchema = typeof ApiCallWitnessConfigSchema;
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,0BAA0B,wCAAwC,CAAA;AAC/E,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,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 { ApiCallPayload, ApiCallResult, MimeTypes } from '../Payload/index.ts';
4
- import type { ApiCallWitnessParams } from './Params.ts';
5
- export declare class ApiCallWitness<TParams extends ApiCallWitnessParams = ApiCallWitnessParams> extends AbstractWitness<TParams, ApiCallPayload, ApiCallResult> {
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?: ApiCallPayload): string;
12
- getHeaders(headers?: Record<string, string | undefined>): Record<string, string | undefined>;
13
- protected observeHandler(inPayloads?: ApiCallPayload[]): Promise<ApiCallResult[]>;
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;AAE/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAQxD,OAAO,KAAK,EAKV,cAAc,EACd,aAAa,EAEb,SAAS,EACV,MAAM,qBAAqB,CAAA;AAQ5B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAGvD,qBAAa,cAAc,CAAC,OAAO,SAAS,oBAAoB,GAAG,oBAAoB,CAAE,SAAQ,eAAe,CAAC,OAAO,EAAE,cAAc,EAAE,aAAa,CAAC;IACtJ,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAuD;IACvG,gBAAyB,mBAAmB,EAAE,MAAM,CAA6B;IAEjF,IAAI,MAAM,IAAI,SAAS,CAEtB;IAED,IAAI,WAAW,uBAEd;IAED,IAAI,OAAO,uBAEV;IAED,UAAU,CAAC,IAAI,CAAC,EAAE,cAAc,GAAG,MAAM;IAiCzC,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,cAAc,EAAO,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC;YAiCtF,OAAO;CAwEtB"}
@@ -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"}