@evergis/api 5.0.63 → 5.0.64

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.
@@ -100,6 +100,8 @@ export declare enum AggregationFunction {
100
100
  */
101
101
  export type ArcGisDataSourceDc = DataSourceDc & {
102
102
  type?: DataSourceType;
103
+ /** ArcGIS DataSource sub types. */
104
+ subType?: ArcGisDataSourceSubTypes;
103
105
  /** Endpoint. */
104
106
  serviceUrl?: string | null;
105
107
  /** Endpoint. */
@@ -114,6 +116,32 @@ export type ArcGisDataSourceInfoDc = DataSourceInfoDc & {
114
116
  /** Service url. */
115
117
  serviceUrl?: string | null;
116
118
  };
119
+ /**
120
+ * ArcGIS DataSource sub types.
121
+ */
122
+ export declare enum ArcGisDataSourceSubTypes {
123
+ FeatureServer = "FeatureServer",
124
+ ImageServer = "ImageServer",
125
+ MapServer = "MapServer"
126
+ }
127
+ /**
128
+ * Specifies the proxy service configuration data contract for an ArcGIS Feature Server source.
129
+ */
130
+ export type ArcGisFeatureServerConfigurationDc = ProxyServiceConfigurationDc & {
131
+ sourceType?: string | null;
132
+ };
133
+ /**
134
+ * Specifies the proxy service configuration data contract for an ArcGIS Feature Server source.
135
+ */
136
+ export type ArcGisImageServerConfigurationDc = ProxyServiceConfigurationDc & {
137
+ sourceType?: string | null;
138
+ };
139
+ /**
140
+ * Specifies the proxy service configuration data contract for an ArcGIS Feature Server source.
141
+ */
142
+ export type ArcGisMapServerConfigurationDc = ProxyServiceConfigurationDc & {
143
+ sourceType?: string | null;
144
+ };
117
145
  /**
118
146
  * Configuration of an attribute in a feature layer.
119
147
  */
@@ -369,6 +397,31 @@ export type CalculatedAttributeConfigurationDc = AttributeConfigurationDc & {
369
397
  cellSize?: number | null;
370
398
  subType?: StringSubType;
371
399
  };
400
+ /**
401
+ * Length of a calendar period.
402
+ */
403
+ export declare enum CalendarUnitDc {
404
+ Day = "Day",
405
+ Week = "Week",
406
+ Month = "Month",
407
+ Year = "Year"
408
+ }
409
+ /**
410
+ * Fixed periods starting at local midnight of the time zone.
411
+ */
412
+ export type CalendarWindowDc = WindowDc & {
413
+ /** How a rate is counted. */
414
+ type?: WindowTypeDc;
415
+ /** Length of a calendar period. */
416
+ unit: CalendarUnitDc;
417
+ /**
418
+ * Gets or sets the date periods start from; `null` for the unit's natural start.
419
+ * @format date
420
+ */
421
+ anchor?: string | null;
422
+ /** Gets or sets the IANA time zone, like `Europe/Moscow`; `null` for UTC. */
423
+ timeZone?: string | null;
424
+ };
372
425
  /**
373
426
  * Base class for catalog configuration responses.
374
427
  */
@@ -1679,6 +1732,109 @@ export interface GetSumOfProductDc {
1679
1732
  /** Filter query geometries. */
1680
1733
  geometries?: QueryGeometryDc[];
1681
1734
  }
1735
+ /**
1736
+ * What is left of one grant of credit.
1737
+ */
1738
+ export interface GrantBalanceDc {
1739
+ /**
1740
+ * Gets or sets the id of the grant.
1741
+ * @format int64
1742
+ */
1743
+ grantId?: number;
1744
+ /**
1745
+ * Gets or sets what is left of it.
1746
+ * @format int64
1747
+ */
1748
+ left?: number;
1749
+ /**
1750
+ * Gets or sets when it burns; `null` when it never does.
1751
+ * @format date-time
1752
+ */
1753
+ expiresAt?: string;
1754
+ /** Gets or sets why it was granted. */
1755
+ reason?: string;
1756
+ }
1757
+ /**
1758
+ * Credit to grant. Granting again with the same key returns the first grant.
1759
+ */
1760
+ export interface GrantCreditDc {
1761
+ /**
1762
+ * Gets or sets the user.
1763
+ * @minLength 1
1764
+ */
1765
+ userName: string;
1766
+ /**
1767
+ * Gets or sets the kind; a rate kind.
1768
+ * @minLength 1
1769
+ */
1770
+ limitKindCode: string;
1771
+ /** Gets or sets the qualifier of the plan it tops up; empty for all cases. */
1772
+ qualifier?: string;
1773
+ /**
1774
+ * Gets or sets how much; positive.
1775
+ * @format int64
1776
+ */
1777
+ amount?: number;
1778
+ /**
1779
+ * Gets or sets when what is left burns; `null` for never.
1780
+ * @format date-time
1781
+ */
1782
+ expiresAt?: string;
1783
+ /** Gets or sets why: payment, a ticket, a promotion. */
1784
+ reason?: string;
1785
+ /**
1786
+ * Gets or sets the caller's key, such as a payment id.
1787
+ * @minLength 1
1788
+ */
1789
+ key: string;
1790
+ }
1791
+ /**
1792
+ * Credit granted to a user on top of a rate plan.
1793
+ */
1794
+ export interface GrantDc {
1795
+ /**
1796
+ * Gets or sets the id.
1797
+ * @format int64
1798
+ */
1799
+ id?: number;
1800
+ /** Gets or sets the user. */
1801
+ userName?: string;
1802
+ /** Gets or sets the kind. */
1803
+ limitKindCode?: string;
1804
+ /** Gets or sets the qualifier of the plan it tops up; empty for all cases. */
1805
+ qualifier?: string;
1806
+ /**
1807
+ * Gets or sets how much was granted.
1808
+ * @format int64
1809
+ */
1810
+ amount?: number;
1811
+ /**
1812
+ * Gets or sets what is left; zero once burnt or revoked.
1813
+ * @format int64
1814
+ */
1815
+ left?: number;
1816
+ /** Gets or sets why: payment, a ticket, a promotion. */
1817
+ reason?: string;
1818
+ /** Gets or sets the caller's key, such as a payment id. */
1819
+ key?: string;
1820
+ /** Gets or sets who granted it. */
1821
+ grantedBy?: string;
1822
+ /**
1823
+ * Gets or sets when it was granted.
1824
+ * @format date-time
1825
+ */
1826
+ grantedAt?: string;
1827
+ /**
1828
+ * Gets or sets when it burns; `null` for never.
1829
+ * @format date-time
1830
+ */
1831
+ expiresAt?: string;
1832
+ /**
1833
+ * Gets or sets when it was revoked.
1834
+ * @format date-time
1835
+ */
1836
+ revokedAt?: string;
1837
+ }
1682
1838
  /**
1683
1839
  * History itrem data contract.
1684
1840
  */
@@ -1753,13 +1909,9 @@ export interface KeyValuePairExplainOptionsBoolean {
1753
1909
  */
1754
1910
  export declare enum LayerServiceType {
1755
1911
  QueryLayerService = "QueryLayerService",
1756
- LinearLayerService = "LinearLayerService",
1757
- MapboxLayerService = "MapboxLayerService",
1758
1912
  PostgresTileLayerService = "PostgresTileLayerService",
1759
1913
  ProxyLayerService = "ProxyLayerService",
1760
- PythonLayerService = "PythonLayerService",
1761
- RemoteTileLayerService = "RemoteTileLayerService",
1762
- RouteLayerService = "RouteLayerService"
1914
+ RemoteTileLayerService = "RemoteTileLayerService"
1763
1915
  }
1764
1916
  /**
1765
1917
  * Information about layer update.
@@ -1780,6 +1932,37 @@ export interface LayerUpdateInfoDc {
1780
1932
  /** Array of deleted ids. */
1781
1933
  deletedIds?: string[];
1782
1934
  }
1935
+ /**
1936
+ * One period that never ends: what is spent is spent for good.
1937
+ */
1938
+ export type LifetimeWindowDc = WindowDc & {
1939
+ /** How a rate is counted. */
1940
+ type?: WindowTypeDc;
1941
+ };
1942
+ /**
1943
+ * A limit kind of the catalog, declared by the service that enforces it.
1944
+ */
1945
+ export interface LimitKindDc {
1946
+ /** Gets or sets the code, like `importexport.import.features`. */
1947
+ code?: string;
1948
+ /** What the cap of a kind is compared against. */
1949
+ measurement?: MeasurementDc;
1950
+ /** Gets or sets the unit of caps and amounts. */
1951
+ unit?: string;
1952
+ /** Gets or sets the qualifiers a rule may be narrowed to; empty when none. */
1953
+ allowedQualifiers?: string[];
1954
+ /** Gets or sets a value indicating whether the kind is enforced. */
1955
+ isActive?: boolean;
1956
+ /** Gets or sets the name shown to administrators. */
1957
+ displayName?: string;
1958
+ /** Gets or sets the service that declared the kind. */
1959
+ declaredBy?: string;
1960
+ /**
1961
+ * Gets or sets when a service last declared the kind.
1962
+ * @format date-time
1963
+ */
1964
+ lastDeclaredAt?: string;
1965
+ }
1783
1966
  /**
1784
1967
  * MultiLineString geometry object definition.
1785
1968
  */
@@ -1788,19 +1971,6 @@ export type LineStringDc = GeometryDc & {
1788
1971
  /** Poly coordinates. */
1789
1972
  coordinates: PositionDc[];
1790
1973
  };
1791
- /**
1792
- * Linear service configuration Dc.
1793
- */
1794
- export type LinearServiceConfigurationDc = ServiceConfigurationBaseDc & {
1795
- /** Specifies the available types of layer services that can be used within the application. */
1796
- layerType?: LayerServiceType;
1797
- /** Configuration of the attribute set in a feature layer. */
1798
- attributesConfiguration: AttributesConfigurationDc;
1799
- /** Condition to filter returned features. */
1800
- condition?: string | null;
1801
- /** Client style data storage. Storage isn't used by server. */
1802
- clientStyle?: any;
1803
- };
1804
1974
  /**
1805
1975
  * Batch request for retrieving configurations of multiple resources.
1806
1976
  */
@@ -1924,6 +2094,14 @@ export type MaterializedViewConfigurationDc = TableConfigurationBaseDc & {
1924
2094
  /** Remote data provider name. */
1925
2095
  dataProvider?: string | null;
1926
2096
  };
2097
+ /**
2098
+ * What the cap of a kind is compared against.
2099
+ */
2100
+ export declare enum MeasurementDc {
2101
+ Stock = "Stock",
2102
+ PerInvocation = "PerInvocation",
2103
+ Rate = "Rate"
2104
+ }
1927
2105
  /**
1928
2106
  * MosRu data source.
1929
2107
  */
@@ -2089,7 +2267,7 @@ export interface PagedListDataSourceInfoDc {
2089
2267
  offset?: number;
2090
2268
  /** @format int32 */
2091
2269
  limit?: number;
2092
- items?: (ArcGisDataSourceInfoDc | MosRuDataSourceInfoDc | PostgresDataSourceInfoDc | S3DataSourceInfoDc | SparkDataSourceInfoDc)[];
2270
+ items?: (ArcGisDataSourceInfoDc | MosRuDataSourceInfoDc | PostgresDataSourceInfoDc | S3DataSourceInfoDc | SparkDataSourceInfoDc | WmsDataSourceInfoDc)[];
2093
2271
  }
2094
2272
  export interface PagedListExtendedUserInfoDc {
2095
2273
  /** @format int64 */
@@ -2145,6 +2323,15 @@ export interface PagedListRoleInfoDc {
2145
2323
  limit?: number;
2146
2324
  items?: RoleInfoDc[];
2147
2325
  }
2326
+ export interface PagedListRuleChangeDc {
2327
+ /** @format int64 */
2328
+ totalCount?: number;
2329
+ /** @format int32 */
2330
+ offset?: number;
2331
+ /** @format int32 */
2332
+ limit?: number;
2333
+ items?: RuleChangeDc[];
2334
+ }
2148
2335
  export interface PagedListString {
2149
2336
  /** @format int64 */
2150
2337
  totalCount?: number;
@@ -2231,8 +2418,7 @@ export declare enum PbfSchema {
2231
2418
  * Configuration for the mapbox PBF/MVT service.
2232
2419
  */
2233
2420
  export type PbfServiceConfigurationDc = ProxyServiceConfigurationDc & {
2234
- /** Specifies the available types of layer services that can be used within the application. */
2235
- layerType?: LayerServiceType;
2421
+ sourceType?: string | null;
2236
2422
  schema?: PbfSchema;
2237
2423
  };
2238
2424
  /**
@@ -2250,6 +2436,18 @@ export declare enum Permissions {
2250
2436
  ReadWrite = "read,write",
2251
2437
  All = "read,write,configure"
2252
2438
  }
2439
+ /**
2440
+ * What a rule grants.
2441
+ */
2442
+ export interface PlanDc {
2443
+ /**
2444
+ * Gets or sets the cap; `null` for unlimited.
2445
+ * @format int64
2446
+ */
2447
+ cap?: number;
2448
+ /** Gets or sets the window: required for rate kinds, absent for the others. */
2449
+ window?: CalendarWindowDc | LifetimeWindowDc | RollingWindowDc;
2450
+ }
2253
2451
  /**
2254
2452
  * Spatial point geometry object representation.
2255
2453
  */
@@ -2342,8 +2540,6 @@ export type PostgresTileCatalogServiceConfigurationDc = ServiceConfigurationBase
2342
2540
  layerType?: LayerServiceType;
2343
2541
  /** Configuration of the attribute set in a feature layer. */
2344
2542
  attributesConfiguration: AttributesConfigurationDc;
2345
- /** Client style data storage. Storage isn't used by server. */
2346
- clientStyle?: any;
2347
2543
  /** Condition to filter returned features. */
2348
2544
  condition?: string | null;
2349
2545
  /**
@@ -2448,19 +2644,68 @@ export interface ProxyLayerLegendItemDc {
2448
2644
  /**
2449
2645
  * Configuration for the proxy service.
2450
2646
  */
2451
- export type ProxyServiceConfigurationDc = ServiceConfigurationBaseDc & {
2647
+ export interface ProxyServiceConfigurationDc {
2648
+ /** Source system type, e.g. "ArcGIS". */
2649
+ sourceType?: string;
2452
2650
  /** Specifies the available types of layer services that can be used within the application. */
2453
2651
  layerType?: LayerServiceType;
2454
- /** Resource id. */
2455
- resourceId?: string | null;
2456
2652
  geometryType?: OgcGeometryType;
2457
- /** Source system type, e.g. "ArcGIS". */
2458
- sourceType?: string | null;
2459
2653
  /** Source url path. Like http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/SuperTuesdaySample/MapServer. */
2460
- sourceUrl?: string | null;
2654
+ sourceUrl?: string;
2461
2655
  /** Names of layers to include in proxy layer (can be numbers). */
2462
- layers?: string[] | null;
2463
- };
2656
+ layers?: string[];
2657
+ /** Additional query headers. */
2658
+ additionalHeaders?: Record<string, string | null>;
2659
+ /** Additional query parameters. */
2660
+ additionalQueryParams?: Record<string, string | null>;
2661
+ /**
2662
+ * Name of the service.
2663
+ * @minLength 1
2664
+ */
2665
+ name: string;
2666
+ /**
2667
+ * The human-friendly name of the service, or the service SPCore.Connectors.Connectors.Base.Models.ServiceManager.Configurations.ServiceConfigurationBaseDc.Name if not set.
2668
+ * This value is used as a segment of the catalog resource path.
2669
+ */
2670
+ alias?: string;
2671
+ /** Description of the service. */
2672
+ description?: string;
2673
+ /**
2674
+ * Base64 encoded image - icon of the resource.
2675
+ * @minLength 0
2676
+ * @maxLength 102400
2677
+ */
2678
+ icon?: string;
2679
+ /**
2680
+ * If the owner user is set, a configuration will be created for that user.
2681
+ * Administrator permissions are required to perform this operation.
2682
+ */
2683
+ owner?: string;
2684
+ /** Copyright text. */
2685
+ copyrightText?: string;
2686
+ /** A set of layer tags. */
2687
+ tags?: string[];
2688
+ /** Client data storage. Storage isn't used by server. */
2689
+ clientData?: any;
2690
+ /** Client style data storage. Storage isn't used by server. */
2691
+ clientStyle?: any;
2692
+ /** Card configuration. Storage isn't used by server. */
2693
+ cardConfiguration?: any;
2694
+ /** Edit configuration. Storage isn't used by server. */
2695
+ editConfiguration?: any;
2696
+ /** The id of the parent resource, or a human-readable path to it, or null for a root resource. */
2697
+ parentId?: string;
2698
+ /**
2699
+ * When the resource expires at and is automatically deleted, or null.
2700
+ * @format date-time
2701
+ */
2702
+ expiresAt?: string;
2703
+ /**
2704
+ * When the resource was soft-deleted, or null if still active.
2705
+ * @format date-time
2706
+ */
2707
+ deletedAt?: string;
2708
+ }
2464
2709
  /**
2465
2710
  * Service info for a Proxy service.
2466
2711
  */
@@ -2488,7 +2733,7 @@ export interface PublishLayerInfoDc {
2488
2733
  /** Access control list for a security object. */
2489
2734
  acl?: AccessControlListDc;
2490
2735
  /** Configuration of the service. */
2491
- configuration: LinearServiceConfigurationDc | PbfServiceConfigurationDc | PostgresTileCatalogServiceConfigurationDc | ProxyServiceConfigurationDc | PythonServiceConfigurationDc | QueryLayerServiceConfigurationDc | RemoteTileServiceConfigurationDc | RouteServiceConfigurationDc;
2736
+ configuration: ArcGisFeatureServerConfigurationDc | ArcGisImageServerConfigurationDc | ArcGisMapServerConfigurationDc | PbfServiceConfigurationDc | PostgresTileCatalogServiceConfigurationDc | PythonServiceConfigurationDc | QueryLayerServiceConfigurationDc | RemoteTileServiceConfigurationDc | WmsServiceConfigurationDc;
2492
2737
  }
2493
2738
  export interface PullResponse {
2494
2739
  commitSha?: string;
@@ -2520,8 +2765,7 @@ export interface PushResponse {
2520
2765
  * Configuration for the python service.
2521
2766
  */
2522
2767
  export type PythonServiceConfigurationDc = ProxyServiceConfigurationDc & {
2523
- /** Specifies the available types of layer services that can be used within the application. */
2524
- layerType?: LayerServiceType;
2768
+ sourceType?: string | null;
2525
2769
  /** PythonResourceId. */
2526
2770
  pythonResourceId?: string | null;
2527
2771
  /** Description python script method. */
@@ -2635,8 +2879,6 @@ export type QueryLayerServiceConfigurationDc = ServiceConfigurationBaseDc & {
2635
2879
  geometryType?: OgcGeometryType;
2636
2880
  /** Configuration of the attribute set in a feature layer. */
2637
2881
  attributesConfiguration?: AttributesConfigurationDc;
2638
- /** Client style data storage. Storage isn't used by server. */
2639
- clientStyle?: any;
2640
2882
  /** Condition to filter returned features. */
2641
2883
  condition?: string | null;
2642
2884
  /** Simplify configuration information. */
@@ -3048,25 +3290,61 @@ export interface RollbackResponse {
3048
3290
  rolledBackAt?: string;
3049
3291
  }
3050
3292
  /**
3051
- * Route service configuration Dc.
3293
+ * The last stretch of time: what left it no longer counts.
3052
3294
  */
3053
- export type RouteServiceConfigurationDc = ServiceConfigurationBaseDc & {
3054
- /** Specifies the available types of layer services that can be used within the application. */
3055
- layerType?: LayerServiceType;
3056
- /** Configuration of the attribute set in a feature layer. */
3057
- attributesConfiguration: AttributesConfigurationDc;
3058
- /** Client style data storage. Storage isn't used by server. */
3059
- clientStyle?: any;
3060
- /** Condition to filter returned features. */
3061
- condition?: string | null;
3295
+ export type RollingWindowDc = WindowDc & {
3296
+ /** How a rate is counted. */
3297
+ type?: WindowTypeDc;
3298
+ /**
3299
+ * Gets or sets the length of the stretch; positive.
3300
+ * @format date-span
3301
+ */
3302
+ length: string;
3062
3303
  };
3063
3304
  /**
3064
- * RouteTableConfigurationDc.
3305
+ * One change of a rule.
3306
+ */
3307
+ export interface RuleChangeDc {
3308
+ /** Gets or sets the kind. */
3309
+ limitKindCode?: string;
3310
+ /** Whom a rule is for. */
3311
+ subject?: SubjectDc;
3312
+ /** Gets or sets the qualifier. */
3313
+ qualifier?: string;
3314
+ /** What a rule grants. */
3315
+ before?: PlanDc;
3316
+ /** What a rule grants. */
3317
+ after?: PlanDc;
3318
+ /**
3319
+ * Gets or sets when.
3320
+ * @format date-time
3321
+ */
3322
+ at?: string;
3323
+ /** Gets or sets who: a user, or the service that seeded a declared default. */
3324
+ by?: string;
3325
+ /** Gets or sets why. */
3326
+ reason?: string;
3327
+ }
3328
+ /**
3329
+ * The plan of a kind for a subject.
3065
3330
  */
3066
- export type RouteTableConfigurationDc = TableConfigurationBaseDc & {
3067
- /** Specifies the available types of table configurations that can be used within the application. */
3068
- type?: TableConfigurationType;
3069
- };
3331
+ export interface RuleDc {
3332
+ /** Gets or sets the kind. */
3333
+ limitKindCode?: string;
3334
+ /** Whom a rule is for. */
3335
+ subject?: SubjectDc;
3336
+ /** Gets or sets the qualifier; empty for all cases. */
3337
+ qualifier?: string;
3338
+ /** What a rule grants. */
3339
+ plan?: PlanDc;
3340
+ /**
3341
+ * Gets or sets when it last changed.
3342
+ * @format date-time
3343
+ */
3344
+ updatedAt?: string;
3345
+ /** Gets or sets who changed it last. */
3346
+ updatedBy?: string;
3347
+ }
3070
3348
  /**
3071
3349
  * S3 data source settings.
3072
3350
  */
@@ -3169,6 +3447,8 @@ export interface ServiceConfigurationBaseDc {
3169
3447
  tags?: string[];
3170
3448
  /** Client data storage. Storage isn't used by server. */
3171
3449
  clientData?: any;
3450
+ /** Client style data storage. Storage isn't used by server. */
3451
+ clientStyle?: any;
3172
3452
  /** Card configuration. Storage isn't used by server. */
3173
3453
  cardConfiguration?: any;
3174
3454
  /** Edit configuration. Storage isn't used by server. */
@@ -3206,7 +3486,7 @@ export type ServiceInfoDc = BaseResourceInfoDc & {
3206
3486
  /** Resource id in resources catalog. */
3207
3487
  resourceId?: string | null;
3208
3488
  /** Configuration of the service. */
3209
- configuration?: LinearServiceConfigurationDc | PbfServiceConfigurationDc | PostgresTileCatalogServiceConfigurationDc | ProxyServiceConfigurationDc | PythonServiceConfigurationDc | QueryLayerServiceConfigurationDc | RemoteTileServiceConfigurationDc | RouteServiceConfigurationDc | null;
3489
+ configuration?: ArcGisFeatureServerConfigurationDc | ArcGisImageServerConfigurationDc | ArcGisMapServerConfigurationDc | PbfServiceConfigurationDc | PostgresTileCatalogServiceConfigurationDc | PythonServiceConfigurationDc | QueryLayerServiceConfigurationDc | RemoteTileServiceConfigurationDc | WmsServiceConfigurationDc | null;
3210
3490
  /** Access control list for a security object. */
3211
3491
  acl?: AccessControlListDc;
3212
3492
  };
@@ -3279,20 +3559,6 @@ export type SparkDataSourceInfoDc = DataSourceInfoDc & {
3279
3559
  /** Bearer token. */
3280
3560
  token?: string | null;
3281
3561
  };
3282
- /**
3283
- * Spatial reference information data contract.
3284
- */
3285
- export interface SrInfo {
3286
- /** Auth name. */
3287
- authName?: string;
3288
- /**
3289
- * Code.
3290
- * @format int32
3291
- */
3292
- code?: number;
3293
- /** Name. */
3294
- name?: string;
3295
- }
3296
3562
  /**
3297
3563
  * Statistics result.
3298
3564
  */
@@ -3412,6 +3678,23 @@ export interface SubTasksDto {
3412
3678
  /** Results. */
3413
3679
  results?: Record<string, any>;
3414
3680
  }
3681
+ /**
3682
+ * Whom a rule is for.
3683
+ */
3684
+ export interface SubjectDc {
3685
+ /** Whom a rule is for. */
3686
+ kind?: SubjectKindDc;
3687
+ /** Gets or sets the role or user name; empty for the deployment. */
3688
+ id?: string;
3689
+ }
3690
+ /**
3691
+ * Whom a rule is for.
3692
+ */
3693
+ export declare enum SubjectKindDc {
3694
+ Deployment = "Deployment",
3695
+ Role = "Role",
3696
+ User = "User"
3697
+ }
3415
3698
  /**
3416
3699
  * Successful catalog configuration response containing the requested configuration data.
3417
3700
  */
@@ -3481,8 +3764,7 @@ export declare enum TableConfigurationType {
3481
3764
  DefaultTableConfiguration = "DefaultTableConfiguration",
3482
3765
  TileCatalogTableConfiguration = "TileCatalogTableConfiguration",
3483
3766
  ViewConfiguration = "ViewConfiguration",
3484
- MaterializedViewConfiguration = "MaterializedViewConfiguration",
3485
- RouteTableConfiguration = "RouteTableConfiguration"
3767
+ MaterializedViewConfiguration = "MaterializedViewConfiguration"
3486
3768
  }
3487
3769
  /**
3488
3770
  * Represents a request for table history.
@@ -3524,7 +3806,7 @@ export interface TableInfoDc {
3524
3806
  /** The type of the table. */
3525
3807
  type?: string;
3526
3808
  /** Configuration of the table. */
3527
- configuration?: DefaultTableConfigurationDc | MaterializedViewConfigurationDc | RouteTableConfigurationDc | TileCatalogTableConfigurationDc | ViewConfigurationDc;
3809
+ configuration?: DefaultTableConfigurationDc | MaterializedViewConfigurationDc | TileCatalogTableConfigurationDc | ViewConfigurationDc;
3528
3810
  /** Resource alias. */
3529
3811
  alias?: string;
3530
3812
  /** Resource owner. */
@@ -3945,6 +4227,57 @@ export interface UpdateUserDc {
3945
4227
  /** Additional information or goals. */
3946
4228
  goals?: string;
3947
4229
  }
4230
+ /**
4231
+ * A rule to write, replacing whatever stands at the same kind, subject and qualifier. Writing the plan that
4232
+ already stands changes nothing, so the call may be repeated.
4233
+ */
4234
+ export interface UpsertRuleDc {
4235
+ /**
4236
+ * Gets or sets the kind.
4237
+ * @minLength 1
4238
+ */
4239
+ limitKindCode: string;
4240
+ /** Whom a rule is for. */
4241
+ subject: SubjectDc;
4242
+ /** Gets or sets the qualifier; empty for all cases. */
4243
+ qualifier?: string;
4244
+ /** What a rule grants. */
4245
+ plan: PlanDc;
4246
+ /** Gets or sets why, for the history: a ticket, an invoice. */
4247
+ reason?: string;
4248
+ }
4249
+ /**
4250
+ * A user's standing against one plan: the rule in force, what is spent in the current window and the grants of
4251
+ credit on top of it.
4252
+ */
4253
+ export interface UsageDc {
4254
+ /** Gets or sets the kind. */
4255
+ limitKindCode?: string;
4256
+ /** Gets or sets the qualifier of the winning rule; `null` when the shared budget applies. */
4257
+ qualifier?: string;
4258
+ /** What a rule grants. */
4259
+ plan?: PlanDc;
4260
+ /** Whom a rule is for. */
4261
+ grantedBy?: SubjectDc;
4262
+ /**
4263
+ * Gets or sets what is spent from the plan in the current window; grants are spent apart.
4264
+ * @format int64
4265
+ */
4266
+ used?: number;
4267
+ /**
4268
+ * Gets or sets when some of it frees up: the end of the calendar period, or when the oldest entry leaves a
4269
+ * rolling window; `null` for a lifetime window or when nothing is used.
4270
+ * @format date-time
4271
+ */
4272
+ nextReleaseAt?: string;
4273
+ /**
4274
+ * Gets or sets a value indicating whether the limit is enforced; `false` when the kind is switched off,
4275
+ * and then nothing is refused though consumption is still journalled.
4276
+ */
4277
+ isEnforced?: boolean;
4278
+ /** Gets or sets the active grants on top of a capped plan, the soonest to burn first. */
4279
+ grants?: GrantBalanceDc[];
4280
+ }
3948
4281
  /**
3949
4282
  * Set used project.
3950
4283
  */
@@ -4037,6 +4370,51 @@ export type ViewConfigurationDc = TableConfigurationBaseDc & {
4037
4370
  /** Remote data provider name. */
4038
4371
  dataProvider?: string | null;
4039
4372
  };
4373
+ /**
4374
+ * The window of a rate plan. The type decides which window it is: SPCore.Connectors.Connectors.Base.Models.Quotas.CalendarWindowDc,
4375
+ SPCore.Connectors.Connectors.Base.Models.Quotas.RollingWindowDc or SPCore.Connectors.Connectors.Base.Models.Quotas.LifetimeWindowDc.
4376
+ */
4377
+ export interface WindowDc {
4378
+ /** How a rate is counted. */
4379
+ type: WindowTypeDc;
4380
+ }
4381
+ /**
4382
+ * How a rate is counted.
4383
+ */
4384
+ export declare enum WindowTypeDc {
4385
+ Calendar = "Calendar",
4386
+ Rolling = "Rolling",
4387
+ Lifetime = "Lifetime"
4388
+ }
4389
+ /**
4390
+ * WMS data source.
4391
+ */
4392
+ export type WmsDataSourceDc = DataSourceDc & {
4393
+ type?: DataSourceType;
4394
+ /** Endpoint. */
4395
+ serviceUrl?: string | null;
4396
+ };
4397
+ /**
4398
+ * S3 data source info.
4399
+ */
4400
+ export type WmsDataSourceInfoDc = DataSourceInfoDc & {
4401
+ /** Service url. */
4402
+ serviceUrl?: string | null;
4403
+ };
4404
+ /**
4405
+ * Configuration of a WMS.
4406
+ */
4407
+ export type WmsServiceConfigurationDc = ProxyServiceConfigurationDc & {
4408
+ sourceType?: string | null;
4409
+ /** WMS version. */
4410
+ version?: string | null;
4411
+ /** WMS url. */
4412
+ sr?: string | null;
4413
+ /** Id attribute name. */
4414
+ idAttribute?: string | null;
4415
+ /** Geometry attribute name. */
4416
+ geometryAttribute?: string | null;
4417
+ };
4040
4418
  export declare enum WorkerMethodType {
4041
4419
  Task = "Task",
4042
4420
  Rest = "Rest",
@@ -4073,7 +4451,7 @@ export declare enum WorkerSettingsFieldType {
4073
4451
  MultiPolygon = "MultiPolygon",
4074
4452
  Polygon = "Polygon",
4075
4453
  Multipoint = "Multipoint",
4076
- IntergerArray = "IntergerArray",
4454
+ IntegerArray = "IntegerArray",
4077
4455
  DoubleArray = "DoubleArray",
4078
4456
  StringArray = "StringArray",
4079
4457
  SourceEql = "SourceEql",
@@ -4729,14 +5107,14 @@ export type GetFilteredFeaturesCountPayload = GetBulkFilteredFeaturesCountDc[];
4729
5107
  /**
4730
5108
  * Common fields for service configurations.
4731
5109
  */
4732
- export type PatchQueryLayerServicePayload = LinearServiceConfigurationDc | PbfServiceConfigurationDc | PostgresTileCatalogServiceConfigurationDc | ProxyServiceConfigurationDc | PythonServiceConfigurationDc | QueryLayerServiceConfigurationDc | RemoteTileServiceConfigurationDc | RouteServiceConfigurationDc;
5110
+ export type UpdateServicePayload = ArcGisFeatureServerConfigurationDc | ArcGisImageServerConfigurationDc | ArcGisMapServerConfigurationDc | PbfServiceConfigurationDc | PostgresTileCatalogServiceConfigurationDc | PythonServiceConfigurationDc | QueryLayerServiceConfigurationDc | RemoteTileServiceConfigurationDc | WmsServiceConfigurationDc;
4733
5111
  export interface GetLayersInfoParams {
4734
5112
  /** Name array of the layers. */
4735
5113
  layerNames?: string[];
4736
5114
  /** ProjectName array with layers. */
4737
5115
  projectNames?: string[];
4738
5116
  }
4739
- export type PatchQueryLayerService1Payload = Operation[];
5117
+ export type UpdateService1Payload = Operation[];
4740
5118
  export interface GetFeatures1Params {
4741
5119
  /** Click geometry. */
4742
5120
  ewktGeometry?: string;
@@ -4794,17 +5172,6 @@ export interface CreateFeaturesParams {
4794
5172
  name: string;
4795
5173
  }
4796
5174
  export type UpdateFeaturePayload = UpdateFeatureDc[];
4797
- export interface GetByIdParams {
4798
- /**
4799
- * Spatial reference of returned features.
4800
- * @format int32
4801
- */
4802
- srId?: number;
4803
- /** Full name of the layer. */
4804
- name: string;
4805
- /** Feature id. */
4806
- id: string;
4807
- }
4808
5175
  export interface GetTilesLayerImageParams {
4809
5176
  /** Tile sets to render. */
4810
5177
  ids?: number[];
@@ -5014,6 +5381,78 @@ export interface CreateTokenParams {
5014
5381
  /** @default "" */
5015
5382
  username: string;
5016
5383
  }
5384
+ export interface SetKindActiveParams {
5385
+ /** Whether to enforce. */
5386
+ isActive: boolean;
5387
+ /** The code. */
5388
+ code: string;
5389
+ }
5390
+ export interface GetRulesParams {
5391
+ /** Gets or sets the kind. */
5392
+ LimitKindCode?: string;
5393
+ /** Gets or sets the subject level; with SPCore.Connectors.Connectors.Base.Models.Quotas.RuleFilterDc.SubjectId, only this subject. */
5394
+ SubjectKind?: SubjectKindDc;
5395
+ /** Gets or sets the role or user name. */
5396
+ SubjectId?: string;
5397
+ }
5398
+ export interface DeleteRuleParams {
5399
+ /** Gets or sets the kind. */
5400
+ LimitKindCode: string;
5401
+ /** Gets or sets the subject level. */
5402
+ SubjectKind: SubjectKindDc;
5403
+ /** Gets or sets the role or user name; empty for the deployment. */
5404
+ SubjectId?: string;
5405
+ /** Gets or sets the qualifier; empty for all cases. */
5406
+ Qualifier?: string;
5407
+ /** Gets or sets why, for the history. */
5408
+ Reason?: string;
5409
+ }
5410
+ export interface GetRuleHistoryParams {
5411
+ /** Gets or sets the kind. */
5412
+ LimitKindCode?: string;
5413
+ /** Gets or sets the subject level; with SPCore.Connectors.Connectors.Base.Models.Quotas.RuleFilterDc.SubjectId, only this subject. */
5414
+ SubjectKind?: SubjectKindDc;
5415
+ /** Gets or sets the role or user name. */
5416
+ SubjectId?: string;
5417
+ /**
5418
+ * Limit response page; at most 500.
5419
+ * @format int32
5420
+ * @default 20
5421
+ */
5422
+ limit?: number;
5423
+ /**
5424
+ * Offset objects from start.
5425
+ * @format int32
5426
+ * @default 0
5427
+ */
5428
+ offset?: number;
5429
+ }
5430
+ export interface GetGrantsParams {
5431
+ /** Gets or sets the kind. */
5432
+ LimitKindCode?: string;
5433
+ /** Gets or sets the user. */
5434
+ UserName?: string;
5435
+ }
5436
+ export interface RevokeGrantParams {
5437
+ /** Why. */
5438
+ reason?: string;
5439
+ /**
5440
+ * Id of the grant.
5441
+ * @format int64
5442
+ */
5443
+ id: number;
5444
+ }
5445
+ export interface GetUsageParams {
5446
+ /** Gets or sets the user. */
5447
+ UserName: string;
5448
+ /**
5449
+ * Gets or sets the kinds to report on; reported in this order.
5450
+ * @minItems 1
5451
+ */
5452
+ LimitKindCodes: string[];
5453
+ /** Gets or sets the qualifier the kinds are asked about; empty for the shared budget. */
5454
+ Qualifier?: string;
5455
+ }
5017
5456
  export interface GetTaskPrototypesParams {
5018
5457
  /** Username. */
5019
5458
  Username?: string;
@@ -5093,12 +5532,6 @@ export interface RemovePolicyParams {
5093
5532
  /** Use role the policy is applied to. */
5094
5533
  role?: string;
5095
5534
  }
5096
- export interface GetWktRepresentationParams {
5097
- /** Pretty print WKT. */
5098
- prettyPrint?: boolean;
5099
- /** Spatial reference name. */
5100
- name: string;
5101
- }
5102
5535
  export interface RemoveSymbolCategoryParams {
5103
5536
  /**
5104
5537
  * Remove symbols in category.