@fonoster/apiserver 0.8.9 → 0.8.10

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.
@@ -208,6 +208,10 @@ const config = {
208
208
  "fromEnvVar": null,
209
209
  "value": "darwin-arm64",
210
210
  "native": true
211
+ },
212
+ {
213
+ "fromEnvVar": null,
214
+ "value": "linux-arm64-openssl-1.1.x"
211
215
  }
212
216
  ],
213
217
  "previewFeatures": [],
@@ -234,8 +238,8 @@ const config = {
234
238
  }
235
239
  }
236
240
  },
237
- "inlineSchema": "generator client {\n provider = \"prisma-client-js\"\n output = \"src/generated/@prisma/client\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel Application {\n ref String @id @default(uuid())\n accessKeyId String @map(\"access_key_id\")\n name String @db.VarChar(255)\n type ApplicationType\n endpoint String @db.VarChar(255)\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @default(now()) @map(\"updated_at\")\n\n // Relations\n textToSpeech TextToSpeech?\n speechToText SpeechToText?\n intelligence Intelligence?\n\n // Indexes and maps\n @@index([accessKeyId], type: Hash)\n @@map(\"applications\")\n}\n\nmodel TextToSpeech {\n ref String @id @default(uuid())\n config Json\n\n // Relations\n application Application @relation(fields: [applicationRef], references: [ref], onDelete: Cascade)\n applicationRef String @unique @map(\"application_ref\")\n product Product @relation(fields: [productRef], references: [ref], onDelete: Cascade)\n productRef String @map(\"product_ref\")\n\n // Indexes and maps\n @@index([applicationRef], type: Hash)\n @@index([productRef], type: Hash)\n @@map(\"tts_services\")\n}\n\nmodel SpeechToText {\n ref String @id @default(uuid())\n config Json\n\n // Relations\n application Application @relation(fields: [applicationRef], references: [ref], onDelete: Cascade)\n applicationRef String @unique @map(\"application_ref\")\n product Product @relation(fields: [productRef], references: [ref], onDelete: Cascade)\n productRef String @map(\"product_ref\")\n\n // Indexes and maps\n @@index([applicationRef], type: Hash)\n @@index([productRef], type: Hash)\n @@map(\"stt_services\")\n}\n\nmodel Intelligence {\n ref String @id @default(uuid())\n config Json\n credentials String @map(\"credentials_hash\") /// @encrypted\n\n // Relations\n application Application @relation(fields: [applicationRef], references: [ref], onDelete: Cascade)\n applicationRef String @unique @map(\"application_ref\")\n Product Product @relation(fields: [productRef], references: [ref], onDelete: Cascade)\n productRef String @map(\"product_ref\")\n\n // Indexes and maps\n @@index([applicationRef], type: Hash)\n @@index([productRef], type: Hash)\n @@map(\"intelligence_services\")\n}\n\nmodel Product {\n ref String @id\n name String\n vendor ProductVendor\n type ProductType\n\n // Relations\n speechToText SpeechToText[]\n sextToSpeech TextToSpeech[]\n intelligence Intelligence[]\n\n // Indexes and maps\n @@map(\"products\")\n}\n\nmodel Secret {\n ref String @id @default(uuid())\n accessKeyId String @map(\"access_key_id\")\n name String\n secret String @map(\"secret_hash\") /// @encrypted\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @default(now()) @map(\"updated_at\")\n\n // Indexes and maps\n @@index([accessKeyId], type: Hash)\n @@index([name], type: Hash)\n @@map(\"secrets\")\n}\n\nenum ApplicationType {\n EXTERNAL\n\n // Maps\n @@map(\"application_types\")\n}\n\nenum ProductType {\n TTS\n STT\n ASSISTANT\n\n // Maps\n @@map(\"product_types\")\n}\n\nenum ProductVendor {\n GOOGLE\n MICROSOFT\n AMAZON\n DEEPGRAM\n IBM\n RASA\n OPENAI\n GROQ\n ELEVEN_LABS\n GENERIC\n\n // Maps\n @@map(\"product_vendors\")\n}\n",
238
- "inlineSchemaHash": "6d8ba897bfe8a32e017c5f2c64853b31c62afd158376baf4cc6c659d186212e6",
241
+ "inlineSchema": "generator client {\n provider = \"prisma-client-js\"\n output = \"src/generated/@prisma/client\"\n binaryTargets = [\"native\", \"linux-arm64-openssl-1.1.x\"]\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel Application {\n ref String @id @default(uuid())\n accessKeyId String @map(\"access_key_id\")\n name String @db.VarChar(255)\n type ApplicationType\n endpoint String @db.VarChar(255)\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @default(now()) @map(\"updated_at\")\n\n // Relations\n textToSpeech TextToSpeech?\n speechToText SpeechToText?\n intelligence Intelligence?\n\n // Indexes and maps\n @@index([accessKeyId], type: Hash)\n @@map(\"applications\")\n}\n\nmodel TextToSpeech {\n ref String @id @default(uuid())\n config Json\n\n // Relations\n application Application @relation(fields: [applicationRef], references: [ref], onDelete: Cascade)\n applicationRef String @unique @map(\"application_ref\")\n product Product @relation(fields: [productRef], references: [ref], onDelete: Cascade)\n productRef String @map(\"product_ref\")\n\n // Indexes and maps\n @@index([applicationRef], type: Hash)\n @@index([productRef], type: Hash)\n @@map(\"tts_services\")\n}\n\nmodel SpeechToText {\n ref String @id @default(uuid())\n config Json\n\n // Relations\n application Application @relation(fields: [applicationRef], references: [ref], onDelete: Cascade)\n applicationRef String @unique @map(\"application_ref\")\n product Product @relation(fields: [productRef], references: [ref], onDelete: Cascade)\n productRef String @map(\"product_ref\")\n\n // Indexes and maps\n @@index([applicationRef], type: Hash)\n @@index([productRef], type: Hash)\n @@map(\"stt_services\")\n}\n\nmodel Intelligence {\n ref String @id @default(uuid())\n config Json\n credentials String @map(\"credentials_hash\") /// @encrypted\n\n // Relations\n application Application @relation(fields: [applicationRef], references: [ref], onDelete: Cascade)\n applicationRef String @unique @map(\"application_ref\")\n Product Product @relation(fields: [productRef], references: [ref], onDelete: Cascade)\n productRef String @map(\"product_ref\")\n\n // Indexes and maps\n @@index([applicationRef], type: Hash)\n @@index([productRef], type: Hash)\n @@map(\"intelligence_services\")\n}\n\nmodel Product {\n ref String @id\n name String\n vendor ProductVendor\n type ProductType\n\n // Relations\n speechToText SpeechToText[]\n sextToSpeech TextToSpeech[]\n intelligence Intelligence[]\n\n // Indexes and maps\n @@map(\"products\")\n}\n\nmodel Secret {\n ref String @id @default(uuid())\n accessKeyId String @map(\"access_key_id\")\n name String\n secret String @map(\"secret_hash\") /// @encrypted\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @default(now()) @map(\"updated_at\")\n\n // Indexes and maps\n @@index([accessKeyId], type: Hash)\n @@index([name], type: Hash)\n @@map(\"secrets\")\n}\n\nenum ApplicationType {\n EXTERNAL\n\n // Maps\n @@map(\"application_types\")\n}\n\nenum ProductType {\n TTS\n STT\n ASSISTANT\n\n // Maps\n @@map(\"product_types\")\n}\n\nenum ProductVendor {\n GOOGLE\n MICROSOFT\n AMAZON\n DEEPGRAM\n IBM\n RASA\n OPENAI\n GROQ\n ELEVEN_LABS\n GENERIC\n\n // Maps\n @@map(\"product_vendors\")\n}\n",
242
+ "inlineSchemaHash": "aa906d1bec37a0c2be5bac3158d87313e95ba84cdd4ca585565a08600d6e43be",
239
243
  "copyEngine": true
