events updated

This commit is contained in:
2024-11-13 10:38:00 +03:00
parent 952d742999
commit 077d264b28
48 changed files with 277300 additions and 913 deletions

View File

@@ -1,144 +1,161 @@
from service_app_test.api_configs import BothAPIS
from service_app_test.bases import FilterObject
from service_app_test.test_application.migrate_old_data.reader_and_alchemy_bulk_actions import (
read_json_file,
)
from api_validations.validations_request import (
InsertBuild,
InsertBuildArea,
InsertBuildParts,
InsertBuildLivingSpace,
)
requester_dict_build = lambda data: {"endpoint": "/building/build/create", "data": data}
requester_dict_build_area = lambda data: {
"endpoint": "/building/area/create",
"data": data,
}
requester_dict_build_part = lambda data: {
"endpoint": "/building/part/create",
"data": data,
}
requester_dict_build_iban = lambda data: {
"endpoint": "/building/iban/create",
"data": data,
}
requester_dict_build_living_space = lambda data: {
"endpoint": "/building/living_space/create",
"data": data,
}
def get_build_from_json():
read_files_json, with_pydantic = read_json_file(json_file="build"), []
read_files = read_files_json.get("build")
for row in read_files:
pydantic_row = InsertBuild(**row)
with_pydantic.append(pydantic_row.model_dump())
if not with_pydantic:
raise Exception("No data found")
return with_pydantic
def get_build_area_from_json():
read_files_json, with_pydantic = read_json_file(json_file="build_area"), []
read_files = read_files_json.get("build_area")
for row in read_files:
pydantic_row = InsertBuildArea(**row)
with_pydantic.append(pydantic_row.model_dump())
if not with_pydantic:
raise Exception("No data found")
return with_pydantic
def get_build_part_from_json():
read_files_json, with_pydantic = read_json_file(json_file="build_parts"), []
read_files = read_files_json.get("build_parts")
for row in read_files:
pydantic_row = InsertBuildParts(**row)
with_pydantic.append(pydantic_row.model_dump())
if not with_pydantic:
raise Exception("No data found")
return with_pydantic
def get_build_iban_from_json():
read_files_json, with_pydantic = read_json_file(json_file="build_iban"), []
read_files = read_files_json.get("build_iban")
for row in read_files:
pydantic_row = InsertBuildParts(**row)
with_pydantic.append(pydantic_row.model_dump())
if not with_pydantic:
raise Exception("No data found")
return with_pydantic
def get_build_living_space_from_json():
read_files_json, with_pydantic = read_json_file(json_file="build_living_space"), []
read_files = read_files_json.get("build_living_space")
for row in read_files:
pydantic_row = InsertBuildLivingSpace(**row)
with_pydantic.append(pydantic_row.model_dump())
if not with_pydantic:
raise Exception("No data found")
return with_pydantic
def migrate_build(requester: BothAPIS):
# Migrate old data
filter_object = FilterObject(
page=1,
size=100,
)
response = requester.wag_api.post(
endpoint="/building/build/list",
data=filter_object.dump(),
)
response_json = response.json()
response_datas = response_json["data"]
for response_data in response_datas:
new_response_data = dict()
for key, value in dict(response_data).items():
if value is not None and not str(value) == "None":
new_response_data[key] = response_data[key]
new_response_data.pop("uu_id", None)
print("new_response_data", new_response_data)
exit()
response = requester.local_api.post(
endpoint="/building/build/create",
data=new_response_data,
)
print("response", response.text)
for response_data in get_build_from_json():
print("response_data", response_data)
response = requester.local_api.post(**requester_dict_build(data=response_data))
if response.ok:
migrate_build_area(
requester=requester, build_uu_id=response_data["build_uu_id"]
)
migrate_build_part(
requester=requester, build_uu_id=response_data["build_uu_id"]
)
migrate_build_iban(
requester=requester, build_uu_id=response_data["build_uu_id"]
)
return
def grab_new_build_uu_id(requester: BothAPIS, build_uu_id: str):
response_wag = requester.wag_api.post(
endpoint="/building/build/list",
data={"page": 1, "size": 1, "query": {"uu_id": build_uu_id}},
)
build_uu_id = response_wag.json()["data"]["uu_id"]
if not build_uu_id:
raise Exception("Build UU ID not found")
return build_uu_id
def migrate_build_area(requester: BothAPIS, build_uu_id: str):
# Migrate old data
filter_object = FilterObject(
page=1,
size=100,
)
response = requester.wag_api.post(
endpoint="/building/area/list",
data=filter_object.dump(),
)
print('response', response.text)
exit()
response_json = response.json()
response_datas = response_json["data"]
build_uu_id = grab_new_build_uu_id(requester=requester, build_uu_id=build_uu_id)
response_datas = get_build_area_from_json()
for response_data in response_datas:
new_response_data = dict()
for key, value in dict(response_data).items():
if value is not None and not str(value) == "None":
new_response_data[key] = response_data[key]
new_response_data.pop("uu_id", None)
new_response_data['build_uu_id'] = str(build_uu_id)
exit()
print("new_response_data", new_response_data)
response_data["build_uu_id"] = build_uu_id
print("response_data", response_data)
response = requester.local_api.post(
endpoint="/building/area/create",
data=new_response_data,
**requester_dict_build_area(data=response_data)
)
print("response", response.text)
return
def migrate_build_part(requester: BothAPIS, build_uu_id: str):
# Migrate old data
filter_object = FilterObject(
page=1,
size=100,
)
response = requester.wag_api.post(
endpoint="/build/list",
data=filter_object.dump(),
)
response_json = response.json()
response_datas = response_json["data"]
build_uu_id = grab_new_build_uu_id(requester=requester, build_uu_id=build_uu_id)
response_datas = get_build_part_from_json()
for response_data in response_datas:
new_response_data = dict()
for key, value in dict(response_data).items():
if value is not None and not str(value) == "None":
new_response_data[key] = response_data[key]
new_response_data.pop("uu_id", None)
print("new_response_data", new_response_data)
new_response_data['build_uu_id'] = str(build_uu_id)
exit()
response_data["build_uu_id"] = build_uu_id
response = requester.local_api.post(
endpoint="/build/create",
data=new_response_data,
**requester_dict_build_part(data=response_data)
)
print("response", response.text)
return
def migrate_build_iban(requester: BothAPIS):
# Migrate old data
filter_object = FilterObject(
page=1,
size=100,
)
response = requester.wag_api.post(
endpoint="/build/list",
data=filter_object.dump(),
)
response_json = response.json()
response_datas = response_json["data"]
def migrate_build_iban(requester: BothAPIS, build_uu_id: str):
build_uu_id = grab_new_build_uu_id(requester=requester, build_uu_id=build_uu_id)
response_datas = get_build_iban_from_json()
for response_data in response_datas:
new_response_data = dict()
for key, value in dict(response_data).items():
if value is not None and not str(value) == "None":
new_response_data[key] = response_data[key]
new_response_data.pop("uu_id", None)
print("new_response_data", new_response_data)
response_data["build_uu_id"] = build_uu_id
response = requester.local_api.post(
endpoint="/build/create",
data=new_response_data,
**requester_dict_build_part(data=response_data)
)
print("response", response.text)
return
def migrate_build_living_space(requester: BothAPIS):
# Migrate old data
filter_object = FilterObject(
page=1,
size=100,
)
response = requester.wag_api.post(
endpoint="/build/list",
data=filter_object.dump(),
)
response_json = response.json()
response_datas = response_json["data"]
def migrate_build_living_space(requester: BothAPIS, build_uu_id: str):
build_uu_id = grab_new_build_uu_id(requester=requester, build_uu_id=build_uu_id)
response_datas = get_build_iban_from_json()
for response_data in response_datas:
new_response_data = dict()
for key, value in dict(response_data).items():
if value is not None and not str(value) == "None":
new_response_data[key] = response_data[key]
new_response_data.pop("uu_id", None)
print("new_response_data", new_response_data)
response_data["build_uu_id"] = build_uu_id
response = requester.local_api.post(
endpoint="/build/create",
data=new_response_data,
**requester_dict_build_living_space(data=response_data)
)
print("response", response.text)
return

