@burdenoff/sdk-libs 2026.501.6

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 (103) hide show
  1. package/LICENSE +4 -0
  2. package/README.md +52 -0
  3. package/dist/chunk-NEREAHJ6.js +1 -0
  4. package/dist/chunk-YGVAZ3D7.js +2 -0
  5. package/dist/core/index.cjs +2 -0
  6. package/dist/core/index.d.cts +52 -0
  7. package/dist/core/index.d.ts +52 -0
  8. package/dist/core/index.js +1 -0
  9. package/dist/index.cjs +2 -0
  10. package/dist/index.d.cts +3 -0
  11. package/dist/index.d.ts +3 -0
  12. package/dist/index.js +1 -0
  13. package/dist/module-JDbvil5h.d.cts +194 -0
  14. package/dist/module-JDbvil5h.d.ts +194 -0
  15. package/dist/modules/auth/index.cjs +71 -0
  16. package/dist/modules/auth/index.d.cts +94 -0
  17. package/dist/modules/auth/index.d.ts +94 -0
  18. package/dist/modules/auth/index.js +71 -0
  19. package/dist/modules/billing/index.cjs +203 -0
  20. package/dist/modules/billing/index.d.cts +377 -0
  21. package/dist/modules/billing/index.d.ts +377 -0
  22. package/dist/modules/billing/index.js +203 -0
  23. package/dist/modules/channels/index.cjs +108 -0
  24. package/dist/modules/channels/index.d.cts +146 -0
  25. package/dist/modules/channels/index.d.ts +146 -0
  26. package/dist/modules/channels/index.js +108 -0
  27. package/dist/modules/conversations/index.cjs +61 -0
  28. package/dist/modules/conversations/index.d.cts +112 -0
  29. package/dist/modules/conversations/index.d.ts +112 -0
  30. package/dist/modules/conversations/index.js +61 -0
  31. package/dist/modules/devportal/index.cjs +216 -0
  32. package/dist/modules/devportal/index.d.cts +303 -0
  33. package/dist/modules/devportal/index.d.ts +303 -0
  34. package/dist/modules/devportal/index.js +216 -0
  35. package/dist/modules/export/index.cjs +61 -0
  36. package/dist/modules/export/index.d.cts +169 -0
  37. package/dist/modules/export/index.d.ts +169 -0
  38. package/dist/modules/export/index.js +61 -0
  39. package/dist/modules/files/index.cjs +51 -0
  40. package/dist/modules/files/index.d.cts +102 -0
  41. package/dist/modules/files/index.d.ts +102 -0
  42. package/dist/modules/files/index.js +51 -0
  43. package/dist/modules/groups/index.cjs +80 -0
  44. package/dist/modules/groups/index.d.cts +168 -0
  45. package/dist/modules/groups/index.d.ts +168 -0
  46. package/dist/modules/groups/index.js +80 -0
  47. package/dist/modules/health/index.cjs +5 -0
  48. package/dist/modules/health/index.d.cts +18 -0
  49. package/dist/modules/health/index.d.ts +18 -0
  50. package/dist/modules/health/index.js +5 -0
  51. package/dist/modules/integrations/index.cjs +65 -0
  52. package/dist/modules/integrations/index.d.cts +120 -0
  53. package/dist/modules/integrations/index.d.ts +120 -0
  54. package/dist/modules/integrations/index.js +65 -0
  55. package/dist/modules/notifications/index.cjs +53 -0
  56. package/dist/modules/notifications/index.d.cts +140 -0
  57. package/dist/modules/notifications/index.d.ts +140 -0
  58. package/dist/modules/notifications/index.js +53 -0
  59. package/dist/modules/organizations/index.cjs +72 -0
  60. package/dist/modules/organizations/index.d.cts +88 -0
  61. package/dist/modules/organizations/index.d.ts +88 -0
  62. package/dist/modules/organizations/index.js +72 -0
  63. package/dist/modules/products/index.cjs +149 -0
  64. package/dist/modules/products/index.d.cts +361 -0
  65. package/dist/modules/products/index.d.ts +361 -0
  66. package/dist/modules/products/index.js +149 -0
  67. package/dist/modules/rbac/index.cjs +55 -0
  68. package/dist/modules/rbac/index.d.cts +100 -0
  69. package/dist/modules/rbac/index.d.ts +100 -0
  70. package/dist/modules/rbac/index.js +55 -0
  71. package/dist/modules/scheduler/index.cjs +61 -0
  72. package/dist/modules/scheduler/index.d.cts +121 -0
  73. package/dist/modules/scheduler/index.d.ts +121 -0
  74. package/dist/modules/scheduler/index.js +61 -0
  75. package/dist/modules/security/index.cjs +61 -0
  76. package/dist/modules/security/index.d.cts +110 -0
  77. package/dist/modules/security/index.d.ts +110 -0
  78. package/dist/modules/security/index.js +61 -0
  79. package/dist/modules/store/index.cjs +82 -0
  80. package/dist/modules/store/index.d.cts +139 -0
  81. package/dist/modules/store/index.d.ts +139 -0
  82. package/dist/modules/store/index.js +82 -0
  83. package/dist/modules/support/index.cjs +56 -0
  84. package/dist/modules/support/index.d.cts +147 -0
  85. package/dist/modules/support/index.d.ts +147 -0
  86. package/dist/modules/support/index.js +56 -0
  87. package/dist/modules/tags/index.cjs +55 -0
  88. package/dist/modules/tags/index.d.cts +131 -0
  89. package/dist/modules/tags/index.d.ts +131 -0
  90. package/dist/modules/tags/index.js +55 -0
  91. package/dist/modules/tours/index.cjs +37 -0
  92. package/dist/modules/tours/index.d.cts +61 -0
  93. package/dist/modules/tours/index.d.ts +61 -0
  94. package/dist/modules/tours/index.js +37 -0
  95. package/dist/modules/vibecontrols/index.cjs +1081 -0
  96. package/dist/modules/vibecontrols/index.d.cts +1483 -0
  97. package/dist/modules/vibecontrols/index.d.ts +1483 -0
  98. package/dist/modules/vibecontrols/index.js +1081 -0
  99. package/dist/modules/workspaces/index.cjs +91 -0
  100. package/dist/modules/workspaces/index.d.cts +128 -0
  101. package/dist/modules/workspaces/index.d.ts +128 -0
  102. package/dist/modules/workspaces/index.js +91 -0
  103. package/package.json +117 -0
@@ -0,0 +1,361 @@
1
+ import { J as Json, S as SdkModule } from '../../module-JDbvil5h.cjs';
2
+ import 'graphql-request';
3
+
4
+ type PlatformProductStatus = 'ACTIVE' | 'COMING_SOON' | 'DRAFT' | 'WAITLIST';
5
+ interface PlatformProduct {
6
+ id: string;
7
+ name: string;
8
+ slug: string;
9
+ description?: string | null;
10
+ status: PlatformProductStatus;
11
+ logoUrl?: string | null;
12
+ website?: string | null;
13
+ appUrl?: string | null;
14
+ docsUrl?: string | null;
15
+ githubUrl?: string | null;
16
+ statusPageUrl?: string | null;
17
+ contactEmail?: string | null;
18
+ supportEmail?: string | null;
19
+ contactPhone?: string | null;
20
+ contactAddress?: string | null;
21
+ seoTitle?: string | null;
22
+ seoDescription?: string | null;
23
+ seoKeywords?: string | null;
24
+ ogImage?: string | null;
25
+ appStoreUrl?: string | null;
26
+ playStoreUrl?: string | null;
27
+ socialLinks?: Json;
28
+ recaptchaSiteKey?: string | null;
29
+ recaptchaSecretKey?: string | null;
30
+ rybbitSiteId?: string | null;
31
+ notificationEmail?: string | null;
32
+ tenantCount: number;
33
+ activeUsers: number;
34
+ apiCalls: number;
35
+ storageGB: number;
36
+ uptime: number;
37
+ metadata?: Json;
38
+ tags: string[];
39
+ createdAt: string;
40
+ updatedAt: string;
41
+ }
42
+ interface PlatformProductList {
43
+ items: PlatformProduct[];
44
+ total: number;
45
+ hasMore: boolean;
46
+ }
47
+ interface PlatformProductFilterInput {
48
+ status?: PlatformProductStatus;
49
+ search?: string;
50
+ }
51
+ interface CreatePlatformProductInput {
52
+ name: string;
53
+ slug: string;
54
+ description?: string;
55
+ status?: PlatformProductStatus;
56
+ logoUrl?: string;
57
+ website?: string;
58
+ appUrl?: string;
59
+ docsUrl?: string;
60
+ githubUrl?: string;
61
+ statusPageUrl?: string;
62
+ contactEmail?: string;
63
+ supportEmail?: string;
64
+ contactPhone?: string;
65
+ contactAddress?: string;
66
+ seoTitle?: string;
67
+ seoDescription?: string;
68
+ seoKeywords?: string;
69
+ ogImage?: string;
70
+ appStoreUrl?: string;
71
+ playStoreUrl?: string;
72
+ socialLinks?: Json;
73
+ recaptchaSiteKey?: string;
74
+ recaptchaSecretKey?: string;
75
+ rybbitSiteId?: string;
76
+ notificationEmail?: string;
77
+ metadata?: Json;
78
+ tags?: string[];
79
+ }
80
+ interface UpdatePlatformProductInput {
81
+ name?: string;
82
+ description?: string;
83
+ status?: PlatformProductStatus;
84
+ logoUrl?: string;
85
+ website?: string;
86
+ appUrl?: string;
87
+ docsUrl?: string;
88
+ githubUrl?: string;
89
+ statusPageUrl?: string;
90
+ contactEmail?: string;
91
+ supportEmail?: string;
92
+ contactPhone?: string;
93
+ contactAddress?: string;
94
+ seoTitle?: string;
95
+ seoDescription?: string;
96
+ seoKeywords?: string;
97
+ ogImage?: string;
98
+ appStoreUrl?: string;
99
+ playStoreUrl?: string;
100
+ socialLinks?: Json;
101
+ recaptchaSiteKey?: string;
102
+ recaptchaSecretKey?: string;
103
+ rybbitSiteId?: string;
104
+ notificationEmail?: string;
105
+ metadata?: Json;
106
+ tenantCount?: number;
107
+ activeUsers?: number;
108
+ apiCalls?: number;
109
+ storageGB?: number;
110
+ uptime?: number;
111
+ tags?: string[];
112
+ }
113
+ interface KeyboardShortcut {
114
+ id: string;
115
+ productId?: string | null;
116
+ shortcutKey: string;
117
+ eventName: string;
118
+ category: string;
119
+ label: string;
120
+ description?: string | null;
121
+ macKey?: string | null;
122
+ windowsKey?: string | null;
123
+ isEnabled: boolean;
124
+ isSequence: boolean;
125
+ sortOrder: number;
126
+ createdAt: string;
127
+ updatedAt: string;
128
+ }
129
+ interface KeyboardShortcutList {
130
+ items: KeyboardShortcut[];
131
+ total: number;
132
+ hasMore: boolean;
133
+ }
134
+ interface KeyboardShortcutFilterInput {
135
+ productId?: string;
136
+ includeGlobal?: boolean;
137
+ category?: string;
138
+ isEnabled?: boolean;
139
+ search?: string;
140
+ }
141
+ interface CreateKeyboardShortcutInput {
142
+ productId?: string;
143
+ shortcutKey: string;
144
+ eventName: string;
145
+ category: string;
146
+ label: string;
147
+ description?: string;
148
+ macKey?: string;
149
+ windowsKey?: string;
150
+ isEnabled?: boolean;
151
+ isSequence?: boolean;
152
+ sortOrder?: number;
153
+ }
154
+ interface UpdateKeyboardShortcutInput {
155
+ shortcutKey?: string;
156
+ eventName?: string;
157
+ category?: string;
158
+ label?: string;
159
+ description?: string;
160
+ macKey?: string;
161
+ windowsKey?: string;
162
+ isEnabled?: boolean;
163
+ isSequence?: boolean;
164
+ sortOrder?: number;
165
+ }
166
+ type ContentVisibility = 'AUTHENTICATED' | 'INTERNAL' | 'PUBLIC';
167
+ interface ProductContentPage {
168
+ id: string;
169
+ productId?: string | null;
170
+ slug: string;
171
+ title: string;
172
+ content: string;
173
+ contentFormat: string;
174
+ seoTitle?: string | null;
175
+ seoDescription?: string | null;
176
+ seoKeywords?: string | null;
177
+ lastUpdated: string;
178
+ version: number;
179
+ isPublished: boolean;
180
+ visibility: ContentVisibility;
181
+ sortOrder: number;
182
+ tags: string[];
183
+ createdAt: string;
184
+ updatedAt: string;
185
+ }
186
+ interface ProductContentPageList {
187
+ items: ProductContentPage[];
188
+ total: number;
189
+ hasMore: boolean;
190
+ }
191
+ interface ContentPageFilterInput {
192
+ search?: string;
193
+ isPublished?: boolean;
194
+ slug?: string;
195
+ visibility?: ContentVisibility;
196
+ }
197
+ interface CreateContentPageInput {
198
+ productId?: string;
199
+ slug: string;
200
+ title: string;
201
+ content: string;
202
+ contentFormat?: string;
203
+ seoTitle?: string;
204
+ seoDescription?: string;
205
+ seoKeywords?: string;
206
+ isPublished?: boolean;
207
+ visibility?: ContentVisibility;
208
+ sortOrder?: number;
209
+ tags?: string[];
210
+ }
211
+ interface UpdateContentPageInput {
212
+ title?: string;
213
+ content?: string;
214
+ contentFormat?: string;
215
+ seoTitle?: string;
216
+ seoDescription?: string;
217
+ seoKeywords?: string;
218
+ isPublished?: boolean;
219
+ visibility?: ContentVisibility;
220
+ sortOrder?: number;
221
+ tags?: string[];
222
+ }
223
+ type FeatureFlagType = 'BOOLEAN' | 'JSON' | 'NUMBER' | 'STRING';
224
+ type FeatureFlagStatus = 'ACTIVE' | 'ARCHIVED';
225
+ interface FeatureFlag {
226
+ id: string;
227
+ key: string;
228
+ name: string;
229
+ description?: string | null;
230
+ flagType: FeatureFlagType;
231
+ defaultValue: Json;
232
+ status: FeatureFlagStatus;
233
+ productId?: string | null;
234
+ category?: string | null;
235
+ previewable: boolean;
236
+ metadata?: Json;
237
+ tags: string[];
238
+ createdAt: string;
239
+ updatedAt: string;
240
+ createdBy: string;
241
+ updatedBy?: string | null;
242
+ }
243
+ interface FeatureFlagList {
244
+ items: FeatureFlag[];
245
+ total: number;
246
+ hasMore: boolean;
247
+ }
248
+ interface FeatureFlagFilterInput {
249
+ status?: FeatureFlagStatus;
250
+ productId?: string;
251
+ category?: string;
252
+ previewable?: boolean;
253
+ search?: string;
254
+ }
255
+ interface CreateFeatureFlagInput {
256
+ key: string;
257
+ name: string;
258
+ description?: string;
259
+ flagType?: FeatureFlagType;
260
+ defaultValue?: Json;
261
+ productId?: string;
262
+ category?: string;
263
+ previewable?: boolean;
264
+ metadata?: Json;
265
+ tags?: string[];
266
+ }
267
+ interface UpdateFeatureFlagInput {
268
+ name?: string;
269
+ description?: string;
270
+ flagType?: FeatureFlagType;
271
+ defaultValue?: Json;
272
+ productId?: string;
273
+ category?: string;
274
+ previewable?: boolean;
275
+ status?: FeatureFlagStatus;
276
+ metadata?: Json;
277
+ tags?: string[];
278
+ }
279
+ interface FeatureFlagEvaluation {
280
+ key: string;
281
+ value: Json;
282
+ variant?: string | null;
283
+ reason: string;
284
+ flagType: FeatureFlagType;
285
+ errorCode?: string | null;
286
+ }
287
+ interface FeatureFlagBulkEvaluation {
288
+ evaluations: FeatureFlagEvaluation[];
289
+ }
290
+ interface SetWorkspaceFeatureFlagOverrideInput {
291
+ featureFlagId: string;
292
+ workspaceId: string;
293
+ enabled: boolean;
294
+ allowUserOptIn?: boolean;
295
+ }
296
+ interface WorkspaceFeatureFlagOverride {
297
+ id: string;
298
+ featureFlagId: string;
299
+ workspaceId: string;
300
+ enabled: boolean;
301
+ allowUserOptIn: boolean;
302
+ createdAt: string;
303
+ updatedAt: string;
304
+ createdBy: string;
305
+ updatedBy?: string | null;
306
+ }
307
+
308
+ interface ContentPagesApi {
309
+ list(opts?: {
310
+ productId?: string;
311
+ filter?: ContentPageFilterInput;
312
+ limit?: number;
313
+ offset?: number;
314
+ }): Promise<ProductContentPageList>;
315
+ get(id: string): Promise<ProductContentPage | null>;
316
+ create(input: CreateContentPageInput): Promise<ProductContentPage>;
317
+ update(id: string, input: UpdateContentPageInput): Promise<ProductContentPage>;
318
+ delete(id: string): Promise<boolean>;
319
+ }
320
+
321
+ interface FeatureFlagsApi {
322
+ list(filter?: FeatureFlagFilterInput, opts?: {
323
+ limit?: number;
324
+ offset?: number;
325
+ }): Promise<FeatureFlagList>;
326
+ get(id: string): Promise<FeatureFlag | null>;
327
+ evaluate(workspaceId: string, keys?: string[]): Promise<FeatureFlagBulkEvaluation>;
328
+ set(input: SetWorkspaceFeatureFlagOverrideInput): Promise<WorkspaceFeatureFlagOverride>;
329
+ }
330
+
331
+ interface ProductsApi {
332
+ list(filter?: PlatformProductFilterInput, opts?: {
333
+ limit?: number;
334
+ offset?: number;
335
+ }): Promise<PlatformProductList>;
336
+ get(id: string): Promise<PlatformProduct | null>;
337
+ create(input: CreatePlatformProductInput): Promise<PlatformProduct>;
338
+ update(id: string, input: UpdatePlatformProductInput): Promise<PlatformProduct>;
339
+ delete(id: string): Promise<boolean>;
340
+ }
341
+
342
+ interface ShortcutsApi {
343
+ list(filter?: KeyboardShortcutFilterInput, opts?: {
344
+ limit?: number;
345
+ offset?: number;
346
+ }): Promise<KeyboardShortcutList>;
347
+ get(id: string): Promise<KeyboardShortcut | null>;
348
+ create(input: CreateKeyboardShortcutInput): Promise<KeyboardShortcut>;
349
+ update(id: string, input: UpdateKeyboardShortcutInput): Promise<KeyboardShortcut>;
350
+ delete(id: string): Promise<boolean>;
351
+ }
352
+
353
+ interface ProductsModuleApi {
354
+ products: ProductsApi;
355
+ shortcuts: ShortcutsApi;
356
+ contentPages: ContentPagesApi;
357
+ featureFlags: FeatureFlagsApi;
358
+ }
359
+ declare const productsModule: SdkModule<ProductsModuleApi>;
360
+
361
+ export { type ContentPageFilterInput, type ContentPagesApi, type ContentVisibility, type CreateContentPageInput, type CreateFeatureFlagInput, type CreateKeyboardShortcutInput, type CreatePlatformProductInput, type FeatureFlag, type FeatureFlagBulkEvaluation, type FeatureFlagEvaluation, type FeatureFlagFilterInput, type FeatureFlagList, type FeatureFlagStatus, type FeatureFlagType, type FeatureFlagsApi, type KeyboardShortcut, type KeyboardShortcutFilterInput, type KeyboardShortcutList, type PlatformProduct, type PlatformProductFilterInput, type PlatformProductList, type PlatformProductStatus, type ProductContentPage, type ProductContentPageList, type ProductsApi, type ProductsModuleApi, type SetWorkspaceFeatureFlagOverrideInput, type ShortcutsApi, type UpdateContentPageInput, type UpdateFeatureFlagInput, type UpdateKeyboardShortcutInput, type UpdatePlatformProductInput, type WorkspaceFeatureFlagOverride, productsModule as default };
@@ -0,0 +1,361 @@
1
+ import { J as Json, S as SdkModule } from '../../module-JDbvil5h.js';
2
+ import 'graphql-request';
3
+
4
+ type PlatformProductStatus = 'ACTIVE' | 'COMING_SOON' | 'DRAFT' | 'WAITLIST';
5
+ interface PlatformProduct {
6
+ id: string;
7
+ name: string;
8
+ slug: string;
9
+ description?: string | null;
10
+ status: PlatformProductStatus;
11
+ logoUrl?: string | null;
12
+ website?: string | null;
13
+ appUrl?: string | null;
14
+ docsUrl?: string | null;
15
+ githubUrl?: string | null;
16
+ statusPageUrl?: string | null;
17
+ contactEmail?: string | null;
18
+ supportEmail?: string | null;
19
+ contactPhone?: string | null;
20
+ contactAddress?: string | null;
21
+ seoTitle?: string | null;
22
+ seoDescription?: string | null;
23
+ seoKeywords?: string | null;
24
+ ogImage?: string | null;
25
+ appStoreUrl?: string | null;
26
+ playStoreUrl?: string | null;
27
+ socialLinks?: Json;
28
+ recaptchaSiteKey?: string | null;
29
+ recaptchaSecretKey?: string | null;
30
+ rybbitSiteId?: string | null;
31
+ notificationEmail?: string | null;
32
+ tenantCount: number;
33
+ activeUsers: number;
34
+ apiCalls: number;
35
+ storageGB: number;
36
+ uptime: number;
37
+ metadata?: Json;
38
+ tags: string[];
39
+ createdAt: string;
40
+ updatedAt: string;
41
+ }
42
+ interface PlatformProductList {
43
+ items: PlatformProduct[];
44
+ total: number;
45
+ hasMore: boolean;
46
+ }
47
+ interface PlatformProductFilterInput {
48
+ status?: PlatformProductStatus;
49
+ search?: string;
50
+ }
51
+ interface CreatePlatformProductInput {
52
+ name: string;
53
+ slug: string;
54
+ description?: string;
55
+ status?: PlatformProductStatus;
56
+ logoUrl?: string;
57
+ website?: string;
58
+ appUrl?: string;
59
+ docsUrl?: string;
60
+ githubUrl?: string;
61
+ statusPageUrl?: string;
62
+ contactEmail?: string;
63
+ supportEmail?: string;
64
+ contactPhone?: string;
65
+ contactAddress?: string;
66
+ seoTitle?: string;
67
+ seoDescription?: string;
68
+ seoKeywords?: string;
69
+ ogImage?: string;
70
+ appStoreUrl?: string;
71
+ playStoreUrl?: string;
72
+ socialLinks?: Json;
73
+ recaptchaSiteKey?: string;
74
+ recaptchaSecretKey?: string;
75
+ rybbitSiteId?: string;
76
+ notificationEmail?: string;
77
+ metadata?: Json;
78
+ tags?: string[];
79
+ }
80
+ interface UpdatePlatformProductInput {
81
+ name?: string;
82
+ description?: string;
83
+ status?: PlatformProductStatus;
84
+ logoUrl?: string;
85
+ website?: string;
86
+ appUrl?: string;
87
+ docsUrl?: string;
88
+ githubUrl?: string;
89
+ statusPageUrl?: string;
90
+ contactEmail?: string;
91
+ supportEmail?: string;
92
+ contactPhone?: string;
93
+ contactAddress?: string;
94
+ seoTitle?: string;
95
+ seoDescription?: string;
96
+ seoKeywords?: string;
97
+ ogImage?: string;
98
+ appStoreUrl?: string;
99
+ playStoreUrl?: string;
100
+ socialLinks?: Json;
101
+ recaptchaSiteKey?: string;
102
+ recaptchaSecretKey?: string;
103
+ rybbitSiteId?: string;
104
+ notificationEmail?: string;
105
+ metadata?: Json;
106
+ tenantCount?: number;
107
+ activeUsers?: number;
108
+ apiCalls?: number;
109
+ storageGB?: number;
110
+ uptime?: number;
111
+ tags?: string[];
112
+ }
113
+ interface KeyboardShortcut {
114
+ id: string;
115
+ productId?: string | null;
116
+ shortcutKey: string;
117
+ eventName: string;
118
+ category: string;
119
+ label: string;
120
+ description?: string | null;
121
+ macKey?: string | null;
122
+ windowsKey?: string | null;
123
+ isEnabled: boolean;
124
+ isSequence: boolean;
125
+ sortOrder: number;
126
+ createdAt: string;
127
+ updatedAt: string;
128
+ }
129
+ interface KeyboardShortcutList {
130
+ items: KeyboardShortcut[];
131
+ total: number;
132
+ hasMore: boolean;
133
+ }
134
+ interface KeyboardShortcutFilterInput {
135
+ productId?: string;
136
+ includeGlobal?: boolean;
137
+ category?: string;
138
+ isEnabled?: boolean;
139
+ search?: string;
140
+ }
141
+ interface CreateKeyboardShortcutInput {
142
+ productId?: string;
143
+ shortcutKey: string;
144
+ eventName: string;
145
+ category: string;
146
+ label: string;
147
+ description?: string;
148
+ macKey?: string;
149
+ windowsKey?: string;
150
+ isEnabled?: boolean;
151
+ isSequence?: boolean;
152
+ sortOrder?: number;
153
+ }
154
+ interface UpdateKeyboardShortcutInput {
155
+ shortcutKey?: string;
156
+ eventName?: string;
157
+ category?: string;
158
+ label?: string;
159
+ description?: string;
160
+ macKey?: string;
161
+ windowsKey?: string;
162
+ isEnabled?: boolean;
163
+ isSequence?: boolean;
164
+ sortOrder?: number;
165
+ }
166
+ type ContentVisibility = 'AUTHENTICATED' | 'INTERNAL' | 'PUBLIC';
167
+ interface ProductContentPage {
168
+ id: string;
169
+ productId?: string | null;
170
+ slug: string;
171
+ title: string;
172
+ content: string;
173
+ contentFormat: string;
174
+ seoTitle?: string | null;
175
+ seoDescription?: string | null;
176
+ seoKeywords?: string | null;
177
+ lastUpdated: string;
178
+ version: number;
179
+ isPublished: boolean;
180
+ visibility: ContentVisibility;
181
+ sortOrder: number;
182
+ tags: string[];
183
+ createdAt: string;
184
+ updatedAt: string;
185
+ }
186
+ interface ProductContentPageList {
187
+ items: ProductContentPage[];
188
+ total: number;
189
+ hasMore: boolean;
190
+ }
191
+ interface ContentPageFilterInput {
192
+ search?: string;
193
+ isPublished?: boolean;
194
+ slug?: string;
195
+ visibility?: ContentVisibility;
196
+ }
197
+ interface CreateContentPageInput {
198
+ productId?: string;
199
+ slug: string;
200
+ title: string;
201
+ content: string;
202
+ contentFormat?: string;
203
+ seoTitle?: string;
204
+ seoDescription?: string;
205
+ seoKeywords?: string;
206
+ isPublished?: boolean;
207
+ visibility?: ContentVisibility;
208
+ sortOrder?: number;
209
+ tags?: string[];
210
+ }
211
+ interface UpdateContentPageInput {
212
+ title?: string;
213
+ content?: string;
214
+ contentFormat?: string;
215
+ seoTitle?: string;
216
+ seoDescription?: string;
217
+ seoKeywords?: string;
218
+ isPublished?: boolean;
219
+ visibility?: ContentVisibility;
220
+ sortOrder?: number;
221
+ tags?: string[];
222
+ }
223
+ type FeatureFlagType = 'BOOLEAN' | 'JSON' | 'NUMBER' | 'STRING';
224
+ type FeatureFlagStatus = 'ACTIVE' | 'ARCHIVED';
225
+ interface FeatureFlag {
226
+ id: string;
227
+ key: string;
228
+ name: string;
229
+ description?: string | null;
230
+ flagType: FeatureFlagType;
231
+ defaultValue: Json;
232
+ status: FeatureFlagStatus;
233
+ productId?: string | null;
234
+ category?: string | null;
235
+ previewable: boolean;
236
+ metadata?: Json;
237
+ tags: string[];
238
+ createdAt: string;
239
+ updatedAt: string;
240
+ createdBy: string;
241
+ updatedBy?: string | null;
242
+ }
243
+ interface FeatureFlagList {
244
+ items: FeatureFlag[];
245
+ total: number;
246
+ hasMore: boolean;
247
+ }
248
+ interface FeatureFlagFilterInput {
249
+ status?: FeatureFlagStatus;
250
+ productId?: string;
251
+ category?: string;
252
+ previewable?: boolean;
253
+ search?: string;
254
+ }
255
+ interface CreateFeatureFlagInput {
256
+ key: string;
257
+ name: string;
258
+ description?: string;
259
+ flagType?: FeatureFlagType;
260
+ defaultValue?: Json;
261
+ productId?: string;
262
+ category?: string;
263
+ previewable?: boolean;
264
+ metadata?: Json;
265
+ tags?: string[];
266
+ }
267
+ interface UpdateFeatureFlagInput {
268
+ name?: string;
269
+ description?: string;
270
+ flagType?: FeatureFlagType;
271
+ defaultValue?: Json;
272
+ productId?: string;
273
+ category?: string;
274
+ previewable?: boolean;
275
+ status?: FeatureFlagStatus;
276
+ metadata?: Json;
277
+ tags?: string[];
278
+ }
279
+ interface FeatureFlagEvaluation {
280
+ key: string;
281
+ value: Json;
282
+ variant?: string | null;
283
+ reason: string;
284
+ flagType: FeatureFlagType;
285
+ errorCode?: string | null;
286
+ }
287
+ interface FeatureFlagBulkEvaluation {
288
+ evaluations: FeatureFlagEvaluation[];
289
+ }
290
+ interface SetWorkspaceFeatureFlagOverrideInput {
291
+ featureFlagId: string;
292
+ workspaceId: string;
293
+ enabled: boolean;
294
+ allowUserOptIn?: boolean;
295
+ }
296
+ interface WorkspaceFeatureFlagOverride {
297
+ id: string;
298
+ featureFlagId: string;
299
+ workspaceId: string;
300
+ enabled: boolean;
301
+ allowUserOptIn: boolean;
302
+ createdAt: string;
303
+ updatedAt: string;
304
+ createdBy: string;
305
+ updatedBy?: string | null;
306
+ }
307
+
308
+ interface ContentPagesApi {
309
+ list(opts?: {
310
+ productId?: string;
311
+ filter?: ContentPageFilterInput;
312
+ limit?: number;
313
+ offset?: number;
314
+ }): Promise<ProductContentPageList>;
315
+ get(id: string): Promise<ProductContentPage | null>;
316
+ create(input: CreateContentPageInput): Promise<ProductContentPage>;
317
+ update(id: string, input: UpdateContentPageInput): Promise<ProductContentPage>;
318
+ delete(id: string): Promise<boolean>;
319
+ }
320
+
321
+ interface FeatureFlagsApi {
322
+ list(filter?: FeatureFlagFilterInput, opts?: {
323
+ limit?: number;
324
+ offset?: number;
325
+ }): Promise<FeatureFlagList>;
326
+ get(id: string): Promise<FeatureFlag | null>;
327
+ evaluate(workspaceId: string, keys?: string[]): Promise<FeatureFlagBulkEvaluation>;
328
+ set(input: SetWorkspaceFeatureFlagOverrideInput): Promise<WorkspaceFeatureFlagOverride>;
329
+ }
330
+
331
+ interface ProductsApi {
332
+ list(filter?: PlatformProductFilterInput, opts?: {
333
+ limit?: number;
334
+ offset?: number;
335
+ }): Promise<PlatformProductList>;
336
+ get(id: string): Promise<PlatformProduct | null>;
337
+ create(input: CreatePlatformProductInput): Promise<PlatformProduct>;
338
+ update(id: string, input: UpdatePlatformProductInput): Promise<PlatformProduct>;
339
+ delete(id: string): Promise<boolean>;
340
+ }
341
+
342
+ interface ShortcutsApi {
343
+ list(filter?: KeyboardShortcutFilterInput, opts?: {
344
+ limit?: number;
345
+ offset?: number;
346
+ }): Promise<KeyboardShortcutList>;
347
+ get(id: string): Promise<KeyboardShortcut | null>;
348
+ create(input: CreateKeyboardShortcutInput): Promise<KeyboardShortcut>;
349
+ update(id: string, input: UpdateKeyboardShortcutInput): Promise<KeyboardShortcut>;
350
+ delete(id: string): Promise<boolean>;
351
+ }
352
+
353
+ interface ProductsModuleApi {
354
+ products: ProductsApi;
355
+ shortcuts: ShortcutsApi;
356
+ contentPages: ContentPagesApi;
357
+ featureFlags: FeatureFlagsApi;
358
+ }
359
+ declare const productsModule: SdkModule<ProductsModuleApi>;
360
+
361
+ export { type ContentPageFilterInput, type ContentPagesApi, type ContentVisibility, type CreateContentPageInput, type CreateFeatureFlagInput, type CreateKeyboardShortcutInput, type CreatePlatformProductInput, type FeatureFlag, type FeatureFlagBulkEvaluation, type FeatureFlagEvaluation, type FeatureFlagFilterInput, type FeatureFlagList, type FeatureFlagStatus, type FeatureFlagType, type FeatureFlagsApi, type KeyboardShortcut, type KeyboardShortcutFilterInput, type KeyboardShortcutList, type PlatformProduct, type PlatformProductFilterInput, type PlatformProductList, type PlatformProductStatus, type ProductContentPage, type ProductContentPageList, type ProductsApi, type ProductsModuleApi, type SetWorkspaceFeatureFlagOverrideInput, type ShortcutsApi, type UpdateContentPageInput, type UpdateFeatureFlagInput, type UpdateKeyboardShortcutInput, type UpdatePlatformProductInput, type WorkspaceFeatureFlagOverride, productsModule as default };