@shipeasy/openapi 2.5.0 → 3.0.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/{chunk-DBTSD3W5.js → chunk-7T77D5YO.js} +7 -13
- package/dist/chunk-7T77D5YO.js.map +1 -0
- package/dist/{chunk-RDMD5XQT.js → chunk-V4ZESAIF.js} +1 -1
- package/dist/{chunk-RDMD5XQT.js.map → chunk-V4ZESAIF.js.map} +1 -1
- package/dist/{client-ObcuFHaV.d.ts → client-DzEqdN5N.d.ts} +26 -43
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/schemas.d.ts +13 -25
- package/dist/schemas.js +1 -1
- package/openapi.json +39 -79
- package/openapi.yaml +35 -57
- package/package.json +1 -1
- package/spec/components/schemas/i18n.yaml +20 -44
- package/spec/openapi.yaml +2 -2
- package/spec/paths/i18n.yaml +13 -11
- package/dist/chunk-DBTSD3W5.js.map +0 -1
|
@@ -2283,8 +2283,6 @@ var zListI18nKeysResponse = z.object({
|
|
|
2283
2283
|
variables: z.array(z.string()).nullable(),
|
|
2284
2284
|
profileId: z.string(),
|
|
2285
2285
|
profileName: z.string().nullable(),
|
|
2286
|
-
chunkId: z.string(),
|
|
2287
|
-
chunkName: z.string().nullable(),
|
|
2288
2286
|
updatedAt: z.string(),
|
|
2289
2287
|
updatedBy: z.string()
|
|
2290
2288
|
})),
|
|
@@ -2292,7 +2290,6 @@ var zListI18nKeysResponse = z.object({
|
|
|
2292
2290
|
});
|
|
2293
2291
|
var zUpsertI18nKeysRequest = z.object({
|
|
2294
2292
|
profile_id: z.uuid(),
|
|
2295
|
-
chunk: z.string().min(1).max(64).optional().default("default"),
|
|
2296
2293
|
keys: z.array(z.object({
|
|
2297
2294
|
key: z.string().min(1).max(256),
|
|
2298
2295
|
value: z.string(),
|
|
@@ -2301,25 +2298,25 @@ var zUpsertI18nKeysRequest = z.object({
|
|
|
2301
2298
|
})).min(1).max(5e3)
|
|
2302
2299
|
});
|
|
2303
2300
|
var zUpsertI18nKeysResponse = z.object({
|
|
2304
|
-
upserted: z.number()
|
|
2305
|
-
chunk: z.string()
|
|
2301
|
+
upserted: z.number()
|
|
2306
2302
|
});
|
|
2307
2303
|
var zPushI18nKeysRequest = z.object({
|
|
2308
2304
|
profile_id: z.uuid(),
|
|
2309
|
-
chunk: z.string().min(1).max(64).optional().default("default"),
|
|
2310
2305
|
keys: z.array(z.object({
|
|
2311
2306
|
key: z.string().min(1).max(256),
|
|
2312
2307
|
value: z.string(),
|
|
2313
2308
|
description: z.string().optional(),
|
|
2314
2309
|
variables: z.array(z.string().min(1).max(64)).max(32).optional()
|
|
2315
|
-
})).min(1).max(5e3)
|
|
2310
|
+
})).min(1).max(5e3),
|
|
2311
|
+
force: z.boolean().optional().default(false)
|
|
2316
2312
|
});
|
|
2317
2313
|
var zPushI18nKeysResponse = z.object({
|
|
2318
2314
|
added: z.array(z.string()),
|
|
2319
2315
|
skipped: z.array(z.string()),
|
|
2316
|
+
updated: z.array(z.string()),
|
|
2320
2317
|
pushed_count: z.number(),
|
|
2321
2318
|
skipped_count: z.number(),
|
|
2322
|
-
|
|
2319
|
+
updated_count: z.number()
|
|
2323
2320
|
});
|
|
2324
2321
|
var zUpdateI18nKeyRequest = z.object({
|
|
2325
2322
|
value: z.string(),
|
|
@@ -2374,13 +2371,10 @@ var zUpsertI18nDraftKeyRequest = z.object({
|
|
|
2374
2371
|
value: z.string(),
|
|
2375
2372
|
description: z.string().optional()
|
|
2376
2373
|
});
|
|
2377
|
-
var zPublishI18nProfileRequest = z.
|
|
2378
|
-
chunk: z.string().optional()
|
|
2379
|
-
});
|
|
2374
|
+
var zPublishI18nProfileRequest = z.record(z.string(), z.never());
|
|
2380
2375
|
var zPublishI18nProfileResponse = z.object({
|
|
2381
2376
|
ok: z.literal(true),
|
|
2382
2377
|
profile_id: z.string(),
|
|
2383
|
-
chunk: z.string().nullable(),
|
|
2384
2378
|
published_at: z.string(),
|
|
2385
2379
|
version: z.string(),
|
|
2386
2380
|
key_count: z.number(),
|
|
@@ -4356,4 +4350,4 @@ export {
|
|
|
4356
4350
|
zSearchResourcesQuery,
|
|
4357
4351
|
zSearchResourcesResponse
|
|
4358
4352
|
};
|
|
4359
|
-
//# sourceMappingURL=chunk-
|
|
4353
|
+
//# sourceMappingURL=chunk-7T77D5YO.js.map
|