@vertexvis/api-client-node 0.32.0 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api.d.ts +278 -0
- package/dist/cjs/api.js +158 -7
- package/dist/cjs/client/version.d.ts +1 -1
- package/dist/cjs/client/version.js +1 -1
- package/dist/esm/api.d.ts +278 -0
- package/dist/esm/api.js +153 -2
- package/dist/esm/client/version.d.ts +1 -1
- package/dist/esm/client/version.js +1 -1
- package/package.json +1 -1
package/dist/cjs/api.d.ts
CHANGED
|
@@ -2246,6 +2246,47 @@ export interface CreateSceneItemRequestDataRelationships {
|
|
|
2246
2246
|
*/
|
|
2247
2247
|
referenceTree?: SceneItemRelationship;
|
|
2248
2248
|
}
|
|
2249
|
+
/**
|
|
2250
|
+
* A reference to a scene to be created for a thread.
|
|
2251
|
+
* @export
|
|
2252
|
+
* @interface CreateSceneReference
|
|
2253
|
+
*/
|
|
2254
|
+
export interface CreateSceneReference {
|
|
2255
|
+
/**
|
|
2256
|
+
*
|
|
2257
|
+
* @type {string}
|
|
2258
|
+
* @memberof CreateSceneReference
|
|
2259
|
+
*/
|
|
2260
|
+
type: CreateSceneReferenceTypeEnum;
|
|
2261
|
+
/**
|
|
2262
|
+
* ID of the resource.
|
|
2263
|
+
* @type {string}
|
|
2264
|
+
* @memberof CreateSceneReference
|
|
2265
|
+
*/
|
|
2266
|
+
sceneId: string;
|
|
2267
|
+
/**
|
|
2268
|
+
*
|
|
2269
|
+
* @type {Vector3}
|
|
2270
|
+
* @memberof CreateSceneReference
|
|
2271
|
+
*/
|
|
2272
|
+
position?: Vector3;
|
|
2273
|
+
/**
|
|
2274
|
+
*
|
|
2275
|
+
* @type {WithSceneViewId | WithSceneViewStateId}
|
|
2276
|
+
* @memberof CreateSceneReference
|
|
2277
|
+
*/
|
|
2278
|
+
withSceneViewState?: WithSceneViewId | WithSceneViewStateId;
|
|
2279
|
+
/**
|
|
2280
|
+
* ID of the resource.
|
|
2281
|
+
* @type {string}
|
|
2282
|
+
* @memberof CreateSceneReference
|
|
2283
|
+
*/
|
|
2284
|
+
sceneItemId?: string;
|
|
2285
|
+
}
|
|
2286
|
+
export declare const CreateSceneReferenceTypeEnum: {
|
|
2287
|
+
readonly SceneReference: "scene-reference";
|
|
2288
|
+
};
|
|
2289
|
+
export declare type CreateSceneReferenceTypeEnum = (typeof CreateSceneReferenceTypeEnum)[keyof typeof CreateSceneReferenceTypeEnum];
|
|
2249
2290
|
/**
|
|
2250
2291
|
*
|
|
2251
2292
|
* @export
|
|
@@ -2710,6 +2751,12 @@ export interface CreateThreadRequestDataAttributes {
|
|
|
2710
2751
|
* @memberof CreateThreadRequestDataAttributes
|
|
2711
2752
|
*/
|
|
2712
2753
|
body?: string;
|
|
2754
|
+
/**
|
|
2755
|
+
*
|
|
2756
|
+
* @type {CreateSceneReference}
|
|
2757
|
+
* @memberof CreateThreadRequestDataAttributes
|
|
2758
|
+
*/
|
|
2759
|
+
reference?: CreateSceneReference;
|
|
2713
2760
|
}
|
|
2714
2761
|
/**
|
|
2715
2762
|
*
|
|
@@ -7209,6 +7256,47 @@ export interface SceneOperation {
|
|
|
7209
7256
|
*/
|
|
7210
7257
|
operations: Array<ChangeVisibilityOp | ChangeMaterialOp | ClearMaterialOp | ChangeTransformOp | ClearTransformOp | SelectOp | DeselectOperation | ClearRenOp | ViewDefaultRenOp | ViewRenByIdOp | ViewRenBySuppliedIdOp | ViewRepByIdOp | ViewRepByPredefinedIdOp | ClearRepOp>;
|
|
7211
7258
|
}
|
|
7259
|
+
/**
|
|
7260
|
+
* A reference to a scene for a thread.
|
|
7261
|
+
* @export
|
|
7262
|
+
* @interface SceneReference
|
|
7263
|
+
*/
|
|
7264
|
+
export interface SceneReference {
|
|
7265
|
+
/**
|
|
7266
|
+
*
|
|
7267
|
+
* @type {string}
|
|
7268
|
+
* @memberof SceneReference
|
|
7269
|
+
*/
|
|
7270
|
+
type: SceneReferenceTypeEnum;
|
|
7271
|
+
/**
|
|
7272
|
+
* ID of the resource.
|
|
7273
|
+
* @type {string}
|
|
7274
|
+
* @memberof SceneReference
|
|
7275
|
+
*/
|
|
7276
|
+
sceneId: string;
|
|
7277
|
+
/**
|
|
7278
|
+
*
|
|
7279
|
+
* @type {Vector3}
|
|
7280
|
+
* @memberof SceneReference
|
|
7281
|
+
*/
|
|
7282
|
+
position?: Vector3;
|
|
7283
|
+
/**
|
|
7284
|
+
* ID of the resource.
|
|
7285
|
+
* @type {string}
|
|
7286
|
+
* @memberof SceneReference
|
|
7287
|
+
*/
|
|
7288
|
+
sceneViewStateId?: string;
|
|
7289
|
+
/**
|
|
7290
|
+
* ID of the resource.
|
|
7291
|
+
* @type {string}
|
|
7292
|
+
* @memberof SceneReference
|
|
7293
|
+
*/
|
|
7294
|
+
sceneItemId?: string;
|
|
7295
|
+
}
|
|
7296
|
+
export declare const SceneReferenceTypeEnum: {
|
|
7297
|
+
readonly SceneReference: "scene-reference";
|
|
7298
|
+
};
|
|
7299
|
+
export declare type SceneReferenceTypeEnum = (typeof SceneReferenceTypeEnum)[keyof typeof SceneReferenceTypeEnum];
|
|
7212
7300
|
/**
|
|
7213
7301
|
* Relationship to a `scene`.
|
|
7214
7302
|
* @export
|
|
@@ -8171,6 +8259,12 @@ export interface ThreadDataAttributes {
|
|
|
8171
8259
|
* @memberof ThreadDataAttributes
|
|
8172
8260
|
*/
|
|
8173
8261
|
replyCount?: number;
|
|
8262
|
+
/**
|
|
8263
|
+
*
|
|
8264
|
+
* @type {SceneReference}
|
|
8265
|
+
* @memberof ThreadDataAttributes
|
|
8266
|
+
*/
|
|
8267
|
+
reference?: SceneReference;
|
|
8174
8268
|
}
|
|
8175
8269
|
/**
|
|
8176
8270
|
*
|
|
@@ -8600,6 +8694,51 @@ export declare const UpdateItemToDefaultRenditionOperationTypeEnum: {
|
|
|
8600
8694
|
readonly UpdateToDefaultRendition: "update-to-default-rendition";
|
|
8601
8695
|
};
|
|
8602
8696
|
export declare type UpdateItemToDefaultRenditionOperationTypeEnum = (typeof UpdateItemToDefaultRenditionOperationTypeEnum)[keyof typeof UpdateItemToDefaultRenditionOperationTypeEnum];
|
|
8697
|
+
/**
|
|
8698
|
+
*
|
|
8699
|
+
* @export
|
|
8700
|
+
* @interface UpdatePartRequest
|
|
8701
|
+
*/
|
|
8702
|
+
export interface UpdatePartRequest {
|
|
8703
|
+
/**
|
|
8704
|
+
*
|
|
8705
|
+
* @type {UpdatePartRequestData}
|
|
8706
|
+
* @memberof UpdatePartRequest
|
|
8707
|
+
*/
|
|
8708
|
+
data: UpdatePartRequestData;
|
|
8709
|
+
}
|
|
8710
|
+
/**
|
|
8711
|
+
*
|
|
8712
|
+
* @export
|
|
8713
|
+
* @interface UpdatePartRequestData
|
|
8714
|
+
*/
|
|
8715
|
+
export interface UpdatePartRequestData {
|
|
8716
|
+
/**
|
|
8717
|
+
* Resource object type.
|
|
8718
|
+
* @type {string}
|
|
8719
|
+
* @memberof UpdatePartRequestData
|
|
8720
|
+
*/
|
|
8721
|
+
type: string;
|
|
8722
|
+
/**
|
|
8723
|
+
*
|
|
8724
|
+
* @type {UpdatePartRequestDataAttributes}
|
|
8725
|
+
* @memberof UpdatePartRequestData
|
|
8726
|
+
*/
|
|
8727
|
+
attributes: UpdatePartRequestDataAttributes;
|
|
8728
|
+
}
|
|
8729
|
+
/**
|
|
8730
|
+
*
|
|
8731
|
+
* @export
|
|
8732
|
+
* @interface UpdatePartRequestDataAttributes
|
|
8733
|
+
*/
|
|
8734
|
+
export interface UpdatePartRequestDataAttributes {
|
|
8735
|
+
/**
|
|
8736
|
+
* Name to be used for the root part.
|
|
8737
|
+
* @type {string}
|
|
8738
|
+
* @memberof UpdatePartRequestDataAttributes
|
|
8739
|
+
*/
|
|
8740
|
+
name?: string;
|
|
8741
|
+
}
|
|
8603
8742
|
/**
|
|
8604
8743
|
*
|
|
8605
8744
|
* @export
|
|
@@ -10151,6 +10290,52 @@ export interface WebhookSubscriptionList {
|
|
|
10151
10290
|
[key: string]: Link;
|
|
10152
10291
|
};
|
|
10153
10292
|
}
|
|
10293
|
+
/**
|
|
10294
|
+
* A sceneViewId to be associated as a reference.
|
|
10295
|
+
* @export
|
|
10296
|
+
* @interface WithSceneViewId
|
|
10297
|
+
*/
|
|
10298
|
+
export interface WithSceneViewId {
|
|
10299
|
+
/**
|
|
10300
|
+
*
|
|
10301
|
+
* @type {string}
|
|
10302
|
+
* @memberof WithSceneViewId
|
|
10303
|
+
*/
|
|
10304
|
+
type: WithSceneViewIdTypeEnum;
|
|
10305
|
+
/**
|
|
10306
|
+
* ID of the resource.
|
|
10307
|
+
* @type {string}
|
|
10308
|
+
* @memberof WithSceneViewId
|
|
10309
|
+
*/
|
|
10310
|
+
sceneViewId: string;
|
|
10311
|
+
}
|
|
10312
|
+
export declare const WithSceneViewIdTypeEnum: {
|
|
10313
|
+
readonly SceneViewId: "scene-view-id";
|
|
10314
|
+
};
|
|
10315
|
+
export declare type WithSceneViewIdTypeEnum = (typeof WithSceneViewIdTypeEnum)[keyof typeof WithSceneViewIdTypeEnum];
|
|
10316
|
+
/**
|
|
10317
|
+
* A sceneViewStateId to be associated as a reference.
|
|
10318
|
+
* @export
|
|
10319
|
+
* @interface WithSceneViewStateId
|
|
10320
|
+
*/
|
|
10321
|
+
export interface WithSceneViewStateId {
|
|
10322
|
+
/**
|
|
10323
|
+
*
|
|
10324
|
+
* @type {string}
|
|
10325
|
+
* @memberof WithSceneViewStateId
|
|
10326
|
+
*/
|
|
10327
|
+
type: WithSceneViewStateIdTypeEnum;
|
|
10328
|
+
/**
|
|
10329
|
+
* ID of the resource.
|
|
10330
|
+
* @type {string}
|
|
10331
|
+
* @memberof WithSceneViewStateId
|
|
10332
|
+
*/
|
|
10333
|
+
sceneViewStateId: string;
|
|
10334
|
+
}
|
|
10335
|
+
export declare const WithSceneViewStateIdTypeEnum: {
|
|
10336
|
+
readonly SceneViewStateId: "scene-view-state-id";
|
|
10337
|
+
};
|
|
10338
|
+
export declare type WithSceneViewStateIdTypeEnum = (typeof WithSceneViewStateIdTypeEnum)[keyof typeof WithSceneViewStateIdTypeEnum];
|
|
10154
10339
|
/**
|
|
10155
10340
|
* AccountsApi - axios parameter creator
|
|
10156
10341
|
* @export
|
|
@@ -13630,6 +13815,14 @@ export declare const PartsApiAxiosParamCreator: (configuration?: Configuration |
|
|
|
13630
13815
|
* @throws {RequiredError}
|
|
13631
13816
|
*/
|
|
13632
13817
|
getQueuedPartDeletion: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
13818
|
+
/**
|
|
13819
|
+
* Update a `part` by ID
|
|
13820
|
+
* @param {string} id The `part` ID.
|
|
13821
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
13822
|
+
* @param {*} [options] Override http request option.
|
|
13823
|
+
* @throws {RequiredError}
|
|
13824
|
+
*/
|
|
13825
|
+
updatePart: (id: string, updatePartRequest: UpdatePartRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
13633
13826
|
};
|
|
13634
13827
|
/**
|
|
13635
13828
|
* PartsApi - functional programming interface
|
|
@@ -13675,6 +13868,14 @@ export declare const PartsApiFp: (configuration?: Configuration | undefined) =>
|
|
|
13675
13868
|
* @throws {RequiredError}
|
|
13676
13869
|
*/
|
|
13677
13870
|
getQueuedPartDeletion(id: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueuedJob>>;
|
|
13871
|
+
/**
|
|
13872
|
+
* Update a `part` by ID
|
|
13873
|
+
* @param {string} id The `part` ID.
|
|
13874
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
13875
|
+
* @param {*} [options] Override http request option.
|
|
13876
|
+
* @throws {RequiredError}
|
|
13877
|
+
*/
|
|
13878
|
+
updatePart(id: string, updatePartRequest: UpdatePartRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
|
|
13678
13879
|
};
|
|
13679
13880
|
/**
|
|
13680
13881
|
* PartsApi - factory interface
|
|
@@ -13720,6 +13921,14 @@ export declare const PartsApiFactory: (configuration?: Configuration | undefined
|
|
|
13720
13921
|
* @throws {RequiredError}
|
|
13721
13922
|
*/
|
|
13722
13923
|
getQueuedPartDeletion(id: string, options?: any): AxiosPromise<QueuedJob>;
|
|
13924
|
+
/**
|
|
13925
|
+
* Update a `part` by ID
|
|
13926
|
+
* @param {string} id The `part` ID.
|
|
13927
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
13928
|
+
* @param {*} [options] Override http request option.
|
|
13929
|
+
* @throws {RequiredError}
|
|
13930
|
+
*/
|
|
13931
|
+
updatePart(id: string, updatePartRequest: UpdatePartRequest, options?: any): AxiosPromise<void>;
|
|
13723
13932
|
};
|
|
13724
13933
|
/**
|
|
13725
13934
|
* Request parameters for createPart operation in PartsApi.
|
|
@@ -13810,6 +14019,25 @@ export interface PartsApiGetQueuedPartDeletionRequest {
|
|
|
13810
14019
|
*/
|
|
13811
14020
|
readonly id: string;
|
|
13812
14021
|
}
|
|
14022
|
+
/**
|
|
14023
|
+
* Request parameters for updatePart operation in PartsApi.
|
|
14024
|
+
* @export
|
|
14025
|
+
* @interface PartsApiUpdatePartRequest
|
|
14026
|
+
*/
|
|
14027
|
+
export interface PartsApiUpdatePartRequest {
|
|
14028
|
+
/**
|
|
14029
|
+
* The `part` ID.
|
|
14030
|
+
* @type {string}
|
|
14031
|
+
* @memberof PartsApiUpdatePart
|
|
14032
|
+
*/
|
|
14033
|
+
readonly id: string;
|
|
14034
|
+
/**
|
|
14035
|
+
*
|
|
14036
|
+
* @type {UpdatePartRequest}
|
|
14037
|
+
* @memberof PartsApiUpdatePart
|
|
14038
|
+
*/
|
|
14039
|
+
readonly updatePartRequest: UpdatePartRequest;
|
|
14040
|
+
}
|
|
13813
14041
|
/**
|
|
13814
14042
|
* PartsApi - object-oriented interface
|
|
13815
14043
|
* @export
|
|
@@ -13857,6 +14085,14 @@ export declare class PartsApi extends BaseAPI {
|
|
|
13857
14085
|
* @memberof PartsApi
|
|
13858
14086
|
*/
|
|
13859
14087
|
getQueuedPartDeletion(requestParameters: PartsApiGetQueuedPartDeletionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueuedJob, any>>;
|
|
14088
|
+
/**
|
|
14089
|
+
* Update a `part` by ID
|
|
14090
|
+
* @param {PartsApiUpdatePartRequest} requestParameters Request parameters.
|
|
14091
|
+
* @param {*} [options] Override http request option.
|
|
14092
|
+
* @throws {RequiredError}
|
|
14093
|
+
* @memberof PartsApi
|
|
14094
|
+
*/
|
|
14095
|
+
updatePart(requestParameters: PartsApiUpdatePartRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
13860
14096
|
}
|
|
13861
14097
|
/**
|
|
13862
14098
|
* PermissionGrantsApi - axios parameter creator
|
|
@@ -17325,6 +17561,13 @@ export declare const ThreadsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
17325
17561
|
* @throws {RequiredError}
|
|
17326
17562
|
*/
|
|
17327
17563
|
getThread: (id: string, fieldsThread?: string | undefined, include?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17564
|
+
/**
|
|
17565
|
+
* Get a `thread`s `user`s.
|
|
17566
|
+
* @param {string} id The `thread` ID.
|
|
17567
|
+
* @param {*} [options] Override http request option.
|
|
17568
|
+
* @throws {RequiredError}
|
|
17569
|
+
*/
|
|
17570
|
+
getThreadParticipants: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17328
17571
|
/**
|
|
17329
17572
|
* Get a page of `thread`s.
|
|
17330
17573
|
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
@@ -17359,6 +17602,13 @@ export declare const ThreadsApiFp: (configuration?: Configuration | undefined) =
|
|
|
17359
17602
|
* @throws {RequiredError}
|
|
17360
17603
|
*/
|
|
17361
17604
|
getThread(id: string, fieldsThread?: string | undefined, include?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Thread>>;
|
|
17605
|
+
/**
|
|
17606
|
+
* Get a `thread`s `user`s.
|
|
17607
|
+
* @param {string} id The `thread` ID.
|
|
17608
|
+
* @param {*} [options] Override http request option.
|
|
17609
|
+
* @throws {RequiredError}
|
|
17610
|
+
*/
|
|
17611
|
+
getThreadParticipants(id: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<UserList>>;
|
|
17362
17612
|
/**
|
|
17363
17613
|
* Get a page of `thread`s.
|
|
17364
17614
|
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
@@ -17393,6 +17643,13 @@ export declare const ThreadsApiFactory: (configuration?: Configuration | undefin
|
|
|
17393
17643
|
* @throws {RequiredError}
|
|
17394
17644
|
*/
|
|
17395
17645
|
getThread(id: string, fieldsThread?: string | undefined, include?: string | undefined, options?: any): AxiosPromise<Thread>;
|
|
17646
|
+
/**
|
|
17647
|
+
* Get a `thread`s `user`s.
|
|
17648
|
+
* @param {string} id The `thread` ID.
|
|
17649
|
+
* @param {*} [options] Override http request option.
|
|
17650
|
+
* @throws {RequiredError}
|
|
17651
|
+
*/
|
|
17652
|
+
getThreadParticipants(id: string, options?: any): AxiosPromise<UserList>;
|
|
17396
17653
|
/**
|
|
17397
17654
|
* Get a page of `thread`s.
|
|
17398
17655
|
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
@@ -17449,6 +17706,19 @@ export interface ThreadsApiGetThreadRequest {
|
|
|
17449
17706
|
*/
|
|
17450
17707
|
readonly include?: string;
|
|
17451
17708
|
}
|
|
17709
|
+
/**
|
|
17710
|
+
* Request parameters for getThreadParticipants operation in ThreadsApi.
|
|
17711
|
+
* @export
|
|
17712
|
+
* @interface ThreadsApiGetThreadParticipantsRequest
|
|
17713
|
+
*/
|
|
17714
|
+
export interface ThreadsApiGetThreadParticipantsRequest {
|
|
17715
|
+
/**
|
|
17716
|
+
* The `thread` ID.
|
|
17717
|
+
* @type {string}
|
|
17718
|
+
* @memberof ThreadsApiGetThreadParticipants
|
|
17719
|
+
*/
|
|
17720
|
+
readonly id: string;
|
|
17721
|
+
}
|
|
17452
17722
|
/**
|
|
17453
17723
|
* Request parameters for getThreads operation in ThreadsApi.
|
|
17454
17724
|
* @export
|
|
@@ -17509,6 +17779,14 @@ export declare class ThreadsApi extends BaseAPI {
|
|
|
17509
17779
|
* @memberof ThreadsApi
|
|
17510
17780
|
*/
|
|
17511
17781
|
getThread(requestParameters: ThreadsApiGetThreadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Thread, any>>;
|
|
17782
|
+
/**
|
|
17783
|
+
* Get a `thread`s `user`s.
|
|
17784
|
+
* @param {ThreadsApiGetThreadParticipantsRequest} requestParameters Request parameters.
|
|
17785
|
+
* @param {*} [options] Override http request option.
|
|
17786
|
+
* @throws {RequiredError}
|
|
17787
|
+
* @memberof ThreadsApi
|
|
17788
|
+
*/
|
|
17789
|
+
getThreadParticipants(requestParameters: ThreadsApiGetThreadParticipantsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserList, any>>;
|
|
17512
17790
|
/**
|
|
17513
17791
|
* Get a page of `thread`s.
|
|
17514
17792
|
* @param {ThreadsApiGetThreadsRequest} requestParameters Request parameters.
|
package/dist/cjs/api.js
CHANGED
|
@@ -25,11 +25,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.WebhookSubscriptionsApi = exports.WebhookSubscriptionsApiFactory = exports.WebhookSubscriptionsApiFp = exports.WebhookSubscriptionsApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserGroupsApi = exports.UserGroupsApiFactory = exports.UserGroupsApiFp = exports.UserGroupsApiAxiosParamCreator = exports.TranslationInspectionsApi = exports.TranslationInspectionsApiFactory = exports.TranslationInspectionsApiFp = exports.TranslationInspectionsApiAxiosParamCreator = exports.ThreadsApi = exports.ThreadsApiFactory = exports.ThreadsApiFp = exports.ThreadsApiAxiosParamCreator = exports.StreamKeysApi = exports.StreamKeysApiFactory = exports.StreamKeysApiFp = exports.StreamKeysApiAxiosParamCreator = exports.SearchSessionsApi = void 0;
|
|
28
|
+
exports.QueryByIdDataAttributesTypeEnum = exports.QueryByIdDataTypeEnum = exports.QueryByCollectionDataAttributesTypeEnum = exports.QueryByCollectionDataTypeEnum = exports.QueryAll = exports.PropertyStringTypeTypeEnum = exports.PropertySetRelationshipDataTypeEnum = exports.PropertySetDomainSubjectDomainEnum = exports.PropertyLongTypeTypeEnum = exports.PropertyDoubleTypeTypeEnum = exports.PropertyDateTypeTypeEnum = exports.PermissionGrantDataTypeEnum = exports.PartsDomainSubjectDomainEnum = exports.PartRenditionRelationshipDataTypeEnum = exports.PartRelationshipDataTypeEnum = exports.PartInstanceRelationshipDataTypeEnum = exports.PartDataRelationshipsPartRevisionsTypeEnum = exports.GranteeAccountTypeEnum = exports.GeometrySetRelationshipDataTypeEnum = exports.FileRelationshipDataTypeEnum = exports.FileJobArchiveOperationTypeEnum = exports.FileCollectionMetadataDataTypeEnum = exports.ExportStateRelationshipDataTypeEnum = exports.ExportRelationshipDataTypeEnum = exports.DeselectOperationTypeEnum = exports.CreateUserRequestDataTypeEnum = exports.CreateUserGroupRequestDataTypeEnum = exports.CreateThreadRequestDataTypeEnum = exports.CreateSearchSessionRequestDataTypeEnum = exports.CreateSceneReferenceTypeEnum = exports.CreateSceneItemRequestDataAttributesResolutionRuleEnum = exports.CreateSceneExpressionAlterationRequestDataTypeEnum = exports.CreateReplyRequestDataTypeEnum = exports.CreatePermissionGrantDataAttributesCapabilityEnum = exports.CreatePermissionGrantDataTypeEnum = exports.CreateFileJobRequestDataTypeEnum = exports.CreateFileCollectionRequestDataTypeEnum = exports.CreateCollaborationContextRequestDataTypeEnum = exports.CollaborationContextRelationshipDataTypeEnum = exports.ClearTransformOpTypeEnum = exports.ClearRepOpTypeEnum = exports.ClearRenOpTypeEnum = exports.ClearMaterialOpTypeEnum = exports.ChangeVisibilityOpTypeEnum = exports.ChangeTransformOpTypeEnum = exports.ChangeMaterialOpTypeEnum = exports.CameraFitTypeEnum = exports.BatchOperationRefTypeEnum = exports.BatchOperationOpEnum = exports.AccountRelationshipDataTypeEnum = void 0;
|
|
29
|
+
exports.BatchesApiFactory = exports.BatchesApiFp = exports.BatchesApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = exports.WithSceneViewStateIdTypeEnum = exports.WithSceneViewIdTypeEnum = exports.WebhookSubscriptionDataAttributesStatusEnum = exports.WebhookEventDataRelationshipsOwnerDataTypeEnum = exports.ViewRepByPredefinedIdOpIdEnum = exports.ViewRepByPredefinedIdOpTypeEnum = exports.ViewRepByIdOpTypeEnum = exports.ViewRenBySuppliedIdOpTypeEnum = exports.ViewRenByIdOpTypeEnum = exports.ViewDefaultRenOpTypeEnum = exports.UserRelationshipDataTypeEnum = exports.UserIdTypeEnum = exports.UserGroupIdTypeEnum = exports.UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = exports.UpdateSceneRequestDataAttributesStateEnum = exports.UpdateItemToDefaultRenditionOperationTypeEnum = exports.UpdateFileCollectionRequestDataTypeEnum = exports.UpdateAccountRequestDataAttributesStatusEnum = exports.ThreadType = exports.ThreadStatus = exports.ThreadRelationshipDataTypeEnum = exports.ThreadDataTypeEnum = exports.SelectOpTypeEnum = exports.SelectFileBySuppliedIdTypeEnum = exports.SelectFileByIdTypeEnum = exports.SceneViewStateRelationshipDataTypeEnum = exports.SceneViewRelationshipDataTypeEnum = exports.SceneRelationshipDataTypeEnum = exports.SceneReferenceTypeEnum = exports.SceneItemRelationshipDataTypeEnum = exports.SceneItemQueryOperandTypeEnum = exports.SceneItemOrExpressionTypeEnum = exports.SceneItemAndExpressionTypeEnum = exports.ReplyDataTypeEnum = exports.QueryBySceneItemMetadataTypeEnum = exports.QueryBySceneItemIdsTypeEnum = exports.QueryBySceneItemIdTypeEnum = exports.QueryByRootTypeEnum = exports.QueryByMetadataDataTypeEnum = void 0;
|
|
30
|
+
exports.PartsApiAxiosParamCreator = exports.PartRevisionsApi = exports.PartRevisionsApiFactory = exports.PartRevisionsApiFp = exports.PartRevisionsApiAxiosParamCreator = exports.PartRevisionInstancesApi = exports.PartRevisionInstancesApiFactory = exports.PartRevisionInstancesApiFp = exports.PartRevisionInstancesApiAxiosParamCreator = exports.PartRenditionsApi = exports.PartRenditionsApiFactory = exports.PartRenditionsApiFp = exports.PartRenditionsApiAxiosParamCreator = exports.Oauth2Api = exports.Oauth2ApiFactory = exports.Oauth2ApiFp = exports.Oauth2ApiAxiosParamCreator = exports.ModelViewsApi = exports.ModelViewsApiFactory = exports.ModelViewsApiFp = exports.ModelViewsApiAxiosParamCreator = exports.HitsApi = exports.HitsApiFactory = exports.HitsApiFp = exports.HitsApiAxiosParamCreator = exports.GeometrySetsApi = exports.GeometrySetsApiFactory = exports.GeometrySetsApiFp = exports.GeometrySetsApiAxiosParamCreator = exports.FilesApi = exports.FilesApiFactory = exports.FilesApiFp = exports.FilesApiAxiosParamCreator = exports.FileJobsApi = exports.FileJobsApiFactory = exports.FileJobsApiFp = exports.FileJobsApiAxiosParamCreator = exports.FileCollectionsApi = exports.FileCollectionsApiFactory = exports.FileCollectionsApiFp = exports.FileCollectionsApiAxiosParamCreator = exports.ExportsApi = exports.ExportsApiFactory = exports.ExportsApiFp = exports.ExportsApiAxiosParamCreator = exports.CollaborationContextsApi = exports.CollaborationContextsApiFactory = exports.CollaborationContextsApiFp = exports.CollaborationContextsApiAxiosParamCreator = exports.BatchesApi = void 0;
|
|
31
|
+
exports.ScenesApiFactory = exports.ScenesApiFp = exports.ScenesApiAxiosParamCreator = exports.SceneViewsApi = exports.SceneViewsApiFactory = exports.SceneViewsApiFp = exports.SceneViewsApiAxiosParamCreator = exports.SceneViewStatesApi = exports.SceneViewStatesApiFactory = exports.SceneViewStatesApiFp = exports.SceneViewStatesApiAxiosParamCreator = exports.SceneSynchronizationsApi = exports.SceneSynchronizationsApiFactory = exports.SceneSynchronizationsApiFp = exports.SceneSynchronizationsApiAxiosParamCreator = exports.SceneItemsApi = exports.SceneItemsApiFactory = exports.SceneItemsApiFp = exports.SceneItemsApiAxiosParamCreator = exports.SceneItemOverridesApi = exports.SceneItemOverridesApiFactory = exports.SceneItemOverridesApiFp = exports.SceneItemOverridesApiAxiosParamCreator = exports.SceneAnnotationsApi = exports.SceneAnnotationsApiFactory = exports.SceneAnnotationsApiFp = exports.SceneAnnotationsApiAxiosParamCreator = exports.SceneAlterationsApi = exports.SceneAlterationsApiFactory = exports.SceneAlterationsApiFp = exports.SceneAlterationsApiAxiosParamCreator = exports.RepliesApi = exports.RepliesApiFactory = exports.RepliesApiFp = exports.RepliesApiAxiosParamCreator = exports.PropertyEntriesApi = exports.PropertyEntriesApiFactory = exports.PropertyEntriesApiFp = exports.PropertyEntriesApiAxiosParamCreator = exports.PmiApi = exports.PmiApiFactory = exports.PmiApiFp = exports.PmiApiAxiosParamCreator = exports.PermissionGrantsApi = exports.PermissionGrantsApiFactory = exports.PermissionGrantsApiFp = exports.PermissionGrantsApiAxiosParamCreator = exports.PartsApi = exports.PartsApiFactory = exports.PartsApiFp = void 0;
|
|
32
|
+
exports.WebhookSubscriptionsApi = exports.WebhookSubscriptionsApiFactory = exports.WebhookSubscriptionsApiFp = exports.WebhookSubscriptionsApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserGroupsApi = exports.UserGroupsApiFactory = exports.UserGroupsApiFp = exports.UserGroupsApiAxiosParamCreator = exports.TranslationInspectionsApi = exports.TranslationInspectionsApiFactory = exports.TranslationInspectionsApiFp = exports.TranslationInspectionsApiAxiosParamCreator = exports.ThreadsApi = exports.ThreadsApiFactory = exports.ThreadsApiFp = exports.ThreadsApiAxiosParamCreator = exports.StreamKeysApi = exports.StreamKeysApiFactory = exports.StreamKeysApiFp = exports.StreamKeysApiAxiosParamCreator = exports.SearchSessionsApi = exports.SearchSessionsApiFactory = exports.SearchSessionsApiFp = exports.SearchSessionsApiAxiosParamCreator = exports.ScenesApi = void 0;
|
|
33
33
|
const axios_1 = __importDefault(require("axios"));
|
|
34
34
|
// Some imports not used depending on template conditions
|
|
35
35
|
// @ts-ignore
|
|
@@ -99,6 +99,9 @@ exports.CreateSceneItemRequestDataAttributesResolutionRuleEnum = {
|
|
|
99
99
|
LatestIteration: 'latest-iteration',
|
|
100
100
|
LatestRevision: 'latest-revision',
|
|
101
101
|
};
|
|
102
|
+
exports.CreateSceneReferenceTypeEnum = {
|
|
103
|
+
SceneReference: 'scene-reference',
|
|
104
|
+
};
|
|
102
105
|
exports.CreateSearchSessionRequestDataTypeEnum = {
|
|
103
106
|
SearchSession: 'search-session',
|
|
104
107
|
};
|
|
@@ -224,6 +227,9 @@ exports.SceneItemQueryOperandTypeEnum = {
|
|
|
224
227
|
exports.SceneItemRelationshipDataTypeEnum = {
|
|
225
228
|
SceneItem: 'scene-item',
|
|
226
229
|
};
|
|
230
|
+
exports.SceneReferenceTypeEnum = {
|
|
231
|
+
SceneReference: 'scene-reference',
|
|
232
|
+
};
|
|
227
233
|
exports.SceneRelationshipDataTypeEnum = {
|
|
228
234
|
Scene: 'scene',
|
|
229
235
|
};
|
|
@@ -319,6 +325,12 @@ exports.WebhookSubscriptionDataAttributesStatusEnum = {
|
|
|
319
325
|
Active: 'active',
|
|
320
326
|
Paused: 'paused',
|
|
321
327
|
};
|
|
328
|
+
exports.WithSceneViewIdTypeEnum = {
|
|
329
|
+
SceneViewId: 'scene-view-id',
|
|
330
|
+
};
|
|
331
|
+
exports.WithSceneViewStateIdTypeEnum = {
|
|
332
|
+
SceneViewStateId: 'scene-view-state-id',
|
|
333
|
+
};
|
|
322
334
|
/**
|
|
323
335
|
* AccountsApi - axios parameter creator
|
|
324
336
|
* @export
|
|
@@ -5400,6 +5412,42 @@ const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
5400
5412
|
options: localVarRequestOptions,
|
|
5401
5413
|
};
|
|
5402
5414
|
}),
|
|
5415
|
+
/**
|
|
5416
|
+
* Update a `part` by ID
|
|
5417
|
+
* @param {string} id The `part` ID.
|
|
5418
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
5419
|
+
* @param {*} [options] Override http request option.
|
|
5420
|
+
* @throws {RequiredError}
|
|
5421
|
+
*/
|
|
5422
|
+
updatePart: (id, updatePartRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5423
|
+
var _f;
|
|
5424
|
+
// verify required parameter 'id' is not null or undefined
|
|
5425
|
+
(0, common_1.assertParamExists)('updatePart', 'id', id);
|
|
5426
|
+
// verify required parameter 'updatePartRequest' is not null or undefined
|
|
5427
|
+
(0, common_1.assertParamExists)('updatePart', 'updatePartRequest', updatePartRequest);
|
|
5428
|
+
const localVarPath = `/parts/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5429
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5430
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
5431
|
+
let baseOptions;
|
|
5432
|
+
if (configuration) {
|
|
5433
|
+
baseOptions = configuration.baseOptions;
|
|
5434
|
+
}
|
|
5435
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
5436
|
+
const localVarHeaderParameter = {};
|
|
5437
|
+
const localVarQueryParameter = {};
|
|
5438
|
+
// authentication OAuth2 required
|
|
5439
|
+
// oauth required
|
|
5440
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5441
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5442
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
5443
|
+
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
5444
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5445
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePartRequest, localVarRequestOptions, configuration);
|
|
5446
|
+
return {
|
|
5447
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
5448
|
+
options: localVarRequestOptions,
|
|
5449
|
+
};
|
|
5450
|
+
}),
|
|
5403
5451
|
};
|
|
5404
5452
|
};
|
|
5405
5453
|
exports.PartsApiAxiosParamCreator = PartsApiAxiosParamCreator;
|
|
@@ -5474,6 +5522,19 @@ const PartsApiFp = function (configuration) {
|
|
|
5474
5522
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5475
5523
|
});
|
|
5476
5524
|
},
|
|
5525
|
+
/**
|
|
5526
|
+
* Update a `part` by ID
|
|
5527
|
+
* @param {string} id The `part` ID.
|
|
5528
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
5529
|
+
* @param {*} [options] Override http request option.
|
|
5530
|
+
* @throws {RequiredError}
|
|
5531
|
+
*/
|
|
5532
|
+
updatePart(id, updatePartRequest, options) {
|
|
5533
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5534
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePart(id, updatePartRequest, options);
|
|
5535
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5536
|
+
});
|
|
5537
|
+
},
|
|
5477
5538
|
};
|
|
5478
5539
|
};
|
|
5479
5540
|
exports.PartsApiFp = PartsApiFp;
|
|
@@ -5543,6 +5604,18 @@ const PartsApiFactory = function (configuration, basePath, axios) {
|
|
|
5543
5604
|
.getQueuedPartDeletion(id, options)
|
|
5544
5605
|
.then((request) => request(axios, basePath));
|
|
5545
5606
|
},
|
|
5607
|
+
/**
|
|
5608
|
+
* Update a `part` by ID
|
|
5609
|
+
* @param {string} id The `part` ID.
|
|
5610
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
5611
|
+
* @param {*} [options] Override http request option.
|
|
5612
|
+
* @throws {RequiredError}
|
|
5613
|
+
*/
|
|
5614
|
+
updatePart(id, updatePartRequest, options) {
|
|
5615
|
+
return localVarFp
|
|
5616
|
+
.updatePart(id, updatePartRequest, options)
|
|
5617
|
+
.then((request) => request(axios, basePath));
|
|
5618
|
+
},
|
|
5546
5619
|
};
|
|
5547
5620
|
};
|
|
5548
5621
|
exports.PartsApiFactory = PartsApiFactory;
|
|
@@ -5613,6 +5686,18 @@ class PartsApi extends base_1.BaseAPI {
|
|
|
5613
5686
|
.getQueuedPartDeletion(requestParameters.id, options)
|
|
5614
5687
|
.then((request) => request(this.axios, this.basePath));
|
|
5615
5688
|
}
|
|
5689
|
+
/**
|
|
5690
|
+
* Update a `part` by ID
|
|
5691
|
+
* @param {PartsApiUpdatePartRequest} requestParameters Request parameters.
|
|
5692
|
+
* @param {*} [options] Override http request option.
|
|
5693
|
+
* @throws {RequiredError}
|
|
5694
|
+
* @memberof PartsApi
|
|
5695
|
+
*/
|
|
5696
|
+
updatePart(requestParameters, options) {
|
|
5697
|
+
return (0, exports.PartsApiFp)(this.configuration)
|
|
5698
|
+
.updatePart(requestParameters.id, requestParameters.updatePartRequest, options)
|
|
5699
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5700
|
+
}
|
|
5616
5701
|
}
|
|
5617
5702
|
exports.PartsApi = PartsApi;
|
|
5618
5703
|
/**
|
|
@@ -10522,6 +10607,37 @@ const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
10522
10607
|
options: localVarRequestOptions,
|
|
10523
10608
|
};
|
|
10524
10609
|
}),
|
|
10610
|
+
/**
|
|
10611
|
+
* Get a `thread`s `user`s.
|
|
10612
|
+
* @param {string} id The `thread` ID.
|
|
10613
|
+
* @param {*} [options] Override http request option.
|
|
10614
|
+
* @throws {RequiredError}
|
|
10615
|
+
*/
|
|
10616
|
+
getThreadParticipants: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10617
|
+
var _c;
|
|
10618
|
+
// verify required parameter 'id' is not null or undefined
|
|
10619
|
+
(0, common_1.assertParamExists)('getThreadParticipants', 'id', id);
|
|
10620
|
+
const localVarPath = `/threads/{id}/users`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10621
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10622
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10623
|
+
let baseOptions;
|
|
10624
|
+
if (configuration) {
|
|
10625
|
+
baseOptions = configuration.baseOptions;
|
|
10626
|
+
}
|
|
10627
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10628
|
+
const localVarHeaderParameter = {};
|
|
10629
|
+
const localVarQueryParameter = {};
|
|
10630
|
+
// authentication OAuth2 required
|
|
10631
|
+
// oauth required
|
|
10632
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
10633
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10634
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
10635
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10636
|
+
return {
|
|
10637
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10638
|
+
options: localVarRequestOptions,
|
|
10639
|
+
};
|
|
10640
|
+
}),
|
|
10525
10641
|
/**
|
|
10526
10642
|
* Get a page of `thread`s.
|
|
10527
10643
|
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
@@ -10533,7 +10649,7 @@ const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
10533
10649
|
* @throws {RequiredError}
|
|
10534
10650
|
*/
|
|
10535
10651
|
getThreads: (fieldsThread, filterCollaborationContextId, pageCursor, pageSize, include, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10536
|
-
var
|
|
10652
|
+
var _d;
|
|
10537
10653
|
const localVarPath = `/threads`;
|
|
10538
10654
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10539
10655
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -10564,7 +10680,7 @@ const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
10564
10680
|
localVarQueryParameter['include'] = include;
|
|
10565
10681
|
}
|
|
10566
10682
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10567
|
-
let headersFromBaseOptions = (
|
|
10683
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
10568
10684
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10569
10685
|
return {
|
|
10570
10686
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
@@ -10608,6 +10724,18 @@ const ThreadsApiFp = function (configuration) {
|
|
|
10608
10724
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
10609
10725
|
});
|
|
10610
10726
|
},
|
|
10727
|
+
/**
|
|
10728
|
+
* Get a `thread`s `user`s.
|
|
10729
|
+
* @param {string} id The `thread` ID.
|
|
10730
|
+
* @param {*} [options] Override http request option.
|
|
10731
|
+
* @throws {RequiredError}
|
|
10732
|
+
*/
|
|
10733
|
+
getThreadParticipants(id, options) {
|
|
10734
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10735
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadParticipants(id, options);
|
|
10736
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
10737
|
+
});
|
|
10738
|
+
},
|
|
10611
10739
|
/**
|
|
10612
10740
|
* Get a page of `thread`s.
|
|
10613
10741
|
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
@@ -10659,6 +10787,17 @@ const ThreadsApiFactory = function (configuration, basePath, axios) {
|
|
|
10659
10787
|
.getThread(id, fieldsThread, include, options)
|
|
10660
10788
|
.then((request) => request(axios, basePath));
|
|
10661
10789
|
},
|
|
10790
|
+
/**
|
|
10791
|
+
* Get a `thread`s `user`s.
|
|
10792
|
+
* @param {string} id The `thread` ID.
|
|
10793
|
+
* @param {*} [options] Override http request option.
|
|
10794
|
+
* @throws {RequiredError}
|
|
10795
|
+
*/
|
|
10796
|
+
getThreadParticipants(id, options) {
|
|
10797
|
+
return localVarFp
|
|
10798
|
+
.getThreadParticipants(id, options)
|
|
10799
|
+
.then((request) => request(axios, basePath));
|
|
10800
|
+
},
|
|
10662
10801
|
/**
|
|
10663
10802
|
* Get a page of `thread`s.
|
|
10664
10803
|
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
@@ -10708,6 +10847,18 @@ class ThreadsApi extends base_1.BaseAPI {
|
|
|
10708
10847
|
.getThread(requestParameters.id, requestParameters.fieldsThread, requestParameters.include, options)
|
|
10709
10848
|
.then((request) => request(this.axios, this.basePath));
|
|
10710
10849
|
}
|
|
10850
|
+
/**
|
|
10851
|
+
* Get a `thread`s `user`s.
|
|
10852
|
+
* @param {ThreadsApiGetThreadParticipantsRequest} requestParameters Request parameters.
|
|
10853
|
+
* @param {*} [options] Override http request option.
|
|
10854
|
+
* @throws {RequiredError}
|
|
10855
|
+
* @memberof ThreadsApi
|
|
10856
|
+
*/
|
|
10857
|
+
getThreadParticipants(requestParameters, options) {
|
|
10858
|
+
return (0, exports.ThreadsApiFp)(this.configuration)
|
|
10859
|
+
.getThreadParticipants(requestParameters.id, options)
|
|
10860
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10861
|
+
}
|
|
10711
10862
|
/**
|
|
10712
10863
|
* Get a page of `thread`s.
|
|
10713
10864
|
* @param {ThreadsApiGetThreadsRequest} requestParameters Request parameters.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.
|
|
1
|
+
export declare const version = "0.33.0";
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2246,6 +2246,47 @@ export interface CreateSceneItemRequestDataRelationships {
|
|
|
2246
2246
|
*/
|
|
2247
2247
|
referenceTree?: SceneItemRelationship;
|
|
2248
2248
|
}
|
|
2249
|
+
/**
|
|
2250
|
+
* A reference to a scene to be created for a thread.
|
|
2251
|
+
* @export
|
|
2252
|
+
* @interface CreateSceneReference
|
|
2253
|
+
*/
|
|
2254
|
+
export interface CreateSceneReference {
|
|
2255
|
+
/**
|
|
2256
|
+
*
|
|
2257
|
+
* @type {string}
|
|
2258
|
+
* @memberof CreateSceneReference
|
|
2259
|
+
*/
|
|
2260
|
+
type: CreateSceneReferenceTypeEnum;
|
|
2261
|
+
/**
|
|
2262
|
+
* ID of the resource.
|
|
2263
|
+
* @type {string}
|
|
2264
|
+
* @memberof CreateSceneReference
|
|
2265
|
+
*/
|
|
2266
|
+
sceneId: string;
|
|
2267
|
+
/**
|
|
2268
|
+
*
|
|
2269
|
+
* @type {Vector3}
|
|
2270
|
+
* @memberof CreateSceneReference
|
|
2271
|
+
*/
|
|
2272
|
+
position?: Vector3;
|
|
2273
|
+
/**
|
|
2274
|
+
*
|
|
2275
|
+
* @type {WithSceneViewId | WithSceneViewStateId}
|
|
2276
|
+
* @memberof CreateSceneReference
|
|
2277
|
+
*/
|
|
2278
|
+
withSceneViewState?: WithSceneViewId | WithSceneViewStateId;
|
|
2279
|
+
/**
|
|
2280
|
+
* ID of the resource.
|
|
2281
|
+
* @type {string}
|
|
2282
|
+
* @memberof CreateSceneReference
|
|
2283
|
+
*/
|
|
2284
|
+
sceneItemId?: string;
|
|
2285
|
+
}
|
|
2286
|
+
export declare const CreateSceneReferenceTypeEnum: {
|
|
2287
|
+
readonly SceneReference: "scene-reference";
|
|
2288
|
+
};
|
|
2289
|
+
export declare type CreateSceneReferenceTypeEnum = (typeof CreateSceneReferenceTypeEnum)[keyof typeof CreateSceneReferenceTypeEnum];
|
|
2249
2290
|
/**
|
|
2250
2291
|
*
|
|
2251
2292
|
* @export
|
|
@@ -2710,6 +2751,12 @@ export interface CreateThreadRequestDataAttributes {
|
|
|
2710
2751
|
* @memberof CreateThreadRequestDataAttributes
|
|
2711
2752
|
*/
|
|
2712
2753
|
body?: string;
|
|
2754
|
+
/**
|
|
2755
|
+
*
|
|
2756
|
+
* @type {CreateSceneReference}
|
|
2757
|
+
* @memberof CreateThreadRequestDataAttributes
|
|
2758
|
+
*/
|
|
2759
|
+
reference?: CreateSceneReference;
|
|
2713
2760
|
}
|
|
2714
2761
|
/**
|
|
2715
2762
|
*
|
|
@@ -7209,6 +7256,47 @@ export interface SceneOperation {
|
|
|
7209
7256
|
*/
|
|
7210
7257
|
operations: Array<ChangeVisibilityOp | ChangeMaterialOp | ClearMaterialOp | ChangeTransformOp | ClearTransformOp | SelectOp | DeselectOperation | ClearRenOp | ViewDefaultRenOp | ViewRenByIdOp | ViewRenBySuppliedIdOp | ViewRepByIdOp | ViewRepByPredefinedIdOp | ClearRepOp>;
|
|
7211
7258
|
}
|
|
7259
|
+
/**
|
|
7260
|
+
* A reference to a scene for a thread.
|
|
7261
|
+
* @export
|
|
7262
|
+
* @interface SceneReference
|
|
7263
|
+
*/
|
|
7264
|
+
export interface SceneReference {
|
|
7265
|
+
/**
|
|
7266
|
+
*
|
|
7267
|
+
* @type {string}
|
|
7268
|
+
* @memberof SceneReference
|
|
7269
|
+
*/
|
|
7270
|
+
type: SceneReferenceTypeEnum;
|
|
7271
|
+
/**
|
|
7272
|
+
* ID of the resource.
|
|
7273
|
+
* @type {string}
|
|
7274
|
+
* @memberof SceneReference
|
|
7275
|
+
*/
|
|
7276
|
+
sceneId: string;
|
|
7277
|
+
/**
|
|
7278
|
+
*
|
|
7279
|
+
* @type {Vector3}
|
|
7280
|
+
* @memberof SceneReference
|
|
7281
|
+
*/
|
|
7282
|
+
position?: Vector3;
|
|
7283
|
+
/**
|
|
7284
|
+
* ID of the resource.
|
|
7285
|
+
* @type {string}
|
|
7286
|
+
* @memberof SceneReference
|
|
7287
|
+
*/
|
|
7288
|
+
sceneViewStateId?: string;
|
|
7289
|
+
/**
|
|
7290
|
+
* ID of the resource.
|
|
7291
|
+
* @type {string}
|
|
7292
|
+
* @memberof SceneReference
|
|
7293
|
+
*/
|
|
7294
|
+
sceneItemId?: string;
|
|
7295
|
+
}
|
|
7296
|
+
export declare const SceneReferenceTypeEnum: {
|
|
7297
|
+
readonly SceneReference: "scene-reference";
|
|
7298
|
+
};
|
|
7299
|
+
export declare type SceneReferenceTypeEnum = (typeof SceneReferenceTypeEnum)[keyof typeof SceneReferenceTypeEnum];
|
|
7212
7300
|
/**
|
|
7213
7301
|
* Relationship to a `scene`.
|
|
7214
7302
|
* @export
|
|
@@ -8171,6 +8259,12 @@ export interface ThreadDataAttributes {
|
|
|
8171
8259
|
* @memberof ThreadDataAttributes
|
|
8172
8260
|
*/
|
|
8173
8261
|
replyCount?: number;
|
|
8262
|
+
/**
|
|
8263
|
+
*
|
|
8264
|
+
* @type {SceneReference}
|
|
8265
|
+
* @memberof ThreadDataAttributes
|
|
8266
|
+
*/
|
|
8267
|
+
reference?: SceneReference;
|
|
8174
8268
|
}
|
|
8175
8269
|
/**
|
|
8176
8270
|
*
|
|
@@ -8600,6 +8694,51 @@ export declare const UpdateItemToDefaultRenditionOperationTypeEnum: {
|
|
|
8600
8694
|
readonly UpdateToDefaultRendition: "update-to-default-rendition";
|
|
8601
8695
|
};
|
|
8602
8696
|
export declare type UpdateItemToDefaultRenditionOperationTypeEnum = (typeof UpdateItemToDefaultRenditionOperationTypeEnum)[keyof typeof UpdateItemToDefaultRenditionOperationTypeEnum];
|
|
8697
|
+
/**
|
|
8698
|
+
*
|
|
8699
|
+
* @export
|
|
8700
|
+
* @interface UpdatePartRequest
|
|
8701
|
+
*/
|
|
8702
|
+
export interface UpdatePartRequest {
|
|
8703
|
+
/**
|
|
8704
|
+
*
|
|
8705
|
+
* @type {UpdatePartRequestData}
|
|
8706
|
+
* @memberof UpdatePartRequest
|
|
8707
|
+
*/
|
|
8708
|
+
data: UpdatePartRequestData;
|
|
8709
|
+
}
|
|
8710
|
+
/**
|
|
8711
|
+
*
|
|
8712
|
+
* @export
|
|
8713
|
+
* @interface UpdatePartRequestData
|
|
8714
|
+
*/
|
|
8715
|
+
export interface UpdatePartRequestData {
|
|
8716
|
+
/**
|
|
8717
|
+
* Resource object type.
|
|
8718
|
+
* @type {string}
|
|
8719
|
+
* @memberof UpdatePartRequestData
|
|
8720
|
+
*/
|
|
8721
|
+
type: string;
|
|
8722
|
+
/**
|
|
8723
|
+
*
|
|
8724
|
+
* @type {UpdatePartRequestDataAttributes}
|
|
8725
|
+
* @memberof UpdatePartRequestData
|
|
8726
|
+
*/
|
|
8727
|
+
attributes: UpdatePartRequestDataAttributes;
|
|
8728
|
+
}
|
|
8729
|
+
/**
|
|
8730
|
+
*
|
|
8731
|
+
* @export
|
|
8732
|
+
* @interface UpdatePartRequestDataAttributes
|
|
8733
|
+
*/
|
|
8734
|
+
export interface UpdatePartRequestDataAttributes {
|
|
8735
|
+
/**
|
|
8736
|
+
* Name to be used for the root part.
|
|
8737
|
+
* @type {string}
|
|
8738
|
+
* @memberof UpdatePartRequestDataAttributes
|
|
8739
|
+
*/
|
|
8740
|
+
name?: string;
|
|
8741
|
+
}
|
|
8603
8742
|
/**
|
|
8604
8743
|
*
|
|
8605
8744
|
* @export
|
|
@@ -10151,6 +10290,52 @@ export interface WebhookSubscriptionList {
|
|
|
10151
10290
|
[key: string]: Link;
|
|
10152
10291
|
};
|
|
10153
10292
|
}
|
|
10293
|
+
/**
|
|
10294
|
+
* A sceneViewId to be associated as a reference.
|
|
10295
|
+
* @export
|
|
10296
|
+
* @interface WithSceneViewId
|
|
10297
|
+
*/
|
|
10298
|
+
export interface WithSceneViewId {
|
|
10299
|
+
/**
|
|
10300
|
+
*
|
|
10301
|
+
* @type {string}
|
|
10302
|
+
* @memberof WithSceneViewId
|
|
10303
|
+
*/
|
|
10304
|
+
type: WithSceneViewIdTypeEnum;
|
|
10305
|
+
/**
|
|
10306
|
+
* ID of the resource.
|
|
10307
|
+
* @type {string}
|
|
10308
|
+
* @memberof WithSceneViewId
|
|
10309
|
+
*/
|
|
10310
|
+
sceneViewId: string;
|
|
10311
|
+
}
|
|
10312
|
+
export declare const WithSceneViewIdTypeEnum: {
|
|
10313
|
+
readonly SceneViewId: "scene-view-id";
|
|
10314
|
+
};
|
|
10315
|
+
export declare type WithSceneViewIdTypeEnum = (typeof WithSceneViewIdTypeEnum)[keyof typeof WithSceneViewIdTypeEnum];
|
|
10316
|
+
/**
|
|
10317
|
+
* A sceneViewStateId to be associated as a reference.
|
|
10318
|
+
* @export
|
|
10319
|
+
* @interface WithSceneViewStateId
|
|
10320
|
+
*/
|
|
10321
|
+
export interface WithSceneViewStateId {
|
|
10322
|
+
/**
|
|
10323
|
+
*
|
|
10324
|
+
* @type {string}
|
|
10325
|
+
* @memberof WithSceneViewStateId
|
|
10326
|
+
*/
|
|
10327
|
+
type: WithSceneViewStateIdTypeEnum;
|
|
10328
|
+
/**
|
|
10329
|
+
* ID of the resource.
|
|
10330
|
+
* @type {string}
|
|
10331
|
+
* @memberof WithSceneViewStateId
|
|
10332
|
+
*/
|
|
10333
|
+
sceneViewStateId: string;
|
|
10334
|
+
}
|
|
10335
|
+
export declare const WithSceneViewStateIdTypeEnum: {
|
|
10336
|
+
readonly SceneViewStateId: "scene-view-state-id";
|
|
10337
|
+
};
|
|
10338
|
+
export declare type WithSceneViewStateIdTypeEnum = (typeof WithSceneViewStateIdTypeEnum)[keyof typeof WithSceneViewStateIdTypeEnum];
|
|
10154
10339
|
/**
|
|
10155
10340
|
* AccountsApi - axios parameter creator
|
|
10156
10341
|
* @export
|
|
@@ -13630,6 +13815,14 @@ export declare const PartsApiAxiosParamCreator: (configuration?: Configuration |
|
|
|
13630
13815
|
* @throws {RequiredError}
|
|
13631
13816
|
*/
|
|
13632
13817
|
getQueuedPartDeletion: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
13818
|
+
/**
|
|
13819
|
+
* Update a `part` by ID
|
|
13820
|
+
* @param {string} id The `part` ID.
|
|
13821
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
13822
|
+
* @param {*} [options] Override http request option.
|
|
13823
|
+
* @throws {RequiredError}
|
|
13824
|
+
*/
|
|
13825
|
+
updatePart: (id: string, updatePartRequest: UpdatePartRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
13633
13826
|
};
|
|
13634
13827
|
/**
|
|
13635
13828
|
* PartsApi - functional programming interface
|
|
@@ -13675,6 +13868,14 @@ export declare const PartsApiFp: (configuration?: Configuration | undefined) =>
|
|
|
13675
13868
|
* @throws {RequiredError}
|
|
13676
13869
|
*/
|
|
13677
13870
|
getQueuedPartDeletion(id: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<QueuedJob>>;
|
|
13871
|
+
/**
|
|
13872
|
+
* Update a `part` by ID
|
|
13873
|
+
* @param {string} id The `part` ID.
|
|
13874
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
13875
|
+
* @param {*} [options] Override http request option.
|
|
13876
|
+
* @throws {RequiredError}
|
|
13877
|
+
*/
|
|
13878
|
+
updatePart(id: string, updatePartRequest: UpdatePartRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
|
|
13678
13879
|
};
|
|
13679
13880
|
/**
|
|
13680
13881
|
* PartsApi - factory interface
|
|
@@ -13720,6 +13921,14 @@ export declare const PartsApiFactory: (configuration?: Configuration | undefined
|
|
|
13720
13921
|
* @throws {RequiredError}
|
|
13721
13922
|
*/
|
|
13722
13923
|
getQueuedPartDeletion(id: string, options?: any): AxiosPromise<QueuedJob>;
|
|
13924
|
+
/**
|
|
13925
|
+
* Update a `part` by ID
|
|
13926
|
+
* @param {string} id The `part` ID.
|
|
13927
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
13928
|
+
* @param {*} [options] Override http request option.
|
|
13929
|
+
* @throws {RequiredError}
|
|
13930
|
+
*/
|
|
13931
|
+
updatePart(id: string, updatePartRequest: UpdatePartRequest, options?: any): AxiosPromise<void>;
|
|
13723
13932
|
};
|
|
13724
13933
|
/**
|
|
13725
13934
|
* Request parameters for createPart operation in PartsApi.
|
|
@@ -13810,6 +14019,25 @@ export interface PartsApiGetQueuedPartDeletionRequest {
|
|
|
13810
14019
|
*/
|
|
13811
14020
|
readonly id: string;
|
|
13812
14021
|
}
|
|
14022
|
+
/**
|
|
14023
|
+
* Request parameters for updatePart operation in PartsApi.
|
|
14024
|
+
* @export
|
|
14025
|
+
* @interface PartsApiUpdatePartRequest
|
|
14026
|
+
*/
|
|
14027
|
+
export interface PartsApiUpdatePartRequest {
|
|
14028
|
+
/**
|
|
14029
|
+
* The `part` ID.
|
|
14030
|
+
* @type {string}
|
|
14031
|
+
* @memberof PartsApiUpdatePart
|
|
14032
|
+
*/
|
|
14033
|
+
readonly id: string;
|
|
14034
|
+
/**
|
|
14035
|
+
*
|
|
14036
|
+
* @type {UpdatePartRequest}
|
|
14037
|
+
* @memberof PartsApiUpdatePart
|
|
14038
|
+
*/
|
|
14039
|
+
readonly updatePartRequest: UpdatePartRequest;
|
|
14040
|
+
}
|
|
13813
14041
|
/**
|
|
13814
14042
|
* PartsApi - object-oriented interface
|
|
13815
14043
|
* @export
|
|
@@ -13857,6 +14085,14 @@ export declare class PartsApi extends BaseAPI {
|
|
|
13857
14085
|
* @memberof PartsApi
|
|
13858
14086
|
*/
|
|
13859
14087
|
getQueuedPartDeletion(requestParameters: PartsApiGetQueuedPartDeletionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<QueuedJob, any>>;
|
|
14088
|
+
/**
|
|
14089
|
+
* Update a `part` by ID
|
|
14090
|
+
* @param {PartsApiUpdatePartRequest} requestParameters Request parameters.
|
|
14091
|
+
* @param {*} [options] Override http request option.
|
|
14092
|
+
* @throws {RequiredError}
|
|
14093
|
+
* @memberof PartsApi
|
|
14094
|
+
*/
|
|
14095
|
+
updatePart(requestParameters: PartsApiUpdatePartRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
13860
14096
|
}
|
|
13861
14097
|
/**
|
|
13862
14098
|
* PermissionGrantsApi - axios parameter creator
|
|
@@ -17325,6 +17561,13 @@ export declare const ThreadsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
17325
17561
|
* @throws {RequiredError}
|
|
17326
17562
|
*/
|
|
17327
17563
|
getThread: (id: string, fieldsThread?: string | undefined, include?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17564
|
+
/**
|
|
17565
|
+
* Get a `thread`s `user`s.
|
|
17566
|
+
* @param {string} id The `thread` ID.
|
|
17567
|
+
* @param {*} [options] Override http request option.
|
|
17568
|
+
* @throws {RequiredError}
|
|
17569
|
+
*/
|
|
17570
|
+
getThreadParticipants: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
17328
17571
|
/**
|
|
17329
17572
|
* Get a page of `thread`s.
|
|
17330
17573
|
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
@@ -17359,6 +17602,13 @@ export declare const ThreadsApiFp: (configuration?: Configuration | undefined) =
|
|
|
17359
17602
|
* @throws {RequiredError}
|
|
17360
17603
|
*/
|
|
17361
17604
|
getThread(id: string, fieldsThread?: string | undefined, include?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Thread>>;
|
|
17605
|
+
/**
|
|
17606
|
+
* Get a `thread`s `user`s.
|
|
17607
|
+
* @param {string} id The `thread` ID.
|
|
17608
|
+
* @param {*} [options] Override http request option.
|
|
17609
|
+
* @throws {RequiredError}
|
|
17610
|
+
*/
|
|
17611
|
+
getThreadParticipants(id: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<UserList>>;
|
|
17362
17612
|
/**
|
|
17363
17613
|
* Get a page of `thread`s.
|
|
17364
17614
|
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
@@ -17393,6 +17643,13 @@ export declare const ThreadsApiFactory: (configuration?: Configuration | undefin
|
|
|
17393
17643
|
* @throws {RequiredError}
|
|
17394
17644
|
*/
|
|
17395
17645
|
getThread(id: string, fieldsThread?: string | undefined, include?: string | undefined, options?: any): AxiosPromise<Thread>;
|
|
17646
|
+
/**
|
|
17647
|
+
* Get a `thread`s `user`s.
|
|
17648
|
+
* @param {string} id The `thread` ID.
|
|
17649
|
+
* @param {*} [options] Override http request option.
|
|
17650
|
+
* @throws {RequiredError}
|
|
17651
|
+
*/
|
|
17652
|
+
getThreadParticipants(id: string, options?: any): AxiosPromise<UserList>;
|
|
17396
17653
|
/**
|
|
17397
17654
|
* Get a page of `thread`s.
|
|
17398
17655
|
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
@@ -17449,6 +17706,19 @@ export interface ThreadsApiGetThreadRequest {
|
|
|
17449
17706
|
*/
|
|
17450
17707
|
readonly include?: string;
|
|
17451
17708
|
}
|
|
17709
|
+
/**
|
|
17710
|
+
* Request parameters for getThreadParticipants operation in ThreadsApi.
|
|
17711
|
+
* @export
|
|
17712
|
+
* @interface ThreadsApiGetThreadParticipantsRequest
|
|
17713
|
+
*/
|
|
17714
|
+
export interface ThreadsApiGetThreadParticipantsRequest {
|
|
17715
|
+
/**
|
|
17716
|
+
* The `thread` ID.
|
|
17717
|
+
* @type {string}
|
|
17718
|
+
* @memberof ThreadsApiGetThreadParticipants
|
|
17719
|
+
*/
|
|
17720
|
+
readonly id: string;
|
|
17721
|
+
}
|
|
17452
17722
|
/**
|
|
17453
17723
|
* Request parameters for getThreads operation in ThreadsApi.
|
|
17454
17724
|
* @export
|
|
@@ -17509,6 +17779,14 @@ export declare class ThreadsApi extends BaseAPI {
|
|
|
17509
17779
|
* @memberof ThreadsApi
|
|
17510
17780
|
*/
|
|
17511
17781
|
getThread(requestParameters: ThreadsApiGetThreadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Thread, any>>;
|
|
17782
|
+
/**
|
|
17783
|
+
* Get a `thread`s `user`s.
|
|
17784
|
+
* @param {ThreadsApiGetThreadParticipantsRequest} requestParameters Request parameters.
|
|
17785
|
+
* @param {*} [options] Override http request option.
|
|
17786
|
+
* @throws {RequiredError}
|
|
17787
|
+
* @memberof ThreadsApi
|
|
17788
|
+
*/
|
|
17789
|
+
getThreadParticipants(requestParameters: ThreadsApiGetThreadParticipantsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UserList, any>>;
|
|
17512
17790
|
/**
|
|
17513
17791
|
* Get a page of `thread`s.
|
|
17514
17792
|
* @param {ThreadsApiGetThreadsRequest} requestParameters Request parameters.
|
package/dist/esm/api.js
CHANGED
|
@@ -89,6 +89,9 @@ export const CreateSceneItemRequestDataAttributesResolutionRuleEnum = {
|
|
|
89
89
|
LatestIteration: 'latest-iteration',
|
|
90
90
|
LatestRevision: 'latest-revision',
|
|
91
91
|
};
|
|
92
|
+
export const CreateSceneReferenceTypeEnum = {
|
|
93
|
+
SceneReference: 'scene-reference',
|
|
94
|
+
};
|
|
92
95
|
export const CreateSearchSessionRequestDataTypeEnum = {
|
|
93
96
|
SearchSession: 'search-session',
|
|
94
97
|
};
|
|
@@ -214,6 +217,9 @@ export const SceneItemQueryOperandTypeEnum = {
|
|
|
214
217
|
export const SceneItemRelationshipDataTypeEnum = {
|
|
215
218
|
SceneItem: 'scene-item',
|
|
216
219
|
};
|
|
220
|
+
export const SceneReferenceTypeEnum = {
|
|
221
|
+
SceneReference: 'scene-reference',
|
|
222
|
+
};
|
|
217
223
|
export const SceneRelationshipDataTypeEnum = {
|
|
218
224
|
Scene: 'scene',
|
|
219
225
|
};
|
|
@@ -309,6 +315,12 @@ export const WebhookSubscriptionDataAttributesStatusEnum = {
|
|
|
309
315
|
Active: 'active',
|
|
310
316
|
Paused: 'paused',
|
|
311
317
|
};
|
|
318
|
+
export const WithSceneViewIdTypeEnum = {
|
|
319
|
+
SceneViewId: 'scene-view-id',
|
|
320
|
+
};
|
|
321
|
+
export const WithSceneViewStateIdTypeEnum = {
|
|
322
|
+
SceneViewStateId: 'scene-view-state-id',
|
|
323
|
+
};
|
|
312
324
|
/**
|
|
313
325
|
* AccountsApi - axios parameter creator
|
|
314
326
|
* @export
|
|
@@ -5330,6 +5342,42 @@ export const PartsApiAxiosParamCreator = function (configuration) {
|
|
|
5330
5342
|
options: localVarRequestOptions,
|
|
5331
5343
|
};
|
|
5332
5344
|
}),
|
|
5345
|
+
/**
|
|
5346
|
+
* Update a `part` by ID
|
|
5347
|
+
* @param {string} id The `part` ID.
|
|
5348
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
5349
|
+
* @param {*} [options] Override http request option.
|
|
5350
|
+
* @throws {RequiredError}
|
|
5351
|
+
*/
|
|
5352
|
+
updatePart: (id, updatePartRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
5353
|
+
var _f;
|
|
5354
|
+
// verify required parameter 'id' is not null or undefined
|
|
5355
|
+
assertParamExists('updatePart', 'id', id);
|
|
5356
|
+
// verify required parameter 'updatePartRequest' is not null or undefined
|
|
5357
|
+
assertParamExists('updatePart', 'updatePartRequest', updatePartRequest);
|
|
5358
|
+
const localVarPath = `/parts/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
5359
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5360
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5361
|
+
let baseOptions;
|
|
5362
|
+
if (configuration) {
|
|
5363
|
+
baseOptions = configuration.baseOptions;
|
|
5364
|
+
}
|
|
5365
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
5366
|
+
const localVarHeaderParameter = {};
|
|
5367
|
+
const localVarQueryParameter = {};
|
|
5368
|
+
// authentication OAuth2 required
|
|
5369
|
+
// oauth required
|
|
5370
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
5371
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
5372
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5373
|
+
let headersFromBaseOptions = (_f = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _f !== void 0 ? _f : {};
|
|
5374
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
5375
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updatePartRequest, localVarRequestOptions, configuration);
|
|
5376
|
+
return {
|
|
5377
|
+
url: toPathString(localVarUrlObj),
|
|
5378
|
+
options: localVarRequestOptions,
|
|
5379
|
+
};
|
|
5380
|
+
}),
|
|
5333
5381
|
};
|
|
5334
5382
|
};
|
|
5335
5383
|
/**
|
|
@@ -5403,6 +5451,19 @@ export const PartsApiFp = function (configuration) {
|
|
|
5403
5451
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5404
5452
|
});
|
|
5405
5453
|
},
|
|
5454
|
+
/**
|
|
5455
|
+
* Update a `part` by ID
|
|
5456
|
+
* @param {string} id The `part` ID.
|
|
5457
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
5458
|
+
* @param {*} [options] Override http request option.
|
|
5459
|
+
* @throws {RequiredError}
|
|
5460
|
+
*/
|
|
5461
|
+
updatePart(id, updatePartRequest, options) {
|
|
5462
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
5463
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePart(id, updatePartRequest, options);
|
|
5464
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5465
|
+
});
|
|
5466
|
+
},
|
|
5406
5467
|
};
|
|
5407
5468
|
};
|
|
5408
5469
|
/**
|
|
@@ -5471,6 +5532,18 @@ export const PartsApiFactory = function (configuration, basePath, axios) {
|
|
|
5471
5532
|
.getQueuedPartDeletion(id, options)
|
|
5472
5533
|
.then((request) => request(axios, basePath));
|
|
5473
5534
|
},
|
|
5535
|
+
/**
|
|
5536
|
+
* Update a `part` by ID
|
|
5537
|
+
* @param {string} id The `part` ID.
|
|
5538
|
+
* @param {UpdatePartRequest} updatePartRequest
|
|
5539
|
+
* @param {*} [options] Override http request option.
|
|
5540
|
+
* @throws {RequiredError}
|
|
5541
|
+
*/
|
|
5542
|
+
updatePart(id, updatePartRequest, options) {
|
|
5543
|
+
return localVarFp
|
|
5544
|
+
.updatePart(id, updatePartRequest, options)
|
|
5545
|
+
.then((request) => request(axios, basePath));
|
|
5546
|
+
},
|
|
5474
5547
|
};
|
|
5475
5548
|
};
|
|
5476
5549
|
/**
|
|
@@ -5540,6 +5613,18 @@ export class PartsApi extends BaseAPI {
|
|
|
5540
5613
|
.getQueuedPartDeletion(requestParameters.id, options)
|
|
5541
5614
|
.then((request) => request(this.axios, this.basePath));
|
|
5542
5615
|
}
|
|
5616
|
+
/**
|
|
5617
|
+
* Update a `part` by ID
|
|
5618
|
+
* @param {PartsApiUpdatePartRequest} requestParameters Request parameters.
|
|
5619
|
+
* @param {*} [options] Override http request option.
|
|
5620
|
+
* @throws {RequiredError}
|
|
5621
|
+
* @memberof PartsApi
|
|
5622
|
+
*/
|
|
5623
|
+
updatePart(requestParameters, options) {
|
|
5624
|
+
return PartsApiFp(this.configuration)
|
|
5625
|
+
.updatePart(requestParameters.id, requestParameters.updatePartRequest, options)
|
|
5626
|
+
.then((request) => request(this.axios, this.basePath));
|
|
5627
|
+
}
|
|
5543
5628
|
}
|
|
5544
5629
|
/**
|
|
5545
5630
|
* PermissionGrantsApi - axios parameter creator
|
|
@@ -10392,6 +10477,37 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
10392
10477
|
options: localVarRequestOptions,
|
|
10393
10478
|
};
|
|
10394
10479
|
}),
|
|
10480
|
+
/**
|
|
10481
|
+
* Get a `thread`s `user`s.
|
|
10482
|
+
* @param {string} id The `thread` ID.
|
|
10483
|
+
* @param {*} [options] Override http request option.
|
|
10484
|
+
* @throws {RequiredError}
|
|
10485
|
+
*/
|
|
10486
|
+
getThreadParticipants: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10487
|
+
var _c;
|
|
10488
|
+
// verify required parameter 'id' is not null or undefined
|
|
10489
|
+
assertParamExists('getThreadParticipants', 'id', id);
|
|
10490
|
+
const localVarPath = `/threads/{id}/users`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10491
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10492
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10493
|
+
let baseOptions;
|
|
10494
|
+
if (configuration) {
|
|
10495
|
+
baseOptions = configuration.baseOptions;
|
|
10496
|
+
}
|
|
10497
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10498
|
+
const localVarHeaderParameter = {};
|
|
10499
|
+
const localVarQueryParameter = {};
|
|
10500
|
+
// authentication OAuth2 required
|
|
10501
|
+
// oauth required
|
|
10502
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
10503
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10504
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
10505
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10506
|
+
return {
|
|
10507
|
+
url: toPathString(localVarUrlObj),
|
|
10508
|
+
options: localVarRequestOptions,
|
|
10509
|
+
};
|
|
10510
|
+
}),
|
|
10395
10511
|
/**
|
|
10396
10512
|
* Get a page of `thread`s.
|
|
10397
10513
|
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
@@ -10403,7 +10519,7 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
10403
10519
|
* @throws {RequiredError}
|
|
10404
10520
|
*/
|
|
10405
10521
|
getThreads: (fieldsThread, filterCollaborationContextId, pageCursor, pageSize, include, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10406
|
-
var
|
|
10522
|
+
var _d;
|
|
10407
10523
|
const localVarPath = `/threads`;
|
|
10408
10524
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10409
10525
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10434,7 +10550,7 @@ export const ThreadsApiAxiosParamCreator = function (configuration) {
|
|
|
10434
10550
|
localVarQueryParameter['include'] = include;
|
|
10435
10551
|
}
|
|
10436
10552
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10437
|
-
let headersFromBaseOptions = (
|
|
10553
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
10438
10554
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10439
10555
|
return {
|
|
10440
10556
|
url: toPathString(localVarUrlObj),
|
|
@@ -10477,6 +10593,18 @@ export const ThreadsApiFp = function (configuration) {
|
|
|
10477
10593
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10478
10594
|
});
|
|
10479
10595
|
},
|
|
10596
|
+
/**
|
|
10597
|
+
* Get a `thread`s `user`s.
|
|
10598
|
+
* @param {string} id The `thread` ID.
|
|
10599
|
+
* @param {*} [options] Override http request option.
|
|
10600
|
+
* @throws {RequiredError}
|
|
10601
|
+
*/
|
|
10602
|
+
getThreadParticipants(id, options) {
|
|
10603
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
10604
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getThreadParticipants(id, options);
|
|
10605
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10606
|
+
});
|
|
10607
|
+
},
|
|
10480
10608
|
/**
|
|
10481
10609
|
* Get a page of `thread`s.
|
|
10482
10610
|
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
@@ -10527,6 +10655,17 @@ export const ThreadsApiFactory = function (configuration, basePath, axios) {
|
|
|
10527
10655
|
.getThread(id, fieldsThread, include, options)
|
|
10528
10656
|
.then((request) => request(axios, basePath));
|
|
10529
10657
|
},
|
|
10658
|
+
/**
|
|
10659
|
+
* Get a `thread`s `user`s.
|
|
10660
|
+
* @param {string} id The `thread` ID.
|
|
10661
|
+
* @param {*} [options] Override http request option.
|
|
10662
|
+
* @throws {RequiredError}
|
|
10663
|
+
*/
|
|
10664
|
+
getThreadParticipants(id, options) {
|
|
10665
|
+
return localVarFp
|
|
10666
|
+
.getThreadParticipants(id, options)
|
|
10667
|
+
.then((request) => request(axios, basePath));
|
|
10668
|
+
},
|
|
10530
10669
|
/**
|
|
10531
10670
|
* Get a page of `thread`s.
|
|
10532
10671
|
* @param {string} [fieldsThread] Comma-separated list of fields to return in response. An empty value returns no fields. Due to its potential size, metadata is only returned if explicitly requested.
|
|
@@ -10575,6 +10714,18 @@ export class ThreadsApi extends BaseAPI {
|
|
|
10575
10714
|
.getThread(requestParameters.id, requestParameters.fieldsThread, requestParameters.include, options)
|
|
10576
10715
|
.then((request) => request(this.axios, this.basePath));
|
|
10577
10716
|
}
|
|
10717
|
+
/**
|
|
10718
|
+
* Get a `thread`s `user`s.
|
|
10719
|
+
* @param {ThreadsApiGetThreadParticipantsRequest} requestParameters Request parameters.
|
|
10720
|
+
* @param {*} [options] Override http request option.
|
|
10721
|
+
* @throws {RequiredError}
|
|
10722
|
+
* @memberof ThreadsApi
|
|
10723
|
+
*/
|
|
10724
|
+
getThreadParticipants(requestParameters, options) {
|
|
10725
|
+
return ThreadsApiFp(this.configuration)
|
|
10726
|
+
.getThreadParticipants(requestParameters.id, options)
|
|
10727
|
+
.then((request) => request(this.axios, this.basePath));
|
|
10728
|
+
}
|
|
10578
10729
|
/**
|
|
10579
10730
|
* Get a page of `thread`s.
|
|
10580
10731
|
* @param {ThreadsApiGetThreadsRequest} requestParameters Request parameters.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.
|
|
1
|
+
export declare const version = "0.33.0";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '0.
|
|
1
|
+
export const version = '0.33.0';
|
package/package.json
CHANGED