samva 0.25.0 → 0.27.0

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.
@@ -897,22 +897,19 @@ export declare const EmailDomainVerification: Schema.Struct<{
897
897
  readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
898
898
  }>;
899
899
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
900
- readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
901
- readonly _tag: Schema.Literal<"PublicDns">;
900
+ readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.TaggedStruct<"PublicDns", {
902
901
  readonly resolver: Schema.String;
903
902
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
904
903
  readonly values: Schema.$Array<Schema.String>;
905
904
  readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
906
905
  readonly observedAt: Schema.String;
907
- }>, Schema.Struct<{
908
- readonly _tag: Schema.Literal<"Provider">;
906
+ }>, Schema.TaggedStruct<"Provider", {
909
907
  readonly provider: Schema.String;
910
908
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
911
909
  readonly values: Schema.$Array<Schema.String>;
912
910
  readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
913
911
  readonly observedAt: Schema.String;
914
- }>, Schema.Struct<{
915
- readonly _tag: Schema.Literal<"Host">;
912
+ }>, Schema.TaggedStruct<"Host", {
916
913
  readonly source: Schema.String;
917
914
  readonly status: Schema.Union<readonly [Schema.Literal<"ok">, Schema.Literal<"pending">, Schema.Literal<"failed">]>;
918
915
  readonly label: Schema.String;
@@ -2316,22 +2313,19 @@ export declare const EmailGetDomainVerification200: Schema.Struct<{
2316
2313
  readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
2317
2314
  }>;
2318
2315
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
2319
- readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
2320
- readonly _tag: Schema.Literal<"PublicDns">;
2316
+ readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.TaggedStruct<"PublicDns", {
2321
2317
  readonly resolver: Schema.String;
2322
2318
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
2323
2319
  readonly values: Schema.$Array<Schema.String>;
2324
2320
  readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
2325
2321
  readonly observedAt: Schema.String;
2326
- }>, Schema.Struct<{
2327
- readonly _tag: Schema.Literal<"Provider">;
2322
+ }>, Schema.TaggedStruct<"Provider", {
2328
2323
  readonly provider: Schema.String;
2329
2324
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
2330
2325
  readonly values: Schema.$Array<Schema.String>;
2331
2326
  readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
2332
2327
  readonly observedAt: Schema.String;
2333
- }>, Schema.Struct<{
2334
- readonly _tag: Schema.Literal<"Host">;
2328
+ }>, Schema.TaggedStruct<"Host", {
2335
2329
  readonly source: Schema.String;
2336
2330
  readonly status: Schema.Union<readonly [Schema.Literal<"ok">, Schema.Literal<"pending">, Schema.Literal<"failed">]>;
2337
2331
  readonly label: Schema.String;
@@ -2448,22 +2442,19 @@ export declare const EmailAdvanceDomainVerification200: Schema.Struct<{
2448
2442
  readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
2449
2443
  }>;
2450
2444
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
2451
- readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
2452
- readonly _tag: Schema.Literal<"PublicDns">;
2445
+ readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.TaggedStruct<"PublicDns", {
2453
2446
  readonly resolver: Schema.String;
2454
2447
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
2455
2448
  readonly values: Schema.$Array<Schema.String>;
2456
2449
  readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
2457
2450
  readonly observedAt: Schema.String;
2458
- }>, Schema.Struct<{
2459
- readonly _tag: Schema.Literal<"Provider">;
2451
+ }>, Schema.TaggedStruct<"Provider", {
2460
2452
  readonly provider: Schema.String;
2461
2453
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
2462
2454
  readonly values: Schema.$Array<Schema.String>;
2463
2455
  readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
2464
2456
  readonly observedAt: Schema.String;
2465
- }>, Schema.Struct<{
2466
- readonly _tag: Schema.Literal<"Host">;
2457
+ }>, Schema.TaggedStruct<"Host", {
2467
2458
  readonly source: Schema.String;
2468
2459
  readonly status: Schema.Union<readonly [Schema.Literal<"ok">, Schema.Literal<"pending">, Schema.Literal<"failed">]>;
2469
2460
  readonly label: Schema.String;
@@ -4429,22 +4420,19 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
4429
4420
  readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
4430
4421
  }>;
4431
4422
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
4432
- readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
4433
- readonly _tag: Schema.Literal<"PublicDns">;
4423
+ readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.TaggedStruct<"PublicDns", {
4434
4424
  readonly resolver: Schema.String;
4435
4425
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
4436
4426
  readonly values: Schema.$Array<Schema.String>;
4437
4427
  readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
4438
4428
  readonly observedAt: Schema.String;
4439
- }>, Schema.Struct<{
4440
- readonly _tag: Schema.Literal<"Provider">;
4429
+ }>, Schema.TaggedStruct<"Provider", {
4441
4430
  readonly provider: Schema.String;
4442
4431
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
4443
4432
  readonly values: Schema.$Array<Schema.String>;
4444
4433
  readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
4445
4434
  readonly observedAt: Schema.String;
4446
- }>, Schema.Struct<{
4447
- readonly _tag: Schema.Literal<"Host">;
4435
+ }>, Schema.TaggedStruct<"Host", {
4448
4436
  readonly source: Schema.String;
4449
4437
  readonly status: Schema.Union<readonly [Schema.Literal<"ok">, Schema.Literal<"pending">, Schema.Literal<"failed">]>;
4450
4438
  readonly label: Schema.String;
@@ -7374,22 +7362,19 @@ declare const EmailGroup_base: HttpApiGroup.HttpApiGroup<"Email", HttpApiEndpoin
7374
7362
  readonly priority: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
7375
7363
  }>;
7376
7364
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
7377
- readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
7378
- readonly _tag: Schema.Literal<"PublicDns">;
7365
+ readonly evidence: Schema.$Array<Schema.Union<readonly [Schema.TaggedStruct<"PublicDns", {
7379
7366
  readonly resolver: Schema.String;
7380
7367
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
7381
7368
  readonly values: Schema.$Array<Schema.String>;
7382
7369
  readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
7383
7370
  readonly observedAt: Schema.String;
7384
- }>, Schema.Struct<{
7385
- readonly _tag: Schema.Literal<"Provider">;
7371
+ }>, Schema.TaggedStruct<"Provider", {
7386
7372
  readonly provider: Schema.String;
7387
7373
  readonly status: Schema.Union<readonly [Schema.Literal<"satisfied">, Schema.Literal<"missing">, Schema.Literal<"mismatch">, Schema.Literal<"unknown">]>;
7388
7374
  readonly values: Schema.$Array<Schema.String>;
7389
7375
  readonly detail: Schema.Union<readonly [Schema.String, Schema.Null]>;
7390
7376
  readonly observedAt: Schema.String;
7391
- }>, Schema.Struct<{
7392
- readonly _tag: Schema.Literal<"Host">;
7377
+ }>, Schema.TaggedStruct<"Host", {
7393
7378
  readonly source: Schema.String;
7394
7379
  readonly status: Schema.Union<readonly [Schema.Literal<"ok">, Schema.Literal<"pending">, Schema.Literal<"failed">]>;
7395
7380
  readonly label: Schema.String;
@@ -644,8 +644,7 @@ const EmailDomainVerification = /* @__PURE__ */ Schema.Struct({
644
644
  Schema.Literal("unknown")
645
645
  ]),
646
646
  evidence: Schema.Array(Schema.Union([
647
- Schema.Struct({
648
- _tag: Schema.Literal("PublicDns"),
647
+ Schema.TaggedStruct("PublicDns", {
649
648
  resolver: Schema.String,
650
649
  status: Schema.Union([
651
650
  Schema.Literal("satisfied"),
@@ -657,8 +656,7 @@ const EmailDomainVerification = /* @__PURE__ */ Schema.Struct({
657
656
  detail: Schema.Union([Schema.String, Schema.Null]),
658
657
  observedAt: Schema.String
659
658
  }),
660
- Schema.Struct({
661
- _tag: Schema.Literal("Provider"),
659
+ Schema.TaggedStruct("Provider", {
662
660
  provider: Schema.String,
663
661
  status: Schema.Union([
664
662
  Schema.Literal("satisfied"),
@@ -670,8 +668,7 @@ const EmailDomainVerification = /* @__PURE__ */ Schema.Struct({
670
668
  detail: Schema.Union([Schema.String, Schema.Null]),
671
669
  observedAt: Schema.String
672
670
  }),
673
- Schema.Struct({
674
- _tag: Schema.Literal("Host"),
671
+ Schema.TaggedStruct("Host", {
675
672
  source: Schema.String,
676
673
  status: Schema.Union([
677
674
  Schema.Literal("ok"),
@@ -58,6 +58,6 @@ export * from "./templates";
58
58
  export * from "./unsubscribe-groups";
59
59
  export * from "./webhooks";
60
60
  export * from "./whoami";
61
- declare const SamvaApi_base: HttpApi.HttpApi<"SamvaApi", typeof AnalyticsGroup | typeof AgentsGroup | typeof APIKeysGroup | typeof AttachmentsGroup | typeof BrandsGroup | typeof CampaignsGroup | typeof ContactEventsGroup | typeof ContactGroupsGroup | typeof ContactsGroup | typeof ConversationsGroup | typeof CustomFieldsGroup | typeof EmailGroup | typeof EventsGroup | typeof ExtensionInstallationsGroup | typeof ExtensionsGroup | typeof FeedbackGroup | typeof JourneysGroup | typeof MailboxesGroup | typeof MediaGroup | typeof MessagesGroup | typeof NamespacesGroup | typeof OperationsGroup | typeof OrganizationsGroup | typeof ScheduledMessagesGroup | typeof SubscriptionsGroup | typeof TemplatesGroup | typeof UnsubscribeGroupsGroup | typeof WebhooksGroup | typeof WhoamiGroup>;
61
+ declare const SamvaApi_base: HttpApi.HttpApi<"SamvaApi", typeof AgentsGroup | typeof AnalyticsGroup | typeof APIKeysGroup | typeof AttachmentsGroup | typeof BrandsGroup | typeof CampaignsGroup | typeof ContactEventsGroup | typeof ContactGroupsGroup | typeof ContactsGroup | typeof ConversationsGroup | typeof CustomFieldsGroup | typeof EmailGroup | typeof EventsGroup | typeof ExtensionInstallationsGroup | typeof ExtensionsGroup | typeof FeedbackGroup | typeof JourneysGroup | typeof MailboxesGroup | typeof MediaGroup | typeof MessagesGroup | typeof NamespacesGroup | typeof OperationsGroup | typeof OrganizationsGroup | typeof ScheduledMessagesGroup | typeof SubscriptionsGroup | typeof TemplatesGroup | typeof UnsubscribeGroupsGroup | typeof WebhooksGroup | typeof WhoamiGroup>;
62
62
  export declare class SamvaApi extends SamvaApi_base {
63
63
  }