@lokalise/content-type-app-engine-contracts 5.4.0 → 5.5.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 +2 -34
- package/dist/schemas/connector/connectorSchemas.d.ts +2 -52
- package/dist/schemas/connector/connectorSchemas.js +1 -18
- package/dist/schemas/connector/connectorSchemas.js.map +1 -1
- package/dist/schemas/integrationProject/integrationProjectApiSchemas.d.ts +2 -34
- package/dist/schemas/integrationProject/integrationProjectSchemas.d.ts +3 -18
- package/dist/schemas/integrationProject/integrationProjectSchemas.js +2 -3
- package/dist/schemas/integrationProject/integrationProjectSchemas.js.map +1 -1
- package/dist/schemas/project/projectApiSchemas.d.ts +2 -34
- package/dist/schemas/project/projectSchemas.d.ts +4 -35
- package/dist/schemas/project/projectSchemas.js +2 -3
- package/dist/schemas/project/projectSchemas.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,23 +1,7 @@
|
|
|
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.
|
|
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
|
-
}>;
|
|
4
|
+
id: z.ZodString;
|
|
21
5
|
name: z.ZodString;
|
|
22
6
|
docsLink: z.ZodOptional<z.ZodString>;
|
|
23
7
|
}, z.core.$strip>>;
|
|
@@ -35,23 +19,7 @@ export declare const getConnectorListForPlatformContract: import("@lokalise/api-
|
|
|
35
19
|
}, z.core.$strip>, undefined, false, false, {
|
|
36
20
|
200: z.ZodObject<{
|
|
37
21
|
connectors: z.ZodArray<z.ZodObject<{
|
|
38
|
-
id: z.
|
|
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
|
-
}>;
|
|
22
|
+
id: z.ZodString;
|
|
55
23
|
name: z.ZodString;
|
|
56
24
|
docsLink: z.ZodOptional<z.ZodString>;
|
|
57
25
|
}, z.core.$strip>>;
|
|
@@ -4,42 +4,8 @@ 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>;
|
|
25
7
|
export declare const CONNECTOR_LIST_ITEM: z.ZodObject<{
|
|
26
|
-
id: z.
|
|
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
|
-
}>;
|
|
8
|
+
id: z.ZodString;
|
|
43
9
|
name: z.ZodString;
|
|
44
10
|
docsLink: z.ZodOptional<z.ZodString>;
|
|
45
11
|
}, z.core.$strip>;
|
|
@@ -52,23 +18,7 @@ export declare const GET_CONNECTOR_LIST_FOR_PLATFORM_PARAMS_SCHEMA: z.ZodObject<
|
|
|
52
18
|
}, z.core.$strip>;
|
|
53
19
|
export declare const GET_CONNECTOR_LIST_FOR_PLATFORM_RESPONSE_SCHEMA: z.ZodObject<{
|
|
54
20
|
connectors: z.ZodArray<z.ZodObject<{
|
|
55
|
-
id: z.
|
|
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
|
-
}>;
|
|
21
|
+
id: z.ZodString;
|
|
72
22
|
name: z.ZodString;
|
|
73
23
|
docsLink: z.ZodOptional<z.ZodString>;
|
|
74
24
|
}, z.core.$strip>>;
|
|
@@ -1,24 +1,7 @@
|
|
|
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
|
-
]);
|
|
20
3
|
export const CONNECTOR_LIST_ITEM = z.object({
|
|
21
|
-
id:
|
|
4
|
+
id: z.string().min(1),
|
|
22
5
|
name: z.string(),
|
|
23
6
|
docsLink: z.string().describe('Link to public documentation').optional(),
|
|
24
7
|
});
|
|
@@ -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,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACrB,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"}
|
|
@@ -173,23 +173,7 @@ export declare const postRetrieveBatchIntegrationsContract: import("@lokalise/ap
|
|
|
173
173
|
projectId: import("zod").ZodGUID;
|
|
174
174
|
integrations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
175
175
|
id: import("zod").ZodGUID;
|
|
176
|
-
type: import("zod").
|
|
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";
|
|
192
|
-
}>;
|
|
176
|
+
type: import("zod").ZodString;
|
|
193
177
|
name: import("zod").ZodString;
|
|
194
178
|
}, import("zod/v4/core").$strip>>;
|
|
195
179
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -201,23 +185,7 @@ export declare const postRetrieveBatchIntegrationsContract: import("@lokalise/ap
|
|
|
201
185
|
projectId: import("zod").ZodGUID;
|
|
202
186
|
integrations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
203
187
|
id: import("zod").ZodGUID;
|
|
204
|
-
type: import("zod").
|
|
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";
|
|
220
|
-
}>;
|
|
188
|
+
type: import("zod").ZodString;
|
|
221
189
|
name: import("zod").ZodString;
|
|
222
190
|
}, import("zod/v4/core").$strip>>;
|
|
223
191
|
}, import("zod/v4/core").$strip>>;
|
|
@@ -74,7 +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
|
|
77
|
+
/** @deprecated Use return from getConnectorListForPlatformContract */
|
|
78
78
|
export declare const ProjectIntegrationEnum: {
|
|
79
79
|
readonly adobeExperienceManager: "adobe-experience-manager";
|
|
80
80
|
readonly contentful: "contentful-native";
|
|
@@ -82,29 +82,14 @@ export declare const ProjectIntegrationEnum: {
|
|
|
82
82
|
readonly strapi: "strapi";
|
|
83
83
|
readonly webflowNew: "webflow-new";
|
|
84
84
|
};
|
|
85
|
+
/** @deprecated Types should be a generic string from now on */
|
|
85
86
|
export type ProjectIntegrationEnumType = (typeof ProjectIntegrationEnum)[keyof typeof ProjectIntegrationEnum];
|
|
86
87
|
export declare const POST_RETRIEVE_BATCH_INTEGRATIONS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
87
88
|
data: z.ZodArray<z.ZodObject<{
|
|
88
89
|
projectId: z.ZodGUID;
|
|
89
90
|
integrations: z.ZodArray<z.ZodObject<{
|
|
90
91
|
id: z.ZodGUID;
|
|
91
|
-
type: z.
|
|
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";
|
|
107
|
-
}>;
|
|
92
|
+
type: z.ZodString;
|
|
108
93
|
name: z.ZodString;
|
|
109
94
|
}, z.core.$strip>>;
|
|
110
95
|
}, z.core.$strip>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
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";
|
|
4
3
|
import { VantageProjectIntegrationEnum } from "../project/projectSchemas.js";
|
|
5
4
|
// ============================================================================
|
|
6
5
|
// Connect Integration Project Schemas
|
|
@@ -106,14 +105,14 @@ export const MAX_BATCH_PROJECT_IDS = 100;
|
|
|
106
105
|
export const POST_RETRIEVE_BATCH_INTEGRATIONS_BODY_SCHEMA = z.object({
|
|
107
106
|
projectIds: z.array(z.guid()).min(1).max(MAX_BATCH_PROJECT_IDS),
|
|
108
107
|
});
|
|
109
|
-
/** @deprecated Use
|
|
108
|
+
/** @deprecated Use return from getConnectorListForPlatformContract */
|
|
110
109
|
export const ProjectIntegrationEnum = {
|
|
111
110
|
...VantageProjectIntegrationEnum,
|
|
112
111
|
adobeExperienceManager: 'adobe-experience-manager',
|
|
113
112
|
};
|
|
114
113
|
const RETRIEVE_BATCH_INTEGRATION_ITEM_SCHEMA = z.object({
|
|
115
114
|
id: z.guid(),
|
|
116
|
-
type:
|
|
115
|
+
type: z.string().min(1),
|
|
117
116
|
name: z.string(),
|
|
118
117
|
});
|
|
119
118
|
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,CAAA;AAC5E,OAAO,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,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,G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,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,qBAAqB,CAAC;CAChE,CAAC,CAAA;AAMF,sEAAsE;AACtE,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,GAAG,6BAA6B;IAChC,sBAAsB,EAAE,0BAA0B;CAC1C,CAAA;AAMV,MAAM,sCAAsC,GAAG,CAAC,CAAC,MAAM,CAAC;IACtD,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE;IACZ,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,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"}
|
|
@@ -2,23 +2,7 @@ import { z } from 'zod/v4';
|
|
|
2
2
|
export declare const getListProjectIntegrationsContract: import("@lokalise/api-contracts").GetRouteDefinition<z.ZodUnion<readonly [z.ZodObject<{
|
|
3
3
|
data: z.ZodArray<z.ZodObject<{
|
|
4
4
|
id: z.ZodGUID;
|
|
5
|
-
type: z.
|
|
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";
|
|
21
|
-
}>;
|
|
5
|
+
type: z.ZodString;
|
|
22
6
|
name: z.ZodString;
|
|
23
7
|
integrationUserId: z.ZodNumber;
|
|
24
8
|
}, z.core.$strip>>;
|
|
@@ -34,23 +18,7 @@ export declare const getListProjectIntegrationsContract: import("@lokalise/api-c
|
|
|
34
18
|
200: z.ZodObject<{
|
|
35
19
|
data: z.ZodArray<z.ZodObject<{
|
|
36
20
|
id: z.ZodGUID;
|
|
37
|
-
type: z.
|
|
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";
|
|
53
|
-
}>;
|
|
21
|
+
type: z.ZodString;
|
|
54
22
|
name: z.ZodString;
|
|
55
23
|
integrationUserId: z.ZodNumber;
|
|
56
24
|
}, z.core.$strip>>;
|
|
@@ -3,33 +3,18 @@ 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
|
|
6
|
+
/** @deprecated Use return from getConnectorListForPlatformContract */
|
|
7
7
|
export declare const VantageProjectIntegrationEnum: {
|
|
8
8
|
readonly contentful: "contentful-native";
|
|
9
9
|
readonly googleDrive: "google-drive";
|
|
10
10
|
readonly strapi: "strapi";
|
|
11
11
|
readonly webflowNew: "webflow-new";
|
|
12
12
|
};
|
|
13
|
+
/** @deprecated Types should be a generic string from now on */
|
|
13
14
|
export type VantageProjectIntegrationEnumType = (typeof VantageProjectIntegrationEnum)[keyof typeof VantageProjectIntegrationEnum];
|
|
14
15
|
export declare const GET_LIST_PROJECT_INTEGRATIONS_LIST_ITEM: z.ZodObject<{
|
|
15
16
|
id: z.ZodGUID;
|
|
16
|
-
type: z.
|
|
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";
|
|
32
|
-
}>;
|
|
17
|
+
type: z.ZodString;
|
|
33
18
|
name: z.ZodString;
|
|
34
19
|
integrationUserId: z.ZodNumber;
|
|
35
20
|
}, z.core.$strip>;
|
|
@@ -37,23 +22,7 @@ export type GetListProjectIntegrationsListItem = z.infer<typeof GET_LIST_PROJECT
|
|
|
37
22
|
export declare const GET_LIST_PROJECT_INTEGRATIONS_RESPONSE_SCHEMA: z.ZodObject<{
|
|
38
23
|
data: z.ZodArray<z.ZodObject<{
|
|
39
24
|
id: z.ZodGUID;
|
|
40
|
-
type: z.
|
|
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";
|
|
56
|
-
}>;
|
|
25
|
+
type: z.ZodString;
|
|
57
26
|
name: z.ZodString;
|
|
58
27
|
integrationUserId: z.ZodNumber;
|
|
59
28
|
}, z.core.$strip>>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod/v4';
|
|
2
|
-
import { CONNECTOR_IDENTIFIERS } from "../connector/connectorSchemas.js";
|
|
3
2
|
import { ProjectEnum } from "../integration/integrationSchemas.js";
|
|
4
3
|
export const GET_LIST_PROJECT_INTEGRATIONS_REQUEST_PATH_PARAMS_SCHEMA = z.object({
|
|
5
4
|
projectId: z.guid(),
|
|
6
5
|
});
|
|
7
|
-
/** @deprecated Use
|
|
6
|
+
/** @deprecated Use return from getConnectorListForPlatformContract */
|
|
8
7
|
export const VantageProjectIntegrationEnum = {
|
|
9
8
|
contentful: 'contentful-native',
|
|
10
9
|
googleDrive: 'google-drive',
|
|
@@ -13,7 +12,7 @@ export const VantageProjectIntegrationEnum = {
|
|
|
13
12
|
};
|
|
14
13
|
export const GET_LIST_PROJECT_INTEGRATIONS_LIST_ITEM = z.object({
|
|
15
14
|
id: z.guid(),
|
|
16
|
-
type:
|
|
15
|
+
type: z.string().min(1),
|
|
17
16
|
name: z.string(),
|
|
18
17
|
integrationUserId: z.number(),
|
|
19
18
|
});
|
|
@@ -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,
|
|
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,sEAAsE;AACtE,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,cAAc;IAC3B,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,aAAa,EAAE,kIAAkI;CACrJ,CAAA;AAMV,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9D,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE;IACZ,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACvB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;CAC9B,CAAC,CAAA;AAKF,MAAM,CAAC,MAAM,6CAA6C,GAAG,CAAC,CAAC,MAAM,CAAC;IACpE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,uCAAuC,CAAC;CACvD,CAAC,CAAA;AAKF,MAAM,CAAC,MAAM,6CAA6C,GAAG,CAAC,CAAC,MAAM,CAAC;IACpE,aAAa,EAAE,CAAC,CAAC,IAAI,EAAE;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