@shipfox/api-integration-core-dto 9.0.2 → 12.2.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +29 -0
- package/dist/events.d.ts +54 -3
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +28 -1
- package/dist/events.js.map +1 -1
- package/dist/inter-module.d.ts +81 -29
- package/dist/inter-module.d.ts.map +1 -1
- package/dist/inter-module.js +28 -5
- package/dist/inter-module.js.map +1 -1
- package/dist/schemas/integrations.d.ts +19 -19
- package/dist/tsconfig.test.tsbuildinfo +1 -1
- package/dist/webhooks.d.ts +33 -10
- package/dist/webhooks.d.ts.map +1 -1
- package/dist/webhooks.js +9 -3
- package/dist/webhooks.js.map +1 -1
- package/package.json +2 -2
- package/src/events.test.ts +61 -1
- package/src/events.ts +41 -0
- package/src/inter-module.test.ts +42 -0
- package/src/inter-module.ts +17 -1
- package/src/webhooks.test.ts +18 -0
- package/src/webhooks.ts +25 -4
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -4,14 +4,14 @@ export declare const connectionSlugSchema: z.ZodString;
|
|
|
4
4
|
export declare const integrationProviderKindSchema: z.ZodString;
|
|
5
5
|
export type IntegrationProviderKindDto = z.infer<typeof integrationProviderKindSchema>;
|
|
6
6
|
export declare const integrationCapabilitySchema: z.ZodEnum<{
|
|
7
|
-
source_control: "source_control";
|
|
8
7
|
agent_tools: "agent_tools";
|
|
8
|
+
source_control: "source_control";
|
|
9
9
|
}>;
|
|
10
10
|
export type IntegrationCapabilityDto = z.infer<typeof integrationCapabilitySchema>;
|
|
11
11
|
export declare const integrationConnectionLifecycleStatusSchema: z.ZodEnum<{
|
|
12
|
-
error: "error";
|
|
13
12
|
active: "active";
|
|
14
13
|
disabled: "disabled";
|
|
14
|
+
error: "error";
|
|
15
15
|
}>;
|
|
16
16
|
export type IntegrationConnectionLifecycleStatusDto = z.infer<typeof integrationConnectionLifecycleStatusSchema>;
|
|
17
17
|
export declare const updateIntegrationConnectionLifecycleStatusSchema: z.ZodEnum<{
|
|
@@ -20,25 +20,25 @@ export declare const updateIntegrationConnectionLifecycleStatusSchema: z.ZodEnum
|
|
|
20
20
|
}>;
|
|
21
21
|
export type UpdateIntegrationConnectionLifecycleStatusDto = z.infer<typeof updateIntegrationConnectionLifecycleStatusSchema>;
|
|
22
22
|
export declare const repositoryVisibilitySchema: z.ZodEnum<{
|
|
23
|
-
unknown: "unknown";
|
|
24
|
-
public: "public";
|
|
25
|
-
private: "private";
|
|
26
23
|
internal: "internal";
|
|
24
|
+
private: "private";
|
|
25
|
+
public: "public";
|
|
26
|
+
unknown: "unknown";
|
|
27
27
|
}>;
|
|
28
28
|
export type RepositoryVisibilityDto = z.infer<typeof repositoryVisibilitySchema>;
|
|
29
29
|
export declare const integrationProviderDtoSchema: z.ZodObject<{
|
|
30
30
|
provider: z.ZodString;
|
|
31
31
|
display_name: z.ZodString;
|
|
32
32
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
33
|
-
source_control: "source_control";
|
|
34
33
|
agent_tools: "agent_tools";
|
|
34
|
+
source_control: "source_control";
|
|
35
35
|
}>>;
|
|
36
36
|
}, z.core.$strip>;
|
|
37
37
|
export type IntegrationProviderDto = z.infer<typeof integrationProviderDtoSchema>;
|
|
38
38
|
export declare const listIntegrationProvidersQuerySchema: z.ZodObject<{
|
|
39
39
|
capability: z.ZodOptional<z.ZodEnum<{
|
|
40
|
-
source_control: "source_control";
|
|
41
40
|
agent_tools: "agent_tools";
|
|
41
|
+
source_control: "source_control";
|
|
42
42
|
}>>;
|
|
43
43
|
}, z.core.$strip>;
|
|
44
44
|
export type ListIntegrationProvidersQueryDto = z.infer<typeof listIntegrationProvidersQuerySchema>;
|
|
@@ -47,8 +47,8 @@ export declare const listIntegrationProvidersResponseSchema: z.ZodObject<{
|
|
|
47
47
|
provider: z.ZodString;
|
|
48
48
|
display_name: z.ZodString;
|
|
49
49
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
50
|
-
source_control: "source_control";
|
|
51
50
|
agent_tools: "agent_tools";
|
|
51
|
+
source_control: "source_control";
|
|
52
52
|
}>>;
|
|
53
53
|
}, z.core.$strip>>;
|
|
54
54
|
}, z.core.$strip>;
|
|
@@ -61,13 +61,13 @@ export declare const integrationConnectionDtoSchema: z.ZodObject<{
|
|
|
61
61
|
slug: z.ZodString;
|
|
62
62
|
display_name: z.ZodString;
|
|
63
63
|
lifecycle_status: z.ZodEnum<{
|
|
64
|
-
error: "error";
|
|
65
64
|
active: "active";
|
|
66
65
|
disabled: "disabled";
|
|
66
|
+
error: "error";
|
|
67
67
|
}>;
|
|
68
68
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
69
|
-
source_control: "source_control";
|
|
70
69
|
agent_tools: "agent_tools";
|
|
70
|
+
source_control: "source_control";
|
|
71
71
|
}>>;
|
|
72
72
|
external_url: z.ZodOptional<z.ZodString>;
|
|
73
73
|
created_at: z.ZodString;
|
|
@@ -77,8 +77,8 @@ export type IntegrationConnectionDto = z.infer<typeof integrationConnectionDtoSc
|
|
|
77
77
|
export declare const listIntegrationConnectionsQuerySchema: z.ZodObject<{
|
|
78
78
|
workspace_id: z.ZodString;
|
|
79
79
|
capability: z.ZodOptional<z.ZodEnum<{
|
|
80
|
-
source_control: "source_control";
|
|
81
80
|
agent_tools: "agent_tools";
|
|
81
|
+
source_control: "source_control";
|
|
82
82
|
}>>;
|
|
83
83
|
}, z.core.$strip>;
|
|
84
84
|
export type ListIntegrationConnectionsQueryDto = z.infer<typeof listIntegrationConnectionsQuerySchema>;
|
|
@@ -91,13 +91,13 @@ export declare const listIntegrationConnectionsResponseSchema: z.ZodObject<{
|
|
|
91
91
|
slug: z.ZodString;
|
|
92
92
|
display_name: z.ZodString;
|
|
93
93
|
lifecycle_status: z.ZodEnum<{
|
|
94
|
-
error: "error";
|
|
95
94
|
active: "active";
|
|
96
95
|
disabled: "disabled";
|
|
96
|
+
error: "error";
|
|
97
97
|
}>;
|
|
98
98
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
99
|
-
source_control: "source_control";
|
|
100
99
|
agent_tools: "agent_tools";
|
|
100
|
+
source_control: "source_control";
|
|
101
101
|
}>>;
|
|
102
102
|
external_url: z.ZodOptional<z.ZodString>;
|
|
103
103
|
created_at: z.ZodString;
|
|
@@ -130,10 +130,10 @@ export declare const repositoryDtoSchema: z.ZodObject<{
|
|
|
130
130
|
full_name: z.ZodString;
|
|
131
131
|
default_branch: z.ZodString;
|
|
132
132
|
visibility: z.ZodEnum<{
|
|
133
|
-
unknown: "unknown";
|
|
134
|
-
public: "public";
|
|
135
|
-
private: "private";
|
|
136
133
|
internal: "internal";
|
|
134
|
+
private: "private";
|
|
135
|
+
public: "public";
|
|
136
|
+
unknown: "unknown";
|
|
137
137
|
}>;
|
|
138
138
|
clone_url: z.ZodString;
|
|
139
139
|
html_url: z.ZodString;
|
|
@@ -148,10 +148,10 @@ export declare const listRepositoriesResponseSchema: z.ZodObject<{
|
|
|
148
148
|
full_name: z.ZodString;
|
|
149
149
|
default_branch: z.ZodString;
|
|
150
150
|
visibility: z.ZodEnum<{
|
|
151
|
-
unknown: "unknown";
|
|
152
|
-
public: "public";
|
|
153
|
-
private: "private";
|
|
154
151
|
internal: "internal";
|
|
152
|
+
private: "private";
|
|
153
|
+
public: "public";
|
|
154
|
+
unknown: "unknown";
|
|
155
155
|
}>;
|
|
156
156
|
clone_url: z.ZodString;
|
|
157
157
|
html_url: z.ZodString;
|