lemma-sdk 0.2.35 → 0.2.36
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 +103 -26
- package/dist/browser/lemma-client.js +176 -14
- package/dist/namespaces/integrations.d.ts +10 -2
- package/dist/namespaces/integrations.js +17 -2
- package/dist/openapi_client/index.d.ts +10 -2
- package/dist/openapi_client/index.js +1 -0
- package/dist/openapi_client/models/FeedbackCategory.d.ts +7 -0
- package/dist/openapi_client/models/FeedbackCategory.js +12 -0
- package/dist/openapi_client/models/FlowRunEntity.d.ts +1 -0
- package/dist/openapi_client/models/IntegrationHelperAgentRequest.d.ts +13 -0
- package/dist/openapi_client/models/IntegrationHelperAgentResponse.d.ts +25 -0
- package/dist/openapi_client/models/OperationDetail.d.ts +3 -0
- package/dist/openapi_client/models/OperationDetailsBatchRequest.d.ts +9 -0
- package/dist/openapi_client/models/OperationDetailsBatchRequest.js +1 -0
- package/dist/openapi_client/models/OperationDetailsBatchResponse.d.ts +18 -0
- package/dist/openapi_client/models/OperationDetailsBatchResponse.js +1 -0
- package/dist/openapi_client/models/OperationDiscoverResponse.d.ts +26 -0
- package/dist/openapi_client/models/OperationDiscoverResponse.js +1 -0
- package/dist/openapi_client/models/OperationSummary.d.ts +3 -0
- package/dist/openapi_client/models/OrganizationCreateRequest.d.ts +2 -0
- package/dist/openapi_client/models/OrganizationInvitationRequest.d.ts +1 -0
- package/dist/openapi_client/models/OrganizationInvitationResponse.d.ts +3 -0
- package/dist/openapi_client/models/OrganizationMessageResponse.d.ts +1 -0
- package/dist/openapi_client/models/OrganizationResponse.d.ts +2 -0
- package/dist/openapi_client/models/OrganizationSlugAvailabilityResponse.d.ts +7 -0
- package/dist/openapi_client/models/OrganizationSlugAvailabilityResponse.js +1 -0
- package/dist/openapi_client/models/ReportFeedbackRequest.d.ts +30 -0
- package/dist/openapi_client/models/ReportFeedbackRequest.js +1 -0
- package/dist/openapi_client/models/ReportFeedbackResponse.d.ts +29 -0
- package/dist/openapi_client/models/ReportFeedbackResponse.js +1 -0
- package/dist/openapi_client/models/WorkflowInstallListResponse.d.ts +4 -0
- package/dist/openapi_client/models/WorkflowInstallListResponse.js +1 -0
- package/dist/openapi_client/services/AgentToolsService.d.ts +20 -0
- package/dist/openapi_client/services/AgentToolsService.js +36 -0
- package/dist/openapi_client/services/ApplicationsService.d.ts +10 -9
- package/dist/openapi_client/services/ApplicationsService.js +11 -10
- package/dist/openapi_client/services/IntegrationsService.d.ts +3 -2
- package/dist/openapi_client/services/IntegrationsService.js +4 -2
- package/dist/openapi_client/services/OrganizationsService.d.ts +18 -0
- package/dist/openapi_client/services/OrganizationsService.js +40 -0
- package/dist/openapi_client/services/WorkflowsService.d.ts +10 -0
- package/dist/openapi_client/services/WorkflowsService.js +21 -0
- package/package.json +1 -1
- package/dist/openapi_client/models/AppDescriptorResponse.d.ts +0 -5
- package/dist/openapi_client/models/OperationListResponse.d.ts +0 -6
- /package/dist/openapi_client/models/{AppDescriptorResponse.js → IntegrationHelperAgentRequest.js} +0 -0
- /package/dist/openapi_client/models/{OperationListResponse.js → IntegrationHelperAgentResponse.js} +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response model for the integration helper agent.
|
|
3
|
+
*/
|
|
4
|
+
export type IntegrationHelperAgentResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* Detailed markdown guidance for accomplishing the requested goal.
|
|
7
|
+
*/
|
|
8
|
+
answer_markdown?: (string | null);
|
|
9
|
+
/**
|
|
10
|
+
* Error message when the helper agent fails.
|
|
11
|
+
*/
|
|
12
|
+
error?: (string | null);
|
|
13
|
+
/**
|
|
14
|
+
* Human-readable status message.
|
|
15
|
+
*/
|
|
16
|
+
message?: (string | null);
|
|
17
|
+
/**
|
|
18
|
+
* Recommended operation names grouped by application.
|
|
19
|
+
*/
|
|
20
|
+
operations_by_app?: Record<string, Array<string>>;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the helper agent completed successfully.
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Request multiple operation details in a single call.
|
|
3
|
+
*/
|
|
4
|
+
export type OperationDetailsBatchRequest = {
|
|
5
|
+
/**
|
|
6
|
+
* Operation names to fetch. Omit or pass an empty list to return details for every operation in the application.
|
|
7
|
+
*/
|
|
8
|
+
operation_names?: (Array<string> | null);
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { OperationDetail } from './OperationDetail.js';
|
|
2
|
+
/**
|
|
3
|
+
* Batch response containing full metadata for multiple operations.
|
|
4
|
+
*/
|
|
5
|
+
export type OperationDetailsBatchResponse = {
|
|
6
|
+
/**
|
|
7
|
+
* Application identifier.
|
|
8
|
+
*/
|
|
9
|
+
application_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Operation details for the requested operations.
|
|
12
|
+
*/
|
|
13
|
+
items: Array<OperationDetail>;
|
|
14
|
+
/**
|
|
15
|
+
* Number of operation details returned in this response.
|
|
16
|
+
*/
|
|
17
|
+
returned_count: number;
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { OperationSummary } from './OperationSummary.js';
|
|
2
|
+
/**
|
|
3
|
+
* Structured result for operation discovery within one application.
|
|
4
|
+
*/
|
|
5
|
+
export type OperationDiscoverResponse = {
|
|
6
|
+
/**
|
|
7
|
+
* Application identifier.
|
|
8
|
+
*/
|
|
9
|
+
application_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Matching operations with compact descriptions.
|
|
12
|
+
*/
|
|
13
|
+
items: Array<OperationSummary>;
|
|
14
|
+
/**
|
|
15
|
+
* Optional discovery query used to rank or filter operations.
|
|
16
|
+
*/
|
|
17
|
+
query?: (string | null);
|
|
18
|
+
/**
|
|
19
|
+
* Number of operations returned in this response.
|
|
20
|
+
*/
|
|
21
|
+
returned_count: number;
|
|
22
|
+
/**
|
|
23
|
+
* Total operations available for the application.
|
|
24
|
+
*/
|
|
25
|
+
total_operations: number;
|
|
26
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -10,8 +10,11 @@ export type OrganizationInvitationResponse = {
|
|
|
10
10
|
expires_at: string;
|
|
11
11
|
id: string;
|
|
12
12
|
organization_id: string;
|
|
13
|
+
pod_description?: (string | null);
|
|
13
14
|
pod_id?: (string | null);
|
|
15
|
+
pod_name?: (string | null);
|
|
14
16
|
pod_role?: (string | null);
|
|
17
|
+
redirect_uri?: (string | null);
|
|
15
18
|
revoked_at?: (string | null);
|
|
16
19
|
role: OrganizationRole;
|
|
17
20
|
status: OrganizationInvitationStatus;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { FeedbackCategory } from './FeedbackCategory.js';
|
|
2
|
+
/**
|
|
3
|
+
* Request payload for maintainer feedback reports.
|
|
4
|
+
*/
|
|
5
|
+
export type ReportFeedbackRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* What actually happened.
|
|
8
|
+
*/
|
|
9
|
+
actual_behavior: string;
|
|
10
|
+
/**
|
|
11
|
+
* High-level category for the feedback report.
|
|
12
|
+
*/
|
|
13
|
+
category: FeedbackCategory;
|
|
14
|
+
/**
|
|
15
|
+
* What the caller expected to happen instead.
|
|
16
|
+
*/
|
|
17
|
+
expected_behavior: string;
|
|
18
|
+
/**
|
|
19
|
+
* What issue, problem, or incorrect information was encountered.
|
|
20
|
+
*/
|
|
21
|
+
issue_encountered: string;
|
|
22
|
+
/**
|
|
23
|
+
* Short subject line summarizing the report.
|
|
24
|
+
*/
|
|
25
|
+
subject: string;
|
|
26
|
+
/**
|
|
27
|
+
* Optional proposed fixes, follow-ups, or next steps.
|
|
28
|
+
*/
|
|
29
|
+
suggested_next_steps?: (string | null);
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response payload for maintainer feedback reports.
|
|
3
|
+
*/
|
|
4
|
+
export type ReportFeedbackResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* Delegated agent associated with the report, if available.
|
|
7
|
+
*/
|
|
8
|
+
agent_id?: (string | null);
|
|
9
|
+
/**
|
|
10
|
+
* Delegated assistant associated with the report, if available.
|
|
11
|
+
*/
|
|
12
|
+
assistant_id?: (string | null);
|
|
13
|
+
/**
|
|
14
|
+
* Identifier of the created feedback report.
|
|
15
|
+
*/
|
|
16
|
+
feedback_id?: (string | null);
|
|
17
|
+
/**
|
|
18
|
+
* Human-readable status message.
|
|
19
|
+
*/
|
|
20
|
+
message?: (string | null);
|
|
21
|
+
/**
|
|
22
|
+
* Whether the feedback was recorded successfully.
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Authenticated user associated with the report.
|
|
27
|
+
*/
|
|
28
|
+
user_id?: (string | null);
|
|
29
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,9 +1,29 @@
|
|
|
1
|
+
import type { IntegrationHelperAgentRequest } from '../models/IntegrationHelperAgentRequest.js';
|
|
2
|
+
import type { IntegrationHelperAgentResponse } from '../models/IntegrationHelperAgentResponse.js';
|
|
3
|
+
import type { ReportFeedbackRequest } from '../models/ReportFeedbackRequest.js';
|
|
4
|
+
import type { ReportFeedbackResponse } from '../models/ReportFeedbackResponse.js';
|
|
1
5
|
import type { WebSearchAgentRequest } from '../models/WebSearchAgentRequest.js';
|
|
2
6
|
import type { WebSearchAgentResponse } from '../models/WebSearchAgentResponse.js';
|
|
3
7
|
import type { WebSearchRequest } from '../models/WebSearchRequest.js';
|
|
4
8
|
import type { WebSearchResponse } from '../models/WebSearchResponse.js';
|
|
5
9
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
6
10
|
export declare class AgentToolsService {
|
|
11
|
+
/**
|
|
12
|
+
* Integration Helper Agent
|
|
13
|
+
* Plan how to use one or more integration applications for a goal and return recommended operations.
|
|
14
|
+
* @param requestBody
|
|
15
|
+
* @returns IntegrationHelperAgentResponse Successful Response
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
static toolIntegrationHelperAgent(requestBody: IntegrationHelperAgentRequest): CancelablePromise<IntegrationHelperAgentResponse>;
|
|
19
|
+
/**
|
|
20
|
+
* Report Feedback
|
|
21
|
+
* Record a maintainer-facing feedback report about system issues, skill issues, incorrect knowledge, or other unexpected behavior.
|
|
22
|
+
* @param requestBody
|
|
23
|
+
* @returns ReportFeedbackResponse Successful Response
|
|
24
|
+
* @throws ApiError
|
|
25
|
+
*/
|
|
26
|
+
static toolReportFeedback(requestBody: ReportFeedbackRequest): CancelablePromise<ReportFeedbackResponse>;
|
|
7
27
|
/**
|
|
8
28
|
* Web Search
|
|
9
29
|
* Run a raw web search and return structured results.
|
|
@@ -1,6 +1,42 @@
|
|
|
1
1
|
import { OpenAPI } from '../core/OpenAPI.js';
|
|
2
2
|
import { request as __request } from '../core/request.js';
|
|
3
3
|
export class AgentToolsService {
|
|
4
|
+
/**
|
|
5
|
+
* Integration Helper Agent
|
|
6
|
+
* Plan how to use one or more integration applications for a goal and return recommended operations.
|
|
7
|
+
* @param requestBody
|
|
8
|
+
* @returns IntegrationHelperAgentResponse Successful Response
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static toolIntegrationHelperAgent(requestBody) {
|
|
12
|
+
return __request(OpenAPI, {
|
|
13
|
+
method: 'POST',
|
|
14
|
+
url: '/tools/integration-helper-agent',
|
|
15
|
+
body: requestBody,
|
|
16
|
+
mediaType: 'application/json',
|
|
17
|
+
errors: {
|
|
18
|
+
422: `Validation Error`,
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Report Feedback
|
|
24
|
+
* Record a maintainer-facing feedback report about system issues, skill issues, incorrect knowledge, or other unexpected behavior.
|
|
25
|
+
* @param requestBody
|
|
26
|
+
* @returns ReportFeedbackResponse Successful Response
|
|
27
|
+
* @throws ApiError
|
|
28
|
+
*/
|
|
29
|
+
static toolReportFeedback(requestBody) {
|
|
30
|
+
return __request(OpenAPI, {
|
|
31
|
+
method: 'POST',
|
|
32
|
+
url: '/tools/report-feedback',
|
|
33
|
+
body: requestBody,
|
|
34
|
+
mediaType: 'application/json',
|
|
35
|
+
errors: {
|
|
36
|
+
422: `Validation Error`,
|
|
37
|
+
},
|
|
38
|
+
});
|
|
39
|
+
}
|
|
4
40
|
/**
|
|
5
41
|
* Web Search
|
|
6
42
|
* Run a raw web search and return structured results.
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import type { AppDescriptorResponse } from '../models/AppDescriptorResponse.js';
|
|
2
1
|
import type { ApplicationDetailResponseSchema } from '../models/ApplicationDetailResponseSchema.js';
|
|
3
2
|
import type { ApplicationListResponseSchema } from '../models/ApplicationListResponseSchema.js';
|
|
4
3
|
import type { AppTriggerListResponseSchema } from '../models/AppTriggerListResponseSchema.js';
|
|
5
4
|
import type { AppTriggerResponseSchema } from '../models/AppTriggerResponseSchema.js';
|
|
6
5
|
import type { OperationDetail } from '../models/OperationDetail.js';
|
|
6
|
+
import type { OperationDetailsBatchRequest } from '../models/OperationDetailsBatchRequest.js';
|
|
7
|
+
import type { OperationDetailsBatchResponse } from '../models/OperationDetailsBatchResponse.js';
|
|
8
|
+
import type { OperationDiscoverResponse } from '../models/OperationDiscoverResponse.js';
|
|
7
9
|
import type { OperationExecutionRequest } from '../models/OperationExecutionRequest.js';
|
|
8
10
|
import type { OperationExecutionResponse } from '../models/OperationExecutionResponse.js';
|
|
9
|
-
import type { OperationListResponse } from '../models/OperationListResponse.js';
|
|
10
11
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
11
12
|
export declare class ApplicationsService {
|
|
12
13
|
/**
|
|
@@ -46,22 +47,22 @@ export declare class ApplicationsService {
|
|
|
46
47
|
*/
|
|
47
48
|
static applicationGet(applicationId: string): CancelablePromise<ApplicationDetailResponseSchema>;
|
|
48
49
|
/**
|
|
49
|
-
*
|
|
50
|
+
* Discover Application Operations
|
|
50
51
|
* @param applicationId
|
|
51
52
|
* @param query
|
|
52
53
|
* @param limit
|
|
53
|
-
* @
|
|
54
|
-
* @returns OperationListResponse Successful Response
|
|
54
|
+
* @returns OperationDiscoverResponse Successful Response
|
|
55
55
|
* @throws ApiError
|
|
56
56
|
*/
|
|
57
|
-
static
|
|
57
|
+
static applicationOperationDiscover(applicationId: string, query?: (string | null), limit?: number): CancelablePromise<OperationDiscoverResponse>;
|
|
58
58
|
/**
|
|
59
|
-
* Get Application
|
|
59
|
+
* Get Application Operation Details In Batch
|
|
60
60
|
* @param applicationId
|
|
61
|
-
* @
|
|
61
|
+
* @param requestBody
|
|
62
|
+
* @returns OperationDetailsBatchResponse Successful Response
|
|
62
63
|
* @throws ApiError
|
|
63
64
|
*/
|
|
64
|
-
static
|
|
65
|
+
static applicationOperationDetailsBatch(applicationId: string, requestBody: OperationDetailsBatchRequest): CancelablePromise<OperationDetailsBatchResponse>;
|
|
65
66
|
/**
|
|
66
67
|
* Get Application Operation Details
|
|
67
68
|
* @param applicationId
|
|
@@ -86,15 +86,14 @@ export class ApplicationsService {
|
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Discover Application Operations
|
|
90
90
|
* @param applicationId
|
|
91
91
|
* @param query
|
|
92
92
|
* @param limit
|
|
93
|
-
* @
|
|
94
|
-
* @returns OperationListResponse Successful Response
|
|
93
|
+
* @returns OperationDiscoverResponse Successful Response
|
|
95
94
|
* @throws ApiError
|
|
96
95
|
*/
|
|
97
|
-
static
|
|
96
|
+
static applicationOperationDiscover(applicationId, query, limit = 100) {
|
|
98
97
|
return __request(OpenAPI, {
|
|
99
98
|
method: 'GET',
|
|
100
99
|
url: '/integrations/applications/{application_id}/operations',
|
|
@@ -104,7 +103,6 @@ export class ApplicationsService {
|
|
|
104
103
|
query: {
|
|
105
104
|
'query': query,
|
|
106
105
|
'limit': limit,
|
|
107
|
-
'page_token': pageToken,
|
|
108
106
|
},
|
|
109
107
|
errors: {
|
|
110
108
|
422: `Validation Error`,
|
|
@@ -112,18 +110,21 @@ export class ApplicationsService {
|
|
|
112
110
|
});
|
|
113
111
|
}
|
|
114
112
|
/**
|
|
115
|
-
* Get Application
|
|
113
|
+
* Get Application Operation Details In Batch
|
|
116
114
|
* @param applicationId
|
|
117
|
-
* @
|
|
115
|
+
* @param requestBody
|
|
116
|
+
* @returns OperationDetailsBatchResponse Successful Response
|
|
118
117
|
* @throws ApiError
|
|
119
118
|
*/
|
|
120
|
-
static
|
|
119
|
+
static applicationOperationDetailsBatch(applicationId, requestBody) {
|
|
121
120
|
return __request(OpenAPI, {
|
|
122
|
-
method: '
|
|
123
|
-
url: '/integrations/applications/{application_id}/operations/
|
|
121
|
+
method: 'POST',
|
|
122
|
+
url: '/integrations/applications/{application_id}/operations/details',
|
|
124
123
|
path: {
|
|
125
124
|
'application_id': applicationId,
|
|
126
125
|
},
|
|
126
|
+
body: requestBody,
|
|
127
|
+
mediaType: 'application/json',
|
|
127
128
|
errors: {
|
|
128
129
|
422: `Validation Error`,
|
|
129
130
|
},
|
|
@@ -52,8 +52,9 @@ export declare class IntegrationsService {
|
|
|
52
52
|
* OAuth Callback
|
|
53
53
|
* Handle OAuth callback and complete account connection. This endpoint is public and uses state parameter for security.
|
|
54
54
|
* @param error
|
|
55
|
-
* @
|
|
55
|
+
* @param format
|
|
56
|
+
* @returns string Successful Response
|
|
56
57
|
* @throws ApiError
|
|
57
58
|
*/
|
|
58
|
-
static integrationOauthCallback(error?: (string | null)): CancelablePromise<
|
|
59
|
+
static integrationOauthCallback(error?: (string | null), format?: (string | null)): CancelablePromise<string>;
|
|
59
60
|
}
|
|
@@ -103,15 +103,17 @@ export class IntegrationsService {
|
|
|
103
103
|
* OAuth Callback
|
|
104
104
|
* Handle OAuth callback and complete account connection. This endpoint is public and uses state parameter for security.
|
|
105
105
|
* @param error
|
|
106
|
-
* @
|
|
106
|
+
* @param format
|
|
107
|
+
* @returns string Successful Response
|
|
107
108
|
* @throws ApiError
|
|
108
109
|
*/
|
|
109
|
-
static integrationOauthCallback(error) {
|
|
110
|
+
static integrationOauthCallback(error, format) {
|
|
110
111
|
return __request(OpenAPI, {
|
|
111
112
|
method: 'GET',
|
|
112
113
|
url: '/integrations/connect-requests/oauth/callback',
|
|
113
114
|
query: {
|
|
114
115
|
'error': error,
|
|
116
|
+
'format': format,
|
|
115
117
|
},
|
|
116
118
|
errors: {
|
|
117
119
|
422: `Validation Error`,
|
|
@@ -8,6 +8,7 @@ import type { OrganizationMemberListResponse } from '../models/OrganizationMembe
|
|
|
8
8
|
import type { OrganizationMemberResponse } from '../models/OrganizationMemberResponse.js';
|
|
9
9
|
import type { OrganizationMessageResponse } from '../models/OrganizationMessageResponse.js';
|
|
10
10
|
import type { OrganizationResponse } from '../models/OrganizationResponse.js';
|
|
11
|
+
import type { OrganizationSlugAvailabilityResponse } from '../models/OrganizationSlugAvailabilityResponse.js';
|
|
11
12
|
import type { UpdateMemberRoleRequest } from '../models/UpdateMemberRoleRequest.js';
|
|
12
13
|
import type { CancelablePromise } from '../core/CancelablePromise.js';
|
|
13
14
|
export declare class OrganizationsService {
|
|
@@ -62,6 +63,23 @@ export declare class OrganizationsService {
|
|
|
62
63
|
* @throws ApiError
|
|
63
64
|
*/
|
|
64
65
|
static orgInvitationAccept(invitationId: string): CancelablePromise<OrganizationMessageResponse>;
|
|
66
|
+
/**
|
|
67
|
+
* Check Organization Slug Availability
|
|
68
|
+
* Check whether an organization slug is available
|
|
69
|
+
* @param slug
|
|
70
|
+
* @returns OrganizationSlugAvailabilityResponse Successful Response
|
|
71
|
+
* @throws ApiError
|
|
72
|
+
*/
|
|
73
|
+
static orgSlugAvailability(slug: string): CancelablePromise<OrganizationSlugAvailabilityResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* Get Suggested Organizations
|
|
76
|
+
* Get auto-join organizations matching the current user's email domain
|
|
77
|
+
* @param limit
|
|
78
|
+
* @param pageToken
|
|
79
|
+
* @returns OrganizationListResponse Successful Response
|
|
80
|
+
* @throws ApiError
|
|
81
|
+
*/
|
|
82
|
+
static orgSuggested(limit?: number, pageToken?: (string | null)): CancelablePromise<OrganizationListResponse>;
|
|
65
83
|
/**
|
|
66
84
|
* Get Organization
|
|
67
85
|
* Get organization details
|
|
@@ -121,6 +121,46 @@ export class OrganizationsService {
|
|
|
121
121
|
},
|
|
122
122
|
});
|
|
123
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* Check Organization Slug Availability
|
|
126
|
+
* Check whether an organization slug is available
|
|
127
|
+
* @param slug
|
|
128
|
+
* @returns OrganizationSlugAvailabilityResponse Successful Response
|
|
129
|
+
* @throws ApiError
|
|
130
|
+
*/
|
|
131
|
+
static orgSlugAvailability(slug) {
|
|
132
|
+
return __request(OpenAPI, {
|
|
133
|
+
method: 'GET',
|
|
134
|
+
url: '/organizations/slug-availability',
|
|
135
|
+
query: {
|
|
136
|
+
'slug': slug,
|
|
137
|
+
},
|
|
138
|
+
errors: {
|
|
139
|
+
422: `Validation Error`,
|
|
140
|
+
},
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Get Suggested Organizations
|
|
145
|
+
* Get auto-join organizations matching the current user's email domain
|
|
146
|
+
* @param limit
|
|
147
|
+
* @param pageToken
|
|
148
|
+
* @returns OrganizationListResponse Successful Response
|
|
149
|
+
* @throws ApiError
|
|
150
|
+
*/
|
|
151
|
+
static orgSuggested(limit = 100, pageToken) {
|
|
152
|
+
return __request(OpenAPI, {
|
|
153
|
+
method: 'GET',
|
|
154
|
+
url: '/organizations/suggested',
|
|
155
|
+
query: {
|
|
156
|
+
'limit': limit,
|
|
157
|
+
'page_token': pageToken,
|
|
158
|
+
},
|
|
159
|
+
errors: {
|
|
160
|
+
422: `Validation Error`,
|
|
161
|
+
},
|
|
162
|
+
});
|
|
163
|
+
}
|
|
124
164
|
/**
|
|
125
165
|
* Get Organization
|
|
126
166
|
* Get organization details
|
|
@@ -3,6 +3,7 @@ import type { FlowResponse } from '../models/FlowResponse.js';
|
|
|
3
3
|
import type { FlowRunEntity } from '../models/FlowRunEntity.js';
|
|
4
4
|
import type { WorkflowCreateRequest } from '../models/WorkflowCreateRequest.js';
|
|
5
5
|
import type { WorkflowGraphUpdateRequest } from '../models/WorkflowGraphUpdateRequest.js';
|
|
6
|
+
import type { WorkflowInstallListResponse } from '../models/WorkflowInstallListResponse.js';
|
|
6
7
|
import type { WorkflowInstallRequest } from '../models/WorkflowInstallRequest.js';
|
|
7
8
|
import type { WorkflowListResponse } from '../models/WorkflowListResponse.js';
|
|
8
9
|
import type { WorkflowRunListResponse } from '../models/WorkflowRunListResponse.js';
|
|
@@ -115,6 +116,15 @@ export declare class WorkflowsService {
|
|
|
115
116
|
* @throws ApiError
|
|
116
117
|
*/
|
|
117
118
|
static workflowInstallCreate(podId: string, workflowName: string, requestBody: WorkflowInstallRequest): CancelablePromise<FlowInstallResponse>;
|
|
119
|
+
/**
|
|
120
|
+
* List Workflow Installs
|
|
121
|
+
* List the current user's installations for a workflow.
|
|
122
|
+
* @param podId
|
|
123
|
+
* @param workflowName
|
|
124
|
+
* @returns WorkflowInstallListResponse Successful Response
|
|
125
|
+
* @throws ApiError
|
|
126
|
+
*/
|
|
127
|
+
static workflowInstallList(podId: string, workflowName: string): CancelablePromise<WorkflowInstallListResponse>;
|
|
118
128
|
/**
|
|
119
129
|
* Uninstall Workflow
|
|
120
130
|
* Remove a previously created workflow installation binding.
|
|
@@ -255,6 +255,27 @@ export class WorkflowsService {
|
|
|
255
255
|
},
|
|
256
256
|
});
|
|
257
257
|
}
|
|
258
|
+
/**
|
|
259
|
+
* List Workflow Installs
|
|
260
|
+
* List the current user's installations for a workflow.
|
|
261
|
+
* @param podId
|
|
262
|
+
* @param workflowName
|
|
263
|
+
* @returns WorkflowInstallListResponse Successful Response
|
|
264
|
+
* @throws ApiError
|
|
265
|
+
*/
|
|
266
|
+
static workflowInstallList(podId, workflowName) {
|
|
267
|
+
return __request(OpenAPI, {
|
|
268
|
+
method: 'GET',
|
|
269
|
+
url: '/pods/{pod_id}/workflows/{workflow_name}/installs',
|
|
270
|
+
path: {
|
|
271
|
+
'pod_id': podId,
|
|
272
|
+
'workflow_name': workflowName,
|
|
273
|
+
},
|
|
274
|
+
errors: {
|
|
275
|
+
422: `Validation Error`,
|
|
276
|
+
},
|
|
277
|
+
});
|
|
278
|
+
}
|
|
258
279
|
/**
|
|
259
280
|
* Uninstall Workflow
|
|
260
281
|
* Remove a previously created workflow installation binding.
|
package/package.json
CHANGED
/package/dist/openapi_client/models/{AppDescriptorResponse.js → IntegrationHelperAgentRequest.js}
RENAMED
|
File without changes
|
/package/dist/openapi_client/models/{OperationListResponse.js → IntegrationHelperAgentResponse.js}
RENAMED
|
File without changes
|