waldur-js-client 8.0.6-dev.1 → 8.0.6-dev.2

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
@@ -1016,11 +1016,11 @@ export declare const customerPermissionsReviewsClose: <ThrowOnError extends bool
1016
1016
  /**
1017
1017
  * List customer quotas.
1018
1018
  */
1019
- export declare const customerQuotasList: <ThrowOnError extends boolean = false>(options: Options<CustomerQuotasListData, ThrowOnError>) => import("./client").RequestResult<CustomerQuotasListResponses, unknown, ThrowOnError, "fields">;
1019
+ export declare const customerQuotasList: <ThrowOnError extends boolean = false>(options?: Options<CustomerQuotasListData, ThrowOnError>) => import("./client").RequestResult<CustomerQuotasListResponses, unknown, ThrowOnError, "fields">;
1020
1020
  /**
1021
1021
  * Get number of items in the collection matching the request parameters.
1022
1022
  */
1023
- export declare const customerQuotasCount: <ThrowOnError extends boolean = false>(options: Options<CustomerQuotasCountData, ThrowOnError>) => import("./client").RequestResult<CustomerQuotasCountResponses, unknown, ThrowOnError, "fields">;
1023
+ export declare const customerQuotasCount: <ThrowOnError extends boolean = false>(options?: Options<CustomerQuotasCountData, ThrowOnError>) => import("./client").RequestResult<CustomerQuotasCountResponses, unknown, ThrowOnError, "fields">;
1024
1024
  /**
1025
1025
  * List customers
1026
1026
  * Retrieve a list of customers. The list is filtered based on the user's permissions.
@@ -6258,11 +6258,11 @@ export declare const projectPermissionsReviewsClose: <ThrowOnError extends boole
6258
6258
  /**
6259
6259
  * List project quotas.
6260
6260
  */
6261
- export declare const projectQuotasList: <ThrowOnError extends boolean = false>(options: Options<ProjectQuotasListData, ThrowOnError>) => import("./client").RequestResult<ProjectQuotasListResponses, unknown, ThrowOnError, "fields">;
6261
+ export declare const projectQuotasList: <ThrowOnError extends boolean = false>(options?: Options<ProjectQuotasListData, ThrowOnError>) => import("./client").RequestResult<ProjectQuotasListResponses, unknown, ThrowOnError, "fields">;
6262
6262
  /**
6263
6263
  * Get number of items in the collection matching the request parameters.
6264
6264
  */
6265
- export declare const projectQuotasCount: <ThrowOnError extends boolean = false>(options: Options<ProjectQuotasCountData, ThrowOnError>) => import("./client").RequestResult<ProjectQuotasCountResponses, unknown, ThrowOnError, "fields">;
6265
+ export declare const projectQuotasCount: <ThrowOnError extends boolean = false>(options?: Options<ProjectQuotasCountData, ThrowOnError>) => import("./client").RequestResult<ProjectQuotasCountResponses, unknown, ThrowOnError, "fields">;
6266
6266
  /**
6267
6267
  * List project types
6268
6268
  * Retrieve a list of available project types.
package/dist/sdk.gen.js CHANGED
@@ -7119,7 +7119,7 @@ export const customerPermissionsReviewsClose = (options) => {
7119
7119
  * List customer quotas.
7120
7120
  */
