mcp-aiven 1.11.2 → 1.13.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.
@@ -69,7 +69,11 @@ export interface paths {
69
69
  path?: never;
70
70
  cookie?: never;
71
71
  };
72
- /** List account billing groups */
72
+ /**
73
+ * List account billing groups
74
+ * @deprecated
75
+ * @description <p>Use GET /v1/organization/{organization_id}/billing-groups</p>
76
+ */
73
77
  get: operations["AccountBillingGroupList"];
74
78
  put?: never;
75
79
  post?: never;
@@ -644,10 +648,18 @@ export interface paths {
644
648
  path?: never;
645
649
  cookie?: never;
646
650
  };
647
- /** List billing groups */
651
+ /**
652
+ * List billing groups
653
+ * @deprecated
654
+ * @description <p>Use GET /v1/organization/{organization_id}/billing-groups</p>
655
+ */
648
656
  get: operations["BillingGroupList"];
649
657
  put?: never;
650
- /** Create a billing group */
658
+ /**
659
+ * Create a billing group
660
+ * @deprecated
661
+ * @description <p>Use POST /v1/organization/{organization_id}/billing-groups</p>
662
+ */
651
663
  post: operations["BillingGroupCreate"];
652
664
  delete?: never;
653
665
  options?: never;
@@ -680,12 +692,24 @@ export interface paths {
680
692
  path?: never;
681
693
  cookie?: never;
682
694
  };
683
- /** Get billing group details */
695
+ /**
696
+ * Get billing group details
697
+ * @deprecated
698
+ * @description <p>Use GET /v1/organization/{organization_id}/billing-group/{billing_group_id}</p>
699
+ */
684
700
  get: operations["BillingGroupGet"];
685
- /** Update billing group */
701
+ /**
702
+ * Update billing group
703
+ * @deprecated
704
+ * @description <p>Use PUT /v1/organization/{organization_id}/billing-group/{billing_group_id}</p>
705
+ */
686
706
  put: operations["BillingGroupUpdate"];
687
707
  post?: never;
688
- /** Delete billing group */
708
+ /**
709
+ * Delete billing group
710
+ * @deprecated
711
+ * @description <p>Use DELETE /v1/organization/{organization_id}/billing-group/{billing_group_id}</p>
712
+ */
689
713
  delete: operations["BillingGroupDelete"];
690
714
  options?: never;
691
715
  head?: never;
@@ -716,7 +740,11 @@ export interface paths {
716
740
  path?: never;
717
741
  cookie?: never;
718
742
  };
719
- /** Get a single invoice as a CSV of invoice lines */
743
+ /**
744
+ * Get a single invoice as a CSV of invoice lines
745
+ * @deprecated
746
+ * @description <p>Use GET /v1/organization/{organization_id}/invoice/{invoice_number}/csv</p>
747
+ */
720
748
  get: operations["BillingGroupInvoiceCsvGet"];
721
749
  put?: never;
722
750
  post?: never;
@@ -775,7 +803,11 @@ export interface paths {
775
803
  path?: never;
776
804
  cookie?: never;
777
805
  };
778
- /** Get invoice lines for a single invoice */
806
+ /**
807
+ * Get invoice lines for a single invoice
808
+ * @deprecated
809
+ * @description <p>Use GET /v1/organization/{organization_id}/invoice/{invoice_number}/lines</p>
810
+ */
779
811
  get: operations["BillingGroupInvoiceLinesList"];
780
812
  put?: never;
781
813
  post?: never;
@@ -792,7 +824,11 @@ export interface paths {
792
824
  path?: never;
793
825
  cookie?: never;
794
826
  };
795
- /** Get invoices generated for billing group */
827
+ /**
828
+ * Get invoices generated for billing group
829
+ * @deprecated
830
+ * @description <p>Use GET /v1/organization/{organization_id}/invoices</p>
831
+ */
796
832
  get: operations["BillingGroupInvoiceList"];
797
833
  put?: never;
798
834
  post?: never;
@@ -830,7 +866,11 @@ export interface paths {
830
866
  path?: never;
831
867
  cookie?: never;
832
868
  };
833
- /** Get projects assigned to billing group */
869
+ /**
870
+ * Get projects assigned to billing group
871
+ * @deprecated
872
+ * @description <p>Use GET /v1/organization/{organization_id}/projects</p>
873
+ */
834
874
  get: operations["BillingGroupProjectList"];
835
875
  put?: never;
836
876
  post?: never;
@@ -868,7 +908,11 @@ export interface paths {
868
908
  path?: never;
869
909
  cookie?: never;
870
910
  };
871
- /** Get a single invoice */
911
+ /**
912
+ * Get a single invoice
913
+ * @deprecated
914
+ * @description <p>Use GET /v1/organization/{organization_id}/invoice/{invoice_number}</p>
915
+ */
872
916
  get: operations["InvoiceGet"];
