jourycms-sdk 1.0.1 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/dist/containers/content/clients/article-types.client.d.ts +1 -1
  2. package/dist/containers/content/clients/article-types.client.d.ts.map +1 -1
  3. package/dist/containers/content/clients/article-types.client.js +6 -6
  4. package/dist/containers/content/clients/articles.client.d.ts +2 -2
  5. package/dist/containers/content/clients/articles.client.d.ts.map +1 -1
  6. package/dist/containers/content/clients/articles.client.js +6 -6
  7. package/dist/containers/content/clients/taxonomies.client.d.ts +1 -1
  8. package/dist/containers/content/clients/taxonomies.client.d.ts.map +1 -1
  9. package/dist/containers/content/clients/taxonomies.client.js +3 -3
  10. package/dist/containers/content/clients/terms.client.d.ts +1 -1
  11. package/dist/containers/content/clients/terms.client.d.ts.map +1 -1
  12. package/dist/containers/content/clients/terms.client.js +3 -3
  13. package/package.json +1 -1
  14. package/typings/v1/cache-manager/entity.d.ts +9 -18
  15. package/typings/v1/events/payloads.d.ts +85 -85
  16. package/typings/v1/lib/execution-scenario/index.d.ts +1 -1
  17. package/typings/v1/modules/express/express.d.ts +6 -6
  18. package/typings/v1/sdk/sdk.d.ts +9 -9
  19. package/typings/v1/security/auth-data.d.ts +3 -3
  20. package/typings/v1/security/jwt.d.ts +2 -2
  21. package/typings/v1/services/auth/api/api-key.d.ts +14 -14
  22. package/typings/v1/services/auth/api/auth.d.ts +21 -21
  23. package/typings/v1/services/auth/api/permission-group.d.ts +13 -13
  24. package/typings/v1/services/auth/api/permission.d.ts +17 -17
  25. package/typings/v1/services/auth/api/role.d.ts +27 -27
  26. package/typings/v1/services/auth/api/tools.d.ts +1 -1
  27. package/typings/v1/services/auth/api/user.d.ts +51 -51
  28. package/typings/v1/services/auth/entities/user.d.ts +1 -1
  29. package/typings/v1/services/storage/api/uploaded-file.d.ts +16 -16
  30. package/typings/v1/services/system/api/app.d.ts +12 -12
  31. package/typings/v1/services/system/entities/app.d.ts +2 -2
  32. package/typings/v1/ui/forms/article/custom-fieds/custom-field.d.ts +2 -2
  33. package/typings/v1/utils/api/request.d.ts +13 -13
  34. package/typings/v1/utils/api/response.d.ts +1 -1
  35. package/typings/v1/utils/dev/instrumentation.d.ts +5 -5
  36. package/typings/v1/utils/system/models.d.ts +70 -11
