@lessly/sdk-app 0.2.0 → 0.3.1

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 (49) hide show
  1. package/README.md +24 -14
  2. package/dist/client.gen-DtgaSZYB.d.cts +909 -0
  3. package/dist/client.gen-DtgaSZYB.d.ts +909 -0
  4. package/dist/index.cjs +735 -23
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +1 -1
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.js +735 -23
  9. package/dist/index.js.map +1 -1
  10. package/dist/organization/index.cjs +251 -0
  11. package/dist/organization/index.cjs.map +1 -0
  12. package/dist/organization/index.d.cts +200 -0
  13. package/dist/organization/index.d.ts +200 -0
  14. package/dist/organization/index.js +201 -0
  15. package/dist/organization/index.js.map +1 -0
  16. package/dist/playground/index.cjs +55 -0
  17. package/dist/playground/index.cjs.map +1 -1
  18. package/dist/playground/index.d.cts +46 -2
  19. package/dist/playground/index.d.ts +46 -2
  20. package/dist/playground/index.js +45 -1
  21. package/dist/playground/index.js.map +1 -1
  22. package/docs/recipes/sdk-usage.md +24 -14
  23. package/package.json +7 -11
  24. package/src/gen/bindings.gen.ts +735 -23
  25. package/src/gen/client.gen.ts +219 -25
  26. package/src/gen/manifest.gen.ts +1 -1
  27. package/src/gen/organization/index.ts +3 -0
  28. package/src/gen/organization/queryOptions.gen.ts +318 -0
  29. package/src/gen/playground/index.ts +1 -1
  30. package/src/gen/playground/queryOptions.gen.ts +76 -0
  31. package/src/gen/types.gen.ts +900 -27
  32. package/dist/client.gen-kP64GHhc.d.cts +0 -75
  33. package/dist/client.gen-kP64GHhc.d.ts +0 -75
  34. package/dist/mail/index.cjs +0 -16
  35. package/dist/mail/index.cjs.map +0 -1
  36. package/dist/mail/index.d.cts +0 -13
  37. package/dist/mail/index.d.ts +0 -13
  38. package/dist/mail/index.js +0 -13
  39. package/dist/mail/index.js.map +0 -1
  40. package/dist/tracking/index.cjs +0 -26
  41. package/dist/tracking/index.cjs.map +0 -1
  42. package/dist/tracking/index.d.cts +0 -20
  43. package/dist/tracking/index.d.ts +0 -20
  44. package/dist/tracking/index.js +0 -21
  45. package/dist/tracking/index.js.map +0 -1
  46. package/src/gen/mail/index.ts +0 -3
  47. package/src/gen/mail/queryOptions.gen.ts +0 -17
  48. package/src/gen/tracking/index.ts +0 -3
  49. package/src/gen/tracking/queryOptions.gen.ts +0 -31
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/gen/organization/queryOptions.gen.ts"],"names":[],"mappings":";AA0EO,IAAM,8BAAA,GAAiC,CAAC,GAAA,EAAsB,KAAA,MAAoC;AAAA,EACvG,QAAA,EAAU,CAAC,cAAA,EAAgB,MAAA,EAAQ,MAAM,KAAK,CAAA;AAAA,EAC9C,OAAA,EAAS,MAAM,GAAA,CAAI,cAAc,EAAE,MAAM,CAAA,CAAE,IAAI,CAAA,CAAE,KAAK;AACxD,CAAA;AAEO,IAAM,oCAAA,GAAuC,CAAC,GAAA,EAAsB,KAAA,MAA0C;AAAA,EACnH,QAAA,EAAU,CAAC,cAAA,EAAgB,UAAA,EAAY,QAAQ,KAAK,CAAA;AAAA,EACpD,OAAA,EAAS,MAAM,GAAA,CAAI,cAAc,EAAE,UAAU,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AAC9D,CAAA;AAEO,IAAM,yCAAA,GAA4C,CAAC,GAAA,MAA0B;AAAA,EAClF,WAAA,EAAa,CAAC,cAAA,EAAgB,SAAA,EAAW,SAAS,CAAA;AAAA,EAClD,UAAA,EAAY,CAAC,KAAA,KAA2C,GAAA,CAAI,cAAc,EAAE,SAAS,CAAA,CAAE,SAAS,CAAA,CAAE,KAAK;AACzG,CAAA;AAEO,IAAM,gDAAA,GAAmD,CAAC,GAAA,EAAsB,KAAA,MAAsD;AAAA,EAC3I,QAAA,EAAU,CAAC,cAAA,EAAgB,SAAA,EAAW,sBAAsB,KAAK,CAAA;AAAA,EACjE,OAAA,EAAS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KAAwC,GAAA,CAAI,cAAc,EAAE,OAAO,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AACnG,CAAA;AAEO,IAAM,sCAAA,GAAyC,CAAC,GAAA,MAA0B;AAAA,EAC/E,WAAA,EAAa,CAAC,cAAA,EAAgB,OAAA,EAAS,QAAQ,CAAA;AAAA,EAC/C,UAAA,EAAY,CAAC,KAAA,KAAwC,GAAA,CAAI,cAAc,EAAE,OAAO,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AACnG,CAAA;AAEO,IAAM,gCAAA,GAAmC,CAAC,GAAA,EAAsB,KAAA,MAAsC;AAAA,EAC3G,QAAA,EAAU,CAAC,cAAA,EAAgB,OAAA,EAAS,OAAO,KAAK,CAAA;AAAA,EAChD,OAAA,EAAS,MAAM,GAAA,CAAI,cAAc,EAAE,OAAO,CAAA,CAAE,KAAK,CAAA,CAAE,KAAK;AAC1D,CAAA;AAEO,IAAM,iCAAA,GAAoC,CAAC,GAAA,EAAsB,KAAA,MAAuC;AAAA,EAC7G,QAAA,EAAU,CAAC,cAAA,EAAgB,OAAA,EAAS,QAAQ,KAAK,CAAA;AAAA,EACjD,OAAA,EAAS,MAAM,GAAA,CAAI,cAAc,EAAE,OAAO,CAAA,CAAE,MAAM,CAAA,CAAE,KAAK;AAC3D,CAAA;AAEO,IAAM,sCAAA,GAAyC,CAAC,GAAA,MAA0B;AAAA,EAC/E,WAAA,EAAa,CAAC,cAAA,EAAgB,OAAA,EAAS,QAAQ,CAAA;AAAA,EAC/C,UAAA,EAAY,CAAC,KAAA,KAAwC,GAAA,CAAI,cAAc,EAAE,OAAO,CAAA,CAAE,QAAQ,CAAA,CAAE,KAAK;AACnG,CAAA","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n OrganizationAuthMeInput,\n OrganizationAuthMeOutput,\n OrganizationBindingsListInput,\n OrganizationBindingsListOutput,\n OrganizationClickupInstallInput,\n OrganizationClickupListInstallationsInput,\n OrganizationClickupListInstallationsOutput,\n OrganizationCloudflareInstallInput,\n OrganizationConnectorsAttachInput,\n OrganizationConnectorsDeleteInput,\n OrganizationConnectorsDetachInput,\n OrganizationConnectorsListAttachmentsInput,\n OrganizationConnectorsListAttachmentsOutput,\n OrganizationConnectorsListInput,\n OrganizationConnectorsListOrgInput,\n OrganizationConnectorsListOrgOutput,\n OrganizationConnectorsListOutput,\n OrganizationConnectorsRemoveInput,\n OrganizationDomainsAddInput,\n OrganizationDomainsGetInput,\n OrganizationDomainsGetOutput,\n OrganizationDomainsListInput,\n OrganizationDomainsListOutput,\n OrganizationDomainsRemoveInput,\n OrganizationExtensionsInstallInput,\n OrganizationExtensionsListInput,\n OrganizationExtensionsListInstalledInput,\n OrganizationExtensionsListInstalledOutput,\n OrganizationExtensionsListOutput,\n OrganizationExtensionsUninstallInput,\n OrganizationGdriveInstallInput,\n OrganizationGithubInstallInput,\n OrganizationGithubListInstallationsInput,\n OrganizationGithubListInstallationsOutput,\n OrganizationGoogleadsInstallInput,\n OrganizationMemberAcceptInviteInput,\n OrganizationMemberInviteInput,\n OrganizationMemberListInput,\n OrganizationMemberListInvitationsInput,\n OrganizationMemberListInvitationsOutput,\n OrganizationMemberListOutput,\n OrganizationMemberListProductAccessInput,\n OrganizationMemberListProductAccessOutput,\n OrganizationMemberRemoveInput,\n OrganizationMemberRevokeInvitationInput,\n OrganizationMemberSetRoleInput,\n OrganizationMemberShareProductInput,\n OrganizationMemberUnshareProductInput,\n OrganizationMembersAssignRoleInput,\n OrganizationPermissionCatalogInput,\n OrganizationPermissionCatalogOutput,\n OrganizationProductAcceptInvitationInput,\n OrganizationProductCreateInput,\n OrganizationProductInviteInput,\n OrganizationProductListInput,\n OrganizationProductListInvitationsInput,\n OrganizationProductListInvitationsOutput,\n OrganizationProductListMembersInput,\n OrganizationProductListMembersOutput,\n OrganizationProductListOutput,\n OrganizationProductRevokeInvitationInput,\n OrganizationProductSelectInput,\n OrganizationRolesCreateInput,\n OrganizationRolesDeleteInput,\n OrganizationRolesGetInput,\n OrganizationRolesGetOutput,\n OrganizationRolesListInput,\n OrganizationRolesListOutput,\n OrganizationRolesUpdateInput,\n} from '../types.gen';\n\nexport const organizationAuthMeQueryOptions = (sdk: GeneratedClient, input: OrganizationAuthMeInput) => ({\n queryKey: ['organization', 'auth', 'me', input] as const,\n queryFn: () => sdk['organization']['auth']['me'](input),\n});\n\nexport const organizationBindingsListQueryOptions = (sdk: GeneratedClient, input: OrganizationBindingsListInput) => ({\n queryKey: ['organization', 'bindings', 'list', input] as const,\n queryFn: () => sdk['organization']['bindings']['list'](input),\n});\n\nexport const organizationClickupInstallMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'clickup', 'install'],\n mutationFn: (input: OrganizationClickupInstallInput) => sdk['organization']['clickup']['install'](input),\n});\n\nexport const organizationClickupListInstallationsQueryOptions = (sdk: GeneratedClient, input: OrganizationClickupListInstallationsInput) => ({\n queryKey: ['organization', 'clickup', 'list-installations', input] as const,\n queryFn: () => sdk['organization']['clickup']['list-installations'](input),\n});\n\nexport const organizationCloudflareInstallMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'cloudflare', 'install'],\n mutationFn: (input: OrganizationCloudflareInstallInput) => sdk['organization']['cloudflare']['install'](input),\n});\n\nexport const organizationConnectorsAttachMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'connectors', 'attach'],\n mutationFn: (input: OrganizationConnectorsAttachInput) => sdk['organization']['connectors']['attach'](input),\n});\n\nexport const organizationConnectorsDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'connectors', 'delete'],\n mutationFn: (input: OrganizationConnectorsDeleteInput) => sdk['organization']['connectors']['delete'](input),\n});\n\nexport const organizationConnectorsDetachMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'connectors', 'detach'],\n mutationFn: (input: OrganizationConnectorsDetachInput) => sdk['organization']['connectors']['detach'](input),\n});\n\nexport const organizationConnectorsListQueryOptions = (sdk: GeneratedClient, input: OrganizationConnectorsListInput) => ({\n queryKey: ['organization', 'connectors', 'list', input] as const,\n queryFn: () => sdk['organization']['connectors']['list'](input),\n});\n\nexport const organizationConnectorsListAttachmentsQueryOptions = (sdk: GeneratedClient, input: OrganizationConnectorsListAttachmentsInput) => ({\n queryKey: ['organization', 'connectors', 'list-attachments', input] as const,\n queryFn: () => sdk['organization']['connectors']['list-attachments'](input),\n});\n\nexport const organizationConnectorsListOrgQueryOptions = (sdk: GeneratedClient, input: OrganizationConnectorsListOrgInput) => ({\n queryKey: ['organization', 'connectors', 'list-org', input] as const,\n queryFn: () => sdk['organization']['connectors']['list-org'](input),\n});\n\nexport const organizationConnectorsRemoveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'connectors', 'remove'],\n mutationFn: (input: OrganizationConnectorsRemoveInput) => sdk['organization']['connectors']['remove'](input),\n});\n\nexport const organizationDomainsAddMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'domains', 'add'],\n mutationFn: (input: OrganizationDomainsAddInput) => sdk['organization']['domains']['add'](input),\n});\n\nexport const organizationDomainsGetQueryOptions = (sdk: GeneratedClient, input: OrganizationDomainsGetInput) => ({\n queryKey: ['organization', 'domains', 'get', input] as const,\n queryFn: () => sdk['organization']['domains']['get'](input),\n});\n\nexport const organizationDomainsListQueryOptions = (sdk: GeneratedClient, input: OrganizationDomainsListInput) => ({\n queryKey: ['organization', 'domains', 'list', input] as const,\n queryFn: () => sdk['organization']['domains']['list'](input),\n});\n\nexport const organizationDomainsRemoveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'domains', 'remove'],\n mutationFn: (input: OrganizationDomainsRemoveInput) => sdk['organization']['domains']['remove'](input),\n});\n\nexport const organizationExtensionsInstallMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'extensions', 'install'],\n mutationFn: (input: OrganizationExtensionsInstallInput) => sdk['organization']['extensions']['install'](input),\n});\n\nexport const organizationExtensionsListQueryOptions = (sdk: GeneratedClient, input: OrganizationExtensionsListInput) => ({\n queryKey: ['organization', 'extensions', 'list', input] as const,\n queryFn: () => sdk['organization']['extensions']['list'](input),\n});\n\nexport const organizationExtensionsListInstalledQueryOptions = (sdk: GeneratedClient, input: OrganizationExtensionsListInstalledInput) => ({\n queryKey: ['organization', 'extensions', 'list-installed', input] as const,\n queryFn: () => sdk['organization']['extensions']['list-installed'](input),\n});\n\nexport const organizationExtensionsUninstallMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'extensions', 'uninstall'],\n mutationFn: (input: OrganizationExtensionsUninstallInput) => sdk['organization']['extensions']['uninstall'](input),\n});\n\nexport const organizationGdriveInstallMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'gdrive', 'install'],\n mutationFn: (input: OrganizationGdriveInstallInput) => sdk['organization']['gdrive']['install'](input),\n});\n\nexport const organizationGithubInstallMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'github', 'install'],\n mutationFn: (input: OrganizationGithubInstallInput) => sdk['organization']['github']['install'](input),\n});\n\nexport const organizationGithubListInstallationsQueryOptions = (sdk: GeneratedClient, input: OrganizationGithubListInstallationsInput) => ({\n queryKey: ['organization', 'github', 'list-installations', input] as const,\n queryFn: () => sdk['organization']['github']['list-installations'](input),\n});\n\nexport const organizationGoogleadsInstallMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'googleads', 'install'],\n mutationFn: (input: OrganizationGoogleadsInstallInput) => sdk['organization']['googleads']['install'](input),\n});\n\nexport const organizationMemberAcceptInviteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'member', 'accept-invite'],\n mutationFn: (input: OrganizationMemberAcceptInviteInput) => sdk['organization']['member']['accept-invite'](input),\n});\n\nexport const organizationMemberInviteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'member', 'invite'],\n mutationFn: (input: OrganizationMemberInviteInput) => sdk['organization']['member']['invite'](input),\n});\n\nexport const organizationMemberListQueryOptions = (sdk: GeneratedClient, input: OrganizationMemberListInput) => ({\n queryKey: ['organization', 'member', 'list', input] as const,\n queryFn: () => sdk['organization']['member']['list'](input),\n});\n\nexport const organizationMemberListInvitationsQueryOptions = (sdk: GeneratedClient, input: OrganizationMemberListInvitationsInput) => ({\n queryKey: ['organization', 'member', 'list-invitations', input] as const,\n queryFn: () => sdk['organization']['member']['list-invitations'](input),\n});\n\nexport const organizationMemberListProductAccessQueryOptions = (sdk: GeneratedClient, input: OrganizationMemberListProductAccessInput) => ({\n queryKey: ['organization', 'member', 'list-product-access', input] as const,\n queryFn: () => sdk['organization']['member']['list-product-access'](input),\n});\n\nexport const organizationMemberRemoveMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'member', 'remove'],\n mutationFn: (input: OrganizationMemberRemoveInput) => sdk['organization']['member']['remove'](input),\n});\n\nexport const organizationMemberRevokeInvitationMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'member', 'revoke-invitation'],\n mutationFn: (input: OrganizationMemberRevokeInvitationInput) => sdk['organization']['member']['revoke-invitation'](input),\n});\n\nexport const organizationMemberSetRoleMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'member', 'set-role'],\n mutationFn: (input: OrganizationMemberSetRoleInput) => sdk['organization']['member']['set-role'](input),\n});\n\nexport const organizationMemberShareProductMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'member', 'share-product'],\n mutationFn: (input: OrganizationMemberShareProductInput) => sdk['organization']['member']['share-product'](input),\n});\n\nexport const organizationMemberUnshareProductMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'member', 'unshare-product'],\n mutationFn: (input: OrganizationMemberUnshareProductInput) => sdk['organization']['member']['unshare-product'](input),\n});\n\nexport const organizationMembersAssignRoleMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'members', 'assign-role'],\n mutationFn: (input: OrganizationMembersAssignRoleInput) => sdk['organization']['members']['assign-role'](input),\n});\n\nexport const organizationPermissionCatalogQueryOptions = (sdk: GeneratedClient, input: OrganizationPermissionCatalogInput) => ({\n queryKey: ['organization', 'permission', 'catalog', input] as const,\n queryFn: () => sdk['organization']['permission']['catalog'](input),\n});\n\nexport const organizationProductAcceptInvitationMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'product', 'accept-invitation'],\n mutationFn: (input: OrganizationProductAcceptInvitationInput) => sdk['organization']['product']['accept-invitation'](input),\n});\n\nexport const organizationProductCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'product', 'create'],\n mutationFn: (input: OrganizationProductCreateInput) => sdk['organization']['product']['create'](input),\n});\n\nexport const organizationProductInviteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'product', 'invite'],\n mutationFn: (input: OrganizationProductInviteInput) => sdk['organization']['product']['invite'](input),\n});\n\nexport const organizationProductListQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListInput) => ({\n queryKey: ['organization', 'product', 'list', input] as const,\n queryFn: () => sdk['organization']['product']['list'](input),\n});\n\nexport const organizationProductListInvitationsQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListInvitationsInput) => ({\n queryKey: ['organization', 'product', 'list-invitations', input] as const,\n queryFn: () => sdk['organization']['product']['list-invitations'](input),\n});\n\nexport const organizationProductListMembersQueryOptions = (sdk: GeneratedClient, input: OrganizationProductListMembersInput) => ({\n queryKey: ['organization', 'product', 'list-members', input] as const,\n queryFn: () => sdk['organization']['product']['list-members'](input),\n});\n\nexport const organizationProductRevokeInvitationMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'product', 'revoke-invitation'],\n mutationFn: (input: OrganizationProductRevokeInvitationInput) => sdk['organization']['product']['revoke-invitation'](input),\n});\n\nexport const organizationProductSelectMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'product', 'select'],\n mutationFn: (input: OrganizationProductSelectInput) => sdk['organization']['product']['select'](input),\n});\n\nexport const organizationRolesCreateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'roles', 'create'],\n mutationFn: (input: OrganizationRolesCreateInput) => sdk['organization']['roles']['create'](input),\n});\n\nexport const organizationRolesDeleteMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'roles', 'delete'],\n mutationFn: (input: OrganizationRolesDeleteInput) => sdk['organization']['roles']['delete'](input),\n});\n\nexport const organizationRolesGetQueryOptions = (sdk: GeneratedClient, input: OrganizationRolesGetInput) => ({\n queryKey: ['organization', 'roles', 'get', input] as const,\n queryFn: () => sdk['organization']['roles']['get'](input),\n});\n\nexport const organizationRolesListQueryOptions = (sdk: GeneratedClient, input: OrganizationRolesListInput) => ({\n queryKey: ['organization', 'roles', 'list', input] as const,\n queryFn: () => sdk['organization']['roles']['list'](input),\n});\n\nexport const organizationRolesUpdateMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['organization', 'roles', 'update'],\n mutationFn: (input: OrganizationRolesUpdateInput) => sdk['organization']['roles']['update'](input),\n});\n"]}
@@ -1,11 +1,66 @@
1
1
  'use strict';
