@wix/auto_sdk_seo_content-plan-flows 1.0.2 → 1.0.3
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/build/cjs/index.d.ts +5 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +18 -17
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +13 -13
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +5 -4
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +18 -17
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +13 -13
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +5 -4
- package/build/internal/cjs/index.typings.d.ts +18 -17
- package/build/internal/cjs/meta.d.ts +13 -13
- package/build/internal/es/index.d.mts +5 -4
- package/build/internal/es/index.typings.d.mts +18 -17
- package/build/internal/es/meta.d.mts +13 -13
- package/package.json +2 -2
|
@@ -7,11 +7,11 @@ import { NonNullablePaths } from '@wix/sdk-types';
|
|
|
7
7
|
* business category, and real search volume data. Generating one takes several
|
|
8
8
|
* minutes, so the flow runs asynchronously and reports its progress in `status`.
|
|
9
9
|
*
|
|
10
|
-
* A flow
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
10
|
+
* A flow reaches `KEYWORD_RESEARCH` when keyword research starts, not when it
|
|
11
|
+
* finishes. Some flows advance automatically. For a flow still waiting here,
|
|
12
|
+
* check its matching research with Get Site Keyword Research, then re-read the
|
|
13
|
+
* flow before calling Create Content Plan once. Skip Create if the flow has
|
|
14
|
+
* already advanced to `CONTENT_PLAN` or `SUCCESS`.
|
|
15
15
|
*/
|
|
16
16
|
interface ContentPlanFlow {
|
|
17
17
|
/**
|
|
@@ -33,10 +33,10 @@ interface ContentPlanFlow {
|
|
|
33
33
|
/**
|
|
34
34
|
* Current status of the content plan flow.
|
|
35
35
|
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
36
|
+
* `KEYWORD_RESEARCH` can mean research is running or the flow is waiting
|
|
37
|
+
* for Create Content Plan. Get Site Keyword Research reports research's
|
|
38
|
+
* own status. A flow already at `CONTENT_PLAN` or `SUCCESS` needs no
|
|
39
|
+
* release call.
|
|
40
40
|
*/
|
|
41
41
|
status?: StatusWithLiterals;
|
|
42
42
|
/**
|
|
@@ -82,10 +82,10 @@ declare enum Status {
|
|
|
82
82
|
/** The site's existing content is being summarized. */
|
|
83
83
|
SITE_SUMMARY = "SITE_SUMMARY",
|
|
84
84
|
/**
|
|
85
|
-
* Keyword research has started
|
|
86
|
-
*
|
|
87
|
-
* succeeds
|
|
88
|
-
*
|
|
85
|
+
* Keyword research has started. This does not prove research is ready.
|
|
86
|
+
* Check the matching research with Get Site Keyword Research. After
|
|
87
|
+
* research succeeds, re-read the flow before calling Create Content
|
|
88
|
+
* Plan once if it still waits here.
|
|
89
89
|
*/
|
|
90
90
|
KEYWORD_RESEARCH = "KEYWORD_RESEARCH",
|
|
91
91
|
/** Blog post briefs are being generated from the keyword research. */
|
|
@@ -531,10 +531,11 @@ declare function getContentPlanFlow(contentPlanFlowId: string): Promise<NonNulla
|
|
|
531
531
|
* A successful response means the flow was created, not that generation
|
|
532
532
|
* succeeded. Check `status` rather than relying on the response alone.
|
|
533
533
|
*
|
|
534
|
-
*
|
|
535
|
-
*
|
|
536
|
-
*
|
|
537
|
-
* `
|
|
534
|
+
* Some flows advance automatically. For a flow at `KEYWORD_RESEARCH`,
|
|
535
|
+
* use Get Site Keyword Research to check its matching research. After
|
|
536
|
+
* research `SUCCESS`, re-read the flow and call Create Content Plan once
|
|
537
|
+
* only if it still waits at `KEYWORD_RESEARCH` with the same research ID.
|
|
538
|
+
* Skip Create if the flow is already at `CONTENT_PLAN` or `SUCCESS`.
|
|
538
539
|
*
|
|
539
540
|
* A failed flow is retried automatically, and each retry creates a separate
|
|
540
541
|
* flow with its own ID. The original flow keeps its `FAIL` status, so call
|
|
@@ -8,11 +8,11 @@ import '@wix/sdk-types';
|
|
|
8
8
|
* business category, and real search volume data. Generating one takes several
|
|
9
9
|
* minutes, so the flow runs asynchronously and reports its progress in `status`.
|
|
10
10
|
*
|
|
11
|
-
* A flow
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
11
|
+
* A flow reaches `KEYWORD_RESEARCH` when keyword research starts, not when it
|
|
12
|
+
* finishes. Some flows advance automatically. For a flow still waiting here,
|
|
13
|
+
* check its matching research with Get Site Keyword Research, then re-read the
|
|
14
|
+
* flow before calling Create Content Plan once. Skip Create if the flow has
|
|
15
|
+
* already advanced to `CONTENT_PLAN` or `SUCCESS`.
|
|
16
16
|
*/
|
|
17
17
|
interface ContentPlanFlow {
|
|
18
18
|
/**
|
|
@@ -34,10 +34,10 @@ interface ContentPlanFlow {
|
|
|
34
34
|
/**
|
|
35
35
|
* Current status of the content plan flow.
|
|
36
36
|
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
37
|
+
* `KEYWORD_RESEARCH` can mean research is running or the flow is waiting
|
|
38
|
+
* for Create Content Plan. Get Site Keyword Research reports research's
|
|
39
|
+
* own status. A flow already at `CONTENT_PLAN` or `SUCCESS` needs no
|
|
40
|
+
* release call.
|
|
41
41
|
*/
|
|
42
42
|
status?: StatusWithLiterals;
|
|
43
43
|
/**
|
|
@@ -83,10 +83,10 @@ declare enum Status {
|
|
|
83
83
|
/** The site's existing content is being summarized. */
|
|
84
84
|
SITE_SUMMARY = "SITE_SUMMARY",
|
|
85
85
|
/**
|
|
86
|
-
* Keyword research has started
|
|
87
|
-
*
|
|
88
|
-
* succeeds
|
|
89
|
-
*
|
|
86
|
+
* Keyword research has started. This does not prove research is ready.
|
|
87
|
+
* Check the matching research with Get Site Keyword Research. After
|
|
88
|
+
* research succeeds, re-read the flow before calling Create Content
|
|
89
|
+
* Plan once if it still waits here.
|
|
90
90
|
*/
|
|
91
91
|
KEYWORD_RESEARCH = "KEYWORD_RESEARCH",
|
|
92
92
|
/** Blog post briefs are being generated from the keyword research. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_seo_content-plan-flows",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.promote.seo.v1.content_plan_content_plan_flow"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "aaff608a400d6ddab632b1a026a1c41efc9797f50e3ad00c1604fc87"
|
|
54
54
|
}
|