@livechat/developer-studio-api 2.0.21 → 2.0.23
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 +24 -1
- package/dist/index.d.ts +24 -1
- package/dist/index.js +70 -9
- package/dist/index.mjs +70 -9
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import * as axios from 'axios';
|
|
2
2
|
import { AxiosRequestConfig } from 'axios';
|
|
3
3
|
|
|
4
|
+
interface TextClientInstanceAuthorization {
|
|
5
|
+
token?: string;
|
|
6
|
+
tokenType?: "Basic" | "Bearer";
|
|
7
|
+
}
|
|
8
|
+
|
|
4
9
|
interface AppEventDto {
|
|
5
10
|
name: string;
|
|
6
11
|
aggregateName: string;
|
|
@@ -1651,6 +1656,18 @@ declare function getPlatformDpsAdminClientAuthorization(): PlatformDpsClientInst
|
|
|
1651
1656
|
declare function getPlatformDpsClientConfig(options?: PlatformDpsClientInstanceOptions): AxiosRequestConfig;
|
|
1652
1657
|
declare function initPlatformDpsClientInstance(baseUrl?: string, token?: string): void;
|
|
1653
1658
|
|
|
1659
|
+
interface UptimeDto {
|
|
1660
|
+
[k: string]: {
|
|
1661
|
+
[k: string]: number;
|
|
1662
|
+
};
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
interface GetAppUptimeReportsPayload {
|
|
1666
|
+
from: string;
|
|
1667
|
+
to: string;
|
|
1668
|
+
resolution: 'hourly' | 'daily' | 'monthly';
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1654
1671
|
interface AgentDto {
|
|
1655
1672
|
login: string;
|
|
1656
1673
|
groups: {
|
|
@@ -2060,6 +2077,11 @@ declare const api: {
|
|
|
2060
2077
|
};
|
|
2061
2078
|
};
|
|
2062
2079
|
};
|
|
2080
|
+
text: {
|
|
2081
|
+
uptime: {
|
|
2082
|
+
getAppUptimeReports(appId: string, payload: GetAppUptimeReportsPayload, authorization: TextClientInstanceAuthorization): Promise<UptimeDto>;
|
|
2083
|
+
};
|
|
2084
|
+
};
|
|
2063
2085
|
};
|
|
2064
2086
|
products: {
|
|
2065
2087
|
livechat: {
|
|
@@ -2245,6 +2267,7 @@ declare function initApi(config: {
|
|
|
2245
2267
|
accounts?: string;
|
|
2246
2268
|
adapter?: string;
|
|
2247
2269
|
dps?: string;
|
|
2270
|
+
text?: string;
|
|
2248
2271
|
};
|
|
2249
2272
|
products?: {
|
|
2250
2273
|
livechat?: string;
|
|
@@ -2300,4 +2323,4 @@ declare const serializerBase64: {
|
|
|
2300
2323
|
deserialize<T_1>(message?: string): T_1 | undefined;
|
|
2301
2324
|
};
|
|
2302
2325
|
|
|
2303
|
-
export { API_NOTIFICATIONS, ActiveUserReportingEvent, AddAppAuthorizationData, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentDto, ApiError, AppDeployment, AppDeploymentBlock, AppDeploymentMode, AppDeploymentProvider, AppGitHubRepository, AppGitHubRepositoryConfig, AppGitLabRepository, AppInfrastructureBlocks, AppLoggerBlock, AppLoggerProvider, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppRepository, AppRepositoryBlock, AppRepositoryProvider, AppRepositoryTarget, AppResourceDto, AppSentryLogger, AppSentryLoggerConfig, AppStorage, AppStorageBlock, AppStorageProvider, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppVercelStorage, AppVercelStorageConfig, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, AuthorizeData, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateDeveloperMessagePayload, CreatePatPayload, CustomReportingEvent, DeveloperLedgerParams, DeveloperMessage, DeveloperMessageBaseDto, DeveloperMessageDto, ErrorReportingEvent, ErrorType, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetVercelProjectsResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientInstanceAuthorization, GithubClientRequestOptions, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryGitLabData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppSentryLoggerPayload, LinkAppStorageData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LinkAppStorageVercelData, LiveChatClientInstanceAuthorization, LiveChatClientInstanceOptions, NetlifyAccount, NetlifyClientInstanceAuthorization, NetlifyClientInstanceOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifySite, PatDto, PatScopeDto, PlanetScaleClientInstanceAuthorization, PlanetScaleClientInstanceOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientInstanceAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientInstanceAuthorization, PlatformAdapterClientInstanceOptions, PlatformDpsClientInstanceAuthorization, PlatformDpsClientInstanceOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, ReportingEvent, ReportingEventBase, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, SentryClientInstanceAuthorization, SentryClientInstanceOptions, SentryIntegration, SentryOrganization, SentryProject, SentryProjectIssue, SentryProjectIssueEvent, SentryProjectKey, SentryRepository, SentryTeam, ShortcutDto, SyncAppVariablePayload, UnauthorizeApiError, UnlinkAppDeploymentPayload, UnlinkAppRepositoryPayload, UnlinkAppSentryLoggerPayload, UnlinkAppStoragePayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppResourcePayload, UpsertApplicationChatBoosterPayload, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserSentryIntegrationDto, UserVercelIntegrationDto, VercelClientInstanceAuthorization, VercelClientInstanceOptions, VercelDeploy, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, Webhook, WebhookDto, api, getAppAutoReviewPayload, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientRequestConfig, getLiveChatClientAuthorization, getLiveChatClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAccountsClientConfig, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getSentryClientAuthorization, getSentryClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClientInstance, initLiveChatClientInstance, initNetlifyClientInstance, initPlanetScaleClientInstance, initPlatformAccountsClientInstance, initPlatformAdapterClientInstance, initPlatformDpsClientInstance, initSentryClientInstance, initVercelClientInstance, livechatClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformDpsClientInstance, sentryClientInstance, serializerBase64, updateGithubClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };
|
|
2326
|
+
export { API_NOTIFICATIONS, ActiveUserReportingEvent, AddAppAuthorizationData, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentDto, ApiError, AppDeployment, AppDeploymentBlock, AppDeploymentMode, AppDeploymentProvider, AppGitHubRepository, AppGitHubRepositoryConfig, AppGitLabRepository, AppInfrastructureBlocks, AppLoggerBlock, AppLoggerProvider, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppRepository, AppRepositoryBlock, AppRepositoryProvider, AppRepositoryTarget, AppResourceDto, AppSentryLogger, AppSentryLoggerConfig, AppStorage, AppStorageBlock, AppStorageProvider, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppVercelStorage, AppVercelStorageConfig, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, AuthorizeData, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateDeveloperMessagePayload, CreatePatPayload, CustomReportingEvent, DeveloperLedgerParams, DeveloperMessage, DeveloperMessageBaseDto, DeveloperMessageDto, ErrorReportingEvent, ErrorType, GetAppUptimeReportsPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetVercelProjectsResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientInstanceAuthorization, GithubClientRequestOptions, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryGitLabData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppSentryLoggerPayload, LinkAppStorageData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LinkAppStorageVercelData, LiveChatClientInstanceAuthorization, LiveChatClientInstanceOptions, NetlifyAccount, NetlifyClientInstanceAuthorization, NetlifyClientInstanceOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifySite, PatDto, PatScopeDto, PlanetScaleClientInstanceAuthorization, PlanetScaleClientInstanceOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientInstanceAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientInstanceAuthorization, PlatformAdapterClientInstanceOptions, PlatformDpsClientInstanceAuthorization, PlatformDpsClientInstanceOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, ReportingEvent, ReportingEventBase, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, SentryClientInstanceAuthorization, SentryClientInstanceOptions, SentryIntegration, SentryOrganization, SentryProject, SentryProjectIssue, SentryProjectIssueEvent, SentryProjectKey, SentryRepository, SentryTeam, ShortcutDto, SyncAppVariablePayload, UnauthorizeApiError, UnlinkAppDeploymentPayload, UnlinkAppRepositoryPayload, UnlinkAppSentryLoggerPayload, UnlinkAppStoragePayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppResourcePayload, UpsertApplicationChatBoosterPayload, UptimeDto, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserSentryIntegrationDto, UserVercelIntegrationDto, VercelClientInstanceAuthorization, VercelClientInstanceOptions, VercelDeploy, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, Webhook, WebhookDto, api, getAppAutoReviewPayload, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientRequestConfig, getLiveChatClientAuthorization, getLiveChatClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAccountsClientConfig, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getSentryClientAuthorization, getSentryClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClientInstance, initLiveChatClientInstance, initNetlifyClientInstance, initPlanetScaleClientInstance, initPlatformAccountsClientInstance, initPlatformAdapterClientInstance, initPlatformDpsClientInstance, initSentryClientInstance, initVercelClientInstance, livechatClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformDpsClientInstance, sentryClientInstance, serializerBase64, updateGithubClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import * as axios from 'axios';
|
|
2
2
|
import { AxiosRequestConfig } from 'axios';
|
|
3
3
|
|
|
4
|
+
interface TextClientInstanceAuthorization {
|
|
5
|
+
token?: string;
|
|
6
|
+
tokenType?: "Basic" | "Bearer";
|
|
7
|
+
}
|
|
8
|
+
|
|
4
9
|
interface AppEventDto {
|
|
5
10
|
name: string;
|
|
6
11
|
aggregateName: string;
|
|
@@ -1651,6 +1656,18 @@ declare function getPlatformDpsAdminClientAuthorization(): PlatformDpsClientInst
|
|
|
1651
1656
|
declare function getPlatformDpsClientConfig(options?: PlatformDpsClientInstanceOptions): AxiosRequestConfig;
|
|
1652
1657
|
declare function initPlatformDpsClientInstance(baseUrl?: string, token?: string): void;
|
|
1653
1658
|
|
|
1659
|
+
interface UptimeDto {
|
|
1660
|
+
[k: string]: {
|
|
1661
|
+
[k: string]: number;
|
|
1662
|
+
};
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
interface GetAppUptimeReportsPayload {
|
|
1666
|
+
from: string;
|
|
1667
|
+
to: string;
|
|
1668
|
+
resolution: 'hourly' | 'daily' | 'monthly';
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1654
1671
|
interface AgentDto {
|
|
1655
1672
|
login: string;
|
|
1656
1673
|
groups: {
|
|
@@ -2060,6 +2077,11 @@ declare const api: {
|
|
|
2060
2077
|
};
|
|
2061
2078
|
};
|
|
2062
2079
|
};
|
|
2080
|
+
text: {
|
|
2081
|
+
uptime: {
|
|
2082
|
+
getAppUptimeReports(appId: string, payload: GetAppUptimeReportsPayload, authorization: TextClientInstanceAuthorization): Promise<UptimeDto>;
|
|
2083
|
+
};
|
|
2084
|
+
};
|
|
2063
2085
|
};
|
|
2064
2086
|
products: {
|
|
2065
2087
|
livechat: {
|
|
@@ -2245,6 +2267,7 @@ declare function initApi(config: {
|
|
|
2245
2267
|
accounts?: string;
|
|
2246
2268
|
adapter?: string;
|
|
2247
2269
|
dps?: string;
|
|
2270
|
+
text?: string;
|
|
2248
2271
|
};
|
|
2249
2272
|
products?: {
|
|
2250
2273
|
livechat?: string;
|
|
@@ -2300,4 +2323,4 @@ declare const serializerBase64: {
|
|
|
2300
2323
|
deserialize<T_1>(message?: string): T_1 | undefined;
|
|
2301
2324
|
};
|
|
2302
2325
|
|
|
2303
|
-
export { API_NOTIFICATIONS, ActiveUserReportingEvent, AddAppAuthorizationData, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentDto, ApiError, AppDeployment, AppDeploymentBlock, AppDeploymentMode, AppDeploymentProvider, AppGitHubRepository, AppGitHubRepositoryConfig, AppGitLabRepository, AppInfrastructureBlocks, AppLoggerBlock, AppLoggerProvider, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppRepository, AppRepositoryBlock, AppRepositoryProvider, AppRepositoryTarget, AppResourceDto, AppSentryLogger, AppSentryLoggerConfig, AppStorage, AppStorageBlock, AppStorageProvider, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppVercelStorage, AppVercelStorageConfig, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, AuthorizeData, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateDeveloperMessagePayload, CreatePatPayload, CustomReportingEvent, DeveloperLedgerParams, DeveloperMessage, DeveloperMessageBaseDto, DeveloperMessageDto, ErrorReportingEvent, ErrorType, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetVercelProjectsResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientInstanceAuthorization, GithubClientRequestOptions, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryGitLabData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppSentryLoggerPayload, LinkAppStorageData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LinkAppStorageVercelData, LiveChatClientInstanceAuthorization, LiveChatClientInstanceOptions, NetlifyAccount, NetlifyClientInstanceAuthorization, NetlifyClientInstanceOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifySite, PatDto, PatScopeDto, PlanetScaleClientInstanceAuthorization, PlanetScaleClientInstanceOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientInstanceAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientInstanceAuthorization, PlatformAdapterClientInstanceOptions, PlatformDpsClientInstanceAuthorization, PlatformDpsClientInstanceOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, ReportingEvent, ReportingEventBase, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, SentryClientInstanceAuthorization, SentryClientInstanceOptions, SentryIntegration, SentryOrganization, SentryProject, SentryProjectIssue, SentryProjectIssueEvent, SentryProjectKey, SentryRepository, SentryTeam, ShortcutDto, SyncAppVariablePayload, UnauthorizeApiError, UnlinkAppDeploymentPayload, UnlinkAppRepositoryPayload, UnlinkAppSentryLoggerPayload, UnlinkAppStoragePayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppResourcePayload, UpsertApplicationChatBoosterPayload, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserSentryIntegrationDto, UserVercelIntegrationDto, VercelClientInstanceAuthorization, VercelClientInstanceOptions, VercelDeploy, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, Webhook, WebhookDto, api, getAppAutoReviewPayload, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientRequestConfig, getLiveChatClientAuthorization, getLiveChatClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAccountsClientConfig, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getSentryClientAuthorization, getSentryClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClientInstance, initLiveChatClientInstance, initNetlifyClientInstance, initPlanetScaleClientInstance, initPlatformAccountsClientInstance, initPlatformAdapterClientInstance, initPlatformDpsClientInstance, initSentryClientInstance, initVercelClientInstance, livechatClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformDpsClientInstance, sentryClientInstance, serializerBase64, updateGithubClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };
|
|
2326
|
+
export { API_NOTIFICATIONS, ActiveUserReportingEvent, AddAppAuthorizationData, AddAppAuthorizationPayload, AddAppAuthorizationResult, AgentDto, ApiError, AppDeployment, AppDeploymentBlock, AppDeploymentMode, AppDeploymentProvider, AppGitHubRepository, AppGitHubRepositoryConfig, AppGitLabRepository, AppInfrastructureBlocks, AppLoggerBlock, AppLoggerProvider, AppNetlifyDeployment, AppNetlifyDeploymentConfig, AppPlanetScaleStorage, AppPlanetScaleStorageConfig, AppRepository, AppRepositoryBlock, AppRepositoryProvider, AppRepositoryTarget, AppResourceDto, AppSentryLogger, AppSentryLoggerConfig, AppStorage, AppStorageBlock, AppStorageProvider, AppVariable, AppVariableExternalProvider, AppVariableLocalProvider, AppVariableProvider, AppVariableStatus, AppVariableType, AppVercelDeployment, AppVercelDeploymentConfig, AppVercelStorage, AppVercelStorageConfig, ApplicationAutoReviewDto, ApplicationAutoReviewPayload, ApplicationBasicDetailsDto, ApplicationBenefitDto, ApplicationDto, ApplicationFeatureDto, ApplicationIconDto, ApplicationOverviewDto, ApplicationPaymentDto, ApplicationPropertyDto, ApplicationScreenshotDto, ApplicationTutorialAndSupportDto, ApplicationUsageOptionsDto, AuthorizeData, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateDeveloperMessagePayload, CreatePatPayload, CustomReportingEvent, DeveloperLedgerParams, DeveloperMessage, DeveloperMessageBaseDto, DeveloperMessageDto, ErrorReportingEvent, ErrorType, GetAppUptimeReportsPayload, GetPlanetScaleDatabasePasswordsResult, GetPlanetScaleDatabasesResult, GetPlanetScaleOrganizationsResult, GetVercelProjectsResult, GitHubInstallation, GitHubRepository, GitHubRepositoryBranch, GitHubRepositoryHook, GitHubRepositoryKey, GitHubRepositorySeed, GithubClientInstanceAuthorization, GithubClientRequestOptions, LinkAppDeploymentData, LinkAppDeploymentNetlifyData, LinkAppDeploymentNetlifySiteData, LinkAppDeploymentPayload, LinkAppDeploymentResult, LinkAppDeploymentVercelData, LinkAppDeploymentVercelProjectData, LinkAppRepositoryData, LinkAppRepositoryGitHubData, LinkAppRepositoryGitLabData, LinkAppRepositoryPayload, LinkAppRepositoryResult, LinkAppSentryLoggerPayload, LinkAppStorageData, LinkAppStoragePayload, LinkAppStoragePlanetScaleData, LinkAppStoragePlanetScaleDatabaseData, LinkAppStorageVercelData, LiveChatClientInstanceAuthorization, LiveChatClientInstanceOptions, NetlifyAccount, NetlifyClientInstanceAuthorization, NetlifyClientInstanceOptions, NetlifyDeploy, NetlifyDeployKey, NetlifyEnv, NetlifySite, PatDto, PatScopeDto, PlanetScaleClientInstanceAuthorization, PlanetScaleClientInstanceOptions, PlanetScaleDatabase, PlanetScaleDatabasePassword, PlanetScaleOrganization, PlanetScalePaginatedResult, PlanetScalePagination, PlanetScaleUser, PlatformAccountsClientInstanceAuthorization, PlatformAccountsClientInstanceOptions, PlatformAdapterClientInstanceAuthorization, PlatformAdapterClientInstanceOptions, PlatformDpsClientInstanceAuthorization, PlatformDpsClientInstanceOptions, ProductDto, PropertiesDto, Property, PropertyAccessDto, PropertyAccessItemDto, PropertyDto, ReportingEvent, ReportingEventBase, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, SentryClientInstanceAuthorization, SentryClientInstanceOptions, SentryIntegration, SentryOrganization, SentryProject, SentryProjectIssue, SentryProjectIssueEvent, SentryProjectKey, SentryRepository, SentryTeam, ShortcutDto, SyncAppVariablePayload, UnauthorizeApiError, UnlinkAppDeploymentPayload, UnlinkAppRepositoryPayload, UnlinkAppSentryLoggerPayload, UnlinkAppStoragePayload, UpdateAppInfrastructureBlocksPayload, UpdateApplicationChangelogPayload, UpdateApplicationChatActionPayload, UpdateApplicationDirectInstallUrlPayload, UpdateApplicationIconPayload, UpdateApplicationOnboardingPayload, UpdateApplicationProductPayload, UpdateApplicationWebhookPayload, UpdateApplicationWidgetDto, UpdateChatWebhookPayload, UpdateClientPayload, UpdateUserFeatures, UpdateUserIntegrations, UpsertAppResourcePayload, UpsertApplicationChatBoosterPayload, UptimeDto, UserDto, UserGitHubIntegrationDto, UserIntegrationsDto, UserNetlifyIntegrationDto, UserPlanetScaleIntegrationDto, UserSentryIntegrationDto, UserVercelIntegrationDto, VercelClientInstanceAuthorization, VercelClientInstanceOptions, VercelDeploy, VercelNamespace, VercelPaginatedResult, VercelPagination, VercelProject, VercelProjectEnv, VercelRepository, VercelSearchRepositoryResponse, Webhook, WebhookDto, api, getAppAutoReviewPayload, getEmptyAppAutoReview, getGitHubClientAuthorization, getGithubClientRequestConfig, getLiveChatClientAuthorization, getLiveChatClientConfig, getNetlifyClientAuthorization, getNetlifyClientConfig, getPlanetScaleClientAuthorization, getPlanetScaleClientConfig, getPlatformAccountsClientAuthorization, getPlatformAccountsClientConfig, getPlatformAdapterClientAuthorization, getPlatformAdapterClientConfig, getPlatformDpsAdminClientAuthorization, getPlatformDpsClientAuthorization, getPlatformDpsClientConfig, getRegion, getSentryClientAuthorization, getSentryClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClientInstance, initLiveChatClientInstance, initNetlifyClientInstance, initPlanetScaleClientInstance, initPlatformAccountsClientInstance, initPlatformAdapterClientInstance, initPlatformDpsClientInstance, initSentryClientInstance, initVercelClientInstance, livechatClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformDpsClientInstance, sentryClientInstance, serializerBase64, updateGithubClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };
|
package/dist/index.js
CHANGED
|
@@ -4876,11 +4876,68 @@ var platformAdapterApi = {
|
|
|
4876
4876
|
app: platformAdapterAppApi
|
|
4877
4877
|
};
|
|
4878
4878
|
|
|
4879
|
+
// src/apis/platform/text/instance.ts
|
|
4880
|
+
var import_axios13 = __toESM(require("axios"));
|
|
4881
|
+
var textClientInstance = import_axios13.default.create({
|
|
4882
|
+
baseURL: "https://api.labs.text.com"
|
|
4883
|
+
});
|
|
4884
|
+
function getTextClientConfig(option = {}) {
|
|
4885
|
+
const defaultAuthorization = textClientInstance.defaults.headers["Authorization"];
|
|
4886
|
+
const headers = {
|
|
4887
|
+
authorization: defaultAuthorization != null ? defaultAuthorization : option.token ? `Bearer ${option.token}` : void 0
|
|
4888
|
+
};
|
|
4889
|
+
return {
|
|
4890
|
+
headers: __spreadValues({}, headers.authorization ? { Authorization: headers.authorization } : {})
|
|
4891
|
+
};
|
|
4892
|
+
}
|
|
4893
|
+
function initTextClientInstance(baseUrl, token) {
|
|
4894
|
+
if (baseUrl) {
|
|
4895
|
+
textClientInstance.interceptors.request.use(
|
|
4896
|
+
(config) => __async(this, null, function* () {
|
|
4897
|
+
config.baseURL = baseUrl;
|
|
4898
|
+
return config;
|
|
4899
|
+
}),
|
|
4900
|
+
(error) => Promise.reject(error)
|
|
4901
|
+
);
|
|
4902
|
+
}
|
|
4903
|
+
if (token) {
|
|
4904
|
+
textClientInstance.defaults.headers["Authorization"] = `Bearer ${token}`;
|
|
4905
|
+
} else {
|
|
4906
|
+
delete textClientInstance.defaults.headers["Authorization"];
|
|
4907
|
+
}
|
|
4908
|
+
}
|
|
4909
|
+
|
|
4910
|
+
// src/apis/platform/text/uptime/api.ts
|
|
4911
|
+
var textUptimeApi = {
|
|
4912
|
+
getAppUptimeReports(appId, payload, authorization) {
|
|
4913
|
+
return __async(this, null, function* () {
|
|
4914
|
+
try {
|
|
4915
|
+
const response = yield textClientInstance.get(
|
|
4916
|
+
`/app_monitoring/${appId}/reports/uptime?from=${payload.from}&to=${payload.to}&resolution=${payload.resolution}`,
|
|
4917
|
+
getTextClientConfig(authorization)
|
|
4918
|
+
);
|
|
4919
|
+
return response.data;
|
|
4920
|
+
} catch (error) {
|
|
4921
|
+
if (error instanceof Error) {
|
|
4922
|
+
throw new Error(`Couldn't get app uptime reports. [${error.message}]`);
|
|
4923
|
+
}
|
|
4924
|
+
throw error;
|
|
4925
|
+
}
|
|
4926
|
+
});
|
|
4927
|
+
}
|
|
4928
|
+
};
|
|
4929
|
+
|
|
4930
|
+
// src/apis/platform/text/api.ts
|
|
4931
|
+
var textApi = {
|
|
4932
|
+
uptime: textUptimeApi
|
|
4933
|
+
};
|
|
4934
|
+
|
|
4879
4935
|
// src/apis/platform/api.ts
|
|
4880
4936
|
var platformApi = {
|
|
4881
4937
|
accounts: platformAccountsApi,
|
|
4882
4938
|
adapter: platformAdapterApi,
|
|
4883
|
-
dps: platformDpsApi
|
|
4939
|
+
dps: platformDpsApi,
|
|
4940
|
+
text: textApi
|
|
4884
4941
|
};
|
|
4885
4942
|
|
|
4886
4943
|
// src/apis/platform/dps/applications/application/reporting/_contracts/dtos/events/error.ts
|
|
@@ -4898,7 +4955,7 @@ var api = {
|
|
|
4898
4955
|
isInitialized: false
|
|
4899
4956
|
};
|
|
4900
4957
|
function initApi(config, tokens) {
|
|
4901
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
4958
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
|
|
4902
4959
|
initPlatformAccountsClientInstance(
|
|
4903
4960
|
(_a = config.urls.platform) == null ? void 0 : _a.accounts,
|
|
4904
4961
|
(_b = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _b.dps
|
|
@@ -4923,15 +4980,19 @@ function initApi(config, tokens) {
|
|
|
4923
4980
|
sentry: (_l = tokens.sentry) == null ? void 0 : _l.token
|
|
4924
4981
|
} : void 0
|
|
4925
4982
|
);
|
|
4926
|
-
|
|
4927
|
-
(_m = config.urls.
|
|
4983
|
+
initTextClientInstance(
|
|
4984
|
+
(_m = config.urls.platform) == null ? void 0 : _m.text,
|
|
4928
4985
|
(_n = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _n.dps
|
|
4929
4986
|
);
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4987
|
+
initLiveChatClientInstance(
|
|
4988
|
+
(_o = config.urls.products) == null ? void 0 : _o.livechat,
|
|
4989
|
+
(_p = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _p.dps
|
|
4990
|
+
);
|
|
4991
|
+
initGithubClientInstance((_q = tokens == null ? void 0 : tokens.github) == null ? void 0 : _q.apps);
|
|
4992
|
+
initNetlifyClientInstance((_r = tokens == null ? void 0 : tokens.netlify) == null ? void 0 : _r.token);
|
|
4993
|
+
initVercelClientInstance((_s = tokens == null ? void 0 : tokens.vercel) == null ? void 0 : _s.token);
|
|
4994
|
+
initPlanetScaleClientInstance((_t = tokens == null ? void 0 : tokens.planetscale) == null ? void 0 : _t.token);
|
|
4995
|
+
initSentryClientInstance((_u = tokens == null ? void 0 : tokens.sentry) == null ? void 0 : _u.token);
|
|
4935
4996
|
api.isInitialized = true;
|
|
4936
4997
|
}
|
|
4937
4998
|
|
package/dist/index.mjs
CHANGED
|
@@ -4792,11 +4792,68 @@ var platformAdapterApi = {
|
|
|
4792
4792
|
app: platformAdapterAppApi
|
|
4793
4793
|
};
|
|
4794
4794
|
|
|
4795
|
+
// src/apis/platform/text/instance.ts
|
|
4796
|
+
import axios13 from "axios";
|
|
4797
|
+
var textClientInstance = axios13.create({
|
|
4798
|
+
baseURL: "https://api.labs.text.com"
|
|
4799
|
+
});
|
|
4800
|
+
function getTextClientConfig(option = {}) {
|
|
4801
|
+
const defaultAuthorization = textClientInstance.defaults.headers["Authorization"];
|
|
4802
|
+
const headers = {
|
|
4803
|
+
authorization: defaultAuthorization != null ? defaultAuthorization : option.token ? `Bearer ${option.token}` : void 0
|
|
4804
|
+
};
|
|
4805
|
+
return {
|
|
4806
|
+
headers: __spreadValues({}, headers.authorization ? { Authorization: headers.authorization } : {})
|
|
4807
|
+
};
|
|
4808
|
+
}
|
|
4809
|
+
function initTextClientInstance(baseUrl, token) {
|
|
4810
|
+
if (baseUrl) {
|
|
4811
|
+
textClientInstance.interceptors.request.use(
|
|
4812
|
+
(config) => __async(this, null, function* () {
|
|
4813
|
+
config.baseURL = baseUrl;
|
|
4814
|
+
return config;
|
|
4815
|
+
}),
|
|
4816
|
+
(error) => Promise.reject(error)
|
|
4817
|
+
);
|
|
4818
|
+
}
|
|
4819
|
+
if (token) {
|
|
4820
|
+
textClientInstance.defaults.headers["Authorization"] = `Bearer ${token}`;
|
|
4821
|
+
} else {
|
|
4822
|
+
delete textClientInstance.defaults.headers["Authorization"];
|
|
4823
|
+
}
|
|
4824
|
+
}
|
|
4825
|
+
|
|
4826
|
+
// src/apis/platform/text/uptime/api.ts
|
|
4827
|
+
var textUptimeApi = {
|
|
4828
|
+
getAppUptimeReports(appId, payload, authorization) {
|
|
4829
|
+
return __async(this, null, function* () {
|
|
4830
|
+
try {
|
|
4831
|
+
const response = yield textClientInstance.get(
|
|
4832
|
+
`/app_monitoring/${appId}/reports/uptime?from=${payload.from}&to=${payload.to}&resolution=${payload.resolution}`,
|
|
4833
|
+
getTextClientConfig(authorization)
|
|
4834
|
+
);
|
|
4835
|
+
return response.data;
|
|
4836
|
+
} catch (error) {
|
|
4837
|
+
if (error instanceof Error) {
|
|
4838
|
+
throw new Error(`Couldn't get app uptime reports. [${error.message}]`);
|
|
4839
|
+
}
|
|
4840
|
+
throw error;
|
|
4841
|
+
}
|
|
4842
|
+
});
|
|
4843
|
+
}
|
|
4844
|
+
};
|
|
4845
|
+
|
|
4846
|
+
// src/apis/platform/text/api.ts
|
|
4847
|
+
var textApi = {
|
|
4848
|
+
uptime: textUptimeApi
|
|
4849
|
+
};
|
|
4850
|
+
|
|
4795
4851
|
// src/apis/platform/api.ts
|
|
4796
4852
|
var platformApi = {
|
|
4797
4853
|
accounts: platformAccountsApi,
|
|
4798
4854
|
adapter: platformAdapterApi,
|
|
4799
|
-
dps: platformDpsApi
|
|
4855
|
+
dps: platformDpsApi,
|
|
4856
|
+
text: textApi
|
|
4800
4857
|
};
|
|
4801
4858
|
|
|
4802
4859
|
// src/apis/platform/dps/applications/application/reporting/_contracts/dtos/events/error.ts
|
|
@@ -4814,7 +4871,7 @@ var api = {
|
|
|
4814
4871
|
isInitialized: false
|
|
4815
4872
|
};
|
|
4816
4873
|
function initApi(config, tokens) {
|
|
4817
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
4874
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u;
|
|
4818
4875
|
initPlatformAccountsClientInstance(
|
|
4819
4876
|
(_a = config.urls.platform) == null ? void 0 : _a.accounts,
|
|
4820
4877
|
(_b = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _b.dps
|
|
@@ -4839,15 +4896,19 @@ function initApi(config, tokens) {
|
|
|
4839
4896
|
sentry: (_l = tokens.sentry) == null ? void 0 : _l.token
|
|
4840
4897
|
} : void 0
|
|
4841
4898
|
);
|
|
4842
|
-
|
|
4843
|
-
(_m = config.urls.
|
|
4899
|
+
initTextClientInstance(
|
|
4900
|
+
(_m = config.urls.platform) == null ? void 0 : _m.text,
|
|
4844
4901
|
(_n = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _n.dps
|
|
4845
4902
|
);
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4903
|
+
initLiveChatClientInstance(
|
|
4904
|
+
(_o = config.urls.products) == null ? void 0 : _o.livechat,
|
|
4905
|
+
(_p = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _p.dps
|
|
4906
|
+
);
|
|
4907
|
+
initGithubClientInstance((_q = tokens == null ? void 0 : tokens.github) == null ? void 0 : _q.apps);
|
|
4908
|
+
initNetlifyClientInstance((_r = tokens == null ? void 0 : tokens.netlify) == null ? void 0 : _r.token);
|
|
4909
|
+
initVercelClientInstance((_s = tokens == null ? void 0 : tokens.vercel) == null ? void 0 : _s.token);
|
|
4910
|
+
initPlanetScaleClientInstance((_t = tokens == null ? void 0 : tokens.planetscale) == null ? void 0 : _t.token);
|
|
4911
|
+
initSentryClientInstance((_u = tokens == null ? void 0 : tokens.sentry) == null ? void 0 : _u.token);
|
|
4851
4912
|
api.isInitialized = true;
|
|
4852
4913
|
}
|
|
4853
4914
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/developer-studio-api",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.23",
|
|
4
4
|
"description": "This project is API for LiveChat Developer Studio.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"@types/node": "^17.0.12",
|
|
18
18
|
"tsup": "^7.1.0",
|
|
19
19
|
"typescript": "^5.1.6",
|
|
20
|
-
"
|
|
21
|
-
"eslint-config-custom-lib": "0.0.1",
|
|
20
|
+
"tsconfig": "0.0.0",
|
|
22
21
|
"types": "0.0.1",
|
|
23
|
-
"
|
|
22
|
+
"eslint-config-custom-lib": "0.0.1",
|
|
23
|
+
"config": "0.0.0"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|