@evergis/api 4.1.27 → 4.1.29

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.js CHANGED
@@ -947,20 +947,6 @@ class ExternalProvidersService extends Service {
947
947
  vkLogin() {
948
948
  return this.http.createUrl(`/account/external/login/vk`);
949
949
  }
950
- /**
951
- * No description
952
- *
953
- * @tags ExternalProviders
954
- * @name VkLoginOld
955
- * @operationId ExternalProvidersController_VkLoginOld
956
- * @summary The external login by vk.
957
- * @request GET:/account/external/login/vk-old
958
- * @secure
959
- * @response `200` OK
960
- */
961
- vkLoginOld() {
962
- return this.http.get(`/account/external/login/vk-old`).then(() => { });
963
- }
964
950
  /**
965
951
  * No description
966
952
  *
@@ -1031,20 +1017,6 @@ class ExternalProvidersService extends Service {
1031
1017
  unbindVk() {
1032
1018
  return this.http.delete(`/account/external/unbind/vk`, null).then(() => { });
1033
1019
  }
1034
- /**
1035
- * No description
1036
- *
1037
- * @tags ExternalProviders
1038
- * @name UnbindVkOld
1039
- * @operationId ExternalProvidersController_UnbindVkOld
1040
- * @summary Unbind external login from current user account (vk).
1041
- * @request DELETE:/account/external/unbind/vk-old
1042
- * @secure
1043
- * @response `200` OK
1044
- */
1045
- unbindVkOld() {
1046
- return this.http.delete(`/account/external/unbind/vk-old`, null).then(() => { });
1047
- }
1048
1020
  /**
1049
1021
  * No description
1050
1022
  *
@@ -1070,8 +1042,8 @@ class ExternalProvidersService extends Service {
1070
1042
  * @secure
1071
1043
  * @response `200` OK
1072
1044
  */
1073
- bindFacebook() {
1074
- return this.http.createUrl(`/account/external/bind/facebook`);
1045
+ bindFacebook(query) {
1046
+ return this.http.createUrl(`/account/external/bind/facebook`, query);
1075
1047
  }
1076
1048
  /**
1077
1049
  * No description
@@ -1084,8 +1056,8 @@ class ExternalProvidersService extends Service {
1084
1056
  * @secure
1085
1057
  * @response `200` OK
1086
1058
  */
1087
- bindGoogle() {
1088
- return this.http.createUrl(`/account/external/bind/google`);
1059
+ bindGoogle(query) {
1060
+ return this.http.createUrl(`/account/external/bind/google`, query);
1089
1061
  }
1090
1062
  /**
1091
1063
  * No description
@@ -1098,22 +1070,8 @@ class ExternalProvidersService extends Service {
1098
1070
  * @secure
1099
1071
  * @response `200` OK
1100
1072
  */
1101
- bindVk() {
1102
- return this.http.createUrl(`/account/external/bind/vk`);
1103
- }
1104
- /**
1105
- * No description
1106
- *
1107
- * @tags ExternalProviders
1108
- * @name BindVkOld
1109
- * @operationId ExternalProvidersController_BindVkOld
1110
- * @summary Bind external login from current user account (vk).
1111
- * @request GET:/account/external/bind/vk-old
1112
- * @secure
1113
- * @response `200` OK
1114
- */
1115
- bindVkOld() {
1116
- return this.http.get(`/account/external/bind/vk-old`).then(() => { });
1073
+ bindVk(query) {
1074
+ return this.http.createUrl(`/account/external/bind/vk`, query);
1117
1075
  }
1118
1076
  /**
1119
1077
  * No description
@@ -1126,8 +1084,8 @@ class ExternalProvidersService extends Service {
1126
1084
  * @secure
1127
1085
  * @response `200` OK
1128
1086
  */
1129
- bindYandex() {
1130
- return this.http.createUrl(`/account/external/bind/yandex`);
1087
+ bindYandex(query) {
1088
+ return this.http.createUrl(`/account/external/bind/yandex`, query);
1131
1089
  }
1132
1090
  /**
1133
1091
  * No description
@@ -1140,8 +1098,8 @@ class ExternalProvidersService extends Service {
1140
1098
  * @secure
1141
1099
  * @response `200` OK
1142
1100
  */
1143
- bindCallback() {
1144
- return this.http.get(`/account/external/bind/callback`).then(() => { });
1101
+ bindCallback(query) {
1102
+ return this.http.get(`/account/external/bind/callback`, query).then(() => { });
1145
1103
  }
1146
1104
  }
1147
1105
 
@@ -1160,16 +1118,16 @@ class External extends ExternalProvidersService {
1160
1118
  return '';
1161
1119
  }
1162
1120
  }
1163
- bind(network) {
1121
+ bind(network, query) {
1164
1122
  switch (network) {
1165
1123
  case 'vk':
1166
- return this.bindVk();
1124
+ return this.bindVk(query);
1167
1125
  case 'google':
1168
- return this.bindGoogle();
1126
+ return this.bindGoogle(query);
1169
1127
  case 'facebook':
1170
- return this.bindFacebook();
1128
+ return this.bindFacebook(query);
1171
1129
  case 'yandex':
1172
- return this.bindYandex();
1130
+ return this.bindYandex(query);
1173
1131
  default:
1174
1132
  return '';
1175
1133
  }
@@ -1511,6 +1469,20 @@ class EqlService extends Service {
1511
1469
  getQueryDependencies(data) {
1512
1470
  return this.http.post(`/eql/dependencies`, data).json();
1513
1471
  }
1472
+ /**
1473
+ * No description
1474
+ *
1475
+ * @tags Eql
1476
+ * @name GetQueryResourceReferences
1477
+ * @operationId EqlController_GetQueryResourceReferences
1478
+ * @summary Get EQL resource references.
1479
+ * @request POST:/eql/references
1480
+ * @secure
1481
+ * @response `200` OK
1482
+ */
1483
+ getQueryResourceReferences(data) {
1484
+ return this.http.post(`/eql/references`, data).json();
1485
+ }
1514
1486
  /**
1515
1487
  * No description
1516
1488
  *
@@ -1701,6 +1673,20 @@ class FeedbackService extends Service {
1701
1673
  increaseResourcesLimit(query) {
1702
1674
  return this.http.post(`/feedback/limits`, null, query).json();
1703
1675
  }
1676
+ /**
1677
+ * No description
1678
+ *
1679
+ * @tags Feedback
1680
+ * @name RequestFullAccess
1681
+ * @operationId FeedbackController_RequestFullAccess
1682
+ * @summary Request full access.
1683
+ * @request POST:/feedback/fullAccess
1684
+ * @secure
1685
+ * @response `200` OK
1686
+ */
1687
+ requestFullAccess() {
1688
+ return this.http.post(`/feedback/fullAccess`, null).then(() => { });
1689
+ }
1704
1690
  /**
1705
1691
  * No description
1706
1692
  *
@@ -1846,8 +1832,8 @@ class CatalogService extends Service {
1846
1832
  * @secure
1847
1833
  * @response `200` OK
1848
1834
  */
1849
- deleteResource(resourceId) {
1850
- return this.http.delete(`/resources/${resourceId}`, null).then(() => { });
1835
+ deleteResource({ resourceId, ...query }) {
1836
+ return this.http.delete(`/resources/${resourceId}`, null, query).then(() => { });
1851
1837
  }
1852
1838
  /**
1853
1839
  * No description