@workwae/sdk 0.1.0-alpha.2 → 0.1.0-alpha.3
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/contract/audit-log/models.d.ts +3 -0
- package/contract/audit-log/routes.d.ts +1 -0
- package/contract/connect/models.d.ts +2 -0
- package/contract/connect/routes.d.ts +5 -0
- package/contract/connect-domain/models.d.ts +41 -0
- package/contract/connect-domain/routes.d.ts +197 -0
- package/contract/custom-domain.d.ts +12 -0
- package/contract/limits.d.ts +6 -0
- package/contract/mail/models.d.ts +139 -2
- package/contract/mail/routes.d.ts +191 -41
- package/contract/meetings/models.d.ts +11 -0
- package/contract/meetings/routes.d.ts +79 -0
- package/contract/oauth-apps/models.d.ts +6 -0
- package/contract/oauth-apps/routes.d.ts +26 -4
- package/contract/org-connections/models.d.ts +10 -0
- package/contract/org-connections/routes.d.ts +32 -0
- package/contract/public.d.ts +1 -0
- package/contract/reasons.d.ts +27 -0
- package/contract/router.d.ts +560 -45
- package/contract/send/models.d.ts +58 -0
- package/contract/send/routes.d.ts +30 -0
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -37,6 +37,8 @@ export declare const orgConnections: {
|
|
|
37
37
|
certificate: "certificate";
|
|
38
38
|
}>;
|
|
39
39
|
directoryId: z.ZodNullable<z.ZodString>;
|
|
40
|
+
useConnectDomain: z.ZodBoolean;
|
|
41
|
+
redirectUri: z.ZodNullable<z.ZodString>;
|
|
40
42
|
permissions: z.ZodArray<z.ZodObject<{
|
|
41
43
|
name: z.ZodString;
|
|
42
44
|
isRequired: z.ZodBoolean;
|
|
@@ -101,6 +103,7 @@ export declare const orgConnections: {
|
|
|
101
103
|
}, z.core.$strip>
|
|
102
104
|
], "type">;
|
|
103
105
|
directoryId: z.ZodOptional<z.ZodString>;
|
|
106
|
+
useConnectDomain: z.ZodOptional<z.ZodBoolean>;
|
|
104
107
|
}, z.core.$strip>
|
|
105
108
|
], "kind">, z.ZodObject<{
|
|
106
109
|
id: z.ZodUUID;
|
|
@@ -138,6 +141,8 @@ export declare const orgConnections: {
|
|
|
138
141
|
certificate: "certificate";
|
|
139
142
|
}>;
|
|
140
143
|
directoryId: z.ZodNullable<z.ZodString>;
|
|
144
|
+
useConnectDomain: z.ZodBoolean;
|
|
145
|
+
redirectUri: z.ZodNullable<z.ZodString>;
|
|
141
146
|
permissions: z.ZodArray<z.ZodObject<{
|
|
142
147
|
name: z.ZodString;
|
|
143
148
|
isRequired: z.ZodBoolean;
|
|
@@ -168,6 +173,14 @@ export declare const orgConnections: {
|
|
|
168
173
|
status: 400;
|
|
169
174
|
message: string;
|
|
170
175
|
};
|
|
176
|
+
connect_domain_inactive: {
|
|
177
|
+
status: 409;
|
|
178
|
+
message: string;
|
|
179
|
+
};
|
|
180
|
+
connect_domain_unsupported: {
|
|
181
|
+
status: 400;
|
|
182
|
+
message: string;
|
|
183
|
+
};
|
|
171
184
|
invalid_certificate: {
|
|
172
185
|
status: 400;
|
|
173
186
|
message: string;
|
|
@@ -219,6 +232,8 @@ export declare const orgConnections: {
|
|
|
219
232
|
certificate: "certificate";
|
|
220
233
|
}>;
|
|
221
234
|
directoryId: z.ZodNullable<z.ZodString>;
|
|
235
|
+
useConnectDomain: z.ZodBoolean;
|
|
236
|
+
redirectUri: z.ZodNullable<z.ZodString>;
|
|
222
237
|
permissions: z.ZodArray<z.ZodObject<{
|
|
223
238
|
name: z.ZodString;
|
|
224
239
|
isRequired: z.ZodBoolean;
|
|
@@ -259,6 +274,7 @@ export declare const orgConnections: {
|
|
|
259
274
|
certificate: z.ZodOptional<z.ZodString>;
|
|
260
275
|
privateKey: z.ZodOptional<z.ZodString>;
|
|
261
276
|
directoryId: z.ZodOptional<z.ZodString>;
|
|
277
|
+
useConnectDomain: z.ZodOptional<z.ZodBoolean>;
|
|
262
278
|
}, z.core.$strip>, z.ZodObject<{
|
|
263
279
|
id: z.ZodUUID;
|
|
264
280
|
kind: z.ZodEnum<{
|
|
@@ -295,6 +311,8 @@ export declare const orgConnections: {
|
|
|
295
311
|
certificate: "certificate";
|
|
296
312
|
}>;
|
|
297
313
|
directoryId: z.ZodNullable<z.ZodString>;
|
|
314
|
+
useConnectDomain: z.ZodBoolean;
|
|
315
|
+
redirectUri: z.ZodNullable<z.ZodString>;
|
|
298
316
|
permissions: z.ZodArray<z.ZodObject<{
|
|
299
317
|
name: z.ZodString;
|
|
300
318
|
isRequired: z.ZodBoolean;
|
|
@@ -325,6 +343,14 @@ export declare const orgConnections: {
|
|
|
325
343
|
status: 400;
|
|
326
344
|
message: string;
|
|
327
345
|
};
|
|
346
|
+
connect_domain_inactive: {
|
|
347
|
+
status: 409;
|
|
348
|
+
message: string;
|
|
349
|
+
};
|
|
350
|
+
connect_domain_unsupported: {
|
|
351
|
+
status: 400;
|
|
352
|
+
message: string;
|
|
353
|
+
};
|
|
328
354
|
invalid_certificate: {
|
|
329
355
|
status: 400;
|
|
330
356
|
message: string;
|
|
@@ -399,6 +425,10 @@ export declare const orgConnections: {
|
|
|
399
425
|
status: 400;
|
|
400
426
|
message: string;
|
|
401
427
|
};
|
|
428
|
+
connect_domain_inactive: {
|
|
429
|
+
status: 409;
|
|
430
|
+
message: string;
|
|
431
|
+
};
|
|
402
432
|
session_required: {
|
|
403
433
|
status: 403;
|
|
404
434
|
message: string;
|
|
@@ -456,6 +486,8 @@ export declare const orgConnections: {
|
|
|
456
486
|
certificate: "certificate";
|
|
457
487
|
}>;
|
|
458
488
|
directoryId: z.ZodNullable<z.ZodString>;
|
|
489
|
+
useConnectDomain: z.ZodBoolean;
|
|
490
|
+
redirectUri: z.ZodNullable<z.ZodString>;
|
|
459
491
|
permissions: z.ZodArray<z.ZodObject<{
|
|
460
492
|
name: z.ZodString;
|
|
461
493
|
isRequired: z.ZodBoolean;
|
package/contract/public.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from "./ai/models.js";
|
|
|
3
3
|
export * from "./audit-log/models.js";
|
|
4
4
|
export * from "./calendar/models.js";
|
|
5
5
|
export * from "./connect/models.js";
|
|
6
|
+
export * from "./connect-domain/models.js";
|
|
6
7
|
export * from "./contacts/models.js";
|
|
7
8
|
export * from "./email-validation/models.js";
|
|
8
9
|
export * from "./errors.js";
|
package/contract/reasons.d.ts
CHANGED
|
@@ -743,6 +743,9 @@ export declare const REASONS: {
|
|
|
743
743
|
readonly send_not_cancellable: {
|
|
744
744
|
readonly status: 409;
|
|
745
745
|
};
|
|
746
|
+
readonly duplicate_message_id: {
|
|
747
|
+
readonly status: 409;
|
|
748
|
+
};
|
|
746
749
|
readonly suppression_list_not_found: {
|
|
747
750
|
readonly status: 404;
|
|
748
751
|
};
|
|
@@ -773,6 +776,30 @@ export declare const REASONS: {
|
|
|
773
776
|
readonly tracking_domain_edge_unavailable: {
|
|
774
777
|
readonly status: 502;
|
|
775
778
|
};
|
|
779
|
+
readonly connect_domain_unavailable: {
|
|
780
|
+
readonly status: 400;
|
|
781
|
+
};
|
|
782
|
+
readonly connect_domain_not_found: {
|
|
783
|
+
readonly status: 404;
|
|
784
|
+
};
|
|
785
|
+
readonly connect_domain_not_allowed: {
|
|
786
|
+
readonly status: 400;
|
|
787
|
+
};
|
|
788
|
+
readonly connect_domain_taken: {
|
|
789
|
+
readonly status: 409;
|
|
790
|
+
};
|
|
791
|
+
readonly connect_domain_in_use: {
|
|
792
|
+
readonly status: 409;
|
|
793
|
+
};
|
|
794
|
+
readonly connect_domain_edge_unavailable: {
|
|
795
|
+
readonly status: 502;
|
|
796
|
+
};
|
|
797
|
+
readonly connect_domain_inactive: {
|
|
798
|
+
readonly status: 409;
|
|
799
|
+
};
|
|
800
|
+
readonly connect_domain_unsupported: {
|
|
801
|
+
readonly status: 400;
|
|
802
|
+
};
|
|
776
803
|
readonly template_not_found: {
|
|
777
804
|
readonly status: 404;
|
|
778
805
|
};
|