@ibm-cloud/cloudant 0.1.5 → 0.2.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/cloudant/v1.js CHANGED
@@ -639,7 +639,7 @@ var CloudantV1 = /** @class */ (function (_super) {
639
639
  * @param {Object} params - The parameters to send to the service.
640
640
  * @param {string} params.db - Path parameter to specify the database name.
641
641
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
642
- * @returns {Promise<CloudantV1.Response<CloudantV1.Empty>>}
642
+ * @returns {Promise<CloudantV1.Response<CloudantV1.EmptyObject>>}
643
643
  */
644
644
  CloudantV1.prototype.headDatabase = function (params) {
645
645
  var _params = __assign({}, params);
@@ -887,7 +887,7 @@ var CloudantV1 = /** @class */ (function (_super) {
887
887
  * matter what rev was requested.
888
888
  * @param {string} [params.rev] - Query parameter to specify a document revision.
889
889
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
890
- * @returns {Promise<CloudantV1.Response<CloudantV1.Empty>>}
890
+ * @returns {Promise<CloudantV1.Response<CloudantV1.EmptyObject>>}
891
891
  */
892
892
  CloudantV1.prototype.headDocument = function (params) {
893
893
  var _params = __assign({}, params);
@@ -1924,7 +1924,7 @@ var CloudantV1 = /** @class */ (function (_super) {
1924
1924
  * @param {string} [params.ifNoneMatch] - Header parameter to specify a double quoted document revision token for
1925
1925
  * cache control.
1926
1926
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
1927
- * @returns {Promise<CloudantV1.Response<CloudantV1.Empty>>}
1927
+ * @returns {Promise<CloudantV1.Response<CloudantV1.EmptyObject>>}
1928
1928
  */
1929
1929
  CloudantV1.prototype.headDesignDocument = function (params) {
1930
1930
  var _params = __assign({}, params);
@@ -4234,273 +4234,6 @@ var CloudantV1 = /** @class */ (function (_super) {
4234
4234
  };
4235
4235
  return this.createRequest(parameters);
4236
4236
  };
4237
- /*************************
4238
- * geospatial
4239
- ************************/
4240
- /**
4241
- * Query a geospatial index.
4242
- *
4243
- * Executes a query against the requested geospatial index from the specified design document.
4244
- *
4245
- * @param {Object} params - The parameters to send to the service.
4246
- * @param {string} params.db - Path parameter to specify the database name.
4247
- * @param {string} params.ddoc - Path parameter to specify the design document name. The design document name is the
4248
- * design document ID excluding the `_design/` prefix.
4249
- * @param {string} params.index - Path parameter to specify the index name.
4250
- * @param {string} [params.bbox] - Query parameter to specify a geospatial query bounding box with two
4251
- * latitude,longitude coordinates for the lower-left and upper-right corners. An example is
4252
- * `-11.05987446,12.28339928,-101.05987446,62.28339928`.
4253
- * @param {string} [params.bookmark] - Query parameter to specify a bookmark that was received from a previous
4254
- * request. This parameter enables paging through the results. If there are no more results after the bookmark, you
4255
- * get a response containing no further results and the same bookmark, confirming the end of the result list.
4256
- * @param {string} [params.format] - Query parameter that causes the geospatial query output to be returned in the
4257
- * specified format.
4258
- * @param {string} [params.g] - Query parameter to specify a Well Known Text (WKT) representation of a geospatial
4259
- * query geometry. The valid values for the WKT parameter include `Point`, `LineString`, `Polygon`, `MultiPoint`,
4260
- * `MultiLineString`, `MultiPolygon`, and `GeometryCollection`.
4261
- * @param {boolean} [params.includeDocs] - Query parameter to specify whether to include the full content of the
4262
- * documents in the response.
4263
- * @param {number} [params.lat] - Query parameter to specify a latitude coordinate for use with radius or ellipse
4264
- * geospatial queries.
4265
- * @param {number} [params.limit] - Query parameter to specify the number of returned documents to limit the result
4266
- * to.
4267
- * @param {number} [params.lon] - Query parameter to specify a longitude coordinate for use with radius or ellipse
4268
- * geospatial queries.
4269
- * @param {boolean} [params.nearest] - Query parameter to specify whether to perform a nearest neighbour (NN) search.
4270
- * If provided, the `nearest=true` search returns all results by sorting their distances to the center of the query
4271
- * geometry. NN search can be used alone or with any of the supported DE-9IM (Dimensionally Extended nine-Intersection
4272
- * Model) specification geometric relations documented.
4273
- * @param {number} [params.radius] - Query parameter to specify the radius, in meters, to search from a lat,lon
4274
- * coordinate point in a circular geospatial query.
4275
- * @param {number} [params.rangex] - Query parameter to specify the first radius, in meters, to search from a lat,lon
4276
- * coordinate point in an ellipse geospatial query.
4277
- * @param {number} [params.rangey] - Query parameter to specify the second radius, in meters, to search from a lat,lon
4278
- * coordinate point in an ellipse geospatial query.
4279
- * @param {string} [params.relation] - Query parameter to specify the DE-9IM (Dimensionally Extended nine-Intersection
4280
- * Model)geospatial relationship between the query geometry and the result documents.
4281
- * @param {number} [params.skip] - Query parameter to specify the number of records before starting to return the
4282
- * results.
4283
- * @param {string} [params.stale] - Query parameter to specify to not wait for the index to finish building before
4284
- * returning results.
4285
- * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
4286
- * @returns {Promise<CloudantV1.Response<CloudantV1.GeoResult>>}
4287
- */
4288
- CloudantV1.prototype.getGeo = function (params) {
4289
- var _params = __assign({}, params);
4290
- var _requiredParams = ['db', 'ddoc', 'index'];
4291
- var _validParams = ['db', 'ddoc', 'index', 'bbox', 'bookmark', 'format', 'g', 'includeDocs', 'lat', 'limit', 'lon', 'nearest', 'radius', 'rangex', 'rangey', 'relation', 'skip', 'stale', 'headers'];
4292
- var _validationErrors = (0, ibm_cloud_sdk_core_1.validateParams)(_params, _requiredParams, _validParams);
4293
- if (_validationErrors) {
4294
- return Promise.reject(_validationErrors);
4295
- }
4296
- var query = {
4297
- 'bbox': _params.bbox,
4298
- 'bookmark': _params.bookmark,
4299
- 'format': _params.format,
4300
- 'g': _params.g,
4301
- 'include_docs': _params.includeDocs,
4302
- 'lat': _params.lat,
4303
- 'limit': _params.limit,
4304
- 'lon': _params.lon,
4305
- 'nearest': _params.nearest,
4306
- 'radius': _params.radius,
4307
- 'rangex': _params.rangex,
4308
- 'rangey': _params.rangey,
4309
- 'relation': _params.relation,
4310
- 'skip': _params.skip,
4311
- 'stale': _params.stale,
4312
- };
4313
- var path = {
4314
- 'db': _params.db,
4315
- 'ddoc': _params.ddoc,
4316
- 'index': _params.index,
4317
- };
4318
- var sdkHeaders = (0, common_1.getSdkHeaders)(CloudantV1.DEFAULT_SERVICE_NAME, 'v1', 'getGeo');
4319
- var parameters = {
4320
- options: {
4321
- url: '/{db}/_design/{ddoc}/_geo/{index}',
4322
- method: 'GET',
4323
- qs: query,
4324
- path: path,
4325
- },
4326
- defaultOptions: extend(true, {}, this.baseOptions, {
4327
- headers: extend(true, sdkHeaders, {
4328
- 'Accept': 'application/json',
4329
- }, _params.headers),
4330
- }),
4331
- };
4332
- return this.createRequest(parameters);
4333
- };
4334
- /**
4335
- * Query a geospatial index as stream.
4336
- *
4337
- * Executes a query against the requested geospatial index from the specified design document.
4338
- *
4339
- * @param {Object} params - The parameters to send to the service.
4340
- * @param {string} params.db - Path parameter to specify the database name.
4341
- * @param {string} params.ddoc - Path parameter to specify the design document name. The design document name is the
4342
- * design document ID excluding the `_design/` prefix.
4343
- * @param {string} params.index - Path parameter to specify the index name.
4344
- * @param {string} [params.bbox] - Query parameter to specify a geospatial query bounding box with two
4345
- * latitude,longitude coordinates for the lower-left and upper-right corners. An example is
4346
- * `-11.05987446,12.28339928,-101.05987446,62.28339928`.
4347
- * @param {string} [params.bookmark] - Query parameter to specify a bookmark that was received from a previous
4348
- * request. This parameter enables paging through the results. If there are no more results after the bookmark, you
4349
- * get a response containing no further results and the same bookmark, confirming the end of the result list.
4350
- * @param {string} [params.format] - Query parameter that causes the geospatial query output to be returned in the
4351
- * specified format.
4352
- * @param {string} [params.g] - Query parameter to specify a Well Known Text (WKT) representation of a geospatial
4353
- * query geometry. The valid values for the WKT parameter include `Point`, `LineString`, `Polygon`, `MultiPoint`,
4354
- * `MultiLineString`, `MultiPolygon`, and `GeometryCollection`.
4355
- * @param {boolean} [params.includeDocs] - Query parameter to specify whether to include the full content of the
4356
- * documents in the response.
4357
- * @param {number} [params.lat] - Query parameter to specify a latitude coordinate for use with radius or ellipse
4358
- * geospatial queries.
4359
- * @param {number} [params.limit] - Query parameter to specify the number of returned documents to limit the result
4360
- * to.
4361
- * @param {number} [params.lon] - Query parameter to specify a longitude coordinate for use with radius or ellipse
4362
- * geospatial queries.
4363
- * @param {boolean} [params.nearest] - Query parameter to specify whether to perform a nearest neighbour (NN) search.
4364
- * If provided, the `nearest=true` search returns all results by sorting their distances to the center of the query
4365
- * geometry. NN search can be used alone or with any of the supported DE-9IM (Dimensionally Extended nine-Intersection
4366
- * Model) specification geometric relations documented.
4367
- * @param {number} [params.radius] - Query parameter to specify the radius, in meters, to search from a lat,lon
4368
- * coordinate point in a circular geospatial query.
4369
- * @param {number} [params.rangex] - Query parameter to specify the first radius, in meters, to search from a lat,lon
4370
- * coordinate point in an ellipse geospatial query.
4371
- * @param {number} [params.rangey] - Query parameter to specify the second radius, in meters, to search from a lat,lon
4372
- * coordinate point in an ellipse geospatial query.
4373
- * @param {string} [params.relation] - Query parameter to specify the DE-9IM (Dimensionally Extended nine-Intersection
4374
- * Model)geospatial relationship between the query geometry and the result documents.
4375
- * @param {number} [params.skip] - Query parameter to specify the number of records before starting to return the
4376
- * results.
4377
- * @param {string} [params.stale] - Query parameter to specify to not wait for the index to finish building before
4378
- * returning results.
4379
- * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
4380
- * @returns {Promise<CloudantV1.Response<NodeJS.ReadableStream>>}
4381
- */
4382
- CloudantV1.prototype.getGeoAsStream = function (params) {
4383
- var _params = __assign({}, params);
4384
- var _requiredParams = ['db', 'ddoc', 'index'];
4385
- var _validParams = ['db', 'ddoc', 'index', 'bbox', 'bookmark', 'format', 'g', 'includeDocs', 'lat', 'limit', 'lon', 'nearest', 'radius', 'rangex', 'rangey', 'relation', 'skip', 'stale', 'headers'];
4386
- var _validationErrors = (0, ibm_cloud_sdk_core_1.validateParams)(_params, _requiredParams, _validParams);
4387
- if (_validationErrors) {
4388
- return Promise.reject(_validationErrors);
4389
- }
4390
- var query = {
4391
- 'bbox': _params.bbox,
4392
- 'bookmark': _params.bookmark,
4393
- 'format': _params.format,
4394
- 'g': _params.g,
4395
- 'include_docs': _params.includeDocs,
4396
- 'lat': _params.lat,
4397
- 'limit': _params.limit,
4398
- 'lon': _params.lon,
4399
- 'nearest': _params.nearest,
4400
- 'radius': _params.radius,
4401
- 'rangex': _params.rangex,
4402
- 'rangey': _params.rangey,
4403
- 'relation': _params.relation,
4404
- 'skip': _params.skip,
4405
- 'stale': _params.stale,
4406
- };
4407
- var path = {
4408
- 'db': _params.db,
4409
- 'ddoc': _params.ddoc,
4410
- 'index': _params.index,
4411
- };
4412
- var sdkHeaders = (0, common_1.getSdkHeaders)(CloudantV1.DEFAULT_SERVICE_NAME, 'v1', 'getGeoAsStream');
4413
- var parameters = {
4414
- options: {
4415
- url: '/{db}/_design/{ddoc}/_geo/{index}',
4416
- method: 'GET',
4417
- qs: query,
4418
- path: path,
4419
- responseType: 'stream',
4420
- },
4421
- defaultOptions: extend(true, {}, this.baseOptions, {
4422
- headers: extend(true, sdkHeaders, {
4423
- 'Accept': 'application/json',
4424
- }, _params.headers),
4425
- }),
4426
- };
4427
- return this.createRequest(parameters);
4428
- };
4429
- /**
4430
- * Cleanup old geospatial indexes.
4431
- *
4432
- * Cleanup old geospatial indexes from disk that have been superseded by newer index builds.
4433
- *
4434
- * @param {Object} params - The parameters to send to the service.
4435
- * @param {string} params.db - Path parameter to specify the database name.
4436
- * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
4437
- * @returns {Promise<CloudantV1.Response<CloudantV1.Ok>>}
4438
- */
4439
- CloudantV1.prototype.postGeoCleanup = function (params) {
4440
- var _params = __assign({}, params);
4441
- var _requiredParams = ['db'];
4442
- var _validParams = ['db', 'headers'];
4443
- var _validationErrors = (0, ibm_cloud_sdk_core_1.validateParams)(_params, _requiredParams, _validParams);
4444
- if (_validationErrors) {
4445
- return Promise.reject(_validationErrors);
4446
- }
4447
- var path = {
4448
- 'db': _params.db,
4449
- };
4450
- var sdkHeaders = (0, common_1.getSdkHeaders)(CloudantV1.DEFAULT_SERVICE_NAME, 'v1', 'postGeoCleanup');
4451
- var parameters = {
4452
- options: {
4453
- url: '/{db}/_geo_cleanup',
4454
- method: 'POST',
4455
- path: path,
4456
- },
4457
- defaultOptions: extend(true, {}, this.baseOptions, {
4458
- headers: extend(true, sdkHeaders, {
4459
- 'Accept': 'application/json',
4460
- }, _params.headers),
4461
- }),
4462
- };
4463
- return this.createRequest(parameters);
4464
- };
4465
- /**
4466
- * Retrieve information about a geospatial index.
4467
- *
4468
- * @param {Object} params - The parameters to send to the service.
4469
- * @param {string} params.db - Path parameter to specify the database name.
4470
- * @param {string} params.ddoc - Path parameter to specify the design document name. The design document name is the
4471
- * design document ID excluding the `_design/` prefix.
4472
- * @param {string} params.index - Path parameter to specify the index name.
4473
- * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
4474
- * @returns {Promise<CloudantV1.Response<CloudantV1.GeoIndexInformation>>}
4475
- */
4476
- CloudantV1.prototype.getGeoIndexInformation = function (params) {
4477
- var _params = __assign({}, params);
4478
- var _requiredParams = ['db', 'ddoc', 'index'];
4479
- var _validParams = ['db', 'ddoc', 'index', 'headers'];
4480
- var _validationErrors = (0, ibm_cloud_sdk_core_1.validateParams)(_params, _requiredParams, _validParams);
4481
- if (_validationErrors) {
4482
- return Promise.reject(_validationErrors);
4483
- }
4484
- var path = {
4485
- 'db': _params.db,
4486
- 'ddoc': _params.ddoc,
4487
- 'index': _params.index,
4488
- };
4489
- var sdkHeaders = (0, common_1.getSdkHeaders)(CloudantV1.DEFAULT_SERVICE_NAME, 'v1', 'getGeoIndexInformation');
4490
- var parameters = {
4491
- options: {
4492
- url: '/{db}/_design/{ddoc}/_geo_info/{index}',
4493
- method: 'GET',
4494
- path: path,
4495
- },
4496
- defaultOptions: extend(true, {}, this.baseOptions, {
4497
- headers: extend(true, sdkHeaders, {
4498
- 'Accept': 'application/json',
4499
- }, _params.headers),
4500
- }),
4501
- };
4502
- return this.createRequest(parameters);
4503
- };
4504
4237
  /*************************
4505
4238
  * replication
4506
4239
  ************************/
@@ -4516,7 +4249,7 @@ var CloudantV1 = /** @class */ (function (_super) {
4516
4249
  * @param {string} [params.ifNoneMatch] - Header parameter to specify a double quoted document revision token for
4517
4250
  * cache control.
4518
4251
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
4519
- * @returns {Promise<CloudantV1.Response<CloudantV1.Empty>>}
4252
+ * @returns {Promise<CloudantV1.Response<CloudantV1.EmptyObject>>}
4520
4253
  */
4521
4254
  CloudantV1.prototype.headReplicationDocument = function (params) {
4522
4255
  var _params = __assign({}, params);
@@ -4554,7 +4287,7 @@ var CloudantV1 = /** @class */ (function (_super) {
4554
4287
  * @param {Object} params - The parameters to send to the service.
4555
4288
  * @param {string} params.docId - Path parameter to specify the document ID.
4556
4289
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
4557
- * @returns {Promise<CloudantV1.Response<CloudantV1.Empty>>}
4290
+ * @returns {Promise<CloudantV1.Response<CloudantV1.EmptyObject>>}
4558
4291
  */
4559
4292
  CloudantV1.prototype.headSchedulerDocument = function (params) {
4560
4293
  var _params = __assign({}, params);
@@ -4589,7 +4322,7 @@ var CloudantV1 = /** @class */ (function (_super) {
4589
4322
  * @param {Object} params - The parameters to send to the service.
4590
4323
  * @param {string} params.jobId - Path parameter to specify the replication job id.
4591
4324
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
4592
- * @returns {Promise<CloudantV1.Response<CloudantV1.Empty>>}
4325
+ * @returns {Promise<CloudantV1.Response<CloudantV1.EmptyObject>>}
4593
4326
  */
4594
4327
  CloudantV1.prototype.headSchedulerJob = function (params) {
4595
4328
  var _params = __assign({}, params);
@@ -4881,8 +4614,7 @@ var CloudantV1 = /** @class */ (function (_super) {
4881
4614
  * recent events, and other information.
4882
4615
  *
4883
4616
  * @param {Object} [params] - The parameters to send to the service.
4884
- * @param {number} [params.limit] - Query parameter to specify the number of returned documents to limit the result
4885
- * to.
4617
+ * @param {number} [params.limit] - Query parameter to specify the number of returned jobs to limit the result to.
4886
4618
  * @param {number} [params.skip] - Query parameter to specify the number of records before starting to return the
4887
4619
  * results.
4888
4620
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
@@ -5270,7 +5002,7 @@ var CloudantV1 = /** @class */ (function (_super) {
5270
5002
  * cache control.
5271
5003
  * @param {string} [params.rev] - Query parameter to specify a document revision.
5272
5004
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
5273
- * @returns {Promise<CloudantV1.Response<CloudantV1.Empty>>}
5005
+ * @returns {Promise<CloudantV1.Response<CloudantV1.EmptyObject>>}
5274
5006
  */
5275
5007
  CloudantV1.prototype.headAttachment = function (params) {
5276
5008
  var _params = __assign({}, params);
@@ -5489,7 +5221,7 @@ var CloudantV1 = /** @class */ (function (_super) {
5489
5221
  * @param {string} [params.ifNoneMatch] - Header parameter to specify a double quoted document revision token for
5490
5222
  * cache control.
5491
5223
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
5492
- * @returns {Promise<CloudantV1.Response<CloudantV1.Empty>>}
5224
+ * @returns {Promise<CloudantV1.Response<CloudantV1.EmptyObject>>}
5493
5225
  */
5494
5226
  CloudantV1.prototype.headLocalDocument = function (params) {
5495
5227
  var _params = __assign({}, params);
@@ -5799,7 +5531,7 @@ var CloudantV1 = /** @class */ (function (_super) {
5799
5531
  *
5800
5532
  * @param {Object} [params] - The parameters to send to the service.
5801
5533
  * @param {OutgoingHttpHeaders} [params.headers] - Custom request headers
5802
- * @returns {Promise<CloudantV1.Response<CloudantV1.Empty>>}
5534
+ * @returns {Promise<CloudantV1.Response<CloudantV1.EmptyObject>>}
5803
5535
  */
5804
5536
  CloudantV1.prototype.headUpInformation = function (params) {
5805
5537
  var _params = __assign({}, params);
@@ -6348,68 +6080,6 @@ var CloudantV1 = /** @class */ (function (_super) {
6348
6080
  Stale["OK"] = "ok";
6349
6081
  })(Stale = PostSearchAsStreamConstants.Stale || (PostSearchAsStreamConstants.Stale = {}));
6350
6082
  })(PostSearchAsStreamConstants = CloudantV1.PostSearchAsStreamConstants || (CloudantV1.PostSearchAsStreamConstants = {}));
6351
- /** Constants for the `getGeo` operation. */
6352
- var GetGeoConstants;
6353
- (function (GetGeoConstants) {
6354
- /** Query parameter that causes the geospatial query output to be returned in the specified format. */
6355
- var Format;
6356
- (function (Format) {
6357
- Format["LEGACY"] = "legacy";
6358
- Format["GEOJSON"] = "geojson";
6359
- Format["VIEW"] = "view";
6360
- Format["APPLICATION_VND_GEO_JSON"] = "application/vnd.geo+json";
6361
- })(Format = GetGeoConstants.Format || (GetGeoConstants.Format = {}));
6362
- /** Query parameter to specify the DE-9IM (Dimensionally Extended nine-Intersection Model)geospatial relationship between the query geometry and the result documents. */
6363
- var Relation;
6364
- (function (Relation) {
6365
- Relation["CONTAINS"] = "contains";
6366
- Relation["CONTAINS_PROPERLY"] = "contains_properly";
6367
- Relation["COVERED_BY"] = "covered_by";
6368
- Relation["COVERS"] = "covers";
6369
- Relation["CROSSES"] = "crosses";
6370
- Relation["DISJOINT"] = "disjoint";
6371
- Relation["INTERSECTS"] = "intersects";
6372
- Relation["OVERLAPS"] = "overlaps";
6373
- Relation["TOUCHES"] = "touches";
6374
- Relation["WITHIN"] = "within";
6375
- })(Relation = GetGeoConstants.Relation || (GetGeoConstants.Relation = {}));
6376
- /** Query parameter to specify to not wait for the index to finish building before returning results. */
6377
- var Stale;
6378
- (function (Stale) {
6379
- Stale["OK"] = "ok";
6380
- })(Stale = GetGeoConstants.Stale || (GetGeoConstants.Stale = {}));
6381
- })(GetGeoConstants = CloudantV1.GetGeoConstants || (CloudantV1.GetGeoConstants = {}));
6382
- /** Constants for the `getGeoAsStream` operation. */
6383
- var GetGeoAsStreamConstants;
6384
- (function (GetGeoAsStreamConstants) {
6385
- /** Query parameter that causes the geospatial query output to be returned in the specified format. */
6386
- var Format;
6387
- (function (Format) {
6388
- Format["LEGACY"] = "legacy";
6389
- Format["GEOJSON"] = "geojson";
6390
- Format["VIEW"] = "view";
6391
- Format["APPLICATION_VND_GEO_JSON"] = "application/vnd.geo+json";
6392
- })(Format = GetGeoAsStreamConstants.Format || (GetGeoAsStreamConstants.Format = {}));
6393
- /** Query parameter to specify the DE-9IM (Dimensionally Extended nine-Intersection Model)geospatial relationship between the query geometry and the result documents. */
6394
- var Relation;
6395
- (function (Relation) {
6396
- Relation["CONTAINS"] = "contains";
6397
- Relation["CONTAINS_PROPERLY"] = "contains_properly";
6398
- Relation["COVERED_BY"] = "covered_by";
6399
- Relation["COVERS"] = "covers";
6400
- Relation["CROSSES"] = "crosses";
6401
- Relation["DISJOINT"] = "disjoint";
6402
- Relation["INTERSECTS"] = "intersects";
6403
- Relation["OVERLAPS"] = "overlaps";
6404
- Relation["TOUCHES"] = "touches";
6405
- Relation["WITHIN"] = "within";
6406
- })(Relation = GetGeoAsStreamConstants.Relation || (GetGeoAsStreamConstants.Relation = {}));
6407
- /** Query parameter to specify to not wait for the index to finish building before returning results. */
6408
- var Stale;
6409
- (function (Stale) {
6410
- Stale["OK"] = "ok";
6411
- })(Stale = GetGeoAsStreamConstants.Stale || (GetGeoAsStreamConstants.Stale = {}));
6412
- })(GetGeoAsStreamConstants = CloudantV1.GetGeoAsStreamConstants || (CloudantV1.GetGeoAsStreamConstants = {}));
6413
6083
  /** Constants for the `deleteReplicationDocument` operation. */
6414
6084
  var DeleteReplicationDocumentConstants;
6415
6085
  (function (DeleteReplicationDocumentConstants) {