@zyphr-dev/node-sdk 0.1.62 → 0.1.64
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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/src/apis/WaaSEventsApi.ts +4 -4
- package/src/src/models/PushMessage.ts +2 -2
- package/src/src/models/PushMessageDetail.ts +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -13841,11 +13841,11 @@ interface PushMessageDetail {
|
|
|
13841
13841
|
*/
|
|
13842
13842
|
id?: string;
|
|
13843
13843
|
/**
|
|
13844
|
-
*
|
|
13844
|
+
* The target device. Null once the device has been removed because its push token expired.
|
|
13845
13845
|
* @type {string}
|
|
13846
13846
|
* @memberof PushMessageDetail
|
|
13847
13847
|
*/
|
|
13848
|
-
deviceId?: string;
|
|
13848
|
+
deviceId?: string | null;
|
|
13849
13849
|
/**
|
|
13850
13850
|
*
|
|
13851
13851
|
* @type {string}
|
|
@@ -14077,11 +14077,11 @@ interface PushMessage {
|
|
|
14077
14077
|
*/
|
|
14078
14078
|
id?: string;
|
|
14079
14079
|
/**
|
|
14080
|
-
*
|
|
14080
|
+
* The target device. Null once the device has been removed because its push token expired.
|
|
14081
14081
|
* @type {string}
|
|
14082
14082
|
* @memberof PushMessage
|
|
14083
14083
|
*/
|
|
14084
|
-
deviceId?: string;
|
|
14084
|
+
deviceId?: string | null;
|
|
14085
14085
|
/**
|
|
14086
14086
|
*
|
|
14087
14087
|
* @type {string}
|
|
@@ -32357,7 +32357,7 @@ interface WaaSEventsApiInterface {
|
|
|
32357
32357
|
*/
|
|
32358
32358
|
batchPublishWaaSEvents(appId: string, waaSBatchPublishRequest: WaaSBatchPublishRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<BatchPublishWaaSEvents201Response>;
|
|
32359
32359
|
/**
|
|
32360
|
-
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery.
|
|
32360
|
+
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery. The event `data` may be at most 256 KB of JSON.
|
|
32361
32361
|
* @summary Publish an event
|
|
32362
32362
|
* @param {string} appId
|
|
32363
32363
|
* @param {WaaSPublishEventRequest} waaSPublishEventRequest
|
|
@@ -32367,7 +32367,7 @@ interface WaaSEventsApiInterface {
|
|
|
32367
32367
|
*/
|
|
32368
32368
|
publishWaaSEventRaw(requestParameters: WaaSEventsApiPublishWaaSEventRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<PublishWaaSEvent201Response>>;
|
|
32369
32369
|
/**
|
|
32370
|
-
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery.
|
|
32370
|
+
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery. The event `data` may be at most 256 KB of JSON.
|
|
32371
32371
|
* Publish an event
|
|
32372
32372
|
*/
|
|
32373
32373
|
publishWaaSEvent(appId: string, waaSPublishEventRequest: WaaSPublishEventRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<PublishWaaSEvent201Response>;
|
|
@@ -32387,12 +32387,12 @@ declare class WaaSEventsApi extends BaseAPI implements WaaSEventsApiInterface {
|
|
|
32387
32387
|
*/
|
|
32388
32388
|
batchPublishWaaSEvents(appId: string, waaSBatchPublishRequest: WaaSBatchPublishRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<BatchPublishWaaSEvents201Response>;
|
|
32389
32389
|
/**
|
|
32390
|
-
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery.
|
|
32390
|
+
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery. The event `data` may be at most 256 KB of JSON.
|
|
32391
32391
|
* Publish an event
|
|
32392
32392
|
*/
|
|
32393
32393
|
publishWaaSEventRaw(requestParameters: WaaSEventsApiPublishWaaSEventRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<PublishWaaSEvent201Response>>;
|
|
32394
32394
|
/**
|
|
32395
|
-
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery.
|
|
32395
|
+
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery. The event `data` may be at most 256 KB of JSON.
|
|
32396
32396
|
* Publish an event
|
|
32397
32397
|
*/
|
|
32398
32398
|
publishWaaSEvent(appId: string, waaSPublishEventRequest: WaaSPublishEventRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<PublishWaaSEvent201Response>;
|
package/dist/index.d.ts
CHANGED
|
@@ -13841,11 +13841,11 @@ interface PushMessageDetail {
|
|
|
13841
13841
|
*/
|
|
13842
13842
|
id?: string;
|
|
13843
13843
|
/**
|
|
13844
|
-
*
|
|
13844
|
+
* The target device. Null once the device has been removed because its push token expired.
|
|
13845
13845
|
* @type {string}
|
|
13846
13846
|
* @memberof PushMessageDetail
|
|
13847
13847
|
*/
|
|
13848
|
-
deviceId?: string;
|
|
13848
|
+
deviceId?: string | null;
|
|
13849
13849
|
/**
|
|
13850
13850
|
*
|
|
13851
13851
|
* @type {string}
|
|
@@ -14077,11 +14077,11 @@ interface PushMessage {
|
|
|
14077
14077
|
*/
|
|
14078
14078
|
id?: string;
|
|
14079
14079
|
/**
|
|
14080
|
-
*
|
|
14080
|
+
* The target device. Null once the device has been removed because its push token expired.
|
|
14081
14081
|
* @type {string}
|
|
14082
14082
|
* @memberof PushMessage
|
|
14083
14083
|
*/
|
|
14084
|
-
deviceId?: string;
|
|
14084
|
+
deviceId?: string | null;
|
|
14085
14085
|
/**
|
|
14086
14086
|
*
|
|
14087
14087
|
* @type {string}
|
|
@@ -32357,7 +32357,7 @@ interface WaaSEventsApiInterface {
|
|
|
32357
32357
|
*/
|
|
32358
32358
|
batchPublishWaaSEvents(appId: string, waaSBatchPublishRequest: WaaSBatchPublishRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<BatchPublishWaaSEvents201Response>;
|
|
32359
32359
|
/**
|
|
32360
|
-
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery.
|
|
32360
|
+
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery. The event `data` may be at most 256 KB of JSON.
|
|
32361
32361
|
* @summary Publish an event
|
|
32362
32362
|
* @param {string} appId
|
|
32363
32363
|
* @param {WaaSPublishEventRequest} waaSPublishEventRequest
|
|
@@ -32367,7 +32367,7 @@ interface WaaSEventsApiInterface {
|
|
|
32367
32367
|
*/
|
|
32368
32368
|
publishWaaSEventRaw(requestParameters: WaaSEventsApiPublishWaaSEventRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<PublishWaaSEvent201Response>>;
|
|
32369
32369
|
/**
|
|
32370
|
-
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery.
|
|
32370
|
+
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery. The event `data` may be at most 256 KB of JSON.
|
|
32371
32371
|
* Publish an event
|
|
32372
32372
|
*/
|
|
32373
32373
|
publishWaaSEvent(appId: string, waaSPublishEventRequest: WaaSPublishEventRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<PublishWaaSEvent201Response>;
|
|
@@ -32387,12 +32387,12 @@ declare class WaaSEventsApi extends BaseAPI implements WaaSEventsApiInterface {
|
|
|
32387
32387
|
*/
|
|
32388
32388
|
batchPublishWaaSEvents(appId: string, waaSBatchPublishRequest: WaaSBatchPublishRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<BatchPublishWaaSEvents201Response>;
|
|
32389
32389
|
/**
|
|
32390
|
-
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery.
|
|
32390
|
+
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery. The event `data` may be at most 256 KB of JSON.
|
|
32391
32391
|
* Publish an event
|
|
32392
32392
|
*/
|
|
32393
32393
|
publishWaaSEventRaw(requestParameters: WaaSEventsApiPublishWaaSEventRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<PublishWaaSEvent201Response>>;
|
|
32394
32394
|
/**
|
|
32395
|
-
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery.
|
|
32395
|
+
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery. The event `data` may be at most 256 KB of JSON.
|
|
32396
32396
|
* Publish an event
|
|
32397
32397
|
*/
|
|
32398
32398
|
publishWaaSEvent(appId: string, waaSPublishEventRequest: WaaSPublishEventRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<PublishWaaSEvent201Response>;
|
package/dist/index.js
CHANGED
|
@@ -26582,7 +26582,7 @@ var WaaSEventsApi = class extends BaseAPI {
|
|
|
26582
26582
|
return await response.value();
|
|
26583
26583
|
}
|
|
26584
26584
|
/**
|
|
26585
|
-
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery.
|
|
26585
|
+
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery. The event `data` may be at most 256 KB of JSON.
|
|
26586
26586
|
* Publish an event
|
|
26587
26587
|
*/
|
|
26588
26588
|
async publishWaaSEventRaw(requestParameters, initOverrides) {
|
|
@@ -26619,7 +26619,7 @@ var WaaSEventsApi = class extends BaseAPI {
|
|
|
26619
26619
|
return new JSONApiResponse(response, (jsonValue) => PublishWaaSEvent201ResponseFromJSON(jsonValue));
|
|
26620
26620
|
}
|
|
26621
26621
|
/**
|
|
26622
|
-
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery.
|
|
26622
|
+
* Publish an event to all subscribed endpoints for the specified tenant. Zyphr creates delivery records and queues them for delivery. The event `data` may be at most 256 KB of JSON.
|
|
26623
26623
|
* Publish an event
|
|
26624
26624
|
*/
|
|
26625
26625
|
async publishWaaSEvent(appId, waaSPublishEventRequest, initOverrides) {
|