@fern-api/fdr-sdk 1.2.2-be0d74d1a9 → 1.2.2-ff12a55fa2
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 +11 -2
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +11 -2
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +11 -2
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +11 -2
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +13 -2
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +12 -2
- 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 +54 -0
- package/dist/types/orpc-client/docs-deployment/contract.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ export declare const DocsSiteSchema: z.ZodObject<{
|
|
|
8
8
|
basepath: z.ZodString;
|
|
9
9
|
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
postmanCollectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
editorRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
12
|
status: z.ZodEnum<["PUBLISHING", "LIVE", "UNPUBLISHED", "ERROR"]>;
|
|
12
13
|
createdAt: z.ZodString;
|
|
13
14
|
updatedAt: z.ZodString;
|
|
@@ -21,6 +22,7 @@ export declare const DocsSiteSchema: z.ZodObject<{
|
|
|
21
22
|
createdAt: string;
|
|
22
23
|
previewUrl?: string | null | undefined;
|
|
23
24
|
postmanCollectionId?: string | null | undefined;
|
|
25
|
+
editorRepoUrl?: string | null | undefined;
|
|
24
26
|
}, {
|
|
25
27
|
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
26
28
|
id: string;
|
|
@@ -31,6 +33,7 @@ export declare const DocsSiteSchema: z.ZodObject<{
|
|
|
31
33
|
createdAt: string;
|
|
32
34
|
previewUrl?: string | null | undefined;
|
|
33
35
|
postmanCollectionId?: string | null | undefined;
|
|
36
|
+
editorRepoUrl?: string | null | undefined;
|
|
34
37
|
}>;
|
|
35
38
|
export type DocsSite = z.infer<typeof DocsSiteSchema>;
|
|
36
39
|
export declare const DocsDeploymentSchema: z.ZodObject<{
|
|
@@ -77,18 +80,21 @@ export declare const RegisterDocsSiteInputSchema: z.ZodObject<{
|
|
|
77
80
|
basepath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
81
|
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
82
|
postmanCollectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
|
+
editorRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
84
|
}, "strip", z.ZodTypeAny, {
|
|
81
85
|
orgId: string;
|
|
82
86
|
domain: string;
|
|
83
87
|
basepath?: string | null | undefined;
|
|
84
88
|
previewUrl?: string | null | undefined;
|
|
85
89
|
postmanCollectionId?: string | null | undefined;
|
|
90
|
+
editorRepoUrl?: string | null | undefined;
|
|
86
91
|
}, {
|
|
87
92
|
orgId: string;
|
|
88
93
|
domain: string;
|
|
89
94
|
basepath?: string | null | undefined;
|
|
90
95
|
previewUrl?: string | null | undefined;
|
|
91
96
|
postmanCollectionId?: string | null | undefined;
|
|
97
|
+
editorRepoUrl?: string | null | undefined;
|
|
92
98
|
}>;
|
|
93
99
|
export type RegisterDocsSiteInput = z.infer<typeof RegisterDocsSiteInputSchema>;
|
|
94
100
|
export declare const GetPostmanCollectionIdInputSchema: z.ZodObject<{
|
|
@@ -359,6 +365,23 @@ export declare const GetDocsSitesByCollectionIdResponseSchema: z.ZodObject<{
|
|
|
359
365
|
}[];
|
|
360
366
|
}>;
|
|
361
367
|
export type GetDocsSitesByCollectionIdResponse = z.infer<typeof GetDocsSitesByCollectionIdResponseSchema>;
|
|
368
|
+
export declare const SetEditorRepoUrlInputSchema: z.ZodObject<{
|
|
369
|
+
orgId: z.ZodString;
|
|
370
|
+
domain: z.ZodString;
|
|
371
|
+
basepath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
372
|
+
editorRepoUrl: z.ZodNullable<z.ZodString>;
|
|
373
|
+
}, "strip", z.ZodTypeAny, {
|
|
374
|
+
orgId: string;
|
|
375
|
+
domain: string;
|
|
376
|
+
editorRepoUrl: string | null;
|
|
377
|
+
basepath?: string | null | undefined;
|
|
378
|
+
}, {
|
|
379
|
+
orgId: string;
|
|
380
|
+
domain: string;
|
|
381
|
+
editorRepoUrl: string | null;
|
|
382
|
+
basepath?: string | null | undefined;
|
|
383
|
+
}>;
|
|
384
|
+
export type SetEditorRepoUrlInput = z.infer<typeof SetEditorRepoUrlInputSchema>;
|
|
362
385
|
export declare const docsDeploymentContract: {
|
|
363
386
|
registerDocsSite: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
364
387
|
domain: z.ZodString;
|
|
@@ -366,18 +389,21 @@ export declare const docsDeploymentContract: {
|
|
|
366
389
|
basepath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
367
390
|
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
368
391
|
postmanCollectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
392
|
+
editorRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
369
393
|
}, "strip", z.ZodTypeAny, {
|
|
370
394
|
orgId: string;
|
|
371
395
|
domain: string;
|
|
372
396
|
basepath?: string | null | undefined;
|
|
373
397
|
previewUrl?: string | null | undefined;
|
|
374
398
|
postmanCollectionId?: string | null | undefined;
|
|
399
|
+
editorRepoUrl?: string | null | undefined;
|
|
375
400
|
}, {
|
|
376
401
|
orgId: string;
|
|
377
402
|
domain: string;
|
|
378
403
|
basepath?: string | null | undefined;
|
|
379
404
|
previewUrl?: string | null | undefined;
|
|
380
405
|
postmanCollectionId?: string | null | undefined;
|
|
406
|
+
editorRepoUrl?: string | null | undefined;
|
|
381
407
|
}>, z.ZodObject<{
|
|
382
408
|
id: z.ZodString;
|
|
383
409
|
orgId: z.ZodString;
|
|
@@ -385,6 +411,7 @@ export declare const docsDeploymentContract: {
|
|
|
385
411
|
basepath: z.ZodString;
|
|
386
412
|
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
387
413
|
postmanCollectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
414
|
+
editorRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
388
415
|
status: z.ZodEnum<["PUBLISHING", "LIVE", "UNPUBLISHED", "ERROR"]>;
|
|
389
416
|
createdAt: z.ZodString;
|
|
390
417
|
updatedAt: z.ZodString;
|
|
@@ -398,6 +425,7 @@ export declare const docsDeploymentContract: {
|
|
|
398
425
|
createdAt: string;
|
|
399
426
|
previewUrl?: string | null | undefined;
|
|
400
427
|
postmanCollectionId?: string | null | undefined;
|
|
428
|
+
editorRepoUrl?: string | null | undefined;
|
|
401
429
|
}, {
|
|
402
430
|
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
403
431
|
id: string;
|
|
@@ -408,6 +436,7 @@ export declare const docsDeploymentContract: {
|
|
|
408
436
|
createdAt: string;
|
|
409
437
|
previewUrl?: string | null | undefined;
|
|
410
438
|
postmanCollectionId?: string | null | undefined;
|
|
439
|
+
editorRepoUrl?: string | null | undefined;
|
|
411
440
|
}>, Record<never, never>, Record<never, never>>;
|
|
412
441
|
getDocsStatus: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
413
442
|
domain: z.ZodString;
|
|
@@ -447,6 +476,7 @@ export declare const docsDeploymentContract: {
|
|
|
447
476
|
basepath: z.ZodString;
|
|
448
477
|
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
449
478
|
postmanCollectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
479
|
+
editorRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
450
480
|
status: z.ZodEnum<["PUBLISHING", "LIVE", "UNPUBLISHED", "ERROR"]>;
|
|
451
481
|
createdAt: z.ZodString;
|
|
452
482
|
updatedAt: z.ZodString;
|
|
@@ -460,6 +490,7 @@ export declare const docsDeploymentContract: {
|
|
|
460
490
|
createdAt: string;
|
|
461
491
|
previewUrl?: string | null | undefined;
|
|
462
492
|
postmanCollectionId?: string | null | undefined;
|
|
493
|
+
editorRepoUrl?: string | null | undefined;
|
|
463
494
|
}, {
|
|
464
495
|
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
465
496
|
id: string;
|
|
@@ -470,6 +501,7 @@ export declare const docsDeploymentContract: {
|
|
|
470
501
|
createdAt: string;
|
|
471
502
|
previewUrl?: string | null | undefined;
|
|
472
503
|
postmanCollectionId?: string | null | undefined;
|
|
504
|
+
editorRepoUrl?: string | null | undefined;
|
|
473
505
|
}>, Record<never, never>, Record<never, never>>;
|
|
474
506
|
createDeployment: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
475
507
|
domain: z.ZodString;
|
|
@@ -685,5 +717,27 @@ export declare const docsDeploymentContract: {
|
|
|
685
717
|
basepath: string;
|
|
686
718
|
}[];
|
|
687
719
|
}>, Record<never, never>, Record<never, never>>;
|
|
720
|
+
setEditorRepoUrl: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
721
|
+
orgId: z.ZodString;
|
|
722
|
+
domain: z.ZodString;
|
|
723
|
+
basepath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
724
|
+
editorRepoUrl: z.ZodNullable<z.ZodString>;
|
|
725
|
+
}, "strip", z.ZodTypeAny, {
|
|
726
|
+
orgId: string;
|
|
727
|
+
domain: string;
|
|
728
|
+
editorRepoUrl: string | null;
|
|
729
|
+
basepath?: string | null | undefined;
|
|
730
|
+
}, {
|
|
731
|
+
orgId: string;
|
|
732
|
+
domain: string;
|
|
733
|
+
editorRepoUrl: string | null;
|
|
734
|
+
basepath?: string | null | undefined;
|
|
735
|
+
}>, z.ZodObject<{
|
|
736
|
+
success: z.ZodBoolean;
|
|
737
|
+
}, "strip", z.ZodTypeAny, {
|
|
738
|
+
success: boolean;
|
|
739
|
+
}, {
|
|
740
|
+
success: boolean;
|
|
741
|
+
}>, Record<never, never>, Record<never, never>>;
|
|
688
742
|
};
|
|
689
743
|
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWzB,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,KAA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