@mestra-dev/contract 0.0.218 → 0.0.220
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 +34 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4248,6 +4248,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4248
4248
|
readonly type: "integer";
|
|
4249
4249
|
readonly nullable: true;
|
|
4250
4250
|
};
|
|
4251
|
+
readonly agencyCommission: {
|
|
4252
|
+
readonly type: "integer";
|
|
4253
|
+
readonly nullable: true;
|
|
4254
|
+
};
|
|
4251
4255
|
readonly alternativeEURCurrency: {
|
|
4252
4256
|
readonly type: "boolean";
|
|
4253
4257
|
readonly nullable: true;
|
|
@@ -9988,7 +9992,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
9988
9992
|
"Payments"
|
|
9989
9993
|
];
|
|
9990
9994
|
readonly summary: "Apply a coupon to a pending invoice";
|
|
9991
|
-
readonly description: "Workspace owner only. Applies a fixed or percentage coupon. If the invoice has a live YooKassa checkout, it is replaced with a discounted invoice and this response includes a new checkout link. Coupon attempts are rate limited; invalid codes intentionally return the same response.";
|
|
9995
|
+
readonly description: "Workspace owner only. Applies a fixed or percentage coupon. A coupon issued for a paid Professional workspace applies only to that owner, the Professional plan, and the exact seat count and subscription term of the original purchase. If the invoice has a live YooKassa checkout, it is replaced with a discounted invoice and this response includes a new checkout link. Coupon attempts are rate limited; invalid codes intentionally return the same response.";
|
|
9992
9996
|
readonly security: readonly [
|
|
9993
9997
|
never
|
|
9994
9998
|
];
|
|
@@ -13131,6 +13135,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13131
13135
|
readonly pricePerSquareMeter: {
|
|
13132
13136
|
readonly type: "number";
|
|
13133
13137
|
};
|
|
13138
|
+
readonly agencyCommission: {
|
|
13139
|
+
readonly type: "number";
|
|
13140
|
+
};
|
|
13134
13141
|
readonly alternativeEURCurrency: {
|
|
13135
13142
|
readonly type: "boolean";
|
|
13136
13143
|
};
|
|
@@ -13379,6 +13386,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13379
13386
|
readonly pricePerSquareMeter: {
|
|
13380
13387
|
readonly type: "number";
|
|
13381
13388
|
};
|
|
13389
|
+
readonly agencyCommission: {
|
|
13390
|
+
readonly type: "number";
|
|
13391
|
+
};
|
|
13382
13392
|
readonly alternativeEURCurrency: {
|
|
13383
13393
|
readonly type: "boolean";
|
|
13384
13394
|
};
|
|
@@ -22481,6 +22491,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
22481
22491
|
expiresAt: string | null;
|
|
22482
22492
|
maxRedemptions: number | null;
|
|
22483
22493
|
redemptionCount: number;
|
|
22494
|
+
planId: string | null;
|
|
22495
|
+
seats: number | null;
|
|
22496
|
+
interval: string | null;
|
|
22497
|
+
billingCycles: number | null;
|
|
22498
|
+
restrictedToUserId: string | null;
|
|
22484
22499
|
createdAt: string;
|
|
22485
22500
|
}[];
|
|
22486
22501
|
};
|
|
@@ -22508,6 +22523,10 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
22508
22523
|
created_at: string;
|
|
22509
22524
|
active: boolean;
|
|
22510
22525
|
code: string;
|
|
22526
|
+
seats: number | null;
|
|
22527
|
+
planId: string | null;
|
|
22528
|
+
interval: string | null;
|
|
22529
|
+
billingCycles: number | null;
|
|
22511
22530
|
updated_at: string | null;
|
|
22512
22531
|
deleted_at: string | null;
|
|
22513
22532
|
verified_at: string | null;
|
|
@@ -22518,6 +22537,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
22518
22537
|
maxRedemptions: number | null;
|
|
22519
22538
|
redemptionCount: number;
|
|
22520
22539
|
createdBy: string;
|
|
22540
|
+
restrictedToUserId: string | null;
|
|
22541
|
+
sourceInvoiceId: string | null;
|
|
22542
|
+
notifiedAt: string | null;
|
|
22521
22543
|
};
|
|
22522
22544
|
};
|
|
22523
22545
|
outputFormat: "json";
|
|
@@ -22570,6 +22592,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
22570
22592
|
maxRedemptions: number | null;
|
|
22571
22593
|
redemptionCount: number;
|
|
22572
22594
|
createdBy: string;
|
|
22595
|
+
planId: string | null;
|
|
22596
|
+
seats: number | null;
|
|
22597
|
+
interval: string | null;
|
|
22598
|
+
billingCycles: number | null;
|
|
22599
|
+
restrictedToUserId: string | null;
|
|
22600
|
+
sourceInvoiceId: string | null;
|
|
22601
|
+
notifiedAt: string | null;
|
|
22573
22602
|
};
|
|
22574
22603
|
};
|
|
22575
22604
|
outputFormat: "json";
|
|
@@ -24002,6 +24031,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24002
24031
|
loggiaAccess: boolean | null;
|
|
24003
24032
|
otherFeatures: string | null;
|
|
24004
24033
|
pricePerSquareMeter: number | null;
|
|
24034
|
+
agencyCommission: number | null;
|
|
24005
24035
|
alternativeEURCurrency: boolean | null;
|
|
24006
24036
|
alternativeRUBCurrency: boolean | null;
|
|
24007
24037
|
alternativeUSDCurrency: boolean | null;
|
|
@@ -24091,6 +24121,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24091
24121
|
mortgagePaymentAmount: number | null;
|
|
24092
24122
|
installmentPaymentAmount: number | null;
|
|
24093
24123
|
pricePerSquareMeter: number | null;
|
|
24124
|
+
agencyCommission: number | null;
|
|
24094
24125
|
alternativeEURCurrency: boolean | null;
|
|
24095
24126
|
alternativeRUBCurrency: boolean | null;
|
|
24096
24127
|
alternativeUSDCurrency: boolean | null;
|
|
@@ -24192,6 +24223,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24192
24223
|
mortgagePaymentAmount: number | null;
|
|
24193
24224
|
installmentPaymentAmount: number | null;
|
|
24194
24225
|
pricePerSquareMeter: number | null;
|
|
24226
|
+
agencyCommission: number | null;
|
|
24195
24227
|
alternativeEURCurrency: boolean | null;
|
|
24196
24228
|
alternativeRUBCurrency: boolean | null;
|
|
24197
24229
|
alternativeUSDCurrency: boolean | null;
|
|
@@ -24311,6 +24343,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24311
24343
|
mortgagePaymentAmount: number | null;
|
|
24312
24344
|
installmentPaymentAmount: number | null;
|
|
24313
24345
|
pricePerSquareMeter: number | null;
|
|
24346
|
+
agencyCommission: number | null;
|
|
24314
24347
|
alternativeEURCurrency: boolean | null;
|
|
24315
24348
|
alternativeRUBCurrency: boolean | null;
|
|
24316
24349
|
alternativeUSDCurrency: boolean | null;
|