@wix/data 1.0.129 → 1.0.131
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/type-bundles/context.bundle.d.ts +3685 -4
- package/type-bundles/index.bundle.d.ts +248 -1107
- package/type-bundles/meta.bundle.d.ts +471 -1502
|
@@ -302,61 +302,32 @@ declare enum WebhookIdentityType$2 {
|
|
|
302
302
|
WIX_USER = "WIX_USER",
|
|
303
303
|
APP = "APP"
|
|
304
304
|
}
|
|
305
|
+
interface ConnectionStatusNonNullableFields {
|
|
306
|
+
successful: boolean;
|
|
307
|
+
causeOfFailure: CauseOfFailure;
|
|
308
|
+
hasCollections: CollectionsFound;
|
|
309
|
+
}
|
|
310
|
+
interface CapabilitiesNonNullableFields {
|
|
311
|
+
collectionModificationsSupported: boolean;
|
|
312
|
+
fieldTypes: FieldType[];
|
|
313
|
+
}
|
|
314
|
+
interface ExternalDatabaseConnectionNonNullableFields {
|
|
315
|
+
name: string;
|
|
316
|
+
connectionStatus?: ConnectionStatusNonNullableFields;
|
|
317
|
+
protocolVersion: ProtocolVersion;
|
|
318
|
+
capabilities?: CapabilitiesNonNullableFields;
|
|
319
|
+
}
|
|
305
320
|
interface GetExternalDatabaseConnectionResponseNonNullableFields {
|
|
306
|
-
externalDatabaseConnection?:
|
|
307
|
-
name: string;
|
|
308
|
-
connectionStatus?: {
|
|
309
|
-
successful: boolean;
|
|
310
|
-
causeOfFailure: CauseOfFailure;
|
|
311
|
-
hasCollections: CollectionsFound;
|
|
312
|
-
};
|
|
313
|
-
capabilities?: {
|
|
314
|
-
collectionModificationsSupported: boolean;
|
|
315
|
-
fieldTypes: FieldType[];
|
|
316
|
-
};
|
|
317
|
-
};
|
|
321
|
+
externalDatabaseConnection?: ExternalDatabaseConnectionNonNullableFields;
|
|
318
322
|
}
|
|
319
323
|
interface ListExternalDatabaseConnectionsResponseNonNullableFields {
|
|
320
|
-
externalDatabaseConnections:
|
|
321
|
-
name: string;
|
|
322
|
-
connectionStatus?: {
|
|
323
|
-
successful: boolean;
|
|
324
|
-
causeOfFailure: CauseOfFailure;
|
|
325
|
-
hasCollections: CollectionsFound;
|
|
326
|
-
};
|
|
327
|
-
capabilities?: {
|
|
328
|
-
collectionModificationsSupported: boolean;
|
|
329
|
-
fieldTypes: FieldType[];
|
|
330
|
-
};
|
|
331
|
-
}[];
|
|
324
|
+
externalDatabaseConnections: ExternalDatabaseConnectionNonNullableFields[];
|
|
332
325
|
}
|
|
333
326
|
interface CreateExternalDatabaseConnectionResponseNonNullableFields {
|
|
334
|
-
externalDatabaseConnection?:
|
|
335
|
-
name: string;
|
|
336
|
-
connectionStatus?: {
|
|
337
|
-
successful: boolean;
|
|
338
|
-
causeOfFailure: CauseOfFailure;
|
|
339
|
-
hasCollections: CollectionsFound;
|
|
340
|
-
};
|
|
341
|
-
capabilities?: {
|
|
342
|
-
collectionModificationsSupported: boolean;
|
|
343
|
-
fieldTypes: FieldType[];
|
|
344
|
-
};
|
|
345
|
-
};
|
|
327
|
+
externalDatabaseConnection?: ExternalDatabaseConnectionNonNullableFields;
|
|
346
328
|
}
|
|
347
329
|
interface UpdateExternalDatabaseConnectionResponseNonNullableFields {
|
|
348
|
-
externalDatabaseConnection?:
|
|
349
|
-
name: string;
|
|
350
|
-
connectionStatus?: {
|
|
351
|
-
successful: boolean;
|
|
352
|
-
causeOfFailure: CauseOfFailure;
|
|
353
|
-
hasCollections: CollectionsFound;
|
|
354
|
-
};
|
|
355
|
-
capabilities?: {
|
|
356
|
-
collectionModificationsSupported: boolean;
|
|
357
|
-
fieldTypes: FieldType[];
|
|
358
|
-
};
|
|
359
|
-
};
|
|
330
|
+
externalDatabaseConnection?: ExternalDatabaseConnectionNonNullableFields;
|
|
360
331
|
}
|
|
361
332
|
interface BaseEventMetadata$2 {
|
|
362
333
|
/** App instance ID. */
|
|
@@ -487,43 +458,10 @@ declare global {
|
|
|
487
458
|
declare const __metadata$3: {
|
|
488
459
|
PACKAGE_NAME: string;
|
|
489
460
|
};
|
|
490
|
-
declare function getExternalDatabaseConnection(httpClient: HttpClient): (name: string) => Promise<ExternalDatabaseConnection &
|
|
491
|
-
name: string;
|
|
492
|
-
connectionStatus?: {
|
|
493
|
-
successful: boolean;
|
|
494
|
-
causeOfFailure: CauseOfFailure;
|
|
495
|
-
hasCollections: CollectionsFound;
|
|
496
|
-
} | undefined;
|
|
497
|
-
capabilities?: {
|
|
498
|
-
collectionModificationsSupported: boolean;
|
|
499
|
-
fieldTypes: FieldType[];
|
|
500
|
-
} | undefined;
|
|
501
|
-
}>;
|
|
461
|
+
declare function getExternalDatabaseConnection(httpClient: HttpClient): (name: string) => Promise<ExternalDatabaseConnection & ExternalDatabaseConnectionNonNullableFields>;
|
|
502
462
|
declare function listExternalDatabaseConnections(httpClient: HttpClient): (options?: ListExternalDatabaseConnectionsOptions) => Promise<ListExternalDatabaseConnectionsResponse & ListExternalDatabaseConnectionsResponseNonNullableFields>;
|
|
503
|
-
declare function createExternalDatabaseConnection(httpClient: HttpClient): (externalDatabaseConnection: ExternalDatabaseConnection, options: CreateExternalDatabaseConnectionOptions) => Promise<ExternalDatabaseConnection &
|
|
504
|
-
|
|
505
|
-
connectionStatus?: {
|
|
506
|
-
successful: boolean;
|
|
507
|
-
causeOfFailure: CauseOfFailure;
|
|
508
|
-
hasCollections: CollectionsFound;
|
|
509
|
-
} | undefined;
|
|
510
|
-
capabilities?: {
|
|
511
|
-
collectionModificationsSupported: boolean;
|
|
512
|
-
fieldTypes: FieldType[];
|
|
513
|
-
} | undefined;
|
|
514
|
-
}>;
|
|
515
|
-
declare function updateExternalDatabaseConnection(httpClient: HttpClient): (name: string, externalDatabaseConnection: UpdateExternalDatabaseConnection) => Promise<ExternalDatabaseConnection & {
|
|
516
|
-
name: string;
|
|
517
|
-
connectionStatus?: {
|
|
518
|
-
successful: boolean;
|
|
519
|
-
causeOfFailure: CauseOfFailure;
|
|
520
|
-
hasCollections: CollectionsFound;
|
|
521
|
-
} | undefined;
|
|
522
|
-
capabilities?: {
|
|
523
|
-
collectionModificationsSupported: boolean;
|
|
524
|
-
fieldTypes: FieldType[];
|
|
525
|
-
} | undefined;
|
|
526
|
-
}>;
|
|
463
|
+
declare function createExternalDatabaseConnection(httpClient: HttpClient): (externalDatabaseConnection: ExternalDatabaseConnection, options: CreateExternalDatabaseConnectionOptions) => Promise<ExternalDatabaseConnection & ExternalDatabaseConnectionNonNullableFields>;
|
|
464
|
+
declare function updateExternalDatabaseConnection(httpClient: HttpClient): (name: string, externalDatabaseConnection: UpdateExternalDatabaseConnection) => Promise<ExternalDatabaseConnection & ExternalDatabaseConnectionNonNullableFields>;
|
|
527
465
|
declare function deleteExternalDatabaseConnection(httpClient: HttpClient): (name: string) => Promise<void>;
|
|
528
466
|
declare const onExternalDatabaseConnectionCreated: EventDefinition<ExternalDatabaseConnectionCreatedEnvelope, "wix.data.v1.external_database_connection_created">;
|
|
529
467
|
declare const onExternalDatabaseConnectionUpdated: EventDefinition<ExternalDatabaseConnectionUpdatedEnvelope, "wix.data.v1.external_database_connection_updated">;
|
|
@@ -546,6 +484,7 @@ type index_d$3_DeleteExternalDatabaseConnectionResponse = DeleteExternalDatabase
|
|
|
546
484
|
type index_d$3_ExternalDatabaseConnection = ExternalDatabaseConnection;
|
|
547
485
|
type index_d$3_ExternalDatabaseConnectionCreatedEnvelope = ExternalDatabaseConnectionCreatedEnvelope;
|
|
548
486
|
type index_d$3_ExternalDatabaseConnectionDeletedEnvelope = ExternalDatabaseConnectionDeletedEnvelope;
|
|
487
|
+
type index_d$3_ExternalDatabaseConnectionNonNullableFields = ExternalDatabaseConnectionNonNullableFields;
|
|
549
488
|
type index_d$3_ExternalDatabaseConnectionUpdatedEnvelope = ExternalDatabaseConnectionUpdatedEnvelope;
|
|
550
489
|
type index_d$3_FieldType = FieldType;
|
|
551
490
|
declare const index_d$3_FieldType: typeof FieldType;
|
|
@@ -571,7 +510,7 @@ declare const index_d$3_onExternalDatabaseConnectionDeleted: typeof onExternalDa
|
|
|
571
510
|
declare const index_d$3_onExternalDatabaseConnectionUpdated: typeof onExternalDatabaseConnectionUpdated;
|
|
572
511
|
declare const index_d$3_updateExternalDatabaseConnection: typeof updateExternalDatabaseConnection;
|
|
573
512
|
declare namespace index_d$3 {
|
|
574
|
-
export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$3_Capabilities as Capabilities, index_d$3_CauseOfFailure as CauseOfFailure, index_d$3_CollectionsFound as CollectionsFound, type index_d$3_ConnectionStatus as ConnectionStatus, index_d$3_ConnectionType as ConnectionType, type index_d$3_CreateExternalDatabaseConnectionOptions as CreateExternalDatabaseConnectionOptions, type index_d$3_CreateExternalDatabaseConnectionRequest as CreateExternalDatabaseConnectionRequest, type index_d$3_CreateExternalDatabaseConnectionResponse as CreateExternalDatabaseConnectionResponse, type index_d$3_CreateExternalDatabaseConnectionResponseNonNullableFields as CreateExternalDatabaseConnectionResponseNonNullableFields, type index_d$3_DeleteExternalDatabaseConnectionRequest as DeleteExternalDatabaseConnectionRequest, type index_d$3_DeleteExternalDatabaseConnectionResponse as DeleteExternalDatabaseConnectionResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type index_d$3_ExternalDatabaseConnection as ExternalDatabaseConnection, type index_d$3_ExternalDatabaseConnectionCreatedEnvelope as ExternalDatabaseConnectionCreatedEnvelope, type index_d$3_ExternalDatabaseConnectionDeletedEnvelope as ExternalDatabaseConnectionDeletedEnvelope, type index_d$3_ExternalDatabaseConnectionUpdatedEnvelope as ExternalDatabaseConnectionUpdatedEnvelope, index_d$3_FieldType as FieldType, type index_d$3_GetExternalDatabaseConnectionRequest as GetExternalDatabaseConnectionRequest, type index_d$3_GetExternalDatabaseConnectionResponse as GetExternalDatabaseConnectionResponse, type index_d$3_GetExternalDatabaseConnectionResponseNonNullableFields as GetExternalDatabaseConnectionResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$3_ListExternalDatabaseConnectionsOptions as ListExternalDatabaseConnectionsOptions, type index_d$3_ListExternalDatabaseConnectionsRequest as ListExternalDatabaseConnectionsRequest, type index_d$3_ListExternalDatabaseConnectionsResponse as ListExternalDatabaseConnectionsResponse, type index_d$3_ListExternalDatabaseConnectionsResponseNonNullableFields as ListExternalDatabaseConnectionsResponseNonNullableFields, type MessageEnvelope$2 as MessageEnvelope, type Paging$3 as Paging, type PagingMetadata$1 as PagingMetadata, index_d$3_ProtocolVersion as ProtocolVersion, type RestoreInfo$2 as RestoreInfo, type index_d$3_UpdateExternalDatabaseConnection as UpdateExternalDatabaseConnection, type index_d$3_UpdateExternalDatabaseConnectionRequest as UpdateExternalDatabaseConnectionRequest, type index_d$3_UpdateExternalDatabaseConnectionResponse as UpdateExternalDatabaseConnectionResponse, type index_d$3_UpdateExternalDatabaseConnectionResponseNonNullableFields as UpdateExternalDatabaseConnectionResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, __metadata$3 as __metadata, index_d$3_createExternalDatabaseConnection as createExternalDatabaseConnection, index_d$3_deleteExternalDatabaseConnection as deleteExternalDatabaseConnection, index_d$3_getExternalDatabaseConnection as getExternalDatabaseConnection, index_d$3_listExternalDatabaseConnections as listExternalDatabaseConnections, index_d$3_onExternalDatabaseConnectionCreated as onExternalDatabaseConnectionCreated, index_d$3_onExternalDatabaseConnectionDeleted as onExternalDatabaseConnectionDeleted, index_d$3_onExternalDatabaseConnectionUpdated as onExternalDatabaseConnectionUpdated, index_d$3_updateExternalDatabaseConnection as updateExternalDatabaseConnection };
|
|
513
|
+
export { type ActionEvent$2 as ActionEvent, type BaseEventMetadata$2 as BaseEventMetadata, type index_d$3_Capabilities as Capabilities, index_d$3_CauseOfFailure as CauseOfFailure, index_d$3_CollectionsFound as CollectionsFound, type index_d$3_ConnectionStatus as ConnectionStatus, index_d$3_ConnectionType as ConnectionType, type index_d$3_CreateExternalDatabaseConnectionOptions as CreateExternalDatabaseConnectionOptions, type index_d$3_CreateExternalDatabaseConnectionRequest as CreateExternalDatabaseConnectionRequest, type index_d$3_CreateExternalDatabaseConnectionResponse as CreateExternalDatabaseConnectionResponse, type index_d$3_CreateExternalDatabaseConnectionResponseNonNullableFields as CreateExternalDatabaseConnectionResponseNonNullableFields, type index_d$3_DeleteExternalDatabaseConnectionRequest as DeleteExternalDatabaseConnectionRequest, type index_d$3_DeleteExternalDatabaseConnectionResponse as DeleteExternalDatabaseConnectionResponse, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type index_d$3_ExternalDatabaseConnection as ExternalDatabaseConnection, type index_d$3_ExternalDatabaseConnectionCreatedEnvelope as ExternalDatabaseConnectionCreatedEnvelope, type index_d$3_ExternalDatabaseConnectionDeletedEnvelope as ExternalDatabaseConnectionDeletedEnvelope, type index_d$3_ExternalDatabaseConnectionNonNullableFields as ExternalDatabaseConnectionNonNullableFields, type index_d$3_ExternalDatabaseConnectionUpdatedEnvelope as ExternalDatabaseConnectionUpdatedEnvelope, index_d$3_FieldType as FieldType, type index_d$3_GetExternalDatabaseConnectionRequest as GetExternalDatabaseConnectionRequest, type index_d$3_GetExternalDatabaseConnectionResponse as GetExternalDatabaseConnectionResponse, type index_d$3_GetExternalDatabaseConnectionResponseNonNullableFields as GetExternalDatabaseConnectionResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type index_d$3_ListExternalDatabaseConnectionsOptions as ListExternalDatabaseConnectionsOptions, type index_d$3_ListExternalDatabaseConnectionsRequest as ListExternalDatabaseConnectionsRequest, type index_d$3_ListExternalDatabaseConnectionsResponse as ListExternalDatabaseConnectionsResponse, type index_d$3_ListExternalDatabaseConnectionsResponseNonNullableFields as ListExternalDatabaseConnectionsResponseNonNullableFields, type MessageEnvelope$2 as MessageEnvelope, type Paging$3 as Paging, type PagingMetadata$1 as PagingMetadata, index_d$3_ProtocolVersion as ProtocolVersion, type RestoreInfo$2 as RestoreInfo, type index_d$3_UpdateExternalDatabaseConnection as UpdateExternalDatabaseConnection, type index_d$3_UpdateExternalDatabaseConnectionRequest as UpdateExternalDatabaseConnectionRequest, type index_d$3_UpdateExternalDatabaseConnectionResponse as UpdateExternalDatabaseConnectionResponse, type index_d$3_UpdateExternalDatabaseConnectionResponseNonNullableFields as UpdateExternalDatabaseConnectionResponseNonNullableFields, WebhookIdentityType$2 as WebhookIdentityType, __metadata$3 as __metadata, index_d$3_createExternalDatabaseConnection as createExternalDatabaseConnection, index_d$3_deleteExternalDatabaseConnection as deleteExternalDatabaseConnection, index_d$3_getExternalDatabaseConnection as getExternalDatabaseConnection, index_d$3_listExternalDatabaseConnections as listExternalDatabaseConnections, index_d$3_onExternalDatabaseConnectionCreated as onExternalDatabaseConnectionCreated, index_d$3_onExternalDatabaseConnectionDeleted as onExternalDatabaseConnectionDeleted, index_d$3_onExternalDatabaseConnectionUpdated as onExternalDatabaseConnectionUpdated, index_d$3_updateExternalDatabaseConnection as updateExternalDatabaseConnection };
|
|
575
514
|
}
|
|
576
515
|
|
|
577
516
|
/** A data collection determines the structure of data to be stored in a database. */
|
|
@@ -1581,518 +1520,141 @@ declare enum WebhookIdentityType$1 {
|
|
|
1581
1520
|
WIX_USER = "WIX_USER",
|
|
1582
1521
|
APP = "APP"
|
|
1583
1522
|
}
|
|
1523
|
+
interface SortNonNullableFields {
|
|
1524
|
+
fieldKey: string;
|
|
1525
|
+
direction: Direction;
|
|
1526
|
+
}
|
|
1527
|
+
interface IndexLimitsNonNullableFields {
|
|
1528
|
+
regular: number;
|
|
1529
|
+
unique: number;
|
|
1530
|
+
total: number;
|
|
1531
|
+
}
|
|
1532
|
+
interface CollectionCapabilitiesNonNullableFields {
|
|
1533
|
+
dataOperations: DataOperation[];
|
|
1534
|
+
collectionOperations: CollectionOperation[];
|
|
1535
|
+
indexLimits?: IndexLimitsNonNullableFields;
|
|
1536
|
+
}
|
|
1537
|
+
interface ReferenceNonNullableFields {
|
|
1538
|
+
referencedCollectionId: string;
|
|
1539
|
+
}
|
|
1540
|
+
interface MultiReferenceNonNullableFields {
|
|
1541
|
+
referencedCollectionId: string;
|
|
1542
|
+
referencingFieldKey: string;
|
|
1543
|
+
referencingDisplayName: string;
|
|
1544
|
+
}
|
|
1545
|
+
interface FieldCapabilitiesNonNullableFields {
|
|
1546
|
+
sortable: boolean;
|
|
1547
|
+
queryOperators: QueryOperator[];
|
|
1548
|
+
}
|
|
1549
|
+
interface ObjectFieldNonNullableFields {
|
|
1550
|
+
key: string;
|
|
1551
|
+
type: Type;
|
|
1552
|
+
typeMetadata?: TypeMetadataNonNullableFields;
|
|
1553
|
+
capabilities?: FieldCapabilitiesNonNullableFields;
|
|
1554
|
+
}
|
|
1555
|
+
interface _ObjectNonNullableFields {
|
|
1556
|
+
fields: ObjectFieldNonNullableFields[];
|
|
1557
|
+
}
|
|
1558
|
+
interface _ArrayNonNullableFields {
|
|
1559
|
+
elementType: Type;
|
|
1560
|
+
typeMetadata?: TypeMetadataNonNullableFields;
|
|
1561
|
+
}
|
|
1562
|
+
interface FieldsPatternNonNullableFields {
|
|
1563
|
+
pattern: string;
|
|
1564
|
+
lowercase: boolean;
|
|
1565
|
+
}
|
|
1566
|
+
interface UrlizedOnlyPatternNonNullableFields {
|
|
1567
|
+
pattern: string;
|
|
1568
|
+
}
|
|
1569
|
+
interface CalculatorNonNullableFields {
|
|
1570
|
+
fieldsPattern?: FieldsPatternNonNullableFields;
|
|
1571
|
+
urlizedOnlyPattern?: UrlizedOnlyPatternNonNullableFields;
|
|
1572
|
+
}
|
|
1573
|
+
interface PageLinkNonNullableFields {
|
|
1574
|
+
calculator?: CalculatorNonNullableFields;
|
|
1575
|
+
}
|
|
1576
|
+
interface TypeMetadataNonNullableFields {
|
|
1577
|
+
reference?: ReferenceNonNullableFields;
|
|
1578
|
+
multiReference?: MultiReferenceNonNullableFields;
|
|
1579
|
+
object?: _ObjectNonNullableFields;
|
|
1580
|
+
array?: _ArrayNonNullableFields;
|
|
1581
|
+
pageLink?: PageLinkNonNullableFields;
|
|
1582
|
+
}
|
|
1583
|
+
interface CmsOptionsNonNullableFields {
|
|
1584
|
+
internal: boolean;
|
|
1585
|
+
}
|
|
1586
|
+
interface FieldPluginNonNullableFields {
|
|
1587
|
+
cmsOptions?: CmsOptionsNonNullableFields;
|
|
1588
|
+
type: FieldPluginType;
|
|
1589
|
+
}
|
|
1590
|
+
interface FieldNonNullableFields$1 {
|
|
1591
|
+
key: string;
|
|
1592
|
+
type: Type;
|
|
1593
|
+
typeMetadata?: TypeMetadataNonNullableFields;
|
|
1594
|
+
systemField: boolean;
|
|
1595
|
+
capabilities?: FieldCapabilitiesNonNullableFields;
|
|
1596
|
+
encrypted: boolean;
|
|
1597
|
+
plugins: FieldPluginNonNullableFields[];
|
|
1598
|
+
}
|
|
1599
|
+
interface PermissionsNonNullableFields {
|
|
1600
|
+
insert: Role;
|
|
1601
|
+
update: Role;
|
|
1602
|
+
remove: Role;
|
|
1603
|
+
read: Role;
|
|
1604
|
+
}
|
|
1605
|
+
interface PublishPluginOptionsNonNullableFields {
|
|
1606
|
+
defaultStatus: Status$1;
|
|
1607
|
+
}
|
|
1608
|
+
interface SingleItemPluginOptionsNonNullableFields {
|
|
1609
|
+
singleItemId: string;
|
|
1610
|
+
}
|
|
1611
|
+
interface UrlizedPluginOptionsNonNullableFields {
|
|
1612
|
+
format: Format;
|
|
1613
|
+
}
|
|
1614
|
+
interface MultilingualOptionsNonNullableFields {
|
|
1615
|
+
translatableFieldKeys: string[];
|
|
1616
|
+
}
|
|
1617
|
+
interface PageLinkPluginOptionsNonNullableFields {
|
|
1618
|
+
isPersisted: boolean;
|
|
1619
|
+
isMutable: boolean;
|
|
1620
|
+
}
|
|
1621
|
+
interface SiteSortNonNullableFields {
|
|
1622
|
+
sort: SortNonNullableFields[];
|
|
1623
|
+
}
|
|
1624
|
+
interface PluginCmsOptionsNonNullableFields {
|
|
1625
|
+
siteSort?: SiteSortNonNullableFields;
|
|
1626
|
+
}
|
|
1627
|
+
interface PluginNonNullableFields {
|
|
1628
|
+
publishOptions?: PublishPluginOptionsNonNullableFields;
|
|
1629
|
+
singleItemOptions?: SingleItemPluginOptionsNonNullableFields;
|
|
1630
|
+
urlizedOptions?: UrlizedPluginOptionsNonNullableFields;
|
|
1631
|
+
multilingualOptions?: MultilingualOptionsNonNullableFields;
|
|
1632
|
+
editablePageLinkOptions?: PageLinkPluginOptionsNonNullableFields;
|
|
1633
|
+
cmsOptions?: PluginCmsOptionsNonNullableFields;
|
|
1634
|
+
type: PluginType;
|
|
1635
|
+
}
|
|
1636
|
+
interface DataCollectionNonNullableFields {
|
|
1637
|
+
_id: string;
|
|
1638
|
+
collectionType: CollectionType;
|
|
1639
|
+
defaultDisplayOrder?: SortNonNullableFields;
|
|
1640
|
+
capabilities?: CollectionCapabilitiesNonNullableFields;
|
|
1641
|
+
fields: FieldNonNullableFields$1[];
|
|
1642
|
+
permissions?: PermissionsNonNullableFields;
|
|
1643
|
+
plugins: PluginNonNullableFields[];
|
|
1644
|
+
pagingModes: PagingMode[];
|
|
1645
|
+
}
|
|
1584
1646
|
interface CreateDataCollectionResponseNonNullableFields {
|
|
1585
|
-
collection?:
|
|
1586
|
-
_id: string;
|
|
1587
|
-
collectionType: CollectionType;
|
|
1588
|
-
defaultDisplayOrder?: {
|
|
1589
|
-
fieldKey: string;
|
|
1590
|
-
direction: Direction;
|
|
1591
|
-
};
|
|
1592
|
-
capabilities?: {
|
|
1593
|
-
dataOperations: DataOperation[];
|
|
1594
|
-
collectionOperations: CollectionOperation[];
|
|
1595
|
-
indexLimits?: {
|
|
1596
|
-
regular: number;
|
|
1597
|
-
unique: number;
|
|
1598
|
-
total: number;
|
|
1599
|
-
};
|
|
1600
|
-
};
|
|
1601
|
-
fields: {
|
|
1602
|
-
key: string;
|
|
1603
|
-
type: Type;
|
|
1604
|
-
typeMetadata?: {
|
|
1605
|
-
reference?: {
|
|
1606
|
-
referencedCollectionId: string;
|
|
1607
|
-
};
|
|
1608
|
-
multiReference?: {
|
|
1609
|
-
referencedCollectionId: string;
|
|
1610
|
-
referencingFieldKey: string;
|
|
1611
|
-
referencingDisplayName: string;
|
|
1612
|
-
};
|
|
1613
|
-
object?: {
|
|
1614
|
-
fields: {
|
|
1615
|
-
key: string;
|
|
1616
|
-
type: Type;
|
|
1617
|
-
capabilities?: {
|
|
1618
|
-
sortable: boolean;
|
|
1619
|
-
queryOperators: QueryOperator[];
|
|
1620
|
-
};
|
|
1621
|
-
}[];
|
|
1622
|
-
};
|
|
1623
|
-
array?: {
|
|
1624
|
-
elementType: Type;
|
|
1625
|
-
};
|
|
1626
|
-
pageLink?: {
|
|
1627
|
-
calculator?: {
|
|
1628
|
-
fieldsPattern?: {
|
|
1629
|
-
pattern: string;
|
|
1630
|
-
lowercase: boolean;
|
|
1631
|
-
};
|
|
1632
|
-
urlizedOnlyPattern?: {
|
|
1633
|
-
pattern: string;
|
|
1634
|
-
};
|
|
1635
|
-
};
|
|
1636
|
-
};
|
|
1637
|
-
};
|
|
1638
|
-
systemField: boolean;
|
|
1639
|
-
capabilities?: {
|
|
1640
|
-
sortable: boolean;
|
|
1641
|
-
queryOperators: QueryOperator[];
|
|
1642
|
-
};
|
|
1643
|
-
encrypted: boolean;
|
|
1644
|
-
plugins: {
|
|
1645
|
-
cmsOptions?: {
|
|
1646
|
-
internal: boolean;
|
|
1647
|
-
};
|
|
1648
|
-
type: FieldPluginType;
|
|
1649
|
-
}[];
|
|
1650
|
-
}[];
|
|
1651
|
-
permissions?: {
|
|
1652
|
-
insert: Role;
|
|
1653
|
-
update: Role;
|
|
1654
|
-
remove: Role;
|
|
1655
|
-
read: Role;
|
|
1656
|
-
};
|
|
1657
|
-
plugins: {
|
|
1658
|
-
publishOptions?: {
|
|
1659
|
-
defaultStatus: Status$1;
|
|
1660
|
-
};
|
|
1661
|
-
singleItemOptions?: {
|
|
1662
|
-
singleItemId: string;
|
|
1663
|
-
};
|
|
1664
|
-
urlizedOptions?: {
|
|
1665
|
-
format: Format;
|
|
1666
|
-
};
|
|
1667
|
-
multilingualOptions?: {
|
|
1668
|
-
translatableFieldKeys: string[];
|
|
1669
|
-
};
|
|
1670
|
-
editablePageLinkOptions?: {
|
|
1671
|
-
isPersisted: boolean;
|
|
1672
|
-
isMutable: boolean;
|
|
1673
|
-
};
|
|
1674
|
-
cmsOptions?: {
|
|
1675
|
-
siteSort?: {
|
|
1676
|
-
sort: {
|
|
1677
|
-
fieldKey: string;
|
|
1678
|
-
direction: Direction;
|
|
1679
|
-
}[];
|
|
1680
|
-
};
|
|
1681
|
-
};
|
|
1682
|
-
type: PluginType;
|
|
1683
|
-
}[];
|
|
1684
|
-
pagingModes: PagingMode[];
|
|
1685
|
-
};
|
|
1647
|
+
collection?: DataCollectionNonNullableFields;
|
|
1686
1648
|
}
|
|
1687
1649
|
interface GetDataCollectionResponseNonNullableFields {
|
|
1688
|
-
collection?:
|
|
1689
|
-
|
|
1690
|
-
collectionType: CollectionType;
|
|
1691
|
-
defaultDisplayOrder?: {
|
|
1692
|
-
fieldKey: string;
|
|
1693
|
-
direction: Direction;
|
|
1694
|
-
};
|
|
1695
|
-
capabilities?: {
|
|
1696
|
-
dataOperations: DataOperation[];
|
|
1697
|
-
collectionOperations: CollectionOperation[];
|
|
1698
|
-
indexLimits?: {
|
|
1699
|
-
regular: number;
|
|
1700
|
-
unique: number;
|
|
1701
|
-
total: number;
|
|
1702
|
-
};
|
|
1703
|
-
};
|
|
1704
|
-
fields: {
|
|
1705
|
-
key: string;
|
|
1706
|
-
type: Type;
|
|
1707
|
-
typeMetadata?: {
|
|
1708
|
-
reference?: {
|
|
1709
|
-
referencedCollectionId: string;
|
|
1710
|
-
};
|
|
1711
|
-
multiReference?: {
|
|
1712
|
-
referencedCollectionId: string;
|
|
1713
|
-
referencingFieldKey: string;
|
|
1714
|
-
referencingDisplayName: string;
|
|
1715
|
-
};
|
|
1716
|
-
object?: {
|
|
1717
|
-
fields: {
|
|
1718
|
-
key: string;
|
|
1719
|
-
type: Type;
|
|
1720
|
-
capabilities?: {
|
|
1721
|
-
sortable: boolean;
|
|
1722
|
-
queryOperators: QueryOperator[];
|
|
1723
|
-
};
|
|
1724
|
-
}[];
|
|
1725
|
-
};
|
|
1726
|
-
array?: {
|
|
1727
|
-
elementType: Type;
|
|
1728
|
-
};
|
|
1729
|
-
pageLink?: {
|
|
1730
|
-
calculator?: {
|
|
1731
|
-
fieldsPattern?: {
|
|
1732
|
-
pattern: string;
|
|
1733
|
-
lowercase: boolean;
|
|
1734
|
-
};
|
|
1735
|
-
urlizedOnlyPattern?: {
|
|
1736
|
-
pattern: string;
|
|
1737
|
-
};
|
|
1738
|
-
};
|
|
1739
|
-
};
|
|
1740
|
-
};
|
|
1741
|
-
systemField: boolean;
|
|
1742
|
-
capabilities?: {
|
|
1743
|
-
sortable: boolean;
|
|
1744
|
-
queryOperators: QueryOperator[];
|
|
1745
|
-
};
|
|
1746
|
-
encrypted: boolean;
|
|
1747
|
-
plugins: {
|
|
1748
|
-
cmsOptions?: {
|
|
1749
|
-
internal: boolean;
|
|
1750
|
-
};
|
|
1751
|
-
type: FieldPluginType;
|
|
1752
|
-
}[];
|
|
1753
|
-
}[];
|
|
1754
|
-
permissions?: {
|
|
1755
|
-
insert: Role;
|
|
1756
|
-
update: Role;
|
|
1757
|
-
remove: Role;
|
|
1758
|
-
read: Role;
|
|
1759
|
-
};
|
|
1760
|
-
plugins: {
|
|
1761
|
-
publishOptions?: {
|
|
1762
|
-
defaultStatus: Status$1;
|
|
1763
|
-
};
|
|
1764
|
-
singleItemOptions?: {
|
|
1765
|
-
singleItemId: string;
|
|
1766
|
-
};
|
|
1767
|
-
urlizedOptions?: {
|
|
1768
|
-
format: Format;
|
|
1769
|
-
};
|
|
1770
|
-
multilingualOptions?: {
|
|
1771
|
-
translatableFieldKeys: string[];
|
|
1772
|
-
};
|
|
1773
|
-
editablePageLinkOptions?: {
|
|
1774
|
-
isPersisted: boolean;
|
|
1775
|
-
isMutable: boolean;
|
|
1776
|
-
};
|
|
1777
|
-
cmsOptions?: {
|
|
1778
|
-
siteSort?: {
|
|
1779
|
-
sort: {
|
|
1780
|
-
fieldKey: string;
|
|
1781
|
-
direction: Direction;
|
|
1782
|
-
}[];
|
|
1783
|
-
};
|
|
1784
|
-
};
|
|
1785
|
-
type: PluginType;
|
|
1786
|
-
}[];
|
|
1787
|
-
pagingModes: PagingMode[];
|
|
1788
|
-
};
|
|
1789
|
-
referencedCollections: {
|
|
1790
|
-
_id: string;
|
|
1791
|
-
collectionType: CollectionType;
|
|
1792
|
-
defaultDisplayOrder?: {
|
|
1793
|
-
fieldKey: string;
|
|
1794
|
-
direction: Direction;
|
|
1795
|
-
};
|
|
1796
|
-
capabilities?: {
|
|
1797
|
-
dataOperations: DataOperation[];
|
|
1798
|
-
collectionOperations: CollectionOperation[];
|
|
1799
|
-
indexLimits?: {
|
|
1800
|
-
regular: number;
|
|
1801
|
-
unique: number;
|
|
1802
|
-
total: number;
|
|
1803
|
-
};
|
|
1804
|
-
};
|
|
1805
|
-
fields: {
|
|
1806
|
-
key: string;
|
|
1807
|
-
type: Type;
|
|
1808
|
-
typeMetadata?: {
|
|
1809
|
-
reference?: {
|
|
1810
|
-
referencedCollectionId: string;
|
|
1811
|
-
};
|
|
1812
|
-
multiReference?: {
|
|
1813
|
-
referencedCollectionId: string;
|
|
1814
|
-
referencingFieldKey: string;
|
|
1815
|
-
referencingDisplayName: string;
|
|
1816
|
-
};
|
|
1817
|
-
object?: {
|
|
1818
|
-
fields: {
|
|
1819
|
-
key: string;
|
|
1820
|
-
type: Type;
|
|
1821
|
-
capabilities?: {
|
|
1822
|
-
sortable: boolean;
|
|
1823
|
-
queryOperators: QueryOperator[];
|
|
1824
|
-
};
|
|
1825
|
-
}[];
|
|
1826
|
-
};
|
|
1827
|
-
array?: {
|
|
1828
|
-
elementType: Type;
|
|
1829
|
-
};
|
|
1830
|
-
pageLink?: {
|
|
1831
|
-
calculator?: {
|
|
1832
|
-
fieldsPattern?: {
|
|
1833
|
-
pattern: string;
|
|
1834
|
-
lowercase: boolean;
|
|
1835
|
-
};
|
|
1836
|
-
urlizedOnlyPattern?: {
|
|
1837
|
-
pattern: string;
|
|
1838
|
-
};
|
|
1839
|
-
};
|
|
1840
|
-
};
|
|
1841
|
-
};
|
|
1842
|
-
systemField: boolean;
|
|
1843
|
-
capabilities?: {
|
|
1844
|
-
sortable: boolean;
|
|
1845
|
-
queryOperators: QueryOperator[];
|
|
1846
|
-
};
|
|
1847
|
-
encrypted: boolean;
|
|
1848
|
-
plugins: {
|
|
1849
|
-
cmsOptions?: {
|
|
1850
|
-
internal: boolean;
|
|
1851
|
-
};
|
|
1852
|
-
type: FieldPluginType;
|
|
1853
|
-
}[];
|
|
1854
|
-
}[];
|
|
1855
|
-
permissions?: {
|
|
1856
|
-
insert: Role;
|
|
1857
|
-
update: Role;
|
|
1858
|
-
remove: Role;
|
|
1859
|
-
read: Role;
|
|
1860
|
-
};
|
|
1861
|
-
plugins: {
|
|
1862
|
-
publishOptions?: {
|
|
1863
|
-
defaultStatus: Status$1;
|
|
1864
|
-
};
|
|
1865
|
-
singleItemOptions?: {
|
|
1866
|
-
singleItemId: string;
|
|
1867
|
-
};
|
|
1868
|
-
urlizedOptions?: {
|
|
1869
|
-
format: Format;
|
|
1870
|
-
};
|
|
1871
|
-
multilingualOptions?: {
|
|
1872
|
-
translatableFieldKeys: string[];
|
|
1873
|
-
};
|
|
1874
|
-
editablePageLinkOptions?: {
|
|
1875
|
-
isPersisted: boolean;
|
|
1876
|
-
isMutable: boolean;
|
|
1877
|
-
};
|
|
1878
|
-
cmsOptions?: {
|
|
1879
|
-
siteSort?: {
|
|
1880
|
-
sort: {
|
|
1881
|
-
fieldKey: string;
|
|
1882
|
-
direction: Direction;
|
|
1883
|
-
}[];
|
|
1884
|
-
};
|
|
1885
|
-
};
|
|
1886
|
-
type: PluginType;
|
|
1887
|
-
}[];
|
|
1888
|
-
pagingModes: PagingMode[];
|
|
1889
|
-
}[];
|
|
1650
|
+
collection?: DataCollectionNonNullableFields;
|
|
1651
|
+
referencedCollections: DataCollectionNonNullableFields[];
|
|
1890
1652
|
}
|
|
1891
1653
|
interface ListDataCollectionsResponseNonNullableFields {
|
|
1892
|
-
collections:
|
|
1893
|
-
_id: string;
|
|
1894
|
-
collectionType: CollectionType;
|
|
1895
|
-
defaultDisplayOrder?: {
|
|
1896
|
-
fieldKey: string;
|
|
1897
|
-
direction: Direction;
|
|
1898
|
-
};
|
|
1899
|
-
capabilities?: {
|
|
1900
|
-
dataOperations: DataOperation[];
|
|
1901
|
-
collectionOperations: CollectionOperation[];
|
|
1902
|
-
indexLimits?: {
|
|
1903
|
-
regular: number;
|
|
1904
|
-
unique: number;
|
|
1905
|
-
total: number;
|
|
1906
|
-
};
|
|
1907
|
-
};
|
|
1908
|
-
fields: {
|
|
1909
|
-
key: string;
|
|
1910
|
-
type: Type;
|
|
1911
|
-
typeMetadata?: {
|
|
1912
|
-
reference?: {
|
|
1913
|
-
referencedCollectionId: string;
|
|
1914
|
-
};
|
|
1915
|
-
multiReference?: {
|
|
1916
|
-
referencedCollectionId: string;
|
|
1917
|
-
referencingFieldKey: string;
|
|
1918
|
-
referencingDisplayName: string;
|
|
1919
|
-
};
|
|
1920
|
-
object?: {
|
|
1921
|
-
fields: {
|
|
1922
|
-
key: string;
|
|
1923
|
-
type: Type;
|
|
1924
|
-
capabilities?: {
|
|
1925
|
-
sortable: boolean;
|
|
1926
|
-
queryOperators: QueryOperator[];
|
|
1927
|
-
};
|
|
1928
|
-
}[];
|
|
1929
|
-
};
|
|
1930
|
-
array?: {
|
|
1931
|
-
elementType: Type;
|
|
1932
|
-
};
|
|
1933
|
-
pageLink?: {
|
|
1934
|
-
calculator?: {
|
|
1935
|
-
fieldsPattern?: {
|
|
1936
|
-
pattern: string;
|
|
1937
|
-
lowercase: boolean;
|
|
1938
|
-
};
|
|
1939
|
-
urlizedOnlyPattern?: {
|
|
1940
|
-
pattern: string;
|
|
1941
|
-
};
|
|
1942
|
-
};
|
|
1943
|
-
};
|
|
1944
|
-
};
|
|
1945
|
-
systemField: boolean;
|
|
1946
|
-
capabilities?: {
|
|
1947
|
-
sortable: boolean;
|
|
1948
|
-
queryOperators: QueryOperator[];
|
|
1949
|
-
};
|
|
1950
|
-
encrypted: boolean;
|
|
1951
|
-
plugins: {
|
|
1952
|
-
cmsOptions?: {
|
|
1953
|
-
internal: boolean;
|
|
1954
|
-
};
|
|
1955
|
-
type: FieldPluginType;
|
|
1956
|
-
}[];
|
|
1957
|
-
}[];
|
|
1958
|
-
permissions?: {
|
|
1959
|
-
insert: Role;
|
|
1960
|
-
update: Role;
|
|
1961
|
-
remove: Role;
|
|
1962
|
-
read: Role;
|
|
1963
|
-
};
|
|
1964
|
-
plugins: {
|
|
1965
|
-
publishOptions?: {
|
|
1966
|
-
defaultStatus: Status$1;
|
|
1967
|
-
};
|
|
1968
|
-
singleItemOptions?: {
|
|
1969
|
-
singleItemId: string;
|
|
1970
|
-
};
|
|
1971
|
-
urlizedOptions?: {
|
|
1972
|
-
format: Format;
|
|
1973
|
-
};
|
|
1974
|
-
multilingualOptions?: {
|
|
1975
|
-
translatableFieldKeys: string[];
|
|
1976
|
-
};
|
|
1977
|
-
editablePageLinkOptions?: {
|
|
1978
|
-
isPersisted: boolean;
|
|
1979
|
-
isMutable: boolean;
|
|
1980
|
-
};
|
|
1981
|
-
cmsOptions?: {
|
|
1982
|
-
siteSort?: {
|
|
1983
|
-
sort: {
|
|
1984
|
-
fieldKey: string;
|
|
1985
|
-
direction: Direction;
|
|
1986
|
-
}[];
|
|
1987
|
-
};
|
|
1988
|
-
};
|
|
1989
|
-
type: PluginType;
|
|
1990
|
-
}[];
|
|
1991
|
-
pagingModes: PagingMode[];
|
|
1992
|
-
}[];
|
|
1654
|
+
collections: DataCollectionNonNullableFields[];
|
|
1993
1655
|
}
|
|
1994
1656
|
interface UpdateDataCollectionResponseNonNullableFields {
|
|
1995
|
-
collection?:
|
|
1996
|
-
_id: string;
|
|
1997
|
-
collectionType: CollectionType;
|
|
1998
|
-
defaultDisplayOrder?: {
|
|
1999
|
-
fieldKey: string;
|
|
2000
|
-
direction: Direction;
|
|
2001
|
-
};
|
|
2002
|
-
capabilities?: {
|
|
2003
|
-
dataOperations: DataOperation[];
|
|
2004
|
-
collectionOperations: CollectionOperation[];
|
|
2005
|
-
indexLimits?: {
|
|
2006
|
-
regular: number;
|
|
2007
|
-
unique: number;
|
|
2008
|
-
total: number;
|
|
2009
|
-
};
|
|
2010
|
-
};
|
|
2011
|
-
fields: {
|
|
2012
|
-
key: string;
|
|
2013
|
-
type: Type;
|
|
2014
|
-
typeMetadata?: {
|
|
2015
|
-
reference?: {
|
|
2016
|
-
referencedCollectionId: string;
|
|
2017
|
-
};
|
|
2018
|
-
multiReference?: {
|
|
2019
|
-
referencedCollectionId: string;
|
|
2020
|
-
referencingFieldKey: string;
|
|
2021
|
-
referencingDisplayName: string;
|
|
2022
|
-
};
|
|
2023
|
-
object?: {
|
|
2024
|
-
fields: {
|
|
2025
|
-
key: string;
|
|
2026
|
-
type: Type;
|
|
2027
|
-
capabilities?: {
|
|
2028
|
-
sortable: boolean;
|
|
2029
|
-
queryOperators: QueryOperator[];
|
|
2030
|
-
};
|
|
2031
|
-
}[];
|
|
2032
|
-
};
|
|
2033
|
-
array?: {
|
|
2034
|
-
elementType: Type;
|
|
2035
|
-
};
|
|
2036
|
-
pageLink?: {
|
|
2037
|
-
calculator?: {
|
|
2038
|
-
fieldsPattern?: {
|
|
2039
|
-
pattern: string;
|
|
2040
|
-
lowercase: boolean;
|
|
2041
|
-
};
|
|
2042
|
-
urlizedOnlyPattern?: {
|
|
2043
|
-
pattern: string;
|
|
2044
|
-
};
|
|
2045
|
-
};
|
|
2046
|
-
};
|
|
2047
|
-
};
|
|
2048
|
-
systemField: boolean;
|
|
2049
|
-
capabilities?: {
|
|
2050
|
-
sortable: boolean;
|
|
2051
|
-
queryOperators: QueryOperator[];
|
|
2052
|
-
};
|
|
2053
|
-
encrypted: boolean;
|
|
2054
|
-
plugins: {
|
|
2055
|
-
cmsOptions?: {
|
|
2056
|
-
internal: boolean;
|
|
2057
|
-
};
|
|
2058
|
-
type: FieldPluginType;
|
|
2059
|
-
}[];
|
|
2060
|
-
}[];
|
|
2061
|
-
permissions?: {
|
|
2062
|
-
insert: Role;
|
|
2063
|
-
update: Role;
|
|
2064
|
-
remove: Role;
|
|
2065
|
-
read: Role;
|
|
2066
|
-
};
|
|
2067
|
-
plugins: {
|
|
2068
|
-
publishOptions?: {
|
|
2069
|
-
defaultStatus: Status$1;
|
|
2070
|
-
};
|
|
2071
|
-
singleItemOptions?: {
|
|
2072
|
-
singleItemId: string;
|
|
2073
|
-
};
|
|
2074
|
-
urlizedOptions?: {
|
|
2075
|
-
format: Format;
|
|
2076
|
-
};
|
|
2077
|
-
multilingualOptions?: {
|
|
2078
|
-
translatableFieldKeys: string[];
|
|
2079
|
-
};
|
|
2080
|
-
editablePageLinkOptions?: {
|
|
2081
|
-
isPersisted: boolean;
|
|
2082
|
-
isMutable: boolean;
|
|
2083
|
-
};
|
|
2084
|
-
cmsOptions?: {
|
|
2085
|
-
siteSort?: {
|
|
2086
|
-
sort: {
|
|
2087
|
-
fieldKey: string;
|
|
2088
|
-
direction: Direction;
|
|
2089
|
-
}[];
|
|
2090
|
-
};
|
|
2091
|
-
};
|
|
2092
|
-
type: PluginType;
|
|
2093
|
-
}[];
|
|
2094
|
-
pagingModes: PagingMode[];
|
|
2095
|
-
};
|
|
1657
|
+
collection?: DataCollectionNonNullableFields;
|
|
2096
1658
|
}
|
|
2097
1659
|
interface BaseEventMetadata$1 {
|
|
2098
1660
|
/** App instance ID. */
|
|
@@ -2191,310 +1753,10 @@ interface ListDataCollectionsOptions {
|
|
|
2191
1753
|
declare const __metadata$2: {
|
|
2192
1754
|
PACKAGE_NAME: string;
|
|
2193
1755
|
};
|
|
2194
|
-
declare function createDataCollection(httpClient: HttpClient): (collection: DataCollection) => Promise<DataCollection &
|
|
2195
|
-
|
|
2196
|
-
collectionType: CollectionType;
|
|
2197
|
-
defaultDisplayOrder?: {
|
|
2198
|
-
fieldKey: string;
|
|
2199
|
-
direction: Direction;
|
|
2200
|
-
} | undefined;
|
|
2201
|
-
capabilities?: {
|
|
2202
|
-
dataOperations: DataOperation[];
|
|
2203
|
-
collectionOperations: CollectionOperation[];
|
|
2204
|
-
indexLimits?: {
|
|
2205
|
-
regular: number;
|
|
2206
|
-
unique: number;
|
|
2207
|
-
total: number;
|
|
2208
|
-
} | undefined;
|
|
2209
|
-
} | undefined;
|
|
2210
|
-
fields: {
|
|
2211
|
-
key: string;
|
|
2212
|
-
type: Type;
|
|
2213
|
-
typeMetadata?: {
|
|
2214
|
-
reference?: {
|
|
2215
|
-
referencedCollectionId: string;
|
|
2216
|
-
} | undefined;
|
|
2217
|
-
multiReference?: {
|
|
2218
|
-
referencedCollectionId: string;
|
|
2219
|
-
referencingFieldKey: string;
|
|
2220
|
-
referencingDisplayName: string;
|
|
2221
|
-
} | undefined;
|
|
2222
|
-
object?: {
|
|
2223
|
-
fields: {
|
|
2224
|
-
key: string;
|
|
2225
|
-
type: Type;
|
|
2226
|
-
capabilities?: {
|
|
2227
|
-
sortable: boolean;
|
|
2228
|
-
queryOperators: QueryOperator[];
|
|
2229
|
-
} | undefined;
|
|
2230
|
-
}[];
|
|
2231
|
-
} | undefined;
|
|
2232
|
-
array?: {
|
|
2233
|
-
elementType: Type;
|
|
2234
|
-
} | undefined;
|
|
2235
|
-
pageLink?: {
|
|
2236
|
-
calculator?: {
|
|
2237
|
-
fieldsPattern?: {
|
|
2238
|
-
pattern: string;
|
|
2239
|
-
lowercase: boolean;
|
|
2240
|
-
} | undefined;
|
|
2241
|
-
urlizedOnlyPattern?: {
|
|
2242
|
-
pattern: string;
|
|
2243
|
-
} | undefined;
|
|
2244
|
-
} | undefined;
|
|
2245
|
-
} | undefined;
|
|
2246
|
-
} | undefined;
|
|
2247
|
-
systemField: boolean;
|
|
2248
|
-
capabilities?: {
|
|
2249
|
-
sortable: boolean;
|
|
2250
|
-
queryOperators: QueryOperator[];
|
|
2251
|
-
} | undefined;
|
|
2252
|
-
encrypted: boolean;
|
|
2253
|
-
plugins: {
|
|
2254
|
-
cmsOptions?: {
|
|
2255
|
-
internal: boolean;
|
|
2256
|
-
} | undefined;
|
|
2257
|
-
type: FieldPluginType;
|
|
2258
|
-
}[];
|
|
2259
|
-
}[];
|
|
2260
|
-
permissions?: {
|
|
2261
|
-
insert: Role;
|
|
2262
|
-
update: Role;
|
|
2263
|
-
remove: Role;
|
|
2264
|
-
read: Role;
|
|
2265
|
-
} | undefined;
|
|
2266
|
-
plugins: {
|
|
2267
|
-
publishOptions?: {
|
|
2268
|
-
defaultStatus: Status$1;
|
|
2269
|
-
} | undefined;
|
|
2270
|
-
singleItemOptions?: {
|
|
2271
|
-
singleItemId: string;
|
|
2272
|
-
} | undefined;
|
|
2273
|
-
urlizedOptions?: {
|
|
2274
|
-
format: Format;
|
|
2275
|
-
} | undefined;
|
|
2276
|
-
multilingualOptions?: {
|
|
2277
|
-
translatableFieldKeys: string[];
|
|
2278
|
-
} | undefined;
|
|
2279
|
-
editablePageLinkOptions?: {
|
|
2280
|
-
isPersisted: boolean;
|
|
2281
|
-
isMutable: boolean;
|
|
2282
|
-
} | undefined;
|
|
2283
|
-
cmsOptions?: {
|
|
2284
|
-
siteSort?: {
|
|
2285
|
-
sort: {
|
|
2286
|
-
fieldKey: string;
|
|
2287
|
-
direction: Direction;
|
|
2288
|
-
}[];
|
|
2289
|
-
} | undefined;
|
|
2290
|
-
} | undefined;
|
|
2291
|
-
type: PluginType;
|
|
2292
|
-
}[];
|
|
2293
|
-
pagingModes: PagingMode[];
|
|
2294
|
-
}>;
|
|
2295
|
-
declare function getDataCollection(httpClient: HttpClient): (dataCollectionId: string, options?: GetDataCollectionOptions) => Promise<DataCollection & {
|
|
2296
|
-
_id: string;
|
|
2297
|
-
collectionType: CollectionType;
|
|
2298
|
-
defaultDisplayOrder?: {
|
|
2299
|
-
fieldKey: string;
|
|
2300
|
-
direction: Direction;
|
|
2301
|
-
} | undefined;
|
|
2302
|
-
capabilities?: {
|
|
2303
|
-
dataOperations: DataOperation[];
|
|
2304
|
-
collectionOperations: CollectionOperation[];
|
|
2305
|
-
indexLimits?: {
|
|
2306
|
-
regular: number;
|
|
2307
|
-
unique: number;
|
|
2308
|
-
total: number;
|
|
2309
|
-
} | undefined;
|
|
2310
|
-
} | undefined;
|
|
2311
|
-
fields: {
|
|
2312
|
-
key: string;
|
|
2313
|
-
type: Type;
|
|
2314
|
-
typeMetadata?: {
|
|
2315
|
-
reference?: {
|
|
2316
|
-
referencedCollectionId: string;
|
|
2317
|
-
} | undefined;
|
|
2318
|
-
multiReference?: {
|
|
2319
|
-
referencedCollectionId: string;
|
|
2320
|
-
referencingFieldKey: string;
|
|
2321
|
-
referencingDisplayName: string;
|
|
2322
|
-
} | undefined;
|
|
2323
|
-
object?: {
|
|
2324
|
-
fields: {
|
|
2325
|
-
key: string;
|
|
2326
|
-
type: Type;
|
|
2327
|
-
capabilities?: {
|
|
2328
|
-
sortable: boolean;
|
|
2329
|
-
queryOperators: QueryOperator[];
|
|
2330
|
-
} | undefined;
|
|
2331
|
-
}[];
|
|
2332
|
-
} | undefined;
|
|
2333
|
-
array?: {
|
|
2334
|
-
elementType: Type;
|
|
2335
|
-
} | undefined;
|
|
2336
|
-
pageLink?: {
|
|
2337
|
-
calculator?: {
|
|
2338
|
-
fieldsPattern?: {
|
|
2339
|
-
pattern: string;
|
|
2340
|
-
lowercase: boolean;
|
|
2341
|
-
} | undefined;
|
|
2342
|
-
urlizedOnlyPattern?: {
|
|
2343
|
-
pattern: string;
|
|
2344
|
-
} | undefined;
|
|
2345
|
-
} | undefined;
|
|
2346
|
-
} | undefined;
|
|
2347
|
-
} | undefined;
|
|
2348
|
-
systemField: boolean;
|
|
2349
|
-
capabilities?: {
|
|
2350
|
-
sortable: boolean;
|
|
2351
|
-
queryOperators: QueryOperator[];
|
|
2352
|
-
} | undefined;
|
|
2353
|
-
encrypted: boolean;
|
|
2354
|
-
plugins: {
|
|
2355
|
-
cmsOptions?: {
|
|
2356
|
-
internal: boolean;
|
|
2357
|
-
} | undefined;
|
|
2358
|
-
type: FieldPluginType;
|
|
2359
|
-
}[];
|
|
2360
|
-
}[];
|
|
2361
|
-
permissions?: {
|
|
2362
|
-
insert: Role;
|
|
2363
|
-
update: Role;
|
|
2364
|
-
remove: Role;
|
|
2365
|
-
read: Role;
|
|
2366
|
-
} | undefined;
|
|
2367
|
-
plugins: {
|
|
2368
|
-
publishOptions?: {
|
|
2369
|
-
defaultStatus: Status$1;
|
|
2370
|
-
} | undefined;
|
|
2371
|
-
singleItemOptions?: {
|
|
2372
|
-
singleItemId: string;
|
|
2373
|
-
} | undefined;
|
|
2374
|
-
urlizedOptions?: {
|
|
2375
|
-
format: Format;
|
|
2376
|
-
} | undefined;
|
|
2377
|
-
multilingualOptions?: {
|
|
2378
|
-
translatableFieldKeys: string[];
|
|
2379
|
-
} | undefined;
|
|
2380
|
-
editablePageLinkOptions?: {
|
|
2381
|
-
isPersisted: boolean;
|
|
2382
|
-
isMutable: boolean;
|
|
2383
|
-
} | undefined;
|
|
2384
|
-
cmsOptions?: {
|
|
2385
|
-
siteSort?: {
|
|
2386
|
-
sort: {
|
|
2387
|
-
fieldKey: string;
|
|
2388
|
-
direction: Direction;
|
|
2389
|
-
}[];
|
|
2390
|
-
} | undefined;
|
|
2391
|
-
} | undefined;
|
|
2392
|
-
type: PluginType;
|
|
2393
|
-
}[];
|
|
2394
|
-
pagingModes: PagingMode[];
|
|
2395
|
-
}>;
|
|
1756
|
+
declare function createDataCollection(httpClient: HttpClient): (collection: DataCollection) => Promise<DataCollection & DataCollectionNonNullableFields>;
|
|
1757
|
+
declare function getDataCollection(httpClient: HttpClient): (dataCollectionId: string, options?: GetDataCollectionOptions) => Promise<DataCollection & DataCollectionNonNullableFields>;
|
|
2396
1758
|
declare function listDataCollections(httpClient: HttpClient): (options?: ListDataCollectionsOptions) => Promise<ListDataCollectionsResponse & ListDataCollectionsResponseNonNullableFields>;
|
|
2397
|
-
declare function updateDataCollection(httpClient: HttpClient): (collection: DataCollection) => Promise<DataCollection &
|
|
2398
|
-
_id: string;
|
|
2399
|
-
collectionType: CollectionType;
|
|
2400
|
-
defaultDisplayOrder?: {
|
|
2401
|
-
fieldKey: string;
|
|
2402
|
-
direction: Direction;
|
|
2403
|
-
} | undefined;
|
|
2404
|
-
capabilities?: {
|
|
2405
|
-
dataOperations: DataOperation[];
|
|
2406
|
-
collectionOperations: CollectionOperation[];
|
|
2407
|
-
indexLimits?: {
|
|
2408
|
-
regular: number;
|
|
2409
|
-
unique: number;
|
|
2410
|
-
total: number;
|
|
2411
|
-
} | undefined;
|
|
2412
|
-
} | undefined;
|
|
2413
|
-
fields: {
|
|
2414
|
-
key: string;
|
|
2415
|
-
type: Type;
|
|
2416
|
-
typeMetadata?: {
|
|
2417
|
-
reference?: {
|
|
2418
|
-
referencedCollectionId: string;
|
|
2419
|
-
} | undefined;
|
|
2420
|
-
multiReference?: {
|
|
2421
|
-
referencedCollectionId: string;
|
|
2422
|
-
referencingFieldKey: string;
|
|
2423
|
-
referencingDisplayName: string;
|
|
2424
|
-
} | undefined;
|
|
2425
|
-
object?: {
|
|
2426
|
-
fields: {
|
|
2427
|
-
key: string;
|
|
2428
|
-
type: Type;
|
|
2429
|
-
capabilities?: {
|
|
2430
|
-
sortable: boolean;
|
|
2431
|
-
queryOperators: QueryOperator[];
|
|
2432
|
-
} | undefined;
|
|
2433
|
-
}[];
|
|
2434
|
-
} | undefined;
|
|
2435
|
-
array?: {
|
|
2436
|
-
elementType: Type;
|
|
2437
|
-
} | undefined;
|
|
2438
|
-
pageLink?: {
|
|
2439
|
-
calculator?: {
|
|
2440
|
-
fieldsPattern?: {
|
|
2441
|
-
pattern: string;
|
|
2442
|
-
lowercase: boolean;
|
|
2443
|
-
} | undefined;
|
|
2444
|
-
urlizedOnlyPattern?: {
|
|
2445
|
-
pattern: string;
|
|
2446
|
-
} | undefined;
|
|
2447
|
-
} | undefined;
|
|
2448
|
-
} | undefined;
|
|
2449
|
-
} | undefined;
|
|
2450
|
-
systemField: boolean;
|
|
2451
|
-
capabilities?: {
|
|
2452
|
-
sortable: boolean;
|
|
2453
|
-
queryOperators: QueryOperator[];
|
|
2454
|
-
} | undefined;
|
|
2455
|
-
encrypted: boolean;
|
|
2456
|
-
plugins: {
|
|
2457
|
-
cmsOptions?: {
|
|
2458
|
-
internal: boolean;
|
|
2459
|
-
} | undefined;
|
|
2460
|
-
type: FieldPluginType;
|
|
2461
|
-
}[];
|
|
2462
|
-
}[];
|
|
2463
|
-
permissions?: {
|
|
2464
|
-
insert: Role;
|
|
2465
|
-
update: Role;
|
|
2466
|
-
remove: Role;
|
|
2467
|
-
read: Role;
|
|
2468
|
-
} | undefined;
|
|
2469
|
-
plugins: {
|
|
2470
|
-
publishOptions?: {
|
|
2471
|
-
defaultStatus: Status$1;
|
|
2472
|
-
} | undefined;
|
|
2473
|
-
singleItemOptions?: {
|
|
2474
|
-
singleItemId: string;
|
|
2475
|
-
} | undefined;
|
|
2476
|
-
urlizedOptions?: {
|
|
2477
|
-
format: Format;
|
|
2478
|
-
} | undefined;
|
|
2479
|
-
multilingualOptions?: {
|
|
2480
|
-
translatableFieldKeys: string[];
|
|
2481
|
-
} | undefined;
|
|
2482
|
-
editablePageLinkOptions?: {
|
|
2483
|
-
isPersisted: boolean;
|
|
2484
|
-
isMutable: boolean;
|
|
2485
|
-
} | undefined;
|
|
2486
|
-
cmsOptions?: {
|
|
2487
|
-
siteSort?: {
|
|
2488
|
-
sort: {
|
|
2489
|
-
fieldKey: string;
|
|
2490
|
-
direction: Direction;
|
|
2491
|
-
}[];
|
|
2492
|
-
} | undefined;
|
|
2493
|
-
} | undefined;
|
|
2494
|
-
type: PluginType;
|
|
2495
|
-
}[];
|
|
2496
|
-
pagingModes: PagingMode[];
|
|
2497
|
-
}>;
|
|
1759
|
+
declare function updateDataCollection(httpClient: HttpClient): (collection: DataCollection) => Promise<DataCollection & DataCollectionNonNullableFields>;
|
|
2498
1760
|
declare function deleteDataCollection(httpClient: HttpClient): (dataCollectionId: string) => Promise<void>;
|
|
2499
1761
|
declare const onDataCollectionClonedEvent: EventDefinition<DataCollectionClonedEnvelope, "wix.data.v2.data_collection_data_collection_cloned_event">;
|
|
2500
1762
|
declare const onDataCollectionChangedEvent: EventDefinition<DataCollectionChangedEnvelope, "wix.data.v2.data_collection_data_collection_changed_event">;
|
|
@@ -2531,6 +1793,7 @@ type index_d$2_DataCollectionClonedEnvelope = DataCollectionClonedEnvelope;
|
|
|
2531
1793
|
type index_d$2_DataCollectionClonedEvent = DataCollectionClonedEvent;
|
|
2532
1794
|
type index_d$2_DataCollectionCreatedEnvelope = DataCollectionCreatedEnvelope;
|
|
2533
1795
|
type index_d$2_DataCollectionDeletedEnvelope = DataCollectionDeletedEnvelope;
|
|
1796
|
+
type index_d$2_DataCollectionNonNullableFields = DataCollectionNonNullableFields;
|
|
2534
1797
|
type index_d$2_DataCollectionUpdatedEnvelope = DataCollectionUpdatedEnvelope;
|
|
2535
1798
|
type index_d$2_DataOperation = DataOperation;
|
|
2536
1799
|
declare const index_d$2_DataOperation: typeof DataOperation;
|
|
@@ -2614,7 +1877,7 @@ declare const index_d$2_onDataCollectionDeleted: typeof onDataCollectionDeleted;
|
|
|
2614
1877
|
declare const index_d$2_onDataCollectionUpdated: typeof onDataCollectionUpdated;
|
|
2615
1878
|
declare const index_d$2_updateDataCollection: typeof updateDataCollection;
|
|
2616
1879
|
declare namespace index_d$2 {
|
|
2617
|
-
export { type ActionEvent$1 as ActionEvent, type index_d$2_ArraySizeRange as ArraySizeRange, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_BulkGetDataCollectionsPageBySnapshotsRequest as BulkGetDataCollectionsPageBySnapshotsRequest, type index_d$2_BulkGetDataCollectionsPageBySnapshotsResponse as BulkGetDataCollectionsPageBySnapshotsResponse, type index_d$2_BulkGetDataCollectionsRequest as BulkGetDataCollectionsRequest, type index_d$2_BulkGetDataCollectionsResponse as BulkGetDataCollectionsResponse, type index_d$2_Calculator as Calculator, type index_d$2_CalculatorPatternOneOf as CalculatorPatternOneOf, type index_d$2_CmsOptions as CmsOptions, type index_d$2_CollectionCapabilities as CollectionCapabilities, index_d$2_CollectionOperation as CollectionOperation, index_d$2_CollectionType as CollectionType, type index_d$2_CreateDataCollectionFieldRequest as CreateDataCollectionFieldRequest, type index_d$2_CreateDataCollectionFieldResponse as CreateDataCollectionFieldResponse, type index_d$2_CreateDataCollectionRequest as CreateDataCollectionRequest, type index_d$2_CreateDataCollectionResponse as CreateDataCollectionResponse, type index_d$2_CreateDataCollectionResponseNonNullableFields as CreateDataCollectionResponseNonNullableFields, type index_d$2_CreateDataCollectionsSnapshotRequest as CreateDataCollectionsSnapshotRequest, type index_d$2_CreateDataCollectionsSnapshotResponse as CreateDataCollectionsSnapshotResponse, type index_d$2_CreateMigratedCollectionsSnapshotRequest as CreateMigratedCollectionsSnapshotRequest, type index_d$2_CreateMigratedCollectionsSnapshotResponse as CreateMigratedCollectionsSnapshotResponse, type index_d$2_DataCollection as DataCollection, type index_d$2_DataCollectionChangedEnvelope as DataCollectionChangedEnvelope, type index_d$2_DataCollectionChangedEvent as DataCollectionChangedEvent, type index_d$2_DataCollectionClonedEnvelope as DataCollectionClonedEnvelope, type index_d$2_DataCollectionClonedEvent as DataCollectionClonedEvent, type index_d$2_DataCollectionCreatedEnvelope as DataCollectionCreatedEnvelope, type index_d$2_DataCollectionDeletedEnvelope as DataCollectionDeletedEnvelope, type index_d$2_DataCollectionUpdatedEnvelope as DataCollectionUpdatedEnvelope, index_d$2_DataOperation as DataOperation, type index_d$2_DeleteDataCollectionFieldRequest as DeleteDataCollectionFieldRequest, type index_d$2_DeleteDataCollectionFieldResponse as DeleteDataCollectionFieldResponse, type index_d$2_DeleteDataCollectionRequest as DeleteDataCollectionRequest, type index_d$2_DeleteDataCollectionResponse as DeleteDataCollectionResponse, type index_d$2_DeleteDataCollectionsSnapshotRequest as DeleteDataCollectionsSnapshotRequest, type index_d$2_DeleteDataCollectionsSnapshotResponse as DeleteDataCollectionsSnapshotResponse, index_d$2_Direction as Direction, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type Failure$1 as Failure, type Field$1 as Field, type index_d$2_FieldCapabilities as FieldCapabilities, type index_d$2_FieldPlugin as FieldPlugin, type index_d$2_FieldPluginOptionsOneOf as FieldPluginOptionsOneOf, index_d$2_FieldPluginType as FieldPluginType, type index_d$2_FieldRangeValidationsOneOf as FieldRangeValidationsOneOf, type FieldUpdate$1 as FieldUpdate, type index_d$2_FieldsPattern as FieldsPattern, index_d$2_Format as Format, type index_d$2_GetDataCollectionOptions as GetDataCollectionOptions, type index_d$2_GetDataCollectionRequest as GetDataCollectionRequest, type index_d$2_GetDataCollectionResponse as GetDataCollectionResponse, type index_d$2_GetDataCollectionResponseNonNullableFields as GetDataCollectionResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Index$1 as Index, type index_d$2_IndexField as IndexField, type index_d$2_IndexLimits as IndexLimits, index_d$2_IndexStatus as IndexStatus, type index_d$2_ListDataCollectionsOptions as ListDataCollectionsOptions, type index_d$2_ListDataCollectionsRequest as ListDataCollectionsRequest, type index_d$2_ListDataCollectionsResponse as ListDataCollectionsResponse, type index_d$2_ListDataCollectionsResponseNonNullableFields as ListDataCollectionsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_MultiReference as MultiReference, type index_d$2_MultilingualOptions as MultilingualOptions, type index_d$2_NumberRange as NumberRange, type index_d$2_ObjectField as ObjectField, Order$1 as Order, type index_d$2_PageLink as PageLink, type index_d$2_PageLinkPluginOptions as PageLinkPluginOptions, type Paging$2 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, index_d$2_PagingMode as PagingMode, type index_d$2_Permissions as Permissions, type index_d$2_Plugin as Plugin, type index_d$2_PluginCmsOptions as PluginCmsOptions, type index_d$2_PluginOptionsOneOf as PluginOptionsOneOf, index_d$2_PluginType as PluginType, type index_d$2_PluginUpdate as PluginUpdate, type PublishPluginOptions$1 as PublishPluginOptions, index_d$2_QueryOperator as QueryOperator, type index_d$2_Reference as Reference, type index_d$2_RestoreDataCollectionsFromSnapshotRequest as RestoreDataCollectionsFromSnapshotRequest, type index_d$2_RestoreDataCollectionsFromSnapshotResponse as RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo$1 as RestoreInfo, index_d$2_Role as Role, type index_d$2_SingleItemPluginOptions as SingleItemPluginOptions, type index_d$2_SiteSort as SiteSort, type index_d$2_SnapshotCollection as SnapshotCollection, type index_d$2_Sort as Sort, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, Status$1 as Status, type index_d$2_StringLengthRange as StringLengthRange, index_d$2_Type as Type, type index_d$2_TypeMetadata as TypeMetadata, type index_d$2_TypeMetadataMetadataOneOf as TypeMetadataMetadataOneOf, type index_d$2_UpdateDataCollectionFieldRequest as UpdateDataCollectionFieldRequest, type index_d$2_UpdateDataCollectionFieldResponse as UpdateDataCollectionFieldResponse, type index_d$2_UpdateDataCollectionRequest as UpdateDataCollectionRequest, type index_d$2_UpdateDataCollectionResponse as UpdateDataCollectionResponse, type index_d$2_UpdateDataCollectionResponseNonNullableFields as UpdateDataCollectionResponseNonNullableFields, type index_d$2_UrlizedOnlyPattern as UrlizedOnlyPattern, type index_d$2_UrlizedPluginOptions as UrlizedPluginOptions, WebhookIdentityType$1 as WebhookIdentityType, type index_d$2__Array as _Array, type index_d$2__Object as _Object, __metadata$2 as __metadata, index_d$2_createDataCollection as createDataCollection, index_d$2_deleteDataCollection as deleteDataCollection, index_d$2_getDataCollection as getDataCollection, index_d$2_listDataCollections as listDataCollections, index_d$2_onDataCollectionChangedEvent as onDataCollectionChangedEvent, index_d$2_onDataCollectionClonedEvent as onDataCollectionClonedEvent, index_d$2_onDataCollectionCreated as onDataCollectionCreated, index_d$2_onDataCollectionDeleted as onDataCollectionDeleted, index_d$2_onDataCollectionUpdated as onDataCollectionUpdated, index_d$2_updateDataCollection as updateDataCollection };
|
|
1880
|
+
export { type ActionEvent$1 as ActionEvent, type index_d$2_ArraySizeRange as ArraySizeRange, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$2_BulkGetDataCollectionsPageBySnapshotsRequest as BulkGetDataCollectionsPageBySnapshotsRequest, type index_d$2_BulkGetDataCollectionsPageBySnapshotsResponse as BulkGetDataCollectionsPageBySnapshotsResponse, type index_d$2_BulkGetDataCollectionsRequest as BulkGetDataCollectionsRequest, type index_d$2_BulkGetDataCollectionsResponse as BulkGetDataCollectionsResponse, type index_d$2_Calculator as Calculator, type index_d$2_CalculatorPatternOneOf as CalculatorPatternOneOf, type index_d$2_CmsOptions as CmsOptions, type index_d$2_CollectionCapabilities as CollectionCapabilities, index_d$2_CollectionOperation as CollectionOperation, index_d$2_CollectionType as CollectionType, type index_d$2_CreateDataCollectionFieldRequest as CreateDataCollectionFieldRequest, type index_d$2_CreateDataCollectionFieldResponse as CreateDataCollectionFieldResponse, type index_d$2_CreateDataCollectionRequest as CreateDataCollectionRequest, type index_d$2_CreateDataCollectionResponse as CreateDataCollectionResponse, type index_d$2_CreateDataCollectionResponseNonNullableFields as CreateDataCollectionResponseNonNullableFields, type index_d$2_CreateDataCollectionsSnapshotRequest as CreateDataCollectionsSnapshotRequest, type index_d$2_CreateDataCollectionsSnapshotResponse as CreateDataCollectionsSnapshotResponse, type index_d$2_CreateMigratedCollectionsSnapshotRequest as CreateMigratedCollectionsSnapshotRequest, type index_d$2_CreateMigratedCollectionsSnapshotResponse as CreateMigratedCollectionsSnapshotResponse, type index_d$2_DataCollection as DataCollection, type index_d$2_DataCollectionChangedEnvelope as DataCollectionChangedEnvelope, type index_d$2_DataCollectionChangedEvent as DataCollectionChangedEvent, type index_d$2_DataCollectionClonedEnvelope as DataCollectionClonedEnvelope, type index_d$2_DataCollectionClonedEvent as DataCollectionClonedEvent, type index_d$2_DataCollectionCreatedEnvelope as DataCollectionCreatedEnvelope, type index_d$2_DataCollectionDeletedEnvelope as DataCollectionDeletedEnvelope, type index_d$2_DataCollectionNonNullableFields as DataCollectionNonNullableFields, type index_d$2_DataCollectionUpdatedEnvelope as DataCollectionUpdatedEnvelope, index_d$2_DataOperation as DataOperation, type index_d$2_DeleteDataCollectionFieldRequest as DeleteDataCollectionFieldRequest, type index_d$2_DeleteDataCollectionFieldResponse as DeleteDataCollectionFieldResponse, type index_d$2_DeleteDataCollectionRequest as DeleteDataCollectionRequest, type index_d$2_DeleteDataCollectionResponse as DeleteDataCollectionResponse, type index_d$2_DeleteDataCollectionsSnapshotRequest as DeleteDataCollectionsSnapshotRequest, type index_d$2_DeleteDataCollectionsSnapshotResponse as DeleteDataCollectionsSnapshotResponse, index_d$2_Direction as Direction, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type Failure$1 as Failure, type Field$1 as Field, type index_d$2_FieldCapabilities as FieldCapabilities, type index_d$2_FieldPlugin as FieldPlugin, type index_d$2_FieldPluginOptionsOneOf as FieldPluginOptionsOneOf, index_d$2_FieldPluginType as FieldPluginType, type index_d$2_FieldRangeValidationsOneOf as FieldRangeValidationsOneOf, type FieldUpdate$1 as FieldUpdate, type index_d$2_FieldsPattern as FieldsPattern, index_d$2_Format as Format, type index_d$2_GetDataCollectionOptions as GetDataCollectionOptions, type index_d$2_GetDataCollectionRequest as GetDataCollectionRequest, type index_d$2_GetDataCollectionResponse as GetDataCollectionResponse, type index_d$2_GetDataCollectionResponseNonNullableFields as GetDataCollectionResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type Index$1 as Index, type index_d$2_IndexField as IndexField, type index_d$2_IndexLimits as IndexLimits, index_d$2_IndexStatus as IndexStatus, type index_d$2_ListDataCollectionsOptions as ListDataCollectionsOptions, type index_d$2_ListDataCollectionsRequest as ListDataCollectionsRequest, type index_d$2_ListDataCollectionsResponse as ListDataCollectionsResponse, type index_d$2_ListDataCollectionsResponseNonNullableFields as ListDataCollectionsResponseNonNullableFields, type MessageEnvelope$1 as MessageEnvelope, type index_d$2_MultiReference as MultiReference, type index_d$2_MultilingualOptions as MultilingualOptions, type index_d$2_NumberRange as NumberRange, type index_d$2_ObjectField as ObjectField, Order$1 as Order, type index_d$2_PageLink as PageLink, type index_d$2_PageLinkPluginOptions as PageLinkPluginOptions, type Paging$2 as Paging, type PagingMetadataV2$1 as PagingMetadataV2, index_d$2_PagingMode as PagingMode, type index_d$2_Permissions as Permissions, type index_d$2_Plugin as Plugin, type index_d$2_PluginCmsOptions as PluginCmsOptions, type index_d$2_PluginOptionsOneOf as PluginOptionsOneOf, index_d$2_PluginType as PluginType, type index_d$2_PluginUpdate as PluginUpdate, type PublishPluginOptions$1 as PublishPluginOptions, index_d$2_QueryOperator as QueryOperator, type index_d$2_Reference as Reference, type index_d$2_RestoreDataCollectionsFromSnapshotRequest as RestoreDataCollectionsFromSnapshotRequest, type index_d$2_RestoreDataCollectionsFromSnapshotResponse as RestoreDataCollectionsFromSnapshotResponse, type RestoreInfo$1 as RestoreInfo, index_d$2_Role as Role, type index_d$2_SingleItemPluginOptions as SingleItemPluginOptions, type index_d$2_SiteSort as SiteSort, type index_d$2_SnapshotCollection as SnapshotCollection, type index_d$2_Sort as Sort, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, Status$1 as Status, type index_d$2_StringLengthRange as StringLengthRange, index_d$2_Type as Type, type index_d$2_TypeMetadata as TypeMetadata, type index_d$2_TypeMetadataMetadataOneOf as TypeMetadataMetadataOneOf, type index_d$2_UpdateDataCollectionFieldRequest as UpdateDataCollectionFieldRequest, type index_d$2_UpdateDataCollectionFieldResponse as UpdateDataCollectionFieldResponse, type index_d$2_UpdateDataCollectionRequest as UpdateDataCollectionRequest, type index_d$2_UpdateDataCollectionResponse as UpdateDataCollectionResponse, type index_d$2_UpdateDataCollectionResponseNonNullableFields as UpdateDataCollectionResponseNonNullableFields, type index_d$2_UrlizedOnlyPattern as UrlizedOnlyPattern, type index_d$2_UrlizedPluginOptions as UrlizedPluginOptions, WebhookIdentityType$1 as WebhookIdentityType, type index_d$2__Array as _Array, type index_d$2__Object as _Object, __metadata$2 as __metadata, index_d$2_createDataCollection as createDataCollection, index_d$2_deleteDataCollection as deleteDataCollection, index_d$2_getDataCollection as getDataCollection, index_d$2_listDataCollections as listDataCollections, index_d$2_onDataCollectionChangedEvent as onDataCollectionChangedEvent, index_d$2_onDataCollectionClonedEvent as onDataCollectionClonedEvent, index_d$2_onDataCollectionCreated as onDataCollectionCreated, index_d$2_onDataCollectionDeleted as onDataCollectionDeleted, index_d$2_onDataCollectionUpdated as onDataCollectionUpdated, index_d$2_updateDataCollection as updateDataCollection };
|
|
2618
1881
|
}
|
|
2619
1882
|
|
|
2620
1883
|
interface DataItem {
|
|
@@ -3565,209 +2828,110 @@ declare enum WebhookIdentityType {
|
|
|
3565
2828
|
WIX_USER = "WIX_USER",
|
|
3566
2829
|
APP = "APP"
|
|
3567
2830
|
}
|
|
2831
|
+
interface DataItemNonNullableFields {
|
|
2832
|
+
_id: string;
|
|
2833
|
+
dataCollectionId: string;
|
|
2834
|
+
}
|
|
3568
2835
|
interface InsertDataItemResponseNonNullableFields {
|
|
3569
|
-
dataItem?:
|
|
3570
|
-
_id: string;
|
|
3571
|
-
dataCollectionId: string;
|
|
3572
|
-
};
|
|
2836
|
+
dataItem?: DataItemNonNullableFields;
|
|
3573
2837
|
}
|
|
3574
2838
|
interface UpdateDataItemResponseNonNullableFields {
|
|
3575
|
-
dataItem?:
|
|
3576
|
-
_id: string;
|
|
3577
|
-
dataCollectionId: string;
|
|
3578
|
-
};
|
|
2839
|
+
dataItem?: DataItemNonNullableFields;
|
|
3579
2840
|
}
|
|
3580
2841
|
interface SaveDataItemResponseNonNullableFields {
|
|
3581
2842
|
action: Action;
|
|
3582
|
-
dataItem?:
|
|
3583
|
-
_id: string;
|
|
3584
|
-
dataCollectionId: string;
|
|
3585
|
-
};
|
|
2843
|
+
dataItem?: DataItemNonNullableFields;
|
|
3586
2844
|
}
|
|
3587
2845
|
interface GetDataItemResponseNonNullableFields {
|
|
3588
|
-
dataItem?:
|
|
3589
|
-
_id: string;
|
|
3590
|
-
dataCollectionId: string;
|
|
3591
|
-
};
|
|
2846
|
+
dataItem?: DataItemNonNullableFields;
|
|
3592
2847
|
}
|
|
3593
2848
|
interface RemoveDataItemResponseNonNullableFields {
|
|
3594
|
-
dataItem?:
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
2849
|
+
dataItem?: DataItemNonNullableFields;
|
|
2850
|
+
}
|
|
2851
|
+
interface CachingInfoNonNullableFields {
|
|
2852
|
+
tags: string[];
|
|
3598
2853
|
}
|
|
3599
2854
|
interface QueryDataItemsResponseNonNullableFields {
|
|
3600
|
-
dataItems:
|
|
3601
|
-
|
|
3602
|
-
dataCollectionId: string;
|
|
3603
|
-
}[];
|
|
2855
|
+
dataItems: DataItemNonNullableFields[];
|
|
2856
|
+
cachingInfo?: CachingInfoNonNullableFields;
|
|
3604
2857
|
}
|
|
3605
2858
|
interface CountDataItemsResponseNonNullableFields {
|
|
3606
2859
|
totalCount: number;
|
|
3607
2860
|
}
|
|
2861
|
+
interface ApplicationErrorNonNullableFields {
|
|
2862
|
+
code: string;
|
|
2863
|
+
description: string;
|
|
2864
|
+
}
|
|
2865
|
+
interface ItemMetadataNonNullableFields {
|
|
2866
|
+
originalIndex: number;
|
|
2867
|
+
success: boolean;
|
|
2868
|
+
error?: ApplicationErrorNonNullableFields;
|
|
2869
|
+
}
|
|
2870
|
+
interface BulkDataItemResultNonNullableFields {
|
|
2871
|
+
action: BulkActionType;
|
|
2872
|
+
itemMetadata?: ItemMetadataNonNullableFields;
|
|
2873
|
+
dataItem?: DataItemNonNullableFields;
|
|
2874
|
+
}
|
|
2875
|
+
interface BulkActionMetadataNonNullableFields {
|
|
2876
|
+
totalSuccesses: number;
|
|
2877
|
+
totalFailures: number;
|
|
2878
|
+
}
|
|
3608
2879
|
interface BulkInsertDataItemsResponseNonNullableFields {
|
|
3609
|
-
results:
|
|
3610
|
-
|
|
3611
|
-
itemMetadata?: {
|
|
3612
|
-
originalIndex: number;
|
|
3613
|
-
success: boolean;
|
|
3614
|
-
error?: {
|
|
3615
|
-
code: string;
|
|
3616
|
-
description: string;
|
|
3617
|
-
};
|
|
3618
|
-
};
|
|
3619
|
-
dataItem?: {
|
|
3620
|
-
_id: string;
|
|
3621
|
-
dataCollectionId: string;
|
|
3622
|
-
};
|
|
3623
|
-
}[];
|
|
3624
|
-
bulkActionMetadata?: {
|
|
3625
|
-
totalSuccesses: number;
|
|
3626
|
-
totalFailures: number;
|
|
3627
|
-
};
|
|
2880
|
+
results: BulkDataItemResultNonNullableFields[];
|
|
2881
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
3628
2882
|
}
|
|
3629
2883
|
interface BulkUpdateDataItemsResponseNonNullableFields {
|
|
3630
|
-
results:
|
|
3631
|
-
|
|
3632
|
-
itemMetadata?: {
|
|
3633
|
-
originalIndex: number;
|
|
3634
|
-
success: boolean;
|
|
3635
|
-
error?: {
|
|
3636
|
-
code: string;
|
|
3637
|
-
description: string;
|
|
3638
|
-
};
|
|
3639
|
-
};
|
|
3640
|
-
dataItem?: {
|
|
3641
|
-
_id: string;
|
|
3642
|
-
dataCollectionId: string;
|
|
3643
|
-
};
|
|
3644
|
-
}[];
|
|
3645
|
-
bulkActionMetadata?: {
|
|
3646
|
-
totalSuccesses: number;
|
|
3647
|
-
totalFailures: number;
|
|
3648
|
-
};
|
|
2884
|
+
results: BulkDataItemResultNonNullableFields[];
|
|
2885
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
3649
2886
|
}
|
|
3650
2887
|
interface BulkSaveDataItemsResponseNonNullableFields {
|
|
3651
|
-
results:
|
|
3652
|
-
|
|
3653
|
-
itemMetadata?: {
|
|
3654
|
-
originalIndex: number;
|
|
3655
|
-
success: boolean;
|
|
3656
|
-
error?: {
|
|
3657
|
-
code: string;
|
|
3658
|
-
description: string;
|
|
3659
|
-
};
|
|
3660
|
-
};
|
|
3661
|
-
dataItem?: {
|
|
3662
|
-
_id: string;
|
|
3663
|
-
dataCollectionId: string;
|
|
3664
|
-
};
|
|
3665
|
-
}[];
|
|
3666
|
-
bulkActionMetadata?: {
|
|
3667
|
-
totalSuccesses: number;
|
|
3668
|
-
totalFailures: number;
|
|
3669
|
-
};
|
|
2888
|
+
results: BulkDataItemResultNonNullableFields[];
|
|
2889
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
3670
2890
|
}
|
|
3671
2891
|
interface BulkRemoveDataItemsResponseNonNullableFields {
|
|
3672
|
-
results:
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
dataItem?: {
|
|
3683
|
-
_id: string;
|
|
3684
|
-
dataCollectionId: string;
|
|
3685
|
-
};
|
|
3686
|
-
}[];
|
|
3687
|
-
bulkActionMetadata?: {
|
|
3688
|
-
totalSuccesses: number;
|
|
3689
|
-
totalFailures: number;
|
|
3690
|
-
};
|
|
2892
|
+
results: BulkDataItemResultNonNullableFields[];
|
|
2893
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
2894
|
+
}
|
|
2895
|
+
interface UnresolvedReferenceNonNullableFields {
|
|
2896
|
+
referringItemId: string;
|
|
2897
|
+
referringItemFieldName: string;
|
|
2898
|
+
}
|
|
2899
|
+
interface ReferencedResultNonNullableFields {
|
|
2900
|
+
dataItem?: DataItemNonNullableFields;
|
|
2901
|
+
unresolvedReference?: UnresolvedReferenceNonNullableFields;
|
|
3691
2902
|
}
|
|
3692
2903
|
interface QueryReferencedDataItemsResponseNonNullableFields {
|
|
3693
|
-
results:
|
|
3694
|
-
dataItem?: {
|
|
3695
|
-
_id: string;
|
|
3696
|
-
dataCollectionId: string;
|
|
3697
|
-
};
|
|
3698
|
-
unresolvedReference?: {
|
|
3699
|
-
referringItemId: string;
|
|
3700
|
-
referringItemFieldName: string;
|
|
3701
|
-
};
|
|
3702
|
-
}[];
|
|
2904
|
+
results: ReferencedResultNonNullableFields[];
|
|
3703
2905
|
}
|
|
3704
2906
|
interface IsReferencedDataItemResponseNonNullableFields {
|
|
3705
2907
|
isReferenced: boolean;
|
|
3706
2908
|
}
|
|
2909
|
+
interface DataItemReferenceNonNullableFields {
|
|
2910
|
+
referringItemFieldName: string;
|
|
2911
|
+
referringItemId: string;
|
|
2912
|
+
referencedItemId: string;
|
|
2913
|
+
}
|
|
3707
2914
|
interface InsertDataItemReferenceResponseNonNullableFields {
|
|
3708
|
-
dataItemReference?:
|
|
3709
|
-
referringItemFieldName: string;
|
|
3710
|
-
referringItemId: string;
|
|
3711
|
-
referencedItemId: string;
|
|
3712
|
-
};
|
|
2915
|
+
dataItemReference?: DataItemReferenceNonNullableFields;
|
|
3713
2916
|
}
|
|
3714
2917
|
interface RemoveDataItemReferenceResponseNonNullableFields {
|
|
3715
|
-
dataItemReference?:
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
2918
|
+
dataItemReference?: DataItemReferenceNonNullableFields;
|
|
2919
|
+
}
|
|
2920
|
+
interface BulkDataItemReferenceResultNonNullableFields {
|
|
2921
|
+
action: BulkActionType;
|
|
2922
|
+
referenceMetadata?: ItemMetadataNonNullableFields;
|
|
2923
|
+
dataItemReference?: DataItemReferenceNonNullableFields;
|
|
3720
2924
|
}
|
|
3721
2925
|
interface BulkInsertDataItemReferencesResponseNonNullableFields {
|
|
3722
|
-
results:
|
|
3723
|
-
|
|
3724
|
-
referenceMetadata?: {
|
|
3725
|
-
originalIndex: number;
|
|
3726
|
-
success: boolean;
|
|
3727
|
-
error?: {
|
|
3728
|
-
code: string;
|
|
3729
|
-
description: string;
|
|
3730
|
-
};
|
|
3731
|
-
};
|
|
3732
|
-
dataItemReference?: {
|
|
3733
|
-
referringItemFieldName: string;
|
|
3734
|
-
referringItemId: string;
|
|
3735
|
-
referencedItemId: string;
|
|
3736
|
-
};
|
|
3737
|
-
}[];
|
|
3738
|
-
bulkActionMetadata?: {
|
|
3739
|
-
totalSuccesses: number;
|
|
3740
|
-
totalFailures: number;
|
|
3741
|
-
};
|
|
2926
|
+
results: BulkDataItemReferenceResultNonNullableFields[];
|
|
2927
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
3742
2928
|
}
|
|
3743
2929
|
interface BulkRemoveDataItemReferencesResponseNonNullableFields {
|
|
3744
|
-
results:
|
|
3745
|
-
|
|
3746
|
-
referenceMetadata?: {
|
|
3747
|
-
originalIndex: number;
|
|
3748
|
-
success: boolean;
|
|
3749
|
-
error?: {
|
|
3750
|
-
code: string;
|
|
3751
|
-
description: string;
|
|
3752
|
-
};
|
|
3753
|
-
};
|
|
3754
|
-
dataItemReference?: {
|
|
3755
|
-
referringItemFieldName: string;
|
|
3756
|
-
referringItemId: string;
|
|
3757
|
-
referencedItemId: string;
|
|
3758
|
-
};
|
|
3759
|
-
}[];
|
|
3760
|
-
bulkActionMetadata?: {
|
|
3761
|
-
totalSuccesses: number;
|
|
3762
|
-
totalFailures: number;
|
|
3763
|
-
};
|
|
2930
|
+
results: BulkDataItemReferenceResultNonNullableFields[];
|
|
2931
|
+
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
3764
2932
|
}
|
|
3765
2933
|
interface ReplaceDataItemReferencesResponseNonNullableFields {
|
|
3766
|
-
dataItemReferences:
|
|
3767
|
-
referringItemFieldName: string;
|
|
3768
|
-
referringItemId: string;
|
|
3769
|
-
referencedItemId: string;
|
|
3770
|
-
}[];
|
|
2934
|
+
dataItemReferences: DataItemReferenceNonNullableFields[];
|
|
3771
2935
|
}
|
|
3772
2936
|
interface BaseEventMetadata {
|
|
3773
2937
|
/** App instance ID. */
|
|
@@ -4268,10 +3432,7 @@ declare const __metadata$1: {
|
|
|
4268
3432
|
declare function insertDataItem(httpClient: HttpClient): (options: InsertDataItemOptions) => Promise<InsertDataItemResponse & InsertDataItemResponseNonNullableFields>;
|
|
4269
3433
|
declare function updateDataItem(httpClient: HttpClient): (_id: string, options: UpdateDataItemOptions) => Promise<UpdateDataItemResponse & UpdateDataItemResponseNonNullableFields>;
|
|
4270
3434
|
declare function saveDataItem(httpClient: HttpClient): (options: SaveDataItemOptions) => Promise<SaveDataItemResponse & SaveDataItemResponseNonNullableFields>;
|
|
4271
|
-
declare function getDataItem(httpClient: HttpClient): (dataItemId: string, options?: GetDataItemOptions) => Promise<DataItem &
|
|
4272
|
-
_id: string;
|
|
4273
|
-
dataCollectionId: string;
|
|
4274
|
-
}>;
|
|
3435
|
+
declare function getDataItem(httpClient: HttpClient): (dataItemId: string, options?: GetDataItemOptions) => Promise<DataItem & DataItemNonNullableFields>;
|
|
4275
3436
|
declare function removeDataItem(httpClient: HttpClient): (dataItemId: string, options: RemoveDataItemOptions) => Promise<RemoveDataItemResponse & RemoveDataItemResponseNonNullableFields>;
|
|
4276
3437
|
declare function truncateDataItems(httpClient: HttpClient): (options: TruncateDataItemsOptions) => Promise<void>;
|
|
4277
3438
|
declare function queryDataItems(httpClient: HttpClient): (options: QueryDataItemsOptions) => DataItemsQueryBuilder;
|
|
@@ -4349,6 +3510,7 @@ type index_d$1_Cursors = Cursors;
|
|
|
4349
3510
|
type index_d$1_DataItem = DataItem;
|
|
4350
3511
|
type index_d$1_DataItemCreatedEnvelope = DataItemCreatedEnvelope;
|
|
4351
3512
|
type index_d$1_DataItemDeletedEnvelope = DataItemDeletedEnvelope;
|
|
3513
|
+
type index_d$1_DataItemNonNullableFields = DataItemNonNullableFields;
|
|
4352
3514
|
type index_d$1_DataItemReference = DataItemReference;
|
|
4353
3515
|
type index_d$1_DataItemUpdatedEnvelope = DataItemUpdatedEnvelope;
|
|
4354
3516
|
type index_d$1_DataItemsQueryBuilder = DataItemsQueryBuilder;
|
|
@@ -4469,7 +3631,7 @@ declare const index_d$1_saveDataItem: typeof saveDataItem;
|
|
|
4469
3631
|
declare const index_d$1_truncateDataItems: typeof truncateDataItems;
|
|
4470
3632
|
declare const index_d$1_updateDataItem: typeof updateDataItem;
|
|
4471
3633
|
declare namespace index_d$1 {
|
|
4472
|
-
export { index_d$1_ACTION as ACTION, index_d$1_Action as Action, type index_d$1_ActionEvent as ActionEvent, type index_d$1_AggregateDataItemsOptions as AggregateDataItemsOptions, type index_d$1_AggregateDataItemsRequest as AggregateDataItemsRequest, type index_d$1_AggregateDataItemsRequestPagingMethodOneOf as AggregateDataItemsRequestPagingMethodOneOf, type index_d$1_AggregateDataItemsResponse as AggregateDataItemsResponse, type index_d$1_Aggregation as Aggregation, type index_d$1_AppendToArray as AppendToArray, type index_d$1_ApplicationError as ApplicationError, type index_d$1_Average as Average, type index_d$1_BaseEventMetadata as BaseEventMetadata, type index_d$1_BulkActionMetadata as BulkActionMetadata, index_d$1_BulkActionType as BulkActionType, type index_d$1_BulkDataItemReferenceResult as BulkDataItemReferenceResult, type index_d$1_BulkDataItemResult as BulkDataItemResult, type index_d$1_BulkInsertDataItemReferencesOptions as BulkInsertDataItemReferencesOptions, type index_d$1_BulkInsertDataItemReferencesRequest as BulkInsertDataItemReferencesRequest, type index_d$1_BulkInsertDataItemReferencesResponse as BulkInsertDataItemReferencesResponse, type index_d$1_BulkInsertDataItemReferencesResponseNonNullableFields as BulkInsertDataItemReferencesResponseNonNullableFields, type index_d$1_BulkInsertDataItemsOptions as BulkInsertDataItemsOptions, type index_d$1_BulkInsertDataItemsRequest as BulkInsertDataItemsRequest, type index_d$1_BulkInsertDataItemsResponse as BulkInsertDataItemsResponse, type index_d$1_BulkInsertDataItemsResponseNonNullableFields as BulkInsertDataItemsResponseNonNullableFields, type index_d$1_BulkPatchDataItemsRequest as BulkPatchDataItemsRequest, type index_d$1_BulkPatchDataItemsResponse as BulkPatchDataItemsResponse, type index_d$1_BulkRemoveDataItemReferencesOptions as BulkRemoveDataItemReferencesOptions, type index_d$1_BulkRemoveDataItemReferencesRequest as BulkRemoveDataItemReferencesRequest, type index_d$1_BulkRemoveDataItemReferencesResponse as BulkRemoveDataItemReferencesResponse, type index_d$1_BulkRemoveDataItemReferencesResponseNonNullableFields as BulkRemoveDataItemReferencesResponseNonNullableFields, type index_d$1_BulkRemoveDataItemsOptions as BulkRemoveDataItemsOptions, type index_d$1_BulkRemoveDataItemsRequest as BulkRemoveDataItemsRequest, type index_d$1_BulkRemoveDataItemsResponse as BulkRemoveDataItemsResponse, type index_d$1_BulkRemoveDataItemsResponseNonNullableFields as BulkRemoveDataItemsResponseNonNullableFields, type index_d$1_BulkSaveDataItemsOptions as BulkSaveDataItemsOptions, type index_d$1_BulkSaveDataItemsRequest as BulkSaveDataItemsRequest, type index_d$1_BulkSaveDataItemsResponse as BulkSaveDataItemsResponse, type index_d$1_BulkSaveDataItemsResponseNonNullableFields as BulkSaveDataItemsResponseNonNullableFields, type index_d$1_BulkUpdateDataItemsOptions as BulkUpdateDataItemsOptions, type index_d$1_BulkUpdateDataItemsRequest as BulkUpdateDataItemsRequest, type index_d$1_BulkUpdateDataItemsResponse as BulkUpdateDataItemsResponse, type index_d$1_BulkUpdateDataItemsResponseNonNullableFields as BulkUpdateDataItemsResponseNonNullableFields, type index_d$1_CachingInfo as CachingInfo, type index_d$1_Count as Count, type index_d$1_CountDataItemsOptions as CountDataItemsOptions, type index_d$1_CountDataItemsRequest as CountDataItemsRequest, type index_d$1_CountDataItemsResponse as CountDataItemsResponse, type index_d$1_CountDataItemsResponseNonNullableFields as CountDataItemsResponseNonNullableFields, type index_d$1_CursorPaging as CursorPaging, type index_d$1_Cursors as Cursors, type index_d$1_DataItem as DataItem, type index_d$1_DataItemCreatedEnvelope as DataItemCreatedEnvelope, type index_d$1_DataItemDeletedEnvelope as DataItemDeletedEnvelope, type index_d$1_DataItemReference as DataItemReference, type index_d$1_DataItemUpdatedEnvelope as DataItemUpdatedEnvelope, type index_d$1_DataItemsQueryBuilder as DataItemsQueryBuilder, type index_d$1_DataItemsQueryResult as DataItemsQueryResult, type index_d$1_DataPublishPluginOptions as DataPublishPluginOptions, type index_d$1_DomainEvent as DomainEvent, type index_d$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d$1_EntityCreatedEvent as EntityCreatedEvent, type index_d$1_EntityDeletedEvent as EntityDeletedEvent, type index_d$1_EntityUpdatedEvent as EntityUpdatedEvent, Environment$1 as Environment, type index_d$1_EventMetadata as EventMetadata, type index_d$1_FieldUpdate as FieldUpdate, type index_d$1_FieldUpdateActionOptionsOneOf as FieldUpdateActionOptionsOneOf, type index_d$1_GetDataItemOptions as GetDataItemOptions, type index_d$1_GetDataItemRequest as GetDataItemRequest, type index_d$1_GetDataItemResponse as GetDataItemResponse, type index_d$1_GetDataItemResponseNonNullableFields as GetDataItemResponseNonNullableFields, type index_d$1_IdentificationData as IdentificationData, type index_d$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d$1_IncrementField as IncrementField, type index_d$1_InsertDataItemOptions as InsertDataItemOptions, type index_d$1_InsertDataItemReferenceOptions as InsertDataItemReferenceOptions, type index_d$1_InsertDataItemReferenceRequest as InsertDataItemReferenceRequest, type index_d$1_InsertDataItemReferenceResponse as InsertDataItemReferenceResponse, type index_d$1_InsertDataItemReferenceResponseNonNullableFields as InsertDataItemReferenceResponseNonNullableFields, type index_d$1_InsertDataItemRequest as InsertDataItemRequest, type index_d$1_InsertDataItemResponse as InsertDataItemResponse, type index_d$1_InsertDataItemResponseNonNullableFields as InsertDataItemResponseNonNullableFields, type index_d$1_IsReferencedDataItemOptions as IsReferencedDataItemOptions, type index_d$1_IsReferencedDataItemRequest as IsReferencedDataItemRequest, type index_d$1_IsReferencedDataItemResponse as IsReferencedDataItemResponse, type index_d$1_IsReferencedDataItemResponseNonNullableFields as IsReferencedDataItemResponseNonNullableFields, type index_d$1_ItemMetadata as ItemMetadata, type index_d$1_Max as Max, type index_d$1_MessageEnvelope as MessageEnvelope, type index_d$1_Min as Min, type index_d$1_Operation as Operation, type index_d$1_OperationCalculateOneOf as OperationCalculateOneOf, type index_d$1_Options as Options, type Paging$1 as Paging, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_PatchDataItemRequest as PatchDataItemRequest, type index_d$1_PatchDataItemResponse as PatchDataItemResponse, type index_d$1_PatchSet as PatchSet, type index_d$1_PublishPluginOptions as PublishPluginOptions, type index_d$1_QueryDataItemsOptions as QueryDataItemsOptions, type index_d$1_QueryDataItemsRequest as QueryDataItemsRequest, type index_d$1_QueryDataItemsResponse as QueryDataItemsResponse, type index_d$1_QueryDataItemsResponseNonNullableFields as QueryDataItemsResponseNonNullableFields, type index_d$1_QueryDistinctValuesOptions as QueryDistinctValuesOptions, type index_d$1_QueryDistinctValuesRequest as QueryDistinctValuesRequest, type index_d$1_QueryDistinctValuesRequestPagingMethodOneOf as QueryDistinctValuesRequestPagingMethodOneOf, type index_d$1_QueryDistinctValuesResponse as QueryDistinctValuesResponse, type index_d$1_QueryReferencedDataItemsOptions as QueryReferencedDataItemsOptions, type index_d$1_QueryReferencedDataItemsRequest as QueryReferencedDataItemsRequest, type index_d$1_QueryReferencedDataItemsRequestPagingMethodOneOf as QueryReferencedDataItemsRequestPagingMethodOneOf, type index_d$1_QueryReferencedDataItemsResponse as QueryReferencedDataItemsResponse, type index_d$1_QueryReferencedDataItemsResponseNonNullableFields as QueryReferencedDataItemsResponseNonNullableFields, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_ReferencedItemOptions as ReferencedItemOptions, type index_d$1_ReferencedResult as ReferencedResult, type index_d$1_ReferencedResultEntityOneOf as ReferencedResultEntityOneOf, type index_d$1_RemoveDataItemOptions as RemoveDataItemOptions, type index_d$1_RemoveDataItemReferenceOptions as RemoveDataItemReferenceOptions, type index_d$1_RemoveDataItemReferenceRequest as RemoveDataItemReferenceRequest, type index_d$1_RemoveDataItemReferenceResponse as RemoveDataItemReferenceResponse, type index_d$1_RemoveDataItemReferenceResponseNonNullableFields as RemoveDataItemReferenceResponseNonNullableFields, type index_d$1_RemoveDataItemRequest as RemoveDataItemRequest, type index_d$1_RemoveDataItemResponse as RemoveDataItemResponse, type index_d$1_RemoveDataItemResponseNonNullableFields as RemoveDataItemResponseNonNullableFields, type index_d$1_RemoveFromArray as RemoveFromArray, type index_d$1_ReplaceDataItemReferencesOptions as ReplaceDataItemReferencesOptions, type index_d$1_ReplaceDataItemReferencesRequest as ReplaceDataItemReferencesRequest, type index_d$1_ReplaceDataItemReferencesResponse as ReplaceDataItemReferencesResponse, type index_d$1_ReplaceDataItemReferencesResponseNonNullableFields as ReplaceDataItemReferencesResponseNonNullableFields, type index_d$1_RestoreInfo as RestoreInfo, type index_d$1_SaveDataItemOptions as SaveDataItemOptions, type index_d$1_SaveDataItemRequest as SaveDataItemRequest, type index_d$1_SaveDataItemResponse as SaveDataItemResponse, type index_d$1_SaveDataItemResponseNonNullableFields as SaveDataItemResponseNonNullableFields, type index_d$1_SetField as SetField, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_Sum as Sum, type index_d$1_TruncateDataItemsOptions as TruncateDataItemsOptions, type index_d$1_TruncateDataItemsRequest as TruncateDataItemsRequest, type index_d$1_TruncateDataItemsResponse as TruncateDataItemsResponse, type index_d$1_UnresolvedReference as UnresolvedReference, type index_d$1_UpdateDataItemOptions as UpdateDataItemOptions, type index_d$1_UpdateDataItemRequest as UpdateDataItemRequest, type index_d$1_UpdateDataItemResponse as UpdateDataItemResponse, type index_d$1_UpdateDataItemResponseNonNullableFields as UpdateDataItemResponseNonNullableFields, index_d$1_WebhookIdentityType as WebhookIdentityType, __metadata$1 as __metadata, index_d$1_aggregateDataItems as aggregateDataItems, index_d$1_bulkInsertDataItemReferences as bulkInsertDataItemReferences, index_d$1_bulkInsertDataItems as bulkInsertDataItems, index_d$1_bulkRemoveDataItemReferences as bulkRemoveDataItemReferences, index_d$1_bulkRemoveDataItems as bulkRemoveDataItems, index_d$1_bulkSaveDataItems as bulkSaveDataItems, index_d$1_bulkUpdateDataItems as bulkUpdateDataItems, index_d$1_countDataItems as countDataItems, index_d$1_getDataItem as getDataItem, index_d$1_insertDataItem as insertDataItem, index_d$1_insertDataItemReference as insertDataItemReference, index_d$1_isReferencedDataItem as isReferencedDataItem, index_d$1_onDataItemCreated as onDataItemCreated, index_d$1_onDataItemDeleted as onDataItemDeleted, index_d$1_onDataItemUpdated as onDataItemUpdated, index_d$1_queryDataItems as queryDataItems, index_d$1_queryDistinctValues as queryDistinctValues, index_d$1_queryReferencedDataItems as queryReferencedDataItems, index_d$1_removeDataItem as removeDataItem, index_d$1_removeDataItemReference as removeDataItemReference, index_d$1_replaceDataItemReferences as replaceDataItemReferences, index_d$1_saveDataItem as saveDataItem, index_d$1_truncateDataItems as truncateDataItems, index_d$1_updateDataItem as updateDataItem };
|
|
3634
|
+
export { index_d$1_ACTION as ACTION, index_d$1_Action as Action, type index_d$1_ActionEvent as ActionEvent, type index_d$1_AggregateDataItemsOptions as AggregateDataItemsOptions, type index_d$1_AggregateDataItemsRequest as AggregateDataItemsRequest, type index_d$1_AggregateDataItemsRequestPagingMethodOneOf as AggregateDataItemsRequestPagingMethodOneOf, type index_d$1_AggregateDataItemsResponse as AggregateDataItemsResponse, type index_d$1_Aggregation as Aggregation, type index_d$1_AppendToArray as AppendToArray, type index_d$1_ApplicationError as ApplicationError, type index_d$1_Average as Average, type index_d$1_BaseEventMetadata as BaseEventMetadata, type index_d$1_BulkActionMetadata as BulkActionMetadata, index_d$1_BulkActionType as BulkActionType, type index_d$1_BulkDataItemReferenceResult as BulkDataItemReferenceResult, type index_d$1_BulkDataItemResult as BulkDataItemResult, type index_d$1_BulkInsertDataItemReferencesOptions as BulkInsertDataItemReferencesOptions, type index_d$1_BulkInsertDataItemReferencesRequest as BulkInsertDataItemReferencesRequest, type index_d$1_BulkInsertDataItemReferencesResponse as BulkInsertDataItemReferencesResponse, type index_d$1_BulkInsertDataItemReferencesResponseNonNullableFields as BulkInsertDataItemReferencesResponseNonNullableFields, type index_d$1_BulkInsertDataItemsOptions as BulkInsertDataItemsOptions, type index_d$1_BulkInsertDataItemsRequest as BulkInsertDataItemsRequest, type index_d$1_BulkInsertDataItemsResponse as BulkInsertDataItemsResponse, type index_d$1_BulkInsertDataItemsResponseNonNullableFields as BulkInsertDataItemsResponseNonNullableFields, type index_d$1_BulkPatchDataItemsRequest as BulkPatchDataItemsRequest, type index_d$1_BulkPatchDataItemsResponse as BulkPatchDataItemsResponse, type index_d$1_BulkRemoveDataItemReferencesOptions as BulkRemoveDataItemReferencesOptions, type index_d$1_BulkRemoveDataItemReferencesRequest as BulkRemoveDataItemReferencesRequest, type index_d$1_BulkRemoveDataItemReferencesResponse as BulkRemoveDataItemReferencesResponse, type index_d$1_BulkRemoveDataItemReferencesResponseNonNullableFields as BulkRemoveDataItemReferencesResponseNonNullableFields, type index_d$1_BulkRemoveDataItemsOptions as BulkRemoveDataItemsOptions, type index_d$1_BulkRemoveDataItemsRequest as BulkRemoveDataItemsRequest, type index_d$1_BulkRemoveDataItemsResponse as BulkRemoveDataItemsResponse, type index_d$1_BulkRemoveDataItemsResponseNonNullableFields as BulkRemoveDataItemsResponseNonNullableFields, type index_d$1_BulkSaveDataItemsOptions as BulkSaveDataItemsOptions, type index_d$1_BulkSaveDataItemsRequest as BulkSaveDataItemsRequest, type index_d$1_BulkSaveDataItemsResponse as BulkSaveDataItemsResponse, type index_d$1_BulkSaveDataItemsResponseNonNullableFields as BulkSaveDataItemsResponseNonNullableFields, type index_d$1_BulkUpdateDataItemsOptions as BulkUpdateDataItemsOptions, type index_d$1_BulkUpdateDataItemsRequest as BulkUpdateDataItemsRequest, type index_d$1_BulkUpdateDataItemsResponse as BulkUpdateDataItemsResponse, type index_d$1_BulkUpdateDataItemsResponseNonNullableFields as BulkUpdateDataItemsResponseNonNullableFields, type index_d$1_CachingInfo as CachingInfo, type index_d$1_Count as Count, type index_d$1_CountDataItemsOptions as CountDataItemsOptions, type index_d$1_CountDataItemsRequest as CountDataItemsRequest, type index_d$1_CountDataItemsResponse as CountDataItemsResponse, type index_d$1_CountDataItemsResponseNonNullableFields as CountDataItemsResponseNonNullableFields, type index_d$1_CursorPaging as CursorPaging, type index_d$1_Cursors as Cursors, type index_d$1_DataItem as DataItem, type index_d$1_DataItemCreatedEnvelope as DataItemCreatedEnvelope, type index_d$1_DataItemDeletedEnvelope as DataItemDeletedEnvelope, type index_d$1_DataItemNonNullableFields as DataItemNonNullableFields, type index_d$1_DataItemReference as DataItemReference, type index_d$1_DataItemUpdatedEnvelope as DataItemUpdatedEnvelope, type index_d$1_DataItemsQueryBuilder as DataItemsQueryBuilder, type index_d$1_DataItemsQueryResult as DataItemsQueryResult, type index_d$1_DataPublishPluginOptions as DataPublishPluginOptions, type index_d$1_DomainEvent as DomainEvent, type index_d$1_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d$1_EntityCreatedEvent as EntityCreatedEvent, type index_d$1_EntityDeletedEvent as EntityDeletedEvent, type index_d$1_EntityUpdatedEvent as EntityUpdatedEvent, Environment$1 as Environment, type index_d$1_EventMetadata as EventMetadata, type index_d$1_FieldUpdate as FieldUpdate, type index_d$1_FieldUpdateActionOptionsOneOf as FieldUpdateActionOptionsOneOf, type index_d$1_GetDataItemOptions as GetDataItemOptions, type index_d$1_GetDataItemRequest as GetDataItemRequest, type index_d$1_GetDataItemResponse as GetDataItemResponse, type index_d$1_GetDataItemResponseNonNullableFields as GetDataItemResponseNonNullableFields, type index_d$1_IdentificationData as IdentificationData, type index_d$1_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d$1_IncrementField as IncrementField, type index_d$1_InsertDataItemOptions as InsertDataItemOptions, type index_d$1_InsertDataItemReferenceOptions as InsertDataItemReferenceOptions, type index_d$1_InsertDataItemReferenceRequest as InsertDataItemReferenceRequest, type index_d$1_InsertDataItemReferenceResponse as InsertDataItemReferenceResponse, type index_d$1_InsertDataItemReferenceResponseNonNullableFields as InsertDataItemReferenceResponseNonNullableFields, type index_d$1_InsertDataItemRequest as InsertDataItemRequest, type index_d$1_InsertDataItemResponse as InsertDataItemResponse, type index_d$1_InsertDataItemResponseNonNullableFields as InsertDataItemResponseNonNullableFields, type index_d$1_IsReferencedDataItemOptions as IsReferencedDataItemOptions, type index_d$1_IsReferencedDataItemRequest as IsReferencedDataItemRequest, type index_d$1_IsReferencedDataItemResponse as IsReferencedDataItemResponse, type index_d$1_IsReferencedDataItemResponseNonNullableFields as IsReferencedDataItemResponseNonNullableFields, type index_d$1_ItemMetadata as ItemMetadata, type index_d$1_Max as Max, type index_d$1_MessageEnvelope as MessageEnvelope, type index_d$1_Min as Min, type index_d$1_Operation as Operation, type index_d$1_OperationCalculateOneOf as OperationCalculateOneOf, type index_d$1_Options as Options, type Paging$1 as Paging, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_PatchDataItemRequest as PatchDataItemRequest, type index_d$1_PatchDataItemResponse as PatchDataItemResponse, type index_d$1_PatchSet as PatchSet, type index_d$1_PublishPluginOptions as PublishPluginOptions, type index_d$1_QueryDataItemsOptions as QueryDataItemsOptions, type index_d$1_QueryDataItemsRequest as QueryDataItemsRequest, type index_d$1_QueryDataItemsResponse as QueryDataItemsResponse, type index_d$1_QueryDataItemsResponseNonNullableFields as QueryDataItemsResponseNonNullableFields, type index_d$1_QueryDistinctValuesOptions as QueryDistinctValuesOptions, type index_d$1_QueryDistinctValuesRequest as QueryDistinctValuesRequest, type index_d$1_QueryDistinctValuesRequestPagingMethodOneOf as QueryDistinctValuesRequestPagingMethodOneOf, type index_d$1_QueryDistinctValuesResponse as QueryDistinctValuesResponse, type index_d$1_QueryReferencedDataItemsOptions as QueryReferencedDataItemsOptions, type index_d$1_QueryReferencedDataItemsRequest as QueryReferencedDataItemsRequest, type index_d$1_QueryReferencedDataItemsRequestPagingMethodOneOf as QueryReferencedDataItemsRequestPagingMethodOneOf, type index_d$1_QueryReferencedDataItemsResponse as QueryReferencedDataItemsResponse, type index_d$1_QueryReferencedDataItemsResponseNonNullableFields as QueryReferencedDataItemsResponseNonNullableFields, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_ReferencedItemOptions as ReferencedItemOptions, type index_d$1_ReferencedResult as ReferencedResult, type index_d$1_ReferencedResultEntityOneOf as ReferencedResultEntityOneOf, type index_d$1_RemoveDataItemOptions as RemoveDataItemOptions, type index_d$1_RemoveDataItemReferenceOptions as RemoveDataItemReferenceOptions, type index_d$1_RemoveDataItemReferenceRequest as RemoveDataItemReferenceRequest, type index_d$1_RemoveDataItemReferenceResponse as RemoveDataItemReferenceResponse, type index_d$1_RemoveDataItemReferenceResponseNonNullableFields as RemoveDataItemReferenceResponseNonNullableFields, type index_d$1_RemoveDataItemRequest as RemoveDataItemRequest, type index_d$1_RemoveDataItemResponse as RemoveDataItemResponse, type index_d$1_RemoveDataItemResponseNonNullableFields as RemoveDataItemResponseNonNullableFields, type index_d$1_RemoveFromArray as RemoveFromArray, type index_d$1_ReplaceDataItemReferencesOptions as ReplaceDataItemReferencesOptions, type index_d$1_ReplaceDataItemReferencesRequest as ReplaceDataItemReferencesRequest, type index_d$1_ReplaceDataItemReferencesResponse as ReplaceDataItemReferencesResponse, type index_d$1_ReplaceDataItemReferencesResponseNonNullableFields as ReplaceDataItemReferencesResponseNonNullableFields, type index_d$1_RestoreInfo as RestoreInfo, type index_d$1_SaveDataItemOptions as SaveDataItemOptions, type index_d$1_SaveDataItemRequest as SaveDataItemRequest, type index_d$1_SaveDataItemResponse as SaveDataItemResponse, type index_d$1_SaveDataItemResponseNonNullableFields as SaveDataItemResponseNonNullableFields, type index_d$1_SetField as SetField, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_Sum as Sum, type index_d$1_TruncateDataItemsOptions as TruncateDataItemsOptions, type index_d$1_TruncateDataItemsRequest as TruncateDataItemsRequest, type index_d$1_TruncateDataItemsResponse as TruncateDataItemsResponse, type index_d$1_UnresolvedReference as UnresolvedReference, type index_d$1_UpdateDataItemOptions as UpdateDataItemOptions, type index_d$1_UpdateDataItemRequest as UpdateDataItemRequest, type index_d$1_UpdateDataItemResponse as UpdateDataItemResponse, type index_d$1_UpdateDataItemResponseNonNullableFields as UpdateDataItemResponseNonNullableFields, index_d$1_WebhookIdentityType as WebhookIdentityType, __metadata$1 as __metadata, index_d$1_aggregateDataItems as aggregateDataItems, index_d$1_bulkInsertDataItemReferences as bulkInsertDataItemReferences, index_d$1_bulkInsertDataItems as bulkInsertDataItems, index_d$1_bulkRemoveDataItemReferences as bulkRemoveDataItemReferences, index_d$1_bulkRemoveDataItems as bulkRemoveDataItems, index_d$1_bulkSaveDataItems as bulkSaveDataItems, index_d$1_bulkUpdateDataItems as bulkUpdateDataItems, index_d$1_countDataItems as countDataItems, index_d$1_getDataItem as getDataItem, index_d$1_insertDataItem as insertDataItem, index_d$1_insertDataItemReference as insertDataItemReference, index_d$1_isReferencedDataItem as isReferencedDataItem, index_d$1_onDataItemCreated as onDataItemCreated, index_d$1_onDataItemDeleted as onDataItemDeleted, index_d$1_onDataItemUpdated as onDataItemUpdated, index_d$1_queryDataItems as queryDataItems, index_d$1_queryDistinctValues as queryDistinctValues, index_d$1_queryReferencedDataItems as queryReferencedDataItems, index_d$1_removeDataItem as removeDataItem, index_d$1_removeDataItemReference as removeDataItemReference, index_d$1_replaceDataItemReferences as replaceDataItemReferences, index_d$1_saveDataItem as saveDataItem, index_d$1_truncateDataItems as truncateDataItems, index_d$1_updateDataItem as updateDataItem };
|
|
4473
3635
|
}
|
|
4474
3636
|
|
|
4475
3637
|
/** An index is a map of a collection's data, organized according to specific fields to increase query speed. */
|
|
@@ -4616,37 +3778,28 @@ interface PagingMetadata {
|
|
|
4616
3778
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
4617
3779
|
tooManyToCount?: boolean | null;
|
|
4618
3780
|
}
|
|
3781
|
+
interface FieldNonNullableFields {
|
|
3782
|
+
path: string;
|
|
3783
|
+
order: Order;
|
|
3784
|
+
}
|
|
3785
|
+
interface FailureNonNullableFields {
|
|
3786
|
+
code: string;
|
|
3787
|
+
broadCode: string;
|
|
3788
|
+
description: string;
|
|
3789
|
+
}
|
|
3790
|
+
interface IndexNonNullableFields {
|
|
3791
|
+
name: string;
|
|
3792
|
+
fields: FieldNonNullableFields[];
|
|
3793
|
+
status: Status;
|
|
3794
|
+
failure?: FailureNonNullableFields;
|
|
3795
|
+
unique: boolean;
|
|
3796
|
+
caseInsensitive: boolean;
|
|
3797
|
+
}
|
|
4619
3798
|
interface CreateIndexResponseNonNullableFields {
|
|
4620
|
-
index?:
|
|
4621
|
-
name: string;
|
|
4622
|
-
fields: {
|
|
4623
|
-
path: string;
|
|
4624
|
-
order: Order;
|
|
4625
|
-
}[];
|
|
4626
|
-
status: Status;
|
|
4627
|
-
failure?: {
|
|
4628
|
-
code: string;
|
|
4629
|
-
description: string;
|
|
4630
|
-
};
|
|
4631
|
-
unique: boolean;
|
|
4632
|
-
caseInsensitive: boolean;
|
|
4633
|
-
};
|
|
3799
|
+
index?: IndexNonNullableFields;
|
|
4634
3800
|
}
|
|
4635
3801
|
interface ListIndexesResponseNonNullableFields {
|
|
4636
|
-
indexes:
|
|
4637
|
-
name: string;
|
|
4638
|
-
fields: {
|
|
4639
|
-
path: string;
|
|
4640
|
-
order: Order;
|
|
4641
|
-
}[];
|
|
4642
|
-
status: Status;
|
|
4643
|
-
failure?: {
|
|
4644
|
-
code: string;
|
|
4645
|
-
description: string;
|
|
4646
|
-
};
|
|
4647
|
-
unique: boolean;
|
|
4648
|
-
caseInsensitive: boolean;
|
|
4649
|
-
}[];
|
|
3802
|
+
indexes: IndexNonNullableFields[];
|
|
4650
3803
|
}
|
|
4651
3804
|
interface ListIndexesOptions {
|
|
4652
3805
|
/** paging */
|
|
@@ -4656,20 +3809,7 @@ interface ListIndexesOptions {
|
|
|
4656
3809
|
declare const __metadata: {
|
|
4657
3810
|
PACKAGE_NAME: string;
|
|
4658
3811
|
};
|
|
4659
|
-
declare function createIndex(httpClient: HttpClient): (dataCollectionId: string, index: Index) => Promise<Index &
|
|
4660
|
-
name: string;
|
|
4661
|
-
fields: {
|
|
4662
|
-
path: string;
|
|
4663
|
-
order: Order;
|
|
4664
|
-
}[];
|
|
4665
|
-
status: Status;
|
|
4666
|
-
failure?: {
|
|
4667
|
-
code: string;
|
|
4668
|
-
description: string;
|
|
4669
|
-
} | undefined;
|
|
4670
|
-
unique: boolean;
|
|
4671
|
-
caseInsensitive: boolean;
|
|
4672
|
-
}>;
|
|
3812
|
+
declare function createIndex(httpClient: HttpClient): (dataCollectionId: string, index: Index) => Promise<Index & IndexNonNullableFields>;
|
|
4673
3813
|
declare function dropIndex(httpClient: HttpClient): (dataCollectionId: string, indexName: string) => Promise<void>;
|
|
4674
3814
|
declare function listIndexes(httpClient: HttpClient): (dataCollectionId: string, options?: ListIndexesOptions) => Promise<ListIndexesResponse & ListIndexesResponseNonNullableFields>;
|
|
4675
3815
|
|
|
@@ -4683,6 +3823,7 @@ declare const index_d_Environment: typeof Environment;
|
|
|
4683
3823
|
type index_d_Failure = Failure;
|
|
4684
3824
|
type index_d_Field = Field;
|
|
4685
3825
|
type index_d_Index = Index;
|
|
3826
|
+
type index_d_IndexNonNullableFields = IndexNonNullableFields;
|
|
4686
3827
|
type index_d_ListIndexesOptions = ListIndexesOptions;
|
|
4687
3828
|
type index_d_ListIndexesRequest = ListIndexesRequest;
|
|
4688
3829
|
type index_d_ListIndexesResponse = ListIndexesResponse;
|
|
@@ -4698,7 +3839,7 @@ declare const index_d_createIndex: typeof createIndex;
|
|
|
4698
3839
|
declare const index_d_dropIndex: typeof dropIndex;
|
|
4699
3840
|
declare const index_d_listIndexes: typeof listIndexes;
|
|
4700
3841
|
declare namespace index_d {
|
|
4701
|
-
export { type index_d_CreateIndexRequest as CreateIndexRequest, type index_d_CreateIndexResponse as CreateIndexResponse, type index_d_CreateIndexResponseNonNullableFields as CreateIndexResponseNonNullableFields, type index_d_DropIndexRequest as DropIndexRequest, type index_d_DropIndexResponse as DropIndexResponse, index_d_Environment as Environment, type index_d_Failure as Failure, type index_d_Field as Field, type index_d_Index as Index, type index_d_ListIndexesOptions as ListIndexesOptions, type index_d_ListIndexesRequest as ListIndexesRequest, type index_d_ListIndexesResponse as ListIndexesResponse, type index_d_ListIndexesResponseNonNullableFields as ListIndexesResponseNonNullableFields, index_d_Order as Order, type index_d_Paging as Paging, type index_d_PagingMetadata as PagingMetadata, index_d_Status as Status, index_d___metadata as __metadata, index_d_createIndex as createIndex, index_d_dropIndex as dropIndex, index_d_listIndexes as listIndexes };
|
|
3842
|
+
export { type index_d_CreateIndexRequest as CreateIndexRequest, type index_d_CreateIndexResponse as CreateIndexResponse, type index_d_CreateIndexResponseNonNullableFields as CreateIndexResponseNonNullableFields, type index_d_DropIndexRequest as DropIndexRequest, type index_d_DropIndexResponse as DropIndexResponse, index_d_Environment as Environment, type index_d_Failure as Failure, type index_d_Field as Field, type index_d_Index as Index, type index_d_IndexNonNullableFields as IndexNonNullableFields, type index_d_ListIndexesOptions as ListIndexesOptions, type index_d_ListIndexesRequest as ListIndexesRequest, type index_d_ListIndexesResponse as ListIndexesResponse, type index_d_ListIndexesResponseNonNullableFields as ListIndexesResponseNonNullableFields, index_d_Order as Order, type index_d_Paging as Paging, type index_d_PagingMetadata as PagingMetadata, index_d_Status as Status, index_d___metadata as __metadata, index_d_createIndex as createIndex, index_d_dropIndex as dropIndex, index_d_listIndexes as listIndexes };
|
|
4702
3843
|
}
|
|
4703
3844
|
|
|
4704
3845
|
export { index_d$2 as collections, index_d$3 as externalDatabaseConnections, index_d as indexes, index_d$1 as items };
|