@privy-io/api-types 0.13.0 → 0.14.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.
@@ -482,6 +482,56 @@ export interface IntentFailedWebhookPayload {
482
482
  created_by_id?: string;
483
483
  }
484
484
 
485
+ /**
486
+ * Payload for the intent.rejected webhook event.
487
+ */
488
+ export interface IntentRejectedWebhookPayload {
489
+ /**
490
+ * Unix timestamp when the intent was created.
491
+ */
492
+ created_at: number;
493
+
494
+ /**
495
+ * Unix timestamp when the intent expires.
496
+ */
497
+ expires_at: number;
498
+
499
+ /**
500
+ * The unique ID of the intent.
501
+ */
502
+ intent_id: string;
503
+
504
+ /**
505
+ * Type of intent.
506
+ */
507
+ intent_type: IntentsAPI.IntentType;
508
+
509
+ /**
510
+ * Unix timestamp when the intent was rejected.
511
+ */
512
+ rejected_at: number;
513
+
514
+ /**
515
+ * The current status of the intent.
516
+ */
517
+ status: string;
518
+
519
+ /**
520
+ * The type of webhook event.
521
+ */
522
+ type: 'intent.rejected';
523
+
524
+ /**
525
+ * Display name of the user who created the intent.
526
+ */
527
+ created_by_display_name?: string;
528
+
529
+ /**
530
+ * The ID of the user who created the intent.
531
+ */
532
+ created_by_id?: string;
533
+ }
534
+
485
535
  /**
486
536
  * Payload for the kraken_embed.quote.cancelled webhook event.
487
537
  */
@@ -2642,6 +2692,7 @@ export type WebhookPayload =
2642
2692
  | UserOperationCompletedWebhookPayload
2643
2693
  | IntentCreatedWebhookPayload
2644
2694
  | IntentAuthorizedWebhookPayload
2695
+ | IntentRejectedWebhookPayload
2645
2696
  | IntentExecutedWebhookPayload
2646
2697
  | IntentFailedWebhookPayload
2647
2698
  | WalletActionSwapCreatedWebhookPayload
@@ -2755,6 +2806,7 @@ export declare namespace Webhooks {
2755
2806
  type IntentCreatedWebhookPayload as IntentCreatedWebhookPayload,
2756
2807
  type IntentExecutedWebhookPayload as IntentExecutedWebhookPayload,
2757
2808
  type IntentFailedWebhookPayload as IntentFailedWebhookPayload,
2809
+ type IntentRejectedWebhookPayload as IntentRejectedWebhookPayload,
2758
2810
  type KrakenEmbedQuoteCancelledWebhookPayload as KrakenEmbedQuoteCancelledWebhookPayload,
2759
2811
  type KrakenEmbedQuoteExecutedWebhookPayload as KrakenEmbedQuoteExecutedWebhookPayload,
2760
2812
  type KrakenEmbedQuoteExecutionFailedWebhookPayload as KrakenEmbedQuoteExecutionFailedWebhookPayload,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.13.0'; // x-release-please-version
1
+ export const VERSION = '0.14.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.13.0";
1
+ export declare const VERSION = "0.14.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.13.0";
1
+ export declare const VERSION = "0.14.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.13.0'; // x-release-please-version
4
+ exports.VERSION = '0.14.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.13.0'; // x-release-please-version
1
+ export const VERSION = '0.14.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map