@wix/auto_sdk_data-extension-schema_schemas 1.0.271 → 1.0.274
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/index.d.ts +1 -1
- package/build/cjs/index.js +43 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +123 -1
- package/build/cjs/index.typings.js +37 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +123 -1
- package/build/cjs/meta.js +37 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +10 -10
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +41 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +123 -1
- package/build/es/index.typings.mjs +35 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +123 -1
- package/build/es/meta.mjs +35 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +10 -10
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +43 -6
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +123 -1
- package/build/internal/cjs/index.typings.js +37 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +123 -1
- package/build/internal/cjs/meta.js +37 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +10 -10
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +41 -6
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +123 -1
- package/build/internal/es/index.typings.mjs +35 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +123 -1
- package/build/internal/es/meta.mjs +35 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +10 -10
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/data-extensions-v1-data-extension-schema-schemas.schemas.ts
|
|
2
2
|
import * as z from "zod";
|
|
3
|
-
var CreateDataExtensionSchemaRequest = z.object({
|
|
3
|
+
var CreateDataExtensionSchemaRequest = /* @__PURE__ */ z.object({
|
|
4
4
|
dataExtensionSchema: z.object({
|
|
5
5
|
_id: z.string().describe("Schema ID.").regex(
|
|
6
6
|
/^[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,7 +24,7 @@ var CreateDataExtensionSchemaRequest = z.object({
|
|
|
24
24
|
currentSizeBytes: z.number().int().describe("Current schema size in bytes.").optional().nullable()
|
|
25
25
|
}).describe("Schema to create.")
|
|
26
26
|
});
|
|
27
|
-
var CreateDataExtensionSchemaResponse = z.object({
|
|
27
|
+
var CreateDataExtensionSchemaResponse = /* @__PURE__ */ z.object({
|
|
28
28
|
_id: z.string().describe("Schema ID.").regex(
|
|
29
29
|
/^[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}$/,
|
|
30
30
|
"Must be a valid GUID"
|
|
@@ -46,7 +46,7 @@ var CreateDataExtensionSchemaResponse = z.object({
|
|
|
46
46
|
maxLimitBytes: z.number().int().describe("Maximum allowed schema size in bytes.").optional().nullable(),
|
|
47
47
|
currentSizeBytes: z.number().int().describe("Current schema size in bytes.").optional().nullable()
|
|
48
48
|
});
|
|
49
|
-
var UpdateDataExtensionSchemaRequest = z.object({
|
|
49
|
+
var UpdateDataExtensionSchemaRequest = /* @__PURE__ */ z.object({
|
|
50
50
|
dataExtensionSchema: z.object({
|
|
51
51
|
_id: z.string().describe("Schema ID.").regex(
|
|
52
52
|
/^[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}$/,
|
|
@@ -70,7 +70,7 @@ var UpdateDataExtensionSchemaRequest = z.object({
|
|
|
70
70
|
currentSizeBytes: z.number().int().describe("Current schema size in bytes.").optional().nullable()
|
|
71
71
|
}).describe("Schema to update.")
|
|
72
72
|
});
|
|
73
|
-
var UpdateDataExtensionSchemaResponse = z.object({
|
|
73
|
+
var UpdateDataExtensionSchemaResponse = /* @__PURE__ */ z.object({
|
|
74
74
|
dataExtensionSchema: z.object({
|
|
75
75
|
_id: z.string().describe("Schema ID.").regex(
|
|
76
76
|
/^[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}$/,
|
|
@@ -94,7 +94,7 @@ var UpdateDataExtensionSchemaResponse = z.object({
|
|
|
94
94
|
currentSizeBytes: z.number().int().describe("Current schema size in bytes.").optional().nullable()
|
|
95
95
|
}).describe("Updated schema.").optional()
|
|
96
96
|
});
|
|
97
|
-
var ListDataExtensionSchemasRequest = z.object({
|
|
97
|
+
var ListDataExtensionSchemasRequest = /* @__PURE__ */ z.object({
|
|
98
98
|
fqdn: z.string().describe(
|
|
99
99
|
"[Fully qualified domain name](https://dev.wix.com/docs/rest/articles/getting-started/fqdns)."
|
|
100
100
|
).max(255),
|
|
@@ -104,7 +104,7 @@ var ListDataExtensionSchemasRequest = z.object({
|
|
|
104
104
|
extensionPoints: z.array(z.string()).max(20).optional()
|
|
105
105
|
}).optional()
|
|
106
106
|
});
|
|
107
|
-
var ListDataExtensionSchemasResponse = z.object({
|
|
107
|
+
var ListDataExtensionSchemasResponse = /* @__PURE__ */ z.object({
|
|
108
108
|
dataExtensionSchemas: z.array(
|
|
109
109
|
z.object({
|
|
110
110
|
_id: z.string().describe("Schema ID.").regex(
|
|
@@ -130,23 +130,23 @@ var ListDataExtensionSchemasResponse = z.object({
|
|
|
130
130
|
})
|
|
131
131
|
).optional()
|
|
132
132
|
});
|
|
133
|
-
var DeleteByWhiteListedMetaSiteRequest = z.object({
|
|
133
|
+
var DeleteByWhiteListedMetaSiteRequest = /* @__PURE__ */ z.object({
|
|
134
134
|
metaSiteId: z.string().describe("Meta site id").regex(
|
|
135
135
|
/^[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}$/,
|
|
136
136
|
"Must be a valid GUID"
|
|
137
137
|
)
|
|
138
138
|
});
|
|
139
|
-
var DeleteByWhiteListedMetaSiteResponse = z.object({
|
|
139
|
+
var DeleteByWhiteListedMetaSiteResponse = /* @__PURE__ */ z.object({
|
|
140
140
|
hasMore: z.boolean().describe("has more").optional()
|
|
141
141
|
});
|
|
142
|
-
var DeleteUserDefinedFieldsRequest = z.object({
|
|
142
|
+
var DeleteUserDefinedFieldsRequest = /* @__PURE__ */ z.object({
|
|
143
143
|
dataExtensionSchemaId: z.string().describe("Schema ID.").regex(
|
|
144
144
|
/^[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}$/,
|
|
145
145
|
"Must be a valid GUID"
|
|
146
146
|
),
|
|
147
147
|
options: z.object({ fieldsToDelete: z.array(z.string()).min(1).max(10) })
|
|
148
148
|
});
|
|
149
|
-
var DeleteUserDefinedFieldsResponse = z.object({
|
|
149
|
+
var DeleteUserDefinedFieldsResponse = /* @__PURE__ */ z.object({
|
|
150
150
|
dataExtensionSchema: z.object({
|
|
151
151
|
_id: z.string().describe("Schema ID.").regex(
|
|
152
152
|
/^[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}$/,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/data-extensions-v1-data-extension-schema-schemas.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const CreateDataExtensionSchemaRequest = z.object({\n dataExtensionSchema: z\n .object({\n _id: z\n .string()\n .describe('Schema 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 .nullable(),\n fqdn: z\n .string()\n .describe(\n 'FQDN of the entity this schema extends. Use a wildcard (`*`) in place of the version number, for example `wix.ecom.*.order`. See [Supported objects](https://dev.wix.com/docs/api-reference/business-management/data-extension-schema/introduction#supported-objects) for valid FQDNs.'\n )\n .max(255),\n namespace: z\n .string()\n .describe(\n 'Namespace for this schema. For example, an app creating schemas might use their app name as a namespace.\\nWhen a site owner creates a user-defined schema, the namespace is: `_user_fields`.'\n )\n .max(164),\n jsonSchema: z\n .record(z.string(), z.any())\n .describe(\n 'Schema definition in [JSON schema format](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/the-json-schema) with the following [vocab](https://docs.json-everything.net/schema/vocabs/) extension:\\n```\\n{\\n\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\\n\"$id\": \"https://wixapis.com/v1/json-schema/extensions\",\\n\"$vocabulary\": {\\n\"https://wixapis.com/v1/json-schema/extensions/vocab/data-extensions\": true\\n},\\n\"$dynamicAnchor\": \"meta\",\\n\"title\": \"Wix\\' data-extensions vocabulary meta schema\",\\n\"type\": [\\n\"object\",\\n\"boolean\"\\n],\\n\"properties\": {\\n\"x-wix-permissions\": {\\n\"type\": \"object\",\\n\"description\": \"list of identity types that are allowed reading schema properties\",\\n\"properties\": {\\n\"read\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n},\\n\"write\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n}\\n}\\n},\\n\"x-wix-display\": {\\n\"type\": \"object\",\\n\"description\": \"field display properties\",\\n\"schema\": {\\n\"properties\": {\\n\"placeholder\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"placeholder text for input fields\"\\n},\\n\"label\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"label of the input fields\"\\n},\\n\"hint\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"a short explanation that appears next to the input field\"\\n}\\n}\\n}\\n}\\n}\\n}\\n```'\n ),\n _updatedDate: z\n .date()\n .describe('Date and time the schema was last updated.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the schema was created.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing revision must be used when updating a schema.'\n )\n .optional()\n .nullable(),\n maxLimitBytes: z\n .number()\n .int()\n .describe('Maximum allowed schema size in bytes.')\n .optional()\n .nullable(),\n currentSizeBytes: z\n .number()\n .int()\n .describe('Current schema size in bytes.')\n .optional()\n .nullable(),\n })\n .describe('Schema to create.'),\n});\nexport const CreateDataExtensionSchemaResponse = z.object({\n _id: z\n .string()\n .describe('Schema 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 .nullable(),\n fqdn: z\n .string()\n .describe(\n 'FQDN of the entity this schema extends. Use a wildcard (`*`) in place of the version number, for example `wix.ecom.*.order`. See [Supported objects](https://dev.wix.com/docs/api-reference/business-management/data-extension-schema/introduction#supported-objects) for valid FQDNs.'\n )\n .max(255)\n .optional()\n .nullable(),\n namespace: z\n .string()\n .describe(\n 'Namespace for this schema. For example, an app creating schemas might use their app name as a namespace.\\nWhen a site owner creates a user-defined schema, the namespace is: `_user_fields`.'\n )\n .max(164)\n .optional()\n .nullable(),\n jsonSchema: z\n .record(z.string(), z.any())\n .describe(\n 'Schema definition in [JSON schema format](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/the-json-schema) with the following [vocab](https://docs.json-everything.net/schema/vocabs/) extension:\\n```\\n{\\n\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\\n\"$id\": \"https://wixapis.com/v1/json-schema/extensions\",\\n\"$vocabulary\": {\\n\"https://wixapis.com/v1/json-schema/extensions/vocab/data-extensions\": true\\n},\\n\"$dynamicAnchor\": \"meta\",\\n\"title\": \"Wix\\' data-extensions vocabulary meta schema\",\\n\"type\": [\\n\"object\",\\n\"boolean\"\\n],\\n\"properties\": {\\n\"x-wix-permissions\": {\\n\"type\": \"object\",\\n\"description\": \"list of identity types that are allowed reading schema properties\",\\n\"properties\": {\\n\"read\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n},\\n\"write\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n}\\n}\\n},\\n\"x-wix-display\": {\\n\"type\": \"object\",\\n\"description\": \"field display properties\",\\n\"schema\": {\\n\"properties\": {\\n\"placeholder\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"placeholder text for input fields\"\\n},\\n\"label\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"label of the input fields\"\\n},\\n\"hint\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"a short explanation that appears next to the input field\"\\n}\\n}\\n}\\n}\\n}\\n}\\n```'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the schema was last updated.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the schema was created.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing revision must be used when updating a schema.'\n )\n .optional()\n .nullable(),\n maxLimitBytes: z\n .number()\n .int()\n .describe('Maximum allowed schema size in bytes.')\n .optional()\n .nullable(),\n currentSizeBytes: z\n .number()\n .int()\n .describe('Current schema size in bytes.')\n .optional()\n .nullable(),\n});\nexport const UpdateDataExtensionSchemaRequest = z.object({\n dataExtensionSchema: z\n .object({\n _id: z\n .string()\n .describe('Schema 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 fqdn: z\n .string()\n .describe(\n 'FQDN of the entity this schema extends. Use a wildcard (`*`) in place of the version number, for example `wix.ecom.*.order`. See [Supported objects](https://dev.wix.com/docs/api-reference/business-management/data-extension-schema/introduction#supported-objects) for valid FQDNs.'\n )\n .max(255)\n .optional()\n .nullable(),\n namespace: z\n .string()\n .describe(\n 'Namespace for this schema. For example, an app creating schemas might use their app name as a namespace.\\nWhen a site owner creates a user-defined schema, the namespace is: `_user_fields`.'\n )\n .max(164)\n .optional()\n .nullable(),\n jsonSchema: z\n .record(z.string(), z.any())\n .describe(\n 'Schema definition in [JSON schema format](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/the-json-schema) with the following [vocab](https://docs.json-everything.net/schema/vocabs/) extension:\\n```\\n{\\n\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\\n\"$id\": \"https://wixapis.com/v1/json-schema/extensions\",\\n\"$vocabulary\": {\\n\"https://wixapis.com/v1/json-schema/extensions/vocab/data-extensions\": true\\n},\\n\"$dynamicAnchor\": \"meta\",\\n\"title\": \"Wix\\' data-extensions vocabulary meta schema\",\\n\"type\": [\\n\"object\",\\n\"boolean\"\\n],\\n\"properties\": {\\n\"x-wix-permissions\": {\\n\"type\": \"object\",\\n\"description\": \"list of identity types that are allowed reading schema properties\",\\n\"properties\": {\\n\"read\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n},\\n\"write\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n}\\n}\\n},\\n\"x-wix-display\": {\\n\"type\": \"object\",\\n\"description\": \"field display properties\",\\n\"schema\": {\\n\"properties\": {\\n\"placeholder\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"placeholder text for input fields\"\\n},\\n\"label\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"label of the input fields\"\\n},\\n\"hint\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"a short explanation that appears next to the input field\"\\n}\\n}\\n}\\n}\\n}\\n}\\n```'\n ),\n _updatedDate: z\n .date()\n .describe('Date and time the schema was last updated.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the schema was created.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing revision must be used when updating a schema.'\n ),\n maxLimitBytes: z\n .number()\n .int()\n .describe('Maximum allowed schema size in bytes.')\n .optional()\n .nullable(),\n currentSizeBytes: z\n .number()\n .int()\n .describe('Current schema size in bytes.')\n .optional()\n .nullable(),\n })\n .describe('Schema to update.'),\n});\nexport const UpdateDataExtensionSchemaResponse = z.object({\n dataExtensionSchema: z\n .object({\n _id: z\n .string()\n .describe('Schema 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 .nullable(),\n fqdn: z\n .string()\n .describe(\n 'FQDN of the entity this schema extends. Use a wildcard (`*`) in place of the version number, for example `wix.ecom.*.order`. See [Supported objects](https://dev.wix.com/docs/api-reference/business-management/data-extension-schema/introduction#supported-objects) for valid FQDNs.'\n )\n .max(255)\n .optional()\n .nullable(),\n namespace: z\n .string()\n .describe(\n 'Namespace for this schema. For example, an app creating schemas might use their app name as a namespace.\\nWhen a site owner creates a user-defined schema, the namespace is: `_user_fields`.'\n )\n .max(164)\n .optional()\n .nullable(),\n jsonSchema: z\n .record(z.string(), z.any())\n .describe(\n 'Schema definition in [JSON schema format](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/the-json-schema) with the following [vocab](https://docs.json-everything.net/schema/vocabs/) extension:\\n```\\n{\\n\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\\n\"$id\": \"https://wixapis.com/v1/json-schema/extensions\",\\n\"$vocabulary\": {\\n\"https://wixapis.com/v1/json-schema/extensions/vocab/data-extensions\": true\\n},\\n\"$dynamicAnchor\": \"meta\",\\n\"title\": \"Wix\\' data-extensions vocabulary meta schema\",\\n\"type\": [\\n\"object\",\\n\"boolean\"\\n],\\n\"properties\": {\\n\"x-wix-permissions\": {\\n\"type\": \"object\",\\n\"description\": \"list of identity types that are allowed reading schema properties\",\\n\"properties\": {\\n\"read\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n},\\n\"write\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n}\\n}\\n},\\n\"x-wix-display\": {\\n\"type\": \"object\",\\n\"description\": \"field display properties\",\\n\"schema\": {\\n\"properties\": {\\n\"placeholder\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"placeholder text for input fields\"\\n},\\n\"label\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"label of the input fields\"\\n},\\n\"hint\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"a short explanation that appears next to the input field\"\\n}\\n}\\n}\\n}\\n}\\n}\\n```'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the schema was last updated.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the schema was created.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing revision must be used when updating a schema.'\n )\n .optional()\n .nullable(),\n maxLimitBytes: z\n .number()\n .int()\n .describe('Maximum allowed schema size in bytes.')\n .optional()\n .nullable(),\n currentSizeBytes: z\n .number()\n .int()\n .describe('Current schema size in bytes.')\n .optional()\n .nullable(),\n })\n .describe('Updated schema.')\n .optional(),\n});\nexport const ListDataExtensionSchemasRequest = z.object({\n fqdn: z\n .string()\n .describe(\n '[Fully qualified domain name](https://dev.wix.com/docs/rest/articles/getting-started/fqdns).'\n )\n .max(255),\n options: z\n .object({\n namespaces: z.array(z.string()).max(100).optional(),\n fields: z\n .array(z.enum(['UNKNOWN_REQUESTED_FIELD', 'ARCHIVED']))\n .max(5)\n .optional(),\n extensionPoints: z.array(z.string()).max(20).optional(),\n })\n .optional(),\n});\nexport const ListDataExtensionSchemasResponse = z.object({\n dataExtensionSchemas: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Schema 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 .nullable(),\n fqdn: z\n .string()\n .describe(\n 'FQDN of the entity this schema extends. Use a wildcard (`*`) in place of the version number, for example `wix.ecom.*.order`. See [Supported objects](https://dev.wix.com/docs/api-reference/business-management/data-extension-schema/introduction#supported-objects) for valid FQDNs.'\n )\n .max(255)\n .optional()\n .nullable(),\n namespace: z\n .string()\n .describe(\n 'Namespace for this schema. For example, an app creating schemas might use their app name as a namespace.\\nWhen a site owner creates a user-defined schema, the namespace is: `_user_fields`.'\n )\n .max(164)\n .optional()\n .nullable(),\n jsonSchema: z\n .record(z.string(), z.any())\n .describe(\n 'Schema definition in [JSON schema format](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/the-json-schema) with the following [vocab](https://docs.json-everything.net/schema/vocabs/) extension:\\n```\\n{\\n\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\\n\"$id\": \"https://wixapis.com/v1/json-schema/extensions\",\\n\"$vocabulary\": {\\n\"https://wixapis.com/v1/json-schema/extensions/vocab/data-extensions\": true\\n},\\n\"$dynamicAnchor\": \"meta\",\\n\"title\": \"Wix\\' data-extensions vocabulary meta schema\",\\n\"type\": [\\n\"object\",\\n\"boolean\"\\n],\\n\"properties\": {\\n\"x-wix-permissions\": {\\n\"type\": \"object\",\\n\"description\": \"list of identity types that are allowed reading schema properties\",\\n\"properties\": {\\n\"read\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n},\\n\"write\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n}\\n}\\n},\\n\"x-wix-display\": {\\n\"type\": \"object\",\\n\"description\": \"field display properties\",\\n\"schema\": {\\n\"properties\": {\\n\"placeholder\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"placeholder text for input fields\"\\n},\\n\"label\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"label of the input fields\"\\n},\\n\"hint\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"a short explanation that appears next to the input field\"\\n}\\n}\\n}\\n}\\n}\\n}\\n```'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the schema was last updated.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the schema was created.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing revision must be used when updating a schema.'\n )\n .optional()\n .nullable(),\n maxLimitBytes: z\n .number()\n .int()\n .describe('Maximum allowed schema size in bytes.')\n .optional()\n .nullable(),\n currentSizeBytes: z\n .number()\n .int()\n .describe('Current schema size in bytes.')\n .optional()\n .nullable(),\n })\n )\n .optional(),\n});\nexport const DeleteByWhiteListedMetaSiteRequest = z.object({\n metaSiteId: z\n .string()\n .describe('Meta site 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});\nexport const DeleteByWhiteListedMetaSiteResponse = z.object({\n hasMore: z.boolean().describe('has more').optional(),\n});\nexport const DeleteUserDefinedFieldsRequest = z.object({\n dataExtensionSchemaId: z\n .string()\n .describe('Schema 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 options: z.object({ fieldsToDelete: z.array(z.string()).min(1).max(10) }),\n});\nexport const DeleteUserDefinedFieldsResponse = z.object({\n dataExtensionSchema: z\n .object({\n _id: z\n .string()\n .describe('Schema 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 .nullable(),\n fqdn: z\n .string()\n .describe(\n 'FQDN of the entity this schema extends. Use a wildcard (`*`) in place of the version number, for example `wix.ecom.*.order`. See [Supported objects](https://dev.wix.com/docs/api-reference/business-management/data-extension-schema/introduction#supported-objects) for valid FQDNs.'\n )\n .max(255)\n .optional()\n .nullable(),\n namespace: z\n .string()\n .describe(\n 'Namespace for this schema. For example, an app creating schemas might use their app name as a namespace.\\nWhen a site owner creates a user-defined schema, the namespace is: `_user_fields`.'\n )\n .max(164)\n .optional()\n .nullable(),\n jsonSchema: z\n .record(z.string(), z.any())\n .describe(\n 'Schema definition in [JSON schema format](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/the-json-schema) with the following [vocab](https://docs.json-everything.net/schema/vocabs/) extension:\\n```\\n{\\n\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\\n\"$id\": \"https://wixapis.com/v1/json-schema/extensions\",\\n\"$vocabulary\": {\\n\"https://wixapis.com/v1/json-schema/extensions/vocab/data-extensions\": true\\n},\\n\"$dynamicAnchor\": \"meta\",\\n\"title\": \"Wix\\' data-extensions vocabulary meta schema\",\\n\"type\": [\\n\"object\",\\n\"boolean\"\\n],\\n\"properties\": {\\n\"x-wix-permissions\": {\\n\"type\": \"object\",\\n\"description\": \"list of identity types that are allowed reading schema properties\",\\n\"properties\": {\\n\"read\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n},\\n\"write\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n}\\n}\\n},\\n\"x-wix-display\": {\\n\"type\": \"object\",\\n\"description\": \"field display properties\",\\n\"schema\": {\\n\"properties\": {\\n\"placeholder\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"placeholder text for input fields\"\\n},\\n\"label\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"label of the input fields\"\\n},\\n\"hint\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"a short explanation that appears next to the input field\"\\n}\\n}\\n}\\n}\\n}\\n}\\n```'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the schema was last updated.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the schema was created.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing revision must be used when updating a schema.'\n )\n .optional()\n .nullable(),\n maxLimitBytes: z\n .number()\n .int()\n .describe('Maximum allowed schema size in bytes.')\n .optional()\n .nullable(),\n currentSizeBytes: z\n .number()\n .int()\n .describe('Current schema size in bytes.')\n .optional()\n .nullable(),\n })\n .describe('Updated schema.')\n .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,mCAAqC,SAAO;AAAA,EACvD,qBACG,SAAO;AAAA,IACN,KACG,SAAO,EACP,SAAS,YAAY,EACrB;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,MACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAG;AAAA,IACV,WACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAG;AAAA,IACV,YACG,SAAS,SAAO,GAAK,MAAI,CAAC,EAC1B;AAAA,MACC;AAAA,IACF;AAAA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,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,cACG,OAAK,EACL,SAAS,4CAA4C,EACrD,SAAS,EACT,SAAS;AAAA,IACZ,cACG,OAAK,EACL,SAAS,uCAAuC,EAChD,SAAS,EACT,SAAS;AAAA,IACZ,UACG,SAAO,EACP,MAAM,WAAW,8BAA8B,EAC/C;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,eACG,SAAO,EACP,IAAI,EACJ,SAAS,uCAAuC,EAChD,SAAS,EACT,SAAS;AAAA,IACZ,kBACG,SAAO,EACP,IAAI,EACJ,SAAS,+BAA+B,EACxC,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA,SAAS,iBAAiB,EAC1B,SAAS;AACd,CAAC;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../../src/data-extensions-v1-data-extension-schema-schemas.schemas.ts"],"sourcesContent":["import * as z from 'zod';\n\nexport const CreateDataExtensionSchemaRequest = /*#__PURE__*/ z.object({\n dataExtensionSchema: z\n .object({\n _id: z\n .string()\n .describe('Schema 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 .nullable(),\n fqdn: z\n .string()\n .describe(\n 'FQDN of the entity this schema extends. Use a wildcard (`*`) in place of the version number, for example `wix.ecom.*.order`. See [Supported objects](https://dev.wix.com/docs/api-reference/business-management/data-extension-schema/introduction#supported-objects) for valid FQDNs.'\n )\n .max(255),\n namespace: z\n .string()\n .describe(\n 'Namespace for this schema. For example, an app creating schemas might use their app name as a namespace.\\nWhen a site owner creates a user-defined schema, the namespace is: `_user_fields`.'\n )\n .max(164),\n jsonSchema: z\n .record(z.string(), z.any())\n .describe(\n 'Schema definition in [JSON schema format](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/the-json-schema) with the following [vocab](https://docs.json-everything.net/schema/vocabs/) extension:\\n```\\n{\\n\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\\n\"$id\": \"https://wixapis.com/v1/json-schema/extensions\",\\n\"$vocabulary\": {\\n\"https://wixapis.com/v1/json-schema/extensions/vocab/data-extensions\": true\\n},\\n\"$dynamicAnchor\": \"meta\",\\n\"title\": \"Wix\\' data-extensions vocabulary meta schema\",\\n\"type\": [\\n\"object\",\\n\"boolean\"\\n],\\n\"properties\": {\\n\"x-wix-permissions\": {\\n\"type\": \"object\",\\n\"description\": \"list of identity types that are allowed reading schema properties\",\\n\"properties\": {\\n\"read\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n},\\n\"write\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n}\\n}\\n},\\n\"x-wix-display\": {\\n\"type\": \"object\",\\n\"description\": \"field display properties\",\\n\"schema\": {\\n\"properties\": {\\n\"placeholder\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"placeholder text for input fields\"\\n},\\n\"label\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"label of the input fields\"\\n},\\n\"hint\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"a short explanation that appears next to the input field\"\\n}\\n}\\n}\\n}\\n}\\n}\\n```'\n ),\n _updatedDate: z\n .date()\n .describe('Date and time the schema was last updated.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the schema was created.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing revision must be used when updating a schema.'\n )\n .optional()\n .nullable(),\n maxLimitBytes: z\n .number()\n .int()\n .describe('Maximum allowed schema size in bytes.')\n .optional()\n .nullable(),\n currentSizeBytes: z\n .number()\n .int()\n .describe('Current schema size in bytes.')\n .optional()\n .nullable(),\n })\n .describe('Schema to create.'),\n});\nexport const CreateDataExtensionSchemaResponse = /*#__PURE__*/ z.object({\n _id: z\n .string()\n .describe('Schema 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 .nullable(),\n fqdn: z\n .string()\n .describe(\n 'FQDN of the entity this schema extends. Use a wildcard (`*`) in place of the version number, for example `wix.ecom.*.order`. See [Supported objects](https://dev.wix.com/docs/api-reference/business-management/data-extension-schema/introduction#supported-objects) for valid FQDNs.'\n )\n .max(255)\n .optional()\n .nullable(),\n namespace: z\n .string()\n .describe(\n 'Namespace for this schema. For example, an app creating schemas might use their app name as a namespace.\\nWhen a site owner creates a user-defined schema, the namespace is: `_user_fields`.'\n )\n .max(164)\n .optional()\n .nullable(),\n jsonSchema: z\n .record(z.string(), z.any())\n .describe(\n 'Schema definition in [JSON schema format](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/the-json-schema) with the following [vocab](https://docs.json-everything.net/schema/vocabs/) extension:\\n```\\n{\\n\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\\n\"$id\": \"https://wixapis.com/v1/json-schema/extensions\",\\n\"$vocabulary\": {\\n\"https://wixapis.com/v1/json-schema/extensions/vocab/data-extensions\": true\\n},\\n\"$dynamicAnchor\": \"meta\",\\n\"title\": \"Wix\\' data-extensions vocabulary meta schema\",\\n\"type\": [\\n\"object\",\\n\"boolean\"\\n],\\n\"properties\": {\\n\"x-wix-permissions\": {\\n\"type\": \"object\",\\n\"description\": \"list of identity types that are allowed reading schema properties\",\\n\"properties\": {\\n\"read\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n},\\n\"write\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n}\\n}\\n},\\n\"x-wix-display\": {\\n\"type\": \"object\",\\n\"description\": \"field display properties\",\\n\"schema\": {\\n\"properties\": {\\n\"placeholder\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"placeholder text for input fields\"\\n},\\n\"label\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"label of the input fields\"\\n},\\n\"hint\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"a short explanation that appears next to the input field\"\\n}\\n}\\n}\\n}\\n}\\n}\\n```'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the schema was last updated.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the schema was created.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing revision must be used when updating a schema.'\n )\n .optional()\n .nullable(),\n maxLimitBytes: z\n .number()\n .int()\n .describe('Maximum allowed schema size in bytes.')\n .optional()\n .nullable(),\n currentSizeBytes: z\n .number()\n .int()\n .describe('Current schema size in bytes.')\n .optional()\n .nullable(),\n});\nexport const UpdateDataExtensionSchemaRequest = /*#__PURE__*/ z.object({\n dataExtensionSchema: z\n .object({\n _id: z\n .string()\n .describe('Schema 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 fqdn: z\n .string()\n .describe(\n 'FQDN of the entity this schema extends. Use a wildcard (`*`) in place of the version number, for example `wix.ecom.*.order`. See [Supported objects](https://dev.wix.com/docs/api-reference/business-management/data-extension-schema/introduction#supported-objects) for valid FQDNs.'\n )\n .max(255)\n .optional()\n .nullable(),\n namespace: z\n .string()\n .describe(\n 'Namespace for this schema. For example, an app creating schemas might use their app name as a namespace.\\nWhen a site owner creates a user-defined schema, the namespace is: `_user_fields`.'\n )\n .max(164)\n .optional()\n .nullable(),\n jsonSchema: z\n .record(z.string(), z.any())\n .describe(\n 'Schema definition in [JSON schema format](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/the-json-schema) with the following [vocab](https://docs.json-everything.net/schema/vocabs/) extension:\\n```\\n{\\n\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\\n\"$id\": \"https://wixapis.com/v1/json-schema/extensions\",\\n\"$vocabulary\": {\\n\"https://wixapis.com/v1/json-schema/extensions/vocab/data-extensions\": true\\n},\\n\"$dynamicAnchor\": \"meta\",\\n\"title\": \"Wix\\' data-extensions vocabulary meta schema\",\\n\"type\": [\\n\"object\",\\n\"boolean\"\\n],\\n\"properties\": {\\n\"x-wix-permissions\": {\\n\"type\": \"object\",\\n\"description\": \"list of identity types that are allowed reading schema properties\",\\n\"properties\": {\\n\"read\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n},\\n\"write\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n}\\n}\\n},\\n\"x-wix-display\": {\\n\"type\": \"object\",\\n\"description\": \"field display properties\",\\n\"schema\": {\\n\"properties\": {\\n\"placeholder\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"placeholder text for input fields\"\\n},\\n\"label\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"label of the input fields\"\\n},\\n\"hint\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"a short explanation that appears next to the input field\"\\n}\\n}\\n}\\n}\\n}\\n}\\n```'\n ),\n _updatedDate: z\n .date()\n .describe('Date and time the schema was last updated.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the schema was created.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing revision must be used when updating a schema.'\n ),\n maxLimitBytes: z\n .number()\n .int()\n .describe('Maximum allowed schema size in bytes.')\n .optional()\n .nullable(),\n currentSizeBytes: z\n .number()\n .int()\n .describe('Current schema size in bytes.')\n .optional()\n .nullable(),\n })\n .describe('Schema to update.'),\n});\nexport const UpdateDataExtensionSchemaResponse = /*#__PURE__*/ z.object({\n dataExtensionSchema: z\n .object({\n _id: z\n .string()\n .describe('Schema 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 .nullable(),\n fqdn: z\n .string()\n .describe(\n 'FQDN of the entity this schema extends. Use a wildcard (`*`) in place of the version number, for example `wix.ecom.*.order`. See [Supported objects](https://dev.wix.com/docs/api-reference/business-management/data-extension-schema/introduction#supported-objects) for valid FQDNs.'\n )\n .max(255)\n .optional()\n .nullable(),\n namespace: z\n .string()\n .describe(\n 'Namespace for this schema. For example, an app creating schemas might use their app name as a namespace.\\nWhen a site owner creates a user-defined schema, the namespace is: `_user_fields`.'\n )\n .max(164)\n .optional()\n .nullable(),\n jsonSchema: z\n .record(z.string(), z.any())\n .describe(\n 'Schema definition in [JSON schema format](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/the-json-schema) with the following [vocab](https://docs.json-everything.net/schema/vocabs/) extension:\\n```\\n{\\n\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\\n\"$id\": \"https://wixapis.com/v1/json-schema/extensions\",\\n\"$vocabulary\": {\\n\"https://wixapis.com/v1/json-schema/extensions/vocab/data-extensions\": true\\n},\\n\"$dynamicAnchor\": \"meta\",\\n\"title\": \"Wix\\' data-extensions vocabulary meta schema\",\\n\"type\": [\\n\"object\",\\n\"boolean\"\\n],\\n\"properties\": {\\n\"x-wix-permissions\": {\\n\"type\": \"object\",\\n\"description\": \"list of identity types that are allowed reading schema properties\",\\n\"properties\": {\\n\"read\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n},\\n\"write\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n}\\n}\\n},\\n\"x-wix-display\": {\\n\"type\": \"object\",\\n\"description\": \"field display properties\",\\n\"schema\": {\\n\"properties\": {\\n\"placeholder\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"placeholder text for input fields\"\\n},\\n\"label\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"label of the input fields\"\\n},\\n\"hint\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"a short explanation that appears next to the input field\"\\n}\\n}\\n}\\n}\\n}\\n}\\n```'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the schema was last updated.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the schema was created.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing revision must be used when updating a schema.'\n )\n .optional()\n .nullable(),\n maxLimitBytes: z\n .number()\n .int()\n .describe('Maximum allowed schema size in bytes.')\n .optional()\n .nullable(),\n currentSizeBytes: z\n .number()\n .int()\n .describe('Current schema size in bytes.')\n .optional()\n .nullable(),\n })\n .describe('Updated schema.')\n .optional(),\n});\nexport const ListDataExtensionSchemasRequest = /*#__PURE__*/ z.object({\n fqdn: z\n .string()\n .describe(\n '[Fully qualified domain name](https://dev.wix.com/docs/rest/articles/getting-started/fqdns).'\n )\n .max(255),\n options: z\n .object({\n namespaces: z.array(z.string()).max(100).optional(),\n fields: z\n .array(z.enum(['UNKNOWN_REQUESTED_FIELD', 'ARCHIVED']))\n .max(5)\n .optional(),\n extensionPoints: z.array(z.string()).max(20).optional(),\n })\n .optional(),\n});\nexport const ListDataExtensionSchemasResponse = /*#__PURE__*/ z.object({\n dataExtensionSchemas: z\n .array(\n z.object({\n _id: z\n .string()\n .describe('Schema 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 .nullable(),\n fqdn: z\n .string()\n .describe(\n 'FQDN of the entity this schema extends. Use a wildcard (`*`) in place of the version number, for example `wix.ecom.*.order`. See [Supported objects](https://dev.wix.com/docs/api-reference/business-management/data-extension-schema/introduction#supported-objects) for valid FQDNs.'\n )\n .max(255)\n .optional()\n .nullable(),\n namespace: z\n .string()\n .describe(\n 'Namespace for this schema. For example, an app creating schemas might use their app name as a namespace.\\nWhen a site owner creates a user-defined schema, the namespace is: `_user_fields`.'\n )\n .max(164)\n .optional()\n .nullable(),\n jsonSchema: z\n .record(z.string(), z.any())\n .describe(\n 'Schema definition in [JSON schema format](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/the-json-schema) with the following [vocab](https://docs.json-everything.net/schema/vocabs/) extension:\\n```\\n{\\n\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\\n\"$id\": \"https://wixapis.com/v1/json-schema/extensions\",\\n\"$vocabulary\": {\\n\"https://wixapis.com/v1/json-schema/extensions/vocab/data-extensions\": true\\n},\\n\"$dynamicAnchor\": \"meta\",\\n\"title\": \"Wix\\' data-extensions vocabulary meta schema\",\\n\"type\": [\\n\"object\",\\n\"boolean\"\\n],\\n\"properties\": {\\n\"x-wix-permissions\": {\\n\"type\": \"object\",\\n\"description\": \"list of identity types that are allowed reading schema properties\",\\n\"properties\": {\\n\"read\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n},\\n\"write\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n}\\n}\\n},\\n\"x-wix-display\": {\\n\"type\": \"object\",\\n\"description\": \"field display properties\",\\n\"schema\": {\\n\"properties\": {\\n\"placeholder\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"placeholder text for input fields\"\\n},\\n\"label\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"label of the input fields\"\\n},\\n\"hint\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"a short explanation that appears next to the input field\"\\n}\\n}\\n}\\n}\\n}\\n}\\n```'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the schema was last updated.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the schema was created.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing revision must be used when updating a schema.'\n )\n .optional()\n .nullable(),\n maxLimitBytes: z\n .number()\n .int()\n .describe('Maximum allowed schema size in bytes.')\n .optional()\n .nullable(),\n currentSizeBytes: z\n .number()\n .int()\n .describe('Current schema size in bytes.')\n .optional()\n .nullable(),\n })\n )\n .optional(),\n});\nexport const DeleteByWhiteListedMetaSiteRequest = /*#__PURE__*/ z.object({\n metaSiteId: z\n .string()\n .describe('Meta site 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});\nexport const DeleteByWhiteListedMetaSiteResponse = /*#__PURE__*/ z.object({\n hasMore: z.boolean().describe('has more').optional(),\n});\nexport const DeleteUserDefinedFieldsRequest = /*#__PURE__*/ z.object({\n dataExtensionSchemaId: z\n .string()\n .describe('Schema 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 options: z.object({ fieldsToDelete: z.array(z.string()).min(1).max(10) }),\n});\nexport const DeleteUserDefinedFieldsResponse = /*#__PURE__*/ z.object({\n dataExtensionSchema: z\n .object({\n _id: z\n .string()\n .describe('Schema 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 .nullable(),\n fqdn: z\n .string()\n .describe(\n 'FQDN of the entity this schema extends. Use a wildcard (`*`) in place of the version number, for example `wix.ecom.*.order`. See [Supported objects](https://dev.wix.com/docs/api-reference/business-management/data-extension-schema/introduction#supported-objects) for valid FQDNs.'\n )\n .max(255)\n .optional()\n .nullable(),\n namespace: z\n .string()\n .describe(\n 'Namespace for this schema. For example, an app creating schemas might use their app name as a namespace.\\nWhen a site owner creates a user-defined schema, the namespace is: `_user_fields`.'\n )\n .max(164)\n .optional()\n .nullable(),\n jsonSchema: z\n .record(z.string(), z.any())\n .describe(\n 'Schema definition in [JSON schema format](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/schema-plugins/the-json-schema) with the following [vocab](https://docs.json-everything.net/schema/vocabs/) extension:\\n```\\n{\\n\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\\n\"$id\": \"https://wixapis.com/v1/json-schema/extensions\",\\n\"$vocabulary\": {\\n\"https://wixapis.com/v1/json-schema/extensions/vocab/data-extensions\": true\\n},\\n\"$dynamicAnchor\": \"meta\",\\n\"title\": \"Wix\\' data-extensions vocabulary meta schema\",\\n\"type\": [\\n\"object\",\\n\"boolean\"\\n],\\n\"properties\": {\\n\"x-wix-permissions\": {\\n\"type\": \"object\",\\n\"description\": \"list of identity types that are allowed reading schema properties\",\\n\"properties\": {\\n\"read\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n},\\n\"write\": {\\n\"type\": \"array\",\\n\"items\": {\\n\"type\": \"string\",\\n\"enum\": [\\n\"apps\",\\n\"owning-app\",\\n\"users\",\\n\"users-of-users\"\\n]\\n}\\n}\\n}\\n},\\n\"x-wix-display\": {\\n\"type\": \"object\",\\n\"description\": \"field display properties\",\\n\"schema\": {\\n\"properties\": {\\n\"placeholder\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"placeholder text for input fields\"\\n},\\n\"label\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"label of the input fields\"\\n},\\n\"hint\": {\\n\"type\": \"string\",\\n\"maxLength\": 255,\\n\"description\": \"a short explanation that appears next to the input field\"\\n}\\n}\\n}\\n}\\n}\\n}\\n```'\n )\n .optional()\n .nullable(),\n _updatedDate: z\n .date()\n .describe('Date and time the schema was last updated.')\n .optional()\n .nullable(),\n _createdDate: z\n .date()\n .describe('Date and time the schema was created.')\n .optional()\n .nullable(),\n revision: z\n .string()\n .regex(/^-?\\d+$/, 'Must be a valid Int64 string')\n .describe(\n 'Revision number, which increments by 1 each time the schema is updated. To prevent conflicting changes, the existing revision must be used when updating a schema.'\n )\n .optional()\n .nullable(),\n maxLimitBytes: z\n .number()\n .int()\n .describe('Maximum allowed schema size in bytes.')\n .optional()\n .nullable(),\n currentSizeBytes: z\n .number()\n .int()\n .describe('Current schema size in bytes.')\n .optional()\n .nullable(),\n })\n .describe('Updated schema.')\n .optional(),\n});\n"],"mappings":";AAAA,YAAY,OAAO;AAEZ,IAAM,mCAAiD,gBAAE,SAAO;AAAA,EACrE,qBACG,SAAO;AAAA,IACN,KACG,SAAO,EACP,SAAS,YAAY,EACrB;AAAA,MACC;AAAA,MACA;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,MACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAG;AAAA,IACV,WACG,SAAO,EACP;AAAA,MACC;AAAA,IACF,EACC,IAAI,GAAG;AAAA,IACV,YACG,SAAS,SAAO,GAAK,MAAI,CAAC,EAC1B;AAAA,MACC;AAAA,IACF;AAAA,IACF,cACG,OAAK,EACL,SAAS,4CAA4C,EACrD,SAAS,EACT,SAAS;AAAA,IACZ,cACG,OAAK,EACL,SAAS,uCAAuC,EAChD,SAAS,EACT,SAAS;AAAA,IACZ,UACG,SAAO,EACP,MAAM,WAAW,8BAA8B,EAC/C;AAAA,MACC;AAAA,IACF,EACC,SAAS,EACT,SAAS;AAAA,IACZ,eACG,SAAO,EACP,IAAI,EACJ,SAAS,uCAAuC,EAChD,SAAS,EACT,SAAS;AAAA,IACZ,kBACG,SAAO,EACP,IAAI,EACJ,SAAS,+BAA+B,EACxC,SAAS,EACT,SAAS;AAAA,EACd,CAAC,EACA,SAAS,mBAAmB;AACjC,CAAC;AACM,IAAM,oCAAkD,gBAAE,SAAO;AAAA,EACtE,KACG,SAAO,EACP,SAAS,YAAY,EACrB;AAAA,IACC;AAAA,IACA;AAAA,EACF,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ACd,CAAC;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_data-extension-schema_schemas",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.274",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"fqdn": "wix.data_extensions.v1.data_extension_schema"
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
"falconPackageHash": "
|
|
60
|
+
"falconPackageHash": "af1f1d2420813460867e9e1add69cb4c153c7ed8e09474ed0fc386ff"
|
|
61
61
|
}
|