@livechat/developer-studio-api 5.4.2-beta.generator.28 → 5.5.0-beta.generator.29

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.mjs CHANGED
@@ -47,6 +47,7 @@ import {
47
47
  SortOrder,
48
48
  TRIGGER_REFERENCE_NAME,
49
49
  TextApiError,
50
+ TextBillingApiError,
50
51
  TextCustomerEventNames,
51
52
  TextHelpDeskEventNames,
52
53
  TextLivechatEventNames,
@@ -55,6 +56,7 @@ import {
55
56
  TicketStatus,
56
57
  UnauthorizeAccountsApiError,
57
58
  UnauthorizeApiError,
59
+ UnauthorizeTextBillingApiError,
58
60
  WorkflowAgentTriggerSubType,
59
61
  WorkflowConditionTaskFieldType,
60
62
  WorkflowConditionTaskLogic,
@@ -149,6 +151,7 @@ import {
149
151
  initPlatformAccountsClient,
150
152
  initShopifyClient,
151
153
  initSlackClient,
154
+ initTextBillingClient,
152
155
  initTextClient,
153
156
  initVercelClient,
154
157
  initWorkflowsClient,
@@ -175,6 +178,7 @@ import {
175
178
  shopifyEventsZods,
176
179
  slackClientInstance,
177
180
  slackEventsZods,
181
+ textBillingClientInstance,
178
182
  textClientInstance,
179
183
  textCustomerEventsZods,
180
184
  textEventsZods,
@@ -195,7 +199,7 @@ import {
195
199
  updateWorkflowsClient,
196
200
  vercelClientInstance,
197
201
  workflowsClientInstance
198
- } from "./chunk-CUYIP4UJ.mjs";
202
+ } from "./chunk-AVPZPHAU.mjs";
199
203
  export {
200
204
  ACCOUNT_ID_HEADER,
201
205
  API_NOTIFICATIONS,
@@ -245,6 +249,7 @@ export {
245
249
  SortOrder,
246
250
  TRIGGER_REFERENCE_NAME,
247
251
  TextApiError,
252
+ TextBillingApiError,
248
253
  TextCustomerEventNames,
249
254
  TextHelpDeskEventNames,
250
255
  TextLivechatEventNames,
@@ -253,6 +258,7 @@ export {
253
258
  TicketStatus,
254
259
  UnauthorizeAccountsApiError,
255
260
  UnauthorizeApiError,
261
+ UnauthorizeTextBillingApiError,
256
262
  WorkflowAgentTriggerSubType,
257
263
  WorkflowConditionTaskFieldType,
258
264
  WorkflowConditionTaskLogic,
@@ -347,6 +353,7 @@ export {
347
353
  initPlatformAccountsClient,
348
354
  initShopifyClient,
349
355
  initSlackClient,
356
+ initTextBillingClient,
350
357
  initTextClient,
351
358
  initVercelClient,
352
359
  initWorkflowsClient,
@@ -373,6 +380,7 @@ export {
373
380
  shopifyEventsZods,
374
381
  slackClientInstance,
375
382
  slackEventsZods,
383
+ textBillingClientInstance,
376
384
  textClientInstance,
377
385
  textCustomerEventsZods,
378
386
  textEventsZods,
@@ -920,6 +920,35 @@ slackClientInstance.interceptors.response.use(
920
920
  }
921
921
  );
922
922
 
923
+ // src/apis/integrations/text/billing/instance.ts
924
+ var TextBillingApiError = class extends ApiErrorBase {
925
+ constructor() {
926
+ super(...arguments);
927
+ this.name = "text";
928
+ }
929
+ };
930
+ var UnauthorizeTextBillingApiError = class extends UnauthorizeApiError {
931
+ constructor(message) {
932
+ super("text", message);
933
+ }
934
+ };
935
+ var TextBillingApiClient = class extends ApiClient {
936
+ constructor() {
937
+ super(...arguments);
938
+ this.UnauthorizedError = UnauthorizeTextBillingApiError;
939
+ this.Error = TextBillingApiError;
940
+ this.options = {
941
+ headers: {
942
+ Accept: "application/json",
943
+ "Content-Type": "application/json"
944
+ }
945
+ };
946
+ }
947
+ };
948
+ var textBillingClientInstance = new TextBillingApiClient({
949
+ baseURL: "https://billing.labs.text.com"
950
+ });
951
+
923
952
  // src/utils/misc/url/build.ts
924
953
  var buildUrlFromSegments = (segments, basePath, baseUrl = "") => segments.length ? `${baseUrl}${basePath}/${segments.map(encodeURIComponent).join("/")}` : basePath;
925
954
 
@@ -28,7 +28,7 @@ import {
28
28
  isFilterGroup,
29
29
  isWorkflowBaseHttpTaskCore,
30
30
  serializeFilters
31
- } from "./chunk-CUYIP4UJ.mjs";
31
+ } from "./chunk-AVPZPHAU.mjs";
32
32
  export {
33
33
  CredentialStatus,
34
34
  CredentialType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "5.4.2-beta.generator.28",
3
+ "version": "5.5.0-beta.generator.29",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -37,8 +37,8 @@
37
37
  "tsup": "^8.5.1",
38
38
  "typescript": "^5.1.6",
39
39
  "eslint-config-custom": "0.0.15",
40
- "utils": "0.3.3",
41
- "tsconfig": "0.2.1"
40
+ "tsconfig": "0.2.1",
41
+ "utils": "0.3.4"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "tsup",