1 | import { AnalyticsScanConsistency, AnalyticsStatus } from './analyticstypes';
|
2 | import { CppAnalyticsResponseAnalyticsStatus, CppAnalyticsScanConsistency, CppDesignDocumentNamespace, CppDiagEndpointState, CppDiagPingState, CppDurabilityLevel, CppError, CppManagementClusterBucketCompression, CppManagementClusterBucketConflictResolution, CppManagementClusterBucketEvictionPolicy, CppManagementClusterBucketStorageBackend, CppManagementClusterBucketType, CppManagementEventingFunctionBucketAccess, CppManagementEventingFunctionDcpBoundary, CppManagementEventingFunctionDeploymentStatus, CppManagementEventingFunctionLanguageCompatibility, CppManagementEventingFunctionLogLevel, CppManagementEventingFunctionProcessingStatus, CppManagementEventingFunctionStatus, CppMutationState, CppPersistTo, CppPrefixScan, CppQueryProfile, CppQueryScanConsistency, CppRangeScan, CppReplicateTo, CppSamplingScan, CppSearchHighlightStyle, CppSearchScanConsistency, CppServiceType, CppStoreSemantics, CppTransactionKeyspace, CppTxnExternalException, CppTxnOpException, CppVectorQueryCombination, CppViewScanConsistency, CppViewSortOrder } from './binding';
|
3 | import { BucketType, CompressionMode, ConflictResolutionType, EvictionPolicy, StorageBackend } from './bucketmanager';
|
4 | import { EndpointState, PingState } from './diagnosticstypes';
|
5 | import { ErrorContext } from './errorcontexts';
|
6 | import { DurabilityLevel, ServiceType, StoreSemantics } from './generaltypes';
|
7 | import { MutationState } from './mutationstate';
|
8 | import { QueryProfileMode, QueryScanConsistency } from './querytypes';
|
9 | import { PrefixScan, RangeScan, SamplingScan } from './rangeScan';
|
10 | import { HighlightStyle, SearchScanConsistency } from './searchtypes';
|
11 | import { TransactionKeyspace } from './transactions';
|
12 | import { VectorQueryCombination } from './vectorsearch';
|
13 | import { DesignDocumentNamespace, ViewOrdering, ViewScanConsistency } from './viewtypes';
|
14 | import { EventingFunctionBucketAccess, EventingFunctionDcpBoundary, EventingFunctionDeploymentStatus, EventingFunctionLanguageCompatibility, EventingFunctionLogLevel, EventingFunctionProcessingStatus, EventingFunctionStatus } from './eventingfunctionmanager';
|
15 |
|
16 |
|
17 |
|
18 | export declare function durabilityToCpp(mode: DurabilityLevel | string | undefined): CppDurabilityLevel;
|
19 |
|
20 |
|
21 |
|
22 | export declare function durabilityFromCpp(mode: CppDurabilityLevel | undefined): DurabilityLevel | undefined;
|
23 |
|
24 |
|
25 |
|
26 | export declare function persistToToCpp(persistTo: number | undefined): CppPersistTo;
|
27 |
|
28 |
|
29 |
|
30 | export declare function replicateToToCpp(replicateTo: number | undefined): CppReplicateTo;
|
31 |
|
32 |
|
33 |
|
34 | export declare function storeSemanticToCpp(mode: StoreSemantics | undefined): CppStoreSemantics;
|
35 |
|
36 |
|
37 |
|
38 | export declare function viewScanConsistencyToCpp(mode: ViewScanConsistency | undefined): CppViewScanConsistency | undefined;
|
39 |
|
40 |
|
41 |
|
42 | export declare function viewOrderingToCpp(ordering: ViewOrdering | undefined): CppViewSortOrder | undefined;
|
43 |
|
44 |
|
45 |
|
46 | export declare function queryScanConsistencyToCpp(mode: QueryScanConsistency | undefined): CppQueryScanConsistency | undefined;
|
47 |
|
48 |
|
49 |
|
50 | export declare function queryScanConsistencyFromCpp(mode: CppQueryScanConsistency | undefined): QueryScanConsistency | undefined;
|
51 |
|
52 |
|
53 |
|
54 | export declare function queryProfileToCpp(mode: QueryProfileMode | undefined): CppQueryProfile;
|
55 |
|
56 |
|
57 |
|
58 | export declare function analyticsScanConsistencyToCpp(mode: AnalyticsScanConsistency | undefined): CppAnalyticsScanConsistency;
|
59 |
|
60 |
|
61 |
|
62 | export declare function analyticsStatusFromCpp(status: CppAnalyticsResponseAnalyticsStatus): AnalyticsStatus;
|
63 |
|
64 |
|
65 |
|
66 | export declare function searchScanConsistencyToCpp(mode: SearchScanConsistency | undefined): CppSearchScanConsistency;
|
67 |
|
68 |
|
69 |
|
70 | export declare function searchHighlightStyleToCpp(mode: HighlightStyle | undefined): CppSearchHighlightStyle | undefined;
|
71 |
|
72 |
|
73 |
|
74 | export declare function mutationStateToCpp(state: MutationState | undefined): CppMutationState;
|
75 |
|
76 |
|
77 |
|
78 | export declare function serviceTypeToCpp(service: ServiceType): CppServiceType;
|
79 |
|
80 |
|
81 |
|
82 | export declare function serviceTypeFromCpp(service: CppServiceType): ServiceType;
|
83 |
|
84 |
|
85 |
|
86 | export declare function endpointStateFromCpp(service: CppDiagEndpointState): EndpointState;
|
87 |
|
88 |
|
89 |
|
90 | export declare function txnExternalExceptionStringFromCpp(cause: CppTxnExternalException): string;
|
91 |
|
92 |
|
93 |
|
94 | export declare function txnOpExeptionFromCpp(err: CppTxnOpException | null, ctx: ErrorContext | null): Error | null;
|
95 |
|
96 |
|
97 |
|
98 | export declare function pingStateFromCpp(service: CppDiagPingState): PingState;
|
99 |
|
100 |
|
101 |
|
102 | export declare function contextFromCpp(err: CppError | null): ErrorContext | null;
|
103 |
|
104 |
|
105 |
|
106 | export declare function errorFromCpp(err: CppError | null): Error | null;
|
107 |
|
108 |
|
109 |
|
110 | export declare function scanTypeToCpp(scanType: RangeScan | SamplingScan | PrefixScan): CppRangeScan | CppSamplingScan | CppPrefixScan;
|
111 |
|
112 |
|
113 |
|
114 | export declare function bucketTypeToCpp(type: BucketType | string | undefined): CppManagementClusterBucketType;
|
115 |
|
116 |
|
117 |
|
118 | export declare function bucketTypeFromCpp(type: CppManagementClusterBucketType): BucketType | undefined;
|
119 |
|
120 |
|
121 |
|
122 | export declare function bucketCompressionModeToCpp(mode: CompressionMode | string | undefined): CppManagementClusterBucketCompression;
|
123 |
|
124 |
|
125 |
|
126 | export declare function bucketCompressionModeFromCpp(mode: CppManagementClusterBucketCompression): CompressionMode | undefined;
|
127 |
|
128 |
|
129 |
|
130 | export declare function bucketEvictionPolicyToCpp(policy: EvictionPolicy | string | undefined): CppManagementClusterBucketEvictionPolicy;
|
131 |
|
132 |
|
133 |
|
134 | export declare function bucketEvictionPolicyFromCpp(policy: CppManagementClusterBucketEvictionPolicy): EvictionPolicy | undefined;
|
135 |
|
136 |
|
137 |
|
138 | export declare function bucketStorageBackendToCpp(backend: StorageBackend | string | undefined): CppManagementClusterBucketStorageBackend;
|
139 |
|
140 |
|
141 |
|
142 | export declare function bucketStorageBackendFromCpp(backend: CppManagementClusterBucketStorageBackend): StorageBackend | undefined;
|
143 |
|
144 |
|
145 |
|
146 | export declare function bucketConflictResolutionTypeToCpp(type: ConflictResolutionType | string | undefined): CppManagementClusterBucketConflictResolution;
|
147 |
|
148 |
|
149 |
|
150 | export declare function bucketConflictResolutionTypeFromCpp(type: CppManagementClusterBucketConflictResolution): ConflictResolutionType | undefined;
|
151 |
|
152 |
|
153 |
|
154 | export declare function vectorQueryCombinationToCpp(combination: VectorQueryCombination | undefined): CppVectorQueryCombination;
|
155 |
|
156 |
|
157 |
|
158 | export declare function designDocumentNamespaceFromCpp(namespace: CppDesignDocumentNamespace): DesignDocumentNamespace;
|
159 |
|
160 |
|
161 |
|
162 | export declare function designDocumentNamespaceToCpp(namespace: DesignDocumentNamespace): CppDesignDocumentNamespace;
|
163 |
|
164 |
|
165 |
|
166 | export declare function transactionKeyspaceToCpp(keyspace?: TransactionKeyspace): CppTransactionKeyspace | undefined;
|
167 |
|
168 |
|
169 |
|
170 | export declare function eventingBucketBindingAccessToCpp(access: EventingFunctionBucketAccess): CppManagementEventingFunctionBucketAccess;
|
171 |
|
172 |
|
173 |
|
174 | export declare function eventingBucketBindingAccessFromCpp(access: CppManagementEventingFunctionBucketAccess): EventingFunctionBucketAccess;
|
175 |
|
176 |
|
177 |
|
178 | export declare function eventingFunctionDcpBoundaryToCpp(boundary: EventingFunctionDcpBoundary | undefined): CppManagementEventingFunctionDcpBoundary | undefined;
|
179 |
|
180 |
|
181 |
|
182 | export declare function eventingFunctionDcpBoundaryFromCpp(boundary: CppManagementEventingFunctionDcpBoundary | undefined): EventingFunctionDcpBoundary | undefined;
|
183 |
|
184 |
|
185 |
|
186 | export declare function eventingFunctionDeploymentStatusToCpp(status: EventingFunctionDeploymentStatus | undefined): CppManagementEventingFunctionDeploymentStatus | undefined;
|
187 |
|
188 |
|
189 |
|
190 | export declare function eventingFunctionDeploymentStatusFromCpp(status: CppManagementEventingFunctionDeploymentStatus | undefined): EventingFunctionDeploymentStatus | undefined;
|
191 |
|
192 |
|
193 |
|
194 | export declare function eventingFunctionProcessingStatusToCpp(status: EventingFunctionProcessingStatus | undefined): CppManagementEventingFunctionProcessingStatus | undefined;
|
195 |
|
196 |
|
197 |
|
198 | export declare function eventingFunctionProcessingStatusFromCpp(status: CppManagementEventingFunctionProcessingStatus | undefined): EventingFunctionProcessingStatus | undefined;
|
199 |
|
200 |
|
201 |
|
202 | export declare function eventingFunctionLogLevelToCpp(level: EventingFunctionLogLevel | undefined): CppManagementEventingFunctionLogLevel | undefined;
|
203 |
|
204 |
|
205 |
|
206 | export declare function eventingFunctionLogLevelFromCpp(level: CppManagementEventingFunctionLogLevel | undefined): EventingFunctionLogLevel | undefined;
|
207 |
|
208 |
|
209 |
|
210 | export declare function eventingFunctionLanguageCompatibilityToCpp(compatibility: EventingFunctionLanguageCompatibility | undefined): CppManagementEventingFunctionLanguageCompatibility | undefined;
|
211 |
|
212 |
|
213 |
|
214 | export declare function eventingFunctionLanguageCompatibilityFromCpp(compatibility: CppManagementEventingFunctionLanguageCompatibility | undefined): EventingFunctionLanguageCompatibility | undefined;
|
215 |
|
216 |
|
217 |
|
218 | export declare function eventingFunctionStatusFromCpp(status: CppManagementEventingFunctionStatus): EventingFunctionStatus;
|