@whiplashmerch/whiplash-api-client 0.4.27 → 0.4.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/client.esm.js
CHANGED
|
@@ -1907,7 +1907,7 @@ const getApiV21NotificationEventsId = (client, id, params = {}) => {
|
|
|
1907
1907
|
|
|
1908
1908
|
/* eslint-disable */
|
|
1909
1909
|
/**
|
|
1910
|
-
* @description Subscribe to an e-mail,
|
|
1910
|
+
* @description Subscribe to an e-mail, webhook, or Slack notification for a specified event
|
|
1911
1911
|
*
|
|
1912
1912
|
* @tags notifications
|
|
1913
1913
|
* @name PostApiV2NotificationSubscriptions
|
|
@@ -1925,7 +1925,7 @@ const postApiV2NotificationSubscriptions = (client, ApiV2NotificationSubscriptio
|
|
|
1925
1925
|
});
|
|
1926
1926
|
};
|
|
1927
1927
|
/**
|
|
1928
|
-
* @description E-mail,
|
|
1928
|
+
* @description E-mail, webhook, and Slack notifications you have subscribed to
|
|
1929
1929
|
*
|
|
1930
1930
|
* @tags notifications
|
|
1931
1931
|
* @name GetApiV2NotificationSubscriptions
|
|
@@ -1959,7 +1959,7 @@ const getApiV2NotificationSubscriptionsCount = (client, query, params = {}) => {
|
|
|
1959
1959
|
});
|
|
1960
1960
|
};
|
|
1961
1961
|
/**
|
|
1962
|
-
* @description Send yourself a test e-mail,
|
|
1962
|
+
* @description Send yourself a test e-mail, webhook, or Slack notification
|
|
1963
1963
|
*
|
|
1964
1964
|
* @tags notifications
|
|
1965
1965
|
* @name GetApiV2NotificationSubscriptionsIdTest
|
|
@@ -2024,7 +2024,7 @@ const getApiV2NotificationSubscriptionsId = (client, id, params = {}) => {
|
|
|
2024
2024
|
});
|
|
2025
2025
|
};
|
|
2026
2026
|
/**
|
|
2027
|
-
* @description Subscribe to an e-mail,
|
|
2027
|
+
* @description Subscribe to an e-mail, webhook, or Slack notification for a specified event
|
|
2028
2028
|
*
|
|
2029
2029
|
* @tags notifications
|
|
2030
2030
|
* @name PostApiV21NotificationSubscriptions
|
|
@@ -2042,7 +2042,7 @@ const postApiV21NotificationSubscriptions = (client, ApiV21NotificationSubscript
|
|
|
2042
2042
|
});
|
|
2043
2043
|
};
|
|
2044
2044
|
/**
|
|
2045
|
-
* @description E-mail,
|
|
2045
|
+
* @description E-mail, webhook, and Slack notifications you have subscribed to
|
|
2046
2046
|
*
|
|
2047
2047
|
* @tags notifications
|
|
2048
2048
|
* @name GetApiV21NotificationSubscriptions
|
|
@@ -2076,7 +2076,7 @@ const getApiV21NotificationSubscriptionsCount = (client, query, params = {}) =>
|
|
|
2076
2076
|
});
|
|
2077
2077
|
};
|
|
2078
2078
|
/**
|
|
2079
|
-
* @description Send yourself a test e-mail,
|
|
2079
|
+
* @description Send yourself a test e-mail, webhook, or Slack notification
|
|
2080
2080
|
*
|
|
2081
2081
|
* @tags notifications
|
|
2082
2082
|
* @name GetApiV21NotificationSubscriptionsIdTest
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { APIV21EntitiesNotificationSubscription, APIV21EntitiesPostResponse, APIV2EntitiesCount, APIV2EntitiesNotificationSubscription, GetApiV21NotificationSubscriptionsCountParams, GetApiV21NotificationSubscriptionsParams, GetApiV2NotificationSubscriptionsCountParams, GetApiV2NotificationSubscriptionsParams, PostApiV21NotificationSubscriptions, PostApiV2NotificationSubscriptions, PutApiV21NotificationSubscriptions, PutApiV2NotificationSubscriptions } from "./data-contracts";
|
|
2
2
|
import { HttpClient, RequestParams } from "./http-client";
|
|
3
3
|
/**
|
|
4
|
-
* @description Subscribe to an e-mail,
|
|
4
|
+
* @description Subscribe to an e-mail, webhook, or Slack notification for a specified event
|
|
5
5
|
*
|
|
6
6
|
* @tags notifications
|
|
7
7
|
* @name PostApiV2NotificationSubscriptions
|
|
@@ -10,7 +10,7 @@ import { HttpClient, RequestParams } from "./http-client";
|
|
|
10
10
|
*/
|
|
11
11
|
export declare const postApiV2NotificationSubscriptions: (client: HttpClient, ApiV2NotificationSubscriptions: PostApiV2NotificationSubscriptions, params?: RequestParams) => Promise<APIV2EntitiesNotificationSubscription>;
|
|
12
12
|
/**
|
|
13
|
-
* @description E-mail,
|
|
13
|
+
* @description E-mail, webhook, and Slack notifications you have subscribed to
|
|
14
14
|
*
|
|
15
15
|
* @tags notifications
|
|
16
16
|
* @name GetApiV2NotificationSubscriptions
|
|
@@ -28,7 +28,7 @@ export declare const getApiV2NotificationSubscriptions: (client: HttpClient, que
|
|
|
28
28
|
*/
|
|
29
29
|
export declare const getApiV2NotificationSubscriptionsCount: (client: HttpClient, query: GetApiV2NotificationSubscriptionsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
30
30
|
/**
|
|
31
|
-
* @description Send yourself a test e-mail,
|
|
31
|
+
* @description Send yourself a test e-mail, webhook, or Slack notification
|
|
32
32
|
*
|
|
33
33
|
* @tags notifications
|
|
34
34
|
* @name GetApiV2NotificationSubscriptionsIdTest
|
|
@@ -64,7 +64,7 @@ export declare const putApiV2NotificationSubscriptionsId: (client: HttpClient, i
|
|
|
64
64
|
*/
|
|
65
65
|
export declare const getApiV2NotificationSubscriptionsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesNotificationSubscription>;
|
|
66
66
|
/**
|
|
67
|
-
* @description Subscribe to an e-mail,
|
|
67
|
+
* @description Subscribe to an e-mail, webhook, or Slack notification for a specified event
|
|
68
68
|
*
|
|
69
69
|
* @tags notifications
|
|
70
70
|
* @name PostApiV21NotificationSubscriptions
|
|
@@ -73,7 +73,7 @@ export declare const getApiV2NotificationSubscriptionsId: (client: HttpClient, i
|
|
|
73
73
|
*/
|
|
74
74
|
export declare const postApiV21NotificationSubscriptions: (client: HttpClient, ApiV21NotificationSubscriptions: PostApiV21NotificationSubscriptions, params?: RequestParams) => Promise<APIV21EntitiesPostResponse>;
|
|
75
75
|
/**
|
|
76
|
-
* @description E-mail,
|
|
76
|
+
* @description E-mail, webhook, and Slack notifications you have subscribed to
|
|
77
77
|
*
|
|
78
78
|
* @tags notifications
|
|
79
79
|
* @name GetApiV21NotificationSubscriptions
|
|
@@ -91,7 +91,7 @@ export declare const getApiV21NotificationSubscriptions: (client: HttpClient, qu
|
|
|
91
91
|
*/
|
|
92
92
|
export declare const getApiV21NotificationSubscriptionsCount: (client: HttpClient, query: GetApiV21NotificationSubscriptionsCountParams, params?: RequestParams) => Promise<APIV2EntitiesCount>;
|
|
93
93
|
/**
|
|
94
|
-
* @description Send yourself a test e-mail,
|
|
94
|
+
* @description Send yourself a test e-mail, webhook, or Slack notification
|
|
95
95
|
*
|
|
96
96
|
* @tags notifications
|
|
97
97
|
* @name GetApiV21NotificationSubscriptionsIdTest
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
import { ContentType, HttpClient, RequestParams } from "./http-client";
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* @description Subscribe to an e-mail,
|
|
30
|
+
* @description Subscribe to an e-mail, webhook, or Slack notification for a specified event
|
|
31
31
|
*
|
|
32
32
|
* @tags notifications
|
|
33
33
|
* @name PostApiV2NotificationSubscriptions
|
|
@@ -49,7 +49,7 @@ export const postApiV2NotificationSubscriptions = (
|
|
|
49
49
|
});
|
|
50
50
|
};
|
|
51
51
|
/**
|
|
52
|
-
* @description E-mail,
|
|
52
|
+
* @description E-mail, webhook, and Slack notifications you have subscribed to
|
|
53
53
|
*
|
|
54
54
|
* @tags notifications
|
|
55
55
|
* @name GetApiV2NotificationSubscriptions
|
|
@@ -91,7 +91,7 @@ export const getApiV2NotificationSubscriptionsCount = (
|
|
|
91
91
|
});
|
|
92
92
|
};
|
|
93
93
|
/**
|
|
94
|
-
* @description Send yourself a test e-mail,
|
|
94
|
+
* @description Send yourself a test e-mail, webhook, or Slack notification
|
|
95
95
|
*
|
|
96
96
|
* @tags notifications
|
|
97
97
|
* @name GetApiV2NotificationSubscriptionsIdTest
|
|
@@ -161,7 +161,7 @@ export const getApiV2NotificationSubscriptionsId = (client: HttpClient, id: numb
|
|
|
161
161
|
});
|
|
162
162
|
};
|
|
163
163
|
/**
|
|
164
|
-
* @description Subscribe to an e-mail,
|
|
164
|
+
* @description Subscribe to an e-mail, webhook, or Slack notification for a specified event
|
|
165
165
|
*
|
|
166
166
|
* @tags notifications
|
|
167
167
|
* @name PostApiV21NotificationSubscriptions
|
|
@@ -183,7 +183,7 @@ export const postApiV21NotificationSubscriptions = (
|
|
|
183
183
|
});
|
|
184
184
|
};
|
|
185
185
|
/**
|
|
186
|
-
* @description E-mail,
|
|
186
|
+
* @description E-mail, webhook, and Slack notifications you have subscribed to
|
|
187
187
|
*
|
|
188
188
|
* @tags notifications
|
|
189
189
|
* @name GetApiV21NotificationSubscriptions
|
|
@@ -225,7 +225,7 @@ export const getApiV21NotificationSubscriptionsCount = (
|
|
|
225
225
|
});
|
|
226
226
|
};
|
|
227
227
|
/**
|
|
228
|
-
* @description Send yourself a test e-mail,
|
|
228
|
+
* @description Send yourself a test e-mail, webhook, or Slack notification
|
|
229
229
|
*
|
|
230
230
|
* @tags notifications
|
|
231
231
|
* @name GetApiV21NotificationSubscriptionsIdTest
|