@crosspost/types 0.1.10 → 0.1.11
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/dist/index.cjs +276 -275
- package/dist/index.d.cts +124 -36
- package/dist/index.d.ts +124 -36
- package/dist/index.js +276 -275
- package/package.json +1 -1
- package/src/auth.ts +3 -3
package/dist/index.d.cts
CHANGED
@@ -421,57 +421,145 @@ declare const AuthRevokeResponseSchema: z.ZodObject<{
|
|
421
421
|
declare const ConnectedAccountSchema: z.ZodObject<{
|
422
422
|
platform: z.ZodNativeEnum<typeof Platform>;
|
423
423
|
userId: z.ZodString;
|
424
|
-
|
425
|
-
|
426
|
-
|
424
|
+
connectedAt: z.ZodString;
|
425
|
+
profile: z.ZodNullable<z.ZodObject<{
|
426
|
+
userId: z.ZodString;
|
427
|
+
username: z.ZodString;
|
428
|
+
url: z.ZodOptional<z.ZodString>;
|
429
|
+
profileImageUrl: z.ZodString;
|
430
|
+
isPremium: z.ZodOptional<z.ZodBoolean>;
|
431
|
+
platform: z.ZodNativeEnum<typeof Platform>;
|
432
|
+
lastUpdated: z.ZodNumber;
|
433
|
+
}, "strip", z.ZodTypeAny, {
|
434
|
+
platform: Platform;
|
435
|
+
userId: string;
|
436
|
+
username: string;
|
437
|
+
profileImageUrl: string;
|
438
|
+
lastUpdated: number;
|
439
|
+
url?: string | undefined;
|
440
|
+
isPremium?: boolean | undefined;
|
441
|
+
}, {
|
442
|
+
platform: Platform;
|
443
|
+
userId: string;
|
444
|
+
username: string;
|
445
|
+
profileImageUrl: string;
|
446
|
+
lastUpdated: number;
|
447
|
+
url?: string | undefined;
|
448
|
+
isPremium?: boolean | undefined;
|
449
|
+
}>>;
|
427
450
|
}, "strip", z.ZodTypeAny, {
|
428
451
|
platform: Platform;
|
429
452
|
userId: string;
|
430
|
-
|
431
|
-
|
432
|
-
|
453
|
+
profile: {
|
454
|
+
platform: Platform;
|
455
|
+
userId: string;
|
456
|
+
username: string;
|
457
|
+
profileImageUrl: string;
|
458
|
+
lastUpdated: number;
|
459
|
+
url?: string | undefined;
|
460
|
+
isPremium?: boolean | undefined;
|
461
|
+
} | null;
|
462
|
+
connectedAt: string;
|
433
463
|
}, {
|
434
464
|
platform: Platform;
|
435
465
|
userId: string;
|
436
|
-
|
437
|
-
|
438
|
-
|
466
|
+
profile: {
|
467
|
+
platform: Platform;
|
468
|
+
userId: string;
|
469
|
+
username: string;
|
470
|
+
profileImageUrl: string;
|
471
|
+
lastUpdated: number;
|
472
|
+
url?: string | undefined;
|
473
|
+
isPremium?: boolean | undefined;
|
474
|
+
} | null;
|
475
|
+
connectedAt: string;
|
439
476
|
}>;
|
440
477
|
declare const ConnectedAccountsResponseSchema: z.ZodObject<{
|
441
478
|
accounts: z.ZodArray<z.ZodObject<{
|
442
479
|
platform: z.ZodNativeEnum<typeof Platform>;
|
443
480
|
userId: z.ZodString;
|
444
|
-
|
445
|
-
|
446
|
-
|
481
|
+
connectedAt: z.ZodString;
|
482
|
+
profile: z.ZodNullable<z.ZodObject<{
|
483
|
+
userId: z.ZodString;
|
484
|
+
username: z.ZodString;
|
485
|
+
url: z.ZodOptional<z.ZodString>;
|
486
|
+
profileImageUrl: z.ZodString;
|
487
|
+
isPremium: z.ZodOptional<z.ZodBoolean>;
|
488
|
+
platform: z.ZodNativeEnum<typeof Platform>;
|
489
|
+
lastUpdated: z.ZodNumber;
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
491
|
+
platform: Platform;
|
492
|
+
userId: string;
|
493
|
+
username: string;
|
494
|
+
profileImageUrl: string;
|
495
|
+
lastUpdated: number;
|
496
|
+
url?: string | undefined;
|
497
|
+
isPremium?: boolean | undefined;
|
498
|
+
}, {
|
499
|
+
platform: Platform;
|
500
|
+
userId: string;
|
501
|
+
username: string;
|
502
|
+
profileImageUrl: string;
|
503
|
+
lastUpdated: number;
|
504
|
+
url?: string | undefined;
|
505
|
+
isPremium?: boolean | undefined;
|
506
|
+
}>>;
|
447
507
|
}, "strip", z.ZodTypeAny, {
|
448
508
|
platform: Platform;
|
449
509
|
userId: string;
|
450
|
-
|
451
|
-
|
452
|
-
|
510
|
+
profile: {
|
511
|
+
platform: Platform;
|
512
|
+
userId: string;
|
513
|
+
username: string;
|
514
|
+
profileImageUrl: string;
|
515
|
+
lastUpdated: number;
|
516
|
+
url?: string | undefined;
|
517
|
+
isPremium?: boolean | undefined;
|
518
|
+
} | null;
|
519
|
+
connectedAt: string;
|
453
520
|
}, {
|
454
521
|
platform: Platform;
|
455
522
|
userId: string;
|
456
|
-
|
457
|
-
|
458
|
-
|
523
|
+
profile: {
|
524
|
+
platform: Platform;
|
525
|
+
userId: string;
|
526
|
+
username: string;
|
527
|
+
profileImageUrl: string;
|
528
|
+
lastUpdated: number;
|
529
|
+
url?: string | undefined;
|
530
|
+
isPremium?: boolean | undefined;
|
531
|
+
} | null;
|
532
|
+
connectedAt: string;
|
459
533
|
}>, "many">;
|
460
534
|
}, "strip", z.ZodTypeAny, {
|
461
535
|
accounts: {
|
462
536
|
platform: Platform;
|
463
537
|
userId: string;
|
464
|
-
|
465
|
-
|
466
|
-
|
538
|
+
profile: {
|
539
|
+
platform: Platform;
|
540
|
+
userId: string;
|
541
|
+
username: string;
|
542
|
+
profileImageUrl: string;
|
543
|
+
lastUpdated: number;
|
544
|
+
url?: string | undefined;
|
545
|
+
isPremium?: boolean | undefined;
|
546
|
+
} | null;
|
547
|
+
connectedAt: string;
|
467
548
|
}[];
|
468
549
|
}, {
|
469
550
|
accounts: {
|
470
551
|
platform: Platform;
|
471
552
|
userId: string;
|
472
|
-
|
473
|
-
|
474
|
-
|
553
|
+
profile: {
|
554
|
+
platform: Platform;
|
555
|
+
userId: string;
|
556
|
+
username: string;
|
557
|
+
profileImageUrl: string;
|
558
|
+
lastUpdated: number;
|
559
|
+
url?: string | undefined;
|
560
|
+
isPremium?: boolean | undefined;
|
561
|
+
} | null;
|
562
|
+
connectedAt: string;
|
475
563
|
}[];
|
476
564
|
}>;
|
477
565
|
declare const NearAuthorizationRequestSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
@@ -2227,6 +2315,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2227
2315
|
}>, "many">;
|
2228
2316
|
lastUpdated: z.ZodString;
|
2229
2317
|
}, "strip", z.ZodTypeAny, {
|
2318
|
+
lastUpdated: string;
|
2230
2319
|
endpoints: {
|
2231
2320
|
remaining: number;
|
2232
2321
|
limit: number;
|
@@ -2235,8 +2324,8 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2235
2324
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2236
2325
|
resetDate: string;
|
2237
2326
|
}[];
|
2238
|
-
lastUpdated: string;
|
2239
2327
|
}, {
|
2328
|
+
lastUpdated: string;
|
2240
2329
|
endpoints: {
|
2241
2330
|
remaining: number;
|
2242
2331
|
limit: number;
|
@@ -2245,7 +2334,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2245
2334
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2246
2335
|
resetDate: string;
|
2247
2336
|
}[];
|
2248
|
-
lastUpdated: string;
|
2249
2337
|
}>>;
|
2250
2338
|
app: z.ZodOptional<z.ZodObject<{
|
2251
2339
|
limit: z.ZodNumber;
|
@@ -2265,6 +2353,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2265
2353
|
}>>;
|
2266
2354
|
}, "strip", z.ZodTypeAny, {
|
2267
2355
|
users: Record<string, {
|
2356
|
+
lastUpdated: string;
|
2268
2357
|
endpoints: {
|
2269
2358
|
remaining: number;
|
2270
2359
|
limit: number;
|
@@ -2273,7 +2362,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2273
2362
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2274
2363
|
resetDate: string;
|
2275
2364
|
}[];
|
2276
|
-
lastUpdated: string;
|
2277
2365
|
}>;
|
2278
2366
|
app?: {
|
2279
2367
|
remaining: number;
|
@@ -2283,6 +2371,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2283
2371
|
} | undefined;
|
2284
2372
|
}, {
|
2285
2373
|
users: Record<string, {
|
2374
|
+
lastUpdated: string;
|
2286
2375
|
endpoints: {
|
2287
2376
|
remaining: number;
|
2288
2377
|
limit: number;
|
@@ -2291,7 +2380,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2291
2380
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2292
2381
|
resetDate: string;
|
2293
2382
|
}[];
|
2294
|
-
lastUpdated: string;
|
2295
2383
|
}>;
|
2296
2384
|
app?: {
|
2297
2385
|
remaining: number;
|
@@ -2303,6 +2391,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2303
2391
|
}, "strip", z.ZodTypeAny, {
|
2304
2392
|
platforms: Partial<Record<Platform, {
|
2305
2393
|
users: Record<string, {
|
2394
|
+
lastUpdated: string;
|
2306
2395
|
endpoints: {
|
2307
2396
|
remaining: number;
|
2308
2397
|
limit: number;
|
@@ -2311,7 +2400,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2311
2400
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2312
2401
|
resetDate: string;
|
2313
2402
|
}[];
|
2314
|
-
lastUpdated: string;
|
2315
2403
|
}>;
|
2316
2404
|
app?: {
|
2317
2405
|
remaining: number;
|
@@ -2323,6 +2411,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2323
2411
|
}, {
|
2324
2412
|
platforms: Partial<Record<Platform, {
|
2325
2413
|
users: Record<string, {
|
2414
|
+
lastUpdated: string;
|
2326
2415
|
endpoints: {
|
2327
2416
|
remaining: number;
|
2328
2417
|
limit: number;
|
@@ -2331,7 +2420,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2331
2420
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2332
2421
|
resetDate: string;
|
2333
2422
|
}[];
|
2334
|
-
lastUpdated: string;
|
2335
2423
|
}>;
|
2336
2424
|
app?: {
|
2337
2425
|
remaining: number;
|
@@ -3033,16 +3121,16 @@ declare const UserProfileSchema: z.ZodObject<{
|
|
3033
3121
|
platform: Platform;
|
3034
3122
|
userId: string;
|
3035
3123
|
username: string;
|
3036
|
-
lastUpdated: number;
|
3037
3124
|
profileImageUrl: string;
|
3125
|
+
lastUpdated: number;
|
3038
3126
|
url?: string | undefined;
|
3039
3127
|
isPremium?: boolean | undefined;
|
3040
3128
|
}, {
|
3041
3129
|
platform: Platform;
|
3042
3130
|
userId: string;
|
3043
3131
|
username: string;
|
3044
|
-
lastUpdated: number;
|
3045
3132
|
profileImageUrl: string;
|
3133
|
+
lastUpdated: number;
|
3046
3134
|
url?: string | undefined;
|
3047
3135
|
isPremium?: boolean | undefined;
|
3048
3136
|
}>;
|
@@ -3059,16 +3147,16 @@ declare const ProfileRefreshResponseSchema: z.ZodObject<{
|
|
3059
3147
|
platform: Platform;
|
3060
3148
|
userId: string;
|
3061
3149
|
username: string;
|
3062
|
-
lastUpdated: number;
|
3063
3150
|
profileImageUrl: string;
|
3151
|
+
lastUpdated: number;
|
3064
3152
|
url?: string | undefined;
|
3065
3153
|
isPremium?: boolean | undefined;
|
3066
3154
|
}, {
|
3067
3155
|
platform: Platform;
|
3068
3156
|
userId: string;
|
3069
3157
|
username: string;
|
3070
|
-
lastUpdated: number;
|
3071
3158
|
profileImageUrl: string;
|
3159
|
+
lastUpdated: number;
|
3072
3160
|
url?: string | undefined;
|
3073
3161
|
isPremium?: boolean | undefined;
|
3074
3162
|
}>>;
|
@@ -3077,8 +3165,8 @@ declare const ProfileRefreshResponseSchema: z.ZodObject<{
|
|
3077
3165
|
platform: Platform;
|
3078
3166
|
userId: string;
|
3079
3167
|
username: string;
|
3080
|
-
lastUpdated: number;
|
3081
3168
|
profileImageUrl: string;
|
3169
|
+
lastUpdated: number;
|
3082
3170
|
url?: string | undefined;
|
3083
3171
|
isPremium?: boolean | undefined;
|
3084
3172
|
} | undefined;
|
@@ -3087,8 +3175,8 @@ declare const ProfileRefreshResponseSchema: z.ZodObject<{
|
|
3087
3175
|
platform: Platform;
|
3088
3176
|
userId: string;
|
3089
3177
|
username: string;
|
3090
|
-
lastUpdated: number;
|
3091
3178
|
profileImageUrl: string;
|
3179
|
+
lastUpdated: number;
|
3092
3180
|
url?: string | undefined;
|
3093
3181
|
isPremium?: boolean | undefined;
|
3094
3182
|
} | undefined;
|
package/dist/index.d.ts
CHANGED
@@ -421,57 +421,145 @@ declare const AuthRevokeResponseSchema: z.ZodObject<{
|
|
421
421
|
declare const ConnectedAccountSchema: z.ZodObject<{
|
422
422
|
platform: z.ZodNativeEnum<typeof Platform>;
|
423
423
|
userId: z.ZodString;
|
424
|
-
|
425
|
-
|
426
|
-
|
424
|
+
connectedAt: z.ZodString;
|
425
|
+
profile: z.ZodNullable<z.ZodObject<{
|
426
|
+
userId: z.ZodString;
|
427
|
+
username: z.ZodString;
|
428
|
+
url: z.ZodOptional<z.ZodString>;
|
429
|
+
profileImageUrl: z.ZodString;
|
430
|
+
isPremium: z.ZodOptional<z.ZodBoolean>;
|
431
|
+
platform: z.ZodNativeEnum<typeof Platform>;
|
432
|
+
lastUpdated: z.ZodNumber;
|
433
|
+
}, "strip", z.ZodTypeAny, {
|
434
|
+
platform: Platform;
|
435
|
+
userId: string;
|
436
|
+
username: string;
|
437
|
+
profileImageUrl: string;
|
438
|
+
lastUpdated: number;
|
439
|
+
url?: string | undefined;
|
440
|
+
isPremium?: boolean | undefined;
|
441
|
+
}, {
|
442
|
+
platform: Platform;
|
443
|
+
userId: string;
|
444
|
+
username: string;
|
445
|
+
profileImageUrl: string;
|
446
|
+
lastUpdated: number;
|
447
|
+
url?: string | undefined;
|
448
|
+
isPremium?: boolean | undefined;
|
449
|
+
}>>;
|
427
450
|
}, "strip", z.ZodTypeAny, {
|
428
451
|
platform: Platform;
|
429
452
|
userId: string;
|
430
|
-
|
431
|
-
|
432
|
-
|
453
|
+
profile: {
|
454
|
+
platform: Platform;
|
455
|
+
userId: string;
|
456
|
+
username: string;
|
457
|
+
profileImageUrl: string;
|
458
|
+
lastUpdated: number;
|
459
|
+
url?: string | undefined;
|
460
|
+
isPremium?: boolean | undefined;
|
461
|
+
} | null;
|
462
|
+
connectedAt: string;
|
433
463
|
}, {
|
434
464
|
platform: Platform;
|
435
465
|
userId: string;
|
436
|
-
|
437
|
-
|
438
|
-
|
466
|
+
profile: {
|
467
|
+
platform: Platform;
|
468
|
+
userId: string;
|
469
|
+
username: string;
|
470
|
+
profileImageUrl: string;
|
471
|
+
lastUpdated: number;
|
472
|
+
url?: string | undefined;
|
473
|
+
isPremium?: boolean | undefined;
|
474
|
+
} | null;
|
475
|
+
connectedAt: string;
|
439
476
|
}>;
|
440
477
|
declare const ConnectedAccountsResponseSchema: z.ZodObject<{
|
441
478
|
accounts: z.ZodArray<z.ZodObject<{
|
442
479
|
platform: z.ZodNativeEnum<typeof Platform>;
|
443
480
|
userId: z.ZodString;
|
444
|
-
|
445
|
-
|
446
|
-
|
481
|
+
connectedAt: z.ZodString;
|
482
|
+
profile: z.ZodNullable<z.ZodObject<{
|
483
|
+
userId: z.ZodString;
|
484
|
+
username: z.ZodString;
|
485
|
+
url: z.ZodOptional<z.ZodString>;
|
486
|
+
profileImageUrl: z.ZodString;
|
487
|
+
isPremium: z.ZodOptional<z.ZodBoolean>;
|
488
|
+
platform: z.ZodNativeEnum<typeof Platform>;
|
489
|
+
lastUpdated: z.ZodNumber;
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
491
|
+
platform: Platform;
|
492
|
+
userId: string;
|
493
|
+
username: string;
|
494
|
+
profileImageUrl: string;
|
495
|
+
lastUpdated: number;
|
496
|
+
url?: string | undefined;
|
497
|
+
isPremium?: boolean | undefined;
|
498
|
+
}, {
|
499
|
+
platform: Platform;
|
500
|
+
userId: string;
|
501
|
+
username: string;
|
502
|
+
profileImageUrl: string;
|
503
|
+
lastUpdated: number;
|
504
|
+
url?: string | undefined;
|
505
|
+
isPremium?: boolean | undefined;
|
506
|
+
}>>;
|
447
507
|
}, "strip", z.ZodTypeAny, {
|
448
508
|
platform: Platform;
|
449
509
|
userId: string;
|
450
|
-
|
451
|
-
|
452
|
-
|
510
|
+
profile: {
|
511
|
+
platform: Platform;
|
512
|
+
userId: string;
|
513
|
+
username: string;
|
514
|
+
profileImageUrl: string;
|
515
|
+
lastUpdated: number;
|
516
|
+
url?: string | undefined;
|
517
|
+
isPremium?: boolean | undefined;
|
518
|
+
} | null;
|
519
|
+
connectedAt: string;
|
453
520
|
}, {
|
454
521
|
platform: Platform;
|
455
522
|
userId: string;
|
456
|
-
|
457
|
-
|
458
|
-
|
523
|
+
profile: {
|
524
|
+
platform: Platform;
|
525
|
+
userId: string;
|
526
|
+
username: string;
|
527
|
+
profileImageUrl: string;
|
528
|
+
lastUpdated: number;
|
529
|
+
url?: string | undefined;
|
530
|
+
isPremium?: boolean | undefined;
|
531
|
+
} | null;
|
532
|
+
connectedAt: string;
|
459
533
|
}>, "many">;
|
460
534
|
}, "strip", z.ZodTypeAny, {
|
461
535
|
accounts: {
|
462
536
|
platform: Platform;
|
463
537
|
userId: string;
|
464
|
-
|
465
|
-
|
466
|
-
|
538
|
+
profile: {
|
539
|
+
platform: Platform;
|
540
|
+
userId: string;
|
541
|
+
username: string;
|
542
|
+
profileImageUrl: string;
|
543
|
+
lastUpdated: number;
|
544
|
+
url?: string | undefined;
|
545
|
+
isPremium?: boolean | undefined;
|
546
|
+
} | null;
|
547
|
+
connectedAt: string;
|
467
548
|
}[];
|
468
549
|
}, {
|
469
550
|
accounts: {
|
470
551
|
platform: Platform;
|
471
552
|
userId: string;
|
472
|
-
|
473
|
-
|
474
|
-
|
553
|
+
profile: {
|
554
|
+
platform: Platform;
|
555
|
+
userId: string;
|
556
|
+
username: string;
|
557
|
+
profileImageUrl: string;
|
558
|
+
lastUpdated: number;
|
559
|
+
url?: string | undefined;
|
560
|
+
isPremium?: boolean | undefined;
|
561
|
+
} | null;
|
562
|
+
connectedAt: string;
|
475
563
|
}[];
|
476
564
|
}>;
|
477
565
|
declare const NearAuthorizationRequestSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
@@ -2227,6 +2315,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2227
2315
|
}>, "many">;
|
2228
2316
|
lastUpdated: z.ZodString;
|
2229
2317
|
}, "strip", z.ZodTypeAny, {
|
2318
|
+
lastUpdated: string;
|
2230
2319
|
endpoints: {
|
2231
2320
|
remaining: number;
|
2232
2321
|
limit: number;
|
@@ -2235,8 +2324,8 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2235
2324
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2236
2325
|
resetDate: string;
|
2237
2326
|
}[];
|
2238
|
-
lastUpdated: string;
|
2239
2327
|
}, {
|
2328
|
+
lastUpdated: string;
|
2240
2329
|
endpoints: {
|
2241
2330
|
remaining: number;
|
2242
2331
|
limit: number;
|
@@ -2245,7 +2334,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2245
2334
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2246
2335
|
resetDate: string;
|
2247
2336
|
}[];
|
2248
|
-
lastUpdated: string;
|
2249
2337
|
}>>;
|
2250
2338
|
app: z.ZodOptional<z.ZodObject<{
|
2251
2339
|
limit: z.ZodNumber;
|
@@ -2265,6 +2353,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2265
2353
|
}>>;
|
2266
2354
|
}, "strip", z.ZodTypeAny, {
|
2267
2355
|
users: Record<string, {
|
2356
|
+
lastUpdated: string;
|
2268
2357
|
endpoints: {
|
2269
2358
|
remaining: number;
|
2270
2359
|
limit: number;
|
@@ -2273,7 +2362,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2273
2362
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2274
2363
|
resetDate: string;
|
2275
2364
|
}[];
|
2276
|
-
lastUpdated: string;
|
2277
2365
|
}>;
|
2278
2366
|
app?: {
|
2279
2367
|
remaining: number;
|
@@ -2283,6 +2371,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2283
2371
|
} | undefined;
|
2284
2372
|
}, {
|
2285
2373
|
users: Record<string, {
|
2374
|
+
lastUpdated: string;
|
2286
2375
|
endpoints: {
|
2287
2376
|
remaining: number;
|
2288
2377
|
limit: number;
|
@@ -2291,7 +2380,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2291
2380
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2292
2381
|
resetDate: string;
|
2293
2382
|
}[];
|
2294
|
-
lastUpdated: string;
|
2295
2383
|
}>;
|
2296
2384
|
app?: {
|
2297
2385
|
remaining: number;
|
@@ -2303,6 +2391,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2303
2391
|
}, "strip", z.ZodTypeAny, {
|
2304
2392
|
platforms: Partial<Record<Platform, {
|
2305
2393
|
users: Record<string, {
|
2394
|
+
lastUpdated: string;
|
2306
2395
|
endpoints: {
|
2307
2396
|
remaining: number;
|
2308
2397
|
limit: number;
|
@@ -2311,7 +2400,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2311
2400
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2312
2401
|
resetDate: string;
|
2313
2402
|
}[];
|
2314
|
-
lastUpdated: string;
|
2315
2403
|
}>;
|
2316
2404
|
app?: {
|
2317
2405
|
remaining: number;
|
@@ -2323,6 +2411,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2323
2411
|
}, {
|
2324
2412
|
platforms: Partial<Record<Platform, {
|
2325
2413
|
users: Record<string, {
|
2414
|
+
lastUpdated: string;
|
2326
2415
|
endpoints: {
|
2327
2416
|
remaining: number;
|
2328
2417
|
limit: number;
|
@@ -2331,7 +2420,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2331
2420
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2332
2421
|
resetDate: string;
|
2333
2422
|
}[];
|
2334
|
-
lastUpdated: string;
|
2335
2423
|
}>;
|
2336
2424
|
app?: {
|
2337
2425
|
remaining: number;
|
@@ -3033,16 +3121,16 @@ declare const UserProfileSchema: z.ZodObject<{
|
|
3033
3121
|
platform: Platform;
|
3034
3122
|
userId: string;
|
3035
3123
|
username: string;
|
3036
|
-
lastUpdated: number;
|
3037
3124
|
profileImageUrl: string;
|
3125
|
+
lastUpdated: number;
|
3038
3126
|
url?: string | undefined;
|
3039
3127
|
isPremium?: boolean | undefined;
|
3040
3128
|
}, {
|
3041
3129
|
platform: Platform;
|
3042
3130
|
userId: string;
|
3043
3131
|
username: string;
|
3044
|
-
lastUpdated: number;
|
3045
3132
|
profileImageUrl: string;
|
3133
|
+
lastUpdated: number;
|
3046
3134
|
url?: string | undefined;
|
3047
3135
|
isPremium?: boolean | undefined;
|
3048
3136
|
}>;
|
@@ -3059,16 +3147,16 @@ declare const ProfileRefreshResponseSchema: z.ZodObject<{
|
|
3059
3147
|
platform: Platform;
|
3060
3148
|
userId: string;
|
3061
3149
|
username: string;
|
3062
|
-
lastUpdated: number;
|
3063
3150
|
profileImageUrl: string;
|
3151
|
+
lastUpdated: number;
|
3064
3152
|
url?: string | undefined;
|
3065
3153
|
isPremium?: boolean | undefined;
|
3066
3154
|
}, {
|
3067
3155
|
platform: Platform;
|
3068
3156
|
userId: string;
|
3069
3157
|
username: string;
|
3070
|
-
lastUpdated: number;
|
3071
3158
|
profileImageUrl: string;
|
3159
|
+
lastUpdated: number;
|
3072
3160
|
url?: string | undefined;
|
3073
3161
|
isPremium?: boolean | undefined;
|
3074
3162
|
}>>;
|
@@ -3077,8 +3165,8 @@ declare const ProfileRefreshResponseSchema: z.ZodObject<{
|
|
3077
3165
|
platform: Platform;
|
3078
3166
|
userId: string;
|
3079
3167
|
username: string;
|
3080
|
-
lastUpdated: number;
|
3081
3168
|
profileImageUrl: string;
|
3169
|
+
lastUpdated: number;
|
3082
3170
|
url?: string | undefined;
|
3083
3171
|
isPremium?: boolean | undefined;
|
3084
3172
|
} | undefined;
|
@@ -3087,8 +3175,8 @@ declare const ProfileRefreshResponseSchema: z.ZodObject<{
|
|
3087
3175
|
platform: Platform;
|
3088
3176
|
userId: string;
|
3089
3177
|
username: string;
|
3090
|
-
lastUpdated: number;
|
3091
3178
|
profileImageUrl: string;
|
3179
|
+
lastUpdated: number;
|
3092
3180
|
url?: string | undefined;
|
3093
3181
|
isPremium?: boolean | undefined;
|
3094
3182
|
} | undefined;
|