orgnote-api 0.20.0 → 0.20.1
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/package.json +1 -1
- package/remote-api/api.d.ts +27 -4
- package/remote-api/api.js +16 -9
package/package.json
CHANGED
package/remote-api/api.d.ts
CHANGED
|
@@ -378,6 +378,25 @@ export interface HandlersSyncNotesResponse {
|
|
|
378
378
|
*/
|
|
379
379
|
'notes'?: Array<ModelsPublicNote>;
|
|
380
380
|
}
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @export
|
|
384
|
+
* @interface HandlersSystemMetadata
|
|
385
|
+
*/
|
|
386
|
+
export interface HandlersSystemMetadata {
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @type {ModelsSystemInfo}
|
|
390
|
+
* @memberof HandlersSystemMetadata
|
|
391
|
+
*/
|
|
392
|
+
'systemInfo'?: ModelsSystemInfo;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @type {ModelsOrgNoteClientUpdateInfo}
|
|
396
|
+
* @memberof HandlersSystemMetadata
|
|
397
|
+
*/
|
|
398
|
+
'updateInfo'?: ModelsOrgNoteClientUpdateInfo;
|
|
399
|
+
}
|
|
381
400
|
/**
|
|
382
401
|
*
|
|
383
402
|
* @export
|
|
@@ -1438,10 +1457,11 @@ export declare const SystemInfoApiAxiosParamCreator: (configuration?: Configurat
|
|
|
1438
1457
|
/**
|
|
1439
1458
|
* Get system info
|
|
1440
1459
|
* @summary GetSystemInfo
|
|
1460
|
+
* @param {string} version provider
|
|
1441
1461
|
* @param {*} [options] Override http request option.
|
|
1442
1462
|
* @throws {RequiredError}
|
|
1443
1463
|
*/
|
|
1444
|
-
|
|
1464
|
+
systemInfoVersionGet: (version: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1445
1465
|
};
|
|
1446
1466
|
/**
|
|
1447
1467
|
* SystemInfoApi - functional programming interface
|
|
@@ -1459,10 +1479,11 @@ export declare const SystemInfoApiFp: (configuration?: Configuration) => {
|
|
|
1459
1479
|
/**
|
|
1460
1480
|
* Get system info
|
|
1461
1481
|
* @summary GetSystemInfo
|
|
1482
|
+
* @param {string} version provider
|
|
1462
1483
|
* @param {*} [options] Override http request option.
|
|
1463
1484
|
* @throws {RequiredError}
|
|
1464
1485
|
*/
|
|
1465
|
-
|
|
1486
|
+
systemInfoVersionGet(version: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersSystemMetadata>>;
|
|
1466
1487
|
};
|
|
1467
1488
|
/**
|
|
1468
1489
|
* SystemInfoApi - factory interface
|
|
@@ -1480,10 +1501,11 @@ export declare const SystemInfoApiFactory: (configuration?: Configuration, baseP
|
|
|
1480
1501
|
/**
|
|
1481
1502
|
* Get system info
|
|
1482
1503
|
* @summary GetSystemInfo
|
|
1504
|
+
* @param {string} version provider
|
|
1483
1505
|
* @param {*} [options] Override http request option.
|
|
1484
1506
|
* @throws {RequiredError}
|
|
1485
1507
|
*/
|
|
1486
|
-
|
|
1508
|
+
systemInfoVersionGet(version: string, options?: any): AxiosPromise<HandlersSystemMetadata>;
|
|
1487
1509
|
};
|
|
1488
1510
|
/**
|
|
1489
1511
|
* SystemInfoApi - object-oriented interface
|
|
@@ -1504,11 +1526,12 @@ export declare class SystemInfoApi extends BaseAPI {
|
|
|
1504
1526
|
/**
|
|
1505
1527
|
* Get system info
|
|
1506
1528
|
* @summary GetSystemInfo
|
|
1529
|
+
* @param {string} version provider
|
|
1507
1530
|
* @param {*} [options] Override http request option.
|
|
1508
1531
|
* @throws {RequiredError}
|
|
1509
1532
|
* @memberof SystemInfoApi
|
|
1510
1533
|
*/
|
|
1511
|
-
|
|
1534
|
+
systemInfoVersionGet(version: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersSystemMetadata, any>>;
|
|
1512
1535
|
}
|
|
1513
1536
|
/**
|
|
1514
1537
|
* TagsApi - axios parameter creator
|
package/remote-api/api.js
CHANGED
|
@@ -1261,11 +1261,15 @@ export const SystemInfoApiAxiosParamCreator = function (configuration) {
|
|
|
1261
1261
|
/**
|
|
1262
1262
|
* Get system info
|
|
1263
1263
|
* @summary GetSystemInfo
|
|
1264
|
+
* @param {string} version provider
|
|
1264
1265
|
* @param {*} [options] Override http request option.
|
|
1265
1266
|
* @throws {RequiredError}
|
|
1266
1267
|
*/
|
|
1267
|
-
|
|
1268
|
-
|
|
1268
|
+
systemInfoVersionGet: async (version, options = {}) => {
|
|
1269
|
+
// verify required parameter 'version' is not null or undefined
|
|
1270
|
+
assertParamExists('systemInfoVersionGet', 'version', version);
|
|
1271
|
+
const localVarPath = `/system-info/{version}`
|
|
1272
|
+
.replace(`{${"version"}}`, encodeURIComponent(String(version)));
|
|
1269
1273
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1270
1274
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1271
1275
|
let baseOptions;
|
|
@@ -1308,13 +1312,14 @@ export const SystemInfoApiFp = function (configuration) {
|
|
|
1308
1312
|
/**
|
|
1309
1313
|
* Get system info
|
|
1310
1314
|
* @summary GetSystemInfo
|
|
1315
|
+
* @param {string} version provider
|
|
1311
1316
|
* @param {*} [options] Override http request option.
|
|
1312
1317
|
* @throws {RequiredError}
|
|
1313
1318
|
*/
|
|
1314
|
-
async
|
|
1315
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1319
|
+
async systemInfoVersionGet(version, options) {
|
|
1320
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.systemInfoVersionGet(version, options);
|
|
1316
1321
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1317
|
-
const localVarOperationServerBasePath = operationServerMap['SystemInfoApi.
|
|
1322
|
+
const localVarOperationServerBasePath = operationServerMap['SystemInfoApi.systemInfoVersionGet']?.[localVarOperationServerIndex]?.url;
|
|
1318
1323
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1319
1324
|
},
|
|
1320
1325
|
};
|
|
@@ -1339,11 +1344,12 @@ export const SystemInfoApiFactory = function (configuration, basePath, axios) {
|
|
|
1339
1344
|
/**
|
|
1340
1345
|
* Get system info
|
|
1341
1346
|
* @summary GetSystemInfo
|
|
1347
|
+
* @param {string} version provider
|
|
1342
1348
|
* @param {*} [options] Override http request option.
|
|
1343
1349
|
* @throws {RequiredError}
|
|
1344
1350
|
*/
|
|
1345
|
-
|
|
1346
|
-
return localVarFp.
|
|
1351
|
+
systemInfoVersionGet(version, options) {
|
|
1352
|
+
return localVarFp.systemInfoVersionGet(version, options).then((request) => request(axios, basePath));
|
|
1347
1353
|
},
|
|
1348
1354
|
};
|
|
1349
1355
|
};
|
|
@@ -1368,12 +1374,13 @@ export class SystemInfoApi extends BaseAPI {
|
|
|
1368
1374
|
/**
|
|
1369
1375
|
* Get system info
|
|
1370
1376
|
* @summary GetSystemInfo
|
|
1377
|
+
* @param {string} version provider
|
|
1371
1378
|
* @param {*} [options] Override http request option.
|
|
1372
1379
|
* @throws {RequiredError}
|
|
1373
1380
|
* @memberof SystemInfoApi
|
|
1374
1381
|
*/
|
|
1375
|
-
|
|
1376
|
-
return SystemInfoApiFp(this.configuration).
|
|
1382
|
+
systemInfoVersionGet(version, options) {
|
|
1383
|
+
return SystemInfoApiFp(this.configuration).systemInfoVersionGet(version, options).then((request) => request(this.axios, this.basePath));
|
|
1377
1384
|
}
|
|
1378
1385
|
}
|
|
1379
1386
|
/**
|