@solidtime/api 0.0.2 → 0.0.4
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.
- package/dist/index.d.ts +402 -7
- package/dist/openapi.json.client.d.ts +820 -49
- package/dist/solidtime-api.js +919 -753
- package/dist/solidtime-api.umd.cjs +9 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ApiOf, ZodiosResponseByAlias, ZodiosBodyByAlias, ZodiosQueryParamsByAlias } from '@zodios/core';
|
|
2
|
+
import { createApiClient } from './openapi.json.client';
|
|
2
3
|
export type SolidTimeApi = ApiOf<typeof api>;
|
|
3
4
|
export type InvitationsIndexResponse = ZodiosResponseByAlias<SolidTimeApi, 'getInvitations'>;
|
|
4
5
|
export type CreateInvitationBody = ZodiosBodyByAlias<SolidTimeApi, 'invite'>;
|
|
@@ -6,6 +7,8 @@ export type Invitation = InvitationsIndexResponse['data'][0];
|
|
|
6
7
|
export type TimeEntryResponse = ZodiosResponseByAlias<SolidTimeApi, 'getTimeEntries'>;
|
|
7
8
|
export type TimeEntry = TimeEntryResponse['data'][0];
|
|
8
9
|
export type CreateTimeEntryBody = ZodiosBodyByAlias<SolidTimeApi, 'createTimeEntry'>;
|
|
10
|
+
export type UpdateMultipleTimeEntriesBody = ZodiosBodyByAlias<SolidTimeApi, 'updateMultipleTimeEntries'>;
|
|
11
|
+
export type UpdateMultipleTimeEntriesChangeset = UpdateMultipleTimeEntriesBody['changes'];
|
|
9
12
|
export type ProjectResponse = ZodiosResponseByAlias<SolidTimeApi, 'getProjects'>;
|
|
10
13
|
export type Project = ProjectResponse['data'][0];
|
|
11
14
|
export type CreateProjectBody = ZodiosBodyByAlias<SolidTimeApi, 'createProject'>;
|
|
@@ -35,13 +38,15 @@ export type ImportReport = ZodiosResponseByAlias<SolidTimeApi, 'importData'>;
|
|
|
35
38
|
export type ReportingResponse = ZodiosResponseByAlias<SolidTimeApi, 'getAggregatedTimeEntries'>;
|
|
36
39
|
export type AggregatedTimeEntries = ReportingResponse['data'];
|
|
37
40
|
export type GroupedDataEntries = ReportingResponse['data']['grouped_data'];
|
|
41
|
+
export type TimeEntriesQueryParams = ZodiosQueryParamsByAlias<SolidTimeApi, 'getTimeEntries'>;
|
|
38
42
|
export type AggregatedTimeEntriesQueryParams = ZodiosQueryParamsByAlias<SolidTimeApi, 'getAggregatedTimeEntries'>;
|
|
39
43
|
export type OrganizationResponse = ZodiosResponseByAlias<SolidTimeApi, 'getOrganization'>;
|
|
40
44
|
export type Organization = ZodiosResponseByAlias<SolidTimeApi, 'getOrganization'>['data'];
|
|
41
45
|
export type UpdateOrganizationBody = ZodiosBodyByAlias<SolidTimeApi, 'updateOrganization'>;
|
|
42
46
|
export type MyMemberships = ZodiosResponseByAlias<SolidTimeApi, 'getMyMemberships'>['data'];
|
|
43
47
|
export type MyMembership = MyMemberships[0];
|
|
44
|
-
export
|
|
48
|
+
export type OrganizationExportResponse = ZodiosResponseByAlias<SolidTimeApi, 'exportOrganization'>;
|
|
49
|
+
declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
45
50
|
method: "get";
|
|
46
51
|
path: "/v1/organizations/:organization";
|
|
47
52
|
alias: "getOrganization";
|
|
@@ -57,16 +62,19 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
57
62
|
name: import('zod').ZodString;
|
|
58
63
|
is_personal: import('zod').ZodBoolean;
|
|
59
64
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
65
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
60
66
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
61
67
|
id: import('zod').ZodString;
|
|
62
68
|
name: import('zod').ZodString;
|
|
63
69
|
is_personal: import('zod').ZodBoolean;
|
|
64
70
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
71
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
65
72
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
66
73
|
id: import('zod').ZodString;
|
|
67
74
|
name: import('zod').ZodString;
|
|
68
75
|
is_personal: import('zod').ZodBoolean;
|
|
69
76
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
77
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
70
78
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
71
79
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
72
80
|
data: import('zod').ZodObject<{
|
|
@@ -74,16 +82,19 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
74
82
|
name: import('zod').ZodString;
|
|
75
83
|
is_personal: import('zod').ZodBoolean;
|
|
76
84
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
85
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
77
86
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
78
87
|
id: import('zod').ZodString;
|
|
79
88
|
name: import('zod').ZodString;
|
|
80
89
|
is_personal: import('zod').ZodBoolean;
|
|
81
90
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
91
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
82
92
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
83
93
|
id: import('zod').ZodString;
|
|
84
94
|
name: import('zod').ZodString;
|
|
85
95
|
is_personal: import('zod').ZodBoolean;
|
|
86
96
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
97
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
87
98
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
88
99
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
89
100
|
data: import('zod').ZodObject<{
|
|
@@ -91,16 +102,19 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
91
102
|
name: import('zod').ZodString;
|
|
92
103
|
is_personal: import('zod').ZodBoolean;
|
|
93
104
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
105
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
94
106
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
95
107
|
id: import('zod').ZodString;
|
|
96
108
|
name: import('zod').ZodString;
|
|
97
109
|
is_personal: import('zod').ZodBoolean;
|
|
98
110
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
111
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
99
112
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
100
113
|
id: import('zod').ZodString;
|
|
101
114
|
name: import('zod').ZodString;
|
|
102
115
|
is_personal: import('zod').ZodBoolean;
|
|
103
116
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
117
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
104
118
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
105
119
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
106
120
|
errors: [{
|
|
@@ -145,12 +159,15 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
145
159
|
schema: import('zod').ZodObject<{
|
|
146
160
|
name: import('zod').ZodString;
|
|
147
161
|
billable_rate: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
162
|
+
employees_can_see_billable_rates: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
148
163
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
149
164
|
name: import('zod').ZodString;
|
|
150
165
|
billable_rate: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
166
|
+
employees_can_see_billable_rates: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
151
167
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
152
168
|
name: import('zod').ZodString;
|
|
153
169
|
billable_rate: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
170
|
+
employees_can_see_billable_rates: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
154
171
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
155
172
|
}, {
|
|
156
173
|
name: "organization";
|
|
@@ -163,16 +180,19 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
163
180
|
name: import('zod').ZodString;
|
|
164
181
|
is_personal: import('zod').ZodBoolean;
|
|
165
182
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
183
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
166
184
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
167
185
|
id: import('zod').ZodString;
|
|
168
186
|
name: import('zod').ZodString;
|
|
169
187
|
is_personal: import('zod').ZodBoolean;
|
|
170
188
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
189
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
171
190
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
172
191
|
id: import('zod').ZodString;
|
|
173
192
|
name: import('zod').ZodString;
|
|
174
193
|
is_personal: import('zod').ZodBoolean;
|
|
175
194
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
195
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
176
196
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
177
197
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
178
198
|
data: import('zod').ZodObject<{
|
|
@@ -180,16 +200,19 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
180
200
|
name: import('zod').ZodString;
|
|
181
201
|
is_personal: import('zod').ZodBoolean;
|
|
182
202
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
203
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
183
204
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
184
205
|
id: import('zod').ZodString;
|
|
185
206
|
name: import('zod').ZodString;
|
|
186
207
|
is_personal: import('zod').ZodBoolean;
|
|
187
208
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
209
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
188
210
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
189
211
|
id: import('zod').ZodString;
|
|
190
212
|
name: import('zod').ZodString;
|
|
191
213
|
is_personal: import('zod').ZodBoolean;
|
|
192
214
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
215
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
193
216
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
194
217
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
195
218
|
data: import('zod').ZodObject<{
|
|
@@ -197,16 +220,19 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
197
220
|
name: import('zod').ZodString;
|
|
198
221
|
is_personal: import('zod').ZodBoolean;
|
|
199
222
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
223
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
200
224
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
201
225
|
id: import('zod').ZodString;
|
|
202
226
|
name: import('zod').ZodString;
|
|
203
227
|
is_personal: import('zod').ZodBoolean;
|
|
204
228
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
229
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
205
230
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
206
231
|
id: import('zod').ZodString;
|
|
207
232
|
name: import('zod').ZodString;
|
|
208
233
|
is_personal: import('zod').ZodBoolean;
|
|
209
234
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
235
|
+
employees_can_see_billable_rates: import('zod').ZodBoolean;
|
|
210
236
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
211
237
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
212
238
|
errors: [{
|
|
@@ -695,6 +721,77 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
695
721
|
message: import('zod').ZodString;
|
|
696
722
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
697
723
|
}];
|
|
724
|
+
}, {
|
|
725
|
+
method: "post";
|
|
726
|
+
path: "/v1/organizations/:organization/export";
|
|
727
|
+
alias: "exportOrganization";
|
|
728
|
+
requestFormat: "json";
|
|
729
|
+
parameters: [{
|
|
730
|
+
name: "body";
|
|
731
|
+
type: "Body";
|
|
732
|
+
schema: import('zod').ZodObject<{}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{}, import('zod').ZodTypeAny, "passthrough">>;
|
|
733
|
+
}, {
|
|
734
|
+
name: "organization";
|
|
735
|
+
type: "Path";
|
|
736
|
+
schema: import('zod').ZodString;
|
|
737
|
+
}];
|
|
738
|
+
response: import('zod').ZodObject<{
|
|
739
|
+
success: import('zod').ZodBoolean;
|
|
740
|
+
download_url: import('zod').ZodString;
|
|
741
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
742
|
+
success: import('zod').ZodBoolean;
|
|
743
|
+
download_url: import('zod').ZodString;
|
|
744
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
745
|
+
success: import('zod').ZodBoolean;
|
|
746
|
+
download_url: import('zod').ZodString;
|
|
747
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
748
|
+
errors: [{
|
|
749
|
+
status: 400;
|
|
750
|
+
description: string;
|
|
751
|
+
schema: import('zod').ZodObject<{
|
|
752
|
+
error: import('zod').ZodBoolean;
|
|
753
|
+
key: import('zod').ZodString;
|
|
754
|
+
message: import('zod').ZodString;
|
|
755
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
756
|
+
error: import('zod').ZodBoolean;
|
|
757
|
+
key: import('zod').ZodString;
|
|
758
|
+
message: import('zod').ZodString;
|
|
759
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
760
|
+
error: import('zod').ZodBoolean;
|
|
761
|
+
key: import('zod').ZodString;
|
|
762
|
+
message: import('zod').ZodString;
|
|
763
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
764
|
+
}, {
|
|
765
|
+
status: 401;
|
|
766
|
+
description: string;
|
|
767
|
+
schema: import('zod').ZodObject<{
|
|
768
|
+
message: import('zod').ZodString;
|
|
769
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
770
|
+
message: import('zod').ZodString;
|
|
771
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
772
|
+
message: import('zod').ZodString;
|
|
773
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
774
|
+
}, {
|
|
775
|
+
status: 403;
|
|
776
|
+
description: string;
|
|
777
|
+
schema: import('zod').ZodObject<{
|
|
778
|
+
message: import('zod').ZodString;
|
|
779
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
780
|
+
message: import('zod').ZodString;
|
|
781
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
782
|
+
message: import('zod').ZodString;
|
|
783
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
784
|
+
}, {
|
|
785
|
+
status: 404;
|
|
786
|
+
description: string;
|
|
787
|
+
schema: import('zod').ZodObject<{
|
|
788
|
+
message: import('zod').ZodString;
|
|
789
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
790
|
+
message: import('zod').ZodString;
|
|
791
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
792
|
+
message: import('zod').ZodString;
|
|
793
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
794
|
+
}];
|
|
698
795
|
}, {
|
|
699
796
|
method: "post";
|
|
700
797
|
path: "/v1/organizations/:organization/import";
|
|
@@ -2439,6 +2536,72 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
2439
2536
|
message: import('zod').ZodString;
|
|
2440
2537
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
2441
2538
|
}];
|
|
2539
|
+
}, {
|
|
2540
|
+
method: "post";
|
|
2541
|
+
path: "/v1/organizations/:organization/members/:member/make-placeholder";
|
|
2542
|
+
alias: "v1.members.make-placeholder";
|
|
2543
|
+
requestFormat: "json";
|
|
2544
|
+
parameters: [{
|
|
2545
|
+
name: "body";
|
|
2546
|
+
type: "Body";
|
|
2547
|
+
schema: import('zod').ZodObject<{}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{}, import('zod').ZodTypeAny, "passthrough">>;
|
|
2548
|
+
}, {
|
|
2549
|
+
name: "organization";
|
|
2550
|
+
type: "Path";
|
|
2551
|
+
schema: import('zod').ZodString;
|
|
2552
|
+
}, {
|
|
2553
|
+
name: "member";
|
|
2554
|
+
type: "Path";
|
|
2555
|
+
schema: import('zod').ZodString;
|
|
2556
|
+
}];
|
|
2557
|
+
response: import('zod').ZodNull;
|
|
2558
|
+
errors: [{
|
|
2559
|
+
status: 400;
|
|
2560
|
+
description: string;
|
|
2561
|
+
schema: import('zod').ZodObject<{
|
|
2562
|
+
error: import('zod').ZodBoolean;
|
|
2563
|
+
key: import('zod').ZodString;
|
|
2564
|
+
message: import('zod').ZodString;
|
|
2565
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
2566
|
+
error: import('zod').ZodBoolean;
|
|
2567
|
+
key: import('zod').ZodString;
|
|
2568
|
+
message: import('zod').ZodString;
|
|
2569
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
2570
|
+
error: import('zod').ZodBoolean;
|
|
2571
|
+
key: import('zod').ZodString;
|
|
2572
|
+
message: import('zod').ZodString;
|
|
2573
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
2574
|
+
}, {
|
|
2575
|
+
status: 401;
|
|
2576
|
+
description: string;
|
|
2577
|
+
schema: import('zod').ZodObject<{
|
|
2578
|
+
message: import('zod').ZodString;
|
|
2579
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
2580
|
+
message: import('zod').ZodString;
|
|
2581
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
2582
|
+
message: import('zod').ZodString;
|
|
2583
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
2584
|
+
}, {
|
|
2585
|
+
status: 403;
|
|
2586
|
+
description: string;
|
|
2587
|
+
schema: import('zod').ZodObject<{
|
|
2588
|
+
message: import('zod').ZodString;
|
|
2589
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
2590
|
+
message: import('zod').ZodString;
|
|
2591
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
2592
|
+
message: import('zod').ZodString;
|
|
2593
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
2594
|
+
}, {
|
|
2595
|
+
status: 404;
|
|
2596
|
+
description: string;
|
|
2597
|
+
schema: import('zod').ZodObject<{
|
|
2598
|
+
message: import('zod').ZodString;
|
|
2599
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
2600
|
+
message: import('zod').ZodString;
|
|
2601
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
2602
|
+
message: import('zod').ZodString;
|
|
2603
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
2604
|
+
}];
|
|
2442
2605
|
}, {
|
|
2443
2606
|
method: "put";
|
|
2444
2607
|
path: "/v1/organizations/:organization/project-members/:projectMember";
|
|
@@ -2632,6 +2795,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
2632
2795
|
is_archived: import('zod').ZodBoolean;
|
|
2633
2796
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2634
2797
|
is_billable: import('zod').ZodBoolean;
|
|
2798
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2799
|
+
spent_time: import('zod').ZodNumber;
|
|
2635
2800
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
2636
2801
|
id: import('zod').ZodString;
|
|
2637
2802
|
name: import('zod').ZodString;
|
|
@@ -2640,6 +2805,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
2640
2805
|
is_archived: import('zod').ZodBoolean;
|
|
2641
2806
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2642
2807
|
is_billable: import('zod').ZodBoolean;
|
|
2808
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2809
|
+
spent_time: import('zod').ZodNumber;
|
|
2643
2810
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
2644
2811
|
id: import('zod').ZodString;
|
|
2645
2812
|
name: import('zod').ZodString;
|
|
@@ -2648,6 +2815,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
2648
2815
|
is_archived: import('zod').ZodBoolean;
|
|
2649
2816
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2650
2817
|
is_billable: import('zod').ZodBoolean;
|
|
2818
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2819
|
+
spent_time: import('zod').ZodNumber;
|
|
2651
2820
|
}, import('zod').ZodTypeAny, "passthrough">>, "many">;
|
|
2652
2821
|
links: import('zod').ZodObject<{
|
|
2653
2822
|
first: import('zod').ZodUnion<[import('zod').ZodString, import('zod').ZodNull]>;
|
|
@@ -2738,6 +2907,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
2738
2907
|
is_archived: import('zod').ZodBoolean;
|
|
2739
2908
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2740
2909
|
is_billable: import('zod').ZodBoolean;
|
|
2910
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2911
|
+
spent_time: import('zod').ZodNumber;
|
|
2741
2912
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
2742
2913
|
id: import('zod').ZodString;
|
|
2743
2914
|
name: import('zod').ZodString;
|
|
@@ -2746,6 +2917,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
2746
2917
|
is_archived: import('zod').ZodBoolean;
|
|
2747
2918
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2748
2919
|
is_billable: import('zod').ZodBoolean;
|
|
2920
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2921
|
+
spent_time: import('zod').ZodNumber;
|
|
2749
2922
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
2750
2923
|
id: import('zod').ZodString;
|
|
2751
2924
|
name: import('zod').ZodString;
|
|
@@ -2754,6 +2927,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
2754
2927
|
is_archived: import('zod').ZodBoolean;
|
|
2755
2928
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2756
2929
|
is_billable: import('zod').ZodBoolean;
|
|
2930
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2931
|
+
spent_time: import('zod').ZodNumber;
|
|
2757
2932
|
}, import('zod').ZodTypeAny, "passthrough">>, "many">;
|
|
2758
2933
|
links: import('zod').ZodObject<{
|
|
2759
2934
|
first: import('zod').ZodUnion<[import('zod').ZodString, import('zod').ZodNull]>;
|
|
@@ -2844,6 +3019,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
2844
3019
|
is_archived: import('zod').ZodBoolean;
|
|
2845
3020
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2846
3021
|
is_billable: import('zod').ZodBoolean;
|
|
3022
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3023
|
+
spent_time: import('zod').ZodNumber;
|
|
2847
3024
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
2848
3025
|
id: import('zod').ZodString;
|
|
2849
3026
|
name: import('zod').ZodString;
|
|
@@ -2852,6 +3029,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
2852
3029
|
is_archived: import('zod').ZodBoolean;
|
|
2853
3030
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2854
3031
|
is_billable: import('zod').ZodBoolean;
|
|
3032
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3033
|
+
spent_time: import('zod').ZodNumber;
|
|
2855
3034
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
2856
3035
|
id: import('zod').ZodString;
|
|
2857
3036
|
name: import('zod').ZodString;
|
|
@@ -2860,6 +3039,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
2860
3039
|
is_archived: import('zod').ZodBoolean;
|
|
2861
3040
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
2862
3041
|
is_billable: import('zod').ZodBoolean;
|
|
3042
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3043
|
+
spent_time: import('zod').ZodNumber;
|
|
2863
3044
|
}, import('zod').ZodTypeAny, "passthrough">>, "many">;
|
|
2864
3045
|
links: import('zod').ZodObject<{
|
|
2865
3046
|
first: import('zod').ZodUnion<[import('zod').ZodString, import('zod').ZodNull]>;
|
|
@@ -3000,18 +3181,21 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3000
3181
|
is_billable: import('zod').ZodBoolean;
|
|
3001
3182
|
billable_rate: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
3002
3183
|
client_id: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodString, import('zod').ZodNull]>>;
|
|
3184
|
+
estimated_time: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
3003
3185
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3004
3186
|
name: import('zod').ZodString;
|
|
3005
3187
|
color: import('zod').ZodString;
|
|
3006
3188
|
is_billable: import('zod').ZodBoolean;
|
|
3007
3189
|
billable_rate: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
3008
3190
|
client_id: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodString, import('zod').ZodNull]>>;
|
|
3191
|
+
estimated_time: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
3009
3192
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3010
3193
|
name: import('zod').ZodString;
|
|
3011
3194
|
color: import('zod').ZodString;
|
|
3012
3195
|
is_billable: import('zod').ZodBoolean;
|
|
3013
3196
|
billable_rate: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
3014
3197
|
client_id: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodString, import('zod').ZodNull]>>;
|
|
3198
|
+
estimated_time: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
3015
3199
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3016
3200
|
}, {
|
|
3017
3201
|
name: "organization";
|
|
@@ -3027,6 +3211,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3027
3211
|
is_archived: import('zod').ZodBoolean;
|
|
3028
3212
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3029
3213
|
is_billable: import('zod').ZodBoolean;
|
|
3214
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3215
|
+
spent_time: import('zod').ZodNumber;
|
|
3030
3216
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3031
3217
|
id: import('zod').ZodString;
|
|
3032
3218
|
name: import('zod').ZodString;
|
|
@@ -3035,6 +3221,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3035
3221
|
is_archived: import('zod').ZodBoolean;
|
|
3036
3222
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3037
3223
|
is_billable: import('zod').ZodBoolean;
|
|
3224
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3225
|
+
spent_time: import('zod').ZodNumber;
|
|
3038
3226
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3039
3227
|
id: import('zod').ZodString;
|
|
3040
3228
|
name: import('zod').ZodString;
|
|
@@ -3043,6 +3231,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3043
3231
|
is_archived: import('zod').ZodBoolean;
|
|
3044
3232
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3045
3233
|
is_billable: import('zod').ZodBoolean;
|
|
3234
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3235
|
+
spent_time: import('zod').ZodNumber;
|
|
3046
3236
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3047
3237
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3048
3238
|
data: import('zod').ZodObject<{
|
|
@@ -3053,6 +3243,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3053
3243
|
is_archived: import('zod').ZodBoolean;
|
|
3054
3244
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3055
3245
|
is_billable: import('zod').ZodBoolean;
|
|
3246
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3247
|
+
spent_time: import('zod').ZodNumber;
|
|
3056
3248
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3057
3249
|
id: import('zod').ZodString;
|
|
3058
3250
|
name: import('zod').ZodString;
|
|
@@ -3061,6 +3253,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3061
3253
|
is_archived: import('zod').ZodBoolean;
|
|
3062
3254
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3063
3255
|
is_billable: import('zod').ZodBoolean;
|
|
3256
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3257
|
+
spent_time: import('zod').ZodNumber;
|
|
3064
3258
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3065
3259
|
id: import('zod').ZodString;
|
|
3066
3260
|
name: import('zod').ZodString;
|
|
@@ -3069,6 +3263,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3069
3263
|
is_archived: import('zod').ZodBoolean;
|
|
3070
3264
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3071
3265
|
is_billable: import('zod').ZodBoolean;
|
|
3266
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3267
|
+
spent_time: import('zod').ZodNumber;
|
|
3072
3268
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3073
3269
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3074
3270
|
data: import('zod').ZodObject<{
|
|
@@ -3079,6 +3275,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3079
3275
|
is_archived: import('zod').ZodBoolean;
|
|
3080
3276
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3081
3277
|
is_billable: import('zod').ZodBoolean;
|
|
3278
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3279
|
+
spent_time: import('zod').ZodNumber;
|
|
3082
3280
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3083
3281
|
id: import('zod').ZodString;
|
|
3084
3282
|
name: import('zod').ZodString;
|
|
@@ -3087,6 +3285,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3087
3285
|
is_archived: import('zod').ZodBoolean;
|
|
3088
3286
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3089
3287
|
is_billable: import('zod').ZodBoolean;
|
|
3288
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3289
|
+
spent_time: import('zod').ZodNumber;
|
|
3090
3290
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3091
3291
|
id: import('zod').ZodString;
|
|
3092
3292
|
name: import('zod').ZodString;
|
|
@@ -3095,6 +3295,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3095
3295
|
is_archived: import('zod').ZodBoolean;
|
|
3096
3296
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3097
3297
|
is_billable: import('zod').ZodBoolean;
|
|
3298
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3299
|
+
spent_time: import('zod').ZodNumber;
|
|
3098
3300
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3099
3301
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3100
3302
|
errors: [{
|
|
@@ -3164,6 +3366,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3164
3366
|
is_archived: import('zod').ZodBoolean;
|
|
3165
3367
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3166
3368
|
is_billable: import('zod').ZodBoolean;
|
|
3369
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3370
|
+
spent_time: import('zod').ZodNumber;
|
|
3167
3371
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3168
3372
|
id: import('zod').ZodString;
|
|
3169
3373
|
name: import('zod').ZodString;
|
|
@@ -3172,6 +3376,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3172
3376
|
is_archived: import('zod').ZodBoolean;
|
|
3173
3377
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3174
3378
|
is_billable: import('zod').ZodBoolean;
|
|
3379
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3380
|
+
spent_time: import('zod').ZodNumber;
|
|
3175
3381
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3176
3382
|
id: import('zod').ZodString;
|
|
3177
3383
|
name: import('zod').ZodString;
|
|
@@ -3180,6 +3386,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3180
3386
|
is_archived: import('zod').ZodBoolean;
|
|
3181
3387
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3182
3388
|
is_billable: import('zod').ZodBoolean;
|
|
3389
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3390
|
+
spent_time: import('zod').ZodNumber;
|
|
3183
3391
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3184
3392
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3185
3393
|
data: import('zod').ZodObject<{
|
|
@@ -3190,6 +3398,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3190
3398
|
is_archived: import('zod').ZodBoolean;
|
|
3191
3399
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3192
3400
|
is_billable: import('zod').ZodBoolean;
|
|
3401
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3402
|
+
spent_time: import('zod').ZodNumber;
|
|
3193
3403
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3194
3404
|
id: import('zod').ZodString;
|
|
3195
3405
|
name: import('zod').ZodString;
|
|
@@ -3198,6 +3408,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3198
3408
|
is_archived: import('zod').ZodBoolean;
|
|
3199
3409
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3200
3410
|
is_billable: import('zod').ZodBoolean;
|
|
3411
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3412
|
+
spent_time: import('zod').ZodNumber;
|
|
3201
3413
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3202
3414
|
id: import('zod').ZodString;
|
|
3203
3415
|
name: import('zod').ZodString;
|
|
@@ -3206,6 +3418,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3206
3418
|
is_archived: import('zod').ZodBoolean;
|
|
3207
3419
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3208
3420
|
is_billable: import('zod').ZodBoolean;
|
|
3421
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3422
|
+
spent_time: import('zod').ZodNumber;
|
|
3209
3423
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3210
3424
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3211
3425
|
data: import('zod').ZodObject<{
|
|
@@ -3216,6 +3430,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3216
3430
|
is_archived: import('zod').ZodBoolean;
|
|
3217
3431
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3218
3432
|
is_billable: import('zod').ZodBoolean;
|
|
3433
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3434
|
+
spent_time: import('zod').ZodNumber;
|
|
3219
3435
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3220
3436
|
id: import('zod').ZodString;
|
|
3221
3437
|
name: import('zod').ZodString;
|
|
@@ -3224,6 +3440,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3224
3440
|
is_archived: import('zod').ZodBoolean;
|
|
3225
3441
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3226
3442
|
is_billable: import('zod').ZodBoolean;
|
|
3443
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3444
|
+
spent_time: import('zod').ZodNumber;
|
|
3227
3445
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3228
3446
|
id: import('zod').ZodString;
|
|
3229
3447
|
name: import('zod').ZodString;
|
|
@@ -3232,6 +3450,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3232
3450
|
is_archived: import('zod').ZodBoolean;
|
|
3233
3451
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3234
3452
|
is_billable: import('zod').ZodBoolean;
|
|
3453
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3454
|
+
spent_time: import('zod').ZodNumber;
|
|
3235
3455
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3236
3456
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3237
3457
|
errors: [{
|
|
@@ -3280,6 +3500,7 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3280
3500
|
is_archived: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
3281
3501
|
client_id: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodString, import('zod').ZodNull]>>;
|
|
3282
3502
|
billable_rate: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
3503
|
+
estimated_time: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
3283
3504
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3284
3505
|
name: import('zod').ZodString;
|
|
3285
3506
|
color: import('zod').ZodString;
|
|
@@ -3287,6 +3508,7 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3287
3508
|
is_archived: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
3288
3509
|
client_id: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodString, import('zod').ZodNull]>>;
|
|
3289
3510
|
billable_rate: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
3511
|
+
estimated_time: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
3290
3512
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3291
3513
|
name: import('zod').ZodString;
|
|
3292
3514
|
color: import('zod').ZodString;
|
|
@@ -3294,6 +3516,7 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3294
3516
|
is_archived: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
3295
3517
|
client_id: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodString, import('zod').ZodNull]>>;
|
|
3296
3518
|
billable_rate: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
3519
|
+
estimated_time: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
3297
3520
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3298
3521
|
}, {
|
|
3299
3522
|
name: "organization";
|
|
@@ -3313,6 +3536,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3313
3536
|
is_archived: import('zod').ZodBoolean;
|
|
3314
3537
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3315
3538
|
is_billable: import('zod').ZodBoolean;
|
|
3539
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3540
|
+
spent_time: import('zod').ZodNumber;
|
|
3316
3541
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3317
3542
|
id: import('zod').ZodString;
|
|
3318
3543
|
name: import('zod').ZodString;
|
|
@@ -3321,6 +3546,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3321
3546
|
is_archived: import('zod').ZodBoolean;
|
|
3322
3547
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3323
3548
|
is_billable: import('zod').ZodBoolean;
|
|
3549
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3550
|
+
spent_time: import('zod').ZodNumber;
|
|
3324
3551
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3325
3552
|
id: import('zod').ZodString;
|
|
3326
3553
|
name: import('zod').ZodString;
|
|
@@ -3329,6 +3556,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3329
3556
|
is_archived: import('zod').ZodBoolean;
|
|
3330
3557
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3331
3558
|
is_billable: import('zod').ZodBoolean;
|
|
3559
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3560
|
+
spent_time: import('zod').ZodNumber;
|
|
3332
3561
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3333
3562
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3334
3563
|
data: import('zod').ZodObject<{
|
|
@@ -3339,6 +3568,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3339
3568
|
is_archived: import('zod').ZodBoolean;
|
|
3340
3569
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3341
3570
|
is_billable: import('zod').ZodBoolean;
|
|
3571
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3572
|
+
spent_time: import('zod').ZodNumber;
|
|
3342
3573
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3343
3574
|
id: import('zod').ZodString;
|
|
3344
3575
|
name: import('zod').ZodString;
|
|
@@ -3347,6 +3578,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3347
3578
|
is_archived: import('zod').ZodBoolean;
|
|
3348
3579
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3349
3580
|
is_billable: import('zod').ZodBoolean;
|
|
3581
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3582
|
+
spent_time: import('zod').ZodNumber;
|
|
3350
3583
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3351
3584
|
id: import('zod').ZodString;
|
|
3352
3585
|
name: import('zod').ZodString;
|
|
@@ -3355,6 +3588,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3355
3588
|
is_archived: import('zod').ZodBoolean;
|
|
3356
3589
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3357
3590
|
is_billable: import('zod').ZodBoolean;
|
|
3591
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3592
|
+
spent_time: import('zod').ZodNumber;
|
|
3358
3593
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3359
3594
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3360
3595
|
data: import('zod').ZodObject<{
|
|
@@ -3365,6 +3600,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3365
3600
|
is_archived: import('zod').ZodBoolean;
|
|
3366
3601
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3367
3602
|
is_billable: import('zod').ZodBoolean;
|
|
3603
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3604
|
+
spent_time: import('zod').ZodNumber;
|
|
3368
3605
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
3369
3606
|
id: import('zod').ZodString;
|
|
3370
3607
|
name: import('zod').ZodString;
|
|
@@ -3373,6 +3610,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3373
3610
|
is_archived: import('zod').ZodBoolean;
|
|
3374
3611
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3375
3612
|
is_billable: import('zod').ZodBoolean;
|
|
3613
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3614
|
+
spent_time: import('zod').ZodNumber;
|
|
3376
3615
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
3377
3616
|
id: import('zod').ZodString;
|
|
3378
3617
|
name: import('zod').ZodString;
|
|
@@ -3381,6 +3620,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
3381
3620
|
is_archived: import('zod').ZodBoolean;
|
|
3382
3621
|
billable_rate: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3383
3622
|
is_billable: import('zod').ZodBoolean;
|
|
3623
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
3624
|
+
spent_time: import('zod').ZodNumber;
|
|
3384
3625
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3385
3626
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
3386
3627
|
errors: [{
|
|
@@ -4380,6 +4621,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4380
4621
|
name: import('zod').ZodString;
|
|
4381
4622
|
is_done: import('zod').ZodBoolean;
|
|
4382
4623
|
project_id: import('zod').ZodString;
|
|
4624
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
4625
|
+
spent_time: import('zod').ZodNumber;
|
|
4383
4626
|
created_at: import('zod').ZodString;
|
|
4384
4627
|
updated_at: import('zod').ZodString;
|
|
4385
4628
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
@@ -4387,6 +4630,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4387
4630
|
name: import('zod').ZodString;
|
|
4388
4631
|
is_done: import('zod').ZodBoolean;
|
|
4389
4632
|
project_id: import('zod').ZodString;
|
|
4633
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
4634
|
+
spent_time: import('zod').ZodNumber;
|
|
4390
4635
|
created_at: import('zod').ZodString;
|
|
4391
4636
|
updated_at: import('zod').ZodString;
|
|
4392
4637
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
@@ -4394,6 +4639,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4394
4639
|
name: import('zod').ZodString;
|
|
4395
4640
|
is_done: import('zod').ZodBoolean;
|
|
4396
4641
|
project_id: import('zod').ZodString;
|
|
4642
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
4643
|
+
spent_time: import('zod').ZodNumber;
|
|
4397
4644
|
created_at: import('zod').ZodString;
|
|
4398
4645
|
updated_at: import('zod').ZodString;
|
|
4399
4646
|
}, import('zod').ZodTypeAny, "passthrough">>, "many">;
|
|
@@ -4483,6 +4730,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4483
4730
|
name: import('zod').ZodString;
|
|
4484
4731
|
is_done: import('zod').ZodBoolean;
|
|
4485
4732
|
project_id: import('zod').ZodString;
|
|
4733
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
4734
|
+
spent_time: import('zod').ZodNumber;
|
|
4486
4735
|
created_at: import('zod').ZodString;
|
|
4487
4736
|
updated_at: import('zod').ZodString;
|
|
4488
4737
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
@@ -4490,6 +4739,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4490
4739
|
name: import('zod').ZodString;
|
|
4491
4740
|
is_done: import('zod').ZodBoolean;
|
|
4492
4741
|
project_id: import('zod').ZodString;
|
|
4742
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
4743
|
+
spent_time: import('zod').ZodNumber;
|
|
4493
4744
|
created_at: import('zod').ZodString;
|
|
4494
4745
|
updated_at: import('zod').ZodString;
|
|
4495
4746
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
@@ -4497,6 +4748,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4497
4748
|
name: import('zod').ZodString;
|
|
4498
4749
|
is_done: import('zod').ZodBoolean;
|
|
4499
4750
|
project_id: import('zod').ZodString;
|
|
4751
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
4752
|
+
spent_time: import('zod').ZodNumber;
|
|
4500
4753
|
created_at: import('zod').ZodString;
|
|
4501
4754
|
updated_at: import('zod').ZodString;
|
|
4502
4755
|
}, import('zod').ZodTypeAny, "passthrough">>, "many">;
|
|
@@ -4586,6 +4839,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4586
4839
|
name: import('zod').ZodString;
|
|
4587
4840
|
is_done: import('zod').ZodBoolean;
|
|
4588
4841
|
project_id: import('zod').ZodString;
|
|
4842
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
4843
|
+
spent_time: import('zod').ZodNumber;
|
|
4589
4844
|
created_at: import('zod').ZodString;
|
|
4590
4845
|
updated_at: import('zod').ZodString;
|
|
4591
4846
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
@@ -4593,6 +4848,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4593
4848
|
name: import('zod').ZodString;
|
|
4594
4849
|
is_done: import('zod').ZodBoolean;
|
|
4595
4850
|
project_id: import('zod').ZodString;
|
|
4851
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
4852
|
+
spent_time: import('zod').ZodNumber;
|
|
4596
4853
|
created_at: import('zod').ZodString;
|
|
4597
4854
|
updated_at: import('zod').ZodString;
|
|
4598
4855
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
@@ -4600,6 +4857,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4600
4857
|
name: import('zod').ZodString;
|
|
4601
4858
|
is_done: import('zod').ZodBoolean;
|
|
4602
4859
|
project_id: import('zod').ZodString;
|
|
4860
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
4861
|
+
spent_time: import('zod').ZodNumber;
|
|
4603
4862
|
created_at: import('zod').ZodString;
|
|
4604
4863
|
updated_at: import('zod').ZodString;
|
|
4605
4864
|
}, import('zod').ZodTypeAny, "passthrough">>, "many">;
|
|
@@ -4739,12 +4998,15 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4739
4998
|
schema: import('zod').ZodObject<{
|
|
4740
4999
|
name: import('zod').ZodString;
|
|
4741
5000
|
project_id: import('zod').ZodString;
|
|
5001
|
+
estimated_time: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
4742
5002
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
4743
5003
|
name: import('zod').ZodString;
|
|
4744
5004
|
project_id: import('zod').ZodString;
|
|
5005
|
+
estimated_time: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
4745
5006
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
4746
5007
|
name: import('zod').ZodString;
|
|
4747
5008
|
project_id: import('zod').ZodString;
|
|
5009
|
+
estimated_time: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
4748
5010
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
4749
5011
|
}, {
|
|
4750
5012
|
name: "organization";
|
|
@@ -4757,6 +5019,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4757
5019
|
name: import('zod').ZodString;
|
|
4758
5020
|
is_done: import('zod').ZodBoolean;
|
|
4759
5021
|
project_id: import('zod').ZodString;
|
|
5022
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5023
|
+
spent_time: import('zod').ZodNumber;
|
|
4760
5024
|
created_at: import('zod').ZodString;
|
|
4761
5025
|
updated_at: import('zod').ZodString;
|
|
4762
5026
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
@@ -4764,6 +5028,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4764
5028
|
name: import('zod').ZodString;
|
|
4765
5029
|
is_done: import('zod').ZodBoolean;
|
|
4766
5030
|
project_id: import('zod').ZodString;
|
|
5031
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5032
|
+
spent_time: import('zod').ZodNumber;
|
|
4767
5033
|
created_at: import('zod').ZodString;
|
|
4768
5034
|
updated_at: import('zod').ZodString;
|
|
4769
5035
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
@@ -4771,6 +5037,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4771
5037
|
name: import('zod').ZodString;
|
|
4772
5038
|
is_done: import('zod').ZodBoolean;
|
|
4773
5039
|
project_id: import('zod').ZodString;
|
|
5040
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5041
|
+
spent_time: import('zod').ZodNumber;
|
|
4774
5042
|
created_at: import('zod').ZodString;
|
|
4775
5043
|
updated_at: import('zod').ZodString;
|
|
4776
5044
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
@@ -4780,6 +5048,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4780
5048
|
name: import('zod').ZodString;
|
|
4781
5049
|
is_done: import('zod').ZodBoolean;
|
|
4782
5050
|
project_id: import('zod').ZodString;
|
|
5051
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5052
|
+
spent_time: import('zod').ZodNumber;
|
|
4783
5053
|
created_at: import('zod').ZodString;
|
|
4784
5054
|
updated_at: import('zod').ZodString;
|
|
4785
5055
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
@@ -4787,6 +5057,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4787
5057
|
name: import('zod').ZodString;
|
|
4788
5058
|
is_done: import('zod').ZodBoolean;
|
|
4789
5059
|
project_id: import('zod').ZodString;
|
|
5060
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5061
|
+
spent_time: import('zod').ZodNumber;
|
|
4790
5062
|
created_at: import('zod').ZodString;
|
|
4791
5063
|
updated_at: import('zod').ZodString;
|
|
4792
5064
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
@@ -4794,6 +5066,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4794
5066
|
name: import('zod').ZodString;
|
|
4795
5067
|
is_done: import('zod').ZodBoolean;
|
|
4796
5068
|
project_id: import('zod').ZodString;
|
|
5069
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5070
|
+
spent_time: import('zod').ZodNumber;
|
|
4797
5071
|
created_at: import('zod').ZodString;
|
|
4798
5072
|
updated_at: import('zod').ZodString;
|
|
4799
5073
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
@@ -4803,6 +5077,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4803
5077
|
name: import('zod').ZodString;
|
|
4804
5078
|
is_done: import('zod').ZodBoolean;
|
|
4805
5079
|
project_id: import('zod').ZodString;
|
|
5080
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5081
|
+
spent_time: import('zod').ZodNumber;
|
|
4806
5082
|
created_at: import('zod').ZodString;
|
|
4807
5083
|
updated_at: import('zod').ZodString;
|
|
4808
5084
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
@@ -4810,6 +5086,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4810
5086
|
name: import('zod').ZodString;
|
|
4811
5087
|
is_done: import('zod').ZodBoolean;
|
|
4812
5088
|
project_id: import('zod').ZodString;
|
|
5089
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5090
|
+
spent_time: import('zod').ZodNumber;
|
|
4813
5091
|
created_at: import('zod').ZodString;
|
|
4814
5092
|
updated_at: import('zod').ZodString;
|
|
4815
5093
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
@@ -4817,6 +5095,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4817
5095
|
name: import('zod').ZodString;
|
|
4818
5096
|
is_done: import('zod').ZodBoolean;
|
|
4819
5097
|
project_id: import('zod').ZodString;
|
|
5098
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5099
|
+
spent_time: import('zod').ZodNumber;
|
|
4820
5100
|
created_at: import('zod').ZodString;
|
|
4821
5101
|
updated_at: import('zod').ZodString;
|
|
4822
5102
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
@@ -4876,12 +5156,15 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4876
5156
|
schema: import('zod').ZodObject<{
|
|
4877
5157
|
name: import('zod').ZodString;
|
|
4878
5158
|
is_done: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
5159
|
+
estimated_time: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
4879
5160
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
4880
5161
|
name: import('zod').ZodString;
|
|
4881
5162
|
is_done: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
5163
|
+
estimated_time: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
4882
5164
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
4883
5165
|
name: import('zod').ZodString;
|
|
4884
5166
|
is_done: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
5167
|
+
estimated_time: import('zod').ZodOptional<import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>>;
|
|
4885
5168
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
4886
5169
|
}, {
|
|
4887
5170
|
name: "organization";
|
|
@@ -4898,6 +5181,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4898
5181
|
name: import('zod').ZodString;
|
|
4899
5182
|
is_done: import('zod').ZodBoolean;
|
|
4900
5183
|
project_id: import('zod').ZodString;
|
|
5184
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5185
|
+
spent_time: import('zod').ZodNumber;
|
|
4901
5186
|
created_at: import('zod').ZodString;
|
|
4902
5187
|
updated_at: import('zod').ZodString;
|
|
4903
5188
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
@@ -4905,6 +5190,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4905
5190
|
name: import('zod').ZodString;
|
|
4906
5191
|
is_done: import('zod').ZodBoolean;
|
|
4907
5192
|
project_id: import('zod').ZodString;
|
|
5193
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5194
|
+
spent_time: import('zod').ZodNumber;
|
|
4908
5195
|
created_at: import('zod').ZodString;
|
|
4909
5196
|
updated_at: import('zod').ZodString;
|
|
4910
5197
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
@@ -4912,6 +5199,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4912
5199
|
name: import('zod').ZodString;
|
|
4913
5200
|
is_done: import('zod').ZodBoolean;
|
|
4914
5201
|
project_id: import('zod').ZodString;
|
|
5202
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5203
|
+
spent_time: import('zod').ZodNumber;
|
|
4915
5204
|
created_at: import('zod').ZodString;
|
|
4916
5205
|
updated_at: import('zod').ZodString;
|
|
4917
5206
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
@@ -4921,6 +5210,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4921
5210
|
name: import('zod').ZodString;
|
|
4922
5211
|
is_done: import('zod').ZodBoolean;
|
|
4923
5212
|
project_id: import('zod').ZodString;
|
|
5213
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5214
|
+
spent_time: import('zod').ZodNumber;
|
|
4924
5215
|
created_at: import('zod').ZodString;
|
|
4925
5216
|
updated_at: import('zod').ZodString;
|
|
4926
5217
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
@@ -4928,6 +5219,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4928
5219
|
name: import('zod').ZodString;
|
|
4929
5220
|
is_done: import('zod').ZodBoolean;
|
|
4930
5221
|
project_id: import('zod').ZodString;
|
|
5222
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5223
|
+
spent_time: import('zod').ZodNumber;
|
|
4931
5224
|
created_at: import('zod').ZodString;
|
|
4932
5225
|
updated_at: import('zod').ZodString;
|
|
4933
5226
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
@@ -4935,6 +5228,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4935
5228
|
name: import('zod').ZodString;
|
|
4936
5229
|
is_done: import('zod').ZodBoolean;
|
|
4937
5230
|
project_id: import('zod').ZodString;
|
|
5231
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5232
|
+
spent_time: import('zod').ZodNumber;
|
|
4938
5233
|
created_at: import('zod').ZodString;
|
|
4939
5234
|
updated_at: import('zod').ZodString;
|
|
4940
5235
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
@@ -4944,6 +5239,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4944
5239
|
name: import('zod').ZodString;
|
|
4945
5240
|
is_done: import('zod').ZodBoolean;
|
|
4946
5241
|
project_id: import('zod').ZodString;
|
|
5242
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5243
|
+
spent_time: import('zod').ZodNumber;
|
|
4947
5244
|
created_at: import('zod').ZodString;
|
|
4948
5245
|
updated_at: import('zod').ZodString;
|
|
4949
5246
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
@@ -4951,6 +5248,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4951
5248
|
name: import('zod').ZodString;
|
|
4952
5249
|
is_done: import('zod').ZodBoolean;
|
|
4953
5250
|
project_id: import('zod').ZodString;
|
|
5251
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5252
|
+
spent_time: import('zod').ZodNumber;
|
|
4954
5253
|
created_at: import('zod').ZodString;
|
|
4955
5254
|
updated_at: import('zod').ZodString;
|
|
4956
5255
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
@@ -4958,6 +5257,8 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
4958
5257
|
name: import('zod').ZodString;
|
|
4959
5258
|
is_done: import('zod').ZodBoolean;
|
|
4960
5259
|
project_id: import('zod').ZodString;
|
|
5260
|
+
estimated_time: import('zod').ZodUnion<[import('zod').ZodNumber, import('zod').ZodNull]>;
|
|
5261
|
+
spent_time: import('zod').ZodNumber;
|
|
4961
5262
|
created_at: import('zod').ZodString;
|
|
4962
5263
|
updated_at: import('zod').ZodString;
|
|
4963
5264
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
@@ -5102,6 +5403,10 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
5102
5403
|
name: "limit";
|
|
5103
5404
|
type: "Query";
|
|
5104
5405
|
schema: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
5406
|
+
}, {
|
|
5407
|
+
name: "offset";
|
|
5408
|
+
type: "Query";
|
|
5409
|
+
schema: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
5105
5410
|
}, {
|
|
5106
5411
|
name: "only_full_dates";
|
|
5107
5412
|
type: "Query";
|
|
@@ -5110,6 +5415,10 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
5110
5415
|
name: "member_ids";
|
|
5111
5416
|
type: "Query";
|
|
5112
5417
|
schema: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
5418
|
+
}, {
|
|
5419
|
+
name: "client_ids";
|
|
5420
|
+
type: "Query";
|
|
5421
|
+
schema: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
5113
5422
|
}, {
|
|
5114
5423
|
name: "project_ids";
|
|
5115
5424
|
type: "Query";
|
|
@@ -5122,10 +5431,6 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
5122
5431
|
name: "task_ids";
|
|
5123
5432
|
type: "Query";
|
|
5124
5433
|
schema: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
5125
|
-
}, {
|
|
5126
|
-
name: "client_ids";
|
|
5127
|
-
type: "Query";
|
|
5128
|
-
schema: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5129
5434
|
}, {
|
|
5130
5435
|
name: "user_id";
|
|
5131
5436
|
type: "Query";
|
|
@@ -5169,6 +5474,13 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
5169
5474
|
tags: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
5170
5475
|
billable: import('zod').ZodBoolean;
|
|
5171
5476
|
}, import('zod').ZodTypeAny, "passthrough">>, "many">;
|
|
5477
|
+
meta: import('zod').ZodObject<{
|
|
5478
|
+
total: import('zod').ZodNumber;
|
|
5479
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
5480
|
+
total: import('zod').ZodNumber;
|
|
5481
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
5482
|
+
total: import('zod').ZodNumber;
|
|
5483
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
5172
5484
|
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
5173
5485
|
data: import('zod').ZodArray<import('zod').ZodObject<{
|
|
5174
5486
|
id: import('zod').ZodString;
|
|
@@ -5207,6 +5519,13 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
5207
5519
|
tags: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
5208
5520
|
billable: import('zod').ZodBoolean;
|
|
5209
5521
|
}, import('zod').ZodTypeAny, "passthrough">>, "many">;
|
|
5522
|
+
meta: import('zod').ZodObject<{
|
|
5523
|
+
total: import('zod').ZodNumber;
|
|
5524
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
5525
|
+
total: import('zod').ZodNumber;
|
|
5526
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
5527
|
+
total: import('zod').ZodNumber;
|
|
5528
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
5210
5529
|
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
5211
5530
|
data: import('zod').ZodArray<import('zod').ZodObject<{
|
|
5212
5531
|
id: import('zod').ZodString;
|
|
@@ -5245,6 +5564,13 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
5245
5564
|
tags: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
5246
5565
|
billable: import('zod').ZodBoolean;
|
|
5247
5566
|
}, import('zod').ZodTypeAny, "passthrough">>, "many">;
|
|
5567
|
+
meta: import('zod').ZodObject<{
|
|
5568
|
+
total: import('zod').ZodNumber;
|
|
5569
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
5570
|
+
total: import('zod').ZodNumber;
|
|
5571
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
5572
|
+
total: import('zod').ZodNumber;
|
|
5573
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
5248
5574
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
5249
5575
|
errors: [{
|
|
5250
5576
|
status: 401;
|
|
@@ -5646,6 +5972,74 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
5646
5972
|
errors: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
5647
5973
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
5648
5974
|
}];
|
|
5975
|
+
}, {
|
|
5976
|
+
method: "delete";
|
|
5977
|
+
path: "/v1/organizations/:organization/time-entries";
|
|
5978
|
+
alias: "deleteTimeEntries";
|
|
5979
|
+
requestFormat: "json";
|
|
5980
|
+
parameters: [{
|
|
5981
|
+
name: "organization";
|
|
5982
|
+
type: "Path";
|
|
5983
|
+
schema: import('zod').ZodString;
|
|
5984
|
+
}, {
|
|
5985
|
+
name: "ids";
|
|
5986
|
+
type: "Query";
|
|
5987
|
+
schema: import('zod').ZodArray<import('zod').ZodString, "many">;
|
|
5988
|
+
}];
|
|
5989
|
+
response: import('zod').ZodObject<{
|
|
5990
|
+
success: import('zod').ZodString;
|
|
5991
|
+
error: import('zod').ZodString;
|
|
5992
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
5993
|
+
success: import('zod').ZodString;
|
|
5994
|
+
error: import('zod').ZodString;
|
|
5995
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
5996
|
+
success: import('zod').ZodString;
|
|
5997
|
+
error: import('zod').ZodString;
|
|
5998
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
5999
|
+
errors: [{
|
|
6000
|
+
status: 401;
|
|
6001
|
+
description: string;
|
|
6002
|
+
schema: import('zod').ZodObject<{
|
|
6003
|
+
message: import('zod').ZodString;
|
|
6004
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
6005
|
+
message: import('zod').ZodString;
|
|
6006
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
6007
|
+
message: import('zod').ZodString;
|
|
6008
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
6009
|
+
}, {
|
|
6010
|
+
status: 403;
|
|
6011
|
+
description: string;
|
|
6012
|
+
schema: import('zod').ZodObject<{
|
|
6013
|
+
message: import('zod').ZodString;
|
|
6014
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
6015
|
+
message: import('zod').ZodString;
|
|
6016
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
6017
|
+
message: import('zod').ZodString;
|
|
6018
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
6019
|
+
}, {
|
|
6020
|
+
status: 404;
|
|
6021
|
+
description: string;
|
|
6022
|
+
schema: import('zod').ZodObject<{
|
|
6023
|
+
message: import('zod').ZodString;
|
|
6024
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
6025
|
+
message: import('zod').ZodString;
|
|
6026
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
6027
|
+
message: import('zod').ZodString;
|
|
6028
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
6029
|
+
}, {
|
|
6030
|
+
status: 422;
|
|
6031
|
+
description: string;
|
|
6032
|
+
schema: import('zod').ZodObject<{
|
|
6033
|
+
message: import('zod').ZodString;
|
|
6034
|
+
errors: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
6035
|
+
}, "passthrough", import('zod').ZodTypeAny, import('zod').objectOutputType<{
|
|
6036
|
+
message: import('zod').ZodString;
|
|
6037
|
+
errors: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
6038
|
+
}, import('zod').ZodTypeAny, "passthrough">, import('zod').objectInputType<{
|
|
6039
|
+
message: import('zod').ZodString;
|
|
6040
|
+
errors: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
6041
|
+
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
6042
|
+
}];
|
|
5649
6043
|
}, {
|
|
5650
6044
|
method: "put";
|
|
5651
6045
|
path: "/v1/organizations/:organization/time-entries/:timeEntry";
|
|
@@ -5925,11 +6319,11 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
5925
6319
|
}, {
|
|
5926
6320
|
name: "group";
|
|
5927
6321
|
type: "Query";
|
|
5928
|
-
schema: import('zod').ZodOptional<import('zod').ZodEnum<["day", "week", "month", "year", "user", "project", "task", "client", "billable"]>>;
|
|
6322
|
+
schema: import('zod').ZodOptional<import('zod').ZodEnum<["day", "week", "month", "year", "user", "project", "task", "client", "billable", "description"]>>;
|
|
5929
6323
|
}, {
|
|
5930
6324
|
name: "sub_group";
|
|
5931
6325
|
type: "Query";
|
|
5932
|
-
schema: import('zod').ZodOptional<import('zod').ZodEnum<["day", "week", "month", "year", "user", "project", "task", "client", "billable"]>>;
|
|
6326
|
+
schema: import('zod').ZodOptional<import('zod').ZodEnum<["day", "week", "month", "year", "user", "project", "task", "client", "billable", "description"]>>;
|
|
5933
6327
|
}, {
|
|
5934
6328
|
name: "member_id";
|
|
5935
6329
|
type: "Query";
|
|
@@ -7114,3 +7508,4 @@ export declare const api: import('@zodios/core').ZodiosInstance<[{
|
|
|
7114
7508
|
}, import('zod').ZodTypeAny, "passthrough">>;
|
|
7115
7509
|
}];
|
|
7116
7510
|
}]>;
|
|
7511
|
+
export { createApiClient, api };
|