@iamweird/planfix-api-client 1.5.3

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 (82) hide show
  1. package/README.md +82 -0
  2. package/dist/generated/checklist/checklist.d.ts +136 -0
  3. package/dist/generated/checklist/checklist.d.ts.map +1 -0
  4. package/dist/generated/checklist/checklist.js +136 -0
  5. package/dist/generated/checklist/checklist.js.map +1 -0
  6. package/dist/generated/comments/comments.d.ts +197 -0
  7. package/dist/generated/comments/comments.d.ts.map +1 -0
  8. package/dist/generated/comments/comments.js +164 -0
  9. package/dist/generated/comments/comments.js.map +1 -0
  10. package/dist/generated/contact/contact.d.ts +1247 -0
  11. package/dist/generated/contact/contact.d.ts.map +1 -0
  12. package/dist/generated/contact/contact.js +934 -0
  13. package/dist/generated/contact/contact.js.map +1 -0
  14. package/dist/generated/custom-fields/custom-fields.d.ts +308 -0
  15. package/dist/generated/custom-fields/custom-fields.d.ts.map +1 -0
  16. package/dist/generated/custom-fields/custom-fields.js +133 -0
  17. package/dist/generated/custom-fields/custom-fields.js.map +1 -0
  18. package/dist/generated/custom-fields-contact/custom-fields-contact.d.ts +197 -0
  19. package/dist/generated/custom-fields-contact/custom-fields-contact.d.ts.map +1 -0
  20. package/dist/generated/custom-fields-contact/custom-fields-contact.js +92 -0
  21. package/dist/generated/custom-fields-contact/custom-fields-contact.js.map +1 -0
  22. package/dist/generated/custom-fields-employee/custom-fields-employee.d.ts +197 -0
  23. package/dist/generated/custom-fields-employee/custom-fields-employee.d.ts.map +1 -0
  24. package/dist/generated/custom-fields-employee/custom-fields-employee.js +92 -0
  25. package/dist/generated/custom-fields-employee/custom-fields-employee.js.map +1 -0
  26. package/dist/generated/custom-fields-project/custom-fields-project.d.ts +196 -0
  27. package/dist/generated/custom-fields-project/custom-fields-project.d.ts.map +1 -0
  28. package/dist/generated/custom-fields-project/custom-fields-project.js +91 -0
  29. package/dist/generated/custom-fields-project/custom-fields-project.js.map +1 -0
  30. package/dist/generated/custom-fields-task/custom-fields-task.d.ts +196 -0
  31. package/dist/generated/custom-fields-task/custom-fields-task.d.ts.map +1 -0
  32. package/dist/generated/custom-fields-task/custom-fields-task.js +91 -0
  33. package/dist/generated/custom-fields-task/custom-fields-task.js.map +1 -0
  34. package/dist/generated/data-tags/data-tags.d.ts +464 -0
  35. package/dist/generated/data-tags/data-tags.d.ts.map +1 -0
  36. package/dist/generated/data-tags/data-tags.js +236 -0
  37. package/dist/generated/data-tags/data-tags.js.map +1 -0
  38. package/dist/generated/directory/directory.d.ts +532 -0
  39. package/dist/generated/directory/directory.d.ts.map +1 -0
  40. package/dist/generated/directory/directory.js +300 -0
  41. package/dist/generated/directory/directory.js.map +1 -0
  42. package/dist/generated/employee/employee.d.ts +533 -0
  43. package/dist/generated/employee/employee.d.ts.map +1 -0
  44. package/dist/generated/employee/employee.js +313 -0
  45. package/dist/generated/employee/employee.js.map +1 -0
  46. package/dist/generated/file/file.d.ts +133 -0
  47. package/dist/generated/file/file.d.ts.map +1 -0
  48. package/dist/generated/file/file.js +127 -0
  49. package/dist/generated/file/file.js.map +1 -0
  50. package/dist/generated/monitoring/monitoring.d.ts +16 -0
  51. package/dist/generated/monitoring/monitoring.d.ts.map +1 -0
  52. package/dist/generated/monitoring/monitoring.js +16 -0
  53. package/dist/generated/monitoring/monitoring.js.map +1 -0
  54. package/dist/generated/object/object.d.ts +395 -0
  55. package/dist/generated/object/object.d.ts.map +1 -0
  56. package/dist/generated/object/object.js +301 -0
  57. package/dist/generated/object/object.js.map +1 -0
  58. package/dist/generated/process/process.d.ts +62 -0
  59. package/dist/generated/process/process.d.ts.map +1 -0
  60. package/dist/generated/process/process.js +62 -0
  61. package/dist/generated/process/process.js.map +1 -0
  62. package/dist/generated/project/project.d.ts +696 -0
  63. package/dist/generated/project/project.d.ts.map +1 -0
  64. package/dist/generated/project/project.js +586 -0
  65. package/dist/generated/project/project.js.map +1 -0
  66. package/dist/generated/report/report.d.ts +143 -0
  67. package/dist/generated/report/report.d.ts.map +1 -0
  68. package/dist/generated/report/report.js +140 -0
  69. package/dist/generated/report/report.js.map +1 -0
  70. package/dist/generated/system/system.d.ts +52 -0
  71. package/dist/generated/system/system.d.ts.map +1 -0
  72. package/dist/generated/system/system.js +52 -0
  73. package/dist/generated/system/system.js.map +1 -0
  74. package/dist/generated/task/task.d.ts +1763 -0
  75. package/dist/generated/task/task.d.ts.map +1 -0
  76. package/dist/generated/task/task.js +1375 -0
  77. package/dist/generated/task/task.js.map +1 -0
  78. package/dist/index.d.ts +20 -0
  79. package/dist/index.d.ts.map +1 -0
  80. package/dist/index.js +22 -0
  81. package/dist/index.js.map +1 -0
  82. package/package.json +53 -0
