@eway-crm/connector 1.0.207 → 1.0.209

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/lib/index.d.ts CHANGED
@@ -291,83 +291,84 @@ declare class ApiMethods {
291
291
  }
292
292
 
293
293
  declare class GlobalSettingsNames {
294
- static acceptableBackwardWorkReportDays: string;
295
- static adminAppInactiveLogoutTime: string;
296
- static applyGeneralDataProtectionRules: string;
297
- static automaticallyCreateJournalAfterCallDuration: string;
298
- static bonusesCompletedState: string;
299
- static cartInvoicedState: string;
300
- static cartOrderCanceledState: string;
301
- static cartOrderInProcessState: string;
302
- static cartOrderProcessedState: string;
303
- static cartPaidState: string;
304
- static cartProposalInProcessState: string;
305
- static cartProposalProcessedState: string;
306
- static cartSalesVoucherIssuedState: string;
307
- static cartToBeInvoicedState: string;
308
- static cartVoidedState: string;
309
- static clickToCallScheme: string;
310
- static companyDuplicityCheckEnabled: string;
311
- static completedStateName: string;
312
- static contactDuplicityCheckEnabled: string;
313
- static createCompanyWhileImportingContactFromOutlook: string;
314
- static enableContactsTwoWaySyncWithM365: string;
315
- static deadStateName: string;
316
- static enableCompaniesSyncIntoMobileDeviceContacts: string;
317
- static enableContactsSyncIntoMobileDevice: string;
318
- static enableLeadsSyncIntoMobileDeviceContacts: string;
319
- static enableLlamaAiFeatures: string;
320
- static enableUsersSyncIntoMobileDeviceContacts: string;
321
- static emailsActiveProjectsLeadsFilter: string;
322
- static exchangeRatesAdminGroupName: string;
323
- static forcedEmailTrackingGroups: string;
324
- static ignoreEmailsFromDomainsOnEmailsTracking: string;
325
- static trackEmailsFromDomains: string;
326
- static groupsForAllUnpaidInvoicesNotification: string;
327
- static itemPreviewMaxHeight: string;
328
- static lastActivityAttributes: string;
329
- static leadsCompletedState: string;
330
- static leadDeadlineAlertGroups: string;
331
- static leadsDeadState: string;
332
- static marketingCompletedState: string;
333
- static marketingDeadState: string;
334
- static minimumPasswordLength: string;
335
- static nextStepAttributes: string;
336
- static notifyAboutInvoicedInvoiceInPohodaGroup: string;
337
- static notifyAboutLeadsDeadline: string;
338
- static notifyAboutPaidInvoiceInPohodaGroup: string;
339
- static notifyAboutProjectDeadline: string;
340
- static numberOfDecimalPlaces: string;
341
- static phoneListTaskSolverGroup: string;
342
- static projectDeadlineAlert: string;
343
- static serverUpdateProgressNotificationGroup: string;
344
- static sumarizeCartsPricesOnLeads: string;
345
- static sumarizeCartsPricesOnProjects: string;
346
- static sumarizePeopleExpensesOnProjects: string;
347
- static systemHealthNotificationGroup: string;
348
- static tasksCompletedState: string;
349
- static tasksDeferredState: string;
350
- static tasksInProgressState: string;
351
- static tasksNotStartedState: string;
352
- static tasksWaitOnSomeoneElseState: string;
353
- static trackDocumentVersions: string;
354
- static vacationCompletedState: string;
355
- static workReportApprovedState: string;
356
- static defaultLanguage: string;
357
- static defaultCurrency: string;
358
- static myCompanyCountry: string;
359
- static myCompanyName: string;
360
- static myCompanyStreet: string;
361
- static myCompanyCity: string;
362
- static myCompanyState: string;
363
- static myCompanyZip: string;
364
- static myCompanyId: string;
365
- static myCompanyVat: string;
366
- static mergeGoodsInCart: string;
367
- static cartRefreshLogic: string;
368
- static goodsDefaultQuantity: string;
369
- static goodsDefaultVAT: string;
370
- static goodsDefaultVATIncluded: string;
294
+ static readonly acceptableBackwardWorkReportDays = "AcceptableBackwardWorkReportDays";
295
+ static readonly adminAppInactiveLogoutTime = "AdminAppInactiveLogoutTime";
296
+ static readonly applyGeneralDataProtectionRules = "ApplyGeneralDataProtectionRules";
297
+ static readonly automaticallyCreateJournalAfterCallDuration = "AutomaticallyCreateJournalAfterCallDuration";
298
+ static readonly bonusesCompletedState = "BonusesCompletedState";
299
+ static readonly cartInvoicedState = "CartInvoicedState";
300
+ static readonly cartOrderCanceledState = "CartOrderCanceledState";
301
+ static readonly cartOrderInProcessState = "CartOrderInProcessState";
302
+ static readonly cartOrderProcessedState = "CartOrderProcessedState";
303
+ static readonly cartPaidState = "CartPaidState";
304
+ static readonly cartProposalInProcessState = "CartProposalInProcessState";
305
+ static readonly cartProposalProcessedState = "CartProposalProcessedState";
306
+ static readonly cartSalesVoucherIssuedState = "CartSalesVoucherIssuedState";
307
+ static readonly cartToBeInvoicedState = "CartToBeInvoicedState";
308
+ static readonly cartVoidedState = "CartVoidedState";
309
+ static readonly clickToCallScheme = "ClickToCallScheme";
310
+ static readonly companyDuplicityCheckEnabled = "CompanyDuplicityCheckEnabled";
311
+ static readonly completedStateName = "CompletedStateName";
312
+ static readonly contactDuplicityCheckEnabled = "ContactDuplicityCheckEnabled";
313
+ static readonly createCompanyWhileImportingContactFromOutlook = "CreateCompanyWhileImportingContactFromOutlook";
314
+ static readonly defaultProposalValidityPeriod = "DefaultProposalValidityPeriod";
315
+ static readonly enableContactsTwoWaySyncWithM365 = "EnableContactsTwoWaySyncWithM365";
316
+ static readonly deadStateName = "DeadStateName";
317
+ static readonly enableCompaniesSyncIntoMobileDeviceContacts = "EnableCompaniesSyncIntoMobileDeviceContacts";
318
+ static readonly enableContactsSyncIntoMobileDevice = "EnableContactsSyncIntoMobileDevice";
319
+ static readonly enableLeadsSyncIntoMobileDeviceContacts = "EnableLeadsSyncIntoMobileDeviceContacts";
320
+ static readonly enableLlamaAiFeatures = "EnableLlamaAiFeatures";
321
+ static readonly enableUsersSyncIntoMobileDeviceContacts = "EnableUsersSyncIntoMobileDeviceContacts";
322
+ static readonly emailsActiveProjectsLeadsFilter = "EmailsActiveProjectsLeadsFilter";
323
+ static readonly exchangeRatesAdminGroupName = "ExchangeRatesAdminGroupName";
324
+ static readonly forcedEmailTrackingGroups = "ForcedEmailTrackingGroups";
325
+ static readonly ignoreEmailsFromDomainsOnEmailsTracking = "IgnoreEmailsFromDomainsOnEmailsTracking";
326
+ static readonly trackEmailsFromDomains = "TrackEmailsFromDomains";
327
+ static readonly groupsForAllUnpaidInvoicesNotification = "GroupsForAllUnpaidInvoicesNotification";
328
+ static readonly itemPreviewMaxHeight = "ItemPreviewMaxHeight";
329
+ static readonly lastActivityAttributes = "LastActivityAttributes";
330
+ static readonly leadsCompletedState = "LeadsCompletedState";
331
+ static readonly leadDeadlineAlertGroups = "LeadDeadlineAlertGroups";
332
+ static readonly leadsDeadState = "LeadsDeadState";
333
+ static readonly marketingCompletedState = "MarketingCompletedState";
334
+ static readonly marketingDeadState = "MarketingDeadState";
335
+ static readonly minimumPasswordLength = "MinimumPasswordLength";
336
+ static readonly nextStepAttributes = "NextStepAttributes";
337
+ static readonly notifyAboutInvoicedInvoiceInPohodaGroup = "NotifyAboutInvoicedInvoiceInPohodaGroup";
338
+ static readonly notifyAboutLeadsDeadline = "NotifyAboutLeadsDeadline";
339
+ static readonly notifyAboutPaidInvoiceInPohodaGroup = "NotifyAboutPaidInvoiceInPohodaGroup";
340
+ static readonly notifyAboutProjectDeadline = "NotifyAboutProjectDeadline";
341
+ static readonly numberOfDecimalPlaces = "NumberOfDecimalPlaces";
342
+ static readonly phoneListTaskSolverGroup = "PhoneListTaskSolverGroup";
343
+ static readonly projectDeadlineAlert = "ProjectDeadlineAlert";
344
+ static readonly serverUpdateProgressNotificationGroup = "ServerUpdateProgressNotificationGroup";
345
+ static readonly sumarizeCartsPricesOnLeads = "SumarizeCartsPricesOnLeads";
346
+ static readonly sumarizeCartsPricesOnProjects = "SumarizeCartsPricesOnProjects";
347
+ static readonly sumarizePeopleExpensesOnProjects = "SumarizePeopleExpensesOnProjects";
348
+ static readonly systemHealthNotificationGroup = "SystemHealthNotificationGroup";
349
+ static readonly tasksCompletedState = "TasksCompletedState";
350
+ static readonly tasksDeferredState = "TasksDeferredState";
351
+ static readonly tasksInProgressState = "TasksInProgressState";
352
+ static readonly tasksNotStartedState = "TasksNotStartedState";
353
+ static readonly tasksWaitOnSomeoneElseState = "TasksWaitOnSomeoneElseState";
354
+ static readonly trackDocumentVersions = "TrackDocumentVersions";
355
+ static readonly vacationCompletedState = "VacationCompletedState";
356
+ static readonly workReportApprovedState = "WorkReportApprovedState";
357
+ static readonly defaultLanguage = "DefaultLanguage";
358
+ static readonly defaultCurrency = "DefaultCurrency";
359
+ static readonly myCompanyCountry = "MyCompanyCountry";
360
+ static readonly myCompanyName = "MyCompanyName";
361
+ static readonly myCompanyStreet = "MyCompanyStreet";
362
+ static readonly myCompanyCity = "MyCompanyCity";
363
+ static readonly myCompanyState = "MyCompanyState";
364
+ static readonly myCompanyZip = "MyCompanyZIP";
365
+ static readonly myCompanyId = "MyCompanyID";
366
+ static readonly myCompanyVat = "MyCompanyVAT";
367
+ static readonly mergeGoodsInCart = "MergeGoodsInCart";
368
+ static readonly cartRefreshLogic = "CartRefreshLogic";
369
+ static readonly goodsDefaultQuantity = "GoodsDefaultQuantity";
370
+ static readonly goodsDefaultVAT = "GoodsDefaultVAT";
371
+ static readonly goodsDefaultVATIncluded = "GoodsDefaultVATIncluded";
371
372
  }
