@wix/auto_sdk_data-extension-schema_schemas 1.0.310 → 1.0.312
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 +41 -41
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +61 -1
- package/build/cjs/index.typings.js +21 -24
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +61 -1
- package/build/cjs/meta.js +21 -24
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +40 -41
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +61 -1
- package/build/es/index.typings.mjs +20 -24
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +61 -1
- package/build/es/meta.mjs +20 -24
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.typings.d.ts +61 -1
- package/build/internal/cjs/meta.d.ts +61 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.typings.d.mts +61 -1
- package/build/internal/es/meta.d.mts +61 -1
- package/package.json +2 -2
package/build/es/meta.mjs
CHANGED
|
@@ -4,6 +4,14 @@ import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transform
|
|
|
4
4
|
import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
5
5
|
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
6
6
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
7
|
+
var TRANSFORM_PATHS_0 = [
|
|
8
|
+
{ path: "dataExtensionSchema.updatedDate" },
|
|
9
|
+
{ path: "dataExtensionSchema.createdDate" }
|
|
10
|
+
];
|
|
11
|
+
var TRANSFORM_PATHS_1 = [
|
|
12
|
+
{ path: "dataExtensionSchemas.updatedDate" },
|
|
13
|
+
{ path: "dataExtensionSchemas.createdDate" }
|
|
14
|
+
];
|
|
7
15
|
function resolveWixInfraDataextensionsV1DataExtensionSchemaServiceUrl(opts) {
|
|
8
16
|
const domainToMappings = {
|
|
9
17
|
"manage._base_domain_": [
|
|
@@ -45,10 +53,7 @@ function createDataExtensionSchema(payload) {
|
|
|
45
53
|
const serializedData = transformPaths(payload, [
|
|
46
54
|
{
|
|
47
55
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
48
|
-
paths:
|
|
49
|
-
{ path: "dataExtensionSchema.updatedDate" },
|
|
50
|
-
{ path: "dataExtensionSchema.createdDate" }
|
|
51
|
-
]
|
|
56
|
+
paths: TRANSFORM_PATHS_0
|
|
52
57
|
}
|
|
53
58
|
]);
|
|
54
59
|
const metadata = {
|
|
@@ -68,10 +73,7 @@ function createDataExtensionSchema(payload) {
|
|
|
68
73
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
69
74
|
{
|
|
70
75
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
71
|
-
paths:
|
|
72
|
-
{ path: "dataExtensionSchema.updatedDate" },
|
|
73
|
-
{ path: "dataExtensionSchema.createdDate" }
|
|
74
|
-
]
|
|
76
|
+
paths: TRANSFORM_PATHS_0
|
|
75
77
|
}
|
|
76
78
|
])
|
|
77
79
|
};
|
|
@@ -84,10 +86,7 @@ function updateDataExtensionSchema(payload) {
|
|
|
84
86
|
const serializedData = transformPaths(payload, [
|
|
85
87
|
{
|
|
86
88
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
87
|
-
paths:
|
|
88
|
-
{ path: "dataExtensionSchema.updatedDate" },
|
|
89
|
-
{ path: "dataExtensionSchema.createdDate" }
|
|
90
|
-
]
|
|
89
|
+
paths: TRANSFORM_PATHS_0
|
|
91
90
|
}
|
|
92
91
|
]);
|
|
93
92
|
const metadata = {
|
|
@@ -107,10 +106,7 @@ function updateDataExtensionSchema(payload) {
|
|
|
107
106
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
108
107
|
{
|
|
109
108
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
110
|
-
paths:
|
|
111
|
-
{ path: "dataExtensionSchema.updatedDate" },
|
|
112
|
-
{ path: "dataExtensionSchema.createdDate" }
|
|
113
|
-
]
|
|
109
|
+
paths: TRANSFORM_PATHS_0
|
|
114
110
|
}
|
|
115
111
|
])
|
|
116
112
|
};
|
|
@@ -137,10 +133,7 @@ function listDataExtensionSchemas(payload) {
|
|
|
137
133
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
138
134
|
{
|
|
139
135
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
140
|
-
paths:
|
|
141
|
-
{ path: "dataExtensionSchemas.updatedDate" },
|
|
142
|
-
{ path: "dataExtensionSchemas.createdDate" }
|
|
143
|
-
]
|
|
136
|
+
paths: TRANSFORM_PATHS_1
|
|
144
137
|
}
|
|
145
138
|
])
|
|
146
139
|
};
|
|
@@ -188,10 +181,7 @@ function deleteUserDefinedFields(payload) {
|
|
|
188
181
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
189
182
|
{
|
|
190
183
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
191
|
-
paths:
|
|
192
|
-
{ path: "dataExtensionSchema.updatedDate" },
|
|
193
|
-
{ path: "dataExtensionSchema.createdDate" }
|
|
194
|
-
]
|
|
184
|
+
paths: TRANSFORM_PATHS_0
|
|
195
185
|
}
|
|
196
186
|
])
|
|
197
187
|
};
|
|
@@ -3293,6 +3283,11 @@ var StoredToken = /* @__PURE__ */ ((StoredToken2) => {
|
|
|
3293
3283
|
StoredToken2["PRIMARY_OF_MULTIPLE"] = "PRIMARY_OF_MULTIPLE";
|
|
3294
3284
|
return StoredToken2;
|
|
3295
3285
|
})(StoredToken || {});
|
|
3286
|
+
var GrantedScopesShape = /* @__PURE__ */ ((GrantedScopesShape2) => {
|
|
3287
|
+
GrantedScopesShape2["DELIMITED_STRING"] = "DELIMITED_STRING";
|
|
3288
|
+
GrantedScopesShape2["JSON_STRING_ARRAY"] = "JSON_STRING_ARRAY";
|
|
3289
|
+
return GrantedScopesShape2;
|
|
3290
|
+
})(GrantedScopesShape || {});
|
|
3296
3291
|
var ScopeSeparator = /* @__PURE__ */ ((ScopeSeparator2) => {
|
|
3297
3292
|
ScopeSeparator2["UNKNOWN_SCOPE_SEPARATOR"] = "UNKNOWN_SCOPE_SEPARATOR";
|
|
3298
3293
|
ScopeSeparator2["SPACE"] = "SPACE";
|
|
@@ -3617,6 +3612,7 @@ export {
|
|
|
3617
3612
|
GIFType as GIFTypeOriginal,
|
|
3618
3613
|
GenericHookConfigHookType as GenericHookConfigHookTypeOriginal,
|
|
3619
3614
|
GradientType as GradientTypeOriginal,
|
|
3615
|
+
GrantedScopesShape as GrantedScopesShapeOriginal,
|
|
3620
3616
|
GroupType as GroupTypeOriginal,
|
|
3621
3617
|
HTMLDataSource as HTMLDataSourceOriginal,
|
|
3622
3618
|
HTTPMethod as HTTPMethodOriginal,
|