@anuma/sdk 6.0.1 → 6.1.1

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.
@@ -44,8 +44,11 @@ __export(index_exports, {
44
44
  getApiV1AdminAppsById: () => getApiV1AdminAppsById,
45
45
  getApiV1AdminBotStatus: () => getApiV1AdminBotStatus,
46
46
  getApiV1AdminConnectors: () => getApiV1AdminConnectors,
47
+ getApiV1AdminNotificationsCampaigns: () => getApiV1AdminNotificationsCampaigns,
48
+ getApiV1AdminNotificationsCampaignsByCampaignId: () => getApiV1AdminNotificationsCampaignsByCampaignId,
47
49
  getApiV1AdminOauthClients: () => getApiV1AdminOauthClients,
48
50
  getApiV1AdminOauthClientsByClientId: () => getApiV1AdminOauthClientsByClientId,
51
+ getApiV1AdminPhoneHashesAudit: () => getApiV1AdminPhoneHashesAudit,
49
52
  getApiV1AdminPrivyIdentifiersAudit: () => getApiV1AdminPrivyIdentifiersAudit,
50
53
  getApiV1AdminUsersLookup: () => getApiV1AdminUsersLookup,
51
54
  getApiV1AgentPreferences: () => getApiV1AgentPreferences,
@@ -100,6 +103,7 @@ __export(index_exports, {
100
103
  getOauthAuthorize: () => getOauthAuthorize,
101
104
  getOauthConsent: () => getOauthConsent,
102
105
  getWellKnownJwksJson: () => getWellKnownJwksJson,
106
+ patchApiV1AdminNotificationsCampaignsByCampaignId: () => patchApiV1AdminNotificationsCampaignsByCampaignId,
103
107
  patchApiV1AdminOauthClientsByClientId: () => patchApiV1AdminOauthClientsByClientId,
104
108
  patchApiV1DeveloperAppsByAppUuid: () => patchApiV1DeveloperAppsByAppUuid,
105
109
  patchApiV1DeveloperAppsByAppUuidUsersByAddress: () => patchApiV1DeveloperAppsByAppUuidUsersByAddress,
@@ -111,9 +115,12 @@ __export(index_exports, {
111
115
  postApiV1AdminBotPollerStart: () => postApiV1AdminBotPollerStart,
112
116
  postApiV1AdminBotPollerStop: () => postApiV1AdminBotPollerStop,
113
117
  postApiV1AdminNotificationsAnnounceModel: () => postApiV1AdminNotificationsAnnounceModel,
118
+ postApiV1AdminNotificationsCampaigns: () => postApiV1AdminNotificationsCampaigns,
119
+ postApiV1AdminNotificationsCampaignsByCampaignIdCancel: () => postApiV1AdminNotificationsCampaignsByCampaignIdCancel,
114
120
  postApiV1AdminNotificationsSend: () => postApiV1AdminNotificationsSend,
115
121
  postApiV1AdminOauthClients: () => postApiV1AdminOauthClients,
116
122
  postApiV1AdminPersonas: () => postApiV1AdminPersonas,
123
+ postApiV1AdminPhoneHashesBackfill: () => postApiV1AdminPhoneHashesBackfill,
117
124
  postApiV1AdminPrivyDevWipe: () => postApiV1AdminPrivyDevWipe,
118
125
  postApiV1AdminPrivyIdentifiersMigrate: () => postApiV1AdminPrivyIdentifiersMigrate,
119
126
  postApiV1AdminSeedApps: () => postApiV1AdminSeedApps,
@@ -174,6 +181,7 @@ __export(index_exports, {
174
181
  postAuthOauthByProviderExchange: () => postAuthOauthByProviderExchange,
175
182
  postAuthOauthByProviderRefresh: () => postAuthOauthByProviderRefresh,
176
183
  postAuthOauthByProviderRevoke: () => postAuthOauthByProviderRevoke,
184
+ postInternalAccountsByPhoneHashes: () => postInternalAccountsByPhoneHashes,
177
185
  postInternalComplete: () => postInternalComplete,
178
186
  postInternalEmbeddings: () => postInternalEmbeddings,
179
187
  postInternalModerate: () => postInternalModerate,
@@ -1108,6 +1116,25 @@ var postApiV1AdminNotificationsAnnounceModel = (options) => (options.client ?? c
1108
1116
  ...options.headers
1109
1117
  }
1110
1118
  });
1119
+ var getApiV1AdminNotificationsCampaigns = (options) => (options.client ?? client).get({ url: "/api/v1/admin/notifications/campaigns", ...options });
1120
+ var postApiV1AdminNotificationsCampaigns = (options) => (options.client ?? client).post({
1121
+ url: "/api/v1/admin/notifications/campaigns",
1122
+ ...options,
1123
+ headers: {
1124
+ "Content-Type": "application/json",
1125
+ ...options.headers
1126
+ }
1127
+ });
1128
+ var getApiV1AdminNotificationsCampaignsByCampaignId = (options) => (options.client ?? client).get({ url: "/api/v1/admin/notifications/campaigns/{campaign_id}", ...options });
1129
+ var patchApiV1AdminNotificationsCampaignsByCampaignId = (options) => (options.client ?? client).patch({
1130
+ url: "/api/v1/admin/notifications/campaigns/{campaign_id}",
1131
+ ...options,
1132
+ headers: {
1133
+ "Content-Type": "application/json",
1134
+ ...options.headers
1135
+ }
1136
+ });
1137
+ var postApiV1AdminNotificationsCampaignsByCampaignIdCancel = (options) => (options.client ?? client).post({ url: "/api/v1/admin/notifications/campaigns/{campaign_id}/cancel", ...options });
1111
1138
  var postApiV1AdminNotificationsSend = (options) => (options.client ?? client).post({
1112
1139
  url: "/api/v1/admin/notifications/send",
1113
1140
  ...options,
@@ -1152,6 +1179,8 @@ var putApiV1AdminPersonasById = (options) => (options.client ?? client).put({
1152
1179
  ...options.headers
1153
1180
  }
1154
1181
  });
1182
+ var getApiV1AdminPhoneHashesAudit = (options) => (options.client ?? client).get({ url: "/api/v1/admin/phone-hashes/audit", ...options });
1183
+ var postApiV1AdminPhoneHashesBackfill = (options) => (options.client ?? client).post({ url: "/api/v1/admin/phone-hashes/backfill", ...options });
1155
1184
  var postApiV1AdminPrivyDevWipe = (options) => (options.client ?? client).post({
1156
1185
  url: "/api/v1/admin/privy-dev/wipe",
1157
1186
  ...options,
@@ -1674,6 +1703,14 @@ var getConnectorsByProviderCallback = (options) => (options.client ?? client).ge
1674
1703
  var getConnectorsByProviderConnect = (options) => (options.client ?? client).get({ url: "/connectors/{provider}/connect", ...options });
1675
1704
  var getHealth = (options) => (options?.client ?? client).get({ url: "/health", ...options });
1676
1705
  var getInternalAccountsByDidByDid = (options) => (options.client ?? client).get({ url: "/internal/accounts/by-did/{did}", ...options });
1706
+ var postInternalAccountsByPhoneHashes = (options) => (options.client ?? client).post({
1707
+ url: "/internal/accounts/by-phone-hashes",
1708
+ ...options,
1709
+ headers: {
1710
+ "Content-Type": "application/json",
1711
+ ...options.headers
1712
+ }
1713
+ });
1677
1714
  var postInternalComplete = (options) => (options.client ?? client).post({
1678
1715
  url: "/internal/complete",
1679
1716
  ...options,
@@ -1753,8 +1790,11 @@ var postOauthToken = (options) => (options?.client ?? client).post({
1753
1790
  getApiV1AdminAppsById,
1754
1791
  getApiV1AdminBotStatus,
1755
1792
  getApiV1AdminConnectors,
1793
+ getApiV1AdminNotificationsCampaigns,
1794
+ getApiV1AdminNotificationsCampaignsByCampaignId,
1756
1795
  getApiV1AdminOauthClients,
1757
1796
  getApiV1AdminOauthClientsByClientId,
1797
+ getApiV1AdminPhoneHashesAudit,
1758
1798
  getApiV1AdminPrivyIdentifiersAudit,
1759
1799
  getApiV1AdminUsersLookup,
1760
1800
  getApiV1AgentPreferences,
@@ -1809,6 +1849,7 @@ var postOauthToken = (options) => (options?.client ?? client).post({
1809
1849
  getOauthAuthorize,
1810
1850
  getOauthConsent,
1811
1851
  getWellKnownJwksJson,
1852
+ patchApiV1AdminNotificationsCampaignsByCampaignId,
1812
1853
  patchApiV1AdminOauthClientsByClientId,
1813
1854
  patchApiV1DeveloperAppsByAppUuid,
1814
1855
  patchApiV1DeveloperAppsByAppUuidUsersByAddress,
@@ -1820,9 +1861,12 @@ var postOauthToken = (options) => (options?.client ?? client).post({
1820
1861
  postApiV1AdminBotPollerStart,
1821
1862
  postApiV1AdminBotPollerStop,
1822
1863
  postApiV1AdminNotificationsAnnounceModel,
1864
+ postApiV1AdminNotificationsCampaigns,
1865
+ postApiV1AdminNotificationsCampaignsByCampaignIdCancel,
1823
1866
  postApiV1AdminNotificationsSend,
1824
1867
  postApiV1AdminOauthClients,
1825
1868
  postApiV1AdminPersonas,
1869
+ postApiV1AdminPhoneHashesBackfill,
1826
1870
  postApiV1AdminPrivyDevWipe,
1827
1871
  postApiV1AdminPrivyIdentifiersMigrate,
1828
1872
  postApiV1AdminSeedApps,
@@ -1883,6 +1927,7 @@ var postOauthToken = (options) => (options?.client ?? client).post({
1883
1927
  postAuthOauthByProviderExchange,
1884
1928
  postAuthOauthByProviderRefresh,
1885
1929
  postAuthOauthByProviderRevoke,
1930
+ postInternalAccountsByPhoneHashes,
1886
1931
  postInternalComplete,
1887
1932
  postInternalEmbeddings,
1888
1933
  postInternalModerate,