2
2
 
3
3
  // src/gen/playground/queryOptions.gen.ts
4
+ var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
5
+ queryKey: ["playground", "analytics", "overview", input],
6
+ queryFn: () => sdk["playground"]["analytics"]["overview"](input)
7
+ });
8
+ var playgroundBillingEntitlementsQueryOptions = (sdk, input) => ({
9
+ queryKey: ["playground", "billing", "entitlements", input],
10
+ queryFn: () => sdk["playground"]["billing"]["entitlements"](input)
11
+ });
4
12
  var playgroundBillingRecordUsageMutationOptions = (sdk) => ({
5
13
  mutationKey: ["playground", "billing", "record-usage"],
6
14
  mutationFn: (input) => sdk["playground"]["billing"]["record-usage"](input)
7
15
  });
16
+ var playgroundClickupCreateTaskMutationOptions = (sdk) => ({
17
+ mutationKey: ["playground", "clickup", "create-task"],
18
+ mutationFn: (input) => sdk["playground"]["clickup"]["create-task"](input)
19
+ });
20
+ var playgroundClickupGetLastWebhookQueryOptions = (sdk, input) => ({
21
+ queryKey: ["playground", "clickup", "get-last-webhook", input],
22
+ queryFn: () => sdk["playground"]["clickup"]["get-last-webhook"](input)
23
+ });
24
+ var playgroundClickupGetOverviewQueryOptions = (sdk, input) => ({
25
+ queryKey: ["playground", "clickup", "get-overview", input],
26
+ queryFn: () => sdk["playground"]["clickup"]["get-overview"](input)
27
+ });
28
+ var playgroundGdriveGetLastChangeQueryOptions = (sdk, input) => ({
29
+ queryKey: ["playground", "gdrive", "get-last-change", input],
30
+ queryFn: () => sdk["playground"]["gdrive"]["get-last-change"](input)
31
+ });
32
+ var playgroundGdriveReadFileQueryOptions = (sdk, input) => ({
33
+ queryKey: ["playground", "gdrive", "read-file", input],
34
+ queryFn: () => sdk["playground"]["gdrive"]["read-file"](input)
35
+ });
36
+ var playgroundGoogleadsReadCustomerQueryOptions = (sdk, input) => ({
37
+ queryKey: ["playground", "googleads", "read-customer", input],
38
+ queryFn: () => sdk["playground"]["googleads"]["read-customer"](input)
39
+ });
40
+ var playgroundLifecycleGetStateQueryOptions = (sdk, input) => ({
41
+ queryKey: ["playground", "lifecycle", "get-state", input],
42
+ queryFn: () => sdk["playground"]["lifecycle"]["get-state"](input)
43
+ });
44
+ var playgroundLifecycleListEventsQueryOptions = (sdk, input) => ({
45
+ queryKey: ["playground", "lifecycle", "list-events", input],
46
+ queryFn: () => sdk["playground"]["lifecycle"]["list-events"](input)
47
+ });
48
+ var playgroundWebhookGetLastQueryOptions = (sdk, input) => ({
49
+ queryKey: ["playground", "webhook", "get-last", input],
50
+ queryFn: () => sdk["playground"]["webhook"]["get-last"](input)
51
+ });
8
52
 
