@zyphr-dev/node-sdk 0.1.33 → 0.1.34

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.
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Zyphr API
5
+ * Zyphr is a multi-channel notification platform that enables developers to send emails, push notifications, SMS, and in-app messages through a unified API. ## Authentication All API requests require authentication using an API key. Include your API key in the `X-API-Key` header: ``` X-API-Key: zy_live_xxxxxxxxxxxx ``` API keys can be created in the Zyphr Dashboard. Use `zy_test_*` keys for testing and `zy_live_*` keys for production. ## Rate Limiting The API implements rate limiting to ensure fair usage. Rate limit information is included in response headers: - `X-RateLimit-Limit`: Maximum requests per window - `X-RateLimit-Remaining`: Remaining requests in current window - `X-RateLimit-Reset`: Unix timestamp when the window resets ## Errors All errors follow a consistent format: ```json { \"error\": { \"code\": \"error_code\", \"message\": \"Human readable message\", \"details\": {} }, \"meta\": { \"request_id\": \"req_xxxx\" } } ```
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: support@zyphr.dev
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SetDomainInboundRequest
20
+ */
21
+ export interface SetDomainInboundRequest {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof SetDomainInboundRequest
26
+ */
27
+ enabled?: boolean;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the SetDomainInboundRequest interface.
32
+ */
33
+ export function instanceOfSetDomainInboundRequest(value: object): value is SetDomainInboundRequest {
34
+ return true;
35
+ }
36
+
37
+ export function SetDomainInboundRequestFromJSON(json: any): SetDomainInboundRequest {
38
+ return SetDomainInboundRequestFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function SetDomainInboundRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetDomainInboundRequest {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+
47
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
48
+ };
49
+ }
50
+
51
+ export function SetDomainInboundRequestToJSON(json: any): SetDomainInboundRequest {
52
+ return SetDomainInboundRequestToJSONTyped(json, false);
53
+ }
54
+
55
+ export function SetDomainInboundRequestToJSONTyped(value?: SetDomainInboundRequest | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+
60
+ return {
61
+
62
+ 'enabled': value['enabled'],
63
+ };
64
+ }
65
+
@@ -116,6 +116,14 @@ export * from './GetDomain200ResponseMeta';
116
116
  export * from './GetWaaSEndpoint200Response';
117
117
  export * from './GetWaaSUsage200Response';
118
118
  export * from './InAppNotification';
119
+ export * from './InboundAttachmentUrlResponse';
120
+ export * from './InboundAttachmentUrlResponseData';
121
+ export * from './InboundEmail';
122
+ export * from './InboundEmailAttachment';
123
+ export * from './InboundEmailFrom';
124
+ export * from './InboundEmailListResponse';
125
+ export * from './InboundEmailListResponseMeta';
126
+ export * from './InboundEmailResponse';
119
127
  export * from './InboxListMeta';
120
128
  export * from './InboxListResponse';
121
129
  export * from './InboxNotificationResponse';
@@ -263,6 +271,7 @@ export * from './SendWebhookTestEventRequest';
263
271
  export * from './SessionListResponse';
264
272
  export * from './SessionListResponseData';
265
273
  export * from './SessionListResponseDataSessionInfo';
274
+ export * from './SetDomainInboundRequest';
266
275
  export * from './SetPreferencesRequest';
267
276
  export * from './SetPreferencesRequestPreferencesInner';
268
277
  export * from './SignInAnonymouslyRequest';