View File

@@ -1,30 +1,27 @@
from service_app_test.api_configs import BothAPIS
from service_app_test.bases import FilterObject
from service_app_test.test_application.migrate_old_data.reader_and_alchemy_bulk_actions import (
read_json_file,
)
from api_validations.validations_request import InsertCompany
requester_dict = lambda data: {"endpoint": "/company/create", "data": data}
def get_company_from_json():
read_files_json, with_pydantic = read_json_file(json_file="companies"), []
read_files = read_files_json.get("companies")
for row in read_files:
pydantic_row = InsertCompany(**row)
with_pydantic.append(pydantic_row.model_dump())
if not with_pydantic:
raise Exception("No data found")
return with_pydantic
def migrate_company(requester: BothAPIS):
filter_object = FilterObject(
page=1,
size=100,
)
response = requester.wag_api.post(
endpoint="/company/list",
data=filter_object.dump(),
)
response_json = response.json()
print("response_json", response_json)
response_datas = response_json["data"]
for response_data in response_datas:
new_response_data = dict()
for key, value in dict(response_data).items():
if value is not None and not str(value) == "None":
new_response_data[key] = response_data[key]
new_response_data.pop("uu_id", None)
print("new_response_data", new_response_data)
new_response_data["company_tag"] = response_data["formal_name"]
response = requester.local_api.post(
endpoint="/company/create",
data=new_response_data,
)
for response_data in get_company_from_json():
response_data["company_tag"] = response_data["formal_name"]
response = requester.local_api.post(**requester_dict(data=response_data))
print("response", response.text)
return

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,47 @@
{
"build": [
{
"gov_address_code" : "101818797",
"build_name" : "Güneş Apt",
"build_no" : "11",
"max_floor" : 3,
"underground_floor" : 0,
"build_date" : "1969-12-31T22:00:00.000Z",
"decision_period_date" : "1974-06-30T21:00:00.000Z",
"tax_no" : "5",
"lift_count" : 0,
"heating_system" : true,
"cooling_system" : false,
"hot_water_system" : false,
"block_service_man_count" : 0,
"security_service_man_count" : 0,
"garage_count" : 2,
"management_room_id" : 50,
"site_id" : null,
"site_uu_id" : null,
"address_id" : 3,
"address_uu_id" : "2f159fad-75e0-4adc-9ba6-f9e152f5e464",
"build_types_id" : 5,
"build_types_uu_id" : "cb6fb0cd-f9fe-4d00-a592-ce02d26c2b8d",
"id" : 1,
"uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"ref_id" : null,
"created_at" : "2024-11-06T09:12:12.158Z",
"updated_at" : "2024-11-06T09:12:12.158Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : false,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:12:12.158Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
}
]}

