@zyphr-dev/node-sdk 0.1.64 → 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.d.cts CHANGED
@@ -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
@@ -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) {