@wix/portfolio 1.0.70 → 1.0.72
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/build/cjs/context.d.ts +1 -0
- package/build/cjs/context.js +2 -1
- package/build/cjs/context.js.map +1 -1
- package/build/cjs/index.d.ts +1 -0
- package/build/cjs/index.js +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +2 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +1 -0
- package/build/es/context.js.map +1 -1
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +1 -0
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +1 -0
- package/build/es/meta.js.map +1 -1
- package/package.json +8 -8
- package/type-bundles/context.bundle.d.ts +529 -184
- package/type-bundles/index.bundle.d.ts +1419 -551
- package/type-bundles/meta.bundle.d.ts +479 -193
|
@@ -150,11 +150,11 @@ interface GetCollectionResponse$1 {
|
|
|
150
150
|
}
|
|
151
151
|
interface ListCollectionsRequest$1 {
|
|
152
152
|
/** Maximum limit per response is 100, in first request cursor is None */
|
|
153
|
-
paging?: CursorPaging$
|
|
153
|
+
paging?: CursorPaging$7;
|
|
154
154
|
/** Include page url */
|
|
155
155
|
includePageUrl?: boolean | null;
|
|
156
156
|
}
|
|
157
|
-
interface CursorPaging$
|
|
157
|
+
interface CursorPaging$7 {
|
|
158
158
|
/** Maximum number of items to return in the results. */
|
|
159
159
|
limit?: number | null;
|
|
160
160
|
/**
|
|
@@ -169,9 +169,9 @@ interface ListCollectionsResponse$1 {
|
|
|
169
169
|
/** Retrieved Collections */
|
|
170
170
|
collections?: Collection$1[];
|
|
171
171
|
/** Paging metadata */
|
|
172
|
-
metadata?: PagingMetadataV2$
|
|
172
|
+
metadata?: PagingMetadataV2$9;
|
|
173
173
|
}
|
|
174
|
-
interface PagingMetadataV2$
|
|
174
|
+
interface PagingMetadataV2$9 {
|
|
175
175
|
/** Number of items returned in the response. */
|
|
176
176
|
count?: number | null;
|
|
177
177
|
/** Offset that was requested. */
|
|
@@ -181,9 +181,9 @@ interface PagingMetadataV2$7 {
|
|
|
181
181
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
182
182
|
tooManyToCount?: boolean | null;
|
|
183
183
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
184
|
-
cursors?: Cursors$
|
|
184
|
+
cursors?: Cursors$9;
|
|
185
185
|
}
|
|
186
|
-
interface Cursors$
|
|
186
|
+
interface Cursors$9 {
|
|
187
187
|
/** Cursor string pointing to the next page in the list of results. */
|
|
188
188
|
next?: string | null;
|
|
189
189
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -215,7 +215,7 @@ interface QueryV2$5 extends QueryV2PagingMethodOneOf$5 {
|
|
|
215
215
|
/** Paging options to limit and skip the number of items. */
|
|
216
216
|
paging?: Paging$7;
|
|
217
217
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
218
|
-
cursorPaging?: CursorPaging$
|
|
218
|
+
cursorPaging?: CursorPaging$7;
|
|
219
219
|
/**
|
|
220
220
|
* Filter object in the following format:
|
|
221
221
|
* `"filter" : {
|
|
@@ -240,7 +240,7 @@ interface QueryV2PagingMethodOneOf$5 {
|
|
|
240
240
|
/** Paging options to limit and skip the number of items. */
|
|
241
241
|
paging?: Paging$7;
|
|
242
242
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
243
|
-
cursorPaging?: CursorPaging$
|
|
243
|
+
cursorPaging?: CursorPaging$7;
|
|
244
244
|
}
|
|
245
245
|
interface Sorting$5 {
|
|
246
246
|
/** Name of the field to sort by. */
|
|
@@ -262,7 +262,7 @@ interface QueryCollectionsResponse$1 {
|
|
|
262
262
|
/** The retrieved Collections */
|
|
263
263
|
collections?: Collection$1[];
|
|
264
264
|
/** Paging metadata */
|
|
265
|
-
metadata?: PagingMetadataV2$
|
|
265
|
+
metadata?: PagingMetadataV2$9;
|
|
266
266
|
}
|
|
267
267
|
interface CreateCollectionResponseNonNullableFields$1 {
|
|
268
268
|
collection?: {
|
|
@@ -567,11 +567,11 @@ interface GetCollectionResponse {
|
|
|
567
567
|
}
|
|
568
568
|
interface ListCollectionsRequest {
|
|
569
569
|
/** Maximum limit per response is 100, in first request cursor is None */
|
|
570
|
-
paging?: CursorPaging$
|
|
570
|
+
paging?: CursorPaging$6;
|
|
571
571
|
/** Include page url */
|
|
572
572
|
includePageUrl?: boolean | null;
|
|
573
573
|
}
|
|
574
|
-
interface CursorPaging$
|
|
574
|
+
interface CursorPaging$6 {
|
|
575
575
|
/** Maximum number of items to return in the results. */
|
|
576
576
|
limit?: number | null;
|
|
577
577
|
/**
|
|
@@ -586,9 +586,9 @@ interface ListCollectionsResponse {
|
|
|
586
586
|
/** Retrieved Collections */
|
|
587
587
|
collections?: Collection[];
|
|
588
588
|
/** Paging metadata */
|
|
589
|
-
metadata?: PagingMetadataV2$
|
|
589
|
+
metadata?: PagingMetadataV2$8;
|
|
590
590
|
}
|
|
591
|
-
interface PagingMetadataV2$
|
|
591
|
+
interface PagingMetadataV2$8 {
|
|
592
592
|
/** Number of items returned in the response. */
|
|
593
593
|
count?: number | null;
|
|
594
594
|
/** Offset that was requested. */
|
|
@@ -598,9 +598,9 @@ interface PagingMetadataV2$6 {
|
|
|
598
598
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
599
599
|
tooManyToCount?: boolean | null;
|
|
600
600
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
601
|
-
cursors?: Cursors$
|
|
601
|
+
cursors?: Cursors$8;
|
|
602
602
|
}
|
|
603
|
-
interface Cursors$
|
|
603
|
+
interface Cursors$8 {
|
|
604
604
|
/** Cursor string pointing to the next page in the list of results. */
|
|
605
605
|
next?: string | null;
|
|
606
606
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -632,7 +632,7 @@ interface QueryV2$4 extends QueryV2PagingMethodOneOf$4 {
|
|
|
632
632
|
/** Paging options to limit and skip the number of items. */
|
|
633
633
|
paging?: Paging$6;
|
|
634
634
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
635
|
-
cursorPaging?: CursorPaging$
|
|
635
|
+
cursorPaging?: CursorPaging$6;
|
|
636
636
|
/**
|
|
637
637
|
* Filter object in the following format:
|
|
638
638
|
* `"filter" : {
|
|
@@ -657,7 +657,7 @@ interface QueryV2PagingMethodOneOf$4 {
|
|
|
657
657
|
/** Paging options to limit and skip the number of items. */
|
|
658
658
|
paging?: Paging$6;
|
|
659
659
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
660
|
-
cursorPaging?: CursorPaging$
|
|
660
|
+
cursorPaging?: CursorPaging$6;
|
|
661
661
|
}
|
|
662
662
|
interface Sorting$4 {
|
|
663
663
|
/** Name of the field to sort by. */
|
|
@@ -679,7 +679,7 @@ interface QueryCollectionsResponse {
|
|
|
679
679
|
/** The retrieved Collections */
|
|
680
680
|
collections?: Collection[];
|
|
681
681
|
/** Paging metadata */
|
|
682
|
-
metadata?: PagingMetadataV2$
|
|
682
|
+
metadata?: PagingMetadataV2$8;
|
|
683
683
|
}
|
|
684
684
|
interface CreateCollectionResponseNonNullableFields {
|
|
685
685
|
collection?: {
|
|
@@ -820,7 +820,7 @@ interface QueryCollectionsResponseNonNullableFields {
|
|
|
820
820
|
}[];
|
|
821
821
|
}
|
|
822
822
|
|
|
823
|
-
type __PublicMethodMetaInfo$
|
|
823
|
+
type __PublicMethodMetaInfo$5<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
824
824
|
getUrl: (context: any) => string;
|
|
825
825
|
httpMethod: K;
|
|
826
826
|
path: string;
|
|
@@ -830,27 +830,27 @@ type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
830
830
|
__responseType: Q;
|
|
831
831
|
__originalResponseType: R;
|
|
832
832
|
};
|
|
833
|
-
declare function createCollection(): __PublicMethodMetaInfo$
|
|
834
|
-
declare function getCollection(): __PublicMethodMetaInfo$
|
|
833
|
+
declare function createCollection(): __PublicMethodMetaInfo$5<'POST', {}, CreateCollectionRequest, CreateCollectionRequest$1, CreateCollectionResponse & CreateCollectionResponseNonNullableFields, CreateCollectionResponse$1 & CreateCollectionResponseNonNullableFields$1>;
|
|
834
|
+
declare function getCollection(): __PublicMethodMetaInfo$5<'GET', {
|
|
835
835
|
collectionId: string;
|
|
836
836
|
}, GetCollectionRequest, GetCollectionRequest$1, GetCollectionResponse & GetCollectionResponseNonNullableFields, GetCollectionResponse$1 & GetCollectionResponseNonNullableFields$1>;
|
|
837
|
-
declare function listCollections(): __PublicMethodMetaInfo$
|
|
838
|
-
declare function updateCollection(): __PublicMethodMetaInfo$
|
|
837
|
+
declare function listCollections(): __PublicMethodMetaInfo$5<'GET', {}, ListCollectionsRequest, ListCollectionsRequest$1, ListCollectionsResponse & ListCollectionsResponseNonNullableFields, ListCollectionsResponse$1 & ListCollectionsResponseNonNullableFields$1>;
|
|
838
|
+
declare function updateCollection(): __PublicMethodMetaInfo$5<'PATCH', {
|
|
839
839
|
collectionId: string;
|
|
840
840
|
}, UpdateCollectionRequest, UpdateCollectionRequest$1, UpdateCollectionResponse & UpdateCollectionResponseNonNullableFields, UpdateCollectionResponse$1 & UpdateCollectionResponseNonNullableFields$1>;
|
|
841
|
-
declare function deleteCollection(): __PublicMethodMetaInfo$
|
|
841
|
+
declare function deleteCollection(): __PublicMethodMetaInfo$5<'DELETE', {
|
|
842
842
|
collectionId: string;
|
|
843
843
|
}, DeleteCollectionRequest, DeleteCollectionRequest$1, DeleteCollectionResponse & DeleteCollectionResponseNonNullableFields, DeleteCollectionResponse$1 & DeleteCollectionResponseNonNullableFields$1>;
|
|
844
|
-
declare function queryCollections(): __PublicMethodMetaInfo$
|
|
844
|
+
declare function queryCollections(): __PublicMethodMetaInfo$5<'POST', {}, QueryCollectionsRequest, QueryCollectionsRequest$1, QueryCollectionsResponse & QueryCollectionsResponseNonNullableFields, QueryCollectionsResponse$1 & QueryCollectionsResponseNonNullableFields$1>;
|
|
845
845
|
|
|
846
|
-
declare const meta$
|
|
847
|
-
declare const meta$
|
|
848
|
-
declare const meta$
|
|
849
|
-
declare const meta$
|
|
850
|
-
declare const meta$
|
|
851
|
-
declare const meta$
|
|
852
|
-
declare namespace meta$
|
|
853
|
-
export { type __PublicMethodMetaInfo$
|
|
846
|
+
declare const meta$5_createCollection: typeof createCollection;
|
|
847
|
+
declare const meta$5_deleteCollection: typeof deleteCollection;
|
|
848
|
+
declare const meta$5_getCollection: typeof getCollection;
|
|
849
|
+
declare const meta$5_listCollections: typeof listCollections;
|
|
850
|
+
declare const meta$5_queryCollections: typeof queryCollections;
|
|
851
|
+
declare const meta$5_updateCollection: typeof updateCollection;
|
|
852
|
+
declare namespace meta$5 {
|
|
853
|
+
export { type __PublicMethodMetaInfo$5 as __PublicMethodMetaInfo, meta$5_createCollection as createCollection, meta$5_deleteCollection as deleteCollection, meta$5_getCollection as getCollection, meta$5_listCollections as listCollections, meta$5_queryCollections as queryCollections, meta$5_updateCollection as updateCollection };
|
|
854
854
|
}
|
|
855
855
|
|
|
856
856
|
interface PortfolioSettings$1 {
|
|
@@ -1019,7 +1019,7 @@ interface UpdatePortfolioSettingsResponseNonNullableFields {
|
|
|
1019
1019
|
};
|
|
1020
1020
|
}
|
|
1021
1021
|
|
|
1022
|
-
type __PublicMethodMetaInfo$
|
|
1022
|
+
type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
1023
1023
|
getUrl: (context: any) => string;
|
|
1024
1024
|
httpMethod: K;
|
|
1025
1025
|
path: string;
|
|
@@ -1029,15 +1029,15 @@ type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
1029
1029
|
__responseType: Q;
|
|
1030
1030
|
__originalResponseType: R;
|
|
1031
1031
|
};
|
|
1032
|
-
declare function createPortfolioSettings(): __PublicMethodMetaInfo$
|
|
1033
|
-
declare function getPortfolioSettings(): __PublicMethodMetaInfo$
|
|
1034
|
-
declare function updatePortfolioSettings(): __PublicMethodMetaInfo$
|
|
1032
|
+
declare function createPortfolioSettings(): __PublicMethodMetaInfo$4<'POST', {}, CreatePortfolioSettingsRequest, CreatePortfolioSettingsRequest$1, CreatePortfolioSettingsResponse & CreatePortfolioSettingsResponseNonNullableFields, CreatePortfolioSettingsResponse$1 & CreatePortfolioSettingsResponseNonNullableFields$1>;
|
|
1033
|
+
declare function getPortfolioSettings(): __PublicMethodMetaInfo$4<'GET', {}, GetPortfolioSettingsRequest, GetPortfolioSettingsRequest$1, GetPortfolioSettingsResponse & GetPortfolioSettingsResponseNonNullableFields, GetPortfolioSettingsResponse$1 & GetPortfolioSettingsResponseNonNullableFields$1>;
|
|
1034
|
+
declare function updatePortfolioSettings(): __PublicMethodMetaInfo$4<'PATCH', {}, UpdatePortfolioSettingsRequest, UpdatePortfolioSettingsRequest$1, UpdatePortfolioSettingsResponse & UpdatePortfolioSettingsResponseNonNullableFields, UpdatePortfolioSettingsResponse$1 & UpdatePortfolioSettingsResponseNonNullableFields$1>;
|
|
1035
1035
|
|
|
1036
|
-
declare const meta$
|
|
1037
|
-
declare const meta$
|
|
1038
|
-
declare const meta$
|
|
1039
|
-
declare namespace meta$
|
|
1040
|
-
export { type __PublicMethodMetaInfo$
|
|
1036
|
+
declare const meta$4_createPortfolioSettings: typeof createPortfolioSettings;
|
|
1037
|
+
declare const meta$4_getPortfolioSettings: typeof getPortfolioSettings;
|
|
1038
|
+
declare const meta$4_updatePortfolioSettings: typeof updatePortfolioSettings;
|
|
1039
|
+
declare namespace meta$4 {
|
|
1040
|
+
export { type __PublicMethodMetaInfo$4 as __PublicMethodMetaInfo, meta$4_createPortfolioSettings as createPortfolioSettings, meta$4_getPortfolioSettings as getPortfolioSettings, meta$4_updatePortfolioSettings as updatePortfolioSettings };
|
|
1041
1041
|
}
|
|
1042
1042
|
|
|
1043
1043
|
/** ProjectItem is the main entity of ProjectItemsService */
|
|
@@ -1181,20 +1181,6 @@ interface Link$1 {
|
|
|
1181
1181
|
*/
|
|
1182
1182
|
target?: string | null;
|
|
1183
1183
|
}
|
|
1184
|
-
interface GenerateTokenForProjectItemsRequest$1 {
|
|
1185
|
-
/** Media ids of requested project items */
|
|
1186
|
-
mediaIds: string[];
|
|
1187
|
-
}
|
|
1188
|
-
interface GenerateTokenForProjectItemsResponse$1 {
|
|
1189
|
-
/** Generated media tokens for project items */
|
|
1190
|
-
mediaTokens?: ProjectItemMediaToken$1[];
|
|
1191
|
-
}
|
|
1192
|
-
interface ProjectItemMediaToken$1 {
|
|
1193
|
-
/** Media id of project item */
|
|
1194
|
-
mediaId?: string;
|
|
1195
|
-
/** Generated media token for project item */
|
|
1196
|
-
mediaToken?: string;
|
|
1197
|
-
}
|
|
1198
1184
|
interface CreateProjectItemRequest$1 {
|
|
1199
1185
|
/** Item to be created */
|
|
1200
1186
|
item: Item$1;
|
|
@@ -1273,11 +1259,11 @@ interface ListProjectItemsResponse$1 {
|
|
|
1273
1259
|
* Paging metadata
|
|
1274
1260
|
* @deprecated
|
|
1275
1261
|
*/
|
|
1276
|
-
pagingMetadataV2?: PagingMetadataV2$
|
|
1262
|
+
pagingMetadataV2?: PagingMetadataV2$7;
|
|
1277
1263
|
/** Paging metadata */
|
|
1278
|
-
metadata?: PagingMetadataV2$
|
|
1264
|
+
metadata?: PagingMetadataV2$7;
|
|
1279
1265
|
}
|
|
1280
|
-
interface PagingMetadataV2$
|
|
1266
|
+
interface PagingMetadataV2$7 {
|
|
1281
1267
|
/** Number of items returned in the response. */
|
|
1282
1268
|
count?: number | null;
|
|
1283
1269
|
/** Offset that was requested. */
|
|
@@ -1287,9 +1273,9 @@ interface PagingMetadataV2$5 {
|
|
|
1287
1273
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
1288
1274
|
tooManyToCount?: boolean | null;
|
|
1289
1275
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
1290
|
-
cursors?: Cursors$
|
|
1276
|
+
cursors?: Cursors$7;
|
|
1291
1277
|
}
|
|
1292
|
-
interface Cursors$
|
|
1278
|
+
interface Cursors$7 {
|
|
1293
1279
|
/** Cursor string pointing to the next page in the list of results. */
|
|
1294
1280
|
next?: string | null;
|
|
1295
1281
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -1363,12 +1349,6 @@ interface DuplicateProjectItemsResponse$1 {
|
|
|
1363
1349
|
/** Result metadata */
|
|
1364
1350
|
bulkActionMetadata?: BulkActionMetadata$3;
|
|
1365
1351
|
}
|
|
1366
|
-
interface GenerateTokenForProjectItemsResponseNonNullableFields$1 {
|
|
1367
|
-
mediaTokens: {
|
|
1368
|
-
mediaId: string;
|
|
1369
|
-
mediaToken: string;
|
|
1370
|
-
}[];
|
|
1371
|
-
}
|
|
1372
1352
|
interface CreateProjectItemResponseNonNullableFields$1 {
|
|
1373
1353
|
projectId: string;
|
|
1374
1354
|
item?: {
|
|
@@ -1800,20 +1780,6 @@ interface Link {
|
|
|
1800
1780
|
*/
|
|
1801
1781
|
target?: string | null;
|
|
1802
1782
|
}
|
|
1803
|
-
interface GenerateTokenForProjectItemsRequest {
|
|
1804
|
-
/** Media ids of requested project items */
|
|
1805
|
-
mediaIds: string[];
|
|
1806
|
-
}
|
|
1807
|
-
interface GenerateTokenForProjectItemsResponse {
|
|
1808
|
-
/** Generated media tokens for project items */
|
|
1809
|
-
mediaTokens?: ProjectItemMediaToken[];
|
|
1810
|
-
}
|
|
1811
|
-
interface ProjectItemMediaToken {
|
|
1812
|
-
/** Media id of project item */
|
|
1813
|
-
mediaId?: string;
|
|
1814
|
-
/** Generated media token for project item */
|
|
1815
|
-
mediaToken?: string;
|
|
1816
|
-
}
|
|
1817
1783
|
interface CreateProjectItemRequest {
|
|
1818
1784
|
/** Item to be created */
|
|
1819
1785
|
item: Item;
|
|
@@ -1892,11 +1858,11 @@ interface ListProjectItemsResponse {
|
|
|
1892
1858
|
* Paging metadata
|
|
1893
1859
|
* @deprecated
|
|
1894
1860
|
*/
|
|
1895
|
-
pagingMetadataV2?: PagingMetadataV2$
|
|
1861
|
+
pagingMetadataV2?: PagingMetadataV2$6;
|
|
1896
1862
|
/** Paging metadata */
|
|
1897
|
-
metadata?: PagingMetadataV2$
|
|
1863
|
+
metadata?: PagingMetadataV2$6;
|
|
1898
1864
|
}
|
|
1899
|
-
interface PagingMetadataV2$
|
|
1865
|
+
interface PagingMetadataV2$6 {
|
|
1900
1866
|
/** Number of items returned in the response. */
|
|
1901
1867
|
count?: number | null;
|
|
1902
1868
|
/** Offset that was requested. */
|
|
@@ -1906,9 +1872,9 @@ interface PagingMetadataV2$4 {
|
|
|
1906
1872
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
1907
1873
|
tooManyToCount?: boolean | null;
|
|
1908
1874
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
1909
|
-
cursors?: Cursors$
|
|
1875
|
+
cursors?: Cursors$6;
|
|
1910
1876
|
}
|
|
1911
|
-
interface Cursors$
|
|
1877
|
+
interface Cursors$6 {
|
|
1912
1878
|
/** Cursor string pointing to the next page in the list of results. */
|
|
1913
1879
|
next?: string | null;
|
|
1914
1880
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -1982,12 +1948,6 @@ interface DuplicateProjectItemsResponse {
|
|
|
1982
1948
|
/** Result metadata */
|
|
1983
1949
|
bulkActionMetadata?: BulkActionMetadata$2;
|
|
1984
1950
|
}
|
|
1985
|
-
interface GenerateTokenForProjectItemsResponseNonNullableFields {
|
|
1986
|
-
mediaTokens: {
|
|
1987
|
-
mediaId: string;
|
|
1988
|
-
mediaToken: string;
|
|
1989
|
-
}[];
|
|
1990
|
-
}
|
|
1991
1951
|
interface CreateProjectItemResponseNonNullableFields {
|
|
1992
1952
|
item?: {
|
|
1993
1953
|
image?: {
|
|
@@ -2139,7 +2099,7 @@ interface DuplicateProjectItemsResponseNonNullableFields {
|
|
|
2139
2099
|
};
|
|
2140
2100
|
}
|
|
2141
2101
|
|
|
2142
|
-
type __PublicMethodMetaInfo$
|
|
2102
|
+
type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2143
2103
|
getUrl: (context: any) => string;
|
|
2144
2104
|
httpMethod: K;
|
|
2145
2105
|
path: string;
|
|
@@ -2149,37 +2109,35 @@ type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
2149
2109
|
__responseType: Q;
|
|
2150
2110
|
__originalResponseType: R;
|
|
2151
2111
|
};
|
|
2152
|
-
declare function
|
|
2153
|
-
declare function
|
|
2154
|
-
declare function
|
|
2155
|
-
declare function getProjectItem(): __PublicMethodMetaInfo$2<'GET', {
|
|
2112
|
+
declare function createProjectItem(): __PublicMethodMetaInfo$3<'POST', {}, CreateProjectItemRequest, CreateProjectItemRequest$1, CreateProjectItemResponse & CreateProjectItemResponseNonNullableFields, CreateProjectItemResponse$1 & CreateProjectItemResponseNonNullableFields$1>;
|
|
2113
|
+
declare function bulkCreateProjectItems(): __PublicMethodMetaInfo$3<'POST', {}, BulkCreateProjectItemsRequest, BulkCreateProjectItemsRequest$1, BulkCreateProjectItemsResponse & BulkCreateProjectItemsResponseNonNullableFields, BulkCreateProjectItemsResponse$1 & BulkCreateProjectItemsResponseNonNullableFields$1>;
|
|
2114
|
+
declare function getProjectItem(): __PublicMethodMetaInfo$3<'GET', {
|
|
2156
2115
|
itemId: string;
|
|
2157
2116
|
}, GetProjectItemRequest, GetProjectItemRequest$1, GetProjectItemResponse & GetProjectItemResponseNonNullableFields, GetProjectItemResponse$1 & GetProjectItemResponseNonNullableFields$1>;
|
|
2158
|
-
declare function listProjectItems(): __PublicMethodMetaInfo$
|
|
2117
|
+
declare function listProjectItems(): __PublicMethodMetaInfo$3<'GET', {
|
|
2159
2118
|
projectId: string;
|
|
2160
2119
|
}, ListProjectItemsRequest, ListProjectItemsRequest$1, ListProjectItemsResponse & ListProjectItemsResponseNonNullableFields, ListProjectItemsResponse$1 & ListProjectItemsResponseNonNullableFields$1>;
|
|
2161
|
-
declare function updateProjectItem(): __PublicMethodMetaInfo$
|
|
2120
|
+
declare function updateProjectItem(): __PublicMethodMetaInfo$3<'PATCH', {
|
|
2162
2121
|
itemId: string;
|
|
2163
2122
|
}, UpdateProjectItemRequest, UpdateProjectItemRequest$1, UpdateProjectItemResponse & UpdateProjectItemResponseNonNullableFields, UpdateProjectItemResponse$1 & UpdateProjectItemResponseNonNullableFields$1>;
|
|
2164
|
-
declare function bulkUpdateProjectItems(): __PublicMethodMetaInfo$
|
|
2165
|
-
declare function deleteProjectItem(): __PublicMethodMetaInfo$
|
|
2123
|
+
declare function bulkUpdateProjectItems(): __PublicMethodMetaInfo$3<'PATCH', {}, BulkUpdateProjectItemsRequest, BulkUpdateProjectItemsRequest$1, BulkUpdateProjectItemsResponse & BulkUpdateProjectItemsResponseNonNullableFields, BulkUpdateProjectItemsResponse$1 & BulkUpdateProjectItemsResponseNonNullableFields$1>;
|
|
2124
|
+
declare function deleteProjectItem(): __PublicMethodMetaInfo$3<'DELETE', {
|
|
2166
2125
|
itemId: string;
|
|
2167
2126
|
}, DeleteProjectItemRequest, DeleteProjectItemRequest$1, DeleteProjectItemResponse & DeleteProjectItemResponseNonNullableFields, DeleteProjectItemResponse$1 & DeleteProjectItemResponseNonNullableFields$1>;
|
|
2168
|
-
declare function bulkDeleteProjectItems(): __PublicMethodMetaInfo$
|
|
2169
|
-
declare function duplicateProjectItems(): __PublicMethodMetaInfo$
|
|
2127
|
+
declare function bulkDeleteProjectItems(): __PublicMethodMetaInfo$3<'DELETE', {}, BulkDeleteProjectItemsRequest, BulkDeleteProjectItemsRequest$1, BulkDeleteProjectItemsResponse & BulkDeleteProjectItemsResponseNonNullableFields, BulkDeleteProjectItemsResponse$1 & BulkDeleteProjectItemsResponseNonNullableFields$1>;
|
|
2128
|
+
declare function duplicateProjectItems(): __PublicMethodMetaInfo$3<'POST', {}, DuplicateProjectItemsRequest, DuplicateProjectItemsRequest$1, DuplicateProjectItemsResponse & DuplicateProjectItemsResponseNonNullableFields, DuplicateProjectItemsResponse$1 & DuplicateProjectItemsResponseNonNullableFields$1>;
|
|
2170
2129
|
|
|
2171
|
-
declare const meta$
|
|
2172
|
-
declare const meta$
|
|
2173
|
-
declare const meta$
|
|
2174
|
-
declare const meta$
|
|
2175
|
-
declare const meta$
|
|
2176
|
-
declare const meta$
|
|
2177
|
-
declare const meta$
|
|
2178
|
-
declare const meta$
|
|
2179
|
-
declare const meta$
|
|
2180
|
-
declare
|
|
2181
|
-
|
|
2182
|
-
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_bulkCreateProjectItems as bulkCreateProjectItems, meta$2_bulkDeleteProjectItems as bulkDeleteProjectItems, meta$2_bulkUpdateProjectItems as bulkUpdateProjectItems, meta$2_createProjectItem as createProjectItem, meta$2_deleteProjectItem as deleteProjectItem, meta$2_duplicateProjectItems as duplicateProjectItems, meta$2_generateTokenForProjectItems as generateTokenForProjectItems, meta$2_getProjectItem as getProjectItem, meta$2_listProjectItems as listProjectItems, meta$2_updateProjectItem as updateProjectItem };
|
|
2130
|
+
declare const meta$3_bulkCreateProjectItems: typeof bulkCreateProjectItems;
|
|
2131
|
+
declare const meta$3_bulkDeleteProjectItems: typeof bulkDeleteProjectItems;
|
|
2132
|
+
declare const meta$3_bulkUpdateProjectItems: typeof bulkUpdateProjectItems;
|
|
2133
|
+
declare const meta$3_createProjectItem: typeof createProjectItem;
|
|
2134
|
+
declare const meta$3_deleteProjectItem: typeof deleteProjectItem;
|
|
2135
|
+
declare const meta$3_duplicateProjectItems: typeof duplicateProjectItems;
|
|
2136
|
+
declare const meta$3_getProjectItem: typeof getProjectItem;
|
|
2137
|
+
declare const meta$3_listProjectItems: typeof listProjectItems;
|
|
2138
|
+
declare const meta$3_updateProjectItem: typeof updateProjectItem;
|
|
2139
|
+
declare namespace meta$3 {
|
|
2140
|
+
export { type __PublicMethodMetaInfo$3 as __PublicMethodMetaInfo, meta$3_bulkCreateProjectItems as bulkCreateProjectItems, meta$3_bulkDeleteProjectItems as bulkDeleteProjectItems, meta$3_bulkUpdateProjectItems as bulkUpdateProjectItems, meta$3_createProjectItem as createProjectItem, meta$3_deleteProjectItem as deleteProjectItem, meta$3_duplicateProjectItems as duplicateProjectItems, meta$3_getProjectItem as getProjectItem, meta$3_listProjectItems as listProjectItems, meta$3_updateProjectItem as updateProjectItem };
|
|
2183
2141
|
}
|
|
2184
2142
|
|
|
2185
2143
|
/** Project is the main entity of ProjectsService */
|
|
@@ -2327,7 +2285,7 @@ interface DetailsLink$3 {
|
|
|
2327
2285
|
*/
|
|
2328
2286
|
target?: string | null;
|
|
2329
2287
|
}
|
|
2330
|
-
declare enum SyncStatus$
|
|
2288
|
+
declare enum SyncStatus$3 {
|
|
2331
2289
|
SYNCED = "SYNCED",
|
|
2332
2290
|
SYNCING = "SYNCING",
|
|
2333
2291
|
NOT_SYNCED = "NOT_SYNCED"
|
|
@@ -2428,11 +2386,11 @@ interface GetProjectResponse$1 {
|
|
|
2428
2386
|
}
|
|
2429
2387
|
interface ListProjectsRequest$1 {
|
|
2430
2388
|
/** Projects limit per response is maximum 100, In the first request the cursor is None */
|
|
2431
|
-
paging?: CursorPaging$
|
|
2389
|
+
paging?: CursorPaging$5;
|
|
2432
2390
|
/** Include page url */
|
|
2433
2391
|
includePageUrl?: boolean | null;
|
|
2434
2392
|
}
|
|
2435
|
-
interface CursorPaging$
|
|
2393
|
+
interface CursorPaging$5 {
|
|
2436
2394
|
/** Maximum number of items to return in the results. */
|
|
2437
2395
|
limit?: number | null;
|
|
2438
2396
|
/**
|
|
@@ -2447,9 +2405,9 @@ interface ListProjectsResponse$1 {
|
|
|
2447
2405
|
/** The retrieved Projects */
|
|
2448
2406
|
projects?: Project$3[];
|
|
2449
2407
|
/** Paging metadata */
|
|
2450
|
-
metadata?: PagingMetadataV2$
|
|
2408
|
+
metadata?: PagingMetadataV2$5;
|
|
2451
2409
|
}
|
|
2452
|
-
interface PagingMetadataV2$
|
|
2410
|
+
interface PagingMetadataV2$5 {
|
|
2453
2411
|
/** Number of items returned in the response. */
|
|
2454
2412
|
count?: number | null;
|
|
2455
2413
|
/** Offset that was requested. */
|
|
@@ -2459,9 +2417,9 @@ interface PagingMetadataV2$3 {
|
|
|
2459
2417
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
2460
2418
|
tooManyToCount?: boolean | null;
|
|
2461
2419
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
2462
|
-
cursors?: Cursors$
|
|
2420
|
+
cursors?: Cursors$5;
|
|
2463
2421
|
}
|
|
2464
|
-
interface Cursors$
|
|
2422
|
+
interface Cursors$5 {
|
|
2465
2423
|
/** Cursor string pointing to the next page in the list of results. */
|
|
2466
2424
|
next?: string | null;
|
|
2467
2425
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -2541,7 +2499,7 @@ interface QueryV2$3 extends QueryV2PagingMethodOneOf$3 {
|
|
|
2541
2499
|
/** Paging options to limit and skip the number of items. */
|
|
2542
2500
|
paging?: Paging$3;
|
|
2543
2501
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
2544
|
-
cursorPaging?: CursorPaging$
|
|
2502
|
+
cursorPaging?: CursorPaging$5;
|
|
2545
2503
|
/**
|
|
2546
2504
|
* Filter object in the following format:
|
|
2547
2505
|
* `"filter" : {
|
|
@@ -2566,7 +2524,7 @@ interface QueryV2PagingMethodOneOf$3 {
|
|
|
2566
2524
|
/** Paging options to limit and skip the number of items. */
|
|
2567
2525
|
paging?: Paging$3;
|
|
2568
2526
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
2569
|
-
cursorPaging?: CursorPaging$
|
|
2527
|
+
cursorPaging?: CursorPaging$5;
|
|
2570
2528
|
}
|
|
2571
2529
|
interface Sorting$3 {
|
|
2572
2530
|
/** Name of the field to sort by. */
|
|
@@ -2588,7 +2546,7 @@ interface QueryProjectsResponse$1 {
|
|
|
2588
2546
|
/** The retrieved Projects */
|
|
2589
2547
|
projects?: Project$3[];
|
|
2590
2548
|
/** Paging metadata */
|
|
2591
|
-
metadata?: PagingMetadataV2$
|
|
2549
|
+
metadata?: PagingMetadataV2$5;
|
|
2592
2550
|
}
|
|
2593
2551
|
interface UpdateProjectOrderInCollectionRequest$3 {
|
|
2594
2552
|
/** Id of the Project to update its order */
|
|
@@ -2620,7 +2578,7 @@ interface QueryProjectWithCollectionInfoResponse$1 {
|
|
|
2620
2578
|
/** The retrieved Projects in Collection */
|
|
2621
2579
|
projects?: ProjectInCollection$3[];
|
|
2622
2580
|
/** Paging metadata */
|
|
2623
|
-
metadata?: PagingMetadataV2$
|
|
2581
|
+
metadata?: PagingMetadataV2$5;
|
|
2624
2582
|
}
|
|
2625
2583
|
interface GetProjectPageDataResponseNonNullableFields$1 {
|
|
2626
2584
|
project?: {
|
|
@@ -2670,7 +2628,7 @@ interface GetProjectPageDataResponseNonNullableFields$1 {
|
|
|
2670
2628
|
appDefId: string;
|
|
2671
2629
|
externalId: string;
|
|
2672
2630
|
sourceName: string;
|
|
2673
|
-
syncStatus: SyncStatus$
|
|
2631
|
+
syncStatus: SyncStatus$3;
|
|
2674
2632
|
notEditableFields: string[];
|
|
2675
2633
|
};
|
|
2676
2634
|
url?: {
|
|
@@ -2749,7 +2707,7 @@ interface CreateProjectResponseNonNullableFields$1 {
|
|
|
2749
2707
|
appDefId: string;
|
|
2750
2708
|
externalId: string;
|
|
2751
2709
|
sourceName: string;
|
|
2752
|
-
syncStatus: SyncStatus$
|
|
2710
|
+
syncStatus: SyncStatus$3;
|
|
2753
2711
|
notEditableFields: string[];
|
|
2754
2712
|
};
|
|
2755
2713
|
url?: {
|
|
@@ -2820,7 +2778,7 @@ interface GetProjectResponseNonNullableFields$1 {
|
|
|
2820
2778
|
appDefId: string;
|
|
2821
2779
|
externalId: string;
|
|
2822
2780
|
sourceName: string;
|
|
2823
|
-
syncStatus: SyncStatus$
|
|
2781
|
+
syncStatus: SyncStatus$3;
|
|
2824
2782
|
notEditableFields: string[];
|
|
2825
2783
|
};
|
|
2826
2784
|
url?: {
|
|
@@ -2891,7 +2849,7 @@ interface ListProjectsResponseNonNullableFields$1 {
|
|
|
2891
2849
|
appDefId: string;
|
|
2892
2850
|
externalId: string;
|
|
2893
2851
|
sourceName: string;
|
|
2894
|
-
syncStatus: SyncStatus$
|
|
2852
|
+
syncStatus: SyncStatus$3;
|
|
2895
2853
|
notEditableFields: string[];
|
|
2896
2854
|
};
|
|
2897
2855
|
url?: {
|
|
@@ -2962,7 +2920,7 @@ interface UpdateProjectResponseNonNullableFields$1 {
|
|
|
2962
2920
|
appDefId: string;
|
|
2963
2921
|
externalId: string;
|
|
2964
2922
|
sourceName: string;
|
|
2965
|
-
syncStatus: SyncStatus$
|
|
2923
|
+
syncStatus: SyncStatus$3;
|
|
2966
2924
|
notEditableFields: string[];
|
|
2967
2925
|
};
|
|
2968
2926
|
url?: {
|
|
@@ -3042,7 +3000,7 @@ interface BulkUpdateProjectsResponseNonNullableFields$1 {
|
|
|
3042
3000
|
appDefId: string;
|
|
3043
3001
|
externalId: string;
|
|
3044
3002
|
sourceName: string;
|
|
3045
|
-
syncStatus: SyncStatus$
|
|
3003
|
+
syncStatus: SyncStatus$3;
|
|
3046
3004
|
notEditableFields: string[];
|
|
3047
3005
|
};
|
|
3048
3006
|
url?: {
|
|
@@ -3122,7 +3080,7 @@ interface QueryProjectsResponseNonNullableFields$1 {
|
|
|
3122
3080
|
appDefId: string;
|
|
3123
3081
|
externalId: string;
|
|
3124
3082
|
sourceName: string;
|
|
3125
|
-
syncStatus: SyncStatus$
|
|
3083
|
+
syncStatus: SyncStatus$3;
|
|
3126
3084
|
notEditableFields: string[];
|
|
3127
3085
|
};
|
|
3128
3086
|
url?: {
|
|
@@ -3195,7 +3153,7 @@ interface UpdateProjectOrderInCollectionResponseNonNullableFields$3 {
|
|
|
3195
3153
|
appDefId: string;
|
|
3196
3154
|
externalId: string;
|
|
3197
3155
|
sourceName: string;
|
|
3198
|
-
syncStatus: SyncStatus$
|
|
3156
|
+
syncStatus: SyncStatus$3;
|
|
3199
3157
|
notEditableFields: string[];
|
|
3200
3158
|
};
|
|
3201
3159
|
url?: {
|
|
@@ -3267,7 +3225,7 @@ interface UpdateProjectOrderInCollectionResponseNonNullableFields$3 {
|
|
|
3267
3225
|
appDefId: string;
|
|
3268
3226
|
externalId: string;
|
|
3269
3227
|
sourceName: string;
|
|
3270
|
-
syncStatus: SyncStatus$
|
|
3228
|
+
syncStatus: SyncStatus$3;
|
|
3271
3229
|
notEditableFields: string[];
|
|
3272
3230
|
};
|
|
3273
3231
|
url?: {
|
|
@@ -3341,7 +3299,7 @@ interface QueryProjectWithCollectionInfoResponseNonNullableFields$1 {
|
|
|
3341
3299
|
appDefId: string;
|
|
3342
3300
|
externalId: string;
|
|
3343
3301
|
sourceName: string;
|
|
3344
|
-
syncStatus: SyncStatus$
|
|
3302
|
+
syncStatus: SyncStatus$3;
|
|
3345
3303
|
notEditableFields: string[];
|
|
3346
3304
|
};
|
|
3347
3305
|
url?: {
|
|
@@ -3553,11 +3511,11 @@ interface GetProjectResponse {
|
|
|
3553
3511
|
}
|
|
3554
3512
|
interface ListProjectsRequest {
|
|
3555
3513
|
/** Projects limit per response is maximum 100, In the first request the cursor is None */
|
|
3556
|
-
paging?: CursorPaging$
|
|
3514
|
+
paging?: CursorPaging$4;
|
|
3557
3515
|
/** Include page url */
|
|
3558
3516
|
includePageUrl?: boolean | null;
|
|
3559
3517
|
}
|
|
3560
|
-
interface CursorPaging$
|
|
3518
|
+
interface CursorPaging$4 {
|
|
3561
3519
|
/** Maximum number of items to return in the results. */
|
|
3562
3520
|
limit?: number | null;
|
|
3563
3521
|
/**
|
|
@@ -3572,9 +3530,9 @@ interface ListProjectsResponse {
|
|
|
3572
3530
|
/** The retrieved Projects */
|
|
3573
3531
|
projects?: Project$2[];
|
|
3574
3532
|
/** Paging metadata */
|
|
3575
|
-
metadata?: PagingMetadataV2$
|
|
3533
|
+
metadata?: PagingMetadataV2$4;
|
|
3576
3534
|
}
|
|
3577
|
-
interface PagingMetadataV2$
|
|
3535
|
+
interface PagingMetadataV2$4 {
|
|
3578
3536
|
/** Number of items returned in the response. */
|
|
3579
3537
|
count?: number | null;
|
|
3580
3538
|
/** Offset that was requested. */
|
|
@@ -3584,9 +3542,9 @@ interface PagingMetadataV2$2 {
|
|
|
3584
3542
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
3585
3543
|
tooManyToCount?: boolean | null;
|
|
3586
3544
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
3587
|
-
cursors?: Cursors$
|
|
3545
|
+
cursors?: Cursors$4;
|
|
3588
3546
|
}
|
|
3589
|
-
interface Cursors$
|
|
3547
|
+
interface Cursors$4 {
|
|
3590
3548
|
/** Cursor string pointing to the next page in the list of results. */
|
|
3591
3549
|
next?: string | null;
|
|
3592
3550
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -3666,7 +3624,7 @@ interface QueryV2$2 extends QueryV2PagingMethodOneOf$2 {
|
|
|
3666
3624
|
/** Paging options to limit and skip the number of items. */
|
|
3667
3625
|
paging?: Paging$2;
|
|
3668
3626
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
3669
|
-
cursorPaging?: CursorPaging$
|
|
3627
|
+
cursorPaging?: CursorPaging$4;
|
|
3670
3628
|
/**
|
|
3671
3629
|
* Filter object in the following format:
|
|
3672
3630
|
* `"filter" : {
|
|
@@ -3691,7 +3649,7 @@ interface QueryV2PagingMethodOneOf$2 {
|
|
|
3691
3649
|
/** Paging options to limit and skip the number of items. */
|
|
3692
3650
|
paging?: Paging$2;
|
|
3693
3651
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
3694
|
-
cursorPaging?: CursorPaging$
|
|
3652
|
+
cursorPaging?: CursorPaging$4;
|
|
3695
3653
|
}
|
|
3696
3654
|
interface Sorting$2 {
|
|
3697
3655
|
/** Name of the field to sort by. */
|
|
@@ -3713,7 +3671,7 @@ interface QueryProjectsResponse {
|
|
|
3713
3671
|
/** The retrieved Projects */
|
|
3714
3672
|
projects?: Project$2[];
|
|
3715
3673
|
/** Paging metadata */
|
|
3716
|
-
metadata?: PagingMetadataV2$
|
|
3674
|
+
metadata?: PagingMetadataV2$4;
|
|
3717
3675
|
}
|
|
3718
3676
|
interface UpdateProjectOrderInCollectionRequest$2 {
|
|
3719
3677
|
/** Id of the Project to update its order */
|
|
@@ -3745,7 +3703,7 @@ interface QueryProjectWithCollectionInfoResponse {
|
|
|
3745
3703
|
/** The retrieved Projects in Collection */
|
|
3746
3704
|
projects?: ProjectInCollection$2[];
|
|
3747
3705
|
/** Paging metadata */
|
|
3748
|
-
metadata?: PagingMetadataV2$
|
|
3706
|
+
metadata?: PagingMetadataV2$4;
|
|
3749
3707
|
}
|
|
3750
3708
|
interface GetProjectPageDataResponseNonNullableFields {
|
|
3751
3709
|
project?: {
|
|
@@ -4095,7 +4053,7 @@ interface QueryProjectWithCollectionInfoResponseNonNullableFields {
|
|
|
4095
4053
|
}[];
|
|
4096
4054
|
}
|
|
4097
4055
|
|
|
4098
|
-
type __PublicMethodMetaInfo$
|
|
4056
|
+
type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4099
4057
|
getUrl: (context: any) => string;
|
|
4100
4058
|
httpMethod: K;
|
|
4101
4059
|
path: string;
|
|
@@ -4105,40 +4063,40 @@ type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown,
|
|
|
4105
4063
|
__responseType: Q;
|
|
4106
4064
|
__originalResponseType: R;
|
|
4107
4065
|
};
|
|
4108
|
-
declare function getProjectPageData(): __PublicMethodMetaInfo$
|
|
4066
|
+
declare function getProjectPageData(): __PublicMethodMetaInfo$2<'GET', {
|
|
4109
4067
|
collectionSlug: string;
|
|
4110
4068
|
projectSlug: string;
|
|
4111
4069
|
}, GetProjectPageDataRequest, GetProjectPageDataRequest$1, GetProjectPageDataResponse & GetProjectPageDataResponseNonNullableFields, GetProjectPageDataResponse$1 & GetProjectPageDataResponseNonNullableFields$1>;
|
|
4112
|
-
declare function createProject(): __PublicMethodMetaInfo$
|
|
4113
|
-
declare function getProject(): __PublicMethodMetaInfo$
|
|
4070
|
+
declare function createProject(): __PublicMethodMetaInfo$2<'POST', {}, CreateProjectRequest, CreateProjectRequest$1, CreateProjectResponse & CreateProjectResponseNonNullableFields, CreateProjectResponse$1 & CreateProjectResponseNonNullableFields$1>;
|
|
4071
|
+
declare function getProject(): __PublicMethodMetaInfo$2<'GET', {
|
|
4114
4072
|
projectId: string;
|
|
4115
4073
|
}, GetProjectRequest, GetProjectRequest$1, GetProjectResponse & GetProjectResponseNonNullableFields, GetProjectResponse$1 & GetProjectResponseNonNullableFields$1>;
|
|
4116
|
-
declare function listProjects(): __PublicMethodMetaInfo$
|
|
4117
|
-
declare function updateProject(): __PublicMethodMetaInfo$
|
|
4074
|
+
declare function listProjects(): __PublicMethodMetaInfo$2<'GET', {}, ListProjectsRequest, ListProjectsRequest$1, ListProjectsResponse & ListProjectsResponseNonNullableFields, ListProjectsResponse$1 & ListProjectsResponseNonNullableFields$1>;
|
|
4075
|
+
declare function updateProject(): __PublicMethodMetaInfo$2<'PATCH', {
|
|
4118
4076
|
projectId: string;
|
|
4119
4077
|
}, UpdateProjectRequest, UpdateProjectRequest$1, UpdateProjectResponse & UpdateProjectResponseNonNullableFields, UpdateProjectResponse$1 & UpdateProjectResponseNonNullableFields$1>;
|
|
4120
|
-
declare function bulkUpdateProjects(): __PublicMethodMetaInfo$
|
|
4121
|
-
declare function deleteProject(): __PublicMethodMetaInfo$
|
|
4078
|
+
declare function bulkUpdateProjects(): __PublicMethodMetaInfo$2<'PATCH', {}, BulkUpdateProjectsRequest, BulkUpdateProjectsRequest$1, BulkUpdateProjectsResponse & BulkUpdateProjectsResponseNonNullableFields, BulkUpdateProjectsResponse$1 & BulkUpdateProjectsResponseNonNullableFields$1>;
|
|
4079
|
+
declare function deleteProject(): __PublicMethodMetaInfo$2<'DELETE', {
|
|
4122
4080
|
projectId: string;
|
|
4123
4081
|
}, DeleteProjectRequest, DeleteProjectRequest$1, DeleteProjectResponse & DeleteProjectResponseNonNullableFields, DeleteProjectResponse$1 & DeleteProjectResponseNonNullableFields$1>;
|
|
4124
|
-
declare function queryProjects(): __PublicMethodMetaInfo$
|
|
4125
|
-
declare function updateProjectOrderInCollection$1(): __PublicMethodMetaInfo$
|
|
4082
|
+
declare function queryProjects(): __PublicMethodMetaInfo$2<'POST', {}, QueryProjectsRequest, QueryProjectsRequest$1, QueryProjectsResponse & QueryProjectsResponseNonNullableFields, QueryProjectsResponse$1 & QueryProjectsResponseNonNullableFields$1>;
|
|
4083
|
+
declare function updateProjectOrderInCollection$1(): __PublicMethodMetaInfo$2<'PATCH', {
|
|
4126
4084
|
projectId: string;
|
|
4127
4085
|
collectionId: string;
|
|
4128
4086
|
}, UpdateProjectOrderInCollectionRequest$2, UpdateProjectOrderInCollectionRequest$3, UpdateProjectOrderInCollectionResponse$2 & UpdateProjectOrderInCollectionResponseNonNullableFields$2, UpdateProjectOrderInCollectionResponse$3 & UpdateProjectOrderInCollectionResponseNonNullableFields$3>;
|
|
4129
|
-
declare function queryProjectsWithCollectionInfo(): __PublicMethodMetaInfo$
|
|
4087
|
+
declare function queryProjectsWithCollectionInfo(): __PublicMethodMetaInfo$2<'POST', {}, QueryProjectWithCollectionInfoRequest, QueryProjectWithCollectionInfoRequest$1, QueryProjectWithCollectionInfoResponse & QueryProjectWithCollectionInfoResponseNonNullableFields, QueryProjectWithCollectionInfoResponse$1 & QueryProjectWithCollectionInfoResponseNonNullableFields$1>;
|
|
4130
4088
|
|
|
4131
|
-
declare const meta$
|
|
4132
|
-
declare const meta$
|
|
4133
|
-
declare const meta$
|
|
4134
|
-
declare const meta$
|
|
4135
|
-
declare const meta$
|
|
4136
|
-
declare const meta$
|
|
4137
|
-
declare const meta$
|
|
4138
|
-
declare const meta$
|
|
4139
|
-
declare const meta$
|
|
4140
|
-
declare namespace meta$
|
|
4141
|
-
export { type __PublicMethodMetaInfo$
|
|
4089
|
+
declare const meta$2_bulkUpdateProjects: typeof bulkUpdateProjects;
|
|
4090
|
+
declare const meta$2_createProject: typeof createProject;
|
|
4091
|
+
declare const meta$2_deleteProject: typeof deleteProject;
|
|
4092
|
+
declare const meta$2_getProject: typeof getProject;
|
|
4093
|
+
declare const meta$2_getProjectPageData: typeof getProjectPageData;
|
|
4094
|
+
declare const meta$2_listProjects: typeof listProjects;
|
|
4095
|
+
declare const meta$2_queryProjects: typeof queryProjects;
|
|
4096
|
+
declare const meta$2_queryProjectsWithCollectionInfo: typeof queryProjectsWithCollectionInfo;
|
|
4097
|
+
declare const meta$2_updateProject: typeof updateProject;
|
|
4098
|
+
declare namespace meta$2 {
|
|
4099
|
+
export { type __PublicMethodMetaInfo$2 as __PublicMethodMetaInfo, meta$2_bulkUpdateProjects as bulkUpdateProjects, meta$2_createProject as createProject, meta$2_deleteProject as deleteProject, meta$2_getProject as getProject, meta$2_getProjectPageData as getProjectPageData, meta$2_listProjects as listProjects, meta$2_queryProjects as queryProjects, meta$2_queryProjectsWithCollectionInfo as queryProjectsWithCollectionInfo, meta$2_updateProject as updateProject, updateProjectOrderInCollection$1 as updateProjectOrderInCollection };
|
|
4142
4100
|
}
|
|
4143
4101
|
|
|
4144
4102
|
interface ProjectInCollection$1 {
|
|
@@ -4294,7 +4252,7 @@ interface DetailsLink$1 {
|
|
|
4294
4252
|
*/
|
|
4295
4253
|
target?: string | null;
|
|
4296
4254
|
}
|
|
4297
|
-
declare enum SyncStatus {
|
|
4255
|
+
declare enum SyncStatus$2 {
|
|
4298
4256
|
SYNCED = "SYNCED",
|
|
4299
4257
|
SYNCING = "SYNCING",
|
|
4300
4258
|
NOT_SYNCED = "NOT_SYNCED"
|
|
@@ -4365,7 +4323,7 @@ interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
|
|
|
4365
4323
|
/** Paging options to limit and skip the number of items. */
|
|
4366
4324
|
paging?: Paging$1;
|
|
4367
4325
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
4368
|
-
cursorPaging?: CursorPaging$
|
|
4326
|
+
cursorPaging?: CursorPaging$3;
|
|
4369
4327
|
/**
|
|
4370
4328
|
* Filter object in the following format:
|
|
4371
4329
|
* `"filter" : {
|
|
@@ -4390,7 +4348,7 @@ interface QueryV2PagingMethodOneOf$1 {
|
|
|
4390
4348
|
/** Paging options to limit and skip the number of items. */
|
|
4391
4349
|
paging?: Paging$1;
|
|
4392
4350
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
4393
|
-
cursorPaging?: CursorPaging$
|
|
4351
|
+
cursorPaging?: CursorPaging$3;
|
|
4394
4352
|
}
|
|
4395
4353
|
interface Sorting$1 {
|
|
4396
4354
|
/** Name of the field to sort by. */
|
|
@@ -4408,7 +4366,7 @@ interface Paging$1 {
|
|
|
4408
4366
|
/** Number of items to skip in the current sort order. */
|
|
4409
4367
|
offset?: number | null;
|
|
4410
4368
|
}
|
|
4411
|
-
interface CursorPaging$
|
|
4369
|
+
interface CursorPaging$3 {
|
|
4412
4370
|
/** Maximum number of items to return in the results. */
|
|
4413
4371
|
limit?: number | null;
|
|
4414
4372
|
/**
|
|
@@ -4423,9 +4381,9 @@ interface QueryProjectInCollectionsResponse$1 {
|
|
|
4423
4381
|
/** The retrieved Projects in Collections context */
|
|
4424
4382
|
projectInCollections?: ProjectInCollection$1[];
|
|
4425
4383
|
/** Paging metadata */
|
|
4426
|
-
metadata?: PagingMetadataV2$
|
|
4384
|
+
metadata?: PagingMetadataV2$3;
|
|
4427
4385
|
}
|
|
4428
|
-
interface PagingMetadataV2$
|
|
4386
|
+
interface PagingMetadataV2$3 {
|
|
4429
4387
|
/** Number of items returned in the response. */
|
|
4430
4388
|
count?: number | null;
|
|
4431
4389
|
/** Offset that was requested. */
|
|
@@ -4435,9 +4393,9 @@ interface PagingMetadataV2$1 {
|
|
|
4435
4393
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
4436
4394
|
tooManyToCount?: boolean | null;
|
|
4437
4395
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
4438
|
-
cursors?: Cursors$
|
|
4396
|
+
cursors?: Cursors$3;
|
|
4439
4397
|
}
|
|
4440
|
-
interface Cursors$
|
|
4398
|
+
interface Cursors$3 {
|
|
4441
4399
|
/** Cursor string pointing to the next page in the list of results. */
|
|
4442
4400
|
next?: string | null;
|
|
4443
4401
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -4505,7 +4463,7 @@ interface QueryProjectInCollectionsResponseNonNullableFields$1 {
|
|
|
4505
4463
|
appDefId: string;
|
|
4506
4464
|
externalId: string;
|
|
4507
4465
|
sourceName: string;
|
|
4508
|
-
syncStatus: SyncStatus;
|
|
4466
|
+
syncStatus: SyncStatus$2;
|
|
4509
4467
|
notEditableFields: string[];
|
|
4510
4468
|
};
|
|
4511
4469
|
url?: {
|
|
@@ -4579,7 +4537,7 @@ interface UpdateProjectOrderInCollectionResponseNonNullableFields$1 {
|
|
|
4579
4537
|
appDefId: string;
|
|
4580
4538
|
externalId: string;
|
|
4581
4539
|
sourceName: string;
|
|
4582
|
-
syncStatus: SyncStatus;
|
|
4540
|
+
syncStatus: SyncStatus$2;
|
|
4583
4541
|
notEditableFields: string[];
|
|
4584
4542
|
};
|
|
4585
4543
|
url?: {
|
|
@@ -4651,7 +4609,7 @@ interface UpdateProjectOrderInCollectionResponseNonNullableFields$1 {
|
|
|
4651
4609
|
appDefId: string;
|
|
4652
4610
|
externalId: string;
|
|
4653
4611
|
sourceName: string;
|
|
4654
|
-
syncStatus: SyncStatus;
|
|
4612
|
+
syncStatus: SyncStatus$2;
|
|
4655
4613
|
notEditableFields: string[];
|
|
4656
4614
|
};
|
|
4657
4615
|
url?: {
|
|
@@ -4841,7 +4799,7 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
4841
4799
|
/** Paging options to limit and skip the number of items. */
|
|
4842
4800
|
paging?: Paging;
|
|
4843
4801
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
4844
|
-
cursorPaging?: CursorPaging;
|
|
4802
|
+
cursorPaging?: CursorPaging$2;
|
|
4845
4803
|
/**
|
|
4846
4804
|
* Filter object in the following format:
|
|
4847
4805
|
* `"filter" : {
|
|
@@ -4866,7 +4824,7 @@ interface QueryV2PagingMethodOneOf {
|
|
|
4866
4824
|
/** Paging options to limit and skip the number of items. */
|
|
4867
4825
|
paging?: Paging;
|
|
4868
4826
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
4869
|
-
cursorPaging?: CursorPaging;
|
|
4827
|
+
cursorPaging?: CursorPaging$2;
|
|
4870
4828
|
}
|
|
4871
4829
|
interface Sorting {
|
|
4872
4830
|
/** Name of the field to sort by. */
|
|
@@ -4884,7 +4842,7 @@ interface Paging {
|
|
|
4884
4842
|
/** Number of items to skip in the current sort order. */
|
|
4885
4843
|
offset?: number | null;
|
|
4886
4844
|
}
|
|
4887
|
-
interface CursorPaging {
|
|
4845
|
+
interface CursorPaging$2 {
|
|
4888
4846
|
/** Maximum number of items to return in the results. */
|
|
4889
4847
|
limit?: number | null;
|
|
4890
4848
|
/**
|
|
@@ -4899,9 +4857,9 @@ interface QueryProjectInCollectionsResponse {
|
|
|
4899
4857
|
/** The retrieved Projects in Collections context */
|
|
4900
4858
|
projectInCollections?: ProjectInCollection[];
|
|
4901
4859
|
/** Paging metadata */
|
|
4902
|
-
metadata?: PagingMetadataV2;
|
|
4860
|
+
metadata?: PagingMetadataV2$2;
|
|
4903
4861
|
}
|
|
4904
|
-
interface PagingMetadataV2 {
|
|
4862
|
+
interface PagingMetadataV2$2 {
|
|
4905
4863
|
/** Number of items returned in the response. */
|
|
4906
4864
|
count?: number | null;
|
|
4907
4865
|
/** Offset that was requested. */
|
|
@@ -4911,9 +4869,9 @@ interface PagingMetadataV2 {
|
|
|
4911
4869
|
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
4912
4870
|
tooManyToCount?: boolean | null;
|
|
4913
4871
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
4914
|
-
cursors?: Cursors;
|
|
4872
|
+
cursors?: Cursors$2;
|
|
4915
4873
|
}
|
|
4916
|
-
interface Cursors {
|
|
4874
|
+
interface Cursors$2 {
|
|
4917
4875
|
/** Cursor string pointing to the next page in the list of results. */
|
|
4918
4876
|
next?: string | null;
|
|
4919
4877
|
/** Cursor pointing to the previous page in the list of results. */
|
|
@@ -5008,7 +4966,7 @@ interface UpdateProjectOrderInCollectionResponseNonNullableFields {
|
|
|
5008
4966
|
};
|
|
5009
4967
|
}
|
|
5010
4968
|
|
|
5011
|
-
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4969
|
+
type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
5012
4970
|
getUrl: (context: any) => string;
|
|
5013
4971
|
httpMethod: K;
|
|
5014
4972
|
path: string;
|
|
@@ -5018,17 +4976,345 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
|
|
|
5018
4976
|
__responseType: Q;
|
|
5019
4977
|
__originalResponseType: R;
|
|
5020
4978
|
};
|
|
5021
|
-
declare function queryProjectInCollections(): __PublicMethodMetaInfo<'POST', {}, QueryProjectInCollectionsRequest, QueryProjectInCollectionsRequest$1, QueryProjectInCollectionsResponse & QueryProjectInCollectionsResponseNonNullableFields, QueryProjectInCollectionsResponse$1 & QueryProjectInCollectionsResponseNonNullableFields$1>;
|
|
5022
|
-
declare function updateProjectOrderInCollection(): __PublicMethodMetaInfo<'PATCH', {
|
|
4979
|
+
declare function queryProjectInCollections(): __PublicMethodMetaInfo$1<'POST', {}, QueryProjectInCollectionsRequest, QueryProjectInCollectionsRequest$1, QueryProjectInCollectionsResponse & QueryProjectInCollectionsResponseNonNullableFields, QueryProjectInCollectionsResponse$1 & QueryProjectInCollectionsResponseNonNullableFields$1>;
|
|
4980
|
+
declare function updateProjectOrderInCollection(): __PublicMethodMetaInfo$1<'PATCH', {
|
|
5023
4981
|
projectId: string;
|
|
5024
4982
|
collectionId: string;
|
|
5025
4983
|
}, UpdateProjectOrderInCollectionRequest, UpdateProjectOrderInCollectionRequest$1, UpdateProjectOrderInCollectionResponse & UpdateProjectOrderInCollectionResponseNonNullableFields, UpdateProjectOrderInCollectionResponse$1 & UpdateProjectOrderInCollectionResponseNonNullableFields$1>;
|
|
5026
4984
|
|
|
4985
|
+
declare const meta$1_queryProjectInCollections: typeof queryProjectInCollections;
|
|
4986
|
+
declare const meta$1_updateProjectOrderInCollection: typeof updateProjectOrderInCollection;
|
|
4987
|
+
declare namespace meta$1 {
|
|
4988
|
+
export { type __PublicMethodMetaInfo$1 as __PublicMethodMetaInfo, meta$1_queryProjectInCollections as queryProjectInCollections, meta$1_updateProjectOrderInCollection as updateProjectOrderInCollection };
|
|
4989
|
+
}
|
|
4990
|
+
|
|
4991
|
+
interface SyncedProject$1 {
|
|
4992
|
+
/** Project ID in Portfolio - if project was yet to be create, will be None */
|
|
4993
|
+
portfolioProjectId?: string | null;
|
|
4994
|
+
/** External Project ID */
|
|
4995
|
+
externalId?: string;
|
|
4996
|
+
/** Project name */
|
|
4997
|
+
title?: string | null;
|
|
4998
|
+
/** google.protobuf.StringValue description = 4 [(wix.api.maxLength) = 1000]; // Project description */
|
|
4999
|
+
mediaCount?: number;
|
|
5000
|
+
/** project image url */
|
|
5001
|
+
coverImage?: string | null;
|
|
5002
|
+
/** project url in external */
|
|
5003
|
+
link?: string | null;
|
|
5004
|
+
/**
|
|
5005
|
+
* Represents the last time project was synced - returned only if external project is synced
|
|
5006
|
+
* @readonly
|
|
5007
|
+
*/
|
|
5008
|
+
lastSynced?: Date;
|
|
5009
|
+
/** External Project synced status */
|
|
5010
|
+
status?: SyncStatus$1;
|
|
5011
|
+
}
|
|
5012
|
+
declare enum SyncStatus$1 {
|
|
5013
|
+
/** Project was not synced */
|
|
5014
|
+
NOT_SYNCED = "NOT_SYNCED",
|
|
5015
|
+
/** Project is in pending state */
|
|
5016
|
+
PENDING = "PENDING",
|
|
5017
|
+
/** Project is in syncing state */
|
|
5018
|
+
SYNCING = "SYNCING",
|
|
5019
|
+
/** Project was synced */
|
|
5020
|
+
SYNCED = "SYNCED"
|
|
5021
|
+
}
|
|
5022
|
+
interface CursorPaging$1 {
|
|
5023
|
+
/** Maximum number of items to return in the results. */
|
|
5024
|
+
limit?: number | null;
|
|
5025
|
+
/**
|
|
5026
|
+
* Pointer to the next or previous page in the list of results.
|
|
5027
|
+
*
|
|
5028
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
5029
|
+
* Not relevant for the first request.
|
|
5030
|
+
*/
|
|
5031
|
+
cursor?: string | null;
|
|
5032
|
+
}
|
|
5033
|
+
interface SyncProjectRequest$1 {
|
|
5034
|
+
/** provider appDefId */
|
|
5035
|
+
appDefId: string;
|
|
5036
|
+
/** External Project ID */
|
|
5037
|
+
externalId: string;
|
|
5038
|
+
}
|
|
5039
|
+
interface GetProjectsRequest$1 {
|
|
5040
|
+
/** provider appDefId */
|
|
5041
|
+
appDefId: string;
|
|
5042
|
+
/** paging */
|
|
5043
|
+
paging?: CursorPaging$1;
|
|
5044
|
+
}
|
|
5045
|
+
interface GetProjectsResponse$1 {
|
|
5046
|
+
/** provider appDefId */
|
|
5047
|
+
projects?: SyncedProject$1[];
|
|
5048
|
+
/** Paging metadata */
|
|
5049
|
+
metadata?: PagingMetadataV2$1;
|
|
5050
|
+
}
|
|
5051
|
+
interface PagingMetadataV2$1 {
|
|
5052
|
+
/** Number of items returned in the response. */
|
|
5053
|
+
count?: number | null;
|
|
5054
|
+
/** Offset that was requested. */
|
|
5055
|
+
offset?: number | null;
|
|
5056
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
5057
|
+
total?: number | null;
|
|
5058
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
5059
|
+
tooManyToCount?: boolean | null;
|
|
5060
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
5061
|
+
cursors?: Cursors$1;
|
|
5062
|
+
}
|
|
5063
|
+
interface Cursors$1 {
|
|
5064
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
5065
|
+
next?: string | null;
|
|
5066
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
5067
|
+
prev?: string | null;
|
|
5068
|
+
}
|
|
5069
|
+
interface SyncProjectResponse$1 {
|
|
5070
|
+
/** Portfolio project */
|
|
5071
|
+
project?: SyncedProject$1;
|
|
5072
|
+
}
|
|
5073
|
+
interface GetSyncStatusRequest$1 {
|
|
5074
|
+
/** provider appDefId */
|
|
5075
|
+
appDefId: string;
|
|
5076
|
+
/** External Project ID */
|
|
5077
|
+
externalId: string;
|
|
5078
|
+
}
|
|
5079
|
+
interface GetSyncStatusResponse$1 {
|
|
5080
|
+
/** provider appDefId */
|
|
5081
|
+
appDefId?: string;
|
|
5082
|
+
/** External Project ID */
|
|
5083
|
+
externalId?: string;
|
|
5084
|
+
/** Synced status */
|
|
5085
|
+
status?: SyncStatus$1;
|
|
5086
|
+
}
|
|
5087
|
+
interface StopSyncRequest$1 {
|
|
5088
|
+
/** provider appDefId */
|
|
5089
|
+
appDefId: string;
|
|
5090
|
+
/** External Project ID */
|
|
5091
|
+
externalId: string;
|
|
5092
|
+
}
|
|
5093
|
+
interface StopSyncResponse$1 {
|
|
5094
|
+
/** provider appDefId */
|
|
5095
|
+
appDefId?: string;
|
|
5096
|
+
/** External Project ID */
|
|
5097
|
+
externalId?: string;
|
|
5098
|
+
}
|
|
5099
|
+
interface GetLoginRedirectableUrlRequest$1 {
|
|
5100
|
+
/** provider appDefId */
|
|
5101
|
+
appDefId: string;
|
|
5102
|
+
}
|
|
5103
|
+
interface GetLoginRedirectableUrlResponse$1 {
|
|
5104
|
+
/** provider appDefId */
|
|
5105
|
+
appDefId?: string;
|
|
5106
|
+
/** login url */
|
|
5107
|
+
url?: string;
|
|
5108
|
+
}
|
|
5109
|
+
interface GetProjectsResponseNonNullableFields$1 {
|
|
5110
|
+
projects: {
|
|
5111
|
+
externalId: string;
|
|
5112
|
+
mediaCount: number;
|
|
5113
|
+
status: SyncStatus$1;
|
|
5114
|
+
}[];
|
|
5115
|
+
}
|
|
5116
|
+
interface SyncProjectResponseNonNullableFields$1 {
|
|
5117
|
+
project?: {
|
|
5118
|
+
externalId: string;
|
|
5119
|
+
mediaCount: number;
|
|
5120
|
+
status: SyncStatus$1;
|
|
5121
|
+
};
|
|
5122
|
+
}
|
|
5123
|
+
interface GetSyncStatusResponseNonNullableFields$1 {
|
|
5124
|
+
appDefId: string;
|
|
5125
|
+
externalId: string;
|
|
5126
|
+
status: SyncStatus$1;
|
|
5127
|
+
}
|
|
5128
|
+
interface StopSyncResponseNonNullableFields$1 {
|
|
5129
|
+
appDefId: string;
|
|
5130
|
+
externalId: string;
|
|
5131
|
+
}
|
|
5132
|
+
interface GetLoginRedirectableUrlResponseNonNullableFields$1 {
|
|
5133
|
+
appDefId: string;
|
|
5134
|
+
url: string;
|
|
5135
|
+
}
|
|
5136
|
+
|
|
5137
|
+
interface SyncedProject {
|
|
5138
|
+
/** Project ID in Portfolio - if project was yet to be create, will be None */
|
|
5139
|
+
portfolioProjectId?: string | null;
|
|
5140
|
+
/** External Project ID */
|
|
5141
|
+
externalId?: string;
|
|
5142
|
+
/** Project name */
|
|
5143
|
+
title?: string | null;
|
|
5144
|
+
/** google.protobuf.StringValue description = 4 [(wix.api.maxLength) = 1000]; // Project description */
|
|
5145
|
+
mediaCount?: number;
|
|
5146
|
+
/** project image url */
|
|
5147
|
+
coverImage?: string | null;
|
|
5148
|
+
/** project url in external */
|
|
5149
|
+
link?: string | null;
|
|
5150
|
+
/**
|
|
5151
|
+
* Represents the last time project was synced - returned only if external project is synced
|
|
5152
|
+
* @readonly
|
|
5153
|
+
*/
|
|
5154
|
+
lastSynced?: Date;
|
|
5155
|
+
/** External Project synced status */
|
|
5156
|
+
status?: SyncStatus;
|
|
5157
|
+
}
|
|
5158
|
+
declare enum SyncStatus {
|
|
5159
|
+
/** Project was not synced */
|
|
5160
|
+
NOT_SYNCED = "NOT_SYNCED",
|
|
5161
|
+
/** Project is in pending state */
|
|
5162
|
+
PENDING = "PENDING",
|
|
5163
|
+
/** Project is in syncing state */
|
|
5164
|
+
SYNCING = "SYNCING",
|
|
5165
|
+
/** Project was synced */
|
|
5166
|
+
SYNCED = "SYNCED"
|
|
5167
|
+
}
|
|
5168
|
+
interface CursorPaging {
|
|
5169
|
+
/** Maximum number of items to return in the results. */
|
|
5170
|
+
limit?: number | null;
|
|
5171
|
+
/**
|
|
5172
|
+
* Pointer to the next or previous page in the list of results.
|
|
5173
|
+
*
|
|
5174
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
5175
|
+
* Not relevant for the first request.
|
|
5176
|
+
*/
|
|
5177
|
+
cursor?: string | null;
|
|
5178
|
+
}
|
|
5179
|
+
interface SyncProjectRequest {
|
|
5180
|
+
/** provider appDefId */
|
|
5181
|
+
appDefId: string;
|
|
5182
|
+
/** External Project ID */
|
|
5183
|
+
externalId: string;
|
|
5184
|
+
}
|
|
5185
|
+
interface GetProjectsRequest {
|
|
5186
|
+
/** provider appDefId */
|
|
5187
|
+
appDefId: string;
|
|
5188
|
+
/** paging */
|
|
5189
|
+
paging?: CursorPaging;
|
|
5190
|
+
}
|
|
5191
|
+
interface GetProjectsResponse {
|
|
5192
|
+
/** provider appDefId */
|
|
5193
|
+
projects?: SyncedProject[];
|
|
5194
|
+
/** Paging metadata */
|
|
5195
|
+
metadata?: PagingMetadataV2;
|
|
5196
|
+
}
|
|
5197
|
+
interface PagingMetadataV2 {
|
|
5198
|
+
/** Number of items returned in the response. */
|
|
5199
|
+
count?: number | null;
|
|
5200
|
+
/** Offset that was requested. */
|
|
5201
|
+
offset?: number | null;
|
|
5202
|
+
/** Total number of items that match the query. Returned if offset paging is used and the `tooManyToCount` flag is not set. */
|
|
5203
|
+
total?: number | null;
|
|
5204
|
+
/** Flag that indicates the server failed to calculate the `total` field. */
|
|
5205
|
+
tooManyToCount?: boolean | null;
|
|
5206
|
+
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
|
5207
|
+
cursors?: Cursors;
|
|
5208
|
+
}
|
|
5209
|
+
interface Cursors {
|
|
5210
|
+
/** Cursor string pointing to the next page in the list of results. */
|
|
5211
|
+
next?: string | null;
|
|
5212
|
+
/** Cursor pointing to the previous page in the list of results. */
|
|
5213
|
+
prev?: string | null;
|
|
5214
|
+
}
|
|
5215
|
+
interface SyncProjectResponse {
|
|
5216
|
+
/** Portfolio project */
|
|
5217
|
+
project?: SyncedProject;
|
|
5218
|
+
}
|
|
5219
|
+
interface GetSyncStatusRequest {
|
|
5220
|
+
/** provider appDefId */
|
|
5221
|
+
appDefId: string;
|
|
5222
|
+
/** External Project ID */
|
|
5223
|
+
externalId: string;
|
|
5224
|
+
}
|
|
5225
|
+
interface GetSyncStatusResponse {
|
|
5226
|
+
/** provider appDefId */
|
|
5227
|
+
appDefId?: string;
|
|
5228
|
+
/** External Project ID */
|
|
5229
|
+
externalId?: string;
|
|
5230
|
+
/** Synced status */
|
|
5231
|
+
status?: SyncStatus;
|
|
5232
|
+
}
|
|
5233
|
+
interface StopSyncRequest {
|
|
5234
|
+
/** provider appDefId */
|
|
5235
|
+
appDefId: string;
|
|
5236
|
+
/** External Project ID */
|
|
5237
|
+
externalId: string;
|
|
5238
|
+
}
|
|
5239
|
+
interface StopSyncResponse {
|
|
5240
|
+
/** provider appDefId */
|
|
5241
|
+
appDefId?: string;
|
|
5242
|
+
/** External Project ID */
|
|
5243
|
+
externalId?: string;
|
|
5244
|
+
}
|
|
5245
|
+
interface GetLoginRedirectableUrlRequest {
|
|
5246
|
+
/** provider appDefId */
|
|
5247
|
+
appDefId: string;
|
|
5248
|
+
}
|
|
5249
|
+
interface GetLoginRedirectableUrlResponse {
|
|
5250
|
+
/** provider appDefId */
|
|
5251
|
+
appDefId?: string;
|
|
5252
|
+
/** login url */
|
|
5253
|
+
url?: string;
|
|
5254
|
+
}
|
|
5255
|
+
interface GetProjectsResponseNonNullableFields {
|
|
5256
|
+
projects: {
|
|
5257
|
+
externalId: string;
|
|
5258
|
+
mediaCount: number;
|
|
5259
|
+
status: SyncStatus;
|
|
5260
|
+
}[];
|
|
5261
|
+
}
|
|
5262
|
+
interface SyncProjectResponseNonNullableFields {
|
|
5263
|
+
project?: {
|
|
5264
|
+
externalId: string;
|
|
5265
|
+
mediaCount: number;
|
|
5266
|
+
status: SyncStatus;
|
|
5267
|
+
};
|
|
5268
|
+
}
|
|
5269
|
+
interface GetSyncStatusResponseNonNullableFields {
|
|
5270
|
+
appDefId: string;
|
|
5271
|
+
externalId: string;
|
|
5272
|
+
status: SyncStatus;
|
|
5273
|
+
}
|
|
5274
|
+
interface StopSyncResponseNonNullableFields {
|
|
5275
|
+
appDefId: string;
|
|
5276
|
+
externalId: string;
|
|
5277
|
+
}
|
|
5278
|
+
interface GetLoginRedirectableUrlResponseNonNullableFields {
|
|
5279
|
+
appDefId: string;
|
|
5280
|
+
url: string;
|
|
5281
|
+
}
|
|
5282
|
+
|
|
5283
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
5284
|
+
getUrl: (context: any) => string;
|
|
5285
|
+
httpMethod: K;
|
|
5286
|
+
path: string;
|
|
5287
|
+
pathParams: M;
|
|
5288
|
+
__requestType: T;
|
|
5289
|
+
__originalRequestType: S;
|
|
5290
|
+
__responseType: Q;
|
|
5291
|
+
__originalResponseType: R;
|
|
5292
|
+
};
|
|
5293
|
+
declare function getProjects(): __PublicMethodMetaInfo<'GET', {
|
|
5294
|
+
appDefId: string;
|
|
5295
|
+
}, GetProjectsRequest, GetProjectsRequest$1, GetProjectsResponse & GetProjectsResponseNonNullableFields, GetProjectsResponse$1 & GetProjectsResponseNonNullableFields$1>;
|
|
5296
|
+
declare function syncProject(): __PublicMethodMetaInfo<'POST', {
|
|
5297
|
+
appDefId: string;
|
|
5298
|
+
externalId: string;
|
|
5299
|
+
}, SyncProjectRequest, SyncProjectRequest$1, SyncProjectResponse & SyncProjectResponseNonNullableFields, SyncProjectResponse$1 & SyncProjectResponseNonNullableFields$1>;
|
|
5300
|
+
declare function getSyncStatus(): __PublicMethodMetaInfo<'GET', {
|
|
5301
|
+
appDefId: string;
|
|
5302
|
+
externalId: string;
|
|
5303
|
+
}, GetSyncStatusRequest, GetSyncStatusRequest$1, GetSyncStatusResponse & GetSyncStatusResponseNonNullableFields, GetSyncStatusResponse$1 & GetSyncStatusResponseNonNullableFields$1>;
|
|
5304
|
+
declare function stopSync(): __PublicMethodMetaInfo<'POST', {
|
|
5305
|
+
appDefId: string;
|
|
5306
|
+
externalId: string;
|
|
5307
|
+
}, StopSyncRequest, StopSyncRequest$1, StopSyncResponse & StopSyncResponseNonNullableFields, StopSyncResponse$1 & StopSyncResponseNonNullableFields$1>;
|
|
5308
|
+
declare function getLoginRedirectableUrl(): __PublicMethodMetaInfo<'POST', {}, GetLoginRedirectableUrlRequest, GetLoginRedirectableUrlRequest$1, GetLoginRedirectableUrlResponse & GetLoginRedirectableUrlResponseNonNullableFields, GetLoginRedirectableUrlResponse$1 & GetLoginRedirectableUrlResponseNonNullableFields$1>;
|
|
5309
|
+
|
|
5027
5310
|
type meta___PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = __PublicMethodMetaInfo<K, M, T, S, Q, R>;
|
|
5028
|
-
declare const
|
|
5029
|
-
declare const
|
|
5311
|
+
declare const meta_getLoginRedirectableUrl: typeof getLoginRedirectableUrl;
|
|
5312
|
+
declare const meta_getProjects: typeof getProjects;
|
|
5313
|
+
declare const meta_getSyncStatus: typeof getSyncStatus;
|
|
5314
|
+
declare const meta_stopSync: typeof stopSync;
|
|
5315
|
+
declare const meta_syncProject: typeof syncProject;
|
|
5030
5316
|
declare namespace meta {
|
|
5031
|
-
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo,
|
|
5317
|
+
export { type meta___PublicMethodMetaInfo as __PublicMethodMetaInfo, meta_getLoginRedirectableUrl as getLoginRedirectableUrl, meta_getProjects as getProjects, meta_getSyncStatus as getSyncStatus, meta_stopSync as stopSync, meta_syncProject as syncProject };
|
|
5032
5318
|
}
|
|
5033
5319
|
|
|
5034
|
-
export { meta$
|
|
5320
|
+
export { meta$5 as collections, meta$4 as portfolioSettings, meta$1 as projectInCollections, meta$3 as projectItems, meta$2 as projects, meta as syncedProject };
|