@inceptionbg/main 2.0.49 → 2.0.51
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/index.d.ts +11 -17
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -93,11 +93,12 @@ interface IUserSettings {
|
|
|
93
93
|
}
|
|
94
94
|
type IGuideType = 'invoice';
|
|
95
95
|
|
|
96
|
-
type
|
|
96
|
+
type IPartnerType = 'LEGAL_PERSON' | 'NATURAL_PERSON' | 'INO_PARTNER';
|
|
97
97
|
type ILegalForm = 'LLC | ENTREPRENEUR | FOUNDATION | SPORT_ASSOCIATION | CHAMBER_OF_COMMERCE | CULTURE_INSTITUTION';
|
|
98
|
+
type PartnerGroupType = 'BANK';
|
|
98
99
|
interface IPartner {
|
|
99
100
|
uuid: string;
|
|
100
|
-
type:
|
|
101
|
+
type: IPartnerType;
|
|
101
102
|
organization?: IOrganization;
|
|
102
103
|
firstName?: string;
|
|
103
104
|
lastName?: string;
|
|
@@ -107,7 +108,7 @@ interface IPartner {
|
|
|
107
108
|
businessCode?: string;
|
|
108
109
|
jbkjs?: string;
|
|
109
110
|
businessActivity?: ISimpleObjectWithCode;
|
|
110
|
-
country
|
|
111
|
+
country?: ISimpleObjectWithCode;
|
|
111
112
|
town?: string;
|
|
112
113
|
postalCode?: string;
|
|
113
114
|
street?: string;
|
|
@@ -115,13 +116,7 @@ interface IPartner {
|
|
|
115
116
|
email?: string;
|
|
116
117
|
website?: string;
|
|
117
118
|
phoneNumber?: string;
|
|
118
|
-
groups
|
|
119
|
-
{
|
|
120
|
-
uuid: 'c01d4e1f-6fe5-4008-913e-dec68fe54ab1';
|
|
121
|
-
name: 'Grpup 1';
|
|
122
|
-
groupType: 'BANK';
|
|
123
|
-
}
|
|
124
|
-
];
|
|
119
|
+
groups?: IPartnerGroup[];
|
|
125
120
|
contactPersons?: IContactPerson[];
|
|
126
121
|
inboxUrl?: string;
|
|
127
122
|
legalForm?: ILegalForm;
|
|
@@ -134,7 +129,7 @@ interface IPartner {
|
|
|
134
129
|
interface IPartnersSearch {
|
|
135
130
|
name?: string;
|
|
136
131
|
taxId?: string;
|
|
137
|
-
|
|
132
|
+
businessCode?: string;
|
|
138
133
|
nameLike?: string;
|
|
139
134
|
fullText?: string;
|
|
140
135
|
sort?: string;
|
|
@@ -172,9 +167,9 @@ interface IContactPerson {
|
|
|
172
167
|
uuid: string;
|
|
173
168
|
representation: string;
|
|
174
169
|
legalEntity?: Partial<IPartner>;
|
|
175
|
-
firstName
|
|
176
|
-
lastName
|
|
177
|
-
|
|
170
|
+
firstName: string;
|
|
171
|
+
lastName: string;
|
|
172
|
+
umcn?: string;
|
|
178
173
|
email?: string;
|
|
179
174
|
director?: boolean;
|
|
180
175
|
responsiblePerson?: boolean;
|
|
@@ -191,9 +186,8 @@ interface IPartnerGroup {
|
|
|
191
186
|
uuid: string;
|
|
192
187
|
name: string;
|
|
193
188
|
organization?: IOrganization;
|
|
189
|
+
groupType: PartnerGroupType;
|
|
194
190
|
}
|
|
195
|
-
type PartnerGroupType = 'BANK';
|
|
196
|
-
type IPartnerType = 'legalEntity' | 'physicalPerson' | 'foreignPartner';
|
|
197
191
|
|
|
198
192
|
interface IOrganization {
|
|
199
193
|
uuid: string;
|
|
@@ -201,7 +195,7 @@ interface IOrganization {
|
|
|
201
195
|
firstName?: string;
|
|
202
196
|
lastName?: string;
|
|
203
197
|
taxId?: string;
|
|
204
|
-
|
|
198
|
+
businessCode?: string;
|
|
205
199
|
jbkjs?: string;
|
|
206
200
|
locale?: string;
|
|
207
201
|
country?: ICountry;
|