waldur-js-client 1.0.4-dev.13 → 1.0.4-dev.15

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.
package/dist/sdk.gen.d.ts CHANGED
@@ -1636,7 +1636,10 @@ export declare const proposalReviewsReject: <ThrowOnError extends boolean = fals
1636
1636
  export declare const proposalReviewsSubmit: <ThrowOnError extends boolean = false>(options: Options<ProposalReviewsSubmitData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, unknown, ThrowOnError>;
1637
1637
  export declare const providerInvoiceItemsList: <ThrowOnError extends boolean = false>(options?: Options<ProviderInvoiceItemsListData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").InvoiceItem[], unknown, ThrowOnError>;
1638
1638
  export declare const providerInvoiceItemsRetrieve: <ThrowOnError extends boolean = false>(options: Options<ProviderInvoiceItemsRetrieveData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").InvoiceItem, unknown, ThrowOnError>;
1639
- export declare const query: <ThrowOnError extends boolean = false>(options: Options<QueryData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").Query, unknown, ThrowOnError>;
1639
+ /**
1640
+ * Execute SQL query against readonly database
1641
+ */
1642
+ export declare const query: <ThrowOnError extends boolean = false>(options: Options<QueryData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown[], unknown, ThrowOnError>;
1640
1643
  export declare const rabbitmqUserStatsList: <ThrowOnError extends boolean = false>(options?: Options<RabbitmqUserStatsListData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").RmqUserStatsItem[], unknown, ThrowOnError>;
1641
1644
  export declare const rabbitmqVhostStatsList: <ThrowOnError extends boolean = false>(options?: Options<RabbitmqVhostStatsListData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").RmqVHostStatsItem[], unknown, ThrowOnError>;
1642
1645
  export declare const rancherAppsList: <ThrowOnError extends boolean = false>(options?: Options<RancherAppsListData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<import("./types.gen").RancherApplication[], unknown, ThrowOnError>;
package/dist/sdk.gen.js CHANGED
@@ -14142,6 +14142,9 @@ const providerInvoiceItemsRetrieve = (options) => {
14142
14142
  });
14143
14143
  };
14144
14144
  exports.providerInvoiceItemsRetrieve = providerInvoiceItemsRetrieve;
14145
+ /**
14146
+ * Execute SQL query against readonly database
14147
+ */
14145
14148
  const query = (options) => {
14146
14149
  var _a;
14147
14150
  return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
@@ -2468,6 +2468,8 @@ export type Invoice = {
2468
2468
  * Reference number associated with the invoice.
2469
2469
  */
2470
2470
  reference_number?: string;
2471
+ readonly compensations?: number;
2472
+ readonly incurred_costs?: number;
2471
2473
  };
2472
2474
  export type InvoiceCost = {
2473
2475
  readonly price: number;
@@ -6947,9 +6949,6 @@ export type PublicOfferingDetails = {
6947
6949
  export type PullMarketplaceScriptResourceRequest = {
6948
6950
  resource_uuid: string;
6949
6951
  };
6950
- export type Query = {
6951
- query: string;
6952
- };
6953
6952
  export type QueryRequest = {
6954
6953
  query: string;
6955
6954
  };
@@ -13293,7 +13292,7 @@ export type InvoicesListData = {
13293
13292
  customer?: string;
13294
13293
  customer_uuid?: string;
13295
13294
  end_date?: string;
13296
- field?: Array<'backend_id' | 'customer' | 'customer_details' | 'due_date' | 'invoice_date' | 'issuer_details' | 'items' | 'month' | 'number' | 'payment_url' | 'price' | 'reference_number' | 'state' | 'tax' | 'total' | 'url' | 'uuid' | 'year'>;
13295
+ field?: Array<'backend_id' | 'compensations' | 'customer' | 'customer_details' | 'due_date' | 'incurred_costs' | 'invoice_date' | 'issuer_details' | 'items' | 'month' | 'number' | 'payment_url' | 'price' | 'reference_number' | 'state' | 'tax' | 'total' | 'url' | 'uuid' | 'year'>;
13297
13296
  /**
13298
13297
  * Max sum
13299
13298
  */
@@ -13333,7 +13332,7 @@ export type InvoicesRetrieveData = {
13333
13332
  uuid: string;
13334
13333
  };
13335
13334
  query?: {
13336
- field?: Array<'backend_id' | 'customer' | 'customer_details' | 'due_date' | 'invoice_date' | 'issuer_details' | 'items' | 'month' | 'number' | 'payment_url' | 'price' | 'reference_number' | 'state' | 'tax' | 'total' | 'url' | 'uuid' | 'year'>;
13335
+ field?: Array<'backend_id' | 'compensations' | 'customer' | 'customer_details' | 'due_date' | 'incurred_costs' | 'invoice_date' | 'issuer_details' | 'items' | 'month' | 'number' | 'payment_url' | 'price' | 'reference_number' | 'state' | 'tax' | 'total' | 'url' | 'uuid' | 'year'>;
13337
13336
  };
13338
13337
  url: '/api/invoices/{uuid}/';
13339
13338
  };
@@ -23795,8 +23794,14 @@ export type QueryData = {
23795
23794
  query?: never;
23796
23795
  url: '/api/query/';
23797
23796
  };
23797
+ export type QueryErrors = {
23798
+ /**
23799
+ * No response body
23800
+ */
23801
+ 400: unknown;
23802
+ };
23798
23803
  export type QueryResponses = {
23799
- 200: Query;
23804
+ 200: Array<unknown>;
23800
23805
  };
23801
23806
  export type QueryResponse = QueryResponses[keyof QueryResponses];
23802
23807
  export type RabbitmqUserStatsListData = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "1.0.4-dev.13",
3
+ "version": "1.0.4-dev.15",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",