@fern-api/fdr-sdk 1.2.2-6c637610fb → 1.2.2-be0d74d1a9
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 +2 -11
- package/dist/js/client/FdrClient.js.map +1 -1
- package/dist/js/client/FdrClient.mjs +2 -11
- package/dist/js/client/FdrClient.mjs.map +1 -1
- package/dist/js/index.js +2 -11
- package/dist/js/index.js.map +1 -1
- package/dist/js/index.mjs +2 -11
- package/dist/js/index.mjs.map +1 -1
- package/dist/js/orpc-client.js +2 -13
- package/dist/js/orpc-client.js.map +1 -1
- package/dist/js/orpc-client.mjs +2 -12
- 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 +0 -54
- package/dist/types/orpc-client/docs-deployment/contract.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -8,7 +8,6 @@ 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>>;
|
|
12
11
|
status: z.ZodEnum<["PUBLISHING", "LIVE", "UNPUBLISHED", "ERROR"]>;
|
|
13
12
|
createdAt: z.ZodString;
|
|
14
13
|
updatedAt: z.ZodString;
|
|
@@ -22,7 +21,6 @@ export declare const DocsSiteSchema: z.ZodObject<{
|
|
|
22
21
|
createdAt: string;
|
|
23
22
|
previewUrl?: string | null | undefined;
|
|
24
23
|
postmanCollectionId?: string | null | undefined;
|
|
25
|
-
editorRepoUrl?: string | null | undefined;
|
|
26
24
|
}, {
|
|
27
25
|
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
28
26
|
id: string;
|
|
@@ -33,7 +31,6 @@ export declare const DocsSiteSchema: z.ZodObject<{
|
|
|
33
31
|
createdAt: string;
|
|
34
32
|
previewUrl?: string | null | undefined;
|
|
35
33
|
postmanCollectionId?: string | null | undefined;
|
|
36
|
-
editorRepoUrl?: string | null | undefined;
|
|
37
34
|
}>;
|
|
38
35
|
export type DocsSite = z.infer<typeof DocsSiteSchema>;
|
|
39
36
|
export declare const DocsDeploymentSchema: z.ZodObject<{
|
|
@@ -80,21 +77,18 @@ export declare const RegisterDocsSiteInputSchema: z.ZodObject<{
|
|
|
80
77
|
basepath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
81
78
|
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
82
79
|
postmanCollectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
|
-
editorRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
84
80
|
}, "strip", z.ZodTypeAny, {
|
|
85
81
|
orgId: string;
|
|
86
82
|
domain: string;
|
|
87
83
|
basepath?: string | null | undefined;
|
|
88
84
|
previewUrl?: string | null | undefined;
|
|
89
85
|
postmanCollectionId?: string | null | undefined;
|
|
90
|
-
editorRepoUrl?: string | null | undefined;
|
|
91
86
|
}, {
|
|
92
87
|
orgId: string;
|
|
93
88
|
domain: string;
|
|
94
89
|
basepath?: string | null | undefined;
|
|
95
90
|
previewUrl?: string | null | undefined;
|
|
96
91
|
postmanCollectionId?: string | null | undefined;
|
|
97
|
-
editorRepoUrl?: string | null | undefined;
|
|
98
92
|
}>;
|
|
99
93
|
export type RegisterDocsSiteInput = z.infer<typeof RegisterDocsSiteInputSchema>;
|
|
100
94
|
export declare const GetPostmanCollectionIdInputSchema: z.ZodObject<{
|
|
@@ -365,23 +359,6 @@ export declare const GetDocsSitesByCollectionIdResponseSchema: z.ZodObject<{
|
|
|
365
359
|
}[];
|
|
366
360
|
}>;
|
|
367
361
|
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>;
|
|
385
362
|
export declare const docsDeploymentContract: {
|
|
386
363
|
registerDocsSite: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
387
364
|
domain: z.ZodString;
|
|
@@ -389,21 +366,18 @@ export declare const docsDeploymentContract: {
|
|
|
389
366
|
basepath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
390
367
|
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
391
368
|
postmanCollectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
392
|
-
editorRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
393
369
|
}, "strip", z.ZodTypeAny, {
|
|
394
370
|
orgId: string;
|
|
395
371
|
domain: string;
|
|
396
372
|
basepath?: string | null | undefined;
|
|
397
373
|
previewUrl?: string | null | undefined;
|
|
398
374
|
postmanCollectionId?: string | null | undefined;
|
|
399
|
-
editorRepoUrl?: string | null | undefined;
|
|
400
375
|
}, {
|
|
401
376
|
orgId: string;
|
|
402
377
|
domain: string;
|
|
403
378
|
basepath?: string | null | undefined;
|
|
404
379
|
previewUrl?: string | null | undefined;
|
|
405
380
|
postmanCollectionId?: string | null | undefined;
|
|
406
|
-
editorRepoUrl?: string | null | undefined;
|
|
407
381
|
}>, z.ZodObject<{
|
|
408
382
|
id: z.ZodString;
|
|
409
383
|
orgId: z.ZodString;
|
|
@@ -411,7 +385,6 @@ export declare const docsDeploymentContract: {
|
|
|
411
385
|
basepath: z.ZodString;
|
|
412
386
|
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
413
387
|
postmanCollectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
414
|
-
editorRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
415
388
|
status: z.ZodEnum<["PUBLISHING", "LIVE", "UNPUBLISHED", "ERROR"]>;
|
|
416
389
|
createdAt: z.ZodString;
|
|
417
390
|
updatedAt: z.ZodString;
|
|
@@ -425,7 +398,6 @@ export declare const docsDeploymentContract: {
|
|
|
425
398
|
createdAt: string;
|
|
426
399
|
previewUrl?: string | null | undefined;
|
|
427
400
|
postmanCollectionId?: string | null | undefined;
|
|
428
|
-
editorRepoUrl?: string | null | undefined;
|
|
429
401
|
}, {
|
|
430
402
|
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
431
403
|
id: string;
|
|
@@ -436,7 +408,6 @@ export declare const docsDeploymentContract: {
|
|
|
436
408
|
createdAt: string;
|
|
437
409
|
previewUrl?: string | null | undefined;
|
|
438
410
|
postmanCollectionId?: string | null | undefined;
|
|
439
|
-
editorRepoUrl?: string | null | undefined;
|
|
440
411
|
}>, Record<never, never>, Record<never, never>>;
|
|
441
412
|
getDocsStatus: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
442
413
|
domain: z.ZodString;
|
|
@@ -476,7 +447,6 @@ export declare const docsDeploymentContract: {
|
|
|
476
447
|
basepath: z.ZodString;
|
|
477
448
|
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
478
449
|
postmanCollectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
479
|
-
editorRepoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
480
450
|
status: z.ZodEnum<["PUBLISHING", "LIVE", "UNPUBLISHED", "ERROR"]>;
|
|
481
451
|
createdAt: z.ZodString;
|
|
482
452
|
updatedAt: z.ZodString;
|
|
@@ -490,7 +460,6 @@ export declare const docsDeploymentContract: {
|
|
|
490
460
|
createdAt: string;
|
|
491
461
|
previewUrl?: string | null | undefined;
|
|
492
462
|
postmanCollectionId?: string | null | undefined;
|
|
493
|
-
editorRepoUrl?: string | null | undefined;
|
|
494
463
|
}, {
|
|
495
464
|
status: "PUBLISHING" | "LIVE" | "UNPUBLISHED" | "ERROR";
|
|
496
465
|
id: string;
|
|
@@ -501,7 +470,6 @@ export declare const docsDeploymentContract: {
|
|
|
501
470
|
createdAt: string;
|
|
502
471
|
previewUrl?: string | null | undefined;
|
|
503
472
|
postmanCollectionId?: string | null | undefined;
|
|
504
|
-
editorRepoUrl?: string | null | undefined;
|
|
505
473
|
}>, Record<never, never>, Record<never, never>>;
|
|
506
474
|
createDeployment: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
507
475
|
domain: z.ZodString;
|
|
@@ -717,27 +685,5 @@ export declare const docsDeploymentContract: {
|
|
|
717
685
|
basepath: string;
|
|
718
686
|
}[];
|
|
719
687
|
}>, 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>>;
|
|
742
688
|
};
|
|
743
689
|
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUzB,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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ClC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fern-api/fdr-sdk",
|
|
3
|
-
"version": "1.2.2-
|
|
3
|
+
"version": "1.2.2-be0d74d1a9",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/fern-api/fern-platform.git",
|
|
@@ -118,8 +118,8 @@
|
|
|
118
118
|
"tsup": "^8.5.1",
|
|
119
119
|
"typescript": "^5",
|
|
120
120
|
"vitest": "^4.1.3",
|
|
121
|
-
"@fern-
|
|
122
|
-
"@fern-
|
|
121
|
+
"@fern-api/snippets": "0.0.1",
|
|
122
|
+
"@fern-platform/configs": "0.1.0"
|
|
123
123
|
},
|
|
124
124
|
"scripts": {
|
|
125
125
|
"check-types": "tsc --noEmit",
|