@wix/portfolio 1.0.97 → 1.0.98

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/portfolio",
3
- "version": "1.0.97",
3
+ "version": "1.0.98",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@wix/portfolio_collections": "1.0.30",
22
22
  "@wix/portfolio_portfolio-settings": "1.0.16",
23
- "@wix/portfolio_project-in-collections": "1.0.30",
23
+ "@wix/portfolio_project-in-collections": "1.0.31",
24
24
  "@wix/portfolio_project-items": "1.0.34",
25
- "@wix/portfolio_projects": "1.0.42",
25
+ "@wix/portfolio_projects": "1.0.43",
26
26
  "@wix/portfolio_synced-project": "1.0.13"
27
27
  },
28
28
  "devDependencies": {
@@ -48,5 +48,5 @@
48
48
  "fqdn": ""
49
49
  }
50
50
  },
51
- "falconPackageHash": "9f2217cb67488ec1cae6311af8e51128bf68024df90d601ebdbc768c"
51
+ "falconPackageHash": "24a1a280cf94c831cbaaeb0c73f0126dc3a0dee1e1ab54e6324c9b63"
52
52
  }
@@ -3277,23 +3277,27 @@ interface QueryProjectsResponse {
3277
3277
  metadata?: PagingMetadataV2$2;
3278
3278
  }
3279
3279
  interface UpdateProjectOrderInCollectionRequest$1 {
3280
- /** Id of the Project to update its order */
3280
+ /** ID of the project to update. */
3281
3281
  projectId: string;
3282
- /** Id of the collection in which the project will be re-ordered */
3282
+ /** Collection ID. */
3283
3283
  collectionId: string;
3284
- /** The new sort order of the project in the given collection */
3284
+ /** Sort order of the project within the specified collection. */
3285
3285
  sortOrder: number | null;
3286
3286
  }
3287
3287
  interface UpdateProjectOrderInCollectionResponse$1 {
3288
- /** project with new sort order set */
3288
+ /** Updated project within the specified collection. */
3289
3289
  projectInCollection?: ProjectInCollection$1;
3290
3290
  }
3291
3291
  interface ProjectInCollection$1 {
3292
- /** Collection ID */
3292
+ /** Collection ID. */
3293
3293
  collectionId?: string;
3294
- /** Project */
3294
+ /** Project object. */
3295
3295
  project?: Project$1;
3296
- /** The sort order of the project in the given Collection */
3296
+ /**
3297
+ * Sort order of the project within the specified collection. <br />
3298
+ *
3299
+ * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
3300
+ */
3297
3301
  sortOrder?: number | null;
3298
3302
  }