View File

@@ -0,0 +1,377 @@
{
"build_area": [
{
"area_name" : "OTOPARK ARKA AGAC ARASI",
"area_code" : "PARK_ARKA_AGAC",
"area_type" : "APT_APRK",
"area_direction" : "NN",
"area_gross_size" : 0.000000,
"area_net_size" : 0.000000,
"width" : 0,
"size" : 0,
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"id" : 16,
"uu_id" : "577e02b0-00f0-467d-ae21-3b8de4eea895",
"ref_id" : null,
"created_at" : "2024-11-06T11:49:10.008Z",
"updated_at" : "2024-11-06T11:49:10.008Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : false,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T11:49:10.008Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z",
"part_type_id" : 104,
"part_type_uu_id" : "f4bf777c-c1e2-465d-b7dc-c3027e41d280"
},
{
"area_name" : "OTOPARK ON SAG",
"area_code" : "PARK_ON_SAG",
"area_type" : "APT_APRK",
"area_direction" : "NN",
"area_gross_size" : 0.000000,
"area_net_size" : 0.000000,
"width" : 0,
"size" : 0,
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"id" : 12,
"uu_id" : "fb7c0dd2-c702-407d-add1-1df6f476dd83",
"ref_id" : null,
"created_at" : "2024-11-06T11:49:10.008Z",
"updated_at" : "2024-11-06T11:49:10.008Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : false,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T11:49:10.008Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z",
"part_type_id" : 104,
"part_type_uu_id" : "f4bf777c-c1e2-465d-b7dc-c3027e41d280"
},
{
"area_name" : "OTOPARK ON SOL",
"area_code" : "PARK_ON_SOL",
"area_type" : "APT_APRK",
"area_direction" : "NN",
"area_gross_size" : 0.000000,
"area_net_size" : 0.000000,
"width" : 0,
"size" : 0,
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"id" : 13,
"uu_id" : "e90cce4a-723a-46d9-9b1b-34bdfba57e39",
"ref_id" : null,
"created_at" : "2024-11-06T11:49:10.008Z",
"updated_at" : "2024-11-06T11:49:10.008Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : false,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T11:49:10.008Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z",
"part_type_id" : 104,
"part_type_uu_id" : "f4bf777c-c1e2-465d-b7dc-c3027e41d280"
},
{
"area_name" : "OTOPARK ARKA DUVAR",
"area_code" : "PARK_ARKA_DUVAR",
"area_type" : "APT_APRK",
"area_direction" : "NN",
"area_gross_size" : 0.000000,
"area_net_size" : 0.000000,
"width" : 0,
"size" : 0,
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"id" : 14,
"uu_id" : "13aea5f4-a6f6-438e-abf4-5582b219a4f2",
"ref_id" : null,
"created_at" : "2024-11-06T11:49:10.008Z",
"updated_at" : "2024-11-06T11:49:10.008Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : false,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T11:49:10.008Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z",
"part_type_id" : 104,
"part_type_uu_id" : "f4bf777c-c1e2-465d-b7dc-c3027e41d280"
},
{
"area_name" : "YEŞİL ALAN ARKA",
"area_code" : "GREEN_ARKA",
"area_type" : "APT_YSL",
"area_direction" : "NN",
"area_gross_size" : 0.000000,
"area_net_size" : 0.000000,
"width" : 0,
"size" : 0,
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"id" : 2,
"uu_id" : "b36cda1e-a51c-4d24-b0d8-40d31d5baa0f",
"ref_id" : null,
"created_at" : "2024-11-06T11:49:10.008Z",
"updated_at" : "2024-11-06T11:49:10.008Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : false,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T11:49:10.008Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z",
"part_type_id" : 104,
"part_type_uu_id" : "7c36cdd6-86ca-4d51-8698-b96a71f60a05"
},
{
"area_name" : "YEŞİL ALAN SOL",
"area_code" : "GREEN_SOL",
"area_type" : "APT_YSL",
"area_direction" : "NN",
"area_gross_size" : 0.000000,
"area_net_size" : 0.000000,
"width" : 0,
"size" : 0,
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"id" : 6,
"uu_id" : "580d76f9-c80a-4cb3-9d79-5931aa599876",
"ref_id" : null,
"created_at" : "2024-11-06T11:49:10.008Z",
"updated_at" : "2024-11-06T11:49:10.008Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : false,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T11:49:10.008Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z",
"part_type_id" : 104,
"part_type_uu_id" : "7c36cdd6-86ca-4d51-8698-b96a71f60a05"
},
{
"area_name" : "YEŞİL ALAN ON SOL",
"area_code" : "GREEN_ON_SOL",
"area_type" : "APT_YSL",
"area_direction" : "NN",
"area_gross_size" : 0.000000,
"area_net_size" : 0.000000,
"width" : 0,
"size" : 0,
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"id" : 7,
"uu_id" : "16e37efa-cb82-488b-a366-4a2da7344ee4",
"ref_id" : null,
"created_at" : "2024-11-06T11:49:10.008Z",
"updated_at" : "2024-11-06T11:49:10.008Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : false,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T11:49:10.008Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z",
"part_type_id" : 104,
"part_type_uu_id" : "7c36cdd6-86ca-4d51-8698-b96a71f60a05"
},
{
"area_name" : "YEŞİL ALAN ON SAG",
"area_code" : "GREEN_ON_SAG",
"area_type" : "APT_YSL",
"area_direction" : "NN",
"area_gross_size" : 0.000000,
"area_net_size" : 0.000000,
"width" : 0,
"size" : 0,
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"id" : 8,
"uu_id" : "3d5f0d12-2bb9-4edb-95d8-0c4c2552f3bd",
"ref_id" : null,
"created_at" : "2024-11-06T11:49:10.008Z",
"updated_at" : "2024-11-06T11:49:10.008Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : false,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T11:49:10.008Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z",
"part_type_id" : 104,
"part_type_uu_id" : "7c36cdd6-86ca-4d51-8698-b96a71f60a05"
},
{
"area_name" : "KAPALI GARAJ D:09",
"area_code" : "GARAJ_D09",
"area_type" : "APT_KGR",
"area_direction" : "NN",
"area_gross_size" : 0.000000,
"area_net_size" : 0.000000,
"width" : 0,
"size" : 0,
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"id" : 18,
"uu_id" : "9db9bc45-0b16-450c-b94b-b34cc11e8544",
"ref_id" : null,
"created_at" : "2024-11-06T11:58:51.382Z",
"updated_at" : "2024-11-06T11:58:51.382Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : false,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T11:58:51.382Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z",
"part_type_id" : 2,
"part_type_uu_id" : "4a5c9f89-18ef-42aa-93a6-7c1880d5ac3f"
},
{
"area_name" : "KAPALI GARAJ D:07",
"area_code" : "GARAJ_D07",
"area_type" : "APT_KGR",
"area_direction" : "NN",
"area_gross_size" : 0.000000,
"area_net_size" : 0.000000,
"width" : 0,
"size" : 0,
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"id" : 17,
"uu_id" : "f39c0cf2-a409-4b5d-84f0-53f1cd5371e4",
"ref_id" : null,
"created_at" : "2024-11-06T11:58:51.382Z",
"updated_at" : "2024-11-06T11:58:51.382Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : false,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T11:58:51.382Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z",
"part_type_id" : 2,
"part_type_uu_id" : "4a5c9f89-18ef-42aa-93a6-7c1880d5ac3f"
},
{
"area_name" : "BIN YAN YOL",
"area_code" : "ROAD_SOL",
"area_type" : "APT_YOL",
"area_direction" : "NN",
"area_gross_size" : 0.000000,
"area_net_size" : 0.000000,
"width" : 0,
"size" : 0,
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"id" : 1,
"uu_id" : "09e0b4e6-caa2-4e69-994e-1f52844feffe",
"ref_id" : null,
"created_at" : "2024-11-06T11:44:13.619Z",
"updated_at" : "2024-11-06T11:44:13.619Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : false,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T11:44:13.619Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z",
"part_type_id" : 105,
"part_type_uu_id" : "8af4fb10-d275-4fd8-95ad-f5c6caee08a3"
}
]}

