@wix/auto_sdk_apps-installer_apps-installer 1.0.18 → 1.0.19
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/build/cjs/schemas.d.ts +210 -0
- package/build/cjs/schemas.js +394 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/schemas.d.mts +210 -0
- package/build/es/schemas.mjs +344 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/schemas.d.ts +210 -0
- package/build/internal/cjs/schemas.js +394 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/schemas.d.mts +210 -0
- package/build/internal/es/schemas.mjs +344 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/package.json +12 -5
- package/schemas/package.json +3 -0
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const InstallAppRequest: z.ZodObject<{
|
|
4
|
+
tenant: z.ZodObject<{
|
|
5
|
+
_id: z.ZodString;
|
|
6
|
+
tenantType: z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
SITE: "SITE";
|
|
8
|
+
ACCOUNT: "ACCOUNT";
|
|
9
|
+
}>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
options: z.ZodObject<{
|
|
12
|
+
appInstance: z.ZodObject<{
|
|
13
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
14
|
+
appDefId: z.ZodString;
|
|
15
|
+
version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
appToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18
|
+
installedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
19
|
+
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
declare const InstallAppResponse: z.ZodObject<{
|
|
24
|
+
appInstance: z.ZodOptional<z.ZodObject<{
|
|
25
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
26
|
+
appDefId: z.ZodOptional<z.ZodString>;
|
|
27
|
+
version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
+
appToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
30
|
+
installedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
31
|
+
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
declare const BulkInstallAppRequest: z.ZodObject<{
|
|
35
|
+
tenant: z.ZodObject<{
|
|
36
|
+
_id: z.ZodString;
|
|
37
|
+
tenantType: z.ZodOptional<z.ZodEnum<{
|
|
38
|
+
SITE: "SITE";
|
|
39
|
+
ACCOUNT: "ACCOUNT";
|
|
40
|
+
}>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
options: z.ZodOptional<z.ZodObject<{
|
|
43
|
+
appInstances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
44
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
45
|
+
appDefId: z.ZodOptional<z.ZodString>;
|
|
46
|
+
version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
47
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
+
appToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
49
|
+
installedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
50
|
+
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
51
|
+
}, z.core.$strip>>>;
|
|
52
|
+
}, z.core.$strip>>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
declare const BulkInstallAppResponse: z.ZodObject<{
|
|
55
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
56
|
+
itemMetadata: z.ZodOptional<z.ZodObject<{
|
|
57
|
+
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
58
|
+
originalIndex: z.ZodOptional<z.ZodNumber>;
|
|
59
|
+
success: z.ZodOptional<z.ZodBoolean>;
|
|
60
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
61
|
+
code: z.ZodOptional<z.ZodString>;
|
|
62
|
+
description: z.ZodOptional<z.ZodString>;
|
|
63
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
}, z.core.$strip>>;
|
|
66
|
+
appInstance: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
68
|
+
appDefId: z.ZodOptional<z.ZodString>;
|
|
69
|
+
version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
70
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
71
|
+
appToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
72
|
+
installedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
73
|
+
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
}, z.core.$strip>>>;
|
|
76
|
+
bulkActionMetadata: z.ZodOptional<z.ZodObject<{
|
|
77
|
+
totalSuccesses: z.ZodOptional<z.ZodNumber>;
|
|
78
|
+
totalFailures: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
undetailedFailures: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
}, z.core.$strip>>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
declare const UninstallAppRequest: z.ZodObject<{
|
|
83
|
+
options: z.ZodObject<{
|
|
84
|
+
tenant: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
86
|
+
tenantType: z.ZodOptional<z.ZodEnum<{
|
|
87
|
+
SITE: "SITE";
|
|
88
|
+
ACCOUNT: "ACCOUNT";
|
|
89
|
+
}>>;
|
|
90
|
+
}, z.core.$strip>>;
|
|
91
|
+
appDefId: z.ZodString;
|
|
92
|
+
}, z.core.$strip>;
|
|
93
|
+
}, z.core.$strip>;
|
|
94
|
+
declare const UninstallAppResponse: z.ZodObject<{}, z.core.$strip>;
|
|
95
|
+
declare const BulkUninstallAppRequest: z.ZodObject<{
|
|
96
|
+
options: z.ZodObject<{
|
|
97
|
+
tenant: z.ZodOptional<z.ZodObject<{
|
|
98
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
99
|
+
tenantType: z.ZodOptional<z.ZodEnum<{
|
|
100
|
+
SITE: "SITE";
|
|
101
|
+
ACCOUNT: "ACCOUNT";
|
|
102
|
+
}>>;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
appDefIds: z.ZodArray<z.ZodString>;
|
|
105
|
+
}, z.core.$strip>;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
declare const BulkUninstallAppResponse: z.ZodObject<{
|
|
108
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
109
|
+
itemMetadata: z.ZodOptional<z.ZodObject<{
|
|
110
|
+
_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
111
|
+
originalIndex: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
success: z.ZodOptional<z.ZodBoolean>;
|
|
113
|
+
error: z.ZodOptional<z.ZodObject<{
|
|
114
|
+
code: z.ZodOptional<z.ZodString>;
|
|
115
|
+
description: z.ZodOptional<z.ZodString>;
|
|
116
|
+
data: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
117
|
+
}, z.core.$strip>>;
|
|
118
|
+
}, z.core.$strip>>;
|
|
119
|
+
appDefId: z.ZodOptional<z.ZodString>;
|
|
120
|
+
appInstance: z.ZodOptional<z.ZodObject<{
|
|
121
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
122
|
+
appDefId: z.ZodOptional<z.ZodString>;
|
|
123
|
+
version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
124
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
appToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
126
|
+
installedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
127
|
+
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
}, z.core.$strip>>>;
|
|
130
|
+
bulkActionMetadata: z.ZodOptional<z.ZodObject<{
|
|
131
|
+
totalSuccesses: z.ZodOptional<z.ZodNumber>;
|
|
132
|
+
totalFailures: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
undetailedFailures: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
declare const InstallAppFromShareUrlRequest: z.ZodObject<{
|
|
137
|
+
tenant: z.ZodObject<{
|
|
138
|
+
_id: z.ZodString;
|
|
139
|
+
tenantType: z.ZodOptional<z.ZodEnum<{
|
|
140
|
+
SITE: "SITE";
|
|
141
|
+
ACCOUNT: "ACCOUNT";
|
|
142
|
+
}>>;
|
|
143
|
+
}, z.core.$strip>;
|
|
144
|
+
options: z.ZodObject<{
|
|
145
|
+
shareUrlId: z.ZodString;
|
|
146
|
+
devVersion: z.ZodOptional<z.ZodObject<{
|
|
147
|
+
overrideId: z.ZodOptional<z.ZodString>;
|
|
148
|
+
}, z.core.$strip>>;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
declare const InstallAppFromShareUrlResponse: z.ZodObject<{
|
|
152
|
+
appInstance: z.ZodOptional<z.ZodObject<{
|
|
153
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
154
|
+
appDefId: z.ZodOptional<z.ZodString>;
|
|
155
|
+
version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
156
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
157
|
+
appToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
158
|
+
installedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
159
|
+
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
160
|
+
}, z.core.$strip>>;
|
|
161
|
+
}, z.core.$strip>;
|
|
162
|
+
declare const IsPermittedToInstallAppsRequest: z.ZodObject<{
|
|
163
|
+
installType: z.ZodEnum<{
|
|
164
|
+
APPS_INSTALL: "APPS_INSTALL";
|
|
165
|
+
SHARE_URL_INSTALL: "SHARE_URL_INSTALL";
|
|
166
|
+
}>;
|
|
167
|
+
options: z.ZodIntersection<z.ZodObject<{}, z.core.$strip>, z.ZodXor<readonly [z.ZodObject<{
|
|
168
|
+
shareUrlInstallOptions: z.ZodOptional<z.ZodNever>;
|
|
169
|
+
appsInstallOptions: z.ZodObject<{
|
|
170
|
+
tenant: z.ZodOptional<z.ZodObject<{
|
|
171
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
172
|
+
tenantType: z.ZodOptional<z.ZodEnum<{
|
|
173
|
+
SITE: "SITE";
|
|
174
|
+
ACCOUNT: "ACCOUNT";
|
|
175
|
+
}>>;
|
|
176
|
+
}, z.core.$strip>>;
|
|
177
|
+
appInstances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
178
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
179
|
+
appDefId: z.ZodOptional<z.ZodString>;
|
|
180
|
+
version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
181
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
182
|
+
appToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
183
|
+
installedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
184
|
+
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
185
|
+
}, z.core.$strip>>>;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
188
|
+
appsInstallOptions: z.ZodOptional<z.ZodNever>;
|
|
189
|
+
shareUrlInstallOptions: z.ZodObject<{
|
|
190
|
+
shareUrlId: z.ZodOptional<z.ZodString>;
|
|
191
|
+
}, z.core.$strip>;
|
|
192
|
+
}, z.core.$strip>]>>;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
declare const IsPermittedToInstallAppsResponse: z.ZodObject<{
|
|
195
|
+
permitted: z.ZodOptional<z.ZodBoolean>;
|
|
196
|
+
}, z.core.$strip>;
|
|
197
|
+
declare const GetInstalledAppsRequest: z.ZodObject<{}, z.core.$strip>;
|
|
198
|
+
declare const GetInstalledAppsResponse: z.ZodObject<{
|
|
199
|
+
appInstances: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
200
|
+
_id: z.ZodOptional<z.ZodString>;
|
|
201
|
+
appDefId: z.ZodOptional<z.ZodString>;
|
|
202
|
+
version: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
203
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
204
|
+
appToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
205
|
+
installedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
206
|
+
_updatedDate: z.ZodNullable<z.ZodOptional<z.ZodDate>>;
|
|
207
|
+
}, z.core.$strip>>>;
|
|
208
|
+
}, z.core.$strip>;
|
|
209
|
+
|
|
210
|
+
export { BulkInstallAppRequest, BulkInstallAppResponse, BulkUninstallAppRequest, BulkUninstallAppResponse, GetInstalledAppsRequest, GetInstalledAppsResponse, InstallAppFromShareUrlRequest, InstallAppFromShareUrlResponse, InstallAppRequest, InstallAppResponse, IsPermittedToInstallAppsRequest, IsPermittedToInstallAppsResponse, UninstallAppRequest, UninstallAppResponse };
|
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
// src/apps-v1-app-instance-apps-installer.schemas.ts
|
|
2
|
+
import * as z from "zod";
|
|
3
|
+
var InstallAppRequest = z.object({
|
|
4
|
+
tenant: z.object({
|
|
5
|
+
_id: z.string().describe(
|
|
6
|
+
"Tenant ID. For a site, this is the [site ID](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction). For an account this is the [account ID](https://dev.wix.com/docs/rest/account-level/user-management/accounts/accounts/about-accounts)."
|
|
7
|
+
),
|
|
8
|
+
tenantType: z.enum(["SITE", "ACCOUNT"]).optional()
|
|
9
|
+
}).describe("Tenant details."),
|
|
10
|
+
options: z.object({
|
|
11
|
+
appInstance: z.object({
|
|
12
|
+
_id: z.string().describe("App instance ID.").regex(
|
|
13
|
+
/^[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}$/,
|
|
14
|
+
"Must be a valid GUID"
|
|
15
|
+
).optional(),
|
|
16
|
+
appDefId: z.string().describe("ID of the app to install.").regex(
|
|
17
|
+
/^[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}$/,
|
|
18
|
+
"Must be a valid GUID"
|
|
19
|
+
),
|
|
20
|
+
version: z.string().describe(
|
|
21
|
+
"Version of the app to install.\n\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app."
|
|
22
|
+
).optional().nullable(),
|
|
23
|
+
enabled: z.boolean().describe("Whether the app instance is enabled.").optional(),
|
|
24
|
+
appToken: z.string().describe(
|
|
25
|
+
"A signed access token of the Wix user and the app instance."
|
|
26
|
+
).optional().nullable(),
|
|
27
|
+
installedDate: z.date().describe("Date and time the app instance was installed.").optional().nullable(),
|
|
28
|
+
_updatedDate: z.date().describe("Date and time the app instance was last updated.").optional().nullable()
|
|
29
|
+
}).describe(
|
|
30
|
+
"Details of the app instance to create when the app is installed."
|
|
31
|
+
)
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
var InstallAppResponse = z.object({
|
|
35
|
+
appInstance: z.object({
|
|
36
|
+
_id: z.string().describe("App instance ID.").regex(
|
|
37
|
+
/^[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}$/,
|
|
38
|
+
"Must be a valid GUID"
|
|
39
|
+
).optional(),
|
|
40
|
+
appDefId: z.string().describe("ID of the app to install.").regex(
|
|
41
|
+
/^[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}$/,
|
|
42
|
+
"Must be a valid GUID"
|
|
43
|
+
).optional(),
|
|
44
|
+
version: z.string().describe(
|
|
45
|
+
"Version of the app to install.\n\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app."
|
|
46
|
+
).optional().nullable(),
|
|
47
|
+
enabled: z.boolean().describe("Whether the app instance is enabled.").optional(),
|
|
48
|
+
appToken: z.string().describe("A signed access token of the Wix user and the app instance.").optional().nullable(),
|
|
49
|
+
installedDate: z.date().describe("Date and time the app instance was installed.").optional().nullable(),
|
|
50
|
+
_updatedDate: z.date().describe("Date and time the app instance was last updated.").optional().nullable()
|
|
51
|
+
}).describe("The app instance created when the app was installed.").optional()
|
|
52
|
+
});
|
|
53
|
+
var BulkInstallAppRequest = z.object({
|
|
54
|
+
tenant: z.object({
|
|
55
|
+
_id: z.string().describe(
|
|
56
|
+
"Tenant ID. For a site, this is the [site ID](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction). For an account this is the [account ID](https://dev.wix.com/docs/rest/account-level/user-management/accounts/accounts/about-accounts)."
|
|
57
|
+
),
|
|
58
|
+
tenantType: z.enum(["SITE", "ACCOUNT"]).optional()
|
|
59
|
+
}).describe("Tenant details."),
|
|
60
|
+
options: z.object({
|
|
61
|
+
appInstances: z.array(
|
|
62
|
+
z.object({
|
|
63
|
+
_id: z.string().describe("App instance ID.").regex(
|
|
64
|
+
/^[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}$/,
|
|
65
|
+
"Must be a valid GUID"
|
|
66
|
+
).optional(),
|
|
67
|
+
appDefId: z.string().describe("ID of the app to install.").regex(
|
|
68
|
+
/^[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}$/,
|
|
69
|
+
"Must be a valid GUID"
|
|
70
|
+
).optional(),
|
|
71
|
+
version: z.string().describe(
|
|
72
|
+
"Version of the app to install.\n\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app."
|
|
73
|
+
).optional().nullable(),
|
|
74
|
+
enabled: z.boolean().describe("Whether the app instance is enabled.").optional(),
|
|
75
|
+
appToken: z.string().describe(
|
|
76
|
+
"A signed access token of the Wix user and the app instance."
|
|
77
|
+
).optional().nullable(),
|
|
78
|
+
installedDate: z.date().describe("Date and time the app instance was installed.").optional().nullable(),
|
|
79
|
+
_updatedDate: z.date().describe("Date and time the app instance was last updated.").optional().nullable()
|
|
80
|
+
})
|
|
81
|
+
).max(20).optional()
|
|
82
|
+
}).optional()
|
|
83
|
+
});
|
|
84
|
+
var BulkInstallAppResponse = z.object({
|
|
85
|
+
results: z.array(
|
|
86
|
+
z.object({
|
|
87
|
+
itemMetadata: z.object({
|
|
88
|
+
_id: z.string().describe(
|
|
89
|
+
"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item)."
|
|
90
|
+
).optional().nullable(),
|
|
91
|
+
originalIndex: z.number().int().describe(
|
|
92
|
+
"Index of the item within the request array. Allows for correlation between request and response items."
|
|
93
|
+
).optional(),
|
|
94
|
+
success: z.boolean().describe(
|
|
95
|
+
"Whether the requested action was successful for this item. When `false`, the `error` field is populated."
|
|
96
|
+
).optional(),
|
|
97
|
+
error: z.object({
|
|
98
|
+
code: z.string().describe("Error code.").optional(),
|
|
99
|
+
description: z.string().describe("Description of the error.").optional(),
|
|
100
|
+
data: z.record(z.string(), z.any()).describe("Data related to the error.").optional().nullable()
|
|
101
|
+
}).describe("Details about the error in case of failure.").optional()
|
|
102
|
+
}).describe("Metadata about the app installation.").optional(),
|
|
103
|
+
appInstance: z.object({
|
|
104
|
+
_id: z.string().describe("App instance ID.").regex(
|
|
105
|
+
/^[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}$/,
|
|
106
|
+
"Must be a valid GUID"
|
|
107
|
+
).optional(),
|
|
108
|
+
appDefId: z.string().describe("ID of the app to install.").regex(
|
|
109
|
+
/^[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}$/,
|
|
110
|
+
"Must be a valid GUID"
|
|
111
|
+
).optional(),
|
|
112
|
+
version: z.string().describe(
|
|
113
|
+
"Version of the app to install.\n\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app."
|
|
114
|
+
).optional().nullable(),
|
|
115
|
+
enabled: z.boolean().describe("Whether the app instance is enabled.").optional(),
|
|
116
|
+
appToken: z.string().describe(
|
|
117
|
+
"A signed access token of the Wix user and the app instance."
|
|
118
|
+
).optional().nullable(),
|
|
119
|
+
installedDate: z.date().describe("Date and time the app instance was installed.").optional().nullable(),
|
|
120
|
+
_updatedDate: z.date().describe("Date and time the app instance was last updated.").optional().nullable()
|
|
121
|
+
}).describe("Details of the created app instance.").optional()
|
|
122
|
+
})
|
|
123
|
+
).optional(),
|
|
124
|
+
bulkActionMetadata: z.object({
|
|
125
|
+
totalSuccesses: z.number().int().describe("Number of items that were successfully processed.").optional(),
|
|
126
|
+
totalFailures: z.number().int().describe("Number of items that couldn't be processed.").optional(),
|
|
127
|
+
undetailedFailures: z.number().int().describe(
|
|
128
|
+
"Number of failures without details because detailed failure threshold was exceeded."
|
|
129
|
+
).optional()
|
|
130
|
+
}).describe("Metadata about the bulk installation.").optional()
|
|
131
|
+
});
|
|
132
|
+
var UninstallAppRequest = z.object({
|
|
133
|
+
options: z.object({
|
|
134
|
+
tenant: z.object({
|
|
135
|
+
_id: z.string().describe(
|
|
136
|
+
"Tenant ID. For a site, this is the [site ID](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction). For an account this is the [account ID](https://dev.wix.com/docs/rest/account-level/user-management/accounts/accounts/about-accounts)."
|
|
137
|
+
).optional(),
|
|
138
|
+
tenantType: z.enum(["SITE", "ACCOUNT"]).optional()
|
|
139
|
+
}).describe("Tenant details.").optional(),
|
|
140
|
+
appDefId: z.string().describe("The ID of the app to install.").regex(
|
|
141
|
+
/^[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}$/,
|
|
142
|
+
"Must be a valid GUID"
|
|
143
|
+
)
|
|
144
|
+
})
|
|
145
|
+
});
|
|
146
|
+
var UninstallAppResponse = z.object({});
|
|
147
|
+
var BulkUninstallAppRequest = z.object({
|
|
148
|
+
options: z.object({
|
|
149
|
+
tenant: z.object({
|
|
150
|
+
_id: z.string().describe(
|
|
151
|
+
"Tenant ID. For a site, this is the [site ID](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction). For an account this is the [account ID](https://dev.wix.com/docs/rest/account-level/user-management/accounts/accounts/about-accounts)."
|
|
152
|
+
).optional(),
|
|
153
|
+
tenantType: z.enum(["SITE", "ACCOUNT"]).optional()
|
|
154
|
+
}).describe("Tenant details.").optional(),
|
|
155
|
+
appDefIds: z.array(z.string()).max(20)
|
|
156
|
+
})
|
|
157
|
+
});
|
|
158
|
+
var BulkUninstallAppResponse = z.object({
|
|
159
|
+
results: z.array(
|
|
160
|
+
z.object({
|
|
161
|
+
itemMetadata: z.object({
|
|
162
|
+
_id: z.string().describe(
|
|
163
|
+
"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item)."
|
|
164
|
+
).optional().nullable(),
|
|
165
|
+
originalIndex: z.number().int().describe(
|
|
166
|
+
"Index of the item within the request array. Allows for correlation between request and response items."
|
|
167
|
+
).optional(),
|
|
168
|
+
success: z.boolean().describe(
|
|
169
|
+
"Whether the requested action was successful for this item. When `false`, the `error` field is populated."
|
|
170
|
+
).optional(),
|
|
171
|
+
error: z.object({
|
|
172
|
+
code: z.string().describe("Error code.").optional(),
|
|
173
|
+
description: z.string().describe("Description of the error.").optional(),
|
|
174
|
+
data: z.record(z.string(), z.any()).describe("Data related to the error.").optional().nullable()
|
|
175
|
+
}).describe("Details about the error in case of failure.").optional()
|
|
176
|
+
}).describe("Metadata about the uninstalled app instance.").optional(),
|
|
177
|
+
appDefId: z.string().regex(
|
|
178
|
+
/^[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}$/,
|
|
179
|
+
"Must be a valid GUID"
|
|
180
|
+
).optional(),
|
|
181
|
+
appInstance: z.object({
|
|
182
|
+
_id: z.string().describe("App instance ID.").regex(
|
|
183
|
+
/^[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}$/,
|
|
184
|
+
"Must be a valid GUID"
|
|
185
|
+
).optional(),
|
|
186
|
+
appDefId: z.string().describe("ID of the app to install.").regex(
|
|
187
|
+
/^[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}$/,
|
|
188
|
+
"Must be a valid GUID"
|
|
189
|
+
).optional(),
|
|
190
|
+
version: z.string().describe(
|
|
191
|
+
"Version of the app to install.\n\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app."
|
|
192
|
+
).optional().nullable(),
|
|
193
|
+
enabled: z.boolean().describe("Whether the app instance is enabled.").optional(),
|
|
194
|
+
appToken: z.string().describe(
|
|
195
|
+
"A signed access token of the Wix user and the app instance."
|
|
196
|
+
).optional().nullable(),
|
|
197
|
+
installedDate: z.date().describe("Date and time the app instance was installed.").optional().nullable(),
|
|
198
|
+
_updatedDate: z.date().describe("Date and time the app instance was last updated.").optional().nullable()
|
|
199
|
+
}).describe("Details of the uninstalled app instance.").optional()
|
|
200
|
+
})
|
|
201
|
+
).optional(),
|
|
202
|
+
bulkActionMetadata: z.object({
|
|
203
|
+
totalSuccesses: z.number().int().describe("Number of items that were successfully processed.").optional(),
|
|
204
|
+
totalFailures: z.number().int().describe("Number of items that couldn't be processed.").optional(),
|
|
205
|
+
undetailedFailures: z.number().int().describe(
|
|
206
|
+
"Number of failures without details because detailed failure threshold was exceeded."
|
|
207
|
+
).optional()
|
|
208
|
+
}).describe("Metadata about the bulk uninstallation.").optional()
|
|
209
|
+
});
|
|
210
|
+
var InstallAppFromShareUrlRequest = z.object({
|
|
211
|
+
tenant: z.object({
|
|
212
|
+
_id: z.string().describe(
|
|
213
|
+
"Tenant ID. For a site, this is the [site ID](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction). For an account this is the [account ID](https://dev.wix.com/docs/rest/account-level/user-management/accounts/accounts/about-accounts)."
|
|
214
|
+
),
|
|
215
|
+
tenantType: z.enum(["SITE", "ACCOUNT"]).optional()
|
|
216
|
+
}).describe("Tenant details."),
|
|
217
|
+
options: z.object({
|
|
218
|
+
shareUrlId: z.string().describe(
|
|
219
|
+
"ID of the share URL to install the app from.\n\nTo get the share URL of an app:\n\n1. [Generate an install link](https://dev.wix.com/docs/build-apps/develop-your-app/app-dashboard-setup/share-your-app-with-an-install-link).\n\n2. Click the link, which will redirect you to a page where you can install the app. The URL of this page is the share URL, and the string after `install/` in the URL is the share URL ID. For example, in the share URL `https://www.wix.com/app-market/install/8d5179a2-6d46-45b0-bcfa-64f479c6a2al`, the share URL ID is `8d5179a2-6d46-45b0-bcfa-64f479c6a2al`."
|
|
220
|
+
).regex(
|
|
221
|
+
/^[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}$/,
|
|
222
|
+
"Must be a valid GUID"
|
|
223
|
+
),
|
|
224
|
+
devVersion: z.object({
|
|
225
|
+
overrideId: z.string().describe("ID of the override to assign to the development version.").max(50).optional()
|
|
226
|
+
}).describe(
|
|
227
|
+
"Information about the development version of the app to install. Only relevant if the share URL refers to a development version of an app created in the Wix CLI."
|
|
228
|
+
).optional()
|
|
229
|
+
})
|
|
230
|
+
});
|
|
231
|
+
var InstallAppFromShareUrlResponse = z.object({
|
|
232
|
+
appInstance: z.object({
|
|
233
|
+
_id: z.string().describe("App instance ID.").regex(
|
|
234
|
+
/^[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}$/,
|
|
235
|
+
"Must be a valid GUID"
|
|
236
|
+
).optional(),
|
|
237
|
+
appDefId: z.string().describe("ID of the app to install.").regex(
|
|
238
|
+
/^[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}$/,
|
|
239
|
+
"Must be a valid GUID"
|
|
240
|
+
).optional(),
|
|
241
|
+
version: z.string().describe(
|
|
242
|
+
"Version of the app to install.\n\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app."
|
|
243
|
+
).optional().nullable(),
|
|
244
|
+
enabled: z.boolean().describe("Whether the app instance is enabled.").optional(),
|
|
245
|
+
appToken: z.string().describe("A signed access token of the Wix user and the app instance.").optional().nullable(),
|
|
246
|
+
installedDate: z.date().describe("Date and time the app instance was installed.").optional().nullable(),
|
|
247
|
+
_updatedDate: z.date().describe("Date and time the app instance was last updated.").optional().nullable()
|
|
248
|
+
}).describe("App instance created when the app was installed.").optional()
|
|
249
|
+
});
|
|
250
|
+
var IsPermittedToInstallAppsRequest = z.object({
|
|
251
|
+
installType: z.enum(["APPS_INSTALL", "SHARE_URL_INSTALL"]),
|
|
252
|
+
options: z.intersection(
|
|
253
|
+
z.object({}),
|
|
254
|
+
z.xor([
|
|
255
|
+
z.object({
|
|
256
|
+
shareUrlInstallOptions: z.never().optional(),
|
|
257
|
+
appsInstallOptions: z.object({
|
|
258
|
+
tenant: z.object({
|
|
259
|
+
_id: z.string().describe(
|
|
260
|
+
"Tenant ID. For a site, this is the [site ID](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction). For an account this is the [account ID](https://dev.wix.com/docs/rest/account-level/user-management/accounts/accounts/about-accounts)."
|
|
261
|
+
).optional(),
|
|
262
|
+
tenantType: z.enum(["SITE", "ACCOUNT"]).optional()
|
|
263
|
+
}).describe("Tenant details.").optional(),
|
|
264
|
+
appInstances: z.array(
|
|
265
|
+
z.object({
|
|
266
|
+
_id: z.string().describe("App instance ID.").regex(
|
|
267
|
+
/^[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}$/,
|
|
268
|
+
"Must be a valid GUID"
|
|
269
|
+
).optional(),
|
|
270
|
+
appDefId: z.string().describe("ID of the app to install.").regex(
|
|
271
|
+
/^[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}$/,
|
|
272
|
+
"Must be a valid GUID"
|
|
273
|
+
).optional(),
|
|
274
|
+
version: z.string().describe(
|
|
275
|
+
"Version of the app to install.\n\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app."
|
|
276
|
+
).optional().nullable(),
|
|
277
|
+
enabled: z.boolean().describe("Whether the app instance is enabled.").optional(),
|
|
278
|
+
appToken: z.string().describe(
|
|
279
|
+
"A signed access token of the Wix user and the app instance."
|
|
280
|
+
).optional().nullable(),
|
|
281
|
+
installedDate: z.date().describe("Date and time the app instance was installed.").optional().nullable(),
|
|
282
|
+
_updatedDate: z.date().describe(
|
|
283
|
+
"Date and time the app instance was last updated."
|
|
284
|
+
).optional().nullable()
|
|
285
|
+
})
|
|
286
|
+
).min(1).max(30).optional()
|
|
287
|
+
}).describe("Install the app using app instance details.")
|
|
288
|
+
}),
|
|
289
|
+
z.object({
|
|
290
|
+
appsInstallOptions: z.never().optional(),
|
|
291
|
+
shareUrlInstallOptions: z.object({
|
|
292
|
+
shareUrlId: z.string().describe("ID of the share URL to install the app from.").regex(
|
|
293
|
+
/^[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}$/,
|
|
294
|
+
"Must be a valid GUID"
|
|
295
|
+
).optional()
|
|
296
|
+
}).describe("Install an app using a share URL.")
|
|
297
|
+
})
|
|
298
|
+
])
|
|
299
|
+
)
|
|
300
|
+
});
|
|
301
|
+
var IsPermittedToInstallAppsResponse = z.object({
|
|
302
|
+
permitted: z.boolean().describe("Whether the installation is permitted.").optional()
|
|
303
|
+
});
|
|
304
|
+
var GetInstalledAppsRequest = z.object({});
|
|
305
|
+
var GetInstalledAppsResponse = z.object({
|
|
306
|
+
appInstances: z.array(
|
|
307
|
+
z.object({
|
|
308
|
+
_id: z.string().describe("App instance ID.").regex(
|
|
309
|
+
/^[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}$/,
|
|
310
|
+
"Must be a valid GUID"
|
|
311
|
+
).optional(),
|
|
312
|
+
appDefId: z.string().describe("ID of the app to install.").regex(
|
|
313
|
+
/^[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}$/,
|
|
314
|
+
"Must be a valid GUID"
|
|
315
|
+
).optional(),
|
|
316
|
+
version: z.string().describe(
|
|
317
|
+
"Version of the app to install.\n\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app."
|
|
318
|
+
).optional().nullable(),
|
|
319
|
+
enabled: z.boolean().describe("Whether the app instance is enabled.").optional(),
|
|
320
|
+
appToken: z.string().describe(
|
|
321
|
+
"A signed access token of the Wix user and the app instance."
|
|
322
|
+
).optional().nullable(),
|
|
323
|
+
installedDate: z.date().describe("Date and time the app instance was installed.").optional().nullable(),
|
|
324
|
+
_updatedDate: z.date().describe("Date and time the app instance was last updated.").optional().nullable()
|
|
325
|
+
})
|
|
326
|
+
).optional()
|
|
327
|
+
});
|
|
328
|
+
export {
|
|
329
|
+
BulkInstallAppRequest,
|
|
330
|
+
BulkInstallAppResponse,
|
|
331
|
+
BulkUninstallAppRequest,
|
|
332
|
+
BulkUninstallAppResponse,
|
|
333
|
+
GetInstalledAppsRequest,
|
|
334
|
+
GetInstalledAppsResponse,
|
|
335
|
+
InstallAppFromShareUrlRequest,
|
|
336
|
+
InstallAppFromShareUrlResponse,
|
|
337
|
+
InstallAppRequest,
|
|
338
|
+
InstallAppResponse,
|
|
339
|
+
IsPermittedToInstallAppsRequest,
|
|
340
|
+
IsPermittedToInstallAppsResponse,
|
|
341
|
+
UninstallAppRequest,
|
|
342
|
+
UninstallAppResponse
|
|
343
|
+
};
|
|
344
|
+
//# sourceMappingURL=schemas.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/apps-v1-app-instance-apps-installer.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const InstallAppRequest = z.object({\n tenant: z\n .object({\n _id: z\n .string()\n .describe(\n 'Tenant ID. For a site, this is the [site ID](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction). For an account this is the [account ID](https://dev.wix.com/docs/rest/account-level/user-management/accounts/accounts/about-accounts).'\n ),\n tenantType: z.enum(['SITE', 'ACCOUNT']).optional(),\n })\n .describe('Tenant details.'),\n options: z.object({\n appInstance: z\n .object({\n _id: z\n .string()\n .describe('App instance 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 appDefId: z\n .string()\n .describe('ID of the app to install.')\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 version: z\n .string()\n .describe(\n \"Version of the app to install.\\n\\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app.\"\n )\n .optional()\n .nullable(),\n enabled: z\n .boolean()\n .describe('Whether the app instance is enabled.')\n .optional(),\n appToken: z\n .string()\n .describe(\n 'A signed access token of the Wix user and the app instance.'\n )\n .optional()\n .nullable(),\n installedDate: z\n .date()\n .describe('Date and time the app instance was installed.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the app instance was last updated.')\n .optional()\n .nullable(),\n })\n .describe(\n 'Details of the app instance to create when the app is installed.'\n ),\n }),\n});\nexport const InstallAppResponse = z.object({\n appInstance: z\n .object({\n _id: z\n .string()\n .describe('App instance 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 appDefId: z\n .string()\n .describe('ID of the app to install.')\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 version: z\n .string()\n .describe(\n \"Version of the app to install.\\n\\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app.\"\n )\n .optional()\n .nullable(),\n enabled: z\n .boolean()\n .describe('Whether the app instance is enabled.')\n .optional(),\n appToken: z\n .string()\n .describe('A signed access token of the Wix user and the app instance.')\n .optional()\n .nullable(),\n installedDate: z\n .date()\n .describe('Date and time the app instance was installed.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the app instance was last updated.')\n .optional()\n .nullable(),\n })\n .describe('The app instance created when the app was installed.')\n .optional(),\n});\nexport const BulkInstallAppRequest = z.object({\n tenant: z\n .object({\n _id: z\n .string()\n .describe(\n 'Tenant ID. For a site, this is the [site ID](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction). For an account this is the [account ID](https://dev.wix.com/docs/rest/account-level/user-management/accounts/accounts/about-accounts).'\n ),\n tenantType: z.enum(['SITE', 'ACCOUNT']).optional(),\n })\n .describe('Tenant details.'),\n options: z\n .object({\n appInstances: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('App instance 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 appDefId: z\n .string()\n .describe('ID of the app to install.')\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 version: z\n .string()\n .describe(\n \"Version of the app to install.\\n\\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app.\"\n )\n .optional()\n .nullable(),\n enabled: z\n .boolean()\n .describe('Whether the app instance is enabled.')\n .optional(),\n appToken: z\n .string()\n .describe(\n 'A signed access token of the Wix user and the app instance.'\n )\n .optional()\n .nullable(),\n installedDate: z\n .date()\n .describe('Date and time the app instance was installed.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the app instance was last updated.')\n .optional()\n .nullable(),\n })\n )\n .max(20)\n .optional(),\n })\n .optional(),\n});\nexport const BulkInstallAppResponse = z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\n )\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe('Metadata about the app installation.')\n .optional(),\n appInstance: z\n .object({\n _id: z\n .string()\n .describe('App instance 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 appDefId: z\n .string()\n .describe('ID of the app to install.')\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 version: z\n .string()\n .describe(\n \"Version of the app to install.\\n\\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app.\"\n )\n .optional()\n .nullable(),\n enabled: z\n .boolean()\n .describe('Whether the app instance is enabled.')\n .optional(),\n appToken: z\n .string()\n .describe(\n 'A signed access token of the Wix user and the app instance.'\n )\n .optional()\n .nullable(),\n installedDate: z\n .date()\n .describe('Date and time the app instance was installed.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the app instance was last updated.')\n .optional()\n .nullable(),\n })\n .describe('Details of the created app instance.')\n .optional(),\n })\n )\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe('Metadata about the bulk installation.')\n .optional(),\n});\nexport const UninstallAppRequest = z.object({\n options: z.object({\n tenant: z\n .object({\n _id: z\n .string()\n .describe(\n 'Tenant ID. For a site, this is the [site ID](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction). For an account this is the [account ID](https://dev.wix.com/docs/rest/account-level/user-management/accounts/accounts/about-accounts).'\n )\n .optional(),\n tenantType: z.enum(['SITE', 'ACCOUNT']).optional(),\n })\n .describe('Tenant details.')\n .optional(),\n appDefId: z\n .string()\n .describe('The ID of the app to install.')\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 }),\n});\nexport const UninstallAppResponse = z.object({});\nexport const BulkUninstallAppRequest = z.object({\n options: z.object({\n tenant: z\n .object({\n _id: z\n .string()\n .describe(\n 'Tenant ID. For a site, this is the [site ID](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction). For an account this is the [account ID](https://dev.wix.com/docs/rest/account-level/user-management/accounts/accounts/about-accounts).'\n )\n .optional(),\n tenantType: z.enum(['SITE', 'ACCOUNT']).optional(),\n })\n .describe('Tenant details.')\n .optional(),\n appDefIds: z.array(z.string()).max(20),\n }),\n});\nexport const BulkUninstallAppResponse = z.object({\n results: z\n .array(\n z.object({\n itemMetadata: z\n .object({\n _id: z\n .string()\n .describe(\n \"Item ID. Should always be available, unless it's impossible (for example, when failing to create an item).\"\n )\n .optional()\n .nullable(),\n originalIndex: z\n .number()\n .int()\n .describe(\n 'Index of the item within the request array. Allows for correlation between request and response items.'\n )\n .optional(),\n success: z\n .boolean()\n .describe(\n 'Whether the requested action was successful for this item. When `false`, the `error` field is populated.'\n )\n .optional(),\n error: z\n .object({\n code: z.string().describe('Error code.').optional(),\n description: z\n .string()\n .describe('Description of the error.')\n .optional(),\n data: z\n .record(z.string(), z.any())\n .describe('Data related to the error.')\n .optional()\n .nullable(),\n })\n .describe('Details about the error in case of failure.')\n .optional(),\n })\n .describe('Metadata about the uninstalled app instance.')\n .optional(),\n appDefId: z\n .string()\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 appInstance: z\n .object({\n _id: z\n .string()\n .describe('App instance 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 appDefId: z\n .string()\n .describe('ID of the app to install.')\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 version: z\n .string()\n .describe(\n \"Version of the app to install.\\n\\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app.\"\n )\n .optional()\n .nullable(),\n enabled: z\n .boolean()\n .describe('Whether the app instance is enabled.')\n .optional(),\n appToken: z\n .string()\n .describe(\n 'A signed access token of the Wix user and the app instance.'\n )\n .optional()\n .nullable(),\n installedDate: z\n .date()\n .describe('Date and time the app instance was installed.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the app instance was last updated.')\n .optional()\n .nullable(),\n })\n .describe('Details of the uninstalled app instance.')\n .optional(),\n })\n )\n .optional(),\n bulkActionMetadata: z\n .object({\n totalSuccesses: z\n .number()\n .int()\n .describe('Number of items that were successfully processed.')\n .optional(),\n totalFailures: z\n .number()\n .int()\n .describe(\"Number of items that couldn't be processed.\")\n .optional(),\n undetailedFailures: z\n .number()\n .int()\n .describe(\n 'Number of failures without details because detailed failure threshold was exceeded.'\n )\n .optional(),\n })\n .describe('Metadata about the bulk uninstallation.')\n .optional(),\n});\nexport const InstallAppFromShareUrlRequest = z.object({\n tenant: z\n .object({\n _id: z\n .string()\n .describe(\n 'Tenant ID. For a site, this is the [site ID](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction). For an account this is the [account ID](https://dev.wix.com/docs/rest/account-level/user-management/accounts/accounts/about-accounts).'\n ),\n tenantType: z.enum(['SITE', 'ACCOUNT']).optional(),\n })\n .describe('Tenant details.'),\n options: z.object({\n shareUrlId: z\n .string()\n .describe(\n 'ID of the share URL to install the app from.\\n\\nTo get the share URL of an app:\\n\\n1. [Generate an install link](https://dev.wix.com/docs/build-apps/develop-your-app/app-dashboard-setup/share-your-app-with-an-install-link).\\n\\n2. Click the link, which will redirect you to a page where you can install the app. The URL of this page is the share URL, and the string after `install/` in the URL is the share URL ID. For example, in the share URL `https://www.wix.com/app-market/install/8d5179a2-6d46-45b0-bcfa-64f479c6a2al`, the share URL ID is `8d5179a2-6d46-45b0-bcfa-64f479c6a2al`.'\n )\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 devVersion: z\n .object({\n overrideId: z\n .string()\n .describe('ID of the override to assign to the development version.')\n .max(50)\n .optional(),\n })\n .describe(\n 'Information about the development version of the app to install. Only relevant if the share URL refers to a development version of an app created in the Wix CLI.'\n )\n .optional(),\n }),\n});\nexport const InstallAppFromShareUrlResponse = z.object({\n appInstance: z\n .object({\n _id: z\n .string()\n .describe('App instance 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 appDefId: z\n .string()\n .describe('ID of the app to install.')\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 version: z\n .string()\n .describe(\n \"Version of the app to install.\\n\\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app.\"\n )\n .optional()\n .nullable(),\n enabled: z\n .boolean()\n .describe('Whether the app instance is enabled.')\n .optional(),\n appToken: z\n .string()\n .describe('A signed access token of the Wix user and the app instance.')\n .optional()\n .nullable(),\n installedDate: z\n .date()\n .describe('Date and time the app instance was installed.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the app instance was last updated.')\n .optional()\n .nullable(),\n })\n .describe('App instance created when the app was installed.')\n .optional(),\n});\nexport const IsPermittedToInstallAppsRequest = z.object({\n installType: z.enum(['APPS_INSTALL', 'SHARE_URL_INSTALL']),\n options: z.intersection(\n z.object({}),\n z.xor([\n z.object({\n shareUrlInstallOptions: z.never().optional(),\n appsInstallOptions: z\n .object({\n tenant: z\n .object({\n _id: z\n .string()\n .describe(\n 'Tenant ID. For a site, this is the [site ID](https://dev.wix.com/docs/rest/account-level/sites/sites/introduction). For an account this is the [account ID](https://dev.wix.com/docs/rest/account-level/user-management/accounts/accounts/about-accounts).'\n )\n .optional(),\n tenantType: z.enum(['SITE', 'ACCOUNT']).optional(),\n })\n .describe('Tenant details.')\n .optional(),\n appInstances: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('App instance 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 appDefId: z\n .string()\n .describe('ID of the app to install.')\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 version: z\n .string()\n .describe(\n \"Version of the app to install.\\n\\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app.\"\n )\n .optional()\n .nullable(),\n enabled: z\n .boolean()\n .describe('Whether the app instance is enabled.')\n .optional(),\n appToken: z\n .string()\n .describe(\n 'A signed access token of the Wix user and the app instance.'\n )\n .optional()\n .nullable(),\n installedDate: z\n .date()\n .describe('Date and time the app instance was installed.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe(\n 'Date and time the app instance was last updated.'\n )\n .optional()\n .nullable(),\n })\n )\n .min(1)\n .max(30)\n .optional(),\n })\n .describe('Install the app using app instance details.'),\n }),\n z.object({\n appsInstallOptions: z.never().optional(),\n shareUrlInstallOptions: z\n .object({\n shareUrlId: z\n .string()\n .describe('ID of the share URL to install the app from.')\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 })\n .describe('Install an app using a share URL.'),\n }),\n ])\n ),\n});\nexport const IsPermittedToInstallAppsResponse = z.object({\n permitted: z\n .boolean()\n .describe('Whether the installation is permitted.')\n .optional(),\n});\nexport const GetInstalledAppsRequest = z.object({});\nexport const GetInstalledAppsResponse = z.object({\n appInstances: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('App instance 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 appDefId: z\n .string()\n .describe('ID of the app to install.')\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 version: z\n .string()\n .describe(\n \"Version of the app to install.\\n\\nIf you don't specify a version, the latest version of the app will be installed. Don't specify a version unless you want to install an older version of the app.\"\n )\n .optional()\n .nullable(),\n enabled: z\n .boolean()\n .describe('Whether the app instance is enabled.')\n .optional(),\n appToken: z\n .string()\n .describe(\n 'A signed access token of the Wix user and the app instance.'\n )\n .optional()\n .nullable(),\n installedDate: z\n .date()\n .describe('Date and time the app instance was installed.')\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the app instance was last updated.')\n .optional()\n .nullable(),\n })\n )\n .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,oBAAsB,SAAO;AAAA,EACxC,QACG,SAAO;AAAA,IACN,KACG,SAAO,EACP;AAAA,MACC;AAAA,IACF;AAAA,IACF,YAAc,OAAK,CAAC,QAAQ,SAAS,CAAC,EAAE,SAAS;AAAA,EACnD,CAAC,EACA,SAAS,iBAAiB;AAAA,EAC7B,SAAW,SAAO;AAAA,IAChB,aACG,SAAO;AAAA,MACN,KACG,SAAO,EACP,SAAS,kBAAkB,EAC3B;AAAA,QACC;AAAA,QACA;AAAA,MACF,EACC,SAAS;AAAA,MACZ,UACG,SAAO,EACP,SAAS,2BAA2B,EACpC;AAAA,QACC;AAAA,QACA;AAAA,MACF;AAAA,MACF,SACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,SAAS,EACT,SAAS;AAAA,MACZ,SACG,UAAQ,EACR,SAAS,sCAAsC,EAC/C,SAAS;AAAA,MACZ,UACG,SAAO,EACP;AAAA,QACC;AAAA,MACF,EACC,SAAS,EACT,SAAS;AAAA,MACZ,eACG,OAAK,EACL,SAAS,+CAA+C,EACxD,SAAS,EACT,SAAS;AAAA,MACZ,cACG,OAAK,EACL,SAAS,kDAAkD,E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