@abyss-project/storage 1.0.5 → 1.0.7
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 +13 -14
- package/dist/types/interface/api/requests/application-file.request.d.ts +23 -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 {
|
|
@@ -30,10 +29,10 @@ export interface IDuplicateMultipleApplicationFileAdminBody {
|
|
|
30
29
|
publicAccessPassword?: string;
|
|
31
30
|
}[];
|
|
32
31
|
}
|
|
33
|
-
export interface IGetApplicationFileAdminParams
|
|
32
|
+
export interface IGetApplicationFileAdminParams {
|
|
34
33
|
applicationFileId: string;
|
|
35
34
|
}
|
|
36
|
-
export interface IUpdateApplicationFileAdminParams
|
|
35
|
+
export interface IUpdateApplicationFileAdminParams {
|
|
37
36
|
applicationFileId: string;
|
|
38
37
|
}
|
|
39
38
|
export interface IUpdateApplicationFileAdminBody {
|
|
@@ -42,17 +41,17 @@ export interface IUpdateApplicationFileAdminBody {
|
|
|
42
41
|
bucket?: string;
|
|
43
42
|
customPublicAccessId?: string | null;
|
|
44
43
|
}
|
|
45
|
-
export interface IEncryptApplicationFileAdminParams
|
|
44
|
+
export interface IEncryptApplicationFileAdminParams {
|
|
46
45
|
applicationFileId: string;
|
|
47
46
|
}
|
|
48
|
-
export interface IEncryptApplicationFileAdminBody
|
|
47
|
+
export interface IEncryptApplicationFileAdminBody {
|
|
49
48
|
algorithm: Algorithm;
|
|
50
49
|
password: string;
|
|
51
50
|
}
|
|
52
|
-
export interface IDecryptApplicationFileAdminParams
|
|
51
|
+
export interface IDecryptApplicationFileAdminParams {
|
|
53
52
|
applicationFileId: string;
|
|
54
53
|
}
|
|
55
|
-
export interface IDecryptApplicationFileAdminBody
|
|
54
|
+
export interface IDecryptApplicationFileAdminBody {
|
|
56
55
|
password: string;
|
|
57
56
|
}
|
|
58
57
|
export type IGetPreSignUrlApplicationFileAdminBody = {
|
|
@@ -93,13 +92,13 @@ export type IResetPublicAccessApplicationFileAdminParams = {
|
|
|
93
92
|
export type IUnsetPublicAccessApplicationFileAdminParams = {
|
|
94
93
|
applicationFileId: string;
|
|
95
94
|
};
|
|
96
|
-
export interface IExtractArchiveApplicationFileAdminParams
|
|
95
|
+
export interface IExtractArchiveApplicationFileAdminParams {
|
|
97
96
|
applicationFileId: string;
|
|
98
97
|
}
|
|
99
98
|
export interface IExtractArchiveApplicationFileAdminQuery {
|
|
100
99
|
should_delete_original_file?: boolean;
|
|
101
100
|
}
|
|
102
|
-
export interface ICompressArchiveApplicationFileAdminParams
|
|
101
|
+
export interface ICompressArchiveApplicationFileAdminParams {
|
|
103
102
|
applicationId: string;
|
|
104
103
|
}
|
|
105
104
|
export interface ICompressArchiveApplicationFileAdminBody {
|
|
@@ -123,10 +122,10 @@ export interface IUpdateBucketApplicationFileAdminBody {
|
|
|
123
122
|
bucket: string;
|
|
124
123
|
applicationFileIds: string[];
|
|
125
124
|
}
|
|
126
|
-
export interface IExtractMetadataApplicationFileAdminParams
|
|
125
|
+
export interface IExtractMetadataApplicationFileAdminParams {
|
|
127
126
|
applicationFileId: string;
|
|
128
127
|
}
|
|
129
|
-
export interface ISaveFreepikApplicationFileAdminParams
|
|
128
|
+
export interface ISaveFreepikApplicationFileAdminParams {
|
|
130
129
|
applicationId: string;
|
|
131
130
|
resourceId: string;
|
|
132
131
|
}
|
|
@@ -139,6 +138,6 @@ export interface ISaveFreepikApplicationFileAdminBody {
|
|
|
139
138
|
bucket?: string;
|
|
140
139
|
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
141
140
|
}
|
|
142
|
-
export interface IOcrReceiptApplicationFileAdminParams
|
|
141
|
+
export interface IOcrReceiptApplicationFileAdminParams {
|
|
143
142
|
applicationFileId: string;
|
|
144
143
|
}
|
|
@@ -1,36 +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;
|
|
21
|
+
do_not_delete_thumbnails?: boolean;
|
|
22
22
|
}
|
|
23
|
-
export interface IDeleteApplicationFileParams
|
|
23
|
+
export interface IDeleteApplicationFileParams {
|
|
24
24
|
applicationId: string;
|
|
25
25
|
applicationFileId: string;
|
|
26
26
|
}
|
|
27
|
-
export interface IDeleteMultipleApplicationFileParams
|
|
27
|
+
export interface IDeleteMultipleApplicationFileParams {
|
|
28
28
|
applicationId: string;
|
|
29
29
|
}
|
|
30
30
|
export interface IDeleteMultipleApplicationFileBody {
|
|
31
31
|
applicationFileIds: string[];
|
|
32
32
|
}
|
|
33
|
-
export interface IDuplicateApplicationFileParams
|
|
33
|
+
export interface IDuplicateApplicationFileParams {
|
|
34
34
|
applicationId: string;
|
|
35
35
|
applicationFileId: string;
|
|
36
36
|
}
|
|
@@ -42,7 +42,7 @@ export interface IDuplicateApplicationFileBody {
|
|
|
42
42
|
customPublicAccessId?: string | null;
|
|
43
43
|
publicAccessPassword?: string;
|
|
44
44
|
}
|
|
45
|
-
export interface IDuplicateMultipleApplicationFileParams
|
|
45
|
+
export interface IDuplicateMultipleApplicationFileParams {
|
|
46
46
|
applicationId: string;
|
|
47
47
|
}
|
|
48
48
|
export interface IDuplicateMultipleApplicationFileBody {
|
|
@@ -56,11 +56,11 @@ export interface IDuplicateMultipleApplicationFileBody {
|
|
|
56
56
|
publicAccessPassword?: string;
|
|
57
57
|
}[];
|
|
58
58
|
}
|
|
59
|
-
export interface IGetApplicationFileParams
|
|
59
|
+
export interface IGetApplicationFileParams {
|
|
60
60
|
applicationId: string;
|
|
61
61
|
applicationFileId: string;
|
|
62
62
|
}
|
|
63
|
-
export interface IUpdateApplicationFileParams
|
|
63
|
+
export interface IUpdateApplicationFileParams {
|
|
64
64
|
applicationId: string;
|
|
65
65
|
applicationFileId: string;
|
|
66
66
|
}
|
|
@@ -71,7 +71,7 @@ export interface IUpdateApplicationFileBody {
|
|
|
71
71
|
tag?: string[];
|
|
72
72
|
bucket?: string;
|
|
73
73
|
}
|
|
74
|
-
export interface IEncryptApplicationFileParams
|
|
74
|
+
export interface IEncryptApplicationFileParams {
|
|
75
75
|
applicationId: string;
|
|
76
76
|
applicationFileId: string;
|
|
77
77
|
}
|
|
@@ -79,7 +79,7 @@ export interface IEncryptApplicationFileBody {
|
|
|
79
79
|
algorithm: Algorithm;
|
|
80
80
|
password: string;
|
|
81
81
|
}
|
|
82
|
-
export interface IDecryptApplicationFileParams
|
|
82
|
+
export interface IDecryptApplicationFileParams {
|
|
83
83
|
applicationId: string;
|
|
84
84
|
applicationFileId: string;
|
|
85
85
|
}
|
|
@@ -95,7 +95,7 @@ export interface ThumbnailPreSignUrlApplicationFileBody {
|
|
|
95
95
|
resolution?: ResolutionPreSignUrlApplicationFileBody;
|
|
96
96
|
customPublicAccessId?: string | null;
|
|
97
97
|
}
|
|
98
|
-
export interface IGetPreSignUrlApplicationFileParams
|
|
98
|
+
export interface IGetPreSignUrlApplicationFileParams {
|
|
99
99
|
applicationId: string;
|
|
100
100
|
}
|
|
101
101
|
export type IUploadGetPreSignUrlApplicationFileBody = {
|
|
@@ -153,14 +153,14 @@ export type IUnsetPublicAccessApplicationFileParams = {
|
|
|
153
153
|
applicationId: string;
|
|
154
154
|
applicationFileId: string;
|
|
155
155
|
};
|
|
156
|
-
export interface IExtractArchiveApplicationFileParams
|
|
156
|
+
export interface IExtractArchiveApplicationFileParams {
|
|
157
157
|
applicationId: string;
|
|
158
158
|
applicationFileId: string;
|
|
159
159
|
}
|
|
160
160
|
export interface IExtractArchiveApplicationFileQuery {
|
|
161
161
|
should_delete_original_file?: boolean;
|
|
162
162
|
}
|
|
163
|
-
export interface ICompressArchiveApplicationFileParams
|
|
163
|
+
export interface ICompressArchiveApplicationFileParams {
|
|
164
164
|
applicationId: string;
|
|
165
165
|
}
|
|
166
166
|
export interface ICompressArchiveApplicationFileBody {
|
|
@@ -170,35 +170,35 @@ export interface ICompressArchiveApplicationFileBody {
|
|
|
170
170
|
export interface ICompressArchiveApplicationFileQuery {
|
|
171
171
|
should_delete_original_file?: boolean;
|
|
172
172
|
}
|
|
173
|
-
export interface IDeleteBucketApplicationFileParams
|
|
173
|
+
export interface IDeleteBucketApplicationFileParams {
|
|
174
174
|
applicationId: string;
|
|
175
175
|
}
|
|
176
176
|
export interface IDeleteBucketApplicationFileBody {
|
|
177
177
|
bucket: string;
|
|
178
178
|
}
|
|
179
|
-
export interface IRenameBucketApplicationFileParams
|
|
179
|
+
export interface IRenameBucketApplicationFileParams {
|
|
180
180
|
applicationId: string;
|
|
181
181
|
}
|
|
182
182
|
export interface IRenameBucketApplicationFileBody {
|
|
183
183
|
bucket: string;
|
|
184
184
|
newBucket: string;
|
|
185
185
|
}
|
|
186
|
-
export interface IUpdateBucketApplicationFileParams
|
|
186
|
+
export interface IUpdateBucketApplicationFileParams {
|
|
187
187
|
applicationId: string;
|
|
188
188
|
}
|
|
189
189
|
export interface IUpdateBucketApplicationFileBody {
|
|
190
190
|
bucket: string;
|
|
191
191
|
applicationFileIds: string[];
|
|
192
192
|
}
|
|
193
|
-
export interface ICustomPublicAccessDownloadIdApplicationFileParams
|
|
193
|
+
export interface ICustomPublicAccessDownloadIdApplicationFileParams {
|
|
194
194
|
applicationId: string;
|
|
195
195
|
applicationFileCustomPublicAccessId: string;
|
|
196
196
|
}
|
|
197
|
-
export interface IExtractMetadataApplicationFileParams
|
|
197
|
+
export interface IExtractMetadataApplicationFileParams {
|
|
198
198
|
applicationId: string;
|
|
199
199
|
applicationFileId: string;
|
|
200
200
|
}
|
|
201
|
-
export interface IUploadFromUrlApplicationFileParams
|
|
201
|
+
export interface IUploadFromUrlApplicationFileParams {
|
|
202
202
|
applicationId: string;
|
|
203
203
|
}
|
|
204
204
|
export interface IUploadFromUrlApplicationFileBody {
|
|
@@ -212,7 +212,7 @@ export interface IUploadFromUrlApplicationFileBody {
|
|
|
212
212
|
thumbnail?: ThumbnailPreSignUrlApplicationFileBody;
|
|
213
213
|
maxSizeOctet?: number;
|
|
214
214
|
}
|
|
215
|
-
export interface ISaveFreepikApplicationFileParams
|
|
215
|
+
export interface ISaveFreepikApplicationFileParams {
|
|
216
216
|
applicationId: string;
|
|
217
217
|
resourceId: string;
|
|
218
218
|
}
|
|
@@ -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.7",
|
|
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": {
|