240
244
  }
241
245
  config.dirname = '/'
@@ -209,6 +209,10 @@ const config = {
209
209
  "fromEnvVar": null,
210
210
  "value": "darwin-arm64",
211
211
  "native": true
212
+ },
213
+ {
214
+ "fromEnvVar": null,
215
+ "value": "linux-arm64-openssl-1.1.x"
212
216
  }
213
217
  ],
214
218
  "previewFeatures": [],
@@ -235,8 +239,8 @@ const config = {
235
239
  }
236
240
  }
237
241
  },
238
- "inlineSchema": "generator client {\n provider = \"prisma-client-js\"\n output = \"src/generated/@prisma/client\"\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel Application {\n ref String @id @default(uuid())\n accessKeyId String @map(\"access_key_id\")\n name String @db.VarChar(255)\n type ApplicationType\n endpoint String @db.VarChar(255)\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @default(now()) @map(\"updated_at\")\n\n // Relations\n textToSpeech TextToSpeech?\n speechToText SpeechToText?\n intelligence Intelligence?\n\n // Indexes and maps\n @@index([accessKeyId], type: Hash)\n @@map(\"applications\")\n}\n\nmodel TextToSpeech {\n ref String @id @default(uuid())\n config Json\n\n // Relations\n application Application @relation(fields: [applicationRef], references: [ref], onDelete: Cascade)\n applicationRef String @unique @map(\"application_ref\")\n product Product @relation(fields: [productRef], references: [ref], onDelete: Cascade)\n productRef String @map(\"product_ref\")\n\n // Indexes and maps\n @@index([applicationRef], type: Hash)\n @@index([productRef], type: Hash)\n @@map(\"tts_services\")\n}\n\nmodel SpeechToText {\n ref String @id @default(uuid())\n config Json\n\n // Relations\n application Application @relation(fields: [applicationRef], references: [ref], onDelete: Cascade)\n applicationRef String @unique @map(\"application_ref\")\n product Product @relation(fields: [productRef], references: [ref], onDelete: Cascade)\n productRef String @map(\"product_ref\")\n\n // Indexes and maps\n @@index([applicationRef], type: Hash)\n @@index([productRef], type: Hash)\n @@map(\"stt_services\")\n}\n\nmodel Intelligence {\n ref String @id @default(uuid())\n config Json\n credentials String @map(\"credentials_hash\") /// @encrypted\n\n // Relations\n application Application @relation(fields: [applicationRef], references: [ref], onDelete: Cascade)\n applicationRef String @unique @map(\"application_ref\")\n Product Product @relation(fields: [productRef], references: [ref], onDelete: Cascade)\n productRef String @map(\"product_ref\")\n\n // Indexes and maps\n @@index([applicationRef], type: Hash)\n @@index([productRef], type: Hash)\n @@map(\"intelligence_services\")\n}\n\nmodel Product {\n ref String @id\n name String\n vendor ProductVendor\n type ProductType\n\n // Relations\n speechToText SpeechToText[]\n sextToSpeech TextToSpeech[]\n intelligence Intelligence[]\n\n // Indexes and maps\n @@map(\"products\")\n}\n\nmodel Secret {\n ref String @id @default(uuid())\n accessKeyId String @map(\"access_key_id\")\n name String\n secret String @map(\"secret_hash\") /// @encrypted\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @default(now()) @map(\"updated_at\")\n\n // Indexes and maps\n @@index([accessKeyId], type: Hash)\n @@index([name], type: Hash)\n @@map(\"secrets\")\n}\n\nenum ApplicationType {\n EXTERNAL\n\n // Maps\n @@map(\"application_types\")\n}\n\nenum ProductType {\n TTS\n STT\n ASSISTANT\n\n // Maps\n @@map(\"product_types\")\n}\n\nenum ProductVendor {\n GOOGLE\n MICROSOFT\n AMAZON\n DEEPGRAM\n IBM\n RASA\n OPENAI\n GROQ\n ELEVEN_LABS\n GENERIC\n\n // Maps\n @@map(\"product_vendors\")\n}\n",
239
- "inlineSchemaHash": "6d8ba897bfe8a32e017c5f2c64853b31c62afd158376baf4cc6c659d186212e6",
242
+ "inlineSchema": "generator client {\n provider = \"prisma-client-js\"\n output = \"src/generated/@prisma/client\"\n binaryTargets = [\"native\", \"linux-arm64-openssl-1.1.x\"]\n}\n\ndatasource db {\n provider = \"postgresql\"\n url = env(\"DATABASE_URL\")\n}\n\nmodel Application {\n ref String @id @default(uuid())\n accessKeyId String @map(\"access_key_id\")\n name String @db.VarChar(255)\n type ApplicationType\n endpoint String @db.VarChar(255)\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @default(now()) @map(\"updated_at\")\n\n // Relations\n textToSpeech TextToSpeech?\n speechToText SpeechToText?\n intelligence Intelligence?\n\n // Indexes and maps\n @@index([accessKeyId], type: Hash)\n @@map(\"applications\")\n}\n\nmodel TextToSpeech {\n ref String @id @default(uuid())\n config Json\n\n // Relations\n application Application @relation(fields: [applicationRef], references: [ref], onDelete: Cascade)\n applicationRef String @unique @map(\"application_ref\")\n product Product @relation(fields: [productRef], references: [ref], onDelete: Cascade)\n productRef String @map(\"product_ref\")\n\n // Indexes and maps\n @@index([applicationRef], type: Hash)\n @@index([productRef], type: Hash)\n @@map(\"tts_services\")\n}\n\nmodel SpeechToText {\n ref String @id @default(uuid())\n config Json\n\n // Relations\n application Application @relation(fields: [applicationRef], references: [ref], onDelete: Cascade)\n applicationRef String @unique @map(\"application_ref\")\n product Product @relation(fields: [productRef], references: [ref], onDelete: Cascade)\n productRef String @map(\"product_ref\")\n\n // Indexes and maps\n @@index([applicationRef], type: Hash)\n @@index([productRef], type: Hash)\n @@map(\"stt_services\")\n}\n\nmodel Intelligence {\n ref String @id @default(uuid())\n config Json\n credentials String @map(\"credentials_hash\") /// @encrypted\n\n // Relations\n application Application @relation(fields: [applicationRef], references: [ref], onDelete: Cascade)\n applicationRef String @unique @map(\"application_ref\")\n Product Product @relation(fields: [productRef], references: [ref], onDelete: Cascade)\n productRef String @map(\"product_ref\")\n\n // Indexes and maps\n @@index([applicationRef], type: Hash)\n @@index([productRef], type: Hash)\n @@map(\"intelligence_services\")\n}\n\nmodel Product {\n ref String @id\n name String\n vendor ProductVendor\n type ProductType\n\n // Relations\n speechToText SpeechToText[]\n sextToSpeech TextToSpeech[]\n intelligence Intelligence[]\n\n // Indexes and maps\n @@map(\"products\")\n}\n\nmodel Secret {\n ref String @id @default(uuid())\n accessKeyId String @map(\"access_key_id\")\n name String\n secret String @map(\"secret_hash\") /// @encrypted\n createdAt DateTime @default(now()) @map(\"created_at\")\n updatedAt DateTime @default(now()) @map(\"updated_at\")\n\n // Indexes and maps\n @@index([accessKeyId], type: Hash)\n @@index([name], type: Hash)\n @@map(\"secrets\")\n}\n\nenum ApplicationType {\n EXTERNAL\n\n // Maps\n @@map(\"application_types\")\n}\n\nenum ProductType {\n TTS\n STT\n ASSISTANT\n\n // Maps\n @@map(\"product_types\")\n}\n\nenum ProductVendor {\n GOOGLE\n MICROSOFT\n AMAZON\n DEEPGRAM\n IBM\n RASA\n OPENAI\n GROQ\n ELEVEN_LABS\n GENERIC\n\n // Maps\n @@map(\"product_vendors\")\n}\n",
243
+ "inlineSchemaHash": "aa906d1bec37a0c2be5bac3158d87313e95ba84cdd4ca585565a08600d6e43be",
240
244
  "copyEngine": true
