@n8n/api-types 1.39.3 → 1.40.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.
Files changed (168) hide show
  1. package/dist/agents/agent-json-config.schema.d.ts +0 -136
  2. package/dist/agents/agent-json-config.schema.js +0 -1
  3. package/dist/agents/agent-json-config.schema.js.map +1 -1
  4. package/dist/agents/background-job.d.ts +17 -0
  5. package/dist/agents/background-job.js +3 -0
  6. package/dist/agents/background-job.js.map +1 -0
  7. package/dist/agents/dto.d.ts +2413 -0
  8. package/dist/agents/dto.js +7 -0
  9. package/dist/agents/dto.js.map +1 -1
  10. package/dist/agents/index.d.ts +1 -0
  11. package/dist/agents/index.js.map +1 -1
  12. package/dist/agents/inline-agent-config.schema.d.ts +12 -64
  13. package/dist/agents/types.d.ts +17 -0
  14. package/dist/agents/types.js.map +1 -1
  15. package/dist/build.tsbuildinfo +1 -1
  16. package/dist/dto/ai-preference/ai-preference-list-query.dto.d.ts +12 -0
  17. package/dist/dto/ai-preference/ai-preference-list-query.dto.js +14 -0
  18. package/dist/dto/ai-preference/ai-preference-list-query.dto.js.map +1 -0
  19. package/dist/dto/ai-preference/ai-preference-request.dto.d.ts +15 -0
  20. package/dist/dto/ai-preference/ai-preference-request.dto.js +15 -0
  21. package/dist/dto/ai-preference/ai-preference-request.dto.js.map +1 -0
  22. package/dist/dto/credentials/credential-public.dto.d.ts +114 -0
  23. package/dist/dto/credentials/credential-public.dto.js +85 -1
  24. package/dist/dto/credentials/credential-public.dto.js.map +1 -1
  25. package/dist/dto/data-table/delete-data-table-rows.dto.d.ts +2 -2
  26. package/dist/dto/data-table/list-data-table-content-query.dto.d.ts +4 -4
  27. package/dist/dto/data-table/update-data-table-row.dto.d.ts +8 -8
  28. package/dist/dto/data-table/upsert-data-table-row.dto.d.ts +8 -8
  29. package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.d.ts +1 -1
  30. package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.js +1 -1
  31. package/dist/dto/dynamic-node-parameters/resource-locator-request.dto.js.map +1 -1
  32. package/dist/dto/index.d.ts +32 -5
  33. package/dist/dto/index.js +135 -20
  34. package/dist/dto/index.js.map +1 -1
  35. package/dist/dto/node-type-policies/create-policy-document.dto.d.ts +80 -0
  36. package/dist/dto/node-type-policies/create-policy-document.dto.js +11 -0
  37. package/dist/dto/node-type-policies/create-policy-document.dto.js.map +1 -0
  38. package/dist/dto/node-type-policies/node-type-policy-public.dto.d.ts +146 -0
  39. package/dist/dto/node-type-policies/node-type-policy-public.dto.js +27 -0
  40. package/dist/dto/node-type-policies/node-type-policy-public.dto.js.map +1 -0
  41. package/dist/dto/node-type-policies/policy-rule.schema.d.ts +173 -0
  42. package/dist/dto/node-type-policies/policy-rule.schema.js +40 -0
  43. package/dist/dto/node-type-policies/policy-rule.schema.js.map +1 -0
  44. package/dist/dto/node-type-policies/policy-rule.types.d.ts +17 -0
  45. package/dist/dto/node-type-policies/policy-rule.types.js +3 -0
  46. package/dist/dto/node-type-policies/policy-rule.types.js.map +1 -0
  47. package/dist/dto/node-type-policies/policy-selector.schema.d.ts +20 -0
  48. package/dist/dto/node-type-policies/policy-selector.schema.js +9 -0
  49. package/dist/dto/node-type-policies/policy-selector.schema.js.map +1 -0
  50. package/dist/dto/node-type-policies/put-instance-policy.dto.d.ts +85 -0
  51. package/dist/dto/node-type-policies/put-instance-policy.dto.js +14 -0
  52. package/dist/dto/node-type-policies/put-instance-policy.dto.js.map +1 -0
  53. package/dist/dto/node-type-policies/put-project-policy.dto.d.ts +86 -0
  54. package/dist/dto/node-type-policies/put-project-policy.dto.js +14 -0
  55. package/dist/dto/node-type-policies/put-project-policy.dto.js.map +1 -0
  56. package/dist/dto/node-type-policies/replace-attachments.dto.d.ts +97 -0
  57. package/dist/dto/node-type-policies/replace-attachments.dto.js +36 -0
  58. package/dist/dto/node-type-policies/replace-attachments.dto.js.map +1 -0
  59. package/dist/dto/node-type-policies/update-policy-document.dto.d.ts +83 -0
  60. package/dist/dto/node-type-policies/update-policy-document.dto.js +13 -0
  61. package/dist/dto/node-type-policies/update-policy-document.dto.js.map +1 -0
  62. package/dist/dto/project/project-member-public.dto.d.ts +123 -0
  63. package/dist/dto/project/project-member-public.dto.js +52 -0
  64. package/dist/dto/project/project-member-public.dto.js.map +1 -0
  65. package/dist/dto/project/project-member-public.openapi.d.ts +59 -0
  66. package/dist/dto/project/project-member-public.openapi.js +54 -0
  67. package/dist/dto/project/project-member-public.openapi.js.map +1 -0
  68. package/dist/dto/project/project-public.dto.d.ts +285 -0
  69. package/dist/dto/project/project-public.dto.js +67 -0
  70. package/dist/dto/project/project-public.dto.js.map +1 -0
  71. package/dist/dto/project/project-public.openapi.d.ts +52 -0
  72. package/dist/dto/project/project-public.openapi.js +39 -0
  73. package/dist/dto/project/project-public.openapi.js.map +1 -0
  74. package/dist/dto/promotions/promotable-resource.dto.d.ts +19 -7
  75. package/dist/dto/promotions/promotable-resource.dto.js +21 -5
  76. package/dist/dto/promotions/promotable-resource.dto.js.map +1 -1
  77. package/dist/dto/promotions/promotion-checkout.dto.d.ts +36 -0
  78. package/dist/dto/promotions/promotion-checkout.dto.js +18 -0
  79. package/dist/dto/promotions/promotion-checkout.dto.js.map +1 -0
  80. package/dist/dto/promotions/promotion-common.dto.d.ts +2 -0
  81. package/dist/dto/promotions/promotion-common.dto.js +6 -0
  82. package/dist/dto/promotions/promotion-common.dto.js.map +1 -0
  83. package/dist/dto/promotions/promotion-config.dto.d.ts +372 -0
  84. package/dist/dto/promotions/promotion-config.dto.js +64 -0
  85. package/dist/dto/promotions/promotion-config.dto.js.map +1 -0
  86. package/dist/dto/promotions/promotion-connection.dto.d.ts +1087 -0
  87. package/dist/dto/promotions/promotion-connection.dto.js +93 -0
  88. package/dist/dto/promotions/promotion-connection.dto.js.map +1 -0
  89. package/dist/dto/{git-connections/git-connections.dto.d.ts → promotions/promotion-operations.dto.d.ts} +90 -241
  90. package/dist/dto/promotions/promotion-operations.dto.js +78 -0
  91. package/dist/dto/promotions/promotion-operations.dto.js.map +1 -0
  92. package/dist/dto/promotions/promotion-provider.dto.d.ts +638 -0
  93. package/dist/dto/promotions/promotion-provider.dto.js +119 -0
  94. package/dist/dto/promotions/promotion-provider.dto.js.map +1 -0
  95. package/dist/dto/source-control/pull-work-folder-request.dto.d.ts +1 -0
  96. package/dist/dto/source-control/pull-work-folder-request.dto.js +12 -2
  97. package/dist/dto/source-control/pull-work-folder-request.dto.js.map +1 -1
  98. package/dist/dto/source-control/source-control-pull-response-public.dto.d.ts +242 -0
  99. package/dist/dto/source-control/source-control-pull-response-public.dto.js +9 -0
  100. package/dist/dto/source-control/source-control-pull-response-public.dto.js.map +1 -0
  101. package/dist/dto/tag/tag-public.dto.d.ts +13 -0
  102. package/dist/dto/tag/tag-public.dto.js +16 -11
  103. package/dist/dto/tag/tag-public.dto.js.map +1 -1
  104. package/dist/dto/tag/tag-public.openapi.d.ts +32 -0
  105. package/dist/dto/tag/tag-public.openapi.js +15 -0
  106. package/dist/dto/tag/tag-public.openapi.js.map +1 -0
  107. package/dist/dto/user/change-email-request.dto.d.ts +13 -0
  108. package/dist/dto/user/change-email-request.dto.js +13 -0
  109. package/dist/dto/user/change-email-request.dto.js.map +1 -0
  110. package/dist/dto/user/confirm-email-change-request.dto.d.ts +9 -0
  111. package/dist/dto/user/confirm-email-change-request.dto.js +11 -0
  112. package/dist/dto/user/confirm-email-change-request.dto.js.map +1 -0
  113. package/dist/dto/user/resolve-change-email-token-query.dto.d.ts +9 -0
  114. package/dist/dto/user/resolve-change-email-token-query.dto.js +11 -0
  115. package/dist/dto/user/resolve-change-email-token-query.dto.js.map +1 -0
  116. package/dist/dto/user/user-self-settings-update-request.dto.d.ts +10 -0
  117. package/dist/dto/user/user-self-settings-update-request.dto.js +1 -0
  118. package/dist/dto/user/user-self-settings-update-request.dto.js.map +1 -1
  119. package/dist/dto/variables/list-variables-query.dto.d.ts +17 -0
  120. package/dist/dto/variables/list-variables-query.dto.js +17 -0
  121. package/dist/dto/variables/list-variables-query.dto.js.map +1 -0
  122. package/dist/dto/variables/update-variable-request.dto.d.ts +1 -0
  123. package/dist/dto/variables/update-variable-request.dto.js +3 -3
  124. package/dist/dto/variables/update-variable-request.dto.js.map +1 -1
  125. package/dist/dto/variables/variable-public.dto.d.ts +263 -0
  126. package/dist/dto/variables/variable-public.dto.js +21 -0
  127. package/dist/dto/variables/variable-public.dto.js.map +1 -0
  128. package/dist/dto/variables/variable-write-public.dto.d.ts +33 -0
  129. package/dist/dto/variables/variable-write-public.dto.js +31 -0
  130. package/dist/dto/variables/variable-write-public.dto.js.map +1 -0
  131. package/dist/dto/workflows/base-workflow-public.dto.js +17 -17
  132. package/dist/dto/workflows/base-workflow-public.dto.js.map +1 -1
  133. package/dist/dto/workflows/workflow-public.dto.d.ts +129 -84
  134. package/dist/dto/workflows/workflow-public.dto.js +2 -22
  135. package/dist/dto/workflows/workflow-public.dto.js.map +1 -1
  136. package/dist/dto/workflows/workflow-public.openapi.js.map +1 -1
  137. package/dist/frontend-settings.d.ts +4 -0
  138. package/dist/index.d.ts +8 -2
  139. package/dist/index.js +34 -7
  140. package/dist/index.js.map +1 -1
  141. package/dist/instance-reporting.d.ts +3 -0
  142. package/dist/instance-reporting.js +3 -0
  143. package/dist/instance-reporting.js.map +1 -0
  144. package/dist/node-type-availability.d.ts +9 -0
  145. package/dist/node-type-availability.js +3 -0
  146. package/dist/node-type-availability.js.map +1 -0
  147. package/dist/push/agents.d.ts +16 -1
  148. package/dist/schemas/ai-preference.schema.d.ts +62 -0
  149. package/dist/schemas/ai-preference.schema.js +27 -0
  150. package/dist/schemas/ai-preference.schema.js.map +1 -0
  151. package/dist/schemas/change-email-response.d.ts +48 -0
  152. package/dist/schemas/change-email-response.js +17 -0
  153. package/dist/schemas/change-email-response.js.map +1 -0
  154. package/dist/schemas/data-table-filter.schema.d.ts +9 -9
  155. package/dist/schemas/data-table-filter.schema.js +2 -0
  156. package/dist/schemas/data-table-filter.schema.js.map +1 -1
  157. package/dist/schemas/instance-ai.schema.d.ts +24 -128
  158. package/dist/schemas/instance-ai.schema.js +16 -2
  159. package/dist/schemas/instance-ai.schema.js.map +1 -1
  160. package/dist/schemas/public-api-path-params.schema.d.ts +15 -0
  161. package/dist/schemas/public-api-path-params.schema.js +26 -0
  162. package/dist/schemas/public-api-path-params.schema.js.map +1 -0
  163. package/dist/schemas/read-only-public.schema.d.ts +4 -0
  164. package/dist/schemas/read-only-public.schema.js +8 -0
  165. package/dist/schemas/read-only-public.schema.js.map +1 -0
  166. package/package.json +5 -7
  167. package/dist/dto/git-connections/git-connections.dto.js +0 -145
  168. package/dist/dto/git-connections/git-connections.dto.js.map +0 -1
