@snagsolutions/sdk 0.1.0-alpha.201 → 0.1.0-alpha.203

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.
@@ -424,6 +424,11 @@ export namespace RuleEditListResponse {
424
424
  */
425
425
  range?: Array<Metadata.Range>;
426
426
 
427
+ /**
428
+ * ID of the Reddit post.
429
+ */
430
+ redditPostId?: string | null;
431
+
427
432
  /**
428
433
  * Object defining referral requirements.
429
434
  */
@@ -531,6 +536,7 @@ export namespace RuleEditListResponse {
531
536
  | 'YouTube'
532
537
  | 'Google'
533
538
  | 'GitHub'
539
+ | 'Reddit'
534
540
  | null;
535
541
 
536
542
  /**
@@ -1419,6 +1425,11 @@ export namespace RuleEditListResponse {
1419
1425
  */
1420
1426
  range?: Array<Metadata.Range>;
1421
1427
 
1428
+ /**
1429
+ * ID of the Reddit post.
1430
+ */
1431
+ redditPostId?: string | null;
1432
+
1422
1433
  /**
1423
1434
  * Object defining referral requirements.
1424
1435
  */
@@ -1526,6 +1537,7 @@ export namespace RuleEditListResponse {
1526
1537
  | 'YouTube'
1527
1538
  | 'Google'
1528
1539
  | 'GitHub'
1540
+ | 'Reddit'
1529
1541
  | null;
1530
1542
 
1531
1543
  /**
@@ -2469,6 +2481,11 @@ export namespace RuleEditRestoreResponse {
2469
2481
  */
2470
2482
  range?: Array<Metadata.Range>;
2471
2483
 
2484
+ /**
2485
+ * ID of the Reddit post.
2486
+ */
2487
+ redditPostId?: string | null;
2488
+
2472
2489
  /**
2473
2490
  * Object defining referral requirements.
2474
2491
  */
@@ -2576,6 +2593,7 @@ export namespace RuleEditRestoreResponse {
2576
2593
  | 'YouTube'
2577
2594
  | 'Google'
2578
2595
  | 'GitHub'
2596
+ | 'Reddit'
2579
2597
  | null;
2580
2598
 
2581
2599
  /**
@@ -3464,6 +3482,11 @@ export namespace RuleEditRestoreResponse {
3464
3482
  */
3465
3483
  range?: Array<Metadata.Range>;
3466
3484
 
3485
+ /**
3486
+ * ID of the Reddit post.
3487
+ */
3488
+ redditPostId?: string | null;
3489
+
3467
3490
  /**
3468
3491
  * Object defining referral requirements.
3469
3492
  */
@@ -3571,6 +3594,7 @@ export namespace RuleEditRestoreResponse {
3571
3594
  | 'YouTube'
3572
3595
  | 'Google'
3573
3596
  | 'GitHub'
3597
+ | 'Reddit'
3574
3598
  | null;
3575
3599
 
3576
3600
  /**
@@ -258,7 +258,9 @@ export namespace RuleGroupGetRuleGroupsResponse {
258
258
  | 'connected_tiktok'
259
259
  | 'tiktok_follow'
260
260
  | 'github_repo_star'
261
- | 'discord_role_grant';
261
+ | 'discord_role_grant'
262
+ | 'connected_reddit'
263
+ | 'reddit_comment';
262
264
  }
263
265
 
264
266
  export namespace LoyaltyRule {
@@ -508,6 +510,11 @@ export namespace RuleGroupGetRuleGroupsResponse {
508
510
  */
509
511
  range?: Array<Metadata.Range>;
510
512
 
513
+ /**
514
+ * ID of the Reddit post.
515
+ */
516
+ redditPostId?: string | null;
517
+
511
518
  /**
512
519
  * Object defining referral requirements.
513
520
  */
@@ -615,6 +622,7 @@ export namespace RuleGroupGetRuleGroupsResponse {
615
622
  | 'YouTube'
616
623
  | 'Google'
617
624
  | 'GitHub'
625
+ | 'Reddit'
618
626
  | null;
619
627
 
620
628
  /**
@@ -285,7 +285,9 @@ export interface RuleCreateResponse {
285
285
  | 'connected_tiktok'
286
286
  | 'tiktok_follow'
287
287
  | 'github_repo_star'
288
- | 'discord_role_grant';
288
+ | 'discord_role_grant'
289
+ | 'connected_reddit'
290
+ | 'reddit_comment';
289
291
 
290
292
  /**
291
293
  * Unique identifier for the associated website
@@ -716,6 +718,11 @@ export namespace RuleCreateResponse {
716
718
  */
717
719
  range?: Array<Metadata.Range>;
718
720
 
721
+ /**
722
+ * ID of the Reddit post.
723
+ */
724
+ redditPostId?: string | null;
725
+
719
726
  /**
720
727
  * Object defining referral requirements.
721
728
  */
@@ -823,6 +830,7 @@ export namespace RuleCreateResponse {
823
830
  | 'YouTube'
824
831
  | 'Google'
825
832
  | 'GitHub'
833
+ | 'Reddit'
826
834
  | null;
827
835
 
828
836
  /**
@@ -1976,6 +1984,11 @@ export namespace RuleUpdateResponse {
1976
1984
  */
1977
1985
  range?: Array<Metadata.Range>;
1978
1986
 
1987
+ /**
1988
+ * ID of the Reddit post.
1989
+ */
1990
+ redditPostId?: string | null;
1991
+
1979
1992
  /**
1980
1993
  * Object defining referral requirements.
1981
1994
  */
@@ -2083,6 +2096,7 @@ export namespace RuleUpdateResponse {
2083
2096
  | 'YouTube'
2084
2097
  | 'Google'
2085
2098
  | 'GitHub'
2099
+ | 'Reddit'
2086
2100
  | null;
2087
2101
 
2088
2102
  /**
@@ -3080,6 +3094,11 @@ export namespace RuleListResponse {
3080
3094
  */
3081
3095
  range?: Array<Metadata.Range>;
3082
3096
 
3097
+ /**
3098
+ * ID of the Reddit post.
3099
+ */
3100
+ redditPostId?: string | null;
3101
+
3083
3102
  /**
3084
3103
  * Object defining referral requirements.
3085
3104
  */
@@ -3187,6 +3206,7 @@ export namespace RuleListResponse {
3187
3206
  | 'YouTube'
3188
3207
  | 'Google'
3189
3208
  | 'GitHub'
3209
+ | 'Reddit'
3190
3210
  | null;
3191
3211
 
3192
3212
  /**
@@ -4010,7 +4030,9 @@ export interface RuleCreateParams {
4010
4030
  | 'connected_tiktok'
4011
4031
  | 'tiktok_follow'
4012
4032
  | 'github_repo_star'
4013
- | 'discord_role_grant';
4033
+ | 'discord_role_grant'
4034
+ | 'connected_reddit'
4035
+ | 'reddit_comment';
4014
4036
 
4015
4037
  /**
4016
4038
  * Unique identifier for the associated website
@@ -4441,6 +4463,11 @@ export namespace RuleCreateParams {
4441
4463
  */
4442
4464
  range?: Array<Metadata.Range>;
4443
4465
 
4466
+ /**
4467
+ * ID of the Reddit post.
4468
+ */
4469
+ redditPostId?: string | null;
4470
+
4444
4471
  /**
4445
4472
  * Object defining referral requirements.
4446
4473
  */
@@ -4548,6 +4575,7 @@ export namespace RuleCreateParams {
4548
4575
  | 'YouTube'
4549
4576
  | 'Google'
4550
4577
  | 'GitHub'
4578
+ | 'Reddit'
4551
4579
  | null;
4552
4580
 
4553
4581
  /**
@@ -5699,6 +5727,11 @@ export namespace RuleUpdateParams {
5699
5727
  */
5700
5728
  range?: Array<Metadata.Range>;
5701
5729
 
5730
+ /**
5731
+ * ID of the Reddit post.
5732
+ */
5733
+ redditPostId?: string | null;
5734
+
5702
5735
  /**
5703
5736
  * Object defining referral requirements.
5704
5737
  */
@@ -5806,6 +5839,7 @@ export namespace RuleUpdateParams {
5806
5839
  | 'YouTube'
5807
5840
  | 'Google'
5808
5841
  | 'GitHub'
5842
+ | 'Reddit'
5809
5843
  | null;
5810
5844
 
5811
5845
  /**
@@ -503,6 +503,8 @@ export interface TransactionGetTransactionEntriesParams {
503
503
  | 'tiktok_follow'
504
504
  | 'github_repo_star'
505
505
  | 'discord_role_grant'
506
+ | 'connected_reddit'
507
+ | 'reddit_comment'
506
508
  | Array<
507
509
  | 'Bonus'
508
510
  | 'BoughtOn'
@@ -575,6 +577,8 @@ export interface TransactionGetTransactionEntriesParams {
575
577
  | 'tiktok_follow'
576
578
  | 'github_repo_star'
577
579
  | 'discord_role_grant'
580
+ | 'connected_reddit'
581
+ | 'reddit_comment'
578
582
  >;
579
583
 
580
584
  /**
@@ -54,8 +54,23 @@ export namespace UserListResponse {
54
54
  export interface Data {
55
55
  id: string;
56
56
 
57
+ /**
58
+ * This will only return data for earnings after 2025-04-24
59
+ */
60
+ amount: number;
61
+
57
62
  referralCode: Data.ReferralCode;
58
63
 
64
+ /**
65
+ * This will only return data for earnings after 2025-04-24
66
+ */
67
+ tier1Amount: number;
68
+
69
+ /**
70
+ * This will only return data for earnings after 2025-04-24
71
+ */
72
+ tier2Amount: number;
73
+
59
74
  user: Data.User;
60
75
 
61
76
  eligible?: boolean | null;
@@ -65,30 +80,17 @@ export namespace UserListResponse {
65
80
  export interface ReferralCode {
66
81
  id: string;
67
82
 
68
- /**
69
- * This will only return data for earnings after 2025-04-24
70
- */
71
- amount: number;
72
-
73
83
  createdAt: string;
74
84
 
75
85
  deletedAt: string | null;
76
86
 
77
87
  referralCode: string;
78
88
 
79
- /**
80
- * This will only return data for earnings after 2025-04-24
81
- */
82
- tier1Amount: number;
83
-
84
- /**
85
- * This will only return data for earnings after 2025-04-24
86
- */
87
- tier2Amount: number;
88
-
89
89
  updatedAt: string;
90
90
 
91
91
  userId: string;
92
+
93
+ loyaltyRuleId?: string;
92
94
  }
93
95
 
94
96
  export interface User {
@@ -422,6 +422,16 @@ export interface UserListParams {
422
422
  */
423
423
  organizationId?: string;
424
424
 
425
+ /**
426
+ * Reddit username of the user
427
+ */
428
+ redditUser?: string;
429
+
430
+ /**
431
+ * Reddit ID of the user
432
+ */
433
+ redditUserId?: string;
434
+
425
435
  /**
426
436
  * Pagination cursor to start after a specific user ID
427
437
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-alpha.201'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.203'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.201";
1
+ export declare const VERSION = "0.1.0-alpha.203";
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.201'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-alpha.203'; // 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.201'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.203'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map