@crossly/sdk 0.3.4 → 0.3.6

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.
@@ -3039,6 +3039,7 @@ export type CreateDeveloperAppResponseData = {
3039
3039
  createdAt: string;
3040
3040
  revokedAt?: string | null;
3041
3041
  description?: string | null;
3042
+ verifiedAt?: string | null;
3042
3043
  scopes: string[];
3043
3044
  slug?: string | null;
3044
3045
  category?: string | null;
@@ -3048,7 +3049,6 @@ export type CreateDeveloperAppResponseData = {
3048
3049
  featured: boolean;
3049
3050
  audience: string;
3050
3051
  isPublic: boolean;
3051
- verifiedAt?: string | null;
3052
3052
  termsUrl?: string | null;
3053
3053
  tagline?: string | null;
3054
3054
  listingStatus: string;
@@ -17663,7 +17663,7 @@ export type GetActionLogExportDownloadResponse = {
17663
17663
  values: {
17664
17664
  [key: string]: unknown;
17665
17665
  };
17666
- "__@asyncIterator@6143": {
17666
+ "__@asyncIterator@6174": {
17667
17667
  [key: string]: unknown;
17668
17668
  };
17669
17669
  };
@@ -22051,6 +22051,53 @@ export type GetDropResponseDrop = {
22051
22051
  listings: ListDropMineItemListings[];
22052
22052
  street?: ListDropMineItemStreet;
22053
22053
  };
22054
+ export type GetEmailEventLookupResponse = {
22055
+ data: GetEmailEventLookupResponseData;
22056
+ };
22057
+ export type GetEmailEventLookupResponseData = {
22058
+ email?: GetEmailEventLookupResponseDataEmail;
22059
+ platform?: string | null;
22060
+ order?: GetEmailEventLookupResponseDataOrder;
22061
+ listing?: GetEmailEventLookupResponseDataListing;
22062
+ conversation?: GetEmailEventLookupResponseDataConversation;
22063
+ };
22064
+ export type GetEmailEventLookupResponseDataConversation = {
22065
+ id: string;
22066
+ offerAmount?: string | null;
22067
+ offerStatus?: string | null;
22068
+ buyerUsername?: string | null;
22069
+ } | null;
22070
+ export type GetEmailEventLookupResponseDataEmail = {
22071
+ id: string;
22072
+ platform?: string | null;
22073
+ event?: string | null;
22074
+ status: string;
22075
+ subject: string;
22076
+ receivedAt?: string | null;
22077
+ orderId?: string | null;
22078
+ listingId?: string | null;
22079
+ title?: string | null;
22080
+ price?: AmountCurrency;
22081
+ offerAmount?: AmountCurrency;
22082
+ trackingNumber?: string | null;
22083
+ } | null;
22084
+ export type GetEmailEventLookupResponseDataListing = {
22085
+ id: string;
22086
+ title?: string | null;
22087
+ price?: string | null;
22088
+ status?: string | null;
22089
+ } | null;
22090
+ export type GetEmailEventLookupResponseDataOrder = {
22091
+ id: string;
22092
+ platform: string;
22093
+ platformOrderId?: string | null;
22094
+ orderNumber?: string | null;
22095
+ status: string;
22096
+ buyerUsername?: string | null;
22097
+ trackingNumber?: string | null;
22098
+ carrier?: string | null;
22099
+ shippedAt?: string | null;
22100
+ } | null;
22054
22101
  export type GetEmailEventPreviewResponse = {
22055
22102
  data: GetEmailEventPreviewResponseData;
22056
22103
  };
@@ -72711,6 +72758,20 @@ export interface ApiOperations {
72711
72758
  body: never;
72712
72759
  response: ListEmailEventsResponse;
72713
72760
  };
72761
+ /** Which Crossly order, listing and offer thread one marketplace email is about, by its Message-ID header (and From, to name the marketplace when Crossly has not read the email). Identifier-first: never a title match. */
72762
+ getEmailEventLookup: {
72763
+ method: 'GET';
72764
+ path: "/v1/email-events/lookup";
72765
+ pathParams: never;
72766
+ query: {
72767
+ /** The Message-ID header, with or without <>. */
72768
+ messageId: string;
72769
+ /** The From header (names the marketplace by its domain). */
72770
+ from?: string;
72771
+ };
72772
+ body: never;
72773
+ response: GetEmailEventLookupResponse;
72774
+ };
72714
72775
  /** One marketplace email Crossly read: what it did with it (outcome), the fields the template extracted, and the mailbox it came from. */
72715
72776
  getEmailEvent: {
72716
72777
  method: 'GET';
@@ -102100,6 +102161,7 @@ export interface ApiRoutes {
102100
102161
  "PATCH /v1/drops/{id}": ApiOperations["updateDrop"];
102101
102162
  "DELETE /v1/drops/{id}": ApiOperations["deleteDrop"];
102102
102163
  "GET /v1/email-events": ApiOperations["listEmailEvents"];
102164
+ "GET /v1/email-events/lookup": ApiOperations["getEmailEventLookup"];
102103
102165
  "GET /v1/email-events/{id}": ApiOperations["getEmailEvent"];
102104
102166
  "POST /v1/email-events/{id}/confirm": ApiOperations["createEmailEventConfirm"];
102105
102167
  "POST /v1/email-events/{id}/dismiss": ApiOperations["createEmailEventDismiss"];