@devizovaburza/mdm-sdk 2.2.6 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v1/index.d.mts +173 -0
- package/dist/v1/index.d.ts +173 -0
- package/package.json +1 -1
package/dist/v1/index.d.mts
CHANGED
|
@@ -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: {
|
package/dist/v1/index.d.ts
CHANGED
|
@@ -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: {
|