@integrahub/vergefy-client 0.16.0 → 0.18.0
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 +2 -2
- package/dist/apis/APPPFMFormResponsesApi.d.ts +42 -0
- package/dist/apis/APPPFMFormResponsesApi.js +105 -0
- package/dist/apis/APPPFMIFormInstanceApi.d.ts +8 -8
- package/dist/apis/APPPFMIFormInstanceApi.js +8 -8
- package/dist/apis/PLATFORMLTNATenantManagementAccountApi.d.ts +22 -0
- package/dist/apis/PLATFORMLTNATenantManagementAccountApi.js +66 -0
- package/dist/apis/PLATFORMMCPOAuthQueryApi.d.ts +40 -0
- package/dist/apis/PLATFORMMCPOAuthQueryApi.js +96 -0
- package/dist/apis/PLATFORMPTCPlatformTenantConfigurationApi.d.ts +42 -0
- package/dist/apis/PLATFORMPTCPlatformTenantConfigurationApi.js +123 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/APPPFMFormResponsesApi.js +101 -0
- package/dist/esm/apis/APPPFMIFormInstanceApi.js +8 -8
- package/dist/esm/apis/PLATFORMLTNATenantManagementAccountApi.js +66 -0
- package/dist/esm/apis/PLATFORMMCPOAuthQueryApi.js +96 -0
- package/dist/esm/apis/PLATFORMPTCPlatformTenantConfigurationApi.js +123 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/DataResponseDTOListTenantConfigurationSchemaDTO.js +42 -0
- package/dist/esm/models/EmailAddressAliasDTO.js +82 -0
- package/dist/esm/models/EmailAddressDTO.js +3 -0
- package/dist/esm/models/EmailConfigurationDTO.js +3 -0
- package/dist/esm/models/EmailConfigurationSignatureSnippetDTO.js +80 -0
- package/dist/esm/models/EntitledAppDTO.js +2 -0
- package/dist/esm/models/InvoiceSearchApiDTO.js +2 -0
- package/dist/esm/models/TenantConfigurationSchemaDTO.js +110 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/DataResponseDTOListTenantConfigurationSchemaDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOListTenantConfigurationSchemaDTO.js +49 -0
- package/dist/models/EmailAddressAliasDTO.d.ts +134 -0
- package/dist/models/EmailAddressAliasDTO.js +90 -0
- package/dist/models/EmailAddressDTO.d.ts +7 -0
- package/dist/models/EmailAddressDTO.js +3 -0
- package/dist/models/EmailConfigurationDTO.d.ts +7 -0
- package/dist/models/EmailConfigurationDTO.js +3 -0
- package/dist/models/EmailConfigurationSignatureSnippetDTO.d.ts +128 -0
- package/dist/models/EmailConfigurationSignatureSnippetDTO.js +88 -0
- package/dist/models/EntitledAppDTO.d.ts +6 -0
- package/dist/models/EntitledAppDTO.js +2 -0
- package/dist/models/InvoiceSearchApiDTO.d.ts +6 -0
- package/dist/models/InvoiceSearchApiDTO.js +2 -0
- package/dist/models/TenantConfigurationSchemaDTO.d.ts +218 -0
- package/dist/models/TenantConfigurationSchemaDTO.js +118 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
|
@@ -24,6 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.PLATFORMPTCPlatformTenantConfigurationApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
|
+
const DataResponseDTOListTenantConfigurationSchemaDTO_1 = require("../models/DataResponseDTOListTenantConfigurationSchemaDTO");
|
|
27
28
|
const DataResponseDTOTenantConfigurationDTO_1 = require("../models/DataResponseDTOTenantConfigurationDTO");
|
|
28
29
|
const DataResponseDTOTenantConfigurationSchemaEntity_1 = require("../models/DataResponseDTOTenantConfigurationSchemaEntity");
|
|
29
30
|
const PageTenantConfigurationDTO_1 = require("../models/PageTenantConfigurationDTO");
|
|
@@ -505,5 +506,127 @@ class PLATFORMPTCPlatformTenantConfigurationApi extends runtime.BaseAPI {
|
|
|
505
506
|
return yield response.value();
|
|
506
507
|
});
|
|
507
508
|
}
|
|
509
|
+
/**
|
|
510
|
+
* Creates request options for pTC008 without sending the request
|
|
511
|
+
*/
|
|
512
|
+
pTC008RequestOpts(requestParameters) {
|
|
513
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
514
|
+
if (requestParameters['namespace'] == null) {
|
|
515
|
+
throw new runtime.RequiredError('namespace', 'Required parameter "namespace" was null or undefined when calling pTC008().');
|
|
516
|
+
}
|
|
517
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
518
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTC008().');
|
|
519
|
+
}
|
|
520
|
+
const queryParameters = {};
|
|
521
|
+
const headerParameters = {};
|
|
522
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
523
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
524
|
+
}
|
|
525
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
526
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
527
|
+
}
|
|
528
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
529
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
530
|
+
}
|
|
531
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
532
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
533
|
+
}
|
|
534
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
535
|
+
const token = this.configuration.accessToken;
|
|
536
|
+
const tokenString = yield token("BearerAuth", []);
|
|
537
|
+
if (tokenString) {
|
|
538
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
let urlPath = `/platform/tenant-configurations/schema/{namespace}`;
|
|
542
|
+
urlPath = urlPath.replace('{namespace}', encodeURIComponent(String(requestParameters['namespace'])));
|
|
543
|
+
return {
|
|
544
|
+
path: urlPath,
|
|
545
|
+
method: 'GET',
|
|
546
|
+
headers: headerParameters,
|
|
547
|
+
query: queryParameters,
|
|
548
|
+
};
|
|
549
|
+
});
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
* Lists every active schema definition within a configuration namespace, with the render metadata a settings UI needs (label key, layout group and order, input widget, value type, required permissions). Results are filtered to the entries whose own readPermission the caller holds, so an empty array means \'nothing here you may read\', NOT \'this namespace is unregistered\'.
|
|
553
|
+
* PTC008 - List Schema Registry Entries by Namespace
|
|
554
|
+
*/
|
|
555
|
+
pTC008Raw(requestParameters, initOverrides) {
|
|
556
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
557
|
+
const requestOptions = yield this.pTC008RequestOpts(requestParameters);
|
|
558
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
559
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOListTenantConfigurationSchemaDTO_1.DataResponseDTOListTenantConfigurationSchemaDTOFromJSON)(jsonValue));
|
|
560
|
+
});
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* Lists every active schema definition within a configuration namespace, with the render metadata a settings UI needs (label key, layout group and order, input widget, value type, required permissions). Results are filtered to the entries whose own readPermission the caller holds, so an empty array means \'nothing here you may read\', NOT \'this namespace is unregistered\'.
|
|
564
|
+
* PTC008 - List Schema Registry Entries by Namespace
|
|
565
|
+
*/
|
|
566
|
+
pTC008(requestParameters, initOverrides) {
|
|
567
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
568
|
+
const response = yield this.pTC008Raw(requestParameters, initOverrides);
|
|
569
|
+
return yield response.value();
|
|
570
|
+
});
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* Creates request options for pTC009 without sending the request
|
|
574
|
+
*/
|
|
575
|
+
pTC009RequestOpts(requestParameters) {
|
|
576
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
577
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
578
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTC009().');
|
|
579
|
+
}
|
|
580
|
+
const queryParameters = {};
|
|
581
|
+
const headerParameters = {};
|
|
582
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
583
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
584
|
+
}
|
|
585
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
586
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
587
|
+
}
|
|
588
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
589
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
590
|
+
}
|
|
591
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
592
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
593
|
+
}
|
|
594
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
595
|
+
const token = this.configuration.accessToken;
|
|
596
|
+
const tokenString = yield token("BearerAuth", []);
|
|
597
|
+
if (tokenString) {
|
|
598
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
let urlPath = `/platform/tenant-configurations/schema`;
|
|
602
|
+
return {
|
|
603
|
+
path: urlPath,
|
|
604
|
+
method: 'GET',
|
|
605
|
+
headers: headerParameters,
|
|
606
|
+
query: queryParameters,
|
|
607
|
+
};
|
|
608
|
+
});
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* Lists every active schema definition across every namespace, ordered by namespace then layout order. This is the discovery read: a client cannot enumerate what is configurable from its entitled apps: measured against the registry, only 5 of 48 registered namespaces correspond to an app (INT-2796). Results are filtered to the entries whose own readPermission the caller holds; an empty array means \'nothing you may read\', not an empty registry.
|
|
612
|
+
* PTC009 - List All Schema Registry Entries
|
|
613
|
+
*/
|
|
614
|
+
pTC009Raw(requestParameters, initOverrides) {
|
|
615
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
616
|
+
const requestOptions = yield this.pTC009RequestOpts(requestParameters);
|
|
617
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
618
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, DataResponseDTOListTenantConfigurationSchemaDTO_1.DataResponseDTOListTenantConfigurationSchemaDTOFromJSON)(jsonValue));
|
|
619
|
+
});
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Lists every active schema definition across every namespace, ordered by namespace then layout order. This is the discovery read: a client cannot enumerate what is configurable from its entitled apps: measured against the registry, only 5 of 48 registered namespaces correspond to an app (INT-2796). Results are filtered to the entries whose own readPermission the caller holds; an empty array means \'nothing you may read\', not an empty registry.
|
|
623
|
+
* PTC009 - List All Schema Registry Entries
|
|
624
|
+
*/
|
|
625
|
+
pTC009(requestParameters, initOverrides) {
|
|
626
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
627
|
+
const response = yield this.pTC009Raw(requestParameters, initOverrides);
|
|
628
|
+
return yield response.value();
|
|
629
|
+
});
|
|
630
|
+
}
|
|
508
631
|
}
|
|
509
632
|
exports.PLATFORMPTCPlatformTenantConfigurationApi = PLATFORMPTCPlatformTenantConfigurationApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -206,6 +206,7 @@ export * from './APPPFLAFleetAlertApi';
|
|
|
206
206
|
export * from './APPPFMAFormActionApi';
|
|
207
207
|
export * from './APPPFMCFormConfigurationApi';
|
|
208
208
|
export * from './APPPFMFormApi';
|
|
209
|
+
export * from './APPPFMFormResponsesApi';
|
|
209
210
|
export * from './APPPFMGFormGroupApi';
|
|
210
211
|
export * from './APPPFMIFormInstanceApi';
|
|
211
212
|
export * from './APPPFMSFormSessionApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -224,6 +224,7 @@ __exportStar(require("./APPPFLAFleetAlertApi"), exports);
|
|
|
224
224
|
__exportStar(require("./APPPFMAFormActionApi"), exports);
|
|
225
225
|
__exportStar(require("./APPPFMCFormConfigurationApi"), exports);
|
|
226
226
|
__exportStar(require("./APPPFMFormApi"), exports);
|
|
227
|
+
__exportStar(require("./APPPFMFormResponsesApi"), exports);
|
|
227
228
|
__exportStar(require("./APPPFMGFormGroupApi"), exports);
|
|
228
229
|
__exportStar(require("./APPPFMIFormInstanceApi"), exports);
|
|
229
230
|
__exportStar(require("./APPPFMSFormSessionApi"), exports);
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Vergefy API
|
|
5
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
8
|
+
* Contact: support@integrahub.co
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { PageFormInstanceDTOFromJSON, } from '../models/PageFormInstanceDTO';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class APPPFMFormResponsesApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Creates request options for pFM116 without sending the request
|
|
31
|
+
*/
|
|
32
|
+
pFM116RequestOpts(requestParameters) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters['formExternalId'] == null) {
|
|
35
|
+
throw new runtime.RequiredError('formExternalId', 'Required parameter "formExternalId" was null or undefined when calling pFM116().');
|
|
36
|
+
}
|
|
37
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pFM116().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
if (requestParameters['page'] != null) {
|
|
42
|
+
queryParameters['page'] = requestParameters['page'];
|
|
43
|
+
}
|
|
44
|
+
if (requestParameters['size'] != null) {
|
|
45
|
+
queryParameters['size'] = requestParameters['size'];
|
|
46
|
+
}
|
|
47
|
+
if (requestParameters['sort'] != null) {
|
|
48
|
+
queryParameters['sort'] = requestParameters['sort'];
|
|
49
|
+
}
|
|
50
|
+
const headerParameters = {};
|
|
51
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
52
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
53
|
+
}
|
|
54
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
55
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
56
|
+
}
|
|
57
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
58
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
59
|
+
}
|
|
60
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
61
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
62
|
+
}
|
|
63
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
64
|
+
const token = this.configuration.accessToken;
|
|
65
|
+
const tokenString = yield token("BearerAuth", []);
|
|
66
|
+
if (tokenString) {
|
|
67
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
let urlPath = `/app/forms/{formExternalId}/instances`;
|
|
71
|
+
urlPath = urlPath.replace('{formExternalId}', encodeURIComponent(String(requestParameters['formExternalId'])));
|
|
72
|
+
return {
|
|
73
|
+
path: urlPath,
|
|
74
|
+
method: 'GET',
|
|
75
|
+
headers: headerParameters,
|
|
76
|
+
query: queryParameters,
|
|
77
|
+
};
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Lists the form instances (responses) submitted to one form, newest-first by default. Forward-only: responses submitted before form-identity stamping shipped carry no form reference and are not returned — the schema records no way to recover which form they belonged to.
|
|
82
|
+
* PFM116 - Search Form Responses
|
|
83
|
+
*/
|
|
84
|
+
pFM116Raw(requestParameters, initOverrides) {
|
|
85
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
86
|
+
const requestOptions = yield this.pFM116RequestOpts(requestParameters);
|
|
87
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
88
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PageFormInstanceDTOFromJSON(jsonValue));
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Lists the form instances (responses) submitted to one form, newest-first by default. Forward-only: responses submitted before form-identity stamping shipped carry no form reference and are not returned — the schema records no way to recover which form they belonged to.
|
|
93
|
+
* PFM116 - Search Form Responses
|
|
94
|
+
*/
|
|
95
|
+
pFM116(requestParameters, initOverrides) {
|
|
96
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
97
|
+
const response = yield this.pFM116Raw(requestParameters, initOverrides);
|
|
98
|
+
return yield response.value();
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -270,8 +270,8 @@ export class APPPFMIFormInstanceApi extends runtime.BaseAPI {
|
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
272
|
/**
|
|
273
|
-
*
|
|
274
|
-
* PFM024 -
|
|
273
|
+
* Searches form instances for the tenant, paginated
|
|
274
|
+
* PFM024 - Search Form Instances
|
|
275
275
|
*/
|
|
276
276
|
pFM024Raw(requestParameters, initOverrides) {
|
|
277
277
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -281,8 +281,8 @@ export class APPPFMIFormInstanceApi extends runtime.BaseAPI {
|
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
283
|
/**
|
|
284
|
-
*
|
|
285
|
-
* PFM024 -
|
|
284
|
+
* Searches form instances for the tenant, paginated
|
|
285
|
+
* PFM024 - Search Form Instances
|
|
286
286
|
*/
|
|
287
287
|
pFM024(requestParameters, initOverrides) {
|
|
288
288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -333,8 +333,8 @@ export class APPPFMIFormInstanceApi extends runtime.BaseAPI {
|
|
|
333
333
|
});
|
|
334
334
|
}
|
|
335
335
|
/**
|
|
336
|
-
*
|
|
337
|
-
* PFM025 -
|
|
336
|
+
* Retrieves one form instance by its Id
|
|
337
|
+
* PFM025 - Get Form Instance By Id
|
|
338
338
|
*/
|
|
339
339
|
pFM025Raw(requestParameters, initOverrides) {
|
|
340
340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -344,8 +344,8 @@ export class APPPFMIFormInstanceApi extends runtime.BaseAPI {
|
|
|
344
344
|
});
|
|
345
345
|
}
|
|
346
346
|
/**
|
|
347
|
-
*
|
|
348
|
-
* PFM025 -
|
|
347
|
+
* Retrieves one form instance by its Id
|
|
348
|
+
* PFM025 - Get Form Instance By Id
|
|
349
349
|
*/
|
|
350
350
|
pFM025(requestParameters, initOverrides) {
|
|
351
351
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -494,6 +494,72 @@ export class PLATFORMLTNATenantManagementAccountApi extends runtime.BaseAPI {
|
|
|
494
494
|
yield this.lTN034Raw(requestParameters, initOverrides);
|
|
495
495
|
});
|
|
496
496
|
}
|
|
497
|
+
/**
|
|
498
|
+
* Creates request options for lTN066 without sending the request
|
|
499
|
+
*/
|
|
500
|
+
lTN066RequestOpts(requestParameters) {
|
|
501
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
502
|
+
if (requestParameters['accountId'] == null) {
|
|
503
|
+
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling lTN066().');
|
|
504
|
+
}
|
|
505
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
506
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling lTN066().');
|
|
507
|
+
}
|
|
508
|
+
const queryParameters = {};
|
|
509
|
+
if (requestParameters['includes'] != null) {
|
|
510
|
+
queryParameters['includes'] = requestParameters['includes'];
|
|
511
|
+
}
|
|
512
|
+
const headerParameters = {};
|
|
513
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
514
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
515
|
+
}
|
|
516
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
517
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
518
|
+
}
|
|
519
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
520
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
521
|
+
}
|
|
522
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
523
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
524
|
+
}
|
|
525
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
526
|
+
const token = this.configuration.accessToken;
|
|
527
|
+
const tokenString = yield token("BearerAuth", []);
|
|
528
|
+
if (tokenString) {
|
|
529
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
let urlPath = `/platform/accounts/{accountId}`;
|
|
533
|
+
urlPath = urlPath.replace('{accountId}', encodeURIComponent(String(requestParameters['accountId'])));
|
|
534
|
+
return {
|
|
535
|
+
path: urlPath,
|
|
536
|
+
method: 'GET',
|
|
537
|
+
headers: headerParameters,
|
|
538
|
+
query: queryParameters,
|
|
539
|
+
};
|
|
540
|
+
});
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* Reads one account in the CALLER\'S OWN tenant. Takes no tenantId parameter, so it cannot address another tenant at all — LTN024 is the cross-tenant admin search.
|
|
544
|
+
* LTN066 - Get Account By Id
|
|
545
|
+
*/
|
|
546
|
+
lTN066Raw(requestParameters, initOverrides) {
|
|
547
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
548
|
+
const requestOptions = yield this.lTN066RequestOpts(requestParameters);
|
|
549
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
550
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DataResponseDTOAccountDTOFromJSON(jsonValue));
|
|
551
|
+
});
|
|
552
|
+
}
|
|
553
|
+
/**
|
|
554
|
+
* Reads one account in the CALLER\'S OWN tenant. Takes no tenantId parameter, so it cannot address another tenant at all — LTN024 is the cross-tenant admin search.
|
|
555
|
+
* LTN066 - Get Account By Id
|
|
556
|
+
*/
|
|
557
|
+
lTN066(requestParameters, initOverrides) {
|
|
558
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
559
|
+
const response = yield this.lTN066Raw(requestParameters, initOverrides);
|
|
560
|
+
return yield response.value();
|
|
561
|
+
});
|
|
562
|
+
}
|
|
497
563
|
/**
|
|
498
564
|
* Creates request options for lTN110 without sending the request
|
|
499
565
|
*/
|
|
@@ -127,4 +127,100 @@ export class PLATFORMMCPOAuthQueryApi extends runtime.BaseAPI {
|
|
|
127
127
|
return yield response.value();
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* Creates request options for lMCP008 without sending the request
|
|
132
|
+
*/
|
|
133
|
+
lMCP008RequestOpts() {
|
|
134
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
135
|
+
const queryParameters = {};
|
|
136
|
+
const headerParameters = {};
|
|
137
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
138
|
+
const token = this.configuration.accessToken;
|
|
139
|
+
const tokenString = yield token("BearerAuth", []);
|
|
140
|
+
if (tokenString) {
|
|
141
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
let urlPath = `/pb/platform/mcp/.well-known/jwks.json`;
|
|
145
|
+
return {
|
|
146
|
+
path: urlPath,
|
|
147
|
+
method: 'GET',
|
|
148
|
+
headers: headerParameters,
|
|
149
|
+
query: queryParameters,
|
|
150
|
+
};
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Public JSON Web Key Set for the key the MCP authorization server signs its own resource-bound access tokens with. Returns an empty key set while minting is disabled. Public — a verifier must be able to fetch it without a credential.
|
|
155
|
+
* LMCP008 - JWKS for the MCP authorization server signing key
|
|
156
|
+
*/
|
|
157
|
+
lMCP008Raw(initOverrides) {
|
|
158
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
159
|
+
const requestOptions = yield this.lMCP008RequestOpts();
|
|
160
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
161
|
+
return new runtime.JSONApiResponse(response);
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Public JSON Web Key Set for the key the MCP authorization server signs its own resource-bound access tokens with. Returns an empty key set while minting is disabled. Public — a verifier must be able to fetch it without a credential.
|
|
166
|
+
* LMCP008 - JWKS for the MCP authorization server signing key
|
|
167
|
+
*/
|
|
168
|
+
lMCP008(initOverrides) {
|
|
169
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
170
|
+
const response = yield this.lMCP008Raw(initOverrides);
|
|
171
|
+
return yield response.value();
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Creates request options for lMCP009 without sending the request
|
|
176
|
+
*/
|
|
177
|
+
lMCP009RequestOpts(requestParameters) {
|
|
178
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
179
|
+
if (requestParameters['mcpIntrospectRequestDTO'] == null) {
|
|
180
|
+
throw new runtime.RequiredError('mcpIntrospectRequestDTO', 'Required parameter "mcpIntrospectRequestDTO" was null or undefined when calling lMCP009().');
|
|
181
|
+
}
|
|
182
|
+
const queryParameters = {};
|
|
183
|
+
const headerParameters = {};
|
|
184
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
185
|
+
if (requestParameters['xAmznMtlsClientcertSubject'] != null) {
|
|
186
|
+
headerParameters['X-Amzn-Mtls-Clientcert-Subject'] = String(requestParameters['xAmznMtlsClientcertSubject']);
|
|
187
|
+
}
|
|
188
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
189
|
+
const token = this.configuration.accessToken;
|
|
190
|
+
const tokenString = yield token("BearerAuth", []);
|
|
191
|
+
if (tokenString) {
|
|
192
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
let urlPath = `/pb/platform/mcp/token/exchange`;
|
|
196
|
+
return {
|
|
197
|
+
path: urlPath,
|
|
198
|
+
method: 'POST',
|
|
199
|
+
headers: headerParameters,
|
|
200
|
+
query: queryParameters,
|
|
201
|
+
body: McpIntrospectRequestDTOToJSON(requestParameters['mcpIntrospectRequestDTO']),
|
|
202
|
+
};
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Returns a short-lived Vergefy API access token for the user behind a live MCP connection, so the gateway never replays the token it was given. Requires a verified client certificate; reachable only via the mTLS listener.
|
|
207
|
+
* LMCP009 - Exchange an MCP token for an upstream credential
|
|
208
|
+
*/
|
|
209
|
+
lMCP009Raw(requestParameters, initOverrides) {
|
|
210
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
211
|
+
const requestOptions = yield this.lMCP009RequestOpts(requestParameters);
|
|
212
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
213
|
+
return new runtime.JSONApiResponse(response);
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
/**
|
|
217
|
+
* Returns a short-lived Vergefy API access token for the user behind a live MCP connection, so the gateway never replays the token it was given. Requires a verified client certificate; reachable only via the mTLS listener.
|
|
218
|
+
* LMCP009 - Exchange an MCP token for an upstream credential
|
|
219
|
+
*/
|
|
220
|
+
lMCP009(requestParameters, initOverrides) {
|
|
221
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
222
|
+
const response = yield this.lMCP009Raw(requestParameters, initOverrides);
|
|
223
|
+
return yield response.value();
|
|
224
|
+
});
|
|
225
|
+
}
|
|
130
226
|
}
|
|
@@ -21,6 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
+
import { DataResponseDTOListTenantConfigurationSchemaDTOFromJSON, } from '../models/DataResponseDTOListTenantConfigurationSchemaDTO';
|
|
24
25
|
import { DataResponseDTOTenantConfigurationDTOFromJSON, } from '../models/DataResponseDTOTenantConfigurationDTO';
|
|
25
26
|
import { DataResponseDTOTenantConfigurationSchemaEntityFromJSON, } from '../models/DataResponseDTOTenantConfigurationSchemaEntity';
|
|
26
27
|
import { PageTenantConfigurationDTOFromJSON, } from '../models/PageTenantConfigurationDTO';
|
|
@@ -502,4 +503,126 @@ export class PLATFORMPTCPlatformTenantConfigurationApi extends runtime.BaseAPI {
|
|
|
502
503
|
return yield response.value();
|
|
503
504
|
});
|
|
504
505
|
}
|
|
506
|
+
/**
|
|
507
|
+
* Creates request options for pTC008 without sending the request
|
|
508
|
+
*/
|
|
509
|
+
pTC008RequestOpts(requestParameters) {
|
|
510
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
511
|
+
if (requestParameters['namespace'] == null) {
|
|
512
|
+
throw new runtime.RequiredError('namespace', 'Required parameter "namespace" was null or undefined when calling pTC008().');
|
|
513
|
+
}
|
|
514
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
515
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTC008().');
|
|
516
|
+
}
|
|
517
|
+
const queryParameters = {};
|
|
518
|
+
const headerParameters = {};
|
|
519
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
520
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
521
|
+
}
|
|
522
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
523
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
524
|
+
}
|
|
525
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
526
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
527
|
+
}
|
|
528
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
529
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
530
|
+
}
|
|
531
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
532
|
+
const token = this.configuration.accessToken;
|
|
533
|
+
const tokenString = yield token("BearerAuth", []);
|
|
534
|
+
if (tokenString) {
|
|
535
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
let urlPath = `/platform/tenant-configurations/schema/{namespace}`;
|
|
539
|
+
urlPath = urlPath.replace('{namespace}', encodeURIComponent(String(requestParameters['namespace'])));
|
|
540
|
+
return {
|
|
541
|
+
path: urlPath,
|
|
542
|
+
method: 'GET',
|
|
543
|
+
headers: headerParameters,
|
|
544
|
+
query: queryParameters,
|
|
545
|
+
};
|
|
546
|
+
});
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* Lists every active schema definition within a configuration namespace, with the render metadata a settings UI needs (label key, layout group and order, input widget, value type, required permissions). Results are filtered to the entries whose own readPermission the caller holds, so an empty array means \'nothing here you may read\', NOT \'this namespace is unregistered\'.
|
|
550
|
+
* PTC008 - List Schema Registry Entries by Namespace
|
|
551
|
+
*/
|
|
552
|
+
pTC008Raw(requestParameters, initOverrides) {
|
|
553
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
554
|
+
const requestOptions = yield this.pTC008RequestOpts(requestParameters);
|
|
555
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
556
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DataResponseDTOListTenantConfigurationSchemaDTOFromJSON(jsonValue));
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Lists every active schema definition within a configuration namespace, with the render metadata a settings UI needs (label key, layout group and order, input widget, value type, required permissions). Results are filtered to the entries whose own readPermission the caller holds, so an empty array means \'nothing here you may read\', NOT \'this namespace is unregistered\'.
|
|
561
|
+
* PTC008 - List Schema Registry Entries by Namespace
|
|
562
|
+
*/
|
|
563
|
+
pTC008(requestParameters, initOverrides) {
|
|
564
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
565
|
+
const response = yield this.pTC008Raw(requestParameters, initOverrides);
|
|
566
|
+
return yield response.value();
|
|
567
|
+
});
|
|
568
|
+
}
|
|
569
|
+
/**
|
|
570
|
+
* Creates request options for pTC009 without sending the request
|
|
571
|
+
*/
|
|
572
|
+
pTC009RequestOpts(requestParameters) {
|
|
573
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
574
|
+
if (requestParameters['xAppAccountId'] == null) {
|
|
575
|
+
throw new runtime.RequiredError('xAppAccountId', 'Required parameter "xAppAccountId" was null or undefined when calling pTC009().');
|
|
576
|
+
}
|
|
577
|
+
const queryParameters = {};
|
|
578
|
+
const headerParameters = {};
|
|
579
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
580
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
581
|
+
}
|
|
582
|
+
if (requestParameters['xAppAccountId'] != null) {
|
|
583
|
+
headerParameters['X-App-Account-Id'] = String(requestParameters['xAppAccountId']);
|
|
584
|
+
}
|
|
585
|
+
if (requestParameters['vergefyVersion'] != null) {
|
|
586
|
+
headerParameters['Vergefy-Version'] = String(requestParameters['vergefyVersion']);
|
|
587
|
+
}
|
|
588
|
+
if (requestParameters['acceptTimezone'] != null) {
|
|
589
|
+
headerParameters['Accept-Timezone'] = String(requestParameters['acceptTimezone']);
|
|
590
|
+
}
|
|
591
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
592
|
+
const token = this.configuration.accessToken;
|
|
593
|
+
const tokenString = yield token("BearerAuth", []);
|
|
594
|
+
if (tokenString) {
|
|
595
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
let urlPath = `/platform/tenant-configurations/schema`;
|
|
599
|
+
return {
|
|
600
|
+
path: urlPath,
|
|
601
|
+
method: 'GET',
|
|
602
|
+
headers: headerParameters,
|
|
603
|
+
query: queryParameters,
|
|
604
|
+
};
|
|
605
|
+
});
|
|
606
|
+
}
|
|
607
|
+
/**
|
|
608
|
+
* Lists every active schema definition across every namespace, ordered by namespace then layout order. This is the discovery read: a client cannot enumerate what is configurable from its entitled apps: measured against the registry, only 5 of 48 registered namespaces correspond to an app (INT-2796). Results are filtered to the entries whose own readPermission the caller holds; an empty array means \'nothing you may read\', not an empty registry.
|
|
609
|
+
* PTC009 - List All Schema Registry Entries
|
|
610
|
+
*/
|
|
611
|
+
pTC009Raw(requestParameters, initOverrides) {
|
|
612
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
613
|
+
const requestOptions = yield this.pTC009RequestOpts(requestParameters);
|
|
614
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
615
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => DataResponseDTOListTenantConfigurationSchemaDTOFromJSON(jsonValue));
|
|
616
|
+
});
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* Lists every active schema definition across every namespace, ordered by namespace then layout order. This is the discovery read: a client cannot enumerate what is configurable from its entitled apps: measured against the registry, only 5 of 48 registered namespaces correspond to an app (INT-2796). Results are filtered to the entries whose own readPermission the caller holds; an empty array means \'nothing you may read\', not an empty registry.
|
|
620
|
+
* PTC009 - List All Schema Registry Entries
|
|
621
|
+
*/
|
|
622
|
+
pTC009(requestParameters, initOverrides) {
|
|
623
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
624
|
+
const response = yield this.pTC009Raw(requestParameters, initOverrides);
|
|
625
|
+
return yield response.value();
|
|
626
|
+
});
|
|
627
|
+
}
|
|
505
628
|
}
|
package/dist/esm/apis/index.js
CHANGED
|
@@ -208,6 +208,7 @@ export * from './APPPFLAFleetAlertApi';
|
|
|
208
208
|
export * from './APPPFMAFormActionApi';
|
|
209
209
|
export * from './APPPFMCFormConfigurationApi';
|
|
210
210
|
export * from './APPPFMFormApi';
|
|
211
|
+
export * from './APPPFMFormResponsesApi';
|
|
211
212
|
export * from './APPPFMGFormGroupApi';
|
|
212
213
|
export * from './APPPFMIFormInstanceApi';
|
|
213
214
|
export * from './APPPFMSFormSessionApi';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* Mirrors the canonical Java `ext/Telemetry`.
|
|
9
9
|
*/
|
|
10
10
|
/** Kept in sync with `vergefySdkVersion` (the published artifact version). */
|
|
11
|
-
export const VERSION = '0.
|
|
11
|
+
export const VERSION = '0.18.0';
|
|
12
12
|
const NAME = 'vergefy-typescript-client';
|
|
13
13
|
/** The `User-Agent` value, e.g. `vergefy-typescript-client/0.1.0`. */
|
|
14
14
|
export function userAgent() {
|