@evergis/api 5.0.38 → 5.0.40

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.
@@ -318,6 +318,16 @@ export interface BaseResourceInfoDc {
318
318
  * @minLength 1
319
319
  */
320
320
  name: string;
321
+ /**
322
+ * When the resource expires and is automatically deleted, or null.
323
+ * @format date-time
324
+ */
325
+ expiresAt?: string;
326
+ /**
327
+ * When the resource was soft-deleted, or null if still active.
328
+ * @format date-time
329
+ */
330
+ deletedAt?: string;
321
331
  }
322
332
  /**
323
333
  * Provides resources with their acl.
@@ -461,7 +471,8 @@ export declare enum CatalogResourceType {
461
471
  Table = "Table",
462
472
  File = "File",
463
473
  TaskPrototype = "TaskPrototype",
464
- DataSource = "DataSource"
474
+ DataSource = "DataSource",
475
+ Custom = "Custom"
465
476
  }
466
477
  export declare enum ClassificationType {
467
478
  None = "none",
@@ -898,6 +909,30 @@ export interface CreatedTaskResultDto {
898
909
  /** Success flag. */
899
910
  success?: boolean;
900
911
  }
912
+ /**
913
+ * A custom resource in the catalog.
914
+ */
915
+ export interface CustomResourceDc {
916
+ /** The name of the resource, including user namespace. */
917
+ name: string;
918
+ /** The subtype of the resource. */
919
+ subtype: string;
920
+ /** Whether the resource can contain child resources. */
921
+ isContainer?: boolean;
922
+ /** The id of the parent resource, or a human-readable path to it, or null for a root resource. */
923
+ parentId?: string;
924
+ /** The description of the custom resource, or null if not set. */
925
+ description?: string;
926
+ /** A set of tags, or null if not set. If specified, must not be empty and must not contain empty values. */
927
+ tags?: string[];
928
+ /** The JSON configuration, or null if not set. */
929
+ configuration?: any;
930
+ /**
931
+ * When the resource expires and is automatically deleted, or null.
932
+ * @format date-time
933
+ */
934
+ expiresAt?: string;
935
+ }
901
936
  export declare enum DataSourceConnectionType {
902
937
  Json = "Json",
903
938
  Csv = "Csv",
@@ -1160,22 +1195,6 @@ export type ExtendedProjectInfoDc = ResourceInfoDc & {
1160
1195
  /** Project content configuration data contract. */
1161
1196
  content: ProjectConfigurationDc;
1162
1197
  };
1163
- /**
1164
- * Project extended configuration data contract.
1165
- */
1166
- export type ExtendedProjectInfoDcV2 = ProjectInfoDcV2 & {
1167
- /** Project content configuration data contract. */
1168
- content: ProjectConfigurationDcV2;
1169
- };
1170
- /**
1171
- * SPCore.Connectors.Connectors.Base.Models.Projects.ExtendedProjectLayersInfo provides extended project info with included layers info.
1172
- */
1173
- export interface ExtendedProjectLayersInfo {
1174
- /** Project extended configuration data contract. */
1175
- projectInfo?: ExtendedProjectInfoDc;
1176
- /** A collection of layers info. */
1177
- layersInfo?: ServiceListItemDc[];
1178
- }
1179
1198
  /**
1180
1199
  * Extended user information.
1181
1200
  */
@@ -1596,11 +1615,8 @@ export interface HistoryItemDc {
1596
1615
  oldFeature?: FeatureDc;
1597
1616
  /** Feature object definition. */
1598
1617
  newFeature?: FeatureDc;
1599
- featureDiff?: IAttributesTable;
1600
- }
1601
- export interface IAttributesTable {
1602
- /** @format int32 */
1603
- count?: number;
1618
+ /** Feature difference. */
1619
+ diff?: PropertyDcObject[];
1604
1620
  }
1605
1621
  /**
1606
1622
  * Data schema of a file for import.
@@ -2064,6 +2080,15 @@ export interface PagedListFeatureDc {
2064
2080
  limit?: number;
2065
2081
  items?: FeatureDc[];
2066
2082
  }
2083
+ export interface PagedListHistoryItemDc {
2084
+ /** @format int64 */
2085
+ totalCount?: number;
2086
+ /** @format int32 */
2087
+ offset?: number;
2088
+ /** @format int32 */
2089
+ limit?: number;
2090
+ items?: HistoryItemDc[];
2091
+ }
2067
2092
  export interface PagedListQueryHistoryDc {
2068
2093
  /** @format int64 */
2069
2094
  totalCount?: number;
@@ -2303,76 +2328,18 @@ export interface ProjectConfigurationDc {
2303
2328
  editConfiguration?: any;
2304
2329
  /** Project information. Storage isn't used by server. */
2305
2330
  projectInfo?: any;
2306
- /** Project content items configurations. */
2307
- items?: ProjectContentItemDc[];
2308
2331
  /** Project configuration. */
2309
2332
  config?: any;
2310
2333
  }
2311
2334
  /**
2312
- * Project content configuration data contract.
2335
+ * Property.
2313
2336
  */
2314
- export interface ProjectConfigurationDcV2 {
2315
- /** Client data storage. Expecting not used by server. */
2316
- clientData?: any;
2317
- /** Card configuration. Storage isn't used by server. */
2318
- dashboardConfiguration?: any;
2319
- /** Developer configuration. */
2320
- devConfiguration?: any;
2321
- /** Edit configuration. Storage isn't used by server. */
2322
- editConfiguration?: any;
2323
- /** Project information. Storage isn't used by server. */
2324
- projectInfo?: any;
2325
- /** Project configuration. */
2326
- config?: any;
2327
- }
2328
- /**
2329
- * Project item description.
2330
- */
2331
- export interface ProjectContentItemDc {
2332
- /** Item name. */
2337
+ export interface PropertyDcObject {
2338
+ /** Property name. */
2333
2339
  name?: string;
2334
- /** Specifies name of the item in project. */
2335
- clientData?: any;
2336
- /** Client data storage. Storage isn't used by server. */
2337
- alias?: string;
2338
- /**
2339
- * Opacity level of item.
2340
- * @format float
2341
- * @default 1
2342
- */
2343
- opacity?: number;
2344
- /**
2345
- * Indicates if item is visible.
2346
- * @default true
2347
- */
2348
- isVisible?: boolean;
2349
- /** Checks if list of children is expanded. */
2350
- isExpanded?: boolean;
2351
- /** Checks if legend is expanded. */
2352
- isLegendExpanded?: boolean;
2353
- /**
2354
- * Minimum scale resolution.
2355
- * @format double
2356
- * @default 0
2357
- */
2358
- minScale?: number;
2359
- /**
2360
- * Maximum scale resolution.
2361
- * @format double
2362
- * @default 0
2363
- */
2364
- maxScale?: number;
2365
- /** If set true, item is basemap. */
2366
- isBasemap?: boolean;
2367
- /** Children items. */
2368
- children?: ProjectContentItemDc[];
2369
- /** Layer type. */
2370
- layerType?: string;
2340
+ /** Property value. */
2341
+ value?: any;
2371
2342
  }
2372
- /**
2373
- * A project configuration data contract.
2374
- */
2375
- export type ProjectInfoDcV2 = ResourceInfoDcV2 & object;
2376
2343
  /**
2377
2344
  * Request to propose a share invitation for a resource.
2378
2345
  */
@@ -2951,9 +2918,9 @@ export interface ResourceInfoDc {
2951
2918
  * @maxLength 102400
2952
2919
  */
2953
2920
  icon?: string;
2954
- /** Parent id in resources catalog. */
2921
+ /** The id of the parent resource, or a human-readable path to it, or null for a root resource. */
2955
2922
  parentId?: string;
2956
- /** Resource id in resources catalog. */
2923
+ /** The id of the resource, or a human-readable path to it. */
2957
2924
  resourceId?: string;
2958
2925
  /** Resource tags. */
2959
2926
  tags?: string[];
@@ -2962,45 +2929,16 @@ export interface ResourceInfoDc {
2962
2929
  * @minLength 1
2963
2930
  */
2964
2931
  name: string;
2965
- }
2966
- /**
2967
- * The `ResourceInfoDc` provides information about resource.
2968
- */
2969
- export interface ResourceInfoDcV2 {
2970
- /** Resource alias. */
2971
- alias?: string;
2972
- /** Resource owner. */
2973
- owner?: string;
2974
- /** Resource description. */
2975
- description?: string;
2976
2932
  /**
2977
- * The date when resource was created.
2933
+ * When the resource expires and is automatically deleted, or null.
2978
2934
  * @format date-time
2979
2935
  */
2980
- createdDate?: string;
2936
+ expiresAt?: string;
2981
2937
  /**
2982
- * The date when resource was last modified.
2938
+ * When the resource was soft-deleted, or null if still active.
2983
2939
  * @format date-time
2984
2940
  */
2985
- changedDate?: string;
2986
- permissions?: Permissions;
2987
- /**
2988
- * Base64 encoded image - icon of the resource. Usually shown next to the resource name in lists and legends.
2989
- * @minLength 0
2990
- * @maxLength 102400
2991
- */
2992
- icon?: string;
2993
- /** Parent id in resources catalog. */
2994
- parentId?: string;
2995
- /** Resource id in resources catalog. */
2996
- resourceId?: string;
2997
- /** Resource tags. */
2998
- tags?: string[];
2999
- /**
3000
- * Name of the resource including its namespaces (names of the service managers that contain this service).
3001
- * @minLength 1
3002
- */
3003
- name: string;
2941
+ deletedAt?: string;
3004
2942
  }
3005
2943
  /**
3006
2944
  * Resource parent.
@@ -3207,7 +3145,10 @@ export interface ServiceConfigurationBaseDc {
3207
3145
  * @minLength 1
3208
3146
  */
3209
3147
  name: string;
3210
- /** Human friendly name of the service. */
3148
+ /**
3149
+ * The human-friendly name of the service, or the service SPCore.Connectors.Connectors.Base.Models.ServiceManager.Configurations.ServiceConfigurationBaseDc.Name if not set.
3150
+ * This value is used as a segment of the catalog resource path.
3151
+ */
3211
3152
  alias?: string;
3212
3153
  /** Description of the service. */
3213
3154
  description?: string;
@@ -3232,8 +3173,18 @@ export interface ServiceConfigurationBaseDc {
3232
3173
  cardConfiguration?: any;
3233
3174
  /** Edit configuration. Storage isn't used by server. */
3234
3175
  editConfiguration?: any;
3235
- /** Parent resource id. */
3176
+ /** The id of the parent resource, or a human-readable path to it, or null for a root resource. */
3236
3177
  parentId?: string;
3178
+ /**
3179
+ * When the resource expires at and is automatically deleted, or null.
3180
+ * @format date-time
3181
+ */
3182
+ expiresAt?: string;
3183
+ /**
3184
+ * When the resource was soft-deleted, or null if still active.
3185
+ * @format date-time
3186
+ */
3187
+ deletedAt?: string;
3237
3188
  }
3238
3189
  /**
3239
3190
  * The `ServiceInfoDc` provides information about the service.
@@ -3259,58 +3210,6 @@ export type ServiceInfoDc = BaseResourceInfoDc & {
3259
3210
  /** Access control list for a security object. */
3260
3211
  acl?: AccessControlListDc;
3261
3212
  };
3262
- /**
3263
- * An entry in the service list response.
3264
- */
3265
- export interface ServiceListItemDc {
3266
- /** Name of the resource. */
3267
- name?: string;
3268
- /** Type of the service. */
3269
- type?: string;
3270
- /** Alias of the resource. */
3271
- alias?: string;
3272
- /** Description of the resource. */
3273
- description?: string;
3274
- /** System name of the resource owner. */
3275
- owner?: string;
3276
- /** User name of the resource owner (human friendly name). */
3277
- ownerName?: string;
3278
- /**
3279
- * The date and time the resource was created.
3280
- * @format date-time
3281
- */
3282
- createdDate?: string;
3283
- /**
3284
- * The date and time the resource was modified the last time.
3285
- * @format date-time
3286
- */
3287
- changedDate?: string;
3288
- permissions?: Permissions;
3289
- /**
3290
- * Minimum resolution that this service will be rendered on. If no resolution limits are set for the top-level
3291
- * style of the service, or if no such property is available for this type of the service, 0 is returned.
3292
- * @format double
3293
- */
3294
- minResolution?: number;
3295
- /**
3296
- * Maximum resolution that this service will be rendered on. If no resolution limits are set for the top-level
3297
- * style of the service, or if no such property is available for this type of the service, 0 is returned.
3298
- * @format double
3299
- */
3300
- maxResolution?: number;
3301
- /**
3302
- * Filtering condition for the objects in the service. If no condition set or if no such property is available
3303
- * for the given service type, null is returned.
3304
- */
3305
- condition?: string;
3306
- geometryType?: OgcGeometryType;
3307
- /** Provides data source type info. */
3308
- dataSourceType?: string;
3309
- /** A set of tags. */
3310
- tags?: string[];
3311
- /** Envelope geometry. */
3312
- envelope?: EnvelopeDc;
3313
- }
3314
3213
  export declare enum ShareInvitationStatus {
3315
3214
  Unspecified = "Unspecified",
3316
3215
  Pending = "Pending",
@@ -3597,6 +3496,16 @@ export interface TableHistoryRequestDc {
3597
3496
  * @format date-time
3598
3497
  */
3599
3498
  end?: string;
3499
+ /**
3500
+ * History items count have to skip.
3501
+ * @format int32
3502
+ */
3503
+ offset?: number;
3504
+ /**
3505
+ * History items limit per response.
3506
+ * @format int32
3507
+ */
3508
+ limit?: number;
3600
3509
  }
3601
3510
  /**
3602
3511
  * Table description.
@@ -3635,9 +3544,9 @@ export interface TableInfoDc {
3635
3544
  * @maxLength 102400
3636
3545
  */
3637
3546
  icon?: string;
3638
- /** Parent id in resources catalog. */
3547
+ /** The id of the parent resource, or a human-readable path to it, or null for a root resource. */
3639
3548
  parentId?: string;
3640
- /** Resource id in resources catalog. */
3549
+ /** The id of the resource, or a human-readable path to it. */
3641
3550
  resourceId?: string;
3642
3551
  /** Resource tags. */
3643
3552
  tags?: string[];
@@ -3646,6 +3555,16 @@ export interface TableInfoDc {
3646
3555
  * @minLength 1
3647
3556
  */
3648
3557
  name: string;
3558
+ /**
3559
+ * When the resource expires and is automatically deleted, or null.
3560
+ * @format date-time
3561
+ */
3562
+ expiresAt?: string;
3563
+ /**
3564
+ * When the resource was soft-deleted, or null if still active.
3565
+ * @format date-time
3566
+ */
3567
+ deletedAt?: string;
3649
3568
  }
3650
3569
  /**
3651
3570
  * Tags filter.
@@ -4106,18 +4025,6 @@ export type ViewConfigurationDc = TableConfigurationBaseDc & {
4106
4025
  /** TableName. */
4107
4026
  tableName?: string | null;
4108
4027
  };
4109
- /**
4110
- * S3 data source settings.
4111
- */
4112
- export type WmsDataSourceDc = DataSourceDc & {
4113
- type?: DataSourceType;
4114
- /** Endpoint. */
4115
- serviceUrl?: string | null;
4116
- /** Endpoint. */
4117
- params?: Record<string, string | null>;
4118
- /** Endpoint. */
4119
- headers?: Record<string, string | null>;
4120
- };
4121
4028
  export declare enum WorkerMethodType {
4122
4029
  Task = "Task",
4123
4030
  Rest = "Rest",
@@ -4817,10 +4724,6 @@ export interface ReadPartParams {
4817
4724
  */
4818
4725
  Count?: number;
4819
4726
  }
4820
- export interface GetExternalWmsLayersParams {
4821
- /** WMS service url. */
4822
- url?: string;
4823
- }
4824
4727
  export interface GetExternalPbfLayersParams {
4825
4728
  /** PBF service url. */
4826
4729
  url?: string;
@@ -5154,15 +5057,6 @@ export interface GetProjectsInfoParams {
5154
5057
  /** Project names. */
5155
5058
  projectNames?: string[];
5156
5059
  }
5157
- export interface GetProjectEnvelopeParams {
5158
- /**
5159
- * Spatial reference to return the extent in.
5160
- * @format int32
5161
- */
5162
- srId?: number;
5163
- /** The name of the project. */
5164
- name: string;
5165
- }
5166
5060
  export interface GetAllScriptMethodsParams {
5167
5061
  /** ResourceId. */
5168
5062
  resourceId?: string;
@@ -5241,6 +5135,13 @@ export interface GetTaskResourceParams {
5241
5135
  /** Id. */
5242
5136
  id: string;
5243
5137
  }
5138
+ export interface Get1Params {
5139
+ /**
5140
+ * Show hide workers.
5141
+ * @default false
5142
+ */
5143
+ visibleAll?: boolean;
5144
+ }
5244
5145
  export type SetPoliciesPayload = Record<string, PolicyDc[]>;
5245
5146
  export interface FindUserByNameByRolesParams {
5246
5147
  /** Roles. */
@@ -5413,55 +5314,3 @@ export interface GetVectorTileParams2 {
5413
5314
  */
5414
5315
  y: number;
5415
5316
  }
5416
- export interface GetCapabilitiesParams {
5417
- /** Name of the service. */
5418
- Service?: string;
5419
- /** When omitted, server shall return latest supported version. */
5420
- AcceptVersions?: string[];
5421
- /** When omitted or not supported by server, server shall return complete service metadata (Capabilities) document. */
5422
- Sections?: string[];
5423
- /** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
5424
- AcceptFormats?: string[];
5425
- }
5426
- export interface GetSharedCapabilitiesParams {
5427
- /** Name of the service. */
5428
- Service?: string;
5429
- /** When omitted, server shall return latest supported version. */
5430
- AcceptVersions?: string[];
5431
- /** When omitted or not supported by server, server shall return complete service metadata (Capabilities) document. */
5432
- Sections?: string[];
5433
- /** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
5434
- AcceptFormats?: string[];
5435
- }
5436
- export interface GetPublicCapabilitiesParams {
5437
- /** Name of the service. */
5438
- Service?: string;
5439
- /** When omitted, server shall return latest supported version. */
5440
- AcceptVersions?: string[];
5441
- /** When omitted or not supported by server, server shall return complete service metadata (Capabilities) document. */
5442
- Sections?: string[];
5443
- /** When omitted or not supported by server, server shall return service metadata document using the MIME type "text/xml". */
5444
- AcceptFormats?: string[];
5445
- }
5446
- export interface ProcessRequestParams {
5447
- /** Layer name. */
5448
- layer?: string;
5449
- /** wmts version. */
5450
- version?: string;
5451
- /** Request type. */
5452
- request?: string;
5453
- /** Tile matrix. */
5454
- tileMatrix?: string;
5455
- /**
5456
- * Tile row.
5457
- * @format int32
5458
- * @default 0
5459
- */
5460
- tileRow?: number;
5461
- /**
5462
- * Tile col.
5463
- * @format int32
5464
- * @default 0
5465
- */
5466
- tileCol?: number;
5467
- }