@inboxsdk/core 2.1.50 → 2.1.52

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.
@@ -14,7 +14,12 @@ export default class AttachmentCardView extends AttachmentCardView_base {
14
14
  addButton(buttonOptions: CustomButtonDescriptor): void;
15
15
  getTitle(): string;
16
16
  /**
17
- * @deprecated Please use the same-named method on the AttachmentCardClickEvent object instead.
17
+ * Get the URL for the attachment card's download link as a promise for a string.
18
+ * For FILE attachment cards, the URL will be a short-lived URL that can be
19
+ * accessed without cookies. For CUSTOM attachment cards, the URL will be the
20
+ * downloadUrl property of the card's download button if it has one, otherwise
21
+ * null. Other attachment card types may not have a download URL, and the promise
22
+ * may resolve to null.
18
23
  */
19
24
  getDownloadURL(): Promise<string | null | undefined>;
20
25
  getMessageView(): MessageView | null;
@@ -1 +1 @@
1
- {"version":3,"file":"attachment-card-view.d.ts","sourceRoot":"","sources":["../../../../../../src/platform-implementation-js/views/conversations/attachment-card-view.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EACV,MAAM,EACN,wBAAwB,EACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yDAAyD,CAAC;AACtG,OAAO,iBAAiB,MAAM,eAAe,CAAC;iDAE6B,kBAAkB;IAC3F,OAAO,IAAI,IAAI,CAAC;CACjB,CAAC;AAFF,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,uBAE7C;;IAID,SAAS,EAAE,OAAO,CAAS;gBAGzB,4BAA4B,EAAE,wBAAwB,EACtD,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ;IAapB,iBAAiB;IAIjB,SAAS,CAAC,aAAa,EAAE,sBAAsB;IAI/C,QAAQ,IAAI,MAAM;IAIlB;;OAEG;IACH,cAAc,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAepD,cAAc,IAAI,WAAW,GAAG,IAAI;IAOpC,OAAO,KAAK,6BAA6B,GAWxC;IAED,UAAU,IAAI,WAAW;CAG1B"}
1
+ {"version":3,"file":"attachment-card-view.d.ts","sourceRoot":"","sources":["../../../../../../src/platform-implementation-js/views/conversations/attachment-card-view.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EACV,MAAM,EACN,wBAAwB,EACzB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yDAAyD,CAAC;AACtG,OAAO,iBAAiB,MAAM,eAAe,CAAC;iDAE6B,kBAAkB;IAC3F,OAAO,IAAI,IAAI,CAAC;CACjB,CAAC;AAFF,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,uBAE7C;;IAID,SAAS,EAAE,OAAO,CAAS;gBAGzB,4BAA4B,EAAE,wBAAwB,EACtD,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ;IAapB,iBAAiB;IAIjB,SAAS,CAAC,aAAa,EAAE,sBAAsB;IAI/C,QAAQ,IAAI,MAAM;IAIlB;;;;;;;OAOG;IACH,cAAc,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAIpD,cAAc,IAAI,WAAW,GAAG,IAAI;IAOpC,OAAO,KAAK,6BAA6B,GAWxC;IAED,UAAU,IAAI,WAAW;CAG1B"}