@@ -0,0 +1,196 @@
1
+ /**
2
+ * Generated by orval v8.3.0 🍺
3
+ * Do not edit manually.
4
+ * Planfix REST API
5
+ * Documentation for Planfix REST API. <br> Generated <a href="https://root/restapidocs/swagger.json">swagger.json</a>
6
+ * OpenAPI spec version: 1.5.3
7
+ */
8
+ import * as zod from 'zod';
9
+ /**
10
+ * This method lets you get a list of custom project fields
11
+ * @summary Get a list of custom project fields
12
+ */
13
+ export declare const GetCustomfieldProjectQueryParams: zod.ZodObject<{
14
+ fields: zod.ZodOptional<zod.ZodString>;
15
+ }, zod.z.core.$strip>;
16
+ export declare const GetCustomfieldProjectResponse: zod.ZodObject<{
17
+ result: zod.ZodOptional<zod.ZodString>;
18
+ customfields: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
19
+ id: zod.ZodOptional<zod.ZodNumber>;
20
+ name: zod.ZodOptional<zod.ZodString>;
21
+ names: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
22
+ type: zod.ZodOptional<zod.ZodEnum<{
23
+ "0 // Line": "0 // Line";
24
+ "1 // Number": "1 // Number";
25
+ "2 // Text": "2 // Text";
26
+ "3 // Date": "3 // Date";
27
+ "4 // Time": "4 // Time";
28
+ "5 // Date and time": "5 // Date and time";
29
+ "6 // Period of time": "6 // Period of time";
30
+ "7 // Checkbox": "7 // Checkbox";
31
+ "8 // List": "8 // List";
32
+ "9 // Directory entry": "9 // Directory entry";
33
+ "10 // Contact": "10 // Contact";
34
+ "11 // Employee": "11 // Employee";
35
+ "12 // Counterparty": "12 // Counterparty";
36
+ "13 // Group, employee, or contact": "13 // Group, employee, or contact";
37
+ "14 // List of users": "14 // List of users";
38
+ "15 // Set of directory values": "15 // Set of directory values";
39
+ "16 // Task": "16 // Task";
40
+ "17 // Task set": "17 // Task set";
41
+ "20 // Set of values": "20 // Set of values";
42
+ "21 // Files": "21 // Files";
43
+ "22 // Project": "22 // Project";
44
+ "23 // Data tag summaries": "23 // Data tag summaries";
45
+ "24 // Calculated field": "24 // Calculated field";
46
+ "25 // Location": "25 // Location";
47
+ "26 // Subtask total": "26 // Subtask total";
48
+ "27 // AI results field": "27 // AI results field";
49
+ }>>;
50
+ objectType: zod.ZodOptional<zod.ZodEnum<{
51
+ "0 // Task": "0 // Task";
52
+ "1 // Contact": "1 // Contact";
53
+ "2 // Directory": "2 // Directory";
54
+ "3 // Project": "3 // Project";
55
+ "4 // Data tag": "4 // Data tag";
56
+ "5 // Main": "5 // Main";
57
+ "6 // Employee": "6 // Employee";
58
+ }>>;
59
+ groupId: zod.ZodOptional<zod.ZodNumber>;
60
+ directoryId: zod.ZodOptional<zod.ZodNumber>;
61
+ directoryFields: zod.ZodOptional<zod.ZodArray<zod.ZodNumber>>;
62
+ enumValues: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
63
+ mainValue: zod.ZodOptional<zod.ZodString>;
64
+ }, zod.z.core.$strip>>>;
65
+ }, zod.z.core.$strip>;
66
+ /**
67
+ * This method lets you get a list of custom fields for project
68
+ * @summary Get list of custom fields for project
69
+ */
70
+ export declare const GetCustomfieldsForProjectParams: zod.ZodObject<{
71
+ id: zod.ZodNumber;
72
+ }, zod.z.core.$strip>;
73
+ export declare const GetCustomfieldsForProjectQueryParams: zod.ZodObject<{
74
+ fields: zod.ZodOptional<zod.ZodString>;
75
+ }, zod.z.core.$strip>;
76
+ export declare const GetCustomfieldsForProjectResponse: zod.ZodObject<{
77
+ result: zod.ZodOptional<zod.ZodString>;
78
+ customfields: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
79
+ id: zod.ZodOptional<zod.ZodNumber>;
80
+ name: zod.ZodOptional<zod.ZodString>;
81
+ names: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
82
+ type: zod.ZodOptional<zod.ZodEnum<{
83
+ "0 // Line": "0 // Line";
84
+ "1 // Number": "1 // Number";
85
+ "2 // Text": "2 // Text";
86
+ "3 // Date": "3 // Date";
87
+ "4 // Time": "4 // Time";
88
+ "5 // Date and time": "5 // Date and time";
89
+ "6 // Period of time": "6 // Period of time";
90
+ "7 // Checkbox": "7 // Checkbox";
91
+ "8 // List": "8 // List";
92
+ "9 // Directory entry": "9 // Directory entry";
93
+ "10 // Contact": "10 // Contact";
94
+ "11 // Employee": "11 // Employee";
95
+ "12 // Counterparty": "12 // Counterparty";
96
+ "13 // Group, employee, or contact": "13 // Group, employee, or contact";
97
+ "14 // List of users": "14 // List of users";
98
+ "15 // Set of directory values": "15 // Set of directory values";
99
+ "16 // Task": "16 // Task";
100
+ "17 // Task set": "17 // Task set";
101
+ "20 // Set of values": "20 // Set of values";
102
+ "21 // Files": "21 // Files";
103
+ "22 // Project": "22 // Project";
104
+ "23 // Data tag summaries": "23 // Data tag summaries";
105
+ "24 // Calculated field": "24 // Calculated field";
106
+ "25 // Location": "25 // Location";
107
+ "26 // Subtask total": "26 // Subtask total";
108
+ "27 // AI results field": "27 // AI results field";
109
+ }>>;
110
+ objectType: zod.ZodOptional<zod.ZodEnum<{
111
+ "0 // Task": "0 // Task";
112
+ "1 // Contact": "1 // Contact";
113
+ "2 // Directory": "2 // Directory";
114
+ "3 // Project": "3 // Project";
115
+ "4 // Data tag": "4 // Data tag";
116
+ "5 // Main": "5 // Main";
117
+ "6 // Employee": "6 // Employee";
118
+ }>>;
119
+ groupId: zod.ZodOptional<zod.ZodNumber>;
120
+ directoryId: zod.ZodOptional<zod.ZodNumber>;
121
+ directoryFields: zod.ZodOptional<zod.ZodArray<zod.ZodNumber>>;
122
+ enumValues: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
123
+ mainValue: zod.ZodOptional<zod.ZodString>;
124
+ }, zod.z.core.$strip>>>;
125
+ }, zod.z.core.$strip>;
126
+ /**
127
+ * This method lets you create a custom field for project
128
+ * @summary Create a custom field for project
129
+ */
130
+ export declare const PostCustomfieldProjectAddBody: zod.ZodObject<{
131
+ id: zod.ZodOptional<zod.ZodNumber>;
132
+ name: zod.ZodOptional<zod.ZodString>;
133
+ names: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
134
+ type: zod.ZodOptional<zod.ZodEnum<{
135
+ "0 // Line": "0 // Line";
136
+ "1 // Number": "1 // Number";
137
+ "2 // Text": "2 // Text";
138
+ "3 // Date": "3 // Date";
139
+ "4 // Time": "4 // Time";
140
+ "5 // Date and time": "5 // Date and time";
141
+ "6 // Period of time": "6 // Period of time";
142
+ "7 // Checkbox": "7 // Checkbox";
143
+ "8 // List": "8 // List";
144
+ "9 // Directory entry": "9 // Directory entry";
145
+ "10 // Contact": "10 // Contact";
146
+ "11 // Employee": "11 // Employee";
147
+ "12 // Counterparty": "12 // Counterparty";
148
+ "13 // Group, employee, or contact": "13 // Group, employee, or contact";
149
+ "14 // List of users": "14 // List of users";
150
+ "15 // Set of directory values": "15 // Set of directory values";
151
+ "16 // Task": "16 // Task";
152
+ "17 // Task set": "17 // Task set";
153
+ "20 // Set of values": "20 // Set of values";
154
+ "21 // Files": "21 // Files";
155
+ "22 // Project": "22 // Project";
156
+ "23 // Data tag summaries": "23 // Data tag summaries";
157
+ "24 // Calculated field": "24 // Calculated field";
158
+ "25 // Location": "25 // Location";
159
+ "26 // Subtask total": "26 // Subtask total";
160
+ "27 // AI results field": "27 // AI results field";
161
+ }>>;
162
+ objectType: zod.ZodOptional<zod.ZodEnum<{
163
+ "0 // Task": "0 // Task";
164
+ "1 // Contact": "1 // Contact";
165
+ "2 // Directory": "2 // Directory";
166
+ "3 // Project": "3 // Project";
167
+ "4 // Data tag": "4 // Data tag";
168
+ "5 // Main": "5 // Main";
169
+ "6 // Employee": "6 // Employee";
170
+ }>>;
171
+ groupId: zod.ZodOptional<zod.ZodNumber>;
172
+ directoryId: zod.ZodOptional<zod.ZodNumber>;
173
+ directoryFields: zod.ZodOptional<zod.ZodArray<zod.ZodNumber>>;
174
+ enumValues: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
175
+ mainValue: zod.ZodOptional<zod.ZodString>;
176
+ }, zod.z.core.$strip>;
177
+ /**
178
+ * This method lets you get a list of custom project fields sets
179
+ * @summary Get a list of a custom project fields set
180
+ */
181
+ export declare const GetCustomfieldSetsProjectResponse: zod.ZodObject<{
182
+ result: zod.ZodOptional<zod.ZodString>;
183
+ customFieldSets: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
184
+ id: zod.ZodOptional<zod.ZodNumber>;
185
+ name: zod.ZodOptional<zod.ZodString>;
186
+ }, zod.z.core.$strip>>>;
187
+ }, zod.z.core.$strip>;
188
+ /**
189
+ * This method lets you create a custom fields set for project
190
+ * @summary Create a custom fields set for project
191
+ */
192
+ export declare const PostCustomfieldSetProjectAddBody: zod.ZodObject<{
193
+ id: zod.ZodOptional<zod.ZodNumber>;
194
+ name: zod.ZodOptional<zod.ZodString>;
195
+ }, zod.z.core.$strip>;
196
+ //# sourceMappingURL=custom-fields-project.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-fields-project.d.ts","sourceRoot":"","sources":["../../../src/generated/custom-fields-project/custom-fields-project.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAG3B;;;GAGG;AACH,eAAO,MAAM,gCAAgC;;qBAE3C,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAcxC,CAAA;AAEF;;;GAGG;AAIH,eAAO,MAAM,+BAA+B;;qBAE1C,CAAA;AAEF,eAAO,MAAM,oCAAoC;;qBAE/C,CAAA;AAEF,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAc5C,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAWxC,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,iCAAiC;;;;;;qBAM5C,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,gCAAgC;;;qBAG3C,CAAA"}
@@ -0,0 +1,91 @@
1
+ /**
2
+ * Generated by orval v8.3.0 🍺
3
+ * Do not edit manually.
4
+ * Planfix REST API
5
+ * Documentation for Planfix REST API. <br> Generated <a href="https://root/restapidocs/swagger.json">swagger.json</a>
6
+ * OpenAPI spec version: 1.5.3
7
+ */
8
+ import * as zod from 'zod';
9
+ /**
10
+ * This method lets you get a list of custom project fields
11
+ * @summary Get a list of custom project fields
12
+ */
13
+ export const GetCustomfieldProjectQueryParams = zod.object({
14
+ "fields": zod.string().optional().describe('Fields returned - system field names, comma-delimited. <br>\*Possible for system fields:\* id, name, names, type, objectType, groupId, directoryId, directoryFields, enumValues')
15
+ });
16
+ export const GetCustomfieldProjectResponse = zod.object({
17
+ "result": zod.string().optional(),
18
+ "customfields": zod.array(zod.object({
19
+ "id": zod.number().optional(),
20
+ "name": zod.string().optional(),
21
+ "names": zod.record(zod.string(), zod.string().describe('Name of any language')).optional(),
22
+ "type": zod.enum(['0 // Line', '1 // Number', '2 // Text', '3 // Date', '4 // Time', '5 // Date and time', '6 // Period of time', '7 // Checkbox', '8 // List', '9 // Directory entry', '10 // Contact', '11 // Employee', '12 // Counterparty', '13 // Group, employee, or contact', '14 // List of users', '15 // Set of directory values', '16 // Task', '17 // Task set', '20 // Set of values', '21 // Files', '22 // Project', '23 // Data tag summaries', '24 // Calculated field', '25 // Location', '26 // Subtask total', '27 // AI results field']).optional(),
23
+ "objectType": zod.enum(['0 // Task', '1 // Contact', '2 // Directory', '3 // Project', '4 // Data tag', '5 // Main', '6 // Employee']).optional(),
24
+ "groupId": zod.number().optional(),
25
+ "directoryId": zod.number().optional(),
26
+ "directoryFields": zod.array(zod.number()).optional(),
27
+ "enumValues": zod.array(zod.string()).optional(),
28
+ "mainValue": zod.string().optional().describe('Only for main fields')
29
+ })).optional()
30
+ });
31
+ /**
32
+ * This method lets you get a list of custom fields for project
33
+ * @summary Get list of custom fields for project
34
+ */
35
+ export const GetCustomfieldsForProjectParams = zod.object({
36
+ "id": zod.number().min(1).describe('Number of project')
37
+ });
38
+ export const GetCustomfieldsForProjectQueryParams = zod.object({
39
+ "fields": zod.string().optional().describe('Fields returned - system field names, comma-delimited. <br>\*Possible for system fields:\* id, name, names, type, objectType, groupId, directoryId, directoryFields, enumValues')
40
+ });
41
+ export const GetCustomfieldsForProjectResponse = zod.object({
42
+ "result": zod.string().optional(),
43
+ "customfields": zod.array(zod.object({
44
+ "id": zod.number().optional(),
45
+ "name": zod.string().optional(),
46
+ "names": zod.record(zod.string(), zod.string().describe('Name of any language')).optional(),
47
+ "type": zod.enum(['0 // Line', '1 // Number', '2 // Text', '3 // Date', '4 // Time', '5 // Date and time', '6 // Period of time', '7 // Checkbox', '8 // List', '9 // Directory entry', '10 // Contact', '11 // Employee', '12 // Counterparty', '13 // Group, employee, or contact', '14 // List of users', '15 // Set of directory values', '16 // Task', '17 // Task set', '20 // Set of values', '21 // Files', '22 // Project', '23 // Data tag summaries', '24 // Calculated field', '25 // Location', '26 // Subtask total', '27 // AI results field']).optional(),
48
+ "objectType": zod.enum(['0 // Task', '1 // Contact', '2 // Directory', '3 // Project', '4 // Data tag', '5 // Main', '6 // Employee']).optional(),
49
+ "groupId": zod.number().optional(),
50
+ "directoryId": zod.number().optional(),
51
+ "directoryFields": zod.array(zod.number()).optional(),
52
+ "enumValues": zod.array(zod.string()).optional(),
53
+ "mainValue": zod.string().optional().describe('Only for main fields')
54
+ })).optional()
55
+ });
56
+ /**
57
+ * This method lets you create a custom field for project
58
+ * @summary Create a custom field for project
59
+ */
60
+ export const PostCustomfieldProjectAddBody = zod.object({
61
+ "id": zod.number().optional(),
62
+ "name": zod.string().optional(),
63
+ "names": zod.record(zod.string(), zod.string().describe('Name of any language')).optional(),
64
+ "type": zod.enum(['0 // Line', '1 // Number', '2 // Text', '3 // Date', '4 // Time', '5 // Date and time', '6 // Period of time', '7 // Checkbox', '8 // List', '9 // Directory entry', '10 // Contact', '11 // Employee', '12 // Counterparty', '13 // Group, employee, or contact', '14 // List of users', '15 // Set of directory values', '16 // Task', '17 // Task set', '20 // Set of values', '21 // Files', '22 // Project', '23 // Data tag summaries', '24 // Calculated field', '25 // Location', '26 // Subtask total', '27 // AI results field']).optional(),
65
+ "objectType": zod.enum(['0 // Task', '1 // Contact', '2 // Directory', '3 // Project', '4 // Data tag', '5 // Main', '6 // Employee']).optional(),
66
+ "groupId": zod.number().optional(),
67
+ "directoryId": zod.number().optional(),
68
+ "directoryFields": zod.array(zod.number()).optional(),
69
+ "enumValues": zod.array(zod.string()).optional(),
70
+ "mainValue": zod.string().optional().describe('Only for main fields')
71
+ });
72
+ /**
73
+ * This method lets you get a list of custom project fields sets
74
+ * @summary Get a list of a custom project fields set
75
+ */
76
+ export const GetCustomfieldSetsProjectResponse = zod.object({
77
+ "result": zod.string().optional(),
78
+ "customFieldSets": zod.array(zod.object({
79
+ "id": zod.number().optional(),
80
+ "name": zod.string().optional()
81
+ })).optional()
82
+ });
83
+ /**
84
+ * This method lets you create a custom fields set for project
85
+ * @summary Create a custom fields set for project
86
+ */
87
+ export const PostCustomfieldSetProjectAddBody = zod.object({
88
+ "id": zod.number().optional(),
89
+ "name": zod.string().optional()
90
+ });
91
+ //# sourceMappingURL=custom-fields-project.js.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IACrD,YAAY,EAAE,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC;CACtE,CAAC,CAAA;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,GAAG,CAAC,MAAM,CAAC;IAC1D,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,iBAAiB,EAAE,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC;QACxC,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAChC,CAAC,CAAC,CAAC,QAAQ,EAAE;CACb,CAAC,CAAA;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,GAAG,CAAC,MAAM,CAAC;IACzD,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAChC,CAAC,CAAA"}
@@ -0,0 +1,196 @@
1
+ /**
2
+ * Generated by orval v8.3.0 🍺
3
+ * Do not edit manually.
4
+ * Planfix REST API
5
+ * Documentation for Planfix REST API. <br> Generated <a href="https://root/restapidocs/swagger.json">swagger.json</a>
6
+ * OpenAPI spec version: 1.5.3
7
+ */
8
+ import * as zod from 'zod';
9
+ /**
10
+ * This method lets you get a list of custom task fields
11
+ * @summary Get list of custom task fields
12
+ */
13
+ export declare const GetCustomfieldTaskQueryParams: zod.ZodObject<{
14
+ fields: zod.ZodOptional<zod.ZodString>;
15
+ }, zod.z.core.$strip>;
16
+ export declare const GetCustomfieldTaskResponse: zod.ZodObject<{
17
+ result: zod.ZodOptional<zod.ZodString>;
18
+ customfields: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
19
+ id: zod.ZodOptional<zod.ZodNumber>;
20
+ name: zod.ZodOptional<zod.ZodString>;
21
+ names: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
22
+ type: zod.ZodOptional<zod.ZodEnum<{
23
+ "0 // Line": "0 // Line";
24
+ "1 // Number": "1 // Number";
25
+ "2 // Text": "2 // Text";
26
+ "3 // Date": "3 // Date";
27
+ "4 // Time": "4 // Time";
28
+ "5 // Date and time": "5 // Date and time";
29
+ "6 // Period of time": "6 // Period of time";
30
+ "7 // Checkbox": "7 // Checkbox";
31
+ "8 // List": "8 // List";
32
+ "9 // Directory entry": "9 // Directory entry";
33
+ "10 // Contact": "10 // Contact";
34
+ "11 // Employee": "11 // Employee";
35
+ "12 // Counterparty": "12 // Counterparty";
36
+ "13 // Group, employee, or contact": "13 // Group, employee, or contact";
37
+ "14 // List of users": "14 // List of users";
38
+ "15 // Set of directory values": "15 // Set of directory values";
39
+ "16 // Task": "16 // Task";
40
+ "17 // Task set": "17 // Task set";
41
+ "20 // Set of values": "20 // Set of values";
42
+ "21 // Files": "21 // Files";
43
+ "22 // Project": "22 // Project";
44
+ "23 // Data tag summaries": "23 // Data tag summaries";
45
+ "24 // Calculated field": "24 // Calculated field";
46
+ "25 // Location": "25 // Location";
47
+ "26 // Subtask total": "26 // Subtask total";
48
+ "27 // AI results field": "27 // AI results field";
49
+ }>>;
50
+ objectType: zod.ZodOptional<zod.ZodEnum<{
51
+ "0 // Task": "0 // Task";
52
+ "1 // Contact": "1 // Contact";
53
+ "2 // Directory": "2 // Directory";
54
+ "3 // Project": "3 // Project";
55
+ "4 // Data tag": "4 // Data tag";
56
+ "5 // Main": "5 // Main";
57
+ "6 // Employee": "6 // Employee";
58
+ }>>;
59
+ groupId: zod.ZodOptional<zod.ZodNumber>;
60
+ directoryId: zod.ZodOptional<zod.ZodNumber>;
61
+ directoryFields: zod.ZodOptional<zod.ZodArray<zod.ZodNumber>>;
62
+ enumValues: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
63
+ mainValue: zod.ZodOptional<zod.ZodString>;
64
+ }, zod.z.core.$strip>>>;
65
+ }, zod.z.core.$strip>;
66
+ /**
67
+ * This method lets you get a list of custom fields for task
68
+ * @summary Get list of custom fields for task
69
+ */
70
+ export declare const GetCustomfieldsForTaskParams: zod.ZodObject<{
71
+ id: zod.ZodNumber;
72
+ }, zod.z.core.$strip>;
73
+ export declare const GetCustomfieldsForTaskQueryParams: zod.ZodObject<{
74
+ fields: zod.ZodOptional<zod.ZodString>;
75
+ }, zod.z.core.$strip>;
76
+ export declare const GetCustomfieldsForTaskResponse: zod.ZodObject<{
77
+ result: zod.ZodOptional<zod.ZodString>;
78
+ customfields: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
79
+ id: zod.ZodOptional<zod.ZodNumber>;
80
+ name: zod.ZodOptional<zod.ZodString>;
81
+ names: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
82
+ type: zod.ZodOptional<zod.ZodEnum<{
83
+ "0 // Line": "0 // Line";
84
+ "1 // Number": "1 // Number";
85
+ "2 // Text": "2 // Text";
86
+ "3 // Date": "3 // Date";
87
+ "4 // Time": "4 // Time";
88
+ "5 // Date and time": "5 // Date and time";
89
+ "6 // Period of time": "6 // Period of time";
90
+ "7 // Checkbox": "7 // Checkbox";
91
+ "8 // List": "8 // List";
92
+ "9 // Directory entry": "9 // Directory entry";
93
+ "10 // Contact": "10 // Contact";
94
+ "11 // Employee": "11 // Employee";
95
+ "12 // Counterparty": "12 // Counterparty";
96
+ "13 // Group, employee, or contact": "13 // Group, employee, or contact";
97
+ "14 // List of users": "14 // List of users";
98
+ "15 // Set of directory values": "15 // Set of directory values";
99
+ "16 // Task": "16 // Task";
100
+ "17 // Task set": "17 // Task set";
101
+ "20 // Set of values": "20 // Set of values";
102
+ "21 // Files": "21 // Files";
103
+ "22 // Project": "22 // Project";
104
+ "23 // Data tag summaries": "23 // Data tag summaries";
105
+ "24 // Calculated field": "24 // Calculated field";
106
+ "25 // Location": "25 // Location";
107
+ "26 // Subtask total": "26 // Subtask total";
108
+ "27 // AI results field": "27 // AI results field";
109
+ }>>;
110
+ objectType: zod.ZodOptional<zod.ZodEnum<{
111
+ "0 // Task": "0 // Task";
112
+ "1 // Contact": "1 // Contact";
113
+ "2 // Directory": "2 // Directory";
114
+ "3 // Project": "3 // Project";
115
+ "4 // Data tag": "4 // Data tag";
116
+ "5 // Main": "5 // Main";
117
+ "6 // Employee": "6 // Employee";
118
+ }>>;
119
+ groupId: zod.ZodOptional<zod.ZodNumber>;
120
+ directoryId: zod.ZodOptional<zod.ZodNumber>;
121
+ directoryFields: zod.ZodOptional<zod.ZodArray<zod.ZodNumber>>;
122
+ enumValues: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
123
+ mainValue: zod.ZodOptional<zod.ZodString>;
124
+ }, zod.z.core.$strip>>>;
125
+ }, zod.z.core.$strip>;
126
+ /**
127
+ * This method lets you create a custom field for task
128
+ * @summary Create a custom field for task
129
+ */
130
+ export declare const PostCustomfieldTaskAddBody: zod.ZodObject<{
131
+ id: zod.ZodOptional<zod.ZodNumber>;
132
+ name: zod.ZodOptional<zod.ZodString>;
133
+ names: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
134
+ type: zod.ZodOptional<zod.ZodEnum<{
135
+ "0 // Line": "0 // Line";
136
+ "1 // Number": "1 // Number";
137
+ "2 // Text": "2 // Text";
138
+ "3 // Date": "3 // Date";
139
+ "4 // Time": "4 // Time";
140
+ "5 // Date and time": "5 // Date and time";
141
+ "6 // Period of time": "6 // Period of time";
142
+ "7 // Checkbox": "7 // Checkbox";
143
+ "8 // List": "8 // List";
144
+ "9 // Directory entry": "9 // Directory entry";
145
+ "10 // Contact": "10 // Contact";
146
+ "11 // Employee": "11 // Employee";
147
+ "12 // Counterparty": "12 // Counterparty";
148
+ "13 // Group, employee, or contact": "13 // Group, employee, or contact";
149
+ "14 // List of users": "14 // List of users";
150
+ "15 // Set of directory values": "15 // Set of directory values";
151
+ "16 // Task": "16 // Task";
152
+ "17 // Task set": "17 // Task set";
153
+ "20 // Set of values": "20 // Set of values";
154
+ "21 // Files": "21 // Files";
155
+ "22 // Project": "22 // Project";
156
+ "23 // Data tag summaries": "23 // Data tag summaries";
157
+ "24 // Calculated field": "24 // Calculated field";
158
+ "25 // Location": "25 // Location";
159
+ "26 // Subtask total": "26 // Subtask total";
160
+ "27 // AI results field": "27 // AI results field";
161
+ }>>;
162
+ objectType: zod.ZodOptional<zod.ZodEnum<{
163
+ "0 // Task": "0 // Task";
164
+ "1 // Contact": "1 // Contact";
165
+ "2 // Directory": "2 // Directory";
166
+ "3 // Project": "3 // Project";
167
+ "4 // Data tag": "4 // Data tag";
168
+ "5 // Main": "5 // Main";
169
+ "6 // Employee": "6 // Employee";
170
+ }>>;
171
+ groupId: zod.ZodOptional<zod.ZodNumber>;
172
+ directoryId: zod.ZodOptional<zod.ZodNumber>;
173
+ directoryFields: zod.ZodOptional<zod.ZodArray<zod.ZodNumber>>;
174
+ enumValues: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
175
+ mainValue: zod.ZodOptional<zod.ZodString>;
176
+ }, zod.z.core.$strip>;
177
+ /**
178
+ * This method lets you get a list of custom task fields sets
179
+ * @summary Get a list of a custom task fields set
180
+ */
181
+ export declare const GetCustomfieldSetsTaskResponse: zod.ZodObject<{
182
+ result: zod.ZodOptional<zod.ZodString>;
183
+ customFieldSets: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
184
+ id: zod.ZodOptional<zod.ZodNumber>;
185
+ name: zod.ZodOptional<zod.ZodString>;
186
+ }, zod.z.core.$strip>>>;
187
+ }, zod.z.core.$strip>;
188
+ /**
189
+ * This method lets you create a custom fields set for task
190
+ * @summary Create a custom fields set for task
191
+ */
192
+ export declare const PostCustomfieldSetTaskAddBody: zod.ZodObject<{
193
+ id: zod.ZodOptional<zod.ZodNumber>;
194
+ name: zod.ZodOptional<zod.ZodString>;
195
+ }, zod.z.core.$strip>;
196
+ //# sourceMappingURL=custom-fields-task.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-fields-task.d.ts","sourceRoot":"","sources":["../../../src/generated/custom-fields-task/custom-fields-task.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAG3B;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;qBAExC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAcrC,CAAA;AAEF;;;GAGG;AAIH,eAAO,MAAM,4BAA4B;;qBAEvC,CAAA;AAEF,eAAO,MAAM,iCAAiC;;qBAE5C,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAczC,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAWrC,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,8BAA8B;;;;;;qBAMzC,CAAA;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;qBAGxC,CAAA"}
@@ -0,0 +1,91 @@
1
+ /**
2
+ * Generated by orval v8.3.0 🍺
3
+ * Do not edit manually.
4
+ * Planfix REST API
5
+ * Documentation for Planfix REST API. <br> Generated <a href="https://root/restapidocs/swagger.json">swagger.json</a>
6
+ * OpenAPI spec version: 1.5.3
7
+ */
8
+ import * as zod from 'zod';
9
+ /**
10
+ * This method lets you get a list of custom task fields
11
+ * @summary Get list of custom task fields
12
+ */
13
+ export const GetCustomfieldTaskQueryParams = zod.object({
14
+ "fields": zod.string().optional().describe('Fields returned - system field names, comma-delimited. <br>\*Possible for system fields:\* id, name, names, type, objectType, groupId, directoryId, directoryFields, enumValues')
15
+ });
16
+ export const GetCustomfieldTaskResponse = zod.object({
17
+ "result": zod.string().optional(),
18
+ "customfields": zod.array(zod.object({
19
+ "id": zod.number().optional(),
20
+ "name": zod.string().optional(),
21
+ "names": zod.record(zod.string(), zod.string().describe('Name of any language')).optional(),
22
+ "type": zod.enum(['0 // Line', '1 // Number', '2 // Text', '3 // Date', '4 // Time', '5 // Date and time', '6 // Period of time', '7 // Checkbox', '8 // List', '9 // Directory entry', '10 // Contact', '11 // Employee', '12 // Counterparty', '13 // Group, employee, or contact', '14 // List of users', '15 // Set of directory values', '16 // Task', '17 // Task set', '20 // Set of values', '21 // Files', '22 // Project', '23 // Data tag summaries', '24 // Calculated field', '25 // Location', '26 // Subtask total', '27 // AI results field']).optional(),
23
+ "objectType": zod.enum(['0 // Task', '1 // Contact', '2 // Directory', '3 // Project', '4 // Data tag', '5 // Main', '6 // Employee']).optional(),
24
+ "groupId": zod.number().optional(),
25
+ "directoryId": zod.number().optional(),
26
+ "directoryFields": zod.array(zod.number()).optional(),
27
+ "enumValues": zod.array(zod.string()).optional(),
28
+ "mainValue": zod.string().optional().describe('Only for main fields')
29
+ })).optional()
30
+ });
31
+ /**
32
+ * This method lets you get a list of custom fields for task
33
+ * @summary Get list of custom fields for task
34
+ */
35
+ export const GetCustomfieldsForTaskParams = zod.object({
36
+ "id": zod.number().min(1).describe('Number of task')
37
+ });
38
+ export const GetCustomfieldsForTaskQueryParams = zod.object({
39
+ "fields": zod.string().optional().describe('Fields returned - system field names, comma-delimited. <br>\*Possible for system fields:\* id, name, names, type, objectType, groupId, directoryId, directoryFields, enumValues')
40
+ });
41
+ export const GetCustomfieldsForTaskResponse = zod.object({
42
+ "result": zod.string().optional(),
43
+ "customfields": zod.array(zod.object({
44
+ "id": zod.number().optional(),
45
+ "name": zod.string().optional(),
46
+ "names": zod.record(zod.string(), zod.string().describe('Name of any language')).optional(),
47
+ "type": zod.enum(['0 // Line', '1 // Number', '2 // Text', '3 // Date', '4 // Time', '5 // Date and time', '6 // Period of time', '7 // Checkbox', '8 // List', '9 // Directory entry', '10 // Contact', '11 // Employee', '12 // Counterparty', '13 // Group, employee, or contact', '14 // List of users', '15 // Set of directory values', '16 // Task', '17 // Task set', '20 // Set of values', '21 // Files', '22 // Project', '23 // Data tag summaries', '24 // Calculated field', '25 // Location', '26 // Subtask total', '27 // AI results field']).optional(),
48
+ "objectType": zod.enum(['0 // Task', '1 // Contact', '2 // Directory', '3 // Project', '4 // Data tag', '5 // Main', '6 // Employee']).optional(),
49
+ "groupId": zod.number().optional(),
50
+ "directoryId": zod.number().optional(),
51
+ "directoryFields": zod.array(zod.number()).optional(),
52
+ "enumValues": zod.array(zod.string()).optional(),
53
+ "mainValue": zod.string().optional().describe('Only for main fields')
54
+ })).optional()
55
+ });
56
+ /**
57
+ * This method lets you create a custom field for task
58
+ * @summary Create a custom field for task
59
+ */
60
+ export const PostCustomfieldTaskAddBody = zod.object({
61
+ "id": zod.number().optional(),
62
+ "name": zod.string().optional(),
63
+ "names": zod.record(zod.string(), zod.string().describe('Name of any language')).optional(),
64
+ "type": zod.enum(['0 // Line', '1 // Number', '2 // Text', '3 // Date', '4 // Time', '5 // Date and time', '6 // Period of time', '7 // Checkbox', '8 // List', '9 // Directory entry', '10 // Contact', '11 // Employee', '12 // Counterparty', '13 // Group, employee, or contact', '14 // List of users', '15 // Set of directory values', '16 // Task', '17 // Task set', '20 // Set of values', '21 // Files', '22 // Project', '23 // Data tag summaries', '24 // Calculated field', '25 // Location', '26 // Subtask total', '27 // AI results field']).optional(),
65
+ "objectType": zod.enum(['0 // Task', '1 // Contact', '2 // Directory', '3 // Project', '4 // Data tag', '5 // Main', '6 // Employee']).optional(),
66
+ "groupId": zod.number().optional(),
67
+ "directoryId": zod.number().optional(),
68
+ "directoryFields": zod.array(zod.number()).optional(),
69
+ "enumValues": zod.array(zod.string()).optional(),
70
+ "mainValue": zod.string().optional().describe('Only for main fields')
71
+ });
72
+ /**
73
+ * This method lets you get a list of custom task fields sets
74
+ * @summary Get a list of a custom task fields set
75
+ */
76
+ export const GetCustomfieldSetsTaskResponse = zod.object({
77
+ "result": zod.string().optional(),
78
+ "customFieldSets": zod.array(zod.object({
79
+ "id": zod.number().optional(),
80
+ "name": zod.string().optional()
81
+ })).optional()
82
+ });
83
+ /**
84
+ * This method lets you create a custom fields set for task
85
+ * @summary Create a custom fields set for task
86
+ */
87
+ export const PostCustomfieldSetTaskAddBody = zod.object({
88
+ "id": zod.number().optional(),
89
+ "name": zod.string().optional()
90
+ });
91
+ //# sourceMappingURL=custom-fields-task.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-fields-task.js","sourceRoot":"","sources":["../../../src/generated/custom-fields-task/custom-fields-task.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAG3B;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,GAAG,CAAC,MAAM,CAAC;IACtD,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iLAAiL,CAAC;CAC9N,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,CAAC,MAAM,CAAC;IACnD,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,cAAc,EAAE,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC;QACrC,IAAI,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC/B,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,QAAQ,EAAE;QAC3F,MAAM,EAAE,GAAG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