@cirrobio/api-client 0.12.16 → 0.12.17

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/README.md CHANGED
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @cirrobio/api-client@0.12.15 --save
39
+ npm install @cirrobio/api-client@0.12.17 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -21,8 +21,8 @@ export interface GetAppRegistrationRequest {
21
21
  id: string;
22
22
  }
23
23
  export interface ListAppRegistrationsRequest {
24
- limit: number;
25
- nextToken: string;
24
+ limit?: number;
25
+ nextToken?: string;
26
26
  }
27
27
  export interface RegenerateSecretRequest {
28
28
  id: string;
@@ -74,7 +74,7 @@ export declare class AppRegistrationsApi extends runtime.BaseAPI {
74
74
  * Lists all app registrations in the system.
75
75
  * List app registrations
76
76
  */
77
- listAppRegistrations(requestParameters: ListAppRegistrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseAppRegistrationDto>;
77
+ listAppRegistrations(requestParameters?: ListAppRegistrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseAppRegistrationDto>;
78
78
  /**
79
79
  * Lists app registrations created by the current user.
80
80
  * List my app registrations
@@ -147,12 +147,6 @@ class AppRegistrationsApi extends runtime.BaseAPI {
147
147
  */
148
148
  listAppRegistrationsRaw(requestParameters, initOverrides) {
149
149
  return __awaiter(this, void 0, void 0, function* () {
150
- if (requestParameters.limit === null || requestParameters.limit === undefined) {
151
- throw new runtime.RequiredError('limit', 'Required parameter requestParameters.limit was null or undefined when calling listAppRegistrations.');
152
- }
153
- if (requestParameters.nextToken === null || requestParameters.nextToken === undefined) {
154
- throw new runtime.RequiredError('nextToken', 'Required parameter requestParameters.nextToken was null or undefined when calling listAppRegistrations.');
155
- }
156
150
  const queryParameters = {};
157
151
  if (requestParameters.limit !== undefined) {
158
152
  queryParameters['limit'] = requestParameters.limit;
@@ -181,7 +175,7 @@ class AppRegistrationsApi extends runtime.BaseAPI {
181
175
  * Lists all app registrations in the system.
182
176
  * List app registrations
183
177
  */
184
- listAppRegistrations(requestParameters, initOverrides) {
178
+ listAppRegistrations(requestParameters = {}, initOverrides) {
185
179
  return __awaiter(this, void 0, void 0, function* () {
186
180
  const response = yield this.listAppRegistrationsRaw(requestParameters, initOverrides);
187
181
  return yield response.value();
@@ -21,8 +21,8 @@ export interface GetAppRegistrationRequest {
21
21
  id: string;
22
22
  }
23
23
  export interface ListAppRegistrationsRequest {
24
- limit: number;
25
- nextToken: string;
24
+ limit?: number;
25
+ nextToken?: string;
26
26
  }
27
27
  export interface RegenerateSecretRequest {
28
28
  id: string;
@@ -74,7 +74,7 @@ export declare class AppRegistrationsApi extends runtime.BaseAPI {
74
74
  * Lists all app registrations in the system.
75
75
  * List app registrations
76
76
  */
77
- listAppRegistrations(requestParameters: ListAppRegistrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseAppRegistrationDto>;
77
+ listAppRegistrations(requestParameters?: ListAppRegistrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseAppRegistrationDto>;
78
78
  /**
79
79
  * Lists app registrations created by the current user.
80
80
  * List my app registrations
@@ -144,12 +144,6 @@ export class AppRegistrationsApi extends runtime.BaseAPI {
144
144
  */
145
145
  listAppRegistrationsRaw(requestParameters, initOverrides) {
146
146
  return __awaiter(this, void 0, void 0, function* () {
147
- if (requestParameters.limit === null || requestParameters.limit === undefined) {
148
- throw new runtime.RequiredError('limit', 'Required parameter requestParameters.limit was null or undefined when calling listAppRegistrations.');
149
- }
150
- if (requestParameters.nextToken === null || requestParameters.nextToken === undefined) {
151
- throw new runtime.RequiredError('nextToken', 'Required parameter requestParameters.nextToken was null or undefined when calling listAppRegistrations.');
152
- }
153
147
  const queryParameters = {};
154
148
  if (requestParameters.limit !== undefined) {
155
149
  queryParameters['limit'] = requestParameters.limit;
@@ -178,7 +172,7 @@ export class AppRegistrationsApi extends runtime.BaseAPI {
178
172
  * Lists all app registrations in the system.
179
173
  * List app registrations
180
174
  */
181
- listAppRegistrations(requestParameters, initOverrides) {
175
+ listAppRegistrations(requestParameters = {}, initOverrides) {
182
176
  return __awaiter(this, void 0, void 0, function* () {
183
177
  const response = yield this.listAppRegistrationsRaw(requestParameters, initOverrides);
184
178
  return yield response.value();
@@ -20,7 +20,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
20
20
  step((generator = generator.apply(thisArg, _arguments || [])).next());
21
21
  });
22
22
  };
23
- export const BASE_PATH = "http://localhost:8080/api".replace(/\/+$/, "");
23
+ export const BASE_PATH = "https://dev.cirro.bio/api".replace(/\/+$/, "");
24
24
  export class Configuration {
25
25
  constructor(configuration = {}) {
26
26
  this.configuration = configuration;
package/dist/runtime.js CHANGED
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.TextApiResponse = exports.BlobApiResponse = exports.VoidApiResponse = exports.JSONApiResponse = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.COLLECTION_FORMATS = exports.RequiredError = exports.FetchError = exports.ResponseError = exports.BaseAPI = exports.DefaultConfig = exports.Configuration = exports.BASE_PATH = void 0;
26
- exports.BASE_PATH = "http://localhost:8080/api".replace(/\/+$/, "");
26
+ exports.BASE_PATH = "https://dev.cirro.bio/api".replace(/\/+$/, "");
27
27
  class Configuration {
28
28
  constructor(configuration = {}) {
29
29
  this.configuration = configuration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.12.16",
3
+ "version": "0.12.17",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {