@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/cjs/constants/GlobalSettingsNames.d.ts +78 -77
- package/lib/cjs/data/IApiCart.d.ts +2 -0
- package/lib/cjs/index.js +1 -1
- package/lib/esm/constants/GlobalSettingsNames.d.ts +78 -77
- package/lib/esm/data/IApiCart.d.ts +2 -0
- package/lib/esm/index.js +1 -1
- package/lib/index.d.ts +141 -139
- package/package.json +3 -2
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
|
|
295
|
-
static adminAppInactiveLogoutTime
|
|
296
|
-
static applyGeneralDataProtectionRules
|
|
297
|
-
static automaticallyCreateJournalAfterCallDuration
|
|
298
|
-
static bonusesCompletedState
|
|
299
|
-
static cartInvoicedState
|
|
300
|
-
static cartOrderCanceledState
|
|
301
|
-
static cartOrderInProcessState
|
|
302
|
-
static cartOrderProcessedState
|
|
303
|
-
static cartPaidState
|
|
304
|
-
static cartProposalInProcessState
|
|
305
|
-
static cartProposalProcessedState
|
|
306
|
-
static cartSalesVoucherIssuedState
|
|
307
|
-
static cartToBeInvoicedState
|
|
308
|
-
static cartVoidedState
|
|
309
|
-
static clickToCallScheme
|
|
310
|
-
static companyDuplicityCheckEnabled
|
|
311
|
-
static completedStateName
|
|
312
|
-
static contactDuplicityCheckEnabled
|
|
313
|
-
static createCompanyWhileImportingContactFromOutlook
|
|
314
|
-
static
|
|
315
|
-
static
|
|
316
|
-
static
|
|
317
|
-
static
|
|
318
|
-
static
|
|
319
|
-
static
|
|
320
|
-
static
|
|
321
|
-
static
|
|
322
|
-
static
|
|
323
|
-
static
|
|
324
|
-
static
|
|
325
|
-
static
|
|
326
|
-
static
|
|
327
|
-
static
|
|
328
|
-
static
|
|
329
|
-
static
|
|
330
|
-
static
|
|
331
|
-
static
|
|
332
|
-
static
|
|
333
|
-
static
|
|
334
|
-
static
|
|
335
|
-
static
|
|
336
|
-
static
|
|
337
|
-
static
|
|
338
|
-
static
|
|
339
|
-
static
|
|
340
|
-
static
|
|
341
|
-
static
|
|
342
|
-
static
|
|
343
|
-
static
|
|
344
|
-
static
|
|
345
|
-
static
|
|
346
|
-
static
|
|
347
|
-
static
|
|
348
|
-
static
|
|
349
|
-
static
|
|
350
|
-
static
|
|
351
|
-
static
|
|
352
|
-
static
|
|
353
|
-
static
|
|
354
|
-
static
|
|
355
|
-
static
|
|
356
|
-
static
|
|
357
|
-
static
|
|
358
|
-
static
|
|
359
|
-
static
|
|
360
|
-
static
|
|
361
|
-
static
|
|
362
|
-
static
|
|
363
|
-
static
|
|
364
|
-
static
|
|
365
|
-
static
|
|
366
|
-
static
|
|
367
|
-
static
|
|
368
|
-
static
|
|
369
|
-
static
|
|
370
|
-
static
|
|
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.
|
|
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/**/*"
|