@zinn-digital/sdk 0.1.1608 → 0.1.1614
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/generated/schema.d.ts +447 -0
- package/package.json +1 -1
|
@@ -33775,6 +33775,98 @@ export interface paths {
|
|
|
33775
33775
|
patch?: never;
|
|
33776
33776
|
trace?: never;
|
|
33777
33777
|
};
|
|
33778
|
+
"/v1/email-marketing/flows": {
|
|
33779
|
+
parameters: {
|
|
33780
|
+
query?: never;
|
|
33781
|
+
header?: never;
|
|
33782
|
+
path?: never;
|
|
33783
|
+
cookie?: never;
|
|
33784
|
+
};
|
|
33785
|
+
/**
|
|
33786
|
+
* E-mail flows (welcome, drip, a yearly date), one keyset page.
|
|
33787
|
+
* @description Gated on `email_marketing.view`. A flow is a list, a trigger and a sequence of steps; it sends nothing itself: every 15 minutes each due step becomes an ordinary campaign run, which is checked like any campaign (line open, account in good standing, quota, a verified sender) and is listed under the flow, never among the campaigns.
|
|
33788
|
+
*/
|
|
33789
|
+
get: operations["listEmailMarketingFlows"];
|
|
33790
|
+
put?: never;
|
|
33791
|
+
/**
|
|
33792
|
+
* Create a flow (it starts as a draft).
|
|
33793
|
+
* @description Gated on `email_marketing.manage`. `name` and `list_id` are required; `steps` (at most 20) each need a subject. A `date` flow names a contact attribute holding `YYYY-MM-DD`.
|
|
33794
|
+
*/
|
|
33795
|
+
post: operations["createEmailMarketingFlow"];
|
|
33796
|
+
delete?: never;
|
|
33797
|
+
options?: never;
|
|
33798
|
+
head?: never;
|
|
33799
|
+
patch?: never;
|
|
33800
|
+
trace?: never;
|
|
33801
|
+
};
|
|
33802
|
+
"/v1/email-marketing/flows/{flow_id}": {
|
|
33803
|
+
parameters: {
|
|
33804
|
+
query?: never;
|
|
33805
|
+
header?: never;
|
|
33806
|
+
path?: never;
|
|
33807
|
+
cookie?: never;
|
|
33808
|
+
};
|
|
33809
|
+
/**
|
|
33810
|
+
* One flow with its steps and its report (enrolled, in progress, runs and recipients per step).
|
|
33811
|
+
* @description Gated on `email_marketing.view`.
|
|
33812
|
+
*/
|
|
33813
|
+
get: operations["getEmailMarketingFlow"];
|
|
33814
|
+
put?: never;
|
|
33815
|
+
post?: never;
|
|
33816
|
+
/**
|
|
33817
|
+
* Delete a flow and its enrolments (its sent runs stay, as campaigns).
|
|
33818
|
+
* @description Gated on `email_marketing.manage`.
|
|
33819
|
+
*/
|
|
33820
|
+
delete: operations["deleteEmailMarketingFlow"];
|
|
33821
|
+
options?: never;
|
|
33822
|
+
head?: never;
|
|
33823
|
+
/**
|
|
33824
|
+
* Change a flow; `steps`, when given, replaces the whole sequence.
|
|
33825
|
+
* @description Gated on `email_marketing.manage`. Contacts already in the flow continue at their next step number.
|
|
33826
|
+
*/
|
|
33827
|
+
patch: operations["updateEmailMarketingFlow"];
|
|
33828
|
+
trace?: never;
|
|
33829
|
+
};
|
|
33830
|
+
"/v1/email-marketing/flows/{flow_id}/activate": {
|
|
33831
|
+
parameters: {
|
|
33832
|
+
query?: never;
|
|
33833
|
+
header?: never;
|
|
33834
|
+
path?: never;
|
|
33835
|
+
cookie?: never;
|
|
33836
|
+
};
|
|
33837
|
+
get?: never;
|
|
33838
|
+
put?: never;
|
|
33839
|
+
/**
|
|
33840
|
+
* Switch a flow on; only people who join the list from now on are enrolled.
|
|
33841
|
+
* @description Gated on `email_marketing.manage`. Refused (400) without at least one step, a postal address, or a body on every step. A paused flow resumes: its waiting steps are sent.
|
|
33842
|
+
*/
|
|
33843
|
+
post: operations["activateEmailMarketingFlow"];
|
|
33844
|
+
delete?: never;
|
|
33845
|
+
options?: never;
|
|
33846
|
+
head?: never;
|
|
33847
|
+
patch?: never;
|
|
33848
|
+
trace?: never;
|
|
33849
|
+
};
|
|
33850
|
+
"/v1/email-marketing/flows/{flow_id}/pause": {
|
|
33851
|
+
parameters: {
|
|
33852
|
+
query?: never;
|
|
33853
|
+
header?: never;
|
|
33854
|
+
path?: never;
|
|
33855
|
+
cookie?: never;
|
|
33856
|
+
};
|
|
33857
|
+
get?: never;
|
|
33858
|
+
put?: never;
|
|
33859
|
+
/**
|
|
33860
|
+
* Pause a flow; due steps wait and nobody new is mailed until it is switched back on.
|
|
33861
|
+
* @description Gated on `email_marketing.manage`.
|
|
33862
|
+
*/
|
|
33863
|
+
post: operations["pauseEmailMarketingFlow"];
|
|
33864
|
+
delete?: never;
|
|
33865
|
+
options?: never;
|
|
33866
|
+
head?: never;
|
|
33867
|
+
patch?: never;
|
|
33868
|
+
trace?: never;
|
|
33869
|
+
};
|
|
33778
33870
|
"/v1/email-marketing/forms": {
|
|
33779
33871
|
parameters: {
|
|
33780
33872
|
query?: never;
|
|
@@ -38822,6 +38914,28 @@ export interface paths {
|
|
|
38822
38914
|
patch?: never;
|
|
38823
38915
|
trace?: never;
|
|
38824
38916
|
};
|
|
38917
|
+
"/v1/migrations/ai-moves/{moveId}/restart": {
|
|
38918
|
+
parameters: {
|
|
38919
|
+
query?: never;
|
|
38920
|
+
header?: never;
|
|
38921
|
+
path: {
|
|
38922
|
+
moveId: string;
|
|
38923
|
+
};
|
|
38924
|
+
cookie?: never;
|
|
38925
|
+
};
|
|
38926
|
+
get?: never;
|
|
38927
|
+
put?: never;
|
|
38928
|
+
/**
|
|
38929
|
+
* Start this AI Move again from the beginning, as a fresh move.
|
|
38930
|
+
* @description Owner row 1107#24. The fresh move keeps the same site, the access already given and the same ticket; this one is cancelled (its unfinished copy is stopped) and points to the new one in `restarted_as`. Nothing at the old host is changed. Refused with 409 once the move is done or cancelled (`refusal.aiMove.finished`), once its switch-over has started (`refusal.aiMove.switchStarted`), or when its access was already deleted (`refusal.aiMove.accessGone` — start a new move instead). Requires `hosting.import.manage`.
|
|
38931
|
+
*/
|
|
38932
|
+
post: operations["restartAiMove"];
|
|
38933
|
+
delete?: never;
|
|
38934
|
+
options?: never;
|
|
38935
|
+
head?: never;
|
|
38936
|
+
patch?: never;
|
|
38937
|
+
trace?: never;
|
|
38938
|
+
};
|
|
38825
38939
|
"/v1/migrations/discover": {
|
|
38826
38940
|
parameters: {
|
|
38827
38941
|
query?: never;
|
|
@@ -70526,6 +70640,7 @@ export interface components {
|
|
|
70526
70640
|
credited_after: number | null;
|
|
70527
70641
|
/** Format: date */
|
|
70528
70642
|
day: string;
|
|
70643
|
+
/** @description The fix assistant's findings, filtered by the network's registry row on read (ZA320-FU3): no upload finding (noUploadAction, uploadActionNotPrimary, uploadRequestRejected, uploadResponseUnreadable) on a network that takes no conversion upload (ChatGPT Ads), no click-id finding (lostClickIds, checkoutRoundTrip, providerGap) and an empty `by_provider` on a network none of whose click ids an outcome stores. `lostClickIds` figures carry `clickIds`, that network's own click ids. */
|
|
70529
70644
|
diagnoses: {
|
|
70530
70645
|
/** @enum {string} */
|
|
70531
70646
|
code: "noSource" | "unreadable" | "lostClickIds" | "checkoutRoundTrip" | "offSiteOutcome" | "missingTag" | "noUploadAction" | "uploadActionNotPrimary" | "uploadRequestRejected" | "uploadResponseUnreadable" | "undercount" | "doubleCounting" | "providerGap";
|
|
@@ -73482,6 +73597,8 @@ export interface components {
|
|
|
73482
73597
|
[key: string]: string;
|
|
73483
73598
|
};
|
|
73484
73599
|
approx_size?: string;
|
|
73600
|
+
/** @description Whether `POST .../restart` would start a fresh move now. */
|
|
73601
|
+
can_restart?: boolean;
|
|
73485
73602
|
/** @description The switch-over verdict: `preview`, `app`, `passed` (both), then `live` after the switch-over. */
|
|
73486
73603
|
checks?: {
|
|
73487
73604
|
[key: string]: unknown;
|
|
@@ -73509,6 +73626,7 @@ export interface components {
|
|
|
73509
73626
|
* @description When the GO was given.
|
|
73510
73627
|
*/
|
|
73511
73628
|
go_at?: string | null;
|
|
73629
|
+
health?: components["schemas"]["AiMoveHealth"];
|
|
73512
73630
|
/** Format: uuid */
|
|
73513
73631
|
id: string;
|
|
73514
73632
|
inventory?: {
|
|
@@ -73533,6 +73651,11 @@ export interface components {
|
|
|
73533
73651
|
preview_url?: string;
|
|
73534
73652
|
product_line?: string;
|
|
73535
73653
|
progress: components["schemas"]["AiMoveProgress"];
|
|
73654
|
+
/**
|
|
73655
|
+
* Format: uuid
|
|
73656
|
+
* @description When the customer restarted this move: the fresh move that replaced it.
|
|
73657
|
+
*/
|
|
73658
|
+
restarted_as?: string | null;
|
|
73536
73659
|
/** @description The route chosen (ssh, cpanel, plesk, directadmin, ftp). */
|
|
73537
73660
|
route?: string;
|
|
73538
73661
|
/** Format: uuid */
|
|
@@ -73591,6 +73714,14 @@ export interface components {
|
|
|
73591
73714
|
/** @description The consent line's version the intake records. */
|
|
73592
73715
|
terms_version: string;
|
|
73593
73716
|
};
|
|
73717
|
+
/** @description The honest state beside the stage (owner row 1107#24). `on_track`: inside the time the stage normally takes. `slow`: past it, still working. `self_healing`: our AI hit a problem of ours and is retrying it on its own (`attempts` so far). `with_team`: the AI could not fix it and a person from our migration team has it. `since`: when the move entered its current stage. */
|
|
73718
|
+
AiMoveHealth: {
|
|
73719
|
+
attempts: number;
|
|
73720
|
+
/** Format: date-time */
|
|
73721
|
+
since: string;
|
|
73722
|
+
/** @enum {string} */
|
|
73723
|
+
state: "on_track" | "slow" | "self_healing" | "with_team";
|
|
73724
|
+
};
|
|
73594
73725
|
AiMoveIntake: {
|
|
73595
73726
|
access: components["schemas"]["AiMoveAccess"];
|
|
73596
73727
|
/** @enum {string} */
|
|
@@ -83011,6 +83142,84 @@ export interface components {
|
|
|
83011
83142
|
/** Format: uuid */
|
|
83012
83143
|
next_after: string | null;
|
|
83013
83144
|
};
|
|
83145
|
+
EmailMarketingFlow: {
|
|
83146
|
+
/** Format: date-time */
|
|
83147
|
+
activated_at: string | null;
|
|
83148
|
+
/** Format: date-time */
|
|
83149
|
+
created_at: string | null;
|
|
83150
|
+
date_field: string;
|
|
83151
|
+
from_name: string;
|
|
83152
|
+
/** Format: uuid */
|
|
83153
|
+
id: string;
|
|
83154
|
+
/** @description Why the last due step was not sent (it is retried hourly); null while sending normally. */
|
|
83155
|
+
last_refusal_code: string | null;
|
|
83156
|
+
/** @description The refusal catalogue key behind last_refusal_code, to render in the reader's language. */
|
|
83157
|
+
last_refusal_key: string | null;
|
|
83158
|
+
/** Format: uuid */
|
|
83159
|
+
list_id: string;
|
|
83160
|
+
name: string;
|
|
83161
|
+
postal_address: string;
|
|
83162
|
+
reply_to: string;
|
|
83163
|
+
report?: components["schemas"]["EmailMarketingFlowReport"];
|
|
83164
|
+
/** Format: uuid */
|
|
83165
|
+
sender_id: string | null;
|
|
83166
|
+
/** @enum {string} */
|
|
83167
|
+
status: "draft" | "active" | "paused";
|
|
83168
|
+
steps?: components["schemas"]["EmailMarketingFlowStep"][];
|
|
83169
|
+
/** @enum {string} */
|
|
83170
|
+
trigger: "list_join" | "date";
|
|
83171
|
+
};
|
|
83172
|
+
EmailMarketingFlowPage: {
|
|
83173
|
+
data: components["schemas"]["EmailMarketingFlow"][];
|
|
83174
|
+
/** Format: uuid */
|
|
83175
|
+
next_after: string | null;
|
|
83176
|
+
};
|
|
83177
|
+
EmailMarketingFlowReport: {
|
|
83178
|
+
enrolled: number;
|
|
83179
|
+
in_progress: number;
|
|
83180
|
+
steps: {
|
|
83181
|
+
position: number;
|
|
83182
|
+
/** @description Recipients by status. */
|
|
83183
|
+
recipients: {
|
|
83184
|
+
[key: string]: number;
|
|
83185
|
+
};
|
|
83186
|
+
runs: number;
|
|
83187
|
+
}[];
|
|
83188
|
+
};
|
|
83189
|
+
EmailMarketingFlowStep: {
|
|
83190
|
+
/** @description Minutes after the previous step (after the trigger for the first). */
|
|
83191
|
+
delay_minutes: number;
|
|
83192
|
+
html: string;
|
|
83193
|
+
position: number;
|
|
83194
|
+
preheader: string;
|
|
83195
|
+
subject: string;
|
|
83196
|
+
/** @enum {string} */
|
|
83197
|
+
template: "basic" | "raw";
|
|
83198
|
+
text: string;
|
|
83199
|
+
};
|
|
83200
|
+
EmailMarketingFlowStepWrite: {
|
|
83201
|
+
delay_minutes?: number;
|
|
83202
|
+
html?: string;
|
|
83203
|
+
preheader?: string;
|
|
83204
|
+
subject: string;
|
|
83205
|
+
/** @enum {string} */
|
|
83206
|
+
template?: "basic" | "raw";
|
|
83207
|
+
text?: string;
|
|
83208
|
+
};
|
|
83209
|
+
EmailMarketingFlowWrite: {
|
|
83210
|
+
date_field?: string;
|
|
83211
|
+
from_name?: string;
|
|
83212
|
+
/** Format: uuid */
|
|
83213
|
+
list_id?: string;
|
|
83214
|
+
name?: string;
|
|
83215
|
+
postal_address?: string;
|
|
83216
|
+
reply_to?: string;
|
|
83217
|
+
/** Format: uuid */
|
|
83218
|
+
sender_id?: string | null;
|
|
83219
|
+
steps?: components["schemas"]["EmailMarketingFlowStepWrite"][];
|
|
83220
|
+
/** @enum {string} */
|
|
83221
|
+
trigger?: "list_join" | "date";
|
|
83222
|
+
};
|
|
83014
83223
|
EmailMarketingForm: {
|
|
83015
83224
|
button_label: string;
|
|
83016
83225
|
confirmed: number;
|
|
@@ -83180,6 +83389,15 @@ export interface components {
|
|
|
83180
83389
|
/** @enum {string} */
|
|
83181
83390
|
status: "unverified" | "verifying" | "verified" | "failing";
|
|
83182
83391
|
status_detail: string;
|
|
83392
|
+
/** @description The catalogue form of `status_detail` when the sender check wrote it: a `refusal.campaigns.verify*` `key` plus its `params`, so the dashboard renders the sentence in the reader's language. Null when `status_detail` is empty or not a sentence the check writes; show `status_detail` as given then. */
|
|
83393
|
+
status_detail_refusal: {
|
|
83394
|
+
/** @example refusal.campaigns.verifyDkim */
|
|
83395
|
+
key: string;
|
|
83396
|
+
/** @example {} */
|
|
83397
|
+
params: {
|
|
83398
|
+
[key: string]: string;
|
|
83399
|
+
};
|
|
83400
|
+
} | null;
|
|
83183
83401
|
tls: string;
|
|
83184
83402
|
username: string;
|
|
83185
83403
|
/** Format: date-time */
|
|
@@ -172311,6 +172529,208 @@ export interface operations {
|
|
|
172311
172529
|
503: components["responses"]["ServiceUnavailable"];
|
|
172312
172530
|
};
|
|
172313
172531
|
};
|
|
172532
|
+
listEmailMarketingFlows: {
|
|
172533
|
+
parameters: {
|
|
172534
|
+
query?: {
|
|
172535
|
+
after?: string;
|
|
172536
|
+
limit?: number;
|
|
172537
|
+
/** @description The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agency — because the engine refuses rather than guesses (a wrong guess here writes one tenant's gateway credentials under another tenant's Vault path). */
|
|
172538
|
+
org_id?: components["parameters"]["OrgIdQuery"];
|
|
172539
|
+
};
|
|
172540
|
+
header?: never;
|
|
172541
|
+
path?: never;
|
|
172542
|
+
cookie?: never;
|
|
172543
|
+
};
|
|
172544
|
+
requestBody?: never;
|
|
172545
|
+
responses: {
|
|
172546
|
+
/** @description One page of flows. */
|
|
172547
|
+
200: {
|
|
172548
|
+
headers: {
|
|
172549
|
+
[name: string]: unknown;
|
|
172550
|
+
};
|
|
172551
|
+
content: {
|
|
172552
|
+
"application/json": components["schemas"]["EmailMarketingFlowPage"];
|
|
172553
|
+
};
|
|
172554
|
+
};
|
|
172555
|
+
401: components["responses"]["Unauthorized"];
|
|
172556
|
+
403: components["responses"]["Forbidden"];
|
|
172557
|
+
};
|
|
172558
|
+
};
|
|
172559
|
+
createEmailMarketingFlow: {
|
|
172560
|
+
parameters: {
|
|
172561
|
+
query?: {
|
|
172562
|
+
/** @description The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agency — because the engine refuses rather than guesses (a wrong guess here writes one tenant's gateway credentials under another tenant's Vault path). */
|
|
172563
|
+
org_id?: components["parameters"]["OrgIdQuery"];
|
|
172564
|
+
};
|
|
172565
|
+
header?: never;
|
|
172566
|
+
path?: never;
|
|
172567
|
+
cookie?: never;
|
|
172568
|
+
};
|
|
172569
|
+
requestBody: {
|
|
172570
|
+
content: {
|
|
172571
|
+
"application/json": components["schemas"]["EmailMarketingFlowWrite"];
|
|
172572
|
+
};
|
|
172573
|
+
};
|
|
172574
|
+
responses: {
|
|
172575
|
+
/** @description The flow, with its steps and per-step report. */
|
|
172576
|
+
201: {
|
|
172577
|
+
headers: {
|
|
172578
|
+
[name: string]: unknown;
|
|
172579
|
+
};
|
|
172580
|
+
content: {
|
|
172581
|
+
"application/json": components["schemas"]["EmailMarketingFlow"];
|
|
172582
|
+
};
|
|
172583
|
+
};
|
|
172584
|
+
400: components["responses"]["UnprocessableEntity"];
|
|
172585
|
+
401: components["responses"]["Unauthorized"];
|
|
172586
|
+
403: components["responses"]["Forbidden"];
|
|
172587
|
+
404: components["responses"]["NotFound"];
|
|
172588
|
+
};
|
|
172589
|
+
};
|
|
172590
|
+
getEmailMarketingFlow: {
|
|
172591
|
+
parameters: {
|
|
172592
|
+
query?: {
|
|
172593
|
+
/** @description The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agency — because the engine refuses rather than guesses (a wrong guess here writes one tenant's gateway credentials under another tenant's Vault path). */
|
|
172594
|
+
org_id?: components["parameters"]["OrgIdQuery"];
|
|
172595
|
+
};
|
|
172596
|
+
header?: never;
|
|
172597
|
+
path: {
|
|
172598
|
+
flow_id: string;
|
|
172599
|
+
};
|
|
172600
|
+
cookie?: never;
|
|
172601
|
+
};
|
|
172602
|
+
requestBody?: never;
|
|
172603
|
+
responses: {
|
|
172604
|
+
/** @description The flow, with its steps and per-step report. */
|
|
172605
|
+
200: {
|
|
172606
|
+
headers: {
|
|
172607
|
+
[name: string]: unknown;
|
|
172608
|
+
};
|
|
172609
|
+
content: {
|
|
172610
|
+
"application/json": components["schemas"]["EmailMarketingFlow"];
|
|
172611
|
+
};
|
|
172612
|
+
};
|
|
172613
|
+
401: components["responses"]["Unauthorized"];
|
|
172614
|
+
403: components["responses"]["Forbidden"];
|
|
172615
|
+
404: components["responses"]["NotFound"];
|
|
172616
|
+
};
|
|
172617
|
+
};
|
|
172618
|
+
deleteEmailMarketingFlow: {
|
|
172619
|
+
parameters: {
|
|
172620
|
+
query?: {
|
|
172621
|
+
/** @description The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agency — because the engine refuses rather than guesses (a wrong guess here writes one tenant's gateway credentials under another tenant's Vault path). */
|
|
172622
|
+
org_id?: components["parameters"]["OrgIdQuery"];
|
|
172623
|
+
};
|
|
172624
|
+
header?: never;
|
|
172625
|
+
path: {
|
|
172626
|
+
flow_id: string;
|
|
172627
|
+
};
|
|
172628
|
+
cookie?: never;
|
|
172629
|
+
};
|
|
172630
|
+
requestBody?: never;
|
|
172631
|
+
responses: {
|
|
172632
|
+
/** @description Deleted. */
|
|
172633
|
+
204: {
|
|
172634
|
+
headers: {
|
|
172635
|
+
[name: string]: unknown;
|
|
172636
|
+
};
|
|
172637
|
+
content?: never;
|
|
172638
|
+
};
|
|
172639
|
+
401: components["responses"]["Unauthorized"];
|
|
172640
|
+
403: components["responses"]["Forbidden"];
|
|
172641
|
+
404: components["responses"]["NotFound"];
|
|
172642
|
+
};
|
|
172643
|
+
};
|
|
172644
|
+
updateEmailMarketingFlow: {
|
|
172645
|
+
parameters: {
|
|
172646
|
+
query?: {
|
|
172647
|
+
/** @description The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agency — because the engine refuses rather than guesses (a wrong guess here writes one tenant's gateway credentials under another tenant's Vault path). */
|
|
172648
|
+
org_id?: components["parameters"]["OrgIdQuery"];
|
|
172649
|
+
};
|
|
172650
|
+
header?: never;
|
|
172651
|
+
path: {
|
|
172652
|
+
flow_id: string;
|
|
172653
|
+
};
|
|
172654
|
+
cookie?: never;
|
|
172655
|
+
};
|
|
172656
|
+
requestBody: {
|
|
172657
|
+
content: {
|
|
172658
|
+
"application/json": components["schemas"]["EmailMarketingFlowWrite"];
|
|
172659
|
+
};
|
|
172660
|
+
};
|
|
172661
|
+
responses: {
|
|
172662
|
+
/** @description The flow, with its steps and per-step report. */
|
|
172663
|
+
200: {
|
|
172664
|
+
headers: {
|
|
172665
|
+
[name: string]: unknown;
|
|
172666
|
+
};
|
|
172667
|
+
content: {
|
|
172668
|
+
"application/json": components["schemas"]["EmailMarketingFlow"];
|
|
172669
|
+
};
|
|
172670
|
+
};
|
|
172671
|
+
400: components["responses"]["UnprocessableEntity"];
|
|
172672
|
+
401: components["responses"]["Unauthorized"];
|
|
172673
|
+
403: components["responses"]["Forbidden"];
|
|
172674
|
+
404: components["responses"]["NotFound"];
|
|
172675
|
+
};
|
|
172676
|
+
};
|
|
172677
|
+
activateEmailMarketingFlow: {
|
|
172678
|
+
parameters: {
|
|
172679
|
+
query?: {
|
|
172680
|
+
/** @description The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agency — because the engine refuses rather than guesses (a wrong guess here writes one tenant's gateway credentials under another tenant's Vault path). */
|
|
172681
|
+
org_id?: components["parameters"]["OrgIdQuery"];
|
|
172682
|
+
};
|
|
172683
|
+
header?: never;
|
|
172684
|
+
path: {
|
|
172685
|
+
flow_id: string;
|
|
172686
|
+
};
|
|
172687
|
+
cookie?: never;
|
|
172688
|
+
};
|
|
172689
|
+
requestBody?: never;
|
|
172690
|
+
responses: {
|
|
172691
|
+
/** @description The flow, with its steps and per-step report. */
|
|
172692
|
+
200: {
|
|
172693
|
+
headers: {
|
|
172694
|
+
[name: string]: unknown;
|
|
172695
|
+
};
|
|
172696
|
+
content: {
|
|
172697
|
+
"application/json": components["schemas"]["EmailMarketingFlow"];
|
|
172698
|
+
};
|
|
172699
|
+
};
|
|
172700
|
+
400: components["responses"]["UnprocessableEntity"];
|
|
172701
|
+
401: components["responses"]["Unauthorized"];
|
|
172702
|
+
403: components["responses"]["Forbidden"];
|
|
172703
|
+
404: components["responses"]["NotFound"];
|
|
172704
|
+
};
|
|
172705
|
+
};
|
|
172706
|
+
pauseEmailMarketingFlow: {
|
|
172707
|
+
parameters: {
|
|
172708
|
+
query?: {
|
|
172709
|
+
/** @description The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agency — because the engine refuses rather than guesses (a wrong guess here writes one tenant's gateway credentials under another tenant's Vault path). */
|
|
172710
|
+
org_id?: components["parameters"]["OrgIdQuery"];
|
|
172711
|
+
};
|
|
172712
|
+
header?: never;
|
|
172713
|
+
path: {
|
|
172714
|
+
flow_id: string;
|
|
172715
|
+
};
|
|
172716
|
+
cookie?: never;
|
|
172717
|
+
};
|
|
172718
|
+
requestBody?: never;
|
|
172719
|
+
responses: {
|
|
172720
|
+
/** @description The flow, with its steps and per-step report. */
|
|
172721
|
+
200: {
|
|
172722
|
+
headers: {
|
|
172723
|
+
[name: string]: unknown;
|
|
172724
|
+
};
|
|
172725
|
+
content: {
|
|
172726
|
+
"application/json": components["schemas"]["EmailMarketingFlow"];
|
|
172727
|
+
};
|
|
172728
|
+
};
|
|
172729
|
+
401: components["responses"]["Unauthorized"];
|
|
172730
|
+
403: components["responses"]["Forbidden"];
|
|
172731
|
+
404: components["responses"]["NotFound"];
|
|
172732
|
+
};
|
|
172733
|
+
};
|
|
172314
172734
|
listEmailMarketingForms: {
|
|
172315
172735
|
parameters: {
|
|
172316
172736
|
query?: {
|
|
@@ -181015,6 +181435,31 @@ export interface operations {
|
|
|
181015
181435
|
409: components["responses"]["Conflict"];
|
|
181016
181436
|
};
|
|
181017
181437
|
};
|
|
181438
|
+
restartAiMove: {
|
|
181439
|
+
parameters: {
|
|
181440
|
+
query?: never;
|
|
181441
|
+
header?: never;
|
|
181442
|
+
path: {
|
|
181443
|
+
moveId: string;
|
|
181444
|
+
};
|
|
181445
|
+
cookie?: never;
|
|
181446
|
+
};
|
|
181447
|
+
requestBody?: never;
|
|
181448
|
+
responses: {
|
|
181449
|
+
/** @description The fresh AI Move. */
|
|
181450
|
+
201: {
|
|
181451
|
+
headers: {
|
|
181452
|
+
[name: string]: unknown;
|
|
181453
|
+
};
|
|
181454
|
+
content: {
|
|
181455
|
+
"application/json": components["schemas"]["AiMove"];
|
|
181456
|
+
};
|
|
181457
|
+
};
|
|
181458
|
+
401: components["responses"]["Unauthorized"];
|
|
181459
|
+
404: components["responses"]["NotFound"];
|
|
181460
|
+
409: components["responses"]["Conflict"];
|
|
181461
|
+
};
|
|
181462
|
+
};
|
|
181018
181463
|
discoverMigrationSourceForOrg: {
|
|
181019
181464
|
parameters: {
|
|
181020
181465
|
query?: never;
|
|
@@ -189783,6 +190228,8 @@ export interface operations {
|
|
|
189783
190228
|
query?: {
|
|
189784
190229
|
/** @description ISO-4217 code to price this response in — the same assertion `X-Zinn-Currency` makes, in a form a caller that cannot send custom headers can use. The public funnel is exactly that caller: its transport forbids them outright, because `X-Zinn-Currency` once shipped on an SPA without its engine CORS entry and took production down with every deploy green. An unknown or unoffered code falls back silently rather than raising — a bad value must never break a pricing page. */
|
|
189785
190230
|
currency?: string;
|
|
190231
|
+
/** @description The interface language the page renders in (`de`, `pt-BR`, …). The add-ons' names and descriptions come back in it, the seeded English where a string has no translation yet. Missing or unsupported keeps the English. Never read from `Accept-Language`: the value comes from the page the copy sits in (1108#14). */
|
|
190232
|
+
locale?: string;
|
|
189786
190233
|
};
|
|
189787
190234
|
header?: never;
|
|
189788
190235
|
path: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1614",
|
|
4
4
|
"description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",
|