twenty-sdk 2.35.0 → 2.37.0

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 (39) hide show
  1. package/dist/billing/index.cjs.map +1 -1
  2. package/dist/billing/index.mjs.map +1 -1
  3. package/dist/{catalog-sync-Cn-gDxAz.js → catalog-sync-Szx_4267.js} +1 -1
  4. package/dist/{catalog-sync-C0Td21sN.mjs → catalog-sync-mAO3vmdp.mjs} +1 -1
  5. package/dist/cli/utilities/api/api-service.d.ts +2 -0
  6. package/dist/cli/utilities/api/file-api.d.ts +41 -0
  7. package/dist/cli/utilities/dev/orchestrator/steps/upload-files-orchestrator-step.d.ts +1 -0
  8. package/dist/cli/utilities/file/file-uploader.d.ts +13 -4
  9. package/dist/cli/utilities/file/put-file-to-upload-url.d.ts +5 -0
  10. package/dist/cli.cjs +15 -15
  11. package/dist/cli.mjs +249 -235
  12. package/dist/define/index.cjs +14 -14
  13. package/dist/define/index.cjs.map +1 -1
  14. package/dist/define/index.d.ts +259 -21
  15. package/dist/define/index.mjs +3142 -3021
  16. package/dist/define/index.mjs.map +1 -1
  17. package/dist/front-component/index.cjs +1 -1
  18. package/dist/front-component/index.cjs.map +1 -1
  19. package/dist/front-component/index.d.ts +1 -0
  20. package/dist/front-component/index.mjs +2 -2
  21. package/dist/front-component/index.mjs.map +1 -1
  22. package/dist/front-component-renderer/build.cjs +1 -1
  23. package/dist/front-component-renderer/build.mjs +1 -1
  24. package/dist/{get-front-component-build-plugins-CcV3Cown.js → get-front-component-build-plugins-DZIleilT.js} +8 -8
  25. package/dist/{get-front-component-build-plugins-BZ1HBS5Y.mjs → get-front-component-build-plugins-WU9ATS3e.mjs} +98 -92
  26. package/dist/{get-function-input-schema-GNk3NRLJ-Byssjp8I.js → get-function-input-schema-GNk3NRLJ-DKoJBhuO.js} +1 -1
  27. package/dist/{get-function-input-schema-GNk3NRLJ-BimwLfRN.mjs → get-function-input-schema-GNk3NRLJ-H7iWzfXn.mjs} +1 -1
  28. package/dist/logic-function/index.cjs +2 -0
  29. package/dist/logic-function/index.cjs.map +1 -1
  30. package/dist/logic-function/index.d.ts +1 -0
  31. package/dist/logic-function/index.mjs +2 -2
  32. package/dist/logic-function/index.mjs.map +1 -1
  33. package/dist/{login-Cl-mw1L0.js → login-4PI5lTOa.js} +61 -31
  34. package/dist/{login-CuJiHYwZ.mjs → login-CNByz3vi.mjs} +5411 -5151
  35. package/dist/operations.cjs +1 -1
  36. package/dist/operations.mjs +1 -1
  37. package/dist/utils/index.cjs.map +1 -1
  38. package/dist/utils/index.mjs.map +1 -1
  39. package/package.json +2 -2
@@ -9,6 +9,7 @@ type AppConnection = {
9
9
  handle: string;
10
10
  visibility: 'user' | 'workspace';
11
11
  userWorkspaceId: string;
12
+ workspaceMemberId: string | null;
12
13
  accessToken: string;
13
14
  scopes: string[];
14
15
  authFailedAt: string | null;
@@ -2514,7 +2514,7 @@ var ua = "TWENTY_API_URL", da = "TWENTY_APP_APPLICATION_ACCESS_TOKEN", fa = () =
2514
2514
  if (o.errors && o.errors.length > 0) throw Error(`${n}() failed: ${o.errors.map((e) => e.message).join(", ")}`);
2515
2515
  if (!o.data) throw Error(`${n}() failed: response contained no data.`);
2516
2516
  return o.data;
2517
- }, pa = "\n query GetAppConnection($id: ID!) {\n appConnection(id: $id) {\n id\n providerName\n name\n handle\n visibility\n userWorkspaceId\n accessToken\n scopes\n authFailedAt\n }\n }\n", ma = async (e) => {
2517
+ }, pa = "\n query GetAppConnection($id: ID!) {\n appConnection(id: $id) {\n id\n providerName\n name\n handle\n visibility\n userWorkspaceId\n workspaceMemberId\n accessToken\n scopes\n authFailedAt\n }\n }\n", ma = async (e) => {
2518
2518
  let { appConnection: t } = await Q({
2519
2519
  query: pa,
2520
2520
  variables: { id: e },
@@ -2522,7 +2522,7 @@ var ua = "TWENTY_API_URL", da = "TWENTY_APP_APPLICATION_ACCESS_TOKEN", fa = () =
2522
2522
  });
2523
2523
  if (t.authFailedAt !== null) throw new ae(t.id);
2524
2524
  return t;
2525
- }, ha = "\n query ListAppConnections($filter: ListAppConnectionsInput) {\n appConnections(filter: $filter) {\n id\n providerName\n name\n handle\n visibility\n userWorkspaceId\n accessToken\n scopes\n authFailedAt\n }\n }\n", ga = async (e = {}) => {
2525
+ }, ha = "\n query ListAppConnections($filter: ListAppConnectionsInput) {\n appConnections(filter: $filter) {\n id\n providerName\n name\n handle\n visibility\n userWorkspaceId\n workspaceMemberId\n accessToken\n scopes\n authFailedAt\n }\n }\n", ga = async (e = {}) => {
2526
2526
  let { appConnections: t } = await Q({
2527
2527
  query: ha,
2528
2528
  variables: { filter: e },