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
@@ -9,7 +9,7 @@ export default class ArticleTypesClient extends BaseClient {
9
9
  restore(id: string, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.Delete.Response>>;
10
10
  list(query: ApiAlias.List.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.List.Response>>;
11
11
  getById(id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
12
- getByTrackingId(tracking_id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
13
12
  getByName(name: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
13
+ getBySlug(name: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
14
14
  }
15
15
  //# sourceMappingURL=article-types.client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"article-types.client.d.ts","sourceRoot":"","sources":["../../../../src/containers/content/clients/article-types.client.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAE9C,OAAO,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC;AAEhC,OAAO,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC;AAG1D,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,UAAU;gBAG5C,SAAS,EAAE,GAAG,CAAC,iBAAiB;IAKtC,MAAM,CAAC,IAAI,EAAE,QAAQ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tracking_id, params, config) {
49
- return await this.container.sdk.httpClient.get(this.generatePrefix("/by-tracking-id/:tracking_id", { tracking_id }), params, {
47
+ // getByName
48
+ async getByName(name, params, config) {
49
+ return await this.container.sdk.httpClient.get(this.generatePrefix("/by-name/:name", { name }), params, {
50
50
  headers: this.container.sdk.generateHeadersFromRequestConfig(config)
51
51
  });
52
52
  }
53
- // getByName
54
- async getByName(name, params, config) {
55
- return await this.container.sdk.httpClient.get(this.generatePrefix(`/by-name/${name}`), params, {
53
+ // getBySlug
54
+ async getBySlug(name, params, config) {
55
+ return await this.container.sdk.httpClient.get(this.generatePrefix(`/by-slug/${name}`), params, {
56
56
  headers: this.container.sdk.generateHeadersFromRequestConfig(config)
57
57
  });
58
58
  }
@@ -9,7 +9,7 @@ export default class ArticlesClient extends BaseClient {
9
9
  restore(id: string, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.Delete.Response>>;
10
10
  list(query: ApiAlias.List.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.List.Response>>;
11
11
  getById(id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
12
- getByTrackingId(tracking_id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
13
- getByName(name: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
12
+ getByName(tracking_id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
13
+ getBySlug(name: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
14
14
  }
15
15
  //# sourceMappingURL=articles.client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"articles.client.d.ts","sourceR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CAAC,QAAQ,CAAC,CAAC;IAOpJ,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;CAMpJ"}
@@ -44,15 +44,15 @@ class ArticlesClient extends base_client_1.default {
44
44
  headers: this.container.sdk.generateHeadersFromRequestConfig(config)
45
45
  });
46
46
  }
47
- // getByTrackingId
48
- async getByTrackingId(tracking_id, params, config) {
49
- return await this.container.sdk.httpClient.get(this.generatePrefix("/by-tracking-id/:tracking_id", { tracking_id }), params, {
47
+ // getByName
48
+ async getByName(tracking_id, params, config) {
49
+ return await this.container.sdk.httpClient.get(this.generatePrefix("/by-name/:tracking_id", { tracking_id }), params, {
50
50
  headers: this.container.sdk.generateHeadersFromRequestConfig(config)
51
51
  });
52
52
  }
53
- // getByName
54
- async getByName(name, params, config) {
55
- return await this.container.sdk.httpClient.get(this.generatePrefix(`/by-name/${name}`), params, {
53
+ // getBySlug
54
+ async getBySlug(name, params, config) {
55
+ return await this.container.sdk.httpClient.get(this.generatePrefix(`/by-slug/${name}`), params, {
56
56
  headers: this.container.sdk.generateHeadersFromRequestConfig(config)
57
57
  });
58
58
  }
@@ -9,7 +9,7 @@ export default class TaxonomiesClient extends BaseClient {
9
9
  restore(id: string, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.Delete.Response>>;
10
10
  list(query: ApiAlias.List.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.List.Response>>;
11
11
  getById(id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
12
- getByTrackingId(tracking_id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
12
+ getBySlug(tracking_id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
13
13
  getByName(name: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
14
14
  }
15
15
  //# sourceMappingURL=taxonomies.client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"taxonomies.client.d.ts","sourceRoot":"","sources":["../../../../src/containers/content/clients/taxonomies.client.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAE9C,OAAO,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC;AAEhC,OAAO,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;AAGxD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,UAAU;gBAG1C,SAAS,EAAE,GAAG,CAAC,iBAAiB;IAKtC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOzH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOrI,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,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,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOzI,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOpJ,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;CAMpJ"}
@@ -44,9 +44,9 @@ class TaxonomiesClient extends base_client_1.default {
44
44
  headers: this.container.sdk.generateHeadersFromRequestConfig(config)
45
45
  });
46
46
  }
47
- // getByTrackingId
48
- async getByTrackingId(tracking_id, params, config) {
49
- return await this.container.sdk.httpClient.get(this.generatePrefix("/by-tracking-id/:tracking_id", { tracking_id }), params, {
47
+ // getBySlug
48
+ async getBySlug(tracking_id, params, config) {
49
+ return await this.container.sdk.httpClient.get(this.generatePrefix("/by-slug/:tracking_id", { tracking_id }), params, {
50
50
  headers: this.container.sdk.generateHeadersFromRequestConfig(config)
51
51
  });
52
52
  }
@@ -9,7 +9,7 @@ export default class TermsClient extends BaseClient {
9
9
  restore(id: string, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.Delete.Response>>;
10
10
  list(query: ApiAlias.List.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.List.Response>>;
11
11
  getById(id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
12
- getByTrackingId(tracking_id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
12
+ getBySlug(slug: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
13
13
  getByName(name: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
14
14
  }
15
15
  //# sourceMappingURL=terms.client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"terms.client.d.ts","sourceRoot":"","sources":["../../../../src/containers/content/clients/terms.client.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAE9C,OAAO,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC;AAEhC,OAAO,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC;AAGnD,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,UAAU;gBAGrC,SAAS,EAAE,GAAG,CAAC,iBAAiB;IAKtC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOzH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOrI,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAA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OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOzI,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAO7I,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;CAMpJ"}
@@ -44,9 +44,9 @@ class TermsClient extends base_client_1.default {
44
44
  headers: this.container.sdk.generateHeadersFromRequestConfig(config)
45
45
  });
46
46
  }
47
- // getByTrackingId
48
- async getByTrackingId(tracking_id, params, config) {
49
- return await this.container.sdk.httpClient.get(this.generatePrefix("/by-tracking-id/:tracking_id", { tracking_id }), params, {
47
+ // getBySlug
48
+ async getBySlug(slug, params, config) {
49
+ return await this.container.sdk.httpClient.get(this.generatePrefix("/by-tracking-id/:slug", { slug }), params, {
50
50
  headers: this.container.sdk.generateHeadersFromRequestConfig(config)
51
51
  });
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jourycms-sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Sdk for Joury CMS",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -13,7 +13,7 @@ declare module Levelup {
13
13
  force_load_from_db?: boolean;
14
14
  company?: string | null;
15
15
  }
16
- ): Promise<Levelup.V2.CacheManager.EntityType<E>>;
16
+ ): Promise<Levelup.CMS.V1.Utils.SystemStructure.Models.EntityType<E>>;
17
17
 
18
18
  getMany(
19
19
  ids: string[],
@@ -22,17 +22,17 @@ declare module Levelup {
22
22
  force_load_from_db?: boolean;
23
23
  company?: string | null;
24
24
  }
25
- ): Promise<Levelup.V2.CacheManager.EntityType<E>[]>;
25
+ ): Promise<Levelup.CMS.V1.Utils.SystemStructure.Models.EntityType<E>[]>;
26
26
 
27
27
  list(config?: {
28
- query: Levelup.V2.CacheManager.TListQueryParams<E>;
28
+ query: Levelup.CMS.V1.CacheManager.TListQueryParams<E>;
29
29
  force_load_from_db?: boolean;
30
30
  company?: string | null;
31
- }): Promise<Levelup.V2.CacheManager.EntityType<E>[]>;
31
+ }): Promise<Levelup.CMS.V1.Utils.SystemStructure.Models.EntityType<E>[]>;
32
32
 
33
33
  set(
34
34
  id: string,
35
- value: Levelup.V2.CacheManager.EntityType<E>,
35
+ value: Levelup.CMS.V1.Utils.SystemStructure.Models.EntityType<E>,
36
36
  company?: string | null
37
37
  ): Promise<void>;
38
38
 
@@ -41,16 +41,8 @@ declare module Levelup {
41
41
  unsetAll(company?: string | null): Promise<void>;
42
42
  }
43
43
 
44
- export type TLevelupEntity =
45
- // auth
46
- | "user"
47
- | "apiKey"
48
- | "role"
49
- | "permission"
50
- | "permissionGroup"
51
- // system
52
- | "app"
53
- ;
44
+
45
+ export type TEntity = Utils.SystemStructure.Models.AllModels;
54
46
 
55
47
  export type TLevelupListQueryParams<E extends TEntity> =
56
48
  // auth
@@ -71,11 +63,10 @@ declare module Levelup {
71
63
 
72
64
 
73
65
 
74
- export type TEntity = TLevelupEntity;
75
66
 
76
67
  export type TListQueryParams<E extends TEntity> =
77
- E extends Levelup.V2.CacheManager.TLevelupEntity
78
- ? Levelup.V2.CacheManager.TLevelupListQueryParams<E>
68
+ E extends Levelup.CMS.V1.CacheManager.TLevelupEntity
69
+ ? Levelup.CMS.V1.CacheManager.TLevelupListQueryParams<E>
79
70
  : never;
80
71
  }
81
72
  }
@@ -37,126 +37,126 @@ declare module Levelup {
37
37
  export namespace Users {
38
38
  export namespace User {
39
39
  export type created = {
40
- data: Partial<Levelup.V2.Users.Entity.ExposedUser>;
40
+ data: Partial<Levelup.CMS.V1.Users.Entity.ExposedUser>;
41
41
  };
42
42
  export type updated = {
43
- data: Partial<Levelup.V2.Users.Entity.ExposedUser>;
43
+ data: Partial<Levelup.CMS.V1.Users.Entity.ExposedUser>;
44
44
  };
45
45
  export type deleted = {
46
- data: Partial<Levelup.V2.Users.Entity.ExposedUser>;
46
+ data: Partial<Levelup.CMS.V1.Users.Entity.ExposedUser>;
47
47
  };
48
48
  export type restored = {
49
- data: Partial<Levelup.V2.Users.Entity.ExposedUser>;
49
+ data: Partial<Levelup.CMS.V1.Users.Entity.ExposedUser>;
50
50
  };
51
51
  export type roleChanged = {
52
- data: Partial<Levelup.V2.Users.Entity.ExposedUser>;
52
+ data: Partial<Levelup.CMS.V1.Users.Entity.ExposedUser>;
53
53
  };
54
54
  export type permissionsChanged = {
55
- data: Partial<Levelup.V2.Users.Entity.ExposedUser>;
55
+ data: Partial<Levelup.CMS.V1.Users.Entity.ExposedUser>;
56
56
  };
57
57
  export type attributeCompany = {
58
- data: Partial<Levelup.V2.Users.Entity.ExposedUser>;
59
- company: Levelup.V2.Accounts.Entity.Company;
58
+ data: Partial<Levelup.CMS.V1.Users.Entity.ExposedUser>;
59
+ company: Levelup.CMS.V1.Accounts.Entity.Company;
60
60
  };
61
61
  export type attributeStore = {
62
- data: Partial<Levelup.V2.Users.Entity.ExposedUser>;
63
- store_id: Levelup.V2.Accounts.Entity.Store;
62
+ data: Partial<Levelup.CMS.V1.Users.Entity.ExposedUser>;
63
+ store_id: Levelup.CMS.V1.Accounts.Entity.Store;
64
64
  };
65
65
  export type removeStore = {
66
- data: Partial<Levelup.V2.Users.Entity.ExposedUser>;
66
+ data: Partial<Levelup.CMS.V1.Users.Entity.ExposedUser>;
67
67
  store_id: string;
68
68
  };
69
69
  export type suspendStatusChanged = {
70
70
  suspended: boolean;
71
- data: Partial<Levelup.V2.Users.Entity.ExposedUser>;
71
+ data: Partial<Levelup.CMS.V1.Users.Entity.ExposedUser>;
72
72
  };
73
73
  export type loginInfoUpdated = {
74
- data: Partial<Levelup.V2.Users.Entity.ExposedUser>;
74
+ data: Partial<Levelup.CMS.V1.Users.Entity.ExposedUser>;
75
75
  };
76
76
  }
77
77
  }
78
78
 
79
79
  export namespace Auth {
80
- export type login = { data: Levelup.V2.Users.Entity.ExposedUser };
81
- export type register = { data: Levelup.V2.Users.Entity.ExposedUser };
82
- export type logout = { data: Levelup.V2.Users.Entity.ExposedUser };
83
- export type restored = { data: Levelup.V2.Users.Entity.ExposedUser };
80
+ export type login = { data: Levelup.CMS.V1.Users.Entity.ExposedUser };
81
+ export type register = { data: Levelup.CMS.V1.Users.Entity.ExposedUser };
82
+ export type logout = { data: Levelup.CMS.V1.Users.Entity.ExposedUser };
83
+ export type restored = { data: Levelup.CMS.V1.Users.Entity.ExposedUser };
84
84
 
85
85
  export namespace ApiKey {
86
86
  export type created = {
87
- data: Partial<Levelup.V2.Auth.Entity.ApiKey>;
87
+ data: Partial<Levelup.CMS.V1.Auth.Entity.ApiKey>;
88
88
  };
89
89
  export type updated = {
90
- data: Partial<Levelup.V2.Auth.Entity.ApiKey>;
90
+ data: Partial<Levelup.CMS.V1.Auth.Entity.ApiKey>;
91
91
  };
92
92
  export type deleted = {
93
- data: Partial<Levelup.V2.Auth.Entity.ApiKey>;
93
+ data: Partial<Levelup.CMS.V1.Auth.Entity.ApiKey>;
94
94
  };
95
95
  export type restored = {
96
- data: Partial<Levelup.V2.Auth.Entity.ApiKey>;
96
+ data: Partial<Levelup.CMS.V1.Auth.Entity.ApiKey>;
97
97
  };
98
98
  export type enableStatusChanged = {
99
99
  enabled: boolean;
100
- data: Partial<Levelup.V2.Auth.Entity.ApiKey>;
100
+ data: Partial<Levelup.CMS.V1.Auth.Entity.ApiKey>;
101
101
  };
102
102
  }
103
103
 
104
104
  export namespace Role {
105
105
  export type created = {
106
- data: Partial<Levelup.V2.Auth.Entity.Role>;
106
+ data: Partial<Levelup.CMS.V1.Auth.Entity.Role>;
107
107
  };
108
108
  export type updated = {
109
- data: Partial<Levelup.V2.Auth.Entity.Role>;
109
+ data: Partial<Levelup.CMS.V1.Auth.Entity.Role>;
110
110
  };
111
111
  export type deleted = {
112
- data: Partial<Levelup.V2.Auth.Entity.Role>;
112
+ data: Partial<Levelup.CMS.V1.Auth.Entity.Role>;
113
113
  };
114
114
  export type restored = {
115
- data: Partial<Levelup.V2.Auth.Entity.Role>;
115
+ data: Partial<Levelup.CMS.V1.Auth.Entity.Role>;
116
116
  };
117
117
  export type permissionsChanged = {
118
- data: Partial<Levelup.V2.Auth.Entity.Role>;
118
+ data: Partial<Levelup.CMS.V1.Auth.Entity.Role>;
119
119
  };
120
120
  export type addUser = {
121
- data: Partial<Levelup.V2.Auth.Entity.Role>;
121
+ data: Partial<Levelup.CMS.V1.Auth.Entity.Role>;
122
122
  };
123
123
  }
124
124
 
125
125
  export namespace Permission {
126
126
  export type created = {
127
- data: Partial<Levelup.V2.Auth.Entity.Permission>;
127
+ data: Partial<Levelup.CMS.V1.Auth.Entity.Permission>;
128
128
  };
129
129
  export type updated = {
130
- data: Partial<Levelup.V2.Auth.Entity.Permission>;
130
+ data: Partial<Levelup.CMS.V1.Auth.Entity.Permission>;
131
131
  };
132
132
  export type deleted = {
133
- data: Partial<Levelup.V2.Auth.Entity.Permission>;
133
+ data: Partial<Levelup.CMS.V1.Auth.Entity.Permission>;
134
134
  };
135
135
  export type restored = {
136
- data: Partial<Levelup.V2.Auth.Entity.Permission>;
136
+ data: Partial<Levelup.CMS.V1.Auth.Entity.Permission>;
137
137
  };
138
138
  export type addRole = {
139
- data: Partial<Levelup.V2.Auth.Entity.Permission>;
139
+ data: Partial<Levelup.CMS.V1.Auth.Entity.Permission>;
140
140
  };
141
141
  export type addUser = {
142
- data: Partial<Levelup.V2.Auth.Entity.Permission>;
142
+ data: Partial<Levelup.CMS.V1.Auth.Entity.Permission>;
143
143
  };
144
144
  export type permissionListUpdated = {
145
- data: Partial<Levelup.V2.Auth.Entity.Permission>[];
145
+ data: Partial<Levelup.CMS.V1.Auth.Entity.Permission>[];
146
146
  };
147
147
  }
148
148
  export namespace PermissionGroup {
149
149
  export type created = {
150
- data: Partial<Levelup.V2.Auth.Entity.PermissionGroup>;
150
+ data: Partial<Levelup.CMS.V1.Auth.Entity.PermissionGroup>;
151
151
  };
152
152
  export type updated = {
153
- data: Partial<Levelup.V2.Auth.Entity.PermissionGroup>;
153
+ data: Partial<Levelup.CMS.V1.Auth.Entity.PermissionGroup>;
154
154
  };
155
155
  export type deleted = {
156
- data: Partial<Levelup.V2.Auth.Entity.PermissionGroup>;
156
+ data: Partial<Levelup.CMS.V1.Auth.Entity.PermissionGroup>;
157
157
  };
158
158
  export type restored = {
159
- data: Partial<Levelup.V2.Auth.Entity.PermissionGroup>;
159
+ data: Partial<Levelup.CMS.V1.Auth.Entity.PermissionGroup>;
160
160
  };
161
161
  }
162
162
  }
@@ -167,121 +167,121 @@ declare module Levelup {
167
167
  export namespace Content {
168
168
  export namespace Comment {
169
169
  export type created = {
170
- data: Partial<Levelup.V2.Cm.Entity.Comment>;
170
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Comment>;
171
171
  };
172
172
  export type updated = {
173
- data: Partial<Levelup.V2.Cm.Entity.Comment>;
173
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Comment>;
174
174
  };
175
175
  export type deleted = {
176
- data: Partial<Levelup.V2.Cm.Entity.Comment>;
176
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Comment>;
177
177
  };
178
178
  export type restored = {
179
- data: Partial<Levelup.V2.Cm.Entity.Comment>;
179
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Comment>;
180
180
  };
181
181
  }
182
182
  export namespace Review {
183
183
  export type created = {
184
- data: Partial<Levelup.V2.Cm.Entity.Review>;
184
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Review>;
185
185
  };
186
186
  export type updated = {
187
- data: Partial<Levelup.V2.Cm.Entity.Review>;
187
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Review>;
188
188
  };
189
189
  export type deleted = {
190
- data: Partial<Levelup.V2.Cm.Entity.Review>;
190
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Review>;
191
191
  };
192
192
  export type restored = {
193
- data: Partial<Levelup.V2.Cm.Entity.Review>;
193
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Review>;
194
194
  };
195
195
  }
196
196
  export namespace Article {
197
197
  export type created = {
198
- data: Partial<Levelup.V2.Cm.Entity.Article>;
198
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Article>;
199
199
  };
200
200
  export type updated = {
201
- data: Partial<Levelup.V2.Cm.Entity.Article>;
201
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Article>;
202
202
  };
203
203
  export type deleted = {
204
- data: Partial<Levelup.V2.Cm.Entity.Article>;
204
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Article>;
205
205
  };
206
206
  export type restored = {
207
- data: Partial<Levelup.V2.Cm.Entity.Article>;
207
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Article>;
208
208
  };
209
209
  }
210
210
  export namespace ArticleType {
211
211
  export type created = {
212
- data: Partial<Levelup.V2.Cm.Entity.ArticleType>;
212
+ data: Partial<Levelup.CMS.V1.Cm.Entity.ArticleType>;
213
213
  };
214
214
  export type updated = {
215
- data: Partial<Levelup.V2.Cm.Entity.ArticleType>;
215
+ data: Partial<Levelup.CMS.V1.Cm.Entity.ArticleType>;
216
216
  };
217
217
  export type deleted = {
218
- data: Partial<Levelup.V2.Cm.Entity.ArticleType>;
218
+ data: Partial<Levelup.CMS.V1.Cm.Entity.ArticleType>;
219
219
  };
220
220
  export type restored = {
221
- data: Partial<Levelup.V2.Cm.Entity.ArticleType>;
221
+ data: Partial<Levelup.CMS.V1.Cm.Entity.ArticleType>;
222
222
  };
223
223
  }
224
224
  export namespace Term {
225
- export type created = { data: Partial<Levelup.V2.Cm.Entity.Term> };
226
- export type updated = { data: Partial<Levelup.V2.Cm.Entity.Term> };
227
- export type deleted = { data: Partial<Levelup.V2.Cm.Entity.Term> };
228
- export type restored = { data: Partial<Levelup.V2.Cm.Entity.Term> };
225
+ export type created = { data: Partial<Levelup.CMS.V1.Cm.Entity.Term> };
226
+ export type updated = { data: Partial<Levelup.CMS.V1.Cm.Entity.Term> };
227
+ export type deleted = { data: Partial<Levelup.CMS.V1.Cm.Entity.Term> };
228
+ export type restored = { data: Partial<Levelup.CMS.V1.Cm.Entity.Term> };
229
229
  }
230
230
  export namespace Taxonomy {
231
231
  export type created = {
232
- data: Partial<Levelup.V2.Cm.Entity.Taxonomy>;
232
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Taxonomy>;
233
233
  };
234
234
  export type updated = {
235
- data: Partial<Levelup.V2.Cm.Entity.Taxonomy>;
235
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Taxonomy>;
236
236
  };
237
237
  export type deleted = {
238
- data: Partial<Levelup.V2.Cm.Entity.Taxonomy>;
238
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Taxonomy>;
239
239
  };
240
240
  export type restored = {
241
- data: Partial<Levelup.V2.Cm.Entity.Taxonomy>;
241
+ data: Partial<Levelup.CMS.V1.Cm.Entity.Taxonomy>;
242
242
  };
243
243
  }
244
244
  export namespace Translation {
245
245
  export namespace Item {
246
246
  export type created = {
247
- data: Partial<Levelup.V2.Cm.Translation.Entity.Item>;
247
+ data: Partial<Levelup.CMS.V1.Cm.Translation.Entity.Item>;
248
248
  };
249
249
  export type updated = {
250
- data: Partial<Levelup.V2.Cm.Translation.Entity.Item>;
250
+ data: Partial<Levelup.CMS.V1.Cm.Translation.Entity.Item>;
251
251
  };
252
252
  export type deleted = {
253
- data: Partial<Levelup.V2.Cm.Translation.Entity.Item>;
253
+ data: Partial<Levelup.CMS.V1.Cm.Translation.Entity.Item>;
254
254
  };
255
255
  export type restored = {
256
- data: Partial<Levelup.V2.Cm.Translation.Entity.Item>;
256
+ data: Partial<Levelup.CMS.V1.Cm.Translation.Entity.Item>;
257
257
  };
258
258
  }
259
259
  export namespace Project {
260
260
  export type created = {
261
- data: Partial<Levelup.V2.Cm.Translation.Entity.Project>;
261
+ data: Partial<Levelup.CMS.V1.Cm.Translation.Entity.Project>;
262
262
  };
263
263
  export type updated = {
264
- data: Partial<Levelup.V2.Cm.Translation.Entity.Project>;
264
+ data: Partial<Levelup.CMS.V1.Cm.Translation.Entity.Project>;
265
265
  };
266
266
  export type deleted = {
267
- data: Partial<Levelup.V2.Cm.Translation.Entity.Project>;
267
+ data: Partial<Levelup.CMS.V1.Cm.Translation.Entity.Project>;
268
268
  };
269
269
  export type restored = {
270
- data: Partial<Levelup.V2.Cm.Translation.Entity.Project>;
270
+ data: Partial<Levelup.CMS.V1.Cm.Translation.Entity.Project>;
271
271
  };
272
272
  }
273
273
  export namespace Namespace {
274
274
  export type created = {
275
- data: Partial<Levelup.V2.Cm.Translation.Entity.Namespace>;
275
+ data: Partial<Levelup.CMS.V1.Cm.Translation.Entity.Namespace>;
276
276
  };
277
277
  export type updated = {
278
- data: Partial<Levelup.V2.Cm.Translation.Entity.Namespace>;
278
+ data: Partial<Levelup.CMS.V1.Cm.Translation.Entity.Namespace>;
279
279
  };
280
280
  export type deleted = {
281
- data: Partial<Levelup.V2.Cm.Translation.Entity.Namespace>;
281
+ data: Partial<Levelup.CMS.V1.Cm.Translation.Entity.Namespace>;
282
282
  };
283
283
  export type restored = {
284
- data: Partial<Levelup.V2.Cm.Translation.Entity.Namespace>;
284
+ data: Partial<Levelup.CMS.V1.Cm.Translation.Entity.Namespace>;
285
285
  };
286
286
  }
287
287
  }
@@ -293,16 +293,16 @@ declare module Levelup {
293
293
  export namespace Storage {
294
294
  export namespace UploadedFile {
295
295
  export type created = {
296
- data: Partial<Levelup.V2.Storage.Entity.UploadedFile>;
296
+ data: Partial<Levelup.CMS.V1.Storage.Entity.UploadedFile>;
297
297
  };
298
298
  export type updated = {
299
- data: Partial<Levelup.V2.Storage.Entity.UploadedFile>;
299
+ data: Partial<Levelup.CMS.V1.Storage.Entity.UploadedFile>;
300
300
  };
301
301
  export type deleted = {
302
- data: Partial<Levelup.V2.Storage.Entity.UploadedFile>;
302
+ data: Partial<Levelup.CMS.V1.Storage.Entity.UploadedFile>;
303
303
  };
304
304
  export type restored = {
305
- data: Partial<Levelup.V2.Storage.Entity.UploadedFile>;
305
+ data: Partial<Levelup.CMS.V1.Storage.Entity.UploadedFile>;
306
306
  };
307
307
  }
308
308
  }
@@ -313,22 +313,22 @@ declare module Levelup {
313
313
  export namespace System {
314
314
  export namespace App {
315
315
  export type created = {
316
- data: Partial<Levelup.V2.System.Entity.App>;
316
+ data: Partial<Levelup.CMS.V1.System.Entity.App>;
317
317
  };
318
318
  export type updated = {
319
- data: Partial<Levelup.V2.System.Entity.App>;
319
+ data: Partial<Levelup.CMS.V1.System.Entity.App>;
320
320
  };
321
321
  export type deleted = {
322
- data: Partial<Levelup.V2.System.Entity.App>;
322
+ data: Partial<Levelup.CMS.V1.System.Entity.App>;
323
323
  };
324
324
  export type restored = {
325
- data: Partial<Levelup.V2.System.Entity.App>;
325
+ data: Partial<Levelup.CMS.V1.System.Entity.App>;
326
326
  };
327
327
  export type disabled = {
328
- data: Partial<Levelup.V2.System.Entity.App>;
328
+ data: Partial<Levelup.CMS.V1.System.Entity.App>;
329
329
  };
330
330
  export type enabled = {
331
- data: Partial<Levelup.V2.System.Entity.App>;
331
+ data: Partial<Levelup.CMS.V1.System.Entity.App>;
332
332
  };
333
333
  }
334
334
  }
@@ -16,7 +16,7 @@ declare module Levelup {
16
16
  export interface Scenario<T> {
17
17
  method: string;
18
18
  args: Record<string, any>;
19
- authData: Levelup.V2.Security.AuthData;
19
+ authData: Levelup.CMS.V1.Security.AuthData;
20
20
  execution: T
21
21
  }
22
22
  }