@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,61 @@
1
+ import { S as SdkModule } from '../../module-JDbvil5h.js';
2
+ import 'graphql-request';
3
+
4
+ type TourStatus = 'PUBLISHED' | 'DRAFT' | 'ARCHIVED';
5
+ type TourProgressStatus = 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'SKIPPED' | 'PAUSED';
6
+ interface Tour {
7
+ id: string;
8
+ name: string;
9
+ slug: string;
10
+ description?: string | null;
11
+ status: TourStatus;
12
+ isActive: boolean;
13
+ productId?: string | null;
14
+ moduleId?: string | null;
15
+ priority?: number | null;
16
+ displayOrder?: number | null;
17
+ createdAt: string;
18
+ updatedAt: string;
19
+ }
20
+ interface TourList {
21
+ tours: Tour[];
22
+ total: number;
23
+ hasMore: boolean;
24
+ }
25
+ interface TourProgress {
26
+ id: string;
27
+ tourId: string;
28
+ userId: string;
29
+ status: TourProgressStatus;
30
+ currentStepId?: string | null;
31
+ currentStepOrder?: number | null;
32
+ completedSteps?: string[] | null;
33
+ skippedSteps?: string[] | null;
34
+ startedAt?: string | null;
35
+ completedAt?: string | null;
36
+ lastViewedAt?: string | null;
37
+ }
38
+ interface TourFilters {
39
+ status?: TourStatus;
40
+ productId?: string;
41
+ moduleId?: string;
42
+ isActive?: boolean;
43
+ }
44
+ interface TourPagination {
45
+ limit?: number;
46
+ offset?: number;
47
+ }
48
+
49
+ interface ToursProgressApi {
50
+ get(userId?: string, pagination?: TourPagination): Promise<TourProgress[]>;
51
+ reset(tourId: string, userId: string): Promise<TourProgress>;
52
+ }
53
+ interface ToursApi {
54
+ list(filters?: TourFilters, pagination?: TourPagination): Promise<TourList>;
55
+ progress: ToursProgressApi;
56
+ complete(tourId: string, stepId: string): Promise<TourProgress>;
57
+ }
58
+
59
+ declare const toursModule: SdkModule<ToursApi>;
60
+
61
+ export { type Tour, type TourFilters, type TourList, type TourPagination, type TourProgress, type TourProgressStatus, type TourStatus, type ToursApi, type ToursProgressApi, toursModule as default };
@@ -0,0 +1,37 @@
1
+ var P=`
2
+ fragment TourFields on Tour {
3
+ id name slug description status isActive productId moduleId
4
+ priority displayOrder createdAt updatedAt
5
+ }
6
+ `,u=`
7
+ fragment TourProgressFields on UserTourProgress {
8
+ id tourId userId status currentStepId currentStepOrder
9
+ completedSteps skippedSteps startedAt completedAt lastViewedAt
10
+ }
11
+ `,T=`
12
+ ${P}
13
+ query Tours($filters: TourFilters, $pagination: TourPagination) {
14
+ tours(filters: $filters, pagination: $pagination) {
15
+ tours { ...TourFields }
16
+ total
17
+ hasMore
18
+ }
19
+ }
20
+ `,n=`
21
+ ${u}
22
+ query UserTourProgresses($userId: ID, $pagination: TourPagination) {
23
+ userTourProgresses(userId: $userId, pagination: $pagination) {
24
+ ...TourProgressFields
25
+ }
26
+ }
27
+ `,p=`
28
+ ${u}
29
+ mutation ResetTourProgress($tourId: ID!, $userId: ID!) {
30
+ resetTourProgress(tourId: $tourId, userId: $userId) { ...TourProgressFields }
31
+ }
32
+ `,d=`
33
+ ${u}
34
+ mutation CompleteTourStep($tourId: ID!, $stepId: ID!) {
35
+ completeTourStep(tourId: $tourId, stepId: $stepId) { ...TourProgressFields }
36
+ }
37
+ `;function g(e){let{global:t}=e.gql;return {async list(r,o){return (await t.request(T,{filters:r,pagination:o})).tours},progress:{async get(r,o){return (await t.request(n,{userId:r,pagination:o})).userTourProgresses},async reset(r,o){return (await t.request(p,{tourId:r,userId:o})).resetTourProgress}},async complete(r,o){return (await t.request(d,{tourId:r,stepId:o})).completeTourStep}}}var c={id:"tours",version:"1.0.0",displayName:"Tours",dependsOn:["auth"],attach(e){return g(e)}},$=c;export{$ as default};