@fern-api/fdr-sdk 1.2.6-d82da730a6 → 1.2.7-0b72d1dfbd
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/js/client/FdrClient.js +26 -1
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +26 -1
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +26 -1
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +26 -1
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +32 -1
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +29 -1
- package/dist/js/orpc-client.mjs.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/orpc-client/docs-deployment/contract.d.ts +129 -0
- package/dist/types/orpc-client/docs-deployment/contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ export declare const DocsSiteSchema: z.ZodObject<{
|
|
|
9
9
|
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
postmanCollectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
editorRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
postmanLastNotifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
13
|
status: z.ZodEnum<["PUBLISHING", "LIVE", "UNPUBLISHED", "ERROR"]>;
|
|
13
14
|
createdAt: z.ZodString;
|
|
14
15
|
updatedAt: z.ZodString;
|
|
@@ -23,6 +24,7 @@ export declare const DocsSiteSchema: z.ZodObject<{
|
|
|
23
24
|
previewUrl?: string | null | undefined;
|
|
24
25
|
postmanCollectionId?: string | null | undefined;
|
|
25
26
|
editorRepoUrl?: string | null | undefined;
|
|
27
|
+
postmanLastNotifiedAt?: string | null | undefined;
|
|
26
28
|
}, {
|
|
27
29
|
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
28
30
|
id: string;
|
|
@@ -34,6 +36,7 @@ export declare const DocsSiteSchema: z.ZodObject<{
|
|
|
34
36
|
previewUrl?: string | null | undefined;
|
|
35
37
|
postmanCollectionId?: string | null | undefined;
|
|
36
38
|
editorRepoUrl?: string | null | undefined;
|
|
39
|
+
postmanLastNotifiedAt?: string | null | undefined;
|
|
37
40
|
}>;
|
|
38
41
|
export type DocsSite = z.infer<typeof DocsSiteSchema>;
|
|
39
42
|
export declare const DocsDeploymentSchema: z.ZodObject<{
|
|
@@ -371,6 +374,68 @@ export declare const FindSiteByOrgAndCollectionResponseSchema: z.ZodObject<{
|
|
|
371
374
|
}>;
|
|
372
375
|
export type FindSiteByOrgAndCollectionResponse = z.infer<typeof FindSiteByOrgAndCollectionResponseSchema>;
|
|
373
376
|
export type GetDocsSitesByCollectionIdInput = z.infer<typeof GetDocsSitesByCollectionIdInputSchema>;
|
|
377
|
+
export declare const RecordPostmanNotificationInputSchema: z.ZodObject<{
|
|
378
|
+
postmanCollectionId: z.ZodString;
|
|
379
|
+
}, "strip", z.ZodTypeAny, {
|
|
380
|
+
postmanCollectionId: string;
|
|
381
|
+
}, {
|
|
382
|
+
postmanCollectionId: string;
|
|
383
|
+
}>;
|
|
384
|
+
export type RecordPostmanNotificationInput = z.infer<typeof RecordPostmanNotificationInputSchema>;
|
|
385
|
+
export declare const RecordPostmanNotificationResponseSchema: z.ZodObject<{
|
|
386
|
+
success: z.ZodBoolean;
|
|
387
|
+
updatedCount: z.ZodNumber;
|
|
388
|
+
}, "strip", z.ZodTypeAny, {
|
|
389
|
+
success: boolean;
|
|
390
|
+
updatedCount: number;
|
|
391
|
+
}, {
|
|
392
|
+
success: boolean;
|
|
393
|
+
updatedCount: number;
|
|
394
|
+
}>;
|
|
395
|
+
export type RecordPostmanNotificationResponse = z.infer<typeof RecordPostmanNotificationResponseSchema>;
|
|
396
|
+
export declare const GetUnnotifiedPostmanSitesResponseSchema: z.ZodObject<{
|
|
397
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
398
|
+
domain: z.ZodString;
|
|
399
|
+
basepath: z.ZodString;
|
|
400
|
+
orgId: z.ZodString;
|
|
401
|
+
postmanCollectionId: z.ZodString;
|
|
402
|
+
status: z.ZodEnum<["PUBLISHING", "LIVE", "UNPUBLISHED", "ERROR"]>;
|
|
403
|
+
updatedAt: z.ZodString;
|
|
404
|
+
}, "strip", z.ZodTypeAny, {
|
|
405
|
+
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
406
|
+
orgId: string;
|
|
407
|
+
domain: string;
|
|
408
|
+
updatedAt: string;
|
|
409
|
+
basepath: string;
|
|
410
|
+
postmanCollectionId: string;
|
|
411
|
+
}, {
|
|
412
|
+
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
413
|
+
orgId: string;
|
|
414
|
+
domain: string;
|
|
415
|
+
updatedAt: string;
|
|
416
|
+
basepath: string;
|
|
417
|
+
postmanCollectionId: string;
|
|
418
|
+
}>, "many">;
|
|
419
|
+
}, "strip", z.ZodTypeAny, {
|
|
420
|
+
sites: {
|
|
421
|
+
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
422
|
+
orgId: string;
|
|
423
|
+
domain: string;
|
|
424
|
+
updatedAt: string;
|
|
425
|
+
basepath: string;
|
|
426
|
+
postmanCollectionId: string;
|
|
427
|
+
}[];
|
|
428
|
+
}, {
|
|
429
|
+
sites: {
|
|
430
|
+
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
431
|
+
orgId: string;
|
|
432
|
+
domain: string;
|
|
433
|
+
updatedAt: string;
|
|
434
|
+
basepath: string;
|
|
435
|
+
postmanCollectionId: string;
|
|
436
|
+
}[];
|
|
437
|
+
}>;
|
|
438
|
+
export type GetUnnotifiedPostmanSitesResponse = z.infer<typeof GetUnnotifiedPostmanSitesResponseSchema>;
|
|
374
439
|
export declare const GetDocsSitesByCollectionIdResponseSchema: z.ZodObject<{
|
|
375
440
|
sites: z.ZodArray<z.ZodObject<{
|
|
376
441
|
domain: z.ZodString;
|
|
@@ -451,6 +516,7 @@ export declare const docsDeploymentContract: {
|
|
|
451
516
|
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
452
517
|
postmanCollectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
453
518
|
editorRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
519
|
+
postmanLastNotifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
454
520
|
status: z.ZodEnum<["PUBLISHING", "LIVE", "UNPUBLISHED", "ERROR"]>;
|
|
455
521
|
createdAt: z.ZodString;
|
|
456
522
|
updatedAt: z.ZodString;
|
|
@@ -465,6 +531,7 @@ export declare const docsDeploymentContract: {
|
|
|
465
531
|
previewUrl?: string | null | undefined;
|
|
466
532
|
postmanCollectionId?: string | null | undefined;
|
|
467
533
|
editorRepoUrl?: string | null | undefined;
|
|
534
|
+
postmanLastNotifiedAt?: string | null | undefined;
|
|
468
535
|
}, {
|
|
469
536
|
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
470
537
|
id: string;
|
|
@@ -476,6 +543,7 @@ export declare const docsDeploymentContract: {
|
|
|
476
543
|
previewUrl?: string | null | undefined;
|
|
477
544
|
postmanCollectionId?: string | null | undefined;
|
|
478
545
|
editorRepoUrl?: string | null | undefined;
|
|
546
|
+
postmanLastNotifiedAt?: string | null | undefined;
|
|
479
547
|
}>, Record<never, never>, Record<never, never>>;
|
|
480
548
|
getDocsStatus: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
481
549
|
domain: z.ZodString;
|
|
@@ -516,6 +584,7 @@ export declare const docsDeploymentContract: {
|
|
|
516
584
|
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
517
585
|
postmanCollectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
518
586
|
editorRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
587
|
+
postmanLastNotifiedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
519
588
|
status: z.ZodEnum<["PUBLISHING", "LIVE", "UNPUBLISHED", "ERROR"]>;
|
|
520
589
|
createdAt: z.ZodString;
|
|
521
590
|
updatedAt: z.ZodString;
|
|
@@ -530,6 +599,7 @@ export declare const docsDeploymentContract: {
|
|
|
530
599
|
previewUrl?: string | null | undefined;
|
|
531
600
|
postmanCollectionId?: string | null | undefined;
|
|
532
601
|
editorRepoUrl?: string | null | undefined;
|
|
602
|
+
postmanLastNotifiedAt?: string | null | undefined;
|
|
533
603
|
}, {
|
|
534
604
|
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
535
605
|
id: string;
|
|
@@ -541,6 +611,7 @@ export declare const docsDeploymentContract: {
|
|
|
541
611
|
previewUrl?: string | null | undefined;
|
|
542
612
|
postmanCollectionId?: string | null | undefined;
|
|
543
613
|
editorRepoUrl?: string | null | undefined;
|
|
614
|
+
postmanLastNotifiedAt?: string | null | undefined;
|
|
544
615
|
}>, Record<never, never>, Record<never, never>>;
|
|
545
616
|
createDeployment: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
546
617
|
domain: z.ZodString;
|
|
@@ -814,5 +885,63 @@ export declare const docsDeploymentContract: {
|
|
|
814
885
|
basepath: string;
|
|
815
886
|
} | null;
|
|
816
887
|
}>, Record<never, never>, Record<never, never>>;
|
|
888
|
+
recordPostmanNotification: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
889
|
+
postmanCollectionId: z.ZodString;
|
|
890
|
+
}, "strip", z.ZodTypeAny, {
|
|
891
|
+
postmanCollectionId: string;
|
|
892
|
+
}, {
|
|
893
|
+
postmanCollectionId: string;
|
|
894
|
+
}>, z.ZodObject<{
|
|
895
|
+
success: z.ZodBoolean;
|
|
896
|
+
updatedCount: z.ZodNumber;
|
|
897
|
+
}, "strip", z.ZodTypeAny, {
|
|
898
|
+
success: boolean;
|
|
899
|
+
updatedCount: number;
|
|
900
|
+
}, {
|
|
901
|
+
success: boolean;
|
|
902
|
+
updatedCount: number;
|
|
903
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
904
|
+
getUnnotifiedPostmanSites: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
|
|
905
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
906
|
+
domain: z.ZodString;
|
|
907
|
+
basepath: z.ZodString;
|
|
908
|
+
orgId: z.ZodString;
|
|
909
|
+
postmanCollectionId: z.ZodString;
|
|
910
|
+
status: z.ZodEnum<["PUBLISHING", "LIVE", "UNPUBLISHED", "ERROR"]>;
|
|
911
|
+
updatedAt: z.ZodString;
|
|
912
|
+
}, "strip", z.ZodTypeAny, {
|
|
913
|
+
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
914
|
+
orgId: string;
|
|
915
|
+
domain: string;
|
|
916
|
+
updatedAt: string;
|
|
917
|
+
basepath: string;
|
|
918
|
+
postmanCollectionId: string;
|
|
919
|
+
}, {
|
|
920
|
+
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
921
|
+
orgId: string;
|
|
922
|
+
domain: string;
|
|
923
|
+
updatedAt: string;
|
|
924
|
+
basepath: string;
|
|
925
|
+
postmanCollectionId: string;
|
|
926
|
+
}>, "many">;
|
|
927
|
+
}, "strip", z.ZodTypeAny, {
|
|
928
|
+
sites: {
|
|
929
|
+
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
930
|
+
orgId: string;
|
|
931
|
+
domain: string;
|
|
932
|
+
updatedAt: string;
|
|
933
|
+
basepath: string;
|
|
934
|
+
postmanCollectionId: string;
|
|
935
|
+
}[];
|
|
936
|
+
}, {
|
|
937
|
+
sites: {
|
|
938
|
+
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
939
|
+
orgId: string;
|
|
940
|
+
domain: string;
|
|
941
|
+
updatedAt: string;
|
|
942
|
+
basepath: string;
|
|
943
|
+
postmanCollectionId: string;
|
|
944
|
+
}[];
|
|
945
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
817
946
|
};
|
|
818
947
|
//# sourceMappingURL=contract.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../src/orpc-client/docs-deployment/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,0BAA0B,2DAAyD,CAAC;AACjG,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAI9E,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"contract.d.ts","sourceRoot":"","sources":["../../../../src/orpc-client/docs-deployment/contract.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,0BAA0B,2DAAyD,CAAC;AACjG,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAI9E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAIlE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;EAOtC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