@embedreach/components 0.3.46 → 0.3.47

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.
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useState, useEffect } from "react";
3
- import { S as SegmentDefinitionTypeEnum, C as ChannelAccountTypeEnum, A as AutomationStatus, a as AutomationTriggerType, b as ActionType, B as BusinessAutomationTypeEnum, z as z$2, R as ReachClientEnum, H as H3 } from "./index.js";
3
+ import { S as SegmentDefinitionTypeEnum, C as ChannelAccountTypeEnum, A as AutomationStatus, a as AutomationTriggerType, B as BusinessAutomationTypeEnum, b as ActionType, z as z$2, R as ReachClientEnum, H as H3 } from "./index.js";
4
4
  var POSITIONALS_EXP$1 = /(%?)(%([sdijo]))/g;
5
5
  function serializePositional$1(positional, flag) {
6
6
  switch (flag) {
@@ -23076,7 +23076,7 @@ const native = {
23076
23076
  randomUUID
23077
23077
  };
23078
23078
  function v4(options, buf, offset) {
23079
- if (native.randomUUID && true && !options) {
23079
+ if (native.randomUUID && !buf && !options) {
23080
23080
  return native.randomUUID();
23081
23081
  }
23082
23082
  options = options || {};
@@ -25589,6 +25589,7 @@ const reputationHandlers = [
25589
25589
  const endDate = url.searchParams.get("end_date");
25590
25590
  const locationIds = url.searchParams.get("location_ids");
25591
25591
  const queryParams = {
25592
+ platform: "google_business_profile",
25592
25593
  start_date: startDate || void 0,
25593
25594
  end_date: endDate || void 0,
25594
25595
  location_ids: locationIds ? locationIds.split(",").filter(Boolean) : void 0
package/dist/index.d.ts CHANGED
@@ -397,19 +397,19 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
397
397
  phoneNumber: string;
398
398
  }>;
399
399
  messagingUseCase: z.ZodObject<{
400
- monthlyVolume: z.ZodNumber;
401
- category: z.ZodNativeEnum<SmsUseCaseCategory>;
402
- useCaseDetails: z.ZodEffects<z.ZodString, string, string>;
400
+ monthlyVolume: z.ZodOptional<z.ZodNumber>;
401
+ category: z.ZodOptional<z.ZodNativeEnum<SmsUseCaseCategory>>;
402
+ useCaseDetails: z.ZodOptional<z.ZodString>;
403
403
  }, "strip", z.ZodTypeAny, {
404
- monthlyVolume: number;
405
- category: SmsUseCaseCategory;
406
- useCaseDetails: string;
404
+ monthlyVolume?: number | undefined;
405
+ category?: SmsUseCaseCategory | undefined;
406
+ useCaseDetails?: string | undefined;
407
407
  }, {
408
- monthlyVolume: number;
409
- category: SmsUseCaseCategory;
410
- useCaseDetails: string;
408
+ monthlyVolume?: number | undefined;
409
+ category?: SmsUseCaseCategory | undefined;
410
+ useCaseDetails?: string | undefined;
411
411
  }>;
412
- messageSamples: z.ZodArray<z.ZodString, "many">;
412
+ messageSamples: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
413
413
  doingBusinessAs: z.ZodOptional<z.ZodString>;
414
414
  optInConfirmationMessage: z.ZodOptional<z.ZodString>;
415
415
  helpMessageSample: z.ZodOptional<z.ZodString>;
@@ -437,11 +437,11 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
437
437
  };
438
438
  tollFreeNumber: string;
439
439
  messagingUseCase: {
440
- monthlyVolume: number;
441
- category: SmsUseCaseCategory;
442
- useCaseDetails: string;
440
+ monthlyVolume?: number | undefined;
441
+ category?: SmsUseCaseCategory | undefined;
442
+ useCaseDetails?: string | undefined;
443
443
  };
444
- messageSamples: string[];
444
+ messageSamples?: string[] | undefined;
445
445
  doingBusinessAs?: string | undefined;
446
446
  optInConfirmationMessage?: string | undefined;
447
447
  helpMessageSample?: string | undefined;
@@ -469,11 +469,11 @@ declare const SMSSetupBusinessFormSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
469
469
  };
470
470
  tollFreeNumber: string;
471
471
  messagingUseCase: {
472
- monthlyVolume: number;
473
- category: SmsUseCaseCategory;
474
- useCaseDetails: string;
472
+ monthlyVolume?: number | undefined;
473
+ category?: SmsUseCaseCategory | undefined;
474
+ useCaseDetails?: string | undefined;
475
475
  };
476
- messageSamples: string[];
476
+ messageSamples?: string[] | undefined;
477
477
  doingBusinessAs?: string | undefined;
478
478
  optInConfirmationMessage?: string | undefined;
479
479
  helpMessageSample?: string | undefined;