Skip to content
This repository was archived by the owner on Jul 23, 2025. It is now read-only.

Commit 580a589

Browse files
authored
feat: update to track latest spec changes
2 parents 315bbcd + 6819517 commit 580a589

12 files changed

+56
-35
lines changed

generated/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,15 @@ export type { AllowedIps } from './models/AllowedIps';
1414
export type { AnnotationCreateValueRequest } from './models/AnnotationCreateValueRequest';
1515
export type { AnnotationData } from './models/AnnotationData';
1616
export type { AnnotationObjectData } from './models/AnnotationObjectData';
17-
export type { AnnotationObjectsData } from './models/AnnotationObjectsData';
1817
export type { AnnotationResponse } from './models/AnnotationResponse';
1918
export type { AnnotationsMapResponse } from './models/AnnotationsMapResponse';
20-
export type { AnnotationsResponse } from './models/AnnotationsResponse';
2119
export type { AnnotationValueData } from './models/AnnotationValueData';
2220
export type { ApiKeyCreateRequest } from './models/ApiKeyCreateRequest';
2321
export type { ApiKeyCreateResponse } from './models/ApiKeyCreateResponse';
2422
export type { ApiKeyRevokeResponse } from './models/ApiKeyRevokeResponse';
2523
export type { ApiKeysListResponseItem } from './models/ApiKeysListResponseItem';
2624
export type { BillingAccount } from './models/BillingAccount';
25+
export type { BillingPaymentMethod } from './models/BillingPaymentMethod';
2726
export type { BillingSubscriptionType } from './models/BillingSubscriptionType';
2827
export type { Branch } from './models/Branch';
2928
export type { BranchCreateRequest } from './models/BranchCreateRequest';
@@ -72,6 +71,7 @@ export type { EndpointType } from './models/EndpointType';
7271
export type { EndpointUpdateRequest } from './models/EndpointUpdateRequest';
7372
export type { ErrorCode } from './models/ErrorCode';
7473
export type { ExplainData } from './models/ExplainData';
74+
export type { FeatureFlags } from './models/FeatureFlags';
7575
export type { Features } from './models/Features';
7676
export type { GeneralError } from './models/GeneralError';
7777
export type { GrantPermissionToProjectRequest } from './models/GrantPermissionToProjectRequest';
@@ -84,6 +84,10 @@ export type { Member } from './models/Member';
8484
export type { MemberRole } from './models/MemberRole';
8585
export type { MemberUserInfo } from './models/MemberUserInfo';
8686
export type { MemberWithUser } from './models/MemberWithUser';
87+
export type { NotificationActionType } from './models/NotificationActionType';
88+
export type { NotificationCategoryType } from './models/NotificationCategoryType';
89+
export type { NotificationMetricType } from './models/NotificationMetricType';
90+
export type { NotificationType } from './models/NotificationType';
8791
export type { Operation } from './models/Operation';
8892
export type { OperationAction } from './models/OperationAction';
8993
export type { OperationResponse } from './models/OperationResponse';

generated/models/AnnotationsMapResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
/* eslint-disable */
55
import type { AnnotationData } from './AnnotationData';
66
export type AnnotationsMapResponse = {
7-
annotations?: Record<string, AnnotationData>;
7+
annotations: Record<string, AnnotationData>;
88
};
99

generated/models/AnnotationsResponse.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

generated/models/BillingAccount.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
5+
import type { BillingPaymentMethod } from './BillingPaymentMethod';
56
import type { BillingSubscriptionType } from './BillingSubscriptionType';
67
import type { PaymentSource } from './PaymentSource';
78
export type BillingAccount = {
89
payment_source: PaymentSource;
910
subscription_type: BillingSubscriptionType;
11+
payment_method: BillingPaymentMethod;
1012
/**
1113
* The last time the quota was reset. Defaults to the date-time the account is created.
1214
*
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* generated using openapi-typescript-codegen -- do not edit */
2+
/* istanbul ignore file */
3+
/* tslint:disable */
4+
/* eslint-disable */
5+
/**
6+
* Indicates whether and how an account makes payments.
7+
*
8+
*/
9+
export type BillingPaymentMethod = 'UNKNOWN' | 'none' | 'stripe' | 'direct_payment' | 'aws_mp' | 'vercel_mp';

generated/models/AnnotationObjectsData.ts renamed to generated/models/FeatureFlags.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
5-
import type { AnnotationObjectData } from './AnnotationObjectData';
6-
export type AnnotationObjectsData = Array<AnnotationObjectData>;
5+
export type FeatureFlags = Record<string, (boolean | string)>;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* generated using openapi-typescript-codegen -- do not edit */
2+
/* istanbul ignore file */
3+
/* tslint:disable */
4+
/* eslint-disable */
5+
/**
6+
* The action type for a given notification
7+
*
8+
*/
9+
export type NotificationActionType = 'upgrade_plan' | 'upgrade_cu';
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* generated using openapi-typescript-codegen -- do not edit */
2+
/* istanbul ignore file */
3+
/* tslint:disable */
4+
/* eslint-disable */
5+
/**
6+
* The category type for a given notification
7+
*
8+
*/
9+
export type NotificationCategoryType = 'usage' | 'performance';
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* generated using openapi-typescript-codegen -- do not edit */
2+
/* istanbul ignore file */
3+
/* tslint:disable */
4+
/* eslint-disable */
5+
/**
6+
* The metric type for a given notification
7+
*
8+
*/
9+
export type NotificationMetricType = 'database_size' | 'connections' | 'cpu' | 'ram' | 'compute_over_limit';

generated/models/NotificationType.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/* generated using openapi-typescript-codegen -- do not edit */
2+
/* istanbul ignore file */
3+
/* tslint:disable */
4+
/* eslint-disable */
5+
/**
6+
* The type of the notification
7+
*
8+
*/
9+
export type NotificationType = 'info' | 'warning';

0 commit comments

Comments
 (0)