@webitel/api-services 0.0.23 → 0.0.24

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 (25) hide show
  1. package/package.json +2 -2
  2. package/src/gen/_docs/.nojekyll +1 -0
  3. package/types/gen/_models/casesCaseCustom.d.ts +12 -0
  4. package/types/gen/_models/casesInputCaseCustom.d.ts +12 -0
  5. package/types/gen/_models/casesInputCreateCaseCustom.d.ts +12 -0
  6. package/types/gen/_models/configServicePatchConfigBody.d.ts +15 -0
  7. package/types/gen/_models/configServiceUpdateConfigBody.d.ts +14 -0
  8. package/types/gen/_models/googlerpcStatus.d.ts +4 -4
  9. package/types/gen/_models/groupsAddContactsToGroupParams.d.ts +12 -0
  10. package/types/gen/_models/loggerDeleteConfigBulkRequest.d.ts +9 -0
  11. package/types/gen/_models/loggerDeleteConfigLogsRequest.d.ts +10 -0
  12. package/types/gen/_models/loggerDeleteConfigLogsResponse.d.ts +9 -0
  13. package/types/gen/_models/protobufNullValue.d.ts +18 -0
  14. package/types/gen/_models/readSystemObjectsParams.d.ts +9 -0
  15. package/types/gen/_models/searchConfigObjectItem.d.ts +25 -0
  16. package/types/gen/_models/searchConfigParams.d.ts +18 -0
  17. package/types/gen/_models/searchLogByConfigIdActionItem.d.ts +14 -0
  18. package/types/gen/_models/searchLogByConfigIdParams.d.ts +19 -0
  19. package/types/gen/_models/searchLogByRecordIdActionItem.d.ts +14 -0
  20. package/types/gen/_models/searchLogByRecordIdParams.d.ts +22 -0
  21. package/types/gen/_models/searchLogByUserIdActionItem.d.ts +14 -0
  22. package/types/gen/_models/searchLogByUserIdParams.d.ts +25 -0
  23. package/types/gen/_models/webitelcasesStatus.d.ts +2 -2
  24. package/types/gen/_models/googleRpcStatus.d.ts +0 -12
  25. package/types/gen/_models/webitelCasesStatus.d.ts +0 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webitel/api-services",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "make-all": "npm run gen:api && npm version patch && npm run publish-lib",
@@ -40,7 +40,6 @@
40
40
  "CHANGELOG.md"
41
41
  ],
