@livechat/developer-studio-api 2.3.35 → 2.3.37
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 +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +16 -1
- package/dist/index.mjs +16 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2191,6 +2191,9 @@ declare const api: {
|
|
|
2191
2191
|
create(payload: CreateAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAppResult>;
|
|
2192
2192
|
createStatus(sagaId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAppResult>;
|
|
2193
2193
|
};
|
|
2194
|
+
conductor: {
|
|
2195
|
+
request<TData>(config: axios.AxiosRequestConfig, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<TData>;
|
|
2196
|
+
};
|
|
2194
2197
|
};
|
|
2195
2198
|
dps: {
|
|
2196
2199
|
applications: {
|
package/dist/index.d.ts
CHANGED
|
@@ -2191,6 +2191,9 @@ declare const api: {
|
|
|
2191
2191
|
create(payload: CreateAppPayload, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAppResult>;
|
|
2192
2192
|
createStatus(sagaId: string, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<CreateAppResult>;
|
|
2193
2193
|
};
|
|
2194
|
+
conductor: {
|
|
2195
|
+
request<TData>(config: axios.AxiosRequestConfig, authorization?: PlatformAdapterClientInstanceAuthorization | undefined): Promise<TData>;
|
|
2196
|
+
};
|
|
2194
2197
|
};
|
|
2195
2198
|
dps: {
|
|
2196
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
|