@livechat/developer-studio-api 2.3.7 → 2.3.9
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 +19 -48
- package/dist/index.mjs +19 -48
- 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
|
@@ -2047,11 +2047,25 @@ var textPlatformDashboardApi = {
|
|
|
2047
2047
|
getReport(params, authorization) {
|
|
2048
2048
|
return __async(this, null, function* () {
|
|
2049
2049
|
try {
|
|
2050
|
-
const searchParams = new URLSearchParams(
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
)
|
|
2054
|
-
|
|
2050
|
+
const searchParams = new URLSearchParams();
|
|
2051
|
+
Object.keys(params).forEach((entry) => {
|
|
2052
|
+
const key = entry;
|
|
2053
|
+
if (key === "group_by") {
|
|
2054
|
+
const value = params[key];
|
|
2055
|
+
if (!value) {
|
|
2056
|
+
return;
|
|
2057
|
+
}
|
|
2058
|
+
value.forEach((innerValue) => {
|
|
2059
|
+
searchParams.append(key, innerValue);
|
|
2060
|
+
});
|
|
2061
|
+
} else {
|
|
2062
|
+
const value = params[key];
|
|
2063
|
+
if (!value) {
|
|
2064
|
+
return;
|
|
2065
|
+
}
|
|
2066
|
+
searchParams.append(key, value);
|
|
2067
|
+
}
|
|
2068
|
+
});
|
|
2055
2069
|
const response = yield textClientInstance.get(
|
|
2056
2070
|
`/platform_dashboard/report?${searchParams.toString()}`,
|
|
2057
2071
|
getTextClientConfig(authorization)
|
|
@@ -4633,48 +4647,6 @@ var platformDpsLinksApi = {
|
|
|
4633
4647
|
}
|
|
4634
4648
|
};
|
|
4635
4649
|
|
|
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
4650
|
// src/apis/platform/dps/research/customer/api.ts
|
|
4679
4651
|
var dpsResearchCustomerApi = {
|
|
4680
4652
|
getResearchCustomersLicenses(authorization) {
|
|
@@ -4924,7 +4896,6 @@ var platformDpsApi = {
|
|
|
4924
4896
|
categories: platformDpsCategoriesApi,
|
|
4925
4897
|
developers: platformDpsDevelopersApi,
|
|
4926
4898
|
links: platformDpsLinksApi,
|
|
4927
|
-
messaging: platformDpsMessagingApi,
|
|
4928
4899
|
research: platformDpsResearchApi
|
|
4929
4900
|
};
|
|
4930
4901
|
|
package/dist/index.mjs
CHANGED
|
@@ -1956,11 +1956,25 @@ var textPlatformDashboardApi = {
|
|
|
1956
1956
|
getReport(params, authorization) {
|
|
1957
1957
|
return __async(this, null, function* () {
|
|
1958
1958
|
try {
|
|
1959
|
-
const searchParams = new URLSearchParams(
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
)
|
|
1963
|
-
|
|
1959
|
+
const searchParams = new URLSearchParams();
|
|
1960
|
+
Object.keys(params).forEach((entry) => {
|
|
1961
|
+
const key = entry;
|
|
1962
|
+
if (key === "group_by") {
|
|
1963
|
+
const value = params[key];
|
|
1964
|
+
if (!value) {
|
|
1965
|
+
return;
|
|
1966
|
+
}
|
|
1967
|
+
value.forEach((innerValue) => {
|
|
1968
|
+
searchParams.append(key, innerValue);
|
|
1969
|
+
});
|
|
1970
|
+
} else {
|
|
1971
|
+
const value = params[key];
|
|
1972
|
+
if (!value) {
|
|
1973
|
+
return;
|
|
1974
|
+
}
|
|
1975
|
+
searchParams.append(key, value);
|
|
1976
|
+
}
|
|
1977
|
+
});
|
|
1964
1978
|
const response = yield textClientInstance.get(
|
|
1965
1979
|
`/platform_dashboard/report?${searchParams.toString()}`,
|
|
1966
1980
|
getTextClientConfig(authorization)
|
|
@@ -4542,48 +4556,6 @@ var platformDpsLinksApi = {
|
|
|
4542
4556
|
}
|
|
4543
4557
|
};
|
|
4544
4558
|
|
|
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
4559
|
// src/apis/platform/dps/research/customer/api.ts
|
|
4588
4560
|
var dpsResearchCustomerApi = {
|
|
4589
4561
|
getResearchCustomersLicenses(authorization) {
|
|
@@ -4833,7 +4805,6 @@ var platformDpsApi = {
|
|
|
4833
4805
|
categories: platformDpsCategoriesApi,
|
|
4834
4806
|
developers: platformDpsDevelopersApi,
|
|
4835
4807
|
links: platformDpsLinksApi,
|
|
4836
|
-
messaging: platformDpsMessagingApi,
|
|
4837
4808
|
research: platformDpsResearchApi
|
|
4838
4809
|
};
|
|
4839
4810
|
|
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.9",
|
|
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",
|