@activepieces/piece-moxie-crm 0.0.8 → 0.0.9

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/package.json CHANGED
@@ -1,18 +1,35 @@
1
1
  {
2
2
  "name": "@activepieces/piece-moxie-crm",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "dependencies": {
5
- "@sinclair/typebox": "0.26.8",
6
- "axios": "1.6.7",
5
+ "@anthropic-ai/sdk": "0.27.3",
6
+ "@sinclair/typebox": "0.33.18",
7
+ "axios": "1.7.7",
8
+ "axios-retry": "4.4.1",
7
9
  "dayjs": "1.11.9",
8
- "is-base64": "1.1.0",
10
+ "deepmerge": "4.3.1",
11
+ "mime-types": "2.1.35",
9
12
  "nanoid": "3.3.6",
13
+ "openai": "4.67.1",
14
+ "replicate": "0.34.1",
10
15
  "semver": "7.6.0",
11
- "@activepieces/pieces-common": "0.2.15",
12
- "@activepieces/pieces-framework": "0.7.32",
13
- "@activepieces/shared": "0.10.107",
14
- "tslib": "1.14.1"
16
+ "@activepieces/pieces-common": "0.2.27",
17
+ "@activepieces/pieces-framework": "0.7.39",
18
+ "@activepieces/shared": "0.10.126",
19
+ "tslib": "2.6.2"
20
+ },
21
+ "overrides": {
22
+ "@tryfabric/martian": {
23
+ "@notionhq/client": "$@notionhq/client"
24
+ },
25
+ "vite": {
26
+ "rollup": "npm:@rollup/wasm-node"
27
+ }
28
+ },
29
+ "resolutions": {
30
+ "rollup": "npm:@rollup/wasm-node"
15
31
  },
16
32
  "main": "./src/index.js",
17
- "type": "commonjs"
33
+ "type": "commonjs",
34
+ "types": "./src/index.d.ts"
18
35
  }
