@zyphr-dev/node-sdk 0.1.63 → 0.1.65
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/SubscribersApi.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}
|
|
@@ -30408,7 +30408,7 @@ interface SubscribersApiInterface {
|
|
|
30408
30408
|
*/
|
|
30409
30409
|
createCategory(createCategoryRequest: CreateCategoryRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CategoryResponse>;
|
|
30410
30410
|
/**
|
|
30411
|
-
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
|
|
30411
|
+
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber\'s timezone defaults to UTC and locale to en.
|
|
30412
30412
|
* @summary Create or update a subscriber
|
|
30413
30413
|
* @param {CreateSubscriberRequest} createSubscriberRequest
|
|
30414
30414
|
* @param {*} [options] Override http request option.
|
|
@@ -30417,7 +30417,7 @@ interface SubscribersApiInterface {
|
|
|
30417
30417
|
*/
|
|
30418
30418
|
createSubscriberRaw(requestParameters: SubscribersApiCreateSubscriberOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<SubscriberResponse>>;
|
|
30419
30419
|
/**
|
|
30420
|
-
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
|
|
30420
|
+
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber\'s timezone defaults to UTC and locale to en.
|
|
30421
30421
|
* Create or update a subscriber
|
|
30422
30422
|
*/
|
|
30423
30423
|
createSubscriber(createSubscriberRequest: CreateSubscriberRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<SubscriberResponse>;
|
|
@@ -30685,12 +30685,12 @@ declare class SubscribersApi extends BaseAPI implements SubscribersApiInterface
|
|
|
30685
30685
|
*/
|
|
30686
30686
|
createCategory(createCategoryRequest: CreateCategoryRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CategoryResponse>;
|
|
30687
30687
|
/**
|
|
30688
|
-
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
|
|
30688
|
+
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber\'s timezone defaults to UTC and locale to en.
|
|
30689
30689
|
* Create or update a subscriber
|
|
30690
30690
|
*/
|
|
30691
30691
|
createSubscriberRaw(requestParameters: SubscribersApiCreateSubscriberOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<SubscriberResponse>>;
|
|
30692
30692
|
/**
|
|
30693
|
-
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
|
|
30693
|
+
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber\'s timezone defaults to UTC and locale to en.
|
|
30694
30694
|
* Create or update a subscriber
|
|
30695
30695
|
*/
|
|
30696
30696
|
createSubscriber(createSubscriberRequest: CreateSubscriberRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<SubscriberResponse>;
|
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}
|
|
@@ -30408,7 +30408,7 @@ interface SubscribersApiInterface {
|
|
|
30408
30408
|
*/
|
|
30409
30409
|
createCategory(createCategoryRequest: CreateCategoryRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CategoryResponse>;
|
|
30410
30410
|
/**
|
|
30411
|
-
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
|
|
30411
|
+
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber\'s timezone defaults to UTC and locale to en.
|
|
30412
30412
|
* @summary Create or update a subscriber
|
|
30413
30413
|
* @param {CreateSubscriberRequest} createSubscriberRequest
|
|
30414
30414
|
* @param {*} [options] Override http request option.
|
|
@@ -30417,7 +30417,7 @@ interface SubscribersApiInterface {
|
|
|
30417
30417
|
*/
|
|
30418
30418
|
createSubscriberRaw(requestParameters: SubscribersApiCreateSubscriberOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<SubscriberResponse>>;
|
|
30419
30419
|
/**
|
|
30420
|
-
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
|
|
30420
|
+
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber\'s timezone defaults to UTC and locale to en.
|
|
30421
30421
|
* Create or update a subscriber
|
|
30422
30422
|
*/
|
|
30423
30423
|
createSubscriber(createSubscriberRequest: CreateSubscriberRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<SubscriberResponse>;
|
|
@@ -30685,12 +30685,12 @@ declare class SubscribersApi extends BaseAPI implements SubscribersApiInterface
|
|
|
30685
30685
|
*/
|
|
30686
30686
|
createCategory(createCategoryRequest: CreateCategoryRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<CategoryResponse>;
|
|
30687
30687
|
/**
|
|
30688
|
-
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
|
|
30688
|
+
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber\'s timezone defaults to UTC and locale to en.
|
|
30689
30689
|
* Create or update a subscriber
|
|
30690
30690
|
*/
|
|
30691
30691
|
createSubscriberRaw(requestParameters: SubscribersApiCreateSubscriberOperationRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<ApiResponse<SubscriberResponse>>;
|
|
30692
30692
|
/**
|
|
30693
|
-
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
|
|
30693
|
+
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber\'s timezone defaults to UTC and locale to en.
|
|
30694
30694
|
* Create or update a subscriber
|
|
30695
30695
|
*/
|
|
30696
30696
|
createSubscriber(createSubscriberRequest: CreateSubscriberRequest, initOverrides?: RequestInit | InitOverrideFunction): Promise<SubscriberResponse>;
|
package/dist/index.js
CHANGED
|
@@ -23949,7 +23949,7 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23949
23949
|
return await response.value();
|
|
23950
23950
|
}
|
|
23951
23951
|
/**
|
|
23952
|
-
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
|
|
23952
|
+
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber\'s timezone defaults to UTC and locale to en.
|
|
23953
23953
|
* Create or update a subscriber
|
|
23954
23954
|
*/
|
|
23955
23955
|
async createSubscriberRaw(requestParameters, initOverrides) {
|
|
@@ -23980,7 +23980,7 @@ var SubscribersApi = class extends BaseAPI {
|
|
|
23980
23980
|
return new JSONApiResponse(response, (jsonValue) => SubscriberResponseFromJSON(jsonValue));
|
|
23981
23981
|
}
|
|
23982
23982
|
/**
|
|
23983
|
-
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated.
|
|
23983
|
+
* Upsert a subscriber by external_id. If a subscriber with the given external_id already exists, it will be updated; fields you omit keep their existing values. A new subscriber\'s timezone defaults to UTC and locale to en.
|
|
23984
23984
|
* Create or update a subscriber
|
|
23985
23985
|
*/
|
|
23986
23986
|
async createSubscriber(createSubscriberRequest, initOverrides) {
|