orgnote-api 0.19.10 → 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 +65 -0
- package/remote-api/api.js +63 -0
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
|
|
@@ -705,6 +724,19 @@ export interface ModelsPublicUser {
|
|
|
705
724
|
*/
|
|
706
725
|
'profileUrl'?: string;
|
|
707
726
|
}
|
|
727
|
+
/**
|
|
728
|
+
*
|
|
729
|
+
* @export
|
|
730
|
+
* @interface ModelsSystemInfo
|
|
731
|
+
*/
|
|
732
|
+
export interface ModelsSystemInfo {
|
|
733
|
+
/**
|
|
734
|
+
*
|
|
735
|
+
* @type {boolean}
|
|
736
|
+
* @memberof ModelsSystemInfo
|
|
737
|
+
*/
|
|
738
|
+
'selfHosted'?: boolean;
|
|
739
|
+
}
|
|
708
740
|
/**
|
|
709
741
|
*
|
|
710
742
|
* @export
|
|
@@ -1422,6 +1454,14 @@ export declare const SystemInfoApiAxiosParamCreator: (configuration?: Configurat
|
|
|
1422
1454
|
* @throws {RequiredError}
|
|
1423
1455
|
*/
|
|
1424
1456
|
systemInfoClientUpdateVersionGet: (version: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1457
|
+
/**
|
|
1458
|
+
* Get system info
|
|
1459
|
+
* @summary GetSystemInfo
|
|
1460
|
+
* @param {string} version provider
|
|
1461
|
+
* @param {*} [options] Override http request option.
|
|
1462
|
+
* @throws {RequiredError}
|
|
1463
|
+
*/
|
|
1464
|
+
systemInfoVersionGet: (version: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1425
1465
|
};
|
|
1426
1466
|
/**
|
|
1427
1467
|
* SystemInfoApi - functional programming interface
|
|
@@ -1436,6 +1476,14 @@ export declare const SystemInfoApiFp: (configuration?: Configuration) => {
|
|
|
1436
1476
|
* @throws {RequiredError}
|
|
1437
1477
|
*/
|
|
1438
1478
|
systemInfoClientUpdateVersionGet(version: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModelsOrgNoteClientUpdateInfo>>;
|
|
1479
|
+
/**
|
|
1480
|
+
* Get system info
|
|
1481
|
+
* @summary GetSystemInfo
|
|
1482
|
+
* @param {string} version provider
|
|
1483
|
+
* @param {*} [options] Override http request option.
|
|
1484
|
+
* @throws {RequiredError}
|
|
1485
|
+
*/
|
|
1486
|
+
systemInfoVersionGet(version: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HandlersSystemMetadata>>;
|
|
1439
1487
|
};
|
|
1440
1488
|
/**
|
|
1441
1489
|
* SystemInfoApi - factory interface
|
|
@@ -1450,6 +1498,14 @@ export declare const SystemInfoApiFactory: (configuration?: Configuration, baseP
|
|
|
1450
1498
|
* @throws {RequiredError}
|
|
1451
1499
|
*/
|
|
1452
1500
|
systemInfoClientUpdateVersionGet(version: string, options?: any): AxiosPromise<ModelsOrgNoteClientUpdateInfo>;
|
|
1501
|
+
/**
|
|
1502
|
+
* Get system info
|
|
1503
|
+
* @summary GetSystemInfo
|
|
1504
|
+
* @param {string} version provider
|
|
1505
|
+
* @param {*} [options] Override http request option.
|
|
1506
|
+
* @throws {RequiredError}
|
|
1507
|
+
*/
|
|
1508
|
+
systemInfoVersionGet(version: string, options?: any): AxiosPromise<HandlersSystemMetadata>;
|
|
1453
1509
|
};
|
|
1454
1510
|
/**
|
|
1455
1511
|
* SystemInfoApi - object-oriented interface
|
|
@@ -1467,6 +1523,15 @@ export declare class SystemInfoApi extends BaseAPI {
|
|
|
1467
1523
|
* @memberof SystemInfoApi
|
|
1468
1524
|
*/
|
|
1469
1525
|
systemInfoClientUpdateVersionGet(version: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsOrgNoteClientUpdateInfo, any>>;
|
|
1526
|
+
/**
|
|
1527
|
+
* Get system info
|
|
1528
|
+
* @summary GetSystemInfo
|
|
1529
|
+
* @param {string} version provider
|
|
1530
|
+
* @param {*} [options] Override http request option.
|
|
1531
|
+
* @throws {RequiredError}
|
|
1532
|
+
* @memberof SystemInfoApi
|
|
1533
|
+
*/
|
|
1534
|
+
systemInfoVersionGet(version: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HandlersSystemMetadata, any>>;
|
|
1470
1535
|
}
|
|
1471
1536
|
/**
|
|
1472
1537
|
* TagsApi - axios parameter creator
|
package/remote-api/api.js
CHANGED
|
@@ -1258,6 +1258,35 @@ export const SystemInfoApiAxiosParamCreator = function (configuration) {
|
|
|
1258
1258
|
options: localVarRequestOptions,
|
|
1259
1259
|
};
|
|
1260
1260
|
},
|
|
1261
|
+
/**
|
|
1262
|
+
* Get system info
|
|
1263
|
+
* @summary GetSystemInfo
|
|
1264
|
+
* @param {string} version provider
|
|
1265
|
+
* @param {*} [options] Override http request option.
|
|
1266
|
+
* @throws {RequiredError}
|
|
1267
|
+
*/
|
|
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)));
|
|
1273
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1274
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1275
|
+
let baseOptions;
|
|
1276
|
+
if (configuration) {
|
|
1277
|
+
baseOptions = configuration.baseOptions;
|
|
1278
|
+
}
|
|
1279
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
1280
|
+
const localVarHeaderParameter = {};
|
|
1281
|
+
const localVarQueryParameter = {};
|
|
1282
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1283
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1284
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1285
|
+
return {
|
|
1286
|
+
url: toPathString(localVarUrlObj),
|
|
1287
|
+
options: localVarRequestOptions,
|
|
1288
|
+
};
|
|
1289
|
+
},
|
|
1261
1290
|
};
|
|
1262
1291
|
};
|
|
1263
1292
|
/**
|
|
@@ -1280,6 +1309,19 @@ export const SystemInfoApiFp = function (configuration) {
|
|
|
1280
1309
|
const localVarOperationServerBasePath = operationServerMap['SystemInfoApi.systemInfoClientUpdateVersionGet']?.[localVarOperationServerIndex]?.url;
|
|
1281
1310
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1282
1311
|
},
|
|
1312
|
+
/**
|
|
1313
|
+
* Get system info
|
|
1314
|
+
* @summary GetSystemInfo
|
|
1315
|
+
* @param {string} version provider
|
|
1316
|
+
* @param {*} [options] Override http request option.
|
|
1317
|
+
* @throws {RequiredError}
|
|
1318
|
+
*/
|
|
1319
|
+
async systemInfoVersionGet(version, options) {
|
|
1320
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.systemInfoVersionGet(version, options);
|
|
1321
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1322
|
+
const localVarOperationServerBasePath = operationServerMap['SystemInfoApi.systemInfoVersionGet']?.[localVarOperationServerIndex]?.url;
|
|
1323
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1324
|
+
},
|
|
1283
1325
|
};
|
|
1284
1326
|
};
|
|
1285
1327
|
/**
|
|
@@ -1299,6 +1341,16 @@ export const SystemInfoApiFactory = function (configuration, basePath, axios) {
|
|
|
1299
1341
|
systemInfoClientUpdateVersionGet(version, options) {
|
|
1300
1342
|
return localVarFp.systemInfoClientUpdateVersionGet(version, options).then((request) => request(axios, basePath));
|
|
1301
1343
|
},
|
|
1344
|
+
/**
|
|
1345
|
+
* Get system info
|
|
1346
|
+
* @summary GetSystemInfo
|
|
1347
|
+
* @param {string} version provider
|
|
1348
|
+
* @param {*} [options] Override http request option.
|
|
1349
|
+
* @throws {RequiredError}
|
|
1350
|
+
*/
|
|
1351
|
+
systemInfoVersionGet(version, options) {
|
|
1352
|
+
return localVarFp.systemInfoVersionGet(version, options).then((request) => request(axios, basePath));
|
|
1353
|
+
},
|
|
1302
1354
|
};
|
|
1303
1355
|
};
|
|
1304
1356
|
/**
|
|
@@ -1319,6 +1371,17 @@ export class SystemInfoApi extends BaseAPI {
|
|
|
1319
1371
|
systemInfoClientUpdateVersionGet(version, options) {
|
|
1320
1372
|
return SystemInfoApiFp(this.configuration).systemInfoClientUpdateVersionGet(version, options).then((request) => request(this.axios, this.basePath));
|
|
1321
1373
|
}
|
|
1374
|
+
/**
|
|
1375
|
+
* Get system info
|
|
1376
|
+
* @summary GetSystemInfo
|
|
1377
|
+
* @param {string} version provider
|
|
1378
|
+
* @param {*} [options] Override http request option.
|
|
1379
|
+
* @throws {RequiredError}
|
|
1380
|
+
* @memberof SystemInfoApi
|
|
1381
|
+
*/
|
|
1382
|
+
systemInfoVersionGet(version, options) {
|
|
1383
|
+
return SystemInfoApiFp(this.configuration).systemInfoVersionGet(version, options).then((request) => request(this.axios, this.basePath));
|
|
1384
|
+
}
|
|
1322
1385
|
}
|
|
1323
1386
|
/**
|
|
1324
1387
|
* TagsApi - axios parameter creator
|