@mestra-dev/contract 0.0.213 → 0.0.214
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 +127 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4578,17 +4578,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4578
4578
|
readonly type: "object";
|
|
4579
4579
|
readonly required: readonly [
|
|
4580
4580
|
"id",
|
|
4581
|
+
"workspaceId",
|
|
4581
4582
|
"order",
|
|
4582
4583
|
"name",
|
|
4583
4584
|
"cardColor",
|
|
4584
4585
|
"currency",
|
|
4585
|
-
"active"
|
|
4586
|
+
"active",
|
|
4587
|
+
"created_at"
|
|
4586
4588
|
];
|
|
4587
4589
|
readonly properties: {
|
|
4588
4590
|
readonly id: {
|
|
4589
4591
|
readonly type: "string";
|
|
4590
4592
|
readonly format: "uuid";
|
|
4591
4593
|
};
|
|
4594
|
+
readonly workspaceId: {
|
|
4595
|
+
readonly type: "string";
|
|
4596
|
+
readonly format: "uuid";
|
|
4597
|
+
};
|
|
4592
4598
|
readonly order: {
|
|
4593
4599
|
readonly type: "integer";
|
|
4594
4600
|
readonly minimum: 1;
|
|
@@ -4610,10 +4616,49 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4610
4616
|
"euro"
|
|
4611
4617
|
];
|
|
4612
4618
|
};
|
|
4619
|
+
readonly country: {
|
|
4620
|
+
readonly type: "string";
|
|
4621
|
+
readonly nullable: true;
|
|
4622
|
+
};
|
|
4613
4623
|
readonly companyName: {
|
|
4614
4624
|
readonly type: "string";
|
|
4615
4625
|
readonly nullable: true;
|
|
4616
|
-
|
|
4626
|
+
};
|
|
4627
|
+
readonly inn: {
|
|
4628
|
+
readonly type: "string";
|
|
4629
|
+
readonly nullable: true;
|
|
4630
|
+
};
|
|
4631
|
+
readonly kpp: {
|
|
4632
|
+
readonly type: "string";
|
|
4633
|
+
readonly nullable: true;
|
|
4634
|
+
};
|
|
4635
|
+
readonly ogrn: {
|
|
4636
|
+
readonly type: "string";
|
|
4637
|
+
readonly nullable: true;
|
|
4638
|
+
};
|
|
4639
|
+
readonly bankName: {
|
|
4640
|
+
readonly type: "string";
|
|
4641
|
+
readonly nullable: true;
|
|
4642
|
+
};
|
|
4643
|
+
readonly bankAccountNumber: {
|
|
4644
|
+
readonly type: "string";
|
|
4645
|
+
readonly nullable: true;
|
|
4646
|
+
};
|
|
4647
|
+
readonly bankBik: {
|
|
4648
|
+
readonly type: "string";
|
|
4649
|
+
readonly nullable: true;
|
|
4650
|
+
};
|
|
4651
|
+
readonly bankKc: {
|
|
4652
|
+
readonly type: "string";
|
|
4653
|
+
readonly nullable: true;
|
|
4654
|
+
};
|
|
4655
|
+
readonly bankInn: {
|
|
4656
|
+
readonly type: "string";
|
|
4657
|
+
readonly nullable: true;
|
|
4658
|
+
};
|
|
4659
|
+
readonly bankKpp: {
|
|
4660
|
+
readonly type: "string";
|
|
4661
|
+
readonly nullable: true;
|
|
4617
4662
|
};
|
|
4618
4663
|
readonly vatRate: {
|
|
4619
4664
|
readonly type: "integer";
|
|
@@ -4624,6 +4669,15 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4624
4669
|
readonly active: {
|
|
4625
4670
|
readonly type: "boolean";
|
|
4626
4671
|
};
|
|
4672
|
+
readonly created_at: {
|
|
4673
|
+
readonly type: "string";
|
|
4674
|
+
readonly format: "date-time";
|
|
4675
|
+
};
|
|
4676
|
+
readonly updated_at: {
|
|
4677
|
+
readonly type: "string";
|
|
4678
|
+
readonly format: "date-time";
|
|
4679
|
+
readonly nullable: true;
|
|
4680
|
+
};
|
|
4627
4681
|
};
|
|
4628
4682
|
};
|
|
4629
4683
|
readonly ListCInvoiceFinanceAccountsSuccess: {
|
|
@@ -6091,7 +6145,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6091
6145
|
readonly type: "string";
|
|
6092
6146
|
readonly nullable: true;
|
|
6093
6147
|
};
|
|
6094
|
-
readonly
|
|
6148
|
+
readonly ogrn: {
|
|
6149
|
+
readonly type: "string";
|
|
6150
|
+
readonly nullable: true;
|
|
6151
|
+
};
|
|
6152
|
+
readonly bankName: {
|
|
6095
6153
|
readonly type: "string";
|
|
6096
6154
|
readonly nullable: true;
|
|
6097
6155
|
};
|
|
@@ -6107,6 +6165,14 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
6107
6165
|
readonly type: "string";
|
|
6108
6166
|
readonly nullable: true;
|
|
6109
6167
|
};
|
|
6168
|
+
readonly bankInn: {
|
|
6169
|
+
readonly type: "string";
|
|
6170
|
+
readonly nullable: true;
|
|
6171
|
+
};
|
|
6172
|
+
readonly bankKpp: {
|
|
6173
|
+
readonly type: "string";
|
|
6174
|
+
readonly nullable: true;
|
|
6175
|
+
};
|
|
6110
6176
|
readonly vatRate: {
|
|
6111
6177
|
readonly type: "integer";
|
|
6112
6178
|
readonly nullable: true;
|
|
@@ -14924,7 +14990,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14924
14990
|
"CInvoices"
|
|
14925
14991
|
];
|
|
14926
14992
|
readonly summary: "List finance accounts for invoice seller selection";
|
|
14927
|
-
readonly description: "Returns workspace finance accounts for choosing SellerFinanceAccountId when creating or updating a customer invoice. Requires workspace access and read access to crm::customers, not crm::finance.
|
|
14993
|
+
readonly description: "Returns workspace finance accounts for choosing SellerFinanceAccountId when creating or updating a customer invoice. Requires workspace access and read access to crm::customers, not crm::finance. Includes company and bank details, but omits openingBalance.";
|
|
14928
14994
|
readonly security: readonly [
|
|
14929
14995
|
never
|
|
14930
14996
|
];
|
|
@@ -20127,7 +20193,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
20127
20193
|
readonly kpp: {
|
|
20128
20194
|
readonly type: "string";
|
|
20129
20195
|
};
|
|
20130
|
-
readonly
|
|
20196
|
+
readonly ogrn: {
|
|
20197
|
+
readonly type: "string";
|
|
20198
|
+
};
|
|
20199
|
+
readonly bankName: {
|
|
20131
20200
|
readonly type: "string";
|
|
20132
20201
|
};
|
|
20133
20202
|
readonly bankAccountNumber: {
|
|
@@ -20139,6 +20208,12 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
20139
20208
|
readonly bankKc: {
|
|
20140
20209
|
readonly type: "string";
|
|
20141
20210
|
};
|
|
20211
|
+
readonly bankInn: {
|
|
20212
|
+
readonly type: "string";
|
|
20213
|
+
};
|
|
20214
|
+
readonly bankKpp: {
|
|
20215
|
+
readonly type: "string";
|
|
20216
|
+
};
|
|
20142
20217
|
readonly vatRate: {
|
|
20143
20218
|
readonly type: "integer";
|
|
20144
20219
|
readonly minimum: 0;
|
|
@@ -20255,7 +20330,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
20255
20330
|
readonly kpp: {
|
|
20256
20331
|
readonly type: "string";
|
|
20257
20332
|
};
|
|
20258
|
-
readonly
|
|
20333
|
+
readonly ogrn: {
|
|
20334
|
+
readonly type: "string";
|
|
20335
|
+
};
|
|
20336
|
+
readonly bankName: {
|
|
20259
20337
|
readonly type: "string";
|
|
20260
20338
|
};
|
|
20261
20339
|
readonly bankAccountNumber: {
|
|
@@ -20267,6 +20345,12 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
20267
20345
|
readonly bankKc: {
|
|
20268
20346
|
readonly type: "string";
|
|
20269
20347
|
};
|
|
20348
|
+
readonly bankInn: {
|
|
20349
|
+
readonly type: "string";
|
|
20350
|
+
};
|
|
20351
|
+
readonly bankKpp: {
|
|
20352
|
+
readonly type: "string";
|
|
20353
|
+
};
|
|
20270
20354
|
readonly vatRate: {
|
|
20271
20355
|
readonly type: "integer";
|
|
20272
20356
|
readonly minimum: 0;
|
|
@@ -23987,13 +24071,26 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
23987
24071
|
success: true;
|
|
23988
24072
|
accounts: {
|
|
23989
24073
|
id: string;
|
|
23990
|
-
|
|
24074
|
+
created_at: string;
|
|
23991
24075
|
name: string;
|
|
23992
|
-
|
|
23993
|
-
|
|
24076
|
+
active: boolean;
|
|
24077
|
+
workspaceId: string;
|
|
24078
|
+
country: string | null;
|
|
23994
24079
|
companyName: string | null;
|
|
24080
|
+
inn: string | null;
|
|
24081
|
+
kpp: string | null;
|
|
24082
|
+
bankAccountNumber: string | null;
|
|
24083
|
+
bankBik: string | null;
|
|
24084
|
+
bankKc: string | null;
|
|
23995
24085
|
vatRate: number | null;
|
|
23996
|
-
|
|
24086
|
+
currency: FinanceCurrency;
|
|
24087
|
+
order: number;
|
|
24088
|
+
cardColor: string;
|
|
24089
|
+
updated_at: string | null;
|
|
24090
|
+
ogrn: string | null;
|
|
24091
|
+
bankName: string | null;
|
|
24092
|
+
bankInn: string | null;
|
|
24093
|
+
bankKpp: string | null;
|
|
23997
24094
|
}[];
|
|
23998
24095
|
};
|
|
23999
24096
|
outputFormat: "json";
|
|
@@ -30084,10 +30181,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
30084
30181
|
companyName: string | null;
|
|
30085
30182
|
inn: string | null;
|
|
30086
30183
|
kpp: string | null;
|
|
30087
|
-
|
|
30184
|
+
ogrn: string | null;
|
|
30185
|
+
bankName: string | null;
|
|
30088
30186
|
bankAccountNumber: string | null;
|
|
30089
30187
|
bankBik: string | null;
|
|
30090
30188
|
bankKc: string | null;
|
|
30189
|
+
bankInn: string | null;
|
|
30190
|
+
bankKpp: string | null;
|
|
30091
30191
|
vatRate: number | null;
|
|
30092
30192
|
active: boolean;
|
|
30093
30193
|
created_at: string;
|
|
@@ -30136,10 +30236,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
30136
30236
|
companyName: string | null;
|
|
30137
30237
|
inn: string | null;
|
|
30138
30238
|
kpp: string | null;
|
|
30139
|
-
|
|
30239
|
+
ogrn: string | null;
|
|
30240
|
+
bankName: string | null;
|
|
30140
30241
|
bankAccountNumber: string | null;
|
|
30141
30242
|
bankBik: string | null;
|
|
30142
30243
|
bankKc: string | null;
|
|
30244
|
+
bankInn: string | null;
|
|
30245
|
+
bankKpp: string | null;
|
|
30143
30246
|
vatRate: number | null;
|
|
30144
30247
|
active: boolean;
|
|
30145
30248
|
created_at: string;
|
|
@@ -30176,10 +30279,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
30176
30279
|
companyName: string | null;
|
|
30177
30280
|
inn: string | null;
|
|
30178
30281
|
kpp: string | null;
|
|
30179
|
-
|
|
30282
|
+
ogrn: string | null;
|
|
30283
|
+
bankName: string | null;
|
|
30180
30284
|
bankAccountNumber: string | null;
|
|
30181
30285
|
bankBik: string | null;
|
|
30182
30286
|
bankKc: string | null;
|
|
30287
|
+
bankInn: string | null;
|
|
30288
|
+
bankKpp: string | null;
|
|
30183
30289
|
vatRate: number | null;
|
|
30184
30290
|
active: boolean;
|
|
30185
30291
|
created_at: string;
|
|
@@ -30224,10 +30330,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
30224
30330
|
companyName: string | null;
|
|
30225
30331
|
inn: string | null;
|
|
30226
30332
|
kpp: string | null;
|
|
30227
|
-
|
|
30333
|
+
ogrn: string | null;
|
|
30334
|
+
bankName: string | null;
|
|
30228
30335
|
bankAccountNumber: string | null;
|
|
30229
30336
|
bankBik: string | null;
|
|
30230
30337
|
bankKc: string | null;
|
|
30338
|
+
bankInn: string | null;
|
|
30339
|
+
bankKpp: string | null;
|
|
30231
30340
|
vatRate: number | null;
|
|
30232
30341
|
active: boolean;
|
|
30233
30342
|
created_at: string;
|
|
@@ -30264,10 +30373,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
30264
30373
|
companyName: string | null;
|
|
30265
30374
|
inn: string | null;
|
|
30266
30375
|
kpp: string | null;
|
|
30267
|
-
|
|
30376
|
+
ogrn: string | null;
|
|
30377
|
+
bankName: string | null;
|
|
30268
30378
|
bankAccountNumber: string | null;
|
|
30269
30379
|
bankBik: string | null;
|
|
30270
30380
|
bankKc: string | null;
|
|
30381
|
+
bankInn: string | null;
|
|
30382
|
+
bankKpp: string | null;
|
|
30271
30383
|
vatRate: number | null;
|
|
30272
30384
|
active: boolean;
|
|
30273
30385
|
created_at: string;
|