53
+ exports.playgroundAnalyticsOverviewQueryOptions = playgroundAnalyticsOverviewQueryOptions;
54
+ exports.playgroundBillingEntitlementsQueryOptions = playgroundBillingEntitlementsQueryOptions;
9
55
  exports.playgroundBillingRecordUsageMutationOptions = playgroundBillingRecordUsageMutationOptions;
56
+ exports.playgroundClickupCreateTaskMutationOptions = playgroundClickupCreateTaskMutationOptions;
57
+ exports.playgroundClickupGetLastWebhookQueryOptions = playgroundClickupGetLastWebhookQueryOptions;
58
+ exports.playgroundClickupGetOverviewQueryOptions = playgroundClickupGetOverviewQueryOptions;
59
+ exports.playgroundGdriveGetLastChangeQueryOptions = playgroundGdriveGetLastChangeQueryOptions;
60
+ exports.playgroundGdriveReadFileQueryOptions = playgroundGdriveReadFileQueryOptions;
61
+ exports.playgroundGoogleadsReadCustomerQueryOptions = playgroundGoogleadsReadCustomerQueryOptions;
62
+ exports.playgroundLifecycleGetStateQueryOptions = playgroundLifecycleGetStateQueryOptions;
63
+ exports.playgroundLifecycleListEventsQueryOptions = playgroundLifecycleListEventsQueryOptions;
64
+ exports.playgroundWebhookGetLastQueryOptions = playgroundWebhookGetLastQueryOptions;
10
65
  //# sourceMappingURL=index.cjs.map
