@netlify/agent-runner-cli 2.18.0-smtp.1 → 2.18.1-alpha.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/dist/index.d.ts CHANGED
@@ -41,63 +41,6 @@ interface SetupRequestApprovalItem extends SetupRequestRecordItemBase {
41
41
  result: string | null;
42
42
  }
43
43
 
44
- declare const identityProviderItem: z.ZodObject<{
45
- kind: z.ZodLiteral<"identity_provider">;
46
- reason: z.ZodString;
47
- provider: z.ZodEnum<{
48
- google: "google";
49
- github: "github";
50
- gitlab: "gitlab";
51
- bitbucket: "bitbucket";
52
- }>;
53
- operation: z.ZodEnum<{
54
- enable: "enable";
55
- remove: "remove";
56
- use_defaults: "use_defaults";
57
- }>;
58
- }, z.core.$strict>;
59
- type IdentityProviderItem = z.infer<typeof identityProviderItem>;
60
- interface IdentityProviderRecordItem extends SetupRequestApprovalItem {
61
- id: string;
62
- kind: 'identity_provider';
63
- provider: IdentityProviderItem['provider'];
64
- operation: IdentityProviderItem['operation'];
65
- current: {
66
- enabled: boolean;
67
- credentials: 'custom' | 'netlify_defaults';
68
- };
69
- proposed: IdentityProviderRecordItem['current'];
70
- }
71
-
72
- interface IdentityEmailResetRecordItem extends SetupRequestApprovalItem {
73
- id: string;
74
- kind: 'identity_email_reset';
75
- current: {
76
- host: string | null;
77
- sender: string | null;
78
- loses_custom_smtp_exception: boolean;
79
- };
80
- proposed: {
81
- delivery: 'netlify_defaults';
82
- };
83
- }
84
-
85
- declare const identitySignupSettingsItem: z.ZodObject<{
86
- kind: z.ZodLiteral<"identity_signup_settings">;
87
- reason: z.ZodString;
88
- proposed: z.ZodObject<{
89
- disable_signup: z.ZodBoolean;
90
- autoconfirm: z.ZodBoolean;
91
- }, z.core.$strict>;
92
- }, z.core.$strict>;
93
- type IdentitySignupSettingsItem = z.infer<typeof identitySignupSettingsItem>;
94
- interface IdentitySignupSettingsRecordItem extends SetupRequestApprovalItem {
95
- id: string;
96
- kind: 'identity_signup_settings';
97
- current: IdentitySignupSettingsItem['proposed'];
98
- proposed: IdentitySignupSettingsItem['proposed'];
99
- }
100
-
101
44
  declare const ENV_VAR_MODES: readonly ["exist", "change"];
102
45
  declare const envVarItem: z.ZodObject<{
103
46
  kind: z.ZodLiteral<"env_var">;
@@ -152,33 +95,64 @@ interface IdentityUserRecordItem extends SetupRequestInputItem {
152
95
  proposed?: IdentityUserFields;
153
96
  }
154
97
 
155
- declare const identitySmtpItem: z.ZodObject<{
156
- kind: z.ZodLiteral<"identity_smtp">;
98
+ declare const identitySignupSettingsItem: z.ZodObject<{
99
+ kind: z.ZodLiteral<"identity_signup_settings">;
157
100
  reason: z.ZodString;
158
101
  proposed: z.ZodObject<{
159
- admin_email: z.ZodOptional<z.ZodString>;
160
- host: z.ZodOptional<z.ZodString>;
161
- port: z.ZodOptional<z.ZodNumber>;
162
- user: z.ZodOptional<z.ZodString>;
102
+ disable_signup: z.ZodBoolean;
103
+ autoconfirm: z.ZodBoolean;
163
104
  }, z.core.$strict>;
164
- targets: z.ZodArray<z.ZodObject<{
165
- name: z.ZodEnum<{
166
- host: "host";
167
- port: "port";
168
- user: "user";
169
- admin_email: "admin_email";
170
- }>;
171
- required: z.ZodDefault<z.ZodBoolean>;
172
- }, z.core.$strip>>;
173
105
  }, z.core.$strict>;
174
- type IdentitySmtpItem = z.infer<typeof identitySmtpItem>;
175
- type IdentitySmtpFields = IdentitySmtpItem['proposed'];
176
- interface IdentitySmtpRecordItem extends SetupRequestInputItem {
177
- kind: IdentitySmtpItem['kind'];
178
- proposed?: IdentitySmtpFields;
106
+ type IdentitySignupSettingsItem = z.infer<typeof identitySignupSettingsItem>;
107
+ interface IdentitySignupSettingsRecordItem extends SetupRequestApprovalItem {
108
+ id: string;
109
+ kind: 'identity_signup_settings';
110
+ current: IdentitySignupSettingsItem['proposed'];
111
+ proposed: IdentitySignupSettingsItem['proposed'];
112
+ }
113
+
114
+ interface IdentityEmailResetRecordItem extends SetupRequestApprovalItem {
115
+ id: string;
116
+ kind: 'identity_email_reset';
117
+ current: {
118
+ host: string | null;
119
+ sender: string | null;
120
+ loses_custom_smtp_exception: boolean;
121
+ };
122
+ proposed: {
123
+ delivery: 'netlify_defaults';
124
+ };
125
+ }
126
+
127
+ declare const identityProviderItem: z.ZodObject<{
128
+ kind: z.ZodLiteral<"identity_provider">;
129
+ reason: z.ZodString;
130
+ provider: z.ZodEnum<{
131
+ google: "google";
132
+ github: "github";
133
+ gitlab: "gitlab";
134
+ bitbucket: "bitbucket";
135
+ }>;
136
+ operation: z.ZodEnum<{
137
+ enable: "enable";
138
+ remove: "remove";
139
+ use_defaults: "use_defaults";
140
+ }>;
141
+ }, z.core.$strict>;
142
+ type IdentityProviderItem = z.infer<typeof identityProviderItem>;
143
+ interface IdentityProviderRecordItem extends SetupRequestApprovalItem {
144
+ id: string;
145
+ kind: 'identity_provider';
146
+ provider: IdentityProviderItem['provider'];
147
+ operation: IdentityProviderItem['operation'];
148
+ current: {
149
+ enabled: boolean;
150
+ credentials: 'custom' | 'netlify_defaults';
151
+ };
152
+ proposed: IdentityProviderRecordItem['current'];
179
153
  }
180
154
 
181
- type SetupRequestRecordItem = EnvVarRecordItem | IdentityUserRecordItem | IdentitySmtpRecordItem | IdentitySignupSettingsRecordItem | IdentityEmailResetRecordItem | IdentityProviderRecordItem | SetupRequestInputItem | SetupRequestApprovalItem;
155
+ type SetupRequestRecordItem = EnvVarRecordItem | IdentityUserRecordItem | IdentitySignupSettingsRecordItem | IdentityEmailResetRecordItem | IdentityProviderRecordItem | SetupRequestInputItem | SetupRequestApprovalItem;
182
156
 
183
157
  interface PrReviewComment {
184
158
  url: string;