@@ -10,14 +10,14 @@ declare module Levelup {
10
10
  * --------------------------------------------------------------------------
11
11
  * @link
12
12
  * @fires UsersService.Create
13
- * @param {Levelup.V2.Users.Api.Users.Create.Request} query
14
- * @returns {Levelup.V2.Users.Api.Users.Create.Response}
13
+ * @param {Levelup.CMS.V1.Users.Api.Users.Create.Request} query
14
+ * @returns {Levelup.CMS.V1.Users.Api.Users.Create.Response}
15
15
  * @method POST
16
16
  *
17
17
  */
18
18
  export namespace Create {
19
19
  export type Request =
20
- Levelup.V2.Utils.Api.Request.BuildCreateRequest<Entity.User>;
20
+ Levelup.CMS.V1.Utils.Api.Request.BuildCreateRequest<Entity.User>;
21
21
  export type Response =
22
22
  Utils.Api.Response.BuildSingleItemResponse<Entity.ExposedUser>;
23
23
  }
@@ -28,14 +28,14 @@ declare module Levelup {
28
28
  * --------------------------------------------------------------------------
29
29
  * @link
30
30
  * @fires UsersService.Update
31
- * @param {Levelup.V2.Users.Api.Users.Update.Request} query
32
- * @returns {Levelup.V2.Users.Api.Users.Update.Response}
31
+ * @param {Levelup.CMS.V1.Users.Api.Users.Update.Request} query
32
+ * @returns {Levelup.CMS.V1.Users.Api.Users.Update.Response}
33
33
  * @method PUT
34
34
  *
35
35
  */
36
36
  export namespace Update {
37
37
  export type Request =
38
- Levelup.V2.Utils.Api.Request.BuildUpdateRequest<Entity.User>;
38
+ Levelup.CMS.V1.Utils.Api.Request.BuildUpdateRequest<Entity.User>;
39
39
  export type Response =
40
40
  Utils.Api.Response.BuildSingleItemResponse<Entity.ExposedUser>;
41
41
  }
@@ -46,15 +46,15 @@ declare module Levelup {
46
46
  * --------------------------------------------------------------------------
47
47
  * @link
48
48
  * @fires UsersService.UpdateProfile
49
- * @param {Levelup.V2.Users.Api.Users.UpdateProfile.Request} query
50
- * @returns {Levelup.V2.Users.Api.Users.UpdateProfile.Response}
49
+ * @param {Levelup.CMS.V1.Users.Api.Users.UpdateProfile.Request} query
50
+ * @returns {Levelup.CMS.V1.Users.Api.Users.UpdateProfile.Response}
51
51
  * @method PUT
52
52
  * @link /profile/:id
53
53
  *
54
54
  */
55
55
  export namespace UpdateProfile {
56
56
  export type Request =
57
- Levelup.V2.Utils.Api.Request.BuildUpdateRequest<
57
+ Levelup.CMS.V1.Utils.Api.Request.BuildUpdateRequest<
58
58
  Entity.User["profile"]
59
59
  >;
60
60
  export type Response =
@@ -67,15 +67,15 @@ declare module Levelup {
67
67
  * --------------------------------------------------------------------------
68
68
  * @link
69
69
  * @fires UsersService.UpdatePreferences
70
- * @param {Levelup.V2.Users.Api.Users.UpdatePreferences.Request} query
71
- * @returns {Levelup.V2.Users.Api.Users.UpdatePreferences.Response}
70
+ * @param {Levelup.CMS.V1.Users.Api.Users.UpdatePreferences.Request} query
71
+ * @returns {Levelup.CMS.V1.Users.Api.Users.UpdatePreferences.Response}
72
72
  * @method PUT
73
73
  * @link /preferences/:id
74
74
  *
75
75
  */
76
76
  export namespace UpdatePreferences {
77
77
  export type Request =
78
- Levelup.V2.Utils.Api.Request.BuildUpdateRequest<
78
+ Levelup.CMS.V1.Utils.Api.Request.BuildUpdateRequest<
79
79
  Entity.User["preferences"]
80
80
  >;
81
81
  export type Response =
@@ -89,13 +89,13 @@ declare module Levelup {
89
89
  * @method PUT
90
90
  * @link /api/v2/users/:id/update-login-info
91
91
  * @fires UsersService.updateLoginInfo
92
- * @param {Levelup.V2.Users.Api.Users.UpdateLoginInfo.Request} query
93
- * @returns {Levelup.V2.Users.Api.Users.UpdateLoginInfo.Response}
92
+ * @param {Levelup.CMS.V1.Users.Api.Users.UpdateLoginInfo.Request} query
93
+ * @returns {Levelup.CMS.V1.Users.Api.Users.UpdateLoginInfo.Response}
94
94
  *
95
95
  */
96
96
  export namespace UpdateLoginInfo {
97
97
  export type Request =
98
- Levelup.V2.Utils.Api.Request.BuildUpdateRequest<{
98
+ Levelup.CMS.V1.Utils.Api.Request.BuildUpdateRequest<{
99
99
  email: string | undefined;
100
100
  password: string;
101
101
  }>;
@@ -109,14 +109,14 @@ declare module Levelup {
109
109
  * --------------------------------------------------------------------------
110
110
  * @link
111
111
  * @fires UsersService.UpdateSettings
112
- * @param {Levelup.V2.Users.Api.Users.UpdateSettings.Request} query
113
- * @returns {Levelup.V2.Users.Api.Users.UpdateSettings.Response}
112
+ * @param {Levelup.CMS.V1.Users.Api.Users.UpdateSettings.Request} query
113
+ * @returns {Levelup.CMS.V1.Users.Api.Users.UpdateSettings.Response}
114
114
  * @method PUT
115
115
  *
116
116
  */
117
117
  export namespace UpdateSettings {
118
118
  export type Request =
119
- Levelup.V2.Utils.Api.Request.BuildUpdateRequest<{
119
+ Levelup.CMS.V1.Utils.Api.Request.BuildUpdateRequest<{
120
120
  userPreferences?: Partial<Entity.IUserPreferences>;
121
121
  delivererSettings?: Entity.IDelivererSettings;
122
122
  }>;
@@ -133,13 +133,13 @@ declare module Levelup {
133
133
  * --------------------------------------------------------------------------
134
134
  * @link
135
135
  * @fires UsersService.Delete
136
- * @param {Levelup.V2.Users.Api.Users.Delete.Request} query
137
- * @returns {Levelup.V2.Users.Api.Users.Delete.Response}
136
+ * @param {Levelup.CMS.V1.Users.Api.Users.Delete.Request} query
137
+ * @returns {Levelup.CMS.V1.Users.Api.Users.Delete.Response}
138
138
  * @method DELETE
139
139
  *
140
140
  */
141
141
  export namespace Delete {
142
- export type Request = Levelup.V2.Utils.Api.Request.Build<
142
+ export type Request = Levelup.CMS.V1.Utils.Api.Request.Build<
143
143
  Record<string, never>
144
144
  >;
145
145
  export type Response = Utils.Api.Response.DefaultDeleteResponse;
@@ -151,13 +151,13 @@ declare module Levelup {
151
151
  * --------------------------------------------------------------------------
152
152
  * @link
153
153
  * @fires UsersService.BulkDelete
154
- * @param {Levelup.V2.Users.Api.Users.BulkDelete.Request} query
155
- * @returns {Levelup.V2.Users.Api.Users.BulkDelete.Response}
154
+ * @param {Levelup.CMS.V1.Users.Api.Users.BulkDelete.Request} query
155
+ * @returns {Levelup.CMS.V1.Users.Api.Users.BulkDelete.Response}
156
156
  * @method DELETE
157
157
  *
158
158
  */
159
159
  export namespace BulkDelete {
160
- export type Request = Levelup.V2.Utils.Api.Request.Build<{
160
+ export type Request = Levelup.CMS.V1.Utils.Api.Request.Build<{
161
161
  items: string[];
162
162
  hard?: boolean;
163
163
  }>;
@@ -171,14 +171,14 @@ declare module Levelup {
171
171
  * @method GET
172
172
  * @link /api/v2/users/:id
173
173
  * @fires UsersService.One
174
- * @param {Levelup.V2.Users.Api.Users.GetOne.Request} query
175
- * @returns {Levelup.V2.Users.Api.Users.GetOne.Response}
174
+ * @param {Levelup.CMS.V1.Users.Api.Users.GetOne.Request} query
175
+ * @returns {Levelup.CMS.V1.Users.Api.Users.GetOne.Response}
176
176
  *
177
177
  */
178
178
  export namespace GetOne {
179
179
  export type Scope = "autocomplete";
180
180
 
181
- export type Request = Levelup.V2.Utils.Api.Request.Build<
181
+ export type Request = Levelup.CMS.V1.Utils.Api.Request.Build<
182
182
  Record<string, unknown>
183
183
  >;
184
184
  export type Response =
@@ -191,8 +191,8 @@ declare module Levelup {
191
191
  * --------------------------------------------------------------------------
192
192
  * @link
193
193
  * @fires UsersService.List
194
- * @param {Levelup.V2.Users.Api.Users.List.Request} query
195
- * @returns {Levelup.V2.Users.Api.Users.List.Response}
194
+ * @param {Levelup.CMS.V1.Users.Api.Users.List.Request} query
195
+ * @returns {Levelup.CMS.V1.Users.Api.Users.List.Response}
196
196
  * @method GET
197
197
  *
198
198
  */
@@ -200,7 +200,7 @@ declare module Levelup {
200
200
  export type Scope = "";
201
201
 
202
202
  export type Request =
203
- Levelup.V2.Utils.Api.Request.BuildSearchablePagedSortableFilterableProjectable<Entity.ExposedUser> & {
203
+ Levelup.CMS.V1.Utils.Api.Request.BuildSearchablePagedSortableFilterableProjectable<Entity.ExposedUser> & {
204
204
  filters?: {
205
205
  store?: Utils.Common.ID | Utils.Common.ID[];
206
206
  office?: Utils.Common.ID | Utils.Common.ID[];
@@ -222,13 +222,13 @@ declare module Levelup {
222
222
  * @method PUT
223
223
  * @link /api/v2/users/:id/change-role
224
224
  * @fires UsersService.ChangeRole
225
- * @param {Levelup.V2.Users.Api.Users.ChangeRole.Request} query
226
- * @returns {Levelup.V2.Users.Api.Users.ChangeRole.Response}
225
+ * @param {Levelup.CMS.V1.Users.Api.Users.ChangeRole.Request} query
226
+ * @returns {Levelup.CMS.V1.Users.Api.Users.ChangeRole.Response}
227
227
  *
228
228
  */
229
229
  export namespace ChangeRole {
230
230
  export type Request =
231
- Levelup.V2.Utils.Api.Request.BuildUpdateRequest<{
231
+ Levelup.CMS.V1.Utils.Api.Request.BuildUpdateRequest<{
232
232
  user_id?: Utils.Common.ID;
233
233
  /**
234
234
  * Role name or ID
@@ -246,13 +246,13 @@ declare module Levelup {
246
246
  * @method PUT
247
247
  * @link /api/v2/users/:id/change-permissions
248
248
  * @fires Service.ChangePermissions
249
- * @param {Levelup.V2.Users.Api.Users.ChangePermissions.Request} query
250
- * @returns {Levelup.V2.Users.Api.Users.ChangePermissions.Response}
249
+ * @param {Levelup.CMS.V1.Users.Api.Users.ChangePermissions.Request} query
250
+ * @returns {Levelup.CMS.V1.Users.Api.Users.ChangePermissions.Response}
251
251
  *
252
252
  */
253
253
  export namespace ChangePermissions {
254
254
  export type Request =
255
- Levelup.V2.Utils.Api.Request.BuildUpdateRequest<{
255
+ Levelup.CMS.V1.Utils.Api.Request.BuildUpdateRequest<{
256
256
  user_id?: Utils.Common.ID;
257
257
  permissions: Utils.Common.ID[];
258
258
  }>;
@@ -267,13 +267,13 @@ declare module Levelup {
267
267
  * @method PUT
268
268
  * @link /api/v2/users/:id/change-suspend-status
269
269
  * @fires Service.ChangeSuspendStatus
270
- * @param {Levelup.V2.Users.Api.Users.ChangeSuspendStatus.Request} query
271
- * @returns {Levelup.V2.Users.Api.Users.ChangeSuspendStatus.Response}
270
+ * @param {Levelup.CMS.V1.Users.Api.Users.ChangeSuspendStatus.Request} query
271
+ * @returns {Levelup.CMS.V1.Users.Api.Users.ChangeSuspendStatus.Response}
272
272
  *
273
273
  */
274
274
  export namespace ChangeSuspendStatus {
275
275
  export type Request =
276
- Levelup.V2.Utils.Api.Request.BuildUpdateRequest<never>;
276
+ Levelup.CMS.V1.Utils.Api.Request.BuildUpdateRequest<never>;
277
277
  export type Response =
278
278
  Utils.Api.Response.BuildSingleItemResponse<Entity.ExposedUser>;
279
279
  }
@@ -285,13 +285,13 @@ declare module Levelup {
285
285
  * @method PUT
286
286
  * @link /api/v2/users/set-last-managed-store
287
287
  * @fires Service.SetLastManagedStore
288
- * @param {Levelup.V2.Users.Api.Users.SetLastManagedStore.Request} query
289
- * @returns {Levelup.V2.Users.Api.Users.SetLastManagedStore.Response}
288
+ * @param {Levelup.CMS.V1.Users.Api.Users.SetLastManagedStore.Request} query
289
+ * @returns {Levelup.CMS.V1.Users.Api.Users.SetLastManagedStore.Response}
290
290
  *
291
291
  */
292
292
  export namespace SetLastManagedStore {
293
293
  export type Request =
294
- Levelup.V2.Utils.Api.Request.BuildUpdateRequest<{
294
+ Levelup.CMS.V1.Utils.Api.Request.BuildUpdateRequest<{
295
295
  store_id: Utils.Common.ID;
296
296
  }>;
297
297
  export type Response =
@@ -305,13 +305,13 @@ declare module Levelup {
305
305
  * @method PUT
306
306
  * @link /api/v2/users/set-last-managed-office
307
307
  * @fires Service.SetLastManagedOffice
308
- * @param {Levelup.V2.Users.Api.Users.SetLastManagedOffice.Request} query
309
- * @returns {Levelup.V2.Users.Api.Users.SetLastManagedOffice.Response}
308
+ * @param {Levelup.CMS.V1.Users.Api.Users.SetLastManagedOffice.Request} query
309
+ * @returns {Levelup.CMS.V1.Users.Api.Users.SetLastManagedOffice.Response}
310
310
  *
311
311
  */
312
312
  export namespace SetLastManagedOffice {
313
313
  export type Request =
314
- Levelup.V2.Utils.Api.Request.BuildUpdateRequest<{
314
+ Levelup.CMS.V1.Utils.Api.Request.BuildUpdateRequest<{
315
315
  office1_id: Utils.Common.ID;
316
316
  }>;
317
317
  export type Response =
@@ -325,12 +325,12 @@ declare module Levelup {
325
325
  * @method GET
326
326
  * @link /api/v2/users/:id/permissions
327
327
  * @fires UsersService.listUserPermissions
328
- * @param {Levelup.V2.Users.Api.Users.ListUserPermissions.Request} query
329
- * @returns {Levelup.V2.Users.Api.Users.ListUserPermissions.Response}
328
+ * @param {Levelup.CMS.V1.Users.Api.Users.ListUserPermissions.Request} query
329
+ * @returns {Levelup.CMS.V1.Users.Api.Users.ListUserPermissions.Response}
330
330
  *
331
331
  */
332
332
  export namespace ListUserPermissions {
333
- export type Request = Levelup.V2.Utils.Api.Request.Build<
333
+ export type Request = Levelup.CMS.V1.Utils.Api.Request.Build<
334
334
  Record<string, unknown>
335
335
  >;
336
336
  export type Response =
@@ -353,11 +353,11 @@ declare module Levelup {
353
353
  * --------------------------------------------------------------------------
354
354
  * @link
355
355
  * @fires UsersService.GetInsightsHierarchySnapshotList
356
- * @param {Levelup.V2.Users.Api.Users.GetInsightsHierarchySnapshotList.Request}
357
- * @returns {Levelup.V2.Users.Api.Users.GetInsightsHierarchySnapshotList.Response}
356
+ * @param {Levelup.CMS.V1.Users.Api.Users.GetInsightsHierarchySnapshotList.Request}
357
+ * @returns {Levelup.CMS.V1.Users.Api.Users.GetInsightsHierarchySnapshotList.Response}
358
358
  */
359
359
  export namespace GetInsightsHierarchySnapshotList {
360
- export type Request = Levelup.V2.Utils.Api.Request.Build<
360
+ export type Request = Levelup.CMS.V1.Utils.Api.Request.Build<
361
361
  Record<string, unknown>
362
362
  >;
363
363
  type ItemDatum = {
@@ -24,7 +24,7 @@ declare module Levelup {
24
24
 
25
25
  export interface IUserPreferences {
26
26
  ui_mode?: UI.Mode;
27
- ui_language?: Levelup.V2.Cm.Translation.Entity.TLanguageCode;
27
+ ui_language?: Levelup.CMS.V1.Content.Translation.Entity.TLanguageCode;
28
28
  printer_format?: Reports.Settings.PrinterFormat;
29
29
  }
30
30
  export interface IDelivererData {
@@ -9,8 +9,8 @@ declare module Levelup {
9
9
  * --------------------------------------------------------------------------
10
10
  * @link
11
11
  * @fires UploadedFilesService.Upload
12
- * @param {Levelup.V2.Storage.Api.Upload.Request} query
13
- * @returns {Levelup.V2.Storage.Api.Upload.Response}
12
+ * @param {Levelup.CMS.V1.Storage.Api.Upload.Request} query
13
+ * @returns {Levelup.CMS.V1.Storage.Api.Upload.Response}
14
14
  * @method POST
15
15
  *
16
16
  */
@@ -26,8 +26,8 @@ declare module Levelup {
26
26
  * --------------------------------------------------------------------------
27
27
  * @link
28
28
  * @fires UploadedFilesService.LoadRemote
29
- * @param {Levelup.V2.Storage.Api.LoadRemote.Request} query
30
- * @returns {Levelup.V2.Storage.Api.LoadRemote.Response}
29
+ * @param {Levelup.CMS.V1.Storage.Api.LoadRemote.Request} query
30
+ * @returns {Levelup.CMS.V1.Storage.Api.LoadRemote.Response}
31
31
  * @method POST
32
32
  *
33
33
  */
@@ -46,8 +46,8 @@ declare module Levelup {
46
46
  * --------------------------------------------------------------------------
47
47
  * @link
48
48
  * @fires UploadedFilesService.Create
49
- * @param {Levelup.V2.Storage.Api.UploadedFiles.Create.Request} query
50
- * @returns {Levelup.V2.Storage.Api.UploadedFiles.Create.Response}
49
+ * @param {Levelup.CMS.V1.Storage.Api.UploadedFiles.Create.Request} query
50
+ * @returns {Levelup.CMS.V1.Storage.Api.UploadedFiles.Create.Response}
51
51
  * @method POST
52
52
  *
53
53
  */
@@ -64,8 +64,8 @@ declare module Levelup {
64
64
  * --------------------------------------------------------------------------
65
65
  * @link
66
66
  * @fires UploadedFilesService.Update
67
- * @param {Levelup.V2.Storage.Api.UploadedFiles.Update.Request} query
68
- * @returns {Levelup.V2.Storage.Api.UploadedFiles.Update.Response}
67
+ * @param {Levelup.CMS.V1.Storage.Api.UploadedFiles.Update.Request} query
68
+ * @returns {Levelup.CMS.V1.Storage.Api.UploadedFiles.Update.Response}
69
69
  * @method PUT
70
70
  *
71
71
  */
@@ -82,8 +82,8 @@ declare module Levelup {
82
82
  * --------------------------------------------------------------------------
83
83
  * @link
84
84
  * @fires UploadedFilesService.Delete
85
- * @param {Levelup.V2.Storage.Api.UploadedFiles.Delete.Request} query
86
- * @returns {Levelup.V2.Storage.Api.UploadedFiles.Delete.Response}
85
+ * @param {Levelup.CMS.V1.Storage.Api.UploadedFiles.Delete.Request} query
86
+ * @returns {Levelup.CMS.V1.Storage.Api.UploadedFiles.Delete.Response}
87
87
  * @method DELETE
88
88
  *
89
89
  */
@@ -97,8 +97,8 @@ declare module Levelup {
97
97
  * --------------------------------------------------------------------------
98
98
  * @link
99
99
  * @fires UploadedFilesService.BulkDelete
100
- * @param {Levelup.V2.Storage.Api.UploadedFiles.BulkDelete.Request} query
101
- * @returns {Levelup.V2.Storage.Api.UploadedFiles.BulkDelete.Response}
100
+ * @param {Levelup.CMS.V1.Storage.Api.UploadedFiles.BulkDelete.Request} query
101
+ * @returns {Levelup.CMS.V1.Storage.Api.UploadedFiles.BulkDelete.Response}
102
102
  * @method DELETE
103
103
  *
104
104
  */
@@ -118,8 +118,8 @@ declare module Levelup {
118
118
  * --------------------------------------------------------------------------
119
119
  * @link
120
120
  * @fires UploadedFilesService.GetOne
121
- * @param {Levelup.V2.Storage.Api.UploadedFiles.GetOne.Request} query
122
- * @returns {Levelup.V2.Storage.Api.UploadedFiles.GetOne.Response}
121
+ * @param {Levelup.CMS.V1.Storage.Api.UploadedFiles.GetOne.Request} query
122
+ * @returns {Levelup.CMS.V1.Storage.Api.UploadedFiles.GetOne.Response}
123
123
  * @method GET
124
124
  *
125
125
  */
@@ -138,8 +138,8 @@ declare module Levelup {
138
138
  * --------------------------------------------------------------------------
139
139
  * @link
140
140
  * @fires UploadedFilesService.List
141
- * @param {Levelup.V2.Storage.Api.UploadedFiles.List.Request} query
142
- * @returns {Levelup.V2.Storage.Api.UploadedFiles.List.Response}
141
+ * @param {Levelup.CMS.V1.Storage.Api.UploadedFiles.List.Request} query
142
+ * @returns {Levelup.CMS.V1.Storage.Api.UploadedFiles.List.Response}
143
143
  * @method GET
144
144
  *
145
145
  */
@@ -17,8 +17,8 @@ declare module Levelup {
17
17
  * --------------------------------------------------------------------------
18
18
  * @link
19
19
  * @fires AppsService.Create
20
- * @param {Levelup.V2.System.Api.Apps.Create.Request} query
21
- * @returns {Levelup.V2.System.Api.Apps.Create.Response}
20
+ * @param {Levelup.CMS.V1.System.Api.Apps.Create.Request} query
21
+ * @returns {Levelup.CMS.V1.System.Api.Apps.Create.Response}
22
22
  * @method POST
23
23
  *
24
24
  */
@@ -34,8 +34,8 @@ declare module Levelup {
34
34
  * --------------------------------------------------------------------------
35
35
  * @link
36
36
  * @fires AppsService.Update
37
- * @param {Levelup.V2.System.Api.Apps.Update.Request} query
38
- * @returns {Levelup.V2.System.Api.Apps.Update.Response}
37
+ * @param {Levelup.CMS.V1.System.Api.Apps.Update.Request} query
38
+ * @returns {Levelup.CMS.V1.System.Api.Apps.Update.Response}
39
39
  * @method PUT
40
40
  *
41
41
  */
@@ -50,8 +50,8 @@ declare module Levelup {
50
50
  * --------------------------------------------------------------------------
51
51
  * @link
52
52
  * @fires AppsService.Delete
53
- * @param {Levelup.V2.System.Api.Apps.Delete.Request} query
54
- * @returns {Levelup.V2.System.Api.Apps.Delete.Response}
53
+ * @param {Levelup.CMS.V1.System.Api.Apps.Delete.Request} query
54
+ * @returns {Levelup.CMS.V1.System.Api.Apps.Delete.Response}
55
55
  * @method DELETE
56
56
  *
57
57
  */
@@ -66,8 +66,8 @@ declare module Levelup {
66
66
  * --------------------------------------------------------------------------
67
67
  * @link
68
68
  * @fires AppsService.BulkDelete
69
- * @param {Levelup.V2.System.Api.Apps.BulkDelete.Request} query
70
- * @returns {Levelup.V2.System.Api.Apps.BulkDelete.Response}
69
+ * @param {Levelup.CMS.V1.System.Api.Apps.BulkDelete.Request} query
70
+ * @returns {Levelup.CMS.V1.System.Api.Apps.BulkDelete.Response}
71
71
  * @method DELETE
72
72
  *
73
73
  */
@@ -87,8 +87,8 @@ declare module Levelup {
87
87
  * --------------------------------------------------------------------------
88
88
  * @link
89
89
  * @fires AppsService.GetOne
90
- * @param {Levelup.V2.System.Api.Apps.GetOne.Request} query
91
- * @returns {Levelup.V2.System.Api.Apps.GetOne.Response}
90
+ * @param {Levelup.CMS.V1.System.Api.Apps.GetOne.Request} query
91
+ * @returns {Levelup.CMS.V1.System.Api.Apps.GetOne.Response}
92
92
  * @method GET
93
93
  *
94
94
  */
@@ -104,8 +104,8 @@ declare module Levelup {
104
104
  * --------------------------------------------------------------------------
105
105
  * @link
106
106
  * @fires AppsService.List
107
- * @param {Levelup.V2.System.Api.Apps.List.Request} query
108
- * @returns {Levelup.V2.System.Api.Apps.List.Response}
107
+ * @param {Levelup.CMS.V1.System.Api.Apps.List.Request} query
108
+ * @returns {Levelup.CMS.V1.System.Api.Apps.List.Response}
109
109
  * @method GET
110
110
  *
111
111
  */
@@ -26,11 +26,11 @@ declare module Levelup {
26
26
  /**
27
27
  * The default language for the app.
28
28
  */
29
- default_language: Levelup.V2.ContentManagement.Entity.TranslationManager.TLanguageCode;
29
+ default_language: Levelup.CMS.V1.Content.Translation.Entity.TLanguageCode;
30
30
  /**
31
31
  * The supported languages for the app.
32
32
  */
33
- supported_languages: Levelup.V2.ContentManagement.Entity.TranslationManager.TLanguageCode[];
33
+ supported_languages: Levelup.CMS.V1.Content.Translation.Entity.TLanguageCode[];
34
34
  };
35
35
  /**
36
36
  * The locations configuration.
@@ -19,8 +19,8 @@ declare module Levelup {
19
19
  type ExtendFieldProps<T> = T &
20
20
  Partial<{
21
21
  role_group:
22
- | Levelup.V2.Auth.Entity.TRoleGroup
23
- | Levelup.V2.Auth.Entity.TRoleGroup[];
22
+ | Levelup.CMS.V1.Auth.Entity.TRoleGroup
23
+ | Levelup.CMS.V1.Auth.Entity.TRoleGroup[];
24
24
  }>;
25
25
 
26
26
  export type Field<
@@ -17,11 +17,11 @@ declare module Levelup {
17
17
  page?: number;
18
18
  };
19
19
  type SortableRequestFields<T extends object> = {
20
- sort_by: Levelup.V2.Utils.DocumentProperties<T>;
20
+ sort_by: Levelup.CMS.V1.Utils.DocumentProperties<T>;
21
21
  sort: "desc" | "asc";
22
22
  };
23
23
  type Sortable<T extends object> = {
24
- sort_by?: Levelup.V2.Utils.DocumentProperties<T>;
24
+ sort_by?: Levelup.CMS.V1.Utils.DocumentProperties<T>;
25
25
  sort?: "desc" | "asc";
26
26
  };
27
27
  type Searchable = {
@@ -121,20 +121,20 @@ declare module Levelup {
121
121
  type BuildSearchablePagedFilterable<T> = Request<
122
122
  Searchable &
123
123
  Paged &
124
- Filterable<Levelup.V2.Utils.DocumentProperties<T>>
124
+ Filterable<Levelup.CMS.V1.Utils.DocumentProperties<T>>
125
125
  >;
126
126
  type BuildSearchablePagedFilterableProjectable<T extends object> =
127
127
  Request<
128
128
  Searchable &
129
129
  Paged &
130
- Filterable<Levelup.V2.Utils.DocumentProperties<T>> &
130
+ Filterable<Levelup.CMS.V1.Utils.DocumentProperties<T>> &
131
131
  Projectable<T>
132
132
  >;
133
133
  type BuildSearchablePagedSortableFilterable<T extends object> =
134
134
  Request<
135
135
  Searchable &
136
136
  Paged &
137
- Filterable<Levelup.V2.Utils.DocumentProperties<T>> &
137
+ Filterable<Levelup.CMS.V1.Utils.DocumentProperties<T>> &
138
138
  Sortable<T>
139
139
  >;
140
140
  type BuildSearchablePagedSortableFilterableProjectable<
@@ -142,16 +142,16 @@ declare module Levelup {
142
142
  > = Request<
143
143
  Searchable &
144
144
  Paged &
145
- Filterable<Levelup.V2.Utils.DocumentProperties<T>> &
146
- Filterable<Levelup.V2.Utils.DocumentProperties<T>> &
145
+ Filterable<Levelup.CMS.V1.Utils.DocumentProperties<T>> &
146
+ Filterable<Levelup.CMS.V1.Utils.DocumentProperties<T>> &
147
147
  Sortable<T> &
148
148
  Projectable<T>
149
149
  >;
150
150
  type BuildSortableFilterable<T extends object> = Request<
151
- Filterable<Levelup.V2.Utils.DocumentProperties<T>> & Sortable<T>
151
+ Filterable<Levelup.CMS.V1.Utils.DocumentProperties<T>> & Sortable<T>
152
152
  >;
153
153
  type BuildSortableFilterableProjectable<T extends object> = Request<
154
- Filterable<Levelup.V2.Utils.DocumentProperties<T>> &
154
+ Filterable<Levelup.CMS.V1.Utils.DocumentProperties<T>> &
155
155
  Sortable<T> &
156
156
  Projectable<T>
157
157
  >;
@@ -159,14 +159,14 @@ declare module Levelup {
159
159
  Request<
160
160
  Searchable &
161
161
  Paged &
162
- FilterableDeliverable<Levelup.V2.Utils.DocumentProperties<T>>
162
+ FilterableDeliverable<Levelup.CMS.V1.Utils.DocumentProperties<T>>
163
163
  >;
164
164
  type BuildSearchablePagedFilterableDeliverableProjectable<
165
165
  T extends object,
166
166
  > = Request<
167
167
  Searchable &
168
168
  Paged &
169
- FilterableDeliverable<Levelup.V2.Utils.DocumentProperties<T>> &
169
+ FilterableDeliverable<Levelup.CMS.V1.Utils.DocumentProperties<T>> &
170
170
  Projectable<T>
171
171
  >;
172
172
  type BuildSearchablePagedSortableFilterableDeliverable<
@@ -174,7 +174,7 @@ declare module Levelup {
174
174
  > = Request<
175
175
  Searchable &
176
176
  Paged &
177
- FilterableDeliverable<Levelup.V2.Utils.DocumentProperties<T>> &
177
+ FilterableDeliverable<Levelup.CMS.V1.Utils.DocumentProperties<T>> &
178
178
  Sortable<T>
179
179
  >;
180
180
  type BuildSearchablePagedSortableFilterableDeliverableProjectable<
@@ -182,7 +182,7 @@ declare module Levelup {
182
182
  > = Request<
183
183
  Searchable &
184
184
  Paged &
185
- FilterableDeliverable<Levelup.V2.Utils.DocumentProperties<T>> &
185
+ FilterableDeliverable<Levelup.CMS.V1.Utils.DocumentProperties<T>> &
186
186
  Sortable<T> &
187
187
  Projectable<T>
188
188
  >;
@@ -39,7 +39,7 @@ declare module Levelup {
39
39
  };
40
40
  type ErrorFieldsInObjectProperties<
41
41
  Obj extends object,
42
- F extends Levelup.V2.Utils.DocumentRootProperties<Obj>,
42
+ F extends Levelup.CMS.V1.Utils.DocumentRootProperties<Obj>,
43
43
  > = {
44
44
  [key in F]?: {
45
45
  value: any;
@@ -10,17 +10,17 @@ declare module Levelup {
10
10
  interface IEvent {
11
11
  auth: {
12
12
  app: string; // name
13
- company: Levelup.V2.Utils.Entity.Snapshots.Accounts.Company | null;
14
- user: Levelup.V2.Utils.Entity.Snapshots.Auth.User | null;
15
- store: Levelup.V2.Utils.Entity.Snapshots.Accounts.Store | null;
16
- office: Levelup.V2.Utils.Entity.Snapshots.Logistics.Office | null;
13
+ company: Levelup.CMS.V1.Utils.Entity.Snapshots.Accounts.Company | null;
14
+ user: Levelup.CMS.V1.Utils.Entity.Snapshots.Auth.User | null;
15
+ store: Levelup.CMS.V1.Utils.Entity.Snapshots.Accounts.Store | null;
16
+ office: Levelup.CMS.V1.Utils.Entity.Snapshots.Logistics.Office | null;
17
17
  };
18
18
  date: Date;
19
19
  status: TStatus;
20
20
  event: TEventName;
21
21
  name: string;
22
22
  duration?: number; // in milliseconds
23
- entity?: Levelup.V2.SystemStructure.Services.Models.LevelupModels;
23
+ entity?: Levelup.CMS.V1.SystemStructure.Services.Models.LevelupModels;
24
24
  description?: string;
25
25
  error?: boolean;
26
26
  /**