samva 0.51.0 → 0.53.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/AGENTS.md +5 -2
- package/README.md +1 -0
- package/dist/client/sdk.gen.d.ts +82 -36
- package/dist/client/sdk.gen.js +192 -57
- package/dist/client/types.gen.d.ts +607 -291
- package/dist/effect/campaigns.d.ts +56 -56
- package/dist/effect/descriptors/integrations-catalog.d.ts +1 -1
- package/dist/effect/descriptors/integrations-catalog.js +1 -1
- package/dist/effect/descriptors/integrations.d.ts +1 -1
- package/dist/effect/descriptors/integrations.js +1 -1
- package/dist/effect/descriptors/logs.d.ts +21 -0
- package/dist/effect/descriptors/logs.js +23 -0
- package/dist/effect/descriptors/whats-app.d.ts +1 -1
- package/dist/effect/descriptors/whats-app.js +1 -1
- package/dist/effect/events.d.ts +16 -0
- package/dist/effect/generated/agents.js +4 -4
- package/dist/effect/generated/campaigns.d.ts +18 -6
- package/dist/effect/generated/campaigns.js +2 -6
- package/dist/effect/generated/email.js +3 -3
- package/dist/effect/generated/events.d.ts +48 -0
- package/dist/effect/generated/events.js +1 -1
- package/dist/effect/generated/index.d.ts +3 -1
- package/dist/effect/generated/integrations-catalog.d.ts +93 -49
- package/dist/effect/generated/integrations-catalog.js +17 -28
- package/dist/effect/generated/integrations.d.ts +20 -40
- package/dist/effect/generated/integrations.js +9 -13
- package/dist/effect/generated/journeys.d.ts +1113 -67
- package/dist/effect/generated/journeys.js +14 -8
- package/dist/effect/generated/logs.d.ts +2323 -0
- package/dist/effect/generated/logs.js +312 -0
- package/dist/effect/generated/mailboxes.d.ts +38 -24
- package/dist/effect/generated/mailboxes.js +22 -21
- package/dist/effect/generated/messages.d.ts +11 -882
- package/dist/effect/generated/messages.js +4 -243
- package/dist/effect/generated/newsletter-domains.d.ts +61 -13
- package/dist/effect/generated/newsletter-domains.js +5 -5
- package/dist/effect/generated/newsletter-issues.d.ts +166 -34
- package/dist/effect/generated/newsletter-issues.js +12 -12
- package/dist/effect/generated/newsletters.d.ts +76 -16
- package/dist/effect/generated/newsletters.js +6 -6
- package/dist/effect/generated/organizations.js +1 -1
- package/dist/effect/generated/scheduled-messages.d.ts +36 -0
- package/dist/effect/generated/scheduled-messages.js +1 -1
- package/dist/effect/generated/shared.d.ts +1706 -442
- package/dist/effect/generated/shared.js +370 -93
- package/dist/effect/generated/subscriptions.d.ts +4 -4
- package/dist/effect/generated/subscriptions.js +2 -6
- package/dist/effect/generated/template-registrations.d.ts +46 -10
- package/dist/effect/generated/template-registrations.js +4 -4
- package/dist/effect/generated/templates.js +2 -2
- package/dist/effect/generated/whats-app-flows.d.ts +173 -35
- package/dist/effect/generated/whats-app-flows.js +19 -17
- package/dist/effect/generated/whats-app-setup-links.d.ts +61 -13
- package/dist/effect/generated/whats-app-setup-links.js +5 -5
- package/dist/effect/generated/whats-app.d.ts +187 -65
- package/dist/effect/generated/whats-app.js +18 -24
- package/dist/effect/generated-metadata.d.ts +15 -3
- package/dist/effect/generated-metadata.js +375 -349
- package/dist/effect/index.d.ts +1 -0
- package/dist/effect/index.js +2 -1
- package/dist/effect/integrations-catalog.d.ts +92 -4
- package/dist/effect/integrations.d.ts +40 -8
- package/dist/effect/internal/client.js +25 -3
- package/dist/effect/internal/log-events.d.ts +19 -0
- package/dist/effect/internal/log-events.js +53 -0
- package/dist/effect/internal/mailbox-events.d.ts +6 -2
- package/dist/effect/internal/mailbox-events.js +4 -3
- package/dist/effect/journeys.d.ts +212 -146
- package/dist/effect/logs.d.ts +149 -0
- package/dist/effect/logs.js +18 -0
- package/dist/effect/mailboxes.d.ts +158 -150
- package/dist/effect/mailboxes.js +1 -1
- package/dist/effect/newsletter-domains.d.ts +2 -2
- package/dist/effect/scheduled-messages.d.ts +66 -0
- package/dist/effect/whatsapp-flows.d.ts +30 -0
- package/dist/effect/whatsapp-setup-links.d.ts +2 -2
- package/dist/effect/whatsapp.d.ts +73 -3
- package/dist/mailbox-events.d.ts +50 -3
- package/dist/mailbox-events.js +38 -19
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +3 -1
- package/dist/promises/client.js +3 -1
- package/dist/promises/errors.gen.d.ts +2 -0
- package/dist/promises/errors.gen.js +137 -34
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/request-id.d.ts +3 -0
- package/dist/request-id.js +7 -0
- package/dist/service-map.d.ts +14 -3
- package/package.json +6 -2
|
@@ -43,8 +43,7 @@ export type Integration = {
|
|
|
43
43
|
readonly answerWithoutApproval: AnswerWithoutApproval;
|
|
44
44
|
readonly tools: ReadonlyArray<IntegrationToolView>;
|
|
45
45
|
readonly toolPage: {
|
|
46
|
-
readonly
|
|
47
|
-
readonly total: number;
|
|
46
|
+
readonly nextCursor: string | null;
|
|
48
47
|
readonly revision: string;
|
|
49
48
|
};
|
|
50
49
|
readonly installedBy: UserId | null;
|
|
@@ -71,8 +70,7 @@ export declare const Integration: Schema.Struct<{
|
|
|
71
70
|
readonly runsWithoutApproval: Schema.Boolean;
|
|
72
71
|
}>>;
|
|
73
72
|
readonly toolPage: Schema.Struct<{
|
|
74
|
-
readonly
|
|
75
|
-
readonly total: Schema.Finite;
|
|
73
|
+
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
76
74
|
readonly revision: Schema.String;
|
|
77
75
|
}>;
|
|
78
76
|
readonly installedBy: Schema.Union<readonly [Schema.brand<Schema.String, "UserId">, Schema.Null]>;
|
|
@@ -104,8 +102,7 @@ export declare const IntegrationList: Schema.Struct<{
|
|
|
104
102
|
readonly runsWithoutApproval: Schema.Boolean;
|
|
105
103
|
}>>;
|
|
106
104
|
readonly toolPage: Schema.Struct<{
|
|
107
|
-
readonly
|
|
108
|
-
readonly total: Schema.Finite;
|
|
105
|
+
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
109
106
|
readonly revision: Schema.String;
|
|
110
107
|
}>;
|
|
111
108
|
readonly installedBy: Schema.Union<readonly [Schema.brand<Schema.String, "UserId">, Schema.Null]>;
|
|
@@ -144,8 +141,7 @@ export declare const IntegrationsList200: Schema.Struct<{
|
|
|
144
141
|
readonly runsWithoutApproval: Schema.Boolean;
|
|
145
142
|
}>>;
|
|
146
143
|
readonly toolPage: Schema.Struct<{
|
|
147
|
-
readonly
|
|
148
|
-
readonly total: Schema.Finite;
|
|
144
|
+
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
149
145
|
readonly revision: Schema.String;
|
|
150
146
|
}>;
|
|
151
147
|
readonly installedBy: Schema.Union<readonly [Schema.brand<Schema.String, "UserId">, Schema.Null]>;
|
|
@@ -197,8 +193,7 @@ export declare const IntegrationsInstall201: Schema.Struct<{
|
|
|
197
193
|
readonly runsWithoutApproval: Schema.Boolean;
|
|
198
194
|
}>>;
|
|
199
195
|
readonly toolPage: Schema.Struct<{
|
|
200
|
-
readonly
|
|
201
|
-
readonly total: Schema.Finite;
|
|
196
|
+
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
202
197
|
readonly revision: Schema.String;
|
|
203
198
|
}>;
|
|
204
199
|
readonly installedBy: Schema.Union<readonly [Schema.brand<Schema.String, "UserId">, Schema.Null]>;
|
|
@@ -246,8 +241,7 @@ export declare const IntegrationsGet200: Schema.Struct<{
|
|
|
246
241
|
readonly runsWithoutApproval: Schema.Boolean;
|
|
247
242
|
}>>;
|
|
248
243
|
readonly toolPage: Schema.Struct<{
|
|
249
|
-
readonly
|
|
250
|
-
readonly total: Schema.Finite;
|
|
244
|
+
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
251
245
|
readonly revision: Schema.String;
|
|
252
246
|
}>;
|
|
253
247
|
readonly installedBy: Schema.Union<readonly [Schema.brand<Schema.String, "UserId">, Schema.Null]>;
|
|
@@ -342,8 +336,7 @@ export declare const IntegrationsUpdate200: Schema.Struct<{
|
|
|
342
336
|
readonly runsWithoutApproval: Schema.Boolean;
|
|
343
337
|
}>>;
|
|
344
338
|
readonly toolPage: Schema.Struct<{
|
|
345
|
-
readonly
|
|
346
|
-
readonly total: Schema.Finite;
|
|
339
|
+
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
347
340
|
readonly revision: Schema.String;
|
|
348
341
|
}>;
|
|
349
342
|
readonly installedBy: Schema.Union<readonly [Schema.brand<Schema.String, "UserId">, Schema.Null]>;
|
|
@@ -373,25 +366,18 @@ export declare const IntegrationsListToolsPathParams: Schema.Struct<{
|
|
|
373
366
|
readonly integrationId: Schema.brand<Schema.String, "IntegrationId">;
|
|
374
367
|
}>;
|
|
375
368
|
export type IntegrationsListToolsQuery = {
|
|
376
|
-
readonly
|
|
377
|
-
readonly
|
|
369
|
+
readonly limit?: number | null;
|
|
370
|
+
readonly cursor?: string;
|
|
378
371
|
};
|
|
379
372
|
export declare const IntegrationsListToolsQuery: Schema.Struct<{
|
|
380
|
-
readonly
|
|
381
|
-
readonly
|
|
373
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
374
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
382
375
|
}>;
|
|
383
376
|
export type IntegrationsListTools200 = {
|
|
384
|
-
readonly nextOffset: number | null;
|
|
385
|
-
readonly total: number;
|
|
386
|
-
readonly revision: string;
|
|
387
|
-
readonly offset: number;
|
|
388
377
|
readonly items: ReadonlyArray<IntegrationToolView>;
|
|
378
|
+
readonly nextCursor: string | null;
|
|
389
379
|
};
|
|
390
380
|
export declare const IntegrationsListTools200: Schema.Struct<{
|
|
391
|
-
readonly nextOffset: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
392
|
-
readonly total: Schema.Finite;
|
|
393
|
-
readonly revision: Schema.String;
|
|
394
|
-
readonly offset: Schema.Finite;
|
|
395
381
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
396
382
|
readonly name: Schema.String;
|
|
397
383
|
readonly title: Schema.String;
|
|
@@ -403,6 +389,7 @@ export declare const IntegrationsListTools200: Schema.Struct<{
|
|
|
403
389
|
readonly enabled: Schema.Boolean;
|
|
404
390
|
readonly runsWithoutApproval: Schema.Boolean;
|
|
405
391
|
}>>;
|
|
392
|
+
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
406
393
|
}>;
|
|
407
394
|
export type IntegrationsListTools400 = MalformedRequestError;
|
|
408
395
|
export declare const IntegrationsListTools400: typeof MalformedRequestError;
|
|
@@ -488,8 +475,7 @@ declare const IntegrationsGroup_base: HttpApiGroup.HttpApiGroup<"Integrations",
|
|
|
488
475
|
readonly runsWithoutApproval: Schema.Boolean;
|
|
489
476
|
}>>;
|
|
490
477
|
readonly toolPage: Schema.Struct<{
|
|
491
|
-
readonly
|
|
492
|
-
readonly total: Schema.Finite;
|
|
478
|
+
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
493
479
|
readonly revision: Schema.String;
|
|
494
480
|
}>;
|
|
495
481
|
readonly installedBy: Schema.Union<readonly [Schema.brand<Schema.String, "UserId">, Schema.Null]>;
|
|
@@ -619,8 +605,7 @@ declare const IntegrationsGroup_base: HttpApiGroup.HttpApiGroup<"Integrations",
|
|
|
619
605
|
readonly runsWithoutApproval: Schema.Boolean;
|
|
620
606
|
}>>;
|
|
621
607
|
readonly toolPage: Schema.Struct<{
|
|
622
|
-
readonly
|
|
623
|
-
readonly total: Schema.Finite;
|
|
608
|
+
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
624
609
|
readonly revision: Schema.String;
|
|
625
610
|
}>;
|
|
626
611
|
readonly installedBy: Schema.Union<readonly [Schema.brand<Schema.String, "UserId">, Schema.Null]>;
|
|
@@ -750,8 +735,7 @@ declare const IntegrationsGroup_base: HttpApiGroup.HttpApiGroup<"Integrations",
|
|
|
750
735
|
readonly runsWithoutApproval: Schema.Boolean;
|
|
751
736
|
}>>;
|
|
752
737
|
readonly toolPage: Schema.Struct<{
|
|
753
|
-
readonly
|
|
754
|
-
readonly total: Schema.Finite;
|
|
738
|
+
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
755
739
|
readonly revision: Schema.String;
|
|
756
740
|
}>;
|
|
757
741
|
readonly installedBy: Schema.Union<readonly [Schema.brand<Schema.String, "UserId">, Schema.Null]>;
|
|
@@ -842,13 +826,9 @@ declare const IntegrationsGroup_base: HttpApiGroup.HttpApiGroup<"Integrations",
|
|
|
842
826
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"integrationsListTools", "GET", "/v1/integrations/:integrationId/tools", Schema.toCodecStringTree<Schema.Struct<{
|
|
843
827
|
readonly integrationId: Schema.brand<Schema.String, "IntegrationId">;
|
|
844
828
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
845
|
-
readonly
|
|
846
|
-
readonly
|
|
829
|
+
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
830
|
+
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
847
831
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
848
|
-
readonly nextOffset: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
849
|
-
readonly total: Schema.Finite;
|
|
850
|
-
readonly revision: Schema.String;
|
|
851
|
-
readonly offset: Schema.Finite;
|
|
852
832
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
853
833
|
readonly name: Schema.String;
|
|
854
834
|
readonly title: Schema.String;
|
|
@@ -860,6 +840,7 @@ declare const IntegrationsGroup_base: HttpApiGroup.HttpApiGroup<"Integrations",
|
|
|
860
840
|
readonly enabled: Schema.Boolean;
|
|
861
841
|
readonly runsWithoutApproval: Schema.Boolean;
|
|
862
842
|
}>>;
|
|
843
|
+
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
863
844
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ConflictError, {
|
|
864
845
|
readonly _tag: "ConflictError";
|
|
865
846
|
readonly message: string;
|
|
@@ -1268,8 +1249,7 @@ declare const IntegrationsGroup_base: HttpApiGroup.HttpApiGroup<"Integrations",
|
|
|
1268
1249
|
readonly runsWithoutApproval: Schema.Boolean;
|
|
1269
1250
|
}>>;
|
|
1270
1251
|
readonly toolPage: Schema.Struct<{
|
|
1271
|
-
readonly
|
|
1272
|
-
readonly total: Schema.Finite;
|
|
1252
|
+
readonly nextCursor: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
1273
1253
|
readonly revision: Schema.String;
|
|
1274
1254
|
}>;
|
|
1275
1255
|
readonly installedBy: Schema.Union<readonly [Schema.brand<Schema.String, "UserId">, Schema.Null]>;
|
|
@@ -32,8 +32,7 @@ const Integration = /* @__PURE__ */ (() => Schema.Struct({
|
|
|
32
32
|
answerWithoutApproval: AnswerWithoutApproval,
|
|
33
33
|
tools: Schema.Array(IntegrationToolView),
|
|
34
34
|
toolPage: Schema.Struct({
|
|
35
|
-
|
|
36
|
-
total: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
35
|
+
nextCursor: Schema.Union([Schema.String, Schema.Null]),
|
|
37
36
|
revision: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" }))
|
|
38
37
|
}),
|
|
39
38
|
installedBy: Schema.Union([UserId, Schema.Null]),
|
|
@@ -109,15 +108,12 @@ const IntegrationsUpdate500 = InternalError;
|
|
|
109
108
|
const IntegrationsUpdate504 = GatewayTimeoutError;
|
|
110
109
|
const IntegrationsListToolsPathParams = /* @__PURE__ */ (() => Schema.Struct({ integrationId: IntegrationId }))();
|
|
111
110
|
const IntegrationsListToolsQuery = /* @__PURE__ */ (() => Schema.Struct({
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
limit: Schema.optionalKey(Schema.Union([Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(1).annotate({ expected: "a value greater than or equal to 1" })).check(Schema.isLessThanOrEqualTo(50).annotate({ expected: "a value less than or equal to 50" })), Schema.Null])),
|
|
112
|
+
cursor: Schema.optionalKey(Schema.String)
|
|
114
113
|
}))();
|
|
115
114
|
const IntegrationsListTools200 = /* @__PURE__ */ (() => Schema.Struct({
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
revision: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-f0-9]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-f0-9]{64}$" })),
|
|
119
|
-
offset: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
|
|
120
|
-
items: Schema.Array(IntegrationToolView).check(Schema.isMaxLength(50).annotate({ expected: "a value with a length of at most 50" }))
|
|
115
|
+
items: Schema.Array(IntegrationToolView),
|
|
116
|
+
nextCursor: Schema.Union([Schema.String, Schema.Null])
|
|
121
117
|
}))();
|
|
122
118
|
const IntegrationsListTools400 = MalformedRequestError;
|
|
123
119
|
const IntegrationsListTools401 = UnauthorizedError;
|
|
@@ -161,7 +157,7 @@ var IntegrationsGroup = class extends HttpApiGroup.make("Integrations").add(Http
|
|
|
161
157
|
IntegrationsList500,
|
|
162
158
|
IntegrationsList504.pipe(HttpApiSchema.status(504))
|
|
163
159
|
]
|
|
164
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "integrations.list").annotate(OpenApi.Summary, "List integrations").annotate(OpenApi.Description, "Returns a bounded page of installed integrations, newest first, with compact tool summaries. Follow nextCursor and each integration's toolPage.
|
|
160
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "integrations.list").annotate(OpenApi.Summary, "List integrations").annotate(OpenApi.Description, "Returns a bounded page of installed integrations, newest first, with compact tool summaries. Follow nextCursor and each integration's toolPage.nextCursor for the complete inventory."), HttpApiEndpoint.post("integrationsInstall", "/v1/integrations", {
|
|
165
161
|
payload: IntegrationsInstallRequestJson,
|
|
166
162
|
success: IntegrationsInstall201.pipe(HttpApiSchema.status(201)),
|
|
167
163
|
error: [
|
|
@@ -212,7 +208,7 @@ var IntegrationsGroup = class extends HttpApiGroup.make("Integrations").add(Http
|
|
|
212
208
|
IntegrationsUpdate500,
|
|
213
209
|
IntegrationsUpdate504.pipe(HttpApiSchema.status(504))
|
|
214
210
|
]
|
|
215
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "integrations.update").annotate(OpenApi.Summary, "Update an integration").annotate(OpenApi.Description, "Changes an integration's settings, enabled tools, which tools run without approval, and whether replies using its data need approval.
|
|
211
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "integrations.update").annotate(OpenApi.Summary, "Update an integration").annotate(OpenApi.Description, "Changes an integration's settings, enabled tools, which tools run without approval, and whether replies using its data need approval. Changing answerWithoutApproval requires an organization owner and, for an API key, organization-wide reach. An organization owner or an API key with organization-wide reach can change a tool's runsWithoutApproval for its current effect. False makes a read tool ask first. True lets a tool that changes something run. Fields not named keep their values. What an agent may do with the integration is the agent's grant."), HttpApiEndpoint.get("integrationsListTools", "/v1/integrations/:integrationId/tools", {
|
|
216
212
|
params: IntegrationsListToolsPathParams,
|
|
217
213
|
query: IntegrationsListToolsQuery,
|
|
218
214
|
success: IntegrationsListTools200,
|
|
@@ -226,7 +222,7 @@ var IntegrationsGroup = class extends HttpApiGroup.make("Integrations").add(Http
|
|
|
226
222
|
IntegrationsListTools500,
|
|
227
223
|
IntegrationsListTools504.pipe(HttpApiSchema.status(504))
|
|
228
224
|
]
|
|
229
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "integrations.listTools").annotate(OpenApi.Summary, "List integration tools").annotate(OpenApi.Description, "Returns a page of the tools an integration gives agents.
|
|
225
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "integrations.listTools").annotate(OpenApi.Summary, "List integration tools").annotate(OpenApi.Description, "Returns a page of the tools an integration gives agents. Pass nextCursor back as cursor. If the integration's tools change during pagination, the request returns 409. Restart without a cursor."), HttpApiEndpoint.get("integrationsReadTool", "/v1/integrations/:integrationId/tools/:tool", {
|
|
230
226
|
params: IntegrationsReadToolPathParams,
|
|
231
227
|
query: IntegrationsReadToolQuery,
|
|
232
228
|
success: IntegrationsReadTool200,
|
|
@@ -240,7 +236,7 @@ var IntegrationsGroup = class extends HttpApiGroup.make("Integrations").add(Http
|
|
|
240
236
|
IntegrationsReadTool500,
|
|
241
237
|
IntegrationsReadTool504.pipe(HttpApiSchema.status(504))
|
|
242
238
|
]
|
|
243
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "integrations.readTool").annotate(OpenApi.Summary, "Read an integration tool descriptor").annotate(OpenApi.Description, "Returns one tool's
|
|
239
|
+
}).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "integrations.readTool").annotate(OpenApi.Summary, "Read an integration tool descriptor").annotate(OpenApi.Description, "Returns one tool's descriptor in chunks. Pass nextOffset back as offset with the same revision. A revision that no longer matches the integration's tools returns 409.")).annotate(OpenApi.Description, "Apps installed for hosted agents, on connected accounts") {};
|
|
244
240
|
export { DeleteIntegrationResponse, Integration, IntegrationList, IntegrationToolKind, IntegrationToolView, IntegrationsGet200, IntegrationsGet400, IntegrationsGet401, IntegrationsGet403, IntegrationsGet404, IntegrationsGet422, IntegrationsGet500, IntegrationsGet504, IntegrationsGetPathParams, IntegrationsGroup, IntegrationsInstall201, IntegrationsInstall400, IntegrationsInstall401, IntegrationsInstall403, IntegrationsInstall404, IntegrationsInstall422, IntegrationsInstall500, IntegrationsInstall504, IntegrationsInstallRequestJson, IntegrationsList200, IntegrationsList400, IntegrationsList401, IntegrationsList403, IntegrationsList422, IntegrationsList500, IntegrationsList504, IntegrationsListQuery, IntegrationsListTools200, IntegrationsListTools400, IntegrationsListTools401, IntegrationsListTools403, IntegrationsListTools404, IntegrationsListTools409, IntegrationsListTools422, IntegrationsListTools500, IntegrationsListTools504, IntegrationsListToolsPathParams, IntegrationsListToolsQuery, IntegrationsReadTool200, IntegrationsReadTool400, IntegrationsReadTool401, IntegrationsReadTool403, IntegrationsReadTool404, IntegrationsReadTool409, IntegrationsReadTool422, IntegrationsReadTool500, IntegrationsReadTool504, IntegrationsReadToolPathParams, IntegrationsReadToolQuery, IntegrationsRemove200, IntegrationsRemove400, IntegrationsRemove401, IntegrationsRemove403, IntegrationsRemove404, IntegrationsRemove409, IntegrationsRemove422, IntegrationsRemove500, IntegrationsRemove504, IntegrationsRemovePathParams, IntegrationsUpdate200, IntegrationsUpdate400, IntegrationsUpdate401, IntegrationsUpdate403, IntegrationsUpdate404, IntegrationsUpdate409, IntegrationsUpdate422, IntegrationsUpdate500, IntegrationsUpdate504, IntegrationsUpdatePathParams, IntegrationsUpdateRequestJson };
|
|
245
241
|
|
|
246
242
|
//# sourceMappingURL=integrations.js.map
|