@mazmo/sdk 2.0.0 → 3.1.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.
package/README.md CHANGED
@@ -52,4 +52,4 @@ Each release says, at the end of this page, which version of the API it was buil
52
52
 
53
53
  The reference of every endpoint is at [docs.mazmo.net](https://docs.mazmo.net).
54
54
 
55
- Built against version 7.7.81 of the Mazmo API.
55
+ Built against version 7.7.85 of the Mazmo API.
package/dist/index.cjs CHANGED
@@ -302,6 +302,7 @@ var routes = {
302
302
  listBlocks: { method: "GET", path: "/users/blocks" },
303
303
  listFollowLists: { method: "GET", path: "/users/followlists" },
304
304
  listMyOrgPointsLedger: { method: "GET", path: "/users/orgpoints/ledger" },
305
+ listOrganizationWebhookDeliveries: { method: "GET", path: "/users/:username/webhookdeliveries" },
305
306
  listOrgPointsHolders: { method: "GET", path: "/users/orgpoints/users" },
306
307
  listReports: { method: "GET", path: "/users/reports" },
307
308
  listSavedSearches: { method: "GET", path: "/users/saved-searches" },
@@ -316,6 +317,7 @@ var routes = {
316
317
  renameDevice: { method: "PATCH", path: "/users/devices/:deviceId" },
317
318
  renameFollowList: { method: "PUT", path: "/users/followlists/:listId/name" },
318
319
  renameSavedSearch: { method: "PATCH", path: "/users/saved-searches/:id" },
320
+ resumeOrganizationWebhook: { method: "POST", path: "/users/organizationwebhooks/resume" },
319
321
  revokeOtherSessions: { method: "DELETE", path: "/users/sessions/others" },
320
322
  revokeSession: { method: "DELETE", path: "/users/sessions/:id" },
321
323
  rotateOrganizationWebhooksSecret: { method: "POST", path: "/users/organizationwebhooks/secret" },
package/dist/index.d.cts CHANGED
@@ -64,7 +64,7 @@ interface AdminCoupon {
64
64
  createdAt: string;
65
65
  updatedAt: string;
66
66
  }
67
- type Alert = CommunityInviteCreatedAlert | ReactionReplyCreatedAlert | ReactionThreadCreatedAlert | FollowCreatedAlert | KnowCreatedAlert | KnowBannedAlert | CommentCreatedAlert | ReactionCommentCreatedAlert | ReactionPublicationCreatedAlert | RelationshipRequestedAlert | RelationshipApprovedAlert | RelationshipRejectedAlert | RelationshipRemovedAlert | SadesAssignmentAlert | SadesTransactionAlert | MessengerApprovedAlert | MessengerRequestedAlert | ChatChannelDeletedAlert | ChannelInvitationCreatedAlert | FeedPublicationReactedAlert | FeedCommentReactedAlert | FeedCommentCreatedAlert | FeedPublicationMentionAlert | FeedPublicationModeratedAlert | CommunitiesThreadMentionAlert | FeedPublicationVoteAlert | RsvpBannedAlert | RsvpCreatedAlert | BankTransactionCreatedAlert | ChatRequestsRefilledAlert | ThreadAwardedAlert | ReplyAwardedAlert | PublicationSingleUnlockedAlert | PublicationCrowdUnlockedAlert | TagExpiredAlert | EventInviteAlert | EnrollmentApprovedAlert | TagsGiftedAlert | OrgPointsTransferredAlert | VideoProcessingCompleteAlert | VideoProcessingFailedAlert | BugReportRejectedAlert | BugReportResolvedAlert | ChatterScoreStateChangedAlert | AnnouncementAlert | SubscriptionRenewalFailedAlert;
67
+ type Alert = CommunityInviteCreatedAlert | ReactionReplyCreatedAlert | ReactionThreadCreatedAlert | FollowCreatedAlert | KnowCreatedAlert | KnowBannedAlert | CommentCreatedAlert | ReactionCommentCreatedAlert | ReactionPublicationCreatedAlert | RelationshipRequestedAlert | RelationshipApprovedAlert | RelationshipRejectedAlert | RelationshipRemovedAlert | SadesAssignmentAlert | SadesTransactionAlert | MessengerApprovedAlert | MessengerRequestedAlert | ChatChannelDeletedAlert | ChannelInvitationCreatedAlert | FeedPublicationReactedAlert | FeedCommentReactedAlert | FeedCommentCreatedAlert | FeedPublicationMentionAlert | FeedPublicationModeratedAlert | CommunitiesThreadMentionAlert | FeedPublicationVoteAlert | RsvpBannedAlert | RsvpCreatedAlert | BankTransactionCreatedAlert | ChatRequestsRefilledAlert | ThreadAwardedAlert | ReplyAwardedAlert | PublicationSingleUnlockedAlert | PublicationCrowdUnlockedAlert | TagExpiredAlert | EventInviteAlert | EnrollmentApprovedAlert | TagsGiftedAlert | OrgPointsTransferredAlert | VideoProcessingCompleteAlert | VideoProcessingFailedAlert | BugReportRejectedAlert | BugReportResolvedAlert | ChatterScoreStateChangedAlert | AnnouncementAlert | SubscriptionRenewalFailedAlert | OrgWebhookPausedAlert;
68
68
  interface AlertComment {
69
69
  id: string;
70
70
  content?: string;
@@ -1459,8 +1459,61 @@ interface Order {
1459
1459
  createdAt: string;
1460
1460
  updatedAt: string;
1461
1461
  }
1462
+ interface OrganizationWebhookDeliveries {
1463
+ deliveries: OrganizationWebhookDelivery[];
1464
+ }
1465
+ interface OrganizationWebhookDelivery {
1466
+ id: string;
1467
+ event: "channel.message" | "channel.join" | "channel.part" | "channel.ban" | "channel.unban";
1468
+ /**
1469
+ * The URL the event was sent to.
1470
+ */
1471
+ url: string;
1472
+ /**
1473
+ * When the last attempt was sent.
1474
+ */
1475
+ sentAt: string;
1476
+ /**
1477
+ * How many attempts it took, the last one included.
1478
+ */
1479
+ attempts: number;
1480
+ /**
1481
+ * Whether the URL answered a 2xx status.
1482
+ */
1483
+ delivered: boolean;
1484
+ /**
1485
+ * The HTTP status the URL answered on the last attempt, or null when it answered none.
1486
+ */
1487
+ status: number | null;
1488
+ /**
1489
+ * Why the last attempt got no response: `timeout` when the URL answered nothing in time, `refused` when it refused the connection, `dns` when its host does not resolve, `not-public` when it points to an address that is not public, `connection` when it could not be reached otherwise. Null when it answered a status.
1490
+ */
1491
+ error: "timeout" | "refused" | "dns" | "not-public" | "connection" | null;
1492
+ /**
1493
+ * How long the last attempt took, in milliseconds.
1494
+ */
1495
+ durationMs: number;
1496
+ /**
1497
+ * The first 500 characters of the body the URL answered, or null when it answered none.
1498
+ */
1499
+ response: string | null;
1500
+ }
1501
+ interface OrganizationWebhookError {
1502
+ /**
1503
+ * `status` when the URL answered an error status, `timeout` when it answered nothing in time, `connection` when it could not be reached.
1504
+ */
1505
+ reason: "status" | "timeout" | "connection";
1506
+ /**
1507
+ * The HTTP status the URL answered, or null when it answered none.
1508
+ */
1509
+ status: number | null;
1510
+ }
1462
1511
  interface OrganizationWebhooks {
1463
1512
  hooks: Partial<Record<"channel.message" | "channel.join" | "channel.part" | "channel.ban" | "channel.unban", string>>;
1513
+ /**
1514
+ * The events whose URL kept failing, which are not delivered until the webhook is resumed or its URL changes. An event that is delivered is not in it.
1515
+ */
1516
+ paused: Partial<Record<"channel.message" | "channel.join" | "channel.part" | "channel.ban" | "channel.unban", PausedOrganizationWebhook>>;
1464
1517
  secret: string | null;
1465
1518
  }
1466
1519
  interface OrgPointsHolder {
@@ -1504,6 +1557,22 @@ interface OrgPointsTransferredAlert {
1504
1557
  createdAt: string;
1505
1558
  updatedAt: string;
1506
1559
  }
1560
+ /**
1561
+ * A webhook of the organization was paused because its URL kept failing.
1562
+ */
1563
+ interface OrgWebhookPausedAlert {
1564
+ id: string;
1565
+ type: "ORG_WEBHOOK_PAUSED";
1566
+ payload: {
1567
+ event: string;
1568
+ url: string;
1569
+ lastError: OrganizationWebhookError;
1570
+ };
1571
+ userId: number;
1572
+ read: boolean;
1573
+ createdAt: string;
1574
+ updatedAt: string;
1575
+ }
1507
1576
  interface OwnMembership {
1508
1577
  _id: string;
1509
1578
  id: string;
@@ -1543,6 +1612,10 @@ interface OwnMembership {
1543
1612
  createdAt: string;
1544
1613
  updatedAt: string;
1545
1614
  }
1615
+ interface PausedOrganizationWebhook {
1616
+ pausedAt: string;
1617
+ lastError: OrganizationWebhookError;
1618
+ }
1546
1619
  interface Place {
1547
1620
  id: string;
1548
1621
  name: string;
@@ -6436,6 +6509,26 @@ interface UsersListMyOrgPointsLedger {
6436
6509
  };
6437
6510
  error: ApiErrorOf<"BAD_REQUEST" | "VALIDATION_FAILED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "RATE_LIMITED" | "EMAIL_VERIFICATION_REQUIRED" | "INTERNAL_ERROR">;
6438
6511
  }
6512
+ /**
6513
+ * GET /users/:username/webhookdeliveries
6514
+ *
6515
+ * List the webhook deliveries
6516
+ */
6517
+ interface UsersListOrganizationWebhookDeliveries {
6518
+ request: {
6519
+ params: {
6520
+ username: string;
6521
+ };
6522
+ query?: {
6523
+ /**
6524
+ * Only the deliveries of this event. Leaving it out answers those of every event.
6525
+ */
6526
+ event?: "channel.message" | "channel.join" | "channel.part" | "channel.ban" | "channel.unban";
6527
+ };
6528
+ };
6529
+ response: OrganizationWebhookDeliveries;
6530
+ error: ApiErrorOf<"BAD_REQUEST" | "VALIDATION_FAILED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "RATE_LIMITED" | "EMAIL_VERIFICATION_REQUIRED" | "INTERNAL_ERROR"> | ApiErrorOf<"NOT_ORGANIZATION">;
6531
+ }
6439
6532
  /**
6440
6533
  * GET /users/orgpoints/users
6441
6534
  *
@@ -6869,6 +6962,20 @@ interface UsersRenameSavedSearch {
6869
6962
  };
6870
6963
  error: ApiErrorOf<"BAD_REQUEST" | "VALIDATION_FAILED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "RATE_LIMITED" | "EMAIL_VERIFICATION_REQUIRED" | "INTERNAL_ERROR"> | ApiErrorOf<"LOW_PLAN">;
6871
6964
  }
6965
+ /**
6966
+ * POST /users/organizationwebhooks/resume
6967
+ *
6968
+ * Resume a webhook
6969
+ */
6970
+ interface UsersResumeOrganizationWebhook {
6971
+ request: {
6972
+ body: {
6973
+ event: "channel.message" | "channel.join" | "channel.part" | "channel.ban" | "channel.unban";
6974
+ };
6975
+ };
6976
+ response: OrganizationWebhooks;
6977
+ error: ApiErrorOf<"BAD_REQUEST" | "VALIDATION_FAILED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "RATE_LIMITED" | "EMAIL_VERIFICATION_REQUIRED" | "INTERNAL_ERROR"> | ApiErrorOf<"NOT_ORGANIZATION">;
6978
+ }
6872
6979
  /**
6873
6980
  * DELETE /users/sessions/others
6874
6981
  *
@@ -8336,6 +8443,7 @@ type Endpoints = {
8336
8443
  listBlocks: UsersListBlocks;
8337
8444
  listFollowLists: UsersListFollowLists;
8338
8445
  listMyOrgPointsLedger: UsersListMyOrgPointsLedger;
8446
+ listOrganizationWebhookDeliveries: UsersListOrganizationWebhookDeliveries;
8339
8447
  listOrgPointsHolders: UsersListOrgPointsHolders;
8340
8448
  listReports: UsersListReports;
8341
8449
  listSavedSearches: UsersListSavedSearches;
@@ -8350,6 +8458,7 @@ type Endpoints = {
8350
8458
  renameDevice: UsersRenameDevice;
8351
8459
  renameFollowList: UsersRenameFollowList;
8352
8460
  renameSavedSearch: UsersRenameSavedSearch;
8461
+ resumeOrganizationWebhook: UsersResumeOrganizationWebhook;
8353
8462
  revokeOtherSessions: UsersRevokeOtherSessions;
8354
8463
  revokeSession: UsersRevokeSession;
8355
8464
  rotateOrganizationWebhooksSecret: UsersRotateOrganizationWebhooksSecret;
package/dist/index.d.ts CHANGED
@@ -64,7 +64,7 @@ interface AdminCoupon {
64
64
  createdAt: string;
65
65
  updatedAt: string;
66
66
  }
67
- type Alert = CommunityInviteCreatedAlert | ReactionReplyCreatedAlert | ReactionThreadCreatedAlert | FollowCreatedAlert | KnowCreatedAlert | KnowBannedAlert | CommentCreatedAlert | ReactionCommentCreatedAlert | ReactionPublicationCreatedAlert | RelationshipRequestedAlert | RelationshipApprovedAlert | RelationshipRejectedAlert | RelationshipRemovedAlert | SadesAssignmentAlert | SadesTransactionAlert | MessengerApprovedAlert | MessengerRequestedAlert | ChatChannelDeletedAlert | ChannelInvitationCreatedAlert | FeedPublicationReactedAlert | FeedCommentReactedAlert | FeedCommentCreatedAlert | FeedPublicationMentionAlert | FeedPublicationModeratedAlert | CommunitiesThreadMentionAlert | FeedPublicationVoteAlert | RsvpBannedAlert | RsvpCreatedAlert | BankTransactionCreatedAlert | ChatRequestsRefilledAlert | ThreadAwardedAlert | ReplyAwardedAlert | PublicationSingleUnlockedAlert | PublicationCrowdUnlockedAlert | TagExpiredAlert | EventInviteAlert | EnrollmentApprovedAlert | TagsGiftedAlert | OrgPointsTransferredAlert | VideoProcessingCompleteAlert | VideoProcessingFailedAlert | BugReportRejectedAlert | BugReportResolvedAlert | ChatterScoreStateChangedAlert | AnnouncementAlert | SubscriptionRenewalFailedAlert;
67
+ type Alert = CommunityInviteCreatedAlert | ReactionReplyCreatedAlert | ReactionThreadCreatedAlert | FollowCreatedAlert | KnowCreatedAlert | KnowBannedAlert | CommentCreatedAlert | ReactionCommentCreatedAlert | ReactionPublicationCreatedAlert | RelationshipRequestedAlert | RelationshipApprovedAlert | RelationshipRejectedAlert | RelationshipRemovedAlert | SadesAssignmentAlert | SadesTransactionAlert | MessengerApprovedAlert | MessengerRequestedAlert | ChatChannelDeletedAlert | ChannelInvitationCreatedAlert | FeedPublicationReactedAlert | FeedCommentReactedAlert | FeedCommentCreatedAlert | FeedPublicationMentionAlert | FeedPublicationModeratedAlert | CommunitiesThreadMentionAlert | FeedPublicationVoteAlert | RsvpBannedAlert | RsvpCreatedAlert | BankTransactionCreatedAlert | ChatRequestsRefilledAlert | ThreadAwardedAlert | ReplyAwardedAlert | PublicationSingleUnlockedAlert | PublicationCrowdUnlockedAlert | TagExpiredAlert | EventInviteAlert | EnrollmentApprovedAlert | TagsGiftedAlert | OrgPointsTransferredAlert | VideoProcessingCompleteAlert | VideoProcessingFailedAlert | BugReportRejectedAlert | BugReportResolvedAlert | ChatterScoreStateChangedAlert | AnnouncementAlert | SubscriptionRenewalFailedAlert | OrgWebhookPausedAlert;
68
68
  interface AlertComment {
69
69
  id: string;
70
70
  content?: string;
@@ -1459,8 +1459,61 @@ interface Order {
1459
1459
  createdAt: string;
1460
1460
  updatedAt: string;
1461
1461
  }
1462
+ interface OrganizationWebhookDeliveries {
1463
+ deliveries: OrganizationWebhookDelivery[];
1464
+ }
1465
+ interface OrganizationWebhookDelivery {
1466
+ id: string;
1467
+ event: "channel.message" | "channel.join" | "channel.part" | "channel.ban" | "channel.unban";
1468
+ /**
1469
+ * The URL the event was sent to.
1470
+ */
1471
+ url: string;
1472
+ /**
1473
+ * When the last attempt was sent.
1474
+ */
1475
+ sentAt: string;
1476
+ /**
1477
+ * How many attempts it took, the last one included.
1478
+ */
1479
+ attempts: number;
1480
+ /**
1481
+ * Whether the URL answered a 2xx status.
1482
+ */
1483
+ delivered: boolean;
1484
+ /**
1485
+ * The HTTP status the URL answered on the last attempt, or null when it answered none.
1486
+ */
1487
+ status: number | null;
1488
+ /**
1489
+ * Why the last attempt got no response: `timeout` when the URL answered nothing in time, `refused` when it refused the connection, `dns` when its host does not resolve, `not-public` when it points to an address that is not public, `connection` when it could not be reached otherwise. Null when it answered a status.
1490
+ */
1491
+ error: "timeout" | "refused" | "dns" | "not-public" | "connection" | null;
1492
+ /**
1493
+ * How long the last attempt took, in milliseconds.
1494
+ */
1495
+ durationMs: number;
1496
+ /**
1497
+ * The first 500 characters of the body the URL answered, or null when it answered none.
1498
+ */
1499
+ response: string | null;
1500
+ }
1501
+ interface OrganizationWebhookError {
1502
+ /**
1503
+ * `status` when the URL answered an error status, `timeout` when it answered nothing in time, `connection` when it could not be reached.
1504
+ */
1505
+ reason: "status" | "timeout" | "connection";
1506
+ /**
1507
+ * The HTTP status the URL answered, or null when it answered none.
1508
+ */
1509
+ status: number | null;
1510
+ }
1462
1511
  interface OrganizationWebhooks {
1463
1512
  hooks: Partial<Record<"channel.message" | "channel.join" | "channel.part" | "channel.ban" | "channel.unban", string>>;
1513
+ /**
1514
+ * The events whose URL kept failing, which are not delivered until the webhook is resumed or its URL changes. An event that is delivered is not in it.
1515
+ */
1516
+ paused: Partial<Record<"channel.message" | "channel.join" | "channel.part" | "channel.ban" | "channel.unban", PausedOrganizationWebhook>>;
1464
1517
  secret: string | null;
1465
1518
  }
1466
1519
  interface OrgPointsHolder {
@@ -1504,6 +1557,22 @@ interface OrgPointsTransferredAlert {
1504
1557
  createdAt: string;
1505
1558
  updatedAt: string;
1506
1559
  }
1560
+ /**
1561
+ * A webhook of the organization was paused because its URL kept failing.
1562
+ */
1563
+ interface OrgWebhookPausedAlert {
1564
+ id: string;
1565
+ type: "ORG_WEBHOOK_PAUSED";
1566
+ payload: {
1567
+ event: string;
1568
+ url: string;
1569
+ lastError: OrganizationWebhookError;
1570
+ };
1571
+ userId: number;
1572
+ read: boolean;
1573
+ createdAt: string;
1574
+ updatedAt: string;
1575
+ }
1507
1576
  interface OwnMembership {
1508
1577
  _id: string;
1509
1578
  id: string;
@@ -1543,6 +1612,10 @@ interface OwnMembership {
1543
1612
  createdAt: string;
1544
1613
  updatedAt: string;
1545
1614
  }
1615
+ interface PausedOrganizationWebhook {
1616
+ pausedAt: string;
1617
+ lastError: OrganizationWebhookError;
1618
+ }
1546
1619
  interface Place {
1547
1620
  id: string;
1548
1621
  name: string;
@@ -6436,6 +6509,26 @@ interface UsersListMyOrgPointsLedger {
6436
6509
  };
6437
6510
  error: ApiErrorOf<"BAD_REQUEST" | "VALIDATION_FAILED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "RATE_LIMITED" | "EMAIL_VERIFICATION_REQUIRED" | "INTERNAL_ERROR">;
6438
6511
  }
6512
+ /**
6513
+ * GET /users/:username/webhookdeliveries
6514
+ *
6515
+ * List the webhook deliveries
6516
+ */
6517
+ interface UsersListOrganizationWebhookDeliveries {
6518
+ request: {
6519
+ params: {
6520
+ username: string;
6521
+ };
6522
+ query?: {
6523
+ /**
6524
+ * Only the deliveries of this event. Leaving it out answers those of every event.
6525
+ */
6526
+ event?: "channel.message" | "channel.join" | "channel.part" | "channel.ban" | "channel.unban";
6527
+ };
6528
+ };
6529
+ response: OrganizationWebhookDeliveries;
6530
+ error: ApiErrorOf<"BAD_REQUEST" | "VALIDATION_FAILED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "RATE_LIMITED" | "EMAIL_VERIFICATION_REQUIRED" | "INTERNAL_ERROR"> | ApiErrorOf<"NOT_ORGANIZATION">;
6531
+ }
6439
6532
  /**
6440
6533
  * GET /users/orgpoints/users
6441
6534
  *
@@ -6869,6 +6962,20 @@ interface UsersRenameSavedSearch {
6869
6962
  };
6870
6963
  error: ApiErrorOf<"BAD_REQUEST" | "VALIDATION_FAILED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "RATE_LIMITED" | "EMAIL_VERIFICATION_REQUIRED" | "INTERNAL_ERROR"> | ApiErrorOf<"LOW_PLAN">;
6871
6964
  }
6965
+ /**
6966
+ * POST /users/organizationwebhooks/resume
6967
+ *
6968
+ * Resume a webhook
6969
+ */
6970
+ interface UsersResumeOrganizationWebhook {
6971
+ request: {
6972
+ body: {
6973
+ event: "channel.message" | "channel.join" | "channel.part" | "channel.ban" | "channel.unban";
6974
+ };
6975
+ };
6976
+ response: OrganizationWebhooks;
6977
+ error: ApiErrorOf<"BAD_REQUEST" | "VALIDATION_FAILED" | "UNAUTHORIZED" | "FORBIDDEN" | "NOT_FOUND" | "RATE_LIMITED" | "EMAIL_VERIFICATION_REQUIRED" | "INTERNAL_ERROR"> | ApiErrorOf<"NOT_ORGANIZATION">;
6978
+ }
6872
6979
  /**
6873
6980
  * DELETE /users/sessions/others
6874
6981
  *
@@ -8336,6 +8443,7 @@ type Endpoints = {
8336
8443
  listBlocks: UsersListBlocks;
8337
8444
  listFollowLists: UsersListFollowLists;
8338
8445
  listMyOrgPointsLedger: UsersListMyOrgPointsLedger;
8446
+ listOrganizationWebhookDeliveries: UsersListOrganizationWebhookDeliveries;
8339
8447
  listOrgPointsHolders: UsersListOrgPointsHolders;
8340
8448
  listReports: UsersListReports;
8341
8449
  listSavedSearches: UsersListSavedSearches;
@@ -8350,6 +8458,7 @@ type Endpoints = {
8350
8458
  renameDevice: UsersRenameDevice;
8351
8459
  renameFollowList: UsersRenameFollowList;
8352
8460
  renameSavedSearch: UsersRenameSavedSearch;
8461
+ resumeOrganizationWebhook: UsersResumeOrganizationWebhook;
8353
8462
  revokeOtherSessions: UsersRevokeOtherSessions;
8354
8463
  revokeSession: UsersRevokeSession;
8355
8464
  rotateOrganizationWebhooksSecret: UsersRotateOrganizationWebhooksSecret;
package/dist/index.js CHANGED
@@ -300,6 +300,7 @@ var routes = {
300
300
  listBlocks: { method: "GET", path: "/users/blocks" },
301
301
  listFollowLists: { method: "GET", path: "/users/followlists" },
302
302
  listMyOrgPointsLedger: { method: "GET", path: "/users/orgpoints/ledger" },
303
+ listOrganizationWebhookDeliveries: { method: "GET", path: "/users/:username/webhookdeliveries" },
303
304
  listOrgPointsHolders: { method: "GET", path: "/users/orgpoints/users" },
304
305
  listReports: { method: "GET", path: "/users/reports" },
305
306
  listSavedSearches: { method: "GET", path: "/users/saved-searches" },
@@ -314,6 +315,7 @@ var routes = {
314
315
  renameDevice: { method: "PATCH", path: "/users/devices/:deviceId" },
315
316
  renameFollowList: { method: "PUT", path: "/users/followlists/:listId/name" },
316
317
  renameSavedSearch: { method: "PATCH", path: "/users/saved-searches/:id" },
318
+ resumeOrganizationWebhook: { method: "POST", path: "/users/organizationwebhooks/resume" },
317
319
  revokeOtherSessions: { method: "DELETE", path: "/users/sessions/others" },
318
320
  revokeSession: { method: "DELETE", path: "/users/sessions/:id" },
319
321
  rotateOrganizationWebhooksSecret: { method: "POST", path: "/users/organizationwebhooks/secret" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mazmo/sdk",
3
- "version": "2.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "Typed client for the Mazmo API",
5
5
  "license": "MIT",
6
6
  "homepage": "https://docs.mazmo.net",
@@ -33,7 +33,7 @@
33
33
  "node": ">=18"
34
34
  },
35
35
  "mazmo": {
36
- "commit": "7b6940df44678212506dddd7e0b1318b2c3ab140",
37
- "apiVersion": "7.7.81"
36
+ "commit": "2a14e9bf74372e764d5bdab5cb2fea41c5d7a144",
37
+ "apiVersion": "7.7.85"
38
38
  }
39
39
  }