@crosspost/types 0.1.10 → 0.1.12
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 +275 -276
- package/dist/index.d.cts +124 -42
- package/dist/index.d.ts +124 -42
- package/dist/index.js +275 -276
- package/package.json +1 -1
- package/src/auth.ts +3 -5
package/dist/index.d.cts
CHANGED
@@ -311,16 +311,10 @@ declare const AuthInitRequestSchema: z.ZodObject<{
|
|
311
311
|
}>;
|
312
312
|
declare const AuthUrlResponseSchema: z.ZodObject<{
|
313
313
|
url: z.ZodString;
|
314
|
-
state: z.ZodString;
|
315
|
-
platform: z.ZodNativeEnum<typeof Platform>;
|
316
314
|
}, "strip", z.ZodTypeAny, {
|
317
|
-
platform: Platform;
|
318
315
|
url: string;
|
319
|
-
state: string;
|
320
316
|
}, {
|
321
|
-
platform: Platform;
|
322
317
|
url: string;
|
323
|
-
state: string;
|
324
318
|
}>;
|
325
319
|
declare const AuthCallbackQuerySchema: z.ZodObject<{
|
326
320
|
code: z.ZodString;
|
@@ -421,57 +415,145 @@ declare const AuthRevokeResponseSchema: z.ZodObject<{
|
|
421
415
|
declare const ConnectedAccountSchema: z.ZodObject<{
|
422
416
|
platform: z.ZodNativeEnum<typeof Platform>;
|
423
417
|
userId: z.ZodString;
|
424
|
-
|
425
|
-
|
426
|
-
|
418
|
+
connectedAt: z.ZodString;
|
419
|
+
profile: z.ZodNullable<z.ZodObject<{
|
420
|
+
userId: z.ZodString;
|
421
|
+
username: z.ZodString;
|
422
|
+
url: z.ZodOptional<z.ZodString>;
|
423
|
+
profileImageUrl: z.ZodString;
|
424
|
+
isPremium: z.ZodOptional<z.ZodBoolean>;
|
425
|
+
platform: z.ZodNativeEnum<typeof Platform>;
|
426
|
+
lastUpdated: z.ZodNumber;
|
427
|
+
}, "strip", z.ZodTypeAny, {
|
428
|
+
platform: Platform;
|
429
|
+
userId: string;
|
430
|
+
username: string;
|
431
|
+
profileImageUrl: string;
|
432
|
+
lastUpdated: number;
|
433
|
+
url?: string | undefined;
|
434
|
+
isPremium?: boolean | undefined;
|
435
|
+
}, {
|
436
|
+
platform: Platform;
|
437
|
+
userId: string;
|
438
|
+
username: string;
|
439
|
+
profileImageUrl: string;
|
440
|
+
lastUpdated: number;
|
441
|
+
url?: string | undefined;
|
442
|
+
isPremium?: boolean | undefined;
|
443
|
+
}>>;
|
427
444
|
}, "strip", z.ZodTypeAny, {
|
428
445
|
platform: Platform;
|
429
446
|
userId: string;
|
430
|
-
|
431
|
-
|
432
|
-
|
447
|
+
profile: {
|
448
|
+
platform: Platform;
|
449
|
+
userId: string;
|
450
|
+
username: string;
|
451
|
+
profileImageUrl: string;
|
452
|
+
lastUpdated: number;
|
453
|
+
url?: string | undefined;
|
454
|
+
isPremium?: boolean | undefined;
|
455
|
+
} | null;
|
456
|
+
connectedAt: string;
|
433
457
|
}, {
|
434
458
|
platform: Platform;
|
435
459
|
userId: string;
|
436
|
-
|
437
|
-
|
438
|
-
|
460
|
+
profile: {
|
461
|
+
platform: Platform;
|
462
|
+
userId: string;
|
463
|
+
username: string;
|
464
|
+
profileImageUrl: string;
|
465
|
+
lastUpdated: number;
|
466
|
+
url?: string | undefined;
|
467
|
+
isPremium?: boolean | undefined;
|
468
|
+
} | null;
|
469
|
+
connectedAt: string;
|
439
470
|
}>;
|
440
471
|
declare const ConnectedAccountsResponseSchema: z.ZodObject<{
|
441
472
|
accounts: z.ZodArray<z.ZodObject<{
|
442
473
|
platform: z.ZodNativeEnum<typeof Platform>;
|
443
474
|
userId: z.ZodString;
|
444
|
-
|
445
|
-
|
446
|
-
|
475
|
+
connectedAt: z.ZodString;
|
476
|
+
profile: z.ZodNullable<z.ZodObject<{
|
477
|
+
userId: z.ZodString;
|
478
|
+
username: z.ZodString;
|
479
|
+
url: z.ZodOptional<z.ZodString>;
|
480
|
+
profileImageUrl: z.ZodString;
|
481
|
+
isPremium: z.ZodOptional<z.ZodBoolean>;
|
482
|
+
platform: z.ZodNativeEnum<typeof Platform>;
|
483
|
+
lastUpdated: z.ZodNumber;
|
484
|
+
}, "strip", z.ZodTypeAny, {
|
485
|
+
platform: Platform;
|
486
|
+
userId: string;
|
487
|
+
username: string;
|
488
|
+
profileImageUrl: string;
|
489
|
+
lastUpdated: number;
|
490
|
+
url?: string | undefined;
|
491
|
+
isPremium?: boolean | undefined;
|
492
|
+
}, {
|
493
|
+
platform: Platform;
|
494
|
+
userId: string;
|
495
|
+
username: string;
|
496
|
+
profileImageUrl: string;
|
497
|
+
lastUpdated: number;
|
498
|
+
url?: string | undefined;
|
499
|
+
isPremium?: boolean | undefined;
|
500
|
+
}>>;
|
447
501
|
}, "strip", z.ZodTypeAny, {
|
448
502
|
platform: Platform;
|
449
503
|
userId: string;
|
450
|
-
|
451
|
-
|
452
|
-
|
504
|
+
profile: {
|
505
|
+
platform: Platform;
|
506
|
+
userId: string;
|
507
|
+
username: string;
|
508
|
+
profileImageUrl: string;
|
509
|
+
lastUpdated: number;
|
510
|
+
url?: string | undefined;
|
511
|
+
isPremium?: boolean | undefined;
|
512
|
+
} | null;
|
513
|
+
connectedAt: string;
|
453
514
|
}, {
|
454
515
|
platform: Platform;
|
455
516
|
userId: string;
|
456
|
-
|
457
|
-
|
458
|
-
|
517
|
+
profile: {
|
518
|
+
platform: Platform;
|
519
|
+
userId: string;
|
520
|
+
username: string;
|
521
|
+
profileImageUrl: string;
|
522
|
+
lastUpdated: number;
|
523
|
+
url?: string | undefined;
|
524
|
+
isPremium?: boolean | undefined;
|
525
|
+
} | null;
|
526
|
+
connectedAt: string;
|
459
527
|
}>, "many">;
|
460
528
|
}, "strip", z.ZodTypeAny, {
|
461
529
|
accounts: {
|
462
530
|
platform: Platform;
|
463
531
|
userId: string;
|
464
|
-
|
465
|
-
|
466
|
-
|
532
|
+
profile: {
|
533
|
+
platform: Platform;
|
534
|
+
userId: string;
|
535
|
+
username: string;
|
536
|
+
profileImageUrl: string;
|
537
|
+
lastUpdated: number;
|
538
|
+
url?: string | undefined;
|
539
|
+
isPremium?: boolean | undefined;
|
540
|
+
} | null;
|
541
|
+
connectedAt: string;
|
467
542
|
}[];
|
468
543
|
}, {
|
469
544
|
accounts: {
|
470
545
|
platform: Platform;
|
471
546
|
userId: string;
|
472
|
-
|
473
|
-
|
474
|
-
|
547
|
+
profile: {
|
548
|
+
platform: Platform;
|
549
|
+
userId: string;
|
550
|
+
username: string;
|
551
|
+
profileImageUrl: string;
|
552
|
+
lastUpdated: number;
|
553
|
+
url?: string | undefined;
|
554
|
+
isPremium?: boolean | undefined;
|
555
|
+
} | null;
|
556
|
+
connectedAt: string;
|
475
557
|
}[];
|
476
558
|
}>;
|
477
559
|
declare const NearAuthorizationRequestSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
@@ -2227,6 +2309,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2227
2309
|
}>, "many">;
|
2228
2310
|
lastUpdated: z.ZodString;
|
2229
2311
|
}, "strip", z.ZodTypeAny, {
|
2312
|
+
lastUpdated: string;
|
2230
2313
|
endpoints: {
|
2231
2314
|
remaining: number;
|
2232
2315
|
limit: number;
|
@@ -2235,8 +2318,8 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2235
2318
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2236
2319
|
resetDate: string;
|
2237
2320
|
}[];
|
2238
|
-
lastUpdated: string;
|
2239
2321
|
}, {
|
2322
|
+
lastUpdated: string;
|
2240
2323
|
endpoints: {
|
2241
2324
|
remaining: number;
|
2242
2325
|
limit: number;
|
@@ -2245,7 +2328,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2245
2328
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2246
2329
|
resetDate: string;
|
2247
2330
|
}[];
|
2248
|
-
lastUpdated: string;
|
2249
2331
|
}>>;
|
2250
2332
|
app: z.ZodOptional<z.ZodObject<{
|
2251
2333
|
limit: z.ZodNumber;
|
@@ -2265,6 +2347,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2265
2347
|
}>>;
|
2266
2348
|
}, "strip", z.ZodTypeAny, {
|
2267
2349
|
users: Record<string, {
|
2350
|
+
lastUpdated: string;
|
2268
2351
|
endpoints: {
|
2269
2352
|
remaining: number;
|
2270
2353
|
limit: number;
|
@@ -2273,7 +2356,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2273
2356
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2274
2357
|
resetDate: string;
|
2275
2358
|
}[];
|
2276
|
-
lastUpdated: string;
|
2277
2359
|
}>;
|
2278
2360
|
app?: {
|
2279
2361
|
remaining: number;
|
@@ -2283,6 +2365,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2283
2365
|
} | undefined;
|
2284
2366
|
}, {
|
2285
2367
|
users: Record<string, {
|
2368
|
+
lastUpdated: string;
|
2286
2369
|
endpoints: {
|
2287
2370
|
remaining: number;
|
2288
2371
|
limit: number;
|
@@ -2291,7 +2374,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2291
2374
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2292
2375
|
resetDate: string;
|
2293
2376
|
}[];
|
2294
|
-
lastUpdated: string;
|
2295
2377
|
}>;
|
2296
2378
|
app?: {
|
2297
2379
|
remaining: number;
|
@@ -2303,6 +2385,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2303
2385
|
}, "strip", z.ZodTypeAny, {
|
2304
2386
|
platforms: Partial<Record<Platform, {
|
2305
2387
|
users: Record<string, {
|
2388
|
+
lastUpdated: string;
|
2306
2389
|
endpoints: {
|
2307
2390
|
remaining: number;
|
2308
2391
|
limit: number;
|
@@ -2311,7 +2394,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2311
2394
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2312
2395
|
resetDate: string;
|
2313
2396
|
}[];
|
2314
|
-
lastUpdated: string;
|
2315
2397
|
}>;
|
2316
2398
|
app?: {
|
2317
2399
|
remaining: number;
|
@@ -2323,6 +2405,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2323
2405
|
}, {
|
2324
2406
|
platforms: Partial<Record<Platform, {
|
2325
2407
|
users: Record<string, {
|
2408
|
+
lastUpdated: string;
|
2326
2409
|
endpoints: {
|
2327
2410
|
remaining: number;
|
2328
2411
|
limit: number;
|
@@ -2331,7 +2414,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2331
2414
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2332
2415
|
resetDate: string;
|
2333
2416
|
}[];
|
2334
|
-
lastUpdated: string;
|
2335
2417
|
}>;
|
2336
2418
|
app?: {
|
2337
2419
|
remaining: number;
|
@@ -3033,16 +3115,16 @@ declare const UserProfileSchema: z.ZodObject<{
|
|
3033
3115
|
platform: Platform;
|
3034
3116
|
userId: string;
|
3035
3117
|
username: string;
|
3036
|
-
lastUpdated: number;
|
3037
3118
|
profileImageUrl: string;
|
3119
|
+
lastUpdated: number;
|
3038
3120
|
url?: string | undefined;
|
3039
3121
|
isPremium?: boolean | undefined;
|
3040
3122
|
}, {
|
3041
3123
|
platform: Platform;
|
3042
3124
|
userId: string;
|
3043
3125
|
username: string;
|
3044
|
-
lastUpdated: number;
|
3045
3126
|
profileImageUrl: string;
|
3127
|
+
lastUpdated: number;
|
3046
3128
|
url?: string | undefined;
|
3047
3129
|
isPremium?: boolean | undefined;
|
3048
3130
|
}>;
|
@@ -3059,16 +3141,16 @@ declare const ProfileRefreshResponseSchema: z.ZodObject<{
|
|
3059
3141
|
platform: Platform;
|
3060
3142
|
userId: string;
|
3061
3143
|
username: string;
|
3062
|
-
lastUpdated: number;
|
3063
3144
|
profileImageUrl: string;
|
3145
|
+
lastUpdated: number;
|
3064
3146
|
url?: string | undefined;
|
3065
3147
|
isPremium?: boolean | undefined;
|
3066
3148
|
}, {
|
3067
3149
|
platform: Platform;
|
3068
3150
|
userId: string;
|
3069
3151
|
username: string;
|
3070
|
-
lastUpdated: number;
|
3071
3152
|
profileImageUrl: string;
|
3153
|
+
lastUpdated: number;
|
3072
3154
|
url?: string | undefined;
|
3073
3155
|
isPremium?: boolean | undefined;
|
3074
3156
|
}>>;
|
@@ -3077,8 +3159,8 @@ declare const ProfileRefreshResponseSchema: z.ZodObject<{
|
|
3077
3159
|
platform: Platform;
|
3078
3160
|
userId: string;
|
3079
3161
|
username: string;
|
3080
|
-
lastUpdated: number;
|
3081
3162
|
profileImageUrl: string;
|
3163
|
+
lastUpdated: number;
|
3082
3164
|
url?: string | undefined;
|
3083
3165
|
isPremium?: boolean | undefined;
|
3084
3166
|
} | undefined;
|
@@ -3087,8 +3169,8 @@ declare const ProfileRefreshResponseSchema: z.ZodObject<{
|
|
3087
3169
|
platform: Platform;
|
3088
3170
|
userId: string;
|
3089
3171
|
username: string;
|
3090
|
-
lastUpdated: number;
|
3091
3172
|
profileImageUrl: string;
|
3173
|
+
lastUpdated: number;
|
3092
3174
|
url?: string | undefined;
|
3093
3175
|
isPremium?: boolean | undefined;
|
3094
3176
|
} | undefined;
|
package/dist/index.d.ts
CHANGED
@@ -311,16 +311,10 @@ declare const AuthInitRequestSchema: z.ZodObject<{
|
|
311
311
|
}>;
|
312
312
|
declare const AuthUrlResponseSchema: z.ZodObject<{
|
313
313
|
url: z.ZodString;
|
314
|
-
state: z.ZodString;
|
315
|
-
platform: z.ZodNativeEnum<typeof Platform>;
|
316
314
|
}, "strip", z.ZodTypeAny, {
|
317
|
-
platform: Platform;
|
318
315
|
url: string;
|
319
|
-
state: string;
|
320
316
|
}, {
|
321
|
-
platform: Platform;
|
322
317
|
url: string;
|
323
|
-
state: string;
|
324
318
|
}>;
|
325
319
|
declare const AuthCallbackQuerySchema: z.ZodObject<{
|
326
320
|
code: z.ZodString;
|
@@ -421,57 +415,145 @@ declare const AuthRevokeResponseSchema: z.ZodObject<{
|
|
421
415
|
declare const ConnectedAccountSchema: z.ZodObject<{
|
422
416
|
platform: z.ZodNativeEnum<typeof Platform>;
|
423
417
|
userId: z.ZodString;
|
424
|
-
|
425
|
-
|
426
|
-
|
418
|
+
connectedAt: z.ZodString;
|
419
|
+
profile: z.ZodNullable<z.ZodObject<{
|
420
|
+
userId: z.ZodString;
|
421
|
+
username: z.ZodString;
|
422
|
+
url: z.ZodOptional<z.ZodString>;
|
423
|
+
profileImageUrl: z.ZodString;
|
424
|
+
isPremium: z.ZodOptional<z.ZodBoolean>;
|
425
|
+
platform: z.ZodNativeEnum<typeof Platform>;
|
426
|
+
lastUpdated: z.ZodNumber;
|
427
|
+
}, "strip", z.ZodTypeAny, {
|
428
|
+
platform: Platform;
|
429
|
+
userId: string;
|
430
|
+
username: string;
|
431
|
+
profileImageUrl: string;
|
432
|
+
lastUpdated: number;
|
433
|
+
url?: string | undefined;
|
434
|
+
isPremium?: boolean | undefined;
|
435
|
+
}, {
|
436
|
+
platform: Platform;
|
437
|
+
userId: string;
|
438
|
+
username: string;
|
439
|
+
profileImageUrl: string;
|
440
|
+
lastUpdated: number;
|
441
|
+
url?: string | undefined;
|
442
|
+
isPremium?: boolean | undefined;
|
443
|
+
}>>;
|
427
444
|
}, "strip", z.ZodTypeAny, {
|
428
445
|
platform: Platform;
|
429
446
|
userId: string;
|
430
|
-
|
431
|
-
|
432
|
-
|
447
|
+
profile: {
|
448
|
+
platform: Platform;
|
449
|
+
userId: string;
|
450
|
+
username: string;
|
451
|
+
profileImageUrl: string;
|
452
|
+
lastUpdated: number;
|
453
|
+
url?: string | undefined;
|
454
|
+
isPremium?: boolean | undefined;
|
455
|
+
} | null;
|
456
|
+
connectedAt: string;
|
433
457
|
}, {
|
434
458
|
platform: Platform;
|
435
459
|
userId: string;
|
436
|
-
|
437
|
-
|
438
|
-
|
460
|
+
profile: {
|
461
|
+
platform: Platform;
|
462
|
+
userId: string;
|
463
|
+
username: string;
|
464
|
+
profileImageUrl: string;
|
465
|
+
lastUpdated: number;
|
466
|
+
url?: string | undefined;
|
467
|
+
isPremium?: boolean | undefined;
|
468
|
+
} | null;
|
469
|
+
connectedAt: string;
|
439
470
|
}>;
|
440
471
|
declare const ConnectedAccountsResponseSchema: z.ZodObject<{
|
441
472
|
accounts: z.ZodArray<z.ZodObject<{
|
442
473
|
platform: z.ZodNativeEnum<typeof Platform>;
|
443
474
|
userId: z.ZodString;
|
444
|
-
|
445
|
-
|
446
|
-
|
475
|
+
connectedAt: z.ZodString;
|
476
|
+
profile: z.ZodNullable<z.ZodObject<{
|
477
|
+
userId: z.ZodString;
|
478
|
+
username: z.ZodString;
|
479
|
+
url: z.ZodOptional<z.ZodString>;
|
480
|
+
profileImageUrl: z.ZodString;
|
481
|
+
isPremium: z.ZodOptional<z.ZodBoolean>;
|
482
|
+
platform: z.ZodNativeEnum<typeof Platform>;
|
483
|
+
lastUpdated: z.ZodNumber;
|
484
|
+
}, "strip", z.ZodTypeAny, {
|
485
|
+
platform: Platform;
|
486
|
+
userId: string;
|
487
|
+
username: string;
|
488
|
+
profileImageUrl: string;
|
489
|
+
lastUpdated: number;
|
490
|
+
url?: string | undefined;
|
491
|
+
isPremium?: boolean | undefined;
|
492
|
+
}, {
|
493
|
+
platform: Platform;
|
494
|
+
userId: string;
|
495
|
+
username: string;
|
496
|
+
profileImageUrl: string;
|
497
|
+
lastUpdated: number;
|
498
|
+
url?: string | undefined;
|
499
|
+
isPremium?: boolean | undefined;
|
500
|
+
}>>;
|
447
501
|
}, "strip", z.ZodTypeAny, {
|
448
502
|
platform: Platform;
|
449
503
|
userId: string;
|
450
|
-
|
451
|
-
|
452
|
-
|
504
|
+
profile: {
|
505
|
+
platform: Platform;
|
506
|
+
userId: string;
|
507
|
+
username: string;
|
508
|
+
profileImageUrl: string;
|
509
|
+
lastUpdated: number;
|
510
|
+
url?: string | undefined;
|
511
|
+
isPremium?: boolean | undefined;
|
512
|
+
} | null;
|
513
|
+
connectedAt: string;
|
453
514
|
}, {
|
454
515
|
platform: Platform;
|
455
516
|
userId: string;
|
456
|
-
|
457
|
-
|
458
|
-
|
517
|
+
profile: {
|
518
|
+
platform: Platform;
|
519
|
+
userId: string;
|
520
|
+
username: string;
|
521
|
+
profileImageUrl: string;
|
522
|
+
lastUpdated: number;
|
523
|
+
url?: string | undefined;
|
524
|
+
isPremium?: boolean | undefined;
|
525
|
+
} | null;
|
526
|
+
connectedAt: string;
|
459
527
|
}>, "many">;
|
460
528
|
}, "strip", z.ZodTypeAny, {
|
461
529
|
accounts: {
|
462
530
|
platform: Platform;
|
463
531
|
userId: string;
|
464
|
-
|
465
|
-
|
466
|
-
|
532
|
+
profile: {
|
533
|
+
platform: Platform;
|
534
|
+
userId: string;
|
535
|
+
username: string;
|
536
|
+
profileImageUrl: string;
|
537
|
+
lastUpdated: number;
|
538
|
+
url?: string | undefined;
|
539
|
+
isPremium?: boolean | undefined;
|
540
|
+
} | null;
|
541
|
+
connectedAt: string;
|
467
542
|
}[];
|
468
543
|
}, {
|
469
544
|
accounts: {
|
470
545
|
platform: Platform;
|
471
546
|
userId: string;
|
472
|
-
|
473
|
-
|
474
|
-
|
547
|
+
profile: {
|
548
|
+
platform: Platform;
|
549
|
+
userId: string;
|
550
|
+
username: string;
|
551
|
+
profileImageUrl: string;
|
552
|
+
lastUpdated: number;
|
553
|
+
url?: string | undefined;
|
554
|
+
isPremium?: boolean | undefined;
|
555
|
+
} | null;
|
556
|
+
connectedAt: string;
|
475
557
|
}[];
|
476
558
|
}>;
|
477
559
|
declare const NearAuthorizationRequestSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
@@ -2227,6 +2309,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2227
2309
|
}>, "many">;
|
2228
2310
|
lastUpdated: z.ZodString;
|
2229
2311
|
}, "strip", z.ZodTypeAny, {
|
2312
|
+
lastUpdated: string;
|
2230
2313
|
endpoints: {
|
2231
2314
|
remaining: number;
|
2232
2315
|
limit: number;
|
@@ -2235,8 +2318,8 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2235
2318
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2236
2319
|
resetDate: string;
|
2237
2320
|
}[];
|
2238
|
-
lastUpdated: string;
|
2239
2321
|
}, {
|
2322
|
+
lastUpdated: string;
|
2240
2323
|
endpoints: {
|
2241
2324
|
remaining: number;
|
2242
2325
|
limit: number;
|
@@ -2245,7 +2328,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2245
2328
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2246
2329
|
resetDate: string;
|
2247
2330
|
}[];
|
2248
|
-
lastUpdated: string;
|
2249
2331
|
}>>;
|
2250
2332
|
app: z.ZodOptional<z.ZodObject<{
|
2251
2333
|
limit: z.ZodNumber;
|
@@ -2265,6 +2347,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2265
2347
|
}>>;
|
2266
2348
|
}, "strip", z.ZodTypeAny, {
|
2267
2349
|
users: Record<string, {
|
2350
|
+
lastUpdated: string;
|
2268
2351
|
endpoints: {
|
2269
2352
|
remaining: number;
|
2270
2353
|
limit: number;
|
@@ -2273,7 +2356,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2273
2356
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2274
2357
|
resetDate: string;
|
2275
2358
|
}[];
|
2276
|
-
lastUpdated: string;
|
2277
2359
|
}>;
|
2278
2360
|
app?: {
|
2279
2361
|
remaining: number;
|
@@ -2283,6 +2365,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2283
2365
|
} | undefined;
|
2284
2366
|
}, {
|
2285
2367
|
users: Record<string, {
|
2368
|
+
lastUpdated: string;
|
2286
2369
|
endpoints: {
|
2287
2370
|
remaining: number;
|
2288
2371
|
limit: number;
|
@@ -2291,7 +2374,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2291
2374
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2292
2375
|
resetDate: string;
|
2293
2376
|
}[];
|
2294
|
-
lastUpdated: string;
|
2295
2377
|
}>;
|
2296
2378
|
app?: {
|
2297
2379
|
remaining: number;
|
@@ -2303,6 +2385,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2303
2385
|
}, "strip", z.ZodTypeAny, {
|
2304
2386
|
platforms: Partial<Record<Platform, {
|
2305
2387
|
users: Record<string, {
|
2388
|
+
lastUpdated: string;
|
2306
2389
|
endpoints: {
|
2307
2390
|
remaining: number;
|
2308
2391
|
limit: number;
|
@@ -2311,7 +2394,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2311
2394
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2312
2395
|
resetDate: string;
|
2313
2396
|
}[];
|
2314
|
-
lastUpdated: string;
|
2315
2397
|
}>;
|
2316
2398
|
app?: {
|
2317
2399
|
remaining: number;
|
@@ -2323,6 +2405,7 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2323
2405
|
}, {
|
2324
2406
|
platforms: Partial<Record<Platform, {
|
2325
2407
|
users: Record<string, {
|
2408
|
+
lastUpdated: string;
|
2326
2409
|
endpoints: {
|
2327
2410
|
remaining: number;
|
2328
2411
|
limit: number;
|
@@ -2331,7 +2414,6 @@ declare const AllRateLimitsResponseSchema: z.ZodObject<{
|
|
2331
2414
|
method: "GET" | "POST" | "PUT" | "DELETE";
|
2332
2415
|
resetDate: string;
|
2333
2416
|
}[];
|
2334
|
-
lastUpdated: string;
|
2335
2417
|
}>;
|
2336
2418
|
app?: {
|
2337
2419
|
remaining: number;
|
@@ -3033,16 +3115,16 @@ declare const UserProfileSchema: z.ZodObject<{
|
|
3033
3115
|
platform: Platform;
|
3034
3116
|
userId: string;
|
3035
3117
|
username: string;
|
3036
|
-
lastUpdated: number;
|
3037
3118
|
profileImageUrl: string;
|
3119
|
+
lastUpdated: number;
|
3038
3120
|
url?: string | undefined;
|
3039
3121
|
isPremium?: boolean | undefined;
|
3040
3122
|
}, {
|
3041
3123
|
platform: Platform;
|
3042
3124
|
userId: string;
|
3043
3125
|
username: string;
|
3044
|
-
lastUpdated: number;
|
3045
3126
|
profileImageUrl: string;
|
3127
|
+
lastUpdated: number;
|
3046
3128
|
url?: string | undefined;
|
3047
3129
|
isPremium?: boolean | undefined;
|
3048
3130
|
}>;
|
@@ -3059,16 +3141,16 @@ declare const ProfileRefreshResponseSchema: z.ZodObject<{
|
|
3059
3141
|
platform: Platform;
|
3060
3142
|
userId: string;
|
3061
3143
|
username: string;
|
3062
|
-
lastUpdated: number;
|
3063
3144
|
profileImageUrl: string;
|
3145
|
+
lastUpdated: number;
|
3064
3146
|
url?: string | undefined;
|
3065
3147
|
isPremium?: boolean | undefined;
|
3066
3148
|
}, {
|
3067
3149
|
platform: Platform;
|
3068
3150
|
userId: string;
|
3069
3151
|
username: string;
|
3070
|
-
lastUpdated: number;
|
3071
3152
|
profileImageUrl: string;
|
3153
|
+
lastUpdated: number;
|
3072
3154
|
url?: string | undefined;
|
3073
3155
|
isPremium?: boolean | undefined;
|
3074
3156
|
}>>;
|
@@ -3077,8 +3159,8 @@ declare const ProfileRefreshResponseSchema: z.ZodObject<{
|
|
3077
3159
|
platform: Platform;
|
3078
3160
|
userId: string;
|
3079
3161
|
username: string;
|
3080
|
-
lastUpdated: number;
|
3081
3162
|
profileImageUrl: string;
|
3163
|
+
lastUpdated: number;
|
3082
3164
|
url?: string | undefined;
|
3083
3165
|
isPremium?: boolean | undefined;
|
3084
3166
|
} | undefined;
|
@@ -3087,8 +3169,8 @@ declare const ProfileRefreshResponseSchema: z.ZodObject<{
|
|
3087
3169
|
platform: Platform;
|
3088
3170
|
userId: string;
|
3089
3171
|
username: string;
|
3090
|
-
lastUpdated: number;
|
3091
3172
|
profileImageUrl: string;
|
3173
|
+
lastUpdated: number;
|
3092
3174
|
url?: string | undefined;
|
3093
3175
|
isPremium?: boolean | undefined;
|
3094
3176
|
} | undefined;
|