@bisondesk/core-sdk 1.0.341 → 1.0.343

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.
@@ -7,14 +7,6 @@ export enum LeasingContractActions {
7
7
  CREATE_FINANCE_DOCUMENT = 'create_finance_document',
8
8
  }
9
9
 
10
- export type LeasingContractDebtInfo = {
11
- overdueSince?: string;
12
- overdueInvoices: number;
13
- overdueAmount: string;
14
- unpaidInvoices: number;
15
- unpaidAmount: string;
16
- };
17
-
18
10
  export type LeasingContractEvent = {
19
11
  id: string;
20
12
  action: 'create' | 'update' | 'delete';
@@ -121,13 +113,11 @@ type BaseLeasingContract<T = LeasingContractHyperportal | LeasingContractBisonde
121
113
  export type LeasingContract<T = LeasingContractHyperportal | LeasingContractBisondesk> =
122
114
  BaseLeasingContract<T> & {
123
115
  readonly expectedEndDate: string;
124
- readonly debt: LeasingContractDebtInfo;
125
116
  };
126
117
 
127
118
  export type NewLeasingContract<T = LeasingContractHyperportal | LeasingContractBisondesk> =
128
119
  BaseLeasingContract<T> & {
129
- readonly expectedEndDate?: string | undefined;
130
- readonly debt?: LeasingContractDebtInfo | undefined;
120
+ readonly expectedEndDate?: undefined;
131
121
  };
132
122
 
133
123
  export type NextLeasingRentRowRequest = {
@@ -471,12 +471,18 @@ export type VehicleAxle = {
471
471
  tyreSize?: string;
472
472
  };
473
473
 
474
+ export enum MarketingChannel {
475
+ TELEGRAM = 'telegram',
476
+ }
477
+
474
478
  export type VehicleMarketing = {
475
479
  titles: MultiLangValue;
476
480
  remarks?: MultiLangValue;
477
481
  marketingPlatforms: string[];
482
+ channels?: MarketingChannel[];
478
483
  videos: AttachmentValue[];
479
484
  overrides?: {
485
+ channels?: boolean;
480
486
  marketingPlatforms?: boolean;
481
487
  remarks?: boolean;
482
488
  titles?: boolean;