@ibm-cloud/cloudant 0.9.2 → 0.10.1
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/README.md +45 -106
- package/auth/sessionTokenManager.d.ts +0 -1
- package/cloudant/features/changesResultItemStream.d.ts +0 -2
- package/cloudant/features/stream.d.ts +0 -2
- package/cloudant/v1.d.ts +354 -120
- package/cloudant/v1.js +357 -107
- package/cloudant/v1.js.map +1 -1
- package/lib/common.js +1 -2
- package/lib/common.js.map +1 -1
- package/lib/getAuthenticatorFromEnvCloudantExtension.js +1 -1
- package/lib/getAuthenticatorFromEnvCloudantExtension.js.map +1 -1
- package/package.json +14 -13
package/cloudant/v1.js
CHANGED
|
@@ -31,7 +31,7 @@ const getAuthenticatorFromEnvCloudantExtension_1 = __importDefault(require("../l
|
|
|
31
31
|
*/
|
|
32
32
|
class CloudantV1 extends cloudantBaseService_1.default {
|
|
33
33
|
static _logger = (0, ibm_cloud_sdk_core_1.getNewLogger)('CloudantV1');
|
|
34
|
-
static DEFAULT_SERVICE_URL = '
|
|
34
|
+
static DEFAULT_SERVICE_URL = 'https://~replace-with-cloudant-host~.cloudantnosqldb.appdomain.cloud';
|
|
35
35
|
static DEFAULT_SERVICE_NAME = 'cloudant';
|
|
36
36
|
/*************************
|
|
37
37
|
* Factory method
|
|
@@ -3935,9 +3935,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
3935
3935
|
/**
|
|
3936
3936
|
* Retrieve information about all indexes.
|
|
3937
3937
|
*
|
|
3938
|
-
* When you make a GET request to `/db/_index`, you get a list of all indexes
|
|
3939
|
-
*
|
|
3940
|
-
* the `indexes` property of design documents.
|
|
3938
|
+
* When you make a GET request to `/db/_index`, you get a list of all the indexes using `"language":"query"` in the
|
|
3939
|
+
* database and the primary index. In addition to the information available through this API, the indexes are stored
|
|
3940
|
+
* in the `indexes` property of their respective design documents.
|
|
3941
3941
|
*
|
|
3942
3942
|
* @param {Object} params - The parameters to send to the service.
|
|
3943
3943
|
* @param {string} params.db - Path parameter to specify the database name.
|
|
@@ -6344,7 +6344,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
6344
6344
|
/*************************
|
|
6345
6345
|
* model interfaces
|
|
6346
6346
|
************************/
|
|
6347
|
-
/**
|
|
6347
|
+
/**
|
|
6348
|
+
* Schema for information about a running task.
|
|
6349
|
+
*/
|
|
6348
6350
|
class ActiveTask {
|
|
6349
6351
|
/** The total count of attempted doc revisions fetched with `_bulk_get`. Available for `replication` type tasks. */
|
|
6350
6352
|
bulkGetAttempts;
|
|
@@ -6683,7 +6685,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
6683
6685
|
})(Type = Constants.Type || (Constants.Type = {}));
|
|
6684
6686
|
})(Constants = ActiveTask.Constants || (ActiveTask.Constants = {}));
|
|
6685
6687
|
})(ActiveTask = CloudantV1.ActiveTask || (CloudantV1.ActiveTask = {}));
|
|
6686
|
-
/**
|
|
6688
|
+
/**
|
|
6689
|
+
* Schema for Activity Tracker events.
|
|
6690
|
+
*/
|
|
6687
6691
|
class ActivityTrackerEvents {
|
|
6688
6692
|
/** An array of event types that are being sent to IBM Cloud Activity Tracker for the IBM Cloudant instance.
|
|
6689
6693
|
* "management" is a required element of this array.
|
|
@@ -6722,7 +6726,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
6722
6726
|
})(Types = Constants.Types || (Constants.Types = {}));
|
|
6723
6727
|
})(Constants = ActivityTrackerEvents.Constants || (ActivityTrackerEvents.Constants = {}));
|
|
6724
6728
|
})(ActivityTrackerEvents = CloudantV1.ActivityTrackerEvents || (CloudantV1.ActivityTrackerEvents = {}));
|
|
6725
|
-
/**
|
|
6729
|
+
/**
|
|
6730
|
+
* Schema for the result of an all documents queries operation.
|
|
6731
|
+
*/
|
|
6726
6732
|
class AllDocsQueriesResult {
|
|
6727
6733
|
/** An array of result objects - one for each query. Each result object contains the same fields as the response
|
|
6728
6734
|
* to a regular `/_all_docs` request.
|
|
@@ -6750,7 +6756,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
6750
6756
|
}
|
|
6751
6757
|
}
|
|
6752
6758
|
CloudantV1.AllDocsQueriesResult = AllDocsQueriesResult;
|
|
6753
|
-
/**
|
|
6759
|
+
/**
|
|
6760
|
+
* Schema for an all documents query operation.
|
|
6761
|
+
*/
|
|
6754
6762
|
class AllDocsQuery {
|
|
6755
6763
|
/** Parameter to specify whether to include the encoding information in attachment stubs if the particular
|
|
6756
6764
|
* attachment is compressed.
|
|
@@ -6878,7 +6886,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
6878
6886
|
}
|
|
6879
6887
|
}
|
|
6880
6888
|
CloudantV1.AllDocsQuery = AllDocsQuery;
|
|
6881
|
-
/**
|
|
6889
|
+
/**
|
|
6890
|
+
* Schema for the result of an all documents operation.
|
|
6891
|
+
*/
|
|
6882
6892
|
class AllDocsResult {
|
|
6883
6893
|
/** Number of total rows. */
|
|
6884
6894
|
totalRows;
|
|
@@ -6920,7 +6930,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
6920
6930
|
}
|
|
6921
6931
|
}
|
|
6922
6932
|
CloudantV1.AllDocsResult = AllDocsResult;
|
|
6923
|
-
/**
|
|
6933
|
+
/**
|
|
6934
|
+
* Schema for a full text search analyzer.
|
|
6935
|
+
*/
|
|
6924
6936
|
class Analyzer {
|
|
6925
6937
|
/** Schema for the name of the Apache Lucene analyzer to use for text indexing. The default value varies
|
|
6926
6938
|
* depending on the analyzer usage:
|
|
@@ -7008,7 +7020,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7008
7020
|
})(Name = Constants.Name || (Constants.Name = {}));
|
|
7009
7021
|
})(Constants = Analyzer.Constants || (Analyzer.Constants = {}));
|
|
7010
7022
|
})(Analyzer = CloudantV1.Analyzer || (CloudantV1.Analyzer = {}));
|
|
7011
|
-
/**
|
|
7023
|
+
/**
|
|
7024
|
+
* Schema for a search analyzer configuration.
|
|
7025
|
+
*/
|
|
7012
7026
|
class AnalyzerConfiguration {
|
|
7013
7027
|
/** Schema for the name of the Apache Lucene analyzer to use for text indexing. The default value varies
|
|
7014
7028
|
* depending on the analyzer usage:
|
|
@@ -7104,7 +7118,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7104
7118
|
})(Name = Constants.Name || (Constants.Name = {}));
|
|
7105
7119
|
})(Constants = AnalyzerConfiguration.Constants || (AnalyzerConfiguration.Constants = {}));
|
|
7106
7120
|
})(AnalyzerConfiguration = CloudantV1.AnalyzerConfiguration || (CloudantV1.AnalyzerConfiguration = {}));
|
|
7107
|
-
/**
|
|
7121
|
+
/**
|
|
7122
|
+
* Schema for api keys.
|
|
7123
|
+
*/
|
|
7108
7124
|
class ApiKeysResult {
|
|
7109
7125
|
/** ok. */
|
|
7110
7126
|
ok;
|
|
@@ -7146,7 +7162,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7146
7162
|
}
|
|
7147
7163
|
}
|
|
7148
7164
|
CloudantV1.ApiKeysResult = ApiKeysResult;
|
|
7149
|
-
/**
|
|
7165
|
+
/**
|
|
7166
|
+
* Schema for an attachment.
|
|
7167
|
+
*/
|
|
7150
7168
|
class Attachment {
|
|
7151
7169
|
/** Attachment MIME type. */
|
|
7152
7170
|
contentType;
|
|
@@ -7186,7 +7204,7 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7186
7204
|
copy.content_type = obj.contentType;
|
|
7187
7205
|
}
|
|
7188
7206
|
if (obj.data !== undefined) {
|
|
7189
|
-
copy.data = obj.data;
|
|
7207
|
+
copy.data = obj.data !== null ? obj.data.toString('base64') : null;
|
|
7190
7208
|
}
|
|
7191
7209
|
if (obj.digest !== undefined) {
|
|
7192
7210
|
copy.digest = obj.digest;
|
|
@@ -7220,7 +7238,7 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7220
7238
|
copy.contentType = obj.content_type;
|
|
7221
7239
|
}
|
|
7222
7240
|
if (obj.data !== undefined) {
|
|
7223
|
-
copy.data = obj.data;
|
|
7241
|
+
copy.data = obj.data !== null ? Buffer.from(obj.data, 'base64') : null;
|
|
7224
7242
|
}
|
|
7225
7243
|
if (obj.digest !== undefined) {
|
|
7226
7244
|
copy.digest = obj.digest;
|
|
@@ -7247,7 +7265,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7247
7265
|
}
|
|
7248
7266
|
}
|
|
7249
7267
|
CloudantV1.Attachment = Attachment;
|
|
7250
|
-
/**
|
|
7268
|
+
/**
|
|
7269
|
+
* Schema for submitting documents for bulk modifications.
|
|
7270
|
+
*/
|
|
7251
7271
|
class BulkDocs {
|
|
7252
7272
|
/** Array of documents. */
|
|
7253
7273
|
docs;
|
|
@@ -7281,7 +7301,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7281
7301
|
}
|
|
7282
7302
|
}
|
|
7283
7303
|
CloudantV1.BulkDocs = BulkDocs;
|
|
7284
|
-
/**
|
|
7304
|
+
/**
|
|
7305
|
+
* Schema for a document item in a bulk get query.
|
|
7306
|
+
*/
|
|
7285
7307
|
class BulkGetQueryDocument {
|
|
7286
7308
|
/** Includes attachments only since specified revisions. */
|
|
7287
7309
|
attsSince;
|
|
@@ -7323,7 +7345,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7323
7345
|
}
|
|
7324
7346
|
}
|
|
7325
7347
|
CloudantV1.BulkGetQueryDocument = BulkGetQueryDocument;
|
|
7326
|
-
/**
|
|
7348
|
+
/**
|
|
7349
|
+
* Schema for the results object of a bulk get operation.
|
|
7350
|
+
*/
|
|
7327
7351
|
class BulkGetResult {
|
|
7328
7352
|
/** Results. */
|
|
7329
7353
|
results;
|
|
@@ -7349,7 +7373,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7349
7373
|
}
|
|
7350
7374
|
}
|
|
7351
7375
|
CloudantV1.BulkGetResult = BulkGetResult;
|
|
7352
|
-
/**
|
|
7376
|
+
/**
|
|
7377
|
+
* Schema for BulkGetResult object containing a successfully retrieved document or error information.
|
|
7378
|
+
*/
|
|
7353
7379
|
class BulkGetResultDocument {
|
|
7354
7380
|
/** Schema for the result of a document modification. */
|
|
7355
7381
|
error;
|
|
@@ -7383,7 +7409,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7383
7409
|
}
|
|
7384
7410
|
}
|
|
7385
7411
|
CloudantV1.BulkGetResultDocument = BulkGetResultDocument;
|
|
7386
|
-
/**
|
|
7412
|
+
/**
|
|
7413
|
+
* Schema for the document revisions information from a bulk get operation.
|
|
7414
|
+
*/
|
|
7387
7415
|
class BulkGetResultItem {
|
|
7388
7416
|
/** Array of document revisions or error information. */
|
|
7389
7417
|
docs;
|
|
@@ -7417,7 +7445,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7417
7445
|
}
|
|
7418
7446
|
}
|
|
7419
7447
|
CloudantV1.BulkGetResultItem = BulkGetResultItem;
|
|
7420
|
-
/**
|
|
7448
|
+
/**
|
|
7449
|
+
* Schema for information about the currently provisioned and target throughput capacity.
|
|
7450
|
+
*/
|
|
7421
7451
|
class CapacityThroughputInformation {
|
|
7422
7452
|
/** Detailed information about provisioned throughput capacity. */
|
|
7423
7453
|
current;
|
|
@@ -7451,7 +7481,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7451
7481
|
}
|
|
7452
7482
|
}
|
|
7453
7483
|
CloudantV1.CapacityThroughputInformation = CapacityThroughputInformation;
|
|
7454
|
-
/**
|
|
7484
|
+
/**
|
|
7485
|
+
* Detailed information about provisioned throughput capacity.
|
|
7486
|
+
*/
|
|
7455
7487
|
class CapacityThroughputInformationCurrent {
|
|
7456
7488
|
/** Schema for detailed information about throughput capacity with breakdown by specific throughput requests
|
|
7457
7489
|
* classes.
|
|
@@ -7479,7 +7511,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7479
7511
|
}
|
|
7480
7512
|
}
|
|
7481
7513
|
CloudantV1.CapacityThroughputInformationCurrent = CapacityThroughputInformationCurrent;
|
|
7482
|
-
/**
|
|
7514
|
+
/**
|
|
7515
|
+
* Detailed information about target throughput capacity.
|
|
7516
|
+
*/
|
|
7483
7517
|
class CapacityThroughputInformationTarget {
|
|
7484
7518
|
/** Schema for detailed information about throughput capacity with breakdown by specific throughput requests
|
|
7485
7519
|
* classes.
|
|
@@ -7507,7 +7541,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7507
7541
|
}
|
|
7508
7542
|
}
|
|
7509
7543
|
CloudantV1.CapacityThroughputInformationTarget = CapacityThroughputInformationTarget;
|
|
7510
|
-
/**
|
|
7544
|
+
/**
|
|
7545
|
+
* Schema for a document leaf with single field rev.
|
|
7546
|
+
*/
|
|
7511
7547
|
class Change {
|
|
7512
7548
|
/** Schema for a document revision identifier. */
|
|
7513
7549
|
rev;
|
|
@@ -7533,7 +7569,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7533
7569
|
}
|
|
7534
7570
|
}
|
|
7535
7571
|
CloudantV1.Change = Change;
|
|
7536
|
-
/**
|
|
7572
|
+
/**
|
|
7573
|
+
* Schema for normal changes feed result.
|
|
7574
|
+
*/
|
|
7537
7575
|
class ChangesResult {
|
|
7538
7576
|
/** last_seq. */
|
|
7539
7577
|
lastSeq;
|
|
@@ -7575,7 +7613,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7575
7613
|
}
|
|
7576
7614
|
}
|
|
7577
7615
|
CloudantV1.ChangesResult = ChangesResult;
|
|
7578
|
-
/**
|
|
7616
|
+
/**
|
|
7617
|
+
* Schema for an item in the changes results array.
|
|
7618
|
+
*/
|
|
7579
7619
|
class ChangesResultItem {
|
|
7580
7620
|
/** List of document's leaves with single field rev. */
|
|
7581
7621
|
changes;
|
|
@@ -7633,7 +7673,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7633
7673
|
}
|
|
7634
7674
|
}
|
|
7635
7675
|
CloudantV1.ChangesResultItem = ChangesResultItem;
|
|
7636
|
-
/**
|
|
7676
|
+
/**
|
|
7677
|
+
* Schema for size information of content.
|
|
7678
|
+
*/
|
|
7637
7679
|
class ContentInformationSizes {
|
|
7638
7680
|
/** The active size of the content, in bytes. */
|
|
7639
7681
|
active;
|
|
@@ -7675,7 +7717,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7675
7717
|
}
|
|
7676
7718
|
}
|
|
7677
7719
|
CloudantV1.ContentInformationSizes = ContentInformationSizes;
|
|
7678
|
-
/**
|
|
7720
|
+
/**
|
|
7721
|
+
* Schema for information about the CORS configuration.
|
|
7722
|
+
*/
|
|
7679
7723
|
class CorsInformation {
|
|
7680
7724
|
/** Boolean value to allow authentication credentials. If set to true, browser requests must be done by using
|
|
7681
7725
|
* withCredentials = true.
|
|
@@ -7722,7 +7766,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7722
7766
|
}
|
|
7723
7767
|
}
|
|
7724
7768
|
CloudantV1.CorsInformation = CorsInformation;
|
|
7725
|
-
/**
|
|
7769
|
+
/**
|
|
7770
|
+
* Schema for information about current consumption of a provisioned throughput capacity.
|
|
7771
|
+
*/
|
|
7726
7772
|
class CurrentThroughputInformation {
|
|
7727
7773
|
/** Detailed information about current consumption. */
|
|
7728
7774
|
throughput;
|
|
@@ -7748,7 +7794,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7748
7794
|
}
|
|
7749
7795
|
}
|
|
7750
7796
|
CloudantV1.CurrentThroughputInformation = CurrentThroughputInformation;
|
|
7751
|
-
/**
|
|
7797
|
+
/**
|
|
7798
|
+
* Detailed information about current consumption.
|
|
7799
|
+
*/
|
|
7752
7800
|
class CurrentThroughputInformationThroughput {
|
|
7753
7801
|
/** Number of global queries conducted against the instance for a given second. */
|
|
7754
7802
|
query;
|
|
@@ -7790,7 +7838,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7790
7838
|
}
|
|
7791
7839
|
}
|
|
7792
7840
|
CloudantV1.CurrentThroughputInformationThroughput = CurrentThroughputInformationThroughput;
|
|
7793
|
-
/**
|
|
7841
|
+
/**
|
|
7842
|
+
* Schema for information about a database.
|
|
7843
|
+
*/
|
|
7794
7844
|
class DatabaseInformation {
|
|
7795
7845
|
/** Schema for database cluster information. */
|
|
7796
7846
|
cluster;
|
|
@@ -7932,7 +7982,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7932
7982
|
}
|
|
7933
7983
|
}
|
|
7934
7984
|
CloudantV1.DatabaseInformation = DatabaseInformation;
|
|
7935
|
-
/**
|
|
7985
|
+
/**
|
|
7986
|
+
* Schema for database cluster information.
|
|
7987
|
+
*/
|
|
7936
7988
|
class DatabaseInformationCluster {
|
|
7937
7989
|
/** Schema for the number of replicas of a database in a cluster. The cluster is using the default value and it
|
|
7938
7990
|
* cannot be changed by the user.
|
|
@@ -7984,7 +8036,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
7984
8036
|
}
|
|
7985
8037
|
}
|
|
7986
8038
|
CloudantV1.DatabaseInformationCluster = DatabaseInformationCluster;
|
|
7987
|
-
/**
|
|
8039
|
+
/**
|
|
8040
|
+
* Schema for database properties.
|
|
8041
|
+
*/
|
|
7988
8042
|
class DatabaseInformationProps {
|
|
7989
8043
|
/** The value is `true` for a partitioned database. */
|
|
7990
8044
|
partitioned;
|
|
@@ -8010,7 +8064,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8010
8064
|
}
|
|
8011
8065
|
}
|
|
8012
8066
|
CloudantV1.DatabaseInformationProps = DatabaseInformationProps;
|
|
8013
|
-
/**
|
|
8067
|
+
/**
|
|
8068
|
+
* Schema for a database change event.
|
|
8069
|
+
*/
|
|
8014
8070
|
class DbEvent {
|
|
8015
8071
|
/** Database name. */
|
|
8016
8072
|
dbName;
|
|
@@ -8064,7 +8120,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8064
8120
|
})(Type = Constants.Type || (Constants.Type = {}));
|
|
8065
8121
|
})(Constants = DbEvent.Constants || (DbEvent.Constants = {}));
|
|
8066
8122
|
})(DbEvent = CloudantV1.DbEvent || (CloudantV1.DbEvent = {}));
|
|
8067
|
-
/**
|
|
8123
|
+
/**
|
|
8124
|
+
* Schema for database updates.
|
|
8125
|
+
*/
|
|
8068
8126
|
class DbUpdates {
|
|
8069
8127
|
/** Last sequence number. */
|
|
8070
8128
|
lastSeq;
|
|
@@ -8098,7 +8156,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8098
8156
|
}
|
|
8099
8157
|
}
|
|
8100
8158
|
CloudantV1.DbUpdates = DbUpdates;
|
|
8101
|
-
/**
|
|
8159
|
+
/**
|
|
8160
|
+
* Schema for database information keyed by database name.
|
|
8161
|
+
*/
|
|
8102
8162
|
class DbsInfoResult {
|
|
8103
8163
|
/** The name of the error. */
|
|
8104
8164
|
error;
|
|
@@ -8140,7 +8200,11 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8140
8200
|
}
|
|
8141
8201
|
}
|
|
8142
8202
|
CloudantV1.DbsInfoResult = DbsInfoResult;
|
|
8143
|
-
/**
|
|
8203
|
+
/**
|
|
8204
|
+
* Schema for a design document.
|
|
8205
|
+
*
|
|
8206
|
+
* This type supports additional properties of type any.
|
|
8207
|
+
*/
|
|
8144
8208
|
class DesignDocument {
|
|
8145
8209
|
/** Schema for a map of attachment name to attachment metadata. */
|
|
8146
8210
|
_attachments;
|
|
@@ -8398,7 +8462,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8398
8462
|
}
|
|
8399
8463
|
}
|
|
8400
8464
|
CloudantV1.DesignDocument = DesignDocument;
|
|
8401
|
-
/**
|
|
8465
|
+
/**
|
|
8466
|
+
* Schema for information about a design document.
|
|
8467
|
+
*/
|
|
8402
8468
|
class DesignDocumentInformation {
|
|
8403
8469
|
/** name. */
|
|
8404
8470
|
name;
|
|
@@ -8432,7 +8498,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8432
8498
|
}
|
|
8433
8499
|
}
|
|
8434
8500
|
CloudantV1.DesignDocumentInformation = DesignDocumentInformation;
|
|
8435
|
-
/**
|
|
8501
|
+
/**
|
|
8502
|
+
* Schema for design document options.
|
|
8503
|
+
*/
|
|
8436
8504
|
class DesignDocumentOptions {
|
|
8437
8505
|
/** Whether this design document describes partitioned or global indexes. */
|
|
8438
8506
|
partitioned;
|
|
@@ -8458,7 +8526,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8458
8526
|
}
|
|
8459
8527
|
}
|
|
8460
8528
|
CloudantV1.DesignDocumentOptions = DesignDocumentOptions;
|
|
8461
|
-
/**
|
|
8529
|
+
/**
|
|
8530
|
+
* View index information.
|
|
8531
|
+
*/
|
|
8462
8532
|
class DesignDocumentViewIndex {
|
|
8463
8533
|
/** List of collator versions. If there are multiple entries this implies a libicu upgrade has occurred but
|
|
8464
8534
|
* compaction has not run yet.
|
|
@@ -8550,7 +8620,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8550
8620
|
}
|
|
8551
8621
|
}
|
|
8552
8622
|
CloudantV1.DesignDocumentViewIndex = DesignDocumentViewIndex;
|
|
8553
|
-
/**
|
|
8623
|
+
/**
|
|
8624
|
+
* Schema for view functions definition.
|
|
8625
|
+
*/
|
|
8554
8626
|
class DesignDocumentViewsMapReduce {
|
|
8555
8627
|
/** JavaScript map function as a string. */
|
|
8556
8628
|
map;
|
|
@@ -8584,7 +8656,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8584
8656
|
}
|
|
8585
8657
|
}
|
|
8586
8658
|
CloudantV1.DesignDocumentViewsMapReduce = DesignDocumentViewsMapReduce;
|
|
8587
|
-
/**
|
|
8659
|
+
/**
|
|
8660
|
+
* Schema for a row of document information in a DocsResult.
|
|
8661
|
+
*/
|
|
8588
8662
|
class DocsResultRow {
|
|
8589
8663
|
/** The cause of the error (if available). */
|
|
8590
8664
|
causedBy;
|
|
@@ -8666,7 +8740,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8666
8740
|
}
|
|
8667
8741
|
}
|
|
8668
8742
|
CloudantV1.DocsResultRow = DocsResultRow;
|
|
8669
|
-
/**
|
|
8743
|
+
/**
|
|
8744
|
+
* Value of built-in `/_all_docs` style view.
|
|
8745
|
+
*/
|
|
8670
8746
|
class DocsResultRowValue {
|
|
8671
8747
|
/** If `true` then the document is deleted. Not present for undeleted documents. */
|
|
8672
8748
|
deleted;
|
|
@@ -8700,7 +8776,11 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8700
8776
|
}
|
|
8701
8777
|
}
|
|
8702
8778
|
CloudantV1.DocsResultRowValue = DocsResultRowValue;
|
|
8703
|
-
/**
|
|
8779
|
+
/**
|
|
8780
|
+
* Schema for a document.
|
|
8781
|
+
*
|
|
8782
|
+
* This type supports additional properties of type any.
|
|
8783
|
+
*/
|
|
8704
8784
|
class Document {
|
|
8705
8785
|
/** Schema for a map of attachment name to attachment metadata. */
|
|
8706
8786
|
_attachments;
|
|
@@ -8822,7 +8902,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8822
8902
|
}
|
|
8823
8903
|
}
|
|
8824
8904
|
CloudantV1.Document = Document;
|
|
8825
|
-
/**
|
|
8905
|
+
/**
|
|
8906
|
+
* Schema for the result of a document modification.
|
|
8907
|
+
*/
|
|
8826
8908
|
class DocumentResult {
|
|
8827
8909
|
/** Schema for a document ID. */
|
|
8828
8910
|
id;
|
|
@@ -8896,7 +8978,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8896
8978
|
}
|
|
8897
8979
|
}
|
|
8898
8980
|
CloudantV1.DocumentResult = DocumentResult;
|
|
8899
|
-
/**
|
|
8981
|
+
/**
|
|
8982
|
+
* Schema for information about revisions and their status.
|
|
8983
|
+
*/
|
|
8900
8984
|
class DocumentRevisionStatus {
|
|
8901
8985
|
/** Schema for a document revision identifier. */
|
|
8902
8986
|
rev;
|
|
@@ -8944,7 +9028,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8944
9028
|
})(Status = Constants.Status || (Constants.Status = {}));
|
|
8945
9029
|
})(Constants = DocumentRevisionStatus.Constants || (DocumentRevisionStatus.Constants = {}));
|
|
8946
9030
|
})(DocumentRevisionStatus = CloudantV1.DocumentRevisionStatus || (CloudantV1.DocumentRevisionStatus = {}));
|
|
8947
|
-
/**
|
|
9031
|
+
/**
|
|
9032
|
+
* Schema for document shard information.
|
|
9033
|
+
*/
|
|
8948
9034
|
class DocumentShardInfo {
|
|
8949
9035
|
/** List of nodes serving a replica of the shard. */
|
|
8950
9036
|
nodes;
|
|
@@ -8978,7 +9064,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
8978
9064
|
}
|
|
8979
9065
|
}
|
|
8980
9066
|
CloudantV1.DocumentShardInfo = DocumentShardInfo;
|
|
8981
|
-
/**
|
|
9067
|
+
/**
|
|
9068
|
+
* Schema for find query execution statistics.
|
|
9069
|
+
*/
|
|
8982
9070
|
class ExecutionStats {
|
|
8983
9071
|
/** Time to execute the query. */
|
|
8984
9072
|
executionTimeMs;
|
|
@@ -9036,7 +9124,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9036
9124
|
}
|
|
9037
9125
|
}
|
|
9038
9126
|
CloudantV1.ExecutionStats = ExecutionStats;
|
|
9039
|
-
/**
|
|
9127
|
+
/**
|
|
9128
|
+
* Schema for information about the index used for a find query.
|
|
9129
|
+
*/
|
|
9040
9130
|
class ExplainResult {
|
|
9041
9131
|
/** When `true`, the query is answered using the index only and no documents are fetched. */
|
|
9042
9132
|
covering;
|
|
@@ -9179,7 +9269,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9179
9269
|
}
|
|
9180
9270
|
}
|
|
9181
9271
|
CloudantV1.ExplainResult = ExplainResult;
|
|
9182
|
-
/**
|
|
9272
|
+
/**
|
|
9273
|
+
* Arguments passed to the underlying view.
|
|
9274
|
+
*/
|
|
9183
9275
|
class ExplainResultMrArgs {
|
|
9184
9276
|
/** Schema for any JSON type. */
|
|
9185
9277
|
conflicts;
|
|
@@ -9294,7 +9386,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9294
9386
|
})(ViewType = Constants.ViewType || (Constants.ViewType = {}));
|
|
9295
9387
|
})(Constants = ExplainResultMrArgs.Constants || (ExplainResultMrArgs.Constants = {}));
|
|
9296
9388
|
})(ExplainResultMrArgs = CloudantV1.ExplainResultMrArgs || (CloudantV1.ExplainResultMrArgs = {}));
|
|
9297
|
-
/**
|
|
9389
|
+
/**
|
|
9390
|
+
* Options used for the request.
|
|
9391
|
+
*/
|
|
9298
9392
|
class ExplainResultOpts {
|
|
9299
9393
|
/** Opaque bookmark token used when paginating results. */
|
|
9300
9394
|
bookmark;
|
|
@@ -9420,7 +9514,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9420
9514
|
}
|
|
9421
9515
|
}
|
|
9422
9516
|
CloudantV1.ExplainResultOpts = ExplainResultOpts;
|
|
9423
|
-
/**
|
|
9517
|
+
/**
|
|
9518
|
+
* Schema for the result of a query find operation.
|
|
9519
|
+
*/
|
|
9424
9520
|
class FindResult {
|
|
9425
9521
|
/** Opaque bookmark token used when paginating results. */
|
|
9426
9522
|
bookmark;
|
|
@@ -9470,7 +9566,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9470
9566
|
}
|
|
9471
9567
|
}
|
|
9472
9568
|
CloudantV1.FindResult = FindResult;
|
|
9473
|
-
/**
|
|
9569
|
+
/**
|
|
9570
|
+
* Schema for detailed explanation of why the specific index was excluded by the query planner.
|
|
9571
|
+
*/
|
|
9474
9572
|
class IndexAnalysis {
|
|
9475
9573
|
/** When `true`, the query is answered using the index only and no documents are fetched. */
|
|
9476
9574
|
covering;
|
|
@@ -9520,7 +9618,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9520
9618
|
}
|
|
9521
9619
|
}
|
|
9522
9620
|
CloudantV1.IndexAnalysis = IndexAnalysis;
|
|
9523
|
-
/**
|
|
9621
|
+
/**
|
|
9622
|
+
* A reason for index's exclusion.
|
|
9623
|
+
*/
|
|
9524
9624
|
class IndexAnalysisExclusionReason {
|
|
9525
9625
|
/** A reason code for index's exclusion.
|
|
9526
9626
|
*
|
|
@@ -9584,7 +9684,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9584
9684
|
})(Name = Constants.Name || (Constants.Name = {}));
|
|
9585
9685
|
})(Constants = IndexAnalysisExclusionReason.Constants || (IndexAnalysisExclusionReason.Constants = {}));
|
|
9586
9686
|
})(IndexAnalysisExclusionReason = CloudantV1.IndexAnalysisExclusionReason || (CloudantV1.IndexAnalysisExclusionReason = {}));
|
|
9587
|
-
/**
|
|
9687
|
+
/**
|
|
9688
|
+
* Schema for an index that was not chosen for serving the query with the reason for the exclusion.
|
|
9689
|
+
*/
|
|
9588
9690
|
class IndexCandidate {
|
|
9589
9691
|
/** Schema for detailed explanation of why the specific index was excluded by the query planner. */
|
|
9590
9692
|
analysis;
|
|
@@ -9618,7 +9720,12 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9618
9720
|
}
|
|
9619
9721
|
}
|
|
9620
9722
|
CloudantV1.IndexCandidate = IndexCandidate;
|
|
9621
|
-
/**
|
|
9723
|
+
/**
|
|
9724
|
+
* Schema for a `json` or `text` query index definition. Indexes of type `text` have additional configuration
|
|
9725
|
+
* properties that do not apply to `json` indexes, these are:
|
|
9726
|
+
* * `default_analyzer` - the default text analyzer to use * `default_field` - whether to index the text in all
|
|
9727
|
+
* document fields and what analyzer to use for that purpose.
|
|
9728
|
+
*/
|
|
9622
9729
|
class IndexDefinition {
|
|
9623
9730
|
/** Schema for a full text search analyzer. */
|
|
9624
9731
|
defaultAnalyzer;
|
|
@@ -9716,7 +9823,11 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9716
9823
|
}
|
|
9717
9824
|
}
|
|
9718
9825
|
CloudantV1.IndexDefinition = IndexDefinition;
|
|
9719
|
-
/**
|
|
9826
|
+
/**
|
|
9827
|
+
* Schema for indexed fields for use with declarative JSON query.
|
|
9828
|
+
*
|
|
9829
|
+
* This type supports additional properties of type string. Schema for sort direction.
|
|
9830
|
+
*/
|
|
9720
9831
|
class IndexField {
|
|
9721
9832
|
/** Name of the field. */
|
|
9722
9833
|
name;
|
|
@@ -9780,7 +9891,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9780
9891
|
})(Type = Constants.Type || (Constants.Type = {}));
|
|
9781
9892
|
})(Constants = IndexField.Constants || (IndexField.Constants = {}));
|
|
9782
9893
|
})(IndexField = CloudantV1.IndexField || (CloudantV1.IndexField = {}));
|
|
9783
|
-
/**
|
|
9894
|
+
/**
|
|
9895
|
+
* Schema for information about an index.
|
|
9896
|
+
*/
|
|
9784
9897
|
class IndexInformation {
|
|
9785
9898
|
/** Design document ID including a `_design/` prefix. */
|
|
9786
9899
|
ddoc;
|
|
@@ -9854,7 +9967,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9854
9967
|
})(Type = Constants.Type || (Constants.Type = {}));
|
|
9855
9968
|
})(Constants = IndexInformation.Constants || (IndexInformation.Constants = {}));
|
|
9856
9969
|
})(IndexInformation = CloudantV1.IndexInformation || (CloudantV1.IndexInformation = {}));
|
|
9857
|
-
/**
|
|
9970
|
+
/**
|
|
9971
|
+
* Schema for the result of creating an index.
|
|
9972
|
+
*/
|
|
9858
9973
|
class IndexResult {
|
|
9859
9974
|
/** Id of the design document the index was created in. */
|
|
9860
9975
|
id;
|
|
@@ -9907,7 +10022,10 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9907
10022
|
})(Result = Constants.Result || (Constants.Result = {}));
|
|
9908
10023
|
})(Constants = IndexResult.Constants || (IndexResult.Constants = {}));
|
|
9909
10024
|
})(IndexResult = CloudantV1.IndexResult || (CloudantV1.IndexResult = {}));
|
|
9910
|
-
/**
|
|
10025
|
+
/**
|
|
10026
|
+
* Schema for the text index default field configuration. The default field is used to index the text of all fields
|
|
10027
|
+
* within a document for use with the `$text` operator.
|
|
10028
|
+
*/
|
|
9911
10029
|
class IndexTextOperatorDefaultField {
|
|
9912
10030
|
/** Schema for a full text search analyzer. */
|
|
9913
10031
|
analyzer;
|
|
@@ -9941,7 +10059,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9941
10059
|
}
|
|
9942
10060
|
}
|
|
9943
10061
|
CloudantV1.IndexTextOperatorDefaultField = IndexTextOperatorDefaultField;
|
|
9944
|
-
/**
|
|
10062
|
+
/**
|
|
10063
|
+
* Schema for information about the indexes in a database.
|
|
10064
|
+
*/
|
|
9945
10065
|
class IndexesInformation {
|
|
9946
10066
|
/** Number of total rows. */
|
|
9947
10067
|
totalRows;
|
|
@@ -9975,7 +10095,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
9975
10095
|
}
|
|
9976
10096
|
}
|
|
9977
10097
|
CloudantV1.IndexesInformation = IndexesInformation;
|
|
9978
|
-
/**
|
|
10098
|
+
/**
|
|
10099
|
+
* Schema for information about known nodes and cluster membership.
|
|
10100
|
+
*/
|
|
9979
10101
|
class MembershipInformation {
|
|
9980
10102
|
/** List of nodes this node knows about, including the ones that are part of the cluster. */
|
|
9981
10103
|
allNodes;
|
|
@@ -10009,7 +10131,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10009
10131
|
}
|
|
10010
10132
|
}
|
|
10011
10133
|
CloudantV1.MembershipInformation = MembershipInformation;
|
|
10012
|
-
/**
|
|
10134
|
+
/**
|
|
10135
|
+
* Schema for an OK result.
|
|
10136
|
+
*/
|
|
10013
10137
|
class Ok {
|
|
10014
10138
|
/** ok. */
|
|
10015
10139
|
ok;
|
|
@@ -10035,7 +10159,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10035
10159
|
}
|
|
10036
10160
|
}
|
|
10037
10161
|
CloudantV1.Ok = Ok;
|
|
10038
|
-
/**
|
|
10162
|
+
/**
|
|
10163
|
+
* Schema for information about a database partition.
|
|
10164
|
+
*/
|
|
10039
10165
|
class PartitionInformation {
|
|
10040
10166
|
/** The name of the database. */
|
|
10041
10167
|
dbName;
|
|
@@ -10101,7 +10227,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10101
10227
|
}
|
|
10102
10228
|
}
|
|
10103
10229
|
CloudantV1.PartitionInformation = PartitionInformation;
|
|
10104
|
-
/**
|
|
10230
|
+
/**
|
|
10231
|
+
* Schema for information about the partition index count and limit in a database.
|
|
10232
|
+
*/
|
|
10105
10233
|
class PartitionInformationIndexes {
|
|
10106
10234
|
/** Total count of the partitioned indexes. */
|
|
10107
10235
|
count;
|
|
@@ -10143,7 +10271,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10143
10271
|
}
|
|
10144
10272
|
}
|
|
10145
10273
|
CloudantV1.PartitionInformationIndexes = PartitionInformationIndexes;
|
|
10146
|
-
/**
|
|
10274
|
+
/**
|
|
10275
|
+
* The count breakdown of partitioned indexes.
|
|
10276
|
+
*/
|
|
10147
10277
|
class PartitionInformationIndexesIndexes {
|
|
10148
10278
|
/** Number of partitioned search indexes. */
|
|
10149
10279
|
search;
|
|
@@ -10177,7 +10307,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10177
10307
|
}
|
|
10178
10308
|
}
|
|
10179
10309
|
CloudantV1.PartitionInformationIndexesIndexes = PartitionInformationIndexesIndexes;
|
|
10180
|
-
/**
|
|
10310
|
+
/**
|
|
10311
|
+
* The size of active and external data, in bytes.
|
|
10312
|
+
*/
|
|
10181
10313
|
class PartitionInformationSizes {
|
|
10182
10314
|
/** The size of live data inside the database, in bytes. */
|
|
10183
10315
|
active;
|
|
@@ -10211,7 +10343,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10211
10343
|
}
|
|
10212
10344
|
}
|
|
10213
10345
|
CloudantV1.PartitionInformationSizes = PartitionInformationSizes;
|
|
10214
|
-
/**
|
|
10346
|
+
/**
|
|
10347
|
+
* Number of partitioned indexes by type.
|
|
10348
|
+
*/
|
|
10215
10349
|
class PartitionedIndexesDetailedInformation {
|
|
10216
10350
|
/** Number of partitioned indexes of search type. */
|
|
10217
10351
|
search;
|
|
@@ -10245,7 +10379,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10245
10379
|
}
|
|
10246
10380
|
}
|
|
10247
10381
|
CloudantV1.PartitionedIndexesDetailedInformation = PartitionedIndexesDetailedInformation;
|
|
10248
|
-
/**
|
|
10382
|
+
/**
|
|
10383
|
+
* Information about database's partitioned indexes.
|
|
10384
|
+
*/
|
|
10249
10385
|
class PartitionedIndexesInformation {
|
|
10250
10386
|
/** Total number of partitioned indexes in the database. */
|
|
10251
10387
|
count;
|
|
@@ -10287,7 +10423,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10287
10423
|
}
|
|
10288
10424
|
}
|
|
10289
10425
|
CloudantV1.PartitionedIndexesInformation = PartitionedIndexesInformation;
|
|
10290
|
-
/**
|
|
10426
|
+
/**
|
|
10427
|
+
* Request parameters to use during target database creation.
|
|
10428
|
+
*/
|
|
10291
10429
|
class ReplicationCreateTargetParameters {
|
|
10292
10430
|
/** Schema for the number of replicas of a database in a cluster. The cluster is using the default value and it
|
|
10293
10431
|
* cannot be changed by the user.
|
|
@@ -10331,7 +10469,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10331
10469
|
}
|
|
10332
10470
|
}
|
|
10333
10471
|
CloudantV1.ReplicationCreateTargetParameters = ReplicationCreateTargetParameters;
|
|
10334
|
-
/**
|
|
10472
|
+
/**
|
|
10473
|
+
* Schema for a replication source or target database.
|
|
10474
|
+
*/
|
|
10335
10475
|
class ReplicationDatabase {
|
|
10336
10476
|
/** Schema for replication source or target database authentication. */
|
|
10337
10477
|
auth;
|
|
@@ -10373,7 +10513,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10373
10513
|
}
|
|
10374
10514
|
}
|
|
10375
10515
|
CloudantV1.ReplicationDatabase = ReplicationDatabase;
|
|
10376
|
-
/**
|
|
10516
|
+
/**
|
|
10517
|
+
* Schema for replication source or target database authentication.
|
|
10518
|
+
*/
|
|
10377
10519
|
class ReplicationDatabaseAuth {
|
|
10378
10520
|
/** Schema for basic authentication of replication source or target database. */
|
|
10379
10521
|
basic;
|
|
@@ -10407,7 +10549,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10407
10549
|
}
|
|
10408
10550
|
}
|
|
10409
10551
|
CloudantV1.ReplicationDatabaseAuth = ReplicationDatabaseAuth;
|
|
10410
|
-
/**
|
|
10552
|
+
/**
|
|
10553
|
+
* Schema for basic authentication of replication source or target database.
|
|
10554
|
+
*/
|
|
10411
10555
|
class ReplicationDatabaseAuthBasic {
|
|
10412
10556
|
/** The password associated with the username. */
|
|
10413
10557
|
password;
|
|
@@ -10441,7 +10585,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10441
10585
|
}
|
|
10442
10586
|
}
|
|
10443
10587
|
CloudantV1.ReplicationDatabaseAuthBasic = ReplicationDatabaseAuthBasic;
|
|
10444
|
-
/**
|
|
10588
|
+
/**
|
|
10589
|
+
* Schema for an IAM API key for replication database authentication.
|
|
10590
|
+
*/
|
|
10445
10591
|
class ReplicationDatabaseAuthIam {
|
|
10446
10592
|
/** IAM API key. */
|
|
10447
10593
|
apiKey;
|
|
@@ -10467,7 +10613,11 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10467
10613
|
}
|
|
10468
10614
|
}
|
|
10469
10615
|
CloudantV1.ReplicationDatabaseAuthIam = ReplicationDatabaseAuthIam;
|
|
10470
|
-
/**
|
|
10616
|
+
/**
|
|
10617
|
+
* Schema for a replication document. Note that `selector`, `doc_ids`, and `filter` are incompatible with each other.
|
|
10618
|
+
*
|
|
10619
|
+
* This type supports additional properties of type any.
|
|
10620
|
+
*/
|
|
10471
10621
|
class ReplicationDocument {
|
|
10472
10622
|
/** Schema for a map of attachment name to attachment metadata. */
|
|
10473
10623
|
_attachments;
|
|
@@ -10510,6 +10660,10 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10510
10660
|
filter;
|
|
10511
10661
|
/** Maximum number of HTTP connections per replication. */
|
|
10512
10662
|
httpConnections;
|
|
10663
|
+
/** The replication document owner. The server sets an appropriate value if the field is unset when writing a
|
|
10664
|
+
* replication document. Only administrators can modify the value to an owner other than themselves.
|
|
10665
|
+
*/
|
|
10666
|
+
owner;
|
|
10513
10667
|
/** Schema for a map of string key value pairs, such as query parameters. */
|
|
10514
10668
|
queryParams;
|
|
10515
10669
|
/** Number of times a replication request is retried. The requests are retried with a doubling exponential
|
|
@@ -10649,6 +10803,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10649
10803
|
if (obj.httpConnections !== undefined) {
|
|
10650
10804
|
copy.http_connections = obj.httpConnections;
|
|
10651
10805
|
}
|
|
10806
|
+
if (obj.owner !== undefined) {
|
|
10807
|
+
copy.owner = obj.owner;
|
|
10808
|
+
}
|
|
10652
10809
|
if (obj.queryParams !== undefined) {
|
|
10653
10810
|
copy.query_params = obj.queryParams;
|
|
10654
10811
|
}
|
|
@@ -10713,6 +10870,7 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10713
10870
|
'docIds',
|
|
10714
10871
|
'filter',
|
|
10715
10872
|
'httpConnections',
|
|
10873
|
+
'owner',
|
|
10716
10874
|
'queryParams',
|
|
10717
10875
|
'retriesPerRequest',
|
|
10718
10876
|
'selector',
|
|
@@ -10795,6 +10953,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10795
10953
|
if (obj.http_connections !== undefined) {
|
|
10796
10954
|
copy.httpConnections = obj.http_connections;
|
|
10797
10955
|
}
|
|
10956
|
+
if (obj.owner !== undefined) {
|
|
10957
|
+
copy.owner = obj.owner;
|
|
10958
|
+
}
|
|
10798
10959
|
if (obj.query_params !== undefined) {
|
|
10799
10960
|
copy.queryParams = obj.query_params;
|
|
10800
10961
|
}
|
|
@@ -10859,6 +11020,7 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10859
11020
|
'doc_ids',
|
|
10860
11021
|
'filter',
|
|
10861
11022
|
'http_connections',
|
|
11023
|
+
'owner',
|
|
10862
11024
|
'query_params',
|
|
10863
11025
|
'retries_per_request',
|
|
10864
11026
|
'selector',
|
|
@@ -10884,7 +11046,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10884
11046
|
}
|
|
10885
11047
|
}
|
|
10886
11048
|
CloudantV1.ReplicationDocument = ReplicationDocument;
|
|
10887
|
-
/**
|
|
11049
|
+
/**
|
|
11050
|
+
* Schema for list of revision information.
|
|
11051
|
+
*/
|
|
10888
11052
|
class Revisions {
|
|
10889
11053
|
/** Array of valid revision IDs, in reverse order (latest first). */
|
|
10890
11054
|
ids;
|
|
@@ -10918,7 +11082,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10918
11082
|
}
|
|
10919
11083
|
}
|
|
10920
11084
|
CloudantV1.Revisions = Revisions;
|
|
10921
|
-
/**
|
|
11085
|
+
/**
|
|
11086
|
+
* Schema for information about missing revs and possible ancestors.
|
|
11087
|
+
*/
|
|
10922
11088
|
class RevsDiff {
|
|
10923
11089
|
/** List of missing revisions. */
|
|
10924
11090
|
missing;
|
|
@@ -10952,7 +11118,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10952
11118
|
}
|
|
10953
11119
|
}
|
|
10954
11120
|
CloudantV1.RevsDiff = RevsDiff;
|
|
10955
|
-
/**
|
|
11121
|
+
/**
|
|
11122
|
+
* Schema for a listing of replication scheduler documents.
|
|
11123
|
+
*/
|
|
10956
11124
|
class SchedulerDocsResult {
|
|
10957
11125
|
/** Number of total rows. */
|
|
10958
11126
|
totalRows;
|
|
@@ -10986,7 +11154,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10986
11154
|
}
|
|
10987
11155
|
}
|
|
10988
11156
|
CloudantV1.SchedulerDocsResult = SchedulerDocsResult;
|
|
10989
|
-
/**
|
|
11157
|
+
/**
|
|
11158
|
+
* Schema for a replication scheduler document.
|
|
11159
|
+
*/
|
|
10990
11160
|
class SchedulerDocument {
|
|
10991
11161
|
/** Database where replication document came from. */
|
|
10992
11162
|
database;
|
|
@@ -11135,7 +11305,10 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11135
11305
|
})(State = Constants.State || (Constants.State = {}));
|
|
11136
11306
|
})(Constants = SchedulerDocument.Constants || (SchedulerDocument.Constants = {}));
|
|
11137
11307
|
})(SchedulerDocument = CloudantV1.SchedulerDocument || (CloudantV1.SchedulerDocument = {}));
|
|
11138
|
-
/**
|
|
11308
|
+
/**
|
|
11309
|
+
* Schema for scheduler document information. A JSON object that may contain additional information about the state.
|
|
11310
|
+
* For error states this will contain an error field and string value.
|
|
11311
|
+
*/
|
|
11139
11312
|
class SchedulerInfo {
|
|
11140
11313
|
/** The count of changes not yet replicated. */
|
|
11141
11314
|
changesPending;
|
|
@@ -11233,7 +11406,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11233
11406
|
}
|
|
11234
11407
|
}
|
|
11235
11408
|
CloudantV1.SchedulerInfo = SchedulerInfo;
|
|
11236
|
-
/**
|
|
11409
|
+
/**
|
|
11410
|
+
* Schema for a replication scheduler job.
|
|
11411
|
+
*/
|
|
11237
11412
|
class SchedulerJob {
|
|
11238
11413
|
/** Replication document database. */
|
|
11239
11414
|
database;
|
|
@@ -11341,7 +11516,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11341
11516
|
}
|
|
11342
11517
|
}
|
|
11343
11518
|
CloudantV1.SchedulerJob = SchedulerJob;
|
|
11344
|
-
/**
|
|
11519
|
+
/**
|
|
11520
|
+
* Schema for a replication scheduler job event.
|
|
11521
|
+
*/
|
|
11345
11522
|
class SchedulerJobEvent {
|
|
11346
11523
|
/** Reason for current state of event. */
|
|
11347
11524
|
reason;
|
|
@@ -11383,7 +11560,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11383
11560
|
}
|
|
11384
11561
|
}
|
|
11385
11562
|
CloudantV1.SchedulerJobEvent = SchedulerJobEvent;
|
|
11386
|
-
/**
|
|
11563
|
+
/**
|
|
11564
|
+
* Schema for a listing of replication scheduler jobs.
|
|
11565
|
+
*/
|
|
11387
11566
|
class SchedulerJobsResult {
|
|
11388
11567
|
/** Number of total rows. */
|
|
11389
11568
|
totalRows;
|
|
@@ -11417,7 +11596,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11417
11596
|
}
|
|
11418
11597
|
}
|
|
11419
11598
|
CloudantV1.SchedulerJobsResult = SchedulerJobsResult;
|
|
11420
|
-
/**
|
|
11599
|
+
/**
|
|
11600
|
+
* Schema for the output of testing search analyzer tokenization.
|
|
11601
|
+
*/
|
|
11421
11602
|
class SearchAnalyzeResult {
|
|
11422
11603
|
/** tokens. */
|
|
11423
11604
|
tokens;
|
|
@@ -11443,7 +11624,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11443
11624
|
}
|
|
11444
11625
|
}
|
|
11445
11626
|
CloudantV1.SearchAnalyzeResult = SearchAnalyzeResult;
|
|
11446
|
-
/**
|
|
11627
|
+
/**
|
|
11628
|
+
* Schema for a search index definition.
|
|
11629
|
+
*/
|
|
11447
11630
|
class SearchIndexDefinition {
|
|
11448
11631
|
/** Schema for a search analyzer configuration. */
|
|
11449
11632
|
analyzer;
|
|
@@ -11496,7 +11679,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11496
11679
|
}
|
|
11497
11680
|
}
|
|
11498
11681
|
CloudantV1.SearchIndexDefinition = SearchIndexDefinition;
|
|
11499
|
-
/**
|
|
11682
|
+
/**
|
|
11683
|
+
* Schema for metadata information about a search index.
|
|
11684
|
+
*/
|
|
11500
11685
|
class SearchIndexInfo {
|
|
11501
11686
|
/** The committed sequence identifier. */
|
|
11502
11687
|
committedSeq;
|
|
@@ -11562,7 +11747,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11562
11747
|
}
|
|
11563
11748
|
}
|
|
11564
11749
|
CloudantV1.SearchIndexInfo = SearchIndexInfo;
|
|
11565
|
-
/**
|
|
11750
|
+
/**
|
|
11751
|
+
* Schema for search index information.
|
|
11752
|
+
*/
|
|
11566
11753
|
class SearchInfoResult {
|
|
11567
11754
|
/** The name of the search index prefixed by the design document ID where the index is stored. */
|
|
11568
11755
|
name;
|
|
@@ -11596,7 +11783,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11596
11783
|
}
|
|
11597
11784
|
}
|
|
11598
11785
|
CloudantV1.SearchInfoResult = SearchInfoResult;
|
|
11599
|
-
/**
|
|
11786
|
+
/**
|
|
11787
|
+
* Schema for the result of a query search operation.
|
|
11788
|
+
*/
|
|
11600
11789
|
class SearchResult {
|
|
11601
11790
|
/** Number of total rows. */
|
|
11602
11791
|
totalRows;
|
|
@@ -11672,7 +11861,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11672
11861
|
}
|
|
11673
11862
|
}
|
|
11674
11863
|
CloudantV1.SearchResult = SearchResult;
|
|
11675
|
-
/**
|
|
11864
|
+
/**
|
|
11865
|
+
* Schema for the result of a query search operation.
|
|
11866
|
+
*/
|
|
11676
11867
|
class SearchResultProperties {
|
|
11677
11868
|
/** Number of total rows. */
|
|
11678
11869
|
totalRows;
|
|
@@ -11740,7 +11931,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11740
11931
|
}
|
|
11741
11932
|
}
|
|
11742
11933
|
CloudantV1.SearchResultProperties = SearchResultProperties;
|
|
11743
|
-
/**
|
|
11934
|
+
/**
|
|
11935
|
+
* Schema for a row of the result of a query search operation.
|
|
11936
|
+
*/
|
|
11744
11937
|
class SearchResultRow {
|
|
11745
11938
|
/** Schema for a document. */
|
|
11746
11939
|
doc;
|
|
@@ -11792,7 +11985,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11792
11985
|
}
|
|
11793
11986
|
}
|
|
11794
11987
|
CloudantV1.SearchResultRow = SearchResultRow;
|
|
11795
|
-
/**
|
|
11988
|
+
/**
|
|
11989
|
+
* Schema for a security document.
|
|
11990
|
+
*/
|
|
11796
11991
|
class Security {
|
|
11797
11992
|
/** Schema for names and roles to map to a database permission. */
|
|
11798
11993
|
admins;
|
|
@@ -11842,7 +12037,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11842
12037
|
}
|
|
11843
12038
|
}
|
|
11844
12039
|
CloudantV1.Security = Security;
|
|
11845
|
-
/**
|
|
12040
|
+
/**
|
|
12041
|
+
* Schema for names and roles to map to a database permission.
|
|
12042
|
+
*/
|
|
11846
12043
|
class SecurityObject {
|
|
11847
12044
|
/** List of usernames. */
|
|
11848
12045
|
names;
|
|
@@ -11876,7 +12073,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11876
12073
|
}
|
|
11877
12074
|
}
|
|
11878
12075
|
CloudantV1.SecurityObject = SecurityObject;
|
|
11879
|
-
/**
|
|
12076
|
+
/**
|
|
12077
|
+
* Schema for extra information on the selector.
|
|
12078
|
+
*/
|
|
11880
12079
|
class SelectorHint {
|
|
11881
12080
|
/** A list of fields in the given selector that can be used to restrict the query. */
|
|
11882
12081
|
indexableFields;
|
|
@@ -11929,7 +12128,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11929
12128
|
})(Type = Constants.Type || (Constants.Type = {}));
|
|
11930
12129
|
})(Constants = SelectorHint.Constants || (SelectorHint.Constants = {}));
|
|
11931
12130
|
})(SelectorHint = CloudantV1.SelectorHint || (CloudantV1.SelectorHint = {}));
|
|
11932
|
-
/**
|
|
12131
|
+
/**
|
|
12132
|
+
* Schema for information about the server instance.
|
|
12133
|
+
*/
|
|
11933
12134
|
class ServerInformation {
|
|
11934
12135
|
/** Welcome message. */
|
|
11935
12136
|
couchdb;
|
|
@@ -11987,7 +12188,11 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11987
12188
|
}
|
|
11988
12189
|
}
|
|
11989
12190
|
CloudantV1.ServerInformation = ServerInformation;
|
|
11990
|
-
/**
|
|
12191
|
+
/**
|
|
12192
|
+
* Schema for server vendor information.
|
|
12193
|
+
*
|
|
12194
|
+
* This type supports additional properties of type string.
|
|
12195
|
+
*/
|
|
11991
12196
|
class ServerVendor {
|
|
11992
12197
|
/** Vendor name. */
|
|
11993
12198
|
name;
|
|
@@ -12009,6 +12214,16 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12009
12214
|
if (obj.version !== undefined) {
|
|
12010
12215
|
copy.version = obj.version;
|
|
12011
12216
|
}
|
|
12217
|
+
let defaultProperties = [
|
|
12218
|
+
'name',
|
|
12219
|
+
'variant',
|
|
12220
|
+
'version',
|
|
12221
|
+
];
|
|
12222
|
+
Object.keys(obj).forEach(key => {
|
|
12223
|
+
if (!defaultProperties.includes(key)) {
|
|
12224
|
+
copy[key] = obj[key];
|
|
12225
|
+
}
|
|
12226
|
+
});
|
|
12012
12227
|
return copy;
|
|
12013
12228
|
}
|
|
12014
12229
|
static deserialize(obj) {
|
|
@@ -12025,11 +12240,23 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12025
12240
|
if (obj.version !== undefined) {
|
|
12026
12241
|
copy.version = obj.version;
|
|
12027
12242
|
}
|
|
12243
|
+
let defaultProperties = [
|
|
12244
|
+
'name',
|
|
12245
|
+
'variant',
|
|
12246
|
+
'version',
|
|
12247
|
+
];
|
|
12248
|
+
Object.keys(obj).forEach(key => {
|
|
12249
|
+
if (!defaultProperties.includes(key)) {
|
|
12250
|
+
copy[key] = obj[key];
|
|
12251
|
+
}
|
|
12252
|
+
});
|
|
12028
12253
|
return copy;
|
|
12029
12254
|
}
|
|
12030
12255
|
}
|
|
12031
12256
|
CloudantV1.ServerVendor = ServerVendor;
|
|
12032
|
-
/**
|
|
12257
|
+
/**
|
|
12258
|
+
* Schema for session authentication information.
|
|
12259
|
+
*/
|
|
12033
12260
|
class SessionAuthentication {
|
|
12034
12261
|
/** authenticated. */
|
|
12035
12262
|
authenticated;
|
|
@@ -12071,7 +12298,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12071
12298
|
}
|
|
12072
12299
|
}
|
|
12073
12300
|
CloudantV1.SessionAuthentication = SessionAuthentication;
|
|
12074
|
-
/**
|
|
12301
|
+
/**
|
|
12302
|
+
* Schema for information about a session.
|
|
12303
|
+
*/
|
|
12075
12304
|
class SessionInformation {
|
|
12076
12305
|
/** ok. */
|
|
12077
12306
|
ok;
|
|
@@ -12113,7 +12342,10 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12113
12342
|
}
|
|
12114
12343
|
}
|
|
12115
12344
|
CloudantV1.SessionInformation = SessionInformation;
|
|
12116
|
-
/**
|
|
12345
|
+
/**
|
|
12346
|
+
* Schema for a shards object that maps the hash value range for each shard to the array of nodes that contain a copy
|
|
12347
|
+
* of that shard.
|
|
12348
|
+
*/
|
|
12117
12349
|
class ShardsInformation {
|
|
12118
12350
|
/** Mapping of shard hash value range to a list of nodes. */
|
|
12119
12351
|
shards;
|
|
@@ -12139,7 +12371,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12139
12371
|
}
|
|
12140
12372
|
}
|
|
12141
12373
|
CloudantV1.ShardsInformation = ShardsInformation;
|
|
12142
|
-
/**
|
|
12374
|
+
/**
|
|
12375
|
+
* Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
|
|
12376
|
+
*/
|
|
12143
12377
|
class ThroughputInformation {
|
|
12144
12378
|
/** A number of blocks of throughput units. A block consists of 100 reads/sec, 50 writes/sec, and 5 global
|
|
12145
12379
|
* queries/sec of provisioned throughput capacity.
|
|
@@ -12191,7 +12425,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12191
12425
|
}
|
|
12192
12426
|
}
|
|
12193
12427
|
CloudantV1.ThroughputInformation = ThroughputInformation;
|
|
12194
|
-
/**
|
|
12428
|
+
/**
|
|
12429
|
+
* Schema for information about the up state of the server.
|
|
12430
|
+
*/
|
|
12195
12431
|
class UpInformation {
|
|
12196
12432
|
/** seeds. */
|
|
12197
12433
|
seeds;
|
|
@@ -12237,7 +12473,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12237
12473
|
})(Status = Constants.Status || (Constants.Status = {}));
|
|
12238
12474
|
})(Constants = UpInformation.Constants || (UpInformation.Constants = {}));
|
|
12239
12475
|
})(UpInformation = CloudantV1.UpInformation || (CloudantV1.UpInformation = {}));
|
|
12240
|
-
/**
|
|
12476
|
+
/**
|
|
12477
|
+
* Schema for an ability to tell if view is up-to-date without querying it.
|
|
12478
|
+
*/
|
|
12241
12479
|
class UpdatesPending {
|
|
12242
12480
|
/** Sum of shard copies with the least amount of work to do. */
|
|
12243
12481
|
minimum;
|
|
@@ -12281,7 +12519,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12281
12519
|
}
|
|
12282
12520
|
}
|
|
12283
12521
|
CloudantV1.UpdatesPending = UpdatesPending;
|
|
12284
|
-
/**
|
|
12522
|
+
/**
|
|
12523
|
+
* Schema for the user context of a session.
|
|
12524
|
+
*/
|
|
12285
12525
|
class UserContext {
|
|
12286
12526
|
/** Database name in the context of the provided operation. */
|
|
12287
12527
|
db;
|
|
@@ -12340,7 +12580,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12340
12580
|
})(Roles = Constants.Roles || (Constants.Roles = {}));
|
|
12341
12581
|
})(Constants = UserContext.Constants || (UserContext.Constants = {}));
|
|
12342
12582
|
})(UserContext = CloudantV1.UserContext || (CloudantV1.UserContext = {}));
|
|
12343
|
-
/**
|
|
12583
|
+
/**
|
|
12584
|
+
* Schema for a set of uuids generated by the server.
|
|
12585
|
+
*/
|
|
12344
12586
|
class UuidsResult {
|
|
12345
12587
|
/** uuids. */
|
|
12346
12588
|
uuids;
|
|
@@ -12366,7 +12608,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12366
12608
|
}
|
|
12367
12609
|
}
|
|
12368
12610
|
CloudantV1.UuidsResult = UuidsResult;
|
|
12369
|
-
/**
|
|
12611
|
+
/**
|
|
12612
|
+
* Schema for the results of a queries view operation.
|
|
12613
|
+
*/
|
|
12370
12614
|
class ViewQueriesResult {
|
|
12371
12615
|
/** An array of result objects - one for each query. Each result object contains the same fields as the response
|
|
12372
12616
|
* to a regular view request.
|
|
@@ -12394,7 +12638,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12394
12638
|
}
|
|
12395
12639
|
}
|
|
12396
12640
|
CloudantV1.ViewQueriesResult = ViewQueriesResult;
|
|
12397
|
-
/**
|
|
12641
|
+
/**
|
|
12642
|
+
* Schema for a query view operation.
|
|
12643
|
+
*/
|
|
12398
12644
|
class ViewQuery {
|
|
12399
12645
|
/** Parameter to specify whether to include the encoding information in attachment stubs if the particular
|
|
12400
12646
|
* attachment is compressed.
|
|
@@ -12611,7 +12857,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12611
12857
|
})(Update = Constants.Update || (Constants.Update = {}));
|
|
12612
12858
|
})(Constants = ViewQuery.Constants || (ViewQuery.Constants = {}));
|
|
12613
12859
|
})(ViewQuery = CloudantV1.ViewQuery || (CloudantV1.ViewQuery = {}));
|
|
12614
|
-
/**
|
|
12860
|
+
/**
|
|
12861
|
+
* Schema for the result of a query view operation.
|
|
12862
|
+
*/
|
|
12615
12863
|
class ViewResult {
|
|
12616
12864
|
/** Number of total rows. */
|
|
12617
12865
|
totalRows;
|
|
@@ -12653,7 +12901,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12653
12901
|
}
|
|
12654
12902
|
}
|
|
12655
12903
|
CloudantV1.ViewResult = ViewResult;
|
|
12656
|
-
/**
|
|
12904
|
+
/**
|
|
12905
|
+
* Schema for a row of a view result.
|
|
12906
|
+
*/
|
|
12657
12907
|
class ViewResultRow {
|
|
12658
12908
|
/** The cause of the error (if available). */
|
|
12659
12909
|
causedBy;
|