@hexclave/shared 1.0.48 → 1.0.51

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.
Files changed (87) hide show
  1. package/dist/{admin-interface-blbgnrRn.d.ts → admin-interface-CoReEE6d.d.ts} +10 -10
  2. package/dist/{admin-interface-blbgnrRn.d.ts.map → admin-interface-CoReEE6d.d.ts.map} +1 -1
  3. package/dist/{admin-metrics-bsOkw4YQ.d.ts → admin-metrics-mSeJUgs_.d.ts} +11 -11
  4. package/dist/{admin-metrics-bsOkw4YQ.d.ts.map → admin-metrics-mSeJUgs_.d.ts.map} +1 -1
  5. package/dist/ai/unified-prompts/reminders.js +2 -1
  6. package/dist/ai/unified-prompts/reminders.js.map +1 -1
  7. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  8. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +3 -27
  9. package/dist/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  10. package/dist/{client-interface-BQz4jNAC.d.ts → client-interface-Dq3rFlfp.d.ts} +8 -8
  11. package/dist/{client-interface-BQz4jNAC.d.ts.map → client-interface-Dq3rFlfp.d.ts.map} +1 -1
  12. package/dist/config/schema.d.ts +1 -1
  13. package/dist/config-authoring.d.ts +1 -1
  14. package/dist/{current-user-BBoN3hsn.d.ts → current-user-yKG-BuFC.d.ts} +6 -6
  15. package/dist/{current-user-BBoN3hsn.d.ts.map → current-user-yKG-BuFC.d.ts.map} +1 -1
  16. package/dist/{email-outbox-B1wmVPRG.d.ts → email-outbox-szT3xGTQ.d.ts} +95 -95
  17. package/dist/{email-outbox-B1wmVPRG.d.ts.map → email-outbox-szT3xGTQ.d.ts.map} +1 -1
  18. package/dist/esm/ai/unified-prompts/reminders.js +2 -1
  19. package/dist/esm/ai/unified-prompts/reminders.js.map +1 -1
  20. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.d.ts.map +1 -1
  21. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js +3 -27
  22. package/dist/esm/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.js.map +1 -1
  23. package/dist/esm/config/schema.d.ts +2 -2
  24. package/dist/esm/interface/admin-interface.js +1 -1
  25. package/dist/esm/interface/admin-metrics.d.ts +10 -10
  26. package/dist/esm/interface/client-interface.js +1 -1
  27. package/dist/esm/interface/conversations.d.ts +4 -4
  28. package/dist/esm/interface/crud/current-user.d.ts +5 -5
  29. package/dist/esm/interface/crud/email-outbox.d.ts +94 -94
  30. package/dist/esm/interface/crud/products.d.ts +15 -15
  31. package/dist/esm/interface/crud/project-api-keys.d.ts +2 -2
  32. package/dist/esm/interface/crud/team-member-profiles.d.ts +8 -8
  33. package/dist/esm/interface/crud/transactions.d.ts +20 -20
  34. package/dist/esm/interface/crud/transactions.d.ts.map +1 -1
  35. package/dist/esm/interface/crud/users.d.ts +6 -6
  36. package/dist/esm/interface/plan-usage.d.ts +2 -2
  37. package/dist/esm/interface/server-interface.js +1 -1
  38. package/dist/esm/known-errors.d.ts +1 -1
  39. package/dist/esm/schema-fields.d.ts +2 -2
  40. package/dist/esm/sessions.d.ts +7 -7
  41. package/dist/helpers/password.d.ts +1 -1
  42. package/dist/index.d.ts +4 -4
  43. package/dist/interface/admin-interface.d.ts +2 -2
  44. package/dist/interface/admin-interface.js +1 -1
  45. package/dist/interface/admin-metrics.d.ts +1 -1
  46. package/dist/interface/client-interface.d.ts +1 -1
  47. package/dist/interface/client-interface.js +1 -1
  48. package/dist/interface/conversations.d.ts +4 -4
  49. package/dist/interface/crud/current-user.d.ts +1 -1
  50. package/dist/interface/crud/email-outbox.d.ts +1 -1
  51. package/dist/interface/crud/products.d.ts +1 -1
  52. package/dist/interface/crud/project-api-keys.d.ts +1 -1
  53. package/dist/interface/crud/team-member-profiles.d.ts +1 -1
  54. package/dist/interface/crud/transactions.d.ts +1 -1
  55. package/dist/interface/crud/users.d.ts +1 -1
  56. package/dist/interface/plan-usage.d.ts +1 -1
  57. package/dist/interface/server-interface.d.ts +1 -1
  58. package/dist/interface/server-interface.js +1 -1
  59. package/dist/{known-errors-Bm4a61wL.d.ts → known-errors-BFf8SVm8.d.ts} +2 -2
  60. package/dist/{known-errors-Bm4a61wL.d.ts.map → known-errors-BFf8SVm8.d.ts.map} +1 -1
  61. package/dist/known-errors.d.ts +1 -1
  62. package/dist/{plan-usage-BaDxcLZ1.d.ts → plan-usage-CFwV688o.d.ts} +3 -3
  63. package/dist/{plan-usage-BaDxcLZ1.d.ts.map → plan-usage-CFwV688o.d.ts.map} +1 -1
  64. package/dist/{products-D4o8A2W0.d.ts → products-DzedG6oU.d.ts} +16 -16
  65. package/dist/{products-D4o8A2W0.d.ts.map → products-DzedG6oU.d.ts.map} +1 -1
  66. package/dist/{project-api-keys--7V5X_UW.d.ts → project-api-keys-Di2ENRam.d.ts} +3 -3
  67. package/dist/{project-api-keys--7V5X_UW.d.ts.map → project-api-keys-Di2ENRam.d.ts.map} +1 -1
  68. package/dist/{schema-Daq0b_sf.d.ts → schema-Hy94hCXp.d.ts} +3 -3
  69. package/dist/{schema-Daq0b_sf.d.ts.map → schema-Hy94hCXp.d.ts.map} +1 -1
  70. package/dist/{schema-fields-DZtDQEEO.d.ts → schema-fields-DhryPaD4.d.ts} +3 -3
  71. package/dist/{schema-fields-DZtDQEEO.d.ts.map → schema-fields-DhryPaD4.d.ts.map} +1 -1
  72. package/dist/schema-fields.d.ts +1 -1
  73. package/dist/{server-interface-BjY-eS4Q.d.ts → server-interface-CCkVoW9E.d.ts} +8 -8
  74. package/dist/{server-interface-BjY-eS4Q.d.ts.map → server-interface-CCkVoW9E.d.ts.map} +1 -1
  75. package/dist/{sessions-CI-0TBQb.d.ts → sessions-CKNkS48M.d.ts} +9 -9
  76. package/dist/{sessions-CI-0TBQb.d.ts.map → sessions-CKNkS48M.d.ts.map} +1 -1
  77. package/dist/sessions.d.ts +1 -1
  78. package/dist/{team-member-profiles-BoDEqx-0.d.ts → team-member-profiles-jSNAduek.d.ts} +9 -9
  79. package/dist/{team-member-profiles-BoDEqx-0.d.ts.map → team-member-profiles-jSNAduek.d.ts.map} +1 -1
  80. package/dist/{transactions-CHNUJ42J.d.ts → transactions-icyjJzs-.d.ts} +21 -21
  81. package/dist/transactions-icyjJzs-.d.ts.map +1 -0
  82. package/dist/{users-DHNRwoSz.d.ts → users-CCg66YDE.d.ts} +7 -7
  83. package/dist/{users-DHNRwoSz.d.ts.map → users-CCg66YDE.d.ts.map} +1 -1
  84. package/package.json +1 -1
  85. package/src/ai/unified-prompts/reminders.ts +2 -1
  86. package/src/ai/unified-prompts/skill-site-prompt-parts/ai-setup-prompt.ts +3 -27
  87. package/dist/transactions-CHNUJ42J.d.ts.map +0 -1
