@epilot/file-client 1.5.1 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +0 -0
- package/dist/client.js +0 -0
- package/dist/definition.d.ts +0 -0
- package/dist/definition.js +1 -1
- package/dist/index.d.ts +0 -0
- package/dist/index.js +0 -0
- package/dist/openapi-runtime.json +146 -0
- package/dist/openapi.d.ts +0 -0
- package/dist/openapi.json +584 -581
- package/package.json +4 -4
- package/LICENSE +0 -21
package/dist/client.d.ts
CHANGED
|
File without changes
|
package/dist/client.js
CHANGED
|
File without changes
|
package/dist/definition.d.ts
CHANGED
|
File without changes
|
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){for(var i in t)e[i]=t[i];t.__esModule&&Object.defineProperty(e,"__esModule",{value:!0})}(exports,(()=>{"use strict";var e={914:function(e,t,i){var
|
|
1
|
+
!function(e,t){for(var i in t)e[i]=t[i];t.__esModule&&Object.defineProperty(e,"__esModule",{value:!0})}(exports,(()=>{"use strict";var e={914:function(e,t,i){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=r(i(946));t.default=n.default},946:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"paths":{"/v1/files/public/upload":{"post":{"operationId":"uploadFilePublic","requestBody":{"content":{"application/json":{}}}}},"/v1/files/upload":{"post":{"operationId":"uploadFile","parameters":[{"name":"file_entity_id","in":"query"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/files":{"post":{"operationId":"saveFile","requestBody":{"content":{"application/json":{}}}}},"/v1/files/{id}/download":{"get":{"operationId":"downloadFile","parameters":[{"name":"id","in":"path","required":true},{"name":"version","in":"query"},{"name":"attachment","in":"query"}]}},"/v1/files:downloadS3":{"post":{"operationId":"downloadS3File","parameters":[{"name":"s3_key","in":"query","required":true},{"name":"s3_bucket","in":"query","required":true},{"name":"attachment","in":"query"}]}},"/v1/files/{id}/preview":{"get":{"operationId":"previewFile","parameters":[{"name":"id","in":"path","required":true},{"name":"version","in":"query"},{"name":"w","in":"query"},{"name":"h","in":"query"}]}},"/v1/files:previewS3":{"post":{"operationId":"previewS3File","parameters":[{"name":"w","in":"query"},{"name":"h","in":"query"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/files/delete":{"delete":{"operationId":"deleteFile","requestBody":{"content":{"application/json":{}}}}}},"components":{},"servers":[{"url":"https://file.sls.epilot.io"}]}')}},t={};return function i(r){if(t[r])return t[r].exports;var n=t[r]={exports:{}};return e[r].call(n.exports,n,n.exports,i),n.exports}(914)})());
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
File without changes
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.3",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "",
|
|
5
|
+
"version": ""
|
|
6
|
+
},
|
|
7
|
+
"paths": {
|
|
8
|
+
"/v1/files/public/upload": {
|
|
9
|
+
"post": {
|
|
10
|
+
"operationId": "uploadFilePublic",
|
|
11
|
+
"requestBody": {
|
|
12
|
+
"content": {
|
|
13
|
+
"application/json": {}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"/v1/files/upload": {
|
|
19
|
+
"post": {
|
|
20
|
+
"operationId": "uploadFile",
|
|
21
|
+
"parameters": [
|
|
22
|
+
{
|
|
23
|
+
"name": "file_entity_id",
|
|
24
|
+
"in": "query"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"requestBody": {
|
|
28
|
+
"content": {
|
|
29
|
+
"application/json": {}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"/v1/files": {
|
|
35
|
+
"post": {
|
|
36
|
+
"operationId": "saveFile",
|
|
37
|
+
"requestBody": {
|
|
38
|
+
"content": {
|
|
39
|
+
"application/json": {}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"/v1/files/{id}/download": {
|
|
45
|
+
"get": {
|
|
46
|
+
"operationId": "downloadFile",
|
|
47
|
+
"parameters": [
|
|
48
|
+
{
|
|
49
|
+
"name": "id",
|
|
50
|
+
"in": "path",
|
|
51
|
+
"required": true
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "version",
|
|
55
|
+
"in": "query"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "attachment",
|
|
59
|
+
"in": "query"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"/v1/files:downloadS3": {
|
|
65
|
+
"post": {
|
|
66
|
+
"operationId": "downloadS3File",
|
|
67
|
+
"parameters": [
|
|
68
|
+
{
|
|
69
|
+
"name": "s3_key",
|
|
70
|
+
"in": "query",
|
|
71
|
+
"required": true
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "s3_bucket",
|
|
75
|
+
"in": "query",
|
|
76
|
+
"required": true
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "attachment",
|
|
80
|
+
"in": "query"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"/v1/files/{id}/preview": {
|
|
86
|
+
"get": {
|
|
87
|
+
"operationId": "previewFile",
|
|
88
|
+
"parameters": [
|
|
89
|
+
{
|
|
90
|
+
"name": "id",
|
|
91
|
+
"in": "path",
|
|
92
|
+
"required": true
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "version",
|
|
96
|
+
"in": "query"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "w",
|
|
100
|
+
"in": "query"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "h",
|
|
104
|
+
"in": "query"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"/v1/files:previewS3": {
|
|
110
|
+
"post": {
|
|
111
|
+
"operationId": "previewS3File",
|
|
112
|
+
"parameters": [
|
|
113
|
+
{
|
|
114
|
+
"name": "w",
|
|
115
|
+
"in": "query"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "h",
|
|
119
|
+
"in": "query"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"requestBody": {
|
|
123
|
+
"content": {
|
|
124
|
+
"application/json": {}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"/v1/files/delete": {
|
|
130
|
+
"delete": {
|
|
131
|
+
"operationId": "deleteFile",
|
|
132
|
+
"requestBody": {
|
|
133
|
+
"content": {
|
|
134
|
+
"application/json": {}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"components": {},
|
|
141
|
+
"servers": [
|
|
142
|
+
{
|
|
143
|
+
"url": "https://file.sls.epilot.io"
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
}
|
package/dist/openapi.d.ts
CHANGED
|
File without changes
|