@livechat/developer-studio-api 2.3.69 → 2.3.71
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/index.d.mts +1762 -1760
- package/dist/index.d.ts +1762 -1760
- package/dist/index.js +14 -0
- package/dist/index.mjs +14 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,288 +1,101 @@
|
|
|
1
1
|
import * as axios from 'axios';
|
|
2
2
|
import { AxiosRequestConfig } from 'axios';
|
|
3
3
|
|
|
4
|
-
interface
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
aggregateId: string;
|
|
8
|
-
sequence: number;
|
|
9
|
-
payload: {
|
|
10
|
-
product: string;
|
|
11
|
-
};
|
|
12
|
-
meta: {
|
|
13
|
-
account: string;
|
|
14
|
-
developer: string;
|
|
15
|
-
email: string;
|
|
16
|
-
license: string;
|
|
17
|
-
organization: string;
|
|
18
|
-
referer: string;
|
|
19
|
-
region: string;
|
|
20
|
-
scopes: string;
|
|
21
|
-
webBrowser: string;
|
|
22
|
-
};
|
|
23
|
-
createdAt: string;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
interface GitHubInstallation {
|
|
27
|
-
id: number;
|
|
28
|
-
app_id: number;
|
|
29
|
-
app_slug: string;
|
|
30
|
-
repository_selection: string;
|
|
31
|
-
target_type: "User" | "Organization";
|
|
32
|
-
account: {
|
|
33
|
-
login: string;
|
|
34
|
-
};
|
|
4
|
+
interface TextPlatformDashboardPaymentDto {
|
|
5
|
+
credits_used: number;
|
|
6
|
+
amount: number;
|
|
35
7
|
}
|
|
36
8
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
declare function getGitHubClientAuthorization(req: {
|
|
45
|
-
headers: Record<string, string | string[] | undefined>;
|
|
46
|
-
}): GithubClientInstanceAuthorization;
|
|
47
|
-
interface GithubClientRequestOptions {
|
|
48
|
-
token?: string;
|
|
49
|
-
ensureAuthorizationToken?: boolean;
|
|
9
|
+
interface TextPlatformDashboardCreditsDto {
|
|
10
|
+
available_amount: number;
|
|
11
|
+
used_amount: number;
|
|
12
|
+
left_amount: number;
|
|
13
|
+
billable: boolean;
|
|
50
14
|
}
|
|
51
|
-
declare function getGithubClientRequestConfig(options?: GithubClientRequestOptions | undefined): AxiosRequestConfig;
|
|
52
|
-
declare function initGithubClientInstance(token?: string): void;
|
|
53
|
-
declare function updateGithubClientInstance(token?: string): void;
|
|
54
15
|
|
|
55
|
-
interface
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
updated_at: string;
|
|
62
|
-
pushed_at: string;
|
|
63
|
-
language: string;
|
|
64
|
-
description?: string;
|
|
65
|
-
branch?: string;
|
|
16
|
+
interface TextPlatformDashboardReportItemDto {
|
|
17
|
+
usage: number;
|
|
18
|
+
amount: number;
|
|
19
|
+
service?: "agent-api" | "customer-api" | "configuration-api" | "lc-webhooks" | "reports-api";
|
|
20
|
+
action?: string;
|
|
21
|
+
source?: string;
|
|
66
22
|
}
|
|
23
|
+
type TextPlatformDashboardReportDto = Record<string, TextPlatformDashboardReportItemDto[]>;
|
|
67
24
|
|
|
68
|
-
interface
|
|
69
|
-
|
|
25
|
+
interface GetTextPlatformDashboardReportParams {
|
|
26
|
+
from: string;
|
|
27
|
+
to: string;
|
|
28
|
+
service?: "agent-api" | "customer-api" | "configuration-api" | "lc-webhooks" | "reports-api";
|
|
29
|
+
action?: string;
|
|
30
|
+
source?: string;
|
|
31
|
+
time_distribution: "hour" | "day";
|
|
32
|
+
group_by?: ("source" | "service" | "action")[];
|
|
33
|
+
is_source_private?: boolean;
|
|
70
34
|
}
|
|
71
35
|
|
|
72
|
-
|
|
73
|
-
type: string;
|
|
74
|
-
id: number;
|
|
75
|
-
name: string;
|
|
76
|
-
active: boolean;
|
|
77
|
-
events: string[];
|
|
78
|
-
config: {
|
|
79
|
-
content_type: string;
|
|
80
|
-
url: string;
|
|
81
|
-
insecure_ssl: string;
|
|
82
|
-
};
|
|
83
|
-
updated_at: string;
|
|
84
|
-
created_at: string;
|
|
85
|
-
}
|
|
36
|
+
type AppMonitoringCustomReportDataDto = Record<string, Record<string, Record<string, number>>>;
|
|
86
37
|
|
|
87
|
-
interface
|
|
38
|
+
interface AppMonitoringCustomReport {
|
|
88
39
|
id: string;
|
|
89
|
-
key: string;
|
|
90
40
|
title: string;
|
|
41
|
+
events: string[];
|
|
91
42
|
}
|
|
92
43
|
|
|
93
|
-
|
|
94
|
-
sha: string;
|
|
95
|
-
size?: number;
|
|
96
|
-
content: string;
|
|
97
|
-
encoding: string;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
interface NetlifyAccount {
|
|
101
|
-
id: string;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
interface NetlifyEnv {
|
|
105
|
-
key: string;
|
|
106
|
-
scopes: string[];
|
|
107
|
-
values: {
|
|
108
|
-
id: string;
|
|
109
|
-
context: string;
|
|
110
|
-
value: string;
|
|
111
|
-
}[];
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
interface NetlifyClientInstanceAuthorization {
|
|
115
|
-
token?: string;
|
|
116
|
-
}
|
|
117
|
-
interface NetlifyClientInstanceOptions {
|
|
118
|
-
token?: string;
|
|
119
|
-
ensureAuthorizationToken?: boolean;
|
|
120
|
-
}
|
|
121
|
-
declare const netlifyClientInstance: axios.AxiosInstance;
|
|
122
|
-
declare function getNetlifyClientAuthorization(req: {
|
|
123
|
-
headers: Record<string, string | string[] | undefined>;
|
|
124
|
-
}): NetlifyClientInstanceAuthorization;
|
|
125
|
-
declare function getNetlifyClientConfig(options?: NetlifyClientInstanceOptions): AxiosRequestConfig;
|
|
126
|
-
declare function initNetlifyClientInstance(token?: string): void;
|
|
127
|
-
declare function updateNetlifyClientInstance(token?: string): void;
|
|
44
|
+
type AppMonitoringEventsReportDto = Record<string, Record<string, Record<string, number>>>;
|
|
128
45
|
|
|
129
|
-
|
|
130
|
-
id: string;
|
|
131
|
-
public_key: string;
|
|
132
|
-
}
|
|
46
|
+
type AppMonitoringUptimeReportDto = Record<string, Record<string, number>>;
|
|
133
47
|
|
|
134
|
-
interface
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
default_domain: string;
|
|
139
|
-
error_message?: string;
|
|
140
|
-
user_id: string;
|
|
141
|
-
deploy_id?: string;
|
|
142
|
-
build_settings: {
|
|
143
|
-
installation_id: string;
|
|
144
|
-
provider: string;
|
|
145
|
-
repo_path: string;
|
|
146
|
-
allowed_branches: string[];
|
|
147
|
-
public_repo: boolean;
|
|
148
|
-
env: string;
|
|
149
|
-
dir: string;
|
|
150
|
-
cmd: string;
|
|
151
|
-
};
|
|
152
|
-
state: string;
|
|
153
|
-
plugins: {
|
|
154
|
-
package: string;
|
|
155
|
-
}[];
|
|
48
|
+
interface AppMonitoringReportParams {
|
|
49
|
+
from: string;
|
|
50
|
+
to: string;
|
|
51
|
+
resolution: "hourly" | "daily" | "monthly";
|
|
156
52
|
}
|
|
157
53
|
|
|
158
|
-
interface
|
|
159
|
-
|
|
54
|
+
interface AppMonitoringEvent {
|
|
55
|
+
key: string;
|
|
160
56
|
name: string;
|
|
161
|
-
context: string;
|
|
162
|
-
state: string;
|
|
163
|
-
error_message: string;
|
|
164
|
-
plugin_state: string;
|
|
165
|
-
plugin_runs?: {
|
|
166
|
-
package: string;
|
|
167
|
-
reporting_event: string;
|
|
168
|
-
state: string;
|
|
169
|
-
title: string;
|
|
170
|
-
summary: string;
|
|
171
|
-
text: string;
|
|
172
|
-
}[];
|
|
173
57
|
}
|
|
174
58
|
|
|
175
|
-
interface
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
url: string;
|
|
180
|
-
default_branch: string;
|
|
59
|
+
interface AppMonitoringEventData {
|
|
60
|
+
organization_id: string;
|
|
61
|
+
type: string;
|
|
62
|
+
payload?: string;
|
|
181
63
|
}
|
|
182
64
|
|
|
183
|
-
type
|
|
184
|
-
|
|
185
|
-
};
|
|
65
|
+
type AppMonitoringEventsLogItem = {
|
|
66
|
+
sent_at: string;
|
|
67
|
+
} & AppMonitoringEventData;
|
|
68
|
+
type AppMonitoringEventsLog = Record<string, AppMonitoringEventsLogItem[]>;
|
|
186
69
|
|
|
187
|
-
interface
|
|
188
|
-
|
|
189
|
-
type
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
70
|
+
interface GetAppMonitoringEventsLogPayload {
|
|
71
|
+
from?: string;
|
|
72
|
+
type?: string[];
|
|
73
|
+
search?: string;
|
|
74
|
+
}
|
|
75
|
+
interface GetAppMonitoringEventsLogResponse {
|
|
76
|
+
events: AppMonitoringEventsLog;
|
|
77
|
+
next_page_from?: string;
|
|
194
78
|
}
|
|
195
79
|
|
|
196
|
-
|
|
197
|
-
data: PlanetScaleDatabasePassword[];
|
|
198
|
-
};
|
|
199
|
-
|
|
200
|
-
interface PlanetScaleClientInstanceAuthorization {
|
|
80
|
+
interface TextClientInstanceAuthorization {
|
|
201
81
|
token?: string;
|
|
82
|
+
tokenType?: "Basic" | "Bearer";
|
|
202
83
|
}
|
|
203
|
-
interface
|
|
84
|
+
interface TextClientInstanceOptions {
|
|
204
85
|
token?: string;
|
|
205
|
-
|
|
86
|
+
tokenType?: "Basic" | "Bearer";
|
|
206
87
|
}
|
|
207
|
-
declare const
|
|
208
|
-
declare function
|
|
88
|
+
declare const textClientInstance: axios.AxiosInstance;
|
|
89
|
+
declare function getTextClientAuthorization(req: {
|
|
209
90
|
headers: Record<string, string | string[] | undefined>;
|
|
210
|
-
}):
|
|
211
|
-
declare function
|
|
212
|
-
declare function
|
|
213
|
-
declare function updatePlanetScaleClientInstance(token?: string): void;
|
|
91
|
+
}): TextClientInstanceAuthorization;
|
|
92
|
+
declare function getTextClientConfig(option?: TextClientInstanceOptions): AxiosRequestConfig;
|
|
93
|
+
declare function initTextClientInstance(baseUrl?: string, token?: string): void;
|
|
214
94
|
|
|
215
|
-
interface
|
|
95
|
+
interface SentryProjectKey {
|
|
216
96
|
id: string;
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
free_databases_remaining: number;
|
|
220
|
-
has_card: boolean;
|
|
221
|
-
payment_info_required: boolean;
|
|
222
|
-
valid_billing_info: boolean;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
type GetPlanetScaleOrganizationsResult = PlanetScalePaginatedResult & {
|
|
226
|
-
data: PlanetScaleOrganization[];
|
|
227
|
-
};
|
|
228
|
-
|
|
229
|
-
interface PlanetScaleUser {
|
|
230
|
-
id: string;
|
|
231
|
-
type: string;
|
|
232
|
-
name: string;
|
|
233
|
-
email: string;
|
|
234
|
-
display_name: string;
|
|
235
|
-
default_organization_id: string;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
interface PlanetScalePagination {
|
|
239
|
-
type: string;
|
|
240
|
-
current_page: number;
|
|
241
|
-
}
|
|
242
|
-
type PlanetScalePaginatedResult = PlanetScalePagination;
|
|
243
|
-
|
|
244
|
-
interface SentryClientInstanceAuthorization {
|
|
245
|
-
token?: string;
|
|
246
|
-
}
|
|
247
|
-
interface SentryClientInstanceOptions {
|
|
248
|
-
token?: string;
|
|
249
|
-
ensureAuthorizationToken?: boolean;
|
|
250
|
-
}
|
|
251
|
-
declare const sentryClientInstance: axios.AxiosInstance;
|
|
252
|
-
declare function getSentryClientAuthorization(req: {
|
|
253
|
-
headers: Record<string, string | string[] | undefined>;
|
|
254
|
-
}): SentryClientInstanceAuthorization;
|
|
255
|
-
declare function getSentryClientConfig(options?: SentryClientInstanceOptions): AxiosRequestConfig;
|
|
256
|
-
declare function initSentryClientInstance(token?: string): void;
|
|
257
|
-
declare function updateSentryClientInstance(token: string | undefined): void;
|
|
258
|
-
|
|
259
|
-
interface SentryIntegration {
|
|
260
|
-
id: string;
|
|
261
|
-
status: "active" | "disabled";
|
|
262
|
-
provider: {
|
|
263
|
-
name: string;
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
interface SentryOrganization {
|
|
268
|
-
id: string;
|
|
269
|
-
name: string;
|
|
270
|
-
slug: string;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
interface SentryProject {
|
|
274
|
-
id: string;
|
|
275
|
-
slug: string;
|
|
276
|
-
name: string;
|
|
277
|
-
organization: {
|
|
278
|
-
id: string;
|
|
279
|
-
slug: string;
|
|
280
|
-
};
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
interface SentryProjectIssue {
|
|
284
|
-
id: string;
|
|
285
|
-
title: string;
|
|
97
|
+
public: string;
|
|
98
|
+
secret: string;
|
|
286
99
|
}
|
|
287
100
|
|
|
288
101
|
interface SentryProjectIssueEvent {
|
|
@@ -367,10 +180,27 @@ interface SentryProjectIssueEvent {
|
|
|
367
180
|
location: "./pages/index.tsx";
|
|
368
181
|
}
|
|
369
182
|
|
|
370
|
-
interface
|
|
183
|
+
interface SentryProjectIssue {
|
|
371
184
|
id: string;
|
|
372
|
-
|
|
373
|
-
|
|
185
|
+
title: string;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
interface SentryProject {
|
|
189
|
+
id: string;
|
|
190
|
+
slug: string;
|
|
191
|
+
name: string;
|
|
192
|
+
organization: {
|
|
193
|
+
id: string;
|
|
194
|
+
slug: string;
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
interface SentryIntegration {
|
|
199
|
+
id: string;
|
|
200
|
+
status: "active" | "disabled";
|
|
201
|
+
provider: {
|
|
202
|
+
name: string;
|
|
203
|
+
};
|
|
374
204
|
}
|
|
375
205
|
|
|
376
206
|
interface SentryRepository {
|
|
@@ -378,127 +208,101 @@ interface SentryRepository {
|
|
|
378
208
|
name: string;
|
|
379
209
|
}
|
|
380
210
|
|
|
381
|
-
interface
|
|
211
|
+
interface SentryOrganization {
|
|
382
212
|
id: string;
|
|
383
213
|
name: string;
|
|
384
214
|
slug: string;
|
|
385
215
|
}
|
|
386
216
|
|
|
387
|
-
interface
|
|
217
|
+
interface SentryTeam {
|
|
388
218
|
id: string;
|
|
389
|
-
|
|
390
|
-
|
|
219
|
+
name: string;
|
|
220
|
+
slug: string;
|
|
391
221
|
}
|
|
392
222
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
type AppMonitoringUptimeReportDto = Record<string, Record<string, number>>;
|
|
396
|
-
|
|
397
|
-
type AppMonitoringEventsReportDto = Record<string, Record<string, Record<string, number>>>;
|
|
398
|
-
|
|
399
|
-
interface AppMonitoringReportParams {
|
|
400
|
-
from: string;
|
|
401
|
-
to: string;
|
|
402
|
-
resolution: "hourly" | "daily" | "monthly";
|
|
223
|
+
interface SentryClientInstanceAuthorization {
|
|
224
|
+
token?: string;
|
|
403
225
|
}
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
type GetAppMonitoringUptimeReportPayload = AppMonitoringReportParams;
|
|
408
|
-
|
|
409
|
-
type GetAppMonitoringEventsReportPayload = AppMonitoringReportParams;
|
|
410
|
-
|
|
411
|
-
interface AppMonitoringEvent {
|
|
412
|
-
key: string;
|
|
413
|
-
name: string;
|
|
226
|
+
interface SentryClientInstanceOptions {
|
|
227
|
+
token?: string;
|
|
228
|
+
ensureAuthorizationToken?: boolean;
|
|
414
229
|
}
|
|
230
|
+
declare const sentryClientInstance: axios.AxiosInstance;
|
|
231
|
+
declare function getSentryClientAuthorization(req: {
|
|
232
|
+
headers: Record<string, string | string[] | undefined>;
|
|
233
|
+
}): SentryClientInstanceAuthorization;
|
|
234
|
+
declare function getSentryClientConfig(options?: SentryClientInstanceOptions): AxiosRequestConfig;
|
|
235
|
+
declare function initSentryClientInstance(token?: string): void;
|
|
236
|
+
declare function updateSentryClientInstance(token: string | undefined): void;
|
|
415
237
|
|
|
416
|
-
interface
|
|
417
|
-
|
|
238
|
+
interface PlanetScaleUser {
|
|
239
|
+
id: string;
|
|
418
240
|
type: string;
|
|
419
|
-
|
|
241
|
+
name: string;
|
|
242
|
+
email: string;
|
|
243
|
+
display_name: string;
|
|
244
|
+
default_organization_id: string;
|
|
420
245
|
}
|
|
421
246
|
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
search?: string;
|
|
431
|
-
}
|
|
432
|
-
interface GetAppMonitoringEventsLogResponse {
|
|
433
|
-
events: AppMonitoringEventsLog;
|
|
434
|
-
next_page_from?: string;
|
|
247
|
+
interface PlanetScaleOrganization {
|
|
248
|
+
id: string;
|
|
249
|
+
type: string;
|
|
250
|
+
name: string;
|
|
251
|
+
free_databases_remaining: number;
|
|
252
|
+
has_card: boolean;
|
|
253
|
+
payment_info_required: boolean;
|
|
254
|
+
valid_billing_info: boolean;
|
|
435
255
|
}
|
|
436
256
|
|
|
437
|
-
interface
|
|
438
|
-
|
|
439
|
-
|
|
257
|
+
interface PlanetScaleDatabase {
|
|
258
|
+
id: string;
|
|
259
|
+
name: string;
|
|
260
|
+
html_url: string;
|
|
261
|
+
url: string;
|
|
262
|
+
default_branch: string;
|
|
440
263
|
}
|
|
441
264
|
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
service?: "agent-api" | "customer-api" | "configuration-api" | "lc-webhooks" | "reports-api";
|
|
446
|
-
action?: string;
|
|
447
|
-
source?: string;
|
|
448
|
-
}
|
|
449
|
-
type TextPlatformDashboardReportDto = Record<string, TextPlatformDashboardReportItemDto[]>;
|
|
265
|
+
type GetPlanetScaleDatabasesResult = PlanetScalePaginatedResult & {
|
|
266
|
+
data: PlanetScaleDatabase[];
|
|
267
|
+
};
|
|
450
268
|
|
|
451
|
-
interface
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
269
|
+
interface PlanetScaleDatabasePassword {
|
|
270
|
+
id: string;
|
|
271
|
+
type: string;
|
|
272
|
+
name: string;
|
|
273
|
+
plain_text: string;
|
|
274
|
+
username: string;
|
|
275
|
+
renewable: boolean;
|
|
456
276
|
}
|
|
457
277
|
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
service?: "agent-api" | "customer-api" | "configuration-api" | "lc-webhooks" | "reports-api";
|
|
462
|
-
action?: string;
|
|
463
|
-
source?: string;
|
|
464
|
-
time_distribution: "hour" | "day";
|
|
465
|
-
group_by?: ("source" | "service" | "action")[];
|
|
466
|
-
}
|
|
278
|
+
type GetPlanetScaleDatabasePasswordsResult = PlanetScalePaginatedResult & {
|
|
279
|
+
data: PlanetScaleDatabasePassword[];
|
|
280
|
+
};
|
|
467
281
|
|
|
468
|
-
interface
|
|
282
|
+
interface PlanetScaleClientInstanceAuthorization {
|
|
469
283
|
token?: string;
|
|
470
|
-
tokenType?: "Basic" | "Bearer";
|
|
471
284
|
}
|
|
472
|
-
interface
|
|
285
|
+
interface PlanetScaleClientInstanceOptions {
|
|
473
286
|
token?: string;
|
|
474
|
-
|
|
287
|
+
ensureAuthorizationToken?: boolean;
|
|
475
288
|
}
|
|
476
|
-
declare const
|
|
477
|
-
declare function
|
|
289
|
+
declare const planetScaleClientInstance: axios.AxiosInstance;
|
|
290
|
+
declare function getPlanetScaleClientAuthorization(req: {
|
|
478
291
|
headers: Record<string, string | string[] | undefined>;
|
|
479
|
-
}):
|
|
480
|
-
declare function
|
|
481
|
-
declare function
|
|
292
|
+
}): PlanetScaleClientInstanceAuthorization;
|
|
293
|
+
declare function getPlanetScaleClientConfig(options?: PlanetScaleClientInstanceOptions): AxiosRequestConfig;
|
|
294
|
+
declare function initPlanetScaleClientInstance(token?: string): void;
|
|
295
|
+
declare function updatePlanetScaleClientInstance(token?: string): void;
|
|
482
296
|
|
|
483
|
-
interface
|
|
484
|
-
|
|
485
|
-
|
|
297
|
+
interface PlanetScalePagination {
|
|
298
|
+
type: string;
|
|
299
|
+
current_page: number;
|
|
486
300
|
}
|
|
301
|
+
type PlanetScalePaginatedResult = PlanetScalePagination;
|
|
487
302
|
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
}
|
|
491
|
-
interface VercelClientInstanceOptions {
|
|
492
|
-
token?: string;
|
|
493
|
-
ensureAuthorizationToken?: boolean;
|
|
494
|
-
}
|
|
495
|
-
declare const vercelClientInstance: axios.AxiosInstance;
|
|
496
|
-
declare function getVercelClientAuthorization(req: {
|
|
497
|
-
headers: Record<string, string | string[] | undefined>;
|
|
498
|
-
}): VercelClientInstanceAuthorization;
|
|
499
|
-
declare function getVercelClientConfig(options?: VercelClientInstanceOptions): AxiosRequestConfig;
|
|
500
|
-
declare function initVercelClientInstance(token?: string): void;
|
|
501
|
-
declare function updateVercelClientInstance(token?: string): void;
|
|
303
|
+
type GetPlanetScaleOrganizationsResult = PlanetScalePaginatedResult & {
|
|
304
|
+
data: PlanetScaleOrganization[];
|
|
305
|
+
};
|
|
502
306
|
|
|
503
307
|
interface VercelRepository {
|
|
504
308
|
defaultBranch: string;
|
|
@@ -520,21 +324,9 @@ interface VercelNamespace {
|
|
|
520
324
|
ownerType: "user" | "team";
|
|
521
325
|
}
|
|
522
326
|
|
|
523
|
-
interface
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
provider: string;
|
|
527
|
-
};
|
|
528
|
-
repos: VercelRepository[];
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
interface VercelPagination {
|
|
532
|
-
count: number;
|
|
533
|
-
next: number;
|
|
534
|
-
prev: number;
|
|
535
|
-
}
|
|
536
|
-
interface VercelPaginatedResult {
|
|
537
|
-
pagination: VercelPagination;
|
|
327
|
+
interface VercelDeploy {
|
|
328
|
+
id: string;
|
|
329
|
+
alias: string[];
|
|
538
330
|
}
|
|
539
331
|
|
|
540
332
|
interface VercelProjectEnv {
|
|
@@ -569,870 +361,814 @@ interface VercelProject {
|
|
|
569
361
|
env: VercelProjectEnv[];
|
|
570
362
|
}
|
|
571
363
|
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
interface NeonProjectDto {
|
|
577
|
-
project: {
|
|
578
|
-
id: string;
|
|
579
|
-
name: string;
|
|
580
|
-
created_at: string;
|
|
581
|
-
updated_at: string;
|
|
582
|
-
owner_id: string;
|
|
583
|
-
owner: {
|
|
584
|
-
email: string;
|
|
585
|
-
branches_limit: number;
|
|
586
|
-
subscription: "UNKNOWN" | "free" | "pro" | "direct_sales" | "aws_marketplace";
|
|
587
|
-
};
|
|
588
|
-
};
|
|
364
|
+
interface VercelPagination {
|
|
365
|
+
count: number;
|
|
366
|
+
next: number;
|
|
367
|
+
prev: number;
|
|
589
368
|
}
|
|
590
|
-
interface
|
|
591
|
-
|
|
369
|
+
interface VercelPaginatedResult {
|
|
370
|
+
pagination: VercelPagination;
|
|
592
371
|
}
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
372
|
+
|
|
373
|
+
type GetVercelProjectsResult = VercelPaginatedResult & {
|
|
374
|
+
projects: VercelProject[];
|
|
375
|
+
};
|
|
376
|
+
|
|
377
|
+
interface VercelClientInstanceAuthorization {
|
|
378
|
+
token?: string;
|
|
379
|
+
}
|
|
380
|
+
interface VercelClientInstanceOptions {
|
|
381
|
+
token?: string;
|
|
382
|
+
ensureAuthorizationToken?: boolean;
|
|
599
383
|
}
|
|
384
|
+
declare const vercelClientInstance: axios.AxiosInstance;
|
|
385
|
+
declare function getVercelClientAuthorization(req: {
|
|
386
|
+
headers: Record<string, string | string[] | undefined>;
|
|
387
|
+
}): VercelClientInstanceAuthorization;
|
|
388
|
+
declare function getVercelClientConfig(options?: VercelClientInstanceOptions): AxiosRequestConfig;
|
|
389
|
+
declare function initVercelClientInstance(token?: string): void;
|
|
390
|
+
declare function updateVercelClientInstance(token?: string): void;
|
|
600
391
|
|
|
601
|
-
interface
|
|
392
|
+
interface NetlifyDeployKey {
|
|
602
393
|
id: string;
|
|
603
|
-
|
|
604
|
-
name: string;
|
|
605
|
-
current_state: "init" | "ready";
|
|
606
|
-
creation_source: string;
|
|
607
|
-
primary: boolean;
|
|
608
|
-
created_at: string;
|
|
609
|
-
updated_at: string;
|
|
610
|
-
}
|
|
611
|
-
interface NeonProjectBranchesDto {
|
|
612
|
-
branches: NeonProjectBranchDto[];
|
|
394
|
+
public_key: string;
|
|
613
395
|
}
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
396
|
+
|
|
397
|
+
interface NetlifyDeploy {
|
|
398
|
+
id: string;
|
|
617
399
|
name: string;
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
400
|
+
context: string;
|
|
401
|
+
state: string;
|
|
402
|
+
error_message: string;
|
|
403
|
+
plugin_state: string;
|
|
404
|
+
plugin_runs?: {
|
|
405
|
+
package: string;
|
|
406
|
+
reporting_event: string;
|
|
407
|
+
state: string;
|
|
408
|
+
title: string;
|
|
409
|
+
summary: string;
|
|
410
|
+
text: string;
|
|
411
|
+
}[];
|
|
624
412
|
}
|
|
625
413
|
|
|
626
|
-
interface
|
|
414
|
+
interface NetlifySite {
|
|
627
415
|
id: string;
|
|
628
|
-
type: string;
|
|
629
416
|
name: string;
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
417
|
+
admin_url: string;
|
|
418
|
+
default_domain: string;
|
|
419
|
+
error_message?: string;
|
|
420
|
+
user_id: string;
|
|
421
|
+
deploy_id?: string;
|
|
422
|
+
build_settings: {
|
|
423
|
+
installation_id: string;
|
|
424
|
+
provider: string;
|
|
425
|
+
repo_path: string;
|
|
426
|
+
allowed_branches: string[];
|
|
427
|
+
public_repo: boolean;
|
|
428
|
+
env: string;
|
|
429
|
+
dir: string;
|
|
430
|
+
cmd: string;
|
|
431
|
+
};
|
|
432
|
+
state: string;
|
|
433
|
+
plugins: {
|
|
434
|
+
package: string;
|
|
435
|
+
}[];
|
|
633
436
|
}
|
|
634
437
|
|
|
635
|
-
interface
|
|
438
|
+
interface NetlifyEnv {
|
|
439
|
+
key: string;
|
|
440
|
+
scopes: string[];
|
|
441
|
+
values: {
|
|
442
|
+
id: string;
|
|
443
|
+
context: string;
|
|
444
|
+
value: string;
|
|
445
|
+
}[];
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
interface NetlifyClientInstanceAuthorization {
|
|
636
449
|
token?: string;
|
|
637
450
|
}
|
|
638
|
-
interface
|
|
451
|
+
interface NetlifyClientInstanceOptions {
|
|
639
452
|
token?: string;
|
|
640
453
|
ensureAuthorizationToken?: boolean;
|
|
641
454
|
}
|
|
642
|
-
declare const
|
|
643
|
-
declare function
|
|
455
|
+
declare const netlifyClientInstance: axios.AxiosInstance;
|
|
456
|
+
declare function getNetlifyClientAuthorization(req: {
|
|
644
457
|
headers: Record<string, string | string[] | undefined>;
|
|
645
|
-
}):
|
|
646
|
-
declare function
|
|
647
|
-
declare function
|
|
648
|
-
declare function
|
|
458
|
+
}): NetlifyClientInstanceAuthorization;
|
|
459
|
+
declare function getNetlifyClientConfig(options?: NetlifyClientInstanceOptions): AxiosRequestConfig;
|
|
460
|
+
declare function initNetlifyClientInstance(token?: string): void;
|
|
461
|
+
declare function updateNetlifyClientInstance(token?: string): void;
|
|
649
462
|
|
|
650
|
-
interface
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
id: string;
|
|
654
|
-
job_title: string;
|
|
655
|
-
name: string;
|
|
656
|
-
role: string;
|
|
657
|
-
}
|
|
658
|
-
interface MyAccountDto {
|
|
659
|
-
account_id: string;
|
|
660
|
-
avatar_url: string;
|
|
661
|
-
email: string;
|
|
463
|
+
interface GitHubRepositoryHook {
|
|
464
|
+
type: string;
|
|
465
|
+
id: number;
|
|
662
466
|
name: string;
|
|
467
|
+
active: boolean;
|
|
468
|
+
events: string[];
|
|
469
|
+
config: {
|
|
470
|
+
content_type: string;
|
|
471
|
+
url: string;
|
|
472
|
+
insecure_ssl: string;
|
|
473
|
+
};
|
|
474
|
+
updated_at: string;
|
|
475
|
+
created_at: string;
|
|
663
476
|
}
|
|
664
477
|
|
|
665
|
-
interface
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
organization_id: string;
|
|
670
|
-
scope: string;
|
|
671
|
-
token_type: "Bearer";
|
|
478
|
+
interface GitHubRepositoryKey {
|
|
479
|
+
id: string;
|
|
480
|
+
key: string;
|
|
481
|
+
title: string;
|
|
672
482
|
}
|
|
673
483
|
|
|
674
|
-
interface
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
484
|
+
interface GitHubRepositorySeed {
|
|
485
|
+
sha: string;
|
|
486
|
+
size?: number;
|
|
487
|
+
content: string;
|
|
488
|
+
encoding: string;
|
|
678
489
|
}
|
|
679
490
|
|
|
680
|
-
interface
|
|
681
|
-
scope: string;
|
|
682
|
-
required: boolean;
|
|
683
|
-
description?: string;
|
|
684
|
-
}
|
|
685
|
-
interface ClientDto {
|
|
686
|
-
client_id: string;
|
|
687
|
-
configuration_uri: string;
|
|
491
|
+
interface GitHubRepositoryBranch {
|
|
688
492
|
name: string;
|
|
689
|
-
organization_id: string;
|
|
690
|
-
products: ProductDto[];
|
|
691
|
-
redirect_uri: string;
|
|
692
|
-
scopes: ClientScopeDto[];
|
|
693
|
-
type: string;
|
|
694
|
-
visibility: string;
|
|
695
|
-
}
|
|
696
|
-
interface ClientWithSecretDto extends ClientDto {
|
|
697
|
-
secret: string;
|
|
698
|
-
}
|
|
699
|
-
interface ClientInfoDto {
|
|
700
|
-
access_token: string;
|
|
701
|
-
account_id: string;
|
|
702
|
-
client_id: string;
|
|
703
|
-
expires_in: number;
|
|
704
|
-
organization_id: string;
|
|
705
|
-
scope: string;
|
|
706
|
-
token_type: string;
|
|
707
493
|
}
|
|
708
494
|
|
|
709
|
-
interface
|
|
710
|
-
|
|
495
|
+
interface GitHubRepository {
|
|
496
|
+
id: string;
|
|
711
497
|
name: string;
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
498
|
+
full_name: string;
|
|
499
|
+
private: boolean;
|
|
500
|
+
created_at: string;
|
|
501
|
+
updated_at: string;
|
|
502
|
+
pushed_at: string;
|
|
503
|
+
language: string;
|
|
504
|
+
description?: string;
|
|
505
|
+
branch?: string;
|
|
716
506
|
}
|
|
717
507
|
|
|
718
|
-
interface
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
508
|
+
interface GitHubInstallation {
|
|
509
|
+
id: number;
|
|
510
|
+
app_id: number;
|
|
511
|
+
app_slug: string;
|
|
512
|
+
repository_selection: string;
|
|
513
|
+
target_type: "User" | "Organization";
|
|
514
|
+
account: {
|
|
515
|
+
login: string;
|
|
516
|
+
};
|
|
722
517
|
}
|
|
723
518
|
|
|
724
|
-
|
|
725
|
-
|
|
519
|
+
declare const githubClientInstance: axios.AxiosInstance;
|
|
520
|
+
interface GithubClientInstanceAuthorization {
|
|
521
|
+
tokens?: {
|
|
522
|
+
app?: string;
|
|
523
|
+
oauth?: string;
|
|
524
|
+
};
|
|
726
525
|
}
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
scope: string;
|
|
734
|
-
personal_token?: string;
|
|
735
|
-
}
|
|
736
|
-
interface PatWithSecretDto extends PatDto {
|
|
737
|
-
personal_token: string;
|
|
526
|
+
declare function getGitHubClientAuthorization(req: {
|
|
527
|
+
headers: Record<string, string | string[] | undefined>;
|
|
528
|
+
}): GithubClientInstanceAuthorization;
|
|
529
|
+
interface GithubClientRequestOptions {
|
|
530
|
+
token?: string;
|
|
531
|
+
ensureAuthorizationToken?: boolean;
|
|
738
532
|
}
|
|
533
|
+
declare function getGithubClientRequestConfig(options?: GithubClientRequestOptions | undefined): AxiosRequestConfig;
|
|
534
|
+
declare function initGithubClientInstance(token?: string): void;
|
|
535
|
+
declare function updateGithubClientInstance(token?: string): void;
|
|
739
536
|
|
|
740
|
-
interface
|
|
537
|
+
interface WebhookDto {
|
|
538
|
+
id: string;
|
|
539
|
+
api_version: string;
|
|
540
|
+
action: string;
|
|
741
541
|
description: string;
|
|
742
|
-
|
|
743
|
-
|
|
542
|
+
owner_client_id: string;
|
|
543
|
+
type: "bot" | "license";
|
|
544
|
+
filters?: {
|
|
545
|
+
author_type?: "agent" | "customer";
|
|
546
|
+
only_my_chats?: boolean;
|
|
547
|
+
};
|
|
548
|
+
url: string;
|
|
744
549
|
}
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
550
|
+
interface Webhook {
|
|
551
|
+
url: string;
|
|
552
|
+
api_version?: string;
|
|
553
|
+
action: string;
|
|
554
|
+
description: string;
|
|
555
|
+
secret_key: string;
|
|
556
|
+
owner_client_id: string;
|
|
557
|
+
type: "bot" | "license";
|
|
558
|
+
filters?: {
|
|
559
|
+
author_type?: "agent" | "customer";
|
|
560
|
+
only_my_chats?: boolean;
|
|
753
561
|
};
|
|
754
|
-
products: {
|
|
755
|
-
product: string;
|
|
756
|
-
client_id: string;
|
|
757
|
-
}[];
|
|
758
562
|
}
|
|
759
563
|
|
|
760
|
-
|
|
761
|
-
|
|
564
|
+
type AccessLevel = "read" | "write";
|
|
565
|
+
interface PropertyAccessItemDto {
|
|
566
|
+
agent?: [AccessLevel];
|
|
567
|
+
customer?: [AccessLevel];
|
|
762
568
|
}
|
|
763
|
-
interface
|
|
764
|
-
|
|
569
|
+
interface PropertyAccessDto {
|
|
570
|
+
chat?: PropertyAccessItemDto;
|
|
571
|
+
event?: PropertyAccessItemDto;
|
|
572
|
+
thread?: PropertyAccessItemDto;
|
|
573
|
+
license?: PropertyAccessItemDto;
|
|
574
|
+
group?: PropertyAccessItemDto;
|
|
765
575
|
}
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
declare function initPlatformAccountsClientInstance(baseUrl?: string, token?: string): void;
|
|
774
|
-
|
|
775
|
-
interface BillingAccountDto {
|
|
776
|
-
account_code: string;
|
|
777
|
-
state: string;
|
|
778
|
-
username: string;
|
|
779
|
-
email: string;
|
|
780
|
-
first_name: string;
|
|
781
|
-
last_name: string;
|
|
782
|
-
company_name: string;
|
|
783
|
-
vat_number: string;
|
|
784
|
-
tax_exempt: boolean;
|
|
785
|
-
accept_language: string;
|
|
786
|
-
address: {
|
|
787
|
-
first_name: string;
|
|
788
|
-
last_name: string;
|
|
789
|
-
phone: string;
|
|
790
|
-
city: string;
|
|
791
|
-
country: string;
|
|
792
|
-
state: string;
|
|
793
|
-
zip: string;
|
|
576
|
+
interface PropertyDto {
|
|
577
|
+
type: "int" | "bool" | "string" | "tokenized_string";
|
|
578
|
+
description: string;
|
|
579
|
+
domain?: string[];
|
|
580
|
+
range?: {
|
|
581
|
+
to: number;
|
|
582
|
+
from: number;
|
|
794
583
|
};
|
|
584
|
+
access: PropertyAccessDto;
|
|
585
|
+
public_access?: PropertyAccessItemDto;
|
|
586
|
+
default_value: unknown;
|
|
795
587
|
}
|
|
796
|
-
|
|
797
|
-
interface
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
company: string;
|
|
801
|
-
address1: string;
|
|
802
|
-
address2: string;
|
|
803
|
-
city: string;
|
|
804
|
-
state: string;
|
|
805
|
-
zip: string;
|
|
806
|
-
country: string;
|
|
807
|
-
phone: string;
|
|
808
|
-
vat_number: string;
|
|
809
|
-
ip_address: string;
|
|
810
|
-
ip_address_country: string;
|
|
811
|
-
card_type: string;
|
|
812
|
-
year: number;
|
|
813
|
-
month: number;
|
|
814
|
-
first_six: string;
|
|
815
|
-
last_four: string;
|
|
588
|
+
type PropertiesDto = Record<string, PropertyDto>;
|
|
589
|
+
interface Property extends PropertyDto {
|
|
590
|
+
name: string;
|
|
591
|
+
owner_client_id: string;
|
|
816
592
|
}
|
|
817
593
|
|
|
818
|
-
interface
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
description: string;
|
|
826
|
-
unit_amount_cents: number;
|
|
827
|
-
quantity: number;
|
|
828
|
-
total_amount_cents: number;
|
|
829
|
-
origin: string;
|
|
830
|
-
}[];
|
|
594
|
+
interface AgentConfigurationDto {
|
|
595
|
+
id: string;
|
|
596
|
+
account_id: string;
|
|
597
|
+
name: string;
|
|
598
|
+
avatar: string;
|
|
599
|
+
role: string;
|
|
600
|
+
login_status: string;
|
|
831
601
|
}
|
|
832
602
|
|
|
833
|
-
|
|
603
|
+
declare const getRegion: (token: string) => string | undefined;
|
|
604
|
+
interface LiveChatClientInstanceAuthorization {
|
|
834
605
|
token?: string;
|
|
835
606
|
}
|
|
836
|
-
interface
|
|
607
|
+
interface LiveChatClientInstanceOptions {
|
|
837
608
|
token?: string;
|
|
838
609
|
}
|
|
839
|
-
declare const
|
|
840
|
-
declare function
|
|
610
|
+
declare const livechatClientInstance: axios.AxiosInstance;
|
|
611
|
+
declare function getLiveChatClientAuthorization(req: {
|
|
841
612
|
headers: Record<string, string | string[] | undefined>;
|
|
842
|
-
}):
|
|
843
|
-
declare function
|
|
844
|
-
declare function
|
|
613
|
+
}): LiveChatClientInstanceAuthorization;
|
|
614
|
+
declare function getLiveChatClientConfig(options?: LiveChatClientInstanceOptions): AxiosRequestConfig;
|
|
615
|
+
declare function initLiveChatClientInstance(baseUrl?: string, token?: string): void;
|
|
845
616
|
|
|
846
|
-
interface
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
description: string;
|
|
850
|
-
repository: {
|
|
617
|
+
interface AgentDto {
|
|
618
|
+
login: string;
|
|
619
|
+
groups: {
|
|
851
620
|
name: string;
|
|
852
|
-
|
|
621
|
+
id: number;
|
|
622
|
+
priority: number;
|
|
623
|
+
}[];
|
|
624
|
+
group_ids: string[];
|
|
625
|
+
notifications: {
|
|
626
|
+
ticket: number;
|
|
627
|
+
incoming_chat: number;
|
|
628
|
+
new_visitor: number;
|
|
629
|
+
unassigned_chat_messages: number;
|
|
630
|
+
unassigned_chats: number;
|
|
631
|
+
queued_visitor: number;
|
|
632
|
+
new_goal: number;
|
|
633
|
+
returning_visitor: number;
|
|
634
|
+
incoming_message_for_focused_chat: number;
|
|
635
|
+
visitor_is_typing: number;
|
|
853
636
|
};
|
|
854
|
-
|
|
637
|
+
nick: string;
|
|
638
|
+
chats_enabled: number;
|
|
639
|
+
last_logout: number;
|
|
640
|
+
send_tutorials: number;
|
|
641
|
+
visited_welcome_tutorial: number;
|
|
642
|
+
login_status: string;
|
|
643
|
+
visited_tickets_tutorial: number;
|
|
644
|
+
active: number;
|
|
645
|
+
default_group_priority: string;
|
|
646
|
+
app_installed: number;
|
|
647
|
+
max_chats_count: number;
|
|
648
|
+
inactive_status: number;
|
|
649
|
+
mute_all_sounds: number;
|
|
650
|
+
onboarding_completed: number;
|
|
651
|
+
timezone: string;
|
|
652
|
+
last_chat_start_timestamp: string;
|
|
653
|
+
"integration.botengine.inapp_status": string;
|
|
654
|
+
suspended: number;
|
|
655
|
+
avatar: string | null;
|
|
656
|
+
"email.bounce": number;
|
|
657
|
+
awaiting_approval: number;
|
|
658
|
+
ticket_notifications: number;
|
|
659
|
+
daily_summary: number;
|
|
660
|
+
email: string;
|
|
661
|
+
last_status: string;
|
|
662
|
+
customers_visited: number;
|
|
663
|
+
name: string;
|
|
664
|
+
job_title: string;
|
|
665
|
+
inactive_notifications: number;
|
|
666
|
+
unassigned_chat_notifications: number;
|
|
667
|
+
weekly_summary: number;
|
|
668
|
+
state: string;
|
|
669
|
+
mobile: string;
|
|
670
|
+
"email.bounce.type": number;
|
|
671
|
+
customers_enabled: number;
|
|
672
|
+
permission: string;
|
|
673
|
+
"email.bounce.date": number;
|
|
674
|
+
repeat_sound_notifications: number;
|
|
675
|
+
design_version: number;
|
|
676
|
+
status: string;
|
|
677
|
+
instances: [];
|
|
678
|
+
api_key: string;
|
|
679
|
+
license_id: number;
|
|
680
|
+
bot: number;
|
|
681
|
+
account_id: string;
|
|
855
682
|
}
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
683
|
+
|
|
684
|
+
interface ResearchDictionaryParams {
|
|
685
|
+
type?: string;
|
|
859
686
|
}
|
|
860
687
|
|
|
861
|
-
interface
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
authorization?: AddAppAuthorizationData;
|
|
865
|
-
widgets?: AddAppWidgetsData[];
|
|
866
|
-
properties?: AddAppPropertiesData[];
|
|
867
|
-
monetization?: AddAppMonetizationData;
|
|
868
|
-
repository?: LinkAppRepositoryData;
|
|
869
|
-
deployment?: LinkAppDeploymentData;
|
|
870
|
-
storage?: LinkAppStorageData;
|
|
871
|
-
};
|
|
872
|
-
output: CreateAppOutput;
|
|
873
|
-
}
|
|
874
|
-
interface CreateAppOutput {
|
|
875
|
-
sagaId: string;
|
|
876
|
-
steps: {
|
|
877
|
-
app: {
|
|
878
|
-
id?: string;
|
|
879
|
-
};
|
|
880
|
-
authorization?: {};
|
|
881
|
-
repository?: {
|
|
882
|
-
fullName?: string;
|
|
883
|
-
branch?: string;
|
|
884
|
-
};
|
|
885
|
-
widgets?: {};
|
|
886
|
-
properties?: {};
|
|
887
|
-
monetization?: {};
|
|
888
|
-
deployment?: {};
|
|
889
|
-
storage?: {};
|
|
890
|
-
};
|
|
891
|
-
isDone?: boolean;
|
|
892
|
-
}
|
|
893
|
-
type CreateAppStepStatus<TData = {}> = {
|
|
894
|
-
isLoading: boolean;
|
|
895
|
-
isDone: boolean;
|
|
896
|
-
error?: {
|
|
897
|
-
message: string;
|
|
898
|
-
statusCode?: number;
|
|
899
|
-
};
|
|
900
|
-
} & TData;
|
|
901
|
-
interface CreateAppStatus {
|
|
902
|
-
app: CreateAppStepStatus<{
|
|
903
|
-
needToBeActivated?: boolean;
|
|
904
|
-
}> | undefined;
|
|
905
|
-
authorization?: CreateAppStepStatus | undefined;
|
|
906
|
-
repository?: CreateAppStepStatus<{
|
|
907
|
-
needToBeInstalled?: boolean;
|
|
908
|
-
}> | undefined;
|
|
909
|
-
deployment?: CreateAppStepStatus<{
|
|
910
|
-
needToBeInstalled?: boolean;
|
|
911
|
-
}> | undefined;
|
|
912
|
-
widgets?: CreateAppStepStatus | undefined;
|
|
913
|
-
properties?: CreateAppStepStatus | undefined;
|
|
914
|
-
monetization?: CreateAppStepStatus | undefined;
|
|
915
|
-
storage?: CreateAppStepStatus | undefined;
|
|
916
|
-
}
|
|
917
|
-
interface CreateAppResult {
|
|
918
|
-
output: CreateAppOutput;
|
|
919
|
-
status: CreateAppStatus;
|
|
688
|
+
interface ResearchMarketplaceItemDto {
|
|
689
|
+
amount: number;
|
|
690
|
+
date: string;
|
|
920
691
|
}
|
|
921
692
|
|
|
922
|
-
interface
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
product: string;
|
|
693
|
+
interface ResearchMarketplaceParams {
|
|
694
|
+
from?: string;
|
|
695
|
+
duration?: string;
|
|
926
696
|
}
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
697
|
+
|
|
698
|
+
interface ResearchTrafficItemDto {
|
|
699
|
+
amount: number;
|
|
700
|
+
date: string;
|
|
930
701
|
}
|
|
931
702
|
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
};
|
|
936
|
-
interface CreateRepositoryResponse {
|
|
937
|
-
name: string;
|
|
938
|
-
branch: string;
|
|
939
|
-
needToBeInstalled: boolean;
|
|
940
|
-
needToBeSeeded: boolean;
|
|
703
|
+
interface ResearchTrafficParams {
|
|
704
|
+
business?: string;
|
|
705
|
+
location?: string;
|
|
941
706
|
}
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
clientId?: string;
|
|
707
|
+
|
|
708
|
+
interface ResearchCustomerItemDto {
|
|
709
|
+
amount: number;
|
|
710
|
+
param: string;
|
|
947
711
|
}
|
|
948
|
-
interface
|
|
949
|
-
|
|
712
|
+
interface ResearchCustomerLocationItemDto {
|
|
713
|
+
percent: number;
|
|
950
714
|
}
|
|
951
715
|
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
appName: string;
|
|
955
|
-
repositoryName: string;
|
|
956
|
-
repositoryBranch: string;
|
|
957
|
-
repositoryTarget: AppRepositoryTarget | undefined;
|
|
958
|
-
};
|
|
959
|
-
interface CreateDeploymentResponse {
|
|
716
|
+
interface ShortcutDto {
|
|
717
|
+
type: "link" | "app";
|
|
960
718
|
url: string;
|
|
961
|
-
needToBeInstalled: boolean;
|
|
962
719
|
}
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
720
|
+
|
|
721
|
+
interface DeveloperLedgerParams {
|
|
722
|
+
startAt?: string;
|
|
723
|
+
endAt?: string;
|
|
724
|
+
size?: number;
|
|
725
|
+
page?: number;
|
|
966
726
|
}
|
|
967
|
-
|
|
968
|
-
|
|
727
|
+
|
|
728
|
+
interface Category {
|
|
729
|
+
name: string;
|
|
730
|
+
id: string;
|
|
969
731
|
}
|
|
970
732
|
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
repositoryName: string;
|
|
975
|
-
repositoryBranch: string;
|
|
976
|
-
};
|
|
733
|
+
interface UpdateUserFeatures {
|
|
734
|
+
experimental?: boolean;
|
|
735
|
+
}
|
|
977
736
|
|
|
978
|
-
interface
|
|
979
|
-
|
|
980
|
-
appName: string;
|
|
981
|
-
configurationUri: string;
|
|
982
|
-
redirectUri: string;
|
|
983
|
-
scopes: ClientScopeDto[];
|
|
984
|
-
type: "server_side_app" | "javascript_app";
|
|
985
|
-
visibility: string;
|
|
986
|
-
deploymentUrl: string;
|
|
737
|
+
interface UserGitHubIntegrationDto {
|
|
738
|
+
installationId: string;
|
|
987
739
|
}
|
|
988
|
-
interface
|
|
989
|
-
|
|
740
|
+
interface UserNetlifyIntegrationDto {
|
|
741
|
+
githubInstallationId: string;
|
|
990
742
|
}
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
743
|
+
interface UserVercelIntegrationDto {
|
|
744
|
+
installationId: string;
|
|
745
|
+
installationToken: string;
|
|
746
|
+
githubInstallationId: string;
|
|
747
|
+
configurationId?: string;
|
|
748
|
+
teamId: string;
|
|
749
|
+
userId: string;
|
|
996
750
|
}
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
property: AddAppPropertiesData;
|
|
751
|
+
interface UserPlanetScaleIntegrationDto {
|
|
752
|
+
refreshToken: string;
|
|
1000
753
|
}
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
754
|
+
interface UserSentryIntegrationDto {
|
|
755
|
+
githubIntegrationId: string;
|
|
756
|
+
githubInstallationId: string;
|
|
757
|
+
installationId: string;
|
|
758
|
+
refreshToken: string;
|
|
759
|
+
organizationSlug: string;
|
|
1005
760
|
}
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
sentryOrganizationSlug?: string;
|
|
1017
|
-
sentryProjectSlug?: string;
|
|
1018
|
-
} & LinkAppDeploymentNetlifySiteData;
|
|
1019
|
-
type LinkAppDeploymentVercelProjectData = {
|
|
1020
|
-
type: "new";
|
|
1021
|
-
projectName?: string;
|
|
1022
|
-
} | {
|
|
1023
|
-
type: "existing";
|
|
1024
|
-
projectId: string;
|
|
1025
|
-
};
|
|
1026
|
-
type LinkAppDeploymentVercelData = {
|
|
1027
|
-
installationId?: string;
|
|
1028
|
-
sentryOrganizationSlug?: string;
|
|
1029
|
-
sentryProjectSlug?: string;
|
|
1030
|
-
} & LinkAppDeploymentVercelProjectData;
|
|
1031
|
-
type LinkAppDeploymentData = ({
|
|
1032
|
-
provider: "netlify";
|
|
1033
|
-
} & LinkAppDeploymentNetlifyData) | ({
|
|
1034
|
-
provider: "vercel";
|
|
1035
|
-
} & LinkAppDeploymentVercelData);
|
|
1036
|
-
type LinkAppDeploymentPayload = {
|
|
1037
|
-
appId: string;
|
|
1038
|
-
appName: string;
|
|
1039
|
-
} & LinkAppDeploymentData;
|
|
1040
|
-
interface LinkAppDeploymentResult {
|
|
1041
|
-
needToBeInstalled: boolean;
|
|
761
|
+
interface UserNeonIntegrationDto {
|
|
762
|
+
refreshToken: string;
|
|
763
|
+
}
|
|
764
|
+
interface UserIntegrationsDto {
|
|
765
|
+
github?: UserGitHubIntegrationDto;
|
|
766
|
+
netlify?: UserNetlifyIntegrationDto;
|
|
767
|
+
vercel?: UserVercelIntegrationDto;
|
|
768
|
+
planetscale?: UserPlanetScaleIntegrationDto;
|
|
769
|
+
sentry?: UserSentryIntegrationDto;
|
|
770
|
+
neon?: UserNeonIntegrationDto;
|
|
1042
771
|
}
|
|
1043
772
|
|
|
1044
|
-
interface
|
|
1045
|
-
|
|
1046
|
-
|
|
773
|
+
interface UpdateUserIntegrations {
|
|
774
|
+
github?: Partial<UserGitHubIntegrationDto> | null;
|
|
775
|
+
netlify?: Partial<UserNetlifyIntegrationDto> | null;
|
|
776
|
+
vercel?: Partial<UserVercelIntegrationDto> | null;
|
|
777
|
+
planetscale?: Partial<UserPlanetScaleIntegrationDto> | null;
|
|
778
|
+
sentry?: Partial<UserSentryIntegrationDto> | null;
|
|
779
|
+
neon?: Partial<UserNeonIntegrationDto> | null;
|
|
1047
780
|
}
|
|
1048
781
|
|
|
1049
|
-
interface
|
|
1050
|
-
|
|
1051
|
-
|
|
782
|
+
interface UserDto {
|
|
783
|
+
id: string;
|
|
784
|
+
email: string;
|
|
785
|
+
account: string;
|
|
786
|
+
organization: string;
|
|
787
|
+
license: number;
|
|
788
|
+
profile: {
|
|
1052
789
|
name: string;
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
790
|
+
jobTitle: string;
|
|
791
|
+
bio: string;
|
|
792
|
+
skills: string;
|
|
793
|
+
company: string;
|
|
794
|
+
website: string;
|
|
795
|
+
github: string;
|
|
796
|
+
twitter: string;
|
|
797
|
+
contactEmail: string;
|
|
798
|
+
discordUserId: string;
|
|
1059
799
|
};
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
800
|
+
surveys: {
|
|
801
|
+
question: string;
|
|
802
|
+
answer: string;
|
|
803
|
+
comment: string;
|
|
804
|
+
}[];
|
|
805
|
+
links: null;
|
|
806
|
+
registeredAt: string;
|
|
807
|
+
lastLoginAt: string;
|
|
808
|
+
version: number;
|
|
809
|
+
active: boolean;
|
|
810
|
+
features: {
|
|
811
|
+
experimental?: boolean;
|
|
1063
812
|
};
|
|
1064
813
|
}
|
|
1065
|
-
|
|
1066
|
-
|
|
814
|
+
|
|
815
|
+
interface ApplicationUsageOptionsDto {
|
|
816
|
+
events: string[];
|
|
817
|
+
from: string;
|
|
818
|
+
apps: {
|
|
1067
819
|
id: string;
|
|
1068
|
-
name: string;
|
|
1069
|
-
state: string;
|
|
1070
|
-
url: string;
|
|
1071
|
-
adminUrl: string;
|
|
1072
|
-
plugins: {
|
|
1073
|
-
package: string;
|
|
1074
|
-
}[];
|
|
1075
|
-
error?: string;
|
|
1076
|
-
};
|
|
1077
|
-
repository: {
|
|
1078
|
-
installationId: string;
|
|
1079
|
-
};
|
|
1080
|
-
deploy: {
|
|
1081
|
-
id: string;
|
|
1082
|
-
state: string;
|
|
1083
|
-
error?: string;
|
|
1084
|
-
pluginRuns?: {
|
|
1085
|
-
title: string;
|
|
1086
|
-
summary: string;
|
|
1087
|
-
state: string;
|
|
1088
|
-
}[];
|
|
1089
|
-
};
|
|
1090
|
-
envs: {
|
|
1091
|
-
key: string;
|
|
1092
|
-
value: string;
|
|
1093
820
|
}[];
|
|
821
|
+
to: string;
|
|
822
|
+
duration: string;
|
|
1094
823
|
}
|
|
1095
|
-
type AppDeployment = ({
|
|
1096
|
-
provider: "netlify";
|
|
1097
|
-
} & AppNetlifyDeployment) | ({
|
|
1098
|
-
provider: "vercel";
|
|
1099
|
-
} & AppVercelDeployment);
|
|
1100
|
-
|
|
1101
|
-
interface AppSentryLogger {
|
|
1102
|
-
project: {
|
|
1103
|
-
id: string;
|
|
1104
|
-
name: string;
|
|
1105
|
-
slug: string;
|
|
1106
|
-
organization: {
|
|
1107
|
-
slug: string;
|
|
1108
|
-
};
|
|
1109
|
-
};
|
|
1110
|
-
issues: {
|
|
1111
|
-
id: string;
|
|
1112
|
-
title: string;
|
|
1113
|
-
}[];
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
type LinkAppSentryLoggerPayload = {
|
|
1117
|
-
appId: string;
|
|
1118
|
-
appName: string;
|
|
1119
|
-
repositoryName: string;
|
|
1120
|
-
repositoryBranch: string;
|
|
1121
|
-
organizationSlug: string;
|
|
1122
|
-
githubIntegrationId?: string;
|
|
1123
|
-
netlifySiteId?: string;
|
|
1124
|
-
} & ({
|
|
1125
|
-
type: "new";
|
|
1126
|
-
} | {
|
|
1127
|
-
type: "existing";
|
|
1128
|
-
projectSlug: string;
|
|
1129
|
-
});
|
|
1130
|
-
interface LinkSentryLoggerResponse {
|
|
1131
|
-
projectSlug: string;
|
|
1132
|
-
organizationSlug: string;
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
interface UnlinkAppSentryLoggerPayload {
|
|
1136
|
-
appId: string;
|
|
1137
|
-
projectSlug: string;
|
|
1138
|
-
shouldDelete?: boolean;
|
|
1139
|
-
}
|
|
1140
|
-
|
|
1141
|
-
interface AppGitHubRepository {
|
|
1142
|
-
name: string;
|
|
1143
|
-
branch: string;
|
|
1144
|
-
isSeeded: boolean;
|
|
1145
|
-
language: string;
|
|
1146
|
-
description?: string;
|
|
1147
|
-
}
|
|
1148
|
-
interface AppGitLabRepository {
|
|
1149
|
-
}
|
|
1150
|
-
type AppRepository = ({
|
|
1151
|
-
provider: "github";
|
|
1152
|
-
} & AppGitHubRepository) | ({
|
|
1153
|
-
provider: "gitlab";
|
|
1154
|
-
} & AppGitLabRepository);
|
|
1155
824
|
|
|
1156
|
-
|
|
1157
|
-
type: "new";
|
|
1158
|
-
name?: string;
|
|
1159
|
-
template?: string;
|
|
1160
|
-
} | {
|
|
1161
|
-
type: "existing";
|
|
1162
|
-
fullName: string;
|
|
1163
|
-
branch: string;
|
|
1164
|
-
};
|
|
1165
|
-
interface LinkAppRepositoryGitLabData {
|
|
1166
|
-
}
|
|
1167
|
-
type LinkAppRepositoryData = {
|
|
1168
|
-
target: AppRepositoryTarget | undefined;
|
|
1169
|
-
} & (({
|
|
1170
|
-
provider: "github";
|
|
1171
|
-
} & LinkAppRepositoryGitHubData) | ({
|
|
1172
|
-
provider: "gitlab";
|
|
1173
|
-
} & LinkAppRepositoryGitLabData));
|
|
1174
|
-
type LinkAppRepositoryPayload = {
|
|
1175
|
-
appId: string;
|
|
1176
|
-
appName: string;
|
|
1177
|
-
} & LinkAppRepositoryData;
|
|
1178
|
-
interface LinkAppRepositoryResult {
|
|
825
|
+
interface CreateApplicationPayload {
|
|
1179
826
|
name: string;
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
needToBeSeeded: boolean;
|
|
827
|
+
origin: string;
|
|
828
|
+
product: string;
|
|
1183
829
|
}
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
appId: string;
|
|
1187
|
-
shouldDelete?: boolean;
|
|
830
|
+
interface CreateApplicationResponse {
|
|
831
|
+
id: string;
|
|
1188
832
|
}
|
|
1189
833
|
|
|
1190
|
-
interface
|
|
1191
|
-
|
|
1192
|
-
clientId?: string;
|
|
1193
|
-
}
|
|
1194
|
-
interface SeedAppRepositoryResult {
|
|
1195
|
-
isSeeded: boolean;
|
|
834
|
+
interface CreateApplicationAuthorizationPayload {
|
|
835
|
+
ssoClient: string;
|
|
1196
836
|
}
|
|
1197
837
|
|
|
1198
|
-
interface
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
838
|
+
interface ApplicationAutoReviewDto {
|
|
839
|
+
isReviewed: boolean;
|
|
840
|
+
recommendations: {
|
|
841
|
+
listingDetails: {
|
|
842
|
+
appName: string;
|
|
843
|
+
shortDescription: string;
|
|
844
|
+
longDescription: string;
|
|
845
|
+
features: string;
|
|
846
|
+
benefits: string;
|
|
847
|
+
};
|
|
848
|
+
auth: {
|
|
849
|
+
hasZeroScopes: boolean;
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
errors: {
|
|
853
|
+
listingDetails: {
|
|
854
|
+
appName: string;
|
|
855
|
+
shortDescription: string;
|
|
856
|
+
longDescription: string;
|
|
857
|
+
features: string;
|
|
858
|
+
benefits: string;
|
|
859
|
+
};
|
|
860
|
+
auth: {
|
|
861
|
+
hasAllScopes: boolean;
|
|
862
|
+
isRedirectUriSafe: boolean;
|
|
863
|
+
};
|
|
864
|
+
links: {
|
|
865
|
+
tutorial: {
|
|
866
|
+
returns200: boolean;
|
|
867
|
+
isValid: boolean;
|
|
868
|
+
};
|
|
869
|
+
privacyPolicy: {
|
|
870
|
+
returns200: boolean;
|
|
871
|
+
isValid: boolean;
|
|
872
|
+
};
|
|
873
|
+
};
|
|
874
|
+
images: {
|
|
875
|
+
icon: {
|
|
876
|
+
isNsfw: boolean;
|
|
877
|
+
isRatioValid: boolean;
|
|
878
|
+
};
|
|
879
|
+
screenshots: {
|
|
880
|
+
areNsfw: boolean;
|
|
881
|
+
areRatiosValid: boolean;
|
|
882
|
+
};
|
|
883
|
+
};
|
|
1203
884
|
};
|
|
1204
885
|
}
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
}
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
886
|
+
declare const getEmptyAppAutoReview: () => {
|
|
887
|
+
isReviewed: boolean;
|
|
888
|
+
recommendations: {
|
|
889
|
+
listingDetails: {
|
|
890
|
+
appName: string;
|
|
891
|
+
shortDescription: string;
|
|
892
|
+
longDescription: string;
|
|
893
|
+
features: string;
|
|
894
|
+
benefits: string;
|
|
895
|
+
};
|
|
896
|
+
auth: {
|
|
897
|
+
hasZeroScopes: boolean;
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
errors: {
|
|
901
|
+
listingDetails: {
|
|
902
|
+
appName: string;
|
|
903
|
+
shortDescription: string;
|
|
904
|
+
longDescription: string;
|
|
905
|
+
features: string;
|
|
906
|
+
benefits: string;
|
|
907
|
+
};
|
|
908
|
+
auth: {
|
|
909
|
+
hasAllScopes: boolean;
|
|
910
|
+
isRedirectUriSafe: boolean;
|
|
911
|
+
};
|
|
912
|
+
links: {
|
|
913
|
+
tutorial: {
|
|
914
|
+
returns200: boolean;
|
|
915
|
+
isValid: boolean;
|
|
916
|
+
};
|
|
917
|
+
privacyPolicy: {
|
|
918
|
+
returns200: boolean;
|
|
919
|
+
isValid: boolean;
|
|
920
|
+
};
|
|
921
|
+
};
|
|
922
|
+
images: {
|
|
923
|
+
icon: {
|
|
924
|
+
isNsfw: boolean;
|
|
925
|
+
isRatioValid: boolean;
|
|
926
|
+
};
|
|
927
|
+
screenshots: {
|
|
928
|
+
areNsfw: boolean;
|
|
929
|
+
areRatiosValid: boolean;
|
|
930
|
+
};
|
|
931
|
+
};
|
|
932
|
+
};
|
|
1242
933
|
};
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
934
|
+
|
|
935
|
+
interface ApplicationAutoReviewPayload {
|
|
936
|
+
appName: boolean;
|
|
937
|
+
shortDescription: boolean;
|
|
938
|
+
longDescription: boolean;
|
|
939
|
+
features: boolean;
|
|
940
|
+
benefits: boolean;
|
|
941
|
+
scopes: boolean;
|
|
942
|
+
redirect: boolean;
|
|
943
|
+
tutorial: boolean;
|
|
944
|
+
privacyPolicy: boolean;
|
|
945
|
+
icons: boolean;
|
|
946
|
+
screenshots: boolean;
|
|
947
|
+
}
|
|
948
|
+
declare const getAppAutoReviewPayload: (value: boolean) => {
|
|
949
|
+
appName: boolean;
|
|
950
|
+
shortDescription: boolean;
|
|
951
|
+
longDescription: boolean;
|
|
952
|
+
features: boolean;
|
|
953
|
+
benefits: boolean;
|
|
954
|
+
scopes: boolean;
|
|
955
|
+
redirect: boolean;
|
|
956
|
+
tutorial: boolean;
|
|
957
|
+
privacyPolicy: boolean;
|
|
958
|
+
icons: boolean;
|
|
959
|
+
screenshots: boolean;
|
|
1247
960
|
};
|
|
1248
|
-
type LinkAppStorageData = ({
|
|
1249
|
-
provider: "planetscale";
|
|
1250
|
-
} & LinkAppStoragePlanetScaleData) | ({
|
|
1251
|
-
provider: "vercel";
|
|
1252
|
-
} & LinkAppStorageVercelData) | ({
|
|
1253
|
-
provider: "neon";
|
|
1254
|
-
} & LinkAppStorageNeonData);
|
|
1255
|
-
type LinkAppStoragePayload = {
|
|
1256
|
-
appId: string;
|
|
1257
|
-
appName: string;
|
|
1258
|
-
} & LinkAppStorageData;
|
|
1259
961
|
|
|
1260
|
-
interface
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
962
|
+
interface CreateApplicationChatActionPayload {
|
|
963
|
+
action: string;
|
|
964
|
+
id: string;
|
|
965
|
+
label: string;
|
|
966
|
+
sourceUrl: string;
|
|
967
|
+
url: string;
|
|
968
|
+
widget?: string;
|
|
1264
969
|
}
|
|
1265
970
|
|
|
1266
|
-
interface
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
971
|
+
interface UpdateApplicationChatActionPayload {
|
|
972
|
+
action: string;
|
|
973
|
+
id: string;
|
|
974
|
+
label: string;
|
|
975
|
+
sourceUrl: string;
|
|
976
|
+
url: string;
|
|
977
|
+
placement: string;
|
|
978
|
+
widget?: string;
|
|
1272
979
|
}
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
980
|
+
|
|
981
|
+
interface ApplicationChatBooster {
|
|
982
|
+
ctaLabel: string;
|
|
983
|
+
description: string;
|
|
984
|
+
icon: string;
|
|
985
|
+
id: string;
|
|
986
|
+
title: string;
|
|
987
|
+
url: string;
|
|
1279
988
|
}
|
|
1280
989
|
|
|
1281
|
-
interface
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
tiersPricingConfig: {
|
|
1287
|
-
enabled: boolean;
|
|
1288
|
-
tiers: {
|
|
1289
|
-
accountsFrom: number;
|
|
1290
|
-
discount: number;
|
|
1291
|
-
}[];
|
|
1292
|
-
};
|
|
1293
|
-
trialDays: number;
|
|
990
|
+
interface UpsertApplicationChatBoosterPayload {
|
|
991
|
+
title: string;
|
|
992
|
+
description: string;
|
|
993
|
+
url: string;
|
|
994
|
+
ctaLabel: string;
|
|
1294
995
|
}
|
|
1295
996
|
|
|
1296
|
-
interface
|
|
997
|
+
interface ApplicationBasicDetailsDto {
|
|
1297
998
|
name: string;
|
|
1298
|
-
|
|
1299
|
-
default_value: string;
|
|
1300
|
-
access: PropertyAccessDto;
|
|
1301
|
-
owner_client_id: string;
|
|
999
|
+
shortDescription: string;
|
|
1302
1000
|
}
|
|
1303
1001
|
|
|
1304
|
-
interface
|
|
1305
|
-
|
|
1306
|
-
|
|
1002
|
+
interface ApplicationBenefitDto {
|
|
1003
|
+
description: string;
|
|
1004
|
+
title: string;
|
|
1307
1005
|
}
|
|
1308
1006
|
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
type AppVariableExternalProvider = "vercel" | "netlify";
|
|
1313
|
-
type AppVariableProvider = AppVariableLocalProvider | AppVariableExternalProvider;
|
|
1314
|
-
interface AppVariable {
|
|
1315
|
-
key: string;
|
|
1316
|
-
value: {
|
|
1317
|
-
local?: {
|
|
1318
|
-
type: AppVariableLocalProvider;
|
|
1319
|
-
id: string;
|
|
1320
|
-
value: string;
|
|
1321
|
-
isReadonly: boolean;
|
|
1322
|
-
};
|
|
1323
|
-
external?: {
|
|
1324
|
-
type: AppVariableExternalProvider;
|
|
1325
|
-
id: string;
|
|
1326
|
-
value: string;
|
|
1327
|
-
};
|
|
1328
|
-
};
|
|
1329
|
-
type?: AppVariableType;
|
|
1330
|
-
status?: AppVariableStatus;
|
|
1331
|
-
isLinked: boolean;
|
|
1332
|
-
isDecrypted: boolean;
|
|
1007
|
+
interface ApplicationFeatureDto {
|
|
1008
|
+
description: string;
|
|
1009
|
+
title: string;
|
|
1333
1010
|
}
|
|
1334
1011
|
|
|
1335
|
-
interface
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1012
|
+
interface ApplicationIconDto {
|
|
1013
|
+
id: string;
|
|
1014
|
+
large: string;
|
|
1015
|
+
original: string;
|
|
1016
|
+
small: string;
|
|
1017
|
+
title: string;
|
|
1339
1018
|
}
|
|
1340
1019
|
|
|
1341
|
-
interface
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
localValue: string;
|
|
1345
|
-
externalValue: string;
|
|
1020
|
+
interface ApplicationOverviewDto {
|
|
1021
|
+
longDescription: string;
|
|
1022
|
+
categoryId: string;
|
|
1346
1023
|
}
|
|
1347
1024
|
|
|
1348
|
-
interface
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
target: {
|
|
1355
|
-
id?: string;
|
|
1356
|
-
};
|
|
1025
|
+
interface ApplicationScreenshotDto {
|
|
1026
|
+
id: string;
|
|
1027
|
+
large: string;
|
|
1028
|
+
original: string;
|
|
1029
|
+
small: string;
|
|
1030
|
+
title: string;
|
|
1357
1031
|
}
|
|
1358
1032
|
|
|
1359
|
-
interface
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
blocks?: AppInfrastructureBlocks;
|
|
1033
|
+
interface ApplicationTutorialAndSupportDto {
|
|
1034
|
+
tutorialUrl: string;
|
|
1035
|
+
privacyPolicyUrl: string;
|
|
1363
1036
|
}
|
|
1364
1037
|
|
|
1365
|
-
interface
|
|
1366
|
-
|
|
1038
|
+
interface UpdateApplicationChangelogPayload {
|
|
1039
|
+
changelog: string;
|
|
1367
1040
|
}
|
|
1368
|
-
|
|
1369
|
-
|
|
1041
|
+
|
|
1042
|
+
interface UpdateApplicationIconPayload {
|
|
1043
|
+
default?: string;
|
|
1044
|
+
small?: string;
|
|
1045
|
+
dark?: string;
|
|
1370
1046
|
}
|
|
1371
1047
|
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1048
|
+
type AppRepositoryProvider = "github" | "gitlab";
|
|
1049
|
+
type AppRepositoryTarget = "node" | "nextjs";
|
|
1050
|
+
type AppDeploymentProvider = "internal" | "netlify" | "vercel" | "heroku" | "custom";
|
|
1051
|
+
type AppDeploymentMode = "local" | "provider";
|
|
1052
|
+
type AppLoggerProvider = "sentry" | "amplitude";
|
|
1053
|
+
type AppStorageProvider = "vercel" | "planetscale" | "neon";
|
|
1054
|
+
interface AppGitHubRepositoryConfig {
|
|
1055
|
+
name: string;
|
|
1056
|
+
branch: string;
|
|
1057
|
+
target: AppRepositoryTarget | undefined;
|
|
1058
|
+
}
|
|
1059
|
+
interface AppNetlifyDeploymentConfig {
|
|
1060
|
+
url: string;
|
|
1061
|
+
siteId: string;
|
|
1062
|
+
}
|
|
1063
|
+
interface AppVercelDeploymentConfig {
|
|
1064
|
+
url: string;
|
|
1065
|
+
projectId: string;
|
|
1066
|
+
}
|
|
1067
|
+
interface AppVercelStorageConfig {
|
|
1068
|
+
databaseId: string;
|
|
1069
|
+
}
|
|
1070
|
+
interface AppPlanetScaleStorageConfig {
|
|
1071
|
+
organization: string;
|
|
1072
|
+
databaseName: string;
|
|
1073
|
+
isSeeded: boolean;
|
|
1074
|
+
}
|
|
1075
|
+
interface AppNeonStorageConfig {
|
|
1076
|
+
projectId: string;
|
|
1077
|
+
branchId: string;
|
|
1078
|
+
databaseName: string;
|
|
1079
|
+
isSeeded: boolean;
|
|
1080
|
+
}
|
|
1081
|
+
interface AppSentryLoggerConfig {
|
|
1082
|
+
name: string;
|
|
1083
|
+
org: string;
|
|
1084
|
+
}
|
|
1085
|
+
interface AppRepositoryBlock {
|
|
1086
|
+
provider?: AppRepositoryProvider;
|
|
1087
|
+
config: {
|
|
1088
|
+
github?: AppGitHubRepositoryConfig;
|
|
1375
1089
|
};
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1090
|
+
}
|
|
1091
|
+
interface AppStorageBlock {
|
|
1092
|
+
provider?: AppStorageProvider;
|
|
1093
|
+
config: {
|
|
1094
|
+
vercel?: AppVercelStorageConfig;
|
|
1095
|
+
planetscale?: AppPlanetScaleStorageConfig;
|
|
1096
|
+
neon?: AppNeonStorageConfig;
|
|
1379
1097
|
};
|
|
1380
|
-
netlify?: string;
|
|
1381
|
-
vercel?: string;
|
|
1382
|
-
planetscale?: string;
|
|
1383
|
-
sentry?: string;
|
|
1384
|
-
neon?: string;
|
|
1385
|
-
openai?: string;
|
|
1386
1098
|
}
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1099
|
+
interface AppLoggerBlock {
|
|
1100
|
+
provider?: AppLoggerProvider;
|
|
1101
|
+
config: {
|
|
1102
|
+
sentry?: AppSentryLoggerConfig;
|
|
1103
|
+
};
|
|
1104
|
+
}
|
|
1105
|
+
interface AppDeploymentBlock {
|
|
1106
|
+
mode: AppDeploymentMode;
|
|
1107
|
+
provider?: AppDeploymentProvider;
|
|
1108
|
+
config: {
|
|
1109
|
+
netlify?: AppNetlifyDeploymentConfig;
|
|
1110
|
+
vercel?: AppVercelDeploymentConfig;
|
|
1111
|
+
local?: {
|
|
1112
|
+
url: string;
|
|
1113
|
+
};
|
|
1114
|
+
custom?: {
|
|
1115
|
+
url: string;
|
|
1391
1116
|
};
|
|
1392
|
-
github?: boolean;
|
|
1393
|
-
netlify?: boolean;
|
|
1394
|
-
vercel?: boolean;
|
|
1395
|
-
planetscale?: boolean;
|
|
1396
|
-
sentry?: boolean;
|
|
1397
|
-
neon?: boolean;
|
|
1398
|
-
openai?: boolean;
|
|
1399
1117
|
};
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1118
|
+
}
|
|
1119
|
+
interface AppInfrastructureBlocks {
|
|
1120
|
+
repository?: AppRepositoryBlock;
|
|
1121
|
+
deployment?: AppDeploymentBlock;
|
|
1122
|
+
storage?: AppStorageBlock;
|
|
1123
|
+
logger?: AppLoggerBlock;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
interface UpdateAppInfrastructureBlocksPayload {
|
|
1127
|
+
repository?: {
|
|
1128
|
+
provider?: AppRepositoryProvider | null;
|
|
1129
|
+
config?: {
|
|
1130
|
+
github?: Partial<AppGitHubRepositoryConfig> | null;
|
|
1131
|
+
};
|
|
1409
1132
|
};
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1133
|
+
deployment?: {
|
|
1134
|
+
mode?: AppDeploymentMode | null;
|
|
1135
|
+
provider?: AppDeploymentProvider | null;
|
|
1136
|
+
config?: {
|
|
1137
|
+
netlify?: Partial<AppNetlifyDeploymentConfig> | null;
|
|
1138
|
+
vercel?: Partial<AppVercelDeploymentConfig> | null;
|
|
1139
|
+
local?: Partial<{
|
|
1140
|
+
url: string;
|
|
1141
|
+
}> | null;
|
|
1142
|
+
custom?: Partial<{
|
|
1143
|
+
url: string;
|
|
1144
|
+
}> | null;
|
|
1145
|
+
};
|
|
1413
1146
|
};
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
}
|
|
1421
|
-
declare function updatePlatformAdapterClientInstance(tokens?: {
|
|
1422
|
-
platform?: {
|
|
1423
|
-
dps?: string;
|
|
1147
|
+
storage?: {
|
|
1148
|
+
provider?: AppStorageProvider | null;
|
|
1149
|
+
config?: {
|
|
1150
|
+
vercel?: Partial<AppVercelStorageConfig> | null;
|
|
1151
|
+
planetscale?: Partial<AppPlanetScaleStorageConfig> | null;
|
|
1152
|
+
neon?: Partial<AppNeonStorageConfig> | null;
|
|
1153
|
+
};
|
|
1424
1154
|
};
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1155
|
+
logger?: {
|
|
1156
|
+
provider?: AppLoggerProvider | null;
|
|
1157
|
+
config?: {
|
|
1158
|
+
sentry?: Partial<AppSentryLoggerConfig> | null;
|
|
1159
|
+
};
|
|
1428
1160
|
};
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
interface UpdateApplicationDirectInstallUrlPayload {
|
|
1164
|
+
url: string;
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
interface UpdateApplicationOnboardingPayload {
|
|
1168
|
+
introduction: string;
|
|
1169
|
+
setupAware: boolean;
|
|
1170
|
+
settings: string;
|
|
1171
|
+
}
|
|
1436
1172
|
|
|
1437
1173
|
interface ApplicationPaymentDto {
|
|
1438
1174
|
creditCardRequired: boolean;
|
|
@@ -1449,6 +1185,96 @@ interface ApplicationPaymentDto {
|
|
|
1449
1185
|
trialDays: number;
|
|
1450
1186
|
}
|
|
1451
1187
|
|
|
1188
|
+
interface UpdateApplicationProductPayload {
|
|
1189
|
+
product: string;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
interface ApplicationPropertyDto {
|
|
1193
|
+
key: string;
|
|
1194
|
+
value: string;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
interface AppResourceDto {
|
|
1198
|
+
items: unknown[];
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
interface UpsertAppResourcePayload {
|
|
1202
|
+
id: string;
|
|
1203
|
+
description: string;
|
|
1204
|
+
url: string;
|
|
1205
|
+
multiplied: boolean;
|
|
1206
|
+
product: {
|
|
1207
|
+
id?: string;
|
|
1208
|
+
sid?: string;
|
|
1209
|
+
name: string;
|
|
1210
|
+
price: {
|
|
1211
|
+
cents: number;
|
|
1212
|
+
perAgent: boolean;
|
|
1213
|
+
months: number;
|
|
1214
|
+
} | undefined;
|
|
1215
|
+
};
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
interface CreateApplicationSubmissionPayload {
|
|
1219
|
+
note: string;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
interface AppStatsDto {
|
|
1223
|
+
entitiesAuthorized: number;
|
|
1224
|
+
lastInteraction: string;
|
|
1225
|
+
licenseInstallations: number;
|
|
1226
|
+
licensesAuthorized: number;
|
|
1227
|
+
licensesCurrentlyUsing: number;
|
|
1228
|
+
numberOfChanges: number;
|
|
1229
|
+
organizationsInterested: number;
|
|
1230
|
+
organizationsNotInterested: string;
|
|
1231
|
+
peopleCurrentlyUsing: number;
|
|
1232
|
+
publicVisits: number;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
interface UpdateApplicationWebhookPayload {
|
|
1236
|
+
url: string;
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
interface UpdateChatWebhookPayload {
|
|
1240
|
+
url: string;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
interface UpdateApplicationWidgetDto {
|
|
1244
|
+
initialState?: string;
|
|
1245
|
+
placement: string;
|
|
1246
|
+
url: string;
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
interface ApplicationWidget {
|
|
1250
|
+
id: string;
|
|
1251
|
+
placement: string;
|
|
1252
|
+
shortcut: string;
|
|
1253
|
+
url: string;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
interface AppEventDto {
|
|
1257
|
+
name: string;
|
|
1258
|
+
aggregateName: string;
|
|
1259
|
+
aggregateId: string;
|
|
1260
|
+
sequence: number;
|
|
1261
|
+
payload: {
|
|
1262
|
+
product: string;
|
|
1263
|
+
};
|
|
1264
|
+
meta: {
|
|
1265
|
+
account: string;
|
|
1266
|
+
developer: string;
|
|
1267
|
+
email: string;
|
|
1268
|
+
license: string;
|
|
1269
|
+
organization: string;
|
|
1270
|
+
referer: string;
|
|
1271
|
+
region: string;
|
|
1272
|
+
scopes: string;
|
|
1273
|
+
webBrowser: string;
|
|
1274
|
+
};
|
|
1275
|
+
createdAt: string;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1452
1278
|
interface ApplicationDto {
|
|
1453
1279
|
id: string;
|
|
1454
1280
|
name: string;
|
|
@@ -1509,787 +1335,962 @@ interface ApplicationDto {
|
|
|
1509
1335
|
id: string;
|
|
1510
1336
|
label: string;
|
|
1511
1337
|
placement: string;
|
|
1512
|
-
sourceUrl: string;
|
|
1513
|
-
url: string;
|
|
1514
|
-
widget: string;
|
|
1515
|
-
}[] | null;
|
|
1516
|
-
widgets: ApplicationWidget[] | null;
|
|
1517
|
-
chatBoosters: ApplicationChatBooster[] | null;
|
|
1518
|
-
cover: null;
|
|
1519
|
-
onboarding: null;
|
|
1520
|
-
};
|
|
1521
|
-
ownerId: string;
|
|
1522
|
-
license: number;
|
|
1523
|
-
longDescription: string;
|
|
1524
|
-
shortDescription: string;
|
|
1525
|
-
tutorialUrl: string;
|
|
1526
|
-
privacyPolicyUrl: string;
|
|
1527
|
-
changelog: string;
|
|
1528
|
-
product: string;
|
|
1529
|
-
directInstallUrl: string;
|
|
1530
|
-
origin: string;
|
|
1531
|
-
installations: number;
|
|
1532
|
-
installable: boolean;
|
|
1533
|
-
inspectorLicense: number;
|
|
1534
|
-
webhookUrl: string;
|
|
1535
|
-
meta: string;
|
|
1536
|
-
integration: boolean;
|
|
1537
|
-
version: number;
|
|
1538
|
-
migratedAccess: boolean;
|
|
1539
|
-
hidden: boolean;
|
|
1540
|
-
customProps: Record<string, string>;
|
|
1541
|
-
createdAt: string;
|
|
1542
|
-
submittedAt: null | string;
|
|
1543
|
-
publishedAt: null | string;
|
|
1544
|
-
updatedAt: string;
|
|
1545
|
-
reviewStartedAt: null;
|
|
1546
|
-
acceptedAt: null | string;
|
|
1547
|
-
archivedAt: null | string;
|
|
1548
|
-
qualifiedLead: true;
|
|
1549
|
-
}
|
|
1550
|
-
|
|
1551
|
-
interface CreateApplicationPayload {
|
|
1552
|
-
name: string;
|
|
1553
|
-
origin: string;
|
|
1554
|
-
product: string;
|
|
1555
|
-
}
|
|
1556
|
-
interface CreateApplicationResponse {
|
|
1557
|
-
id: string;
|
|
1558
|
-
}
|
|
1559
|
-
|
|
1560
|
-
interface CreateApplicationAuthorizationPayload {
|
|
1561
|
-
ssoClient: string;
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
interface ApplicationAutoReviewDto {
|
|
1565
|
-
isReviewed: boolean;
|
|
1566
|
-
recommendations: {
|
|
1567
|
-
listingDetails: {
|
|
1568
|
-
appName: string;
|
|
1569
|
-
shortDescription: string;
|
|
1570
|
-
longDescription: string;
|
|
1571
|
-
features: string;
|
|
1572
|
-
benefits: string;
|
|
1573
|
-
};
|
|
1574
|
-
auth: {
|
|
1575
|
-
hasZeroScopes: boolean;
|
|
1576
|
-
};
|
|
1577
|
-
};
|
|
1578
|
-
errors: {
|
|
1579
|
-
listingDetails: {
|
|
1580
|
-
appName: string;
|
|
1581
|
-
shortDescription: string;
|
|
1582
|
-
longDescription: string;
|
|
1583
|
-
features: string;
|
|
1584
|
-
benefits: string;
|
|
1585
|
-
};
|
|
1586
|
-
auth: {
|
|
1587
|
-
hasAllScopes: boolean;
|
|
1588
|
-
isRedirectUriSafe: boolean;
|
|
1589
|
-
};
|
|
1590
|
-
links: {
|
|
1591
|
-
tutorial: {
|
|
1592
|
-
returns200: boolean;
|
|
1593
|
-
isValid: boolean;
|
|
1594
|
-
};
|
|
1595
|
-
privacyPolicy: {
|
|
1596
|
-
returns200: boolean;
|
|
1597
|
-
isValid: boolean;
|
|
1598
|
-
};
|
|
1599
|
-
};
|
|
1600
|
-
images: {
|
|
1601
|
-
icon: {
|
|
1602
|
-
isNsfw: boolean;
|
|
1603
|
-
isRatioValid: boolean;
|
|
1604
|
-
};
|
|
1605
|
-
screenshots: {
|
|
1606
|
-
areNsfw: boolean;
|
|
1607
|
-
areRatiosValid: boolean;
|
|
1608
|
-
};
|
|
1609
|
-
};
|
|
1610
|
-
};
|
|
1611
|
-
}
|
|
1612
|
-
declare const getEmptyAppAutoReview: () => {
|
|
1613
|
-
isReviewed: boolean;
|
|
1614
|
-
recommendations: {
|
|
1615
|
-
listingDetails: {
|
|
1616
|
-
appName: string;
|
|
1617
|
-
shortDescription: string;
|
|
1618
|
-
longDescription: string;
|
|
1619
|
-
features: string;
|
|
1620
|
-
benefits: string;
|
|
1621
|
-
};
|
|
1622
|
-
auth: {
|
|
1623
|
-
hasZeroScopes: boolean;
|
|
1624
|
-
};
|
|
1625
|
-
};
|
|
1626
|
-
errors: {
|
|
1627
|
-
listingDetails: {
|
|
1628
|
-
appName: string;
|
|
1629
|
-
shortDescription: string;
|
|
1630
|
-
longDescription: string;
|
|
1631
|
-
features: string;
|
|
1632
|
-
benefits: string;
|
|
1633
|
-
};
|
|
1634
|
-
auth: {
|
|
1635
|
-
hasAllScopes: boolean;
|
|
1636
|
-
isRedirectUriSafe: boolean;
|
|
1637
|
-
};
|
|
1638
|
-
links: {
|
|
1639
|
-
tutorial: {
|
|
1640
|
-
returns200: boolean;
|
|
1641
|
-
isValid: boolean;
|
|
1642
|
-
};
|
|
1643
|
-
privacyPolicy: {
|
|
1644
|
-
returns200: boolean;
|
|
1645
|
-
isValid: boolean;
|
|
1646
|
-
};
|
|
1647
|
-
};
|
|
1648
|
-
images: {
|
|
1649
|
-
icon: {
|
|
1650
|
-
isNsfw: boolean;
|
|
1651
|
-
isRatioValid: boolean;
|
|
1652
|
-
};
|
|
1653
|
-
screenshots: {
|
|
1654
|
-
areNsfw: boolean;
|
|
1655
|
-
areRatiosValid: boolean;
|
|
1656
|
-
};
|
|
1657
|
-
};
|
|
1658
|
-
};
|
|
1659
|
-
};
|
|
1660
|
-
|
|
1661
|
-
interface ApplicationAutoReviewPayload {
|
|
1662
|
-
appName: boolean;
|
|
1663
|
-
shortDescription: boolean;
|
|
1664
|
-
longDescription: boolean;
|
|
1665
|
-
features: boolean;
|
|
1666
|
-
benefits: boolean;
|
|
1667
|
-
scopes: boolean;
|
|
1668
|
-
redirect: boolean;
|
|
1669
|
-
tutorial: boolean;
|
|
1670
|
-
privacyPolicy: boolean;
|
|
1671
|
-
icons: boolean;
|
|
1672
|
-
screenshots: boolean;
|
|
1338
|
+
sourceUrl: string;
|
|
1339
|
+
url: string;
|
|
1340
|
+
widget: string;
|
|
1341
|
+
}[] | null;
|
|
1342
|
+
widgets: ApplicationWidget[] | null;
|
|
1343
|
+
chatBoosters: ApplicationChatBooster[] | null;
|
|
1344
|
+
cover: null;
|
|
1345
|
+
onboarding: null;
|
|
1346
|
+
};
|
|
1347
|
+
ownerId: string;
|
|
1348
|
+
license: number;
|
|
1349
|
+
longDescription: string;
|
|
1350
|
+
shortDescription: string;
|
|
1351
|
+
tutorialUrl: string;
|
|
1352
|
+
privacyPolicyUrl: string;
|
|
1353
|
+
changelog: string;
|
|
1354
|
+
product: string;
|
|
1355
|
+
directInstallUrl: string;
|
|
1356
|
+
origin: string;
|
|
1357
|
+
installations: number;
|
|
1358
|
+
installable: boolean;
|
|
1359
|
+
inspectorLicense: number;
|
|
1360
|
+
webhookUrl: string;
|
|
1361
|
+
meta: string;
|
|
1362
|
+
integration: boolean;
|
|
1363
|
+
version: number;
|
|
1364
|
+
migratedAccess: boolean;
|
|
1365
|
+
hidden: boolean;
|
|
1366
|
+
customProps: Record<string, string>;
|
|
1367
|
+
createdAt: string;
|
|
1368
|
+
submittedAt: null | string;
|
|
1369
|
+
publishedAt: null | string;
|
|
1370
|
+
updatedAt: string;
|
|
1371
|
+
reviewStartedAt: null;
|
|
1372
|
+
acceptedAt: null | string;
|
|
1373
|
+
archivedAt: null | string;
|
|
1374
|
+
qualifiedLead: true;
|
|
1673
1375
|
}
|
|
1674
|
-
declare const getAppAutoReviewPayload: (value: boolean) => {
|
|
1675
|
-
appName: boolean;
|
|
1676
|
-
shortDescription: boolean;
|
|
1677
|
-
longDescription: boolean;
|
|
1678
|
-
features: boolean;
|
|
1679
|
-
benefits: boolean;
|
|
1680
|
-
scopes: boolean;
|
|
1681
|
-
redirect: boolean;
|
|
1682
|
-
tutorial: boolean;
|
|
1683
|
-
privacyPolicy: boolean;
|
|
1684
|
-
icons: boolean;
|
|
1685
|
-
screenshots: boolean;
|
|
1686
|
-
};
|
|
1687
1376
|
|
|
1688
|
-
interface
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
label: string;
|
|
1692
|
-
sourceUrl: string;
|
|
1693
|
-
url: string;
|
|
1694
|
-
widget?: string;
|
|
1377
|
+
interface PlatformDpsClientInstanceAuthorization {
|
|
1378
|
+
token?: string;
|
|
1379
|
+
tokenType?: "Basic" | "Bearer";
|
|
1695
1380
|
}
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
id: string;
|
|
1700
|
-
label: string;
|
|
1701
|
-
sourceUrl: string;
|
|
1702
|
-
url: string;
|
|
1703
|
-
placement: string;
|
|
1704
|
-
widget?: string;
|
|
1381
|
+
interface PlatformDpsClientInstanceOptions {
|
|
1382
|
+
token?: string;
|
|
1383
|
+
tokenType?: "Basic" | "Bearer";
|
|
1705
1384
|
}
|
|
1385
|
+
declare const platformDpsClientInstance: axios.AxiosInstance;
|
|
1386
|
+
declare function getPlatformDpsClientAuthorization(req: {
|
|
1387
|
+
headers: Record<string, string | string[] | undefined>;
|
|
1388
|
+
}): PlatformDpsClientInstanceAuthorization;
|
|
1389
|
+
declare function getPlatformDpsAdminClientAuthorization(): PlatformDpsClientInstanceAuthorization;
|
|
1390
|
+
declare function getPlatformDpsClientConfig(options?: PlatformDpsClientInstanceOptions): AxiosRequestConfig;
|
|
1391
|
+
declare function initPlatformDpsClientInstance(baseUrl?: string, token?: string): void;
|
|
1706
1392
|
|
|
1707
|
-
interface
|
|
1708
|
-
ctaLabel: string;
|
|
1709
|
-
description: string;
|
|
1710
|
-
icon: string;
|
|
1393
|
+
interface NeonProjectBranchDto {
|
|
1711
1394
|
id: string;
|
|
1712
|
-
|
|
1713
|
-
|
|
1395
|
+
project_id: string;
|
|
1396
|
+
name: string;
|
|
1397
|
+
current_state: "init" | "ready";
|
|
1398
|
+
creation_source: string;
|
|
1399
|
+
primary: boolean;
|
|
1400
|
+
created_at: string;
|
|
1401
|
+
updated_at: string;
|
|
1402
|
+
}
|
|
1403
|
+
interface NeonProjectBranchesDto {
|
|
1404
|
+
branches: NeonProjectBranchDto[];
|
|
1405
|
+
}
|
|
1406
|
+
interface NeonProjectDatabaseDto {
|
|
1407
|
+
id: number;
|
|
1408
|
+
branch_id: string;
|
|
1409
|
+
name: string;
|
|
1410
|
+
owner_name: string;
|
|
1411
|
+
created_at: string;
|
|
1412
|
+
updated_at: string;
|
|
1413
|
+
}
|
|
1414
|
+
interface NeonProjectDatabasesDto {
|
|
1415
|
+
databases: NeonProjectDatabaseDto[];
|
|
1714
1416
|
}
|
|
1715
1417
|
|
|
1716
|
-
interface
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1418
|
+
interface NeonProjectDto {
|
|
1419
|
+
project: {
|
|
1420
|
+
id: string;
|
|
1421
|
+
name: string;
|
|
1422
|
+
created_at: string;
|
|
1423
|
+
updated_at: string;
|
|
1424
|
+
owner_id: string;
|
|
1425
|
+
owner: {
|
|
1426
|
+
email: string;
|
|
1427
|
+
branches_limit: number;
|
|
1428
|
+
subscription: "UNKNOWN" | "free" | "pro" | "direct_sales" | "aws_marketplace";
|
|
1429
|
+
};
|
|
1430
|
+
};
|
|
1431
|
+
}
|
|
1432
|
+
interface NeonProjectsDto {
|
|
1433
|
+
projects: NeonProjectDto["project"][];
|
|
1434
|
+
}
|
|
1435
|
+
interface NeonProjectWithConnectionUriDto extends NeonProjectDto {
|
|
1436
|
+
connection_uris: {
|
|
1437
|
+
connection_uri: string;
|
|
1438
|
+
}[];
|
|
1439
|
+
branch: NeonProjectBranchDto;
|
|
1440
|
+
databases: NeonProjectDatabaseDto[];
|
|
1721
1441
|
}
|
|
1722
1442
|
|
|
1723
|
-
interface
|
|
1443
|
+
interface NeonUser {
|
|
1444
|
+
id: string;
|
|
1445
|
+
type: string;
|
|
1724
1446
|
name: string;
|
|
1725
|
-
|
|
1447
|
+
email: string;
|
|
1448
|
+
login: string;
|
|
1449
|
+
projects_limit: number;
|
|
1726
1450
|
}
|
|
1727
1451
|
|
|
1728
|
-
interface
|
|
1729
|
-
|
|
1730
|
-
title: string;
|
|
1452
|
+
interface NeonClientInstanceAuthorization {
|
|
1453
|
+
token?: string;
|
|
1731
1454
|
}
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
title: string;
|
|
1455
|
+
interface NeonClientInstanceOptions {
|
|
1456
|
+
token?: string;
|
|
1457
|
+
ensureAuthorizationToken?: boolean;
|
|
1736
1458
|
}
|
|
1459
|
+
declare const neonClientInstance: axios.AxiosInstance;
|
|
1460
|
+
declare function getNeonClientAuthorization(req: {
|
|
1461
|
+
headers: Record<string, string | string[] | undefined>;
|
|
1462
|
+
}): NeonClientInstanceAuthorization;
|
|
1463
|
+
declare function getNeonClientConfig(options?: NeonClientInstanceOptions): AxiosRequestConfig;
|
|
1464
|
+
declare function initNeonClientInstance(token?: string): void;
|
|
1465
|
+
declare function updateNeonClientInstance(token?: string): void;
|
|
1737
1466
|
|
|
1738
|
-
interface
|
|
1467
|
+
interface NetlifyAccount {
|
|
1739
1468
|
id: string;
|
|
1740
|
-
large: string;
|
|
1741
|
-
original: string;
|
|
1742
|
-
small: string;
|
|
1743
|
-
title: string;
|
|
1744
1469
|
}
|
|
1745
1470
|
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1471
|
+
type GetAppMonitoringCustomReportDataPayload = AppMonitoringReportParams;
|
|
1472
|
+
|
|
1473
|
+
type GetAppMonitoringUptimeReportPayload = AppMonitoringReportParams;
|
|
1474
|
+
|
|
1475
|
+
type GetAppMonitoringEventsReportPayload = AppMonitoringReportParams;
|
|
1476
|
+
|
|
1477
|
+
interface VercelSearchRepositoryResponse {
|
|
1478
|
+
gitAccount: {
|
|
1479
|
+
namespaceId: number | null;
|
|
1480
|
+
provider: string;
|
|
1481
|
+
};
|
|
1482
|
+
repos: VercelRepository[];
|
|
1749
1483
|
}
|
|
1750
1484
|
|
|
1751
|
-
interface
|
|
1485
|
+
interface AccountDto {
|
|
1486
|
+
account_id: string;
|
|
1487
|
+
avatar: string;
|
|
1752
1488
|
id: string;
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1489
|
+
job_title: string;
|
|
1490
|
+
name: string;
|
|
1491
|
+
role: string;
|
|
1492
|
+
}
|
|
1493
|
+
interface MyAccountDto {
|
|
1494
|
+
account_id: string;
|
|
1495
|
+
avatar_url: string;
|
|
1496
|
+
email: string;
|
|
1497
|
+
name: string;
|
|
1757
1498
|
}
|
|
1758
1499
|
|
|
1759
|
-
interface
|
|
1760
|
-
|
|
1761
|
-
|
|
1500
|
+
interface AuthorizeData {
|
|
1501
|
+
account_id: string;
|
|
1502
|
+
access_token: string;
|
|
1503
|
+
expires_in: number;
|
|
1504
|
+
organization_id: string;
|
|
1505
|
+
scope: string;
|
|
1506
|
+
token_type: "Bearer";
|
|
1762
1507
|
}
|
|
1763
1508
|
|
|
1764
|
-
interface
|
|
1765
|
-
|
|
1509
|
+
interface ProductDto {
|
|
1510
|
+
client_id: string;
|
|
1511
|
+
created_at: string;
|
|
1512
|
+
product: string;
|
|
1766
1513
|
}
|
|
1767
1514
|
|
|
1768
|
-
interface
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1515
|
+
interface ClientScopeDto {
|
|
1516
|
+
scope: string;
|
|
1517
|
+
required: boolean;
|
|
1518
|
+
description?: string;
|
|
1519
|
+
}
|
|
1520
|
+
interface ClientDto {
|
|
1521
|
+
client_id: string;
|
|
1522
|
+
configuration_uri: string;
|
|
1523
|
+
name: string;
|
|
1524
|
+
organization_id: string;
|
|
1525
|
+
products: ProductDto[];
|
|
1526
|
+
redirect_uri: string;
|
|
1527
|
+
scopes: ClientScopeDto[];
|
|
1528
|
+
type: string;
|
|
1529
|
+
visibility: string;
|
|
1530
|
+
}
|
|
1531
|
+
interface ClientWithSecretDto extends ClientDto {
|
|
1532
|
+
secret: string;
|
|
1533
|
+
}
|
|
1534
|
+
interface ClientInfoDto {
|
|
1535
|
+
access_token: string;
|
|
1536
|
+
account_id: string;
|
|
1537
|
+
client_id: string;
|
|
1538
|
+
expires_in: number;
|
|
1539
|
+
organization_id: string;
|
|
1540
|
+
scope: string;
|
|
1541
|
+
token_type: string;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
interface CreateClientPayload {
|
|
1545
|
+
configuration_uri: string;
|
|
1546
|
+
name: string;
|
|
1547
|
+
visibility: string;
|
|
1548
|
+
redirect_uri: string;
|
|
1549
|
+
scopes: string[];
|
|
1550
|
+
type: "server_side_app" | "javascript_app";
|
|
1772
1551
|
}
|
|
1773
1552
|
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
type
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
interface
|
|
1553
|
+
interface UpdateClientPayload {
|
|
1554
|
+
redirect_uri: string;
|
|
1555
|
+
secret?: string;
|
|
1556
|
+
type: "server_side_app" | "javascript_app";
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
interface PatScopeDto {
|
|
1781
1560
|
name: string;
|
|
1782
|
-
branch: string;
|
|
1783
|
-
target: AppRepositoryTarget | undefined;
|
|
1784
1561
|
}
|
|
1785
|
-
interface
|
|
1786
|
-
|
|
1787
|
-
|
|
1562
|
+
interface PatDto {
|
|
1563
|
+
account_id: string;
|
|
1564
|
+
created_at: string;
|
|
1565
|
+
name: string;
|
|
1566
|
+
organization_id: string;
|
|
1567
|
+
personal_token_id: string;
|
|
1568
|
+
scope: string;
|
|
1569
|
+
personal_token?: string;
|
|
1788
1570
|
}
|
|
1789
|
-
interface
|
|
1790
|
-
|
|
1791
|
-
projectId: string;
|
|
1571
|
+
interface PatWithSecretDto extends PatDto {
|
|
1572
|
+
personal_token: string;
|
|
1792
1573
|
}
|
|
1793
|
-
|
|
1794
|
-
|
|
1574
|
+
|
|
1575
|
+
interface ScopeDto {
|
|
1576
|
+
description: string;
|
|
1577
|
+
scope: string;
|
|
1578
|
+
beta?: boolean;
|
|
1795
1579
|
}
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1580
|
+
|
|
1581
|
+
interface OrganizationDto {
|
|
1582
|
+
organization_id: string;
|
|
1583
|
+
name?: string;
|
|
1584
|
+
invitation_mode?: "lax" | "strict";
|
|
1585
|
+
company?: {
|
|
1586
|
+
phone: string;
|
|
1587
|
+
website: string;
|
|
1588
|
+
};
|
|
1589
|
+
products: {
|
|
1590
|
+
product: string;
|
|
1591
|
+
client_id: string;
|
|
1592
|
+
}[];
|
|
1800
1593
|
}
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
databaseName: string;
|
|
1805
|
-
isSeeded: boolean;
|
|
1594
|
+
|
|
1595
|
+
interface PlatformAccountsClientInstanceAuthorization {
|
|
1596
|
+
token?: string;
|
|
1806
1597
|
}
|
|
1807
|
-
interface
|
|
1808
|
-
|
|
1809
|
-
org: string;
|
|
1598
|
+
interface PlatformAccountsClientInstanceOptions {
|
|
1599
|
+
token?: string;
|
|
1810
1600
|
}
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1601
|
+
declare const platformAccountsClientInstance: axios.AxiosInstance;
|
|
1602
|
+
declare function getPlatformAccountsClientAuthorization(req: {
|
|
1603
|
+
headers: {
|
|
1604
|
+
[key: string]: string | string[] | undefined;
|
|
1815
1605
|
};
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1606
|
+
}): PlatformAccountsClientInstanceAuthorization;
|
|
1607
|
+
declare function getPlatformAccountsClientConfig(options?: PlatformAccountsClientInstanceOptions): AxiosRequestConfig;
|
|
1608
|
+
declare function initPlatformAccountsClientInstance(baseUrl?: string, token?: string): void;
|
|
1609
|
+
|
|
1610
|
+
interface BillingAccountDto {
|
|
1611
|
+
account_code: string;
|
|
1612
|
+
state: string;
|
|
1613
|
+
username: string;
|
|
1614
|
+
email: string;
|
|
1615
|
+
first_name: string;
|
|
1616
|
+
last_name: string;
|
|
1617
|
+
company_name: string;
|
|
1618
|
+
vat_number: string;
|
|
1619
|
+
tax_exempt: boolean;
|
|
1620
|
+
accept_language: string;
|
|
1621
|
+
address: {
|
|
1622
|
+
first_name: string;
|
|
1623
|
+
last_name: string;
|
|
1624
|
+
phone: string;
|
|
1625
|
+
city: string;
|
|
1626
|
+
country: string;
|
|
1627
|
+
state: string;
|
|
1628
|
+
zip: string;
|
|
1823
1629
|
};
|
|
1824
1630
|
}
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1631
|
+
|
|
1632
|
+
interface BillingAccountInfoDto {
|
|
1633
|
+
first_name: string;
|
|
1634
|
+
last_name: string;
|
|
1635
|
+
company: string;
|
|
1636
|
+
address1: string;
|
|
1637
|
+
address2: string;
|
|
1638
|
+
city: string;
|
|
1639
|
+
state: string;
|
|
1640
|
+
zip: string;
|
|
1641
|
+
country: string;
|
|
1642
|
+
phone: string;
|
|
1643
|
+
vat_number: string;
|
|
1644
|
+
ip_address: string;
|
|
1645
|
+
ip_address_country: string;
|
|
1646
|
+
card_type: string;
|
|
1647
|
+
year: number;
|
|
1648
|
+
month: number;
|
|
1649
|
+
first_six: string;
|
|
1650
|
+
last_four: string;
|
|
1830
1651
|
}
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1652
|
+
|
|
1653
|
+
interface BillingInvoiceDto {
|
|
1654
|
+
number: number;
|
|
1655
|
+
state: string;
|
|
1656
|
+
created_at: string;
|
|
1657
|
+
total_cents: number;
|
|
1658
|
+
currency: string;
|
|
1659
|
+
items: {
|
|
1660
|
+
description: string;
|
|
1661
|
+
unit_amount_cents: number;
|
|
1662
|
+
quantity: number;
|
|
1663
|
+
total_amount_cents: number;
|
|
1664
|
+
origin: string;
|
|
1665
|
+
}[];
|
|
1844
1666
|
}
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1667
|
+
|
|
1668
|
+
interface PlatformBillingClientInstanceAuthorization {
|
|
1669
|
+
token?: string;
|
|
1670
|
+
}
|
|
1671
|
+
interface PlatformBillingClientInstanceOptions {
|
|
1672
|
+
token?: string;
|
|
1850
1673
|
}
|
|
1674
|
+
declare const platformBillingClientInstance: axios.AxiosInstance;
|
|
1675
|
+
declare function getPlatformBillingClientAuthorization(req: {
|
|
1676
|
+
headers: Record<string, string | string[] | undefined>;
|
|
1677
|
+
}): PlatformBillingClientInstanceAuthorization;
|
|
1678
|
+
declare function getPlatformBillingClientConfig(options?: PlatformBillingClientInstanceOptions): AxiosRequestConfig;
|
|
1679
|
+
declare function initPlatformBillingClientInstance(baseUrl?: string, token?: string): void;
|
|
1851
1680
|
|
|
1852
|
-
interface
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
config?: {
|
|
1863
|
-
netlify?: Partial<AppNetlifyDeploymentConfig> | null;
|
|
1864
|
-
vercel?: Partial<AppVercelDeploymentConfig> | null;
|
|
1865
|
-
local?: Partial<{
|
|
1866
|
-
url: string;
|
|
1867
|
-
}> | null;
|
|
1868
|
-
custom?: Partial<{
|
|
1869
|
-
url: string;
|
|
1870
|
-
}> | null;
|
|
1871
|
-
};
|
|
1681
|
+
interface CreateAppPayload {
|
|
1682
|
+
data: {
|
|
1683
|
+
app: CreateApplicationPayload;
|
|
1684
|
+
authorization?: AddAppAuthorizationData;
|
|
1685
|
+
widgets?: AddAppWidgetsData[];
|
|
1686
|
+
properties?: AddAppPropertiesData[];
|
|
1687
|
+
monetization?: AddAppMonetizationData;
|
|
1688
|
+
repository?: LinkAppRepositoryData;
|
|
1689
|
+
deployment?: LinkAppDeploymentData;
|
|
1690
|
+
storage?: LinkAppStorageData;
|
|
1872
1691
|
};
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1692
|
+
output: CreateAppOutput;
|
|
1693
|
+
}
|
|
1694
|
+
interface CreateAppOutput {
|
|
1695
|
+
sagaId: string;
|
|
1696
|
+
steps: {
|
|
1697
|
+
app: {
|
|
1698
|
+
id?: string;
|
|
1879
1699
|
};
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
sentry?: Partial<AppSentryLoggerConfig> | null;
|
|
1700
|
+
authorization?: {};
|
|
1701
|
+
repository?: {
|
|
1702
|
+
fullName?: string;
|
|
1703
|
+
branch?: string;
|
|
1885
1704
|
};
|
|
1705
|
+
widgets?: {};
|
|
1706
|
+
properties?: {};
|
|
1707
|
+
monetization?: {};
|
|
1708
|
+
deployment?: {};
|
|
1709
|
+
storage?: {};
|
|
1886
1710
|
};
|
|
1711
|
+
isDone?: boolean;
|
|
1887
1712
|
}
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1713
|
+
type CreateAppStepStatus<TData = {}> = {
|
|
1714
|
+
isLoading: boolean;
|
|
1715
|
+
isDone: boolean;
|
|
1716
|
+
error?: {
|
|
1717
|
+
message: string;
|
|
1718
|
+
statusCode?: number;
|
|
1719
|
+
};
|
|
1720
|
+
} & TData;
|
|
1721
|
+
interface CreateAppStatus {
|
|
1722
|
+
app: CreateAppStepStatus<{
|
|
1723
|
+
needToBeActivated?: boolean;
|
|
1724
|
+
}> | undefined;
|
|
1725
|
+
authorization?: CreateAppStepStatus | undefined;
|
|
1726
|
+
repository?: CreateAppStepStatus<{
|
|
1727
|
+
needToBeInstalled?: boolean;
|
|
1728
|
+
}> | undefined;
|
|
1729
|
+
deployment?: CreateAppStepStatus<{
|
|
1730
|
+
needToBeInstalled?: boolean;
|
|
1731
|
+
}> | undefined;
|
|
1732
|
+
widgets?: CreateAppStepStatus | undefined;
|
|
1733
|
+
properties?: CreateAppStepStatus | undefined;
|
|
1734
|
+
monetization?: CreateAppStepStatus | undefined;
|
|
1735
|
+
storage?: CreateAppStepStatus | undefined;
|
|
1891
1736
|
}
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
setupAware: boolean;
|
|
1896
|
-
settings: string;
|
|
1737
|
+
interface CreateAppResult {
|
|
1738
|
+
output: CreateAppOutput;
|
|
1739
|
+
status: CreateAppStatus;
|
|
1897
1740
|
}
|
|
1898
1741
|
|
|
1899
|
-
interface
|
|
1742
|
+
interface CreateCreatorAppPayload {
|
|
1743
|
+
name: string;
|
|
1744
|
+
origin: string;
|
|
1900
1745
|
product: string;
|
|
1901
1746
|
}
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
value: string;
|
|
1747
|
+
interface CreateCreatorAppResponse {
|
|
1748
|
+
appId: string;
|
|
1749
|
+
needToBeActivated: boolean;
|
|
1906
1750
|
}
|
|
1907
1751
|
|
|
1908
|
-
|
|
1909
|
-
|
|
1752
|
+
type CreateRepositoryPayload = LinkAppRepositoryData & {
|
|
1753
|
+
appId: string;
|
|
1754
|
+
appName: string;
|
|
1755
|
+
};
|
|
1756
|
+
interface CreateRepositoryResponse {
|
|
1757
|
+
name: string;
|
|
1758
|
+
branch: string;
|
|
1759
|
+
needToBeInstalled: boolean;
|
|
1760
|
+
needToBeSeeded: boolean;
|
|
1761
|
+
}
|
|
1762
|
+
interface CreateSeedPayload {
|
|
1763
|
+
appId: string;
|
|
1764
|
+
name: string;
|
|
1765
|
+
provider?: string;
|
|
1766
|
+
clientId?: string;
|
|
1767
|
+
}
|
|
1768
|
+
interface CreateSeedResponse {
|
|
1769
|
+
isSeeded: boolean;
|
|
1910
1770
|
}
|
|
1911
1771
|
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1772
|
+
type CreateDeploymentPayload = LinkAppDeploymentData & {
|
|
1773
|
+
appId: string;
|
|
1774
|
+
appName: string;
|
|
1775
|
+
repositoryName: string;
|
|
1776
|
+
repositoryBranch: string;
|
|
1777
|
+
repositoryTarget: AppRepositoryTarget | undefined;
|
|
1778
|
+
};
|
|
1779
|
+
interface CreateDeploymentResponse {
|
|
1915
1780
|
url: string;
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
months: number;
|
|
1925
|
-
} | undefined;
|
|
1926
|
-
};
|
|
1781
|
+
needToBeInstalled: boolean;
|
|
1782
|
+
}
|
|
1783
|
+
interface CreateDeploymentAccessibilityPayload {
|
|
1784
|
+
provider: "netlify" | "vercel";
|
|
1785
|
+
repositoryName: string;
|
|
1786
|
+
}
|
|
1787
|
+
interface CreateDeploymentAccessibilityResponse {
|
|
1788
|
+
isAccessible: boolean;
|
|
1927
1789
|
}
|
|
1928
1790
|
|
|
1929
|
-
|
|
1930
|
-
|
|
1791
|
+
type CreateStoragePayload = LinkAppStorageData & {
|
|
1792
|
+
appId: string;
|
|
1793
|
+
appName: string;
|
|
1794
|
+
repositoryName: string;
|
|
1795
|
+
repositoryBranch: string;
|
|
1796
|
+
};
|
|
1797
|
+
|
|
1798
|
+
interface CreateAuthorizationPayload {
|
|
1799
|
+
appId: string;
|
|
1800
|
+
appName: string;
|
|
1801
|
+
configurationUri: string;
|
|
1802
|
+
redirectUri: string;
|
|
1803
|
+
scopes: ClientScopeDto[];
|
|
1804
|
+
type: "server_side_app" | "javascript_app";
|
|
1805
|
+
visibility: string;
|
|
1806
|
+
deploymentUrl: string;
|
|
1807
|
+
}
|
|
1808
|
+
interface CreateAuthorizationResponse {
|
|
1809
|
+
clientId: string;
|
|
1931
1810
|
}
|
|
1932
1811
|
|
|
1933
|
-
interface
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
licensesAuthorized: number;
|
|
1938
|
-
licensesCurrentlyUsing: number;
|
|
1939
|
-
numberOfChanges: number;
|
|
1940
|
-
organizationsInterested: number;
|
|
1941
|
-
organizationsNotInterested: string;
|
|
1942
|
-
peopleCurrentlyUsing: number;
|
|
1943
|
-
publicVisits: number;
|
|
1812
|
+
interface CreateWidgetPayload {
|
|
1813
|
+
appId: string;
|
|
1814
|
+
widgetId: string;
|
|
1815
|
+
payload: UpdateApplicationWidgetDto;
|
|
1944
1816
|
}
|
|
1945
1817
|
|
|
1946
|
-
interface
|
|
1947
|
-
|
|
1818
|
+
interface CreatePropertiesPayload {
|
|
1819
|
+
property: AddAppPropertiesData;
|
|
1948
1820
|
}
|
|
1949
1821
|
|
|
1950
|
-
interface
|
|
1951
|
-
|
|
1822
|
+
interface CreateMonetizationPayload {
|
|
1823
|
+
appId: string;
|
|
1824
|
+
payment: AddAppMonetizationData;
|
|
1952
1825
|
}
|
|
1953
1826
|
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1827
|
+
type LinkAppDeploymentNetlifySiteData = {
|
|
1828
|
+
type: "new";
|
|
1829
|
+
siteName?: string;
|
|
1830
|
+
} | {
|
|
1831
|
+
type: "existing";
|
|
1832
|
+
siteId: string;
|
|
1833
|
+
};
|
|
1834
|
+
type LinkAppDeploymentNetlifyData = {
|
|
1835
|
+
installationId?: string;
|
|
1836
|
+
sentryOrganizationSlug?: string;
|
|
1837
|
+
sentryProjectSlug?: string;
|
|
1838
|
+
} & LinkAppDeploymentNetlifySiteData;
|
|
1839
|
+
type LinkAppDeploymentVercelProjectData = {
|
|
1840
|
+
type: "new";
|
|
1841
|
+
projectName?: string;
|
|
1842
|
+
} | {
|
|
1843
|
+
type: "existing";
|
|
1844
|
+
projectId: string;
|
|
1845
|
+
};
|
|
1846
|
+
type LinkAppDeploymentVercelData = {
|
|
1847
|
+
installationId?: string;
|
|
1848
|
+
sentryOrganizationSlug?: string;
|
|
1849
|
+
sentryProjectSlug?: string;
|
|
1850
|
+
} & LinkAppDeploymentVercelProjectData;
|
|
1851
|
+
type LinkAppDeploymentData = ({
|
|
1852
|
+
provider: "netlify";
|
|
1853
|
+
} & LinkAppDeploymentNetlifyData) | ({
|
|
1854
|
+
provider: "vercel";
|
|
1855
|
+
} & LinkAppDeploymentVercelData);
|
|
1856
|
+
type LinkAppDeploymentPayload = {
|
|
1857
|
+
appId: string;
|
|
1858
|
+
appName: string;
|
|
1859
|
+
} & LinkAppDeploymentData;
|
|
1860
|
+
interface LinkAppDeploymentResult {
|
|
1861
|
+
needToBeInstalled: boolean;
|
|
1958
1862
|
}
|
|
1959
1863
|
|
|
1960
|
-
interface
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
shortcut: string;
|
|
1964
|
-
url: string;
|
|
1864
|
+
interface UnlinkAppDeploymentPayload {
|
|
1865
|
+
appId: string;
|
|
1866
|
+
shouldDelete?: boolean;
|
|
1965
1867
|
}
|
|
1966
1868
|
|
|
1967
|
-
interface
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1869
|
+
interface AppVercelDeployment {
|
|
1870
|
+
project: {
|
|
1871
|
+
id: string;
|
|
1872
|
+
name: string;
|
|
1873
|
+
url: string;
|
|
1874
|
+
adminUrl: string;
|
|
1875
|
+
};
|
|
1876
|
+
deploy: {
|
|
1877
|
+
id?: string;
|
|
1878
|
+
state?: "ERROR" | "READY" | "BUILDING";
|
|
1879
|
+
};
|
|
1880
|
+
repository: {
|
|
1881
|
+
isAccessible: boolean;
|
|
1882
|
+
installationId?: number | null;
|
|
1883
|
+
};
|
|
1884
|
+
}
|
|
1885
|
+
interface AppNetlifyDeployment {
|
|
1886
|
+
site: {
|
|
1887
|
+
id: string;
|
|
1888
|
+
name: string;
|
|
1889
|
+
state: string;
|
|
1890
|
+
url: string;
|
|
1891
|
+
adminUrl: string;
|
|
1892
|
+
plugins: {
|
|
1893
|
+
package: string;
|
|
1894
|
+
}[];
|
|
1895
|
+
error?: string;
|
|
1896
|
+
};
|
|
1897
|
+
repository: {
|
|
1898
|
+
installationId: string;
|
|
1899
|
+
};
|
|
1900
|
+
deploy: {
|
|
1971
1901
|
id: string;
|
|
1902
|
+
state: string;
|
|
1903
|
+
error?: string;
|
|
1904
|
+
pluginRuns?: {
|
|
1905
|
+
title: string;
|
|
1906
|
+
summary: string;
|
|
1907
|
+
state: string;
|
|
1908
|
+
}[];
|
|
1909
|
+
};
|
|
1910
|
+
envs: {
|
|
1911
|
+
key: string;
|
|
1912
|
+
value: string;
|
|
1972
1913
|
}[];
|
|
1973
|
-
|
|
1974
|
-
|
|
1914
|
+
}
|
|
1915
|
+
type AppDeployment = ({
|
|
1916
|
+
provider: "netlify";
|
|
1917
|
+
} & AppNetlifyDeployment) | ({
|
|
1918
|
+
provider: "vercel";
|
|
1919
|
+
} & AppVercelDeployment);
|
|
1920
|
+
|
|
1921
|
+
interface AppSentryLogger {
|
|
1922
|
+
project: {
|
|
1923
|
+
id: string;
|
|
1924
|
+
name: string;
|
|
1925
|
+
slug: string;
|
|
1926
|
+
organization: {
|
|
1927
|
+
slug: string;
|
|
1928
|
+
};
|
|
1929
|
+
};
|
|
1930
|
+
issues: {
|
|
1931
|
+
id: string;
|
|
1932
|
+
title: string;
|
|
1933
|
+
}[];
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
type LinkAppSentryLoggerPayload = {
|
|
1937
|
+
appId: string;
|
|
1938
|
+
appName: string;
|
|
1939
|
+
repositoryName: string;
|
|
1940
|
+
repositoryBranch: string;
|
|
1941
|
+
organizationSlug: string;
|
|
1942
|
+
githubIntegrationId?: string;
|
|
1943
|
+
netlifySiteId?: string;
|
|
1944
|
+
} & ({
|
|
1945
|
+
type: "new";
|
|
1946
|
+
} | {
|
|
1947
|
+
type: "existing";
|
|
1948
|
+
projectSlug: string;
|
|
1949
|
+
});
|
|
1950
|
+
interface LinkSentryLoggerResponse {
|
|
1951
|
+
projectSlug: string;
|
|
1952
|
+
organizationSlug: string;
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
interface UnlinkAppSentryLoggerPayload {
|
|
1956
|
+
appId: string;
|
|
1957
|
+
projectSlug: string;
|
|
1958
|
+
shouldDelete?: boolean;
|
|
1975
1959
|
}
|
|
1976
1960
|
|
|
1977
|
-
interface
|
|
1961
|
+
interface AppGitHubRepository {
|
|
1978
1962
|
name: string;
|
|
1979
|
-
|
|
1963
|
+
branch: string;
|
|
1964
|
+
isSeeded: boolean;
|
|
1965
|
+
language: string;
|
|
1966
|
+
description?: string;
|
|
1980
1967
|
}
|
|
1981
|
-
|
|
1982
|
-
interface DeveloperLedgerParams {
|
|
1983
|
-
startAt?: string;
|
|
1984
|
-
endAt?: string;
|
|
1985
|
-
size?: number;
|
|
1986
|
-
page?: number;
|
|
1968
|
+
interface AppGitLabRepository {
|
|
1987
1969
|
}
|
|
1970
|
+
type AppRepository = ({
|
|
1971
|
+
provider: "github";
|
|
1972
|
+
} & AppGitHubRepository) | ({
|
|
1973
|
+
provider: "gitlab";
|
|
1974
|
+
} & AppGitLabRepository);
|
|
1988
1975
|
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1976
|
+
type LinkAppRepositoryGitHubData = {
|
|
1977
|
+
type: "new";
|
|
1978
|
+
name?: string;
|
|
1979
|
+
template?: string;
|
|
1980
|
+
} | {
|
|
1981
|
+
type: "existing";
|
|
1982
|
+
fullName: string;
|
|
1983
|
+
branch: string;
|
|
1984
|
+
};
|
|
1985
|
+
interface LinkAppRepositoryGitLabData {
|
|
1992
1986
|
}
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1987
|
+
type LinkAppRepositoryData = {
|
|
1988
|
+
target: AppRepositoryTarget | undefined;
|
|
1989
|
+
} & (({
|
|
1990
|
+
provider: "github";
|
|
1991
|
+
} & LinkAppRepositoryGitHubData) | ({
|
|
1992
|
+
provider: "gitlab";
|
|
1993
|
+
} & LinkAppRepositoryGitLabData));
|
|
1994
|
+
type LinkAppRepositoryPayload = {
|
|
1995
|
+
appId: string;
|
|
1996
|
+
appName: string;
|
|
1997
|
+
} & LinkAppRepositoryData;
|
|
1998
|
+
interface LinkAppRepositoryResult {
|
|
1999
|
+
name: string;
|
|
2000
|
+
branch: string;
|
|
2001
|
+
needToBeInstalled: boolean;
|
|
2002
|
+
needToBeSeeded: boolean;
|
|
1996
2003
|
}
|
|
1997
|
-
declare const platformDpsClientInstance: axios.AxiosInstance;
|
|
1998
|
-
declare function getPlatformDpsClientAuthorization(req: {
|
|
1999
|
-
headers: Record<string, string | string[] | undefined>;
|
|
2000
|
-
}): PlatformDpsClientInstanceAuthorization;
|
|
2001
|
-
declare function getPlatformDpsAdminClientAuthorization(): PlatformDpsClientInstanceAuthorization;
|
|
2002
|
-
declare function getPlatformDpsClientConfig(options?: PlatformDpsClientInstanceOptions): AxiosRequestConfig;
|
|
2003
|
-
declare function initPlatformDpsClientInstance(baseUrl?: string, token?: string): void;
|
|
2004
2004
|
|
|
2005
|
-
interface
|
|
2006
|
-
|
|
2007
|
-
|
|
2005
|
+
interface UnlinkAppRepositoryPayload {
|
|
2006
|
+
appId: string;
|
|
2007
|
+
shouldDelete?: boolean;
|
|
2008
2008
|
}
|
|
2009
2009
|
|
|
2010
|
-
interface
|
|
2011
|
-
|
|
2012
|
-
|
|
2010
|
+
interface SeedAppRepositoryPayload {
|
|
2011
|
+
appId: string;
|
|
2012
|
+
clientId?: string;
|
|
2013
2013
|
}
|
|
2014
|
-
interface
|
|
2015
|
-
|
|
2014
|
+
interface SeedAppRepositoryResult {
|
|
2015
|
+
isSeeded: boolean;
|
|
2016
2016
|
}
|
|
2017
2017
|
|
|
2018
|
-
interface
|
|
2019
|
-
|
|
2018
|
+
interface AppPlanetScaleStorage {
|
|
2019
|
+
database: {
|
|
2020
|
+
id: string;
|
|
2021
|
+
name: string;
|
|
2022
|
+
url: string;
|
|
2023
|
+
};
|
|
2020
2024
|
}
|
|
2021
|
-
|
|
2022
|
-
interface ResearchMarketplaceItemDto {
|
|
2023
|
-
amount: number;
|
|
2024
|
-
date: string;
|
|
2025
|
+
interface AppVercelStorage {
|
|
2025
2026
|
}
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2027
|
+
interface AppNeonStorage {
|
|
2028
|
+
projectName: string;
|
|
2029
|
+
projectId: string;
|
|
2030
|
+
branchId: string;
|
|
2031
|
+
databaseName: string;
|
|
2030
2032
|
}
|
|
2033
|
+
type AppStorage = ({
|
|
2034
|
+
provider: "planetscale";
|
|
2035
|
+
} & AppPlanetScaleStorage) | ({
|
|
2036
|
+
provider: "vercel";
|
|
2037
|
+
} & AppVercelStorage) | ({
|
|
2038
|
+
provider: "neon";
|
|
2039
|
+
} & AppNeonStorage);
|
|
2031
2040
|
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2041
|
+
type LinkAppStoragePlanetScaleDatabaseData = {
|
|
2042
|
+
type: "new";
|
|
2043
|
+
databaseName?: string;
|
|
2044
|
+
} | {
|
|
2045
|
+
type: "existing";
|
|
2046
|
+
databaseId: string;
|
|
2047
|
+
};
|
|
2048
|
+
type LinkAppStoragePlanetScaleData = {
|
|
2049
|
+
organization: string;
|
|
2050
|
+
} & LinkAppStoragePlanetScaleDatabaseData;
|
|
2051
|
+
type LinkAppStorageNeonData = {
|
|
2052
|
+
type: "new";
|
|
2053
|
+
projectName?: string;
|
|
2054
|
+
databaseName?: string;
|
|
2055
|
+
} | {
|
|
2056
|
+
type: "existing";
|
|
2057
|
+
projectId: string;
|
|
2058
|
+
databaseId?: number;
|
|
2059
|
+
databaseName: string;
|
|
2060
|
+
branchId: string;
|
|
2061
|
+
databaseType: "new" | "existing";
|
|
2062
|
+
};
|
|
2063
|
+
type LinkAppStorageVercelData = {
|
|
2064
|
+
type: "new";
|
|
2065
|
+
} | {
|
|
2066
|
+
type: "existing";
|
|
2067
|
+
};
|
|
2068
|
+
type LinkAppStorageData = ({
|
|
2069
|
+
provider: "planetscale";
|
|
2070
|
+
} & LinkAppStoragePlanetScaleData) | ({
|
|
2071
|
+
provider: "vercel";
|
|
2072
|
+
} & LinkAppStorageVercelData) | ({
|
|
2073
|
+
provider: "neon";
|
|
2074
|
+
} & LinkAppStorageNeonData);
|
|
2075
|
+
type LinkAppStoragePayload = {
|
|
2076
|
+
appId: string;
|
|
2077
|
+
appName: string;
|
|
2078
|
+
} & LinkAppStorageData;
|
|
2079
|
+
|
|
2080
|
+
interface UnlinkAppStoragePayload {
|
|
2081
|
+
appId: string;
|
|
2082
|
+
shouldDelete?: boolean;
|
|
2083
|
+
shouldDeleteDatabase?: boolean;
|
|
2035
2084
|
}
|
|
2036
2085
|
|
|
2037
|
-
interface
|
|
2038
|
-
|
|
2039
|
-
|
|
2086
|
+
interface AddAppAuthorizationData {
|
|
2087
|
+
type: "server_side_app" | "javascript_app";
|
|
2088
|
+
configurationUri: string;
|
|
2089
|
+
redirectUri: string;
|
|
2090
|
+
scopes: Omit<ClientScopeDto, "description">[];
|
|
2091
|
+
visibility: string;
|
|
2092
|
+
}
|
|
2093
|
+
type AddAppAuthorizationPayload = {
|
|
2094
|
+
appId: string;
|
|
2095
|
+
appName: string;
|
|
2096
|
+
} & AddAppAuthorizationData;
|
|
2097
|
+
interface AddAppAuthorizationResult {
|
|
2098
|
+
secret: string;
|
|
2040
2099
|
}
|
|
2041
2100
|
|
|
2042
|
-
interface
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
company: string;
|
|
2054
|
-
website: string;
|
|
2055
|
-
github: string;
|
|
2056
|
-
twitter: string;
|
|
2057
|
-
contactEmail: string;
|
|
2058
|
-
discordUserId: string;
|
|
2059
|
-
};
|
|
2060
|
-
surveys: {
|
|
2061
|
-
question: string;
|
|
2062
|
-
answer: string;
|
|
2063
|
-
comment: string;
|
|
2064
|
-
}[];
|
|
2065
|
-
links: null;
|
|
2066
|
-
registeredAt: string;
|
|
2067
|
-
lastLoginAt: string;
|
|
2068
|
-
version: number;
|
|
2069
|
-
active: boolean;
|
|
2070
|
-
features: {
|
|
2071
|
-
experimental?: boolean;
|
|
2101
|
+
interface AddAppMonetizationData {
|
|
2102
|
+
creditCardRequired: boolean;
|
|
2103
|
+
frequency: "monthly" | "once";
|
|
2104
|
+
perAccount: boolean;
|
|
2105
|
+
price: number;
|
|
2106
|
+
tiersPricingConfig: {
|
|
2107
|
+
enabled: boolean;
|
|
2108
|
+
tiers: {
|
|
2109
|
+
accountsFrom: number;
|
|
2110
|
+
discount: number;
|
|
2111
|
+
}[];
|
|
2072
2112
|
};
|
|
2113
|
+
trialDays: number;
|
|
2073
2114
|
}
|
|
2074
2115
|
|
|
2075
|
-
interface
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
interface UserVercelIntegrationDto {
|
|
2082
|
-
installationId: string;
|
|
2083
|
-
installationToken: string;
|
|
2084
|
-
githubInstallationId: string;
|
|
2085
|
-
configurationId?: string;
|
|
2086
|
-
teamId: string;
|
|
2087
|
-
userId: string;
|
|
2088
|
-
}
|
|
2089
|
-
interface UserPlanetScaleIntegrationDto {
|
|
2090
|
-
refreshToken: string;
|
|
2091
|
-
}
|
|
2092
|
-
interface UserSentryIntegrationDto {
|
|
2093
|
-
githubIntegrationId: string;
|
|
2094
|
-
githubInstallationId: string;
|
|
2095
|
-
installationId: string;
|
|
2096
|
-
refreshToken: string;
|
|
2097
|
-
organizationSlug: string;
|
|
2116
|
+
interface AddAppPropertiesData {
|
|
2117
|
+
name: string;
|
|
2118
|
+
type: PropertyDto["type"];
|
|
2119
|
+
default_value: string;
|
|
2120
|
+
access: PropertyAccessDto;
|
|
2121
|
+
owner_client_id: string;
|
|
2098
2122
|
}
|
|
2099
|
-
|
|
2100
|
-
|
|
2123
|
+
|
|
2124
|
+
interface AddAppWidgetsData {
|
|
2125
|
+
placement: string;
|
|
2126
|
+
url: string;
|
|
2101
2127
|
}
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2128
|
+
|
|
2129
|
+
type AppVariableType = "custom" | "auth" | "storage";
|
|
2130
|
+
type AppVariableStatus = "valid" | "invalid" | "warning" | "unknown";
|
|
2131
|
+
type AppVariableLocalProvider = "console";
|
|
2132
|
+
type AppVariableExternalProvider = "vercel" | "netlify";
|
|
2133
|
+
type AppVariableProvider = AppVariableLocalProvider | AppVariableExternalProvider;
|
|
2134
|
+
interface AppVariable {
|
|
2135
|
+
key: string;
|
|
2136
|
+
value: {
|
|
2137
|
+
local?: {
|
|
2138
|
+
type: AppVariableLocalProvider;
|
|
2139
|
+
id: string;
|
|
2140
|
+
value: string;
|
|
2141
|
+
isReadonly: boolean;
|
|
2142
|
+
};
|
|
2143
|
+
external?: {
|
|
2144
|
+
type: AppVariableExternalProvider;
|
|
2145
|
+
id: string;
|
|
2146
|
+
value: string;
|
|
2147
|
+
};
|
|
2148
|
+
};
|
|
2149
|
+
type?: AppVariableType;
|
|
2150
|
+
status?: AppVariableStatus;
|
|
2151
|
+
isLinked: boolean;
|
|
2152
|
+
isDecrypted: boolean;
|
|
2109
2153
|
}
|
|
2110
2154
|
|
|
2111
|
-
interface
|
|
2112
|
-
|
|
2155
|
+
interface CreateAppVariablePayload {
|
|
2156
|
+
appId: string;
|
|
2157
|
+
key: string;
|
|
2158
|
+
value: string;
|
|
2113
2159
|
}
|
|
2114
2160
|
|
|
2115
|
-
interface
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
sentry?: Partial<UserSentryIntegrationDto> | null;
|
|
2121
|
-
neon?: Partial<UserNeonIntegrationDto> | null;
|
|
2161
|
+
interface EditAppVariablePayload {
|
|
2162
|
+
appId: string;
|
|
2163
|
+
key: string;
|
|
2164
|
+
localValue: string;
|
|
2165
|
+
externalValue: string;
|
|
2122
2166
|
}
|
|
2123
2167
|
|
|
2124
|
-
interface
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
notifications: {
|
|
2133
|
-
ticket: number;
|
|
2134
|
-
incoming_chat: number;
|
|
2135
|
-
new_visitor: number;
|
|
2136
|
-
unassigned_chat_messages: number;
|
|
2137
|
-
unassigned_chats: number;
|
|
2138
|
-
queued_visitor: number;
|
|
2139
|
-
new_goal: number;
|
|
2140
|
-
returning_visitor: number;
|
|
2141
|
-
incoming_message_for_focused_chat: number;
|
|
2142
|
-
visitor_is_typing: number;
|
|
2168
|
+
interface SyncAppVariablePayload {
|
|
2169
|
+
source: {
|
|
2170
|
+
type: AppVariableProvider;
|
|
2171
|
+
id: string;
|
|
2172
|
+
value: string;
|
|
2173
|
+
};
|
|
2174
|
+
target: {
|
|
2175
|
+
id?: string;
|
|
2143
2176
|
};
|
|
2144
|
-
nick: string;
|
|
2145
|
-
chats_enabled: number;
|
|
2146
|
-
last_logout: number;
|
|
2147
|
-
send_tutorials: number;
|
|
2148
|
-
visited_welcome_tutorial: number;
|
|
2149
|
-
login_status: string;
|
|
2150
|
-
visited_tickets_tutorial: number;
|
|
2151
|
-
active: number;
|
|
2152
|
-
default_group_priority: string;
|
|
2153
|
-
app_installed: number;
|
|
2154
|
-
max_chats_count: number;
|
|
2155
|
-
inactive_status: number;
|
|
2156
|
-
mute_all_sounds: number;
|
|
2157
|
-
onboarding_completed: number;
|
|
2158
|
-
timezone: string;
|
|
2159
|
-
last_chat_start_timestamp: string;
|
|
2160
|
-
"integration.botengine.inapp_status": string;
|
|
2161
|
-
suspended: number;
|
|
2162
|
-
avatar: string | null;
|
|
2163
|
-
"email.bounce": number;
|
|
2164
|
-
awaiting_approval: number;
|
|
2165
|
-
ticket_notifications: number;
|
|
2166
|
-
daily_summary: number;
|
|
2167
|
-
email: string;
|
|
2168
|
-
last_status: string;
|
|
2169
|
-
customers_visited: number;
|
|
2170
|
-
name: string;
|
|
2171
|
-
job_title: string;
|
|
2172
|
-
inactive_notifications: number;
|
|
2173
|
-
unassigned_chat_notifications: number;
|
|
2174
|
-
weekly_summary: number;
|
|
2175
|
-
state: string;
|
|
2176
|
-
mobile: string;
|
|
2177
|
-
"email.bounce.type": number;
|
|
2178
|
-
customers_enabled: number;
|
|
2179
|
-
permission: string;
|
|
2180
|
-
"email.bounce.date": number;
|
|
2181
|
-
repeat_sound_notifications: number;
|
|
2182
|
-
design_version: number;
|
|
2183
|
-
status: string;
|
|
2184
|
-
instances: [];
|
|
2185
|
-
api_key: string;
|
|
2186
|
-
license_id: number;
|
|
2187
|
-
bot: number;
|
|
2188
|
-
account_id: string;
|
|
2189
2177
|
}
|
|
2190
2178
|
|
|
2191
|
-
interface
|
|
2179
|
+
interface AppManifest {
|
|
2192
2180
|
id: string;
|
|
2193
|
-
account_id: string;
|
|
2194
2181
|
name: string;
|
|
2195
|
-
|
|
2196
|
-
role: string;
|
|
2197
|
-
login_status: string;
|
|
2182
|
+
blocks?: AppInfrastructureBlocks;
|
|
2198
2183
|
}
|
|
2199
2184
|
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
agent?: [AccessLevel];
|
|
2203
|
-
customer?: [AccessLevel];
|
|
2204
|
-
}
|
|
2205
|
-
interface PropertyAccessDto {
|
|
2206
|
-
chat?: PropertyAccessItemDto;
|
|
2207
|
-
event?: PropertyAccessItemDto;
|
|
2208
|
-
thread?: PropertyAccessItemDto;
|
|
2209
|
-
license?: PropertyAccessItemDto;
|
|
2210
|
-
group?: PropertyAccessItemDto;
|
|
2211
|
-
}
|
|
2212
|
-
interface PropertyDto {
|
|
2213
|
-
type: "int" | "bool" | "string" | "tokenized_string";
|
|
2214
|
-
description: string;
|
|
2215
|
-
domain?: string[];
|
|
2216
|
-
range?: {
|
|
2217
|
-
to: number;
|
|
2218
|
-
from: number;
|
|
2219
|
-
};
|
|
2220
|
-
access: PropertyAccessDto;
|
|
2221
|
-
public_access?: PropertyAccessItemDto;
|
|
2222
|
-
default_value: unknown;
|
|
2185
|
+
interface VerifyAppManifestPayload {
|
|
2186
|
+
manifest: AppManifest;
|
|
2223
2187
|
}
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
name: string;
|
|
2227
|
-
owner_client_id: string;
|
|
2188
|
+
interface VerifyAppManifestResult {
|
|
2189
|
+
status: "ok" | "nok";
|
|
2228
2190
|
}
|
|
2229
2191
|
|
|
2230
|
-
interface
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
action: string;
|
|
2234
|
-
description: string;
|
|
2235
|
-
owner_client_id: string;
|
|
2236
|
-
type: "bot" | "license";
|
|
2237
|
-
filters?: {
|
|
2238
|
-
author_type?: "agent" | "customer";
|
|
2239
|
-
only_my_chats?: boolean;
|
|
2192
|
+
interface PlatformAdapterClientInstanceAuthorization {
|
|
2193
|
+
platform?: {
|
|
2194
|
+
dps?: string;
|
|
2240
2195
|
};
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
url: string;
|
|
2245
|
-
api_version?: string;
|
|
2246
|
-
action: string;
|
|
2247
|
-
description: string;
|
|
2248
|
-
secret_key: string;
|
|
2249
|
-
owner_client_id: string;
|
|
2250
|
-
type: "bot" | "license";
|
|
2251
|
-
filters?: {
|
|
2252
|
-
author_type?: "agent" | "customer";
|
|
2253
|
-
only_my_chats?: boolean;
|
|
2196
|
+
github?: {
|
|
2197
|
+
app?: string;
|
|
2198
|
+
oauth?: string;
|
|
2254
2199
|
};
|
|
2200
|
+
netlify?: string;
|
|
2201
|
+
vercel?: string;
|
|
2202
|
+
planetscale?: string;
|
|
2203
|
+
sentry?: string;
|
|
2204
|
+
neon?: string;
|
|
2205
|
+
openai?: string;
|
|
2255
2206
|
}
|
|
2207
|
+
type PlatformAdapterClientInstanceOptions = PlatformAdapterClientInstanceAuthorization & {
|
|
2208
|
+
ensureAuthorizationToken?: {
|
|
2209
|
+
platform?: {
|
|
2210
|
+
dps?: boolean;
|
|
2211
|
+
};
|
|
2212
|
+
github?: boolean;
|
|
2213
|
+
netlify?: boolean;
|
|
2214
|
+
vercel?: boolean;
|
|
2215
|
+
planetscale?: boolean;
|
|
2216
|
+
sentry?: boolean;
|
|
2217
|
+
neon?: boolean;
|
|
2218
|
+
openai?: boolean;
|
|
2219
|
+
};
|
|
2220
|
+
};
|
|
2221
|
+
declare function getPlatformAdapterClientAuthorization(req: {
|
|
2222
|
+
headers: Record<string, string | string[] | undefined>;
|
|
2223
|
+
}): PlatformAdapterClientInstanceAuthorization;
|
|
2224
|
+
declare const platformAdapterClientInstance: axios.AxiosInstance;
|
|
2225
|
+
declare function getPlatformAdapterClientConfig(options?: PlatformAdapterClientInstanceOptions): AxiosRequestConfig;
|
|
2226
|
+
declare function initPlatformAdapterClientInstance(baseUrl?: string, tokens?: {
|
|
2227
|
+
platform?: {
|
|
2228
|
+
dps?: string;
|
|
2229
|
+
};
|
|
2230
|
+
github: {
|
|
2231
|
+
app?: string;
|
|
2232
|
+
oauth?: string;
|
|
2233
|
+
};
|
|
2234
|
+
netlify?: string;
|
|
2235
|
+
vercel?: string;
|
|
2236
|
+
planetscale?: string;
|
|
2237
|
+
neon?: string;
|
|
2238
|
+
sentry?: string;
|
|
2239
|
+
openai?: string;
|
|
2240
|
+
}): void;
|
|
2241
|
+
declare function updatePlatformAdapterClientInstance(tokens?: {
|
|
2242
|
+
platform?: {
|
|
2243
|
+
dps?: string;
|
|
2244
|
+
};
|
|
2245
|
+
github?: {
|
|
2246
|
+
app?: string;
|
|
2247
|
+
oauth?: string;
|
|
2248
|
+
};
|
|
2249
|
+
netlify?: string;
|
|
2250
|
+
vercel?: string;
|
|
2251
|
+
planetscale?: string;
|
|
2252
|
+
neon?: string;
|
|
2253
|
+
sentry?: string;
|
|
2254
|
+
openai?: string;
|
|
2255
|
+
}): void;
|
|
2256
2256
|
|
|
2257
2257
|
type LiveChatConfigurationApiError = {
|
|
2258
2258
|
type: string;
|
|
2259
2259
|
message: string;
|
|
2260
2260
|
};
|
|
2261
2261
|
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2262
|
+
interface AppTemplate {
|
|
2263
|
+
id: string;
|
|
2264
|
+
name: string;
|
|
2265
|
+
description: string;
|
|
2266
|
+
repository: {
|
|
2267
|
+
name: string;
|
|
2268
|
+
target?: AppRepositoryTarget;
|
|
2269
|
+
};
|
|
2270
|
+
tags: string[];
|
|
2265
2271
|
}
|
|
2266
|
-
interface
|
|
2267
|
-
|
|
2272
|
+
interface AppTemplates {
|
|
2273
|
+
nextjs: AppTemplate;
|
|
2274
|
+
vite: AppTemplate;
|
|
2268
2275
|
}
|
|
2269
|
-
declare const livechatClientInstance: axios.AxiosInstance;
|
|
2270
|
-
declare function getLiveChatClientAuthorization(req: {
|
|
2271
|
-
headers: Record<string, string | string[] | undefined>;
|
|
2272
|
-
}): LiveChatClientInstanceAuthorization;
|
|
2273
|
-
declare function getLiveChatClientConfig(options?: LiveChatClientInstanceOptions): AxiosRequestConfig;
|
|
2274
|
-
declare function initLiveChatClientInstance(baseUrl?: string, token?: string): void;
|
|
2275
2276
|
|
|
2276
2277
|
declare const api: {
|
|
2277
2278
|
platform: {
|
|
2278
2279
|
accounts: {
|
|
2279
2280
|
account: {
|
|
2280
|
-
readonly getAccounts: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<AccountDto[]>>;
|
|
2281
|
-
readonly getAccount: (accountId: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<AccountDto>>;
|
|
2282
|
-
readonly getMeAccount: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<MyAccountDto>>;
|
|
2281
|
+
readonly getAccounts: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<AccountDto[], any>>;
|
|
2282
|
+
readonly getAccount: (accountId: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<AccountDto, any>>;
|
|
2283
|
+
readonly getMeAccount: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<MyAccountDto, any>>;
|
|
2283
2284
|
};
|
|
2284
2285
|
client: {
|
|
2285
|
-
readonly getClients: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientDto[]>>;
|
|
2286
|
-
readonly getClient: (clientId: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientDto>>;
|
|
2287
|
-
readonly createClient: (payload: CreateClientPayload, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientWithSecretDto>>;
|
|
2288
|
-
readonly updateClient: (clientId: string, payload: UpdateClientPayload, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void>>;
|
|
2289
|
-
readonly deleteClient: (clientId: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void>>;
|
|
2290
|
-
readonly updateClientScopes: (clientId: string, scopes: ClientScopeDto[], authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void>>;
|
|
2291
|
-
readonly deleteClientScopes: (clientId: string, scopes: ClientScopeDto[], authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void>>;
|
|
2292
|
-
readonly getInfo: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientInfoDto>>;
|
|
2286
|
+
readonly getClients: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientDto[], any>>;
|
|
2287
|
+
readonly getClient: (clientId: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientDto, any>>;
|
|
2288
|
+
readonly createClient: (payload: CreateClientPayload, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientWithSecretDto, any>>;
|
|
2289
|
+
readonly updateClient: (clientId: string, payload: UpdateClientPayload, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2290
|
+
readonly deleteClient: (clientId: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2291
|
+
readonly updateClientScopes: (clientId: string, scopes: ClientScopeDto[], authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2292
|
+
readonly deleteClientScopes: (clientId: string, scopes: ClientScopeDto[], authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2293
|
+
readonly getInfo: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientInfoDto, any>>;
|
|
2293
2294
|
};
|
|
2294
2295
|
pat: {
|
|
2295
2296
|
readonly getPersonalAccessTokens: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<PatDto[]>;
|
|
@@ -2298,7 +2299,7 @@ declare const api: {
|
|
|
2298
2299
|
};
|
|
2299
2300
|
organization: {
|
|
2300
2301
|
readonly getOrganizations: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<OrganizationDto[]>;
|
|
2301
|
-
readonly getMyOrganization: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<OrganizationDto>>;
|
|
2302
|
+
readonly getMyOrganization: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<OrganizationDto, any>>;
|
|
2302
2303
|
};
|
|
2303
2304
|
products: {
|
|
2304
2305
|
readonly getOrganizationProducts: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<ProductDto[]>;
|
|
@@ -2310,21 +2311,21 @@ declare const api: {
|
|
|
2310
2311
|
readonly getScopes: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<ScopeDto[]>;
|
|
2311
2312
|
};
|
|
2312
2313
|
sessions: {
|
|
2313
|
-
readonly deleteSessions: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void>>;
|
|
2314
|
+
readonly deleteSessions: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2314
2315
|
};
|
|
2315
2316
|
token: {
|
|
2316
|
-
exchangeCode(code: string, clientId: string, clientSecret: string, redirectUrl: string): Promise<axios.AxiosResponse<AuthorizeData>>;
|
|
2317
|
+
exchangeCode(code: string, clientId: string, clientSecret: string, redirectUrl: string): Promise<axios.AxiosResponse<AuthorizeData, any>>;
|
|
2317
2318
|
};
|
|
2318
2319
|
};
|
|
2319
2320
|
billing: {
|
|
2320
2321
|
account: {
|
|
2321
|
-
readonly getAccount: (authorization?: PlatformBillingClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<BillingAccountDto>>;
|
|
2322
|
-
readonly getAccountInfo: (authorization?: PlatformBillingClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<BillingAccountInfoDto>>;
|
|
2322
|
+
readonly getAccount: (authorization?: PlatformBillingClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<BillingAccountDto, any>>;
|
|
2323
|
+
readonly getAccountInfo: (authorization?: PlatformBillingClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<BillingAccountInfoDto, any>>;
|
|
2323
2324
|
};
|
|
2324
2325
|
invoices: {
|
|
2325
2326
|
readonly getInvoices: (authorization?: PlatformBillingClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<{
|
|
2326
2327
|
result: BillingInvoiceDto[];
|
|
2327
|
-
}>>;
|
|
2328
|
+
}, any>>;
|
|
2328
2329
|
readonly downloadInvoices: (number: number, authorization?: PlatformBillingClientInstanceAuthorization | undefined) => Promise<void>;
|
|
2329
2330
|
};
|
|
2330
2331
|
};
|
|
@@ -2393,7 +2394,7 @@ declare const api: {
|
|
|
2393
2394
|
getTemplates(authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppTemplates>;
|
|
2394
2395
|
};
|
|
2395
2396
|
conductor: {
|
|
2396
|
-
request<TData>(config: axios.AxiosRequestConfig
|
|
2397
|
+
request<TData>(config: axios.AxiosRequestConfig<any>, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<TData>;
|
|
2397
2398
|
};
|
|
2398
2399
|
proxy: {
|
|
2399
2400
|
neon: {
|
|
@@ -2425,9 +2426,9 @@ declare const api: {
|
|
|
2425
2426
|
deleteChatAction(appId: string, chatActionId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2426
2427
|
};
|
|
2427
2428
|
chatBoosters: {
|
|
2428
|
-
createChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2429
|
-
updateChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2430
|
-
deleteChatBooster(appId: string, chatBoosterId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2429
|
+
createChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2430
|
+
updateChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2431
|
+
deleteChatBooster(appId: string, chatBoosterId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2431
2432
|
};
|
|
2432
2433
|
customProps: {
|
|
2433
2434
|
createCustomProps(appId: string, property: ApplicationPropertyDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<undefined>;
|
|
@@ -2456,6 +2457,7 @@ declare const api: {
|
|
|
2456
2457
|
blocks: {
|
|
2457
2458
|
getBlocks(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<AppInfrastructureBlocks>;
|
|
2458
2459
|
updateBlocks(appId: string, payload: UpdateAppInfrastructureBlocksPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2460
|
+
deleteBlock(appId: string, block: keyof UpdateAppInfrastructureBlocksPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2459
2461
|
updateRepository(appId: string, payload: {
|
|
2460
2462
|
provider: AppRepositoryProvider;
|
|
2461
2463
|
}, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
@@ -2484,11 +2486,11 @@ declare const api: {
|
|
|
2484
2486
|
updateProduct(appId: string, payload: UpdateApplicationProductPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2485
2487
|
};
|
|
2486
2488
|
resource: {
|
|
2487
|
-
getAppUpgrades(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppResourceDto | null>>;
|
|
2488
|
-
createAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2489
|
-
updateAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2490
|
-
deleteAppUpgrade(appId: string, resourceId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
|
|
2491
|
-
copyUpgrade(sourceAppId: string, destinationAppId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2489
|
+
getAppUpgrades(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppResourceDto | null, any>>;
|
|
2490
|
+
createAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2491
|
+
updateAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2492
|
+
deleteAppUpgrade(appId: string, resourceId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any, any>>;
|
|
2493
|
+
copyUpgrade(sourceAppId: string, destinationAppId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2492
2494
|
};
|
|
2493
2495
|
review: {
|
|
2494
2496
|
createSubmission(appId: string, payload: CreateApplicationSubmissionPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<undefined>;
|
|
@@ -2499,7 +2501,7 @@ declare const api: {
|
|
|
2499
2501
|
};
|
|
2500
2502
|
webhooks: {
|
|
2501
2503
|
updateAppWebhooks(appId: string, payload: UpdateApplicationWebhookPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2502
|
-
getChatWebhook(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
|
|
2504
|
+
getChatWebhook(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any, any>>;
|
|
2503
2505
|
updateChatWebhook(appId: string, payload: UpdateChatWebhookPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2504
2506
|
deleteChatWebhook(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2505
2507
|
};
|
|
@@ -2515,11 +2517,11 @@ declare const api: {
|
|
|
2515
2517
|
data: {
|
|
2516
2518
|
id: string;
|
|
2517
2519
|
};
|
|
2518
|
-
}>>;
|
|
2519
|
-
publish(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
|
|
2520
|
+
}, any>>;
|
|
2521
|
+
publish(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any, any>>;
|
|
2520
2522
|
updateQL(appId: string): Promise<void>;
|
|
2521
2523
|
deleteApp(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2522
|
-
createAiContent(appId: string, appName: string, appSummary: string): Promise<axios.AxiosResponse<any>>;
|
|
2524
|
+
createAiContent(appId: string, appName: string, appSummary: string): Promise<axios.AxiosResponse<any, any>>;
|
|
2523
2525
|
};
|
|
2524
2526
|
usage: {
|
|
2525
2527
|
getUsage(appId: string, options: ApplicationUsageOptionsDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<unknown[]>;
|
|
@@ -2613,27 +2615,27 @@ declare const api: {
|
|
|
2613
2615
|
};
|
|
2614
2616
|
configuration: {
|
|
2615
2617
|
agents: {
|
|
2616
|
-
getAgents(authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AgentConfigurationDto[]>>;
|
|
2618
|
+
getAgents(authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AgentConfigurationDto[], any>>;
|
|
2617
2619
|
};
|
|
2618
2620
|
property: {
|
|
2619
|
-
getProperties(clientId: string, isAgent?: boolean | undefined, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<PropertiesDto>>;
|
|
2620
|
-
registerProperty(property: Property, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2621
|
-
unregisterProperty(propertyId: string, clientId: string, properties?: PropertyDto[] | undefined, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2622
|
-
publishProperty(propertyId: string, clientId: string, accessType: PropertyAccessItemDto, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2623
|
-
publishProperties(properties: Property[], authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>[]>;
|
|
2624
|
-
registerProperties(properties: Property[], authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>[]>;
|
|
2621
|
+
getProperties(clientId: string, isAgent?: boolean | undefined, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<PropertiesDto, any>>;
|
|
2622
|
+
registerProperty(property: Property, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2623
|
+
unregisterProperty(propertyId: string, clientId: string, properties?: PropertyDto[] | undefined, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2624
|
+
publishProperty(propertyId: string, clientId: string, accessType: PropertyAccessItemDto, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2625
|
+
publishProperties(properties: Property[], authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>[]>;
|
|
2626
|
+
registerProperties(properties: Property[], authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>[]>;
|
|
2625
2627
|
unregisterProperties(clientId: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<void>;
|
|
2626
2628
|
};
|
|
2627
2629
|
webhook: {
|
|
2628
|
-
getWebhooks(clientId: string, isAgent?: boolean | undefined, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto[]>>;
|
|
2629
|
-
unregisterWebhook(clientId: string, webhookId: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2630
|
+
getWebhooks(clientId: string, isAgent?: boolean | undefined, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto[], any>>;
|
|
2631
|
+
unregisterWebhook(clientId: string, webhookId: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2630
2632
|
unregisterWebhooks(clientId: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<void>;
|
|
2631
2633
|
registerWebhooks(webhooks: Webhook[], authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<void>;
|
|
2632
2634
|
migrateWebhooks(webhooks: Webhook[], clientId: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<void>;
|
|
2633
|
-
getLicenseWebhooksList(isAgent: boolean, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any> | {
|
|
2635
|
+
getLicenseWebhooksList(isAgent: boolean, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any, any> | {
|
|
2634
2636
|
data: never[];
|
|
2635
2637
|
}>;
|
|
2636
|
-
deleteLicenseWebhook(id: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2638
|
+
deleteLicenseWebhook(id: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2637
2639
|
};
|
|
2638
2640
|
};
|
|
2639
2641
|
};
|
|
@@ -2652,7 +2654,7 @@ declare const api: {
|
|
|
2652
2654
|
getRepositorySeed(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepositorySeed | undefined>;
|
|
2653
2655
|
createRepository(name: string, hasInstallation: boolean, template?: string | undefined, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepository>;
|
|
2654
2656
|
seedRepository(repositoryName: string, appId: string, clientId: string | undefined, isForLabs?: boolean | undefined, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepositorySeed>;
|
|
2655
|
-
deleteRepository(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
|
|
2657
|
+
deleteRepository(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any, any>>;
|
|
2656
2658
|
createRepositoryDeployKey(repositoryName: string, deployKey: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<{
|
|
2657
2659
|
keys: GitHubRepositoryKey[];
|
|
2658
2660
|
}>;
|
|
@@ -2926,4 +2928,4 @@ declare class UnauthorizeApiError extends Error {
|
|
|
2926
2928
|
constructor(source: UnauthorizeApiErrorSource);
|
|
2927
2929
|
}
|
|
2928
2930
|
|
|
2929
|
-
export { API_NOTIFICATIONS, AccountDto, AddAppAuthorizationData, AddAppAuthorizationPayload, AddAppAuthorizationResult, AddAppMonetizationData, AddAppPropertiesData, AddAppWidgetsData, AgentConfigurationDto, AgentDto, ApiError, AppDeployment, AppDeploymentBlock, AppDeploymentMode, AppDeploymentProvider, AppGitHubRepository, AppGitHubRepositoryConfig, AppGitLabRepository, AppInfrastructureBlocks, AppLoggerBlock, AppLoggerProvider, AppManifest, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppRepository, AppRepositoryBlock, AppRepositoryProvider, AppRepositoryTarget, AppResourceDto, AppSentryLogger, AppSentryLoggerConfig, AppStatsDto, AppStorage, AppStorageBlock, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppVercelStorage, AppVercelStorageConfig, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateAuthorizationPayload, CreateAuthorizationResponse, CreateClientPayload, CreateCreatorAppPayload, CreateCreatorAppResponse, CreateDeploymentAccessibilityPayload, CreateDeploymentAccessibilityResponse, CreateDeploymentPayload, CreateDeploymentResponse, CreateMonetizationPayload, CreatePropertiesPayload, CreateRepositoryPayload, CreateRepositoryResponse, CreateSeedPayload, CreateSeedResponse, CreateStoragePayload, CreateWidgetPayload, DeveloperLedgerParams, EditAppVariablePayload, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientInstanceAuthorization, GithubClientRequestOptions, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryGitLabData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppSentryLoggerPayload, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LinkAppStorageVercelData, LinkSentryLoggerResponse, LiveChatClientInstanceAuthorization, LiveChatClientInstanceOptions, LiveChatConfigurationApiError, MyAccountDto, NeonClientInstanceAuthorization, NeonClientInstanceOptions, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyClientInstanceAuthorization, NetlifyClientInstanceOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifySite, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleClientInstanceAuthorization, PlanetScaleClientInstanceOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientInstanceAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientInstanceAuthorization, PlatformAdapterClientInstanceOptions, PlatformBillingClientInstanceAuthorization, PlatformBillingClientInstanceOptions, PlatformDpsClientInstanceAuthorization, PlatformDpsClientInstanceOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, SentryClientInstanceAuthorization, SentryClientInstanceOptions, SentryIntegration, SentryOrganization, SentryProject, SentryProjectIssue, SentryProjectIssueEvent, SentryProjectKey, SentryRepository, SentryTeam, ShortcutDto, SyncAppVariablePayload, TextClientInstanceAuthorization, TextClientInstanceOptions, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, UnauthorizeApiError, UnauthorizeApiErrorSource, UnlinkAppDeploymentPayload, UnlinkAppRepositoryPayload, UnlinkAppSentryLoggerPayload, UnlinkAppStoragePayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppResourcePayload, UpsertApplicationChatBoosterPayload, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserSentryIntegrationDto, UserVercelIntegrationDto, VercelClientInstanceAuthorization, VercelClientInstanceOptions, VercelDeploy, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppManifestPayload, VerifyAppManifestResult, Webhook, WebhookDto, api, getAppAutoReviewPayload, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientRequestConfig, getLiveChatClientAuthorization, getLiveChatClientConfig, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAccountsClientConfig, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getSentryClientAuthorization, getSentryClientConfig, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClientInstance, initLiveChatClientInstance, initNeonClientInstance, initNetlifyClientInstance, initPlanetScaleClientInstance, initPlatformAccountsClientInstance, initPlatformAdapterClientInstance, initPlatformBillingClientInstance, initPlatformDpsClientInstance, initSentryClientInstance, initTextClientInstance, initVercelClientInstance, livechatClientInstance, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, sentryClientInstance, textClientInstance, updateGithubClientInstance, updateNeonClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };
|
|
2931
|
+
export { API_NOTIFICATIONS, AccountDto, AddAppAuthorizationData, AddAppAuthorizationPayload, AddAppAuthorizationResult, AddAppMonetizationData, AddAppPropertiesData, AddAppWidgetsData, AgentConfigurationDto, AgentDto, ApiError, AppDeployment, AppDeploymentBlock, AppDeploymentMode, AppDeploymentProvider, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppGitLabRepository, AppInfrastructureBlocks, AppLoggerBlock, AppLoggerProvider, AppManifest, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppRepository, AppRepositoryBlock, AppRepositoryProvider, AppRepositoryTarget, AppResourceDto, AppSentryLogger, AppSentryLoggerConfig, AppStatsDto, AppStorage, AppStorageBlock, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppVercelStorage, AppVercelStorageConfig, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateAuthorizationPayload, CreateAuthorizationResponse, CreateClientPayload, CreateCreatorAppPayload, CreateCreatorAppResponse, CreateDeploymentAccessibilityPayload, CreateDeploymentAccessibilityResponse, CreateDeploymentPayload, CreateDeploymentResponse, CreateMonetizationPayload, CreatePropertiesPayload, CreateRepositoryPayload, CreateRepositoryResponse, CreateSeedPayload, CreateSeedResponse, CreateStoragePayload, CreateWidgetPayload, DeveloperLedgerParams, EditAppVariablePayload, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetTextPlatformDashboardReportParams, GetVercelProjectsResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientInstanceAuthorization, GithubClientRequestOptions, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryGitLabData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppSentryLoggerPayload, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LinkAppStorageVercelData, LinkSentryLoggerResponse, LiveChatClientInstanceAuthorization, LiveChatClientInstanceOptions, LiveChatConfigurationApiError, MyAccountDto, NeonClientInstanceAuthorization, NeonClientInstanceOptions, NeonProjectBranchDto, NeonProjectBranchesDto, NeonProjectDatabaseDto, NeonProjectDatabasesDto, NeonProjectDto, NeonProjectWithConnectionUriDto, NeonProjectsDto, NeonUser, NetlifyAccount, NetlifyClientInstanceAuthorization, NetlifyClientInstanceOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifySite, OrganizationDto, PatDto, PatScopeDto, PatWithSecretDto, PlanetScaleClientInstanceAuthorization, PlanetScaleClientInstanceOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientInstanceAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientInstanceAuthorization, PlatformAdapterClientInstanceOptions, PlatformBillingClientInstanceAuthorization, PlatformBillingClientInstanceOptions, PlatformDpsClientInstanceAuthorization, PlatformDpsClientInstanceOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, SentryClientInstanceAuthorization, SentryClientInstanceOptions, SentryIntegration, SentryOrganization, SentryProject, SentryProjectIssue, SentryProjectIssueEvent, SentryProjectKey, SentryRepository, SentryTeam, ShortcutDto, SyncAppVariablePayload, TextClientInstanceAuthorization, TextClientInstanceOptions, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, UnauthorizeApiError, UnauthorizeApiErrorSource, UnlinkAppDeploymentPayload, UnlinkAppRepositoryPayload, UnlinkAppSentryLoggerPayload, UnlinkAppStoragePayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppResourcePayload, UpsertApplicationChatBoosterPayload, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserSentryIntegrationDto, UserVercelIntegrationDto, VercelClientInstanceAuthorization, VercelClientInstanceOptions, VercelDeploy, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppManifestPayload, VerifyAppManifestResult, Webhook, WebhookDto, api, getAppAutoReviewPayload, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientRequestConfig, getLiveChatClientAuthorization, getLiveChatClientConfig, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAccountsClientConfig, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getSentryClientAuthorization, getSentryClientConfig, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClientInstance, initLiveChatClientInstance, initNeonClientInstance, initNetlifyClientInstance, initPlanetScaleClientInstance, initPlatformAccountsClientInstance, initPlatformAdapterClientInstance, initPlatformBillingClientInstance, initPlatformDpsClientInstance, initSentryClientInstance, initTextClientInstance, initVercelClientInstance, livechatClientInstance, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, sentryClientInstance, textClientInstance, updateGithubClientInstance, updateNeonClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };
|