@amigo-ai/platform-sdk 0.80.0 → 0.82.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/api.md +0 -9
- package/dist/index.cjs +0 -73
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +0 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -73
- package/dist/index.mjs.map +4 -4
- package/dist/types/generated/api.d.ts +1077 -751
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/index.d.cts +0 -4
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.ts +0 -4
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/resources/context-graphs.d.ts +16 -0
- package/dist/types/resources/context-graphs.d.ts.map +1 -1
- package/dist/types/resources/external-integrations.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/resources/channels/index.js +0 -27
- package/dist/resources/channels/index.js.map +0 -1
- package/dist/resources/channels/ses-setup.js +0 -62
- package/dist/resources/channels/ses-setup.js.map +0 -1
- package/dist/types/resources/channels/index.d.ts +0 -26
- package/dist/types/resources/channels/index.d.ts.map +0 -1
- package/dist/types/resources/channels/ses-setup.d.ts +0 -49
- package/dist/types/resources/channels/ses-setup.d.ts.map +0 -1
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SES setup resource — workspace-scoped CRUD over the channel-manager-backed
|
|
3
|
-
* SES setup proxy at ``/v1/{workspace_id}/channels/ses-setup``.
|
|
4
|
-
*
|
|
5
|
-
* Use SES setups to register a verified sending domain (e.g.
|
|
6
|
-
* ``mail.acme.com``) that can then back one or more email use cases. The
|
|
7
|
-
* caller publishes the returned DNS records (DKIM CNAMEs, MX, DMARC TXT)
|
|
8
|
-
* at their DNS provider; subsequent ``get`` or ``verify`` calls re-run the
|
|
9
|
-
* live DNS lookup and update each record's ``verified`` flag.
|
|
10
|
-
*/
|
|
11
|
-
import type { components } from '../../generated/api.js';
|
|
12
|
-
import { WorkspaceScopedResource } from '../base.js';
|
|
13
|
-
export type CreateSesSetupRequest = components['schemas']['CreateSesSetupRequest'];
|
|
14
|
-
export type SesSetupDetail = components['schemas']['SesSetupDetailResponse'];
|
|
15
|
-
export type DnsRecord = components['schemas']['DnsRecordResponse'];
|
|
16
|
-
export declare class SesSetupResource extends WorkspaceScopedResource {
|
|
17
|
-
/**
|
|
18
|
-
* Create an SES tenant + verified domain identity for this workspace.
|
|
19
|
-
*
|
|
20
|
-
* Returns the DNS records the customer must publish at their DNS provider.
|
|
21
|
-
* The setup is unusable for sending until every record's ``verified`` flag
|
|
22
|
-
* flips to ``true`` (call ``verify`` after publishing DNS to refresh).
|
|
23
|
-
*/
|
|
24
|
-
create(body: CreateSesSetupRequest): Promise<SesSetupDetail>;
|
|
25
|
-
/**
|
|
26
|
-
* Get an SES setup with a live DNS verification refresh.
|
|
27
|
-
*
|
|
28
|
-
* Channel-manager re-runs ``GetEmailIdentity`` + DMARC/MX resolvers on
|
|
29
|
-
* every call, so each ``get`` is a live check rather than a cache read.
|
|
30
|
-
*/
|
|
31
|
-
get(setupId: string): Promise<SesSetupDetail>;
|
|
32
|
-
/**
|
|
33
|
-
* Explicit DNS refresh — equivalent to ``get`` but exposed as a POST so UI
|
|
34
|
-
* "Verify now" actions read as actions rather than reads.
|
|
35
|
-
*/
|
|
36
|
-
verify(setupId: string): Promise<SesSetupDetail>;
|
|
37
|
-
/**
|
|
38
|
-
* Tear down the upstream SES tenant + identity and soft-delete the
|
|
39
|
-
* workspace binding. Throws ``ConflictError`` (HTTP 409) if any use case
|
|
40
|
-
* still references the setup — delete those use cases first.
|
|
41
|
-
*
|
|
42
|
-
* Routed through ``extractData`` so 4xx/5xx responses surface as typed
|
|
43
|
-
* SDK errors (matching every other resource's ``delete``); the
|
|
44
|
-
* ``ConflictError`` mapping fires here instead of relying on the
|
|
45
|
-
* underlying client's accidental throw.
|
|
46
|
-
*/
|
|
47
|
-
delete(setupId: string): Promise<void>;
|
|
48
|
-
}
|
|
49
|
-
//# sourceMappingURL=ses-setup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ses-setup.d.ts","sourceRoot":"","sources":["../../../../src/resources/channels/ses-setup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EAAE,uBAAuB,EAAe,MAAM,YAAY,CAAA;AAMjE,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,uBAAuB,CAAC,CAAA;AAClF,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,wBAAwB,CAAC,CAAA;AAC5E,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,mBAAmB,CAAC,CAAA;AAElE,qBAAa,gBAAiB,SAAQ,uBAAuB;IAC3D;;;;;;OAMG;IACG,MAAM,CAAC,IAAI,EAAE,qBAAqB,GAAG,OAAO,CAAC,cAAc,CAAC;IASlE;;;;;OAKG;IACG,GAAG,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;IAQnD;;;OAGG;IACG,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;IAQtD;;;;;;;;;OASG;IACG,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAO7C"}
|