@wix/bex-utils 2.93.0 → 2.95.0
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/@wix/ambassador-os-tags-v1-tag/README.md +34 -0
- package/@wix/ambassador-os-tags-v1-tag/builders/package.json +3 -3
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/builders.impl.d.ts +44 -23
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/builders.impl.js +385 -145
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/builders.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/http.impl.d.ts +9 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/http.impl.js +16 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/crud/rpc.impl.d.ts +7 -5
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/rpc.impl.js +50 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/http.impl.d.ts +42 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/http.impl.js +287 -13
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/meta.impl.d.ts +46 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/meta.impl.js +166 -20
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/meta.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/client/proto-generated.d.ts +2520 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/proto-generated.d.ts +1267 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/proto/proto-generated.js +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/server/proto-generated.d.ts +2529 -22
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/rpc.impl.d.ts +49 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/rpc.impl.js +133 -21
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → cjs/build}/types.impl.d.ts +382 -170
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/types.impl.js +14 -9
- package/@wix/ambassador-os-tags-v1-tag/cjs/build/types.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/cjs/package.json +3 -0
- package/@wix/ambassador-os-tags-v1-tag/crud/http/package.json +3 -3
- package/@wix/ambassador-os-tags-v1-tag/crud/rpc/package.json +2 -2
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/builders.impl.d.ts +44 -23
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/builders.impl.js +327 -111
- package/@wix/ambassador-os-tags-v1-tag/es/build/builders.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/crud/http.impl.d.ts +9 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/crud/http.impl.js +12 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/crud/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/crud/rpc.impl.d.ts +7 -5
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/crud/rpc.impl.js +12 -4
- package/@wix/ambassador-os-tags-v1-tag/es/build/crud/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/http.impl.d.ts +42 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/http.impl.js +270 -2
- package/@wix/ambassador-os-tags-v1-tag/es/build/http.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/meta.impl.d.ts +46 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/meta.impl.js +127 -1
- package/@wix/ambassador-os-tags-v1-tag/es/build/meta.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/client/proto-generated.d.ts +12332 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/client/proto-generated.js +5 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/proto-generated.d.ts +6182 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/proto-generated.js +1 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/server/proto-generated.d.ts +12307 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/proto/server/proto-generated.js +5 -0
- package/@wix/ambassador-os-tags-v1-tag/es/build/rpc.impl.d.ts +49 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/rpc.impl.js +93 -1
- package/@wix/ambassador-os-tags-v1-tag/es/build/rpc.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/{build/cjs → es/build}/types.impl.d.ts +382 -170
- package/@wix/ambassador-os-tags-v1-tag/{build/es → es/build}/types.impl.js +12 -7
- package/@wix/ambassador-os-tags-v1-tag/es/build/types.impl.js.map +1 -0
- package/@wix/ambassador-os-tags-v1-tag/http/package.json +3 -3
- package/@wix/ambassador-os-tags-v1-tag/meta/package.json +3 -3
- package/@wix/ambassador-os-tags-v1-tag/package.json +68 -13
- package/@wix/ambassador-os-tags-v1-tag/rpc/package.json +2 -2
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/com/wixpress/iptf/webhooks/debug.proto +34 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/com/wixpress/iptf/webhooks/kv.proto +42 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/com/wixpress/iptf/webhooks/message_envelope.proto +54 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/src/main/proto/com/wixpress/items_selection/spi/v1/items_selection_config.proto +3 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/webhooks_debug_service.proto +32 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/webhooks_sync_service.proto +33 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/annotations.proto +111 -3
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/callback.proto +10 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/entity.proto +6 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/permissions.proto +6 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/subscription.proto +1 -1
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/api/validations.proto +5 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/domainevents/attributeupdated.proto +20 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/domainevents/domainevents.proto +112 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/query.proto +69 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tag.proto +12 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_account_service.proto +43 -3
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_global_service.proto +171 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/tags_service.proto +49 -3
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/bulk.proto +69 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/paging.proto +121 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/query.proto +771 -0
- package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/os/v1/upstream/wix/common/sorting.proto +27 -0
- package/@wix/ambassador-os-tags-v1-tag/types/package.json +3 -3
- package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +4 -0
- package/@wix/bex-bundled-mini-essentials/package.json +1 -1
- package/package.json +4 -4
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/builders.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.d.ts +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.js +0 -5
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/http.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.js +0 -41
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/crud/rpc.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.d.ts +0 -26
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/http.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/meta.impl.d.ts +0 -33
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/meta.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/proto/proto-generated.js +0 -83454
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.d.ts +0 -34
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/rpc.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/cjs/types.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/builders.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.d.ts +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.js +0 -2
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/http.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/crud/rpc.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.d.ts +0 -26
- package/@wix/ambassador-os-tags-v1-tag/build/es/http.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/meta.impl.d.ts +0 -33
- package/@wix/ambassador-os-tags-v1-tag/build/es/meta.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.d.ts +0 -34
- package/@wix/ambassador-os-tags-v1-tag/build/es/rpc.impl.js.map +0 -1
- package/@wix/ambassador-os-tags-v1-tag/build/es/types.impl.js.map +0 -1
- /package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/client/proto-generated.js +0 -0
- /package/@wix/ambassador-os-tags-v1-tag/{build/cjs → cjs/build}/proto/server/proto-generated.js +0 -0
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
export var TagExposure;
|
|
2
|
-
(function (TagExposure) {
|
|
3
|
-
TagExposure["UNKNOWN"] = "UNKNOWN";
|
|
4
|
-
TagExposure["PRIVATE"] = "PRIVATE";
|
|
5
|
-
/** Not handled by client yet. */
|
|
6
|
-
TagExposure["PUBLIC"] = "PUBLIC";
|
|
7
|
-
})(TagExposure || (TagExposure = {}));
|
|
8
1
|
export var WebhookIdentityType;
|
|
9
2
|
(function (WebhookIdentityType) {
|
|
10
3
|
WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
|
|
@@ -13,4 +6,16 @@ export var WebhookIdentityType;
|
|
|
13
6
|
WebhookIdentityType["WIX_USER"] = "WIX_USER";
|
|
14
7
|
WebhookIdentityType["APP"] = "APP";
|
|
15
8
|
})(WebhookIdentityType || (WebhookIdentityType = {}));
|
|
9
|
+
export var TagExposure;
|
|
10
|
+
(function (TagExposure) {
|
|
11
|
+
TagExposure["UNKNOWN"] = "UNKNOWN";
|
|
12
|
+
TagExposure["PRIVATE"] = "PRIVATE";
|
|
13
|
+
/** Not handled by client yet. */
|
|
14
|
+
TagExposure["PUBLIC"] = "PUBLIC";
|
|
15
|
+
})(TagExposure || (TagExposure = {}));
|
|
16
|
+
export var SortOrder;
|
|
17
|
+
(function (SortOrder) {
|
|
18
|
+
SortOrder["ASC"] = "ASC";
|
|
19
|
+
SortOrder["DESC"] = "DESC";
|
|
20
|
+
})(SortOrder || (SortOrder = {}));
|
|
16
21
|
//# sourceMappingURL=types.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.impl.js","sourceRoot":"","sources":["../../types.impl.ts"],"names":[],"mappings":"AAmEA,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B;AAmYD,MAAM,CAAN,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,iCAAiC;IACjC,gCAAiB,CAAA;AACnB,CAAC,EALW,WAAW,KAAX,WAAW,QAKtB;AAqHD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": true,
|
|
3
|
-
"main": "../build/
|
|
4
|
-
"types": "../build/
|
|
3
|
+
"main": "../cjs/build/http.impl.js",
|
|
4
|
+
"types": "../cjs/build/http.impl.d.ts",
|
|
5
5
|
"sideEffects": false,
|
|
6
|
-
"module": "../build/
|
|
6
|
+
"module": "../es/build/http.impl.js"
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"private": true,
|
|
3
|
-
"main": "../build/
|
|
4
|
-
"types": "../build/
|
|
3
|
+
"main": "../cjs/build/meta.impl.js",
|
|
4
|
+
"types": "../cjs/build/meta.impl.d.ts",
|
|
5
5
|
"sideEffects": false,
|
|
6
|
-
"module": "../build/
|
|
6
|
+
"module": "../es/build/meta.impl.js"
|
|
7
7
|
}
|
|
@@ -1,38 +1,93 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ambassador-os-tags-v1-tag",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.49",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://npm-cache.dev.wixpress.com/",
|
|
6
6
|
"access": "restricted"
|
|
7
7
|
},
|
|
8
|
+
"type": "module",
|
|
8
9
|
"files": [
|
|
9
|
-
"
|
|
10
|
+
"cjs",
|
|
11
|
+
"es/build",
|
|
10
12
|
"http",
|
|
11
13
|
"rpc",
|
|
12
14
|
"builders",
|
|
13
15
|
"types",
|
|
14
16
|
"validators",
|
|
15
17
|
"meta",
|
|
16
|
-
"crud
|
|
18
|
+
"crud/**/package.json",
|
|
17
19
|
"src/main/proto"
|
|
18
20
|
],
|
|
19
21
|
"sideEffects": false,
|
|
22
|
+
"exports": {
|
|
23
|
+
"./package.json": "./package.json",
|
|
24
|
+
"./http": {
|
|
25
|
+
"types": "./cjs/build/http.impl.d.ts",
|
|
26
|
+
"require": "./cjs/build/http.impl.js",
|
|
27
|
+
"import": "./es/build/http.impl.js"
|
|
28
|
+
},
|
|
29
|
+
"./rpc": {
|
|
30
|
+
"types": "./cjs/build/rpc.impl.d.ts",
|
|
31
|
+
"require": "./cjs/build/rpc.impl.js",
|
|
32
|
+
"import": "./es/build/rpc.impl.js"
|
|
33
|
+
},
|
|
34
|
+
"./builders": {
|
|
35
|
+
"types": "./cjs/build/builders.impl.d.ts",
|
|
36
|
+
"require": "./cjs/build/builders.impl.js",
|
|
37
|
+
"import": "./es/build/builders.impl.js"
|
|
38
|
+
},
|
|
39
|
+
"./types": {
|
|
40
|
+
"types": "./cjs/build/types.impl.d.ts",
|
|
41
|
+
"require": "./cjs/build/types.impl.js",
|
|
42
|
+
"import": "./es/build/types.impl.js"
|
|
43
|
+
},
|
|
44
|
+
"./validators": {
|
|
45
|
+
"types": "./cjs/build/validators.impl.d.ts",
|
|
46
|
+
"require": "./cjs/build/validators.impl.js",
|
|
47
|
+
"import": "./es/build/validators.impl.js"
|
|
48
|
+
},
|
|
49
|
+
"./meta": {
|
|
50
|
+
"types": "./cjs/build/meta.impl.d.ts",
|
|
51
|
+
"require": "./cjs/build/meta.impl.js",
|
|
52
|
+
"import": "./es/build/meta.impl.js"
|
|
53
|
+
},
|
|
54
|
+
"./crud/rpc": {
|
|
55
|
+
"types": "./cjs/build/crud/rpc.impl.d.ts",
|
|
56
|
+
"require": "./cjs/build/crud/rpc.impl.js",
|
|
57
|
+
"import": "./es/build/crud/rpc.impl.js"
|
|
58
|
+
},
|
|
59
|
+
"./crud/http": {
|
|
60
|
+
"types": "./cjs/build/crud/http.impl.d.ts",
|
|
61
|
+
"require": "./cjs/build/crud/http.impl.js",
|
|
62
|
+
"import": "./es/build/crud/http.impl.js"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
20
65
|
"scripts": {
|
|
21
|
-
"build": "yarn
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
66
|
+
"build": "yarn generate && yarn proto:clean && yarn build:cjs && yarn build:esm",
|
|
67
|
+
"build:clean": "rm -rf ./cjs/build ./es/build",
|
|
68
|
+
"build:cjs": "yarn proto:cjs && yarn tsc:cjs && cp -r ./proto ./cjs/build/proto",
|
|
69
|
+
"build:esm": "yarn proto:esm && yarn tsc:esm && cp -r ./proto ./es/build/proto",
|
|
70
|
+
"proto:clean": "rm -rf ./proto",
|
|
71
|
+
"proto:gen": "wix-proto-codegen --module . --dir proto --stringEnums --tsClasses --stringLongs",
|
|
72
|
+
"proto:cjs": "yarn proto:gen",
|
|
73
|
+
"proto:esm": "yarn proto:gen --esm",
|
|
74
|
+
"tsc:cjs": "tsc -p tsconfig.json",
|
|
75
|
+
"tsc:esm": "tsc -p tsconfig.esm.json",
|
|
76
|
+
"test": ":",
|
|
77
|
+
"generate": "YARN_ENABLE_SCRIPTS=false yarn dlx @wix/metro-ambassador-cli@$(jq -r '.cliVersion' manifest.json) --manifest ./manifest.json --entity ./entity.json --output . --proto-dir ./src/main/proto --data-mapper ./data-mapper.json"
|
|
25
78
|
},
|
|
26
79
|
"dependencies": {
|
|
80
|
+
"@wix/auto-crud": "^1.0.0",
|
|
27
81
|
"@wix/http-client": "^1.0.0",
|
|
28
|
-
"@wix/metro-common-builders": "^1.0.
|
|
29
|
-
"@wix/metro-runtime": "^1.
|
|
30
|
-
"joi": "^17.0.0",
|
|
82
|
+
"@wix/metro-common-builders": "^1.0.1763",
|
|
83
|
+
"@wix/metro-runtime": "^1.2116.0",
|
|
31
84
|
"callsite": "^1.0.0",
|
|
32
|
-
"
|
|
85
|
+
"joi": "^17.0.0"
|
|
33
86
|
},
|
|
34
87
|
"devDependencies": {
|
|
35
|
-
"@types/callsite": "^1.0.0"
|
|
88
|
+
"@types/callsite": "^1.0.0",
|
|
89
|
+
"@wix/wix-proto-codegen": "^2.0.1176",
|
|
90
|
+
"typescript": "~5.9.3"
|
|
36
91
|
},
|
|
37
92
|
"wix": {
|
|
38
93
|
"artifact": {
|
|
@@ -44,7 +99,7 @@
|
|
|
44
99
|
"protoArtifactId": "com.wixpress.os:tags-service"
|
|
45
100
|
}
|
|
46
101
|
},
|
|
47
|
-
"falconPackageHash": "
|
|
102
|
+
"falconPackageHash": "46d13a87f799e7a975da619a4a2109237a9ad6b48c14188f5274f8f3",
|
|
48
103
|
"repository": {
|
|
49
104
|
"type": "git",
|
|
50
105
|
"url": "https://github.com/wix-private/metro-packages.git",
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "google/protobuf/wrappers.proto";
|
|
4
|
+
import "google/api/annotations.proto";
|
|
5
|
+
|
|
6
|
+
package com.wixpress.iptf.webhooks;
|
|
7
|
+
|
|
8
|
+
service Debug {
|
|
9
|
+
rpc queryMessageId(QueryMessageIdRequest) returns (QueryResponse){
|
|
10
|
+
option (google.api.http) = {
|
|
11
|
+
post: "/queryMessageId"
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
rpc queryOffset(QueryOffsetRequest) returns (QueryResponse){
|
|
16
|
+
option (google.api.http) = {
|
|
17
|
+
post: "/queryOffset"
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
message QueryOffsetRequest {
|
|
23
|
+
string topic = 1;
|
|
24
|
+
int32 partition = 2;
|
|
25
|
+
int64 offset = 3;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
message QueryMessageIdRequest {
|
|
29
|
+
string message_id = 1;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message QueryResponse {
|
|
33
|
+
repeated string json = 1;
|
|
34
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "google/protobuf/wrappers.proto";
|
|
4
|
+
import "google/api/annotations.proto";
|
|
5
|
+
|
|
6
|
+
package com.wixpress.iptf.webhooks;
|
|
7
|
+
|
|
8
|
+
service WebhooksKV {
|
|
9
|
+
rpc queryApp(QueryAppRequest) returns (QueryAppResponse){
|
|
10
|
+
option (google.api.http) = {};
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
rpc queryAppSecretAndPrivateKey(QueryAppSecretAndPrivateKeyRequest) returns (QueryAppSecretAndPrivateKeyResponse){
|
|
14
|
+
option (google.api.http) = {};
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
message QueryAppRequest {
|
|
19
|
+
string app_def_id = 1;
|
|
20
|
+
string version = 2;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message QueryAppSecretAndPrivateKeyRequest {
|
|
24
|
+
string app_def_id = 1;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message QueryAppSecretAndPrivateKeyResponse {
|
|
28
|
+
google.protobuf.StringValue private_key = 1;
|
|
29
|
+
string secret = 2;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message QueryAppResponse {
|
|
33
|
+
repeated string permissions = 1;
|
|
34
|
+
google.protobuf.StringValue private_key = 2;
|
|
35
|
+
string secret = 3;
|
|
36
|
+
repeated DispatcherAppWebhook webhook = 4;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message DispatcherAppWebhook {
|
|
40
|
+
string webhookSlug = 1;
|
|
41
|
+
string callback_url = 2;
|
|
42
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package com.wixpress.iptf.v1.webhooks;
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/wrappers.proto";
|
|
6
|
+
import "wix/api/validations.proto";
|
|
7
|
+
import "wix/api/annotations.proto";
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
message MessageEnvelope {
|
|
11
|
+
reserved "account_details";
|
|
12
|
+
reserved 5;
|
|
13
|
+
|
|
14
|
+
google.protobuf.StringValue instance_id = 1 [(.wix.api.format) = GUID]; // App instance ID.
|
|
15
|
+
string event_type = 2 [(.wix.api.maxLength) = 150]; // Event type.
|
|
16
|
+
IdentificationData identity = 3; // The identification type and identity data.
|
|
17
|
+
// flynt-disable missing-string-validations
|
|
18
|
+
string data = 4; // Stringify payload.
|
|
19
|
+
AccountInfo account_info = 6 [(.wix.api.field_maturity) = BETA]; // Details related to the account
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
message IdentificationData {
|
|
23
|
+
option (.wix.api.decomposite_of) = "wix.common.IdentificationData";
|
|
24
|
+
enum WebhookIdentityType {
|
|
25
|
+
UNKNOWN = 0;
|
|
26
|
+
ANONYMOUS_VISITOR = 1;
|
|
27
|
+
MEMBER = 2;
|
|
28
|
+
WIX_USER = 3;
|
|
29
|
+
APP = 4;
|
|
30
|
+
}
|
|
31
|
+
reserved 1;
|
|
32
|
+
WebhookIdentityType identity_type = 6 [(.wix.api.readOnly) = true];
|
|
33
|
+
oneof id {
|
|
34
|
+
// ID of a site visitor that has not logged in to the site.
|
|
35
|
+
string anonymous_visitor_id = 2 [(.wix.api.format) = GUID];
|
|
36
|
+
// ID of a site visitor that has logged in to the site.
|
|
37
|
+
string member_id = 3 [(.wix.api.format) = GUID, (.wix.api.referenced_entity) = "wix.members.v1.member"];
|
|
38
|
+
// ID of a Wix user (site owner, contributor, etc.).
|
|
39
|
+
string wix_user_id = 4 [(.wix.api.format) = GUID];
|
|
40
|
+
// ID of an app.
|
|
41
|
+
string app_id = 5 [(.wix.api.format) = GUID];
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
message AccountInfo {
|
|
46
|
+
// ID of the Wix account associated with the event.
|
|
47
|
+
google.protobuf.StringValue account_id = 1 [(.wix.api.format) = GUID];
|
|
48
|
+
|
|
49
|
+
// ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
50
|
+
google.protobuf.StringValue parent_account_id = 2 [(.wix.api.format) = GUID];
|
|
51
|
+
|
|
52
|
+
// ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
53
|
+
google.protobuf.StringValue site_id = 3 [(.wix.api.format) = GUID];
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package com.wixpress.iptf.webhooks.api.v1;
|
|
4
|
+
|
|
5
|
+
import "google/api/annotations.proto";
|
|
6
|
+
import "wix/api/validations.proto";
|
|
7
|
+
|
|
8
|
+
service WebhooksDebugService {
|
|
9
|
+
rpc submit(SubmitWebhookRequest) returns (SubmitWebhookResponse) {
|
|
10
|
+
option (google.api.http) = {
|
|
11
|
+
post: "debug/submit"
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
message SubmitWebhookRequest {
|
|
17
|
+
string url = 1;
|
|
18
|
+
string event_type = 2;
|
|
19
|
+
string topic = 3;
|
|
20
|
+
string payload = 4;
|
|
21
|
+
string http_method = 5;
|
|
22
|
+
string jwt_secret = 6;
|
|
23
|
+
int64 expireInMs = 7;
|
|
24
|
+
int64 submitted = 8;
|
|
25
|
+
bool should_override_proxy = 9;
|
|
26
|
+
string rsa_private_key = 10;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
message SubmitWebhookResponse {
|
|
30
|
+
int32 status_code = 1;
|
|
31
|
+
string message = 2;
|
|
32
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package com.wixpress.iptf.webhooks.api.v1;
|
|
4
|
+
|
|
5
|
+
import "google/api/annotations.proto";
|
|
6
|
+
import "wix/api/validations.proto";
|
|
7
|
+
import "google/protobuf/wrappers.proto";
|
|
8
|
+
|
|
9
|
+
service WebhooksSyncService {
|
|
10
|
+
rpc signHash(SignHashRequest) returns (SignResponse) {
|
|
11
|
+
option (wix.api.required) = "SignHashRequest.hashedPayload";
|
|
12
|
+
option (wix.api.required) = "SignHashRequest.appdef_id";
|
|
13
|
+
option (google.api.http) = {
|
|
14
|
+
get: "v1/sign/hash"
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
message SignHashRequest {
|
|
20
|
+
string hashedPayload = 1;
|
|
21
|
+
HashFunction algorithm = 2;
|
|
22
|
+
string appdef_id = 3 [(wix.api.format)=GUID]; // appdef id of the external app
|
|
23
|
+
int64 expiration_in_millis = 4;
|
|
24
|
+
google.protobuf.StringValue artifact_id = 5 [(wix.api.maxLength) = 200]; // caller
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message SignResponse {
|
|
28
|
+
string token = 1;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
enum HashFunction {
|
|
32
|
+
SHA256 = 0;
|
|
33
|
+
}
|
|
@@ -11,6 +11,8 @@ option java_package = "com.wix.api";
|
|
|
11
11
|
extend google.protobuf.ServiceOptions {
|
|
12
12
|
optional Maturity service_maturity = 50104;
|
|
13
13
|
optional Exposure service_exposure = 50105;
|
|
14
|
+
// Overrides entity-level tenancy for all methods in this service, unless method overrides it.
|
|
15
|
+
optional TenancyOptions service_tenancy = 50157;
|
|
14
16
|
optional Deprecated service_deprecated = 50140; // mark a service as deprecated, optionally place replacing asset
|
|
15
17
|
repeated ServiceAppendix appendix_files = 50150; // declare external configuration info
|
|
16
18
|
}
|
|
@@ -22,6 +24,9 @@ extend google.protobuf.MethodOptions {
|
|
|
22
24
|
optional Deprecated deprecated = 50141; // mark a method as deprecated, optionally place replacing asset
|
|
23
25
|
optional Crud crud = 50146; // mark crud method type and describe related information about this method
|
|
24
26
|
optional bool accepts_linguist = 50148; // marks that this method accepts `x-wix-linguist` header, MAY return translated/localized responses. without this option, requests that assign this header will get an error. CRUD annotated methods assumed to have this enabled for read ops and disabled for write ops.
|
|
27
|
+
optional Audience audience = 50155; // marks which identities are allowed to call this method
|
|
28
|
+
// Overrides service/entity tenancy for this method.
|
|
29
|
+
optional TenancyOptions tenancy = 50156; // indicates the tenancy context of this method
|
|
25
30
|
}
|
|
26
31
|
|
|
27
32
|
extend google.protobuf.MessageOptions {
|
|
@@ -357,15 +362,24 @@ message Wql {
|
|
|
357
362
|
enum VirtualSubfields {
|
|
358
363
|
NO_VIRTUAL_SUBFIELDS = 0;
|
|
359
364
|
/* Can be set for a field, marked as LOCAL_DATE format, allows filtering by following subfields:
|
|
360
|
-
- '.dayOfMonth' - sorts/filters on the day of the month (
|
|
361
|
-
- '.month' - sorts/filters on the month (
|
|
362
|
-
- '.year' - sorts/filters on the year (
|
|
365
|
+
- '.dayOfMonth' - sorts/filters on the day of the month (DD), integer
|
|
366
|
+
- '.month' - sorts/filters on the month (MM), integer
|
|
367
|
+
- '.year' - sorts/filters on the year (YYYY), integer
|
|
363
368
|
For example, for a local date field named 'clientBirthday', you may use 'clientBirthday.dayOfMonth',
|
|
364
369
|
'clientBirthday.month', 'clientBirthday.year' for filtering and sorting. */
|
|
365
370
|
DATE = 1;
|
|
366
371
|
/* Can be set for a field, marked as EMAIL format, allows filtering by following subfields:
|
|
367
372
|
- '.domain' - sorts/filters on the domain of an email (example email: hello@wix.com --> domain: wix.com), string */
|
|
368
373
|
EMAIL = 2;
|
|
374
|
+
/* Can be set for a field, marked as LOCAL_DATE_TIME format, allows filtering by following subfields:
|
|
375
|
+
- '.dayOfMonth' - sorts/filters on the day of the month (DD), integer
|
|
376
|
+
- '.month' - sorts/filters on the month (MM), integer
|
|
377
|
+
- '.year' - sorts/filters on the year (YYYY), integer
|
|
378
|
+
- '.time' - sorts/filters on the time (hh:mm) (ex. "08:26"), string
|
|
379
|
+
- '.hour' - sorts/filters on the hour of the time (hh), integer
|
|
380
|
+
- '.minute' - sorts/filters on the minute of the time (mm), integer
|
|
381
|
+
For example, for a local datetime field named 'bookingTime', you may use 'bookingTime.time' for filtering and sorting. */
|
|
382
|
+
DATE_TIME = 3;
|
|
369
383
|
}
|
|
370
384
|
|
|
371
385
|
message OperatorFieldSupport {
|
|
@@ -449,3 +463,97 @@ enum Maturity {
|
|
|
449
463
|
GA = 3;
|
|
450
464
|
NOT_IMPLEMENTED = 4;
|
|
451
465
|
}
|
|
466
|
+
|
|
467
|
+
// Defines which identity audiences are allowed to call this method.
|
|
468
|
+
//
|
|
469
|
+
// Example usage:
|
|
470
|
+
// rpc UpdateSomething(UpdateSomethingRequest) returns (UpdateSomethingResponse) {
|
|
471
|
+
// option (wix.api.audience) = {
|
|
472
|
+
// uou: { access: MEMBERS_AND_VISITORS }
|
|
473
|
+
// apps: { access: WIX_AND_PUBLIC_APPS }
|
|
474
|
+
// users: { access: ALLOWED }
|
|
475
|
+
// bo_users: { access: NOT_ALLOWED }
|
|
476
|
+
// anonymous: { access: NOT_ALLOWED }
|
|
477
|
+
// };
|
|
478
|
+
// }
|
|
479
|
+
message Audience {
|
|
480
|
+
message Uou {
|
|
481
|
+
enum Access {
|
|
482
|
+
NOT_ALLOWED = 0;
|
|
483
|
+
MEMBER_ONLY = 1;
|
|
484
|
+
MEMBERS_AND_VISITORS = 2;
|
|
485
|
+
}
|
|
486
|
+
// Level of access for UoU identities.
|
|
487
|
+
optional Access access = 1 [default = NOT_ALLOWED];
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
message Apps {
|
|
491
|
+
enum Access {
|
|
492
|
+
NOT_ALLOWED = 0;
|
|
493
|
+
WIX_APPS_ONLY = 1;
|
|
494
|
+
WIX_AND_PUBLIC_APPS = 2;
|
|
495
|
+
}
|
|
496
|
+
// Level of access for app identities (TPAs / Wix-apps).
|
|
497
|
+
optional Access access = 1 [default = NOT_ALLOWED];
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
message Users {
|
|
501
|
+
enum Access {
|
|
502
|
+
NOT_ALLOWED = 0;
|
|
503
|
+
reserved 1; // If you need an API for employees only, use BoUsers.
|
|
504
|
+
ALLOWED = 2;
|
|
505
|
+
}
|
|
506
|
+
// Level of access for Wix users/employees.
|
|
507
|
+
optional Access access = 1 [default = NOT_ALLOWED];
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
message BoUsers {
|
|
511
|
+
enum Access {
|
|
512
|
+
NOT_ALLOWED = 0;
|
|
513
|
+
ALLOWED = 1;
|
|
514
|
+
}
|
|
515
|
+
// Level of access for Wix users/employees.
|
|
516
|
+
optional Access access = 1 [default = NOT_ALLOWED];
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
message Anonymous {
|
|
520
|
+
enum Access {
|
|
521
|
+
NOT_ALLOWED = 0;
|
|
522
|
+
ALLOWED = 1;
|
|
523
|
+
}
|
|
524
|
+
// Level of access for anonymous clients (with no identity).
|
|
525
|
+
// Requires opt-out from a Flynt rule.
|
|
526
|
+
optional Access access = 1 [default = NOT_ALLOWED];
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
optional Uou uou = 1;
|
|
530
|
+
optional Apps apps = 2;
|
|
531
|
+
optional Users users = 3;
|
|
532
|
+
optional BoUsers bo_users = 4;
|
|
533
|
+
optional Anonymous anonymous = 5;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
// Indicates the tenancy context of this method.
|
|
537
|
+
//
|
|
538
|
+
// Note: this is named TenancyOptions (not Tenancy) because `wix.api` already contains
|
|
539
|
+
// an `enum Tenancy` used by callbacks/events.
|
|
540
|
+
//
|
|
541
|
+
// Override order:
|
|
542
|
+
// - `(wix.api.entity).tenancy` on the main entity (default, see `wix/api/entity.proto`)
|
|
543
|
+
// - `(wix.api.service_tenancy)` on the service (overrides entity)
|
|
544
|
+
// - `(wix.api.tenancy)` on the method (overrides service/entity)
|
|
545
|
+
//
|
|
546
|
+
// Example usage:
|
|
547
|
+
// rpc UpdateSomething(UpdateSomethingRequest) returns (UpdateSomethingResponse) {
|
|
548
|
+
// option (wix.api.tenancy).type = SITE;
|
|
549
|
+
// }
|
|
550
|
+
message TenancyOptions {
|
|
551
|
+
enum Type {
|
|
552
|
+
SITE = 0;
|
|
553
|
+
ACCOUNT = 1;
|
|
554
|
+
ORGANIZATION = 2;
|
|
555
|
+
CUSTOM = 3;
|
|
556
|
+
INSTANCE = 4;
|
|
557
|
+
}
|
|
558
|
+
optional Type type = 1 [default = SITE];
|
|
559
|
+
}
|
|
@@ -93,6 +93,7 @@ message Callback {
|
|
|
93
93
|
optional EventType event_type = 4;
|
|
94
94
|
optional Exposure exposure = 6;
|
|
95
95
|
optional Maturity maturity = 7;
|
|
96
|
+
optional Tenancy tenancy = 9; // currently defaults to "SITE", can be overriden with `ACCOUNT` or `GLOBAL` values
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
message DomainEvent {
|
|
@@ -130,6 +131,15 @@ message CallbackDeprecation {
|
|
|
130
131
|
optional string payload = 5;
|
|
131
132
|
}
|
|
132
133
|
|
|
134
|
+
/**
|
|
135
|
+
Indicates the callback tenancy
|
|
136
|
+
*/
|
|
137
|
+
enum Tenancy {
|
|
138
|
+
SITE = 0; // Site tenancy
|
|
139
|
+
ACCOUNT = 1; // Account tenancy
|
|
140
|
+
GLOBAL = 2; // Global tenancy
|
|
141
|
+
}
|
|
142
|
+
|
|
133
143
|
message Segment {
|
|
134
144
|
|
|
135
145
|
/**
|
|
@@ -64,6 +64,12 @@ message Entity {
|
|
|
64
64
|
optional Maturity events_maturity = 16; // default events maturity, may be overridden in `wix.api.domain_event`
|
|
65
65
|
optional Persistence persistence = 17; // persistence config: type and tenancy model
|
|
66
66
|
optional PermissionCatalogOptions permission_options = 18; // options for permissions catalog auto generation
|
|
67
|
+
// Default tenancy for this service's main entity. May be overridden at service/method level.
|
|
68
|
+
// Override order:
|
|
69
|
+
// - `(wix.api.entity).tenancy` on the entity/message (default)
|
|
70
|
+
// - `(wix.api.service_tenancy)` on the service (overrides entity)
|
|
71
|
+
// - `(wix.api.tenancy)` on the method (overrides service/entity)
|
|
72
|
+
optional TenancyOptions tenancy = 19;
|
|
67
73
|
}
|
|
68
74
|
|
|
69
75
|
message PermissionCatalogOptions {
|
|
@@ -32,9 +32,15 @@ extend google.protobuf.MethodOptions {
|
|
|
32
32
|
message PermissionRule {
|
|
33
33
|
optional string name = 1;
|
|
34
34
|
optional PermissionType type = 2;
|
|
35
|
+
optional AbacRequestValidationMode abac_request_validation = 3;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
enum PermissionType {
|
|
38
39
|
AUTO = 0;
|
|
39
40
|
MANUAL = 1;
|
|
40
41
|
}
|
|
42
|
+
|
|
43
|
+
enum AbacRequestValidationMode {
|
|
44
|
+
ON = 0;
|
|
45
|
+
OFF = 1;
|
|
46
|
+
}
|
|
@@ -28,5 +28,5 @@ message Subscription {
|
|
|
28
28
|
optional Segment.SegmentName segment = 4; // currently defaults to "legacy", will be `required` when legacy cluster is removed
|
|
29
29
|
optional bool batch = 2 [deprecated = true];
|
|
30
30
|
optional string entity = 3;
|
|
31
|
-
optional bool dynamic = 5;
|
|
31
|
+
optional bool dynamic = 5 [deprecated = true];
|
|
32
32
|
}
|
|
@@ -110,6 +110,11 @@ message AlignedWithEnum {
|
|
|
110
110
|
required string field = 1;
|
|
111
111
|
// defaults to _options if not specified
|
|
112
112
|
optional string suffix = 2;
|
|
113
|
+
// By default, when the enum field is updated to a value that has no corresponding
|
|
114
|
+
// message option within the `oneof`, the framework automatically clears the `oneof`.
|
|
115
|
+
// This cleanup is achieved by programmatically adding the `oneof` field's path to the
|
|
116
|
+
// update mask. Set `skip_empty_options_handling` to `true` to disable this behavior.
|
|
117
|
+
optional bool skip_empty_options_handling = 3;
|
|
113
118
|
}
|
|
114
119
|
|
|
115
120
|
enum Format {
|
package/@wix/ambassador-os-tags-v1-tag/src/main/proto/wix/common/domainevents/attributeupdated.proto
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
import "google/protobuf/struct.proto";
|
|
3
|
+
|
|
4
|
+
package wix.common.domainevents;
|
|
5
|
+
|
|
6
|
+
import "wix/api/annotations.proto";
|
|
7
|
+
|
|
8
|
+
option java_multiple_files = true;
|
|
9
|
+
option java_package = "com.wix.common.domainevents";
|
|
10
|
+
|
|
11
|
+
message AttributeUpdated {
|
|
12
|
+
option (.wix.api.decomposition_minimum_fields) = {
|
|
13
|
+
field: "previous_value"
|
|
14
|
+
field: "value"
|
|
15
|
+
};
|
|
16
|
+
// previous_value should ONLY be set if you have the previous value in hand. Do NOT add additional DB calls for it unless your domain mandates it.
|
|
17
|
+
// leave next line empty so that comment will be kept internal and not confuse external parties
|
|
18
|
+
google.protobuf.Value previous_value = 4;
|
|
19
|
+
google.protobuf.Value value = 5;
|
|
20
|
+
}
|