372
373
 
373
374
  declare class FieldNames {
@@ -1690,6 +1691,68 @@ interface IApiCapacityAvailableBundle extends IApiAvailableBundle {
1690
1691
  UsedSlotsCount: number;
1691
1692
  }
1692
1693
 
1694
+ interface IApiGoodInCart extends IApiItemBase {
1695
+ Code: string | null;
1696
+ SaleCurrencyEn: string | null;
1697
+ PurchaseCurrencyEn: string | null;
1698
+ UnitEn: string | null;
1699
+ PurchasePrice: number | null;
1700
+ SalePrice: number | null;
1701
+ Quantity: number | null;
1702
+ Note: string | null;
1703
+ PriceTotal: number | null;
1704
+ Structure: string | null;
1705
+ ListPrice: number | null;
1706
+ Discount: number | null;
1707
+ HierarchyInSet: string | null;
1708
+ IsFromSet: boolean | null;
1709
+ ParentGuid: string | null;
1710
+ Rank: number | null;
1711
+ IsPriceSum: boolean | null;
1712
+ IncludeInCartPrice: boolean | null;
1713
+ ListPriceCustomized: boolean | null;
1714
+ Description: string | null;
1715
+ ChildItemsCount: number | null;
1716
+ VatRate: number | null;
1717
+ PriceTotalExcludingVat: number | null;
1718
+ VatTotal: number | null;
1719
+ SalePriceExcludingVat: number | null;
1720
+ Vat: number | null;
1721
+ PurchasePriceDefaultCurrency: number | null;
1722
+ PurchasePriceParentCurrency: number | null;
1723
+ SalePriceDefaultCurrency: number | null;
1724
+ SalePriceParentCurrency: number | null;
1725
+ PriceTotalDefaultCurrency: number | null;
1726
+ PriceTotalParentCurrency: number | null;
1727
+ ListPriceDefaultCurrency: number | null;
1728
+ ListPriceParentCurrency: number | null;
1729
+ PriceTotalExcludingVatDefaultCurrency: number | null;
1730
+ PriceTotalExcludingVatParentCurrency: number | null;
1731
+ VatTotalDefaultCurrency: number | null;
1732
+ VatTotalParentCurrency: number | null;
1733
+ SalePriceExcludingVatDefaultCurrency: number | null;
1734
+ SalePriceExcludingVatParentCurrency: number | null;
1735
+ VatDefaultCurrency: number | null;
1736
+ VatParentCurrency: number | null;
1737
+ JoinedToGuid: string | null;
1738
+ PurchasePriceChanged: string | null;
1739
+ SalePriceChanged: string | null;
1740
+ PriceTotalChanged: string | null;
1741
+ ListPriceChanged: string | null;
1742
+ PurchasePriceTotal: number | null;
1743
+ PurchasePriceTotalDefaultCurrency: number | null;
1744
+ PurchasePriceTotalParentCurrency: number | null;
1745
+ PurchasePriceTotalChanged: string | null;
1746
+ VatIncluded: boolean | null;
1747
+ Picture: string | null;
1748
+ PictureWidth: number | null;
1749
+ PictureHeight: number | null;
1750
+ Carts_GoodsInCartGuid: string | null;
1751
+ Goods_GoodsInfoGuid: string | null;
1752
+ Leads_ProjectGuid: string | null;
1753
+ Projects_ProjectGuid: string | null;
1754
+ }
1755
+
1693
1756
  interface IApiCart extends IApiItemBase {
1694
1757
  Id: number | null;
1695
1758
  EffectiveFrom: string | null;
@@ -1703,6 +1766,7 @@ interface IApiCart extends IApiItemBase {
1703
1766
  Vat: number | null;
1704
1767
  PriceTotalExcludingVat: number | null;
1705
1768
  GoodsInCartCount: number | null;
1769
+ GoodsInCart: IApiGoodInCart[] | null;
1706
1770
  Note: string | null;
1707
1771
  PriceTotalDefaultCurrency: number | null;
1708
1772
  PriceTotalParentCurrency: number | null;
@@ -2136,68 +2200,6 @@ interface IApiGood extends IApiItemBase {
2136
2200
  Goods_SuperiorGoodGuid: string | null;
2137
2201
  }
2138
2202
 
2139
- interface IApiGoodInCart extends IApiItemBase {
2140
- Code: string | null;
2141
- SaleCurrencyEn: string | null;
2142
- PurchaseCurrencyEn: string | null;
2143
- UnitEn: string | null;
2144
- PurchasePrice: number | null;
2145
- SalePrice: number | null;
2146
- Quantity: number | null;
2147
- Note: string | null;
2148
- PriceTotal: number | null;
2149
- Structure: string | null;
2150
- ListPrice: number | null;
2151
- Discount: number | null;
2152
- HierarchyInSet: string | null;
2153
- IsFromSet: boolean | null;
2154
- ParentGuid: string | null;
2155
- Rank: number | null;
2156
- IsPriceSum: boolean | null;
2157
- IncludeInCartPrice: boolean | null;
2158
- ListPriceCustomized: boolean | null;
2159
- Description: string | null;
2160
- ChildItemsCount: number | null;
2161
- VatRate: number | null;
2162
- PriceTotalExcludingVat: number | null;
2163
- VatTotal: number | null;
2164
- SalePriceExcludingVat: number | null;
2165
- Vat: number | null;
2166
- PurchasePriceDefaultCurrency: number | null;
2167
- PurchasePriceParentCurrency: number | null;
2168
- SalePriceDefaultCurrency: number | null;
2169
- SalePriceParentCurrency: number | null;
2170
- PriceTotalDefaultCurrency: number | null;
2171
- PriceTotalParentCurrency: number | null;
2172
- ListPriceDefaultCurrency: number | null;
2173
- ListPriceParentCurrency: number | null;
2174
- PriceTotalExcludingVatDefaultCurrency: number | null;
2175
- PriceTotalExcludingVatParentCurrency: number | null;
2176
- VatTotalDefaultCurrency: number | null;
2177
- VatTotalParentCurrency: number | null;
2178
- SalePriceExcludingVatDefaultCurrency: number | null;
2179
- SalePriceExcludingVatParentCurrency: number | null;
2180
- VatDefaultCurrency: number | null;
2181
- VatParentCurrency: number | null;
2182
- JoinedToGuid: string | null;
2183
- PurchasePriceChanged: string | null;
2184
- SalePriceChanged: string | null;
2185
- PriceTotalChanged: string | null;
2186
- ListPriceChanged: string | null;
2187
- PurchasePriceTotal: number | null;
2188
- PurchasePriceTotalDefaultCurrency: number | null;
2189
- PurchasePriceTotalParentCurrency: number | null;
2190
- PurchasePriceTotalChanged: string | null;
2191
- VatIncluded: boolean | null;
2192
- Picture: string | null;
2193
- PictureWidth: number | null;
2194
- PictureHeight: number | null;
2195
- Carts_GoodsInCartGuid: string | null;
2196
- Goods_GoodsInfoGuid: string | null;
2197
- Leads_ProjectGuid: string | null;
2198
- Projects_ProjectGuid: string | null;
2199
- }
2200
-
2201
2203
  interface IApiGoodInSet extends IApiItemBase {
2202
2204
  ParentGUID: string | null;
2203
2205
  ChildGUID: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eway-crm/connector",
3
- "version": "1.0.207",
3
+ "version": "1.0.209",
4
4
  "description": "eWay-CRM API JavaScript connector library.",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.js",
@@ -50,7 +50,8 @@
50
50
  "rollup-plugin-delete": "^2.0.0",
51
51
  "rollup-plugin-dts": "^5.3.0",
52
52
  "ts-jest": "^29.1.0",
53
- "typescript": ">=5.3.3 <5.4.0"
53
+ "typescript": ">=5.3.3 <5.4.0",
54
+ "tslib": "^2.8.1"
54
55
  },
55
56
  "files": [
56
57
  "lib/**/*"