@opusdns/api 0.167.0 → 0.169.0

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.
@@ -34,7 +34,7 @@
34
34
 
35
35
  import { DomainDnssecDataArray, OrganizationAttribute2Array, IpRestrictionArray, TldResponseShortArray } from './schemas-arrays.d';
36
36
 
37
- import { Pagination_EmailForwardLog, HTTPValidationError, Pagination_ObjectLog, Pagination_RequestHistory, Problem, DomainAvailabilityList, Pagination_ContactSchema, ContactSchema, ContactVerification, Contact, Pagination_DnsZone, DnsZone, DnsChanges, DomainForwardZone, EmailForwardZone, Pagination_DomainForwardZone, Pagination_EmailForwardZone, DnsZoneSummary, Pagination_DomainForward, DomainForward, DomainForwardSet, DomainForwardMetrics, DomainForwardBrowserStats, DomainForwardGeoStats, DomainForwardPlatformStats, DomainForwardReferrerStats, DomainForwardStatusCodeStats, DomainForwardMetricsTimeSeries, DomainForwardUserAgentStats, DomainForwardVisitsByKey, DomainSearch, Pagination_Domain, Domain, DomainRenew, DomainRestore, DomainCheck, DomainSummary, DomainWithdraw, RequestAuthcode, DomainTransit, RequestAuthcode2, Pagination_EmailForward, EmailForward, EmailForwardAlias, EmailForwardMetrics, Pagination_Event, EventSchema, Pagination_Organization, Organization, OrganizationWithBillingData, Pagination_Invoice, GetPrices, Pagination_BillingTransaction, BillingTransaction, IpRestriction, Pagination_UserPublic, Pagination_Parking, ParkingMetrics, TldSpecification, UserPublic, UserPublicWithAttributes, PermissionSet, RelationSet, UserWithRelationPermissions } from './schemas.d';
37
+ import { Pagination_EmailForwardLog, HTTPValidationError, Pagination_ObjectLog, Pagination_RequestHistory, Problem, DomainAvailabilityList, Pagination_ContactSchema, ContactSchema, ContactVerification, Contact, Pagination_DnsZone, DnsZone, DnsChanges, DomainForwardZone, EmailForwardZone, Pagination_DomainForwardZone, Pagination_EmailForwardZone, DnsZoneSummary, Pagination_DomainForward, DomainForward, DomainForwardSet, DomainForwardMetrics, DomainForwardBrowserStats, DomainForwardGeoStats, DomainForwardPlatformStats, DomainForwardReferrerStats, DomainForwardStatusCodeStats, DomainForwardMetricsTimeSeries, DomainForwardUserAgentStats, DomainForwardVisitsByKey, DomainSearch, Pagination_Domain, Domain, DomainRenew, DomainRestore, DomainCheck, DomainSummary, DomainWithdraw, RequestAuthcode, DomainTransit, RequestAuthcode2, Pagination_EmailForward, EmailForward, EmailForwardAlias, EmailForwardMetrics, Pagination_Event, EventSchema, Pagination_Organization, Organization, OrganizationWithBillingData, Pagination_Invoice, GetPrices, Pagination_BillingTransaction, BillingTransaction, IpRestriction, Pagination_UserPublic, ParkingMetrics, ParkingTotalMetrics, TldSpecification, UserPublic, UserPublicWithAttributes, PermissionSet, RelationSet, UserWithRelationPermissions } from './schemas.d';
38
38
 
39
39
  /**
40
40
  * Response types for GET ArchiveEmailForwardLogsAliasesByEmailForwardAliasId endpoint
@@ -8866,32 +8866,16 @@ export type GET_OrganizationsUsers_Response_422 = HTTPValidationError
8866
8866
 
8867
8867
  *
8868
8868
  * @path /v1/parking
8869
+ * @param page (query) - Page number
8870
+ * @param page_size (query) - Page size
8869
8871
  *
8870
- * @see {@link GET_Parking_Response_200} - 200 response type
8871
8872
  * @see {@link GET_Parking_Response_401} - 401 response type
8872
8873
  * @see {@link GET_Parking_Response_403} - 403 response type
8873
8874
  * @see {@link GET_Parking_Response_422} - 422 response type
8874
8875
  *
8875
8876
 
8876
8877
  */