11
66
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/gen/playground/queryOptions.gen.ts"],"names":[],"mappings":";;;AAMO,IAAM,2CAAA,GAA8C,CAAC,GAAA,MAA0B;AAAA,EACpF,WAAA,EAAa,CAAC,YAAA,EAAc,SAAA,EAAW,cAAc,CAAA;AAAA,EACrD,UAAA,EAAY,CAAC,KAAA,KAA6C,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,cAAc,CAAA,CAAE,KAAK;AAC9G,CAAA","file":"index.cjs","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n PlaygroundBillingRecordUsageInput,\n} from '../types.gen';\n\nexport const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'billing', 'record-usage'],\n mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),\n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,KAAK;AAClE,CAAA;AAEO,IAAM,yCAAA,GAA4C,CAAC,GAAA,EAAsB,KAAA,MAA+C;AAAA,EAC7H,QAAA,EAAU,CAAC,YAAA,EAAc,WAAA,EAAa,eAAe,KAAK,CAAA;AAAA,EAC1D,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,WAAW,CAAA,CAAE,aAAa,CAAA,CAAE,KAAK;AACpE,CAAA;AAEO,IAAM,oCAAA,GAAuC,CAAC,GAAA,EAAsB,KAAA,MAA0C;AAAA,EACnH,QAAA,EAAU,CAAC,YAAA,EAAc,SAAA,EAAW,YAAY,KAAK,CAAA;AAAA,EACrD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,UAAU,CAAA,CAAE,KAAK;AAC/D,CAAA","file":"index.cjs","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n PlaygroundAnalyticsOverviewInput,\n PlaygroundAnalyticsOverviewOutput,\n PlaygroundBillingEntitlementsInput,\n PlaygroundBillingEntitlementsOutput,\n PlaygroundBillingRecordUsageInput,\n PlaygroundClickupCreateTaskInput,\n PlaygroundClickupGetLastWebhookInput,\n PlaygroundClickupGetLastWebhookOutput,\n PlaygroundClickupGetOverviewInput,\n PlaygroundClickupGetOverviewOutput,\n PlaygroundGdriveGetLastChangeInput,\n PlaygroundGdriveGetLastChangeOutput,\n PlaygroundGdriveReadFileInput,\n PlaygroundGdriveReadFileOutput,\n PlaygroundGoogleadsReadCustomerInput,\n PlaygroundGoogleadsReadCustomerOutput,\n PlaygroundLifecycleGetStateInput,\n PlaygroundLifecycleGetStateOutput,\n PlaygroundLifecycleListEventsInput,\n PlaygroundLifecycleListEventsOutput,\n PlaygroundWebhookGetLastInput,\n PlaygroundWebhookGetLastOutput,\n} from '../types.gen';\n\nexport const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({\n queryKey: ['playground', 'analytics', 'overview', input] as const,\n queryFn: () => sdk['playground']['analytics']['overview'](input),\n});\n\nexport const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({\n queryKey: ['playground', 'billing', 'entitlements', input] as const,\n queryFn: () => sdk['playground']['billing']['entitlements'](input),\n});\n\nexport const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'billing', 'record-usage'],\n mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),\n});\n\nexport const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'clickup', 'create-task'],\n mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),\n});\n\nexport const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({\n queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),\n});\n\nexport const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({\n queryKey: ['playground', 'clickup', 'get-overview', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-overview'](input),\n});\n\nexport const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({\n queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,\n queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),\n});\n\nexport const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({\n queryKey: ['playground', 'gdrive', 'read-file', input] as const,\n queryFn: () => sdk['playground']['gdrive']['read-file'](input),\n});\n\nexport const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({\n queryKey: ['playground', 'googleads', 'read-customer', input] as const,\n queryFn: () => sdk['playground']['googleads']['read-customer'](input),\n});\n\nexport const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({\n queryKey: ['playground', 'lifecycle', 'get-state', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['get-state'](input),\n});\n\nexport const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({\n queryKey: ['playground', 'lifecycle', 'list-events', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['list-events'](input),\n});\n\nexport const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({\n queryKey: ['playground', 'webhook', 'get-last', input] as const,\n queryFn: () => sdk['playground']['webhook']['get-last'](input),\n});\n"]}
@@ -1,8 +1,52 @@
1
- import { G as GeneratedClient, P as PlaygroundBillingRecordUsageInput, d as PlaygroundBillingRecordUsageOutput } from '../client.gen-kP64GHhc.cjs';
1
+ import { G as GeneratedClient, aJ as PlaygroundAnalyticsOverviewInput, aK as PlaygroundAnalyticsOverviewOutput, aL as PlaygroundBillingEntitlementsInput, aM as PlaygroundBillingEntitlementsOutput, aN as PlaygroundBillingRecordUsageInput, aO as PlaygroundBillingRecordUsageOutput, aP as PlaygroundClickupCreateTaskInput, aQ as PlaygroundClickupCreateTaskOutput, aR as PlaygroundClickupGetLastWebhookInput, aS as PlaygroundClickupGetLastWebhookOutput, aT as PlaygroundClickupGetOverviewInput, aU as PlaygroundClickupGetOverviewOutput, aV as PlaygroundGdriveGetLastChangeInput, aW as PlaygroundGdriveGetLastChangeOutput, aX as PlaygroundGdriveReadFileInput, aY as PlaygroundGdriveReadFileOutput, aZ as PlaygroundGoogleadsReadCustomerInput, a_ as PlaygroundGoogleadsReadCustomerOutput, a$ as PlaygroundLifecycleGetStateInput, b0 as PlaygroundLifecycleGetStateOutput, b1 as PlaygroundLifecycleListEventsInput, b2 as PlaygroundLifecycleListEventsOutput, b3 as PlaygroundWebhookGetLastInput, b4 as PlaygroundWebhookGetLastOutput } from '../client.gen-DtgaSZYB.cjs';
2
2
 
3
+ declare const playgroundAnalyticsOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => {
4
+ queryKey: readonly ["playground", "analytics", "overview", PlaygroundAnalyticsOverviewInput];
5
+ queryFn: () => Promise<PlaygroundAnalyticsOverviewOutput>;
6
+ };
7
+ declare const playgroundBillingEntitlementsQueryOptions: (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => {
8
+ queryKey: readonly ["playground", "billing", "entitlements", PlaygroundBillingEntitlementsInput];
9
+ queryFn: () => Promise<PlaygroundBillingEntitlementsOutput>;
10
+ };
3
11
  declare const playgroundBillingRecordUsageMutationOptions: (sdk: GeneratedClient) => {
4
12
  mutationKey: string[];
5
13
  mutationFn: (input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>;
6
14
  };
15
+ declare const playgroundClickupCreateTaskMutationOptions: (sdk: GeneratedClient) => {
16
+ mutationKey: string[];
17
+ mutationFn: (input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>;
18
+ };
19
+ declare const playgroundClickupGetLastWebhookQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => {
20
+ queryKey: readonly ["playground", "clickup", "get-last-webhook", PlaygroundClickupGetLastWebhookInput];
21
+ queryFn: () => Promise<PlaygroundClickupGetLastWebhookOutput>;
22
+ };
23
+ declare const playgroundClickupGetOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => {
24
+ queryKey: readonly ["playground", "clickup", "get-overview", PlaygroundClickupGetOverviewInput];
25
+ queryFn: () => Promise<PlaygroundClickupGetOverviewOutput>;
26
+ };
27
+ declare const playgroundGdriveGetLastChangeQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => {
28
+ queryKey: readonly ["playground", "gdrive", "get-last-change", PlaygroundGdriveGetLastChangeInput];
29
+ queryFn: () => Promise<PlaygroundGdriveGetLastChangeOutput>;
30
+ };
31
+ declare const playgroundGdriveReadFileQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => {
32
+ queryKey: readonly ["playground", "gdrive", "read-file", PlaygroundGdriveReadFileInput];
33
+ queryFn: () => Promise<PlaygroundGdriveReadFileOutput>;
34
+ };
35
+ declare const playgroundGoogleadsReadCustomerQueryOptions: (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => {
36
+ queryKey: readonly ["playground", "googleads", "read-customer", PlaygroundGoogleadsReadCustomerInput];
37
+ queryFn: () => Promise<PlaygroundGoogleadsReadCustomerOutput>;
38
+ };
39
+ declare const playgroundLifecycleGetStateQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => {
40
+ queryKey: readonly ["playground", "lifecycle", "get-state", PlaygroundLifecycleGetStateInput];
41
+ queryFn: () => Promise<PlaygroundLifecycleGetStateOutput>;
42
+ };
43
+ declare const playgroundLifecycleListEventsQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => {
44
+ queryKey: readonly ["playground", "lifecycle", "list-events", PlaygroundLifecycleListEventsInput];
45
+ queryFn: () => Promise<PlaygroundLifecycleListEventsOutput>;
46
+ };
47
+ declare const playgroundWebhookGetLastQueryOptions: (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => {
48
+ queryKey: readonly ["playground", "webhook", "get-last", PlaygroundWebhookGetLastInput];
49
+ queryFn: () => Promise<PlaygroundWebhookGetLastOutput>;
50
+ };
7
51
 
8
- export { PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, playgroundBillingRecordUsageMutationOptions };
52
+ export { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions };
@@ -1,8 +1,52 @@
1
- import { G as GeneratedClient, P as PlaygroundBillingRecordUsageInput, d as PlaygroundBillingRecordUsageOutput } from '../client.gen-kP64GHhc.js';
1
+ import { G as GeneratedClient, aJ as PlaygroundAnalyticsOverviewInput, aK as PlaygroundAnalyticsOverviewOutput, aL as PlaygroundBillingEntitlementsInput, aM as PlaygroundBillingEntitlementsOutput, aN as PlaygroundBillingRecordUsageInput, aO as PlaygroundBillingRecordUsageOutput, aP as PlaygroundClickupCreateTaskInput, aQ as PlaygroundClickupCreateTaskOutput, aR as PlaygroundClickupGetLastWebhookInput, aS as PlaygroundClickupGetLastWebhookOutput, aT as PlaygroundClickupGetOverviewInput, aU as PlaygroundClickupGetOverviewOutput, aV as PlaygroundGdriveGetLastChangeInput, aW as PlaygroundGdriveGetLastChangeOutput, aX as PlaygroundGdriveReadFileInput, aY as PlaygroundGdriveReadFileOutput, aZ as PlaygroundGoogleadsReadCustomerInput, a_ as PlaygroundGoogleadsReadCustomerOutput, a$ as PlaygroundLifecycleGetStateInput, b0 as PlaygroundLifecycleGetStateOutput, b1 as PlaygroundLifecycleListEventsInput, b2 as PlaygroundLifecycleListEventsOutput, b3 as PlaygroundWebhookGetLastInput, b4 as PlaygroundWebhookGetLastOutput } from '../client.gen-DtgaSZYB.js';
2
2
 
3
+ declare const playgroundAnalyticsOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => {
4
+ queryKey: readonly ["playground", "analytics", "overview", PlaygroundAnalyticsOverviewInput];
5
+ queryFn: () => Promise<PlaygroundAnalyticsOverviewOutput>;
6
+ };
7
+ declare const playgroundBillingEntitlementsQueryOptions: (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => {
8
+ queryKey: readonly ["playground", "billing", "entitlements", PlaygroundBillingEntitlementsInput];
9
+ queryFn: () => Promise<PlaygroundBillingEntitlementsOutput>;
10
+ };
3
11
  declare const playgroundBillingRecordUsageMutationOptions: (sdk: GeneratedClient) => {
4
12
  mutationKey: string[];
5
13
  mutationFn: (input: PlaygroundBillingRecordUsageInput) => Promise<PlaygroundBillingRecordUsageOutput>;
6
14
  };
15
+ declare const playgroundClickupCreateTaskMutationOptions: (sdk: GeneratedClient) => {
16
+ mutationKey: string[];
17
+ mutationFn: (input: PlaygroundClickupCreateTaskInput) => Promise<PlaygroundClickupCreateTaskOutput>;
18
+ };
19
+ declare const playgroundClickupGetLastWebhookQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => {
20
+ queryKey: readonly ["playground", "clickup", "get-last-webhook", PlaygroundClickupGetLastWebhookInput];
21
+ queryFn: () => Promise<PlaygroundClickupGetLastWebhookOutput>;
22
+ };
23
+ declare const playgroundClickupGetOverviewQueryOptions: (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => {
24
+ queryKey: readonly ["playground", "clickup", "get-overview", PlaygroundClickupGetOverviewInput];
25
+ queryFn: () => Promise<PlaygroundClickupGetOverviewOutput>;
26
+ };
27
+ declare const playgroundGdriveGetLastChangeQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => {
28
+ queryKey: readonly ["playground", "gdrive", "get-last-change", PlaygroundGdriveGetLastChangeInput];
29
+ queryFn: () => Promise<PlaygroundGdriveGetLastChangeOutput>;
30
+ };
31
+ declare const playgroundGdriveReadFileQueryOptions: (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => {
32
+ queryKey: readonly ["playground", "gdrive", "read-file", PlaygroundGdriveReadFileInput];
33
+ queryFn: () => Promise<PlaygroundGdriveReadFileOutput>;
34
+ };
35
+ declare const playgroundGoogleadsReadCustomerQueryOptions: (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => {
36
+ queryKey: readonly ["playground", "googleads", "read-customer", PlaygroundGoogleadsReadCustomerInput];
37
+ queryFn: () => Promise<PlaygroundGoogleadsReadCustomerOutput>;
38
+ };
39
+ declare const playgroundLifecycleGetStateQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => {
40
+ queryKey: readonly ["playground", "lifecycle", "get-state", PlaygroundLifecycleGetStateInput];
41
+ queryFn: () => Promise<PlaygroundLifecycleGetStateOutput>;
42
+ };
43
+ declare const playgroundLifecycleListEventsQueryOptions: (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => {
44
+ queryKey: readonly ["playground", "lifecycle", "list-events", PlaygroundLifecycleListEventsInput];
45
+ queryFn: () => Promise<PlaygroundLifecycleListEventsOutput>;
46
+ };
47
+ declare const playgroundWebhookGetLastQueryOptions: (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => {
48
+ queryKey: readonly ["playground", "webhook", "get-last", PlaygroundWebhookGetLastInput];
49
+ queryFn: () => Promise<PlaygroundWebhookGetLastOutput>;
50
+ };
7
51
 
8
- export { PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, playgroundBillingRecordUsageMutationOptions };
52
+ export { PlaygroundAnalyticsOverviewInput, PlaygroundAnalyticsOverviewOutput, PlaygroundBillingEntitlementsInput, PlaygroundBillingEntitlementsOutput, PlaygroundBillingRecordUsageInput, PlaygroundBillingRecordUsageOutput, PlaygroundClickupCreateTaskInput, PlaygroundClickupCreateTaskOutput, PlaygroundClickupGetLastWebhookInput, PlaygroundClickupGetLastWebhookOutput, PlaygroundClickupGetOverviewInput, PlaygroundClickupGetOverviewOutput, PlaygroundGdriveGetLastChangeInput, PlaygroundGdriveGetLastChangeOutput, PlaygroundGdriveReadFileInput, PlaygroundGdriveReadFileOutput, PlaygroundGoogleadsReadCustomerInput, PlaygroundGoogleadsReadCustomerOutput, PlaygroundLifecycleGetStateInput, PlaygroundLifecycleGetStateOutput, PlaygroundLifecycleListEventsInput, PlaygroundLifecycleListEventsOutput, PlaygroundWebhookGetLastInput, PlaygroundWebhookGetLastOutput, playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions };
@@ -1,9 +1,53 @@
1
1
  // src/gen/playground/queryOptions.gen.ts
2
+ var playgroundAnalyticsOverviewQueryOptions = (sdk, input) => ({
3
+ queryKey: ["playground", "analytics", "overview", input],
4
+ queryFn: () => sdk["playground"]["analytics"]["overview"](input)
5
+ });
6
+ var playgroundBillingEntitlementsQueryOptions = (sdk, input) => ({
7
+ queryKey: ["playground", "billing", "entitlements", input],
8
+ queryFn: () => sdk["playground"]["billing"]["entitlements"](input)
9
+ });
2
10
  var playgroundBillingRecordUsageMutationOptions = (sdk) => ({
3
11
  mutationKey: ["playground", "billing", "record-usage"],
4
12
  mutationFn: (input) => sdk["playground"]["billing"]["record-usage"](input)
5
13
  });
14
+ var playgroundClickupCreateTaskMutationOptions = (sdk) => ({
15
+ mutationKey: ["playground", "clickup", "create-task"],
16
+ mutationFn: (input) => sdk["playground"]["clickup"]["create-task"](input)
17
+ });
18
+ var playgroundClickupGetLastWebhookQueryOptions = (sdk, input) => ({
19
+ queryKey: ["playground", "clickup", "get-last-webhook", input],
20
+ queryFn: () => sdk["playground"]["clickup"]["get-last-webhook"](input)
21
+ });
22
+ var playgroundClickupGetOverviewQueryOptions = (sdk, input) => ({
23
+ queryKey: ["playground", "clickup", "get-overview", input],
24
+ queryFn: () => sdk["playground"]["clickup"]["get-overview"](input)
25
+ });
26
+ var playgroundGdriveGetLastChangeQueryOptions = (sdk, input) => ({
27
+ queryKey: ["playground", "gdrive", "get-last-change", input],
28
+ queryFn: () => sdk["playground"]["gdrive"]["get-last-change"](input)
29
+ });
30
+ var playgroundGdriveReadFileQueryOptions = (sdk, input) => ({
31
+ queryKey: ["playground", "gdrive", "read-file", input],
32
+ queryFn: () => sdk["playground"]["gdrive"]["read-file"](input)
33
+ });
34
+ var playgroundGoogleadsReadCustomerQueryOptions = (sdk, input) => ({
35
+ queryKey: ["playground", "googleads", "read-customer", input],
36
+ queryFn: () => sdk["playground"]["googleads"]["read-customer"](input)
37
+ });
38
+ var playgroundLifecycleGetStateQueryOptions = (sdk, input) => ({
39
+ queryKey: ["playground", "lifecycle", "get-state", input],
40
+ queryFn: () => sdk["playground"]["lifecycle"]["get-state"](input)
41
+ });
42
+ var playgroundLifecycleListEventsQueryOptions = (sdk, input) => ({
43
+ queryKey: ["playground", "lifecycle", "list-events", input],
44
+ queryFn: () => sdk["playground"]["lifecycle"]["list-events"](input)
45
+ });
46
+ var playgroundWebhookGetLastQueryOptions = (sdk, input) => ({
47
+ queryKey: ["playground", "webhook", "get-last", input],
48
+ queryFn: () => sdk["playground"]["webhook"]["get-last"](input)
49
+ });
6
50
 
7
- export { playgroundBillingRecordUsageMutationOptions };
51
+ export { playgroundAnalyticsOverviewQueryOptions, playgroundBillingEntitlementsQueryOptions, playgroundBillingRecordUsageMutationOptions, playgroundClickupCreateTaskMutationOptions, playgroundClickupGetLastWebhookQueryOptions, playgroundClickupGetOverviewQueryOptions, playgroundGdriveGetLastChangeQueryOptions, playgroundGdriveReadFileQueryOptions, playgroundGoogleadsReadCustomerQueryOptions, playgroundLifecycleGetStateQueryOptions, playgroundLifecycleListEventsQueryOptions, playgroundWebhookGetLastQueryOptions };
8
52
  //# sourceMappingURL=index.js.map
9
53
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/gen/playground/queryOptions.gen.ts"],"names":[],"mappings":";AAMO,IAAM,2CAAA,GAA8C,CAAC,GAAA,MAA0B;AAAA,EACpF,WAAA,EAAa,CAAC,YAAA,EAAc,SAAA,EAAW,cAAc,CAAA;AAAA,EACrD,UAAA,EAAY,CAAC,KAAA,KAA6C,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,cAAc,CAAA,CAAE,KAAK;AAC9G,CAAA","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n PlaygroundBillingRecordUsageInput,\n} from '../types.gen';\n\nexport const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'billing', 'record-usage'],\n mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),\n});\n"]}
1
+ {"version":3,"sources":["../../src/gen/playground/queryOptions.gen.ts"],"names":[],"mappings":";AA2BO,IAAM,uCAAA,GAA0C,CAAC,GAAA,EAAsB,KAAA,MAA6C;AAAA,EACzH,QAAA,EAAU,CAAC,YAAA,EAAc,WAAA,EAAa,YAAY,KAAK,CAAA;AAAA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WAAW,CAAA,CAAE,aAAa,CAAA,CAAE,KAAK;AACpE,CAAA;AAEO,IAAM,oCAAA,GAAuC,CAAC,GAAA,EAAsB,KAAA,MAA0C;AAAA,EACnH,QAAA,EAAU,CAAC,YAAA,EAAc,SAAA,EAAW,YAAY,KAAK,CAAA;AAAA,EACrD,OAAA,EAAS,MAAM,GAAA,CAAI,YAAY,EAAE,SAAS,CAAA,CAAE,UAAU,CAAA,CAAE,KAAK;AAC/D,CAAA","file":"index.js","sourcesContent":["// AUTOGENERATED by scripts/generate.ts — do not edit.\nimport type { GeneratedClient } from '../client.gen';\nimport type {\n PlaygroundAnalyticsOverviewInput,\n PlaygroundAnalyticsOverviewOutput,\n PlaygroundBillingEntitlementsInput,\n PlaygroundBillingEntitlementsOutput,\n PlaygroundBillingRecordUsageInput,\n PlaygroundClickupCreateTaskInput,\n PlaygroundClickupGetLastWebhookInput,\n PlaygroundClickupGetLastWebhookOutput,\n PlaygroundClickupGetOverviewInput,\n PlaygroundClickupGetOverviewOutput,\n PlaygroundGdriveGetLastChangeInput,\n PlaygroundGdriveGetLastChangeOutput,\n PlaygroundGdriveReadFileInput,\n PlaygroundGdriveReadFileOutput,\n PlaygroundGoogleadsReadCustomerInput,\n PlaygroundGoogleadsReadCustomerOutput,\n PlaygroundLifecycleGetStateInput,\n PlaygroundLifecycleGetStateOutput,\n PlaygroundLifecycleListEventsInput,\n PlaygroundLifecycleListEventsOutput,\n PlaygroundWebhookGetLastInput,\n PlaygroundWebhookGetLastOutput,\n} from '../types.gen';\n\nexport const playgroundAnalyticsOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundAnalyticsOverviewInput) => ({\n queryKey: ['playground', 'analytics', 'overview', input] as const,\n queryFn: () => sdk['playground']['analytics']['overview'](input),\n});\n\nexport const playgroundBillingEntitlementsQueryOptions = (sdk: GeneratedClient, input: PlaygroundBillingEntitlementsInput) => ({\n queryKey: ['playground', 'billing', 'entitlements', input] as const,\n queryFn: () => sdk['playground']['billing']['entitlements'](input),\n});\n\nexport const playgroundBillingRecordUsageMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'billing', 'record-usage'],\n mutationFn: (input: PlaygroundBillingRecordUsageInput) => sdk['playground']['billing']['record-usage'](input),\n});\n\nexport const playgroundClickupCreateTaskMutationOptions = (sdk: GeneratedClient) => ({\n mutationKey: ['playground', 'clickup', 'create-task'],\n mutationFn: (input: PlaygroundClickupCreateTaskInput) => sdk['playground']['clickup']['create-task'](input),\n});\n\nexport const playgroundClickupGetLastWebhookQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetLastWebhookInput) => ({\n queryKey: ['playground', 'clickup', 'get-last-webhook', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-last-webhook'](input),\n});\n\nexport const playgroundClickupGetOverviewQueryOptions = (sdk: GeneratedClient, input: PlaygroundClickupGetOverviewInput) => ({\n queryKey: ['playground', 'clickup', 'get-overview', input] as const,\n queryFn: () => sdk['playground']['clickup']['get-overview'](input),\n});\n\nexport const playgroundGdriveGetLastChangeQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveGetLastChangeInput) => ({\n queryKey: ['playground', 'gdrive', 'get-last-change', input] as const,\n queryFn: () => sdk['playground']['gdrive']['get-last-change'](input),\n});\n\nexport const playgroundGdriveReadFileQueryOptions = (sdk: GeneratedClient, input: PlaygroundGdriveReadFileInput) => ({\n queryKey: ['playground', 'gdrive', 'read-file', input] as const,\n queryFn: () => sdk['playground']['gdrive']['read-file'](input),\n});\n\nexport const playgroundGoogleadsReadCustomerQueryOptions = (sdk: GeneratedClient, input: PlaygroundGoogleadsReadCustomerInput) => ({\n queryKey: ['playground', 'googleads', 'read-customer', input] as const,\n queryFn: () => sdk['playground']['googleads']['read-customer'](input),\n});\n\nexport const playgroundLifecycleGetStateQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleGetStateInput) => ({\n queryKey: ['playground', 'lifecycle', 'get-state', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['get-state'](input),\n});\n\nexport const playgroundLifecycleListEventsQueryOptions = (sdk: GeneratedClient, input: PlaygroundLifecycleListEventsInput) => ({\n queryKey: ['playground', 'lifecycle', 'list-events', input] as const,\n queryFn: () => sdk['playground']['lifecycle']['list-events'](input),\n});\n\nexport const playgroundWebhookGetLastQueryOptions = (sdk: GeneratedClient, input: PlaygroundWebhookGetLastInput) => ({\n queryKey: ['playground', 'webhook', 'get-last', input] as const,\n queryFn: () => sdk['playground']['webhook']['get-last'](input),\n});\n"]}
@@ -18,10 +18,14 @@ const sdk = createLesslyApp({
18
18
  // getCsrfToken defaults to reading the `lessly_csrf` cookie; override for SSR/tests.
19
19
  });
20
20
 
21
- const { domains } = await sdk.tracking.domains.list({ page: 1 });
22
- await sdk.tracking.domains.create({ host: 'links.example.com' });
21
+ const connectors = await sdk.organization.connectors.list({ productId: 'prod_123' });
22
+ await sdk.organization.product.create({ name: 'Acme' });
23
23
  ```
24
24
 
25
+ > The exact namespaces you see depend on the live catalog — see
26
+ > [Namespaces and subpath imports](#namespaces-and-subpath-imports). The calls
27
+ > above use `organization`; substitute the namespace/resource you need.
28
+
25
29
  `productId` is the active product — read it from your `./App` props or the
26
30
  `X-Product-Id` header (see APP-005), never decoded from a token.
27
31
 
@@ -35,7 +39,7 @@ distinguish platform-defined failure reasons:
35
39
  import { LesslyApiError } from '@lessly/sdk-app';
36
40
 
37
41
  try {
38
- await sdk.tracking.domains.create({ host: 'links.example.com' });
42
+ await sdk.organization.product.create({ name: 'Acme' });
39
43
  } catch (err) {
40
44
  if (err instanceof LesslyApiError) {
41
45
  if (err.status === 409) {
@@ -57,14 +61,14 @@ instance explicitly:
57
61
  // React example — works the same with any @tanstack/*-query adapter.
58
62
  import { useQuery, useMutation } from '@tanstack/react-query';
59
63
  import {
60
- trackingDomainsListQueryOptions,
61
- trackingDomainsCreateMutationOptions,
62
- } from '@lessly/sdk-app/tracking';
63
-
64
- function Domains() {
65
- const { data } = useQuery(trackingDomainsListQueryOptions(sdk, { page: 1 }));
66
- const create = useMutation(trackingDomainsCreateMutationOptions(sdk));
67
- // create.mutate({ host: 'links.example.com' })
64
+ organizationConnectorsListQueryOptions,
65
+ organizationProductCreateMutationOptions,
66
+ } from '@lessly/sdk-app/organization';
67
+
68
+ function Connectors() {
69
+ const { data } = useQuery(organizationConnectorsListQueryOptions(sdk, { productId: 'prod_123' }));
70
+ const create = useMutation(organizationProductCreateMutationOptions(sdk));
71
+ // create.mutate({ name: 'Acme' })
68
72
  }
69
73
  ```
70
74
 
@@ -73,7 +77,7 @@ so they also work directly with `queryClient.ensureQueryData(...)` and friends
73
77
  — useful for prefetching outside a component, e.g. in a route loader:
74
78
 
75
79
  ```ts
76
- await queryClient.ensureQueryData(trackingDomainsListQueryOptions(sdk, { page: 1 }));
80
+ await queryClient.ensureQueryData(organizationConnectorsListQueryOptions(sdk, { productId: 'prod_123' }));
77
81
  ```
78
82
 
79
83
  Prefer these factories over hand-rolling calls against `sdk.<namespace>...`
@@ -83,12 +87,18 @@ it automatically when you run `npm i @lessly/sdk-app@latest`.
83
87
 
84
88
  ## Namespaces and subpath imports
85
89
 
86
- The SDK is organized by namespace (`tracking`, `mail`, `playground`, ...). Call
87
- operations off `sdk.<namespace>.<resource>.<action>(...)`, and import that
90
+ The SDK is organized by namespace (currently `organization` and `playground`).
91
+ Call operations off `sdk.<namespace>.<resource>.<action>(...)`, and import that
88
92
  namespace's option factories from the matching subpath,
89
93
  `@lessly/sdk-app/<namespace>` — not the package root. This keeps each App's
90
94
  bundle limited to the namespaces it actually uses.
91
95
 
96
+ The available namespaces track the live catalog and **grow as platform
97
+ extensions migrate to `@lessly/tools`** — a namespace appears here only once its
98
+ tools carry a REST binding. Run `npm i @lessly/sdk-app@latest` to pick up newly
99
+ migrated namespaces. To see exactly what a given version exposes, check its
100
+ subpaths in `package.json` `exports`, or the `manifest.gen.ts` namespace list.
101
+
92
102
  ## What not to do
93
103
 
94
104
  - Don't `fetch` a platform host directly, and don't use any other HTTP client
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lessly/sdk-app",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "engines": {
@@ -39,20 +39,16 @@
39
39
  "import": "./dist/index.js",
40
40
  "require": "./dist/index.cjs"
41
41
  },
42
- "./mail": {
43
- "types": "./dist/mail/index.d.ts",
44
- "import": "./dist/mail/index.js",
45
- "require": "./dist/mail/index.cjs"
42
+ "./organization": {
43
+ "types": "./dist/organization/index.d.ts",
44
+ "import": "./dist/organization/index.js",
45
+ "require": "./dist/organization/index.cjs"
46
46
  },
47
47
  "./playground": {
48
48
  "types": "./dist/playground/index.d.ts",
49
49
  "import": "./dist/playground/index.js",
50
50
  "require": "./dist/playground/index.cjs"
51
- },
52
- "./tracking": {
53
- "types": "./dist/tracking/index.d.ts",
54
- "import": "./dist/tracking/index.js",
55
- "require": "./dist/tracking/index.cjs"
56
51
  }
57
- }
52
+ },
53
+ "sdkContentHash": "sha256:c6888491b9e25a037a38993fa524e1a5b646053465b66a88c5f7dfe3ba69ce70"
58
54
  }