@purpleschool/rugpt-lib-common 0.0.76 → 0.0.79

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 (31) hide show
  1. package/build/common/command-response.schema.d.ts +7 -0
  2. package/build/common/index.d.ts +1 -0
  3. package/build/enums/ai-model-status.enum.d.ts +4 -0
  4. package/build/enums/locale.enum.d.ts +5 -0
  5. package/{enums/statistics/index.ts → build/enums/statistics/index.d.ts} +1 -1
  6. package/build/enums/statistics/statistics-billing-origin.enum.d.ts +4 -0
  7. package/build/enums/statistics/statistics-call-origin.enum.d.ts +4 -0
  8. package/build/errors/errors.d.ts +7240 -0
  9. package/build/errors/errors.js +5 -0
  10. package/build/tools-api/commands/save-file.command.d.ts +27 -0
  11. package/build/tools-api/tools-api.amqp.routes.d.ts +3 -0
  12. package/package.json +5 -2
  13. package/.githooks/pre-commit +0 -3
  14. package/.github/workflows/deploy-lib.yml +0 -124
  15. package/.github/workflows/pachca-notification.yml +0 -20
  16. package/common/command-response.schema.ts +0 -9
  17. package/common/index.ts +0 -1
  18. package/enums/ai-model-status.enum.ts +0 -4
  19. package/enums/locale.enum.ts +0 -5
  20. package/enums/statistics/statistics-billing-origin.enum.ts +0 -4
  21. package/enums/statistics/statistics-call-origin.enum.ts +0 -4
  22. package/errors/errors.ts +0 -7413
  23. package/scripts/check-errors-structure.js +0 -149
  24. package/tools-api/commands/save-file.command.ts +0 -28
  25. package/tools-api/tools-api.amqp.routes.ts +0 -3
  26. package/tsconfig.json +0 -103
  27. /package/{enums/index.ts → build/enums/index.d.ts} +0 -0
  28. /package/{errors/index.ts → build/errors/index.d.ts} +0 -0
  29. /package/{index.ts → build/index.d.ts} +0 -0
  30. /package/{tools-api/commands/index.ts → build/tools-api/commands/index.d.ts} +0 -0
  31. /package/{tools-api/index.ts → build/tools-api/index.d.ts} +0 -0
@@ -0,0 +1,7 @@
1
+ import { z } from "zod";
2
+ export declare const ICommandResponseSchema: <T>(dataSchema: z.ZodType<T>) => z.ZodObject<{
3
+ isSuccess: z.ZodBoolean;
4
+ data: z.ZodOptional<z.ZodType<T, unknown, z.core.$ZodTypeInternals<T, unknown>>>;
5
+ code: z.ZodOptional<z.ZodString>;
6
+ message: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
@@ -0,0 +1 @@
1
+ export * from './command-response.schema';
@@ -0,0 +1,4 @@
1
+ export declare enum AI_MODEL_STATUS {
2
+ ACTIVE = "active",
3
+ INACTIVE = "inactive"
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum LOCALE {
2
+ RU = "ru",
3
+ EN = "en",
4
+ ES = "es"
5
+ }
@@ -1,2 +1,2 @@
1
1
  export * from './statistics-billing-origin.enum';
2
- export * from './statistics-call-origin.enum';
2
+ export * from './statistics-call-origin.enum';
@@ -0,0 +1,4 @@
1
+ export declare enum STATISTICS_BILLING_ORIGIN {
2
+ PERSONAL = "personal",
3
+ TEAM_ACCOUNT = "team_account"
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum STATISTICS_CALL_ORIGIN {
2
+ API = "api",
3
+ WEB = "web"
4
+ }