@amigo-ai/platform-sdk 0.4.1 → 0.4.3
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 +111 -0
- package/api.md +347 -0
- package/dist/core/errors.js +26 -4
- package/dist/core/errors.js.map +1 -1
- package/dist/core/openapi-client.js +164 -28
- package/dist/core/openapi-client.js.map +1 -1
- package/dist/core/request-options.js +80 -0
- package/dist/core/request-options.js.map +1 -0
- package/dist/core/retry.js +5 -2
- package/dist/core/retry.js.map +1 -1
- package/dist/core/utils.js +48 -2
- package/dist/core/utils.js.map +1 -1
- package/dist/core/webhooks.js +9 -0
- package/dist/core/webhooks.js.map +1 -1
- package/dist/index.cjs +538 -84
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +113 -30
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +538 -84
- package/dist/index.mjs.map +4 -4
- package/dist/resources/base.js +33 -0
- package/dist/resources/base.js.map +1 -1
- package/dist/types/core/errors.d.ts +6 -0
- package/dist/types/core/errors.d.ts.map +1 -1
- package/dist/types/core/openapi-client.d.ts +26 -1
- package/dist/types/core/openapi-client.d.ts.map +1 -1
- package/dist/types/core/request-options.d.ts +66 -0
- package/dist/types/core/request-options.d.ts.map +1 -0
- package/dist/types/core/retry.d.ts +1 -1
- package/dist/types/core/retry.d.ts.map +1 -1
- package/dist/types/core/utils.d.ts +27 -1
- package/dist/types/core/utils.d.ts.map +1 -1
- package/dist/types/core/webhooks.d.ts.map +1 -1
- package/dist/types/index.d.ts +31 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/resources/actions.d.ts +5 -5
- package/dist/types/resources/agents.d.ts +7 -7
- package/dist/types/resources/analytics.d.ts +11 -11
- package/dist/types/resources/api-keys.d.ts +4 -4
- package/dist/types/resources/audit.d.ts +6 -6
- package/dist/types/resources/base.d.ts +8 -3
- package/dist/types/resources/base.d.ts.map +1 -1
- package/dist/types/resources/billing.d.ts +6 -6
- package/dist/types/resources/calls.d.ts +6 -6
- package/dist/types/resources/compliance.d.ts +3 -3
- package/dist/types/resources/context-graphs.d.ts +7 -7
- package/dist/types/resources/data-sources.d.ts +6 -6
- package/dist/types/resources/functions.d.ts +6 -6
- package/dist/types/resources/integrations.d.ts +6 -6
- package/dist/types/resources/memory.d.ts +3 -3
- package/dist/types/resources/operators.d.ts +18 -18
- package/dist/types/resources/personas.d.ts +4 -4
- package/dist/types/resources/phone-numbers.d.ts +5 -5
- package/dist/types/resources/recordings.d.ts +2 -2
- package/dist/types/resources/review-queue.d.ts +17 -17
- package/dist/types/resources/safety.d.ts +5 -5
- package/dist/types/resources/services.d.ts +4 -4
- package/dist/types/resources/settings.d.ts +14 -14
- package/dist/types/resources/simulations.d.ts +6 -6
- package/dist/types/resources/skills.d.ts +5 -5
- package/dist/types/resources/triggers.d.ts +8 -8
- package/dist/types/resources/webhook-destinations.d.ts +6 -6
- package/dist/types/resources/workspaces.d.ts +5 -5
- package/dist/types/resources/world.d.ts +18 -18
- package/package.json +6 -2
package/dist/index.js
CHANGED
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
import { ConfigurationError } from './core/errors.js';
|
|
20
|
-
import { createPlatformClient } from './core/openapi-client.js';
|
|
20
|
+
import { applyPlatformRequestOptions, createPlatformClient, } from './core/openapi-client.js';
|
|
21
|
+
import { mergeRequestOptions, } from './core/request-options.js';
|
|
21
22
|
import { WorkspacesResource } from './resources/workspaces.js';
|
|
22
23
|
import { ApiKeysResource } from './resources/api-keys.js';
|
|
23
24
|
import { AgentsResource } from './resources/agents.js';
|
|
@@ -45,8 +46,12 @@ import { WebhookDestinationsResource } from './resources/webhook-destinations.js
|
|
|
45
46
|
import { SafetyResource } from './resources/safety.js';
|
|
46
47
|
import { ComplianceResource } from './resources/compliance.js';
|
|
47
48
|
import { FunctionsResource } from './resources/functions.js';
|
|
49
|
+
import { resolveScopedPlatformClient, scopePlatformClient } from './resources/base.js';
|
|
50
|
+
import { withResponse } from './core/utils.js';
|
|
48
51
|
export const DEFAULT_BASE_URL = 'https://api.platform.amigo.ai';
|
|
49
52
|
export class AmigoClient {
|
|
53
|
+
workspaceId;
|
|
54
|
+
baseUrl;
|
|
50
55
|
workspaces;
|
|
51
56
|
apiKeys;
|
|
52
57
|
agents;
|
|
@@ -75,6 +80,7 @@ export class AmigoClient {
|
|
|
75
80
|
safety;
|
|
76
81
|
compliance;
|
|
77
82
|
functions;
|
|
83
|
+
api;
|
|
78
84
|
constructor(config) {
|
|
79
85
|
if (!config.apiKey || typeof config.apiKey !== 'string') {
|
|
80
86
|
throw new ConfigurationError('apiKey is required and must be a non-empty string');
|
|
@@ -87,41 +93,118 @@ export class AmigoClient {
|
|
|
87
93
|
apiKey: config.apiKey,
|
|
88
94
|
baseUrl,
|
|
89
95
|
retry: config.retry,
|
|
96
|
+
maxRetries: config.maxRetries,
|
|
97
|
+
timeout: config.timeout,
|
|
98
|
+
headers: config.headers,
|
|
99
|
+
hooks: config.hooks,
|
|
90
100
|
fetch: config.fetch,
|
|
91
101
|
});
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
this.
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
this.
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
this.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
this.
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
this.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
this.
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
this.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
this.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
102
|
+
AmigoClient.hydrate(this, client, config.workspaceId, baseUrl);
|
|
103
|
+
}
|
|
104
|
+
withOptions(options) {
|
|
105
|
+
return AmigoClient.fromPlatformClient(scopePlatformClient(this.api, options), this.workspaceId, this.baseUrl);
|
|
106
|
+
}
|
|
107
|
+
async GET(path, ...[init]) {
|
|
108
|
+
return withResponse(await this.resolveApiRequest(path, 'GET', init));
|
|
109
|
+
}
|
|
110
|
+
async POST(path, ...[init]) {
|
|
111
|
+
return withResponse(await this.resolveApiRequest(path, 'POST', init));
|
|
112
|
+
}
|
|
113
|
+
async PUT(path, ...[init]) {
|
|
114
|
+
return withResponse(await this.resolveApiRequest(path, 'PUT', init));
|
|
115
|
+
}
|
|
116
|
+
async PATCH(path, ...[init]) {
|
|
117
|
+
return withResponse(await this.resolveApiRequest(path, 'PATCH', init));
|
|
118
|
+
}
|
|
119
|
+
async DELETE(path, ...[init]) {
|
|
120
|
+
return withResponse(await this.resolveApiRequest(path, 'DELETE', init));
|
|
121
|
+
}
|
|
122
|
+
async HEAD(path, ...[init]) {
|
|
123
|
+
return withResponse(await this.resolveApiRequest(path, 'HEAD', init));
|
|
124
|
+
}
|
|
125
|
+
async OPTIONS(path, ...[init]) {
|
|
126
|
+
return withResponse(await this.resolveApiRequest(path, 'OPTIONS', init));
|
|
127
|
+
}
|
|
128
|
+
static fromPlatformClient(client, workspaceId, baseUrl) {
|
|
129
|
+
const instance = Object.create(AmigoClient.prototype);
|
|
130
|
+
AmigoClient.hydrate(instance, client, workspaceId, baseUrl);
|
|
131
|
+
return instance;
|
|
132
|
+
}
|
|
133
|
+
static hydrate(target, client, workspaceId, baseUrl) {
|
|
134
|
+
const mutable = target;
|
|
135
|
+
mutable.workspaceId = workspaceId;
|
|
136
|
+
mutable.baseUrl = baseUrl;
|
|
137
|
+
target.api = client;
|
|
138
|
+
mutable.workspaces = new WorkspacesResource(client, workspaceId);
|
|
139
|
+
mutable.apiKeys = new ApiKeysResource(client, workspaceId);
|
|
140
|
+
mutable.agents = new AgentsResource(client, workspaceId);
|
|
141
|
+
mutable.skills = new SkillsResource(client, workspaceId);
|
|
142
|
+
mutable.actions = new ActionsResource(client, workspaceId);
|
|
143
|
+
mutable.operators = new OperatorsResource(client, workspaceId);
|
|
144
|
+
mutable.triggers = new TriggersResource(client, workspaceId);
|
|
145
|
+
mutable.services = new ServicesResource(client, workspaceId);
|
|
146
|
+
mutable.contextGraphs = new ContextGraphsResource(client, workspaceId);
|
|
147
|
+
mutable.dataSources = new DataSourcesResource(client, workspaceId);
|
|
148
|
+
mutable.world = new WorldResource(client, workspaceId);
|
|
149
|
+
mutable.calls = new CallsResource(client, workspaceId);
|
|
150
|
+
mutable.phoneNumbers = new PhoneNumbersResource(client, workspaceId);
|
|
151
|
+
mutable.integrations = new IntegrationsResource(client, workspaceId);
|
|
152
|
+
mutable.analytics = new AnalyticsResource(client, workspaceId);
|
|
153
|
+
mutable.simulations = new SimulationsResource(client, workspaceId);
|
|
154
|
+
mutable.settings = new SettingsResource(client, workspaceId);
|
|
155
|
+
mutable.billing = new BillingResource(client, workspaceId);
|
|
156
|
+
mutable.memory = new MemoryResource(client, workspaceId);
|
|
157
|
+
mutable.personas = new PersonasResource(client, workspaceId);
|
|
158
|
+
mutable.reviewQueue = new ReviewQueueResource(client, workspaceId);
|
|
159
|
+
mutable.recordings = new RecordingsResource(client, workspaceId);
|
|
160
|
+
mutable.audit = new AuditResource(client, workspaceId);
|
|
161
|
+
mutable.webhookDestinations = new WebhookDestinationsResource(client, workspaceId);
|
|
162
|
+
mutable.safety = new SafetyResource(client, workspaceId);
|
|
163
|
+
mutable.compliance = new ComplianceResource(client, workspaceId);
|
|
164
|
+
mutable.functions = new FunctionsResource(client, workspaceId);
|
|
165
|
+
}
|
|
166
|
+
async resolveApiRequest(path, method, init) {
|
|
167
|
+
const { baseClient, options } = resolveScopedPlatformClient(this.api);
|
|
168
|
+
const mergedInit = mergeRequestOptions(options, withWorkspaceId(path, init, this.workspaceId));
|
|
169
|
+
const requestInit = applyPlatformRequestOptions(baseClient, mergedInit);
|
|
170
|
+
switch (method) {
|
|
171
|
+
case 'GET':
|
|
172
|
+
return await baseClient.GET(path, requestInit);
|
|
173
|
+
case 'POST':
|
|
174
|
+
return await baseClient.POST(path, requestInit);
|
|
175
|
+
case 'PUT':
|
|
176
|
+
return await baseClient.PUT(path, requestInit);
|
|
177
|
+
case 'PATCH':
|
|
178
|
+
return await baseClient.PATCH(path, requestInit);
|
|
179
|
+
case 'DELETE':
|
|
180
|
+
return await baseClient.DELETE(path, requestInit);
|
|
181
|
+
case 'HEAD':
|
|
182
|
+
return await baseClient.HEAD(path, requestInit);
|
|
183
|
+
case 'OPTIONS':
|
|
184
|
+
return await baseClient.OPTIONS(path, requestInit);
|
|
185
|
+
}
|
|
120
186
|
}
|
|
121
187
|
}
|
|
122
|
-
export { AmigoError, BadRequestError, AuthenticationError, PermissionError, NotFoundError, ConflictError, ValidationError, RateLimitError, ServerError, ServiceUnavailableError, NetworkError, ParseError, ConfigurationError, isAmigoError, isNotFoundError, isRateLimitError, isAuthenticationError, } from './core/errors.js';
|
|
188
|
+
export { AmigoError, BadRequestError, AuthenticationError, PermissionError, NotFoundError, ConflictError, ValidationError, RateLimitError, ServerError, ServiceUnavailableError, NetworkError, RequestTimeoutError, ParseError, ConfigurationError, isAmigoError, isNotFoundError, isRateLimitError, isAuthenticationError, isRequestTimeoutError, } from './core/errors.js';
|
|
123
189
|
export { workspaceId, apiKeyId, agentId, personaId, skillId, actionId, serviceId, contextGraphId, callId, phoneNumberId, integrationId, entityId, eventId, simulationRunId, simulationSessionId, functionId, dataSourceId, } from './core/branded-types.js';
|
|
124
190
|
export { paginate } from './core/utils.js';
|
|
191
|
+
export { buildLastResponse, extractRequestId } from './core/utils.js';
|
|
125
192
|
export { parseRateLimitHeaders } from './core/rate-limit.js';
|
|
126
193
|
export { verifyWebhookSignature, parseWebhookEvent, WebhookVerificationError, } from './core/webhooks.js';
|
|
194
|
+
function withWorkspaceId(path, init, workspaceId) {
|
|
195
|
+
if (!path.includes('{workspace_id}')) {
|
|
196
|
+
return (init ?? {});
|
|
197
|
+
}
|
|
198
|
+
const current = (init ?? {});
|
|
199
|
+
return {
|
|
200
|
+
...current,
|
|
201
|
+
params: {
|
|
202
|
+
...(current.params ?? {}),
|
|
203
|
+
path: {
|
|
204
|
+
...(current.params?.path ?? {}),
|
|
205
|
+
workspace_id: workspaceId,
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
};
|
|
209
|
+
}
|
|
127
210
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAGH,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AACrD,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,GAGrB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,mBAAmB,GAKpB,MAAM,2BAA2B,CAAA;AAElC,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAA;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACpD,OAAO,EAAE,oBAAoB,E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