@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 +224 -121
- package/dist/cjs/api.js +152 -12
- package/dist/cjs/client/version.d.ts +1 -1
- package/dist/cjs/client/version.js +1 -1
- package/dist/esm/api.d.ts +224 -121
- package/dist/esm/api.js +148 -8
- package/dist/esm/client/version.d.ts +1 -1
- package/dist/esm/client/version.js +1 -1
- package/package.json +1 -1
package/dist/esm/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
|
|
545
|
+
* @type {FileAttachment}
|
|
546
546
|
* @memberof AttachmentDataAttributes
|
|
547
547
|
*/
|
|
548
|
-
content: FileAttachment
|
|
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
|
|
1180
|
+
* @type {WithFileContent}
|
|
1181
1181
|
* @memberof CreateAttachmentRequestDataAttributes
|
|
1182
1182
|
*/
|
|
1183
|
-
withContent: WithFileContent
|
|
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 `attachment` 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 `attachment` 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 `attachment` 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 `attachment` 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 `attachment` 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 `attachment` 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 `attachment` 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 `attachment` 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<
|
|
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 `file` 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<
|
|
13070
|
+
createUploadUrl(id: string, createUploadRequest: CreateUploadRequest, options?: any): AxiosPromise<PresignedUrl>;
|
|
12968
13071
|
/**
|
|
12969
13072
|
* Delete a `file`.
|
|
12970
13073
|
* @param {string} id The `file` 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<
|
|
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.
|
package/dist/esm/api.js
CHANGED
|
@@ -236,9 +236,6 @@ export const SceneRelationshipDataTypeEnum = {
|
|
|
236
236
|
export const SceneViewRelationshipDataTypeEnum = {
|
|
237
237
|
SceneView: 'scene-view',
|
|
238
238
|
};
|
|
239
|
-
export const SceneViewStateAttachmentTypeEnum = {
|
|
240
|
-
SceneViewState: 'scene-view-state',
|
|
241
|
-
};
|
|
242
239
|
export const SceneViewStateRelationshipDataTypeEnum = {
|
|
243
240
|
SceneViewState: 'scene-view-state',
|
|
244
241
|
};
|
|
@@ -337,9 +334,6 @@ export const WithReplyTypeEnum = {
|
|
|
337
334
|
export const WithSceneViewIdTypeEnum = {
|
|
338
335
|
SceneViewId: 'scene-view-id',
|
|
339
336
|
};
|
|
340
|
-
export const WithSceneViewStateContentTypeEnum = {
|
|
341
|
-
SceneViewStateContent: 'scene-view-state-content',
|
|
342
|
-
};
|
|
343
337
|
export const WithSceneViewStateIdTypeEnum = {
|
|
344
338
|
SceneViewStateId: 'scene-view-state-id',
|
|
345
339
|
};
|
|
@@ -1151,6 +1145,78 @@ export const AttachmentsApiAxiosParamCreator = function (configuration) {
|
|
|
1151
1145
|
options: localVarRequestOptions,
|
|
1152
1146
|
};
|
|
1153
1147
|
}),
|
|
1148
|
+
/**
|
|
1149
|
+
* Create a download url for a file `attachment` by ID.
|
|
1150
|
+
* @param {string} id The `attachment` ID.
|
|
1151
|
+
* @param {CreateDownloadRequest} createDownloadRequest
|
|
1152
|
+
* @param {*} [options] Override http request option.
|
|
1153
|
+
* @throws {RequiredError}
|
|
1154
|
+
*/
|
|
1155
|
+
createAttachmentDownloadUrl: (id, createDownloadRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1156
|
+
var _b;
|
|
1157
|
+
// verify required parameter 'id' is not null or undefined
|
|
1158
|
+
assertParamExists('createAttachmentDownloadUrl', 'id', id);
|
|
1159
|
+
// verify required parameter 'createDownloadRequest' is not null or undefined
|
|
1160
|
+
assertParamExists('createAttachmentDownloadUrl', 'createDownloadRequest', createDownloadRequest);
|
|
1161
|
+
const localVarPath = `/attachments/{id}/download-url`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
1162
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1163
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1164
|
+
let baseOptions;
|
|
1165
|
+
if (configuration) {
|
|
1166
|
+
baseOptions = configuration.baseOptions;
|
|
1167
|
+
}
|
|
1168
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1169
|
+
const localVarHeaderParameter = {};
|
|
1170
|
+
const localVarQueryParameter = {};
|
|
1171
|
+
// authentication OAuth2 required
|
|
1172
|
+
// oauth required
|
|
1173
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1174
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1175
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1176
|
+
let headersFromBaseOptions = (_b = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _b !== void 0 ? _b : {};
|
|
1177
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1178
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createDownloadRequest, localVarRequestOptions, configuration);
|
|
1179
|
+
return {
|
|
1180
|
+
url: toPathString(localVarUrlObj),
|
|
1181
|
+
options: localVarRequestOptions,
|
|
1182
|
+
};
|
|
1183
|
+
}),
|
|
1184
|
+
/**
|
|
1185
|
+
* Create an upload url for a file `attachment` by ID.
|
|
1186
|
+
* @param {string} id The `attachment` ID.
|
|
1187
|
+
* @param {CreateUploadRequest} createUploadRequest
|
|
1188
|
+
* @param {*} [options] Override http request option.
|
|
1189
|
+
* @throws {RequiredError}
|
|
1190
|
+
*/
|
|
1191
|
+
createAttachmentUploadUrl: (id, createUploadRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1192
|
+
var _c;
|
|
1193
|
+
// verify required parameter 'id' is not null or undefined
|
|
1194
|
+
assertParamExists('createAttachmentUploadUrl', 'id', id);
|
|
1195
|
+
// verify required parameter 'createUploadRequest' is not null or undefined
|
|
1196
|
+
assertParamExists('createAttachmentUploadUrl', 'createUploadRequest', createUploadRequest);
|
|
1197
|
+
const localVarPath = `/attachments/{id}/upload-url`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
1198
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1199
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1200
|
+
let baseOptions;
|
|
1201
|
+
if (configuration) {
|
|
1202
|
+
baseOptions = configuration.baseOptions;
|
|
1203
|
+
}
|
|
1204
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1205
|
+
const localVarHeaderParameter = {};
|
|
1206
|
+
const localVarQueryParameter = {};
|
|
1207
|
+
// authentication OAuth2 required
|
|
1208
|
+
// oauth required
|
|
1209
|
+
yield setOAuthToObject(localVarHeaderParameter, 'OAuth2', [], configuration);
|
|
1210
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
1211
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1212
|
+
let headersFromBaseOptions = (_c = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _c !== void 0 ? _c : {};
|
|
1213
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1214
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createUploadRequest, localVarRequestOptions, configuration);
|
|
1215
|
+
return {
|
|
1216
|
+
url: toPathString(localVarUrlObj),
|
|
1217
|
+
options: localVarRequestOptions,
|
|
1218
|
+
};
|
|
1219
|
+
}),
|
|
1154
1220
|
/**
|
|
1155
1221
|
* List attachments **Preview:** This is a preview API and is subject to change.
|
|
1156
1222
|
* @param {string} filterRelationshipId A relationship id to filter attachments for
|
|
@@ -1161,7 +1227,7 @@ export const AttachmentsApiAxiosParamCreator = function (configuration) {
|
|
|
1161
1227
|
* @throws {RequiredError}
|
|
1162
1228
|
*/
|
|
1163
1229
|
listAttachments: (filterRelationshipId, filterRelationshipType, pageCursor, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1164
|
-
var
|
|
1230
|
+
var _d;
|
|
1165
1231
|
// verify required parameter 'filterRelationshipId' is not null or undefined
|
|
1166
1232
|
assertParamExists('listAttachments', 'filterRelationshipId', filterRelationshipId);
|
|
1167
1233
|
// verify required parameter 'filterRelationshipType' is not null or undefined
|
|
@@ -1193,7 +1259,7 @@ export const AttachmentsApiAxiosParamCreator = function (configuration) {
|
|
|
1193
1259
|
localVarQueryParameter['page[size]'] = pageSize;
|
|
1194
1260
|
}
|
|
1195
1261
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1196
|
-
let headersFromBaseOptions = (
|
|
1262
|
+
let headersFromBaseOptions = (_d = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) !== null && _d !== void 0 ? _d : {};
|
|
1197
1263
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1198
1264
|
return {
|
|
1199
1265
|
url: toPathString(localVarUrlObj),
|
|
@@ -1221,6 +1287,32 @@ export const AttachmentsApiFp = function (configuration) {
|
|
|
1221
1287
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1222
1288
|
});
|
|
1223
1289
|
},
|
|
1290
|
+
/**
|
|
1291
|
+
* Create a download url for a file `attachment` by ID.
|
|
1292
|
+
* @param {string} id The `attachment` ID.
|
|
1293
|
+
* @param {CreateDownloadRequest} createDownloadRequest
|
|
1294
|
+
* @param {*} [options] Override http request option.
|
|
1295
|
+
* @throws {RequiredError}
|
|
1296
|
+
*/
|
|
1297
|
+
createAttachmentDownloadUrl(id, createDownloadRequest, options) {
|
|
1298
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1299
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createAttachmentDownloadUrl(id, createDownloadRequest, options);
|
|
1300
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1301
|
+
});
|
|
1302
|
+
},
|
|
1303
|
+
/**
|
|
1304
|
+
* Create an upload url for a file `attachment` by ID.
|
|
1305
|
+
* @param {string} id The `attachment` ID.
|
|
1306
|
+
* @param {CreateUploadRequest} createUploadRequest
|
|
1307
|
+
* @param {*} [options] Override http request option.
|
|
1308
|
+
* @throws {RequiredError}
|
|
1309
|
+
*/
|
|
1310
|
+
createAttachmentUploadUrl(id, createUploadRequest, options) {
|
|
1311
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1312
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createAttachmentUploadUrl(id, createUploadRequest, options);
|
|
1313
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1314
|
+
});
|
|
1315
|
+
},
|
|
1224
1316
|
/**
|
|
1225
1317
|
* List attachments **Preview:** This is a preview API and is subject to change.
|
|
1226
1318
|
* @param {string} filterRelationshipId A relationship id to filter attachments for
|
|
@@ -1256,6 +1348,30 @@ export const AttachmentsApiFactory = function (configuration, basePath, axios) {
|
|
|
1256
1348
|
.createAttachment(createAttachmentRequest, options)
|
|
1257
1349
|
.then((request) => request(axios, basePath));
|
|
1258
1350
|
},
|
|
1351
|
+
/**
|
|
1352
|
+
* Create a download url for a file `attachment` by ID.
|
|
1353
|
+
* @param {string} id The `attachment` ID.
|
|
1354
|
+
* @param {CreateDownloadRequest} createDownloadRequest
|
|
1355
|
+
* @param {*} [options] Override http request option.
|
|
1356
|
+
* @throws {RequiredError}
|
|
1357
|
+
*/
|
|
1358
|
+
createAttachmentDownloadUrl(id, createDownloadRequest, options) {
|
|
1359
|
+
return localVarFp
|
|
1360
|
+
.createAttachmentDownloadUrl(id, createDownloadRequest, options)
|
|
1361
|
+
.then((request) => request(axios, basePath));
|
|
1362
|
+
},
|
|
1363
|
+
/**
|
|
1364
|
+
* Create an upload url for a file `attachment` by ID.
|
|
1365
|
+
* @param {string} id The `attachment` ID.
|
|
1366
|
+
* @param {CreateUploadRequest} createUploadRequest
|
|
1367
|
+
* @param {*} [options] Override http request option.
|
|
1368
|
+
* @throws {RequiredError}
|
|
1369
|
+
*/
|
|
1370
|
+
createAttachmentUploadUrl(id, createUploadRequest, options) {
|
|
1371
|
+
return localVarFp
|
|
1372
|
+
.createAttachmentUploadUrl(id, createUploadRequest, options)
|
|
1373
|
+
.then((request) => request(axios, basePath));
|
|
1374
|
+
},
|
|
1259
1375
|
/**
|
|
1260
1376
|
* List attachments **Preview:** This is a preview API and is subject to change.
|
|
1261
1377
|
* @param {string} filterRelationshipId A relationship id to filter attachments for
|
|
@@ -1291,6 +1407,30 @@ export class AttachmentsApi extends BaseAPI {
|
|
|
1291
1407
|
.createAttachment(requestParameters.createAttachmentRequest, options)
|
|
1292
1408
|
.then((request) => request(this.axios, this.basePath));
|
|
1293
1409
|
}
|
|
1410
|
+
/**
|
|
1411
|
+
* Create a download url for a file `attachment` by ID.
|
|
1412
|
+
* @param {AttachmentsApiCreateAttachmentDownloadUrlRequest} requestParameters Request parameters.
|
|
1413
|
+
* @param {*} [options] Override http request option.
|
|
1414
|
+
* @throws {RequiredError}
|
|
1415
|
+
* @memberof AttachmentsApi
|
|
1416
|
+
*/
|
|
1417
|
+
createAttachmentDownloadUrl(requestParameters, options) {
|
|
1418
|
+
return AttachmentsApiFp(this.configuration)
|
|
1419
|
+
.createAttachmentDownloadUrl(requestParameters.id, requestParameters.createDownloadRequest, options)
|
|
1420
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1421
|
+
}
|
|
1422
|
+
/**
|
|
1423
|
+
* Create an upload url for a file `attachment` by ID.
|
|
1424
|
+
* @param {AttachmentsApiCreateAttachmentUploadUrlRequest} requestParameters Request parameters.
|
|
1425
|
+
* @param {*} [options] Override http request option.
|
|
1426
|
+
* @throws {RequiredError}
|
|
1427
|
+
* @memberof AttachmentsApi
|
|
1428
|
+
*/
|
|
1429
|
+
createAttachmentUploadUrl(requestParameters, options) {
|
|
1430
|
+
return AttachmentsApiFp(this.configuration)
|
|
1431
|
+
.createAttachmentUploadUrl(requestParameters.id, requestParameters.createUploadRequest, options)
|
|
1432
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1433
|
+
}
|
|
1294
1434
|
/**
|
|
1295
1435
|
* List attachments **Preview:** This is a preview API and is subject to change.
|
|
1296
1436
|
* @param {AttachmentsApiListAttachmentsRequest} requestParameters Request parameters.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.
|
|
1
|
+
export declare const version = "0.36.0";
|