samva 0.11.0 → 0.13.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 (59) hide show
  1. package/dist/{categories-DvsHUJtX.js → categories-Bcwq5jPV.js} +5 -1
  2. package/dist/client/sdk.gen.d.ts +48 -21
  3. package/dist/client/types.gen.d.ts +340 -64
  4. package/dist/{client-8YXjfsVc.js → client-DYPNDvVU.js} +330 -75
  5. package/dist/effect/analytics.js +1 -1
  6. package/dist/effect/api-keys.js +1 -1
  7. package/dist/effect/attachments.js +1 -1
  8. package/dist/effect/brands.js +2 -2
  9. package/dist/effect/campaigns.d.ts +1 -1
  10. package/dist/effect/campaigns.js +1 -1
  11. package/dist/effect/categories.js +1 -1
  12. package/dist/effect/client.js +1 -1
  13. package/dist/effect/contact-groups.d.ts +0 -3
  14. package/dist/effect/contact-groups.js +1 -1
  15. package/dist/effect/contacts.d.ts +40 -8
  16. package/dist/effect/contacts.js +1 -1
  17. package/dist/effect/conversations.js +1 -1
  18. package/dist/effect/custom-fields.js +1 -1
  19. package/dist/effect/email.d.ts +87 -2
  20. package/dist/effect/email.js +7 -3
  21. package/dist/effect/extension-installations.d.ts +66 -0
  22. package/dist/effect/extension-installations.js +5 -3
  23. package/dist/effect/extensions.js +1 -1
  24. package/dist/effect/feedback.js +2 -2
  25. package/dist/effect/generated-metadata.d.ts +4 -0
  26. package/dist/effect/generated.d.ts +1312 -162
  27. package/dist/effect/index.d.ts +1 -0
  28. package/dist/effect/index.js +5 -4
  29. package/dist/effect/internal/client.d.ts +14 -0
  30. package/dist/effect/internal/operation.d.ts +5 -2
  31. package/dist/effect/mailboxes.d.ts +6 -6
  32. package/dist/effect/mailboxes.js +2 -2
  33. package/dist/effect/media.js +1 -1
  34. package/dist/effect/messages.d.ts +2 -2
  35. package/dist/effect/messages.js +1 -1
  36. package/dist/effect/namespaces.js +1 -1
  37. package/dist/effect/operations.js +1 -1
  38. package/dist/effect/organizations.js +1 -1
  39. package/dist/effect/retry.js +1 -1
  40. package/dist/effect/scheduled-messages.d.ts +1 -1
  41. package/dist/effect/scheduled-messages.js +1 -1
  42. package/dist/effect/templates.js +2 -2
  43. package/dist/effect/unsubscribe-groups.js +1 -1
  44. package/dist/effect/webhooks.js +2 -2
  45. package/dist/index.js +4 -3
  46. package/dist/inline-attachments-B56eS0MF.js +121 -0
  47. package/dist/inline-attachments.d.ts +65 -0
  48. package/dist/{mailbox-events-CcWm8lO4.js → mailbox-events-CsbF35vH.js} +18 -6
  49. package/dist/mailbox-events.d.ts +8 -5
  50. package/dist/{mailboxes-4gJMAJh4.js → mailboxes-D3Kx7elM.js} +4 -4
  51. package/dist/{operation-BuyvAsZ1.js → operation-B_Ty1LG-.js} +45 -3
  52. package/dist/promises/errors.gen.d.ts +14 -2
  53. package/dist/promises/index.d.ts +1 -0
  54. package/dist/promises/index.js +4 -3
  55. package/dist/promises/types.gen.d.ts +1 -1
  56. package/dist/{promises-CqAmI39P.js → promises-D9FJyU0q.js} +178 -20
  57. package/dist/service-map.d.ts +15 -0
  58. package/package.json +2 -2
  59. package/dist/client-attribution-Ct2FKITg.js +0 -9
