strapi-plugin-hubspot 0.8.0 → 0.10.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/CHANGELOG.md +36 -0
- package/README.md +28 -0
- package/dist/_chunks/{Forms-77Mornxt.mjs → Forms-BGdNbq-k.mjs} +348 -33
- package/dist/_chunks/{Forms-B8kkPY0c.js → Forms-BVkE1C46.js} +345 -30
- package/dist/_chunks/{HubspotFormInput-BVknnlmR.mjs → HubspotFormInput-QJldybwT.mjs} +1 -1
- package/dist/_chunks/{HubspotFormInput-kx3LlQYF.js → HubspotFormInput-ddrrD-GJ.js} +1 -1
- package/dist/_chunks/{HubspotObjectInput-B-Y1PZ6c.mjs → HubspotObjectInput-B_W9dpvD.mjs} +3 -3
- package/dist/_chunks/{HubspotObjectInput-BOO1PvOj.js → HubspotObjectInput-DZ4H-vju.js} +3 -3
- package/dist/_chunks/{HubspotPropertyInput-awfD1opH.js → HubspotPropertyInput-BJHUy5Zr.js} +3 -3
- package/dist/_chunks/{HubspotPropertyInput-Drxn_Ddt.mjs → HubspotPropertyInput-CiVxcnEt.mjs} +3 -3
- package/dist/_chunks/{Settings-DrujhMxS.mjs → Settings-B0NyQtsh.mjs} +2 -2
- package/dist/_chunks/{Settings-BT1NhvxO.js → Settings-DaFRUzjG.js} +2 -2
- package/dist/_chunks/{en-BYKKi1LK.mjs → en-D1sHFQdN.mjs} +48 -1
- package/dist/_chunks/{en-B8adhJhO.js → en-zJv-SuNb.js} +48 -1
- package/dist/_chunks/{fr-DzgArgi3.mjs → fr-E3zTW7pq.mjs} +48 -1
- package/dist/_chunks/{fr-DnKtGXaB.js → fr-fh0uH6Rp.js} +48 -1
- package/dist/_chunks/{index-LrCSAHoH.mjs → index-BpapRdHX.mjs} +6 -6
- package/dist/_chunks/{index-P7p8ASb6.js → index-rgjWxSn4.js} +6 -6
- package/dist/_chunks/{objectLabels-yNrnTOBo.mjs → objectLabels-DQYwGDr3.mjs} +1 -1
- package/dist/_chunks/{objectLabels-Dn-zriuZ.js → objectLabels-mBjwR5EE.js} +1 -1
- package/dist/_chunks/{useHubspotSchema-BottzdRR.js → useHubspotSchema-CJEiHbjz.js} +1 -1
- package/dist/_chunks/{useHubspotSchema-DccG2KbZ.mjs → useHubspotSchema-DX4JTPFt.mjs} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/builder/types.d.ts +28 -1
- package/dist/admin/src/pages/Forms.d.ts +5 -1
- package/dist/admin/src/pages/Submissions.d.ts +8 -0
- package/dist/server/index.js +353 -14
- package/dist/server/index.mjs +353 -14
- package/dist/server/src/__tests__/importHubspot.test.d.ts +1 -0
- package/dist/server/src/__tests__/submissions.test.d.ts +1 -0
- package/dist/server/src/conditions.d.ts +3 -1
- package/dist/server/src/formsAdmin.d.ts +13 -0
- package/dist/server/src/importHubspot.d.ts +85 -0
- package/dist/server/src/index.d.ts +28 -1
- package/dist/server/src/submissions.d.ts +28 -0
- package/dist/shared/types.d.ts +15 -1
- package/package.json +1 -1
package/dist/shared/types.d.ts
CHANGED
|
@@ -8,13 +8,27 @@
|
|
|
8
8
|
* POST /api/hubspot/forms/:slug/submit → SubmitResponse (SubmitRequest in)
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
export type Operator =
|
|
11
|
+
export type Operator =
|
|
12
|
+
| "eq"
|
|
13
|
+
| "neq"
|
|
14
|
+
| "contains"
|
|
15
|
+
| "notContains"
|
|
16
|
+
| "startsWith"
|
|
17
|
+
| "endsWith"
|
|
18
|
+
| "empty"
|
|
19
|
+
| "notEmpty"
|
|
20
|
+
| "gt"
|
|
21
|
+
| "lt"
|
|
22
|
+
| "in"
|
|
23
|
+
| "notIn";
|
|
12
24
|
|
|
13
25
|
export interface Rule {
|
|
14
26
|
/** Stable id (`fld_…`) of the field the rule reads — never its name. */
|
|
15
27
|
field: string;
|
|
16
28
|
operator: Operator;
|
|
17
29
|
value?: string;
|
|
30
|
+
/** For `in` / `notIn`: the values any one of which satisfies the rule. */
|
|
31
|
+
values?: string[];
|
|
18
32
|
}
|
|
19
33
|
|
|
20
34
|
export interface Condition {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "strapi-plugin-hubspot",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "The form builder for HubSpot in Strapi — multi-step forms with conditional fields mapped to real CRM properties, a public submit pipeline with retries, and save-time mapping validation.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"strapi",
|