@lokalise/content-type-app-engine-contracts 5.3.0 → 5.4.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/schemas/connector/connectorApiSchemas.d.ts +34 -2
- package/dist/schemas/connector/connectorSchemas.d.ts +52 -2
- package/dist/schemas/connector/connectorSchemas.js +18 -1
- package/dist/schemas/connector/connectorSchemas.js.map +1 -1
- package/dist/schemas/integrationProject/integrationProjectApiSchemas.d.ts +30 -10
- package/dist/schemas/integrationProject/integrationProjectSchemas.d.ts +16 -5
- package/dist/schemas/integrationProject/integrationProjectSchemas.js +3 -1
- package/dist/schemas/integrationProject/integrationProjectSchemas.js.map +1 -1
- package/dist/schemas/project/projectApiSchemas.d.ts +30 -8
- package/dist/schemas/project/projectSchemas.d.ts +31 -8
- package/dist/schemas/project/projectSchemas.js +3 -1
- package/dist/schemas/project/projectSchemas.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
2
|
export declare const getConnectorListForPlatformContract: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodUnion<readonly [z.ZodObject<{
|
|
3
3
|
connectors: z.ZodArray<z.ZodObject<{
|
|
4
|
-
id: z.
|
|
4
|
+
id: z.ZodEnum<{
|
|
5
|
+
freshdesk: "freshdesk";
|
|
6
|
+
iterable: "iterable";
|
|
7
|
+
marketo: "marketo";
|
|
8
|
+
ditto: "ditto";
|
|
9
|
+
"contentful-native": "contentful-native";
|
|
10
|
+
webflow: "webflow";
|
|
11
|
+
clevertap: "clevertap";
|
|
12
|
+
moengage: "moengage";
|
|
13
|
+
customerio: "customerio";
|
|
14
|
+
"google-drive": "google-drive";
|
|
15
|
+
"adobe-experience-manager": "adobe-experience-manager";
|
|
16
|
+
"storyblok-ce": "storyblok-ce";
|
|
17
|
+
"braze-ce": "braze-ce";
|
|
18
|
+
strapi: "strapi";
|
|
19
|
+
"webflow-new": "webflow-new";
|
|
20
|
+
}>;
|
|
5
21
|
name: z.ZodString;
|
|
6
22
|
docsLink: z.ZodOptional<z.ZodString>;
|
|
7
23
|
}, z.core.$strip>>;
|
|
@@ -19,7 +35,23 @@ export declare const getConnectorListForPlatformContract: import("@lokalise/api-
|
|
|
19
35
|
}, z.core.$strip>, undefined, false, false, {
|
|
20
36
|
200: z.ZodObject<{
|
|
21
37
|
connectors: z.ZodArray<z.ZodObject<{
|
|
22
|
-
id: z.
|
|
38
|
+
id: z.ZodEnum<{
|
|
39
|
+
freshdesk: "freshdesk";
|
|
40
|
+
iterable: "iterable";
|
|
41
|
+
marketo: "marketo";
|
|
42
|
+
ditto: "ditto";
|
|
43
|
+
"contentful-native": "contentful-native";
|
|
44
|
+
webflow: "webflow";
|
|
45
|
+
clevertap: "clevertap";
|
|
46
|
+
moengage: "moengage";
|
|
47
|
+
customerio: "customerio";
|
|
48
|
+
"google-drive": "google-drive";
|
|
49
|
+
"adobe-experience-manager": "adobe-experience-manager";
|
|
50
|
+
"storyblok-ce": "storyblok-ce";
|
|
51
|
+
"braze-ce": "braze-ce";
|
|
52
|
+
strapi: "strapi";
|
|
53
|
+
"webflow-new": "webflow-new";
|
|
54
|
+
}>;
|
|
23
55
|
name: z.ZodString;
|
|
24
56
|
docsLink: z.ZodOptional<z.ZodString>;
|
|
25
57
|
}, z.core.$strip>>;
|
|
@@ -4,8 +4,42 @@ export declare const CONNECTOR_PLATFORM: z.ZodEnum<{
|
|
|
4
4
|
expert: "expert";
|
|
5
5
|
}>;
|
|
6
6
|
export type ConnectorPlatform = z.infer<typeof CONNECTOR_PLATFORM>;
|
|
7
|
+
export declare const CONNECTOR_IDENTIFIERS: z.ZodEnum<{
|
|
8
|
+
freshdesk: "freshdesk";
|
|
9
|
+
iterable: "iterable";
|
|
10
|
+
marketo: "marketo";
|
|
11
|
+
ditto: "ditto";
|
|
12
|
+
"contentful-native": "contentful-native";
|
|
13
|
+
webflow: "webflow";
|
|
14
|
+
clevertap: "clevertap";
|
|
15
|
+
moengage: "moengage";
|
|
16
|
+
customerio: "customerio";
|
|
17
|
+
"google-drive": "google-drive";
|
|
18
|
+
"adobe-experience-manager": "adobe-experience-manager";
|
|
19
|
+
"storyblok-ce": "storyblok-ce";
|
|
20
|
+
"braze-ce": "braze-ce";
|
|
21
|
+
strapi: "strapi";
|
|
22
|
+
"webflow-new": "webflow-new";
|
|
23
|
+
}>;
|
|
24
|
+
export type ConnectorIdentifiers = z.infer<typeof CONNECTOR_IDENTIFIERS>;
|
|
7
25
|
export declare const CONNECTOR_LIST_ITEM: z.ZodObject<{
|
|
8
|
-
id: z.
|
|
26
|
+
id: z.ZodEnum<{
|
|
27
|
+
freshdesk: "freshdesk";
|
|
28
|
+
iterable: "iterable";
|
|
29
|
+
marketo: "marketo";
|
|
30
|
+
ditto: "ditto";
|
|
31
|
+
"contentful-native": "contentful-native";
|
|
32
|
+
webflow: "webflow";
|
|
33
|
+
clevertap: "clevertap";
|
|
34
|
+
moengage: "moengage";
|
|
35
|
+
customerio: "customerio";
|
|
36
|
+
"google-drive": "google-drive";
|
|
37
|
+
"adobe-experience-manager": "adobe-experience-manager";
|
|
38
|
+
"storyblok-ce": "storyblok-ce";
|
|
39
|
+
"braze-ce": "braze-ce";
|
|
40
|
+
strapi: "strapi";
|
|
41
|
+
"webflow-new": "webflow-new";
|
|
42
|
+
}>;
|
|
9
43
|
name: z.ZodString;
|
|
10
44
|
docsLink: z.ZodOptional<z.ZodString>;
|
|
11
45
|
}, z.core.$strip>;
|
|
@@ -18,7 +52,23 @@ export declare const GET_CONNECTOR_LIST_FOR_PLATFORM_PARAMS_SCHEMA: z.ZodObject<
|
|
|
18
52
|
}, z.core.$strip>;
|
|
19
53
|
export declare const GET_CONNECTOR_LIST_FOR_PLATFORM_RESPONSE_SCHEMA: z.ZodObject<{
|
|
20
54
|
connectors: z.ZodArray<z.ZodObject<{
|
|
21
|
-
id: z.
|
|
55
|
+
id: z.ZodEnum<{
|
|
56
|
+
freshdesk: "freshdesk";
|
|
57
|
+
iterable: "iterable";
|
|
58
|
+
marketo: "marketo";
|
|
59
|
+
ditto: "ditto";
|
|
60
|
+
"contentful-native": "contentful-native";
|
|
61
|
+
webflow: "webflow";
|
|
62
|
+
clevertap: "clevertap";
|
|
63
|
+
moengage: "moengage";
|
|
64
|
+
customerio: "customerio";
|
|
65
|
+
"google-drive": "google-drive";
|
|
66
|
+
"adobe-experience-manager": "adobe-experience-manager";
|
|
67
|
+
"storyblok-ce": "storyblok-ce";
|
|
68
|
+
"braze-ce": "braze-ce";
|
|
69
|
+
strapi: "strapi";
|
|
70
|
+
"webflow-new": "webflow-new";
|
|
71
|
+
}>;
|
|
22
72
|
name: z.ZodString;
|
|
23
73
|
docsLink: z.ZodOptional<z.ZodString>;
|
|
24
74
|
}, z.core.$strip>>;
|
|
@@ -1,7 +1,24 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
2
|
export const CONNECTOR_PLATFORM = z.enum(['vantage', 'expert']);
|
|
3
|
+
export const CONNECTOR_IDENTIFIERS = z.enum([
|
|
4
|
+
'freshdesk',
|
|
5
|
+
'iterable',
|
|
6
|
+
'marketo',
|
|
7
|
+
'ditto',
|
|
8
|
+
'contentful-native',
|
|
9
|
+
'webflow',
|
|
10
|
+
'clevertap',
|
|
11
|
+
'moengage',
|
|
12
|
+
'customerio',
|
|
13
|
+
'google-drive',
|
|
14
|
+
'adobe-experience-manager',
|
|
15
|
+
'storyblok-ce',
|
|
16
|
+
'braze-ce',
|
|
17
|
+
'strapi',
|
|
18
|
+
'webflow-new',
|
|
19
|
+
]);
|
|
3
20
|
export const CONNECTOR_LIST_ITEM = z.object({
|
|
4
|
-
id:
|
|
21
|
+
id: CONNECTOR_IDENTIFIERS,
|
|
5
22
|
name: z.string(),
|
|
6
23
|
docsLink: z.string().describe('Link to public documentation').optional(),
|
|
7
24
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorSchemas.js","sourceRoot":"","sources":["../../../src/schemas/connector/connectorSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAA;AAI/D,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"connectorSchemas.js","sourceRoot":"","sources":["../../../src/schemas/connector/connectorSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE1B,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC,CAAA;AAI/D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC1C,WAAW;IACX,UAAU;IACV,SAAS;IACT,OAAO;IACP,mBAAmB;IACnB,SAAS;IACT,WAAW;IACX,UAAU;IACV,YAAY;IACZ,cAAc;IACd,0BAA0B;IAC1B,cAAc;IACd,UAAU;IACV,QAAQ;IACR,aAAa;CACd,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,qBAAqB;IACzB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC,CAAC,QAAQ,EAAE;CACzE,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,6CAA6C,GAAG,CAAC,CAAC,MAAM,CAAC;IACpE,QAAQ,EAAE,kBAAkB;CAC7B,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,CAAC,MAAM,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC;CACzC,CAAC,CAAA"}
|
|
@@ -174,11 +174,21 @@ export declare const postRetrieveBatchIntegrationsContract: import("@lokalise/ap
|
|
|
174
174
|
integrations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
175
175
|
id: import("zod").ZodGUID;
|
|
176
176
|
type: import("zod").ZodEnum<{
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
177
|
+
freshdesk: "freshdesk";
|
|
178
|
+
iterable: "iterable";
|
|
179
|
+
marketo: "marketo";
|
|
180
|
+
ditto: "ditto";
|
|
181
|
+
"contentful-native": "contentful-native";
|
|
182
|
+
webflow: "webflow";
|
|
183
|
+
clevertap: "clevertap";
|
|
184
|
+
moengage: "moengage";
|
|
185
|
+
customerio: "customerio";
|
|
186
|
+
"google-drive": "google-drive";
|
|
187
|
+
"adobe-experience-manager": "adobe-experience-manager";
|
|
188
|
+
"storyblok-ce": "storyblok-ce";
|
|
189
|
+
"braze-ce": "braze-ce";
|
|
190
|
+
strapi: "strapi";
|
|
191
|
+
"webflow-new": "webflow-new";
|
|
182
192
|
}>;
|
|
183
193
|
name: import("zod").ZodString;
|
|
184
194
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -192,11 +202,21 @@ export declare const postRetrieveBatchIntegrationsContract: import("@lokalise/ap
|
|
|
192
202
|
integrations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
193
203
|
id: import("zod").ZodGUID;
|
|
194
204
|
type: import("zod").ZodEnum<{
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
205
|
+
freshdesk: "freshdesk";
|
|
206
|
+
iterable: "iterable";
|
|
207
|
+
marketo: "marketo";
|
|
208
|
+
ditto: "ditto";
|
|
209
|
+
"contentful-native": "contentful-native";
|
|
210
|
+
webflow: "webflow";
|
|
211
|
+
clevertap: "clevertap";
|
|
212
|
+
moengage: "moengage";
|
|
213
|
+
customerio: "customerio";
|
|
214
|
+
"google-drive": "google-drive";
|
|
215
|
+
"adobe-experience-manager": "adobe-experience-manager";
|
|
216
|
+
"storyblok-ce": "storyblok-ce";
|
|
217
|
+
"braze-ce": "braze-ce";
|
|
218
|
+
strapi: "strapi";
|
|
219
|
+
"webflow-new": "webflow-new";
|
|
200
220
|
}>;
|
|
201
221
|
name: import("zod").ZodString;
|
|
202
222
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -74,6 +74,7 @@ export declare const POST_RETRIEVE_BATCH_INTEGRATIONS_BODY_SCHEMA: z.ZodObject<{
|
|
|
74
74
|
projectIds: z.ZodArray<z.ZodGUID>;
|
|
75
75
|
}, z.core.$strip>;
|
|
76
76
|
export type PostRetrieveBatchIntegrationsBody = z.infer<typeof POST_RETRIEVE_BATCH_INTEGRATIONS_BODY_SCHEMA>;
|
|
77
|
+
/** @deprecated Use CONNECTOR_IDENTIFIERS */
|
|
77
78
|
export declare const ProjectIntegrationEnum: {
|
|
78
79
|
readonly adobeExperienceManager: "adobe-experience-manager";
|
|
79
80
|
readonly contentful: "contentful-native";
|
|
@@ -88,11 +89,21 @@ export declare const POST_RETRIEVE_BATCH_INTEGRATIONS_RESPONSE_SCHEMA: z.ZodObje
|
|
|
88
89
|
integrations: z.ZodArray<z.ZodObject<{
|
|
89
90
|
id: z.ZodGUID;
|
|
90
91
|
type: z.ZodEnum<{
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
freshdesk: "freshdesk";
|
|
93
|
+
iterable: "iterable";
|
|
94
|
+
marketo: "marketo";
|
|
95
|
+
ditto: "ditto";
|
|
96
|
+
"contentful-native": "contentful-native";
|
|
97
|
+
webflow: "webflow";
|
|
98
|
+
clevertap: "clevertap";
|
|
99
|
+
moengage: "moengage";
|
|
100
|
+
customerio: "customerio";
|
|
101
|
+
"google-drive": "google-drive";
|
|
102
|
+
"adobe-experience-manager": "adobe-experience-manager";
|
|
103
|
+
"storyblok-ce": "storyblok-ce";
|
|
104
|
+
"braze-ce": "braze-ce";
|
|
105
|
+
strapi: "strapi";
|
|
106
|
+
"webflow-new": "webflow-new";
|
|
96
107
|
}>;
|
|
97
108
|
name: z.ZodString;
|
|
98
109
|
}, z.core.$strip>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
2
|
import { COMMON_ERROR_RESPONSE_SCHEMA_V2 } from "../commonRequestSchemas.js";
|
|
3
|
+
import { CONNECTOR_IDENTIFIERS } from "../connector/connectorSchemas.js";
|
|
3
4
|
import { VantageProjectIntegrationEnum } from "../project/projectSchemas.js";
|
|
4
5
|
// ============================================================================
|
|
5
6
|
// Connect Integration Project Schemas
|
|
@@ -105,13 +106,14 @@ export const MAX_BATCH_PROJECT_IDS = 100;
|
|
|
105
106
|
export const POST_RETRIEVE_BATCH_INTEGRATIONS_BODY_SCHEMA = z.object({
|
|
106
107
|
projectIds: z.array(z.guid()).min(1).max(MAX_BATCH_PROJECT_IDS),
|
|
107
108
|
});
|
|
109
|
+
/** @deprecated Use CONNECTOR_IDENTIFIERS */
|
|
108
110
|
export const ProjectIntegrationEnum = {
|
|
109
111
|
...VantageProjectIntegrationEnum,
|
|
110
112
|
adobeExperienceManager: 'adobe-experience-manager',
|
|
111
113
|
};
|
|
112
114
|
const RETRIEVE_BATCH_INTEGRATION_ITEM_SCHEMA = z.object({
|
|
113
115
|
id: z.guid(),
|
|
114
|
-
type:
|
|
116
|
+
type: CONNECTOR_IDENTIFIERS,
|
|
115
117
|
name: z.string(),
|
|
116
118
|
});
|
|
117
119
|
export const POST_RETRIEVE_BATCH_INTEGRATIONS_RESPONSE_SCHEMA = z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationProjectSchemas.js","sourceRoot":"","sources":["../../../src/schemas/integrationProject/integrationProjectSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EAAE,+BAA+B,EAAE,MAAM,4BAA4B,CAA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,EAAE,
|
|
1
|
+
{"version":3,"file":"integrationProjectSchemas.js","sourceRoot":"","sources":["../../../src/schemas/integrationProject/integrationProjectSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EAAE,+BAA+B,EAAE,MAAM,4BAA4B,CAAA;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAA;AACxE,OAAO,EAAE,6BAA6B,EAAE,MAAM,8BAA8B,CAAA;AAE5E,+EAA+E;AAC/E,sCAAsC;AACtC,iEAAiE;AACjE,+EAA+E;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM,mDAAmD,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1E;;OAEG;IACH,aAAa,EAAE,CAAC,CAAC,IAAI,EAAE;CACxB,CAAC,CAAA;AAMF;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAAC,CAAC,MAAM,CAAC;IACnE;;OAEG;IACH,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;IACnB;;;OAGG;IACH,aAAa,EAAE,CAAC;SACb,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SACxB,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,oCAAoC,EAAE,CAAC;CAC7D,CAAC,CAAA;AAMF;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAG,CAAC,CAAC,MAAM,CAAC;IACvE;;OAEG;IACH,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACzB,CAAC,CAAA;AAMF;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GACxD,oCAA6C,CAAA;AAE/C;;GAEG;AACH,MAAM,CAAC,MAAM,wDAAwD,GACnE,+BAA+B,CAAC,MAAM,CAAC;IACrC,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,6CAA6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CAAC,CAAC,CAAC,GAAG,CAAC,qBAAqB,CAAC;CAChE,CAAC,CAAA;AAMF,4CAA4C;AAC5C,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,GAAG,6BAA6B;IAChC,sBAAsB,EAAE,0BAA0B;CAC1C,CAAA;AAIV,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE;IACZ,IAAI,EAAE,qBAAqB;IAC3B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;CACjB,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,gDAAgD,GAAG,CAAC,CAAC,MAAM,CAAC;IACvE,IAAI,EAAE,CAAC,CAAC,KAAK,CACX,CAAC,CAAC,MAAM,CAAC;QACP,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;QACnB,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;KACrE,CAAC,CACH;CACF,CAAC,CAAA"}
|
|
@@ -3,10 +3,21 @@ export declare const getListProjectIntegrationsContract: import("@lokalise/api-c
|
|
|
3
3
|
data: z.ZodArray<z.ZodObject<{
|
|
4
4
|
id: z.ZodGUID;
|
|
5
5
|
type: z.ZodEnum<{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
freshdesk: "freshdesk";
|
|
7
|
+
iterable: "iterable";
|
|
8
|
+
marketo: "marketo";
|
|
9
|
+
ditto: "ditto";
|
|
10
|
+
"contentful-native": "contentful-native";
|
|
11
|
+
webflow: "webflow";
|
|
12
|
+
clevertap: "clevertap";
|
|
13
|
+
moengage: "moengage";
|
|
14
|
+
customerio: "customerio";
|
|
15
|
+
"google-drive": "google-drive";
|
|
16
|
+
"adobe-experience-manager": "adobe-experience-manager";
|
|
17
|
+
"storyblok-ce": "storyblok-ce";
|
|
18
|
+
"braze-ce": "braze-ce";
|
|
19
|
+
strapi: "strapi";
|
|
20
|
+
"webflow-new": "webflow-new";
|
|
10
21
|
}>;
|
|
11
22
|
name: z.ZodString;
|
|
12
23
|
integrationUserId: z.ZodNumber;
|
|
@@ -24,10 +35,21 @@ export declare const getListProjectIntegrationsContract: import("@lokalise/api-c
|
|
|
24
35
|
data: z.ZodArray<z.ZodObject<{
|
|
25
36
|
id: z.ZodGUID;
|
|
26
37
|
type: z.ZodEnum<{
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
38
|
+
freshdesk: "freshdesk";
|
|
39
|
+
iterable: "iterable";
|
|
40
|
+
marketo: "marketo";
|
|
41
|
+
ditto: "ditto";
|
|
42
|
+
"contentful-native": "contentful-native";
|
|
43
|
+
webflow: "webflow";
|
|
44
|
+
clevertap: "clevertap";
|
|
45
|
+
moengage: "moengage";
|
|
46
|
+
customerio: "customerio";
|
|
47
|
+
"google-drive": "google-drive";
|
|
48
|
+
"adobe-experience-manager": "adobe-experience-manager";
|
|
49
|
+
"storyblok-ce": "storyblok-ce";
|
|
50
|
+
"braze-ce": "braze-ce";
|
|
51
|
+
strapi: "strapi";
|
|
52
|
+
"webflow-new": "webflow-new";
|
|
31
53
|
}>;
|
|
32
54
|
name: z.ZodString;
|
|
33
55
|
integrationUserId: z.ZodNumber;
|
|
@@ -3,6 +3,7 @@ export declare const GET_LIST_PROJECT_INTEGRATIONS_REQUEST_PATH_PARAMS_SCHEMA: z
|
|
|
3
3
|
projectId: z.ZodGUID;
|
|
4
4
|
}, z.core.$strip>;
|
|
5
5
|
export type GetListProjectIntegrationsRequestPathParams = z.infer<typeof GET_LIST_PROJECT_INTEGRATIONS_REQUEST_PATH_PARAMS_SCHEMA>;
|
|
6
|
+
/** @deprecated Use CONNECTOR_IDENTIFIERS */
|
|
6
7
|
export declare const VantageProjectIntegrationEnum: {
|
|
7
8
|
readonly contentful: "contentful-native";
|
|
8
9
|
readonly googleDrive: "google-drive";
|
|
@@ -13,10 +14,21 @@ export type VantageProjectIntegrationEnumType = (typeof VantageProjectIntegratio
|
|
|
13
14
|
export declare const GET_LIST_PROJECT_INTEGRATIONS_LIST_ITEM: z.ZodObject<{
|
|
14
15
|
id: z.ZodGUID;
|
|
15
16
|
type: z.ZodEnum<{
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
freshdesk: "freshdesk";
|
|
18
|
+
iterable: "iterable";
|
|
19
|
+
marketo: "marketo";
|
|
20
|
+
ditto: "ditto";
|
|
21
|
+
"contentful-native": "contentful-native";
|
|
22
|
+
webflow: "webflow";
|
|
23
|
+
clevertap: "clevertap";
|
|
24
|
+
moengage: "moengage";
|
|
25
|
+
customerio: "customerio";
|
|
26
|
+
"google-drive": "google-drive";
|
|
27
|
+
"adobe-experience-manager": "adobe-experience-manager";
|
|
28
|
+
"storyblok-ce": "storyblok-ce";
|
|
29
|
+
"braze-ce": "braze-ce";
|
|
30
|
+
strapi: "strapi";
|
|
31
|
+
"webflow-new": "webflow-new";
|
|
20
32
|
}>;
|
|
21
33
|
name: z.ZodString;
|
|
22
34
|
integrationUserId: z.ZodNumber;
|
|
@@ -26,10 +38,21 @@ export declare const GET_LIST_PROJECT_INTEGRATIONS_RESPONSE_SCHEMA: z.ZodObject<
|
|
|
26
38
|
data: z.ZodArray<z.ZodObject<{
|
|
27
39
|
id: z.ZodGUID;
|
|
28
40
|
type: z.ZodEnum<{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
41
|
+
freshdesk: "freshdesk";
|
|
42
|
+
iterable: "iterable";
|
|
43
|
+
marketo: "marketo";
|
|
44
|
+
ditto: "ditto";
|
|
45
|
+
"contentful-native": "contentful-native";
|
|
46
|
+
webflow: "webflow";
|
|
47
|
+
clevertap: "clevertap";
|
|
48
|
+
moengage: "moengage";
|
|
49
|
+
customerio: "customerio";
|
|
50
|
+
"google-drive": "google-drive";
|
|
51
|
+
"adobe-experience-manager": "adobe-experience-manager";
|
|
52
|
+
"storyblok-ce": "storyblok-ce";
|
|
53
|
+
"braze-ce": "braze-ce";
|
|
54
|
+
strapi: "strapi";
|
|
55
|
+
"webflow-new": "webflow-new";
|
|
33
56
|
}>;
|
|
34
57
|
name: z.ZodString;
|
|
35
58
|
integrationUserId: z.ZodNumber;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
|
+
import { CONNECTOR_IDENTIFIERS } from "../connector/connectorSchemas.js";
|
|
2
3
|
import { ProjectEnum } from "../integration/integrationSchemas.js";
|
|
3
4
|
export const GET_LIST_PROJECT_INTEGRATIONS_REQUEST_PATH_PARAMS_SCHEMA = z.object({
|
|
4
5
|
projectId: z.guid(),
|
|
5
6
|
});
|
|
7
|
+
/** @deprecated Use CONNECTOR_IDENTIFIERS */
|
|
6
8
|
export const VantageProjectIntegrationEnum = {
|
|
7
9
|
contentful: 'contentful-native',
|
|
8
10
|
googleDrive: 'google-drive',
|
|
@@ -11,7 +13,7 @@ export const VantageProjectIntegrationEnum = {
|
|
|
11
13
|
};
|
|
12
14
|
export const GET_LIST_PROJECT_INTEGRATIONS_LIST_ITEM = z.object({
|
|
13
15
|
id: z.guid(),
|
|
14
|
-
type:
|
|
16
|
+
type: CONNECTOR_IDENTIFIERS,
|
|
15
17
|
name: z.string(),
|
|
16
18
|
integrationUserId: z.number(),
|
|
17
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectSchemas.js","sourceRoot":"","sources":["../../../src/schemas/project/projectSchemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAA;AAElE,MAAM,CAAC,MAAM,wDAAwD,GAAG,CAAC,CAAC,MAAM,CAAC;IAC/E,SAAS,EAAE,CAAC,CAAC,IAAI,EAAE;CACpB,CAAC,CAAA;AAKF,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,UAAU,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