@@ -1,5 +1,5 @@
1
- import { n as clientAttribution, t as CLIENT_ATTRIBUTION_HEADER } from "./client-attribution-Ct2FKITg.js";
2
- import { t as MailboxEventStream } from "./mailbox-events-CcWm8lO4.js";
1
+ import { a as withUploadedAttachments, n as mediaCreateBody, o as CLIENT_ATTRIBUTION_HEADER, r as planInlineUploads, s as clientAttribution, t as MediaUploadError } from "./inline-attachments-B56eS0MF.js";
2
+ import { t as MailboxEventStream } from "./mailbox-events-CsbF35vH.js";
3
3
  import { n as buildMessagesSendPayload, r as replyToEmailsPayload, t as buildEmailSendPayload } from "./normalize-B79uJIeb.js";
4
4
  //#region src/client/core/bodySerializer.gen.ts
5
5
  const jsonBodySerializer = { bodySerializer: (body) => JSON.stringify(body, (_key, value) => typeof value === "bigint" ? value.toString() : value) };
@@ -1936,7 +1936,7 @@ var Email = class {
1936
1936
  /**
1937
1937
  * Build a one-click DNS apply URL
1938
1938
  *
1939
- * Builds the signed Domain Connect apply URL for the selected sending-only or sending-and-receiving service. Manual DNS remains available for either mode.
1939
+ * Builds the signed Domain Connect apply URL for the selected sending-only or sending-and-receiving service. The sending-and-receiving service writes the apex inbound MX, so it is refused until the domain's receiving is enabled. Manual DNS remains available for either mode.
1940
1940
  */
1941
1941
  static buildDomainConnectApplyUrl(parameters, options) {
1942
1942
  const params = buildClientParams([parameters], [{ args: [{
@@ -2003,7 +2003,7 @@ var Email = class {
2003
2003
  /**
2004
2004
  * Enable inbound email for a domain
2005
2005
  *
2006
- * Enables inbound receiving for a verified domain and returns the recipient addresses it accepts. Set `catchAll` to route every address on the domain; that requires a webhook endpoint, supplied as `endpointId` or already configured on the domain.
2006
+ * Enables inbound receiving for a verified domain and returns the recipient addresses it accepts. Set `catchAll` to route every address on the domain; that needs a destination: a webhook endpoint, supplied as `endpointId` or already configured on the domain, or at least one active forwarding rule that covers the domain. Mail that matches neither is rejected, never accepted and dropped.
2007
2007
  */
2008
2008
  static enableReceiving(parameters, options) {
2009
2009
  const params = buildClientParams([parameters], [{ args: [
@@ -2044,6 +2044,26 @@ var Email = class {
2044
2044
  });
2045
2045
  }
2046
2046
  /**
2047
+ * Get receiving setup status
2048
+ *
2049
+ * Reports each prerequisite for receiving a domain's mail at Samva, in order: sending verified, a destination (a webhook endpoint or an active forwarding rule), receiving enabled, and the inbound MX record. The MX answer is a live DNS lookup that names the current target when mail is routed elsewhere.
2050
+ */
2051
+ static getReceivingStatus(parameters, options) {
2052
+ const params = buildClientParams([parameters], [{ args: [{
2053
+ in: "path",
2054
+ key: "id"
2055
+ }] }]);
2056
+ return (options?.client ?? client).get({
2057
+ security: [{
2058
+ name: "x-api-key",
2059
+ type: "apiKey"
2060
+ }],
2061
+ url: "/v1/email/domains/{id}/receiving-status",
2062
+ ...options,
2063
+ ...params
2064
+ });
2065
+ }
2066
+ /**
2047
2067
  * Set the default sending domain
2048
2068
  *
2049
2069
  * Marks a verified domain as the organization's default sending domain, atomically clearing any previous default. Omitted-`from` sends resolve through the default domain's default sender.
@@ -2231,6 +2251,26 @@ var Email = class {
2231
2251
  });
2232
2252
  }
2233
2253
  /**
2254
+ * Recheck a custom tracking domain's certificate
2255
+ *
2256
+ * Checks the hostname's certificate now instead of waiting for the next scheduled check, and returns the refreshed state. Samva checks a hostname at most once every 30 seconds; a recheck inside that window returns the state from the last check. Returns a conflict when custom tracking is disabled or being torn down.
2257
+ */
2258
+ static recheckCustomTracking(parameters, options) {
2259
+ const params = buildClientParams([parameters], [{ args: [{
2260
+ in: "path",
2261
+ key: "id"
2262
+ }] }]);
2263
+ return (options?.client ?? client).post({
2264
+ security: [{
2265
+ name: "x-api-key",
2266
+ type: "apiKey"
2267
+ }],
2268
+ url: "/v1/email/domains/{id}/custom-tracking/recheck",
2269
+ ...options,
2270
+ ...params
2271
+ });
2272
+ }
2273
+ /**
2234
2274
  * Check automatic Custom Tracking Domain setup eligibility
2235
2275
  *
2236
2276
  * Reports whether the domain's DNS provider supports Domain Connect for its current Custom Tracking Domain. Ineligible is a normal result and the exact manual CNAME records remain available.
@@ -2496,7 +2536,7 @@ var Email = class {
2496
2536
  /**
2497
2537
  * Enable catch-all receiving
2498
2538
  *
2499
- * Enables catch-all inbound receiving for a domain. `endpointId` is one of the organization's webhook endpoints; every address on the domain delivers `message.received` to it. Responds with 201.
2539
+ * Enables catch-all inbound receiving for a verified domain. `endpointId` is one of the organization's webhook endpoints; every address on the domain delivers `message.received` to it. Omit it to deliver through forwarding rules alone, which needs at least one active forwarding rule covering the domain. Mail that matches neither a rule nor an endpoint is rejected as an unknown recipient. Responds with 201.
2500
2540
  */
2501
2541
  static enableCatchAll(parameters, options) {
2502
2542
  const params = buildClientParams([parameters], [{ args: [{
@@ -2902,7 +2942,7 @@ var Email = class {
2902
2942
  /**
2903
2943
  * List forwarding rules
2904
2944
  *
2905
- * Returns every inbound email forwarding rule, highest priority first, optionally filtered by domain and active state. An organization holds at most 100, so the list is never paged.
2945
+ * Returns every inbound email forwarding rule in the order inbound mail is matched against them: highest priority first, then an exact address before a wildcard pattern at equal priority, then oldest first. The first rule that matches is the one that forwards. Filtering by domain returns that domain's rules and the rules that apply to every domain (domainId null). An organization holds at most 100, so the list is never paged.
2906
2946
  */
2907
2947
  static listForwardingRules(parameters, options) {
2908
2948
  const params = buildClientParams([parameters], [{ args: [{
@@ -2925,7 +2965,7 @@ var Email = class {
2925
2965
  /**
2926
2966
  * Create a forwarding rule
2927
2967
  *
2928
- * Creates an inbound email forwarding rule and returns it. Responds with 201. An organization holds at most 100 forwarding rules.
2968
+ * Creates an inbound email forwarding rule and returns it. Responds with 201. Priority is a non-negative integer, default 0; higher priority rules are tried first, and at equal priority an exact address outranks a wildcard pattern. An organization holds at most 100 forwarding rules.
2929
2969
  */
2930
2970
  static createForwardingRule(parameters, options) {
2931
2971
  const params = buildClientParams([parameters], [{ args: [
@@ -3336,7 +3376,7 @@ var Media = class {
3336
3376
  /**
3337
3377
  * Create a media object
3338
3378
  *
3339
- * Creates the media object in the pending state and returns it with the upload instruction — URL, method, and headers — for putting its bytes into storage.
3379
+ * Creates the media object in the pending state and returns it with the upload instruction — URL, method, and headers — for putting its bytes into storage. Requires `messages:create`, or `email:send` for `attachment` media.
3340
3380
  */
3341
3381
  static create(parameters, options) {
3342
3382
  const params = buildClientParams([parameters], [{ args: [
@@ -3379,7 +3419,7 @@ var Media = class {
3379
3419
  /**
3380
3420
  * Complete a media upload
3381
3421
  *
3382
- * Verifies the uploaded object exists in storage, marks the media object ready, and returns it with a download URL.
3422
+ * Verifies the uploaded object exists in storage, marks the media object ready, and returns it with a download URL. Requires the permission that creating the media object did.
3383
3423
  */
3384
3424
  static complete(parameters, options) {
3385
3425
  const params = buildClientParams([parameters], [{ args: [{
@@ -4486,7 +4526,7 @@ var Contacts = class {
4486
4526
  /**
4487
4527
  * Bulk import contacts
4488
4528
  *
4489
- * Creates or updates contacts in bulk from a list, returning per-entry results with created, updated, skipped, and error counts.
4529
+ * Creates contacts in bulk from a list of entries shaped like a create request, returning per-entry results with created, updated, skipped, and error counts. An entry whose identities match an existing contact is skipped, or updates it with `onConflict: "update"`.
4490
4530
  */
4491
4531
  static bulkImport(parameters, options) {
4492
4532
  const params = buildClientParams([parameters], [{ args: [{
@@ -4494,7 +4534,7 @@ var Contacts = class {
4494
4534
  key: "contacts"
4495
4535
  }, {
4496
4536
  in: "body",
4497
- key: "upsertByEmail"
4537
+ key: "onConflict"
4498
4538
  }] }]);
4499
4539
  return (options?.client ?? client).post({
4500
4540
  security: [{
@@ -9439,7 +9479,7 @@ var Namespaces = class {
9439
9479
  /**
9440
9480
  * Delete a namespace
9441
9481
  *
9442
- * Deletes an empty namespace. A namespace that still holds mailboxes or API keys conflicts: remove or move them first.
9482
+ * Deletes an empty namespace. A namespace that still holds mailboxes, API keys, or webhook endpoints conflicts: remove them first.
9443
9483
  */
9444
9484
  static remove(parameters, options) {
9445
9485
  const params = buildClientParams([parameters], [{ args: [{
@@ -9776,6 +9816,45 @@ var ExtensionInstallations = class {
9776
9816
  });
9777
9817
  }
9778
9818
  /**
9819
+ * Upgrade or roll back an installation
9820
+ *
9821
+ * Changes the pinned version in place. Omit version for the latest publication, or name a version string or id, including an older version to roll back. Preview with dryRun; changing requires acceptPermissions to list exactly the added permission: and event: grants. Only a person can upgrade. Credentials, owner, scope, send mode, and status stay attached to the installation.
9822
+ */
9823
+ static upgrade(parameters, options) {
9824
+ const params = buildClientParams([parameters], [{ args: [
9825
+ {
9826
+ in: "path",
9827
+ key: "id"
9828
+ },
9829
+ {
9830
+ in: "body",
9831
+ key: "version"
9832
+ },
9833
+ {
9834
+ in: "body",
9835
+ key: "acceptPermissions"
9836
+ },
9837
+ {
9838
+ in: "body",
9839
+ key: "dryRun"
9840
+ }
9841
+ ] }]);
9842
+ return (options?.client ?? client).post({
9843
+ security: [{
9844
+ name: "x-api-key",
9845
+ type: "apiKey"
9846
+ }],
9847
+ url: "/v1/extension-installations/{id}/upgrade",
9848
+ ...options,
9849
+ ...params,
9850
+ headers: {
9851
+ "Content-Type": "application/json",
9852
+ ...options?.headers,
9853
+ ...params.headers
9854
+ }
9855
+ });
9856
+ }
9857
+ /**
9779
9858
  * Disable an installation
9780
9859
  *
9781
9860
  * Stops the installation at once: its events stop, and its credential is refused on every surface until it is enabled again.
@@ -10007,6 +10086,13 @@ var ResourceNotFoundError = class extends SamvaApiError {
10007
10086
  Object.assign(this, payload);
10008
10087
  }
10009
10088
  };
10089
+ var SenderNotReadyError = class extends SamvaApiError {
10090
+ _tag = "SenderNotReadyError";
10091
+ constructor(payload, context = {}) {
10092
+ super(messageOf("SenderNotReadyError", payload), context);
10093
+ Object.assign(this, payload);
10094
+ }
10095
+ };
10010
10096
  var UnauthorizedError = class extends SamvaApiError {
10011
10097
  _tag = "UnauthorizedError";
10012
10098
  constructor(payload, context = {}) {
@@ -10038,6 +10124,7 @@ const constructors = {
10038
10124
  PaymentRequiredError,
10039
10125
  RateLimitedError,
10040
10126
  ResourceNotFoundError,
10127
+ SenderNotReadyError,
10041
10128
  UnauthorizedError,
10042
10129
  ValidationError
10043
10130
  };
@@ -10366,6 +10453,26 @@ const payloadSchemas = {
10366
10453
  "x-category": ["notFound"],
10367
10454
  "x-retryable": false
10368
10455
  },
10456
+ SenderNotReadyError: {
10457
+ type: "object",
10458
+ properties: {
10459
+ _tag: {
10460
+ type: "string",
10461
+ enum: ["SenderNotReadyError"]
10462
+ },
10463
+ message: { type: "string" },
10464
+ sender: { type: "string" },
10465
+ retryAfterSeconds: { anyOf: [{ type: "number" }, { type: "null" }] }
10466
+ },
10467
+ required: [
10468
+ "_tag",
10469
+ "message",
10470
+ "sender"
10471
+ ],
10472
+ additionalProperties: false,
10473
+ "x-category": ["transient"],
10474
+ "x-retryable": true
10475
+ },
10369
10476
  UnauthorizedError: {
10370
10477
  type: "object",
10371
10478
  properties: {
@@ -10497,6 +10604,56 @@ function resolveIdempotencyKey(options) {
10497
10604
  requestOptions
10498
10605
  };
10499
10606
  }
10607
+ /**
10608
+ * Inline attachment content over the API's request cap travels as media instead: the largest
10609
+ * attachments are uploaded (create, put to the presigned URL, complete) and replaced by their
10610
+ * `mediaId`. The returned payload is the one request every send attempt reuses, so nothing is
10611
+ * uploaded twice.
10612
+ */
10613
+ async function uploadOversizedAttachments(clientInstance, payload, requestOptions) {
10614
+ const plan = planInlineUploads(payload);
10615
+ if (plan.length === 0) return payload;
10616
+ const uploaded = /* @__PURE__ */ new Map();
10617
+ const directMedia = createDirectService(createBoundService(Media, clientInstance));
10618
+ for (const upload of plan) {
10619
+ const created = await directMedia.create(mediaCreateBody(upload), requestOptions);
10620
+ await putUpload(clientInstance, upload, created, requestOptions.signal ?? void 0);
10621
+ await directMedia.complete({ id: created.id }, requestOptions);
10622
+ uploaded.set(upload.index, {
10623
+ mediaId: created.id,
10624
+ upload
10625
+ });
10626
+ }
10627
+ return withUploadedAttachments(payload, uploaded);
10628
+ }
10629
+ /**
10630
+ * Send with oversized inline attachments uploaded first. Within the cap this is the send call
10631
+ * itself, one request and no extra await, so its result is returned unchanged.
10632
+ */
10633
+ function sendWithUploads(clientInstance, payload, requestOptions, send) {
10634
+ if (planInlineUploads(payload).length === 0) return send(payload);
10635
+ return uploadOversizedAttachments(clientInstance, payload, requestOptions).then(send);
10636
+ }
10637
+ async function putUpload(clientInstance, upload, created, signal) {
10638
+ const fail = (status, cause) => new MediaUploadError({
10639
+ filename: upload.filename,
10640
+ mediaId: created.id,
10641
+ status,
10642
+ cause
10643
+ });
10644
+ let response;
10645
+ try {
10646
+ response = await (clientInstance.getConfig().fetch ?? globalThis.fetch)(new Request(created.upload.url, {
10647
+ method: created.upload.method,
10648
+ headers: created.upload.headers,
10649
+ body: upload.bytes,
10650
+ signal: signal ?? null
10651
+ }));
10652
+ } catch (error) {
10653
+ throw fail(void 0, error);
10654
+ }
10655
+ if (!response.ok) throw fail(response.status);
10656
+ }
10500
10657
  function createPromiseMessagesTransport(clientInstance) {
10501
10658
  const boundMessages = createBoundService(Messages, clientInstance);
10502
10659
  return {
@@ -10511,13 +10668,13 @@ function createPromiseMessagesTransport(clientInstance) {
10511
10668
  validateEmail: boundMessages.validateEmail,
10512
10669
  send: (input, options) => {
10513
10670
  const { idempotencyKey, requestOptions } = resolveIdempotencyKey(options);
10514
- return Messages.send({
10671
+ return sendWithUploads(clientInstance, buildMessagesSendPayload(input), requestOptions, (payload) => Messages.send({
10515
10672
  "idempotency-key": idempotencyKey,
10516
- emailSendMessagePayload: buildMessagesSendPayload(input)
10673
+ emailSendMessagePayload: payload
10517
10674
  }, {
10518
10675
  ...requestOptions,
10519
10676
  client: clientInstance
10520
- });
10677
+ }));
10521
10678
  }
10522
10679
  };
10523
10680
  }
@@ -10538,13 +10695,13 @@ function createPromiseEmailTransport(clientInstance) {
10538
10695
  },
10539
10696
  send: (input, options) => {
10540
10697
  const { idempotencyKey, requestOptions } = resolveIdempotencyKey(options);
10541
- return Messages.send({
10698
+ return sendWithUploads(clientInstance, buildEmailSendPayload(input), requestOptions, (payload) => Messages.send({
10542
10699
  "idempotency-key": idempotencyKey,
10543
- emailSendMessagePayload: buildEmailSendPayload(input)
10700
+ emailSendMessagePayload: payload
10544
10701
  }, {
10545
10702
  ...requestOptions,
10546
10703
  client: clientInstance
10547
- });
10704
+ }));
10548
10705
  }
10549
10706
  });
10550
10707
  }
@@ -10578,6 +10735,7 @@ async function unwrap(method, arguments_) {
10578
10735
  try {
10579
10736
  result = await method(...arguments_);
10580
10737
  } catch (error) {
10738
+ if (error instanceof MediaUploadError) throw error;
10581
10739
  throw fromApiError(error);
10582
10740
  }
10583
10741
  if (!isObject(result)) throw new SamvaTransportError(result);
@@ -10673,6 +10831,6 @@ function createClient(config) {
10673
10831
  };
10674
10832
  }
10675
10833
  //#endregion
10676
- export { fromApiError as S, ResourceNotFoundError as _, CampaignFooterRequiredError as a, UnauthorizedError as b, EmailChannelError as c, ForbiddenError as d, GatewayTimeoutError as f, RateLimitedError as g, PaymentRequiredError as h, BrandAddressRequiredError as i, ExternalServiceError as l, OnboardingReviewRequiredError as m, AnalyticsQueryError as n, ConflictError as o, InternalError as p, BillingProviderError as r, DeliveryUnavailableError as s, createClient as t, FlagDisabledError as u, SamvaApiError as v, ValidationError as x, SamvaTransportError as y };
10834
+ export { fromApiError as C, ValidationError as S, ResourceNotFoundError as _, CampaignFooterRequiredError as a, SenderNotReadyError as b, EmailChannelError as c, ForbiddenError as d, GatewayTimeoutError as f, RateLimitedError as g, PaymentRequiredError as h, BrandAddressRequiredError as i, ExternalServiceError as l, OnboardingReviewRequiredError as m, AnalyticsQueryError as n, ConflictError as o, InternalError as p, BillingProviderError as r, DeliveryUnavailableError as s, createClient as t, FlagDisabledError as u, SamvaApiError as v, UnauthorizedError as x, SamvaTransportError as y };
10677
10835
 
10678
- //# sourceMappingURL=promises-CqAmI39P.js.map
10836
+ //# sourceMappingURL=promises-D9FJyU0q.js.map
@@ -126,8 +126,10 @@ export declare const SDK_SERVICE_OPERATIONS: {
126
126
  readonly buildDomainConnectApplyUrl: "emailBuildDomainConnectApplyUrl";
127
127
  readonly completeDomainConnect: "emailCompleteDomainConnect";
128
128
  readonly enableReceiving: "emailEnableReceiving";
129
+ readonly getReceivingStatus: "emailGetReceivingStatus";
129
130
  readonly enableCustomTracking: "emailEnableCustomTracking";
130
131
  readonly getCustomTracking: "emailGetCustomTracking";
132
+ readonly recheckCustomTracking: "emailRecheckCustomTracking";
131
133
  readonly getCustomTrackingDomainConnect: "emailGetCustomTrackingDomainConnect";
132
134
  readonly buildCustomTrackingDomainConnectApplyUrl: "emailBuildCustomTrackingDomainConnectApplyUrl";
133
135
  readonly completeCustomTrackingDomainConnect: "emailCompleteCustomTrackingDomainConnect";
@@ -340,6 +342,7 @@ export declare const SDK_SERVICE_OPERATIONS: {
340
342
  readonly extensionInstallations: {
341
343
  readonly list: "extensionInstallationsList";
342
344
  readonly install: "extensionInstallationsInstall";
345
+ readonly upgrade: "extensionInstallationsUpgrade";
343
346
  readonly get: "extensionInstallationsGet";
344
347
  readonly uninstall: "extensionInstallationsUninstall";
345
348
  readonly disable: "extensionInstallationsDisable";
@@ -586,6 +589,10 @@ export declare const SDK_OPERATION_CALLS: {
586
589
  readonly kind: "pathPayload";
587
590
  readonly paths: readonly ["id"];
588
591
  };
592
+ readonly emailGetReceivingStatus: {
593
+ readonly kind: "path";
594
+ readonly paths: readonly ["id"];
595
+ };
589
596
  readonly emailEnableCustomTracking: {
590
597
  readonly kind: "pathPayload";
591
598
  readonly paths: readonly ["id"];
@@ -594,6 +601,10 @@ export declare const SDK_OPERATION_CALLS: {
594
601
  readonly kind: "path";
595
602
  readonly paths: readonly ["id"];
596
603
  };
604
+ readonly emailRecheckCustomTracking: {
605
+ readonly kind: "path";
606
+ readonly paths: readonly ["id"];
607
+ };
597
608
  readonly emailGetCustomTrackingDomainConnect: {
598
609
  readonly kind: "path";
599
610
  readonly paths: readonly ["id"];
@@ -1426,6 +1437,10 @@ export declare const SDK_OPERATION_CALLS: {
1426
1437
  readonly extensionInstallationsInstall: {
1427
1438
  readonly kind: "payload";
1428
1439
  };
1440
+ readonly extensionInstallationsUpgrade: {
1441
+ readonly kind: "pathPayload";
1442
+ readonly paths: readonly ["id"];
1443
+ };
1429
1444
  readonly extensionInstallationsGet: {
1430
1445
  readonly kind: "path";
1431
1446
  readonly paths: readonly ["id"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "samva",
3
- "version": "0.11.0",
3
+ "version": "0.13.0",
4
4
  "description": "TypeScript SDK for the Samva email API",
5
5
  "keywords": [
6
6
  "api-client",
@@ -177,7 +177,7 @@
177
177
  "typecheck": "tsc --noEmit && tsc --noEmit -p codegen/tsconfig.json && tsc --noEmit -p tests/tsconfig.json"
178
178
  },
179
179
  "dependencies": {
180
- "@samva/webhooks": "0.11.0"
180
+ "@samva/webhooks": "0.13.0"
181
181
  },
182
182
  "devDependencies": {
183
183
  "@effect/openapi-generator": "4.0.0",
@@ -1,9 +0,0 @@
1
- //#endregion
2
- //#region src/client-attribution.ts
3
- const SDK_VERSION = "0.11.0";
4
- const CLIENT_ATTRIBUTION_HEADER = "x-samva-client";
5
- const clientAttribution = (surface) => `${surface}/${SDK_VERSION}`;
6
- //#endregion
7
- export { clientAttribution as n, CLIENT_ATTRIBUTION_HEADER as t };
8
-
9
- //# sourceMappingURL=client-attribution-Ct2FKITg.js.map