@abyss-project/storage 1.0.6 → 1.0.8
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/types/interface/api/requests/application-file-thumbnail.admin.request.d.ts +6 -7
- package/dist/types/interface/api/requests/application-file-thumbnail.request.d.ts +8 -9
- package/dist/types/interface/api/requests/application-file.admin.request.d.ts +15 -14
- package/dist/types/interface/api/requests/application-file.request.d.ts +24 -23
- package/dist/types/interface/api/requests/application-webhook-history.admin.request.d.ts +1 -2
- package/dist/types/interface/api/requests/application-webhook-history.request.d.ts +2 -3
- package/dist/types/interface/api/requests/application-webhook.admin.request.d.ts +5 -6
- package/dist/types/interface/api/requests/application-webhook.request.d.ts +6 -7
- package/dist/types/interface/api/requests/application.admin.request.d.ts +2 -3
- package/dist/types/interface/api/requests/application.request.d.ts +2 -3
- package/dist/types/interface/api/requests/collection.request.d.ts +1 -2
- package/dist/types/interface/api/requests/stream-media.admin.request.d.ts +4 -5
- package/dist/types/interface/api/requests/stream-media.request.d.ts +2 -3
- package/package.json +2 -2
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
export interface IDeleteAllApplicationFileThumbnailAdminParams extends core.ParamsDictionary {
|
|
1
|
+
export interface IDeleteAllApplicationFileThumbnailAdminParams {
|
|
3
2
|
applicationFileId: string;
|
|
4
3
|
}
|
|
5
|
-
export interface IGetApplicationFileThumbnailAdminParams
|
|
4
|
+
export interface IGetApplicationFileThumbnailAdminParams {
|
|
6
5
|
applicationFileThumbnailId: string;
|
|
7
6
|
}
|
|
8
|
-
export interface IListApplicationFileThumbnailAdminParams
|
|
7
|
+
export interface IListApplicationFileThumbnailAdminParams {
|
|
9
8
|
applicationFileId: string;
|
|
10
9
|
}
|
|
11
|
-
export interface IGenerateApplicationFileThumbnailAdminParams
|
|
10
|
+
export interface IGenerateApplicationFileThumbnailAdminParams {
|
|
12
11
|
applicationFileId: string;
|
|
13
12
|
}
|
|
14
13
|
export interface IGenerateApplicationFileThumbnailAdminBody {
|
|
@@ -25,10 +24,10 @@ export interface IRegenerateApplicationFileThumbnailAdminBody {
|
|
|
25
24
|
export interface IRegeneratePublicAccessApplicationFileThumbnailAdminBody {
|
|
26
25
|
applicationFileThumbnailId: string[];
|
|
27
26
|
}
|
|
28
|
-
export interface IDeleteApplicationFileThumbnailAdminParams
|
|
27
|
+
export interface IDeleteApplicationFileThumbnailAdminParams {
|
|
29
28
|
applicationFileThumbnailId: string;
|
|
30
29
|
}
|
|
31
|
-
export interface IUpdateApplicationFileThumbnailAdminParams
|
|
30
|
+
export interface IUpdateApplicationFileThumbnailAdminParams {
|
|
32
31
|
applicationFileThumbnailId: string;
|
|
33
32
|
}
|
|
34
33
|
export interface IUpdateApplicationFileThumbnailAdminBody {
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
export interface IDeleteAllApplicationFileThumbnailParams extends core.ParamsDictionary {
|
|
1
|
+
export interface IDeleteAllApplicationFileThumbnailParams {
|
|
3
2
|
applicationId: string;
|
|
4
3
|
applicationFileId: string;
|
|
5
4
|
}
|
|
6
|
-
export interface IGetApplicationFileThumbnailParams
|
|
5
|
+
export interface IGetApplicationFileThumbnailParams {
|
|
7
6
|
applicationId: string;
|
|
8
7
|
applicationFileThumbnailId: string;
|
|
9
8
|
}
|
|
10
|
-
export interface IListApplicationFileThumbnailParams
|
|
9
|
+
export interface IListApplicationFileThumbnailParams {
|
|
11
10
|
applicationId: string;
|
|
12
11
|
applicationFileId: string;
|
|
13
12
|
}
|
|
14
|
-
export interface IGenerateApplicationFileThumbnailParams
|
|
13
|
+
export interface IGenerateApplicationFileThumbnailParams {
|
|
15
14
|
applicationId: string;
|
|
16
15
|
applicationFileId: string;
|
|
17
16
|
}
|
|
@@ -23,23 +22,23 @@ export interface IGenerateApplicationFileThumbnailBody {
|
|
|
23
22
|
name?: string;
|
|
24
23
|
customPublicAccessId?: string | null;
|
|
25
24
|
}
|
|
26
|
-
export interface IRegenerateApplicationFileThumbnailParams
|
|
25
|
+
export interface IRegenerateApplicationFileThumbnailParams {
|
|
27
26
|
applicationId: string;
|
|
28
27
|
}
|
|
29
28
|
export interface IRegenerateApplicationFileThumbnailBody {
|
|
30
29
|
applicationFileThumbnailId: string[];
|
|
31
30
|
}
|
|
32
|
-
export interface IRegeneratePublicAccessApplicationFileThumbnailParams
|
|
31
|
+
export interface IRegeneratePublicAccessApplicationFileThumbnailParams {
|
|
33
32
|
applicationId: string;
|
|
34
33
|
}
|
|
35
34
|
export interface IRegeneratePublicAccessApplicationFileThumbnailBody {
|
|
36
35
|
applicationFileThumbnailId: string[];
|
|
37
36
|
}
|
|
38
|
-
export interface IDeleteApplicationFileThumbnailParams
|
|
37
|
+
export interface IDeleteApplicationFileThumbnailParams {
|
|
39
38
|
applicationId: string;
|
|
40
39
|
applicationFileThumbnailId: string;
|
|
41
40
|
}
|
|
42
|
-
export interface IUpdateApplicationFileThumbnailParams
|
|
41
|
+
export interface IUpdateApplicationFileThumbnailParams {
|
|
43
42
|
applicationId: string;
|
|
44
43
|
applicationFileThumbnailId: string;
|
|
45
44
|
}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { Algorithm, PreSignUrlType } from '../../../enum';
|
|
3
2
|
import { ArchiveElement, QueryPaginate, ThumbnailPreSignUrlApplicationFileBody } from '../..';
|
|
4
|
-
export interface IDeleteApplicationFileAdminParams
|
|
3
|
+
export interface IDeleteApplicationFileAdminParams {
|
|
5
4
|
applicationFileId: string;
|
|
6
5
|
}
|
|
7
6
|
export interface IDeleteMultipleApplicationFileAdminBody {
|
|
8
7
|
applicationFileIds: string[];
|
|
9
8
|
}
|
|
10
|
-
export interface IDuplicateApplicationFileAdminParams
|
|
9
|
+
export interface IDuplicateApplicationFileAdminParams {
|
|
11
10
|
applicationFileId: string;
|
|
12
11
|
}
|
|
13
12
|
export interface IDuplicateApplicationFileAdminBody {
|
|
@@ -18,6 +17,7 @@ export interface IDuplicateApplicationFileAdminBody {
|
|
|
18
17
|
bucket?: string;
|
|
19
18
|
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
20
19
|
publicAccessPassword?: string;
|
|
20
|
+
regeneratePublicAccessId?: boolean;
|
|
21
21
|
}
|
|
22
22
|
export interface IDuplicateMultipleApplicationFileAdminBody {
|
|
23
23
|
applicationFile: {
|
|
@@ -28,12 +28,13 @@ export interface IDuplicateMultipleApplicationFileAdminBody {
|
|
|
28
28
|
bucket?: string;
|
|
29
29
|
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
30
30
|
publicAccessPassword?: string;
|
|
31
|
+
regeneratePublicAccessId?: boolean;
|
|
31
32
|
}[];
|
|
32
33
|
}
|
|
33
|
-
export interface IGetApplicationFileAdminParams
|
|
34
|
+
export interface IGetApplicationFileAdminParams {
|
|
34
35
|
applicationFileId: string;
|
|
35
36
|
}
|
|
36
|
-
export interface IUpdateApplicationFileAdminParams
|
|
37
|
+
export interface IUpdateApplicationFileAdminParams {
|
|
37
38
|
applicationFileId: string;
|
|
38
39
|
}
|
|
39
40
|
export interface IUpdateApplicationFileAdminBody {
|
|
@@ -42,17 +43,17 @@ export interface IUpdateApplicationFileAdminBody {
|
|
|
42
43
|
bucket?: string;
|
|
43
44
|
customPublicAccessId?: string | null;
|
|
44
45
|
}
|
|
45
|
-
export interface IEncryptApplicationFileAdminParams
|
|
46
|
+
export interface IEncryptApplicationFileAdminParams {
|
|
46
47
|
applicationFileId: string;
|
|
47
48
|
}
|
|
48
|
-
export interface IEncryptApplicationFileAdminBody
|
|
49
|
+
export interface IEncryptApplicationFileAdminBody {
|
|
49
50
|
algorithm: Algorithm;
|
|
50
51
|
password: string;
|
|
51
52
|
}
|
|
52
|
-
export interface IDecryptApplicationFileAdminParams
|
|
53
|
+
export interface IDecryptApplicationFileAdminParams {
|
|
53
54
|
applicationFileId: string;
|
|
54
55
|
}
|
|
55
|
-
export interface IDecryptApplicationFileAdminBody
|
|
56
|
+
export interface IDecryptApplicationFileAdminBody {
|
|
56
57
|
password: string;
|
|
57
58
|
}
|
|
58
59
|
export type IGetPreSignUrlApplicationFileAdminBody = {
|
|
@@ -93,13 +94,13 @@ export type IResetPublicAccessApplicationFileAdminParams = {
|
|
|
93
94
|
export type IUnsetPublicAccessApplicationFileAdminParams = {
|
|
94
95
|
applicationFileId: string;
|
|
95
96
|
};
|
|
96
|
-
export interface IExtractArchiveApplicationFileAdminParams
|
|
97
|
+
export interface IExtractArchiveApplicationFileAdminParams {
|
|
97
98
|
applicationFileId: string;
|
|
98
99
|
}
|
|
99
100
|
export interface IExtractArchiveApplicationFileAdminQuery {
|
|
100
101
|
should_delete_original_file?: boolean;
|
|
101
102
|
}
|
|
102
|
-
export interface ICompressArchiveApplicationFileAdminParams
|
|
103
|
+
export interface ICompressArchiveApplicationFileAdminParams {
|
|
103
104
|
applicationId: string;
|
|
104
105
|
}
|
|
105
106
|
export interface ICompressArchiveApplicationFileAdminBody {
|
|
@@ -123,10 +124,10 @@ export interface IUpdateBucketApplicationFileAdminBody {
|
|
|
123
124
|
bucket: string;
|
|
124
125
|
applicationFileIds: string[];
|
|
125
126
|
}
|
|
126
|
-
export interface IExtractMetadataApplicationFileAdminParams
|
|
127
|
+
export interface IExtractMetadataApplicationFileAdminParams {
|
|
127
128
|
applicationFileId: string;
|
|
128
129
|
}
|
|
129
|
-
export interface ISaveFreepikApplicationFileAdminParams
|
|
130
|
+
export interface ISaveFreepikApplicationFileAdminParams {
|
|
130
131
|
applicationId: string;
|
|
131
132
|
resourceId: string;
|
|
132
133
|
}
|
|
@@ -139,6 +140,6 @@ export interface ISaveFreepikApplicationFileAdminBody {
|
|
|
139
140
|
bucket?: string;
|
|
140
141
|
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
141
142
|
}
|
|
142
|
-
export interface IOcrReceiptApplicationFileAdminParams
|
|
143
|
+
export interface IOcrReceiptApplicationFileAdminParams {
|
|
143
144
|
applicationFileId: string;
|
|
144
145
|
}
|
|
@@ -1,37 +1,36 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { Algorithm, PreSignUrlType } from '../../../enum';
|
|
3
2
|
import { ArchiveElement } from '../../dto';
|
|
4
3
|
import { QueryPaginate } from '../type-message/base-paginate';
|
|
5
|
-
export interface IUploadApplicationFileParams
|
|
4
|
+
export interface IUploadApplicationFileParams {
|
|
6
5
|
token: string;
|
|
7
6
|
}
|
|
8
7
|
export interface IUploadApplicationFileQuery {
|
|
9
8
|
should_skip_await_webhook_delivery?: boolean;
|
|
10
9
|
}
|
|
11
|
-
export interface IDownloadApplicationFileParams
|
|
10
|
+
export interface IDownloadApplicationFileParams {
|
|
12
11
|
token: string;
|
|
13
12
|
}
|
|
14
|
-
export interface IDownloadWithPublicAccessIdApplicationFileParams
|
|
13
|
+
export interface IDownloadWithPublicAccessIdApplicationFileParams {
|
|
15
14
|
publicAccessId: string;
|
|
16
15
|
}
|
|
17
|
-
export interface IWriteApplicationFileParams
|
|
16
|
+
export interface IWriteApplicationFileParams {
|
|
18
17
|
token: string;
|
|
19
18
|
}
|
|
20
19
|
export interface IWriteApplicationFileQuery {
|
|
21
20
|
should_skip_await_webhook_delivery?: boolean;
|
|
22
21
|
do_not_delete_thumbnails?: boolean;
|
|
23
22
|
}
|
|
24
|
-
export interface IDeleteApplicationFileParams
|
|
23
|
+
export interface IDeleteApplicationFileParams {
|
|
25
24
|
applicationId: string;
|
|
26
25
|
applicationFileId: string;
|
|
27
26
|
}
|
|
28
|
-
export interface IDeleteMultipleApplicationFileParams
|
|
27
|
+
export interface IDeleteMultipleApplicationFileParams {
|
|
29
28
|
applicationId: string;
|
|
30
29
|
}
|
|
31
30
|
export interface IDeleteMultipleApplicationFileBody {
|
|
32
31
|
applicationFileIds: string[];
|
|
33
32
|
}
|
|
34
|
-
export interface IDuplicateApplicationFileParams
|
|
33
|
+
export interface IDuplicateApplicationFileParams {
|
|
35
34
|
applicationId: string;
|
|
36
35
|
applicationFileId: string;
|
|
37
36
|
}
|
|
@@ -42,8 +41,9 @@ export interface IDuplicateApplicationFileBody {
|
|
|
42
41
|
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
43
42
|
customPublicAccessId?: string | null;
|
|
44
43
|
publicAccessPassword?: string;
|
|
44
|
+
regeneratePublicAccessId?: boolean;
|
|
45
45
|
}
|
|
46
|
-
export interface IDuplicateMultipleApplicationFileParams
|
|
46
|
+
export interface IDuplicateMultipleApplicationFileParams {
|
|
47
47
|
applicationId: string;
|
|
48
48
|
}
|
|
49
49
|
export interface IDuplicateMultipleApplicationFileBody {
|
|
@@ -55,13 +55,14 @@ export interface IDuplicateMultipleApplicationFileBody {
|
|
|
55
55
|
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
56
56
|
customPublicAccessId?: string | null;
|
|
57
57
|
publicAccessPassword?: string;
|
|
58
|
+
regeneratePublicAccessId?: boolean;
|
|
58
59
|
}[];
|
|
59
60
|
}
|
|
60
|
-
export interface IGetApplicationFileParams
|
|
61
|
+
export interface IGetApplicationFileParams {
|
|
61
62
|
applicationId: string;
|
|
62
63
|
applicationFileId: string;
|
|
63
64
|
}
|
|
64
|
-
export interface IUpdateApplicationFileParams
|
|
65
|
+
export interface IUpdateApplicationFileParams {
|
|
65
66
|
applicationId: string;
|
|
66
67
|
applicationFileId: string;
|
|
67
68
|
}
|
|
@@ -72,7 +73,7 @@ export interface IUpdateApplicationFileBody {
|
|
|
72
73
|
tag?: string[];
|
|
73
74
|
bucket?: string;
|
|
74
75
|
}
|
|
75
|
-
export interface IEncryptApplicationFileParams
|
|
76
|
+
export interface IEncryptApplicationFileParams {
|
|
76
77
|
applicationId: string;
|
|
77
78
|
applicationFileId: string;
|
|
78
79
|
}
|
|
@@ -80,7 +81,7 @@ export interface IEncryptApplicationFileBody {
|
|
|
80
81
|
algorithm: Algorithm;
|
|
81
82
|
password: string;
|
|
82
83
|
}
|
|
83
|
-
export interface IDecryptApplicationFileParams
|
|
84
|
+
export interface IDecryptApplicationFileParams {
|
|
84
85
|
applicationId: string;
|
|
85
86
|
applicationFileId: string;
|
|
86
87
|
}
|
|
@@ -96,7 +97,7 @@ export interface ThumbnailPreSignUrlApplicationFileBody {
|
|
|
96
97
|
resolution?: ResolutionPreSignUrlApplicationFileBody;
|
|
97
98
|
customPublicAccessId?: string | null;
|
|
98
99
|
}
|
|
99
|
-
export interface IGetPreSignUrlApplicationFileParams
|
|
100
|
+
export interface IGetPreSignUrlApplicationFileParams {
|
|
100
101
|
applicationId: string;
|
|
101
102
|
}
|
|
102
103
|
export type IUploadGetPreSignUrlApplicationFileBody = {
|
|
@@ -154,14 +155,14 @@ export type IUnsetPublicAccessApplicationFileParams = {
|
|
|
154
155
|
applicationId: string;
|
|
155
156
|
applicationFileId: string;
|
|
156
157
|
};
|
|
157
|
-
export interface IExtractArchiveApplicationFileParams
|
|
158
|
+
export interface IExtractArchiveApplicationFileParams {
|
|
158
159
|
applicationId: string;
|
|
159
160
|
applicationFileId: string;
|
|
160
161
|
}
|
|
161
162
|
export interface IExtractArchiveApplicationFileQuery {
|
|
162
163
|
should_delete_original_file?: boolean;
|
|
163
164
|
}
|
|
164
|
-
export interface ICompressArchiveApplicationFileParams
|
|
165
|
+
export interface ICompressArchiveApplicationFileParams {
|
|
165
166
|
applicationId: string;
|
|
166
167
|
}
|
|
167
168
|
export interface ICompressArchiveApplicationFileBody {
|
|
@@ -171,35 +172,35 @@ export interface ICompressArchiveApplicationFileBody {
|
|
|
171
172
|
export interface ICompressArchiveApplicationFileQuery {
|
|
172
173
|
should_delete_original_file?: boolean;
|
|
173
174
|
}
|
|
174
|
-
export interface IDeleteBucketApplicationFileParams
|
|
175
|
+
export interface IDeleteBucketApplicationFileParams {
|
|
175
176
|
applicationId: string;
|
|
176
177
|
}
|
|
177
178
|
export interface IDeleteBucketApplicationFileBody {
|
|
178
179
|
bucket: string;
|
|
179
180
|
}
|
|
180
|
-
export interface IRenameBucketApplicationFileParams
|
|
181
|
+
export interface IRenameBucketApplicationFileParams {
|
|
181
182
|
applicationId: string;
|
|
182
183
|
}
|
|
183
184
|
export interface IRenameBucketApplicationFileBody {
|
|
184
185
|
bucket: string;
|
|
185
186
|
newBucket: string;
|
|
186
187
|
}
|
|
187
|
-
export interface IUpdateBucketApplicationFileParams
|
|
188
|
+
export interface IUpdateBucketApplicationFileParams {
|
|
188
189
|
applicationId: string;
|
|
189
190
|
}
|
|
190
191
|
export interface IUpdateBucketApplicationFileBody {
|
|
191
192
|
bucket: string;
|
|
192
193
|
applicationFileIds: string[];
|
|
193
194
|
}
|
|
194
|
-
export interface ICustomPublicAccessDownloadIdApplicationFileParams
|
|
195
|
+
export interface ICustomPublicAccessDownloadIdApplicationFileParams {
|
|
195
196
|
applicationId: string;
|
|
196
197
|
applicationFileCustomPublicAccessId: string;
|
|
197
198
|
}
|
|
198
|
-
export interface IExtractMetadataApplicationFileParams
|
|
199
|
+
export interface IExtractMetadataApplicationFileParams {
|
|
199
200
|
applicationId: string;
|
|
200
201
|
applicationFileId: string;
|
|
201
202
|
}
|
|
202
|
-
export interface IUploadFromUrlApplicationFileParams
|
|
203
|
+
export interface IUploadFromUrlApplicationFileParams {
|
|
203
204
|
applicationId: string;
|
|
204
205
|
}
|
|
205
206
|
export interface IUploadFromUrlApplicationFileBody {
|
|
@@ -213,7 +214,7 @@ export interface IUploadFromUrlApplicationFileBody {
|
|
|
213
214
|
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
214
215
|
maxSizeOctet?: number;
|
|
215
216
|
}
|
|
216
|
-
export interface ISaveFreepikApplicationFileParams
|
|
217
|
+
export interface ISaveFreepikApplicationFileParams {
|
|
217
218
|
applicationId: string;
|
|
218
219
|
resourceId: string;
|
|
219
220
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { WebhookType } from '../../../enum';
|
|
3
2
|
import { QueryPaginate } from '..';
|
|
4
|
-
export interface IGetApplicationWebhookHistoryAdminParams
|
|
3
|
+
export interface IGetApplicationWebhookHistoryAdminParams {
|
|
5
4
|
applicationWebhookHistoryId: string;
|
|
6
5
|
}
|
|
7
6
|
export type IPaginateApplicationWebhookHistoryAdminQuery = {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { WebhookType } from '../../../enum';
|
|
3
2
|
import { QueryPaginate } from '..';
|
|
4
|
-
export interface IGetApplicationWebhookHistoryParams
|
|
3
|
+
export interface IGetApplicationWebhookHistoryParams {
|
|
5
4
|
applicationId: string;
|
|
6
5
|
applicationWebhookHistoryId: string;
|
|
7
6
|
}
|
|
8
|
-
export interface IPaginateApplicationWebhookHistoryParams
|
|
7
|
+
export interface IPaginateApplicationWebhookHistoryParams {
|
|
9
8
|
applicationId: string;
|
|
10
9
|
}
|
|
11
10
|
export type IPaginateApplicationWebhookHistoryQuery = {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { QueryPaginate } from '..';
|
|
3
|
-
export interface IGetApplicationWebhookAdminParams
|
|
2
|
+
export interface IGetApplicationWebhookAdminParams {
|
|
4
3
|
applicationWebhookId: string;
|
|
5
4
|
}
|
|
6
|
-
export interface IDeleteApplicationWebhookAdminParams
|
|
5
|
+
export interface IDeleteApplicationWebhookAdminParams {
|
|
7
6
|
applicationWebhookId: string;
|
|
8
7
|
}
|
|
9
|
-
export interface IUpdateApplicationWebhookAdminParams
|
|
8
|
+
export interface IUpdateApplicationWebhookAdminParams {
|
|
10
9
|
applicationWebhookId: string;
|
|
11
10
|
}
|
|
12
11
|
export interface IUpdateApplicationWebhookAdminBody {
|
|
@@ -15,7 +14,7 @@ export interface IUpdateApplicationWebhookAdminBody {
|
|
|
15
14
|
isEnabled?: boolean;
|
|
16
15
|
description?: string;
|
|
17
16
|
}
|
|
18
|
-
export interface ICreateApplicationWebhookAdminParams
|
|
17
|
+
export interface ICreateApplicationWebhookAdminParams {
|
|
19
18
|
applicationId: string;
|
|
20
19
|
}
|
|
21
20
|
export interface ICreateApplicationWebhookAdminBody {
|
|
@@ -24,7 +23,7 @@ export interface ICreateApplicationWebhookAdminBody {
|
|
|
24
23
|
isEnabled: boolean;
|
|
25
24
|
description?: string;
|
|
26
25
|
}
|
|
27
|
-
export interface IResetSecretApplicationWebhookAdminParams
|
|
26
|
+
export interface IResetSecretApplicationWebhookAdminParams {
|
|
28
27
|
applicationWebhookId: string;
|
|
29
28
|
}
|
|
30
29
|
export type IPaginateApplicationWebhookAdminQuery = {
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { WebhookType } from '../../../enum';
|
|
3
2
|
import { QueryPaginate } from '..';
|
|
4
|
-
export interface IGetApplicationWebhookParams
|
|
3
|
+
export interface IGetApplicationWebhookParams {
|
|
5
4
|
applicationId: string;
|
|
6
5
|
applicationWebhookId: string;
|
|
7
6
|
}
|
|
8
|
-
export interface IDeleteApplicationWebhookParams
|
|
7
|
+
export interface IDeleteApplicationWebhookParams {
|
|
9
8
|
applicationId: string;
|
|
10
9
|
applicationWebhookId: string;
|
|
11
10
|
}
|
|
12
|
-
export interface IUpdateApplicationWebhookParams
|
|
11
|
+
export interface IUpdateApplicationWebhookParams {
|
|
13
12
|
applicationId: string;
|
|
14
13
|
applicationWebhookId: string;
|
|
15
14
|
}
|
|
@@ -20,7 +19,7 @@ export interface IUpdateApplicationWebhookBody {
|
|
|
20
19
|
description?: string;
|
|
21
20
|
scopes?: WebhookType[];
|
|
22
21
|
}
|
|
23
|
-
export interface ICreateApplicationWebhookParams
|
|
22
|
+
export interface ICreateApplicationWebhookParams {
|
|
24
23
|
applicationId: string;
|
|
25
24
|
}
|
|
26
25
|
export interface ICreateApplicationWebhookBody {
|
|
@@ -30,11 +29,11 @@ export interface ICreateApplicationWebhookBody {
|
|
|
30
29
|
description?: string;
|
|
31
30
|
scopes?: WebhookType[];
|
|
32
31
|
}
|
|
33
|
-
export interface IResetSecretApplicationWebhookParams
|
|
32
|
+
export interface IResetSecretApplicationWebhookParams {
|
|
34
33
|
applicationId: string;
|
|
35
34
|
applicationWebhookId: string;
|
|
36
35
|
}
|
|
37
|
-
export interface IPaginateApplicationWebhookParams
|
|
36
|
+
export interface IPaginateApplicationWebhookParams {
|
|
38
37
|
applicationId: string;
|
|
39
38
|
}
|
|
40
39
|
export type IPaginateApplicationWebhookQuery = {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { QueryPaginate } from '..';
|
|
3
|
-
export interface IGetApplicationAdminParams
|
|
2
|
+
export interface IGetApplicationAdminParams {
|
|
4
3
|
applicationId: string;
|
|
5
4
|
}
|
|
6
5
|
export interface IGetMetricsApplicationAdminBody {
|
|
@@ -11,6 +10,6 @@ export type ICreateApplicationAdminBody = {
|
|
|
11
10
|
projectId: string;
|
|
12
11
|
externalApplicationId: string;
|
|
13
12
|
};
|
|
14
|
-
export interface IDeleteApplicationAdminParams
|
|
13
|
+
export interface IDeleteApplicationAdminParams {
|
|
15
14
|
applicationId: string;
|
|
16
15
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export interface IGetApplicationParams extends core.ParamsDictionary {
|
|
1
|
+
export interface IGetApplicationParams {
|
|
3
2
|
applicationId: string;
|
|
4
3
|
}
|
|
5
|
-
export interface IGetMetricsApplicationParams
|
|
4
|
+
export interface IGetMetricsApplicationParams {
|
|
6
5
|
applicationId: string;
|
|
7
6
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { PictureCollectionType } from '../../../enum';
|
|
3
2
|
export interface ISearchFreepikCollectionQuery {
|
|
4
3
|
search?: string;
|
|
5
4
|
type?: PictureCollectionType;
|
|
6
5
|
page?: number;
|
|
7
6
|
}
|
|
8
|
-
export interface IGetDownloadUrlFreepikCollectionParams
|
|
7
|
+
export interface IGetDownloadUrlFreepikCollectionParams {
|
|
9
8
|
resourceId: string;
|
|
10
9
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { StreamMediaType } from '../../../enum';
|
|
3
2
|
import { QueryPaginate } from '..';
|
|
4
3
|
export type IPaginateStreamMediaAdminQuery = {
|
|
@@ -6,20 +5,20 @@ export type IPaginateStreamMediaAdminQuery = {
|
|
|
6
5
|
type?: StreamMediaType[];
|
|
7
6
|
isTranscoded?: boolean;
|
|
8
7
|
} & QueryPaginate;
|
|
9
|
-
export interface IGetStreamMediaAdminParams
|
|
8
|
+
export interface IGetStreamMediaAdminParams {
|
|
10
9
|
streamMediaId: string;
|
|
11
10
|
}
|
|
12
|
-
export interface IUpdateStreamMediaAdminParams
|
|
11
|
+
export interface IUpdateStreamMediaAdminParams {
|
|
13
12
|
streamMediaId: string;
|
|
14
13
|
}
|
|
15
14
|
export interface IUpdateStreamMediaAdminBody {
|
|
16
15
|
name?: string;
|
|
17
16
|
type?: StreamMediaType;
|
|
18
17
|
}
|
|
19
|
-
export interface IDeleteStreamMediaAdminParams
|
|
18
|
+
export interface IDeleteStreamMediaAdminParams {
|
|
20
19
|
streamMediaId: string;
|
|
21
20
|
}
|
|
22
|
-
export interface ITranscodeStreamMediaAdminParams
|
|
21
|
+
export interface ITranscodeStreamMediaAdminParams {
|
|
23
22
|
streamMediaId: string;
|
|
24
23
|
}
|
|
25
24
|
export type IUploadStreamMediaAdminQuery = {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import * as core from 'express-serve-static-core';
|
|
2
1
|
import { QueryPaginate } from '..';
|
|
3
2
|
export type IPaginateStreamMediaQuery = {
|
|
4
3
|
name?: string;
|
|
5
4
|
} & QueryPaginate;
|
|
6
|
-
export interface IGetStreamMediaParams
|
|
5
|
+
export interface IGetStreamMediaParams {
|
|
7
6
|
streamMediaId: string;
|
|
8
7
|
}
|
|
9
|
-
export interface IReadStreamMediaParams
|
|
8
|
+
export interface IReadStreamMediaParams {
|
|
10
9
|
streamMediaId: string;
|
|
11
10
|
element: string;
|
|
12
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abyss-project/storage",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Core package to interact with Abyss-Storage",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"axios-retry": "^3.4.0",
|
|
17
17
|
"dayjs": "^1.10.7",
|
|
18
18
|
"form-data": "^4.0.0",
|
|
19
|
-
"mindee": "^4.
|
|
19
|
+
"mindee": "^4.30.0",
|
|
20
20
|
"uuid": "^9.0.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|