@livechat/developer-studio-api 2.3.6 → 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 +8 -32
- package/dist/index.d.ts +8 -32
- package/dist/index.js +16 -43
- package/dist/index.mjs +16 -43
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -434,6 +434,11 @@ interface GetAppMonitoringEventsLogResponse {
|
|
|
434
434
|
next_page_from?: string;
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
+
interface TextPlatformDashboardPaymentDto {
|
|
438
|
+
credits_used: number;
|
|
439
|
+
amount: number;
|
|
440
|
+
}
|
|
441
|
+
|
|
437
442
|
interface TextPlatformDashboardReportItemDto {
|
|
438
443
|
usage: number;
|
|
439
444
|
amount: number;
|
|
@@ -457,7 +462,7 @@ interface GetTextPlatformDashboardReportParams {
|
|
|
457
462
|
action?: string;
|
|
458
463
|
source?: string;
|
|
459
464
|
time_distribution: "hour" | "day";
|
|
460
|
-
group_by?: "source" | "service" | "action";
|
|
465
|
+
group_by?: ("source" | "service" | "action")[];
|
|
461
466
|
}
|
|
462
467
|
|
|
463
468
|
interface TextClientInstanceAuthorization {
|
|
@@ -1675,30 +1680,6 @@ interface ShortcutDto {
|
|
|
1675
1680
|
url: string;
|
|
1676
1681
|
}
|
|
1677
1682
|
|
|
1678
|
-
interface DeveloperMessageBaseDto {
|
|
1679
|
-
id: number;
|
|
1680
|
-
title: string;
|
|
1681
|
-
apps: {
|
|
1682
|
-
icon: string;
|
|
1683
|
-
name: string;
|
|
1684
|
-
}[];
|
|
1685
|
-
audience: string[];
|
|
1686
|
-
content: string;
|
|
1687
|
-
}
|
|
1688
|
-
interface DeveloperMessageDto extends DeveloperMessageBaseDto {
|
|
1689
|
-
date: string;
|
|
1690
|
-
}
|
|
1691
|
-
interface DeveloperMessage extends DeveloperMessageBaseDto {
|
|
1692
|
-
date: Date;
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
|
-
interface CreateDeveloperMessagePayload {
|
|
1696
|
-
apps: string;
|
|
1697
|
-
messageTitle: string;
|
|
1698
|
-
messageContent: string;
|
|
1699
|
-
audience: string[];
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
1683
|
interface ResearchCustomerItemDto {
|
|
1703
1684
|
amount: number;
|
|
1704
1685
|
param: string;
|
|
@@ -2221,12 +2202,6 @@ declare const api: {
|
|
|
2221
2202
|
links: {
|
|
2222
2203
|
updateShortcuts(links: ShortcutDto[], authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2223
2204
|
};
|
|
2224
|
-
messaging: {
|
|
2225
|
-
developer: {
|
|
2226
|
-
getMessages(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<DeveloperMessageDto[]>;
|
|
2227
|
-
createMessage(message: CreateDeveloperMessagePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2228
|
-
};
|
|
2229
|
-
};
|
|
2230
2205
|
research: {
|
|
2231
2206
|
customer: {
|
|
2232
2207
|
getResearchCustomersLicenses(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<ResearchCustomerItemDto>;
|
|
@@ -2452,6 +2427,7 @@ declare const api: {
|
|
|
2452
2427
|
dashboard: {
|
|
2453
2428
|
getReport(params: GetTextPlatformDashboardReportParams, authorization?: TextClientInstanceAuthorization | undefined): Promise<TextPlatformDashboardReportDto>;
|
|
2454
2429
|
getCredits(authorization?: TextClientInstanceAuthorization | undefined): Promise<TextPlatformDashboardCreditsDto>;
|
|
2430
|
+
getPayment(authorization?: TextClientInstanceAuthorization | undefined): Promise<TextPlatformDashboardPaymentDto>;
|
|
2455
2431
|
};
|
|
2456
2432
|
};
|
|
2457
2433
|
};
|
|
@@ -2524,4 +2500,4 @@ declare const serializerBase64: {
|
|
|
2524
2500
|
deserialize<T_1>(message?: string): T_1 | undefined;
|
|
2525
2501
|
};
|
|
2526
2502
|
|
|
2527
|
-
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
|
@@ -434,6 +434,11 @@ interface GetAppMonitoringEventsLogResponse {
|
|
|
434
434
|
next_page_from?: string;
|
|
435
435
|
}
|
|
436
436
|
|
|
437
|
+
interface TextPlatformDashboardPaymentDto {
|
|
438
|
+
credits_used: number;
|
|
439
|
+
amount: number;
|
|
440
|
+
}
|
|
441
|
+
|
|
437
442
|
interface TextPlatformDashboardReportItemDto {
|
|
438
443
|
usage: number;
|
|
439
444
|
amount: number;
|
|
@@ -457,7 +462,7 @@ interface GetTextPlatformDashboardReportParams {
|
|
|
457
462
|
action?: string;
|
|
458
463
|
source?: string;
|
|
459
464
|
time_distribution: "hour" | "day";
|
|
460
|
-
group_by?: "source" | "service" | "action";
|
|
465
|
+
group_by?: ("source" | "service" | "action")[];
|
|
461
466
|
}
|
|
462
467
|
|
|
463
468
|
interface TextClientInstanceAuthorization {
|
|
@@ -1675,30 +1680,6 @@ interface ShortcutDto {
|
|
|
1675
1680
|
url: string;
|
|
1676
1681
|
}
|
|
1677
1682
|
|
|
1678
|
-
interface DeveloperMessageBaseDto {
|
|
1679
|
-
id: number;
|
|
1680
|
-
title: string;
|
|
1681
|
-
apps: {
|
|
1682
|
-
icon: string;
|
|
1683
|
-
name: string;
|
|
1684
|
-
}[];
|
|
1685
|
-
audience: string[];
|
|
1686
|
-
content: string;
|
|
1687
|
-
}
|
|
1688
|
-
interface DeveloperMessageDto extends DeveloperMessageBaseDto {
|
|
1689
|
-
date: string;
|
|
1690
|
-
}
|
|
1691
|
-
interface DeveloperMessage extends DeveloperMessageBaseDto {
|
|
1692
|
-
date: Date;
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
|
-
interface CreateDeveloperMessagePayload {
|
|
1696
|
-
apps: string;
|
|
1697
|
-
messageTitle: string;
|
|
1698
|
-
messageContent: string;
|
|
1699
|
-
audience: string[];
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
1683
|
interface ResearchCustomerItemDto {
|
|
1703
1684
|
amount: number;
|
|
1704
1685
|
param: string;
|
|
@@ -2221,12 +2202,6 @@ declare const api: {
|
|
|
2221
2202
|
links: {
|
|
2222
2203
|
updateShortcuts(links: ShortcutDto[], authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2223
2204
|
};
|
|
2224
|
-
messaging: {
|
|
2225
|
-
developer: {
|
|
2226
|
-
getMessages(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<DeveloperMessageDto[]>;
|
|
2227
|
-
createMessage(message: CreateDeveloperMessagePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<undefined>>;
|
|
2228
|
-
};
|
|
2229
|
-
};
|
|
2230
2205
|
research: {
|
|
2231
2206
|
customer: {
|
|
2232
2207
|
getResearchCustomersLicenses(authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<ResearchCustomerItemDto>;
|
|
@@ -2452,6 +2427,7 @@ declare const api: {
|
|
|
2452
2427
|
dashboard: {
|
|
2453
2428
|
getReport(params: GetTextPlatformDashboardReportParams, authorization?: TextClientInstanceAuthorization | undefined): Promise<TextPlatformDashboardReportDto>;
|
|
2454
2429
|
getCredits(authorization?: TextClientInstanceAuthorization | undefined): Promise<TextPlatformDashboardCreditsDto>;
|
|
2430
|
+
getPayment(authorization?: TextClientInstanceAuthorization | undefined): Promise<TextPlatformDashboardPaymentDto>;
|
|
2455
2431
|
};
|
|
2456
2432
|
};
|
|
2457
2433
|
};
|
|
@@ -2524,4 +2500,4 @@ declare const serializerBase64: {
|
|
|
2524
2500
|
deserialize<T_1>(message?: string): T_1 | undefined;
|
|
2525
2501
|
};
|
|
2526
2502
|
|
|
2527
|
-
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
|
@@ -2080,6 +2080,22 @@ var textPlatformDashboardApi = {
|
|
|
2080
2080
|
throw error;
|
|
2081
2081
|
}
|
|
2082
2082
|
});
|
|
2083
|
+
},
|
|
2084
|
+
getPayment(authorization) {
|
|
2085
|
+
return __async(this, null, function* () {
|
|
2086
|
+
try {
|
|
2087
|
+
const response = yield textClientInstance.get(
|
|
2088
|
+
`/platform_dashboard/next_payment`,
|
|
2089
|
+
getTextClientConfig(authorization)
|
|
2090
|
+
);
|
|
2091
|
+
return response.data;
|
|
2092
|
+
} catch (error) {
|
|
2093
|
+
if (error instanceof Error) {
|
|
2094
|
+
throw new Error(`Couldn't load payment. [${error.message}]`);
|
|
2095
|
+
}
|
|
2096
|
+
throw error;
|
|
2097
|
+
}
|
|
2098
|
+
});
|
|
2083
2099
|
}
|
|
2084
2100
|
};
|
|
2085
2101
|
|
|
@@ -4617,48 +4633,6 @@ var platformDpsLinksApi = {
|
|
|
4617
4633
|
}
|
|
4618
4634
|
};
|
|
4619
4635
|
|
|
4620
|
-
// src/apis/platform/dps/messaging/developer/api.ts
|
|
4621
|
-
var platformDpsMessagingDeveloperApi = {
|
|
4622
|
-
getMessages(authorization) {
|
|
4623
|
-
return __async(this, null, function* () {
|
|
4624
|
-
try {
|
|
4625
|
-
const response = yield platformDpsClientInstance.get(
|
|
4626
|
-
`/v2/messaging/developer/fetch`,
|
|
4627
|
-
getPlatformDpsClientConfig(authorization)
|
|
4628
|
-
);
|
|
4629
|
-
return response.data;
|
|
4630
|
-
} catch (error) {
|
|
4631
|
-
if (error instanceof Error) {
|
|
4632
|
-
throw new Error(`Messages couldn't be fetched. [${error.message}]`);
|
|
4633
|
-
}
|
|
4634
|
-
throw error;
|
|
4635
|
-
}
|
|
4636
|
-
});
|
|
4637
|
-
},
|
|
4638
|
-
createMessage(message, authorization) {
|
|
4639
|
-
return __async(this, null, function* () {
|
|
4640
|
-
try {
|
|
4641
|
-
const response = yield platformDpsClientInstance.post(
|
|
4642
|
-
`/v2/messaging/developer/create`,
|
|
4643
|
-
message,
|
|
4644
|
-
getPlatformDpsClientConfig(authorization)
|
|
4645
|
-
);
|
|
4646
|
-
return response;
|
|
4647
|
-
} catch (error) {
|
|
4648
|
-
if (error instanceof Error) {
|
|
4649
|
-
throw new Error(`Message couldn't be sent. [${error.message}]`);
|
|
4650
|
-
}
|
|
4651
|
-
throw error;
|
|
4652
|
-
}
|
|
4653
|
-
});
|
|
4654
|
-
}
|
|
4655
|
-
};
|
|
4656
|
-
|
|
4657
|
-
// src/apis/platform/dps/messaging/api.ts
|
|
4658
|
-
var platformDpsMessagingApi = {
|
|
4659
|
-
developer: platformDpsMessagingDeveloperApi
|
|
4660
|
-
};
|
|
4661
|
-
|
|
4662
4636
|
// src/apis/platform/dps/research/customer/api.ts
|
|
4663
4637
|
var dpsResearchCustomerApi = {
|
|
4664
4638
|
getResearchCustomersLicenses(authorization) {
|
|
@@ -4908,7 +4882,6 @@ var platformDpsApi = {
|
|
|
4908
4882
|
categories: platformDpsCategoriesApi,
|
|
4909
4883
|
developers: platformDpsDevelopersApi,
|
|
4910
4884
|
links: platformDpsLinksApi,
|
|
4911
|
-
messaging: platformDpsMessagingApi,
|
|
4912
4885
|
research: platformDpsResearchApi
|
|
4913
4886
|
};
|
|
4914
4887
|
|
package/dist/index.mjs
CHANGED
|
@@ -1989,6 +1989,22 @@ var textPlatformDashboardApi = {
|
|
|
1989
1989
|
throw error;
|
|
1990
1990
|
}
|
|
1991
1991
|
});
|
|
1992
|
+
},
|
|
1993
|
+
getPayment(authorization) {
|
|
1994
|
+
return __async(this, null, function* () {
|
|
1995
|
+
try {
|
|
1996
|
+
const response = yield textClientInstance.get(
|
|
1997
|
+
`/platform_dashboard/next_payment`,
|
|
1998
|
+
getTextClientConfig(authorization)
|
|
1999
|
+
);
|
|
2000
|
+
return response.data;
|
|
2001
|
+
} catch (error) {
|
|
2002
|
+
if (error instanceof Error) {
|
|
2003
|
+
throw new Error(`Couldn't load payment. [${error.message}]`);
|
|
2004
|
+
}
|
|
2005
|
+
throw error;
|
|
2006
|
+
}
|
|
2007
|
+
});
|
|
1992
2008
|
}
|
|
1993
2009
|
};
|
|
1994
2010
|
|
|
@@ -4526,48 +4542,6 @@ var platformDpsLinksApi = {
|
|
|
4526
4542
|
}
|
|
4527
4543
|
};
|
|
4528
4544
|
|
|
4529
|
-
// src/apis/platform/dps/messaging/developer/api.ts
|
|
4530
|
-
var platformDpsMessagingDeveloperApi = {
|
|
4531
|
-
getMessages(authorization) {
|
|
4532
|
-
return __async(this, null, function* () {
|
|
4533
|
-
try {
|
|
4534
|
-
const response = yield platformDpsClientInstance.get(
|
|
4535
|
-
`/v2/messaging/developer/fetch`,
|
|
4536
|
-
getPlatformDpsClientConfig(authorization)
|
|
4537
|
-
);
|
|
4538
|
-
return response.data;
|
|
4539
|
-
} catch (error) {
|
|
4540
|
-
if (error instanceof Error) {
|
|
4541
|
-
throw new Error(`Messages couldn't be fetched. [${error.message}]`);
|
|
4542
|
-
}
|
|
4543
|
-
throw error;
|
|
4544
|
-
}
|
|
4545
|
-
});
|
|
4546
|
-
},
|
|
4547
|
-
createMessage(message, authorization) {
|
|
4548
|
-
return __async(this, null, function* () {
|
|
4549
|
-
try {
|
|
4550
|
-
const response = yield platformDpsClientInstance.post(
|
|
4551
|
-
`/v2/messaging/developer/create`,
|
|
4552
|
-
message,
|
|
4553
|
-
getPlatformDpsClientConfig(authorization)
|
|
4554
|
-
);
|
|
4555
|
-
return response;
|
|
4556
|
-
} catch (error) {
|
|
4557
|
-
if (error instanceof Error) {
|
|
4558
|
-
throw new Error(`Message couldn't be sent. [${error.message}]`);
|
|
4559
|
-
}
|
|
4560
|
-
throw error;
|
|
4561
|
-
}
|
|
4562
|
-
});
|
|
4563
|
-
}
|
|
4564
|
-
};
|
|
4565
|
-
|
|
4566
|
-
// src/apis/platform/dps/messaging/api.ts
|
|
4567
|
-
var platformDpsMessagingApi = {
|
|
4568
|
-
developer: platformDpsMessagingDeveloperApi
|
|
4569
|
-
};
|
|
4570
|
-
|
|
4571
4545
|
// src/apis/platform/dps/research/customer/api.ts
|
|
4572
4546
|
var dpsResearchCustomerApi = {
|
|
4573
4547
|
getResearchCustomersLicenses(authorization) {
|
|
@@ -4817,7 +4791,6 @@ var platformDpsApi = {
|
|
|
4817
4791
|
categories: platformDpsCategoriesApi,
|
|
4818
4792
|
developers: platformDpsDevelopersApi,
|
|
4819
4793
|
links: platformDpsLinksApi,
|
|
4820
|
-
messaging: platformDpsMessagingApi,
|
|
4821
4794
|
research: platformDpsResearchApi
|
|
4822
4795
|
};
|
|
4823
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",
|