@hexclave/shared 1.0.55 → 1.0.56
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/{admin-interface-DIt0PvhC.d.ts → admin-interface-sca4FCAt.d.ts} +11 -11
- package/dist/{admin-interface-DIt0PvhC.d.ts.map → admin-interface-sca4FCAt.d.ts.map} +1 -1
- package/dist/{admin-metrics-bsOkw4YQ.d.ts → admin-metrics-BTgqWZXI.d.ts} +16 -16
- package/dist/{admin-metrics-bsOkw4YQ.d.ts.map → admin-metrics-BTgqWZXI.d.ts.map} +1 -1
- package/dist/ai/hexclave-ask.d.ts +37 -0
- package/dist/ai/hexclave-ask.d.ts.map +1 -0
- package/dist/ai/hexclave-ask.js +120 -0
- package/dist/ai/hexclave-ask.js.map +1 -0
- package/dist/ai/hexclave-ask.test.d.ts +1 -0
- package/dist/ai/hexclave-ask.test.js +46 -0
- package/dist/ai/hexclave-ask.test.js.map +1 -0
- package/dist/ai/unified-prompts/reminders.js +3 -3
- package/dist/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/ai/unified-prompts/skill-site-prompt.js +2 -2
- package/dist/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/{client-interface-BQz4jNAC.d.ts → client-interface-BQakINAH.d.ts} +10 -10
- package/dist/{client-interface-BQz4jNAC.d.ts.map → client-interface-BQakINAH.d.ts.map} +1 -1
- package/dist/config/schema-fuzzer.test.js +1 -1
- package/dist/config/schema.d.ts +1 -1
- package/dist/config/schema.js +1 -1
- package/dist/config-authoring.d.ts +1 -1
- package/dist/{current-user-BBoN3hsn.d.ts → current-user-DosTPiF7.d.ts} +12 -12
- package/dist/{current-user-BBoN3hsn.d.ts.map → current-user-DosTPiF7.d.ts.map} +1 -1
- package/dist/{email-outbox-CqzwInBL.d.ts → email-outbox-C07KfbmL.d.ts} +249 -249
- package/dist/{email-outbox-CqzwInBL.d.ts.map → email-outbox-C07KfbmL.d.ts.map} +1 -1
- package/dist/esm/ai/hexclave-ask.d.ts +37 -0
- package/dist/esm/ai/hexclave-ask.d.ts.map +1 -0
- package/dist/esm/ai/hexclave-ask.js +117 -0
- package/dist/esm/ai/hexclave-ask.js.map +1 -0
- package/dist/esm/ai/hexclave-ask.test.d.ts +1 -0
- package/dist/esm/ai/hexclave-ask.test.js +47 -0
- package/dist/esm/ai/hexclave-ask.test.js.map +1 -0
- package/dist/esm/ai/unified-prompts/reminders.js +3 -3
- package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js +2 -2
- package/dist/esm/ai/unified-prompts/skill-site-prompt.js.map +1 -1
- package/dist/esm/config/schema-fuzzer.test.js +1 -1
- package/dist/esm/config/schema.d.ts +55 -55
- package/dist/esm/config/schema.js +1 -1
- package/dist/esm/interface/admin-interface.js +1 -1
- package/dist/esm/interface/admin-metrics.d.ts +15 -15
- package/dist/esm/interface/client-interface.js +2 -2
- package/dist/esm/interface/conversations.d.ts +30 -30
- package/dist/esm/interface/crud/current-user.d.ts +11 -11
- package/dist/esm/interface/crud/email-outbox.d.ts +248 -248
- package/dist/esm/interface/crud/invoices.d.ts +2 -2
- package/dist/esm/interface/crud/products.d.ts +15 -15
- package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
- package/dist/esm/interface/crud/projects.d.ts +113 -113
- package/dist/esm/interface/crud/team-member-profiles.d.ts +24 -24
- package/dist/esm/interface/crud/transactions.d.ts +20 -20
- package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
- package/dist/esm/interface/crud/users.d.ts +6 -6
- package/dist/esm/interface/plan-usage.d.ts +1 -1
- package/dist/esm/interface/server-interface.js +1 -1
- package/dist/esm/known-errors.d.ts +1 -1
- package/dist/esm/schema-fields.d.ts +2 -2
- package/dist/esm/sessions.d.ts +7 -7
- package/dist/esm/utils/promises.js +1 -1
- package/dist/helpers/password.d.ts +1 -1
- package/dist/helpers/production-mode.d.ts +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/interface/admin-interface.d.ts +2 -2
- package/dist/interface/admin-interface.js +1 -1
- package/dist/interface/admin-metrics.d.ts +1 -1
- package/dist/interface/client-interface.d.ts +1 -1
- package/dist/interface/client-interface.js +2 -2
- package/dist/interface/conversations.d.ts +30 -30
- package/dist/interface/crud/current-user.d.ts +1 -1
- package/dist/interface/crud/email-outbox.d.ts +1 -1
- package/dist/interface/crud/invoices.d.ts +1 -1
- package/dist/interface/crud/products.d.ts +1 -1
- package/dist/interface/crud/project-api-keys.d.ts +1 -1
- package/dist/interface/crud/projects.d.ts +1 -1
- package/dist/interface/crud/team-member-profiles.d.ts +1 -1
- package/dist/interface/crud/transactions.d.ts +1 -1
- package/dist/interface/crud/users.d.ts +1 -1
- package/dist/interface/plan-usage.d.ts +1 -1
- package/dist/interface/server-interface.d.ts +1 -1
- package/dist/interface/server-interface.js +1 -1
- package/dist/{invoices-CHo9YKbI.d.ts → invoices-U65KzAZX.d.ts} +3 -3
- package/dist/{invoices-CHo9YKbI.d.ts.map → invoices-U65KzAZX.d.ts.map} +1 -1
- package/dist/{known-errors-Bm4a61wL.d.ts → known-errors-BFf8SVm8.d.ts} +2 -2
- package/dist/{known-errors-Bm4a61wL.d.ts.map → known-errors-BFf8SVm8.d.ts.map} +1 -1
- package/dist/known-errors.d.ts +1 -1
- package/dist/{plan-usage-BO2GsKlN.d.ts → plan-usage-CFwV688o.d.ts} +2 -2
- package/dist/{plan-usage-BO2GsKlN.d.ts.map → plan-usage-CFwV688o.d.ts.map} +1 -1
- package/dist/{products-D4o8A2W0.d.ts → products-DzedG6oU.d.ts} +16 -16
- package/dist/{products-D4o8A2W0.d.ts.map → products-DzedG6oU.d.ts.map} +1 -1
- package/dist/{project-api-keys--7V5X_UW.d.ts → project-api-keys-Di2ENRam.d.ts} +3 -3
- package/dist/{project-api-keys--7V5X_UW.d.ts.map → project-api-keys-Di2ENRam.d.ts.map} +1 -1
- package/dist/{projects-CFTNXRfG.d.ts → projects-W2I5ueag.d.ts} +114 -114
- package/dist/{projects-CFTNXRfG.d.ts.map → projects-W2I5ueag.d.ts.map} +1 -1
- package/dist/{schema-CLmaZetm.d.ts → schema-BXM8B2V2.d.ts} +56 -56
- package/dist/{schema-CLmaZetm.d.ts.map → schema-BXM8B2V2.d.ts.map} +1 -1
- package/dist/{schema-fields-DZtDQEEO.d.ts → schema-fields-DhryPaD4.d.ts} +3 -3
- package/dist/{schema-fields-DZtDQEEO.d.ts.map → schema-fields-DhryPaD4.d.ts.map} +1 -1
- package/dist/schema-fields.d.ts +1 -1
- package/dist/{server-interface-BjY-eS4Q.d.ts → server-interface--aZDYxx4.d.ts} +8 -8
- package/dist/{server-interface-BjY-eS4Q.d.ts.map → server-interface--aZDYxx4.d.ts.map} +1 -1
- package/dist/{sessions-CI-0TBQb.d.ts → sessions-CKNkS48M.d.ts} +9 -9
- package/dist/{sessions-CI-0TBQb.d.ts.map → sessions-CKNkS48M.d.ts.map} +1 -1
- package/dist/sessions.d.ts +1 -1
- package/dist/{team-member-profiles-BoDEqx-0.d.ts → team-member-profiles-BhcD2OP5.d.ts} +25 -25
- package/dist/{team-member-profiles-BoDEqx-0.d.ts.map → team-member-profiles-BhcD2OP5.d.ts.map} +1 -1
- package/dist/{transactions-CHNUJ42J.d.ts → transactions-icyjJzs-.d.ts} +21 -21
- package/dist/transactions-icyjJzs-.d.ts.map +1 -0
- package/dist/{users-DHNRwoSz.d.ts → users-DMNuqLTW.d.ts} +7 -7
- package/dist/{users-DHNRwoSz.d.ts.map → users-DMNuqLTW.d.ts.map} +1 -1
- package/dist/utils/promises.js +1 -1
- package/package.json +1 -1
- package/src/ai/hexclave-ask.test.ts +50 -0
- package/src/ai/hexclave-ask.ts +175 -0
- package/src/ai/unified-prompts/reminders.ts +3 -3
- package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +1 -1
- package/src/ai/unified-prompts/skill-site-prompt.ts +2 -2
- package/dist/transactions-CHNUJ42J.d.ts.map +0 -1
|
@@ -19,10 +19,6 @@ declare const teamMemberProfilesCrudServerReadSchema: import("yup").ObjectSchema
|
|
|
19
19
|
profile_image_url: string | null;
|
|
20
20
|
} & {
|
|
21
21
|
user: {
|
|
22
|
-
restricted_reason: {
|
|
23
|
-
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
24
|
-
} | null;
|
|
25
|
-
primary_email: string | null;
|
|
26
22
|
display_name: string | null;
|
|
27
23
|
client_metadata: {} | null;
|
|
28
24
|
client_read_only_metadata: {} | null;
|
|
@@ -31,11 +27,17 @@ declare const teamMemberProfilesCrudServerReadSchema: import("yup").ObjectSchema
|
|
|
31
27
|
selected_team_id: string | null;
|
|
32
28
|
is_anonymous: boolean;
|
|
33
29
|
is_restricted: boolean;
|
|
30
|
+
restricted_reason: {
|
|
31
|
+
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
32
|
+
} | null;
|
|
34
33
|
requires_totp_mfa: boolean;
|
|
35
|
-
|
|
34
|
+
primary_email: string | null;
|
|
35
|
+
oauth_providers: {
|
|
36
|
+
email?: string | null | undefined;
|
|
37
|
+
id: string;
|
|
38
|
+
account_id: string;
|
|
39
|
+
}[];
|
|
36
40
|
profile_image_url: string | null;
|
|
37
|
-
signed_up_at_millis: number;
|
|
38
|
-
last_active_at_millis: number;
|
|
39
41
|
primary_email_verified: boolean;
|
|
40
42
|
primary_email_auth_enabled: boolean;
|
|
41
43
|
selected_team: {
|
|
@@ -47,23 +49,21 @@ declare const teamMemberProfilesCrudServerReadSchema: import("yup").ObjectSchema
|
|
|
47
49
|
created_at_millis: number;
|
|
48
50
|
profile_image_url: string | null;
|
|
49
51
|
} | null;
|
|
52
|
+
signed_up_at_millis: number;
|
|
50
53
|
has_password: boolean;
|
|
51
54
|
otp_auth_enabled: boolean;
|
|
52
55
|
passkey_auth_enabled: boolean;
|
|
56
|
+
last_active_at_millis: number;
|
|
53
57
|
restricted_by_admin: boolean;
|
|
54
58
|
restricted_by_admin_reason: string | null;
|
|
55
59
|
restricted_by_admin_private_details: string | null;
|
|
60
|
+
country_code: string | null;
|
|
56
61
|
risk_scores: {
|
|
57
62
|
sign_up: {
|
|
58
63
|
bot: number;
|
|
59
64
|
free_trial_abuse: number;
|
|
60
65
|
};
|
|
61
66
|
};
|
|
62
|
-
oauth_providers: {
|
|
63
|
-
email?: string | null | undefined;
|
|
64
|
-
id: string;
|
|
65
|
-
account_id: string;
|
|
66
|
-
}[];
|
|
67
67
|
auth_with_email: boolean;
|
|
68
68
|
};
|
|
69
69
|
}, import("yup").AnyObject, {
|
|
@@ -142,10 +142,6 @@ declare const teamMemberProfilesCrud: import("../../crud").CrudSchemaFromOptions
|
|
|
142
142
|
profile_image_url: string | null;
|
|
143
143
|
} & {
|
|
144
144
|
user: {
|
|
145
|
-
restricted_reason: {
|
|
146
|
-
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
147
|
-
} | null;
|
|
148
|
-
primary_email: string | null;
|
|
149
145
|
display_name: string | null;
|
|
150
146
|
client_metadata: {} | null;
|
|
151
147
|
client_read_only_metadata: {} | null;
|
|
@@ -154,11 +150,17 @@ declare const teamMemberProfilesCrud: import("../../crud").CrudSchemaFromOptions
|
|
|
154
150
|
selected_team_id: string | null;
|
|
155
151
|
is_anonymous: boolean;
|
|
156
152
|
is_restricted: boolean;
|
|
153
|
+
restricted_reason: {
|
|
154
|
+
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
155
|
+
} | null;
|
|
157
156
|
requires_totp_mfa: boolean;
|
|
158
|
-
|
|
157
|
+
primary_email: string | null;
|
|
158
|
+
oauth_providers: {
|
|
159
|
+
email?: string | null | undefined;
|
|
160
|
+
id: string;
|
|
161
|
+
account_id: string;
|
|
162
|
+
}[];
|
|
159
163
|
profile_image_url: string | null;
|
|
160
|
-
signed_up_at_millis: number;
|
|
161
|
-
last_active_at_millis: number;
|
|
162
164
|
primary_email_verified: boolean;
|
|
163
165
|
primary_email_auth_enabled: boolean;
|
|
164
166
|
selected_team: {
|
|
@@ -170,23 +172,21 @@ declare const teamMemberProfilesCrud: import("../../crud").CrudSchemaFromOptions
|
|
|
170
172
|
created_at_millis: number;
|
|
171
173
|
profile_image_url: string | null;
|
|
172
174
|
} | null;
|
|
175
|
+
signed_up_at_millis: number;
|
|
173
176
|
has_password: boolean;
|
|
174
177
|
otp_auth_enabled: boolean;
|
|
175
178
|
passkey_auth_enabled: boolean;
|
|
179
|
+
last_active_at_millis: number;
|
|
176
180
|
restricted_by_admin: boolean;
|
|
177
181
|
restricted_by_admin_reason: string | null;
|
|
178
182
|
restricted_by_admin_private_details: string | null;
|
|
183
|
+
country_code: string | null;
|
|
179
184
|
risk_scores: {
|
|
180
185
|
sign_up: {
|
|
181
186
|
bot: number;
|
|
182
187
|
free_trial_abuse: number;
|
|
183
188
|
};
|
|
184
189
|
};
|
|
185
|
-
oauth_providers: {
|
|
186
|
-
email?: string | null | undefined;
|
|
187
|
-
id: string;
|
|
188
|
-
account_id: string;
|
|
189
|
-
}[];
|
|
190
190
|
auth_with_email: boolean;
|
|
191
191
|
};
|
|
192
192
|
}, import("yup").AnyObject, {
|
|
@@ -3,8 +3,8 @@ import { InferType } from "yup";
|
|
|
3
3
|
//#region src/interface/crud/transactions.d.ts
|
|
4
4
|
declare const transactionEntrySchema: import("yup").MixedSchema<{
|
|
5
5
|
type: "money_transfer";
|
|
6
|
-
customer_id: string;
|
|
7
6
|
customer_type: "team" | "user" | "custom";
|
|
7
|
+
customer_id: string;
|
|
8
8
|
charged_amount: {
|
|
9
9
|
USD?: string | undefined;
|
|
10
10
|
EUR?: string | undefined;
|
|
@@ -21,27 +21,21 @@ declare const transactionEntrySchema: import("yup").MixedSchema<{
|
|
|
21
21
|
adjusted_entry_index: number | null;
|
|
22
22
|
} | {
|
|
23
23
|
type: "item_quantity_change";
|
|
24
|
-
item_id: string;
|
|
25
|
-
customer_id: string;
|
|
26
24
|
quantity: number;
|
|
27
25
|
customer_type: "team" | "user" | "custom";
|
|
26
|
+
item_id: string;
|
|
27
|
+
customer_id: string;
|
|
28
28
|
adjusted_transaction_id: string | null;
|
|
29
29
|
adjusted_entry_index: number | null;
|
|
30
30
|
} | {
|
|
31
31
|
one_time_purchase_id?: string | undefined;
|
|
32
32
|
subscription_id?: string | undefined;
|
|
33
33
|
type: "product_grant";
|
|
34
|
-
customer_id: string;
|
|
35
|
-
product_id: string | null;
|
|
36
|
-
quantity: number;
|
|
37
|
-
customer_type: "team" | "user" | "custom";
|
|
38
34
|
product: {
|
|
39
35
|
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
40
36
|
client_metadata?: {} | null | undefined;
|
|
41
37
|
client_read_only_metadata?: {} | null | undefined;
|
|
42
38
|
server_metadata?: {} | null | undefined;
|
|
43
|
-
server_only: boolean;
|
|
44
|
-
customer_type: "team" | "user" | "custom";
|
|
45
39
|
stackable: boolean;
|
|
46
40
|
prices: Record<string, {
|
|
47
41
|
USD?: string | undefined;
|
|
@@ -55,12 +49,18 @@ declare const transactionEntrySchema: import("yup").MixedSchema<{
|
|
|
55
49
|
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
56
50
|
}>;
|
|
57
51
|
display_name: string;
|
|
52
|
+
customer_type: "team" | "user" | "custom";
|
|
53
|
+
server_only: boolean;
|
|
58
54
|
included_items: Record<string, {
|
|
59
|
-
quantity?: number | undefined;
|
|
60
55
|
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
56
|
+
quantity?: number | undefined;
|
|
61
57
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
62
58
|
}>;
|
|
63
59
|
};
|
|
60
|
+
quantity: number;
|
|
61
|
+
customer_type: "team" | "user" | "custom";
|
|
62
|
+
customer_id: string;
|
|
63
|
+
product_id: string | null;
|
|
64
64
|
adjusted_transaction_id: string | null;
|
|
65
65
|
adjusted_entry_index: number | null;
|
|
66
66
|
price_id: string | null;
|
|
@@ -87,8 +87,8 @@ declare const transactionSchema: import("yup").ObjectSchema<{
|
|
|
87
87
|
customer_id: string;
|
|
88
88
|
entries: ({
|
|
89
89
|
type: "money_transfer";
|
|
90
|
-
customer_id: string;
|
|
91
90
|
customer_type: "team" | "user" | "custom";
|
|
91
|
+
customer_id: string;
|
|
92
92
|
charged_amount: {
|
|
93
93
|
USD?: string | undefined;
|
|
94
94
|
EUR?: string | undefined;
|
|
@@ -105,27 +105,21 @@ declare const transactionSchema: import("yup").ObjectSchema<{
|
|
|
105
105
|
adjusted_entry_index: number | null;
|
|
106
106
|
} | {
|
|
107
107
|
type: "item_quantity_change";
|
|
108
|
-
item_id: string;
|
|
109
|
-
customer_id: string;
|
|
110
108
|
quantity: number;
|
|
111
109
|
customer_type: "team" | "user" | "custom";
|
|
110
|
+
item_id: string;
|
|
111
|
+
customer_id: string;
|
|
112
112
|
adjusted_transaction_id: string | null;
|
|
113
113
|
adjusted_entry_index: number | null;
|
|
114
114
|
} | {
|
|
115
115
|
one_time_purchase_id?: string | undefined;
|
|
116
116
|
subscription_id?: string | undefined;
|
|
117
117
|
type: "product_grant";
|
|
118
|
-
customer_id: string;
|
|
119
|
-
product_id: string | null;
|
|
120
|
-
quantity: number;
|
|
121
|
-
customer_type: "team" | "user" | "custom";
|
|
122
118
|
product: {
|
|
123
119
|
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
124
120
|
client_metadata?: {} | null | undefined;
|
|
125
121
|
client_read_only_metadata?: {} | null | undefined;
|
|
126
122
|
server_metadata?: {} | null | undefined;
|
|
127
|
-
server_only: boolean;
|
|
128
|
-
customer_type: "team" | "user" | "custom";
|
|
129
123
|
stackable: boolean;
|
|
130
124
|
prices: Record<string, {
|
|
131
125
|
USD?: string | undefined;
|
|
@@ -139,12 +133,18 @@ declare const transactionSchema: import("yup").ObjectSchema<{
|
|
|
139
133
|
free_trial?: import("../../utils/dates").DayInterval | undefined;
|
|
140
134
|
}>;
|
|
141
135
|
display_name: string;
|
|
136
|
+
customer_type: "team" | "user" | "custom";
|
|
137
|
+
server_only: boolean;
|
|
142
138
|
included_items: Record<string, {
|
|
143
|
-
quantity?: number | undefined;
|
|
144
139
|
repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
|
|
140
|
+
quantity?: number | undefined;
|
|
145
141
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
146
142
|
}>;
|
|
147
143
|
};
|
|
144
|
+
quantity: number;
|
|
145
|
+
customer_type: "team" | "user" | "custom";
|
|
146
|
+
customer_id: string;
|
|
147
|
+
product_id: string | null;
|
|
148
148
|
adjusted_transaction_id: string | null;
|
|
149
149
|
adjusted_entry_index: number | null;
|
|
150
150
|
price_id: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../../src/interface/crud/transactions.ts"],"mappings":";;;cAwFa,sBAAA,gBAAsB,WAAA
|
|
1
|
+
{"version":3,"file":"transactions.d.ts","names":[],"sources":["../../../../src/interface/crud/transactions.ts"],"mappings":";;;cAwFa,sBAAA,gBAAsB,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAMxB,MAAA;;;;;;;;;;;;;;oBAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;KAEC,gBAAA,GAAmB,SAAS,QAAQ,sBAAA;AAAA,cAEnC,iBAAA;AAAA,KAUD,eAAA,WAA0B,iBAAiB;AAAA,cAE1C,iBAAA,gBAAiB,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBlB,MAAA;;;;;;;;;;;;;;sBAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEA,WAAA,GAAc,SAAS,QAAQ,iBAAA"}
|
|
@@ -162,14 +162,13 @@ declare const usersCrudServerReadSchema: yup$1.ObjectSchema<{
|
|
|
162
162
|
requires_totp_mfa: undefined;
|
|
163
163
|
}, "">;
|
|
164
164
|
declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
165
|
-
primary_email: string | null | undefined;
|
|
166
165
|
display_name: string | null | undefined;
|
|
167
166
|
client_metadata: {} | null | undefined;
|
|
168
167
|
client_read_only_metadata: {} | null | undefined;
|
|
169
168
|
server_metadata: {} | null | undefined;
|
|
170
169
|
is_anonymous: boolean | undefined;
|
|
170
|
+
primary_email: string | null | undefined;
|
|
171
171
|
password: string | null | undefined;
|
|
172
|
-
country_code: string | null | undefined;
|
|
173
172
|
profile_image_url: string | null | undefined;
|
|
174
173
|
primary_email_verified: boolean | undefined;
|
|
175
174
|
primary_email_auth_enabled: boolean | undefined;
|
|
@@ -178,6 +177,7 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
|
178
177
|
restricted_by_admin: boolean | undefined;
|
|
179
178
|
restricted_by_admin_reason: string | null | undefined;
|
|
180
179
|
restricted_by_admin_private_details: string | null | undefined;
|
|
180
|
+
country_code: string | null | undefined;
|
|
181
181
|
risk_scores: {
|
|
182
182
|
sign_up: {
|
|
183
183
|
bot: number;
|
|
@@ -188,8 +188,8 @@ declare const usersCrudServerCreateSchema: yup$1.ObjectSchema<{
|
|
|
188
188
|
totp_secret_base64: string | null | undefined;
|
|
189
189
|
} & {
|
|
190
190
|
oauth_providers: {
|
|
191
|
-
email: string | null;
|
|
192
191
|
id: string;
|
|
192
|
+
email: string | null;
|
|
193
193
|
account_id: string;
|
|
194
194
|
}[] | undefined;
|
|
195
195
|
is_anonymous: boolean | undefined;
|
|
@@ -368,14 +368,13 @@ declare const usersCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
368
368
|
};
|
|
369
369
|
}, "">;
|
|
370
370
|
serverCreateSchema: yup$1.ObjectSchema<{
|
|
371
|
-
primary_email: string | null | undefined;
|
|
372
371
|
display_name: string | null | undefined;
|
|
373
372
|
client_metadata: {} | null | undefined;
|
|
374
373
|
client_read_only_metadata: {} | null | undefined;
|
|
375
374
|
server_metadata: {} | null | undefined;
|
|
376
375
|
is_anonymous: boolean | undefined;
|
|
376
|
+
primary_email: string | null | undefined;
|
|
377
377
|
password: string | null | undefined;
|
|
378
|
-
country_code: string | null | undefined;
|
|
379
378
|
profile_image_url: string | null | undefined;
|
|
380
379
|
primary_email_verified: boolean | undefined;
|
|
381
380
|
primary_email_auth_enabled: boolean | undefined;
|
|
@@ -384,6 +383,7 @@ declare const usersCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
384
383
|
restricted_by_admin: boolean | undefined;
|
|
385
384
|
restricted_by_admin_reason: string | null | undefined;
|
|
386
385
|
restricted_by_admin_private_details: string | null | undefined;
|
|
386
|
+
country_code: string | null | undefined;
|
|
387
387
|
risk_scores: {
|
|
388
388
|
sign_up: {
|
|
389
389
|
bot: number;
|
|
@@ -394,8 +394,8 @@ declare const usersCrud: import("../../crud").CrudSchemaFromOptions<{
|
|
|
394
394
|
totp_secret_base64: string | null | undefined;
|
|
395
395
|
} & {
|
|
396
396
|
oauth_providers: {
|
|
397
|
-
email: string | null;
|
|
398
397
|
id: string;
|
|
398
|
+
email: string | null;
|
|
399
399
|
account_id: string;
|
|
400
400
|
}[] | undefined;
|
|
401
401
|
is_anonymous: boolean | undefined;
|
|
@@ -31,8 +31,8 @@ declare const planUsageResponseSchema: yup$1.ObjectSchema<{
|
|
|
31
31
|
next_plan_id: "team" | "growth" | null;
|
|
32
32
|
are_plan_limits_enforced: boolean;
|
|
33
33
|
rows: {
|
|
34
|
-
item_id: "dashboard_admins" | "auth_users" | "emails_per_month" | "analytics_timeout_seconds" | "analytics_events" | "session_replays" | "onboarding_call";
|
|
35
34
|
display_name: string;
|
|
35
|
+
item_id: "dashboard_admins" | "auth_users" | "emails_per_month" | "analytics_timeout_seconds" | "analytics_events" | "session_replays" | "onboarding_call";
|
|
36
36
|
kind: "current" | "metered" | "capability";
|
|
37
37
|
used: number | null;
|
|
38
38
|
limit: number | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { HexclaveAssertionError } from "../utils/errors.js";
|
|
2
|
-
import { urlString } from "../utils/urls.js";
|
|
3
2
|
import { filterUndefined } from "../utils/objects.js";
|
|
4
3
|
import { Result } from "../utils/results.js";
|
|
5
4
|
import { KnownErrors } from "../known-errors.js";
|
|
5
|
+
import { urlString } from "../utils/urls.js";
|
|
6
6
|
import { InternalSession } from "../sessions.js";
|
|
7
7
|
import { HexclaveClientInterface } from "./client-interface.js";
|
|
8
8
|
import { decryptValue, encryptValue, hashKey } from "../helpers/vault/client-side.js";
|
|
@@ -518,7 +518,7 @@ declare const KnownErrors: {
|
|
|
518
518
|
CustomerDoesNotExist: KnownErrorConstructor<KnownError & KnownErrorBrand<"CUSTOMER_DOES_NOT_EXIST">, [customerId: string]> & {
|
|
519
519
|
errorCode: "CUSTOMER_DOES_NOT_EXIST";
|
|
520
520
|
};
|
|
521
|
-
ProductDoesNotExist: KnownErrorConstructor<KnownError & KnownErrorBrand<"PRODUCT_DOES_NOT_EXIST">, [productId: string, context: "
|
|
521
|
+
ProductDoesNotExist: KnownErrorConstructor<KnownError & KnownErrorBrand<"PRODUCT_DOES_NOT_EXIST">, [productId: string, context: "server_only" | "item_exists" | null]> & {
|
|
522
522
|
errorCode: "PRODUCT_DOES_NOT_EXIST";
|
|
523
523
|
};
|
|
524
524
|
ProductCustomerTypeDoesNotMatch: KnownErrorConstructor<KnownError & KnownErrorBrand<"PRODUCT_CUSTOMER_TYPE_DOES_NOT_MATCH">, [productId: string | undefined, customerId: string, productCustomerType: "team" | "user" | "custom" | undefined, actualCustomerType: "team" | "user" | "custom"]> & {
|
|
@@ -314,8 +314,8 @@ declare const inlineProductSchema: yup$1.ObjectSchema<{
|
|
|
314
314
|
free_trial?: DayInterval | undefined;
|
|
315
315
|
}>;
|
|
316
316
|
included_items: Record<string, {
|
|
317
|
-
quantity?: number | undefined;
|
|
318
317
|
repeat?: "never" | DayInterval | undefined;
|
|
318
|
+
quantity?: number | undefined;
|
|
319
319
|
expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
|
|
320
320
|
}>;
|
|
321
321
|
client_metadata: {} | null | undefined;
|
|
@@ -491,7 +491,7 @@ declare const branchConfigSourceSchema: yup$1.MixedSchema<{
|
|
|
491
491
|
*/
|
|
492
492
|
declare const configAgentRunSchema: yup$1.ObjectSchema<{
|
|
493
493
|
id: string;
|
|
494
|
-
status: "
|
|
494
|
+
status: "running" | "awaiting_review" | "success" | "no-change" | "error" | "cancelled";
|
|
495
495
|
started_at: number;
|
|
496
496
|
finished_at: number | undefined;
|
|
497
497
|
commit_url: string | undefined;
|
package/dist/esm/sessions.d.ts
CHANGED
|
@@ -9,24 +9,24 @@ declare class AccessToken {
|
|
|
9
9
|
private constructor();
|
|
10
10
|
get payload(): {
|
|
11
11
|
exp?: number | undefined;
|
|
12
|
-
project_id: string;
|
|
13
|
-
refresh_token_id: string;
|
|
14
|
-
email: string | null;
|
|
15
|
-
restricted_reason: {
|
|
16
|
-
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
17
|
-
} | null;
|
|
18
|
-
branch_id: string;
|
|
19
12
|
sub: string;
|
|
20
13
|
iat: number;
|
|
21
14
|
iss: string;
|
|
22
15
|
aud: string;
|
|
16
|
+
project_id: string;
|
|
17
|
+
branch_id: string;
|
|
18
|
+
refresh_token_id: string;
|
|
23
19
|
role: "authenticated";
|
|
24
20
|
name: string | null;
|
|
21
|
+
email: string | null;
|
|
25
22
|
email_verified: boolean;
|
|
26
23
|
selected_team_id: string | null;
|
|
27
24
|
signed_up_at: number;
|
|
28
25
|
is_anonymous: boolean;
|
|
29
26
|
is_restricted: boolean;
|
|
27
|
+
restricted_reason: {
|
|
28
|
+
type: "anonymous" | "email_not_verified" | "restricted_by_administrator";
|
|
29
|
+
} | null;
|
|
30
30
|
requires_totp_mfa: boolean;
|
|
31
31
|
};
|
|
32
32
|
get expiresAt(): Date;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { KnownError } from "../index.js";
|
|
2
1
|
import { HexclaveAssertionError, captureError, concatStacktraces, errorToNiceString } from "./errors.js";
|
|
3
2
|
import { getProcessEnv } from "./env.js";
|
|
4
3
|
import { DependenciesMap } from "./maps.js";
|
|
5
4
|
import { Result } from "./results.js";
|
|
6
5
|
import { traceSpan } from "./telemetry.js";
|
|
6
|
+
import { KnownError } from "../index.js";
|
|
7
7
|
import { generateUuid } from "./uuids.js";
|
|
8
8
|
//#region src/utils/promises.tsx
|
|
9
9
|
function createPromise(callback) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as KnownErrors } from "../known-errors-
|
|
1
|
+
import { a as KnownErrors } from "../known-errors-BFf8SVm8.js";
|
|
2
2
|
//#region src/helpers/password.d.ts
|
|
3
3
|
declare function getPasswordError(password: string): KnownErrors["PasswordRequirementsNotMet"] | undefined;
|
|
4
4
|
//#endregion
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as KnownErrors, n as KnownError } from "./known-errors-
|
|
2
|
-
import { n as HexclaveClientInterface } from "./client-interface-
|
|
3
|
-
import { t as HexclaveServerInterface } from "./server-interface
|
|
4
|
-
import { r as HexclaveAdminInterface } from "./admin-interface-
|
|
1
|
+
import { a as KnownErrors, n as KnownError } from "./known-errors-BFf8SVm8.js";
|
|
2
|
+
import { n as HexclaveClientInterface } from "./client-interface-BQakINAH.js";
|
|
3
|
+
import { t as HexclaveServerInterface } from "./server-interface--aZDYxx4.js";
|
|
4
|
+
import { r as HexclaveAdminInterface } from "./admin-interface-sca4FCAt.js";
|
|
5
5
|
export { HexclaveAdminInterface, HexclaveClientInterface, HexclaveServerInterface, KnownError, KnownErrors };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as PlanUsageResponse } from "../plan-usage-
|
|
2
|
-
import { a as InternalApiKeyCreateCrudResponse, i as InternalApiKeyCreateCrudRequest, n as ChatContent, r as HexclaveAdminInterface, t as AdminAuthApplicationOptions } from "../admin-interface-
|
|
1
|
+
import { n as PlanUsageResponse } from "../plan-usage-CFwV688o.js";
|
|
2
|
+
import { a as InternalApiKeyCreateCrudResponse, i as InternalApiKeyCreateCrudRequest, n as ChatContent, r as HexclaveAdminInterface, t as AdminAuthApplicationOptions } from "../admin-interface-sca4FCAt.js";
|
|
3
3
|
export { AdminAuthApplicationOptions, ChatContent, HexclaveAdminInterface, InternalApiKeyCreateCrudRequest, InternalApiKeyCreateCrudResponse, type PlanUsageResponse };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
let ___utils_urls_js = require("../utils/urls.js");
|
|
3
2
|
let ___utils_results_js = require("../utils/results.js");
|
|
4
3
|
let ___known_errors_js = require("../known-errors.js");
|
|
4
|
+
let ___utils_urls_js = require("../utils/urls.js");
|
|
5
5
|
let __server_interface_js = require("./server-interface.js");
|
|
6
6
|
//#region src/interface/admin-interface.ts
|
|
7
7
|
var HexclaveAdminInterface = class extends __server_interface_js.HexclaveServerInterface {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as MetricsNamedCount, B as MetricsTopCountry, C as MetricsDataPoint, D as MetricsEmailOverviewSchema, E as MetricsEmailOverview, F as MetricsRecentEmailSchema, G as MetricsTopRegionSchema, H as MetricsTopReferrer, I as MetricsRecentUser, J as UserActivityResponse, K as MetricsUserCounts, L as MetricsRecentUserSchema, M as MetricsPaymentsOverview, N as MetricsPaymentsOverviewSchema, O as MetricsLoginMethodEntry, P as MetricsRecentEmail, R as MetricsResponse, S as MetricsDailyRevenuePointSchema, T as MetricsDataPointsSchema, U as MetricsTopReferrerSchema, V as MetricsTopCountrySchema, W as MetricsTopRegion, Y as UserActivityResponseBodySchema, _ as MetricsAuthOverview, a as AnalyticsClickmapKind, b as MetricsDailyEmailStatusBreakdownSchema, c as AnalyticsClickmapResponse, d as AnalyticsClickmapTokenResponseBodySchema, f as MetricsActiveUsersByCountrySchema, g as MetricsAnalyticsOverviewSchema, h as MetricsAnalyticsOverview, i as AnalyticsClickmapDeviceSchema, j as MetricsNamedCountSchema, k as MetricsLoginMethodEntrySchema, l as AnalyticsClickmapResponseBodySchema, m as MetricsActivitySplitSchema, n as AnalyticsClickmapCellSchema, o as AnalyticsClickmapKindSchema, p as MetricsActivitySplit, q as MetricsUserCountsSchema, r as AnalyticsClickmapDevice, s as AnalyticsClickmapOptions, t as AnalyticsClickmapCell, u as AnalyticsClickmapTokenResponse, v as MetricsAuthOverviewSchema, w as MetricsDataPointSchema, x as MetricsDailyRevenuePoint, y as MetricsDailyEmailStatusBreakdown, z as MetricsResponseBodySchema } from "../admin-metrics-
|
|
1
|
+
import { A as MetricsNamedCount, B as MetricsTopCountry, C as MetricsDataPoint, D as MetricsEmailOverviewSchema, E as MetricsEmailOverview, F as MetricsRecentEmailSchema, G as MetricsTopRegionSchema, H as MetricsTopReferrer, I as MetricsRecentUser, J as UserActivityResponse, K as MetricsUserCounts, L as MetricsRecentUserSchema, M as MetricsPaymentsOverview, N as MetricsPaymentsOverviewSchema, O as MetricsLoginMethodEntry, P as MetricsRecentEmail, R as MetricsResponse, S as MetricsDailyRevenuePointSchema, T as MetricsDataPointsSchema, U as MetricsTopReferrerSchema, V as MetricsTopCountrySchema, W as MetricsTopRegion, Y as UserActivityResponseBodySchema, _ as MetricsAuthOverview, a as AnalyticsClickmapKind, b as MetricsDailyEmailStatusBreakdownSchema, c as AnalyticsClickmapResponse, d as AnalyticsClickmapTokenResponseBodySchema, f as MetricsActiveUsersByCountrySchema, g as MetricsAnalyticsOverviewSchema, h as MetricsAnalyticsOverview, i as AnalyticsClickmapDeviceSchema, j as MetricsNamedCountSchema, k as MetricsLoginMethodEntrySchema, l as AnalyticsClickmapResponseBodySchema, m as MetricsActivitySplitSchema, n as AnalyticsClickmapCellSchema, o as AnalyticsClickmapKindSchema, p as MetricsActivitySplit, q as MetricsUserCountsSchema, r as AnalyticsClickmapDevice, s as AnalyticsClickmapOptions, t as AnalyticsClickmapCell, u as AnalyticsClickmapTokenResponse, v as MetricsAuthOverviewSchema, w as MetricsDataPointSchema, x as MetricsDailyRevenuePoint, y as MetricsDailyEmailStatusBreakdown, z as MetricsResponseBodySchema } from "../admin-metrics-BTgqWZXI.js";
|
|
2
2
|
export { AnalyticsClickmapCell, AnalyticsClickmapCellSchema, AnalyticsClickmapDevice, AnalyticsClickmapDeviceSchema, AnalyticsClickmapKind, AnalyticsClickmapKindSchema, AnalyticsClickmapOptions, AnalyticsClickmapResponse, AnalyticsClickmapResponseBodySchema, AnalyticsClickmapTokenResponse, AnalyticsClickmapTokenResponseBodySchema, MetricsActiveUsersByCountrySchema, MetricsActivitySplit, MetricsActivitySplitSchema, MetricsAnalyticsOverview, MetricsAnalyticsOverviewSchema, MetricsAuthOverview, MetricsAuthOverviewSchema, MetricsDailyEmailStatusBreakdown, MetricsDailyEmailStatusBreakdownSchema, MetricsDailyRevenuePoint, MetricsDailyRevenuePointSchema, MetricsDataPoint, MetricsDataPointSchema, MetricsDataPointsSchema, MetricsEmailOverview, MetricsEmailOverviewSchema, MetricsLoginMethodEntry, MetricsLoginMethodEntrySchema, MetricsNamedCount, MetricsNamedCountSchema, MetricsPaymentsOverview, MetricsPaymentsOverviewSchema, MetricsRecentEmail, MetricsRecentEmailSchema, MetricsRecentUser, MetricsRecentUserSchema, MetricsResponse, MetricsResponseBodySchema, MetricsTopCountry, MetricsTopCountrySchema, MetricsTopReferrer, MetricsTopReferrerSchema, MetricsTopRegion, MetricsTopRegionSchema, MetricsUserCounts, MetricsUserCountsSchema, UserActivityResponse, UserActivityResponseBodySchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as RequestLogEntry, n as HexclaveClientInterface, r as RequestListener, t as ClientInterfaceOptions } from "../client-interface-
|
|
1
|
+
import { i as RequestLogEntry, n as HexclaveClientInterface, r as RequestListener, t as ClientInterfaceOptions } from "../client-interface-BQakINAH.js";
|
|
2
2
|
export { ClientInterfaceOptions, HexclaveClientInterface, RequestListener, RequestLogEntry };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
let ___utils_strings_js = require("../utils/strings.js");
|
|
3
2
|
let ___utils_errors_js = require("../utils/errors.js");
|
|
4
|
-
let ___utils_urls_js = require("../utils/urls.js");
|
|
5
3
|
let ___utils_objects_js = require("../utils/objects.js");
|
|
4
|
+
let ___utils_strings_js = require("../utils/strings.js");
|
|
6
5
|
let ___utils_oauth_js = require("../utils/oauth.js");
|
|
7
6
|
let ___utils_results_js = require("../utils/results.js");
|
|
8
7
|
let ___known_errors_js = require("../known-errors.js");
|
|
8
|
+
let ___utils_urls_js = require("../utils/urls.js");
|
|
9
9
|
let ___sessions_js = require("../sessions.js");
|
|
10
10
|
let ___utils_crypto_js = require("../utils/crypto.js");
|
|
11
11
|
let ___utils_globals_js = require("../utils/globals.js");
|
|
@@ -56,9 +56,9 @@ declare const conversationSummarySchema: yup$1.ObjectSchema<{
|
|
|
56
56
|
preview: string | null;
|
|
57
57
|
lastActivityAt: string;
|
|
58
58
|
metadata: {
|
|
59
|
+
tags: string[];
|
|
59
60
|
assignedToUserId: string | null;
|
|
60
61
|
assignedToDisplayName: string | null;
|
|
61
|
-
tags: string[];
|
|
62
62
|
firstResponseDueAt: string | null;
|
|
63
63
|
firstResponseAt: string | null;
|
|
64
64
|
nextResponseDueAt: string | null;
|
|
@@ -174,28 +174,28 @@ declare const conversationListResponseSchema: yup$1.ObjectSchema<{
|
|
|
174
174
|
closedAt?: string | null | undefined;
|
|
175
175
|
recordMetadata?: {} | null | undefined;
|
|
176
176
|
status: "open" | "pending" | "closed";
|
|
177
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
178
177
|
subject: string;
|
|
179
|
-
conversationId: string;
|
|
180
|
-
userId: string | null;
|
|
181
|
-
teamId: string | null;
|
|
182
|
-
userDisplayName: string | null;
|
|
183
|
-
userPrimaryEmail: string | null;
|
|
184
|
-
userProfileImageUrl: string | null;
|
|
185
|
-
source: "email" | "manual" | "chat" | "api";
|
|
186
|
-
lastMessageType: "message" | "internal-note" | "status-change";
|
|
187
|
-
preview: string | null;
|
|
188
|
-
lastActivityAt: string;
|
|
189
178
|
metadata: {
|
|
179
|
+
tags: string[];
|
|
190
180
|
assignedToUserId: string | null;
|
|
191
181
|
assignedToDisplayName: string | null;
|
|
192
|
-
tags: string[];
|
|
193
182
|
firstResponseDueAt: string | null;
|
|
194
183
|
firstResponseAt: string | null;
|
|
195
184
|
nextResponseDueAt: string | null;
|
|
196
185
|
lastCustomerReplyAt: string | null;
|
|
197
186
|
lastAgentReplyAt: string | null;
|
|
198
187
|
};
|
|
188
|
+
source: "email" | "manual" | "chat" | "api";
|
|
189
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
190
|
+
conversationId: string;
|
|
191
|
+
userId: string | null;
|
|
192
|
+
teamId: string | null;
|
|
193
|
+
userDisplayName: string | null;
|
|
194
|
+
userPrimaryEmail: string | null;
|
|
195
|
+
userProfileImageUrl: string | null;
|
|
196
|
+
lastMessageType: "message" | "internal-note" | "status-change";
|
|
197
|
+
preview: string | null;
|
|
198
|
+
lastActivityAt: string;
|
|
199
199
|
}[];
|
|
200
200
|
hasMore: boolean;
|
|
201
201
|
}, yup$1.AnyObject, {
|
|
@@ -212,42 +212,42 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
|
|
|
212
212
|
closedAt?: string | null | undefined;
|
|
213
213
|
recordMetadata?: {} | null | undefined;
|
|
214
214
|
status: "open" | "pending" | "closed";
|
|
215
|
-
priority: "low" | "normal" | "high" | "urgent";
|
|
216
215
|
subject: string;
|
|
217
|
-
conversationId: string;
|
|
218
|
-
userId: string | null;
|
|
219
|
-
teamId: string | null;
|
|
220
|
-
userDisplayName: string | null;
|
|
221
|
-
userPrimaryEmail: string | null;
|
|
222
|
-
userProfileImageUrl: string | null;
|
|
223
|
-
source: "email" | "manual" | "chat" | "api";
|
|
224
|
-
lastMessageType: "message" | "internal-note" | "status-change";
|
|
225
|
-
preview: string | null;
|
|
226
|
-
lastActivityAt: string;
|
|
227
216
|
metadata: {
|
|
217
|
+
tags: string[];
|
|
228
218
|
assignedToUserId: string | null;
|
|
229
219
|
assignedToDisplayName: string | null;
|
|
230
|
-
tags: string[];
|
|
231
220
|
firstResponseDueAt: string | null;
|
|
232
221
|
firstResponseAt: string | null;
|
|
233
222
|
nextResponseDueAt: string | null;
|
|
234
223
|
lastCustomerReplyAt: string | null;
|
|
235
224
|
lastAgentReplyAt: string | null;
|
|
236
225
|
};
|
|
226
|
+
source: "email" | "manual" | "chat" | "api";
|
|
227
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
228
|
+
conversationId: string;
|
|
229
|
+
userId: string | null;
|
|
230
|
+
teamId: string | null;
|
|
231
|
+
userDisplayName: string | null;
|
|
232
|
+
userPrimaryEmail: string | null;
|
|
233
|
+
userProfileImageUrl: string | null;
|
|
234
|
+
lastMessageType: "message" | "internal-note" | "status-change";
|
|
235
|
+
preview: string | null;
|
|
236
|
+
lastActivityAt: string;
|
|
237
237
|
};
|
|
238
238
|
messages: {
|
|
239
|
-
status: "open" | "pending" | "closed";
|
|
240
239
|
id: string;
|
|
241
|
-
|
|
240
|
+
status: "open" | "pending" | "closed";
|
|
242
241
|
subject: string;
|
|
242
|
+
metadata: {} | null;
|
|
243
|
+
body: string | null;
|
|
244
|
+
source: "email" | "manual" | "chat" | "api";
|
|
245
|
+
priority: "low" | "normal" | "high" | "urgent";
|
|
243
246
|
conversationId: string;
|
|
244
247
|
userId: string | null;
|
|
245
248
|
teamId: string | null;
|
|
246
|
-
source: "email" | "manual" | "chat" | "api";
|
|
247
|
-
metadata: {} | null;
|
|
248
249
|
createdAt: string;
|
|
249
250
|
messageType: "message" | "internal-note" | "status-change";
|
|
250
|
-
body: string | null;
|
|
251
251
|
attachments: {}[];
|
|
252
252
|
sender: {
|
|
253
253
|
type: "user" | "agent" | "system";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as currentUserCrud, t as CurrentUserCrud } from "../../current-user-
|
|
1
|
+
import { n as currentUserCrud, t as CurrentUserCrud } from "../../current-user-DosTPiF7.js";
|
|
2
2
|
export { CurrentUserCrud, currentUserCrud };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as emailOutboxUpdateSchema, n as emailOutboxCrud, r as emailOutboxReadSchema, t as EmailOutboxCrud } from "../../email-outbox-
|
|
1
|
+
import { i as emailOutboxUpdateSchema, n as emailOutboxCrud, r as emailOutboxReadSchema, t as EmailOutboxCrud } from "../../email-outbox-C07KfbmL.js";
|
|
2
2
|
export { EmailOutboxCrud, emailOutboxCrud, emailOutboxReadSchema, emailOutboxUpdateSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as customerInvoicesListResponseSchema, i as customerInvoiceReadSchema, n as CustomerInvoicesListResponse, r as ListCustomerInvoicesOptions, t as CustomerInvoiceRead } from "../../invoices-
|
|
1
|
+
import { a as customerInvoicesListResponseSchema, i as customerInvoiceReadSchema, n as CustomerInvoicesListResponse, r as ListCustomerInvoicesOptions, t as CustomerInvoiceRead } from "../../invoices-U65KzAZX.js";
|
|
2
2
|
export { CustomerInvoiceRead, CustomerInvoicesListResponse, ListCustomerInvoicesOptions, customerInvoiceReadSchema, customerInvoicesListResponseSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as customerProductsListResponseSchema, i as customerProductReadSchema, n as CustomerProductsListResponse, r as ListCustomerProductsOptions, t as CustomerProductRead } from "../../products-
|
|
1
|
+
import { a as customerProductsListResponseSchema, i as customerProductReadSchema, n as CustomerProductsListResponse, r as ListCustomerProductsOptions, t as CustomerProductRead } from "../../products-DzedG6oU.js";
|
|
2
2
|
export { CustomerProductRead, CustomerProductsListResponse, ListCustomerProductsOptions, customerProductReadSchema, customerProductsListResponseSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as teamApiKeysCrud, c as userApiKeysCrud, i as teamApiKeysCreateOutputSchema, n as UserApiKeysCrud, o as userApiKeysCreateInputSchema, r as teamApiKeysCreateInputSchema, s as userApiKeysCreateOutputSchema, t as TeamApiKeysCrud } from "../../project-api-keys
|
|
1
|
+
import { a as teamApiKeysCrud, c as userApiKeysCrud, i as teamApiKeysCreateOutputSchema, n as UserApiKeysCrud, o as userApiKeysCreateInputSchema, r as teamApiKeysCreateInputSchema, s as userApiKeysCreateOutputSchema, t as TeamApiKeysCrud } from "../../project-api-keys-Di2ENRam.js";
|
|
2
2
|
export { TeamApiKeysCrud, UserApiKeysCrud, teamApiKeysCreateInputSchema, teamApiKeysCreateOutputSchema, teamApiKeysCrud, userApiKeysCreateInputSchema, userApiKeysCreateOutputSchema, userApiKeysCrud };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as clientProjectsCrud, c as projectsCrud, d as projectsCrudAdminReadSchema, f as projectsCrudAdminUpdateSchema, i as adminUserProjectsCrud, l as projectsCrudAdminCreateSchema, n as ClientProjectsCrud, o as emailConfigSchema, p as projectsCrudClientReadSchema, r as ProjectsCrud, s as emailConfigWithoutPasswordSchema, t as AdminUserProjectsCrud, u as projectsCrudAdminDeleteSchema } from "../../projects-
|
|
1
|
+
import { a as clientProjectsCrud, c as projectsCrud, d as projectsCrudAdminReadSchema, f as projectsCrudAdminUpdateSchema, i as adminUserProjectsCrud, l as projectsCrudAdminCreateSchema, n as ClientProjectsCrud, o as emailConfigSchema, p as projectsCrudClientReadSchema, r as ProjectsCrud, s as emailConfigWithoutPasswordSchema, t as AdminUserProjectsCrud, u as projectsCrudAdminDeleteSchema } from "../../projects-W2I5ueag.js";
|
|
2
2
|
export { AdminUserProjectsCrud, ClientProjectsCrud, ProjectsCrud, adminUserProjectsCrud, clientProjectsCrud, emailConfigSchema, emailConfigWithoutPasswordSchema, projectsCrud, projectsCrudAdminCreateSchema, projectsCrudAdminDeleteSchema, projectsCrudAdminReadSchema, projectsCrudAdminUpdateSchema, projectsCrudClientReadSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as teamMemberProfilesCrudServerReadSchema, i as teamMemberProfilesCrudClientUpdateSchema, n as teamMemberProfilesCrud, r as teamMemberProfilesCrudClientReadSchema, t as TeamMemberProfilesCrud } from "../../team-member-profiles-
|
|
1
|
+
import { a as teamMemberProfilesCrudServerReadSchema, i as teamMemberProfilesCrudClientUpdateSchema, n as teamMemberProfilesCrud, r as teamMemberProfilesCrudClientReadSchema, t as TeamMemberProfilesCrud } from "../../team-member-profiles-BhcD2OP5.js";
|
|
2
2
|
export { TeamMemberProfilesCrud, teamMemberProfilesCrud, teamMemberProfilesCrudClientReadSchema, teamMemberProfilesCrudClientUpdateSchema, teamMemberProfilesCrudServerReadSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as transactionEntrySchema, i as TransactionType, n as Transaction, o as transactionSchema, r as TransactionEntry, t as TRANSACTION_TYPES } from "../../transactions-
|
|
1
|
+
import { a as transactionEntrySchema, i as TransactionType, n as Transaction, o as transactionSchema, r as TransactionEntry, t as TRANSACTION_TYPES } from "../../transactions-icyjJzs-.js";
|
|
2
2
|
export { TRANSACTION_TYPES, Transaction, TransactionEntry, TransactionType, transactionEntrySchema, transactionSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as userCreatedWebhookEvent, c as usersCrud, d as usersCrudServerReadSchema, f as usersCrudServerUpdateSchema, i as signUpRiskScoresSchema, l as usersCrudServerCreateSchema, n as UsersCrud, o as userDeletedWebhookEvent, r as riskScoreFieldSchema, s as userUpdatedWebhookEvent, t as SignUpRiskScoresCrud, u as usersCrudServerDeleteSchema } from "../../users-
|
|
1
|
+
import { a as userCreatedWebhookEvent, c as usersCrud, d as usersCrudServerReadSchema, f as usersCrudServerUpdateSchema, i as signUpRiskScoresSchema, l as usersCrudServerCreateSchema, n as UsersCrud, o as userDeletedWebhookEvent, r as riskScoreFieldSchema, s as userUpdatedWebhookEvent, t as SignUpRiskScoresCrud, u as usersCrudServerDeleteSchema } from "../../users-DMNuqLTW.js";
|
|
2
2
|
export { SignUpRiskScoresCrud, UsersCrud, riskScoreFieldSchema, signUpRiskScoresSchema, userCreatedWebhookEvent, userDeletedWebhookEvent, userUpdatedWebhookEvent, usersCrud, usersCrudServerCreateSchema, usersCrudServerDeleteSchema, usersCrudServerReadSchema, usersCrudServerUpdateSchema };
|