8877
- export type GET_Parking_Response = GET_Parking_Response_200 | GET_Parking_Response_401 | GET_Parking_Response_403 | GET_Parking_Response_422;
8878
-
8879
- /**
8880
- * 200 response for GET Parking endpoint
8881
- *
8882
- * @remarks
8883
- * This type defines the response structure for the 200 status code
8884
- * of the GET Parking endpoint.
8885
- * It provides type safety for handling this specific response as defined in the OpenAPI specification.
8886
- *
8887
-
8888
- *
8889
- * @path /v1/parking
8890
- *
8891
- * @see {@link GET_Parking_Response} - The main response type definition
8892
- * @see {@link Pagination_Parking} - The actual schema type definition
8893
- */
8894
- export type GET_Parking_Response_200 = Pagination_Parking
8878
+ export type GET_Parking_Response = GET_Parking_Response_401 | GET_Parking_Response_403 | GET_Parking_Response_422;
8895
8879
 
8896
8880
  /**
8897
8881
  * 401 response for GET Parking endpoint
@@ -8904,6 +8888,8 @@ export type GET_Parking_Response_200 = Pagination_Parking
8904
8888
 
8905
8889
  *
8906
8890
  * @path /v1/parking
8891
+ * @param page (query) - Page number
8892
+ * @param page_size (query) - Page size
8907
8893
  *
8908
8894
  * @see {@link GET_Parking_Response} - The main response type definition
8909
8895
  * @see {@link Problem} - The actual schema type definition
@@ -8921,6 +8907,8 @@ export type GET_Parking_Response_401 = Problem
8921
8907
 
8922
8908
  *
8923
8909
  * @path /v1/parking
8910
+ * @param page (query) - Page number
8911
+ * @param page_size (query) - Page size
8924
8912
  *
8925
8913
  * @see {@link GET_Parking_Response} - The main response type definition
8926
8914
  * @see {@link Problem} - The actual schema type definition
@@ -8938,6 +8926,8 @@ export type GET_Parking_Response_403 = Problem
8938
8926
 
8939
8927
  *
8940
8928
  * @path /v1/parking
8929
+ * @param page (query) - Page number
8930
+ * @param page_size (query) - Page size
8941
8931
  *
8942
8932
  * @see {@link GET_Parking_Response} - The main response type definition
8943
8933
  * @see {@link HTTPValidationError} - The actual schema type definition
@@ -8948,7 +8938,7 @@ export type GET_Parking_Response_422 = HTTPValidationError
8948
8938
  * Response types for GET ParkingByParkingIdMetrics endpoint
8949
8939
  *
8950
8940
  * Get metrics for a parking entry
8951
- * Retrieves metrics for a specific parking entry by ID
8941
+ * Retrieves metrics for a specific parking entry by ID.
8952
8942
  *
8953
8943
  * @remarks
8954
8944
  * This type defines all possible response structures for the GET ParkingByParkingIdMetrics endpoint.
@@ -9054,6 +9044,98 @@ export type GET_ParkingByParkingIdMetrics_Response_404 = Problem
9054
9044
  */
9055
9045
  export type GET_ParkingByParkingIdMetrics_Response_422 = HTTPValidationError
9056
9046
 
