sendblue 3.10.1 → 3.12.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 +41 -0
- package/README.md +7 -7
- package/client.d.mts +46 -7
- package/client.d.mts.map +1 -1
- package/client.d.ts +46 -7
- package/client.d.ts.map +1 -1
- package/client.js +54 -6
- package/client.js.map +1 -1
- package/client.mjs +54 -6
- package/client.mjs.map +1 -1
- package/core/streaming.d.mts +33 -0
- package/core/streaming.d.mts.map +1 -0
- package/core/streaming.d.ts +33 -0
- package/core/streaming.d.ts.map +1 -0
- package/core/streaming.js +263 -0
- package/core/streaming.js.map +1 -0
- package/core/streaming.mjs +258 -0
- package/core/streaming.mjs.map +1 -0
- package/internal/decoders/line.d.mts +17 -0
- package/internal/decoders/line.d.mts.map +1 -0
- package/internal/decoders/line.d.ts +17 -0
- package/internal/decoders/line.d.ts.map +1 -0
- package/internal/decoders/line.js +113 -0
- package/internal/decoders/line.js.map +1 -0
- package/internal/decoders/line.mjs +108 -0
- package/internal/decoders/line.mjs.map +1 -0
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +10 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +10 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts +2 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +2 -0
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/tslib.js +17 -17
- package/package.json +11 -1
- package/resources/auth/auth.d.mts +10 -0
- package/resources/auth/auth.d.mts.map +1 -0
- package/resources/auth/auth.d.ts +10 -0
- package/resources/auth/auth.d.ts.map +1 -0
- package/resources/auth/auth.js +17 -0
- package/resources/auth/auth.js.map +1 -0
- package/resources/auth/auth.mjs +12 -0
- package/resources/auth/auth.mjs.map +1 -0
- package/resources/auth/index.d.mts +3 -0
- package/resources/auth/index.d.mts.map +1 -0
- package/resources/auth/index.d.ts +3 -0
- package/resources/auth/index.d.ts.map +1 -0
- package/resources/auth/index.js +9 -0
- package/resources/auth/index.js.map +1 -0
- package/resources/auth/index.mjs +4 -0
- package/resources/auth/index.mjs.map +1 -0
- package/resources/auth/tokens.d.mts +77 -0
- package/resources/auth/tokens.d.mts.map +1 -0
- package/resources/auth/tokens.d.ts +77 -0
- package/resources/auth/tokens.d.ts.map +1 -0
- package/resources/auth/tokens.js +51 -0
- package/resources/auth/tokens.js.map +1 -0
- package/resources/auth/tokens.mjs +47 -0
- package/resources/auth/tokens.mjs.map +1 -0
- package/resources/auth.d.mts +2 -0
- package/resources/auth.d.mts.map +1 -0
- package/resources/auth.d.ts +2 -0
- package/resources/auth.d.ts.map +1 -0
- package/resources/auth.js +6 -0
- package/resources/auth.js.map +1 -0
- package/resources/auth.mjs +3 -0
- package/resources/auth.mjs.map +1 -0
- package/resources/contacts/contacts.d.mts +8 -0
- package/resources/contacts/contacts.d.mts.map +1 -1
- package/resources/contacts/contacts.d.ts +8 -0
- package/resources/contacts/contacts.d.ts.map +1 -1
- package/resources/contacts/contacts.js.map +1 -1
- package/resources/contacts/contacts.mjs.map +1 -1
- package/resources/events.d.mts +45 -0
- package/resources/events.d.mts.map +1 -0
- package/resources/events.d.ts +45 -0
- package/resources/events.d.ts.map +1 -0
- package/resources/events.js +37 -0
- package/resources/events.js.map +1 -0
- package/resources/events.mjs +33 -0
- package/resources/events.mjs.map +1 -0
- package/resources/groups.d.mts +25 -0
- package/resources/groups.d.mts.map +1 -1
- package/resources/groups.d.ts +25 -0
- package/resources/groups.d.ts.map +1 -1
- package/resources/index.d.mts +8 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +13 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +6 -0
- package/resources/index.mjs.map +1 -1
- package/resources/lines/call-forwarding.d.mts +3 -0
- package/resources/lines/call-forwarding.d.mts.map +1 -1
- package/resources/lines/call-forwarding.d.ts +3 -0
- package/resources/lines/call-forwarding.d.ts.map +1 -1
- package/resources/lines/call-forwarding.js +3 -0
- package/resources/lines/call-forwarding.js.map +1 -1
- package/resources/lines/call-forwarding.mjs +3 -0
- package/resources/lines/call-forwarding.mjs.map +1 -1
- package/resources/lines/index.d.mts +1 -1
- package/resources/lines/index.d.mts.map +1 -1
- package/resources/lines/index.d.ts +1 -1
- package/resources/lines/index.d.ts.map +1 -1
- package/resources/lines/index.js.map +1 -1
- package/resources/lines/index.mjs.map +1 -1
- package/resources/lines/lines.d.mts +30 -0
- package/resources/lines/lines.d.mts.map +1 -1
- package/resources/lines/lines.d.ts +30 -0
- package/resources/lines/lines.d.ts.map +1 -1
- package/resources/lines/lines.js +15 -0
- package/resources/lines/lines.js.map +1 -1
- package/resources/lines/lines.mjs +15 -0
- package/resources/lines/lines.mjs.map +1 -1
- package/resources/location.d.mts +156 -0
- package/resources/location.d.mts.map +1 -0
- package/resources/location.d.ts +156 -0
- package/resources/location.d.ts.map +1 -0
- package/resources/location.js +57 -0
- package/resources/location.js.map +1 -0
- package/resources/location.mjs +53 -0
- package/resources/location.mjs.map +1 -0
- package/resources/messages.d.mts +507 -9
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +507 -9
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +16 -2
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +16 -2
- package/resources/messages.mjs.map +1 -1
- package/resources/request-location.d.mts +54 -0
- package/resources/request-location.d.mts.map +1 -0
- package/resources/request-location.d.ts +54 -0
- package/resources/request-location.d.ts.map +1 -0
- package/resources/request-location.js +30 -0
- package/resources/request-location.js.map +1 -0
- package/resources/request-location.mjs +26 -0
- package/resources/request-location.mjs.map +1 -0
- package/resources/send-carousel.d.mts +67 -0
- package/resources/send-carousel.d.mts.map +1 -1
- package/resources/send-carousel.d.ts +67 -0
- package/resources/send-carousel.d.ts.map +1 -1
- package/resources/v2/groups.d.mts +82 -0
- package/resources/v2/groups.d.mts.map +1 -0
- package/resources/v2/groups.d.ts +82 -0
- package/resources/v2/groups.d.ts.map +1 -0
- package/resources/v2/groups.js +27 -0
- package/resources/v2/groups.js.map +1 -0
- package/resources/v2/groups.mjs +23 -0
- package/resources/v2/groups.mjs.map +1 -0
- package/resources/v2/index.d.mts +1 -0
- package/resources/v2/index.d.mts.map +1 -1
- package/resources/v2/index.d.ts +1 -0
- package/resources/v2/index.d.ts.map +1 -1
- package/resources/v2/index.js +3 -1
- package/resources/v2/index.js.map +1 -1
- package/resources/v2/index.mjs +1 -0
- package/resources/v2/index.mjs.map +1 -1
- package/resources/v2/v2.d.mts +4 -0
- package/resources/v2/v2.d.mts.map +1 -1
- package/resources/v2/v2.d.ts +4 -0
- package/resources/v2/v2.d.ts.map +1 -1
- package/resources/v2/v2.js +4 -0
- package/resources/v2/v2.js.map +1 -1
- package/resources/v2/v2.mjs +4 -0
- package/resources/v2/v2.mjs.map +1 -1
- package/resources/verified-contacts.d.mts +152 -0
- package/resources/verified-contacts.d.mts.map +1 -0
- package/resources/verified-contacts.d.ts +152 -0
- package/resources/verified-contacts.d.ts.map +1 -0
- package/resources/verified-contacts.js +56 -0
- package/resources/verified-contacts.js.map +1 -0
- package/resources/verified-contacts.mjs +52 -0
- package/resources/verified-contacts.mjs.map +1 -0
- package/resources/verify/index.d.mts +3 -0
- package/resources/verify/index.d.mts.map +1 -0
- package/resources/verify/index.d.ts +3 -0
- package/resources/verify/index.d.ts.map +1 -0
- package/resources/verify/index.js +9 -0
- package/resources/verify/index.js.map +1 -0
- package/resources/verify/index.mjs +4 -0
- package/resources/verify/index.mjs.map +1 -0
- package/resources/verify/verifications.d.mts +45 -0
- package/resources/verify/verifications.d.mts.map +1 -0
- package/resources/verify/verifications.d.ts +45 -0
- package/resources/verify/verifications.d.ts.map +1 -0
- package/resources/verify/verifications.js +19 -0
- package/resources/verify/verifications.js.map +1 -0
- package/resources/verify/verifications.mjs +15 -0
- package/resources/verify/verifications.mjs.map +1 -0
- package/resources/verify/verify.d.mts +10 -0
- package/resources/verify/verify.d.mts.map +1 -0
- package/resources/verify/verify.d.ts +10 -0
- package/resources/verify/verify.d.ts.map +1 -0
- package/resources/verify/verify.js +17 -0
- package/resources/verify/verify.js.map +1 -0
- package/resources/verify/verify.mjs +12 -0
- package/resources/verify/verify.mjs.map +1 -0
- package/resources/verify.d.mts +2 -0
- package/resources/verify.d.mts.map +1 -0
- package/resources/verify.d.ts +2 -0
- package/resources/verify.d.ts.map +1 -0
- package/resources/verify.js +6 -0
- package/resources/verify.js.map +1 -0
- package/resources/verify.mjs +3 -0
- package/resources/verify.mjs.map +1 -0
- package/resources/webhooks.d.mts +26 -10
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +26 -10
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js +13 -2
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs +13 -2
- package/resources/webhooks.mjs.map +1 -1
- package/src/client.ts +116 -15
- package/src/core/streaming.ts +319 -0
- package/src/internal/decoders/line.ts +135 -0
- package/src/internal/parse.ts +14 -0
- package/src/internal/request-options.ts +2 -0
- package/src/resources/auth/auth.ts +19 -0
- package/src/resources/auth/index.ts +4 -0
- package/src/resources/auth/tokens.ts +101 -0
- package/src/resources/auth.ts +3 -0
- package/src/resources/contacts/contacts.ts +10 -0
- package/src/resources/events.ts +75 -0
- package/src/resources/groups.ts +28 -0
- package/src/resources/index.ts +26 -1
- package/src/resources/lines/call-forwarding.ts +3 -0
- package/src/resources/lines/index.ts +1 -1
- package/src/resources/lines/lines.ts +44 -0
- package/src/resources/location.ts +237 -0
- package/src/resources/messages.ts +634 -9
- package/src/resources/request-location.ts +72 -0
- package/src/resources/send-carousel.ts +76 -0
- package/src/resources/v2/groups.ts +106 -0
- package/src/resources/v2/index.ts +1 -0
- package/src/resources/v2/v2.ts +6 -0
- package/src/resources/verified-contacts.ts +204 -0
- package/src/resources/verify/index.ts +9 -0
- package/src/resources/verify/verifications.ts +75 -0
- package/src/resources/verify/verify.ts +25 -0
- package/src/resources/verify.ts +3 -0
- package/src/resources/webhooks.ts +27 -10
- package/src/streaming.ts +2 -0
- package/src/version.ts +1 -1
- package/streaming.d.mts +3 -0
- package/streaming.d.mts.map +1 -0
- package/streaming.d.ts +3 -0
- package/streaming.d.ts.map +1 -0
- package/streaming.js +6 -0
- package/streaming.js.map +1 -0
- package/streaming.mjs +3 -0
- package/streaming.mjs.map +1 -0
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Operations for group messaging (beta)
|
|
6
|
+
*/
|
|
7
|
+
export declare class Groups extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve the current complete membership for a group owned by the authenticated
|
|
10
|
+
* account.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const group = await client.v2.groups.retrieve(
|
|
15
|
+
* 'sb_group_608acc54-d0d7-4b41-8092-9ff6e1e70455',
|
|
16
|
+
* );
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
retrieve(groupID: string, options?: RequestOptions): APIPromise<GroupRetrieveResponse>;
|
|
20
|
+
}
|
|
21
|
+
export interface GroupRetrieveResponse {
|
|
22
|
+
data?: GroupRetrieveResponse.Data;
|
|
23
|
+
status?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace GroupRetrieveResponse {
|
|
26
|
+
interface Data {
|
|
27
|
+
created_at?: string;
|
|
28
|
+
group_id?: string;
|
|
29
|
+
group_name?: string;
|
|
30
|
+
latest_comm_at?: string | null;
|
|
31
|
+
latest_message_id?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* Convenience list of resolved participant phone numbers. Participants with
|
|
34
|
+
* email-only handles remain in participants but are omitted here.
|
|
35
|
+
*/
|
|
36
|
+
participant_numbers?: Array<string>;
|
|
37
|
+
participants?: Array<Data.Participant>;
|
|
38
|
+
updated_at?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Worker-local iMessage group identifier when known
|
|
41
|
+
*/
|
|
42
|
+
worker_group_id?: string | null;
|
|
43
|
+
}
|
|
44
|
+
namespace Data {
|
|
45
|
+
interface Participant {
|
|
46
|
+
/**
|
|
47
|
+
* Contact ID when this participant is linked to a contact
|
|
48
|
+
*/
|
|
49
|
+
contact_id?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* Raw participant handle, usually an E.164 phone number but sometimes an iMessage
|
|
52
|
+
* email handle
|
|
53
|
+
*/
|
|
54
|
+
handle?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* Contact or seat display name when available
|
|
57
|
+
*/
|
|
58
|
+
name?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
* Unique participant row identifier
|
|
61
|
+
*/
|
|
62
|
+
participant_id?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Resolved participant phone number, preferring the stored group phone handle and
|
|
65
|
+
* falling back to contact phone. Email handles remain available in handle.
|
|
66
|
+
*/
|
|
67
|
+
phone?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Seat ID when this participant is a team member
|
|
70
|
+
*/
|
|
71
|
+
seat_id?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* Participant kind
|
|
74
|
+
*/
|
|
75
|
+
type?: 'contact' | 'seat';
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
export declare namespace Groups {
|
|
80
|
+
export { type GroupRetrieveResponse as GroupRetrieveResponse };
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=groups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1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cAAc,CAAC,EAAE,MAAM,CAAC;YAExB;;;eAGG;YACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAEtB;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAExB;;eAEG;YACH,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;SAC3B;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CAChE"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Groups = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
7
|
+
/**
|
|
8
|
+
* Operations for group messaging (beta)
|
|
9
|
+
*/
|
|
10
|
+
class Groups extends resource_1.APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Retrieve the current complete membership for a group owned by the authenticated
|
|
13
|
+
* account.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const group = await client.v2.groups.retrieve(
|
|
18
|
+
* 'sb_group_608acc54-d0d7-4b41-8092-9ff6e1e70455',
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
retrieve(groupID, options) {
|
|
23
|
+
return this._client.get((0, path_1.path) `/api/v2/groups/${groupID}`, options);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.Groups = Groups;
|
|
27
|
+
//# sourceMappingURL=groups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groups.js","sourceRoot":"","sources":["../../src/resources/v2/groups.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,OAAe,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,kBAAkB,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF;AAfD,wBAeC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Operations for group messaging (beta)
|
|
6
|
+
*/
|
|
7
|
+
export class Groups extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve the current complete membership for a group owned by the authenticated
|
|
10
|
+
* account.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const group = await client.v2.groups.retrieve(
|
|
15
|
+
* 'sb_group_608acc54-d0d7-4b41-8092-9ff6e1e70455',
|
|
16
|
+
* );
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
retrieve(groupID, options) {
|
|
20
|
+
return this._client.get(path `/api/v2/groups/${groupID}`, options);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=groups.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groups.mjs","sourceRoot":"","sources":["../../src/resources/v2/groups.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,OAAe,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,kBAAkB,OAAO,EAAE,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF"}
|
package/resources/v2/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Groups, type GroupRetrieveResponse } from "./groups.mjs";
|
|
1
2
|
export { Seats, type SeatRetrieveResponse, type SeatListResponse, type SeatCountResponse, type SeatListParams, type SeatCountParams, } from "./seats.mjs";
|
|
2
3
|
export { Totp, type TotpGetCodeResponse } from "./totp/index.mjs";
|
|
3
4
|
export { V2 } from "./v2.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v2/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,eAAe,GACrB,oBAAgB;AACjB,OAAO,EAAE,IAAI,EAAE,KAAK,mBAAmB,EAAE,yBAAqB;AAC9D,OAAO,EAAE,EAAE,EAAE,iBAAa"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v2/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,KAAK,qBAAqB,EAAE,qBAAiB;AAC9D,OAAO,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,eAAe,GACrB,oBAAgB;AACjB,OAAO,EAAE,IAAI,EAAE,KAAK,mBAAmB,EAAE,yBAAqB;AAC9D,OAAO,EAAE,EAAE,EAAE,iBAAa"}
|
package/resources/v2/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Groups, type GroupRetrieveResponse } from "./groups.js";
|
|
1
2
|
export { Seats, type SeatRetrieveResponse, type SeatListResponse, type SeatCountResponse, type SeatListParams, type SeatCountParams, } from "./seats.js";
|
|
2
3
|
export { Totp, type TotpGetCodeResponse } from "./totp/index.js";
|
|
3
4
|
export { V2 } from "./v2.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v2/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,eAAe,GACrB,mBAAgB;AACjB,OAAO,EAAE,IAAI,EAAE,KAAK,mBAAmB,EAAE,wBAAqB;AAC9D,OAAO,EAAE,EAAE,EAAE,gBAAa"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/v2/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,KAAK,qBAAqB,EAAE,oBAAiB;AAC9D,OAAO,EACL,KAAK,EACL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,eAAe,GACrB,mBAAgB;AACjB,OAAO,EAAE,IAAI,EAAE,KAAK,mBAAmB,EAAE,wBAAqB;AAC9D,OAAO,EAAE,EAAE,EAAE,gBAAa"}
|
package/resources/v2/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.V2 = exports.Totp = exports.Seats = void 0;
|
|
4
|
+
exports.V2 = exports.Totp = exports.Seats = exports.Groups = void 0;
|
|
5
|
+
var groups_1 = require("./groups.js");
|
|
6
|
+
Object.defineProperty(exports, "Groups", { enumerable: true, get: function () { return groups_1.Groups; } });
|
|
5
7
|
var seats_1 = require("./seats.js");
|
|
6
8
|
Object.defineProperty(exports, "Seats", { enumerable: true, get: function () { return seats_1.Seats; } });
|
|
7
9
|
var index_1 = require("./totp/index.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v2/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAOiB;AANf,8FAAA,KAAK,OAAA;AAOP,yCAA8D;AAArD,6FAAA,IAAI,OAAA;AACb,8BAA0B;AAAjB,wFAAA,EAAE,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/v2/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAA8D;AAArD,gGAAA,MAAM,OAAA;AACf,oCAOiB;AANf,8FAAA,KAAK,OAAA;AAOP,yCAA8D;AAArD,6FAAA,IAAI,OAAA;AACb,8BAA0B;AAAjB,wFAAA,EAAE,OAAA"}
|
package/resources/v2/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v2/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,KAAK,GAMN,oBAAgB;AACjB,OAAO,EAAE,IAAI,EAA4B,yBAAqB;AAC9D,OAAO,EAAE,EAAE,EAAE,iBAAa"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v2/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,MAAM,EAA8B,qBAAiB;AAC9D,OAAO,EACL,KAAK,GAMN,oBAAgB;AACjB,OAAO,EAAE,IAAI,EAA4B,yBAAqB;AAC9D,OAAO,EAAE,EAAE,EAAE,iBAAa"}
|
package/resources/v2/v2.d.mts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as GroupsAPI from "./groups.mjs";
|
|
3
|
+
import { GroupRetrieveResponse, Groups } from "./groups.mjs";
|
|
2
4
|
import * as SeatsAPI from "./seats.mjs";
|
|
3
5
|
import { SeatCountParams, SeatCountResponse, SeatListParams, SeatListResponse, SeatRetrieveResponse, Seats } from "./seats.mjs";
|
|
4
6
|
import * as TotpAPI from "./totp/totp.mjs";
|
|
@@ -6,9 +8,11 @@ import { Totp, TotpGetCodeResponse } from "./totp/totp.mjs";
|
|
|
6
8
|
export declare class V2 extends APIResource {
|
|
7
9
|
totp: TotpAPI.Totp;
|
|
8
10
|
seats: SeatsAPI.Seats;
|
|
11
|
+
groups: GroupsAPI.Groups;
|
|
9
12
|
}
|
|
10
13
|
export declare namespace V2 {
|
|
11
14
|
export { Totp as Totp, type TotpGetCodeResponse as TotpGetCodeResponse };
|
|
12
15
|
export { Seats as Seats, type SeatRetrieveResponse as SeatRetrieveResponse, type SeatListResponse as SeatListResponse, type SeatCountResponse as SeatCountResponse, type SeatListParams as SeatListParams, type SeatCountParams as SeatCountParams, };
|
|
16
|
+
export { Groups as Groups, type GroupRetrieveResponse as GroupRetrieveResponse };
|
|
13
17
|
}
|
|
14
18
|
//# sourceMappingURL=v2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2.d.mts","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,KAAK,EACN,oBAAgB;AACjB,OAAO,KAAK,OAAO,wBAAoB;AACvC,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,wBAAoB;AAExD,qBAAa,EAAG,SAAQ,WAAW;IACjC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;
|
|
1
|
+
{"version":3,"file":"v2.d.mts","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAE,qBAAiB;AACzD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,KAAK,EACN,oBAAgB;AACjB,OAAO,KAAK,OAAO,wBAAoB;AACvC,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,wBAAoB;AAExD,qBAAa,EAAG,SAAQ,WAAW;IACjC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAMD,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;IAEzE,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CAClF"}
|
package/resources/v2/v2.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as GroupsAPI from "./groups.js";
|
|
3
|
+
import { GroupRetrieveResponse, Groups } from "./groups.js";
|
|
2
4
|
import * as SeatsAPI from "./seats.js";
|
|
3
5
|
import { SeatCountParams, SeatCountResponse, SeatListParams, SeatListResponse, SeatRetrieveResponse, Seats } from "./seats.js";
|
|
4
6
|
import * as TotpAPI from "./totp/totp.js";
|
|
@@ -6,9 +8,11 @@ import { Totp, TotpGetCodeResponse } from "./totp/totp.js";
|
|
|
6
8
|
export declare class V2 extends APIResource {
|
|
7
9
|
totp: TotpAPI.Totp;
|
|
8
10
|
seats: SeatsAPI.Seats;
|
|
11
|
+
groups: GroupsAPI.Groups;
|
|
9
12
|
}
|
|
10
13
|
export declare namespace V2 {
|
|
11
14
|
export { Totp as Totp, type TotpGetCodeResponse as TotpGetCodeResponse };
|
|
12
15
|
export { Seats as Seats, type SeatRetrieveResponse as SeatRetrieveResponse, type SeatListResponse as SeatListResponse, type SeatCountResponse as SeatCountResponse, type SeatListParams as SeatListParams, type SeatCountParams as SeatCountParams, };
|
|
16
|
+
export { Groups as Groups, type GroupRetrieveResponse as GroupRetrieveResponse };
|
|
13
17
|
}
|
|
14
18
|
//# sourceMappingURL=v2.d.ts.map
|
package/resources/v2/v2.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,KAAK,EACN,mBAAgB;AACjB,OAAO,KAAK,OAAO,uBAAoB;AACvC,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,uBAAoB;AAExD,qBAAa,EAAG,SAAQ,WAAW;IACjC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;
|
|
1
|
+
{"version":3,"file":"v2.d.ts","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,EAAE,oBAAiB;AACzD,OAAO,KAAK,QAAQ,mBAAgB;AACpC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,oBAAoB,EACpB,KAAK,EACN,mBAAgB;AACjB,OAAO,KAAK,OAAO,uBAAoB;AACvC,OAAO,EAAE,IAAI,EAAE,mBAAmB,EAAE,uBAAoB;AAExD,qBAAa,EAAG,SAAQ,WAAW;IACjC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IACpD,KAAK,EAAE,QAAQ,CAAC,KAAK,CAAoC;IACzD,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAMD,MAAM,CAAC,OAAO,WAAW,EAAE,CAAC;IAC1B,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;IAEzE,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;CAClF"}
|
package/resources/v2/v2.js
CHANGED
|
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.V2 = void 0;
|
|
5
5
|
const tslib_1 = require("../../internal/tslib.js");
|
|
6
6
|
const resource_1 = require("../../core/resource.js");
|
|
7
|
+
const GroupsAPI = tslib_1.__importStar(require("./groups.js"));
|
|
8
|
+
const groups_1 = require("./groups.js");
|
|
7
9
|
const SeatsAPI = tslib_1.__importStar(require("./seats.js"));
|
|
8
10
|
const seats_1 = require("./seats.js");
|
|
9
11
|
const TotpAPI = tslib_1.__importStar(require("./totp/totp.js"));
|
|
@@ -13,9 +15,11 @@ class V2 extends resource_1.APIResource {
|
|
|
13
15
|
super(...arguments);
|
|
14
16
|
this.totp = new TotpAPI.Totp(this._client);
|
|
15
17
|
this.seats = new SeatsAPI.Seats(this._client);
|
|
18
|
+
this.groups = new GroupsAPI.Groups(this._client);
|
|
16
19
|
}
|
|
17
20
|
}
|
|
18
21
|
exports.V2 = V2;
|
|
19
22
|
V2.Totp = totp_1.Totp;
|
|
20
23
|
V2.Seats = seats_1.Seats;
|
|
24
|
+
V2.Groups = groups_1.Groups;
|
|
21
25
|
//# sourceMappingURL=v2.js.map
|
package/resources/v2/v2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2.js","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,6DAAoC;AACpC,sCAOiB;AACjB,gEAAuC;AACvC,yCAAwD;AAExD,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"v2.js","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAyD;AACzD,6DAAoC;AACpC,sCAOiB;AACjB,gEAAuC;AACvC,yCAAwD;AAExD,MAAa,EAAG,SAAQ,sBAAW;IAAnC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAJD,gBAIC;AAED,EAAE,CAAC,IAAI,GAAG,WAAI,CAAC;AACf,EAAE,CAAC,KAAK,GAAG,aAAK,CAAC;AACjB,EAAE,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
package/resources/v2/v2.mjs
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as GroupsAPI from "./groups.mjs";
|
|
4
|
+
import { Groups } from "./groups.mjs";
|
|
3
5
|
import * as SeatsAPI from "./seats.mjs";
|
|
4
6
|
import { Seats, } from "./seats.mjs";
|
|
5
7
|
import * as TotpAPI from "./totp/totp.mjs";
|
|
@@ -9,8 +11,10 @@ export class V2 extends APIResource {
|
|
|
9
11
|
super(...arguments);
|
|
10
12
|
this.totp = new TotpAPI.Totp(this._client);
|
|
11
13
|
this.seats = new SeatsAPI.Seats(this._client);
|
|
14
|
+
this.groups = new GroupsAPI.Groups(this._client);
|
|
12
15
|
}
|
|
13
16
|
}
|
|
14
17
|
V2.Totp = Totp;
|
|
15
18
|
V2.Seats = Seats;
|
|
19
|
+
V2.Groups = Groups;
|
|
16
20
|
//# sourceMappingURL=v2.mjs.map
|
package/resources/v2/v2.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2.mjs","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAML,KAAK,GACN,oBAAgB;AACjB,OAAO,KAAK,OAAO,wBAAoB;AACvC,OAAO,EAAE,IAAI,EAAuB,wBAAoB;AAExD,MAAM,OAAO,EAAG,SAAQ,WAAW;IAAnC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"v2.mjs","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAyB,MAAM,EAAE,qBAAiB;AACzD,OAAO,KAAK,QAAQ,oBAAgB;AACpC,OAAO,EAML,KAAK,GACN,oBAAgB;AACjB,OAAO,KAAK,OAAO,wBAAoB;AACvC,OAAO,EAAE,IAAI,EAAuB,wBAAoB;AAExD,MAAM,OAAO,EAAG,SAAQ,WAAW;IAAnC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpD,UAAK,GAAmB,IAAI,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACzD,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAED,EAAE,CAAC,IAAI,GAAG,IAAI,CAAC;AACf,EAAE,CAAC,KAAK,GAAG,KAAK,CAAC;AACjB,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Operations for managing verified-contact access to shared iMessage lines
|
|
6
|
+
*/
|
|
7
|
+
export declare class VerifiedContacts extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Creates or returns a verified-contact route for the authenticated account's
|
|
10
|
+
* shared iMessage line. Pending contacts become verified after the recipient sends
|
|
11
|
+
* an inbound iMessage or SMS to the returned line phone number.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const verifiedContact =
|
|
16
|
+
* await client.verifiedContacts.create({
|
|
17
|
+
* phone_number: '+12125550199',
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
create(body: VerifiedContactCreateParams, options?: RequestOptions): APIPromise<VerifiedContactCreateResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve one verified-contact route by phone number for the authenticated
|
|
24
|
+
* account.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const verifiedContact =
|
|
29
|
+
* await client.verifiedContacts.retrieve('+12125550199');
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
retrieve(phoneNumber: string, options?: RequestOptions): APIPromise<VerifiedContactRetrieveResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Lists contacts attached to the authenticated account's shared iMessage line.
|
|
35
|
+
* Contacts start as `pending`; they become `verified` after the recipient sends an
|
|
36
|
+
* inbound iMessage or SMS to the shared line.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const verifiedContacts =
|
|
41
|
+
* await client.verifiedContacts.list();
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
list(options?: RequestOptions): APIPromise<VerifiedContactListResponse>;
|
|
45
|
+
}
|
|
46
|
+
export interface VerifiedContactCreateResponse {
|
|
47
|
+
data?: VerifiedContactCreateResponse.Data;
|
|
48
|
+
}
|
|
49
|
+
export declare namespace VerifiedContactCreateResponse {
|
|
50
|
+
interface Data {
|
|
51
|
+
contact: Data.Contact;
|
|
52
|
+
line: Data.Line | null;
|
|
53
|
+
/**
|
|
54
|
+
* Null when the contact is already verified
|
|
55
|
+
*/
|
|
56
|
+
verification_instructions: string | null;
|
|
57
|
+
}
|
|
58
|
+
namespace Data {
|
|
59
|
+
interface Contact {
|
|
60
|
+
created_at: string;
|
|
61
|
+
/**
|
|
62
|
+
* Contact phone number in E.164 format
|
|
63
|
+
*/
|
|
64
|
+
phone_number: string;
|
|
65
|
+
updated_at: string;
|
|
66
|
+
verification_status: 'pending' | 'verified';
|
|
67
|
+
/**
|
|
68
|
+
* Whether this contact has completed verification by messaging the shared line
|
|
69
|
+
*/
|
|
70
|
+
verified: boolean;
|
|
71
|
+
}
|
|
72
|
+
interface Line {
|
|
73
|
+
/**
|
|
74
|
+
* Shared Sendblue line the contact must message to complete verification
|
|
75
|
+
*/
|
|
76
|
+
phone_number: string | null;
|
|
77
|
+
type: 'shared';
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
export interface VerifiedContactRetrieveResponse {
|
|
82
|
+
data?: VerifiedContactRetrieveResponse.Data;
|
|
83
|
+
}
|
|
84
|
+
export declare namespace VerifiedContactRetrieveResponse {
|
|
85
|
+
interface Data {
|
|
86
|
+
contact: Data.Contact | null;
|
|
87
|
+
line: Data.Line | null;
|
|
88
|
+
}
|
|
89
|
+
namespace Data {
|
|
90
|
+
interface Contact {
|
|
91
|
+
created_at: string;
|
|
92
|
+
/**
|
|
93
|
+
* Contact phone number in E.164 format
|
|
94
|
+
*/
|
|
95
|
+
phone_number: string;
|
|
96
|
+
updated_at: string;
|
|
97
|
+
verification_status: 'pending' | 'verified';
|
|
98
|
+
/**
|
|
99
|
+
* Whether this contact has completed verification by messaging the shared line
|
|
100
|
+
*/
|
|
101
|
+
verified: boolean;
|
|
102
|
+
}
|
|
103
|
+
interface Line {
|
|
104
|
+
/**
|
|
105
|
+
* Shared Sendblue line the contact must message to complete verification
|
|
106
|
+
*/
|
|
107
|
+
phone_number: string | null;
|
|
108
|
+
type: 'shared';
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
export interface VerifiedContactListResponse {
|
|
113
|
+
data?: VerifiedContactListResponse.Data;
|
|
114
|
+
}
|
|
115
|
+
export declare namespace VerifiedContactListResponse {
|
|
116
|
+
interface Data {
|
|
117
|
+
contacts: Array<Data.Contact>;
|
|
118
|
+
line: Data.Line | null;
|
|
119
|
+
}
|
|
120
|
+
namespace Data {
|
|
121
|
+
interface Contact {
|
|
122
|
+
created_at: string;
|
|
123
|
+
/**
|
|
124
|
+
* Contact phone number in E.164 format
|
|
125
|
+
*/
|
|
126
|
+
phone_number: string;
|
|
127
|
+
updated_at: string;
|
|
128
|
+
verification_status: 'pending' | 'verified';
|
|
129
|
+
/**
|
|
130
|
+
* Whether this contact has completed verification by messaging the shared line
|
|
131
|
+
*/
|
|
132
|
+
verified: boolean;
|
|
133
|
+
}
|
|
134
|
+
interface Line {
|
|
135
|
+
/**
|
|
136
|
+
* Shared Sendblue line the contact must message to complete verification
|
|
137
|
+
*/
|
|
138
|
+
phone_number: string | null;
|
|
139
|
+
type: 'shared';
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
export interface VerifiedContactCreateParams {
|
|
144
|
+
/**
|
|
145
|
+
* Contact phone number. E.164 is recommended; US local numbers are accepted.
|
|
146
|
+
*/
|
|
147
|
+
phone_number: string;
|
|
148
|
+
}
|
|
149
|
+
export declare namespace VerifiedContacts {
|
|
150
|
+
export { type VerifiedContactCreateResponse as VerifiedContactCreateResponse, type VerifiedContactRetrieveResponse as VerifiedContactRetrieveResponse, type VerifiedContactListResponse as VerifiedContactListResponse, type VerifiedContactCreateParams as VerifiedContactCreateParams, };
|
|
151
|
+
}
|
|
152
|
+
//# sourceMappingURL=verified-contacts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verified-contacts.d.mts","sourceRoot":"","sources":["../src/resources/verified-contac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ACH,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Operations for managing verified-contact access to shared iMessage lines
|
|
6
|
+
*/
|
|
7
|
+
export declare class VerifiedContacts extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Creates or returns a verified-contact route for the authenticated account's
|
|
10
|
+
* shared iMessage line. Pending contacts become verified after the recipient sends
|
|
11
|
+
* an inbound iMessage or SMS to the returned line phone number.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const verifiedContact =
|
|
16
|
+
* await client.verifiedContacts.create({
|
|
17
|
+
* phone_number: '+12125550199',
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
create(body: VerifiedContactCreateParams, options?: RequestOptions): APIPromise<VerifiedContactCreateResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Retrieve one verified-contact route by phone number for the authenticated
|
|
24
|
+
* account.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const verifiedContact =
|
|
29
|
+
* await client.verifiedContacts.retrieve('+12125550199');
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
retrieve(phoneNumber: string, options?: RequestOptions): APIPromise<VerifiedContactRetrieveResponse>;
|
|
33
|
+
/**
|
|
34
|
+
* Lists contacts attached to the authenticated account's shared iMessage line.
|
|
35
|
+
* Contacts start as `pending`; they become `verified` after the recipient sends an
|
|
36
|
+
* inbound iMessage or SMS to the shared line.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const verifiedContacts =
|
|
41
|
+
* await client.verifiedContacts.list();
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
list(options?: RequestOptions): APIPromise<VerifiedContactListResponse>;
|
|
45
|
+
}
|
|
46
|
+
export interface VerifiedContactCreateResponse {
|
|
47
|
+
data?: VerifiedContactCreateResponse.Data;
|
|
48
|
+
}
|
|
49
|
+
export declare namespace VerifiedContactCreateResponse {
|
|
50
|
+
interface Data {
|
|
51
|
+
contact: Data.Contact;
|
|
52
|
+
line: Data.Line | null;
|
|
53
|
+
/**
|
|
54
|
+
* Null when the contact is already verified
|
|
55
|
+
*/
|
|
56
|
+
verification_instructions: string | null;
|
|
57
|
+
}
|
|
58
|
+
namespace Data {
|
|
59
|
+
interface Contact {
|
|
60
|
+
created_at: string;
|
|
61
|
+
/**
|
|
62
|
+
* Contact phone number in E.164 format
|
|
63
|
+
*/
|
|
64
|
+
phone_number: string;
|
|
65
|
+
updated_at: string;
|
|
66
|
+
verification_status: 'pending' | 'verified';
|
|
67
|
+
/**
|
|
68
|
+
* Whether this contact has completed verification by messaging the shared line
|
|
69
|
+
*/
|
|
70
|
+
verified: boolean;
|
|
71
|
+
}
|
|
72
|
+
interface Line {
|
|
73
|
+
/**
|
|
74
|
+
* Shared Sendblue line the contact must message to complete verification
|
|
75
|
+
*/
|
|
76
|
+
phone_number: string | null;
|
|
77
|
+
type: 'shared';
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
export interface VerifiedContactRetrieveResponse {
|
|
82
|
+
data?: VerifiedContactRetrieveResponse.Data;
|
|
83
|
+
}
|
|
84
|
+
export declare namespace VerifiedContactRetrieveResponse {
|
|
85
|
+
interface Data {
|
|
86
|
+
contact: Data.Contact | null;
|
|
87
|
+
line: Data.Line | null;
|
|
88
|
+
}
|
|
89
|
+
namespace Data {
|
|
90
|
+
interface Contact {
|
|
91
|
+
created_at: string;
|
|
92
|
+
/**
|
|
93
|
+
* Contact phone number in E.164 format
|
|
94
|
+
*/
|
|
95
|
+
phone_number: string;
|
|
96
|
+
updated_at: string;
|
|
97
|
+
verification_status: 'pending' | 'verified';
|
|
98
|
+
/**
|
|
99
|
+
* Whether this contact has completed verification by messaging the shared line
|
|
100
|
+
*/
|
|
101
|
+
verified: boolean;
|
|
102
|
+
}
|
|
103
|
+
interface Line {
|
|
104
|
+
/**
|
|
105
|
+
* Shared Sendblue line the contact must message to complete verification
|
|
106
|
+
*/
|
|
107
|
+
phone_number: string | null;
|
|
108
|
+
type: 'shared';
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
export interface VerifiedContactListResponse {
|
|
113
|
+
data?: VerifiedContactListResponse.Data;
|
|
114
|
+
}
|
|
115
|
+
export declare namespace VerifiedContactListResponse {
|
|
116
|
+
interface Data {
|
|
117
|
+
contacts: Array<Data.Contact>;
|
|
118
|
+
line: Data.Line | null;
|
|
119
|
+
}
|
|
120
|
+
namespace Data {
|
|
121
|
+
interface Contact {
|
|
122
|
+
created_at: string;
|
|
123
|
+
/**
|
|
124
|
+
* Contact phone number in E.164 format
|
|
125
|
+
*/
|
|
126
|
+
phone_number: string;
|
|
127
|
+
updated_at: string;
|
|
128
|
+
verification_status: 'pending' | 'verified';
|
|
129
|
+
/**
|
|
130
|
+
* Whether this contact has completed verification by messaging the shared line
|
|
131
|
+
*/
|
|
132
|
+
verified: boolean;
|
|
133
|
+
}
|
|
134
|
+
interface Line {
|
|
135
|
+
/**
|
|
136
|
+
* Shared Sendblue line the contact must message to complete verification
|
|
137
|
+
*/
|
|
138
|
+
phone_number: string | null;
|
|
139
|
+
type: 'shared';
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
export interface VerifiedContactCreateParams {
|
|
144
|
+
/**
|
|
145
|
+
* Contact phone number. E.164 is recommended; US local numbers are accepted.
|
|
146
|
+
*/
|
|
147
|
+
phone_number: string;
|
|
148
|
+
}
|
|
149
|
+
export declare namespace VerifiedContacts {
|
|
150
|
+
export { type VerifiedContactCreateResponse as VerifiedContactCreateResponse, type VerifiedContactRetrieveResponse as VerifiedContactRetrieveResponse, type VerifiedContactListResponse as VerifiedContactListResponse, type VerifiedContactCreateParams as VerifiedContactCreateParams, };
|
|
151
|
+
}
|
|
152
|
+
//# sourceMappingURL=verified-contacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verified-contacts.d.ts","sourceRoot":"","sources":["../src/resources/verified-contacts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;;;;;;;;OASG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,+BAA+B,CAAC;IAIpG;;;;;;;;;;OAUG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;CAGxE;AAED,MAAM,WAAW,6BAA6B;IAC5C,IAAI,CAAC,EAAE,6BAA6B,CAAC,IAAI,CAAC;CAC3C;AAED,yBAAiB,6BAA6B,CAAC;IAC7C,UAAiB,IAAI;QACnB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;QAEtB,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QAEvB;;WAEG;QACH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