sendblue 3.14.0 → 3.16.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 +16 -0
- package/client.d.mts +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/groups.d.mts +1 -1
- package/resources/groups.d.mts.map +1 -1
- package/resources/groups.d.ts +1 -1
- package/resources/groups.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/messages/index.d.mts +3 -0
- package/resources/messages/index.d.mts.map +1 -0
- package/resources/messages/index.d.ts +3 -0
- package/resources/messages/index.d.ts.map +1 -0
- package/resources/messages/index.js +9 -0
- package/resources/messages/index.js.map +1 -0
- package/resources/messages/index.mjs +4 -0
- package/resources/messages/index.mjs.map +1 -0
- package/resources/messages/messages.d.mts +1071 -0
- package/resources/messages/messages.d.mts.map +1 -0
- package/resources/messages/messages.d.ts +1071 -0
- package/resources/messages/messages.d.ts.map +1 -0
- package/resources/messages/messages.js +105 -0
- package/resources/messages/messages.js.map +1 -0
- package/resources/messages/messages.mjs +100 -0
- package/resources/messages/messages.mjs.map +1 -0
- package/resources/messages/v2/index.d.mts +3 -0
- package/resources/messages/v2/index.d.mts.map +1 -0
- package/resources/messages/v2/index.d.ts +3 -0
- package/resources/messages/v2/index.d.ts.map +1 -0
- package/resources/{v2/groups → messages/v2}/index.js +3 -3
- package/resources/messages/v2/index.js.map +1 -0
- package/resources/{v2/groups → messages/v2}/index.mjs +1 -1
- package/resources/messages/v2/index.mjs.map +1 -0
- package/resources/messages/v2/v2.d.mts +10 -0
- package/resources/messages/v2/v2.d.mts.map +1 -0
- package/resources/messages/v2/v2.d.ts +10 -0
- package/resources/messages/v2/v2.d.ts.map +1 -0
- package/resources/messages/v2/v2.js +17 -0
- package/resources/messages/v2/v2.js.map +1 -0
- package/resources/messages/v2/v2.mjs +12 -0
- package/resources/messages/v2/v2.mjs.map +1 -0
- package/resources/messages/v2/verify/index.d.mts.map +1 -0
- package/resources/messages/v2/verify/index.d.ts.map +1 -0
- package/resources/messages/v2/verify/index.js.map +1 -0
- package/resources/messages/v2/verify/index.mjs.map +1 -0
- package/resources/messages/v2/verify/services/index.d.mts.map +1 -0
- package/resources/messages/v2/verify/services/index.d.ts.map +1 -0
- package/resources/messages/v2/verify/services/index.js.map +1 -0
- package/resources/messages/v2/verify/services/index.mjs.map +1 -0
- package/resources/messages/v2/verify/services/services.d.mts.map +1 -0
- package/resources/messages/v2/verify/services/services.d.ts.map +1 -0
- package/resources/messages/v2/verify/services/services.js.map +1 -0
- package/resources/messages/v2/verify/services/services.mjs.map +1 -0
- package/resources/{v2/groups → messages/v2}/verify/services/verifications.d.mts +2 -2
- package/resources/messages/v2/verify/services/verifications.d.mts.map +1 -0
- package/resources/{v2/groups → messages/v2}/verify/services/verifications.d.ts +2 -2
- package/resources/messages/v2/verify/services/verifications.d.ts.map +1 -0
- package/resources/{v2/groups → messages/v2}/verify/services/verifications.js +2 -2
- package/resources/messages/v2/verify/services/verifications.js.map +1 -0
- package/resources/{v2/groups → messages/v2}/verify/services/verifications.mjs +2 -2
- package/resources/messages/v2/verify/services/verifications.mjs.map +1 -0
- package/resources/messages/v2/verify/services.d.mts.map +1 -0
- package/resources/messages/v2/verify/services.d.ts.map +1 -0
- package/resources/messages/v2/verify/services.js.map +1 -0
- package/resources/messages/v2/verify/services.mjs.map +1 -0
- package/resources/messages/v2/verify/verify.d.mts.map +1 -0
- package/resources/messages/v2/verify/verify.d.ts.map +1 -0
- package/resources/messages/v2/verify/verify.js.map +1 -0
- package/resources/messages/v2/verify/verify.mjs.map +1 -0
- package/resources/messages/v2/verify.d.mts.map +1 -0
- package/resources/messages/v2/verify.d.ts.map +1 -0
- package/resources/messages/v2/verify.js.map +1 -0
- package/resources/messages/v2/verify.mjs.map +1 -0
- package/resources/messages/v2.d.mts +2 -0
- package/resources/messages/v2.d.mts.map +1 -0
- package/resources/messages/v2.d.ts +2 -0
- package/resources/messages/v2.d.ts.map +1 -0
- package/resources/messages/v2.js +6 -0
- package/resources/messages/v2.js.map +1 -0
- package/resources/messages/v2.mjs +3 -0
- package/resources/messages/v2.mjs.map +1 -0
- package/resources/messages.d.mts +1 -1066
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +1 -1066
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +2 -93
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +1 -91
- package/resources/messages.mjs.map +1 -1
- package/resources/v2/groups.d.mts +119 -1
- package/resources/v2/groups.d.mts.map +1 -1
- package/resources/v2/groups.d.ts +119 -1
- package/resources/v2/groups.d.ts.map +1 -1
- package/resources/v2/groups.js +43 -2
- package/resources/v2/groups.js.map +1 -1
- package/resources/v2/groups.mjs +41 -1
- package/resources/v2/groups.mjs.map +1 -1
- package/resources/v2/index.d.mts +1 -1
- package/resources/v2/index.d.mts.map +1 -1
- package/resources/v2/index.d.ts +1 -1
- package/resources/v2/index.d.ts.map +1 -1
- package/resources/v2/index.js +4 -4
- package/resources/v2/index.js.map +1 -1
- package/resources/v2/index.mjs +1 -1
- package/resources/v2/index.mjs.map +1 -1
- package/resources/v2/v2.d.mts +3 -3
- package/resources/v2/v2.d.mts.map +1 -1
- package/resources/v2/v2.d.ts +3 -3
- package/resources/v2/v2.d.ts.map +1 -1
- package/resources/v2/v2.js +2 -2
- package/resources/v2/v2.js.map +1 -1
- package/resources/v2/v2.mjs +2 -2
- package/resources/v2/v2.mjs.map +1 -1
- package/resources/webhooks.d.mts +34 -2
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +34 -2
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +11 -11
- package/src/resources/groups.ts +1 -1
- package/src/resources/index.ts +1 -1
- package/src/resources/messages/index.ts +14 -0
- package/src/resources/messages/messages.ts +1444 -0
- package/src/resources/{v2/groups → messages/v2}/index.ts +1 -1
- package/src/resources/messages/v2/v2.ts +15 -0
- package/src/resources/{v2/groups → messages/v2}/verify/services/verifications.ts +2 -2
- package/src/resources/messages/v2.ts +3 -0
- package/src/resources/messages.ts +1 -1434
- package/src/resources/v2/groups.ts +159 -1
- package/src/resources/v2/index.ts +6 -1
- package/src/resources/v2/v2.ts +8 -3
- package/src/resources/webhooks.ts +44 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/v2/groups/groups.d.mts +0 -86
- package/resources/v2/groups/groups.d.mts.map +0 -1
- package/resources/v2/groups/groups.d.ts +0 -86
- package/resources/v2/groups/groups.d.ts.map +0 -1
- package/resources/v2/groups/groups.js +0 -35
- package/resources/v2/groups/groups.js.map +0 -1
- package/resources/v2/groups/groups.mjs +0 -30
- package/resources/v2/groups/groups.mjs.map +0 -1
- package/resources/v2/groups/index.d.mts +0 -3
- package/resources/v2/groups/index.d.mts.map +0 -1
- package/resources/v2/groups/index.d.ts +0 -3
- package/resources/v2/groups/index.d.ts.map +0 -1
- package/resources/v2/groups/index.js.map +0 -1
- package/resources/v2/groups/index.mjs.map +0 -1
- package/resources/v2/groups/verify/index.d.mts.map +0 -1
- package/resources/v2/groups/verify/index.d.ts.map +0 -1
- package/resources/v2/groups/verify/index.js.map +0 -1
- package/resources/v2/groups/verify/index.mjs.map +0 -1
- package/resources/v2/groups/verify/services/index.d.mts.map +0 -1
- package/resources/v2/groups/verify/services/index.d.ts.map +0 -1
- package/resources/v2/groups/verify/services/index.js.map +0 -1
- package/resources/v2/groups/verify/services/index.mjs.map +0 -1
- package/resources/v2/groups/verify/services/services.d.mts.map +0 -1
- package/resources/v2/groups/verify/services/services.d.ts.map +0 -1
- package/resources/v2/groups/verify/services/services.js.map +0 -1
- package/resources/v2/groups/verify/services/services.mjs.map +0 -1
- package/resources/v2/groups/verify/services/verifications.d.mts.map +0 -1
- package/resources/v2/groups/verify/services/verifications.d.ts.map +0 -1
- package/resources/v2/groups/verify/services/verifications.js.map +0 -1
- package/resources/v2/groups/verify/services/verifications.mjs.map +0 -1
- package/resources/v2/groups/verify/services.d.mts.map +0 -1
- package/resources/v2/groups/verify/services.d.ts.map +0 -1
- package/resources/v2/groups/verify/services.js.map +0 -1
- package/resources/v2/groups/verify/services.mjs.map +0 -1
- package/resources/v2/groups/verify/verify.d.mts.map +0 -1
- package/resources/v2/groups/verify/verify.d.ts.map +0 -1
- package/resources/v2/groups/verify/verify.js.map +0 -1
- package/resources/v2/groups/verify/verify.mjs.map +0 -1
- package/resources/v2/groups/verify.d.mts.map +0 -1
- package/resources/v2/groups/verify.d.ts.map +0 -1
- package/resources/v2/groups/verify.js.map +0 -1
- package/resources/v2/groups/verify.mjs.map +0 -1
- package/src/resources/v2/groups/groups.ts +0 -114
- /package/resources/{v2/groups → messages/v2}/verify/index.d.mts +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/index.d.ts +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/index.js +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/index.mjs +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/services/index.d.mts +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/services/index.d.ts +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/services/index.js +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/services/index.mjs +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/services/services.d.mts +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/services/services.d.ts +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/services/services.js +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/services/services.mjs +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/services.d.mts +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/services.d.ts +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/services.js +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/services.mjs +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/verify.d.mts +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/verify.d.ts +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/verify.js +0 -0
- /package/resources/{v2/groups → messages/v2}/verify/verify.mjs +0 -0
- /package/resources/{v2/groups → messages/v2}/verify.d.mts +0 -0
- /package/resources/{v2/groups → messages/v2}/verify.d.ts +0 -0
- /package/resources/{v2/groups → messages/v2}/verify.js +0 -0
- /package/resources/{v2/groups → messages/v2}/verify.mjs +0 -0
- /package/src/resources/{v2/groups → messages/v2}/verify/index.ts +0 -0
- /package/src/resources/{v2/groups → messages/v2}/verify/services/index.ts +0 -0
- /package/src/resources/{v2/groups → messages/v2}/verify/services/services.ts +0 -0
- /package/src/resources/{v2/groups → messages/v2}/verify/services.ts +0 -0
- /package/src/resources/{v2/groups → messages/v2}/verify/verify.ts +0 -0
- /package/src/resources/{v2/groups → messages/v2}/verify.ts +0 -0
package/resources/v2/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
export { Groups } from "./groups
|
|
2
|
+
export { Groups, } from "./groups.mjs";
|
|
3
3
|
export { Seats, } from "./seats.mjs";
|
|
4
4
|
export { Totp } from "./totp/index.mjs";
|
|
5
5
|
export { V2 } from "./v2.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v2/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/v2/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,MAAM,GAIP,qBAAiB;AAClB,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,8 +1,8 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as GroupsAPI from "./groups.mjs";
|
|
3
|
+
import { GroupRenameParams, GroupRenameResponse, 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
|
-
import * as GroupsAPI from "./groups/groups.mjs";
|
|
5
|
-
import { GroupRetrieveResponse, Groups } from "./groups/groups.mjs";
|
|
6
6
|
import * as TotpAPI from "./totp/totp.mjs";
|
|
7
7
|
import { Totp, TotpGetCodeResponse } from "./totp/totp.mjs";
|
|
8
8
|
export declare class V2 extends APIResource {
|
|
@@ -13,6 +13,6 @@ export declare class V2 extends APIResource {
|
|
|
13
13
|
export declare namespace V2 {
|
|
14
14
|
export { Totp as Totp, type TotpGetCodeResponse as TotpGetCodeResponse };
|
|
15
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 };
|
|
16
|
+
export { Groups as Groups, type GroupRetrieveResponse as GroupRetrieveResponse, type GroupRenameResponse as GroupRenameResponse, type GroupRenameParams as GroupRenameParams, };
|
|
17
17
|
}
|
|
18
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,
|
|
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,iBAAiB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,EAAE,qBAAiB;AACjG,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,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
package/resources/v2/v2.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as GroupsAPI from "./groups.js";
|
|
3
|
+
import { GroupRenameParams, GroupRenameResponse, 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
|
-
import * as GroupsAPI from "./groups/groups.js";
|
|
5
|
-
import { GroupRetrieveResponse, Groups } from "./groups/groups.js";
|
|
6
6
|
import * as TotpAPI from "./totp/totp.js";
|
|
7
7
|
import { Totp, TotpGetCodeResponse } from "./totp/totp.js";
|
|
8
8
|
export declare class V2 extends APIResource {
|
|
@@ -13,6 +13,6 @@ export declare class V2 extends APIResource {
|
|
|
13
13
|
export declare namespace V2 {
|
|
14
14
|
export { Totp as Totp, type TotpGetCodeResponse as TotpGetCodeResponse };
|
|
15
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 };
|
|
16
|
+
export { Groups as Groups, type GroupRetrieveResponse as GroupRetrieveResponse, type GroupRenameResponse as GroupRenameResponse, type GroupRenameParams as GroupRenameParams, };
|
|
17
17
|
}
|
|
18
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,
|
|
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,iBAAiB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,EAAE,oBAAiB;AACjG,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,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
package/resources/v2/v2.js
CHANGED
|
@@ -4,10 +4,10 @@ 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
|
-
const GroupsAPI = tslib_1.__importStar(require("./groups/groups.js"));
|
|
10
|
-
const groups_1 = require("./groups/groups.js");
|
|
11
11
|
const TotpAPI = tslib_1.__importStar(require("./totp/totp.js"));
|
|
12
12
|
const totp_1 = require("./totp/totp.js");
|
|
13
13
|
class V2 extends resource_1.APIResource {
|
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,
|
|
1
|
+
{"version":3,"file":"v2.js","sourceRoot":"","sources":["../../src/resources/v2/v2.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAiG;AACjG,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,9 +1,9 @@
|
|
|
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
|
-
import * as GroupsAPI from "./groups/groups.mjs";
|
|
6
|
-
import { Groups } from "./groups/groups.mjs";
|
|
7
7
|
import * as TotpAPI from "./totp/totp.mjs";
|
|
8
8
|
import { Totp } from "./totp/totp.mjs";
|
|
9
9
|
export class V2 extends APIResource {
|
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,
|
|
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,EAAiE,MAAM,EAAE,qBAAiB;AACjG,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"}
|
package/resources/webhooks.d.mts
CHANGED
|
@@ -64,10 +64,18 @@ export declare namespace WebhookCreateResponse {
|
|
|
64
64
|
* Webhooks for contact created events
|
|
65
65
|
*/
|
|
66
66
|
contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
67
|
+
/**
|
|
68
|
+
* Webhooks for durable contact-profile publication completion and failure events
|
|
69
|
+
*/
|
|
70
|
+
contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
67
71
|
/**
|
|
68
72
|
* Global secret applied to all webhooks
|
|
69
73
|
*/
|
|
70
74
|
globalSecret?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Webhooks for inbound call events
|
|
77
|
+
*/
|
|
78
|
+
inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
71
79
|
/**
|
|
72
80
|
* Webhooks for line assigned events
|
|
73
81
|
*/
|
|
@@ -105,10 +113,18 @@ export declare namespace WebhookUpdateResponse {
|
|
|
105
113
|
* Webhooks for contact created events
|
|
106
114
|
*/
|
|
107
115
|
contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
116
|
+
/**
|
|
117
|
+
* Webhooks for durable contact-profile publication completion and failure events
|
|
118
|
+
*/
|
|
119
|
+
contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
108
120
|
/**
|
|
109
121
|
* Global secret applied to all webhooks
|
|
110
122
|
*/
|
|
111
123
|
globalSecret?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Webhooks for inbound call events
|
|
126
|
+
*/
|
|
127
|
+
inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
112
128
|
/**
|
|
113
129
|
* Webhooks for line assigned events
|
|
114
130
|
*/
|
|
@@ -145,10 +161,18 @@ export declare namespace WebhookListResponse {
|
|
|
145
161
|
* Webhooks for contact created events
|
|
146
162
|
*/
|
|
147
163
|
contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
164
|
+
/**
|
|
165
|
+
* Webhooks for durable contact-profile publication completion and failure events
|
|
166
|
+
*/
|
|
167
|
+
contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
148
168
|
/**
|
|
149
169
|
* Global secret applied to all webhooks
|
|
150
170
|
*/
|
|
151
171
|
globalSecret?: string;
|
|
172
|
+
/**
|
|
173
|
+
* Webhooks for inbound call events
|
|
174
|
+
*/
|
|
175
|
+
inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
152
176
|
/**
|
|
153
177
|
* Webhooks for line assigned events
|
|
154
178
|
*/
|
|
@@ -187,7 +211,7 @@ export interface WebhookCreateParams {
|
|
|
187
211
|
/**
|
|
188
212
|
* Type of webhook to add
|
|
189
213
|
*/
|
|
190
|
-
type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'contact_created';
|
|
214
|
+
type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'inbound_call' | 'contact_profile' | 'contact_created';
|
|
191
215
|
}
|
|
192
216
|
export interface WebhookUpdateParams {
|
|
193
217
|
webhooks: WebhookUpdateParams.Webhooks;
|
|
@@ -202,10 +226,18 @@ export declare namespace WebhookUpdateParams {
|
|
|
202
226
|
* Webhooks for contact created events
|
|
203
227
|
*/
|
|
204
228
|
contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
229
|
+
/**
|
|
230
|
+
* Webhooks for durable contact-profile publication completion and failure events
|
|
231
|
+
*/
|
|
232
|
+
contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
205
233
|
/**
|
|
206
234
|
* Global secret applied to all webhooks
|
|
207
235
|
*/
|
|
208
236
|
globalSecret?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Webhooks for inbound call events
|
|
239
|
+
*/
|
|
240
|
+
inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
209
241
|
/**
|
|
210
242
|
* Webhooks for line assigned events
|
|
211
243
|
*/
|
|
@@ -236,7 +268,7 @@ export interface WebhookDeleteParams {
|
|
|
236
268
|
/**
|
|
237
269
|
* Type of webhook to delete from
|
|
238
270
|
*/
|
|
239
|
-
type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'contact_created';
|
|
271
|
+
type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'inbound_call' | 'contact_profile' | 'contact_created';
|
|
240
272
|
}
|
|
241
273
|
export declare namespace Webhooks {
|
|
242
274
|
export { type WebhookConfiguration as WebhookConfiguration, type WebhookCreateResponse as WebhookCreateResponse, type WebhookUpdateResponse as WebhookUpdateResponse, type WebhookListResponse as WebhookListResponse, type WebhookDeleteResponse as WebhookDeleteResponse, type WebhookCreateParams as WebhookCreateParams, type WebhookUpdateParams as WebhookUpdateParams, type WebhookDeleteParams as WebhookDeleteParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.d.mts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,WAAW,uBAAmB;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AAI,CAAC,EACD,SAAS,GACT,cAAc,GACd,eAAe,GACf,UAAU,GACV,kBAAkB,GAClB,UAAU,GACV,cAAc,GACd,iBAAiB,GACjB,iBAAiB,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
package/resources/webhooks.d.ts
CHANGED
|
@@ -64,10 +64,18 @@ export declare namespace WebhookCreateResponse {
|
|
|
64
64
|
* Webhooks for contact created events
|
|
65
65
|
*/
|
|
66
66
|
contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
67
|
+
/**
|
|
68
|
+
* Webhooks for durable contact-profile publication completion and failure events
|
|
69
|
+
*/
|
|
70
|
+
contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
67
71
|
/**
|
|
68
72
|
* Global secret applied to all webhooks
|
|
69
73
|
*/
|
|
70
74
|
globalSecret?: string;
|
|
75
|
+
/**
|
|
76
|
+
* Webhooks for inbound call events
|
|
77
|
+
*/
|
|
78
|
+
inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
71
79
|
/**
|
|
72
80
|
* Webhooks for line assigned events
|
|
73
81
|
*/
|
|
@@ -105,10 +113,18 @@ export declare namespace WebhookUpdateResponse {
|
|
|
105
113
|
* Webhooks for contact created events
|
|
106
114
|
*/
|
|
107
115
|
contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
116
|
+
/**
|
|
117
|
+
* Webhooks for durable contact-profile publication completion and failure events
|
|
118
|
+
*/
|
|
119
|
+
contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
108
120
|
/**
|
|
109
121
|
* Global secret applied to all webhooks
|
|
110
122
|
*/
|
|
111
123
|
globalSecret?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Webhooks for inbound call events
|
|
126
|
+
*/
|
|
127
|
+
inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
112
128
|
/**
|
|
113
129
|
* Webhooks for line assigned events
|
|
114
130
|
*/
|
|
@@ -145,10 +161,18 @@ export declare namespace WebhookListResponse {
|
|
|
145
161
|
* Webhooks for contact created events
|
|
146
162
|
*/
|
|
147
163
|
contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
164
|
+
/**
|
|
165
|
+
* Webhooks for durable contact-profile publication completion and failure events
|
|
166
|
+
*/
|
|
167
|
+
contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
148
168
|
/**
|
|
149
169
|
* Global secret applied to all webhooks
|
|
150
170
|
*/
|
|
151
171
|
globalSecret?: string;
|
|
172
|
+
/**
|
|
173
|
+
* Webhooks for inbound call events
|
|
174
|
+
*/
|
|
175
|
+
inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
152
176
|
/**
|
|
153
177
|
* Webhooks for line assigned events
|
|
154
178
|
*/
|
|
@@ -187,7 +211,7 @@ export interface WebhookCreateParams {
|
|
|
187
211
|
/**
|
|
188
212
|
* Type of webhook to add
|
|
189
213
|
*/
|
|
190
|
-
type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'contact_created';
|
|
214
|
+
type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'inbound_call' | 'contact_profile' | 'contact_created';
|
|
191
215
|
}
|
|
192
216
|
export interface WebhookUpdateParams {
|
|
193
217
|
webhooks: WebhookUpdateParams.Webhooks;
|
|
@@ -202,10 +226,18 @@ export declare namespace WebhookUpdateParams {
|
|
|
202
226
|
* Webhooks for contact created events
|
|
203
227
|
*/
|
|
204
228
|
contact_created?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
229
|
+
/**
|
|
230
|
+
* Webhooks for durable contact-profile publication completion and failure events
|
|
231
|
+
*/
|
|
232
|
+
contact_profile?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
205
233
|
/**
|
|
206
234
|
* Global secret applied to all webhooks
|
|
207
235
|
*/
|
|
208
236
|
globalSecret?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Webhooks for inbound call events
|
|
239
|
+
*/
|
|
240
|
+
inbound_call?: Array<string | WebhooksAPI.WebhookConfiguration>;
|
|
209
241
|
/**
|
|
210
242
|
* Webhooks for line assigned events
|
|
211
243
|
*/
|
|
@@ -236,7 +268,7 @@ export interface WebhookDeleteParams {
|
|
|
236
268
|
/**
|
|
237
269
|
* Type of webhook to delete from
|
|
238
270
|
*/
|
|
239
|
-
type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'contact_created';
|
|
271
|
+
type?: 'receive' | 'line_blocked' | 'line_assigned' | 'outbound' | 'typing_indicator' | 'call_log' | 'inbound_call' | 'contact_profile' | 'contact_created';
|
|
240
272
|
}
|
|
241
273
|
export declare namespace Webhooks {
|
|
242
274
|
export { type WebhookConfiguration as WebhookConfiguration, type WebhookCreateResponse as WebhookCreateResponse, type WebhookUpdateResponse as WebhookUpdateResponse, type WebhookListResponse as WebhookListResponse, type WebhookDeleteResponse as WebhookDeleteResponse, type WebhookCreateParams as WebhookCreateParams, type WebhookUpdateParams as WebhookUpdateParams, type WebhookDeleteParams as WebhookDeleteParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,WAAW,sBAAmB;AAC1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CAAC,EACD,SAAS,GACT,cAAc,GACd,eAAe,GACf,UAAU,GACV,kBAAkB,GAClB,UAAU,GACV,cAAc,GACd,iBAAiB,GACjB,iBAAiB,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
package/src/client.ts
CHANGED
|
@@ -30,17 +30,6 @@ import {
|
|
|
30
30
|
} from './resources/location';
|
|
31
31
|
import { LookupLookupNumberParams, LookupLookupNumberResponse, Lookups } from './resources/lookups';
|
|
32
32
|
import { MediaObjectUploadParams, MediaObjectUploadResponse, MediaObjects } from './resources/media-objects';
|
|
33
|
-
import {
|
|
34
|
-
MessageContent,
|
|
35
|
-
MessageGetStatusParams,
|
|
36
|
-
MessageListParams,
|
|
37
|
-
MessageListResponse,
|
|
38
|
-
MessageResponse,
|
|
39
|
-
MessageRetrieveResponse,
|
|
40
|
-
MessageSendParams,
|
|
41
|
-
MessageUpdateAppCardParams,
|
|
42
|
-
Messages,
|
|
43
|
-
} from './resources/messages';
|
|
44
33
|
import {
|
|
45
34
|
RequestLocation,
|
|
46
35
|
RequestLocationCreateParams,
|
|
@@ -89,6 +78,17 @@ import {
|
|
|
89
78
|
Contacts,
|
|
90
79
|
} from './resources/contacts/contacts';
|
|
91
80
|
import { LineGetStateResponse, LineState, Lines } from './resources/lines/lines';
|
|
81
|
+
import {
|
|
82
|
+
MessageContent,
|
|
83
|
+
MessageGetStatusParams,
|
|
84
|
+
MessageListParams,
|
|
85
|
+
MessageListResponse,
|
|
86
|
+
MessageResponse,
|
|
87
|
+
MessageRetrieveResponse,
|
|
88
|
+
MessageSendParams,
|
|
89
|
+
MessageUpdateAppCardParams,
|
|
90
|
+
Messages,
|
|
91
|
+
} from './resources/messages/messages';
|
|
92
92
|
import { V2 } from './resources/v2/v2';
|
|
93
93
|
import { Verify } from './resources/verify/verify';
|
|
94
94
|
import { type Fetch } from './internal/builtin-types';
|
package/src/resources/groups.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
-
import * as MessagesAPI from './messages';
|
|
4
|
+
import * as MessagesAPI from './messages/messages';
|
|
5
5
|
import { APIPromise } from '../core/api-promise';
|
|
6
6
|
import { RequestOptions } from '../internal/request-options';
|
|
7
7
|
|
package/src/resources/index.ts
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
Messages,
|
|
5
|
+
type MessageContent,
|
|
6
|
+
type MessageResponse,
|
|
7
|
+
type MessageRetrieveResponse,
|
|
8
|
+
type MessageListResponse,
|
|
9
|
+
type MessageListParams,
|
|
10
|
+
type MessageGetStatusParams,
|
|
11
|
+
type MessageSendParams,
|
|
12
|
+
type MessageUpdateAppCardParams,
|
|
13
|
+
} from './messages';
|
|
14
|
+
export { V2 } from './v2/index';
|