samva 0.2.0 → 0.3.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.
Files changed (47) hide show
  1. package/AGENTS.md +1 -1
  2. package/README.md +10 -3
  3. package/dist/client/sdk.gen.d.ts +232 -23
  4. package/dist/client/types.gen.d.ts +693 -352
  5. package/dist/{client-BqkU-sFv.js → client-BOghX8fr.js} +1530 -1532
  6. package/dist/effect/api-keys.d.ts +14 -14
  7. package/dist/effect/api-keys.js +1 -1
  8. package/dist/effect/campaigns.d.ts +134 -853
  9. package/dist/effect/campaigns.js +1 -1
  10. package/dist/effect/categories.d.ts +1 -1
  11. package/dist/effect/client.js +1 -1
  12. package/dist/effect/contacts.d.ts +123 -145
  13. package/dist/effect/contacts.js +1 -1
  14. package/dist/effect/conversations.d.ts +128 -260
  15. package/dist/effect/conversations.js +1 -1
  16. package/dist/effect/design.d.ts +11 -11
  17. package/dist/effect/design.js +1 -1
  18. package/dist/effect/email.d.ts +64 -108
  19. package/dist/effect/email.js +2 -2
  20. package/dist/effect/generated.d.ts +7346 -8748
  21. package/dist/effect/index.d.ts +1 -0
  22. package/dist/effect/index.js +3 -2
  23. package/dist/effect/internal/operation.d.ts +15 -113
  24. package/dist/effect/media.d.ts +80 -0
  25. package/dist/effect/media.js +19 -0
  26. package/dist/effect/messages.d.ts +41 -261
  27. package/dist/effect/messages.js +1 -1
  28. package/dist/effect/operations.d.ts +7 -7
  29. package/dist/effect/operations.js +1 -1
  30. package/dist/effect/organizations.d.ts +23 -41
  31. package/dist/effect/organizations.js +1 -1
  32. package/dist/effect/scheduled-messages.d.ts +43 -454
  33. package/dist/effect/scheduled-messages.js +1 -1
  34. package/dist/effect/templates.d.ts +175 -649
  35. package/dist/effect/templates.js +2 -2
  36. package/dist/effect/webhooks.d.ts +20 -21
  37. package/dist/effect/webhooks.js +2 -2
  38. package/dist/index.js +1 -1
  39. package/dist/{normalize-LkWl4HUF.js → normalize-BKFjbR9t.js} +5 -13
  40. package/dist/normalize.d.ts +3 -33
  41. package/dist/{operation-Ccqh_yxb.js → operation-C2Q4cFJL.js} +21 -3
  42. package/dist/promises/index.d.ts +4 -14
  43. package/dist/promises/index.js +1 -1
  44. package/dist/promises/types.gen.d.ts +1 -1
  45. package/dist/{promises-Dgv8UmCC.js → promises-oiy7mOyu.js} +386 -29
  46. package/dist/service-map.d.ts +26 -0
  47. package/package.json +17 -12
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
2
- import { n as make } from "../operation-Ccqh_yxb.js";
2
+ import { n as make } from "../operation-C2Q4cFJL.js";
3
3
  //#region src/effect/conversations.ts
4
4
  var conversations_exports = /* @__PURE__ */ __exportAll({
5
5
  addContacts: () => addContacts,
@@ -2,11 +2,11 @@ export declare const get: (_?: never) => import("effect/Effect").Effect<{
2
2
  readonly design: {
3
3
  readonly footer?: {
4
4
  readonly address?: {
5
- readonly region: string;
6
- readonly street1: string;
5
+ readonly country: string;
7
6
  readonly city: string;
7
+ readonly street1: string;
8
+ readonly region: string;
8
9
  readonly postalCode: string;
9
- readonly country: string;
10
10
  readonly street2?: string | null;
11
11
  } | null;
12
12
  readonly companyName?: string | null;
@@ -68,16 +68,16 @@ export declare const get: (_?: never) => import("effect/Effect").Effect<{
68
68
  readonly footerCompleteness: {
69
69
  readonly missingAddress: boolean;
70
70
  };
71
- }, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").UnauthorizedError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
71
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
72
72
  export declare const update: (input: {
73
73
  readonly design: {
74
74
  readonly footer?: {
75
75
  readonly address?: {
76
- readonly region: string;
77
- readonly street1: string;
76
+ readonly country: string;
78
77
  readonly city: string;
78
+ readonly street1: string;
79
+ readonly region: string;
79
80
  readonly postalCode: string;
80
- readonly country: string;
81
81
  readonly street2?: string | null | undefined;
82
82
  } | null | undefined;
83
83
  readonly companyName?: string | null | undefined;
@@ -140,11 +140,11 @@ export declare const update: (input: {
140
140
  readonly design: {
141
141
  readonly footer?: {
142
142
  readonly address?: {
143
- readonly region: string;
144
- readonly street1: string;
143
+ readonly country: string;
145
144
  readonly city: string;
145
+ readonly street1: string;
146
+ readonly region: string;
146
147
  readonly postalCode: string;
147
- readonly country: string;
148
148
  readonly street2?: string | null;
149
149
  } | null;
150
150
  readonly companyName?: string | null;
@@ -206,4 +206,4 @@ export declare const update: (input: {
206
206
  readonly footerCompleteness: {
207
207
  readonly missingAddress: boolean;
208
208
  };
209
- }, import("effect/SchemaError").SchemaError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").UnauthorizedError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError, import("./client").Service>;
209
+ }, import("./generated").UnauthorizedError | import("./generated").ForbiddenError | import("./generated").InternalError | import("./generated").ValidationError | import("effect/unstable/http/HttpClientError").HttpClientError | import("effect/Schema").SchemaError, import("./client").Service>;
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.js";
2
- import { n as make } from "../operation-Ccqh_yxb.js";
2
+ import { n as make } from "../operation-C2Q4cFJL.js";
3
3
  //#region src/effect/design.ts
4
4
  var design_exports = /* @__PURE__ */ __exportAll({
5
5
  get: () => get,