@mestra-dev/contract 0.0.225 → 0.0.227
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 +528 -72
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
29
29
|
readonly openapi: "3.0.3";
|
|
30
30
|
readonly info: {
|
|
31
31
|
readonly title: "Auth Service API";
|
|
32
|
-
readonly version: "1.5.
|
|
32
|
+
readonly version: "1.5.13";
|
|
33
33
|
readonly description: "OpenAPI specification for the Auth, Integrations, Workspace, Payments, Analytics, Tasks, Templates, Tags, Failure Reasons, Comments, Assignees, Chat, Events, CInvoices, Customer History, Files, Finance, and Notifications endpoints exposed by the k3-core platform. Unhandled HTTPException and unexpected errors are normalized by the global error handler to `{ success: false, error: string }` (status preserved for HTTPException; 500 otherwise).";
|
|
34
34
|
};
|
|
35
35
|
readonly servers: readonly [
|
|
@@ -77,7 +77,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
readonly name: "Tags";
|
|
80
|
-
readonly description: "Workspace tag CRUD and assignment to tasks,
|
|
80
|
+
readonly description: "Workspace tag CRUD and assignment to tasks, customers, or services; list/create accept crm::tasks, crm::customers, or crm::services access; update/delete require crm::general write.";
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
readonly name: "Failure Reasons";
|
|
@@ -97,7 +97,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
readonly name: "Customers";
|
|
100
|
-
readonly description: "Category-specific customer CRUD. Real-estate workspaces persist
|
|
100
|
+
readonly description: "Category-specific customer CRUD. Real-estate workspaces persist a lead on customer_real_estates and a shared row on customers. Every other workspace category persists the general customer profile on customers.";
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
readonly name: "Events";
|
|
@@ -105,11 +105,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
readonly name: "CInvoices";
|
|
108
|
-
readonly description: "Customer invoice management for
|
|
108
|
+
readonly description: "Customer invoice management for every supported workspace category. Requires workspace access and crm::customers access. Seller finance account, customer, and service must belong to the workspace. Invoice creators can list finance accounts for seller selection without crm::finance access or private account fields.";
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
readonly name: "Customer History";
|
|
112
|
-
readonly description: "Customer service-history CRUD for
|
|
112
|
+
readonly description: "Customer service-history CRUD for every supported workspace category. Requires workspace access and crm::customers access. Customer and service must belong to the workspace.";
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
readonly name: "Files";
|
|
@@ -3498,7 +3498,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3498
3498
|
};
|
|
3499
3499
|
readonly customer: {
|
|
3500
3500
|
readonly nullable: true;
|
|
3501
|
-
readonly description: "Customer associated with the task, if any. Real-estate workspaces return the
|
|
3501
|
+
readonly description: "Customer associated with the task, if any. Real-estate workspaces return the lead. Other categories return the general customer.";
|
|
3502
3502
|
readonly allOf: readonly [
|
|
3503
3503
|
{
|
|
3504
3504
|
readonly $ref: "#/components/schemas/Customer";
|
|
@@ -3772,6 +3772,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
3772
3772
|
};
|
|
3773
3773
|
readonly Customer: {
|
|
3774
3774
|
readonly type: "object";
|
|
3775
|
+
readonly description: "Real-estate responses use the lead fields below. Other categories return the general profile on customers: name, email, phone, companyPhone, companyAddress, address, website, type, description, active, birthDate, and utmSource, plus createdBy and tags.";
|
|
3775
3776
|
readonly required: readonly [
|
|
3776
3777
|
"id",
|
|
3777
3778
|
"workspaceId",
|
|
@@ -4091,6 +4092,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4091
4092
|
};
|
|
4092
4093
|
readonly Service: {
|
|
4093
4094
|
readonly type: "object";
|
|
4095
|
+
readonly description: "Real-estate responses use the listing fields below, including title. Other categories return the general service: title and name (the same value), description, stock, currency, type, active, price, and qrCode, plus createdBy and tags.";
|
|
4094
4096
|
readonly required: readonly [
|
|
4095
4097
|
"id",
|
|
4096
4098
|
"workspaceId",
|
|
@@ -4560,7 +4562,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4560
4562
|
readonly serviceId: {
|
|
4561
4563
|
readonly type: "string";
|
|
4562
4564
|
readonly format: "uuid";
|
|
4563
|
-
readonly description: "
|
|
4565
|
+
readonly description: "Service identifier for the workspace category.";
|
|
4564
4566
|
};
|
|
4565
4567
|
readonly SellerFinanceAccountId: {
|
|
4566
4568
|
readonly type: "string";
|
|
@@ -4570,7 +4572,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
4570
4572
|
readonly customerId: {
|
|
4571
4573
|
readonly type: "string";
|
|
4572
4574
|
readonly format: "uuid";
|
|
4573
|
-
readonly description: "
|
|
4575
|
+
readonly description: "Customer identifier for the workspace category.";
|
|
4574
4576
|
};
|
|
4575
4577
|
readonly date: {
|
|
4576
4578
|
readonly type: "string";
|
|
@@ -11238,7 +11240,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
11238
11240
|
"Tasks"
|
|
11239
11241
|
];
|
|
11240
11242
|
readonly summary: "Assign a customer to a task";
|
|
11241
|
-
readonly description: "Assigns a category-specific customer to an existing task in the specified workspace.
|
|
11243
|
+
readonly description: "Assigns a category-specific customer to an existing task in the specified workspace. The customer must belong to that workspace. Requires workspace access and write access to crm::tasks resource.";
|
|
11242
11244
|
readonly security: readonly [
|
|
11243
11245
|
never
|
|
11244
11246
|
];
|
|
@@ -11334,7 +11336,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
11334
11336
|
"Tasks"
|
|
11335
11337
|
];
|
|
11336
11338
|
readonly summary: "Remove a customer from a task";
|
|
11337
|
-
readonly description: "Removes the customer association from an existing task in the specified workspace.
|
|
11339
|
+
readonly description: "Removes the customer association from an existing task in the specified workspace. The customer must belong to that workspace. Requires workspace access and write access to crm::tasks resource.";
|
|
11338
11340
|
readonly security: readonly [
|
|
11339
11341
|
never
|
|
11340
11342
|
];
|
|
@@ -12244,7 +12246,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
12244
12246
|
"Customers"
|
|
12245
12247
|
];
|
|
12246
12248
|
readonly summary: "Create a new customer";
|
|
12247
|
-
readonly description: "Creates a category-specific customer in the specified workspace. Real-estate workspaces persist a lead on customer_real_estates. Requires workspace access, write access to crm::customers, and billing capacity for customers.
|
|
12249
|
+
readonly description: "Creates a category-specific customer in the specified workspace. Real-estate workspaces persist a lead on customer_real_estates plus the shared customers row. Other supported categories, such as fitness and sports, persist name, contact, company, address, description, type, website, birth date, and utm source on customers. Requires workspace access, write access to crm::customers, and billing capacity for customers. An unknown category returns 400.";
|
|
12248
12250
|
readonly security: readonly [
|
|
12249
12251
|
never
|
|
12250
12252
|
];
|
|
@@ -12270,17 +12272,45 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
12270
12272
|
};
|
|
12271
12273
|
readonly type: {
|
|
12272
12274
|
readonly type: "string";
|
|
12273
|
-
readonly
|
|
12274
|
-
|
|
12275
|
-
"seller",
|
|
12276
|
-
"tenant",
|
|
12277
|
-
"landlord",
|
|
12278
|
-
"investor",
|
|
12279
|
-
"agent"
|
|
12280
|
-
];
|
|
12275
|
+
readonly maxLength: 50;
|
|
12276
|
+
readonly description: "Real-estate workspaces accept buyer, seller, tenant, landlord, investor, or agent. Other categories accept any string up to 50 characters.";
|
|
12281
12277
|
};
|
|
12282
12278
|
readonly companyName: {
|
|
12283
12279
|
readonly type: "string";
|
|
12280
|
+
readonly description: "Real-estate company name.";
|
|
12281
|
+
};
|
|
12282
|
+
readonly website: {
|
|
12283
|
+
readonly type: "string";
|
|
12284
|
+
readonly maxLength: 256;
|
|
12285
|
+
readonly description: "General-category website.";
|
|
12286
|
+
};
|
|
12287
|
+
readonly description: {
|
|
12288
|
+
readonly type: "string";
|
|
12289
|
+
readonly maxLength: 256;
|
|
12290
|
+
readonly description: "General-category description.";
|
|
12291
|
+
};
|
|
12292
|
+
readonly active: {
|
|
12293
|
+
readonly type: "boolean";
|
|
12294
|
+
readonly description: "General-category active flag. Defaults to true when omitted on create.";
|
|
12295
|
+
};
|
|
12296
|
+
readonly companyPhone: {
|
|
12297
|
+
readonly type: "string";
|
|
12298
|
+
readonly description: "General-category company phone in E.164.";
|
|
12299
|
+
};
|
|
12300
|
+
readonly companyAddress: {
|
|
12301
|
+
readonly type: "string";
|
|
12302
|
+
readonly maxLength: 256;
|
|
12303
|
+
readonly description: "General-category company address.";
|
|
12304
|
+
};
|
|
12305
|
+
readonly address: {
|
|
12306
|
+
readonly type: "string";
|
|
12307
|
+
readonly maxLength: 256;
|
|
12308
|
+
readonly description: "General-category address.";
|
|
12309
|
+
};
|
|
12310
|
+
readonly utmSource: {
|
|
12311
|
+
readonly type: "string";
|
|
12312
|
+
readonly maxLength: 256;
|
|
12313
|
+
readonly description: "General-category acquisition source.";
|
|
12284
12314
|
};
|
|
12285
12315
|
readonly phone: {
|
|
12286
12316
|
readonly type: "string";
|
|
@@ -12497,7 +12527,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
12497
12527
|
"Customers"
|
|
12498
12528
|
];
|
|
12499
12529
|
readonly summary: "Update a customer";
|
|
12500
|
-
readonly description: "Partially updates a category-specific customer in the specified workspace. Real-estate workspaces update
|
|
12530
|
+
readonly description: "Partially updates a category-specific customer in the specified workspace. Real-estate workspaces update the provided lead fields and mirror name, email, phone, and birth date onto customers. Other supported categories update the general customer profile. Requires workspace access, write access to crm::customers, and billing access for customers.";
|
|
12501
12531
|
readonly security: readonly [
|
|
12502
12532
|
never
|
|
12503
12533
|
];
|
|
@@ -12527,17 +12557,45 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
12527
12557
|
};
|
|
12528
12558
|
readonly type: {
|
|
12529
12559
|
readonly type: "string";
|
|
12530
|
-
readonly
|
|
12531
|
-
|
|
12532
|
-
"seller",
|
|
12533
|
-
"tenant",
|
|
12534
|
-
"landlord",
|
|
12535
|
-
"investor",
|
|
12536
|
-
"agent"
|
|
12537
|
-
];
|
|
12560
|
+
readonly maxLength: 50;
|
|
12561
|
+
readonly description: "Real-estate workspaces accept buyer, seller, tenant, landlord, investor, or agent. Other categories accept any string up to 50 characters.";
|
|
12538
12562
|
};
|
|
12539
12563
|
readonly companyName: {
|
|
12540
12564
|
readonly type: "string";
|
|
12565
|
+
readonly description: "Real-estate company name.";
|
|
12566
|
+
};
|
|
12567
|
+
readonly website: {
|
|
12568
|
+
readonly type: "string";
|
|
12569
|
+
readonly maxLength: 256;
|
|
12570
|
+
readonly description: "General-category website.";
|
|
12571
|
+
};
|
|
12572
|
+
readonly description: {
|
|
12573
|
+
readonly type: "string";
|
|
12574
|
+
readonly maxLength: 256;
|
|
12575
|
+
readonly description: "General-category description.";
|
|
12576
|
+
};
|
|
12577
|
+
readonly active: {
|
|
12578
|
+
readonly type: "boolean";
|
|
12579
|
+
readonly description: "General-category active flag. Defaults to true when omitted on create.";
|
|
12580
|
+
};
|
|
12581
|
+
readonly companyPhone: {
|
|
12582
|
+
readonly type: "string";
|
|
12583
|
+
readonly description: "General-category company phone in E.164.";
|
|
12584
|
+
};
|
|
12585
|
+
readonly companyAddress: {
|
|
12586
|
+
readonly type: "string";
|
|
12587
|
+
readonly maxLength: 256;
|
|
12588
|
+
readonly description: "General-category company address.";
|
|
12589
|
+
};
|
|
12590
|
+
readonly address: {
|
|
12591
|
+
readonly type: "string";
|
|
12592
|
+
readonly maxLength: 256;
|
|
12593
|
+
readonly description: "General-category address.";
|
|
12594
|
+
};
|
|
12595
|
+
readonly utmSource: {
|
|
12596
|
+
readonly type: "string";
|
|
12597
|
+
readonly maxLength: 256;
|
|
12598
|
+
readonly description: "General-category acquisition source.";
|
|
12541
12599
|
};
|
|
12542
12600
|
readonly phone: {
|
|
12543
12601
|
readonly type: "string";
|
|
@@ -12764,7 +12822,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
12764
12822
|
"Customers"
|
|
12765
12823
|
];
|
|
12766
12824
|
readonly summary: "Get a customer by ID";
|
|
12767
|
-
readonly description: "Returns a single customer by ID within the workspace. Real-estate workspaces read
|
|
12825
|
+
readonly description: "Returns a single customer by ID within the workspace. Real-estate workspaces read the lead. Other supported categories read the general customer. Requires workspace access and read access to crm::customers resource.";
|
|
12768
12826
|
readonly security: readonly [
|
|
12769
12827
|
never
|
|
12770
12828
|
];
|
|
@@ -12850,7 +12908,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
12850
12908
|
"Customers"
|
|
12851
12909
|
];
|
|
12852
12910
|
readonly summary: "List customers in workspace";
|
|
12853
|
-
readonly description: "Returns all customers in the specified workspace. Real-estate workspaces list leads
|
|
12911
|
+
readonly description: "Returns all customers in the specified workspace. Real-estate workspaces list leads. Other supported categories list general customers. Requires workspace access and read access to crm::customers resource.";
|
|
12854
12912
|
readonly security: readonly [
|
|
12855
12913
|
never
|
|
12856
12914
|
];
|
|
@@ -12926,7 +12984,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
12926
12984
|
"Customers"
|
|
12927
12985
|
];
|
|
12928
12986
|
readonly summary: "Delete a customer";
|
|
12929
|
-
readonly description: "Deletes a customer in the specified workspace
|
|
12987
|
+
readonly description: "Deletes a customer in the specified workspace, along with that customer's invoices, history, and finance transactions (including receipt files). Real-estate workspaces also remove the lead. Requires workspace access and write access to crm::customers resource. This deletion remains available for a frozen Free-trial workspace so it can reduce usage before selecting a paid plan.";
|
|
12930
12988
|
readonly security: readonly [
|
|
12931
12989
|
never
|
|
12932
12990
|
];
|
|
@@ -13102,7 +13160,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13102
13160
|
"Services"
|
|
13103
13161
|
];
|
|
13104
13162
|
readonly summary: "Create a new service";
|
|
13105
|
-
readonly description: "Creates a category-specific service in the specified workspace. Real-estate workspaces persist a listing on service_real_estates. Requires workspace access, write access to crm::services, and billing capacity for services.";
|
|
13163
|
+
readonly description: "Creates a category-specific service in the specified workspace. Real-estate workspaces persist a listing on service_real_estates plus a shared services row. Other supported categories persist title, description, stock, currency, type, price, and qr code on services. Requires workspace access, write access to crm::services, and billing capacity for services.";
|
|
13106
13164
|
readonly security: readonly [
|
|
13107
13165
|
never
|
|
13108
13166
|
];
|
|
@@ -13135,17 +13193,25 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13135
13193
|
};
|
|
13136
13194
|
readonly currency: {
|
|
13137
13195
|
readonly type: "string";
|
|
13138
|
-
readonly
|
|
13139
|
-
"USD",
|
|
13140
|
-
"EUR",
|
|
13141
|
-
"RUB"
|
|
13142
|
-
];
|
|
13196
|
+
readonly description: "Real-estate listings accept USD, EUR, or RUB. Other categories accept any 3-letter code.";
|
|
13143
13197
|
};
|
|
13144
13198
|
readonly description: {
|
|
13145
13199
|
readonly type: "string";
|
|
13146
13200
|
};
|
|
13147
13201
|
readonly price: {
|
|
13148
13202
|
readonly type: "number";
|
|
13203
|
+
readonly minimum: 0;
|
|
13204
|
+
readonly description: "General categories require a non-negative integer. Real-estate listings accept a number.";
|
|
13205
|
+
};
|
|
13206
|
+
readonly stock: {
|
|
13207
|
+
readonly type: "integer";
|
|
13208
|
+
readonly minimum: 0;
|
|
13209
|
+
readonly description: "General-category stock.";
|
|
13210
|
+
};
|
|
13211
|
+
readonly qrCode: {
|
|
13212
|
+
readonly type: "string";
|
|
13213
|
+
readonly maxLength: 256;
|
|
13214
|
+
readonly description: "General-category QR code.";
|
|
13149
13215
|
};
|
|
13150
13216
|
readonly propertyType: {
|
|
13151
13217
|
readonly type: "string";
|
|
@@ -13351,7 +13417,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13351
13417
|
"Services"
|
|
13352
13418
|
];
|
|
13353
13419
|
readonly summary: "Update a service";
|
|
13354
|
-
readonly description: "Partially updates a category-specific service in the specified workspace. Real-estate workspaces update
|
|
13420
|
+
readonly description: "Partially updates a category-specific service in the specified workspace. Real-estate workspaces update the listing and mirror title, description, currency, active, and price onto services. Other supported categories update the general service. Requires workspace access, write access to crm::services, and billing access for services.";
|
|
13355
13421
|
readonly security: readonly [
|
|
13356
13422
|
never
|
|
13357
13423
|
];
|
|
@@ -13389,17 +13455,25 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
13389
13455
|
};
|
|
13390
13456
|
readonly currency: {
|
|
13391
13457
|
readonly type: "string";
|
|
13392
|
-
readonly
|
|
13393
|
-
"USD",
|
|
13394
|
-
"EUR",
|
|
13395
|
-
"RUB"
|
|
13396
|
-
];
|
|
13458
|
+
readonly description: "Real-estate listings accept USD, EUR, or RUB. Other categories accept any 3-letter code.";
|
|
13397
13459
|
};
|
|
13398
13460
|
readonly description: {
|
|
13399
13461
|
readonly type: "string";
|
|
13400
13462
|
};
|
|
13401
13463
|
readonly price: {
|
|
13402
13464
|
readonly type: "number";
|
|
13465
|
+
readonly minimum: 0;
|
|
13466
|
+
readonly description: "General categories require a non-negative integer. Real-estate listings accept a number.";
|
|
13467
|
+
};
|
|
13468
|
+
readonly stock: {
|
|
13469
|
+
readonly type: "integer";
|
|
13470
|
+
readonly minimum: 0;
|
|
13471
|
+
readonly description: "General-category stock.";
|
|
13472
|
+
};
|
|
13473
|
+
readonly qrCode: {
|
|
13474
|
+
readonly type: "string";
|
|
13475
|
+
readonly maxLength: 256;
|
|
13476
|
+
readonly description: "General-category QR code.";
|
|
13403
13477
|
};
|
|
13404
13478
|
readonly propertyType: {
|
|
13405
13479
|
readonly type: "string";
|
|
@@ -14275,7 +14349,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14275
14349
|
"Analytics"
|
|
14276
14350
|
];
|
|
14277
14351
|
readonly summary: "Get real-estate task-phase funnel and durations";
|
|
14278
|
-
readonly description: "Returns the current task funnel and time-in-phase analytics for a
|
|
14352
|
+
readonly description: "Returns the current task funnel and time-in-phase analytics for a supported workspace category. taskCount is the number of tasks currently in each phase; when supplied, from and to limit it to tasks created in that period. visitCount and duration averages use phase entries recorded in the period. Active phase visits are measured through now, or through to when supplied. Tracking begins when this API version is deployed, so tasks that have not changed phase since then have no duration sample. Requires workspace access and read access to crm::analytics. An unknown category returns 400.";
|
|
14279
14353
|
readonly security: readonly [
|
|
14280
14354
|
never
|
|
14281
14355
|
];
|
|
@@ -14371,7 +14445,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14371
14445
|
"Analytics"
|
|
14372
14446
|
];
|
|
14373
14447
|
readonly summary: "Get total paid customer-invoice revenue";
|
|
14374
|
-
readonly description: "Returns paid CInvoice revenue for a
|
|
14448
|
+
readonly description: "Returns paid CInvoice revenue for a supported workspace category, grouped by currency. Optional from and to timestamps filter the server-set paidAt field (from inclusive, to exclusive). When both bounds are supplied, each total is compared with the immediately previous period of the same duration (for 10 Sep \u2192 20 Sep, the previous window is 31 Aug \u2192 10 Sep exclusive). Growth is ((current \u2212 previous) / previous) \u00D7 100 with direction positive, negative, or none. Each total is calculated as unitPrice \u00D7 unitQuantity \u2212 discount in minor units and excludes VAT. Requires workspace access and read access to crm::analytics. An unknown category returns 400.";
|
|
14375
14449
|
readonly security: readonly [
|
|
14376
14450
|
never
|
|
14377
14451
|
];
|
|
@@ -14659,7 +14733,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14659
14733
|
"Analytics"
|
|
14660
14734
|
];
|
|
14661
14735
|
readonly summary: "Get real-estate conversion rate";
|
|
14662
|
-
readonly description: "Returns the conversion rate for a
|
|
14736
|
+
readonly description: "Returns the conversion rate for a supported workspace category: paid CInvoices divided by non-deleted customers, multiplied by 100. Optional from and to timestamps filter invoices by paidAt and customers by created_at (from inclusive, to exclusive). The rate is zero when no customers match. Requires workspace access and read access to crm::analytics. An unknown category returns 400.";
|
|
14663
14737
|
readonly security: readonly [
|
|
14664
14738
|
never
|
|
14665
14739
|
];
|
|
@@ -14755,7 +14829,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14755
14829
|
"Analytics"
|
|
14756
14830
|
];
|
|
14757
14831
|
readonly summary: "Get real-estate employee conversion rates";
|
|
14758
|
-
readonly description: "Returns a customer-level conversion rate for each active or inactive collaborator with at least one qualifying task linked to a non-deleted
|
|
14832
|
+
readonly description: "Returns a customer-level conversion rate for each active or inactive collaborator with at least one qualifying task linked to a non-deleted customer. Assigned customers are distinct customers on the collaborator's tasks created within the optional period. A converted customer has at least one non-deleted paid CInvoice in the period. When several collaborators worked on the same customer, each receives full credit; multiple tasks or invoices for that customer do not increase counts. The rate is zero when a returned collaborator has no assigned customers after filtering. Requires workspace access and read access to crm::analytics. An unknown category returns 400.";
|
|
14759
14833
|
readonly security: readonly [
|
|
14760
14834
|
never
|
|
14761
14835
|
];
|
|
@@ -14851,7 +14925,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14851
14925
|
"Analytics"
|
|
14852
14926
|
];
|
|
14853
14927
|
readonly summary: "Get real-estate workload distribution";
|
|
14854
|
-
readonly description: "Returns every workspace collaborator with their distinct assigned-task count, ordered from highest to lowest workload. Tasks are filtered by creation time when a reporting period is supplied (from inclusive, to exclusive). A task assigned to several collaborators contributes once to each assignee's workload. Requires workspace access and read access to crm::analytics.
|
|
14928
|
+
readonly description: "Returns every workspace collaborator with their distinct assigned-task count, ordered from highest to lowest workload. Tasks are filtered by creation time when a reporting period is supplied (from inclusive, to exclusive). A task assigned to several collaborators contributes once to each assignee's workload. Requires workspace access and read access to crm::analytics. An unknown category returns 400.";
|
|
14855
14929
|
readonly security: readonly [
|
|
14856
14930
|
never
|
|
14857
14931
|
];
|
|
@@ -14947,7 +15021,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
14947
15021
|
"Analytics"
|
|
14948
15022
|
];
|
|
14949
15023
|
readonly summary: "Get real-estate forecast revenue";
|
|
14950
|
-
readonly description: "Returns forecast revenue for a
|
|
15024
|
+
readonly description: "Returns forecast revenue for a supported workspace category, grouped by currency. Pending CInvoices are filtered by their invoice date; paid invoices are filtered by paidAt; and customers are filtered by creation time (from inclusive, to exclusive). Projected pipeline revenue is customers in the period \u00D7 (paid invoices \u00F7 customers) \u00D7 average paid invoice size. Forecast revenue is pending revenue plus projected pipeline revenue. Amounts are post-discount minor units and exclude VAT. Requires workspace access and read access to crm::analytics. An unknown category returns 400.";
|
|
14951
15025
|
readonly security: readonly [
|
|
14952
15026
|
never
|
|
14953
15027
|
];
|
|
@@ -15043,7 +15117,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
15043
15117
|
"CInvoices"
|
|
15044
15118
|
];
|
|
15045
15119
|
readonly summary: "Create a customer invoice";
|
|
15046
|
-
readonly description: "Creates a customer invoice in the specified workspace.
|
|
15120
|
+
readonly description: "Creates a customer invoice in the specified workspace. The seller finance account, customer, and service must already belong to that workspace. created_by is taken from the access token. When status is paid, an income finance transaction is recorded on the seller account for unitPrice \u00D7 unitQuantity \u2212 discount (minor units converted to major units). Requires workspace access and write access to crm::customers. An unknown category returns 400.";
|
|
15047
15121
|
readonly security: readonly [
|
|
15048
15122
|
never
|
|
15049
15123
|
];
|
|
@@ -15311,7 +15385,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
15311
15385
|
"CInvoices"
|
|
15312
15386
|
];
|
|
15313
15387
|
readonly summary: "List a real-estate customer's invoices";
|
|
15314
|
-
readonly description: "Returns all invoices for a
|
|
15388
|
+
readonly description: "Returns all invoices for a customer in the specified workspace. Requires workspace access and read access to crm::customers.";
|
|
15315
15389
|
readonly security: readonly [
|
|
15316
15390
|
never
|
|
15317
15391
|
];
|
|
@@ -15397,7 +15471,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
15397
15471
|
"CInvoices"
|
|
15398
15472
|
];
|
|
15399
15473
|
readonly summary: "Update a customer invoice";
|
|
15400
|
-
readonly description: "Updates specified fields of an invoice
|
|
15474
|
+
readonly description: "Updates specified fields of an invoice. Any replacement seller finance account, customer, or service must belong to the workspace. When status changes to paid, an income finance transaction is recorded on the seller account for unitPrice \u00D7 unitQuantity \u2212 discount (minor units converted to major units). Requires workspace access and write access to crm::customers.";
|
|
15401
15475
|
readonly security: readonly [
|
|
15402
15476
|
never
|
|
15403
15477
|
];
|
|
@@ -15597,7 +15671,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
15597
15671
|
"CInvoices"
|
|
15598
15672
|
];
|
|
15599
15673
|
readonly summary: "Delete a customer invoice";
|
|
15600
|
-
readonly description: "Deletes an invoice from
|
|
15674
|
+
readonly description: "Deletes an invoice from the workspace. Requires workspace access and write access to crm::customers.";
|
|
15601
15675
|
readonly security: readonly [
|
|
15602
15676
|
never
|
|
15603
15677
|
];
|
|
@@ -15687,7 +15761,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
15687
15761
|
"Customer History"
|
|
15688
15762
|
];
|
|
15689
15763
|
readonly summary: "Create a customer history entry";
|
|
15690
|
-
readonly description: "Records a service-history entry for a
|
|
15764
|
+
readonly description: "Records a service-history entry for a customer. The customer and service must exist in the specified workspace. created_by is taken from the access token. Requires workspace access and write access to crm::customers.";
|
|
15691
15765
|
readonly security: readonly [
|
|
15692
15766
|
never
|
|
15693
15767
|
];
|
|
@@ -15791,7 +15865,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
15791
15865
|
"Customer History"
|
|
15792
15866
|
];
|
|
15793
15867
|
readonly summary: "List a customer's service history";
|
|
15794
|
-
readonly description: "Returns all service-history entries for a
|
|
15868
|
+
readonly description: "Returns all service-history entries for a customer in the specified workspace. Requires workspace access and read access to crm::customers.";
|
|
15795
15869
|
readonly security: readonly [
|
|
15796
15870
|
never
|
|
15797
15871
|
];
|
|
@@ -15877,7 +15951,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
15877
15951
|
"Customer History"
|
|
15878
15952
|
];
|
|
15879
15953
|
readonly summary: "Update a customer history entry";
|
|
15880
|
-
readonly description: "Updates specified fields of a customer service-history entry
|
|
15954
|
+
readonly description: "Updates specified fields of a customer service-history entry. Any replacement customer or service must belong to the workspace. Requires workspace access and write access to crm::customers.";
|
|
15881
15955
|
readonly security: readonly [
|
|
15882
15956
|
never
|
|
15883
15957
|
];
|
|
@@ -15984,7 +16058,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
15984
16058
|
"Customer History"
|
|
15985
16059
|
];
|
|
15986
16060
|
readonly summary: "Delete a customer history entry";
|
|
15987
|
-
readonly description: "Deletes a customer service-history entry from
|
|
16061
|
+
readonly description: "Deletes a customer service-history entry from the workspace. Requires workspace access and write access to crm::customers.";
|
|
15988
16062
|
readonly security: readonly [
|
|
15989
16063
|
never
|
|
15990
16064
|
];
|
|
@@ -16486,7 +16560,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
16486
16560
|
"Tags"
|
|
16487
16561
|
];
|
|
16488
16562
|
readonly summary: "Assign a tag to a customer";
|
|
16489
|
-
readonly description: "Links an existing workspace tag to a category-specific customer.
|
|
16563
|
+
readonly description: "Links an existing workspace tag to a category-specific customer. The customer must belong to that workspace. Requires workspace access and write access to crm::customers resource.";
|
|
16490
16564
|
readonly security: readonly [
|
|
16491
16565
|
never
|
|
16492
16566
|
];
|
|
@@ -16582,7 +16656,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
16582
16656
|
"Tags"
|
|
16583
16657
|
];
|
|
16584
16658
|
readonly summary: "Remove a tag from a customer";
|
|
16585
|
-
readonly description: "Unlinks a tag from a category-specific customer.
|
|
16659
|
+
readonly description: "Unlinks a tag from a category-specific customer. The customer must belong to that workspace. Requires workspace access and write access to crm::customers resource.";
|
|
16586
16660
|
readonly security: readonly [
|
|
16587
16661
|
never
|
|
16588
16662
|
];
|
|
@@ -16678,7 +16752,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
16678
16752
|
"Tags"
|
|
16679
16753
|
];
|
|
16680
16754
|
readonly summary: "Assign a tag to a service";
|
|
16681
|
-
readonly description: "Links an existing workspace tag to a category-specific service.
|
|
16755
|
+
readonly description: "Links an existing workspace tag to a category-specific service. The service must belong to that workspace. Requires workspace access and write access to crm::services resource.";
|
|
16682
16756
|
readonly security: readonly [
|
|
16683
16757
|
never
|
|
16684
16758
|
];
|
|
@@ -19225,7 +19299,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
19225
19299
|
"Files"
|
|
19226
19300
|
];
|
|
19227
19301
|
readonly summary: "Create presigned upload for a service file";
|
|
19228
|
-
readonly description: "Returns a presigned POST URL and form fields for uploading a file attached to a CRM service. Object key is `{workspace}_services/{serviceId}/{filename}.tmp` (max 15 MB, 5-minute expiry). Accepts JPEG, PNG, WebP, and PDF. After upload, call `/files/confirm-service-file` to validate magic bytes and promote the object.
|
|
19302
|
+
readonly description: "Returns a presigned POST URL and form fields for uploading a file attached to a CRM service. Object key is `{workspace}_services/{serviceId}/{filename}.tmp` (max 15 MB, 5-minute expiry). Accepts JPEG, PNG, WebP, and PDF. After upload, call `/files/confirm-service-file` to validate magic bytes and promote the object. Verifies the service belongs to the workspace. Requires active workspace access, write access to crm::services, and an active billing grant.";
|
|
19229
19303
|
readonly security: readonly [
|
|
19230
19304
|
never
|
|
19231
19305
|
];
|
|
@@ -19523,7 +19597,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
19523
19597
|
"Files"
|
|
19524
19598
|
];
|
|
19525
19599
|
readonly summary: "Create presigned upload for a customer file";
|
|
19526
|
-
readonly description: "Returns a presigned POST for `{workspace}_customers/{customerId}/{filename}.tmp`. JPEG, PNG, WebP, and PDF files up to 15 MB are supported. The customer must belong to
|
|
19600
|
+
readonly description: "Returns a presigned POST for `{workspace}_customers/{customerId}/{filename}.tmp`. JPEG, PNG, WebP, and PDF files up to 15 MB are supported. The customer must belong to the workspace. Confirm the upload with `/files/confirm-customer-file`.";
|
|
19527
19601
|
readonly security: readonly [
|
|
19528
19602
|
never
|
|
19529
19603
|
];
|
|
@@ -23649,7 +23723,13 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
23649
23723
|
lastName: string | null;
|
|
23650
23724
|
profilePicture: string | null;
|
|
23651
23725
|
}[];
|
|
23652
|
-
customer: {
|
|
23726
|
+
customer: ({
|
|
23727
|
+
createdBy: {
|
|
23728
|
+
id: string;
|
|
23729
|
+
firstName: string | null;
|
|
23730
|
+
lastName: string | null;
|
|
23731
|
+
profilePicture: string | null;
|
|
23732
|
+
} | null;
|
|
23653
23733
|
tags: {
|
|
23654
23734
|
id: string;
|
|
23655
23735
|
name: string;
|
|
@@ -23703,7 +23783,39 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
23703
23783
|
carsCount: number | null;
|
|
23704
23784
|
birthDate: string | null;
|
|
23705
23785
|
notes: string | null;
|
|
23706
|
-
}
|
|
23786
|
+
} | {
|
|
23787
|
+
createdBy: {
|
|
23788
|
+
id: string;
|
|
23789
|
+
firstName: string | null;
|
|
23790
|
+
lastName: string | null;
|
|
23791
|
+
profilePicture: string | null;
|
|
23792
|
+
} | null;
|
|
23793
|
+
tags: {
|
|
23794
|
+
id: string;
|
|
23795
|
+
name: string;
|
|
23796
|
+
description: string | null;
|
|
23797
|
+
}[];
|
|
23798
|
+
updated_at: string | null;
|
|
23799
|
+
deleted_at: string | null;
|
|
23800
|
+
verified_at: string | null;
|
|
23801
|
+
suspended_at: string | null;
|
|
23802
|
+
created_at: string;
|
|
23803
|
+
id: string;
|
|
23804
|
+
workspaceId: string;
|
|
23805
|
+
name: string;
|
|
23806
|
+
email: string | null;
|
|
23807
|
+
website: string | null;
|
|
23808
|
+
type: string | null;
|
|
23809
|
+
description: string | null;
|
|
23810
|
+
active: boolean | null;
|
|
23811
|
+
phone: string | null;
|
|
23812
|
+
companyPhone: string | null;
|
|
23813
|
+
companyAddress: string | null;
|
|
23814
|
+
address: string | null;
|
|
23815
|
+
birthDate: string | null;
|
|
23816
|
+
utmSource: string | null;
|
|
23817
|
+
created_by: string | null;
|
|
23818
|
+
})[];
|
|
23707
23819
|
failureReasons: {
|
|
23708
23820
|
id: string;
|
|
23709
23821
|
title: string;
|
|
@@ -24149,6 +24261,24 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24149
24261
|
fullAddress: string | null;
|
|
24150
24262
|
latitude: string | null;
|
|
24151
24263
|
longitude: string | null;
|
|
24264
|
+
}[] | {
|
|
24265
|
+
title: string;
|
|
24266
|
+
id: string;
|
|
24267
|
+
type: string | null;
|
|
24268
|
+
created_at: string;
|
|
24269
|
+
name: string;
|
|
24270
|
+
active: boolean | null;
|
|
24271
|
+
workspaceId: string;
|
|
24272
|
+
description: string | null;
|
|
24273
|
+
price: number | null;
|
|
24274
|
+
created_by: string | null;
|
|
24275
|
+
currency: string | null;
|
|
24276
|
+
updated_at: string | null;
|
|
24277
|
+
deleted_at: string | null;
|
|
24278
|
+
verified_at: string | null;
|
|
24279
|
+
suspended_at: string | null;
|
|
24280
|
+
stock: number | null;
|
|
24281
|
+
qrCode: string | null;
|
|
24152
24282
|
}[];
|
|
24153
24283
|
};
|
|
24154
24284
|
outputFormat: "json";
|
|
@@ -24241,6 +24371,24 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24241
24371
|
fullAddress: string | null;
|
|
24242
24372
|
latitude: string | null;
|
|
24243
24373
|
longitude: string | null;
|
|
24374
|
+
}[] | {
|
|
24375
|
+
title: string;
|
|
24376
|
+
updated_at: string | null;
|
|
24377
|
+
deleted_at: string | null;
|
|
24378
|
+
verified_at: string | null;
|
|
24379
|
+
suspended_at: string | null;
|
|
24380
|
+
created_at: string;
|
|
24381
|
+
id: string;
|
|
24382
|
+
workspaceId: string;
|
|
24383
|
+
created_by: string | null;
|
|
24384
|
+
name: string;
|
|
24385
|
+
description: string | null;
|
|
24386
|
+
stock: number | null;
|
|
24387
|
+
currency: string | null;
|
|
24388
|
+
type: string | null;
|
|
24389
|
+
active: boolean | null;
|
|
24390
|
+
price: number | null;
|
|
24391
|
+
qrCode: string | null;
|
|
24244
24392
|
}[];
|
|
24245
24393
|
};
|
|
24246
24394
|
outputFormat: "json";
|
|
@@ -24344,6 +24492,35 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24344
24492
|
fullAddress: string | null;
|
|
24345
24493
|
latitude: string | null;
|
|
24346
24494
|
longitude: string | null;
|
|
24495
|
+
}[] | {
|
|
24496
|
+
title: string;
|
|
24497
|
+
createdBy: {
|
|
24498
|
+
id: string;
|
|
24499
|
+
firstName: string | null;
|
|
24500
|
+
lastName: string | null;
|
|
24501
|
+
profilePicture: string | null;
|
|
24502
|
+
} | null;
|
|
24503
|
+
tags: {
|
|
24504
|
+
id: string;
|
|
24505
|
+
name: string;
|
|
24506
|
+
description: string | null;
|
|
24507
|
+
}[];
|
|
24508
|
+
updated_at: string | null;
|
|
24509
|
+
deleted_at: string | null;
|
|
24510
|
+
verified_at: string | null;
|
|
24511
|
+
suspended_at: string | null;
|
|
24512
|
+
created_at: string;
|
|
24513
|
+
id: string;
|
|
24514
|
+
workspaceId: string;
|
|
24515
|
+
created_by: string | null;
|
|
24516
|
+
name: string;
|
|
24517
|
+
description: string | null;
|
|
24518
|
+
stock: number | null;
|
|
24519
|
+
currency: string | null;
|
|
24520
|
+
type: string | null;
|
|
24521
|
+
active: boolean | null;
|
|
24522
|
+
price: number | null;
|
|
24523
|
+
qrCode: string | null;
|
|
24347
24524
|
}[];
|
|
24348
24525
|
};
|
|
24349
24526
|
outputFormat: "json";
|
|
@@ -24465,6 +24642,35 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24465
24642
|
fullAddress: string | null;
|
|
24466
24643
|
latitude: string | null;
|
|
24467
24644
|
longitude: string | null;
|
|
24645
|
+
} | {
|
|
24646
|
+
title: string;
|
|
24647
|
+
createdBy: {
|
|
24648
|
+
id: string;
|
|
24649
|
+
firstName: string | null;
|
|
24650
|
+
lastName: string | null;
|
|
24651
|
+
profilePicture: string | null;
|
|
24652
|
+
} | null;
|
|
24653
|
+
tags: {
|
|
24654
|
+
id: string;
|
|
24655
|
+
name: string;
|
|
24656
|
+
description: string | null;
|
|
24657
|
+
}[];
|
|
24658
|
+
updated_at: string | null;
|
|
24659
|
+
deleted_at: string | null;
|
|
24660
|
+
verified_at: string | null;
|
|
24661
|
+
suspended_at: string | null;
|
|
24662
|
+
created_at: string;
|
|
24663
|
+
id: string;
|
|
24664
|
+
workspaceId: string;
|
|
24665
|
+
created_by: string | null;
|
|
24666
|
+
name: string;
|
|
24667
|
+
description: string | null;
|
|
24668
|
+
stock: number | null;
|
|
24669
|
+
currency: string | null;
|
|
24670
|
+
type: string | null;
|
|
24671
|
+
active: boolean | null;
|
|
24672
|
+
price: number | null;
|
|
24673
|
+
qrCode: string | null;
|
|
24468
24674
|
};
|
|
24469
24675
|
};
|
|
24470
24676
|
outputFormat: "json";
|
|
@@ -24531,13 +24737,15 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24531
24737
|
verified_at: string | null;
|
|
24532
24738
|
suspended_at: string | null;
|
|
24533
24739
|
phone: string | null;
|
|
24740
|
+
birthDate: string | null;
|
|
24741
|
+
notes: string | null;
|
|
24742
|
+
fullPayment: boolean | null;
|
|
24534
24743
|
igSynapseId: string | null;
|
|
24535
24744
|
waSynapseId: string | null;
|
|
24536
24745
|
tgSynapseId: string | null;
|
|
24537
24746
|
vkSynapseId: string | null;
|
|
24538
24747
|
budgetMin: number | null;
|
|
24539
24748
|
budgetMax: number | null;
|
|
24540
|
-
fullPayment: boolean | null;
|
|
24541
24749
|
mortgagePayment: boolean | null;
|
|
24542
24750
|
installmentPayment: boolean | null;
|
|
24543
24751
|
fullPaymentAmount: number | null;
|
|
@@ -24559,8 +24767,27 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24559
24767
|
childrenCount: number | null;
|
|
24560
24768
|
hasPets: boolean | null;
|
|
24561
24769
|
carsCount: number | null;
|
|
24770
|
+
}[] | {
|
|
24771
|
+
id: string;
|
|
24772
|
+
type: string | null;
|
|
24773
|
+
created_at: string;
|
|
24774
|
+
name: string;
|
|
24775
|
+
active: boolean | null;
|
|
24776
|
+
email: string | null;
|
|
24777
|
+
workspaceId: string;
|
|
24778
|
+
description: string | null;
|
|
24779
|
+
created_by: string | null;
|
|
24780
|
+
website: string | null;
|
|
24781
|
+
updated_at: string | null;
|
|
24782
|
+
deleted_at: string | null;
|
|
24783
|
+
verified_at: string | null;
|
|
24784
|
+
suspended_at: string | null;
|
|
24785
|
+
phone: string | null;
|
|
24786
|
+
companyPhone: string | null;
|
|
24787
|
+
companyAddress: string | null;
|
|
24788
|
+
address: string | null;
|
|
24562
24789
|
birthDate: string | null;
|
|
24563
|
-
|
|
24790
|
+
utmSource: string | null;
|
|
24564
24791
|
}[];
|
|
24565
24792
|
};
|
|
24566
24793
|
outputFormat: "json";
|
|
@@ -24661,6 +24888,38 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24661
24888
|
carsCount: number | null;
|
|
24662
24889
|
birthDate: string | null;
|
|
24663
24890
|
notes: string | null;
|
|
24891
|
+
}[] | {
|
|
24892
|
+
createdBy: {
|
|
24893
|
+
id: string;
|
|
24894
|
+
firstName: string | null;
|
|
24895
|
+
lastName: string | null;
|
|
24896
|
+
profilePicture: string | null;
|
|
24897
|
+
} | null;
|
|
24898
|
+
tags: {
|
|
24899
|
+
id: string;
|
|
24900
|
+
name: string;
|
|
24901
|
+
description: string | null;
|
|
24902
|
+
}[];
|
|
24903
|
+
updated_at: string | null;
|
|
24904
|
+
deleted_at: string | null;
|
|
24905
|
+
verified_at: string | null;
|
|
24906
|
+
suspended_at: string | null;
|
|
24907
|
+
created_at: string;
|
|
24908
|
+
id: string;
|
|
24909
|
+
workspaceId: string;
|
|
24910
|
+
name: string;
|
|
24911
|
+
email: string | null;
|
|
24912
|
+
website: string | null;
|
|
24913
|
+
type: string | null;
|
|
24914
|
+
description: string | null;
|
|
24915
|
+
active: boolean | null;
|
|
24916
|
+
phone: string | null;
|
|
24917
|
+
companyPhone: string | null;
|
|
24918
|
+
companyAddress: string | null;
|
|
24919
|
+
address: string | null;
|
|
24920
|
+
birthDate: string | null;
|
|
24921
|
+
utmSource: string | null;
|
|
24922
|
+
created_by: string | null;
|
|
24664
24923
|
}[];
|
|
24665
24924
|
};
|
|
24666
24925
|
outputFormat: "json";
|
|
@@ -24767,6 +25026,38 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24767
25026
|
carsCount: number | null;
|
|
24768
25027
|
birthDate: string | null;
|
|
24769
25028
|
notes: string | null;
|
|
25029
|
+
} | {
|
|
25030
|
+
createdBy: {
|
|
25031
|
+
id: string;
|
|
25032
|
+
firstName: string | null;
|
|
25033
|
+
lastName: string | null;
|
|
25034
|
+
profilePicture: string | null;
|
|
25035
|
+
} | null;
|
|
25036
|
+
tags: {
|
|
25037
|
+
id: string;
|
|
25038
|
+
name: string;
|
|
25039
|
+
description: string | null;
|
|
25040
|
+
}[];
|
|
25041
|
+
updated_at: string | null;
|
|
25042
|
+
deleted_at: string | null;
|
|
25043
|
+
verified_at: string | null;
|
|
25044
|
+
suspended_at: string | null;
|
|
25045
|
+
created_at: string;
|
|
25046
|
+
id: string;
|
|
25047
|
+
workspaceId: string;
|
|
25048
|
+
name: string;
|
|
25049
|
+
email: string | null;
|
|
25050
|
+
website: string | null;
|
|
25051
|
+
type: string | null;
|
|
25052
|
+
description: string | null;
|
|
25053
|
+
active: boolean | null;
|
|
25054
|
+
phone: string | null;
|
|
25055
|
+
companyPhone: string | null;
|
|
25056
|
+
companyAddress: string | null;
|
|
25057
|
+
address: string | null;
|
|
25058
|
+
birthDate: string | null;
|
|
25059
|
+
utmSource: string | null;
|
|
25060
|
+
created_by: string | null;
|
|
24770
25061
|
};
|
|
24771
25062
|
};
|
|
24772
25063
|
outputFormat: "json";
|
|
@@ -24871,6 +25162,27 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24871
25162
|
carsCount: number | null;
|
|
24872
25163
|
birthDate: string | null;
|
|
24873
25164
|
notes: string | null;
|
|
25165
|
+
}[] | {
|
|
25166
|
+
updated_at: string | null;
|
|
25167
|
+
deleted_at: string | null;
|
|
25168
|
+
verified_at: string | null;
|
|
25169
|
+
suspended_at: string | null;
|
|
25170
|
+
created_at: string;
|
|
25171
|
+
id: string;
|
|
25172
|
+
workspaceId: string;
|
|
25173
|
+
name: string;
|
|
25174
|
+
email: string | null;
|
|
25175
|
+
website: string | null;
|
|
25176
|
+
type: string | null;
|
|
25177
|
+
description: string | null;
|
|
25178
|
+
active: boolean | null;
|
|
25179
|
+
phone: string | null;
|
|
25180
|
+
companyPhone: string | null;
|
|
25181
|
+
companyAddress: string | null;
|
|
25182
|
+
address: string | null;
|
|
25183
|
+
birthDate: string | null;
|
|
25184
|
+
utmSource: string | null;
|
|
25185
|
+
created_by: string | null;
|
|
24874
25186
|
}[];
|
|
24875
25187
|
};
|
|
24876
25188
|
outputFormat: "json";
|
|
@@ -24988,11 +25300,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
24988
25300
|
verified_at: string | null;
|
|
24989
25301
|
suspended_at: string | null;
|
|
24990
25302
|
paidAt: string | null;
|
|
24991
|
-
fullPayment: boolean | null;
|
|
24992
|
-
notes: string | null;
|
|
24993
25303
|
buyerInn: string | null;
|
|
24994
25304
|
buyerKpp: string | null;
|
|
25305
|
+
notes: string | null;
|
|
24995
25306
|
discount: number | null;
|
|
25307
|
+
fullPayment: boolean | null;
|
|
24996
25308
|
subscriptionStartDate: string | null;
|
|
24997
25309
|
subscriptionEndDate: string | null;
|
|
24998
25310
|
paymentMethod: string | null;
|
|
@@ -25166,11 +25478,11 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
25166
25478
|
verified_at: string | null;
|
|
25167
25479
|
suspended_at: string | null;
|
|
25168
25480
|
paidAt: string | null;
|
|
25169
|
-
fullPayment: boolean | null;
|
|
25170
|
-
notes: string | null;
|
|
25171
25481
|
buyerInn: string | null;
|
|
25172
25482
|
buyerKpp: string | null;
|
|
25483
|
+
notes: string | null;
|
|
25173
25484
|
discount: number | null;
|
|
25485
|
+
fullPayment: boolean | null;
|
|
25174
25486
|
subscriptionStartDate: string | null;
|
|
25175
25487
|
subscriptionEndDate: string | null;
|
|
25176
25488
|
paymentMethod: string | null;
|
|
@@ -26512,6 +26824,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
26512
26824
|
readonly remoteAddress: string | undefined;
|
|
26513
26825
|
readonly remoteFamily: string | undefined;
|
|
26514
26826
|
readonly remotePort: number | undefined;
|
|
26827
|
+
readonly server: {
|
|
26828
|
+
listen: never;
|
|
26829
|
+
close: never;
|
|
26830
|
+
getConnections: never;
|
|
26831
|
+
maxConnections: number;
|
|
26832
|
+
connections: number;
|
|
26833
|
+
readonly listening: boolean;
|
|
26834
|
+
addListener: never;
|
|
26835
|
+
listenerCount: never;
|
|
26836
|
+
off: never;
|
|
26837
|
+
on: never;
|
|
26838
|
+
once: never;
|
|
26839
|
+
prependListener: never;
|
|
26840
|
+
prependOnceListener: never;
|
|
26841
|
+
removeListener: never;
|
|
26842
|
+
setMaxListeners: never;
|
|
26843
|
+
} | null;
|
|
26515
26844
|
readonly timeout?: number | undefined;
|
|
26516
26845
|
end: never;
|
|
26517
26846
|
addListener: never;
|
|
@@ -26578,6 +26907,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
26578
26907
|
setDefaultEncoding: never;
|
|
26579
26908
|
} | {
|
|
26580
26909
|
authorized: boolean;
|
|
26910
|
+
alpnProtocol: string | false | null;
|
|
26581
26911
|
authorizationError: {
|
|
26582
26912
|
name: string;
|
|
26583
26913
|
message: string;
|
|
@@ -26585,10 +26915,9 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
26585
26915
|
cause?: import("hono/utils/types").JSONValue | undefined;
|
|
26586
26916
|
};
|
|
26587
26917
|
encrypted: true;
|
|
26588
|
-
alpnProtocol: string | false | null;
|
|
26589
|
-
servername: string | false | null;
|
|
26590
26918
|
getPeerCertificate: never;
|
|
26591
26919
|
renegotiate: never;
|
|
26920
|
+
servername: string | false | null;
|
|
26592
26921
|
setKeyCert: never;
|
|
26593
26922
|
setMaxSendFragment: never;
|
|
26594
26923
|
exportKeyingMaterial: never;
|
|
@@ -26621,6 +26950,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
26621
26950
|
readonly remoteAddress: string | undefined;
|
|
26622
26951
|
readonly remoteFamily: string | undefined;
|
|
26623
26952
|
readonly remotePort: number | undefined;
|
|
26953
|
+
readonly server: {
|
|
26954
|
+
listen: never;
|
|
26955
|
+
close: never;
|
|
26956
|
+
getConnections: never;
|
|
26957
|
+
maxConnections: number;
|
|
26958
|
+
connections: number;
|
|
26959
|
+
readonly listening: boolean;
|
|
26960
|
+
addListener: never;
|
|
26961
|
+
listenerCount: never;
|
|
26962
|
+
off: never;
|
|
26963
|
+
on: never;
|
|
26964
|
+
once: never;
|
|
26965
|
+
prependListener: never;
|
|
26966
|
+
prependOnceListener: never;
|
|
26967
|
+
removeListener: never;
|
|
26968
|
+
setMaxListeners: never;
|
|
26969
|
+
} | null;
|
|
26624
26970
|
readonly timeout?: number | undefined;
|
|
26625
26971
|
end: never;
|
|
26626
26972
|
allowHalfOpen: boolean;
|
|
@@ -26863,6 +27209,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
26863
27209
|
}[] | undefined;
|
|
26864
27210
|
attendees?: {
|
|
26865
27211
|
additionalGuests?: number | null | undefined;
|
|
27212
|
+
asyncOperation?: string | null | undefined;
|
|
26866
27213
|
comment?: string | null | undefined;
|
|
26867
27214
|
displayName?: string | null | undefined;
|
|
26868
27215
|
email?: string | null | undefined;
|
|
@@ -26935,6 +27282,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
26935
27282
|
} | undefined;
|
|
26936
27283
|
endTimeUnspecified?: boolean | null | undefined;
|
|
26937
27284
|
etag?: string | null | undefined;
|
|
27285
|
+
eventLabelId?: string | null | undefined;
|
|
26938
27286
|
eventType?: string | null | undefined;
|
|
26939
27287
|
extendedProperties?: {
|
|
26940
27288
|
private?: {
|
|
@@ -27706,6 +28054,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
27706
28054
|
readonly remoteAddress: string | undefined;
|
|
27707
28055
|
readonly remoteFamily: string | undefined;
|
|
27708
28056
|
readonly remotePort: number | undefined;
|
|
28057
|
+
readonly server: {
|
|
28058
|
+
listen: never;
|
|
28059
|
+
close: never;
|
|
28060
|
+
getConnections: never;
|
|
28061
|
+
maxConnections: number;
|
|
28062
|
+
connections: number;
|
|
28063
|
+
readonly listening: boolean;
|
|
28064
|
+
addListener: never;
|
|
28065
|
+
listenerCount: never;
|
|
28066
|
+
off: never;
|
|
28067
|
+
on: never;
|
|
28068
|
+
once: never;
|
|
28069
|
+
prependListener: never;
|
|
28070
|
+
prependOnceListener: never;
|
|
28071
|
+
removeListener: never;
|
|
28072
|
+
setMaxListeners: never;
|
|
28073
|
+
} | null;
|
|
27709
28074
|
readonly timeout?: number | undefined;
|
|
27710
28075
|
end: never;
|
|
27711
28076
|
addListener: never;
|
|
@@ -27795,6 +28160,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
27795
28160
|
readonly remoteAddress: string | undefined;
|
|
27796
28161
|
readonly remoteFamily: string | undefined;
|
|
27797
28162
|
readonly remotePort: number | undefined;
|
|
28163
|
+
readonly server: {
|
|
28164
|
+
listen: never;
|
|
28165
|
+
close: never;
|
|
28166
|
+
getConnections: never;
|
|
28167
|
+
maxConnections: number;
|
|
28168
|
+
connections: number;
|
|
28169
|
+
readonly listening: boolean;
|
|
28170
|
+
addListener: never;
|
|
28171
|
+
listenerCount: never;
|
|
28172
|
+
off: never;
|
|
28173
|
+
on: never;
|
|
28174
|
+
once: never;
|
|
28175
|
+
prependListener: never;
|
|
28176
|
+
prependOnceListener: never;
|
|
28177
|
+
removeListener: never;
|
|
28178
|
+
setMaxListeners: never;
|
|
28179
|
+
} | null;
|
|
27798
28180
|
readonly timeout?: number | undefined;
|
|
27799
28181
|
end: never;
|
|
27800
28182
|
addListener: never;
|
|
@@ -27910,6 +28292,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
27910
28292
|
readonly remoteAddress: string | undefined;
|
|
27911
28293
|
readonly remoteFamily: string | undefined;
|
|
27912
28294
|
readonly remotePort: number | undefined;
|
|
28295
|
+
readonly server: {
|
|
28296
|
+
listen: never;
|
|
28297
|
+
close: never;
|
|
28298
|
+
getConnections: never;
|
|
28299
|
+
maxConnections: number;
|
|
28300
|
+
connections: number;
|
|
28301
|
+
readonly listening: boolean;
|
|
28302
|
+
addListener: never;
|
|
28303
|
+
listenerCount: never;
|
|
28304
|
+
off: never;
|
|
28305
|
+
on: never;
|
|
28306
|
+
once: never;
|
|
28307
|
+
prependListener: never;
|
|
28308
|
+
prependOnceListener: never;
|
|
28309
|
+
removeListener: never;
|
|
28310
|
+
setMaxListeners: never;
|
|
28311
|
+
} | null;
|
|
27913
28312
|
readonly timeout?: number | undefined;
|
|
27914
28313
|
end: never;
|
|
27915
28314
|
addListener: never;
|
|
@@ -27997,6 +28396,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
27997
28396
|
readonly remoteAddress: string | undefined;
|
|
27998
28397
|
readonly remoteFamily: string | undefined;
|
|
27999
28398
|
readonly remotePort: number | undefined;
|
|
28399
|
+
readonly server: {
|
|
28400
|
+
listen: never;
|
|
28401
|
+
close: never;
|
|
28402
|
+
getConnections: never;
|
|
28403
|
+
maxConnections: number;
|
|
28404
|
+
connections: number;
|
|
28405
|
+
readonly listening: boolean;
|
|
28406
|
+
addListener: never;
|
|
28407
|
+
listenerCount: never;
|
|
28408
|
+
off: never;
|
|
28409
|
+
on: never;
|
|
28410
|
+
once: never;
|
|
28411
|
+
prependListener: never;
|
|
28412
|
+
prependOnceListener: never;
|
|
28413
|
+
removeListener: never;
|
|
28414
|
+
setMaxListeners: never;
|
|
28415
|
+
} | null;
|
|
28000
28416
|
readonly timeout?: number | undefined;
|
|
28001
28417
|
end: never;
|
|
28002
28418
|
addListener: never;
|
|
@@ -28236,6 +28652,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
28236
28652
|
readonly remoteAddress: string | undefined;
|
|
28237
28653
|
readonly remoteFamily: string | undefined;
|
|
28238
28654
|
readonly remotePort: number | undefined;
|
|
28655
|
+
readonly server: {
|
|
28656
|
+
listen: never;
|
|
28657
|
+
close: never;
|
|
28658
|
+
getConnections: never;
|
|
28659
|
+
maxConnections: number;
|
|
28660
|
+
connections: number;
|
|
28661
|
+
readonly listening: boolean;
|
|
28662
|
+
addListener: never;
|
|
28663
|
+
listenerCount: never;
|
|
28664
|
+
off: never;
|
|
28665
|
+
on: never;
|
|
28666
|
+
once: never;
|
|
28667
|
+
prependListener: never;
|
|
28668
|
+
prependOnceListener: never;
|
|
28669
|
+
removeListener: never;
|
|
28670
|
+
setMaxListeners: never;
|
|
28671
|
+
} | null;
|
|
28239
28672
|
readonly timeout?: number | undefined;
|
|
28240
28673
|
end: never;
|
|
28241
28674
|
addListener: never;
|
|
@@ -28323,6 +28756,23 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
28323
28756
|
readonly remoteAddress: string | undefined;
|
|
28324
28757
|
readonly remoteFamily: string | undefined;
|
|
28325
28758
|
readonly remotePort: number | undefined;
|
|
28759
|
+
readonly server: {
|
|
28760
|
+
listen: never;
|
|
28761
|
+
close: never;
|
|
28762
|
+
getConnections: never;
|
|
28763
|
+
maxConnections: number;
|
|
28764
|
+
connections: number;
|
|
28765
|
+
readonly listening: boolean;
|
|
28766
|
+
addListener: never;
|
|
28767
|
+
listenerCount: never;
|
|
28768
|
+
off: never;
|
|
28769
|
+
on: never;
|
|
28770
|
+
once: never;
|
|
28771
|
+
prependListener: never;
|
|
28772
|
+
prependOnceListener: never;
|
|
28773
|
+
removeListener: never;
|
|
28774
|
+
setMaxListeners: never;
|
|
28775
|
+
} | null;
|
|
28326
28776
|
readonly timeout?: number | undefined;
|
|
28327
28777
|
end: never;
|
|
28328
28778
|
addListener: never;
|
|
@@ -28596,6 +29046,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
28596
29046
|
}[] | undefined;
|
|
28597
29047
|
attendees?: {
|
|
28598
29048
|
additionalGuests?: number | null | undefined;
|
|
29049
|
+
asyncOperation?: string | null | undefined;
|
|
28599
29050
|
comment?: string | null | undefined;
|
|
28600
29051
|
displayName?: string | null | undefined;
|
|
28601
29052
|
email?: string | null | undefined;
|
|
@@ -28668,6 +29119,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
28668
29119
|
} | undefined;
|
|
28669
29120
|
endTimeUnspecified?: boolean | null | undefined;
|
|
28670
29121
|
etag?: string | null | undefined;
|
|
29122
|
+
eventLabelId?: string | null | undefined;
|
|
28671
29123
|
eventType?: string | null | undefined;
|
|
28672
29124
|
extendedProperties?: {
|
|
28673
29125
|
private?: {
|
|
@@ -28797,6 +29249,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
28797
29249
|
}[] | undefined;
|
|
28798
29250
|
attendees?: {
|
|
28799
29251
|
additionalGuests?: number | null | undefined;
|
|
29252
|
+
asyncOperation?: string | null | undefined;
|
|
28800
29253
|
comment?: string | null | undefined;
|
|
28801
29254
|
displayName?: string | null | undefined;
|
|
28802
29255
|
email?: string | null | undefined;
|
|
@@ -28869,6 +29322,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
28869
29322
|
} | undefined;
|
|
28870
29323
|
endTimeUnspecified?: boolean | null | undefined;
|
|
28871
29324
|
etag?: string | null | undefined;
|
|
29325
|
+
eventLabelId?: string | null | undefined;
|
|
28872
29326
|
eventType?: string | null | undefined;
|
|
28873
29327
|
extendedProperties?: {
|
|
28874
29328
|
private?: {
|
|
@@ -29052,6 +29506,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
29052
29506
|
}[] | undefined;
|
|
29053
29507
|
attendees?: {
|
|
29054
29508
|
additionalGuests?: number | null | undefined;
|
|
29509
|
+
asyncOperation?: string | null | undefined;
|
|
29055
29510
|
comment?: string | null | undefined;
|
|
29056
29511
|
displayName?: string | null | undefined;
|
|
29057
29512
|
email?: string | null | undefined;
|
|
@@ -29124,6 +29579,7 @@ declare const routes: import("hono/hono-base").HonoBase<{
|
|
|
29124
29579
|
} | undefined;
|
|
29125
29580
|
endTimeUnspecified?: boolean | null | undefined;
|
|
29126
29581
|
etag?: string | null | undefined;
|
|
29582
|
+
eventLabelId?: string | null | undefined;
|
|
29127
29583
|
eventType?: string | null | undefined;
|
|
29128
29584
|
extendedProperties?: {
|
|
29129
29585
|
private?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mestra-dev/contract",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.227",
|
|
4
4
|
"description": "Types-only Hono AppType contract for the Mestra auth API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"typescript": "5.9.3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@types/bun": "^1.4.
|
|
31
|
+
"@types/bun": "^1.4.2",
|
|
32
32
|
"dts-bundle-generator": "^9.5.1",
|
|
33
|
-
"hono": "^4.13.
|
|
33
|
+
"hono": "^4.13.11",
|
|
34
34
|
"typescript": "5.9.3"
|
|
35
35
|
}
|
|
36
36
|
}
|