Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chore: update types (#968)

teoa574bc2a55b4
diff --git a/js/app/packages/service-clients/service-auth/generated/client.ts b/js/app/packages/service-clients/service-auth/generated/client.ts
index a79db80860..054a840c53 100644
--- a/js/app/packages/service-clients/service-auth/generated/client.ts
+++ b/js/app/packages/service-clients/service-auth/generated/client.ts
@@ -386,6 +386,11 @@ export type refreshResponse401 = {
status: 401;
};
+export type refreshResponse429 = {
+ data: string;
+ status: 429;
+};
+
export type refreshResponse500 = {
data: string;
status: 500;
@@ -397,6 +402,7 @@ export type refreshResponseSuccess = refreshResponse200 & {
export type refreshResponseError = (
| refreshResponse400
| refreshResponse401
+ | refreshResponse429
| refreshResponse500
) & {
headers: Headers;
diff --git a/js/app/packages/service-clients/service-auth/openapi.json b/js/app/packages/service-clients/service-auth/openapi.json
index 6cf8286ac5..100a86c134 100644
--- a/js/app/packages/service-clients/service-auth/openapi.json
+++ b/js/app/packages/service-clients/service-auth/openapi.json
@@ -283,6 +283,16 @@
}
}
},
+ "429": {
+ "description": "Refresh already in progress for this user",
+ "content": {
+ "text/plain": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ },
"500": {
"description": "",
"content": {
diff --git a/js/app/packages/service-storage/generated/schemas/soupLabelListVisibility.ts b/js/app/packages/service-storage/generated/schemas/soupLabelListVisibility.ts
index 1ceb38898e..0184f9c0cf 100644
--- a/js/app/packages/service-storage/generated/schemas/soupLabelListVisibility.ts
+++ b/js/app/packages/service-storage/generated/schemas/soupLabelListVisibility.ts
@@ -5,8 +5,8 @@
* OpenAPI spec version: 0.1.0
*/
-export type SoupLabelListVisibility = typeof SoupLabelListVisibility[keyof typeof SoupLabelListVisibility];
-
+export type SoupLabelListVisibility =
+ (typeof SoupLabelListVisibility)[keyof typeof SoupLabelListVisibility];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const SoupLabelListVisibility = {
diff --git a/js/app/packages/service-storage/generated/schemas/soupLabelType.ts b/js/app/packages/service-storage/generated/schemas/soupLabelType.ts
index d8b35a5d11..bd188311d7 100644
--- a/js/app/packages/service-storage/generated/schemas/soupLabelType.ts
+++ b/js/app/packages/service-storage/generated/schemas/soupLabelType.ts
@@ -5,8 +5,7 @@
* OpenAPI spec version: 0.1.0
*/
-export type SoupLabelType = typeof SoupLabelType[keyof typeof SoupLabelType];
-
+export type SoupLabelType = (typeof SoupLabelType)[keyof typeof SoupLabelType];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const SoupLabelType = {
diff --git a/js/app/packages/service-storage/generated/schemas/soupMessageListVisibility.ts b/js/app/packages/service-storage/generated/schemas/soupMessageListVisibility.ts
index bf6febd6d9..9fbc9039ce 100644
--- a/js/app/packages/service-storage/generated/schemas/soupMessageListVisibility.ts
+++ b/js/app/packages/service-storage/generated/schemas/soupMessageListVisibility.ts
@@ -5,8 +5,8 @@
* OpenAPI spec version: 0.1.0
*/
-export type SoupMessageListVisibility = typeof SoupMessageListVisibility[keyof typeof SoupMessageListVisibility];
-
+export type SoupMessageListVisibility =
+ (typeof SoupMessageListVisibility)[keyof typeof SoupMessageListVisibility];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const SoupMessageListVisibility = {