@devizovaburza/mdm-sdk 2.2.5 → 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.
@@ -1681,6 +1681,7 @@ declare const partnerApi: OpenAPIHono<{
1681
1681
  $put: {
1682
1682
  input: {
1683
1683
  param: {
1684
+ partyId: string;
1684
1685
  id: string;
1685
1686
  };
1686
1687
  } & {
@@ -1750,6 +1751,7 @@ declare const partnerApi: OpenAPIHono<{
1750
1751
  } | {
1751
1752
  input: {
1752
1753
  param: {
1754
+ partyId: string;
1753
1755
  id: string;
1754
1756
  };
1755
1757
  } & {
@@ -1819,6 +1821,7 @@ declare const partnerApi: OpenAPIHono<{
1819
1821
  } | {
1820
1822
  input: {
1821
1823
  param: {
1824
+ partyId: string;
1822
1825
  id: string;
1823
1826
  };
1824
1827
  } & {
@@ -1934,6 +1937,75 @@ declare const partnerApi: OpenAPIHono<{
1934
1937
  };
1935
1938
  outputFormat: "json";
1936
1939
  status: 200;
1940
+ } | {
1941
+ input: {
1942
+ param: {
1943
+ partyId: string;
1944
+ id: string;
1945
+ };
1946
+ } & {
1947
+ header: {
1948
+ 'X-Idempotency-Key': string;
1949
+ 'X-Signature': string;
1950
+ 'X-Signature-Key': string;
1951
+ };
1952
+ } & {
1953
+ json: {
1954
+ aml: {
1955
+ id: string;
1956
+ estTxsVolumeMonth: "UP_TO_1M" | "1M_TO_5M" | "OVER_5M";
1957
+ estTxsVolumeYear: "LESS_THAN_12M" | "12M_TO_50M" | "OVER_50M";
1958
+ tradingCountries: ("CZ" | "EU" | "OUTSIDE_EU")[];
1959
+ tradingSide: "SELL" | "BUY" | "BOTH";
1960
+ acceptedAMLTermsAndConditions: boolean;
1961
+ partyId?: string | undefined;
1962
+ internalId?: string | undefined;
1963
+ sourceOfWealth?: {
1964
+ incomeSources: ("OTHER" | "EMPLOYMENT" | "PENSION" | "SAVINGS" | "INHERITANCE" | "INVESTMENTS" | "HOUSE_SALE" | "CAR_SALE" | "AUCTION_SALE")[];
1965
+ incomeSourceOther: string | null;
1966
+ monthlyIncome: "UP_TO_40K" | "40K_TO_80K" | "OVER_80K";
1967
+ employer: string | null;
1968
+ employerCountry: "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" | null;
1969
+ } | {
1970
+ financialFundsSources: ("OTHER" | "INVESTMENTS" | "BUSINESS_REVENUE" | "LOAN")[];
1971
+ financialFundsSourceOther: string | null;
1972
+ mainBusinessSubjects: ("R01" | "R02" | "R03" | "R04" | "R05" | "R06" | "R07" | "R08" | "R09" | "R10" | "R11" | "R12" | "R13" | "R14" | "R15" | "R16" | "R17" | "R18" | "R19" | "R20" | "R21" | "R22" | "R23" | "R24" | "R25" | "R26" | "R27" | "R28" | "R29" | "R30" | "R31" | "R32" | "R33" | "R34" | "R35" | "R36" | "R37" | "R38" | "R39" | "R40" | "R41" | "V01" | "V02" | "V03" | "V04" | "V05" | "V06" | "V07" | "V08" | "V09" | "V10" | "V11" | "V12" | "V13" | "V14" | "V15" | "V16" | "V17" | "V18" | "V19" | "V20" | "V21" | "V22" | "V23" | "V24" | "V25" | "V26" | "V27" | "V28" | "V29" | "V30" | "V31" | "V32" | "V33" | "K01" | "K02" | "K03" | "K04" | "K05" | "K06" | "K07" | "K08" | "K09" | "K10" | "K11" | "K12" | "K13" | "K14" | "K15" | "K16" | "K17" | "K18" | "K19" | "K20" | "K21" | "D01" | "D02" | "D03" | "D04" | "D05" | "D06" | "D07" | "D08" | "D09" | "D10" | "D11" | "D12" | "D13" | "D14" | "D15" | "D16" | "D17" | "D18" | "D19" | "D20" | "D21" | "D22" | "D23" | "D24" | "D25" | "D26" | "D27" | "D28" | "D29" | "D30" | "D31" | "D32" | "D33" | "D34" | "D35" | "D36" | "D37" | "D38" | "D39" | "D40" | "D41" | "D42" | "D43" | "D44" | "D45" | "D46" | "D47" | "D48" | "D49" | "D50" | "D51" | "D52" | "D53" | "D55" | "D56" | "D57" | "D58" | "D59" | "D60" | "D61" | "D62" | "D63" | "D64" | "D65" | "D66" | "D67" | "D68" | "D69" | "D70" | "D71" | "D72" | "D73" | "D74" | "D75" | "D76" | "D77" | "D78" | "D79" | "D80" | "D81" | "D82")[];
1973
+ companyTurnover: "LESS_THAN_50M" | "50M_TO_100M" | "OVER_100M";
1974
+ operatingCountries: ("CZ" | "EU" | "OUTSIDE_EU")[];
1975
+ operatingCountriesOther: ("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")[] | null;
1976
+ businessPartners: {
1977
+ name: string;
1978
+ country: "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";
1979
+ cooperationReason: string | null;
1980
+ }[] | null;
1981
+ businessActivitiesNote: string | null;
1982
+ } | undefined;
1983
+ yearlyIncome?: "UP_TO_40K" | "40K_TO_80K" | "OVER_80K" | "LESS_THAN_50M" | "50M_TO_100M" | "OVER_100M" | undefined;
1984
+ sourceOfIncome?: ("OTHER" | "EMPLOYMENT" | "PENSION" | "SAVINGS" | "INHERITANCE" | "INVESTMENTS" | "HOUSE_SALE" | "CAR_SALE" | "AUCTION_SALE")[] | undefined;
1985
+ incomeSourceOther?: string | undefined;
1986
+ servicePurposes?: ("OTHER" | "INVESTMENTS" | "PURCHASE_OF_GOODS_AND_SERVICES" | "PAYMENTS_TO_CUSTOMERS" | "PAYMENTS_TO_SUPPLIERS" | "FOREIGN_INVESTMENTS")[] | undefined;
1987
+ servicePurposesOther?: string | undefined;
1988
+ taxDomicile?: "CZ" | "US" | "OTHER" | "EU" | undefined;
1989
+ taxDomicileCountry?: "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" | undefined;
1990
+ transactionType?: string | undefined;
1991
+ transactionTypeExpiry?: unknown;
1992
+ isDistraint?: boolean | undefined;
1993
+ estTxsCountMonth?: number | undefined;
1994
+ tradingCountriesOther?: ("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")[] | undefined;
1995
+ signatureMethod?: "IN_PERSON" | "REMOTE" | "COURIER" | "POWER_OF_ATTORNEY" | undefined;
1996
+ existencePeriod?: "OVER_24_MONTHS" | "OVER_16_MONTHS" | "LESS_THAN_12_MONTHS" | "LESS_THAN_6_MONTHS" | undefined;
1997
+ reputation?: "NO_NEGATIVE_RECORDS" | "BUSINESS_INCREASES_RISK" | "NEGATIVE_RECORDS" | "SANCTIONS_LIST_HIT" | undefined;
1998
+ riskBusinessAreas?: ("PAWN_SHOPS" | "USED_CAR_DEALERS" | "CASINOS" | "REAL_ESTATE_AGENCIES" | "PRECIOUS_METALS_AND_GEMS" | "WEAPONS_AND_AMMUNITION" | "NON_BANK_CREDIT_INSTITUTIONS" | "CURRENCY_EXCHANGE" | "VIRTUAL_ASSET_SERVICES")[] | undefined;
1999
+ riskLevel?: "LOW" | "MEDIUM" | "HIGH" | "UNACCEPTABLE" | "UNVERIFIED" | "UNCLASSIFIED" | undefined;
2000
+ kycStatus?: "UNVERIFIED" | "NOT_APPROVED" | "VERIFIED" | "REJECTED" | undefined;
2001
+ };
2002
+ };
2003
+ };
2004
+ output: {
2005
+ message: string;
2006
+ };
2007
+ outputFormat: "json";
2008
+ status: 400;
1937
2009
  };
1938
2010
  };
1939
2011
  }, "/v1/parties/:partyId/aml/:id"> & hono_types.MergeSchemaPath<{
@@ -3730,6 +3802,179 @@ declare const partnerApi: OpenAPIHono<{
3730
3802
  };
3731
3803
  };
3732
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<{
3733
3978
  "/": {
3734
3979
  $put: {
3735
3980
  input: {
@@ -5452,7 +5697,6 @@ declare const partnerApi: OpenAPIHono<{
5452
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";
5453
5698
  isPep: boolean;
5454
5699
  address: {
5455
- street: string;
5456
5700
  municipality: string;
5457
5701
  zipCode: string;
5458
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";
@@ -5464,8 +5708,8 @@ declare const partnerApi: OpenAPIHono<{
5464
5708
  addressType?: "PERMANENT_ADDRESS" | "REGISTERED_OFFICE" | "CONTACT_ADDRESS" | undefined;
5465
5709
  district?: string | null | undefined;
5466
5710
  region?: string | null | undefined;
5711
+ street?: string | undefined;
5467
5712
  };
5468
- dateOfEstablishment: string;
5469
5713
  titleBefore?: string | undefined;
5470
5714
  titleAfter?: string | undefined;
5471
5715
  birthPlace?: string | undefined;
@@ -5480,6 +5724,7 @@ declare const partnerApi: OpenAPIHono<{
5480
5724
  frontImageUri?: string | undefined;
5481
5725
  backImageUri?: string | undefined;
5482
5726
  }[] | undefined;
5727
+ dateOfEstablishment?: string | undefined;
5483
5728
  }[] | undefined;
5484
5729
  products?: {
5485
5730
  txs?: {
@@ -5801,7 +6046,6 @@ declare const partnerApi: OpenAPIHono<{
5801
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";
5802
6047
  isPep: boolean;
5803
6048
  address: {
5804
- street: string;
5805
6049
  municipality: string;
5806
6050
  zipCode: string;
5807
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";
@@ -5813,8 +6057,8 @@ declare const partnerApi: OpenAPIHono<{
5813
6057
  addressType?: "PERMANENT_ADDRESS" | "REGISTERED_OFFICE" | "CONTACT_ADDRESS" | undefined;
5814
6058
  district?: string | null | undefined;
5815
6059
  region?: string | null | undefined;
6060
+ street?: string | undefined;
5816
6061
  };
5817
- dateOfEstablishment: string;
5818
6062
  titleBefore?: string | undefined;
5819
6063
  titleAfter?: string | undefined;
5820
6064
  birthPlace?: string | undefined;
@@ -5829,6 +6073,7 @@ declare const partnerApi: OpenAPIHono<{
5829
6073
  frontImageUri?: string | undefined;
5830
6074
  backImageUri?: string | undefined;
5831
6075
  }[] | undefined;
6076
+ dateOfEstablishment?: string | undefined;
5832
6077
  }[] | undefined;
5833
6078
  products?: {
5834
6079
  txs?: {
@@ -6140,7 +6385,6 @@ declare const partnerApi: OpenAPIHono<{
6140
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";
6141
6386
  isPep: boolean;
6142
6387
  address: {
6143
- street: string;
6144
6388
  municipality: string;
6145
6389
  zipCode: string;
6146
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";
@@ -6152,8 +6396,8 @@ declare const partnerApi: OpenAPIHono<{
6152
6396
  addressType?: "PERMANENT_ADDRESS" | "REGISTERED_OFFICE" | "CONTACT_ADDRESS" | undefined;
6153
6397
  district?: string | null | undefined;
6154
6398
  region?: string | null | undefined;
6399
+ street?: string | undefined;
6155
6400
  };
6156
- dateOfEstablishment: string;
6157
6401
  titleBefore?: string | undefined;
6158
6402
  titleAfter?: string | undefined;
6159
6403
  birthPlace?: string | undefined;
@@ -6168,6 +6412,7 @@ declare const partnerApi: OpenAPIHono<{
6168
6412
  frontImageUri?: string | undefined;
6169
6413
  backImageUri?: string | undefined;
6170
6414
  }[] | undefined;
6415
+ dateOfEstablishment?: string | undefined;
6171
6416
  }[] | undefined;
6172
6417
  products?: {
6173
6418
  txs?: {
@@ -12615,7 +12860,6 @@ declare const createPartyInputSchema: z.ZodObject<{
12615
12860
  }, z.core.$strip>>>;
12616
12861
  address: z.ZodObject<{
12617
12862
  internalId: z.ZodOptional<z.ZodString>;
12618
- street: z.ZodString;
12619
12863
  orientationNumber: z.ZodOptional<z.ZodString>;
12620
12864
  descriptiveNumber: z.ZodOptional<z.ZodString>;
12621
12865
  municipality: z.ZodString;
@@ -12842,8 +13086,9 @@ declare const createPartyInputSchema: z.ZodObject<{
12842
13086
  }>>;
12843
13087
  district: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12844
13088
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13089
+ street: z.ZodOptional<z.ZodString>;
12845
13090
  }, z.core.$strip>;
12846
- dateOfEstablishment: z.ZodString;
13091
+ dateOfEstablishment: z.ZodOptional<z.ZodString>;
12847
13092
  }, z.core.$strip>>>;
12848
13093
  aml: z.ZodObject<{
12849
13094
  internalId: z.ZodOptional<z.ZodString>;
@@ -1681,6 +1681,7 @@ declare const partnerApi: OpenAPIHono<{
1681
1681
  $put: {
1682
1682
  input: {
1683
1683
  param: {
1684
+ partyId: string;
1684
1685
  id: string;
1685
1686
  };
1686
1687
  } & {
@@ -1750,6 +1751,7 @@ declare const partnerApi: OpenAPIHono<{
1750
1751
  } | {
1751
1752
  input: {
1752
1753
  param: {
1754
+ partyId: string;
1753
1755
  id: string;
1754
1756
  };
1755
1757
  } & {
@@ -1819,6 +1821,7 @@ declare const partnerApi: OpenAPIHono<{
1819
1821
  } | {
1820
1822
  input: {
1821
1823
  param: {
1824
+ partyId: string;
1822
1825
  id: string;
1823
1826
  };
1824
1827
  } & {
@@ -1934,6 +1937,75 @@ declare const partnerApi: OpenAPIHono<{
1934
1937
  };
1935
1938
  outputFormat: "json";
1936
1939
  status: 200;
1940
+ } | {
1941
+ input: {
1942
+ param: {
1943
+ partyId: string;
1944
+ id: string;
1945
+ };
1946
+ } & {
1947
+ header: {
1948
+ 'X-Idempotency-Key': string;
1949
+ 'X-Signature': string;
1950
+ 'X-Signature-Key': string;
1951
+ };
1952
+ } & {
1953
+ json: {
1954
+ aml: {
1955
+ id: string;
1956
+ estTxsVolumeMonth: "UP_TO_1M" | "1M_TO_5M" | "OVER_5M";
1957
+ estTxsVolumeYear: "LESS_THAN_12M" | "12M_TO_50M" | "OVER_50M";
1958
+ tradingCountries: ("CZ" | "EU" | "OUTSIDE_EU")[];
1959
+ tradingSide: "SELL" | "BUY" | "BOTH";
1960
+ acceptedAMLTermsAndConditions: boolean;
1961
+ partyId?: string | undefined;
1962
+ internalId?: string | undefined;
1963
+ sourceOfWealth?: {
1964
+ incomeSources: ("OTHER" | "EMPLOYMENT" | "PENSION" | "SAVINGS" | "INHERITANCE" | "INVESTMENTS" | "HOUSE_SALE" | "CAR_SALE" | "AUCTION_SALE")[];
1965
+ incomeSourceOther: string | null;
1966
+ monthlyIncome: "UP_TO_40K" | "40K_TO_80K" | "OVER_80K";
1967
+ employer: string | null;
1968
+ employerCountry: "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" | null;
1969
+ } | {
1970
+ financialFundsSources: ("OTHER" | "INVESTMENTS" | "BUSINESS_REVENUE" | "LOAN")[];
1971
+ financialFundsSourceOther: string | null;
1972
+ mainBusinessSubjects: ("R01" | "R02" | "R03" | "R04" | "R05" | "R06" | "R07" | "R08" | "R09" | "R10" | "R11" | "R12" | "R13" | "R14" | "R15" | "R16" | "R17" | "R18" | "R19" | "R20" | "R21" | "R22" | "R23" | "R24" | "R25" | "R26" | "R27" | "R28" | "R29" | "R30" | "R31" | "R32" | "R33" | "R34" | "R35" | "R36" | "R37" | "R38" | "R39" | "R40" | "R41" | "V01" | "V02" | "V03" | "V04" | "V05" | "V06" | "V07" | "V08" | "V09" | "V10" | "V11" | "V12" | "V13" | "V14" | "V15" | "V16" | "V17" | "V18" | "V19" | "V20" | "V21" | "V22" | "V23" | "V24" | "V25" | "V26" | "V27" | "V28" | "V29" | "V30" | "V31" | "V32" | "V33" | "K01" | "K02" | "K03" | "K04" | "K05" | "K06" | "K07" | "K08" | "K09" | "K10" | "K11" | "K12" | "K13" | "K14" | "K15" | "K16" | "K17" | "K18" | "K19" | "K20" | "K21" | "D01" | "D02" | "D03" | "D04" | "D05" | "D06" | "D07" | "D08" | "D09" | "D10" | "D11" | "D12" | "D13" | "D14" | "D15" | "D16" | "D17" | "D18" | "D19" | "D20" | "D21" | "D22" | "D23" | "D24" | "D25" | "D26" | "D27" | "D28" | "D29" | "D30" | "D31" | "D32" | "D33" | "D34" | "D35" | "D36" | "D37" | "D38" | "D39" | "D40" | "D41" | "D42" | "D43" | "D44" | "D45" | "D46" | "D47" | "D48" | "D49" | "D50" | "D51" | "D52" | "D53" | "D55" | "D56" | "D57" | "D58" | "D59" | "D60" | "D61" | "D62" | "D63" | "D64" | "D65" | "D66" | "D67" | "D68" | "D69" | "D70" | "D71" | "D72" | "D73" | "D74" | "D75" | "D76" | "D77" | "D78" | "D79" | "D80" | "D81" | "D82")[];
1973
+ companyTurnover: "LESS_THAN_50M" | "50M_TO_100M" | "OVER_100M";
1974
+ operatingCountries: ("CZ" | "EU" | "OUTSIDE_EU")[];
1975
+ operatingCountriesOther: ("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")[] | null;
1976
+ businessPartners: {
1977
+ name: string;
1978
+ country: "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";
1979
+ cooperationReason: string | null;
1980
+ }[] | null;
1981
+ businessActivitiesNote: string | null;
1982
+ } | undefined;
1983
+ yearlyIncome?: "UP_TO_40K" | "40K_TO_80K" | "OVER_80K" | "LESS_THAN_50M" | "50M_TO_100M" | "OVER_100M" | undefined;
1984
+ sourceOfIncome?: ("OTHER" | "EMPLOYMENT" | "PENSION" | "SAVINGS" | "INHERITANCE" | "INVESTMENTS" | "HOUSE_SALE" | "CAR_SALE" | "AUCTION_SALE")[] | undefined;
1985
+ incomeSourceOther?: string | undefined;
1986
+ servicePurposes?: ("OTHER" | "INVESTMENTS" | "PURCHASE_OF_GOODS_AND_SERVICES" | "PAYMENTS_TO_CUSTOMERS" | "PAYMENTS_TO_SUPPLIERS" | "FOREIGN_INVESTMENTS")[] | undefined;
1987
+ servicePurposesOther?: string | undefined;
1988
+ taxDomicile?: "CZ" | "US" | "OTHER" | "EU" | undefined;
1989
+ taxDomicileCountry?: "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" | undefined;
1990
+ transactionType?: string | undefined;
1991
+ transactionTypeExpiry?: unknown;
1992
+ isDistraint?: boolean | undefined;
1993
+ estTxsCountMonth?: number | undefined;
1994
+ tradingCountriesOther?: ("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")[] | undefined;
1995
+ signatureMethod?: "IN_PERSON" | "REMOTE" | "COURIER" | "POWER_OF_ATTORNEY" | undefined;
1996
+ existencePeriod?: "OVER_24_MONTHS" | "OVER_16_MONTHS" | "LESS_THAN_12_MONTHS" | "LESS_THAN_6_MONTHS" | undefined;
1997
+ reputation?: "NO_NEGATIVE_RECORDS" | "BUSINESS_INCREASES_RISK" | "NEGATIVE_RECORDS" | "SANCTIONS_LIST_HIT" | undefined;
1998
+ riskBusinessAreas?: ("PAWN_SHOPS" | "USED_CAR_DEALERS" | "CASINOS" | "REAL_ESTATE_AGENCIES" | "PRECIOUS_METALS_AND_GEMS" | "WEAPONS_AND_AMMUNITION" | "NON_BANK_CREDIT_INSTITUTIONS" | "CURRENCY_EXCHANGE" | "VIRTUAL_ASSET_SERVICES")[] | undefined;
1999
+ riskLevel?: "LOW" | "MEDIUM" | "HIGH" | "UNACCEPTABLE" | "UNVERIFIED" | "UNCLASSIFIED" | undefined;
2000
+ kycStatus?: "UNVERIFIED" | "NOT_APPROVED" | "VERIFIED" | "REJECTED" | undefined;
2001
+ };
2002
+ };
2003
+ };
2004
+ output: {
2005
+ message: string;
2006
+ };
2007
+ outputFormat: "json";
2008
+ status: 400;
1937
2009
  };
1938
2010
  };
1939
2011
  }, "/v1/parties/:partyId/aml/:id"> & hono_types.MergeSchemaPath<{
@@ -3730,6 +3802,179 @@ declare const partnerApi: OpenAPIHono<{
3730
3802
  };
3731
3803
  };
3732
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<{
3733
3978
  "/": {
3734
3979
  $put: {
3735
3980
  input: {
@@ -5452,7 +5697,6 @@ declare const partnerApi: OpenAPIHono<{
5452
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";
5453
5698
  isPep: boolean;
5454
5699
  address: {
5455
- street: string;
5456
5700
  municipality: string;
5457
5701
  zipCode: string;
5458
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";
@@ -5464,8 +5708,8 @@ declare const partnerApi: OpenAPIHono<{
5464
5708
  addressType?: "PERMANENT_ADDRESS" | "REGISTERED_OFFICE" | "CONTACT_ADDRESS" | undefined;
5465
5709
  district?: string | null | undefined;
5466
5710
  region?: string | null | undefined;
5711
+ street?: string | undefined;
5467
5712
  };
5468
- dateOfEstablishment: string;
5469
5713
  titleBefore?: string | undefined;
5470
5714
  titleAfter?: string | undefined;
5471
5715
  birthPlace?: string | undefined;
@@ -5480,6 +5724,7 @@ declare const partnerApi: OpenAPIHono<{
5480
5724
  frontImageUri?: string | undefined;
5481
5725
  backImageUri?: string | undefined;
5482
5726
  }[] | undefined;
5727
+ dateOfEstablishment?: string | undefined;
5483
5728
  }[] | undefined;
5484
5729
  products?: {
5485
5730
  txs?: {
@@ -5801,7 +6046,6 @@ declare const partnerApi: OpenAPIHono<{
5801
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";
5802
6047
  isPep: boolean;
5803
6048
  address: {
5804
- street: string;
5805
6049
  municipality: string;
5806
6050
  zipCode: string;
5807
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";
@@ -5813,8 +6057,8 @@ declare const partnerApi: OpenAPIHono<{
5813
6057
  addressType?: "PERMANENT_ADDRESS" | "REGISTERED_OFFICE" | "CONTACT_ADDRESS" | undefined;
5814
6058
  district?: string | null | undefined;
5815
6059
  region?: string | null | undefined;
6060
+ street?: string | undefined;
5816
6061
  };
5817
- dateOfEstablishment: string;
5818
6062
  titleBefore?: string | undefined;
5819
6063
  titleAfter?: string | undefined;
5820
6064
  birthPlace?: string | undefined;
@@ -5829,6 +6073,7 @@ declare const partnerApi: OpenAPIHono<{
5829
6073
  frontImageUri?: string | undefined;
5830
6074
  backImageUri?: string | undefined;
5831
6075
  }[] | undefined;
6076
+ dateOfEstablishment?: string | undefined;
5832
6077
  }[] | undefined;
5833
6078
  products?: {
5834
6079
  txs?: {
@@ -6140,7 +6385,6 @@ declare const partnerApi: OpenAPIHono<{
6140
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";
6141
6386
  isPep: boolean;
6142
6387
  address: {
6143
- street: string;
6144
6388
  municipality: string;
6145
6389
  zipCode: string;
6146
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";
@@ -6152,8 +6396,8 @@ declare const partnerApi: OpenAPIHono<{
6152
6396
  addressType?: "PERMANENT_ADDRESS" | "REGISTERED_OFFICE" | "CONTACT_ADDRESS" | undefined;
6153
6397
  district?: string | null | undefined;
6154
6398
  region?: string | null | undefined;
6399
+ street?: string | undefined;
6155
6400
  };
6156
- dateOfEstablishment: string;
6157
6401
  titleBefore?: string | undefined;
6158
6402
  titleAfter?: string | undefined;
6159
6403
  birthPlace?: string | undefined;
@@ -6168,6 +6412,7 @@ declare const partnerApi: OpenAPIHono<{
6168
6412
  frontImageUri?: string | undefined;
6169
6413
  backImageUri?: string | undefined;
6170
6414
  }[] | undefined;
6415
+ dateOfEstablishment?: string | undefined;
6171
6416
  }[] | undefined;
6172
6417
  products?: {
6173
6418
  txs?: {
@@ -12615,7 +12860,6 @@ declare const createPartyInputSchema: z.ZodObject<{
12615
12860
  }, z.core.$strip>>>;
12616
12861
  address: z.ZodObject<{
12617
12862
  internalId: z.ZodOptional<z.ZodString>;
12618
- street: z.ZodString;
12619
12863
  orientationNumber: z.ZodOptional<z.ZodString>;
12620
12864
  descriptiveNumber: z.ZodOptional<z.ZodString>;
12621
12865
  municipality: z.ZodString;
@@ -12842,8 +13086,9 @@ declare const createPartyInputSchema: z.ZodObject<{
12842
13086
  }>>;
12843
13087
  district: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12844
13088
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13089
+ street: z.ZodOptional<z.ZodString>;
12845
13090
  }, z.core.$strip>;
12846
- dateOfEstablishment: z.ZodString;
13091
+ dateOfEstablishment: z.ZodOptional<z.ZodString>;
12847
13092
  }, z.core.$strip>>>;
12848
13093
  aml: z.ZodObject<{
12849
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.5",
3
+ "version": "2.3.0-canary.5851d133",
4
4
  "author": "Devizová burza a.s.",
5
5
  "license": "ISC",
6
6
  "type": "module",