View File

@@ -0,0 +1,32 @@
{
"build_ibans": [
{
"iban" : "TR400006400000142450093333",
"start_date" : "1989-12-31T22:00:00.000Z",
"stop_date" : "2899-12-31T21:00:00.000Z",
"bank_code" : "TR0000000000000",
"xcomment" : "Guneş Apt Vadesi IBAN",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"id" : 2,
"uu_id" : "42c1e38f-d8f7-49ac-8f70-c1b0c22c4253",
"ref_id" : null,
"created_at" : "2024-11-06T12:03:00.548Z",
"updated_at" : "2024-11-06T12:03:00.548Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : false,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : false,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T12:03:00.548Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
}
]}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,484 @@
{
"build_parts": [
{
"address_gov_code" : "1512400605",
"part_no" : 11,
"part_level" : 3,
"part_code" : "DAIRE_11",
"part_gross_size" : 95,
"part_net_size" : 90,
"default_accessory" : "0",
"human_livable" : true,
"due_part_key" : "",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"part_direction_id" : 33,
"part_direction_uu_id" : "8b499ada-4b70-44c5-b325-af57fc14421f",
"part_type_id" : 4,
"part_type_uu_id" : "d3e0e1e0-4679-43bb-b8c4-25ff01bd2122",
"id" : 26,
"uu_id" : "d99c1e9b-4b48-460b-9eb5-09c76fa7141d",
"ref_id" : "ae96420b-1190-4bb2-9767-773b9f54f04d",
"created_at" : "2024-11-06T09:33:42.133Z",
"updated_at" : "2024-11-06T09:33:42.133Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:33:42.133Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"address_gov_code" : "1451502635",
"part_no" : 5,
"part_level" : 1,
"part_code" : "DAIRE_05",
"part_gross_size" : 95,
"part_net_size" : 90,
"default_accessory" : "0",
"human_livable" : true,
"due_part_key" : "",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"part_direction_id" : 33,
"part_direction_uu_id" : "8b499ada-4b70-44c5-b325-af57fc14421f",
"part_type_id" : 4,
"part_type_uu_id" : "d3e0e1e0-4679-43bb-b8c4-25ff01bd2122",
"id" : 27,
"uu_id" : "c543316c-faf4-4173-9f79-f8457f2aa8ae",
"ref_id" : "34ef8d56-8b34-4109-89db-4205c7c7e7bd",
"created_at" : "2024-11-06T09:33:42.133Z",
"updated_at" : "2024-11-06T09:33:42.133Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:33:42.133Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"address_gov_code" : "1200411005",
"part_no" : 3,
"part_level" : 0,
"part_code" : "DAIRE_03",
"part_gross_size" : 85,
"part_net_size" : 80,
"default_accessory" : "0",
"human_livable" : true,
"due_part_key" : "",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"part_direction_id" : 33,
"part_direction_uu_id" : "8b499ada-4b70-44c5-b325-af57fc14421f",
"part_type_id" : 4,
"part_type_uu_id" : "d3e0e1e0-4679-43bb-b8c4-25ff01bd2122",
"id" : 28,
"uu_id" : "a511f4d3-8cef-4a4c-be2b-14faf3801612",
"ref_id" : "4529757c-05de-4788-8e2c-c139ae680ef7",
"created_at" : "2024-11-06T09:33:42.133Z",
"updated_at" : "2024-11-06T09:33:42.133Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:33:42.133Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"address_gov_code" : "1200710992",
"part_no" : 2,
"part_level" : 0,
"part_code" : "DAIRE_02",
"part_gross_size" : 85,
"part_net_size" : 80,
"default_accessory" : "0",
"human_livable" : true,
"due_part_key" : "",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"part_direction_id" : 33,
"part_direction_uu_id" : "8b499ada-4b70-44c5-b325-af57fc14421f",
"part_type_id" : 4,
"part_type_uu_id" : "d3e0e1e0-4679-43bb-b8c4-25ff01bd2122",
"id" : 29,
"uu_id" : "e87e56dd-d8c7-49b4-bd15-f7e317448e78",
"ref_id" : "72f96615-3aab-455c-a4d0-006da95d0e67",
"created_at" : "2024-11-06T09:33:42.133Z",
"updated_at" : "2024-11-06T09:33:42.133Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:33:42.133Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"address_gov_code" : "1200111019",
"part_no" : 4,
"part_level" : 1,
"part_code" : "DAIRE_04",
"part_gross_size" : 95,
"part_net_size" : 90,
"default_accessory" : "0",
"human_livable" : true,
"due_part_key" : "",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"part_direction_id" : 33,
"part_direction_uu_id" : "8b499ada-4b70-44c5-b325-af57fc14421f",
"part_type_id" : 4,
"part_type_uu_id" : "d3e0e1e0-4679-43bb-b8c4-25ff01bd2122",
"id" : 30,
"uu_id" : "426cb5ce-fa69-42fe-9475-6abd0285643f",
"ref_id" : "75721e32-55a6-4309-9a0e-065f5c59cec8",
"created_at" : "2024-11-06T09:33:42.133Z",
"updated_at" : "2024-11-06T09:33:42.133Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:33:42.133Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"address_gov_code" : "1512100619",
"part_no" : 6,
"part_level" : 1,
"part_code" : "DAIRE_06",
"part_gross_size" : 95,
"part_net_size" : 90,
"default_accessory" : "0",
"human_livable" : true,
"due_part_key" : "",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"part_direction_id" : 33,
"part_direction_uu_id" : "8b499ada-4b70-44c5-b325-af57fc14421f",
"part_type_id" : 4,
"part_type_uu_id" : "d3e0e1e0-4679-43bb-b8c4-25ff01bd2122",
"id" : 31,
"uu_id" : "77aefc66-8e04-4298-b7de-1d37b1e512ed",
"ref_id" : "789d1c26-bd85-4cee-b5a5-4722fa890eb5",
"created_at" : "2024-11-06T09:33:42.133Z",
"updated_at" : "2024-11-06T09:33:42.133Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:33:42.133Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"address_gov_code" : "1174911857",
"part_no" : 7,
"part_level" : 2,
"part_code" : "DAIRE_07",
"part_gross_size" : 95,
"part_net_size" : 90,
"default_accessory" : "0",
"human_livable" : true,
"due_part_key" : "",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"part_direction_id" : 33,
"part_direction_uu_id" : "8b499ada-4b70-44c5-b325-af57fc14421f",
"part_type_id" : 4,
"part_type_uu_id" : "d3e0e1e0-4679-43bb-b8c4-25ff01bd2122",
"id" : 32,
"uu_id" : "d57838df-cb2c-4f13-8ec3-84e30e52a437",
"ref_id" : "b134371a-75ee-4d34-8d67-58a588a05074",
"created_at" : "2024-11-06T09:33:42.133Z",
"updated_at" : "2024-11-06T09:33:42.133Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:33:42.133Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"address_gov_code" : "1199811025",
"part_no" : 8,
"part_level" : 2,
"part_code" : "DAIRE_08",
"part_gross_size" : 95,
"part_net_size" : 90,
"default_accessory" : "0",
"human_livable" : true,
"due_part_key" : "",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"part_direction_id" : 33,
"part_direction_uu_id" : "8b499ada-4b70-44c5-b325-af57fc14421f",
"part_type_id" : 4,
"part_type_uu_id" : "d3e0e1e0-4679-43bb-b8c4-25ff01bd2122",
"id" : 33,
"uu_id" : "e39e0228-05c2-4de7-a295-89eadc2f8189",
"ref_id" : "b3dd0991-e10b-4b7c-81e9-1371fee5809d",
"created_at" : "2024-11-06T09:33:42.133Z",
"updated_at" : "2024-11-06T09:33:42.133Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:33:42.133Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"address_gov_code" : "1451802621",
"part_no" : 10,
"part_level" : 3,
"part_code" : "DAIRE_10",
"part_gross_size" : 95,
"part_net_size" : 90,
"default_accessory" : "0",
"human_livable" : true,
"due_part_key" : "",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"part_direction_id" : 33,
"part_direction_uu_id" : "8b499ada-4b70-44c5-b325-af57fc14421f",
"part_type_id" : 4,
"part_type_uu_id" : "d3e0e1e0-4679-43bb-b8c4-25ff01bd2122",
"id" : 34,
"uu_id" : "12e79811-1d65-4ea2-9f52-530bb41d47c3",
"ref_id" : "bdf585e8-06f7-45bd-9a4a-3d8a844a4bf5",
"created_at" : "2024-11-06T09:33:42.133Z",
"updated_at" : "2024-11-06T09:33:42.133Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:33:42.133Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"address_gov_code" : "1175211844",
"part_no" : 12,
"part_level" : 3,
"part_code" : "DAIRE_12",
"part_gross_size" : 95,
"part_net_size" : 90,
"default_accessory" : "0",
"human_livable" : true,
"due_part_key" : "",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"part_direction_id" : 33,
"part_direction_uu_id" : "8b499ada-4b70-44c5-b325-af57fc14421f",
"part_type_id" : 4,
"part_type_uu_id" : "d3e0e1e0-4679-43bb-b8c4-25ff01bd2122",
"id" : 25,
"uu_id" : "5603db9e-b1f8-4d31-b4f2-2b3baa5508e7",
"ref_id" : "89700cab-02c3-40eb-bfc6-a2565421b33d",
"created_at" : "2024-11-06T09:33:42.133Z",
"updated_at" : "2024-11-06T09:33:42.133Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:33:42.133Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"address_gov_code" : "1395104514",
"part_no" : 9,
"part_level" : 2,
"part_code" : "DAIRE_09",
"part_gross_size" : 95,
"part_net_size" : 90,
"default_accessory" : "0",
"human_livable" : true,
"due_part_key" : "",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"part_direction_id" : 33,
"part_direction_uu_id" : "8b499ada-4b70-44c5-b325-af57fc14421f",
"part_type_id" : 4,
"part_type_uu_id" : "d3e0e1e0-4679-43bb-b8c4-25ff01bd2122",
"id" : 35,
"uu_id" : "1289c918-a12d-4d29-8b0d-34f20cc5c7c8",
"ref_id" : "c223b2fa-fa74-4646-81bd-2f00139575e8",
"created_at" : "2024-11-06T09:33:42.133Z",
"updated_at" : "2024-11-06T09:33:42.133Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:33:42.133Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"address_gov_code" : "1292507934",
"part_no" : 1,
"part_level" : 0,
"part_code" : "DAIRE_01",
"part_gross_size" : 85,
"part_net_size" : 80,
"default_accessory" : "0",
"human_livable" : true,
"due_part_key" : "",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"part_direction_id" : 33,
"part_direction_uu_id" : "8b499ada-4b70-44c5-b325-af57fc14421f",
"part_type_id" : 4,
"part_type_uu_id" : "d3e0e1e0-4679-43bb-b8c4-25ff01bd2122",
"id" : 36,
"uu_id" : "ed6ae015-268b-47ad-8af6-0b1025844413",
"ref_id" : "ef93d9a9-d25a-4fb5-bd0e-f9f97138ca3e",
"created_at" : "2024-11-06T09:33:42.133Z",
"updated_at" : "2024-11-06T09:33:42.133Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:33:42.133Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"address_gov_code" : "1200",
"part_no" : 0,
"part_level" : 1,
"part_code" : "APT_YON",
"part_gross_size" : 30,
"part_net_size" : 25,
"default_accessory" : "0",
"human_livable" : true,
"due_part_key" : "",
"build_id" : 1,
"build_uu_id" : "dd11ce48-063d-4b07-8bd9-f1acb0e91113",
"part_direction_id" : 33,
"part_direction_uu_id" : "8b499ada-4b70-44c5-b325-af57fc14421f",
"part_type_id" : 4,
"part_type_uu_id" : "6de1b33d-ebe9-42f6-b4cb-7f4396f13731",
"id" : 50,
"uu_id" : "426cb5ce-fa69-42fe-9475-6abd0285643e",
"ref_id" : "75721e32-55a6-4309-9a0e-065f5c59cec8",
"created_at" : "2024-11-06T09:33:42.133Z",
"updated_at" : "2024-11-06T09:33:42.133Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:33:42.133Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
}
]}

