@embedworkflow/sdk 1.1.0 → 1.2.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/.github/workflows/push-tag.yaml +34 -0
- package/.openapi-generator/FILES +87 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +2 -2
- package/api/accounts-api.ts +540 -0
- package/api/action-types-api.ts +697 -0
- package/api/actions-api.ts +786 -0
- package/api/app-connections-api.ts +556 -0
- package/api/available-apps-api.ts +239 -0
- package/api/data-fields-api.ts +404 -0
- package/api/events-api.ts +172 -0
- package/api/executions-api.ts +361 -0
- package/api/installed-apps-api.ts +410 -0
- package/api/payments-api.ts +172 -0
- package/api/triggers-api.ts +437 -0
- package/api/users-api.ts +531 -0
- package/api/workflows-api.ts +1302 -0
- package/api.ts +30 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api/accounts-api.d.ts +124 -3
- package/dist/api/accounts-api.js +182 -1
- package/dist/api/action-types-api.d.ts +16 -11
- package/dist/api/action-types-api.js +14 -7
- package/dist/api/actions-api.d.ts +6 -6
- package/dist/api/app-connections-api.d.ts +5 -5
- package/dist/api/available-apps-api.d.ts +2 -2
- package/dist/api/data-fields-api.d.ts +46 -2
- package/dist/api/data-fields-api.js +68 -0
- package/dist/api/events-api.d.ts +1 -1
- package/dist/api/executions-api.d.ts +3 -3
- package/dist/api/installed-apps-api.d.ts +4 -4
- package/dist/api/payments-api.d.ts +1 -1
- package/dist/api/triggers-api.d.ts +14 -14
- package/dist/api/triggers-api.js +12 -12
- package/dist/api/users-api.d.ts +14 -9
- package/dist/api/users-api.js +14 -7
- package/dist/api/workflows-api.d.ts +96 -15
- package/dist/api/workflows-api.js +125 -8
- package/dist/common.d.ts +1 -1
- package/dist/esm/api/accounts-api.d.ts +124 -3
- package/dist/esm/api/accounts-api.js +181 -0
- package/dist/esm/api/action-types-api.d.ts +16 -11
- package/dist/esm/api/action-types-api.js +14 -7
- package/dist/esm/api/actions-api.d.ts +6 -6
- package/dist/esm/api/app-connections-api.d.ts +5 -5
- package/dist/esm/api/available-apps-api.d.ts +2 -2
- package/dist/esm/api/data-fields-api.d.ts +46 -2
- package/dist/esm/api/data-fields-api.js +69 -1
- package/dist/esm/api/events-api.d.ts +1 -1
- package/dist/esm/api/executions-api.d.ts +3 -3
- package/dist/esm/api/installed-apps-api.d.ts +4 -4
- package/dist/esm/api/payments-api.d.ts +1 -1
- package/dist/esm/api/triggers-api.d.ts +14 -14
- package/dist/esm/api/triggers-api.js +12 -12
- package/dist/esm/api/users-api.d.ts +14 -9
- package/dist/esm/api/users-api.js +14 -7
- package/dist/esm/api/workflows-api.d.ts +96 -15
- package/dist/esm/api/workflows-api.js +124 -7
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/models/catch-hook-request.d.ts +25 -0
- package/dist/esm/models/create-action-type-request-form-draft-inner.d.ts +6 -0
- package/dist/esm/models/create-action-type-request.d.ts +12 -0
- package/dist/esm/models/create-workflow201-response.d.ts +58 -11
- package/dist/esm/models/create-workflow201-response.js +4 -0
- package/dist/esm/models/evaluate-expression-request.d.ts +32 -0
- package/dist/esm/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/esm/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/esm/models/export-configuration200-response.d.ts +25 -0
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/list-action-types200-response-collection-inner.d.ts +58 -0
- package/dist/esm/models/list-action-types200-response-collection-inner.js +9 -0
- package/dist/esm/models/list-data-fields200-response-collection-inner.d.ts +18 -0
- package/dist/esm/models/list-triggers200-response-collection-inner.d.ts +18 -0
- package/dist/esm/models/list-users200-response-collection-inner.d.ts +6 -6
- package/dist/esm/models/list-workflows200-response-collection-inner.d.ts +29 -5
- package/dist/esm/models/retrieve-account-usage200-response.d.ts +60 -0
- package/dist/esm/models/retrieve-account-usage200-response.js +14 -0
- package/dist/esm/models/retrieve-account200-response.d.ts +19 -1
- package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.d.ts → update-account-request-action-type-categories-inner-icon.d.ts} +10 -10
- package/dist/esm/models/update-account-request-action-type-categories-inner-icon.js +14 -0
- package/dist/esm/models/update-account-request-action-type-categories-inner.d.ts +43 -0
- package/dist/esm/models/update-account-request-action-type-categories-inner.js +14 -0
- package/dist/esm/models/update-account-request.d.ts +13 -0
- package/dist/esm/models/update-action-type-request.d.ts +12 -0
- package/dist/esm/models/update-trigger-request.d.ts +30 -0
- package/dist/esm/models/update-trigger-request.js +14 -0
- package/dist/esm/models/update-workflow-request.d.ts +7 -1
- package/dist/esm/models/upsert-user-request.d.ts +6 -0
- package/dist/models/catch-hook-request.d.ts +25 -0
- package/dist/models/create-action-type-request-form-draft-inner.d.ts +6 -0
- package/dist/models/create-action-type-request.d.ts +12 -0
- package/dist/models/create-workflow201-response.d.ts +58 -11
- package/dist/models/create-workflow201-response.js +5 -1
- package/dist/models/evaluate-expression-request.d.ts +32 -0
- package/dist/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/models/export-configuration200-response.d.ts +25 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/list-action-types200-response-collection-inner.d.ts +58 -0
- package/dist/models/list-action-types200-response-collection-inner.js +10 -1
- package/dist/models/list-data-fields200-response-collection-inner.d.ts +18 -0
- package/dist/models/list-triggers200-response-collection-inner.d.ts +18 -0
- package/dist/models/list-users200-response-collection-inner.d.ts +6 -6
- package/dist/models/list-workflows200-response-collection-inner.d.ts +29 -5
- package/dist/models/retrieve-account-usage200-response.d.ts +60 -0
- package/dist/models/retrieve-account-usage200-response.js +15 -0
- package/dist/models/retrieve-account200-response.d.ts +19 -1
- package/dist/{esm/models/retrieve-action-type404-response.d.ts → models/update-account-request-action-type-categories-inner-icon.d.ts} +12 -12
- package/dist/models/update-account-request-action-type-categories-inner-icon.js +15 -0
- package/dist/models/update-account-request-action-type-categories-inner.d.ts +43 -0
- package/dist/models/update-account-request-action-type-categories-inner.js +15 -0
- package/dist/models/update-account-request.d.ts +13 -0
- package/dist/models/update-action-type-request.d.ts +12 -0
- package/dist/models/update-trigger-request.d.ts +30 -0
- package/dist/models/update-trigger-request.js +15 -0
- package/dist/models/update-workflow-request.d.ts +7 -1
- package/dist/models/upsert-user-request.d.ts +6 -0
- package/git_push.sh +57 -0
- package/index.ts +111 -0
- package/models/catch-hook-request.ts +32 -0
- package/models/create-action-type-request-form-draft-inner.ts +88 -0
- package/{dist/models/api-v1-action-types-post-request-icon-draft.d.ts → models/create-action-type-request-icon-draft.ts} +12 -6
- package/{dist/models/api-v1-action-types-post-request.d.ts → models/create-action-type-request.ts} +49 -25
- package/{dist/models/retrieve-action-type404-response.d.ts → models/create-action-type422-response.ts} +13 -7
- package/{dist/esm/models/api-v1-app-connections-post-request.d.ts → models/create-app-connection-request.ts} +14 -8
- package/models/create-user-token-request.ts +38 -0
- package/models/create-user-token200-response.ts +30 -0
- package/models/create-workflow-request-template-draft-nodes-inner.ts +138 -0
- package/models/create-workflow-request-template-draft.ts +39 -0
- package/models/create-workflow-request.ts +75 -0
- package/{dist/esm/models/retrieve-workflow200-response.d.ts → models/create-workflow201-response.ts} +111 -60
- package/models/delete-action-type200-response.ts +30 -0
- package/{dist/esm/models/api-v1-action-types-post-request-form-draft-inner.js → models/delete-workflow200-response-one-of.ts} +18 -13
- package/models/delete-workflow200-response-one-of1.ts +30 -0
- package/models/delete-workflow200-response.ts +30 -0
- package/models/discard-workflow-draft-request.ts +36 -0
- package/models/evaluate-expression-request.ts +36 -0
- package/models/evaluate-expression200-response.ts +30 -0
- package/models/execute-workflow-request.ts +50 -0
- package/models/execute-workflow201-response.ts +126 -0
- package/models/export-configuration200-response-configuration.ts +23 -0
- package/models/export-configuration200-response.ts +33 -0
- package/models/import-configuration-request-schema.ts +24 -0
- package/models/import-configuration-request.ts +50 -0
- package/models/import-configuration201-response.ts +60 -0
- package/models/index.ts +70 -0
- package/models/install-app-request.ts +36 -0
- package/{dist/models/retrieve-installed-app200-response.d.ts → models/install-app201-response.ts} +28 -24
- package/models/list-action-types200-response-collection-inner.ts +325 -0
- package/models/list-action-types200-response-meta.ts +42 -0
- package/models/list-action-types200-response.ts +42 -0
- package/models/list-actions200-response-collection-inner.ts +150 -0
- package/models/list-actions200-response.ts +42 -0
- package/models/list-app-connections200-response-collection-inner.ts +72 -0
- package/models/list-app-connections200-response.ts +42 -0
- package/models/list-available-apps200-response-collection-inner.ts +72 -0
- package/models/list-available-apps200-response.ts +42 -0
- package/{dist/esm/models/clone-workflow201-response.js → models/list-data-fields-type-parameter.ts} +11 -5
- package/models/list-data-fields200-response-collection-inner.ts +108 -0
- package/models/list-data-fields200-response.ts +42 -0
- package/models/list-events200-response-collection-inner.ts +84 -0
- package/models/list-events200-response.ts +42 -0
- package/{dist/esm/models/retrieve-installed-app200-response.d.ts → models/list-installed-apps200-response-collection-inner.ts} +26 -28
- package/models/list-installed-apps200-response.ts +42 -0
- package/models/list-triggers200-response-collection-inner.ts +126 -0
- package/models/list-triggers200-response.ts +42 -0
- package/models/list-users200-response-collection-inner.ts +90 -0
- package/models/list-users200-response.ts +42 -0
- package/models/list-workflow-executions200-response.ts +42 -0
- package/models/list-workflow-versions200-response-collection-inner.ts +66 -0
- package/models/list-workflow-versions200-response.ts +42 -0
- package/{dist/models/retrieve-workflow200-response.d.ts → models/list-workflows200-response-collection-inner.ts} +76 -79
- package/models/list-workflows200-response.ts +42 -0
- package/models/publish-workflow-request.ts +30 -0
- package/models/retrieve-account-usage200-response.ts +66 -0
- package/models/retrieve-account200-response.ts +114 -0
- package/models/retrieve-available-app200-response.ts +78 -0
- package/models/retrieve-execution200-response.ts +138 -0
- package/models/retry-action-request.ts +38 -0
- package/models/stop-executions-request.ts +38 -0
- package/models/trigger-workflow-request.ts +54 -0
- package/models/update-account-request-action-type-categories-inner-icon.ts +42 -0
- package/models/update-account-request-action-type-categories-inner.ts +51 -0
- package/models/update-account-request-user-data-schema-inner.ts +54 -0
- package/models/update-account-request.ts +96 -0
- package/models/update-action-type-request.ts +48 -0
- package/models/update-installed-app-request.ts +30 -0
- package/models/update-trigger-request.ts +36 -0
- package/models/update-workflow-request.ts +93 -0
- package/models/upsert-user-request.ts +54 -0
- package/package.json +4 -6
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
- package/dist/esm/models/api-v1-action-types-post-request-form-draft-inner.d.ts +0 -75
- package/dist/esm/models/api-v1-action-types-post-request.d.ts +0 -105
- package/dist/esm/models/clone-workflow201-response.d.ts +0 -183
- package/dist/esm/models/retrieve-workflow200-response.js +0 -17
- package/dist/models/api-v1-action-types-post-request-form-draft-inner.d.ts +0 -75
- package/dist/models/api-v1-action-types-post-request-form-draft-inner.js +0 -28
- package/dist/models/api-v1-app-connections-post-request.d.ts +0 -42
- package/dist/models/clone-workflow201-response.d.ts +0 -183
- package/dist/models/clone-workflow201-response.js +0 -20
- package/dist/models/retrieve-workflow200-response.js +0 -20
- /package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
- /package/dist/esm/models/{api-v1-action-types-post-request.js → evaluate-expression-request.js} +0 -0
- /package/dist/esm/models/{api-v1-app-connections-post-request.js → evaluate-expression200-response.js} +0 -0
- /package/dist/esm/models/{retrieve-action-type404-response.js → export-configuration200-response-configuration.js} +0 -0
- /package/dist/esm/models/{retrieve-installed-app200-response.js → export-configuration200-response.js} +0 -0
- /package/dist/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
- /package/dist/models/{api-v1-action-types-post-request.js → evaluate-expression-request.js} +0 -0
- /package/dist/models/{api-v1-app-connections-post-request.js → evaluate-expression200-response.js} +0 -0
- /package/dist/models/{retrieve-action-type404-response.js → export-configuration200-response-configuration.js} +0 -0
- /package/dist/models/{retrieve-installed-app200-response.js → export-configuration200-response.js} +0 -0
package/index.ts
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* API V1
|
|
5
|
+
*
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* The version of the OpenAPI document: v1
|
|
10
|
+
*
|
|
11
|
+
*
|
|
12
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
13
|
+
* https://openapi-generator.tech
|
|
14
|
+
* Do not edit the class manually.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* API V1
|
|
19
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: v1
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export * from "./api";
|
|
31
|
+
export * from "./configuration";
|
|
32
|
+
export * from "./models";
|
|
33
|
+
|
|
34
|
+
// Custom convenience wrapper for easier SDK usage
|
|
35
|
+
import { Configuration } from './configuration';
|
|
36
|
+
import { AccountsApi } from './api';
|
|
37
|
+
import { ActionTypesApi } from './api';
|
|
38
|
+
import { ActionsApi } from './api';
|
|
39
|
+
import { AppConnectionsApi } from './api';
|
|
40
|
+
import { AvailableAppsApi } from './api';
|
|
41
|
+
import { DataFieldsApi } from './api';
|
|
42
|
+
import { EventsApi } from './api';
|
|
43
|
+
import { ExecutionsApi } from './api';
|
|
44
|
+
import { InstalledAppsApi } from './api';
|
|
45
|
+
import { PaymentsApi } from './api';
|
|
46
|
+
import { TriggersApi } from './api';
|
|
47
|
+
import { UsersApi } from './api';
|
|
48
|
+
import { WorkflowsApi } from './api';
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* EmbedWorkflow API Client
|
|
52
|
+
*
|
|
53
|
+
* Simple wrapper for the EmbedWorkflow API that handles configuration
|
|
54
|
+
* and provides easy access to all API endpoints.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```typescript
|
|
58
|
+
* const client = new EmbedWorkflowClient('your-api-key');
|
|
59
|
+
* const workflows = await client.workflows.apiV1WorkflowsGet();
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
export class EmbedWorkflowClient {
|
|
63
|
+
private config: Configuration;
|
|
64
|
+
|
|
65
|
+
public readonly accounts: AccountsApi;
|
|
66
|
+
public readonly actionTypes: ActionTypesApi;
|
|
67
|
+
public readonly actions: ActionsApi;
|
|
68
|
+
public readonly appConnections: AppConnectionsApi;
|
|
69
|
+
public readonly availableApps: AvailableAppsApi;
|
|
70
|
+
public readonly dataFields: DataFieldsApi;
|
|
71
|
+
public readonly events: EventsApi;
|
|
72
|
+
public readonly executions: ExecutionsApi;
|
|
73
|
+
public readonly installedApps: InstalledAppsApi;
|
|
74
|
+
public readonly payments: PaymentsApi;
|
|
75
|
+
public readonly triggers: TriggersApi;
|
|
76
|
+
public readonly users: UsersApi;
|
|
77
|
+
public readonly workflows: WorkflowsApi;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Create a new EmbedWorkflow client
|
|
81
|
+
* @param apiKey - Your EmbedWorkflow API key
|
|
82
|
+
* @param basePath - Optional custom base path (defaults to https://api.embedworkflow.com)
|
|
83
|
+
*/
|
|
84
|
+
constructor(apiKey: string, basePath?: string) {
|
|
85
|
+
this.config = new Configuration({
|
|
86
|
+
basePath: basePath || 'https://embedworkflow.com',
|
|
87
|
+
accessToken: apiKey,
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
this.accounts = new AccountsApi(this.config);
|
|
91
|
+
this.actionTypes = new ActionTypesApi(this.config);
|
|
92
|
+
this.actions = new ActionsApi(this.config);
|
|
93
|
+
this.appConnections = new AppConnectionsApi(this.config);
|
|
94
|
+
this.availableApps = new AvailableAppsApi(this.config);
|
|
95
|
+
this.dataFields = new DataFieldsApi(this.config);
|
|
96
|
+
this.events = new EventsApi(this.config);
|
|
97
|
+
this.executions = new ExecutionsApi(this.config);
|
|
98
|
+
this.installedApps = new InstalledAppsApi(this.config);
|
|
99
|
+
this.payments = new PaymentsApi(this.config);
|
|
100
|
+
this.triggers = new TriggersApi(this.config);
|
|
101
|
+
this.users = new UsersApi(this.config);
|
|
102
|
+
this.workflows = new WorkflowsApi(this.config);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Get the underlying configuration object
|
|
107
|
+
*/
|
|
108
|
+
public getConfiguration(): Configuration {
|
|
109
|
+
return this.config;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* API V1
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
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
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CatchHookRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface CatchHookRequest {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* User\'s key
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CatchHookRequest
|
|
29
|
+
*/
|
|
30
|
+
'user_key': string;
|
|
31
|
+
}
|
|
32
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* API V1
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
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
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateActionTypeRequestFormDraftInner
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateActionTypeRequestFormDraftInner {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for the form field
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
27
|
+
*/
|
|
28
|
+
'id': string;
|
|
29
|
+
/**
|
|
30
|
+
* Field name for form submission
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* Whether this field is required
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
39
|
+
*/
|
|
40
|
+
'required'?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Whether this field is for advanced configuration
|
|
43
|
+
* @type {boolean}
|
|
44
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
45
|
+
*/
|
|
46
|
+
'advanced'?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Display label for the form field
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
51
|
+
*/
|
|
52
|
+
'label'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Help text or description for the field
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
57
|
+
*/
|
|
58
|
+
'description'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Form field type
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
63
|
+
*/
|
|
64
|
+
'type': CreateActionTypeRequestFormDraftInnerTypeEnum;
|
|
65
|
+
/**
|
|
66
|
+
* Additional field configuration (options, validation, etc.)
|
|
67
|
+
* @type {{ [key: string]: any; }}
|
|
68
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
69
|
+
*/
|
|
70
|
+
'data'?: { [key: string]: any; };
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export const CreateActionTypeRequestFormDraftInnerTypeEnum = {
|
|
74
|
+
Text: 'text',
|
|
75
|
+
Email: 'email',
|
|
76
|
+
Password: 'password',
|
|
77
|
+
Textarea: 'textarea',
|
|
78
|
+
Select: 'select',
|
|
79
|
+
Checkbox: 'checkbox',
|
|
80
|
+
Radio: 'radio',
|
|
81
|
+
Number: 'number',
|
|
82
|
+
Date: 'date',
|
|
83
|
+
File: 'file'
|
|
84
|
+
} as const;
|
|
85
|
+
|
|
86
|
+
export type CreateActionTypeRequestFormDraftInnerTypeEnum = typeof CreateActionTypeRequestFormDraftInnerTypeEnum[keyof typeof CreateActionTypeRequestFormDraftInnerTypeEnum];
|
|
87
|
+
|
|
88
|
+
|
|
@@ -1,36 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
/**
|
|
2
4
|
* API V1
|
|
3
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
6
|
*
|
|
5
7
|
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
8
|
+
*
|
|
7
9
|
*
|
|
8
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
11
|
* https://openapi-generator.tech
|
|
10
12
|
* Do not edit the class manually.
|
|
11
13
|
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
12
17
|
/**
|
|
13
18
|
* Icon configuration
|
|
14
19
|
* @export
|
|
15
|
-
* @interface
|
|
20
|
+
* @interface CreateActionTypeRequestIconDraft
|
|
16
21
|
*/
|
|
17
|
-
export interface
|
|
22
|
+
export interface CreateActionTypeRequestIconDraft {
|
|
18
23
|
/**
|
|
19
24
|
* Icon type identifier
|
|
20
25
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
26
|
+
* @memberof CreateActionTypeRequestIconDraft
|
|
22
27
|
*/
|
|
23
28
|
'type': string;
|
|
24
29
|
/**
|
|
25
30
|
* Background color for the icon
|
|
26
31
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
32
|
+
* @memberof CreateActionTypeRequestIconDraft
|
|
28
33
|
*/
|
|
29
34
|
'background_color'?: string;
|
|
30
35
|
/**
|
|
31
36
|
* Custom icon URL (optional)
|
|
32
37
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
38
|
+
* @memberof CreateActionTypeRequestIconDraft
|
|
34
39
|
*/
|
|
35
40
|
'url'?: string;
|
|
36
41
|
}
|
|
42
|
+
|
package/{dist/models/api-v1-action-types-post-request.d.ts → models/create-action-type-request.ts}
RENAMED
|
@@ -1,105 +1,129 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
/**
|
|
2
4
|
* API V1
|
|
3
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
6
|
*
|
|
5
7
|
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
8
|
+
*
|
|
7
9
|
*
|
|
8
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
11
|
* https://openapi-generator.tech
|
|
10
12
|
* Do not edit the class manually.
|
|
11
13
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { CreateActionTypeRequestFormDraftInner } from './create-action-type-request-form-draft-inner';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { CreateActionTypeRequestIconDraft } from './create-action-type-request-icon-draft';
|
|
22
|
+
// May contain unused imports in some cases
|
|
23
|
+
// @ts-ignore
|
|
14
24
|
import { UpdateAccountRequestUserDataSchemaInner } from './update-account-request-user-data-schema-inner';
|
|
25
|
+
|
|
15
26
|
/**
|
|
16
|
-
*
|
|
27
|
+
*
|
|
17
28
|
* @export
|
|
18
|
-
* @interface
|
|
29
|
+
* @interface CreateActionTypeRequest
|
|
19
30
|
*/
|
|
20
|
-
export interface
|
|
31
|
+
export interface CreateActionTypeRequest {
|
|
21
32
|
/**
|
|
22
33
|
* Name of resource
|
|
23
34
|
* @type {string}
|
|
24
|
-
* @memberof
|
|
35
|
+
* @memberof CreateActionTypeRequest
|
|
25
36
|
*/
|
|
26
37
|
'name': string;
|
|
27
38
|
/**
|
|
28
39
|
* Description of action type
|
|
29
40
|
* @type {string}
|
|
30
|
-
* @memberof
|
|
41
|
+
* @memberof CreateActionTypeRequest
|
|
31
42
|
*/
|
|
32
43
|
'description'?: string;
|
|
33
44
|
/**
|
|
34
45
|
* Type of action
|
|
35
46
|
* @type {string}
|
|
36
|
-
* @memberof
|
|
47
|
+
* @memberof CreateActionTypeRequest
|
|
37
48
|
*/
|
|
38
49
|
'type': string;
|
|
39
50
|
/**
|
|
40
51
|
* Enable or disable the resource.
|
|
41
52
|
* @type {boolean}
|
|
42
|
-
* @memberof
|
|
53
|
+
* @memberof CreateActionTypeRequest
|
|
43
54
|
*/
|
|
44
55
|
'on'?: boolean;
|
|
45
56
|
/**
|
|
46
57
|
* HTTP parameters as key:value pairs, one per line
|
|
47
58
|
* @type {string}
|
|
48
|
-
* @memberof
|
|
59
|
+
* @memberof CreateActionTypeRequest
|
|
49
60
|
*/
|
|
50
61
|
'params_draft'?: string;
|
|
51
62
|
/**
|
|
52
63
|
* HTTP headers as key:value pairs, one per line
|
|
53
64
|
* @type {string}
|
|
54
|
-
* @memberof
|
|
65
|
+
* @memberof CreateActionTypeRequest
|
|
55
66
|
*/
|
|
56
67
|
'headers_draft'?: string;
|
|
57
68
|
/**
|
|
58
69
|
* HTTP url
|
|
59
70
|
* @type {string}
|
|
60
|
-
* @memberof
|
|
71
|
+
* @memberof CreateActionTypeRequest
|
|
61
72
|
*/
|
|
62
73
|
'url_draft'?: string;
|
|
63
74
|
/**
|
|
64
75
|
* HTTP method
|
|
65
76
|
* @type {string}
|
|
66
|
-
* @memberof
|
|
77
|
+
* @memberof CreateActionTypeRequest
|
|
67
78
|
*/
|
|
68
79
|
'http_method_draft'?: string;
|
|
69
80
|
/**
|
|
70
81
|
* JavaScript code snippt
|
|
71
82
|
* @type {string}
|
|
72
|
-
* @memberof
|
|
83
|
+
* @memberof CreateActionTypeRequest
|
|
73
84
|
*/
|
|
74
85
|
'code_draft'?: string;
|
|
75
86
|
/**
|
|
76
87
|
* Whether or not you want to publish on create
|
|
77
88
|
* @type {boolean}
|
|
78
|
-
* @memberof
|
|
89
|
+
* @memberof CreateActionTypeRequest
|
|
79
90
|
*/
|
|
80
91
|
'publish'?: boolean;
|
|
81
92
|
/**
|
|
82
93
|
* Form field configuration
|
|
83
|
-
* @type {Array<
|
|
84
|
-
* @memberof
|
|
94
|
+
* @type {Array<CreateActionTypeRequestFormDraftInner>}
|
|
95
|
+
* @memberof CreateActionTypeRequest
|
|
85
96
|
*/
|
|
86
|
-
'form_draft'?: Array<
|
|
97
|
+
'form_draft'?: Array<CreateActionTypeRequestFormDraftInner>;
|
|
87
98
|
/**
|
|
88
99
|
* Data schema configuration
|
|
89
100
|
* @type {Array<UpdateAccountRequestUserDataSchemaInner>}
|
|
90
|
-
* @memberof
|
|
101
|
+
* @memberof CreateActionTypeRequest
|
|
91
102
|
*/
|
|
92
103
|
'response_data_schema_draft'?: Array<UpdateAccountRequestUserDataSchemaInner>;
|
|
93
104
|
/**
|
|
94
105
|
* User permission groups. Only available to users with admin role.
|
|
95
106
|
* @type {Array<string>}
|
|
96
|
-
* @memberof
|
|
107
|
+
* @memberof CreateActionTypeRequest
|
|
97
108
|
*/
|
|
98
109
|
'groups'?: Array<string>;
|
|
99
110
|
/**
|
|
100
|
-
*
|
|
101
|
-
* @type {
|
|
102
|
-
* @memberof
|
|
111
|
+
*
|
|
112
|
+
* @type {CreateActionTypeRequestIconDraft}
|
|
113
|
+
* @memberof CreateActionTypeRequest
|
|
114
|
+
*/
|
|
115
|
+
'icon_draft'?: CreateActionTypeRequestIconDraft;
|
|
116
|
+
/**
|
|
117
|
+
* Primary category for the action type
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof CreateActionTypeRequest
|
|
120
|
+
*/
|
|
121
|
+
'primary_category'?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Secondary category for the action type
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof CreateActionTypeRequest
|
|
103
126
|
*/
|
|
104
|
-
'
|
|
127
|
+
'secondary_category'?: string;
|
|
105
128
|
}
|
|
129
|
+
|
|
@@ -1,36 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
/**
|
|
2
4
|
* API V1
|
|
3
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
6
|
*
|
|
5
7
|
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
8
|
+
*
|
|
7
9
|
*
|
|
8
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
11
|
* https://openapi-generator.tech
|
|
10
12
|
* Do not edit the class manually.
|
|
11
13
|
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
12
17
|
/**
|
|
13
|
-
*
|
|
18
|
+
*
|
|
14
19
|
* @export
|
|
15
|
-
* @interface
|
|
20
|
+
* @interface CreateActionType422Response
|
|
16
21
|
*/
|
|
17
|
-
export interface
|
|
22
|
+
export interface CreateActionType422Response {
|
|
18
23
|
/**
|
|
19
24
|
* Type of error
|
|
20
25
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
26
|
+
* @memberof CreateActionType422Response
|
|
22
27
|
*/
|
|
23
28
|
'type': string;
|
|
24
29
|
/**
|
|
25
30
|
* Specific error code
|
|
26
31
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
32
|
+
* @memberof CreateActionType422Response
|
|
28
33
|
*/
|
|
29
34
|
'code': string;
|
|
30
35
|
/**
|
|
31
36
|
* Human-readable message providing more details about the error
|
|
32
37
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
38
|
+
* @memberof CreateActionType422Response
|
|
34
39
|
*/
|
|
35
40
|
'message': string;
|
|
36
41
|
}
|
|
42
|
+
|
|
@@ -1,42 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
/**
|
|
2
4
|
* API V1
|
|
3
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
6
|
*
|
|
5
7
|
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
8
|
+
*
|
|
7
9
|
*
|
|
8
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
11
|
* https://openapi-generator.tech
|
|
10
12
|
* Do not edit the class manually.
|
|
11
13
|
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
12
17
|
/**
|
|
13
|
-
*
|
|
18
|
+
*
|
|
14
19
|
* @export
|
|
15
|
-
* @interface
|
|
20
|
+
* @interface CreateAppConnectionRequest
|
|
16
21
|
*/
|
|
17
|
-
export interface
|
|
22
|
+
export interface CreateAppConnectionRequest {
|
|
18
23
|
/**
|
|
19
24
|
* Name of resource
|
|
20
25
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
26
|
+
* @memberof CreateAppConnectionRequest
|
|
22
27
|
*/
|
|
23
28
|
'name': string;
|
|
24
29
|
/**
|
|
25
30
|
* App Type
|
|
26
31
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
32
|
+
* @memberof CreateAppConnectionRequest
|
|
28
33
|
*/
|
|
29
34
|
'app_type': string;
|
|
30
35
|
/**
|
|
31
36
|
* User\'s key
|
|
32
37
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
38
|
+
* @memberof CreateAppConnectionRequest
|
|
34
39
|
*/
|
|
35
40
|
'user_key': string;
|
|
36
41
|
/**
|
|
37
42
|
* App connection configuration
|
|
38
43
|
* @type {object}
|
|
39
|
-
* @memberof
|
|
44
|
+
* @memberof CreateAppConnectionRequest
|
|
40
45
|
*/
|
|
41
46
|
'config': object;
|
|
42
47
|
}
|
|
48
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* API V1
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
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
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateUserTokenRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateUserTokenRequest {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* User\'s key
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateUserTokenRequest
|
|
29
|
+
*/
|
|
30
|
+
'key'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* System-generated unique identifier
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateUserTokenRequest
|
|
35
|
+
*/
|
|
36
|
+
'id'?: string;
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* API V1
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
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
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateUserToken200Response
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateUserToken200Response {
|
|
23
|
+
/**
|
|
24
|
+
* Authentication token for the user
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateUserToken200Response
|
|
27
|
+
*/
|
|
28
|
+
'user_token': string;
|
|
29
|
+
}
|
|
30
|
+
|