9047
+ /**
9048
+ * Response types for GET ParkingMetrics endpoint
9049
+ *
9050
+ * Get total metrics for all parking entries
9051
+ * Retrieves aggregated metrics for all parking entries of the organization.
9052
+ *
9053
+ * @remarks
9054
+ * This type defines all possible response structures for the GET ParkingMetrics endpoint.
9055
+ * Each response code maps to a specific response type as defined in the OpenAPI specification.
9056
+ * Use this type to ensure type safety when handling API responses from this endpoint.
9057
+ *
9058
+
9059
+ *
9060
+ * @path /v1/parking/metrics
9061
+ *
9062
+ * @see {@link GET_ParkingMetrics_Response_200} - 200 response type
9063
+ * @see {@link GET_ParkingMetrics_Response_401} - 401 response type
9064
+ * @see {@link GET_ParkingMetrics_Response_403} - 403 response type
9065
+ * @see {@link GET_ParkingMetrics_Response_422} - 422 response type
9066
+ *
9067
+
9068
+ */
9069
+ export type GET_ParkingMetrics_Response = GET_ParkingMetrics_Response_200 | GET_ParkingMetrics_Response_401 | GET_ParkingMetrics_Response_403 | GET_ParkingMetrics_Response_422;
9070
+
9071
+ /**
9072
+ * 200 response for GET ParkingMetrics endpoint
9073
+ *
9074
+ * @remarks
9075
+ * This type defines the response structure for the 200 status code
9076
+ * of the GET ParkingMetrics endpoint.
9077
+ * It provides type safety for handling this specific response as defined in the OpenAPI specification.
9078
+ *
9079
+
9080
+ *
9081
+ * @path /v1/parking/metrics
9082
+ *
9083
+ * @see {@link GET_ParkingMetrics_Response} - The main response type definition
9084
+ * @see {@link ParkingTotalMetrics} - The actual schema type definition
9085
+ */
9086
+ export type GET_ParkingMetrics_Response_200 = ParkingTotalMetrics
9087
+
9088
+ /**
9089
+ * 401 response for GET ParkingMetrics endpoint
9090
+ *
9091
+ * @remarks
9092
+ * This type defines the response structure for the 401 status code
9093
+ * of the GET ParkingMetrics endpoint.
9094
+ * It provides type safety for handling this specific response as defined in the OpenAPI specification.
9095
+ *
9096
+
9097
+ *
9098
+ * @path /v1/parking/metrics
9099
+ *
9100
+ * @see {@link GET_ParkingMetrics_Response} - The main response type definition
9101
+ * @see {@link Problem} - The actual schema type definition
9102
+ */
9103
+ export type GET_ParkingMetrics_Response_401 = Problem
9104
+
9105
+ /**
9106
+ * 403 response for GET ParkingMetrics endpoint
9107
+ *
9108
+ * @remarks
9109
+ * This type defines the response structure for the 403 status code
9110
+ * of the GET ParkingMetrics endpoint.
9111
+ * It provides type safety for handling this specific response as defined in the OpenAPI specification.
9112
+ *
9113
+
9114
+ *
9115
+ * @path /v1/parking/metrics
9116
+ *
9117
+ * @see {@link GET_ParkingMetrics_Response} - The main response type definition
9118
+ * @see {@link Problem} - The actual schema type definition
9119
+ */
9120
+ export type GET_ParkingMetrics_Response_403 = Problem
9121
+
9122
+ /**
9123
+ * 422 response for GET ParkingMetrics endpoint
9124
+ *
9125
+ * @remarks
9126
+ * This type defines the response structure for the 422 status code
9127
+ * of the GET ParkingMetrics endpoint.
9128
+ * It provides type safety for handling this specific response as defined in the OpenAPI specification.
9129
+ *
9130
+
9131
+ *
9132
+ * @path /v1/parking/metrics
9133
+ *
9134
+ * @see {@link GET_ParkingMetrics_Response} - The main response type definition
9135
+ * @see {@link HTTPValidationError} - The actual schema type definition
9136
+ */
9137
+ export type GET_ParkingMetrics_Response_422 = HTTPValidationError
9138
+
9057
9139
  /**
9058
9140
  * Response types for GET Tlds endpoint
9059
9141
  *
@@ -21,7 +21,7 @@
21
21
  * This file is auto-generated from the OpenAPI specification.
22
22
  * Do not edit manually.
23
23
  */
