@droz-js/sdk 0.14.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@droz-js/sdk",
3
3
  "description": "Droz SDK",
4
- "version": "0.14.0",
4
+ "version": "0.14.1",
5
5
  "private": false,
6
6
  "repository": {
7
7
  "type": "git",
package/src/email.d.ts ADDED
@@ -0,0 +1,32 @@
1
+ export * from './sdks/email';
2
+ declare const Email_base: new (options?: import("./client/http").HttpClientOptions) => {
3
+ readonly http: any;
4
+ forTenant(tenant: string): /*elided*/ any;
5
+ withAuthorization(authorization: import("./client/helpers").AuthorizationProvider): /*elided*/ any;
6
+ withCustomHeaders(headers: () => Record<string, string>): /*elided*/ any;
7
+ withHttpRequestExecutor(httpRequestExecutor: import("./client/http").HttpRequestExecutor): /*elided*/ any;
8
+ } & {
9
+ GetEmailInstance(variables: import("./sdks/email").Exact<{
10
+ id: import("./sdks/email").Scalars["ID"]["input"];
11
+ }>, options?: unknown): Promise<import("./sdks/email").GetEmailInstanceQuery>;
12
+ ListEmailInstances(variables?: import("./sdks/email").Exact<{
13
+ [key: string]: never;
14
+ }>, options?: unknown): Promise<import("./sdks/email").ListEmailInstancesQuery>;
15
+ CreateEmailInstance(variables: import("./sdks/email").Exact<{
16
+ input: import("./sdks/email").CreateEmailInstanceInput;
17
+ }>, options?: unknown): Promise<import("./sdks/email").CreateEmailInstanceMutation>;
18
+ UpdateEmailInstance(variables: import("./sdks/email").Exact<{
19
+ input: import("./sdks/email").UpdateEmailInstanceInput;
20
+ }>, options?: unknown): Promise<import("./sdks/email").UpdateEmailInstanceMutation>;
21
+ RemoveEmailInstance(variables: import("./sdks/email").Exact<{
22
+ input: import("./sdks/email").RemoveEmailInstanceInput;
23
+ }>, options?: unknown): Promise<import("./sdks/email").RemoveEmailInstanceMutation>;
24
+ ValidateInstanceDomain(variables: import("./sdks/email").Exact<{
25
+ input: import("./sdks/email").ValidateInstanceDomainInput;
26
+ }>, options?: unknown): Promise<import("./sdks/email").ValidateInstanceDomainMutation>;
27
+ ListThreadingBySessionId(variables: import("./sdks/email").Exact<{
28
+ sessionId: import("./sdks/email").Scalars["ID"]["input"];
29
+ }>, options?: unknown): Promise<import("./sdks/email").ListThreadingBySessionIdQuery>;
30
+ };
31
+ export declare class Email extends Email_base {
32
+ }
package/src/email.js ADDED
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.Email = void 0;
18
+ const http_1 = require("./client/http");
19
+ const email_1 = require("./sdks/email");
20
+ __exportStar(require("./sdks/email"), exports);
21
+ class Email extends (0, http_1.HttpClientBuilder)(email_1.serviceName, email_1.getSdk) {
22
+ }
23
+ exports.Email = Email;