@automate.ax/integration-contracts 0.147.1 → 0.150.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 (44) hide show
  1. package/dist/calcom/events.d.ts +1067 -11
  2. package/dist/calcom/events.js +66 -32
  3. package/dist/close/events.d.ts +4 -4
  4. package/dist/close/schemas.d.ts +6 -6
  5. package/dist/google-drive/index.d.ts +3 -3
  6. package/dist/kit/api.d.ts +78 -0
  7. package/dist/kit/api.js +386 -0
  8. package/dist/kit/events.d.ts +437 -0
  9. package/dist/kit/events.js +285 -0
  10. package/dist/kit/index.d.ts +6 -0
  11. package/dist/kit/index.js +5 -0
  12. package/dist/kit/openapi-operations.generated.d.ts +5 -0
  13. package/dist/kit/openapi-operations.generated.js +5 -0
  14. package/dist/kit/openapi-types.generated.d.ts +9485 -0
  15. package/dist/kit/openapi-types.generated.js +1 -0
  16. package/dist/kit/operation-manifest.d.ts +657 -0
  17. package/dist/kit/operation-manifest.js +98 -0
  18. package/dist/kit/schemas.d.ts +42 -0
  19. package/dist/kit/schemas.js +43 -0
  20. package/dist/kit/types.d.ts +41 -0
  21. package/dist/kit/types.js +1 -0
  22. package/dist/krisp/api.d.ts +61 -0
  23. package/dist/krisp/api.js +170 -0
  24. package/dist/krisp/index.d.ts +2 -0
  25. package/dist/krisp/index.js +2 -0
  26. package/dist/krisp/schemas.d.ts +145 -0
  27. package/dist/krisp/schemas.js +97 -0
  28. package/dist/notion/schemas.d.ts +108 -108
  29. package/dist/resend/action-schemas.d.ts +14 -14
  30. package/dist/triggers.d.ts +2 -1
  31. package/package.json +15 -2
  32. package/src/calcom/events.ts +149 -30
  33. package/src/kit/api.ts +523 -0
  34. package/src/kit/events.ts +352 -0
  35. package/src/kit/index.ts +6 -0
  36. package/src/kit/openapi-operations.generated.ts +7 -0
  37. package/src/kit/openapi-types.generated.ts +9710 -0
  38. package/src/kit/operation-manifest.ts +771 -0
  39. package/src/kit/schemas.ts +93 -0
  40. package/src/kit/types.ts +87 -0
  41. package/src/krisp/api.ts +215 -0
  42. package/src/krisp/index.ts +2 -0
  43. package/src/krisp/schemas.ts +122 -0
  44. package/src/triggers.ts +2 -0
@@ -287,7 +287,40 @@ const CALCOM_PAYLOAD_SCHEMAS = {
287
287
  }),
288
288
  }),
289
289
  };
