@integrahub/vergefy-client 0.9.0 → 0.11.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.
Files changed (77) hide show
  1. package/README.md +2 -2
  2. package/dist/apis/AIIAGAgentApi.d.ts +4 -4
  3. package/dist/apis/AIIAGAgentApi.js +3 -8
  4. package/dist/apis/APIAFLFlagApi.d.ts +209 -0
  5. package/dist/apis/APIAFLFlagApi.js +554 -0
  6. package/dist/apis/APIAISOIntegrationShopifyApi.d.ts +22 -0
  7. package/dist/apis/APIAISOIntegrationShopifyApi.js +66 -0
  8. package/dist/apis/APIASUPSubscriptionPublicBridgeApi.d.ts +19 -0
  9. package/dist/apis/APIASUPSubscriptionPublicBridgeApi.js +54 -0
  10. package/dist/apis/PLATFORMLTNATenantManagementAccountApi.d.ts +25 -0
  11. package/dist/apis/PLATFORMLTNATenantManagementAccountApi.js +77 -0
  12. package/dist/apis/PLATFORMLTNTenantManagementApi.d.ts +21 -0
  13. package/dist/apis/PLATFORMLTNTenantManagementApi.js +60 -0
  14. package/dist/apis/index.d.ts +1 -0
  15. package/dist/apis/index.js +1 -0
  16. package/dist/esm/apis/AIIAGAgentApi.js +3 -8
  17. package/dist/esm/apis/APIAFLFlagApi.js +550 -0
  18. package/dist/esm/apis/APIAISOIntegrationShopifyApi.js +66 -0
  19. package/dist/esm/apis/APIASUPSubscriptionPublicBridgeApi.js +54 -0
  20. package/dist/esm/apis/PLATFORMLTNATenantManagementAccountApi.js +77 -0
  21. package/dist/esm/apis/PLATFORMLTNTenantManagementApi.js +60 -0
  22. package/dist/esm/apis/index.js +1 -0
  23. package/dist/esm/ext/telemetry.js +1 -1
  24. package/dist/esm/models/DataResponseDTOFlagDTO.js +42 -0
  25. package/dist/esm/models/DataResponseDTOFlagEnvironmentValueDTO.js +42 -0
  26. package/dist/esm/models/DataResponseDTOListFlagEvaluationResultDTO.js +42 -0
  27. package/dist/esm/models/DataResponseDTOListTenantDTO.js +42 -0
  28. package/dist/esm/models/EntitlementSummaryResponseDTO.js +58 -0
  29. package/dist/esm/models/EventDTO.js +2 -0
  30. package/dist/esm/models/FlagCreateApiDTO.js +67 -0
  31. package/dist/esm/models/FlagDTO.js +98 -0
  32. package/dist/esm/models/FlagEnvironmentValueDTO.js +83 -0
  33. package/dist/esm/models/FlagEvaluationRequestDTO.js +47 -0
  34. package/dist/esm/models/FlagEvaluationResultDTO.js +55 -0
  35. package/dist/esm/models/FlagUpdateApiDTO.js +61 -0
  36. package/dist/esm/models/FlagVariantDTO.js +85 -0
  37. package/dist/esm/models/PageFlagDTO.js +64 -0
  38. package/dist/esm/models/ShopifyConfigurationLookupDTO.js +59 -0
  39. package/dist/esm/models/index.js +14 -0
  40. package/dist/ext/telemetry.d.ts +1 -1
  41. package/dist/ext/telemetry.js +1 -1
  42. package/dist/models/CapabilityCreateApiDTO.d.ts +2 -4
  43. package/dist/models/CapabilityDTO.d.ts +2 -4
  44. package/dist/models/CapabilityUpdateApiDTO.d.ts +2 -4
  45. package/dist/models/DataResponseDTOFlagDTO.d.ts +33 -0
  46. package/dist/models/DataResponseDTOFlagDTO.js +49 -0
  47. package/dist/models/DataResponseDTOFlagEnvironmentValueDTO.d.ts +33 -0
  48. package/dist/models/DataResponseDTOFlagEnvironmentValueDTO.js +49 -0
  49. package/dist/models/DataResponseDTOListFlagEvaluationResultDTO.d.ts +33 -0
  50. package/dist/models/DataResponseDTOListFlagEvaluationResultDTO.js +49 -0
  51. package/dist/models/DataResponseDTOListTenantDTO.d.ts +33 -0
  52. package/dist/models/DataResponseDTOListTenantDTO.js +49 -0
  53. package/dist/models/EntitlementSummaryResponseDTO.d.ts +70 -0
  54. package/dist/models/EntitlementSummaryResponseDTO.js +66 -0
  55. package/dist/models/EventDTO.d.ts +6 -0
  56. package/dist/models/EventDTO.js +2 -0
  57. package/dist/models/FlagCreateApiDTO.d.ts +79 -0
  58. package/dist/models/FlagCreateApiDTO.js +75 -0
  59. package/dist/models/FlagDTO.d.ts +166 -0
  60. package/dist/models/FlagDTO.js +106 -0
  61. package/dist/models/FlagEnvironmentValueDTO.d.ts +140 -0
  62. package/dist/models/FlagEnvironmentValueDTO.js +91 -0
  63. package/dist/models/FlagEvaluationRequestDTO.d.ts +44 -0
  64. package/dist/models/FlagEvaluationRequestDTO.js +54 -0
  65. package/dist/models/FlagEvaluationResultDTO.d.ts +74 -0
  66. package/dist/models/FlagEvaluationResultDTO.js +62 -0
  67. package/dist/models/FlagUpdateApiDTO.d.ts +73 -0
  68. package/dist/models/FlagUpdateApiDTO.js +69 -0
  69. package/dist/models/FlagVariantDTO.d.ts +140 -0
  70. package/dist/models/FlagVariantDTO.js +93 -0
  71. package/dist/models/PageFlagDTO.d.ts +95 -0
  72. package/dist/models/PageFlagDTO.js +71 -0
  73. package/dist/models/ShopifyConfigurationLookupDTO.d.ts +63 -0
  74. package/dist/models/ShopifyConfigurationLookupDTO.js +67 -0
  75. package/dist/models/index.d.ts +14 -0
  76. package/dist/models/index.js +14 -0
  77. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @integrahub/vergefy-client@0.9.0