View File

@@ -0,0 +1,611 @@
{
"companies": [
{
"formal_name" : "DEVRAN SIVACI KİLİT TAŞ",
"company_type" : "P",
"commercial_type" : "0",
"tax_no" : "100940000000021",
"public_name" : "DEVRAN SIVACI KİLİT TAŞ",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 7,
"uu_id" : "673d1824-dcf9-4b35-afbe-0afe6a29963d",
"ref_id" : "100940000000021",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "Evyos LTD",
"company_type" : "C",
"commercial_type" : "LTD",
"tax_no" : "123132123132",
"public_name" : "Evyos Verimlilik Sistemleri",
"company_tag" : "Evyos",
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : true,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 1,
"uu_id" : "851a657c-34b6-4741-b577-b51752609708",
"ref_id" : null,
"created_at" : "2024-11-05T13:16:10.746Z",
"updated_at" : "2024-11-05T13:16:10.746Z",
"cryp_uu_id" : null,
"created_by" : "System",
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : "System",
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-05T13:16:10.746Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "A.S.K.İ",
"company_type" : "C",
"commercial_type" : "A.Ş.",
"tax_no" : "100940000000016",
"public_name" : "A.S.K.İ",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 4,
"uu_id" : "c4c9b579-9c64-4b57-adaa-0b82b98825bb",
"ref_id" : "100940000000016",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "ENERJİSAPS",
"company_type" : "C",
"commercial_type" : "A.Ş.",
"tax_no" : "100940000000017",
"public_name" : "ENERJİSAPS",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 5,
"uu_id" : "708a932c-be9b-4e5e-a6e0-aeac0ed1830e",
"ref_id" : "100940000000017",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "BAŞKENT DOĞAL GAZ",
"company_type" : "C",
"commercial_type" : "A.Ş.",
"tax_no" : "100940000000024",
"public_name" : "BAŞKENT DOĞALGAZ",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 10,
"uu_id" : "527f09ac-7e51-4c41-b588-a263373b8683",
"ref_id" : "100940000000024",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "VOLKAN TİCARET",
"company_type" : "C",
"commercial_type" : "LTD.",
"tax_no" : "100940000000026",
"public_name" : "VOLKAN TİCARET",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 12,
"uu_id" : "3fb44160-18e3-4d54-ae1b-13c203ce2eb3",
"ref_id" : "100940000000026",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "RECEPOGLU_YAPI",
"company_type" : "C",
"commercial_type" : "LTD.",
"tax_no" : "100940000000027",
"public_name" : "RECEPOGLU_YAPI",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 13,
"uu_id" : "6b3e08b8-3b98-4966-a813-cfcf156642d5",
"ref_id" : "100940000000027",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "IPEK_ELEKTRIK",
"company_type" : "C",
"commercial_type" : "LTD.",
"tax_no" : "100940000000030",
"public_name" : "IPEK_ELEKTRIK",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 29,
"uu_id" : "81364a87-e3ab-4cf2-8d0a-d3fba7402bcf",
"ref_id" : "100940000000030",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "BAUHOUSE",
"company_type" : "C",
"commercial_type" : "A.Ş.",
"tax_no" : "100940000000031",
"public_name" : "BAUHOUSE",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 31,
"uu_id" : "82946ab2-f386-4d25-a372-9e9328ea73a1",
"ref_id" : "100940000000031",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "DURANOĞLU TAŞ KARO",
"company_type" : "C",
"commercial_type" : "LTD.",
"tax_no" : "100940000000034",
"public_name" : "DURANOĞLU TAŞ KARO",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 34,
"uu_id" : "a15ddd83-780e-4346-b17e-f7573be1eb91",
"ref_id" : "100940000000034",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "PROFGAZ BEKİR DEMİROĞLU",
"company_type" : "C",
"commercial_type" : "LTD.",
"tax_no" : "100940000000019",
"public_name" : "PROFGAZ BEKİR DEMİROĞLU",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 44,
"uu_id" : "0e09d08a-d76d-4f6f-a14e-38c33f0e4159",
"ref_id" : "100940000000019",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "TC. İŞ BANKASI",
"company_type" : "C",
"commercial_type" : "A.Ş.",
"tax_no" : "100940000000047",
"public_name" : "İŞ BANKASI",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 47,
"uu_id" : "c8e1117e-1510-432f-9f9a-700bfba3b2b3",
"ref_id" : "100940000000047",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "AV ILAYDA DOĞA KARAMAN",
"company_type" : "P",
"commercial_type" : "0",
"tax_no" : "100940000000056",
"public_name" : "AV ILAYDA DOĞA KARAMAN",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 56,
"uu_id" : "461d7f3b-f61d-4547-adbd-920d5ed2f505",
"ref_id" : "100940000000056",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "MUSTAFA ÖZDEN AYLIK SOZ. TEMIZLIK HIZMET BEDELI",
"company_type" : "C",
"commercial_type" : "LTD.",
"tax_no" : "100940000000059",
"public_name" : "MUSTAFA ÖZDEN AYLIK SOZ. TEMIZLIK HIZMET BEDELI",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 59,
"uu_id" : "6be2ebb4-4aa2-4feb-927e-989816f67d94",
"ref_id" : "100940000000059",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "ARMAN ELEKTRONIK",
"company_type" : "C",
"commercial_type" : "LTD.",
"tax_no" : "100940000000046",
"public_name" : "ARMAN ELEKTRONIK",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 46,
"uu_id" : "82b089a8-1238-4e3e-b19a-8db209f72fe4",
"ref_id" : "100940000000046",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
},
{
"formal_name" : "CKM Doğalgaz Mühendislik",
"company_type" : "C",
"commercial_type" : "LTD.",
"tax_no" : "100940000000060",
"public_name" : "CKM Doğalgaz Mühendislik",
"company_tag" : null,
"default_lang_type" : "TR",
"default_money_type" : "TL",
"is_commercial" : false,
"is_blacklist" : false,
"parent_id" : null,
"workplace_no" : null,
"official_address_id" : null,
"official_address_uu_id" : null,
"top_responsible_company_id" : null,
"top_responsible_company_uu_id" : null,
"id" : 60,
"uu_id" : "b12c22ba-5783-448d-87f0-f78a468f3c2b",
"ref_id" : "100940000000060",
"created_at" : "2024-11-06T09:04:42.733Z",
"updated_at" : "2024-11-06T09:04:42.733Z",
"cryp_uu_id" : null,
"created_by" : null,
"created_by_id" : null,
"updated_by" : null,
"updated_by_id" : null,
"confirmed_by" : null,
"confirmed_by_id" : null,
"is_confirmed" : true,
"replication_id" : 0,
"deleted" : false,
"active" : true,
"is_notification_send" : true,
"is_email_send" : false,
"expiry_starts" : "2024-11-06T09:04:42.733Z",
"expiry_ends" : "2099-12-31T00:00:00.000Z"
}
]}

