@wix/auto_sdk_app-management_app-permissions 1.0.2 → 1.0.4

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.
Files changed (57) hide show
  1. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.context.d.ts +1 -4
  2. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.context.js +1 -4
  3. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.context.js.map +1 -1
  4. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.http.d.ts +3 -3
  5. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.http.js +3 -3
  6. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.http.js.map +1 -1
  7. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.public.d.ts +13 -10
  8. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.public.js +1 -11
  9. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.public.js.map +1 -1
  10. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +39 -17
  11. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
  12. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +61 -40
  13. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.js +11 -7
  14. package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
  15. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.context.d.ts +1 -4
  16. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.context.js +0 -3
  17. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.context.js.map +1 -1
  18. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.http.d.ts +3 -3
  19. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.http.js +3 -3
  20. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.http.js.map +1 -1
  21. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.public.d.ts +13 -10
  22. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.public.js +0 -10
  23. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.public.js.map +1 -1
  24. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +39 -17
  25. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
  26. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +61 -40
  27. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js +11 -7
  28. package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
  29. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.context.d.ts +1 -4
  30. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.context.js +1 -4
  31. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.context.js.map +1 -1
  32. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.http.d.ts +3 -3
  33. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.http.js +3 -3
  34. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.http.js.map +1 -1
  35. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.public.d.ts +13 -10
  36. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.public.js +1 -11
  37. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.public.js.map +1 -1
  38. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +39 -17
  39. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
  40. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +61 -40
  41. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.js +11 -7
  42. package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
  43. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.context.d.ts +1 -4
  44. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.context.js +0 -3
  45. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.context.js.map +1 -1
  46. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.http.d.ts +3 -3
  47. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.http.js +3 -3
  48. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.http.js.map +1 -1
  49. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.public.d.ts +13 -10
  50. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.public.js +0 -10
  51. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.public.js.map +1 -1
  52. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +39 -17
  53. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
  54. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +61 -40
  55. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js +11 -7
  56. package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
  57. package/package.json +2 -2