873
917
  put?: never;
874
918
  post?: never;
@@ -1808,6 +1852,26 @@ export interface paths {
1808
1852
  patch: operations["OrganizationAuthenticationConfigUpdate"];
1809
1853
  trace?: never;
1810
1854
  };
1855
+ "/organization/{organization_id}/billing-report": {
1856
+ parameters: {
1857
+ query?: never;
1858
+ header?: never;
1859
+ path?: never;
1860
+ cookie?: never;
1861
+ };
1862
+ get?: never;
1863
+ put?: never;
1864
+ /**
1865
+ * Get the billing report for an organization
1866
+ * @description <p><blockquote>This endpoint <b>may be changed or removed at any time</b>. Don't use it in production environments.</blockquote><p>
1867
+ */
1868
+ post: operations["OrganizationBillingReportRead"];
1869
+ delete?: never;
1870
+ options?: never;
1871
+ head?: never;
1872
+ patch?: never;
1873
+ trace?: never;
1874
+ };
1811
1875
  "/organization/{organization_id}": {
1812
1876
  parameters: {
1813
1877
  query?: never;
@@ -2020,6 +2084,7 @@ export interface paths {
2020
2084
  /**
2021
2085
  * List user's credit cards
2022
2086
  * @deprecated
2087
+ * @description <p>Use GET /v1/organization/{organization_id}/payment-method/credit-cards</p>
2023
2088
  */
2024
2089
  get: operations["UserCreditCardsList"];
2025
2090
  put?: never;
@@ -2051,6 +2116,7 @@ export interface paths {
2051
2116
  /**
2052
2117
  * Delete user's credit card
2053
2118
  * @deprecated
2119
+ * @description <p>Use DELETE /v1/organization/{organization_id}/payment-method/credit-card/{payment_method_id}</p>
2054
2120
  */
2055
2121
  delete: operations["UserCreditCardDelete"];
2056
2122
  options?: never;
@@ -11796,6 +11862,55 @@ export interface components {
11796
11862
  /** @description 2FA is required to access resources in this organization. */
11797
11863
  two_factor_required?: boolean;
11798
11864
  };
11865
+ /** @description OrganizationBillingReportReadRequestBody */
11866
+ OrganizationBillingReportReadRequestBody: {
11867
+ /** @description ID of the Billing Group to fetch invoice lines for */
11868
+ billing_group_id?: string;
11869
+ /** @description Name of the Billing Group to fetch invoice lines for */
11870
+ billing_group_name?: string;
11871
+ /** @description Date before which invoice lines should be returned (exclusive) */
11872
+ ending_date: string;
11873
+ /** @description Name of the service to fetch invoice lines for */
11874
+ service_name?: string;
11875
+ /** @description Date after which invoice lines should be returned (inclusive) */
11876
+ starting_date: string;
11877
+ };
11878
+ /** @description OrganizationBillingReportReadResponse */
11879
+ OrganizationBillingReportReadResponse: {
11880
+ /** @description List of invoice line items */
11881
+ line_items: {
11882
+ /** @description Ending time for the time slice for which this line item was accrued */
11883
+ ending_before: string;
11884
+ /** @description Product name */
11885
+ name: string;
11886
+ /** @description Metadata for this particular product consumption */
11887
+ presentation_group_values: Record<string, never>;
11888
+ /** @description Pricing dimensions for this particular product's consumption */
11889
+ pricing_group_values: Record<string, never>;
11890
+ /** @description Custom fields for this product */
11891
+ product_custom_fields: Record<string, never>;
11892
+ /** @description The current product tags associated with the line item's product_id. */
11893
+ product_tags: string[];
11894
+ /**
11895
+ * @description The type of the line item's product
11896
+ * @enum {string}
11897
+ */
11898
+ product_type: "FixedProductListItem" | "UsageProductListItem" | "SubscriptionProductListItem" | "CompositeProductListItem";
11899
+ /** @description How much of this product was metered in this time slice */
11900
+ quantity: number;
11901
+ /** @description Starting time for the time slice for which this line item was accrued */
11902
+ starting_at: string;
11903
+ /** @description Total price in USD of this line item */
11904
+ total: number;
11905
+ /**
11906
+ * @description The type of line item
11907
+ * @enum {string}
11908
+ */
11909
+ type: "scheduled" | "commit_purchase" | "usage" | "subscription" | "applied_commit_or_credit" | "cpu_conversion";
11910
+ /** @description The unit price associated with the line item. */
11911
+ unit_price: number;
11912
+ }[];
11913
+ };
11799
11914
  /** @description OrganizationGetResponse */
11800
11915
  OrganizationGetResponse: {
11801
11916
  /** @description Account ID of the organization's root unit */
@@ -24145,6 +24260,11 @@ export interface components {
24145
24260
  * @default 100
24146
24261
  */
24147
24262
  limit: number;
24263
+ /**
24264
+ * @description Filter to entries of a specific application log type. Only supported for application services. When omitted on application services, runtime logs (application-run) are returned.
24265
+ * @enum {string}
24266
+ */
24267
+ log_type?: "application-build" | "application-run";
24148
24268
  /** @description Opaque offset identifier */
24149
24269
  offset?: string;
24150
24270
  /**
@@ -25059,6 +25179,8 @@ export interface components {
25059
25179
  }[];
25060
25180
  /** @description Printable result of the request */
25061
25181
  message?: string;
25182
+ /** @description Pagination cursor for the next page of databases */
25183
+ next?: string;
25062
25184
  };
25063
25185
  /** @description ServiceDeleteResponse */
25064
25186
  ServiceDeleteResponse: {
@@ -31407,6 +31529,10 @@ export interface components {
31407
31529
  pool_name: string;
31408
31530
  /** @description DatabaseName */
31409
31531
  dbname: string;
31532
+ /** @description Maximum number of databases to return per page. Must be between 1 and 250. */
31533
+ servicedatabaselist_limit: number;
31534
+ /** @description Cursor for pagination. Returns databases after the specified database name. */
31535
+ servicedatabaselist_after: string;
31410
31536
  /** @description Explicitly indicates that the client wants to read secrets that might be returned by this endpoint. */
31411
31537
  serviceget_include_secrets: boolean;
31412
31538
  /** @description Explicitly indicates that the client wants to read secrets that might be returned by this endpoint. */
@@ -37096,6 +37222,65 @@ export interface operations {
37096
37222
  };
37097
37223
  };
37098
37224
  };
37225
+ OrganizationBillingReportRead: {
37226
+ parameters: {
37227
+ query?: never;
37228
+ header?: never;
37229
+ path: {
37230
+ /** @description ID of an organization */
37231
+ organization_id: components["parameters"]["organization_id"];
37232
+ };
37233
+ cookie?: never;
37234
+ };
37235
+ requestBody?: {
37236
+ content: {
37237
+ /**
37238
+ * @example {
37239
+ * "billing_group_id": "b206c7b1-7a4d-4001-95f4-fe651a9901f8",
37240
+ * "billing_group_name": "My Billing Group",
37241
+ * "ending_date": "2025-02-01T00:00:00+00:00",
37242
+ * "service_name": "pg-12345678",
37243
+ * "starting_date": "2025-01-01T00:00:00+00:00"
37244
+ * }
37245
+ */
37246
+ "application/json": components["schemas"]["OrganizationBillingReportReadRequestBody"];
37247
+ };
37248
+ };
37249
+ responses: {
37250
+ /** @description Response */
37251
+ 200: {
37252
+ headers: {
37253
+ [name: string]: unknown;
37254
+ };
37255
+ content: {
37256
+ "application/json": components["schemas"]["OrganizationBillingReportReadResponse"];
37257
+ };
37258
+ };
37259
+ /** @description Resource not found */
37260
+ 404: {
37261
+ headers: {
37262
+ [name: string]: unknown;
37263
+ };
37264
+ content: {
37265
+ "application/json": {
37266
+ /** Human readable error message */
37267
+ message?: string;
37268
+ /** List of error details. Typically there is only one element */
37269
+ errors?: {
37270
+ /** Human readable error message */
37271
+ message?: string;
37272
+ /**
37273
+ * Machine processable error code. Clients must be prepared to handle new codes.
37274
+ * @description organization_not_found: Organization not found.
37275
+ * @enum {string}
37276
+ */
37277
+ error_code?: "organization_not_found";
37278
+ }[];
37279
+ };
37280
+ };
37281
+ };
37282
+ };
37283
+ };
37099
37284
  OrganizationGet: {
37100
37285
  parameters: {
37101
37286
  query?: never;
@@ -47095,6 +47280,7 @@ export interface operations {
47095
47280
  /**
47096
47281
  * @example {
47097
47282
  * "limit": 100,
47283
+ * "log_type": "application-run",
47098
47284
  * "offset": "23425325",
47099
47285
  * "severity": "warning",
47100
47286
  * "sort_order": "asc"
@@ -47488,7 +47674,12 @@ export interface operations {
47488
47674
  };
47489
47675
  ServiceDatabaseList: {
47490
47676
  parameters: {
47491
- query?: never;
47677
+ query?: {
47678
+ /** @description Maximum number of databases to return per page. Must be between 1 and 250. */
47679
+ limit?: components["parameters"]["servicedatabaselist_limit"];
47680
+ /** @description Cursor for pagination. Returns databases after the specified database name. */
47681
+ after?: components["parameters"]["servicedatabaselist_after"];
47682
+ };
47492
47683
  header?: never;
47493
47684
  path: {
47494
47685
  /** @description Project name */