@ibm-cloud/cloudant 0.10.0 → 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 +7 -7
- package/cloudant/v1.d.ts +339 -111
- package/cloudant/v1.js +319 -101
- package/cloudant/v1.js.map +1 -1
- package/package.json +12 -12
package/cloudant/v1.js
CHANGED
|
@@ -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;
|
|
@@ -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;
|
|
@@ -10896,7 +11046,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10896
11046
|
}
|
|
10897
11047
|
}
|
|
10898
11048
|
CloudantV1.ReplicationDocument = ReplicationDocument;
|
|
10899
|
-
/**
|
|
11049
|
+
/**
|
|
11050
|
+
* Schema for list of revision information.
|
|
11051
|
+
*/
|
|
10900
11052
|
class Revisions {
|
|
10901
11053
|
/** Array of valid revision IDs, in reverse order (latest first). */
|
|
10902
11054
|
ids;
|
|
@@ -10930,7 +11082,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10930
11082
|
}
|
|
10931
11083
|
}
|
|
10932
11084
|
CloudantV1.Revisions = Revisions;
|
|
10933
|
-
/**
|
|
11085
|
+
/**
|
|
11086
|
+
* Schema for information about missing revs and possible ancestors.
|
|
11087
|
+
*/
|
|
10934
11088
|
class RevsDiff {
|
|
10935
11089
|
/** List of missing revisions. */
|
|
10936
11090
|
missing;
|
|
@@ -10964,7 +11118,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10964
11118
|
}
|
|
10965
11119
|
}
|
|
10966
11120
|
CloudantV1.RevsDiff = RevsDiff;
|
|
10967
|
-
/**
|
|
11121
|
+
/**
|
|
11122
|
+
* Schema for a listing of replication scheduler documents.
|
|
11123
|
+
*/
|
|
10968
11124
|
class SchedulerDocsResult {
|
|
10969
11125
|
/** Number of total rows. */
|
|
10970
11126
|
totalRows;
|
|
@@ -10998,7 +11154,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
10998
11154
|
}
|
|
10999
11155
|
}
|
|
11000
11156
|
CloudantV1.SchedulerDocsResult = SchedulerDocsResult;
|
|
11001
|
-
/**
|
|
11157
|
+
/**
|
|
11158
|
+
* Schema for a replication scheduler document.
|
|
11159
|
+
*/
|
|
11002
11160
|
class SchedulerDocument {
|
|
11003
11161
|
/** Database where replication document came from. */
|
|
11004
11162
|
database;
|
|
@@ -11147,7 +11305,10 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11147
11305
|
})(State = Constants.State || (Constants.State = {}));
|
|
11148
11306
|
})(Constants = SchedulerDocument.Constants || (SchedulerDocument.Constants = {}));
|
|
11149
11307
|
})(SchedulerDocument = CloudantV1.SchedulerDocument || (CloudantV1.SchedulerDocument = {}));
|
|
11150
|
-
/**
|
|
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
|
+
*/
|
|
11151
11312
|
class SchedulerInfo {
|
|
11152
11313
|
/** The count of changes not yet replicated. */
|
|
11153
11314
|
changesPending;
|
|
@@ -11245,7 +11406,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11245
11406
|
}
|
|
11246
11407
|
}
|
|
11247
11408
|
CloudantV1.SchedulerInfo = SchedulerInfo;
|
|
11248
|
-
/**
|
|
11409
|
+
/**
|
|
11410
|
+
* Schema for a replication scheduler job.
|
|
11411
|
+
*/
|
|
11249
11412
|
class SchedulerJob {
|
|
11250
11413
|
/** Replication document database. */
|
|
11251
11414
|
database;
|
|
@@ -11353,7 +11516,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11353
11516
|
}
|
|
11354
11517
|
}
|
|
11355
11518
|
CloudantV1.SchedulerJob = SchedulerJob;
|
|
11356
|
-
/**
|
|
11519
|
+
/**
|
|
11520
|
+
* Schema for a replication scheduler job event.
|
|
11521
|
+
*/
|
|
11357
11522
|
class SchedulerJobEvent {
|
|
11358
11523
|
/** Reason for current state of event. */
|
|
11359
11524
|
reason;
|
|
@@ -11395,7 +11560,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11395
11560
|
}
|
|
11396
11561
|
}
|
|
11397
11562
|
CloudantV1.SchedulerJobEvent = SchedulerJobEvent;
|
|
11398
|
-
/**
|
|
11563
|
+
/**
|
|
11564
|
+
* Schema for a listing of replication scheduler jobs.
|
|
11565
|
+
*/
|
|
11399
11566
|
class SchedulerJobsResult {
|
|
11400
11567
|
/** Number of total rows. */
|
|
11401
11568
|
totalRows;
|
|
@@ -11429,7 +11596,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11429
11596
|
}
|
|
11430
11597
|
}
|
|
11431
11598
|
CloudantV1.SchedulerJobsResult = SchedulerJobsResult;
|
|
11432
|
-
/**
|
|
11599
|
+
/**
|
|
11600
|
+
* Schema for the output of testing search analyzer tokenization.
|
|
11601
|
+
*/
|
|
11433
11602
|
class SearchAnalyzeResult {
|
|
11434
11603
|
/** tokens. */
|
|
11435
11604
|
tokens;
|
|
@@ -11455,7 +11624,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11455
11624
|
}
|
|
11456
11625
|
}
|
|
11457
11626
|
CloudantV1.SearchAnalyzeResult = SearchAnalyzeResult;
|
|
11458
|
-
/**
|
|
11627
|
+
/**
|
|
11628
|
+
* Schema for a search index definition.
|
|
11629
|
+
*/
|
|
11459
11630
|
class SearchIndexDefinition {
|
|
11460
11631
|
/** Schema for a search analyzer configuration. */
|
|
11461
11632
|
analyzer;
|
|
@@ -11508,7 +11679,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11508
11679
|
}
|
|
11509
11680
|
}
|
|
11510
11681
|
CloudantV1.SearchIndexDefinition = SearchIndexDefinition;
|
|
11511
|
-
/**
|
|
11682
|
+
/**
|
|
11683
|
+
* Schema for metadata information about a search index.
|
|
11684
|
+
*/
|
|
11512
11685
|
class SearchIndexInfo {
|
|
11513
11686
|
/** The committed sequence identifier. */
|
|
11514
11687
|
committedSeq;
|
|
@@ -11574,7 +11747,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11574
11747
|
}
|
|
11575
11748
|
}
|
|
11576
11749
|
CloudantV1.SearchIndexInfo = SearchIndexInfo;
|
|
11577
|
-
/**
|
|
11750
|
+
/**
|
|
11751
|
+
* Schema for search index information.
|
|
11752
|
+
*/
|
|
11578
11753
|
class SearchInfoResult {
|
|
11579
11754
|
/** The name of the search index prefixed by the design document ID where the index is stored. */
|
|
11580
11755
|
name;
|
|
@@ -11608,7 +11783,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11608
11783
|
}
|
|
11609
11784
|
}
|
|
11610
11785
|
CloudantV1.SearchInfoResult = SearchInfoResult;
|
|
11611
|
-
/**
|
|
11786
|
+
/**
|
|
11787
|
+
* Schema for the result of a query search operation.
|
|
11788
|
+
*/
|
|
11612
11789
|
class SearchResult {
|
|
11613
11790
|
/** Number of total rows. */
|
|
11614
11791
|
totalRows;
|
|
@@ -11684,7 +11861,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11684
11861
|
}
|
|
11685
11862
|
}
|
|
11686
11863
|
CloudantV1.SearchResult = SearchResult;
|
|
11687
|
-
/**
|
|
11864
|
+
/**
|
|
11865
|
+
* Schema for the result of a query search operation.
|
|
11866
|
+
*/
|
|
11688
11867
|
class SearchResultProperties {
|
|
11689
11868
|
/** Number of total rows. */
|
|
11690
11869
|
totalRows;
|
|
@@ -11752,7 +11931,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11752
11931
|
}
|
|
11753
11932
|
}
|
|
11754
11933
|
CloudantV1.SearchResultProperties = SearchResultProperties;
|
|
11755
|
-
/**
|
|
11934
|
+
/**
|
|
11935
|
+
* Schema for a row of the result of a query search operation.
|
|
11936
|
+
*/
|
|
11756
11937
|
class SearchResultRow {
|
|
11757
11938
|
/** Schema for a document. */
|
|
11758
11939
|
doc;
|
|
@@ -11804,7 +11985,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11804
11985
|
}
|
|
11805
11986
|
}
|
|
11806
11987
|
CloudantV1.SearchResultRow = SearchResultRow;
|
|
11807
|
-
/**
|
|
11988
|
+
/**
|
|
11989
|
+
* Schema for a security document.
|
|
11990
|
+
*/
|
|
11808
11991
|
class Security {
|
|
11809
11992
|
/** Schema for names and roles to map to a database permission. */
|
|
11810
11993
|
admins;
|
|
@@ -11854,7 +12037,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11854
12037
|
}
|
|
11855
12038
|
}
|
|
11856
12039
|
CloudantV1.Security = Security;
|
|
11857
|
-
/**
|
|
12040
|
+
/**
|
|
12041
|
+
* Schema for names and roles to map to a database permission.
|
|
12042
|
+
*/
|
|
11858
12043
|
class SecurityObject {
|
|
11859
12044
|
/** List of usernames. */
|
|
11860
12045
|
names;
|
|
@@ -11888,7 +12073,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11888
12073
|
}
|
|
11889
12074
|
}
|
|
11890
12075
|
CloudantV1.SecurityObject = SecurityObject;
|
|
11891
|
-
/**
|
|
12076
|
+
/**
|
|
12077
|
+
* Schema for extra information on the selector.
|
|
12078
|
+
*/
|
|
11892
12079
|
class SelectorHint {
|
|
11893
12080
|
/** A list of fields in the given selector that can be used to restrict the query. */
|
|
11894
12081
|
indexableFields;
|
|
@@ -11941,7 +12128,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11941
12128
|
})(Type = Constants.Type || (Constants.Type = {}));
|
|
11942
12129
|
})(Constants = SelectorHint.Constants || (SelectorHint.Constants = {}));
|
|
11943
12130
|
})(SelectorHint = CloudantV1.SelectorHint || (CloudantV1.SelectorHint = {}));
|
|
11944
|
-
/**
|
|
12131
|
+
/**
|
|
12132
|
+
* Schema for information about the server instance.
|
|
12133
|
+
*/
|
|
11945
12134
|
class ServerInformation {
|
|
11946
12135
|
/** Welcome message. */
|
|
11947
12136
|
couchdb;
|
|
@@ -11999,7 +12188,11 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
11999
12188
|
}
|
|
12000
12189
|
}
|
|
12001
12190
|
CloudantV1.ServerInformation = ServerInformation;
|
|
12002
|
-
/**
|
|
12191
|
+
/**
|
|
12192
|
+
* Schema for server vendor information.
|
|
12193
|
+
*
|
|
12194
|
+
* This type supports additional properties of type string.
|
|
12195
|
+
*/
|
|
12003
12196
|
class ServerVendor {
|
|
12004
12197
|
/** Vendor name. */
|
|
12005
12198
|
name;
|
|
@@ -12061,7 +12254,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12061
12254
|
}
|
|
12062
12255
|
}
|
|
12063
12256
|
CloudantV1.ServerVendor = ServerVendor;
|
|
12064
|
-
/**
|
|
12257
|
+
/**
|
|
12258
|
+
* Schema for session authentication information.
|
|
12259
|
+
*/
|
|
12065
12260
|
class SessionAuthentication {
|
|
12066
12261
|
/** authenticated. */
|
|
12067
12262
|
authenticated;
|
|
@@ -12103,7 +12298,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12103
12298
|
}
|
|
12104
12299
|
}
|
|
12105
12300
|
CloudantV1.SessionAuthentication = SessionAuthentication;
|
|
12106
|
-
/**
|
|
12301
|
+
/**
|
|
12302
|
+
* Schema for information about a session.
|
|
12303
|
+
*/
|
|
12107
12304
|
class SessionInformation {
|
|
12108
12305
|
/** ok. */
|
|
12109
12306
|
ok;
|
|
@@ -12145,7 +12342,10 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12145
12342
|
}
|
|
12146
12343
|
}
|
|
12147
12344
|
CloudantV1.SessionInformation = SessionInformation;
|
|
12148
|
-
/**
|
|
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
|
+
*/
|
|
12149
12349
|
class ShardsInformation {
|
|
12150
12350
|
/** Mapping of shard hash value range to a list of nodes. */
|
|
12151
12351
|
shards;
|
|
@@ -12171,7 +12371,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12171
12371
|
}
|
|
12172
12372
|
}
|
|
12173
12373
|
CloudantV1.ShardsInformation = ShardsInformation;
|
|
12174
|
-
/**
|
|
12374
|
+
/**
|
|
12375
|
+
* Schema for detailed information about throughput capacity with breakdown by specific throughput requests classes.
|
|
12376
|
+
*/
|
|
12175
12377
|
class ThroughputInformation {
|
|
12176
12378
|
/** A number of blocks of throughput units. A block consists of 100 reads/sec, 50 writes/sec, and 5 global
|
|
12177
12379
|
* queries/sec of provisioned throughput capacity.
|
|
@@ -12223,7 +12425,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12223
12425
|
}
|
|
12224
12426
|
}
|
|
12225
12427
|
CloudantV1.ThroughputInformation = ThroughputInformation;
|
|
12226
|
-
/**
|
|
12428
|
+
/**
|
|
12429
|
+
* Schema for information about the up state of the server.
|
|
12430
|
+
*/
|
|
12227
12431
|
class UpInformation {
|
|
12228
12432
|
/** seeds. */
|
|
12229
12433
|
seeds;
|
|
@@ -12269,7 +12473,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12269
12473
|
})(Status = Constants.Status || (Constants.Status = {}));
|
|
12270
12474
|
})(Constants = UpInformation.Constants || (UpInformation.Constants = {}));
|
|
12271
12475
|
})(UpInformation = CloudantV1.UpInformation || (CloudantV1.UpInformation = {}));
|
|
12272
|
-
/**
|
|
12476
|
+
/**
|
|
12477
|
+
* Schema for an ability to tell if view is up-to-date without querying it.
|
|
12478
|
+
*/
|
|
12273
12479
|
class UpdatesPending {
|
|
12274
12480
|
/** Sum of shard copies with the least amount of work to do. */
|
|
12275
12481
|
minimum;
|
|
@@ -12313,7 +12519,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12313
12519
|
}
|
|
12314
12520
|
}
|
|
12315
12521
|
CloudantV1.UpdatesPending = UpdatesPending;
|
|
12316
|
-
/**
|
|
12522
|
+
/**
|
|
12523
|
+
* Schema for the user context of a session.
|
|
12524
|
+
*/
|
|
12317
12525
|
class UserContext {
|
|
12318
12526
|
/** Database name in the context of the provided operation. */
|
|
12319
12527
|
db;
|
|
@@ -12372,7 +12580,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12372
12580
|
})(Roles = Constants.Roles || (Constants.Roles = {}));
|
|
12373
12581
|
})(Constants = UserContext.Constants || (UserContext.Constants = {}));
|
|
12374
12582
|
})(UserContext = CloudantV1.UserContext || (CloudantV1.UserContext = {}));
|
|
12375
|
-
/**
|
|
12583
|
+
/**
|
|
12584
|
+
* Schema for a set of uuids generated by the server.
|
|
12585
|
+
*/
|
|
12376
12586
|
class UuidsResult {
|
|
12377
12587
|
/** uuids. */
|
|
12378
12588
|
uuids;
|
|
@@ -12398,7 +12608,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12398
12608
|
}
|
|
12399
12609
|
}
|
|
12400
12610
|
CloudantV1.UuidsResult = UuidsResult;
|
|
12401
|
-
/**
|
|
12611
|
+
/**
|
|
12612
|
+
* Schema for the results of a queries view operation.
|
|
12613
|
+
*/
|
|
12402
12614
|
class ViewQueriesResult {
|
|
12403
12615
|
/** An array of result objects - one for each query. Each result object contains the same fields as the response
|
|
12404
12616
|
* to a regular view request.
|
|
@@ -12426,7 +12638,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12426
12638
|
}
|
|
12427
12639
|
}
|
|
12428
12640
|
CloudantV1.ViewQueriesResult = ViewQueriesResult;
|
|
12429
|
-
/**
|
|
12641
|
+
/**
|
|
12642
|
+
* Schema for a query view operation.
|
|
12643
|
+
*/
|
|
12430
12644
|
class ViewQuery {
|
|
12431
12645
|
/** Parameter to specify whether to include the encoding information in attachment stubs if the particular
|
|
12432
12646
|
* attachment is compressed.
|
|
@@ -12643,7 +12857,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12643
12857
|
})(Update = Constants.Update || (Constants.Update = {}));
|
|
12644
12858
|
})(Constants = ViewQuery.Constants || (ViewQuery.Constants = {}));
|
|
12645
12859
|
})(ViewQuery = CloudantV1.ViewQuery || (CloudantV1.ViewQuery = {}));
|
|
12646
|
-
/**
|
|
12860
|
+
/**
|
|
12861
|
+
* Schema for the result of a query view operation.
|
|
12862
|
+
*/
|
|
12647
12863
|
class ViewResult {
|
|
12648
12864
|
/** Number of total rows. */
|
|
12649
12865
|
totalRows;
|
|
@@ -12685,7 +12901,9 @@ class CloudantV1 extends cloudantBaseService_1.default {
|
|
|
12685
12901
|
}
|
|
12686
12902
|
}
|
|
12687
12903
|
CloudantV1.ViewResult = ViewResult;
|
|
12688
|
-
/**
|
|
12904
|
+
/**
|
|
12905
|
+
* Schema for a row of a view result.
|
|
12906
|
+
*/
|
|
12689
12907
|
class ViewResultRow {
|
|
12690
12908
|
/** The cause of the error (if available). */
|
|
12691
12909
|
causedBy;
|