@livechat/developer-studio-api 2.0.54 → 2.0.56
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 +4 -31
- package/dist/index.d.ts +4 -31
- package/dist/index.js +3 -29
- package/dist/index.mjs +3 -28
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1494,32 +1494,6 @@ interface ApplicationPropertyDto {
|
|
|
1494
1494
|
value: string;
|
|
1495
1495
|
}
|
|
1496
1496
|
|
|
1497
|
-
interface ReportingEventBase {
|
|
1498
|
-
name: string;
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1501
|
-
interface ActiveUserReportingEvent extends ReportingEventBase {
|
|
1502
|
-
name: 'activeUser';
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
interface CustomReportingEvent<TPayload> extends ReportingEventBase {
|
|
1506
|
-
name: 'custom';
|
|
1507
|
-
payload: TPayload;
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
declare enum ErrorType {
|
|
1511
|
-
'4xx' = "4xx",
|
|
1512
|
-
'5xx' = "5xx"
|
|
1513
|
-
}
|
|
1514
|
-
interface ErrorReportingEvent extends ReportingEventBase {
|
|
1515
|
-
name: 'error';
|
|
1516
|
-
payload: {
|
|
1517
|
-
type: ErrorType;
|
|
1518
|
-
};
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
|
-
type ReportingEvent<TPayload = unknown> = ActiveUserReportingEvent | ErrorReportingEvent | CustomReportingEvent<TPayload>;
|
|
1522
|
-
|
|
1523
1497
|
interface AppResourceDto {
|
|
1524
1498
|
}
|
|
1525
1499
|
|
|
@@ -2038,9 +2012,6 @@ declare const api: {
|
|
|
2038
2012
|
product: {
|
|
2039
2013
|
updateProduct(appId: string, payload: UpdateApplicationProductPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2040
2014
|
};
|
|
2041
|
-
reporting: {
|
|
2042
|
-
sendEvent<TPayload = unknown>(appId: string, event: ReportingEvent<TPayload>, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2043
|
-
};
|
|
2044
2015
|
resource: {
|
|
2045
2016
|
getAppUpgrades(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppResourceDto>>;
|
|
2046
2017
|
createAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void>>;
|
|
@@ -2369,11 +2340,13 @@ declare function initApi(config: {
|
|
|
2369
2340
|
accounts?: string;
|
|
2370
2341
|
adapter?: string;
|
|
2371
2342
|
dps?: string;
|
|
2372
|
-
text?: string;
|
|
2373
2343
|
};
|
|
2374
2344
|
products?: {
|
|
2375
2345
|
livechat?: string;
|
|
2376
2346
|
};
|
|
2347
|
+
integrations?: {
|
|
2348
|
+
text?: string;
|
|
2349
|
+
};
|
|
2377
2350
|
};
|
|
2378
2351
|
}, tokens?: {
|
|
2379
2352
|
platform?: {
|
|
@@ -2425,4 +2398,4 @@ declare const serializerBase64: {
|
|
|
2425
2398
|
deserialize<T_1>(message?: string): T_1 | undefined;
|
|
2426
2399
|
};
|
|
2427
2400
|
|
|
2428
|
-
export { API_NOTIFICATIONS,
|
|
2401
|
+
export { API_NOTIFICATIONS, 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, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateDeveloperMessagePayload, CreatePatPayload, DeveloperLedgerParams, DeveloperMessage, DeveloperMessageBaseDto, DeveloperMessageDto, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, 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, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, SentryClientInstanceAuthorization, SentryClientInstanceOptions, SentryIntegration, SentryOrganization, SentryProject, SentryProjectIssue, SentryProjectIssueEvent, SentryProjectKey, SentryRepository, SentryTeam, ShortcutDto, SyncAppVariablePayload, TextClientInstanceAuthorization, TextClientInstanceOptions, 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, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClientInstance, initLiveChatClientInstance, initNetlifyClientInstance, initPlanetScaleClientInstance, initPlatformAccountsClientInstance, initPlatformAdapterClientInstance, initPlatformDpsClientInstance, initSentryClientInstance, initTextClientInstance, initVercelClientInstance, livechatClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformDpsClientInstance, sentryClientInstance, serializerBase64, textClientInstance, updateGithubClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };
|
package/dist/index.d.ts
CHANGED
|
@@ -1494,32 +1494,6 @@ interface ApplicationPropertyDto {
|
|
|
1494
1494
|
value: string;
|
|
1495
1495
|
}
|
|
1496
1496
|
|
|
1497
|
-
interface ReportingEventBase {
|
|
1498
|
-
name: string;
|
|
1499
|
-
}
|
|
1500
|
-
|
|
1501
|
-
interface ActiveUserReportingEvent extends ReportingEventBase {
|
|
1502
|
-
name: 'activeUser';
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
interface CustomReportingEvent<TPayload> extends ReportingEventBase {
|
|
1506
|
-
name: 'custom';
|
|
1507
|
-
payload: TPayload;
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
declare enum ErrorType {
|
|
1511
|
-
'4xx' = "4xx",
|
|
1512
|
-
'5xx' = "5xx"
|
|
1513
|
-
}
|
|
1514
|
-
interface ErrorReportingEvent extends ReportingEventBase {
|
|
1515
|
-
name: 'error';
|
|
1516
|
-
payload: {
|
|
1517
|
-
type: ErrorType;
|
|
1518
|
-
};
|
|
1519
|
-
}
|
|
1520
|
-
|
|
1521
|
-
type ReportingEvent<TPayload = unknown> = ActiveUserReportingEvent | ErrorReportingEvent | CustomReportingEvent<TPayload>;
|
|
1522
|
-
|
|
1523
1497
|
interface AppResourceDto {
|
|
1524
1498
|
}
|
|
1525
1499
|
|
|
@@ -2038,9 +2012,6 @@ declare const api: {
|
|
|
2038
2012
|
product: {
|
|
2039
2013
|
updateProduct(appId: string, payload: UpdateApplicationProductPayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2040
2014
|
};
|
|
2041
|
-
reporting: {
|
|
2042
|
-
sendEvent<TPayload = unknown>(appId: string, event: ReportingEvent<TPayload>, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<void>;
|
|
2043
|
-
};
|
|
2044
2015
|
resource: {
|
|
2045
2016
|
getAppUpgrades(appId: string, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<AppResourceDto>>;
|
|
2046
2017
|
createAppUpgrade(appId: string, body: UpsertAppResourcePayload, authorization?: PlatformDpsClientInstanceAuthorization | undefined): Promise<axios.AxiosResponse<void>>;
|
|
@@ -2369,11 +2340,13 @@ declare function initApi(config: {
|
|
|
2369
2340
|
accounts?: string;
|
|
2370
2341
|
adapter?: string;
|
|
2371
2342
|
dps?: string;
|
|
2372
|
-
text?: string;
|
|
2373
2343
|
};
|
|
2374
2344
|
products?: {
|
|
2375
2345
|
livechat?: string;
|
|
2376
2346
|
};
|
|
2347
|
+
integrations?: {
|
|
2348
|
+
text?: string;
|
|
2349
|
+
};
|
|
2377
2350
|
};
|
|
2378
2351
|
}, tokens?: {
|
|
2379
2352
|
platform?: {
|
|
@@ -2425,4 +2398,4 @@ declare const serializerBase64: {
|
|
|
2425
2398
|
deserialize<T_1>(message?: string): T_1 | undefined;
|
|
2426
2399
|
};
|
|
2427
2400
|
|
|
2428
|
-
export { API_NOTIFICATIONS,
|
|
2401
|
+
export { API_NOTIFICATIONS, 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, Category, ClientDto, ClientInfoDto, ClientScopeDto, ClientWithSecretDto, CreateAppOutput, CreateAppPayload, CreateAppResult, CreateAppStatus, CreateAppStepStatus, CreateApplicationAuthorizationPayload, CreateApplicationChatActionPayload, CreateApplicationPayload, CreateApplicationResponse, CreateApplicationSubmissionPayload, CreateClientPayload, CreateDeveloperMessagePayload, CreatePatPayload, DeveloperLedgerParams, DeveloperMessage, DeveloperMessageBaseDto, DeveloperMessageDto, GetAppMonitoringCustomReportDataPayload, GetAppMonitoringEventsLogPayload, GetAppMonitoringEventsLogResponse, GetAppMonitoringEventsReportPayload, GetAppMonitoringUptimeReportPayload, 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, ResearchCustomerItemDto, ResearchCustomerLocationItemDto, ResearchDictionaryParams, ResearchMarketplaceItemDto, ResearchMarketplaceParams, ResearchTrafficItemDto, ResearchTrafficParams, ScopeDto, SeedAppRepositoryPayload, SeedAppRepositoryResult, SentryClientInstanceAuthorization, SentryClientInstanceOptions, SentryIntegration, SentryOrganization, SentryProject, SentryProjectIssue, SentryProjectIssueEvent, SentryProjectKey, SentryRepository, SentryTeam, ShortcutDto, SyncAppVariablePayload, TextClientInstanceAuthorization, TextClientInstanceOptions, 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, getTextClientAuthorization, getTextClientConfig, getVercelClientAuthorization, getVercelClientConfig, githubClientInstance, initApi, initGithubClientInstance, initLiveChatClientInstance, initNetlifyClientInstance, initPlanetScaleClientInstance, initPlatformAccountsClientInstance, initPlatformAdapterClientInstance, initPlatformDpsClientInstance, initSentryClientInstance, initTextClientInstance, initVercelClientInstance, livechatClientInstance, netlifyClientInstance, planetScaleClientInstance, platformAccountsClientInstance, platformAdapterClientInstance, platformDpsClientInstance, sentryClientInstance, serializerBase64, textClientInstance, updateGithubClientInstance, updateNetlifyClientInstance, updatePlanetScaleClientInstance, updatePlatformAdapterClientInstance, updateSentryClientInstance, updateVercelClientInstance, vercelClientInstance };
|
package/dist/index.js
CHANGED
|
@@ -68,7 +68,6 @@ var __async = (__this, __arguments, generator) => {
|
|
|
68
68
|
var src_exports = {};
|
|
69
69
|
__export(src_exports, {
|
|
70
70
|
API_NOTIFICATIONS: () => API_NOTIFICATIONS,
|
|
71
|
-
ErrorType: () => ErrorType,
|
|
72
71
|
UnauthorizeApiError: () => UnauthorizeApiError,
|
|
73
72
|
api: () => api,
|
|
74
73
|
getAppAutoReviewPayload: () => getAppAutoReviewPayload,
|
|
@@ -3842,19 +3841,6 @@ var platformDpsApplicationCustomPropsApi = {
|
|
|
3842
3841
|
}
|
|
3843
3842
|
};
|
|
3844
3843
|
|
|
3845
|
-
// src/apis/platform/dps/applications/application/reporting/api.ts
|
|
3846
|
-
var platformDpsApplicationReportingApi = {
|
|
3847
|
-
sendEvent(appId, event, authorization) {
|
|
3848
|
-
return __async(this, null, function* () {
|
|
3849
|
-
yield platformDpsClientInstance.post(
|
|
3850
|
-
`/apps/${appId}/events`,
|
|
3851
|
-
event,
|
|
3852
|
-
getPlatformDpsClientConfig(authorization)
|
|
3853
|
-
);
|
|
3854
|
-
});
|
|
3855
|
-
}
|
|
3856
|
-
};
|
|
3857
|
-
|
|
3858
3844
|
// src/apis/platform/dps/applications/application/resources/api.ts
|
|
3859
3845
|
var platformDpsApplicationResourcesApi = {
|
|
3860
3846
|
getAppUpgrades(appId, authorization) {
|
|
@@ -4122,7 +4108,6 @@ var platformDpsApplicationApi = {
|
|
|
4122
4108
|
onboarding: platformDpsApplicationOnboardingApi,
|
|
4123
4109
|
payment: platformDpsApplicationPaymentApi,
|
|
4124
4110
|
product: platformDpsApplicationProductApi,
|
|
4125
|
-
reporting: platformDpsApplicationReportingApi,
|
|
4126
4111
|
resource: platformDpsApplicationResourcesApi,
|
|
4127
4112
|
review: platformDpsApplicationReviewApi,
|
|
4128
4113
|
webhooks: platformDpsApplicationWebhooksApi,
|
|
@@ -5223,13 +5208,6 @@ var platformApi = {
|
|
|
5223
5208
|
dps: platformDpsApi
|
|
5224
5209
|
};
|
|
5225
5210
|
|
|
5226
|
-
// src/apis/platform/dps/applications/application/reporting/_contracts/dtos/events/error.ts
|
|
5227
|
-
var ErrorType = /* @__PURE__ */ ((ErrorType2) => {
|
|
5228
|
-
ErrorType2["4xx"] = "4xx";
|
|
5229
|
-
ErrorType2["5xx"] = "5xx";
|
|
5230
|
-
return ErrorType2;
|
|
5231
|
-
})(ErrorType || {});
|
|
5232
|
-
|
|
5233
5211
|
// src/apis/api.ts
|
|
5234
5212
|
var api = {
|
|
5235
5213
|
platform: platformApi,
|
|
@@ -5263,14 +5241,11 @@ function initApi(config, tokens) {
|
|
|
5263
5241
|
sentry: (_l = tokens.sentry) == null ? void 0 : _l.token
|
|
5264
5242
|
} : void 0
|
|
5265
5243
|
);
|
|
5266
|
-
initTextClientInstance(
|
|
5267
|
-
(_m = config.urls.platform) == null ? void 0 : _m.text,
|
|
5268
|
-
(_n = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _n.dps
|
|
5269
|
-
);
|
|
5270
5244
|
initLiveChatClientInstance(
|
|
5271
|
-
(
|
|
5272
|
-
(
|
|
5245
|
+
(_m = config.urls.products) == null ? void 0 : _m.livechat,
|
|
5246
|
+
(_n = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _n.dps
|
|
5273
5247
|
);
|
|
5248
|
+
initTextClientInstance((_o = config.urls.integrations) == null ? void 0 : _o.text, (_p = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _p.dps);
|
|
5274
5249
|
initGithubClientInstance((_q = tokens == null ? void 0 : tokens.github) == null ? void 0 : _q.apps);
|
|
5275
5250
|
initNetlifyClientInstance((_r = tokens == null ? void 0 : tokens.netlify) == null ? void 0 : _r.token);
|
|
5276
5251
|
initVercelClientInstance((_s = tokens == null ? void 0 : tokens.vercel) == null ? void 0 : _s.token);
|
|
@@ -5294,7 +5269,6 @@ var serializerBase64 = {
|
|
|
5294
5269
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5295
5270
|
0 && (module.exports = {
|
|
5296
5271
|
API_NOTIFICATIONS,
|
|
5297
|
-
ErrorType,
|
|
5298
5272
|
UnauthorizeApiError,
|
|
5299
5273
|
api,
|
|
5300
5274
|
getAppAutoReviewPayload,
|
package/dist/index.mjs
CHANGED
|
@@ -3754,19 +3754,6 @@ var platformDpsApplicationCustomPropsApi = {
|
|
|
3754
3754
|
}
|
|
3755
3755
|
};
|
|
3756
3756
|
|
|
3757
|
-
// src/apis/platform/dps/applications/application/reporting/api.ts
|
|
3758
|
-
var platformDpsApplicationReportingApi = {
|
|
3759
|
-
sendEvent(appId, event, authorization) {
|
|
3760
|
-
return __async(this, null, function* () {
|
|
3761
|
-
yield platformDpsClientInstance.post(
|
|
3762
|
-
`/apps/${appId}/events`,
|
|
3763
|
-
event,
|
|
3764
|
-
getPlatformDpsClientConfig(authorization)
|
|
3765
|
-
);
|
|
3766
|
-
});
|
|
3767
|
-
}
|
|
3768
|
-
};
|
|
3769
|
-
|
|
3770
3757
|
// src/apis/platform/dps/applications/application/resources/api.ts
|
|
3771
3758
|
var platformDpsApplicationResourcesApi = {
|
|
3772
3759
|
getAppUpgrades(appId, authorization) {
|
|
@@ -4034,7 +4021,6 @@ var platformDpsApplicationApi = {
|
|
|
4034
4021
|
onboarding: platformDpsApplicationOnboardingApi,
|
|
4035
4022
|
payment: platformDpsApplicationPaymentApi,
|
|
4036
4023
|
product: platformDpsApplicationProductApi,
|
|
4037
|
-
reporting: platformDpsApplicationReportingApi,
|
|
4038
4024
|
resource: platformDpsApplicationResourcesApi,
|
|
4039
4025
|
review: platformDpsApplicationReviewApi,
|
|
4040
4026
|
webhooks: platformDpsApplicationWebhooksApi,
|
|
@@ -5135,13 +5121,6 @@ var platformApi = {
|
|
|
5135
5121
|
dps: platformDpsApi
|
|
5136
5122
|
};
|
|
5137
5123
|
|
|
5138
|
-
// src/apis/platform/dps/applications/application/reporting/_contracts/dtos/events/error.ts
|
|
5139
|
-
var ErrorType = /* @__PURE__ */ ((ErrorType2) => {
|
|
5140
|
-
ErrorType2["4xx"] = "4xx";
|
|
5141
|
-
ErrorType2["5xx"] = "5xx";
|
|
5142
|
-
return ErrorType2;
|
|
5143
|
-
})(ErrorType || {});
|
|
5144
|
-
|
|
5145
5124
|
// src/apis/api.ts
|
|
5146
5125
|
var api = {
|
|
5147
5126
|
platform: platformApi,
|
|
@@ -5175,14 +5154,11 @@ function initApi(config, tokens) {
|
|
|
5175
5154
|
sentry: (_l = tokens.sentry) == null ? void 0 : _l.token
|
|
5176
5155
|
} : void 0
|
|
5177
5156
|
);
|
|
5178
|
-
initTextClientInstance(
|
|
5179
|
-
(_m = config.urls.platform) == null ? void 0 : _m.text,
|
|
5180
|
-
(_n = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _n.dps
|
|
5181
|
-
);
|
|
5182
5157
|
initLiveChatClientInstance(
|
|
5183
|
-
(
|
|
5184
|
-
(
|
|
5158
|
+
(_m = config.urls.products) == null ? void 0 : _m.livechat,
|
|
5159
|
+
(_n = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _n.dps
|
|
5185
5160
|
);
|
|
5161
|
+
initTextClientInstance((_o = config.urls.integrations) == null ? void 0 : _o.text, (_p = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _p.dps);
|
|
5186
5162
|
initGithubClientInstance((_q = tokens == null ? void 0 : tokens.github) == null ? void 0 : _q.apps);
|
|
5187
5163
|
initNetlifyClientInstance((_r = tokens == null ? void 0 : tokens.netlify) == null ? void 0 : _r.token);
|
|
5188
5164
|
initVercelClientInstance((_s = tokens == null ? void 0 : tokens.vercel) == null ? void 0 : _s.token);
|
|
@@ -5205,7 +5181,6 @@ var serializerBase64 = {
|
|
|
5205
5181
|
};
|
|
5206
5182
|
export {
|
|
5207
5183
|
API_NOTIFICATIONS,
|
|
5208
|
-
ErrorType,
|
|
5209
5184
|
UnauthorizeApiError,
|
|
5210
5185
|
api,
|
|
5211
5186
|
getAppAutoReviewPayload,
|