@getlatedev/node 0.2.1319 → 0.2.1321

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
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.1319",
39
+ version: "0.2.1321",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -1956,6 +1956,42 @@ var acceptConversationRequest = (options) => {
1956
1956
  url: "/v1/inbox/conversations/{conversationId}/accept"
1957
1957
  });
1958
1958
  };
1959
+ var listInboxLabels = (options) => {
1960
+ return (options?.client ?? client).get({
1961
+ ...options,
1962
+ url: "/v1/inbox/labels"
1963
+ });
1964
+ };
1965
+ var createInboxLabel = (options) => {
1966
+ return (options?.client ?? client).post({
1967
+ ...options,
1968
+ url: "/v1/inbox/labels"
1969
+ });
1970
+ };
1971
+ var deleteInboxLabel = (options) => {
1972
+ return (options?.client ?? client).delete({
1973
+ ...options,
1974
+ url: "/v1/inbox/labels/{labelId}"
1975
+ });
1976
+ };
1977
+ var listConversationLabels = (options) => {
1978
+ return (options?.client ?? client).get({
1979
+ ...options,
1980
+ url: "/v1/inbox/conversations/{conversationId}/labels"
1981
+ });
1982
+ };
1983
+ var addConversationLabel = (options) => {
1984
+ return (options?.client ?? client).post({
1985
+ ...options,
1986
+ url: "/v1/inbox/conversations/{conversationId}/labels"
1987
+ });
1988
+ };
1989
+ var removeConversationLabel = (options) => {
1990
+ return (options?.client ?? client).delete({
1991
+ ...options,
1992
+ url: "/v1/inbox/conversations/{conversationId}/labels/{labelId}"
1993
+ });
1994
+ };
1959
1995
  var markConversationRead = (options) => {
1960
1996
  return (options?.client ?? client).post({
1961
1997
  ...options,
@@ -7020,6 +7056,12 @@ var Zernio = class _Zernio {
7020
7056
  sendTypingIndicator: this._bind(sendTypingIndicator),
7021
7057
  setConversationThreadControl: this._bind(setConversationThreadControl),
7022
7058
  acceptConversationRequest: this._bind(acceptConversationRequest),
7059
+ listInboxLabels: this._bind(listInboxLabels),
7060
+ createInboxLabel: this._bind(createInboxLabel),
7061
+ deleteInboxLabel: this._bind(deleteInboxLabel),
7062
+ listConversationLabels: this._bind(listConversationLabels),
7063
+ addConversationLabel: this._bind(addConversationLabel),
7064
+ removeConversationLabel: this._bind(removeConversationLabel),
7023
7065
  markConversationRead: this._bind(markConversationRead),
7024
7066
  addMessageReaction: this._bind(addMessageReaction),
7025
7067
  removeMessageReaction: this._bind(removeMessageReaction),
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.1319",
8
+ version: "0.2.1321",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -1925,6 +1925,42 @@ var acceptConversationRequest = (options) => {
1925
1925
  url: "/v1/inbox/conversations/{conversationId}/accept"
1926
1926
  });
1927
1927
  };
1928
+ var listInboxLabels = (options) => {
1929
+ return (options?.client ?? client).get({
1930
+ ...options,
1931
+ url: "/v1/inbox/labels"
1932
+ });
1933
+ };
1934
+ var createInboxLabel = (options) => {
1935
+ return (options?.client ?? client).post({
1936
+ ...options,
1937
+ url: "/v1/inbox/labels"
1938
+ });
1939
+ };
1940
+ var deleteInboxLabel = (options) => {
1941
+ return (options?.client ?? client).delete({
1942
+ ...options,
1943
+ url: "/v1/inbox/labels/{labelId}"
1944
+ });
1945
+ };
1946
+ var listConversationLabels = (options) => {
1947
+ return (options?.client ?? client).get({
1948
+ ...options,
1949
+ url: "/v1/inbox/conversations/{conversationId}/labels"
1950
+ });
1951
+ };
1952
+ var addConversationLabel = (options) => {
1953
+ return (options?.client ?? client).post({
1954
+ ...options,
1955
+ url: "/v1/inbox/conversations/{conversationId}/labels"
1956
+ });
1957
+ };
1958
+ var removeConversationLabel = (options) => {
1959
+ return (options?.client ?? client).delete({
1960
+ ...options,
1961
+ url: "/v1/inbox/conversations/{conversationId}/labels/{labelId}"
1962
+ });
1963
+ };
1928
1964
  var markConversationRead = (options) => {
1929
1965
  return (options?.client ?? client).post({
1930
1966
  ...options,
@@ -6989,6 +7025,12 @@ var Zernio = class _Zernio {
6989
7025
  sendTypingIndicator: this._bind(sendTypingIndicator),
6990
7026
  setConversationThreadControl: this._bind(setConversationThreadControl),
6991
7027
  acceptConversationRequest: this._bind(acceptConversationRequest),
7028
+ listInboxLabels: this._bind(listInboxLabels),
7029
+ createInboxLabel: this._bind(createInboxLabel),
7030
+ deleteInboxLabel: this._bind(deleteInboxLabel),
7031
+ listConversationLabels: this._bind(listConversationLabels),
7032
+ addConversationLabel: this._bind(addConversationLabel),
7033
+ removeConversationLabel: this._bind(removeConversationLabel),
6992
7034
  markConversationRead: this._bind(markConversationRead),
6993
7035
  addMessageReaction: this._bind(addMessageReaction),
6994
7036
  removeMessageReaction: this._bind(removeMessageReaction),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1319",
3
+ "version": "0.2.1321",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/client.ts CHANGED
@@ -14,6 +14,7 @@ import {
14
14
  addCommerceDiscountCodes,
15
15
  addCommerceMarketingEngagement,
16
16
  addCommerceProductImages,
17
+ addConversationLabel,
17
18
  addConversionAssociations,
18
19
  addDiscordMemberRole,
19
20
  addImessageGroupParticipant,
@@ -134,6 +135,7 @@ import {
134
135
  createImessageGroup,
135
136
  createImessageOptInLink,
136
137
  createInboxConversation,
138
+ createInboxLabel,
137
139
  createInviteToken,
138
140
  createLeadForm,
139
141
  createMessagingAd,
@@ -222,6 +224,7 @@ import {
222
224
  deleteGoogleBusinessReviewReply,
223
225
  deleteInboxComment,
224
226
  deleteInboxConversation,
227
+ deleteInboxLabel,
225
228
  deleteInboxMessage,
226
229
  deleteInboxReviewReply,
227
230
  deleteInstagramIceBreakers,
@@ -614,6 +617,7 @@ import {
614
617
  listCommerceRedirects,
615
618
  listConnectedApps,
616
619
  listContacts,
620
+ listConversationLabels,
617
621
  listConversionActions,
618
622
  listConversionAssociations,
619
623
  listConversionDestinations,
@@ -642,6 +646,7 @@ import {
642
646
  listInboxComments,
643
647
  listInboxConversationAnalytics,
644
648
  listInboxConversations,
649
+ listInboxLabels,
645
650
  listInboxMentions,
646
651
  listInboxReviews,
647
652
  listInstagramLiveMedia,
@@ -750,6 +755,7 @@ import {
750
755
  removeBusinessAgentAllowlistEntry,
751
756
  removeCampaignAssets,
752
757
  removeCommerceProductImages,
758
+ removeConversationLabel,
753
759
  removeConversionAssociations,
754
760
  removeCustomConversionGoal,
755
761
  removeDiscordMemberRole,
@@ -1678,6 +1684,12 @@ export class Zernio {
1678
1684
  sendTypingIndicator: this._bind(sendTypingIndicator),
1679
1685
  setConversationThreadControl: this._bind(setConversationThreadControl),
1680
1686
  acceptConversationRequest: this._bind(acceptConversationRequest),
1687
+ listInboxLabels: this._bind(listInboxLabels),
1688
+ createInboxLabel: this._bind(createInboxLabel),
1689
+ deleteInboxLabel: this._bind(deleteInboxLabel),
1690
+ listConversationLabels: this._bind(listConversationLabels),
1691
+ addConversationLabel: this._bind(addConversationLabel),
1692
+ removeConversationLabel: this._bind(removeConversationLabel),
1681
1693
  markConversationRead: this._bind(markConversationRead),
1682
1694
  addMessageReaction: this._bind(addMessageReaction),
1683
1695
  removeMessageReaction: this._bind(removeMessageReaction),