@be-logixpair/api 0.0.68 → 0.0.70

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1464 -68
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -602738,6 +602738,7 @@ type companiesWhereInput = {
602738
602738
  un_locode?: XOR<Un_locodesNullableScalarRelationFilter, un_locodesWhereInput> | null;
602739
602739
  company_logs?: Company_logsListRelationFilter;
602740
602740
  users?: UsersListRelationFilter;
602741
+ users_last_accessed?: UsersListRelationFilter;
602741
602742
  bank_accounts?: Bank_accountsListRelationFilter;
602742
602743
  branches?: BranchesListRelationFilter;
602743
602744
  department?: DepartmentsListRelationFilter;
@@ -602772,6 +602773,7 @@ type companiesOrderByWithRelationInput = {
602772
602773
  un_locode?: un_locodesOrderByWithRelationInput;
602773
602774
  company_logs?: company_logsOrderByRelationAggregateInput;
602774
602775
  users?: usersOrderByRelationAggregateInput;
602776
+ users_last_accessed?: usersOrderByRelationAggregateInput;
602775
602777
  bank_accounts?: bank_accountsOrderByRelationAggregateInput;
602776
602778
  branches?: branchesOrderByRelationAggregateInput;
602777
602779
  department?: departmentsOrderByRelationAggregateInput;
@@ -602809,6 +602811,7 @@ type companiesWhereUniqueInput = AtLeast<{
602809
602811
  un_locode?: XOR<Un_locodesNullableScalarRelationFilter, un_locodesWhereInput> | null;
602810
602812
  company_logs?: Company_logsListRelationFilter;
602811
602813
  users?: UsersListRelationFilter;
602814
+ users_last_accessed?: UsersListRelationFilter;
602812
602815
  bank_accounts?: Bank_accountsListRelationFilter;
602813
602816
  branches?: BranchesListRelationFilter;
602814
602817
  department?: DepartmentsListRelationFilter;
@@ -602880,6 +602883,7 @@ type companiesCreateInput = {
602880
602883
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
602881
602884
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
602882
602885
  users?: usersCreateNestedManyWithoutCompanyInput;
602886
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
602883
602887
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
602884
602888
  branches?: branchesCreateNestedManyWithoutCompanyInput;
602885
602889
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -602909,6 +602913,7 @@ type companiesUncheckedCreateInput = {
602909
602913
  updated_by?: string | null;
602910
602914
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
602911
602915
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
602916
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
602912
602917
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
602913
602918
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
602914
602919
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -602938,6 +602943,7 @@ type companiesUpdateInput = {
602938
602943
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
602939
602944
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
602940
602945
  users?: usersUpdateManyWithoutCompanyNestedInput;
602946
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
602941
602947
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
602942
602948
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
602943
602949
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -602967,6 +602973,7 @@ type companiesUncheckedUpdateInput = {
602967
602973
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
602968
602974
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
602969
602975
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
602976
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
602970
602977
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
602971
602978
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
602972
602979
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -603438,6 +603445,11 @@ type companiesCreateNestedOneWithoutUsersInput = {
603438
603445
  connectOrCreate?: companiesCreateOrConnectWithoutUsersInput;
603439
603446
  connect?: companiesWhereUniqueInput;
603440
603447
  };
603448
+ type companiesCreateNestedOneWithoutUsers_last_accessedInput = {
603449
+ create?: XOR<companiesCreateWithoutUsers_last_accessedInput, companiesUncheckedCreateWithoutUsers_last_accessedInput>;
603450
+ connectOrCreate?: companiesCreateOrConnectWithoutUsers_last_accessedInput;
603451
+ connect?: companiesWhereUniqueInput;
603452
+ };
603441
603453
  type companiesUpdateOneWithoutUsersNestedInput = {
603442
603454
  create?: XOR<companiesCreateWithoutUsersInput, companiesUncheckedCreateWithoutUsersInput>;
603443
603455
  connectOrCreate?: companiesCreateOrConnectWithoutUsersInput;
@@ -603447,6 +603459,15 @@ type companiesUpdateOneWithoutUsersNestedInput = {
603447
603459
  connect?: companiesWhereUniqueInput;
603448
603460
  update?: XOR<XOR<companiesUpdateToOneWithWhereWithoutUsersInput, companiesUpdateWithoutUsersInput>, companiesUncheckedUpdateWithoutUsersInput>;
603449
603461
  };
603462
+ type companiesUpdateOneWithoutUsers_last_accessedNestedInput = {
603463
+ create?: XOR<companiesCreateWithoutUsers_last_accessedInput, companiesUncheckedCreateWithoutUsers_last_accessedInput>;
603464
+ connectOrCreate?: companiesCreateOrConnectWithoutUsers_last_accessedInput;
603465
+ upsert?: companiesUpsertWithoutUsers_last_accessedInput;
603466
+ disconnect?: companiesWhereInput | boolean;
603467
+ delete?: companiesWhereInput | boolean;
603468
+ connect?: companiesWhereUniqueInput;
603469
+ update?: XOR<XOR<companiesUpdateToOneWithWhereWithoutUsers_last_accessedInput, companiesUpdateWithoutUsers_last_accessedInput>, companiesUncheckedUpdateWithoutUsers_last_accessedInput>;
603470
+ };
603450
603471
  type companiesCreateNestedOneWithoutCompany_logsInput = {
603451
603472
  create?: XOR<companiesCreateWithoutCompany_logsInput, companiesUncheckedCreateWithoutCompany_logsInput>;
603452
603473
  connectOrCreate?: companiesCreateOrConnectWithoutCompany_logsInput;
@@ -603479,6 +603500,7 @@ type companiesCreateWithoutBank_accountsInput = {
603479
603500
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
603480
603501
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
603481
603502
  users?: usersCreateNestedManyWithoutCompanyInput;
603503
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
603482
603504
  branches?: branchesCreateNestedManyWithoutCompanyInput;
603483
603505
  department?: departmentsCreateNestedManyWithoutCompanyInput;
603484
603506
  gl_account_company_pivots?: gl_account_company_pivotsCreateNestedManyWithoutCompanyInput;
@@ -603507,6 +603529,7 @@ type companiesUncheckedCreateWithoutBank_accountsInput = {
603507
603529
  updated_by?: string | null;
603508
603530
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
603509
603531
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
603532
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
603510
603533
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
603511
603534
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
603512
603535
  gl_account_company_pivots?: gl_account_company_pivotsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -603548,6 +603571,7 @@ type companiesUpdateWithoutBank_accountsInput = {
603548
603571
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
603549
603572
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
603550
603573
  users?: usersUpdateManyWithoutCompanyNestedInput;
603574
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
603551
603575
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
603552
603576
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
603553
603577
  gl_account_company_pivots?: gl_account_company_pivotsUpdateManyWithoutCompanyNestedInput;
@@ -603576,6 +603600,7 @@ type companiesUncheckedUpdateWithoutBank_accountsInput = {
603576
603600
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
603577
603601
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
603578
603602
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
603603
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
603579
603604
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
603580
603605
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
603581
603606
  gl_account_company_pivots?: gl_account_company_pivotsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -603604,6 +603629,7 @@ type companiesCreateWithoutGl_account_company_pivotsInput = {
603604
603629
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
603605
603630
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
603606
603631
  users?: usersCreateNestedManyWithoutCompanyInput;
603632
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
603607
603633
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
603608
603634
  branches?: branchesCreateNestedManyWithoutCompanyInput;
603609
603635
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -603632,6 +603658,7 @@ type companiesUncheckedCreateWithoutGl_account_company_pivotsInput = {
603632
603658
  updated_by?: string | null;
603633
603659
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
603634
603660
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
603661
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
603635
603662
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
603636
603663
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
603637
603664
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -603673,6 +603700,7 @@ type companiesUpdateWithoutGl_account_company_pivotsInput = {
603673
603700
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
603674
603701
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
603675
603702
  users?: usersUpdateManyWithoutCompanyNestedInput;
603703
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
603676
603704
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
603677
603705
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
603678
603706
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -603701,6 +603729,7 @@ type companiesUncheckedUpdateWithoutGl_account_company_pivotsInput = {
603701
603729
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
603702
603730
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
603703
603731
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
603732
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
603704
603733
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
603705
603734
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
603706
603735
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -603728,6 +603757,7 @@ type companiesCreateWithoutUn_locodeInput = {
603728
603757
  postal_code?: postal_codesCreateNestedOneWithoutCompaniesInput;
603729
603758
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
603730
603759
  users?: usersCreateNestedManyWithoutCompanyInput;
603760
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
603731
603761
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
603732
603762
  branches?: branchesCreateNestedManyWithoutCompanyInput;
603733
603763
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -603756,6 +603786,7 @@ type companiesUncheckedCreateWithoutUn_locodeInput = {
603756
603786
  updated_by?: string | null;
603757
603787
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
603758
603788
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
603789
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
603759
603790
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
603760
603791
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
603761
603792
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -603825,6 +603856,7 @@ type companiesCreateWithoutCountryInput = {
603825
603856
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
603826
603857
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
603827
603858
  users?: usersCreateNestedManyWithoutCompanyInput;
603859
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
603828
603860
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
603829
603861
  branches?: branchesCreateNestedManyWithoutCompanyInput;
603830
603862
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -603853,6 +603885,7 @@ type companiesUncheckedCreateWithoutCountryInput = {
603853
603885
  updated_by?: string | null;
603854
603886
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
603855
603887
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
603888
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
603856
603889
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
603857
603890
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
603858
603891
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -603902,6 +603935,7 @@ type companiesCreateWithoutStateInput = {
603902
603935
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
603903
603936
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
603904
603937
  users?: usersCreateNestedManyWithoutCompanyInput;
603938
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
603905
603939
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
603906
603940
  branches?: branchesCreateNestedManyWithoutCompanyInput;
603907
603941
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -603930,6 +603964,7 @@ type companiesUncheckedCreateWithoutStateInput = {
603930
603964
  updated_by?: string | null;
603931
603965
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
603932
603966
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
603967
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
603933
603968
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
603934
603969
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
603935
603970
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -603979,6 +604014,7 @@ type companiesCreateWithoutCityInput = {
603979
604014
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
603980
604015
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
603981
604016
  users?: usersCreateNestedManyWithoutCompanyInput;
604017
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
603982
604018
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
603983
604019
  branches?: branchesCreateNestedManyWithoutCompanyInput;
603984
604020
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -604007,6 +604043,7 @@ type companiesUncheckedCreateWithoutCityInput = {
604007
604043
  updated_by?: string | null;
604008
604044
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
604009
604045
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
604046
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
604010
604047
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
604011
604048
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
604012
604049
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -604056,6 +604093,7 @@ type companiesCreateWithoutPostal_codeInput = {
604056
604093
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
604057
604094
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
604058
604095
  users?: usersCreateNestedManyWithoutCompanyInput;
604096
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
604059
604097
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
604060
604098
  branches?: branchesCreateNestedManyWithoutCompanyInput;
604061
604099
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -604084,6 +604122,7 @@ type companiesUncheckedCreateWithoutPostal_codeInput = {
604084
604122
  updated_by?: string | null;
604085
604123
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
604086
604124
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
604125
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
604087
604126
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
604088
604127
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
604089
604128
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -604134,6 +604173,7 @@ type companiesCreateWithoutOrganizationsInput = {
604134
604173
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
604135
604174
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
604136
604175
  users?: usersCreateNestedManyWithoutCompanyInput;
604176
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
604137
604177
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
604138
604178
  branches?: branchesCreateNestedManyWithoutCompanyInput;
604139
604179
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -604162,6 +604202,7 @@ type companiesUncheckedCreateWithoutOrganizationsInput = {
604162
604202
  updated_by?: string | null;
604163
604203
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
604164
604204
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
604205
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
604165
604206
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
604166
604207
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
604167
604208
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -604203,6 +604244,7 @@ type companiesUpdateWithoutOrganizationsInput = {
604203
604244
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
604204
604245
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
604205
604246
  users?: usersUpdateManyWithoutCompanyNestedInput;
604247
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
604206
604248
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
604207
604249
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
604208
604250
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -604231,6 +604273,7 @@ type companiesUncheckedUpdateWithoutOrganizationsInput = {
604231
604273
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
604232
604274
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
604233
604275
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
604276
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
604234
604277
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
604235
604278
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
604236
604279
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -604259,6 +604302,7 @@ type companiesCreateWithoutOrganization_type_detailsInput = {
604259
604302
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
604260
604303
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
604261
604304
  users?: usersCreateNestedManyWithoutCompanyInput;
604305
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
604262
604306
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
604263
604307
  branches?: branchesCreateNestedManyWithoutCompanyInput;
604264
604308
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -604287,6 +604331,7 @@ type companiesUncheckedCreateWithoutOrganization_type_detailsInput = {
604287
604331
  updated_by?: string | null;
604288
604332
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
604289
604333
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
604334
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
604290
604335
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
604291
604336
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
604292
604337
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -604328,6 +604373,7 @@ type companiesUpdateWithoutOrganization_type_detailsInput = {
604328
604373
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
604329
604374
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
604330
604375
  users?: usersUpdateManyWithoutCompanyNestedInput;
604376
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
604331
604377
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
604332
604378
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
604333
604379
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -604356,6 +604402,7 @@ type companiesUncheckedUpdateWithoutOrganization_type_detailsInput = {
604356
604402
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
604357
604403
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
604358
604404
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
604405
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
604359
604406
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
604360
604407
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
604361
604408
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -604384,6 +604431,7 @@ type companiesCreateWithoutOrganization_account_payable_detailsInput = {
604384
604431
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
604385
604432
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
604386
604433
  users?: usersCreateNestedManyWithoutCompanyInput;
604434
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
604387
604435
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
604388
604436
  branches?: branchesCreateNestedManyWithoutCompanyInput;
604389
604437
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -604412,6 +604460,7 @@ type companiesUncheckedCreateWithoutOrganization_account_payable_detailsInput =
604412
604460
  updated_by?: string | null;
604413
604461
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
604414
604462
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
604463
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
604415
604464
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
604416
604465
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
604417
604466
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -604453,6 +604502,7 @@ type companiesUpdateWithoutOrganization_account_payable_detailsInput = {
604453
604502
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
604454
604503
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
604455
604504
  users?: usersUpdateManyWithoutCompanyNestedInput;
604505
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
604456
604506
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
604457
604507
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
604458
604508
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -604481,6 +604531,7 @@ type companiesUncheckedUpdateWithoutOrganization_account_payable_detailsInput =
604481
604531
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
604482
604532
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
604483
604533
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
604534
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
604484
604535
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
604485
604536
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
604486
604537
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -604509,6 +604560,7 @@ type companiesCreateWithoutOrganization_account_receivable_detailsInput = {
604509
604560
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
604510
604561
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
604511
604562
  users?: usersCreateNestedManyWithoutCompanyInput;
604563
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
604512
604564
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
604513
604565
  branches?: branchesCreateNestedManyWithoutCompanyInput;
604514
604566
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -604537,6 +604589,7 @@ type companiesUncheckedCreateWithoutOrganization_account_receivable_detailsInput
604537
604589
  updated_by?: string | null;
604538
604590
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
604539
604591
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
604592
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
604540
604593
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
604541
604594
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
604542
604595
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -604578,6 +604631,7 @@ type companiesUpdateWithoutOrganization_account_receivable_detailsInput = {
604578
604631
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
604579
604632
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
604580
604633
  users?: usersUpdateManyWithoutCompanyNestedInput;
604634
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
604581
604635
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
604582
604636
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
604583
604637
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -604606,6 +604660,7 @@ type companiesUncheckedUpdateWithoutOrganization_account_receivable_detailsInput
604606
604660
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
604607
604661
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
604608
604662
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
604663
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
604609
604664
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
604610
604665
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
604611
604666
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -604634,6 +604689,7 @@ type companiesCreateWithoutOrganization_account_payable_settlementsInput = {
604634
604689
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
604635
604690
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
604636
604691
  users?: usersCreateNestedManyWithoutCompanyInput;
604692
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
604637
604693
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
604638
604694
  branches?: branchesCreateNestedManyWithoutCompanyInput;
604639
604695
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -604662,6 +604718,7 @@ type companiesUncheckedCreateWithoutOrganization_account_payable_settlementsInpu
604662
604718
  updated_by?: string | null;
604663
604719
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
604664
604720
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
604721
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
604665
604722
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
604666
604723
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
604667
604724
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -604703,6 +604760,7 @@ type companiesUpdateWithoutOrganization_account_payable_settlementsInput = {
604703
604760
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
604704
604761
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
604705
604762
  users?: usersUpdateManyWithoutCompanyNestedInput;
604763
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
604706
604764
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
604707
604765
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
604708
604766
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -604731,6 +604789,7 @@ type companiesUncheckedUpdateWithoutOrganization_account_payable_settlementsInpu
604731
604789
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
604732
604790
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
604733
604791
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
604792
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
604734
604793
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
604735
604794
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
604736
604795
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -604759,6 +604818,7 @@ type companiesCreateWithoutOrganization_account_receivable_settlementsInput = {
604759
604818
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
604760
604819
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
604761
604820
  users?: usersCreateNestedManyWithoutCompanyInput;
604821
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
604762
604822
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
604763
604823
  branches?: branchesCreateNestedManyWithoutCompanyInput;
604764
604824
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -604787,6 +604847,7 @@ type companiesUncheckedCreateWithoutOrganization_account_receivable_settlementsI
604787
604847
  updated_by?: string | null;
604788
604848
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
604789
604849
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
604850
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
604790
604851
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
604791
604852
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
604792
604853
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -604828,6 +604889,7 @@ type companiesUpdateWithoutOrganization_account_receivable_settlementsInput = {
604828
604889
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
604829
604890
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
604830
604891
  users?: usersUpdateManyWithoutCompanyNestedInput;
604892
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
604831
604893
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
604832
604894
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
604833
604895
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -604856,6 +604918,7 @@ type companiesUncheckedUpdateWithoutOrganization_account_receivable_settlementsI
604856
604918
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
604857
604919
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
604858
604920
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
604921
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
604859
604922
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
604860
604923
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
604861
604924
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -604884,6 +604947,7 @@ type companiesCreateWithoutBranchesInput = {
604884
604947
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
604885
604948
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
604886
604949
  users?: usersCreateNestedManyWithoutCompanyInput;
604950
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
604887
604951
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
604888
604952
  department?: departmentsCreateNestedManyWithoutCompanyInput;
604889
604953
  gl_account_company_pivots?: gl_account_company_pivotsCreateNestedManyWithoutCompanyInput;
@@ -604912,6 +604976,7 @@ type companiesUncheckedCreateWithoutBranchesInput = {
604912
604976
  updated_by?: string | null;
604913
604977
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
604914
604978
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
604979
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
604915
604980
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
604916
604981
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
604917
604982
  gl_account_company_pivots?: gl_account_company_pivotsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -604953,6 +605018,7 @@ type companiesUpdateWithoutBranchesInput = {
604953
605018
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
604954
605019
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
604955
605020
  users?: usersUpdateManyWithoutCompanyNestedInput;
605021
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
604956
605022
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
604957
605023
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
604958
605024
  gl_account_company_pivots?: gl_account_company_pivotsUpdateManyWithoutCompanyNestedInput;
@@ -604981,6 +605047,7 @@ type companiesUncheckedUpdateWithoutBranchesInput = {
604981
605047
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
604982
605048
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
604983
605049
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
605050
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
604984
605051
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
604985
605052
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
604986
605053
  gl_account_company_pivots?: gl_account_company_pivotsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -605009,6 +605076,7 @@ type companiesCreateWithoutDepartmentInput = {
605009
605076
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
605010
605077
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
605011
605078
  users?: usersCreateNestedManyWithoutCompanyInput;
605079
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
605012
605080
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
605013
605081
  branches?: branchesCreateNestedManyWithoutCompanyInput;
605014
605082
  gl_account_company_pivots?: gl_account_company_pivotsCreateNestedManyWithoutCompanyInput;
@@ -605037,6 +605105,7 @@ type companiesUncheckedCreateWithoutDepartmentInput = {
605037
605105
  updated_by?: string | null;
605038
605106
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
605039
605107
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
605108
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
605040
605109
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
605041
605110
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
605042
605111
  gl_account_company_pivots?: gl_account_company_pivotsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -605078,6 +605147,7 @@ type companiesUpdateWithoutDepartmentInput = {
605078
605147
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
605079
605148
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
605080
605149
  users?: usersUpdateManyWithoutCompanyNestedInput;
605150
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
605081
605151
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
605082
605152
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
605083
605153
  gl_account_company_pivots?: gl_account_company_pivotsUpdateManyWithoutCompanyNestedInput;
@@ -605106,6 +605176,7 @@ type companiesUncheckedUpdateWithoutDepartmentInput = {
605106
605176
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
605107
605177
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
605108
605178
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
605179
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
605109
605180
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
605110
605181
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
605111
605182
  gl_account_company_pivots?: gl_account_company_pivotsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -605133,6 +605204,7 @@ type companiesCreateWithoutUsersInput = {
605133
605204
  postal_code?: postal_codesCreateNestedOneWithoutCompaniesInput;
605134
605205
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
605135
605206
  company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
605207
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
605136
605208
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
605137
605209
  branches?: branchesCreateNestedManyWithoutCompanyInput;
605138
605210
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -605161,6 +605233,7 @@ type companiesUncheckedCreateWithoutUsersInput = {
605161
605233
  updated_at?: Date | string | null;
605162
605234
  updated_by?: string | null;
605163
605235
  company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
605236
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
605164
605237
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
605165
605238
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
605166
605239
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -605176,6 +605249,68 @@ type companiesCreateOrConnectWithoutUsersInput = {
605176
605249
  where: companiesWhereUniqueInput;
605177
605250
  create: XOR<companiesCreateWithoutUsersInput, companiesUncheckedCreateWithoutUsersInput>;
605178
605251
  };
605252
+ type companiesCreateWithoutUsers_last_accessedInput = {
605253
+ id?: bigint | number;
605254
+ logic_code?: string | null;
605255
+ code?: string | null;
605256
+ name?: string | null;
605257
+ address?: string | null;
605258
+ is_active?: boolean | null;
605259
+ created_at?: Date | string | null;
605260
+ created_by?: string | null;
605261
+ updated_at?: Date | string | null;
605262
+ updated_by?: string | null;
605263
+ country?: countriesCreateNestedOneWithoutCompaniesInput;
605264
+ state?: statesCreateNestedOneWithoutCompaniesInput;
605265
+ city?: citiesCreateNestedOneWithoutCompaniesInput;
605266
+ postal_code?: postal_codesCreateNestedOneWithoutCompaniesInput;
605267
+ un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
605268
+ company_logs?: company_logsCreateNestedManyWithoutCompanyInput;
605269
+ users?: usersCreateNestedManyWithoutCompanyInput;
605270
+ bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
605271
+ branches?: branchesCreateNestedManyWithoutCompanyInput;
605272
+ department?: departmentsCreateNestedManyWithoutCompanyInput;
605273
+ gl_account_company_pivots?: gl_account_company_pivotsCreateNestedManyWithoutCompanyInput;
605274
+ organization_account_payable_details?: organization_account_payable_detailsCreateNestedManyWithoutCompanyInput;
605275
+ organization_account_receivable_details?: organization_account_receivable_detailsCreateNestedManyWithoutCompanyInput;
605276
+ organizations?: organizationsCreateNestedManyWithoutCompanyInput;
605277
+ organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutCompanyInput;
605278
+ organization_account_payable_settlements?: organization_account_payable_settlementsCreateNestedManyWithoutCompanyInput;
605279
+ organization_type_details?: organization_type_detailsCreateNestedManyWithoutCompanyInput;
605280
+ };
605281
+ type companiesUncheckedCreateWithoutUsers_last_accessedInput = {
605282
+ id?: bigint | number;
605283
+ id_country?: bigint | number | null;
605284
+ id_state?: bigint | number | null;
605285
+ id_city?: bigint | number | null;
605286
+ id_postal_code?: bigint | number | null;
605287
+ id_un_locode?: bigint | number | null;
605288
+ logic_code?: string | null;
605289
+ code?: string | null;
605290
+ name?: string | null;
605291
+ address?: string | null;
605292
+ is_active?: boolean | null;
605293
+ created_at?: Date | string | null;
605294
+ created_by?: string | null;
605295
+ updated_at?: Date | string | null;
605296
+ updated_by?: string | null;
605297
+ company_logs?: company_logsUncheckedCreateNestedManyWithoutCompanyInput;
605298
+ users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
605299
+ bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
605300
+ branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
605301
+ department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
605302
+ gl_account_company_pivots?: gl_account_company_pivotsUncheckedCreateNestedManyWithoutCompanyInput;
605303
+ organization_account_payable_details?: organization_account_payable_detailsUncheckedCreateNestedManyWithoutCompanyInput;
605304
+ organization_account_receivable_details?: organization_account_receivable_detailsUncheckedCreateNestedManyWithoutCompanyInput;
605305
+ organizations?: organizationsUncheckedCreateNestedManyWithoutCompanyInput;
605306
+ organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutCompanyInput;
605307
+ organization_account_payable_settlements?: organization_account_payable_settlementsUncheckedCreateNestedManyWithoutCompanyInput;
605308
+ organization_type_details?: organization_type_detailsUncheckedCreateNestedManyWithoutCompanyInput;
605309
+ };
605310
+ type companiesCreateOrConnectWithoutUsers_last_accessedInput = {
605311
+ where: companiesWhereUniqueInput;
605312
+ create: XOR<companiesCreateWithoutUsers_last_accessedInput, companiesUncheckedCreateWithoutUsers_last_accessedInput>;
605313
+ };
605179
605314
  type companiesUpsertWithoutUsersInput = {
605180
605315
  update: XOR<companiesUpdateWithoutUsersInput, companiesUncheckedUpdateWithoutUsersInput>;
605181
605316
  create: XOR<companiesCreateWithoutUsersInput, companiesUncheckedCreateWithoutUsersInput>;
@@ -605202,6 +605337,7 @@ type companiesUpdateWithoutUsersInput = {
605202
605337
  postal_code?: postal_codesUpdateOneWithoutCompaniesNestedInput;
605203
605338
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
605204
605339
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
605340
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
605205
605341
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
605206
605342
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
605207
605343
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -605230,6 +605366,74 @@ type companiesUncheckedUpdateWithoutUsersInput = {
605230
605366
  updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
605231
605367
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
605232
605368
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
605369
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
605370
+ bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
605371
+ branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
605372
+ department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
605373
+ gl_account_company_pivots?: gl_account_company_pivotsUncheckedUpdateManyWithoutCompanyNestedInput;
605374
+ organization_account_payable_details?: organization_account_payable_detailsUncheckedUpdateManyWithoutCompanyNestedInput;
605375
+ organization_account_receivable_details?: organization_account_receivable_detailsUncheckedUpdateManyWithoutCompanyNestedInput;
605376
+ organizations?: organizationsUncheckedUpdateManyWithoutCompanyNestedInput;
605377
+ organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutCompanyNestedInput;
605378
+ organization_account_payable_settlements?: organization_account_payable_settlementsUncheckedUpdateManyWithoutCompanyNestedInput;
605379
+ organization_type_details?: organization_type_detailsUncheckedUpdateManyWithoutCompanyNestedInput;
605380
+ };
605381
+ type companiesUpsertWithoutUsers_last_accessedInput = {
605382
+ update: XOR<companiesUpdateWithoutUsers_last_accessedInput, companiesUncheckedUpdateWithoutUsers_last_accessedInput>;
605383
+ create: XOR<companiesCreateWithoutUsers_last_accessedInput, companiesUncheckedCreateWithoutUsers_last_accessedInput>;
605384
+ where?: companiesWhereInput;
605385
+ };
605386
+ type companiesUpdateToOneWithWhereWithoutUsers_last_accessedInput = {
605387
+ where?: companiesWhereInput;
605388
+ data: XOR<companiesUpdateWithoutUsers_last_accessedInput, companiesUncheckedUpdateWithoutUsers_last_accessedInput>;
605389
+ };
605390
+ type companiesUpdateWithoutUsers_last_accessedInput = {
605391
+ id?: BigIntFieldUpdateOperationsInput | bigint | number;
605392
+ logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
605393
+ code?: NullableStringFieldUpdateOperationsInput | string | null;
605394
+ name?: NullableStringFieldUpdateOperationsInput | string | null;
605395
+ address?: NullableStringFieldUpdateOperationsInput | string | null;
605396
+ is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
605397
+ created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
605398
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null;
605399
+ updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
605400
+ updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
605401
+ country?: countriesUpdateOneWithoutCompaniesNestedInput;
605402
+ state?: statesUpdateOneWithoutCompaniesNestedInput;
605403
+ city?: citiesUpdateOneWithoutCompaniesNestedInput;
605404
+ postal_code?: postal_codesUpdateOneWithoutCompaniesNestedInput;
605405
+ un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
605406
+ company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
605407
+ users?: usersUpdateManyWithoutCompanyNestedInput;
605408
+ bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
605409
+ branches?: branchesUpdateManyWithoutCompanyNestedInput;
605410
+ department?: departmentsUpdateManyWithoutCompanyNestedInput;
605411
+ gl_account_company_pivots?: gl_account_company_pivotsUpdateManyWithoutCompanyNestedInput;
605412
+ organization_account_payable_details?: organization_account_payable_detailsUpdateManyWithoutCompanyNestedInput;
605413
+ organization_account_receivable_details?: organization_account_receivable_detailsUpdateManyWithoutCompanyNestedInput;
605414
+ organizations?: organizationsUpdateManyWithoutCompanyNestedInput;
605415
+ organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutCompanyNestedInput;
605416
+ organization_account_payable_settlements?: organization_account_payable_settlementsUpdateManyWithoutCompanyNestedInput;
605417
+ organization_type_details?: organization_type_detailsUpdateManyWithoutCompanyNestedInput;
605418
+ };
605419
+ type companiesUncheckedUpdateWithoutUsers_last_accessedInput = {
605420
+ id?: BigIntFieldUpdateOperationsInput | bigint | number;
605421
+ id_country?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
605422
+ id_state?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
605423
+ id_city?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
605424
+ id_postal_code?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
605425
+ id_un_locode?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
605426
+ logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
605427
+ code?: NullableStringFieldUpdateOperationsInput | string | null;
605428
+ name?: NullableStringFieldUpdateOperationsInput | string | null;
605429
+ address?: NullableStringFieldUpdateOperationsInput | string | null;
605430
+ is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
605431
+ created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
605432
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null;
605433
+ updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
605434
+ updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
605435
+ company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
605436
+ users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
605233
605437
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
605234
605438
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
605235
605439
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -605258,6 +605462,7 @@ type companiesCreateWithoutCompany_logsInput = {
605258
605462
  postal_code?: postal_codesCreateNestedOneWithoutCompaniesInput;
605259
605463
  un_locode?: un_locodesCreateNestedOneWithoutCompaniesInput;
605260
605464
  users?: usersCreateNestedManyWithoutCompanyInput;
605465
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_companyInput;
605261
605466
  bank_accounts?: bank_accountsCreateNestedManyWithoutCompanyInput;
605262
605467
  branches?: branchesCreateNestedManyWithoutCompanyInput;
605263
605468
  department?: departmentsCreateNestedManyWithoutCompanyInput;
@@ -605286,6 +605491,7 @@ type companiesUncheckedCreateWithoutCompany_logsInput = {
605286
605491
  updated_at?: Date | string | null;
605287
605492
  updated_by?: string | null;
605288
605493
  users?: usersUncheckedCreateNestedManyWithoutCompanyInput;
605494
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput;
605289
605495
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutCompanyInput;
605290
605496
  branches?: branchesUncheckedCreateNestedManyWithoutCompanyInput;
605291
605497
  department?: departmentsUncheckedCreateNestedManyWithoutCompanyInput;
@@ -605327,6 +605533,7 @@ type companiesUpdateWithoutCompany_logsInput = {
605327
605533
  postal_code?: postal_codesUpdateOneWithoutCompaniesNestedInput;
605328
605534
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
605329
605535
  users?: usersUpdateManyWithoutCompanyNestedInput;
605536
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
605330
605537
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
605331
605538
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
605332
605539
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -605355,6 +605562,7 @@ type companiesUncheckedUpdateWithoutCompany_logsInput = {
605355
605562
  updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
605356
605563
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
605357
605564
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
605565
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
605358
605566
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
605359
605567
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
605360
605568
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -605399,6 +605607,7 @@ type companiesUpdateWithoutUn_locodeInput = {
605399
605607
  postal_code?: postal_codesUpdateOneWithoutCompaniesNestedInput;
605400
605608
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
605401
605609
  users?: usersUpdateManyWithoutCompanyNestedInput;
605610
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
605402
605611
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
605403
605612
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
605404
605613
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -605427,6 +605636,7 @@ type companiesUncheckedUpdateWithoutUn_locodeInput = {
605427
605636
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
605428
605637
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
605429
605638
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
605639
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
605430
605640
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
605431
605641
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
605432
605642
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -605487,6 +605697,7 @@ type companiesUpdateWithoutCountryInput = {
605487
605697
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
605488
605698
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
605489
605699
  users?: usersUpdateManyWithoutCompanyNestedInput;
605700
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
605490
605701
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
605491
605702
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
605492
605703
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -605515,6 +605726,7 @@ type companiesUncheckedUpdateWithoutCountryInput = {
605515
605726
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
605516
605727
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
605517
605728
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
605729
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
605518
605730
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
605519
605731
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
605520
605732
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -605575,6 +605787,7 @@ type companiesUpdateWithoutStateInput = {
605575
605787
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
605576
605788
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
605577
605789
  users?: usersUpdateManyWithoutCompanyNestedInput;
605790
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
605578
605791
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
605579
605792
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
605580
605793
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -605603,6 +605816,7 @@ type companiesUncheckedUpdateWithoutStateInput = {
605603
605816
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
605604
605817
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
605605
605818
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
605819
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
605606
605820
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
605607
605821
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
605608
605822
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -605663,6 +605877,7 @@ type companiesUpdateWithoutCityInput = {
605663
605877
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
605664
605878
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
605665
605879
  users?: usersUpdateManyWithoutCompanyNestedInput;
605880
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
605666
605881
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
605667
605882
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
605668
605883
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -605691,6 +605906,7 @@ type companiesUncheckedUpdateWithoutCityInput = {
605691
605906
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
605692
605907
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
605693
605908
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
605909
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
605694
605910
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
605695
605911
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
605696
605912
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -605751,6 +605967,7 @@ type companiesUpdateWithoutPostal_codeInput = {
605751
605967
  un_locode?: un_locodesUpdateOneWithoutCompaniesNestedInput;
605752
605968
  company_logs?: company_logsUpdateManyWithoutCompanyNestedInput;
605753
605969
  users?: usersUpdateManyWithoutCompanyNestedInput;
605970
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_companyNestedInput;
605754
605971
  bank_accounts?: bank_accountsUpdateManyWithoutCompanyNestedInput;
605755
605972
  branches?: branchesUpdateManyWithoutCompanyNestedInput;
605756
605973
  department?: departmentsUpdateManyWithoutCompanyNestedInput;
@@ -605779,6 +605996,7 @@ type companiesUncheckedUpdateWithoutPostal_codeInput = {
605779
605996
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
605780
605997
  company_logs?: company_logsUncheckedUpdateManyWithoutCompanyNestedInput;
605781
605998
  users?: usersUncheckedUpdateManyWithoutCompanyNestedInput;
605999
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput;
605782
606000
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutCompanyNestedInput;
605783
606001
  branches?: branchesUncheckedUpdateManyWithoutCompanyNestedInput;
605784
606002
  department?: departmentsUncheckedUpdateManyWithoutCompanyNestedInput;
@@ -605813,6 +606031,7 @@ type companiesUncheckedUpdateManyWithoutPostal_codeInput = {
605813
606031
  type CompaniesCountOutputTypeSelect<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = {
605814
606032
  company_logs?: boolean | CompaniesCountOutputTypeCountCompany_logsArgs;
605815
606033
  users?: boolean | CompaniesCountOutputTypeCountUsersArgs;
606034
+ users_last_accessed?: boolean | CompaniesCountOutputTypeCountUsers_last_accessedArgs;
605816
606035
  bank_accounts?: boolean | CompaniesCountOutputTypeCountBank_accountsArgs;
605817
606036
  branches?: boolean | CompaniesCountOutputTypeCountBranchesArgs;
605818
606037
  department?: boolean | CompaniesCountOutputTypeCountDepartmentArgs;
@@ -605845,6 +606064,12 @@ type CompaniesCountOutputTypeCountCompany_logsArgs<ExtArgs extends Types$1.Exten
605845
606064
  type CompaniesCountOutputTypeCountUsersArgs<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = {
605846
606065
  where?: usersWhereInput;
605847
606066
  };
606067
+ /**
606068
+ * CompaniesCountOutputType without action
606069
+ */
606070
+ type CompaniesCountOutputTypeCountUsers_last_accessedArgs<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = {
606071
+ where?: usersWhereInput;
606072
+ };
605848
606073
  /**
605849
606074
  * CompaniesCountOutputType without action
605850
606075
  */
@@ -605928,6 +606153,7 @@ type companiesSelect<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.E
605928
606153
  un_locode?: boolean | companies$un_locodeArgs<ExtArgs>;
605929
606154
  company_logs?: boolean | companies$company_logsArgs<ExtArgs>;
605930
606155
  users?: boolean | companies$usersArgs<ExtArgs>;
606156
+ users_last_accessed?: boolean | companies$users_last_accessedArgs<ExtArgs>;
605931
606157
  bank_accounts?: boolean | companies$bank_accountsArgs<ExtArgs>;
605932
606158
  branches?: boolean | companies$branchesArgs<ExtArgs>;
605933
606159
  department?: boolean | companies$departmentArgs<ExtArgs>;
@@ -605993,6 +606219,7 @@ type companiesInclude<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.
605993
606219
  un_locode?: boolean | companies$un_locodeArgs<ExtArgs>;
605994
606220
  company_logs?: boolean | companies$company_logsArgs<ExtArgs>;
605995
606221
  users?: boolean | companies$usersArgs<ExtArgs>;
606222
+ users_last_accessed?: boolean | companies$users_last_accessedArgs<ExtArgs>;
605996
606223
  bank_accounts?: boolean | companies$bank_accountsArgs<ExtArgs>;
605997
606224
  branches?: boolean | companies$branchesArgs<ExtArgs>;
605998
606225
  department?: boolean | companies$departmentArgs<ExtArgs>;
@@ -606029,6 +606256,7 @@ type $companiesPayload<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1
606029
606256
  un_locode: $un_locodesPayload<ExtArgs> | null;
606030
606257
  company_logs: $company_logsPayload<ExtArgs>[];
606031
606258
  users: $usersPayload<ExtArgs>[];
606259
+ users_last_accessed: $usersPayload<ExtArgs>[];
606032
606260
  bank_accounts: $bank_accountsPayload<ExtArgs>[];
606033
606261
  branches: $branchesPayload<ExtArgs>[];
606034
606262
  department: $departmentsPayload<ExtArgs>[];
@@ -606378,6 +606606,7 @@ interface Prisma__companiesClient<T$1, Null = never, ExtArgs extends Types$1.Ext
606378
606606
  un_locode<T$1 extends companies$un_locodeArgs<ExtArgs> = {}>(args?: Subset<T$1, companies$un_locodeArgs<ExtArgs>>): Prisma__un_locodesClient<Types$1.Result.GetResult<$un_locodesPayload<ExtArgs>, T$1, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
606379
606607
  company_logs<T$1 extends companies$company_logsArgs<ExtArgs> = {}>(args?: Subset<T$1, companies$company_logsArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$company_logsPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
606380
606608
  users<T$1 extends companies$usersArgs<ExtArgs> = {}>(args?: Subset<T$1, companies$usersArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$usersPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
606609
+ users_last_accessed<T$1 extends companies$users_last_accessedArgs<ExtArgs> = {}>(args?: Subset<T$1, companies$users_last_accessedArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$usersPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
606381
606610
  bank_accounts<T$1 extends companies$bank_accountsArgs<ExtArgs> = {}>(args?: Subset<T$1, companies$bank_accountsArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$bank_accountsPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
606382
606611
  branches<T$1 extends companies$branchesArgs<ExtArgs> = {}>(args?: Subset<T$1, companies$branchesArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$branchesPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
606383
606612
  department<T$1 extends companies$departmentArgs<ExtArgs> = {}>(args?: Subset<T$1, companies$departmentArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$departmentsPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
@@ -606942,6 +607171,29 @@ type companies$usersArgs<ExtArgs extends Types$1.Extensions.InternalArgs = Types
606942
607171
  skip?: number;
606943
607172
  distinct?: UsersScalarFieldEnum | UsersScalarFieldEnum[];
606944
607173
  };
607174
+ /**
607175
+ * companies.users_last_accessed
607176
+ */
607177
+ type companies$users_last_accessedArgs<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = {
607178
+ /**
607179
+ * Select specific fields to fetch from the users
607180
+ */
607181
+ select?: usersSelect<ExtArgs> | null;
607182
+ /**
607183
+ * Omit specific fields from the users
607184
+ */
607185
+ omit?: usersOmit<ExtArgs> | null;
607186
+ /**
607187
+ * Choose, which related nodes to fetch as well
607188
+ */
607189
+ include?: usersInclude<ExtArgs> | null;
607190
+ where?: usersWhereInput;
607191
+ orderBy?: usersOrderByWithRelationInput | usersOrderByWithRelationInput[];
607192
+ cursor?: usersWhereUniqueInput;
607193
+ take?: number;
607194
+ skip?: number;
607195
+ distinct?: UsersScalarFieldEnum | UsersScalarFieldEnum[];
607196
+ };
606945
607197
  /**
606946
607198
  * companies.bank_accounts
606947
607199
  */
@@ -607455,6 +607707,7 @@ type branchesWhereInput = {
607455
607707
  un_locode?: XOR<Un_locodesNullableScalarRelationFilter, un_locodesWhereInput> | null;
607456
607708
  branch_logs?: Branch_logsListRelationFilter;
607457
607709
  users?: UsersListRelationFilter;
607710
+ users_last_accessed?: UsersListRelationFilter;
607458
607711
  bank_accounts?: Bank_accountsListRelationFilter;
607459
607712
  forwarding_shipment_billings?: Forwarding_shipment_billingsListRelationFilter;
607460
607713
  organization_account_receivable_settlements?: Organization_account_receivable_settlementsListRelationFilter;
@@ -607485,6 +607738,7 @@ type branchesOrderByWithRelationInput = {
607485
607738
  un_locode?: un_locodesOrderByWithRelationInput;
607486
607739
  branch_logs?: branch_logsOrderByRelationAggregateInput;
607487
607740
  users?: usersOrderByRelationAggregateInput;
607741
+ users_last_accessed?: usersOrderByRelationAggregateInput;
607488
607742
  bank_accounts?: bank_accountsOrderByRelationAggregateInput;
607489
607743
  forwarding_shipment_billings?: forwarding_shipment_billingsOrderByRelationAggregateInput;
607490
607744
  organization_account_receivable_settlements?: organization_account_receivable_settlementsOrderByRelationAggregateInput;
@@ -607518,6 +607772,7 @@ type branchesWhereUniqueInput = AtLeast<{
607518
607772
  un_locode?: XOR<Un_locodesNullableScalarRelationFilter, un_locodesWhereInput> | null;
607519
607773
  branch_logs?: Branch_logsListRelationFilter;
607520
607774
  users?: UsersListRelationFilter;
607775
+ users_last_accessed?: UsersListRelationFilter;
607521
607776
  bank_accounts?: Bank_accountsListRelationFilter;
607522
607777
  forwarding_shipment_billings?: Forwarding_shipment_billingsListRelationFilter;
607523
607778
  organization_account_receivable_settlements?: Organization_account_receivable_settlementsListRelationFilter;
@@ -607586,6 +607841,7 @@ type branchesCreateInput = {
607586
607841
  un_locode?: un_locodesCreateNestedOneWithoutBranchesInput;
607587
607842
  branch_logs?: branch_logsCreateNestedManyWithoutBranchInput;
607588
607843
  users?: usersCreateNestedManyWithoutBranchInput;
607844
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_branchInput;
607589
607845
  bank_accounts?: bank_accountsCreateNestedManyWithoutBranchInput;
607590
607846
  forwarding_shipment_billings?: forwarding_shipment_billingsCreateNestedManyWithoutBranchInput;
607591
607847
  organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutBranchInput;
@@ -607610,6 +607866,7 @@ type branchesUncheckedCreateInput = {
607610
607866
  updated_by?: string | null;
607611
607867
  branch_logs?: branch_logsUncheckedCreateNestedManyWithoutBranchInput;
607612
607868
  users?: usersUncheckedCreateNestedManyWithoutBranchInput;
607869
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput;
607613
607870
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutBranchInput;
607614
607871
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutBranchInput;
607615
607872
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutBranchInput;
@@ -607634,6 +607891,7 @@ type branchesUpdateInput = {
607634
607891
  un_locode?: un_locodesUpdateOneWithoutBranchesNestedInput;
607635
607892
  branch_logs?: branch_logsUpdateManyWithoutBranchNestedInput;
607636
607893
  users?: usersUpdateManyWithoutBranchNestedInput;
607894
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_branchNestedInput;
607637
607895
  bank_accounts?: bank_accountsUpdateManyWithoutBranchNestedInput;
607638
607896
  forwarding_shipment_billings?: forwarding_shipment_billingsUpdateManyWithoutBranchNestedInput;
607639
607897
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutBranchNestedInput;
@@ -607658,6 +607916,7 @@ type branchesUncheckedUpdateInput = {
607658
607916
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
607659
607917
  branch_logs?: branch_logsUncheckedUpdateManyWithoutBranchNestedInput;
607660
607918
  users?: usersUncheckedUpdateManyWithoutBranchNestedInput;
607919
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput;
607661
607920
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutBranchNestedInput;
607662
607921
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedUpdateManyWithoutBranchNestedInput;
607663
607922
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutBranchNestedInput;
@@ -608084,6 +608343,11 @@ type branchesCreateNestedOneWithoutUsersInput = {
608084
608343
  connectOrCreate?: branchesCreateOrConnectWithoutUsersInput;
608085
608344
  connect?: branchesWhereUniqueInput;
608086
608345
  };
608346
+ type branchesCreateNestedOneWithoutUsers_last_accessedInput = {
608347
+ create?: XOR<branchesCreateWithoutUsers_last_accessedInput, branchesUncheckedCreateWithoutUsers_last_accessedInput>;
608348
+ connectOrCreate?: branchesCreateOrConnectWithoutUsers_last_accessedInput;
608349
+ connect?: branchesWhereUniqueInput;
608350
+ };
608087
608351
  type branchesUpdateOneWithoutUsersNestedInput = {
608088
608352
  create?: XOR<branchesCreateWithoutUsersInput, branchesUncheckedCreateWithoutUsersInput>;
608089
608353
  connectOrCreate?: branchesCreateOrConnectWithoutUsersInput;
@@ -608093,6 +608357,15 @@ type branchesUpdateOneWithoutUsersNestedInput = {
608093
608357
  connect?: branchesWhereUniqueInput;
608094
608358
  update?: XOR<XOR<branchesUpdateToOneWithWhereWithoutUsersInput, branchesUpdateWithoutUsersInput>, branchesUncheckedUpdateWithoutUsersInput>;
608095
608359
  };
608360
+ type branchesUpdateOneWithoutUsers_last_accessedNestedInput = {
608361
+ create?: XOR<branchesCreateWithoutUsers_last_accessedInput, branchesUncheckedCreateWithoutUsers_last_accessedInput>;
608362
+ connectOrCreate?: branchesCreateOrConnectWithoutUsers_last_accessedInput;
608363
+ upsert?: branchesUpsertWithoutUsers_last_accessedInput;
608364
+ disconnect?: branchesWhereInput | boolean;
608365
+ delete?: branchesWhereInput | boolean;
608366
+ connect?: branchesWhereUniqueInput;
608367
+ update?: XOR<XOR<branchesUpdateToOneWithWhereWithoutUsers_last_accessedInput, branchesUpdateWithoutUsers_last_accessedInput>, branchesUncheckedUpdateWithoutUsers_last_accessedInput>;
608368
+ };
608096
608369
  type branchesCreateNestedOneWithoutBranch_logsInput = {
608097
608370
  create?: XOR<branchesCreateWithoutBranch_logsInput, branchesUncheckedCreateWithoutBranch_logsInput>;
608098
608371
  connectOrCreate?: branchesCreateOrConnectWithoutBranch_logsInput;
@@ -608126,6 +608399,7 @@ type branchesCreateWithoutBank_accountsInput = {
608126
608399
  un_locode?: un_locodesCreateNestedOneWithoutBranchesInput;
608127
608400
  branch_logs?: branch_logsCreateNestedManyWithoutBranchInput;
608128
608401
  users?: usersCreateNestedManyWithoutBranchInput;
608402
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_branchInput;
608129
608403
  forwarding_shipment_billings?: forwarding_shipment_billingsCreateNestedManyWithoutBranchInput;
608130
608404
  organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutBranchInput;
608131
608405
  organizations?: organizationsCreateNestedManyWithoutBranchInput;
@@ -608149,6 +608423,7 @@ type branchesUncheckedCreateWithoutBank_accountsInput = {
608149
608423
  updated_by?: string | null;
608150
608424
  branch_logs?: branch_logsUncheckedCreateNestedManyWithoutBranchInput;
608151
608425
  users?: usersUncheckedCreateNestedManyWithoutBranchInput;
608426
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput;
608152
608427
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutBranchInput;
608153
608428
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutBranchInput;
608154
608429
  organizations?: organizationsUncheckedCreateNestedManyWithoutBranchInput;
@@ -608185,6 +608460,7 @@ type branchesUpdateWithoutBank_accountsInput = {
608185
608460
  un_locode?: un_locodesUpdateOneWithoutBranchesNestedInput;
608186
608461
  branch_logs?: branch_logsUpdateManyWithoutBranchNestedInput;
608187
608462
  users?: usersUpdateManyWithoutBranchNestedInput;
608463
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_branchNestedInput;
608188
608464
  forwarding_shipment_billings?: forwarding_shipment_billingsUpdateManyWithoutBranchNestedInput;
608189
608465
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutBranchNestedInput;
608190
608466
  organizations?: organizationsUpdateManyWithoutBranchNestedInput;
@@ -608208,6 +608484,7 @@ type branchesUncheckedUpdateWithoutBank_accountsInput = {
608208
608484
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
608209
608485
  branch_logs?: branch_logsUncheckedUpdateManyWithoutBranchNestedInput;
608210
608486
  users?: usersUncheckedUpdateManyWithoutBranchNestedInput;
608487
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput;
608211
608488
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedUpdateManyWithoutBranchNestedInput;
608212
608489
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutBranchNestedInput;
608213
608490
  organizations?: organizationsUncheckedUpdateManyWithoutBranchNestedInput;
@@ -608231,6 +608508,7 @@ type branchesCreateWithoutForwarding_shipment_billingsInput = {
608231
608508
  un_locode?: un_locodesCreateNestedOneWithoutBranchesInput;
608232
608509
  branch_logs?: branch_logsCreateNestedManyWithoutBranchInput;
608233
608510
  users?: usersCreateNestedManyWithoutBranchInput;
608511
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_branchInput;
608234
608512
  bank_accounts?: bank_accountsCreateNestedManyWithoutBranchInput;
608235
608513
  organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutBranchInput;
608236
608514
  organizations?: organizationsCreateNestedManyWithoutBranchInput;
@@ -608254,6 +608532,7 @@ type branchesUncheckedCreateWithoutForwarding_shipment_billingsInput = {
608254
608532
  updated_by?: string | null;
608255
608533
  branch_logs?: branch_logsUncheckedCreateNestedManyWithoutBranchInput;
608256
608534
  users?: usersUncheckedCreateNestedManyWithoutBranchInput;
608535
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput;
608257
608536
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutBranchInput;
608258
608537
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutBranchInput;
608259
608538
  organizations?: organizationsUncheckedCreateNestedManyWithoutBranchInput;
@@ -608290,6 +608569,7 @@ type branchesUpdateWithoutForwarding_shipment_billingsInput = {
608290
608569
  un_locode?: un_locodesUpdateOneWithoutBranchesNestedInput;
608291
608570
  branch_logs?: branch_logsUpdateManyWithoutBranchNestedInput;
608292
608571
  users?: usersUpdateManyWithoutBranchNestedInput;
608572
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_branchNestedInput;
608293
608573
  bank_accounts?: bank_accountsUpdateManyWithoutBranchNestedInput;
608294
608574
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutBranchNestedInput;
608295
608575
  organizations?: organizationsUpdateManyWithoutBranchNestedInput;
@@ -608313,6 +608593,7 @@ type branchesUncheckedUpdateWithoutForwarding_shipment_billingsInput = {
608313
608593
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
608314
608594
  branch_logs?: branch_logsUncheckedUpdateManyWithoutBranchNestedInput;
608315
608595
  users?: usersUncheckedUpdateManyWithoutBranchNestedInput;
608596
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput;
608316
608597
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutBranchNestedInput;
608317
608598
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutBranchNestedInput;
608318
608599
  organizations?: organizationsUncheckedUpdateManyWithoutBranchNestedInput;
@@ -608335,6 +608616,7 @@ type branchesCreateWithoutUn_locodeInput = {
608335
608616
  postal_code?: postal_codesCreateNestedOneWithoutBranchesInput;
608336
608617
  branch_logs?: branch_logsCreateNestedManyWithoutBranchInput;
608337
608618
  users?: usersCreateNestedManyWithoutBranchInput;
608619
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_branchInput;
608338
608620
  bank_accounts?: bank_accountsCreateNestedManyWithoutBranchInput;
608339
608621
  forwarding_shipment_billings?: forwarding_shipment_billingsCreateNestedManyWithoutBranchInput;
608340
608622
  organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutBranchInput;
@@ -608358,6 +608640,7 @@ type branchesUncheckedCreateWithoutUn_locodeInput = {
608358
608640
  updated_by?: string | null;
608359
608641
  branch_logs?: branch_logsUncheckedCreateNestedManyWithoutBranchInput;
608360
608642
  users?: usersUncheckedCreateNestedManyWithoutBranchInput;
608643
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput;
608361
608644
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutBranchInput;
608362
608645
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutBranchInput;
608363
608646
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutBranchInput;
@@ -608423,6 +608706,7 @@ type branchesCreateWithoutCountryInput = {
608423
608706
  un_locode?: un_locodesCreateNestedOneWithoutBranchesInput;
608424
608707
  branch_logs?: branch_logsCreateNestedManyWithoutBranchInput;
608425
608708
  users?: usersCreateNestedManyWithoutBranchInput;
608709
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_branchInput;
608426
608710
  bank_accounts?: bank_accountsCreateNestedManyWithoutBranchInput;
608427
608711
  forwarding_shipment_billings?: forwarding_shipment_billingsCreateNestedManyWithoutBranchInput;
608428
608712
  organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutBranchInput;
@@ -608446,6 +608730,7 @@ type branchesUncheckedCreateWithoutCountryInput = {
608446
608730
  updated_by?: string | null;
608447
608731
  branch_logs?: branch_logsUncheckedCreateNestedManyWithoutBranchInput;
608448
608732
  users?: usersUncheckedCreateNestedManyWithoutBranchInput;
608733
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput;
608449
608734
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutBranchInput;
608450
608735
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutBranchInput;
608451
608736
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutBranchInput;
@@ -608490,6 +608775,7 @@ type branchesCreateWithoutStateInput = {
608490
608775
  un_locode?: un_locodesCreateNestedOneWithoutBranchesInput;
608491
608776
  branch_logs?: branch_logsCreateNestedManyWithoutBranchInput;
608492
608777
  users?: usersCreateNestedManyWithoutBranchInput;
608778
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_branchInput;
608493
608779
  bank_accounts?: bank_accountsCreateNestedManyWithoutBranchInput;
608494
608780
  forwarding_shipment_billings?: forwarding_shipment_billingsCreateNestedManyWithoutBranchInput;
608495
608781
  organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutBranchInput;
@@ -608513,6 +608799,7 @@ type branchesUncheckedCreateWithoutStateInput = {
608513
608799
  updated_by?: string | null;
608514
608800
  branch_logs?: branch_logsUncheckedCreateNestedManyWithoutBranchInput;
608515
608801
  users?: usersUncheckedCreateNestedManyWithoutBranchInput;
608802
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput;
608516
608803
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutBranchInput;
608517
608804
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutBranchInput;
608518
608805
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutBranchInput;
@@ -608557,6 +608844,7 @@ type branchesCreateWithoutCityInput = {
608557
608844
  un_locode?: un_locodesCreateNestedOneWithoutBranchesInput;
608558
608845
  branch_logs?: branch_logsCreateNestedManyWithoutBranchInput;
608559
608846
  users?: usersCreateNestedManyWithoutBranchInput;
608847
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_branchInput;
608560
608848
  bank_accounts?: bank_accountsCreateNestedManyWithoutBranchInput;
608561
608849
  forwarding_shipment_billings?: forwarding_shipment_billingsCreateNestedManyWithoutBranchInput;
608562
608850
  organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutBranchInput;
@@ -608580,6 +608868,7 @@ type branchesUncheckedCreateWithoutCityInput = {
608580
608868
  updated_by?: string | null;
608581
608869
  branch_logs?: branch_logsUncheckedCreateNestedManyWithoutBranchInput;
608582
608870
  users?: usersUncheckedCreateNestedManyWithoutBranchInput;
608871
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput;
608583
608872
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutBranchInput;
608584
608873
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutBranchInput;
608585
608874
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutBranchInput;
@@ -608624,6 +608913,7 @@ type branchesCreateWithoutPostal_codeInput = {
608624
608913
  un_locode?: un_locodesCreateNestedOneWithoutBranchesInput;
608625
608914
  branch_logs?: branch_logsCreateNestedManyWithoutBranchInput;
608626
608915
  users?: usersCreateNestedManyWithoutBranchInput;
608916
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_branchInput;
608627
608917
  bank_accounts?: bank_accountsCreateNestedManyWithoutBranchInput;
608628
608918
  forwarding_shipment_billings?: forwarding_shipment_billingsCreateNestedManyWithoutBranchInput;
608629
608919
  organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutBranchInput;
@@ -608647,6 +608937,7 @@ type branchesUncheckedCreateWithoutPostal_codeInput = {
608647
608937
  updated_by?: string | null;
608648
608938
  branch_logs?: branch_logsUncheckedCreateNestedManyWithoutBranchInput;
608649
608939
  users?: usersUncheckedCreateNestedManyWithoutBranchInput;
608940
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput;
608650
608941
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutBranchInput;
608651
608942
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutBranchInput;
608652
608943
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutBranchInput;
@@ -608692,6 +608983,7 @@ type branchesCreateWithoutOrganizationsInput = {
608692
608983
  un_locode?: un_locodesCreateNestedOneWithoutBranchesInput;
608693
608984
  branch_logs?: branch_logsCreateNestedManyWithoutBranchInput;
608694
608985
  users?: usersCreateNestedManyWithoutBranchInput;
608986
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_branchInput;
608695
608987
  bank_accounts?: bank_accountsCreateNestedManyWithoutBranchInput;
608696
608988
  forwarding_shipment_billings?: forwarding_shipment_billingsCreateNestedManyWithoutBranchInput;
608697
608989
  organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutBranchInput;
@@ -608715,6 +609007,7 @@ type branchesUncheckedCreateWithoutOrganizationsInput = {
608715
609007
  updated_by?: string | null;
608716
609008
  branch_logs?: branch_logsUncheckedCreateNestedManyWithoutBranchInput;
608717
609009
  users?: usersUncheckedCreateNestedManyWithoutBranchInput;
609010
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput;
608718
609011
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutBranchInput;
608719
609012
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutBranchInput;
608720
609013
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutBranchInput;
@@ -608751,6 +609044,7 @@ type branchesUpdateWithoutOrganizationsInput = {
608751
609044
  un_locode?: un_locodesUpdateOneWithoutBranchesNestedInput;
608752
609045
  branch_logs?: branch_logsUpdateManyWithoutBranchNestedInput;
608753
609046
  users?: usersUpdateManyWithoutBranchNestedInput;
609047
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_branchNestedInput;
608754
609048
  bank_accounts?: bank_accountsUpdateManyWithoutBranchNestedInput;
608755
609049
  forwarding_shipment_billings?: forwarding_shipment_billingsUpdateManyWithoutBranchNestedInput;
608756
609050
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutBranchNestedInput;
@@ -608774,6 +609068,7 @@ type branchesUncheckedUpdateWithoutOrganizationsInput = {
608774
609068
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
608775
609069
  branch_logs?: branch_logsUncheckedUpdateManyWithoutBranchNestedInput;
608776
609070
  users?: usersUncheckedUpdateManyWithoutBranchNestedInput;
609071
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput;
608777
609072
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutBranchNestedInput;
608778
609073
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedUpdateManyWithoutBranchNestedInput;
608779
609074
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutBranchNestedInput;
@@ -608797,6 +609092,7 @@ type branchesCreateWithoutOrganization_account_receivable_settlementsInput = {
608797
609092
  un_locode?: un_locodesCreateNestedOneWithoutBranchesInput;
608798
609093
  branch_logs?: branch_logsCreateNestedManyWithoutBranchInput;
608799
609094
  users?: usersCreateNestedManyWithoutBranchInput;
609095
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_branchInput;
608800
609096
  bank_accounts?: bank_accountsCreateNestedManyWithoutBranchInput;
608801
609097
  forwarding_shipment_billings?: forwarding_shipment_billingsCreateNestedManyWithoutBranchInput;
608802
609098
  organizations?: organizationsCreateNestedManyWithoutBranchInput;
@@ -608820,6 +609116,7 @@ type branchesUncheckedCreateWithoutOrganization_account_receivable_settlementsIn
608820
609116
  updated_by?: string | null;
608821
609117
  branch_logs?: branch_logsUncheckedCreateNestedManyWithoutBranchInput;
608822
609118
  users?: usersUncheckedCreateNestedManyWithoutBranchInput;
609119
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput;
608823
609120
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutBranchInput;
608824
609121
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutBranchInput;
608825
609122
  organizations?: organizationsUncheckedCreateNestedManyWithoutBranchInput;
@@ -608856,6 +609153,7 @@ type branchesUpdateWithoutOrganization_account_receivable_settlementsInput = {
608856
609153
  un_locode?: un_locodesUpdateOneWithoutBranchesNestedInput;
608857
609154
  branch_logs?: branch_logsUpdateManyWithoutBranchNestedInput;
608858
609155
  users?: usersUpdateManyWithoutBranchNestedInput;
609156
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_branchNestedInput;
608859
609157
  bank_accounts?: bank_accountsUpdateManyWithoutBranchNestedInput;
608860
609158
  forwarding_shipment_billings?: forwarding_shipment_billingsUpdateManyWithoutBranchNestedInput;
608861
609159
  organizations?: organizationsUpdateManyWithoutBranchNestedInput;
@@ -608879,6 +609177,7 @@ type branchesUncheckedUpdateWithoutOrganization_account_receivable_settlementsIn
608879
609177
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
608880
609178
  branch_logs?: branch_logsUncheckedUpdateManyWithoutBranchNestedInput;
608881
609179
  users?: usersUncheckedUpdateManyWithoutBranchNestedInput;
609180
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput;
608882
609181
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutBranchNestedInput;
608883
609182
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedUpdateManyWithoutBranchNestedInput;
608884
609183
  organizations?: organizationsUncheckedUpdateManyWithoutBranchNestedInput;
@@ -608901,6 +609200,7 @@ type branchesCreateWithoutCompanyInput = {
608901
609200
  un_locode?: un_locodesCreateNestedOneWithoutBranchesInput;
608902
609201
  branch_logs?: branch_logsCreateNestedManyWithoutBranchInput;
608903
609202
  users?: usersCreateNestedManyWithoutBranchInput;
609203
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_branchInput;
608904
609204
  bank_accounts?: bank_accountsCreateNestedManyWithoutBranchInput;
608905
609205
  forwarding_shipment_billings?: forwarding_shipment_billingsCreateNestedManyWithoutBranchInput;
608906
609206
  organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutBranchInput;
@@ -608924,6 +609224,7 @@ type branchesUncheckedCreateWithoutCompanyInput = {
608924
609224
  updated_by?: string | null;
608925
609225
  branch_logs?: branch_logsUncheckedCreateNestedManyWithoutBranchInput;
608926
609226
  users?: usersUncheckedCreateNestedManyWithoutBranchInput;
609227
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput;
608927
609228
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutBranchInput;
608928
609229
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutBranchInput;
608929
609230
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutBranchInput;
@@ -608968,6 +609269,7 @@ type branchesCreateWithoutUsersInput = {
608968
609269
  postal_code?: postal_codesCreateNestedOneWithoutBranchesInput;
608969
609270
  un_locode?: un_locodesCreateNestedOneWithoutBranchesInput;
608970
609271
  branch_logs?: branch_logsCreateNestedManyWithoutBranchInput;
609272
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_branchInput;
608971
609273
  bank_accounts?: bank_accountsCreateNestedManyWithoutBranchInput;
608972
609274
  forwarding_shipment_billings?: forwarding_shipment_billingsCreateNestedManyWithoutBranchInput;
608973
609275
  organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutBranchInput;
@@ -608991,6 +609293,7 @@ type branchesUncheckedCreateWithoutUsersInput = {
608991
609293
  updated_at?: Date | string | null;
608992
609294
  updated_by?: string | null;
608993
609295
  branch_logs?: branch_logsUncheckedCreateNestedManyWithoutBranchInput;
609296
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput;
608994
609297
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutBranchInput;
608995
609298
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutBranchInput;
608996
609299
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutBranchInput;
@@ -609000,6 +609303,58 @@ type branchesCreateOrConnectWithoutUsersInput = {
609000
609303
  where: branchesWhereUniqueInput;
609001
609304
  create: XOR<branchesCreateWithoutUsersInput, branchesUncheckedCreateWithoutUsersInput>;
609002
609305
  };
609306
+ type branchesCreateWithoutUsers_last_accessedInput = {
609307
+ id?: bigint | number;
609308
+ logic_code?: string | null;
609309
+ code?: string | null;
609310
+ name?: string | null;
609311
+ address?: string | null;
609312
+ is_active?: boolean | null;
609313
+ created_at?: Date | string | null;
609314
+ created_by?: string | null;
609315
+ updated_at?: Date | string | null;
609316
+ updated_by?: string | null;
609317
+ company?: companiesCreateNestedOneWithoutBranchesInput;
609318
+ country?: countriesCreateNestedOneWithoutBranchesInput;
609319
+ state?: statesCreateNestedOneWithoutBranchesInput;
609320
+ city?: citiesCreateNestedOneWithoutBranchesInput;
609321
+ postal_code?: postal_codesCreateNestedOneWithoutBranchesInput;
609322
+ un_locode?: un_locodesCreateNestedOneWithoutBranchesInput;
609323
+ branch_logs?: branch_logsCreateNestedManyWithoutBranchInput;
609324
+ users?: usersCreateNestedManyWithoutBranchInput;
609325
+ bank_accounts?: bank_accountsCreateNestedManyWithoutBranchInput;
609326
+ forwarding_shipment_billings?: forwarding_shipment_billingsCreateNestedManyWithoutBranchInput;
609327
+ organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutBranchInput;
609328
+ organizations?: organizationsCreateNestedManyWithoutBranchInput;
609329
+ };
609330
+ type branchesUncheckedCreateWithoutUsers_last_accessedInput = {
609331
+ id?: bigint | number;
609332
+ id_company?: bigint | number | null;
609333
+ id_country?: bigint | number | null;
609334
+ id_state?: bigint | number | null;
609335
+ id_city?: bigint | number | null;
609336
+ id_postal_code?: bigint | number | null;
609337
+ id_un_locode?: bigint | number | null;
609338
+ logic_code?: string | null;
609339
+ code?: string | null;
609340
+ name?: string | null;
609341
+ address?: string | null;
609342
+ is_active?: boolean | null;
609343
+ created_at?: Date | string | null;
609344
+ created_by?: string | null;
609345
+ updated_at?: Date | string | null;
609346
+ updated_by?: string | null;
609347
+ branch_logs?: branch_logsUncheckedCreateNestedManyWithoutBranchInput;
609348
+ users?: usersUncheckedCreateNestedManyWithoutBranchInput;
609349
+ bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutBranchInput;
609350
+ forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutBranchInput;
609351
+ organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutBranchInput;
609352
+ organizations?: organizationsUncheckedCreateNestedManyWithoutBranchInput;
609353
+ };
609354
+ type branchesCreateOrConnectWithoutUsers_last_accessedInput = {
609355
+ where: branchesWhereUniqueInput;
609356
+ create: XOR<branchesCreateWithoutUsers_last_accessedInput, branchesUncheckedCreateWithoutUsers_last_accessedInput>;
609357
+ };
609003
609358
  type branchesUpsertWithoutUsersInput = {
609004
609359
  update: XOR<branchesUpdateWithoutUsersInput, branchesUncheckedUpdateWithoutUsersInput>;
609005
609360
  create: XOR<branchesCreateWithoutUsersInput, branchesUncheckedCreateWithoutUsersInput>;
@@ -609027,6 +609382,7 @@ type branchesUpdateWithoutUsersInput = {
609027
609382
  postal_code?: postal_codesUpdateOneWithoutBranchesNestedInput;
609028
609383
  un_locode?: un_locodesUpdateOneWithoutBranchesNestedInput;
609029
609384
  branch_logs?: branch_logsUpdateManyWithoutBranchNestedInput;
609385
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_branchNestedInput;
609030
609386
  bank_accounts?: bank_accountsUpdateManyWithoutBranchNestedInput;
609031
609387
  forwarding_shipment_billings?: forwarding_shipment_billingsUpdateManyWithoutBranchNestedInput;
609032
609388
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutBranchNestedInput;
@@ -609050,6 +609406,64 @@ type branchesUncheckedUpdateWithoutUsersInput = {
609050
609406
  updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
609051
609407
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
609052
609408
  branch_logs?: branch_logsUncheckedUpdateManyWithoutBranchNestedInput;
609409
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput;
609410
+ bank_accounts?: bank_accountsUncheckedUpdateManyWithoutBranchNestedInput;
609411
+ forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedUpdateManyWithoutBranchNestedInput;
609412
+ organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutBranchNestedInput;
609413
+ organizations?: organizationsUncheckedUpdateManyWithoutBranchNestedInput;
609414
+ };
609415
+ type branchesUpsertWithoutUsers_last_accessedInput = {
609416
+ update: XOR<branchesUpdateWithoutUsers_last_accessedInput, branchesUncheckedUpdateWithoutUsers_last_accessedInput>;
609417
+ create: XOR<branchesCreateWithoutUsers_last_accessedInput, branchesUncheckedCreateWithoutUsers_last_accessedInput>;
609418
+ where?: branchesWhereInput;
609419
+ };
609420
+ type branchesUpdateToOneWithWhereWithoutUsers_last_accessedInput = {
609421
+ where?: branchesWhereInput;
609422
+ data: XOR<branchesUpdateWithoutUsers_last_accessedInput, branchesUncheckedUpdateWithoutUsers_last_accessedInput>;
609423
+ };
609424
+ type branchesUpdateWithoutUsers_last_accessedInput = {
609425
+ id?: BigIntFieldUpdateOperationsInput | bigint | number;
609426
+ logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
609427
+ code?: NullableStringFieldUpdateOperationsInput | string | null;
609428
+ name?: NullableStringFieldUpdateOperationsInput | string | null;
609429
+ address?: NullableStringFieldUpdateOperationsInput | string | null;
609430
+ is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
609431
+ created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
609432
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null;
609433
+ updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
609434
+ updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
609435
+ company?: companiesUpdateOneWithoutBranchesNestedInput;
609436
+ country?: countriesUpdateOneWithoutBranchesNestedInput;
609437
+ state?: statesUpdateOneWithoutBranchesNestedInput;
609438
+ city?: citiesUpdateOneWithoutBranchesNestedInput;
609439
+ postal_code?: postal_codesUpdateOneWithoutBranchesNestedInput;
609440
+ un_locode?: un_locodesUpdateOneWithoutBranchesNestedInput;
609441
+ branch_logs?: branch_logsUpdateManyWithoutBranchNestedInput;
609442
+ users?: usersUpdateManyWithoutBranchNestedInput;
609443
+ bank_accounts?: bank_accountsUpdateManyWithoutBranchNestedInput;
609444
+ forwarding_shipment_billings?: forwarding_shipment_billingsUpdateManyWithoutBranchNestedInput;
609445
+ organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutBranchNestedInput;
609446
+ organizations?: organizationsUpdateManyWithoutBranchNestedInput;
609447
+ };
609448
+ type branchesUncheckedUpdateWithoutUsers_last_accessedInput = {
609449
+ id?: BigIntFieldUpdateOperationsInput | bigint | number;
609450
+ id_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
609451
+ id_country?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
609452
+ id_state?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
609453
+ id_city?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
609454
+ id_postal_code?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
609455
+ id_un_locode?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
609456
+ logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
609457
+ code?: NullableStringFieldUpdateOperationsInput | string | null;
609458
+ name?: NullableStringFieldUpdateOperationsInput | string | null;
609459
+ address?: NullableStringFieldUpdateOperationsInput | string | null;
609460
+ is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
609461
+ created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
609462
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null;
609463
+ updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
609464
+ updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
609465
+ branch_logs?: branch_logsUncheckedUpdateManyWithoutBranchNestedInput;
609466
+ users?: usersUncheckedUpdateManyWithoutBranchNestedInput;
609053
609467
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutBranchNestedInput;
609054
609468
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedUpdateManyWithoutBranchNestedInput;
609055
609469
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutBranchNestedInput;
@@ -609073,6 +609487,7 @@ type branchesCreateWithoutBranch_logsInput = {
609073
609487
  postal_code?: postal_codesCreateNestedOneWithoutBranchesInput;
609074
609488
  un_locode?: un_locodesCreateNestedOneWithoutBranchesInput;
609075
609489
  users?: usersCreateNestedManyWithoutBranchInput;
609490
+ users_last_accessed?: usersCreateNestedManyWithoutLast_accessed_branchInput;
609076
609491
  bank_accounts?: bank_accountsCreateNestedManyWithoutBranchInput;
609077
609492
  forwarding_shipment_billings?: forwarding_shipment_billingsCreateNestedManyWithoutBranchInput;
609078
609493
  organization_account_receivable_settlements?: organization_account_receivable_settlementsCreateNestedManyWithoutBranchInput;
@@ -609096,6 +609511,7 @@ type branchesUncheckedCreateWithoutBranch_logsInput = {
609096
609511
  updated_at?: Date | string | null;
609097
609512
  updated_by?: string | null;
609098
609513
  users?: usersUncheckedCreateNestedManyWithoutBranchInput;
609514
+ users_last_accessed?: usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput;
609099
609515
  bank_accounts?: bank_accountsUncheckedCreateNestedManyWithoutBranchInput;
609100
609516
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutBranchInput;
609101
609517
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedCreateNestedManyWithoutBranchInput;
@@ -609132,6 +609548,7 @@ type branchesUpdateWithoutBranch_logsInput = {
609132
609548
  postal_code?: postal_codesUpdateOneWithoutBranchesNestedInput;
609133
609549
  un_locode?: un_locodesUpdateOneWithoutBranchesNestedInput;
609134
609550
  users?: usersUpdateManyWithoutBranchNestedInput;
609551
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_branchNestedInput;
609135
609552
  bank_accounts?: bank_accountsUpdateManyWithoutBranchNestedInput;
609136
609553
  forwarding_shipment_billings?: forwarding_shipment_billingsUpdateManyWithoutBranchNestedInput;
609137
609554
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutBranchNestedInput;
@@ -609155,6 +609572,7 @@ type branchesUncheckedUpdateWithoutBranch_logsInput = {
609155
609572
  updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
609156
609573
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
609157
609574
  users?: usersUncheckedUpdateManyWithoutBranchNestedInput;
609575
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput;
609158
609576
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutBranchNestedInput;
609159
609577
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedUpdateManyWithoutBranchNestedInput;
609160
609578
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutBranchNestedInput;
@@ -609195,6 +609613,7 @@ type branchesUpdateWithoutUn_locodeInput = {
609195
609613
  postal_code?: postal_codesUpdateOneWithoutBranchesNestedInput;
609196
609614
  branch_logs?: branch_logsUpdateManyWithoutBranchNestedInput;
609197
609615
  users?: usersUpdateManyWithoutBranchNestedInput;
609616
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_branchNestedInput;
609198
609617
  bank_accounts?: bank_accountsUpdateManyWithoutBranchNestedInput;
609199
609618
  forwarding_shipment_billings?: forwarding_shipment_billingsUpdateManyWithoutBranchNestedInput;
609200
609619
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutBranchNestedInput;
@@ -609218,6 +609637,7 @@ type branchesUncheckedUpdateWithoutUn_locodeInput = {
609218
609637
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
609219
609638
  branch_logs?: branch_logsUncheckedUpdateManyWithoutBranchNestedInput;
609220
609639
  users?: usersUncheckedUpdateManyWithoutBranchNestedInput;
609640
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput;
609221
609641
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutBranchNestedInput;
609222
609642
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedUpdateManyWithoutBranchNestedInput;
609223
609643
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutBranchNestedInput;
@@ -609275,6 +609695,7 @@ type branchesUpdateWithoutCountryInput = {
609275
609695
  un_locode?: un_locodesUpdateOneWithoutBranchesNestedInput;
609276
609696
  branch_logs?: branch_logsUpdateManyWithoutBranchNestedInput;
609277
609697
  users?: usersUpdateManyWithoutBranchNestedInput;
609698
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_branchNestedInput;
609278
609699
  bank_accounts?: bank_accountsUpdateManyWithoutBranchNestedInput;
609279
609700
  forwarding_shipment_billings?: forwarding_shipment_billingsUpdateManyWithoutBranchNestedInput;
609280
609701
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutBranchNestedInput;
@@ -609298,6 +609719,7 @@ type branchesUncheckedUpdateWithoutCountryInput = {
609298
609719
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
609299
609720
  branch_logs?: branch_logsUncheckedUpdateManyWithoutBranchNestedInput;
609300
609721
  users?: usersUncheckedUpdateManyWithoutBranchNestedInput;
609722
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput;
609301
609723
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutBranchNestedInput;
609302
609724
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedUpdateManyWithoutBranchNestedInput;
609303
609725
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutBranchNestedInput;
@@ -609355,6 +609777,7 @@ type branchesUpdateWithoutStateInput = {
609355
609777
  un_locode?: un_locodesUpdateOneWithoutBranchesNestedInput;
609356
609778
  branch_logs?: branch_logsUpdateManyWithoutBranchNestedInput;
609357
609779
  users?: usersUpdateManyWithoutBranchNestedInput;
609780
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_branchNestedInput;
609358
609781
  bank_accounts?: bank_accountsUpdateManyWithoutBranchNestedInput;
609359
609782
  forwarding_shipment_billings?: forwarding_shipment_billingsUpdateManyWithoutBranchNestedInput;
609360
609783
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutBranchNestedInput;
@@ -609378,6 +609801,7 @@ type branchesUncheckedUpdateWithoutStateInput = {
609378
609801
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
609379
609802
  branch_logs?: branch_logsUncheckedUpdateManyWithoutBranchNestedInput;
609380
609803
  users?: usersUncheckedUpdateManyWithoutBranchNestedInput;
609804
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput;
609381
609805
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutBranchNestedInput;
609382
609806
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedUpdateManyWithoutBranchNestedInput;
609383
609807
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutBranchNestedInput;
@@ -609435,6 +609859,7 @@ type branchesUpdateWithoutCityInput = {
609435
609859
  un_locode?: un_locodesUpdateOneWithoutBranchesNestedInput;
609436
609860
  branch_logs?: branch_logsUpdateManyWithoutBranchNestedInput;
609437
609861
  users?: usersUpdateManyWithoutBranchNestedInput;
609862
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_branchNestedInput;
609438
609863
  bank_accounts?: bank_accountsUpdateManyWithoutBranchNestedInput;
609439
609864
  forwarding_shipment_billings?: forwarding_shipment_billingsUpdateManyWithoutBranchNestedInput;
609440
609865
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutBranchNestedInput;
@@ -609458,6 +609883,7 @@ type branchesUncheckedUpdateWithoutCityInput = {
609458
609883
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
609459
609884
  branch_logs?: branch_logsUncheckedUpdateManyWithoutBranchNestedInput;
609460
609885
  users?: usersUncheckedUpdateManyWithoutBranchNestedInput;
609886
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput;
609461
609887
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutBranchNestedInput;
609462
609888
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedUpdateManyWithoutBranchNestedInput;
609463
609889
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutBranchNestedInput;
@@ -609515,6 +609941,7 @@ type branchesUpdateWithoutPostal_codeInput = {
609515
609941
  un_locode?: un_locodesUpdateOneWithoutBranchesNestedInput;
609516
609942
  branch_logs?: branch_logsUpdateManyWithoutBranchNestedInput;
609517
609943
  users?: usersUpdateManyWithoutBranchNestedInput;
609944
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_branchNestedInput;
609518
609945
  bank_accounts?: bank_accountsUpdateManyWithoutBranchNestedInput;
609519
609946
  forwarding_shipment_billings?: forwarding_shipment_billingsUpdateManyWithoutBranchNestedInput;
609520
609947
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutBranchNestedInput;
@@ -609538,6 +609965,7 @@ type branchesUncheckedUpdateWithoutPostal_codeInput = {
609538
609965
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
609539
609966
  branch_logs?: branch_logsUncheckedUpdateManyWithoutBranchNestedInput;
609540
609967
  users?: usersUncheckedUpdateManyWithoutBranchNestedInput;
609968
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput;
609541
609969
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutBranchNestedInput;
609542
609970
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedUpdateManyWithoutBranchNestedInput;
609543
609971
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutBranchNestedInput;
@@ -609595,6 +610023,7 @@ type branchesUpdateWithoutCompanyInput = {
609595
610023
  un_locode?: un_locodesUpdateOneWithoutBranchesNestedInput;
609596
610024
  branch_logs?: branch_logsUpdateManyWithoutBranchNestedInput;
609597
610025
  users?: usersUpdateManyWithoutBranchNestedInput;
610026
+ users_last_accessed?: usersUpdateManyWithoutLast_accessed_branchNestedInput;
609598
610027
  bank_accounts?: bank_accountsUpdateManyWithoutBranchNestedInput;
609599
610028
  forwarding_shipment_billings?: forwarding_shipment_billingsUpdateManyWithoutBranchNestedInput;
609600
610029
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUpdateManyWithoutBranchNestedInput;
@@ -609618,6 +610047,7 @@ type branchesUncheckedUpdateWithoutCompanyInput = {
609618
610047
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
609619
610048
  branch_logs?: branch_logsUncheckedUpdateManyWithoutBranchNestedInput;
609620
610049
  users?: usersUncheckedUpdateManyWithoutBranchNestedInput;
610050
+ users_last_accessed?: usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput;
609621
610051
  bank_accounts?: bank_accountsUncheckedUpdateManyWithoutBranchNestedInput;
609622
610052
  forwarding_shipment_billings?: forwarding_shipment_billingsUncheckedUpdateManyWithoutBranchNestedInput;
609623
610053
  organization_account_receivable_settlements?: organization_account_receivable_settlementsUncheckedUpdateManyWithoutBranchNestedInput;
@@ -609647,6 +610077,7 @@ type branchesUncheckedUpdateManyWithoutCompanyInput = {
609647
610077
  type BranchesCountOutputTypeSelect<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = {
609648
610078
  branch_logs?: boolean | BranchesCountOutputTypeCountBranch_logsArgs;
609649
610079
  users?: boolean | BranchesCountOutputTypeCountUsersArgs;
610080
+ users_last_accessed?: boolean | BranchesCountOutputTypeCountUsers_last_accessedArgs;
609650
610081
  bank_accounts?: boolean | BranchesCountOutputTypeCountBank_accountsArgs;
609651
610082
  forwarding_shipment_billings?: boolean | BranchesCountOutputTypeCountForwarding_shipment_billingsArgs;
609652
610083
  organization_account_receivable_settlements?: boolean | BranchesCountOutputTypeCountOrganization_account_receivable_settlementsArgs;
@@ -609673,6 +610104,12 @@ type BranchesCountOutputTypeCountBranch_logsArgs<ExtArgs extends Types$1.Extensi
609673
610104
  type BranchesCountOutputTypeCountUsersArgs<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = {
609674
610105
  where?: usersWhereInput;
609675
610106
  };
610107
+ /**
610108
+ * BranchesCountOutputType without action
610109
+ */
610110
+ type BranchesCountOutputTypeCountUsers_last_accessedArgs<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = {
610111
+ where?: usersWhereInput;
610112
+ };
609676
610113
  /**
609677
610114
  * BranchesCountOutputType without action
609678
610115
  */
@@ -609722,6 +610159,7 @@ type branchesSelect<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Ex
609722
610159
  un_locode?: boolean | branches$un_locodeArgs<ExtArgs>;
609723
610160
  branch_logs?: boolean | branches$branch_logsArgs<ExtArgs>;
609724
610161
  users?: boolean | branches$usersArgs<ExtArgs>;
610162
+ users_last_accessed?: boolean | branches$users_last_accessedArgs<ExtArgs>;
609725
610163
  bank_accounts?: boolean | branches$bank_accountsArgs<ExtArgs>;
609726
610164
  forwarding_shipment_billings?: boolean | branches$forwarding_shipment_billingsArgs<ExtArgs>;
609727
610165
  organization_account_receivable_settlements?: boolean | branches$organization_account_receivable_settlementsArgs<ExtArgs>;
@@ -609786,6 +610224,7 @@ type branchesInclude<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.E
609786
610224
  un_locode?: boolean | branches$un_locodeArgs<ExtArgs>;
609787
610225
  branch_logs?: boolean | branches$branch_logsArgs<ExtArgs>;
609788
610226
  users?: boolean | branches$usersArgs<ExtArgs>;
610227
+ users_last_accessed?: boolean | branches$users_last_accessedArgs<ExtArgs>;
609789
610228
  bank_accounts?: boolean | branches$bank_accountsArgs<ExtArgs>;
609790
610229
  forwarding_shipment_billings?: boolean | branches$forwarding_shipment_billingsArgs<ExtArgs>;
609791
610230
  organization_account_receivable_settlements?: boolean | branches$organization_account_receivable_settlementsArgs<ExtArgs>;
@@ -609819,6 +610258,7 @@ type $branchesPayload<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.
609819
610258
  un_locode: $un_locodesPayload<ExtArgs> | null;
609820
610259
  branch_logs: $branch_logsPayload<ExtArgs>[];
609821
610260
  users: $usersPayload<ExtArgs>[];
610261
+ users_last_accessed: $usersPayload<ExtArgs>[];
609822
610262
  bank_accounts: $bank_accountsPayload<ExtArgs>[];
609823
610263
  forwarding_shipment_billings: $forwarding_shipment_billingsPayload<ExtArgs>[];
609824
610264
  organization_account_receivable_settlements: $organization_account_receivable_settlementsPayload<ExtArgs>[];
@@ -610164,6 +610604,7 @@ interface Prisma__branchesClient<T$1, Null = never, ExtArgs extends Types$1.Exte
610164
610604
  un_locode<T$1 extends branches$un_locodeArgs<ExtArgs> = {}>(args?: Subset<T$1, branches$un_locodeArgs<ExtArgs>>): Prisma__un_locodesClient<Types$1.Result.GetResult<$un_locodesPayload<ExtArgs>, T$1, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
610165
610605
  branch_logs<T$1 extends branches$branch_logsArgs<ExtArgs> = {}>(args?: Subset<T$1, branches$branch_logsArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$branch_logsPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
610166
610606
  users<T$1 extends branches$usersArgs<ExtArgs> = {}>(args?: Subset<T$1, branches$usersArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$usersPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
610607
+ users_last_accessed<T$1 extends branches$users_last_accessedArgs<ExtArgs> = {}>(args?: Subset<T$1, branches$users_last_accessedArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$usersPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
610167
610608
  bank_accounts<T$1 extends branches$bank_accountsArgs<ExtArgs> = {}>(args?: Subset<T$1, branches$bank_accountsArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$bank_accountsPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
610168
610609
  forwarding_shipment_billings<T$1 extends branches$forwarding_shipment_billingsArgs<ExtArgs> = {}>(args?: Subset<T$1, branches$forwarding_shipment_billingsArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$forwarding_shipment_billingsPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
610169
610610
  organization_account_receivable_settlements<T$1 extends branches$organization_account_receivable_settlementsArgs<ExtArgs> = {}>(args?: Subset<T$1, branches$organization_account_receivable_settlementsArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$organization_account_receivable_settlementsPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
@@ -610741,6 +611182,29 @@ type branches$usersArgs<ExtArgs extends Types$1.Extensions.InternalArgs = Types$
610741
611182
  skip?: number;
610742
611183
  distinct?: UsersScalarFieldEnum | UsersScalarFieldEnum[];
610743
611184
  };
611185
+ /**
611186
+ * branches.users_last_accessed
611187
+ */
611188
+ type branches$users_last_accessedArgs<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = {
611189
+ /**
611190
+ * Select specific fields to fetch from the users
611191
+ */
611192
+ select?: usersSelect<ExtArgs> | null;
611193
+ /**
611194
+ * Omit specific fields from the users
611195
+ */
611196
+ omit?: usersOmit<ExtArgs> | null;
611197
+ /**
611198
+ * Choose, which related nodes to fetch as well
611199
+ */
611200
+ include?: usersInclude<ExtArgs> | null;
611201
+ where?: usersWhereInput;
611202
+ orderBy?: usersOrderByWithRelationInput | usersOrderByWithRelationInput[];
611203
+ cursor?: usersWhereUniqueInput;
611204
+ take?: number;
611205
+ skip?: number;
611206
+ distinct?: UsersScalarFieldEnum | UsersScalarFieldEnum[];
611207
+ };
610744
611208
  /**
610745
611209
  * branches.bank_accounts
610746
611210
  */
@@ -616338,6 +616802,8 @@ type usersWhereInput = {
616338
616802
  department?: XOR<DepartmentsNullableScalarRelationFilter, departmentsWhereInput> | null;
616339
616803
  spouse_relationship?: XOR<RelationshipsNullableScalarRelationFilter, relationshipsWhereInput> | null;
616340
616804
  emergency_relationship?: XOR<RelationshipsNullableScalarRelationFilter, relationshipsWhereInput> | null;
616805
+ last_accessed_company?: XOR<CompaniesNullableScalarRelationFilter, companiesWhereInput> | null;
616806
+ last_accessed_branch?: XOR<BranchesNullableScalarRelationFilter, branchesWhereInput> | null;
616341
616807
  user_logs?: User_logsListRelationFilter;
616342
616808
  organization_staff_assignments?: Organization_staff_assignmentsListRelationFilter;
616343
616809
  user_attachments?: User_attachmentsListRelationFilter;
@@ -616400,6 +616866,8 @@ type usersOrderByWithRelationInput = {
616400
616866
  department?: departmentsOrderByWithRelationInput;
616401
616867
  spouse_relationship?: relationshipsOrderByWithRelationInput;
616402
616868
  emergency_relationship?: relationshipsOrderByWithRelationInput;
616869
+ last_accessed_company?: companiesOrderByWithRelationInput;
616870
+ last_accessed_branch?: branchesOrderByWithRelationInput;
616403
616871
  user_logs?: user_logsOrderByRelationAggregateInput;
616404
616872
  organization_staff_assignments?: organization_staff_assignmentsOrderByRelationAggregateInput;
616405
616873
  user_attachments?: user_attachmentsOrderByRelationAggregateInput;
@@ -616465,6 +616933,8 @@ type usersWhereUniqueInput = AtLeast<{
616465
616933
  department?: XOR<DepartmentsNullableScalarRelationFilter, departmentsWhereInput> | null;
616466
616934
  spouse_relationship?: XOR<RelationshipsNullableScalarRelationFilter, relationshipsWhereInput> | null;
616467
616935
  emergency_relationship?: XOR<RelationshipsNullableScalarRelationFilter, relationshipsWhereInput> | null;
616936
+ last_accessed_company?: XOR<CompaniesNullableScalarRelationFilter, companiesWhereInput> | null;
616937
+ last_accessed_branch?: XOR<BranchesNullableScalarRelationFilter, branchesWhereInput> | null;
616468
616938
  user_logs?: User_logsListRelationFilter;
616469
616939
  organization_staff_assignments?: Organization_staff_assignmentsListRelationFilter;
616470
616940
  user_attachments?: User_attachmentsListRelationFilter;
@@ -616576,8 +617046,6 @@ type usersScalarWhereWithAggregatesInput = {
616576
617046
  type usersCreateInput = {
616577
617047
  id?: bigint | number;
616578
617048
  id_sso?: string | null;
616579
- id_last_accessed_company?: bigint | number | null;
616580
- id_last_accessed_branch?: bigint | number | null;
616581
617049
  logic_code?: string | null;
616582
617050
  code?: string | null;
616583
617051
  name?: string | null;
@@ -616619,6 +617087,8 @@ type usersCreateInput = {
616619
617087
  department?: departmentsCreateNestedOneWithoutUsersInput;
616620
617088
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
616621
617089
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
617090
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
617091
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
616622
617092
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
616623
617093
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
616624
617094
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
@@ -616680,8 +617150,6 @@ type usersUncheckedCreateInput = {
616680
617150
  type usersUpdateInput = {
616681
617151
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
616682
617152
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
616683
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
616684
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
616685
617153
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
616686
617154
  code?: NullableStringFieldUpdateOperationsInput | string | null;
616687
617155
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -616723,6 +617191,8 @@ type usersUpdateInput = {
616723
617191
  department?: departmentsUpdateOneWithoutUsersNestedInput;
616724
617192
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
616725
617193
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
617194
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
617195
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
616726
617196
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
616727
617197
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
616728
617198
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
@@ -616831,8 +617301,6 @@ type usersCreateManyInput = {
616831
617301
  type usersUpdateManyMutationInput = {
616832
617302
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
616833
617303
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
616834
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
616835
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
616836
617304
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
616837
617305
  code?: NullableStringFieldUpdateOperationsInput | string | null;
616838
617306
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -617295,12 +617763,24 @@ type usersCreateNestedManyWithoutCompanyInput = {
617295
617763
  createMany?: usersCreateManyCompanyInputEnvelope;
617296
617764
  connect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617297
617765
  };
617766
+ type usersCreateNestedManyWithoutLast_accessed_companyInput = {
617767
+ create?: XOR<usersCreateWithoutLast_accessed_companyInput, usersUncheckedCreateWithoutLast_accessed_companyInput> | usersCreateWithoutLast_accessed_companyInput[] | usersUncheckedCreateWithoutLast_accessed_companyInput[];
617768
+ connectOrCreate?: usersCreateOrConnectWithoutLast_accessed_companyInput | usersCreateOrConnectWithoutLast_accessed_companyInput[];
617769
+ createMany?: usersCreateManyLast_accessed_companyInputEnvelope;
617770
+ connect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617771
+ };
617298
617772
  type usersUncheckedCreateNestedManyWithoutCompanyInput = {
617299
617773
  create?: XOR<usersCreateWithoutCompanyInput, usersUncheckedCreateWithoutCompanyInput> | usersCreateWithoutCompanyInput[] | usersUncheckedCreateWithoutCompanyInput[];
617300
617774
  connectOrCreate?: usersCreateOrConnectWithoutCompanyInput | usersCreateOrConnectWithoutCompanyInput[];
617301
617775
  createMany?: usersCreateManyCompanyInputEnvelope;
617302
617776
  connect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617303
617777
  };
617778
+ type usersUncheckedCreateNestedManyWithoutLast_accessed_companyInput = {
617779
+ create?: XOR<usersCreateWithoutLast_accessed_companyInput, usersUncheckedCreateWithoutLast_accessed_companyInput> | usersCreateWithoutLast_accessed_companyInput[] | usersUncheckedCreateWithoutLast_accessed_companyInput[];
617780
+ connectOrCreate?: usersCreateOrConnectWithoutLast_accessed_companyInput | usersCreateOrConnectWithoutLast_accessed_companyInput[];
617781
+ createMany?: usersCreateManyLast_accessed_companyInputEnvelope;
617782
+ connect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617783
+ };
617304
617784
  type usersUpdateManyWithoutCompanyNestedInput = {
617305
617785
  create?: XOR<usersCreateWithoutCompanyInput, usersUncheckedCreateWithoutCompanyInput> | usersCreateWithoutCompanyInput[] | usersUncheckedCreateWithoutCompanyInput[];
617306
617786
  connectOrCreate?: usersCreateOrConnectWithoutCompanyInput | usersCreateOrConnectWithoutCompanyInput[];
@@ -617314,6 +617794,19 @@ type usersUpdateManyWithoutCompanyNestedInput = {
617314
617794
  updateMany?: usersUpdateManyWithWhereWithoutCompanyInput | usersUpdateManyWithWhereWithoutCompanyInput[];
617315
617795
  deleteMany?: usersScalarWhereInput | usersScalarWhereInput[];
617316
617796
  };
617797
+ type usersUpdateManyWithoutLast_accessed_companyNestedInput = {
617798
+ create?: XOR<usersCreateWithoutLast_accessed_companyInput, usersUncheckedCreateWithoutLast_accessed_companyInput> | usersCreateWithoutLast_accessed_companyInput[] | usersUncheckedCreateWithoutLast_accessed_companyInput[];
617799
+ connectOrCreate?: usersCreateOrConnectWithoutLast_accessed_companyInput | usersCreateOrConnectWithoutLast_accessed_companyInput[];
617800
+ upsert?: usersUpsertWithWhereUniqueWithoutLast_accessed_companyInput | usersUpsertWithWhereUniqueWithoutLast_accessed_companyInput[];
617801
+ createMany?: usersCreateManyLast_accessed_companyInputEnvelope;
617802
+ set?: usersWhereUniqueInput | usersWhereUniqueInput[];
617803
+ disconnect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617804
+ delete?: usersWhereUniqueInput | usersWhereUniqueInput[];
617805
+ connect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617806
+ update?: usersUpdateWithWhereUniqueWithoutLast_accessed_companyInput | usersUpdateWithWhereUniqueWithoutLast_accessed_companyInput[];
617807
+ updateMany?: usersUpdateManyWithWhereWithoutLast_accessed_companyInput | usersUpdateManyWithWhereWithoutLast_accessed_companyInput[];
617808
+ deleteMany?: usersScalarWhereInput | usersScalarWhereInput[];
617809
+ };
617317
617810
  type usersUncheckedUpdateManyWithoutCompanyNestedInput = {
617318
617811
  create?: XOR<usersCreateWithoutCompanyInput, usersUncheckedCreateWithoutCompanyInput> | usersCreateWithoutCompanyInput[] | usersUncheckedCreateWithoutCompanyInput[];
617319
617812
  connectOrCreate?: usersCreateOrConnectWithoutCompanyInput | usersCreateOrConnectWithoutCompanyInput[];
@@ -617327,18 +617820,43 @@ type usersUncheckedUpdateManyWithoutCompanyNestedInput = {
617327
617820
  updateMany?: usersUpdateManyWithWhereWithoutCompanyInput | usersUpdateManyWithWhereWithoutCompanyInput[];
617328
617821
  deleteMany?: usersScalarWhereInput | usersScalarWhereInput[];
617329
617822
  };
617823
+ type usersUncheckedUpdateManyWithoutLast_accessed_companyNestedInput = {
617824
+ create?: XOR<usersCreateWithoutLast_accessed_companyInput, usersUncheckedCreateWithoutLast_accessed_companyInput> | usersCreateWithoutLast_accessed_companyInput[] | usersUncheckedCreateWithoutLast_accessed_companyInput[];
617825
+ connectOrCreate?: usersCreateOrConnectWithoutLast_accessed_companyInput | usersCreateOrConnectWithoutLast_accessed_companyInput[];
617826
+ upsert?: usersUpsertWithWhereUniqueWithoutLast_accessed_companyInput | usersUpsertWithWhereUniqueWithoutLast_accessed_companyInput[];
617827
+ createMany?: usersCreateManyLast_accessed_companyInputEnvelope;
617828
+ set?: usersWhereUniqueInput | usersWhereUniqueInput[];
617829
+ disconnect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617830
+ delete?: usersWhereUniqueInput | usersWhereUniqueInput[];
617831
+ connect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617832
+ update?: usersUpdateWithWhereUniqueWithoutLast_accessed_companyInput | usersUpdateWithWhereUniqueWithoutLast_accessed_companyInput[];
617833
+ updateMany?: usersUpdateManyWithWhereWithoutLast_accessed_companyInput | usersUpdateManyWithWhereWithoutLast_accessed_companyInput[];
617834
+ deleteMany?: usersScalarWhereInput | usersScalarWhereInput[];
617835
+ };
617330
617836
  type usersCreateNestedManyWithoutBranchInput = {
617331
617837
  create?: XOR<usersCreateWithoutBranchInput, usersUncheckedCreateWithoutBranchInput> | usersCreateWithoutBranchInput[] | usersUncheckedCreateWithoutBranchInput[];
617332
617838
  connectOrCreate?: usersCreateOrConnectWithoutBranchInput | usersCreateOrConnectWithoutBranchInput[];
617333
617839
  createMany?: usersCreateManyBranchInputEnvelope;
617334
617840
  connect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617335
617841
  };
617842
+ type usersCreateNestedManyWithoutLast_accessed_branchInput = {
617843
+ create?: XOR<usersCreateWithoutLast_accessed_branchInput, usersUncheckedCreateWithoutLast_accessed_branchInput> | usersCreateWithoutLast_accessed_branchInput[] | usersUncheckedCreateWithoutLast_accessed_branchInput[];
617844
+ connectOrCreate?: usersCreateOrConnectWithoutLast_accessed_branchInput | usersCreateOrConnectWithoutLast_accessed_branchInput[];
617845
+ createMany?: usersCreateManyLast_accessed_branchInputEnvelope;
617846
+ connect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617847
+ };
617336
617848
  type usersUncheckedCreateNestedManyWithoutBranchInput = {
617337
617849
  create?: XOR<usersCreateWithoutBranchInput, usersUncheckedCreateWithoutBranchInput> | usersCreateWithoutBranchInput[] | usersUncheckedCreateWithoutBranchInput[];
617338
617850
  connectOrCreate?: usersCreateOrConnectWithoutBranchInput | usersCreateOrConnectWithoutBranchInput[];
617339
617851
  createMany?: usersCreateManyBranchInputEnvelope;
617340
617852
  connect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617341
617853
  };
617854
+ type usersUncheckedCreateNestedManyWithoutLast_accessed_branchInput = {
617855
+ create?: XOR<usersCreateWithoutLast_accessed_branchInput, usersUncheckedCreateWithoutLast_accessed_branchInput> | usersCreateWithoutLast_accessed_branchInput[] | usersUncheckedCreateWithoutLast_accessed_branchInput[];
617856
+ connectOrCreate?: usersCreateOrConnectWithoutLast_accessed_branchInput | usersCreateOrConnectWithoutLast_accessed_branchInput[];
617857
+ createMany?: usersCreateManyLast_accessed_branchInputEnvelope;
617858
+ connect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617859
+ };
617342
617860
  type usersUpdateManyWithoutBranchNestedInput = {
617343
617861
  create?: XOR<usersCreateWithoutBranchInput, usersUncheckedCreateWithoutBranchInput> | usersCreateWithoutBranchInput[] | usersUncheckedCreateWithoutBranchInput[];
617344
617862
  connectOrCreate?: usersCreateOrConnectWithoutBranchInput | usersCreateOrConnectWithoutBranchInput[];
@@ -617352,6 +617870,19 @@ type usersUpdateManyWithoutBranchNestedInput = {
617352
617870
  updateMany?: usersUpdateManyWithWhereWithoutBranchInput | usersUpdateManyWithWhereWithoutBranchInput[];
617353
617871
  deleteMany?: usersScalarWhereInput | usersScalarWhereInput[];
617354
617872
  };
617873
+ type usersUpdateManyWithoutLast_accessed_branchNestedInput = {
617874
+ create?: XOR<usersCreateWithoutLast_accessed_branchInput, usersUncheckedCreateWithoutLast_accessed_branchInput> | usersCreateWithoutLast_accessed_branchInput[] | usersUncheckedCreateWithoutLast_accessed_branchInput[];
617875
+ connectOrCreate?: usersCreateOrConnectWithoutLast_accessed_branchInput | usersCreateOrConnectWithoutLast_accessed_branchInput[];
617876
+ upsert?: usersUpsertWithWhereUniqueWithoutLast_accessed_branchInput | usersUpsertWithWhereUniqueWithoutLast_accessed_branchInput[];
617877
+ createMany?: usersCreateManyLast_accessed_branchInputEnvelope;
617878
+ set?: usersWhereUniqueInput | usersWhereUniqueInput[];
617879
+ disconnect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617880
+ delete?: usersWhereUniqueInput | usersWhereUniqueInput[];
617881
+ connect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617882
+ update?: usersUpdateWithWhereUniqueWithoutLast_accessed_branchInput | usersUpdateWithWhereUniqueWithoutLast_accessed_branchInput[];
617883
+ updateMany?: usersUpdateManyWithWhereWithoutLast_accessed_branchInput | usersUpdateManyWithWhereWithoutLast_accessed_branchInput[];
617884
+ deleteMany?: usersScalarWhereInput | usersScalarWhereInput[];
617885
+ };
617355
617886
  type usersUncheckedUpdateManyWithoutBranchNestedInput = {
617356
617887
  create?: XOR<usersCreateWithoutBranchInput, usersUncheckedCreateWithoutBranchInput> | usersCreateWithoutBranchInput[] | usersUncheckedCreateWithoutBranchInput[];
617357
617888
  connectOrCreate?: usersCreateOrConnectWithoutBranchInput | usersCreateOrConnectWithoutBranchInput[];
@@ -617365,6 +617896,19 @@ type usersUncheckedUpdateManyWithoutBranchNestedInput = {
617365
617896
  updateMany?: usersUpdateManyWithWhereWithoutBranchInput | usersUpdateManyWithWhereWithoutBranchInput[];
617366
617897
  deleteMany?: usersScalarWhereInput | usersScalarWhereInput[];
617367
617898
  };
617899
+ type usersUncheckedUpdateManyWithoutLast_accessed_branchNestedInput = {
617900
+ create?: XOR<usersCreateWithoutLast_accessed_branchInput, usersUncheckedCreateWithoutLast_accessed_branchInput> | usersCreateWithoutLast_accessed_branchInput[] | usersUncheckedCreateWithoutLast_accessed_branchInput[];
617901
+ connectOrCreate?: usersCreateOrConnectWithoutLast_accessed_branchInput | usersCreateOrConnectWithoutLast_accessed_branchInput[];
617902
+ upsert?: usersUpsertWithWhereUniqueWithoutLast_accessed_branchInput | usersUpsertWithWhereUniqueWithoutLast_accessed_branchInput[];
617903
+ createMany?: usersCreateManyLast_accessed_branchInputEnvelope;
617904
+ set?: usersWhereUniqueInput | usersWhereUniqueInput[];
617905
+ disconnect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617906
+ delete?: usersWhereUniqueInput | usersWhereUniqueInput[];
617907
+ connect?: usersWhereUniqueInput | usersWhereUniqueInput[];
617908
+ update?: usersUpdateWithWhereUniqueWithoutLast_accessed_branchInput | usersUpdateWithWhereUniqueWithoutLast_accessed_branchInput[];
617909
+ updateMany?: usersUpdateManyWithWhereWithoutLast_accessed_branchInput | usersUpdateManyWithWhereWithoutLast_accessed_branchInput[];
617910
+ deleteMany?: usersScalarWhereInput | usersScalarWhereInput[];
617911
+ };
617368
617912
  type usersCreateNestedManyWithoutDepartmentInput = {
617369
617913
  create?: XOR<usersCreateWithoutDepartmentInput, usersUncheckedCreateWithoutDepartmentInput> | usersCreateWithoutDepartmentInput[] | usersUncheckedCreateWithoutDepartmentInput[];
617370
617914
  connectOrCreate?: usersCreateOrConnectWithoutDepartmentInput | usersCreateOrConnectWithoutDepartmentInput[];
@@ -617551,8 +618095,6 @@ type usersUpdateOneWithoutUser_logsNestedInput = {
617551
618095
  type usersCreateWithoutForwarding_shipment_billings_sales_repInput = {
617552
618096
  id?: bigint | number;
617553
618097
  id_sso?: string | null;
617554
- id_last_accessed_company?: bigint | number | null;
617555
- id_last_accessed_branch?: bigint | number | null;
617556
618098
  logic_code?: string | null;
617557
618099
  code?: string | null;
617558
618100
  name?: string | null;
@@ -617594,6 +618136,8 @@ type usersCreateWithoutForwarding_shipment_billings_sales_repInput = {
617594
618136
  department?: departmentsCreateNestedOneWithoutUsersInput;
617595
618137
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
617596
618138
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
618139
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
618140
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
617597
618141
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
617598
618142
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
617599
618143
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
@@ -617657,8 +618201,6 @@ type usersCreateOrConnectWithoutForwarding_shipment_billings_sales_repInput = {
617657
618201
  type usersCreateWithoutForwarding_shipment_billings_operation_repInput = {
617658
618202
  id?: bigint | number;
617659
618203
  id_sso?: string | null;
617660
- id_last_accessed_company?: bigint | number | null;
617661
- id_last_accessed_branch?: bigint | number | null;
617662
618204
  logic_code?: string | null;
617663
618205
  code?: string | null;
617664
618206
  name?: string | null;
@@ -617700,6 +618242,8 @@ type usersCreateWithoutForwarding_shipment_billings_operation_repInput = {
617700
618242
  department?: departmentsCreateNestedOneWithoutUsersInput;
617701
618243
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
617702
618244
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
618245
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
618246
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
617703
618247
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
617704
618248
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
617705
618249
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
@@ -617772,8 +618316,6 @@ type usersUpdateToOneWithWhereWithoutForwarding_shipment_billings_sales_repInput
617772
618316
  type usersUpdateWithoutForwarding_shipment_billings_sales_repInput = {
617773
618317
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
617774
618318
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
617775
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
617776
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
617777
618319
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
617778
618320
  code?: NullableStringFieldUpdateOperationsInput | string | null;
617779
618321
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -617815,6 +618357,8 @@ type usersUpdateWithoutForwarding_shipment_billings_sales_repInput = {
617815
618357
  department?: departmentsUpdateOneWithoutUsersNestedInput;
617816
618358
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
617817
618359
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
618360
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
618361
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
617818
618362
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
617819
618363
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
617820
618364
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
@@ -617883,8 +618427,6 @@ type usersUpdateToOneWithWhereWithoutForwarding_shipment_billings_operation_repI
617883
618427
  type usersUpdateWithoutForwarding_shipment_billings_operation_repInput = {
617884
618428
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
617885
618429
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
617886
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
617887
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
617888
618430
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
617889
618431
  code?: NullableStringFieldUpdateOperationsInput | string | null;
617890
618432
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -617926,6 +618468,8 @@ type usersUpdateWithoutForwarding_shipment_billings_operation_repInput = {
617926
618468
  department?: departmentsUpdateOneWithoutUsersNestedInput;
617927
618469
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
617928
618470
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
618471
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
618472
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
617929
618473
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
617930
618474
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
617931
618475
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
@@ -617985,8 +618529,6 @@ type usersUncheckedUpdateWithoutForwarding_shipment_billings_operation_repInput
617985
618529
  type usersCreateWithoutCountryInput = {
617986
618530
  id?: bigint | number;
617987
618531
  id_sso?: string | null;
617988
- id_last_accessed_company?: bigint | number | null;
617989
- id_last_accessed_branch?: bigint | number | null;
617990
618532
  logic_code?: string | null;
617991
618533
  code?: string | null;
617992
618534
  name?: string | null;
@@ -618027,6 +618569,8 @@ type usersCreateWithoutCountryInput = {
618027
618569
  department?: departmentsCreateNestedOneWithoutUsersInput;
618028
618570
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
618029
618571
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
618572
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
618573
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
618030
618574
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
618031
618575
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
618032
618576
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
@@ -618158,8 +618702,6 @@ type usersScalarWhereInput = {
618158
618702
  type usersCreateWithoutStateInput = {
618159
618703
  id?: bigint | number;
618160
618704
  id_sso?: string | null;
618161
- id_last_accessed_company?: bigint | number | null;
618162
- id_last_accessed_branch?: bigint | number | null;
618163
618705
  logic_code?: string | null;
618164
618706
  code?: string | null;
618165
618707
  name?: string | null;
@@ -618200,6 +618742,8 @@ type usersCreateWithoutStateInput = {
618200
618742
  department?: departmentsCreateNestedOneWithoutUsersInput;
618201
618743
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
618202
618744
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
618745
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
618746
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
618203
618747
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
618204
618748
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
618205
618749
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
@@ -618281,8 +618825,6 @@ type usersUpdateManyWithWhereWithoutStateInput = {
618281
618825
  type usersCreateWithoutCityInput = {
618282
618826
  id?: bigint | number;
618283
618827
  id_sso?: string | null;
618284
- id_last_accessed_company?: bigint | number | null;
618285
- id_last_accessed_branch?: bigint | number | null;
618286
618828
  logic_code?: string | null;
618287
618829
  code?: string | null;
618288
618830
  name?: string | null;
@@ -618323,6 +618865,8 @@ type usersCreateWithoutCityInput = {
618323
618865
  department?: departmentsCreateNestedOneWithoutUsersInput;
618324
618866
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
618325
618867
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
618868
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
618869
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
618326
618870
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
618327
618871
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
618328
618872
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
@@ -618404,8 +618948,6 @@ type usersUpdateManyWithWhereWithoutCityInput = {
618404
618948
  type usersCreateWithoutPostal_codeInput = {
618405
618949
  id?: bigint | number;
618406
618950
  id_sso?: string | null;
618407
- id_last_accessed_company?: bigint | number | null;
618408
- id_last_accessed_branch?: bigint | number | null;
618409
618951
  logic_code?: string | null;
618410
618952
  code?: string | null;
618411
618953
  name?: string | null;
@@ -618446,6 +618988,8 @@ type usersCreateWithoutPostal_codeInput = {
618446
618988
  department?: departmentsCreateNestedOneWithoutUsersInput;
618447
618989
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
618448
618990
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
618991
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
618992
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
618449
618993
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
618450
618994
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
618451
618995
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
@@ -618527,8 +619071,6 @@ type usersUpdateManyWithWhereWithoutPostal_codeInput = {
618527
619071
  type usersCreateWithoutOrganization_staff_assignmentsInput = {
618528
619072
  id?: bigint | number;
618529
619073
  id_sso?: string | null;
618530
- id_last_accessed_company?: bigint | number | null;
618531
- id_last_accessed_branch?: bigint | number | null;
618532
619074
  logic_code?: string | null;
618533
619075
  code?: string | null;
618534
619076
  name?: string | null;
@@ -618570,6 +619112,8 @@ type usersCreateWithoutOrganization_staff_assignmentsInput = {
618570
619112
  department?: departmentsCreateNestedOneWithoutUsersInput;
618571
619113
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
618572
619114
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
619115
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
619116
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
618573
619117
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
618574
619118
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
618575
619119
  forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsCreateNestedManyWithoutSales_repInput;
@@ -618642,8 +619186,6 @@ type usersUpdateToOneWithWhereWithoutOrganization_staff_assignmentsInput = {
618642
619186
  type usersUpdateWithoutOrganization_staff_assignmentsInput = {
618643
619187
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
618644
619188
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
618645
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
618646
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
618647
619189
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
618648
619190
  code?: NullableStringFieldUpdateOperationsInput | string | null;
618649
619191
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -618685,6 +619227,8 @@ type usersUpdateWithoutOrganization_staff_assignmentsInput = {
618685
619227
  department?: departmentsUpdateOneWithoutUsersNestedInput;
618686
619228
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
618687
619229
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
619230
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
619231
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
618688
619232
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
618689
619233
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
618690
619234
  forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsUpdateManyWithoutSales_repNestedInput;
@@ -618744,8 +619288,6 @@ type usersUncheckedUpdateWithoutOrganization_staff_assignmentsInput = {
618744
619288
  type usersCreateWithoutCompanyInput = {
618745
619289
  id?: bigint | number;
618746
619290
  id_sso?: string | null;
618747
- id_last_accessed_company?: bigint | number | null;
618748
- id_last_accessed_branch?: bigint | number | null;
618749
619291
  logic_code?: string | null;
618750
619292
  code?: string | null;
618751
619293
  name?: string | null;
@@ -618786,6 +619328,8 @@ type usersCreateWithoutCompanyInput = {
618786
619328
  department?: departmentsCreateNestedOneWithoutUsersInput;
618787
619329
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
618788
619330
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
619331
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
619332
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
618789
619333
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
618790
619334
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
618791
619335
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
@@ -618851,6 +619395,116 @@ type usersCreateManyCompanyInputEnvelope = {
618851
619395
  data: usersCreateManyCompanyInput | usersCreateManyCompanyInput[];
618852
619396
  skipDuplicates?: boolean;
618853
619397
  };
619398
+ type usersCreateWithoutLast_accessed_companyInput = {
619399
+ id?: bigint | number;
619400
+ id_sso?: string | null;
619401
+ logic_code?: string | null;
619402
+ code?: string | null;
619403
+ name?: string | null;
619404
+ pref_name?: string | null;
619405
+ address?: string | null;
619406
+ date_of_birth?: Date | string | null;
619407
+ employment_date?: Date | string | null;
619408
+ depart_date?: Date | string | null;
619409
+ gender?: gender | null;
619410
+ job_title?: string | null;
619411
+ work_phone?: string | null;
619412
+ work_extension?: string | null;
619413
+ work_fax?: string | null;
619414
+ home_phone?: string | null;
619415
+ mobile_phone?: string | null;
619416
+ other_reference?: string | null;
619417
+ personal_email?: string | null;
619418
+ work_email?: string | null;
619419
+ spouse_name?: string | null;
619420
+ spouse_phone?: string | null;
619421
+ spouse_email?: string | null;
619422
+ emergency_name?: string | null;
619423
+ emergency_phone?: string | null;
619424
+ emergency_email?: string | null;
619425
+ profile_photo_url?: string | null;
619426
+ signature_url?: string | null;
619427
+ is_active?: boolean | null;
619428
+ created_at?: Date | string | null;
619429
+ created_by?: string | null;
619430
+ updated_at?: Date | string | null;
619431
+ updated_by?: string | null;
619432
+ country?: countriesCreateNestedOneWithoutUsersInput;
619433
+ state?: statesCreateNestedOneWithoutUsersInput;
619434
+ city?: citiesCreateNestedOneWithoutUsersInput;
619435
+ postal_code?: postal_codesCreateNestedOneWithoutUsersInput;
619436
+ nationality?: nationalitiesCreateNestedOneWithoutUsersInput;
619437
+ company?: companiesCreateNestedOneWithoutUsersInput;
619438
+ branch?: branchesCreateNestedOneWithoutUsersInput;
619439
+ department?: departmentsCreateNestedOneWithoutUsersInput;
619440
+ spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
619441
+ emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
619442
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
619443
+ user_logs?: user_logsCreateNestedManyWithoutUserInput;
619444
+ organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
619445
+ user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
619446
+ forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsCreateNestedManyWithoutSales_repInput;
619447
+ forwarding_shipment_billings_operation_rep?: forwarding_shipment_billingsCreateNestedManyWithoutOperation_repInput;
619448
+ };
619449
+ type usersUncheckedCreateWithoutLast_accessed_companyInput = {
619450
+ id?: bigint | number;
619451
+ id_sso?: string | null;
619452
+ id_country?: bigint | number | null;
619453
+ id_state?: bigint | number | null;
619454
+ id_city?: bigint | number | null;
619455
+ id_postal_code?: bigint | number | null;
619456
+ id_nationality?: bigint | number | null;
619457
+ id_company?: bigint | number | null;
619458
+ id_branch?: bigint | number | null;
619459
+ id_department?: bigint | number | null;
619460
+ id_spouse_relationship?: bigint | number | null;
619461
+ id_emergency_relationship?: bigint | number | null;
619462
+ id_last_accessed_branch?: bigint | number | null;
619463
+ logic_code?: string | null;
619464
+ code?: string | null;
619465
+ name?: string | null;
619466
+ pref_name?: string | null;
619467
+ address?: string | null;
619468
+ date_of_birth?: Date | string | null;
619469
+ employment_date?: Date | string | null;
619470
+ depart_date?: Date | string | null;
619471
+ gender?: gender | null;
619472
+ job_title?: string | null;
619473
+ work_phone?: string | null;
619474
+ work_extension?: string | null;
619475
+ work_fax?: string | null;
619476
+ home_phone?: string | null;
619477
+ mobile_phone?: string | null;
619478
+ other_reference?: string | null;
619479
+ personal_email?: string | null;
619480
+ work_email?: string | null;
619481
+ spouse_name?: string | null;
619482
+ spouse_phone?: string | null;
619483
+ spouse_email?: string | null;
619484
+ emergency_name?: string | null;
619485
+ emergency_phone?: string | null;
619486
+ emergency_email?: string | null;
619487
+ profile_photo_url?: string | null;
619488
+ signature_url?: string | null;
619489
+ is_active?: boolean | null;
619490
+ created_at?: Date | string | null;
619491
+ created_by?: string | null;
619492
+ updated_at?: Date | string | null;
619493
+ updated_by?: string | null;
619494
+ user_logs?: user_logsUncheckedCreateNestedManyWithoutUserInput;
619495
+ organization_staff_assignments?: organization_staff_assignmentsUncheckedCreateNestedManyWithoutUserInput;
619496
+ user_attachments?: user_attachmentsUncheckedCreateNestedManyWithoutUserInput;
619497
+ forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutSales_repInput;
619498
+ forwarding_shipment_billings_operation_rep?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutOperation_repInput;
619499
+ };
619500
+ type usersCreateOrConnectWithoutLast_accessed_companyInput = {
619501
+ where: usersWhereUniqueInput;
619502
+ create: XOR<usersCreateWithoutLast_accessed_companyInput, usersUncheckedCreateWithoutLast_accessed_companyInput>;
619503
+ };
619504
+ type usersCreateManyLast_accessed_companyInputEnvelope = {
619505
+ data: usersCreateManyLast_accessed_companyInput | usersCreateManyLast_accessed_companyInput[];
619506
+ skipDuplicates?: boolean;
619507
+ };
618854
619508
  type usersUpsertWithWhereUniqueWithoutCompanyInput = {
618855
619509
  where: usersWhereUniqueInput;
618856
619510
  update: XOR<usersUpdateWithoutCompanyInput, usersUncheckedUpdateWithoutCompanyInput>;
@@ -618864,11 +619518,22 @@ type usersUpdateManyWithWhereWithoutCompanyInput = {
618864
619518
  where: usersScalarWhereInput;
618865
619519
  data: XOR<usersUpdateManyMutationInput, usersUncheckedUpdateManyWithoutCompanyInput>;
618866
619520
  };
619521
+ type usersUpsertWithWhereUniqueWithoutLast_accessed_companyInput = {
619522
+ where: usersWhereUniqueInput;
619523
+ update: XOR<usersUpdateWithoutLast_accessed_companyInput, usersUncheckedUpdateWithoutLast_accessed_companyInput>;
619524
+ create: XOR<usersCreateWithoutLast_accessed_companyInput, usersUncheckedCreateWithoutLast_accessed_companyInput>;
619525
+ };
619526
+ type usersUpdateWithWhereUniqueWithoutLast_accessed_companyInput = {
619527
+ where: usersWhereUniqueInput;
619528
+ data: XOR<usersUpdateWithoutLast_accessed_companyInput, usersUncheckedUpdateWithoutLast_accessed_companyInput>;
619529
+ };
619530
+ type usersUpdateManyWithWhereWithoutLast_accessed_companyInput = {
619531
+ where: usersScalarWhereInput;
619532
+ data: XOR<usersUpdateManyMutationInput, usersUncheckedUpdateManyWithoutLast_accessed_companyInput>;
619533
+ };
618867
619534
  type usersCreateWithoutBranchInput = {
618868
619535
  id?: bigint | number;
618869
619536
  id_sso?: string | null;
618870
- id_last_accessed_company?: bigint | number | null;
618871
- id_last_accessed_branch?: bigint | number | null;
618872
619537
  logic_code?: string | null;
618873
619538
  code?: string | null;
618874
619539
  name?: string | null;
@@ -618909,6 +619574,8 @@ type usersCreateWithoutBranchInput = {
618909
619574
  department?: departmentsCreateNestedOneWithoutUsersInput;
618910
619575
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
618911
619576
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
619577
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
619578
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
618912
619579
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
618913
619580
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
618914
619581
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
@@ -618974,6 +619641,116 @@ type usersCreateManyBranchInputEnvelope = {
618974
619641
  data: usersCreateManyBranchInput | usersCreateManyBranchInput[];
618975
619642
  skipDuplicates?: boolean;
618976
619643
  };
619644
+ type usersCreateWithoutLast_accessed_branchInput = {
619645
+ id?: bigint | number;
619646
+ id_sso?: string | null;
619647
+ logic_code?: string | null;
619648
+ code?: string | null;
619649
+ name?: string | null;
619650
+ pref_name?: string | null;
619651
+ address?: string | null;
619652
+ date_of_birth?: Date | string | null;
619653
+ employment_date?: Date | string | null;
619654
+ depart_date?: Date | string | null;
619655
+ gender?: gender | null;
619656
+ job_title?: string | null;
619657
+ work_phone?: string | null;
619658
+ work_extension?: string | null;
619659
+ work_fax?: string | null;
619660
+ home_phone?: string | null;
619661
+ mobile_phone?: string | null;
619662
+ other_reference?: string | null;
619663
+ personal_email?: string | null;
619664
+ work_email?: string | null;
619665
+ spouse_name?: string | null;
619666
+ spouse_phone?: string | null;
619667
+ spouse_email?: string | null;
619668
+ emergency_name?: string | null;
619669
+ emergency_phone?: string | null;
619670
+ emergency_email?: string | null;
619671
+ profile_photo_url?: string | null;
619672
+ signature_url?: string | null;
619673
+ is_active?: boolean | null;
619674
+ created_at?: Date | string | null;
619675
+ created_by?: string | null;
619676
+ updated_at?: Date | string | null;
619677
+ updated_by?: string | null;
619678
+ country?: countriesCreateNestedOneWithoutUsersInput;
619679
+ state?: statesCreateNestedOneWithoutUsersInput;
619680
+ city?: citiesCreateNestedOneWithoutUsersInput;
619681
+ postal_code?: postal_codesCreateNestedOneWithoutUsersInput;
619682
+ nationality?: nationalitiesCreateNestedOneWithoutUsersInput;
619683
+ company?: companiesCreateNestedOneWithoutUsersInput;
619684
+ branch?: branchesCreateNestedOneWithoutUsersInput;
619685
+ department?: departmentsCreateNestedOneWithoutUsersInput;
619686
+ spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
619687
+ emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
619688
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
619689
+ user_logs?: user_logsCreateNestedManyWithoutUserInput;
619690
+ organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
619691
+ user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
619692
+ forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsCreateNestedManyWithoutSales_repInput;
619693
+ forwarding_shipment_billings_operation_rep?: forwarding_shipment_billingsCreateNestedManyWithoutOperation_repInput;
619694
+ };
619695
+ type usersUncheckedCreateWithoutLast_accessed_branchInput = {
619696
+ id?: bigint | number;
619697
+ id_sso?: string | null;
619698
+ id_country?: bigint | number | null;
619699
+ id_state?: bigint | number | null;
619700
+ id_city?: bigint | number | null;
619701
+ id_postal_code?: bigint | number | null;
619702
+ id_nationality?: bigint | number | null;
619703
+ id_company?: bigint | number | null;
619704
+ id_branch?: bigint | number | null;
619705
+ id_department?: bigint | number | null;
619706
+ id_spouse_relationship?: bigint | number | null;
619707
+ id_emergency_relationship?: bigint | number | null;
619708
+ id_last_accessed_company?: bigint | number | null;
619709
+ logic_code?: string | null;
619710
+ code?: string | null;
619711
+ name?: string | null;
619712
+ pref_name?: string | null;
619713
+ address?: string | null;
619714
+ date_of_birth?: Date | string | null;
619715
+ employment_date?: Date | string | null;
619716
+ depart_date?: Date | string | null;
619717
+ gender?: gender | null;
619718
+ job_title?: string | null;
619719
+ work_phone?: string | null;
619720
+ work_extension?: string | null;
619721
+ work_fax?: string | null;
619722
+ home_phone?: string | null;
619723
+ mobile_phone?: string | null;
619724
+ other_reference?: string | null;
619725
+ personal_email?: string | null;
619726
+ work_email?: string | null;
619727
+ spouse_name?: string | null;
619728
+ spouse_phone?: string | null;
619729
+ spouse_email?: string | null;
619730
+ emergency_name?: string | null;
619731
+ emergency_phone?: string | null;
619732
+ emergency_email?: string | null;
619733
+ profile_photo_url?: string | null;
619734
+ signature_url?: string | null;
619735
+ is_active?: boolean | null;
619736
+ created_at?: Date | string | null;
619737
+ created_by?: string | null;
619738
+ updated_at?: Date | string | null;
619739
+ updated_by?: string | null;
619740
+ user_logs?: user_logsUncheckedCreateNestedManyWithoutUserInput;
619741
+ organization_staff_assignments?: organization_staff_assignmentsUncheckedCreateNestedManyWithoutUserInput;
619742
+ user_attachments?: user_attachmentsUncheckedCreateNestedManyWithoutUserInput;
619743
+ forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutSales_repInput;
619744
+ forwarding_shipment_billings_operation_rep?: forwarding_shipment_billingsUncheckedCreateNestedManyWithoutOperation_repInput;
619745
+ };
619746
+ type usersCreateOrConnectWithoutLast_accessed_branchInput = {
619747
+ where: usersWhereUniqueInput;
619748
+ create: XOR<usersCreateWithoutLast_accessed_branchInput, usersUncheckedCreateWithoutLast_accessed_branchInput>;
619749
+ };
619750
+ type usersCreateManyLast_accessed_branchInputEnvelope = {
619751
+ data: usersCreateManyLast_accessed_branchInput | usersCreateManyLast_accessed_branchInput[];
619752
+ skipDuplicates?: boolean;
619753
+ };
618977
619754
  type usersUpsertWithWhereUniqueWithoutBranchInput = {
618978
619755
  where: usersWhereUniqueInput;
618979
619756
  update: XOR<usersUpdateWithoutBranchInput, usersUncheckedUpdateWithoutBranchInput>;
@@ -618987,11 +619764,22 @@ type usersUpdateManyWithWhereWithoutBranchInput = {
618987
619764
  where: usersScalarWhereInput;
618988
619765
  data: XOR<usersUpdateManyMutationInput, usersUncheckedUpdateManyWithoutBranchInput>;
618989
619766
  };
619767
+ type usersUpsertWithWhereUniqueWithoutLast_accessed_branchInput = {
619768
+ where: usersWhereUniqueInput;
619769
+ update: XOR<usersUpdateWithoutLast_accessed_branchInput, usersUncheckedUpdateWithoutLast_accessed_branchInput>;
619770
+ create: XOR<usersCreateWithoutLast_accessed_branchInput, usersUncheckedCreateWithoutLast_accessed_branchInput>;
619771
+ };
619772
+ type usersUpdateWithWhereUniqueWithoutLast_accessed_branchInput = {
619773
+ where: usersWhereUniqueInput;
619774
+ data: XOR<usersUpdateWithoutLast_accessed_branchInput, usersUncheckedUpdateWithoutLast_accessed_branchInput>;
619775
+ };
619776
+ type usersUpdateManyWithWhereWithoutLast_accessed_branchInput = {
619777
+ where: usersScalarWhereInput;
619778
+ data: XOR<usersUpdateManyMutationInput, usersUncheckedUpdateManyWithoutLast_accessed_branchInput>;
619779
+ };
618990
619780
  type usersCreateWithoutDepartmentInput = {
618991
619781
  id?: bigint | number;
618992
619782
  id_sso?: string | null;
618993
- id_last_accessed_company?: bigint | number | null;
618994
- id_last_accessed_branch?: bigint | number | null;
618995
619783
  logic_code?: string | null;
618996
619784
  code?: string | null;
618997
619785
  name?: string | null;
@@ -619032,6 +619820,8 @@ type usersCreateWithoutDepartmentInput = {
619032
619820
  branch?: branchesCreateNestedOneWithoutUsersInput;
619033
619821
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
619034
619822
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
619823
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
619824
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
619035
619825
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
619036
619826
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
619037
619827
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
@@ -619113,8 +619903,6 @@ type usersUpdateManyWithWhereWithoutDepartmentInput = {
619113
619903
  type usersCreateWithoutNationalityInput = {
619114
619904
  id?: bigint | number;
619115
619905
  id_sso?: string | null;
619116
- id_last_accessed_company?: bigint | number | null;
619117
- id_last_accessed_branch?: bigint | number | null;
619118
619906
  logic_code?: string | null;
619119
619907
  code?: string | null;
619120
619908
  name?: string | null;
@@ -619155,6 +619943,8 @@ type usersCreateWithoutNationalityInput = {
619155
619943
  department?: departmentsCreateNestedOneWithoutUsersInput;
619156
619944
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
619157
619945
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
619946
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
619947
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
619158
619948
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
619159
619949
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
619160
619950
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
@@ -619236,8 +620026,6 @@ type usersUpdateManyWithWhereWithoutNationalityInput = {
619236
620026
  type usersCreateWithoutSpouse_relationshipInput = {
619237
620027
  id?: bigint | number;
619238
620028
  id_sso?: string | null;
619239
- id_last_accessed_company?: bigint | number | null;
619240
- id_last_accessed_branch?: bigint | number | null;
619241
620029
  logic_code?: string | null;
619242
620030
  code?: string | null;
619243
620031
  name?: string | null;
@@ -619278,6 +620066,8 @@ type usersCreateWithoutSpouse_relationshipInput = {
619278
620066
  branch?: branchesCreateNestedOneWithoutUsersInput;
619279
620067
  department?: departmentsCreateNestedOneWithoutUsersInput;
619280
620068
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
620069
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
620070
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
619281
620071
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
619282
620072
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
619283
620073
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
@@ -619346,8 +620136,6 @@ type usersCreateManySpouse_relationshipInputEnvelope = {
619346
620136
  type usersCreateWithoutEmergency_relationshipInput = {
619347
620137
  id?: bigint | number;
619348
620138
  id_sso?: string | null;
619349
- id_last_accessed_company?: bigint | number | null;
619350
- id_last_accessed_branch?: bigint | number | null;
619351
620139
  logic_code?: string | null;
619352
620140
  code?: string | null;
619353
620141
  name?: string | null;
@@ -619388,6 +620176,8 @@ type usersCreateWithoutEmergency_relationshipInput = {
619388
620176
  branch?: branchesCreateNestedOneWithoutUsersInput;
619389
620177
  department?: departmentsCreateNestedOneWithoutUsersInput;
619390
620178
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
620179
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
620180
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
619391
620181
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
619392
620182
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
619393
620183
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
@@ -619482,8 +620272,6 @@ type usersUpdateManyWithWhereWithoutEmergency_relationshipInput = {
619482
620272
  type usersCreateWithoutUser_attachmentsInput = {
619483
620273
  id?: bigint | number;
619484
620274
  id_sso?: string | null;
619485
- id_last_accessed_company?: bigint | number | null;
619486
- id_last_accessed_branch?: bigint | number | null;
619487
620275
  logic_code?: string | null;
619488
620276
  code?: string | null;
619489
620277
  name?: string | null;
@@ -619525,6 +620313,8 @@ type usersCreateWithoutUser_attachmentsInput = {
619525
620313
  department?: departmentsCreateNestedOneWithoutUsersInput;
619526
620314
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
619527
620315
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
620316
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
620317
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
619528
620318
  user_logs?: user_logsCreateNestedManyWithoutUserInput;
619529
620319
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
619530
620320
  forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsCreateNestedManyWithoutSales_repInput;
@@ -619597,8 +620387,6 @@ type usersUpdateToOneWithWhereWithoutUser_attachmentsInput = {
619597
620387
  type usersUpdateWithoutUser_attachmentsInput = {
619598
620388
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
619599
620389
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
619600
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
619601
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
619602
620390
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
619603
620391
  code?: NullableStringFieldUpdateOperationsInput | string | null;
619604
620392
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -619640,6 +620428,8 @@ type usersUpdateWithoutUser_attachmentsInput = {
619640
620428
  department?: departmentsUpdateOneWithoutUsersNestedInput;
619641
620429
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
619642
620430
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
620431
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
620432
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
619643
620433
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
619644
620434
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
619645
620435
  forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsUpdateManyWithoutSales_repNestedInput;
@@ -619699,8 +620489,6 @@ type usersUncheckedUpdateWithoutUser_attachmentsInput = {
619699
620489
  type usersCreateWithoutUser_logsInput = {
619700
620490
  id?: bigint | number;
619701
620491
  id_sso?: string | null;
619702
- id_last_accessed_company?: bigint | number | null;
619703
- id_last_accessed_branch?: bigint | number | null;
619704
620492
  logic_code?: string | null;
619705
620493
  code?: string | null;
619706
620494
  name?: string | null;
@@ -619742,6 +620530,8 @@ type usersCreateWithoutUser_logsInput = {
619742
620530
  department?: departmentsCreateNestedOneWithoutUsersInput;
619743
620531
  spouse_relationship?: relationshipsCreateNestedOneWithoutUsers_spouseInput;
619744
620532
  emergency_relationship?: relationshipsCreateNestedOneWithoutUsers_emergencyInput;
620533
+ last_accessed_company?: companiesCreateNestedOneWithoutUsers_last_accessedInput;
620534
+ last_accessed_branch?: branchesCreateNestedOneWithoutUsers_last_accessedInput;
619745
620535
  organization_staff_assignments?: organization_staff_assignmentsCreateNestedManyWithoutUserInput;
619746
620536
  user_attachments?: user_attachmentsCreateNestedManyWithoutUserInput;
619747
620537
  forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsCreateNestedManyWithoutSales_repInput;
@@ -619814,8 +620604,6 @@ type usersUpdateToOneWithWhereWithoutUser_logsInput = {
619814
620604
  type usersUpdateWithoutUser_logsInput = {
619815
620605
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
619816
620606
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
619817
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
619818
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
619819
620607
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
619820
620608
  code?: NullableStringFieldUpdateOperationsInput | string | null;
619821
620609
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -619857,6 +620645,8 @@ type usersUpdateWithoutUser_logsInput = {
619857
620645
  department?: departmentsUpdateOneWithoutUsersNestedInput;
619858
620646
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
619859
620647
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
620648
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
620649
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
619860
620650
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
619861
620651
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
619862
620652
  forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsUpdateManyWithoutSales_repNestedInput;
@@ -619962,8 +620752,6 @@ type usersCreateManyCountryInput = {
619962
620752
  type usersUpdateWithoutCountryInput = {
619963
620753
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
619964
620754
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
619965
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
619966
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
619967
620755
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
619968
620756
  code?: NullableStringFieldUpdateOperationsInput | string | null;
619969
620757
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -620004,6 +620792,8 @@ type usersUpdateWithoutCountryInput = {
620004
620792
  department?: departmentsUpdateOneWithoutUsersNestedInput;
620005
620793
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
620006
620794
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
620795
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
620796
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
620007
620797
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
620008
620798
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
620009
620799
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
@@ -620156,8 +620946,6 @@ type usersCreateManyStateInput = {
620156
620946
  type usersUpdateWithoutStateInput = {
620157
620947
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
620158
620948
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
620159
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
620160
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
620161
620949
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
620162
620950
  code?: NullableStringFieldUpdateOperationsInput | string | null;
620163
620951
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -620198,6 +620986,8 @@ type usersUpdateWithoutStateInput = {
620198
620986
  department?: departmentsUpdateOneWithoutUsersNestedInput;
620199
620987
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
620200
620988
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
620989
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
620990
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
620201
620991
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
620202
620992
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
620203
620993
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
@@ -620350,8 +621140,6 @@ type usersCreateManyCityInput = {
620350
621140
  type usersUpdateWithoutCityInput = {
620351
621141
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
620352
621142
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
620353
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
620354
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
620355
621143
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
620356
621144
  code?: NullableStringFieldUpdateOperationsInput | string | null;
620357
621145
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -620392,6 +621180,8 @@ type usersUpdateWithoutCityInput = {
620392
621180
  department?: departmentsUpdateOneWithoutUsersNestedInput;
620393
621181
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
620394
621182
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
621183
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
621184
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
620395
621185
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
620396
621186
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
620397
621187
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
@@ -620544,8 +621334,6 @@ type usersCreateManyPostal_codeInput = {
620544
621334
  type usersUpdateWithoutPostal_codeInput = {
620545
621335
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
620546
621336
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
620547
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
620548
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
620549
621337
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
620550
621338
  code?: NullableStringFieldUpdateOperationsInput | string | null;
620551
621339
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -620586,6 +621374,8 @@ type usersUpdateWithoutPostal_codeInput = {
620586
621374
  department?: departmentsUpdateOneWithoutUsersNestedInput;
620587
621375
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
620588
621376
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
621377
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
621378
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
620589
621379
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
620590
621380
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
620591
621381
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
@@ -620735,11 +621525,55 @@ type usersCreateManyCompanyInput = {
620735
621525
  updated_at?: Date | string | null;
620736
621526
  updated_by?: string | null;
620737
621527
  };
621528
+ type usersCreateManyLast_accessed_companyInput = {
621529
+ id?: bigint | number;
621530
+ id_sso?: string | null;
621531
+ id_country?: bigint | number | null;
621532
+ id_state?: bigint | number | null;
621533
+ id_city?: bigint | number | null;
621534
+ id_postal_code?: bigint | number | null;
621535
+ id_nationality?: bigint | number | null;
621536
+ id_company?: bigint | number | null;
621537
+ id_branch?: bigint | number | null;
621538
+ id_department?: bigint | number | null;
621539
+ id_spouse_relationship?: bigint | number | null;
621540
+ id_emergency_relationship?: bigint | number | null;
621541
+ id_last_accessed_branch?: bigint | number | null;
621542
+ logic_code?: string | null;
621543
+ code?: string | null;
621544
+ name?: string | null;
621545
+ pref_name?: string | null;
621546
+ address?: string | null;
621547
+ date_of_birth?: Date | string | null;
621548
+ employment_date?: Date | string | null;
621549
+ depart_date?: Date | string | null;
621550
+ gender?: gender | null;
621551
+ job_title?: string | null;
621552
+ work_phone?: string | null;
621553
+ work_extension?: string | null;
621554
+ work_fax?: string | null;
621555
+ home_phone?: string | null;
621556
+ mobile_phone?: string | null;
621557
+ other_reference?: string | null;
621558
+ personal_email?: string | null;
621559
+ work_email?: string | null;
621560
+ spouse_name?: string | null;
621561
+ spouse_phone?: string | null;
621562
+ spouse_email?: string | null;
621563
+ emergency_name?: string | null;
621564
+ emergency_phone?: string | null;
621565
+ emergency_email?: string | null;
621566
+ profile_photo_url?: string | null;
621567
+ signature_url?: string | null;
621568
+ is_active?: boolean | null;
621569
+ created_at?: Date | string | null;
621570
+ created_by?: string | null;
621571
+ updated_at?: Date | string | null;
621572
+ updated_by?: string | null;
621573
+ };
620738
621574
  type usersUpdateWithoutCompanyInput = {
620739
621575
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
620740
621576
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
620741
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
620742
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
620743
621577
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
620744
621578
  code?: NullableStringFieldUpdateOperationsInput | string | null;
620745
621579
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -620780,6 +621614,8 @@ type usersUpdateWithoutCompanyInput = {
620780
621614
  department?: departmentsUpdateOneWithoutUsersNestedInput;
620781
621615
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
620782
621616
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
621617
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
621618
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
620783
621619
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
620784
621620
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
620785
621621
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
@@ -620883,6 +621719,154 @@ type usersUncheckedUpdateManyWithoutCompanyInput = {
620883
621719
  updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
620884
621720
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
620885
621721
  };
621722
+ type usersUpdateWithoutLast_accessed_companyInput = {
621723
+ id?: BigIntFieldUpdateOperationsInput | bigint | number;
621724
+ id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
621725
+ logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
621726
+ code?: NullableStringFieldUpdateOperationsInput | string | null;
621727
+ name?: NullableStringFieldUpdateOperationsInput | string | null;
621728
+ pref_name?: NullableStringFieldUpdateOperationsInput | string | null;
621729
+ address?: NullableStringFieldUpdateOperationsInput | string | null;
621730
+ date_of_birth?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621731
+ employment_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621732
+ depart_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621733
+ gender?: NullableEnumgenderFieldUpdateOperationsInput | gender | null;
621734
+ job_title?: NullableStringFieldUpdateOperationsInput | string | null;
621735
+ work_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621736
+ work_extension?: NullableStringFieldUpdateOperationsInput | string | null;
621737
+ work_fax?: NullableStringFieldUpdateOperationsInput | string | null;
621738
+ home_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621739
+ mobile_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621740
+ other_reference?: NullableStringFieldUpdateOperationsInput | string | null;
621741
+ personal_email?: NullableStringFieldUpdateOperationsInput | string | null;
621742
+ work_email?: NullableStringFieldUpdateOperationsInput | string | null;
621743
+ spouse_name?: NullableStringFieldUpdateOperationsInput | string | null;
621744
+ spouse_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621745
+ spouse_email?: NullableStringFieldUpdateOperationsInput | string | null;
621746
+ emergency_name?: NullableStringFieldUpdateOperationsInput | string | null;
621747
+ emergency_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621748
+ emergency_email?: NullableStringFieldUpdateOperationsInput | string | null;
621749
+ profile_photo_url?: NullableStringFieldUpdateOperationsInput | string | null;
621750
+ signature_url?: NullableStringFieldUpdateOperationsInput | string | null;
621751
+ is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
621752
+ created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621753
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null;
621754
+ updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621755
+ updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
621756
+ country?: countriesUpdateOneWithoutUsersNestedInput;
621757
+ state?: statesUpdateOneWithoutUsersNestedInput;
621758
+ city?: citiesUpdateOneWithoutUsersNestedInput;
621759
+ postal_code?: postal_codesUpdateOneWithoutUsersNestedInput;
621760
+ nationality?: nationalitiesUpdateOneWithoutUsersNestedInput;
621761
+ company?: companiesUpdateOneWithoutUsersNestedInput;
621762
+ branch?: branchesUpdateOneWithoutUsersNestedInput;
621763
+ department?: departmentsUpdateOneWithoutUsersNestedInput;
621764
+ spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
621765
+ emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
621766
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
621767
+ user_logs?: user_logsUpdateManyWithoutUserNestedInput;
621768
+ organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
621769
+ user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
621770
+ forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsUpdateManyWithoutSales_repNestedInput;
621771
+ forwarding_shipment_billings_operation_rep?: forwarding_shipment_billingsUpdateManyWithoutOperation_repNestedInput;
621772
+ };
621773
+ type usersUncheckedUpdateWithoutLast_accessed_companyInput = {
621774
+ id?: BigIntFieldUpdateOperationsInput | bigint | number;
621775
+ id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
621776
+ id_country?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621777
+ id_state?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621778
+ id_city?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621779
+ id_postal_code?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621780
+ id_nationality?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621781
+ id_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621782
+ id_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621783
+ id_department?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621784
+ id_spouse_relationship?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621785
+ id_emergency_relationship?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621786
+ id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621787
+ logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
621788
+ code?: NullableStringFieldUpdateOperationsInput | string | null;
621789
+ name?: NullableStringFieldUpdateOperationsInput | string | null;
621790
+ pref_name?: NullableStringFieldUpdateOperationsInput | string | null;
621791
+ address?: NullableStringFieldUpdateOperationsInput | string | null;
621792
+ date_of_birth?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621793
+ employment_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621794
+ depart_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621795
+ gender?: NullableEnumgenderFieldUpdateOperationsInput | gender | null;
621796
+ job_title?: NullableStringFieldUpdateOperationsInput | string | null;
621797
+ work_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621798
+ work_extension?: NullableStringFieldUpdateOperationsInput | string | null;
621799
+ work_fax?: NullableStringFieldUpdateOperationsInput | string | null;
621800
+ home_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621801
+ mobile_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621802
+ other_reference?: NullableStringFieldUpdateOperationsInput | string | null;
621803
+ personal_email?: NullableStringFieldUpdateOperationsInput | string | null;
621804
+ work_email?: NullableStringFieldUpdateOperationsInput | string | null;
621805
+ spouse_name?: NullableStringFieldUpdateOperationsInput | string | null;
621806
+ spouse_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621807
+ spouse_email?: NullableStringFieldUpdateOperationsInput | string | null;
621808
+ emergency_name?: NullableStringFieldUpdateOperationsInput | string | null;
621809
+ emergency_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621810
+ emergency_email?: NullableStringFieldUpdateOperationsInput | string | null;
621811
+ profile_photo_url?: NullableStringFieldUpdateOperationsInput | string | null;
621812
+ signature_url?: NullableStringFieldUpdateOperationsInput | string | null;
621813
+ is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
621814
+ created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621815
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null;
621816
+ updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621817
+ updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
621818
+ user_logs?: user_logsUncheckedUpdateManyWithoutUserNestedInput;
621819
+ organization_staff_assignments?: organization_staff_assignmentsUncheckedUpdateManyWithoutUserNestedInput;
621820
+ user_attachments?: user_attachmentsUncheckedUpdateManyWithoutUserNestedInput;
621821
+ forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsUncheckedUpdateManyWithoutSales_repNestedInput;
621822
+ forwarding_shipment_billings_operation_rep?: forwarding_shipment_billingsUncheckedUpdateManyWithoutOperation_repNestedInput;
621823
+ };
621824
+ type usersUncheckedUpdateManyWithoutLast_accessed_companyInput = {
621825
+ id?: BigIntFieldUpdateOperationsInput | bigint | number;
621826
+ id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
621827
+ id_country?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621828
+ id_state?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621829
+ id_city?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621830
+ id_postal_code?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621831
+ id_nationality?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621832
+ id_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621833
+ id_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621834
+ id_department?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621835
+ id_spouse_relationship?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621836
+ id_emergency_relationship?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621837
+ id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621838
+ logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
621839
+ code?: NullableStringFieldUpdateOperationsInput | string | null;
621840
+ name?: NullableStringFieldUpdateOperationsInput | string | null;
621841
+ pref_name?: NullableStringFieldUpdateOperationsInput | string | null;
621842
+ address?: NullableStringFieldUpdateOperationsInput | string | null;
621843
+ date_of_birth?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621844
+ employment_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621845
+ depart_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621846
+ gender?: NullableEnumgenderFieldUpdateOperationsInput | gender | null;
621847
+ job_title?: NullableStringFieldUpdateOperationsInput | string | null;
621848
+ work_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621849
+ work_extension?: NullableStringFieldUpdateOperationsInput | string | null;
621850
+ work_fax?: NullableStringFieldUpdateOperationsInput | string | null;
621851
+ home_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621852
+ mobile_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621853
+ other_reference?: NullableStringFieldUpdateOperationsInput | string | null;
621854
+ personal_email?: NullableStringFieldUpdateOperationsInput | string | null;
621855
+ work_email?: NullableStringFieldUpdateOperationsInput | string | null;
621856
+ spouse_name?: NullableStringFieldUpdateOperationsInput | string | null;
621857
+ spouse_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621858
+ spouse_email?: NullableStringFieldUpdateOperationsInput | string | null;
621859
+ emergency_name?: NullableStringFieldUpdateOperationsInput | string | null;
621860
+ emergency_phone?: NullableStringFieldUpdateOperationsInput | string | null;
621861
+ emergency_email?: NullableStringFieldUpdateOperationsInput | string | null;
621862
+ profile_photo_url?: NullableStringFieldUpdateOperationsInput | string | null;
621863
+ signature_url?: NullableStringFieldUpdateOperationsInput | string | null;
621864
+ is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
621865
+ created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621866
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null;
621867
+ updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621868
+ updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
621869
+ };
620886
621870
  type usersCreateManyBranchInput = {
620887
621871
  id?: bigint | number;
620888
621872
  id_sso?: string | null;
@@ -620929,11 +621913,55 @@ type usersCreateManyBranchInput = {
620929
621913
  updated_at?: Date | string | null;
620930
621914
  updated_by?: string | null;
620931
621915
  };
621916
+ type usersCreateManyLast_accessed_branchInput = {
621917
+ id?: bigint | number;
621918
+ id_sso?: string | null;
621919
+ id_country?: bigint | number | null;
621920
+ id_state?: bigint | number | null;
621921
+ id_city?: bigint | number | null;
621922
+ id_postal_code?: bigint | number | null;
621923
+ id_nationality?: bigint | number | null;
621924
+ id_company?: bigint | number | null;
621925
+ id_branch?: bigint | number | null;
621926
+ id_department?: bigint | number | null;
621927
+ id_spouse_relationship?: bigint | number | null;
621928
+ id_emergency_relationship?: bigint | number | null;
621929
+ id_last_accessed_company?: bigint | number | null;
621930
+ logic_code?: string | null;
621931
+ code?: string | null;
621932
+ name?: string | null;
621933
+ pref_name?: string | null;
621934
+ address?: string | null;
621935
+ date_of_birth?: Date | string | null;
621936
+ employment_date?: Date | string | null;
621937
+ depart_date?: Date | string | null;
621938
+ gender?: gender | null;
621939
+ job_title?: string | null;
621940
+ work_phone?: string | null;
621941
+ work_extension?: string | null;
621942
+ work_fax?: string | null;
621943
+ home_phone?: string | null;
621944
+ mobile_phone?: string | null;
621945
+ other_reference?: string | null;
621946
+ personal_email?: string | null;
621947
+ work_email?: string | null;
621948
+ spouse_name?: string | null;
621949
+ spouse_phone?: string | null;
621950
+ spouse_email?: string | null;
621951
+ emergency_name?: string | null;
621952
+ emergency_phone?: string | null;
621953
+ emergency_email?: string | null;
621954
+ profile_photo_url?: string | null;
621955
+ signature_url?: string | null;
621956
+ is_active?: boolean | null;
621957
+ created_at?: Date | string | null;
621958
+ created_by?: string | null;
621959
+ updated_at?: Date | string | null;
621960
+ updated_by?: string | null;
621961
+ };
620932
621962
  type usersUpdateWithoutBranchInput = {
620933
621963
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
620934
621964
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
620935
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
620936
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
620937
621965
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
620938
621966
  code?: NullableStringFieldUpdateOperationsInput | string | null;
620939
621967
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -620974,6 +622002,8 @@ type usersUpdateWithoutBranchInput = {
620974
622002
  department?: departmentsUpdateOneWithoutUsersNestedInput;
620975
622003
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
620976
622004
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
622005
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
622006
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
620977
622007
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
620978
622008
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
620979
622009
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
@@ -621077,6 +622107,154 @@ type usersUncheckedUpdateManyWithoutBranchInput = {
621077
622107
  updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
621078
622108
  updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
621079
622109
  };
622110
+ type usersUpdateWithoutLast_accessed_branchInput = {
622111
+ id?: BigIntFieldUpdateOperationsInput | bigint | number;
622112
+ id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
622113
+ logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
622114
+ code?: NullableStringFieldUpdateOperationsInput | string | null;
622115
+ name?: NullableStringFieldUpdateOperationsInput | string | null;
622116
+ pref_name?: NullableStringFieldUpdateOperationsInput | string | null;
622117
+ address?: NullableStringFieldUpdateOperationsInput | string | null;
622118
+ date_of_birth?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622119
+ employment_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622120
+ depart_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622121
+ gender?: NullableEnumgenderFieldUpdateOperationsInput | gender | null;
622122
+ job_title?: NullableStringFieldUpdateOperationsInput | string | null;
622123
+ work_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622124
+ work_extension?: NullableStringFieldUpdateOperationsInput | string | null;
622125
+ work_fax?: NullableStringFieldUpdateOperationsInput | string | null;
622126
+ home_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622127
+ mobile_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622128
+ other_reference?: NullableStringFieldUpdateOperationsInput | string | null;
622129
+ personal_email?: NullableStringFieldUpdateOperationsInput | string | null;
622130
+ work_email?: NullableStringFieldUpdateOperationsInput | string | null;
622131
+ spouse_name?: NullableStringFieldUpdateOperationsInput | string | null;
622132
+ spouse_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622133
+ spouse_email?: NullableStringFieldUpdateOperationsInput | string | null;
622134
+ emergency_name?: NullableStringFieldUpdateOperationsInput | string | null;
622135
+ emergency_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622136
+ emergency_email?: NullableStringFieldUpdateOperationsInput | string | null;
622137
+ profile_photo_url?: NullableStringFieldUpdateOperationsInput | string | null;
622138
+ signature_url?: NullableStringFieldUpdateOperationsInput | string | null;
622139
+ is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
622140
+ created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622141
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null;
622142
+ updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622143
+ updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
622144
+ country?: countriesUpdateOneWithoutUsersNestedInput;
622145
+ state?: statesUpdateOneWithoutUsersNestedInput;
622146
+ city?: citiesUpdateOneWithoutUsersNestedInput;
622147
+ postal_code?: postal_codesUpdateOneWithoutUsersNestedInput;
622148
+ nationality?: nationalitiesUpdateOneWithoutUsersNestedInput;
622149
+ company?: companiesUpdateOneWithoutUsersNestedInput;
622150
+ branch?: branchesUpdateOneWithoutUsersNestedInput;
622151
+ department?: departmentsUpdateOneWithoutUsersNestedInput;
622152
+ spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
622153
+ emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
622154
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
622155
+ user_logs?: user_logsUpdateManyWithoutUserNestedInput;
622156
+ organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
622157
+ user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
622158
+ forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsUpdateManyWithoutSales_repNestedInput;
622159
+ forwarding_shipment_billings_operation_rep?: forwarding_shipment_billingsUpdateManyWithoutOperation_repNestedInput;
622160
+ };
622161
+ type usersUncheckedUpdateWithoutLast_accessed_branchInput = {
622162
+ id?: BigIntFieldUpdateOperationsInput | bigint | number;
622163
+ id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
622164
+ id_country?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622165
+ id_state?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622166
+ id_city?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622167
+ id_postal_code?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622168
+ id_nationality?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622169
+ id_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622170
+ id_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622171
+ id_department?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622172
+ id_spouse_relationship?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622173
+ id_emergency_relationship?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622174
+ id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622175
+ logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
622176
+ code?: NullableStringFieldUpdateOperationsInput | string | null;
622177
+ name?: NullableStringFieldUpdateOperationsInput | string | null;
622178
+ pref_name?: NullableStringFieldUpdateOperationsInput | string | null;
622179
+ address?: NullableStringFieldUpdateOperationsInput | string | null;
622180
+ date_of_birth?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622181
+ employment_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622182
+ depart_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622183
+ gender?: NullableEnumgenderFieldUpdateOperationsInput | gender | null;
622184
+ job_title?: NullableStringFieldUpdateOperationsInput | string | null;
622185
+ work_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622186
+ work_extension?: NullableStringFieldUpdateOperationsInput | string | null;
622187
+ work_fax?: NullableStringFieldUpdateOperationsInput | string | null;
622188
+ home_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622189
+ mobile_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622190
+ other_reference?: NullableStringFieldUpdateOperationsInput | string | null;
622191
+ personal_email?: NullableStringFieldUpdateOperationsInput | string | null;
622192
+ work_email?: NullableStringFieldUpdateOperationsInput | string | null;
622193
+ spouse_name?: NullableStringFieldUpdateOperationsInput | string | null;
622194
+ spouse_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622195
+ spouse_email?: NullableStringFieldUpdateOperationsInput | string | null;
622196
+ emergency_name?: NullableStringFieldUpdateOperationsInput | string | null;
622197
+ emergency_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622198
+ emergency_email?: NullableStringFieldUpdateOperationsInput | string | null;
622199
+ profile_photo_url?: NullableStringFieldUpdateOperationsInput | string | null;
622200
+ signature_url?: NullableStringFieldUpdateOperationsInput | string | null;
622201
+ is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
622202
+ created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622203
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null;
622204
+ updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622205
+ updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
622206
+ user_logs?: user_logsUncheckedUpdateManyWithoutUserNestedInput;
622207
+ organization_staff_assignments?: organization_staff_assignmentsUncheckedUpdateManyWithoutUserNestedInput;
622208
+ user_attachments?: user_attachmentsUncheckedUpdateManyWithoutUserNestedInput;
622209
+ forwarding_shipment_billings_sales_rep?: forwarding_shipment_billingsUncheckedUpdateManyWithoutSales_repNestedInput;
622210
+ forwarding_shipment_billings_operation_rep?: forwarding_shipment_billingsUncheckedUpdateManyWithoutOperation_repNestedInput;
622211
+ };
622212
+ type usersUncheckedUpdateManyWithoutLast_accessed_branchInput = {
622213
+ id?: BigIntFieldUpdateOperationsInput | bigint | number;
622214
+ id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
622215
+ id_country?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622216
+ id_state?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622217
+ id_city?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622218
+ id_postal_code?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622219
+ id_nationality?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622220
+ id_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622221
+ id_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622222
+ id_department?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622223
+ id_spouse_relationship?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622224
+ id_emergency_relationship?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622225
+ id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
622226
+ logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
622227
+ code?: NullableStringFieldUpdateOperationsInput | string | null;
622228
+ name?: NullableStringFieldUpdateOperationsInput | string | null;
622229
+ pref_name?: NullableStringFieldUpdateOperationsInput | string | null;
622230
+ address?: NullableStringFieldUpdateOperationsInput | string | null;
622231
+ date_of_birth?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622232
+ employment_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622233
+ depart_date?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622234
+ gender?: NullableEnumgenderFieldUpdateOperationsInput | gender | null;
622235
+ job_title?: NullableStringFieldUpdateOperationsInput | string | null;
622236
+ work_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622237
+ work_extension?: NullableStringFieldUpdateOperationsInput | string | null;
622238
+ work_fax?: NullableStringFieldUpdateOperationsInput | string | null;
622239
+ home_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622240
+ mobile_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622241
+ other_reference?: NullableStringFieldUpdateOperationsInput | string | null;
622242
+ personal_email?: NullableStringFieldUpdateOperationsInput | string | null;
622243
+ work_email?: NullableStringFieldUpdateOperationsInput | string | null;
622244
+ spouse_name?: NullableStringFieldUpdateOperationsInput | string | null;
622245
+ spouse_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622246
+ spouse_email?: NullableStringFieldUpdateOperationsInput | string | null;
622247
+ emergency_name?: NullableStringFieldUpdateOperationsInput | string | null;
622248
+ emergency_phone?: NullableStringFieldUpdateOperationsInput | string | null;
622249
+ emergency_email?: NullableStringFieldUpdateOperationsInput | string | null;
622250
+ profile_photo_url?: NullableStringFieldUpdateOperationsInput | string | null;
622251
+ signature_url?: NullableStringFieldUpdateOperationsInput | string | null;
622252
+ is_active?: NullableBoolFieldUpdateOperationsInput | boolean | null;
622253
+ created_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622254
+ created_by?: NullableStringFieldUpdateOperationsInput | string | null;
622255
+ updated_at?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
622256
+ updated_by?: NullableStringFieldUpdateOperationsInput | string | null;
622257
+ };
621080
622258
  type usersCreateManyDepartmentInput = {
621081
622259
  id?: bigint | number;
621082
622260
  id_sso?: string | null;
@@ -621126,8 +622304,6 @@ type usersCreateManyDepartmentInput = {
621126
622304
  type usersUpdateWithoutDepartmentInput = {
621127
622305
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
621128
622306
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
621129
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621130
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621131
622307
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
621132
622308
  code?: NullableStringFieldUpdateOperationsInput | string | null;
621133
622309
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -621168,6 +622344,8 @@ type usersUpdateWithoutDepartmentInput = {
621168
622344
  branch?: branchesUpdateOneWithoutUsersNestedInput;
621169
622345
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
621170
622346
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
622347
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
622348
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
621171
622349
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
621172
622350
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
621173
622351
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
@@ -621320,8 +622498,6 @@ type usersCreateManyNationalityInput = {
621320
622498
  type usersUpdateWithoutNationalityInput = {
621321
622499
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
621322
622500
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
621323
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621324
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621325
622501
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
621326
622502
  code?: NullableStringFieldUpdateOperationsInput | string | null;
621327
622503
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -621362,6 +622538,8 @@ type usersUpdateWithoutNationalityInput = {
621362
622538
  department?: departmentsUpdateOneWithoutUsersNestedInput;
621363
622539
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
621364
622540
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
622541
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
622542
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
621365
622543
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
621366
622544
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
621367
622545
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
@@ -621560,8 +622738,6 @@ type usersCreateManyEmergency_relationshipInput = {
621560
622738
  type usersUpdateWithoutSpouse_relationshipInput = {
621561
622739
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
621562
622740
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
621563
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621564
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621565
622741
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
621566
622742
  code?: NullableStringFieldUpdateOperationsInput | string | null;
621567
622743
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -621602,6 +622778,8 @@ type usersUpdateWithoutSpouse_relationshipInput = {
621602
622778
  branch?: branchesUpdateOneWithoutUsersNestedInput;
621603
622779
  department?: departmentsUpdateOneWithoutUsersNestedInput;
621604
622780
  emergency_relationship?: relationshipsUpdateOneWithoutUsers_emergencyNestedInput;
622781
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
622782
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
621605
622783
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
621606
622784
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
621607
622785
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
@@ -621708,8 +622886,6 @@ type usersUncheckedUpdateManyWithoutSpouse_relationshipInput = {
621708
622886
  type usersUpdateWithoutEmergency_relationshipInput = {
621709
622887
  id?: BigIntFieldUpdateOperationsInput | bigint | number;
621710
622888
  id_sso?: NullableStringFieldUpdateOperationsInput | string | null;
621711
- id_last_accessed_company?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621712
- id_last_accessed_branch?: NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
621713
622889
  logic_code?: NullableStringFieldUpdateOperationsInput | string | null;
621714
622890
  code?: NullableStringFieldUpdateOperationsInput | string | null;
621715
622891
  name?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -621750,6 +622926,8 @@ type usersUpdateWithoutEmergency_relationshipInput = {
621750
622926
  branch?: branchesUpdateOneWithoutUsersNestedInput;
621751
622927
  department?: departmentsUpdateOneWithoutUsersNestedInput;
621752
622928
  spouse_relationship?: relationshipsUpdateOneWithoutUsers_spouseNestedInput;
622929
+ last_accessed_company?: companiesUpdateOneWithoutUsers_last_accessedNestedInput;
622930
+ last_accessed_branch?: branchesUpdateOneWithoutUsers_last_accessedNestedInput;
621753
622931
  user_logs?: user_logsUpdateManyWithoutUserNestedInput;
621754
622932
  organization_staff_assignments?: organization_staff_assignmentsUpdateManyWithoutUserNestedInput;
621755
622933
  user_attachments?: user_attachmentsUpdateManyWithoutUserNestedInput;
@@ -621959,6 +623137,8 @@ type usersSelect<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Exten
621959
623137
  department?: boolean | users$departmentArgs<ExtArgs>;
621960
623138
  spouse_relationship?: boolean | users$spouse_relationshipArgs<ExtArgs>;
621961
623139
  emergency_relationship?: boolean | users$emergency_relationshipArgs<ExtArgs>;
623140
+ last_accessed_company?: boolean | users$last_accessed_companyArgs<ExtArgs>;
623141
+ last_accessed_branch?: boolean | users$last_accessed_branchArgs<ExtArgs>;
621962
623142
  user_logs?: boolean | users$user_logsArgs<ExtArgs>;
621963
623143
  organization_staff_assignments?: boolean | users$organization_staff_assignmentsArgs<ExtArgs>;
621964
623144
  user_attachments?: boolean | users$user_attachmentsArgs<ExtArgs>;
@@ -622022,6 +623202,8 @@ type usersSelectCreateManyAndReturn<ExtArgs extends Types$1.Extensions.InternalA
622022
623202
  department?: boolean | users$departmentArgs<ExtArgs>;
622023
623203
  spouse_relationship?: boolean | users$spouse_relationshipArgs<ExtArgs>;
622024
623204
  emergency_relationship?: boolean | users$emergency_relationshipArgs<ExtArgs>;
623205
+ last_accessed_company?: boolean | users$last_accessed_companyArgs<ExtArgs>;
623206
+ last_accessed_branch?: boolean | users$last_accessed_branchArgs<ExtArgs>;
622025
623207
  }, ExtArgs["result"]["users"]>;
622026
623208
  type usersSelectUpdateManyAndReturn<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = Types$1.Extensions.GetSelect<{
622027
623209
  id?: boolean;
@@ -622079,6 +623261,8 @@ type usersSelectUpdateManyAndReturn<ExtArgs extends Types$1.Extensions.InternalA
622079
623261
  department?: boolean | users$departmentArgs<ExtArgs>;
622080
623262
  spouse_relationship?: boolean | users$spouse_relationshipArgs<ExtArgs>;
622081
623263
  emergency_relationship?: boolean | users$emergency_relationshipArgs<ExtArgs>;
623264
+ last_accessed_company?: boolean | users$last_accessed_companyArgs<ExtArgs>;
623265
+ last_accessed_branch?: boolean | users$last_accessed_branchArgs<ExtArgs>;
622082
623266
  }, ExtArgs["result"]["users"]>;
622083
623267
  type usersOmit<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = Types$1.Extensions.GetOmit<"id" | "id_sso" | "id_country" | "id_state" | "id_city" | "id_postal_code" | "id_nationality" | "id_company" | "id_branch" | "id_department" | "id_spouse_relationship" | "id_emergency_relationship" | "id_last_accessed_company" | "id_last_accessed_branch" | "logic_code" | "code" | "name" | "pref_name" | "address" | "date_of_birth" | "employment_date" | "depart_date" | "gender" | "job_title" | "work_phone" | "work_extension" | "work_fax" | "home_phone" | "mobile_phone" | "other_reference" | "personal_email" | "work_email" | "spouse_name" | "spouse_phone" | "spouse_email" | "emergency_name" | "emergency_phone" | "emergency_email" | "profile_photo_url" | "signature_url" | "is_active" | "created_at" | "created_by" | "updated_at" | "updated_by", ExtArgs["result"]["users"]>;
622084
623268
  type usersInclude<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = {
@@ -622092,6 +623276,8 @@ type usersInclude<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Exte
622092
623276
  department?: boolean | users$departmentArgs<ExtArgs>;
622093
623277
  spouse_relationship?: boolean | users$spouse_relationshipArgs<ExtArgs>;
622094
623278
  emergency_relationship?: boolean | users$emergency_relationshipArgs<ExtArgs>;
623279
+ last_accessed_company?: boolean | users$last_accessed_companyArgs<ExtArgs>;
623280
+ last_accessed_branch?: boolean | users$last_accessed_branchArgs<ExtArgs>;
622095
623281
  user_logs?: boolean | users$user_logsArgs<ExtArgs>;
622096
623282
  organization_staff_assignments?: boolean | users$organization_staff_assignmentsArgs<ExtArgs>;
622097
623283
  user_attachments?: boolean | users$user_attachmentsArgs<ExtArgs>;
@@ -622110,6 +623296,8 @@ type usersIncludeCreateManyAndReturn<ExtArgs extends Types$1.Extensions.Internal
622110
623296
  department?: boolean | users$departmentArgs<ExtArgs>;
622111
623297
  spouse_relationship?: boolean | users$spouse_relationshipArgs<ExtArgs>;
622112
623298
  emergency_relationship?: boolean | users$emergency_relationshipArgs<ExtArgs>;
623299
+ last_accessed_company?: boolean | users$last_accessed_companyArgs<ExtArgs>;
623300
+ last_accessed_branch?: boolean | users$last_accessed_branchArgs<ExtArgs>;
622113
623301
  };
622114
623302
  type usersIncludeUpdateManyAndReturn<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = {
622115
623303
  country?: boolean | users$countryArgs<ExtArgs>;
@@ -622122,6 +623310,8 @@ type usersIncludeUpdateManyAndReturn<ExtArgs extends Types$1.Extensions.Internal
622122
623310
  department?: boolean | users$departmentArgs<ExtArgs>;
622123
623311
  spouse_relationship?: boolean | users$spouse_relationshipArgs<ExtArgs>;
622124
623312
  emergency_relationship?: boolean | users$emergency_relationshipArgs<ExtArgs>;
623313
+ last_accessed_company?: boolean | users$last_accessed_companyArgs<ExtArgs>;
623314
+ last_accessed_branch?: boolean | users$last_accessed_branchArgs<ExtArgs>;
622125
623315
  };
622126
623316
  type $usersPayload<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = {
622127
623317
  name: "users";
@@ -622136,6 +623326,8 @@ type $usersPayload<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Ext
622136
623326
  department: $departmentsPayload<ExtArgs> | null;
622137
623327
  spouse_relationship: $relationshipsPayload<ExtArgs> | null;
622138
623328
  emergency_relationship: $relationshipsPayload<ExtArgs> | null;
623329
+ last_accessed_company: $companiesPayload<ExtArgs> | null;
623330
+ last_accessed_branch: $branchesPayload<ExtArgs> | null;
622139
623331
  user_logs: $user_logsPayload<ExtArgs>[];
622140
623332
  organization_staff_assignments: $organization_staff_assignmentsPayload<ExtArgs>[];
622141
623333
  user_attachments: $user_attachmentsPayload<ExtArgs>[];
@@ -622513,6 +623705,8 @@ interface Prisma__usersClient<T$1, Null = never, ExtArgs extends Types$1.Extensi
622513
623705
  department<T$1 extends users$departmentArgs<ExtArgs> = {}>(args?: Subset<T$1, users$departmentArgs<ExtArgs>>): Prisma__departmentsClient<Types$1.Result.GetResult<$departmentsPayload<ExtArgs>, T$1, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
622514
623706
  spouse_relationship<T$1 extends users$spouse_relationshipArgs<ExtArgs> = {}>(args?: Subset<T$1, users$spouse_relationshipArgs<ExtArgs>>): Prisma__relationshipsClient<Types$1.Result.GetResult<$relationshipsPayload<ExtArgs>, T$1, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
622515
623707
  emergency_relationship<T$1 extends users$emergency_relationshipArgs<ExtArgs> = {}>(args?: Subset<T$1, users$emergency_relationshipArgs<ExtArgs>>): Prisma__relationshipsClient<Types$1.Result.GetResult<$relationshipsPayload<ExtArgs>, T$1, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
623708
+ last_accessed_company<T$1 extends users$last_accessed_companyArgs<ExtArgs> = {}>(args?: Subset<T$1, users$last_accessed_companyArgs<ExtArgs>>): Prisma__companiesClient<Types$1.Result.GetResult<$companiesPayload<ExtArgs>, T$1, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
623709
+ last_accessed_branch<T$1 extends users$last_accessed_branchArgs<ExtArgs> = {}>(args?: Subset<T$1, users$last_accessed_branchArgs<ExtArgs>>): Prisma__branchesClient<Types$1.Result.GetResult<$branchesPayload<ExtArgs>, T$1, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
622516
623710
  user_logs<T$1 extends users$user_logsArgs<ExtArgs> = {}>(args?: Subset<T$1, users$user_logsArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$user_logsPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
622517
623711
  organization_staff_assignments<T$1 extends users$organization_staff_assignmentsArgs<ExtArgs> = {}>(args?: Subset<T$1, users$organization_staff_assignmentsArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$organization_staff_assignmentsPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
622518
623712
  user_attachments<T$1 extends users$user_attachmentsArgs<ExtArgs> = {}>(args?: Subset<T$1, users$user_attachmentsArgs<ExtArgs>>): PrismaPromise<Types$1.Result.GetResult<$user_attachmentsPayload<ExtArgs>, T$1, "findMany", GlobalOmitOptions> | Null>;
@@ -623146,6 +624340,42 @@ type users$emergency_relationshipArgs<ExtArgs extends Types$1.Extensions.Interna
623146
624340
  include?: relationshipsInclude<ExtArgs> | null;
623147
624341
  where?: relationshipsWhereInput;
623148
624342
  };
624343
+ /**
624344
+ * users.last_accessed_company
624345
+ */
624346
+ type users$last_accessed_companyArgs<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = {
624347
+ /**
624348
+ * Select specific fields to fetch from the companies
624349
+ */
624350
+ select?: companiesSelect<ExtArgs> | null;
624351
+ /**
624352
+ * Omit specific fields from the companies
624353
+ */
624354
+ omit?: companiesOmit<ExtArgs> | null;
624355
+ /**
624356
+ * Choose, which related nodes to fetch as well
624357
+ */
624358
+ include?: companiesInclude<ExtArgs> | null;
624359
+ where?: companiesWhereInput;
624360
+ };
624361
+ /**
624362
+ * users.last_accessed_branch
624363
+ */
624364
+ type users$last_accessed_branchArgs<ExtArgs extends Types$1.Extensions.InternalArgs = Types$1.Extensions.DefaultArgs> = {
624365
+ /**
624366
+ * Select specific fields to fetch from the branches
624367
+ */
624368
+ select?: branchesSelect<ExtArgs> | null;
624369
+ /**
624370
+ * Omit specific fields from the branches
624371
+ */
624372
+ omit?: branchesOmit<ExtArgs> | null;
624373
+ /**
624374
+ * Choose, which related nodes to fetch as well
624375
+ */
624376
+ include?: branchesInclude<ExtArgs> | null;
624377
+ where?: branchesWhereInput;
624378
+ };
623149
624379
  /**
623150
624380
  * users.user_logs
623151
624381
  */
@@ -664384,8 +665614,8 @@ interface UserTenantDatabase {
664384
665614
  type Context = {
664385
665615
  session?: UserJWTPayload | null;
664386
665616
  prisma?: PrismaClient;
664387
- jwtToken?: string | null;
664388
- ssoRoles?: {
665617
+ jwt_token?: string | null;
665618
+ sso_roles?: {
664389
665619
  is_admin?: boolean;
664390
665620
  is_admin_tenant?: boolean;
664391
665621
  is_admin_hr?: boolean;
@@ -692466,6 +693696,7 @@ declare const appRouter: BuiltRouter<{
692466
693696
  un_locode: number;
692467
693697
  branch_logs: number;
692468
693698
  users: number;
693699
+ users_last_accessed: number;
692469
693700
  bank_accounts: number;
692470
693701
  forwarding_shipment_billings: number;
692471
693702
  organization_account_receivable_settlements: number;
@@ -692970,6 +694201,7 @@ declare const appRouter: BuiltRouter<{
692970
694201
  un_locode: number;
692971
694202
  company_logs: number;
692972
694203
  users: number;
694204
+ users_last_accessed: number;
692973
694205
  bank_accounts: number;
692974
694206
  branches: number;
692975
694207
  department: number;
@@ -693773,6 +695005,41 @@ declare const appRouter: BuiltRouter<{
693773
695005
  updated_by: string | null;
693774
695006
  code: string | null;
693775
695007
  } | null;
695008
+ last_accessed_branch: {
695009
+ is_active: boolean | null;
695010
+ id_company: string | null;
695011
+ id_country: string | null;
695012
+ id_state: string | null;
695013
+ id_city: string | null;
695014
+ id_postal_code: string | null;
695015
+ id_un_locode: string | null;
695016
+ id: string;
695017
+ logic_code: string | null;
695018
+ name: string | null;
695019
+ created_at: Date | null;
695020
+ created_by: string | null;
695021
+ updated_at: Date | null;
695022
+ updated_by: string | null;
695023
+ code: string | null;
695024
+ address: string | null;
695025
+ } | null;
695026
+ last_accessed_company: {
695027
+ is_active: boolean | null;
695028
+ id_country: string | null;
695029
+ id_state: string | null;
695030
+ id_city: string | null;
695031
+ id_postal_code: string | null;
695032
+ id_un_locode: string | null;
695033
+ id: string;
695034
+ logic_code: string | null;
695035
+ name: string | null;
695036
+ created_at: Date | null;
695037
+ created_by: string | null;
695038
+ updated_at: Date | null;
695039
+ updated_by: string | null;
695040
+ code: string | null;
695041
+ address: string | null;
695042
+ } | null;
693776
695043
  is_active: boolean | null;
693777
695044
  id_company: string | null;
693778
695045
  id_branch: string | null;
@@ -693818,6 +695085,52 @@ declare const appRouter: BuiltRouter<{
693818
695085
  emergency_email: string | null;
693819
695086
  profile_photo_url: string | null;
693820
695087
  signature_url: string | null;
695088
+ user_sso?: {
695089
+ banned?: boolean | undefined;
695090
+ id?: string | undefined;
695091
+ name?: string | undefined;
695092
+ email?: string | undefined;
695093
+ _count?: {
695094
+ sessions?: number | undefined;
695095
+ accounts?: number | undefined;
695096
+ userTenantCurrentActive?: number | undefined;
695097
+ userTenants?: number | undefined;
695098
+ } | undefined;
695099
+ userTenantCurrentActive?: {
695100
+ id?: number | undefined;
695101
+ name?: string | undefined;
695102
+ createdAt?: string | undefined;
695103
+ updatedAt?: string | undefined;
695104
+ logicCode?: string | undefined;
695105
+ isActive?: boolean | undefined;
695106
+ createdBy?: string | undefined;
695107
+ createdId?: string | undefined;
695108
+ updatedBy?: string | undefined;
695109
+ updatedId?: string | undefined;
695110
+ } | undefined;
695111
+ createdAt?: string | undefined;
695112
+ updatedAt?: string | undefined;
695113
+ userTenants?: {
695114
+ id?: number | undefined;
695115
+ name?: string | undefined;
695116
+ createdAt?: string | undefined;
695117
+ updatedAt?: string | undefined;
695118
+ logicCode?: string | undefined;
695119
+ isActive?: boolean | undefined;
695120
+ createdBy?: string | undefined;
695121
+ createdId?: string | undefined;
695122
+ updatedBy?: string | undefined;
695123
+ updatedId?: string | undefined;
695124
+ }[] | undefined;
695125
+ emailVerified?: boolean | undefined;
695126
+ image?: string | undefined;
695127
+ role?: string | undefined;
695128
+ banReason?: string | undefined;
695129
+ banExpires?: string | undefined;
695130
+ username?: string | undefined;
695131
+ displayUsername?: string | undefined;
695132
+ currentActiveUserTenantId?: number | undefined;
695133
+ } | undefined;
693821
695134
  }[] | undefined;
693822
695135
  total: number | undefined;
693823
695136
  };
@@ -693845,6 +695158,8 @@ declare const appRouter: BuiltRouter<{
693845
695158
  department: number;
693846
695159
  spouse_relationship: number;
693847
695160
  emergency_relationship: number;
695161
+ last_accessed_company: number;
695162
+ last_accessed_branch: number;
693848
695163
  user_logs: number;
693849
695164
  organization_staff_assignments: number;
693850
695165
  user_attachments: number;
@@ -693983,6 +695298,41 @@ declare const appRouter: BuiltRouter<{
693983
695298
  updated_by: string | null;
693984
695299
  code: string | null;
693985
695300
  } | null;
695301
+ last_accessed_branch: {
695302
+ is_active: boolean | null;
695303
+ id_company: string | null;
695304
+ id_country: string | null;
695305
+ id_state: string | null;
695306
+ id_city: string | null;
695307
+ id_postal_code: string | null;
695308
+ id_un_locode: string | null;
695309
+ id: string;
695310
+ logic_code: string | null;
695311
+ name: string | null;
695312
+ created_at: Date | null;
695313
+ created_by: string | null;
695314
+ updated_at: Date | null;
695315
+ updated_by: string | null;
695316
+ code: string | null;
695317
+ address: string | null;
695318
+ } | null;
695319
+ last_accessed_company: {
695320
+ is_active: boolean | null;
695321
+ id_country: string | null;
695322
+ id_state: string | null;
695323
+ id_city: string | null;
695324
+ id_postal_code: string | null;
695325
+ id_un_locode: string | null;
695326
+ id: string;
695327
+ logic_code: string | null;
695328
+ name: string | null;
695329
+ created_at: Date | null;
695330
+ created_by: string | null;
695331
+ updated_at: Date | null;
695332
+ updated_by: string | null;
695333
+ code: string | null;
695334
+ address: string | null;
695335
+ } | null;
693986
695336
  is_active: boolean | null;
693987
695337
  id_company: string | null;
693988
695338
  id_branch: string | null;
@@ -694028,6 +695378,52 @@ declare const appRouter: BuiltRouter<{
694028
695378
  emergency_email: string | null;
694029
695379
  profile_photo_url: string | null;
694030
695380
  signature_url: string | null;
695381
+ user_sso?: {
695382
+ banned?: boolean | undefined;
695383
+ id?: string | undefined;
695384
+ name?: string | undefined;
695385
+ email?: string | undefined;
695386
+ _count?: {
695387
+ sessions?: number | undefined;
695388
+ accounts?: number | undefined;
695389
+ userTenantCurrentActive?: number | undefined;
695390
+ userTenants?: number | undefined;
695391
+ } | undefined;
695392
+ userTenantCurrentActive?: {
695393
+ id?: number | undefined;
695394
+ name?: string | undefined;
695395
+ createdAt?: string | undefined;
695396
+ updatedAt?: string | undefined;
695397
+ logicCode?: string | undefined;
695398
+ isActive?: boolean | undefined;
695399
+ createdBy?: string | undefined;
695400
+ createdId?: string | undefined;
695401
+ updatedBy?: string | undefined;
695402
+ updatedId?: string | undefined;
695403
+ } | undefined;
695404
+ createdAt?: string | undefined;
695405
+ updatedAt?: string | undefined;
695406
+ userTenants?: {
695407
+ id?: number | undefined;
695408
+ name?: string | undefined;
695409
+ createdAt?: string | undefined;
695410
+ updatedAt?: string | undefined;
695411
+ logicCode?: string | undefined;
695412
+ isActive?: boolean | undefined;
695413
+ createdBy?: string | undefined;
695414
+ createdId?: string | undefined;
695415
+ updatedBy?: string | undefined;
695416
+ updatedId?: string | undefined;
695417
+ }[] | undefined;
695418
+ emailVerified?: boolean | undefined;
695419
+ image?: string | undefined;
695420
+ role?: string | undefined;
695421
+ banReason?: string | undefined;
695422
+ banExpires?: string | undefined;
695423
+ username?: string | undefined;
695424
+ displayUsername?: string | undefined;
695425
+ currentActiveUserTenantId?: number | undefined;
695426
+ } | undefined;
694031
695427
  };
694032
695428
  };
694033
695429
  meta: object;