@faiber/faiber-crm 0.3.0 → 0.5.1
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/.tsbuildinfo +1 -1
- package/dist/operations.d.ts +841 -102
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +841 -102
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +384 -384
- package/dist/operations.types.d.ts.map +1 -1
- package/package.json +4 -3
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import type { ApiEnvelope, JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
|
|
1
|
+
import type { ApiEnvelope, BackendJson, JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
|
|
2
2
|
/** Generated route contracts. Dynamic payload members remain JSON-safe and are documented with their Rust source type. */
|
|
3
|
-
/** Backend response type:
|
|
3
|
+
/** Backend response type: api. */
|
|
4
4
|
export interface RouterStatusRouteGetResponse extends ApiEnvelope<JsonValue> {
|
|
5
5
|
}
|
|
6
|
-
/** Backend response type:
|
|
6
|
+
/** Backend response type: api. */
|
|
7
7
|
export interface RouterOpenapiJsonGetResponse extends ApiEnvelope<JsonValue> {
|
|
8
8
|
}
|
|
9
9
|
/** Backend response type: crate::integration::models::IntegrationDocsResponse. */
|
|
10
10
|
export interface IntegrationIntegrationDocsShowGetResponseData extends JsonObject {
|
|
11
|
-
"direct":
|
|
12
|
-
"sdk":
|
|
11
|
+
"direct": BackendJson<"DirectIntegrationMeta">;
|
|
12
|
+
"sdk": BackendJson<"SdkIntegrationSnippet">[];
|
|
13
13
|
}
|
|
14
14
|
export interface IntegrationIntegrationDocsShowGetResponse extends ApiEnvelope<IntegrationIntegrationDocsShowGetResponseData> {
|
|
15
15
|
}
|
|
16
16
|
/** Backend response type: infera_flow_sdk::FlowIntegrationResponse. */
|
|
17
|
-
export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<
|
|
17
|
+
export interface IntegrationFlowIntegrationShowGetResponse extends ApiEnvelope<BackendJson<"infera_flow_sdk::FlowIntegrationResponse">> {
|
|
18
18
|
}
|
|
19
19
|
/** Backend query type: LeadListQuery. */
|
|
20
20
|
export interface LeadIndexGetQuery extends QueryParams {
|
|
21
|
-
"sort"?: string;
|
|
21
|
+
"sort"?: string | null;
|
|
22
22
|
}
|
|
23
23
|
/** Backend response type: LeadListResponse. */
|
|
24
24
|
export interface LeadIndexGetResponseData extends JsonObject {
|
|
25
|
-
"leads":
|
|
25
|
+
"leads": BackendJson<"FullLeadResponse">[];
|
|
26
26
|
}
|
|
27
27
|
export interface LeadIndexGetResponse extends ApiEnvelope<LeadIndexGetResponseData> {
|
|
28
28
|
}
|
|
29
29
|
/** Backend request type: CreateLeadRequest. */
|
|
30
30
|
export interface LeadCreatePostInput extends JsonObject {
|
|
31
31
|
"profile_id": string;
|
|
32
|
-
"creator_id"?: string;
|
|
32
|
+
"creator_id"?: string | null;
|
|
33
33
|
"task_priority": number;
|
|
34
|
-
"campaign"?: string;
|
|
35
|
-
"source"?: string;
|
|
36
|
-
"task_status"?: string;
|
|
37
|
-
"foreign_key"?: string;
|
|
38
|
-
"flags"
|
|
39
|
-
"enrollment_state"?: string;
|
|
40
|
-
"enrollment_id"?: number;
|
|
41
|
-
"enrollment_course_id"?: number;
|
|
42
|
-
"installment_id"?: number;
|
|
43
|
-
"installment_enrollment_id"?: number;
|
|
44
|
-
"active_at"?: string;
|
|
45
|
-
"assignee_ids"?: string[];
|
|
46
|
-
"meta"?: JsonValue;
|
|
47
|
-
"title"?: string;
|
|
48
|
-
"description"?: string;
|
|
34
|
+
"campaign"?: string | null;
|
|
35
|
+
"source"?: string | null;
|
|
36
|
+
"task_status"?: string | null;
|
|
37
|
+
"foreign_key"?: string | null;
|
|
38
|
+
"flags"?: string[];
|
|
39
|
+
"enrollment_state"?: string | null;
|
|
40
|
+
"enrollment_id"?: number | null;
|
|
41
|
+
"enrollment_course_id"?: number | null;
|
|
42
|
+
"installment_id"?: number | null;
|
|
43
|
+
"installment_enrollment_id"?: number | null;
|
|
44
|
+
"active_at"?: string | null;
|
|
45
|
+
"assignee_ids"?: string[] | null;
|
|
46
|
+
"meta"?: JsonValue | null;
|
|
47
|
+
"title"?: string | null;
|
|
48
|
+
"description"?: string | null;
|
|
49
49
|
}
|
|
50
50
|
/** Backend response type: LeadResponse. */
|
|
51
51
|
export interface LeadCreatePostResponseData extends JsonObject {
|
|
52
52
|
"id": string;
|
|
53
|
-
"profile_id"?: string;
|
|
54
|
-
"title"?: string;
|
|
55
|
-
"description"?: string;
|
|
53
|
+
"profile_id"?: string | null;
|
|
54
|
+
"title"?: string | null;
|
|
55
|
+
"description"?: string | null;
|
|
56
56
|
"creator_id": string;
|
|
57
|
-
"creator"?:
|
|
58
|
-
"workflow_id"?: string;
|
|
59
|
-
"workflow_node_id"?: string;
|
|
60
|
-
"campaign_id"?: string;
|
|
61
|
-
"source_id"?: string;
|
|
57
|
+
"creator"?: BackendJson<"ProfileSummary"> | null;
|
|
58
|
+
"workflow_id"?: string | null;
|
|
59
|
+
"workflow_node_id"?: string | null;
|
|
60
|
+
"campaign_id"?: string | null;
|
|
61
|
+
"source_id"?: string | null;
|
|
62
62
|
"task_status": string;
|
|
63
|
-
"foreign_key"?: string;
|
|
63
|
+
"foreign_key"?: string | null;
|
|
64
64
|
"task_priority": number;
|
|
65
65
|
"flags": string[];
|
|
66
|
-
"profile"?:
|
|
66
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
67
67
|
"created_at": string;
|
|
68
68
|
"updated_at": string;
|
|
69
|
-
"enrollment_id"?: number;
|
|
70
|
-
"enrollment_course_id"?: number;
|
|
71
|
-
"installment_id"?: number;
|
|
72
|
-
"installment_enrollment_id"?: number;
|
|
73
|
-
"active_at"?: string;
|
|
74
|
-
"is_active_status"?: boolean;
|
|
75
|
-
"is_sos_assignee"?: boolean;
|
|
76
|
-
"workflow"?:
|
|
77
|
-
"workflow_node"?:
|
|
78
|
-
"is_in_reminder"?: boolean;
|
|
79
|
-
"meta_data"?: JsonValue;
|
|
69
|
+
"enrollment_id"?: number | null;
|
|
70
|
+
"enrollment_course_id"?: number | null;
|
|
71
|
+
"installment_id"?: number | null;
|
|
72
|
+
"installment_enrollment_id"?: number | null;
|
|
73
|
+
"active_at"?: string | null;
|
|
74
|
+
"is_active_status"?: boolean | null;
|
|
75
|
+
"is_sos_assignee"?: boolean | null;
|
|
76
|
+
"workflow"?: BackendJson<"WorkflowResponse"> | null;
|
|
77
|
+
"workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
78
|
+
"is_in_reminder"?: boolean | null;
|
|
79
|
+
"meta_data"?: JsonValue | null;
|
|
80
80
|
}
|
|
81
81
|
export interface LeadCreatePostResponse extends ApiEnvelope<LeadCreatePostResponseData> {
|
|
82
82
|
}
|
|
@@ -120,8 +120,8 @@ export interface LeadCampaignShowGetResponse extends ApiEnvelope<LeadCampaignSho
|
|
|
120
120
|
}
|
|
121
121
|
/** Backend request type: UpdateLeadCampaignRequest. */
|
|
122
122
|
export interface LeadCampaignUpdatePutInput extends JsonObject {
|
|
123
|
-
"name"?: string;
|
|
124
|
-
"slug"?: string;
|
|
123
|
+
"name"?: string | null;
|
|
124
|
+
"slug"?: string | null;
|
|
125
125
|
}
|
|
126
126
|
/** Backend response type: LeadCampaignResponse. */
|
|
127
127
|
export interface LeadCampaignUpdatePutResponseData extends JsonObject {
|
|
@@ -173,8 +173,8 @@ export interface LeadSourceShowGetResponse extends ApiEnvelope<LeadSourceShowGet
|
|
|
173
173
|
}
|
|
174
174
|
/** Backend request type: UpdateLeadSourceRequest. */
|
|
175
175
|
export interface LeadSourceUpdatePutInput extends JsonObject {
|
|
176
|
-
"name"?: string;
|
|
177
|
-
"slug"?: string;
|
|
176
|
+
"name"?: string | null;
|
|
177
|
+
"slug"?: string | null;
|
|
178
178
|
}
|
|
179
179
|
/** Backend response type: LeadSourceResponse. */
|
|
180
180
|
export interface LeadSourceUpdatePutResponseData extends JsonObject {
|
|
@@ -192,149 +192,149 @@ export interface LeadDestroyDeleteResponse extends ApiEnvelope<boolean> {
|
|
|
192
192
|
/** Backend response type: LeadResponse. */
|
|
193
193
|
export interface LeadShowGetResponseData extends JsonObject {
|
|
194
194
|
"id": string;
|
|
195
|
-
"profile_id"?: string;
|
|
196
|
-
"title"?: string;
|
|
197
|
-
"description"?: string;
|
|
195
|
+
"profile_id"?: string | null;
|
|
196
|
+
"title"?: string | null;
|
|
197
|
+
"description"?: string | null;
|
|
198
198
|
"creator_id": string;
|
|
199
|
-
"creator"?:
|
|
200
|
-
"workflow_id"?: string;
|
|
201
|
-
"workflow_node_id"?: string;
|
|
202
|
-
"campaign_id"?: string;
|
|
203
|
-
"source_id"?: string;
|
|
199
|
+
"creator"?: BackendJson<"ProfileSummary"> | null;
|
|
200
|
+
"workflow_id"?: string | null;
|
|
201
|
+
"workflow_node_id"?: string | null;
|
|
202
|
+
"campaign_id"?: string | null;
|
|
203
|
+
"source_id"?: string | null;
|
|
204
204
|
"task_status": string;
|
|
205
|
-
"foreign_key"?: string;
|
|
205
|
+
"foreign_key"?: string | null;
|
|
206
206
|
"task_priority": number;
|
|
207
207
|
"flags": string[];
|
|
208
|
-
"profile"?:
|
|
208
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
209
209
|
"created_at": string;
|
|
210
210
|
"updated_at": string;
|
|
211
|
-
"enrollment_id"?: number;
|
|
212
|
-
"enrollment_course_id"?: number;
|
|
213
|
-
"installment_id"?: number;
|
|
214
|
-
"installment_enrollment_id"?: number;
|
|
215
|
-
"active_at"?: string;
|
|
216
|
-
"is_active_status"?: boolean;
|
|
217
|
-
"is_sos_assignee"?: boolean;
|
|
218
|
-
"workflow"?:
|
|
219
|
-
"workflow_node"?:
|
|
220
|
-
"is_in_reminder"?: boolean;
|
|
221
|
-
"meta_data"?: JsonValue;
|
|
211
|
+
"enrollment_id"?: number | null;
|
|
212
|
+
"enrollment_course_id"?: number | null;
|
|
213
|
+
"installment_id"?: number | null;
|
|
214
|
+
"installment_enrollment_id"?: number | null;
|
|
215
|
+
"active_at"?: string | null;
|
|
216
|
+
"is_active_status"?: boolean | null;
|
|
217
|
+
"is_sos_assignee"?: boolean | null;
|
|
218
|
+
"workflow"?: BackendJson<"WorkflowResponse"> | null;
|
|
219
|
+
"workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
220
|
+
"is_in_reminder"?: boolean | null;
|
|
221
|
+
"meta_data"?: JsonValue | null;
|
|
222
222
|
}
|
|
223
223
|
export interface LeadShowGetResponse extends ApiEnvelope<LeadShowGetResponseData> {
|
|
224
224
|
}
|
|
225
225
|
/** Backend request type: UpdateLeadRequest. */
|
|
226
226
|
export interface LeadUpdatePutInput extends JsonObject {
|
|
227
|
-
"profile_id"?: string;
|
|
228
|
-
"title"?: string;
|
|
229
|
-
"description"?: string;
|
|
230
|
-
"task_priority"?: number;
|
|
231
|
-
"campaign"?: string;
|
|
232
|
-
"source"?: string;
|
|
233
|
-
"task_status"?: string;
|
|
234
|
-
"foreign_key"?: string;
|
|
235
|
-
"flags"?: string[];
|
|
236
|
-
"enrollment_id"?: number;
|
|
237
|
-
"enrollment_course_id"?: number;
|
|
238
|
-
"installment_id"?: number;
|
|
239
|
-
"installment_enrollment_id"?: number;
|
|
240
|
-
"active_at"?: string;
|
|
241
|
-
"assignee_ids"?: string[];
|
|
242
|
-
"meta"?: JsonValue;
|
|
243
|
-
"workflow_node_id"?: string;
|
|
244
|
-
"assignee_profile_id"?: string;
|
|
227
|
+
"profile_id"?: string | null;
|
|
228
|
+
"title"?: string | null;
|
|
229
|
+
"description"?: string | null;
|
|
230
|
+
"task_priority"?: number | null;
|
|
231
|
+
"campaign"?: string | null;
|
|
232
|
+
"source"?: string | null;
|
|
233
|
+
"task_status"?: string | null;
|
|
234
|
+
"foreign_key"?: string | null;
|
|
235
|
+
"flags"?: string[] | null;
|
|
236
|
+
"enrollment_id"?: number | null;
|
|
237
|
+
"enrollment_course_id"?: number | null;
|
|
238
|
+
"installment_id"?: number | null;
|
|
239
|
+
"installment_enrollment_id"?: number | null;
|
|
240
|
+
"active_at"?: string | null;
|
|
241
|
+
"assignee_ids"?: string[] | null;
|
|
242
|
+
"meta"?: JsonValue | null;
|
|
243
|
+
"workflow_node_id"?: string | null;
|
|
244
|
+
"assignee_profile_id"?: string | null;
|
|
245
245
|
}
|
|
246
246
|
/** Backend response type: LeadResponse. */
|
|
247
247
|
export interface LeadUpdatePutResponseData extends JsonObject {
|
|
248
248
|
"id": string;
|
|
249
|
-
"profile_id"?: string;
|
|
250
|
-
"title"?: string;
|
|
251
|
-
"description"?: string;
|
|
249
|
+
"profile_id"?: string | null;
|
|
250
|
+
"title"?: string | null;
|
|
251
|
+
"description"?: string | null;
|
|
252
252
|
"creator_id": string;
|
|
253
|
-
"creator"?:
|
|
254
|
-
"workflow_id"?: string;
|
|
255
|
-
"workflow_node_id"?: string;
|
|
256
|
-
"campaign_id"?: string;
|
|
257
|
-
"source_id"?: string;
|
|
253
|
+
"creator"?: BackendJson<"ProfileSummary"> | null;
|
|
254
|
+
"workflow_id"?: string | null;
|
|
255
|
+
"workflow_node_id"?: string | null;
|
|
256
|
+
"campaign_id"?: string | null;
|
|
257
|
+
"source_id"?: string | null;
|
|
258
258
|
"task_status": string;
|
|
259
|
-
"foreign_key"?: string;
|
|
259
|
+
"foreign_key"?: string | null;
|
|
260
260
|
"task_priority": number;
|
|
261
261
|
"flags": string[];
|
|
262
|
-
"profile"?:
|
|
262
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
263
263
|
"created_at": string;
|
|
264
264
|
"updated_at": string;
|
|
265
|
-
"enrollment_id"?: number;
|
|
266
|
-
"enrollment_course_id"?: number;
|
|
267
|
-
"installment_id"?: number;
|
|
268
|
-
"installment_enrollment_id"?: number;
|
|
269
|
-
"active_at"?: string;
|
|
270
|
-
"is_active_status"?: boolean;
|
|
271
|
-
"is_sos_assignee"?: boolean;
|
|
272
|
-
"workflow"?:
|
|
273
|
-
"workflow_node"?:
|
|
274
|
-
"is_in_reminder"?: boolean;
|
|
275
|
-
"meta_data"?: JsonValue;
|
|
265
|
+
"enrollment_id"?: number | null;
|
|
266
|
+
"enrollment_course_id"?: number | null;
|
|
267
|
+
"installment_id"?: number | null;
|
|
268
|
+
"installment_enrollment_id"?: number | null;
|
|
269
|
+
"active_at"?: string | null;
|
|
270
|
+
"is_active_status"?: boolean | null;
|
|
271
|
+
"is_sos_assignee"?: boolean | null;
|
|
272
|
+
"workflow"?: BackendJson<"WorkflowResponse"> | null;
|
|
273
|
+
"workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
274
|
+
"is_in_reminder"?: boolean | null;
|
|
275
|
+
"meta_data"?: JsonValue | null;
|
|
276
276
|
}
|
|
277
277
|
export interface LeadUpdatePutResponse extends ApiEnvelope<LeadUpdatePutResponseData> {
|
|
278
278
|
}
|
|
279
279
|
/** Backend response type: LeadResponse. */
|
|
280
280
|
export interface LeadCheckStatusGetResponseData extends JsonObject {
|
|
281
281
|
"id": string;
|
|
282
|
-
"profile_id"?: string;
|
|
283
|
-
"title"?: string;
|
|
284
|
-
"description"?: string;
|
|
282
|
+
"profile_id"?: string | null;
|
|
283
|
+
"title"?: string | null;
|
|
284
|
+
"description"?: string | null;
|
|
285
285
|
"creator_id": string;
|
|
286
|
-
"creator"?:
|
|
287
|
-
"workflow_id"?: string;
|
|
288
|
-
"workflow_node_id"?: string;
|
|
289
|
-
"campaign_id"?: string;
|
|
290
|
-
"source_id"?: string;
|
|
286
|
+
"creator"?: BackendJson<"ProfileSummary"> | null;
|
|
287
|
+
"workflow_id"?: string | null;
|
|
288
|
+
"workflow_node_id"?: string | null;
|
|
289
|
+
"campaign_id"?: string | null;
|
|
290
|
+
"source_id"?: string | null;
|
|
291
291
|
"task_status": string;
|
|
292
|
-
"foreign_key"?: string;
|
|
292
|
+
"foreign_key"?: string | null;
|
|
293
293
|
"task_priority": number;
|
|
294
294
|
"flags": string[];
|
|
295
|
-
"profile"?:
|
|
295
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
296
296
|
"created_at": string;
|
|
297
297
|
"updated_at": string;
|
|
298
|
-
"enrollment_id"?: number;
|
|
299
|
-
"enrollment_course_id"?: number;
|
|
300
|
-
"installment_id"?: number;
|
|
301
|
-
"installment_enrollment_id"?: number;
|
|
302
|
-
"active_at"?: string;
|
|
303
|
-
"is_active_status"?: boolean;
|
|
304
|
-
"is_sos_assignee"?: boolean;
|
|
305
|
-
"workflow"?:
|
|
306
|
-
"workflow_node"?:
|
|
307
|
-
"is_in_reminder"?: boolean;
|
|
308
|
-
"meta_data"?: JsonValue;
|
|
298
|
+
"enrollment_id"?: number | null;
|
|
299
|
+
"enrollment_course_id"?: number | null;
|
|
300
|
+
"installment_id"?: number | null;
|
|
301
|
+
"installment_enrollment_id"?: number | null;
|
|
302
|
+
"active_at"?: string | null;
|
|
303
|
+
"is_active_status"?: boolean | null;
|
|
304
|
+
"is_sos_assignee"?: boolean | null;
|
|
305
|
+
"workflow"?: BackendJson<"WorkflowResponse"> | null;
|
|
306
|
+
"workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
307
|
+
"is_in_reminder"?: boolean | null;
|
|
308
|
+
"meta_data"?: JsonValue | null;
|
|
309
309
|
}
|
|
310
310
|
export interface LeadCheckStatusGetResponse extends ApiEnvelope<LeadCheckStatusGetResponseData> {
|
|
311
311
|
}
|
|
312
312
|
/** Backend response type: LeadLogListResponse. */
|
|
313
313
|
export interface LeadListLogsGetResponseData extends JsonObject {
|
|
314
|
-
"lead_logs":
|
|
314
|
+
"lead_logs": BackendJson<"LeadLogResponse">[];
|
|
315
315
|
}
|
|
316
316
|
export interface LeadListLogsGetResponse extends ApiEnvelope<LeadListLogsGetResponseData> {
|
|
317
317
|
}
|
|
318
318
|
/** Backend request type: CreateLeadLogRequest. */
|
|
319
319
|
export interface LeadCreateLogPostInput extends JsonObject {
|
|
320
|
-
"from_workflow_node_id"?: string;
|
|
321
|
-
"to_workflow_node_id"?: string;
|
|
322
|
-
"from_status"?: string;
|
|
323
|
-
"to_status"?: string;
|
|
320
|
+
"from_workflow_node_id"?: string | null;
|
|
321
|
+
"to_workflow_node_id"?: string | null;
|
|
322
|
+
"from_status"?: string | null;
|
|
323
|
+
"to_status"?: string | null;
|
|
324
324
|
"type": string;
|
|
325
325
|
}
|
|
326
326
|
/** Backend response type: LeadLogResponse. */
|
|
327
327
|
export interface LeadCreateLogPostResponseData extends JsonObject {
|
|
328
328
|
"id": string;
|
|
329
|
-
"from_workflow_node_id"?: string;
|
|
330
|
-
"to_workflow_node_id"?: string;
|
|
329
|
+
"from_workflow_node_id"?: string | null;
|
|
330
|
+
"to_workflow_node_id"?: string | null;
|
|
331
331
|
"type": string;
|
|
332
332
|
"profile_id": string;
|
|
333
|
-
"profile"?:
|
|
334
|
-
"from_status"?: string;
|
|
335
|
-
"to_status"?: string;
|
|
336
|
-
"from_workflow_node"?:
|
|
337
|
-
"to_workflow_node"?:
|
|
333
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
334
|
+
"from_status"?: string | null;
|
|
335
|
+
"to_status"?: string | null;
|
|
336
|
+
"from_workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
337
|
+
"to_workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
338
338
|
"created_at": string;
|
|
339
339
|
"updated_at": string;
|
|
340
340
|
}
|
|
@@ -346,15 +346,15 @@ export interface LeadDestroyLogDeleteResponse extends ApiEnvelope<boolean> {
|
|
|
346
346
|
/** Backend response type: LeadLogResponse. */
|
|
347
347
|
export interface LeadShowLogGetResponseData extends JsonObject {
|
|
348
348
|
"id": string;
|
|
349
|
-
"from_workflow_node_id"?: string;
|
|
350
|
-
"to_workflow_node_id"?: string;
|
|
349
|
+
"from_workflow_node_id"?: string | null;
|
|
350
|
+
"to_workflow_node_id"?: string | null;
|
|
351
351
|
"type": string;
|
|
352
352
|
"profile_id": string;
|
|
353
|
-
"profile"?:
|
|
354
|
-
"from_status"?: string;
|
|
355
|
-
"to_status"?: string;
|
|
356
|
-
"from_workflow_node"?:
|
|
357
|
-
"to_workflow_node"?:
|
|
353
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
354
|
+
"from_status"?: string | null;
|
|
355
|
+
"to_status"?: string | null;
|
|
356
|
+
"from_workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
357
|
+
"to_workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
358
358
|
"created_at": string;
|
|
359
359
|
"updated_at": string;
|
|
360
360
|
}
|
|
@@ -362,24 +362,24 @@ export interface LeadShowLogGetResponse extends ApiEnvelope<LeadShowLogGetRespon
|
|
|
362
362
|
}
|
|
363
363
|
/** Backend request type: UpdateLeadLogRequest. */
|
|
364
364
|
export interface LeadUpdateLogPutInput extends JsonObject {
|
|
365
|
-
"from_workflow_node_id"?: string;
|
|
366
|
-
"to_workflow_node_id"?: string;
|
|
367
|
-
"from_status"?: string;
|
|
368
|
-
"to_status"?: string;
|
|
369
|
-
"type"?: string;
|
|
365
|
+
"from_workflow_node_id"?: string | null;
|
|
366
|
+
"to_workflow_node_id"?: string | null;
|
|
367
|
+
"from_status"?: string | null;
|
|
368
|
+
"to_status"?: string | null;
|
|
369
|
+
"type"?: string | null;
|
|
370
370
|
}
|
|
371
371
|
/** Backend response type: LeadLogResponse. */
|
|
372
372
|
export interface LeadUpdateLogPutResponseData extends JsonObject {
|
|
373
373
|
"id": string;
|
|
374
|
-
"from_workflow_node_id"?: string;
|
|
375
|
-
"to_workflow_node_id"?: string;
|
|
374
|
+
"from_workflow_node_id"?: string | null;
|
|
375
|
+
"to_workflow_node_id"?: string | null;
|
|
376
376
|
"type": string;
|
|
377
377
|
"profile_id": string;
|
|
378
|
-
"profile"?:
|
|
379
|
-
"from_status"?: string;
|
|
380
|
-
"to_status"?: string;
|
|
381
|
-
"from_workflow_node"?:
|
|
382
|
-
"to_workflow_node"?:
|
|
378
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
379
|
+
"from_status"?: string | null;
|
|
380
|
+
"to_status"?: string | null;
|
|
381
|
+
"from_workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
382
|
+
"to_workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
383
383
|
"created_at": string;
|
|
384
384
|
"updated_at": string;
|
|
385
385
|
}
|
|
@@ -388,50 +388,50 @@ export interface LeadUpdateLogPutResponse extends ApiEnvelope<LeadUpdateLogPutRe
|
|
|
388
388
|
/** Backend request type: MoveLeadToDoneRequest. */
|
|
389
389
|
export interface LeadMoveToDonePutInput extends JsonObject {
|
|
390
390
|
"task_status": string;
|
|
391
|
-
"assignee_profile_id"?: string;
|
|
391
|
+
"assignee_profile_id"?: string | null;
|
|
392
392
|
}
|
|
393
393
|
/** Backend response type: LeadResponse. */
|
|
394
394
|
export interface LeadMoveToDonePutResponseData extends JsonObject {
|
|
395
395
|
"id": string;
|
|
396
|
-
"profile_id"?: string;
|
|
397
|
-
"title"?: string;
|
|
398
|
-
"description"?: string;
|
|
396
|
+
"profile_id"?: string | null;
|
|
397
|
+
"title"?: string | null;
|
|
398
|
+
"description"?: string | null;
|
|
399
399
|
"creator_id": string;
|
|
400
|
-
"creator"?:
|
|
401
|
-
"workflow_id"?: string;
|
|
402
|
-
"workflow_node_id"?: string;
|
|
403
|
-
"campaign_id"?: string;
|
|
404
|
-
"source_id"?: string;
|
|
400
|
+
"creator"?: BackendJson<"ProfileSummary"> | null;
|
|
401
|
+
"workflow_id"?: string | null;
|
|
402
|
+
"workflow_node_id"?: string | null;
|
|
403
|
+
"campaign_id"?: string | null;
|
|
404
|
+
"source_id"?: string | null;
|
|
405
405
|
"task_status": string;
|
|
406
|
-
"foreign_key"?: string;
|
|
406
|
+
"foreign_key"?: string | null;
|
|
407
407
|
"task_priority": number;
|
|
408
408
|
"flags": string[];
|
|
409
|
-
"profile"?:
|
|
409
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
410
410
|
"created_at": string;
|
|
411
411
|
"updated_at": string;
|
|
412
|
-
"enrollment_id"?: number;
|
|
413
|
-
"enrollment_course_id"?: number;
|
|
414
|
-
"installment_id"?: number;
|
|
415
|
-
"installment_enrollment_id"?: number;
|
|
416
|
-
"active_at"?: string;
|
|
417
|
-
"is_active_status"?: boolean;
|
|
418
|
-
"is_sos_assignee"?: boolean;
|
|
419
|
-
"workflow"?:
|
|
420
|
-
"workflow_node"?:
|
|
421
|
-
"is_in_reminder"?: boolean;
|
|
422
|
-
"meta_data"?: JsonValue;
|
|
412
|
+
"enrollment_id"?: number | null;
|
|
413
|
+
"enrollment_course_id"?: number | null;
|
|
414
|
+
"installment_id"?: number | null;
|
|
415
|
+
"installment_enrollment_id"?: number | null;
|
|
416
|
+
"active_at"?: string | null;
|
|
417
|
+
"is_active_status"?: boolean | null;
|
|
418
|
+
"is_sos_assignee"?: boolean | null;
|
|
419
|
+
"workflow"?: BackendJson<"WorkflowResponse"> | null;
|
|
420
|
+
"workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
421
|
+
"is_in_reminder"?: boolean | null;
|
|
422
|
+
"meta_data"?: JsonValue | null;
|
|
423
423
|
}
|
|
424
424
|
export interface LeadMoveToDonePutResponse extends ApiEnvelope<LeadMoveToDonePutResponseData> {
|
|
425
425
|
}
|
|
426
426
|
/** Backend response type: LeadTouchListResponse. */
|
|
427
427
|
export interface LeadListTouchesGetResponseData extends JsonObject {
|
|
428
|
-
"lead_touch":
|
|
428
|
+
"lead_touch": BackendJson<"LeadTouchResponse">[];
|
|
429
429
|
}
|
|
430
430
|
export interface LeadListTouchesGetResponse extends ApiEnvelope<LeadListTouchesGetResponseData> {
|
|
431
431
|
}
|
|
432
432
|
/** Backend request type: CreateLeadTouchRequest. */
|
|
433
433
|
export interface LeadCreateTouchPostInput extends JsonObject {
|
|
434
|
-
"description"?: string;
|
|
434
|
+
"description"?: string | null;
|
|
435
435
|
"status": string;
|
|
436
436
|
}
|
|
437
437
|
/** Backend response type: LeadTouchResponse. */
|
|
@@ -439,8 +439,8 @@ export interface LeadCreateTouchPostResponseData extends JsonObject {
|
|
|
439
439
|
"id": string;
|
|
440
440
|
"lead_id": string;
|
|
441
441
|
"profile_id": string;
|
|
442
|
-
"profile"?:
|
|
443
|
-
"description"?: string;
|
|
442
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
443
|
+
"description"?: string | null;
|
|
444
444
|
"status": string;
|
|
445
445
|
"created_at": string;
|
|
446
446
|
"updated_at": string;
|
|
@@ -455,8 +455,8 @@ export interface LeadShowTouchGetResponseData extends JsonObject {
|
|
|
455
455
|
"id": string;
|
|
456
456
|
"lead_id": string;
|
|
457
457
|
"profile_id": string;
|
|
458
|
-
"profile"?:
|
|
459
|
-
"description"?: string;
|
|
458
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
459
|
+
"description"?: string | null;
|
|
460
460
|
"status": string;
|
|
461
461
|
"created_at": string;
|
|
462
462
|
"updated_at": string;
|
|
@@ -465,16 +465,16 @@ export interface LeadShowTouchGetResponse extends ApiEnvelope<LeadShowTouchGetRe
|
|
|
465
465
|
}
|
|
466
466
|
/** Backend request type: UpdateLeadTouchRequest. */
|
|
467
467
|
export interface LeadUpdateTouchPutInput extends JsonObject {
|
|
468
|
-
"description"?: string;
|
|
469
|
-
"status"?: string;
|
|
468
|
+
"description"?: string | null;
|
|
469
|
+
"status"?: string | null;
|
|
470
470
|
}
|
|
471
471
|
/** Backend response type: LeadTouchResponse. */
|
|
472
472
|
export interface LeadUpdateTouchPutResponseData extends JsonObject {
|
|
473
473
|
"id": string;
|
|
474
474
|
"lead_id": string;
|
|
475
475
|
"profile_id": string;
|
|
476
|
-
"profile"?:
|
|
477
|
-
"description"?: string;
|
|
476
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
477
|
+
"description"?: string | null;
|
|
478
478
|
"status": string;
|
|
479
479
|
"created_at": string;
|
|
480
480
|
"updated_at": string;
|
|
@@ -485,90 +485,90 @@ export interface LeadUpdateTouchPutResponse extends ApiEnvelope<LeadUpdateTouchP
|
|
|
485
485
|
export interface LeadCreateDeveloperPostInput extends JsonObject {
|
|
486
486
|
"title": string;
|
|
487
487
|
"description": string;
|
|
488
|
-
"task_priority"?: number;
|
|
489
|
-
"flags"
|
|
488
|
+
"task_priority"?: number | null;
|
|
489
|
+
"flags"?: string[];
|
|
490
490
|
"assignee_ids": string[];
|
|
491
|
-
"meta"?: JsonValue;
|
|
491
|
+
"meta"?: JsonValue | null;
|
|
492
492
|
}
|
|
493
493
|
/** Backend response type: LeadResponse. */
|
|
494
494
|
export interface LeadCreateDeveloperPostResponseData extends JsonObject {
|
|
495
495
|
"id": string;
|
|
496
|
-
"profile_id"?: string;
|
|
497
|
-
"title"?: string;
|
|
498
|
-
"description"?: string;
|
|
496
|
+
"profile_id"?: string | null;
|
|
497
|
+
"title"?: string | null;
|
|
498
|
+
"description"?: string | null;
|
|
499
499
|
"creator_id": string;
|
|
500
|
-
"creator"?:
|
|
501
|
-
"workflow_id"?: string;
|
|
502
|
-
"workflow_node_id"?: string;
|
|
503
|
-
"campaign_id"?: string;
|
|
504
|
-
"source_id"?: string;
|
|
500
|
+
"creator"?: BackendJson<"ProfileSummary"> | null;
|
|
501
|
+
"workflow_id"?: string | null;
|
|
502
|
+
"workflow_node_id"?: string | null;
|
|
503
|
+
"campaign_id"?: string | null;
|
|
504
|
+
"source_id"?: string | null;
|
|
505
505
|
"task_status": string;
|
|
506
|
-
"foreign_key"?: string;
|
|
506
|
+
"foreign_key"?: string | null;
|
|
507
507
|
"task_priority": number;
|
|
508
508
|
"flags": string[];
|
|
509
|
-
"profile"?:
|
|
509
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
510
510
|
"created_at": string;
|
|
511
511
|
"updated_at": string;
|
|
512
|
-
"enrollment_id"?: number;
|
|
513
|
-
"enrollment_course_id"?: number;
|
|
514
|
-
"installment_id"?: number;
|
|
515
|
-
"installment_enrollment_id"?: number;
|
|
516
|
-
"active_at"?: string;
|
|
517
|
-
"is_active_status"?: boolean;
|
|
518
|
-
"is_sos_assignee"?: boolean;
|
|
519
|
-
"workflow"?:
|
|
520
|
-
"workflow_node"?:
|
|
521
|
-
"is_in_reminder"?: boolean;
|
|
522
|
-
"meta_data"?: JsonValue;
|
|
512
|
+
"enrollment_id"?: number | null;
|
|
513
|
+
"enrollment_course_id"?: number | null;
|
|
514
|
+
"installment_id"?: number | null;
|
|
515
|
+
"installment_enrollment_id"?: number | null;
|
|
516
|
+
"active_at"?: string | null;
|
|
517
|
+
"is_active_status"?: boolean | null;
|
|
518
|
+
"is_sos_assignee"?: boolean | null;
|
|
519
|
+
"workflow"?: BackendJson<"WorkflowResponse"> | null;
|
|
520
|
+
"workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
521
|
+
"is_in_reminder"?: boolean | null;
|
|
522
|
+
"meta_data"?: JsonValue | null;
|
|
523
523
|
}
|
|
524
524
|
export interface LeadCreateDeveloperPostResponse extends ApiEnvelope<LeadCreateDeveloperPostResponseData> {
|
|
525
525
|
}
|
|
526
526
|
/** Backend query type: LeadListQuery. */
|
|
527
527
|
export interface LeadDeveloperReadyGetQuery extends QueryParams {
|
|
528
|
-
"sort"?: string;
|
|
528
|
+
"sort"?: string | null;
|
|
529
529
|
}
|
|
530
530
|
/** Backend response type: DeveloperReadyLeadListResponse. */
|
|
531
531
|
export interface LeadDeveloperReadyGetResponseData extends JsonObject {
|
|
532
|
-
"leads":
|
|
532
|
+
"leads": BackendJson<"DeveloperReadyLeadResponse">[];
|
|
533
533
|
}
|
|
534
534
|
export interface LeadDeveloperReadyGetResponse extends ApiEnvelope<LeadDeveloperReadyGetResponseData> {
|
|
535
535
|
}
|
|
536
536
|
/** Backend query type: ForeignKeyQuery. */
|
|
537
537
|
export interface LeadByForeignKeyGetQuery extends QueryParams {
|
|
538
|
-
"foreign_key"?: string;
|
|
539
|
-
"profile_id"?: string;
|
|
540
|
-
"flags"?: string;
|
|
538
|
+
"foreign_key"?: string | null;
|
|
539
|
+
"profile_id"?: string | null;
|
|
540
|
+
"flags"?: string | null;
|
|
541
541
|
}
|
|
542
542
|
/** Backend response type: LeadResponse. */
|
|
543
543
|
export interface LeadByForeignKeyGetResponseData extends JsonObject {
|
|
544
544
|
"id": string;
|
|
545
|
-
"profile_id"?: string;
|
|
546
|
-
"title"?: string;
|
|
547
|
-
"description"?: string;
|
|
545
|
+
"profile_id"?: string | null;
|
|
546
|
+
"title"?: string | null;
|
|
547
|
+
"description"?: string | null;
|
|
548
548
|
"creator_id": string;
|
|
549
|
-
"creator"?:
|
|
550
|
-
"workflow_id"?: string;
|
|
551
|
-
"workflow_node_id"?: string;
|
|
552
|
-
"campaign_id"?: string;
|
|
553
|
-
"source_id"?: string;
|
|
549
|
+
"creator"?: BackendJson<"ProfileSummary"> | null;
|
|
550
|
+
"workflow_id"?: string | null;
|
|
551
|
+
"workflow_node_id"?: string | null;
|
|
552
|
+
"campaign_id"?: string | null;
|
|
553
|
+
"source_id"?: string | null;
|
|
554
554
|
"task_status": string;
|
|
555
|
-
"foreign_key"?: string;
|
|
555
|
+
"foreign_key"?: string | null;
|
|
556
556
|
"task_priority": number;
|
|
557
557
|
"flags": string[];
|
|
558
|
-
"profile"?:
|
|
558
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
559
559
|
"created_at": string;
|
|
560
560
|
"updated_at": string;
|
|
561
|
-
"enrollment_id"?: number;
|
|
562
|
-
"enrollment_course_id"?: number;
|
|
563
|
-
"installment_id"?: number;
|
|
564
|
-
"installment_enrollment_id"?: number;
|
|
565
|
-
"active_at"?: string;
|
|
566
|
-
"is_active_status"?: boolean;
|
|
567
|
-
"is_sos_assignee"?: boolean;
|
|
568
|
-
"workflow"?:
|
|
569
|
-
"workflow_node"?:
|
|
570
|
-
"is_in_reminder"?: boolean;
|
|
571
|
-
"meta_data"?: JsonValue;
|
|
561
|
+
"enrollment_id"?: number | null;
|
|
562
|
+
"enrollment_course_id"?: number | null;
|
|
563
|
+
"installment_id"?: number | null;
|
|
564
|
+
"installment_enrollment_id"?: number | null;
|
|
565
|
+
"active_at"?: string | null;
|
|
566
|
+
"is_active_status"?: boolean | null;
|
|
567
|
+
"is_sos_assignee"?: boolean | null;
|
|
568
|
+
"workflow"?: BackendJson<"WorkflowResponse"> | null;
|
|
569
|
+
"workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
570
|
+
"is_in_reminder"?: boolean | null;
|
|
571
|
+
"meta_data"?: JsonValue | null;
|
|
572
572
|
}
|
|
573
573
|
export interface LeadByForeignKeyGetResponse extends ApiEnvelope<LeadByForeignKeyGetResponseData> {
|
|
574
574
|
}
|
|
@@ -577,67 +577,67 @@ export interface LeadDestroyByForeignKeyDeleteResponse extends ApiEnvelope<boole
|
|
|
577
577
|
}
|
|
578
578
|
/** Backend request type: UpdateLeadRequest. */
|
|
579
579
|
export interface LeadUpdateByForeignKeyPutInput extends JsonObject {
|
|
580
|
-
"profile_id"?: string;
|
|
581
|
-
"title"?: string;
|
|
582
|
-
"description"?: string;
|
|
583
|
-
"task_priority"?: number;
|
|
584
|
-
"campaign"?: string;
|
|
585
|
-
"source"?: string;
|
|
586
|
-
"task_status"?: string;
|
|
587
|
-
"foreign_key"?: string;
|
|
588
|
-
"flags"?: string[];
|
|
589
|
-
"enrollment_id"?: number;
|
|
590
|
-
"enrollment_course_id"?: number;
|
|
591
|
-
"installment_id"?: number;
|
|
592
|
-
"installment_enrollment_id"?: number;
|
|
593
|
-
"active_at"?: string;
|
|
594
|
-
"assignee_ids"?: string[];
|
|
595
|
-
"meta"?: JsonValue;
|
|
596
|
-
"workflow_node_id"?: string;
|
|
597
|
-
"assignee_profile_id"?: string;
|
|
580
|
+
"profile_id"?: string | null;
|
|
581
|
+
"title"?: string | null;
|
|
582
|
+
"description"?: string | null;
|
|
583
|
+
"task_priority"?: number | null;
|
|
584
|
+
"campaign"?: string | null;
|
|
585
|
+
"source"?: string | null;
|
|
586
|
+
"task_status"?: string | null;
|
|
587
|
+
"foreign_key"?: string | null;
|
|
588
|
+
"flags"?: string[] | null;
|
|
589
|
+
"enrollment_id"?: number | null;
|
|
590
|
+
"enrollment_course_id"?: number | null;
|
|
591
|
+
"installment_id"?: number | null;
|
|
592
|
+
"installment_enrollment_id"?: number | null;
|
|
593
|
+
"active_at"?: string | null;
|
|
594
|
+
"assignee_ids"?: string[] | null;
|
|
595
|
+
"meta"?: JsonValue | null;
|
|
596
|
+
"workflow_node_id"?: string | null;
|
|
597
|
+
"assignee_profile_id"?: string | null;
|
|
598
598
|
}
|
|
599
599
|
/** Backend response type: LeadResponse. */
|
|
600
600
|
export interface LeadUpdateByForeignKeyPutResponseData extends JsonObject {
|
|
601
601
|
"id": string;
|
|
602
|
-
"profile_id"?: string;
|
|
603
|
-
"title"?: string;
|
|
604
|
-
"description"?: string;
|
|
602
|
+
"profile_id"?: string | null;
|
|
603
|
+
"title"?: string | null;
|
|
604
|
+
"description"?: string | null;
|
|
605
605
|
"creator_id": string;
|
|
606
|
-
"creator"?:
|
|
607
|
-
"workflow_id"?: string;
|
|
608
|
-
"workflow_node_id"?: string;
|
|
609
|
-
"campaign_id"?: string;
|
|
610
|
-
"source_id"?: string;
|
|
606
|
+
"creator"?: BackendJson<"ProfileSummary"> | null;
|
|
607
|
+
"workflow_id"?: string | null;
|
|
608
|
+
"workflow_node_id"?: string | null;
|
|
609
|
+
"campaign_id"?: string | null;
|
|
610
|
+
"source_id"?: string | null;
|
|
611
611
|
"task_status": string;
|
|
612
|
-
"foreign_key"?: string;
|
|
612
|
+
"foreign_key"?: string | null;
|
|
613
613
|
"task_priority": number;
|
|
614
614
|
"flags": string[];
|
|
615
|
-
"profile"?:
|
|
615
|
+
"profile"?: BackendJson<"ProfileSummary"> | null;
|
|
616
616
|
"created_at": string;
|
|
617
617
|
"updated_at": string;
|
|
618
|
-
"enrollment_id"?: number;
|
|
619
|
-
"enrollment_course_id"?: number;
|
|
620
|
-
"installment_id"?: number;
|
|
621
|
-
"installment_enrollment_id"?: number;
|
|
622
|
-
"active_at"?: string;
|
|
623
|
-
"is_active_status"?: boolean;
|
|
624
|
-
"is_sos_assignee"?: boolean;
|
|
625
|
-
"workflow"?:
|
|
626
|
-
"workflow_node"?:
|
|
627
|
-
"is_in_reminder"?: boolean;
|
|
628
|
-
"meta_data"?: JsonValue;
|
|
618
|
+
"enrollment_id"?: number | null;
|
|
619
|
+
"enrollment_course_id"?: number | null;
|
|
620
|
+
"installment_id"?: number | null;
|
|
621
|
+
"installment_enrollment_id"?: number | null;
|
|
622
|
+
"active_at"?: string | null;
|
|
623
|
+
"is_active_status"?: boolean | null;
|
|
624
|
+
"is_sos_assignee"?: boolean | null;
|
|
625
|
+
"workflow"?: BackendJson<"WorkflowResponse"> | null;
|
|
626
|
+
"workflow_node"?: BackendJson<"WorkflowNodeResponse"> | null;
|
|
627
|
+
"is_in_reminder"?: boolean | null;
|
|
628
|
+
"meta_data"?: JsonValue | null;
|
|
629
629
|
}
|
|
630
630
|
export interface LeadUpdateByForeignKeyPutResponse extends ApiEnvelope<LeadUpdateByForeignKeyPutResponseData> {
|
|
631
631
|
}
|
|
632
632
|
/** Backend query type: LeadLightQuery. */
|
|
633
633
|
export interface LeadLightGetQuery extends QueryParams {
|
|
634
|
-
"sort"?: string;
|
|
635
|
-
"page[limit]"?: number;
|
|
636
|
-
"page[number]"?: number;
|
|
634
|
+
"sort"?: string | null;
|
|
635
|
+
"page[limit]"?: number | null;
|
|
636
|
+
"page[number]"?: number | null;
|
|
637
637
|
}
|
|
638
638
|
/** Backend response type: LeadLightListResponse. */
|
|
639
639
|
export interface LeadLightGetResponseData extends JsonObject {
|
|
640
|
-
"leads":
|
|
640
|
+
"leads": BackendJson<"FullLeadResponse">[];
|
|
641
641
|
"total_count": number;
|
|
642
642
|
"won_count": number;
|
|
643
643
|
"lost_count": number;
|
|
@@ -650,7 +650,7 @@ export interface ReminderIndexGetResponseItem extends JsonObject {
|
|
|
650
650
|
"lead_id": string;
|
|
651
651
|
"profile_id": string;
|
|
652
652
|
"remind": string;
|
|
653
|
-
"description"?: string;
|
|
653
|
+
"description"?: string | null;
|
|
654
654
|
"created_at": string;
|
|
655
655
|
"updated_at": string;
|
|
656
656
|
}
|
|
@@ -660,7 +660,7 @@ export interface ReminderIndexGetResponse extends ApiEnvelope<ReminderIndexGetRe
|
|
|
660
660
|
export interface ReminderCreatePostInput extends JsonObject {
|
|
661
661
|
"lead_id": string;
|
|
662
662
|
"remind": string;
|
|
663
|
-
"description"?: string;
|
|
663
|
+
"description"?: string | null;
|
|
664
664
|
}
|
|
665
665
|
/** Backend response type: ReminderResponse. */
|
|
666
666
|
export interface ReminderCreatePostResponseData extends JsonObject {
|
|
@@ -668,7 +668,7 @@ export interface ReminderCreatePostResponseData extends JsonObject {
|
|
|
668
668
|
"lead_id": string;
|
|
669
669
|
"profile_id": string;
|
|
670
670
|
"remind": string;
|
|
671
|
-
"description"?: string;
|
|
671
|
+
"description"?: string | null;
|
|
672
672
|
"created_at": string;
|
|
673
673
|
"updated_at": string;
|
|
674
674
|
}
|
|
@@ -679,8 +679,8 @@ export interface ReminderDestroyDeleteResponse extends ApiEnvelope<boolean> {
|
|
|
679
679
|
}
|
|
680
680
|
/** Backend request type: UpdateReminderRequest. */
|
|
681
681
|
export interface ReminderUpdatePutInput extends JsonObject {
|
|
682
|
-
"remind"?: string;
|
|
683
|
-
"description"?: string;
|
|
682
|
+
"remind"?: string | null;
|
|
683
|
+
"description"?: string | null;
|
|
684
684
|
}
|
|
685
685
|
/** Backend response type: ReminderResponse. */
|
|
686
686
|
export interface ReminderUpdatePutResponseData extends JsonObject {
|
|
@@ -688,7 +688,7 @@ export interface ReminderUpdatePutResponseData extends JsonObject {
|
|
|
688
688
|
"lead_id": string;
|
|
689
689
|
"profile_id": string;
|
|
690
690
|
"remind": string;
|
|
691
|
-
"description"?: string;
|
|
691
|
+
"description"?: string | null;
|
|
692
692
|
"created_at": string;
|
|
693
693
|
"updated_at": string;
|
|
694
694
|
}
|
|
@@ -703,7 +703,7 @@ export interface ReminderUntilTodayGetResponseItem extends JsonObject {
|
|
|
703
703
|
"lead_id": string;
|
|
704
704
|
"profile_id": string;
|
|
705
705
|
"remind": string;
|
|
706
|
-
"description"?: string;
|
|
706
|
+
"description"?: string | null;
|
|
707
707
|
"created_at": string;
|
|
708
708
|
"updated_at": string;
|
|
709
709
|
}
|
|
@@ -711,11 +711,11 @@ export interface ReminderUntilTodayGetResponse extends ApiEnvelope<ReminderUntil
|
|
|
711
711
|
}
|
|
712
712
|
/** Backend query type: SortQuery. */
|
|
713
713
|
export interface SosIndexGetQuery extends QueryParams {
|
|
714
|
-
"sort"?: string;
|
|
714
|
+
"sort"?: string | null;
|
|
715
715
|
}
|
|
716
716
|
/** Backend response type: SosListResponse. */
|
|
717
717
|
export interface SosIndexGetResponseData extends JsonObject {
|
|
718
|
-
"sos":
|
|
718
|
+
"sos": BackendJson<"SosResponse">[];
|
|
719
719
|
}
|
|
720
720
|
export interface SosIndexGetResponse extends ApiEnvelope<SosIndexGetResponseData> {
|
|
721
721
|
}
|
|
@@ -748,7 +748,7 @@ export interface SosShowGetResponse extends ApiEnvelope<SosShowGetResponseData>
|
|
|
748
748
|
}
|
|
749
749
|
/** Backend request type: UpdateSosRequest. */
|
|
750
750
|
export interface SosUpdatePutInput extends JsonObject {
|
|
751
|
-
"profile_id"?: string;
|
|
751
|
+
"profile_id"?: string | null;
|
|
752
752
|
}
|
|
753
753
|
/** Backend response type: SosResponse. */
|
|
754
754
|
export interface SosUpdatePutResponseData extends JsonObject {
|
|
@@ -765,7 +765,7 @@ export interface SosListLogsGetResponseItem extends JsonObject {
|
|
|
765
765
|
"id": string;
|
|
766
766
|
"sos_id": string;
|
|
767
767
|
"profile_id": string;
|
|
768
|
-
"description"?: string;
|
|
768
|
+
"description"?: string | null;
|
|
769
769
|
"created_at": string;
|
|
770
770
|
"updated_at": string;
|
|
771
771
|
}
|
|
@@ -773,14 +773,14 @@ export interface SosListLogsGetResponse extends ApiEnvelope<SosListLogsGetRespon
|
|
|
773
773
|
}
|
|
774
774
|
/** Backend request type: CreateSosLogRequest. */
|
|
775
775
|
export interface SosCreateLogPostInput extends JsonObject {
|
|
776
|
-
"description"?: string;
|
|
776
|
+
"description"?: string | null;
|
|
777
777
|
}
|
|
778
778
|
/** Backend response type: SosLogResponse. */
|
|
779
779
|
export interface SosCreateLogPostResponseData extends JsonObject {
|
|
780
780
|
"id": string;
|
|
781
781
|
"sos_id": string;
|
|
782
782
|
"profile_id": string;
|
|
783
|
-
"description"?: string;
|
|
783
|
+
"description"?: string | null;
|
|
784
784
|
"created_at": string;
|
|
785
785
|
"updated_at": string;
|
|
786
786
|
}
|
|
@@ -794,7 +794,7 @@ export interface SosShowLogGetResponseData extends JsonObject {
|
|
|
794
794
|
"id": string;
|
|
795
795
|
"sos_id": string;
|
|
796
796
|
"profile_id": string;
|
|
797
|
-
"description"?: string;
|
|
797
|
+
"description"?: string | null;
|
|
798
798
|
"created_at": string;
|
|
799
799
|
"updated_at": string;
|
|
800
800
|
}
|
|
@@ -802,14 +802,14 @@ export interface SosShowLogGetResponse extends ApiEnvelope<SosShowLogGetResponse
|
|
|
802
802
|
}
|
|
803
803
|
/** Backend request type: UpdateSosLogRequest. */
|
|
804
804
|
export interface SosUpdateLogPutInput extends JsonObject {
|
|
805
|
-
"description"?: string;
|
|
805
|
+
"description"?: string | null;
|
|
806
806
|
}
|
|
807
807
|
/** Backend response type: SosLogResponse. */
|
|
808
808
|
export interface SosUpdateLogPutResponseData extends JsonObject {
|
|
809
809
|
"id": string;
|
|
810
810
|
"sos_id": string;
|
|
811
811
|
"profile_id": string;
|
|
812
|
-
"description"?: string;
|
|
812
|
+
"description"?: string | null;
|
|
813
813
|
"created_at": string;
|
|
814
814
|
"updated_at": string;
|
|
815
815
|
}
|
|
@@ -820,7 +820,7 @@ export interface SosListTouchesGetResponseItem extends JsonObject {
|
|
|
820
820
|
"id": string;
|
|
821
821
|
"sos_id": string;
|
|
822
822
|
"profile_id": string;
|
|
823
|
-
"description"?: string;
|
|
823
|
+
"description"?: string | null;
|
|
824
824
|
"created_at": string;
|
|
825
825
|
"updated_at": string;
|
|
826
826
|
}
|
|
@@ -828,14 +828,14 @@ export interface SosListTouchesGetResponse extends ApiEnvelope<SosListTouchesGet
|
|
|
828
828
|
}
|
|
829
829
|
/** Backend request type: CreateSosTouchRequest. */
|
|
830
830
|
export interface SosCreateTouchPostInput extends JsonObject {
|
|
831
|
-
"description"?: string;
|
|
831
|
+
"description"?: string | null;
|
|
832
832
|
}
|
|
833
833
|
/** Backend response type: SosTouchResponse. */
|
|
834
834
|
export interface SosCreateTouchPostResponseData extends JsonObject {
|
|
835
835
|
"id": string;
|
|
836
836
|
"sos_id": string;
|
|
837
837
|
"profile_id": string;
|
|
838
|
-
"description"?: string;
|
|
838
|
+
"description"?: string | null;
|
|
839
839
|
"created_at": string;
|
|
840
840
|
"updated_at": string;
|
|
841
841
|
}
|
|
@@ -849,7 +849,7 @@ export interface SosShowTouchGetResponseData extends JsonObject {
|
|
|
849
849
|
"id": string;
|
|
850
850
|
"sos_id": string;
|
|
851
851
|
"profile_id": string;
|
|
852
|
-
"description"?: string;
|
|
852
|
+
"description"?: string | null;
|
|
853
853
|
"created_at": string;
|
|
854
854
|
"updated_at": string;
|
|
855
855
|
}
|
|
@@ -857,14 +857,14 @@ export interface SosShowTouchGetResponse extends ApiEnvelope<SosShowTouchGetResp
|
|
|
857
857
|
}
|
|
858
858
|
/** Backend request type: UpdateSosTouchRequest. */
|
|
859
859
|
export interface SosUpdateTouchPutInput extends JsonObject {
|
|
860
|
-
"description"?: string;
|
|
860
|
+
"description"?: string | null;
|
|
861
861
|
}
|
|
862
862
|
/** Backend response type: SosTouchResponse. */
|
|
863
863
|
export interface SosUpdateTouchPutResponseData extends JsonObject {
|
|
864
864
|
"id": string;
|
|
865
865
|
"sos_id": string;
|
|
866
866
|
"profile_id": string;
|
|
867
|
-
"description"?: string;
|
|
867
|
+
"description"?: string | null;
|
|
868
868
|
"created_at": string;
|
|
869
869
|
"updated_at": string;
|
|
870
870
|
}
|
|
@@ -872,11 +872,11 @@ export interface SosUpdateTouchPutResponse extends ApiEnvelope<SosUpdateTouchPut
|
|
|
872
872
|
}
|
|
873
873
|
/** Backend query type: SortQuery. */
|
|
874
874
|
export interface SosAllGetQuery extends QueryParams {
|
|
875
|
-
"sort"?: string;
|
|
875
|
+
"sort"?: string | null;
|
|
876
876
|
}
|
|
877
877
|
/** Backend response type: SosListResponse. */
|
|
878
878
|
export interface SosAllGetResponseData extends JsonObject {
|
|
879
|
-
"sos":
|
|
879
|
+
"sos": BackendJson<"SosResponse">[];
|
|
880
880
|
}
|
|
881
881
|
export interface SosAllGetResponse extends ApiEnvelope<SosAllGetResponseData> {
|
|
882
882
|
}
|
|
@@ -892,7 +892,7 @@ export interface SosExitAssigneeRoutePostResponse extends ApiEnvelope<SosExitAss
|
|
|
892
892
|
}
|
|
893
893
|
/** Backend response type: DailyStatsResponse. */
|
|
894
894
|
export interface StatsDailyGetResponseData extends JsonObject {
|
|
895
|
-
"workflows":
|
|
895
|
+
"workflows": BackendJson<"DailyWorkflowStats">[];
|
|
896
896
|
"total_tasks": number;
|
|
897
897
|
"total_done_tasks": number;
|
|
898
898
|
"extra_tasks_done": number;
|
|
@@ -903,14 +903,14 @@ export interface StatsDailyGetResponse extends ApiEnvelope<StatsDailyGetResponse
|
|
|
903
903
|
/** Backend response type: LeadStatsResponse. */
|
|
904
904
|
export interface StatsLeadGetResponseData extends JsonObject {
|
|
905
905
|
"total": number;
|
|
906
|
-
"workflows":
|
|
906
|
+
"workflows": BackendJson<"WorkflowLeadStats">[];
|
|
907
907
|
"permissions": string[];
|
|
908
908
|
}
|
|
909
909
|
export interface StatsLeadGetResponse extends ApiEnvelope<StatsLeadGetResponseData> {
|
|
910
910
|
}
|
|
911
911
|
/** Backend query type: SortQuery. */
|
|
912
912
|
export interface TeamIndexGetQuery extends QueryParams {
|
|
913
|
-
"sort"?: string;
|
|
913
|
+
"sort"?: string | null;
|
|
914
914
|
}
|
|
915
915
|
/** Backend response type: Vec<TeamResponse>. */
|
|
916
916
|
export interface TeamIndexGetResponseItem extends JsonObject {
|
|
@@ -936,7 +936,7 @@ export interface TeamCreatePostResponse extends ApiEnvelope<TeamCreatePostRespon
|
|
|
936
936
|
}
|
|
937
937
|
/** Backend query type: SortQuery. */
|
|
938
938
|
export interface TeamUserIndexGetQuery extends QueryParams {
|
|
939
|
-
"sort"?: string;
|
|
939
|
+
"sort"?: string | null;
|
|
940
940
|
}
|
|
941
941
|
/** Backend response type: Vec<TeamUserResponse>. */
|
|
942
942
|
export interface TeamUserIndexGetResponseItem extends JsonObject {
|
|
@@ -978,8 +978,8 @@ export interface TeamUserShowGetResponse extends ApiEnvelope<TeamUserShowGetResp
|
|
|
978
978
|
}
|
|
979
979
|
/** Backend request type: UpdateTeamUserRequest. */
|
|
980
980
|
export interface TeamUserUpdatePutInput extends JsonObject {
|
|
981
|
-
"team_id"?: string;
|
|
982
|
-
"profile_id"?: string;
|
|
981
|
+
"team_id"?: string | null;
|
|
982
|
+
"profile_id"?: string | null;
|
|
983
983
|
}
|
|
984
984
|
/** Backend response type: TeamUserResponse. */
|
|
985
985
|
export interface TeamUserUpdatePutResponseData extends JsonObject {
|
|
@@ -1020,7 +1020,7 @@ export interface TeamShowGetResponse extends ApiEnvelope<TeamShowGetResponseData
|
|
|
1020
1020
|
}
|
|
1021
1021
|
/** Backend request type: UpdateTeamRequest. */
|
|
1022
1022
|
export interface TeamUpdatePutInput extends JsonObject {
|
|
1023
|
-
"name"?: string;
|
|
1023
|
+
"name"?: string | null;
|
|
1024
1024
|
}
|
|
1025
1025
|
/** Backend response type: TeamResponse. */
|
|
1026
1026
|
export interface TeamUpdatePutResponseData extends JsonObject {
|
|
@@ -1075,9 +1075,9 @@ export interface WebhookShowGetResponse extends ApiEnvelope<WebhookShowGetRespon
|
|
|
1075
1075
|
}
|
|
1076
1076
|
/** Backend request type: UpdateWebhookRequest. */
|
|
1077
1077
|
export interface WebhookUpdatePutInput extends JsonObject {
|
|
1078
|
-
"domain"?: string;
|
|
1079
|
-
"events"?: JsonValue;
|
|
1080
|
-
"workflow_id"?: string;
|
|
1078
|
+
"domain"?: string | null;
|
|
1079
|
+
"events"?: JsonValue | null;
|
|
1080
|
+
"workflow_id"?: string | null;
|
|
1081
1081
|
}
|
|
1082
1082
|
/** Backend response type: WebhookResponse. */
|
|
1083
1083
|
export interface WebhookUpdatePutResponseData extends JsonObject {
|
|
@@ -1092,7 +1092,7 @@ export interface WebhookUpdatePutResponse extends ApiEnvelope<WebhookUpdatePutRe
|
|
|
1092
1092
|
}
|
|
1093
1093
|
/** Backend query type: SortQuery. */
|
|
1094
1094
|
export interface WorkflowIndexGetQuery extends QueryParams {
|
|
1095
|
-
"sort"?: string;
|
|
1095
|
+
"sort"?: string | null;
|
|
1096
1096
|
}
|
|
1097
1097
|
/** Backend response type: Vec<WorkflowResponse>. */
|
|
1098
1098
|
export interface WorkflowIndexGetResponseItem extends JsonObject {
|
|
@@ -1102,8 +1102,8 @@ export interface WorkflowIndexGetResponseItem extends JsonObject {
|
|
|
1102
1102
|
"acquire_flags": string[];
|
|
1103
1103
|
"priority": number;
|
|
1104
1104
|
"can_create_lead": boolean;
|
|
1105
|
-
"actions"?: JsonValue;
|
|
1106
|
-
"hint"?: string;
|
|
1105
|
+
"actions"?: JsonValue | null;
|
|
1106
|
+
"hint"?: string | null;
|
|
1107
1107
|
"created_at": string;
|
|
1108
1108
|
"updated_at": string;
|
|
1109
1109
|
}
|
|
@@ -1115,9 +1115,9 @@ export interface WorkflowCreatePostInput extends JsonObject {
|
|
|
1115
1115
|
"slug": string;
|
|
1116
1116
|
"acquire_flags": string[];
|
|
1117
1117
|
"priority": number;
|
|
1118
|
-
"can_create_lead"
|
|
1119
|
-
"actions"?: JsonValue;
|
|
1120
|
-
"hint"?: string;
|
|
1118
|
+
"can_create_lead"?: boolean;
|
|
1119
|
+
"actions"?: JsonValue | null;
|
|
1120
|
+
"hint"?: string | null;
|
|
1121
1121
|
}
|
|
1122
1122
|
/** Backend response type: WorkflowResponse. */
|
|
1123
1123
|
export interface WorkflowCreatePostResponseData extends JsonObject {
|
|
@@ -1127,8 +1127,8 @@ export interface WorkflowCreatePostResponseData extends JsonObject {
|
|
|
1127
1127
|
"acquire_flags": string[];
|
|
1128
1128
|
"priority": number;
|
|
1129
1129
|
"can_create_lead": boolean;
|
|
1130
|
-
"actions"?: JsonValue;
|
|
1131
|
-
"hint"?: string;
|
|
1130
|
+
"actions"?: JsonValue | null;
|
|
1131
|
+
"hint"?: string | null;
|
|
1132
1132
|
"created_at": string;
|
|
1133
1133
|
"updated_at": string;
|
|
1134
1134
|
}
|
|
@@ -1138,8 +1138,8 @@ export interface WorkflowCreatePostResponse extends ApiEnvelope<WorkflowCreatePo
|
|
|
1138
1138
|
export interface WorkflowMemberIndexGetResponseItem extends JsonObject {
|
|
1139
1139
|
"id": string;
|
|
1140
1140
|
"workflow_id": string;
|
|
1141
|
-
"team_id"?: string;
|
|
1142
|
-
"profile_id"?: string;
|
|
1141
|
+
"team_id"?: string | null;
|
|
1142
|
+
"profile_id"?: string | null;
|
|
1143
1143
|
"created_at": string;
|
|
1144
1144
|
"updated_at": string;
|
|
1145
1145
|
}
|
|
@@ -1152,8 +1152,8 @@ export interface WorkflowMemberDestroyDeleteResponse extends ApiEnvelope<boolean
|
|
|
1152
1152
|
export interface WorkflowMemberShowGetResponseData extends JsonObject {
|
|
1153
1153
|
"id": string;
|
|
1154
1154
|
"workflow_id": string;
|
|
1155
|
-
"team_id"?: string;
|
|
1156
|
-
"profile_id"?: string;
|
|
1155
|
+
"team_id"?: string | null;
|
|
1156
|
+
"profile_id"?: string | null;
|
|
1157
1157
|
"created_at": string;
|
|
1158
1158
|
"updated_at": string;
|
|
1159
1159
|
}
|
|
@@ -1161,15 +1161,15 @@ export interface WorkflowMemberShowGetResponse extends ApiEnvelope<WorkflowMembe
|
|
|
1161
1161
|
}
|
|
1162
1162
|
/** Backend request type: CreateWorkflowMemberRequest. */
|
|
1163
1163
|
export interface WorkflowMemberCreatePostInput extends JsonObject {
|
|
1164
|
-
"team_id"?: string;
|
|
1165
|
-
"profile_id"?: string;
|
|
1164
|
+
"team_id"?: string | null;
|
|
1165
|
+
"profile_id"?: string | null;
|
|
1166
1166
|
}
|
|
1167
1167
|
/** Backend response type: WorkflowMemberResponse. */
|
|
1168
1168
|
export interface WorkflowMemberCreatePostResponseData extends JsonObject {
|
|
1169
1169
|
"id": string;
|
|
1170
1170
|
"workflow_id": string;
|
|
1171
|
-
"team_id"?: string;
|
|
1172
|
-
"profile_id"?: string;
|
|
1171
|
+
"team_id"?: string | null;
|
|
1172
|
+
"profile_id"?: string | null;
|
|
1173
1173
|
"created_at": string;
|
|
1174
1174
|
"updated_at": string;
|
|
1175
1175
|
}
|
|
@@ -1177,15 +1177,15 @@ export interface WorkflowMemberCreatePostResponse extends ApiEnvelope<WorkflowMe
|
|
|
1177
1177
|
}
|
|
1178
1178
|
/** Backend request type: UpdateWorkflowMemberRequest. */
|
|
1179
1179
|
export interface WorkflowMemberUpdatePutInput extends JsonObject {
|
|
1180
|
-
"team_id"?: string;
|
|
1181
|
-
"profile_id"?: string;
|
|
1180
|
+
"team_id"?: string | null;
|
|
1181
|
+
"profile_id"?: string | null;
|
|
1182
1182
|
}
|
|
1183
1183
|
/** Backend response type: WorkflowMemberResponse. */
|
|
1184
1184
|
export interface WorkflowMemberUpdatePutResponseData extends JsonObject {
|
|
1185
1185
|
"id": string;
|
|
1186
1186
|
"workflow_id": string;
|
|
1187
|
-
"team_id"?: string;
|
|
1188
|
-
"profile_id"?: string;
|
|
1187
|
+
"team_id"?: string | null;
|
|
1188
|
+
"profile_id"?: string | null;
|
|
1189
1189
|
"created_at": string;
|
|
1190
1190
|
"updated_at": string;
|
|
1191
1191
|
}
|
|
@@ -1195,8 +1195,8 @@ export interface WorkflowMemberUpdatePutResponse extends ApiEnvelope<WorkflowMem
|
|
|
1195
1195
|
export interface WorkflowMemberByWorkflowGetResponseItem extends JsonObject {
|
|
1196
1196
|
"id": string;
|
|
1197
1197
|
"workflow_id": string;
|
|
1198
|
-
"team_id"?: string;
|
|
1199
|
-
"profile_id"?: string;
|
|
1198
|
+
"team_id"?: string | null;
|
|
1199
|
+
"profile_id"?: string | null;
|
|
1200
1200
|
"created_at": string;
|
|
1201
1201
|
"updated_at": string;
|
|
1202
1202
|
}
|
|
@@ -1204,7 +1204,7 @@ export interface WorkflowMemberByWorkflowGetResponse extends ApiEnvelope<Workflo
|
|
|
1204
1204
|
}
|
|
1205
1205
|
/** Backend query type: SortQuery. */
|
|
1206
1206
|
export interface WorkflowNodeIndexGetQuery extends QueryParams {
|
|
1207
|
-
"sort"?: string;
|
|
1207
|
+
"sort"?: string | null;
|
|
1208
1208
|
}
|
|
1209
1209
|
/** Backend response type: Vec<WorkflowNodeResponse>. */
|
|
1210
1210
|
export interface WorkflowNodeIndexGetResponseItem extends JsonObject {
|
|
@@ -1215,7 +1215,7 @@ export interface WorkflowNodeIndexGetResponseItem extends JsonObject {
|
|
|
1215
1215
|
"workflow_id": string;
|
|
1216
1216
|
"is_draggable_in": boolean;
|
|
1217
1217
|
"is_draggable_out": boolean;
|
|
1218
|
-
"actions"?: JsonValue;
|
|
1218
|
+
"actions"?: JsonValue | null;
|
|
1219
1219
|
"auto_win": boolean;
|
|
1220
1220
|
"created_at": string;
|
|
1221
1221
|
"updated_at": string;
|
|
@@ -1234,7 +1234,7 @@ export interface WorkflowNodeShowGetResponseData extends JsonObject {
|
|
|
1234
1234
|
"workflow_id": string;
|
|
1235
1235
|
"is_draggable_in": boolean;
|
|
1236
1236
|
"is_draggable_out": boolean;
|
|
1237
|
-
"actions"?: JsonValue;
|
|
1237
|
+
"actions"?: JsonValue | null;
|
|
1238
1238
|
"auto_win": boolean;
|
|
1239
1239
|
"created_at": string;
|
|
1240
1240
|
"updated_at": string;
|
|
@@ -1246,10 +1246,10 @@ export interface WorkflowNodeCreatePostInput extends JsonObject {
|
|
|
1246
1246
|
"name": string;
|
|
1247
1247
|
"slug": string;
|
|
1248
1248
|
"priority": number;
|
|
1249
|
-
"is_draggable_in"
|
|
1250
|
-
"is_draggable_out"
|
|
1251
|
-
"actions"?: JsonValue;
|
|
1252
|
-
"auto_win"
|
|
1249
|
+
"is_draggable_in"?: boolean;
|
|
1250
|
+
"is_draggable_out"?: boolean;
|
|
1251
|
+
"actions"?: JsonValue | null;
|
|
1252
|
+
"auto_win"?: boolean;
|
|
1253
1253
|
}
|
|
1254
1254
|
/** Backend response type: WorkflowNodeResponse. */
|
|
1255
1255
|
export interface WorkflowNodeCreatePostResponseData extends JsonObject {
|
|
@@ -1260,7 +1260,7 @@ export interface WorkflowNodeCreatePostResponseData extends JsonObject {
|
|
|
1260
1260
|
"workflow_id": string;
|
|
1261
1261
|
"is_draggable_in": boolean;
|
|
1262
1262
|
"is_draggable_out": boolean;
|
|
1263
|
-
"actions"?: JsonValue;
|
|
1263
|
+
"actions"?: JsonValue | null;
|
|
1264
1264
|
"auto_win": boolean;
|
|
1265
1265
|
"created_at": string;
|
|
1266
1266
|
"updated_at": string;
|
|
@@ -1269,13 +1269,13 @@ export interface WorkflowNodeCreatePostResponse extends ApiEnvelope<WorkflowNode
|
|
|
1269
1269
|
}
|
|
1270
1270
|
/** Backend request type: UpdateWorkflowNodeRequest. */
|
|
1271
1271
|
export interface WorkflowNodeUpdatePutInput extends JsonObject {
|
|
1272
|
-
"name"?: string;
|
|
1273
|
-
"slug"?: string;
|
|
1274
|
-
"priority"?: number;
|
|
1275
|
-
"is_draggable_in"?: boolean;
|
|
1276
|
-
"is_draggable_out"?: boolean;
|
|
1277
|
-
"actions"?: JsonValue;
|
|
1278
|
-
"auto_win"?: boolean;
|
|
1272
|
+
"name"?: string | null;
|
|
1273
|
+
"slug"?: string | null;
|
|
1274
|
+
"priority"?: number | null;
|
|
1275
|
+
"is_draggable_in"?: boolean | null;
|
|
1276
|
+
"is_draggable_out"?: boolean | null;
|
|
1277
|
+
"actions"?: JsonValue | null;
|
|
1278
|
+
"auto_win"?: boolean | null;
|
|
1279
1279
|
}
|
|
1280
1280
|
/** Backend response type: WorkflowNodeResponse. */
|
|
1281
1281
|
export interface WorkflowNodeUpdatePutResponseData extends JsonObject {
|
|
@@ -1286,7 +1286,7 @@ export interface WorkflowNodeUpdatePutResponseData extends JsonObject {
|
|
|
1286
1286
|
"workflow_id": string;
|
|
1287
1287
|
"is_draggable_in": boolean;
|
|
1288
1288
|
"is_draggable_out": boolean;
|
|
1289
|
-
"actions"?: JsonValue;
|
|
1289
|
+
"actions"?: JsonValue | null;
|
|
1290
1290
|
"auto_win": boolean;
|
|
1291
1291
|
"created_at": string;
|
|
1292
1292
|
"updated_at": string;
|
|
@@ -1304,8 +1304,8 @@ export interface WorkflowShowGetResponseData extends JsonObject {
|
|
|
1304
1304
|
"acquire_flags": string[];
|
|
1305
1305
|
"priority": number;
|
|
1306
1306
|
"can_create_lead": boolean;
|
|
1307
|
-
"actions"?: JsonValue;
|
|
1308
|
-
"hint"?: string;
|
|
1307
|
+
"actions"?: JsonValue | null;
|
|
1308
|
+
"hint"?: string | null;
|
|
1309
1309
|
"created_at": string;
|
|
1310
1310
|
"updated_at": string;
|
|
1311
1311
|
}
|
|
@@ -1313,13 +1313,13 @@ export interface WorkflowShowGetResponse extends ApiEnvelope<WorkflowShowGetResp
|
|
|
1313
1313
|
}
|
|
1314
1314
|
/** Backend request type: UpdateWorkflowRequest. */
|
|
1315
1315
|
export interface WorkflowUpdatePutInput extends JsonObject {
|
|
1316
|
-
"name"?: string;
|
|
1317
|
-
"slug"?: string;
|
|
1318
|
-
"acquire_flags"?: string[];
|
|
1319
|
-
"priority"?: number;
|
|
1320
|
-
"can_create_lead"?: boolean;
|
|
1321
|
-
"actions"?: JsonValue;
|
|
1322
|
-
"hint"?: string;
|
|
1316
|
+
"name"?: string | null;
|
|
1317
|
+
"slug"?: string | null;
|
|
1318
|
+
"acquire_flags"?: string[] | null;
|
|
1319
|
+
"priority"?: number | null;
|
|
1320
|
+
"can_create_lead"?: boolean | null;
|
|
1321
|
+
"actions"?: JsonValue | null;
|
|
1322
|
+
"hint"?: string | null;
|
|
1323
1323
|
}
|
|
1324
1324
|
/** Backend response type: WorkflowResponse. */
|
|
1325
1325
|
export interface WorkflowUpdatePutResponseData extends JsonObject {
|
|
@@ -1329,8 +1329,8 @@ export interface WorkflowUpdatePutResponseData extends JsonObject {
|
|
|
1329
1329
|
"acquire_flags": string[];
|
|
1330
1330
|
"priority": number;
|
|
1331
1331
|
"can_create_lead": boolean;
|
|
1332
|
-
"actions"?: JsonValue;
|
|
1333
|
-
"hint"?: string;
|
|
1332
|
+
"actions"?: JsonValue | null;
|
|
1333
|
+
"hint"?: string | null;
|
|
1334
1334
|
"created_at": string;
|
|
1335
1335
|
"updated_at": string;
|
|
1336
1336
|
}
|
|
@@ -1344,8 +1344,8 @@ export interface WorkflowMemberBasedGetResponseItem extends JsonObject {
|
|
|
1344
1344
|
"acquire_flags": string[];
|
|
1345
1345
|
"priority": number;
|
|
1346
1346
|
"can_create_lead": boolean;
|
|
1347
|
-
"actions"?: JsonValue;
|
|
1348
|
-
"hint"?: string;
|
|
1347
|
+
"actions"?: JsonValue | null;
|
|
1348
|
+
"hint"?: string | null;
|
|
1349
1349
|
"created_at": string;
|
|
1350
1350
|
"updated_at": string;
|
|
1351
1351
|
}
|
|
@@ -1353,7 +1353,7 @@ export interface WorkflowMemberBasedGetResponse extends ApiEnvelope<WorkflowMemb
|
|
|
1353
1353
|
}
|
|
1354
1354
|
/** Backend query type: SortQuery. */
|
|
1355
1355
|
export interface WorklogIndexGetQuery extends QueryParams {
|
|
1356
|
-
"sort"?: string;
|
|
1356
|
+
"sort"?: string | null;
|
|
1357
1357
|
}
|
|
1358
1358
|
/** Backend response type: Vec<WorklogResponse>. */
|
|
1359
1359
|
export interface WorklogIndexGetResponseItem extends JsonObject {
|
|
@@ -1363,7 +1363,7 @@ export interface WorklogIndexGetResponseItem extends JsonObject {
|
|
|
1363
1363
|
"profile_id": string;
|
|
1364
1364
|
"start_date": string;
|
|
1365
1365
|
"duration": number;
|
|
1366
|
-
"description"?: string;
|
|
1366
|
+
"description"?: string | null;
|
|
1367
1367
|
"created_at": string;
|
|
1368
1368
|
"updated_at": string;
|
|
1369
1369
|
}
|
|
@@ -1374,7 +1374,7 @@ export interface WorklogCreatePostInput extends JsonObject {
|
|
|
1374
1374
|
"log_type": string;
|
|
1375
1375
|
"start_date": string;
|
|
1376
1376
|
"duration": number;
|
|
1377
|
-
"description"?: string;
|
|
1377
|
+
"description"?: string | null;
|
|
1378
1378
|
"profile_id": string;
|
|
1379
1379
|
}
|
|
1380
1380
|
/** Backend response type: WorklogResponse. */
|
|
@@ -1385,7 +1385,7 @@ export interface WorklogCreatePostResponseData extends JsonObject {
|
|
|
1385
1385
|
"profile_id": string;
|
|
1386
1386
|
"start_date": string;
|
|
1387
1387
|
"duration": number;
|
|
1388
|
-
"description"?: string;
|
|
1388
|
+
"description"?: string | null;
|
|
1389
1389
|
"created_at": string;
|
|
1390
1390
|
"updated_at": string;
|
|
1391
1391
|
}
|
|
@@ -1402,7 +1402,7 @@ export interface WorklogShowGetResponseData extends JsonObject {
|
|
|
1402
1402
|
"profile_id": string;
|
|
1403
1403
|
"start_date": string;
|
|
1404
1404
|
"duration": number;
|
|
1405
|
-
"description"?: string;
|
|
1405
|
+
"description"?: string | null;
|
|
1406
1406
|
"created_at": string;
|
|
1407
1407
|
"updated_at": string;
|
|
1408
1408
|
}
|
|
@@ -1410,11 +1410,11 @@ export interface WorklogShowGetResponse extends ApiEnvelope<WorklogShowGetRespon
|
|
|
1410
1410
|
}
|
|
1411
1411
|
/** Backend request type: UpdateWorklogRequest. */
|
|
1412
1412
|
export interface WorklogUpdatePutInput extends JsonObject {
|
|
1413
|
-
"log_type"?: string;
|
|
1414
|
-
"start_date"?: string;
|
|
1415
|
-
"duration"?: number;
|
|
1416
|
-
"description"?: string;
|
|
1417
|
-
"profile_id"?: string;
|
|
1413
|
+
"log_type"?: string | null;
|
|
1414
|
+
"start_date"?: string | null;
|
|
1415
|
+
"duration"?: number | null;
|
|
1416
|
+
"description"?: string | null;
|
|
1417
|
+
"profile_id"?: string | null;
|
|
1418
1418
|
}
|
|
1419
1419
|
/** Backend response type: WorklogResponse. */
|
|
1420
1420
|
export interface WorklogUpdatePutResponseData extends JsonObject {
|
|
@@ -1424,16 +1424,16 @@ export interface WorklogUpdatePutResponseData extends JsonObject {
|
|
|
1424
1424
|
"profile_id": string;
|
|
1425
1425
|
"start_date": string;
|
|
1426
1426
|
"duration": number;
|
|
1427
|
-
"description"?: string;
|
|
1427
|
+
"description"?: string | null;
|
|
1428
1428
|
"created_at": string;
|
|
1429
1429
|
"updated_at": string;
|
|
1430
1430
|
}
|
|
1431
1431
|
export interface WorklogUpdatePutResponse extends ApiEnvelope<WorklogUpdatePutResponseData> {
|
|
1432
1432
|
}
|
|
1433
|
-
/** Backend response type:
|
|
1433
|
+
/** Backend response type: api. */
|
|
1434
1434
|
export interface RouterStatusRouteGetHealthResponse extends ApiEnvelope<JsonValue> {
|
|
1435
1435
|
}
|
|
1436
|
-
/** Backend response type:
|
|
1436
|
+
/** Backend response type: api. */
|
|
1437
1437
|
export interface RouterStatusRouteGetUpResponse extends ApiEnvelope<JsonValue> {
|
|
1438
1438
|
}
|
|
1439
1439
|
//# sourceMappingURL=operations.types.d.ts.map
|