@@ -0,0 +1,638 @@
1
+ import '../../openapi-extend';
2
+ import { z } from 'zod';
3
+ export declare const promotionProviderTypeSchema: z.ZodEnum<["git"]>;
4
+ export type PromotionProviderType = z.infer<typeof promotionProviderTypeSchema>;
5
+ export declare const promotionProviderAuthTypeSchema: z.ZodEnum<["ssh-key", "token"]>;
6
+ export type PromotionProviderAuthType = z.infer<typeof promotionProviderAuthTypeSchema>;
7
+ export declare const promotionSshKeyTypeSchema: z.ZodEnum<["ed25519", "rsa"]>;
8
+ export type PromotionSshKeyType = z.infer<typeof promotionSshKeyTypeSchema>;
9
+ export declare const promotionGitSshKeyConfigSchema: z.ZodObject<{
10
+ schemaVersion: z.ZodLiteral<1>;
11
+ publicKey: z.ZodString;
12
+ keyType: z.ZodEnum<["ed25519", "rsa"]>;
13
+ }, "strict", z.ZodTypeAny, {
14
+ schemaVersion: 1;
15
+ publicKey: string;
16
+ keyType: "ed25519" | "rsa";
17
+ }, {
18
+ schemaVersion: 1;
19
+ publicKey: string;
20
+ keyType: "ed25519" | "rsa";
21
+ }>;
22
+ export declare const promotionGitTokenConfigSchema: z.ZodObject<{
23
+ schemaVersion: z.ZodLiteral<1>;
24
+ }, "strict", z.ZodTypeAny, {
25
+ schemaVersion: 1;
26
+ }, {
27
+ schemaVersion: 1;
28
+ }>;
29
+ export declare const promotionGitConfigSchemas: {
30
+ readonly 'ssh-key': z.ZodObject<{
31
+ schemaVersion: z.ZodLiteral<1>;
32
+ publicKey: z.ZodString;
33
+ keyType: z.ZodEnum<["ed25519", "rsa"]>;
34
+ }, "strict", z.ZodTypeAny, {
35
+ schemaVersion: 1;
36
+ publicKey: string;
37
+ keyType: "ed25519" | "rsa";
38
+ }, {
39
+ schemaVersion: 1;
40
+ publicKey: string;
41
+ keyType: "ed25519" | "rsa";
42
+ }>;
43
+ readonly token: z.ZodObject<{
44
+ schemaVersion: z.ZodLiteral<1>;
45
+ }, "strict", z.ZodTypeAny, {
46
+ schemaVersion: 1;
47
+ }, {
48
+ schemaVersion: 1;
49
+ }>;
50
+ };
51
+ export declare const promotionProviderConfigSchema: z.ZodUnion<[z.ZodObject<{
52
+ schemaVersion: z.ZodLiteral<1>;
53
+ publicKey: z.ZodString;
54
+ keyType: z.ZodEnum<["ed25519", "rsa"]>;
55
+ }, "strict", z.ZodTypeAny, {
56
+ schemaVersion: 1;
57
+ publicKey: string;
58
+ keyType: "ed25519" | "rsa";
59
+ }, {
60
+ schemaVersion: 1;
61
+ publicKey: string;
62
+ keyType: "ed25519" | "rsa";
63
+ }>, z.ZodObject<{
64
+ schemaVersion: z.ZodLiteral<1>;
65
+ }, "strict", z.ZodTypeAny, {
66
+ schemaVersion: 1;
67
+ }, {
68
+ schemaVersion: 1;
69
+ }>]>;
70
+ export type PromotionProviderConfig = z.infer<typeof promotionProviderConfigSchema>;
71
+ export declare const promotionGitSshKeyAuthInputSchema: z.ZodObject<{
72
+ authType: z.ZodLiteral<"ssh-key">;
73
+ keyType: z.ZodDefault<z.ZodEnum<["ed25519", "rsa"]>>;
74
+ }, "strict", z.ZodTypeAny, {
75
+ authType: "ssh-key";
76
+ keyType: "ed25519" | "rsa";
77
+ }, {
78
+ authType: "ssh-key";
79
+ keyType?: "ed25519" | "rsa" | undefined;
80
+ }>;
81
+ export declare const promotionGitSshKeyAuthUpdateSchema: z.ZodObject<{
82
+ authType: z.ZodLiteral<"ssh-key">;
83
+ keyType: z.ZodOptional<z.ZodEnum<["ed25519", "rsa"]>>;
84
+ }, "strict", z.ZodTypeAny, {
85
+ authType: "ssh-key";
86
+ keyType?: "ed25519" | "rsa" | undefined;
87
+ }, {
88
+ authType: "ssh-key";
89
+ keyType?: "ed25519" | "rsa" | undefined;
90
+ }>;
91
+ export declare const promotionGitTokenAuthInputSchema: z.ZodObject<{
92
+ authType: z.ZodLiteral<"token">;
93
+ username: z.ZodString;
94
+ password: z.ZodString;
95
+ }, "strict", z.ZodTypeAny, {
96
+ authType: "token";
97
+ username: string;
98
+ password: string;
99
+ }, {
100
+ authType: "token";
101
+ username: string;
102
+ password: string;
103
+ }>;
104
+ export declare const promotionProviderAuthInputSchema: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
105
+ authType: z.ZodLiteral<"ssh-key">;
106
+ keyType: z.ZodDefault<z.ZodEnum<["ed25519", "rsa"]>>;
107
+ }, "strict", z.ZodTypeAny, {
108
+ authType: "ssh-key";
109
+ keyType: "ed25519" | "rsa";
110
+ }, {
111
+ authType: "ssh-key";
112
+ keyType?: "ed25519" | "rsa" | undefined;
113
+ }>, z.ZodObject<{
114
+ authType: z.ZodLiteral<"token">;
115
+ username: z.ZodString;
116
+ password: z.ZodString;
117
+ }, "strict", z.ZodTypeAny, {
118
+ authType: "token";
119
+ username: string;
120
+ password: string;
121
+ }, {
122
+ authType: "token";
123
+ username: string;
124
+ password: string;
125
+ }>]>;
126
+ export type PromotionProviderAuthInput = z.infer<typeof promotionProviderAuthInputSchema>;
127
+ export declare const promotionProviderAuthUpdateSchema: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
128
+ authType: z.ZodLiteral<"ssh-key">;
129
+ keyType: z.ZodOptional<z.ZodEnum<["ed25519", "rsa"]>>;
130
+ }, "strict", z.ZodTypeAny, {
131
+ authType: "ssh-key";
132
+ keyType?: "ed25519" | "rsa" | undefined;
133
+ }, {
134
+ authType: "ssh-key";
135
+ keyType?: "ed25519" | "rsa" | undefined;
136
+ }>, z.ZodObject<{
137
+ authType: z.ZodLiteral<"token">;
138
+ username: z.ZodString;
139
+ password: z.ZodString;
140
+ }, "strict", z.ZodTypeAny, {
141
+ authType: "token";
142
+ username: string;
143
+ password: string;
144
+ }, {
145
+ authType: "token";
146
+ username: string;
147
+ password: string;
148
+ }>]>;
149
+ export type PromotionProviderAuthUpdate = z.infer<typeof promotionProviderAuthUpdateSchema>;
150
+ declare const CreatePromotionProviderDto_base: import("../../zod-class").ZodClass<{
151
+ name: string;
152
+ type: "git";
153
+ auth: {
154
+ authType: "ssh-key";
155
+ keyType: "ed25519" | "rsa";
156
+ } | {
157
+ authType: "token";
158
+ username: string;
159
+ password: string;
160
+ };
161
+ }, {
162
+ name: z.ZodString;
163
+ type: z.ZodEnum<["git"]>;
164
+ auth: z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
165
+ authType: z.ZodLiteral<"ssh-key">;
166
+ keyType: z.ZodDefault<z.ZodEnum<["ed25519", "rsa"]>>;
167
+ }, "strict", z.ZodTypeAny, {
168
+ authType: "ssh-key";
169
+ keyType: "ed25519" | "rsa";
170
+ }, {
171
+ authType: "ssh-key";
172
+ keyType?: "ed25519" | "rsa" | undefined;
173
+ }>, z.ZodObject<{
174
+ authType: z.ZodLiteral<"token">;
175
+ username: z.ZodString;
176
+ password: z.ZodString;
177
+ }, "strict", z.ZodTypeAny, {
178
+ authType: "token";
179
+ username: string;
180
+ password: string;
181
+ }, {
182
+ authType: "token";
183
+ username: string;
184
+ password: string;
185
+ }>]>;
186
+ }>;
187
+ export declare class CreatePromotionProviderDto extends CreatePromotionProviderDto_base {
188
+ }
189
+ declare const updatePromotionProviderSchema: z.ZodEffects<z.ZodObject<{
190
+ name: z.ZodOptional<z.ZodString>;
191
+ auth: z.ZodOptional<z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
192
+ authType: z.ZodLiteral<"ssh-key">;
193
+ keyType: z.ZodOptional<z.ZodEnum<["ed25519", "rsa"]>>;
194
+ }, "strict", z.ZodTypeAny, {
195
+ authType: "ssh-key";
196
+ keyType?: "ed25519" | "rsa" | undefined;
197
+ }, {
198
+ authType: "ssh-key";
199
+ keyType?: "ed25519" | "rsa" | undefined;
200
+ }>, z.ZodObject<{
201
+ authType: z.ZodLiteral<"token">;
202
+ username: z.ZodString;
203
+ password: z.ZodString;
204
+ }, "strict", z.ZodTypeAny, {
205
+ authType: "token";
206
+ username: string;
207
+ password: string;
208
+ }, {
209
+ authType: "token";
210
+ username: string;
211
+ password: string;
212
+ }>]>>;
213
+ }, "strict", z.ZodTypeAny, {
214
+ name?: string | undefined;
215
+ auth?: {
216
+ authType: "ssh-key";
217
+ keyType?: "ed25519" | "rsa" | undefined;
218
+ } | {
219
+ authType: "token";
220
+ username: string;
221
+ password: string;
222
+ } | undefined;
223
+ }, {
224
+ name?: string | undefined;
225
+ auth?: {
226
+ authType: "ssh-key";
227
+ keyType?: "ed25519" | "rsa" | undefined;
228
+ } | {
229
+ authType: "token";
230
+ username: string;
231
+ password: string;
232
+ } | undefined;
233
+ }>, {
234
+ name?: string | undefined;
235
+ auth?: {
236
+ authType: "ssh-key";
237
+ keyType?: "ed25519" | "rsa" | undefined;
238
+ } | {
239
+ authType: "token";
240
+ username: string;
241
+ password: string;
242
+ } | undefined;
243
+ }, {
244
+ name?: string | undefined;
245
+ auth?: {
246
+ authType: "ssh-key";
247
+ keyType?: "ed25519" | "rsa" | undefined;
248
+ } | {
249
+ authType: "token";
250
+ username: string;
251
+ password: string;
252
+ } | undefined;
253
+ }>;
254
+ type UpdatePromotionProvider = z.infer<typeof updatePromotionProviderSchema>;
255
+ export declare class UpdatePromotionProviderDto implements UpdatePromotionProvider {
256
+ name?: string;
257
+ auth?: PromotionProviderAuthUpdate;
258
+ static schema: z.ZodEffects<z.ZodObject<{
259
+ name: z.ZodOptional<z.ZodString>;
260
+ auth: z.ZodOptional<z.ZodDiscriminatedUnion<"authType", [z.ZodObject<{
261
+ authType: z.ZodLiteral<"ssh-key">;
262
+ keyType: z.ZodOptional<z.ZodEnum<["ed25519", "rsa"]>>;
263
+ }, "strict", z.ZodTypeAny, {
264
+ authType: "ssh-key";
265
+ keyType?: "ed25519" | "rsa" | undefined;
266
+ }, {
267
+ authType: "ssh-key";
268
+ keyType?: "ed25519" | "rsa" | undefined;
269
+ }>, z.ZodObject<{
270
+ authType: z.ZodLiteral<"token">;
271
+ username: z.ZodString;
272
+ password: z.ZodString;
273
+ }, "strict", z.ZodTypeAny, {
274
+ authType: "token";
275
+ username: string;
276
+ password: string;
277
+ }, {
278
+ authType: "token";
279
+ username: string;
280
+ password: string;
281
+ }>]>>;
282
+ }, "strict", z.ZodTypeAny, {
283
+ name?: string | undefined;
284
+ auth?: {
285
+ authType: "ssh-key";
286
+ keyType?: "ed25519" | "rsa" | undefined;
287
+ } | {
288
+ authType: "token";
289
+ username: string;
290
+ password: string;
291
+ } | undefined;
292
+ }, {
293
+ name?: string | undefined;
294
+ auth?: {
295
+ authType: "ssh-key";
296
+ keyType?: "ed25519" | "rsa" | undefined;
297
+ } | {
298
+ authType: "token";
299
+ username: string;
300
+ password: string;
301
+ } | undefined;
302
+ }>, {
303
+ name?: string | undefined;
304
+ auth?: {
305
+ authType: "ssh-key";
306
+ keyType?: "ed25519" | "rsa" | undefined;
307
+ } | {
308
+ authType: "token";
309
+ username: string;
310
+ password: string;
311
+ } | undefined;
312
+ }, {
313
+ name?: string | undefined;
314
+ auth?: {
315
+ authType: "ssh-key";
316
+ keyType?: "ed25519" | "rsa" | undefined;
317
+ } | {
318
+ authType: "token";
319
+ username: string;
320
+ password: string;
321
+ } | undefined;
322
+ }>;
323
+ constructor(data: UpdatePromotionProvider);
324
+ static safeParse(data: unknown): z.SafeParseReturnType<{
325
+ name?: string | undefined;
326
+ auth?: {
327
+ authType: "ssh-key";
328
+ keyType?: "ed25519" | "rsa" | undefined;
329
+ } | {
330
+ authType: "token";
331
+ username: string;
332
+ password: string;
333
+ } | undefined;
334
+ }, {
335
+ name?: string | undefined;
336
+ auth?: {
337
+ authType: "ssh-key";
338
+ keyType?: "ed25519" | "rsa" | undefined;
339
+ } | {
340
+ authType: "token";
341
+ username: string;
342
+ password: string;
343
+ } | undefined;
344
+ }>;
345
+ static parse(data: unknown): {
346
+ name?: string | undefined;
347
+ auth?: {
348
+ authType: "ssh-key";
349
+ keyType?: "ed25519" | "rsa" | undefined;
350
+ } | {
351
+ authType: "token";
352
+ username: string;
353
+ password: string;
354
+ } | undefined;
355
+ };
356
+ }
357
+ export declare const promotionProviderPublicSchema: z.ZodObject<{
358
+ id: z.ZodString;
359
+ name: z.ZodString;
360
+ type: z.ZodEnum<["git"]>;
361
+ authType: z.ZodEnum<["ssh-key", "token"]>;
362
+ config: z.ZodUnion<[z.ZodObject<{
363
+ schemaVersion: z.ZodLiteral<1>;
364
+ publicKey: z.ZodString;
365
+ keyType: z.ZodEnum<["ed25519", "rsa"]>;
366
+ }, "strict", z.ZodTypeAny, {
367
+ schemaVersion: 1;
368
+ publicKey: string;
369
+ keyType: "ed25519" | "rsa";
370
+ }, {
371
+ schemaVersion: 1;
372
+ publicKey: string;
373
+ keyType: "ed25519" | "rsa";
374
+ }>, z.ZodObject<{
375
+ schemaVersion: z.ZodLiteral<1>;
376
+ }, "strict", z.ZodTypeAny, {
377
+ schemaVersion: 1;
378
+ }, {
379
+ schemaVersion: 1;
380
+ }>]>;
381
+ createdAt: z.ZodString;
382
+ updatedAt: z.ZodString;
383
+ }, "strip", z.ZodTypeAny, {
384
+ id: string;
385
+ name: string;
386
+ type: "git";
387
+ authType: "ssh-key" | "token";
388
+ config: {
389
+ schemaVersion: 1;
390
+ publicKey: string;
391
+ keyType: "ed25519" | "rsa";
392
+ } | {
393
+ schemaVersion: 1;
394
+ };
395
+ createdAt: string;
396
+ updatedAt: string;
397
+ }, {
398
+ id: string;
399
+ name: string;
400
+ type: "git";
401
+ authType: "ssh-key" | "token";
402
+ config: {
403
+ schemaVersion: 1;
404
+ publicKey: string;
405
+ keyType: "ed25519" | "rsa";
406
+ } | {
407
+ schemaVersion: 1;
408
+ };
409
+ createdAt: string;
410
+ updatedAt: string;
411
+ }>;
412
+ declare const PromotionProviderPublicDto_base: import("../../zod-class").ZodClass<{
413
+ id: string;
414
+ name: string;
415
+ type: "git";
416
+ authType: "ssh-key" | "token";
417
+ config: {
418
+ schemaVersion: 1;
419
+ publicKey: string;
420
+ keyType: "ed25519" | "rsa";
421
+ } | {
422
+ schemaVersion: 1;
423
+ };
424
+ createdAt: string;
425
+ updatedAt: string;
426
+ }, {
427
+ id: z.ZodString;
428
+ name: z.ZodString;
429
+ type: z.ZodEnum<["git"]>;
430
+ authType: z.ZodEnum<["ssh-key", "token"]>;
431
+ config: z.ZodUnion<[z.ZodObject<{
432
+ schemaVersion: z.ZodLiteral<1>;
433
+ publicKey: z.ZodString;
434
+ keyType: z.ZodEnum<["ed25519", "rsa"]>;
435
+ }, "strict", z.ZodTypeAny, {
436
+ schemaVersion: 1;
437
+ publicKey: string;
438
+ keyType: "ed25519" | "rsa";
439
+ }, {
440
+ schemaVersion: 1;
441
+ publicKey: string;
442
+ keyType: "ed25519" | "rsa";
443
+ }>, z.ZodObject<{
444
+ schemaVersion: z.ZodLiteral<1>;
445
+ }, "strict", z.ZodTypeAny, {
446
+ schemaVersion: 1;
447
+ }, {
448
+ schemaVersion: 1;
449
+ }>]>;
450
+ createdAt: z.ZodString;
451
+ updatedAt: z.ZodString;
452
+ }>;
453
+ export declare class PromotionProviderPublicDto extends PromotionProviderPublicDto_base {
454
+ }
455
+ export declare const promotionProviderSummarySchema: z.ZodObject<Omit<{
456
+ id: z.ZodString;
457
+ name: z.ZodString;
458
+ type: z.ZodEnum<["git"]>;
459
+ authType: z.ZodEnum<["ssh-key", "token"]>;
460
+ config: z.ZodUnion<[z.ZodObject<{
461
+ schemaVersion: z.ZodLiteral<1>;
462
+ publicKey: z.ZodString;
463
+ keyType: z.ZodEnum<["ed25519", "rsa"]>;
464
+ }, "strict", z.ZodTypeAny, {
465
+ schemaVersion: 1;
466
+ publicKey: string;
467
+ keyType: "ed25519" | "rsa";
468
+ }, {
469
+ schemaVersion: 1;
470
+ publicKey: string;
471
+ keyType: "ed25519" | "rsa";
472
+ }>, z.ZodObject<{
473
+ schemaVersion: z.ZodLiteral<1>;
474
+ }, "strict", z.ZodTypeAny, {
475
+ schemaVersion: 1;
476
+ }, {
477
+ schemaVersion: 1;
478
+ }>]>;
479
+ createdAt: z.ZodString;
480
+ updatedAt: z.ZodString;
481
+ }, "config">, "strip", z.ZodTypeAny, {
482
+ id: string;
483
+ name: string;
484
+ type: "git";
485
+ authType: "ssh-key" | "token";
486
+ createdAt: string;
487
+ updatedAt: string;
488
+ }, {
489
+ id: string;
490
+ name: string;
491
+ type: "git";
492
+ authType: "ssh-key" | "token";
493
+ createdAt: string;
494
+ updatedAt: string;
495
+ }>;
496
+ declare const PromotionProviderListPublicDto_base: import("../../zod-class").ZodClass<{
497
+ data: {
498
+ id: string;
499
+ name: string;
500
+ type: "git";
501
+ authType: "ssh-key" | "token";
502
+ createdAt: string;
503
+ updatedAt: string;
504
+ }[];
505
+ nextCursor: string | null;
506
+ }, {
507
+ data: z.ZodArray<z.ZodObject<Omit<{
508
+ id: z.ZodString;
509
+ name: z.ZodString;
510
+ type: z.ZodEnum<["git"]>;
511
+ authType: z.ZodEnum<["ssh-key", "token"]>;
512
+ config: z.ZodUnion<[z.ZodObject<{
513
+ schemaVersion: z.ZodLiteral<1>;
514
+ publicKey: z.ZodString;
515
+ keyType: z.ZodEnum<["ed25519", "rsa"]>;
516
+ }, "strict", z.ZodTypeAny, {
517
+ schemaVersion: 1;
518
+ publicKey: string;
519
+ keyType: "ed25519" | "rsa";
520
+ }, {
521
+ schemaVersion: 1;
522
+ publicKey: string;
523
+ keyType: "ed25519" | "rsa";
524
+ }>, z.ZodObject<{
525
+ schemaVersion: z.ZodLiteral<1>;
526
+ }, "strict", z.ZodTypeAny, {
527
+ schemaVersion: 1;
528
+ }, {
529
+ schemaVersion: 1;
530
+ }>]>;
531
+ createdAt: z.ZodString;
532
+ updatedAt: z.ZodString;
533
+ }, "config">, "strip", z.ZodTypeAny, {
534
+ id: string;
535
+ name: string;
536
+ type: "git";
537
+ authType: "ssh-key" | "token";
538
+ createdAt: string;
539
+ updatedAt: string;
540
+ }, {
541
+ id: string;
542
+ name: string;
543
+ type: "git";
544
+ authType: "ssh-key" | "token";
545
+ createdAt: string;
546
+ updatedAt: string;
547
+ }>, "many">;
548
+ nextCursor: z.ZodNullable<z.ZodString>;
549
+ }>;
550
+ export declare class PromotionProviderListPublicDto extends PromotionProviderListPublicDto_base {
551
+ }
552
+ declare const PromotionProviderCreatedPublicDto_base: import("../../zod-class").ZodClass<{
553
+ provider: {
554
+ id: string;
555
+ name: string;
556
+ type: "git";
557
+ authType: "ssh-key" | "token";
558
+ config: {
559
+ schemaVersion: 1;
560
+ publicKey: string;
561
+ keyType: "ed25519" | "rsa";
562
+ } | {
563
+ schemaVersion: 1;
564
+ };
565
+ createdAt: string;
566
+ updatedAt: string;
567
+ };
568
+ publicKey: string | null;
569
+ }, {
570
+ provider: z.ZodObject<{
571
+ id: z.ZodString;
572
+ name: z.ZodString;
573
+ type: z.ZodEnum<["git"]>;
574
+ authType: z.ZodEnum<["ssh-key", "token"]>;
575
+ config: z.ZodUnion<[z.ZodObject<{
576
+ schemaVersion: z.ZodLiteral<1>;
577
+ publicKey: z.ZodString;
578
+ keyType: z.ZodEnum<["ed25519", "rsa"]>;
579
+ }, "strict", z.ZodTypeAny, {
580
+ schemaVersion: 1;
581
+ publicKey: string;
582
+ keyType: "ed25519" | "rsa";
583
+ }, {
584
+ schemaVersion: 1;
585
+ publicKey: string;
586
+ keyType: "ed25519" | "rsa";
587
+ }>, z.ZodObject<{
588
+ schemaVersion: z.ZodLiteral<1>;
589
+ }, "strict", z.ZodTypeAny, {
590
+ schemaVersion: 1;
591
+ }, {
592
+ schemaVersion: 1;
593
+ }>]>;
594
+ createdAt: z.ZodString;
595
+ updatedAt: z.ZodString;
596
+ }, "strip", z.ZodTypeAny, {
597
+ id: string;
598
+ name: string;
599
+ type: "git";
600
+ authType: "ssh-key" | "token";
601
+ config: {
602
+ schemaVersion: 1;
603
+ publicKey: string;
604
+ keyType: "ed25519" | "rsa";
605
+ } | {
606
+ schemaVersion: 1;
607
+ };
608
+ createdAt: string;
609
+ updatedAt: string;
610
+ }, {
611
+ id: string;
612
+ name: string;
613
+ type: "git";
614
+ authType: "ssh-key" | "token";
615
+ config: {
616
+ schemaVersion: 1;
617
+ publicKey: string;
618
+ keyType: "ed25519" | "rsa";
619
+ } | {
620
+ schemaVersion: 1;
621
+ };
622
+ createdAt: string;
623
+ updatedAt: string;
624
+ }>;
625
+ publicKey: z.ZodNullable<z.ZodString>;
626
+ }>;
627
+ export declare class PromotionProviderCreatedPublicDto extends PromotionProviderCreatedPublicDto_base {
628
+ }
629
+ declare const ListPromotionProvidersQueryDto_base: import("../../zod-class").ZodClass<{
630
+ limit: number;
631
+ cursor?: string | undefined;
632
+ }, {
633
+ limit: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, number, string | undefined>, number, string | undefined>, number, string | undefined>, number, string | undefined>;
634
+ cursor: z.ZodOptional<z.ZodString>;
635
+ }>;
636
+ export declare class ListPromotionProvidersQueryDto extends ListPromotionProvidersQueryDto_base {
637
+ }
638
+ export {};