@@ -2,13 +2,10 @@ import { createAppPermission as publicCreateAppPermission, listAppPermissions as
2
2
  import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
3
3
  import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
4
4
  import { onAppPermissionCreated as publicOnAppPermissionCreated } from './devcenter-apps-v1-app-permission-app-permissions.public.js';
5
- import { onAppPermissionPermissionActionDomainEventEntity as publicOnAppPermissionPermissionActionDomainEventEntity } from './devcenter-apps-v1-app-permission-app-permissions.public.js';
6
5
  export declare const createAppPermission: MaybeContext<BuildRESTFunction<typeof publicCreateAppPermission> & typeof publicCreateAppPermission>;
7
6
  export declare const listAppPermissions: MaybeContext<BuildRESTFunction<typeof publicListAppPermissions> & typeof publicListAppPermissions>;
8
7
  export declare const deleteAppPermission: MaybeContext<BuildRESTFunction<typeof publicDeleteAppPermission> & typeof publicDeleteAppPermission>;
9
8
  /** */
10
9
  export declare const onAppPermissionCreated: ReturnType<typeof createEventModule<typeof publicOnAppPermissionCreated>>;
11
- /** */
12
- export declare const onAppPermissionPermissionActionDomainEventEntity: ReturnType<typeof createEventModule<typeof publicOnAppPermissionPermissionActionDomainEventEntity>>;
13
10
  export { ActionType, Action, WebhookIdentityType, } from './devcenter-apps-v1-app-permission-app-permissions.universal.js';
14
- export { AppPermission, V1Permission, CreateAppPermissionRequest, CreateAppPermissionResponse, GetAppPermissionRequest, GetAppPermissionResponse, ListAppPermissionsRequest, CursorPaging, ListAppPermissionsResponse, CursorPagingMetadata, Cursors, DeleteAppPermissionRequest, DeleteAppPermissionResponse, PermissionActionDomainEventEntity, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, OldPermissionChangedEvent, Permission, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, AppPermissionNonNullableFields, CreateAppPermissionResponseNonNullableFields, ListAppPermissionsResponseNonNullableFields, BaseEventMetadata, EventMetadata, AppPermissionCreatedEnvelope, AppPermissionPermissionActionDomainEventEntityEnvelope, ListAppPermissionsOptions, DeleteAppPermissionOptions, } from './devcenter-apps-v1-app-permission-app-permissions.universal.js';
11
+ export { AppPermission, V1Permission, CreateAppPermissionRequest, CreateAppPermissionResponse, GetAppPermissionRequest, GetAppPermissionResponse, ListAppPermissionsRequest, CursorPaging, ListAppPermissionsResponse, CursorPagingMetadata, Cursors, DeleteAppPermissionRequest, DeleteAppPermissionResponse, PermissionActionDomainEventEntity, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, OldPermissionChangedEvent, Permission, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, AppPermissionNonNullableFields, CreateAppPermissionResponseNonNullableFields, ListAppPermissionsResponseNonNullableFields, BaseEventMetadata, EventMetadata, AppPermissionCreatedEnvelope, ListAppPermissionsOptions, DeleteAppPermissionOptions, } from './devcenter-apps-v1-app-permission-app-permissions.universal.js';
@@ -1,18 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WebhookIdentityType = exports.Action = exports.ActionType = exports.onAppPermissionPermissionActionDomainEventEntity = exports.onAppPermissionCreated = exports.deleteAppPermission = exports.listAppPermissions = exports.createAppPermission = void 0;
3
+ exports.WebhookIdentityType = exports.Action = exports.ActionType = exports.onAppPermissionCreated = exports.deleteAppPermission = exports.listAppPermissions = exports.createAppPermission = void 0;
4
4
  const devcenter_apps_v1_app_permission_app_permissions_public_js_1 = require("./devcenter-apps-v1-app-permission-app-permissions.public.js");
5
5
  const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
6
6
  const event_definition_modules_1 = require("@wix/sdk-runtime/event-definition-modules");
7
7
  const devcenter_apps_v1_app_permission_app_permissions_public_js_2 = require("./devcenter-apps-v1-app-permission-app-permissions.public.js");
8
- const devcenter_apps_v1_app_permission_app_permissions_public_js_3 = require("./devcenter-apps-v1-app-permission-app-permissions.public.js");
9
8
  exports.createAppPermission = (0, rest_modules_1.createRESTModule)(devcenter_apps_v1_app_permission_app_permissions_public_js_1.createAppPermission);
10
9
  exports.listAppPermissions = (0, rest_modules_1.createRESTModule)(devcenter_apps_v1_app_permission_app_permissions_public_js_1.listAppPermissions);
11
10
  exports.deleteAppPermission = (0, rest_modules_1.createRESTModule)(devcenter_apps_v1_app_permission_app_permissions_public_js_1.deleteAppPermission);
12
11
  /** */
13
12
  exports.onAppPermissionCreated = (0, event_definition_modules_1.createEventModule)(devcenter_apps_v1_app_permission_app_permissions_public_js_2.onAppPermissionCreated);
14
- /** */
15
- exports.onAppPermissionPermissionActionDomainEventEntity = (0, event_definition_modules_1.createEventModule)(devcenter_apps_v1_app_permission_app_permissions_public_js_3.onAppPermissionPermissionActionDomainEventEntity);
16
13
  var devcenter_apps_v1_app_permission_app_permissions_universal_js_1 = require("./devcenter-apps-v1-app-permission-app-permissions.universal.js");
17
14
  Object.defineProperty(exports, "ActionType", { enumerable: true, get: function () { return devcenter_apps_v1_app_permission_app_permissions_universal_js_1.ActionType; } });
18
15
  Object.defineProperty(exports, "Action", { enumerable: true, get: function () { return devcenter_apps_v1_app_permission_app_permissions_universal_js_1.Action; } });
@@ -1 +1 @@
1
- {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.context.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.context.ts"],"names":[],"mappings":";;;AAAA,6IAIsE;AACtE,gEAAiE;AACjE,wFAA8E;AAE9E,6IAAsI;AACtI,6IAA0L;AAE7K,QAAA,mBAAmB,GAGd,IAAA,+BAAgB,EAAC,gFAAyB,CAAC,CAAC;AACjD,QAAA,kBAAkB,GAGb,IAAA,+BAAgB,EAAC,+EAAwB,CAAC,CAAC;AAChD,QAAA,mBAAmB,GAGd,IAAA,+BAAgB,EAAC,gFAAyB,CAAC,CAAC;AAC9D,MAAM;AACO,QAAA,sBAAsB,GAE/B,IAAA,4CAAiB,EAAC,mFAA4B,CAAC,CAAC;AACpD,MAAM;AACO,QAAA,gDAAgD,GAIzD,IAAA,4CAAiB,EAAC,6GAAsD,CAAC,CAAC;AAE9E,iJAIyE;AAHvE,2JAAA,UAAU,OAAA;AACV,uJAAA,MAAM,OAAA;AACN,oKAAA,mBAAmB,OAAA"}
1
+ {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.context.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.context.ts"],"names":[],"mappings":";;;AAAA,6IAIsE;AACtE,gEAAiE;AACjE,wFAA8E;AAE9E,6IAAsI;AAEzH,QAAA,mBAAmB,GAGd,IAAA,+BAAgB,EAAC,gFAAyB,CAAC,CAAC;AACjD,QAAA,kBAAkB,GAGb,IAAA,+BAAgB,EAAC,+EAAwB,CAAC,CAAC;AAChD,QAAA,mBAAmB,GAGd,IAAA,+BAAgB,EAAC,gFAAyB,CAAC,CAAC;AAC9D,MAAM;AACO,QAAA,sBAAsB,GAE/B,IAAA,4CAAiB,EAAC,mFAA4B,CAAC,CAAC;AAEpD,iJAIyE;AAHvE,2JAAA,UAAU,OAAA;AACV,uJAAA,MAAM,OAAA;AACN,oKAAA,mBAAmB,OAAA"}
@@ -1,7 +1,7 @@
1
1
  import { RequestOptionsFactory } from '@wix/sdk-types';
2
- /** Creates new AppPermission */
2
+ /** Creates a new app permission. */
3
3
  export declare function createAppPermission(payload: object): RequestOptionsFactory<any>;
4
- /** List AppPermissions by App ID */
4
+ /** Lists app permissions by app ID. */
5
5
  export declare function listAppPermissions(payload: object): RequestOptionsFactory<any>;
6
- /** Delete AppPermission by App ID and Permission ID */
6
+ /** Deletes the specified app permission. */
7
7
  export declare function deleteAppPermission(payload: object): RequestOptionsFactory<any>;
@@ -48,7 +48,7 @@ function resolveWixDevcenterAppsPermissionsV1AppPermissionsServiceUrl(opts) {
48
48
  return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
49
49
  }
50
50
  const PACKAGE_NAME = '@wix/auto_sdk_app-management_app-permissions';
51
- /** Creates new AppPermission */
51
+ /** Creates a new app permission. */
52
52
  function createAppPermission(payload) {
53
53
  function __createAppPermission({ host }) {
54
54
  const serializedData = (0, transform_paths_1.transformPaths)(payload, [
@@ -86,7 +86,7 @@ function createAppPermission(payload) {
86
86
  return __createAppPermission;
87
87
  }
88
88
  exports.createAppPermission = createAppPermission;
89
- /** List AppPermissions by App ID */
89
+ /** Lists app permissions by app ID. */
90
90
  function listAppPermissions(payload) {
91
91
  function __listAppPermissions({ host }) {
92
92
  const metadata = {
@@ -115,7 +115,7 @@ function listAppPermissions(payload) {
115
115
  return __listAppPermissions;
116
116
  }
117
117
  exports.listAppPermissions = listAppPermissions;
118
- /** Delete AppPermission by App ID and Permission ID */
118
+ /** Deletes the specified app permission. */
119
119
  function deleteAppPermission(payload) {
120
120
  function __deleteAppPermission({ host }) {
121
121
  const metadata = {
@@ -1 +1 @@
1
- {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.http.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,0EAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,4DAA4D,CACnE,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,+BAA+B;gBACxC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,+BAA+B;gBACxC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,+BAA+B;gBACxC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,+BAA+B;gBACxC,QAAQ,EAAE,EAAE;aACb;SACF;KACF,CAAC;IAEF,OAAO,IAAA,yBAAU,EAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,YAAY,GAAG,8CAA8C,CAAC;AAEpE,gCAAgC;AAChC,SAAgB,mBAAmB,CACjC,OAAe;IAEf,SAAS,qBAAqB,CAAC,EAAE,IAAI,EAAO;QAC1C,MAAM,cAAc,GAAG,IAAA,gCAAc,EAAC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oBACE,WAAW,EAAE,gDAAoC;oBACjD,KAAK,EAAE;wBACL,EAAE,IAAI,EAAE,4BAA4B,EAAE;wBACtC,EAAE,IAAI,EAAE,4BAA4B,EAAE;qBACvC;iBACF;aACF,CAAC;SACL,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,oBAAoB,CAAC;AAC9B,CAAC;AAhCD,gDAgCC;AAED,uDAAuD;AACvD,SAAgB,mBAAmB,CACjC,OAAe;IAEf,SAAS,qBAAqB,CAAC,EAAE,IAAI,EAAO;QAC1C,MAAM,QAAQ,GAAG;YACf,UAAU,EAAE,sCAAsC;YAClD,MAAM,EAAE,QAAe;YACvB,SAAS,EACP,6EAA6E;YAC/E,WAAW,EAAE,YAAY;YACzB,GAAG,EAAE,4DAA4D,CAAC;gBAChE,SAAS,EAAE,qBAAqB;gBAChC,IAAI,EAAE,OAAO;gBACb,IAAI;aACL,CAAC;YACF,MAAM,EAAE,IAAA,gCAAiB,EAAC,OAAO,CAAC;SACnC,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AAtBD,kDAsBC"}
1
+ {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.http.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,0EAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,4DAA4D,CACnE,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,0BAA0B;gBACnC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,+BAA+B;gBACxC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,mBAAmB,EAAE;YACnB;gBACE,OAAO,EAAE,+BAA+B;gBACxC,QAAQ,EAA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,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AAtBD,kDAsBC"}
@@ -1,33 +1,36 @@
1
1
  import { EventDefinition, HttpClient } from '@wix/sdk-types';
2
- import { AppPermission, AppPermissionCreatedEnvelope, AppPermissionNonNullableFields, AppPermissionPermissionActionDomainEventEntityEnvelope, DeleteAppPermissionOptions, ListAppPermissionsOptions, ListAppPermissionsResponse, ListAppPermissionsResponseNonNullableFields } from './devcenter-apps-v1-app-permission-app-permissions.universal.js';
2
+ import { AppPermission, AppPermissionCreatedEnvelope, AppPermissionNonNullableFields, DeleteAppPermissionOptions, ListAppPermissionsOptions, ListAppPermissionsResponse, ListAppPermissionsResponseNonNullableFields } from './devcenter-apps-v1-app-permission-app-permissions.universal.js';
3
3
  export declare const __metadata: {
4
4
  PACKAGE_NAME: string;
5
5
  };
6
6
  export declare function createAppPermission(httpClient: HttpClient): CreateAppPermissionSignature;
7
7
  interface CreateAppPermissionSignature {
8
8
  /**
9
- * Creates new AppPermission
10
- * @param - AppPermission to be created
11
- * @returns The created AppPermission
9
+ * Creates a new app permission.
10
+ * @param - App permission to create.
11
+ * @returns Details of the created app permission.
12
12
  */
13
13
  (appPermission: AppPermission): Promise<AppPermission & AppPermissionNonNullableFields>;
14
14
  }
15
15
  export declare function listAppPermissions(httpClient: HttpClient): ListAppPermissionsSignature;
16
16
  interface ListAppPermissionsSignature {
17
17
  /**
18
- * List AppPermissions by App ID
19
- * @param - App ID
18
+ * Lists app permissions by app ID.
19
+ * @param - [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
20
+ *
21
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
20
22
  */
21
23
  (appId: string, options?: ListAppPermissionsOptions | undefined): Promise<ListAppPermissionsResponse & ListAppPermissionsResponseNonNullableFields>;
22
24
  }
23
25
  export declare function deleteAppPermission(httpClient: HttpClient): DeleteAppPermissionSignature;
24
26
  interface DeleteAppPermissionSignature {
25
27
  /**
26
- * Delete AppPermission by App ID and Permission ID
27
- * @param - App ID
28
+ * Deletes the specified app permission.
29
+ * @param - [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
30
+ *
31
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
28
32
  */
29
33
  (appId: string, options: DeleteAppPermissionOptions): Promise<void>;
30
34
  }
31
35
  export declare const onAppPermissionCreated: EventDefinition<AppPermissionCreatedEnvelope, "wix.devcenter.apps.v1.app_permission_created">;
32
- export declare const onAppPermissionPermissionActionDomainEventEntity: EventDefinition<AppPermissionPermissionActionDomainEventEntityEnvelope, "wix.devcenter.apps.v1.app_permission_permission_action_domain_event_entity">;
33
- export { Action, ActionEvent, ActionType, AppPermission, AppPermissionCreatedEnvelope, AppPermissionNonNullableFields, AppPermissionPermissionActionDomainEventEntityEnvelope, BaseEventMetadata, CreateAppPermissionRequest, CreateAppPermissionResponse, CreateAppPermissionResponseNonNullableFields, CursorPaging, CursorPagingMetadata, Cursors, DeleteAppPermissionOptions, DeleteAppPermissionRequest, DeleteAppPermissionResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, GetAppPermissionRequest, GetAppPermissionResponse, IdentificationData, IdentificationDataIdOneOf, ListAppPermissionsOptions, ListAppPermissionsRequest, ListAppPermissionsResponse, ListAppPermissionsResponseNonNullableFields, MessageEnvelope, OldPermissionChangedEvent, Permission, PermissionActionDomainEventEntity, RestoreInfo, V1Permission, WebhookIdentityType, } from './devcenter-apps-v1-app-permission-app-permissions.universal.js';
36
+ export { Action, ActionEvent, ActionType, AppPermission, AppPermissionCreatedEnvelope, AppPermissionNonNullableFields, BaseEventMetadata, CreateAppPermissionRequest, CreateAppPermissionResponse, CreateAppPermissionResponseNonNullableFields, CursorPaging, CursorPagingMetadata, Cursors, DeleteAppPermissionOptions, DeleteAppPermissionRequest, DeleteAppPermissionResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, GetAppPermissionRequest, GetAppPermissionResponse, IdentificationData, IdentificationDataIdOneOf, ListAppPermissionsOptions, ListAppPermissionsRequest, ListAppPermissionsResponse, ListAppPermissionsResponseNonNullableFields, MessageEnvelope, OldPermissionChangedEvent, Permission, PermissionActionDomainEventEntity, RestoreInfo, V1Permission, WebhookIdentityType, } from './devcenter-apps-v1-app-permission-app-permissions.universal.js';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WebhookIdentityType = exports.ActionType = exports.Action = exports.onAppPermissionPermissionActionDomainEventEntity = exports.onAppPermissionCreated = exports.deleteAppPermission = exports.listAppPermissions = exports.createAppPermission = exports.__metadata = void 0;
3
+ exports.WebhookIdentityType = exports.ActionType = exports.Action = exports.onAppPermissionCreated = exports.deleteAppPermission = exports.listAppPermissions = exports.createAppPermission = exports.__metadata = void 0;
4
4
  const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
5
5
  const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
6
6
  const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
@@ -35,16 +35,6 @@ exports.onAppPermissionCreated = (0, sdk_types_1.EventDefinition)('wix.devcenter
35
35
  ],
36
36
  },
37
37
  ])))();
38
- exports.onAppPermissionPermissionActionDomainEventEntity = (0, sdk_types_1.EventDefinition)('wix.devcenter.apps.v1.app_permission_permission_action_domain_event_entity', true, (event) => (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)((0, transform_paths_1.transformPaths)(event, [
39
- {
40
- transformFn: timestamp_1.transformRESTTimestampToSDKTimestamp,
41
- paths: [
42
- { path: 'data.appPermission.createdDate' },
43
- { path: 'data.appPermission.updatedDate' },
44
- { path: 'metadata.eventTime' },
45
- ],
46
- },
47
- ])))();
48
38
  var devcenter_apps_v1_app_permission_app_permissions_universal_js_2 = require("./devcenter-apps-v1-app-permission-app-permissions.universal.js");
49
39
  Object.defineProperty(exports, "Action", { enumerable: true, get: function () { return devcenter_apps_v1_app_permission_app_permissions_universal_js_2.Action; } });
50
40
  Object.defineProperty(exports, "ActionType", { enumerable: true, get: function () { return devcenter_apps_v1_app_permission_app_permissions_universal_js_2.ActionType; } });
@@ -1 +1 @@
1
- {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.public.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA6D;AAC7D,mJAYyE;AAE5D,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAElE,SAAgB,mBAAmB,CACjC,UAAsB;IAEtB,OAAO,CAAC,aAA4B,EAAE,EAAE,CACtC,IAAA,mFAA4B,EAC1B,aAAa;IACb,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,kDASC;AAaD,SAAgB,kBAAkB,CAChC,UAAsB;IAEtB,OAAO,CAAC,KAAa,EAAE,OAAmC,EAAE,EAAE,CAC5D,IAAA,kFAA2B,EACzB,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAVD,gDAUC;AAYD,SAAgB,mBAAmB,CACjC,UAAsB;IAEtB,OAAO,CAAC,KAAa,EAAE,OAAmC,EAAE,EAAE,CAC5D,IAAA,mFAA4B,EAC1B,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAVD,kDAUC;AAUY,QAAA,sBAAsB,GAAG,IAAA,2BAAe,EACnD,8CAA8C,EAC9C,IAAI,EACJ,CAAC,KAAmC,EAAE,EAAE,CACtC,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,oBAAoB,EAAE;YAC9B,EAAE,IAAI,EAAE,oBAAoB,EAAE;YAC9B,EAAE,IAAI,EAAE,oBAAoB,EAAE;SAC/B;KACF;CACF,CAAC,CACH,CACJ,EAAgC,CAAC;AACrB,QAAA,gDAAgD,GAAG,IAAA,2BAAe,EAC7E,4EAA4E,EAC5E,IAAI,EACJ,CAAC,KAA6D,EAAE,EAAE,CAChE,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,gCAAgC,EAAE;YAC1C,EAAE,IAAI,EAAE,gCAAgC,EAAE;YAC1C,EAAE,IAAI,EAAE,oBAAoB,EAAE;SAC/B;KACF;CACF,CAAC,CACH,CACJ,EAA0D,CAAC;AAE5D,iJAwCyE;AAvCvE,uJAAA,MAAM,OAAA;AAEN,2JAAA,UAAU,OAAA;AAoCV,oKAAA,mBAAmB,OAAA"}
1
+ {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.public.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.public.ts"],"names":[],"mappings":";;;AAAA,oFAAkG;AAClG,0EAAkG;AAClG,sFAAkF;AAClF,8CAA6D;AAC7D,mJAWyE;AAE5D,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAElE,SAAgB,mBAAmB,CACjC,UAAsB;IAEtB,OAAO,CAAC,aAA4B,EAAE,EAAE,CACtC,IAAA,mFAA4B,EAC1B,aAAa;IACb,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,kDASC;AAaD,SAAgB,kBAAkB,CAChC,UAAsB;IAEtB,OAAO,CAAC,KAAa,EAAE,OAAmC,EAAE,EAAE,CAC5D,IAAA,kFAA2B,EACzB,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAVD,gDAUC;AAcD,SAAgB,mBAAmB,CACjC,UAAsB;IAEtB,OAAO,CAAC,KAAa,EAAE,OAAmC,EAAE,EAAE,CAC5D,IAAA,mFAA4B,EAC1B,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAVD,kDAUC;AAYY,QAAA,sBAAsB,GAAG,IAAA,2BAAe,EACnD,8CAA8C,EAC9C,IAAI,EACJ,CAAC,KAAmC,EAAE,EAAE,CACtC,IAAA,gEAAuC,EACrC,IAAA,gCAAc,EAAC,KAAK,EAAE;IACpB;QACE,WAAW,EAAE,gDAAoC;QACjD,KAAK,EAAE;YACL,EAAE,IAAI,EAAE,oBAAoB,EAAE;YAC9B,EAAE,IAAI,EAAE,oBAAoB,EAAE;YAC9B,EAAE,IAAI,EAAE,oBAAoB,EAAE;SAC/B;KACF;CACF,CAAC,CACH,CACJ,EAAgC,CAAC;AAElC,iJAuCyE;AAtCvE,uJAAA,MAAM,OAAA;AAEN,2JAAA,UAAU,OAAA;AAmCV,oKAAA,mBAAmB,OAAA"}
@@ -1,65 +1,83 @@
1
1
  /** AppPermission is the main entity of AppPermissionsService that define relation between app and permission */
2
2
  export interface AppPermission {
3
3
  /**
4
- * App ID
4
+ * [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
5
+ *
6
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
5
7
  * @format GUID
6
8
  */
7
9
  appId?: string;
8
- /** Permission object */
10
+ /**
11
+ * Permission details.
12
+ *
13
+ * Learn more [about permissions for Wix apps](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
14
+ */
9
15
  permission?: V1Permission;
10
16
  /**
11
- * Represents the time this AppPermission was created
17
+ * When the permission was created.
12
18
  * @readonly
13
19
  */
14
20
  createdDate?: Date | null;
15
21
  /**
16
- * Represents the time this AppPermission was updated
22
+ * When the permission was last updated
17
23
  * @readonly
18
24
  */
19
25
  updatedDate?: Date | null;
20
26
  }
21
27
  export interface V1Permission {
22
28
  /**
23
- * Permission ID
29
+ * Permission ID.
30
+ *
31
+ * To find the permission ID, visit the [Permissions page](https://dev.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%2Fdev-center-permissions/add) in the app's dashboard and search for the [permission you want to configure](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/configure-permissions-for-your-app#step-1--identify-required-permissions).
24
32
  * @minLength 1
25
33
  * @maxLength 164
26
34
  */
27
35
  permissionId?: string;
28
36
  }
29
37
  export interface CreateAppPermissionRequest {
30
- /** AppPermission to be created */
38
+ /** App permission to create. */
31
39
  appPermission: AppPermission;
32
40
  }
33
41
  export interface CreateAppPermissionResponse {
34
- /** The created AppPermission */
42
+ /** Details of the created app permission. */
35
43
  appPermission?: AppPermission;
36
44
  }
37
45
  export interface GetAppPermissionRequest {
38
46
  /**
39
- * App ID
47
+ * [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
48
+ *
49
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
40
50
  * @format GUID
41
51
  */
42
52
  appId?: string;
43
53
  /**
44
- * Permission ID
54
+ * Permission ID.
55
+ *
56
+ * To find the permission ID, visit the [Permissions page](https://dev.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%2Fdev-center-permissions/add) in the app's dashboard and search for the [permission you want to configure](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/configure-permissions-for-your-app#step-1--identify-required-permissions).
45
57
  * @minLength 1
46
58
  * @maxLength 164
47
59
  */
48
60
  permissionId?: string;
49
61
  }
50
62
  export interface GetAppPermissionResponse {
51
- /** The retrieved AppPermission */
63
+ /** Details of the retrieved app permission. */
52
64
  appPermission?: AppPermission;
53
65
  }
54
66
  export interface ListAppPermissionsRequest {
55
67
  /**
56
- * App ID
68
+ * [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
69
+ *
70
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
57
71
  * @format GUID
58
72
  */
59
73
  appId: string;
60
- /** Fetch consistent data */
74
+ /**
75
+ * Whether to retrieve the most recent permissions information. This decreases performance but ensures the information retrieved is up-to-date even immediately after an update.
76
+ *
77
+ * Default: `false`
78
+ */
61
79
  consistent?: boolean;
62
- /** Paging */
80
+ /** Paging configuration. */
63
81
  paging?: CursorPaging;
64
82
  }
65
83
  export interface CursorPaging {
@@ -78,9 +96,9 @@ export interface CursorPaging {
78
96
  cursor?: string | null;
79
97
  }
80
98
  export interface ListAppPermissionsResponse {
81
- /** AppPermissions list */
99
+ /** App permissions. */
82
100
  appPermissions?: AppPermission[];
83
- /** Paging */
101
+ /** Paging metadata. */
84
102
  pagingMetadata?: CursorPagingMetadata;
85
103
  }
86
104
  export interface CursorPagingMetadata {
@@ -110,12 +128,16 @@ export interface Cursors {
110
128
  }
111
129
  export interface DeleteAppPermissionRequest {
112
130
  /**
113
- * App ID
131
+ * [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
132
+ *
133
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
114
134
  * @format GUID
115
135
  */
116
136
  appId: string;
117
137
  /**
118
- * Permission ID
138
+ * Permission ID.
139
+ *
140
+ * To find the permission ID, visit the [Permissions page](https://dev.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%2Fdev-center-permissions/add) in the app's dashboard and search for the [permission you want to configure](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/configure-permissions-for-your-app#step-1--identify-required-permissions).
119
141
  * @minLength 1
120
142
  * @maxLength 164
121
143
  */
@@ -1 +1 @@
1
- {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.types.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.types.ts"],"names":[],"mappings":";;;AAgJA,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AA8FD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAoED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
1
+ {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.types.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.types.ts"],"names":[],"mappings":";;;AAsKA,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AA8FD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAoED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
@@ -1,65 +1,83 @@
1
1
  /** AppPermission is the main entity of AppPermissionsService that define relation between app and permission */
2
2
  export interface AppPermission {
3
3
  /**
4
- * App ID
4
+ * [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
5
+ *
6
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
5
7
  * @format GUID
6
8
  */
7
9
  appId?: string;
8
- /** Permission object */
10
+ /**
11
+ * Permission details.
12
+ *
13
+ * Learn more [about permissions for Wix apps](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
14
+ */
9
15
  permission?: V1Permission;
10
16
  /**
11
- * Represents the time this AppPermission was created
17
+ * When the permission was created.
12
18
  * @readonly
13
19
  */
14
20
  _createdDate?: Date | null;
15
21
  /**
16
- * Represents the time this AppPermission was updated
22
+ * When the permission was last updated
17
23
  * @readonly
18
24
  */
19
25
  _updatedDate?: Date | null;
20
26
  }
21
27
  export interface V1Permission {
22
28
  /**
23
- * Permission ID
29
+ * Permission ID.
30
+ *
31
+ * To find the permission ID, visit the [Permissions page](https://dev.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%2Fdev-center-permissions/add) in the app's dashboard and search for the [permission you want to configure](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/configure-permissions-for-your-app#step-1--identify-required-permissions).
24
32
  * @minLength 1
25
33
  * @maxLength 164
26
34
  */
27
35
  permissionId?: string;
28
36
  }
29
37
  export interface CreateAppPermissionRequest {
30
- /** AppPermission to be created */
38
+ /** App permission to create. */
31
39
  appPermission: AppPermission;
32
40
  }
33
41
  export interface CreateAppPermissionResponse {
34
- /** The created AppPermission */
42
+ /** Details of the created app permission. */
35
43
  appPermission?: AppPermission;
36
44
  }
37
45
  export interface GetAppPermissionRequest {
38
46
  /**
39
- * App ID
47
+ * [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
48
+ *
49
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
40
50
  * @format GUID
41
51
  */
42
52
  appId?: string;
43
53
  /**
44
- * Permission ID
54
+ * Permission ID.
55
+ *
56
+ * To find the permission ID, visit the [Permissions page](https://dev.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%2Fdev-center-permissions/add) in the app's dashboard and search for the [permission you want to configure](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/configure-permissions-for-your-app#step-1--identify-required-permissions).
45
57
  * @minLength 1
46
58
  * @maxLength 164
47
59
  */
48
60
  permissionId?: string;
49
61
  }
50
62
  export interface GetAppPermissionResponse {
51
- /** The retrieved AppPermission */
63
+ /** Details of the retrieved app permission. */
52
64
  appPermission?: AppPermission;
53
65
  }
54
66
  export interface ListAppPermissionsRequest {
55
67
  /**
56
- * App ID
68
+ * [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
69
+ *
70
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
57
71
  * @format GUID
58
72
  */
59
73
  appId: string;
60
- /** Fetch consistent data */
74
+ /**
75
+ * Whether to retrieve the most recent permissions information. This decreases performance but ensures the information retrieved is up-to-date even immediately after an update.
76
+ *
77
+ * Default: `false`
78
+ */
61
79
  consistent?: boolean;
62
- /** Paging */
80
+ /** Paging configuration. */
63
81
  paging?: CursorPaging;
64
82
  }
65
83
  export interface CursorPaging {
@@ -78,9 +96,9 @@ export interface CursorPaging {
78
96
  cursor?: string | null;
79
97
  }
80
98
  export interface ListAppPermissionsResponse {
81
- /** AppPermissions list */
99
+ /** App permissions. */
82
100
  appPermissions?: AppPermission[];
83
- /** Paging */
101
+ /** Paging metadata. */
84
102
  pagingMetadata?: CursorPagingMetadata;
85
103
  }
86
104
  export interface CursorPagingMetadata {
@@ -110,12 +128,16 @@ export interface Cursors {
110
128
  }
111
129
  export interface DeleteAppPermissionRequest {
112
130
  /**
113
- * App ID
131
+ * [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
132
+ *
133
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
114
134
  * @format GUID
115
135
  */
116
136
  appId: string;
117
137
  /**
118
- * Permission ID
138
+ * Permission ID.
139
+ *
140
+ * To find the permission ID, visit the [Permissions page](https://dev.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%2Fdev-center-permissions/add) in the app's dashboard and search for the [permission you want to configure](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/configure-permissions-for-your-app#step-1--identify-required-permissions).
119
141
  * @minLength 1
120
142
  * @maxLength 164
121
143
  */
@@ -357,27 +379,16 @@ export interface AppPermissionCreatedEnvelope {
357
379
  entity: AppPermission;
358
380
  metadata: EventMetadata;
359
381
  }
360
- /** @webhook
382
+ /** @permissionId DEV_CENTER.READ_APP_PERMISSIONS
383
+ * @webhook
361
384
  * @eventType wix.devcenter.apps.v1.app_permission_created
362
- * @serviceIdentifier wix.devcenter.apps.permissions.v1.AppPermissionsService
363
385
  * @slug created
364
386
  * @documentationMaturity preview
365
387
  */
366
388
  export declare function onAppPermissionCreated(handler: (event: AppPermissionCreatedEnvelope) => void | Promise<void>): void;
367
- export interface AppPermissionPermissionActionDomainEventEntityEnvelope {
368
- data: PermissionActionDomainEventEntity;
369
- metadata: EventMetadata;
370
- }
371
- /** @webhook
372
- * @eventType wix.devcenter.apps.v1.app_permission_permission_action_domain_event_entity
373
- * @serviceIdentifier wix.devcenter.apps.permissions.v1.AppPermissionsService
374
- * @slug permission_action_domain_event_entity
375
- * @documentationMaturity preview
376
- */
377
- export declare function onAppPermissionPermissionActionDomainEventEntity(handler: (event: AppPermissionPermissionActionDomainEventEntityEnvelope) => void | Promise<void>): void;
378
389
  /**
379
- * Creates new AppPermission
380
- * @param appPermission - AppPermission to be created
390
+ * Creates a new app permission.
391
+ * @param appPermission - App permission to create.
381
392
  * @public
382
393
  * @documentationMaturity preview
383
394
  * @requiredField appPermission
@@ -388,13 +399,15 @@ export declare function onAppPermissionPermissionActionDomainEventEntity(handler
388
399
  * @permissionScope Write Dev Center App Permissions
389
400
  * @permissionScopeId SCOPE.DEV_CENTER.WRITE_PERMISSIONS
390
401
  * @applicableIdentity APP
391
- * @returns The created AppPermission
402
+ * @returns Details of the created app permission.
392
403
  * @fqn wix.devcenter.apps.permissions.v1.AppPermissionsService.CreateAppPermission
393
404
  */
394
405
  export declare function createAppPermission(appPermission: AppPermission): Promise<AppPermission & AppPermissionNonNullableFields>;
395
406
  /**
396
- * List AppPermissions by App ID
397
- * @param appId - App ID
407
+ * Lists app permissions by app ID.
408
+ * @param appId - [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
409
+ *
410
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
398
411
  * @public
399
412
  * @documentationMaturity preview
400
413
  * @requiredField appId
@@ -403,14 +416,20 @@ export declare function createAppPermission(appPermission: AppPermission): Promi
403
416
  */
404
417
  export declare function listAppPermissions(appId: string, options?: ListAppPermissionsOptions): Promise<ListAppPermissionsResponse & ListAppPermissionsResponseNonNullableFields>;
405
418
  export interface ListAppPermissionsOptions {
406
- /** Fetch consistent data */
419
+ /**
420
+ * Whether to retrieve the most recent permissions information. This decreases performance but ensures the information retrieved is up-to-date even immediately after an update.
421
+ *
422
+ * Default: `false`
423
+ */
407
424
  consistent?: boolean;
408
- /** Paging */
425
+ /** Paging configuration. */
409
426
  paging?: CursorPaging;
410
427
  }
411
428
  /**
412
- * Delete AppPermission by App ID and Permission ID
413
- * @param appId - App ID
429
+ * Deletes the specified app permission.
430
+ * @param appId - [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
431
+ *
432
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
414
433
  * @public
415
434
  * @documentationMaturity preview
416
435
  * @requiredField appId
@@ -425,7 +444,9 @@ export interface ListAppPermissionsOptions {
425
444
  export declare function deleteAppPermission(appId: string, options: DeleteAppPermissionOptions): Promise<void>;
426
445
  export interface DeleteAppPermissionOptions {
427
446
  /**
428
- * Permission ID
447
+ * Permission ID.
448
+ *
449
+ * To find the permission ID, visit the [Permissions page](https://dev.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%2Fdev-center-permissions/add) in the app's dashboard and search for the [permission you want to configure](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/configure-permissions-for-your-app#step-1--identify-required-permissions).
429
450
  * @minLength 1
430
451
  * @maxLength 164
431
452
  */
@@ -46,8 +46,8 @@ var WebhookIdentityType;
46
46
  WebhookIdentityType["APP"] = "APP";
47
47
  })(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
48
48
  /**
49
- * Creates new AppPermission
50
- * @param appPermission - AppPermission to be created
49
+ * Creates a new app permission.
50
+ * @param appPermission - App permission to create.
51
51
  * @public
52
52
  * @documentationMaturity preview
53
53
  * @requiredField appPermission
@@ -58,7 +58,7 @@ var WebhookIdentityType;
58
58
  * @permissionScope Write Dev Center App Permissions
59
59
  * @permissionScopeId SCOPE.DEV_CENTER.WRITE_PERMISSIONS
60
60
  * @applicableIdentity APP
61
- * @returns The created AppPermission
61
+ * @returns Details of the created app permission.
62
62
  * @fqn wix.devcenter.apps.permissions.v1.AppPermissionsService.CreateAppPermission
63
63
  */
64
64
  async function createAppPermission(appPermission) {
@@ -86,8 +86,10 @@ async function createAppPermission(appPermission) {
86
86
  }
87
87
  exports.createAppPermission = createAppPermission;
88
88
  /**
89
- * List AppPermissions by App ID
90
- * @param appId - App ID
89
+ * Lists app permissions by app ID.
90
+ * @param appId - [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
91
+ *
92
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
91
93
  * @public
92
94
  * @documentationMaturity preview
93
95
  * @requiredField appId
@@ -125,8 +127,10 @@ async function listAppPermissions(appId, options) {
125
127
  }
126
128
  exports.listAppPermissions = listAppPermissions;
127
129
  /**
128
- * Delete AppPermission by App ID and Permission ID
129
- * @param appId - App ID
130
+ * Deletes the specified app permission.
131
+ * @param appId - [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
132
+ *
133
+ * You can find the app ID on the [Home page](https://manage.wix.com/app-selector?title=Select+an+App&primaryButtonText=Select+Site&actionUrl=https%3A%2F%2Fdev.wix.com%2Fapps%2F%7BappId%7D%home) in the app's dashboard.
130
134
  * @public
131
135
  * @documentationMaturity preview
132
136
  * @requiredField appId
@@ -1 +1 @@
1
- {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.universal.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAkJxH,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AA4FD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAoED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AAyGD;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,mBAAmB,CACvC,aAA4B;IAE5B,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,aAAa,EAAE,aAAa;KAC7B,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,yCAAyC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAEzE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CA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B,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AAvCD,kDAuCC"}
1
+ {"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.universal.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,sIAAwH;AAwKxH,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,+DAAiD,CAAA;AACnD,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB;AA4FD,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;IACnB,6BAAmB,CAAA;AACrB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAoED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AAwFD;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,mBAAmB,CACvC,aAA4B;IAE5B,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,aAAa,EAAE,aAAa;KAC7B,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,yCAAyC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAEzE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS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zB,CAAC;AACH,CAAC;AAvCD,kDAuCC"}
@@ -2,13 +2,10 @@ import { createAppPermission as publicCreateAppPermission, listAppPermissions as
2
2
  import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
3
3
  import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
4
4
  import { onAppPermissionCreated as publicOnAppPermissionCreated } from './devcenter-apps-v1-app-permission-app-permissions.public.js';
5
- import { onAppPermissionPermissionActionDomainEventEntity as publicOnAppPermissionPermissionActionDomainEventEntity } from './devcenter-apps-v1-app-permission-app-permissions.public.js';
6
5
  export declare const createAppPermission: MaybeContext<BuildRESTFunction<typeof publicCreateAppPermission> & typeof publicCreateAppPermission>;
7
6
  export declare const listAppPermissions: MaybeContext<BuildRESTFunction<typeof publicListAppPermissions> & typeof publicListAppPermissions>;
8
7
  export declare const deleteAppPermission: MaybeContext<BuildRESTFunction<typeof publicDeleteAppPermission> & typeof publicDeleteAppPermission>;
9
8
  /** */
10
9
  export declare const onAppPermissionCreated: ReturnType<typeof createEventModule<typeof publicOnAppPermissionCreated>>;
11
- /** */
12
- export declare const onAppPermissionPermissionActionDomainEventEntity: ReturnType<typeof createEventModule<typeof publicOnAppPermissionPermissionActionDomainEventEntity>>;
13
10
  export { ActionType, Action, WebhookIdentityType, } from './devcenter-apps-v1-app-permission-app-permissions.universal.js';
14
- export { AppPermission, V1Permission, CreateAppPermissionRequest, CreateAppPermissionResponse, GetAppPermissionRequest, GetAppPermissionResponse, ListAppPermissionsRequest, CursorPaging, ListAppPermissionsResponse, CursorPagingMetadata, Cursors, DeleteAppPermissionRequest, DeleteAppPermissionResponse, PermissionActionDomainEventEntity, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, OldPermissionChangedEvent, Permission, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, AppPermissionNonNullableFields, CreateAppPermissionResponseNonNullableFields, ListAppPermissionsResponseNonNullableFields, BaseEventMetadata, EventMetadata, AppPermissionCreatedEnvelope, AppPermissionPermissionActionDomainEventEntityEnvelope, ListAppPermissionsOptions, DeleteAppPermissionOptions, } from './devcenter-apps-v1-app-permission-app-permissions.universal.js';
11
+ export { AppPermission, V1Permission, CreateAppPermissionRequest, CreateAppPermissionResponse, GetAppPermissionRequest, GetAppPermissionResponse, ListAppPermissionsRequest, CursorPaging, ListAppPermissionsResponse, CursorPagingMetadata, Cursors, DeleteAppPermissionRequest, DeleteAppPermissionResponse, PermissionActionDomainEventEntity, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, OldPermissionChangedEvent, Permission, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, AppPermissionNonNullableFields, CreateAppPermissionResponseNonNullableFields, ListAppPermissionsResponseNonNullableFields, BaseEventMetadata, EventMetadata, AppPermissionCreatedEnvelope, ListAppPermissionsOptions, DeleteAppPermissionOptions, } from './devcenter-apps-v1-app-permission-app-permissions.universal.js';