@eway-crm/connector 1.0.126 → 1.0.128

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.
Files changed (294) hide show
  1. package/lib/{index.js → cjs/index.d.ts} +7 -6
  2. package/lib/cjs/index.js +8 -0
  3. package/lib/esm/AnonymousSessionHandler.d.ts +5 -0
  4. package/lib/esm/ApiConnection.d.ts +66 -0
  5. package/lib/esm/ApiMethods.d.ts +16 -0
  6. package/lib/esm/CredentialsSessionHandler.d.ts +16 -0
  7. package/lib/esm/HttpMethod.d.ts +4 -0
  8. package/lib/esm/ISessionHandler.d.ts +7 -0
  9. package/lib/esm/OAuthSessionHandler.d.ts +12 -0
  10. package/lib/esm/OAuthSessionHandlerBase.d.ts +16 -0
  11. package/lib/esm/ReturnCodes.d.ts +9 -0
  12. package/lib/esm/constants/ActionEventTypes.d.ts +9 -0
  13. package/lib/esm/constants/ColumnPermissionRules.d.ts +14 -0
  14. package/lib/esm/constants/CompletionLevels.d.ts +6 -0
  15. package/lib/esm/constants/CustomizationStatsItemKeys.d.ts +11 -0
  16. package/lib/esm/constants/Edition.d.ts +6 -0
  17. package/lib/esm/constants/EnumTypes.d.ts +32 -0
  18. package/lib/esm/constants/ExpirationReason.d.ts +7 -0
  19. package/lib/esm/constants/Feature.d.ts +6 -0
  20. package/lib/esm/constants/FieldNames.d.ts +389 -0
  21. package/lib/esm/constants/FieldTypes.d.ts +15 -0
  22. package/lib/esm/constants/FolderNames.d.ts +80 -0
  23. package/lib/esm/constants/Functionality.d.ts +54 -0
  24. package/lib/esm/constants/GlobalSettingsNames.d.ts +71 -0
  25. package/lib/esm/constants/LicenseKeyInvoiceSeverity.d.ts +8 -0
  26. package/lib/esm/constants/LicenseRestrictionKeys.d.ts +62 -0
  27. package/lib/esm/constants/RelationTypes.d.ts +11 -0
  28. package/lib/esm/data/EWItem.d.ts +12 -0
  29. package/lib/esm/data/IApiAdditionalField.d.ts +21 -0
  30. package/lib/esm/data/IApiAvailableBundle.d.ts +4 -0
  31. package/lib/esm/data/IApiAvailableVersionResponse.d.ts +9 -0
  32. package/lib/esm/data/IApiBooleanResponse.d.ts +4 -0
  33. package/lib/esm/data/IApiCapacityAvailableBundle.d.ts +5 -0
  34. package/lib/esm/data/IApiCart.d.ts +48 -0
  35. package/lib/esm/data/IApiColumn.d.ts +51 -0
  36. package/lib/esm/data/IApiColumnPermission.d.ts +15 -0
  37. package/lib/esm/data/IApiCompany.d.ts +55 -0
  38. package/lib/esm/data/IApiContact.d.ts +58 -0
  39. package/lib/esm/data/IApiCurrencyExchangeRate.d.ts +9 -0
  40. package/lib/esm/data/IApiCustomizationStatsItem.d.ts +6 -0
  41. package/lib/esm/data/IApiDataResponse.d.ts +4 -0
  42. package/lib/esm/data/IApiDatumResponse.d.ts +4 -0
  43. package/lib/esm/data/IApiDocument.d.ts +22 -0
  44. package/lib/esm/data/IApiEmail.d.ts +26 -0
  45. package/lib/esm/data/IApiEnumType.d.ts +26 -0
  46. package/lib/esm/data/IApiEnumValue.d.ts +18 -0
  47. package/lib/esm/data/IApiEnumValuesRelation.d.ts +8 -0
  48. package/lib/esm/data/IApiFeature.d.ts +5 -0
  49. package/lib/esm/data/IApiFeaturesLicenseBundle.d.ts +10 -0
  50. package/lib/esm/data/IApiFlow.d.ts +9 -0
  51. package/lib/esm/data/IApiGlobalSetting.d.ts +33 -0
  52. package/lib/esm/data/IApiGoal.d.ts +22 -0
  53. package/lib/esm/data/IApiGood.d.ts +26 -0
  54. package/lib/esm/data/IApiGoodInCart.d.ts +62 -0
  55. package/lib/esm/data/IApiGroup.d.ts +16 -0
  56. package/lib/esm/data/IApiItemBase.d.ts +14 -0
  57. package/lib/esm/data/IApiItemIdentifier.d.ts +5 -0
  58. package/lib/esm/data/IApiItemUsageStatus.d.ts +4 -0
  59. package/lib/esm/data/IApiJournal.d.ts +25 -0
  60. package/lib/esm/data/IApiLead.d.ts +36 -0
  61. package/lib/esm/data/IApiLicense.d.ts +65 -0
  62. package/lib/esm/data/IApiLicenseBundleBase.d.ts +6 -0
  63. package/lib/esm/data/IApiLocalizedLicenseBundle.d.ts +4 -0
  64. package/lib/esm/data/IApiLoginResponse.d.ts +8 -0
  65. package/lib/esm/data/IApiMarketingCampaign.d.ts +32 -0
  66. package/lib/esm/data/IApiMarketingList.d.ts +17 -0
  67. package/lib/esm/data/IApiModulePermission.d.ts +14 -0
  68. package/lib/esm/data/IApiObjectType.d.ts +9 -0
  69. package/lib/esm/data/IApiPasswordStrength.d.ts +5 -0
  70. package/lib/esm/data/IApiPayment.d.ts +9 -0
  71. package/lib/esm/data/IApiProject.d.ts +59 -0
  72. package/lib/esm/data/IApiRecurrencePattern.d.ts +16 -0
  73. package/lib/{IApiResult.d.ts → esm/data/IApiResult.d.ts} +4 -4
  74. package/lib/esm/data/IApiSaveResponse.d.ts +4 -0
  75. package/lib/esm/data/IApiTask.d.ts +34 -0
  76. package/lib/esm/data/IApiUser.d.ts +22 -0
  77. package/lib/esm/data/IApiUserSetting.d.ts +6 -0
  78. package/lib/esm/data/IApiWebServiceTaskStatus.d.ts +10 -0
  79. package/lib/esm/data/IApiWorkReport.d.ts +36 -0
  80. package/lib/esm/data/IApiWorkflowActionDerivedItem.d.ts +21 -0
  81. package/lib/esm/data/IApiWorkflowModel.d.ts +8 -0
  82. package/lib/esm/data/query/IApiQuery.d.ts +42 -0
  83. package/lib/esm/data/query/IApiQueryFilters.d.ts +43 -0
  84. package/lib/esm/data/workflowActions/IApiAction.d.ts +106 -0
  85. package/lib/esm/exceptions/HttpRequestError.d.ts +7 -0
  86. package/lib/esm/exceptions/WebServiceError.d.ts +5 -0
  87. package/lib/esm/helpers/ErrorHelper.d.ts +4 -0
  88. package/lib/esm/helpers/OAuthHelper.d.ts +8 -0
  89. package/lib/esm/helpers/VersionHelperBase.d.ts +5 -0
  90. package/lib/esm/index.d.ts +85 -0
  91. package/lib/esm/index.js +8 -0
  92. package/lib/esm/interfaces/IEWJwtPayload.d.ts +4 -0
  93. package/lib/esm/interfaces/IItemPreview.d.ts +5 -0
  94. package/lib/esm/interfaces/ITokenData.d.ts +9 -0
  95. package/lib/esm/interfaces/ITranslatableString.d.ts +8 -0
  96. package/lib/esm/interfaces/TNumericValidatorType.d.ts +1 -0
  97. package/lib/esm/tokenizedServices/CommonDataConnection.d.ts +9 -0
  98. package/lib/esm/tokenizedServices/ITokenizedApiResult.d.ts +4 -0
  99. package/lib/esm/tokenizedServices/TokenizedServiceConnection.d.ts +25 -0
  100. package/lib/index.d.ts +2164 -85
  101. package/package.json +14 -4
  102. package/lib/AnonymousSessionHandler.js +0 -10
  103. package/lib/ApiConnection.js +0 -307
  104. package/lib/ApiMethods.js +0 -36
  105. package/lib/CredentialsSessionHandler.js +0 -54
  106. package/lib/HttpMethod.js +0 -5
  107. package/lib/IApiResult.js +0 -2
  108. package/lib/ISessionHandler.js +0 -1
  109. package/lib/OAuthSessionHandler.js +0 -29
  110. package/lib/OAuthSessionHandlerBase.js +0 -72
  111. package/lib/ReturnCodes.js +0 -10
  112. package/lib/axios/AxiosInstance.d.ts +0 -2
  113. package/lib/axios/AxiosInstance.js +0 -3
  114. package/lib/constants/ActionEventTypes.js +0 -9
  115. package/lib/constants/ColumnPermissionRules.js +0 -15
  116. package/lib/constants/CompletionLevels.js +0 -6
  117. package/lib/constants/CustomizationStatsItemKeys.js +0 -12
  118. package/lib/constants/Edition.js +0 -7
  119. package/lib/constants/EnumTypes.js +0 -33
  120. package/lib/constants/ExpirationReason.js +0 -8
  121. package/lib/constants/Feature.js +0 -7
  122. package/lib/constants/FieldNames.js +0 -422
  123. package/lib/constants/FieldTypes.js +0 -15
  124. package/lib/constants/FolderNames.js +0 -82
  125. package/lib/constants/Functionality.js +0 -55
  126. package/lib/constants/GlobalSettingsNames.js +0 -71
  127. package/lib/constants/LicenseKeyInvoiceSeverity.js +0 -9
  128. package/lib/constants/LicenseRestrictionKeys.js +0 -63
  129. package/lib/constants/RelationTypes.js +0 -11
  130. package/lib/data/EWItem.js +0 -86
  131. package/lib/data/IApiAdditionalField.js +0 -1
  132. package/lib/data/IApiAvailableBundle.js +0 -1
  133. package/lib/data/IApiAvailableVersionResponse.js +0 -1
  134. package/lib/data/IApiBooleanResponse.js +0 -1
  135. package/lib/data/IApiCapacityAvailableBundle.js +0 -1
  136. package/lib/data/IApiCart.js +0 -7
  137. package/lib/data/IApiColumn.js +0 -1
  138. package/lib/data/IApiColumnPermission.js +0 -1
  139. package/lib/data/IApiCompany.js +0 -7
  140. package/lib/data/IApiContact.js +0 -7
  141. package/lib/data/IApiCurrencyExchangeRate.js +0 -7
  142. package/lib/data/IApiCustomizationStatsItem.js +0 -1
  143. package/lib/data/IApiDataResponse.js +0 -1
  144. package/lib/data/IApiDatumResponse.js +0 -1
  145. package/lib/data/IApiDocument.js +0 -7
  146. package/lib/data/IApiEmail.js +0 -7
  147. package/lib/data/IApiEnumType.js +0 -6
  148. package/lib/data/IApiEnumValue.js +0 -1
  149. package/lib/data/IApiEnumValuesRelation.js +0 -7
  150. package/lib/data/IApiFeature.js +0 -1
  151. package/lib/data/IApiFeaturesLicenseBundle.js +0 -1
  152. package/lib/data/IApiFlow.js +0 -7
  153. package/lib/data/IApiGlobalSetting.js +0 -1
  154. package/lib/data/IApiGoal.js +0 -7
  155. package/lib/data/IApiGood.js +0 -7
  156. package/lib/data/IApiGoodInCart.js +0 -7
  157. package/lib/data/IApiGroup.js +0 -1
  158. package/lib/data/IApiItemBase.js +0 -1
  159. package/lib/data/IApiItemIdentifier.js +0 -1
  160. package/lib/data/IApiItemUsageStatus.js +0 -1
  161. package/lib/data/IApiJournal.js +0 -7
  162. package/lib/data/IApiLead.js +0 -7
  163. package/lib/data/IApiLicense.js +0 -1
  164. package/lib/data/IApiLicenseBundleBase.js +0 -1
  165. package/lib/data/IApiLocalizedLicenseBundle.js +0 -1
  166. package/lib/data/IApiLoginResponse.js +0 -1
  167. package/lib/data/IApiMarketingCampaign.js +0 -7
  168. package/lib/data/IApiMarketingList.js +0 -7
  169. package/lib/data/IApiModulePermission.js +0 -1
  170. package/lib/data/IApiObjectType.js +0 -1
  171. package/lib/data/IApiPasswordStrength.js +0 -1
  172. package/lib/data/IApiPayment.js +0 -7
  173. package/lib/data/IApiProject.js +0 -7
  174. package/lib/data/IApiRecurrencePattern.js +0 -7
  175. package/lib/data/IApiResult.js +0 -1
  176. package/lib/data/IApiSaveResponse.js +0 -1
  177. package/lib/data/IApiTask.js +0 -7
  178. package/lib/data/IApiUser.js +0 -1
  179. package/lib/data/IApiUserSetting.js +0 -1
  180. package/lib/data/IApiWebServiceTaskStatus.js +0 -1
  181. package/lib/data/IApiWorkReport.js +0 -7
  182. package/lib/data/IApiWorkflowActionDerivedItem.js +0 -1
  183. package/lib/data/IApiWorkflowModel.js +0 -1
  184. package/lib/data/query/IApiQuery.js +0 -1
  185. package/lib/data/query/IApiQueryFilters.js +0 -1
  186. package/lib/data/workflowActions/IApiAction.js +0 -1
  187. package/lib/exceptions/HttpRequestError.js +0 -7
  188. package/lib/exceptions/WebServiceError.js +0 -7
  189. package/lib/helpers/ErrorHelper.js +0 -16
  190. package/lib/helpers/OAuthHelper.js +0 -52
  191. package/lib/helpers/VersionHelperBase.js +0 -16
  192. package/lib/interfaces/IEWJwtPayload.js +0 -1
  193. package/lib/interfaces/IItemPreview.js +0 -1
  194. package/lib/interfaces/ITokenData.js +0 -1
  195. package/lib/interfaces/ITranslatableString.js +0 -1
  196. package/lib/interfaces/TNumericValidatorType.js +0 -1
  197. package/lib/tokenizedServices/CommonDataConnection.js +0 -16
  198. package/lib/tokenizedServices/ITokenizedApiResult.js +0 -1
  199. package/lib/tokenizedServices/TokenizedServiceConnection.js +0 -124
  200. /package/lib/{AnonymousSessionHandler.d.ts → cjs/AnonymousSessionHandler.d.ts} +0 -0
  201. /package/lib/{ApiConnection.d.ts → cjs/ApiConnection.d.ts} +0 -0
  202. /package/lib/{ApiMethods.d.ts → cjs/ApiMethods.d.ts} +0 -0
  203. /package/lib/{CredentialsSessionHandler.d.ts → cjs/CredentialsSessionHandler.d.ts} +0 -0
  204. /package/lib/{HttpMethod.d.ts → cjs/HttpMethod.d.ts} +0 -0
  205. /package/lib/{ISessionHandler.d.ts → cjs/ISessionHandler.d.ts} +0 -0
  206. /package/lib/{OAuthSessionHandler.d.ts → cjs/OAuthSessionHandler.d.ts} +0 -0
  207. /package/lib/{OAuthSessionHandlerBase.d.ts → cjs/OAuthSessionHandlerBase.d.ts} +0 -0
  208. /package/lib/{ReturnCodes.d.ts → cjs/ReturnCodes.d.ts} +0 -0
  209. /package/lib/{constants → cjs/constants}/ActionEventTypes.d.ts +0 -0
  210. /package/lib/{constants → cjs/constants}/ColumnPermissionRules.d.ts +0 -0
  211. /package/lib/{constants → cjs/constants}/CompletionLevels.d.ts +0 -0
  212. /package/lib/{constants → cjs/constants}/CustomizationStatsItemKeys.d.ts +0 -0
  213. /package/lib/{constants → cjs/constants}/Edition.d.ts +0 -0
  214. /package/lib/{constants → cjs/constants}/EnumTypes.d.ts +0 -0
  215. /package/lib/{constants → cjs/constants}/ExpirationReason.d.ts +0 -0
  216. /package/lib/{constants → cjs/constants}/Feature.d.ts +0 -0
  217. /package/lib/{constants → cjs/constants}/FieldNames.d.ts +0 -0
  218. /package/lib/{constants → cjs/constants}/FieldTypes.d.ts +0 -0
  219. /package/lib/{constants → cjs/constants}/FolderNames.d.ts +0 -0
  220. /package/lib/{constants → cjs/constants}/Functionality.d.ts +0 -0
  221. /package/lib/{constants → cjs/constants}/GlobalSettingsNames.d.ts +0 -0
  222. /package/lib/{constants → cjs/constants}/LicenseKeyInvoiceSeverity.d.ts +0 -0
  223. /package/lib/{constants → cjs/constants}/LicenseRestrictionKeys.d.ts +0 -0
  224. /package/lib/{constants → cjs/constants}/RelationTypes.d.ts +0 -0
  225. /package/lib/{data → cjs/data}/EWItem.d.ts +0 -0
  226. /package/lib/{data → cjs/data}/IApiAdditionalField.d.ts +0 -0
  227. /package/lib/{data → cjs/data}/IApiAvailableBundle.d.ts +0 -0
  228. /package/lib/{data → cjs/data}/IApiAvailableVersionResponse.d.ts +0 -0
  229. /package/lib/{data → cjs/data}/IApiBooleanResponse.d.ts +0 -0
  230. /package/lib/{data → cjs/data}/IApiCapacityAvailableBundle.d.ts +0 -0
  231. /package/lib/{data → cjs/data}/IApiCart.d.ts +0 -0
  232. /package/lib/{data → cjs/data}/IApiColumn.d.ts +0 -0
  233. /package/lib/{data → cjs/data}/IApiColumnPermission.d.ts +0 -0
  234. /package/lib/{data → cjs/data}/IApiCompany.d.ts +0 -0
  235. /package/lib/{data → cjs/data}/IApiContact.d.ts +0 -0
  236. /package/lib/{data → cjs/data}/IApiCurrencyExchangeRate.d.ts +0 -0
  237. /package/lib/{data → cjs/data}/IApiCustomizationStatsItem.d.ts +0 -0
  238. /package/lib/{data → cjs/data}/IApiDataResponse.d.ts +0 -0
  239. /package/lib/{data → cjs/data}/IApiDatumResponse.d.ts +0 -0
  240. /package/lib/{data → cjs/data}/IApiDocument.d.ts +0 -0
  241. /package/lib/{data → cjs/data}/IApiEmail.d.ts +0 -0
  242. /package/lib/{data → cjs/data}/IApiEnumType.d.ts +0 -0
  243. /package/lib/{data → cjs/data}/IApiEnumValue.d.ts +0 -0
  244. /package/lib/{data → cjs/data}/IApiEnumValuesRelation.d.ts +0 -0
  245. /package/lib/{data → cjs/data}/IApiFeature.d.ts +0 -0
  246. /package/lib/{data → cjs/data}/IApiFeaturesLicenseBundle.d.ts +0 -0
  247. /package/lib/{data → cjs/data}/IApiFlow.d.ts +0 -0
  248. /package/lib/{data → cjs/data}/IApiGlobalSetting.d.ts +0 -0
  249. /package/lib/{data → cjs/data}/IApiGoal.d.ts +0 -0
  250. /package/lib/{data → cjs/data}/IApiGood.d.ts +0 -0
  251. /package/lib/{data → cjs/data}/IApiGoodInCart.d.ts +0 -0
  252. /package/lib/{data → cjs/data}/IApiGroup.d.ts +0 -0
  253. /package/lib/{data → cjs/data}/IApiItemBase.d.ts +0 -0
  254. /package/lib/{data → cjs/data}/IApiItemIdentifier.d.ts +0 -0
  255. /package/lib/{data → cjs/data}/IApiItemUsageStatus.d.ts +0 -0
  256. /package/lib/{data → cjs/data}/IApiJournal.d.ts +0 -0
  257. /package/lib/{data → cjs/data}/IApiLead.d.ts +0 -0
  258. /package/lib/{data → cjs/data}/IApiLicense.d.ts +0 -0
  259. /package/lib/{data → cjs/data}/IApiLicenseBundleBase.d.ts +0 -0
  260. /package/lib/{data → cjs/data}/IApiLocalizedLicenseBundle.d.ts +0 -0
  261. /package/lib/{data → cjs/data}/IApiLoginResponse.d.ts +0 -0
  262. /package/lib/{data → cjs/data}/IApiMarketingCampaign.d.ts +0 -0
  263. /package/lib/{data → cjs/data}/IApiMarketingList.d.ts +0 -0
  264. /package/lib/{data → cjs/data}/IApiModulePermission.d.ts +0 -0
  265. /package/lib/{data → cjs/data}/IApiObjectType.d.ts +0 -0
  266. /package/lib/{data → cjs/data}/IApiPasswordStrength.d.ts +0 -0
  267. /package/lib/{data → cjs/data}/IApiPayment.d.ts +0 -0
  268. /package/lib/{data → cjs/data}/IApiProject.d.ts +0 -0
  269. /package/lib/{data → cjs/data}/IApiRecurrencePattern.d.ts +0 -0
  270. /package/lib/{data → cjs/data}/IApiResult.d.ts +0 -0
  271. /package/lib/{data → cjs/data}/IApiSaveResponse.d.ts +0 -0
  272. /package/lib/{data → cjs/data}/IApiTask.d.ts +0 -0
  273. /package/lib/{data → cjs/data}/IApiUser.d.ts +0 -0
  274. /package/lib/{data → cjs/data}/IApiUserSetting.d.ts +0 -0
  275. /package/lib/{data → cjs/data}/IApiWebServiceTaskStatus.d.ts +0 -0
  276. /package/lib/{data → cjs/data}/IApiWorkReport.d.ts +0 -0
  277. /package/lib/{data → cjs/data}/IApiWorkflowActionDerivedItem.d.ts +0 -0
  278. /package/lib/{data → cjs/data}/IApiWorkflowModel.d.ts +0 -0
  279. /package/lib/{data → cjs/data}/query/IApiQuery.d.ts +0 -0
  280. /package/lib/{data → cjs/data}/query/IApiQueryFilters.d.ts +0 -0
  281. /package/lib/{data → cjs/data}/workflowActions/IApiAction.d.ts +0 -0
  282. /package/lib/{exceptions → cjs/exceptions}/HttpRequestError.d.ts +0 -0
  283. /package/lib/{exceptions → cjs/exceptions}/WebServiceError.d.ts +0 -0
  284. /package/lib/{helpers → cjs/helpers}/ErrorHelper.d.ts +0 -0
  285. /package/lib/{helpers → cjs/helpers}/OAuthHelper.d.ts +0 -0
  286. /package/lib/{helpers → cjs/helpers}/VersionHelperBase.d.ts +0 -0
  287. /package/lib/{interfaces → cjs/interfaces}/IEWJwtPayload.d.ts +0 -0
  288. /package/lib/{interfaces → cjs/interfaces}/IItemPreview.d.ts +0 -0
  289. /package/lib/{interfaces → cjs/interfaces}/ITokenData.d.ts +0 -0
  290. /package/lib/{interfaces → cjs/interfaces}/ITranslatableString.d.ts +0 -0
  291. /package/lib/{interfaces → cjs/interfaces}/TNumericValidatorType.d.ts +0 -0
  292. /package/lib/{tokenizedServices → cjs/tokenizedServices}/CommonDataConnection.d.ts +0 -0
  293. /package/lib/{tokenizedServices → cjs/tokenizedServices}/ITokenizedApiResult.d.ts +0 -0
  294. /package/lib/{tokenizedServices → cjs/tokenizedServices}/TokenizedServiceConnection.d.ts +0 -0
