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

Commit cf053b8

Browse files
authored
Merge branch 'main' into beta
2 parents b18add5 + e7dd037 commit cf053b8

12 files changed

+58
-33
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@
8989

9090
* move to @hey-api/openapi-ts, as openapi-typescript-codegen is being deprecated
9191

92+
# [1.26.0](https://github.com/paambaati/neon-js-sdk/compare/v1.25.0...v1.26.0) (2024-08-12)
93+
94+
95+
### Features
96+
97+
* update to track latest spec changes ([580a589](https://github.com/paambaati/neon-js-sdk/commit/580a5898c9b9f6a67a9ec2d9e1201c655b77d216))
98+
* update to track latest spec changes ([6819517](https://github.com/paambaati/neon-js-sdk/commit/681951730becf54edfd57a4e226caf96b7ef0059))
99+
92100
# [1.25.0](https://github.com/paambaati/neon-js-sdk/compare/v1.24.0...v1.25.0) (2024-08-05)
93101

94102

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)