241
245
  }
242
246
 
@@ -276,6 +280,10 @@ Object.assign(exports, Prisma)
276
280
  // file annotations for bundling tools to include these files
277
281
  path.join(__dirname, "libquery_engine-darwin-arm64.dylib.node");
278
282
  path.join(process.cwd(), "mods/apiserver/src/generated/@prisma/client/libquery_engine-darwin-arm64.dylib.node")
283
+
284
+ // file annotations for bundling tools to include these files
285
+ path.join(__dirname, "libquery_engine-linux-arm64-openssl-1.1.x.so.node");
286
+ path.join(process.cwd(), "mods/apiserver/src/generated/@prisma/client/libquery_engine-linux-arm64-openssl-1.1.x.so.node")
279
287
  // file annotations for bundling tools to include these files
280
288
  path.join(__dirname, "schema.prisma");
281
289
  path.join(process.cwd(), "mods/apiserver/src/generated/@prisma/client/schema.prisma")
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-780f86cd62123a61a9002b7312b206b125a6b2a9612dd37b2e8234dcc90de51f",
2
+ "name": "prisma-client-7d66c306003886503b94d23ba3c742e6c0a9795700c0ed7a1a3c236b53cc1a93",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -1,6 +1,7 @@
1
1
  generator client {
2
- provider = "prisma-client-js"
3
- output = "src/generated/@prisma/client"
2
+ provider = "prisma-client-js"
3
+ output = "src/generated/@prisma/client"
4
+ binaryTargets = ["native", "linux-arm64-openssl-1.1.x"]
4
5
  }
