@evergis/api 3.0.73 → 3.0.74

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/dist/Api.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Options as KyOptions } from 'ky';
2
2
  import { EventEmitter } from '@evergis/event-emitter';
3
- import { Account, External, ClientSettings, PortalSettings, FileUpload, General, Geocode, Import, Layers, Names, Namespace, Notification, Projects, ResourceCatalog, Resources, Scheduler, Security, Styles, Tables, Tools, AccountPreview, BulkOperations, IceRouter, Statistic } from './services';
3
+ import { Account, External, ClientSettings, PortalSettings, FileUpload, General, Geocode, Import, Layers, Names, Namespace, Notification, Projects, ResourceCatalog, Resources, Scheduler, Security, Styles, Tables, Tools, AccountPreview, BulkOperations, IceRouter, Statistic, Feedback } from './services';
4
4
  import { Print } from './services/Print';
5
5
  import { HttpClient } from './__generated__/HttpClient';
6
6
  import { LoginDc } from './__generated__/data-contracts';
@@ -48,6 +48,7 @@ export declare class Api extends EventEmitter {
48
48
  readonly bulk: BulkOperations;
49
49
  readonly iceRouter: IceRouter;
50
50
  readonly statistic: Statistic;
51
+ readonly feedback: Feedback;
51
52
  constructor({ url, wsUrl, http, urlPath, httpOptions }: ApiParams);
52
53
  init({ authParams, connectWs, initScheduler, fetchSettings, fetchUser, }: {
53
54
  authParams?: LoginDc;
@@ -1,4 +1,4 @@
1
- import { IncreaseResourcesLimitParams, MoreSymbolsParams } from './data-contracts';
1
+ import { FeedbackParams, FeedbackPayload, IncreaseResourcesLimitParams, MoreSymbolsParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -28,4 +28,15 @@ export declare class FeedbackService extends Service {
28
28
  * @response `200` Success
29
29
  */
30
30
  moreSymbols(query: MoreSymbolsParams): Promise<string[]>;
31
+ /**
32
+ * No description
33
+ *
34
+ * @tags Feedback
35
+ * @name Feedback
36
+ * @operationId FeedbackController_Feedback
37
+ * @summary Feedback request.
38
+ * @request POST:/feedback
39
+ * @response `200` Success
40
+ */
41
+ feedback(query: FeedbackParams, data: FeedbackPayload): Promise<string[]>;
31
42
  }
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, AddPermissionsBody, BulkOperationResultDc, CompositeServiceInfoDc, CreateProjectPayload, CreateShareProjectPayload, DeleteResourcesParams6, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, IListResponse, ListResponseProjectInfoDc, ResourceDependenciesDc, ResourceInfoDc, ServiceInfoDc, SetPermissionsBatchBody, SetPermissionsBody, SetPreviewBody, SharedProjectInfoDc, UpdateProjectPayload } from './data-contracts';
1
+ import { AccessControlListDc, AddPermissionsBody, BulkOperationResultDc, CompositeServiceInfoDc, CreateProjectPayload, CreateShareProjectPayload, DeleteResourcesParams3, ExtendedProjectLayersInfo, FileUploadResponse, GetProjectsListParams, IListResponse, ListResponseProjectInfoDc, ResourceDependenciesDc, ResourceInfoDc, ServiceInfoDc, SetPermissionsBatchBody, SetPermissionsBody, SetPreviewBody, SharedProjectInfoDc, UpdateProjectPayload } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -82,7 +82,7 @@ export declare class ProjectsService extends Service {
82
82
  * @request DELETE:/projects
83
83
  * @response `200` Success
84
84
  */
85
- deleteResources(query: DeleteResourcesParams6): Promise<BulkOperationResultDc[]>;
85
+ deleteResources(query: DeleteResourcesParams3): Promise<BulkOperationResultDc[]>;
86
86
  /**
87
87
  * No description
88
88
  *
@@ -1,4 +1,4 @@
1
- import { ClassifyDc, ClassifyParams7, StatisticsDbParams, StatisticsDc } from './data-contracts';
1
+ import { ClassifyDc, ClassifyParams6, StatisticsDbParams, StatisticsDc } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -27,5 +27,5 @@ export declare class StatisticService extends Service {
27
27
  * @request GET:/classify
28
28
  * @response `200` Success
29
29
  */
30
- classify(query: ClassifyParams7): Promise<ClassifyDc>;
30
+ classify(query: ClassifyParams6): Promise<ClassifyDc>;
31
31
  }
@@ -1,4 +1,4 @@
1
- import { AccessControlListDc, AddPermissionsInput, BulkOperationResultDc, CreateTablePayload, DeleteResourcesParams2, DeleteTableDataParams, FileUploadResponse, GetTableDataParams, GetTableListParams, GetUniqueDataRowsParams, IListResponse, ListResponseIEnumerable1, MapRemoteTableParams, MapRemoteTablePayload, MapTableParams, MapTablePayload, MapViewParams, MapViewPayload, ResourceDependenciesDc, SetPermissionsBatchInput, SetPermissionsInput, SetPreviewInput, TableListDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTablePayload, WriteTableDataPayload } from './data-contracts';
1
+ import { AccessControlListDc, AddPermissionsInput, BulkOperationResultDc, CreateTablePayload, DeleteResourcesParams9, DeleteTableDataParams, FileUploadResponse, GetTableDataParams, GetTableListParams, GetUniqueDataRowsParams, IListResponse, ListResponseIEnumerable1, MapRemoteTableParams, MapRemoteTablePayload, MapTableParams, MapTablePayload, MapViewParams, MapViewPayload, ResourceDependenciesDc, SetPermissionsBatchInput, SetPermissionsInput, SetPreviewInput, TableListDc, UpdateTableDataParams, UpdateTableDataPayload, UpdateTablePayload, WriteTableDataPayload } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -49,7 +49,7 @@ export declare class TablesService extends Service {
49
49
  * @request DELETE:/tables
50
50
  * @response `200` Success
51
51
  */
52
- deleteResources(query: DeleteResourcesParams2): Promise<BulkOperationResultDc[]>;
52
+ deleteResources(query: DeleteResourcesParams9): Promise<BulkOperationResultDc[]>;
53
53
  /**
54
54
  * No description
55
55
  *
@@ -1,4 +1,4 @@
1
- import { GetCapabilities1Params, GetCapabilitiesParams8, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
1
+ import { GetCapabilities1Params, GetCapabilitiesParams3, GetFeatureInfoParams, GetLegendGraphicParams, GetMapParams } from './data-contracts';
2
2
  import { Service } from './Service';
3
3
  /**
4
4
  * @title Spatial Processing Core API
@@ -16,7 +16,7 @@ export declare class WmsServerService extends Service {
16
16
  * @request GET:/wms#REQUEST=GetCapabilities
17
17
  * @response `200` Success
18
18
  */
19
- getCapabilities(query: GetCapabilitiesParams8): Promise<void>;
19
+ getCapabilities(query: GetCapabilitiesParams3): Promise<void>;
20
20
  /**
21
21
  * No description
22
22
  *
@@ -312,7 +312,7 @@ export interface AttributeDefinitionDc {
312
312
  */
313
313
  export interface AttributeDistinctDc {
314
314
  /** Attribute value. */
315
- attributeValue: string;
315
+ value: string;
316
316
  /**
317
317
  * Count of this attribute value at table.
318
318
  * @format int64
@@ -3333,6 +3333,8 @@ export interface PostgresTileCatalogServiceConfigurationDc {
3333
3333
  * @format int32
3334
3334
  */
3335
3335
  maxLodLevel?: number;
3336
+ /** IsCogLayer. */
3337
+ isCogLayer?: boolean;
3336
3338
  /** Name of the service. */
3337
3339
  name: string;
3338
3340
  /** Human friendly name of the service. */
@@ -3914,6 +3916,16 @@ export interface RoutingProviderInfoDc {
3914
3916
  type?: string;
3915
3917
  /** Routing profile (e.g. car, walking, bicycle etc.) */
3916
3918
  profile?: string;
3919
+ /**
3920
+ * Timeout in seconds.
3921
+ * @format int32
3922
+ */
3923
+ timeout?: number;
3924
+ /**
3925
+ * Max points in single batch.
3926
+ * @format int32
3927
+ */
3928
+ maxPointsInBatch?: number;
3917
3929
  }
3918
3930
  /**
3919
3931
  * ScaleBar element data contract.
@@ -5360,6 +5372,8 @@ export interface UploadRasterTaskParametersDc {
5360
5372
  maxZoomLevel: number;
5361
5373
  /** Get geometry from bbox or polygonize. */
5362
5374
  polygonize?: boolean;
5375
+ /** Import as COG. */
5376
+ useCog?: boolean;
5363
5377
  type?: string;
5364
5378
  }
5365
5379
  /**
@@ -5640,6 +5654,20 @@ export interface MoreSymbolsParams {
5640
5654
  /** Request justification. */
5641
5655
  Justification?: string;
5642
5656
  }
5657
+ export interface FeedbackPayload {
5658
+ /** Attachments. */
5659
+ Attachments?: File[];
5660
+ }
5661
+ export interface FeedbackParams {
5662
+ /** Name. */
5663
+ Name?: string;
5664
+ /** Phone number. */
5665
+ Phone?: string;
5666
+ /** Email address. */
5667
+ Email?: string;
5668
+ /** Message text. */
5669
+ Message?: string;
5670
+ }
5643
5671
  export interface GeocodeParams {
5644
5672
  /** Input address. */
5645
5673
  address?: string;
@@ -5686,26 +5714,10 @@ export interface GetDataSchemaParams {
5686
5714
  export interface GetExcelDataSchemaParams {
5687
5715
  /** Id of the excel file in the temporary static storage. */
5688
5716
  fileId?: string;
5689
- /**
5690
- * Attribute name row number.
5691
- * @format int32
5692
- */
5693
- attributeNameRowNumber?: number;
5694
- /** Coord source fields. */
5695
- coordSourceFields?: string[];
5696
- /**
5697
- * Alias row number.
5698
- * @format int32
5699
- */
5700
- aliasRowNumber?: number;
5701
5717
  }
5702
5718
  export interface GetCsvDataSchemaParams {
5703
5719
  /** Id of the csv file in the temporary static storage. */
5704
5720
  fileId?: string;
5705
- /** If set true - second row will be read as alias row. */
5706
- containsAliasRow?: boolean;
5707
- /** Coord source fields. */
5708
- coordSourceFields?: string[];
5709
5721
  }
5710
5722
  export interface GetKmlDataSchemaParams {
5711
5723
  /** Id of the kml file in the temporary static storage. */
@@ -6302,7 +6314,7 @@ export interface GetProjectsListParams {
6302
6314
  */
6303
6315
  export declare type CreateProjectPayload = ExtendedProjectInfoDc | ResourceInfoDc | ProjectInfoDc;
6304
6316
  export declare type SetPermissionsBatchBody = ResourceAclDc[];
6305
- export interface DeleteResourcesParams6 {
6317
+ export interface DeleteResourcesParams3 {
6306
6318
  /** Resource names. */
6307
6319
  names?: string[];
6308
6320
  }
@@ -6486,7 +6498,7 @@ export interface DeleteFileParams {
6486
6498
  }
6487
6499
  export interface StatisticsDbParams {
6488
6500
  /** Layer name. */
6489
- layerName?: string;
6501
+ name?: string;
6490
6502
  /** Attribute name. */
6491
6503
  attribute?: string;
6492
6504
  /** Condition. */
@@ -6494,9 +6506,9 @@ export interface StatisticsDbParams {
6494
6506
  /** Type of required statistic function. */
6495
6507
  types?: AggregationFunction[];
6496
6508
  }
6497
- export interface ClassifyParams7 {
6509
+ export interface ClassifyParams6 {
6498
6510
  /** Layer name. */
6499
- layerName?: string;
6511
+ name?: string;
6500
6512
  /** Attribute name. */
6501
6513
  attribute?: string;
6502
6514
  /** Layer condition. */
@@ -6587,7 +6599,7 @@ export interface GetTableListParams {
6587
6599
  */
6588
6600
  export declare type CreateTablePayload = DetailedTableInfoDc | ResourceInfoDc | TableInfoDc;
6589
6601
  export declare type SetPermissionsBatchInput = ResourceAclDc[];
6590
- export interface DeleteResourcesParams2 {
6602
+ export interface DeleteResourcesParams9 {
6591
6603
  /** Resource names. */
6592
6604
  names?: string[];
6593
6605
  }
@@ -6692,7 +6704,7 @@ export interface GetCapabilitiesParams {
6692
6704
  /** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
6693
6705
  AcceptFormats?: string[];
6694
6706
  }
6695
- export interface GetCapabilitiesParams8 {
6707
+ export interface GetCapabilitiesParams3 {
6696
6708
  /** Output format of service metadata. */
6697
6709
  Format?: string;
6698
6710
  /** Must be WMS. */
@@ -5588,6 +5588,97 @@ let Statistic = /*#__PURE__*/function (_StatisticService) {
5588
5588
  return Statistic;
5589
5589
  }(StatisticService);
5590
5590
 
5591
+ /**
5592
+ * @title Spatial Processing Core API
5593
+ * @version v0.6.0
5594
+ * @baseUrl /sp
5595
+ */
5596
+
5597
+ let FeedbackService = /*#__PURE__*/function (_Service) {
5598
+ _inherits(FeedbackService, _Service);
5599
+
5600
+ var _super = /*#__PURE__*/_createSuper(FeedbackService);
5601
+
5602
+ function FeedbackService() {
5603
+ _classCallCheck(this, FeedbackService);
5604
+
5605
+ return _super.apply(this, arguments);
5606
+ }
5607
+
5608
+ _createClass(FeedbackService, [{
5609
+ key: "increaseResourcesLimit",
5610
+ value:
5611
+ /**
5612
+ * No description
5613
+ *
5614
+ * @tags Feedback
5615
+ * @name IncreaseResourcesLimit
5616
+ * @operationId FeedbackController_IncreaseResourcesLimit
5617
+ * @summary Increase resources limit request.
5618
+ * @request POST:/feedback/limits
5619
+ * @response `200` Success
5620
+ */
5621
+ function increaseResourcesLimit(query) {
5622
+ return this.http.post("/feedback/limits", null, query).json();
5623
+ }
5624
+ /**
5625
+ * No description
5626
+ *
5627
+ * @tags Feedback
5628
+ * @name MoreSymbols
5629
+ * @operationId FeedbackController_MoreSymbols
5630
+ * @summary More symbols request.
5631
+ * @request POST:/feedback/symbol
5632
+ * @response `200` Success
5633
+ */
5634
+
5635
+ }, {
5636
+ key: "moreSymbols",
5637
+ value: function moreSymbols(query) {
5638
+ return this.http.post("/feedback/symbol", null, query).json();
5639
+ }
5640
+ /**
5641
+ * No description
5642
+ *
5643
+ * @tags Feedback
5644
+ * @name Feedback
5645
+ * @operationId FeedbackController_Feedback
5646
+ * @summary Feedback request.
5647
+ * @request POST:/feedback
5648
+ * @response `200` Success
5649
+ */
5650
+
5651
+ }, {
5652
+ key: "feedback",
5653
+ value: function feedback(query, data) {
5654
+ return this.http.post("/feedback", toFormData(data), query).json();
5655
+ }
5656
+ }]);
5657
+
5658
+ return FeedbackService;
5659
+ }(Service);
5660
+
5661
+ let Feedback = /*#__PURE__*/function (_FeedbackService) {
5662
+ _inherits(Feedback, _FeedbackService);
5663
+
5664
+ var _super = /*#__PURE__*/_createSuper(Feedback);
5665
+
5666
+ function Feedback() {
5667
+ _classCallCheck(this, Feedback);
5668
+
5669
+ return _super.apply(this, arguments);
5670
+ }
5671
+
5672
+ _createClass(Feedback, [{
5673
+ key: "postFeedback",
5674
+ value: function postFeedback(query, data) {
5675
+ return this.feedback(query, data);
5676
+ }
5677
+ }]);
5678
+
5679
+ return Feedback;
5680
+ }(FeedbackService);
5681
+
5591
5682
  /**
5592
5683
  * @title Spatial Processing Core API
5593
5684
  * @version v0.6.0
@@ -5803,6 +5894,7 @@ let Api = /*#__PURE__*/function (_EventEmitter) {
5803
5894
  _this.portalSettings = new PortalSettings(_this.http);
5804
5895
  _this.iceRouter = new IceRouter(_this.http);
5805
5896
  _this.statistic = new Statistic(_this.http);
5897
+ _this.feedback = new Feedback(_this.http);
5806
5898
  _this.names = new Names({
5807
5899
  account: _this.account
5808
5900
  });
@@ -6479,6 +6571,7 @@ exports.ClientSettings = ClientSettings;
6479
6571
  exports.EvergisDynamicLayer = EvergisDynamicLayer;
6480
6572
  exports.EvergisTileLayer = EvergisTileLayer;
6481
6573
  exports.External = External;
6574
+ exports.Feedback = Feedback;
6482
6575
  exports.FileUpload = FileUpload;
6483
6576
  exports.GEOCODE_PROVIDER = GEOCODE_PROVIDER;
6484
6577
  exports.General = General;