3299
3303
  interface QueryProjectWithCollectionInfoRequest {
@@ -3707,9 +3711,9 @@ interface ProjectsQueryBuilder {
3707
3711
  find: () => Promise<ProjectsQueryResult>;
3708
3712
  }
3709
3713
  interface UpdateProjectOrderInCollectionIdentifiers$1 {
3710
- /** Id of the Project to update its order */
3714
+ /** ID of the project to update. */
3711
3715
  projectId: string;
3712
- /** Id of the collection in which the project will be re-ordered */
3716
+ /** Collection ID. */
3713
3717
  collectionId: string;
3714
3718
  }
3715
3719
  interface QueryProjectsWithCollectionInfoOptions {
@@ -3790,7 +3794,7 @@ interface UpdateProjectOrderInCollectionSignature$1 {
3790
3794
  /**
3791
3795
  * Deprecated - please use ProjectsInCollectionsService.UpdateProjectOrderInCollection instead
3792
3796
  * our Client still use it
3793
- * @param - The new sort order of the project in the given collection
3797
+ * @param - Sort order of the project within the specified collection.
3794
3798
  * @deprecated
3795
3799
  */
3796
3800
  (identifiers: UpdateProjectOrderInCollectionIdentifiers$1, sortOrder: number | null): Promise<UpdateProjectOrderInCollectionResponse$1 & UpdateProjectOrderInCollectionResponseNonNullableFields$1>;
@@ -3934,11 +3938,15 @@ declare namespace context$2 {
3934
3938
  }
3935
3939
 
3936
3940
  interface ProjectInCollection {
3937
- /** Collection ID */
3941
+ /** Collection ID. */
3938
3942
  collectionId?: string;
3939
- /** Project */
3943
+ /** Project object. */
3940
3944
  project?: Project;
3941
- /** The sort order of the project in the given Collection */
3945
+ /**
3946
+ * Sort order of the project within the specified collection. <br />
3947
+ *
3948
+ * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
3949
+ */
3942
3950
  sortOrder?: number | null;
3943
3951
  }
3944
3952
  interface Project extends ProjectCoverOneOf {
@@ -4156,9 +4164,12 @@ interface Settings {
4156
4164
  keywords?: Keyword[];
4157
4165
  }
4158
4166
  interface QueryProjectInCollectionsRequest {
4159
- /** WQL expression */
4167
+ /** Query options. */
4160
4168
  query: QueryV2;
4161
- /** Include the page URL */
4169
+ /**
4170
+ * Whether to include the project's relative path and full URL in the response.
4171
+ * Default: `false`
4172
+ */
4162
4173
  includePageUrl?: boolean | null;
4163
4174
  }
4164
4175
  interface QueryV2 extends QueryV2PagingMethodOneOf {
@@ -4218,9 +4229,9 @@ interface CursorPaging$1 {
4218
4229
  cursor?: string | null;
4219
4230
  }
4220
4231
  interface QueryProjectInCollectionsResponse {
4221
- /** The retrieved Projects in Collections context */
4232
+ /** List of projects in collections. */
4222
4233
  projectInCollections?: ProjectInCollection[];
4223
- /** Paging metadata */
4234
+ /** Paging metadata. */
4224
4235
  metadata?: PagingMetadataV2$1;
4225
4236
  }
4226
4237
  interface PagingMetadataV2$1 {
@@ -4242,23 +4253,23 @@ interface Cursors$1 {
4242
4253
  prev?: string | null;
4243
4254
  }
4244
4255
  interface UpdateProjectOrderInCollectionRequest {
4245
- /** Id of the Project to update its order */
4256
+ /** ID of the project to update. */
4246
4257
  projectId: string;
4247
- /** Id of the collection in which the project will be re-ordered */
4258
+ /** Collection ID. */
4248
4259
  collectionId: string;
4249
- /** The new sort order of the project in the given collection */
4260
+ /** Sort order of the project within the specified collection. */
4250
4261
  sortOrder: number | null;
4251
4262
  }
4252
4263
  interface UpdateProjectOrderInCollectionResponse {
4253
- /** project with new sort order set */
4264
+ /** Updated project within the specified collection. */
4254
4265
  projectInCollection?: ProjectInCollection;
4255
4266
  }
4256
4267
  interface ProjectOrderInCollectionUpdatedEvent {
4257
- /** Id of the Project to update its order */
4268
+ /** ID of the project to update. */
4258
4269
  projectId?: string;
4259
- /** Id of the collection in which the project will be re-ordered */
4270
+ /** Collection ID. */
4260
4271
  collectionId?: string;
4261
- /** The new sort order of the project in the given collection */
4272
+ /** Sort order of the project within the specified collection. */
4262
4273
  sortOrder?: number | null;
4263
4274
  }
4264
4275
  interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
@@ -4483,7 +4494,10 @@ interface ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope {
4483
4494
  metadata: EventMetadata;
4484
4495
  }
4485
4496
  interface QueryProjectInCollectionsOptions {
4486
- /** Include the page URL */
4497
+ /**
4498
+ * Whether to include the project's relative path and full URL in the response.
4499
+ * Default: `false`
4500
+ */
4487
4501
  includePageUrl?: boolean | null | undefined;
4488
4502
  }
4489
4503
  interface QueryCursorResult {
@@ -4564,30 +4578,30 @@ interface ProjectInCollectionsQueryBuilder {
4564
4578
  find: () => Promise<ProjectInCollectionsQueryResult>;
4565
4579
  }
4566
4580
  interface UpdateProjectOrderInCollectionIdentifiers {
4567
- /** Id of the Project to update its order */
4581
+ /** ID of the project to update. */
4568
4582
  projectId: string;
4569
- /** Id of the collection in which the project will be re-ordered */
4583
+ /** Collection ID. */
4570
4584
  collectionId: string;
4571
4585
  }
4572
4586
 
4573
4587
  declare function queryProjectInCollections$1(httpClient: HttpClient): QueryProjectInCollectionsSignature;
4574
4588
  interface QueryProjectInCollectionsSignature {
4575
4589
  /**
4576
- * Query project in collection context using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
4590
+ * Retrieves a list of projects in the specified collections given the provided paging, filtering, and sorting. Up to 100 projects can be returned per request.
4577
4591
  *
4578
- * Because project can be ordered different in each collection, use this when want to query the projects in a Collection ordered by the order in given collection
4592
+ * The default `sort` is `project.id` in `ASC`.
4579
4593
  *
4580
- * Supported Fields for query and ordering: collectionId, project.id, sortOrder, project.hidden, project.slug
4594
+ * For additional field support for filters and sorting, see [Projects In Collections: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/portfolio/project-in-collection/sort-and-filter).
4581
4595
  *
4582
- * If you want to Query project by Project properties please use ProjectsService.Query method - link [Query Projects](https://dev.wix.com/docs/rest/business-solutions/portfolio/project-v1/query-projects)
4596
+ * To learn how to query projects in collections, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).
4583
4597
  */
4584
4598
  (options?: QueryProjectInCollectionsOptions | undefined): ProjectInCollectionsQueryBuilder;
4585
4599
  }
4586
4600
  declare function updateProjectOrderInCollection$1(httpClient: HttpClient): UpdateProjectOrderInCollectionSignature;
4587
4601
  interface UpdateProjectOrderInCollectionSignature {
4588
4602
  /**
4589
- * Updates Project's order in a given Collection
4590
- * @param - The new sort order of the project in the given collection
4603
+ * Updates the order of a project within the specified collection.
4604
+ * @param - Sort order of the project within the specified collection.
4591
4605
  */
4592
4606
  (identifiers: UpdateProjectOrderInCollectionIdentifiers, sortOrder: number | null): Promise<UpdateProjectOrderInCollectionResponse & UpdateProjectOrderInCollectionResponseNonNullableFields>;
4593
4607
  }
@@ -3277,23 +3277,27 @@ interface QueryProjectsResponse {
3277
3277
  metadata?: PagingMetadataV2$2;
3278
3278
  }
3279
3279
  interface UpdateProjectOrderInCollectionRequest$1 {
3280
- /** Id of the Project to update its order */
3280
+ /** ID of the project to update. */
3281
3281
  projectId: string;
3282
- /** Id of the collection in which the project will be re-ordered */
3282
+ /** Collection ID. */
3283
3283
  collectionId: string;
3284
- /** The new sort order of the project in the given collection */
3284
+ /** Sort order of the project within the specified collection. */
3285
3285
  sortOrder: number | null;
3286
3286
  }
3287
3287
  interface UpdateProjectOrderInCollectionResponse$1 {
3288
- /** project with new sort order set */
3288
+ /** Updated project within the specified collection. */
3289
3289
  projectInCollection?: ProjectInCollection$1;
3290
3290
  }
3291
3291
  interface ProjectInCollection$1 {
3292
- /** Collection ID */
3292
+ /** Collection ID. */
3293
3293
  collectionId?: string;
3294
- /** Project */
3294
+ /** Project object. */
3295
3295
  project?: Project$1;
3296
- /** The sort order of the project in the given Collection */
3296
+ /**
3297
+ * Sort order of the project within the specified collection. <br />
3298
+ *
3299
+ * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
3300
+ */
3297
3301
  sortOrder?: number | null;
3298
3302
  }
3299
3303
  interface QueryProjectWithCollectionInfoRequest {
@@ -3707,9 +3711,9 @@ interface ProjectsQueryBuilder {
3707
3711
  find: () => Promise<ProjectsQueryResult>;
3708
3712
  }
3709
3713
  interface UpdateProjectOrderInCollectionIdentifiers$1 {
3710
- /** Id of the Project to update its order */
3714
+ /** ID of the project to update. */
3711
3715
  projectId: string;
3712
- /** Id of the collection in which the project will be re-ordered */
3716
+ /** Collection ID. */
3713
3717
  collectionId: string;
3714
3718
  }
3715
3719
  interface QueryProjectsWithCollectionInfoOptions {
@@ -3790,7 +3794,7 @@ interface UpdateProjectOrderInCollectionSignature$1 {
3790
3794
  /**
3791
3795
  * Deprecated - please use ProjectsInCollectionsService.UpdateProjectOrderInCollection instead
3792
3796
  * our Client still use it
3793
- * @param - The new sort order of the project in the given collection
3797
+ * @param - Sort order of the project within the specified collection.
3794
3798
  * @deprecated
3795
3799
  */
3796
3800
  (identifiers: UpdateProjectOrderInCollectionIdentifiers$1, sortOrder: number | null): Promise<UpdateProjectOrderInCollectionResponse$1 & UpdateProjectOrderInCollectionResponseNonNullableFields$1>;
@@ -3934,11 +3938,15 @@ declare namespace index_d$2 {
3934
3938
  }
3935
3939
 
3936
3940
  interface ProjectInCollection {
3937
- /** Collection ID */
3941
+ /** Collection ID. */
3938
3942
  collectionId?: string;
3939
- /** Project */
3943
+ /** Project object. */
3940
3944
  project?: Project;
3941
- /** The sort order of the project in the given Collection */
3945
+ /**
3946
+ * Sort order of the project within the specified collection. <br />
3947
+ *
3948
+ * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
3949
+ */
3942
3950
  sortOrder?: number | null;
3943
3951
  }
3944
3952
  interface Project extends ProjectCoverOneOf {
@@ -4156,9 +4164,12 @@ interface Settings {
4156
4164
  keywords?: Keyword[];
4157
4165
  }
4158
4166
  interface QueryProjectInCollectionsRequest {
4159
- /** WQL expression */
4167
+ /** Query options. */
4160
4168
  query: QueryV2;
4161
- /** Include the page URL */
4169
+ /**
4170
+ * Whether to include the project's relative path and full URL in the response.
4171
+ * Default: `false`
4172
+ */
4162
4173
  includePageUrl?: boolean | null;
4163
4174
  }
4164
4175
  interface QueryV2 extends QueryV2PagingMethodOneOf {
@@ -4218,9 +4229,9 @@ interface CursorPaging$1 {
4218
4229
  cursor?: string | null;
4219
4230
  }
4220
4231
  interface QueryProjectInCollectionsResponse {
4221
- /** The retrieved Projects in Collections context */
4232
+ /** List of projects in collections. */
4222
4233
  projectInCollections?: ProjectInCollection[];
4223
- /** Paging metadata */
4234
+ /** Paging metadata. */
4224
4235
  metadata?: PagingMetadataV2$1;
4225
4236
  }
4226
4237
  interface PagingMetadataV2$1 {
@@ -4242,23 +4253,23 @@ interface Cursors$1 {
4242
4253
  prev?: string | null;
4243
4254
  }
4244
4255
  interface UpdateProjectOrderInCollectionRequest {
4245
- /** Id of the Project to update its order */
4256
+ /** ID of the project to update. */
4246
4257
  projectId: string;
4247
- /** Id of the collection in which the project will be re-ordered */
4258
+ /** Collection ID. */
4248
4259
  collectionId: string;
4249
- /** The new sort order of the project in the given collection */
4260
+ /** Sort order of the project within the specified collection. */
4250
4261
  sortOrder: number | null;
4251
4262
  }
4252
4263
  interface UpdateProjectOrderInCollectionResponse {
4253
- /** project with new sort order set */
4264
+ /** Updated project within the specified collection. */
4254
4265
  projectInCollection?: ProjectInCollection;
4255
4266
  }
4256
4267
  interface ProjectOrderInCollectionUpdatedEvent {
4257
- /** Id of the Project to update its order */
4268
+ /** ID of the project to update. */
4258
4269
  projectId?: string;
4259
- /** Id of the collection in which the project will be re-ordered */
4270
+ /** Collection ID. */
4260
4271
  collectionId?: string;
4261
- /** The new sort order of the project in the given collection */
4272
+ /** Sort order of the project within the specified collection. */
4262
4273
  sortOrder?: number | null;
4263
4274
  }
4264
4275
  interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
@@ -4483,7 +4494,10 @@ interface ProjectInCollectionProjectOrderInCollectionUpdatedEnvelope {
4483
4494
  metadata: EventMetadata;
4484
4495
  }
4485
4496
  interface QueryProjectInCollectionsOptions {
4486
- /** Include the page URL */
4497
+ /**
4498
+ * Whether to include the project's relative path and full URL in the response.
4499
+ * Default: `false`
4500
+ */
4487
4501
  includePageUrl?: boolean | null | undefined;
4488
4502
  }
4489
4503
  interface QueryCursorResult {
@@ -4564,30 +4578,30 @@ interface ProjectInCollectionsQueryBuilder {
4564
4578
  find: () => Promise<ProjectInCollectionsQueryResult>;
4565
4579
  }
4566
4580
  interface UpdateProjectOrderInCollectionIdentifiers {
4567
- /** Id of the Project to update its order */
4581
+ /** ID of the project to update. */
4568
4582
  projectId: string;
4569
- /** Id of the collection in which the project will be re-ordered */
4583
+ /** Collection ID. */
4570
4584
  collectionId: string;
4571
4585
  }
4572
4586
 
4573
4587
  declare function queryProjectInCollections$1(httpClient: HttpClient): QueryProjectInCollectionsSignature;
4574
4588
  interface QueryProjectInCollectionsSignature {
4575
4589
  /**
4576
- * Query project in collection context using [WQL - Wix Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language)
4590
+ * Retrieves a list of projects in the specified collections given the provided paging, filtering, and sorting. Up to 100 projects can be returned per request.
4577
4591
  *
4578
- * Because project can be ordered different in each collection, use this when want to query the projects in a Collection ordered by the order in given collection
4592
+ * The default `sort` is `project.id` in `ASC`.
4579
4593
  *
4580
- * Supported Fields for query and ordering: collectionId, project.id, sortOrder, project.hidden, project.slug
4594
+ * For additional field support for filters and sorting, see [Projects In Collections: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/portfolio/project-in-collection/sort-and-filter).
4581
4595
  *
4582
- * If you want to Query project by Project properties please use ProjectsService.Query method - link [Query Projects](https://dev.wix.com/docs/rest/business-solutions/portfolio/project-v1/query-projects)
4596
+ * To learn how to query projects in collections, see [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language).
4583
4597
  */
4584
4598
  (options?: QueryProjectInCollectionsOptions | undefined): ProjectInCollectionsQueryBuilder;
4585
4599
  }
4586
4600
  declare function updateProjectOrderInCollection$1(httpClient: HttpClient): UpdateProjectOrderInCollectionSignature;
4587
4601
  interface UpdateProjectOrderInCollectionSignature {
4588
4602
  /**
4589
- * Updates Project's order in a given Collection
4590
- * @param - The new sort order of the project in the given collection
4603
+ * Updates the order of a project within the specified collection.
4604
+ * @param - Sort order of the project within the specified collection.
4591
4605
  */
4592
4606
  (identifiers: UpdateProjectOrderInCollectionIdentifiers, sortOrder: number | null): Promise<UpdateProjectOrderInCollectionResponse & UpdateProjectOrderInCollectionResponseNonNullableFields>;
4593
4607
  }
@@ -2059,23 +2059,27 @@ interface QueryProjectsResponse$1 {
2059
2059
  metadata?: PagingMetadataV2$5;
2060
2060
  }
2061
2061
  interface UpdateProjectOrderInCollectionRequest$3 {
2062
- /** Id of the Project to update its order */
2062
+ /** ID of the project to update. */
2063
2063
  projectId: string;
2064
- /** Id of the collection in which the project will be re-ordered */
2064
+ /** Collection ID. */
2065
2065
  collectionId: string;
2066
- /** The new sort order of the project in the given collection */
2066
+ /** Sort order of the project within the specified collection. */
2067
2067
  sortOrder: number | null;
2068
2068
  }
2069
2069
  interface UpdateProjectOrderInCollectionResponse$3 {
2070
- /** project with new sort order set */
2070
+ /** Updated project within the specified collection. */
2071
2071
  projectInCollection?: ProjectInCollection$3;
2072
2072
  }
2073
2073
  interface ProjectInCollection$3 {
2074
- /** Collection ID */
2074
+ /** Collection ID. */
2075
2075
  collectionId?: string;
2076
- /** Project */
2076
+ /** Project object. */
2077
2077
  project?: Project$3;
2078
- /** The sort order of the project in the given Collection */
2078
+ /**
2079
+ * Sort order of the project within the specified collection. <br />
2080
+ *
2081
+ * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
2082
+ */
2079
2083
  sortOrder?: number | null;
2080
2084
  }
2081
2085
  interface QueryProjectWithCollectionInfoRequest$1 {
@@ -2588,23 +2592,27 @@ interface QueryProjectsResponse {
2588
2592
  metadata?: PagingMetadataV2$4;
2589
2593
  }
2590
2594
  interface UpdateProjectOrderInCollectionRequest$2 {
2591
- /** Id of the Project to update its order */
2595
+ /** ID of the project to update. */
2592
2596
  projectId: string;
2593
- /** Id of the collection in which the project will be re-ordered */
2597
+ /** Collection ID. */
2594
2598
  collectionId: string;
2595
- /** The new sort order of the project in the given collection */
2599
+ /** Sort order of the project within the specified collection. */
2596
2600
  sortOrder: number | null;
2597
2601
  }
2598
2602
  interface UpdateProjectOrderInCollectionResponse$2 {
2599
- /** project with new sort order set */
2603
+ /** Updated project within the specified collection. */
2600
2604
  projectInCollection?: ProjectInCollection$2;
2601
2605
  }
2602
2606
  interface ProjectInCollection$2 {
2603
- /** Collection ID */
2607
+ /** Collection ID. */
2604
2608
  collectionId?: string;
2605
- /** Project */
2609
+ /** Project object. */
2606
2610
  project?: Project$2;
2607
- /** The sort order of the project in the given Collection */
2611
+ /**
2612
+ * Sort order of the project within the specified collection. <br />
2613
+ *
2614
+ * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
2615
+ */
2608
2616
  sortOrder?: number | null;
2609
2617
  }
2610
2618
  interface QueryProjectWithCollectionInfoRequest {
@@ -2777,11 +2785,15 @@ declare namespace meta$2 {
2777
2785
  }
2778
2786
 
2779
2787
  interface ProjectInCollection$1 {
2780
- /** Collection ID */
2788
+ /** Collection ID. */
2781
2789
  collectionId?: string;
2782
- /** Project */
2790
+ /** Project object. */
2783
2791
  project?: Project$1;
2784
- /** The sort order of the project in the given Collection */
2792
+ /**
2793
+ * Sort order of the project within the specified collection. <br />
2794
+ *
2795
+ * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
2796
+ */
2785
2797
  sortOrder?: number | null;
2786
2798
  }
2787
2799
  interface Project$1 extends ProjectCoverOneOf$1 {
@@ -2998,9 +3010,12 @@ interface Settings$1 {
2998
3010
  keywords?: Keyword$1[];
2999
3011
  }
3000
3012
  interface QueryProjectInCollectionsRequest$1 {
3001
- /** WQL expression */
3013
+ /** Query options. */
3002
3014
  query: QueryV2$1;
3003
- /** Include the page URL */
3015
+ /**
3016
+ * Whether to include the project's relative path and full URL in the response.
3017
+ * Default: `false`
3018
+ */
3004
3019
  includePageUrl?: boolean | null;
3005
3020
  }
3006
3021
  interface QueryV2$1 extends QueryV2PagingMethodOneOf$1 {
@@ -3060,9 +3075,9 @@ interface CursorPaging$3 {
3060
3075
  cursor?: string | null;
3061
3076
  }
3062
3077
  interface QueryProjectInCollectionsResponse$1 {
3063
- /** The retrieved Projects in Collections context */
3078
+ /** List of projects in collections. */
3064
3079
  projectInCollections?: ProjectInCollection$1[];
3065
- /** Paging metadata */
3080
+ /** Paging metadata. */
3066
3081
  metadata?: PagingMetadataV2$3;
3067
3082
  }
3068
3083
  interface PagingMetadataV2$3 {
@@ -3084,15 +3099,15 @@ interface Cursors$3 {
3084
3099
  prev?: string | null;
3085
3100
  }
3086
3101
  interface UpdateProjectOrderInCollectionRequest$1 {
3087
- /** Id of the Project to update its order */
3102
+ /** ID of the project to update. */
3088
3103
  projectId: string;
3089
- /** Id of the collection in which the project will be re-ordered */
3104
+ /** Collection ID. */
3090
3105
  collectionId: string;
3091
- /** The new sort order of the project in the given collection */
3106
+ /** Sort order of the project within the specified collection. */
3092
3107
  sortOrder: number | null;
3093
3108
  }
3094
3109
  interface UpdateProjectOrderInCollectionResponse$1 {
3095
- /** project with new sort order set */
3110
+ /** Updated project within the specified collection. */
3096
3111
  projectInCollection?: ProjectInCollection$1;
3097
3112
  }
3098
3113
  interface CommonImageNonNullableFields {
@@ -3180,11 +3195,15 @@ interface UpdateProjectOrderInCollectionResponseNonNullableFields$1 {
3180
3195
  }
3181
3196
 
3182
3197
  interface ProjectInCollection {
3183
- /** Collection ID */
3198
+ /** Collection ID. */
3184
3199
  collectionId?: string;
3185
- /** Project */
3200
+ /** Project object. */
3186
3201
  project?: Project;
3187
- /** The sort order of the project in the given Collection */
3202
+ /**
3203
+ * Sort order of the project within the specified collection. <br />
3204
+ *
3205
+ * Default: [Epoch](https://www.epoch101.com/) timestamp. <br />
3206
+ */
3188
3207
  sortOrder?: number | null;
3189
3208
  }
3190
3209
  interface Project extends ProjectCoverOneOf {
@@ -3352,9 +3371,12 @@ interface Settings {
3352
3371
  keywords?: Keyword[];
3353
3372
  }
3354
3373
  interface QueryProjectInCollectionsRequest {
3355
- /** WQL expression */
3374
+ /** Query options. */
3356
3375
  query: QueryV2;
3357
- /** Include the page URL */
3376
+ /**
3377
+ * Whether to include the project's relative path and full URL in the response.
3378
+ * Default: `false`
3379
+ */
3358
3380
  includePageUrl?: boolean | null;
3359
3381
  }
3360
3382
  interface QueryV2 extends QueryV2PagingMethodOneOf {
@@ -3414,9 +3436,9 @@ interface CursorPaging$2 {
3414
3436
  cursor?: string | null;
3415
3437
  }
3416
3438
  interface QueryProjectInCollectionsResponse {
3417
- /** The retrieved Projects in Collections context */
3439
+ /** List of projects in collections. */
3418
3440
  projectInCollections?: ProjectInCollection[];
3419
- /** Paging metadata */
3441
+ /** Paging metadata. */
3420
3442
  metadata?: PagingMetadataV2$2;
3421
3443
  }
3422
3444
  interface PagingMetadataV2$2 {
@@ -3438,15 +3460,15 @@ interface Cursors$2 {
3438
3460
  prev?: string | null;
3439
3461
  }
3440
3462
  interface UpdateProjectOrderInCollectionRequest {
3441
- /** Id of the Project to update its order */
3463
+ /** ID of the project to update. */
3442
3464
  projectId: string;
3443
- /** Id of the collection in which the project will be re-ordered */
3465
+ /** Collection ID. */
3444
3466
  collectionId: string;
3445
- /** The new sort order of the project in the given collection */
3467
+ /** Sort order of the project within the specified collection. */
3446
3468
  sortOrder: number | null;
3447
3469
  }
3448
3470
  interface UpdateProjectOrderInCollectionResponse {
3449
- /** project with new sort order set */
3471
+ /** Updated project within the specified collection. */
3450
3472
  projectInCollection?: ProjectInCollection;
3451
3473
  }
3452
3474
  interface PointNonNullableFields {