@wix/auto_sdk_app-management_app-permissions 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.context.d.ts +1 -1
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.http.d.ts +3 -3
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.http.js +3 -3
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.http.js.map +1 -1
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.meta.d.ts +2 -2
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.meta.js.map +1 -1
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.public.d.ts +9 -9
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.public.js.map +1 -1
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +10 -25
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +24 -34
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.js +5 -5
- package/build/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.context.d.ts +1 -1
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.http.d.ts +3 -3
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.http.js +3 -3
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.http.js.map +1 -1
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.meta.d.ts +2 -2
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.meta.js.map +1 -1
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.public.d.ts +9 -9
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.public.js.map +1 -1
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +10 -25
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +24 -34
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js +5 -5
- package/build/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.context.d.ts +1 -1
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.http.d.ts +3 -3
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.http.js +3 -3
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.http.js.map +1 -1
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.meta.d.ts +2 -2
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.meta.js.map +1 -1
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.public.d.ts +9 -9
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.public.js.map +1 -1
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +10 -25
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +24 -34
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.js +5 -5
- package/build/internal/cjs/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.context.d.ts +1 -1
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.http.d.ts +3 -3
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.http.js +3 -3
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.http.js.map +1 -1
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.meta.d.ts +2 -2
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.meta.js.map +1 -1
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.public.d.ts +9 -9
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.public.js.map +1 -1
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.types.d.ts +10 -25
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.types.js.map +1 -1
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.d.ts +24 -34
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js +5 -5
- package/build/internal/es/src/devcenter-apps-v1-app-permission-app-permissions.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -8,4 +8,4 @@ export declare const deleteAppPermission: MaybeContext<BuildRESTFunction<typeof
|
|
|
8
8
|
/** */
|
|
9
9
|
export declare const onAppPermissionCreated: ReturnType<typeof createEventModule<typeof publicOnAppPermissionCreated>>;
|
|
10
10
|
export { ActionType, Action, WebhookIdentityType, } 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,
|
|
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, BaseEventMetadata, EventMetadata, AppPermissionCreatedEnvelope, ListAppPermissionsOptions, DeleteAppPermissionOptions, } from './devcenter-apps-v1-app-permission-app-permissions.universal.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
/**
|
|
2
|
+
/** Adds a permission to the specified app. */
|
|
3
3
|
export declare function createAppPermission(payload: object): RequestOptionsFactory<any>;
|
|
4
|
-
/** Lists
|
|
4
|
+
/** Lists all permissions for the specified app. */
|
|
5
5
|
export declare function listAppPermissions(payload: object): RequestOptionsFactory<any>;
|
|
6
|
-
/** Deletes the specified app
|
|
6
|
+
/** Deletes a permission from the specified app. */
|
|
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
|
-
/**
|
|
51
|
+
/** Adds a permission to the specified app. */
|
|
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
|
-
/** Lists
|
|
89
|
+
/** Lists all permissions for the specified app. */
|
|
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
|
-
/** Deletes the specified app
|
|
118
|
+
/** Deletes a permission from the specified app. */
|
|
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,
|
|
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,8CAA8C;AAC9C,SAAgB,mBAAmB,CACjC,OAAe;IAEf,SAAS,qBAAqB,CAAC,EAAE,IAAI,EAAO;QAC1C,MAAM,cAAc,GAAG,IAAA,gCAAc,EAAC,OAAO,EAAE;YAC7C;gBACE,WAAW,EAAE,gDAAoC;gBACjD,KAAK,EAAE;oBACL,EAAE,IAAI,EAAE,2BAA2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,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,mDAAmD;AACnD,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"}
|
|
@@ -10,6 +10,6 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
|
|
|
10
10
|
__responseType: Q;
|
|
11
11
|
__originalResponseType: R;
|
|
12
12
|
};
|
|
13
|
-
export declare function createAppPermission(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.CreateAppPermissionRequest, ambassadorWixDevcenterAppsV1AppPermissionTypes.CreateAppPermissionRequest, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.CreateAppPermissionResponse
|
|
14
|
-
export declare function listAppPermissions(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.ListAppPermissionsRequest, ambassadorWixDevcenterAppsV1AppPermissionTypes.ListAppPermissionsRequest, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.ListAppPermissionsResponse
|
|
13
|
+
export declare function createAppPermission(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.CreateAppPermissionRequest, ambassadorWixDevcenterAppsV1AppPermissionTypes.CreateAppPermissionRequest, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.CreateAppPermissionResponse, ambassadorWixDevcenterAppsV1AppPermissionTypes.CreateAppPermissionResponse>;
|
|
14
|
+
export declare function listAppPermissions(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.ListAppPermissionsRequest, ambassadorWixDevcenterAppsV1AppPermissionTypes.ListAppPermissionsRequest, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.ListAppPermissionsResponse, ambassadorWixDevcenterAppsV1AppPermissionTypes.ListAppPermissionsResponse>;
|
|
15
15
|
export declare function deleteAppPermission(): __PublicMethodMetaInfo<'DELETE', {}, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.DeleteAppPermissionRequest, ambassadorWixDevcenterAppsV1AppPermissionTypes.DeleteAppPermissionRequest, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.DeleteAppPermissionResponse, ambassadorWixDevcenterAppsV1AppPermissionTypes.DeleteAppPermissionResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.meta.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sIAAwH;AAsBxH,SAAgB,mBAAmB;
|
|
1
|
+
{"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.meta.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sIAAwH;AAsBxH,SAAgB,mBAAmB;IAQjC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,yCAAyC,CAAC,mBAAmB,CA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CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,QAAQ;QACpB,IAAI,EAAE,qBAAqB;QAC3B,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA5BD,kDA4BC"}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { EventDefinition, HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { AppPermission, AppPermissionCreatedEnvelope,
|
|
2
|
+
import { AppPermission, AppPermissionCreatedEnvelope, DeleteAppPermissionOptions, ListAppPermissionsOptions, ListAppPermissionsResponse } 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
|
-
*
|
|
10
|
-
* @param -
|
|
11
|
-
* @returns Details of the
|
|
9
|
+
* Adds a permission to the specified app.
|
|
10
|
+
* @param - Permission to add to the specified app.
|
|
11
|
+
* @returns Details of permission that was added to the app.
|
|
12
12
|
*/
|
|
13
|
-
(appPermission: AppPermission): Promise<AppPermission
|
|
13
|
+
(appPermission: AppPermission): Promise<AppPermission>;
|
|
14
14
|
}
|
|
15
15
|
export declare function listAppPermissions(httpClient: HttpClient): ListAppPermissionsSignature;
|
|
16
16
|
interface ListAppPermissionsSignature {
|
|
17
17
|
/**
|
|
18
|
-
* Lists
|
|
18
|
+
* Lists all permissions for the specified app.
|
|
19
19
|
* @param - [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
|
|
20
20
|
*
|
|
21
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.
|
|
22
22
|
*/
|
|
23
|
-
(appId: string, options?: ListAppPermissionsOptions | undefined): Promise<ListAppPermissionsResponse
|
|
23
|
+
(appId: string, options?: ListAppPermissionsOptions | undefined): Promise<ListAppPermissionsResponse>;
|
|
24
24
|
}
|
|
25
25
|
export declare function deleteAppPermission(httpClient: HttpClient): DeleteAppPermissionSignature;
|
|
26
26
|
interface DeleteAppPermissionSignature {
|
|
27
27
|
/**
|
|
28
|
-
* Deletes the specified app
|
|
28
|
+
* Deletes a permission from the specified app.
|
|
29
29
|
* @param - [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
|
|
30
30
|
*
|
|
31
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.
|
|
@@ -33,4 +33,4 @@ interface DeleteAppPermissionSignature {
|
|
|
33
33
|
(appId: string, options: DeleteAppPermissionOptions): Promise<void>;
|
|
34
34
|
}
|
|
35
35
|
export declare const onAppPermissionCreated: EventDefinition<AppPermissionCreatedEnvelope, "wix.devcenter.apps.v1.app_permission_created">;
|
|
36
|
-
export { Action, ActionEvent, ActionType, AppPermission, AppPermissionCreatedEnvelope,
|
|
36
|
+
export { Action, ActionEvent, ActionType, AppPermission, AppPermissionCreatedEnvelope, BaseEventMetadata, CreateAppPermissionRequest, CreateAppPermissionResponse, CursorPaging, CursorPagingMetadata, Cursors, DeleteAppPermissionOptions, DeleteAppPermissionRequest, DeleteAppPermissionResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, GetAppPermissionRequest, GetAppPermissionResponse, IdentificationData, IdentificationDataIdOneOf, ListAppPermissionsOptions, ListAppPermissionsRequest, ListAppPermissionsResponse, MessageEnvelope, OldPermissionChangedEvent, Permission, PermissionActionDomainEventEntity, RestoreInfo, V1Permission, WebhookIdentityType, } from './devcenter-apps-v1-app-permission-app-permissions.universal.js';
|
|
@@ -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,
|
|
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,8CAA+E;AAC/E,mJASyE;AAE5D,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAElE,SAAgB,mBAAmB,CACjC,UAAsB;IAEtB,OAAO,CACL,aAGC,EACD,EAAE,CACF,IAAA,mFAA4B,EAC1B,aAAa;IACb,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAdD,kDAcC;AAWD,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;AAeD,SAAgB,mBAAmB,CACjC,UAAsB;IAEtB,OAAO,CACL,KAAa,EACb,OAAqE,EACrE,EAAE,CACF,IAAA,mFAA4B,EAC1B,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,kDAaC;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,iJAoCyE;AAnCvE,uJAAA,MAAM,OAAA;AAEN,2JAAA,UAAU,OAAA;AAgCV,oKAAA,mBAAmB,OAAA"}
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
/** AppPermission is the main entity of AppPermissionsService that define relation between app and permission */
|
|
2
1
|
export interface AppPermission {
|
|
3
2
|
/**
|
|
4
3
|
* [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
|
|
5
4
|
*
|
|
6
|
-
* You can find the app ID
|
|
5
|
+
* You can find the app ID in the app's dashboard's [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).
|
|
7
6
|
* @format GUID
|
|
8
7
|
*/
|
|
9
8
|
appId?: string;
|
|
10
9
|
/**
|
|
11
|
-
* Permission
|
|
10
|
+
* Permission to configure.
|
|
12
11
|
*
|
|
13
12
|
* Learn more [about permissions for Wix apps](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
14
13
|
*/
|
|
@@ -19,7 +18,7 @@ export interface AppPermission {
|
|
|
19
18
|
*/
|
|
20
19
|
createdDate?: Date | null;
|
|
21
20
|
/**
|
|
22
|
-
* When the permission was last updated
|
|
21
|
+
* When the permission was last updated.
|
|
23
22
|
* @readonly
|
|
24
23
|
*/
|
|
25
24
|
updatedDate?: Date | null;
|
|
@@ -28,18 +27,18 @@ export interface V1Permission {
|
|
|
28
27
|
/**
|
|
29
28
|
* Permission ID.
|
|
30
29
|
*
|
|
31
|
-
* To find the permission ID,
|
|
30
|
+
* To find the permission ID, navigate to 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).
|
|
32
31
|
* @minLength 1
|
|
33
32
|
* @maxLength 164
|
|
34
33
|
*/
|
|
35
34
|
permissionId?: string;
|
|
36
35
|
}
|
|
37
36
|
export interface CreateAppPermissionRequest {
|
|
38
|
-
/**
|
|
37
|
+
/** Permission to add to the specified app. */
|
|
39
38
|
appPermission: AppPermission;
|
|
40
39
|
}
|
|
41
40
|
export interface CreateAppPermissionResponse {
|
|
42
|
-
/** Details of the
|
|
41
|
+
/** Details of permission that was added to the app. */
|
|
43
42
|
appPermission?: AppPermission;
|
|
44
43
|
}
|
|
45
44
|
export interface GetAppPermissionRequest {
|
|
@@ -53,7 +52,7 @@ export interface GetAppPermissionRequest {
|
|
|
53
52
|
/**
|
|
54
53
|
* Permission ID.
|
|
55
54
|
*
|
|
56
|
-
* To find the permission ID,
|
|
55
|
+
* To find the permission ID, navigate to 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).
|
|
57
56
|
* @minLength 1
|
|
58
57
|
* @maxLength 164
|
|
59
58
|
*/
|
|
@@ -72,7 +71,7 @@ export interface ListAppPermissionsRequest {
|
|
|
72
71
|
*/
|
|
73
72
|
appId: string;
|
|
74
73
|
/**
|
|
75
|
-
* Whether to retrieve the most recent permissions information. This decreases performance but ensures the information
|
|
74
|
+
* Whether to retrieve the most recent permissions information. This decreases performance but ensures that the retrieved information is up-to-date, even immediately after an update.
|
|
76
75
|
*
|
|
77
76
|
* Default: `false`
|
|
78
77
|
*/
|
|
@@ -96,7 +95,7 @@ export interface CursorPaging {
|
|
|
96
95
|
cursor?: string | null;
|
|
97
96
|
}
|
|
98
97
|
export interface ListAppPermissionsResponse {
|
|
99
|
-
/**
|
|
98
|
+
/** List of permissions for the specified app. */
|
|
100
99
|
appPermissions?: AppPermission[];
|
|
101
100
|
/** Paging metadata. */
|
|
102
101
|
pagingMetadata?: CursorPagingMetadata;
|
|
@@ -137,7 +136,7 @@ export interface DeleteAppPermissionRequest {
|
|
|
137
136
|
/**
|
|
138
137
|
* Permission ID.
|
|
139
138
|
*
|
|
140
|
-
* To find the permission ID,
|
|
139
|
+
* To find the permission ID, navigate to 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).
|
|
141
140
|
* @minLength 1
|
|
142
141
|
* @maxLength 164
|
|
143
142
|
*/
|
|
@@ -312,17 +311,3 @@ export declare enum WebhookIdentityType {
|
|
|
312
311
|
WIX_USER = "WIX_USER",
|
|
313
312
|
APP = "APP"
|
|
314
313
|
}
|
|
315
|
-
interface V1PermissionNonNullableFields {
|
|
316
|
-
permissionId: string;
|
|
317
|
-
}
|
|
318
|
-
interface AppPermissionNonNullableFields {
|
|
319
|
-
appId: string;
|
|
320
|
-
permission?: V1PermissionNonNullableFields;
|
|
321
|
-
}
|
|
322
|
-
export interface CreateAppPermissionResponseNonNullableFields {
|
|
323
|
-
appPermission?: AppPermissionNonNullableFields;
|
|
324
|
-
}
|
|
325
|
-
export interface ListAppPermissionsResponseNonNullableFields {
|
|
326
|
-
appPermissions: AppPermissionNonNullableFields[];
|
|
327
|
-
}
|
|
328
|
-
export {};
|
|
@@ -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":";;;
|
|
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":";;;AAqKA,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,14 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
2
2
|
export interface AppPermission {
|
|
3
3
|
/**
|
|
4
4
|
* [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
|
|
5
5
|
*
|
|
6
|
-
* You can find the app ID
|
|
6
|
+
* You can find the app ID in the app's dashboard's [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).
|
|
7
7
|
* @format GUID
|
|
8
8
|
*/
|
|
9
9
|
appId?: string;
|
|
10
10
|
/**
|
|
11
|
-
* Permission
|
|
11
|
+
* Permission to configure.
|
|
12
12
|
*
|
|
13
13
|
* Learn more [about permissions for Wix apps](https://dev.wix.com/docs/build-apps/develop-your-app/access/authorization/about-permissions).
|
|
14
14
|
*/
|
|
@@ -19,7 +19,7 @@ export interface AppPermission {
|
|
|
19
19
|
*/
|
|
20
20
|
_createdDate?: Date | null;
|
|
21
21
|
/**
|
|
22
|
-
* When the permission was last updated
|
|
22
|
+
* When the permission was last updated.
|
|
23
23
|
* @readonly
|
|
24
24
|
*/
|
|
25
25
|
_updatedDate?: Date | null;
|
|
@@ -28,18 +28,18 @@ export interface V1Permission {
|
|
|
28
28
|
/**
|
|
29
29
|
* Permission ID.
|
|
30
30
|
*
|
|
31
|
-
* To find the permission ID,
|
|
31
|
+
* To find the permission ID, navigate to 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).
|
|
32
32
|
* @minLength 1
|
|
33
33
|
* @maxLength 164
|
|
34
34
|
*/
|
|
35
35
|
permissionId?: string;
|
|
36
36
|
}
|
|
37
37
|
export interface CreateAppPermissionRequest {
|
|
38
|
-
/**
|
|
38
|
+
/** Permission to add to the specified app. */
|
|
39
39
|
appPermission: AppPermission;
|
|
40
40
|
}
|
|
41
41
|
export interface CreateAppPermissionResponse {
|
|
42
|
-
/** Details of the
|
|
42
|
+
/** Details of permission that was added to the app. */
|
|
43
43
|
appPermission?: AppPermission;
|
|
44
44
|
}
|
|
45
45
|
export interface GetAppPermissionRequest {
|
|
@@ -53,7 +53,7 @@ export interface GetAppPermissionRequest {
|
|
|
53
53
|
/**
|
|
54
54
|
* Permission ID.
|
|
55
55
|
*
|
|
56
|
-
* To find the permission ID,
|
|
56
|
+
* To find the permission ID, navigate to 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).
|
|
57
57
|
* @minLength 1
|
|
58
58
|
* @maxLength 164
|
|
59
59
|
*/
|
|
@@ -72,7 +72,7 @@ export interface ListAppPermissionsRequest {
|
|
|
72
72
|
*/
|
|
73
73
|
appId: string;
|
|
74
74
|
/**
|
|
75
|
-
* Whether to retrieve the most recent permissions information. This decreases performance but ensures the information
|
|
75
|
+
* Whether to retrieve the most recent permissions information. This decreases performance but ensures that the retrieved information is up-to-date, even immediately after an update.
|
|
76
76
|
*
|
|
77
77
|
* Default: `false`
|
|
78
78
|
*/
|
|
@@ -96,7 +96,7 @@ export interface CursorPaging {
|
|
|
96
96
|
cursor?: string | null;
|
|
97
97
|
}
|
|
98
98
|
export interface ListAppPermissionsResponse {
|
|
99
|
-
/**
|
|
99
|
+
/** List of permissions for the specified app. */
|
|
100
100
|
appPermissions?: AppPermission[];
|
|
101
101
|
/** Paging metadata. */
|
|
102
102
|
pagingMetadata?: CursorPagingMetadata;
|
|
@@ -137,7 +137,7 @@ export interface DeleteAppPermissionRequest {
|
|
|
137
137
|
/**
|
|
138
138
|
* Permission ID.
|
|
139
139
|
*
|
|
140
|
-
* To find the permission ID,
|
|
140
|
+
* To find the permission ID, navigate to 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).
|
|
141
141
|
* @minLength 1
|
|
142
142
|
* @maxLength 164
|
|
143
143
|
*/
|
|
@@ -310,19 +310,6 @@ export declare enum WebhookIdentityType {
|
|
|
310
310
|
WIX_USER = "WIX_USER",
|
|
311
311
|
APP = "APP"
|
|
312
312
|
}
|
|
313
|
-
interface V1PermissionNonNullableFields {
|
|
314
|
-
permissionId: string;
|
|
315
|
-
}
|
|
316
|
-
export interface AppPermissionNonNullableFields {
|
|
317
|
-
appId: string;
|
|
318
|
-
permission?: V1PermissionNonNullableFields;
|
|
319
|
-
}
|
|
320
|
-
export interface CreateAppPermissionResponseNonNullableFields {
|
|
321
|
-
appPermission?: AppPermissionNonNullableFields;
|
|
322
|
-
}
|
|
323
|
-
export interface ListAppPermissionsResponseNonNullableFields {
|
|
324
|
-
appPermissions: AppPermissionNonNullableFields[];
|
|
325
|
-
}
|
|
326
313
|
export interface BaseEventMetadata {
|
|
327
314
|
/**
|
|
328
315
|
* App instance ID.
|
|
@@ -386,9 +373,10 @@ export interface AppPermissionCreatedEnvelope {
|
|
|
386
373
|
* @documentationMaturity preview
|
|
387
374
|
*/
|
|
388
375
|
export declare function onAppPermissionCreated(handler: (event: AppPermissionCreatedEnvelope) => void | Promise<void>): void;
|
|
376
|
+
type AppPermissionNonNullablePaths = `appId` | `permission.permissionId`;
|
|
389
377
|
/**
|
|
390
|
-
*
|
|
391
|
-
* @param appPermission -
|
|
378
|
+
* Adds a permission to the specified app.
|
|
379
|
+
* @param appPermission - Permission to add to the specified app.
|
|
392
380
|
* @public
|
|
393
381
|
* @documentationMaturity preview
|
|
394
382
|
* @requiredField appPermission
|
|
@@ -399,12 +387,12 @@ export declare function onAppPermissionCreated(handler: (event: AppPermissionCre
|
|
|
399
387
|
* @permissionScope Write Dev Center App Permissions
|
|
400
388
|
* @permissionScopeId SCOPE.DEV_CENTER.WRITE_PERMISSIONS
|
|
401
389
|
* @applicableIdentity APP
|
|
402
|
-
* @returns Details of the
|
|
390
|
+
* @returns Details of permission that was added to the app.
|
|
403
391
|
* @fqn wix.devcenter.apps.permissions.v1.AppPermissionsService.CreateAppPermission
|
|
404
392
|
*/
|
|
405
|
-
export declare function createAppPermission(appPermission: AppPermission): Promise<AppPermission
|
|
393
|
+
export declare function createAppPermission(appPermission: NonNullablePaths<AppPermission, `appId` | `permission` | `permission.permissionId`>): Promise<NonNullablePaths<AppPermission, AppPermissionNonNullablePaths>>;
|
|
406
394
|
/**
|
|
407
|
-
* Lists
|
|
395
|
+
* Lists all permissions for the specified app.
|
|
408
396
|
* @param appId - [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
|
|
409
397
|
*
|
|
410
398
|
* 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,10 +402,12 @@ export declare function createAppPermission(appPermission: AppPermission): Promi
|
|
|
414
402
|
* @permissionId DEV_CENTER.READ_APP_PERMISSIONS
|
|
415
403
|
* @fqn wix.devcenter.apps.permissions.v1.AppPermissionsService.ListAppPermissions
|
|
416
404
|
*/
|
|
417
|
-
export declare function listAppPermissions(appId: string, options?: ListAppPermissionsOptions): Promise<ListAppPermissionsResponse
|
|
405
|
+
export declare function listAppPermissions(appId: string, options?: ListAppPermissionsOptions): Promise<NonNullablePaths<ListAppPermissionsResponse, {
|
|
406
|
+
[P in AppPermissionNonNullablePaths]: `appPermissions.${number}.${P}`;
|
|
407
|
+
}[AppPermissionNonNullablePaths]>>;
|
|
418
408
|
export interface ListAppPermissionsOptions {
|
|
419
409
|
/**
|
|
420
|
-
* Whether to retrieve the most recent permissions information. This decreases performance but ensures the information
|
|
410
|
+
* Whether to retrieve the most recent permissions information. This decreases performance but ensures that the retrieved information is up-to-date, even immediately after an update.
|
|
421
411
|
*
|
|
422
412
|
* Default: `false`
|
|
423
413
|
*/
|
|
@@ -426,7 +416,7 @@ export interface ListAppPermissionsOptions {
|
|
|
426
416
|
paging?: CursorPaging;
|
|
427
417
|
}
|
|
428
418
|
/**
|
|
429
|
-
* Deletes the specified app
|
|
419
|
+
* Deletes a permission from the specified app.
|
|
430
420
|
* @param appId - [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
|
|
431
421
|
*
|
|
432
422
|
* 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.
|
|
@@ -441,12 +431,12 @@ export interface ListAppPermissionsOptions {
|
|
|
441
431
|
* @applicableIdentity APP
|
|
442
432
|
* @fqn wix.devcenter.apps.permissions.v1.AppPermissionsService.DeleteAppPermission
|
|
443
433
|
*/
|
|
444
|
-
export declare function deleteAppPermission(appId: string, options: DeleteAppPermissionOptions): Promise<void>;
|
|
434
|
+
export declare function deleteAppPermission(appId: string, options: NonNullablePaths<DeleteAppPermissionOptions, `permissionId`>): Promise<void>;
|
|
445
435
|
export interface DeleteAppPermissionOptions {
|
|
446
436
|
/**
|
|
447
437
|
* Permission ID.
|
|
448
438
|
*
|
|
449
|
-
* To find the permission ID,
|
|
439
|
+
* To find the permission ID, navigate to 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).
|
|
450
440
|
* @minLength 1
|
|
451
441
|
* @maxLength 164
|
|
452
442
|
*/
|
|
@@ -46,8 +46,8 @@ var WebhookIdentityType;
|
|
|
46
46
|
WebhookIdentityType["APP"] = "APP";
|
|
47
47
|
})(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
50
|
-
* @param appPermission -
|
|
49
|
+
* Adds a permission to the specified app.
|
|
50
|
+
* @param appPermission - Permission to add to the specified app.
|
|
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 Details of the
|
|
61
|
+
* @returns Details of permission that was added to the app.
|
|
62
62
|
* @fqn wix.devcenter.apps.permissions.v1.AppPermissionsService.CreateAppPermission
|
|
63
63
|
*/
|
|
64
64
|
async function createAppPermission(appPermission) {
|
|
@@ -86,7 +86,7 @@ async function createAppPermission(appPermission) {
|
|
|
86
86
|
}
|
|
87
87
|
exports.createAppPermission = createAppPermission;
|
|
88
88
|
/**
|
|
89
|
-
* Lists
|
|
89
|
+
* Lists all permissions for the specified app.
|
|
90
90
|
* @param appId - [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
|
|
91
91
|
*
|
|
92
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.
|
|
@@ -127,7 +127,7 @@ async function listAppPermissions(appId, options) {
|
|
|
127
127
|
}
|
|
128
128
|
exports.listAppPermissions = listAppPermissions;
|
|
129
129
|
/**
|
|
130
|
-
* Deletes the specified app
|
|
130
|
+
* Deletes a permission from the specified app.
|
|
131
131
|
* @param appId - [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
|
|
132
132
|
*
|
|
133
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.
|
|
@@ -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;
|
|
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;AAuKxH,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;AAyED;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,mBAAmB,CACvC,aAGC;IAED,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"}
|
|
@@ -8,4 +8,4 @@ export declare const deleteAppPermission: MaybeContext<BuildRESTFunction<typeof
|
|
|
8
8
|
/** */
|
|
9
9
|
export declare const onAppPermissionCreated: ReturnType<typeof createEventModule<typeof publicOnAppPermissionCreated>>;
|
|
10
10
|
export { ActionType, Action, WebhookIdentityType, } 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,
|
|
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, BaseEventMetadata, EventMetadata, AppPermissionCreatedEnvelope, ListAppPermissionsOptions, DeleteAppPermissionOptions, } from './devcenter-apps-v1-app-permission-app-permissions.universal.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RequestOptionsFactory } from '@wix/sdk-types';
|
|
2
|
-
/**
|
|
2
|
+
/** Adds a permission to the specified app. */
|
|
3
3
|
export declare function createAppPermission(payload: object): RequestOptionsFactory<any>;
|
|
4
|
-
/** Lists
|
|
4
|
+
/** Lists all permissions for the specified app. */
|
|
5
5
|
export declare function listAppPermissions(payload: object): RequestOptionsFactory<any>;
|
|
6
|
-
/** Deletes the specified app
|
|
6
|
+
/** Deletes a permission from the specified app. */
|
|
7
7
|
export declare function deleteAppPermission(payload: object): RequestOptionsFactory<any>;
|
|
@@ -45,7 +45,7 @@ function resolveWixDevcenterAppsPermissionsV1AppPermissionsServiceUrl(opts) {
|
|
|
45
45
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
46
46
|
}
|
|
47
47
|
const PACKAGE_NAME = '@wix/auto_sdk_app-management_app-permissions';
|
|
48
|
-
/**
|
|
48
|
+
/** Adds a permission to the specified app. */
|
|
49
49
|
export function createAppPermission(payload) {
|
|
50
50
|
function __createAppPermission({ host }) {
|
|
51
51
|
const serializedData = transformPaths(payload, [
|
|
@@ -82,7 +82,7 @@ export function createAppPermission(payload) {
|
|
|
82
82
|
}
|
|
83
83
|
return __createAppPermission;
|
|
84
84
|
}
|
|
85
|
-
/** Lists
|
|
85
|
+
/** Lists all permissions for the specified app. */
|
|
86
86
|
export function listAppPermissions(payload) {
|
|
87
87
|
function __listAppPermissions({ host }) {
|
|
88
88
|
const metadata = {
|
|
@@ -110,7 +110,7 @@ export function listAppPermissions(payload) {
|
|
|
110
110
|
}
|
|
111
111
|
return __listAppPermissions;
|
|
112
112
|
}
|
|
113
|
-
/** Deletes the specified app
|
|
113
|
+
/** Deletes a permission from the specified app. */
|
|
114
114
|
export function deleteAppPermission(payload) {
|
|
115
115
|
function __deleteAppPermission({ host }) {
|
|
116
116
|
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,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,kDAAkD,CAAC;AAClF,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;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,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,YAAY,GAAG,8CAA8C,CAAC;AAEpE,
|
|
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,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO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f,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,iBAAiB,CAAC,OAAO,CAAC;SACnC,CAAC;QAEF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,OAAO,qBAAqB,CAAC;AAC/B,CAAC"}
|
|
@@ -10,6 +10,6 @@ export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unk
|
|
|
10
10
|
__responseType: Q;
|
|
11
11
|
__originalResponseType: R;
|
|
12
12
|
};
|
|
13
|
-
export declare function createAppPermission(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.CreateAppPermissionRequest, ambassadorWixDevcenterAppsV1AppPermissionTypes.CreateAppPermissionRequest, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.CreateAppPermissionResponse
|
|
14
|
-
export declare function listAppPermissions(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.ListAppPermissionsRequest, ambassadorWixDevcenterAppsV1AppPermissionTypes.ListAppPermissionsRequest, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.ListAppPermissionsResponse
|
|
13
|
+
export declare function createAppPermission(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.CreateAppPermissionRequest, ambassadorWixDevcenterAppsV1AppPermissionTypes.CreateAppPermissionRequest, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.CreateAppPermissionResponse, ambassadorWixDevcenterAppsV1AppPermissionTypes.CreateAppPermissionResponse>;
|
|
14
|
+
export declare function listAppPermissions(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.ListAppPermissionsRequest, ambassadorWixDevcenterAppsV1AppPermissionTypes.ListAppPermissionsRequest, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.ListAppPermissionsResponse, ambassadorWixDevcenterAppsV1AppPermissionTypes.ListAppPermissionsResponse>;
|
|
15
15
|
export declare function deleteAppPermission(): __PublicMethodMetaInfo<'DELETE', {}, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.DeleteAppPermissionRequest, ambassadorWixDevcenterAppsV1AppPermissionTypes.DeleteAppPermissionRequest, ambassadorWixDevcenterAppsV1AppPermissionUniversalTypes.DeleteAppPermissionResponse, ambassadorWixDevcenterAppsV1AppPermissionTypes.DeleteAppPermissionResponse>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.meta.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,yCAAyC,MAAM,4DAA4D,CAAC;AAsBxH,MAAM,UAAU,mBAAmB;
|
|
1
|
+
{"version":3,"file":"devcenter-apps-v1-app-permission-app-permissions.meta.js","sourceRoot":"","sources":["../../../src/devcenter-apps-v1-app-permission-app-permissions.meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,yCAAyC,MAAM,4DAA4D,CAAC;AAsBxH,MAAM,UAAU,mBAAmB;IAQjC,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,yCAAyC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAEzE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UA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