@outseta/react 0.4.39 → 0.4.40

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outseta/react",
3
- "version": "0.4.39",
3
+ "version": "0.4.40",
4
4
  "description": "React hooks and components for the Outseta API",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -18,7 +18,7 @@
18
18
  }
19
19
  },
20
20
  "dependencies": {
21
- "@outseta/api-client": "0.3.45"
21
+ "@outseta/api-client": "0.3.46"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "^18.0.0 || ^19.0.0"
@@ -4397,6 +4397,24 @@ export const BroadcastCampaignStatus = {
4397
4397
  Archived: 10,
4398
4398
  } as const;
4399
4399
 
4400
+ /**
4401
+ * @nullable
4402
+ */
4403
+ export type BroadcastPreviewRequestBroadcastCampaign = BroadcastCampaign | null;
4404
+
4405
+ /**
4406
+ * Request body for POST /api/v1/email/campaigns/broadcasts/preview.
4407
+ */
4408
+ export interface BroadcastPreviewRequest {
4409
+ /** @nullable */
4410
+ BroadcastCampaign?: BroadcastPreviewRequestBroadcastCampaign;
4411
+ /**
4412
+ * The person to render the broadcast for. When empty, only the tokens are returned.
4413
+ * @nullable
4414
+ */
4415
+ PersonUid?: string | null;
4416
+ }
4417
+
4400
4418
  /**
4401
4419
  * @nullable
4402
4420
  */