@outseta/react 0.4.39 → 0.4.41

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.41",
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.47"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "^18.0.0 || ^19.0.0"
@@ -241,6 +241,7 @@ export type EmailListAllOf = {
241
241
  FieldConfigurationDataJSON?: string | null;
242
242
  CountSubscriptionsActive?: number;
243
243
  CountSubscriptionsBounce?: number;
244
+ CountSubscriptionsIssues?: number;
244
245
  CountSubscriptionsNotConfirmed?: number;
245
246
  CountSubscriptionsSpam?: number;
246
247
  CountSubscriptionsUnsubscribed?: number;
@@ -4397,6 +4398,24 @@ export const BroadcastCampaignStatus = {
4397
4398
  Archived: 10,
4398
4399
  } as const;
4399
4400
 
4401
+ /**
4402
+ * @nullable
4403
+ */
4404
+ export type BroadcastPreviewRequestBroadcastCampaign = BroadcastCampaign | null;
4405
+
4406
+ /**
4407
+ * Request body for POST /api/v1/email/campaigns/broadcasts/preview.
4408
+ */
4409
+ export interface BroadcastPreviewRequest {
4410
+ /** @nullable */
4411
+ BroadcastCampaign?: BroadcastPreviewRequestBroadcastCampaign;
4412
+ /**
4413
+ * The person to render the broadcast for. When empty, only the tokens are returned.
4414
+ * @nullable
4415
+ */
4416
+ PersonUid?: string | null;
4417
+ }
4418
+
4400
4419
  /**
4401
4420
  * @nullable
4402
4421
  */
@@ -4456,6 +4475,76 @@ export const BackGroundTaskType = {
4456
4475
  UpdateStripeSubscriptionApplicationFeePercentTask: 22,
4457
4476
  } as const;
4458
4477
 
4478
+ export type DirectoryAllOf = {
4479
+ /**
4480
+ * @minLength 1
4481
+ * @maxLength 100
4482
+ */
4483
+ Name: string;
4484
+ EntityType?: EntityType;
4485
+ /**
4486
+ * @maxLength 50
4487
+ * @nullable
4488
+ */
4489
+ ItemLabelSingular?: string | null;
4490
+ /**
4491
+ * @maxLength 50
4492
+ * @nullable
4493
+ */
4494
+ ItemLabelPlural?: string | null;
4495
+ RequiresSignIn?: boolean;
4496
+ ListsAll?: boolean;
4497
+ ShowSearch?: boolean;
4498
+ /** @nullable */
4499
+ ListedPlans?: Plan[] | null;
4500
+ /** @nullable */
4501
+ ListedAddOns?: AddOn[] | null;
4502
+ /** @nullable */
4503
+ ListedProducts?: StripeProduct[] | null;
4504
+ /** @nullable */
4505
+ CardFieldConfiguration?: DirectoryFieldConfiguration[] | null;
4506
+ /** @nullable */
4507
+ ProfileFieldConfiguration?: DirectoryFieldConfiguration[] | null;
4508
+ /** @nullable */
4509
+ FilterConfiguration?: DirectoryFilterConfiguration[] | null;
4510
+ /** @nullable */
4511
+ ActionConfiguration?: DirectoryActionConfiguration[] | null;
4512
+ };
4513
+
4514
+ export type Directory = AbstractQcountBean & DirectoryAllOf;
4515
+
4516
+ export interface DirectoryFieldConfiguration {
4517
+ /** @nullable */
4518
+ SystemName?: string | null;
4519
+ /** @nullable */
4520
+ Label?: string | null;
4521
+ /** @nullable */
4522
+ Type?: string | null;
4523
+ /** @nullable */
4524
+ Display?: string | null;
4525
+ /** @nullable */
4526
+ Icon?: string | null;
4527
+ ShowLabel?: boolean;
4528
+ }
4529
+
4530
+ export interface DirectoryFilterConfiguration {
4531
+ /** @nullable */
4532
+ SystemName?: string | null;
4533
+ /** @nullable */
4534
+ Label?: string | null;
4535
+ }
4536
+
4537
+ export interface DirectoryActionConfiguration {
4538
+ /** @nullable */
4539
+ Label?: string | null;
4540
+ /** @nullable */
4541
+ SystemName?: string | null;
4542
+ /** @nullable */
4543
+ Type?: string | null;
4544
+ /** @nullable */
4545
+ Style?: string | null;
4546
+ }
4547
+
4459
4548
  /**
4460
4549
  * Request body for POST /api/v1/crm/registrations/complete: the client secret
4461
4550
  of the Stripe intent, from the setup_intent_client_secret or