@wix/auto_sdk_data_permissions 1.0.6 → 1.0.8
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/data-v1-data-permissions-permissions.types.d.ts +42 -32
- package/build/cjs/src/data-v1-data-permissions-permissions.types.js.map +1 -1
- package/build/cjs/src/data-v1-data-permissions-permissions.universal.d.ts +46 -36
- package/build/cjs/src/data-v1-data-permissions-permissions.universal.js.map +1 -1
- package/build/es/src/data-v1-data-permissions-permissions.types.d.ts +42 -32
- package/build/es/src/data-v1-data-permissions-permissions.types.js.map +1 -1
- package/build/es/src/data-v1-data-permissions-permissions.universal.d.ts +46 -36
- package/build/es/src/data-v1-data-permissions-permissions.universal.js.map +1 -1
- package/build/internal/cjs/src/data-v1-data-permissions-permissions.types.d.ts +42 -32
- package/build/internal/cjs/src/data-v1-data-permissions-permissions.types.js.map +1 -1
- package/build/internal/cjs/src/data-v1-data-permissions-permissions.universal.d.ts +46 -36
- package/build/internal/cjs/src/data-v1-data-permissions-permissions.universal.js.map +1 -1
- package/build/internal/es/src/data-v1-data-permissions-permissions.types.d.ts +42 -32
- package/build/internal/es/src/data-v1-data-permissions-permissions.types.js.map +1 -1
- package/build/internal/es/src/data-v1-data-permissions-permissions.universal.d.ts +46 -36
- package/build/internal/es/src/data-v1-data-permissions-permissions.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -11,13 +11,13 @@ export interface DataPermissions {
|
|
|
11
11
|
*/
|
|
12
12
|
id?: string;
|
|
13
13
|
/** Access level for data items read */
|
|
14
|
-
itemRead?:
|
|
14
|
+
itemRead?: AccessLevelWithLiterals;
|
|
15
15
|
/** Access level for data items insert */
|
|
16
|
-
itemInsert?:
|
|
16
|
+
itemInsert?: AccessLevelWithLiterals;
|
|
17
17
|
/** Access level for data items update */
|
|
18
|
-
itemUpdate?:
|
|
18
|
+
itemUpdate?: AccessLevelWithLiterals;
|
|
19
19
|
/** Access level for data items removal */
|
|
20
|
-
itemRemove?:
|
|
20
|
+
itemRemove?: AccessLevelWithLiterals;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Describes who can perform certain action.
|
|
@@ -37,6 +37,8 @@ export declare enum AccessLevel {
|
|
|
37
37
|
/** CMS administrators and users or roles granted with special access */
|
|
38
38
|
PRIVILEGED = "PRIVILEGED"
|
|
39
39
|
}
|
|
40
|
+
/** @enumType */
|
|
41
|
+
export type AccessLevelWithLiterals = AccessLevel | 'UNKNOWN' | 'ANYONE' | 'SITE_MEMBER' | 'SITE_MEMBER_AUTHOR' | 'CMS_EDITOR' | 'PRIVILEGED';
|
|
40
42
|
/** Special access granted to user or role */
|
|
41
43
|
export interface SpecialPermissions extends SpecialPermissionsSubjectOneOf {
|
|
42
44
|
/**
|
|
@@ -58,13 +60,13 @@ export interface SpecialPermissions extends SpecialPermissionsSubjectOneOf {
|
|
|
58
60
|
*/
|
|
59
61
|
id?: string;
|
|
60
62
|
/** If data item read is allowed */
|
|
61
|
-
itemRead?:
|
|
63
|
+
itemRead?: AccessWithLiterals;
|
|
62
64
|
/** If data item insert is allowed */
|
|
63
|
-
itemInsert?:
|
|
65
|
+
itemInsert?: AccessWithLiterals;
|
|
64
66
|
/** If data item update is allowed */
|
|
65
|
-
itemUpdate?:
|
|
67
|
+
itemUpdate?: AccessWithLiterals;
|
|
66
68
|
/** If data item remove is allowed */
|
|
67
|
-
itemRemove?:
|
|
69
|
+
itemRemove?: AccessWithLiterals;
|
|
68
70
|
}
|
|
69
71
|
/** @oneof */
|
|
70
72
|
export interface SpecialPermissionsSubjectOneOf {
|
|
@@ -87,6 +89,8 @@ export declare enum Access {
|
|
|
87
89
|
/** Action is specifically allowed */
|
|
88
90
|
ALLOWED = "ALLOWED"
|
|
89
91
|
}
|
|
92
|
+
/** @enumType */
|
|
93
|
+
export type AccessWithLiterals = Access | 'UNSPECIFIED' | 'ALLOWED';
|
|
90
94
|
export interface GetPermissionsRequest {
|
|
91
95
|
/**
|
|
92
96
|
* Data Collection ID to get permissions for
|
|
@@ -181,7 +185,7 @@ export interface Subject {
|
|
|
181
185
|
/** ID of identity assigned to the asset. */
|
|
182
186
|
id?: string;
|
|
183
187
|
/** Type of identity assigned to the asset. Supported subject types include user IDs, account IDs, and app IDs. */
|
|
184
|
-
subjectType?:
|
|
188
|
+
subjectType?: SubjectTypeWithLiterals;
|
|
185
189
|
/** Context of identity assigned to the asset. For example, a `subjectType` = `USER` will have `context` = `ACCOUNT`. */
|
|
186
190
|
context?: SubjectContext;
|
|
187
191
|
}
|
|
@@ -196,15 +200,19 @@ export declare enum SubjectType {
|
|
|
196
200
|
ACCOUNT_GROUP = "ACCOUNT_GROUP",
|
|
197
201
|
WIX_APP = "WIX_APP"
|
|
198
202
|
}
|
|
203
|
+
/** @enumType */
|
|
204
|
+
export type SubjectTypeWithLiterals = SubjectType | 'UNKNOWN' | 'ACCOUNT' | 'USER' | 'USER_GROUP' | 'MEMBER_GROUP' | 'VISITOR_GROUP' | 'EXTERNAL_APP' | 'ACCOUNT_GROUP' | 'WIX_APP';
|
|
199
205
|
export interface SubjectContext {
|
|
200
206
|
id?: string;
|
|
201
|
-
contextType?:
|
|
207
|
+
contextType?: SubjectContextTypeWithLiterals;
|
|
202
208
|
}
|
|
203
209
|
export declare enum SubjectContextType {
|
|
204
210
|
UNKNOWN_CTX = "UNKNOWN_CTX",
|
|
205
211
|
ORG_CTX = "ORG_CTX",
|
|
206
212
|
ACCOUNT_CTX = "ACCOUNT_CTX"
|
|
207
213
|
}
|
|
214
|
+
/** @enumType */
|
|
215
|
+
export type SubjectContextTypeWithLiterals = SubjectContextType | 'UNKNOWN_CTX' | 'ORG_CTX' | 'ACCOUNT_CTX';
|
|
208
216
|
export interface PolicyAssignment {
|
|
209
217
|
policyId?: string;
|
|
210
218
|
resource?: ResourcePath;
|
|
@@ -255,7 +263,7 @@ export interface ConditionTypeOfOneOf {
|
|
|
255
263
|
export interface SimpleCondition {
|
|
256
264
|
attrName?: string;
|
|
257
265
|
value?: SimpleConditionValue;
|
|
258
|
-
op?:
|
|
266
|
+
op?: SimpleConditionOperatorWithLiterals;
|
|
259
267
|
conditionModelId?: string;
|
|
260
268
|
}
|
|
261
269
|
export interface SimpleConditionValue extends SimpleConditionValueValueOneOf {
|
|
@@ -273,9 +281,11 @@ export declare enum SimpleConditionOperator {
|
|
|
273
281
|
UNKNOWN_SIMPLE_OP = "UNKNOWN_SIMPLE_OP",
|
|
274
282
|
EQUAL = "EQUAL"
|
|
275
283
|
}
|
|
284
|
+
/** @enumType */
|
|
285
|
+
export type SimpleConditionOperatorWithLiterals = SimpleConditionOperator | 'UNKNOWN_SIMPLE_OP' | 'EQUAL';
|
|
276
286
|
export interface JoinedCondition {
|
|
277
287
|
/** The operator that should be used when evaluating the condition */
|
|
278
|
-
op?:
|
|
288
|
+
op?: JoinedConditionOperatorWithLiterals;
|
|
279
289
|
/** The conditions that should be evaluated, and then joined using the operator provided */
|
|
280
290
|
conditions?: ConditionType[];
|
|
281
291
|
}
|
|
@@ -284,6 +294,8 @@ export declare enum JoinedConditionOperator {
|
|
|
284
294
|
OR = "OR",
|
|
285
295
|
AND = "AND"
|
|
286
296
|
}
|
|
297
|
+
/** @enumType */
|
|
298
|
+
export type JoinedConditionOperatorWithLiterals = JoinedConditionOperator | 'UNKNOWN_JOIN_OP' | 'OR' | 'AND';
|
|
287
299
|
export interface EnvironmentCondition extends EnvironmentConditionConditionOneOf {
|
|
288
300
|
experimentCondition?: ExperimentCondition;
|
|
289
301
|
}
|
|
@@ -380,7 +392,7 @@ export interface PolicyAuthorizationDataUpdated {
|
|
|
380
392
|
policyId?: string;
|
|
381
393
|
fromPolicyStatements?: PolicyStatement[];
|
|
382
394
|
toPolicyStatements?: PolicyStatement[];
|
|
383
|
-
policyType?:
|
|
395
|
+
policyType?: PolicyTypeWithLiterals;
|
|
384
396
|
policyOwner?: PolicyOwner;
|
|
385
397
|
}
|
|
386
398
|
export interface PolicyStatement {
|
|
@@ -388,7 +400,7 @@ export interface PolicyStatement {
|
|
|
388
400
|
id?: string | null;
|
|
389
401
|
permissions?: string[];
|
|
390
402
|
scopes?: string[];
|
|
391
|
-
effect?:
|
|
403
|
+
effect?: EffectWithLiterals;
|
|
392
404
|
condition?: PolicyCondition;
|
|
393
405
|
}
|
|
394
406
|
export declare enum Effect {
|
|
@@ -396,14 +408,18 @@ export declare enum Effect {
|
|
|
396
408
|
ALLOW = "ALLOW",
|
|
397
409
|
DENY = "DENY"
|
|
398
410
|
}
|
|
411
|
+
/** @enumType */
|
|
412
|
+
export type EffectWithLiterals = Effect | 'UNKNOWN_EFFECT' | 'ALLOW' | 'DENY';
|
|
399
413
|
export declare enum PolicyType {
|
|
400
414
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
401
415
|
PREDEFINED = "PREDEFINED",
|
|
402
416
|
CUSTOM = "CUSTOM",
|
|
403
417
|
INLINE_CUSTOM = "INLINE_CUSTOM"
|
|
404
418
|
}
|
|
419
|
+
/** @enumType */
|
|
420
|
+
export type PolicyTypeWithLiterals = PolicyType | 'UNKNOWN_STATUS' | 'PREDEFINED' | 'CUSTOM' | 'INLINE_CUSTOM';
|
|
405
421
|
export interface PolicyOwner {
|
|
406
|
-
type?:
|
|
422
|
+
type?: PolicyOwnerTypeWithLiterals;
|
|
407
423
|
id?: string;
|
|
408
424
|
}
|
|
409
425
|
export declare enum PolicyOwnerType {
|
|
@@ -411,30 +427,28 @@ export declare enum PolicyOwnerType {
|
|
|
411
427
|
WIX = "WIX",
|
|
412
428
|
WIX_ACCOUNT = "WIX_ACCOUNT"
|
|
413
429
|
}
|
|
430
|
+
/** @enumType */
|
|
431
|
+
export type PolicyOwnerTypeWithLiterals = PolicyOwnerType | 'UNKNOWN_TYPE' | 'WIX' | 'WIX_ACCOUNT';
|
|
414
432
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
415
433
|
createdEvent?: EntityCreatedEvent;
|
|
416
434
|
updatedEvent?: EntityUpdatedEvent;
|
|
417
435
|
deletedEvent?: EntityDeletedEvent;
|
|
418
436
|
actionEvent?: ActionEvent;
|
|
419
|
-
/**
|
|
420
|
-
* Unique event ID.
|
|
421
|
-
* Allows clients to ignore duplicate webhooks.
|
|
422
|
-
*/
|
|
437
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
423
438
|
id?: string;
|
|
424
439
|
/**
|
|
425
|
-
*
|
|
426
|
-
*
|
|
440
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
441
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
427
442
|
*/
|
|
428
443
|
entityFqdn?: string;
|
|
429
444
|
/**
|
|
430
|
-
*
|
|
431
|
-
*
|
|
432
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
445
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
446
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
433
447
|
*/
|
|
434
448
|
slug?: string;
|
|
435
449
|
/** ID of the entity associated with the event. */
|
|
436
450
|
entityId?: string;
|
|
437
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
451
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
438
452
|
eventTime?: Date | null;
|
|
439
453
|
/**
|
|
440
454
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -444,12 +458,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
444
458
|
/** If present, indicates the action that triggered the event. */
|
|
445
459
|
originatedFrom?: string | null;
|
|
446
460
|
/**
|
|
447
|
-
* A sequence number
|
|
448
|
-
*
|
|
449
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
450
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
451
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
452
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
461
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
462
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
453
463
|
*/
|
|
454
464
|
entityEventSequence?: string | null;
|
|
455
465
|
}
|
|
@@ -477,7 +487,7 @@ export interface EntityUpdatedEvent {
|
|
|
477
487
|
currentEntityAsJson?: string;
|
|
478
488
|
}
|
|
479
489
|
export interface EntityDeletedEvent {
|
|
480
|
-
/** Entity that was deleted */
|
|
490
|
+
/** Entity that was deleted. */
|
|
481
491
|
deletedEntityAsJson?: string | null;
|
|
482
492
|
}
|
|
483
493
|
export interface ActionEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-v1-data-permissions-permissions.types.js","sourceRoot":"","sources":["../../../src/data-v1-data-permissions-permissions.types.ts"],"names":[],"mappings":";;;AAsBA;;;GAGG;AACH,IAAY,WAaX;AAbD,WAAY,WAAW;IACrB,cAAc;IACd,kCAAmB,CAAA;IACnB,sCAAsC;IACtC,gCAAiB,CAAA;IACjB,+DAA+D;IAC/D,0CAA2B,CAAA;IAC3B,yEAAyE;IACzE,wDAAyC,CAAA;IACzC,mEAAmE;IACnE,wCAAyB,CAAA;IACzB,wEAAwE;IACxE,wCAAyB,CAAA;AAC3B,CAAC,EAbW,WAAW,2BAAX,WAAW,QAatB;
|
|
1
|
+
{"version":3,"file":"data-v1-data-permissions-permissions.types.js","sourceRoot":"","sources":["../../../src/data-v1-data-permissions-permissions.types.ts"],"names":[],"mappings":";;;AAsBA;;;GAGG;AACH,IAAY,WAaX;AAbD,WAAY,WAAW;IACrB,cAAc;IACd,kCAAmB,CAAA;IACnB,sCAAsC;IACtC,gCAAiB,CAAA;IACjB,+DAA+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B,CAAA;IACzB,+BAAiB,CAAA;IACjB,6CAA+B,CAAA;AACjC,CAAC,EALW,UAAU,0BAAV,UAAU,QAKrB;AAeD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gDAA6B,CAAA;IAC7B,8BAAW,CAAA;IACX,8CAA2B,CAAA;AAC7B,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B"}
|
|
@@ -12,13 +12,13 @@ export interface DataPermissions {
|
|
|
12
12
|
*/
|
|
13
13
|
_id?: string;
|
|
14
14
|
/** Access level for data items read */
|
|
15
|
-
itemRead?:
|
|
15
|
+
itemRead?: AccessLevelWithLiterals;
|
|
16
16
|
/** Access level for data items insert */
|
|
17
|
-
itemInsert?:
|
|
17
|
+
itemInsert?: AccessLevelWithLiterals;
|
|
18
18
|
/** Access level for data items update */
|
|
19
|
-
itemUpdate?:
|
|
19
|
+
itemUpdate?: AccessLevelWithLiterals;
|
|
20
20
|
/** Access level for data items removal */
|
|
21
|
-
itemRemove?:
|
|
21
|
+
itemRemove?: AccessLevelWithLiterals;
|
|
22
22
|
}
|
|
23
23
|
/**
|
|
24
24
|
* Describes who can perform certain action.
|
|
@@ -38,6 +38,8 @@ export declare enum AccessLevel {
|
|
|
38
38
|
/** CMS administrators and users or roles granted with special access */
|
|
39
39
|
PRIVILEGED = "PRIVILEGED"
|
|
40
40
|
}
|
|
41
|
+
/** @enumType */
|
|
42
|
+
export type AccessLevelWithLiterals = AccessLevel | 'UNKNOWN' | 'ANYONE' | 'SITE_MEMBER' | 'SITE_MEMBER_AUTHOR' | 'CMS_EDITOR' | 'PRIVILEGED';
|
|
41
43
|
/** Special access granted to user or role */
|
|
42
44
|
export interface SpecialPermissions extends SpecialPermissionsSubjectOneOf {
|
|
43
45
|
/**
|
|
@@ -59,13 +61,13 @@ export interface SpecialPermissions extends SpecialPermissionsSubjectOneOf {
|
|
|
59
61
|
*/
|
|
60
62
|
_id?: string;
|
|
61
63
|
/** If data item read is allowed */
|
|
62
|
-
itemRead?:
|
|
64
|
+
itemRead?: AccessWithLiterals;
|
|
63
65
|
/** If data item insert is allowed */
|
|
64
|
-
itemInsert?:
|
|
66
|
+
itemInsert?: AccessWithLiterals;
|
|
65
67
|
/** If data item update is allowed */
|
|
66
|
-
itemUpdate?:
|
|
68
|
+
itemUpdate?: AccessWithLiterals;
|
|
67
69
|
/** If data item remove is allowed */
|
|
68
|
-
itemRemove?:
|
|
70
|
+
itemRemove?: AccessWithLiterals;
|
|
69
71
|
}
|
|
70
72
|
/** @oneof */
|
|
71
73
|
export interface SpecialPermissionsSubjectOneOf {
|
|
@@ -88,6 +90,8 @@ export declare enum Access {
|
|
|
88
90
|
/** Action is specifically allowed */
|
|
89
91
|
ALLOWED = "ALLOWED"
|
|
90
92
|
}
|
|
93
|
+
/** @enumType */
|
|
94
|
+
export type AccessWithLiterals = Access | 'UNSPECIFIED' | 'ALLOWED';
|
|
91
95
|
export interface GetPermissionsRequest {
|
|
92
96
|
/**
|
|
93
97
|
* Data Collection ID to get permissions for
|
|
@@ -182,7 +186,7 @@ export interface Subject {
|
|
|
182
186
|
/** ID of identity assigned to the asset. */
|
|
183
187
|
_id?: string;
|
|
184
188
|
/** Type of identity assigned to the asset. Supported subject types include user IDs, account IDs, and app IDs. */
|
|
185
|
-
subjectType?:
|
|
189
|
+
subjectType?: SubjectTypeWithLiterals;
|
|
186
190
|
/** Context of identity assigned to the asset. For example, a `subjectType` = `USER` will have `context` = `ACCOUNT`. */
|
|
187
191
|
context?: SubjectContext;
|
|
188
192
|
}
|
|
@@ -197,15 +201,19 @@ export declare enum SubjectType {
|
|
|
197
201
|
ACCOUNT_GROUP = "ACCOUNT_GROUP",
|
|
198
202
|
WIX_APP = "WIX_APP"
|
|
199
203
|
}
|
|
204
|
+
/** @enumType */
|
|
205
|
+
export type SubjectTypeWithLiterals = SubjectType | 'UNKNOWN' | 'ACCOUNT' | 'USER' | 'USER_GROUP' | 'MEMBER_GROUP' | 'VISITOR_GROUP' | 'EXTERNAL_APP' | 'ACCOUNT_GROUP' | 'WIX_APP';
|
|
200
206
|
export interface SubjectContext {
|
|
201
207
|
_id?: string;
|
|
202
|
-
contextType?:
|
|
208
|
+
contextType?: SubjectContextTypeWithLiterals;
|
|
203
209
|
}
|
|
204
210
|
export declare enum SubjectContextType {
|
|
205
211
|
UNKNOWN_CTX = "UNKNOWN_CTX",
|
|
206
212
|
ORG_CTX = "ORG_CTX",
|
|
207
213
|
ACCOUNT_CTX = "ACCOUNT_CTX"
|
|
208
214
|
}
|
|
215
|
+
/** @enumType */
|
|
216
|
+
export type SubjectContextTypeWithLiterals = SubjectContextType | 'UNKNOWN_CTX' | 'ORG_CTX' | 'ACCOUNT_CTX';
|
|
209
217
|
export interface PolicyAssignment {
|
|
210
218
|
policyId?: string;
|
|
211
219
|
resource?: ResourcePath;
|
|
@@ -256,7 +264,7 @@ export interface ConditionTypeOfOneOf {
|
|
|
256
264
|
export interface SimpleCondition {
|
|
257
265
|
attrName?: string;
|
|
258
266
|
value?: SimpleConditionValue;
|
|
259
|
-
op?:
|
|
267
|
+
op?: SimpleConditionOperatorWithLiterals;
|
|
260
268
|
conditionModelId?: string;
|
|
261
269
|
}
|
|
262
270
|
export interface SimpleConditionValue extends SimpleConditionValueValueOneOf {
|
|
@@ -274,9 +282,11 @@ export declare enum SimpleConditionOperator {
|
|
|
274
282
|
UNKNOWN_SIMPLE_OP = "UNKNOWN_SIMPLE_OP",
|
|
275
283
|
EQUAL = "EQUAL"
|
|
276
284
|
}
|
|
285
|
+
/** @enumType */
|
|
286
|
+
export type SimpleConditionOperatorWithLiterals = SimpleConditionOperator | 'UNKNOWN_SIMPLE_OP' | 'EQUAL';
|
|
277
287
|
export interface JoinedCondition {
|
|
278
288
|
/** The operator that should be used when evaluating the condition */
|
|
279
|
-
op?:
|
|
289
|
+
op?: JoinedConditionOperatorWithLiterals;
|
|
280
290
|
/** The conditions that should be evaluated, and then joined using the operator provided */
|
|
281
291
|
conditions?: ConditionType[];
|
|
282
292
|
}
|
|
@@ -285,6 +295,8 @@ export declare enum JoinedConditionOperator {
|
|
|
285
295
|
OR = "OR",
|
|
286
296
|
AND = "AND"
|
|
287
297
|
}
|
|
298
|
+
/** @enumType */
|
|
299
|
+
export type JoinedConditionOperatorWithLiterals = JoinedConditionOperator | 'UNKNOWN_JOIN_OP' | 'OR' | 'AND';
|
|
288
300
|
export interface EnvironmentCondition extends EnvironmentConditionConditionOneOf {
|
|
289
301
|
experimentCondition?: ExperimentCondition;
|
|
290
302
|
}
|
|
@@ -381,7 +393,7 @@ export interface PolicyAuthorizationDataUpdated {
|
|
|
381
393
|
policyId?: string;
|
|
382
394
|
fromPolicyStatements?: PolicyStatement[];
|
|
383
395
|
toPolicyStatements?: PolicyStatement[];
|
|
384
|
-
policyType?:
|
|
396
|
+
policyType?: PolicyTypeWithLiterals;
|
|
385
397
|
policyOwner?: PolicyOwner;
|
|
386
398
|
}
|
|
387
399
|
export interface PolicyStatement {
|
|
@@ -389,7 +401,7 @@ export interface PolicyStatement {
|
|
|
389
401
|
_id?: string | null;
|
|
390
402
|
permissions?: string[];
|
|
391
403
|
scopes?: string[];
|
|
392
|
-
effect?:
|
|
404
|
+
effect?: EffectWithLiterals;
|
|
393
405
|
condition?: PolicyCondition;
|
|
394
406
|
}
|
|
395
407
|
export declare enum Effect {
|
|
@@ -397,14 +409,18 @@ export declare enum Effect {
|
|
|
397
409
|
ALLOW = "ALLOW",
|
|
398
410
|
DENY = "DENY"
|
|
399
411
|
}
|
|
412
|
+
/** @enumType */
|
|
413
|
+
export type EffectWithLiterals = Effect | 'UNKNOWN_EFFECT' | 'ALLOW' | 'DENY';
|
|
400
414
|
export declare enum PolicyType {
|
|
401
415
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
402
416
|
PREDEFINED = "PREDEFINED",
|
|
403
417
|
CUSTOM = "CUSTOM",
|
|
404
418
|
INLINE_CUSTOM = "INLINE_CUSTOM"
|
|
405
419
|
}
|
|
420
|
+
/** @enumType */
|
|
421
|
+
export type PolicyTypeWithLiterals = PolicyType | 'UNKNOWN_STATUS' | 'PREDEFINED' | 'CUSTOM' | 'INLINE_CUSTOM';
|
|
406
422
|
export interface PolicyOwner {
|
|
407
|
-
type?:
|
|
423
|
+
type?: PolicyOwnerTypeWithLiterals;
|
|
408
424
|
_id?: string;
|
|
409
425
|
}
|
|
410
426
|
export declare enum PolicyOwnerType {
|
|
@@ -412,30 +428,28 @@ export declare enum PolicyOwnerType {
|
|
|
412
428
|
WIX = "WIX",
|
|
413
429
|
WIX_ACCOUNT = "WIX_ACCOUNT"
|
|
414
430
|
}
|
|
431
|
+
/** @enumType */
|
|
432
|
+
export type PolicyOwnerTypeWithLiterals = PolicyOwnerType | 'UNKNOWN_TYPE' | 'WIX' | 'WIX_ACCOUNT';
|
|
415
433
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
416
434
|
createdEvent?: EntityCreatedEvent;
|
|
417
435
|
updatedEvent?: EntityUpdatedEvent;
|
|
418
436
|
deletedEvent?: EntityDeletedEvent;
|
|
419
437
|
actionEvent?: ActionEvent;
|
|
420
|
-
/**
|
|
421
|
-
* Unique event ID.
|
|
422
|
-
* Allows clients to ignore duplicate webhooks.
|
|
423
|
-
*/
|
|
438
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
424
439
|
_id?: string;
|
|
425
440
|
/**
|
|
426
|
-
*
|
|
427
|
-
*
|
|
441
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
442
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
428
443
|
*/
|
|
429
444
|
entityFqdn?: string;
|
|
430
445
|
/**
|
|
431
|
-
*
|
|
432
|
-
*
|
|
433
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
446
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
447
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
434
448
|
*/
|
|
435
449
|
slug?: string;
|
|
436
450
|
/** ID of the entity associated with the event. */
|
|
437
451
|
entityId?: string;
|
|
438
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
452
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
439
453
|
eventTime?: Date | null;
|
|
440
454
|
/**
|
|
441
455
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -445,12 +459,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
445
459
|
/** If present, indicates the action that triggered the event. */
|
|
446
460
|
originatedFrom?: string | null;
|
|
447
461
|
/**
|
|
448
|
-
* A sequence number
|
|
449
|
-
*
|
|
450
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
451
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
452
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
453
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
462
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
463
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
454
464
|
*/
|
|
455
465
|
entityEventSequence?: string | null;
|
|
456
466
|
}
|
|
@@ -476,7 +486,7 @@ export interface EntityUpdatedEvent {
|
|
|
476
486
|
currentEntity?: string;
|
|
477
487
|
}
|
|
478
488
|
export interface EntityDeletedEvent {
|
|
479
|
-
/** Entity that was deleted */
|
|
489
|
+
/** Entity that was deleted. */
|
|
480
490
|
deletedEntity?: string | null;
|
|
481
491
|
}
|
|
482
492
|
export interface ActionEvent {
|
|
@@ -585,13 +595,13 @@ export interface UpdateSpecialPermissions {
|
|
|
585
595
|
*/
|
|
586
596
|
_id?: string;
|
|
587
597
|
/** If data item read is allowed */
|
|
588
|
-
itemRead?:
|
|
598
|
+
itemRead?: AccessWithLiterals;
|
|
589
599
|
/** If data item insert is allowed */
|
|
590
|
-
itemInsert?:
|
|
600
|
+
itemInsert?: AccessWithLiterals;
|
|
591
601
|
/** If data item update is allowed */
|
|
592
|
-
itemUpdate?:
|
|
602
|
+
itemUpdate?: AccessWithLiterals;
|
|
593
603
|
/** If data item remove is allowed */
|
|
594
|
-
itemRemove?:
|
|
604
|
+
itemRemove?: AccessWithLiterals;
|
|
595
605
|
}
|
|
596
606
|
/**
|
|
597
607
|
* Deletes special data permissions for particular user/group
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-v1-data-permissions-permissions.universal.js","sourceRoot":"","sources":["../../../src/data-v1-data-permissions-permissions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,mHAAqG;AAwBrG;;;GAGG;AACH,IAAY,WAaX;AAbD,WAAY,WAAW;IACrB,cAAc;IACd,kCAAmB,CAAA;IACnB,sCAAsC;IACtC,gCAAiB,CAAA;IACjB,+DAA+D;IAC/D,0CAA2B,CAAA;IAC3B,yEAAyE;IACzE,wDAAyC,CAAA;IACzC,mEAAmE;IACnE,wCAAyB,CAAA;IACzB,wEAAwE;IACxE,wCAAyB,CAAA;AAC3B,CAAC,EAbW,WAAW,2BAAX,WAAW,QAatB;
|
|
1
|
+
{"version":3,"file":"data-v1-data-permissions-permissions.universal.js","sourceRoot":"","sources":["../../../src/data-v1-data-permissions-permissions.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,mHAAqG;AAwBrG;;;GAGG;AACH,IAAY,WAaX;AAbD,WAAY,WAAW;IACrB,cAAc;IACd,kCAAmB,CAAA;IACnB,sCAAsC;IACtC,gCAAiB,CAAA;IACjB,+DAA+D;IAC/D,0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