@wix/auto_sdk_data_collections 1.0.35 → 1.0.37
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 +8 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +57 -2
- package/build/cjs/index.typings.js +8 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +57 -2
- package/build/cjs/meta.js +8 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +7 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +57 -2
- package/build/es/index.typings.mjs +7 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +57 -2
- package/build/es/meta.mjs +7 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +8 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +57 -2
- package/build/internal/cjs/index.typings.js +8 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +57 -2
- package/build/internal/cjs/meta.js +8 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +7 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +57 -2
- package/build/internal/es/index.typings.mjs +7 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +57 -2
- package/build/internal/es/meta.mjs +7 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1092,7 +1092,8 @@ interface UpdateDataPermissionsResponse {
|
|
|
1092
1092
|
/** Updated data collection */
|
|
1093
1093
|
dataCollection?: DataCollection;
|
|
1094
1094
|
}
|
|
1095
|
-
interface BulkGetDataCollectionsPageBySnapshotsRequest {
|
|
1095
|
+
interface BulkGetDataCollectionsPageBySnapshotsRequest extends BulkGetDataCollectionsPageBySnapshotsRequestTenantModeOptionsOneOf {
|
|
1096
|
+
appOptions?: AppOptions;
|
|
1096
1097
|
/**
|
|
1097
1098
|
* Ids of schema snapshot
|
|
1098
1099
|
* @format GUID
|
|
@@ -1102,6 +1103,32 @@ interface BulkGetDataCollectionsPageBySnapshotsRequest {
|
|
|
1102
1103
|
snapshotIds?: string[];
|
|
1103
1104
|
/** Pagination information. */
|
|
1104
1105
|
paging?: Paging;
|
|
1106
|
+
/**
|
|
1107
|
+
* Tenant mode
|
|
1108
|
+
* Default: META_SITE
|
|
1109
|
+
*/
|
|
1110
|
+
tenantMode?: TenantModeWithLiterals;
|
|
1111
|
+
}
|
|
1112
|
+
/** @oneof */
|
|
1113
|
+
interface BulkGetDataCollectionsPageBySnapshotsRequestTenantModeOptionsOneOf {
|
|
1114
|
+
appOptions?: AppOptions;
|
|
1115
|
+
}
|
|
1116
|
+
declare enum TenantMode {
|
|
1117
|
+
/** MetaSite */
|
|
1118
|
+
META_SITE = "META_SITE",
|
|
1119
|
+
/** Account */
|
|
1120
|
+
ACCOUNT = "ACCOUNT",
|
|
1121
|
+
/** App */
|
|
1122
|
+
APP = "APP"
|
|
1123
|
+
}
|
|
1124
|
+
/** @enumType */
|
|
1125
|
+
type TenantModeWithLiterals = TenantMode | 'META_SITE' | 'ACCOUNT' | 'APP';
|
|
1126
|
+
interface AppOptions {
|
|
1127
|
+
/**
|
|
1128
|
+
* App definition id
|
|
1129
|
+
* @format GUID
|
|
1130
|
+
*/
|
|
1131
|
+
appDefId?: string;
|
|
1105
1132
|
}
|
|
1106
1133
|
interface BulkGetDataCollectionsPageBySnapshotsResponse {
|
|
1107
1134
|
/** List of snapshot collection map */
|
|
@@ -1257,6 +1284,34 @@ interface CreateDataCollectionsSnapshotResponse {
|
|
|
1257
1284
|
/** data collections in snapshot */
|
|
1258
1285
|
snapshotCollections?: DataCollection[];
|
|
1259
1286
|
}
|
|
1287
|
+
interface CreateAppCollectionsSnapshotRequest {
|
|
1288
|
+
/**
|
|
1289
|
+
* Snapshot ID to create
|
|
1290
|
+
* @format GUID
|
|
1291
|
+
*/
|
|
1292
|
+
snapshotId?: string;
|
|
1293
|
+
/**
|
|
1294
|
+
* App def id of the app that owns the snapshot
|
|
1295
|
+
* @format GUID
|
|
1296
|
+
*/
|
|
1297
|
+
appDefId?: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* Collections to include in the snapshot
|
|
1300
|
+
* @maxSize 1000
|
|
1301
|
+
*/
|
|
1302
|
+
collections?: CollectionDefinition[];
|
|
1303
|
+
}
|
|
1304
|
+
interface CollectionDefinition {
|
|
1305
|
+
/** Data collection */
|
|
1306
|
+
collection?: DataCollection;
|
|
1307
|
+
/**
|
|
1308
|
+
* Indexes for the data collection
|
|
1309
|
+
* @maxSize 100
|
|
1310
|
+
*/
|
|
1311
|
+
indexes?: Index[];
|
|
1312
|
+
}
|
|
1313
|
+
interface CreateAppCollectionsSnapshotResponse {
|
|
1314
|
+
}
|
|
1260
1315
|
interface RestoreDataCollectionsFromSnapshotRequest {
|
|
1261
1316
|
/**
|
|
1262
1317
|
* snapshot ID to restore
|
|
@@ -1663,4 +1718,4 @@ interface DeleteDataCollectionFieldOptions {
|
|
|
1663
1718
|
fieldKey: string;
|
|
1664
1719
|
}
|
|
1665
1720
|
|
|
1666
|
-
export { AccessLevel, type AccessLevelWithLiterals, type ActionEvent, type AllowedDataPermissions, type ApplicationError, type ArraySizeRange, type BulkGetDataCollectionsPageBySnapshotsRequest, type BulkGetDataCollectionsPageBySnapshotsResponse, type BulkGetDataCollectionsRequest, type BulkGetDataCollectionsResponse, type Calculator, type CalculatorPatternOneOf, type CatalogOptions, type CmsOptions, type CollectionCapabilities, CollectionOperation, type CollectionOperationWithLiterals, CollectionType, type CollectionTypeWithLiterals, type CreateDataCollectionFieldOptions, type CreateDataCollectionFieldRequest, type CreateDataCollectionFieldResponse, type CreateDataCollectionRequest, type CreateDataCollectionResponse, type CreateDataCollectionsSnapshotRequest, type CreateDataCollectionsSnapshotResponse, type CreateMigratedCollectionsSnapshotRequest, type CreateMigratedCollectionsSnapshotResponse, type DataCollection, type DataCollectionChangedEvent, type DataCollectionClonedEvent, type DataCollectionEvictedEvent, DataOperation, type DataOperationWithLiterals, type DataPermissions, type DeleteDataCollectionFieldOptions, type DeleteDataCollectionFieldRequest, type DeleteDataCollectionFieldResponse, type DeleteDataCollectionRequest, type DeleteDataCollectionResponse, type DeleteDataCollectionsSnapshotRequest, type DeleteDataCollectionsSnapshotResponse, type Destination, Direction, type DirectionWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailedCollection, type Failure, type Field, type FieldCapabilities, type FieldPlugin, type FieldPluginOptionsOneOf, FieldPluginType, type FieldPluginTypeWithLiterals, type FieldRangeValidationsOneOf, type FieldUpdate, type FieldsPattern, Format, type FormatWithLiterals, type GetDataCollectionOptions, type GetDataCollectionRequest, type GetDataCollectionResponse, type IdentificationData, type IdentificationDataIdOneOf, type Index, type IndexField, type IndexLimits, type IndexQuotaLimits, IndexSource, type IndexSourceWithLiterals, IndexStatus, type IndexStatusWithLiterals, type ListDataCollectionsOptions, type ListDataCollectionsRequest, type ListDataCollectionsResponse, type MessageEnvelope, type MultiReference, type MultilingualOptions, type NumberRange, type ObjectField, Order, type OrderWithLiterals, type PageLink, type PageLinkPluginOptions, type Paging, type PagingMetadataV2, PagingMode, type PagingModeWithLiterals, type Permissions, type Plugin, type PluginCmsOptions, type PluginOptionsOneOf, PluginType, type PluginTypeWithLiterals, type PluginUpdate, type PublishPluginOptions, QueryOperator, type QueryOperatorWithLiterals, type Reference, type RestorationCollection, type RestoreDataCollectionRequest, type RestoreDataCollectionResponse, type RestoreDataCollectionsFromSnapshotRequest, type RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo, Role, type RoleWithLiterals, Segment, type SegmentWithLiterals, type SingleItemPluginOptions, type SiteSort, type SnapshotCollection, type Sort, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type StringLengthRange, Type, type TypeMetadata, type TypeMetadataMetadataOneOf, type TypeWithLiterals, type UpdateDataCollectionFieldOptions, type UpdateDataCollectionFieldRequest, type UpdateDataCollectionFieldResponse, type UpdateDataCollectionRequest, type UpdateDataCollectionResponse, type UpdateDataPermissionsRequest, type UpdateDataPermissionsResponse, type UrlizedOnlyPattern, type UrlizedPluginOptions, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type _Array, type _Object, createDataCollection, createDataCollectionField, deleteDataCollection, deleteDataCollectionField, getDataCollection, listDataCollections, updateDataCollection, updateDataCollectionField };
|
|
1721
|
+
export { AccessLevel, type AccessLevelWithLiterals, type ActionEvent, type AllowedDataPermissions, type AppOptions, type ApplicationError, type ArraySizeRange, type BulkGetDataCollectionsPageBySnapshotsRequest, type BulkGetDataCollectionsPageBySnapshotsRequestTenantModeOptionsOneOf, type BulkGetDataCollectionsPageBySnapshotsResponse, type BulkGetDataCollectionsRequest, type BulkGetDataCollectionsResponse, type Calculator, type CalculatorPatternOneOf, type CatalogOptions, type CmsOptions, type CollectionCapabilities, type CollectionDefinition, CollectionOperation, type CollectionOperationWithLiterals, CollectionType, type CollectionTypeWithLiterals, type CreateAppCollectionsSnapshotRequest, type CreateAppCollectionsSnapshotResponse, type CreateDataCollectionFieldOptions, type CreateDataCollectionFieldRequest, type CreateDataCollectionFieldResponse, type CreateDataCollectionRequest, type CreateDataCollectionResponse, type CreateDataCollectionsSnapshotRequest, type CreateDataCollectionsSnapshotResponse, type CreateMigratedCollectionsSnapshotRequest, type CreateMigratedCollectionsSnapshotResponse, type DataCollection, type DataCollectionChangedEvent, type DataCollectionClonedEvent, type DataCollectionEvictedEvent, DataOperation, type DataOperationWithLiterals, type DataPermissions, type DeleteDataCollectionFieldOptions, type DeleteDataCollectionFieldRequest, type DeleteDataCollectionFieldResponse, type DeleteDataCollectionRequest, type DeleteDataCollectionResponse, type DeleteDataCollectionsSnapshotRequest, type DeleteDataCollectionsSnapshotResponse, type Destination, Direction, type DirectionWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type FailedCollection, type Failure, type Field, type FieldCapabilities, type FieldPlugin, type FieldPluginOptionsOneOf, FieldPluginType, type FieldPluginTypeWithLiterals, type FieldRangeValidationsOneOf, type FieldUpdate, type FieldsPattern, Format, type FormatWithLiterals, type GetDataCollectionOptions, type GetDataCollectionRequest, type GetDataCollectionResponse, type IdentificationData, type IdentificationDataIdOneOf, type Index, type IndexField, type IndexLimits, type IndexQuotaLimits, IndexSource, type IndexSourceWithLiterals, IndexStatus, type IndexStatusWithLiterals, type ListDataCollectionsOptions, type ListDataCollectionsRequest, type ListDataCollectionsResponse, type MessageEnvelope, type MultiReference, type MultilingualOptions, type NumberRange, type ObjectField, Order, type OrderWithLiterals, type PageLink, type PageLinkPluginOptions, type Paging, type PagingMetadataV2, PagingMode, type PagingModeWithLiterals, type Permissions, type Plugin, type PluginCmsOptions, type PluginOptionsOneOf, PluginType, type PluginTypeWithLiterals, type PluginUpdate, type PublishPluginOptions, QueryOperator, type QueryOperatorWithLiterals, type Reference, type RestorationCollection, type RestoreDataCollectionRequest, type RestoreDataCollectionResponse, type RestoreDataCollectionsFromSnapshotRequest, type RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo, Role, type RoleWithLiterals, Segment, type SegmentWithLiterals, type SingleItemPluginOptions, type SiteSort, type SnapshotCollection, type Sort, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type StringLengthRange, TenantMode, type TenantModeWithLiterals, Type, type TypeMetadata, type TypeMetadataMetadataOneOf, type TypeWithLiterals, type UpdateDataCollectionFieldOptions, type UpdateDataCollectionFieldRequest, type UpdateDataCollectionFieldResponse, type UpdateDataCollectionRequest, type UpdateDataCollectionResponse, type UpdateDataPermissionsRequest, type UpdateDataPermissionsResponse, type UrlizedOnlyPattern, type UrlizedPluginOptions, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type _Array, type _Object, createDataCollection, createDataCollectionField, deleteDataCollection, deleteDataCollectionField, getDataCollection, listDataCollections, updateDataCollection, updateDataCollectionField };
|
|
@@ -892,6 +892,12 @@ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
|
892
892
|
SortOrder2["DESC"] = "DESC";
|
|
893
893
|
return SortOrder2;
|
|
894
894
|
})(SortOrder || {});
|
|
895
|
+
var TenantMode = /* @__PURE__ */ ((TenantMode2) => {
|
|
896
|
+
TenantMode2["META_SITE"] = "META_SITE";
|
|
897
|
+
TenantMode2["ACCOUNT"] = "ACCOUNT";
|
|
898
|
+
TenantMode2["APP"] = "APP";
|
|
899
|
+
return TenantMode2;
|
|
900
|
+
})(TenantMode || {});
|
|
895
901
|
var Order = /* @__PURE__ */ ((Order2) => {
|
|
896
902
|
Order2["ASC"] = "ASC";
|
|
897
903
|
Order2["DESC"] = "DESC";
|
|
@@ -1194,6 +1200,7 @@ export {
|
|
|
1194
1200
|
Segment,
|
|
1195
1201
|
SortOrder,
|
|
1196
1202
|
Status,
|
|
1203
|
+
TenantMode,
|
|
1197
1204
|
Type,
|
|
1198
1205
|
WebhookIdentityType,
|
|
1199
1206
|
createDataCollection2 as createDataCollection,
|