@devizovaburza/mdm-sdk 2.2.6 → 2.3.0-canary.5851d133

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.
@@ -3802,6 +3802,179 @@ declare const partnerApi: OpenAPIHono<{
3802
3802
  };
3803
3803
  };
3804
3804
  }, "/v1/parties"> & hono_types.MergeSchemaPath<{
3805
+ "/": {
3806
+ $get: {
3807
+ input: {
3808
+ query: {
3809
+ since?: string | undefined;
3810
+ until?: string | undefined;
3811
+ entityType?: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client" | undefined;
3812
+ operation?: "INSERT" | "UPDATE" | "DELETE" | undefined;
3813
+ cursor?: string | undefined;
3814
+ limit?: unknown;
3815
+ };
3816
+ };
3817
+ output: {
3818
+ message: string;
3819
+ stackTrace?: string | undefined;
3820
+ };
3821
+ outputFormat: "json";
3822
+ status: 404;
3823
+ } | {
3824
+ input: {
3825
+ query: {
3826
+ since?: string | undefined;
3827
+ until?: string | undefined;
3828
+ entityType?: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client" | undefined;
3829
+ operation?: "INSERT" | "UPDATE" | "DELETE" | undefined;
3830
+ cursor?: string | undefined;
3831
+ limit?: unknown;
3832
+ };
3833
+ };
3834
+ output: {
3835
+ message: string;
3836
+ stackTrace?: string | undefined;
3837
+ };
3838
+ outputFormat: "json";
3839
+ status: 500;
3840
+ } | {
3841
+ input: {
3842
+ query: {
3843
+ since?: string | undefined;
3844
+ until?: string | undefined;
3845
+ entityType?: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client" | undefined;
3846
+ operation?: "INSERT" | "UPDATE" | "DELETE" | undefined;
3847
+ cursor?: string | undefined;
3848
+ limit?: unknown;
3849
+ };
3850
+ };
3851
+ output: {
3852
+ message: string;
3853
+ items: {
3854
+ id: string;
3855
+ partyId: string;
3856
+ entityType: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client";
3857
+ entityId: string;
3858
+ operation: "INSERT" | "UPDATE" | "DELETE";
3859
+ diff: {
3860
+ path: (string | number)[];
3861
+ before: hono_utils_types.JSONValue;
3862
+ after: hono_utils_types.JSONValue;
3863
+ }[];
3864
+ snapshotBefore: {
3865
+ [x: string]: hono_utils_types.JSONValue;
3866
+ };
3867
+ snapshotAfter: {
3868
+ [x: string]: hono_utils_types.JSONValue;
3869
+ };
3870
+ correlationId: string | null;
3871
+ internalId: string | null;
3872
+ createdAt: string | null;
3873
+ updatedAt: string | null;
3874
+ createdBy: string | null;
3875
+ updatedBy: string | null;
3876
+ }[];
3877
+ nextCursor: string | null;
3878
+ retentionWarning?: string | undefined;
3879
+ };
3880
+ outputFormat: "json";
3881
+ status: 200;
3882
+ };
3883
+ };
3884
+ }, "/v1/changes"> & hono_types.MergeSchemaPath<{
3885
+ "/": {
3886
+ $get: {
3887
+ input: {
3888
+ param: {
3889
+ partyId: string;
3890
+ };
3891
+ } & {
3892
+ query: {
3893
+ since?: string | undefined;
3894
+ until?: string | undefined;
3895
+ entityType?: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client" | undefined;
3896
+ operation?: "INSERT" | "UPDATE" | "DELETE" | undefined;
3897
+ page?: unknown;
3898
+ limit?: unknown;
3899
+ };
3900
+ };
3901
+ output: {
3902
+ message: string;
3903
+ stackTrace?: string | undefined;
3904
+ };
3905
+ outputFormat: "json";
3906
+ status: 404;
3907
+ } | {
3908
+ input: {
3909
+ param: {
3910
+ partyId: string;
3911
+ };
3912
+ } & {
3913
+ query: {
3914
+ since?: string | undefined;
3915
+ until?: string | undefined;
3916
+ entityType?: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client" | undefined;
3917
+ operation?: "INSERT" | "UPDATE" | "DELETE" | undefined;
3918
+ page?: unknown;
3919
+ limit?: unknown;
3920
+ };
3921
+ };
3922
+ output: {
3923
+ message: string;
3924
+ stackTrace?: string | undefined;
3925
+ };
3926
+ outputFormat: "json";
3927
+ status: 500;
3928
+ } | {
3929
+ input: {
3930
+ param: {
3931
+ partyId: string;
3932
+ };
3933
+ } & {
3934
+ query: {
3935
+ since?: string | undefined;
3936
+ until?: string | undefined;
3937
+ entityType?: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client" | undefined;
3938
+ operation?: "INSERT" | "UPDATE" | "DELETE" | undefined;
3939
+ page?: unknown;
3940
+ limit?: unknown;
3941
+ };
3942
+ };
3943
+ output: {
3944
+ message: string;
3945
+ items: {
3946
+ id: string;
3947
+ partyId: string;
3948
+ entityType: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client";
3949
+ entityId: string;
3950
+ operation: "INSERT" | "UPDATE" | "DELETE";
3951
+ diff: {
3952
+ path: (string | number)[];
3953
+ before: hono_utils_types.JSONValue;
3954
+ after: hono_utils_types.JSONValue;
3955
+ }[];
3956
+ snapshotBefore: {
3957
+ [x: string]: hono_utils_types.JSONValue;
3958
+ };
3959
+ snapshotAfter: {
3960
+ [x: string]: hono_utils_types.JSONValue;
3961
+ };
3962
+ correlationId: string | null;
3963
+ internalId: string | null;
3964
+ createdAt: string | null;
3965
+ updatedAt: string | null;
3966
+ createdBy: string | null;
3967
+ updatedBy: string | null;
3968
+ }[];
3969
+ total: number;
3970
+ page: number;
3971
+ limit: number;
3972
+ };
3973
+ outputFormat: "json";
3974
+ status: 200;
3975
+ };
3976
+ };
3977
+ }, "/v1/parties/:partyId/changes"> & hono_types.MergeSchemaPath<{
3805
3978
  "/": {
3806
3979
  $put: {
3807
3980
  input: {
@@ -5524,7 +5697,6 @@ declare const partnerApi: OpenAPIHono<{
5524
5697
  citizenship: "IM" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
5525
5698
  isPep: boolean;
5526
5699
  address: {
5527
- street: string;
5528
5700
  municipality: string;
5529
5701
  zipCode: string;
5530
5702
  countryCode: "IM" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
@@ -5536,8 +5708,8 @@ declare const partnerApi: OpenAPIHono<{
5536
5708
  addressType?: "PERMANENT_ADDRESS" | "REGISTERED_OFFICE" | "CONTACT_ADDRESS" | undefined;
5537
5709
  district?: string | null | undefined;
5538
5710
  region?: string | null | undefined;
5711
+ street?: string | undefined;
5539
5712
  };
5540
- dateOfEstablishment: string;
5541
5713
  titleBefore?: string | undefined;
5542
5714
  titleAfter?: string | undefined;
5543
5715
  birthPlace?: string | undefined;
@@ -5552,6 +5724,7 @@ declare const partnerApi: OpenAPIHono<{
5552
5724
  frontImageUri?: string | undefined;
5553
5725
  backImageUri?: string | undefined;
5554
5726
  }[] | undefined;
5727
+ dateOfEstablishment?: string | undefined;
5555
5728
  }[] | undefined;
5556
5729
  products?: {
5557
5730
  txs?: {
@@ -5873,7 +6046,6 @@ declare const partnerApi: OpenAPIHono<{
5873
6046
  citizenship: "IM" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
5874
6047
  isPep: boolean;
5875
6048
  address: {
5876
- street: string;
5877
6049
  municipality: string;
5878
6050
  zipCode: string;
5879
6051
  countryCode: "IM" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
@@ -5885,8 +6057,8 @@ declare const partnerApi: OpenAPIHono<{
5885
6057
  addressType?: "PERMANENT_ADDRESS" | "REGISTERED_OFFICE" | "CONTACT_ADDRESS" | undefined;
5886
6058
  district?: string | null | undefined;
5887
6059
  region?: string | null | undefined;
6060
+ street?: string | undefined;
5888
6061
  };
5889
- dateOfEstablishment: string;
5890
6062
  titleBefore?: string | undefined;
5891
6063
  titleAfter?: string | undefined;
5892
6064
  birthPlace?: string | undefined;
@@ -5901,6 +6073,7 @@ declare const partnerApi: OpenAPIHono<{
5901
6073
  frontImageUri?: string | undefined;
5902
6074
  backImageUri?: string | undefined;
5903
6075
  }[] | undefined;
6076
+ dateOfEstablishment?: string | undefined;
5904
6077
  }[] | undefined;
5905
6078
  products?: {
5906
6079
  txs?: {
@@ -6212,7 +6385,6 @@ declare const partnerApi: OpenAPIHono<{
6212
6385
  citizenship: "IM" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
6213
6386
  isPep: boolean;
6214
6387
  address: {
6215
- street: string;
6216
6388
  municipality: string;
6217
6389
  zipCode: string;
6218
6390
  countryCode: "IM" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
@@ -6224,8 +6396,8 @@ declare const partnerApi: OpenAPIHono<{
6224
6396
  addressType?: "PERMANENT_ADDRESS" | "REGISTERED_OFFICE" | "CONTACT_ADDRESS" | undefined;
6225
6397
  district?: string | null | undefined;
6226
6398
  region?: string | null | undefined;
6399
+ street?: string | undefined;
6227
6400
  };
6228
- dateOfEstablishment: string;
6229
6401
  titleBefore?: string | undefined;
6230
6402
  titleAfter?: string | undefined;
6231
6403
  birthPlace?: string | undefined;
@@ -6240,6 +6412,7 @@ declare const partnerApi: OpenAPIHono<{
6240
6412
  frontImageUri?: string | undefined;
6241
6413
  backImageUri?: string | undefined;
6242
6414
  }[] | undefined;
6415
+ dateOfEstablishment?: string | undefined;
6243
6416
  }[] | undefined;
6244
6417
  products?: {
6245
6418
  txs?: {
@@ -12687,7 +12860,6 @@ declare const createPartyInputSchema: z.ZodObject<{
12687
12860
  }, z.core.$strip>>>;
12688
12861
  address: z.ZodObject<{
12689
12862
  internalId: z.ZodOptional<z.ZodString>;
12690
- street: z.ZodString;
12691
12863
  orientationNumber: z.ZodOptional<z.ZodString>;
12692
12864
  descriptiveNumber: z.ZodOptional<z.ZodString>;
12693
12865
  municipality: z.ZodString;
@@ -12914,8 +13086,9 @@ declare const createPartyInputSchema: z.ZodObject<{
12914
13086
  }>>;
12915
13087
  district: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12916
13088
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13089
+ street: z.ZodOptional<z.ZodString>;
12917
13090
  }, z.core.$strip>;
12918
- dateOfEstablishment: z.ZodString;
13091
+ dateOfEstablishment: z.ZodOptional<z.ZodString>;
12919
13092
  }, z.core.$strip>>>;
12920
13093
  aml: z.ZodObject<{
12921
13094
  internalId: z.ZodOptional<z.ZodString>;
@@ -3802,6 +3802,179 @@ declare const partnerApi: OpenAPIHono<{
3802
3802
  };
3803
3803
  };
3804
3804
  }, "/v1/parties"> & hono_types.MergeSchemaPath<{
3805
+ "/": {
3806
+ $get: {
3807
+ input: {
3808
+ query: {
3809
+ since?: string | undefined;
3810
+ until?: string | undefined;
3811
+ entityType?: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client" | undefined;
3812
+ operation?: "INSERT" | "UPDATE" | "DELETE" | undefined;
3813
+ cursor?: string | undefined;
3814
+ limit?: unknown;
3815
+ };
3816
+ };
3817
+ output: {
3818
+ message: string;
3819
+ stackTrace?: string | undefined;
3820
+ };
3821
+ outputFormat: "json";
3822
+ status: 404;
3823
+ } | {
3824
+ input: {
3825
+ query: {
3826
+ since?: string | undefined;
3827
+ until?: string | undefined;
3828
+ entityType?: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client" | undefined;
3829
+ operation?: "INSERT" | "UPDATE" | "DELETE" | undefined;
3830
+ cursor?: string | undefined;
3831
+ limit?: unknown;
3832
+ };
3833
+ };
3834
+ output: {
3835
+ message: string;
3836
+ stackTrace?: string | undefined;
3837
+ };
3838
+ outputFormat: "json";
3839
+ status: 500;
3840
+ } | {
3841
+ input: {
3842
+ query: {
3843
+ since?: string | undefined;
3844
+ until?: string | undefined;
3845
+ entityType?: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client" | undefined;
3846
+ operation?: "INSERT" | "UPDATE" | "DELETE" | undefined;
3847
+ cursor?: string | undefined;
3848
+ limit?: unknown;
3849
+ };
3850
+ };
3851
+ output: {
3852
+ message: string;
3853
+ items: {
3854
+ id: string;
3855
+ partyId: string;
3856
+ entityType: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client";
3857
+ entityId: string;
3858
+ operation: "INSERT" | "UPDATE" | "DELETE";
3859
+ diff: {
3860
+ path: (string | number)[];
3861
+ before: hono_utils_types.JSONValue;
3862
+ after: hono_utils_types.JSONValue;
3863
+ }[];
3864
+ snapshotBefore: {
3865
+ [x: string]: hono_utils_types.JSONValue;
3866
+ };
3867
+ snapshotAfter: {
3868
+ [x: string]: hono_utils_types.JSONValue;
3869
+ };
3870
+ correlationId: string | null;
3871
+ internalId: string | null;
3872
+ createdAt: string | null;
3873
+ updatedAt: string | null;
3874
+ createdBy: string | null;
3875
+ updatedBy: string | null;
3876
+ }[];
3877
+ nextCursor: string | null;
3878
+ retentionWarning?: string | undefined;
3879
+ };
3880
+ outputFormat: "json";
3881
+ status: 200;
3882
+ };
3883
+ };
3884
+ }, "/v1/changes"> & hono_types.MergeSchemaPath<{
3885
+ "/": {
3886
+ $get: {
3887
+ input: {
3888
+ param: {
3889
+ partyId: string;
3890
+ };
3891
+ } & {
3892
+ query: {
3893
+ since?: string | undefined;
3894
+ until?: string | undefined;
3895
+ entityType?: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client" | undefined;
3896
+ operation?: "INSERT" | "UPDATE" | "DELETE" | undefined;
3897
+ page?: unknown;
3898
+ limit?: unknown;
3899
+ };
3900
+ };
3901
+ output: {
3902
+ message: string;
3903
+ stackTrace?: string | undefined;
3904
+ };
3905
+ outputFormat: "json";
3906
+ status: 404;
3907
+ } | {
3908
+ input: {
3909
+ param: {
3910
+ partyId: string;
3911
+ };
3912
+ } & {
3913
+ query: {
3914
+ since?: string | undefined;
3915
+ until?: string | undefined;
3916
+ entityType?: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client" | undefined;
3917
+ operation?: "INSERT" | "UPDATE" | "DELETE" | undefined;
3918
+ page?: unknown;
3919
+ limit?: unknown;
3920
+ };
3921
+ };
3922
+ output: {
3923
+ message: string;
3924
+ stackTrace?: string | undefined;
3925
+ };
3926
+ outputFormat: "json";
3927
+ status: 500;
3928
+ } | {
3929
+ input: {
3930
+ param: {
3931
+ partyId: string;
3932
+ };
3933
+ } & {
3934
+ query: {
3935
+ since?: string | undefined;
3936
+ until?: string | undefined;
3937
+ entityType?: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client" | undefined;
3938
+ operation?: "INSERT" | "UPDATE" | "DELETE" | undefined;
3939
+ page?: unknown;
3940
+ limit?: unknown;
3941
+ };
3942
+ };
3943
+ output: {
3944
+ message: string;
3945
+ items: {
3946
+ id: string;
3947
+ partyId: string;
3948
+ entityType: "party" | "address" | "aml" | "individual" | "organization" | "contact" | "bank-account" | "id-document" | "recipient" | "tax-residence" | "party-relationship" | "party-product" | "trader-client";
3949
+ entityId: string;
3950
+ operation: "INSERT" | "UPDATE" | "DELETE";
3951
+ diff: {
3952
+ path: (string | number)[];
3953
+ before: hono_utils_types.JSONValue;
3954
+ after: hono_utils_types.JSONValue;
3955
+ }[];
3956
+ snapshotBefore: {
3957
+ [x: string]: hono_utils_types.JSONValue;
3958
+ };
3959
+ snapshotAfter: {
3960
+ [x: string]: hono_utils_types.JSONValue;
3961
+ };
3962
+ correlationId: string | null;
3963
+ internalId: string | null;
3964
+ createdAt: string | null;
3965
+ updatedAt: string | null;
3966
+ createdBy: string | null;
3967
+ updatedBy: string | null;
3968
+ }[];
3969
+ total: number;
3970
+ page: number;
3971
+ limit: number;
3972
+ };
3973
+ outputFormat: "json";
3974
+ status: 200;
3975
+ };
3976
+ };
3977
+ }, "/v1/parties/:partyId/changes"> & hono_types.MergeSchemaPath<{
3805
3978
  "/": {
3806
3979
  $put: {
3807
3980
  input: {
@@ -5524,7 +5697,6 @@ declare const partnerApi: OpenAPIHono<{
5524
5697
  citizenship: "IM" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
5525
5698
  isPep: boolean;
5526
5699
  address: {
5527
- street: string;
5528
5700
  municipality: string;
5529
5701
  zipCode: string;
5530
5702
  countryCode: "IM" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
@@ -5536,8 +5708,8 @@ declare const partnerApi: OpenAPIHono<{
5536
5708
  addressType?: "PERMANENT_ADDRESS" | "REGISTERED_OFFICE" | "CONTACT_ADDRESS" | undefined;
5537
5709
  district?: string | null | undefined;
5538
5710
  region?: string | null | undefined;
5711
+ street?: string | undefined;
5539
5712
  };
5540
- dateOfEstablishment: string;
5541
5713
  titleBefore?: string | undefined;
5542
5714
  titleAfter?: string | undefined;
5543
5715
  birthPlace?: string | undefined;
@@ -5552,6 +5724,7 @@ declare const partnerApi: OpenAPIHono<{
5552
5724
  frontImageUri?: string | undefined;
5553
5725
  backImageUri?: string | undefined;
5554
5726
  }[] | undefined;
5727
+ dateOfEstablishment?: string | undefined;
5555
5728
  }[] | undefined;
5556
5729
  products?: {
5557
5730
  txs?: {
@@ -5873,7 +6046,6 @@ declare const partnerApi: OpenAPIHono<{
5873
6046
  citizenship: "IM" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
5874
6047
  isPep: boolean;
5875
6048
  address: {
5876
- street: string;
5877
6049
  municipality: string;
5878
6050
  zipCode: string;
5879
6051
  countryCode: "IM" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
@@ -5885,8 +6057,8 @@ declare const partnerApi: OpenAPIHono<{
5885
6057
  addressType?: "PERMANENT_ADDRESS" | "REGISTERED_OFFICE" | "CONTACT_ADDRESS" | undefined;
5886
6058
  district?: string | null | undefined;
5887
6059
  region?: string | null | undefined;
6060
+ street?: string | undefined;
5888
6061
  };
5889
- dateOfEstablishment: string;
5890
6062
  titleBefore?: string | undefined;
5891
6063
  titleAfter?: string | undefined;
5892
6064
  birthPlace?: string | undefined;
@@ -5901,6 +6073,7 @@ declare const partnerApi: OpenAPIHono<{
5901
6073
  frontImageUri?: string | undefined;
5902
6074
  backImageUri?: string | undefined;
5903
6075
  }[] | undefined;
6076
+ dateOfEstablishment?: string | undefined;
5904
6077
  }[] | undefined;
5905
6078
  products?: {
5906
6079
  txs?: {
@@ -6212,7 +6385,6 @@ declare const partnerApi: OpenAPIHono<{
6212
6385
  citizenship: "IM" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
6213
6386
  isPep: boolean;
6214
6387
  address: {
6215
- street: string;
6216
6388
  municipality: string;
6217
6389
  zipCode: string;
6218
6390
  countryCode: "IM" | "AF" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BO" | "BQ" | "BA" | "BW" | "BR" | "IO" | "VG" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "CF" | "TD" | "CL" | "CN" | "CO" | "KM" | "CK" | "CR" | "HR" | "CW" | "CY" | "CZ" | "CD" | "DK" | "DJ" | "DM" | "DO" | "TL" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GR" | "GD" | "GP" | "GU" | "GT" | "GN" | "GW" | "GY" | "HT" | "HN" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IL" | "IT" | "CI" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "XK" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LI" | "LT" | "LU" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MQ" | "MR" | "MU" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "NA" | "NP" | "NL" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "KP" | "NO" | "OM" | "PK" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PL" | "PT" | "PR" | "QA" | "CG" | "RE" | "RO" | "RU" | "RW" | "BL" | "KN" | "LC" | "MF" | "VC" | "WS" | "SM" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SO" | "ZA" | "KR" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "TW" | "TJ" | "TZ" | "TH" | "TG" | "TO" | "TT" | "TN" | "TR" | "TM" | "UM" | "VI" | "UG" | "UA" | "AE" | "GB" | "US" | "UZ" | "VU" | "VE" | "VN" | "WF" | "EH" | "YE" | "ZM" | "ZW";
@@ -6224,8 +6396,8 @@ declare const partnerApi: OpenAPIHono<{
6224
6396
  addressType?: "PERMANENT_ADDRESS" | "REGISTERED_OFFICE" | "CONTACT_ADDRESS" | undefined;
6225
6397
  district?: string | null | undefined;
6226
6398
  region?: string | null | undefined;
6399
+ street?: string | undefined;
6227
6400
  };
6228
- dateOfEstablishment: string;
6229
6401
  titleBefore?: string | undefined;
6230
6402
  titleAfter?: string | undefined;
6231
6403
  birthPlace?: string | undefined;
@@ -6240,6 +6412,7 @@ declare const partnerApi: OpenAPIHono<{
6240
6412
  frontImageUri?: string | undefined;
6241
6413
  backImageUri?: string | undefined;
6242
6414
  }[] | undefined;
6415
+ dateOfEstablishment?: string | undefined;
6243
6416
  }[] | undefined;
6244
6417
  products?: {
6245
6418
  txs?: {
@@ -12687,7 +12860,6 @@ declare const createPartyInputSchema: z.ZodObject<{
12687
12860
  }, z.core.$strip>>>;
12688
12861
  address: z.ZodObject<{
12689
12862
  internalId: z.ZodOptional<z.ZodString>;
12690
- street: z.ZodString;
12691
12863
  orientationNumber: z.ZodOptional<z.ZodString>;
12692
12864
  descriptiveNumber: z.ZodOptional<z.ZodString>;
12693
12865
  municipality: z.ZodString;
@@ -12914,8 +13086,9 @@ declare const createPartyInputSchema: z.ZodObject<{
12914
13086
  }>>;
12915
13087
  district: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12916
13088
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13089
+ street: z.ZodOptional<z.ZodString>;
12917
13090
  }, z.core.$strip>;
12918
- dateOfEstablishment: z.ZodString;
13091
+ dateOfEstablishment: z.ZodOptional<z.ZodString>;
12919
13092
  }, z.core.$strip>>>;
12920
13093
  aml: z.ZodObject<{
12921
13094
  internalId: z.ZodOptional<z.ZodString>;
package/dist/v1/index.mjs CHANGED
@@ -527,6 +527,9 @@ const ownerAddressInputSchema = createAddressInputSchema.extend({
527
527
  district: z.string().max(255).nullish(),
528
528
  region: z.string().max(255).nullish()
529
529
  });
530
+ const legalRepresentativeAddressInputSchema = ownerAddressInputSchema.extend({
531
+ street: z.string().optional()
532
+ });
530
533
  const ownerIndividualInputSchema = individualInsertSchema.extend({
531
534
  email: z.email("E-mail je povinn\xFD").optional()
532
535
  });
@@ -634,8 +637,8 @@ const legalRepresentativeInputSchema = z.object({
634
637
  phone: z.string().optional(),
635
638
  pin: z.string().optional(),
636
639
  identityDocuments: z.array(idDocumentInputSchema$1).optional(),
637
- address: ownerAddressInputSchema,
638
- dateOfEstablishment: z.string().min(1, "Datum vzniku funkce je povinn\xFD")
640
+ address: legalRepresentativeAddressInputSchema,
641
+ dateOfEstablishment: z.string().optional()
639
642
  });
640
643
  const createPartyInputSchema = z.object({
641
644
  party: partySchema$1.omit({ id: true }),
@@ -905,7 +908,7 @@ new OpenAPIHono().openapi(createPartyRoute, async (context) => {
905
908
  fromPartyId: repParty.id,
906
909
  toPartyId: partyData.id,
907
910
  relationshipType: "BOARD_MEMBER",
908
- fromDate: new Date(dateOfEstablishment)
911
+ fromDate: dateOfEstablishment ? new Date(dateOfEstablishment) : void 0
909
912
  });
910
913
  if (linkRepError) {
911
914
  return context.json(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devizovaburza/mdm-sdk",
3
- "version": "2.2.6",
3
+ "version": "2.3.0-canary.5851d133",
4
4
  "author": "Devizová burza a.s.",
5
5
  "license": "ISC",
6
6
  "type": "module",