@wireapp/api-client 27.93.0 → 27.94.1
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/lib/cells/CellsAPI.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RestCreateCheckResponse, RestDeleteVersionResponse, RestNode, RestNodeCollection, RestPerformActionResponse, RestPromoteVersionResponse, RestPublicLinkDeleteSuccess, RestShareLink,
|
|
2
|
-
import { Node } from './CellsAPI.schema';
|
|
1
|
+
import { RestCreateCheckResponse, RestDeleteVersionResponse, RestNode, RestNodeCollection, RestPerformActionResponse, RestPromoteVersionResponse, RestPublicLinkDeleteSuccess, RestShareLink, RestIncomingNode, RestNodeLocator, RestActionOptionsCopyMove, RestNamespaceValuesResponse, GetByUuidFlagsEnum } from 'cells-sdk-ts';
|
|
2
|
+
import { Node, NodeVersions } from './CellsAPI.schema';
|
|
3
3
|
import { CellsStorage } from './CellsStorage/CellsStorage';
|
|
4
4
|
import { AccessTokenStore } from '../auth';
|
|
5
5
|
import { HttpClient } from '../http';
|
|
@@ -71,9 +71,10 @@ export declare class CellsAPI {
|
|
|
71
71
|
lookupNodeByUuid({ uuid }: {
|
|
72
72
|
uuid: string;
|
|
73
73
|
}): Promise<RestNode | undefined>;
|
|
74
|
-
getNodeVersions({ uuid }: {
|
|
74
|
+
getNodeVersions({ uuid, flags }: {
|
|
75
75
|
uuid: string;
|
|
76
|
-
|
|
76
|
+
flags?: Array<GetByUuidFlagsEnum>;
|
|
77
|
+
}): Promise<NodeVersions>;
|
|
77
78
|
getNode({ id, flags }: {
|
|
78
79
|
id: string;
|
|
79
80
|
flags?: Array<GetByUuidFlagsEnum>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CellsAPI.d.ts","sourceRoot":"","sources":["../../src/cells/CellsAPI.ts"],"names":[],"mappings":"AAmBA,OAAO,EAGL,uBAAuB,EACvB,yBAAyB,EACzB,QAAQ,EACR,k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I,EAAE,MAAM,CAAA;KAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC;IAUlF,oBAAoB,CAAC,EAAC,IAAI,EAAE,KAAK,EAAC,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAC,GAAG,OAAO,CAAC,aAAa,CAAC;IAe3F,iBAAiB,CAAC,EAAC,IAAI,EAAC,EAAE;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,GAAG,OAAO,CAAC,aAAa,CAAC;IAUjE,UAAU,IAAI,OAAO,CAAC,2BAA2B,CAAC;IAUlD,WAAW,CAAC,EAAC,IAAI,EAAE,IAAI,EAAC,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,EAAE,CAAA;KAAC,GAAG,OAAO,CAAC,QAAQ,CAAC;IAiBlF,OAAO,CAAC,mBAAmB;CAG5B"}
|
package/lib/cells/CellsAPI.js
CHANGED
|
@@ -181,12 +181,16 @@ class CellsAPI {
|
|
|
181
181
|
}
|
|
182
182
|
return node;
|
|
183
183
|
}
|
|
184
|
-
async getNodeVersions({ uuid }) {
|
|
184
|
+
async getNodeVersions({ uuid, flags }) {
|
|
185
185
|
if (!this.client || !this.storageService) {
|
|
186
186
|
throw new Error(CONFIGURATION_ERROR);
|
|
187
187
|
}
|
|
188
|
-
const result = await this.client.nodeVersions(uuid, { FilterBy: 'VersionsAll' });
|
|
189
|
-
|
|
188
|
+
const result = await this.client.nodeVersions(uuid, { FilterBy: 'VersionsAll', Flags: flags });
|
|
189
|
+
const validation = CellsAPI_schema_1.RestNodeVersionsSchema.safeParse(result.data.Versions);
|
|
190
|
+
if (!validation.success) {
|
|
191
|
+
this.logger.warn('Get node versions response validation failed:', validation.error);
|
|
192
|
+
}
|
|
193
|
+
return result.data.Versions || [];
|
|
190
194
|
}
|
|
191
195
|
async getNode({ id, flags }) {
|
|
192
196
|
if (!this.client || !this.storageService) {
|
|
@@ -773,4 +773,168 @@ export declare const RestNodeSchema: z.ZodObject<{
|
|
|
773
773
|
}[] | undefined;
|
|
774
774
|
}>;
|
|
775
775
|
export type Node = z.infer<typeof RestNodeSchema>;
|
|
776
|
+
export declare const RestNodeVersionsSchema: z.ZodArray<z.ZodObject<{
|
|
777
|
+
ContentHash: z.ZodOptional<z.ZodString>;
|
|
778
|
+
Description: z.ZodOptional<z.ZodString>;
|
|
779
|
+
Draft: z.ZodOptional<z.ZodBoolean>;
|
|
780
|
+
ETag: z.ZodOptional<z.ZodString>;
|
|
781
|
+
EditorURLs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
782
|
+
ExpiresAt: z.ZodOptional<z.ZodString>;
|
|
783
|
+
Url: z.ZodOptional<z.ZodString>;
|
|
784
|
+
}, "strip", z.ZodTypeAny, {
|
|
785
|
+
ExpiresAt?: string | undefined;
|
|
786
|
+
Url?: string | undefined;
|
|
787
|
+
}, {
|
|
788
|
+
ExpiresAt?: string | undefined;
|
|
789
|
+
Url?: string | undefined;
|
|
790
|
+
}>>>;
|
|
791
|
+
EditorURLsKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
792
|
+
FilePreviews: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
793
|
+
Bucket: z.ZodOptional<z.ZodString>;
|
|
794
|
+
ContentType: z.ZodOptional<z.ZodString>;
|
|
795
|
+
Dimension: z.ZodOptional<z.ZodNumber>;
|
|
796
|
+
Error: z.ZodOptional<z.ZodBoolean>;
|
|
797
|
+
Key: z.ZodOptional<z.ZodString>;
|
|
798
|
+
PreSignedURL: z.ZodOptional<z.ZodObject<{
|
|
799
|
+
ExpiresAt: z.ZodOptional<z.ZodString>;
|
|
800
|
+
Url: z.ZodOptional<z.ZodString>;
|
|
801
|
+
}, "strip", z.ZodTypeAny, {
|
|
802
|
+
ExpiresAt?: string | undefined;
|
|
803
|
+
Url?: string | undefined;
|
|
804
|
+
}, {
|
|
805
|
+
ExpiresAt?: string | undefined;
|
|
806
|
+
Url?: string | undefined;
|
|
807
|
+
}>>;
|
|
808
|
+
PreSignedGET: z.ZodOptional<z.ZodObject<{
|
|
809
|
+
ExpiresAt: z.ZodOptional<z.ZodString>;
|
|
810
|
+
Url: z.ZodOptional<z.ZodString>;
|
|
811
|
+
}, "strip", z.ZodTypeAny, {
|
|
812
|
+
ExpiresAt?: string | undefined;
|
|
813
|
+
Url?: string | undefined;
|
|
814
|
+
}, {
|
|
815
|
+
ExpiresAt?: string | undefined;
|
|
816
|
+
Url?: string | undefined;
|
|
817
|
+
}>>;
|
|
818
|
+
Processing: z.ZodOptional<z.ZodBoolean>;
|
|
819
|
+
}, "strip", z.ZodTypeAny, {
|
|
820
|
+
Processing?: boolean | undefined;
|
|
821
|
+
Error?: boolean | undefined;
|
|
822
|
+
Bucket?: string | undefined;
|
|
823
|
+
ContentType?: string | undefined;
|
|
824
|
+
Dimension?: number | undefined;
|
|
825
|
+
Key?: string | undefined;
|
|
826
|
+
PreSignedURL?: {
|
|
827
|
+
ExpiresAt?: string | undefined;
|
|
828
|
+
Url?: string | undefined;
|
|
829
|
+
} | undefined;
|
|
830
|
+
PreSignedGET?: {
|
|
831
|
+
ExpiresAt?: string | undefined;
|
|
832
|
+
Url?: string | undefined;
|
|
833
|
+
} | undefined;
|
|
834
|
+
}, {
|
|
835
|
+
Processing?: boolean | undefined;
|
|
836
|
+
Error?: boolean | undefined;
|
|
837
|
+
Bucket?: string | undefined;
|
|
838
|
+
ContentType?: string | undefined;
|
|
839
|
+
Dimension?: number | undefined;
|
|
840
|
+
Key?: string | undefined;
|
|
841
|
+
PreSignedURL?: {
|
|
842
|
+
ExpiresAt?: string | undefined;
|
|
843
|
+
Url?: string | undefined;
|
|
844
|
+
} | undefined;
|
|
845
|
+
PreSignedGET?: {
|
|
846
|
+
ExpiresAt?: string | undefined;
|
|
847
|
+
Url?: string | undefined;
|
|
848
|
+
} | undefined;
|
|
849
|
+
}>, "many">>;
|
|
850
|
+
IsHead: z.ZodOptional<z.ZodBoolean>;
|
|
851
|
+
MTime: z.ZodOptional<z.ZodString>;
|
|
852
|
+
OwnerName: z.ZodOptional<z.ZodString>;
|
|
853
|
+
OwnerUuid: z.ZodOptional<z.ZodString>;
|
|
854
|
+
PreSignedGET: z.ZodOptional<z.ZodObject<{
|
|
855
|
+
ExpiresAt: z.ZodOptional<z.ZodString>;
|
|
856
|
+
Url: z.ZodOptional<z.ZodString>;
|
|
857
|
+
}, "strip", z.ZodTypeAny, {
|
|
858
|
+
ExpiresAt?: string | undefined;
|
|
859
|
+
Url?: string | undefined;
|
|
860
|
+
}, {
|
|
861
|
+
ExpiresAt?: string | undefined;
|
|
862
|
+
Url?: string | undefined;
|
|
863
|
+
}>>;
|
|
864
|
+
Size: z.ZodOptional<z.ZodString>;
|
|
865
|
+
VersionId: z.ZodString;
|
|
866
|
+
}, "strip", z.ZodTypeAny, {
|
|
867
|
+
VersionId: string;
|
|
868
|
+
Description?: string | undefined;
|
|
869
|
+
PreSignedGET?: {
|
|
870
|
+
ExpiresAt?: string | undefined;
|
|
871
|
+
Url?: string | undefined;
|
|
872
|
+
} | undefined;
|
|
873
|
+
IsHead?: boolean | undefined;
|
|
874
|
+
OwnerUuid?: string | undefined;
|
|
875
|
+
ContentHash?: string | undefined;
|
|
876
|
+
Draft?: boolean | undefined;
|
|
877
|
+
ETag?: string | undefined;
|
|
878
|
+
EditorURLs?: Record<string, {
|
|
879
|
+
ExpiresAt?: string | undefined;
|
|
880
|
+
Url?: string | undefined;
|
|
881
|
+
}> | undefined;
|
|
882
|
+
EditorURLsKeys?: string[] | undefined;
|
|
883
|
+
FilePreviews?: {
|
|
884
|
+
Processing?: boolean | undefined;
|
|
885
|
+
Error?: boolean | undefined;
|
|
886
|
+
Bucket?: string | undefined;
|
|
887
|
+
ContentType?: string | undefined;
|
|
888
|
+
Dimension?: number | undefined;
|
|
889
|
+
Key?: string | undefined;
|
|
890
|
+
PreSignedURL?: {
|
|
891
|
+
ExpiresAt?: string | undefined;
|
|
892
|
+
Url?: string | undefined;
|
|
893
|
+
} | undefined;
|
|
894
|
+
PreSignedGET?: {
|
|
895
|
+
ExpiresAt?: string | undefined;
|
|
896
|
+
Url?: string | undefined;
|
|
897
|
+
} | undefined;
|
|
898
|
+
}[] | undefined;
|
|
899
|
+
MTime?: string | undefined;
|
|
900
|
+
OwnerName?: string | undefined;
|
|
901
|
+
Size?: string | undefined;
|
|
902
|
+
}, {
|
|
903
|
+
VersionId: string;
|
|
904
|
+
Description?: string | undefined;
|
|
905
|
+
PreSignedGET?: {
|
|
906
|
+
ExpiresAt?: string | undefined;
|
|
907
|
+
Url?: string | undefined;
|
|
908
|
+
} | undefined;
|
|
909
|
+
IsHead?: boolean | undefined;
|
|
910
|
+
OwnerUuid?: string | undefined;
|
|
911
|
+
ContentHash?: string | undefined;
|
|
912
|
+
Draft?: boolean | undefined;
|
|
913
|
+
ETag?: string | undefined;
|
|
914
|
+
EditorURLs?: Record<string, {
|
|
915
|
+
ExpiresAt?: string | undefined;
|
|
916
|
+
Url?: string | undefined;
|
|
917
|
+
}> | undefined;
|
|
918
|
+
EditorURLsKeys?: string[] | undefined;
|
|
919
|
+
FilePreviews?: {
|
|
920
|
+
Processing?: boolean | undefined;
|
|
921
|
+
Error?: boolean | undefined;
|
|
922
|
+
Bucket?: string | undefined;
|
|
923
|
+
ContentType?: string | undefined;
|
|
924
|
+
Dimension?: number | undefined;
|
|
925
|
+
Key?: string | undefined;
|
|
926
|
+
PreSignedURL?: {
|
|
927
|
+
ExpiresAt?: string | undefined;
|
|
928
|
+
Url?: string | undefined;
|
|
929
|
+
} | undefined;
|
|
930
|
+
PreSignedGET?: {
|
|
931
|
+
ExpiresAt?: string | undefined;
|
|
932
|
+
Url?: string | undefined;
|
|
933
|
+
} | undefined;
|
|
934
|
+
}[] | undefined;
|
|
935
|
+
MTime?: string | undefined;
|
|
936
|
+
OwnerName?: string | undefined;
|
|
937
|
+
Size?: string | undefined;
|
|
938
|
+
}>, "many">;
|
|
939
|
+
export type NodeVersions = z.infer<typeof RestNodeVersionsSchema>;
|
|
776
940
|
//# sourceMappingURL=CellsAPI.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CellsAPI.schema.d.ts","sourceRoot":"","sources":["../../src/cells/CellsAPI.schema.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAyItB;;;GAGG;AACH,eAAO,MAAM,cAAc;IACzB,iBAAiB;;IAEjB,mBAAmB;;IAEnB,+BAA+B;;;;;;;;;;;IAE/B,mBAAmB;;IAEnB,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAExB,2BAA2B;;;;;;;;;;;IAE3B,kBAAkB;;;;;;;;;;;IAElB,uBAAuB;;IAEvB,sBAAsB;;;;;;;;;;;IAEtB,qBAAqB;;IAErB,qBAAqB;;;;;;;;;;;;;;;;;IAErB,yBAAyB;;IAEzB,oBAAoB;;IAEpB,0BAA0B;;IAE1B,uBAAuB;;IAEvB,eAAe;;;;;;;;;;;IAEf,4BAA4B;;IAE5B,6BAA6B;;IAE7B,gBAAgB;;IAEhB,yBAAyB;;;;;;;;;;;IAEzB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEpB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAElB,yBAAyB;;IAEzB,mBAAmB;;IAEnB,oBAAoB;;;;;;;;;;;;;;;;;;IAGpB,oBAAoB;;;;;;;;;;;;;;;;;IAEpB,gBAAgB;;IAEhB,uBAAuB;;;;;;;;;;;;;;;;;;;;IAEvB,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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/
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
-
exports.RestNodeSchema = void 0;
|
|
21
|
+
exports.RestNodeVersionsSchema = exports.RestNodeSchema = void 0;
|
|
22
22
|
const zod_1 = require("zod");
|
|
23
23
|
const ActivityObjectSchema = zod_1.z.lazy(() => zod_1.z.object({
|
|
24
24
|
'@context': zod_1.z.string().optional(),
|
|
@@ -201,3 +201,4 @@ exports.RestNodeSchema = zod_1.z.object({
|
|
|
201
201
|
/** Versions */
|
|
202
202
|
Versions: zod_1.z.array(RestVersionSchema).optional(),
|
|
203
203
|
});
|
|
204
|
+
exports.RestNodeVersionsSchema = zod_1.z.array(RestVersionSchema);
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@wireapp/protocol-messaging": "1.53.0",
|
|
21
21
|
"axios": "1.13.2",
|
|
22
22
|
"axios-retry": "4.5.0",
|
|
23
|
-
"cells-sdk-ts": "0.1.1-
|
|
23
|
+
"cells-sdk-ts": "0.1.1-alpha18",
|
|
24
24
|
"http-status-codes": "2.3.0",
|
|
25
25
|
"logdown": "3.3.1",
|
|
26
26
|
"pako": "2.1.0",
|
|
@@ -70,6 +70,6 @@
|
|
|
70
70
|
"watch": "webpack serve --config webpack.browser.js",
|
|
71
71
|
"prepare": "yarn dist"
|
|
72
72
|
},
|
|
73
|
-
"version": "27.
|
|
74
|
-
"gitHead": "
|
|
73
|
+
"version": "27.94.1",
|
|
74
|
+
"gitHead": "e9f35c1c1469e18f71d44099c87f905ad3baa813"
|
|
75
75
|
}
|