42
42
  "peerDependencies": {
43
- "axios": "^1.8.3",
44
43
  "deep-copy": "^1.4.2",
45
44
  "deep-equal": "^2.2.3",
46
45
  "deepmerge": "^4.3.1",
@@ -52,6 +51,7 @@
52
51
  "@biomejs/biome": "1.9.4",
53
52
  "@tsconfig/node22": "^22.0.0",
54
53
  "@types/node": "^22.13.10",
54
+ "axios": "^1.10.0",
55
55
  "change-case": "^5.4.4",
56
56
  "globby": "^14.1.0",
57
57
  "husky": "^9.1.7",
@@ -0,0 +1 @@
1
+ TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * service.proto
5
+ * OpenAPI spec version: version not set
6
+ */
7
+ /**
8
+ * Custom data extension fields ..
9
+ */
10
+ export type CasesCaseCustom = {
11
+ [key: string]: unknown;
12
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * service.proto
5
+ * OpenAPI spec version: version not set
6
+ */
7
+ /**
8
+ * Custom data extension fields ..
9
+ */
10
+ export type CasesInputCaseCustom = {
11
+ [key: string]: unknown;
12
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * service.proto
5
+ * OpenAPI spec version: version not set
6
+ */
7
+ /**
8
+ * Custom data extension fields ..
9
+ */
10
+ export type CasesInputCreateCaseCustom = {
11
+ [key: string]: unknown;
12
+ };
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { LoggerLookup } from './loggerLookup';
8
+ export interface ConfigServicePatchConfigBody {
9
+ daysToStore?: number;
10
+ description?: string;
11
+ enabled?: boolean;
12
+ fields?: string[];
13
+ period?: number;
14
+ storage?: LoggerLookup;
15
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { LoggerLookup } from './loggerLookup';
8
+ export interface ConfigServiceUpdateConfigBody {
9
+ daysToStore?: number;
10
+ description?: string;
11
+ enabled?: boolean;
12
+ period?: number;
13
+ storage?: LoggerLookup;
14
+ }
@@ -1,12 +1,12 @@
1
1
  /**
2
- * Generated by orval v7.9.0 🍺
2
+ * Generated by orval v7.10.0 🍺
3
3
  * Do not edit manually.
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
- import type { ProtobufAny } from './protobufAny';
8
- export interface GooglerpcStatus {
7
+ import type { GoogleProtobufAny } from './googleProtobufAny';
8
+ export interface GoogleRpcStatus {
9
9
  code?: number;
10
- details?: ProtobufAny[];
10
+ details?: GoogleProtobufAny[];
11
11
  message?: string;
12
12
  }
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type GroupsAddContactsToGroupParams = {
8
+ /**
9
+ * List of contact IDs to add to the group.
10
+ */
11
+ contactIds?: string[];
12
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export interface LoggerDeleteConfigBulkRequest {
8
+ ids?: number[];
9
+ }
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export interface LoggerDeleteConfigLogsRequest {
8
+ configId?: string;
9
+ olderThan?: string;
10
+ }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export interface LoggerDeleteConfigLogsResponse {
8
+ processed?: string;
9
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * service.proto
5
+ * OpenAPI spec version: version not set
6
+ */
7
+ /**
8
+ * `NullValue` is a singleton enumeration to represent the null value for the
9
+ `Value` type union.
10
+
11
+ The JSON representation for `NullValue` is JSON `null`.
12
+
13
+ - NULL_VALUE: Null value.
14
+ */
15
+ export type ProtobufNullValue = (typeof ProtobufNullValue)[keyof typeof ProtobufNullValue];
16
+ export declare const ProtobufNullValue: {
17
+ readonly NullValue: "NULL_VALUE";
18
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type ReadSystemObjectsParams = {
8
+ includeExisting?: boolean;
9
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type SearchConfigObjectItem = (typeof SearchConfigObjectItem)[keyof typeof SearchConfigObjectItem];
8
+ export declare const SearchConfigObjectItem: {
9
+ readonly cc_queue: "cc_queue";
10
+ readonly schema: "schema";
11
+ readonly users: "users";
12
+ readonly devices: "devices";
13
+ readonly calendars: "calendars";
14
+ readonly cc_list: "cc_list";
15
+ readonly cc_team: "cc_team";
16
+ readonly cc_agent: "cc_agent";
17
+ readonly cc_resource: "cc_resource";
18
+ readonly cc_resource_group: "cc_resource_group";
19
+ readonly chat_bots: "chat_bots";
20
+ readonly cases: "cases";
21
+ readonly contacts: "contacts";
22
+ readonly cc_list_number: "cc_list_number";
23
+ readonly case_comments: "case_comments";
24
+ readonly record_file: "record_file";
25
+ };
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { SearchConfigObjectItem } from './searchConfigObjectItem';
8
+ export type SearchConfigParams = {
9
+ page?: number;
10
+ size?: number;
11
+ q?: string;
12
+ sort?: string;
13
+ fields?: string[];
14
+ /**
15
+ * NOT USED
16
+ */
17
+ object?: SearchConfigObjectItem[];
18
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type SearchLogByConfigIdActionItem = (typeof SearchLogByConfigIdActionItem)[keyof typeof SearchLogByConfigIdActionItem];
8
+ export declare const SearchLogByConfigIdActionItem: {
9
+ readonly default_no_action: "default_no_action";
10
+ readonly create: "create";
11
+ readonly update: "update";
12
+ readonly read: "read";
13
+ readonly delete: "delete";
14
+ };
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { SearchLogByConfigIdActionItem } from './searchLogByConfigIdActionItem';
8
+ export type SearchLogByConfigIdParams = {
9
+ page?: number;
10
+ size?: number;
11
+ q?: string;
12
+ sort?: string;
13
+ fields?: string[];
14
+ userId?: string[];
15
+ action?: SearchLogByConfigIdActionItem[];
16
+ userIp?: string;
17
+ dateFrom?: string;
18
+ dateTo?: string;
19
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type SearchLogByRecordIdActionItem = (typeof SearchLogByRecordIdActionItem)[keyof typeof SearchLogByRecordIdActionItem];
8
+ export declare const SearchLogByRecordIdActionItem: {
9
+ readonly default_no_action: "default_no_action";
10
+ readonly create: "create";
11
+ readonly update: "update";
12
+ readonly read: "read";
13
+ readonly delete: "delete";
14
+ };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { SearchLogByRecordIdActionItem } from './searchLogByRecordIdActionItem';
8
+ export type SearchLogByRecordIdParams = {
9
+ page?: number;
10
+ size?: number;
11
+ q?: string;
12
+ sort?: string;
13
+ fields?: string[];
14
+ /**
15
+ * GENERAL filters
16
+ */
17
+ action?: SearchLogByRecordIdActionItem[];
18
+ userId?: string[];
19
+ userIp?: string;
20
+ dateFrom?: string;
21
+ dateTo?: string;
22
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ export type SearchLogByUserIdActionItem = (typeof SearchLogByUserIdActionItem)[keyof typeof SearchLogByUserIdActionItem];
8
+ export declare const SearchLogByUserIdActionItem: {
9
+ readonly default_no_action: "default_no_action";
10
+ readonly create: "create";
11
+ readonly update: "update";
12
+ readonly read: "read";
13
+ readonly delete: "delete";
14
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Generated by orval v7.9.0 🍺
3
+ * Do not edit manually.
4
+ * Webitel API
5
+ * OpenAPI spec version: 24.04.0
6
+ */
7
+ import type { SearchLogByUserIdActionItem } from './searchLogByUserIdActionItem';
8
+ export type SearchLogByUserIdParams = {
9
+ page?: number;
10
+ size?: number;
11
+ q?: string;
12
+ sort?: string;
13
+ fields?: string[];
14
+ /**
15
+ * SPECIFIC filter
16
+ */
17
+ objectId?: string[];
18
+ /**
19
+ * GENERAL filters
20
+ */
21
+ action?: SearchLogByUserIdActionItem[];
22
+ userIp?: string;
23
+ dateFrom?: string;
24
+ dateTo?: string;
25
+ };
@@ -1,11 +1,11 @@
1
1
  /**
2
- * Generated by orval v7.9.0 🍺
2
+ * Generated by orval v7.10.0 🍺
3
3
  * Do not edit manually.
4
4
  * Webitel API
5
5
  * OpenAPI spec version: 24.04.0
6
6
  */
7
7
  import type { GeneralLookup } from './generalLookup';
8
- export interface WebitelcasesStatus {
8
+ export interface WebitelCasesStatus {
9
9
  createdAt?: string;
10
10
  createdBy?: GeneralLookup;
11
11
  description?: string;
@@ -1,12 +0,0 @@
1
- /**
2
- * Generated by orval v7.10.0 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import type { GoogleProtobufAny } from './googleProtobufAny';
8
- export interface GoogleRpcStatus {
9
- code?: number;
10
- details?: GoogleProtobufAny[];
11
- message?: string;
12
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * Generated by orval v7.10.0 🍺
3
- * Do not edit manually.
4
- * Webitel API
5
- * OpenAPI spec version: 24.04.0
6
- */
7
- import type { GeneralLookup } from './generalLookup';
8
- export interface WebitelCasesStatus {
9
- createdAt?: string;
10
- createdBy?: GeneralLookup;
11
- description?: string;
12
- id?: string;
13
- name?: string;
14
- updatedAt?: string;
15
- updatedBy?: GeneralLookup;
16
- }