@vertexvis/api-client-node 0.35.0 → 0.36.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 CHANGED
@@ -542,10 +542,10 @@ export interface AttachmentData {
542
542
  export interface AttachmentDataAttributes {
543
543
  /**
544
544
  * The underlying content of the attachment
545
- * @type {FileAttachment | SceneViewStateAttachment}
545
+ * @type {FileAttachment}
546
546
  * @memberof AttachmentDataAttributes
547
547
  */
548
- content: FileAttachment | SceneViewStateAttachment;
548
+ content: FileAttachment;
549
549
  }
550
550
  /**
551
551
  *
@@ -1177,10 +1177,10 @@ export declare type CreateAttachmentRequestDataTypeEnum = (typeof CreateAttachme
1177
1177
  export interface CreateAttachmentRequestDataAttributes {
1178
1178
  /**
1179
1179
  *
1180
- * @type {WithFileContent | WithSceneViewStateContent}
1180
+ * @type {WithFileContent}
1181
1181
  * @memberof CreateAttachmentRequestDataAttributes
1182
1182
  */
1183
- withContent: WithFileContent | WithSceneViewStateContent;
1183
+ withContent: WithFileContent;
1184
1184
  }
1185
1185
  /**
1186
1186
  *
@@ -3407,11 +3407,18 @@ export interface DownloadUrlData {
3407
3407
  */
3408
3408
  export interface DownloadUrlDataAttributes {
3409
3409
  /**
3410
- *
3410
+ * Deprecated. Use `uri` instead.
3411
3411
  * @type {string}
3412
3412
  * @memberof DownloadUrlDataAttributes
3413
+ * @deprecated
3413
3414
  */
3414
3415
  downloadUrl: string;
3416
+ /**
3417
+ *
3418
+ * @type {string}
3419
+ * @memberof DownloadUrlDataAttributes
3420
+ */
3421
+ uri: string;
3415
3422
  }
3416
3423
  /**
3417
3424
  *
@@ -3662,6 +3669,24 @@ export interface FileAttachment {
3662
3669
  * @memberof FileAttachment
3663
3670
  */
3664
3671
  id: string;
3672
+ /**
3673
+ *
3674
+ * @type {string}
3675
+ * @memberof FileAttachment
3676
+ */
3677
+ name: string;
3678
+ /**
3679
+ *
3680
+ * @type {string}
3681
+ * @memberof FileAttachment
3682
+ */
3683
+ status: string;
3684
+ /**
3685
+ *
3686
+ * @type {number}
3687
+ * @memberof FileAttachment
3688
+ */
3689
+ size?: number;
3665
3690
  }
3666
3691
  export declare const FileAttachmentTypeEnum: {
3667
3692
  readonly File: "file";
@@ -5666,6 +5691,73 @@ export interface Point {
5666
5691
  */
5667
5692
  dy: number;
5668
5693
  }
5694
+ /**
5695
+ *
5696
+ * @export
5697
+ * @interface PresignedUrl
5698
+ */
5699
+ export interface PresignedUrl {
5700
+ /**
5701
+ *
5702
+ * @type {PresignedUrlData}
5703
+ * @memberof PresignedUrl
5704
+ */
5705
+ data: PresignedUrlData;
5706
+ /**
5707
+ *
5708
+ * @type {{ [key: string]: Link; }}
5709
+ * @memberof PresignedUrl
5710
+ */
5711
+ links?: {
5712
+ [key: string]: Link;
5713
+ };
5714
+ }
5715
+ /**
5716
+ *
5717
+ * @export
5718
+ * @interface PresignedUrlData
5719
+ */
5720
+ export interface PresignedUrlData {
5721
+ /**
5722
+ *
5723
+ * @type {string}
5724
+ * @memberof PresignedUrlData
5725
+ */
5726
+ type: string;
5727
+ /**
5728
+ * ID of the resource.
5729
+ * @type {string}
5730
+ * @memberof PresignedUrlData
5731
+ */
5732
+ id: string;
5733
+ /**
5734
+ *
5735
+ * @type {PresignedUrlDataAttributes}
5736
+ * @memberof PresignedUrlData
5737
+ */
5738
+ attributes: PresignedUrlDataAttributes;
5739
+ /**
5740
+ *
5741
+ * @type {{ [key: string]: Link; }}
5742
+ * @memberof PresignedUrlData
5743
+ */
5744
+ links?: {
5745
+ [key: string]: Link;
5746
+ };
5747
+ }
5748
+ /**
5749
+ *
5750
+ * @export
5751
+ * @interface PresignedUrlDataAttributes
5752
+ */
5753
+ export interface PresignedUrlDataAttributes {
5754
+ /**
5755
+ *
5756
+ * @type {string}
5757
+ * @memberof PresignedUrlDataAttributes
5758
+ */
5759
+ uri: string;
5760
+ }
5669
5761
  /**
5670
5762
  *
5671
5763
  * @export
@@ -7696,6 +7788,12 @@ export interface SceneReference {
7696
7788
  * @memberof SceneReference
7697
7789
  */
7698
7790
  sceneItemId?: string;
7791
+ /**
7792
+ *
7793
+ * @type {Array<ThumbnailData>}
7794
+ * @memberof SceneReference
7795
+ */
7796
+ thumbnails: Array<ThumbnailData>;
7699
7797
  }
