@faiber/faiber-profile 0.19.0 → 0.20.0

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. */
@@ -124,6 +125,7 @@ export interface SessionGetSelfGetResponseDataProfile extends JsonObject {
124
125
  "first_name"?: JsonValue | null;
125
126
  "last_name"?: JsonValue | null;
126
127
  "gender"?: string | null;
128
+ "job"?: string | null;
127
129
  "status": string;
128
130
  "employee_type"?: string | null;
129
131
  "freemium_session_limit"?: number | null;
@@ -454,7 +456,7 @@ export interface CustomTypeIndexGetResponseDataCities extends JsonObject {
454
456
  "updated_at"?: string | null;
455
457
  }
456
458
  export interface CustomTypeIndexGetResponseData extends JsonObject {
457
- "cities": CustomTypeIndexGetResponseDataCities[];
459
+ "custom_types": CustomTypeIndexGetResponseDataCities[];
458
460
  }
459
461
  export interface CustomTypeIndexGetMetaData extends JsonObject {
460
462
  "current_page": number;
@@ -466,11 +468,7 @@ export interface CustomTypeIndexGetResponse extends ApiEnvelope<CustomTypeIndexG
466
468
  meta: CustomTypeIndexGetMetaData;
467
469
  }
468
470
  /** 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;
471
+ export interface CustomTypeStorePostInput extends CreateCustomTypeInput {
474
472
  }
475
473
  /** Backend response type: models::SingleData. */
476
474
  export interface CustomTypeStorePostResponseDataCity extends JsonObject {
@@ -483,7 +481,7 @@ export interface CustomTypeStorePostResponseDataCity extends JsonObject {
483
481
  "updated_at"?: string | null;
484
482
  }
485
483
  export interface CustomTypeStorePostResponseData extends JsonObject {
486
- "city": CustomTypeStorePostResponseDataCity;
484
+ "custom_type": CustomTypeStorePostResponseDataCity;
487
485
  }
488
486
  export interface CustomTypeStorePostResponse extends ApiEnvelope<CustomTypeStorePostResponseData> {
489
487
  }
@@ -501,17 +499,12 @@ export interface CustomTypeShowGetResponseDataCity extends JsonObject {
501
499
  "updated_at"?: string | null;
502
500
  }
503
501
  export interface CustomTypeShowGetResponseData extends JsonObject {
504
- "city": CustomTypeShowGetResponseDataCity;
502
+ "custom_type": CustomTypeShowGetResponseDataCity;
505
503
  }
506
504
  export interface CustomTypeShowGetResponse extends ApiEnvelope<CustomTypeShowGetResponseData> {
507
505
  }
508
506
  /** 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;
507
+ export interface CustomTypeUpdatePatchInput extends UpdateCustomTypeInput {
515
508
  }
516
509
  /** Backend response type: models::SingleData. */
517
510
  export interface CustomTypeUpdatePatchResponseDataCity extends JsonObject {
@@ -524,7 +517,7 @@ export interface CustomTypeUpdatePatchResponseDataCity extends JsonObject {
524
517
  "updated_at"?: string | null;
525
518
  }
526
519
  export interface CustomTypeUpdatePatchResponseData extends JsonObject {
527
- "city": CustomTypeUpdatePatchResponseDataCity;
520
+ "custom_type": CustomTypeUpdatePatchResponseDataCity;
528
521
  }
529
522
  export interface CustomTypeUpdatePatchResponse extends ApiEnvelope<CustomTypeUpdatePatchResponseData> {
530
523
  }
@@ -625,19 +618,10 @@ export interface ProfileIndexGetQuery extends QueryParams {
625
618
  "filter[trashed]"?: string | null;
626
619
  }
627
620
  /** 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;
621
+ export interface ProfileIndexGetResponseDataCities extends Profile {
638
622
  }
639
623
  export interface ProfileIndexGetResponseData extends JsonObject {
640
- "cities": ProfileIndexGetResponseDataCities[];
624
+ "profiles": ProfileIndexGetResponseDataCities[];
641
625
  }
642
626
  export interface ProfileIndexGetMetaData extends JsonObject {
643
627
  "current_page": number;
@@ -846,8 +830,10 @@ export interface ReferralShowProfileReferralGetResponseData extends JsonObject {
846
830
  "nationality"?: string | null;
847
831
  "religion"?: string | null;
848
832
  "gender"?: string | null;
833
+ "job"?: string | null;
849
834
  "attendance_mode"?: string | null;
850
835
  "level"?: string | null;
836
+ "education_id"?: string | null;
851
837
  "referral_source"?: string | null;
852
838
  "referrer_uuid"?: string | null;
853
839
  "referral_source_id"?: string | null;
@@ -895,8 +881,10 @@ export interface ReferralAssignPutResponseData extends JsonObject {
895
881
  "nationality"?: string | null;
896
882
  "religion"?: string | null;
897
883
  "gender"?: string | null;
884
+ "job"?: string | null;
898
885
  "attendance_mode"?: string | null;
899
886
  "level"?: string | null;
887
+ "education_id"?: string | null;
900
888
  "referral_source"?: string | null;
901
889
  "referrer_uuid"?: string | null;
902
890
  "referral_source_id"?: string | null;
@@ -1006,19 +994,10 @@ export interface ProfileDeleteParentDeleteResponse extends ApiEnvelope<JsonValue
1006
994
  export interface ProfileDestroyDeleteResponse extends ApiEnvelope<JsonValue> {
1007
995
  }
1008
996
  /** 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;
997
+ export interface ProfileShowGetResponseDataCity extends Profile {
1019
998
  }
1020
999
  export interface ProfileShowGetResponseData extends JsonObject {
1021
- "city": ProfileShowGetResponseDataCity;
1000
+ "profile": ProfileShowGetResponseDataCity;
1022
1001
  }
1023
1002
  export interface ProfileShowGetResponse extends ApiEnvelope<ProfileShowGetResponseData> {
1024
1003
  }
@@ -1034,6 +1013,7 @@ export interface ProfileUpdatePatchInput extends JsonObject {
1034
1013
  "nationality"?: string | null;
1035
1014
  "religion"?: string | null;
1036
1015
  "gender"?: string | null;
1016
+ "job"?: string | null;
1037
1017
  "attendance_mode"?: string | null;
1038
1018
  "level"?: string | null;
1039
1019
  "referral_source"?: string | null;
@@ -1052,36 +1032,18 @@ export interface ProfileUpdatePatchInput extends JsonObject {
1052
1032
  "properties"?: Record<string, JsonValue> | null;
1053
1033
  }
1054
1034
  /** 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;
1035
+ export interface ProfileUpdatePatchResponseDataCity extends Profile {
1065
1036
  }
1066
1037
  export interface ProfileUpdatePatchResponseData extends JsonObject {
1067
- "city": ProfileUpdatePatchResponseDataCity;
1038
+ "profile": ProfileUpdatePatchResponseDataCity;
1068
1039
  }
1069
1040
  export interface ProfileUpdatePatchResponse extends ApiEnvelope<ProfileUpdatePatchResponseData> {
1070
1041
  }
1071
1042
  /** 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;
1043
+ export interface ProfileShowAdminGetResponseDataCity extends Profile {
1082
1044
  }
1083
1045
  export interface ProfileShowAdminGetResponseData extends JsonObject {
1084
- "city": ProfileShowAdminGetResponseDataCity;
1046
+ "profile": ProfileShowAdminGetResponseDataCity;
1085
1047
  }
1086
1048
  export interface ProfileShowAdminGetResponse extends ApiEnvelope<ProfileShowAdminGetResponseData> {
1087
1049
  }
@@ -1108,19 +1070,10 @@ export interface ProfileUpdateEmployeeTypePatchInput extends JsonObject {
1108
1070
  "employee_type": string;
1109
1071
  }
1110
1072
  /** 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;
1073
+ export interface ProfileUpdateEmployeeTypePatchResponseDataCity extends Profile {
1121
1074
  }
1122
1075
  export interface ProfileUpdateEmployeeTypePatchResponseData extends JsonObject {
1123
- "city": ProfileUpdateEmployeeTypePatchResponseDataCity;
1076
+ "profile": ProfileUpdateEmployeeTypePatchResponseDataCity;
1124
1077
  }
1125
1078
  export interface ProfileUpdateEmployeeTypePatchResponse extends ApiEnvelope<ProfileUpdateEmployeeTypePatchResponseData> {
1126
1079
  }
@@ -1129,19 +1082,10 @@ export interface ProfileUpdateEmployeeTypePutInput extends JsonObject {
1129
1082
  "employee_type": string;
1130
1083
  }
1131
1084
  /** 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;
1085
+ export interface ProfileUpdateEmployeeTypePutResponseDataCity extends Profile {
1142
1086
  }
1143
1087
  export interface ProfileUpdateEmployeeTypePutResponseData extends JsonObject {
1144
- "city": ProfileUpdateEmployeeTypePutResponseDataCity;
1088
+ "profile": ProfileUpdateEmployeeTypePutResponseDataCity;
1145
1089
  }
1146
1090
  export interface ProfileUpdateEmployeeTypePutResponse extends ApiEnvelope<ProfileUpdateEmployeeTypePutResponseData> {
1147
1091
  }
@@ -1150,19 +1094,10 @@ export interface ProfileUpdateFreemiumPatchInput extends JsonObject {
1150
1094
  "freemium_session_limit": number;
1151
1095
  }
1152
1096
  /** 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;
1097
+ export interface ProfileUpdateFreemiumPatchResponseDataCity extends Profile {
1163
1098
  }
1164
1099
  export interface ProfileUpdateFreemiumPatchResponseData extends JsonObject {
1165
- "city": ProfileUpdateFreemiumPatchResponseDataCity;
1100
+ "profile": ProfileUpdateFreemiumPatchResponseDataCity;
1166
1101
  }
1167
1102
  export interface ProfileUpdateFreemiumPatchResponse extends ApiEnvelope<ProfileUpdateFreemiumPatchResponseData> {
1168
1103
  }
@@ -1171,36 +1106,18 @@ export interface ProfileUpdateFreemiumPutInput extends JsonObject {
1171
1106
  "freemium_session_limit": number;
1172
1107
  }
1173
1108
  /** 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;
1109
+ export interface ProfileUpdateFreemiumPutResponseDataCity extends Profile {
1184
1110
  }
1185
1111
  export interface ProfileUpdateFreemiumPutResponseData extends JsonObject {
1186
- "city": ProfileUpdateFreemiumPutResponseDataCity;
1112
+ "profile": ProfileUpdateFreemiumPutResponseDataCity;
1187
1113
  }
1188
1114
  export interface ProfileUpdateFreemiumPutResponse extends ApiEnvelope<ProfileUpdateFreemiumPutResponseData> {
1189
1115
  }
1190
1116
  /** 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;
1117
+ export interface ProfileShowFullGetResponseDataCity extends Profile {
1201
1118
  }
1202
1119
  export interface ProfileShowFullGetResponseData extends JsonObject {
1203
- "city": ProfileShowFullGetResponseDataCity;
1120
+ "profile": ProfileShowFullGetResponseDataCity;
1204
1121
  }
1205
1122
  export interface ProfileShowFullGetResponse extends ApiEnvelope<ProfileShowFullGetResponseData> {
1206
1123
  }
@@ -1230,19 +1147,10 @@ export interface ProfileUpdateStatusPatchInput extends JsonObject {
1230
1147
  "status": string;
1231
1148
  }
1232
1149
  /** 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;
1150
+ export interface ProfileUpdateStatusPatchResponseDataCity extends Profile {
1243
1151
  }
1244
1152
  export interface ProfileUpdateStatusPatchResponseData extends JsonObject {
1245
- "city": ProfileUpdateStatusPatchResponseDataCity;
1153
+ "profile": ProfileUpdateStatusPatchResponseDataCity;
1246
1154
  }
1247
1155
  export interface ProfileUpdateStatusPatchResponse extends ApiEnvelope<ProfileUpdateStatusPatchResponseData> {
1248
1156
  }
@@ -1251,19 +1159,10 @@ export interface ProfileUpdateStatusPutInput extends JsonObject {
1251
1159
  "status": string;
1252
1160
  }
1253
1161
  /** 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;
1162
+ export interface ProfileUpdateStatusPutResponseDataCity extends Profile {
1264
1163
  }
1265
1164
  export interface ProfileUpdateStatusPutResponseData extends JsonObject {
1266
- "city": ProfileUpdateStatusPutResponseDataCity;
1165
+ "profile": ProfileUpdateStatusPutResponseDataCity;
1267
1166
  }
1268
1167
  export interface ProfileUpdateStatusPutResponse extends ApiEnvelope<ProfileUpdateStatusPutResponseData> {
1269
1168
  }
@@ -1279,19 +1178,10 @@ export interface ProfileAccountantIndexGetQuery extends QueryParams {
1279
1178
  "filter[trashed]"?: string | null;
1280
1179
  }
1281
1180
  /** 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;
1181
+ export interface ProfileAccountantIndexGetResponseDataCities extends Profile {
1292
1182
  }
1293
1183
  export interface ProfileAccountantIndexGetResponseData extends JsonObject {
1294
- "cities": ProfileAccountantIndexGetResponseDataCities[];
1184
+ "profiles": ProfileAccountantIndexGetResponseDataCities[];
1295
1185
  }
1296
1186
  export interface ProfileAccountantIndexGetMetaData extends JsonObject {
1297
1187
  "current_page": number;
@@ -1364,19 +1254,10 @@ export interface ProfileCityGetPostInput extends JsonObject {
1364
1254
  "user_ids"?: string[] | null;
1365
1255
  }
1366
1256
  /** 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;
1257
+ export interface ProfileCityGetPostResponseDataCities extends Profile {
1377
1258
  }
1378
1259
  export interface ProfileCityGetPostResponseData extends JsonObject {
1379
- "cities": ProfileCityGetPostResponseDataCities[];
1260
+ "profiles": ProfileCityGetPostResponseDataCities[];
1380
1261
  }
1381
1262
  export interface ProfileCityGetPostResponse extends ApiEnvelope<ProfileCityGetPostResponseData> {
1382
1263
  }
@@ -1392,19 +1273,10 @@ export interface ProfileConsultantIndexGetQuery extends QueryParams {
1392
1273
  "filter[trashed]"?: string | null;
1393
1274
  }
1394
1275
  /** 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;
1276
+ export interface ProfileConsultantIndexGetResponseDataCities extends Profile {
1405
1277
  }
1406
1278
  export interface ProfileConsultantIndexGetResponseData extends JsonObject {
1407
- "cities": ProfileConsultantIndexGetResponseDataCities[];
1279
+ "profiles": ProfileConsultantIndexGetResponseDataCities[];
1408
1280
  }
1409
1281
  export interface ProfileConsultantIndexGetMetaData extends JsonObject {
1410
1282
  "current_page": number;
@@ -1421,19 +1293,10 @@ export interface ProfileCountryGetPostInput extends JsonObject {
1421
1293
  "user_ids"?: string[] | null;
1422
1294
  }
1423
1295
  /** 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;
1296
+ export interface ProfileCountryGetPostResponseDataCities extends Profile {
1434
1297
  }
1435
1298
  export interface ProfileCountryGetPostResponseData extends JsonObject {
1436
- "cities": ProfileCountryGetPostResponseDataCities[];
1299
+ "profiles": ProfileCountryGetPostResponseDataCities[];
1437
1300
  }
1438
1301
  export interface ProfileCountryGetPostResponse extends ApiEnvelope<ProfileCountryGetPostResponseData> {
1439
1302
  }
@@ -1445,19 +1308,10 @@ export interface ProfileBulkGetPostInput extends JsonObject {
1445
1308
  "user_ids": string[];
1446
1309
  }
1447
1310
  /** 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;
1311
+ export interface ProfileBulkGetPostResponseDataCities extends Profile {
1458
1312
  }
1459
1313
  export interface ProfileBulkGetPostResponseData extends JsonObject {
1460
- "cities": ProfileBulkGetPostResponseDataCities[];
1314
+ "profiles": ProfileBulkGetPostResponseDataCities[];
1461
1315
  }
1462
1316
  export interface ProfileBulkGetPostResponse extends ApiEnvelope<ProfileBulkGetPostResponseData> {
1463
1317
  }
@@ -1485,19 +1339,10 @@ export interface ProfileManagerIndexGetQuery extends QueryParams {
1485
1339
  "filter[trashed]"?: string | null;
1486
1340
  }
1487
1341
  /** 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;
1342
+ export interface ProfileManagerIndexGetResponseDataCities extends Profile {
1498
1343
  }
1499
1344
  export interface ProfileManagerIndexGetResponseData extends JsonObject {
1500
- "cities": ProfileManagerIndexGetResponseDataCities[];
1345
+ "profiles": ProfileManagerIndexGetResponseDataCities[];
1501
1346
  }
1502
1347
  export interface ProfileManagerIndexGetMetaData extends JsonObject {
1503
1348
  "current_page": number;
@@ -1552,19 +1397,10 @@ export interface ProfileOtherIndexGetQuery extends QueryParams {
1552
1397
  "filter[trashed]"?: string | null;
1553
1398
  }
1554
1399
  /** 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;
1400
+ export interface ProfileOtherIndexGetResponseDataCities extends Profile {
1565
1401
  }
1566
1402
  export interface ProfileOtherIndexGetResponseData extends JsonObject {
1567
- "cities": ProfileOtherIndexGetResponseDataCities[];
1403
+ "profiles": ProfileOtherIndexGetResponseDataCities[];
1568
1404
  }
1569
1405
  export interface ProfileOtherIndexGetMetaData extends JsonObject {
1570
1406
  "current_page": number;
@@ -1587,19 +1423,10 @@ export interface ProfileParentIndexGetQuery extends QueryParams {
1587
1423
  "filter[trashed]"?: string | null;
1588
1424
  }
1589
1425
  /** 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;
1426
+ export interface ProfileParentIndexGetResponseDataCities extends Profile {
1600
1427
  }
1601
1428
  export interface ProfileParentIndexGetResponseData extends JsonObject {
1602
- "cities": ProfileParentIndexGetResponseDataCities[];
1429
+ "profiles": ProfileParentIndexGetResponseDataCities[];
1603
1430
  }
1604
1431
  export interface ProfileParentIndexGetMetaData extends JsonObject {
1605
1432
  "current_page": number;
@@ -1616,19 +1443,10 @@ export interface ProfileProvinceGetPostInput extends JsonObject {
1616
1443
  "user_ids"?: string[] | null;
1617
1444
  }
1618
1445
  /** 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;
1446
+ export interface ProfileProvinceGetPostResponseDataCities extends Profile {
1629
1447
  }
1630
1448
  export interface ProfileProvinceGetPostResponseData extends JsonObject {
1631
- "cities": ProfileProvinceGetPostResponseDataCities[];
1449
+ "profiles": ProfileProvinceGetPostResponseDataCities[];
1632
1450
  }
1633
1451
  export interface ProfileProvinceGetPostResponse extends ApiEnvelope<ProfileProvinceGetPostResponseData> {
1634
1452
  }
@@ -1683,19 +1501,10 @@ export interface ProfileStudentIndexGetQuery extends QueryParams {
1683
1501
  "filter[trashed]"?: string | null;
1684
1502
  }
1685
1503
  /** 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;
1504
+ export interface ProfileStudentIndexGetResponseDataCities extends Profile {
1696
1505
  }
1697
1506
  export interface ProfileStudentIndexGetResponseData extends JsonObject {
1698
- "cities": ProfileStudentIndexGetResponseDataCities[];
1507
+ "profiles": ProfileStudentIndexGetResponseDataCities[];
1699
1508
  }
1700
1509
  export interface ProfileStudentIndexGetMetaData extends JsonObject {
1701
1510
  "current_page": number;
@@ -1728,19 +1537,10 @@ export interface ProfileSupportIndexGetQuery extends QueryParams {
1728
1537
  "filter[trashed]"?: string | null;
1729
1538
  }
1730
1539
  /** 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;
1540
+ export interface ProfileSupportIndexGetResponseDataCities extends Profile {
1741
1541
  }
1742
1542
  export interface ProfileSupportIndexGetResponseData extends JsonObject {
1743
- "cities": ProfileSupportIndexGetResponseDataCities[];
1543
+ "profiles": ProfileSupportIndexGetResponseDataCities[];
1744
1544
  }
1745
1545
  export interface ProfileSupportIndexGetMetaData extends JsonObject {
1746
1546
  "current_page": number;
@@ -1773,19 +1573,10 @@ export interface ProfileTeacherIndexGetQuery extends QueryParams {
1773
1573
  "filter[trashed]"?: string | null;
1774
1574
  }
1775
1575
  /** 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;
1576
+ export interface ProfileTeacherIndexGetResponseDataCities extends Profile {
1786
1577
  }
1787
1578
  export interface ProfileTeacherIndexGetResponseData extends JsonObject {
1788
- "cities": ProfileTeacherIndexGetResponseDataCities[];
1579
+ "profiles": ProfileTeacherIndexGetResponseDataCities[];
1789
1580
  }
1790
1581
  export interface ProfileTeacherIndexGetMetaData extends JsonObject {
1791
1582
  "current_page": number;
@@ -1821,6 +1612,7 @@ export interface ProfileUpdatePersonalPatchInput extends JsonObject {
1821
1612
  "nationality"?: string | null;
1822
1613
  "religion"?: string | null;
1823
1614
  "gender"?: string | null;
1615
+ "job"?: string | null;
1824
1616
  "marital"?: string | null;
1825
1617
  "nickname"?: string | null;
1826
1618
  "national_number"?: string | null;
@@ -1832,19 +1624,10 @@ export interface ProfileUpdatePersonalPatchInput extends JsonObject {
1832
1624
  "city_id"?: string | null;
1833
1625
  }
1834
1626
  /** 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;
1627
+ export interface ProfileUpdatePersonalPatchResponseDataCity extends Profile {
1845
1628
  }
1846
1629
  export interface ProfileUpdatePersonalPatchResponseData extends JsonObject {
1847
- "city": ProfileUpdatePersonalPatchResponseDataCity;
1630
+ "profile": ProfileUpdatePersonalPatchResponseDataCity;
1848
1631
  }
1849
1632
  export interface ProfileUpdatePersonalPatchResponse extends ApiEnvelope<ProfileUpdatePersonalPatchResponseData> {
1850
1633
  }
@@ -1856,6 +1639,7 @@ export interface ProfileUpdatePersonalPutInput extends JsonObject {
1856
1639
  "nationality"?: string | null;
1857
1640
  "religion"?: string | null;
1858
1641
  "gender"?: string | null;
1642
+ "job"?: string | null;
1859
1643
  "marital"?: string | null;
1860
1644
  "nickname"?: string | null;
1861
1645
  "national_number"?: string | null;
@@ -1867,19 +1651,10 @@ export interface ProfileUpdatePersonalPutInput extends JsonObject {
1867
1651
  "city_id"?: string | null;
1868
1652
  }
1869
1653
  /** 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;
1654
+ export interface ProfileUpdatePersonalPutResponseDataCity extends Profile {
1880
1655
  }
1881
1656
  export interface ProfileUpdatePersonalPutResponseData extends JsonObject {
1882
- "city": ProfileUpdatePersonalPutResponseDataCity;
1657
+ "profile": ProfileUpdatePersonalPutResponseDataCity;
1883
1658
  }
1884
1659
  export interface ProfileUpdatePersonalPutResponse extends ApiEnvelope<ProfileUpdatePersonalPutResponseData> {
1885
1660
  }