@livechat/developer-studio-api 2.3.7 → 2.3.8
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 +2 -32
- package/dist/index.d.ts +2 -32
- package/dist/index.js +0 -43
- package/dist/index.mjs +0 -43
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -462,7 +462,7 @@ interface GetTextPlatformDashboardReportParams {
|
|
|
462
462
|
action?: string;
|
|
463
463
|
source?: string;
|
|
464
464
|
time_distribution: "hour" | "day";
|
|
465
|
-
group_by?: "source" | "service" | "action";
|
|
465
|
+
group_by?: ("source" | "service" | "action")[];
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
interface TextClientInstanceAuthorization {
|
|
@@ -1680,30 +1680,6 @@ interface ShortcutDto {
|
|
|
1680
1680
|
url: string;
|
|
1681
1681
|
}
|
|
1682
1682
|
|
|
1683
|
-
interface DeveloperMessageBaseDto {
|
|
1684
|
-
id: number;
|
|
1685
|
-
title: string;
|
|
1686
|
-
apps: {
|
|
1687
|
-
icon: string;
|
|
1688
|
-
name: string;
|
|
1689
|
-
}[];
|
|
1690
|
-
audience: string[];
|
|
1691
|
-
content: string;
|
|
1692
|
-
}
|
|
1693
|
-
interface DeveloperMessageDto extends DeveloperMessageBaseDto {
|
|
1694
|
-
date: string;
|
|
1695
|
-
}
|
|
1696
|
-
interface DeveloperMessage extends DeveloperMessageBaseDto {
|
|
1697
|
-
date: Date;
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
|
-
interface CreateDeveloperMessagePayload {
|
|
1701
|
-
apps: string;
|
|
1702
|
-
messageTitle: string;
|
|
1703
|
-
messageContent: string;
|
|
1704
|
-
audience: string[];
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
1683
|
interface ResearchCustomerItemDto {
|
|
1708
1684
|
amount: number;
|
|
1709
1685
|
param: string;
|
|
@@ -2226,12 +2202,6 @@ declare const api: {
|
|
|
2226
2202
|
links: {
|
|
2227
2203
|
updateShortcuts(links: ShortcutDto[], authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2228
2204
|
};
|
|
2229
|
-
messaging: {
|
|
2230
|
-
developer: {
|
|
2231
|
-
getMessages(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<DeveloperMessageDto[]>;
|
|
2232
|
-
createMessage(message: CreateDeveloperMessagePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2233
|
-
};
|
|
2234
|
-
};
|
|
2235
2205
|
research: {
|
|
2236
2206
|
customer: {
|
|
2237
2207
|
getResearchCustomersLicenses(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<ResearchCustomerItemDto>;
|
|
@@ -2530,4 +2500,4 @@ declare const serializerBase64: {
|
|
|
2530
2500
|
deserialize<T_1>(message?: string): T_1 | undefined;
|
|
2531
2501
|
};
|
|
2532
2502
|
|
|
2533
|
-
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, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload,
|
|
2503
|
+
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, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, 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, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LinkAppStorageVercelData, LiveChatClientInstanceAuthorization, LiveChatClientInstanceOptions, MyAccountDto, 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, 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, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getSentryClientAuthorization, getSentryClientConfig, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClientInstance, initLiveChatClientInstance, initNetlifyClientInstance, initPlanetScaleClientInstance, initPlatformAccountsClientInstance, initPlatformAdapterClientInstance, initPlatformBillingClientInstance, initPlatformDpsClientInstance, initSentryClientInstance, initTextClientInstance, initVercelClientInstance, livechatClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, sentryClientInstance, serializerBase64, textClientInstance, updateGithubClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };
|
package/dist/index.d.ts
CHANGED
|
@@ -462,7 +462,7 @@ interface GetTextPlatformDashboardReportParams {
|
|
|
462
462
|
action?: string;
|
|
463
463
|
source?: string;
|
|
464
464
|
time_distribution: "hour" | "day";
|
|
465
|
-
group_by?: "source" | "service" | "action";
|
|
465
|
+
group_by?: ("source" | "service" | "action")[];
|
|
466
466
|
}
|
|
467
467
|
|
|
468
468
|
interface TextClientInstanceAuthorization {
|
|
@@ -1680,30 +1680,6 @@ interface ShortcutDto {
|
|
|
1680
1680
|
url: string;
|
|
1681
1681
|
}
|
|
1682
1682
|
|
|
1683
|
-
interface DeveloperMessageBaseDto {
|
|
1684
|
-
id: number;
|
|
1685
|
-
title: string;
|
|
1686
|
-
apps: {
|
|
1687
|
-
icon: string;
|
|
1688
|
-
name: string;
|
|
1689
|
-
}[];
|
|
1690
|
-
audience: string[];
|
|
1691
|
-
content: string;
|
|
1692
|
-
}
|
|
1693
|
-
interface DeveloperMessageDto extends DeveloperMessageBaseDto {
|
|
1694
|
-
date: string;
|
|
1695
|
-
}
|
|
1696
|
-
interface DeveloperMessage extends DeveloperMessageBaseDto {
|
|
1697
|
-
date: Date;
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
|
-
interface CreateDeveloperMessagePayload {
|
|
1701
|
-
apps: string;
|
|
1702
|
-
messageTitle: string;
|
|
1703
|
-
messageContent: string;
|
|
1704
|
-
audience: string[];
|
|
1705
|
-
}
|
|
1706
|
-
|
|
1707
1683
|
interface ResearchCustomerItemDto {
|
|
1708
1684
|
amount: number;
|
|
1709
1685
|
param: string;
|
|
@@ -2226,12 +2202,6 @@ declare const api: {
|
|
|
2226
2202
|
links: {
|
|
2227
2203
|
updateShortcuts(links: ShortcutDto[], authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2228
2204
|
};
|
|
2229
|
-
messaging: {
|
|
2230
|
-
developer: {
|
|
2231
|
-
getMessages(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<DeveloperMessageDto[]>;
|
|
2232
|
-
createMessage(message: CreateDeveloperMessagePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2233
|
-
};
|
|
2234
|
-
};
|
|
2235
2205
|
research: {
|
|
2236
2206
|
customer: {
|
|
2237
2207
|
getResearchCustomersLicenses(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<ResearchCustomerItemDto>;
|
|
@@ -2530,4 +2500,4 @@ declare const serializerBase64: {
|
|
|
2530
2500
|
deserialize<T_1>(message?: string): T_1 | undefined;
|
|
2531
2501
|
};
|
|
2532
2502
|
|
|
2533
|
-
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, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload,
|
|
2503
|
+
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, BillingAccountDto, BillingAccountInfoDto, BillingInvoiceDto, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, 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, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LinkAppStorageVercelData, LiveChatClientInstanceAuthorization, LiveChatClientInstanceOptions, MyAccountDto, 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, 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, getPlatformBillingClientAuthorization, getPlatformBillingClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getSentryClientAuthorization, getSentryClientConfig, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClientInstance, initLiveChatClientInstance, initNetlifyClientInstance, initPlanetScaleClientInstance, initPlatformAccountsClientInstance, initPlatformAdapterClientInstance, initPlatformBillingClientInstance, initPlatformDpsClientInstance, initSentryClientInstance, initTextClientInstance, initVercelClientInstance, livechatClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformBillingClientInstance, platformDpsClientInstance, sentryClientInstance, serializerBase64, textClientInstance, updateGithubClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };
|
package/dist/index.js
CHANGED
|
@@ -4633,48 +4633,6 @@ var platformDpsLinksApi = {
|
|
|
4633
4633
|
}
|
|
4634
4634
|
};
|
|
4635
4635
|
|
|
4636
|
-
// src/apis/platform/dps/messaging/developer/api.ts
|
|
4637
|
-
var platformDpsMessagingDeveloperApi = {
|
|
4638
|
-
getMessages(authorization) {
|
|
4639
|
-
return __async(this, null, function* () {
|
|
4640
|
-
try {
|
|
4641
|
-
const response = yield platformDpsClientInstance.get(
|
|
4642
|
-
`/v2/messaging/developer/fetch`,
|
|
4643
|
-
getPlatformDpsClientConfig(authorization)
|
|
4644
|
-
);
|
|
4645
|
-
return response.data;
|
|
4646
|
-
} catch (error) {
|
|
4647
|
-
if (error instanceof Error) {
|
|
4648
|
-
throw new Error(`Messages couldn't be fetched. [${error.message}]`);
|
|
4649
|
-
}
|
|
4650
|
-
throw error;
|
|
4651
|
-
}
|
|
4652
|
-
});
|
|
4653
|
-
},
|
|
4654
|
-
createMessage(message, authorization) {
|
|
4655
|
-
return __async(this, null, function* () {
|
|
4656
|
-
try {
|
|
4657
|
-
const response = yield platformDpsClientInstance.post(
|
|
4658
|
-
`/v2/messaging/developer/create`,
|
|
4659
|
-
message,
|
|
4660
|
-
getPlatformDpsClientConfig(authorization)
|
|
4661
|
-
);
|
|
4662
|
-
return response;
|
|
4663
|
-
} catch (error) {
|
|
4664
|
-
if (error instanceof Error) {
|
|
4665
|
-
throw new Error(`Message couldn't be sent. [${error.message}]`);
|
|
4666
|
-
}
|
|
4667
|
-
throw error;
|
|
4668
|
-
}
|
|
4669
|
-
});
|
|
4670
|
-
}
|
|
4671
|
-
};
|
|
4672
|
-
|
|
4673
|
-
// src/apis/platform/dps/messaging/api.ts
|
|
4674
|
-
var platformDpsMessagingApi = {
|
|
4675
|
-
developer: platformDpsMessagingDeveloperApi
|
|
4676
|
-
};
|
|
4677
|
-
|
|
4678
4636
|
// src/apis/platform/dps/research/customer/api.ts
|
|
4679
4637
|
var dpsResearchCustomerApi = {
|
|
4680
4638
|
getResearchCustomersLicenses(authorization) {
|
|
@@ -4924,7 +4882,6 @@ var platformDpsApi = {
|
|
|
4924
4882
|
categories: platformDpsCategoriesApi,
|
|
4925
4883
|
developers: platformDpsDevelopersApi,
|
|
4926
4884
|
links: platformDpsLinksApi,
|
|
4927
|
-
messaging: platformDpsMessagingApi,
|
|
4928
4885
|
research: platformDpsResearchApi
|
|
4929
4886
|
};
|
|
4930
4887
|
|
package/dist/index.mjs
CHANGED
|
@@ -4542,48 +4542,6 @@ var platformDpsLinksApi = {
|
|
|
4542
4542
|
}
|
|
4543
4543
|
};
|
|
4544
4544
|
|
|
4545
|
-
// src/apis/platform/dps/messaging/developer/api.ts
|
|
4546
|
-
var platformDpsMessagingDeveloperApi = {
|
|
4547
|
-
getMessages(authorization) {
|
|
4548
|
-
return __async(this, null, function* () {
|
|
4549
|
-
try {
|
|
4550
|
-
const response = yield platformDpsClientInstance.get(
|
|
4551
|
-
`/v2/messaging/developer/fetch`,
|
|
4552
|
-
getPlatformDpsClientConfig(authorization)
|
|
4553
|
-
);
|
|
4554
|
-
return response.data;
|
|
4555
|
-
} catch (error) {
|
|
4556
|
-
if (error instanceof Error) {
|
|
4557
|
-
throw new Error(`Messages couldn't be fetched. [${error.message}]`);
|
|
4558
|
-
}
|
|
4559
|
-
throw error;
|
|
4560
|
-
}
|
|
4561
|
-
});
|
|
4562
|
-
},
|
|
4563
|
-
createMessage(message, authorization) {
|
|
4564
|
-
return __async(this, null, function* () {
|
|
4565
|
-
try {
|
|
4566
|
-
const response = yield platformDpsClientInstance.post(
|
|
4567
|
-
`/v2/messaging/developer/create`,
|
|
4568
|
-
message,
|
|
4569
|
-
getPlatformDpsClientConfig(authorization)
|
|
4570
|
-
);
|
|
4571
|
-
return response;
|
|
4572
|
-
} catch (error) {
|
|
4573
|
-
if (error instanceof Error) {
|
|
4574
|
-
throw new Error(`Message couldn't be sent. [${error.message}]`);
|
|
4575
|
-
}
|
|
4576
|
-
throw error;
|
|
4577
|
-
}
|
|
4578
|
-
});
|
|
4579
|
-
}
|
|
4580
|
-
};
|
|
4581
|
-
|
|
4582
|
-
// src/apis/platform/dps/messaging/api.ts
|
|
4583
|
-
var platformDpsMessagingApi = {
|
|
4584
|
-
developer: platformDpsMessagingDeveloperApi
|
|
4585
|
-
};
|
|
4586
|
-
|
|
4587
4545
|
// src/apis/platform/dps/research/customer/api.ts
|
|
4588
4546
|
var dpsResearchCustomerApi = {
|
|
4589
4547
|
getResearchCustomersLicenses(authorization) {
|
|
@@ -4833,7 +4791,6 @@ var platformDpsApi = {
|
|
|
4833
4791
|
categories: platformDpsCategoriesApi,
|
|
4834
4792
|
developers: platformDpsDevelopersApi,
|
|
4835
4793
|
links: platformDpsLinksApi,
|
|
4836
|
-
messaging: platformDpsMessagingApi,
|
|
4837
4794
|
research: platformDpsResearchApi
|
|
4838
4795
|
};
|
|
4839
4796
|
|
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.8",
|
|
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,8 +18,8 @@
|
|
|
18
18
|
"tsup": "^7.1.0",
|
|
19
19
|
"typescript": "^5.1.6",
|
|
20
20
|
"config": "0.0.1",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
21
|
+
"eslint-config-custom": "0.0.2",
|
|
22
|
+
"tsconfig": "0.0.1"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|