7700
7798
  export declare const SceneReferenceTypeEnum: {
7701
7799
  readonly SceneReference: "scene-reference";
@@ -8127,29 +8225,6 @@ export interface SceneViewState {
8127
8225
  [key: string]: Link;
8128
8226
  };
8129
8227
  }
8130
- /**
8131
- *
8132
- * @export
8133
- * @interface SceneViewStateAttachment
8134
- */
8135
- export interface SceneViewStateAttachment {
8136
- /**
8137
- *
8138
- * @type {string}
8139
- * @memberof SceneViewStateAttachment
8140
- */
8141
- type: SceneViewStateAttachmentTypeEnum;
8142
- /**
8143
- * ID of the resource.
8144
- * @type {string}
8145
- * @memberof SceneViewStateAttachment
8146
- */
8147
- id: string;
8148
- }
8149
- export declare const SceneViewStateAttachmentTypeEnum: {
8150
- readonly SceneViewState: "scene-view-state";
8151
- };
8152
- export declare type SceneViewStateAttachmentTypeEnum = (typeof SceneViewStateAttachmentTypeEnum)[keyof typeof SceneViewStateAttachmentTypeEnum];
8153
8228
  /**
8154
8229
  *
8155
8230
  * @export
@@ -9058,6 +9133,14 @@ export interface UpdateFileCollectionRequestDataAttributes {
9058
9133
  * @memberof UpdateFileCollectionRequestDataAttributes
9059
9134
  */
9060
9135
  expiry?: number;
9136
+ /**
9137
+ * Updates to file collection metadata. Null values delete the associated key/value pair.
9138
+ * @type {{ [key: string]: string; }}
9139
+ * @memberof UpdateFileCollectionRequestDataAttributes
9140
+ */
9141
+ metadata?: {
9142
+ [key: string]: string;
9143
+ };
9061
9144
  }
9062
9145
  /**
9063
9146
  *
@@ -9109,6 +9192,14 @@ export interface UpdateFileRequestDataAttributes {
9109
9192
  * @memberof UpdateFileRequestDataAttributes
9110
9193
  */
9111
9194
  expiry?: number | null;
9195
+ /**
9196
+ * Updates to file metadata. Null values delete the associated key/value pair.
9197
+ * @type {{ [key: string]: string; }}
9198
+ * @memberof UpdateFileRequestDataAttributes
9199
+ */
9200
+ metadata?: {
9201
+ [key: string]: string;
9202
+ };
9112
9203
  }
