@livechat/developer-studio-api 2.3.34 → 2.3.36
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 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +16 -1
- package/dist/index.mjs +16 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -850,6 +850,7 @@ type LinkAppDeploymentVercelProjectData = {
|
|
|
850
850
|
projectId: string;
|
|
851
851
|
};
|
|
852
852
|
type LinkAppDeploymentVercelData = {
|
|
853
|
+
installationId?: string;
|
|
853
854
|
sentryOrganizationSlug?: string;
|
|
854
855
|
sentryProjectSlug?: string;
|
|
855
856
|
} & LinkAppDeploymentVercelProjectData;
|
|
@@ -2190,6 +2191,9 @@ declare const api: {
|
|
|
2190
2191
|
create(payload: CreateAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAppResult>;
|
|
2191
2192
|
createStatus(sagaId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAppResult>;
|
|
2192
2193
|
};
|
|
2194
|
+
conductor: {
|
|
2195
|
+
request(config: axios.AxiosRequestConfig, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<unknown>;
|
|
2196
|
+
};
|
|
2193
2197
|
};
|
|
2194
2198
|
dps: {
|
|
2195
2199
|
applications: {
|
package/dist/index.d.ts
CHANGED
|
@@ -850,6 +850,7 @@ type LinkAppDeploymentVercelProjectData = {
|
|
|
850
850
|
projectId: string;
|
|
851
851
|
};
|
|
852
852
|
type LinkAppDeploymentVercelData = {
|
|
853
|
+
installationId?: string;
|
|
853
854
|
sentryOrganizationSlug?: string;
|
|
854
855
|
sentryProjectSlug?: string;
|
|
855
856
|
} & LinkAppDeploymentVercelProjectData;
|
|
@@ -2190,6 +2191,9 @@ declare const api: {
|
|
|
2190
2191
|
create(payload: CreateAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAppResult>;
|
|
2191
2192
|
createStatus(sagaId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAppResult>;
|
|
2192
2193
|
};
|
|
2194
|
+
conductor: {
|
|
2195
|
+
request(config: axios.AxiosRequestConfig, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<unknown>;
|
|
2196
|
+
};
|
|
2193
2197
|
};
|
|
2194
2198
|
dps: {
|
|
2195
2199
|
applications: {
|
package/dist/index.js
CHANGED
|
@@ -5620,9 +5620,24 @@ var platformAdapterAppApi = {
|
|
|
5620
5620
|
}
|
|
5621
5621
|
};
|
|
5622
5622
|
|
|
5623
|
+
// src/apis/platform/adapter/conductor/api.ts
|
|
5624
|
+
var platformAdapterConductorApi = {
|
|
5625
|
+
request(config, authorization) {
|
|
5626
|
+
return __async(this, null, function* () {
|
|
5627
|
+
const response = yield platformAdapterClientInstance.post(
|
|
5628
|
+
`/conductor`,
|
|
5629
|
+
config,
|
|
5630
|
+
getPlatformAdapterClientConfig(authorization)
|
|
5631
|
+
);
|
|
5632
|
+
return response.data;
|
|
5633
|
+
});
|
|
5634
|
+
}
|
|
5635
|
+
};
|
|
5636
|
+
|
|
5623
5637
|
// src/apis/platform/adapter/api.ts
|
|
5624
5638
|
var platformAdapterApi = {
|
|
5625
|
-
app: platformAdapterAppApi
|
|
5639
|
+
app: platformAdapterAppApi,
|
|
5640
|
+
conductor: platformAdapterConductorApi
|
|
5626
5641
|
};
|
|
5627
5642
|
|
|
5628
5643
|
// src/apis/platform/billing/instance.ts
|
package/dist/index.mjs
CHANGED
|
@@ -5529,9 +5529,24 @@ var platformAdapterAppApi = {
|
|
|
5529
5529
|
}
|
|
5530
5530
|
};
|
|
5531
5531
|
|
|
5532
|
+
// src/apis/platform/adapter/conductor/api.ts
|
|
5533
|
+
var platformAdapterConductorApi = {
|
|
5534
|
+
request(config, authorization) {
|
|
5535
|
+
return __async(this, null, function* () {
|
|
5536
|
+
const response = yield platformAdapterClientInstance.post(
|
|
5537
|
+
`/conductor`,
|
|
5538
|
+
config,
|
|
5539
|
+
getPlatformAdapterClientConfig(authorization)
|
|
5540
|
+
);
|
|
5541
|
+
return response.data;
|
|
5542
|
+
});
|
|
5543
|
+
}
|
|
5544
|
+
};
|
|
5545
|
+
|
|
5532
5546
|
// src/apis/platform/adapter/api.ts
|
|
5533
5547
|
var platformAdapterApi = {
|
|
5534
|
-
app: platformAdapterAppApi
|
|
5548
|
+
app: platformAdapterAppApi,
|
|
5549
|
+
conductor: platformAdapterConductorApi
|
|
5535
5550
|
};
|
|
5536
5551
|
|
|
5537
5552
|
// src/apis/platform/billing/instance.ts
|
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.36",
|
|
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,9 +17,9 @@
|
|
|
17
17
|
"@types/node": "^17.0.12",
|
|
18
18
|
"tsup": "^7.1.0",
|
|
19
19
|
"typescript": "^5.1.6",
|
|
20
|
+
"tsconfig": "0.0.1",
|
|
20
21
|
"config": "0.0.1",
|
|
21
|
-
"eslint-config-custom": "0.0.2"
|
|
22
|
-
"tsconfig": "0.0.1"
|
|
22
|
+
"eslint-config-custom": "0.0.2"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build": "tsup src/index.ts --format esm,cjs --dts",
|