@@ -9,8 +9,6 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
9
9
  client_metadata?: {} | null | undefined;
10
10
  client_read_only_metadata?: {} | null | undefined;
11
11
  server_metadata?: {} | null | undefined;
12
- server_only: boolean;
13
- customer_type: "team" | "user" | "custom";
14
12
  stackable: boolean;
15
13
  prices: Record<string, {
16
14
  USD?: string | undefined;
@@ -24,9 +22,11 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
24
22
  free_trial?: import("../../utils/dates").DayInterval | undefined;
25
23
  }>;
26
24
  display_name: string;
25
+ customer_type: "team" | "user" | "custom";
26
+ server_only: boolean;
27
27
  included_items: Record<string, {
28
- quantity?: number | undefined;
29
28
  repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
29
+ quantity?: number | undefined;
30
30
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
31
31
  }>;
32
32
  };
@@ -38,14 +38,11 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
38
38
  is_cancelable: boolean;
39
39
  } | null | undefined;
40
40
  switch_options: {
41
- product_id: string;
42
41
  product: {
43
42
  free_trial?: import("../../utils/dates").DayInterval | undefined;
44
43
  client_metadata?: {} | null | undefined;
45
44
  client_read_only_metadata?: {} | null | undefined;
46
45
  server_metadata?: {} | null | undefined;
47
- server_only: boolean;
48
- customer_type: "team" | "user" | "custom";
49
46
  stackable: boolean;
50
47
  prices: Record<string, {
51
48
  USD?: string | undefined;
@@ -59,12 +56,15 @@ declare const customerProductReadSchema: yup$1.ObjectSchema<{
59
56
  free_trial?: import("../../utils/dates").DayInterval | undefined;
60
57
  }>;
61
58
  display_name: string;
59
+ customer_type: "team" | "user" | "custom";
60
+ server_only: boolean;
62
61
  included_items: Record<string, {
63
- quantity?: number | undefined;
64
62
  repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
63
+ quantity?: number | undefined;
65
64
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
66
65
  }>;
67
66
  };
67
+ product_id: string;
68
68
  }[] | undefined;
69
69
  }, yup$1.AnyObject, {
70
70
  id: undefined;
@@ -101,14 +101,11 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
101
101
  is_cancelable: boolean;
102
102
  } | null | undefined;