1
+ # @integrahub/vergefy-client@0.11.0
2
2
 
3
3
  A TypeScript SDK client for the your-vergefy-host.invalid API.
4
4
 
@@ -90,7 +90,7 @@ and is automatically generated by the
90
90
  [OpenAPI Generator](https://openapi-generator.tech) project:
91
91
 
92
92
  - API version: `2026-05-30`
93
- - Package version: `0.9.0`
93
+ - Package version: `0.11.0`
94
94
  - Generator version: `7.22.0`
95
95
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
96
96
 
@@ -387,15 +387,15 @@ export declare class AIIAGAgentApi extends runtime.BaseAPI {
387
387
  */
388
388
  iAG007RequestOpts(requestParameters: IAG007Request): Promise<runtime.RequestOpts>;
389
389
  /**
390
- * Resets the monthly usage counter for an AI agent
390
+ * Platform-operator only. Resets the monthly usage counter for ONE AI agent, identified by path id. Restricted to the system tenant: the counter is platform-owned operational data, so a tenant must not be able to clear its own.
391
391
  * IAG007 - Reset Monthly Usage
392
392
  */
393
- iAG007Raw(requestParameters: IAG007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<number>>;
393
+ iAG007Raw(requestParameters: IAG007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentDTO>>;
394
394
  /**
395
- * Resets the monthly usage counter for an AI agent
395
+ * Platform-operator only. Resets the monthly usage counter for ONE AI agent, identified by path id. Restricted to the system tenant: the counter is platform-owned operational data, so a tenant must not be able to clear its own.
396
396
  * IAG007 - Reset Monthly Usage
397
397
  */
398
- iAG007(requestParameters: IAG007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<number>;
398
+ iAG007(requestParameters: IAG007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentDTO>;
399
399
  /**
400
400
  * Creates request options for iAG008 without sending the request
401
401
  */
@@ -463,23 +463,18 @@ class AIIAGAgentApi extends runtime.BaseAPI {
463
463
  });
464
464
  }
465
465
  /**
466
- * Resets the monthly usage counter for an AI agent
466
+ * Platform-operator only. Resets the monthly usage counter for ONE AI agent, identified by path id. Restricted to the system tenant: the counter is platform-owned operational data, so a tenant must not be able to clear its own.
467
467
  * IAG007 - Reset Monthly Usage
468
468
  */
469
469
  iAG007Raw(requestParameters, initOverrides) {
470
470
  return __awaiter(this, void 0, void 0, function* () {
471
471
  const requestOptions = yield this.iAG007RequestOpts(requestParameters);
472
472
  const response = yield this.request(requestOptions, initOverrides);
473
- if (this.isJsonMime(response.headers.get('content-type'))) {
474
- return new runtime.JSONApiResponse(response);
475
- }
476
- else {
477
- return new runtime.TextApiResponse(response);
478
- }
473
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, AgentDTO_1.AgentDTOFromJSON)(jsonValue));
479
474
  });
480
475
  }
481
476
  /**
482
- * Resets the monthly usage counter for an AI agent
477
+ * Platform-operator only. Resets the monthly usage counter for ONE AI agent, identified by path id. Restricted to the system tenant: the counter is platform-owned operational data, so a tenant must not be able to clear its own.
483
478
  * IAG007 - Reset Monthly Usage
484
479
  */
485
480
  iAG007(requestParameters, initOverrides) {
@@ -0,0 +1,209 @@
1
+ /**
2
+ * Vergefy API
3
+ * <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>
4
+ *
5
+ * The version of the OpenAPI document: 2026-05-30
6
+ * Contact: support@integrahub.co
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import { type DataResponseDTOFlagDTO } from '../models/DataResponseDTOFlagDTO';
14
+ import { type DataResponseDTOFlagEnvironmentValueDTO } from '../models/DataResponseDTOFlagEnvironmentValueDTO';
15
+ import { type DataResponseDTOListFlagEvaluationResultDTO } from '../models/DataResponseDTOListFlagEvaluationResultDTO';
16
+ import { type FlagCreateApiDTO } from '../models/FlagCreateApiDTO';
17
+ import { type FlagEnvironmentValueDTO } from '../models/FlagEnvironmentValueDTO';
18
+ import { type FlagEvaluationRequestDTO } from '../models/FlagEvaluationRequestDTO';
19
+ import { type FlagUpdateApiDTO } from '../models/FlagUpdateApiDTO';
20
+ import { type PageFlagDTO } from '../models/PageFlagDTO';
21
+ export interface AFL001Request {
22
+ xAppAccountId: string;
23
+ flagCreateApiDTO: FlagCreateApiDTO;
24
+ acceptLanguage?: string;
25
+ vergefyVersion?: string;
26
+ acceptTimezone?: string;
27
+ }
28
+ export interface AFL002Request {
29
+ id: string;
30
+ xAppAccountId: string;
31
+ flagUpdateApiDTO: FlagUpdateApiDTO;
32
+ acceptLanguage?: string;
33
+ vergefyVersion?: string;
34
+ acceptTimezone?: string;
35
+ }
36
+ export interface AFL003Request {
37
+ id: string;
38
+ xAppAccountId: string;
39
+ acceptLanguage?: string;
40
+ vergefyVersion?: string;
41
+ acceptTimezone?: string;
42
+ }
43
+ export interface AFL004Request {
44
+ xAppAccountId: string;
45
+ slug?: string;
46
+ projectKey?: string;
47
+ flagTypes?: Array<string>;
48
+ enabled?: boolean;
49
+ search?: string;
50
+ entityStatuses?: Array<AFL004EntityStatusesEnum>;
51
+ ids?: Array<string>;
52
+ uuids?: Array<string>;
53
+ externalIds?: Array<string>;
54
+ customIds?: Array<string>;
55
+ createdAtStart?: Date;
56
+ createdAtEnd?: Date;
57
+ page?: number;
58
+ size?: number;
59
+ sort?: Array<string>;
60
+ acceptLanguage?: string;
61
+ vergefyVersion?: string;
62
+ acceptTimezone?: string;
63
+ }
64
+ export interface AFL005Request {
65
+ id: string;
66
+ xAppAccountId: string;
67
+ acceptLanguage?: string;
68
+ vergefyVersion?: string;
69
+ acceptTimezone?: string;
70
+ }
71
+ export interface AFL006Request {
72
+ xAppAccountId: string;
73
+ flagEvaluationRequestDTO: FlagEvaluationRequestDTO;
74
+ acceptLanguage?: string;
75
+ vergefyVersion?: string;
76
+ acceptTimezone?: string;
77
+ }
78
+ export interface AFL007Request {
79
+ id: string;
80
+ environment: AFL007EnvironmentEnum;
81
+ xAppAccountId: string;
82
+ flagEnvironmentValueDTO: Omit<FlagEnvironmentValueDTO, 'flagId'>;
83
+ acceptLanguage?: string;
84
+ vergefyVersion?: string;
85
+ acceptTimezone?: string;
86
+ }
87
+ /**
88
+ *
89
+ */
90
+ export declare class APIAFLFlagApi extends runtime.BaseAPI {
91
+ /**
92
+ * Creates request options for aFL001 without sending the request
93
+ */
94
+ aFL001RequestOpts(requestParameters: AFL001Request): Promise<runtime.RequestOpts>;
95
+ /**
96
+ * Creates a feature flag with a tenant-unique slug, a value type, and an optional ordered list of variants. The flag starts with its master kill-switch off unless stated otherwise.
97
+ * AFL001 - Create Flag
98
+ */
99
+ aFL001Raw(requestParameters: AFL001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOFlagDTO>>;
100
+ /**
101
+ * Creates a feature flag with a tenant-unique slug, a value type, and an optional ordered list of variants. The flag starts with its master kill-switch off unless stated otherwise.
102
+ * AFL001 - Create Flag
103
+ */
104
+ aFL001(requestParameters: AFL001Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOFlagDTO>;
105
+ /**
106
+ * Creates request options for aFL002 without sending the request
107
+ */
108
+ aFL002RequestOpts(requestParameters: AFL002Request): Promise<runtime.RequestOpts>;
109
+ /**
110
+ * Partially updates a feature flag. Null fields are left untouched. Supplying a variant list replaces the current variants wholesale; omitting it leaves them alone. The slug is immutable.
111
+ * AFL002 - Update Flag
112
+ */
113
+ aFL002Raw(requestParameters: AFL002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
114
+ /**
115
+ * Partially updates a feature flag. Null fields are left untouched. Supplying a variant list replaces the current variants wholesale; omitting it leaves them alone. The slug is immutable.
116
+ * AFL002 - Update Flag
117
+ */
118
+ aFL002(requestParameters: AFL002Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
119
+ /**
120
+ * Creates request options for aFL003 without sending the request
121
+ */
122
+ aFL003RequestOpts(requestParameters: AFL003Request): Promise<runtime.RequestOpts>;
123
+ /**
124
+ * Soft-deletes a feature flag together with its variants and per-environment values, freeing the slug for reuse.
125
+ * AFL003 - Delete Flag
126
+ */
127
+ aFL003Raw(requestParameters: AFL003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
128
+ /**
129
+ * Soft-deletes a feature flag together with its variants and per-environment values, freeing the slug for reuse.
130
+ * AFL003 - Delete Flag
131
+ */
132
+ aFL003(requestParameters: AFL003Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
133
+ /**
134
+ * Creates request options for aFL004 without sending the request
135
+ */
136
+ aFL004RequestOpts(requestParameters: AFL004Request): Promise<runtime.RequestOpts>;
137
+ /**
138
+ * Searches feature flags with pagination. Filters by slug, project, type and master kill-switch state; free-text search matches the slug and the name. Variants and per-environment values are not included — retrieve a single flag for those.
139
+ * AFL004 - Search Flags
140
+ */
141
+ aFL004Raw(requestParameters: AFL004Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PageFlagDTO>>;
142
+ /**
143
+ * Searches feature flags with pagination. Filters by slug, project, type and master kill-switch state; free-text search matches the slug and the name. Variants and per-environment values are not included — retrieve a single flag for those.
144
+ * AFL004 - Search Flags
145
+ */
146
+ aFL004(requestParameters: AFL004Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PageFlagDTO>;
147
+ /**
148
+ * Creates request options for aFL005 without sending the request
149
+ */
150
+ aFL005RequestOpts(requestParameters: AFL005Request): Promise<runtime.RequestOpts>;
151
+ /**
152
+ * Retrieves one feature flag with its ordered variants and every per-environment value configured for it.
153
+ * AFL005 - Get Flag By Id
154
+ */
155
+ aFL005Raw(requestParameters: AFL005Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOFlagDTO>>;
156
+ /**
157
+ * Retrieves one feature flag with its ordered variants and every per-environment value configured for it.
158
+ * AFL005 - Get Flag By Id
159
+ */
160
+ aFL005(requestParameters: AFL005Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOFlagDTO>;
161
+ /**
162
+ * Creates request options for aFL006 without sending the request
163
+ */
164
+ aFL006RequestOpts(requestParameters: AFL006Request): Promise<runtime.RequestOpts>;
165
+ /**
166
+ * Resolves the effective value of the requested flags in one environment. A flag with no value configured for that environment falls back to its disabled state and is reported as defaulted, so callers can tell \'explicitly off\' from \'never configured\'.
167
+ * AFL006 - Evaluate Flags
168
+ */
169
+ aFL006Raw(requestParameters: AFL006Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOListFlagEvaluationResultDTO>>;
170
+ /**
171
+ * Resolves the effective value of the requested flags in one environment. A flag with no value configured for that environment falls back to its disabled state and is reported as defaulted, so callers can tell \'explicitly off\' from \'never configured\'.
172
+ * AFL006 - Evaluate Flags
173
+ */
174
+ aFL006(requestParameters: AFL006Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOListFlagEvaluationResultDTO>;
175
+ /**
176
+ * Creates request options for aFL007 without sending the request
177
+ */
178
+ aFL007RequestOpts(requestParameters: AFL007Request): Promise<runtime.RequestOpts>;
179
+ /**
180
+ * Sets the value of a flag in one environment, creating the row on first write. The environment in the path is authoritative; any environment in the body is ignored.
181
+ * AFL007 - Set Flag Environment Value
182
+ */
183
+ aFL007Raw(requestParameters: AFL007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DataResponseDTOFlagEnvironmentValueDTO>>;
184
+ /**
185
+ * Sets the value of a flag in one environment, creating the row on first write. The environment in the path is authoritative; any environment in the body is ignored.
186
+ * AFL007 - Set Flag Environment Value
187
+ */
188
+ aFL007(requestParameters: AFL007Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DataResponseDTOFlagEnvironmentValueDTO>;
189
+ }
190
+ /**
191
+ * @export
192
+ */
193
+ export declare const AFL004EntityStatusesEnum: {
194
+ readonly Active: "ACTIVE";
195
+ readonly Passive: "PASSIVE";
196
+ readonly Archived: "ARCHIVED";
197
+ readonly Deleted: "DELETED";
198
+ readonly Pending: "PENDING";
199
+ };
200
+ export type AFL004EntityStatusesEnum = typeof AFL004EntityStatusesEnum[keyof typeof AFL004EntityStatusesEnum];
201
+ /**
202
+ * @export
203
+ */
204
+ export declare const AFL007EnvironmentEnum: {
205
+ readonly Production: "PRODUCTION";
206
+ readonly Preview: "PREVIEW";
207
+ readonly Development: "DEVELOPMENT";
208
+ };
209
+ export type AFL007EnvironmentEnum = typeof AFL007EnvironmentEnum[keyof typeof AFL007EnvironmentEnum];