24
- import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, RegistryHandleAttributeType, ContactAttributeDefinition, ContactRoleAttributeRequirement, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, BrowserStatsBucket, GeoStatsBucket, TimeSeriesBucket, DomainForwardPatchOp, PlatformStatsBucket, HttpRedirectList, ReferrerStatsBucket, StatusCodeStatsBucket, UserAgentStatsBucket, VisitsByKeyBucket, DomainForward, DeletePolicyType, SyncOperationType, DomainContact, DomainHost, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, EmailForwardAliasCreate, EmailForwardLogEvent, EmailForwardAliasMetrics, EmailForwardAlias, EmailForward, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, DomainContactType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactSchema, DnsZone, DomainForwardZone, Domain, EmailForwardLog, EmailForwardZone, EventResponse, Invoice, ObjectLog, Organization, Parking, RequestHistory, UserPublic, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
24
+ import { DomainDnssecData, DomainDnssecDataCreate, OrganizationAttribute, OrganizationAttributeUpdate, IpRestriction, TldResponseShort, RegistryHandleAttributeType, ContactAttributeDefinition, ContactRoleAttributeRequirement, PostalAddressType, ContactConfigBase, DnsChange, DnsRecordCreate, DnsRecord, DnsRrsetCreate, DnsRecordPatchOp, DnsRrset, DnsRrsetPatchOp, DomainAvailabilityCheck, ContactHandle, Nameserver, BrowserStatsBucket, GeoStatsBucket, TimeSeriesBucket, DomainForwardPatchOp, PlatformStatsBucket, HttpRedirectList, ReferrerStatsBucket, StatusCodeStatsBucket, UserAgentStatsBucket, VisitsByKeyBucket, DomainForward, DeletePolicyType, SyncOperationType, DomainContact, DomainHost, DomainSearchSuggestionWithPrice, DomainStatus, DomainClientStatus, EmailForwardAliasCreate, EmailForwardLogEvent, EmailForwardAliasMetrics, EmailForwardAlias, EmailForward, PriceInfo, ValidationError, LaunchPhaseBase, LocalPresenceRequirementType, DomainContactType, OrganizationAttribute2, User, OrganizationAttributeCreate, UserCreate, BillingTransaction, ContactSchema, DnsZone, DomainForwardZone, Domain, EmailForwardLog, EmailForwardZone, EventResponse, Invoice, ObjectLog, Organization, RequestHistory, UserPublic, Period, Permission, PremiumAffectsType, Relation, TldBase, PostTransferRequirements, UserAttributeBase, DomainAvailability } from './schemas.d';
25
25
 
26
26
  /**
27
27
  * DomainDnssecDataResponse
@@ -919,20 +919,6 @@ export type ObjectLogArray = ObjectLog[];
919
919
  * @see {@link Organization} - The individual Organization type definition
920
920
  */
921
921
  export type OrganizationArray = Organization[];
922
- /**
923
- * ParkingResponse
924
- *
925
- * @remarks
926
- * Array type for ParkingResponse objects. Used when the API returns a collection of ParkingResponse instances.
927
- *
928
- * @example
929
- * ```typescript
930
- * const items: ParkingArray = await api.getParkings();
931
- * ```
932
- *
933
- * @see {@link Parking} - The individual ParkingResponse type definition
934
- */
935
- export type ParkingArray = Parking[];
936
922
  /**
937
923
  * RequestHistory
938
924
  *
@@ -3087,22 +3087,6 @@ export type Pagination_ObjectLog = components['schemas']['Pagination_ObjectLog_'
3087
3087
  * @see {@link components} - The OpenAPI components schema definition
3088
3088
  */
3089
3089
  export type Pagination_Organization = components['schemas']['Pagination_Organization_'];
3090
- /**
3091
- * Pagination[ParkingResponse]
3092
- *
3093
- * @remarks
3094
- * Type alias for the `Pagination_ParkingResponse_` OpenAPI schema.
3095
- * This type represents pagination[parkingresponse] data structures used in API requests and responses.
3096
- *
3097
- * @example
3098
- * ```typescript
3099
- * const response = await api.getPagination_Parking();
3100
- * const item: Pagination_Parking = response.results;
3101
- * ```
3102
- *
3103
- * @see {@link components} - The OpenAPI components schema definition
3104
- */
3105
- export type Pagination_Parking = components['schemas']['Pagination_ParkingResponse_'];
3106
3090
  /**
3107
3091
  * Pagination[RequestHistory]
3108
3092
  *
@@ -3151,22 +3135,6 @@ export type Pagination_UserPublic = components['schemas']['Pagination_UserPublic
3151
3135
  * @see {@link components} - The OpenAPI components schema definition
3152
3136
  */
3153
3137
  export type ParkingMetrics = components['schemas']['ParkingMetricsResponse'];
