@ai-matrx/api 0.0.0-stage → 0.1.0
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/CHANGELOG.md +15 -0
- package/LICENSE +21 -0
- package/README.md +18 -2
- package/dist/account.cjs +670 -0
- package/dist/account.d.cts +3246 -0
- package/dist/account.d.ts +3246 -0
- package/dist/account.js +558 -0
- package/dist/agents.cjs +598 -0
- package/dist/agents.d.cts +3417 -0
- package/dist/agents.d.ts +3417 -0
- package/dist/agents.js +497 -0
- package/dist/ai.cjs +109 -0
- package/dist/ai.d.cts +493 -0
- package/dist/ai.d.ts +493 -0
- package/dist/ai.js +91 -0
- package/dist/apps.cjs +394 -0
- package/dist/apps.d.cts +1094 -0
- package/dist/apps.d.ts +1094 -0
- package/dist/apps.js +328 -0
- package/dist/architecture.cjs +1223 -0
- package/dist/architecture.d.cts +4701 -0
- package/dist/architecture.d.ts +4701 -0
- package/dist/architecture.js +1016 -0
- package/dist/audio.cjs +226 -0
- package/dist/audio.d.cts +723 -0
- package/dist/audio.d.ts +723 -0
- package/dist/audio.js +188 -0
- package/dist/chat.cjs +538 -0
- package/dist/chat.d.cts +2251 -0
- package/dist/chat.d.ts +2251 -0
- package/dist/chat.js +447 -0
- package/dist/chunk-2SXAAKGV.cjs +279 -0
- package/dist/chunk-AY5N6EA4.js +43 -0
- package/dist/chunk-BMQI7UET.cjs +48 -0
- package/dist/chunk-FNIYADWI.cjs +59 -0
- package/dist/chunk-KIEAFMKB.js +264 -0
- package/dist/chunk-UONBYRE4.js +1012 -0
- package/dist/chunk-YTEOFGFC.js +57 -0
- package/dist/chunk-YUDQWDCM.cjs +1047 -0
- package/dist/code.cjs +561 -0
- package/dist/code.d.cts +1976 -0
- package/dist/code.d.ts +1976 -0
- package/dist/code.js +467 -0
- package/dist/commerce.cjs +22 -0
- package/dist/commerce.d.cts +45 -0
- package/dist/commerce.d.ts +45 -0
- package/dist/commerce.js +18 -0
- package/dist/communications.cjs +215 -0
- package/dist/communications.d.cts +948 -0
- package/dist/communications.d.ts +948 -0
- package/dist/communications.js +179 -0
- package/dist/computer.cjs +330 -0
- package/dist/computer.d.cts +733 -0
- package/dist/computer.d.ts +733 -0
- package/dist/computer.js +275 -0
- package/dist/content.cjs +425 -0
- package/dist/content.d.cts +1796 -0
- package/dist/content.d.ts +1796 -0
- package/dist/content.js +354 -0
- package/dist/credentials.cjs +22 -0
- package/dist/credentials.d.cts +82 -0
- package/dist/credentials.d.ts +82 -0
- package/dist/credentials.js +1 -0
- package/dist/crm.cjs +271 -0
- package/dist/crm.d.cts +1731 -0
- package/dist/crm.d.ts +1731 -0
- package/dist/crm.js +226 -0
- package/dist/data.cjs +382 -0
- package/dist/data.d.cts +1860 -0
- package/dist/data.d.ts +1860 -0
- package/dist/data.js +318 -0
- package/dist/education.cjs +28 -0
- package/dist/education.d.cts +73 -0
- package/dist/education.d.ts +73 -0
- package/dist/education.js +23 -0
- package/dist/files.cjs +1330 -0
- package/dist/files.d.cts +4956 -0
- package/dist/files.d.ts +4956 -0
- package/dist/files.js +1104 -0
- package/dist/human-resources.cjs +178 -0
- package/dist/human-resources.d.cts +1208 -0
- package/dist/human-resources.d.ts +1208 -0
- package/dist/human-resources.js +148 -0
- package/dist/index-C2E-Cp19.d.ts +385 -0
- package/dist/index-wC2vtb70.d.cts +385 -0
- package/dist/index.cjs +1934 -0
- package/dist/index.d.cts +2006 -0
- package/dist/index.d.ts +2006 -0
- package/dist/index.js +1668 -0
- package/dist/integrations.cjs +5116 -0
- package/dist/integrations.d.cts +19213 -0
- package/dist/integrations.d.ts +19213 -0
- package/dist/integrations.js +4263 -0
- package/dist/intelligence.cjs +1305 -0
- package/dist/intelligence.d.cts +4658 -0
- package/dist/intelligence.d.ts +4658 -0
- package/dist/intelligence.js +1196 -0
- package/dist/knowledge.cjs +1113 -0
- package/dist/knowledge.d.cts +5427 -0
- package/dist/knowledge.d.ts +5427 -0
- package/dist/knowledge.js +921 -0
- package/dist/legal.cjs +225 -0
- package/dist/legal.d.cts +1038 -0
- package/dist/legal.d.ts +1038 -0
- package/dist/legal.js +187 -0
- package/dist/marketing.cjs +1155 -0
- package/dist/marketing.d.cts +7741 -0
- package/dist/marketing.d.ts +7741 -0
- package/dist/marketing.js +951 -0
- package/dist/masterwork.cjs +283 -0
- package/dist/masterwork.d.cts +1938 -0
- package/dist/masterwork.d.ts +1938 -0
- package/dist/masterwork.js +231 -0
- package/dist/media.cjs +610 -0
- package/dist/media.d.cts +2270 -0
- package/dist/media.d.ts +2270 -0
- package/dist/media.js +507 -0
- package/dist/net.cjs +67 -0
- package/dist/net.d.cts +204 -0
- package/dist/net.d.ts +204 -0
- package/dist/net.js +2 -0
- package/dist/platform.cjs +150 -0
- package/dist/platform.d.cts +572 -0
- package/dist/platform.d.ts +572 -0
- package/dist/platform.js +125 -0
- package/dist/publish.cjs +248 -0
- package/dist/publish.d.cts +1431 -0
- package/dist/publish.d.ts +1431 -0
- package/dist/publish.js +206 -0
- package/dist/schemas.cjs +2 -0
- package/dist/schemas.d.cts +1353 -0
- package/dist/schemas.d.ts +1353 -0
- package/dist/schemas.js +1 -0
- package/dist/stream.cjs +44 -0
- package/dist/stream.d.cts +2 -0
- package/dist/stream.d.ts +2 -0
- package/dist/stream.js +3 -0
- package/dist/web.cjs +1045 -0
- package/dist/web.d.cts +4186 -0
- package/dist/web.d.ts +4186 -0
- package/dist/web.js +867 -0
- package/dist/workflows.cjs +825 -0
- package/dist/workflows.d.cts +4699 -0
- package/dist/workflows.d.ts +4699 -0
- package/dist/workflows.js +686 -0
- package/package.json +418 -4
package/dist/crm.cjs
ADDED
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkYUDQWDCM_cjs = require('./chunk-YUDQWDCM.cjs');
|
|
4
|
+
require('./chunk-2SXAAKGV.cjs');
|
|
5
|
+
require('./chunk-BMQI7UET.cjs');
|
|
6
|
+
|
|
7
|
+
// src/generated/crm.ts
|
|
8
|
+
var $listSendingIdentities = { m: "GET", p: "/sending-identities", d: "aidream", a: "user", o: "optional", n: "crm.list_sending_identities" };
|
|
9
|
+
function listSendingIdentities(api, args, options) {
|
|
10
|
+
return api.call($listSendingIdentities, args, options);
|
|
11
|
+
}
|
|
12
|
+
var $createSendingIdentity = { m: "POST", p: "/sending-identities", d: "aidream", a: "user", o: "required", n: "crm.create_sending_identity" };
|
|
13
|
+
function createSendingIdentity(api, args, options) {
|
|
14
|
+
return api.call($createSendingIdentity, args, options);
|
|
15
|
+
}
|
|
16
|
+
var $listConnectable = { m: "GET", p: "/sending-identities/connectable", d: "aidream", a: "user", o: "required", n: "crm.list_connectable" };
|
|
17
|
+
function listConnectable(api, args, options) {
|
|
18
|
+
return api.call($listConnectable, args, options);
|
|
19
|
+
}
|
|
20
|
+
var $getSendingPolicy = { m: "GET", p: "/sending-identities/policy", d: "aidream", a: "user", o: "required", n: "crm.get_sending_policy" };
|
|
21
|
+
function getSendingPolicy(api, args, options) {
|
|
22
|
+
return api.call($getSendingPolicy, args, options);
|
|
23
|
+
}
|
|
24
|
+
var $setSendingPolicy = { m: "POST", p: "/sending-identities/policy", d: "aidream", a: "user", o: "required", n: "crm.set_sending_policy" };
|
|
25
|
+
function setSendingPolicy(api, args, options) {
|
|
26
|
+
return api.call($setSendingPolicy, args, options);
|
|
27
|
+
}
|
|
28
|
+
var $getBringUpReadiness = { m: "GET", p: "/sending-identities/bring-up-readiness", d: "aidream", a: "user", o: "required", n: "crm.get_bring_up_readiness" };
|
|
29
|
+
function getBringUpReadiness(api, args, options) {
|
|
30
|
+
return api.call($getBringUpReadiness, args, options);
|
|
31
|
+
}
|
|
32
|
+
var $getSendingIdentity = { m: "GET", p: "/sending-identities/{identity_id}", d: "aidream", a: "user", o: "optional", n: "crm.get_sending_identity" };
|
|
33
|
+
function getSendingIdentity(api, args, options) {
|
|
34
|
+
return api.call($getSendingIdentity, args, options);
|
|
35
|
+
}
|
|
36
|
+
var $updateSendingIdentity = { m: "PATCH", p: "/sending-identities/{identity_id}", d: "aidream", a: "user", o: "required", n: "crm.update_sending_identity" };
|
|
37
|
+
function updateSendingIdentity(api, args, options) {
|
|
38
|
+
return api.call($updateSendingIdentity, args, options);
|
|
39
|
+
}
|
|
40
|
+
var $disableSendingIdentity = { m: "DELETE", p: "/sending-identities/{identity_id}", d: "aidream", a: "user", o: "required", n: "crm.disable_sending_identity" };
|
|
41
|
+
function disableSendingIdentity(api, args, options) {
|
|
42
|
+
return api.call($disableSendingIdentity, args, options);
|
|
43
|
+
}
|
|
44
|
+
var $checkDomain = { m: "POST", p: "/sending-identities/{identity_id}/check-domain", d: "aidream", a: "user", o: "required", n: "crm.check_domain" };
|
|
45
|
+
function checkDomain(api, args, options) {
|
|
46
|
+
return api.call($checkDomain, args, options);
|
|
47
|
+
}
|
|
48
|
+
var $checkAuthentication = { m: "POST", p: "/sending-identities/{identity_id}/check-authentication", d: "aidream", a: "user", o: "required", n: "crm.check_authentication" };
|
|
49
|
+
function checkAuthentication(api, args, options) {
|
|
50
|
+
return api.call($checkAuthentication, args, options);
|
|
51
|
+
}
|
|
52
|
+
var $startIdentityWarmup = { m: "POST", p: "/sending-identities/{identity_id}/start-warmup", d: "aidream", a: "user", o: "required", n: "crm.start_identity_warmup" };
|
|
53
|
+
function startIdentityWarmup(api, args, options) {
|
|
54
|
+
return api.call($startIdentityWarmup, args, options);
|
|
55
|
+
}
|
|
56
|
+
var $pauseSendingIdentity = { m: "POST", p: "/sending-identities/{identity_id}/pause", d: "aidream", a: "user", o: "required", n: "crm.pause_sending_identity" };
|
|
57
|
+
function pauseSendingIdentity(api, args, options) {
|
|
58
|
+
return api.call($pauseSendingIdentity, args, options);
|
|
59
|
+
}
|
|
60
|
+
var $resumeSendingIdentity = { m: "POST", p: "/sending-identities/{identity_id}/resume", d: "aidream", a: "user", o: "required", n: "crm.resume_sending_identity" };
|
|
61
|
+
function resumeSendingIdentity(api, args, options) {
|
|
62
|
+
return api.call($resumeSendingIdentity, args, options);
|
|
63
|
+
}
|
|
64
|
+
var $getReadiness = { m: "GET", p: "/sending-identities/{identity_id}/readiness", d: "aidream", a: "user", o: "optional", n: "crm.get_readiness" };
|
|
65
|
+
function getReadiness(api, args, options) {
|
|
66
|
+
return api.call($getReadiness, args, options);
|
|
67
|
+
}
|
|
68
|
+
var $listSendingEvents = { m: "GET", p: "/sending-identities/{identity_id}/events", d: "aidream", a: "user", o: "optional", n: "crm.list_sending_events" };
|
|
69
|
+
function listSendingEvents(api, args, options) {
|
|
70
|
+
return api.call($listSendingEvents, args, options);
|
|
71
|
+
}
|
|
72
|
+
var $refreshIdentityHealth = { m: "POST", p: "/sending-identities/{identity_id}/refresh-health", d: "aidream", a: "user", o: "required", n: "crm.refresh_identity_health" };
|
|
73
|
+
function refreshIdentityHealth(api, args, options) {
|
|
74
|
+
return api.call($refreshIdentityHealth, args, options);
|
|
75
|
+
}
|
|
76
|
+
var $listOutletContactCandidates = { m: "GET", p: "/crm/parties/{outlet_party_id}/contact-candidates", d: "aidream", a: "guest", o: "optional", n: "crm.list_outlet_contact_candidates" };
|
|
77
|
+
function listOutletContactCandidates(api, args, options) {
|
|
78
|
+
return api.call($listOutletContactCandidates, args, options);
|
|
79
|
+
}
|
|
80
|
+
var $confirmOutletContactCandidate = { m: "POST", p: "/crm/parties/{outlet_party_id}/contact-candidates/confirm", d: "aidream", a: "guest", o: "required", n: "crm.confirm_outlet_contact_candidate" };
|
|
81
|
+
function confirmOutletContactCandidate(api, args, options) {
|
|
82
|
+
return api.call($confirmOutletContactCandidate, args, options);
|
|
83
|
+
}
|
|
84
|
+
var $listPartyContactCandidates = { m: "GET", p: "/crm/parties/{party_id}/contacts", d: "aidream", a: "guest", o: "optional", n: "crm.list_party_contact_candidates" };
|
|
85
|
+
function listPartyContactCandidates(api, args, options) {
|
|
86
|
+
return api.call($listPartyContactCandidates, args, options);
|
|
87
|
+
}
|
|
88
|
+
var $findPartyContacts = { m: "POST", p: "/crm/parties/{party_id}/contacts/find", d: "aidream", a: "guest", o: "required", n: "crm.find_party_contacts" };
|
|
89
|
+
function findPartyContacts(api, args, options) {
|
|
90
|
+
return api.call($findPartyContacts, args, options);
|
|
91
|
+
}
|
|
92
|
+
var $confirmPartyContactCandidate = { m: "POST", p: "/crm/parties/{party_id}/contacts/{candidate_id}/confirm", d: "aidream", a: "guest", o: "required", n: "crm.confirm_party_contact_candidate" };
|
|
93
|
+
function confirmPartyContactCandidate(api, args, options) {
|
|
94
|
+
return api.call($confirmPartyContactCandidate, args, options);
|
|
95
|
+
}
|
|
96
|
+
var $rejectPartyContactCandidate = { m: "POST", p: "/crm/parties/{party_id}/contacts/{candidate_id}/reject", d: "aidream", a: "guest", o: "required", n: "crm.reject_party_contact_candidate" };
|
|
97
|
+
function rejectPartyContactCandidate(api, args, options) {
|
|
98
|
+
return api.call($rejectPartyContactCandidate, args, options);
|
|
99
|
+
}
|
|
100
|
+
var $verifyPartyContactAddress = { m: "POST", p: "/crm/parties/{party_id}/contacts/verify", d: "aidream", a: "guest", o: "required", n: "crm.verify_party_contact_address" };
|
|
101
|
+
function verifyPartyContactAddress(api, args, options) {
|
|
102
|
+
return api.call($verifyPartyContactAddress, args, options);
|
|
103
|
+
}
|
|
104
|
+
var $checkPartyJournalistActivity = { m: "POST", p: "/crm/parties/{party_id}/journalist-activity", d: "aidream", a: "guest", o: "required", n: "crm.check_party_journalist_activity" };
|
|
105
|
+
function checkPartyJournalistActivity(api, args, options) {
|
|
106
|
+
return api.call($checkPartyJournalistActivity, args, options);
|
|
107
|
+
}
|
|
108
|
+
var $readPartyJournalistBeat = { m: "GET", p: "/crm/parties/{party_id}/journalist-beat", d: "aidream", a: "guest", o: "optional", n: "crm.read_party_journalist_beat" };
|
|
109
|
+
function readPartyJournalistBeat(api, args, options) {
|
|
110
|
+
return api.call($readPartyJournalistBeat, args, options);
|
|
111
|
+
}
|
|
112
|
+
var $derivePartyJournalistBeat = { m: "POST", p: "/crm/parties/{party_id}/journalist-beat", d: "aidream", a: "guest", o: "required", n: "crm.derive_party_journalist_beat" };
|
|
113
|
+
function derivePartyJournalistBeat(api, args, options) {
|
|
114
|
+
return api.call($derivePartyJournalistBeat, args, options);
|
|
115
|
+
}
|
|
116
|
+
var $refreshMediaListDoor = { m: "POST", p: "/crm/outreach-lists/{list_id}/media-refresh", d: "aidream", a: "guest", o: "required", n: "crm.refresh_media_list_door" };
|
|
117
|
+
function refreshMediaListDoor(api, args, options) {
|
|
118
|
+
return api.call($refreshMediaListDoor, args, options);
|
|
119
|
+
}
|
|
120
|
+
var $setMediaRefreshPolicyDoor = { m: "PUT", p: "/crm/outreach-lists/{list_id}/media-refresh-policy", d: "aidream", a: "guest", o: "required", n: "crm.set_media_refresh_policy_door" };
|
|
121
|
+
function setMediaRefreshPolicyDoor(api, args, options) {
|
|
122
|
+
return api.call($setMediaRefreshPolicyDoor, args, options);
|
|
123
|
+
}
|
|
124
|
+
var $mediaListSearchDoor = { m: "POST", p: "/crm/outreach-lists/{list_id}/media-search", d: "aidream", a: "guest", o: "required", n: "crm.media_list_search_door" };
|
|
125
|
+
function mediaListSearchDoor(api, args, options) {
|
|
126
|
+
return api.call($mediaListSearchDoor, args, options);
|
|
127
|
+
}
|
|
128
|
+
var $mediaResearchPreviewDoor = { m: "POST", p: "/crm/outreach-lists/{list_id}/media-research/preview", d: "aidream", a: "guest", o: "required", n: "crm.media_research_preview_door" };
|
|
129
|
+
function mediaResearchPreviewDoor(api, args, options) {
|
|
130
|
+
return api.call($mediaResearchPreviewDoor, args, options);
|
|
131
|
+
}
|
|
132
|
+
var $mediaResearchRunDoor = { m: "POST", p: "/crm/outreach-lists/{list_id}/media-research/run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "crm.media_research_run_door" };
|
|
133
|
+
function mediaResearchRunDoor(api, args, options) {
|
|
134
|
+
return chunkYUDQWDCM_cjs.openStream(api, $mediaResearchRunDoor, args, options);
|
|
135
|
+
}
|
|
136
|
+
var $previewBulkEnrichment = { m: "POST", p: "/crm/enrichment/bulk/preview", d: "aidream", a: "guest", o: "required", n: "crm.preview_bulk_enrichment" };
|
|
137
|
+
function previewBulkEnrichment(api, args, options) {
|
|
138
|
+
return api.call($previewBulkEnrichment, args, options);
|
|
139
|
+
}
|
|
140
|
+
var $runBulkEnrichmentDoor = { m: "POST", p: "/crm/enrichment/bulk/run", d: "aidream", a: "guest", o: "required", n: "crm.run_bulk_enrichment_door" };
|
|
141
|
+
function runBulkEnrichmentDoor(api, args, options) {
|
|
142
|
+
return api.call($runBulkEnrichmentDoor, args, options);
|
|
143
|
+
}
|
|
144
|
+
var $resolvePartyDoor = { m: "POST", p: "/crm/parties/resolve", d: "aidream", a: "guest", o: "required", n: "crm.resolve_party_door" };
|
|
145
|
+
function resolvePartyDoor(api, args, options) {
|
|
146
|
+
return api.call($resolvePartyDoor, args, options);
|
|
147
|
+
}
|
|
148
|
+
var $resolvePartiesBatchDoor = { m: "POST", p: "/crm/parties/resolve-batch", d: "aidream", a: "guest", o: "required", n: "crm.resolve_parties_batch_door" };
|
|
149
|
+
function resolvePartiesBatchDoor(api, args, options) {
|
|
150
|
+
return api.call($resolvePartiesBatchDoor, args, options);
|
|
151
|
+
}
|
|
152
|
+
var $listImportConnectors = { m: "GET", p: "/crm/import/connectors", d: "aidream", a: "guest", o: "required", n: "crm.list_import_connectors" };
|
|
153
|
+
function listImportConnectors(api, args, options) {
|
|
154
|
+
return api.call($listImportConnectors, args, options);
|
|
155
|
+
}
|
|
156
|
+
var $fetchConnectorContacts = { m: "POST", p: "/crm/import/connectors/{provider_key}/fetch", d: "aidream", a: "guest", o: "required", n: "crm.fetch_connector_contacts" };
|
|
157
|
+
function fetchConnectorContacts(api, args, options) {
|
|
158
|
+
return api.call($fetchConnectorContacts, args, options);
|
|
159
|
+
}
|
|
160
|
+
var $persistConnectorCursor = { m: "POST", p: "/crm/import/connectors/{provider_key}/cursor", d: "aidream", a: "guest", o: "required", n: "crm.persist_connector_cursor" };
|
|
161
|
+
function persistConnectorCursor(api, args, options) {
|
|
162
|
+
return api.call($persistConnectorCursor, args, options);
|
|
163
|
+
}
|
|
164
|
+
var $queuePartyKindResolution = { m: "POST", p: "/crm/parties/kind-resolution/batch", d: "aidream", a: "guest", o: "required", n: "crm.queue_party_kind_resolution" };
|
|
165
|
+
function queuePartyKindResolution(api, args, options) {
|
|
166
|
+
return api.call($queuePartyKindResolution, args, options);
|
|
167
|
+
}
|
|
168
|
+
var $checkPitchAdvisoriesDoor = { m: "POST", p: "/crm/pitch-advisories", d: "aidream", a: "guest", o: "required", n: "crm.check_pitch_advisories_door" };
|
|
169
|
+
function checkPitchAdvisoriesDoor(api, args, options) {
|
|
170
|
+
return api.call($checkPitchAdvisoriesDoor, args, options);
|
|
171
|
+
}
|
|
172
|
+
var $onePerOutletDoor = { m: "POST", p: "/crm/pitch-advisories/one-per-outlet", d: "aidream", a: "guest", o: "required", n: "crm.one_per_outlet_door" };
|
|
173
|
+
function onePerOutletDoor(api, args, options) {
|
|
174
|
+
return api.call($onePerOutletDoor, args, options);
|
|
175
|
+
}
|
|
176
|
+
var $preSendCheckDoor = { m: "POST", p: "/crm/pre-send-check", d: "aidream", a: "guest", o: "required", n: "crm.pre_send_check_door" };
|
|
177
|
+
function preSendCheckDoor(api, args, options) {
|
|
178
|
+
return api.call($preSendCheckDoor, args, options);
|
|
179
|
+
}
|
|
180
|
+
var TABLE = {
|
|
181
|
+
"GET /sending-identities": $listSendingIdentities,
|
|
182
|
+
"POST /sending-identities": $createSendingIdentity,
|
|
183
|
+
"GET /sending-identities/connectable": $listConnectable,
|
|
184
|
+
"GET /sending-identities/policy": $getSendingPolicy,
|
|
185
|
+
"POST /sending-identities/policy": $setSendingPolicy,
|
|
186
|
+
"GET /sending-identities/bring-up-readiness": $getBringUpReadiness,
|
|
187
|
+
"GET /sending-identities/{identity_id}": $getSendingIdentity,
|
|
188
|
+
"PATCH /sending-identities/{identity_id}": $updateSendingIdentity,
|
|
189
|
+
"DELETE /sending-identities/{identity_id}": $disableSendingIdentity,
|
|
190
|
+
"POST /sending-identities/{identity_id}/check-domain": $checkDomain,
|
|
191
|
+
"POST /sending-identities/{identity_id}/check-authentication": $checkAuthentication,
|
|
192
|
+
"POST /sending-identities/{identity_id}/start-warmup": $startIdentityWarmup,
|
|
193
|
+
"POST /sending-identities/{identity_id}/pause": $pauseSendingIdentity,
|
|
194
|
+
"POST /sending-identities/{identity_id}/resume": $resumeSendingIdentity,
|
|
195
|
+
"GET /sending-identities/{identity_id}/readiness": $getReadiness,
|
|
196
|
+
"GET /sending-identities/{identity_id}/events": $listSendingEvents,
|
|
197
|
+
"POST /sending-identities/{identity_id}/refresh-health": $refreshIdentityHealth,
|
|
198
|
+
"GET /crm/parties/{outlet_party_id}/contact-candidates": $listOutletContactCandidates,
|
|
199
|
+
"POST /crm/parties/{outlet_party_id}/contact-candidates/confirm": $confirmOutletContactCandidate,
|
|
200
|
+
"GET /crm/parties/{party_id}/contacts": $listPartyContactCandidates,
|
|
201
|
+
"POST /crm/parties/{party_id}/contacts/find": $findPartyContacts,
|
|
202
|
+
"POST /crm/parties/{party_id}/contacts/{candidate_id}/confirm": $confirmPartyContactCandidate,
|
|
203
|
+
"POST /crm/parties/{party_id}/contacts/{candidate_id}/reject": $rejectPartyContactCandidate,
|
|
204
|
+
"POST /crm/parties/{party_id}/contacts/verify": $verifyPartyContactAddress,
|
|
205
|
+
"POST /crm/parties/{party_id}/journalist-activity": $checkPartyJournalistActivity,
|
|
206
|
+
"GET /crm/parties/{party_id}/journalist-beat": $readPartyJournalistBeat,
|
|
207
|
+
"POST /crm/parties/{party_id}/journalist-beat": $derivePartyJournalistBeat,
|
|
208
|
+
"POST /crm/outreach-lists/{list_id}/media-refresh": $refreshMediaListDoor,
|
|
209
|
+
"PUT /crm/outreach-lists/{list_id}/media-refresh-policy": $setMediaRefreshPolicyDoor,
|
|
210
|
+
"POST /crm/outreach-lists/{list_id}/media-search": $mediaListSearchDoor,
|
|
211
|
+
"POST /crm/outreach-lists/{list_id}/media-research/preview": $mediaResearchPreviewDoor,
|
|
212
|
+
"POST /crm/enrichment/bulk/preview": $previewBulkEnrichment,
|
|
213
|
+
"POST /crm/enrichment/bulk/run": $runBulkEnrichmentDoor,
|
|
214
|
+
"POST /crm/parties/resolve": $resolvePartyDoor,
|
|
215
|
+
"POST /crm/parties/resolve-batch": $resolvePartiesBatchDoor,
|
|
216
|
+
"GET /crm/import/connectors": $listImportConnectors,
|
|
217
|
+
"POST /crm/import/connectors/{provider_key}/fetch": $fetchConnectorContacts,
|
|
218
|
+
"POST /crm/import/connectors/{provider_key}/cursor": $persistConnectorCursor,
|
|
219
|
+
"POST /crm/parties/kind-resolution/batch": $queuePartyKindResolution,
|
|
220
|
+
"POST /crm/pitch-advisories": $checkPitchAdvisoriesDoor,
|
|
221
|
+
"POST /crm/pitch-advisories/one-per-outlet": $onePerOutletDoor,
|
|
222
|
+
"POST /crm/pre-send-check": $preSendCheckDoor
|
|
223
|
+
};
|
|
224
|
+
function call(api, key, args, options) {
|
|
225
|
+
return api.call(TABLE[key], args, options);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
exports.call = call;
|
|
229
|
+
exports.checkAuthentication = checkAuthentication;
|
|
230
|
+
exports.checkDomain = checkDomain;
|
|
231
|
+
exports.checkPartyJournalistActivity = checkPartyJournalistActivity;
|
|
232
|
+
exports.checkPitchAdvisoriesDoor = checkPitchAdvisoriesDoor;
|
|
233
|
+
exports.confirmOutletContactCandidate = confirmOutletContactCandidate;
|
|
234
|
+
exports.confirmPartyContactCandidate = confirmPartyContactCandidate;
|
|
235
|
+
exports.createSendingIdentity = createSendingIdentity;
|
|
236
|
+
exports.derivePartyJournalistBeat = derivePartyJournalistBeat;
|
|
237
|
+
exports.disableSendingIdentity = disableSendingIdentity;
|
|
238
|
+
exports.fetchConnectorContacts = fetchConnectorContacts;
|
|
239
|
+
exports.findPartyContacts = findPartyContacts;
|
|
240
|
+
exports.getBringUpReadiness = getBringUpReadiness;
|
|
241
|
+
exports.getReadiness = getReadiness;
|
|
242
|
+
exports.getSendingIdentity = getSendingIdentity;
|
|
243
|
+
exports.getSendingPolicy = getSendingPolicy;
|
|
244
|
+
exports.listConnectable = listConnectable;
|
|
245
|
+
exports.listImportConnectors = listImportConnectors;
|
|
246
|
+
exports.listOutletContactCandidates = listOutletContactCandidates;
|
|
247
|
+
exports.listPartyContactCandidates = listPartyContactCandidates;
|
|
248
|
+
exports.listSendingEvents = listSendingEvents;
|
|
249
|
+
exports.listSendingIdentities = listSendingIdentities;
|
|
250
|
+
exports.mediaListSearchDoor = mediaListSearchDoor;
|
|
251
|
+
exports.mediaResearchPreviewDoor = mediaResearchPreviewDoor;
|
|
252
|
+
exports.mediaResearchRunDoor = mediaResearchRunDoor;
|
|
253
|
+
exports.onePerOutletDoor = onePerOutletDoor;
|
|
254
|
+
exports.pauseSendingIdentity = pauseSendingIdentity;
|
|
255
|
+
exports.persistConnectorCursor = persistConnectorCursor;
|
|
256
|
+
exports.preSendCheckDoor = preSendCheckDoor;
|
|
257
|
+
exports.previewBulkEnrichment = previewBulkEnrichment;
|
|
258
|
+
exports.queuePartyKindResolution = queuePartyKindResolution;
|
|
259
|
+
exports.readPartyJournalistBeat = readPartyJournalistBeat;
|
|
260
|
+
exports.refreshIdentityHealth = refreshIdentityHealth;
|
|
261
|
+
exports.refreshMediaListDoor = refreshMediaListDoor;
|
|
262
|
+
exports.rejectPartyContactCandidate = rejectPartyContactCandidate;
|
|
263
|
+
exports.resolvePartiesBatchDoor = resolvePartiesBatchDoor;
|
|
264
|
+
exports.resolvePartyDoor = resolvePartyDoor;
|
|
265
|
+
exports.resumeSendingIdentity = resumeSendingIdentity;
|
|
266
|
+
exports.runBulkEnrichmentDoor = runBulkEnrichmentDoor;
|
|
267
|
+
exports.setMediaRefreshPolicyDoor = setMediaRefreshPolicyDoor;
|
|
268
|
+
exports.setSendingPolicy = setSendingPolicy;
|
|
269
|
+
exports.startIdentityWarmup = startIdentityWarmup;
|
|
270
|
+
exports.updateSendingIdentity = updateSendingIdentity;
|
|
271
|
+
exports.verifyPartyContactAddress = verifyPartyContactAddress;
|