9113
9204
  /**
9114
9205
  * An operation that updates items with the specified revision to the default rendition.
@@ -9892,73 +9983,6 @@ export declare const UpdateWebhookSubscriptionRequestDataAttributesStatusEnum: {
9892
9983
  readonly Paused: "paused";
9893
9984
  };
9894
9985
  export declare type UpdateWebhookSubscriptionRequestDataAttributesStatusEnum = (typeof UpdateWebhookSubscriptionRequestDataAttributesStatusEnum)[keyof typeof UpdateWebhookSubscriptionRequestDataAttributesStatusEnum];
9895
- /**
9896
- *
9897
- * @export
9898
- * @interface UploadUrl
9899
- */
9900
- export interface UploadUrl {
9901
- /**
9902
- *
9903
- * @type {UploadUrlData}
9904
- * @memberof UploadUrl
9905
- */
9906
- data: UploadUrlData;
9907
- /**
9908
- *
9909
- * @type {{ [key: string]: Link; }}
9910
- * @memberof UploadUrl
9911
- */
9912
- links?: {
9913
- [key: string]: Link;
9914
- };
9915
- }
9916
- /**
9917
- *
9918
- * @export
9919
- * @interface UploadUrlData
9920
- */
9921
- export interface UploadUrlData {
9922
- /**
9923
- *
9924
- * @type {string}
9925
- * @memberof UploadUrlData
9926
- */
9927
- type: string;
9928
- /**
9929
- * ID of the resource.
9930
- * @type {string}
9931
- * @memberof UploadUrlData
9932
- */
9933
- id: string;
9934
- /**
9935
- *
9936
- * @type {UploadUrlDataAttributes}
9937
- * @memberof UploadUrlData
9938
- */
9939
- attributes: UploadUrlDataAttributes;
9940
- /**
9941
- *
9942
- * @type {{ [key: string]: Link; }}
9943
- * @memberof UploadUrlData
9944
- */
9945
- links?: {
9946
- [key: string]: Link;
9947
- };
9948
- }
9949
- /**
9950
- *
9951
- * @export
9952
- * @interface UploadUrlDataAttributes
9953
- */
9954
- export interface UploadUrlDataAttributes {
9955
- /**
9956
- *
9957
- * @type {string}
9958
- * @memberof UploadUrlDataAttributes
9959
- */
9960
- uploadUrl: string;
9961
- }
9962
9986
  /**
9963
9987
  *
9964
9988
  * @export
@@ -10985,29 +11009,6 @@ export declare const WithSceneViewIdTypeEnum: {
10985
11009
  readonly SceneViewId: "scene-view-id";
10986
11010
  };
10987
11011
  export declare type WithSceneViewIdTypeEnum = (typeof WithSceneViewIdTypeEnum)[keyof typeof WithSceneViewIdTypeEnum];
10988
- /**
10989
- *
10990
- * @export
10991
- * @interface WithSceneViewStateContent
10992
- */
10993
- export interface WithSceneViewStateContent {
10994
- /**
10995
- *
10996
- * @type {string}
10997
- * @memberof WithSceneViewStateContent
10998
- */
10999
- type: WithSceneViewStateContentTypeEnum;
11000
- /**
11001
- *
11002
- * @type {WithSceneViewId | WithSceneViewStateId}
11003
- * @memberof WithSceneViewStateContent
11004
- */
11005
- withSceneViewState: WithSceneViewId | WithSceneViewStateId;
11006
- }
11007
- export declare const WithSceneViewStateContentTypeEnum: {
11008
- readonly SceneViewStateContent: "scene-view-state-content";
11009
- };
11010
- export declare type WithSceneViewStateContentTypeEnum = (typeof WithSceneViewStateContentTypeEnum)[keyof typeof WithSceneViewStateContentTypeEnum];
11011
11012
  /**
11012
11013
  * A sceneViewStateId to be associated as a reference.
11013
11014
  * @export
@@ -11583,6 +11584,22 @@ export declare const AttachmentsApiAxiosParamCreator: (configuration?: Configura
11583
11584
  * @throws {RequiredError}
11584
11585
  */