103
103
  switch_options?: {
104
- product_id: string;
105
104
  product: {
106
105
  free_trial?: import("../../utils/dates").DayInterval | undefined;
107
106
  client_metadata?: {} | null | undefined;
108
107
  client_read_only_metadata?: {} | null | undefined;
109
108
  server_metadata?: {} | null | undefined;
110
- server_only: boolean;
111
- customer_type: "team" | "user" | "custom";
112
109
  stackable: boolean;
113
110
  prices: Record<string, {
114
111
  USD?: string | undefined;
@@ -122,21 +119,21 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
122
119
  free_trial?: import("../../utils/dates").DayInterval | undefined;
123
120
  }>;
124
121
  display_name: string;
122
+ customer_type: "team" | "user" | "custom";
123
+ server_only: boolean;
125
124
  included_items: Record<string, {
126
- quantity?: number | undefined;
127
125
  repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
126
+ quantity?: number | undefined;
128
127
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
129
128
  }>;
130
129
  };
130
+ product_id: string;
131
131
  }[] | undefined;
132
- quantity: number;
133
132
  product: {
134
133
  free_trial?: import("../../utils/dates").DayInterval | undefined;
135
134
  client_metadata?: {} | null | undefined;
136
135
  client_read_only_metadata?: {} | null | undefined;
137
136
  server_metadata?: {} | null | undefined;
138
- server_only: boolean;
139
- customer_type: "team" | "user" | "custom";
140
137
  stackable: boolean;
141
138
  prices: Record<string, {
142
139
  USD?: string | undefined;
@@ -150,12 +147,15 @@ declare const customerProductsListResponseSchema: yup$1.ObjectSchema<{
150
147
  free_trial?: import("../../utils/dates").DayInterval | undefined;
151
148
  }>;
152
149
  display_name: string;
150
+ customer_type: "team" | "user" | "custom";
151
+ server_only: boolean;
153
152
  included_items: Record<string, {
154
- quantity?: number | undefined;
155
153
  repeat?: "never" | import("../../utils/dates").DayInterval | undefined;
154
+ quantity?: number | undefined;
156
155
  expires?: "never" | "when-purchase-expires" | "when-repeated" | undefined;
157
156
  }>;
158
157
  };
158
+ quantity: number;
159
159
  id: string | null;
160
160
  }[];
