@livechat/developer-studio-api 3.4.15 → 3.4.17

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 CHANGED
@@ -459,17 +459,17 @@ interface WorkflowDefinitionDto {
459
459
  description?: string;
460
460
  tasks: WorkflowDefinitionTask[];
461
461
  inputParameters: string[];
462
- inputTemplate?: any;
463
- outputParameters: any;
462
+ inputTemplate?: object;
463
+ outputParameters: object;
464
464
  schemaVersion: number;
465
465
  restartable?: boolean;
466
466
  workflowStatusListenerEnabled?: boolean;
467
467
  ownerEmail?: string;
468
468
  timeoutPolicy?: string;
469
469
  timeoutSeconds?: number;
470
- variables?: any;
471
- onStateChange?: any;
472
- accessPolicy?: any;
470
+ variables?: object;
471
+ onStateChange?: object;
472
+ accessPolicy?: object;
473
473
  }
474
474
  declare const WorkflowDefinitionTaskType: {
475
475
  readonly http: "HTTP";
@@ -5606,6 +5606,7 @@ interface ApplicationPaymentDto {
5606
5606
  tiers: {
5607
5607
  accountsFrom: number;
5608
5608
  discount: number;
5609
+ accountsTo?: number;
5609
5610
  }[];
5610
5611
  };
5611
5612
  trialDays: number;
@@ -5666,7 +5667,7 @@ interface ApplicationDto {
5666
5667
  }[] | null;
5667
5668
  payment: ApplicationPaymentDto | null;
5668
5669
  elements: {
5669
- buttons: {
5670
+ buttons?: {
5670
5671
  action: string;
5671
5672
  id: string;
5672
5673
  label: string;
@@ -5675,10 +5676,10 @@ interface ApplicationDto {
5675
5676
  url: string;
5676
5677
  widget: string;
5677
5678
  }[] | null;
5678
- widgets: ApplicationWidget[] | null;
5679
- chatBoosters: ApplicationChatBooster[] | null;
5680
- cover: null;
5681
- onboarding: null;
5679
+ widgets?: ApplicationWidget[] | null;
5680
+ chatBoosters?: ApplicationChatBooster[] | null;
5681
+ cover?: null;
5682
+ onboarding?: UpdateApplicationOnboardingPayload | null;
5682
5683
  };
5683
5684
  ownerId: string;
5684
5685
  license: number;
package/dist/index.d.ts CHANGED
@@ -459,17 +459,17 @@ interface WorkflowDefinitionDto {
459
459
  description?: string;
460
460
  tasks: WorkflowDefinitionTask[];
461
461
  inputParameters: string[];
462
- inputTemplate?: any;
463
- outputParameters: any;
462
+ inputTemplate?: object;
463
+ outputParameters: object;
464
464
  schemaVersion: number;
465
465
  restartable?: boolean;
466
466
  workflowStatusListenerEnabled?: boolean;
467
467
  ownerEmail?: string;
468
468
  timeoutPolicy?: string;
469
469
  timeoutSeconds?: number;
470
- variables?: any;
471
- onStateChange?: any;
472
- accessPolicy?: any;
470
+ variables?: object;
471
+ onStateChange?: object;
472
+ accessPolicy?: object;
473
473
  }
474
474
  declare const WorkflowDefinitionTaskType: {
475
475
  readonly http: "HTTP";
@@ -5606,6 +5606,7 @@ interface ApplicationPaymentDto {
5606
5606
  tiers: {
5607
5607
  accountsFrom: number;
5608
5608
  discount: number;
5609
+ accountsTo?: number;
5609
5610
  }[];
5610
5611
  };
5611
5612
  trialDays: number;
@@ -5666,7 +5667,7 @@ interface ApplicationDto {
5666
5667
  }[] | null;
5667
5668
  payment: ApplicationPaymentDto | null;
5668
5669
  elements: {
5669
- buttons: {
5670
+ buttons?: {
5670
5671
  action: string;
5671
5672
  id: string;
5672
5673
  label: string;
@@ -5675,10 +5676,10 @@ interface ApplicationDto {
5675
5676
  url: string;
5676
5677
  widget: string;
5677
5678
  }[] | null;
5678
- widgets: ApplicationWidget[] | null;
5679
- chatBoosters: ApplicationChatBooster[] | null;
5680
- cover: null;
5681
- onboarding: null;
5679
+ widgets?: ApplicationWidget[] | null;
5680
+ chatBoosters?: ApplicationChatBooster[] | null;
5681
+ cover?: null;
5682
+ onboarding?: UpdateApplicationOnboardingPayload | null;
5682
5683
  };
5683
5684
  ownerId: string;
5684
5685
  license: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/developer-studio-api",
3
- "version": "3.4.15",
3
+ "version": "3.4.17",
4
4
  "description": "This project is API for LiveChat Developer Studio.",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "tsup": "^7.1.0",
22
22
  "typescript": "^5.1.6",
23
23
  "eslint-config-custom": "0.0.10",
24
- "tsconfig": "0.0.1",
25
- "utils": "0.0.4"
24
+ "utils": "0.0.4",
25
+ "tsconfig": "0.0.1"
26
26
  },
27
27
  "scripts": {
28
28
  "build": "tsup",