@widgetic/api-sdk-ts 2.0.3 → 3.0.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/apis/CreditsApi.d.ts +2 -2
- package/dist/apis/CreditsApi.js +2 -2
- package/dist/apis/ManagedUsersApi.d.ts +2 -2
- package/dist/apis/ManagedUsersApi.js +2 -2
- package/dist/apis/OrganizationsApi.d.ts +74 -0
- package/dist/apis/OrganizationsApi.js +205 -0
- package/dist/apis/PartnersApi.d.ts +8 -8
- package/dist/apis/PartnersApi.js +8 -8
- package/dist/apis/TokensApi.d.ts +2 -2
- package/dist/apis/TokensApi.js +2 -2
- package/dist/apis/UploadsApi.d.ts +2 -2
- package/dist/apis/UploadsApi.js +2 -2
- package/dist/apis/UsersApi.d.ts +3 -59
- package/dist/apis/UsersApi.js +2 -150
- package/dist/apis/WidgetsApi.d.ts +2 -2
- package/dist/apis/WidgetsApi.js +2 -2
- package/dist/apis/WorkflowsApi.d.ts +38 -38
- package/dist/apis/WorkflowsApi.js +38 -38
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/CreditsApi.js +2 -2
- package/dist/esm/apis/ManagedUsersApi.js +2 -2
- package/dist/esm/apis/OrganizationsApi.js +168 -0
- package/dist/esm/apis/PartnersApi.js +8 -8
- package/dist/esm/apis/TokensApi.js +2 -2
- package/dist/esm/apis/UploadsApi.js +2 -2
- package/dist/esm/apis/UsersApi.js +3 -151
- package/dist/esm/apis/WidgetsApi.js +2 -2
- package/dist/esm/apis/WorkflowsApi.js +38 -38
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/{GetPersonalWorkspaceDomains200Response.js → AddOrganizationDomainResponse.js} +11 -11
- package/dist/esm/models/AddOrganizationDomainResponseData.js +44 -0
- package/dist/esm/models/{PersonalWorkspaceDomainResultResponse.js → DeleteOrganizationDomainResponse.js} +11 -11
- package/dist/esm/models/DeleteOrganizationDomainResponseData.js +41 -0
- package/dist/esm/models/EditorSession.js +4 -0
- package/dist/esm/models/GetOrganizationDomains200Response.js +51 -0
- package/dist/esm/models/NewWidget.js +0 -1
- package/dist/esm/models/{PersonalWorkspaceDomain.js → OrganizationDomain.js} +12 -18
- package/dist/esm/models/{DeletePersonalWorkspaceDomainResponse.js → UpdateOrganizationDomainResponse.js} +11 -11
- package/dist/esm/models/UserApiKey.js +2 -0
- package/dist/esm/models/ValidateToken200ResponseData.js +3 -0
- package/dist/esm/models/ValidateToken200ResponseDataWorkspace.js +43 -0
- package/dist/esm/models/index.js +8 -6
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AccountCreditBalance.d.ts +1 -1
- package/dist/models/AddOrganizationDomainResponse.d.ts +46 -0
- package/dist/models/AddOrganizationDomainResponse.js +58 -0
- package/dist/models/AddOrganizationDomainResponseData.d.ts +39 -0
- package/dist/models/AddOrganizationDomainResponseData.js +51 -0
- package/dist/models/DeleteOrganizationDomainResponse.d.ts +46 -0
- package/dist/models/DeleteOrganizationDomainResponse.js +58 -0
- package/dist/models/DeleteOrganizationDomainResponseData.d.ts +32 -0
- package/dist/models/DeleteOrganizationDomainResponseData.js +48 -0
- package/dist/models/EditorSession.d.ts +7 -0
- package/dist/models/EditorSession.js +4 -0
- package/dist/models/GetOrganizationDomains200Response.d.ts +46 -0
- package/dist/models/GetOrganizationDomains200Response.js +58 -0
- package/dist/models/NewEditorSession.d.ts +1 -1
- package/dist/models/NewWidget.d.ts +2 -3
- package/dist/models/NewWidget.js +0 -1
- package/dist/models/OrganizationDomain.d.ts +56 -0
- package/dist/models/OrganizationDomain.js +56 -0
- package/dist/models/PartnerBillingOverviewOperationalCredits.d.ts +1 -1
- package/dist/models/UpdateOrganizationDomainResponse.d.ts +46 -0
- package/dist/models/UpdateOrganizationDomainResponse.js +58 -0
- package/dist/models/UserApiKey.d.ts +6 -0
- package/dist/models/UserApiKey.js +2 -0
- package/dist/models/ValidateToken200ResponseData.d.ts +7 -0
- package/dist/models/ValidateToken200ResponseData.js +3 -0
- package/dist/models/ValidateToken200ResponseDataWorkspace.d.ts +38 -0
- package/dist/models/ValidateToken200ResponseDataWorkspace.js +50 -0
- package/dist/models/WorkflowDetailAllOfLastEditedBy.d.ts +2 -2
- package/dist/models/index.d.ts +8 -6
- package/dist/models/index.js +8 -6
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/dist/esm/models/DeletePersonalWorkspaceDomainResponseData.js +0 -41
- package/dist/esm/models/PersonalWorkspaceDomainResult.js +0 -48
- package/dist/models/DeletePersonalWorkspaceDomainResponse.d.ts +0 -46
- package/dist/models/DeletePersonalWorkspaceDomainResponse.js +0 -58
- package/dist/models/DeletePersonalWorkspaceDomainResponseData.d.ts +0 -32
- package/dist/models/DeletePersonalWorkspaceDomainResponseData.js +0 -48
- package/dist/models/GetPersonalWorkspaceDomains200Response.d.ts +0 -46
- package/dist/models/GetPersonalWorkspaceDomains200Response.js +0 -58
- package/dist/models/PersonalWorkspaceDomain.d.ts +0 -56
- package/dist/models/PersonalWorkspaceDomain.js +0 -62
- package/dist/models/PersonalWorkspaceDomainResult.d.ts +0 -39
- package/dist/models/PersonalWorkspaceDomainResult.js +0 -55
- package/dist/models/PersonalWorkspaceDomainResultResponse.d.ts +0 -46
- package/dist/models/PersonalWorkspaceDomainResultResponse.js +0 -58
|
@@ -18,7 +18,7 @@ import { CreateWorkspaceWorkflowFromPresetRequestToJSON, CreateWorkspaceWorkflow
|
|
|
18
18
|
*/
|
|
19
19
|
export class WorkflowsApi extends runtime.BaseAPI {
|
|
20
20
|
/**
|
|
21
|
-
* Takes a workflow out of the default list and stops it serving: its embeds show only their first composition, as when paused. It is kept, with its versions and counts, until it is deleted.
|
|
21
|
+
* Takes a workflow out of the default list and stops it serving: its embeds show only their first composition, as when paused. It is kept, with its versions and counts, until it is deleted. The workspace is named by its UUID. Any active member can archive.
|
|
22
22
|
* Archive a Workflow
|
|
23
23
|
*/
|
|
24
24
|
async archiveWorkspaceWorkflowRaw(requestParameters, initOverrides) {
|
|
@@ -52,7 +52,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
52
52
|
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowResponseFromJSON(jsonValue));
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
-
* Takes a workflow out of the default list and stops it serving: its embeds show only their first composition, as when paused. It is kept, with its versions and counts, until it is deleted.
|
|
55
|
+
* Takes a workflow out of the default list and stops it serving: its embeds show only their first composition, as when paused. It is kept, with its versions and counts, until it is deleted. The workspace is named by its UUID. Any active member can archive.
|
|
56
56
|
* Archive a Workflow
|
|
57
57
|
*/
|
|
58
58
|
async archiveWorkspaceWorkflow(requestParameters, initOverrides) {
|
|
@@ -60,7 +60,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
60
60
|
return await response.value();
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
|
-
* Makes a draft workflow. Give it a composition and the workflow is born with one block, which starts it; without one it starts empty. A workspace holds up to 500 workflows.
|
|
63
|
+
* Makes a draft workflow. Give it a composition and the workflow is born with one block, which starts it; without one it starts empty. A workspace holds up to 500 workflows. The workspace is named by its UUID. Any active member can create one.
|
|
64
64
|
* Create a Workflow
|
|
65
65
|
*/
|
|
66
66
|
async createWorkspaceWorkflowRaw(requestParameters, initOverrides) {
|
|
@@ -102,7 +102,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
102
102
|
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowDetailResponseFromJSON(jsonValue));
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
105
|
-
* Makes a draft workflow. Give it a composition and the workflow is born with one block, which starts it; without one it starts empty. A workspace holds up to 500 workflows.
|
|
105
|
+
* Makes a draft workflow. Give it a composition and the workflow is born with one block, which starts it; without one it starts empty. A workspace holds up to 500 workflows. The workspace is named by its UUID. Any active member can create one.
|
|
106
106
|
* Create a Workflow
|
|
107
107
|
*/
|
|
108
108
|
async createWorkspaceWorkflow(requestParameters, initOverrides) {
|
|
@@ -110,7 +110,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
110
110
|
return await response.value();
|
|
111
111
|
}
|
|
112
112
|
/**
|
|
113
|
-
* Makes your own copy of a starting point (`listWorkspaceWorkflowPresets`): a copy of every widget it chains (an ordinary private widget that serves the starting point\'s published code), a composition of your own on each copy (a draft, with the content, design, embed settings and tables of the original), and a draft workflow wired like the starting point\'s live version. The workflow is named as you ask, or after the starting point. Nothing you do to the copy reaches the starting point, and nothing its offerer changes afterwards reaches your copy. The workflow stays a draft: publish it when it is ready. A start takes a few seconds, because each widget is copied. Send an `Idempotency-Key` so that asking again after a timeout makes one copy. When a start fails (503 with `details.reason` `preset_copy_failed`) the compositions it made are removed again, so asking again is safe; the widget copies it made stay in the workspace as ordinary widgets. The workspace\'s limit of workflows is checked before anything is copied. A starting point that is not offered to you, or that can no longer be started, is 404.
|
|
113
|
+
* Makes your own copy of a starting point (`listWorkspaceWorkflowPresets`): a copy of every widget it chains (an ordinary private widget that serves the starting point\'s published code), a composition of your own on each copy (a draft, with the content, design, embed settings and tables of the original), and a draft workflow wired like the starting point\'s live version. The workflow is named as you ask, or after the starting point. Nothing you do to the copy reaches the starting point, and nothing its offerer changes afterwards reaches your copy. The workflow stays a draft: publish it when it is ready. A start takes a few seconds, because each widget is copied. Send an `Idempotency-Key` so that asking again after a timeout makes one copy. When a start fails (503 with `details.reason` `preset_copy_failed`) the compositions it made are removed again, so asking again is safe; the widget copies it made stay in the workspace as ordinary widgets. The workspace\'s limit of workflows is checked before anything is copied. A starting point that is not offered to you, or that can no longer be started, is 404. The workspace is named by its UUID. Any active member can start one.
|
|
114
114
|
* Start a Workflow from a starting point
|
|
115
115
|
*/
|
|
116
116
|
async createWorkspaceWorkflowFromPresetRaw(requestParameters, initOverrides) {
|
|
@@ -152,7 +152,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
152
152
|
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowDetailResponseFromJSON(jsonValue));
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
|
-
* Makes your own copy of a starting point (`listWorkspaceWorkflowPresets`): a copy of every widget it chains (an ordinary private widget that serves the starting point\'s published code), a composition of your own on each copy (a draft, with the content, design, embed settings and tables of the original), and a draft workflow wired like the starting point\'s live version. The workflow is named as you ask, or after the starting point. Nothing you do to the copy reaches the starting point, and nothing its offerer changes afterwards reaches your copy. The workflow stays a draft: publish it when it is ready. A start takes a few seconds, because each widget is copied. Send an `Idempotency-Key` so that asking again after a timeout makes one copy. When a start fails (503 with `details.reason` `preset_copy_failed`) the compositions it made are removed again, so asking again is safe; the widget copies it made stay in the workspace as ordinary widgets. The workspace\'s limit of workflows is checked before anything is copied. A starting point that is not offered to you, or that can no longer be started, is 404.
|
|
155
|
+
* Makes your own copy of a starting point (`listWorkspaceWorkflowPresets`): a copy of every widget it chains (an ordinary private widget that serves the starting point\'s published code), a composition of your own on each copy (a draft, with the content, design, embed settings and tables of the original), and a draft workflow wired like the starting point\'s live version. The workflow is named as you ask, or after the starting point. Nothing you do to the copy reaches the starting point, and nothing its offerer changes afterwards reaches your copy. The workflow stays a draft: publish it when it is ready. A start takes a few seconds, because each widget is copied. Send an `Idempotency-Key` so that asking again after a timeout makes one copy. When a start fails (503 with `details.reason` `preset_copy_failed`) the compositions it made are removed again, so asking again is safe; the widget copies it made stay in the workspace as ordinary widgets. The workspace\'s limit of workflows is checked before anything is copied. A starting point that is not offered to you, or that can no longer be started, is 404. The workspace is named by its UUID. Any active member can start one.
|
|
156
156
|
* Start a Workflow from a starting point
|
|
157
157
|
*/
|
|
158
158
|
async createWorkspaceWorkflowFromPreset(requestParameters, initOverrides) {
|
|
@@ -160,7 +160,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
160
160
|
return await response.value();
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
|
-
* Deletes a workflow, in whatever state it is in (draft, live, paused or archived), with all its versions and counts. It cannot be undone: archive the workflow instead to keep it. The compositions it chained are not touched, and a page whose embed still names the workflow shows the embed\'s first composition, as for a paused one. Asking for a workflow that is already gone is \"not found\".
|
|
163
|
+
* Deletes a workflow, in whatever state it is in (draft, live, paused or archived), with all its versions and counts. It cannot be undone: archive the workflow instead to keep it. The compositions it chained are not touched, and a page whose embed still names the workflow shows the embed\'s first composition, as for a paused one. Asking for a workflow that is already gone is \"not found\". The workspace is named by its UUID. Any active member can delete.
|
|
164
164
|
* Delete a Workflow
|
|
165
165
|
*/
|
|
166
166
|
async deleteWorkspaceWorkflowRaw(requestParameters, initOverrides) {
|
|
@@ -194,7 +194,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
194
194
|
return new runtime.JSONApiResponse(response, (jsonValue) => DeleteWorkspaceWorkflow200ResponseFromJSON(jsonValue));
|
|
195
195
|
}
|
|
196
196
|
/**
|
|
197
|
-
* Deletes a workflow, in whatever state it is in (draft, live, paused or archived), with all its versions and counts. It cannot be undone: archive the workflow instead to keep it. The compositions it chained are not touched, and a page whose embed still names the workflow shows the embed\'s first composition, as for a paused one. Asking for a workflow that is already gone is \"not found\".
|
|
197
|
+
* Deletes a workflow, in whatever state it is in (draft, live, paused or archived), with all its versions and counts. It cannot be undone: archive the workflow instead to keep it. The compositions it chained are not touched, and a page whose embed still names the workflow shows the embed\'s first composition, as for a paused one. Asking for a workflow that is already gone is \"not found\". The workspace is named by its UUID. Any active member can delete.
|
|
198
198
|
* Delete a Workflow
|
|
199
199
|
*/
|
|
200
200
|
async deleteWorkspaceWorkflow(requestParameters, initOverrides) {
|
|
@@ -202,7 +202,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
202
202
|
return await response.value();
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
|
-
* Puts the draft back to the live version (its graph and its time zone). Only for a workflow that has been published; one that never was has no live version to go back to. Names the `revision` the editor read.
|
|
205
|
+
* Puts the draft back to the live version (its graph and its time zone). Only for a workflow that has been published; one that never was has no live version to go back to. Names the `revision` the editor read. The workspace is named by its UUID. Any active member can discard.
|
|
206
206
|
* Discard the Unpublished Changes of a Workflow
|
|
207
207
|
*/
|
|
208
208
|
async discardWorkspaceWorkflowChangesRaw(requestParameters, initOverrides) {
|
|
@@ -241,7 +241,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
241
241
|
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowDetailResponseFromJSON(jsonValue));
|
|
242
242
|
}
|
|
243
243
|
/**
|
|
244
|
-
* Puts the draft back to the live version (its graph and its time zone). Only for a workflow that has been published; one that never was has no live version to go back to. Names the `revision` the editor read.
|
|
244
|
+
* Puts the draft back to the live version (its graph and its time zone). Only for a workflow that has been published; one that never was has no live version to go back to. Names the `revision` the editor read. The workspace is named by its UUID. Any active member can discard.
|
|
245
245
|
* Discard the Unpublished Changes of a Workflow
|
|
246
246
|
*/
|
|
247
247
|
async discardWorkspaceWorkflowChanges(requestParameters, initOverrides) {
|
|
@@ -249,7 +249,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
249
249
|
return await response.value();
|
|
250
250
|
}
|
|
251
251
|
/**
|
|
252
|
-
* Makes a draft copy of a workflow (its draft graph, not its versions or counts), named \"<name> (copy)\".
|
|
252
|
+
* Makes a draft copy of a workflow (its draft graph, not its versions or counts), named \"<name> (copy)\". The workspace is named by its UUID. Any active member can duplicate.
|
|
253
253
|
* Duplicate a Workflow
|
|
254
254
|
*/
|
|
255
255
|
async duplicateWorkspaceWorkflowRaw(requestParameters, initOverrides) {
|
|
@@ -289,7 +289,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
289
289
|
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowDetailResponseFromJSON(jsonValue));
|
|
290
290
|
}
|
|
291
291
|
/**
|
|
292
|
-
* Makes a draft copy of a workflow (its draft graph, not its versions or counts), named \"<name> (copy)\".
|
|
292
|
+
* Makes a draft copy of a workflow (its draft graph, not its versions or counts), named \"<name> (copy)\". The workspace is named by its UUID. Any active member can duplicate.
|
|
293
293
|
* Duplicate a Workflow
|
|
294
294
|
*/
|
|
295
295
|
async duplicateWorkspaceWorkflow(requestParameters, initOverrides) {
|
|
@@ -297,7 +297,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
297
297
|
return await response.value();
|
|
298
298
|
}
|
|
299
299
|
/**
|
|
300
|
-
* Reads a workflow with its draft graph and the version that is live.
|
|
300
|
+
* Reads a workflow with its draft graph and the version that is live. The workspace is named by its UUID. Any active member can read it.
|
|
301
301
|
* Get a Workflow
|
|
302
302
|
*/
|
|
303
303
|
async getWorkspaceWorkflowRaw(requestParameters, initOverrides) {
|
|
@@ -331,7 +331,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
331
331
|
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowDetailResponseFromJSON(jsonValue));
|
|
332
332
|
}
|
|
333
333
|
/**
|
|
334
|
-
* Reads a workflow with its draft graph and the version that is live.
|
|
334
|
+
* Reads a workflow with its draft graph and the version that is live. The workspace is named by its UUID. Any active member can read it.
|
|
335
335
|
* Get a Workflow
|
|
336
336
|
*/
|
|
337
337
|
async getWorkspaceWorkflow(requestParameters, initOverrides) {
|
|
@@ -339,7 +339,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
339
339
|
return await response.value();
|
|
340
340
|
}
|
|
341
341
|
/**
|
|
342
|
-
* Counts per block and per connection over a range of UTC days (the last 30 days when not given, up to 366), for one version or for all of them. Only counts: how many visitors reached a block, took a connection, or could not be moved on, and, where the visitor\'s browser said why a block could not be shown, how many of those failures had each reason (`failedReasons`: a timeout, an error of the widget, a build that failed, or another reason). No visitor and no value a visitor typed is ever stored.
|
|
342
|
+
* Counts per block and per connection over a range of UTC days (the last 30 days when not given, up to 366), for one version or for all of them. Only counts: how many visitors reached a block, took a connection, or could not be moved on, and, where the visitor\'s browser said why a block could not be shown, how many of those failures had each reason (`failedReasons`: a timeout, an error of the widget, a build that failed, or another reason). No visitor and no value a visitor typed is ever stored. The workspace is named by its UUID. Any active member can read.
|
|
343
343
|
* Get what Visitors Did in a Workflow
|
|
344
344
|
*/
|
|
345
345
|
async getWorkspaceWorkflowStatsRaw(requestParameters, initOverrides) {
|
|
@@ -382,7 +382,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
382
382
|
return new runtime.JSONApiResponse(response, (jsonValue) => GetWorkspaceWorkflowStats200ResponseFromJSON(jsonValue));
|
|
383
383
|
}
|
|
384
384
|
/**
|
|
385
|
-
* Counts per block and per connection over a range of UTC days (the last 30 days when not given, up to 366), for one version or for all of them. Only counts: how many visitors reached a block, took a connection, or could not be moved on, and, where the visitor\'s browser said why a block could not be shown, how many of those failures had each reason (`failedReasons`: a timeout, an error of the widget, a build that failed, or another reason). No visitor and no value a visitor typed is ever stored.
|
|
385
|
+
* Counts per block and per connection over a range of UTC days (the last 30 days when not given, up to 366), for one version or for all of them. Only counts: how many visitors reached a block, took a connection, or could not be moved on, and, where the visitor\'s browser said why a block could not be shown, how many of those failures had each reason (`failedReasons`: a timeout, an error of the widget, a build that failed, or another reason). No visitor and no value a visitor typed is ever stored. The workspace is named by its UUID. Any active member can read.
|
|
386
386
|
* Get what Visitors Did in a Workflow
|
|
387
387
|
*/
|
|
388
388
|
async getWorkspaceWorkflowStats(requestParameters, initOverrides) {
|
|
@@ -390,7 +390,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
390
390
|
return await response.value();
|
|
391
391
|
}
|
|
392
392
|
/**
|
|
393
|
-
* One published version with its graph, for the read-only preview and for the Runs view.
|
|
393
|
+
* One published version with its graph, for the read-only preview and for the Runs view. The workspace is named by its UUID. Any active member can read.
|
|
394
394
|
* Get a Published Version of a Workflow
|
|
395
395
|
*/
|
|
396
396
|
async getWorkspaceWorkflowVersionRaw(requestParameters, initOverrides) {
|
|
@@ -427,7 +427,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
427
427
|
return new runtime.JSONApiResponse(response, (jsonValue) => GetWorkspaceWorkflowVersion200ResponseFromJSON(jsonValue));
|
|
428
428
|
}
|
|
429
429
|
/**
|
|
430
|
-
* One published version with its graph, for the read-only preview and for the Runs view.
|
|
430
|
+
* One published version with its graph, for the read-only preview and for the Runs view. The workspace is named by its UUID. Any active member can read.
|
|
431
431
|
* Get a Published Version of a Workflow
|
|
432
432
|
*/
|
|
433
433
|
async getWorkspaceWorkflowVersion(requestParameters, initOverrides) {
|
|
@@ -435,7 +435,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
435
435
|
return await response.value();
|
|
436
436
|
}
|
|
437
437
|
/**
|
|
438
|
-
* The workspace\'s compositions as the workflow editor offers them, newest first. For each one: whether it can be shown (its widget has a published version), the websites it may be embedded on, and which triggers it supports. - **Input added** (`inputs`) is enabled only for a composition that declares at least one table a visitor\'s entries can be written to. Its `tables` are all of them; its `fields` are the columns a rule may read (not `id` and `created_at`, not a column that is not text, a number or yes/no, and not one whose name says it holds a person\'s private details, such as an email or a phone number). - **Action in the widget** (`actions`) is enabled only when the published widget version declares at least one goal. Its `items` are the goals a trigger can wait for. When one of them is not enabled, `reason` says why (`widget_keeps_no_data`, `widget_reports_no_actions` or `widget_not_published`), so the editor can show the trigger disabled with an explanation. Publishing checks every reference again against what the composition can do at that moment.
|
|
438
|
+
* The workspace\'s compositions as the workflow editor offers them, newest first. For each one: whether it can be shown (its widget has a published version), the websites it may be embedded on, and which triggers it supports. - **Input added** (`inputs`) is enabled only for a composition that declares at least one table a visitor\'s entries can be written to. Its `tables` are all of them; its `fields` are the columns a rule may read (not `id` and `created_at`, not a column that is not text, a number or yes/no, and not one whose name says it holds a person\'s private details, such as an email or a phone number). - **Action in the widget** (`actions`) is enabled only when the published widget version declares at least one goal. Its `items` are the goals a trigger can wait for. When one of them is not enabled, `reason` says why (`widget_keeps_no_data`, `widget_reports_no_actions` or `widget_not_published`), so the editor can show the trigger disabled with an explanation. Publishing checks every reference again against what the composition can do at that moment. The workspace is named by its UUID. Any active member can read it.
|
|
439
439
|
* List the compositions a workflow can show, and what each can do
|
|
440
440
|
*/
|
|
441
441
|
async listWorkspaceWorkflowCompositionOptionsRaw(requestParameters, initOverrides) {
|
|
@@ -478,7 +478,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
478
478
|
return new runtime.JSONApiResponse(response, (jsonValue) => ListWorkspaceWorkflowCompositionOptions200ResponseFromJSON(jsonValue));
|
|
479
479
|
}
|
|
480
480
|
/**
|
|
481
|
-
* The workspace\'s compositions as the workflow editor offers them, newest first. For each one: whether it can be shown (its widget has a published version), the websites it may be embedded on, and which triggers it supports. - **Input added** (`inputs`) is enabled only for a composition that declares at least one table a visitor\'s entries can be written to. Its `tables` are all of them; its `fields` are the columns a rule may read (not `id` and `created_at`, not a column that is not text, a number or yes/no, and not one whose name says it holds a person\'s private details, such as an email or a phone number). - **Action in the widget** (`actions`) is enabled only when the published widget version declares at least one goal. Its `items` are the goals a trigger can wait for. When one of them is not enabled, `reason` says why (`widget_keeps_no_data`, `widget_reports_no_actions` or `widget_not_published`), so the editor can show the trigger disabled with an explanation. Publishing checks every reference again against what the composition can do at that moment.
|
|
481
|
+
* The workspace\'s compositions as the workflow editor offers them, newest first. For each one: whether it can be shown (its widget has a published version), the websites it may be embedded on, and which triggers it supports. - **Input added** (`inputs`) is enabled only for a composition that declares at least one table a visitor\'s entries can be written to. Its `tables` are all of them; its `fields` are the columns a rule may read (not `id` and `created_at`, not a column that is not text, a number or yes/no, and not one whose name says it holds a person\'s private details, such as an email or a phone number). - **Action in the widget** (`actions`) is enabled only when the published widget version declares at least one goal. Its `items` are the goals a trigger can wait for. When one of them is not enabled, `reason` says why (`widget_keeps_no_data`, `widget_reports_no_actions` or `widget_not_published`), so the editor can show the trigger disabled with an explanation. Publishing checks every reference again against what the composition can do at that moment. The workspace is named by its UUID. Any active member can read it.
|
|
482
482
|
* List the compositions a workflow can show, and what each can do
|
|
483
483
|
*/
|
|
484
484
|
async listWorkspaceWorkflowCompositionOptions(requestParameters, initOverrides) {
|
|
@@ -486,7 +486,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
486
486
|
return await response.value();
|
|
487
487
|
}
|
|
488
488
|
/**
|
|
489
|
-
* The workflows you can start from in this workspace: published workflows that Widgetic offers or, for one of a partner\'s managed users, that the partner offers (a managed user is never shown Widgetic\'s, and a person is never shown a partner\'s). Only what can be started now is listed, in the order the offerer set (smallest `position` first, then by `key`). Each shows what you would get, and none shows who made it or any id of its own. Start from one with `createWorkspaceWorkflowFromPreset`.
|
|
489
|
+
* The workflows you can start from in this workspace: published workflows that Widgetic offers or, for one of a partner\'s managed users, that the partner offers (a managed user is never shown Widgetic\'s, and a person is never shown a partner\'s). Only what can be started now is listed, in the order the offerer set (smallest `position` first, then by `key`). Each shows what you would get, and none shows who made it or any id of its own. Start from one with `createWorkspaceWorkflowFromPreset`. The workspace is named by its UUID. Any active member can read the list.
|
|
490
490
|
* List the starting points for a new Workflow
|
|
491
491
|
*/
|
|
492
492
|
async listWorkspaceWorkflowPresetsRaw(requestParameters, initOverrides) {
|
|
@@ -517,7 +517,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
517
517
|
return new runtime.JSONApiResponse(response, (jsonValue) => ListWorkspaceWorkflowPresets200ResponseFromJSON(jsonValue));
|
|
518
518
|
}
|
|
519
519
|
/**
|
|
520
|
-
* The workflows you can start from in this workspace: published workflows that Widgetic offers or, for one of a partner\'s managed users, that the partner offers (a managed user is never shown Widgetic\'s, and a person is never shown a partner\'s). Only what can be started now is listed, in the order the offerer set (smallest `position` first, then by `key`). Each shows what you would get, and none shows who made it or any id of its own. Start from one with `createWorkspaceWorkflowFromPreset`.
|
|
520
|
+
* The workflows you can start from in this workspace: published workflows that Widgetic offers or, for one of a partner\'s managed users, that the partner offers (a managed user is never shown Widgetic\'s, and a person is never shown a partner\'s). Only what can be started now is listed, in the order the offerer set (smallest `position` first, then by `key`). Each shows what you would get, and none shows who made it or any id of its own. Start from one with `createWorkspaceWorkflowFromPreset`. The workspace is named by its UUID. Any active member can read the list.
|
|
521
521
|
* List the starting points for a new Workflow
|
|
522
522
|
*/
|
|
523
523
|
async listWorkspaceWorkflowPresets(requestParameters, initOverrides) {
|
|
@@ -525,7 +525,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
525
525
|
return await response.value();
|
|
526
526
|
}
|
|
527
527
|
/**
|
|
528
|
-
* Every version the workflow has had, newest first, with who published it and when. The one visitors get is marked `isLive`.
|
|
528
|
+
* Every version the workflow has had, newest first, with who published it and when. The one visitors get is marked `isLive`. The workspace is named by its UUID. Any active member can read.
|
|
529
529
|
* List the Published Versions of a Workflow
|
|
530
530
|
*/
|
|
531
531
|
async listWorkspaceWorkflowVersionsRaw(requestParameters, initOverrides) {
|
|
@@ -559,7 +559,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
559
559
|
return new runtime.JSONApiResponse(response, (jsonValue) => ListWorkspaceWorkflowVersions200ResponseFromJSON(jsonValue));
|
|
560
560
|
}
|
|
561
561
|
/**
|
|
562
|
-
* Every version the workflow has had, newest first, with who published it and when. The one visitors get is marked `isLive`.
|
|
562
|
+
* Every version the workflow has had, newest first, with who published it and when. The one visitors get is marked `isLive`. The workspace is named by its UUID. Any active member can read.
|
|
563
563
|
* List the Published Versions of a Workflow
|
|
564
564
|
*/
|
|
565
565
|
async listWorkspaceWorkflowVersions(requestParameters, initOverrides) {
|
|
@@ -567,7 +567,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
567
567
|
return await response.value();
|
|
568
568
|
}
|
|
569
569
|
/**
|
|
570
|
-
* Lists the workspace\'s workflows, newest first unless `sort` says otherwise. Archived workflows are left out unless `status` asks for them (`archived`, or `all`).
|
|
570
|
+
* Lists the workspace\'s workflows, newest first unless `sort` says otherwise. Archived workflows are left out unless `status` asks for them (`archived`, or `all`). The workspace is named by its UUID. Any active member can read the list.
|
|
571
571
|
* List the Workflows of a Workspace
|
|
572
572
|
*/
|
|
573
573
|
async listWorkspaceWorkflowsRaw(requestParameters, initOverrides) {
|
|
@@ -613,7 +613,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
613
613
|
return new runtime.JSONApiResponse(response, (jsonValue) => ListWorkspaceWorkflows200ResponseFromJSON(jsonValue));
|
|
614
614
|
}
|
|
615
615
|
/**
|
|
616
|
-
* Lists the workspace\'s workflows, newest first unless `sort` says otherwise. Archived workflows are left out unless `status` asks for them (`archived`, or `all`).
|
|
616
|
+
* Lists the workspace\'s workflows, newest first unless `sort` says otherwise. Archived workflows are left out unless `status` asks for them (`archived`, or `all`). The workspace is named by its UUID. Any active member can read the list.
|
|
617
617
|
* List the Workflows of a Workspace
|
|
618
618
|
*/
|
|
619
619
|
async listWorkspaceWorkflows(requestParameters, initOverrides) {
|
|
@@ -621,7 +621,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
621
621
|
return await response.value();
|
|
622
622
|
}
|
|
623
623
|
/**
|
|
624
|
-
* While a workflow is paused, its embeds show only their first composition (the `composition-id` of the embed) and no visitor moves on. The live version is kept, and visitors partway through carry on from where they were when it is resumed. Only a live workflow can be paused.
|
|
624
|
+
* While a workflow is paused, its embeds show only their first composition (the `composition-id` of the embed) and no visitor moves on. The live version is kept, and visitors partway through carry on from where they were when it is resumed. Only a live workflow can be paused. The workspace is named by its UUID. Any active member can pause.
|
|
625
625
|
* Pause a Workflow
|
|
626
626
|
*/
|
|
627
627
|
async pauseWorkspaceWorkflowRaw(requestParameters, initOverrides) {
|
|
@@ -655,7 +655,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
655
655
|
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowResponseFromJSON(jsonValue));
|
|
656
656
|
}
|
|
657
657
|
/**
|
|
658
|
-
* While a workflow is paused, its embeds show only their first composition (the `composition-id` of the embed) and no visitor moves on. The live version is kept, and visitors partway through carry on from where they were when it is resumed. Only a live workflow can be paused.
|
|
658
|
+
* While a workflow is paused, its embeds show only their first composition (the `composition-id` of the embed) and no visitor moves on. The live version is kept, and visitors partway through carry on from where they were when it is resumed. Only a live workflow can be paused. The workspace is named by its UUID. Any active member can pause.
|
|
659
659
|
* Pause a Workflow
|
|
660
660
|
*/
|
|
661
661
|
async pauseWorkspaceWorkflow(requestParameters, initOverrides) {
|
|
@@ -663,7 +663,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
663
663
|
return await response.value();
|
|
664
664
|
}
|
|
665
665
|
/**
|
|
666
|
-
* Checks the draft and, when nothing stops it, makes it the next version and the one new visitors get. Versions never change once published. A visitor already partway through keeps the version they started on (for up to 30 days). The check reads what each composition can do right now (a table the visitor adds to, a goal the widget reports, the websites it may be embedded on), so a workflow never goes live pointing at something that has gone. It is refused with 422 (`BUSINESS_OPERATION_INVALID`) when the draft has errors; the `issues` in the error\'s `details` name the blocks to fix: an unconnected trigger, a condition without rules, a composition that is not published, a field or action that is gone, a composition whose allowed websites exclude the site the workflow starts on. Nothing is published when the draft has no changes since the live version. The `revision` is the one the editor read, and a publish of a draft that has moved on is refused with 409.
|
|
666
|
+
* Checks the draft and, when nothing stops it, makes it the next version and the one new visitors get. Versions never change once published. A visitor already partway through keeps the version they started on (for up to 30 days). The check reads what each composition can do right now (a table the visitor adds to, a goal the widget reports, the websites it may be embedded on), so a workflow never goes live pointing at something that has gone. It is refused with 422 (`BUSINESS_OPERATION_INVALID`) when the draft has errors; the `issues` in the error\'s `details` name the blocks to fix: an unconnected trigger, a condition without rules, a composition that is not published, a field or action that is gone, a composition whose allowed websites exclude the site the workflow starts on. Nothing is published when the draft has no changes since the live version. The `revision` is the one the editor read, and a publish of a draft that has moved on is refused with 409. The workspace is named by its UUID. Any active member can publish.
|
|
667
667
|
* Publish the Draft of a Workflow
|
|
668
668
|
*/
|
|
669
669
|
async publishWorkspaceWorkflowRaw(requestParameters, initOverrides) {
|
|
@@ -708,7 +708,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
708
708
|
return new runtime.JSONApiResponse(response, (jsonValue) => PublishWorkspaceWorkflow200ResponseFromJSON(jsonValue));
|
|
709
709
|
}
|
|
710
710
|
/**
|
|
711
|
-
* Checks the draft and, when nothing stops it, makes it the next version and the one new visitors get. Versions never change once published. A visitor already partway through keeps the version they started on (for up to 30 days). The check reads what each composition can do right now (a table the visitor adds to, a goal the widget reports, the websites it may be embedded on), so a workflow never goes live pointing at something that has gone. It is refused with 422 (`BUSINESS_OPERATION_INVALID`) when the draft has errors; the `issues` in the error\'s `details` name the blocks to fix: an unconnected trigger, a condition without rules, a composition that is not published, a field or action that is gone, a composition whose allowed websites exclude the site the workflow starts on. Nothing is published when the draft has no changes since the live version. The `revision` is the one the editor read, and a publish of a draft that has moved on is refused with 409.
|
|
711
|
+
* Checks the draft and, when nothing stops it, makes it the next version and the one new visitors get. Versions never change once published. A visitor already partway through keeps the version they started on (for up to 30 days). The check reads what each composition can do right now (a table the visitor adds to, a goal the widget reports, the websites it may be embedded on), so a workflow never goes live pointing at something that has gone. It is refused with 422 (`BUSINESS_OPERATION_INVALID`) when the draft has errors; the `issues` in the error\'s `details` name the blocks to fix: an unconnected trigger, a condition without rules, a composition that is not published, a field or action that is gone, a composition whose allowed websites exclude the site the workflow starts on. Nothing is published when the draft has no changes since the live version. The `revision` is the one the editor read, and a publish of a draft that has moved on is refused with 409. The workspace is named by its UUID. Any active member can publish.
|
|
712
712
|
* Publish the Draft of a Workflow
|
|
713
713
|
*/
|
|
714
714
|
async publishWorkspaceWorkflow(requestParameters, initOverrides) {
|
|
@@ -716,7 +716,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
716
716
|
return await response.value();
|
|
717
717
|
}
|
|
718
718
|
/**
|
|
719
|
-
* Copies a published version into the draft, so it can be changed and published again. Nothing is published and nothing visitors see changes: the version stays in the history as it was. Names the `revision` the editor read.
|
|
719
|
+
* Copies a published version into the draft, so it can be changed and published again. Nothing is published and nothing visitors see changes: the version stays in the history as it was. Names the `revision` the editor read. The workspace is named by its UUID. Any active member can restore.
|
|
720
720
|
* Restore a Version of a Workflow into the Draft
|
|
721
721
|
*/
|
|
722
722
|
async restoreWorkspaceWorkflowVersionRaw(requestParameters, initOverrides) {
|
|
@@ -758,7 +758,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
758
758
|
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowDetailResponseFromJSON(jsonValue));
|
|
759
759
|
}
|
|
760
760
|
/**
|
|
761
|
-
* Copies a published version into the draft, so it can be changed and published again. Nothing is published and nothing visitors see changes: the version stays in the history as it was. Names the `revision` the editor read.
|
|
761
|
+
* Copies a published version into the draft, so it can be changed and published again. Nothing is published and nothing visitors see changes: the version stays in the history as it was. Names the `revision` the editor read. The workspace is named by its UUID. Any active member can restore.
|
|
762
762
|
* Restore a Version of a Workflow into the Draft
|
|
763
763
|
*/
|
|
764
764
|
async restoreWorkspaceWorkflowVersion(requestParameters, initOverrides) {
|
|
@@ -766,7 +766,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
766
766
|
return await response.value();
|
|
767
767
|
}
|
|
768
768
|
/**
|
|
769
|
-
* Makes a paused workflow live again, on the version that was live when it was paused.
|
|
769
|
+
* Makes a paused workflow live again, on the version that was live when it was paused. The workspace is named by its UUID. Any active member can resume.
|
|
770
770
|
* Resume a Paused Workflow
|
|
771
771
|
*/
|
|
772
772
|
async resumeWorkspaceWorkflowRaw(requestParameters, initOverrides) {
|
|
@@ -800,7 +800,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
800
800
|
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowResponseFromJSON(jsonValue));
|
|
801
801
|
}
|
|
802
802
|
/**
|
|
803
|
-
* Makes a paused workflow live again, on the version that was live when it was paused.
|
|
803
|
+
* Makes a paused workflow live again, on the version that was live when it was paused. The workspace is named by its UUID. Any active member can resume.
|
|
804
804
|
* Resume a Paused Workflow
|
|
805
805
|
*/
|
|
806
806
|
async resumeWorkspaceWorkflow(requestParameters, initOverrides) {
|
|
@@ -808,7 +808,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
808
808
|
return await response.value();
|
|
809
809
|
}
|
|
810
810
|
/**
|
|
811
|
-
* Saves the name, the time zone and/or the graph of the draft. Send at least one. The save names the `revision` the editor started from and is refused with 409 (`BUSINESS_STATE_CONFLICT`) when the draft has moved on, so two people editing do not overwrite each other without knowing; read the workflow again and apply the change to it. A save is never refused for what is wrong with the graph (a block with no connection yet is normal in a draft): only the shape is judged here, and what stops a workflow going live is told when it is published. A graph larger than 200,000 bytes, or with more than 100 blocks or 300 connections, is refused. An archived workflow cannot be saved. Saving a live workflow changes the draft only: visitors keep getting the published version until the changes are published.
|
|
811
|
+
* Saves the name, the time zone and/or the graph of the draft. Send at least one. The save names the `revision` the editor started from and is refused with 409 (`BUSINESS_STATE_CONFLICT`) when the draft has moved on, so two people editing do not overwrite each other without knowing; read the workflow again and apply the change to it. A save is never refused for what is wrong with the graph (a block with no connection yet is normal in a draft): only the shape is judged here, and what stops a workflow going live is told when it is published. A graph larger than 200,000 bytes, or with more than 100 blocks or 300 connections, is refused. An archived workflow cannot be saved. Saving a live workflow changes the draft only: visitors keep getting the published version until the changes are published. The workspace is named by its UUID. Any active member can save.
|
|
812
812
|
* Save the Draft of a Workflow
|
|
813
813
|
*/
|
|
814
814
|
async saveWorkspaceWorkflowRaw(requestParameters, initOverrides) {
|
|
@@ -847,7 +847,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
847
847
|
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowResponseFromJSON(jsonValue));
|
|
848
848
|
}
|
|
849
849
|
/**
|
|
850
|
-
* Saves the name, the time zone and/or the graph of the draft. Send at least one. The save names the `revision` the editor started from and is refused with 409 (`BUSINESS_STATE_CONFLICT`) when the draft has moved on, so two people editing do not overwrite each other without knowing; read the workflow again and apply the change to it. A save is never refused for what is wrong with the graph (a block with no connection yet is normal in a draft): only the shape is judged here, and what stops a workflow going live is told when it is published. A graph larger than 200,000 bytes, or with more than 100 blocks or 300 connections, is refused. An archived workflow cannot be saved. Saving a live workflow changes the draft only: visitors keep getting the published version until the changes are published.
|
|
850
|
+
* Saves the name, the time zone and/or the graph of the draft. Send at least one. The save names the `revision` the editor started from and is refused with 409 (`BUSINESS_STATE_CONFLICT`) when the draft has moved on, so two people editing do not overwrite each other without knowing; read the workflow again and apply the change to it. A save is never refused for what is wrong with the graph (a block with no connection yet is normal in a draft): only the shape is judged here, and what stops a workflow going live is told when it is published. A graph larger than 200,000 bytes, or with more than 100 blocks or 300 connections, is refused. An archived workflow cannot be saved. Saving a live workflow changes the draft only: visitors keep getting the published version until the changes are published. The workspace is named by its UUID. Any active member can save.
|
|
851
851
|
* Save the Draft of a Workflow
|
|
852
852
|
*/
|
|
853
853
|
async saveWorkspaceWorkflow(requestParameters, initOverrides) {
|
|
@@ -855,7 +855,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
855
855
|
return await response.value();
|
|
856
856
|
}
|
|
857
857
|
/**
|
|
858
|
-
* Brings an archived workflow back into the list: as paused when it was ever published (resume it to serve visitors again), as a draft when it never was.
|
|
858
|
+
* Brings an archived workflow back into the list: as paused when it was ever published (resume it to serve visitors again), as a draft when it never was. The workspace is named by its UUID. Any active member can unarchive.
|
|
859
859
|
* Unarchive a Workflow
|
|
860
860
|
*/
|
|
861
861
|
async unarchiveWorkspaceWorkflowRaw(requestParameters, initOverrides) {
|
|
@@ -889,7 +889,7 @@ export class WorkflowsApi extends runtime.BaseAPI {
|
|
|
889
889
|
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowResponseFromJSON(jsonValue));
|
|
890
890
|
}
|
|
891
891
|
/**
|
|
892
|
-
* Brings an archived workflow back into the list: as paused when it was ever published (resume it to serve visitors again), as a draft when it never was.
|
|
892
|
+
* Brings an archived workflow back into the list: as paused when it was ever published (resume it to serve visitors again), as a draft when it never was. The workspace is named by its UUID. Any active member can unarchive.
|
|
893
893
|
* Unarchive a Workflow
|
|
894
894
|
*/
|
|
895
895
|
async unarchiveWorkspaceWorkflow(requestParameters, initOverrides) {
|
package/dist/esm/apis/index.js
CHANGED
|
@@ -8,6 +8,7 @@ export * from './EntitlementsApi.js';
|
|
|
8
8
|
export * from './InvoicesApi.js';
|
|
9
9
|
export * from './ManagedUsersApi.js';
|
|
10
10
|
export * from './OperationsApi.js';
|
|
11
|
+
export * from './OrganizationsApi.js';
|
|
11
12
|
export * from './PartnersApi.js';
|
|
12
13
|
export * from './PublicEmbedApi.js';
|
|
13
14
|
export * from './TokensApi.js';
|
|
@@ -11,41 +11,41 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { PersonalWorkspaceDomainFromJSON, PersonalWorkspaceDomainToJSON, } from './PersonalWorkspaceDomain.js';
|
|
15
14
|
import { ResponseMetaFromJSON, ResponseMetaToJSON, } from './ResponseMeta.js';
|
|
15
|
+
import { AddOrganizationDomainResponseDataFromJSON, AddOrganizationDomainResponseDataToJSON, } from './AddOrganizationDomainResponseData.js';
|
|
16
16
|
/**
|
|
17
|
-
* Check if a given object implements the
|
|
17
|
+
* Check if a given object implements the AddOrganizationDomainResponse interface.
|
|
18
18
|
*/
|
|
19
|
-
export function
|
|
19
|
+
export function instanceOfAddOrganizationDomainResponse(value) {
|
|
20
20
|
if (!('success' in value) || value['success'] === undefined)
|
|
21
21
|
return false;
|
|
22
22
|
if (!('data' in value) || value['data'] === undefined)
|
|
23
23
|
return false;
|
|
24
24
|
return true;
|
|
25
25
|
}
|
|
26
|
-
export function
|
|
27
|
-
return
|
|
26
|
+
export function AddOrganizationDomainResponseFromJSON(json) {
|
|
27
|
+
return AddOrganizationDomainResponseFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
export function
|
|
29
|
+
export function AddOrganizationDomainResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
30
|
if (json == null) {
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
34
|
'success': json['success'],
|
|
35
|
-
'data': (json['data']
|
|
35
|
+
'data': AddOrganizationDomainResponseDataFromJSON(json['data']),
|
|
36
36
|
'meta': json['meta'] == null ? undefined : ResponseMetaFromJSON(json['meta']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function
|
|
40
|
-
return
|
|
39
|
+
export function AddOrganizationDomainResponseToJSON(json) {
|
|
40
|
+
return AddOrganizationDomainResponseToJSONTyped(json, false);
|
|
41
41
|
}
|
|
42
|
-
export function
|
|
42
|
+
export function AddOrganizationDomainResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
43
|
if (value == null) {
|
|
44
44
|
return value;
|
|
45
45
|
}
|
|
46
46
|
return {
|
|
47
47
|
'success': value['success'],
|
|
48
|
-
'data': (value['data']
|
|
48
|
+
'data': AddOrganizationDomainResponseDataToJSON(value['data']),
|
|
49
49
|
'meta': ResponseMetaToJSON(value['meta']),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { OrganizationDomainFromJSON, OrganizationDomainToJSON, } from './OrganizationDomain.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the AddOrganizationDomainResponseData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfAddOrganizationDomainResponseData(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function AddOrganizationDomainResponseDataFromJSON(json) {
|
|
22
|
+
return AddOrganizationDomainResponseDataFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function AddOrganizationDomainResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
30
|
+
'domain': json['domain'] == null ? undefined : OrganizationDomainFromJSON(json['domain']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function AddOrganizationDomainResponseDataToJSON(json) {
|
|
34
|
+
return AddOrganizationDomainResponseDataToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function AddOrganizationDomainResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'message': value['message'],
|
|
42
|
+
'domain': OrganizationDomainToJSON(value['domain']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -11,41 +11,41 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { DeleteOrganizationDomainResponseDataFromJSON, DeleteOrganizationDomainResponseDataToJSON, } from './DeleteOrganizationDomainResponseData.js';
|
|
14
15
|
import { ResponseMetaFromJSON, ResponseMetaToJSON, } from './ResponseMeta.js';
|
|
15
|
-
import { PersonalWorkspaceDomainResultFromJSON, PersonalWorkspaceDomainResultToJSON, } from './PersonalWorkspaceDomainResult.js';
|
|
16
16
|
/**
|
|
17
|
-
* Check if a given object implements the
|
|
17
|
+
* Check if a given object implements the DeleteOrganizationDomainResponse interface.
|
|
18
18
|
*/
|
|
19
|
-
export function
|
|
19
|
+
export function instanceOfDeleteOrganizationDomainResponse(value) {
|
|
20
20
|
if (!('success' in value) || value['success'] === undefined)
|
|
21
21
|
return false;
|
|
22
22
|
if (!('data' in value) || value['data'] === undefined)
|
|
23
23
|
return false;
|
|
24
24
|
return true;
|
|
25
25
|
}
|
|
26
|
-
export function
|
|
27
|
-
return
|
|
26
|
+
export function DeleteOrganizationDomainResponseFromJSON(json) {
|
|
27
|
+
return DeleteOrganizationDomainResponseFromJSONTyped(json, false);
|
|
28
28
|
}
|
|
29
|
-
export function
|
|
29
|
+
export function DeleteOrganizationDomainResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
30
|
if (json == null) {
|
|
31
31
|
return json;
|
|
32
32
|
}
|
|
33
33
|
return {
|
|
34
34
|
'success': json['success'],
|
|
35
|
-
'data':
|
|
35
|
+
'data': DeleteOrganizationDomainResponseDataFromJSON(json['data']),
|
|
36
36
|
'meta': json['meta'] == null ? undefined : ResponseMetaFromJSON(json['meta']),
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function
|
|
40
|
-
return
|
|
39
|
+
export function DeleteOrganizationDomainResponseToJSON(json) {
|
|
40
|
+
return DeleteOrganizationDomainResponseToJSONTyped(json, false);
|
|
41
41
|
}
|
|
42
|
-
export function
|
|
42
|
+
export function DeleteOrganizationDomainResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
43
|
if (value == null) {
|
|
44
44
|
return value;
|
|
45
45
|
}
|
|
46
46
|
return {
|
|
47
47
|
'success': value['success'],
|
|
48
|
-
'data':
|
|
48
|
+
'data': DeleteOrganizationDomainResponseDataToJSON(value['data']),
|
|
49
49
|
'meta': ResponseMetaToJSON(value['meta']),
|
|
50
50
|
};
|
|
51
51
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the DeleteOrganizationDomainResponseData interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfDeleteOrganizationDomainResponseData(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function DeleteOrganizationDomainResponseDataFromJSON(json) {
|
|
21
|
+
return DeleteOrganizationDomainResponseDataFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function DeleteOrganizationDomainResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function DeleteOrganizationDomainResponseDataToJSON(json) {
|
|
32
|
+
return DeleteOrganizationDomainResponseDataToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function DeleteOrganizationDomainResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'message': value['message'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -32,6 +32,8 @@ export function instanceOfEditorSession(value) {
|
|
|
32
32
|
return false;
|
|
33
33
|
if (!('managedUserExternalId' in value) || value['managedUserExternalId'] === undefined)
|
|
34
34
|
return false;
|
|
35
|
+
if (!('workspaceId' in value) || value['workspaceId'] === undefined)
|
|
36
|
+
return false;
|
|
35
37
|
if (!('surfaces' in value) || value['surfaces'] === undefined)
|
|
36
38
|
return false;
|
|
37
39
|
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
@@ -52,6 +54,7 @@ export function EditorSessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
54
|
'sessionId': json['sessionId'],
|
|
53
55
|
'managedUserId': json['managedUserId'],
|
|
54
56
|
'managedUserExternalId': json['managedUserExternalId'],
|
|
57
|
+
'workspaceId': json['workspaceId'],
|
|
55
58
|
'surfaces': json['surfaces'],
|
|
56
59
|
'allowedOrigin': json['allowedOrigin'] == null ? undefined : json['allowedOrigin'],
|
|
57
60
|
'maxCredits': json['maxCredits'] == null ? undefined : json['maxCredits'],
|
|
@@ -71,6 +74,7 @@ export function EditorSessionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
71
74
|
'sessionId': value['sessionId'],
|
|
72
75
|
'managedUserId': value['managedUserId'],
|
|
73
76
|
'managedUserExternalId': value['managedUserExternalId'],
|
|
77
|
+
'workspaceId': value['workspaceId'],
|
|
74
78
|
'surfaces': value['surfaces'],
|
|
75
79
|
'allowedOrigin': value['allowedOrigin'],
|
|
76
80
|
'maxCredits': value['maxCredits'],
|