Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix: generated notification types (#2487)
gbirman3b3e7c8372da
diff --git a/js/app/packages/service-clients/service-notification/generated/schemas/connGatewayInnerNotifValueAllOf.ts b/js/app/packages/service-clients/service-notification/generated/schemas/connGatewayInnerNotifValueAllOf.tsindex 97c4cdc8a3..aab247a357 100644--- a/js/app/packages/service-clients/service-notification/generated/schemas/connGatewayInnerNotifValueAllOf.ts+++ b/js/app/packages/service-clients/service-notification/generated/schemas/connGatewayInnerNotifValueAllOf.ts@@ -4,16 +4,14 @@* notification_service* OpenAPI spec version: 0.1.0*/-import type { ConnGatewayInnerNotifValueAllOfCreatedAt } from './connGatewayInnerNotifValueAllOfCreatedAt';import type { ConnGatewayInnerNotifValueAllOfDeletedAt } from './connGatewayInnerNotifValueAllOfDeletedAt';import type { ConnGatewayInnerNotifValueAllOfSenderId } from './connGatewayInnerNotifValueAllOfSenderId';-import type { ConnGatewayInnerNotifValueAllOfUpdatedAt } from './connGatewayInnerNotifValueAllOfUpdatedAt';import type { ConnGatewayInnerNotifValueAllOfViewedAt } from './connGatewayInnerNotifValueAllOfViewedAt';import type { TaggedContentValue } from './taggedContentValue';export type ConnGatewayInnerNotifValueAllOf = {/** When the notification was created. */- created_at?: ConnGatewayInnerNotifValueAllOfCreatedAt;+ created_at: string;/** When the notification was deleted. */deleted_at?: ConnGatewayInnerNotifValueAllOfDeletedAt;/** Whether the notification is marked as done. */@@ -29,7 +27,7 @@ TODO make this a new type *//** Whether the notification has been sent. */sent: boolean;/** When the notification was last updated. */- updated_at?: ConnGatewayInnerNotifValueAllOfUpdatedAt;+ updated_at: string;/** When the notification was viewed/seen. */viewed_at?: ConnGatewayInnerNotifValueAllOfViewedAt;};diff --git a/js/app/packages/service-clients/service-notification/generated/schemas/connGatewayInnerNotifValueAllOfCreatedAt.ts b/js/app/packages/service-clients/service-notification/generated/schemas/connGatewayInnerNotifValueAllOfCreatedAt.tsdeleted file mode 100644index 9ed1b47914..0000000000--- a/js/app/packages/service-clients/service-notification/generated/schemas/connGatewayInnerNotifValueAllOfCreatedAt.ts+++ /dev/null@@ -1,11 +0,0 @@-/**- * Generated by orval v7.13.0 🍺- * Do not edit manually.- * notification_service- * OpenAPI spec version: 0.1.0- */--/**- * When the notification was created.- */-export type ConnGatewayInnerNotifValueAllOfCreatedAt = string | null;diff --git a/js/app/packages/service-clients/service-notification/generated/schemas/connGatewayInnerNotifValueAllOfUpdatedAt.ts b/js/app/packages/service-clients/service-notification/generated/schemas/connGatewayInnerNotifValueAllOfUpdatedAt.tsdeleted file mode 100644index 1138385e18..0000000000--- a/js/app/packages/service-clients/service-notification/generated/schemas/connGatewayInnerNotifValueAllOfUpdatedAt.ts+++ /dev/null@@ -1,11 +0,0 @@-/**- * Generated by orval v7.13.0 🍺- * Do not edit manually.- * notification_service- * OpenAPI spec version: 0.1.0- */--/**- * When the notification was last updated.- */-export type ConnGatewayInnerNotifValueAllOfUpdatedAt = string | null;diff --git a/js/app/packages/service-clients/service-notification/generated/schemas/index.ts b/js/app/packages/service-clients/service-notification/generated/schemas/index.tsindex 83f78afa14..b0719df2e2 100644--- a/js/app/packages/service-clients/service-notification/generated/schemas/index.ts+++ b/js/app/packages/service-clients/service-notification/generated/schemas/index.ts@@ -33,10 +33,8 @@ export * from './commentedOnDocumentMetadataSenderProfilePictureUrl';export * from './commonChannelMetadata';export * from './connGatewayInnerNotifValue';export * from './connGatewayInnerNotifValueAllOf';-export * from './connGatewayInnerNotifValueAllOfCreatedAt';export * from './connGatewayInnerNotifValueAllOfDeletedAt';export * from './connGatewayInnerNotifValueAllOfSenderId';-export * from './connGatewayInnerNotifValueAllOfUpdatedAt';export * from './connGatewayInnerNotifValueAllOfViewedAt';export * from './connGatewayNotificationPayload';export * from './createNotification';diff --git a/js/app/packages/service-clients/service-notification/generated/zod.ts b/js/app/packages/service-clients/service-notification/generated/zod.tsindex 3158876b64..d2efa9de29 100644--- a/js/app/packages/service-clients/service-notification/generated/zod.ts+++ b/js/app/packages/service-clients/service-notification/generated/zod.ts@@ -126,7 +126,6 @@ export const listTypedNotificationsResponse = zodcreated_at: zod.string().datetime({})- .nullish().describe('When the notification was created.'),deleted_at: zod.string()@@ -475,7 +474,6 @@ export const listTypedNotificationsResponse = zodupdated_at: zod.string().datetime({})- .nullish().describe('When the notification was last updated.'),viewed_at: zod.string()@@ -547,7 +545,6 @@ export const bulkGetTypedNotificationsByEventItemIdsResponse = zodcreated_at: zod.string().datetime({})- .nullish().describe('When the notification was created.'),deleted_at: zod.string()@@ -896,7 +893,6 @@ export const bulkGetTypedNotificationsByEventItemIdsResponse = zodupdated_at: zod.string().datetime({})- .nullish().describe('When the notification was last updated.'),viewed_at: zod.string()@@ -962,7 +958,6 @@ export const getTypedNotificationsByEventItemIdResponse = zodcreated_at: zod.string().datetime({})- .nullish().describe('When the notification was created.'),deleted_at: zod.string()@@ -1311,7 +1306,6 @@ export const getTypedNotificationsByEventItemIdResponse = zodupdated_at: zod.string().datetime({})- .nullish().describe('When the notification was last updated.'),viewed_at: zod.string()@@ -1388,7 +1382,6 @@ export const getTypedNotificationByIdResponse = zodcreated_at: zod.string().datetime({})- .nullish().describe('When the notification was created.'),deleted_at: zod.string()@@ -1703,7 +1696,6 @@ export const getTypedNotificationByIdResponse = zodupdated_at: zod.string().datetime({})- .nullish().describe('When the notification was last updated.'),viewed_at: zod.string()diff --git a/js/app/packages/service-clients/service-notification/openapi.json b/js/app/packages/service-clients/service-notification/openapi.jsonindex 61b266aa68..5da647e664 100644--- a/js/app/packages/service-clients/service-notification/openapi.json+++ b/js/app/packages/service-clients/service-notification/openapi.json@@ -1280,11 +1280,13 @@"notification_event_type","sent","done",+ "created_at",+ "updated_at","notification_metadata"],"properties": {"created_at": {- "type": ["string", "null"],+ "type": "string","format": "date-time","description": "When the notification was created."},@@ -1326,7 +1328,7 @@"description": "Whether the notification has been sent."},"updated_at": {- "type": ["string", "null"],+ "type": "string","format": "date-time","description": "When the notification was last updated."},