@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,72 @@
1
+ 'use strict';var r=`
2
+ fragment OrgFields on Organization {
3
+ id tenantId name slug description status createdAt updatedAt
4
+ }
5
+ `,o=`
6
+ fragment OrgMemberFields on OrganizationMember {
7
+ id organizationId userId role createdAt updatedAt
8
+ }
9
+ `,s=`
10
+ fragment OrgInviteFields on OrganizationInvite {
11
+ id organizationId email role status invitedBy expiresAt createdAt updatedAt
12
+ }
13
+ `,m=`
14
+ ${r}
15
+ query MyOrganizations($limit: Int, $offset: Int) {
16
+ myOrganizations(limit: $limit, offset: $offset) {
17
+ items { ...OrgFields }
18
+ total
19
+ hasMore
20
+ }
21
+ }
22
+ `,I=`
23
+ ${r}
24
+ query Organization($id: ID!) { organization(id: $id) { ...OrgFields } }
25
+ `,O=`
26
+ ${r}
27
+ query CurrentOrganization { currentOrganization { ...OrgFields } }
28
+ `,d=`
29
+ ${s}
30
+ query MyOrganizationInvites($limit: Int, $offset: Int) {
31
+ myOrganizationInvites(limit: $limit, offset: $offset) { ...OrgInviteFields }
32
+ }
33
+ `,z=`
34
+ ${o}
35
+ mutation AcceptOrganizationInvite($inviteId: ID!) {
36
+ acceptOrganizationInvite(inviteId: $inviteId) { ...OrgMemberFields }
37
+ }
38
+ `,u=`
39
+ ${s}
40
+ mutation RejectOrganizationInvite($inviteId: ID!) {
41
+ rejectOrganizationInvite(inviteId: $inviteId) { ...OrgInviteFields }
42
+ }
43
+ `,p=`
44
+ ${o}
45
+ query OrganizationMembers($organizationId: ID!, $limit: Int, $offset: Int) {
46
+ organizationMembers(organizationId: $organizationId, limit: $limit, offset: $offset) {
47
+ ...OrgMemberFields
48
+ }
49
+ }
50
+ `,c=`
51
+ ${s}
52
+ mutation InviteOrganizationMember($input: InviteOrganizationMemberInput!) {
53
+ inviteOrganizationMember(input: $input) { ...OrgInviteFields }
54
+ }
55
+ `,l=`
56
+ mutation RemoveOrganizationMember($organizationId: String!, $userId: String!) {
57
+ removeOrganizationMember(organizationId: $organizationId, userId: $userId)
58
+ }
59
+ `,M=`
60
+ ${o}
61
+ mutation UpdateOrganizationMember(
62
+ $organizationId: String!
63
+ $userId: String!
64
+ $role: OrganizationMemberRole!
65
+ ) {
66
+ updateOrganizationMember(
67
+ organizationId: $organizationId
68
+ userId: $userId
69
+ role: $role
70
+ ) { ...OrgMemberFields }
71
+ }
72
+ `;function v(e){let{global:n}=e.gql;return {async list(t){return (await n.request(m,{limit:t?.limit,offset:t?.offset})).myOrganizations},async get(t){return (await n.request(I,{id:t})).organization},async current(){return (await n.request(O)).currentOrganization},invites:{async list(t){return (await n.request(d,{limit:t?.limit,offset:t?.offset})).myOrganizationInvites},async accept(t){return (await n.request(z,{inviteId:t})).acceptOrganizationInvite},async decline(t){return (await n.request(u,{inviteId:t})).rejectOrganizationInvite}},members:{async list(t,i){return (await n.request(p,{organizationId:t,limit:i?.limit,offset:i?.offset})).organizationMembers},async invite(t){return (await n.request(c,{input:t})).inviteOrganizationMember},async remove(t,i){return (await n.request(l,{organizationId:t,userId:i})).removeOrganizationMember},async role(t,i,a){return (await n.request(M,{organizationId:t,userId:i,role:a})).updateOrganizationMember}}}}var b={id:"organizations",version:"1.0.0",displayName:"Organizations",dependsOn:["auth"],attach(e){return v(e)}},T=b;module.exports=T;
@@ -0,0 +1,88 @@
1
+ import { S as SdkModule } from '../../module-JDbvil5h.cjs';
2
+ import 'graphql-request';
3
+
4
+ type OrganizationStatus = 'ACTIVE' | 'INACTIVE' | 'ARCHIVED' | 'DELETED';
5
+ interface Organization {
6
+ id: string;
7
+ tenantId: string;
8
+ name: string;
9
+ slug: string;
10
+ description?: string | null;
11
+ status: OrganizationStatus;
12
+ createdAt: string;
13
+ updatedAt: string;
14
+ }
15
+ interface OrganizationList {
16
+ items: Organization[];
17
+ total: number;
18
+ hasMore: boolean;
19
+ }
20
+ type OrganizationMemberRole = 'OWNER' | 'ADMIN' | 'MEMBER' | 'VIEWER';
21
+ interface OrganizationMember {
22
+ id: string;
23
+ organizationId: string;
24
+ userId: string;
25
+ role: OrganizationMemberRole;
26
+ createdAt: string;
27
+ updatedAt: string;
28
+ }
29
+ type OrganizationInviteStatus = 'PENDING' | 'ACCEPTED' | 'REJECTED' | 'CANCELLED' | 'EXPIRED';
30
+ interface OrganizationInvite {
31
+ id: string;
32
+ organizationId: string;
33
+ email: string;
34
+ role: OrganizationMemberRole;
35
+ status: OrganizationInviteStatus;
36
+ invitedBy: string;
37
+ expiresAt?: string | null;
38
+ createdAt: string;
39
+ updatedAt: string;
40
+ }
41
+ interface InviteOrganizationMemberInput {
42
+ organizationId: string;
43
+ email: string;
44
+ role?: OrganizationMemberRole;
45
+ message?: string;
46
+ }
47
+ interface AddOrganizationMemberInput {
48
+ organizationId: string;
49
+ userId: string;
50
+ role?: OrganizationMemberRole;
51
+ }
52
+ interface UpdateOrganizationMemberInput {
53
+ organizationId: string;
54
+ userId: string;
55
+ role: OrganizationMemberRole;
56
+ }
57
+
58
+ interface InvitesApi {
59
+ list(opts?: {
60
+ limit?: number;
61
+ offset?: number;
62
+ }): Promise<OrganizationInvite[]>;
63
+ accept(inviteId: string): Promise<OrganizationMember>;
64
+ decline(inviteId: string): Promise<OrganizationInvite>;
65
+ }
66
+ interface MembersApi {
67
+ list(organizationId: string, opts?: {
68
+ limit?: number;
69
+ offset?: number;
70
+ }): Promise<OrganizationMember[]>;
71
+ invite(input: InviteOrganizationMemberInput): Promise<OrganizationInvite>;
72
+ remove(organizationId: string, userId: string): Promise<boolean>;
73
+ role(organizationId: string, userId: string, role: OrganizationMemberRole): Promise<OrganizationMember>;
74
+ }
75
+ interface OrganizationsApi {
76
+ list(opts?: {
77
+ limit?: number;
78
+ offset?: number;
79
+ }): Promise<OrganizationList>;
80
+ get(id: string): Promise<Organization | null>;
81
+ current(): Promise<Organization | null>;
82
+ invites: InvitesApi;
83
+ members: MembersApi;
84
+ }
85
+
86
+ declare const organizationsModule: SdkModule<OrganizationsApi>;
87
+
88
+ export { type AddOrganizationMemberInput, type InviteOrganizationMemberInput, type InvitesApi, type MembersApi, type Organization, type OrganizationInvite, type OrganizationInviteStatus, type OrganizationList, type OrganizationMember, type OrganizationMemberRole, type OrganizationStatus, type OrganizationsApi, type UpdateOrganizationMemberInput, organizationsModule as default };
@@ -0,0 +1,88 @@
1
+ import { S as SdkModule } from '../../module-JDbvil5h.js';
2
+ import 'graphql-request';
3
+
4
+ type OrganizationStatus = 'ACTIVE' | 'INACTIVE' | 'ARCHIVED' | 'DELETED';
5
+ interface Organization {
6
+ id: string;
7
+ tenantId: string;
8
+ name: string;
9
+ slug: string;
10
+ description?: string | null;
11
+ status: OrganizationStatus;
12
+ createdAt: string;
13
+ updatedAt: string;
14
+ }
15
+ interface OrganizationList {
16
+ items: Organization[];
17
+ total: number;
18
+ hasMore: boolean;
19
+ }
20
+ type OrganizationMemberRole = 'OWNER' | 'ADMIN' | 'MEMBER' | 'VIEWER';
21
+ interface OrganizationMember {
22
+ id: string;
23
+ organizationId: string;
24
+ userId: string;
25
+ role: OrganizationMemberRole;
26
+ createdAt: string;
27
+ updatedAt: string;
28
+ }
29
+ type OrganizationInviteStatus = 'PENDING' | 'ACCEPTED' | 'REJECTED' | 'CANCELLED' | 'EXPIRED';
30
+ interface OrganizationInvite {
31
+ id: string;
32
+ organizationId: string;
33
+ email: string;
34
+ role: OrganizationMemberRole;
35
+ status: OrganizationInviteStatus;
36
+ invitedBy: string;
37
+ expiresAt?: string | null;
38
+ createdAt: string;
39
+ updatedAt: string;
40
+ }
41
+ interface InviteOrganizationMemberInput {
42
+ organizationId: string;
43
+ email: string;
44
+ role?: OrganizationMemberRole;
45
+ message?: string;
46
+ }
47
+ interface AddOrganizationMemberInput {
48
+ organizationId: string;
49
+ userId: string;
50
+ role?: OrganizationMemberRole;
51
+ }
52
+ interface UpdateOrganizationMemberInput {
53
+ organizationId: string;
54
+ userId: string;
55
+ role: OrganizationMemberRole;
56
+ }
57
+
58
+ interface InvitesApi {
59
+ list(opts?: {
60
+ limit?: number;
61
+ offset?: number;
62
+ }): Promise<OrganizationInvite[]>;
63
+ accept(inviteId: string): Promise<OrganizationMember>;
64
+ decline(inviteId: string): Promise<OrganizationInvite>;
65
+ }
66
+ interface MembersApi {
67
+ list(organizationId: string, opts?: {
68
+ limit?: number;
69
+ offset?: number;
70
+ }): Promise<OrganizationMember[]>;
71
+ invite(input: InviteOrganizationMemberInput): Promise<OrganizationInvite>;
72
+ remove(organizationId: string, userId: string): Promise<boolean>;
73
+ role(organizationId: string, userId: string, role: OrganizationMemberRole): Promise<OrganizationMember>;
74
+ }
75
+ interface OrganizationsApi {
76
+ list(opts?: {
77
+ limit?: number;
78
+ offset?: number;
79
+ }): Promise<OrganizationList>;
80
+ get(id: string): Promise<Organization | null>;
81
+ current(): Promise<Organization | null>;
82
+ invites: InvitesApi;
83
+ members: MembersApi;
84
+ }
85
+
86
+ declare const organizationsModule: SdkModule<OrganizationsApi>;
87
+
88
+ export { type AddOrganizationMemberInput, type InviteOrganizationMemberInput, type InvitesApi, type MembersApi, type Organization, type OrganizationInvite, type OrganizationInviteStatus, type OrganizationList, type OrganizationMember, type OrganizationMemberRole, type OrganizationStatus, type OrganizationsApi, type UpdateOrganizationMemberInput, organizationsModule as default };
@@ -0,0 +1,72 @@
1
+ var r=`
2
+ fragment OrgFields on Organization {
3
+ id tenantId name slug description status createdAt updatedAt
4
+ }
5
+ `,o=`
6
+ fragment OrgMemberFields on OrganizationMember {
7
+ id organizationId userId role createdAt updatedAt
8
+ }
9
+ `,s=`
10
+ fragment OrgInviteFields on OrganizationInvite {
11
+ id organizationId email role status invitedBy expiresAt createdAt updatedAt
12
+ }
13
+ `,I=`
14
+ ${r}
15
+ query MyOrganizations($limit: Int, $offset: Int) {
16
+ myOrganizations(limit: $limit, offset: $offset) {
17
+ items { ...OrgFields }
18
+ total
19
+ hasMore
20
+ }
21
+ }
22
+ `,O=`
23
+ ${r}
24
+ query Organization($id: ID!) { organization(id: $id) { ...OrgFields } }
25
+ `,d=`
26
+ ${r}
27
+ query CurrentOrganization { currentOrganization { ...OrgFields } }
28
+ `,z=`
29
+ ${s}
30
+ query MyOrganizationInvites($limit: Int, $offset: Int) {
31
+ myOrganizationInvites(limit: $limit, offset: $offset) { ...OrgInviteFields }
32
+ }
33
+ `,u=`
34
+ ${o}
35
+ mutation AcceptOrganizationInvite($inviteId: ID!) {
36
+ acceptOrganizationInvite(inviteId: $inviteId) { ...OrgMemberFields }
37
+ }
38
+ `,p=`
39
+ ${s}
40
+ mutation RejectOrganizationInvite($inviteId: ID!) {
41
+ rejectOrganizationInvite(inviteId: $inviteId) { ...OrgInviteFields }
42
+ }
43
+ `,c=`
44
+ ${o}
45
+ query OrganizationMembers($organizationId: ID!, $limit: Int, $offset: Int) {
46
+ organizationMembers(organizationId: $organizationId, limit: $limit, offset: $offset) {
47
+ ...OrgMemberFields
48
+ }
49
+ }
50
+ `,l=`
51
+ ${s}
52
+ mutation InviteOrganizationMember($input: InviteOrganizationMemberInput!) {
53
+ inviteOrganizationMember(input: $input) { ...OrgInviteFields }
54
+ }
55
+ `,M=`
56
+ mutation RemoveOrganizationMember($organizationId: String!, $userId: String!) {
57
+ removeOrganizationMember(organizationId: $organizationId, userId: $userId)
58
+ }
59
+ `,v=`
60
+ ${o}
61
+ mutation UpdateOrganizationMember(
62
+ $organizationId: String!
63
+ $userId: String!
64
+ $role: OrganizationMemberRole!
65
+ ) {
66
+ updateOrganizationMember(
67
+ organizationId: $organizationId
68
+ userId: $userId
69
+ role: $role
70
+ ) { ...OrgMemberFields }
71
+ }
72
+ `;function b(e){let{global:n}=e.gql;return {async list(t){return (await n.request(I,{limit:t?.limit,offset:t?.offset})).myOrganizations},async get(t){return (await n.request(O,{id:t})).organization},async current(){return (await n.request(d)).currentOrganization},invites:{async list(t){return (await n.request(z,{limit:t?.limit,offset:t?.offset})).myOrganizationInvites},async accept(t){return (await n.request(u,{inviteId:t})).acceptOrganizationInvite},async decline(t){return (await n.request(p,{inviteId:t})).rejectOrganizationInvite}},members:{async list(t,i){return (await n.request(c,{organizationId:t,limit:i?.limit,offset:i?.offset})).organizationMembers},async invite(t){return (await n.request(l,{input:t})).inviteOrganizationMember},async remove(t,i){return (await n.request(M,{organizationId:t,userId:i})).removeOrganizationMember},async role(t,i,a){return (await n.request(v,{organizationId:t,userId:i,role:a})).updateOrganizationMember}}}}var f={id:"organizations",version:"1.0.0",displayName:"Organizations",dependsOn:["auth"],attach(e){return b(e)}},_=f;export{_ as default};
@@ -0,0 +1,149 @@
1
+ 'use strict';var n=`
2
+ fragment PlatformProductFields on PlatformProduct {
3
+ id name slug description status logoUrl website appUrl docsUrl githubUrl
4
+ statusPageUrl contactEmail supportEmail contactPhone contactAddress
5
+ seoTitle seoDescription seoKeywords ogImage appStoreUrl playStoreUrl
6
+ socialLinks recaptchaSiteKey recaptchaSecretKey rybbitSiteId notificationEmail
7
+ tenantCount activeUsers apiCalls storageGB uptime metadata tags
8
+ createdAt updatedAt
9
+ }
10
+ `,i=`
11
+ fragment KeyboardShortcutFields on KeyboardShortcut {
12
+ id productId shortcutKey eventName category label description
13
+ macKey windowsKey isEnabled isSequence sortOrder createdAt updatedAt
14
+ }
15
+ `,d=`
16
+ fragment ProductContentPageFields on ProductContentPage {
17
+ id productId slug title content contentFormat seoTitle seoDescription
18
+ seoKeywords lastUpdated version isPublished visibility sortOrder tags
19
+ createdAt updatedAt
20
+ }
21
+ `,s=`
22
+ fragment FeatureFlagFields on FeatureFlag {
23
+ id key name description flagType defaultValue status productId category
24
+ previewable metadata tags createdAt updatedAt createdBy updatedBy
25
+ }
26
+ `,c=`
27
+ ${n}
28
+ query PlatformProducts($filter: PlatformProductFilterInput, $limit: Int, $offset: Int) {
29
+ platformProducts(filter: $filter, limit: $limit, offset: $offset) {
30
+ items { ...PlatformProductFields }
31
+ total
32
+ hasMore
33
+ }
34
+ }
35
+ `,l=`
36
+ ${n}
37
+ query PlatformProduct($id: ID!) {
38
+ platformProduct(id: $id) { ...PlatformProductFields }
39
+ }
40
+ `,p=`
41
+ ${n}
42
+ mutation CreatePlatformProduct($input: CreatePlatformProductInput!) {
43
+ createPlatformProduct(input: $input) { ...PlatformProductFields }
44
+ }
45
+ `,P=`
46
+ ${n}
47
+ mutation UpdatePlatformProduct($id: ID!, $input: UpdatePlatformProductInput!) {
48
+ updatePlatformProduct(id: $id, input: $input) { ...PlatformProductFields }
49
+ }
50
+ `,m=`
51
+ mutation DeletePlatformProduct($id: ID!) {
52
+ deletePlatformProduct(id: $id)
53
+ }
54
+ `,g=`
55
+ ${i}
56
+ query KeyboardShortcuts($filter: KeyboardShortcutFilterInput, $limit: Int, $offset: Int) {
57
+ keyboardShortcuts(filter: $filter, limit: $limit, offset: $offset) {
58
+ items { ...KeyboardShortcutFields }
59
+ total
60
+ hasMore
61
+ }
62
+ }
63
+ `,F=`
64
+ ${i}
65
+ query KeyboardShortcut($id: ID!) {
66
+ keyboardShortcut(id: $id) { ...KeyboardShortcutFields }
67
+ }
68
+ `,f=`
69
+ ${i}
70
+ mutation CreateKeyboardShortcut($input: CreateKeyboardShortcutInput!) {
71
+ createKeyboardShortcut(input: $input) { ...KeyboardShortcutFields }
72
+ }
73
+ `,y=`
74
+ ${i}
75
+ mutation UpdateKeyboardShortcut($id: ID!, $input: UpdateKeyboardShortcutInput!) {
76
+ updateKeyboardShortcut(id: $id, input: $input) { ...KeyboardShortcutFields }
77
+ }
78
+ `,C=`
79
+ mutation DeleteKeyboardShortcut($id: ID!) {
80
+ deleteKeyboardShortcut(id: $id)
81
+ }
82
+ `,S=`
83
+ ${d}
84
+ query ContentPages(
85
+ $productId: String
86
+ $filter: ContentPageFilterInput
87
+ $limit: Int
88
+ $offset: Int
89
+ ) {
90
+ contentPages(productId: $productId, filter: $filter, limit: $limit, offset: $offset) {
91
+ items { ...ProductContentPageFields }
92
+ total
93
+ hasMore
94
+ }
95
+ }
96
+ `,E=`
97
+ ${d}
98
+ query ContentPage($id: ID!) {
99
+ contentPage(id: $id) { ...ProductContentPageFields }
100
+ }
101
+ `,T=`
102
+ ${d}
103
+ mutation CreateContentPage($input: CreateContentPageInput!) {
104
+ createContentPage(input: $input) { ...ProductContentPageFields }
105
+ }
106
+ `,A=`
107
+ ${d}
108
+ mutation UpdateContentPage($id: ID!, $input: UpdateContentPageInput!) {
109
+ updateContentPage(id: $id, input: $input) { ...ProductContentPageFields }
110
+ }
111
+ `,I=`
112
+ mutation DeleteContentPage($id: ID!) {
113
+ deleteContentPage(id: $id)
114
+ }
115
+ `,b=`
116
+ ${s}
117
+ query FeatureFlags($filter: FeatureFlagFilterInput, $limit: Int, $offset: Int) {
118
+ featureFlags(filter: $filter, limit: $limit, offset: $offset) {
119
+ items { ...FeatureFlagFields }
120
+ total
121
+ hasMore
122
+ }
123
+ }
124
+ `,$=`
125
+ ${s}
126
+ query FeatureFlag($id: ID!) {
127
+ featureFlag(id: $id) { ...FeatureFlagFields }
128
+ }
129
+ `,h=`
130
+ query EvaluateFeatureFlags($input: EvaluateFeatureFlagsInput!) {
131
+ evaluateFeatureFlags(input: $input) {
132
+ evaluations {
133
+ key
134
+ value
135
+ variant
136
+ reason
137
+ flagType
138
+ errorCode
139
+ }
140
+ }
141
+ }
142
+ `,_=`
143
+ mutation SetWorkspaceFeatureFlagOverride($input: SetWorkspaceFeatureFlagOverrideInput!) {
144
+ setWorkspaceFeatureFlagOverride(input: $input) {
145
+ id featureFlagId workspaceId enabled allowUserOptIn
146
+ createdAt updatedAt createdBy updatedBy
147
+ }
148
+ }
149
+ `;function U(a){let{global:r}=a.gql;return {async list(t){return (await r.request(S,{productId:t?.productId,filter:t?.filter,limit:t?.limit,offset:t?.offset})).contentPages},async get(t){return (await r.request(E,{id:t})).contentPage},async create(t){return (await r.request(T,{input:t})).createContentPage},async update(t,e){return (await r.request(A,{id:t,input:e})).updateContentPage},async delete(t){return (await r.request(I,{id:t})).deleteContentPage}}}function K(a){let{global:r}=a.gql;return {async list(t,e){return (await r.request(b,{filter:t,limit:e?.limit,offset:e?.offset})).featureFlags},async get(t){return (await r.request($,{id:t})).featureFlag},async evaluate(t,e){return (await r.request(h,{input:{workspaceId:t,keys:e}})).evaluateFeatureFlags},async set(t){return (await r.request(_,{input:t})).setWorkspaceFeatureFlagOverride}}}function O(a){let{global:r}=a.gql;return {async list(t,e){return (await r.request(c,{filter:t,limit:e?.limit,offset:e?.offset})).platformProducts},async get(t){return (await r.request(l,{id:t})).platformProduct},async create(t){return (await r.request(p,{input:t})).createPlatformProduct},async update(t,e){return (await r.request(P,{id:t,input:e})).updatePlatformProduct},async delete(t){return (await r.request(m,{id:t})).deletePlatformProduct}}}function R(a){let{global:r}=a.gql;return {async list(t,e){return (await r.request(g,{filter:t,limit:e?.limit,offset:e?.offset})).keyboardShortcuts},async get(t){return (await r.request(F,{id:t})).keyboardShortcut},async create(t){return (await r.request(f,{input:t})).createKeyboardShortcut},async update(t,e){return (await r.request(y,{id:t,input:e})).updateKeyboardShortcut},async delete(t){return (await r.request(C,{id:t})).deleteKeyboardShortcut}}}var x={id:"products",version:"1.0.0",displayName:"Products",dependsOn:["auth"],attach(a){return {products:O(a),shortcuts:R(a),contentPages:U(a),featureFlags:K(a)}}},Y=x;module.exports=Y;