@contio/partner-sdk 1.5.0 → 1.6.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/client/admin/automations.d.ts +8 -0
- package/dist/client/admin/automations.d.ts.map +1 -0
- package/dist/client/admin/automations.js +23 -0
- package/dist/client/admin/automations.js.map +1 -0
- package/dist/client/admin/index.d.ts +15 -20
- package/dist/client/admin/index.d.ts.map +1 -1
- package/dist/client/admin/index.js +36 -53
- package/dist/client/admin/index.js.map +1 -1
- package/dist/client/admin/toolkits.d.ts +10 -1
- package/dist/client/admin/toolkits.d.ts.map +1 -1
- package/dist/client/admin/toolkits.js +36 -0
- package/dist/client/admin/toolkits.js.map +1 -1
- package/dist/esm/client/admin/automations.js +23 -0
- package/dist/esm/client/admin/automations.js.map +1 -0
- package/dist/esm/client/admin/index.js +36 -53
- package/dist/esm/client/admin/index.js.map +1 -1
- package/dist/esm/client/admin/toolkits.js +36 -0
- package/dist/esm/client/admin/toolkits.js.map +1 -1
- package/dist/esm/generated/webhook-types.js +1 -1
- package/dist/esm/generated/webhook-types.js.map +1 -1
- package/dist/esm/models/{workflows.js → automations.js} +1 -1
- package/dist/esm/models/automations.js.map +1 -0
- package/dist/esm/models/index.js +1 -2
- package/dist/esm/models/index.js.map +1 -1
- package/dist/generated/api-types.d.ts +251 -241
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/generated/index.d.ts +6 -6
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/webhook-types.d.ts +29 -29
- package/dist/generated/webhook-types.d.ts.map +1 -1
- package/dist/generated/webhook-types.js +1 -1
- package/dist/generated/webhook-types.js.map +1 -1
- package/dist/models/{workflows.d.ts → automations.d.ts} +14 -14
- package/dist/models/automations.d.ts.map +1 -0
- package/dist/models/{workflows.js → automations.js} +1 -1
- package/dist/models/automations.js.map +1 -0
- package/dist/models/index.d.ts +1 -2
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +1 -2
- package/dist/models/index.js.map +1 -1
- package/dist/models/nextSteps.d.ts +1 -71
- package/dist/models/nextSteps.d.ts.map +1 -1
- package/dist/models/toolkits.d.ts +58 -1
- package/dist/models/toolkits.d.ts.map +1 -1
- package/dist/webhooks/handler.d.ts +2 -2
- package/dist/webhooks/handler.d.ts.map +1 -1
- package/dist/webhooks/types.d.ts +4 -4
- package/dist/webhooks/types.d.ts.map +1 -1
- package/package.json +4 -2
- package/dist/client/admin/actionButtons.d.ts +0 -8
- package/dist/client/admin/actionButtons.d.ts.map +0 -1
- package/dist/client/admin/actionButtons.js +0 -23
- package/dist/client/admin/actionButtons.js.map +0 -1
- package/dist/client/admin/nextSteps.d.ts +0 -12
- package/dist/client/admin/nextSteps.d.ts.map +0 -1
- package/dist/client/admin/nextSteps.js +0 -39
- package/dist/client/admin/nextSteps.js.map +0 -1
- package/dist/client/admin/workflows.d.ts +0 -8
- package/dist/client/admin/workflows.d.ts.map +0 -1
- package/dist/client/admin/workflows.js +0 -23
- package/dist/client/admin/workflows.js.map +0 -1
- package/dist/esm/client/admin/actionButtons.js +0 -23
- package/dist/esm/client/admin/actionButtons.js.map +0 -1
- package/dist/esm/client/admin/nextSteps.js +0 -39
- package/dist/esm/client/admin/nextSteps.js.map +0 -1
- package/dist/esm/client/admin/workflows.js +0 -23
- package/dist/esm/client/admin/workflows.js.map +0 -1
- package/dist/esm/models/actionButtons.js +0 -3
- package/dist/esm/models/actionButtons.js.map +0 -1
- package/dist/esm/models/workflows.js.map +0 -1
- package/dist/models/actionButtons.d.ts +0 -51
- package/dist/models/actionButtons.d.ts.map +0 -1
- package/dist/models/actionButtons.js +0 -3
- package/dist/models/actionButtons.js.map +0 -1
- package/dist/models/workflows.d.ts.map +0 -1
- package/dist/models/workflows.js.map +0 -1
|
@@ -1,47 +1,3 @@
|
|
|
1
|
-
export interface ActionButtonActionButtonResponse {
|
|
2
|
-
content_format?: string;
|
|
3
|
-
created_at?: string;
|
|
4
|
-
delivery_mechanism?: string;
|
|
5
|
-
file_format?: string;
|
|
6
|
-
icon_url?: string;
|
|
7
|
-
id?: string;
|
|
8
|
-
integration_type?: string;
|
|
9
|
-
is_active?: boolean;
|
|
10
|
-
is_default_for_next_step?: boolean;
|
|
11
|
-
name?: string;
|
|
12
|
-
redirect_url?: string;
|
|
13
|
-
requires_connected_integration?: boolean;
|
|
14
|
-
sort_order?: number;
|
|
15
|
-
updated_at?: string;
|
|
16
|
-
webhook_url?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface ActionButtonCreateActionButtonRequest {
|
|
19
|
-
content_format: "rich_text" | "markdown" | "plain_text" | "html";
|
|
20
|
-
delivery_mechanism: "webhook" | "redirect" | "email" | "clipboard" | "file_download" | "integration" | "os_email_client";
|
|
21
|
-
file_format?: string;
|
|
22
|
-
icon_url?: string;
|
|
23
|
-
integration_type?: string;
|
|
24
|
-
is_default_for_next_step?: boolean;
|
|
25
|
-
name: string;
|
|
26
|
-
redirect_url?: string;
|
|
27
|
-
requires_connected_integration?: boolean;
|
|
28
|
-
sort_order?: number;
|
|
29
|
-
webhook_url?: string;
|
|
30
|
-
}
|
|
31
|
-
export interface ActionButtonUpdateActionButtonRequest {
|
|
32
|
-
content_format?: "rich_text" | "markdown" | "plain_text" | "html";
|
|
33
|
-
delivery_mechanism?: "webhook" | "redirect" | "email" | "clipboard" | "file_download" | "integration" | "os_email_client";
|
|
34
|
-
file_format?: string;
|
|
35
|
-
icon_url?: string;
|
|
36
|
-
integration_type?: string;
|
|
37
|
-
is_active?: boolean;
|
|
38
|
-
is_default_for_next_step?: boolean;
|
|
39
|
-
name?: string;
|
|
40
|
-
redirect_url?: string;
|
|
41
|
-
requires_connected_integration?: boolean;
|
|
42
|
-
sort_order?: number;
|
|
43
|
-
webhook_url?: string;
|
|
44
|
-
}
|
|
45
1
|
export interface ActionItemCreateActionItemError400 {
|
|
46
2
|
code?: "invalid_request" | "invalid_due_date";
|
|
47
3
|
error?: string;
|
|
@@ -134,6 +90,41 @@ export interface AuthorizeListParams {
|
|
|
134
90
|
scope?: string;
|
|
135
91
|
state?: string;
|
|
136
92
|
}
|
|
93
|
+
export interface AutomationAutomationResponse {
|
|
94
|
+
actions?: PartnerAutomationAction[];
|
|
95
|
+
created_at?: string;
|
|
96
|
+
description?: string;
|
|
97
|
+
id?: string;
|
|
98
|
+
name?: string;
|
|
99
|
+
partner_app_id?: string;
|
|
100
|
+
status?: string;
|
|
101
|
+
trigger_type?: string;
|
|
102
|
+
updated_at?: string;
|
|
103
|
+
}
|
|
104
|
+
export interface AutomationCreateAutomationError400 {
|
|
105
|
+
code?: "invalid_request_body" | "validation_error";
|
|
106
|
+
error?: string;
|
|
107
|
+
request_id?: string;
|
|
108
|
+
}
|
|
109
|
+
export interface AutomationCreateAutomationRequest {
|
|
110
|
+
actions: PartnerAutomationAction[];
|
|
111
|
+
description?: string;
|
|
112
|
+
name: string;
|
|
113
|
+
trigger_type: "action_item_created" | "action_item_updated" | "action_item_completed" | "meeting_ended" | "meeting_summary_ready";
|
|
114
|
+
}
|
|
115
|
+
export interface AutomationUpdateAutomationError400 {
|
|
116
|
+
code?: "invalid_automation_id" | "invalid_request_body" | "validation_error";
|
|
117
|
+
error?: string;
|
|
118
|
+
request_id?: string;
|
|
119
|
+
}
|
|
120
|
+
export interface AutomationUpdateAutomationRequest {
|
|
121
|
+
actions?: PartnerAutomationAction[];
|
|
122
|
+
description?: string;
|
|
123
|
+
is_active?: boolean;
|
|
124
|
+
name?: string;
|
|
125
|
+
status?: "active" | "inactive";
|
|
126
|
+
trigger_type?: "action_item_created" | "action_item_updated" | "action_item_completed" | "meeting_ended" | "meeting_summary_ready";
|
|
127
|
+
}
|
|
137
128
|
export interface CalendarCreateMeetingFromCalendarEventError400 {
|
|
138
129
|
code?: "invalid_calendar_event_id" | "invalid_request";
|
|
139
130
|
error?: string;
|
|
@@ -459,44 +450,6 @@ export interface MeetingUpdateMeetingError400 {
|
|
|
459
450
|
error?: string;
|
|
460
451
|
request_id?: string;
|
|
461
452
|
}
|
|
462
|
-
export interface NextStepActionButtonAddActionButtonToNextStepRequest {
|
|
463
|
-
action_button_id: string;
|
|
464
|
-
sort_order?: number;
|
|
465
|
-
}
|
|
466
|
-
export interface NextStepActionButtonNextStepActionButtonResponse {
|
|
467
|
-
delivery_mechanism?: string;
|
|
468
|
-
icon_url?: string;
|
|
469
|
-
id?: string;
|
|
470
|
-
is_default?: boolean;
|
|
471
|
-
name?: string;
|
|
472
|
-
sort_order?: number;
|
|
473
|
-
}
|
|
474
|
-
export interface NextStepActionButtonSetDefaultActionButtonRequest {
|
|
475
|
-
action_button_id: string;
|
|
476
|
-
}
|
|
477
|
-
export interface NextStepCreateNextStepRequest {
|
|
478
|
-
ai_prompt?: string;
|
|
479
|
-
color?: string;
|
|
480
|
-
description?: string;
|
|
481
|
-
icon_name?: string;
|
|
482
|
-
name: string;
|
|
483
|
-
redirect_url?: string;
|
|
484
|
-
type: "ai" | "redirect";
|
|
485
|
-
}
|
|
486
|
-
export interface NextStepNextStepResponse {
|
|
487
|
-
ai_prompt?: string;
|
|
488
|
-
color?: string;
|
|
489
|
-
created_at?: string;
|
|
490
|
-
description?: string;
|
|
491
|
-
icon_name?: string;
|
|
492
|
-
id?: string;
|
|
493
|
-
is_active?: boolean;
|
|
494
|
-
name?: string;
|
|
495
|
-
redirect_url?: string;
|
|
496
|
-
sort_order?: number;
|
|
497
|
-
type?: string;
|
|
498
|
-
updated_at?: string;
|
|
499
|
-
}
|
|
500
453
|
export interface NextStepResultNextStepResultResponse {
|
|
501
454
|
content_format?: string;
|
|
502
455
|
created_at?: string;
|
|
@@ -505,16 +458,6 @@ export interface NextStepResultNextStepResultResponse {
|
|
|
505
458
|
generated_text?: string;
|
|
506
459
|
id?: string;
|
|
507
460
|
}
|
|
508
|
-
export interface NextStepUpdateNextStepRequest {
|
|
509
|
-
ai_prompt?: string;
|
|
510
|
-
color?: string;
|
|
511
|
-
description?: string;
|
|
512
|
-
icon_name?: string;
|
|
513
|
-
is_active?: boolean;
|
|
514
|
-
name?: string;
|
|
515
|
-
redirect_url?: string;
|
|
516
|
-
type?: "ai" | "redirect";
|
|
517
|
-
}
|
|
518
461
|
export interface OauthHealthResponse {
|
|
519
462
|
checks?: Record<string, unknown>;
|
|
520
463
|
service?: string;
|
|
@@ -592,35 +535,35 @@ export interface OauthScopesResponse {
|
|
|
592
535
|
}
|
|
593
536
|
export type OpenidConfigurationListData = RomeApiControllersExternalPartnerOauthDiscoveryDocument;
|
|
594
537
|
export type OpenidConfigurationListError = ErrorsErrorResponse;
|
|
595
|
-
export type PartnerAdminActionButtonsCreateData = ActionButtonActionButtonResponse;
|
|
596
|
-
export type PartnerAdminActionButtonsCreateError = ErrorsPartnerErrorResponse;
|
|
597
|
-
export type PartnerAdminActionButtonsDeleteData = any;
|
|
598
|
-
export type PartnerAdminActionButtonsDeleteError = ErrorsPartnerErrorResponse;
|
|
599
|
-
export interface PartnerAdminActionButtonsDeleteParams {
|
|
600
|
-
id: string;
|
|
601
|
-
}
|
|
602
|
-
export type PartnerAdminActionButtonsDetailData = ActionButtonActionButtonResponse;
|
|
603
|
-
export type PartnerAdminActionButtonsDetailError = ErrorsPartnerErrorResponse;
|
|
604
|
-
export interface PartnerAdminActionButtonsDetailParams {
|
|
605
|
-
id: string;
|
|
606
|
-
}
|
|
607
|
-
export type PartnerAdminActionButtonsListData = RomeApiControllersExternalPartnerAdminSharedListResponseActionButtonActionButtonResponse;
|
|
608
|
-
export type PartnerAdminActionButtonsListError = ErrorsPartnerErrorResponse;
|
|
609
|
-
export interface PartnerAdminActionButtonsListParams {
|
|
610
|
-
limit?: number;
|
|
611
|
-
offset?: number;
|
|
612
|
-
}
|
|
613
|
-
export type PartnerAdminActionButtonsUpdateData = ActionButtonActionButtonResponse;
|
|
614
|
-
export type PartnerAdminActionButtonsUpdateError = ErrorsPartnerErrorResponse;
|
|
615
|
-
export interface PartnerAdminActionButtonsUpdateParams {
|
|
616
|
-
id: string;
|
|
617
|
-
}
|
|
618
538
|
export type PartnerAdminAppListData = SharedPartnerAppResponse;
|
|
619
539
|
export type PartnerAdminAppListError = ErrorsPartnerErrorResponse;
|
|
620
540
|
export type PartnerAdminAppStatusUpdateData = SharedPartnerAppResponse;
|
|
621
541
|
export type PartnerAdminAppStatusUpdateError = AppManagementUpdateAppStatusError400 | ErrorsPartnerErrorResponse;
|
|
622
542
|
export type PartnerAdminAppUpdateData = SharedPartnerAppResponse;
|
|
623
543
|
export type PartnerAdminAppUpdateError = AppManagementUpdateAppError400 | ErrorsPartnerErrorResponse;
|
|
544
|
+
export type PartnerAdminAutomationCreateData = AutomationAutomationResponse;
|
|
545
|
+
export type PartnerAdminAutomationCreateError = AutomationCreateAutomationError400 | ErrorsPartnerErrorResponse;
|
|
546
|
+
export type PartnerAdminAutomationDeleteData = any;
|
|
547
|
+
export type PartnerAdminAutomationDeleteError = ErrorsPartnerErrorResponse;
|
|
548
|
+
export interface PartnerAdminAutomationDeleteParams {
|
|
549
|
+
automationId: string;
|
|
550
|
+
}
|
|
551
|
+
export type PartnerAdminAutomationDetailData = AutomationAutomationResponse;
|
|
552
|
+
export type PartnerAdminAutomationDetailError = ErrorsPartnerErrorResponse;
|
|
553
|
+
export interface PartnerAdminAutomationDetailParams {
|
|
554
|
+
automationId: string;
|
|
555
|
+
}
|
|
556
|
+
export type PartnerAdminAutomationListData = RomeApiControllersExternalPartnerAdminSharedListResponseAutomationAutomationResponse;
|
|
557
|
+
export type PartnerAdminAutomationListError = ErrorsPartnerErrorResponse;
|
|
558
|
+
export interface PartnerAdminAutomationListParams {
|
|
559
|
+
limit?: number;
|
|
560
|
+
offset?: number;
|
|
561
|
+
}
|
|
562
|
+
export type PartnerAdminAutomationUpdateData = AutomationAutomationResponse;
|
|
563
|
+
export type PartnerAdminAutomationUpdateError = AutomationUpdateAutomationError400 | ErrorsPartnerErrorResponse;
|
|
564
|
+
export interface PartnerAdminAutomationUpdateParams {
|
|
565
|
+
automationId: string;
|
|
566
|
+
}
|
|
624
567
|
export type PartnerAdminConnectionsDeleteData = any;
|
|
625
568
|
export type PartnerAdminConnectionsDeleteError = ErrorsPartnerErrorResponse;
|
|
626
569
|
export interface PartnerAdminConnectionsDeleteParams {
|
|
@@ -666,50 +609,6 @@ export type PartnerAdminIdpListData = IdpIdPConfigResponse;
|
|
|
666
609
|
export type PartnerAdminIdpListError = ErrorsPartnerErrorResponse;
|
|
667
610
|
export type PartnerAdminIdpUpdateData = IdpIdPConfigResponse;
|
|
668
611
|
export type PartnerAdminIdpUpdateError = IdpUpdateIdPConfigError400 | ErrorsPartnerErrorResponse;
|
|
669
|
-
export type PartnerAdminNextStepsActionButtonsCreateData = any;
|
|
670
|
-
export type PartnerAdminNextStepsActionButtonsCreateError = ErrorsPartnerErrorResponse;
|
|
671
|
-
export interface PartnerAdminNextStepsActionButtonsCreateParams {
|
|
672
|
-
nextStepId: string;
|
|
673
|
-
}
|
|
674
|
-
export type PartnerAdminNextStepsActionButtonsDeleteData = any;
|
|
675
|
-
export type PartnerAdminNextStepsActionButtonsDeleteError = ErrorsPartnerErrorResponse;
|
|
676
|
-
export interface PartnerAdminNextStepsActionButtonsDeleteParams {
|
|
677
|
-
actionButtonId: string;
|
|
678
|
-
nextStepId: string;
|
|
679
|
-
}
|
|
680
|
-
export type PartnerAdminNextStepsActionButtonsListData = RomeApiControllersExternalPartnerAdminSharedListResponseNextStepActionButtonNextStepActionButtonResponse;
|
|
681
|
-
export type PartnerAdminNextStepsActionButtonsListError = ErrorsPartnerErrorResponse;
|
|
682
|
-
export interface PartnerAdminNextStepsActionButtonsListParams {
|
|
683
|
-
nextStepId: string;
|
|
684
|
-
}
|
|
685
|
-
export type PartnerAdminNextStepsCreateData = NextStepNextStepResponse;
|
|
686
|
-
export type PartnerAdminNextStepsCreateError = ErrorsPartnerErrorResponse;
|
|
687
|
-
export type PartnerAdminNextStepsDefaultActionButtonUpdateData = any;
|
|
688
|
-
export type PartnerAdminNextStepsDefaultActionButtonUpdateError = ErrorsPartnerErrorResponse;
|
|
689
|
-
export interface PartnerAdminNextStepsDefaultActionButtonUpdateParams {
|
|
690
|
-
nextStepId: string;
|
|
691
|
-
}
|
|
692
|
-
export type PartnerAdminNextStepsDeleteData = any;
|
|
693
|
-
export type PartnerAdminNextStepsDeleteError = ErrorsPartnerErrorResponse;
|
|
694
|
-
export interface PartnerAdminNextStepsDeleteParams {
|
|
695
|
-
nextStepId: string;
|
|
696
|
-
}
|
|
697
|
-
export type PartnerAdminNextStepsDetailData = NextStepNextStepResponse;
|
|
698
|
-
export type PartnerAdminNextStepsDetailError = ErrorsPartnerErrorResponse;
|
|
699
|
-
export interface PartnerAdminNextStepsDetailParams {
|
|
700
|
-
nextStepId: string;
|
|
701
|
-
}
|
|
702
|
-
export type PartnerAdminNextStepsListData = RomeApiControllersExternalPartnerAdminSharedListResponseNextStepNextStepResponse;
|
|
703
|
-
export type PartnerAdminNextStepsListError = ErrorsPartnerErrorResponse;
|
|
704
|
-
export interface PartnerAdminNextStepsListParams {
|
|
705
|
-
limit?: number;
|
|
706
|
-
offset?: number;
|
|
707
|
-
}
|
|
708
|
-
export type PartnerAdminNextStepsUpdateData = NextStepNextStepResponse;
|
|
709
|
-
export type PartnerAdminNextStepsUpdateError = ErrorsPartnerErrorResponse;
|
|
710
|
-
export interface PartnerAdminNextStepsUpdateParams {
|
|
711
|
-
nextStepId: string;
|
|
712
|
-
}
|
|
713
612
|
export type PartnerAdminTemplatesCreateData = TemplateTemplateResponse;
|
|
714
613
|
export type PartnerAdminTemplatesCreateError = ErrorsPartnerErrorResponse;
|
|
715
614
|
export type PartnerAdminTemplatesDeleteData = any;
|
|
@@ -755,7 +654,7 @@ export type PartnerAdminTemplatesUpdateError = ErrorsPartnerErrorResponse;
|
|
|
755
654
|
export interface PartnerAdminTemplatesUpdateParams {
|
|
756
655
|
templateId: string;
|
|
757
656
|
}
|
|
758
|
-
export type PartnerAdminToolkitsCreateData =
|
|
657
|
+
export type PartnerAdminToolkitsCreateData = ToolkitCreateToolkitResponse;
|
|
759
658
|
export type PartnerAdminToolkitsCreateError = ErrorsPartnerErrorResponse;
|
|
760
659
|
export type PartnerAdminToolkitsDeleteData = any;
|
|
761
660
|
export type PartnerAdminToolkitsDeleteError = ErrorsPartnerErrorResponse;
|
|
@@ -767,6 +666,13 @@ export type PartnerAdminToolkitsDetailError = ErrorsPartnerErrorResponse;
|
|
|
767
666
|
export interface PartnerAdminToolkitsDetailParams {
|
|
768
667
|
toolkitId: string;
|
|
769
668
|
}
|
|
669
|
+
export type PartnerAdminToolkitsExportCreateData = ToolkitExportResponse;
|
|
670
|
+
export type PartnerAdminToolkitsExportCreateError = ErrorsPartnerErrorResponse;
|
|
671
|
+
export type PartnerAdminToolkitsExportListData = ToolkitExportResponse;
|
|
672
|
+
export type PartnerAdminToolkitsExportListError = ErrorsPartnerErrorResponse;
|
|
673
|
+
export interface PartnerAdminToolkitsExportListParams {
|
|
674
|
+
toolkitId: string;
|
|
675
|
+
}
|
|
770
676
|
export type PartnerAdminToolkitsListData = RomeApiControllersExternalPartnerUserSharedListResponseRomeApiControllersExternalPartnerAdminToolkitToolkitResponse;
|
|
771
677
|
export type PartnerAdminToolkitsListError = ErrorsPartnerErrorResponse;
|
|
772
678
|
export interface PartnerAdminToolkitsListParams {
|
|
@@ -778,6 +684,46 @@ export type PartnerAdminToolkitsUpdateError = ErrorsPartnerErrorResponse;
|
|
|
778
684
|
export interface PartnerAdminToolkitsUpdateParams {
|
|
779
685
|
toolkitId: string;
|
|
780
686
|
}
|
|
687
|
+
export type PartnerAdminToolkitsVersionsCreateData = ToolkitCreateVersionResponse;
|
|
688
|
+
export type PartnerAdminToolkitsVersionsCreateError = ErrorsPartnerErrorResponse;
|
|
689
|
+
export interface PartnerAdminToolkitsVersionsCreateParams {
|
|
690
|
+
toolkitId: string;
|
|
691
|
+
}
|
|
692
|
+
export type PartnerAdminToolkitsVersionsDeleteData = any;
|
|
693
|
+
export type PartnerAdminToolkitsVersionsDeleteError = ErrorsPartnerErrorResponse;
|
|
694
|
+
export interface PartnerAdminToolkitsVersionsDeleteParams {
|
|
695
|
+
toolkitId: string;
|
|
696
|
+
versionId: string;
|
|
697
|
+
}
|
|
698
|
+
export type PartnerAdminToolkitsVersionsDetailData = ToolkitVersionResponse;
|
|
699
|
+
export type PartnerAdminToolkitsVersionsDetailError = ErrorsPartnerErrorResponse;
|
|
700
|
+
export interface PartnerAdminToolkitsVersionsDetailParams {
|
|
701
|
+
toolkitId: string;
|
|
702
|
+
versionId: string;
|
|
703
|
+
}
|
|
704
|
+
export type PartnerAdminToolkitsVersionsListData = ToolkitVersionResponse[];
|
|
705
|
+
export type PartnerAdminToolkitsVersionsListError = ErrorsPartnerErrorResponse;
|
|
706
|
+
export interface PartnerAdminToolkitsVersionsListParams {
|
|
707
|
+
toolkitId: string;
|
|
708
|
+
}
|
|
709
|
+
export type PartnerAdminToolkitsVersionsPartialUpdateData = ToolkitVersionResponse;
|
|
710
|
+
export type PartnerAdminToolkitsVersionsPartialUpdateError = ErrorsPartnerErrorResponse;
|
|
711
|
+
export interface PartnerAdminToolkitsVersionsPartialUpdateParams {
|
|
712
|
+
toolkitId: string;
|
|
713
|
+
versionId: string;
|
|
714
|
+
}
|
|
715
|
+
export type PartnerAdminToolkitsVersionsPublishCreateData = any;
|
|
716
|
+
export type PartnerAdminToolkitsVersionsPublishCreateError = ErrorsPartnerErrorResponse;
|
|
717
|
+
export interface PartnerAdminToolkitsVersionsPublishCreateParams {
|
|
718
|
+
toolkitId: string;
|
|
719
|
+
versionId: string;
|
|
720
|
+
}
|
|
721
|
+
export type PartnerAdminToolkitsVersionsRepublishCreateData = any;
|
|
722
|
+
export type PartnerAdminToolkitsVersionsRepublishCreateError = ErrorsPartnerErrorResponse;
|
|
723
|
+
export interface PartnerAdminToolkitsVersionsRepublishCreateParams {
|
|
724
|
+
toolkitId: string;
|
|
725
|
+
versionId: string;
|
|
726
|
+
}
|
|
781
727
|
export type PartnerAdminWebhookDeliveriesDetailData = WebhookWebhookDeliveryResponse;
|
|
782
728
|
export type PartnerAdminWebhookDeliveriesDetailError = ErrorsPartnerErrorResponse;
|
|
783
729
|
export interface PartnerAdminWebhookDeliveriesDetailParams {
|
|
@@ -802,28 +748,9 @@ export type PartnerAdminWebhookFilterUpdateData = SharedPartnerAppResponse;
|
|
|
802
748
|
export type PartnerAdminWebhookFilterUpdateError = AppManagementUpdateWebhookFilterError400 | ErrorsPartnerErrorResponse;
|
|
803
749
|
export type PartnerAdminWebhookStatusUpdateData = SharedPartnerAppResponse;
|
|
804
750
|
export type PartnerAdminWebhookStatusUpdateError = ErrorsPartnerErrorResponse;
|
|
805
|
-
export
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
export type PartnerAdminWorkflowsDeleteError = ErrorsPartnerErrorResponse;
|
|
809
|
-
export interface PartnerAdminWorkflowsDeleteParams {
|
|
810
|
-
workflowId: string;
|
|
811
|
-
}
|
|
812
|
-
export type PartnerAdminWorkflowsDetailData = WorkflowWorkflowResponse;
|
|
813
|
-
export type PartnerAdminWorkflowsDetailError = ErrorsPartnerErrorResponse;
|
|
814
|
-
export interface PartnerAdminWorkflowsDetailParams {
|
|
815
|
-
workflowId: string;
|
|
816
|
-
}
|
|
817
|
-
export type PartnerAdminWorkflowsListData = RomeApiControllersExternalPartnerAdminSharedListResponseWorkflowWorkflowResponse;
|
|
818
|
-
export type PartnerAdminWorkflowsListError = ErrorsPartnerErrorResponse;
|
|
819
|
-
export interface PartnerAdminWorkflowsListParams {
|
|
820
|
-
limit?: number;
|
|
821
|
-
offset?: number;
|
|
822
|
-
}
|
|
823
|
-
export type PartnerAdminWorkflowsUpdateData = WorkflowWorkflowResponse;
|
|
824
|
-
export type PartnerAdminWorkflowsUpdateError = WorkflowUpdateWorkflowError400 | ErrorsPartnerErrorResponse;
|
|
825
|
-
export interface PartnerAdminWorkflowsUpdateParams {
|
|
826
|
-
workflowId: string;
|
|
751
|
+
export interface PartnerAutomationAction {
|
|
752
|
+
config?: Record<string, string>;
|
|
753
|
+
type: string;
|
|
827
754
|
}
|
|
828
755
|
export type PartnerInfoPublicListData = OauthPartnerInfoResponse;
|
|
829
756
|
export type PartnerInfoPublicListError = ErrorsErrorResponse;
|
|
@@ -1106,10 +1033,6 @@ export type PartnerUserWorkspacesToolkitsListError = ErrorsPartnerErrorResponse;
|
|
|
1106
1033
|
export interface PartnerUserWorkspacesToolkitsListParams {
|
|
1107
1034
|
workspaceId: string;
|
|
1108
1035
|
}
|
|
1109
|
-
export interface PartnerWorkflowAction {
|
|
1110
|
-
config?: Record<string, string>;
|
|
1111
|
-
type: string;
|
|
1112
|
-
}
|
|
1113
1036
|
export interface ProfileUserProfileResponse {
|
|
1114
1037
|
created_at?: string;
|
|
1115
1038
|
display_name?: string;
|
|
@@ -1125,8 +1048,8 @@ export interface RevokeCreatePayload {
|
|
|
1125
1048
|
token: string;
|
|
1126
1049
|
token_type_hint?: string;
|
|
1127
1050
|
}
|
|
1128
|
-
export interface
|
|
1129
|
-
items?:
|
|
1051
|
+
export interface RomeApiControllersExternalPartnerAdminSharedListResponseAutomationAutomationResponse {
|
|
1052
|
+
items?: AutomationAutomationResponse[];
|
|
1130
1053
|
limit?: number;
|
|
1131
1054
|
offset?: number;
|
|
1132
1055
|
total?: number;
|
|
@@ -1137,18 +1060,6 @@ export interface RomeApiControllersExternalPartnerAdminSharedListResponseConnect
|
|
|
1137
1060
|
offset?: number;
|
|
1138
1061
|
total?: number;
|
|
1139
1062
|
}
|
|
1140
|
-
export interface RomeApiControllersExternalPartnerAdminSharedListResponseNextStepActionButtonNextStepActionButtonResponse {
|
|
1141
|
-
items?: NextStepActionButtonNextStepActionButtonResponse[];
|
|
1142
|
-
limit?: number;
|
|
1143
|
-
offset?: number;
|
|
1144
|
-
total?: number;
|
|
1145
|
-
}
|
|
1146
|
-
export interface RomeApiControllersExternalPartnerAdminSharedListResponseNextStepNextStepResponse {
|
|
1147
|
-
items?: NextStepNextStepResponse[];
|
|
1148
|
-
limit?: number;
|
|
1149
|
-
offset?: number;
|
|
1150
|
-
total?: number;
|
|
1151
|
-
}
|
|
1152
1063
|
export interface RomeApiControllersExternalPartnerAdminSharedListResponseTemplateTemplateNextStepResponse {
|
|
1153
1064
|
items?: TemplateTemplateNextStepResponse[];
|
|
1154
1065
|
limit?: number;
|
|
@@ -1161,12 +1072,6 @@ export interface RomeApiControllersExternalPartnerAdminSharedListResponseTemplat
|
|
|
1161
1072
|
offset?: number;
|
|
1162
1073
|
total?: number;
|
|
1163
1074
|
}
|
|
1164
|
-
export interface RomeApiControllersExternalPartnerAdminSharedListResponseWorkflowWorkflowResponse {
|
|
1165
|
-
items?: WorkflowWorkflowResponse[];
|
|
1166
|
-
limit?: number;
|
|
1167
|
-
offset?: number;
|
|
1168
|
-
total?: number;
|
|
1169
|
-
}
|
|
1170
1075
|
export interface RomeApiControllersExternalPartnerAdminToolkitToolkitResponse {
|
|
1171
1076
|
created_at?: string;
|
|
1172
1077
|
description?: string;
|
|
@@ -1545,14 +1450,80 @@ export interface TokenCreatePayload {
|
|
|
1545
1450
|
grant_type: string;
|
|
1546
1451
|
redirect_uri: string;
|
|
1547
1452
|
}
|
|
1453
|
+
export interface ToolkitConflictInfoResponse {
|
|
1454
|
+
conflict_type?: string;
|
|
1455
|
+
entity_name?: string;
|
|
1456
|
+
entity_type?: string;
|
|
1457
|
+
existing_entity_id?: string;
|
|
1458
|
+
message?: string;
|
|
1459
|
+
resolution?: string;
|
|
1460
|
+
}
|
|
1548
1461
|
export interface ToolkitCreateToolkitRequest {
|
|
1549
1462
|
description?: string;
|
|
1463
|
+
dry_run?: boolean;
|
|
1550
1464
|
manifest: ToolkitToolkitManifestRequest;
|
|
1551
1465
|
name: string;
|
|
1552
1466
|
slug: string;
|
|
1553
1467
|
version: string;
|
|
1554
1468
|
}
|
|
1469
|
+
export interface ToolkitCreateToolkitResponse {
|
|
1470
|
+
conflicts?: ToolkitConflictInfoResponse[];
|
|
1471
|
+
summary?: ToolkitManifestSummaryResponse;
|
|
1472
|
+
toolkit?: RomeApiControllersExternalPartnerAdminToolkitToolkitResponse;
|
|
1473
|
+
validation?: ToolkitValidationResultResponse;
|
|
1474
|
+
}
|
|
1475
|
+
export interface ToolkitCreateVersionRequest {
|
|
1476
|
+
changelog?: string;
|
|
1477
|
+
dry_run?: boolean;
|
|
1478
|
+
manifest: ToolkitToolkitManifestRequest;
|
|
1479
|
+
version_label: string;
|
|
1480
|
+
}
|
|
1481
|
+
export interface ToolkitCreateVersionResponse {
|
|
1482
|
+
conflicts?: ToolkitConflictInfoResponse[];
|
|
1483
|
+
summary?: ToolkitManifestSummaryResponse;
|
|
1484
|
+
validation?: ToolkitValidationResultResponse;
|
|
1485
|
+
version?: ToolkitVersionResponse;
|
|
1486
|
+
}
|
|
1487
|
+
export interface ToolkitEntityMapResponse {
|
|
1488
|
+
action_buttons?: Record<string, string>;
|
|
1489
|
+
next_steps?: Record<string, string>;
|
|
1490
|
+
shortcuts?: Record<string, string>;
|
|
1491
|
+
templates?: Record<string, string>;
|
|
1492
|
+
}
|
|
1493
|
+
export interface ToolkitExportEntitiesRequest {
|
|
1494
|
+
action_button_ids?: string[];
|
|
1495
|
+
description?: string;
|
|
1496
|
+
name?: string;
|
|
1497
|
+
next_step_ids?: string[];
|
|
1498
|
+
shortcut_ids?: string[];
|
|
1499
|
+
template_ids?: string[];
|
|
1500
|
+
}
|
|
1501
|
+
export interface ToolkitExportMetadataResponse {
|
|
1502
|
+
description?: string;
|
|
1503
|
+
name?: string;
|
|
1504
|
+
slug?: string;
|
|
1505
|
+
version?: string;
|
|
1506
|
+
}
|
|
1507
|
+
export interface ToolkitExportResponse {
|
|
1508
|
+
manifest?: ToolkitToolkitManifestRequest;
|
|
1509
|
+
metadata?: ToolkitExportMetadataResponse;
|
|
1510
|
+
summary?: ToolkitExportSummaryResponse;
|
|
1511
|
+
warnings?: ToolkitExportWarningResponse[];
|
|
1512
|
+
}
|
|
1513
|
+
export interface ToolkitExportSummaryResponse {
|
|
1514
|
+
action_buttons?: number;
|
|
1515
|
+
next_steps?: number;
|
|
1516
|
+
shortcuts?: number;
|
|
1517
|
+
templates?: number;
|
|
1518
|
+
}
|
|
1519
|
+
export interface ToolkitExportWarningResponse {
|
|
1520
|
+
code?: string;
|
|
1521
|
+
entity_name?: string;
|
|
1522
|
+
entity_type?: string;
|
|
1523
|
+
message?: string;
|
|
1524
|
+
}
|
|
1555
1525
|
export interface ToolkitInstallationResponse {
|
|
1526
|
+
entities?: ToolkitEntityMapResponse;
|
|
1556
1527
|
id?: string;
|
|
1557
1528
|
installed_at?: string;
|
|
1558
1529
|
installed_by?: string;
|
|
@@ -1577,6 +1548,15 @@ export interface ToolkitManifestActionButtonSpec {
|
|
|
1577
1548
|
sort_order?: number;
|
|
1578
1549
|
webhook_url?: string;
|
|
1579
1550
|
}
|
|
1551
|
+
export interface ToolkitManifestAgendaItemSpec {
|
|
1552
|
+
content?: string;
|
|
1553
|
+
description?: string;
|
|
1554
|
+
item_type: string;
|
|
1555
|
+
restricted_to_leads?: boolean;
|
|
1556
|
+
sequence?: string;
|
|
1557
|
+
time_allocation_minutes?: number;
|
|
1558
|
+
title: string;
|
|
1559
|
+
}
|
|
1580
1560
|
export interface ToolkitManifestNextStep {
|
|
1581
1561
|
action_buttons?: ToolkitNextStepActionButtonRelation[];
|
|
1582
1562
|
default_action_button?: ToolkitManifestRef;
|
|
@@ -1594,10 +1574,38 @@ export interface ToolkitManifestNextStepSpec {
|
|
|
1594
1574
|
sort_order?: number;
|
|
1595
1575
|
type: "ai" | "redirect";
|
|
1596
1576
|
}
|
|
1577
|
+
export interface ToolkitManifestParticipantSpec {
|
|
1578
|
+
email: string;
|
|
1579
|
+
name: string;
|
|
1580
|
+
role: "EDITOR" | "VIEWER";
|
|
1581
|
+
}
|
|
1597
1582
|
export interface ToolkitManifestRef {
|
|
1598
1583
|
$id?: string;
|
|
1599
1584
|
$ref?: string;
|
|
1600
1585
|
}
|
|
1586
|
+
export interface ToolkitManifestShortcut {
|
|
1587
|
+
id?: string;
|
|
1588
|
+
spec?: ToolkitManifestShortcutSpec;
|
|
1589
|
+
}
|
|
1590
|
+
export interface ToolkitManifestShortcutSpec {
|
|
1591
|
+
$id?: string;
|
|
1592
|
+
color?: string;
|
|
1593
|
+
description?: string;
|
|
1594
|
+
icon?: string;
|
|
1595
|
+
name: string;
|
|
1596
|
+
prompt: string;
|
|
1597
|
+
surfaces?: ToolkitManifestShortcutSurfaceInput[];
|
|
1598
|
+
}
|
|
1599
|
+
export interface ToolkitManifestShortcutSurfaceInput {
|
|
1600
|
+
position: number;
|
|
1601
|
+
surface: string;
|
|
1602
|
+
}
|
|
1603
|
+
export interface ToolkitManifestSummaryResponse {
|
|
1604
|
+
action_buttons?: number;
|
|
1605
|
+
next_steps?: number;
|
|
1606
|
+
shortcuts?: number;
|
|
1607
|
+
templates?: number;
|
|
1608
|
+
}
|
|
1601
1609
|
export interface ToolkitManifestTemplate {
|
|
1602
1610
|
id?: string;
|
|
1603
1611
|
next_steps?: ToolkitTemplateNextStepRelation[];
|
|
@@ -1605,9 +1613,20 @@ export interface ToolkitManifestTemplate {
|
|
|
1605
1613
|
}
|
|
1606
1614
|
export interface ToolkitManifestTemplateSpec {
|
|
1607
1615
|
$id?: string;
|
|
1616
|
+
agenda_items?: ToolkitManifestAgendaItemSpec[];
|
|
1608
1617
|
backing_meeting_id?: string;
|
|
1609
1618
|
description?: string;
|
|
1619
|
+
detail_level?: "BULLET_POINTS" | "STANDARD" | "VERBATIM";
|
|
1620
|
+
meeting_duration_seconds?: number;
|
|
1610
1621
|
name: string;
|
|
1622
|
+
participants?: ToolkitManifestParticipantSpec[];
|
|
1623
|
+
start_time_offset_seconds?: number;
|
|
1624
|
+
title?: string;
|
|
1625
|
+
}
|
|
1626
|
+
export interface ToolkitManifestValidationErrorResponse {
|
|
1627
|
+
code?: string;
|
|
1628
|
+
message?: string;
|
|
1629
|
+
path?: string;
|
|
1611
1630
|
}
|
|
1612
1631
|
export interface ToolkitNextStepActionButtonRelation {
|
|
1613
1632
|
action_button: ToolkitManifestRef;
|
|
@@ -1621,7 +1640,9 @@ export interface ToolkitTemplateNextStepRelation {
|
|
|
1621
1640
|
export interface ToolkitToolkitManifestRequest {
|
|
1622
1641
|
action_buttons?: ToolkitManifestActionButton[];
|
|
1623
1642
|
next_steps?: ToolkitManifestNextStep[];
|
|
1643
|
+
shortcuts?: ToolkitManifestShortcut[];
|
|
1624
1644
|
templates?: ToolkitManifestTemplate[];
|
|
1645
|
+
toolkit_prompt?: string;
|
|
1625
1646
|
}
|
|
1626
1647
|
export interface ToolkitToolkitWithInstallationResponse {
|
|
1627
1648
|
installation?: ToolkitInstallationResponse;
|
|
@@ -1634,6 +1655,30 @@ export interface ToolkitUpdateToolkitRequest {
|
|
|
1634
1655
|
name?: string;
|
|
1635
1656
|
version?: string;
|
|
1636
1657
|
}
|
|
1658
|
+
export interface ToolkitUpdateVersionRequest {
|
|
1659
|
+
changelog?: string;
|
|
1660
|
+
manifest?: ToolkitToolkitManifestRequest;
|
|
1661
|
+
version_label?: string;
|
|
1662
|
+
}
|
|
1663
|
+
export interface ToolkitValidationResultResponse {
|
|
1664
|
+
errors?: ToolkitManifestValidationErrorResponse[];
|
|
1665
|
+
valid?: boolean;
|
|
1666
|
+
warnings?: ToolkitManifestValidationErrorResponse[];
|
|
1667
|
+
}
|
|
1668
|
+
export interface ToolkitVersionResponse {
|
|
1669
|
+
changelog?: string;
|
|
1670
|
+
created_at?: string;
|
|
1671
|
+
created_by?: string;
|
|
1672
|
+
deprecated_at?: string;
|
|
1673
|
+
id?: string;
|
|
1674
|
+
manifest?: ToolkitToolkitManifestRequest;
|
|
1675
|
+
published_at?: string;
|
|
1676
|
+
status?: string;
|
|
1677
|
+
toolkit_id?: string;
|
|
1678
|
+
updated_at?: string;
|
|
1679
|
+
version_label?: string;
|
|
1680
|
+
version_number?: number;
|
|
1681
|
+
}
|
|
1637
1682
|
export type UserInfoListData = RomeApiControllersExternalPartnerOauthUserInfo;
|
|
1638
1683
|
export type UserInfoListError = ErrorsErrorResponse;
|
|
1639
1684
|
export type VerifyCreateData = OauthPartnerAuthResponse;
|
|
@@ -1657,39 +1702,4 @@ export interface WebhookWebhookDeliveryResponse {
|
|
|
1657
1702
|
partner_app_id?: string;
|
|
1658
1703
|
retry_count?: number;
|
|
1659
1704
|
}
|
|
1660
|
-
export interface WorkflowCreateWorkflowError400 {
|
|
1661
|
-
code?: "invalid_request_body" | "validation_error";
|
|
1662
|
-
error?: string;
|
|
1663
|
-
request_id?: string;
|
|
1664
|
-
}
|
|
1665
|
-
export interface WorkflowCreateWorkflowRequest {
|
|
1666
|
-
actions: PartnerWorkflowAction[];
|
|
1667
|
-
description?: string;
|
|
1668
|
-
name: string;
|
|
1669
|
-
trigger_type: "action_item_created" | "action_item_updated" | "action_item_completed" | "meeting_ended" | "meeting_summary_ready";
|
|
1670
|
-
}
|
|
1671
|
-
export interface WorkflowUpdateWorkflowError400 {
|
|
1672
|
-
code?: "invalid_workflow_id" | "invalid_request_body" | "validation_error";
|
|
1673
|
-
error?: string;
|
|
1674
|
-
request_id?: string;
|
|
1675
|
-
}
|
|
1676
|
-
export interface WorkflowUpdateWorkflowRequest {
|
|
1677
|
-
actions?: PartnerWorkflowAction[];
|
|
1678
|
-
description?: string;
|
|
1679
|
-
is_active?: boolean;
|
|
1680
|
-
name?: string;
|
|
1681
|
-
status?: "active" | "inactive";
|
|
1682
|
-
trigger_type?: "action_item_created" | "action_item_updated" | "action_item_completed" | "meeting_ended" | "meeting_summary_ready";
|
|
1683
|
-
}
|
|
1684
|
-
export interface WorkflowWorkflowResponse {
|
|
1685
|
-
actions?: PartnerWorkflowAction[];
|
|
1686
|
-
created_at?: string;
|
|
1687
|
-
description?: string;
|
|
1688
|
-
id?: string;
|
|
1689
|
-
name?: string;
|
|
1690
|
-
partner_app_id?: string;
|
|
1691
|
-
status?: string;
|
|
1692
|
-
trigger_type?: string;
|
|
1693
|
-
updated_at?: string;
|
|
1694
|
-
}
|
|
1695
1705
|
//# sourceMappingURL=api-types.d.ts.map
|