@snagsolutions/sdk 0.1.0-alpha.53 → 0.1.0-alpha.54

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.
@@ -214,9 +214,7 @@ export interface RuleCreateResponse {
214
214
  | 'poll'
215
215
  | 'steam_wishlist'
216
216
  | 'liquidity_uniswap_v2'
217
- | 'liquidity_uniswap_v3'
218
- | 'youtube_subscribers'
219
- | 'youtube_comment';
217
+ | 'liquidity_uniswap_v3';
220
218
 
221
219
  /**
222
220
  * Unique identifier for the associated website
@@ -608,7 +606,6 @@ export namespace RuleCreateResponse {
608
606
  | 'Twitch'
609
607
  | 'X(Twitter)'
610
608
  | 'YouTube'
611
- | 'Google'
612
609
  | null;
613
610
 
614
611
  /**
@@ -696,16 +693,6 @@ export namespace RuleCreateResponse {
696
693
  * Type of wallet associated with the rule.
697
694
  */
698
695
  walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
699
-
700
- /**
701
- * ID of the Youtube channel.
702
- */
703
- youtubeChannelId?: string | null;
704
-
705
- /**
706
- * ID of the Youtube video.
707
- */
708
- youtubeVideoId?: string | null;
709
696
  }
710
697
 
711
698
  export namespace Metadata {
@@ -1631,7 +1618,6 @@ export namespace RuleUpdateResponse {
1631
1618
  | 'Twitch'
1632
1619
  | 'X(Twitter)'
1633
1620
  | 'YouTube'
1634
- | 'Google'
1635
1621
  | null;
1636
1622
 
1637
1623
  /**
@@ -1719,16 +1705,6 @@ export namespace RuleUpdateResponse {
1719
1705
  * Type of wallet associated with the rule.
1720
1706
  */
1721
1707
  walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
1722
-
1723
- /**
1724
- * ID of the Youtube channel.
1725
- */
1726
- youtubeChannelId?: string | null;
1727
-
1728
- /**
1729
- * ID of the Youtube video.
1730
- */
1731
- youtubeVideoId?: string | null;
1732
1708
  }
1733
1709
 
1734
1710
  export namespace Metadata {
@@ -2505,7 +2481,6 @@ export namespace RuleListResponse {
2505
2481
  | 'Twitch'
2506
2482
  | 'X(Twitter)'
2507
2483
  | 'YouTube'
2508
- | 'Google'
2509
2484
  | null;
2510
2485
 
2511
2486
  /**
@@ -2593,16 +2568,6 @@ export namespace RuleListResponse {
2593
2568
  * Type of wallet associated with the rule.
2594
2569
  */
2595
2570
  walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
2596
-
2597
- /**
2598
- * ID of the Youtube channel.
2599
- */
2600
- youtubeChannelId?: string | null;
2601
-
2602
- /**
2603
- * ID of the Youtube video.
2604
- */
2605
- youtubeVideoId?: string | null;
2606
2571
  }
2607
2572
 
2608
2573
  export namespace Metadata {
@@ -3024,7 +2989,9 @@ export interface RuleDeleteResponse {
3024
2989
  }
3025
2990
 
3026
2991
  export interface RuleCompleteResponse {
3027
- message: string;
2992
+ message:
2993
+ | 'Completion request added to queue'
2994
+ | 'Link click being verified, come back later to check the status';
3028
2995
  }
3029
2996
 
3030
2997
  export interface RuleGetStatusResponse {
@@ -3153,9 +3120,7 @@ export interface RuleCreateParams {
3153
3120
  | 'poll'
3154
3121
  | 'steam_wishlist'
3155
3122
  | 'liquidity_uniswap_v2'
3156
- | 'liquidity_uniswap_v3'
3157
- | 'youtube_subscribers'
3158
- | 'youtube_comment';
3123
+ | 'liquidity_uniswap_v3';
3159
3124
 
3160
3125
  /**
3161
3126
  * Unique identifier for the associated website
@@ -3547,7 +3512,6 @@ export namespace RuleCreateParams {
3547
3512
  | 'Twitch'
3548
3513
  | 'X(Twitter)'
3549
3514
  | 'YouTube'
3550
- | 'Google'
3551
3515
  | null;
3552
3516
 
3553
3517
  /**
@@ -3635,16 +3599,6 @@ export namespace RuleCreateParams {
3635
3599
  * Type of wallet associated with the rule.
3636
3600
  */
3637
3601
  walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
3638
-
3639
- /**
3640
- * ID of the Youtube channel.
3641
- */
3642
- youtubeChannelId?: string | null;
3643
-
3644
- /**
3645
- * ID of the Youtube video.
3646
- */
3647
- youtubeVideoId?: string | null;
3648
3602
  }
3649
3603
 
3650
3604
  export namespace Metadata {
@@ -4568,7 +4522,6 @@ export namespace RuleUpdateParams {
4568
4522
  | 'Twitch'
4569
4523
  | 'X(Twitter)'
4570
4524
  | 'YouTube'
4571
- | 'Google'
4572
4525
  | null;
4573
4526
 
4574
4527
  /**
@@ -4656,16 +4609,6 @@ export namespace RuleUpdateParams {
4656
4609
  * Type of wallet associated with the rule.
4657
4610
  */
4658
4611
  walletType?: 'evm' | 'solana' | 'imx' | 'sui' | 'ton' | null;
4659
-
4660
- /**
4661
- * ID of the Youtube channel.
4662
- */
4663
- youtubeChannelId?: string | null;
4664
-
4665
- /**
4666
- * ID of the Youtube video.
4667
- */
4668
- youtubeVideoId?: string | null;
4669
4612
  }
4670
4613
 
4671
4614
  export namespace Metadata {
@@ -361,8 +361,6 @@ export interface TransactionGetTransactionEntriesParams {
361
361
  | 'steam_wishlist'
362
362
  | 'liquidity_uniswap_v2'
363
363
  | 'liquidity_uniswap_v3'
364
- | 'youtube_subscribers'
365
- | 'youtube_comment'
366
364
  | Array<
367
365
  | 'Bonus'
368
366
  | 'BoughtOn'
@@ -420,8 +418,6 @@ export interface TransactionGetTransactionEntriesParams {
420
418
  | 'steam_wishlist'
421
419
  | 'liquidity_uniswap_v2'
422
420
  | 'liquidity_uniswap_v3'
423
- | 'youtube_subscribers'
424
- | 'youtube_comment'
425
421
  >;
426
422
 
427
423
  /**
@@ -57,7 +57,10 @@ export class Users extends APIResource {
57
57
  /**
58
58
  * This endpoint allows you to disconnect a user from another user
59
59
  */
60
- disconnect(body: UserDisconnectParams, options?: Core.RequestOptions): Core.APIPromise<unknown> {
60
+ disconnect(
61
+ body: UserDisconnectParams,
62
+ options?: Core.RequestOptions,
63
+ ): Core.APIPromise<UserDisconnectResponse> {
61
64
  return this._client.post('/api/users/disconnect', { body, ...options });
62
65
  }
63
66
 
@@ -274,7 +277,12 @@ export interface UserCreateDeviceResponse {
274
277
  deviceIdentifier?: string;
275
278
  }
276
279
 
277
- export type UserDisconnectResponse = unknown;
280
+ export interface UserDisconnectResponse {
281
+ /**
282
+ * The message of the disconnect user response
283
+ */
284
+ message: 'Success';
285
+ }
278
286
 
279
287
  export interface UserVerifyResponse {
280
288
  message: string;
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-alpha.53'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.54'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.53";
1
+ export declare const VERSION = "0.1.0-alpha.54";
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.1.0-alpha.53'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-alpha.54'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.1.0-alpha.53'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.54'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map