@@ -46,7 +46,7 @@ exports.moxieCreateTaskAction = (0, pieces_framework_1.createAction)({
46
46
  description: 'Exact match of a project that is owned by the client.',
47
47
  required: true,
48
48
  refreshers: ['clientName'],
49
- options: (_b) => tslib_1.__awaiter(void 0, [_b], void 0, function* ({ auth, clientName }) {
49
+ options: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth, clientName }) {
50
50
  if (!auth || !clientName) {
51
51
  return {
52
52
  disabled: true,
@@ -72,7 +72,7 @@ exports.moxieCreateTaskAction = (0, pieces_framework_1.createAction)({
72
72
  required: true,
73
73
  defaultValue: 'Not Started',
74
74
  refreshers: [],
75
- options: (_c) => tslib_1.__awaiter(void 0, [_c], void 0, function* ({ auth }) {
75
+ options: (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ auth }) {
76
76
  if (!auth) {
77
77
  return {
78
78
  disabled: true,
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.reformatDate = exports.makeClient = void 0;
3
+ exports.makeClient = makeClient;
4
+ exports.reformatDate = reformatDate;
4
5
  const tslib_1 = require("tslib");
5
6
  const client_1 = require("./client");
6
7
  function makeClient(auth) {
@@ -9,11 +10,9 @@ function makeClient(auth) {
9
10
  return client;
10
11
  });
11
12
  }
12
- exports.makeClient = makeClient;
13
13
  function reformatDate(s) {
14
14
  if (!s)
15
15
  return undefined;
16
16
  return s.split('T', 2)[0];
17
17
  }
18
- exports.reformatDate = reformatDate;
19
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/moxie-crm/src/lib/common/index.ts"],"names":[],"mappings":";;;;AAGA,qCAA0C;AAE1C,SAAsB,UAAU,CAC9B,IAA+C;;QAE/C,MAAM,MAAM,GAAG,IAAI,uBAAc,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAC7D,OAAO,MAAM,CAAC;IAChB,CAAC;CAAA;AALD,gCAKC;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,IAAI,CAAC,CAAC;QAAE,OAAO,SAAS,CAAC;IACzB,OAAO,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5B,CAAC;AAHD,oCAGC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/moxie-crm/src/lib/common/index.ts"],"names":[],"mappings":";;AAKA,gCAKC;AAED,oCAGC;;AAZD,qCAA0C;AAE1C,SAAsB,UAAU,CAC9B,IAA+C;;QAE/C,MAAM,MAAM,GAAG,IAAI,uBAAc,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAC7D,OAAO,MAAM,CAAC;IAChB,CAAC;CAAA;AAED,SAAgB,YAAY,CAAC,CAAU;IACrC,IAAI,CAAC,CAAC;QAAE,OAAO,SAAS,CAAC;IACzB,OAAO,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5B,CAAC"}
@@ -15,14 +15,7 @@ const moxieCRMRegisterTrigger = ({ name, displayName, description, eventType, sa
15
15
  - Go to the **Workspace Settngs -> Connected Apps -> Integration** section.
16
16
  - Under **Custom Integration** , click on **Add Rest Hook**.
17
17
  - Click on **Integrations** section.
18
- - In the endpoint field, paste the following URLs:
19
-
20
- **Test URL (only generate sample data)**:
21
- \`\`\`text
22
- {{webhookUrl}}/test
23
- \`\`\`
24
-
25
- **Trigger Flow URL**:
18
+ - In the endpoint field, paste the following URL:
26
19
  \`\`\`text
27
20
  {{webhookUrl}}
28
21
  \`\`\`
@@ -1 +1 @@
1
- {"version":3,"file":"register-trigger.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/moxie-crm/src/lib/triggers/register-trigger.ts"],"names":[],"mappings":";;;;AAAA,qEAIwC;AAExC,8BAAsC;AAC/B,MAAM,uBAAuB,GAAG,CAAC,EACtC,IAAI,EACJ,WAAW,EACX,WAAW,EACX,SAAS,EACT,UAAU,GAOX,EAAE,EAAE,CACH,IAAA,gCAAa,EAAC;IACZ,IAAI,EAAE,gBAAY;IAClB,IAAI,EAAE,iBAAiB,IAAI,EAAE;IAC7B,WAAW;IACX,WAAW;IACX,KAAK,EAAE;QACL,EAAE,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACpB,KAAK,EAAE;;;;;;;;;;;;;;;;oCAgBqB,WAAW;SACtC;SACF,CAAC;KACH;IACD,IAAI,EAAE,kCAAe,CAAC,OAAO;IAC7B,UAAU,EAAE,UAAU;IAChB,QAAQ,CAAC,OAAO;;YACpB,QAAQ;QACV,CAAC;KAAA;IACK,SAAS,CAAC,OAAO;;YACrB,QAAQ;QACV,CAAC;KAAA;IACK,GAAG,CAAC,OAAO;;YACf,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC;KAAA;CACF,CAAC,CAAC;AAnDQ,QAAA,uBAAuB,2BAmD/B"}
1
+ {"version":3,"file":"register-trigger.js","sourceRoot":"","sources":["../../../../../../../../packages/pieces/community/moxie-crm/src/lib/triggers/register-trigger.ts"],"names":[],"mappings":";;;;AAAA,qEAIwC;AAExC,8BAAsC;AAC/B,MAAM,uBAAuB,GAAG,CAAC,EACtC,IAAI,EACJ,WAAW,EACX,WAAW,EACX,SAAS,EACT,UAAU,GAOX,EAAE,EAAE,CACH,IAAA,gCAAa,EAAC;IACZ,IAAI,EAAE,gBAAY;IAClB,IAAI,EAAE,iBAAiB,IAAI,EAAE;IAC7B,WAAW;IACX,WAAW;IACX,KAAK,EAAE;QACL,EAAE,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACpB,KAAK,EAAE;;;;;;;;;oCASqB,WAAW;SACtC;SACF,CAAC;KACH;IACD,IAAI,EAAE,kCAAe,CAAC,OAAO;IAC7B,UAAU,EAAE,UAAU;IAChB,QAAQ,CAAC,OAAO;;YACpB,QAAQ;QACV,CAAC;KAAA;IACK,SAAS,CAAC,OAAO;;YACrB,QAAQ;QACV,CAAC;KAAA;IACK,GAAG,CAAC,OAAO;;YACf,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC;KAAA;CACF,CAAC,CAAC;AA5CQ,QAAA,uBAAuB,2BA4C/B"}