@snagsolutions/sdk 0.1.0-alpha.195 → 0.1.0-alpha.197
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.
- package/CHANGELOG.md +16 -0
- package/package.json +1 -1
- package/resources/auctions/auctions.d.ts +20 -0
- package/resources/auctions/auctions.d.ts.map +1 -1
- package/resources/auctions/auctions.js.map +1 -1
- package/resources/auctions/auctions.mjs.map +1 -1
- package/resources/loyalty/rule-edits.d.ts +20 -4
- package/resources/loyalty/rule-edits.d.ts.map +1 -1
- package/resources/loyalty/rule-groups.d.ts +6 -2
- package/resources/loyalty/rule-groups.d.ts.map +1 -1
- package/resources/loyalty/rules.d.ts +27 -7
- package/resources/loyalty/rules.d.ts.map +1 -1
- package/resources/loyalty/transactions/transactions.d.ts +1 -1
- package/resources/loyalty/transactions/transactions.d.ts.map +1 -1
- package/resources/loyalty/transactions/transactions.js.map +1 -1
- package/resources/loyalty/transactions/transactions.mjs.map +1 -1
- package/resources/users/metadatas.d.ts +2 -0
- package/resources/users/metadatas.d.ts.map +1 -1
- package/src/resources/auctions/auctions.ts +25 -0
- package/src/resources/loyalty/rule-edits.ts +24 -0
- package/src/resources/loyalty/rule-groups.ts +9 -1
- package/src/resources/loyalty/rules.ts +36 -2
- package/src/resources/loyalty/transactions/transactions.ts +4 -0
- package/src/resources/users/metadatas.ts +4 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -214,6 +214,11 @@ export interface AuctionListAuctionBidsResponse {
|
|
|
214
214
|
* Indicates if there is a next page of results
|
|
215
215
|
*/
|
|
216
216
|
hasNextPage: boolean;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Total count of matching bids (only present when includeCount=true)
|
|
220
|
+
*/
|
|
221
|
+
count?: number;
|
|
217
222
|
}
|
|
218
223
|
|
|
219
224
|
export namespace AuctionListAuctionBidsResponse {
|
|
@@ -469,16 +474,31 @@ export interface AuctionListAuctionBidsParams {
|
|
|
469
474
|
*/
|
|
470
475
|
auctionId?: string;
|
|
471
476
|
|
|
477
|
+
/**
|
|
478
|
+
* Include total count of matching bids in response
|
|
479
|
+
*/
|
|
480
|
+
includeCount?: boolean | null;
|
|
481
|
+
|
|
472
482
|
/**
|
|
473
483
|
* Maximum number of bids to return
|
|
474
484
|
*/
|
|
475
485
|
limit?: number;
|
|
476
486
|
|
|
487
|
+
/**
|
|
488
|
+
* Order bids by amount (ascending or descending). Defaults to desc.
|
|
489
|
+
*/
|
|
490
|
+
orderBy?: 'asc' | 'desc';
|
|
491
|
+
|
|
477
492
|
/**
|
|
478
493
|
* ID of the organization
|
|
479
494
|
*/
|
|
480
495
|
organizationId?: string;
|
|
481
496
|
|
|
497
|
+
/**
|
|
498
|
+
* Number of bids to skip (for offset-based pagination)
|
|
499
|
+
*/
|
|
500
|
+
skip?: number | null;
|
|
501
|
+
|
|
482
502
|
/**
|
|
483
503
|
* Pagination cursor to start after a specific bid ID
|
|
484
504
|
*/
|
|
@@ -489,6 +509,11 @@ export interface AuctionListAuctionBidsParams {
|
|
|
489
509
|
*/
|
|
490
510
|
status?: 'submitted' | 'accepted' | 'rejected' | 'fulfilled';
|
|
491
511
|
|
|
512
|
+
/**
|
|
513
|
+
* Filter by multiple bid statuses (OR condition)
|
|
514
|
+
*/
|
|
515
|
+
statuses?: Array<'submitted' | 'accepted' | 'rejected' | 'fulfilled'>;
|
|
516
|
+
|
|
492
517
|
/**
|
|
493
518
|
* ID of the user who made the bid
|
|
494
519
|
*/
|
|
@@ -289,6 +289,11 @@ export namespace RuleEditListResponse {
|
|
|
289
289
|
*/
|
|
290
290
|
firstReferralReward?: number | null;
|
|
291
291
|
|
|
292
|
+
/**
|
|
293
|
+
* URL of the GitHub repository to check for star.
|
|
294
|
+
*/
|
|
295
|
+
githubRepoUrl?: string | null;
|
|
296
|
+
|
|
292
297
|
/**
|
|
293
298
|
* Flag indicating whether the fill source is included.
|
|
294
299
|
*/
|
|
@@ -525,6 +530,7 @@ export namespace RuleEditListResponse {
|
|
|
525
530
|
| 'X(Twitter)'
|
|
526
531
|
| 'YouTube'
|
|
527
532
|
| 'Google'
|
|
533
|
+
| 'GitHub'
|
|
528
534
|
| null;
|
|
529
535
|
|
|
530
536
|
/**
|
|
@@ -1278,6 +1284,11 @@ export namespace RuleEditListResponse {
|
|
|
1278
1284
|
*/
|
|
1279
1285
|
firstReferralReward?: number | null;
|
|
1280
1286
|
|
|
1287
|
+
/**
|
|
1288
|
+
* URL of the GitHub repository to check for star.
|
|
1289
|
+
*/
|
|
1290
|
+
githubRepoUrl?: string | null;
|
|
1291
|
+
|
|
1281
1292
|
/**
|
|
1282
1293
|
* Flag indicating whether the fill source is included.
|
|
1283
1294
|
*/
|
|
@@ -1514,6 +1525,7 @@ export namespace RuleEditListResponse {
|
|
|
1514
1525
|
| 'X(Twitter)'
|
|
1515
1526
|
| 'YouTube'
|
|
1516
1527
|
| 'Google'
|
|
1528
|
+
| 'GitHub'
|
|
1517
1529
|
| null;
|
|
1518
1530
|
|
|
1519
1531
|
/**
|
|
@@ -2322,6 +2334,11 @@ export namespace RuleEditRestoreResponse {
|
|
|
2322
2334
|
*/
|
|
2323
2335
|
firstReferralReward?: number | null;
|
|
2324
2336
|
|
|
2337
|
+
/**
|
|
2338
|
+
* URL of the GitHub repository to check for star.
|
|
2339
|
+
*/
|
|
2340
|
+
githubRepoUrl?: string | null;
|
|
2341
|
+
|
|
2325
2342
|
/**
|
|
2326
2343
|
* Flag indicating whether the fill source is included.
|
|
2327
2344
|
*/
|
|
@@ -2558,6 +2575,7 @@ export namespace RuleEditRestoreResponse {
|
|
|
2558
2575
|
| 'X(Twitter)'
|
|
2559
2576
|
| 'YouTube'
|
|
2560
2577
|
| 'Google'
|
|
2578
|
+
| 'GitHub'
|
|
2561
2579
|
| null;
|
|
2562
2580
|
|
|
2563
2581
|
/**
|
|
@@ -3311,6 +3329,11 @@ export namespace RuleEditRestoreResponse {
|
|
|
3311
3329
|
*/
|
|
3312
3330
|
firstReferralReward?: number | null;
|
|
3313
3331
|
|
|
3332
|
+
/**
|
|
3333
|
+
* URL of the GitHub repository to check for star.
|
|
3334
|
+
*/
|
|
3335
|
+
githubRepoUrl?: string | null;
|
|
3336
|
+
|
|
3314
3337
|
/**
|
|
3315
3338
|
* Flag indicating whether the fill source is included.
|
|
3316
3339
|
*/
|
|
@@ -3547,6 +3570,7 @@ export namespace RuleEditRestoreResponse {
|
|
|
3547
3570
|
| 'X(Twitter)'
|
|
3548
3571
|
| 'YouTube'
|
|
3549
3572
|
| 'Google'
|
|
3573
|
+
| 'GitHub'
|
|
3550
3574
|
| null;
|
|
3551
3575
|
|
|
3552
3576
|
/**
|
|
@@ -211,6 +211,7 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
211
211
|
| 'connected_discord'
|
|
212
212
|
| 'connected_email'
|
|
213
213
|
| 'connected_epic'
|
|
214
|
+
| 'connected_github'
|
|
214
215
|
| 'connected_steam'
|
|
215
216
|
| 'connected_telegram'
|
|
216
217
|
| 'connected_twitter'
|
|
@@ -255,7 +256,8 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
255
256
|
| 'connected_youtube'
|
|
256
257
|
| 'stratus_function'
|
|
257
258
|
| 'connected_tiktok'
|
|
258
|
-
| 'tiktok_follow'
|
|
259
|
+
| 'tiktok_follow'
|
|
260
|
+
| 'github_repo_star';
|
|
259
261
|
}
|
|
260
262
|
|
|
261
263
|
export namespace LoyaltyRule {
|
|
@@ -370,6 +372,11 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
370
372
|
*/
|
|
371
373
|
firstReferralReward?: number | null;
|
|
372
374
|
|
|
375
|
+
/**
|
|
376
|
+
* URL of the GitHub repository to check for star.
|
|
377
|
+
*/
|
|
378
|
+
githubRepoUrl?: string | null;
|
|
379
|
+
|
|
373
380
|
/**
|
|
374
381
|
* Flag indicating whether the fill source is included.
|
|
375
382
|
*/
|
|
@@ -606,6 +613,7 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
606
613
|
| 'X(Twitter)'
|
|
607
614
|
| 'YouTube'
|
|
608
615
|
| 'Google'
|
|
616
|
+
| 'GitHub'
|
|
609
617
|
| null;
|
|
610
618
|
|
|
611
619
|
/**
|
|
@@ -238,6 +238,7 @@ export interface RuleCreateResponse {
|
|
|
238
238
|
| 'connected_discord'
|
|
239
239
|
| 'connected_email'
|
|
240
240
|
| 'connected_epic'
|
|
241
|
+
| 'connected_github'
|
|
241
242
|
| 'connected_steam'
|
|
242
243
|
| 'connected_telegram'
|
|
243
244
|
| 'connected_twitter'
|
|
@@ -282,7 +283,8 @@ export interface RuleCreateResponse {
|
|
|
282
283
|
| 'connected_youtube'
|
|
283
284
|
| 'stratus_function'
|
|
284
285
|
| 'connected_tiktok'
|
|
285
|
-
| 'tiktok_follow'
|
|
286
|
+
| 'tiktok_follow'
|
|
287
|
+
| 'github_repo_star';
|
|
286
288
|
|
|
287
289
|
/**
|
|
288
290
|
* Unique identifier for the associated website
|
|
@@ -578,6 +580,11 @@ export namespace RuleCreateResponse {
|
|
|
578
580
|
*/
|
|
579
581
|
firstReferralReward?: number | null;
|
|
580
582
|
|
|
583
|
+
/**
|
|
584
|
+
* URL of the GitHub repository to check for star.
|
|
585
|
+
*/
|
|
586
|
+
githubRepoUrl?: string | null;
|
|
587
|
+
|
|
581
588
|
/**
|
|
582
589
|
* Flag indicating whether the fill source is included.
|
|
583
590
|
*/
|
|
@@ -814,6 +821,7 @@ export namespace RuleCreateResponse {
|
|
|
814
821
|
| 'X(Twitter)'
|
|
815
822
|
| 'YouTube'
|
|
816
823
|
| 'Google'
|
|
824
|
+
| 'GitHub'
|
|
817
825
|
| null;
|
|
818
826
|
|
|
819
827
|
/**
|
|
@@ -1832,6 +1840,11 @@ export namespace RuleUpdateResponse {
|
|
|
1832
1840
|
*/
|
|
1833
1841
|
firstReferralReward?: number | null;
|
|
1834
1842
|
|
|
1843
|
+
/**
|
|
1844
|
+
* URL of the GitHub repository to check for star.
|
|
1845
|
+
*/
|
|
1846
|
+
githubRepoUrl?: string | null;
|
|
1847
|
+
|
|
1835
1848
|
/**
|
|
1836
1849
|
* Flag indicating whether the fill source is included.
|
|
1837
1850
|
*/
|
|
@@ -2068,6 +2081,7 @@ export namespace RuleUpdateResponse {
|
|
|
2068
2081
|
| 'X(Twitter)'
|
|
2069
2082
|
| 'YouTube'
|
|
2070
2083
|
| 'Google'
|
|
2084
|
+
| 'GitHub'
|
|
2071
2085
|
| null;
|
|
2072
2086
|
|
|
2073
2087
|
/**
|
|
@@ -2930,6 +2944,11 @@ export namespace RuleListResponse {
|
|
|
2930
2944
|
*/
|
|
2931
2945
|
firstReferralReward?: number | null;
|
|
2932
2946
|
|
|
2947
|
+
/**
|
|
2948
|
+
* URL of the GitHub repository to check for star.
|
|
2949
|
+
*/
|
|
2950
|
+
githubRepoUrl?: string | null;
|
|
2951
|
+
|
|
2933
2952
|
/**
|
|
2934
2953
|
* Flag indicating whether the fill source is included.
|
|
2935
2954
|
*/
|
|
@@ -3166,6 +3185,7 @@ export namespace RuleListResponse {
|
|
|
3166
3185
|
| 'X(Twitter)'
|
|
3167
3186
|
| 'YouTube'
|
|
3168
3187
|
| 'Google'
|
|
3188
|
+
| 'GitHub'
|
|
3169
3189
|
| null;
|
|
3170
3190
|
|
|
3171
3191
|
/**
|
|
@@ -3942,6 +3962,7 @@ export interface RuleCreateParams {
|
|
|
3942
3962
|
| 'connected_discord'
|
|
3943
3963
|
| 'connected_email'
|
|
3944
3964
|
| 'connected_epic'
|
|
3965
|
+
| 'connected_github'
|
|
3945
3966
|
| 'connected_steam'
|
|
3946
3967
|
| 'connected_telegram'
|
|
3947
3968
|
| 'connected_twitter'
|
|
@@ -3986,7 +4007,8 @@ export interface RuleCreateParams {
|
|
|
3986
4007
|
| 'connected_youtube'
|
|
3987
4008
|
| 'stratus_function'
|
|
3988
4009
|
| 'connected_tiktok'
|
|
3989
|
-
| 'tiktok_follow'
|
|
4010
|
+
| 'tiktok_follow'
|
|
4011
|
+
| 'github_repo_star';
|
|
3990
4012
|
|
|
3991
4013
|
/**
|
|
3992
4014
|
* Unique identifier for the associated website
|
|
@@ -4282,6 +4304,11 @@ export namespace RuleCreateParams {
|
|
|
4282
4304
|
*/
|
|
4283
4305
|
firstReferralReward?: number | null;
|
|
4284
4306
|
|
|
4307
|
+
/**
|
|
4308
|
+
* URL of the GitHub repository to check for star.
|
|
4309
|
+
*/
|
|
4310
|
+
githubRepoUrl?: string | null;
|
|
4311
|
+
|
|
4285
4312
|
/**
|
|
4286
4313
|
* Flag indicating whether the fill source is included.
|
|
4287
4314
|
*/
|
|
@@ -4518,6 +4545,7 @@ export namespace RuleCreateParams {
|
|
|
4518
4545
|
| 'X(Twitter)'
|
|
4519
4546
|
| 'YouTube'
|
|
4520
4547
|
| 'Google'
|
|
4548
|
+
| 'GitHub'
|
|
4521
4549
|
| null;
|
|
4522
4550
|
|
|
4523
4551
|
/**
|
|
@@ -5534,6 +5562,11 @@ export namespace RuleUpdateParams {
|
|
|
5534
5562
|
*/
|
|
5535
5563
|
firstReferralReward?: number | null;
|
|
5536
5564
|
|
|
5565
|
+
/**
|
|
5566
|
+
* URL of the GitHub repository to check for star.
|
|
5567
|
+
*/
|
|
5568
|
+
githubRepoUrl?: string | null;
|
|
5569
|
+
|
|
5537
5570
|
/**
|
|
5538
5571
|
* Flag indicating whether the fill source is included.
|
|
5539
5572
|
*/
|
|
@@ -5770,6 +5803,7 @@ export namespace RuleUpdateParams {
|
|
|
5770
5803
|
| 'X(Twitter)'
|
|
5771
5804
|
| 'YouTube'
|
|
5772
5805
|
| 'Google'
|
|
5806
|
+
| 'GitHub'
|
|
5773
5807
|
| null;
|
|
5774
5808
|
|
|
5775
5809
|
/**
|
|
@@ -455,6 +455,7 @@ export interface TransactionGetTransactionEntriesParams {
|
|
|
455
455
|
| 'connected_discord'
|
|
456
456
|
| 'connected_email'
|
|
457
457
|
| 'connected_epic'
|
|
458
|
+
| 'connected_github'
|
|
458
459
|
| 'connected_steam'
|
|
459
460
|
| 'connected_telegram'
|
|
460
461
|
| 'connected_twitter'
|
|
@@ -500,6 +501,7 @@ export interface TransactionGetTransactionEntriesParams {
|
|
|
500
501
|
| 'stratus_function'
|
|
501
502
|
| 'connected_tiktok'
|
|
502
503
|
| 'tiktok_follow'
|
|
504
|
+
| 'github_repo_star'
|
|
503
505
|
| Array<
|
|
504
506
|
| 'Bonus'
|
|
505
507
|
| 'BoughtOn'
|
|
@@ -524,6 +526,7 @@ export interface TransactionGetTransactionEntriesParams {
|
|
|
524
526
|
| 'connected_discord'
|
|
525
527
|
| 'connected_email'
|
|
526
528
|
| 'connected_epic'
|
|
529
|
+
| 'connected_github'
|
|
527
530
|
| 'connected_steam'
|
|
528
531
|
| 'connected_telegram'
|
|
529
532
|
| 'connected_twitter'
|
|
@@ -569,6 +572,7 @@ export interface TransactionGetTransactionEntriesParams {
|
|
|
569
572
|
| 'stratus_function'
|
|
570
573
|
| 'connected_tiktok'
|
|
571
574
|
| 'tiktok_follow'
|
|
575
|
+
| 'github_repo_star'
|
|
572
576
|
>;
|
|
573
577
|
|
|
574
578
|
/**
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.1.0-alpha.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.197'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.1.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.1.0-alpha.197";
|
|
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.
|
|
4
|
+
exports.VERSION = '0.1.0-alpha.197'; // 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.
|
|
1
|
+
export const VERSION = '0.1.0-alpha.197'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|