@wix/auto_sdk_companion-apps_companion-apps 1.0.8 → 1.0.9
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/package.json +4 -11
- package/build/cjs/schemas.d.ts +0 -30
- package/build/cjs/schemas.js +0 -79
- package/build/cjs/schemas.js.map +0 -1
- package/build/es/schemas.d.mts +0 -30
- package/build/es/schemas.mjs +0 -39
- package/build/es/schemas.mjs.map +0 -1
- package/build/internal/cjs/schemas.d.ts +0 -30
- package/build/internal/es/schemas.d.mts +0 -30
- package/schemas/package.json +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_companion-apps_companion-apps",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -21,23 +21,16 @@
|
|
|
21
21
|
"import": "./build/es/meta.mjs",
|
|
22
22
|
"require": "./build/cjs/meta.js",
|
|
23
23
|
"types": "./build/es/meta.d.mts"
|
|
24
|
-
},
|
|
25
|
-
"./schemas": {
|
|
26
|
-
"import": "./build/es/schemas.mjs",
|
|
27
|
-
"require": "./build/cjs/schemas.js",
|
|
28
|
-
"types": "./build/es/schemas.d.mts"
|
|
29
24
|
}
|
|
30
25
|
},
|
|
31
26
|
"files": [
|
|
32
27
|
"build",
|
|
33
28
|
"meta",
|
|
34
|
-
"service-plugins"
|
|
35
|
-
"schemas"
|
|
29
|
+
"service-plugins"
|
|
36
30
|
],
|
|
37
31
|
"dependencies": {
|
|
38
32
|
"@wix/sdk-runtime": "^1.0.24",
|
|
39
|
-
"@wix/sdk-types": "^1.17.11"
|
|
40
|
-
"zod": "^4.3.6"
|
|
33
|
+
"@wix/sdk-types": "^1.17.11"
|
|
41
34
|
},
|
|
42
35
|
"devDependencies": {
|
|
43
36
|
"tsup": "^8.4.0",
|
|
@@ -57,5 +50,5 @@
|
|
|
57
50
|
"fqdn": "wix.devcenter.apps_companionapps.v1.companion_app"
|
|
58
51
|
}
|
|
59
52
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "bb63787b1224e497d03afc6c422cde81b0e26ff308b5a8d67ab0fba0"
|
|
61
54
|
}
|
package/build/cjs/schemas.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const GetOrCreateCompanionAppRequest: z.ZodObject<{}, z.core.$strip>;
|
|
4
|
-
declare const GetOrCreateCompanionAppResponse: z.ZodObject<{
|
|
5
|
-
companionApp: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
7
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
8
|
-
CLONING: "CLONING";
|
|
9
|
-
READY: "READY";
|
|
10
|
-
CLONE_FAILED: "CLONE_FAILED";
|
|
11
|
-
}>>;
|
|
12
|
-
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
13
|
-
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
14
|
-
}, z.core.$strip>>;
|
|
15
|
-
}, z.core.$strip>;
|
|
16
|
-
declare const GetCompanionAppRequest: z.ZodObject<{}, z.core.$strip>;
|
|
17
|
-
declare const GetCompanionAppResponse: z.ZodObject<{
|
|
18
|
-
companionApp: z.ZodOptional<z.ZodObject<{
|
|
19
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
20
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
21
|
-
CLONING: "CLONING";
|
|
22
|
-
READY: "READY";
|
|
23
|
-
CLONE_FAILED: "CLONE_FAILED";
|
|
24
|
-
}>>;
|
|
25
|
-
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
26
|
-
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
27
|
-
}, z.core.$strip>>;
|
|
28
|
-
}, z.core.$strip>;
|
|
29
|
-
|
|
30
|
-
export { GetCompanionAppRequest, GetCompanionAppResponse, GetOrCreateCompanionAppRequest, GetOrCreateCompanionAppResponse };
|
package/build/cjs/schemas.js
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// schemas.ts
|
|
31
|
-
var schemas_exports = {};
|
|
32
|
-
__export(schemas_exports, {
|
|
33
|
-
GetCompanionAppRequest: () => GetCompanionAppRequest,
|
|
34
|
-
GetCompanionAppResponse: () => GetCompanionAppResponse,
|
|
35
|
-
GetOrCreateCompanionAppRequest: () => GetOrCreateCompanionAppRequest,
|
|
36
|
-
GetOrCreateCompanionAppResponse: () => GetOrCreateCompanionAppResponse
|
|
37
|
-
});
|
|
38
|
-
module.exports = __toCommonJS(schemas_exports);
|
|
39
|
-
|
|
40
|
-
// src/devcenter-apps-companionapps-v1-companion-app-companion-apps.schemas.ts
|
|
41
|
-
var z = __toESM(require("zod"));
|
|
42
|
-
var GetOrCreateCompanionAppRequest = /* @__PURE__ */ z.object({});
|
|
43
|
-
var GetOrCreateCompanionAppResponse = /* @__PURE__ */ z.object({
|
|
44
|
-
companionApp: /* @__PURE__ */ z.object({
|
|
45
|
-
_id: /* @__PURE__ */ z.string().describe("Companion app ID.").regex(
|
|
46
|
-
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
47
|
-
"Must be a valid GUID"
|
|
48
|
-
).optional(),
|
|
49
|
-
status: /* @__PURE__ */ z.enum(["CLONING", "READY", "CLONE_FAILED"]).describe(
|
|
50
|
-
"Status of the companion app. `READY` means the companion app can be used,\n`CLONING` means site duplication is still in progress, and\n`CLONE_FAILED` means the duplication process didn't complete successfully."
|
|
51
|
-
).optional(),
|
|
52
|
-
_createdDate: /* @__PURE__ */ z.date().describe("Date and time the companion app was created.").optional().nullable(),
|
|
53
|
-
_updatedDate: /* @__PURE__ */ z.date().describe("Date and time the companion app was last updated.").optional().nullable()
|
|
54
|
-
}).describe(
|
|
55
|
-
"Companion app that was retrieved, or created and installed successfully."
|
|
56
|
-
).optional()
|
|
57
|
-
});
|
|
58
|
-
var GetCompanionAppRequest = /* @__PURE__ */ z.object({});
|
|
59
|
-
var GetCompanionAppResponse = /* @__PURE__ */ z.object({
|
|
60
|
-
companionApp: /* @__PURE__ */ z.object({
|
|
61
|
-
_id: /* @__PURE__ */ z.string().describe("Companion app ID.").regex(
|
|
62
|
-
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
63
|
-
"Must be a valid GUID"
|
|
64
|
-
).optional(),
|
|
65
|
-
status: /* @__PURE__ */ z.enum(["CLONING", "READY", "CLONE_FAILED"]).describe(
|
|
66
|
-
"Status of the companion app. `READY` means the companion app can be used,\n`CLONING` means site duplication is still in progress, and\n`CLONE_FAILED` means the duplication process didn't complete successfully."
|
|
67
|
-
).optional(),
|
|
68
|
-
_createdDate: /* @__PURE__ */ z.date().describe("Date and time the companion app was created.").optional().nullable(),
|
|
69
|
-
_updatedDate: /* @__PURE__ */ z.date().describe("Date and time the companion app was last updated.").optional().nullable()
|
|
70
|
-
}).describe("Retrieved companion app.").optional()
|
|
71
|
-
});
|
|
72
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
73
|
-
0 && (module.exports = {
|
|
74
|
-
GetCompanionAppRequest,
|
|
75
|
-
GetCompanionAppResponse,
|
|
76
|
-
GetOrCreateCompanionAppRequest,
|
|
77
|
-
GetOrCreateCompanionAppResponse
|
|
78
|
-
});
|
|
79
|
-
//# sourceMappingURL=schemas.js.map
|
package/build/cjs/schemas.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../schemas.ts","../../src/devcenter-apps-companionapps-v1-companion-app-companion-apps.schemas.ts"],"sourcesContent":["export * from './src/devcenter-apps-companionapps-v1-companion-app-companion-apps.schemas.js';\n","import * as z from 'zod';\n\nexport const GetOrCreateCompanionAppRequest = /*#__PURE__*/ z.object({});\nexport const GetOrCreateCompanionAppResponse = /*#__PURE__*/ z.object({\n companionApp: /*#__PURE__*/ z\n .object({\n _id: /*#__PURE__*/ z\n .string()\n .describe('Companion app ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n status: /*#__PURE__*/ z\n .enum(['CLONING', 'READY', 'CLONE_FAILED'])\n .describe(\n \"Status of the companion app. `READY` means the companion app can be used,\\n`CLONING` means site duplication is still in progress, and\\n`CLONE_FAILED` means the duplication process didn't complete successfully.\"\n )\n .optional(),\n _createdDate: /*#__PURE__*/ z\n .date()\n .describe('Date and time the companion app was created.')\n .optional()\n .nullable(),\n _updatedDate: /*#__PURE__*/ z\n .date()\n .describe('Date and time the companion app was last updated.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Companion app that was retrieved, or created and installed successfully.'\n )\n .optional(),\n});\nexport const GetCompanionAppRequest = /*#__PURE__*/ z.object({});\nexport const GetCompanionAppResponse = /*#__PURE__*/ z.object({\n companionApp: /*#__PURE__*/ z\n .object({\n _id: /*#__PURE__*/ z\n .string()\n .describe('Companion app ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n status: /*#__PURE__*/ z\n .enum(['CLONING', 'READY', 'CLONE_FAILED'])\n .describe(\n \"Status of the companion app. `READY` means the companion app can be used,\\n`CLONING` means site duplication is still in progress, and\\n`CLONE_FAILED` means the duplication process didn't complete successfully.\"\n )\n .optional(),\n _createdDate: /*#__PURE__*/ z\n .date()\n .describe('Date and time the companion app was created.')\n .optional()\n .nullable(),\n _updatedDate: /*#__PURE__*/ z\n .date()\n .describe('Date and time the companion app was last updated.')\n .optional()\n .nullable(),\n })\n .describe('Retrieved companion app.')\n .optional(),\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,QAAmB;AAEZ,IAAM,iCAA+C,gBAAE,SAAO,CAAC,CAAC;AAChE,IAAM,kCAAgD,gBAAE,SAAO;AAAA,EACpE,cAA4B,gBACzB,SAAO;AAAA,IACN,KAAmB,gBAChB,SAAO,EACP,SAAS,mBAAmB,EAC5B;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS;AAAA,IACZ,QAAsB,gBACnB,OAAK,CAAC,WAAW,SAAS,cAAc,CAAC,EACzC;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,IACZ,cAA4B,gBACzB,OAAK,EACL,SAAS,8CAA8C,EACvD,SAAS,EACT,SAAS;AAAA,IACZ,cAA4B,gBACzB,OAAK,EACL,SAAS,mDAAmD,EAC5D,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA;AAAA,IACC;AAAA,EACF,EACC,SAAS;AACd,CAAC;AACM,IAAM,yBAAuC,gBAAE,SAAO,CAAC,CAAC;AACxD,IAAM,0BAAwC,gBAAE,SAAO;AAAA,EAC5D,cAA4B,gBACzB,SAAO;AAAA,IACN,KAAmB,gBAChB,SAAO,EACP,SAAS,mBAAmB,EAC5B;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS;AAAA,IACZ,QAAsB,gBACnB,OAAK,CAAC,WAAW,SAAS,cAAc,CAAC,EACzC;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,IACZ,cAA4B,gBACzB,OAAK,EACL,SAAS,8CAA8C,EACvD,SAAS,EACT,SAAS;AAAA,IACZ,cAA4B,gBACzB,OAAK,EACL,SAAS,mDAAmD,EAC5D,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA,SAAS,0BAA0B,EACnC,SAAS;AACd,CAAC;","names":[]}
|
package/build/es/schemas.d.mts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const GetOrCreateCompanionAppRequest: z.ZodObject<{}, z.core.$strip>;
|
|
4
|
-
declare const GetOrCreateCompanionAppResponse: z.ZodObject<{
|
|
5
|
-
companionApp: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
7
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
8
|
-
CLONING: "CLONING";
|
|
9
|
-
READY: "READY";
|
|
10
|
-
CLONE_FAILED: "CLONE_FAILED";
|
|
11
|
-
}>>;
|
|
12
|
-
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
13
|
-
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
14
|
-
}, z.core.$strip>>;
|
|
15
|
-
}, z.core.$strip>;
|
|
16
|
-
declare const GetCompanionAppRequest: z.ZodObject<{}, z.core.$strip>;
|
|
17
|
-
declare const GetCompanionAppResponse: z.ZodObject<{
|
|
18
|
-
companionApp: z.ZodOptional<z.ZodObject<{
|
|
19
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
20
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
21
|
-
CLONING: "CLONING";
|
|
22
|
-
READY: "READY";
|
|
23
|
-
CLONE_FAILED: "CLONE_FAILED";
|
|
24
|
-
}>>;
|
|
25
|
-
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
26
|
-
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
27
|
-
}, z.core.$strip>>;
|
|
28
|
-
}, z.core.$strip>;
|
|
29
|
-
|
|
30
|
-
export { GetCompanionAppRequest, GetCompanionAppResponse, GetOrCreateCompanionAppRequest, GetOrCreateCompanionAppResponse };
|
package/build/es/schemas.mjs
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// src/devcenter-apps-companionapps-v1-companion-app-companion-apps.schemas.ts
|
|
2
|
-
import * as z from "zod";
|
|
3
|
-
var GetOrCreateCompanionAppRequest = /* @__PURE__ */ z.object({});
|
|
4
|
-
var GetOrCreateCompanionAppResponse = /* @__PURE__ */ z.object({
|
|
5
|
-
companionApp: /* @__PURE__ */ z.object({
|
|
6
|
-
_id: /* @__PURE__ */ z.string().describe("Companion app ID.").regex(
|
|
7
|
-
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
8
|
-
"Must be a valid GUID"
|
|
9
|
-
).optional(),
|
|
10
|
-
status: /* @__PURE__ */ z.enum(["CLONING", "READY", "CLONE_FAILED"]).describe(
|
|
11
|
-
"Status of the companion app. `READY` means the companion app can be used,\n`CLONING` means site duplication is still in progress, and\n`CLONE_FAILED` means the duplication process didn't complete successfully."
|
|
12
|
-
).optional(),
|
|
13
|
-
_createdDate: /* @__PURE__ */ z.date().describe("Date and time the companion app was created.").optional().nullable(),
|
|
14
|
-
_updatedDate: /* @__PURE__ */ z.date().describe("Date and time the companion app was last updated.").optional().nullable()
|
|
15
|
-
}).describe(
|
|
16
|
-
"Companion app that was retrieved, or created and installed successfully."
|
|
17
|
-
).optional()
|
|
18
|
-
});
|
|
19
|
-
var GetCompanionAppRequest = /* @__PURE__ */ z.object({});
|
|
20
|
-
var GetCompanionAppResponse = /* @__PURE__ */ z.object({
|
|
21
|
-
companionApp: /* @__PURE__ */ z.object({
|
|
22
|
-
_id: /* @__PURE__ */ z.string().describe("Companion app ID.").regex(
|
|
23
|
-
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,
|
|
24
|
-
"Must be a valid GUID"
|
|
25
|
-
).optional(),
|
|
26
|
-
status: /* @__PURE__ */ z.enum(["CLONING", "READY", "CLONE_FAILED"]).describe(
|
|
27
|
-
"Status of the companion app. `READY` means the companion app can be used,\n`CLONING` means site duplication is still in progress, and\n`CLONE_FAILED` means the duplication process didn't complete successfully."
|
|
28
|
-
).optional(),
|
|
29
|
-
_createdDate: /* @__PURE__ */ z.date().describe("Date and time the companion app was created.").optional().nullable(),
|
|
30
|
-
_updatedDate: /* @__PURE__ */ z.date().describe("Date and time the companion app was last updated.").optional().nullable()
|
|
31
|
-
}).describe("Retrieved companion app.").optional()
|
|
32
|
-
});
|
|
33
|
-
export {
|
|
34
|
-
GetCompanionAppRequest,
|
|
35
|
-
GetCompanionAppResponse,
|
|
36
|
-
GetOrCreateCompanionAppRequest,
|
|
37
|
-
GetOrCreateCompanionAppResponse
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=schemas.mjs.map
|
package/build/es/schemas.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/devcenter-apps-companionapps-v1-companion-app-companion-apps.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const GetOrCreateCompanionAppRequest = /*#__PURE__*/ z.object({});\nexport const GetOrCreateCompanionAppResponse = /*#__PURE__*/ z.object({\n companionApp: /*#__PURE__*/ z\n .object({\n _id: /*#__PURE__*/ z\n .string()\n .describe('Companion app ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n status: /*#__PURE__*/ z\n .enum(['CLONING', 'READY', 'CLONE_FAILED'])\n .describe(\n \"Status of the companion app. `READY` means the companion app can be used,\\n`CLONING` means site duplication is still in progress, and\\n`CLONE_FAILED` means the duplication process didn't complete successfully.\"\n )\n .optional(),\n _createdDate: /*#__PURE__*/ z\n .date()\n .describe('Date and time the companion app was created.')\n .optional()\n .nullable(),\n _updatedDate: /*#__PURE__*/ z\n .date()\n .describe('Date and time the companion app was last updated.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Companion app that was retrieved, or created and installed successfully.'\n )\n .optional(),\n});\nexport const GetCompanionAppRequest = /*#__PURE__*/ z.object({});\nexport const GetCompanionAppResponse = /*#__PURE__*/ z.object({\n companionApp: /*#__PURE__*/ z\n .object({\n _id: /*#__PURE__*/ z\n .string()\n .describe('Companion app ID.')\n .regex(\n /^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/,\n 'Must be a valid GUID'\n )\n .optional(),\n status: /*#__PURE__*/ z\n .enum(['CLONING', 'READY', 'CLONE_FAILED'])\n .describe(\n \"Status of the companion app. `READY` means the companion app can be used,\\n`CLONING` means site duplication is still in progress, and\\n`CLONE_FAILED` means the duplication process didn't complete successfully.\"\n )\n .optional(),\n _createdDate: /*#__PURE__*/ z\n .date()\n .describe('Date and time the companion app was created.')\n .optional()\n .nullable(),\n _updatedDate: /*#__PURE__*/ z\n .date()\n .describe('Date and time the companion app was last updated.')\n .optional()\n .nullable(),\n })\n .describe('Retrieved companion app.')\n .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,iCAA+C,gBAAE,SAAO,CAAC,CAAC;AAChE,IAAM,kCAAgD,gBAAE,SAAO;AAAA,EACpE,cAA4B,gBACzB,SAAO;AAAA,IACN,KAAmB,gBAChB,SAAO,EACP,SAAS,mBAAmB,EAC5B;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS;AAAA,IACZ,QAAsB,gBACnB,OAAK,CAAC,WAAW,SAAS,cAAc,CAAC,EACzC;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,IACZ,cAA4B,gBACzB,OAAK,EACL,SAAS,8CAA8C,EACvD,SAAS,EACT,SAAS;AAAA,IACZ,cAA4B,gBACzB,OAAK,EACL,SAAS,mDAAmD,EAC5D,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA;AAAA,IACC;AAAA,EACF,EACC,SAAS;AACd,CAAC;AACM,IAAM,yBAAuC,gBAAE,SAAO,CAAC,CAAC;AACxD,IAAM,0BAAwC,gBAAE,SAAO;AAAA,EAC5D,cAA4B,gBACzB,SAAO;AAAA,IACN,KAAmB,gBAChB,SAAO,EACP,SAAS,mBAAmB,EAC5B;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS;AAAA,IACZ,QAAsB,gBACnB,OAAK,CAAC,WAAW,SAAS,cAAc,CAAC,EACzC;AAAA,MACC;AAAA,IACF,EACC,SAAS;AAAA,IACZ,cAA4B,gBACzB,OAAK,EACL,SAAS,8CAA8C,EACvD,SAAS,EACT,SAAS;AAAA,IACZ,cAA4B,gBACzB,OAAK,EACL,SAAS,mDAAmD,EAC5D,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA,SAAS,0BAA0B,EACnC,SAAS;AACd,CAAC;","names":[]}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const GetOrCreateCompanionAppRequest: z.ZodObject<{}, z.core.$strip>;
|
|
4
|
-
declare const GetOrCreateCompanionAppResponse: z.ZodObject<{
|
|
5
|
-
companionApp: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
7
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
8
|
-
CLONING: "CLONING";
|
|
9
|
-
READY: "READY";
|
|
10
|
-
CLONE_FAILED: "CLONE_FAILED";
|
|
11
|
-
}>>;
|
|
12
|
-
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
13
|
-
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
14
|
-
}, z.core.$strip>>;
|
|
15
|
-
}, z.core.$strip>;
|
|
16
|
-
declare const GetCompanionAppRequest: z.ZodObject<{}, z.core.$strip>;
|
|
17
|
-
declare const GetCompanionAppResponse: z.ZodObject<{
|
|
18
|
-
companionApp: z.ZodOptional<z.ZodObject<{
|
|
19
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
20
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
21
|
-
CLONING: "CLONING";
|
|
22
|
-
READY: "READY";
|
|
23
|
-
CLONE_FAILED: "CLONE_FAILED";
|
|
24
|
-
}>>;
|
|
25
|
-
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
26
|
-
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
27
|
-
}, z.core.$strip>>;
|
|
28
|
-
}, z.core.$strip>;
|
|
29
|
-
|
|
30
|
-
export { GetCompanionAppRequest, GetCompanionAppResponse, GetOrCreateCompanionAppRequest, GetOrCreateCompanionAppResponse };
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod';
|
|
2
|
-
|
|
3
|
-
declare const GetOrCreateCompanionAppRequest: z.ZodObject<{}, z.core.$strip>;
|
|
4
|
-
declare const GetOrCreateCompanionAppResponse: z.ZodObject<{
|
|
5
|
-
companionApp: z.ZodOptional<z.ZodObject<{
|
|
6
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
7
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
8
|
-
CLONING: "CLONING";
|
|
9
|
-
READY: "READY";
|
|
10
|
-
CLONE_FAILED: "CLONE_FAILED";
|
|
11
|
-
}>>;
|
|
12
|
-
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
13
|
-
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
14
|
-
}, z.core.$strip>>;
|
|
15
|
-
}, z.core.$strip>;
|
|
16
|
-
declare const GetCompanionAppRequest: z.ZodObject<{}, z.core.$strip>;
|
|
17
|
-
declare const GetCompanionAppResponse: z.ZodObject<{
|
|
18
|
-
companionApp: z.ZodOptional<z.ZodObject<{
|
|
19
|
-
_id: z.ZodOptional<z.ZodString>;
|
|
20
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
21
|
-
CLONING: "CLONING";
|
|
22
|
-
READY: "READY";
|
|
23
|
-
CLONE_FAILED: "CLONE_FAILED";
|
|
24
|
-
}>>;
|
|
25
|
-
_createdDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
26
|
-
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
27
|
-
}, z.core.$strip>>;
|
|
28
|
-
}, z.core.$strip>;
|
|
29
|
-
|
|
30
|
-
export { GetCompanionAppRequest, GetCompanionAppResponse, GetOrCreateCompanionAppRequest, GetOrCreateCompanionAppResponse };
|
package/schemas/package.json
DELETED