@zyphr-dev/node-sdk 0.1.0 → 0.1.2
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/README.md +436 -47
- package/dist/client.d.ts +9 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +10 -1
- package/dist/client.js.map +1 -1
- package/dist/src/apis/WaaSApplicationsApi.d.ts +204 -0
- package/dist/src/apis/WaaSApplicationsApi.d.ts.map +1 -0
- package/dist/src/apis/WaaSApplicationsApi.js +215 -0
- package/dist/src/apis/WaaSApplicationsApi.js.map +1 -0
- package/dist/src/apis/WaaSDeliveriesApi.d.ts +169 -0
- package/dist/src/apis/WaaSDeliveriesApi.d.ts.map +1 -0
- package/dist/src/apis/WaaSDeliveriesApi.js +179 -0
- package/dist/src/apis/WaaSDeliveriesApi.js.map +1 -0
- package/dist/src/apis/WaaSEndpointsApi.d.ts +299 -0
- package/dist/src/apis/WaaSEndpointsApi.d.ts.map +1 -0
- package/dist/src/apis/WaaSEndpointsApi.js +323 -0
- package/dist/src/apis/WaaSEndpointsApi.js.map +1 -0
- package/dist/src/apis/WaaSEventTypesApi.d.ts +211 -0
- package/dist/src/apis/WaaSEventTypesApi.d.ts.map +1 -0
- package/dist/src/apis/WaaSEventTypesApi.js +229 -0
- package/dist/src/apis/WaaSEventTypesApi.js.map +1 -0
- package/dist/src/apis/WaaSEventsApi.d.ts +85 -0
- package/dist/src/apis/WaaSEventsApi.d.ts.map +1 -0
- package/dist/src/apis/WaaSEventsApi.js +89 -0
- package/dist/src/apis/WaaSEventsApi.js.map +1 -0
- package/dist/src/apis/WaaSPortalApi.d.ts +56 -0
- package/dist/src/apis/WaaSPortalApi.d.ts.map +1 -0
- package/dist/src/apis/WaaSPortalApi.js +55 -0
- package/dist/src/apis/WaaSPortalApi.js.map +1 -0
- package/dist/src/apis/index.d.ts +6 -0
- package/dist/src/apis/index.d.ts.map +1 -1
- package/dist/src/apis/index.js +6 -0
- package/dist/src/apis/index.js.map +1 -1
- package/dist/src/models/BatchPublishWaaSEvents201Response.d.ts +34 -0
- package/dist/src/models/BatchPublishWaaSEvents201Response.d.ts.map +1 -0
- package/dist/src/models/BatchPublishWaaSEvents201Response.js +43 -0
- package/dist/src/models/BatchPublishWaaSEvents201Response.js.map +1 -0
- package/dist/src/models/CreateWaaSApplication201Response.d.ts +34 -0
- package/dist/src/models/CreateWaaSApplication201Response.d.ts.map +1 -0
- package/dist/src/models/CreateWaaSApplication201Response.js +43 -0
- package/dist/src/models/CreateWaaSApplication201Response.js.map +1 -0
- package/dist/src/models/CreateWaaSApplicationRequest.d.ts +45 -0
- package/dist/src/models/CreateWaaSApplicationRequest.d.ts.map +1 -0
- package/dist/src/models/CreateWaaSApplicationRequest.js +50 -0
- package/dist/src/models/CreateWaaSApplicationRequest.js.map +1 -0
- package/dist/src/models/CreateWaaSEndpoint201Response.d.ts +34 -0
- package/dist/src/models/CreateWaaSEndpoint201Response.d.ts.map +1 -0
- package/dist/src/models/CreateWaaSEndpoint201Response.js +43 -0
- package/dist/src/models/CreateWaaSEndpoint201Response.js.map +1 -0
- package/dist/src/models/CreateWaaSEndpointRequest.d.ts +45 -0
- package/dist/src/models/CreateWaaSEndpointRequest.d.ts.map +1 -0
- package/dist/src/models/CreateWaaSEndpointRequest.js +52 -0
- package/dist/src/models/CreateWaaSEndpointRequest.js.map +1 -0
- package/dist/src/models/CreateWaaSEndpointResponse.d.ts +69 -0
- package/dist/src/models/CreateWaaSEndpointResponse.d.ts.map +1 -0
- package/dist/src/models/CreateWaaSEndpointResponse.js +54 -0
- package/dist/src/models/CreateWaaSEndpointResponse.js.map +1 -0
- package/dist/src/models/CreateWaaSEventType201Response.d.ts +34 -0
- package/dist/src/models/CreateWaaSEventType201Response.d.ts.map +1 -0
- package/dist/src/models/CreateWaaSEventType201Response.js +43 -0
- package/dist/src/models/CreateWaaSEventType201Response.js.map +1 -0
- package/dist/src/models/CreateWaaSEventTypeRequest.d.ts +57 -0
- package/dist/src/models/CreateWaaSEventTypeRequest.d.ts.map +1 -0
- package/dist/src/models/CreateWaaSEventTypeRequest.js +54 -0
- package/dist/src/models/CreateWaaSEventTypeRequest.js.map +1 -0
- package/dist/src/models/GenerateWaaSPortalToken201Response.d.ts +34 -0
- package/dist/src/models/GenerateWaaSPortalToken201Response.d.ts.map +1 -0
- package/dist/src/models/GenerateWaaSPortalToken201Response.js +43 -0
- package/dist/src/models/GenerateWaaSPortalToken201Response.js.map +1 -0
- package/dist/src/models/GetWaaSEndpoint200Response.d.ts +34 -0
- package/dist/src/models/GetWaaSEndpoint200Response.d.ts.map +1 -0
- package/dist/src/models/GetWaaSEndpoint200Response.js +43 -0
- package/dist/src/models/GetWaaSEndpoint200Response.js.map +1 -0
- package/dist/src/models/GetWaaSUsage200Response.d.ts +34 -0
- package/dist/src/models/GetWaaSUsage200Response.d.ts.map +1 -0
- package/dist/src/models/GetWaaSUsage200Response.js +43 -0
- package/dist/src/models/GetWaaSUsage200Response.js.map +1 -0
- package/dist/src/models/ListWaaSApplications200Response.d.ts +34 -0
- package/dist/src/models/ListWaaSApplications200Response.d.ts.map +1 -0
- package/dist/src/models/ListWaaSApplications200Response.js +43 -0
- package/dist/src/models/ListWaaSApplications200Response.js.map +1 -0
- package/dist/src/models/ListWaaSEndpointDeliveries200Response.d.ts +34 -0
- package/dist/src/models/ListWaaSEndpointDeliveries200Response.d.ts.map +1 -0
- package/dist/src/models/ListWaaSEndpointDeliveries200Response.js +43 -0
- package/dist/src/models/ListWaaSEndpointDeliveries200Response.js.map +1 -0
- package/dist/src/models/ListWaaSEndpoints200Response.d.ts +34 -0
- package/dist/src/models/ListWaaSEndpoints200Response.d.ts.map +1 -0
- package/dist/src/models/ListWaaSEndpoints200Response.js +43 -0
- package/dist/src/models/ListWaaSEndpoints200Response.js.map +1 -0
- package/dist/src/models/ListWaaSEventTypes200Response.d.ts +34 -0
- package/dist/src/models/ListWaaSEventTypes200Response.d.ts.map +1 -0
- package/dist/src/models/ListWaaSEventTypes200Response.js +43 -0
- package/dist/src/models/ListWaaSEventTypes200Response.js.map +1 -0
- package/dist/src/models/PublishWaaSEvent201Response.d.ts +34 -0
- package/dist/src/models/PublishWaaSEvent201Response.d.ts.map +1 -0
- package/dist/src/models/PublishWaaSEvent201Response.js +43 -0
- package/dist/src/models/PublishWaaSEvent201Response.js.map +1 -0
- package/dist/src/models/UpdateWaaSApplicationRequest.d.ts +54 -0
- package/dist/src/models/UpdateWaaSApplicationRequest.d.ts.map +1 -0
- package/dist/src/models/UpdateWaaSApplicationRequest.js +54 -0
- package/dist/src/models/UpdateWaaSApplicationRequest.js.map +1 -0
- package/dist/src/models/UpdateWaaSEndpointRequest.d.ts +54 -0
- package/dist/src/models/UpdateWaaSEndpointRequest.d.ts.map +1 -0
- package/dist/src/models/UpdateWaaSEndpointRequest.js +54 -0
- package/dist/src/models/UpdateWaaSEndpointRequest.js.map +1 -0
- package/dist/src/models/UpdateWaaSEventTypeRequest.d.ts +51 -0
- package/dist/src/models/UpdateWaaSEventTypeRequest.d.ts.map +1 -0
- package/dist/src/models/UpdateWaaSEventTypeRequest.js +48 -0
- package/dist/src/models/UpdateWaaSEventTypeRequest.js.map +1 -0
- package/dist/src/models/WaaSApplication.d.ts +84 -0
- package/dist/src/models/WaaSApplication.d.ts.map +1 -0
- package/dist/src/models/WaaSApplication.js +64 -0
- package/dist/src/models/WaaSApplication.js.map +1 -0
- package/dist/src/models/WaaSBatchPublishRequest.d.ts +34 -0
- package/dist/src/models/WaaSBatchPublishRequest.d.ts.map +1 -0
- package/dist/src/models/WaaSBatchPublishRequest.js +45 -0
- package/dist/src/models/WaaSBatchPublishRequest.js.map +1 -0
- package/dist/src/models/WaaSBatchPublishResponse.d.ts +45 -0
- package/dist/src/models/WaaSBatchPublishResponse.d.ts.map +1 -0
- package/dist/src/models/WaaSBatchPublishResponse.js +46 -0
- package/dist/src/models/WaaSBatchPublishResponse.js.map +1 -0
- package/dist/src/models/WaaSDelivery.d.ts +105 -0
- package/dist/src/models/WaaSDelivery.d.ts.map +1 -0
- package/dist/src/models/WaaSDelivery.js +73 -0
- package/dist/src/models/WaaSDelivery.js.map +1 -0
- package/dist/src/models/WaaSEndpoint.d.ts +84 -0
- package/dist/src/models/WaaSEndpoint.d.ts.map +1 -0
- package/dist/src/models/WaaSEndpoint.js +64 -0
- package/dist/src/models/WaaSEndpoint.js.map +1 -0
- package/dist/src/models/WaaSEventType.d.ts +95 -0
- package/dist/src/models/WaaSEventType.d.ts.map +1 -0
- package/dist/src/models/WaaSEventType.js +67 -0
- package/dist/src/models/WaaSEventType.js.map +1 -0
- package/dist/src/models/WaaSPortalTokenRequest.d.ts +52 -0
- package/dist/src/models/WaaSPortalTokenRequest.d.ts.map +1 -0
- package/dist/src/models/WaaSPortalTokenRequest.js +51 -0
- package/dist/src/models/WaaSPortalTokenRequest.js.map +1 -0
- package/dist/src/models/WaaSPortalTokenRequestTheme.d.ts +47 -0
- package/dist/src/models/WaaSPortalTokenRequestTheme.d.ts.map +1 -0
- package/dist/src/models/WaaSPortalTokenRequestTheme.js +51 -0
- package/dist/src/models/WaaSPortalTokenRequestTheme.js.map +1 -0
- package/dist/src/models/WaaSPortalTokenResponse.d.ts +39 -0
- package/dist/src/models/WaaSPortalTokenResponse.d.ts.map +1 -0
- package/dist/src/models/WaaSPortalTokenResponse.js +44 -0
- package/dist/src/models/WaaSPortalTokenResponse.js.map +1 -0
- package/dist/src/models/WaaSPublishEventRequest.d.ts +51 -0
- package/dist/src/models/WaaSPublishEventRequest.d.ts.map +1 -0
- package/dist/src/models/WaaSPublishEventRequest.js +54 -0
- package/dist/src/models/WaaSPublishEventRequest.js.map +1 -0
- package/dist/src/models/WaaSPublishEventResponse.d.ts +57 -0
- package/dist/src/models/WaaSPublishEventResponse.d.ts.map +1 -0
- package/dist/src/models/WaaSPublishEventResponse.js +50 -0
- package/dist/src/models/WaaSPublishEventResponse.js.map +1 -0
- package/dist/src/models/WaaSUsageResponse.d.ts +63 -0
- package/dist/src/models/WaaSUsageResponse.d.ts.map +1 -0
- package/dist/src/models/WaaSUsageResponse.js +52 -0
- package/dist/src/models/WaaSUsageResponse.js.map +1 -0
- package/dist/src/models/index.d.ts +31 -0
- package/dist/src/models/index.d.ts.map +1 -1
- package/dist/src/models/index.js +31 -0
- package/dist/src/models/index.js.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +37 -0
- package/src/client.ts +24 -0
- package/src/src/apis/WaaSApplicationsApi.ts +438 -0
- package/src/src/apis/WaaSDeliveriesApi.ts +361 -0
- package/src/src/apis/WaaSEndpointsApi.ts +691 -0
- package/src/src/apis/WaaSEventTypesApi.ts +486 -0
- package/src/src/apis/WaaSEventsApi.ts +190 -0
- package/src/src/apis/WaaSPortalApi.ts +113 -0
- package/src/src/apis/index.ts +6 -0
- package/src/src/models/BatchPublishWaaSEvents201Response.ts +73 -0
- package/src/src/models/CreateWaaSApplication201Response.ts +73 -0
- package/src/src/models/CreateWaaSApplicationRequest.ts +83 -0
- package/src/src/models/CreateWaaSEndpoint201Response.ts +73 -0
- package/src/src/models/CreateWaaSEndpointRequest.ts +84 -0
- package/src/src/models/CreateWaaSEndpointResponse.ts +113 -0
- package/src/src/models/CreateWaaSEventType201Response.ts +73 -0
- package/src/src/models/CreateWaaSEventTypeRequest.ts +99 -0
- package/src/src/models/GenerateWaaSPortalToken201Response.ts +73 -0
- package/src/src/models/GetWaaSEndpoint200Response.ts +73 -0
- package/src/src/models/GetWaaSUsage200Response.ts +73 -0
- package/src/src/models/ListWaaSApplications200Response.ts +73 -0
- package/src/src/models/ListWaaSEndpointDeliveries200Response.ts +73 -0
- package/src/src/models/ListWaaSEndpoints200Response.ts +73 -0
- package/src/src/models/ListWaaSEventTypes200Response.ts +73 -0
- package/src/src/models/PublishWaaSEvent201Response.ts +73 -0
- package/src/src/models/UpdateWaaSApplicationRequest.ts +93 -0
- package/src/src/models/UpdateWaaSEndpointRequest.ts +93 -0
- package/src/src/models/UpdateWaaSEventTypeRequest.ts +89 -0
- package/src/src/models/WaaSApplication.ts +133 -0
- package/src/src/models/WaaSBatchPublishRequest.ts +74 -0
- package/src/src/models/WaaSBatchPublishResponse.ts +81 -0
- package/src/src/models/WaaSDelivery.ts +160 -0
- package/src/src/models/WaaSEndpoint.ts +133 -0
- package/src/src/models/WaaSEventType.ts +148 -0
- package/src/src/models/WaaSPortalTokenRequest.ts +98 -0
- package/src/src/models/WaaSPortalTokenRequestTheme.ts +84 -0
- package/src/src/models/WaaSPortalTokenResponse.ts +73 -0
- package/src/src/models/WaaSPublishEventRequest.ts +92 -0
- package/src/src/models/WaaSPublishEventResponse.ts +97 -0
- package/src/src/models/WaaSUsageResponse.ts +105 -0
- package/src/src/models/index.ts +31 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zyphr API
|
|
3
|
+
* 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\" } } ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@zyphr.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { WaaSBatchPublishResponse } from './WaaSBatchPublishResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BatchPublishWaaSEvents201Response
|
|
17
|
+
*/
|
|
18
|
+
export interface BatchPublishWaaSEvents201Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {WaaSBatchPublishResponse}
|
|
22
|
+
* @memberof BatchPublishWaaSEvents201Response
|
|
23
|
+
*/
|
|
24
|
+
data?: WaaSBatchPublishResponse;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the BatchPublishWaaSEvents201Response interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfBatchPublishWaaSEvents201Response(value: object): value is BatchPublishWaaSEvents201Response;
|
|
30
|
+
export declare function BatchPublishWaaSEvents201ResponseFromJSON(json: any): BatchPublishWaaSEvents201Response;
|
|
31
|
+
export declare function BatchPublishWaaSEvents201ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BatchPublishWaaSEvents201Response;
|
|
32
|
+
export declare function BatchPublishWaaSEvents201ResponseToJSON(json: any): BatchPublishWaaSEvents201Response;
|
|
33
|
+
export declare function BatchPublishWaaSEvents201ResponseToJSONTyped(value?: BatchPublishWaaSEvents201Response | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=BatchPublishWaaSEvents201Response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchPublishWaaSEvents201Response.d.ts","sourceRoot":"","sources":["../../../src/src/models/BatchPublishWaaSEvents201Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;CACnC;AAED;;GAEG;AACH,wBAAgB,2CAA2C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,iCAAiC,CAErH;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEtG;AAED,wBAAgB,8CAA8C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,iCAAiC,CAQzI;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,GAAG,iCAAiC,CAEpG;AAED,wBAAgB,4CAA4C,CAAC,KAAK,CAAC,EAAE,iCAAiC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASxJ"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
import { WaaSBatchPublishResponseFromJSON, WaaSBatchPublishResponseToJSON, } from './WaaSBatchPublishResponse';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the BatchPublishWaaSEvents201Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfBatchPublishWaaSEvents201Response(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function BatchPublishWaaSEvents201ResponseFromJSON(json) {
|
|
22
|
+
return BatchPublishWaaSEvents201ResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function BatchPublishWaaSEvents201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'data': json['data'] == null ? undefined : WaaSBatchPublishResponseFromJSON(json['data']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function BatchPublishWaaSEvents201ResponseToJSON(json) {
|
|
33
|
+
return BatchPublishWaaSEvents201ResponseToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function BatchPublishWaaSEvents201ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': WaaSBatchPublishResponseToJSON(value['data']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=BatchPublishWaaSEvents201Response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchPublishWaaSEvents201Response.js","sourceRoot":"","sources":["../../../src/src/models/BatchPublishWaaSEvents201Response.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,gCAAgC,EAEhC,8BAA8B,GAEjC,MAAM,4BAA4B,CAAC;AAgBpC;;GAEG;AACH,MAAM,UAAU,2CAA2C,CAAC,KAAa;IACrE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,yCAAyC,CAAC,IAAS;IAC/D,OAAO,8CAA8C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,MAAM,UAAU,8CAA8C,CAAC,IAAS,EAAE,mBAA4B;IAClG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,gCAAgC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KAC5F,CAAC;AACN,CAAC;AAED,MAAM,UAAU,uCAAuC,CAAC,IAAS;IAC7D,OAAO,4CAA4C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACrE,CAAC;AAED,MAAM,UAAU,4CAA4C,CAAC,KAAgD,EAAE,sBAA+B,KAAK;IAC/I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,8BAA8B,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KACxD,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zyphr API
|
|
3
|
+
* 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\" } } ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@zyphr.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { WaaSApplication } from './WaaSApplication';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateWaaSApplication201Response
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateWaaSApplication201Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {WaaSApplication}
|
|
22
|
+
* @memberof CreateWaaSApplication201Response
|
|
23
|
+
*/
|
|
24
|
+
data?: WaaSApplication;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CreateWaaSApplication201Response interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfCreateWaaSApplication201Response(value: object): value is CreateWaaSApplication201Response;
|
|
30
|
+
export declare function CreateWaaSApplication201ResponseFromJSON(json: any): CreateWaaSApplication201Response;
|
|
31
|
+
export declare function CreateWaaSApplication201ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWaaSApplication201Response;
|
|
32
|
+
export declare function CreateWaaSApplication201ResponseToJSON(json: any): CreateWaaSApplication201Response;
|
|
33
|
+
export declare function CreateWaaSApplication201ResponseToJSONTyped(value?: CreateWaaSApplication201Response | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=CreateWaaSApplication201Response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateWaaSApplication201Response.d.ts","sourceRoot":"","sources":["../../../src/src/models/CreateWaaSApplication201Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAQzD;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC7C;;;;OAIG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,0CAA0C,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,gCAAgC,CAEnH;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAEpG;AAED,wBAAgB,6CAA6C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,gCAAgC,CAQvI;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,GAAG,gCAAgC,CAElG;AAED,wBAAgB,2CAA2C,CAAC,KAAK,CAAC,EAAE,gCAAgC,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAStJ"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
import { WaaSApplicationFromJSON, WaaSApplicationToJSON, } from './WaaSApplication';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the CreateWaaSApplication201Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfCreateWaaSApplication201Response(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function CreateWaaSApplication201ResponseFromJSON(json) {
|
|
22
|
+
return CreateWaaSApplication201ResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function CreateWaaSApplication201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'data': json['data'] == null ? undefined : WaaSApplicationFromJSON(json['data']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function CreateWaaSApplication201ResponseToJSON(json) {
|
|
33
|
+
return CreateWaaSApplication201ResponseToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function CreateWaaSApplication201ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': WaaSApplicationToJSON(value['data']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=CreateWaaSApplication201Response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateWaaSApplication201Response.js","sourceRoot":"","sources":["../../../src/src/models/CreateWaaSApplication201Response.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,uBAAuB,EAEvB,qBAAqB,GAExB,MAAM,mBAAmB,CAAC;AAgB3B;;GAEG;AACH,MAAM,UAAU,0CAA0C,CAAC,KAAa;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,wCAAwC,CAAC,IAAS;IAC9D,OAAO,6CAA6C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACtE,CAAC;AAED,MAAM,UAAU,6CAA6C,CAAC,IAAS,EAAE,mBAA4B;IACjG,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,uBAAuB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACnF,CAAC;AACN,CAAC;AAED,MAAM,UAAU,sCAAsC,CAAC,IAAS;IAC5D,OAAO,2CAA2C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,2CAA2C,CAAC,KAA+C,EAAE,sBAA+B,KAAK;IAC7I,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,qBAAqB,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KAC/C,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zyphr API
|
|
3
|
+
* 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\" } } ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@zyphr.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateWaaSApplicationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateWaaSApplicationRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Human-readable application name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateWaaSApplicationRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* URL-safe identifier (lowercase, hyphens only)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateWaaSApplicationRequest
|
|
28
|
+
*/
|
|
29
|
+
slug: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional description
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateWaaSApplicationRequest
|
|
34
|
+
*/
|
|
35
|
+
description?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CreateWaaSApplicationRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfCreateWaaSApplicationRequest(value: object): value is CreateWaaSApplicationRequest;
|
|
41
|
+
export declare function CreateWaaSApplicationRequestFromJSON(json: any): CreateWaaSApplicationRequest;
|
|
42
|
+
export declare function CreateWaaSApplicationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWaaSApplicationRequest;
|
|
43
|
+
export declare function CreateWaaSApplicationRequestToJSON(json: any): CreateWaaSApplicationRequest;
|
|
44
|
+
export declare function CreateWaaSApplicationRequestToJSONTyped(value?: CreateWaaSApplicationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=CreateWaaSApplicationRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateWaaSApplicationRequest.d.ts","sourceRoot":"","sources":["../../../src/src/models/CreateWaaSApplicationRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,sCAAsC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4BAA4B,CAI3G;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE5F;AAED,wBAAgB,yCAAyC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4BAA4B,CAU/H;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,4BAA4B,CAE1F;AAED,wBAAgB,uCAAuC,CAAC,KAAK,CAAC,EAAE,4BAA4B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAW9I"}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
* Check if a given object implements the CreateWaaSApplicationRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCreateWaaSApplicationRequest(value) {
|
|
18
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function CreateWaaSApplicationRequestFromJSON(json) {
|
|
25
|
+
return CreateWaaSApplicationRequestFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function CreateWaaSApplicationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'name': json['name'],
|
|
33
|
+
'slug': json['slug'],
|
|
34
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function CreateWaaSApplicationRequestToJSON(json) {
|
|
38
|
+
return CreateWaaSApplicationRequestToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function CreateWaaSApplicationRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'name': value['name'],
|
|
46
|
+
'slug': value['slug'],
|
|
47
|
+
'description': value['description'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=CreateWaaSApplicationRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateWaaSApplicationRequest.js","sourceRoot":"","sources":["../../../src/src/models/CreateWaaSApplicationRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AA6BH;;GAEG;AACH,MAAM,UAAU,sCAAsC,CAAC,KAAa;IAChE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,oCAAoC,CAAC,IAAS;IAC1D,OAAO,yCAAyC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,yCAAyC,CAAC,IAAS,EAAE,mBAA4B;IAC7F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;QACpB,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;KAC/E,CAAC;AACN,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,uCAAuC,CAAC,KAA2C,EAAE,sBAA+B,KAAK;IACrI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC;QACrB,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;KACtC,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zyphr API
|
|
3
|
+
* 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\" } } ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@zyphr.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CreateWaaSEndpointResponse } from './CreateWaaSEndpointResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateWaaSEndpoint201Response
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateWaaSEndpoint201Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CreateWaaSEndpointResponse}
|
|
22
|
+
* @memberof CreateWaaSEndpoint201Response
|
|
23
|
+
*/
|
|
24
|
+
data?: CreateWaaSEndpointResponse;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CreateWaaSEndpoint201Response interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfCreateWaaSEndpoint201Response(value: object): value is CreateWaaSEndpoint201Response;
|
|
30
|
+
export declare function CreateWaaSEndpoint201ResponseFromJSON(json: any): CreateWaaSEndpoint201Response;
|
|
31
|
+
export declare function CreateWaaSEndpoint201ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWaaSEndpoint201Response;
|
|
32
|
+
export declare function CreateWaaSEndpoint201ResponseToJSON(json: any): CreateWaaSEndpoint201Response;
|
|
33
|
+
export declare function CreateWaaSEndpoint201ResponseToJSONTyped(value?: CreateWaaSEndpoint201Response | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=CreateWaaSEndpoint201Response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateWaaSEndpoint201Response.d.ts","sourceRoot":"","sources":["../../../src/src/models/CreateWaaSEndpoint201Response.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAQ/E;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,IAAI,CAAC,EAAE,0BAA0B,CAAC;CACrC;AAED;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,6BAA6B,CAE7G;AAED,wBAAgB,qCAAqC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE9F;AAED,wBAAgB,0CAA0C,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,6BAA6B,CAQjI;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,6BAA6B,CAE5F;AAED,wBAAgB,wCAAwC,CAAC,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAShJ"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
import { CreateWaaSEndpointResponseFromJSON, CreateWaaSEndpointResponseToJSON, } from './CreateWaaSEndpointResponse';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the CreateWaaSEndpoint201Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfCreateWaaSEndpoint201Response(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function CreateWaaSEndpoint201ResponseFromJSON(json) {
|
|
22
|
+
return CreateWaaSEndpoint201ResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function CreateWaaSEndpoint201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'data': json['data'] == null ? undefined : CreateWaaSEndpointResponseFromJSON(json['data']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function CreateWaaSEndpoint201ResponseToJSON(json) {
|
|
33
|
+
return CreateWaaSEndpoint201ResponseToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function CreateWaaSEndpoint201ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'data': CreateWaaSEndpointResponseToJSON(value['data']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=CreateWaaSEndpoint201Response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateWaaSEndpoint201Response.js","sourceRoot":"","sources":["../../../src/src/models/CreateWaaSEndpoint201Response.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAIH,OAAO,EACH,kCAAkC,EAElC,gCAAgC,GAEnC,MAAM,8BAA8B,CAAC;AAgBtC;;GAEG;AACH,MAAM,UAAU,uCAAuC,CAAC,KAAa;IACjE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAC,IAAS;IAC3D,OAAO,0CAA0C,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,0CAA0C,CAAC,IAAS,EAAE,mBAA4B;IAC9F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,kCAAkC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KAC9F,CAAC;AACN,CAAC;AAED,MAAM,UAAU,mCAAmC,CAAC,IAAS;IACzD,OAAO,wCAAwC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,MAAM,UAAU,wCAAwC,CAAC,KAA4C,EAAE,sBAA+B,KAAK;IACvI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,gCAAgC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KAC1D,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zyphr API
|
|
3
|
+
* 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\" } } ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@zyphr.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateWaaSEndpointRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateWaaSEndpointRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Your customer's identifier
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateWaaSEndpointRequest
|
|
22
|
+
*/
|
|
23
|
+
tenantId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Webhook endpoint URL
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateWaaSEndpointRequest
|
|
28
|
+
*/
|
|
29
|
+
url: string;
|
|
30
|
+
/**
|
|
31
|
+
* Event types to subscribe to
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof CreateWaaSEndpointRequest
|
|
34
|
+
*/
|
|
35
|
+
events: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the CreateWaaSEndpointRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfCreateWaaSEndpointRequest(value: object): value is CreateWaaSEndpointRequest;
|
|
41
|
+
export declare function CreateWaaSEndpointRequestFromJSON(json: any): CreateWaaSEndpointRequest;
|
|
42
|
+
export declare function CreateWaaSEndpointRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWaaSEndpointRequest;
|
|
43
|
+
export declare function CreateWaaSEndpointRequestToJSON(json: any): CreateWaaSEndpointRequest;
|
|
44
|
+
export declare function CreateWaaSEndpointRequestToJSONTyped(value?: CreateWaaSEndpointRequest | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
+
//# sourceMappingURL=CreateWaaSEndpointRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateWaaSEndpointRequest.d.ts","sourceRoot":"","sources":["../../../src/src/models/CreateWaaSEndpointRequest.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,yBAAyB,CAKrG;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEtF;AAED,wBAAgB,sCAAsC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,yBAAyB,CAUzH;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,yBAAyB,CAEpF;AAED,wBAAgB,oCAAoC,CAAC,KAAK,CAAC,EAAE,yBAAyB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAWxI"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
* Check if a given object implements the CreateWaaSEndpointRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCreateWaaSEndpointRequest(value) {
|
|
18
|
+
if (!('tenantId' in value) || value['tenantId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('events' in value) || value['events'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function CreateWaaSEndpointRequestFromJSON(json) {
|
|
27
|
+
return CreateWaaSEndpointRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function CreateWaaSEndpointRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'tenantId': json['tenant_id'],
|
|
35
|
+
'url': json['url'],
|
|
36
|
+
'events': json['events'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function CreateWaaSEndpointRequestToJSON(json) {
|
|
40
|
+
return CreateWaaSEndpointRequestToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function CreateWaaSEndpointRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'tenant_id': value['tenantId'],
|
|
48
|
+
'url': value['url'],
|
|
49
|
+
'events': value['events'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=CreateWaaSEndpointRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateWaaSEndpointRequest.js","sourceRoot":"","sources":["../../../src/src/models/CreateWaaSEndpointRequest.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AA6BH;;GAEG;AACH,MAAM,UAAU,mCAAmC,CAAC,KAAa;IAC7D,IAAI,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,UAAU,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAC5E,IAAI,CAAC,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClE,IAAI,CAAC,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,iCAAiC,CAAC,IAAS;IACvD,OAAO,sCAAsC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC/D,CAAC;AAED,MAAM,UAAU,sCAAsC,CAAC,IAAS,EAAE,mBAA4B;IAC1F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,UAAU,EAAE,IAAI,CAAC,WAAW,CAAC;QAC7B,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC;QAClB,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;KAC3B,CAAC;AACN,CAAC;AAED,MAAM,UAAU,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,MAAM,UAAU,oCAAoC,CAAC,KAAwC,EAAE,sBAA+B,KAAK;IAC/H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,WAAW,EAAE,KAAK,CAAC,UAAU,CAAC;QAC9B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;KAC5B,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zyphr API
|
|
3
|
+
* 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\" } } ```
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@zyphr.dev
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateWaaSEndpointResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateWaaSEndpointResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateWaaSEndpointResponse
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateWaaSEndpointResponse
|
|
28
|
+
*/
|
|
29
|
+
tenantId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateWaaSEndpointResponse
|
|
34
|
+
*/
|
|
35
|
+
url?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof CreateWaaSEndpointResponse
|
|
40
|
+
*/
|
|
41
|
+
events?: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
* HMAC signing secret (only returned on creation)
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateWaaSEndpointResponse
|
|
46
|
+
*/
|
|
47
|
+
secret?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateWaaSEndpointResponse
|
|
52
|
+
*/
|
|
53
|
+
status?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof CreateWaaSEndpointResponse
|
|
58
|
+
*/
|
|
59
|
+
createdAt?: Date;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the CreateWaaSEndpointResponse interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfCreateWaaSEndpointResponse(value: object): value is CreateWaaSEndpointResponse;
|
|
65
|
+
export declare function CreateWaaSEndpointResponseFromJSON(json: any): CreateWaaSEndpointResponse;
|
|
66
|
+
export declare function CreateWaaSEndpointResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWaaSEndpointResponse;
|
|
67
|
+
export declare function CreateWaaSEndpointResponseToJSON(json: any): CreateWaaSEndpointResponse;
|
|
68
|
+
export declare function CreateWaaSEndpointResponseToJSONTyped(value?: CreateWaaSEndpointResponse | null, ignoreDiscriminator?: boolean): any;
|
|
69
|
+
//# sourceMappingURL=CreateWaaSEndpointResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateWaaSEndpointResponse.d.ts","sourceRoot":"","sources":["../../../src/src/models/CreateWaaSEndpointResponse.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;CACpB;AAED;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAEvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAc3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAe1I"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
* Check if a given object implements the CreateWaaSEndpointResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCreateWaaSEndpointResponse(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function CreateWaaSEndpointResponseFromJSON(json) {
|
|
21
|
+
return CreateWaaSEndpointResponseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function CreateWaaSEndpointResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
29
|
+
'tenantId': json['tenant_id'] == null ? undefined : json['tenant_id'],
|
|
30
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
31
|
+
'events': json['events'] == null ? undefined : json['events'],
|
|
32
|
+
'secret': json['secret'] == null ? undefined : json['secret'],
|
|
33
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
34
|
+
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function CreateWaaSEndpointResponseToJSON(json) {
|
|
38
|
+
return CreateWaaSEndpointResponseToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function CreateWaaSEndpointResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': value['id'],
|
|
46
|
+
'tenant_id': value['tenantId'],
|
|
47
|
+
'url': value['url'],
|
|
48
|
+
'events': value['events'],
|
|
49
|
+
'secret': value['secret'],
|
|
50
|
+
'status': value['status'],
|
|
51
|
+
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=CreateWaaSEndpointResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateWaaSEndpointResponse.js","sourceRoot":"","sources":["../../../src/src/models/CreateWaaSEndpointResponse.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;AAqDH;;GAEG;AACH,MAAM,UAAU,oCAAoC,CAAC,KAAa;IAC9D,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,kCAAkC,CAAC,IAAS;IACxD,OAAO,uCAAuC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,uCAAuC,CAAC,IAAS,EAAE,mBAA4B;IAC3F,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;QACjD,UAAU,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC;QACrE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;QACpD,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC7D,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC7D,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC7D,WAAW,EAAE,IAAI,CAAC,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;KACvF,CAAC;AACN,CAAC;AAED,MAAM,UAAU,gCAAgC,CAAC,IAAS;IACtD,OAAO,qCAAqC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED,MAAM,UAAU,qCAAqC,CAAC,KAAyC,EAAE,sBAA+B,KAAK;IACjI,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;QACjB,WAAW,EAAE,KAAK,CAAC,UAAU,CAAC;QAC9B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC;QACnB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC;QACzB,YAAY,EAAE,KAAK,CAAC,WAAW,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;KAC9F,CAAC;AACN,CAAC"}
|