@livechat/developer-studio-api 2.3.70 → 3.0.0-beta.1
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 +584 -610
- package/dist/index.d.ts +584 -610
- package/dist/index.js +888 -1203
- package/dist/index.mjs +877 -1198
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,28 +1,6 @@
|
|
|
1
1
|
import * as axios from 'axios';
|
|
2
2
|
import { AxiosRequestConfig } from 'axios';
|
|
3
3
|
|
|
4
|
-
interface AppEventDto {
|
|
5
|
-
name: string;
|
|
6
|
-
aggregateName: string;
|
|
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
4
|
interface GitHubInstallation {
|
|
27
5
|
id: number;
|
|
28
6
|
app_id: number;
|
|
@@ -241,149 +219,6 @@ interface PlanetScalePagination {
|
|
|
241
219
|
}
|
|
242
220
|
type PlanetScalePaginatedResult = PlanetScalePagination;
|
|
243
221
|
|
|
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;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
interface SentryProjectIssueEvent {
|
|
289
|
-
id: "ed5d462d3c324a3c8f57071aff4c817b";
|
|
290
|
-
groupID: "3948330870";
|
|
291
|
-
eventID: "ed5d462d3c324a3c8f57071aff4c817b";
|
|
292
|
-
projectID: "4504713248571392";
|
|
293
|
-
size: 49159;
|
|
294
|
-
entries: {
|
|
295
|
-
type: "exception";
|
|
296
|
-
data: {
|
|
297
|
-
values: {
|
|
298
|
-
type: string;
|
|
299
|
-
value: string;
|
|
300
|
-
stacktrace: {
|
|
301
|
-
frames: {
|
|
302
|
-
filename: "./pages/index.tsx";
|
|
303
|
-
absPath: "webpack://_N_E/./pages/index.tsx";
|
|
304
|
-
module: "pages/index";
|
|
305
|
-
package: null;
|
|
306
|
-
platform: null;
|
|
307
|
-
instructionAddr: null;
|
|
308
|
-
symbolAddr: null;
|
|
309
|
-
function: "<object>.children.onClick";
|
|
310
|
-
rawFunction: null;
|
|
311
|
-
symbol: null;
|
|
312
|
-
context: [
|
|
313
|
-
[
|
|
314
|
-
5,
|
|
315
|
-
" <ViewContainer>"
|
|
316
|
-
],
|
|
317
|
-
[
|
|
318
|
-
6,
|
|
319
|
-
" <h1>Home page</h1>"
|
|
320
|
-
],
|
|
321
|
-
[
|
|
322
|
-
7,
|
|
323
|
-
' <input type="button" value="Button" onClick={() => {'
|
|
324
|
-
],
|
|
325
|
-
[
|
|
326
|
-
8,
|
|
327
|
-
" const test: any = {}"
|
|
328
|
-
],
|
|
329
|
-
[
|
|
330
|
-
9,
|
|
331
|
-
""
|
|
332
|
-
],
|
|
333
|
-
[
|
|
334
|
-
10,
|
|
335
|
-
" test.test.doSomething();"
|
|
336
|
-
],
|
|
337
|
-
[
|
|
338
|
-
11,
|
|
339
|
-
" }} />"
|
|
340
|
-
],
|
|
341
|
-
[
|
|
342
|
-
12,
|
|
343
|
-
' <input type="button" value="Button 2" onClick={() => {'
|
|
344
|
-
],
|
|
345
|
-
[
|
|
346
|
-
13,
|
|
347
|
-
" const test: any = {}"
|
|
348
|
-
],
|
|
349
|
-
[
|
|
350
|
-
14,
|
|
351
|
-
""
|
|
352
|
-
],
|
|
353
|
-
[
|
|
354
|
-
15,
|
|
355
|
-
" test.test.doSomething();"
|
|
356
|
-
]
|
|
357
|
-
];
|
|
358
|
-
lineNo: 10;
|
|
359
|
-
colNo: 19;
|
|
360
|
-
}[];
|
|
361
|
-
};
|
|
362
|
-
}[];
|
|
363
|
-
};
|
|
364
|
-
}[];
|
|
365
|
-
message: "";
|
|
366
|
-
title: "TypeError: Cannot read properties of undefined (reading 'doSomething')";
|
|
367
|
-
location: "./pages/index.tsx";
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
interface SentryProjectKey {
|
|
371
|
-
id: string;
|
|
372
|
-
public: string;
|
|
373
|
-
secret: string;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
interface SentryRepository {
|
|
377
|
-
id: string;
|
|
378
|
-
name: string;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
interface SentryTeam {
|
|
382
|
-
id: string;
|
|
383
|
-
name: string;
|
|
384
|
-
slug: string;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
222
|
interface AppMonitoringCustomReport {
|
|
388
223
|
id: string;
|
|
389
224
|
title: string;
|
|
@@ -463,6 +298,7 @@ interface GetTextPlatformDashboardReportParams {
|
|
|
463
298
|
source?: string;
|
|
464
299
|
time_distribution: "hour" | "day";
|
|
465
300
|
group_by?: ("source" | "service" | "action")[];
|
|
301
|
+
is_source_private?: boolean;
|
|
466
302
|
}
|
|
467
303
|
|
|
468
304
|
interface TextClientInstanceAuthorization {
|
|
@@ -757,6 +593,93 @@ interface OrganizationDto {
|
|
|
757
593
|
}[];
|
|
758
594
|
}
|
|
759
595
|
|
|
596
|
+
type ApiErrorName = "adapter" | "accounts" | "dps" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "openai";
|
|
597
|
+
type ApiErrorSource = "accounts" | "github" | "vercel" | "netlify" | "planetscale" | "neon" | "openai";
|
|
598
|
+
type ApiErrorKind = "unauthorized" | "error";
|
|
599
|
+
type ApiError<TData = unknown> = {
|
|
600
|
+
code: number;
|
|
601
|
+
message: string;
|
|
602
|
+
} & ({
|
|
603
|
+
kind: "error";
|
|
604
|
+
data?: TData;
|
|
605
|
+
} | {
|
|
606
|
+
kind: "unauthorized";
|
|
607
|
+
source: ApiErrorSource;
|
|
608
|
+
});
|
|
609
|
+
declare abstract class ApiErrorBase<TErrorData> extends Error {
|
|
610
|
+
message: string;
|
|
611
|
+
data: TErrorData;
|
|
612
|
+
code: number;
|
|
613
|
+
readonly kind: ApiErrorKind;
|
|
614
|
+
abstract name: ApiErrorName;
|
|
615
|
+
["constructor"]: new (...args: ConstructorParameters<typeof ApiErrorBase>) => this;
|
|
616
|
+
constructor(message: string, data: TErrorData, code: number);
|
|
617
|
+
withCustomMessage(message: string): this;
|
|
618
|
+
}
|
|
619
|
+
declare class UnauthorizeApiError extends Error {
|
|
620
|
+
source: ApiErrorSource;
|
|
621
|
+
message: string;
|
|
622
|
+
readonly kind: ApiErrorKind;
|
|
623
|
+
readonly code = 401;
|
|
624
|
+
constructor(source: ApiErrorSource, message?: string);
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
interface SagaStep<TData = unknown, TOutput = unknown, TStatus = unknown> {
|
|
628
|
+
data: TData;
|
|
629
|
+
output: TOutput;
|
|
630
|
+
status: TStatus;
|
|
631
|
+
}
|
|
632
|
+
type SagaStepsSchema = Record<string, SagaStep | undefined>;
|
|
633
|
+
type SagaStepStatus<TData = NonNullable<unknown>> = {
|
|
634
|
+
isDone: boolean;
|
|
635
|
+
isLoading: boolean;
|
|
636
|
+
error?: {
|
|
637
|
+
message: string;
|
|
638
|
+
source?: ApiErrorSource;
|
|
639
|
+
data?: unknown;
|
|
640
|
+
statusCode?: number;
|
|
641
|
+
statusText?: string;
|
|
642
|
+
};
|
|
643
|
+
} & TData;
|
|
644
|
+
interface Saga<TStepSchema extends SagaStepsSchema> {
|
|
645
|
+
data: {
|
|
646
|
+
[name in keyof TStepSchema]: TStepSchema[name] extends undefined ? undefined : NonNullable<TStepSchema[name]>["data"];
|
|
647
|
+
};
|
|
648
|
+
output: {
|
|
649
|
+
sagaId: string;
|
|
650
|
+
steps: {
|
|
651
|
+
[name in keyof TStepSchema]: TStepSchema[name] extends undefined ? undefined : NonNullable<TStepSchema[name]>["output"];
|
|
652
|
+
};
|
|
653
|
+
isDone?: boolean;
|
|
654
|
+
};
|
|
655
|
+
status: {
|
|
656
|
+
[name in keyof TStepSchema]: TStepSchema[name] extends undefined ? undefined : SagaStepStatus & NonNullable<TStepSchema[name]>["status"];
|
|
657
|
+
};
|
|
658
|
+
}
|
|
659
|
+
type SagaInput<TSaga> = Omit<TSaga, "status">;
|
|
660
|
+
type SagaOutput<TSaga> = Omit<TSaga, "data">;
|
|
661
|
+
|
|
662
|
+
type SagaStepPropertyCompareResult<T> = {
|
|
663
|
+
isChanged: false;
|
|
664
|
+
} | {
|
|
665
|
+
isChanged: true;
|
|
666
|
+
value: T;
|
|
667
|
+
};
|
|
668
|
+
type SagaStepChanges<T> = {
|
|
669
|
+
[Key in keyof T]: SagaStepPropertyCompareResult<T[Key]>;
|
|
670
|
+
};
|
|
671
|
+
type SagaStepComparer<T> = {
|
|
672
|
+
[Key in keyof T]: (current: T[Key] | undefined, pending: T[Key] | undefined) => SagaStepPropertyCompareResult<T[Key]>;
|
|
673
|
+
};
|
|
674
|
+
|
|
675
|
+
declare class AccountsApiError extends ApiErrorBase<{
|
|
676
|
+
error: string;
|
|
677
|
+
sub_error: string;
|
|
678
|
+
error_description: string;
|
|
679
|
+
request_id: string;
|
|
680
|
+
}> {
|
|
681
|
+
name: "accounts";
|
|
682
|
+
}
|
|
760
683
|
interface PlatformAccountsClientInstanceAuthorization {
|
|
761
684
|
token?: string;
|
|
762
685
|
}
|
|
@@ -765,9 +688,7 @@ interface PlatformAccountsClientInstanceOptions {
|
|
|
765
688
|
}
|
|
766
689
|
declare const platformAccountsClientInstance: axios.AxiosInstance;
|
|
767
690
|
declare function getPlatformAccountsClientAuthorization(req: {
|
|
768
|
-
headers:
|
|
769
|
-
[key: string]: string | string[] | undefined;
|
|
770
|
-
};
|
|
691
|
+
headers: Record<string, string | string[] | undefined>;
|
|
771
692
|
}): PlatformAccountsClientInstanceAuthorization;
|
|
772
693
|
declare function getPlatformAccountsClientConfig(options?: PlatformAccountsClientInstanceOptions): AxiosRequestConfig;
|
|
773
694
|
declare function initPlatformAccountsClientInstance(baseUrl?: string, token?: string): void;
|
|
@@ -843,165 +764,176 @@ declare function getPlatformBillingClientAuthorization(req: {
|
|
|
843
764
|
declare function getPlatformBillingClientConfig(options?: PlatformBillingClientInstanceOptions): AxiosRequestConfig;
|
|
844
765
|
declare function initPlatformBillingClientInstance(baseUrl?: string, token?: string): void;
|
|
845
766
|
|
|
846
|
-
interface
|
|
847
|
-
id: string;
|
|
767
|
+
interface AppBaseData {
|
|
848
768
|
name: string;
|
|
849
|
-
|
|
850
|
-
repository: {
|
|
851
|
-
name: string;
|
|
852
|
-
target?: AppRepositoryTarget;
|
|
853
|
-
};
|
|
854
|
-
tags: string[];
|
|
855
|
-
}
|
|
856
|
-
interface AppTemplates {
|
|
857
|
-
nextjs: AppTemplate;
|
|
858
|
-
vite: AppTemplate;
|
|
769
|
+
product: string;
|
|
859
770
|
}
|
|
771
|
+
type AppManifest = AppBaseData & {
|
|
772
|
+
id?: string;
|
|
773
|
+
blocks?: {
|
|
774
|
+
authorization?: AppAuthorizationData;
|
|
775
|
+
monetization?: AppMonetizationData;
|
|
776
|
+
repository?: AppRepositoryData;
|
|
777
|
+
deployment?: AppDeploymentData;
|
|
778
|
+
storage?: AppStorageData;
|
|
779
|
+
properties?: AppPropertiesData;
|
|
780
|
+
widgets?: AppWidgetsData;
|
|
781
|
+
};
|
|
782
|
+
display?: AppDisplayData;
|
|
783
|
+
};
|
|
860
784
|
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
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?: {};
|
|
785
|
+
type PushAppSagaBaseStep = SagaStep<{
|
|
786
|
+
action: "create";
|
|
787
|
+
data: AppBaseData;
|
|
788
|
+
} | {
|
|
789
|
+
action: "update";
|
|
790
|
+
data: AppBaseData;
|
|
791
|
+
changes: SagaStepChanges<AppBaseData>;
|
|
792
|
+
meta: {
|
|
793
|
+
id: string;
|
|
890
794
|
};
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
795
|
+
}, {
|
|
796
|
+
id: string;
|
|
797
|
+
}, {
|
|
798
|
+
needToBeActivated?: boolean;
|
|
799
|
+
}>;
|
|
800
|
+
|
|
801
|
+
type PushAppSagaAuthorizationStep = SagaStep<{
|
|
802
|
+
action: "add" | "update";
|
|
803
|
+
data: AppAuthorizationData;
|
|
804
|
+
} | {
|
|
805
|
+
action: "remove";
|
|
806
|
+
}>;
|
|
807
|
+
|
|
808
|
+
type PushAppSagaMonetizationStep = SagaStep<{
|
|
809
|
+
action: "upsert";
|
|
810
|
+
data: AppMonetizationData;
|
|
811
|
+
} | {
|
|
812
|
+
action: "remove";
|
|
813
|
+
}>;
|
|
814
|
+
|
|
815
|
+
type PushAppSagaRepositoryStep = SagaStep<{
|
|
816
|
+
action: "link";
|
|
817
|
+
data: LinkAppRepositoryData;
|
|
818
|
+
} | {
|
|
819
|
+
action: "upsert";
|
|
820
|
+
data: AppRepositoryData;
|
|
821
|
+
} | {
|
|
822
|
+
action: "remove";
|
|
823
|
+
}, AppRepositoryData, {
|
|
824
|
+
needToBeInstalled?: boolean;
|
|
825
|
+
needToBeSeeded?: boolean;
|
|
826
|
+
}>;
|
|
827
|
+
|
|
828
|
+
type PushAppSagaDeploymentStep = SagaStep<{
|
|
829
|
+
action: "link";
|
|
830
|
+
data: LinkAppDeploymentData;
|
|
831
|
+
} | {
|
|
832
|
+
action: "upsert";
|
|
833
|
+
data: AppDeploymentData;
|
|
834
|
+
} | {
|
|
835
|
+
action: "remove";
|
|
836
|
+
}, AppDeploymentData, {
|
|
837
|
+
needToBeInstalled?: boolean;
|
|
838
|
+
}>;
|
|
839
|
+
|
|
840
|
+
type PushAppSagaStorageStep = SagaStep<{
|
|
841
|
+
action: "link";
|
|
842
|
+
data: LinkAppStorageData;
|
|
843
|
+
} | {
|
|
844
|
+
action: "upsert";
|
|
845
|
+
data: AppStorageData;
|
|
846
|
+
} | {
|
|
847
|
+
action: "remove";
|
|
848
|
+
}, AppStorageData>;
|
|
849
|
+
|
|
850
|
+
type PushAppSagaPropertiesStep = SagaStep<{
|
|
851
|
+
add: ({
|
|
852
|
+
propertyId: string;
|
|
853
|
+
} & AppPropertyData)[];
|
|
854
|
+
update: ({
|
|
855
|
+
propertyId: string;
|
|
856
|
+
} & AppPropertyData)[];
|
|
857
|
+
remove: {
|
|
858
|
+
propertyId: string;
|
|
859
|
+
}[];
|
|
860
|
+
}>;
|
|
861
|
+
|
|
862
|
+
type PushAppSagaWidgetsStep = SagaStep<{
|
|
863
|
+
add: ({
|
|
864
|
+
widgetId: string;
|
|
865
|
+
} & AppWidgetData)[];
|
|
866
|
+
update: ({
|
|
867
|
+
widgetId: string;
|
|
868
|
+
} & AppWidgetData)[];
|
|
869
|
+
remove: {
|
|
870
|
+
widgetId: string;
|
|
871
|
+
}[];
|
|
872
|
+
}>;
|
|
873
|
+
|
|
874
|
+
type PushAppSagaDisplayStep = SagaStep<{
|
|
875
|
+
action: "add";
|
|
876
|
+
data: AppDisplayData;
|
|
877
|
+
} | {
|
|
878
|
+
action: "update";
|
|
879
|
+
data: AppDisplayData;
|
|
880
|
+
changes: SagaStepChanges<AppDisplayData>;
|
|
881
|
+
} | {
|
|
882
|
+
action: "remove";
|
|
883
|
+
}>;
|
|
884
|
+
|
|
885
|
+
type PushAppSaga = Saga<{
|
|
886
|
+
app?: PushAppSagaBaseStep;
|
|
887
|
+
authorization?: PushAppSagaAuthorizationStep;
|
|
888
|
+
monetization?: PushAppSagaMonetizationStep;
|
|
889
|
+
repository?: PushAppSagaRepositoryStep;
|
|
890
|
+
deployment?: PushAppSagaDeploymentStep;
|
|
891
|
+
storage?: PushAppSagaStorageStep;
|
|
892
|
+
properties?: PushAppSagaPropertiesStep;
|
|
893
|
+
widgets?: PushAppSagaWidgetsStep;
|
|
894
|
+
display?: PushAppSagaDisplayStep;
|
|
895
|
+
}>;
|
|
896
|
+
|
|
897
|
+
interface PushAppPayload {
|
|
898
|
+
manifest: AppManifest;
|
|
899
|
+
metadata: {
|
|
900
|
+
sagaId: string;
|
|
899
901
|
};
|
|
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;
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
interface CreateCreatorAppPayload {
|
|
923
|
-
name: string;
|
|
924
|
-
origin: string;
|
|
925
|
-
product: string;
|
|
926
|
-
}
|
|
927
|
-
interface CreateCreatorAppResponse {
|
|
928
|
-
appId: string;
|
|
929
|
-
needToBeActivated: boolean;
|
|
930
902
|
}
|
|
903
|
+
type PushAppResult = SagaOutput<PushAppSaga>;
|
|
931
904
|
|
|
932
|
-
|
|
933
|
-
appId: string;
|
|
934
|
-
appName: string;
|
|
935
|
-
};
|
|
936
|
-
interface CreateRepositoryResponse {
|
|
937
|
-
name: string;
|
|
938
|
-
branch: string;
|
|
939
|
-
needToBeInstalled: boolean;
|
|
940
|
-
needToBeSeeded: boolean;
|
|
941
|
-
}
|
|
942
|
-
interface CreateSeedPayload {
|
|
905
|
+
interface VerifyAppPayload {
|
|
943
906
|
appId: string;
|
|
944
|
-
|
|
945
|
-
provider?: string;
|
|
946
|
-
clientId?: string;
|
|
907
|
+
manifest: AppManifest;
|
|
947
908
|
}
|
|
948
|
-
interface
|
|
949
|
-
|
|
909
|
+
interface VerifyAppResult {
|
|
910
|
+
status: "ok" | "nok";
|
|
950
911
|
}
|
|
951
912
|
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
};
|
|
959
|
-
|
|
960
|
-
url: string;
|
|
961
|
-
needToBeInstalled: boolean;
|
|
962
|
-
}
|
|
963
|
-
interface CreateDeploymentAccessibilityPayload {
|
|
964
|
-
provider: "netlify" | "vercel";
|
|
965
|
-
repositoryName: string;
|
|
966
|
-
}
|
|
967
|
-
interface CreateDeploymentAccessibilityResponse {
|
|
968
|
-
isAccessible: boolean;
|
|
913
|
+
interface AppAuthorizationData {
|
|
914
|
+
type: "server_side_app" | "javascript_app";
|
|
915
|
+
redirectUri: string;
|
|
916
|
+
scopes?: {
|
|
917
|
+
scope: string;
|
|
918
|
+
required: boolean;
|
|
919
|
+
}[];
|
|
920
|
+
clientId?: string;
|
|
969
921
|
}
|
|
970
922
|
|
|
971
|
-
type
|
|
972
|
-
appId: string;
|
|
973
|
-
appName: string;
|
|
974
|
-
repositoryName: string;
|
|
975
|
-
repositoryBranch: string;
|
|
976
|
-
};
|
|
977
|
-
|
|
978
|
-
interface CreateAuthorizationPayload {
|
|
923
|
+
type AddAppAuthorizationPayload = {
|
|
979
924
|
appId: string;
|
|
980
925
|
appName: string;
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
scopes: ClientScopeDto[];
|
|
984
|
-
type: "server_side_app" | "javascript_app";
|
|
985
|
-
visibility: string;
|
|
986
|
-
deploymentUrl: string;
|
|
987
|
-
}
|
|
988
|
-
interface CreateAuthorizationResponse {
|
|
926
|
+
} & AppAuthorizationData;
|
|
927
|
+
interface AddAppAuthorizationResult {
|
|
989
928
|
clientId: string;
|
|
990
929
|
}
|
|
991
930
|
|
|
992
|
-
|
|
931
|
+
type UpdateAppAuthorizationPayload = {
|
|
993
932
|
appId: string;
|
|
994
|
-
|
|
995
|
-
payload: UpdateApplicationWidgetDto;
|
|
996
|
-
}
|
|
933
|
+
} & AppAuthorizationData;
|
|
997
934
|
|
|
998
|
-
interface
|
|
999
|
-
property: AddAppPropertiesData;
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
interface CreateMonetizationPayload {
|
|
935
|
+
interface RemoveAppAuthorizationPayload {
|
|
1003
936
|
appId: string;
|
|
1004
|
-
payment: AddAppMonetizationData;
|
|
1005
937
|
}
|
|
1006
938
|
|
|
1007
939
|
type LinkAppDeploymentNetlifySiteData = {
|
|
@@ -1013,8 +945,6 @@ type LinkAppDeploymentNetlifySiteData = {
|
|
|
1013
945
|
};
|
|
1014
946
|
type LinkAppDeploymentNetlifyData = {
|
|
1015
947
|
installationId?: string;
|
|
1016
|
-
sentryOrganizationSlug?: string;
|
|
1017
|
-
sentryProjectSlug?: string;
|
|
1018
948
|
} & LinkAppDeploymentNetlifySiteData;
|
|
1019
949
|
type LinkAppDeploymentVercelProjectData = {
|
|
1020
950
|
type: "new";
|
|
@@ -1025,26 +955,42 @@ type LinkAppDeploymentVercelProjectData = {
|
|
|
1025
955
|
};
|
|
1026
956
|
type LinkAppDeploymentVercelData = {
|
|
1027
957
|
installationId?: string;
|
|
1028
|
-
sentryOrganizationSlug?: string;
|
|
1029
|
-
sentryProjectSlug?: string;
|
|
1030
958
|
} & LinkAppDeploymentVercelProjectData;
|
|
1031
|
-
type LinkAppDeploymentData = ({
|
|
959
|
+
type LinkAppDeploymentData = (({
|
|
1032
960
|
provider: "netlify";
|
|
1033
961
|
} & LinkAppDeploymentNetlifyData) | ({
|
|
1034
962
|
provider: "vercel";
|
|
1035
|
-
} & LinkAppDeploymentVercelData)
|
|
963
|
+
} & LinkAppDeploymentVercelData) | {
|
|
964
|
+
provider: "custom";
|
|
965
|
+
url: string;
|
|
966
|
+
}) & {
|
|
967
|
+
force?: boolean;
|
|
968
|
+
};
|
|
1036
969
|
type LinkAppDeploymentPayload = {
|
|
1037
970
|
appId: string;
|
|
1038
971
|
appName: string;
|
|
1039
972
|
} & LinkAppDeploymentData;
|
|
1040
973
|
interface LinkAppDeploymentResult {
|
|
974
|
+
url: string;
|
|
1041
975
|
needToBeInstalled: boolean;
|
|
1042
976
|
}
|
|
1043
977
|
|
|
1044
|
-
interface
|
|
1045
|
-
|
|
1046
|
-
shouldDelete?: boolean;
|
|
978
|
+
interface UnlinkAppDeploymentData {
|
|
979
|
+
shouldDelete?: true;
|
|
1047
980
|
}
|
|
981
|
+
type UnlinkAppDeploymentPayload = {
|
|
982
|
+
appId: string;
|
|
983
|
+
} & UnlinkAppDeploymentData;
|
|
984
|
+
|
|
985
|
+
type AppDeploymentData = {
|
|
986
|
+
provider: AppDeploymentProvider;
|
|
987
|
+
} & AppDeploymentBlockConfig & (({
|
|
988
|
+
provider: "netlify";
|
|
989
|
+
} & Partial<AppNetlifyDeploymentConfig>) | ({
|
|
990
|
+
provider: "vercel";
|
|
991
|
+
} & Partial<AppVercelDeploymentConfig>) | {
|
|
992
|
+
provider: "custom";
|
|
993
|
+
});
|
|
1048
994
|
|
|
1049
995
|
interface AppVercelDeployment {
|
|
1050
996
|
project: {
|
|
@@ -1098,45 +1044,13 @@ type AppDeployment = ({
|
|
|
1098
1044
|
provider: "vercel";
|
|
1099
1045
|
} & AppVercelDeployment);
|
|
1100
1046
|
|
|
1101
|
-
|
|
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 = {
|
|
1047
|
+
type UpsertAppDeploymentPayload = {
|
|
1117
1048
|
appId: string;
|
|
1118
|
-
|
|
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
|
-
}
|
|
1049
|
+
} & AppDeploymentData;
|
|
1134
1050
|
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
shouldDelete?: boolean;
|
|
1139
|
-
}
|
|
1051
|
+
type AppRepositoryData = {
|
|
1052
|
+
provider: AppRepositoryProvider;
|
|
1053
|
+
} & AppRepositoryBlockConfig;
|
|
1140
1054
|
|
|
1141
1055
|
interface AppGitHubRepository {
|
|
1142
1056
|
name: string;
|
|
@@ -1145,13 +1059,13 @@ interface AppGitHubRepository {
|
|
|
1145
1059
|
language: string;
|
|
1146
1060
|
description?: string;
|
|
1147
1061
|
}
|
|
1148
|
-
|
|
1149
|
-
}
|
|
1150
|
-
type AppRepository = ({
|
|
1062
|
+
type AppRepository = {
|
|
1151
1063
|
provider: "github";
|
|
1152
|
-
} & AppGitHubRepository
|
|
1153
|
-
|
|
1154
|
-
|
|
1064
|
+
} & AppGitHubRepository;
|
|
1065
|
+
|
|
1066
|
+
type UpsertAppRepositoryPayload = {
|
|
1067
|
+
appId: string;
|
|
1068
|
+
} & AppRepositoryData;
|
|
1155
1069
|
|
|
1156
1070
|
type LinkAppRepositoryGitHubData = {
|
|
1157
1071
|
type: "new";
|
|
@@ -1162,15 +1076,12 @@ type LinkAppRepositoryGitHubData = {
|
|
|
1162
1076
|
fullName: string;
|
|
1163
1077
|
branch: string;
|
|
1164
1078
|
};
|
|
1165
|
-
interface LinkAppRepositoryGitLabData {
|
|
1166
|
-
}
|
|
1167
1079
|
type LinkAppRepositoryData = {
|
|
1168
1080
|
target: AppRepositoryTarget | undefined;
|
|
1169
|
-
|
|
1081
|
+
force?: boolean;
|
|
1082
|
+
} & ({
|
|
1170
1083
|
provider: "github";
|
|
1171
|
-
} & LinkAppRepositoryGitHubData)
|
|
1172
|
-
provider: "gitlab";
|
|
1173
|
-
} & LinkAppRepositoryGitLabData));
|
|
1084
|
+
} & LinkAppRepositoryGitHubData);
|
|
1174
1085
|
type LinkAppRepositoryPayload = {
|
|
1175
1086
|
appId: string;
|
|
1176
1087
|
appName: string;
|
|
@@ -1182,19 +1093,31 @@ interface LinkAppRepositoryResult {
|
|
|
1182
1093
|
needToBeSeeded: boolean;
|
|
1183
1094
|
}
|
|
1184
1095
|
|
|
1185
|
-
interface
|
|
1186
|
-
|
|
1187
|
-
shouldDelete?: boolean;
|
|
1096
|
+
interface UnlinkAppRepositoryData {
|
|
1097
|
+
shouldDelete?: true;
|
|
1188
1098
|
}
|
|
1189
|
-
|
|
1190
|
-
interface SeedAppRepositoryPayload {
|
|
1099
|
+
type UnlinkAppRepositoryPayload = {
|
|
1191
1100
|
appId: string;
|
|
1101
|
+
} & UnlinkAppRepositoryData;
|
|
1102
|
+
|
|
1103
|
+
interface SeedAppRepositoryData {
|
|
1192
1104
|
clientId?: string;
|
|
1193
1105
|
}
|
|
1106
|
+
type SeedAppRepositoryPayload = {
|
|
1107
|
+
appId: string;
|
|
1108
|
+
} & SeedAppRepositoryData;
|
|
1194
1109
|
interface SeedAppRepositoryResult {
|
|
1195
1110
|
isSeeded: boolean;
|
|
1196
1111
|
}
|
|
1197
1112
|
|
|
1113
|
+
type AppStorageData = {
|
|
1114
|
+
provider: AppStorageProvider;
|
|
1115
|
+
} & AppStorageBlockConfig & (({
|
|
1116
|
+
provider: "planetscale";
|
|
1117
|
+
} & Partial<AppPlanetScaleStorageConfig>) | ({
|
|
1118
|
+
provider: "neon";
|
|
1119
|
+
} & Partial<AppNeonStorageConfig>));
|
|
1120
|
+
|
|
1198
1121
|
interface AppPlanetScaleStorage {
|
|
1199
1122
|
database: {
|
|
1200
1123
|
id: string;
|
|
@@ -1202,8 +1125,6 @@ interface AppPlanetScaleStorage {
|
|
|
1202
1125
|
url: string;
|
|
1203
1126
|
};
|
|
1204
1127
|
}
|
|
1205
|
-
interface AppVercelStorage {
|
|
1206
|
-
}
|
|
1207
1128
|
interface AppNeonStorage {
|
|
1208
1129
|
projectName: string;
|
|
1209
1130
|
projectId: string;
|
|
@@ -1213,8 +1134,6 @@ interface AppNeonStorage {
|
|
|
1213
1134
|
type AppStorage = ({
|
|
1214
1135
|
provider: "planetscale";
|
|
1215
1136
|
} & AppPlanetScaleStorage) | ({
|
|
1216
|
-
provider: "vercel";
|
|
1217
|
-
} & AppVercelStorage) | ({
|
|
1218
1137
|
provider: "neon";
|
|
1219
1138
|
} & AppNeonStorage);
|
|
1220
1139
|
|
|
@@ -1240,72 +1159,106 @@ type LinkAppStorageNeonData = {
|
|
|
1240
1159
|
branchId: string;
|
|
1241
1160
|
databaseType: "new" | "existing";
|
|
1242
1161
|
};
|
|
1243
|
-
type
|
|
1244
|
-
type: "new";
|
|
1245
|
-
} | {
|
|
1246
|
-
type: "existing";
|
|
1247
|
-
};
|
|
1248
|
-
type LinkAppStorageData = ({
|
|
1162
|
+
type LinkAppStorageData = (({
|
|
1249
1163
|
provider: "planetscale";
|
|
1250
1164
|
} & LinkAppStoragePlanetScaleData) | ({
|
|
1251
|
-
provider: "vercel";
|
|
1252
|
-
} & LinkAppStorageVercelData) | ({
|
|
1253
1165
|
provider: "neon";
|
|
1254
|
-
} & LinkAppStorageNeonData)
|
|
1166
|
+
} & LinkAppStorageNeonData)) & {
|
|
1167
|
+
force?: boolean;
|
|
1168
|
+
};
|
|
1255
1169
|
type LinkAppStoragePayload = {
|
|
1256
1170
|
appId: string;
|
|
1257
1171
|
appName: string;
|
|
1258
1172
|
} & LinkAppStorageData;
|
|
1259
1173
|
|
|
1260
|
-
interface
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
shouldDeleteDatabase?: boolean;
|
|
1174
|
+
interface UnlinkAppStorageData {
|
|
1175
|
+
shouldDelete?: true;
|
|
1176
|
+
shouldDeleteDatabase?: true;
|
|
1264
1177
|
}
|
|
1178
|
+
type UnlinkAppStoragePayload = {
|
|
1179
|
+
appId: string;
|
|
1180
|
+
} & UnlinkAppStorageData;
|
|
1265
1181
|
|
|
1266
|
-
|
|
1267
|
-
type: "server_side_app" | "javascript_app";
|
|
1268
|
-
configurationUri: string;
|
|
1269
|
-
redirectUri: string;
|
|
1270
|
-
scopes: Omit<ClientScopeDto, "description">[];
|
|
1271
|
-
visibility: string;
|
|
1272
|
-
}
|
|
1273
|
-
type AddAppAuthorizationPayload = {
|
|
1182
|
+
type UpsertAppStoragePayload = {
|
|
1274
1183
|
appId: string;
|
|
1275
|
-
|
|
1276
|
-
} & AddAppAuthorizationData;
|
|
1277
|
-
interface AddAppAuthorizationResult {
|
|
1278
|
-
secret: string;
|
|
1279
|
-
}
|
|
1184
|
+
} & AppStorageData;
|
|
1280
1185
|
|
|
1281
|
-
|
|
1282
|
-
creditCardRequired: boolean;
|
|
1283
|
-
frequency: "monthly" | "once";
|
|
1284
|
-
perAccount: boolean;
|
|
1186
|
+
type AppMonetizationData = {
|
|
1285
1187
|
price: number;
|
|
1286
|
-
|
|
1287
|
-
enabled: boolean;
|
|
1288
|
-
tiers: {
|
|
1289
|
-
accountsFrom: number;
|
|
1290
|
-
discount: number;
|
|
1291
|
-
}[];
|
|
1292
|
-
};
|
|
1188
|
+
frequency: "monthly" | "once";
|
|
1293
1189
|
trialDays: number;
|
|
1190
|
+
creditCardRequired: boolean;
|
|
1191
|
+
} & ({
|
|
1192
|
+
charge: "account";
|
|
1193
|
+
tiers?: {
|
|
1194
|
+
accountsFrom: number;
|
|
1195
|
+
discount: number;
|
|
1196
|
+
}[];
|
|
1197
|
+
} | {
|
|
1198
|
+
charge: "organization";
|
|
1199
|
+
});
|
|
1200
|
+
|
|
1201
|
+
type UpsertAppMonetizationPayload = {
|
|
1202
|
+
appId: string;
|
|
1203
|
+
} & AppMonetizationData;
|
|
1204
|
+
|
|
1205
|
+
interface RemoveAppMonetizationPayload {
|
|
1206
|
+
appId: string;
|
|
1294
1207
|
}
|
|
1295
1208
|
|
|
1296
|
-
|
|
1297
|
-
|
|
1209
|
+
type AppPropertiesData = Record<string, AppPropertyData>;
|
|
1210
|
+
|
|
1211
|
+
interface RemoveAppPropertiesPayload {
|
|
1212
|
+
appId: string;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
type UpsertAppPropertiesPayload = {
|
|
1216
|
+
appId: string;
|
|
1217
|
+
} & AppPropertiesData;
|
|
1218
|
+
|
|
1219
|
+
interface AppPropertyData {
|
|
1298
1220
|
type: PropertyDto["type"];
|
|
1221
|
+
description: string;
|
|
1299
1222
|
default_value: string;
|
|
1300
1223
|
access: PropertyAccessDto;
|
|
1301
|
-
owner_client_id: string;
|
|
1302
1224
|
}
|
|
1303
1225
|
|
|
1304
|
-
interface
|
|
1226
|
+
interface RemoveAppPropertyPayload {
|
|
1227
|
+
appId: string;
|
|
1228
|
+
propertyId: string;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
type UpsertAppPropertyPayload = {
|
|
1232
|
+
appId: string;
|
|
1233
|
+
propertyId: string;
|
|
1234
|
+
} & AppPropertyData;
|
|
1235
|
+
|
|
1236
|
+
type AppWidgetsData = Record<string, AppWidgetData>;
|
|
1237
|
+
|
|
1238
|
+
interface RemoveAppWidgetsPayload {
|
|
1239
|
+
appId: string;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
type UpsertAppWidgetsPayload = {
|
|
1243
|
+
appId: string;
|
|
1244
|
+
} & AppWidgetsData;
|
|
1245
|
+
|
|
1246
|
+
interface AppWidgetData {
|
|
1305
1247
|
placement: string;
|
|
1248
|
+
initialState?: string;
|
|
1306
1249
|
url: string;
|
|
1307
1250
|
}
|
|
1308
1251
|
|
|
1252
|
+
interface RemoveAppWidgetPayload {
|
|
1253
|
+
appId: string;
|
|
1254
|
+
widgetId: string;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
type UpsertAppWidgetPayload = {
|
|
1258
|
+
appId: string;
|
|
1259
|
+
widgetId: string;
|
|
1260
|
+
} & AppWidgetData;
|
|
1261
|
+
|
|
1309
1262
|
type AppVariableType = "custom" | "auth" | "storage";
|
|
1310
1263
|
type AppVariableStatus = "valid" | "invalid" | "warning" | "unknown";
|
|
1311
1264
|
type AppVariableLocalProvider = "console";
|
|
@@ -1356,17 +1309,42 @@ interface SyncAppVariablePayload {
|
|
|
1356
1309
|
};
|
|
1357
1310
|
}
|
|
1358
1311
|
|
|
1359
|
-
interface
|
|
1312
|
+
interface AppDisplayData {
|
|
1313
|
+
shortDescription?: string;
|
|
1314
|
+
longDescription?: string;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
interface AppBaseTemplate {
|
|
1360
1318
|
id: string;
|
|
1361
1319
|
name: string;
|
|
1362
|
-
|
|
1320
|
+
description: string;
|
|
1321
|
+
tags: string[];
|
|
1322
|
+
image?: string;
|
|
1323
|
+
icons?: Record<string, string>;
|
|
1363
1324
|
}
|
|
1364
|
-
|
|
1365
|
-
|
|
1325
|
+
type AppRepositoryTemplate = AppBaseTemplate & {
|
|
1326
|
+
repository: {
|
|
1327
|
+
name: string;
|
|
1328
|
+
target?: AppRepositoryTarget;
|
|
1329
|
+
};
|
|
1330
|
+
};
|
|
1331
|
+
type AppTemplate = AppBaseTemplate & {
|
|
1366
1332
|
manifest: AppManifest;
|
|
1333
|
+
icons?: {
|
|
1334
|
+
small: string;
|
|
1335
|
+
};
|
|
1336
|
+
category: {
|
|
1337
|
+
name: string;
|
|
1338
|
+
};
|
|
1339
|
+
template?: boolean;
|
|
1340
|
+
};
|
|
1341
|
+
interface AppRepositoryTemplates {
|
|
1342
|
+
nextjs: AppRepositoryTemplate;
|
|
1343
|
+
vite: AppRepositoryTemplate;
|
|
1344
|
+
saas: AppRepositoryTemplate;
|
|
1367
1345
|
}
|
|
1368
|
-
interface
|
|
1369
|
-
|
|
1346
|
+
interface AppTemplates {
|
|
1347
|
+
saas: AppTemplate;
|
|
1370
1348
|
}
|
|
1371
1349
|
|
|
1372
1350
|
interface PlatformAdapterClientInstanceAuthorization {
|
|
@@ -1380,7 +1358,6 @@ interface PlatformAdapterClientInstanceAuthorization {
|
|
|
1380
1358
|
netlify?: string;
|
|
1381
1359
|
vercel?: string;
|
|
1382
1360
|
planetscale?: string;
|
|
1383
|
-
sentry?: string;
|
|
1384
1361
|
neon?: string;
|
|
1385
1362
|
openai?: string;
|
|
1386
1363
|
}
|
|
@@ -1393,16 +1370,22 @@ type PlatformAdapterClientInstanceOptions = PlatformAdapterClientInstanceAuthori
|
|
|
1393
1370
|
netlify?: boolean;
|
|
1394
1371
|
vercel?: boolean;
|
|
1395
1372
|
planetscale?: boolean;
|
|
1396
|
-
sentry?: boolean;
|
|
1397
1373
|
neon?: boolean;
|
|
1398
1374
|
openai?: boolean;
|
|
1399
1375
|
};
|
|
1400
1376
|
};
|
|
1377
|
+
declare class AdapterApiError extends ApiErrorBase<{
|
|
1378
|
+
errorCode: string;
|
|
1379
|
+
errorMessage: string;
|
|
1380
|
+
}> {
|
|
1381
|
+
name: "adapter";
|
|
1382
|
+
}
|
|
1401
1383
|
declare function getPlatformAdapterClientAuthorization(req: {
|
|
1402
1384
|
headers: Record<string, string | string[] | undefined>;
|
|
1403
1385
|
}): PlatformAdapterClientInstanceAuthorization;
|
|
1404
1386
|
declare const platformAdapterClientInstance: axios.AxiosInstance;
|
|
1405
1387
|
declare function getPlatformAdapterClientConfig(options?: PlatformAdapterClientInstanceOptions): AxiosRequestConfig;
|
|
1388
|
+
declare const getPlatformAdapterClientDefaultConfig: (authorization?: PlatformAdapterClientInstanceAuthorization) => AxiosRequestConfig<any>;
|
|
1406
1389
|
declare function initPlatformAdapterClientInstance(baseUrl?: string, tokens?: {
|
|
1407
1390
|
platform?: {
|
|
1408
1391
|
dps?: string;
|
|
@@ -1415,7 +1398,6 @@ declare function initPlatformAdapterClientInstance(baseUrl?: string, tokens?: {
|
|
|
1415
1398
|
vercel?: string;
|
|
1416
1399
|
planetscale?: string;
|
|
1417
1400
|
neon?: string;
|
|
1418
|
-
sentry?: string;
|
|
1419
1401
|
openai?: string;
|
|
1420
1402
|
}): void;
|
|
1421
1403
|
declare function updatePlatformAdapterClientInstance(tokens?: {
|
|
@@ -1430,7 +1412,6 @@ declare function updatePlatformAdapterClientInstance(tokens?: {
|
|
|
1430
1412
|
vercel?: string;
|
|
1431
1413
|
planetscale?: string;
|
|
1432
1414
|
neon?: string;
|
|
1433
|
-
sentry?: string;
|
|
1434
1415
|
openai?: string;
|
|
1435
1416
|
}): void;
|
|
1436
1417
|
|
|
@@ -1771,82 +1752,61 @@ interface UpdateApplicationIconPayload {
|
|
|
1771
1752
|
dark?: string;
|
|
1772
1753
|
}
|
|
1773
1754
|
|
|
1774
|
-
type AppRepositoryProvider = "github"
|
|
1755
|
+
type AppRepositoryProvider = "github";
|
|
1775
1756
|
type AppRepositoryTarget = "node" | "nextjs";
|
|
1776
|
-
type AppDeploymentProvider = "
|
|
1777
|
-
type
|
|
1778
|
-
|
|
1779
|
-
type AppStorageProvider = "vercel" | "planetscale" | "neon";
|
|
1780
|
-
interface AppGitHubRepositoryConfig {
|
|
1757
|
+
type AppDeploymentProvider = "netlify" | "vercel" | "custom";
|
|
1758
|
+
type AppStorageProvider = "planetscale" | "neon";
|
|
1759
|
+
interface AppRepositoryBlockConfig {
|
|
1781
1760
|
name: string;
|
|
1782
1761
|
branch: string;
|
|
1783
1762
|
target: AppRepositoryTarget | undefined;
|
|
1784
1763
|
}
|
|
1785
|
-
|
|
1764
|
+
type AppGitHubRepositoryConfig = AppRepositoryBlockConfig;
|
|
1765
|
+
interface AppDeploymentBlockConfig {
|
|
1786
1766
|
url: string;
|
|
1767
|
+
}
|
|
1768
|
+
interface AppNetlifyDeploymentConfig extends AppDeploymentBlockConfig {
|
|
1787
1769
|
siteId: string;
|
|
1788
1770
|
}
|
|
1789
|
-
interface AppVercelDeploymentConfig {
|
|
1790
|
-
url: string;
|
|
1771
|
+
interface AppVercelDeploymentConfig extends AppDeploymentBlockConfig {
|
|
1791
1772
|
projectId: string;
|
|
1792
1773
|
}
|
|
1793
|
-
interface
|
|
1794
|
-
databaseId: string;
|
|
1795
|
-
}
|
|
1796
|
-
interface AppPlanetScaleStorageConfig {
|
|
1797
|
-
organization: string;
|
|
1774
|
+
interface AppStorageBlockConfig {
|
|
1798
1775
|
databaseName: string;
|
|
1799
1776
|
isSeeded: boolean;
|
|
1800
1777
|
}
|
|
1801
|
-
interface
|
|
1778
|
+
interface AppPlanetScaleStorageConfig extends AppStorageBlockConfig {
|
|
1779
|
+
organization: string;
|
|
1780
|
+
}
|
|
1781
|
+
interface AppNeonStorageConfig extends AppStorageBlockConfig {
|
|
1802
1782
|
projectId: string;
|
|
1803
1783
|
branchId: string;
|
|
1804
|
-
databaseName: string;
|
|
1805
|
-
isSeeded: boolean;
|
|
1806
|
-
}
|
|
1807
|
-
interface AppSentryLoggerConfig {
|
|
1808
|
-
name: string;
|
|
1809
|
-
org: string;
|
|
1810
1784
|
}
|
|
1811
1785
|
interface AppRepositoryBlock {
|
|
1812
|
-
provider
|
|
1786
|
+
provider: AppRepositoryProvider;
|
|
1813
1787
|
config: {
|
|
1814
1788
|
github?: AppGitHubRepositoryConfig;
|
|
1815
1789
|
};
|
|
1816
1790
|
}
|
|
1817
1791
|
interface AppStorageBlock {
|
|
1818
|
-
provider
|
|
1792
|
+
provider: AppStorageProvider;
|
|
1819
1793
|
config: {
|
|
1820
|
-
vercel?: AppVercelStorageConfig;
|
|
1821
1794
|
planetscale?: AppPlanetScaleStorageConfig;
|
|
1822
1795
|
neon?: AppNeonStorageConfig;
|
|
1823
1796
|
};
|
|
1824
1797
|
}
|
|
1825
|
-
interface AppLoggerBlock {
|
|
1826
|
-
provider?: AppLoggerProvider;
|
|
1827
|
-
config: {
|
|
1828
|
-
sentry?: AppSentryLoggerConfig;
|
|
1829
|
-
};
|
|
1830
|
-
}
|
|
1831
1798
|
interface AppDeploymentBlock {
|
|
1832
|
-
|
|
1833
|
-
provider?: AppDeploymentProvider;
|
|
1799
|
+
provider: AppDeploymentProvider;
|
|
1834
1800
|
config: {
|
|
1835
1801
|
netlify?: AppNetlifyDeploymentConfig;
|
|
1836
1802
|
vercel?: AppVercelDeploymentConfig;
|
|
1837
|
-
|
|
1838
|
-
url: string;
|
|
1839
|
-
};
|
|
1840
|
-
custom?: {
|
|
1841
|
-
url: string;
|
|
1842
|
-
};
|
|
1803
|
+
custom?: AppDeploymentBlockConfig;
|
|
1843
1804
|
};
|
|
1844
1805
|
}
|
|
1845
1806
|
interface AppInfrastructureBlocks {
|
|
1846
1807
|
repository?: AppRepositoryBlock;
|
|
1847
1808
|
deployment?: AppDeploymentBlock;
|
|
1848
1809
|
storage?: AppStorageBlock;
|
|
1849
|
-
logger?: AppLoggerBlock;
|
|
1850
1810
|
}
|
|
1851
1811
|
|
|
1852
1812
|
interface UpdateAppInfrastructureBlocksPayload {
|
|
@@ -1857,7 +1817,6 @@ interface UpdateAppInfrastructureBlocksPayload {
|
|
|
1857
1817
|
};
|
|
1858
1818
|
};
|
|
1859
1819
|
deployment?: {
|
|
1860
|
-
mode?: AppDeploymentMode | null;
|
|
1861
1820
|
provider?: AppDeploymentProvider | null;
|
|
1862
1821
|
config?: {
|
|
1863
1822
|
netlify?: Partial<AppNetlifyDeploymentConfig> | null;
|
|
@@ -1873,17 +1832,10 @@ interface UpdateAppInfrastructureBlocksPayload {
|
|
|
1873
1832
|
storage?: {
|
|
1874
1833
|
provider?: AppStorageProvider | null;
|
|
1875
1834
|
config?: {
|
|
1876
|
-
vercel?: Partial<AppVercelStorageConfig> | null;
|
|
1877
1835
|
planetscale?: Partial<AppPlanetScaleStorageConfig> | null;
|
|
1878
1836
|
neon?: Partial<AppNeonStorageConfig> | null;
|
|
1879
1837
|
};
|
|
1880
1838
|
};
|
|
1881
|
-
logger?: {
|
|
1882
|
-
provider?: AppLoggerProvider | null;
|
|
1883
|
-
config?: {
|
|
1884
|
-
sentry?: Partial<AppSentryLoggerConfig> | null;
|
|
1885
|
-
};
|
|
1886
|
-
};
|
|
1887
1839
|
}
|
|
1888
1840
|
|
|
1889
1841
|
interface UpdateApplicationDirectInstallUrlPayload {
|
|
@@ -1964,6 +1916,28 @@ interface ApplicationWidget {
|
|
|
1964
1916
|
url: string;
|
|
1965
1917
|
}
|
|
1966
1918
|
|
|
1919
|
+
interface AppEventDto {
|
|
1920
|
+
name: string;
|
|
1921
|
+
aggregateName: string;
|
|
1922
|
+
aggregateId: string;
|
|
1923
|
+
sequence: number;
|
|
1924
|
+
payload: {
|
|
1925
|
+
product: string;
|
|
1926
|
+
};
|
|
1927
|
+
meta: {
|
|
1928
|
+
account: string;
|
|
1929
|
+
developer: string;
|
|
1930
|
+
email: string;
|
|
1931
|
+
license: string;
|
|
1932
|
+
organization: string;
|
|
1933
|
+
referer: string;
|
|
1934
|
+
region: string;
|
|
1935
|
+
scopes: string;
|
|
1936
|
+
webBrowser: string;
|
|
1937
|
+
};
|
|
1938
|
+
createdAt: string;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1967
1941
|
interface ApplicationUsageOptionsDto {
|
|
1968
1942
|
events: string[];
|
|
1969
1943
|
from: string;
|
|
@@ -1994,6 +1968,12 @@ interface PlatformDpsClientInstanceOptions {
|
|
|
1994
1968
|
token?: string;
|
|
1995
1969
|
tokenType?: "Basic" | "Bearer";
|
|
1996
1970
|
}
|
|
1971
|
+
declare class DpsApiError extends ApiErrorBase<{
|
|
1972
|
+
message: string;
|
|
1973
|
+
code: string;
|
|
1974
|
+
}> {
|
|
1975
|
+
name: "dps";
|
|
1976
|
+
}
|
|
1997
1977
|
declare const platformDpsClientInstance: axios.AxiosInstance;
|
|
1998
1978
|
declare function getPlatformDpsClientAuthorization(req: {
|
|
1999
1979
|
headers: Record<string, string | string[] | undefined>;
|
|
@@ -2089,13 +2069,6 @@ interface UserVercelIntegrationDto {
|
|
|
2089
2069
|
interface UserPlanetScaleIntegrationDto {
|
|
2090
2070
|
refreshToken: string;
|
|
2091
2071
|
}
|
|
2092
|
-
interface UserSentryIntegrationDto {
|
|
2093
|
-
githubIntegrationId: string;
|
|
2094
|
-
githubInstallationId: string;
|
|
2095
|
-
installationId: string;
|
|
2096
|
-
refreshToken: string;
|
|
2097
|
-
organizationSlug: string;
|
|
2098
|
-
}
|
|
2099
2072
|
interface UserNeonIntegrationDto {
|
|
2100
2073
|
refreshToken: string;
|
|
2101
2074
|
}
|
|
@@ -2104,7 +2077,6 @@ interface UserIntegrationsDto {
|
|
|
2104
2077
|
netlify?: UserNetlifyIntegrationDto;
|
|
2105
2078
|
vercel?: UserVercelIntegrationDto;
|
|
2106
2079
|
planetscale?: UserPlanetScaleIntegrationDto;
|
|
2107
|
-
sentry?: UserSentryIntegrationDto;
|
|
2108
2080
|
neon?: UserNeonIntegrationDto;
|
|
2109
2081
|
}
|
|
2110
2082
|
|
|
@@ -2117,7 +2089,6 @@ interface UpdateUserIntegrations {
|
|
|
2117
2089
|
netlify?: Partial<UserNetlifyIntegrationDto> | null;
|
|
2118
2090
|
vercel?: Partial<UserVercelIntegrationDto> | null;
|
|
2119
2091
|
planetscale?: Partial<UserPlanetScaleIntegrationDto> | null;
|
|
2120
|
-
sentry?: Partial<UserSentryIntegrationDto> | null;
|
|
2121
2092
|
neon?: Partial<UserNeonIntegrationDto> | null;
|
|
2122
2093
|
}
|
|
2123
2094
|
|
|
@@ -2277,102 +2248,114 @@ declare const api: {
|
|
|
2277
2248
|
platform: {
|
|
2278
2249
|
accounts: {
|
|
2279
2250
|
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>>;
|
|
2251
|
+
readonly getAccounts: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<AccountDto[], any>>;
|
|
2252
|
+
readonly getAccount: (accountId: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<AccountDto, any>>;
|
|
2253
|
+
readonly getMeAccount: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<MyAccountDto, any>>;
|
|
2283
2254
|
};
|
|
2284
2255
|
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>>;
|
|
2256
|
+
readonly getClients: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientDto[], any>>;
|
|
2257
|
+
readonly getClient: (clientId: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientDto, any>>;
|
|
2258
|
+
readonly createClient: (payload: CreateClientPayload, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientWithSecretDto, any>>;
|
|
2259
|
+
readonly updateClient: (clientId: string, payload: UpdateClientPayload, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2260
|
+
readonly deleteClient: (clientId: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2261
|
+
readonly updateClientScopes: (clientId: string, scopes: ClientScopeDto[], authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2262
|
+
readonly deleteClientScopes: (clientId: string, scopes: ClientScopeDto[], authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2263
|
+
readonly getInfo: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientInfoDto, any>>;
|
|
2293
2264
|
};
|
|
2294
2265
|
pat: {
|
|
2295
|
-
readonly getPersonalAccessTokens: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<PatDto[]
|
|
2296
|
-
readonly createPersonalAccessToken: (name: string, scopes: PatScopeDto[], authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<PatWithSecretDto
|
|
2297
|
-
readonly deletePersonalAccessToken: (id: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<void
|
|
2266
|
+
readonly getPersonalAccessTokens: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<PatDto[], any>>;
|
|
2267
|
+
readonly createPersonalAccessToken: (name: string, scopes: PatScopeDto[], authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<PatWithSecretDto, any>>;
|
|
2268
|
+
readonly deletePersonalAccessToken: (id: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2298
2269
|
};
|
|
2299
2270
|
organization: {
|
|
2300
|
-
readonly getOrganizations: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<OrganizationDto[]
|
|
2301
|
-
readonly getMyOrganization: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<OrganizationDto>>;
|
|
2271
|
+
readonly getOrganizations: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<OrganizationDto[] | undefined, any>>;
|
|
2272
|
+
readonly getMyOrganization: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<OrganizationDto, any>>;
|
|
2302
2273
|
};
|
|
2303
2274
|
products: {
|
|
2304
|
-
readonly getOrganizationProducts: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<ProductDto[]
|
|
2275
|
+
readonly getOrganizationProducts: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ProductDto[], any>>;
|
|
2305
2276
|
readonly updateOrganizationProducts: (payload: {
|
|
2306
2277
|
product: string;
|
|
2307
|
-
}, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<void
|
|
2278
|
+
}, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2308
2279
|
};
|
|
2309
2280
|
scopes: {
|
|
2310
|
-
readonly getScopes: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<ScopeDto[]
|
|
2281
|
+
readonly getScopes: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ScopeDto[], any>>;
|
|
2311
2282
|
};
|
|
2312
2283
|
sessions: {
|
|
2313
|
-
readonly deleteSessions: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void>>;
|
|
2284
|
+
readonly deleteSessions: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<void, any>>;
|
|
2314
2285
|
};
|
|
2315
2286
|
token: {
|
|
2316
|
-
exchangeCode(code: string, clientId: string, clientSecret: string, redirectUrl: string): Promise<axios.AxiosResponse<AuthorizeData>>;
|
|
2287
|
+
exchangeCode(code: string, clientId: string, clientSecret: string, redirectUrl: string): Promise<axios.AxiosResponse<AuthorizeData, any>>;
|
|
2317
2288
|
};
|
|
2318
2289
|
};
|
|
2319
2290
|
billing: {
|
|
2320
2291
|
account: {
|
|
2321
|
-
readonly getAccount: (authorization?: PlatformBillingClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<BillingAccountDto>>;
|
|
2322
|
-
readonly getAccountInfo: (authorization?: PlatformBillingClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<BillingAccountInfoDto>>;
|
|
2292
|
+
readonly getAccount: (authorization?: PlatformBillingClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<BillingAccountDto, any>>;
|
|
2293
|
+
readonly getAccountInfo: (authorization?: PlatformBillingClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<BillingAccountInfoDto, any>>;
|
|
2323
2294
|
};
|
|
2324
2295
|
invoices: {
|
|
2325
2296
|
readonly getInvoices: (authorization?: PlatformBillingClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<{
|
|
2326
2297
|
result: BillingInvoiceDto[];
|
|
2327
|
-
}>>;
|
|
2298
|
+
}, any>>;
|
|
2328
2299
|
readonly downloadInvoices: (number: number, authorization?: PlatformBillingClientInstanceAuthorization | undefined) => Promise<void>;
|
|
2329
2300
|
};
|
|
2330
2301
|
};
|
|
2331
2302
|
adapter: {
|
|
2332
2303
|
app: {
|
|
2333
|
-
creator: {
|
|
2334
|
-
app(payload: CreateCreatorAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateCreatorAppResponse>;
|
|
2335
|
-
repository(payload: CreateRepositoryPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateRepositoryResponse>;
|
|
2336
|
-
seed(payload: CreateSeedPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateSeedResponse>;
|
|
2337
|
-
deployment(payload: CreateDeploymentPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateDeploymentResponse>;
|
|
2338
|
-
deployment_accessible(payload: CreateDeploymentAccessibilityPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateDeploymentAccessibilityResponse>;
|
|
2339
|
-
storage(payload: any, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2340
|
-
authorization(payload: CreateAuthorizationPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAuthorizationResponse>;
|
|
2341
|
-
widgets(payload: CreateWidgetPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2342
|
-
properties(payload: CreatePropertiesPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2343
|
-
monetization(payload: CreateMonetizationPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2344
|
-
};
|
|
2345
2304
|
blocks: {
|
|
2305
|
+
authorization: {
|
|
2306
|
+
get(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppAuthorizationData, any>>;
|
|
2307
|
+
add(payload: AddAppAuthorizationPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AddAppAuthorizationResult, any>>;
|
|
2308
|
+
update(payload: UpdateAppAuthorizationPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2309
|
+
remove(payload: RemoveAppAuthorizationPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2310
|
+
};
|
|
2311
|
+
monetization: {
|
|
2312
|
+
get(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppMonetizationData, any>>;
|
|
2313
|
+
upsert(payload: UpsertAppMonetizationPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2314
|
+
remove(payload: RemoveAppMonetizationPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2315
|
+
};
|
|
2346
2316
|
repository: {
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2317
|
+
getAggregate(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<{
|
|
2318
|
+
provider: "github";
|
|
2319
|
+
} & AppGitHubRepository, any>>;
|
|
2320
|
+
get(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppRepositoryData, any>>;
|
|
2321
|
+
link(payload: LinkAppRepositoryPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<LinkAppRepositoryResult, any>>;
|
|
2322
|
+
unlink(payload: UnlinkAppRepositoryPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2323
|
+
upsert(payload: UpsertAppRepositoryPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2324
|
+
seed(payload: SeedAppRepositoryPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<SeedAppRepositoryResult, any>>;
|
|
2351
2325
|
};
|
|
2352
2326
|
deployment: {
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2327
|
+
getAggregate(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppDeployment, any>>;
|
|
2328
|
+
get(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppDeploymentData, any>>;
|
|
2329
|
+
link(payload: LinkAppDeploymentPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<LinkAppDeploymentResult, any>>;
|
|
2330
|
+
unlink(payload: UnlinkAppDeploymentPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2331
|
+
upsert(payload: UpsertAppDeploymentPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2357
2332
|
};
|
|
2358
2333
|
storage: {
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2334
|
+
getAggregate(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppStorage, any>>;
|
|
2335
|
+
get(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppStorageData, any>>;
|
|
2336
|
+
link(payload: LinkAppStoragePayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2337
|
+
unlink(payload: UnlinkAppStoragePayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2338
|
+
upsert(payload: UpsertAppStoragePayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2339
|
+
};
|
|
2340
|
+
properties: {
|
|
2341
|
+
property: {
|
|
2342
|
+
get(appId: string, propertyId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppPropertyData, any>>;
|
|
2343
|
+
upsert(payload: UpsertAppPropertyPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2344
|
+
remove(payload: RemoveAppPropertyPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2345
|
+
};
|
|
2346
|
+
get(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppPropertiesData, any>>;
|
|
2347
|
+
upsert(payload: UpsertAppPropertiesPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2348
|
+
remove(payload: RemoveAppPropertiesPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2362
2349
|
};
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
unlink(payload: UnlinkAppSentryLoggerPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2369
|
-
reauthorizeSentryApp(userId: string, sentryInstallationId: string, sentryRefreshToken: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<{
|
|
2370
|
-
token?: string | undefined;
|
|
2371
|
-
error?: string | undefined;
|
|
2372
|
-
}>;
|
|
2373
|
-
requestSentryIssueSolution(stacktrace: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<object>;
|
|
2374
|
-
};
|
|
2350
|
+
widgets: {
|
|
2351
|
+
widget: {
|
|
2352
|
+
get(appId: string, widgetId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppWidgetData, any>>;
|
|
2353
|
+
upsert(payload: UpsertAppWidgetPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2354
|
+
remove(payload: RemoveAppWidgetPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2375
2355
|
};
|
|
2356
|
+
get(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppWidgetsData, any>>;
|
|
2357
|
+
upsert(payload: UpsertAppWidgetsPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2358
|
+
remove(payload: RemoveAppWidgetsPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void, any>>;
|
|
2376
2359
|
};
|
|
2377
2360
|
};
|
|
2378
2361
|
variables: {
|
|
@@ -2383,17 +2366,17 @@ declare const api: {
|
|
|
2383
2366
|
editVariable(appId: string, data: EditAppVariablePayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2384
2367
|
deleteVariable(appId: string, key: string): Promise<void>;
|
|
2385
2368
|
};
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
verifyManifest(manifest: AppManifest, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<VerifyAppManifestResult>;
|
|
2369
|
+
templates: {
|
|
2370
|
+
getTemplates(authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppTemplates>;
|
|
2371
|
+
getRepositoryTemplates(authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppRepositoryTemplates>;
|
|
2390
2372
|
};
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2373
|
+
push(payload: PushAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<PushAppResult, any>>;
|
|
2374
|
+
pull(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppManifest, any>>;
|
|
2375
|
+
verify(payload: VerifyAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<VerifyAppResult, any>>;
|
|
2376
|
+
status<TSaga>(sagaId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<SagaOutput<TSaga>, any>>;
|
|
2394
2377
|
};
|
|
2395
2378
|
conductor: {
|
|
2396
|
-
request<TData>(config: axios.AxiosRequestConfig
|
|
2379
|
+
request<TData>(config: axios.AxiosRequestConfig<any>, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<TData>;
|
|
2397
2380
|
};
|
|
2398
2381
|
proxy: {
|
|
2399
2382
|
neon: {
|
|
@@ -2414,6 +2397,7 @@ declare const api: {
|
|
|
2414
2397
|
application: {
|
|
2415
2398
|
authorization: {
|
|
2416
2399
|
readonly createAuth: (appId: string, payload: CreateApplicationAuthorizationPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined) => Promise<void>;
|
|
2400
|
+
readonly deleteAuth: (appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined) => Promise<void>;
|
|
2417
2401
|
};
|
|
2418
2402
|
autoReview: {
|
|
2419
2403
|
getAutoReview(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<ApplicationAutoReviewDto | null>;
|
|
@@ -2425,9 +2409,9 @@ declare const api: {
|
|
|
2425
2409
|
deleteChatAction(appId: string, chatActionId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2426
2410
|
};
|
|
2427
2411
|
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>>;
|
|
2412
|
+
createChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2413
|
+
updateChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2414
|
+
deleteChatBooster(appId: string, chatBoosterId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2431
2415
|
};
|
|
2432
2416
|
customProps: {
|
|
2433
2417
|
createCustomProps(appId: string, property: ApplicationPropertyDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<undefined>;
|
|
@@ -2437,6 +2421,7 @@ declare const api: {
|
|
|
2437
2421
|
display: {
|
|
2438
2422
|
updateVersionHistory(appId: string, payload: UpdateApplicationChangelogPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<undefined>;
|
|
2439
2423
|
updateBasicDetails(appId: string, basicDetails: ApplicationBasicDetailsDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2424
|
+
patchBasicDetails(appId: string, basicDetails: Partial<ApplicationBasicDetailsDto>, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2440
2425
|
updateOverview(appId: string, data: ApplicationOverviewDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2441
2426
|
updateTutorialAndSupport(appId: string, data: ApplicationTutorialAndSupportDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2442
2427
|
updateAppIcon(appId: string, payload: UpdateApplicationIconPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
@@ -2454,23 +2439,21 @@ declare const api: {
|
|
|
2454
2439
|
};
|
|
2455
2440
|
infrastructure: {
|
|
2456
2441
|
blocks: {
|
|
2457
|
-
getBlocks(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<AppInfrastructureBlocks
|
|
2442
|
+
getBlocks(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<AppInfrastructureBlocks & {
|
|
2443
|
+
appId?: string | undefined;
|
|
2444
|
+
}>;
|
|
2458
2445
|
updateBlocks(appId: string, payload: UpdateAppInfrastructureBlocksPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2459
2446
|
deleteBlock(appId: string, block: keyof UpdateAppInfrastructureBlocksPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2460
2447
|
updateRepository(appId: string, payload: {
|
|
2461
|
-
provider:
|
|
2448
|
+
provider: "github";
|
|
2462
2449
|
}, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2463
2450
|
updateDeployment(appId: string, payload: {
|
|
2464
|
-
mode: AppDeploymentMode;
|
|
2465
2451
|
provider: AppDeploymentProvider;
|
|
2466
2452
|
customUrl: string;
|
|
2467
2453
|
}, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2468
2454
|
updateStorage(appId: string, payload: {
|
|
2469
2455
|
provider: AppStorageProvider;
|
|
2470
2456
|
}, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2471
|
-
updateLogger(appId: string, payload: {
|
|
2472
|
-
provider: AppLoggerProvider;
|
|
2473
|
-
}, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2474
2457
|
};
|
|
2475
2458
|
};
|
|
2476
2459
|
onboarding: {
|
|
@@ -2485,11 +2468,11 @@ declare const api: {
|
|
|
2485
2468
|
updateProduct(appId: string, payload: UpdateApplicationProductPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2486
2469
|
};
|
|
2487
2470
|
resource: {
|
|
2488
|
-
getAppUpgrades(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppResourceDto | null>>;
|
|
2489
|
-
createAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2490
|
-
updateAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2491
|
-
deleteAppUpgrade(appId: string, resourceId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
|
|
2492
|
-
copyUpgrade(sourceAppId: string, destinationAppId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2471
|
+
getAppUpgrades(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppResourceDto | null, any>>;
|
|
2472
|
+
createAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2473
|
+
updateAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2474
|
+
deleteAppUpgrade(appId: string, resourceId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any, any>>;
|
|
2475
|
+
copyUpgrade(sourceAppId: string, destinationAppId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2493
2476
|
};
|
|
2494
2477
|
review: {
|
|
2495
2478
|
createSubmission(appId: string, payload: CreateApplicationSubmissionPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<undefined>;
|
|
@@ -2500,7 +2483,8 @@ declare const api: {
|
|
|
2500
2483
|
};
|
|
2501
2484
|
webhooks: {
|
|
2502
2485
|
updateAppWebhooks(appId: string, payload: UpdateApplicationWebhookPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2503
|
-
|
|
2486
|
+
deleteAppWebhooks(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2487
|
+
getChatWebhook(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any, any>>;
|
|
2504
2488
|
updateChatWebhook(appId: string, payload: UpdateChatWebhookPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2505
2489
|
deleteChatWebhook(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2506
2490
|
};
|
|
@@ -2516,11 +2500,11 @@ declare const api: {
|
|
|
2516
2500
|
data: {
|
|
2517
2501
|
id: string;
|
|
2518
2502
|
};
|
|
2519
|
-
}>>;
|
|
2520
|
-
publish(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
|
|
2503
|
+
}, any>>;
|
|
2504
|
+
publish(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any, any>>;
|
|
2521
2505
|
updateQL(appId: string): Promise<void>;
|
|
2522
2506
|
deleteApp(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2523
|
-
createAiContent(appId: string, appName: string, appSummary: string): Promise<axios.AxiosResponse<any>>;
|
|
2507
|
+
createAiContent(appId: string, appName: string, appSummary: string): Promise<axios.AxiosResponse<any, any>>;
|
|
2524
2508
|
};
|
|
2525
2509
|
usage: {
|
|
2526
2510
|
getUsage(appId: string, options: ApplicationUsageOptionsDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<unknown[]>;
|
|
@@ -2614,27 +2598,27 @@ declare const api: {
|
|
|
2614
2598
|
};
|
|
2615
2599
|
configuration: {
|
|
2616
2600
|
agents: {
|
|
2617
|
-
getAgents(authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AgentConfigurationDto[]>>;
|
|
2601
|
+
getAgents(authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AgentConfigurationDto[], any>>;
|
|
2618
2602
|
};
|
|
2619
2603
|
property: {
|
|
2620
|
-
getProperties(clientId: string, isAgent?: boolean | undefined, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<PropertiesDto>>;
|
|
2621
|
-
registerProperty(property: Property, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2622
|
-
unregisterProperty(propertyId: string, clientId: string, properties?: PropertyDto[] | undefined, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2623
|
-
publishProperty(propertyId: string, clientId: string, accessType: PropertyAccessItemDto, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2624
|
-
publishProperties(properties: Property[], authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>[]>;
|
|
2625
|
-
registerProperties(properties: Property[], authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>[]>;
|
|
2604
|
+
getProperties(clientId: string, isAgent?: boolean | undefined, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<PropertiesDto, any>>;
|
|
2605
|
+
registerProperty(property: Property, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2606
|
+
unregisterProperty(propertyId: string, clientId: string, properties?: PropertyDto[] | undefined, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2607
|
+
publishProperty(propertyId: string, clientId: string, accessType: PropertyAccessItemDto, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2608
|
+
publishProperties(properties: Property[], authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>[]>;
|
|
2609
|
+
registerProperties(properties: Property[], authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>[]>;
|
|
2626
2610
|
unregisterProperties(clientId: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<void>;
|
|
2627
2611
|
};
|
|
2628
2612
|
webhook: {
|
|
2629
|
-
getWebhooks(clientId: string, isAgent?: boolean | undefined, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto[]>>;
|
|
2630
|
-
unregisterWebhook(clientId: string, webhookId: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2613
|
+
getWebhooks(clientId: string, isAgent?: boolean | undefined, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<WebhookDto[], any>>;
|
|
2614
|
+
unregisterWebhook(clientId: string, webhookId: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2631
2615
|
unregisterWebhooks(clientId: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<void>;
|
|
2632
2616
|
registerWebhooks(webhooks: Webhook[], authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<void>;
|
|
2633
2617
|
migrateWebhooks(webhooks: Webhook[], clientId: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<void>;
|
|
2634
|
-
getLicenseWebhooksList(isAgent: boolean, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any> | {
|
|
2618
|
+
getLicenseWebhooksList(isAgent: boolean, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any, any> | {
|
|
2635
2619
|
data: never[];
|
|
2636
2620
|
}>;
|
|
2637
|
-
deleteLicenseWebhook(id: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2621
|
+
deleteLicenseWebhook(id: string, authorization?: LiveChatClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined, any>>;
|
|
2638
2622
|
};
|
|
2639
2623
|
};
|
|
2640
2624
|
};
|
|
@@ -2647,13 +2631,13 @@ declare const api: {
|
|
|
2647
2631
|
getInstallationRepositories(installationId: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepository[]>;
|
|
2648
2632
|
};
|
|
2649
2633
|
repository: {
|
|
2650
|
-
getRepository(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepository>;
|
|
2634
|
+
getRepository(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepository | undefined>;
|
|
2651
2635
|
getRepositoryBranches(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepositoryBranch[]>;
|
|
2652
|
-
getRepositoryBranch(repositoryName: string, repositoryBranch: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepositoryBranch>;
|
|
2636
|
+
getRepositoryBranch(repositoryName: string, repositoryBranch: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepositoryBranch | undefined>;
|
|
2653
2637
|
getRepositorySeed(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepositorySeed | undefined>;
|
|
2654
2638
|
createRepository(name: string, hasInstallation: boolean, template?: string | undefined, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepository>;
|
|
2655
2639
|
seedRepository(repositoryName: string, appId: string, clientId: string | undefined, isForLabs?: boolean | undefined, authorization?: GithubClientInstanceAuthorization | undefined): Promise<GitHubRepositorySeed>;
|
|
2656
|
-
deleteRepository(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
|
|
2640
|
+
deleteRepository(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any, any>>;
|
|
2657
2641
|
createRepositoryDeployKey(repositoryName: string, deployKey: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<{
|
|
2658
2642
|
keys: GitHubRepositoryKey[];
|
|
2659
2643
|
}>;
|
|
@@ -2682,7 +2666,6 @@ declare const api: {
|
|
|
2682
2666
|
createAccountEnv(accountId: string | undefined, siteId: string, envName: string, envValue: string, envs?: {
|
|
2683
2667
|
key: string;
|
|
2684
2668
|
}[] | undefined, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<void>;
|
|
2685
|
-
addAccountSentryTokenEnv(siteId: string, token: string, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<void>;
|
|
2686
2669
|
removeAccountEnv(accountId: string | undefined, siteId: string, envKey: string, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<void>;
|
|
2687
2670
|
};
|
|
2688
2671
|
site: {
|
|
@@ -2699,7 +2682,6 @@ declare const api: {
|
|
|
2699
2682
|
removeSite(siteId: string, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<void>;
|
|
2700
2683
|
triggerSiteBuild(siteId: string, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<void>;
|
|
2701
2684
|
addGitHubInstallationToSite(siteId: string, installationId: string, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<void>;
|
|
2702
|
-
addSentryPluginToSite(siteId: string, projectOrg: string, projectName: string, projectKey: string, token?: string | undefined, authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<void>;
|
|
2703
2685
|
};
|
|
2704
2686
|
key: {
|
|
2705
2687
|
createDeployKey(authorization?: NetlifyClientInstanceAuthorization | undefined): Promise<NetlifyDeployKey>;
|
|
@@ -2812,22 +2794,6 @@ declare const api: {
|
|
|
2812
2794
|
refreshToken: string;
|
|
2813
2795
|
}>;
|
|
2814
2796
|
};
|
|
2815
|
-
sentry: {
|
|
2816
|
-
getTeam(teamSlug: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryTeam>;
|
|
2817
|
-
getOrganizations(authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryOrganization[]>;
|
|
2818
|
-
getOrganization(organizationSlug: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryOrganization[]>;
|
|
2819
|
-
getOrganizationRepos(organizationSlug: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryRepository[]>;
|
|
2820
|
-
getOrganizationIntegrations(organizationSlug: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryIntegration[]>;
|
|
2821
|
-
getProjects(authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryProject[]>;
|
|
2822
|
-
getProject(projectFullName: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryProject>;
|
|
2823
|
-
getProjectIssues(projectFullName: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryProjectIssue[]>;
|
|
2824
|
-
getProjectIssueLatestEvent(issueId: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryProjectIssueEvent>;
|
|
2825
|
-
getProjectKeys(projectFullName: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryProjectKey[]>;
|
|
2826
|
-
createTeam(organizationSlug: string, teamName: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryTeam>;
|
|
2827
|
-
createRepo(organizationSlug: string, projectId: string, repositoryFullName: string, repositoryBranch: string, githubIntegrationId: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<void>;
|
|
2828
|
-
createProject(organizationSlug: string, appName: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryProject>;
|
|
2829
|
-
deleteProject(projectFullName: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<void>;
|
|
2830
|
-
};
|
|
2831
2797
|
text: {
|
|
2832
2798
|
app: {
|
|
2833
2799
|
monitoring: {
|
|
@@ -2892,9 +2858,6 @@ declare function initApi(config: {
|
|
|
2892
2858
|
vercel?: {
|
|
2893
2859
|
token: string;
|
|
2894
2860
|
};
|
|
2895
|
-
sentry?: {
|
|
2896
|
-
token: string;
|
|
2897
|
-
};
|
|
2898
2861
|
planetscale?: {
|
|
2899
2862
|
token: string;
|
|
2900
2863
|
};
|
|
@@ -2903,6 +2866,26 @@ declare function initApi(config: {
|
|
|
2903
2866
|
};
|
|
2904
2867
|
}): void;
|
|
2905
2868
|
|
|
2869
|
+
declare const appRepositoryTemplatesMap: {
|
|
2870
|
+
readonly "livechat/developer-app-template-nextjs": "nextjs";
|
|
2871
|
+
readonly "livechat/developer-app-template-vite": "vite";
|
|
2872
|
+
readonly "livechat/developer-app-template-saas": "saas";
|
|
2873
|
+
};
|
|
2874
|
+
declare const appRepositoryTemplates: AppRepositoryTemplates;
|
|
2875
|
+
|
|
2876
|
+
declare const appTemplatesMap: {
|
|
2877
|
+
readonly "livechat/developer-app-template-saas": "saas";
|
|
2878
|
+
};
|
|
2879
|
+
declare const appBaseTemplates: {
|
|
2880
|
+
"tag-master": AppBaseTemplate;
|
|
2881
|
+
progress: AppBaseTemplate;
|
|
2882
|
+
supervisor: AppBaseTemplate;
|
|
2883
|
+
popup: AppBaseTemplate;
|
|
2884
|
+
redirect: AppBaseTemplate;
|
|
2885
|
+
};
|
|
2886
|
+
declare const appTemplates: AppTemplates;
|
|
2887
|
+
declare const allAppTemplates: Record<string, AppTemplate | AppRepositoryTemplate | AppBaseTemplate>;
|
|
2888
|
+
|
|
2906
2889
|
declare const API_NOTIFICATIONS: {
|
|
2907
2890
|
BUILDING_BLOCKS: {
|
|
2908
2891
|
SUCCESS: {
|
|
@@ -2918,13 +2901,4 @@ declare const API_NOTIFICATIONS: {
|
|
|
2918
2901
|
};
|
|
2919
2902
|
};
|
|
2920
2903
|
|
|
2921
|
-
|
|
2922
|
-
interface ApiError {
|
|
2923
|
-
message: string;
|
|
2924
|
-
}
|
|
2925
|
-
declare class UnauthorizeApiError extends Error {
|
|
2926
|
-
source: UnauthorizeApiErrorSource;
|
|
2927
|
-
constructor(source: UnauthorizeApiErrorSource);
|
|
2928
|
-
}
|
|
2929
|
-
|
|
2930
|
-
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 };
|
|
2904
|
+
export { API_NOTIFICATIONS, AccountDto, AccountsApiError, AdapterApiError, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentConfigurationDto, AgentDto, ApiError, ApiErrorBase, ApiErrorKind, ApiErrorName, ApiErrorSource, AppAuthorizationData, AppBaseData, AppBaseTemplate, AppDeployment, AppDeploymentBlock, AppDeploymentBlockConfig, AppDeploymentData, AppDeploymentProvider, AppDisplayData, AppEventDto, AppGitHubRepository, AppGitHubRepositoryConfig, AppInfrastructureBlocks, AppManifest, AppMonetizationData, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNeonStorage, AppNeonStorageConfig, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppPropertiesData, AppPropertyData, AppRepository, AppRepositoryBlock, AppRepositoryBlockConfig, AppRepositoryData, AppRepositoryProvider, AppRepositoryTarget, AppRepositoryTemplate, AppRepositoryTemplates, AppResourceDto, AppStatsDto, AppStorage, AppStorageBlock, AppStorageBlockConfig, AppStorageData, AppStorageProvider, AppTemplate, AppTemplates, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppWidgetData, AppWidgetsData, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationChatBooster, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, ApplicationWidget, AuthorizeData, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppVariablePayload, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, DeveloperLedgerParams, DpsApiError, 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, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppStorageData, LinkAppStorageNeonData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, 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, PushAppPayload, PushAppResult, PushAppSaga, PushAppSagaAuthorizationStep, PushAppSagaBaseStep, PushAppSagaDeploymentStep, PushAppSagaDisplayStep, PushAppSagaMonetizationStep, PushAppSagaPropertiesStep, PushAppSagaRepositoryStep, PushAppSagaStorageStep, PushAppSagaWidgetsStep, RemoveAppAuthorizationPayload, RemoveAppMonetizationPayload, RemoveAppPropertiesPayload, RemoveAppPropertyPayload, RemoveAppWidgetPayload, RemoveAppWidgetsPayload, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, Saga, SagaInput, SagaOutput, SagaStep, SagaStepChanges, SagaStepComparer, SagaStepPropertyCompareResult, SagaStepStatus, SagaStepsSchema, ScopeDto, SeedAppRepositoryData, SeedAppRepositoryPayload, SeedAppRepositoryResult, ShortcutDto, SyncAppVariablePayload, TextClientInstanceAuthorization, TextClientInstanceOptions, TextPlatformDashboardCreditsDto, TextPlatformDashboardPaymentDto, TextPlatformDashboardReportDto, TextPlatformDashboardReportItemDto, UnauthorizeApiError, UnlinkAppDeploymentData, UnlinkAppDeploymentPayload, UnlinkAppRepositoryData, UnlinkAppRepositoryPayload, UnlinkAppStorageData, UnlinkAppStoragePayload, UpdateAppAuthorizationPayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppDeploymentPayload, UpsertAppMonetizationPayload, UpsertAppPropertiesPayload, UpsertAppPropertyPayload, UpsertAppRepositoryPayload, UpsertAppResourcePayload, UpsertAppStoragePayload, UpsertAppWidgetPayload, UpsertAppWidgetsPayload, UpsertApplicationChatBoosterPayload, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNeonIntegrationDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserVercelIntegrationDto, VercelClientInstanceAuthorization, VercelClientInstanceOptions, VercelDeploy, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, VerifyAppPayload, VerifyAppResult, Webhook, WebhookDto, allAppTemplates, api, appBaseTemplates, appRepositoryTemplates, appRepositoryTemplatesMap, appTemplates, appTemplatesMap, getAppAutoReviewPayload, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientRequestConfig, getLiveChatClientAuthorization, getLiveChatClientConfig, getNeonClientAuthorization, getNeonClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAccountsClientConfig, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformAdapterClientDefaultConfig, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClientInstance, initLiveChatClientInstance, initNeonClientInstance, initNetlifyClientInstance, initPlanetScaleClientInstance, initPlatformAccountsClientInstance, initPlatformAdapterClientInstance, initPlatformBillingClientInstance, initPlatformDpsClientInstance, initTextClientInstance, initVercelClientInstance, livechatClientInstance, neonClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, textClientInstance, updateGithubClientInstance, updateNeonClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateVercelClientInstance, vercelClientInstance };
|