twenty-sdk 2.31.0 → 2.33.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.
- package/dist/billing/index.cjs +1 -1
- package/dist/billing/index.cjs.map +1 -1
- package/dist/billing/index.mjs +2 -2
- package/dist/billing/index.mjs.map +1 -1
- package/dist/{catalog-sync-Ch6nB5uf.mjs → catalog-sync-DUp5hpKi.mjs} +1 -1
- package/dist/{catalog-sync-yH3B_al1.js → catalog-sync-DoEI8JO8.js} +1 -1
- package/dist/cli/utilities/dev/orchestrator/dev-mode-orchestrator.d.ts +2 -0
- package/dist/cli/utilities/translations/collect-translatable-strings.d.ts +2 -1
- package/dist/cli/utilities/translations/compile-application-translations.d.ts +1 -1
- package/dist/cli/utilities/translations/compile-catalog-to-message-ids.d.ts +8 -0
- package/dist/cli/utilities/translations/locale-catalog-format.d.ts +7 -0
- package/dist/cli.cjs +37 -37
- package/dist/cli.mjs +3139 -3132
- package/dist/define/index.cjs +14 -14
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +35 -4
- package/dist/define/index.mjs +2745 -2733
- package/dist/define/index.mjs.map +1 -1
- package/dist/front-component/index.cjs +22 -3
- package/dist/front-component/index.cjs.map +1 -1
- package/dist/front-component/index.d.ts +48 -5
- package/dist/front-component/index.mjs +2026 -655
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/front-component-renderer/build.cjs +1 -1
- package/dist/front-component-renderer/build.mjs +1 -1
- package/dist/{get-front-component-build-plugins-DA62IZes.mjs → get-front-component-build-plugins-Cn-MWltl.mjs} +69 -67
- package/dist/{get-front-component-build-plugins-C-Webbfn.js → get-front-component-build-plugins-DsfkhD6M.js} +8 -8
- package/dist/{get-function-input-schema-GNk3NRLJ-DwfXUGPz.js → get-function-input-schema-GNk3NRLJ-B8zXGirB.js} +1 -1
- package/dist/{get-function-input-schema-GNk3NRLJ-C5HXalke.mjs → get-function-input-schema-GNk3NRLJ-CwF3VRY5.mjs} +1 -1
- package/dist/logic-function/index.cjs +9 -9
- package/dist/logic-function/index.cjs.map +1 -1
- package/dist/logic-function/index.d.ts +17 -4
- package/dist/logic-function/index.mjs +439 -435
- package/dist/logic-function/index.mjs.map +1 -1
- package/dist/{login-BHgUJK94.mjs → login-153niBFr.mjs} +5897 -4474
- package/dist/{login-BzHQgxeV.js → login-Cl5xmujh.js} +66 -47
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +3 -3
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.mjs +2 -2
- package/dist/utils/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/cli/utilities/client/twenty-client-template.d.ts +0 -42
- package/dist/cli/utilities/translations/generate-message-id.d.ts +0 -1
package/dist/billing/index.mjs
CHANGED
|
@@ -2368,8 +2368,8 @@ Qr({
|
|
|
2368
2368
|
]), $.RELATION, $.MORPH_RELATION, $.FILES, $.TS_VECTOR, $.TEXT, $.ARRAY, $.BOOLEAN, $.DATE, $.DATE_TIME, $.NUMBER, $.NUMERIC, $.RAW_JSON, $.RICH_TEXT, $.SELECT, $.MULTI_SELECT;
|
|
2369
2369
|
//#endregion
|
|
2370
2370
|
//#region ../twenty-shared/dist/application.mjs
|
|
2371
|
-
var Vi = "TWENTY_API_URL", Hi =
|
|
2372
|
-
let i = process.env[Vi], a =
|
|
2371
|
+
var Vi = "TWENTY_API_URL", Hi = () => process.env.TWENTY_APP_APPLICATION_ACCESS_TOKEN ?? process.env.TWENTY_APP_ACCESS_TOKEN, Ui = 5e3, Wi = async ({ creditsUsedMicro: e, operationType: t, quantity: n = 1, resourceContext: r }) => {
|
|
2372
|
+
let i = process.env[Vi], a = Hi();
|
|
2373
2373
|
if (!(!i || !a)) try {
|
|
2374
2374
|
let o = await fetch(`${i.replace(/\/$/, "")}/app/billing/charge`, {
|
|
2375
2375
|
method: "POST",
|