@elevasis/ui 2.4.1 → 2.6.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/{chunk-JT7WDIZI.js → chunk-4GZ6VZWO.js} +1 -1
- package/dist/{chunk-WSL5MNAI.js → chunk-6RGNVHG3.js} +6 -4
- package/dist/{chunk-WN764MR7.js → chunk-CC4WGHGG.js} +3 -2
- package/dist/{chunk-PEZ4WOPF.js → chunk-DQJM7T2N.js} +2 -2
- package/dist/{chunk-KRTZTBVP.js → chunk-FH5QGCXL.js} +8 -6
- package/dist/{chunk-2DZACNOX.js → chunk-MU5EZV3L.js} +5 -3
- package/dist/{chunk-ISHNN42L.js → chunk-O4PMRC6J.js} +223 -59
- package/dist/{chunk-ZG7MLOBE.js → chunk-PEDPD3PU.js} +1 -1
- package/dist/{chunk-5XGBMKUY.js → chunk-PHRDZFJT.js} +3 -3
- package/dist/{chunk-IPRMGSCV.js → chunk-POFDRPDI.js} +1 -1
- package/dist/{chunk-3ONP2CEB.js → chunk-X4BLH3JL.js} +6 -4
- package/dist/{chunk-J5KWNRSD.js → chunk-YIWLA2B6.js} +1 -0
- package/dist/{chunk-G3G2QEB6.js → chunk-ZB5PKIX5.js} +4 -13
- package/dist/components/index.d.ts +127 -105
- package/dist/components/index.js +16 -16
- package/dist/features/crm/index.d.ts +24 -0
- package/dist/features/crm/index.js +5 -5
- package/dist/features/dashboard/index.d.ts +2 -37
- package/dist/features/dashboard/index.js +5 -5
- package/dist/features/delivery/index.d.ts +25 -0
- package/dist/features/delivery/index.js +5 -5
- package/dist/features/lead-gen/index.d.ts +25 -1
- package/dist/features/lead-gen/index.js +8 -8
- package/dist/features/monitoring/index.d.ts +25 -0
- package/dist/features/monitoring/index.js +6 -6
- package/dist/features/operations/index.d.ts +83 -59
- package/dist/features/operations/index.js +7 -7
- package/dist/features/seo/index.d.ts +25 -0
- package/dist/features/seo/index.js +1 -1
- package/dist/features/settings/index.d.ts +24 -0
- package/dist/features/settings/index.js +5 -5
- package/dist/hooks/index.d.ts +239 -239
- package/dist/hooks/index.js +4 -4
- package/dist/hooks/published.d.ts +169 -169
- package/dist/hooks/published.js +3 -3
- package/dist/index.d.ts +302 -254
- package/dist/index.js +4 -4
- package/dist/provider/index.d.ts +63 -15
- package/dist/provider/index.js +2 -2
- package/dist/provider/published.d.ts +63 -15
- package/dist/provider/published.js +1 -1
- package/dist/types/index.d.ts +134 -134
- package/package.json +1 -1
package/dist/hooks/index.d.ts
CHANGED
|
@@ -3742,6 +3742,88 @@ type SupabaseApiKey = Tables<'api_keys'>;
|
|
|
3742
3742
|
/** API response type for API key list items (omits sensitive key_hash) */
|
|
3743
3743
|
type ApiKeyListItem = Omit<SupabaseApiKey, 'key_hash'>;
|
|
3744
3744
|
|
|
3745
|
+
/** Raw database row type for acq_deals table */
|
|
3746
|
+
type AcqDealRow = Database$1['public']['Tables']['acq_deals']['Row'];
|
|
3747
|
+
type DealStage = 'interested' | 'proposal' | 'closing' | 'closed_won' | 'closed_lost' | 'nurturing';
|
|
3748
|
+
interface DealContact {
|
|
3749
|
+
id: string;
|
|
3750
|
+
first_name: string | null;
|
|
3751
|
+
last_name: string | null;
|
|
3752
|
+
email: string;
|
|
3753
|
+
title: string | null;
|
|
3754
|
+
headline: string | null;
|
|
3755
|
+
linkedin_url: string | null;
|
|
3756
|
+
pipeline_status: Record<string, unknown> | null;
|
|
3757
|
+
enrichment_data: Record<string, unknown> | null;
|
|
3758
|
+
company: {
|
|
3759
|
+
id: string;
|
|
3760
|
+
name: string;
|
|
3761
|
+
domain: string | null;
|
|
3762
|
+
website: string | null;
|
|
3763
|
+
linkedin_url: string | null;
|
|
3764
|
+
segment: string | null;
|
|
3765
|
+
category: string | null;
|
|
3766
|
+
num_employees: number | null;
|
|
3767
|
+
} | null;
|
|
3768
|
+
}
|
|
3769
|
+
interface DealFilters {
|
|
3770
|
+
stage?: DealStage;
|
|
3771
|
+
search?: string;
|
|
3772
|
+
}
|
|
3773
|
+
/** Deal list item with joined contact and company data */
|
|
3774
|
+
interface DealListItem extends AcqDealRow {
|
|
3775
|
+
contact: DealContact | null;
|
|
3776
|
+
}
|
|
3777
|
+
type DealDetail = DealListItem;
|
|
3778
|
+
/** Task kind options for a deal task (human follow-up action type) */
|
|
3779
|
+
type AcqDealTaskKind = 'call' | 'email' | 'meeting' | 'other';
|
|
3780
|
+
/**
|
|
3781
|
+
* A CRM to-do item attached to a deal representing a human follow-up action.
|
|
3782
|
+
* Transformed from AcqDealTaskRow with camelCase properties.
|
|
3783
|
+
*/
|
|
3784
|
+
interface AcqDealTask {
|
|
3785
|
+
id: string;
|
|
3786
|
+
organizationId: string;
|
|
3787
|
+
dealId: string;
|
|
3788
|
+
title: string;
|
|
3789
|
+
description: string | null;
|
|
3790
|
+
kind: AcqDealTaskKind;
|
|
3791
|
+
dueAt: string | null;
|
|
3792
|
+
assigneeUserId: string | null;
|
|
3793
|
+
completedAt: string | null;
|
|
3794
|
+
completedByUserId: string | null;
|
|
3795
|
+
createdAt: string;
|
|
3796
|
+
updatedAt: string;
|
|
3797
|
+
createdByUserId: string | null;
|
|
3798
|
+
}
|
|
3799
|
+
/**
|
|
3800
|
+
* Live-scan aggregate telemetry for a single list, computed on demand from
|
|
3801
|
+
* the list junction tables and current contact deliverability state.
|
|
3802
|
+
*/
|
|
3803
|
+
interface ListTelemetry {
|
|
3804
|
+
listId: string;
|
|
3805
|
+
totalCompanies: number;
|
|
3806
|
+
totalContacts: number;
|
|
3807
|
+
stageCounts: {
|
|
3808
|
+
populated: number;
|
|
3809
|
+
extracted: number;
|
|
3810
|
+
qualified: number;
|
|
3811
|
+
discovered: number;
|
|
3812
|
+
verified: number;
|
|
3813
|
+
personalized: number;
|
|
3814
|
+
uploaded: number;
|
|
3815
|
+
};
|
|
3816
|
+
deliverability: {
|
|
3817
|
+
valid: number;
|
|
3818
|
+
risky: number;
|
|
3819
|
+
invalid: number;
|
|
3820
|
+
unknown: number;
|
|
3821
|
+
bounced: number;
|
|
3822
|
+
};
|
|
3823
|
+
/** Reserved -- active workflow IDs associated with this list. */
|
|
3824
|
+
activeWorkflows?: string[];
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3745
3827
|
/**
|
|
3746
3828
|
* Action configuration for HITL tasks
|
|
3747
3829
|
* Defines available user actions and their behavior
|
|
@@ -3987,87 +4069,93 @@ interface NotificationDTO {
|
|
|
3987
4069
|
createdAt: string;
|
|
3988
4070
|
}
|
|
3989
4071
|
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
}
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4072
|
+
declare const ListCompaniesQuerySchema: z.ZodObject<{
|
|
4073
|
+
search: z.ZodOptional<z.ZodString>;
|
|
4074
|
+
listId: z.ZodOptional<z.ZodString>;
|
|
4075
|
+
domain: z.ZodOptional<z.ZodString>;
|
|
4076
|
+
website: z.ZodOptional<z.ZodString>;
|
|
4077
|
+
segment: z.ZodOptional<z.ZodString>;
|
|
4078
|
+
category: z.ZodOptional<z.ZodString>;
|
|
4079
|
+
batchId: z.ZodOptional<z.ZodString>;
|
|
4080
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
4081
|
+
active: "active";
|
|
4082
|
+
invalid: "invalid";
|
|
4083
|
+
}>>;
|
|
4084
|
+
includeAll: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4085
|
+
}, z.core.$strict>;
|
|
4086
|
+
declare const ListContactsQuerySchema: z.ZodObject<{
|
|
4087
|
+
search: z.ZodOptional<z.ZodString>;
|
|
4088
|
+
listId: z.ZodOptional<z.ZodString>;
|
|
4089
|
+
openingLineIsNull: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4090
|
+
batchId: z.ZodOptional<z.ZodString>;
|
|
4091
|
+
contactStatus: z.ZodOptional<z.ZodEnum<{
|
|
4092
|
+
active: "active";
|
|
4093
|
+
invalid: "invalid";
|
|
4094
|
+
}>>;
|
|
4095
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
4096
|
+
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
4097
|
+
}, z.core.$strict>;
|
|
4098
|
+
declare const AcqCompanyResponseSchema: z.ZodObject<{
|
|
4099
|
+
id: z.ZodString;
|
|
4100
|
+
organizationId: z.ZodString;
|
|
4101
|
+
name: z.ZodString;
|
|
4102
|
+
domain: z.ZodNullable<z.ZodString>;
|
|
4103
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
4104
|
+
website: z.ZodNullable<z.ZodString>;
|
|
4105
|
+
numEmployees: z.ZodNullable<z.ZodNumber>;
|
|
4106
|
+
foundedYear: z.ZodNullable<z.ZodNumber>;
|
|
4107
|
+
locationCity: z.ZodNullable<z.ZodString>;
|
|
4108
|
+
locationState: z.ZodNullable<z.ZodString>;
|
|
4109
|
+
category: z.ZodNullable<z.ZodString>;
|
|
4110
|
+
categoryPain: z.ZodNullable<z.ZodString>;
|
|
4111
|
+
segment: z.ZodNullable<z.ZodString>;
|
|
4112
|
+
pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4113
|
+
enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4114
|
+
source: z.ZodNullable<z.ZodString>;
|
|
4115
|
+
batchId: z.ZodNullable<z.ZodString>;
|
|
4116
|
+
status: z.ZodEnum<{
|
|
4117
|
+
active: "active";
|
|
4118
|
+
invalid: "invalid";
|
|
4119
|
+
}>;
|
|
4120
|
+
verticalResearch: z.ZodNullable<z.ZodString>;
|
|
4121
|
+
createdAt: z.ZodString;
|
|
4122
|
+
updatedAt: z.ZodString;
|
|
4123
|
+
}, z.core.$strip>;
|
|
4124
|
+
declare const AcqContactResponseSchema: z.ZodObject<{
|
|
4125
|
+
id: z.ZodString;
|
|
4126
|
+
organizationId: z.ZodString;
|
|
4127
|
+
companyId: z.ZodNullable<z.ZodString>;
|
|
4128
|
+
email: z.ZodString;
|
|
4129
|
+
emailValid: z.ZodNullable<z.ZodEnum<{
|
|
4130
|
+
VALID: "VALID";
|
|
4131
|
+
INVALID: "INVALID";
|
|
4132
|
+
RISKY: "RISKY";
|
|
4133
|
+
UNKNOWN: "UNKNOWN";
|
|
4134
|
+
}>>;
|
|
4135
|
+
firstName: z.ZodNullable<z.ZodString>;
|
|
4136
|
+
lastName: z.ZodNullable<z.ZodString>;
|
|
4137
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
4138
|
+
title: z.ZodNullable<z.ZodString>;
|
|
4139
|
+
headline: z.ZodNullable<z.ZodString>;
|
|
4140
|
+
filterReason: z.ZodNullable<z.ZodString>;
|
|
4141
|
+
openingLine: z.ZodNullable<z.ZodString>;
|
|
4142
|
+
source: z.ZodNullable<z.ZodString>;
|
|
4143
|
+
sourceId: z.ZodNullable<z.ZodString>;
|
|
4144
|
+
pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4145
|
+
enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4146
|
+
attioPersonId: z.ZodNullable<z.ZodString>;
|
|
4147
|
+
batchId: z.ZodNullable<z.ZodString>;
|
|
4148
|
+
status: z.ZodEnum<{
|
|
4149
|
+
active: "active";
|
|
4150
|
+
invalid: "invalid";
|
|
4151
|
+
}>;
|
|
4152
|
+
createdAt: z.ZodString;
|
|
4153
|
+
updatedAt: z.ZodString;
|
|
4154
|
+
}, z.core.$strip>;
|
|
4155
|
+
type ListCompaniesQuery = z.infer<typeof ListCompaniesQuerySchema>;
|
|
4156
|
+
type ListContactsQuery = z.infer<typeof ListContactsQuerySchema>;
|
|
4157
|
+
type AcqCompanyResponse = z.infer<typeof AcqCompanyResponseSchema>;
|
|
4158
|
+
type AcqContactResponse = z.infer<typeof AcqContactResponseSchema>;
|
|
4071
4159
|
|
|
4072
4160
|
type MessageType = MessageEvent['type'];
|
|
4073
4161
|
/**
|
|
@@ -5486,94 +5574,6 @@ interface Deployment {
|
|
|
5486
5574
|
updatedAt: string;
|
|
5487
5575
|
}
|
|
5488
5576
|
|
|
5489
|
-
declare const ListCompaniesQuerySchema: z.ZodObject<{
|
|
5490
|
-
search: z.ZodOptional<z.ZodString>;
|
|
5491
|
-
listId: z.ZodOptional<z.ZodString>;
|
|
5492
|
-
domain: z.ZodOptional<z.ZodString>;
|
|
5493
|
-
website: z.ZodOptional<z.ZodString>;
|
|
5494
|
-
segment: z.ZodOptional<z.ZodString>;
|
|
5495
|
-
category: z.ZodOptional<z.ZodString>;
|
|
5496
|
-
batchId: z.ZodOptional<z.ZodString>;
|
|
5497
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
5498
|
-
active: "active";
|
|
5499
|
-
invalid: "invalid";
|
|
5500
|
-
}>>;
|
|
5501
|
-
includeAll: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5502
|
-
}, z.core.$strict>;
|
|
5503
|
-
declare const ListContactsQuerySchema: z.ZodObject<{
|
|
5504
|
-
search: z.ZodOptional<z.ZodString>;
|
|
5505
|
-
listId: z.ZodOptional<z.ZodString>;
|
|
5506
|
-
openingLineIsNull: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5507
|
-
batchId: z.ZodOptional<z.ZodString>;
|
|
5508
|
-
contactStatus: z.ZodOptional<z.ZodEnum<{
|
|
5509
|
-
active: "active";
|
|
5510
|
-
invalid: "invalid";
|
|
5511
|
-
}>>;
|
|
5512
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
5513
|
-
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
5514
|
-
}, z.core.$strict>;
|
|
5515
|
-
declare const AcqCompanyResponseSchema: z.ZodObject<{
|
|
5516
|
-
id: z.ZodString;
|
|
5517
|
-
organizationId: z.ZodString;
|
|
5518
|
-
name: z.ZodString;
|
|
5519
|
-
domain: z.ZodNullable<z.ZodString>;
|
|
5520
|
-
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
5521
|
-
website: z.ZodNullable<z.ZodString>;
|
|
5522
|
-
numEmployees: z.ZodNullable<z.ZodNumber>;
|
|
5523
|
-
foundedYear: z.ZodNullable<z.ZodNumber>;
|
|
5524
|
-
locationCity: z.ZodNullable<z.ZodString>;
|
|
5525
|
-
locationState: z.ZodNullable<z.ZodString>;
|
|
5526
|
-
category: z.ZodNullable<z.ZodString>;
|
|
5527
|
-
categoryPain: z.ZodNullable<z.ZodString>;
|
|
5528
|
-
segment: z.ZodNullable<z.ZodString>;
|
|
5529
|
-
pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5530
|
-
enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5531
|
-
source: z.ZodNullable<z.ZodString>;
|
|
5532
|
-
batchId: z.ZodNullable<z.ZodString>;
|
|
5533
|
-
status: z.ZodEnum<{
|
|
5534
|
-
active: "active";
|
|
5535
|
-
invalid: "invalid";
|
|
5536
|
-
}>;
|
|
5537
|
-
verticalResearch: z.ZodNullable<z.ZodString>;
|
|
5538
|
-
createdAt: z.ZodString;
|
|
5539
|
-
updatedAt: z.ZodString;
|
|
5540
|
-
}, z.core.$strip>;
|
|
5541
|
-
declare const AcqContactResponseSchema: z.ZodObject<{
|
|
5542
|
-
id: z.ZodString;
|
|
5543
|
-
organizationId: z.ZodString;
|
|
5544
|
-
companyId: z.ZodNullable<z.ZodString>;
|
|
5545
|
-
email: z.ZodString;
|
|
5546
|
-
emailValid: z.ZodNullable<z.ZodEnum<{
|
|
5547
|
-
VALID: "VALID";
|
|
5548
|
-
INVALID: "INVALID";
|
|
5549
|
-
RISKY: "RISKY";
|
|
5550
|
-
UNKNOWN: "UNKNOWN";
|
|
5551
|
-
}>>;
|
|
5552
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
5553
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
5554
|
-
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
5555
|
-
title: z.ZodNullable<z.ZodString>;
|
|
5556
|
-
headline: z.ZodNullable<z.ZodString>;
|
|
5557
|
-
filterReason: z.ZodNullable<z.ZodString>;
|
|
5558
|
-
openingLine: z.ZodNullable<z.ZodString>;
|
|
5559
|
-
source: z.ZodNullable<z.ZodString>;
|
|
5560
|
-
sourceId: z.ZodNullable<z.ZodString>;
|
|
5561
|
-
pipelineStatus: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5562
|
-
enrichmentData: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
5563
|
-
attioPersonId: z.ZodNullable<z.ZodString>;
|
|
5564
|
-
batchId: z.ZodNullable<z.ZodString>;
|
|
5565
|
-
status: z.ZodEnum<{
|
|
5566
|
-
active: "active";
|
|
5567
|
-
invalid: "invalid";
|
|
5568
|
-
}>;
|
|
5569
|
-
createdAt: z.ZodString;
|
|
5570
|
-
updatedAt: z.ZodString;
|
|
5571
|
-
}, z.core.$strip>;
|
|
5572
|
-
type ListCompaniesQuery = z.infer<typeof ListCompaniesQuerySchema>;
|
|
5573
|
-
type ListContactsQuery = z.infer<typeof ListContactsQuerySchema>;
|
|
5574
|
-
type AcqCompanyResponse = z.infer<typeof AcqCompanyResponseSchema>;
|
|
5575
|
-
type AcqContactResponse = z.infer<typeof AcqContactResponseSchema>;
|
|
5576
|
-
|
|
5577
5577
|
declare function useCommandQueue({ status, limit, offset, humanCheckpoint, timeRange, priorityMin, priorityMax, }?: {
|
|
5578
5578
|
status?: TaskStatus$1;
|
|
5579
5579
|
limit?: number;
|
|
@@ -8503,6 +8503,76 @@ interface AcqDealNote {
|
|
|
8503
8503
|
updatedAt: string
|
|
8504
8504
|
}
|
|
8505
8505
|
|
|
8506
|
+
// Row types from Supabase
|
|
8507
|
+
type ProjectRow = Database['public']['Tables']['prj_projects']['Row']
|
|
8508
|
+
type ProjectUpdate = Database['public']['Tables']['prj_projects']['Update']
|
|
8509
|
+
|
|
8510
|
+
type MilestoneRow = Database['public']['Tables']['prj_milestones']['Row']
|
|
8511
|
+
type MilestoneUpdate = Database['public']['Tables']['prj_milestones']['Update']
|
|
8512
|
+
|
|
8513
|
+
type TaskRow = Database['public']['Tables']['prj_tasks']['Row']
|
|
8514
|
+
|
|
8515
|
+
// Status enums
|
|
8516
|
+
type ProjectStatus = 'active' | 'on_track' | 'at_risk' | 'blocked' | 'completed' | 'paused'
|
|
8517
|
+
|
|
8518
|
+
type ProjectKind = 'client_engagement' | 'internal'
|
|
8519
|
+
|
|
8520
|
+
type MilestoneStatus = 'upcoming' | 'in_progress' | 'completed' | 'overdue' | 'blocked'
|
|
8521
|
+
|
|
8522
|
+
type TaskStatus =
|
|
8523
|
+
| 'planned'
|
|
8524
|
+
| 'in_progress'
|
|
8525
|
+
| 'blocked'
|
|
8526
|
+
| 'completed'
|
|
8527
|
+
| 'cancelled'
|
|
8528
|
+
| 'submitted'
|
|
8529
|
+
| 'approved'
|
|
8530
|
+
| 'rejected'
|
|
8531
|
+
| 'revision_requested'
|
|
8532
|
+
|
|
8533
|
+
type TaskType = 'documentation' | 'code' | 'report' | 'design' | 'other'
|
|
8534
|
+
|
|
8535
|
+
type NoteType = 'call_note' | 'status_update' | 'issue' | 'blocker'
|
|
8536
|
+
|
|
8537
|
+
// Filter types
|
|
8538
|
+
interface ProjectFilters {
|
|
8539
|
+
status?: ProjectStatus
|
|
8540
|
+
kind?: ProjectKind
|
|
8541
|
+
companyId?: string
|
|
8542
|
+
search?: string
|
|
8543
|
+
}
|
|
8544
|
+
|
|
8545
|
+
interface MilestoneFilters {
|
|
8546
|
+
status?: MilestoneStatus
|
|
8547
|
+
projectId?: string
|
|
8548
|
+
}
|
|
8549
|
+
|
|
8550
|
+
interface TaskFilters {
|
|
8551
|
+
status?: TaskStatus
|
|
8552
|
+
type?: TaskType
|
|
8553
|
+
milestoneId?: string
|
|
8554
|
+
projectId?: string
|
|
8555
|
+
}
|
|
8556
|
+
|
|
8557
|
+
interface NoteFilters {
|
|
8558
|
+
type?: NoteType
|
|
8559
|
+
projectId?: string
|
|
8560
|
+
}
|
|
8561
|
+
|
|
8562
|
+
// Display types (for JOINed data)
|
|
8563
|
+
interface ProjectWithCounts extends ProjectRow {
|
|
8564
|
+
milestoneCount: number
|
|
8565
|
+
taskCount: number
|
|
8566
|
+
completedMilestones?: number
|
|
8567
|
+
completedTasks?: number
|
|
8568
|
+
}
|
|
8569
|
+
|
|
8570
|
+
interface ProjectDetail extends ProjectRow {
|
|
8571
|
+
milestones: MilestoneRow[]
|
|
8572
|
+
tasks: TaskRow[]
|
|
8573
|
+
company: { id: string; name: string; domain: string | null } | null
|
|
8574
|
+
}
|
|
8575
|
+
|
|
8506
8576
|
/**
|
|
8507
8577
|
* Resource Registry type definitions
|
|
8508
8578
|
*/
|
|
@@ -11379,76 +11449,6 @@ declare function useUpdateContact(contactId: string): _tanstack_react_query.UseM
|
|
|
11379
11449
|
}, unknown>;
|
|
11380
11450
|
declare function useDeleteContacts(): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
|
|
11381
11451
|
|
|
11382
|
-
// Row types from Supabase
|
|
11383
|
-
type ProjectRow = Database['public']['Tables']['prj_projects']['Row']
|
|
11384
|
-
type ProjectUpdate = Database['public']['Tables']['prj_projects']['Update']
|
|
11385
|
-
|
|
11386
|
-
type MilestoneRow = Database['public']['Tables']['prj_milestones']['Row']
|
|
11387
|
-
type MilestoneUpdate = Database['public']['Tables']['prj_milestones']['Update']
|
|
11388
|
-
|
|
11389
|
-
type TaskRow = Database['public']['Tables']['prj_tasks']['Row']
|
|
11390
|
-
|
|
11391
|
-
// Status enums
|
|
11392
|
-
type ProjectStatus = 'active' | 'on_track' | 'at_risk' | 'blocked' | 'completed' | 'paused'
|
|
11393
|
-
|
|
11394
|
-
type ProjectKind = 'client_engagement' | 'internal'
|
|
11395
|
-
|
|
11396
|
-
type MilestoneStatus = 'upcoming' | 'in_progress' | 'completed' | 'overdue' | 'blocked'
|
|
11397
|
-
|
|
11398
|
-
type TaskStatus =
|
|
11399
|
-
| 'planned'
|
|
11400
|
-
| 'in_progress'
|
|
11401
|
-
| 'blocked'
|
|
11402
|
-
| 'completed'
|
|
11403
|
-
| 'cancelled'
|
|
11404
|
-
| 'submitted'
|
|
11405
|
-
| 'approved'
|
|
11406
|
-
| 'rejected'
|
|
11407
|
-
| 'revision_requested'
|
|
11408
|
-
|
|
11409
|
-
type TaskType = 'documentation' | 'code' | 'report' | 'design' | 'other'
|
|
11410
|
-
|
|
11411
|
-
type NoteType = 'call_note' | 'status_update' | 'issue' | 'blocker'
|
|
11412
|
-
|
|
11413
|
-
// Filter types
|
|
11414
|
-
interface ProjectFilters {
|
|
11415
|
-
status?: ProjectStatus
|
|
11416
|
-
kind?: ProjectKind
|
|
11417
|
-
companyId?: string
|
|
11418
|
-
search?: string
|
|
11419
|
-
}
|
|
11420
|
-
|
|
11421
|
-
interface MilestoneFilters {
|
|
11422
|
-
status?: MilestoneStatus
|
|
11423
|
-
projectId?: string
|
|
11424
|
-
}
|
|
11425
|
-
|
|
11426
|
-
interface TaskFilters {
|
|
11427
|
-
status?: TaskStatus
|
|
11428
|
-
type?: TaskType
|
|
11429
|
-
milestoneId?: string
|
|
11430
|
-
projectId?: string
|
|
11431
|
-
}
|
|
11432
|
-
|
|
11433
|
-
interface NoteFilters {
|
|
11434
|
-
type?: NoteType
|
|
11435
|
-
projectId?: string
|
|
11436
|
-
}
|
|
11437
|
-
|
|
11438
|
-
// Display types (for JOINed data)
|
|
11439
|
-
interface ProjectWithCounts extends ProjectRow {
|
|
11440
|
-
milestoneCount: number
|
|
11441
|
-
taskCount: number
|
|
11442
|
-
completedMilestones?: number
|
|
11443
|
-
completedTasks?: number
|
|
11444
|
-
}
|
|
11445
|
-
|
|
11446
|
-
interface ProjectDetail extends ProjectRow {
|
|
11447
|
-
milestones: MilestoneRow[]
|
|
11448
|
-
tasks: TaskRow[]
|
|
11449
|
-
company: { id: string; name: string; domain: string | null } | null
|
|
11450
|
-
}
|
|
11451
|
-
|
|
11452
11452
|
declare const projectKeys: {
|
|
11453
11453
|
all: readonly ["projects"];
|
|
11454
11454
|
lists: () => readonly ["projects", "list"];
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, milestoneKeys, noteKeys, projectKeys, taskKeys, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteMilestone, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useMilestones, useOrganizationMembers, useProject, useProjectNotes, useProjects, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTasks, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateMemberConfig, useUpdateMilestone, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from '../chunk-
|
|
2
|
-
export { OperationsService, acquisitionListKeys, calibrationKeys, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateCompany, useCreateContact, useCreateDealNote, useCreateDealTask, useCreateList, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteCompanies, useDeleteContacts, useDeleteDeal, useDeleteExecution, useDeleteList, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useList, useListExecutions, useListProgress, useListSchedules, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateCompany, useUpdateContact, useUpdateList, useUpdateListConfig, useUpdateProject, useUpdateSchedule, useWarningNotification } from '../chunk-
|
|
1
|
+
export { ApiKeyService, CredentialService, DeploymentService, OrganizationMembershipService, WebhookEndpointService, filterByDomainFilters, milestoneKeys, noteKeys, projectKeys, taskKeys, useActivateDeployment, useActivityFilters, useCommandViewDomainFilters, useCreateApiKey, useCreateCredential, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateWebhookEndpoint, useCredentials, useDeactivateDeployment, useDeactivateMembership, useDeleteApiKey, useDeleteCredential, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteDeployment, useDeleteMilestone, useDeleteWebhookEndpoint, useExecutionLogsFilters, useListApiKeys, useListDeployments, useListWebhookEndpoints, useMilestones, useOrganizationMembers, useProject, useProjectNotes, useProjects, useReactivateMembership, useResourceSearch, useResourcesDomainFilters, useStatusFilter, useTasks, useTimeRangeDates, useUpdateApiKey, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateMemberConfig, useUpdateMilestone, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources } from '../chunk-DQJM7T2N.js';
|
|
2
|
+
export { OperationsService, acquisitionListKeys, calibrationKeys, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, isSessionCapable, operationsKeys, scheduleKeys, sessionsKeys, sortData, useActivities, useActivityTrend, useAllCalibrationProjects, useArchiveSession, useArchivedLogs, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCalibrationProject, useCalibrationProjects, useCalibrationRun, useCalibrationRunFull, useCalibrationRuns, useCalibrationSSE, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewLayout, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateCompany, useCreateContact, useCreateDealNote, useCreateDealTask, useCreateList, useCreateProject, useCreateRun, useCreateSchedule, useCreateSession, useDashboardMetrics, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDeleteCompanies, useDeleteContacts, useDeleteDeal, useDeleteExecution, useDeleteList, useDeleteProject, useDeleteRun, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeploymentDocs, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAsync, useExecuteRun, useExecuteWorkflow, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionPanelState, useExecutions, useGetExecutionHistory, useGetSchedule, useGradeRun, useGraphStats, useList, useListExecutions, useListProgress, useListSchedules, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, usePaginationState, usePatchTask, usePauseSchedule, useRecentExecutionsByResource, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResources, useResourcesHealth, useResumeSchedule, useRetryExecution, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useSubmitAction, useSuccessNotification, useSyncDealStage, useTableSelection, useTableSort, useTestNotification, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateCompany, useUpdateContact, useUpdateList, useUpdateListConfig, useUpdateProject, useUpdateSchedule, useWarningNotification } from '../chunk-POFDRPDI.js';
|
|
3
3
|
export { observabilityKeys, useErrorTrends } from '../chunk-LXHZYSMQ.js';
|
|
4
4
|
import '../chunk-22UVE3RA.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-4GZ6VZWO.js';
|
|
6
6
|
import '../chunk-47YILFON.js';
|
|
7
7
|
import '../chunk-CYXZHBP4.js';
|
|
8
|
-
export { createUseFeatureAccess } from '../chunk-
|
|
8
|
+
export { createUseFeatureAccess } from '../chunk-O4PMRC6J.js';
|
|
9
9
|
import '../chunk-RX4UWZZR.js';
|
|
10
10
|
import '../chunk-Y3D3WFJG.js';
|
|
11
11
|
import '../chunk-3KMDHCAR.js';
|