@@ -0,0 +1,62 @@
1
+ import { IApiItemBase } from './IApiItemBase';
2
+ export interface IApiGoodInCart extends IApiItemBase {
3
+ Code: string | null;
4
+ SaleCurrencyEn: string | null;
5
+ PurchaseCurrencyEn: string | null;
6
+ UnitEn: string | null;
7
+ PurchasePrice: number | null;
8
+ SalePrice: number | null;
9
+ Quantity: number | null;
10
+ Note: string | null;
11
+ PriceTotal: number | null;
12
+ Structure: string | null;
13
+ ListPrice: number | null;
14
+ Discount: number | null;
15
+ HierarchyInSet: string | null;
16
+ IsFromSet: boolean | null;
17
+ ParentGuid: string | null;
18
+ Rank: number | null;
19
+ IsPriceSum: boolean | null;
20
+ IncludeInCartPrice: boolean | null;
21
+ ListPriceCustomized: boolean | null;
22
+ Description: string | null;
23
+ ChildItemsCount: number | null;
24
+ VatRate: number | null;
25
+ PriceTotalExcludingVat: number | null;
26
+ VatTotal: number | null;
27
+ SalePriceExcludingVat: number | null;
28
+ Vat: number | null;
29
+ PurchasePriceDefaultCurrency: number | null;
30
+ PurchasePriceParentCurrency: number | null;
31
+ SalePriceDefaultCurrency: number | null;
32
+ SalePriceParentCurrency: number | null;
33
+ PriceTotalDefaultCurrency: number | null;
34
+ PriceTotalParentCurrency: number | null;
35
+ ListPriceDefaultCurrency: number | null;
36
+ ListPriceParentCurrency: number | null;
37
+ PriceTotalExcludingVatDefaultCurrency: number | null;
38
+ PriceTotalExcludingVatParentCurrency: number | null;
39
+ VatTotalDefaultCurrency: number | null;
40
+ VatTotalParentCurrency: number | null;
41
+ SalePriceExcludingVatDefaultCurrency: number | null;
42
+ SalePriceExcludingVatParentCurrency: number | null;
43
+ VatDefaultCurrency: number | null;
44
+ VatParentCurrency: number | null;
45
+ JoinedToGuid: string | null;
46
+ PurchasePriceChanged: string | null;
47
+ SalePriceChanged: string | null;
48
+ PriceTotalChanged: string | null;
49
+ ListPriceChanged: string | null;
50
+ PurchasePriceTotal: number | null;
51
+ PurchasePriceTotalDefaultCurrency: number | null;
52
+ PurchasePriceTotalParentCurrency: number | null;
53
+ PurchasePriceTotalChanged: string | null;
54
+ VatIncluded: boolean | null;
55
+ Picture: string | null;
56
+ PictureWidth: number | null;
57
+ PictureHeight: number | null;
58
+ Carts_GoodsInCartGuid: string | null;
59
+ Goods_GoodsInfoGuid: string | null;
60
+ Leads_ProjectGuid: string | null;
61
+ Projects_ProjectGuid: string | null;
62
+ }
@@ -0,0 +1,16 @@
1
+ import { IApiItemBase } from "./IApiItemBase";
2
+ export interface IApiGroup extends IApiItemBase {
3
+ GroupName: string;
4
+ Description: string | null;
5
+ ResponsibilityDescription: string | null;
6
+ System: boolean;
7
+ IsAdmin: boolean;
8
+ IsPM: boolean;
9
+ IsRole: boolean;
10
+ IsCategory: boolean;
11
+ IsOutlookCategory: boolean;
12
+ DisallowControlUserAssignment: boolean;
13
+ DisallowControlModulePermissions: boolean;
14
+ DisallowControlColumnPermissions: boolean;
15
+ ContainsAnyUneditablePermission: boolean;
16
+ }
@@ -0,0 +1,14 @@
1
+ export interface IApiItemBase {
2
+ ItemGUID: string;
3
+ ItemVersion: number;
4
+ FileAs: string | null | undefined;
5
+ }
6
+ export interface IApiBoundRelation {
7
+ RelationType: string;
8
+ ForeignItemGUID: string;
9
+ ForeignFolderName: string;
10
+ RelationDataGUID: string;
11
+ }
12
+ export type TApiItemWithReleations<TItem> = TItem & {
13
+ Relations: IApiBoundRelation[];
14
+ };
@@ -0,0 +1,5 @@
1
+ import { IApiItemBase } from './IApiItemBase';
2
+ export interface IApiItemIdentifier extends Omit<IApiItemBase, 'ItemGUID' | 'ItemVersion'> {
3
+ ItemGUID: string | null;
4
+ ItemVersion: number | null;
5
+ }
@@ -0,0 +1,4 @@
1
+ export interface IApiItemUsageStatus {
2
+ ItemGuid: string;
3
+ IsUsed: boolean;
4
+ }
@@ -0,0 +1,25 @@
1
+ import { IApiItemBase } from './IApiItemBase';
2
+ export interface IApiJournal extends IApiItemBase {
3
+ CalendarEntryID: string | null;
4
+ Calendar_ORIGIN: string | null;
5
+ ChangedField: string | null;
6
+ EventEnd: string | null;
7
+ EventStart: string | null;
8
+ FieldValue: string | null;
9
+ ImportanceEn: string | null;
10
+ Note: string | null;
11
+ PrevFieldValue: string | null;
12
+ TypeEn: string | null;
13
+ IsSystem: boolean | null;
14
+ Phone: string | null;
15
+ PhoneNormalized: string | null;
16
+ IsGdprRelevant: boolean | null;
17
+ Picture: string | null;
18
+ PictureWidth: number | null;
19
+ PictureHeight: number | null;
20
+ Companies_CompanyGuid: string | null;
21
+ Contacts_ContactGuid: string | null;
22
+ Leads_SuperiorItemGuid: string | null;
23
+ Projects_SuperiorItemGuid: string | null;
24
+ Marketing_MarketingGuid: string | null;
25
+ }
@@ -0,0 +1,36 @@
1
+ import { IApiItemBase } from './IApiItemBase';
2
+ export interface IApiLead extends IApiItemBase {
3
+ City: string | null;
4
+ ContactPerson: string | null;
5
+ CurrencyEn: string | null;
6
+ Customer: string | null;
7
+ Email: string | null;
8
+ EstimatedEnd: string | null;
9
+ HID: number | null;
10
+ LeadOriginEn: string | null;
11
+ Note: string | null;
12
+ Phone: string | null;
13
+ PhoneNormalized: string | null;
14
+ PrevStateEn: string | null;
15
+ Price: number | null;
16
+ PriceChanged: string | null;
17
+ PriceDefaultCurrency: number | null;
18
+ Probability: number | null;
19
+ ReceiveDate: string | null;
20
+ StateEn: string | null;
21
+ Street: string | null;
22
+ TypeEn: string | null;
23
+ Zip: string | null;
24
+ LastActivity: string | null;
25
+ NextStep: string | null;
26
+ EstimatedValue: number | null;
27
+ IsCompleted: boolean | null;
28
+ IsLost: boolean | null;
29
+ CountryEn: string | null;
30
+ State: string | null;
31
+ POBox: string | null;
32
+ EmailOptOut: boolean | null;
33
+ Companies_CustomerGuid: string | null;
34
+ Contacts_ContactPersonGuid: string | null;
35
+ Marketing_MarketingGuid: string | null;
36
+ }
@@ -0,0 +1,65 @@
1
+ import { IApiCapacityAvailableBundle } from './IApiCapacityAvailableBundle';
2
+ import { ITranslatableString } from '../interfaces/ITranslatableString';
3
+ import { TFeatureWithEdition } from './IApiFeaturesLicenseBundle';
4
+ import { Edition } from '../constants/Edition';
5
+ import { Feature } from '../constants/Feature';
6
+ import { TFolderName } from '../constants/FolderNames';
7
+ import ExpirationReason from '../constants/ExpirationReason';
8
+ import LicenseKeyInvoiceSeverity from '../constants/LicenseKeyInvoiceSeverity';
9
+ type LicenceBusinessType = 'Premium' | 'Trial' | 'Free';
10
+ interface IApiRestrictionBase {
11
+ AvailableInEdition: Edition;
12
+ AvailableInFeature: Feature;
13
+ }
14
+ interface IApiRestrictionsClass {
15
+ Functionalities: (IApiRestrictionBase & {
16
+ Functionality: string;
17
+ CurrentLimit: number | null;
18
+ })[];
19
+ GlobalSettings: (IApiRestrictionBase & {
20
+ GlobalSettingName: string;
21
+ })[];
22
+ Modules: (IApiRestrictionBase & {
23
+ FolderName: TFolderName;
24
+ })[];
25
+ }
26
+ export interface IApiLicenseExpiration {
27
+ ExpiresOn: string;
28
+ Reason: ExpirationReason;
29
+ IsLicenseKeyExpiredAndSystemLocked: boolean;
30
+ IsLicenseKeyInExpireTimePeriod: boolean;
31
+ IsLicenseKeyInSilentExpireTimePeriod: boolean;
32
+ NumberOfDaysToLockSystem: number | null;
33
+ }
34
+ export interface IApiCurrentUserLicenseInfo {
35
+ ReceivesAdminLicenseNotifications: boolean;
36
+ ReceivesBillingLicenseNotifications: boolean;
37
+ }
38
+ interface IApiLicenseKeyInvoices {
39
+ UnpaidInvoices: IApiLicenseKeyInvoice[] | null;
40
+ BillingEmails: string[] | null;
41
+ }
42
+ export interface IApiLicenseKeyInvoice {
43
+ Name: string;
44
+ Url: string;
45
+ DueDate: string;
46
+ Severity: LicenseKeyInvoiceSeverity;
47
+ }
48
+ export interface IApiLicense {
49
+ AvailableBundles: (IApiCapacityAvailableBundle & {
50
+ Name: ITranslatableString;
51
+ })[];
52
+ BusinessType: LicenceBusinessType;
53
+ Features: TFeatureWithEdition[] | null;
54
+ CurrentUserRestrictions: IApiRestrictionsClass;
55
+ Restrictions: IApiRestrictionsClass;
56
+ CurrentUserLicenseInfo: IApiCurrentUserLicenseInfo;
57
+ Expiration: IApiLicenseExpiration | null;
58
+ Invoices: IApiLicenseKeyInvoices | null;
59
+ GeneratedDate: string;
60
+ DbSize: IApiLicenseDbSizeModel;
61
+ }
62
+ export interface IApiLicenseDbSizeModel {
63
+ IsFull: boolean;
64
+ }
65
+ export {};
@@ -0,0 +1,6 @@
1
+ export interface IApiLicenseBundleBase {
2
+ Code: string;
3
+ ContainsOutlook: boolean;
4
+ ContainsWeb: boolean;
5
+ ContainsMobile: boolean;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { IApiCapacityAvailableBundle } from "./IApiCapacityAvailableBundle";
2
+ export interface IApiLocalizedLicenseBundle extends IApiCapacityAvailableBundle {
3
+ Name: string;
4
+ }
@@ -0,0 +1,8 @@
1
+ import { IApiResult } from './IApiResult';
2
+ export interface IApiLoginResponse extends IApiResult {
3
+ SessionId: string | null;
4
+ UserItemGuid: string | null;
5
+ IsAdmin: boolean | null;
6
+ WcfVersion: string;
7
+ Debug?: boolean;
8
+ }
@@ -0,0 +1,32 @@
1
+ import { IApiItemBase } from './IApiItemBase';
2
+ export interface IApiMarketingCampaign extends IApiItemBase {
3
+ ID: number | null;
4
+ TypeEn: string | null;
5
+ StateEn: string | null;
6
+ EstimatedStart: string | null;
7
+ EstimatedEnd: string | null;
8
+ Budget: number | null;
9
+ EstimatedResponses: number | null;
10
+ EstimatedRevenues: number | null;
11
+ RealStart: string | null;
12
+ RealEnd: string | null;
13
+ Expenses: number | null;
14
+ FinalResponses: number | null;
15
+ FinalRevenues: number | null;
16
+ Note: string | null;
17
+ PrevStateEn: string | null;
18
+ EmailCampaignHash: string | null;
19
+ PeopleUnsubscribed: number | null;
20
+ TargetGroup: number | null;
21
+ EmailsSent: number | null;
22
+ EmailsDelivered: number | null;
23
+ EmailsViewed: number | null;
24
+ EmailCampaignContactListChanged: boolean | null;
25
+ EmailsMarkedAsSpam: number | null;
26
+ EmailCampaignEmailSent: string | null;
27
+ LastResponsesDownloadTime: string | null;
28
+ ResponsesDownloadCount: number | null;
29
+ Picture: string | null;
30
+ PictureWidth: number | null;
31
+ PictureHeight: number | null;
32
+ }
@@ -0,0 +1,17 @@
1
+ import { IApiItemBase } from './IApiItemBase';
2
+ export interface IApiMarketingList extends IApiItemBase {
3
+ Contact: string | null;
4
+ Company: string | null;
5
+ Email1Address: string | null;
6
+ Phone: string | null;
7
+ MarketingCampaignGuid: string | null;
8
+ AddressStreet: string | null;
9
+ AddressPostalCode: string | null;
10
+ AddressCity: string | null;
11
+ FolderName: string | null;
12
+ FirstName: string | null;
13
+ LastName: string | null;
14
+ LeadGuid: string | null;
15
+ ContactGuid: string | null;
16
+ CompanyGuid: string | null;
17
+ }
@@ -0,0 +1,14 @@
1
+ import { IApiItemBase } from "./IApiItemBase";
2
+ export type TApiModulePermissionOptions = 'All' | 'Inherited' | 'Group' | 'Related' | 'Own' | 'None';
3
+ export interface IApiModulePermission extends IApiItemBase {
4
+ CanCreate: boolean;
5
+ CanExport: boolean;
6
+ CanSeeHistory: boolean;
7
+ View: TApiModulePermissionOptions;
8
+ Edit: TApiModulePermissionOptions;
9
+ Delete: TApiModulePermissionOptions;
10
+ RowsRestriction: number | null;
11
+ FolderName: string;
12
+ GroupGuid: string;
13
+ IsSystem: boolean;
14
+ }
@@ -0,0 +1,9 @@
1
+ import { IApiItemBase } from "./IApiItemBase";
2
+ export interface IApiObjectType extends IApiItemBase {
3
+ FolderName: string;
4
+ IsCustomizable: boolean;
5
+ IsModule: boolean;
6
+ IsActive: boolean;
7
+ IsLinkable: boolean;
8
+ ContainsAnyPermittableColumn: boolean;
9
+ }
@@ -0,0 +1,5 @@
1
+ export interface IApiPasswordStrength {
2
+ IsAdmissible: boolean;
3
+ Score: number;
4
+ Username: string;
5
+ }
@@ -0,0 +1,9 @@
1
+ import { IApiItemBase } from './IApiItemBase';
2
+ export interface IApiPayment extends IApiItemBase {
3
+ Date: string | null;
4
+ Paid: number | null;
5
+ PaidDefaultCurrency: number | null;
6
+ PaidParentCurrency: number | null;
7
+ CurrencyEn: string | null;
8
+ Carts_Paid_CartGuid: string | null;
9
+ }
@@ -0,0 +1,59 @@
1
+ import { IApiItemBase } from './IApiItemBase';
2
+ export interface IApiProject extends IApiItemBase {
3
+ Note: string | null;
4
+ Price: number | null;
5
+ ProjectEnd: string | null;
6
+ ProjectName: string | null;
7
+ TypeEn: string | null;
8
+ StateEn: string | null;
9
+ PeopleExpenses: number | null;
10
+ ProjectRealEnd: string | null;
11
+ EstimatedPrice: number | null;
12
+ HID: number | null;
13
+ ProjectOriginEn: string | null;
14
+ PaymentTypeEn: string | null;
15
+ OtherExpenses: number | null;
16
+ Margin: number | null;
17
+ Profit: number | null;
18
+ PaymentMaturity: number | null;
19
+ InvoicePaymentDate: string | null;
20
+ InvoiceIssueDate: string | null;
21
+ EstimatedMargin: number | null;
22
+ EstimatedProfit: number | null;
23
+ EstimatedPeopleExpenses: number | null;
24
+ EstimatedOtherExpenses: number | null;
25
+ LicensesCount: number | null;
26
+ LicensePrice: number | null;
27
+ PrevStateEn: string | null;
28
+ ShowInCaplan: boolean | null;
29
+ ProjectStart: string | null;
30
+ EstimatedWorkHours: number | null;
31
+ TotalWorkHours: number | null;
32
+ EstimatedPeopleExpensesDefaultCurrency: number | null;
33
+ EstimatedOtherExpensesDefaultCurrency: number | null;
34
+ EstimatedPriceDefaultCurrency: number | null;
35
+ PeopleExpensesDefaultCurrency: number | null;
36
+ OtherExpensesDefaultCurrency: number | null;
37
+ PriceDefaultCurrency: number | null;
38
+ ProfitDefaultCurrency: number | null;
39
+ EstimatedProfitDefaultCurrency: number | null;
40
+ CurrencyEn: string | null;
41
+ EstimatedPeopleExpensesChanged: string | null;
42
+ EstimatedOtherExpensesChanged: string | null;
43
+ OtherExpensesChanged: string | null;
44
+ EstimatedPriceChanged: string | null;
45
+ PriceChanged: string | null;
46
+ LicensePriceChanged: string | null;
47
+ LicensePriceDefaultCurrency: number | null;
48
+ LastActivity: string | null;
49
+ NextStep: string | null;
50
+ PeopleExpensesChanged: string | null;
51
+ Picture: string | null;
52
+ PictureWidth: number | null;
53
+ PictureHeight: number | null;
54
+ Companies_CustomerGuid: string | null;
55
+ Contacts_ContactPersonGuid: string | null;
56
+ Leads_Project_OriginGuid: string | null;
57
+ Projects_SuperiorProjectGuid: string | null;
58
+ Users_SupervisorGuid: string | null;
59
+ }
@@ -0,0 +1,16 @@
1
+ import { IApiItemBase } from './IApiItemBase';
2
+ export interface IApiRecurrencePattern extends IApiItemBase {
3
+ TaskGuid: string | null;
4
+ RecurrenceType: number | null;
5
+ Interval: number | null;
6
+ Instance: number | null;
7
+ DayOfWeekMask: number | null;
8
+ DayOfMonth: number | null;
9
+ MonthOfYear: number | null;
10
+ Regenerate: boolean | null;
11
+ NoEndDate: boolean | null;
12
+ Occurrences: number | null;
13
+ PatternStartDate: string | null;
14
+ PatternEndDate: string | null;
15
+ EndKind: number | null;
16
+ }
@@ -1,4 +1,4 @@
1
- export interface IApiResult {
2
- ReturnCode: string;
3
- Description: string;
4
- }
1
+ export interface IApiResult {
2
+ ReturnCode: string;
3
+ Description: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { IApiResult } from "./IApiResult";
2
+ export interface IApiSaveResponse extends IApiResult {
3
+ Guid: string;
4
+ }
@@ -0,0 +1,34 @@
1
+ import { IApiItemBase } from './IApiItemBase';
2
+ export interface IApiTask extends IApiItemBase {
3
+ Body: string | null;
4
+ IsCompleted: boolean | null;
5
+ DueDate: string | null;
6
+ PercentCompleteDecimal: number | null;
7
+ PrevStateEn: string | null;
8
+ StartDate: string | null;
9
+ StateEn: string | null;
10
+ Subject: string | null;
11
+ TypeEn: string | null;
12
+ Level: number | null;
13
+ RTFBody: string | null;
14
+ IsTeamTask: boolean | null;
15
+ ImportanceEn: string | null;
16
+ Sensitivity: number | null;
17
+ ActualWorkHours: number | null;
18
+ EstimatedWorkHours: number | null;
19
+ IsReminderSet: boolean | null;
20
+ ReminderDate: string | null;
21
+ CompletedDate: string | null;
22
+ Picture: string | null;
23
+ PictureWidth: number | null;
24
+ PictureHeight: number | null;
25
+ Leads_TaskParentGuid: string | null;
26
+ Projects_TaskParentGuid: string | null;
27
+ Tasks_TaskParentGuid: string | null;
28
+ Marketing_TaskParentGuid: string | null;
29
+ Companies_CompanyGuid: string | null;
30
+ Contacts_ContactGuid: string | null;
31
+ Users_TaskDelegatorGuid: string | null;
32
+ Users_TaskSolverGuid: string | null;
33
+ Tasks_TaskOriginGuid: string | null;
34
+ }
@@ -0,0 +1,22 @@
1
+ import { IApiItemBase } from "./IApiItemBase";
2
+ import { IApiLicenseBundleBase } from "./IApiLicenseBundleBase";
3
+ export interface IApiUser extends IApiItemBase {
4
+ Username: string;
5
+ FirstName: string | null;
6
+ LastName: string | null;
7
+ IsActive: boolean;
8
+ Email1Address: string | null;
9
+ Email2Address: string | null;
10
+ IsSystem: boolean;
11
+ IsApiUser: boolean;
12
+ Server_Password: string;
13
+ Server_LicensingBundlesList: IApiLicenseBundleBase[] | null;
14
+ Server_ForcePasswordChange: boolean;
15
+ Users_SupervisorGuid: string | null;
16
+ ProfilePicture: string | null;
17
+ ProfilePictureWidth: number | null;
18
+ ProfilePictureHeight: number | null;
19
+ Server_IsAccountLocked: boolean;
20
+ Server_LastLogin: string | null;
21
+ Server_LastActivity: string | null;
22
+ }
@@ -0,0 +1,6 @@
1
+ import { IApiItemBase } from "./IApiItemBase";
2
+ export interface IApiUserSetting extends IApiItemBase {
3
+ Name: string;
4
+ Value: string | null;
5
+ Path: string;
6
+ }
@@ -0,0 +1,10 @@
1
+ export interface IApiWebServiceTaskStatus {
2
+ TaskGuid: string;
3
+ IsRunning: boolean;
4
+ FinishedSuccessfully: boolean;
5
+ CurrentIndex: number;
6
+ LastIndex: number;
7
+ ProgressDetail: string;
8
+ Parameters: string;
9
+ AdditionalData: string;
10
+ }
@@ -0,0 +1,36 @@
1
+ import { IApiItemBase } from './IApiItemBase';
2
+ export interface IApiWorkReport extends IApiItemBase {
3
+ Subject: string | null;
4
+ From: string | null;
5
+ To: string | null;
6
+ Date: string | null;
7
+ FromTime: string | null;
8
+ ToTime: string | null;
9
+ Duration: number | null;
10
+ Note: string | null;
11
+ Rate: number | null;
12
+ TypeEn: string | null;
13
+ ImportanceEn: string | null;
14
+ DayTypeEn: string | null;
15
+ Overtime: boolean | null;
16
+ CalendarOrigin: string | null;
17
+ Year: number | null;
18
+ Month: number | null;
19
+ CalendarEntryId: string | null;
20
+ RateDefaultCurrency: number | null;
21
+ RateParentCurrency: number | null;
22
+ CurrencyEn: string | null;
23
+ StateEn: string | null;
24
+ PrevStateEn: string | null;
25
+ RateAdditional: number | null;
26
+ RateAdditionalDefaultCurrency: number | null;
27
+ RateAdditionalParentCurrency: number | null;
28
+ Leads_LeadGuid: string | null;
29
+ Picture: string | null;
30
+ PictureWidth: number | null;
31
+ PictureHeight: number | null;
32
+ Users_PersonGuid: string | null;
33
+ Tasks_TaskGuid: string | null;
34
+ Leads_ProjectGuid: string | null;
35
+ Projects_ProjectGuid: string | null;
36
+ }
@@ -0,0 +1,21 @@
1
+ import { IApiItemBase } from './IApiItemBase';
2
+ import { IApiEvent } from './workflowActions/IApiAction';
3
+ export interface IApiWorkflowActionDerivedItem extends IApiItemBase {
4
+ PerformsLockItemAction: boolean | null;
5
+ PerformsAreEqualAction: boolean | null;
6
+ PerformsCheckRelationPresenceAction: boolean | null;
7
+ PerformsWriteJournalAction: boolean | null;
8
+ PerformsSetOwnerAction: boolean | null;
9
+ PerformsSetFieldValueAction: boolean | null;
10
+ PerformsCreateTaskAction: boolean | null;
11
+ PerformsCreateRelationAction: boolean | null;
12
+ PerformsSendEmailAction: boolean | null;
13
+ SetOwnerActionMessage: string | null;
14
+ WriteJournalActionTitle: string | null;
15
+ WriteJournalActionTypeEn: string | null;
16
+ WriteJournalActionImportanceEn: string | null;
17
+ WriteJournalActionMessage: string | null;
18
+ AllActionEvents: IApiEvent[] | null;
19
+ ActionItemGuid: string | null;
20
+ ActionXml: string | null;
21
+ }
@@ -0,0 +1,8 @@
1
+ import { IApiItemBase } from "./IApiItemBase";
2
+ export interface IApiWorkflowModel extends IApiItemBase {
3
+ EnumTypeGuid: string;
4
+ IsSystem: boolean;
5
+ ParentEn: string | null;
6
+ IsUsingFlows: boolean;
7
+ AllowEditItems: boolean;
8
+ }
@@ -0,0 +1,42 @@
1
+ import { TFolderName } from '../../constants/FolderNames';
2
+ interface IApiQueryMainTableSource {
3
+ __type: 'MainTable:#EQ';
4
+ }
5
+ interface IApiQueryJoinTableSource {
6
+ __type: 'Join:#EQ';
7
+ ItemType: TFolderName;
8
+ Key: IApiQueryColumn;
9
+ }
10
+ interface IApiQueryRelationSource {
11
+ __type: 'Relation:#EQ';
12
+ Direction: 1 | 2;
13
+ ItemTypes: TFolderName[];
14
+ RelationType: string;
15
+ }
16
+ interface IApiQueryField {
17
+ Source: IApiQueryMainTableSource | IApiQueryJoinTableSource | IApiQueryRelationSource;
18
+ Alias?: string;
19
+ }
20
+ export type TApiQueryField = IApiQueryColumn | IApiQuerySubstituableColumn | IApiQueryVariatedColumn | IApiQueryToken;
21
+ export interface IApiQueryColumn extends IApiQueryField {
22
+ __type: 'Column:#EQ';
23
+ Name: string;
24
+ Transformation?: string;
25
+ }
26
+ export interface IApiQuerySubstituableColumn extends Omit<IApiQueryColumn, '__type'> {
27
+ __type: 'SubstituableColumn:#EQ';
28
+ Substitute: TApiQueryField;
29
+ }
30
+ export interface IApiQueryColumnVariation {
31
+ FolderName: TFolderName;
32
+ Field: IApiQueryColumn;
33
+ }
34
+ export interface IApiQueryVariatedColumn extends IApiQueryField {
35
+ __type: 'VariatedColumn:#EQ';
36
+ Variations: IApiQueryColumnVariation[];
37
+ }
38
+ export interface IApiQueryToken extends IApiQueryField {
39
+ __type: 'Token:#EQ';
40
+ TypeName: 'ItemType';
41
+ }
42
+ export {};