11585
11586
  createAttachment: (createAttachmentRequest: CreateAttachmentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
11587
+ /**
11588
+ * Create a download url for a file `attachment` by ID.
11589
+ * @param {string} id The &#x60;attachment&#x60; ID.
11590
+ * @param {CreateDownloadRequest} createDownloadRequest
11591
+ * @param {*} [options] Override http request option.
11592
+ * @throws {RequiredError}
11593
+ */
11594
+ createAttachmentDownloadUrl: (id: string, createDownloadRequest: CreateDownloadRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
11595
+ /**
11596
+ * Create an upload url for a file `attachment` by ID.
11597
+ * @param {string} id The &#x60;attachment&#x60; ID.
11598
+ * @param {CreateUploadRequest} createUploadRequest
11599
+ * @param {*} [options] Override http request option.
11600
+ * @throws {RequiredError}
11601
+ */
11602
+ createAttachmentUploadUrl: (id: string, createUploadRequest: CreateUploadRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
11586
11603
  /**
11587
11604
  * List attachments **Preview:** This is a preview API and is subject to change.
11588
11605
  * @param {string} filterRelationshipId A relationship id to filter attachments for
@@ -11606,6 +11623,22 @@ export declare const AttachmentsApiFp: (configuration?: Configuration | undefine
11606
11623
  * @throws {RequiredError}
11607
11624
  */
11608
11625
  createAttachment(createAttachmentRequest: CreateAttachmentRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Attachment>>;
11626
+ /**
11627
+ * Create a download url for a file `attachment` by ID.
11628
+ * @param {string} id The &#x60;attachment&#x60; ID.
11629
+ * @param {CreateDownloadRequest} createDownloadRequest
11630
+ * @param {*} [options] Override http request option.
11631
+ * @throws {RequiredError}
11632
+ */
11633
+ createAttachmentDownloadUrl(id: string, createDownloadRequest: CreateDownloadRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PresignedUrl>>;
11634
+ /**
11635
+ * Create an upload url for a file `attachment` by ID.
11636
+ * @param {string} id The &#x60;attachment&#x60; ID.
11637
+ * @param {CreateUploadRequest} createUploadRequest
11638
+ * @param {*} [options] Override http request option.
11639
+ * @throws {RequiredError}
11640
+ */
11641
+ createAttachmentUploadUrl(id: string, createUploadRequest: CreateUploadRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PresignedUrl>>;
11609
11642
  /**
11610
11643
  * List attachments **Preview:** This is a preview API and is subject to change.
11611
11644
  * @param {string} filterRelationshipId A relationship id to filter attachments for
@@ -11629,6 +11662,22 @@ export declare const AttachmentsApiFactory: (configuration?: Configuration | und
11629
11662
  * @throws {RequiredError}
11630
11663
  */
11631
11664
  createAttachment(createAttachmentRequest: CreateAttachmentRequest, options?: any): AxiosPromise<Attachment>;
11665
+ /**
11666
+ * Create a download url for a file `attachment` by ID.
11667
+ * @param {string} id The &#x60;attachment&#x60; ID.
11668
+ * @param {CreateDownloadRequest} createDownloadRequest
11669
+ * @param {*} [options] Override http request option.
11670
+ * @throws {RequiredError}
11671
+ */
11672
+ createAttachmentDownloadUrl(id: string, createDownloadRequest: CreateDownloadRequest, options?: any): AxiosPromise<PresignedUrl>;
11673
+ /**
11674
+ * Create an upload url for a file `attachment` by ID.
11675
+ * @param {string} id The &#x60;attachment&#x60; ID.
11676
+ * @param {CreateUploadRequest} createUploadRequest
11677
+ * @param {*} [options] Override http request option.
11678
+ * @throws {RequiredError}
11679
+ */
11680
+ createAttachmentUploadUrl(id: string, createUploadRequest: CreateUploadRequest, options?: any): AxiosPromise<PresignedUrl>;
11632
11681
  /**
11633
11682
  * List attachments **Preview:** This is a preview API and is subject to change.
11634
11683
  * @param {string} filterRelationshipId A relationship id to filter attachments for
@@ -11653,6 +11702,44 @@ export interface AttachmentsApiCreateAttachmentRequest {
11653
11702
  */
11654
11703
  readonly createAttachmentRequest: CreateAttachmentRequest;
11655
11704
  }
11705
+ /**
11706
+ * Request parameters for createAttachmentDownloadUrl operation in AttachmentsApi.
11707
+ * @export
11708
+ * @interface AttachmentsApiCreateAttachmentDownloadUrlRequest
11709
+ */
11710
+ export interface AttachmentsApiCreateAttachmentDownloadUrlRequest {
11711
+ /**
11712
+ * The &#x60;attachment&#x60; ID.
11713
+ * @type {string}
11714
+ * @memberof AttachmentsApiCreateAttachmentDownloadUrl
11715
+ */
11716
+ readonly id: string;
11717
+ /**
11718
+ *
11719
+ * @type {CreateDownloadRequest}
11720
+ * @memberof AttachmentsApiCreateAttachmentDownloadUrl
11721
+ */
11722
+ readonly createDownloadRequest: CreateDownloadRequest;
11723
+ }
11724
+ /**
11725
+ * Request parameters for createAttachmentUploadUrl operation in AttachmentsApi.
11726
+ * @export
11727
+ * @interface AttachmentsApiCreateAttachmentUploadUrlRequest
11728
+ */
11729
+ export interface AttachmentsApiCreateAttachmentUploadUrlRequest {
11730
+ /**
11731
+ * The &#x60;attachment&#x60; ID.
11732
+ * @type {string}
11733
+ * @memberof AttachmentsApiCreateAttachmentUploadUrl
11734
+ */
11735
+ readonly id: string;
11736
+ /**
11737
+ *
11738
+ * @type {CreateUploadRequest}
11739
+ * @memberof AttachmentsApiCreateAttachmentUploadUrl
11740
+ */
11741
+ readonly createUploadRequest: CreateUploadRequest;
11742
+ }
11656
11743
  /**
11657
11744
  * Request parameters for listAttachments operation in AttachmentsApi.
11658
11745
  * @export
@@ -11699,6 +11786,22 @@ export declare class AttachmentsApi extends BaseAPI {
11699
11786
  * @memberof AttachmentsApi
11700
11787
  */
11701
11788
  createAttachment(requestParameters: AttachmentsApiCreateAttachmentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Attachment, any>>;
11789
+ /**
11790
+ * Create a download url for a file `attachment` by ID.
11791
+ * @param {AttachmentsApiCreateAttachmentDownloadUrlRequest} requestParameters Request parameters.
11792
+ * @param {*} [options] Override http request option.
11793
+ * @throws {RequiredError}
11794
+ * @memberof AttachmentsApi
11795
+ */
11796
+ createAttachmentDownloadUrl(requestParameters: AttachmentsApiCreateAttachmentDownloadUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PresignedUrl, any>>;
11797
+ /**
11798
+ * Create an upload url for a file `attachment` by ID.
11799
+ * @param {AttachmentsApiCreateAttachmentUploadUrlRequest} requestParameters Request parameters.
11800
+ * @param {*} [options] Override http request option.
11801
+ * @throws {RequiredError}
11802
+ * @memberof AttachmentsApi
11803
+ */
11804
+ createAttachmentUploadUrl(requestParameters: AttachmentsApiCreateAttachmentUploadUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PresignedUrl, any>>;
11702
11805
  /**
11703
11806
  * List attachments **Preview:** This is a preview API and is subject to change.
11704
11807
  * @param {AttachmentsApiListAttachmentsRequest} requestParameters Request parameters.
@@ -12896,7 +12999,7 @@ export declare const FilesApiFp: (configuration?: Configuration | undefined) =>
12896
12999
  * @param {*} [options] Override http request option.
12897
13000
  * @throws {RequiredError}
12898
13001
  */
12899
- createUploadUrl(id: string, createUploadRequest: CreateUploadRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<UploadUrl>>;
13002
+ createUploadUrl(id: string, createUploadRequest: CreateUploadRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PresignedUrl>>;
12900
13003
  /**
12901
13004
  * Delete a `file`.
12902
13005
  * @param {string} id The &#x60;file&#x60; ID.
@@ -12964,7 +13067,7 @@ export declare const FilesApiFactory: (configuration?: Configuration | undefined
12964
13067
  * @param {*} [options] Override http request option.
12965
13068
  * @throws {RequiredError}
12966
13069
  */
12967
- createUploadUrl(id: string, createUploadRequest: CreateUploadRequest, options?: any): AxiosPromise<UploadUrl>;
13070
+ createUploadUrl(id: string, createUploadRequest: CreateUploadRequest, options?: any): AxiosPromise<PresignedUrl>;
12968
13071
  /**
12969
13072
  * Delete a `file`.
12970
13073
  * @param {string} id The &#x60;file&#x60; ID.
@@ -13175,7 +13278,7 @@ export declare class FilesApi extends BaseAPI {
13175
13278
  * @throws {RequiredError}
13176
13279
  * @memberof FilesApi
13177
13280
  */
13178
- createUploadUrl(requestParameters: FilesApiCreateUploadUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadUrl, any>>;
13281
+ createUploadUrl(requestParameters: FilesApiCreateUploadUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PresignedUrl, any>>;
13179
13282
  /**
13180
13283
  * Delete a `file`.
13181
13284
  * @param {FilesApiDeleteFileRequest} requestParameters Request parameters.