@embedworkflow/sdk 1.0.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 +43 -36
- package/dist/api/action-types-api.js +27 -20
- package/dist/api/actions-api.d.ts +6 -6
- package/dist/api/app-connections-api.d.ts +28 -27
- package/dist/api/app-connections-api.js +25 -25
- 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 +14 -14
- package/dist/api/payments-api.d.ts +1 -1
- package/dist/api/triggers-api.d.ts +22 -20
- package/dist/api/triggers-api.js +12 -12
- package/dist/api/users-api.d.ts +24 -18
- package/dist/api/users-api.js +14 -7
- package/dist/api/workflows-api.d.ts +114 -32
- 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 +43 -36
- package/dist/esm/api/action-types-api.js +27 -20
- package/dist/esm/api/actions-api.d.ts +6 -6
- package/dist/esm/api/app-connections-api.d.ts +28 -27
- package/dist/esm/api/app-connections-api.js +25 -25
- 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 +14 -14
- package/dist/esm/api/payments-api.d.ts +1 -1
- package/dist/esm/api/triggers-api.d.ts +22 -20
- package/dist/esm/api/triggers-api.js +12 -12
- package/dist/esm/api/users-api.d.ts +24 -18
- package/dist/esm/api/users-api.js +14 -7
- package/dist/esm/api/workflows-api.d.ts +114 -32
- 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/{api-v1-action-types-post-request-form-draft-inner.d.ts → create-action-type-request-form-draft-inner.d.ts} +18 -12
- package/dist/esm/models/{api-v1-action-types-post-request-form-draft-inner.js → create-action-type-request-form-draft-inner.js} +1 -1
- package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.d.ts → create-action-type-request-icon-draft.d.ts} +5 -5
- package/dist/{models/api-v1-action-types-post-request.d.ts → esm/models/create-action-type-request.d.ts} +34 -22
- package/dist/{models/retrieve-action-type404-response.d.ts → esm/models/create-action-type422-response.d.ts} +5 -5
- package/dist/esm/models/{api-v1-app-connections-post-request.d.ts → create-app-connection-request.d.ts} +6 -6
- package/dist/esm/models/create-workflow201-response.d.ts +262 -0
- package/dist/{models/clone-workflow201-response.js → esm/models/create-workflow201-response.js} +5 -4
- package/dist/esm/models/delete-action-type200-response.d.ts +24 -0
- package/dist/esm/models/delete-action-type200-response.js +14 -0
- package/dist/esm/models/evaluate-expression-request.d.ts +32 -0
- package/dist/esm/models/evaluate-expression-request.js +14 -0
- package/dist/esm/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/esm/models/evaluate-expression200-response.js +14 -0
- package/dist/esm/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/esm/models/export-configuration200-response-configuration.js +14 -0
- package/dist/esm/models/export-configuration200-response.d.ts +25 -0
- package/dist/esm/models/export-configuration200-response.js +14 -0
- package/dist/esm/models/import-configuration201-response.d.ts +6 -0
- package/dist/esm/models/index.d.ts +19 -8
- package/dist/esm/models/index.js +19 -8
- package/dist/{models/retrieve-installed-app200-response.d.ts → esm/models/install-app201-response.d.ts} +19 -19
- package/dist/esm/models/install-app201-response.js +14 -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/{models/retrieve-workflow200-response.d.ts → esm/models/list-workflows200-response-collection-inner.d.ts} +60 -68
- package/dist/esm/models/{retrieve-workflow200-response.js → list-workflows200-response-collection-inner.js} +1 -1
- package/dist/esm/models/list-workflows200-response.d.ts +32 -0
- package/dist/esm/models/list-workflows200-response.js +14 -0
- 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/update-account-request-action-type-categories-inner-icon.d.ts +36 -0
- 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/{api-v1-action-types-post-request-form-draft-inner.d.ts → create-action-type-request-form-draft-inner.d.ts} +18 -12
- package/dist/models/{api-v1-action-types-post-request-form-draft-inner.js → create-action-type-request-form-draft-inner.js} +2 -2
- package/dist/models/{api-v1-action-types-post-request-icon-draft.d.ts → create-action-type-request-icon-draft.d.ts} +5 -5
- package/dist/{esm/models/api-v1-action-types-post-request.d.ts → models/create-action-type-request.d.ts} +34 -22
- package/dist/{esm/models/retrieve-action-type404-response.d.ts → models/create-action-type422-response.d.ts} +5 -5
- package/dist/models/{api-v1-app-connections-post-request.d.ts → create-app-connection-request.d.ts} +6 -6
- package/dist/models/create-workflow201-response.d.ts +262 -0
- package/dist/models/create-workflow201-response.js +24 -0
- package/dist/models/delete-action-type200-response.d.ts +24 -0
- package/dist/models/delete-action-type200-response.js +15 -0
- package/dist/models/evaluate-expression-request.d.ts +32 -0
- package/dist/models/evaluate-expression-request.js +15 -0
- package/dist/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/models/evaluate-expression200-response.js +15 -0
- package/dist/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/models/export-configuration200-response-configuration.js +15 -0
- package/dist/models/export-configuration200-response.d.ts +25 -0
- package/dist/models/export-configuration200-response.js +15 -0
- package/dist/models/import-configuration201-response.d.ts +6 -0
- package/dist/models/index.d.ts +19 -8
- package/dist/models/index.js +19 -8
- package/dist/{esm/models/retrieve-installed-app200-response.d.ts → models/install-app201-response.d.ts} +19 -19
- package/dist/models/install-app201-response.js +15 -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/{esm/models/retrieve-workflow200-response.d.ts → models/list-workflows200-response-collection-inner.d.ts} +60 -68
- package/dist/models/{retrieve-workflow200-response.js → list-workflows200-response-collection-inner.js} +2 -2
- package/dist/models/list-workflows200-response.d.ts +32 -0
- package/dist/models/list-workflows200-response.js +15 -0
- 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/models/update-account-request-action-type-categories-inner-icon.d.ts +36 -0
- 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/models/create-action-type-request-icon-draft.ts +42 -0
- package/models/create-action-type-request.ts +129 -0
- package/models/create-action-type422-response.ts +42 -0
- package/models/create-app-connection-request.ts +48 -0
- 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/models/create-workflow201-response.ts +266 -0
- package/models/delete-action-type200-response.ts +30 -0
- package/models/delete-workflow200-response-one-of.ts +30 -0
- 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/models/install-app201-response.ts +126 -0
- 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/models/list-installed-apps200-response-collection-inner.ts +120 -0
- 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/esm/models/clone-workflow201-response.d.ts → models/list-workflows200-response-collection-inner.ts} +76 -47
- 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/models/clone-workflow201-response.d.ts +0 -183
- /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 → create-action-type-request-icon-draft.js} +0 -0
- /package/dist/esm/models/{api-v1-app-connections-post-request.js → create-action-type-request.js} +0 -0
- /package/dist/esm/models/{retrieve-action-type404-response.js → create-action-type422-response.js} +0 -0
- /package/dist/esm/models/{retrieve-installed-app200-response.js → create-app-connection-request.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 → create-action-type-request-icon-draft.js} +0 -0
- /package/dist/models/{api-v1-app-connections-post-request.js → create-action-type-request.js} +0 -0
- /package/dist/models/{retrieve-action-type404-response.js → create-action-type422-response.js} +0 -0
- /package/dist/models/{retrieve-installed-app200-response.js → create-app-connection-request.js} +0 -0
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { InstallApp201Response } from '../models';
|
|
15
16
|
import { InstallAppRequest } from '../models';
|
|
16
17
|
import { ListInstalledApps200Response } from '../models';
|
|
17
|
-
import { RetrieveInstalledApp200Response } from '../models';
|
|
18
18
|
import { UpdateInstalledAppRequest } from '../models';
|
|
19
19
|
/**
|
|
20
20
|
* InstalledAppsApi - axios parameter creator
|
|
@@ -66,7 +66,7 @@ export declare const InstalledAppsApiFp: (configuration?: Configuration) => {
|
|
|
66
66
|
* @param {*} [options] Override http request option.
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
|
-
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
69
|
+
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstallApp201Response>>;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @summary List installed apps
|
|
@@ -81,7 +81,7 @@ export declare const InstalledAppsApiFp: (configuration?: Configuration) => {
|
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
*/
|
|
84
|
-
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
84
|
+
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstallApp201Response>>;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @summary Update installed app
|
|
@@ -90,7 +90,7 @@ export declare const InstalledAppsApiFp: (configuration?: Configuration) => {
|
|
|
90
90
|
* @param {*} [options] Override http request option.
|
|
91
91
|
* @throws {RequiredError}
|
|
92
92
|
*/
|
|
93
|
-
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
93
|
+
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstallApp201Response>>;
|
|
94
94
|
};
|
|
95
95
|
/**
|
|
96
96
|
* InstalledAppsApi - factory interface
|
|
@@ -104,7 +104,7 @@ export declare const InstalledAppsApiFactory: (configuration?: Configuration, ba
|
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
installApp(installAppRequest?: InstallAppRequest, options?: any): AxiosPromise<
|
|
107
|
+
installApp(installAppRequest?: InstallAppRequest, options?: any): AxiosPromise<InstallApp201Response>;
|
|
108
108
|
/**
|
|
109
109
|
*
|
|
110
110
|
* @summary List installed apps
|
|
@@ -119,7 +119,7 @@ export declare const InstalledAppsApiFactory: (configuration?: Configuration, ba
|
|
|
119
119
|
* @param {*} [options] Override http request option.
|
|
120
120
|
* @throws {RequiredError}
|
|
121
121
|
*/
|
|
122
|
-
retrieveInstalledApp(appIdentifier: string, options?: any): AxiosPromise<
|
|
122
|
+
retrieveInstalledApp(appIdentifier: string, options?: any): AxiosPromise<InstallApp201Response>;
|
|
123
123
|
/**
|
|
124
124
|
*
|
|
125
125
|
* @summary Update installed app
|
|
@@ -128,7 +128,7 @@ export declare const InstalledAppsApiFactory: (configuration?: Configuration, ba
|
|
|
128
128
|
* @param {*} [options] Override http request option.
|
|
129
129
|
* @throws {RequiredError}
|
|
130
130
|
*/
|
|
131
|
-
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: any): AxiosPromise<
|
|
131
|
+
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: any): AxiosPromise<InstallApp201Response>;
|
|
132
132
|
};
|
|
133
133
|
/**
|
|
134
134
|
* InstalledAppsApi - interface
|
|
@@ -144,7 +144,7 @@ export interface InstalledAppsApiInterface {
|
|
|
144
144
|
* @throws {RequiredError}
|
|
145
145
|
* @memberof InstalledAppsApiInterface
|
|
146
146
|
*/
|
|
147
|
-
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
147
|
+
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<InstallApp201Response>;
|
|
148
148
|
/**
|
|
149
149
|
*
|
|
150
150
|
* @summary List installed apps
|
|
@@ -161,7 +161,7 @@ export interface InstalledAppsApiInterface {
|
|
|
161
161
|
* @throws {RequiredError}
|
|
162
162
|
* @memberof InstalledAppsApiInterface
|
|
163
163
|
*/
|
|
164
|
-
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
164
|
+
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): AxiosPromise<InstallApp201Response>;
|
|
165
165
|
/**
|
|
166
166
|
*
|
|
167
167
|
* @summary Update installed app
|
|
@@ -171,7 +171,7 @@ export interface InstalledAppsApiInterface {
|
|
|
171
171
|
* @throws {RequiredError}
|
|
172
172
|
* @memberof InstalledAppsApiInterface
|
|
173
173
|
*/
|
|
174
|
-
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
174
|
+
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<InstallApp201Response>;
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
177
|
* InstalledAppsApi - object-oriented interface
|
|
@@ -188,7 +188,7 @@ export declare class InstalledAppsApi extends BaseAPI implements InstalledAppsAp
|
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
* @memberof InstalledAppsApi
|
|
190
190
|
*/
|
|
191
|
-
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
191
|
+
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstallApp201Response, any, {}>>;
|
|
192
192
|
/**
|
|
193
193
|
*
|
|
194
194
|
* @summary List installed apps
|
|
@@ -196,7 +196,7 @@ export declare class InstalledAppsApi extends BaseAPI implements InstalledAppsAp
|
|
|
196
196
|
* @throws {RequiredError}
|
|
197
197
|
* @memberof InstalledAppsApi
|
|
198
198
|
*/
|
|
199
|
-
listInstalledApps(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInstalledApps200Response, any>>;
|
|
199
|
+
listInstalledApps(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInstalledApps200Response, any, {}>>;
|
|
200
200
|
/**
|
|
201
201
|
*
|
|
202
202
|
* @summary Retrieve installed app
|
|
@@ -205,7 +205,7 @@ export declare class InstalledAppsApi extends BaseAPI implements InstalledAppsAp
|
|
|
205
205
|
* @throws {RequiredError}
|
|
206
206
|
* @memberof InstalledAppsApi
|
|
207
207
|
*/
|
|
208
|
-
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
208
|
+
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstallApp201Response, any, {}>>;
|
|
209
209
|
/**
|
|
210
210
|
*
|
|
211
211
|
* @summary Update installed app
|
|
@@ -215,5 +215,5 @@ export declare class InstalledAppsApi extends BaseAPI implements InstalledAppsAp
|
|
|
215
215
|
* @throws {RequiredError}
|
|
216
216
|
* @memberof InstalledAppsApi
|
|
217
217
|
*/
|
|
218
|
-
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
218
|
+
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstallApp201Response, any, {}>>;
|
|
219
219
|
}
|
|
@@ -96,5 +96,5 @@ export declare class PaymentsApi extends BaseAPI implements PaymentsApiInterface
|
|
|
96
96
|
* @throws {RequiredError}
|
|
97
97
|
* @memberof PaymentsApi
|
|
98
98
|
*/
|
|
99
|
-
listPayments(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEvents200Response, any>>;
|
|
99
|
+
listPayments(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEvents200Response, any, {}>>;
|
|
100
100
|
}
|
|
@@ -12,8 +12,10 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { DeleteActionType200Response } from '../models';
|
|
15
16
|
import { ListTriggers200Response } from '../models';
|
|
16
|
-
import {
|
|
17
|
+
import { ListTriggers200ResponseCollectionInner } from '../models';
|
|
18
|
+
import { UpdateTriggerRequest } from '../models';
|
|
17
19
|
/**
|
|
18
20
|
* TriggersApi - axios parameter creator
|
|
19
21
|
* @export
|
|
@@ -49,11 +51,11 @@ export declare const TriggersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
49
51
|
*
|
|
50
52
|
* @summary Update trigger
|
|
51
53
|
* @param {string} id System-generated unique identifier
|
|
52
|
-
* @param {
|
|
54
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
53
55
|
* @param {*} [options] Override http request option.
|
|
54
56
|
* @throws {RequiredError}
|
|
55
57
|
*/
|
|
56
|
-
updateTrigger: (id: string,
|
|
58
|
+
updateTrigger: (id: string, updateTriggerRequest?: UpdateTriggerRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
57
59
|
};
|
|
58
60
|
/**
|
|
59
61
|
* TriggersApi - functional programming interface
|
|
@@ -67,7 +69,7 @@ export declare const TriggersApiFp: (configuration?: Configuration) => {
|
|
|
67
69
|
* @param {*} [options] Override http request option.
|
|
68
70
|
* @throws {RequiredError}
|
|
69
71
|
*/
|
|
70
|
-
deleteTrigger(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
72
|
+
deleteTrigger(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteActionType200Response>>;
|
|
71
73
|
/**
|
|
72
74
|
*
|
|
73
75
|
* @summary List triggers
|
|
@@ -85,16 +87,16 @@ export declare const TriggersApiFp: (configuration?: Configuration) => {
|
|
|
85
87
|
* @param {*} [options] Override http request option.
|
|
86
88
|
* @throws {RequiredError}
|
|
87
89
|
*/
|
|
88
|
-
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
90
|
+
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTriggers200ResponseCollectionInner>>;
|
|
89
91
|
/**
|
|
90
92
|
*
|
|
91
93
|
* @summary Update trigger
|
|
92
94
|
* @param {string} id System-generated unique identifier
|
|
93
|
-
* @param {
|
|
95
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
94
96
|
* @param {*} [options] Override http request option.
|
|
95
97
|
* @throws {RequiredError}
|
|
96
98
|
*/
|
|
97
|
-
updateTrigger(id: string,
|
|
99
|
+
updateTrigger(id: string, updateTriggerRequest?: UpdateTriggerRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTriggers200ResponseCollectionInner>>;
|
|
98
100
|
};
|
|
99
101
|
/**
|
|
100
102
|
* TriggersApi - factory interface
|
|
@@ -108,7 +110,7 @@ export declare const TriggersApiFactory: (configuration?: Configuration, basePat
|
|
|
108
110
|
* @param {*} [options] Override http request option.
|
|
109
111
|
* @throws {RequiredError}
|
|
110
112
|
*/
|
|
111
|
-
deleteTrigger(id: string, options?: any): AxiosPromise<
|
|
113
|
+
deleteTrigger(id: string, options?: any): AxiosPromise<DeleteActionType200Response>;
|
|
112
114
|
/**
|
|
113
115
|
*
|
|
114
116
|
* @summary List triggers
|
|
@@ -126,16 +128,16 @@ export declare const TriggersApiFactory: (configuration?: Configuration, basePat
|
|
|
126
128
|
* @param {*} [options] Override http request option.
|
|
127
129
|
* @throws {RequiredError}
|
|
128
130
|
*/
|
|
129
|
-
retrieveTrigger(id: string, options?: any): AxiosPromise<
|
|
131
|
+
retrieveTrigger(id: string, options?: any): AxiosPromise<ListTriggers200ResponseCollectionInner>;
|
|
130
132
|
/**
|
|
131
133
|
*
|
|
132
134
|
* @summary Update trigger
|
|
133
135
|
* @param {string} id System-generated unique identifier
|
|
134
|
-
* @param {
|
|
136
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
135
137
|
* @param {*} [options] Override http request option.
|
|
136
138
|
* @throws {RequiredError}
|
|
137
139
|
*/
|
|
138
|
-
updateTrigger(id: string,
|
|
140
|
+
updateTrigger(id: string, updateTriggerRequest?: UpdateTriggerRequest, options?: any): AxiosPromise<ListTriggers200ResponseCollectionInner>;
|
|
139
141
|
};
|
|
140
142
|
/**
|
|
141
143
|
* TriggersApi - interface
|
|
@@ -151,7 +153,7 @@ export interface TriggersApiInterface {
|
|
|
151
153
|
* @throws {RequiredError}
|
|
152
154
|
* @memberof TriggersApiInterface
|
|
153
155
|
*/
|
|
154
|
-
deleteTrigger(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
156
|
+
deleteTrigger(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteActionType200Response>;
|
|
155
157
|
/**
|
|
156
158
|
*
|
|
157
159
|
* @summary List triggers
|
|
@@ -171,17 +173,17 @@ export interface TriggersApiInterface {
|
|
|
171
173
|
* @throws {RequiredError}
|
|
172
174
|
* @memberof TriggersApiInterface
|
|
173
175
|
*/
|
|
174
|
-
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
176
|
+
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ListTriggers200ResponseCollectionInner>;
|
|
175
177
|
/**
|
|
176
178
|
*
|
|
177
179
|
* @summary Update trigger
|
|
178
180
|
* @param {string} id System-generated unique identifier
|
|
179
|
-
* @param {
|
|
181
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
180
182
|
* @param {*} [options] Override http request option.
|
|
181
183
|
* @throws {RequiredError}
|
|
182
184
|
* @memberof TriggersApiInterface
|
|
183
185
|
*/
|
|
184
|
-
updateTrigger(id: string,
|
|
186
|
+
updateTrigger(id: string, updateTriggerRequest?: UpdateTriggerRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTriggers200ResponseCollectionInner>;
|
|
185
187
|
}
|
|
186
188
|
/**
|
|
187
189
|
* TriggersApi - object-oriented interface
|
|
@@ -198,7 +200,7 @@ export declare class TriggersApi extends BaseAPI implements TriggersApiInterface
|
|
|
198
200
|
* @throws {RequiredError}
|
|
199
201
|
* @memberof TriggersApi
|
|
200
202
|
*/
|
|
201
|
-
deleteTrigger(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
203
|
+
deleteTrigger(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any, {}>>;
|
|
202
204
|
/**
|
|
203
205
|
*
|
|
204
206
|
* @summary List triggers
|
|
@@ -209,7 +211,7 @@ export declare class TriggersApi extends BaseAPI implements TriggersApiInterface
|
|
|
209
211
|
* @throws {RequiredError}
|
|
210
212
|
* @memberof TriggersApi
|
|
211
213
|
*/
|
|
212
|
-
listTriggers(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTriggers200Response, any>>;
|
|
214
|
+
listTriggers(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTriggers200Response, any, {}>>;
|
|
213
215
|
/**
|
|
214
216
|
*
|
|
215
217
|
* @summary Retrieve trigger
|
|
@@ -218,15 +220,15 @@ export declare class TriggersApi extends BaseAPI implements TriggersApiInterface
|
|
|
218
220
|
* @throws {RequiredError}
|
|
219
221
|
* @memberof TriggersApi
|
|
220
222
|
*/
|
|
221
|
-
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
223
|
+
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTriggers200ResponseCollectionInner, any, {}>>;
|
|
222
224
|
/**
|
|
223
225
|
*
|
|
224
226
|
* @summary Update trigger
|
|
225
227
|
* @param {string} id System-generated unique identifier
|
|
226
|
-
* @param {
|
|
228
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
227
229
|
* @param {*} [options] Override http request option.
|
|
228
230
|
* @throws {RequiredError}
|
|
229
231
|
* @memberof TriggersApi
|
|
230
232
|
*/
|
|
231
|
-
updateTrigger(id: string,
|
|
233
|
+
updateTrigger(id: string, updateTriggerRequest?: UpdateTriggerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTriggers200ResponseCollectionInner, any, {}>>;
|
|
232
234
|
}
|
|
@@ -140,11 +140,11 @@ export const TriggersApiAxiosParamCreator = function (configuration) {
|
|
|
140
140
|
*
|
|
141
141
|
* @summary Update trigger
|
|
142
142
|
* @param {string} id System-generated unique identifier
|
|
143
|
-
* @param {
|
|
143
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
144
144
|
* @param {*} [options] Override http request option.
|
|
145
145
|
* @throws {RequiredError}
|
|
146
146
|
*/
|
|
147
|
-
updateTrigger: (id,
|
|
147
|
+
updateTrigger: (id, updateTriggerRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
148
148
|
// verify required parameter 'id' is not null or undefined
|
|
149
149
|
assertParamExists('updateTrigger', 'id', id);
|
|
150
150
|
const localVarPath = `/api/v1/triggers/{id}`
|
|
@@ -165,7 +165,7 @@ export const TriggersApiAxiosParamCreator = function (configuration) {
|
|
|
165
165
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
166
166
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
167
167
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
168
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
168
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateTriggerRequest, localVarRequestOptions, configuration);
|
|
169
169
|
return {
|
|
170
170
|
url: toPathString(localVarUrlObj),
|
|
171
171
|
options: localVarRequestOptions,
|
|
@@ -234,14 +234,14 @@ export const TriggersApiFp = function (configuration) {
|
|
|
234
234
|
*
|
|
235
235
|
* @summary Update trigger
|
|
236
236
|
* @param {string} id System-generated unique identifier
|
|
237
|
-
* @param {
|
|
237
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
238
238
|
* @param {*} [options] Override http request option.
|
|
239
239
|
* @throws {RequiredError}
|
|
240
240
|
*/
|
|
241
|
-
updateTrigger(id,
|
|
241
|
+
updateTrigger(id, updateTriggerRequest, options) {
|
|
242
242
|
var _a, _b, _c;
|
|
243
243
|
return __awaiter(this, void 0, void 0, function* () {
|
|
244
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTrigger(id,
|
|
244
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateTrigger(id, updateTriggerRequest, options);
|
|
245
245
|
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
246
246
|
const operationBasePath = (_c = (_b = operationServerMap['TriggersApi.updateTrigger']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
247
247
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
@@ -292,12 +292,12 @@ export const TriggersApiFactory = function (configuration, basePath, axios) {
|
|
|
292
292
|
*
|
|
293
293
|
* @summary Update trigger
|
|
294
294
|
* @param {string} id System-generated unique identifier
|
|
295
|
-
* @param {
|
|
295
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
296
296
|
* @param {*} [options] Override http request option.
|
|
297
297
|
* @throws {RequiredError}
|
|
298
298
|
*/
|
|
299
|
-
updateTrigger(id,
|
|
300
|
-
return localVarFp.updateTrigger(id,
|
|
299
|
+
updateTrigger(id, updateTriggerRequest, options) {
|
|
300
|
+
return localVarFp.updateTrigger(id, updateTriggerRequest, options).then((request) => request(axios, basePath));
|
|
301
301
|
},
|
|
302
302
|
};
|
|
303
303
|
};
|
|
@@ -347,12 +347,12 @@ export class TriggersApi extends BaseAPI {
|
|
|
347
347
|
*
|
|
348
348
|
* @summary Update trigger
|
|
349
349
|
* @param {string} id System-generated unique identifier
|
|
350
|
-
* @param {
|
|
350
|
+
* @param {UpdateTriggerRequest} [updateTriggerRequest]
|
|
351
351
|
* @param {*} [options] Override http request option.
|
|
352
352
|
* @throws {RequiredError}
|
|
353
353
|
* @memberof TriggersApi
|
|
354
354
|
*/
|
|
355
|
-
updateTrigger(id,
|
|
356
|
-
return TriggersApiFp(this.configuration).updateTrigger(id,
|
|
355
|
+
updateTrigger(id, updateTriggerRequest, options) {
|
|
356
|
+
return TriggersApiFp(this.configuration).updateTrigger(id, updateTriggerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
357
357
|
}
|
|
358
358
|
}
|
|
@@ -15,6 +15,7 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { CreateUserToken200Response } from '../models';
|
|
16
16
|
import { CreateUserTokenRequest } from '../models';
|
|
17
17
|
import { ListUsers200Response } from '../models';
|
|
18
|
+
import { ListUsers200ResponseCollectionInner } from '../models';
|
|
18
19
|
import { UpsertUserRequest } from '../models';
|
|
19
20
|
/**
|
|
20
21
|
* UsersApi - axios parameter creator
|
|
@@ -43,10 +44,11 @@ export declare const UsersApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
43
44
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
44
45
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
45
46
|
* @param {number} [limit] Number of items to return (max 100)
|
|
47
|
+
* @param {string} [search] Search users by key
|
|
46
48
|
* @param {*} [options] Override http request option.
|
|
47
49
|
* @throws {RequiredError}
|
|
48
50
|
*/
|
|
49
|
-
listUsers: (startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
listUsers: (startingAfter?: string, endingBefore?: string, limit?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
52
|
/**
|
|
51
53
|
*
|
|
52
54
|
* @summary Retrieve user
|
|
@@ -85,17 +87,18 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
85
87
|
* @param {*} [options] Override http request option.
|
|
86
88
|
* @throws {RequiredError}
|
|
87
89
|
*/
|
|
88
|
-
deleteUser(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
90
|
+
deleteUser(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsers200ResponseCollectionInner>>;
|
|
89
91
|
/**
|
|
90
92
|
*
|
|
91
93
|
* @summary List users
|
|
92
94
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
93
95
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
94
96
|
* @param {number} [limit] Number of items to return (max 100)
|
|
97
|
+
* @param {string} [search] Search users by key
|
|
95
98
|
* @param {*} [options] Override http request option.
|
|
96
99
|
* @throws {RequiredError}
|
|
97
100
|
*/
|
|
98
|
-
listUsers(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsers200Response>>;
|
|
101
|
+
listUsers(startingAfter?: string, endingBefore?: string, limit?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsers200Response>>;
|
|
99
102
|
/**
|
|
100
103
|
*
|
|
101
104
|
* @summary Retrieve user
|
|
@@ -103,7 +106,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
103
106
|
* @param {*} [options] Override http request option.
|
|
104
107
|
* @throws {RequiredError}
|
|
105
108
|
*/
|
|
106
|
-
retrieveUser(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
109
|
+
retrieveUser(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsers200ResponseCollectionInner>>;
|
|
107
110
|
/**
|
|
108
111
|
*
|
|
109
112
|
* @summary Upsert user
|
|
@@ -112,7 +115,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
|
112
115
|
* @param {*} [options] Override http request option.
|
|
113
116
|
* @throws {RequiredError}
|
|
114
117
|
*/
|
|
115
|
-
upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
118
|
+
upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUsers200ResponseCollectionInner>>;
|
|
116
119
|
};
|
|
117
120
|
/**
|
|
118
121
|
* UsersApi - factory interface
|
|
@@ -134,17 +137,18 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
134
137
|
* @param {*} [options] Override http request option.
|
|
135
138
|
* @throws {RequiredError}
|
|
136
139
|
*/
|
|
137
|
-
deleteUser(key: string, options?: any): AxiosPromise<
|
|
140
|
+
deleteUser(key: string, options?: any): AxiosPromise<ListUsers200ResponseCollectionInner>;
|
|
138
141
|
/**
|
|
139
142
|
*
|
|
140
143
|
* @summary List users
|
|
141
144
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
142
145
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
143
146
|
* @param {number} [limit] Number of items to return (max 100)
|
|
147
|
+
* @param {string} [search] Search users by key
|
|
144
148
|
* @param {*} [options] Override http request option.
|
|
145
149
|
* @throws {RequiredError}
|
|
146
150
|
*/
|
|
147
|
-
listUsers(startingAfter?: string, endingBefore?: string, limit?: number, options?: any): AxiosPromise<ListUsers200Response>;
|
|
151
|
+
listUsers(startingAfter?: string, endingBefore?: string, limit?: number, search?: string, options?: any): AxiosPromise<ListUsers200Response>;
|
|
148
152
|
/**
|
|
149
153
|
*
|
|
150
154
|
* @summary Retrieve user
|
|
@@ -152,7 +156,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
152
156
|
* @param {*} [options] Override http request option.
|
|
153
157
|
* @throws {RequiredError}
|
|
154
158
|
*/
|
|
155
|
-
retrieveUser(key: string, options?: any): AxiosPromise<
|
|
159
|
+
retrieveUser(key: string, options?: any): AxiosPromise<ListUsers200ResponseCollectionInner>;
|
|
156
160
|
/**
|
|
157
161
|
*
|
|
158
162
|
* @summary Upsert user
|
|
@@ -161,7 +165,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
|
|
|
161
165
|
* @param {*} [options] Override http request option.
|
|
162
166
|
* @throws {RequiredError}
|
|
163
167
|
*/
|
|
164
|
-
upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: any): AxiosPromise<
|
|
168
|
+
upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: any): AxiosPromise<ListUsers200ResponseCollectionInner>;
|
|
165
169
|
};
|
|
166
170
|
/**
|
|
167
171
|
* UsersApi - interface
|
|
@@ -186,18 +190,19 @@ export interface UsersApiInterface {
|
|
|
186
190
|
* @throws {RequiredError}
|
|
187
191
|
* @memberof UsersApiInterface
|
|
188
192
|
*/
|
|
189
|
-
deleteUser(key: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
193
|
+
deleteUser(key: string, options?: RawAxiosRequestConfig): AxiosPromise<ListUsers200ResponseCollectionInner>;
|
|
190
194
|
/**
|
|
191
195
|
*
|
|
192
196
|
* @summary List users
|
|
193
197
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
194
198
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
195
199
|
* @param {number} [limit] Number of items to return (max 100)
|
|
200
|
+
* @param {string} [search] Search users by key
|
|
196
201
|
* @param {*} [options] Override http request option.
|
|
197
202
|
* @throws {RequiredError}
|
|
198
203
|
* @memberof UsersApiInterface
|
|
199
204
|
*/
|
|
200
|
-
listUsers(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListUsers200Response>;
|
|
205
|
+
listUsers(startingAfter?: string, endingBefore?: string, limit?: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListUsers200Response>;
|
|
201
206
|
/**
|
|
202
207
|
*
|
|
203
208
|
* @summary Retrieve user
|
|
@@ -206,7 +211,7 @@ export interface UsersApiInterface {
|
|
|
206
211
|
* @throws {RequiredError}
|
|
207
212
|
* @memberof UsersApiInterface
|
|
208
213
|
*/
|
|
209
|
-
retrieveUser(key: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
214
|
+
retrieveUser(key: string, options?: RawAxiosRequestConfig): AxiosPromise<ListUsers200ResponseCollectionInner>;
|
|
210
215
|
/**
|
|
211
216
|
*
|
|
212
217
|
* @summary Upsert user
|
|
@@ -216,7 +221,7 @@ export interface UsersApiInterface {
|
|
|
216
221
|
* @throws {RequiredError}
|
|
217
222
|
* @memberof UsersApiInterface
|
|
218
223
|
*/
|
|
219
|
-
upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
224
|
+
upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListUsers200ResponseCollectionInner>;
|
|
220
225
|
}
|
|
221
226
|
/**
|
|
222
227
|
* UsersApi - object-oriented interface
|
|
@@ -233,7 +238,7 @@ export declare class UsersApi extends BaseAPI implements UsersApiInterface {
|
|
|
233
238
|
* @throws {RequiredError}
|
|
234
239
|
* @memberof UsersApi
|
|
235
240
|
*/
|
|
236
|
-
createUserToken(createUserTokenRequest?: CreateUserTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateUserToken200Response, any>>;
|
|
241
|
+
createUserToken(createUserTokenRequest?: CreateUserTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateUserToken200Response, any, {}>>;
|
|
237
242
|
/**
|
|
238
243
|
*
|
|
239
244
|
* @summary Delete user
|
|
@@ -242,18 +247,19 @@ export declare class UsersApi extends BaseAPI implements UsersApiInterface {
|
|
|
242
247
|
* @throws {RequiredError}
|
|
243
248
|
* @memberof UsersApi
|
|
244
249
|
*/
|
|
245
|
-
deleteUser(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
250
|
+
deleteUser(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsers200ResponseCollectionInner, any, {}>>;
|
|
246
251
|
/**
|
|
247
252
|
*
|
|
248
253
|
* @summary List users
|
|
249
254
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
250
255
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
251
256
|
* @param {number} [limit] Number of items to return (max 100)
|
|
257
|
+
* @param {string} [search] Search users by key
|
|
252
258
|
* @param {*} [options] Override http request option.
|
|
253
259
|
* @throws {RequiredError}
|
|
254
260
|
* @memberof UsersApi
|
|
255
261
|
*/
|
|
256
|
-
listUsers(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsers200Response, any>>;
|
|
262
|
+
listUsers(startingAfter?: string, endingBefore?: string, limit?: number, search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsers200Response, any, {}>>;
|
|
257
263
|
/**
|
|
258
264
|
*
|
|
259
265
|
* @summary Retrieve user
|
|
@@ -262,7 +268,7 @@ export declare class UsersApi extends BaseAPI implements UsersApiInterface {
|
|
|
262
268
|
* @throws {RequiredError}
|
|
263
269
|
* @memberof UsersApi
|
|
264
270
|
*/
|
|
265
|
-
retrieveUser(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
271
|
+
retrieveUser(key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsers200ResponseCollectionInner, any, {}>>;
|
|
266
272
|
/**
|
|
267
273
|
*
|
|
268
274
|
* @summary Upsert user
|
|
@@ -272,5 +278,5 @@ export declare class UsersApi extends BaseAPI implements UsersApiInterface {
|
|
|
272
278
|
* @throws {RequiredError}
|
|
273
279
|
* @memberof UsersApi
|
|
274
280
|
*/
|
|
275
|
-
upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
281
|
+
upsertUser(key: string, upsertUserRequest?: UpsertUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListUsers200ResponseCollectionInner, any, {}>>;
|
|
276
282
|
}
|
|
@@ -101,10 +101,11 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
101
101
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
102
102
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
103
103
|
* @param {number} [limit] Number of items to return (max 100)
|
|
104
|
+
* @param {string} [search] Search users by key
|
|
104
105
|
* @param {*} [options] Override http request option.
|
|
105
106
|
* @throws {RequiredError}
|
|
106
107
|
*/
|
|
107
|
-
listUsers: (startingAfter, endingBefore, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
108
|
+
listUsers: (startingAfter, endingBefore, limit, search, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
108
109
|
const localVarPath = `/api/v1/users`;
|
|
109
110
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
110
111
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -127,6 +128,9 @@ export const UsersApiAxiosParamCreator = function (configuration) {
|
|
|
127
128
|
if (limit !== undefined) {
|
|
128
129
|
localVarQueryParameter['limit'] = limit;
|
|
129
130
|
}
|
|
131
|
+
if (search !== undefined) {
|
|
132
|
+
localVarQueryParameter['search'] = search;
|
|
133
|
+
}
|
|
130
134
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
131
135
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
132
136
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -249,13 +253,14 @@ export const UsersApiFp = function (configuration) {
|
|
|
249
253
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
250
254
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
251
255
|
* @param {number} [limit] Number of items to return (max 100)
|
|
256
|
+
* @param {string} [search] Search users by key
|
|
252
257
|
* @param {*} [options] Override http request option.
|
|
253
258
|
* @throws {RequiredError}
|
|
254
259
|
*/
|
|
255
|
-
listUsers(startingAfter, endingBefore, limit, options) {
|
|
260
|
+
listUsers(startingAfter, endingBefore, limit, search, options) {
|
|
256
261
|
var _a, _b, _c;
|
|
257
262
|
return __awaiter(this, void 0, void 0, function* () {
|
|
258
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(startingAfter, endingBefore, limit, options);
|
|
263
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listUsers(startingAfter, endingBefore, limit, search, options);
|
|
259
264
|
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
260
265
|
const operationBasePath = (_c = (_b = operationServerMap['UsersApi.listUsers']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
261
266
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
@@ -329,11 +334,12 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
|
|
|
329
334
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
330
335
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
331
336
|
* @param {number} [limit] Number of items to return (max 100)
|
|
337
|
+
* @param {string} [search] Search users by key
|
|
332
338
|
* @param {*} [options] Override http request option.
|
|
333
339
|
* @throws {RequiredError}
|
|
334
340
|
*/
|
|
335
|
-
listUsers(startingAfter, endingBefore, limit, options) {
|
|
336
|
-
return localVarFp.listUsers(startingAfter, endingBefore, limit, options).then((request) => request(axios, basePath));
|
|
341
|
+
listUsers(startingAfter, endingBefore, limit, search, options) {
|
|
342
|
+
return localVarFp.listUsers(startingAfter, endingBefore, limit, search, options).then((request) => request(axios, basePath));
|
|
337
343
|
},
|
|
338
344
|
/**
|
|
339
345
|
*
|
|
@@ -393,12 +399,13 @@ export class UsersApi extends BaseAPI {
|
|
|
393
399
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
394
400
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
395
401
|
* @param {number} [limit] Number of items to return (max 100)
|
|
402
|
+
* @param {string} [search] Search users by key
|
|
396
403
|
* @param {*} [options] Override http request option.
|
|
397
404
|
* @throws {RequiredError}
|
|
398
405
|
* @memberof UsersApi
|
|
399
406
|
*/
|
|
400
|
-
listUsers(startingAfter, endingBefore, limit, options) {
|
|
401
|
-
return UsersApiFp(this.configuration).listUsers(startingAfter, endingBefore, limit, options).then((request) => request(this.axios, this.basePath));
|
|
407
|
+
listUsers(startingAfter, endingBefore, limit, search, options) {
|
|
408
|
+
return UsersApiFp(this.configuration).listUsers(startingAfter, endingBefore, limit, search, options).then((request) => request(this.axios, this.basePath));
|
|
402
409
|
}
|
|
403
410
|
/**
|
|
404
411
|
*
|