apipost-cli 1.0.9 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/37.index.js +452 -0
- package/dist/841.index.js +6984 -0
- package/dist/action.js +4 -0
- package/dist/apipost-http-schema.json +129 -0
- package/dist/bridge.js +1010 -0
- package/dist/build/Release/cpufeatures.node +0 -0
- package/dist/esprima.js +3756 -0
- package/dist/events.js +977 -0
- package/dist/index.js +565963 -0
- package/dist/index1.js +26 -0
- package/dist/lib/protocol/crypto/build/Release/sshcrypto.node +0 -0
- package/dist/module.js +34 -0
- package/dist/pagent.exe +0 -0
- package/dist/setup-node-sandbox.js +461 -0
- package/dist/setup-sandbox.js +545 -0
- package/dist/snappy.darwin-arm64.node +0 -0
- package/dist/xdg-open +1066 -0
- package/package.json +13 -4
- package/apipost-reports/apipost-reports-2024-01-06 15:16:30.html +0 -750
- package/bin/cli.js +0 -231
- package/bin/template.js +0 -803
- /package/{bin/apipost-reports → dist/apipost-cli}//346/265/213/350/257/225.html" +0 -0
- /package/{bin/apipost-reports → dist/apipost-cli}//346/265/213/350/257/225.json" +0 -0
package/dist/action.js
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"target_id": {
|
|
6
|
+
"type": "string"
|
|
7
|
+
},
|
|
8
|
+
"method": {
|
|
9
|
+
"type": "string"
|
|
10
|
+
},
|
|
11
|
+
"url": {
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
"request": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"url": {
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"auth": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"type": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"kv": {
|
|
27
|
+
"type": "object",
|
|
28
|
+
"properties": {
|
|
29
|
+
"key": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"value": {
|
|
33
|
+
"type": "string"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"required": [
|
|
37
|
+
"key",
|
|
38
|
+
"value"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"bearer": {
|
|
42
|
+
"type": "object",
|
|
43
|
+
"properties": {
|
|
44
|
+
"key": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": [
|
|
49
|
+
"key"
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"basic": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"properties": {
|
|
55
|
+
"username": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"password": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": [
|
|
63
|
+
"username",
|
|
64
|
+
"password"
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"type"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"body": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {
|
|
75
|
+
"mode": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"parameter": {
|
|
79
|
+
"type": "array"
|
|
80
|
+
},
|
|
81
|
+
"raw": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"required": [
|
|
86
|
+
"mode",
|
|
87
|
+
"parameter",
|
|
88
|
+
"raw"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"header": {
|
|
92
|
+
"type": "object",
|
|
93
|
+
"properties": {
|
|
94
|
+
"parameter": {
|
|
95
|
+
"type": "array"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"required": [
|
|
99
|
+
"parameter"
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"query": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"properties": {
|
|
105
|
+
"parameter": {
|
|
106
|
+
"type": "array"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"required": [
|
|
110
|
+
"parameter"
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"required": [
|
|
115
|
+
"url",
|
|
116
|
+
"auth",
|
|
117
|
+
"body",
|
|
118
|
+
"header",
|
|
119
|
+
"query"
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
"required": [
|
|
124
|
+
"target_id",
|
|
125
|
+
"method",
|
|
126
|
+
"url",
|
|
127
|
+
"request"
|
|
128
|
+
]
|
|
129
|
+
}
|