@mondaydotcomorg/z2h-shared-utils 0.9.0 → 0.11.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/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/integrations.d.ts +6 -0
- package/dist/esm/integrations.d.ts.map +1 -1
- package/dist/esm/integrations.mjs +6 -1
- package/dist/esm/observability/events.d.ts +7 -0
- package/dist/esm/observability/events.d.ts.map +1 -1
- package/dist/esm/observability/events.mjs +7 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/integrations.d.ts +6 -0
- package/dist/integrations.d.ts.map +1 -1
- package/dist/integrations.js +6 -0
- package/dist/observability/events.d.ts +7 -0
- package/dist/observability/events.d.ts.map +1 -1
- package/dist/observability/events.js +7 -0
- package/package.json +1 -1
- package/src/index.ts +2 -0
- package/src/integrations.ts +7 -0
- package/src/observability/events.ts +7 -0
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './constants';
|
|
2
|
-
export { ALWAYS_ON_CHANNELS, DECLARED_INTEGRATIONS, type AlwaysOnChannel, type DeclaredIntegration, } from './integrations';
|
|
2
|
+
export { ALWAYS_ON_CHANNELS, CUSTOM_INTEGRATION_HOST_STATUSES, DECLARED_INTEGRATIONS, type AlwaysOnChannel, type CustomIntegrationHostStatus, type DeclaredIntegration, } from './integrations';
|
|
3
3
|
export type { AppVersionSummary, AppVersionsResponse, DeployVersion } from './appVersions';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,KAAK,eAAe,EACpB,KAAK,mBAAmB,GACzB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAClB,gCAAgC,EAChC,qBAAqB,EACrB,KAAK,eAAe,EACpB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,GACzB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { APP_NAME_PATTERN, APP_USAGE_BUCKET_NAME, APP_USAGE_PREFIX, BUCKET_READ_DNS_NAME, BUCKET_READ_DNS_URL, BUCKET_WRITE_NAME, BUCKET_WRITE_URL, DATAVIZ_SKILLS_PREFIX, MANIFEST_KEY, MANIFEST_READ_URL, PREVIEW_APP_NAME_PREFIX, REGION, S3_PREVIEWS_FOLDER, S3_SKILLS_BUCKET_NAME, appUsageFolder } from './constants.mjs';
|
|
2
|
-
export { ALWAYS_ON_CHANNELS, DECLARED_INTEGRATIONS } from './integrations.mjs';
|
|
2
|
+
export { ALWAYS_ON_CHANNELS, CUSTOM_INTEGRATION_HOST_STATUSES, DECLARED_INTEGRATIONS } from './integrations.mjs';
|
|
@@ -12,4 +12,10 @@ export type AlwaysOnChannel = (typeof ALWAYS_ON_CHANNELS)[number];
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const DECLARED_INTEGRATIONS: readonly ["monday"];
|
|
14
14
|
export type DeclaredIntegration = (typeof DECLARED_INTEGRATIONS)[number];
|
|
15
|
+
/**
|
|
16
|
+
* Review state of a host a custom integration may target. Only `approved`
|
|
17
|
+
* hosts can be called; shared so every service compares against the same list.
|
|
18
|
+
*/
|
|
19
|
+
export declare const CUSTOM_INTEGRATION_HOST_STATUSES: readonly ["requested", "approved", "rejected", "revoked"];
|
|
20
|
+
export type CustomIntegrationHostStatus = (typeof CUSTOM_INTEGRATION_HOST_STATUSES)[number];
|
|
15
21
|
//# sourceMappingURL=integrations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../src/integrations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,0DAA2D,CAAC;AAC3F,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,qBAAqB,qBAAsB,CAAC;AACzD,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../src/integrations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,0DAA2D,CAAC;AAC3F,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,qBAAqB,qBAAsB,CAAC;AACzD,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzE;;;GAGG;AACH,eAAO,MAAM,gCAAgC,2DAA4D,CAAC;AAC1G,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -10,5 +10,10 @@ const ALWAYS_ON_CHANNELS = ['db', 'llm', 'snowflake', 'customIntegration'];
|
|
|
10
10
|
* sources and the broker validates on register/update.
|
|
11
11
|
*/
|
|
12
12
|
const DECLARED_INTEGRATIONS = ['monday'];
|
|
13
|
+
/**
|
|
14
|
+
* Review state of a host a custom integration may target. Only `approved`
|
|
15
|
+
* hosts can be called; shared so every service compares against the same list.
|
|
16
|
+
*/
|
|
17
|
+
const CUSTOM_INTEGRATION_HOST_STATUSES = ['requested', 'approved', 'rejected', 'revoked'];
|
|
13
18
|
|
|
14
|
-
export { ALWAYS_ON_CHANNELS, DECLARED_INTEGRATIONS };
|
|
19
|
+
export { ALWAYS_ON_CHANNELS, CUSTOM_INTEGRATION_HOST_STATUSES, DECLARED_INTEGRATIONS };
|
|
@@ -38,6 +38,9 @@ export declare const BackendRunnerEvents: {
|
|
|
38
38
|
readonly revokeFailedMetric: "z2h.integration_oauth.revoke.error";
|
|
39
39
|
readonly tokenRequestMetric: "z2h.integration_oauth.token_request";
|
|
40
40
|
};
|
|
41
|
+
readonly customIntegration: {
|
|
42
|
+
readonly hostDeniedMetric: "z2h.custom_integration.host_denied";
|
|
43
|
+
};
|
|
41
44
|
readonly integrationToken: {
|
|
42
45
|
readonly decryptFailedMetric: "z2h.integration_token.decrypt_failed";
|
|
43
46
|
readonly unexpectedShapeMetric: "z2h.integration_token.unexpected_shape";
|
|
@@ -55,6 +58,10 @@ export declare const Z2hServiceEvents: {
|
|
|
55
58
|
readonly npmProxy: {
|
|
56
59
|
readonly failure: "z2h_npm_proxy_failure";
|
|
57
60
|
};
|
|
61
|
+
readonly customIntegrationHosts: {
|
|
62
|
+
readonly requested: "z2h_custom_integration_host_requested";
|
|
63
|
+
readonly reviewed: "z2h_custom_integration_host_reviewed";
|
|
64
|
+
};
|
|
58
65
|
readonly apps: {
|
|
59
66
|
readonly deleted: "z2h_app_deleted";
|
|
60
67
|
readonly grantChanged: "z2h_grant_changed";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/observability/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/observability/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CtB,CAAC;AAEX,iEAAiE;AACjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;CAuBnB,CAAC;AAEX,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;CAuBjB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;CAWf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -38,6 +38,9 @@ const BackendRunnerEvents = {
|
|
|
38
38
|
revokeFailedMetric: 'z2h.integration_oauth.revoke.error',
|
|
39
39
|
tokenRequestMetric: 'z2h.integration_oauth.token_request',
|
|
40
40
|
},
|
|
41
|
+
customIntegration: {
|
|
42
|
+
hostDeniedMetric: 'z2h.custom_integration.host_denied',
|
|
43
|
+
},
|
|
41
44
|
integrationToken: {
|
|
42
45
|
decryptFailedMetric: 'z2h.integration_token.decrypt_failed',
|
|
43
46
|
unexpectedShapeMetric: 'z2h.integration_token.unexpected_shape',
|
|
@@ -55,6 +58,10 @@ const Z2hServiceEvents = {
|
|
|
55
58
|
npmProxy: {
|
|
56
59
|
failure: 'z2h_npm_proxy_failure',
|
|
57
60
|
},
|
|
61
|
+
customIntegrationHosts: {
|
|
62
|
+
requested: 'z2h_custom_integration_host_requested',
|
|
63
|
+
reviewed: 'z2h_custom_integration_host_reviewed',
|
|
64
|
+
},
|
|
58
65
|
apps: {
|
|
59
66
|
deleted: 'z2h_app_deleted',
|
|
60
67
|
grantChanged: 'z2h_grant_changed',
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './constants';
|
|
2
|
-
export { ALWAYS_ON_CHANNELS, DECLARED_INTEGRATIONS, type AlwaysOnChannel, type DeclaredIntegration, } from './integrations';
|
|
2
|
+
export { ALWAYS_ON_CHANNELS, CUSTOM_INTEGRATION_HOST_STATUSES, DECLARED_INTEGRATIONS, type AlwaysOnChannel, type CustomIntegrationHostStatus, type DeclaredIntegration, } from './integrations';
|
|
3
3
|
export type { AppVersionSummary, AppVersionsResponse, DeployVersion } from './appVersions';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,KAAK,eAAe,EACpB,KAAK,mBAAmB,GACzB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,OAAO,EACL,kBAAkB,EAClB,gCAAgC,EAChC,qBAAqB,EACrB,KAAK,eAAe,EACpB,KAAK,2BAA2B,EAChC,KAAK,mBAAmB,GACzB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -21,4 +21,5 @@ exports.S3_PREVIEWS_FOLDER = constants.S3_PREVIEWS_FOLDER;
|
|
|
21
21
|
exports.S3_SKILLS_BUCKET_NAME = constants.S3_SKILLS_BUCKET_NAME;
|
|
22
22
|
exports.appUsageFolder = constants.appUsageFolder;
|
|
23
23
|
exports.ALWAYS_ON_CHANNELS = integrations.ALWAYS_ON_CHANNELS;
|
|
24
|
+
exports.CUSTOM_INTEGRATION_HOST_STATUSES = integrations.CUSTOM_INTEGRATION_HOST_STATUSES;
|
|
24
25
|
exports.DECLARED_INTEGRATIONS = integrations.DECLARED_INTEGRATIONS;
|
package/dist/integrations.d.ts
CHANGED
|
@@ -12,4 +12,10 @@ export type AlwaysOnChannel = (typeof ALWAYS_ON_CHANNELS)[number];
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const DECLARED_INTEGRATIONS: readonly ["monday"];
|
|
14
14
|
export type DeclaredIntegration = (typeof DECLARED_INTEGRATIONS)[number];
|
|
15
|
+
/**
|
|
16
|
+
* Review state of a host a custom integration may target. Only `approved`
|
|
17
|
+
* hosts can be called; shared so every service compares against the same list.
|
|
18
|
+
*/
|
|
19
|
+
export declare const CUSTOM_INTEGRATION_HOST_STATUSES: readonly ["requested", "approved", "rejected", "revoked"];
|
|
20
|
+
export type CustomIntegrationHostStatus = (typeof CUSTOM_INTEGRATION_HOST_STATUSES)[number];
|
|
15
21
|
//# sourceMappingURL=integrations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../src/integrations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,0DAA2D,CAAC;AAC3F,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,qBAAqB,qBAAsB,CAAC;AACzD,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../src/integrations.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,0DAA2D,CAAC;AAC3F,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE;;;GAGG;AACH,eAAO,MAAM,qBAAqB,qBAAsB,CAAC;AACzD,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEzE;;;GAGG;AACH,eAAO,MAAM,gCAAgC,2DAA4D,CAAC;AAC1G,MAAM,MAAM,2BAA2B,GAAG,CAAC,OAAO,gCAAgC,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
package/dist/integrations.js
CHANGED
|
@@ -12,6 +12,12 @@ const ALWAYS_ON_CHANNELS = ['db', 'llm', 'snowflake', 'customIntegration'];
|
|
|
12
12
|
* sources and the broker validates on register/update.
|
|
13
13
|
*/
|
|
14
14
|
const DECLARED_INTEGRATIONS = ['monday'];
|
|
15
|
+
/**
|
|
16
|
+
* Review state of a host a custom integration may target. Only `approved`
|
|
17
|
+
* hosts can be called; shared so every service compares against the same list.
|
|
18
|
+
*/
|
|
19
|
+
const CUSTOM_INTEGRATION_HOST_STATUSES = ['requested', 'approved', 'rejected', 'revoked'];
|
|
15
20
|
|
|
16
21
|
exports.ALWAYS_ON_CHANNELS = ALWAYS_ON_CHANNELS;
|
|
22
|
+
exports.CUSTOM_INTEGRATION_HOST_STATUSES = CUSTOM_INTEGRATION_HOST_STATUSES;
|
|
17
23
|
exports.DECLARED_INTEGRATIONS = DECLARED_INTEGRATIONS;
|
|
@@ -38,6 +38,9 @@ export declare const BackendRunnerEvents: {
|
|
|
38
38
|
readonly revokeFailedMetric: "z2h.integration_oauth.revoke.error";
|
|
39
39
|
readonly tokenRequestMetric: "z2h.integration_oauth.token_request";
|
|
40
40
|
};
|
|
41
|
+
readonly customIntegration: {
|
|
42
|
+
readonly hostDeniedMetric: "z2h.custom_integration.host_denied";
|
|
43
|
+
};
|
|
41
44
|
readonly integrationToken: {
|
|
42
45
|
readonly decryptFailedMetric: "z2h.integration_token.decrypt_failed";
|
|
43
46
|
readonly unexpectedShapeMetric: "z2h.integration_token.unexpected_shape";
|
|
@@ -55,6 +58,10 @@ export declare const Z2hServiceEvents: {
|
|
|
55
58
|
readonly npmProxy: {
|
|
56
59
|
readonly failure: "z2h_npm_proxy_failure";
|
|
57
60
|
};
|
|
61
|
+
readonly customIntegrationHosts: {
|
|
62
|
+
readonly requested: "z2h_custom_integration_host_requested";
|
|
63
|
+
readonly reviewed: "z2h_custom_integration_host_reviewed";
|
|
64
|
+
};
|
|
58
65
|
readonly apps: {
|
|
59
66
|
readonly deleted: "z2h_app_deleted";
|
|
60
67
|
readonly grantChanged: "z2h_grant_changed";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/observability/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/observability/events.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CtB,CAAC;AAEX,iEAAiE;AACjE,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;CAuBnB,CAAC;AAEX,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;CAuBjB,CAAC;AAEX;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;CAWf,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
|
|
@@ -40,6 +40,9 @@ const BackendRunnerEvents = {
|
|
|
40
40
|
revokeFailedMetric: 'z2h.integration_oauth.revoke.error',
|
|
41
41
|
tokenRequestMetric: 'z2h.integration_oauth.token_request',
|
|
42
42
|
},
|
|
43
|
+
customIntegration: {
|
|
44
|
+
hostDeniedMetric: 'z2h.custom_integration.host_denied',
|
|
45
|
+
},
|
|
43
46
|
integrationToken: {
|
|
44
47
|
decryptFailedMetric: 'z2h.integration_token.decrypt_failed',
|
|
45
48
|
unexpectedShapeMetric: 'z2h.integration_token.unexpected_shape',
|
|
@@ -57,6 +60,10 @@ const Z2hServiceEvents = {
|
|
|
57
60
|
npmProxy: {
|
|
58
61
|
failure: 'z2h_npm_proxy_failure',
|
|
59
62
|
},
|
|
63
|
+
customIntegrationHosts: {
|
|
64
|
+
requested: 'z2h_custom_integration_host_requested',
|
|
65
|
+
reviewed: 'z2h_custom_integration_host_reviewed',
|
|
66
|
+
},
|
|
60
67
|
apps: {
|
|
61
68
|
deleted: 'z2h_app_deleted',
|
|
62
69
|
grantChanged: 'z2h_grant_changed',
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export * from './constants';
|
|
2
2
|
export {
|
|
3
3
|
ALWAYS_ON_CHANNELS,
|
|
4
|
+
CUSTOM_INTEGRATION_HOST_STATUSES,
|
|
4
5
|
DECLARED_INTEGRATIONS,
|
|
5
6
|
type AlwaysOnChannel,
|
|
7
|
+
type CustomIntegrationHostStatus,
|
|
6
8
|
type DeclaredIntegration,
|
|
7
9
|
} from './integrations';
|
|
8
10
|
export type { AppVersionSummary, AppVersionsResponse, DeployVersion } from './appVersions';
|
package/src/integrations.ts
CHANGED
|
@@ -13,3 +13,10 @@ export type AlwaysOnChannel = (typeof ALWAYS_ON_CHANNELS)[number];
|
|
|
13
13
|
*/
|
|
14
14
|
export const DECLARED_INTEGRATIONS = ['monday'] as const;
|
|
15
15
|
export type DeclaredIntegration = (typeof DECLARED_INTEGRATIONS)[number];
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Review state of a host a custom integration may target. Only `approved`
|
|
19
|
+
* hosts can be called; shared so every service compares against the same list.
|
|
20
|
+
*/
|
|
21
|
+
export const CUSTOM_INTEGRATION_HOST_STATUSES = ['requested', 'approved', 'rejected', 'revoked'] as const;
|
|
22
|
+
export type CustomIntegrationHostStatus = (typeof CUSTOM_INTEGRATION_HOST_STATUSES)[number];
|
|
@@ -38,6 +38,9 @@ export const BackendRunnerEvents = {
|
|
|
38
38
|
revokeFailedMetric: 'z2h.integration_oauth.revoke.error',
|
|
39
39
|
tokenRequestMetric: 'z2h.integration_oauth.token_request',
|
|
40
40
|
},
|
|
41
|
+
customIntegration: {
|
|
42
|
+
hostDeniedMetric: 'z2h.custom_integration.host_denied',
|
|
43
|
+
},
|
|
41
44
|
integrationToken: {
|
|
42
45
|
decryptFailedMetric: 'z2h.integration_token.decrypt_failed',
|
|
43
46
|
unexpectedShapeMetric: 'z2h.integration_token.unexpected_shape',
|
|
@@ -56,6 +59,10 @@ export const Z2hServiceEvents = {
|
|
|
56
59
|
npmProxy: {
|
|
57
60
|
failure: 'z2h_npm_proxy_failure',
|
|
58
61
|
},
|
|
62
|
+
customIntegrationHosts: {
|
|
63
|
+
requested: 'z2h_custom_integration_host_requested',
|
|
64
|
+
reviewed: 'z2h_custom_integration_host_reviewed',
|
|
65
|
+
},
|
|
59
66
|
apps: {
|
|
60
67
|
deleted: 'z2h_app_deleted',
|
|
61
68
|
grantChanged: 'z2h_grant_changed',
|