3154
- /**
3155
- * ParkingResponse
3156
- *
3157
- * @remarks
3158
- * Type alias for the `ParkingResponse` OpenAPI schema.
3159
- * This type represents parkingresponse data structures used in API requests and responses.
3160
- *
3161
- * @example
3162
- * ```typescript
3163
- * const response = await api.getParking();
3164
- * const item: Parking = response.results;
3165
- * ```
3166
- *
3167
- * @see {@link components} - The OpenAPI components schema definition
3168
- */
3169
- export type Parking = components['schemas']['ParkingResponse'];
3170
3138
  /**
3171
3139
  * ParkingSortField
3172
3140
  *
@@ -3199,6 +3167,22 @@ export type ParkingSortField = components['schemas']['ParkingSortField'];
3199
3167
  * @see {@link components} - The OpenAPI components schema definition
3200
3168
  */
3201
3169
  export type ParkingStatistics = components['schemas']['ParkingStatistics'];
3170
+ /**
3171
+ * ParkingTotalMetricsResponse
3172
+ *
3173
+ * @remarks
3174
+ * Type alias for the `ParkingTotalMetricsResponse` OpenAPI schema.
3175
+ * This type represents parkingtotalmetricsresponse data structures used in API requests and responses.
3176
+ *
3177
+ * @example
3178
+ * ```typescript
3179
+ * const response = await api.getParkingTotalMetrics();
3180
+ * const item: ParkingTotalMetrics = response.results;
3181
+ * ```
3182
+ *
3183
+ * @see {@link components} - The OpenAPI components schema definition
3184
+ */
3185
+ export type ParkingTotalMetrics = components['schemas']['ParkingTotalMetricsResponse'];
3202
3186
  /**
3203
3187
  * PasswordUpdate
3204
3188
  *
package/src/openapi.yaml CHANGED
@@ -4869,20 +4869,6 @@ components:
4869
4869
  - pagination
4870
4870
  title: Pagination[Organization]
4871
4871
  type: object
4872
- Pagination_ParkingResponse_:
4873
- properties:
4874
- pagination:
4875
- $ref: '#/components/schemas/PaginationMetadata'
4876
- results:
4877
- items:
4878
- $ref: '#/components/schemas/ParkingResponse'
4879
- title: Results
4880
- type: array
4881
- required:
4882
- - results
4883
- - pagination
4884
- title: Pagination[ParkingResponse]
4885
- type: object
4886
4872
  Pagination_RequestHistory_:
4887
4873
  properties:
4888
4874
  pagination:
@@ -4913,82 +4899,24 @@ components:
4913
4899
  type: object
4914
4900
  ParkingMetricsResponse:
4915
4901
  properties:
4916
- parking_id:
4917
- description: Unique identifier for the parking entry
4918
- examples:
4919
- - parking_01h45ytscbebyvny4gc8cr8ma2
4920
- format: typeid
4921
- pattern: ^parking_[0-7][0-9a-hjkmnpq-tv-z]{25}$
4922
- title: Parking Id
4923
- type: string
4924
- x-typeid-prefix: parking
4925
- statistics:
4902
+ metrics:
4926
4903
  $ref: '#/components/schemas/ParkingStatistics'
4927
- description: Statistics for the parking entry
4928
- required:
4929
- - parking_id
4930
- - statistics
4931
- title: ParkingMetricsResponse
4932
- type: object
4933
- ParkingResponse:
4934
- properties:
4935
- compliance_status:
4936
- anyOf:
4937
- - $ref: '#/components/schemas/ComplianceStatus'
4938
- - type: 'null'
4939
- description: The compliance status of the parking ad
4940
- content_language:
4941
- anyOf:
4942
- - type: string
4943
- - type: 'null'
4944
- description: The primary language code for the ad content
4945
- title: Content Language
4946
- content_url:
4947
- anyOf:
4948
- - type: string
4949
- - type: 'null'
4950
- description: The content URL for approved parking ads
4951
- title: Content Url
4952
- created_on:
4953
- description: When the parking entry was created
4954
- format: date-time
4955
- title: Created On
4956
- type: string
4957
- domain:
4958
- description: The domain name for the parking ad
4959
- title: Domain
4960
- type: string
4961
- enabled:
4962
- description: Whether parking is enabled
4963
- title: Enabled
4964
- type: boolean
4965
- note:
4966
- anyOf:
4967
- - type: string
4968
- - type: 'null'
4969
- description: Additional notes about the parking ad
4970
- title: Note
4971
- parking_id:
4972
- description: Unique identifier for the parking entry
4973
- examples:
4974
- - parking_01h45ytscbebyvny4gc8cr8ma2
4975
- format: typeid
4976
- pattern: ^parking_[0-7][0-9a-hjkmnpq-tv-z]{25}$
4977
- title: Parking Id
4904
+ description: Metrics for the parking entry
4905
+ renewal_cost:
4906
+ description: Yearly renewal cost for the parked domain
4907
+ pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
4908
+ title: Renewal Cost
4978
4909
  type: string
4979
- x-typeid-prefix: parking
4980
- updated_on:
4981
- description: When the parking entry was last updated
4982
- format: date-time
4983
- title: Updated On
4910
+ revenue_progress:
4911
+ description: Revenue progress percentage towards covering renewal cost
4912
+ pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
4913
+ title: Revenue Progress
4984
4914
  type: string
4985
4915
  required:
4986
- - parking_id
4987
- - domain
4988
- - enabled
4989
- - created_on
4990
- - updated_on
4991
- title: ParkingResponse
4916
+ - metrics
4917
+ - renewal_cost
4918
+ - revenue_progress
4919
+ title: ParkingMetricsResponse
4992
4920
  type: object
4993
4921
  ParkingSortField:
4994
4922
  enum:
@@ -5003,11 +4931,6 @@ components:
5003
4931
  description: Number of conversions
5004
4932
  title: Conversions
5005
4933
  type: integer
5006
- profit:
5007
- description: Total profit
5008
- pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
5009
- title: Profit
5010
- type: string
5011
4934
  revenue:
5012
4935
  description: Total revenue
5013
4936
  pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
@@ -5033,9 +4956,22 @@ components:
5033
4956
  - rpc
5034
4957
  - rpm
5035
4958
  - revenue
5036
- - profit
5037
4959
  title: ParkingStatistics
5038
4960
  type: object
4961
+ ParkingTotalMetricsResponse:
4962
+ properties:
4963
+ total_count:
4964
+ description: Total number of parking entries
4965
+ title: Total Count
4966
+ type: integer
4967
+ total_metrics:
4968
+ $ref: '#/components/schemas/ParkingStatistics'
4969
+ description: Aggregated metrics for all parking entries
4970
+ required:
4971
+ - total_count
4972
+ - total_metrics
4973
+ title: ParkingTotalMetricsResponse
4974
+ type: object
5039
4975
  PasswordUpdate:
5040
4976
  properties:
5041
4977
  new_password:
@@ -6824,7 +6760,7 @@ info:
6824
6760
  '
6825
6761
  summary: OpusDNS - your gateway to a seamless domain management experience.
6826
6762
  title: OpusDNS API
6827
- version: 2026-01-22-170829
6763
+ version: 2026-01-25-132304
6828
6764
  x-logo:
6829
6765
  altText: OpusDNS API Reference
6830
6766
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -14735,6 +14671,27 @@ paths:
14735
14671
  description: Retrieves a paginated list of parking entries for the organization
14736
14672
  operationId: list_parking_v1_parking_get
14737
14673
  parameters:
14674
+ - description: Page number
14675
+ in: query
14676
+ name: page
14677
+ required: false
14678
+ schema:
14679
+ default: 1
14680
+ description: Page number
14681
+ minimum: 1
14682
+ title: Page
14683
+ type: integer
14684
+ - description: Page size
14685
+ in: query
14686
+ name: page_size
14687
+ required: false
14688
+ schema:
14689
+ default: 10
14690
+ description: Page size
14691
+ maximum: 1000
14692
+ minimum: 1
14693
+ title: Page Size
14694
+ type: integer
14738
14695
  - in: query
14739
14696
  name: sort_by
14740
14697
  required: false
@@ -14771,29 +14728,80 @@ paths:
14771
14728
  - $ref: '#/components/schemas/ComplianceStatus'
14772
14729
  - type: 'null'
14773
14730
  title: Compliance Status
14731
+ responses:
14732
+ '200':
14733
+ content:
14734
+ application/json:
14735
+ schema:
14736
+ additionalProperties: true
14737
+ title: Response List Parking V1 Parking Get
14738
+ type: object
14739
+ description: Successful Response
14740
+ '401':
14741
+ content:
14742
+ application/problem+json:
14743
+ example:
14744
+ code: ERROR_AUTHENTICATION
14745
+ detail: Additional error context.
14746
+ status: 401
14747
+ title: Authentication Error
14748
+ type: authentication
14749
+ schema:
14750
+ $ref: '#/components/schemas/Problem'
14751
+ description: Unauthorized
14752
+ '403':
14753
+ content:
14754
+ application/problem+json:
14755
+ example:
14756
+ code: ERROR_PERMISSION_DENIED
14757
+ detail: Insufficient permissions to perform this action
14758
+ status: 403
14759
+ title: Permission Denied
14760
+ type: permission-denied
14761
+ schema:
14762
+ $ref: '#/components/schemas/Problem'
14763
+ description: Forbidden
14764
+ '422':
14765
+ content:
14766
+ application/problem+json:
14767
+ schema:
14768
+ $ref: '#/components/schemas/HTTPValidationError'
14769
+ description: Validation Error
14770
+ security:
14771
+ - OAuth2PasswordBearer: []
14772
+ - APIKeyHeader: []
14773
+ summary: List parking entries
14774
+ tags:
14775
+ - parking
14776
+ /v1/parking/metrics:
14777
+ get:
14778
+ description: Retrieves aggregated metrics for all parking entries of the organization.
14779
+ operationId: get_total_parking_metrics_v1_parking_metrics_get
14780
+ parameters:
14774
14781
  - in: query
14775
- name: page
14782
+ name: start_time
14776
14783
  required: false
14777
14784
  schema:
14778
- default: 1
14779
- minimum: 1
14780
- title: Page
14781
- type: integer
14785
+ anyOf:
14786
+ - format: date-time
14787
+ type: string
14788
+ - type: 'null'
14789
+ title: Start Time
14782
14790
  - in: query
14783
- name: page_size
14791
+ name: end_time
14784
14792
  required: false
14785
14793
  schema:
14786
- default: 10
14787
- maximum: 1000
14788
- minimum: 1
14789
- title: Page Size
14790
- type: integer
14794
+ anyOf:
14795
+ - format: date-time
14796
+ type: string
14797
+ - type: 'null'
14798
+ title: End Time
14791
14799
  responses:
14792
14800
  '200':
14793
14801
  content:
14794
14802
  application/json:
14795
14803
  schema:
14796
- $ref: '#/components/schemas/Pagination_ParkingResponse_'
14804
+ $ref: '#/components/schemas/ParkingTotalMetricsResponse'
14797
14805
  description: Successful Response
14798
14806
  '401':
14799
14807
  content:
@@ -14828,12 +14836,12 @@ paths:
14828
14836
  security:
14829
14837
  - OAuth2PasswordBearer: []
14830
14838
  - APIKeyHeader: []
14831
- summary: List parking entries
14839
+ summary: Get total metrics for all parking entries
14832
14840
  tags:
14833
14841
  - parking
14834
14842
  /v1/parking/{parking_id}/metrics:
14835
14843
  get:
14836
- description: Retrieves metrics for a specific parking entry by ID
14844
+ description: Retrieves metrics for a specific parking entry by ID.
14837
14845
  operationId: get_parking_metrics_v1_parking__parking_id__metrics_get
14838
14846
  parameters:
14839
14847
  - in: path
@@ -14847,6 +14855,24 @@ paths:
14847
14855
  title: Parking Id
14848
14856
  type: string
14849
14857
  x-typeid-prefix: parking
14858
+ - in: query
14859
+ name: start_time
14860
+ required: false
14861
+ schema:
14862
+ anyOf:
14863
+ - format: date-time
14864
+ type: string
14865
+ - type: 'null'
14866
+ title: Start Time
14867
+ - in: query
14868
+ name: end_time
14869
+ required: false
14870
+ schema:
14871
+ anyOf:
14872
+ - format: date-time
14873
+ type: string
14874
+ - type: 'null'
14875
+ title: End Time
14850
14876
  responses:
14851
14877
  '200':
14852
14878
  content: