@livechat/developer-studio-api 2.3.64 → 2.3.65
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 +37 -41
- package/dist/index.d.ts +37 -41
- package/dist/index.js +2 -17
- package/dist/index.mjs +2 -16
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1027,6 +1027,10 @@ type LinkAppSentryLoggerPayload = {
|
|
|
1027
1027
|
type: 'existing';
|
|
1028
1028
|
projectSlug: string;
|
|
1029
1029
|
});
|
|
1030
|
+
interface LinkSentryLoggerResponse {
|
|
1031
|
+
projectSlug: string;
|
|
1032
|
+
organizationSlug: string;
|
|
1033
|
+
}
|
|
1030
1034
|
|
|
1031
1035
|
interface UnlinkAppSentryLoggerPayload {
|
|
1032
1036
|
appId: string;
|
|
@@ -1228,6 +1232,19 @@ interface AppVariable {
|
|
|
1228
1232
|
isDecrypted: boolean;
|
|
1229
1233
|
}
|
|
1230
1234
|
|
|
1235
|
+
interface CreateAppVariablePayload {
|
|
1236
|
+
appId: string;
|
|
1237
|
+
key: string;
|
|
1238
|
+
value: string;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
interface EditAppVariablePayload {
|
|
1242
|
+
appId: string;
|
|
1243
|
+
key: string;
|
|
1244
|
+
localValue: string;
|
|
1245
|
+
externalValue: string;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1231
1248
|
interface SyncAppVariablePayload {
|
|
1232
1249
|
source: {
|
|
1233
1250
|
type: AppVariableProvider;
|
|
@@ -1249,15 +1266,10 @@ interface CreateCreatorAppResponse {
|
|
|
1249
1266
|
needToBeActivated: boolean;
|
|
1250
1267
|
}
|
|
1251
1268
|
|
|
1252
|
-
|
|
1269
|
+
type CreateRepositoryPayload = LinkAppRepositoryData & {
|
|
1253
1270
|
appId: string;
|
|
1254
1271
|
appName: string;
|
|
1255
|
-
|
|
1256
|
-
provider: string;
|
|
1257
|
-
target?: string;
|
|
1258
|
-
template?: string;
|
|
1259
|
-
type?: string;
|
|
1260
|
-
}
|
|
1272
|
+
};
|
|
1261
1273
|
interface CreateRepositoryResponse {
|
|
1262
1274
|
name: string;
|
|
1263
1275
|
branch: string;
|
|
@@ -1274,37 +1286,41 @@ interface CreateSeedResponse {
|
|
|
1274
1286
|
isSeeded: boolean;
|
|
1275
1287
|
}
|
|
1276
1288
|
|
|
1277
|
-
|
|
1289
|
+
type CreateDeploymentPayload = LinkAppDeploymentData & {
|
|
1278
1290
|
appId: string;
|
|
1279
1291
|
appName: string;
|
|
1280
|
-
provider: string;
|
|
1281
1292
|
repositoryName: string;
|
|
1282
1293
|
repositoryBranch: string;
|
|
1283
|
-
repositoryTarget
|
|
1284
|
-
|
|
1285
|
-
projectName?: string;
|
|
1286
|
-
type: string;
|
|
1287
|
-
}
|
|
1294
|
+
repositoryTarget: AppRepositoryTarget | undefined;
|
|
1295
|
+
};
|
|
1288
1296
|
interface CreateDeploymentResponse {
|
|
1289
1297
|
url: string;
|
|
1290
1298
|
needToBeInstalled: boolean;
|
|
1291
1299
|
}
|
|
1292
1300
|
interface CreateDeploymentAccessibilityPayload {
|
|
1293
|
-
provider:
|
|
1301
|
+
provider: 'netlify' | 'vercel';
|
|
1294
1302
|
repositoryName: string;
|
|
1295
1303
|
}
|
|
1296
1304
|
interface CreateDeploymentAccessibilityResponse {
|
|
1297
1305
|
isAccessible: boolean;
|
|
1298
1306
|
}
|
|
1299
1307
|
|
|
1308
|
+
type CreateStoragePayload = LinkAppStorageData & {
|
|
1309
|
+
appId: string;
|
|
1310
|
+
appName: string;
|
|
1311
|
+
repositoryName: string;
|
|
1312
|
+
repositoryBranch: string;
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1300
1315
|
interface CreateAuthorizationPayload {
|
|
1301
1316
|
appId: string;
|
|
1302
1317
|
appName: string;
|
|
1303
1318
|
configurationUri: string;
|
|
1304
1319
|
redirectUri: string;
|
|
1305
1320
|
scopes: ClientScopeDto[];
|
|
1306
|
-
type:
|
|
1321
|
+
type: "server_side_app" | "javascript_app";
|
|
1307
1322
|
visibility: string;
|
|
1323
|
+
deploymentUrl: string;
|
|
1308
1324
|
}
|
|
1309
1325
|
interface CreateAuthorizationResponse {
|
|
1310
1326
|
client_id: string;
|
|
@@ -2323,21 +2339,9 @@ declare const api: {
|
|
|
2323
2339
|
getVariables(appId: string, decrypted?: boolean | undefined, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppVariable[]>;
|
|
2324
2340
|
getVariable(appId: string, key: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppVariable>;
|
|
2325
2341
|
syncVariable(appId: string, key: string, payload: SyncAppVariablePayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2326
|
-
createVariable(appId: string, data:
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
value: string;
|
|
2330
|
-
}, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2331
|
-
editVariable(appId: string, data: {
|
|
2332
|
-
appId: string;
|
|
2333
|
-
key: string;
|
|
2334
|
-
localValue: string;
|
|
2335
|
-
externalValue: string;
|
|
2336
|
-
}, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2337
|
-
deleteVariable(data: {
|
|
2338
|
-
appId: string;
|
|
2339
|
-
key: string;
|
|
2340
|
-
}): Promise<void>;
|
|
2342
|
+
createVariable(appId: string, data: CreateAppVariablePayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2343
|
+
editVariable(appId: string, data: EditAppVariablePayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2344
|
+
deleteVariable(appId: string, key: string): Promise<void>;
|
|
2341
2345
|
};
|
|
2342
2346
|
creator: {
|
|
2343
2347
|
app(payload: CreateCreatorAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateCreatorAppResponse>;
|
|
@@ -2345,9 +2349,7 @@ declare const api: {
|
|
|
2345
2349
|
seed(payload: CreateSeedPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateSeedResponse>;
|
|
2346
2350
|
deployment(payload: CreateDeploymentPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateDeploymentResponse>;
|
|
2347
2351
|
deployment_accessible(payload: CreateDeploymentAccessibilityPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateDeploymentAccessibilityResponse>;
|
|
2348
|
-
storage(payload: any, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<
|
|
2349
|
-
response: any;
|
|
2350
|
-
}>;
|
|
2352
|
+
storage(payload: any, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2351
2353
|
authorization(payload: CreateAuthorizationPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAuthorizationResponse>;
|
|
2352
2354
|
widgets(payload: CreateWidgetPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2353
2355
|
properties(payload: CreatePropertiesPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
@@ -2369,7 +2371,6 @@ declare const api: {
|
|
|
2369
2371
|
}>;
|
|
2370
2372
|
refreshToken(authorization?: NeonClientInstanceAuthorization | undefined): Promise<{
|
|
2371
2373
|
access_token: string;
|
|
2372
|
-
refresh_token: string;
|
|
2373
2374
|
}>;
|
|
2374
2375
|
};
|
|
2375
2376
|
};
|
|
@@ -2891,9 +2892,4 @@ declare class UnauthorizeApiError extends Error {
|
|
|
2891
2892
|
constructor(source: UnauthorizeApiErrorSource);
|
|
2892
2893
|
}
|
|
2893
2894
|
|
|
2894
|
-
|
|
2895
|
-
serialize<T>(state: T): string;
|
|
2896
|
-
deserialize<T_1>(message?: string): T_1 | undefined;
|
|
2897
|
-
};
|
|
2898
|
-
|
|
2899
|
-
export { API_NOTIFICATIONS, AccountDto, AddAppAuthorizationData, AddAppAuthorizationPayload, AddAppAuthorizationResult, AddAppMonetizationData, AddAppPropertiesData, AddAppWidgetsData, AgentConfigurationDto, AgentDto, ApiError, AppDeployment, AppDeploymentBlock, AppDeploymentMode, AppDeploymentProvider, AppGitHubRepository, AppGitHubRepositoryConfig, AppGitLabRepository, AppInfrastructureBlocks, AppLoggerBlock, AppLoggerProvider, 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, 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, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateAuthorizationPayload, CreateAuthorizationResponse, CreateClientPayload, CreateCreatorAppPayload, CreateCreatorAppResponse, CreateDeploymentAccessibilityPayload, CreateDeploymentAccessibilityResponse, CreateDeploymentPayload, CreateDeploymentResponse, CreateMonetizationPayload, CreatePropertiesPayload, CreateRepositoryPayload, CreateRepositoryResponse, CreateSeedPayload, CreateSeedResponse, CreateWidgetPayload, DeveloperLedgerParams, 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, 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, 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, serializerBase64, textClientInstance, updateGithubClientInstance, updateNeonClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };
|
|
2895
|
+
export { API_NOTIFICATIONS, AccountDto, AddAppAuthorizationData, AddAppAuthorizationPayload, AddAppAuthorizationResult, AddAppMonetizationData, AddAppPropertiesData, AddAppWidgetsData, AgentConfigurationDto, AgentDto, ApiError, AppDeployment, AppDeploymentBlock, AppDeploymentMode, AppDeploymentProvider, AppGitHubRepository, AppGitHubRepositoryConfig, AppGitLabRepository, AppInfrastructureBlocks, AppLoggerBlock, AppLoggerProvider, 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, 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, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -1027,6 +1027,10 @@ type LinkAppSentryLoggerPayload = {
|
|
|
1027
1027
|
type: 'existing';
|
|
1028
1028
|
projectSlug: string;
|
|
1029
1029
|
});
|
|
1030
|
+
interface LinkSentryLoggerResponse {
|
|
1031
|
+
projectSlug: string;
|
|
1032
|
+
organizationSlug: string;
|
|
1033
|
+
}
|
|
1030
1034
|
|
|
1031
1035
|
interface UnlinkAppSentryLoggerPayload {
|
|
1032
1036
|
appId: string;
|
|
@@ -1228,6 +1232,19 @@ interface AppVariable {
|
|
|
1228
1232
|
isDecrypted: boolean;
|
|
1229
1233
|
}
|
|
1230
1234
|
|
|
1235
|
+
interface CreateAppVariablePayload {
|
|
1236
|
+
appId: string;
|
|
1237
|
+
key: string;
|
|
1238
|
+
value: string;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
interface EditAppVariablePayload {
|
|
1242
|
+
appId: string;
|
|
1243
|
+
key: string;
|
|
1244
|
+
localValue: string;
|
|
1245
|
+
externalValue: string;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1231
1248
|
interface SyncAppVariablePayload {
|
|
1232
1249
|
source: {
|
|
1233
1250
|
type: AppVariableProvider;
|
|
@@ -1249,15 +1266,10 @@ interface CreateCreatorAppResponse {
|
|
|
1249
1266
|
needToBeActivated: boolean;
|
|
1250
1267
|
}
|
|
1251
1268
|
|
|
1252
|
-
|
|
1269
|
+
type CreateRepositoryPayload = LinkAppRepositoryData & {
|
|
1253
1270
|
appId: string;
|
|
1254
1271
|
appName: string;
|
|
1255
|
-
|
|
1256
|
-
provider: string;
|
|
1257
|
-
target?: string;
|
|
1258
|
-
template?: string;
|
|
1259
|
-
type?: string;
|
|
1260
|
-
}
|
|
1272
|
+
};
|
|
1261
1273
|
interface CreateRepositoryResponse {
|
|
1262
1274
|
name: string;
|
|
1263
1275
|
branch: string;
|
|
@@ -1274,37 +1286,41 @@ interface CreateSeedResponse {
|
|
|
1274
1286
|
isSeeded: boolean;
|
|
1275
1287
|
}
|
|
1276
1288
|
|
|
1277
|
-
|
|
1289
|
+
type CreateDeploymentPayload = LinkAppDeploymentData & {
|
|
1278
1290
|
appId: string;
|
|
1279
1291
|
appName: string;
|
|
1280
|
-
provider: string;
|
|
1281
1292
|
repositoryName: string;
|
|
1282
1293
|
repositoryBranch: string;
|
|
1283
|
-
repositoryTarget
|
|
1284
|
-
|
|
1285
|
-
projectName?: string;
|
|
1286
|
-
type: string;
|
|
1287
|
-
}
|
|
1294
|
+
repositoryTarget: AppRepositoryTarget | undefined;
|
|
1295
|
+
};
|
|
1288
1296
|
interface CreateDeploymentResponse {
|
|
1289
1297
|
url: string;
|
|
1290
1298
|
needToBeInstalled: boolean;
|
|
1291
1299
|
}
|
|
1292
1300
|
interface CreateDeploymentAccessibilityPayload {
|
|
1293
|
-
provider:
|
|
1301
|
+
provider: 'netlify' | 'vercel';
|
|
1294
1302
|
repositoryName: string;
|
|
1295
1303
|
}
|
|
1296
1304
|
interface CreateDeploymentAccessibilityResponse {
|
|
1297
1305
|
isAccessible: boolean;
|
|
1298
1306
|
}
|
|
1299
1307
|
|
|
1308
|
+
type CreateStoragePayload = LinkAppStorageData & {
|
|
1309
|
+
appId: string;
|
|
1310
|
+
appName: string;
|
|
1311
|
+
repositoryName: string;
|
|
1312
|
+
repositoryBranch: string;
|
|
1313
|
+
};
|
|
1314
|
+
|
|
1300
1315
|
interface CreateAuthorizationPayload {
|
|
1301
1316
|
appId: string;
|
|
1302
1317
|
appName: string;
|
|
1303
1318
|
configurationUri: string;
|
|
1304
1319
|
redirectUri: string;
|
|
1305
1320
|
scopes: ClientScopeDto[];
|
|
1306
|
-
type:
|
|
1321
|
+
type: "server_side_app" | "javascript_app";
|
|
1307
1322
|
visibility: string;
|
|
1323
|
+
deploymentUrl: string;
|
|
1308
1324
|
}
|
|
1309
1325
|
interface CreateAuthorizationResponse {
|
|
1310
1326
|
client_id: string;
|
|
@@ -2323,21 +2339,9 @@ declare const api: {
|
|
|
2323
2339
|
getVariables(appId: string, decrypted?: boolean | undefined, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppVariable[]>;
|
|
2324
2340
|
getVariable(appId: string, key: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<AppVariable>;
|
|
2325
2341
|
syncVariable(appId: string, key: string, payload: SyncAppVariablePayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2326
|
-
createVariable(appId: string, data:
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
value: string;
|
|
2330
|
-
}, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2331
|
-
editVariable(appId: string, data: {
|
|
2332
|
-
appId: string;
|
|
2333
|
-
key: string;
|
|
2334
|
-
localValue: string;
|
|
2335
|
-
externalValue: string;
|
|
2336
|
-
}, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2337
|
-
deleteVariable(data: {
|
|
2338
|
-
appId: string;
|
|
2339
|
-
key: string;
|
|
2340
|
-
}): Promise<void>;
|
|
2342
|
+
createVariable(appId: string, data: CreateAppVariablePayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2343
|
+
editVariable(appId: string, data: EditAppVariablePayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2344
|
+
deleteVariable(appId: string, key: string): Promise<void>;
|
|
2341
2345
|
};
|
|
2342
2346
|
creator: {
|
|
2343
2347
|
app(payload: CreateCreatorAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateCreatorAppResponse>;
|
|
@@ -2345,9 +2349,7 @@ declare const api: {
|
|
|
2345
2349
|
seed(payload: CreateSeedPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateSeedResponse>;
|
|
2346
2350
|
deployment(payload: CreateDeploymentPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateDeploymentResponse>;
|
|
2347
2351
|
deployment_accessible(payload: CreateDeploymentAccessibilityPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateDeploymentAccessibilityResponse>;
|
|
2348
|
-
storage(payload: any, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<
|
|
2349
|
-
response: any;
|
|
2350
|
-
}>;
|
|
2352
|
+
storage(payload: any, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2351
2353
|
authorization(payload: CreateAuthorizationPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAuthorizationResponse>;
|
|
2352
2354
|
widgets(payload: CreateWidgetPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
2353
2355
|
properties(payload: CreatePropertiesPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<void>;
|
|
@@ -2369,7 +2371,6 @@ declare const api: {
|
|
|
2369
2371
|
}>;
|
|
2370
2372
|
refreshToken(authorization?: NeonClientInstanceAuthorization | undefined): Promise<{
|
|
2371
2373
|
access_token: string;
|
|
2372
|
-
refresh_token: string;
|
|
2373
2374
|
}>;
|
|
2374
2375
|
};
|
|
2375
2376
|
};
|
|
@@ -2891,9 +2892,4 @@ declare class UnauthorizeApiError extends Error {
|
|
|
2891
2892
|
constructor(source: UnauthorizeApiErrorSource);
|
|
2892
2893
|
}
|
|
2893
2894
|
|
|
2894
|
-
|
|
2895
|
-
serialize<T>(state: T): string;
|
|
2896
|
-
deserialize<T_1>(message?: string): T_1 | undefined;
|
|
2897
|
-
};
|
|
2898
|
-
|
|
2899
|
-
export { API_NOTIFICATIONS, AccountDto, AddAppAuthorizationData, AddAppAuthorizationPayload, AddAppAuthorizationResult, AddAppMonetizationData, AddAppPropertiesData, AddAppWidgetsData, AgentConfigurationDto, AgentDto, ApiError, AppDeployment, AppDeploymentBlock, AppDeploymentMode, AppDeploymentProvider, AppGitHubRepository, AppGitHubRepositoryConfig, AppGitLabRepository, AppInfrastructureBlocks, AppLoggerBlock, AppLoggerProvider, 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, 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, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateAuthorizationPayload, CreateAuthorizationResponse, CreateClientPayload, CreateCreatorAppPayload, CreateCreatorAppResponse, CreateDeploymentAccessibilityPayload, CreateDeploymentAccessibilityResponse, CreateDeploymentPayload, CreateDeploymentResponse, CreateMonetizationPayload, CreatePropertiesPayload, CreateRepositoryPayload, CreateRepositoryResponse, CreateSeedPayload, CreateSeedResponse, CreateWidgetPayload, DeveloperLedgerParams, 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, 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, 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, serializerBase64, textClientInstance, updateGithubClientInstance, updateNeonClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };
|
|
2895
|
+
export { API_NOTIFICATIONS, AccountDto, AddAppAuthorizationData, AddAppAuthorizationPayload, AddAppAuthorizationResult, AddAppMonetizationData, AddAppPropertiesData, AddAppWidgetsData, AgentConfigurationDto, AgentDto, ApiError, AppDeployment, AppDeploymentBlock, AppDeploymentMode, AppDeploymentProvider, AppGitHubRepository, AppGitHubRepositoryConfig, AppGitLabRepository, AppInfrastructureBlocks, AppLoggerBlock, AppLoggerProvider, 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, 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, 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 };
|
package/dist/index.js
CHANGED
|
@@ -121,7 +121,6 @@ __export(src_exports, {
|
|
|
121
121
|
platformBillingClientInstance: () => platformBillingClientInstance,
|
|
122
122
|
platformDpsClientInstance: () => platformDpsClientInstance,
|
|
123
123
|
sentryClientInstance: () => sentryClientInstance,
|
|
124
|
-
serializerBase64: () => serializerBase64,
|
|
125
124
|
textClientInstance: () => textClientInstance,
|
|
126
125
|
updateGithubClientInstance: () => updateGithubClientInstance,
|
|
127
126
|
updateNeonClientInstance: () => updateNeonClientInstance,
|
|
@@ -5793,10 +5792,10 @@ var platformAdapterAppVariablesApi = {
|
|
|
5793
5792
|
);
|
|
5794
5793
|
});
|
|
5795
5794
|
},
|
|
5796
|
-
deleteVariable(
|
|
5795
|
+
deleteVariable(appId, key) {
|
|
5797
5796
|
return __async(this, null, function* () {
|
|
5798
5797
|
yield platformAdapterClientInstance.delete(
|
|
5799
|
-
`/console/app/${
|
|
5798
|
+
`/console/app/${appId}/variables/${key}`
|
|
5800
5799
|
);
|
|
5801
5800
|
});
|
|
5802
5801
|
}
|
|
@@ -6257,19 +6256,6 @@ function initApi(config, tokens) {
|
|
|
6257
6256
|
initSentryClientInstance((_x = tokens == null ? void 0 : tokens.sentry) == null ? void 0 : _x.token);
|
|
6258
6257
|
api.isInitialized = true;
|
|
6259
6258
|
}
|
|
6260
|
-
|
|
6261
|
-
// src/utils/serializer.ts
|
|
6262
|
-
var serializerBase64 = {
|
|
6263
|
-
serialize(state) {
|
|
6264
|
-
return btoa(escape(JSON.stringify(state)));
|
|
6265
|
-
},
|
|
6266
|
-
deserialize(message) {
|
|
6267
|
-
try {
|
|
6268
|
-
return message ? JSON.parse(unescape(atob(unescape(message)))) : void 0;
|
|
6269
|
-
} catch (e) {
|
|
6270
|
-
}
|
|
6271
|
-
}
|
|
6272
|
-
};
|
|
6273
6259
|
// Annotate the CommonJS export names for ESM import in node:
|
|
6274
6260
|
0 && (module.exports = {
|
|
6275
6261
|
API_NOTIFICATIONS,
|
|
@@ -6326,7 +6312,6 @@ var serializerBase64 = {
|
|
|
6326
6312
|
platformBillingClientInstance,
|
|
6327
6313
|
platformDpsClientInstance,
|
|
6328
6314
|
sentryClientInstance,
|
|
6329
|
-
serializerBase64,
|
|
6330
6315
|
textClientInstance,
|
|
6331
6316
|
updateGithubClientInstance,
|
|
6332
6317
|
updateNeonClientInstance,
|
package/dist/index.mjs
CHANGED
|
@@ -5697,10 +5697,10 @@ var platformAdapterAppVariablesApi = {
|
|
|
5697
5697
|
);
|
|
5698
5698
|
});
|
|
5699
5699
|
},
|
|
5700
|
-
deleteVariable(
|
|
5700
|
+
deleteVariable(appId, key) {
|
|
5701
5701
|
return __async(this, null, function* () {
|
|
5702
5702
|
yield platformAdapterClientInstance.delete(
|
|
5703
|
-
`/console/app/${
|
|
5703
|
+
`/console/app/${appId}/variables/${key}`
|
|
5704
5704
|
);
|
|
5705
5705
|
});
|
|
5706
5706
|
}
|
|
@@ -6161,19 +6161,6 @@ function initApi(config, tokens) {
|
|
|
6161
6161
|
initSentryClientInstance((_x = tokens == null ? void 0 : tokens.sentry) == null ? void 0 : _x.token);
|
|
6162
6162
|
api.isInitialized = true;
|
|
6163
6163
|
}
|
|
6164
|
-
|
|
6165
|
-
// src/utils/serializer.ts
|
|
6166
|
-
var serializerBase64 = {
|
|
6167
|
-
serialize(state) {
|
|
6168
|
-
return btoa(escape(JSON.stringify(state)));
|
|
6169
|
-
},
|
|
6170
|
-
deserialize(message) {
|
|
6171
|
-
try {
|
|
6172
|
-
return message ? JSON.parse(unescape(atob(unescape(message)))) : void 0;
|
|
6173
|
-
} catch (e) {
|
|
6174
|
-
}
|
|
6175
|
-
}
|
|
6176
|
-
};
|
|
6177
6164
|
export {
|
|
6178
6165
|
API_NOTIFICATIONS,
|
|
6179
6166
|
UnauthorizeApiError,
|
|
@@ -6229,7 +6216,6 @@ export {
|
|
|
6229
6216
|
platformBillingClientInstance,
|
|
6230
6217
|
platformDpsClientInstance,
|
|
6231
6218
|
sentryClientInstance,
|
|
6232
|
-
serializerBase64,
|
|
6233
6219
|
textClientInstance,
|
|
6234
6220
|
updateGithubClientInstance,
|
|
6235
6221
|
updateNeonClientInstance,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.65",
|
|
4
4
|
"description": "This project is API for LiveChat Developer Studio.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"tsup": "^7.1.0",
|
|
19
19
|
"typescript": "^5.1.6",
|
|
20
20
|
"config": "0.0.1",
|
|
21
|
-
"eslint-config-custom": "0.0.
|
|
21
|
+
"eslint-config-custom": "0.0.3",
|
|
22
22
|
"tsconfig": "0.0.1"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|