@livechat/developer-studio-api 2.3.0 → 2.3.2

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 CHANGED
@@ -34,6 +34,24 @@ interface GitHubInstallation {
34
34
  };
35
35
  }
36
36
 
37
+ declare const githubClientInstance: axios.AxiosInstance;
38
+ interface GithubClientInstanceAuthorization {
39
+ tokens?: {
40
+ app?: string;
41
+ oauth?: string;
42
+ };
43
+ }
44
+ declare function getGitHubClientAuthorization(req: {
45
+ headers: Record<string, string | string[] | undefined>;
46
+ }): GithubClientInstanceAuthorization;
47
+ interface GithubClientRequestOptions {
48
+ token?: string;
49
+ ensureAuthorizationToken?: boolean;
50
+ }
51
+ declare function getGithubClientRequestConfig(options?: GithubClientRequestOptions | undefined): AxiosRequestConfig;
52
+ declare function initGithubClientInstance(token?: string): void;
53
+ declare function updateGithubClientInstance(token?: string): void;
54
+
37
55
  interface GitHubRepository {
38
56
  id: string;
39
57
  name: string;
@@ -79,26 +97,6 @@ interface GitHubRepositorySeed {
79
97
  encoding: string;
80
98
  }
81
99
 
82
- declare const githubClientInstance: axios.AxiosInstance;
83
- interface GithubClientInstanceAuthorization {
84
- tokens?: {
85
- app?: string;
86
- oauth?: string;
87
- };
88
- }
89
- declare function getGitHubClientAuthorization(req: {
90
- headers: {
91
- [key: string]: string | string[] | undefined;
92
- };
93
- }): GithubClientInstanceAuthorization;
94
- interface GithubClientRequestOptions {
95
- token?: string;
96
- ensureAuthorizationToken?: boolean;
97
- }
98
- declare function getGithubClientRequestConfig(options?: GithubClientRequestOptions | undefined): AxiosRequestConfig;
99
- declare function initGithubClientInstance(token?: string): void;
100
- declare function updateGithubClientInstance(token?: string): void;
101
-
102
100
  interface NetlifyAccount {
103
101
  id: string;
104
102
  }
@@ -113,6 +111,21 @@ interface NetlifyEnv {
113
111
  }[];
114
112
  }
115
113
 
114
+ interface NetlifyClientInstanceAuthorization {
115
+ token?: string;
116
+ }
117
+ interface NetlifyClientInstanceOptions {
118
+ token?: string;
119
+ ensureAuthorizationToken?: boolean;
120
+ }
121
+ declare const netlifyClientInstance: axios.AxiosInstance;
122
+ declare function getNetlifyClientAuthorization(req: {
123
+ headers: Record<string, string | string[] | undefined>;
124
+ }): NetlifyClientInstanceAuthorization;
125
+ declare function getNetlifyClientConfig(options?: NetlifyClientInstanceOptions): AxiosRequestConfig;
126
+ declare function initNetlifyClientInstance(token?: string): void;
127
+ declare function updateNetlifyClientInstance(token?: string): void;
128
+
116
129
  interface NetlifyDeployKey {
117
130
  id: string;
118
131
  public_key: string;
@@ -159,29 +172,6 @@ interface NetlifyDeploy {
159
172
  }[];
160
173
  }
161
174
 
162
- interface NetlifyClientInstanceAuthorization {
163
- token?: string;
164
- }
165
- interface NetlifyClientInstanceOptions {
166
- token?: string;
167
- ensureAuthorizationToken?: boolean;
168
- }
169
- declare const netlifyClientInstance: axios.AxiosInstance;
170
- declare function getNetlifyClientAuthorization(req: {
171
- headers: {
172
- [key: string]: string | string[] | undefined;
173
- };
174
- }): NetlifyClientInstanceAuthorization;
175
- declare function getNetlifyClientConfig(options?: NetlifyClientInstanceOptions): AxiosRequestConfig;
176
- declare function initNetlifyClientInstance(token?: string): void;
177
- declare function updateNetlifyClientInstance(token?: string): void;
178
-
179
- interface PlanetScalePagination {
180
- type: string;
181
- current_page: number;
182
- }
183
- type PlanetScalePaginatedResult = PlanetScalePagination;
184
-
185
175
  interface PlanetScaleDatabase {
186
176
  id: string;
187
177
  name: string;
@@ -207,6 +197,21 @@ type GetPlanetScaleDatabasePasswordsResult = PlanetScalePaginatedResult & {
207
197
  data: PlanetScaleDatabasePassword[];
208
198
  };
209
199
 
200
+ interface PlanetScaleClientInstanceAuthorization {
201
+ token?: string;
202
+ }
203
+ interface PlanetScaleClientInstanceOptions {
204
+ token?: string;
205
+ ensureAuthorizationToken?: boolean;
206
+ }
207
+ declare const planetScaleClientInstance: axios.AxiosInstance;
208
+ declare function getPlanetScaleClientAuthorization(req: {
209
+ headers: Record<string, string | string[] | undefined>;
210
+ }): PlanetScaleClientInstanceAuthorization;
211
+ declare function getPlanetScaleClientConfig(options?: PlanetScaleClientInstanceOptions): AxiosRequestConfig;
212
+ declare function initPlanetScaleClientInstance(token?: string): void;
213
+ declare function updatePlanetScaleClientInstance(token?: string): void;
214
+
210
215
  interface PlanetScaleOrganization {
211
216
  id: string;
212
217
  type: string;
@@ -230,22 +235,26 @@ interface PlanetScaleUser {
230
235
  default_organization_id: string;
231
236
  }
232
237
 
233
- interface PlanetScaleClientInstanceAuthorization {
238
+ interface PlanetScalePagination {
239
+ type: string;
240
+ current_page: number;
241
+ }
242
+ type PlanetScalePaginatedResult = PlanetScalePagination;
243
+
244
+ interface SentryClientInstanceAuthorization {
234
245
  token?: string;
235
246
  }
236
- interface PlanetScaleClientInstanceOptions {
247
+ interface SentryClientInstanceOptions {
237
248
  token?: string;
238
249
  ensureAuthorizationToken?: boolean;
239
250
  }
240
- declare const planetScaleClientInstance: axios.AxiosInstance;
241
- declare function getPlanetScaleClientAuthorization(req: {
242
- headers: {
243
- [key: string]: string | string[] | undefined;
244
- };
245
- }): PlanetScaleClientInstanceAuthorization;
246
- declare function getPlanetScaleClientConfig(options?: PlanetScaleClientInstanceOptions): AxiosRequestConfig;
247
- declare function initPlanetScaleClientInstance(token?: string): void;
248
- declare function updatePlanetScaleClientInstance(token?: string): void;
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;
249
258
 
250
259
  interface SentryIntegration {
251
260
  id: string;
@@ -375,50 +384,17 @@ interface SentryTeam {
375
384
  slug: string;
376
385
  }
377
386
 
378
- interface SentryClientInstanceAuthorization {
379
- token?: string;
380
- }
381
- interface SentryClientInstanceOptions {
382
- token?: string;
383
- ensureAuthorizationToken?: boolean;
384
- }
385
- declare const sentryClientInstance: axios.AxiosInstance;
386
- declare function getSentryClientAuthorization(req: {
387
- headers: {
388
- [key: string]: string | string[] | undefined;
389
- };
390
- }): SentryClientInstanceAuthorization;
391
- declare function getSentryClientConfig(options?: SentryClientInstanceOptions): AxiosRequestConfig;
392
- declare function initSentryClientInstance(token?: string): void;
393
- declare function updateSentryClientInstance(token: string | undefined): void;
394
-
395
387
  interface AppMonitoringCustomReport {
396
388
  id: string;
397
389
  title: string;
398
390
  events: string[];
399
391
  }
400
392
 
401
- interface AppMonitoringCustomReportDataDto {
402
- [appId: string]: {
403
- [date: string]: {
404
- [eventKey: string]: number;
405
- };
406
- };
407
- }
393
+ type AppMonitoringCustomReportDataDto = Record<string, Record<string, Record<string, number>>>;
408
394
 
409
- interface AppMonitoringUptimeReportDto {
410
- [appId: string]: {
411
- [date: string]: number;
412
- };
413
- }
395
+ type AppMonitoringUptimeReportDto = Record<string, Record<string, number>>;
414
396
 
415
- interface AppMonitoringEventsReportDto {
416
- [appId: string]: {
417
- [date: string]: {
418
- [eventKey: string]: number;
419
- };
420
- };
421
- }
397
+ type AppMonitoringEventsReportDto = Record<string, Record<string, Record<string, number>>>;
422
398
 
423
399
  interface AppMonitoringReportParams {
424
400
  from: string;
@@ -446,9 +422,7 @@ interface AppMonitoringEventData {
446
422
  type AppMonitoringEventsLogItem = {
447
423
  sent_at: string;
448
424
  } & AppMonitoringEventData;
449
- interface AppMonitoringEventsLog {
450
- [appId: string]: AppMonitoringEventsLogItem[];
451
- }
425
+ type AppMonitoringEventsLog = Record<string, AppMonitoringEventsLogItem[]>;
452
426
 
453
427
  interface GetAppMonitoringEventsLogPayload {
454
428
  from?: string;
@@ -470,13 +444,59 @@ interface TextClientInstanceOptions {
470
444
  }
471
445
  declare const textClientInstance: axios.AxiosInstance;
472
446
  declare function getTextClientAuthorization(req: {
473
- headers: {
474
- [key: string]: string | string[] | undefined;
475
- };
447
+ headers: Record<string, string | string[] | undefined>;
476
448
  }): TextClientInstanceAuthorization;
477
449
  declare function getTextClientConfig(option?: TextClientInstanceOptions): AxiosRequestConfig;
478
450
  declare function initTextClientInstance(baseUrl?: string, token?: string): void;
479
451
 
452
+ interface VercelDeploy {
453
+ id: string;
454
+ alias: string[];
455
+ }
456
+
457
+ interface VercelClientInstanceAuthorization {
458
+ token?: string;
459
+ }
460
+ interface VercelClientInstanceOptions {
461
+ token?: string;
462
+ ensureAuthorizationToken?: boolean;
463
+ }
464
+ declare const vercelClientInstance: axios.AxiosInstance;
465
+ declare function getVercelClientAuthorization(req: {
466
+ headers: Record<string, string | string[] | undefined>;
467
+ }): VercelClientInstanceAuthorization;
468
+ declare function getVercelClientConfig(options?: VercelClientInstanceOptions): AxiosRequestConfig;
469
+ declare function initVercelClientInstance(token?: string): void;
470
+ declare function updateVercelClientInstance(token?: string): void;
471
+
472
+ interface VercelRepository {
473
+ defaultBranch: string;
474
+ id: string;
475
+ name: string;
476
+ slug: string;
477
+ namespace: string;
478
+ private: boolean;
479
+ url: string;
480
+ }
481
+
482
+ interface VercelNamespace {
483
+ id: string;
484
+ name: string;
485
+ slug: string;
486
+ provider: string;
487
+ installationId: string;
488
+ isAccessRestricted: boolean;
489
+ ownerType: "user" | "team";
490
+ }
491
+
492
+ interface VercelSearchRepositoryResponse {
493
+ gitAccount: {
494
+ namespaceId: number | null;
495
+ provider: string;
496
+ };
497
+ repos: VercelRepository[];
498
+ }
499
+
480
500
  interface VercelPagination {
481
501
  count: number;
482
502
  next: number;
@@ -522,56 +542,21 @@ type GetVercelProjectsResult = VercelPaginatedResult & {
522
542
  projects: VercelProject[];
523
543
  };
524
544
 
525
- interface VercelRepository {
526
- defaultBranch: string;
545
+ interface AccountDto {
546
+ account_id: string;
547
+ avatar: string;
527
548
  id: string;
549
+ job_title: string;
528
550
  name: string;
529
- slug: string;
530
- namespace: string;
531
- private: boolean;
532
- url: string;
551
+ role: string;
533
552
  }
534
-
535
- interface VercelNamespace {
536
- id: string;
553
+ interface MyAccountDto {
554
+ account_id: string;
555
+ avatar_url: string;
556
+ email: string;
537
557
  name: string;
538
- slug: string;
539
- provider: string;
540
- installationId: string;
541
- isAccessRestricted: boolean;
542
- ownerType: "user" | "team";
543
558
  }
544
559
 
545
- interface VercelSearchRepositoryResponse {
546
- gitAccount: {
547
- namespaceId: number | null;
548
- provider: string;
549
- };
550
- repos: VercelRepository[];
551
- }
552
-
553
- interface VercelDeploy {
554
- id: string;
555
- alias: string[];
556
- }
557
-
558
- interface VercelClientInstanceAuthorization {
559
- token?: string;
560
- }
561
- interface VercelClientInstanceOptions {
562
- token?: string;
563
- ensureAuthorizationToken?: boolean;
564
- }
565
- declare const vercelClientInstance: axios.AxiosInstance;
566
- declare function getVercelClientAuthorization(req: {
567
- headers: {
568
- [key: string]: string | string[] | undefined;
569
- };
570
- }): VercelClientInstanceAuthorization;
571
- declare function getVercelClientConfig(options?: VercelClientInstanceOptions): AxiosRequestConfig;
572
- declare function initVercelClientInstance(token?: string): void;
573
- declare function updateVercelClientInstance(token?: string): void;
574
-
575
560
  interface AuthorizeData {
576
561
  account_id: string;
577
562
  access_token: string;
@@ -667,7 +652,7 @@ declare function getPlatformAccountsClientAuthorization(req: {
667
652
  declare function getPlatformAccountsClientConfig(options?: PlatformAccountsClientInstanceOptions): AxiosRequestConfig;
668
653
  declare function initPlatformAccountsClientInstance(baseUrl?: string, token?: string): void;
669
654
 
670
- type CreateAppPayload = {
655
+ interface CreateAppPayload {
671
656
  data: {
672
657
  app: CreateApplicationPayload;
673
658
  authorization?: AddAppAuthorizationData;
@@ -676,8 +661,8 @@ type CreateAppPayload = {
676
661
  storage?: LinkAppStorageData;
677
662
  };
678
663
  output: CreateAppOutput;
679
- };
680
- type CreateAppOutput = {
664
+ }
665
+ interface CreateAppOutput {
681
666
  sagaId: string;
682
667
  steps: {
683
668
  app: {
@@ -692,7 +677,7 @@ type CreateAppOutput = {
692
677
  storage?: {};
693
678
  };
694
679
  isDone?: boolean;
695
- };
680
+ }
696
681
  type CreateAppStepStatus<TData = {}> = {
697
682
  isLoading: boolean;
698
683
  isDone: boolean;
@@ -701,11 +686,11 @@ type CreateAppStepStatus<TData = {}> = {
701
686
  statusCode?: number;
702
687
  };
703
688
  } & TData;
704
- type CreateAppStatus = {
689
+ interface CreateAppStatus {
705
690
  app: CreateAppStepStatus<{
706
691
  needToBeActivated?: boolean;
707
692
  }> | undefined;
708
- authorization?: CreateAppStepStatus<{}> | undefined;
693
+ authorization?: CreateAppStepStatus | undefined;
709
694
  repository?: CreateAppStepStatus<{
710
695
  needToBeInstalled?: boolean;
711
696
  }> | undefined;
@@ -713,11 +698,11 @@ type CreateAppStatus = {
713
698
  needToBeInstalled?: boolean;
714
699
  }> | undefined;
715
700
  storage?: CreateAppStepStatus | undefined;
716
- };
717
- type CreateAppResult = {
701
+ }
702
+ interface CreateAppResult {
718
703
  output: CreateAppOutput;
719
704
  status: CreateAppStatus;
720
- };
705
+ }
721
706
 
722
707
  type LinkAppDeploymentNetlifySiteData = {
723
708
  type: "new";
@@ -751,14 +736,14 @@ type LinkAppDeploymentPayload = {
751
736
  appId: string;
752
737
  appName: string;
753
738
  } & LinkAppDeploymentData;
754
- type LinkAppDeploymentResult = {
739
+ interface LinkAppDeploymentResult {
755
740
  needToBeInstalled: boolean;
756
- };
741
+ }
757
742
 
758
- type UnlinkAppDeploymentPayload = {
743
+ interface UnlinkAppDeploymentPayload {
759
744
  appId: string;
760
745
  shouldDelete?: boolean;
761
- };
746
+ }
762
747
 
763
748
  interface AppVercelDeployment {
764
749
  project: {
@@ -842,11 +827,11 @@ type LinkAppSentryLoggerPayload = {
842
827
  projectSlug: string;
843
828
  });
844
829
 
845
- type UnlinkAppSentryLoggerPayload = {
830
+ interface UnlinkAppSentryLoggerPayload {
846
831
  appId: string;
847
832
  projectSlug: string;
848
833
  shouldDelete?: boolean;
849
- };
834
+ }
850
835
 
851
836
  interface AppGitHubRepository {
852
837
  name: string;
@@ -872,7 +857,8 @@ type LinkAppRepositoryGitHubData = {
872
857
  fullName: string;
873
858
  branch: string;
874
859
  };
875
- type LinkAppRepositoryGitLabData = {};
860
+ interface LinkAppRepositoryGitLabData {
861
+ }
876
862
  type LinkAppRepositoryData = {
877
863
  target: AppRepositoryTarget | undefined;
878
864
  } & (({
@@ -891,18 +877,18 @@ interface LinkAppRepositoryResult {
891
877
  needToBeSeeded: boolean;
892
878
  }
893
879
 
894
- type UnlinkAppRepositoryPayload = {
880
+ interface UnlinkAppRepositoryPayload {
895
881
  appId: string;
896
882
  shouldDelete?: boolean;
897
- };
883
+ }
898
884
 
899
- type SeedAppRepositoryPayload = {
885
+ interface SeedAppRepositoryPayload {
900
886
  appId: string;
901
887
  clientId?: string;
902
- };
903
- type SeedAppRepositoryResult = {
888
+ }
889
+ interface SeedAppRepositoryResult {
904
890
  isSeeded: boolean;
905
- };
891
+ }
906
892
 
907
893
  interface AppPlanetScaleStorage {
908
894
  database: {
@@ -929,7 +915,8 @@ type LinkAppStoragePlanetScaleDatabaseData = {
929
915
  type LinkAppStoragePlanetScaleData = {
930
916
  organization: string;
931
917
  } & LinkAppStoragePlanetScaleDatabaseData;
932
- type LinkAppStorageVercelData = {};
918
+ interface LinkAppStorageVercelData {
919
+ }
933
920
  type LinkAppStorageData = ({
934
921
  provider: "planetscale";
935
922
  } & LinkAppStoragePlanetScaleData) | ({
@@ -940,18 +927,18 @@ type LinkAppStoragePayload = {
940
927
  appName: string;
941
928
  } & LinkAppStorageData;
942
929
 
943
- type UnlinkAppStoragePayload = {
930
+ interface UnlinkAppStoragePayload {
944
931
  appId: string;
945
932
  shouldDelete?: boolean;
946
- };
933
+ }
947
934
 
948
- type AddAppAuthorizationData = {
935
+ interface AddAppAuthorizationData {
949
936
  type: "server_side_app" | "javascript_app";
950
937
  configurationUri: string;
951
938
  redirectUri: string;
952
939
  scopes: string[];
953
940
  visibility: string;
954
- };
941
+ }
955
942
  type AddAppAuthorizationPayload = {
956
943
  appId: string;
957
944
  appName: string;
@@ -1023,9 +1010,7 @@ type PlatformAdapterClientInstanceOptions = PlatformAdapterClientInstanceAuthori
1023
1010
  };
1024
1011
  };
1025
1012
  declare function getPlatformAdapterClientAuthorization(req: {
1026
- headers: {
1027
- [key: string]: string | string[] | undefined;
1028
- };
1013
+ headers: Record<string, string | string[] | undefined>;
1029
1014
  }): PlatformAdapterClientInstanceAuthorization;
1030
1015
  declare const platformAdapterClientInstance: axios.AxiosInstance;
1031
1016
  declare function getPlatformAdapterClientConfig(options?: PlatformAdapterClientInstanceOptions): AxiosRequestConfig;
@@ -1146,9 +1131,7 @@ interface ApplicationDto {
1146
1131
  version: number;
1147
1132
  migratedAccess: boolean;
1148
1133
  hidden: boolean;
1149
- customProps: {
1150
- [key: string]: string;
1151
- };
1134
+ customProps: Record<string, string>;
1152
1135
  createdAt: string;
1153
1136
  submittedAt: null | string;
1154
1137
  publishedAt: null | string;
@@ -1559,6 +1542,22 @@ interface DeveloperLedgerParams {
1559
1542
  page?: number;
1560
1543
  }
1561
1544
 
1545
+ interface PlatformDpsClientInstanceAuthorization {
1546
+ token?: string;
1547
+ tokenType?: "Basic" | "Bearer";
1548
+ }
1549
+ interface PlatformDpsClientInstanceOptions {
1550
+ token?: string;
1551
+ tokenType?: "Basic" | "Bearer";
1552
+ }
1553
+ declare const platformDpsClientInstance: axios.AxiosInstance;
1554
+ declare function getPlatformDpsClientAuthorization(req: {
1555
+ headers: Record<string, string | string[] | undefined>;
1556
+ }): PlatformDpsClientInstanceAuthorization;
1557
+ declare function getPlatformDpsAdminClientAuthorization(): PlatformDpsClientInstanceAuthorization;
1558
+ declare function getPlatformDpsClientConfig(options?: PlatformDpsClientInstanceOptions): AxiosRequestConfig;
1559
+ declare function initPlatformDpsClientInstance(baseUrl?: string, token?: string): void;
1560
+
1562
1561
  interface ShortcutDto {
1563
1562
  type: 'link' | 'app';
1564
1563
  url: string;
@@ -1697,24 +1696,6 @@ interface UpdateUserIntegrations {
1697
1696
  sentry?: Partial<UserSentryIntegrationDto> | null;
1698
1697
  }
1699
1698
 
1700
- interface PlatformDpsClientInstanceAuthorization {
1701
- token?: string;
1702
- tokenType?: "Basic" | "Bearer";
1703
- }
1704
- interface PlatformDpsClientInstanceOptions {
1705
- token?: string;
1706
- tokenType?: "Basic" | "Bearer";
1707
- }
1708
- declare const platformDpsClientInstance: axios.AxiosInstance;
1709
- declare function getPlatformDpsClientAuthorization(req: {
1710
- headers: {
1711
- [key: string]: string | string[] | undefined;
1712
- };
1713
- }): PlatformDpsClientInstanceAuthorization;
1714
- declare function getPlatformDpsAdminClientAuthorization(): PlatformDpsClientInstanceAuthorization;
1715
- declare function getPlatformDpsClientConfig(options?: PlatformDpsClientInstanceOptions): AxiosRequestConfig;
1716
- declare function initPlatformDpsClientInstance(baseUrl?: string, token?: string): void;
1717
-
1718
1699
  interface AgentDto {
1719
1700
  login: string;
1720
1701
  groups: {
@@ -1783,8 +1764,8 @@ interface AgentDto {
1783
1764
  }
1784
1765
 
1785
1766
  interface PropertyAccessItemDto {
1786
- agent: ['read', 'write'];
1787
- customer: ['read', 'write'];
1767
+ agent: ["read", "write"];
1768
+ customer: ["read", "write"];
1788
1769
  }
1789
1770
  interface PropertyAccessDto {
1790
1771
  chat?: PropertyAccessItemDto;
@@ -1794,7 +1775,7 @@ interface PropertyAccessDto {
1794
1775
  group?: PropertyAccessItemDto;
1795
1776
  }
1796
1777
  interface PropertyDto {
1797
- type: 'int' | 'bool' | 'string' | 'tokenized_string';
1778
+ type: "int" | "bool" | "string" | "tokenized_string";
1798
1779
  description: string;
1799
1780
  domain?: string[];
1800
1781
  range?: {
@@ -1805,9 +1786,7 @@ interface PropertyDto {
1805
1786
  public_access?: PropertyAccessItemDto;
1806
1787
  default_value: unknown;
1807
1788
  }
1808
- interface PropertiesDto {
1809
- [name: string]: PropertyDto;
1810
- }
1789
+ type PropertiesDto = Record<string, PropertyDto>;
1811
1790
  interface Property extends PropertyDto {
1812
1791
  name: string;
1813
1792
  owner_client_id: string;
@@ -1849,9 +1828,7 @@ interface LiveChatClientInstanceOptions {
1849
1828
  }
1850
1829
  declare const livechatClientInstance: axios.AxiosInstance;
1851
1830
  declare function getLiveChatClientAuthorization(req: {
1852
- headers: {
1853
- [key: string]: string | string[] | undefined;
1854
- };
1831
+ headers: Record<string, string | string[] | undefined>;
1855
1832
  }): LiveChatClientInstanceAuthorization;
1856
1833
  declare function getLiveChatClientConfig(options?: LiveChatClientInstanceOptions): AxiosRequestConfig;
1857
1834
  declare function initLiveChatClientInstance(baseUrl?: string, token?: string): void;
@@ -1859,6 +1836,11 @@ declare function initLiveChatClientInstance(baseUrl?: string, token?: string): v
1859
1836
  declare const api: {
1860
1837
  platform: {
1861
1838
  accounts: {
1839
+ account: {
1840
+ readonly getAccounts: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<AccountDto[]>>;
1841
+ readonly getAccount: (accountId: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<AccountDto>>;
1842
+ readonly getMeAccount: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<MyAccountDto>>;
1843
+ };
1862
1844
  client: {
1863
1845
  readonly getClients: (authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientDto[]>>;
1864
1846
  readonly getClient: (clientId: string, authorization?: PlatformAccountsClientInstanceAuthorization | undefined) => Promise<axios.AxiosResponse<ClientDto>>;
@@ -1894,7 +1876,7 @@ declare const api: {
1894
1876
  get(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppRepository>;
1895
1877
  link(payload: LinkAppRepositoryPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<LinkAppRepositoryResult>;
1896
1878
  unlink(payload: UnlinkAppRepositoryPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
1897
- seed(payload: SeedAppRepositoryPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
1879
+ seed(payload: SeedAppRepositoryPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<SeedAppRepositoryResult>;
1898
1880
  };
1899
1881
  deployment: {
1900
1882
  get(appId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppDeployment>;
@@ -1911,13 +1893,13 @@ declare const api: {
1911
1893
  providers: {
1912
1894
  sentry: {
1913
1895
  get(projectSlug: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppSentryLogger>;
1914
- link(payload: LinkAppSentryLoggerPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<any>;
1915
- unlink(payload: UnlinkAppSentryLoggerPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<any>;
1896
+ link(payload: LinkAppSentryLoggerPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
1897
+ unlink(payload: UnlinkAppSentryLoggerPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
1916
1898
  reauthorizeSentryApp(userId: string, sentryInstallationId: string, sentryRefreshToken: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<{
1917
1899
  token?: string | undefined;
1918
1900
  error?: string | undefined;
1919
1901
  }>;
1920
- requestSentryIssueSolution(stacktrace: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<any>;
1902
+ requestSentryIssueSolution(stacktrace: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<object>;
1921
1903
  };
1922
1904
  };
1923
1905
  };
@@ -1925,22 +1907,22 @@ declare const api: {
1925
1907
  variables: {
1926
1908
  getVariables(appId: string, decrypted?: boolean | undefined, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppVariable[]>;
1927
1909
  getVariable(appId: string, key: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppVariable>;
1928
- syncVariable(appId: string, key: string, payload: SyncAppVariablePayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<any>;
1910
+ syncVariable(appId: string, key: string, payload: SyncAppVariablePayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
1929
1911
  createVariable(appId: string, data: {
1930
1912
  appId: string;
1931
1913
  key: string;
1932
1914
  value: string;
1933
- }, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<any>;
1915
+ }, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
1934
1916
  editVariable(appId: string, data: {
1935
1917
  appId: string;
1936
1918
  key: string;
1937
1919
  localValue: string;
1938
1920
  externalValue: string;
1939
- }, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<any>;
1921
+ }, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
1940
1922
  deleteVariable(data: {
1941
1923
  appId: string;
1942
1924
  key: string;
1943
- }): Promise<any>;
1925
+ }): Promise<void>;
1944
1926
  };
1945
1927
  create(payload: CreateAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAppResult>;
1946
1928
  createStatus(sagaId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAppResult>;
@@ -1962,16 +1944,16 @@ declare const api: {
1962
1944
  deleteChatAction(appId: string, chatActionId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
1963
1945
  };
1964
1946
  chatBoosters: {
1965
- createChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void>>;
1966
- updateChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void>>;
1947
+ createChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
1948
+ updateChatBooster(appId: string, chatBoosterId: string, payload: UpsertApplicationChatBoosterPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
1967
1949
  };
1968
1950
  customProps: {
1969
- createCustomProps(appId: string, property: ApplicationPropertyDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
1970
- updateCustomProps(appId: string, property: ApplicationPropertyDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
1971
- deleteCustomProps(appId: string, property: ApplicationPropertyDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
1951
+ createCustomProps(appId: string, property: ApplicationPropertyDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<undefined>;
1952
+ updateCustomProps(appId: string, property: ApplicationPropertyDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<undefined>;
1953
+ deleteCustomProps(appId: string, property: ApplicationPropertyDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<undefined>;
1972
1954
  };
1973
1955
  display: {
1974
- updateVersionHistory(appId: string, payload: UpdateApplicationChangelogPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
1956
+ updateVersionHistory(appId: string, payload: UpdateApplicationChangelogPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<undefined>;
1975
1957
  updateBasicDetails(appId: string, basicDetails: ApplicationBasicDetailsDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
1976
1958
  updateOverview(appId: string, data: ApplicationOverviewDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
1977
1959
  updateTutorialAndSupport(appId: string, data: ApplicationTutorialAndSupportDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
@@ -1989,21 +1971,21 @@ declare const api: {
1989
1971
  infrastructure: {
1990
1972
  blocks: {
1991
1973
  getBlocks(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<AppInfrastructureBlocks>;
1992
- updateBlocks(appId: string, payload: UpdateAppInfrastructureBlocksPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<any>;
1974
+ updateBlocks(appId: string, payload: UpdateAppInfrastructureBlocksPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
1993
1975
  updateRepository(appId: string, payload: {
1994
1976
  provider: AppRepositoryProvider;
1995
- }, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<any>;
1977
+ }, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
1996
1978
  updateDeployment(appId: string, payload: {
1997
1979
  mode: AppDeploymentMode;
1998
1980
  provider: AppDeploymentProvider;
1999
1981
  customUrl: string;
2000
- }, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<any>;
1982
+ }, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2001
1983
  updateStorage(appId: string, payload: {
2002
1984
  provider: AppStorageProvider;
2003
- }, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<any>;
1985
+ }, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2004
1986
  updateLogger(appId: string, payload: {
2005
1987
  provider: AppLoggerProvider;
2006
- }, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<any>;
1988
+ }, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2007
1989
  };
2008
1990
  };
2009
1991
  onboarding: {
@@ -2019,14 +2001,14 @@ declare const api: {
2019
2001
  };
2020
2002
  resource: {
2021
2003
  getAppUpgrades(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppResourceDto>>;
2022
- createAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void>>;
2023
- updateAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void>>;
2004
+ createAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
2005
+ updateAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
2024
2006
  deleteAppUpgrade(appId: string, resourceId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<any>>;
2025
- copyUpgrade(sourceAppId: string, destinationAppId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void>>;
2007
+ copyUpgrade(sourceAppId: string, destinationAppId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
2026
2008
  };
2027
2009
  review: {
2028
- createSubmission(appId: string, payload: CreateApplicationSubmissionPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2029
- cancelSubmission(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2010
+ createSubmission(appId: string, payload: CreateApplicationSubmissionPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<undefined>;
2011
+ cancelSubmission(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<undefined>;
2030
2012
  };
2031
2013
  webhooks: {
2032
2014
  updateAppWebhooks(appId: string, payload: UpdateApplicationWebhookPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
@@ -2047,7 +2029,7 @@ declare const api: {
2047
2029
  createAiContent(appId: string, appName: string, appSummary: string): Promise<axios.AxiosResponse<any>>;
2048
2030
  };
2049
2031
  usage: {
2050
- getUsage(appId: string, options: ApplicationUsageOptionsDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<any[]>;
2032
+ getUsage(appId: string, options: ApplicationUsageOptionsDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<unknown[]>;
2051
2033
  };
2052
2034
  purchases: {
2053
2035
  getPurchases(apps: {
@@ -2068,7 +2050,7 @@ declare const api: {
2068
2050
  to: string;
2069
2051
  duration: string;
2070
2052
  }, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<{
2071
- data: any;
2053
+ data: unknown;
2072
2054
  appId: string;
2073
2055
  }[]>;
2074
2056
  getSummaryPurchasesHistory(apps: {
@@ -2078,7 +2060,7 @@ declare const api: {
2078
2060
  to: string;
2079
2061
  duration: string;
2080
2062
  }, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<{
2081
- data: any;
2063
+ data: unknown;
2082
2064
  appId: string;
2083
2065
  }[]>;
2084
2066
  };
@@ -2090,9 +2072,9 @@ declare const api: {
2090
2072
  getUser(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<UserDto>;
2091
2073
  getUserIntegrations(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<UserIntegrationsDto>;
2092
2074
  updateUser(user: UserDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<number>;
2093
- updateUserIntegrations(payload: UpdateUserIntegrations, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<any>;
2075
+ updateUserIntegrations(payload: UpdateUserIntegrations, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2094
2076
  updateUserFeatures(payload: UpdateUserFeatures, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2095
- removeUserGitHubIntegrationByInstallationId(installationId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<any>;
2077
+ removeUserGitHubIntegrationByInstallationId(installationId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
2096
2078
  updateUserNetlifyIntegration(userNetlifyIntegration: UserNetlifyIntegrationDto, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<number>;
2097
2079
  };
2098
2080
  categories: {
@@ -2105,7 +2087,7 @@ declare const api: {
2105
2087
  amount: string;
2106
2088
  note: string;
2107
2089
  userId: string;
2108
- }, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<any>;
2090
+ }, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<unknown>;
2109
2091
  };
2110
2092
  };
2111
2093
  links: {
@@ -2114,7 +2096,7 @@ declare const api: {
2114
2096
  messaging: {
2115
2097
  developer: {
2116
2098
  getMessages(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<DeveloperMessageDto[]>;
2117
- createMessage(message: CreateDeveloperMessagePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void>>;
2099
+ createMessage(message: CreateDeveloperMessagePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
2118
2100
  };
2119
2101
  };
2120
2102
  research: {
@@ -2145,23 +2127,23 @@ declare const api: {
2145
2127
  configuration: {
2146
2128
  property: {
2147
2129
  getProperties(clientId: string, isAgent?: boolean | undefined): Promise<axios.AxiosResponse<PropertiesDto>>;
2148
- registerProperty(property: Property): Promise<axios.AxiosResponse<void>>;
2149
- unregisterProperty(propertyId: string, clientId: string, properties?: PropertyDto[] | undefined): Promise<axios.AxiosResponse<void>>;
2150
- publishProperty(propertyId: string, clientId: string, accessType: PropertyAccessItemDto): Promise<axios.AxiosResponse<void>>;
2151
- publishProperties(properties: Property[]): Promise<axios.AxiosResponse<void>[]>;
2152
- registerProperties(properties: Property[]): Promise<axios.AxiosResponse<void>[]>;
2130
+ registerProperty(property: Property): Promise<axios.AxiosResponse<undefined>>;
2131
+ unregisterProperty(propertyId: string, clientId: string, properties?: PropertyDto[] | undefined): Promise<axios.AxiosResponse<undefined>>;
2132
+ publishProperty(propertyId: string, clientId: string, accessType: PropertyAccessItemDto): Promise<axios.AxiosResponse<undefined>>;
2133
+ publishProperties(properties: Property[]): Promise<axios.AxiosResponse<undefined>[]>;
2134
+ registerProperties(properties: Property[]): Promise<axios.AxiosResponse<undefined>[]>;
2153
2135
  unregisterProperties(clientId: string): Promise<void>;
2154
2136
  };
2155
2137
  webhook: {
2156
2138
  getWebhooks(clientId: string, isAgent?: boolean | undefined): Promise<axios.AxiosResponse<WebhookDto[]>>;
2157
- unregisterWebhook(clientId: string, webhookId: string): Promise<axios.AxiosResponse<void>>;
2139
+ unregisterWebhook(clientId: string, webhookId: string): Promise<axios.AxiosResponse<undefined>>;
2158
2140
  unregisterWebhooks(clientId: string): Promise<void>;
2159
2141
  registerWebhooks(webhooks: Webhook[]): Promise<void>;
2160
2142
  migrateWebhooks(webhooks: Webhook[], clientId: string): Promise<void>;
2161
2143
  getLicenseWebhooksList(isAgent: boolean): Promise<axios.AxiosResponse<any> | {
2162
2144
  data: never[];
2163
2145
  }>;
2164
- deleteLicenseWebhook(id: string): Promise<axios.AxiosResponse<void>>;
2146
+ deleteLicenseWebhook(id: string): Promise<axios.AxiosResponse<undefined>>;
2165
2147
  };
2166
2148
  };
2167
2149
  };
@@ -2187,8 +2169,8 @@ declare const api: {
2187
2169
  createRepositoryBuildHook(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<{
2188
2170
  keys: GitHubRepositoryHook[];
2189
2171
  } | undefined>;
2190
- getFile(path: string, repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<any>;
2191
- getCommits(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<{}[]>;
2172
+ getFile(path: string, repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<object>;
2173
+ getCommits(repositoryName: string, authorization?: GithubClientInstanceAuthorization | undefined): Promise<object[]>;
2192
2174
  commitFiles(data: {
2193
2175
  repositoryName: string;
2194
2176
  repositoryBranch: string;
@@ -2244,11 +2226,11 @@ declare const api: {
2244
2226
  getProjectEnvs(projectId: string, authorization?: VercelClientInstanceAuthorization | undefined): Promise<VercelProjectEnv[]>;
2245
2227
  getProjectEnv(projectId: string, envId: string, authorization?: VercelClientInstanceAuthorization | undefined): Promise<VercelProjectEnv | undefined>;
2246
2228
  getProjectEnvByKey(projectId: string, envKey: string, authorization?: VercelClientInstanceAuthorization | undefined): Promise<VercelProjectEnv | undefined>;
2247
- createProjectEnv(projectId: string, key: string, value: string, envs?: {
2229
+ createProjectEnv(projectId: string, key: string, value: string, projectEnvs?: {
2248
2230
  id: string;
2249
2231
  key: string;
2250
- }[] | undefined, authorization?: VercelClientInstanceAuthorization | undefined): Promise<any>;
2251
- removeProjectEnv(projectId: string, envId: string, authorization?: VercelClientInstanceAuthorization | undefined): Promise<any>;
2232
+ }[] | undefined, authorization?: VercelClientInstanceAuthorization | undefined): Promise<VercelProjectEnv>;
2233
+ removeProjectEnv(projectId: string, envId: string, authorization?: VercelClientInstanceAuthorization | undefined): Promise<void>;
2252
2234
  };
2253
2235
  deploy: {
2254
2236
  createDeploy(project: string, repoId: number, branch: string, authorization?: VercelClientInstanceAuthorization | undefined): Promise<VercelDeploy>;
@@ -2310,10 +2292,10 @@ declare const api: {
2310
2292
  getProjectIssues(projectFullName: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryProjectIssue[]>;
2311
2293
  getProjectIssueLatestEvent(issueId: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryProjectIssueEvent>;
2312
2294
  getProjectKeys(projectFullName: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryProjectKey[]>;
2313
- createTeam(organizationSlug: string, teamName: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<any>;
2295
+ createTeam(organizationSlug: string, teamName: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryTeam>;
2314
2296
  createRepo(organizationSlug: string, projectId: string, repositoryFullName: string, repositoryBranch: string, githubIntegrationId: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<void>;
2315
2297
  createProject(organizationSlug: string, appName: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<SentryProject>;
2316
- deleteProject(projectFullName: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<any>;
2298
+ deleteProject(projectFullName: string, authorization?: SentryClientInstanceAuthorization | undefined): Promise<void>;
2317
2299
  };
2318
2300
  text: {
2319
2301
  app: {
@@ -2393,12 +2375,13 @@ declare const API_NOTIFICATIONS: {
2393
2375
  };
2394
2376
  };
2395
2377
 
2396
- type ApiError = {
2378
+ type UnauthorizeApiErrorSource = "dps" | "github" | "vercel" | "netlify" | "sentry" | "planetscale";
2379
+ interface ApiError {
2397
2380
  message: string;
2398
- };
2381
+ }
2399
2382
  declare class UnauthorizeApiError extends Error {
2400
- source: "dps" | "github" | "vercel" | "netlify" | "sentry" | "planetscale";
2401
- constructor(source: "dps" | "github" | "vercel" | "netlify" | "sentry" | "planetscale");
2383
+ source: UnauthorizeApiErrorSource;
2384
+ constructor(source: UnauthorizeApiErrorSource);
2402
2385
  }
2403
2386
 
2404
2387
  declare const serializerBase64: {
@@ -2406,4 +2389,4 @@ declare const serializerBase64: {
2406
2389
  deserialize<T_1>(message?: string): T_1 | undefined;
2407
2390
  };
2408
2391
 
2409
- export { API_NOTIFICATIONS, AddAppAuthorizationData, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentDto, ApiError, AppDeployment, AppDeploymentBlock, AppDeploymentMode, AppDeploymentProvider, AppGitHubRepository, AppGitHubRepositoryConfig, AppGitLabRepository, AppInfrastructureBlocks, AppLoggerBlock, AppLoggerProvider, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppRepository, AppRepositoryBlock, AppRepositoryProvider, AppRepositoryTarget, AppResourceDto, AppSentryLogger, AppSentryLoggerConfig, AppStorage, AppStorageBlock, AppStorageProvider, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppVercelStorage, AppVercelStorageConfig, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, AuthorizeData, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateDeveloperMessagePayload, CreatePatPayload, DeveloperLedgerParams, DeveloperMessage, DeveloperMessageBaseDto, DeveloperMessageDto, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetVercelProjectsResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientInstanceAuthorization, GithubClientRequestOptions, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryGitLabData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppSentryLoggerPayload, LinkAppStorageData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LinkAppStorageVercelData, LiveChatClientInstanceAuthorization, LiveChatClientInstanceOptions, NetlifyAccount, NetlifyClientInstanceAuthorization, NetlifyClientInstanceOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifySite, PatDto, PatScopeDto, PlanetScaleClientInstanceAuthorization, PlanetScaleClientInstanceOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientInstanceAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientInstanceAuthorization, PlatformAdapterClientInstanceOptions, 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, UnauthorizeApiError, UnlinkAppDeploymentPayload, UnlinkAppRepositoryPayload, UnlinkAppSentryLoggerPayload, UnlinkAppStoragePayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppResourcePayload, UpsertApplicationChatBoosterPayload, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserSentryIntegrationDto, UserVercelIntegrationDto, VercelClientInstanceAuthorization, VercelClientInstanceOptions, VercelDeploy, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, Webhook, WebhookDto, api, getAppAutoReviewPayload, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientRequestConfig, getLiveChatClientAuthorization, getLiveChatClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAccountsClientConfig, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getSentryClientAuthorization, getSentryClientConfig, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClientInstance, initLiveChatClientInstance, initNetlifyClientInstance, initPlanetScaleClientInstance, initPlatformAccountsClientInstance, initPlatformAdapterClientInstance, initPlatformDpsClientInstance, initSentryClientInstance, initTextClientInstance, initVercelClientInstance, livechatClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformDpsClientInstance, sentryClientInstance, serializerBase64, textClientInstance, updateGithubClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };
2392
+ export { API_NOTIFICATIONS, AccountDto, AddAppAuthorizationData, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentDto, ApiError, AppDeployment, AppDeploymentBlock, AppDeploymentMode, AppDeploymentProvider, AppGitHubRepository, AppGitHubRepositoryConfig, AppGitLabRepository, AppInfrastructureBlocks, AppLoggerBlock, AppLoggerProvider, AppMonitoringCustomReport, AppMonitoringCustomReportDataDto, AppMonitoringEvent, AppMonitoringEventData, AppMonitoringEventsLog, AppMonitoringEventsLogItem, AppMonitoringEventsReportDto, AppMonitoringReportParams, AppMonitoringUptimeReportDto, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppRepository, AppRepositoryBlock, AppRepositoryProvider, AppRepositoryTarget, AppResourceDto, AppSentryLogger, AppSentryLoggerConfig, AppStorage, AppStorageBlock, AppStorageProvider, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppVercelStorage, AppVercelStorageConfig, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, AuthorizeData, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateDeveloperMessagePayload, CreatePatPayload, DeveloperLedgerParams, DeveloperMessage, DeveloperMessageBaseDto, DeveloperMessageDto, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetVercelProjectsResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientInstanceAuthorization, GithubClientRequestOptions, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryGitLabData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppSentryLoggerPayload, LinkAppStorageData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LinkAppStorageVercelData, LiveChatClientInstanceAuthorization, LiveChatClientInstanceOptions, MyAccountDto, NetlifyAccount, NetlifyClientInstanceAuthorization, NetlifyClientInstanceOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifySite, PatDto, PatScopeDto, PlanetScaleClientInstanceAuthorization, PlanetScaleClientInstanceOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientInstanceAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientInstanceAuthorization, PlatformAdapterClientInstanceOptions, 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, UnauthorizeApiError, UnauthorizeApiErrorSource, UnlinkAppDeploymentPayload, UnlinkAppRepositoryPayload, UnlinkAppSentryLoggerPayload, UnlinkAppStoragePayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppResourcePayload, UpsertApplicationChatBoosterPayload, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserSentryIntegrationDto, UserVercelIntegrationDto, VercelClientInstanceAuthorization, VercelClientInstanceOptions, VercelDeploy, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, Webhook, WebhookDto, api, getAppAutoReviewPayload, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientRequestConfig, getLiveChatClientAuthorization, getLiveChatClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAccountsClientConfig, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getSentryClientAuthorization, getSentryClientConfig, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClientInstance, initLiveChatClientInstance, initNetlifyClientInstance, initPlanetScaleClientInstance, initPlatformAccountsClientInstance, initPlatformAdapterClientInstance, initPlatformDpsClientInstance, initSentryClientInstance, initTextClientInstance, initVercelClientInstance, livechatClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformDpsClientInstance, sentryClientInstance, serializerBase64, textClientInstance, updateGithubClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };