@faiber/faiber-profile 0.11.0 → 0.11.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.types.d.ts +1288 -291
- package/dist/operations.types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -18,11 +18,132 @@ export interface SessionGetChatContextGetResponseData extends JsonObject {
|
|
|
18
18
|
export interface SessionGetChatContextGetResponse extends ApiEnvelope<SessionGetChatContextGetResponseData> {
|
|
19
19
|
}
|
|
20
20
|
/** Backend response type: SessionResponse. */
|
|
21
|
+
export interface SessionGetSelfGetResponseDataProfileRoles extends JsonObject {
|
|
22
|
+
"id": string;
|
|
23
|
+
"name": string;
|
|
24
|
+
}
|
|
25
|
+
export interface SessionGetSelfGetResponseDataProfileCredential extends JsonObject {
|
|
26
|
+
"handle_registration": number;
|
|
27
|
+
"handle_registration_with_installment": number;
|
|
28
|
+
"handle_await_installment": number;
|
|
29
|
+
"handle_overdue_installment": number;
|
|
30
|
+
"handle_freemium_sessions": number;
|
|
31
|
+
"handle_cancel": number;
|
|
32
|
+
"total": number;
|
|
33
|
+
}
|
|
34
|
+
export interface SessionGetSelfGetResponseDataProfileOfficeEnrollments extends JsonObject {
|
|
35
|
+
"enrollment_id": number;
|
|
36
|
+
"student_id"?: number | null;
|
|
37
|
+
"classroom_id"?: number | null;
|
|
38
|
+
"course_id"?: number | null;
|
|
39
|
+
"support_user_id"?: string | null;
|
|
40
|
+
"amount"?: number | null;
|
|
41
|
+
"discount_amount"?: number | null;
|
|
42
|
+
"remain_amount"?: number | null;
|
|
43
|
+
"total_sessions"?: number | null;
|
|
44
|
+
"freemium_sessions"?: number | null;
|
|
45
|
+
"freemium_sessions_used"?: number | null;
|
|
46
|
+
"education_status_id"?: number | null;
|
|
47
|
+
"archive": boolean;
|
|
48
|
+
}
|
|
49
|
+
export interface SessionGetSelfGetResponseDataProfileOfficeTransactions extends JsonObject {
|
|
50
|
+
"transaction_id": number;
|
|
51
|
+
"subject"?: string | null;
|
|
52
|
+
"amount"?: number | null;
|
|
53
|
+
"status"?: string | null;
|
|
54
|
+
"support_user_id"?: string | null;
|
|
55
|
+
"deposit_at"?: string | null;
|
|
56
|
+
"archive": boolean;
|
|
57
|
+
}
|
|
58
|
+
export interface SessionGetSelfGetResponseDataProfileOfficeInstallments extends JsonObject {
|
|
59
|
+
"installment_id": number;
|
|
60
|
+
"amount"?: number | null;
|
|
61
|
+
"status"?: string | null;
|
|
62
|
+
"paid_at"?: string | null;
|
|
63
|
+
"deadline"?: string | null;
|
|
64
|
+
"archive": boolean;
|
|
65
|
+
}
|
|
66
|
+
export interface SessionGetSelfGetResponseDataProfileOfficeWallets extends JsonObject {
|
|
67
|
+
"wallet_id": number;
|
|
68
|
+
"balance"?: number | null;
|
|
69
|
+
}
|
|
70
|
+
export interface SessionGetSelfGetResponseDataProfileOfficeWalletTransactions extends JsonObject {
|
|
71
|
+
"wallet_transaction_id": number;
|
|
72
|
+
"amount"?: number | null;
|
|
73
|
+
"transaction_type"?: string | null;
|
|
74
|
+
}
|
|
75
|
+
export interface SessionGetSelfGetResponseDataProfileOffice extends JsonObject {
|
|
76
|
+
"account_balance"?: number | null;
|
|
77
|
+
"wallet_balance"?: number | null;
|
|
78
|
+
"enrollments": SessionGetSelfGetResponseDataProfileOfficeEnrollments[];
|
|
79
|
+
"transactions": SessionGetSelfGetResponseDataProfileOfficeTransactions[];
|
|
80
|
+
"installments": SessionGetSelfGetResponseDataProfileOfficeInstallments[];
|
|
81
|
+
"wallets": SessionGetSelfGetResponseDataProfileOfficeWallets[];
|
|
82
|
+
"wallet_transactions": SessionGetSelfGetResponseDataProfileOfficeWalletTransactions[];
|
|
83
|
+
}
|
|
84
|
+
export interface SessionGetSelfGetResponseDataProfileLmsClassrooms extends JsonObject {
|
|
85
|
+
"classroom_id": string;
|
|
86
|
+
"name"?: string | null;
|
|
87
|
+
"course_id"?: string | null;
|
|
88
|
+
"capacity"?: number | null;
|
|
89
|
+
"starts_at"?: string | null;
|
|
90
|
+
"ends_at"?: string | null;
|
|
91
|
+
"classroom_type_id"?: string | null;
|
|
92
|
+
"status"?: string | null;
|
|
93
|
+
"consultant_user_id"?: string | null;
|
|
94
|
+
"teacher_user_id"?: string | null;
|
|
95
|
+
"support_user_id"?: string | null;
|
|
96
|
+
}
|
|
97
|
+
export interface SessionGetSelfGetResponseDataProfileLmsClassroomSessions extends JsonObject {
|
|
98
|
+
"session_id": string;
|
|
99
|
+
"classroom_id"?: string | null;
|
|
100
|
+
"starts_at"?: string | null;
|
|
101
|
+
"ends_at"?: string | null;
|
|
102
|
+
"status"?: string | null;
|
|
103
|
+
}
|
|
104
|
+
export interface SessionGetSelfGetResponseDataProfileLmsClassroomUsers extends JsonObject {
|
|
105
|
+
"classroom_id": string;
|
|
106
|
+
"score"?: number | null;
|
|
107
|
+
"status"?: string | null;
|
|
108
|
+
}
|
|
109
|
+
export interface SessionGetSelfGetResponseDataProfileLms extends JsonObject {
|
|
110
|
+
"classrooms": SessionGetSelfGetResponseDataProfileLmsClassrooms[];
|
|
111
|
+
"classroom_sessions": SessionGetSelfGetResponseDataProfileLmsClassroomSessions[];
|
|
112
|
+
"classroom_users": SessionGetSelfGetResponseDataProfileLmsClassroomUsers[];
|
|
113
|
+
}
|
|
114
|
+
export interface SessionGetSelfGetResponseDataProfileParent extends JsonObject {
|
|
115
|
+
"user_id": string;
|
|
116
|
+
"parent_type"?: string | null;
|
|
117
|
+
}
|
|
118
|
+
export interface SessionGetSelfGetResponseDataProfile extends JsonObject {
|
|
119
|
+
"id": string;
|
|
120
|
+
"user_id": string;
|
|
121
|
+
"email"?: string | null;
|
|
122
|
+
"phone"?: string | null;
|
|
123
|
+
"national_code"?: string | null;
|
|
124
|
+
"first_name"?: JsonValue | null;
|
|
125
|
+
"last_name"?: JsonValue | null;
|
|
126
|
+
"status": string;
|
|
127
|
+
"employee_type"?: string | null;
|
|
128
|
+
"freemium_session_limit"?: number | null;
|
|
129
|
+
"avatar"?: string | null;
|
|
130
|
+
"has_active_enrollment": boolean;
|
|
131
|
+
"roles": SessionGetSelfGetResponseDataProfileRoles[];
|
|
132
|
+
"credential"?: SessionGetSelfGetResponseDataProfileCredential | null;
|
|
133
|
+
"meta"?: JsonValue | null;
|
|
134
|
+
"app"?: JsonValue | null;
|
|
135
|
+
"assessment"?: JsonValue | null;
|
|
136
|
+
"office"?: SessionGetSelfGetResponseDataProfileOffice | null;
|
|
137
|
+
"lms"?: SessionGetSelfGetResponseDataProfileLms | null;
|
|
138
|
+
"properties"?: BackendJson<"serde_json::Map<String, Value>"> | null;
|
|
139
|
+
"services"?: BackendJson<"serde_json::Map<String, Value>"> | null;
|
|
140
|
+
"parent"?: SessionGetSelfGetResponseDataProfileParent[] | null;
|
|
141
|
+
}
|
|
21
142
|
export interface SessionGetSelfGetResponseData extends JsonObject {
|
|
22
143
|
"user_id": string;
|
|
23
144
|
"roles": string[];
|
|
24
145
|
"permissions": string[];
|
|
25
|
-
"profile":
|
|
146
|
+
"profile": SessionGetSelfGetResponseDataProfile;
|
|
26
147
|
}
|
|
27
148
|
export interface SessionGetSelfGetResponse extends ApiEnvelope<SessionGetSelfGetResponseData> {
|
|
28
149
|
}
|
|
@@ -57,8 +178,19 @@ export interface CityIndexGetQuery extends QueryParams {
|
|
|
57
178
|
"filter[trashed]"?: string | null;
|
|
58
179
|
}
|
|
59
180
|
/** Backend response type: models::ListData. */
|
|
181
|
+
export interface CityIndexGetResponseDataCities extends JsonObject {
|
|
182
|
+
"id": string;
|
|
183
|
+
"province_id": string;
|
|
184
|
+
"name": string;
|
|
185
|
+
"latitude"?: number | null;
|
|
186
|
+
"longitude"?: number | null;
|
|
187
|
+
"status": string;
|
|
188
|
+
"created_at": string;
|
|
189
|
+
"updated_at"?: string | null;
|
|
190
|
+
"deleted_at"?: string | null;
|
|
191
|
+
}
|
|
60
192
|
export interface CityIndexGetResponseData extends JsonObject {
|
|
61
|
-
"cities":
|
|
193
|
+
"cities": CityIndexGetResponseDataCities[];
|
|
62
194
|
}
|
|
63
195
|
export interface CityIndexGetMetaData extends JsonObject {
|
|
64
196
|
"current_page": number;
|
|
@@ -77,8 +209,19 @@ export interface CityStorePostInput extends JsonObject {
|
|
|
77
209
|
"longitude"?: number | null;
|
|
78
210
|
}
|
|
79
211
|
/** Backend response type: models::SingleData. */
|
|
212
|
+
export interface CityStorePostResponseDataCity extends JsonObject {
|
|
213
|
+
"id": string;
|
|
214
|
+
"province_id": string;
|
|
215
|
+
"name": string;
|
|
216
|
+
"latitude"?: number | null;
|
|
217
|
+
"longitude"?: number | null;
|
|
218
|
+
"status": string;
|
|
219
|
+
"created_at": string;
|
|
220
|
+
"updated_at"?: string | null;
|
|
221
|
+
"deleted_at"?: string | null;
|
|
222
|
+
}
|
|
80
223
|
export interface CityStorePostResponseData extends JsonObject {
|
|
81
|
-
"city":
|
|
224
|
+
"city": CityStorePostResponseDataCity;
|
|
82
225
|
}
|
|
83
226
|
export interface CityStorePostResponse extends ApiEnvelope<CityStorePostResponseData> {
|
|
84
227
|
}
|
|
@@ -86,8 +229,19 @@ export interface CityStorePostResponse extends ApiEnvelope<CityStorePostResponse
|
|
|
86
229
|
export interface CityDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
87
230
|
}
|
|
88
231
|
/** Backend response type: models::SingleData. */
|
|
232
|
+
export interface CityShowGetResponseDataCity extends JsonObject {
|
|
233
|
+
"id": string;
|
|
234
|
+
"province_id": string;
|
|
235
|
+
"name": string;
|
|
236
|
+
"latitude"?: number | null;
|
|
237
|
+
"longitude"?: number | null;
|
|
238
|
+
"status": string;
|
|
239
|
+
"created_at": string;
|
|
240
|
+
"updated_at"?: string | null;
|
|
241
|
+
"deleted_at"?: string | null;
|
|
242
|
+
}
|
|
89
243
|
export interface CityShowGetResponseData extends JsonObject {
|
|
90
|
-
"city":
|
|
244
|
+
"city": CityShowGetResponseDataCity;
|
|
91
245
|
}
|
|
92
246
|
export interface CityShowGetResponse extends ApiEnvelope<CityShowGetResponseData> {
|
|
93
247
|
}
|
|
@@ -100,8 +254,19 @@ export interface CityUpdatePatchInput extends JsonObject {
|
|
|
100
254
|
"status"?: string | null;
|
|
101
255
|
}
|
|
102
256
|
/** Backend response type: models::SingleData. */
|
|
257
|
+
export interface CityUpdatePatchResponseDataCity extends JsonObject {
|
|
258
|
+
"id": string;
|
|
259
|
+
"province_id": string;
|
|
260
|
+
"name": string;
|
|
261
|
+
"latitude"?: number | null;
|
|
262
|
+
"longitude"?: number | null;
|
|
263
|
+
"status": string;
|
|
264
|
+
"created_at": string;
|
|
265
|
+
"updated_at"?: string | null;
|
|
266
|
+
"deleted_at"?: string | null;
|
|
267
|
+
}
|
|
103
268
|
export interface CityUpdatePatchResponseData extends JsonObject {
|
|
104
|
-
"city":
|
|
269
|
+
"city": CityUpdatePatchResponseDataCity;
|
|
105
270
|
}
|
|
106
271
|
export interface CityUpdatePatchResponse extends ApiEnvelope<CityUpdatePatchResponseData> {
|
|
107
272
|
}
|
|
@@ -114,8 +279,19 @@ export interface CityUpdatePutInput extends JsonObject {
|
|
|
114
279
|
"status"?: string | null;
|
|
115
280
|
}
|
|
116
281
|
/** Backend response type: models::SingleData. */
|
|
282
|
+
export interface CityUpdatePutResponseDataCity extends JsonObject {
|
|
283
|
+
"id": string;
|
|
284
|
+
"province_id": string;
|
|
285
|
+
"name": string;
|
|
286
|
+
"latitude"?: number | null;
|
|
287
|
+
"longitude"?: number | null;
|
|
288
|
+
"status": string;
|
|
289
|
+
"created_at": string;
|
|
290
|
+
"updated_at"?: string | null;
|
|
291
|
+
"deleted_at"?: string | null;
|
|
292
|
+
}
|
|
117
293
|
export interface CityUpdatePutResponseData extends JsonObject {
|
|
118
|
-
"city":
|
|
294
|
+
"city": CityUpdatePutResponseDataCity;
|
|
119
295
|
}
|
|
120
296
|
export interface CityUpdatePutResponse extends ApiEnvelope<CityUpdatePutResponseData> {
|
|
121
297
|
}
|
|
@@ -133,11 +309,22 @@ export interface CountryIndexGetQuery extends QueryParams {
|
|
|
133
309
|
"filter[status]"?: string | null;
|
|
134
310
|
"filter[active]"?: string | null;
|
|
135
311
|
"filter[name]"?: string | null;
|
|
312
|
+
"filter[province_id]"?: string | null;
|
|
136
313
|
"filter[trashed]"?: string | null;
|
|
137
314
|
}
|
|
138
315
|
/** Backend response type: models::ListData. */
|
|
316
|
+
export interface CountryIndexGetResponseDataCities extends JsonObject {
|
|
317
|
+
"id": string;
|
|
318
|
+
"name": string;
|
|
319
|
+
"latitude"?: number | null;
|
|
320
|
+
"longitude"?: number | null;
|
|
321
|
+
"status": string;
|
|
322
|
+
"created_at": string;
|
|
323
|
+
"updated_at"?: string | null;
|
|
324
|
+
"deleted_at"?: string | null;
|
|
325
|
+
}
|
|
139
326
|
export interface CountryIndexGetResponseData extends JsonObject {
|
|
140
|
-
"
|
|
327
|
+
"cities": CountryIndexGetResponseDataCities[];
|
|
141
328
|
}
|
|
142
329
|
export interface CountryIndexGetMetaData extends JsonObject {
|
|
143
330
|
"current_page": number;
|
|
@@ -150,13 +337,24 @@ export interface CountryIndexGetResponse extends ApiEnvelope<CountryIndexGetResp
|
|
|
150
337
|
}
|
|
151
338
|
/** Backend request type: models::Create. */
|
|
152
339
|
export interface CountryStorePostInput extends JsonObject {
|
|
340
|
+
"province_id": string;
|
|
153
341
|
"name": string;
|
|
154
342
|
"latitude"?: number | null;
|
|
155
343
|
"longitude"?: number | null;
|
|
156
344
|
}
|
|
157
345
|
/** Backend response type: models::SingleData. */
|
|
346
|
+
export interface CountryStorePostResponseDataCity extends JsonObject {
|
|
347
|
+
"id": string;
|
|
348
|
+
"name": string;
|
|
349
|
+
"latitude"?: number | null;
|
|
350
|
+
"longitude"?: number | null;
|
|
351
|
+
"status": string;
|
|
352
|
+
"created_at": string;
|
|
353
|
+
"updated_at"?: string | null;
|
|
354
|
+
"deleted_at"?: string | null;
|
|
355
|
+
}
|
|
158
356
|
export interface CountryStorePostResponseData extends JsonObject {
|
|
159
|
-
"
|
|
357
|
+
"city": CountryStorePostResponseDataCity;
|
|
160
358
|
}
|
|
161
359
|
export interface CountryStorePostResponse extends ApiEnvelope<CountryStorePostResponseData> {
|
|
162
360
|
}
|
|
@@ -164,34 +362,66 @@ export interface CountryStorePostResponse extends ApiEnvelope<CountryStorePostRe
|
|
|
164
362
|
export interface CountryDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
165
363
|
}
|
|
166
364
|
/** Backend response type: models::SingleData. */
|
|
365
|
+
export interface CountryShowGetResponseDataCity extends JsonObject {
|
|
366
|
+
"id": string;
|
|
367
|
+
"name": string;
|
|
368
|
+
"latitude"?: number | null;
|
|
369
|
+
"longitude"?: number | null;
|
|
370
|
+
"status": string;
|
|
371
|
+
"created_at": string;
|
|
372
|
+
"updated_at"?: string | null;
|
|
373
|
+
"deleted_at"?: string | null;
|
|
374
|
+
}
|
|
167
375
|
export interface CountryShowGetResponseData extends JsonObject {
|
|
168
|
-
"
|
|
376
|
+
"city": CountryShowGetResponseDataCity;
|
|
169
377
|
}
|
|
170
378
|
export interface CountryShowGetResponse extends ApiEnvelope<CountryShowGetResponseData> {
|
|
171
379
|
}
|
|
172
380
|
/** Backend request type: models::Update. */
|
|
173
381
|
export interface CountryUpdatePatchInput extends JsonObject {
|
|
382
|
+
"province_id"?: string | null;
|
|
174
383
|
"name"?: string | null;
|
|
175
|
-
"status"?: string | null;
|
|
176
384
|
"latitude"?: number | null;
|
|
177
385
|
"longitude"?: number | null;
|
|
386
|
+
"status"?: string | null;
|
|
178
387
|
}
|
|
179
388
|
/** Backend response type: models::SingleData. */
|
|
389
|
+
export interface CountryUpdatePatchResponseDataCity extends JsonObject {
|
|
390
|
+
"id": string;
|
|
391
|
+
"name": string;
|
|
392
|
+
"latitude"?: number | null;
|
|
393
|
+
"longitude"?: number | null;
|
|
394
|
+
"status": string;
|
|
395
|
+
"created_at": string;
|
|
396
|
+
"updated_at"?: string | null;
|
|
397
|
+
"deleted_at"?: string | null;
|
|
398
|
+
}
|
|
180
399
|
export interface CountryUpdatePatchResponseData extends JsonObject {
|
|
181
|
-
"
|
|
400
|
+
"city": CountryUpdatePatchResponseDataCity;
|
|
182
401
|
}
|
|
183
402
|
export interface CountryUpdatePatchResponse extends ApiEnvelope<CountryUpdatePatchResponseData> {
|
|
184
403
|
}
|
|
185
404
|
/** Backend request type: models::Update. */
|
|
186
405
|
export interface CountryUpdatePutInput extends JsonObject {
|
|
406
|
+
"province_id"?: string | null;
|
|
187
407
|
"name"?: string | null;
|
|
188
|
-
"status"?: string | null;
|
|
189
408
|
"latitude"?: number | null;
|
|
190
409
|
"longitude"?: number | null;
|
|
410
|
+
"status"?: string | null;
|
|
191
411
|
}
|
|
192
412
|
/** Backend response type: models::SingleData. */
|
|
413
|
+
export interface CountryUpdatePutResponseDataCity extends JsonObject {
|
|
414
|
+
"id": string;
|
|
415
|
+
"name": string;
|
|
416
|
+
"latitude"?: number | null;
|
|
417
|
+
"longitude"?: number | null;
|
|
418
|
+
"status": string;
|
|
419
|
+
"created_at": string;
|
|
420
|
+
"updated_at"?: string | null;
|
|
421
|
+
"deleted_at"?: string | null;
|
|
422
|
+
}
|
|
193
423
|
export interface CountryUpdatePutResponseData extends JsonObject {
|
|
194
|
-
"
|
|
424
|
+
"city": CountryUpdatePutResponseDataCity;
|
|
195
425
|
}
|
|
196
426
|
export interface CountryUpdatePutResponse extends ApiEnvelope<CountryUpdatePutResponseData> {
|
|
197
427
|
}
|
|
@@ -208,10 +438,22 @@ export interface CustomTypeIndexGetQuery extends QueryParams {
|
|
|
208
438
|
"filter[search]"?: string | null;
|
|
209
439
|
"filter[status]"?: string | null;
|
|
210
440
|
"filter[active]"?: string | null;
|
|
441
|
+
"filter[name]"?: string | null;
|
|
442
|
+
"filter[province_id]"?: string | null;
|
|
443
|
+
"filter[trashed]"?: string | null;
|
|
211
444
|
}
|
|
212
445
|
/** Backend response type: models::ListData. */
|
|
446
|
+
export interface CustomTypeIndexGetResponseDataCities extends JsonObject {
|
|
447
|
+
"id": string;
|
|
448
|
+
"name": string;
|
|
449
|
+
"value_type": string;
|
|
450
|
+
"options": JsonValue;
|
|
451
|
+
"status": string;
|
|
452
|
+
"created_at": string;
|
|
453
|
+
"updated_at"?: string | null;
|
|
454
|
+
}
|
|
213
455
|
export interface CustomTypeIndexGetResponseData extends JsonObject {
|
|
214
|
-
"
|
|
456
|
+
"cities": CustomTypeIndexGetResponseDataCities[];
|
|
215
457
|
}
|
|
216
458
|
export interface CustomTypeIndexGetMetaData extends JsonObject {
|
|
217
459
|
"current_page": number;
|
|
@@ -224,13 +466,23 @@ export interface CustomTypeIndexGetResponse extends ApiEnvelope<CustomTypeIndexG
|
|
|
224
466
|
}
|
|
225
467
|
/** Backend request type: models::Create. */
|
|
226
468
|
export interface CustomTypeStorePostInput extends JsonObject {
|
|
469
|
+
"province_id": string;
|
|
227
470
|
"name": string;
|
|
228
|
-
"
|
|
229
|
-
"
|
|
471
|
+
"latitude"?: number | null;
|
|
472
|
+
"longitude"?: number | null;
|
|
230
473
|
}
|
|
231
474
|
/** Backend response type: models::SingleData. */
|
|
475
|
+
export interface CustomTypeStorePostResponseDataCity extends JsonObject {
|
|
476
|
+
"id": string;
|
|
477
|
+
"name": string;
|
|
478
|
+
"value_type": string;
|
|
479
|
+
"options": JsonValue;
|
|
480
|
+
"status": string;
|
|
481
|
+
"created_at": string;
|
|
482
|
+
"updated_at"?: string | null;
|
|
483
|
+
}
|
|
232
484
|
export interface CustomTypeStorePostResponseData extends JsonObject {
|
|
233
|
-
"
|
|
485
|
+
"city": CustomTypeStorePostResponseDataCity;
|
|
234
486
|
}
|
|
235
487
|
export interface CustomTypeStorePostResponse extends ApiEnvelope<CustomTypeStorePostResponseData> {
|
|
236
488
|
}
|
|
@@ -238,21 +490,40 @@ export interface CustomTypeStorePostResponse extends ApiEnvelope<CustomTypeStore
|
|
|
238
490
|
export interface CustomTypeDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
239
491
|
}
|
|
240
492
|
/** Backend response type: models::SingleData. */
|
|
493
|
+
export interface CustomTypeShowGetResponseDataCity extends JsonObject {
|
|
494
|
+
"id": string;
|
|
495
|
+
"name": string;
|
|
496
|
+
"value_type": string;
|
|
497
|
+
"options": JsonValue;
|
|
498
|
+
"status": string;
|
|
499
|
+
"created_at": string;
|
|
500
|
+
"updated_at"?: string | null;
|
|
501
|
+
}
|
|
241
502
|
export interface CustomTypeShowGetResponseData extends JsonObject {
|
|
242
|
-
"
|
|
503
|
+
"city": CustomTypeShowGetResponseDataCity;
|
|
243
504
|
}
|
|
244
505
|
export interface CustomTypeShowGetResponse extends ApiEnvelope<CustomTypeShowGetResponseData> {
|
|
245
506
|
}
|
|
246
507
|
/** Backend request type: models::Update. */
|
|
247
508
|
export interface CustomTypeUpdatePatchInput extends JsonObject {
|
|
509
|
+
"province_id"?: string | null;
|
|
248
510
|
"name"?: string | null;
|
|
249
|
-
"
|
|
250
|
-
"
|
|
511
|
+
"latitude"?: number | null;
|
|
512
|
+
"longitude"?: number | null;
|
|
251
513
|
"status"?: string | null;
|
|
252
514
|
}
|
|
253
515
|
/** Backend response type: models::SingleData. */
|
|
516
|
+
export interface CustomTypeUpdatePatchResponseDataCity extends JsonObject {
|
|
517
|
+
"id": string;
|
|
518
|
+
"name": string;
|
|
519
|
+
"value_type": string;
|
|
520
|
+
"options": JsonValue;
|
|
521
|
+
"status": string;
|
|
522
|
+
"created_at": string;
|
|
523
|
+
"updated_at"?: string | null;
|
|
524
|
+
}
|
|
254
525
|
export interface CustomTypeUpdatePatchResponseData extends JsonObject {
|
|
255
|
-
"
|
|
526
|
+
"city": CustomTypeUpdatePatchResponseDataCity;
|
|
256
527
|
}
|
|
257
528
|
export interface CustomTypeUpdatePatchResponse extends ApiEnvelope<CustomTypeUpdatePatchResponseData> {
|
|
258
529
|
}
|
|
@@ -263,9 +534,34 @@ export interface OptionDependencyGetResponse extends ApiEnvelope<JsonValue> {
|
|
|
263
534
|
export interface OptionIdentityGetResponse extends ApiEnvelope<JsonValue> {
|
|
264
535
|
}
|
|
265
536
|
/** Backend response type: crate::integration::models::IntegrationDocsResponse. */
|
|
537
|
+
export interface IntegrationIntegrationDocsShowGetResponseDataDirectEventsPayloadFields extends JsonObject {
|
|
538
|
+
"name": string;
|
|
539
|
+
"field_type": string;
|
|
540
|
+
"required": boolean;
|
|
541
|
+
"description": string;
|
|
542
|
+
}
|
|
543
|
+
export interface IntegrationIntegrationDocsShowGetResponseDataDirectEvents extends JsonObject {
|
|
544
|
+
"event_name": string;
|
|
545
|
+
"payload_fields": IntegrationIntegrationDocsShowGetResponseDataDirectEventsPayloadFields[];
|
|
546
|
+
}
|
|
547
|
+
export interface IntegrationIntegrationDocsShowGetResponseDataDirect extends JsonObject {
|
|
548
|
+
"transport": string;
|
|
549
|
+
"queue"?: string | null;
|
|
550
|
+
"base_url"?: string | null;
|
|
551
|
+
"broker_url_hint"?: string | null;
|
|
552
|
+
"sample_profile_id"?: string | null;
|
|
553
|
+
"events": IntegrationIntegrationDocsShowGetResponseDataDirectEvents[];
|
|
554
|
+
}
|
|
555
|
+
export interface IntegrationIntegrationDocsShowGetResponseDataSdk extends JsonObject {
|
|
556
|
+
"event_name": string;
|
|
557
|
+
"method": string;
|
|
558
|
+
"language": string;
|
|
559
|
+
"cargo_dep": string;
|
|
560
|
+
"code": string;
|
|
561
|
+
}
|
|
266
562
|
export interface IntegrationIntegrationDocsShowGetResponseData extends JsonObject {
|
|
267
|
-
"direct":
|
|
268
|
-
"sdk":
|
|
563
|
+
"direct": IntegrationIntegrationDocsShowGetResponseDataDirect;
|
|
564
|
+
"sdk": IntegrationIntegrationDocsShowGetResponseDataSdk[];
|
|
269
565
|
}
|
|
270
566
|
export interface IntegrationIntegrationDocsShowGetResponse extends ApiEnvelope<IntegrationIntegrationDocsShowGetResponseData> {
|
|
271
567
|
}
|
|
@@ -323,12 +619,24 @@ export interface ProfileIndexGetQuery extends QueryParams {
|
|
|
323
619
|
"filter[search]"?: string | null;
|
|
324
620
|
"filter[status]"?: string | null;
|
|
325
621
|
"filter[active]"?: string | null;
|
|
326
|
-
"filter[
|
|
622
|
+
"filter[name]"?: string | null;
|
|
623
|
+
"filter[province_id]"?: string | null;
|
|
327
624
|
"filter[trashed]"?: string | null;
|
|
328
625
|
}
|
|
329
626
|
/** Backend response type: models::ListData. */
|
|
627
|
+
export interface ProfileIndexGetResponseDataCities extends JsonObject {
|
|
628
|
+
"id": string;
|
|
629
|
+
"province_id": string;
|
|
630
|
+
"name": string;
|
|
631
|
+
"latitude"?: number | null;
|
|
632
|
+
"longitude"?: number | null;
|
|
633
|
+
"status": string;
|
|
634
|
+
"created_at": string;
|
|
635
|
+
"updated_at"?: string | null;
|
|
636
|
+
"deleted_at"?: string | null;
|
|
637
|
+
}
|
|
330
638
|
export interface ProfileIndexGetResponseData extends JsonObject {
|
|
331
|
-
"
|
|
639
|
+
"cities": ProfileIndexGetResponseDataCities[];
|
|
332
640
|
}
|
|
333
641
|
export interface ProfileIndexGetMetaData extends JsonObject {
|
|
334
642
|
"current_page": number;
|
|
@@ -353,13 +661,32 @@ export interface ProfilePropertyIndexGetQuery extends QueryParams {
|
|
|
353
661
|
"filter[search]"?: string | null;
|
|
354
662
|
"filter[status]"?: string | null;
|
|
355
663
|
"filter[active]"?: string | null;
|
|
356
|
-
"filter[
|
|
357
|
-
"filter[
|
|
664
|
+
"filter[name]"?: string | null;
|
|
665
|
+
"filter[province_id]"?: string | null;
|
|
358
666
|
"filter[trashed]"?: string | null;
|
|
359
667
|
}
|
|
360
668
|
/** Backend response type: models::ListData. */
|
|
669
|
+
export interface ProfilePropertyIndexGetResponseDataCities extends JsonObject {
|
|
670
|
+
"id": string;
|
|
671
|
+
"key": string;
|
|
672
|
+
"title": string;
|
|
673
|
+
"validator_type": string;
|
|
674
|
+
"validator_config"?: JsonValue | null;
|
|
675
|
+
"custom_type_id"?: string | null;
|
|
676
|
+
"visible_in_list": boolean;
|
|
677
|
+
"visible_in_get": boolean;
|
|
678
|
+
"visible_in_full": boolean;
|
|
679
|
+
"visible_in_chat": boolean;
|
|
680
|
+
"filterable": boolean;
|
|
681
|
+
"index_value_kind"?: string | null;
|
|
682
|
+
"sort_order": number;
|
|
683
|
+
"status": string;
|
|
684
|
+
"created_at": string;
|
|
685
|
+
"updated_at"?: string | null;
|
|
686
|
+
"deleted_at"?: string | null;
|
|
687
|
+
}
|
|
361
688
|
export interface ProfilePropertyIndexGetResponseData extends JsonObject {
|
|
362
|
-
"
|
|
689
|
+
"cities": ProfilePropertyIndexGetResponseDataCities[];
|
|
363
690
|
}
|
|
364
691
|
export interface ProfilePropertyIndexGetMetaData extends JsonObject {
|
|
365
692
|
"current_page": number;
|
|
@@ -372,22 +699,33 @@ export interface ProfilePropertyIndexGetResponse extends ApiEnvelope<ProfileProp
|
|
|
372
699
|
}
|
|
373
700
|
/** Backend request type: models::Create. */
|
|
374
701
|
export interface ProfilePropertyStorePostInput extends JsonObject {
|
|
702
|
+
"province_id": string;
|
|
703
|
+
"name": string;
|
|
704
|
+
"latitude"?: number | null;
|
|
705
|
+
"longitude"?: number | null;
|
|
706
|
+
}
|
|
707
|
+
/** Backend response type: models::SingleData. */
|
|
708
|
+
export interface ProfilePropertyStorePostResponseDataCity extends JsonObject {
|
|
709
|
+
"id": string;
|
|
375
710
|
"key": string;
|
|
376
711
|
"title": string;
|
|
377
712
|
"validator_type": string;
|
|
378
713
|
"validator_config"?: JsonValue | null;
|
|
379
714
|
"custom_type_id"?: string | null;
|
|
380
|
-
"visible_in_list"
|
|
381
|
-
"visible_in_get"
|
|
382
|
-
"visible_in_full"
|
|
383
|
-
"visible_in_chat"
|
|
384
|
-
"filterable"
|
|
715
|
+
"visible_in_list": boolean;
|
|
716
|
+
"visible_in_get": boolean;
|
|
717
|
+
"visible_in_full": boolean;
|
|
718
|
+
"visible_in_chat": boolean;
|
|
719
|
+
"filterable": boolean;
|
|
385
720
|
"index_value_kind"?: string | null;
|
|
386
|
-
"sort_order"
|
|
721
|
+
"sort_order": number;
|
|
722
|
+
"status": string;
|
|
723
|
+
"created_at": string;
|
|
724
|
+
"updated_at"?: string | null;
|
|
725
|
+
"deleted_at"?: string | null;
|
|
387
726
|
}
|
|
388
|
-
/** Backend response type: models::SingleData. */
|
|
389
727
|
export interface ProfilePropertyStorePostResponseData extends JsonObject {
|
|
390
|
-
"
|
|
728
|
+
"city": ProfilePropertyStorePostResponseDataCity;
|
|
391
729
|
}
|
|
392
730
|
export interface ProfilePropertyStorePostResponse extends ApiEnvelope<ProfilePropertyStorePostResponseData> {
|
|
393
731
|
}
|
|
@@ -395,52 +733,93 @@ export interface ProfilePropertyStorePostResponse extends ApiEnvelope<ProfilePro
|
|
|
395
733
|
export interface ProfilePropertyDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
396
734
|
}
|
|
397
735
|
/** Backend response type: models::SingleData. */
|
|
736
|
+
export interface ProfilePropertyShowGetResponseDataCity extends JsonObject {
|
|
737
|
+
"id": string;
|
|
738
|
+
"key": string;
|
|
739
|
+
"title": string;
|
|
740
|
+
"validator_type": string;
|
|
741
|
+
"validator_config"?: JsonValue | null;
|
|
742
|
+
"custom_type_id"?: string | null;
|
|
743
|
+
"visible_in_list": boolean;
|
|
744
|
+
"visible_in_get": boolean;
|
|
745
|
+
"visible_in_full": boolean;
|
|
746
|
+
"visible_in_chat": boolean;
|
|
747
|
+
"filterable": boolean;
|
|
748
|
+
"index_value_kind"?: string | null;
|
|
749
|
+
"sort_order": number;
|
|
750
|
+
"status": string;
|
|
751
|
+
"created_at": string;
|
|
752
|
+
"updated_at"?: string | null;
|
|
753
|
+
"deleted_at"?: string | null;
|
|
754
|
+
}
|
|
398
755
|
export interface ProfilePropertyShowGetResponseData extends JsonObject {
|
|
399
|
-
"
|
|
756
|
+
"city": ProfilePropertyShowGetResponseDataCity;
|
|
400
757
|
}
|
|
401
758
|
export interface ProfilePropertyShowGetResponse extends ApiEnvelope<ProfilePropertyShowGetResponseData> {
|
|
402
759
|
}
|
|
403
760
|
/** Backend request type: models::Update. */
|
|
404
761
|
export interface ProfilePropertyUpdatePatchInput extends JsonObject {
|
|
405
|
-
"
|
|
406
|
-
"
|
|
407
|
-
"
|
|
762
|
+
"province_id"?: string | null;
|
|
763
|
+
"name"?: string | null;
|
|
764
|
+
"latitude"?: number | null;
|
|
765
|
+
"longitude"?: number | null;
|
|
766
|
+
"status"?: string | null;
|
|
767
|
+
}
|
|
768
|
+
/** Backend response type: models::SingleData. */
|
|
769
|
+
export interface ProfilePropertyUpdatePatchResponseDataCity extends JsonObject {
|
|
770
|
+
"id": string;
|
|
771
|
+
"key": string;
|
|
772
|
+
"title": string;
|
|
773
|
+
"validator_type": string;
|
|
408
774
|
"validator_config"?: JsonValue | null;
|
|
409
775
|
"custom_type_id"?: string | null;
|
|
410
|
-
"visible_in_list"
|
|
411
|
-
"visible_in_get"
|
|
412
|
-
"visible_in_full"
|
|
413
|
-
"visible_in_chat"
|
|
414
|
-
"filterable"
|
|
776
|
+
"visible_in_list": boolean;
|
|
777
|
+
"visible_in_get": boolean;
|
|
778
|
+
"visible_in_full": boolean;
|
|
779
|
+
"visible_in_chat": boolean;
|
|
780
|
+
"filterable": boolean;
|
|
415
781
|
"index_value_kind"?: string | null;
|
|
416
|
-
"sort_order"
|
|
417
|
-
"status"
|
|
782
|
+
"sort_order": number;
|
|
783
|
+
"status": string;
|
|
784
|
+
"created_at": string;
|
|
785
|
+
"updated_at"?: string | null;
|
|
786
|
+
"deleted_at"?: string | null;
|
|
418
787
|
}
|
|
419
|
-
/** Backend response type: models::SingleData. */
|
|
420
788
|
export interface ProfilePropertyUpdatePatchResponseData extends JsonObject {
|
|
421
|
-
"
|
|
789
|
+
"city": ProfilePropertyUpdatePatchResponseDataCity;
|
|
422
790
|
}
|
|
423
791
|
export interface ProfilePropertyUpdatePatchResponse extends ApiEnvelope<ProfilePropertyUpdatePatchResponseData> {
|
|
424
792
|
}
|
|
425
793
|
/** Backend request type: models::Update. */
|
|
426
794
|
export interface ProfilePropertyUpdatePutInput extends JsonObject {
|
|
427
|
-
"
|
|
428
|
-
"
|
|
429
|
-
"
|
|
795
|
+
"province_id"?: string | null;
|
|
796
|
+
"name"?: string | null;
|
|
797
|
+
"latitude"?: number | null;
|
|
798
|
+
"longitude"?: number | null;
|
|
799
|
+
"status"?: string | null;
|
|
800
|
+
}
|
|
801
|
+
/** Backend response type: models::SingleData. */
|
|
802
|
+
export interface ProfilePropertyUpdatePutResponseDataCity extends JsonObject {
|
|
803
|
+
"id": string;
|
|
804
|
+
"key": string;
|
|
805
|
+
"title": string;
|
|
806
|
+
"validator_type": string;
|
|
430
807
|
"validator_config"?: JsonValue | null;
|
|
431
808
|
"custom_type_id"?: string | null;
|
|
432
|
-
"visible_in_list"
|
|
433
|
-
"visible_in_get"
|
|
434
|
-
"visible_in_full"
|
|
435
|
-
"visible_in_chat"
|
|
436
|
-
"filterable"
|
|
809
|
+
"visible_in_list": boolean;
|
|
810
|
+
"visible_in_get": boolean;
|
|
811
|
+
"visible_in_full": boolean;
|
|
812
|
+
"visible_in_chat": boolean;
|
|
813
|
+
"filterable": boolean;
|
|
437
814
|
"index_value_kind"?: string | null;
|
|
438
|
-
"sort_order"
|
|
439
|
-
"status"
|
|
815
|
+
"sort_order": number;
|
|
816
|
+
"status": string;
|
|
817
|
+
"created_at": string;
|
|
818
|
+
"updated_at"?: string | null;
|
|
819
|
+
"deleted_at"?: string | null;
|
|
440
820
|
}
|
|
441
|
-
/** Backend response type: models::SingleData. */
|
|
442
821
|
export interface ProfilePropertyUpdatePutResponseData extends JsonObject {
|
|
443
|
-
"
|
|
822
|
+
"city": ProfilePropertyUpdatePutResponseDataCity;
|
|
444
823
|
}
|
|
445
824
|
export interface ProfilePropertyUpdatePutResponse extends ApiEnvelope<ProfilePropertyUpdatePutResponseData> {
|
|
446
825
|
}
|
|
@@ -453,11 +832,41 @@ export interface ProfilePropertyRestoreGetResponse extends ApiEnvelope<JsonValue
|
|
|
453
832
|
/** Backend response type: entity::profile::Model. */
|
|
454
833
|
export interface ReferralShowProfileReferralGetResponseData extends JsonObject {
|
|
455
834
|
"id": string;
|
|
456
|
-
"
|
|
457
|
-
"
|
|
458
|
-
"
|
|
459
|
-
"
|
|
835
|
+
"user_id": string;
|
|
836
|
+
"email"?: string | null;
|
|
837
|
+
"phone"?: string | null;
|
|
838
|
+
"national_code"?: string | null;
|
|
839
|
+
"national_number"?: string | null;
|
|
840
|
+
"first_name_fa"?: string | null;
|
|
841
|
+
"first_name_en"?: string | null;
|
|
842
|
+
"last_name_fa"?: string | null;
|
|
843
|
+
"last_name_en"?: string | null;
|
|
844
|
+
"birthday"?: string | null;
|
|
845
|
+
"nationality"?: string | null;
|
|
846
|
+
"religion"?: string | null;
|
|
847
|
+
"gender"?: string | null;
|
|
848
|
+
"attendance_mode"?: string | null;
|
|
849
|
+
"level"?: string | null;
|
|
850
|
+
"referral_source"?: string | null;
|
|
851
|
+
"referrer_uuid"?: string | null;
|
|
852
|
+
"referral_source_id"?: string | null;
|
|
853
|
+
"referrer_profile_id"?: string | null;
|
|
854
|
+
"description"?: string | null;
|
|
855
|
+
"marital"?: string | null;
|
|
856
|
+
"nickname"?: string | null;
|
|
857
|
+
"country_id"?: string | null;
|
|
858
|
+
"province_id"?: string | null;
|
|
859
|
+
"city_id"?: string | null;
|
|
460
860
|
"status": string;
|
|
861
|
+
"employee_type"?: string | null;
|
|
862
|
+
"freemium_session_limit"?: number | null;
|
|
863
|
+
"avatar"?: string | null;
|
|
864
|
+
"has_active_enrollment": boolean;
|
|
865
|
+
"red_gem"?: number | null;
|
|
866
|
+
"blue_gem"?: number | null;
|
|
867
|
+
"green_gem"?: number | null;
|
|
868
|
+
"account_balance"?: number | null;
|
|
869
|
+
"wallet_balance"?: number | null;
|
|
461
870
|
"created_at": string;
|
|
462
871
|
"updated_at"?: string | null;
|
|
463
872
|
"deleted_at"?: string | null;
|
|
@@ -472,11 +881,41 @@ export interface ReferralAssignPutInput extends JsonObject {
|
|
|
472
881
|
/** Backend response type: entity::profile::Model. */
|
|
473
882
|
export interface ReferralAssignPutResponseData extends JsonObject {
|
|
474
883
|
"id": string;
|
|
475
|
-
"
|
|
476
|
-
"
|
|
477
|
-
"
|
|
478
|
-
"
|
|
884
|
+
"user_id": string;
|
|
885
|
+
"email"?: string | null;
|
|
886
|
+
"phone"?: string | null;
|
|
887
|
+
"national_code"?: string | null;
|
|
888
|
+
"national_number"?: string | null;
|
|
889
|
+
"first_name_fa"?: string | null;
|
|
890
|
+
"first_name_en"?: string | null;
|
|
891
|
+
"last_name_fa"?: string | null;
|
|
892
|
+
"last_name_en"?: string | null;
|
|
893
|
+
"birthday"?: string | null;
|
|
894
|
+
"nationality"?: string | null;
|
|
895
|
+
"religion"?: string | null;
|
|
896
|
+
"gender"?: string | null;
|
|
897
|
+
"attendance_mode"?: string | null;
|
|
898
|
+
"level"?: string | null;
|
|
899
|
+
"referral_source"?: string | null;
|
|
900
|
+
"referrer_uuid"?: string | null;
|
|
901
|
+
"referral_source_id"?: string | null;
|
|
902
|
+
"referrer_profile_id"?: string | null;
|
|
903
|
+
"description"?: string | null;
|
|
904
|
+
"marital"?: string | null;
|
|
905
|
+
"nickname"?: string | null;
|
|
906
|
+
"country_id"?: string | null;
|
|
907
|
+
"province_id"?: string | null;
|
|
908
|
+
"city_id"?: string | null;
|
|
479
909
|
"status": string;
|
|
910
|
+
"employee_type"?: string | null;
|
|
911
|
+
"freemium_session_limit"?: number | null;
|
|
912
|
+
"avatar"?: string | null;
|
|
913
|
+
"has_active_enrollment": boolean;
|
|
914
|
+
"red_gem"?: number | null;
|
|
915
|
+
"blue_gem"?: number | null;
|
|
916
|
+
"green_gem"?: number | null;
|
|
917
|
+
"account_balance"?: number | null;
|
|
918
|
+
"wallet_balance"?: number | null;
|
|
480
919
|
"created_at": string;
|
|
481
920
|
"updated_at"?: string | null;
|
|
482
921
|
"deleted_at"?: string | null;
|
|
@@ -491,14 +930,14 @@ export interface RelationListRelationsGetQuery extends QueryParams {
|
|
|
491
930
|
/** Backend response type: Vec<entity::profile_relation::Model>. */
|
|
492
931
|
export interface RelationListRelationsGetResponseItem extends JsonObject {
|
|
493
932
|
"id": string;
|
|
494
|
-
"
|
|
495
|
-
"
|
|
496
|
-
"
|
|
497
|
-
"
|
|
498
|
-
"
|
|
933
|
+
"source_profile_id": string;
|
|
934
|
+
"target_profile_id": string;
|
|
935
|
+
"relation_type_id": string;
|
|
936
|
+
"inverse_relation_id"?: string | null;
|
|
937
|
+
"metadata": BackendJson<"Json">;
|
|
938
|
+
"active": boolean;
|
|
499
939
|
"created_at": string;
|
|
500
940
|
"updated_at"?: string | null;
|
|
501
|
-
"deleted_at"?: string | null;
|
|
502
941
|
}
|
|
503
942
|
export interface RelationListRelationsGetResponse extends ApiEnvelope<RelationListRelationsGetResponseItem[]> {
|
|
504
943
|
}
|
|
@@ -512,14 +951,14 @@ export interface RelationCreateRelationPostInput extends JsonObject {
|
|
|
512
951
|
/** Backend response type: Vec<entity::profile_relation::Model>. */
|
|
513
952
|
export interface RelationCreateRelationPostResponseItem extends JsonObject {
|
|
514
953
|
"id": string;
|
|
515
|
-
"
|
|
516
|
-
"
|
|
517
|
-
"
|
|
518
|
-
"
|
|
519
|
-
"
|
|
954
|
+
"source_profile_id": string;
|
|
955
|
+
"target_profile_id": string;
|
|
956
|
+
"relation_type_id": string;
|
|
957
|
+
"inverse_relation_id"?: string | null;
|
|
958
|
+
"metadata": BackendJson<"Json">;
|
|
959
|
+
"active": boolean;
|
|
520
960
|
"created_at": string;
|
|
521
961
|
"updated_at"?: string | null;
|
|
522
|
-
"deleted_at"?: string | null;
|
|
523
962
|
}
|
|
524
963
|
export interface RelationCreateRelationPostResponse extends ApiEnvelope<RelationCreateRelationPostResponseItem[]> {
|
|
525
964
|
}
|
|
@@ -529,14 +968,14 @@ export interface RelationDeleteRelationDeleteResponse extends ApiEnvelope<JsonVa
|
|
|
529
968
|
/** Backend response type: entity::profile_relation::Model. */
|
|
530
969
|
export interface RelationShowRelationGetResponseData extends JsonObject {
|
|
531
970
|
"id": string;
|
|
532
|
-
"
|
|
533
|
-
"
|
|
534
|
-
"
|
|
535
|
-
"
|
|
536
|
-
"
|
|
971
|
+
"source_profile_id": string;
|
|
972
|
+
"target_profile_id": string;
|
|
973
|
+
"relation_type_id": string;
|
|
974
|
+
"inverse_relation_id"?: string | null;
|
|
975
|
+
"metadata": BackendJson<"Json">;
|
|
976
|
+
"active": boolean;
|
|
537
977
|
"created_at": string;
|
|
538
978
|
"updated_at"?: string | null;
|
|
539
|
-
"deleted_at"?: string | null;
|
|
540
979
|
}
|
|
541
980
|
export interface RelationShowRelationGetResponse extends ApiEnvelope<RelationShowRelationGetResponseData> {
|
|
542
981
|
}
|
|
@@ -548,14 +987,14 @@ export interface RelationUpdateRelationPutInput extends JsonObject {
|
|
|
548
987
|
/** Backend response type: Vec<entity::profile_relation::Model>. */
|
|
549
988
|
export interface RelationUpdateRelationPutResponseItem extends JsonObject {
|
|
550
989
|
"id": string;
|
|
551
|
-
"
|
|
552
|
-
"
|
|
553
|
-
"
|
|
554
|
-
"
|
|
555
|
-
"
|
|
990
|
+
"source_profile_id": string;
|
|
991
|
+
"target_profile_id": string;
|
|
992
|
+
"relation_type_id": string;
|
|
993
|
+
"inverse_relation_id"?: string | null;
|
|
994
|
+
"metadata": BackendJson<"Json">;
|
|
995
|
+
"active": boolean;
|
|
556
996
|
"created_at": string;
|
|
557
997
|
"updated_at"?: string | null;
|
|
558
|
-
"deleted_at"?: string | null;
|
|
559
998
|
}
|
|
560
999
|
export interface RelationUpdateRelationPutResponse extends ApiEnvelope<RelationUpdateRelationPutResponseItem[]> {
|
|
561
1000
|
}
|
|
@@ -566,8 +1005,19 @@ export interface ProfileDeleteParentDeleteResponse extends ApiEnvelope<JsonValue
|
|
|
566
1005
|
export interface ProfileDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
567
1006
|
}
|
|
568
1007
|
/** Backend response type: models::SingleData. */
|
|
1008
|
+
export interface ProfileShowGetResponseDataCity extends JsonObject {
|
|
1009
|
+
"id": string;
|
|
1010
|
+
"province_id": string;
|
|
1011
|
+
"name": string;
|
|
1012
|
+
"latitude"?: number | null;
|
|
1013
|
+
"longitude"?: number | null;
|
|
1014
|
+
"status": string;
|
|
1015
|
+
"created_at": string;
|
|
1016
|
+
"updated_at"?: string | null;
|
|
1017
|
+
"deleted_at"?: string | null;
|
|
1018
|
+
}
|
|
569
1019
|
export interface ProfileShowGetResponseData extends JsonObject {
|
|
570
|
-
"
|
|
1020
|
+
"city": ProfileShowGetResponseDataCity;
|
|
571
1021
|
}
|
|
572
1022
|
export interface ProfileShowGetResponse extends ApiEnvelope<ProfileShowGetResponseData> {
|
|
573
1023
|
}
|
|
@@ -601,14 +1051,36 @@ export interface ProfileUpdatePatchInput extends JsonObject {
|
|
|
601
1051
|
"properties"?: Record<string, JsonValue> | null;
|
|
602
1052
|
}
|
|
603
1053
|
/** Backend response type: models::SingleData. */
|
|
1054
|
+
export interface ProfileUpdatePatchResponseDataCity extends JsonObject {
|
|
1055
|
+
"id": string;
|
|
1056
|
+
"province_id": string;
|
|
1057
|
+
"name": string;
|
|
1058
|
+
"latitude"?: number | null;
|
|
1059
|
+
"longitude"?: number | null;
|
|
1060
|
+
"status": string;
|
|
1061
|
+
"created_at": string;
|
|
1062
|
+
"updated_at"?: string | null;
|
|
1063
|
+
"deleted_at"?: string | null;
|
|
1064
|
+
}
|
|
604
1065
|
export interface ProfileUpdatePatchResponseData extends JsonObject {
|
|
605
|
-
"
|
|
1066
|
+
"city": ProfileUpdatePatchResponseDataCity;
|
|
606
1067
|
}
|
|
607
1068
|
export interface ProfileUpdatePatchResponse extends ApiEnvelope<ProfileUpdatePatchResponseData> {
|
|
608
1069
|
}
|
|
609
1070
|
/** Backend response type: models::SingleData. */
|
|
1071
|
+
export interface ProfileShowAdminGetResponseDataCity extends JsonObject {
|
|
1072
|
+
"id": string;
|
|
1073
|
+
"province_id": string;
|
|
1074
|
+
"name": string;
|
|
1075
|
+
"latitude"?: number | null;
|
|
1076
|
+
"longitude"?: number | null;
|
|
1077
|
+
"status": string;
|
|
1078
|
+
"created_at": string;
|
|
1079
|
+
"updated_at"?: string | null;
|
|
1080
|
+
"deleted_at"?: string | null;
|
|
1081
|
+
}
|
|
610
1082
|
export interface ProfileShowAdminGetResponseData extends JsonObject {
|
|
611
|
-
"
|
|
1083
|
+
"city": ProfileShowAdminGetResponseDataCity;
|
|
612
1084
|
}
|
|
613
1085
|
export interface ProfileShowAdminGetResponse extends ApiEnvelope<ProfileShowAdminGetResponseData> {
|
|
614
1086
|
}
|
|
@@ -635,8 +1107,19 @@ export interface ProfileUpdateEmployeeTypePatchInput extends JsonObject {
|
|
|
635
1107
|
"employee_type": string;
|
|
636
1108
|
}
|
|
637
1109
|
/** Backend response type: models::SingleData. */
|
|
1110
|
+
export interface ProfileUpdateEmployeeTypePatchResponseDataCity extends JsonObject {
|
|
1111
|
+
"id": string;
|
|
1112
|
+
"province_id": string;
|
|
1113
|
+
"name": string;
|
|
1114
|
+
"latitude"?: number | null;
|
|
1115
|
+
"longitude"?: number | null;
|
|
1116
|
+
"status": string;
|
|
1117
|
+
"created_at": string;
|
|
1118
|
+
"updated_at"?: string | null;
|
|
1119
|
+
"deleted_at"?: string | null;
|
|
1120
|
+
}
|
|
638
1121
|
export interface ProfileUpdateEmployeeTypePatchResponseData extends JsonObject {
|
|
639
|
-
"
|
|
1122
|
+
"city": ProfileUpdateEmployeeTypePatchResponseDataCity;
|
|
640
1123
|
}
|
|
641
1124
|
export interface ProfileUpdateEmployeeTypePatchResponse extends ApiEnvelope<ProfileUpdateEmployeeTypePatchResponseData> {
|
|
642
1125
|
}
|
|
@@ -645,8 +1128,19 @@ export interface ProfileUpdateEmployeeTypePutInput extends JsonObject {
|
|
|
645
1128
|
"employee_type": string;
|
|
646
1129
|
}
|
|
647
1130
|
/** Backend response type: models::SingleData. */
|
|
1131
|
+
export interface ProfileUpdateEmployeeTypePutResponseDataCity extends JsonObject {
|
|
1132
|
+
"id": string;
|
|
1133
|
+
"province_id": string;
|
|
1134
|
+
"name": string;
|
|
1135
|
+
"latitude"?: number | null;
|
|
1136
|
+
"longitude"?: number | null;
|
|
1137
|
+
"status": string;
|
|
1138
|
+
"created_at": string;
|
|
1139
|
+
"updated_at"?: string | null;
|
|
1140
|
+
"deleted_at"?: string | null;
|
|
1141
|
+
}
|
|
648
1142
|
export interface ProfileUpdateEmployeeTypePutResponseData extends JsonObject {
|
|
649
|
-
"
|
|
1143
|
+
"city": ProfileUpdateEmployeeTypePutResponseDataCity;
|
|
650
1144
|
}
|
|
651
1145
|
export interface ProfileUpdateEmployeeTypePutResponse extends ApiEnvelope<ProfileUpdateEmployeeTypePutResponseData> {
|
|
652
1146
|
}
|
|
@@ -655,8 +1149,19 @@ export interface ProfileUpdateFreemiumPatchInput extends JsonObject {
|
|
|
655
1149
|
"freemium_session_limit": number;
|
|
656
1150
|
}
|
|
657
1151
|
/** Backend response type: models::SingleData. */
|
|
1152
|
+
export interface ProfileUpdateFreemiumPatchResponseDataCity extends JsonObject {
|
|
1153
|
+
"id": string;
|
|
1154
|
+
"province_id": string;
|
|
1155
|
+
"name": string;
|
|
1156
|
+
"latitude"?: number | null;
|
|
1157
|
+
"longitude"?: number | null;
|
|
1158
|
+
"status": string;
|
|
1159
|
+
"created_at": string;
|
|
1160
|
+
"updated_at"?: string | null;
|
|
1161
|
+
"deleted_at"?: string | null;
|
|
1162
|
+
}
|
|
658
1163
|
export interface ProfileUpdateFreemiumPatchResponseData extends JsonObject {
|
|
659
|
-
"
|
|
1164
|
+
"city": ProfileUpdateFreemiumPatchResponseDataCity;
|
|
660
1165
|
}
|
|
661
1166
|
export interface ProfileUpdateFreemiumPatchResponse extends ApiEnvelope<ProfileUpdateFreemiumPatchResponseData> {
|
|
662
1167
|
}
|
|
@@ -665,14 +1170,36 @@ export interface ProfileUpdateFreemiumPutInput extends JsonObject {
|
|
|
665
1170
|
"freemium_session_limit": number;
|
|
666
1171
|
}
|
|
667
1172
|
/** Backend response type: models::SingleData. */
|
|
1173
|
+
export interface ProfileUpdateFreemiumPutResponseDataCity extends JsonObject {
|
|
1174
|
+
"id": string;
|
|
1175
|
+
"province_id": string;
|
|
1176
|
+
"name": string;
|
|
1177
|
+
"latitude"?: number | null;
|
|
1178
|
+
"longitude"?: number | null;
|
|
1179
|
+
"status": string;
|
|
1180
|
+
"created_at": string;
|
|
1181
|
+
"updated_at"?: string | null;
|
|
1182
|
+
"deleted_at"?: string | null;
|
|
1183
|
+
}
|
|
668
1184
|
export interface ProfileUpdateFreemiumPutResponseData extends JsonObject {
|
|
669
|
-
"
|
|
1185
|
+
"city": ProfileUpdateFreemiumPutResponseDataCity;
|
|
670
1186
|
}
|
|
671
1187
|
export interface ProfileUpdateFreemiumPutResponse extends ApiEnvelope<ProfileUpdateFreemiumPutResponseData> {
|
|
672
1188
|
}
|
|
673
1189
|
/** Backend response type: models::SingleData. */
|
|
1190
|
+
export interface ProfileShowFullGetResponseDataCity extends JsonObject {
|
|
1191
|
+
"id": string;
|
|
1192
|
+
"province_id": string;
|
|
1193
|
+
"name": string;
|
|
1194
|
+
"latitude"?: number | null;
|
|
1195
|
+
"longitude"?: number | null;
|
|
1196
|
+
"status": string;
|
|
1197
|
+
"created_at": string;
|
|
1198
|
+
"updated_at"?: string | null;
|
|
1199
|
+
"deleted_at"?: string | null;
|
|
1200
|
+
}
|
|
674
1201
|
export interface ProfileShowFullGetResponseData extends JsonObject {
|
|
675
|
-
"
|
|
1202
|
+
"city": ProfileShowFullGetResponseDataCity;
|
|
676
1203
|
}
|
|
677
1204
|
export interface ProfileShowFullGetResponse extends ApiEnvelope<ProfileShowFullGetResponseData> {
|
|
678
1205
|
}
|
|
@@ -702,8 +1229,19 @@ export interface ProfileUpdateStatusPatchInput extends JsonObject {
|
|
|
702
1229
|
"status": string;
|
|
703
1230
|
}
|
|
704
1231
|
/** Backend response type: models::SingleData. */
|
|
1232
|
+
export interface ProfileUpdateStatusPatchResponseDataCity extends JsonObject {
|
|
1233
|
+
"id": string;
|
|
1234
|
+
"province_id": string;
|
|
1235
|
+
"name": string;
|
|
1236
|
+
"latitude"?: number | null;
|
|
1237
|
+
"longitude"?: number | null;
|
|
1238
|
+
"status": string;
|
|
1239
|
+
"created_at": string;
|
|
1240
|
+
"updated_at"?: string | null;
|
|
1241
|
+
"deleted_at"?: string | null;
|
|
1242
|
+
}
|
|
705
1243
|
export interface ProfileUpdateStatusPatchResponseData extends JsonObject {
|
|
706
|
-
"
|
|
1244
|
+
"city": ProfileUpdateStatusPatchResponseDataCity;
|
|
707
1245
|
}
|
|
708
1246
|
export interface ProfileUpdateStatusPatchResponse extends ApiEnvelope<ProfileUpdateStatusPatchResponseData> {
|
|
709
1247
|
}
|
|
@@ -712,8 +1250,19 @@ export interface ProfileUpdateStatusPutInput extends JsonObject {
|
|
|
712
1250
|
"status": string;
|
|
713
1251
|
}
|
|
714
1252
|
/** Backend response type: models::SingleData. */
|
|
1253
|
+
export interface ProfileUpdateStatusPutResponseDataCity extends JsonObject {
|
|
1254
|
+
"id": string;
|
|
1255
|
+
"province_id": string;
|
|
1256
|
+
"name": string;
|
|
1257
|
+
"latitude"?: number | null;
|
|
1258
|
+
"longitude"?: number | null;
|
|
1259
|
+
"status": string;
|
|
1260
|
+
"created_at": string;
|
|
1261
|
+
"updated_at"?: string | null;
|
|
1262
|
+
"deleted_at"?: string | null;
|
|
1263
|
+
}
|
|
715
1264
|
export interface ProfileUpdateStatusPutResponseData extends JsonObject {
|
|
716
|
-
"
|
|
1265
|
+
"city": ProfileUpdateStatusPutResponseDataCity;
|
|
717
1266
|
}
|
|
718
1267
|
export interface ProfileUpdateStatusPutResponse extends ApiEnvelope<ProfileUpdateStatusPutResponseData> {
|
|
719
1268
|
}
|
|
@@ -724,12 +1273,24 @@ export interface ProfileAccountantIndexGetQuery extends QueryParams {
|
|
|
724
1273
|
"filter[search]"?: string | null;
|
|
725
1274
|
"filter[status]"?: string | null;
|
|
726
1275
|
"filter[active]"?: string | null;
|
|
727
|
-
"filter[
|
|
1276
|
+
"filter[name]"?: string | null;
|
|
1277
|
+
"filter[province_id]"?: string | null;
|
|
728
1278
|
"filter[trashed]"?: string | null;
|
|
729
1279
|
}
|
|
730
|
-
/** Backend response type: models::ListData. */
|
|
1280
|
+
/** Backend response type: models::ListData. */
|
|
1281
|
+
export interface ProfileAccountantIndexGetResponseDataCities extends JsonObject {
|
|
1282
|
+
"id": string;
|
|
1283
|
+
"province_id": string;
|
|
1284
|
+
"name": string;
|
|
1285
|
+
"latitude"?: number | null;
|
|
1286
|
+
"longitude"?: number | null;
|
|
1287
|
+
"status": string;
|
|
1288
|
+
"created_at": string;
|
|
1289
|
+
"updated_at"?: string | null;
|
|
1290
|
+
"deleted_at"?: string | null;
|
|
1291
|
+
}
|
|
731
1292
|
export interface ProfileAccountantIndexGetResponseData extends JsonObject {
|
|
732
|
-
"
|
|
1293
|
+
"cities": ProfileAccountantIndexGetResponseDataCities[];
|
|
733
1294
|
}
|
|
734
1295
|
export interface ProfileAccountantIndexGetMetaData extends JsonObject {
|
|
735
1296
|
"current_page": number;
|
|
@@ -802,8 +1363,19 @@ export interface ProfileCityGetPostInput extends JsonObject {
|
|
|
802
1363
|
"user_ids"?: string[] | null;
|
|
803
1364
|
}
|
|
804
1365
|
/** Backend response type: models::ListData. */
|
|
1366
|
+
export interface ProfileCityGetPostResponseDataCities extends JsonObject {
|
|
1367
|
+
"id": string;
|
|
1368
|
+
"province_id": string;
|
|
1369
|
+
"name": string;
|
|
1370
|
+
"latitude"?: number | null;
|
|
1371
|
+
"longitude"?: number | null;
|
|
1372
|
+
"status": string;
|
|
1373
|
+
"created_at": string;
|
|
1374
|
+
"updated_at"?: string | null;
|
|
1375
|
+
"deleted_at"?: string | null;
|
|
1376
|
+
}
|
|
805
1377
|
export interface ProfileCityGetPostResponseData extends JsonObject {
|
|
806
|
-
"
|
|
1378
|
+
"cities": ProfileCityGetPostResponseDataCities[];
|
|
807
1379
|
}
|
|
808
1380
|
export interface ProfileCityGetPostResponse extends ApiEnvelope<ProfileCityGetPostResponseData> {
|
|
809
1381
|
}
|
|
@@ -814,12 +1386,24 @@ export interface ProfileConsultantIndexGetQuery extends QueryParams {
|
|
|
814
1386
|
"filter[search]"?: string | null;
|
|
815
1387
|
"filter[status]"?: string | null;
|
|
816
1388
|
"filter[active]"?: string | null;
|
|
817
|
-
"filter[
|
|
1389
|
+
"filter[name]"?: string | null;
|
|
1390
|
+
"filter[province_id]"?: string | null;
|
|
818
1391
|
"filter[trashed]"?: string | null;
|
|
819
1392
|
}
|
|
820
1393
|
/** Backend response type: models::ListData. */
|
|
1394
|
+
export interface ProfileConsultantIndexGetResponseDataCities extends JsonObject {
|
|
1395
|
+
"id": string;
|
|
1396
|
+
"province_id": string;
|
|
1397
|
+
"name": string;
|
|
1398
|
+
"latitude"?: number | null;
|
|
1399
|
+
"longitude"?: number | null;
|
|
1400
|
+
"status": string;
|
|
1401
|
+
"created_at": string;
|
|
1402
|
+
"updated_at"?: string | null;
|
|
1403
|
+
"deleted_at"?: string | null;
|
|
1404
|
+
}
|
|
821
1405
|
export interface ProfileConsultantIndexGetResponseData extends JsonObject {
|
|
822
|
-
"
|
|
1406
|
+
"cities": ProfileConsultantIndexGetResponseDataCities[];
|
|
823
1407
|
}
|
|
824
1408
|
export interface ProfileConsultantIndexGetMetaData extends JsonObject {
|
|
825
1409
|
"current_page": number;
|
|
@@ -836,8 +1420,19 @@ export interface ProfileCountryGetPostInput extends JsonObject {
|
|
|
836
1420
|
"user_ids"?: string[] | null;
|
|
837
1421
|
}
|
|
838
1422
|
/** Backend response type: models::ListData. */
|
|
1423
|
+
export interface ProfileCountryGetPostResponseDataCities extends JsonObject {
|
|
1424
|
+
"id": string;
|
|
1425
|
+
"province_id": string;
|
|
1426
|
+
"name": string;
|
|
1427
|
+
"latitude"?: number | null;
|
|
1428
|
+
"longitude"?: number | null;
|
|
1429
|
+
"status": string;
|
|
1430
|
+
"created_at": string;
|
|
1431
|
+
"updated_at"?: string | null;
|
|
1432
|
+
"deleted_at"?: string | null;
|
|
1433
|
+
}
|
|
839
1434
|
export interface ProfileCountryGetPostResponseData extends JsonObject {
|
|
840
|
-
"
|
|
1435
|
+
"cities": ProfileCountryGetPostResponseDataCities[];
|
|
841
1436
|
}
|
|
842
1437
|
export interface ProfileCountryGetPostResponse extends ApiEnvelope<ProfileCountryGetPostResponseData> {
|
|
843
1438
|
}
|
|
@@ -849,8 +1444,19 @@ export interface ProfileBulkGetPostInput extends JsonObject {
|
|
|
849
1444
|
"user_ids": string[];
|
|
850
1445
|
}
|
|
851
1446
|
/** Backend response type: models::ListData. */
|
|
1447
|
+
export interface ProfileBulkGetPostResponseDataCities extends JsonObject {
|
|
1448
|
+
"id": string;
|
|
1449
|
+
"province_id": string;
|
|
1450
|
+
"name": string;
|
|
1451
|
+
"latitude"?: number | null;
|
|
1452
|
+
"longitude"?: number | null;
|
|
1453
|
+
"status": string;
|
|
1454
|
+
"created_at": string;
|
|
1455
|
+
"updated_at"?: string | null;
|
|
1456
|
+
"deleted_at"?: string | null;
|
|
1457
|
+
}
|
|
852
1458
|
export interface ProfileBulkGetPostResponseData extends JsonObject {
|
|
853
|
-
"
|
|
1459
|
+
"cities": ProfileBulkGetPostResponseDataCities[];
|
|
854
1460
|
}
|
|
855
1461
|
export interface ProfileBulkGetPostResponse extends ApiEnvelope<ProfileBulkGetPostResponseData> {
|
|
856
1462
|
}
|
|
@@ -873,12 +1479,24 @@ export interface ProfileManagerIndexGetQuery extends QueryParams {
|
|
|
873
1479
|
"filter[search]"?: string | null;
|
|
874
1480
|
"filter[status]"?: string | null;
|
|
875
1481
|
"filter[active]"?: string | null;
|
|
876
|
-
"filter[
|
|
1482
|
+
"filter[name]"?: string | null;
|
|
1483
|
+
"filter[province_id]"?: string | null;
|
|
877
1484
|
"filter[trashed]"?: string | null;
|
|
878
1485
|
}
|
|
879
1486
|
/** Backend response type: models::ListData. */
|
|
1487
|
+
export interface ProfileManagerIndexGetResponseDataCities extends JsonObject {
|
|
1488
|
+
"id": string;
|
|
1489
|
+
"province_id": string;
|
|
1490
|
+
"name": string;
|
|
1491
|
+
"latitude"?: number | null;
|
|
1492
|
+
"longitude"?: number | null;
|
|
1493
|
+
"status": string;
|
|
1494
|
+
"created_at": string;
|
|
1495
|
+
"updated_at"?: string | null;
|
|
1496
|
+
"deleted_at"?: string | null;
|
|
1497
|
+
}
|
|
880
1498
|
export interface ProfileManagerIndexGetResponseData extends JsonObject {
|
|
881
|
-
"
|
|
1499
|
+
"cities": ProfileManagerIndexGetResponseDataCities[];
|
|
882
1500
|
}
|
|
883
1501
|
export interface ProfileManagerIndexGetMetaData extends JsonObject {
|
|
884
1502
|
"current_page": number;
|
|
@@ -928,12 +1546,24 @@ export interface ProfileOtherIndexGetQuery extends QueryParams {
|
|
|
928
1546
|
"filter[search]"?: string | null;
|
|
929
1547
|
"filter[status]"?: string | null;
|
|
930
1548
|
"filter[active]"?: string | null;
|
|
931
|
-
"filter[
|
|
1549
|
+
"filter[name]"?: string | null;
|
|
1550
|
+
"filter[province_id]"?: string | null;
|
|
932
1551
|
"filter[trashed]"?: string | null;
|
|
933
1552
|
}
|
|
934
1553
|
/** Backend response type: models::ListData. */
|
|
1554
|
+
export interface ProfileOtherIndexGetResponseDataCities extends JsonObject {
|
|
1555
|
+
"id": string;
|
|
1556
|
+
"province_id": string;
|
|
1557
|
+
"name": string;
|
|
1558
|
+
"latitude"?: number | null;
|
|
1559
|
+
"longitude"?: number | null;
|
|
1560
|
+
"status": string;
|
|
1561
|
+
"created_at": string;
|
|
1562
|
+
"updated_at"?: string | null;
|
|
1563
|
+
"deleted_at"?: string | null;
|
|
1564
|
+
}
|
|
935
1565
|
export interface ProfileOtherIndexGetResponseData extends JsonObject {
|
|
936
|
-
"
|
|
1566
|
+
"cities": ProfileOtherIndexGetResponseDataCities[];
|
|
937
1567
|
}
|
|
938
1568
|
export interface ProfileOtherIndexGetMetaData extends JsonObject {
|
|
939
1569
|
"current_page": number;
|
|
@@ -951,12 +1581,24 @@ export interface ProfileParentIndexGetQuery extends QueryParams {
|
|
|
951
1581
|
"filter[search]"?: string | null;
|
|
952
1582
|
"filter[status]"?: string | null;
|
|
953
1583
|
"filter[active]"?: string | null;
|
|
954
|
-
"filter[
|
|
1584
|
+
"filter[name]"?: string | null;
|
|
1585
|
+
"filter[province_id]"?: string | null;
|
|
955
1586
|
"filter[trashed]"?: string | null;
|
|
956
1587
|
}
|
|
957
1588
|
/** Backend response type: models::ListData. */
|
|
1589
|
+
export interface ProfileParentIndexGetResponseDataCities extends JsonObject {
|
|
1590
|
+
"id": string;
|
|
1591
|
+
"province_id": string;
|
|
1592
|
+
"name": string;
|
|
1593
|
+
"latitude"?: number | null;
|
|
1594
|
+
"longitude"?: number | null;
|
|
1595
|
+
"status": string;
|
|
1596
|
+
"created_at": string;
|
|
1597
|
+
"updated_at"?: string | null;
|
|
1598
|
+
"deleted_at"?: string | null;
|
|
1599
|
+
}
|
|
958
1600
|
export interface ProfileParentIndexGetResponseData extends JsonObject {
|
|
959
|
-
"
|
|
1601
|
+
"cities": ProfileParentIndexGetResponseDataCities[];
|
|
960
1602
|
}
|
|
961
1603
|
export interface ProfileParentIndexGetMetaData extends JsonObject {
|
|
962
1604
|
"current_page": number;
|
|
@@ -973,23 +1615,51 @@ export interface ProfileProvinceGetPostInput extends JsonObject {
|
|
|
973
1615
|
"user_ids"?: string[] | null;
|
|
974
1616
|
}
|
|
975
1617
|
/** Backend response type: models::ListData. */
|
|
1618
|
+
export interface ProfileProvinceGetPostResponseDataCities extends JsonObject {
|
|
1619
|
+
"id": string;
|
|
1620
|
+
"province_id": string;
|
|
1621
|
+
"name": string;
|
|
1622
|
+
"latitude"?: number | null;
|
|
1623
|
+
"longitude"?: number | null;
|
|
1624
|
+
"status": string;
|
|
1625
|
+
"created_at": string;
|
|
1626
|
+
"updated_at"?: string | null;
|
|
1627
|
+
"deleted_at"?: string | null;
|
|
1628
|
+
}
|
|
976
1629
|
export interface ProfileProvinceGetPostResponseData extends JsonObject {
|
|
977
|
-
"
|
|
1630
|
+
"cities": ProfileProvinceGetPostResponseDataCities[];
|
|
978
1631
|
}
|
|
979
1632
|
export interface ProfileProvinceGetPostResponse extends ApiEnvelope<ProfileProvinceGetPostResponseData> {
|
|
980
1633
|
}
|
|
981
1634
|
/** Backend request type: crate::profile_search::models::SearchRequest. */
|
|
1635
|
+
export type ProfileSearchSearchPostInputFiltersOp = "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" | "contains" | "exists" | "json_contains";
|
|
1636
|
+
export interface ProfileSearchSearchPostInputFilters extends JsonObject {
|
|
1637
|
+
"path": string;
|
|
1638
|
+
"op": ProfileSearchSearchPostInputFiltersOp;
|
|
1639
|
+
"value"?: JsonValue | null;
|
|
1640
|
+
}
|
|
1641
|
+
export interface ProfileSearchSearchPostInputSort extends JsonObject {
|
|
1642
|
+
"path": string;
|
|
1643
|
+
"dir": string;
|
|
1644
|
+
}
|
|
982
1645
|
export interface ProfileSearchSearchPostInput extends JsonObject {
|
|
983
1646
|
"search"?: string | null;
|
|
984
|
-
"filters"?:
|
|
985
|
-
"sort"?:
|
|
1647
|
+
"filters"?: ProfileSearchSearchPostInputFilters[];
|
|
1648
|
+
"sort"?: ProfileSearchSearchPostInputSort[];
|
|
986
1649
|
"page"?: number | null;
|
|
987
1650
|
"per_page"?: number | null;
|
|
988
1651
|
"include"?: string[];
|
|
989
1652
|
}
|
|
990
1653
|
/** Backend response type: SearchData. */
|
|
1654
|
+
export interface ProfileSearchSearchPostResponseDataResults extends JsonObject {
|
|
1655
|
+
"profile_id": string;
|
|
1656
|
+
"user_id": string;
|
|
1657
|
+
"core"?: JsonValue | null;
|
|
1658
|
+
"properties"?: JsonValue | null;
|
|
1659
|
+
"services"?: JsonValue | null;
|
|
1660
|
+
}
|
|
991
1661
|
export interface ProfileSearchSearchPostResponseData extends JsonObject {
|
|
992
|
-
"results":
|
|
1662
|
+
"results": ProfileSearchSearchPostResponseDataResults[];
|
|
993
1663
|
}
|
|
994
1664
|
export interface ProfileSearchSearchPostMetaData extends JsonObject {
|
|
995
1665
|
"current_page": number;
|
|
@@ -1007,12 +1677,24 @@ export interface ProfileStudentIndexGetQuery extends QueryParams {
|
|
|
1007
1677
|
"filter[search]"?: string | null;
|
|
1008
1678
|
"filter[status]"?: string | null;
|
|
1009
1679
|
"filter[active]"?: string | null;
|
|
1010
|
-
"filter[
|
|
1680
|
+
"filter[name]"?: string | null;
|
|
1681
|
+
"filter[province_id]"?: string | null;
|
|
1011
1682
|
"filter[trashed]"?: string | null;
|
|
1012
1683
|
}
|
|
1013
1684
|
/** Backend response type: models::ListData. */
|
|
1685
|
+
export interface ProfileStudentIndexGetResponseDataCities extends JsonObject {
|
|
1686
|
+
"id": string;
|
|
1687
|
+
"province_id": string;
|
|
1688
|
+
"name": string;
|
|
1689
|
+
"latitude"?: number | null;
|
|
1690
|
+
"longitude"?: number | null;
|
|
1691
|
+
"status": string;
|
|
1692
|
+
"created_at": string;
|
|
1693
|
+
"updated_at"?: string | null;
|
|
1694
|
+
"deleted_at"?: string | null;
|
|
1695
|
+
}
|
|
1014
1696
|
export interface ProfileStudentIndexGetResponseData extends JsonObject {
|
|
1015
|
-
"
|
|
1697
|
+
"cities": ProfileStudentIndexGetResponseDataCities[];
|
|
1016
1698
|
}
|
|
1017
1699
|
export interface ProfileStudentIndexGetMetaData extends JsonObject {
|
|
1018
1700
|
"current_page": number;
|
|
@@ -1040,12 +1722,24 @@ export interface ProfileSupportIndexGetQuery extends QueryParams {
|
|
|
1040
1722
|
"filter[search]"?: string | null;
|
|
1041
1723
|
"filter[status]"?: string | null;
|
|
1042
1724
|
"filter[active]"?: string | null;
|
|
1043
|
-
"filter[
|
|
1725
|
+
"filter[name]"?: string | null;
|
|
1726
|
+
"filter[province_id]"?: string | null;
|
|
1044
1727
|
"filter[trashed]"?: string | null;
|
|
1045
1728
|
}
|
|
1046
1729
|
/** Backend response type: models::ListData. */
|
|
1730
|
+
export interface ProfileSupportIndexGetResponseDataCities extends JsonObject {
|
|
1731
|
+
"id": string;
|
|
1732
|
+
"province_id": string;
|
|
1733
|
+
"name": string;
|
|
1734
|
+
"latitude"?: number | null;
|
|
1735
|
+
"longitude"?: number | null;
|
|
1736
|
+
"status": string;
|
|
1737
|
+
"created_at": string;
|
|
1738
|
+
"updated_at"?: string | null;
|
|
1739
|
+
"deleted_at"?: string | null;
|
|
1740
|
+
}
|
|
1047
1741
|
export interface ProfileSupportIndexGetResponseData extends JsonObject {
|
|
1048
|
-
"
|
|
1742
|
+
"cities": ProfileSupportIndexGetResponseDataCities[];
|
|
1049
1743
|
}
|
|
1050
1744
|
export interface ProfileSupportIndexGetMetaData extends JsonObject {
|
|
1051
1745
|
"current_page": number;
|
|
@@ -1073,12 +1767,24 @@ export interface ProfileTeacherIndexGetQuery extends QueryParams {
|
|
|
1073
1767
|
"filter[search]"?: string | null;
|
|
1074
1768
|
"filter[status]"?: string | null;
|
|
1075
1769
|
"filter[active]"?: string | null;
|
|
1076
|
-
"filter[
|
|
1770
|
+
"filter[name]"?: string | null;
|
|
1771
|
+
"filter[province_id]"?: string | null;
|
|
1077
1772
|
"filter[trashed]"?: string | null;
|
|
1078
1773
|
}
|
|
1079
1774
|
/** Backend response type: models::ListData. */
|
|
1775
|
+
export interface ProfileTeacherIndexGetResponseDataCities extends JsonObject {
|
|
1776
|
+
"id": string;
|
|
1777
|
+
"province_id": string;
|
|
1778
|
+
"name": string;
|
|
1779
|
+
"latitude"?: number | null;
|
|
1780
|
+
"longitude"?: number | null;
|
|
1781
|
+
"status": string;
|
|
1782
|
+
"created_at": string;
|
|
1783
|
+
"updated_at"?: string | null;
|
|
1784
|
+
"deleted_at"?: string | null;
|
|
1785
|
+
}
|
|
1080
1786
|
export interface ProfileTeacherIndexGetResponseData extends JsonObject {
|
|
1081
|
-
"
|
|
1787
|
+
"cities": ProfileTeacherIndexGetResponseDataCities[];
|
|
1082
1788
|
}
|
|
1083
1789
|
export interface ProfileTeacherIndexGetMetaData extends JsonObject {
|
|
1084
1790
|
"current_page": number;
|
|
@@ -1125,8 +1831,19 @@ export interface ProfileUpdatePersonalPatchInput extends JsonObject {
|
|
|
1125
1831
|
"city_id"?: string | null;
|
|
1126
1832
|
}
|
|
1127
1833
|
/** Backend response type: models::SingleData. */
|
|
1834
|
+
export interface ProfileUpdatePersonalPatchResponseDataCity extends JsonObject {
|
|
1835
|
+
"id": string;
|
|
1836
|
+
"province_id": string;
|
|
1837
|
+
"name": string;
|
|
1838
|
+
"latitude"?: number | null;
|
|
1839
|
+
"longitude"?: number | null;
|
|
1840
|
+
"status": string;
|
|
1841
|
+
"created_at": string;
|
|
1842
|
+
"updated_at"?: string | null;
|
|
1843
|
+
"deleted_at"?: string | null;
|
|
1844
|
+
}
|
|
1128
1845
|
export interface ProfileUpdatePersonalPatchResponseData extends JsonObject {
|
|
1129
|
-
"
|
|
1846
|
+
"city": ProfileUpdatePersonalPatchResponseDataCity;
|
|
1130
1847
|
}
|
|
1131
1848
|
export interface ProfileUpdatePersonalPatchResponse extends ApiEnvelope<ProfileUpdatePersonalPatchResponseData> {
|
|
1132
1849
|
}
|
|
@@ -1149,8 +1866,19 @@ export interface ProfileUpdatePersonalPutInput extends JsonObject {
|
|
|
1149
1866
|
"city_id"?: string | null;
|
|
1150
1867
|
}
|
|
1151
1868
|
/** Backend response type: models::SingleData. */
|
|
1869
|
+
export interface ProfileUpdatePersonalPutResponseDataCity extends JsonObject {
|
|
1870
|
+
"id": string;
|
|
1871
|
+
"province_id": string;
|
|
1872
|
+
"name": string;
|
|
1873
|
+
"latitude"?: number | null;
|
|
1874
|
+
"longitude"?: number | null;
|
|
1875
|
+
"status": string;
|
|
1876
|
+
"created_at": string;
|
|
1877
|
+
"updated_at"?: string | null;
|
|
1878
|
+
"deleted_at"?: string | null;
|
|
1879
|
+
}
|
|
1152
1880
|
export interface ProfileUpdatePersonalPutResponseData extends JsonObject {
|
|
1153
|
-
"
|
|
1881
|
+
"city": ProfileUpdatePersonalPutResponseDataCity;
|
|
1154
1882
|
}
|
|
1155
1883
|
export interface ProfileUpdatePersonalPutResponse extends ApiEnvelope<ProfileUpdatePersonalPutResponseData> {
|
|
1156
1884
|
}
|
|
@@ -1162,12 +1890,23 @@ export interface ProvinceIndexGetQuery extends QueryParams {
|
|
|
1162
1890
|
"filter[status]"?: string | null;
|
|
1163
1891
|
"filter[active]"?: string | null;
|
|
1164
1892
|
"filter[name]"?: string | null;
|
|
1165
|
-
"filter[
|
|
1893
|
+
"filter[province_id]"?: string | null;
|
|
1166
1894
|
"filter[trashed]"?: string | null;
|
|
1167
1895
|
}
|
|
1168
1896
|
/** Backend response type: models::ListData. */
|
|
1897
|
+
export interface ProvinceIndexGetResponseDataCities extends JsonObject {
|
|
1898
|
+
"id": string;
|
|
1899
|
+
"country_id": string;
|
|
1900
|
+
"name": string;
|
|
1901
|
+
"latitude"?: number | null;
|
|
1902
|
+
"longitude"?: number | null;
|
|
1903
|
+
"status": string;
|
|
1904
|
+
"created_at": string;
|
|
1905
|
+
"updated_at"?: string | null;
|
|
1906
|
+
"deleted_at"?: string | null;
|
|
1907
|
+
}
|
|
1169
1908
|
export interface ProvinceIndexGetResponseData extends JsonObject {
|
|
1170
|
-
"
|
|
1909
|
+
"cities": ProvinceIndexGetResponseDataCities[];
|
|
1171
1910
|
}
|
|
1172
1911
|
export interface ProvinceIndexGetMetaData extends JsonObject {
|
|
1173
1912
|
"current_page": number;
|
|
@@ -1180,14 +1919,25 @@ export interface ProvinceIndexGetResponse extends ApiEnvelope<ProvinceIndexGetRe
|
|
|
1180
1919
|
}
|
|
1181
1920
|
/** Backend request type: models::Create. */
|
|
1182
1921
|
export interface ProvinceStorePostInput extends JsonObject {
|
|
1183
|
-
"
|
|
1922
|
+
"province_id": string;
|
|
1184
1923
|
"name": string;
|
|
1185
1924
|
"latitude"?: number | null;
|
|
1186
1925
|
"longitude"?: number | null;
|
|
1187
1926
|
}
|
|
1188
1927
|
/** Backend response type: models::SingleData. */
|
|
1928
|
+
export interface ProvinceStorePostResponseDataCity extends JsonObject {
|
|
1929
|
+
"id": string;
|
|
1930
|
+
"country_id": string;
|
|
1931
|
+
"name": string;
|
|
1932
|
+
"latitude"?: number | null;
|
|
1933
|
+
"longitude"?: number | null;
|
|
1934
|
+
"status": string;
|
|
1935
|
+
"created_at": string;
|
|
1936
|
+
"updated_at"?: string | null;
|
|
1937
|
+
"deleted_at"?: string | null;
|
|
1938
|
+
}
|
|
1189
1939
|
export interface ProvinceStorePostResponseData extends JsonObject {
|
|
1190
|
-
"
|
|
1940
|
+
"city": ProvinceStorePostResponseDataCity;
|
|
1191
1941
|
}
|
|
1192
1942
|
export interface ProvinceStorePostResponse extends ApiEnvelope<ProvinceStorePostResponseData> {
|
|
1193
1943
|
}
|
|
@@ -1195,36 +1945,69 @@ export interface ProvinceStorePostResponse extends ApiEnvelope<ProvinceStorePost
|
|
|
1195
1945
|
export interface ProvinceDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1196
1946
|
}
|
|
1197
1947
|
/** Backend response type: models::SingleData. */
|
|
1948
|
+
export interface ProvinceShowGetResponseDataCity extends JsonObject {
|
|
1949
|
+
"id": string;
|
|
1950
|
+
"country_id": string;
|
|
1951
|
+
"name": string;
|
|
1952
|
+
"latitude"?: number | null;
|
|
1953
|
+
"longitude"?: number | null;
|
|
1954
|
+
"status": string;
|
|
1955
|
+
"created_at": string;
|
|
1956
|
+
"updated_at"?: string | null;
|
|
1957
|
+
"deleted_at"?: string | null;
|
|
1958
|
+
}
|
|
1198
1959
|
export interface ProvinceShowGetResponseData extends JsonObject {
|
|
1199
|
-
"
|
|
1960
|
+
"city": ProvinceShowGetResponseDataCity;
|
|
1200
1961
|
}
|
|
1201
1962
|
export interface ProvinceShowGetResponse extends ApiEnvelope<ProvinceShowGetResponseData> {
|
|
1202
1963
|
}
|
|
1203
1964
|
/** Backend request type: models::Update. */
|
|
1204
1965
|
export interface ProvinceUpdatePatchInput extends JsonObject {
|
|
1205
|
-
"
|
|
1966
|
+
"province_id"?: string | null;
|
|
1206
1967
|
"name"?: string | null;
|
|
1207
|
-
"status"?: string | null;
|
|
1208
1968
|
"latitude"?: number | null;
|
|
1209
1969
|
"longitude"?: number | null;
|
|
1970
|
+
"status"?: string | null;
|
|
1210
1971
|
}
|
|
1211
1972
|
/** Backend response type: models::SingleData. */
|
|
1973
|
+
export interface ProvinceUpdatePatchResponseDataCity extends JsonObject {
|
|
1974
|
+
"id": string;
|
|
1975
|
+
"country_id": string;
|
|
1976
|
+
"name": string;
|
|
1977
|
+
"latitude"?: number | null;
|
|
1978
|
+
"longitude"?: number | null;
|
|
1979
|
+
"status": string;
|
|
1980
|
+
"created_at": string;
|
|
1981
|
+
"updated_at"?: string | null;
|
|
1982
|
+
"deleted_at"?: string | null;
|
|
1983
|
+
}
|
|
1212
1984
|
export interface ProvinceUpdatePatchResponseData extends JsonObject {
|
|
1213
|
-
"
|
|
1985
|
+
"city": ProvinceUpdatePatchResponseDataCity;
|
|
1214
1986
|
}
|
|
1215
1987
|
export interface ProvinceUpdatePatchResponse extends ApiEnvelope<ProvinceUpdatePatchResponseData> {
|
|
1216
1988
|
}
|
|
1217
1989
|
/** Backend request type: models::Update. */
|
|
1218
1990
|
export interface ProvinceUpdatePutInput extends JsonObject {
|
|
1219
|
-
"
|
|
1991
|
+
"province_id"?: string | null;
|
|
1220
1992
|
"name"?: string | null;
|
|
1221
|
-
"status"?: string | null;
|
|
1222
1993
|
"latitude"?: number | null;
|
|
1223
1994
|
"longitude"?: number | null;
|
|
1995
|
+
"status"?: string | null;
|
|
1224
1996
|
}
|
|
1225
1997
|
/** Backend response type: models::SingleData. */
|
|
1998
|
+
export interface ProvinceUpdatePutResponseDataCity extends JsonObject {
|
|
1999
|
+
"id": string;
|
|
2000
|
+
"country_id": string;
|
|
2001
|
+
"name": string;
|
|
2002
|
+
"latitude"?: number | null;
|
|
2003
|
+
"longitude"?: number | null;
|
|
2004
|
+
"status": string;
|
|
2005
|
+
"created_at": string;
|
|
2006
|
+
"updated_at"?: string | null;
|
|
2007
|
+
"deleted_at"?: string | null;
|
|
2008
|
+
}
|
|
1226
2009
|
export interface ProvinceUpdatePutResponseData extends JsonObject {
|
|
1227
|
-
"
|
|
2010
|
+
"city": ProvinceUpdatePutResponseDataCity;
|
|
1228
2011
|
}
|
|
1229
2012
|
export interface ProvinceUpdatePutResponse extends ApiEnvelope<ProvinceUpdatePutResponseData> {
|
|
1230
2013
|
}
|
|
@@ -1237,11 +2020,11 @@ export interface ProvinceRestoreGetResponse extends ApiEnvelope<JsonValue> {
|
|
|
1237
2020
|
/** Backend response type: Vec<entity::referral_source::Model>. */
|
|
1238
2021
|
export interface ReferralListGetResponseItem extends JsonObject {
|
|
1239
2022
|
"id": string;
|
|
1240
|
-
"
|
|
1241
|
-
"
|
|
1242
|
-
"
|
|
1243
|
-
"
|
|
1244
|
-
"
|
|
2023
|
+
"code": string;
|
|
2024
|
+
"labels": BackendJson<"Json">;
|
|
2025
|
+
"metadata": BackendJson<"Json">;
|
|
2026
|
+
"active": boolean;
|
|
2027
|
+
"sort_order": number;
|
|
1245
2028
|
"created_at": string;
|
|
1246
2029
|
"updated_at"?: string | null;
|
|
1247
2030
|
"deleted_at"?: string | null;
|
|
@@ -1259,11 +2042,11 @@ export interface ReferralCreatePostInput extends JsonObject {
|
|
|
1259
2042
|
/** Backend response type: entity::referral_source::Model. */
|
|
1260
2043
|
export interface ReferralCreatePostResponseData extends JsonObject {
|
|
1261
2044
|
"id": string;
|
|
1262
|
-
"
|
|
1263
|
-
"
|
|
1264
|
-
"
|
|
1265
|
-
"
|
|
1266
|
-
"
|
|
2045
|
+
"code": string;
|
|
2046
|
+
"labels": BackendJson<"Json">;
|
|
2047
|
+
"metadata": BackendJson<"Json">;
|
|
2048
|
+
"active": boolean;
|
|
2049
|
+
"sort_order": number;
|
|
1267
2050
|
"created_at": string;
|
|
1268
2051
|
"updated_at"?: string | null;
|
|
1269
2052
|
"deleted_at"?: string | null;
|
|
@@ -1276,11 +2059,11 @@ export interface ReferralDeleteDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
|
1276
2059
|
/** Backend response type: entity::referral_source::Model. */
|
|
1277
2060
|
export interface ReferralShowGetResponseData extends JsonObject {
|
|
1278
2061
|
"id": string;
|
|
1279
|
-
"
|
|
1280
|
-
"
|
|
1281
|
-
"
|
|
1282
|
-
"
|
|
1283
|
-
"
|
|
2062
|
+
"code": string;
|
|
2063
|
+
"labels": BackendJson<"Json">;
|
|
2064
|
+
"metadata": BackendJson<"Json">;
|
|
2065
|
+
"active": boolean;
|
|
2066
|
+
"sort_order": number;
|
|
1284
2067
|
"created_at": string;
|
|
1285
2068
|
"updated_at"?: string | null;
|
|
1286
2069
|
"deleted_at"?: string | null;
|
|
@@ -1298,11 +2081,11 @@ export interface ReferralUpdatePutInput extends JsonObject {
|
|
|
1298
2081
|
/** Backend response type: entity::referral_source::Model. */
|
|
1299
2082
|
export interface ReferralUpdatePutResponseData extends JsonObject {
|
|
1300
2083
|
"id": string;
|
|
1301
|
-
"
|
|
1302
|
-
"
|
|
1303
|
-
"
|
|
1304
|
-
"
|
|
1305
|
-
"
|
|
2084
|
+
"code": string;
|
|
2085
|
+
"labels": BackendJson<"Json">;
|
|
2086
|
+
"metadata": BackendJson<"Json">;
|
|
2087
|
+
"active": boolean;
|
|
2088
|
+
"sort_order": number;
|
|
1306
2089
|
"created_at": string;
|
|
1307
2090
|
"updated_at"?: string | null;
|
|
1308
2091
|
"deleted_at"?: string | null;
|
|
@@ -1312,11 +2095,15 @@ export interface ReferralUpdatePutResponse extends ApiEnvelope<ReferralUpdatePut
|
|
|
1312
2095
|
/** Backend response type: Vec<entity::relation_type::Model>. */
|
|
1313
2096
|
export interface RelationListTypesGetResponseItem extends JsonObject {
|
|
1314
2097
|
"id": string;
|
|
1315
|
-
"
|
|
1316
|
-
"
|
|
1317
|
-
"
|
|
1318
|
-
"
|
|
1319
|
-
"
|
|
2098
|
+
"code": string;
|
|
2099
|
+
"labels": BackendJson<"Json">;
|
|
2100
|
+
"inverse_type_id"?: string | null;
|
|
2101
|
+
"symmetric": boolean;
|
|
2102
|
+
"managed_inverse": boolean;
|
|
2103
|
+
"allow_self": boolean;
|
|
2104
|
+
"constraints": BackendJson<"Json">;
|
|
2105
|
+
"active": boolean;
|
|
2106
|
+
"sort_order": number;
|
|
1320
2107
|
"created_at": string;
|
|
1321
2108
|
"updated_at"?: string | null;
|
|
1322
2109
|
"deleted_at"?: string | null;
|
|
@@ -1338,11 +2125,15 @@ export interface RelationCreateTypePostInput extends JsonObject {
|
|
|
1338
2125
|
/** Backend response type: entity::relation_type::Model. */
|
|
1339
2126
|
export interface RelationCreateTypePostResponseData extends JsonObject {
|
|
1340
2127
|
"id": string;
|
|
1341
|
-
"
|
|
1342
|
-
"
|
|
1343
|
-
"
|
|
1344
|
-
"
|
|
1345
|
-
"
|
|
2128
|
+
"code": string;
|
|
2129
|
+
"labels": BackendJson<"Json">;
|
|
2130
|
+
"inverse_type_id"?: string | null;
|
|
2131
|
+
"symmetric": boolean;
|
|
2132
|
+
"managed_inverse": boolean;
|
|
2133
|
+
"allow_self": boolean;
|
|
2134
|
+
"constraints": BackendJson<"Json">;
|
|
2135
|
+
"active": boolean;
|
|
2136
|
+
"sort_order": number;
|
|
1346
2137
|
"created_at": string;
|
|
1347
2138
|
"updated_at"?: string | null;
|
|
1348
2139
|
"deleted_at"?: string | null;
|
|
@@ -1355,11 +2146,15 @@ export interface RelationDeleteTypeDeleteResponse extends ApiEnvelope<JsonValue>
|
|
|
1355
2146
|
/** Backend response type: entity::relation_type::Model. */
|
|
1356
2147
|
export interface RelationShowTypeGetResponseData extends JsonObject {
|
|
1357
2148
|
"id": string;
|
|
1358
|
-
"
|
|
1359
|
-
"
|
|
1360
|
-
"
|
|
1361
|
-
"
|
|
1362
|
-
"
|
|
2149
|
+
"code": string;
|
|
2150
|
+
"labels": BackendJson<"Json">;
|
|
2151
|
+
"inverse_type_id"?: string | null;
|
|
2152
|
+
"symmetric": boolean;
|
|
2153
|
+
"managed_inverse": boolean;
|
|
2154
|
+
"allow_self": boolean;
|
|
2155
|
+
"constraints": BackendJson<"Json">;
|
|
2156
|
+
"active": boolean;
|
|
2157
|
+
"sort_order": number;
|
|
1363
2158
|
"created_at": string;
|
|
1364
2159
|
"updated_at"?: string | null;
|
|
1365
2160
|
"deleted_at"?: string | null;
|
|
@@ -1381,11 +2176,15 @@ export interface RelationUpdateTypePutInput extends JsonObject {
|
|
|
1381
2176
|
/** Backend response type: entity::relation_type::Model. */
|
|
1382
2177
|
export interface RelationUpdateTypePutResponseData extends JsonObject {
|
|
1383
2178
|
"id": string;
|
|
1384
|
-
"
|
|
1385
|
-
"
|
|
1386
|
-
"
|
|
1387
|
-
"
|
|
1388
|
-
"
|
|
2179
|
+
"code": string;
|
|
2180
|
+
"labels": BackendJson<"Json">;
|
|
2181
|
+
"inverse_type_id"?: string | null;
|
|
2182
|
+
"symmetric": boolean;
|
|
2183
|
+
"managed_inverse": boolean;
|
|
2184
|
+
"allow_self": boolean;
|
|
2185
|
+
"constraints": BackendJson<"Json">;
|
|
2186
|
+
"active": boolean;
|
|
2187
|
+
"sort_order": number;
|
|
1389
2188
|
"created_at": string;
|
|
1390
2189
|
"updated_at"?: string | null;
|
|
1391
2190
|
"deleted_at"?: string | null;
|
|
@@ -1393,20 +2192,37 @@ export interface RelationUpdateTypePutResponseData extends JsonObject {
|
|
|
1393
2192
|
export interface RelationUpdateTypePutResponse extends ApiEnvelope<RelationUpdateTypePutResponseData> {
|
|
1394
2193
|
}
|
|
1395
2194
|
/** Backend response type: models::ListData. */
|
|
2195
|
+
export interface SettingIndexGetResponseDataCities extends JsonObject {
|
|
2196
|
+
"id": string;
|
|
2197
|
+
"key": string;
|
|
2198
|
+
"title": string;
|
|
2199
|
+
"value": number;
|
|
2200
|
+
"created_at": string;
|
|
2201
|
+
"updated_at"?: string | null;
|
|
2202
|
+
}
|
|
1396
2203
|
export interface SettingIndexGetResponseData extends JsonObject {
|
|
1397
|
-
"
|
|
2204
|
+
"cities": SettingIndexGetResponseDataCities[];
|
|
1398
2205
|
}
|
|
1399
2206
|
export interface SettingIndexGetResponse extends ApiEnvelope<SettingIndexGetResponseData> {
|
|
1400
2207
|
}
|
|
1401
2208
|
/** Backend request type: models::Create. */
|
|
1402
2209
|
export interface SettingStorePostInput extends JsonObject {
|
|
2210
|
+
"province_id": string;
|
|
2211
|
+
"name": string;
|
|
2212
|
+
"latitude"?: number | null;
|
|
2213
|
+
"longitude"?: number | null;
|
|
2214
|
+
}
|
|
2215
|
+
/** Backend response type: models::SingleData. */
|
|
2216
|
+
export interface SettingStorePostResponseDataCity extends JsonObject {
|
|
2217
|
+
"id": string;
|
|
1403
2218
|
"key": string;
|
|
1404
2219
|
"title": string;
|
|
1405
2220
|
"value": number;
|
|
2221
|
+
"created_at": string;
|
|
2222
|
+
"updated_at"?: string | null;
|
|
1406
2223
|
}
|
|
1407
|
-
/** Backend response type: models::SingleData. */
|
|
1408
2224
|
export interface SettingStorePostResponseData extends JsonObject {
|
|
1409
|
-
"
|
|
2225
|
+
"city": SettingStorePostResponseDataCity;
|
|
1410
2226
|
}
|
|
1411
2227
|
export interface SettingStorePostResponse extends ApiEnvelope<SettingStorePostResponseData> {
|
|
1412
2228
|
}
|
|
@@ -1417,14 +2233,19 @@ export interface LifecycleActionsListGetQuery extends QueryParams {
|
|
|
1417
2233
|
/** Backend response type: Vec<entity::state_action::Model>. */
|
|
1418
2234
|
export interface LifecycleActionsListGetResponseItem extends JsonObject {
|
|
1419
2235
|
"id": string;
|
|
1420
|
-
"
|
|
1421
|
-
"
|
|
1422
|
-
"
|
|
1423
|
-
"
|
|
1424
|
-
"
|
|
2236
|
+
"state_id": string;
|
|
2237
|
+
"phase": string;
|
|
2238
|
+
"action_type": string;
|
|
2239
|
+
"labels": BackendJson<"Json">;
|
|
2240
|
+
"config": BackendJson<"Json">;
|
|
2241
|
+
"condition"?: BackendJson<"Json"> | null;
|
|
2242
|
+
"delay_seconds": number;
|
|
2243
|
+
"retry_policy": BackendJson<"Json">;
|
|
2244
|
+
"max_attempts": number;
|
|
2245
|
+
"sort_order": number;
|
|
2246
|
+
"enabled": boolean;
|
|
1425
2247
|
"created_at": string;
|
|
1426
2248
|
"updated_at"?: string | null;
|
|
1427
|
-
"deleted_at"?: string | null;
|
|
1428
2249
|
}
|
|
1429
2250
|
export interface LifecycleActionsListGetResponse extends ApiEnvelope<LifecycleActionsListGetResponseItem[]> {
|
|
1430
2251
|
}
|
|
@@ -1445,14 +2266,19 @@ export interface LifecycleCreateActionPostInput extends JsonObject {
|
|
|
1445
2266
|
/** Backend response type: entity::state_action::Model. */
|
|
1446
2267
|
export interface LifecycleCreateActionPostResponseData extends JsonObject {
|
|
1447
2268
|
"id": string;
|
|
1448
|
-
"
|
|
1449
|
-
"
|
|
1450
|
-
"
|
|
1451
|
-
"
|
|
1452
|
-
"
|
|
2269
|
+
"state_id": string;
|
|
2270
|
+
"phase": string;
|
|
2271
|
+
"action_type": string;
|
|
2272
|
+
"labels": BackendJson<"Json">;
|
|
2273
|
+
"config": BackendJson<"Json">;
|
|
2274
|
+
"condition"?: BackendJson<"Json"> | null;
|
|
2275
|
+
"delay_seconds": number;
|
|
2276
|
+
"retry_policy": BackendJson<"Json">;
|
|
2277
|
+
"max_attempts": number;
|
|
2278
|
+
"sort_order": number;
|
|
2279
|
+
"enabled": boolean;
|
|
1453
2280
|
"created_at": string;
|
|
1454
2281
|
"updated_at"?: string | null;
|
|
1455
|
-
"deleted_at"?: string | null;
|
|
1456
2282
|
}
|
|
1457
2283
|
export interface LifecycleCreateActionPostResponse extends ApiEnvelope<LifecycleCreateActionPostResponseData> {
|
|
1458
2284
|
}
|
|
@@ -1462,14 +2288,19 @@ export interface LifecycleDeleteActionDeleteResponse extends ApiEnvelope<JsonVal
|
|
|
1462
2288
|
/** Backend response type: entity::state_action::Model. */
|
|
1463
2289
|
export interface LifecycleShowActionGetResponseData extends JsonObject {
|
|
1464
2290
|
"id": string;
|
|
1465
|
-
"
|
|
1466
|
-
"
|
|
1467
|
-
"
|
|
1468
|
-
"
|
|
1469
|
-
"
|
|
2291
|
+
"state_id": string;
|
|
2292
|
+
"phase": string;
|
|
2293
|
+
"action_type": string;
|
|
2294
|
+
"labels": BackendJson<"Json">;
|
|
2295
|
+
"config": BackendJson<"Json">;
|
|
2296
|
+
"condition"?: BackendJson<"Json"> | null;
|
|
2297
|
+
"delay_seconds": number;
|
|
2298
|
+
"retry_policy": BackendJson<"Json">;
|
|
2299
|
+
"max_attempts": number;
|
|
2300
|
+
"sort_order": number;
|
|
2301
|
+
"enabled": boolean;
|
|
1470
2302
|
"created_at": string;
|
|
1471
2303
|
"updated_at"?: string | null;
|
|
1472
|
-
"deleted_at"?: string | null;
|
|
1473
2304
|
}
|
|
1474
2305
|
export interface LifecycleShowActionGetResponse extends ApiEnvelope<LifecycleShowActionGetResponseData> {
|
|
1475
2306
|
}
|
|
@@ -1490,14 +2321,19 @@ export interface LifecycleUpdateActionPutInput extends JsonObject {
|
|
|
1490
2321
|
/** Backend response type: entity::state_action::Model. */
|
|
1491
2322
|
export interface LifecycleUpdateActionPutResponseData extends JsonObject {
|
|
1492
2323
|
"id": string;
|
|
1493
|
-
"
|
|
1494
|
-
"
|
|
1495
|
-
"
|
|
1496
|
-
"
|
|
1497
|
-
"
|
|
2324
|
+
"state_id": string;
|
|
2325
|
+
"phase": string;
|
|
2326
|
+
"action_type": string;
|
|
2327
|
+
"labels": BackendJson<"Json">;
|
|
2328
|
+
"config": BackendJson<"Json">;
|
|
2329
|
+
"condition"?: BackendJson<"Json"> | null;
|
|
2330
|
+
"delay_seconds": number;
|
|
2331
|
+
"retry_policy": BackendJson<"Json">;
|
|
2332
|
+
"max_attempts": number;
|
|
2333
|
+
"sort_order": number;
|
|
2334
|
+
"enabled": boolean;
|
|
1498
2335
|
"created_at": string;
|
|
1499
2336
|
"updated_at"?: string | null;
|
|
1500
|
-
"deleted_at"?: string | null;
|
|
1501
2337
|
}
|
|
1502
2338
|
export interface LifecycleUpdateActionPutResponse extends ApiEnvelope<LifecycleUpdateActionPutResponseData> {
|
|
1503
2339
|
}
|
|
@@ -1525,11 +2361,15 @@ export interface LifecycleStatesGetQuery extends QueryParams {
|
|
|
1525
2361
|
/** Backend response type: Vec<entity::state_definition::Model>. */
|
|
1526
2362
|
export interface LifecycleStatesGetResponseItem extends JsonObject {
|
|
1527
2363
|
"id": string;
|
|
1528
|
-
"
|
|
1529
|
-
"
|
|
1530
|
-
"
|
|
1531
|
-
"
|
|
1532
|
-
"
|
|
2364
|
+
"system_id": string;
|
|
2365
|
+
"code": string;
|
|
2366
|
+
"labels": BackendJson<"Json">;
|
|
2367
|
+
"description": BackendJson<"Json">;
|
|
2368
|
+
"rule": BackendJson<"Json">;
|
|
2369
|
+
"priority": number;
|
|
2370
|
+
"is_fallback": boolean;
|
|
2371
|
+
"active": boolean;
|
|
2372
|
+
"version": number;
|
|
1533
2373
|
"created_at": string;
|
|
1534
2374
|
"updated_at"?: string | null;
|
|
1535
2375
|
"deleted_at"?: string | null;
|
|
@@ -1550,11 +2390,15 @@ export interface LifecycleCreateStatePostInput extends JsonObject {
|
|
|
1550
2390
|
/** Backend response type: entity::state_definition::Model. */
|
|
1551
2391
|
export interface LifecycleCreateStatePostResponseData extends JsonObject {
|
|
1552
2392
|
"id": string;
|
|
1553
|
-
"
|
|
1554
|
-
"
|
|
1555
|
-
"
|
|
1556
|
-
"
|
|
1557
|
-
"
|
|
2393
|
+
"system_id": string;
|
|
2394
|
+
"code": string;
|
|
2395
|
+
"labels": BackendJson<"Json">;
|
|
2396
|
+
"description": BackendJson<"Json">;
|
|
2397
|
+
"rule": BackendJson<"Json">;
|
|
2398
|
+
"priority": number;
|
|
2399
|
+
"is_fallback": boolean;
|
|
2400
|
+
"active": boolean;
|
|
2401
|
+
"version": number;
|
|
1558
2402
|
"created_at": string;
|
|
1559
2403
|
"updated_at"?: string | null;
|
|
1560
2404
|
"deleted_at"?: string | null;
|
|
@@ -1567,11 +2411,15 @@ export interface LifecycleDeleteStateDeleteResponse extends ApiEnvelope<JsonValu
|
|
|
1567
2411
|
/** Backend response type: entity::state_definition::Model. */
|
|
1568
2412
|
export interface LifecycleShowStateGetResponseData extends JsonObject {
|
|
1569
2413
|
"id": string;
|
|
1570
|
-
"
|
|
1571
|
-
"
|
|
1572
|
-
"
|
|
1573
|
-
"
|
|
1574
|
-
"
|
|
2414
|
+
"system_id": string;
|
|
2415
|
+
"code": string;
|
|
2416
|
+
"labels": BackendJson<"Json">;
|
|
2417
|
+
"description": BackendJson<"Json">;
|
|
2418
|
+
"rule": BackendJson<"Json">;
|
|
2419
|
+
"priority": number;
|
|
2420
|
+
"is_fallback": boolean;
|
|
2421
|
+
"active": boolean;
|
|
2422
|
+
"version": number;
|
|
1575
2423
|
"created_at": string;
|
|
1576
2424
|
"updated_at"?: string | null;
|
|
1577
2425
|
"deleted_at"?: string | null;
|
|
@@ -1592,11 +2440,15 @@ export interface LifecycleUpdateStatePutInput extends JsonObject {
|
|
|
1592
2440
|
/** Backend response type: entity::state_definition::Model. */
|
|
1593
2441
|
export interface LifecycleUpdateStatePutResponseData extends JsonObject {
|
|
1594
2442
|
"id": string;
|
|
1595
|
-
"
|
|
1596
|
-
"
|
|
1597
|
-
"
|
|
1598
|
-
"
|
|
1599
|
-
"
|
|
2443
|
+
"system_id": string;
|
|
2444
|
+
"code": string;
|
|
2445
|
+
"labels": BackendJson<"Json">;
|
|
2446
|
+
"description": BackendJson<"Json">;
|
|
2447
|
+
"rule": BackendJson<"Json">;
|
|
2448
|
+
"priority": number;
|
|
2449
|
+
"is_fallback": boolean;
|
|
2450
|
+
"active": boolean;
|
|
2451
|
+
"version": number;
|
|
1600
2452
|
"created_at": string;
|
|
1601
2453
|
"updated_at"?: string | null;
|
|
1602
2454
|
"deleted_at"?: string | null;
|
|
@@ -1610,14 +2462,12 @@ export interface LifecycleActionAttemptsGetQuery extends QueryParams {
|
|
|
1610
2462
|
/** Backend response type: Vec<entity::state_action_attempt::Model>. */
|
|
1611
2463
|
export interface LifecycleActionAttemptsGetResponseItem extends JsonObject {
|
|
1612
2464
|
"id": string;
|
|
1613
|
-
"
|
|
1614
|
-
"
|
|
1615
|
-
"latitude"?: number | null;
|
|
1616
|
-
"longitude"?: number | null;
|
|
2465
|
+
"outbox_id": string;
|
|
2466
|
+
"attempt": number;
|
|
1617
2467
|
"status": string;
|
|
1618
|
-
"
|
|
1619
|
-
"
|
|
1620
|
-
"
|
|
2468
|
+
"error"?: string | null;
|
|
2469
|
+
"started_at": string;
|
|
2470
|
+
"finished_at"?: string | null;
|
|
1621
2471
|
}
|
|
1622
2472
|
export interface LifecycleActionAttemptsGetResponse extends ApiEnvelope<LifecycleActionAttemptsGetResponseItem[]> {
|
|
1623
2473
|
}
|
|
@@ -1629,13 +2479,20 @@ export interface LifecycleEvaluatePostInput extends JsonObject {
|
|
|
1629
2479
|
"trigger"?: string | null;
|
|
1630
2480
|
}
|
|
1631
2481
|
/** Backend response type: EvaluationResult. */
|
|
2482
|
+
export interface LifecycleEvaluatePostResponseDataCandidates extends JsonObject {
|
|
2483
|
+
"state_id": string;
|
|
2484
|
+
"code": string;
|
|
2485
|
+
"priority": number;
|
|
2486
|
+
"matched": boolean;
|
|
2487
|
+
"is_fallback": boolean;
|
|
2488
|
+
}
|
|
1632
2489
|
export interface LifecycleEvaluatePostResponseData extends JsonObject {
|
|
1633
2490
|
"eligible": boolean;
|
|
1634
2491
|
"selected_state_id"?: string | null;
|
|
1635
2492
|
"selected_state_code"?: string | null;
|
|
1636
2493
|
"current_state_id"?: string | null;
|
|
1637
2494
|
"changed": boolean;
|
|
1638
|
-
"candidates":
|
|
2495
|
+
"candidates": LifecycleEvaluatePostResponseDataCandidates[];
|
|
1639
2496
|
"facts": JsonValue;
|
|
1640
2497
|
}
|
|
1641
2498
|
export interface LifecycleEvaluatePostResponse extends ApiEnvelope<LifecycleEvaluatePostResponseData> {
|
|
@@ -1647,28 +2504,32 @@ export interface LifecycleOutboxGetQuery extends QueryParams {
|
|
|
1647
2504
|
/** Backend response type: Vec<entity::state_action_outbox::Model>. */
|
|
1648
2505
|
export interface LifecycleOutboxGetResponseItem extends JsonObject {
|
|
1649
2506
|
"id": string;
|
|
1650
|
-
"
|
|
1651
|
-
"
|
|
1652
|
-
"
|
|
1653
|
-
"
|
|
2507
|
+
"transition_id": string;
|
|
2508
|
+
"action_id": string;
|
|
2509
|
+
"idempotency_key": string;
|
|
2510
|
+
"available_at": string;
|
|
1654
2511
|
"status": string;
|
|
2512
|
+
"attempts": number;
|
|
2513
|
+
"last_error"?: string | null;
|
|
2514
|
+
"completed_at"?: string | null;
|
|
1655
2515
|
"created_at": string;
|
|
1656
2516
|
"updated_at"?: string | null;
|
|
1657
|
-
"deleted_at"?: string | null;
|
|
1658
2517
|
}
|
|
1659
2518
|
export interface LifecycleOutboxGetResponse extends ApiEnvelope<LifecycleOutboxGetResponseItem[]> {
|
|
1660
2519
|
}
|
|
1661
2520
|
/** Backend response type: entity::state_action_outbox::Model. */
|
|
1662
2521
|
export interface LifecycleRetryPostResponseData extends JsonObject {
|
|
1663
2522
|
"id": string;
|
|
1664
|
-
"
|
|
1665
|
-
"
|
|
1666
|
-
"
|
|
1667
|
-
"
|
|
2523
|
+
"transition_id": string;
|
|
2524
|
+
"action_id": string;
|
|
2525
|
+
"idempotency_key": string;
|
|
2526
|
+
"available_at": string;
|
|
1668
2527
|
"status": string;
|
|
2528
|
+
"attempts": number;
|
|
2529
|
+
"last_error"?: string | null;
|
|
2530
|
+
"completed_at"?: string | null;
|
|
1669
2531
|
"created_at": string;
|
|
1670
2532
|
"updated_at"?: string | null;
|
|
1671
|
-
"deleted_at"?: string | null;
|
|
1672
2533
|
}
|
|
1673
2534
|
export interface LifecycleRetryPostResponse extends ApiEnvelope<LifecycleRetryPostResponseData> {
|
|
1674
2535
|
}
|
|
@@ -1683,13 +2544,20 @@ export interface LifecyclePreviewPostInput extends JsonObject {
|
|
|
1683
2544
|
"trigger"?: string | null;
|
|
1684
2545
|
}
|
|
1685
2546
|
/** Backend response type: EvaluationResult. */
|
|
2547
|
+
export interface LifecyclePreviewPostResponseDataCandidates extends JsonObject {
|
|
2548
|
+
"state_id": string;
|
|
2549
|
+
"code": string;
|
|
2550
|
+
"priority": number;
|
|
2551
|
+
"matched": boolean;
|
|
2552
|
+
"is_fallback": boolean;
|
|
2553
|
+
}
|
|
1686
2554
|
export interface LifecyclePreviewPostResponseData extends JsonObject {
|
|
1687
2555
|
"eligible": boolean;
|
|
1688
2556
|
"selected_state_id"?: string | null;
|
|
1689
2557
|
"selected_state_code"?: string | null;
|
|
1690
2558
|
"current_state_id"?: string | null;
|
|
1691
2559
|
"changed": boolean;
|
|
1692
|
-
"candidates":
|
|
2560
|
+
"candidates": LifecyclePreviewPostResponseDataCandidates[];
|
|
1693
2561
|
"facts": JsonValue;
|
|
1694
2562
|
}
|
|
1695
2563
|
export interface LifecyclePreviewPostResponse extends ApiEnvelope<LifecyclePreviewPostResponseData> {
|
|
@@ -1702,14 +2570,15 @@ export interface LifecycleTransitionsGetQuery extends QueryParams {
|
|
|
1702
2570
|
/** Backend response type: Vec<entity::state_transition::Model>. */
|
|
1703
2571
|
export interface LifecycleTransitionsGetResponseItem extends JsonObject {
|
|
1704
2572
|
"id": string;
|
|
1705
|
-
"
|
|
1706
|
-
"
|
|
1707
|
-
"
|
|
1708
|
-
"
|
|
1709
|
-
"
|
|
1710
|
-
"
|
|
1711
|
-
"
|
|
1712
|
-
"
|
|
2573
|
+
"profile_id": string;
|
|
2574
|
+
"system_id": string;
|
|
2575
|
+
"from_state_id"?: string | null;
|
|
2576
|
+
"to_state_id": string;
|
|
2577
|
+
"definition_version": number;
|
|
2578
|
+
"trigger": string;
|
|
2579
|
+
"facts": BackendJson<"Json">;
|
|
2580
|
+
"matched_rule": BackendJson<"Json">;
|
|
2581
|
+
"transitioned_at": string;
|
|
1713
2582
|
}
|
|
1714
2583
|
export interface LifecycleTransitionsGetResponse extends ApiEnvelope<LifecycleTransitionsGetResponseItem[]> {
|
|
1715
2584
|
}
|
|
@@ -1724,11 +2593,14 @@ export interface LifecycleValidateRulePostResponse extends ApiEnvelope<JsonValue
|
|
|
1724
2593
|
/** Backend response type: Vec<entity::state_system::Model>. */
|
|
1725
2594
|
export interface LifecycleSystemsGetResponseItem extends JsonObject {
|
|
1726
2595
|
"id": string;
|
|
1727
|
-
"
|
|
1728
|
-
"
|
|
1729
|
-
"
|
|
1730
|
-
"
|
|
1731
|
-
"
|
|
2596
|
+
"code": string;
|
|
2597
|
+
"labels": BackendJson<"Json">;
|
|
2598
|
+
"description": BackendJson<"Json">;
|
|
2599
|
+
"eligibility_rule": BackendJson<"Json">;
|
|
2600
|
+
"evaluation_schedule"?: string | null;
|
|
2601
|
+
"publish_mode": string;
|
|
2602
|
+
"active": boolean;
|
|
2603
|
+
"version": number;
|
|
1732
2604
|
"created_at": string;
|
|
1733
2605
|
"updated_at"?: string | null;
|
|
1734
2606
|
"deleted_at"?: string | null;
|
|
@@ -1748,11 +2620,14 @@ export interface LifecycleCreateSystemPostInput extends JsonObject {
|
|
|
1748
2620
|
/** Backend response type: entity::state_system::Model. */
|
|
1749
2621
|
export interface LifecycleCreateSystemPostResponseData extends JsonObject {
|
|
1750
2622
|
"id": string;
|
|
1751
|
-
"
|
|
1752
|
-
"
|
|
1753
|
-
"
|
|
1754
|
-
"
|
|
1755
|
-
"
|
|
2623
|
+
"code": string;
|
|
2624
|
+
"labels": BackendJson<"Json">;
|
|
2625
|
+
"description": BackendJson<"Json">;
|
|
2626
|
+
"eligibility_rule": BackendJson<"Json">;
|
|
2627
|
+
"evaluation_schedule"?: string | null;
|
|
2628
|
+
"publish_mode": string;
|
|
2629
|
+
"active": boolean;
|
|
2630
|
+
"version": number;
|
|
1756
2631
|
"created_at": string;
|
|
1757
2632
|
"updated_at"?: string | null;
|
|
1758
2633
|
"deleted_at"?: string | null;
|
|
@@ -1765,11 +2640,14 @@ export interface LifecycleDeleteSystemDeleteResponse extends ApiEnvelope<JsonVal
|
|
|
1765
2640
|
/** Backend response type: entity::state_system::Model. */
|
|
1766
2641
|
export interface LifecycleShowSystemGetResponseData extends JsonObject {
|
|
1767
2642
|
"id": string;
|
|
1768
|
-
"
|
|
1769
|
-
"
|
|
1770
|
-
"
|
|
1771
|
-
"
|
|
1772
|
-
"
|
|
2643
|
+
"code": string;
|
|
2644
|
+
"labels": BackendJson<"Json">;
|
|
2645
|
+
"description": BackendJson<"Json">;
|
|
2646
|
+
"eligibility_rule": BackendJson<"Json">;
|
|
2647
|
+
"evaluation_schedule"?: string | null;
|
|
2648
|
+
"publish_mode": string;
|
|
2649
|
+
"active": boolean;
|
|
2650
|
+
"version": number;
|
|
1773
2651
|
"created_at": string;
|
|
1774
2652
|
"updated_at"?: string | null;
|
|
1775
2653
|
"deleted_at"?: string | null;
|
|
@@ -1789,11 +2667,14 @@ export interface LifecycleUpdateSystemPutInput extends JsonObject {
|
|
|
1789
2667
|
/** Backend response type: entity::state_system::Model. */
|
|
1790
2668
|
export interface LifecycleUpdateSystemPutResponseData extends JsonObject {
|
|
1791
2669
|
"id": string;
|
|
1792
|
-
"
|
|
1793
|
-
"
|
|
1794
|
-
"
|
|
1795
|
-
"
|
|
1796
|
-
"
|
|
2670
|
+
"code": string;
|
|
2671
|
+
"labels": BackendJson<"Json">;
|
|
2672
|
+
"description": BackendJson<"Json">;
|
|
2673
|
+
"eligibility_rule": BackendJson<"Json">;
|
|
2674
|
+
"evaluation_schedule"?: string | null;
|
|
2675
|
+
"publish_mode": string;
|
|
2676
|
+
"active": boolean;
|
|
2677
|
+
"version": number;
|
|
1797
2678
|
"created_at": string;
|
|
1798
2679
|
"updated_at"?: string | null;
|
|
1799
2680
|
"deleted_at"?: string | null;
|
|
@@ -1820,13 +2701,22 @@ export interface TrustedServiceIndexGetQuery extends QueryParams {
|
|
|
1820
2701
|
"filter[search]"?: string | null;
|
|
1821
2702
|
"filter[status]"?: string | null;
|
|
1822
2703
|
"filter[active]"?: string | null;
|
|
1823
|
-
"filter[
|
|
1824
|
-
"filter[
|
|
2704
|
+
"filter[name]"?: string | null;
|
|
2705
|
+
"filter[province_id]"?: string | null;
|
|
1825
2706
|
"filter[trashed]"?: string | null;
|
|
1826
2707
|
}
|
|
1827
2708
|
/** Backend response type: models::ListData. */
|
|
2709
|
+
export interface TrustedServiceIndexGetResponseDataCities extends JsonObject {
|
|
2710
|
+
"id": string;
|
|
2711
|
+
"service_key": string;
|
|
2712
|
+
"title": string;
|
|
2713
|
+
"status": string;
|
|
2714
|
+
"created_at": string;
|
|
2715
|
+
"updated_at"?: string | null;
|
|
2716
|
+
"deleted_at"?: string | null;
|
|
2717
|
+
}
|
|
1828
2718
|
export interface TrustedServiceIndexGetResponseData extends JsonObject {
|
|
1829
|
-
"
|
|
2719
|
+
"cities": TrustedServiceIndexGetResponseDataCities[];
|
|
1830
2720
|
}
|
|
1831
2721
|
export interface TrustedServiceIndexGetMetaData extends JsonObject {
|
|
1832
2722
|
"current_page": number;
|
|
@@ -1839,12 +2729,23 @@ export interface TrustedServiceIndexGetResponse extends ApiEnvelope<TrustedServi
|
|
|
1839
2729
|
}
|
|
1840
2730
|
/** Backend request type: models::Create. */
|
|
1841
2731
|
export interface TrustedServiceStorePostInput extends JsonObject {
|
|
2732
|
+
"province_id": string;
|
|
2733
|
+
"name": string;
|
|
2734
|
+
"latitude"?: number | null;
|
|
2735
|
+
"longitude"?: number | null;
|
|
2736
|
+
}
|
|
2737
|
+
/** Backend response type: models::SingleData. */
|
|
2738
|
+
export interface TrustedServiceStorePostResponseDataCity extends JsonObject {
|
|
2739
|
+
"id": string;
|
|
1842
2740
|
"service_key": string;
|
|
1843
2741
|
"title": string;
|
|
2742
|
+
"status": string;
|
|
2743
|
+
"created_at": string;
|
|
2744
|
+
"updated_at"?: string | null;
|
|
2745
|
+
"deleted_at"?: string | null;
|
|
1844
2746
|
}
|
|
1845
|
-
/** Backend response type: models::SingleData. */
|
|
1846
2747
|
export interface TrustedServiceStorePostResponseData extends JsonObject {
|
|
1847
|
-
"
|
|
2748
|
+
"city": TrustedServiceStorePostResponseDataCity;
|
|
1848
2749
|
}
|
|
1849
2750
|
export interface TrustedServiceStorePostResponse extends ApiEnvelope<TrustedServiceStorePostResponseData> {
|
|
1850
2751
|
}
|
|
@@ -1852,32 +2753,63 @@ export interface TrustedServiceStorePostResponse extends ApiEnvelope<TrustedServ
|
|
|
1852
2753
|
export interface TrustedServiceDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1853
2754
|
}
|
|
1854
2755
|
/** Backend response type: models::SingleData. */
|
|
2756
|
+
export interface TrustedServiceShowGetResponseDataCity extends JsonObject {
|
|
2757
|
+
"id": string;
|
|
2758
|
+
"service_key": string;
|
|
2759
|
+
"title": string;
|
|
2760
|
+
"status": string;
|
|
2761
|
+
"created_at": string;
|
|
2762
|
+
"updated_at"?: string | null;
|
|
2763
|
+
"deleted_at"?: string | null;
|
|
2764
|
+
}
|
|
1855
2765
|
export interface TrustedServiceShowGetResponseData extends JsonObject {
|
|
1856
|
-
"
|
|
2766
|
+
"city": TrustedServiceShowGetResponseDataCity;
|
|
1857
2767
|
}
|
|
1858
2768
|
export interface TrustedServiceShowGetResponse extends ApiEnvelope<TrustedServiceShowGetResponseData> {
|
|
1859
2769
|
}
|
|
1860
2770
|
/** Backend request type: models::Update. */
|
|
1861
2771
|
export interface TrustedServiceUpdatePatchInput extends JsonObject {
|
|
1862
|
-
"
|
|
1863
|
-
"
|
|
2772
|
+
"province_id"?: string | null;
|
|
2773
|
+
"name"?: string | null;
|
|
2774
|
+
"latitude"?: number | null;
|
|
2775
|
+
"longitude"?: number | null;
|
|
1864
2776
|
"status"?: string | null;
|
|
1865
2777
|
}
|
|
1866
2778
|
/** Backend response type: models::SingleData. */
|
|
2779
|
+
export interface TrustedServiceUpdatePatchResponseDataCity extends JsonObject {
|
|
2780
|
+
"id": string;
|
|
2781
|
+
"service_key": string;
|
|
2782
|
+
"title": string;
|
|
2783
|
+
"status": string;
|
|
2784
|
+
"created_at": string;
|
|
2785
|
+
"updated_at"?: string | null;
|
|
2786
|
+
"deleted_at"?: string | null;
|
|
2787
|
+
}
|
|
1867
2788
|
export interface TrustedServiceUpdatePatchResponseData extends JsonObject {
|
|
1868
|
-
"
|
|
2789
|
+
"city": TrustedServiceUpdatePatchResponseDataCity;
|
|
1869
2790
|
}
|
|
1870
2791
|
export interface TrustedServiceUpdatePatchResponse extends ApiEnvelope<TrustedServiceUpdatePatchResponseData> {
|
|
1871
2792
|
}
|
|
1872
2793
|
/** Backend request type: models::Update. */
|
|
1873
2794
|
export interface TrustedServiceUpdatePutInput extends JsonObject {
|
|
1874
|
-
"
|
|
1875
|
-
"
|
|
2795
|
+
"province_id"?: string | null;
|
|
2796
|
+
"name"?: string | null;
|
|
2797
|
+
"latitude"?: number | null;
|
|
2798
|
+
"longitude"?: number | null;
|
|
1876
2799
|
"status"?: string | null;
|
|
1877
2800
|
}
|
|
1878
2801
|
/** Backend response type: models::SingleData. */
|
|
2802
|
+
export interface TrustedServiceUpdatePutResponseDataCity extends JsonObject {
|
|
2803
|
+
"id": string;
|
|
2804
|
+
"service_key": string;
|
|
2805
|
+
"title": string;
|
|
2806
|
+
"status": string;
|
|
2807
|
+
"created_at": string;
|
|
2808
|
+
"updated_at"?: string | null;
|
|
2809
|
+
"deleted_at"?: string | null;
|
|
2810
|
+
}
|
|
1879
2811
|
export interface TrustedServiceUpdatePutResponseData extends JsonObject {
|
|
1880
|
-
"
|
|
2812
|
+
"city": TrustedServiceUpdatePutResponseDataCity;
|
|
1881
2813
|
}
|
|
1882
2814
|
export interface TrustedServiceUpdatePutResponse extends ApiEnvelope<TrustedServiceUpdatePutResponseData> {
|
|
1883
2815
|
}
|
|
@@ -1893,8 +2825,21 @@ export interface TrustedServiceEventIndexGetQuery extends QueryParams {
|
|
|
1893
2825
|
"filter[trashed]"?: string | null;
|
|
1894
2826
|
}
|
|
1895
2827
|
/** Backend response type: models::EventListData. */
|
|
2828
|
+
export interface TrustedServiceEventIndexGetResponseDataTrustedServiceEvents extends JsonObject {
|
|
2829
|
+
"id": string;
|
|
2830
|
+
"service_id": string;
|
|
2831
|
+
"event_name": string;
|
|
2832
|
+
"title": string;
|
|
2833
|
+
"visible_in_list": boolean;
|
|
2834
|
+
"visible_in_get": boolean;
|
|
2835
|
+
"visible_in_full": boolean;
|
|
2836
|
+
"payload_schema"?: JsonValue | null;
|
|
2837
|
+
"created_at": string;
|
|
2838
|
+
"updated_at"?: string | null;
|
|
2839
|
+
"deleted_at"?: string | null;
|
|
2840
|
+
}
|
|
1896
2841
|
export interface TrustedServiceEventIndexGetResponseData extends JsonObject {
|
|
1897
|
-
"trusted_service_events":
|
|
2842
|
+
"trusted_service_events": TrustedServiceEventIndexGetResponseDataTrustedServiceEvents[];
|
|
1898
2843
|
}
|
|
1899
2844
|
export interface TrustedServiceEventIndexGetMetaData extends JsonObject {
|
|
1900
2845
|
"current_page": number;
|
|
@@ -1915,8 +2860,21 @@ export interface TrustedServiceEventStorePostInput extends JsonObject {
|
|
|
1915
2860
|
"payload_schema"?: JsonValue | null;
|
|
1916
2861
|
}
|
|
1917
2862
|
/** Backend response type: models::EventSingleData. */
|
|
2863
|
+
export interface TrustedServiceEventStorePostResponseDataTrustedServiceEvent extends JsonObject {
|
|
2864
|
+
"id": string;
|
|
2865
|
+
"service_id": string;
|
|
2866
|
+
"event_name": string;
|
|
2867
|
+
"title": string;
|
|
2868
|
+
"visible_in_list": boolean;
|
|
2869
|
+
"visible_in_get": boolean;
|
|
2870
|
+
"visible_in_full": boolean;
|
|
2871
|
+
"payload_schema"?: JsonValue | null;
|
|
2872
|
+
"created_at": string;
|
|
2873
|
+
"updated_at"?: string | null;
|
|
2874
|
+
"deleted_at"?: string | null;
|
|
2875
|
+
}
|
|
1918
2876
|
export interface TrustedServiceEventStorePostResponseData extends JsonObject {
|
|
1919
|
-
"trusted_service_event":
|
|
2877
|
+
"trusted_service_event": TrustedServiceEventStorePostResponseDataTrustedServiceEvent;
|
|
1920
2878
|
}
|
|
1921
2879
|
export interface TrustedServiceEventStorePostResponse extends ApiEnvelope<TrustedServiceEventStorePostResponseData> {
|
|
1922
2880
|
}
|
|
@@ -1924,8 +2882,21 @@ export interface TrustedServiceEventStorePostResponse extends ApiEnvelope<Truste
|
|
|
1924
2882
|
export interface TrustedServiceEventDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
1925
2883
|
}
|
|
1926
2884
|
/** Backend response type: models::EventSingleData. */
|
|
2885
|
+
export interface TrustedServiceEventShowGetResponseDataTrustedServiceEvent extends JsonObject {
|
|
2886
|
+
"id": string;
|
|
2887
|
+
"service_id": string;
|
|
2888
|
+
"event_name": string;
|
|
2889
|
+
"title": string;
|
|
2890
|
+
"visible_in_list": boolean;
|
|
2891
|
+
"visible_in_get": boolean;
|
|
2892
|
+
"visible_in_full": boolean;
|
|
2893
|
+
"payload_schema"?: JsonValue | null;
|
|
2894
|
+
"created_at": string;
|
|
2895
|
+
"updated_at"?: string | null;
|
|
2896
|
+
"deleted_at"?: string | null;
|
|
2897
|
+
}
|
|
1927
2898
|
export interface TrustedServiceEventShowGetResponseData extends JsonObject {
|
|
1928
|
-
"trusted_service_event":
|
|
2899
|
+
"trusted_service_event": TrustedServiceEventShowGetResponseDataTrustedServiceEvent;
|
|
1929
2900
|
}
|
|
1930
2901
|
export interface TrustedServiceEventShowGetResponse extends ApiEnvelope<TrustedServiceEventShowGetResponseData> {
|
|
1931
2902
|
}
|
|
@@ -1939,8 +2910,21 @@ export interface TrustedServiceEventUpdatePatchInput extends JsonObject {
|
|
|
1939
2910
|
"payload_schema"?: JsonValue | null;
|
|
1940
2911
|
}
|
|
1941
2912
|
/** Backend response type: models::EventSingleData. */
|
|
2913
|
+
export interface TrustedServiceEventUpdatePatchResponseDataTrustedServiceEvent extends JsonObject {
|
|
2914
|
+
"id": string;
|
|
2915
|
+
"service_id": string;
|
|
2916
|
+
"event_name": string;
|
|
2917
|
+
"title": string;
|
|
2918
|
+
"visible_in_list": boolean;
|
|
2919
|
+
"visible_in_get": boolean;
|
|
2920
|
+
"visible_in_full": boolean;
|
|
2921
|
+
"payload_schema"?: JsonValue | null;
|
|
2922
|
+
"created_at": string;
|
|
2923
|
+
"updated_at"?: string | null;
|
|
2924
|
+
"deleted_at"?: string | null;
|
|
2925
|
+
}
|
|
1942
2926
|
export interface TrustedServiceEventUpdatePatchResponseData extends JsonObject {
|
|
1943
|
-
"trusted_service_event":
|
|
2927
|
+
"trusted_service_event": TrustedServiceEventUpdatePatchResponseDataTrustedServiceEvent;
|
|
1944
2928
|
}
|
|
1945
2929
|
export interface TrustedServiceEventUpdatePatchResponse extends ApiEnvelope<TrustedServiceEventUpdatePatchResponseData> {
|
|
1946
2930
|
}
|
|
@@ -1954,8 +2938,21 @@ export interface TrustedServiceEventUpdatePutInput extends JsonObject {
|
|
|
1954
2938
|
"payload_schema"?: JsonValue | null;
|
|
1955
2939
|
}
|
|
1956
2940
|
/** Backend response type: models::EventSingleData. */
|
|
2941
|
+
export interface TrustedServiceEventUpdatePutResponseDataTrustedServiceEvent extends JsonObject {
|
|
2942
|
+
"id": string;
|
|
2943
|
+
"service_id": string;
|
|
2944
|
+
"event_name": string;
|
|
2945
|
+
"title": string;
|
|
2946
|
+
"visible_in_list": boolean;
|
|
2947
|
+
"visible_in_get": boolean;
|
|
2948
|
+
"visible_in_full": boolean;
|
|
2949
|
+
"payload_schema"?: JsonValue | null;
|
|
2950
|
+
"created_at": string;
|
|
2951
|
+
"updated_at"?: string | null;
|
|
2952
|
+
"deleted_at"?: string | null;
|
|
2953
|
+
}
|
|
1957
2954
|
export interface TrustedServiceEventUpdatePutResponseData extends JsonObject {
|
|
1958
|
-
"trusted_service_event":
|
|
2955
|
+
"trusted_service_event": TrustedServiceEventUpdatePutResponseDataTrustedServiceEvent;
|
|
1959
2956
|
}
|
|
1960
2957
|
export interface TrustedServiceEventUpdatePutResponse extends ApiEnvelope<TrustedServiceEventUpdatePutResponseData> {
|
|
1961
2958
|
}
|