File diff suppressed because it is too large Load Diff

View File

@@ -10,8 +10,12 @@ system_default = dict(
confirmed_by="System",
)
json_directory = "/home/berkay/git-gitea-evyos/wag-managment-api-service-version-2"
json_directory += "/service_app_test/test_application/migrate_old_data/data"
print("json_directory", json_directory)
def read_json_file(json_directory, json_file):
def read_json_file(json_file):
with open(f"{json_directory}/{json_file}.json", "r", encoding="utf-8") as json_file:
return loads(json_file.read())

View File

@@ -4,10 +4,6 @@ from service_app_test.api_configs import WagAPI, LocalAPI, BothAPIS
from service_app_test.test_application.migrate_old_data.people import migrate_people
from service_app_test.test_application.migrate_old_data.building import (
migrate_build,
migrate_build_area,
migrate_build_part,
migrate_build_iban,
migrate_build_living_space,
)
from service_app_test.test_application.migrate_old_data.company import migrate_company
@@ -17,7 +13,7 @@ login_data = {
"access_key": "karatay.berkay.sup@evyos.com.tr",
"password": "string",
"remember_me": False,
"password_token": ""
"password_token": "",
}
login_data_wag = {
"domain": "evyos.com.tr",
@@ -43,12 +39,6 @@ both_apis = BothAPIS()
both_apis.wag_api = wag_api
both_apis.local_api = local_api
# migrate_company(requester=both_apis)
# migrate_people(requester=both_apis)
# migrate_build(requester=both_apis)
migrate_build_area(requester=both_apis, build_uu_id="string")
exit()
migrate_build_part(requester=both_apis)
migrate_build_iban(requester=both_apis)
migrate_build_living_space(requester=both_apis)
migrate_company(requester=both_apis)
migrate_people(requester=both_apis)
migrate_build(requester=both_apis)