161
161
  is_paginated: boolean;
@@ -78,10 +78,10 @@ declare const userApiKeysCrud: import("../../crud").CrudSchemaFromOptions<{
78
78
  is_public: undefined;
79
79
  user_id: undefined;
80
80
  }, "">, userApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
81
- user_id: string;
82
81
  type: "user";
83
82
  description: string;
84
83
  id: string;
84
+ user_id: string;
85
85
  created_at_millis: number;
86
86
  expires_at_millis: number | undefined;
87
87
  manually_revoked_at_millis: number | undefined;
@@ -177,9 +177,9 @@ declare const teamApiKeysCrud: import("../../crud").CrudSchemaFromOptions<{
177
177
  team_id: undefined;
178
178
  }, "">, teamApiKeysCreateOutputSchema: yup$1.ObjectSchema<{
179
179
  type: "team";
180
- team_id: string;
181
180
  description: string;
182
181
  id: string;
182
+ team_id: string;
183
183
  created_at_millis: number;
184
184
  expires_at_millis: number | undefined;
185
185
  manually_revoked_at_millis: number | undefined;
@@ -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,7 +27,11 @@ 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;
34
+ primary_email: string | null;
35
35
  country_code: string | null;
36
36
  profile_image_url: string | null;
37
37
  signed_up_at_millis: number;
@@ -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,7 +150,11 @@ 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;
157
+ primary_email: string | null;
158
158
  country_code: string | null;
159
159
  profile_image_url: string | null;
160
160
  signed_up_at_millis: number;
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
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,15 +162,15 @@ 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;
171
- password: string | null | undefined;
170
+ primary_email: string | null | undefined;
172
171
  country_code: string | null | undefined;
173
172
  profile_image_url: string | null | undefined;
173
+ password: string | null | undefined;
174
174
  primary_email_verified: boolean | undefined;
175
175
  primary_email_auth_enabled: boolean | undefined;
176
176
  otp_auth_enabled: boolean | undefined;
@@ -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,15 +368,15 @@ 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;
377
- password: string | null | undefined;
376
+ primary_email: string | null | undefined;
378
377
  country_code: string | null | undefined;
379
378
  profile_image_url: string | null | undefined;
379
+ password: string | null | undefined;
380
380
  primary_email_verified: boolean | undefined;
381
381
  primary_email_auth_enabled: boolean | undefined;
382
382
  otp_auth_enabled: boolean | undefined;
@@ -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;
@@ -24,15 +24,15 @@ declare const planUsageRowSchema: yup$1.ObjectSchema<{
24
24
  declare const planUsageResponseSchema: yup$1.ObjectSchema<{
25
25
  owner_team_id: string;
26
26
  owner_team_display_name: string;
27
- plan_id: "team" | "free" | "growth";
27
+ plan_id: "free" | "team" | "growth";
28
28
  plan_display_name: string;
29
29
  period_start_millis: number;
30
30
  period_end_millis: number;
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
2
  import { filterUndefined } from "../utils/objects.js";
3
3
  import { Result } from "../utils/results.js";
4
- import { urlString } from "../utils/urls.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: "item_exists" | "server_only" | null]> & {
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: "error" | "running" | "awaiting_review" | "success" | "no-change" | "cancelled";
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;
@@ -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,4 +1,4 @@
1
- import { a as KnownErrors } from "../known-errors-Bm4a61wL.js";
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-Bm4a61wL.js";
2
- import { n as HexclaveClientInterface } from "./client-interface-BQz4jNAC.js";
3
- import { t as HexclaveServerInterface } from "./server-interface-BjY-eS4Q.js";
4
- import { r as HexclaveAdminInterface } from "./admin-interface-blbgnrRn.js";
1
+ import { a as KnownErrors, n as KnownError } from "./known-errors-BFf8SVm8.js";
2
+ import { n as HexclaveClientInterface } from "./client-interface-Dq3rFlfp.js";
3
+ import { t as HexclaveServerInterface } from "./server-interface-CCkVoW9E.js";
4
+ import { r as HexclaveAdminInterface } from "./admin-interface-CoReEE6d.js";
5
5
  export { HexclaveAdminInterface, HexclaveClientInterface, HexclaveServerInterface, KnownError, KnownErrors };
@@ -1,3 +1,3 @@
1
- import { n as PlanUsageResponse } from "../plan-usage-BaDxcLZ1.js";
2
- import { a as InternalApiKeyCreateCrudResponse, i as InternalApiKeyCreateCrudRequest, n as ChatContent, r as HexclaveAdminInterface, t as AdminAuthApplicationOptions } from "../admin-interface-blbgnrRn.js";
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-CoReEE6d.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
2
  let ___utils_results_js = require("../utils/results.js");
3
- let ___utils_urls_js = require("../utils/urls.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-bsOkw4YQ.js";
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-mSeJUgs_.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-BQz4jNAC.js";
1
+ import { i as RequestLogEntry, n as HexclaveClientInterface, r as RequestListener, t as ClientInterfaceOptions } from "../client-interface-Dq3rFlfp.js";
2
2
  export { ClientInterfaceOptions, HexclaveClientInterface, RequestListener, RequestLogEntry };
@@ -4,8 +4,8 @@ let ___utils_objects_js = require("../utils/objects.js");
4
4
  let ___utils_strings_js = require("../utils/strings.js");
5
5
  let ___utils_oauth_js = require("../utils/oauth.js");
6
6
  let ___utils_results_js = require("../utils/results.js");
7
- let ___utils_urls_js = require("../utils/urls.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");
@@ -174,8 +174,8 @@ 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;
178
+ priority: "low" | "normal" | "high" | "urgent";
179
179
  conversationId: string;
180
180
  userId: string | null;
181
181
  teamId: string | null;
@@ -212,8 +212,8 @@ 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;
216
+ priority: "low" | "normal" | "high" | "urgent";
217
217
  conversationId: string;
218
218
  userId: string | null;
219
219
  teamId: string | null;
@@ -236,10 +236,10 @@ declare const conversationDetailResponseSchema: yup$1.ObjectSchema<{
236
236
  };
237
237
  };
238
238
  messages: {
239
- status: "open" | "pending" | "closed";
240
239
  id: string;
241
- priority: "low" | "normal" | "high" | "urgent";
240
+ status: "open" | "pending" | "closed";
242
241
  subject: string;
242
+ priority: "low" | "normal" | "high" | "urgent";
243
243
  conversationId: string;
244
244
  userId: string | null;
245
245
  teamId: string | null;
@@ -1,2 +1,2 @@
1
- import { n as currentUserCrud, t as CurrentUserCrud } from "../../current-user-BBoN3hsn.js";
1
+ import { n as currentUserCrud, t as CurrentUserCrud } from "../../current-user-yKG-BuFC.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-B1wmVPRG.js";
1
+ import { i as emailOutboxUpdateSchema, n as emailOutboxCrud, r as emailOutboxReadSchema, t as EmailOutboxCrud } from "../../email-outbox-szT3xGTQ.js";
2
2
  export { EmailOutboxCrud, emailOutboxCrud, emailOutboxReadSchema, emailOutboxUpdateSchema };
@@ -1,2 +1,2 @@
1
- import { a as customerProductsListResponseSchema, i as customerProductReadSchema, n as CustomerProductsListResponse, r as ListCustomerProductsOptions, t as CustomerProductRead } from "../../products-D4o8A2W0.js";
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--7V5X_UW.js";
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 teamMemberProfilesCrudServerReadSchema, i as teamMemberProfilesCrudClientUpdateSchema, n as teamMemberProfilesCrud, r as teamMemberProfilesCrudClientReadSchema, t as TeamMemberProfilesCrud } from "../../team-member-profiles-BoDEqx-0.js";
1
+ import { a as teamMemberProfilesCrudServerReadSchema, i as teamMemberProfilesCrudClientUpdateSchema, n as teamMemberProfilesCrud, r as teamMemberProfilesCrudClientReadSchema, t as TeamMemberProfilesCrud } from "../../team-member-profiles-jSNAduek.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-CHNUJ42J.js";
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-DHNRwoSz.js";
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-CCg66YDE.js";
2
2
  export { SignUpRiskScoresCrud, UsersCrud, riskScoreFieldSchema, signUpRiskScoresSchema, userCreatedWebhookEvent, userDeletedWebhookEvent, userUpdatedWebhookEvent, usersCrud, usersCrudServerCreateSchema, usersCrudServerDeleteSchema, usersCrudServerReadSchema, usersCrudServerUpdateSchema };
@@ -1,2 +1,2 @@
1
- import { a as planUsageResponseSchema, i as planUsageKindSchema, n as PlanUsageResponse, o as planUsageRowSchema, r as PlanUsageRow, t as PlanUsageKind } from "../plan-usage-BaDxcLZ1.js";
1
+ import { a as planUsageResponseSchema, i as planUsageKindSchema, n as PlanUsageResponse, o as planUsageRowSchema, r as PlanUsageRow, t as PlanUsageKind } from "../plan-usage-CFwV688o.js";
2
2
  export { PlanUsageKind, PlanUsageResponse, PlanUsageRow, planUsageKindSchema, planUsageResponseSchema, planUsageRowSchema };
@@ -1,2 +1,2 @@
1
- import { n as ServerAuthApplicationOptions, t as HexclaveServerInterface } from "../server-interface-BjY-eS4Q.js";
1
+ import { n as ServerAuthApplicationOptions, t as HexclaveServerInterface } from "../server-interface-CCkVoW9E.js";
2
2
  export { HexclaveServerInterface, ServerAuthApplicationOptions };
@@ -2,8 +2,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  let ___utils_errors_js = require("../utils/errors.js");
3
3
  let ___utils_objects_js = require("../utils/objects.js");
4
4
  let ___utils_results_js = require("../utils/results.js");
5
- let ___utils_urls_js = require("../utils/urls.js");
6
5
  let ___known_errors_js = require("../known-errors.js");
6
+ let ___utils_urls_js = require("../utils/urls.js");
7
7
  let ___sessions_js = require("../sessions.js");
8
8
  let __client_interface_js = require("./client-interface.js");
9
9
  let ___helpers_vault_client_side_js = require("../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: "item_exists" | "server_only" | null]> & {
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"]> & {
@@ -572,4 +572,4 @@ declare const KnownErrors: {
572
572
  };
573
573
  //#endregion
574
574
  export { KnownErrors as a, KnownErrorJson as i, KnownError as n, KnownErrorConstructor as r, AbstractKnownErrorConstructor as t };
575
- //# sourceMappingURL=known-errors-Bm4a61wL.d.ts.map
575
+ //# sourceMappingURL=known-errors-BFf8SVm8.d.ts.map