@faiber/faiber-profile 0.19.0 → 0.19.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.
@@ -1,3 +1,4 @@
1
+ import type { CreateCustomTypeInput, UpdateCustomTypeInput, Profile } from "./types.js";
1
2
  import type { ApiEnvelope, BackendJson, JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
2
3
  /** Generated route contracts. Dynamic payload members remain JSON-safe and are documented with their Rust source type. */
3
4
  /** Backend response type: api. */
@@ -454,7 +455,7 @@ export interface CustomTypeIndexGetResponseDataCities extends JsonObject {
454
455
  "updated_at"?: string | null;
455
456
  }
456
457
  export interface CustomTypeIndexGetResponseData extends JsonObject {
457
- "cities": CustomTypeIndexGetResponseDataCities[];
458
+ "custom_types": CustomTypeIndexGetResponseDataCities[];
458
459
  }
459
460
  export interface CustomTypeIndexGetMetaData extends JsonObject {
460
461
  "current_page": number;
@@ -466,11 +467,7 @@ export interface CustomTypeIndexGetResponse extends ApiEnvelope<CustomTypeIndexG
466
467
  meta: CustomTypeIndexGetMetaData;
467
468
  }
468
469
  /** Backend request type: models::Create. */
469
- export interface CustomTypeStorePostInput extends JsonObject {
470
- "province_id": string;
471
- "name": string;
472
- "latitude"?: number | null;
473
- "longitude"?: number | null;
470
+ export interface CustomTypeStorePostInput extends CreateCustomTypeInput {
474
471
  }
475
472
  /** Backend response type: models::SingleData. */
476
473
  export interface CustomTypeStorePostResponseDataCity extends JsonObject {
@@ -483,7 +480,7 @@ export interface CustomTypeStorePostResponseDataCity extends JsonObject {
483
480
  "updated_at"?: string | null;
484
481
  }
485
482
  export interface CustomTypeStorePostResponseData extends JsonObject {
486
- "city": CustomTypeStorePostResponseDataCity;
483
+ "custom_type": CustomTypeStorePostResponseDataCity;
487
484
  }
488
485
  export interface CustomTypeStorePostResponse extends ApiEnvelope<CustomTypeStorePostResponseData> {
489
486
  }
@@ -501,17 +498,12 @@ export interface CustomTypeShowGetResponseDataCity extends JsonObject {
501
498
  "updated_at"?: string | null;
502
499
  }
503
500
  export interface CustomTypeShowGetResponseData extends JsonObject {
504
- "city": CustomTypeShowGetResponseDataCity;
501
+ "custom_type": CustomTypeShowGetResponseDataCity;
505
502
  }
506
503
  export interface CustomTypeShowGetResponse extends ApiEnvelope<CustomTypeShowGetResponseData> {
507
504
  }
508
505
  /** Backend request type: models::Update. */
509
- export interface CustomTypeUpdatePatchInput extends JsonObject {
510
- "province_id"?: string | null;
511
- "name"?: string | null;
512
- "latitude"?: number | null;
513
- "longitude"?: number | null;
514
- "status"?: string | null;
506
+ export interface CustomTypeUpdatePatchInput extends UpdateCustomTypeInput {
515
507
  }
516
508
  /** Backend response type: models::SingleData. */
517
509
  export interface CustomTypeUpdatePatchResponseDataCity extends JsonObject {
@@ -524,7 +516,7 @@ export interface CustomTypeUpdatePatchResponseDataCity extends JsonObject {
524
516
  "updated_at"?: string | null;
525
517
  }
526
518
  export interface CustomTypeUpdatePatchResponseData extends JsonObject {
527
- "city": CustomTypeUpdatePatchResponseDataCity;
519
+ "custom_type": CustomTypeUpdatePatchResponseDataCity;
528
520
  }
529
521
  export interface CustomTypeUpdatePatchResponse extends ApiEnvelope<CustomTypeUpdatePatchResponseData> {
530
522
  }
@@ -625,19 +617,10 @@ export interface ProfileIndexGetQuery extends QueryParams {
625
617
  "filter[trashed]"?: string | null;
626
618
  }
627
619
  /** Backend response type: models::ListData. */
628
- export interface ProfileIndexGetResponseDataCities extends JsonObject {
629
- "id": string;
630
- "province_id": string;
631
- "name": string;
632
- "latitude"?: number | null;
633
- "longitude"?: number | null;
634
- "status": string;
635
- "created_at": string;
636
- "updated_at"?: string | null;
637
- "deleted_at"?: string | null;
620
+ export interface ProfileIndexGetResponseDataCities extends Profile {
638
621
  }
639
622
  export interface ProfileIndexGetResponseData extends JsonObject {
640
- "cities": ProfileIndexGetResponseDataCities[];
623
+ "profiles": ProfileIndexGetResponseDataCities[];
641
624
  }
642
625
  export interface ProfileIndexGetMetaData extends JsonObject {
643
626
  "current_page": number;
@@ -848,6 +831,7 @@ export interface ReferralShowProfileReferralGetResponseData extends JsonObject {
848
831
  "gender"?: string | null;
849
832
  "attendance_mode"?: string | null;
850
833
  "level"?: string | null;
834
+ "education_id"?: string | null;
851
835
  "referral_source"?: string | null;
852
836
  "referrer_uuid"?: string | null;
853
837
  "referral_source_id"?: string | null;
@@ -897,6 +881,7 @@ export interface ReferralAssignPutResponseData extends JsonObject {
897
881
  "gender"?: string | null;
898
882
  "attendance_mode"?: string | null;
899
883
  "level"?: string | null;
884
+ "education_id"?: string | null;
900
885
  "referral_source"?: string | null;
901
886
  "referrer_uuid"?: string | null;
902
887
  "referral_source_id"?: string | null;
@@ -1006,19 +991,10 @@ export interface ProfileDeleteParentDeleteResponse extends ApiEnvelope<JsonValue
1006
991
  export interface ProfileDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
1007
992
  }
1008
993
  /** Backend response type: models::SingleData. */
1009
- export interface ProfileShowGetResponseDataCity extends JsonObject {
1010
- "id": string;
1011
- "province_id": string;
1012
- "name": string;
1013
- "latitude"?: number | null;
1014
- "longitude"?: number | null;
1015
- "status": string;
1016
- "created_at": string;
1017
- "updated_at"?: string | null;
1018
- "deleted_at"?: string | null;
994
+ export interface ProfileShowGetResponseDataCity extends Profile {
1019
995
  }
1020
996
  export interface ProfileShowGetResponseData extends JsonObject {
1021
- "city": ProfileShowGetResponseDataCity;
997
+ "profile": ProfileShowGetResponseDataCity;
1022
998
  }
1023
999
  export interface ProfileShowGetResponse extends ApiEnvelope<ProfileShowGetResponseData> {
1024
1000
  }
@@ -1052,36 +1028,18 @@ export interface ProfileUpdatePatchInput extends JsonObject {
1052
1028
  "properties"?: Record<string, JsonValue> | null;
1053
1029
  }
1054
1030
  /** Backend response type: models::SingleData. */
1055
- export interface ProfileUpdatePatchResponseDataCity extends JsonObject {
1056
- "id": string;
1057
- "province_id": string;
1058
- "name": string;
1059
- "latitude"?: number | null;
1060
- "longitude"?: number | null;
1061
- "status": string;
1062
- "created_at": string;
1063
- "updated_at"?: string | null;
1064
- "deleted_at"?: string | null;
1031
+ export interface ProfileUpdatePatchResponseDataCity extends Profile {
1065
1032
  }
1066
1033
  export interface ProfileUpdatePatchResponseData extends JsonObject {
1067
- "city": ProfileUpdatePatchResponseDataCity;
1034
+ "profile": ProfileUpdatePatchResponseDataCity;
1068
1035
  }
1069
1036
  export interface ProfileUpdatePatchResponse extends ApiEnvelope<ProfileUpdatePatchResponseData> {
1070
1037
  }
1071
1038
  /** Backend response type: models::SingleData. */
1072
- export interface ProfileShowAdminGetResponseDataCity extends JsonObject {
1073
- "id": string;
1074
- "province_id": string;
1075
- "name": string;
1076
- "latitude"?: number | null;
1077
- "longitude"?: number | null;
1078
- "status": string;
1079
- "created_at": string;
1080
- "updated_at"?: string | null;
1081
- "deleted_at"?: string | null;
1039
+ export interface ProfileShowAdminGetResponseDataCity extends Profile {
1082
1040
  }
1083
1041
  export interface ProfileShowAdminGetResponseData extends JsonObject {
1084
- "city": ProfileShowAdminGetResponseDataCity;
1042
+ "profile": ProfileShowAdminGetResponseDataCity;
1085
1043
  }
1086
1044
  export interface ProfileShowAdminGetResponse extends ApiEnvelope<ProfileShowAdminGetResponseData> {
1087
1045
  }
@@ -1108,19 +1066,10 @@ export interface ProfileUpdateEmployeeTypePatchInput extends JsonObject {
1108
1066
  "employee_type": string;
1109
1067
  }
1110
1068
  /** Backend response type: models::SingleData. */
1111
- export interface ProfileUpdateEmployeeTypePatchResponseDataCity extends JsonObject {
1112
- "id": string;
1113
- "province_id": string;
1114
- "name": string;
1115
- "latitude"?: number | null;
1116
- "longitude"?: number | null;
1117
- "status": string;
1118
- "created_at": string;
1119
- "updated_at"?: string | null;
1120
- "deleted_at"?: string | null;
1069
+ export interface ProfileUpdateEmployeeTypePatchResponseDataCity extends Profile {
1121
1070
  }
1122
1071
  export interface ProfileUpdateEmployeeTypePatchResponseData extends JsonObject {
1123
- "city": ProfileUpdateEmployeeTypePatchResponseDataCity;
1072
+ "profile": ProfileUpdateEmployeeTypePatchResponseDataCity;
1124
1073
  }
1125
1074
  export interface ProfileUpdateEmployeeTypePatchResponse extends ApiEnvelope<ProfileUpdateEmployeeTypePatchResponseData> {
1126
1075
  }
@@ -1129,19 +1078,10 @@ export interface ProfileUpdateEmployeeTypePutInput extends JsonObject {
1129
1078
  "employee_type": string;
1130
1079
  }
1131
1080
  /** Backend response type: models::SingleData. */
1132
- export interface ProfileUpdateEmployeeTypePutResponseDataCity extends JsonObject {
1133
- "id": string;
1134
- "province_id": string;
1135
- "name": string;
1136
- "latitude"?: number | null;
1137
- "longitude"?: number | null;
1138
- "status": string;
1139
- "created_at": string;
1140
- "updated_at"?: string | null;
1141
- "deleted_at"?: string | null;
1081
+ export interface ProfileUpdateEmployeeTypePutResponseDataCity extends Profile {
1142
1082
  }
1143
1083
  export interface ProfileUpdateEmployeeTypePutResponseData extends JsonObject {
1144
- "city": ProfileUpdateEmployeeTypePutResponseDataCity;
1084
+ "profile": ProfileUpdateEmployeeTypePutResponseDataCity;
1145
1085
  }
1146
1086
  export interface ProfileUpdateEmployeeTypePutResponse extends ApiEnvelope<ProfileUpdateEmployeeTypePutResponseData> {
1147
1087
  }
@@ -1150,19 +1090,10 @@ export interface ProfileUpdateFreemiumPatchInput extends JsonObject {
1150
1090
  "freemium_session_limit": number;
1151
1091
  }
1152
1092
  /** Backend response type: models::SingleData. */
1153
- export interface ProfileUpdateFreemiumPatchResponseDataCity extends JsonObject {
1154
- "id": string;
1155
- "province_id": string;
1156
- "name": string;
1157
- "latitude"?: number | null;
1158
- "longitude"?: number | null;
1159
- "status": string;
1160
- "created_at": string;
1161
- "updated_at"?: string | null;
1162
- "deleted_at"?: string | null;
1093
+ export interface ProfileUpdateFreemiumPatchResponseDataCity extends Profile {
1163
1094
  }
1164
1095
  export interface ProfileUpdateFreemiumPatchResponseData extends JsonObject {
1165
- "city": ProfileUpdateFreemiumPatchResponseDataCity;
1096
+ "profile": ProfileUpdateFreemiumPatchResponseDataCity;
1166
1097
  }
1167
1098
  export interface ProfileUpdateFreemiumPatchResponse extends ApiEnvelope<ProfileUpdateFreemiumPatchResponseData> {
1168
1099
  }
@@ -1171,36 +1102,18 @@ export interface ProfileUpdateFreemiumPutInput extends JsonObject {
1171
1102
  "freemium_session_limit": number;
1172
1103
  }
1173
1104
  /** Backend response type: models::SingleData. */
1174
- export interface ProfileUpdateFreemiumPutResponseDataCity extends JsonObject {
1175
- "id": string;
1176
- "province_id": string;
1177
- "name": string;
1178
- "latitude"?: number | null;
1179
- "longitude"?: number | null;
1180
- "status": string;
1181
- "created_at": string;
1182
- "updated_at"?: string | null;
1183
- "deleted_at"?: string | null;
1105
+ export interface ProfileUpdateFreemiumPutResponseDataCity extends Profile {
1184
1106
  }
1185
1107
  export interface ProfileUpdateFreemiumPutResponseData extends JsonObject {
1186
- "city": ProfileUpdateFreemiumPutResponseDataCity;
1108
+ "profile": ProfileUpdateFreemiumPutResponseDataCity;
1187
1109
  }
1188
1110
  export interface ProfileUpdateFreemiumPutResponse extends ApiEnvelope<ProfileUpdateFreemiumPutResponseData> {
1189
1111
  }
1190
1112
  /** Backend response type: models::SingleData. */
1191
- export interface ProfileShowFullGetResponseDataCity extends JsonObject {
1192
- "id": string;
1193
- "province_id": string;
1194
- "name": string;
1195
- "latitude"?: number | null;
1196
- "longitude"?: number | null;
1197
- "status": string;
1198
- "created_at": string;
1199
- "updated_at"?: string | null;
1200
- "deleted_at"?: string | null;
1113
+ export interface ProfileShowFullGetResponseDataCity extends Profile {
1201
1114
  }
1202
1115
  export interface ProfileShowFullGetResponseData extends JsonObject {
1203
- "city": ProfileShowFullGetResponseDataCity;
1116
+ "profile": ProfileShowFullGetResponseDataCity;
1204
1117
  }
1205
1118
  export interface ProfileShowFullGetResponse extends ApiEnvelope<ProfileShowFullGetResponseData> {
1206
1119
  }
@@ -1230,19 +1143,10 @@ export interface ProfileUpdateStatusPatchInput extends JsonObject {
1230
1143
  "status": string;
1231
1144
  }
1232
1145
  /** Backend response type: models::SingleData. */
1233
- export interface ProfileUpdateStatusPatchResponseDataCity extends JsonObject {
1234
- "id": string;
1235
- "province_id": string;
1236
- "name": string;
1237
- "latitude"?: number | null;
1238
- "longitude"?: number | null;
1239
- "status": string;
1240
- "created_at": string;
1241
- "updated_at"?: string | null;
1242
- "deleted_at"?: string | null;
1146
+ export interface ProfileUpdateStatusPatchResponseDataCity extends Profile {
1243
1147
  }
1244
1148
  export interface ProfileUpdateStatusPatchResponseData extends JsonObject {
1245
- "city": ProfileUpdateStatusPatchResponseDataCity;
1149
+ "profile": ProfileUpdateStatusPatchResponseDataCity;
1246
1150
  }
1247
1151
  export interface ProfileUpdateStatusPatchResponse extends ApiEnvelope<ProfileUpdateStatusPatchResponseData> {
1248
1152
  }
@@ -1251,19 +1155,10 @@ export interface ProfileUpdateStatusPutInput extends JsonObject {
1251
1155
  "status": string;
1252
1156
  }
1253
1157
  /** Backend response type: models::SingleData. */
1254
- export interface ProfileUpdateStatusPutResponseDataCity extends JsonObject {
1255
- "id": string;
1256
- "province_id": string;
1257
- "name": string;
1258
- "latitude"?: number | null;
1259
- "longitude"?: number | null;
1260
- "status": string;
1261
- "created_at": string;
1262
- "updated_at"?: string | null;
1263
- "deleted_at"?: string | null;
1158
+ export interface ProfileUpdateStatusPutResponseDataCity extends Profile {
1264
1159
  }
1265
1160
  export interface ProfileUpdateStatusPutResponseData extends JsonObject {
1266
- "city": ProfileUpdateStatusPutResponseDataCity;
1161
+ "profile": ProfileUpdateStatusPutResponseDataCity;
1267
1162
  }
1268
1163
  export interface ProfileUpdateStatusPutResponse extends ApiEnvelope<ProfileUpdateStatusPutResponseData> {
1269
1164
  }
@@ -1279,19 +1174,10 @@ export interface ProfileAccountantIndexGetQuery extends QueryParams {
1279
1174
  "filter[trashed]"?: string | null;
1280
1175
  }
1281
1176
  /** Backend response type: models::ListData. */
1282
- export interface ProfileAccountantIndexGetResponseDataCities extends JsonObject {
1283
- "id": string;
1284
- "province_id": string;
1285
- "name": string;
1286
- "latitude"?: number | null;
1287
- "longitude"?: number | null;
1288
- "status": string;
1289
- "created_at": string;
1290
- "updated_at"?: string | null;
1291
- "deleted_at"?: string | null;
1177
+ export interface ProfileAccountantIndexGetResponseDataCities extends Profile {
1292
1178
  }
1293
1179
  export interface ProfileAccountantIndexGetResponseData extends JsonObject {
1294
- "cities": ProfileAccountantIndexGetResponseDataCities[];
1180
+ "profiles": ProfileAccountantIndexGetResponseDataCities[];
1295
1181
  }
1296
1182
  export interface ProfileAccountantIndexGetMetaData extends JsonObject {
1297
1183
  "current_page": number;
@@ -1364,19 +1250,10 @@ export interface ProfileCityGetPostInput extends JsonObject {
1364
1250
  "user_ids"?: string[] | null;
1365
1251
  }
1366
1252
  /** Backend response type: models::ListData. */
1367
- export interface ProfileCityGetPostResponseDataCities extends JsonObject {
1368
- "id": string;
1369
- "province_id": string;
1370
- "name": string;
1371
- "latitude"?: number | null;
1372
- "longitude"?: number | null;
1373
- "status": string;
1374
- "created_at": string;
1375
- "updated_at"?: string | null;
1376
- "deleted_at"?: string | null;
1253
+ export interface ProfileCityGetPostResponseDataCities extends Profile {
1377
1254
  }
1378
1255
  export interface ProfileCityGetPostResponseData extends JsonObject {
1379
- "cities": ProfileCityGetPostResponseDataCities[];
1256
+ "profiles": ProfileCityGetPostResponseDataCities[];
1380
1257
  }
1381
1258
  export interface ProfileCityGetPostResponse extends ApiEnvelope<ProfileCityGetPostResponseData> {
1382
1259
  }
@@ -1392,19 +1269,10 @@ export interface ProfileConsultantIndexGetQuery extends QueryParams {
1392
1269
  "filter[trashed]"?: string | null;
1393
1270
  }
1394
1271
  /** Backend response type: models::ListData. */
1395
- export interface ProfileConsultantIndexGetResponseDataCities extends JsonObject {
1396
- "id": string;
1397
- "province_id": string;
1398
- "name": string;
1399
- "latitude"?: number | null;
1400
- "longitude"?: number | null;
1401
- "status": string;
1402
- "created_at": string;
1403
- "updated_at"?: string | null;
1404
- "deleted_at"?: string | null;
1272
+ export interface ProfileConsultantIndexGetResponseDataCities extends Profile {
1405
1273
  }
1406
1274
  export interface ProfileConsultantIndexGetResponseData extends JsonObject {
1407
- "cities": ProfileConsultantIndexGetResponseDataCities[];
1275
+ "profiles": ProfileConsultantIndexGetResponseDataCities[];
1408
1276
  }
1409
1277
  export interface ProfileConsultantIndexGetMetaData extends JsonObject {
1410
1278
  "current_page": number;
@@ -1421,19 +1289,10 @@ export interface ProfileCountryGetPostInput extends JsonObject {
1421
1289
  "user_ids"?: string[] | null;
1422
1290
  }
1423
1291
  /** Backend response type: models::ListData. */
1424
- export interface ProfileCountryGetPostResponseDataCities extends JsonObject {
1425
- "id": string;
1426
- "province_id": string;
1427
- "name": string;
1428
- "latitude"?: number | null;
1429
- "longitude"?: number | null;
1430
- "status": string;
1431
- "created_at": string;
1432
- "updated_at"?: string | null;
1433
- "deleted_at"?: string | null;
1292
+ export interface ProfileCountryGetPostResponseDataCities extends Profile {
1434
1293
  }
1435
1294
  export interface ProfileCountryGetPostResponseData extends JsonObject {
1436
- "cities": ProfileCountryGetPostResponseDataCities[];
1295
+ "profiles": ProfileCountryGetPostResponseDataCities[];
1437
1296
  }
1438
1297
  export interface ProfileCountryGetPostResponse extends ApiEnvelope<ProfileCountryGetPostResponseData> {
1439
1298
  }
@@ -1445,19 +1304,10 @@ export interface ProfileBulkGetPostInput extends JsonObject {
1445
1304
  "user_ids": string[];
1446
1305
  }
1447
1306
  /** Backend response type: models::ListData. */
1448
- export interface ProfileBulkGetPostResponseDataCities extends JsonObject {
1449
- "id": string;
1450
- "province_id": string;
1451
- "name": string;
1452
- "latitude"?: number | null;
1453
- "longitude"?: number | null;
1454
- "status": string;
1455
- "created_at": string;
1456
- "updated_at"?: string | null;
1457
- "deleted_at"?: string | null;
1307
+ export interface ProfileBulkGetPostResponseDataCities extends Profile {
1458
1308
  }
1459
1309
  export interface ProfileBulkGetPostResponseData extends JsonObject {
1460
- "cities": ProfileBulkGetPostResponseDataCities[];
1310
+ "profiles": ProfileBulkGetPostResponseDataCities[];
1461
1311
  }
1462
1312
  export interface ProfileBulkGetPostResponse extends ApiEnvelope<ProfileBulkGetPostResponseData> {
1463
1313
  }
@@ -1485,19 +1335,10 @@ export interface ProfileManagerIndexGetQuery extends QueryParams {
1485
1335
  "filter[trashed]"?: string | null;
1486
1336
  }
1487
1337
  /** Backend response type: models::ListData. */
1488
- export interface ProfileManagerIndexGetResponseDataCities extends JsonObject {
1489
- "id": string;
1490
- "province_id": string;
1491
- "name": string;
1492
- "latitude"?: number | null;
1493
- "longitude"?: number | null;
1494
- "status": string;
1495
- "created_at": string;
1496
- "updated_at"?: string | null;
1497
- "deleted_at"?: string | null;
1338
+ export interface ProfileManagerIndexGetResponseDataCities extends Profile {
1498
1339
  }
1499
1340
  export interface ProfileManagerIndexGetResponseData extends JsonObject {
1500
- "cities": ProfileManagerIndexGetResponseDataCities[];
1341
+ "profiles": ProfileManagerIndexGetResponseDataCities[];
1501
1342
  }
1502
1343
  export interface ProfileManagerIndexGetMetaData extends JsonObject {
1503
1344
  "current_page": number;
@@ -1552,19 +1393,10 @@ export interface ProfileOtherIndexGetQuery extends QueryParams {
1552
1393
  "filter[trashed]"?: string | null;
1553
1394
  }
1554
1395
  /** Backend response type: models::ListData. */
1555
- export interface ProfileOtherIndexGetResponseDataCities extends JsonObject {
1556
- "id": string;
1557
- "province_id": string;
1558
- "name": string;
1559
- "latitude"?: number | null;
1560
- "longitude"?: number | null;
1561
- "status": string;
1562
- "created_at": string;
1563
- "updated_at"?: string | null;
1564
- "deleted_at"?: string | null;
1396
+ export interface ProfileOtherIndexGetResponseDataCities extends Profile {
1565
1397
  }
1566
1398
  export interface ProfileOtherIndexGetResponseData extends JsonObject {
1567
- "cities": ProfileOtherIndexGetResponseDataCities[];
1399
+ "profiles": ProfileOtherIndexGetResponseDataCities[];
1568
1400
  }
1569
1401
  export interface ProfileOtherIndexGetMetaData extends JsonObject {
1570
1402
  "current_page": number;
@@ -1587,19 +1419,10 @@ export interface ProfileParentIndexGetQuery extends QueryParams {
1587
1419
  "filter[trashed]"?: string | null;
1588
1420
  }
1589
1421
  /** Backend response type: models::ListData. */
1590
- export interface ProfileParentIndexGetResponseDataCities extends JsonObject {
1591
- "id": string;
1592
- "province_id": string;
1593
- "name": string;
1594
- "latitude"?: number | null;
1595
- "longitude"?: number | null;
1596
- "status": string;
1597
- "created_at": string;
1598
- "updated_at"?: string | null;
1599
- "deleted_at"?: string | null;
1422
+ export interface ProfileParentIndexGetResponseDataCities extends Profile {
1600
1423
  }
1601
1424
  export interface ProfileParentIndexGetResponseData extends JsonObject {
1602
- "cities": ProfileParentIndexGetResponseDataCities[];
1425
+ "profiles": ProfileParentIndexGetResponseDataCities[];
1603
1426
  }
1604
1427
  export interface ProfileParentIndexGetMetaData extends JsonObject {
1605
1428
  "current_page": number;
@@ -1616,19 +1439,10 @@ export interface ProfileProvinceGetPostInput extends JsonObject {
1616
1439
  "user_ids"?: string[] | null;
1617
1440
  }
1618
1441
  /** Backend response type: models::ListData. */
1619
- export interface ProfileProvinceGetPostResponseDataCities extends JsonObject {
1620
- "id": string;
1621
- "province_id": string;
1622
- "name": string;
1623
- "latitude"?: number | null;
1624
- "longitude"?: number | null;
1625
- "status": string;
1626
- "created_at": string;
1627
- "updated_at"?: string | null;
1628
- "deleted_at"?: string | null;
1442
+ export interface ProfileProvinceGetPostResponseDataCities extends Profile {
1629
1443
  }
1630
1444
  export interface ProfileProvinceGetPostResponseData extends JsonObject {
1631
- "cities": ProfileProvinceGetPostResponseDataCities[];
1445
+ "profiles": ProfileProvinceGetPostResponseDataCities[];
1632
1446
  }
1633
1447
  export interface ProfileProvinceGetPostResponse extends ApiEnvelope<ProfileProvinceGetPostResponseData> {
1634
1448
  }
@@ -1683,19 +1497,10 @@ export interface ProfileStudentIndexGetQuery extends QueryParams {
1683
1497
  "filter[trashed]"?: string | null;
1684
1498
  }
1685
1499
  /** Backend response type: models::ListData. */
1686
- export interface ProfileStudentIndexGetResponseDataCities extends JsonObject {
1687
- "id": string;
1688
- "province_id": string;
1689
- "name": string;
1690
- "latitude"?: number | null;
1691
- "longitude"?: number | null;
1692
- "status": string;
1693
- "created_at": string;
1694
- "updated_at"?: string | null;
1695
- "deleted_at"?: string | null;
1500
+ export interface ProfileStudentIndexGetResponseDataCities extends Profile {
1696
1501
  }
1697
1502
  export interface ProfileStudentIndexGetResponseData extends JsonObject {
1698
- "cities": ProfileStudentIndexGetResponseDataCities[];
1503
+ "profiles": ProfileStudentIndexGetResponseDataCities[];
1699
1504
  }
1700
1505
  export interface ProfileStudentIndexGetMetaData extends JsonObject {
1701
1506
  "current_page": number;
@@ -1728,19 +1533,10 @@ export interface ProfileSupportIndexGetQuery extends QueryParams {
1728
1533
  "filter[trashed]"?: string | null;
1729
1534
  }
1730
1535
  /** Backend response type: models::ListData. */
1731
- export interface ProfileSupportIndexGetResponseDataCities extends JsonObject {
1732
- "id": string;
1733
- "province_id": string;
1734
- "name": string;
1735
- "latitude"?: number | null;
1736
- "longitude"?: number | null;
1737
- "status": string;
1738
- "created_at": string;
1739
- "updated_at"?: string | null;
1740
- "deleted_at"?: string | null;
1536
+ export interface ProfileSupportIndexGetResponseDataCities extends Profile {
1741
1537
  }
1742
1538
  export interface ProfileSupportIndexGetResponseData extends JsonObject {
1743
- "cities": ProfileSupportIndexGetResponseDataCities[];
1539
+ "profiles": ProfileSupportIndexGetResponseDataCities[];
1744
1540
  }
1745
1541
  export interface ProfileSupportIndexGetMetaData extends JsonObject {
1746
1542
  "current_page": number;
@@ -1773,19 +1569,10 @@ export interface ProfileTeacherIndexGetQuery extends QueryParams {
1773
1569
  "filter[trashed]"?: string | null;
1774
1570
  }
1775
1571
  /** Backend response type: models::ListData. */
1776
- export interface ProfileTeacherIndexGetResponseDataCities extends JsonObject {
1777
- "id": string;
1778
- "province_id": string;
1779
- "name": string;
1780
- "latitude"?: number | null;
1781
- "longitude"?: number | null;
1782
- "status": string;
1783
- "created_at": string;
1784
- "updated_at"?: string | null;
1785
- "deleted_at"?: string | null;
1572
+ export interface ProfileTeacherIndexGetResponseDataCities extends Profile {
1786
1573
  }
1787
1574
  export interface ProfileTeacherIndexGetResponseData extends JsonObject {
1788
- "cities": ProfileTeacherIndexGetResponseDataCities[];
1575
+ "profiles": ProfileTeacherIndexGetResponseDataCities[];
1789
1576
  }
1790
1577
  export interface ProfileTeacherIndexGetMetaData extends JsonObject {
1791
1578
  "current_page": number;
@@ -1832,19 +1619,10 @@ export interface ProfileUpdatePersonalPatchInput extends JsonObject {
1832
1619
  "city_id"?: string | null;
1833
1620
  }
1834
1621
  /** Backend response type: models::SingleData. */
1835
- export interface ProfileUpdatePersonalPatchResponseDataCity extends JsonObject {
1836
- "id": string;
1837
- "province_id": string;
1838
- "name": string;
1839
- "latitude"?: number | null;
1840
- "longitude"?: number | null;
1841
- "status": string;
1842
- "created_at": string;
1843
- "updated_at"?: string | null;
1844
- "deleted_at"?: string | null;
1622
+ export interface ProfileUpdatePersonalPatchResponseDataCity extends Profile {
1845
1623
  }
1846
1624
  export interface ProfileUpdatePersonalPatchResponseData extends JsonObject {
1847
- "city": ProfileUpdatePersonalPatchResponseDataCity;
1625
+ "profile": ProfileUpdatePersonalPatchResponseDataCity;
1848
1626
  }
1849
1627
  export interface ProfileUpdatePersonalPatchResponse extends ApiEnvelope<ProfileUpdatePersonalPatchResponseData> {
1850
1628
  }
@@ -1867,19 +1645,10 @@ export interface ProfileUpdatePersonalPutInput extends JsonObject {
1867
1645
  "city_id"?: string | null;
1868
1646
  }
1869
1647
  /** Backend response type: models::SingleData. */
1870
- export interface ProfileUpdatePersonalPutResponseDataCity extends JsonObject {
1871
- "id": string;
1872
- "province_id": string;
1873
- "name": string;
1874
- "latitude"?: number | null;
1875
- "longitude"?: number | null;
1876
- "status": string;
1877
- "created_at": string;
1878
- "updated_at"?: string | null;
1879
- "deleted_at"?: string | null;
1648
+ export interface ProfileUpdatePersonalPutResponseDataCity extends Profile {
1880
1649
  }
1881
1650
  export interface ProfileUpdatePersonalPutResponseData extends JsonObject {
1882
- "city": ProfileUpdatePersonalPutResponseDataCity;
1651
+ "profile": ProfileUpdatePersonalPutResponseDataCity;
1883
1652
  }
1884
1653
  export interface ProfileUpdatePersonalPutResponse extends ApiEnvelope<ProfileUpdatePersonalPutResponseData> {
1885
1654
  }