5
6
 
6
7
  datasource db {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/apiserver",
3
- "version": "0.8.9",
3
+ "version": "0.8.10",
4
4
  "description": "APIServer for Fonoster",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -21,11 +21,11 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@deepgram/sdk": "^3.5.1",
24
- "@fonoster/authz": "^0.8.9",
24
+ "@fonoster/authz": "^0.8.10",
25
25
  "@fonoster/common": "^0.8.9",
26
- "@fonoster/identity": "^0.8.9",
26
+ "@fonoster/identity": "^0.8.10",
27
27
  "@fonoster/logger": "^0.8.9",
28
- "@fonoster/sipnet": "^0.8.9",
28
+ "@fonoster/sipnet": "^0.8.10",
29
29
  "@fonoster/streams": "^0.8.9",
30
30
  "@fonoster/types": "^0.8.9",
31
31
  "@google-cloud/speech": "^6.6.0",
@@ -73,5 +73,5 @@
73
73
  "@types/uuid": "^10.0.0",
74
74
  "@types/validator": "^13.12.0"
75
75
  },
76
- "gitHead": "cca3ae549e4c3cbf6c57e20724f680526a00966f"
76
+ "gitHead": "fd1c7a41b5b504bf458656074e65eb9d82ef79bf"
77
77
  }