290
- export const CALCOM_TRIGGER_CONFIG_SCHEMA = z.object({});
290
+ export const CALCOM_USER_WEBHOOK_SCOPE_SCHEMA = z.object({
291
+ type: z.literal("user"),
292
+ });
293
+ export const CALCOM_TEAM_WEBHOOK_SCOPE_SCHEMA = z.object({
294
+ eventTypeId: z.number().int().positive(),
295
+ teamId: z.number().int().positive(),
296
+ type: z.literal("team"),
297
+ });
298
+ export const CALCOM_ORGANIZATION_WEBHOOK_SCOPE_SCHEMA = z.object({
299
+ organizationId: z.number().int().positive(),
300
+ type: z.literal("organization"),
301
+ });
302
+ export const CALCOM_WEBHOOK_SCOPE_SCHEMA = z.discriminatedUnion("type", [
303
+ CALCOM_USER_WEBHOOK_SCOPE_SCHEMA,
304
+ CALCOM_TEAM_WEBHOOK_SCOPE_SCHEMA,
305
+ CALCOM_ORGANIZATION_WEBHOOK_SCOPE_SCHEMA,
306
+ ]);
307
+ export const CALCOM_USER_TRIGGER_CONFIG_SCHEMA = z.object({
308
+ scope: CALCOM_USER_WEBHOOK_SCOPE_SCHEMA.optional(),
309
+ });
310
+ export const CALCOM_TEAM_TRIGGER_CONFIG_SCHEMA = z.object({
311
+ scope: z
312
+ .discriminatedUnion("type", [
313
+ CALCOM_USER_WEBHOOK_SCOPE_SCHEMA,
314
+ CALCOM_TEAM_WEBHOOK_SCOPE_SCHEMA,
315
+ ])
316
+ .optional(),
317
+ });
318
+ export const CALCOM_ORGANIZATION_TRIGGER_CONFIG_SCHEMA = z.object({
319
+ scope: CALCOM_ORGANIZATION_WEBHOOK_SCOPE_SCHEMA,
320
+ });
321
+ export const CALCOM_BROAD_TRIGGER_CONFIG_SCHEMA = z.object({
322
+ scope: CALCOM_WEBHOOK_SCOPE_SCHEMA.optional(),
323
+ });
291
324
  export const CALCOM_EVENT_SCHEMA = z.custom((value) => {
292
325
  if (typeof value !== "object" ||
293
326
  value === null ||
@@ -368,47 +401,48 @@ export const CALCOM_EVENT_TYPE_MAP = {
368
401
  WRONG_ASSIGNMENT_REPORT: "calcom.wrongAssignmentReported",
369
402
  };
370
403
  export const calcomTriggerContracts = {
371
- "calcom.afterGuestsCalVideoNoShow": contract("AFTER_GUESTS_CAL_VIDEO_NO_SHOW"),
372
- "calcom.afterHostsCalVideoNoShow": contract("AFTER_HOSTS_CAL_VIDEO_NO_SHOW"),
373
- "calcom.booking.cancelled": contract("BOOKING_CANCELLED"),
374
- "calcom.booking.created": contract("BOOKING_CREATED"),
375
- "calcom.booking.locationUpdated": contract("BOOKING_LOCATION_UPDATED"),
376
- "calcom.booking.noShowUpdated": contract("BOOKING_NO_SHOW_UPDATED"),
377
- "calcom.booking.paid": contract("BOOKING_PAID"),
378
- "calcom.booking.paymentInitiated": contract("BOOKING_PAYMENT_INITIATED"),
379
- "calcom.booking.reassigned": contract("BOOKING_REASSIGNED"),
380
- "calcom.booking.rejected": contract("BOOKING_REJECTED"),
381
- "calcom.booking.requested": contract("BOOKING_REQUESTED"),
382
- "calcom.booking.rescheduled": contract("BOOKING_RESCHEDULED"),
383
- "calcom.calendarEntryRejected": contract("CALENDAR_ENTRY_REJECTED"),
384
- "calcom.delegationCredential.error": contract("DELEGATION_CREDENTIAL_ERROR"),
385
- "calcom.delegationCredential.rotationRequired": contract("DELEGATION_CREDENTIAL_ROTATION_REQUIRED"),
386
- "calcom.delegationCredential.secretRotated": contract("DELEGATION_CREDENTIAL_SECRET_ROTATED"),
387
- "calcom.delegationCredential.secretRotationFailed": contract("DELEGATION_CREDENTIAL_SECRET_ROTATION_FAILED"),
404
+ "calcom.afterGuestsCalVideoNoShow": contract("AFTER_GUESTS_CAL_VIDEO_NO_SHOW", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
405
+ "calcom.afterHostsCalVideoNoShow": contract("AFTER_HOSTS_CAL_VIDEO_NO_SHOW", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
406
+ "calcom.booking.cancelled": contract("BOOKING_CANCELLED", CALCOM_TEAM_TRIGGER_CONFIG_SCHEMA),
407
+ "calcom.booking.created": contract("BOOKING_CREATED", CALCOM_TEAM_TRIGGER_CONFIG_SCHEMA),
408
+ "calcom.booking.locationUpdated": contract("BOOKING_LOCATION_UPDATED", CALCOM_TEAM_TRIGGER_CONFIG_SCHEMA),
409
+ "calcom.booking.noShowUpdated": contract("BOOKING_NO_SHOW_UPDATED", CALCOM_TEAM_TRIGGER_CONFIG_SCHEMA),
410
+ "calcom.booking.paid": contract("BOOKING_PAID", CALCOM_TEAM_TRIGGER_CONFIG_SCHEMA),
411
+ "calcom.booking.paymentInitiated": contract("BOOKING_PAYMENT_INITIATED", CALCOM_TEAM_TRIGGER_CONFIG_SCHEMA),
412
+ "calcom.booking.reassigned": contract("BOOKING_REASSIGNED", CALCOM_TEAM_TRIGGER_CONFIG_SCHEMA),
413
+ "calcom.booking.rejected": contract("BOOKING_REJECTED", CALCOM_TEAM_TRIGGER_CONFIG_SCHEMA),
414
+ "calcom.booking.requested": contract("BOOKING_REQUESTED", CALCOM_TEAM_TRIGGER_CONFIG_SCHEMA),
415
+ "calcom.booking.rescheduled": contract("BOOKING_RESCHEDULED", CALCOM_TEAM_TRIGGER_CONFIG_SCHEMA),
416
+ "calcom.calendarEntryRejected": contract("CALENDAR_ENTRY_REJECTED", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
417
+ "calcom.delegationCredential.error": contract("DELEGATION_CREDENTIAL_ERROR", CALCOM_ORGANIZATION_TRIGGER_CONFIG_SCHEMA),
418
+ "calcom.delegationCredential.rotationRequired": contract("DELEGATION_CREDENTIAL_ROTATION_REQUIRED", CALCOM_ORGANIZATION_TRIGGER_CONFIG_SCHEMA),
419
+ "calcom.delegationCredential.secretRotated": contract("DELEGATION_CREDENTIAL_SECRET_ROTATED", CALCOM_ORGANIZATION_TRIGGER_CONFIG_SCHEMA),
420
+ "calcom.delegationCredential.secretRotationFailed": contract("DELEGATION_CREDENTIAL_SECRET_ROTATION_FAILED", CALCOM_ORGANIZATION_TRIGGER_CONFIG_SCHEMA),
388
421
  "calcom.event": {
389
- configSchema: CALCOM_TRIGGER_CONFIG_SCHEMA,
422
+ configSchema: CALCOM_BROAD_TRIGGER_CONFIG_SCHEMA,
390
423
  eventSchema: CALCOM_EVENT_SCHEMA,
391
424
  },
392
- "calcom.form.submitted": contract("FORM_SUBMITTED"),
393
- "calcom.form.submittedWithoutEvent": contract("FORM_SUBMITTED_NO_EVENT"),
394
- "calcom.instantMeeting.accepted": contract("INSTANT_MEETING_ACCEPTED"),
395
- "calcom.instantMeeting.created": contract("INSTANT_MEETING"),
396
- "calcom.meeting.ended": contract("MEETING_ENDED"),
397
- "calcom.meeting.started": contract("MEETING_STARTED"),
398
- "calcom.outOfOffice.created": contract("OOO_CREATED"),
399
- "calcom.recording.ready": contract("RECORDING_READY"),
400
- "calcom.recording.transcriptionGenerated": contract("RECORDING_TRANSCRIPTION_GENERATED"),
401
- "calcom.routingForm.fallbackHit": contract("ROUTING_FORM_FALLBACK_HIT"),
402
- "calcom.wrongAssignmentReported": contract("WRONG_ASSIGNMENT_REPORT"),
425
+ "calcom.form.submitted": contract("FORM_SUBMITTED", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
426
+ "calcom.form.submittedWithoutEvent": contract("FORM_SUBMITTED_NO_EVENT", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
427
+ "calcom.instantMeeting.accepted": contract("INSTANT_MEETING_ACCEPTED", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
428
+ "calcom.instantMeeting.created": contract("INSTANT_MEETING", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
429
+ "calcom.meeting.ended": contract("MEETING_ENDED", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
430
+ "calcom.meeting.started": contract("MEETING_STARTED", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
431
+ "calcom.outOfOffice.created": contract("OOO_CREATED", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
432
+ "calcom.recording.ready": contract("RECORDING_READY", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
433
+ "calcom.recording.transcriptionGenerated": contract("RECORDING_TRANSCRIPTION_GENERATED", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
434
+ "calcom.routingForm.fallbackHit": contract("ROUTING_FORM_FALLBACK_HIT", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
435
+ "calcom.wrongAssignmentReported": contract("WRONG_ASSIGNMENT_REPORT", CALCOM_USER_TRIGGER_CONFIG_SCHEMA),
403
436
  };
404
437
  /**
405
438
  * Builds one trigger contract for an exact Cal.com provider event.
406
439
  *
407
440
  * @param type Exact Cal.com provider event type.
441
+ * @param configSchema Trigger configuration schema.
408
442
  */
409
- function contract(type) {
443
+ function contract(type, configSchema) {
410
444
  return {
411
- configSchema: CALCOM_TRIGGER_CONFIG_SCHEMA,
445
+ configSchema,
412
446
  eventSchema: calcomSemanticEventSchema(type),
413
447
  };
414
448
  }
@@ -487,9 +487,9 @@ export declare const closeTriggerContracts: {
487
487
  error: "error";
488
488
  draft: "draft";
489
489
  sent: "sent";
490
+ scheduled: "scheduled";
490
491
  inbox: "inbox";
491
492
  outbox: "outbox";
492
- scheduled: "scheduled";
493
493
  }>>;
494
494
  subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
495
495
  templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -575,9 +575,9 @@ export declare const closeTriggerContracts: {
575
575
  error: "error";
576
576
  draft: "draft";
577
577
  sent: "sent";
578
+ scheduled: "scheduled";
578
579
  inbox: "inbox";
579
580
  outbox: "outbox";
580
- scheduled: "scheduled";
581
581
  }>>;
582
582
  subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
583
583
  templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2162,9 +2162,9 @@ export declare const closeTriggerContracts: {
2162
2162
  error: "error";
2163
2163
  draft: "draft";
2164
2164
  sent: "sent";
2165
+ scheduled: "scheduled";
2165
2166
  inbox: "inbox";
2166
2167
  outbox: "outbox";
2167
- scheduled: "scheduled";
2168
2168
  }>>;
2169
2169
  templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2170
2170
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2233,9 +2233,9 @@ export declare const closeTriggerContracts: {
2233
2233
  error: "error";
2234
2234
  draft: "draft";
2235
2235
  sent: "sent";
2236
+ scheduled: "scheduled";
2236
2237
  inbox: "inbox";
2237
2238
  outbox: "outbox";
2238
- scheduled: "scheduled";
2239
2239
  }>>;
2240
2240
  templateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2241
2241
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -907,9 +907,9 @@ export declare const CLOSE_EMAIL_SCHEMA: z.ZodObject<{
907
907
  error: "error";
908
908
  draft: "draft";
909
909
  sent: "sent";
910
+ scheduled: "scheduled";
910
911
  inbox: "inbox";
911
912
  outbox: "outbox";
912
- scheduled: "scheduled";
913
913
  }>;
914
914
  subject: z.ZodNullable<z.ZodString>;
915
915
  templateId: z.ZodNullable<z.ZodString>;
@@ -962,9 +962,9 @@ export declare const CLOSE_SMS_SCHEMA: z.ZodObject<{
962
962
  error: "error";
963
963
  draft: "draft";
964
964
  sent: "sent";
965
+ scheduled: "scheduled";
965
966
  inbox: "inbox";
966
967
  outbox: "outbox";
967
- scheduled: "scheduled";
968
968
  }>;
969
969
  templateId: z.ZodNullable<z.ZodString>;
970
970
  text: z.ZodNullable<z.ZodString>;
@@ -1129,9 +1129,9 @@ export declare const CLOSE_ACTIVITY_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject
1129
1129
  error: "error";
1130
1130
  draft: "draft";
1131
1131
  sent: "sent";
1132
+ scheduled: "scheduled";
1132
1133
  inbox: "inbox";
1133
1134
  outbox: "outbox";
1134
- scheduled: "scheduled";
1135
1135
  }>;
1136
1136
  subject: z.ZodNullable<z.ZodString>;
1137
1137
  templateId: z.ZodNullable<z.ZodString>;
@@ -1271,9 +1271,9 @@ export declare const CLOSE_ACTIVITY_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject
1271
1271
  error: "error";
1272
1272
  draft: "draft";
1273
1273
  sent: "sent";
1274
+ scheduled: "scheduled";
1274
1275
  inbox: "inbox";
1275
1276
  outbox: "outbox";
1276
- scheduled: "scheduled";
1277
1277
  }>;
1278
1278
  templateId: z.ZodNullable<z.ZodString>;
1279
1279
  text: z.ZodNullable<z.ZodString>;
@@ -1411,9 +1411,9 @@ export declare const CLOSE_ACTIVITY_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject
1411
1411
  error: "error";
1412
1412
  draft: "draft";
1413
1413
  sent: "sent";
1414
+ scheduled: "scheduled";
1414
1415
  inbox: "inbox";
1415
1416
  outbox: "outbox";
1416
- scheduled: "scheduled";
1417
1417
  }>;
1418
1418
  subject: z.ZodNullable<z.ZodString>;
1419
1419
  templateId: z.ZodNullable<z.ZodString>;
@@ -1507,9 +1507,9 @@ export declare const CLOSE_ACTIVITY_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject
1507
1507
  error: "error";
1508
1508
  draft: "draft";
1509
1509
  sent: "sent";
1510
+ scheduled: "scheduled";
1510
1511
  inbox: "inbox";
1511
1512
  outbox: "outbox";
1512
- scheduled: "scheduled";
1513
1513
  }>;
1514
1514
  subject: z.ZodNullable<z.ZodString>;
1515
1515
  to: z.ZodArray<z.ZodString>;
@@ -45,6 +45,7 @@ export declare const GOOGLE_DRIVE_EVENT_SCHEMA: z.ZodObject<{
45
45
  completed: "completed";
46
46
  deleted: "deleted";
47
47
  resolved: "resolved";
48
+ trashed: "trashed";
48
49
  moved: "moved";
49
50
  contentChanged: "contentChanged";
50
51
  edited: "edited";
@@ -53,7 +54,6 @@ export declare const GOOGLE_DRIVE_EVENT_SCHEMA: z.ZodObject<{
53
54
  reset: "reset";
54
55
  responded: "responded";
55
56
  reviewersChanged: "reviewersChanged";
56
- trashed: "trashed";
57
57
  untrashed: "untrashed";
58
58
  }>;
59
59
  assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
@@ -959,6 +959,7 @@ export declare const googleDriveTriggerContracts: {
959
959
  completed: "completed";
960
960
  deleted: "deleted";
961
961
  resolved: "resolved";
962
+ trashed: "trashed";
962
963
  moved: "moved";
963
964
  contentChanged: "contentChanged";
964
965
  edited: "edited";
@@ -967,7 +968,6 @@ export declare const googleDriveTriggerContracts: {
967
968
  reset: "reset";
968
969
  responded: "responded";
969
970
  reviewersChanged: "reviewersChanged";
970
- trashed: "trashed";
971
971
  untrashed: "untrashed";
972
972
  }>;
973
973
  assigneeEmailAddress: z.ZodOptional<z.ZodEmail>;
@@ -1038,7 +1038,7 @@ export declare function toGoogleDriveTriggerType(providerEventType: string): Goo
1038
1038
  * @param eventType - Stable internal semantic event type.
1039
1039
  */
1040
1040
  export declare function parseGoogleDriveTriggerType(eventType: GoogleDriveTriggerType): {
1041
- action: "created" | "cancelled" | "completed" | "deleted" | "resolved" | "moved" | "contentChanged" | "edited" | "reopened" | "renamed" | "reset" | "responded" | "reviewersChanged" | "trashed" | "untrashed";
1041
+ action: "created" | "cancelled" | "completed" | "deleted" | "resolved" | "trashed" | "moved" | "contentChanged" | "edited" | "reopened" | "renamed" | "reset" | "responded" | "reviewersChanged" | "untrashed";
1042
1042
  resourceType: "file" | "comment" | "reply" | "accessProposal" | "approval" | "permission";
1043
1043
  };
1044
1044
  export {};
@@ -0,0 +1,78 @@
1
+ import { type Encodable } from "@automate.ax/codec";
2
+ import type { KitOperationKey } from "./operation-manifest.js";
3
+ import type { KitOperationInput, KitOperationOutput } from "./types.js";
4
+ /** Resolved account accepted by the shared Kit API client. */
5
+ export interface KitResolvedAccount {
6
+ connectionMethodId: string;
7
+ secret: Record<string, unknown>;
8
+ serviceId: "kit";
9
+ }
10
+ /** Options for an internal provider-native Kit request. */
11
+ export interface KitRequestOptions {
12
+ body?: Encodable;
13
+ method?: "DELETE" | "GET" | "PATCH" | "POST" | "PUT";
14
+ query?: Record<string, boolean | number | string | (boolean | number | string)[] | null | undefined>;
15
+ }
16
+ /** Structured error returned by a rejected Kit request. */
17
+ export declare class KitApiError extends Error {
18
+ readonly body?: Encodable;
19
+ readonly retryAfter?: string;
20
+ readonly status: number;
21
+ /**
22
+ * Creates a structured provider error.
23
+ *
24
+ * @param options Error properties.
25
+ * @param options.body Parsed provider response body.
26
+ * @param options.retryAfter Provider retry guidance.
27
+ * @param options.status HTTP status code.
28
+ */
29
+ constructor(options: {
30
+ body?: Encodable;
31
+ retryAfter?: string;
32
+ status: number;
33
+ });
34
+ }
35
+ /**
36
+ * Creates an authenticated Kit V4 API client.
37
+ *
38
+ * @param account Resolved Kit account.
39
+ */
40
+ export declare function getKitApi(account: KitResolvedAccount): {
41
+ /**
42
+ * Executes and validates one named public Kit operation.
43
+ *
44
+ * @param key Public operation name.
45
+ * @param input Flattened operation input.
46
+ */
47
+ operation<TKey extends KitOperationKey>(key: TKey, input: KitOperationInput<TKey>): Promise<KitOperationOutput<TKey>>;
48
+ /**
49
+ * Sends an internal provider-native request used for managed webhooks.
50
+ *
51
+ * This is not exposed as an automation action.
52
+ *
53
+ * @param path Provider-relative Kit V4 path.
54
+ * @param options Request options.
55
+ */
56
+ requestJson(path: string, options?: KitRequestOptions): Promise<unknown>;
57
+ };
58
+ /**
59
+ * Encodes every interpolation as one Kit URL path segment.
60
+ *
61
+ * @param strings Template string segments.
62
+ * @param values Interpolated path values.
63
+ */
64
+ export declare function kitPath(strings: TemplateStringsArray, ...values: (number | string)[]): string;
65
+ /**
66
+ * Converts public camelCase fields to documented Kit wire fields.
67
+ *
68
+ * @param value Public value.
69
+ * @param schema Provider wire schema.
70
+ */
71
+ export declare function kitPublicToWire(value: unknown, schema: Record<string, unknown>): Encodable;
72
+ /**
73
+ * Converts documented Kit wire fields to public camelCase fields.
74
+ *
75
+ * @param value Provider value.
76
+ * @param schema Provider wire schema.
77
+ */
78
+ export declare function kitWireToPublic(value: unknown, schema: Record<string, unknown>): Encodable;