7121
7121
  export const customerQuotasList = (options) => {
7122
- return (options.client ?? _heyApiClient).get({
7122
+ return (options?.client ?? _heyApiClient).get({
7123
7123
  security: [
7124
7124
  {
7125
7125
  name: 'Authorization',
@@ -7138,7 +7138,7 @@ export const customerQuotasList = (options) => {
7138
7138
  * Get number of items in the collection matching the request parameters.
7139
7139
  */
7140
7140
  export const customerQuotasCount = (options) => {
7141
- return (options.client ?? _heyApiClient).head({
7141
+ return (options?.client ?? _heyApiClient).head({
7142
7142
  security: [
7143
7143
  {
7144
7144
  name: 'Authorization',
@@ -33519,7 +33519,7 @@ export const projectPermissionsReviewsClose = (options) => {
33519
33519
  * List project quotas.
33520
33520
  */
33521
33521
  export const projectQuotasList = (options) => {
33522
- return (options.client ?? _heyApiClient).get({
33522
+ return (options?.client ?? _heyApiClient).get({
33523
33523
  security: [
33524
33524
  {
33525
33525
  name: 'Authorization',
@@ -33538,7 +33538,7 @@ export const projectQuotasList = (options) => {
33538
33538
  * Get number of items in the collection matching the request parameters.
33539
33539
  */
33540
33540
  export const projectQuotasCount = (options) => {
33541
- return (options.client ?? _heyApiClient).head({
33541
+ return (options?.client ?? _heyApiClient).head({
33542
33542
  security: [
33543
33543
  {
33544
33544
  name: 'Authorization',
@@ -33368,7 +33368,7 @@ export type CustomerPermissionsReviewsCloseResponses = {
33368
33368
  export type CustomerQuotasListData = {
33369
33369
  body?: never;
33370
33370
  path?: never;
33371
- query: {
33371
+ query?: {
33372
33372
  /**
33373
33373
  * A page number within the paginated result set.
33374
33374
  */
@@ -33380,7 +33380,7 @@ export type CustomerQuotasListData = {
33380
33380
  /**
33381
33381
  * Name of the quota
33382
33382
  */
33383
- quota_name: CustomerQuotasQuotaNameEnum;
33383
+ quota_name?: CustomerQuotasQuotaNameEnum;
33384
33384
  };
33385
33385
  url: '/api/customer-quotas/';
33386
33386
  };
@@ -33391,7 +33391,7 @@ export type CustomerQuotasListResponse = CustomerQuotasListResponses[keyof Custo
33391
33391
  export type CustomerQuotasCountData = {
33392
33392
  body?: never;
33393
33393
  path?: never;
33394
- query: {
33394
+ query?: {
33395
33395
  /**
33396
33396
  * A page number within the paginated result set.
33397
33397
  */
@@ -33403,7 +33403,7 @@ export type CustomerQuotasCountData = {
33403
33403
  /**
33404
33404
  * Name of the quota
33405
33405
  */
33406
- quota_name: CustomerQuotasQuotaNameEnum;
33406
+ quota_name?: CustomerQuotasQuotaNameEnum;
33407
33407
  };
33408
33408
  url: '/api/customer-quotas/';
33409
33409
  };
@@ -64370,7 +64370,7 @@ export type ProjectPermissionsReviewsCloseResponses = {
64370
64370
  export type ProjectQuotasListData = {
64371
64371
  body?: never;
64372
64372
  path?: never;
64373
- query: {
64373
+ query?: {
64374
64374
  /**
64375
64375
  * A page number within the paginated result set.
64376
64376
  */
@@ -64382,7 +64382,7 @@ export type ProjectQuotasListData = {
64382
64382
  /**
64383
64383
  * Name of the quota
64384
64384
  */
64385
- quota_name: CustomerQuotasQuotaNameEnum;
64385
+ quota_name?: CustomerQuotasQuotaNameEnum;
64386
64386
  };
64387
64387
  url: '/api/project-quotas/';
64388
64388
  };
@@ -64393,7 +64393,7 @@ export type ProjectQuotasListResponse = ProjectQuotasListResponses[keyof Project
64393
64393
  export type ProjectQuotasCountData = {
64394
64394
  body?: never;
64395
64395
  path?: never;
64396
- query: {
64396
+ query?: {
64397
64397
  /**
64398
64398
  * A page number within the paginated result set.
64399
64399
  */
@@ -64405,7 +64405,7 @@ export type ProjectQuotasCountData = {
64405
64405
  /**
64406
64406
  * Name of the quota
64407
64407
  */
64408
- quota_name: CustomerQuotasQuotaNameEnum;
64408
+ quota_name?: CustomerQuotasQuotaNameEnum;
64409
64409
  };
64410
64410
  url: '/api/project-quotas/';
64411
64411
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waldur-js-client",
3
- "version": "8.0.6-dev.1",
3
+ "version": "8.0.6-dev.2",
4
4
  "description": "JavaScript client for Waldur MasterMind generated from OpenAPI schema",
5
5
  "author": "Waldur Platform",
6
6
  "license": "MIT",