@vertexvis/api-client-node 0.14.7 → 0.15.2

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
@@ -12,6 +12,237 @@
12
12
  import { Configuration } from './configuration';
13
13
  import { AxiosPromise, AxiosInstance } from 'axios';
14
14
  import { RequestArgs, BaseAPI } from './base';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface Account
19
+ */
20
+ export interface Account {
21
+ /**
22
+ *
23
+ * @type {AccountData}
24
+ * @memberof Account
25
+ */
26
+ data: AccountData;
27
+ /**
28
+ *
29
+ * @type {{ [key: string]: Link; }}
30
+ * @memberof Account
31
+ */
32
+ links?: {
33
+ [key: string]: Link;
34
+ };
35
+ }
36
+ /**
37
+ *
38
+ * @export
39
+ * @interface AccountData
40
+ */
41
+ export interface AccountData {
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof AccountData
46
+ */
47
+ type: string;
48
+ /**
49
+ * ID of the resource.
50
+ * @type {string}
51
+ * @memberof AccountData
52
+ */
53
+ id: string;
54
+ /**
55
+ *
56
+ * @type {AccountDataAttributes}
57
+ * @memberof AccountData
58
+ */
59
+ attributes: AccountDataAttributes;
60
+ }
61
+ /**
62
+ *
63
+ * @export
64
+ * @interface AccountDataAttributes
65
+ */
66
+ export interface AccountDataAttributes {
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof AccountDataAttributes
71
+ */
72
+ name: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof AccountDataAttributes
77
+ */
78
+ status?: string;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof AccountDataAttributes
83
+ */
84
+ created: string;
85
+ }
86
+ /**
87
+ *
88
+ * @export
89
+ * @interface AdminConsentAcceptRequest
90
+ */
91
+ export interface AdminConsentAcceptRequest {
92
+ /**
93
+ *
94
+ * @type {AdminConsentAcceptRequestData}
95
+ * @memberof AdminConsentAcceptRequest
96
+ */
97
+ data: AdminConsentAcceptRequestData;
98
+ }
99
+ /**
100
+ *
101
+ * @export
102
+ * @interface AdminConsentAcceptRequestData
103
+ */
104
+ export interface AdminConsentAcceptRequestData {
105
+ /**
106
+ * Resource object type.
107
+ * @type {string}
108
+ * @memberof AdminConsentAcceptRequestData
109
+ */
110
+ type: string;
111
+ /**
112
+ *
113
+ * @type {AdminConsentAcceptRequestDataAttributes}
114
+ * @memberof AdminConsentAcceptRequestData
115
+ */
116
+ attributes: AdminConsentAcceptRequestDataAttributes;
117
+ }
118
+ /**
119
+ *
120
+ * @export
121
+ * @interface AdminConsentAcceptRequestDataAttributes
122
+ */
123
+ export interface AdminConsentAcceptRequestDataAttributes {
124
+ /**
125
+ *
126
+ * @type {object}
127
+ * @memberof AdminConsentAcceptRequestDataAttributes
128
+ */
129
+ session: object;
130
+ }
131
+ /**
132
+ *
133
+ * @export
134
+ * @interface AdminCreateApplicationRequest
135
+ */
136
+ export interface AdminCreateApplicationRequest {
137
+ /**
138
+ *
139
+ * @type {AdminCreateApplicationRequestData}
140
+ * @memberof AdminCreateApplicationRequest
141
+ */
142
+ data: AdminCreateApplicationRequestData;
143
+ }
144
+ /**
145
+ *
146
+ * @export
147
+ * @interface AdminCreateApplicationRequestData
148
+ */
149
+ export interface AdminCreateApplicationRequestData {
150
+ /**
151
+ *
152
+ * @type {string}
153
+ * @memberof AdminCreateApplicationRequestData
154
+ */
155
+ type: string;
156
+ /**
157
+ *
158
+ * @type {AdminCreateApplicationRequestDataAttributes}
159
+ * @memberof AdminCreateApplicationRequestData
160
+ */
161
+ attributes: AdminCreateApplicationRequestDataAttributes;
162
+ }
163
+ /**
164
+ *
165
+ * @export
166
+ * @interface AdminCreateApplicationRequestDataAttributes
167
+ */
168
+ export interface AdminCreateApplicationRequestDataAttributes {
169
+ /**
170
+ *
171
+ * @type {string}
172
+ * @memberof AdminCreateApplicationRequestDataAttributes
173
+ */
174
+ name: string;
175
+ /**
176
+ *
177
+ * @type {Array<string>}
178
+ * @memberof AdminCreateApplicationRequestDataAttributes
179
+ */
180
+ scopes?: Array<string>;
181
+ /**
182
+ *
183
+ * @type {Array<string>}
184
+ * @memberof AdminCreateApplicationRequestDataAttributes
185
+ */
186
+ redirect_uris?: Array<string>;
187
+ }
188
+ /**
189
+ *
190
+ * @export
191
+ * @interface AdminLoginAcceptRequest
192
+ */
193
+ export interface AdminLoginAcceptRequest {
194
+ /**
195
+ *
196
+ * @type {AdminLoginAcceptRequestData}
197
+ * @memberof AdminLoginAcceptRequest
198
+ */
199
+ data: AdminLoginAcceptRequestData;
200
+ }
201
+ /**
202
+ *
203
+ * @export
204
+ * @interface AdminLoginAcceptRequestData
205
+ */
206
+ export interface AdminLoginAcceptRequestData {
207
+ /**
208
+ * Resource object type.
209
+ * @type {string}
210
+ * @memberof AdminLoginAcceptRequestData
211
+ */
212
+ type: string;
213
+ /**
214
+ *
215
+ * @type {AdminLoginAcceptRequestDataAttributes}
216
+ * @memberof AdminLoginAcceptRequestData
217
+ */
218
+ attributes: AdminLoginAcceptRequestDataAttributes;
219
+ }
220
+ /**
221
+ *
222
+ * @export
223
+ * @interface AdminLoginAcceptRequestDataAttributes
224
+ */
225
+ export interface AdminLoginAcceptRequestDataAttributes {
226
+ /**
227
+ *
228
+ * @type {string}
229
+ * @memberof AdminLoginAcceptRequestDataAttributes
230
+ */
231
+ subject: string;
232
+ }
233
+ /**
234
+ *
235
+ * @export
236
+ * @interface AdminRedirectTo
237
+ */
238
+ export interface AdminRedirectTo {
239
+ /**
240
+ *
241
+ * @type {string}
242
+ * @memberof AdminRedirectTo
243
+ */
244
+ redirectTo: string;
245
+ }
15
246
  /**
16
247
  *
17
248
  * @export
@@ -90,6 +321,112 @@ export interface ApiErrorSource {
90
321
  */
91
322
  parameter?: string;
92
323
  }
324
+ /**
325
+ *
326
+ * @export
327
+ * @interface Application
328
+ */
329
+ export interface Application {
330
+ /**
331
+ *
332
+ * @type {ApplicationData}
333
+ * @memberof Application
334
+ */
335
+ data: ApplicationData;
336
+ /**
337
+ *
338
+ * @type {{ [key: string]: Link; }}
339
+ * @memberof Application
340
+ */
341
+ links?: {
342
+ [key: string]: Link;
343
+ };
344
+ }
345
+ /**
346
+ *
347
+ * @export
348
+ * @interface ApplicationData
349
+ */
350
+ export interface ApplicationData {
351
+ /**
352
+ *
353
+ * @type {string}
354
+ * @memberof ApplicationData
355
+ */
356
+ type: string;
357
+ /**
358
+ * ID of the resource.
359
+ * @type {string}
360
+ * @memberof ApplicationData
361
+ */
362
+ id: string;
363
+ /**
364
+ *
365
+ * @type {ApplicationDataAttributes}
366
+ * @memberof ApplicationData
367
+ */
368
+ attributes: ApplicationDataAttributes;
369
+ /**
370
+ *
371
+ * @type {{ [key: string]: Link; }}
372
+ * @memberof ApplicationData
373
+ */
374
+ links?: {
375
+ [key: string]: Link;
376
+ };
377
+ }
378
+ /**
379
+ *
380
+ * @export
381
+ * @interface ApplicationDataAttributes
382
+ */
383
+ export interface ApplicationDataAttributes {
384
+ /**
385
+ *
386
+ * @type {string}
387
+ * @memberof ApplicationDataAttributes
388
+ */
389
+ name: string;
390
+ /**
391
+ *
392
+ * @type {string}
393
+ * @memberof ApplicationDataAttributes
394
+ */
395
+ clientId: string;
396
+ /**
397
+ *
398
+ * @type {string}
399
+ * @memberof ApplicationDataAttributes
400
+ */
401
+ created: string;
402
+ /**
403
+ *
404
+ * @type {Array<string>}
405
+ * @memberof ApplicationDataAttributes
406
+ */
407
+ scopes: Array<string>;
408
+ }
409
+ /**
410
+ *
411
+ * @export
412
+ * @interface ApplicationList
413
+ */
414
+ export interface ApplicationList {
415
+ /**
416
+ *
417
+ * @type {Array<ApplicationData>}
418
+ * @memberof ApplicationList
419
+ */
420
+ data: Array<ApplicationData>;
421
+ /**
422
+ *
423
+ * @type {{ [key: string]: Link; }}
424
+ * @memberof ApplicationList
425
+ */
426
+ links: {
427
+ [key: string]: Link;
428
+ };
429
+ }
93
430
  /**
94
431
  *
95
432
  * @export
@@ -458,28 +795,86 @@ export interface ColorMaterialNullable {
458
795
  /**
459
796
  *
460
797
  * @export
461
- * @interface CreateBatchRequest
798
+ * @interface CreateAccountRequest
462
799
  */
463
- export interface CreateBatchRequest {
800
+ export interface CreateAccountRequest {
464
801
  /**
465
- * List of operations to perform as a batch.
466
- * @type {Array<BatchOperation>}
467
- * @memberof CreateBatchRequest
802
+ *
803
+ * @type {CreateAccountRequestData}
804
+ * @memberof CreateAccountRequest
468
805
  */
469
- vertexvis_batchoperations: Array<BatchOperation>;
806
+ data: CreateAccountRequestData;
470
807
  }
471
808
  /**
472
809
  *
473
810
  * @export
474
- * @interface CreateFileRequest
811
+ * @interface CreateAccountRequestData
475
812
  */
476
- export interface CreateFileRequest {
813
+ export interface CreateAccountRequestData {
477
814
  /**
478
815
  *
479
- * @type {CreateFileRequestData}
480
- * @memberof CreateFileRequest
816
+ * @type {string}
817
+ * @memberof CreateAccountRequestData
481
818
  */
482
- data: CreateFileRequestData;
819
+ type: string;
820
+ /**
821
+ *
822
+ * @type {CreateAccountRequestDataAttributes}
823
+ * @memberof CreateAccountRequestData
824
+ */
825
+ attributes: CreateAccountRequestDataAttributes;
826
+ }
827
+ /**
828
+ *
829
+ * @export
830
+ * @interface CreateAccountRequestDataAttributes
831
+ */
832
+ export interface CreateAccountRequestDataAttributes {
833
+ /**
834
+ *
835
+ * @type {string}
836
+ * @memberof CreateAccountRequestDataAttributes
837
+ */
838
+ name: string;
839
+ }
840
+ /**
841
+ *
842
+ * @export
843
+ * @interface CreateApplicationRequest
844
+ */
845
+ export interface CreateApplicationRequest {
846
+ /**
847
+ *
848
+ * @type {CreateAccountRequestData}
849
+ * @memberof CreateApplicationRequest
850
+ */
851
+ data: CreateAccountRequestData;
852
+ }
853
+ /**
854
+ *
855
+ * @export
856
+ * @interface CreateBatchRequest
857
+ */
858
+ export interface CreateBatchRequest {
859
+ /**
860
+ * List of operations to perform as a batch.
861
+ * @type {Array<BatchOperation>}
862
+ * @memberof CreateBatchRequest
863
+ */
864
+ vertexvis_batchoperations: Array<BatchOperation>;
865
+ }
866
+ /**
867
+ *
868
+ * @export
869
+ * @interface CreateFileRequest
870
+ */
871
+ export interface CreateFileRequest {
872
+ /**
873
+ *
874
+ * @type {CreateFileRequestData}
875
+ * @memberof CreateFileRequest
876
+ */
877
+ data: CreateFileRequestData;
483
878
  }
484
879
  /**
485
880
  *
@@ -1297,6 +1692,87 @@ export interface CreateWebhookSubscriptionRequestDataAttributes {
1297
1692
  */
1298
1693
  topics: Array<string>;
1299
1694
  }
1695
+ /**
1696
+ *
1697
+ * @export
1698
+ * @interface CreatedApplication
1699
+ */
1700
+ export interface CreatedApplication {
1701
+ /**
1702
+ *
1703
+ * @type {CreatedApplicationData}
1704
+ * @memberof CreatedApplication
1705
+ */
1706
+ data: CreatedApplicationData;
1707
+ }
1708
+ /**
1709
+ *
1710
+ * @export
1711
+ * @interface CreatedApplicationData
1712
+ */
1713
+ export interface CreatedApplicationData {
1714
+ /**
1715
+ *
1716
+ * @type {string}
1717
+ * @memberof CreatedApplicationData
1718
+ */
1719
+ type: string;
1720
+ /**
1721
+ * ID of the resource.
1722
+ * @type {string}
1723
+ * @memberof CreatedApplicationData
1724
+ */
1725
+ id: string;
1726
+ /**
1727
+ *
1728
+ * @type {CreatedApplicationDataAttributes}
1729
+ * @memberof CreatedApplicationData
1730
+ */
1731
+ attributes: CreatedApplicationDataAttributes;
1732
+ }
1733
+ /**
1734
+ *
1735
+ * @export
1736
+ * @interface CreatedApplicationDataAttributes
1737
+ */
1738
+ export interface CreatedApplicationDataAttributes {
1739
+ /**
1740
+ *
1741
+ * @type {string}
1742
+ * @memberof CreatedApplicationDataAttributes
1743
+ */
1744
+ name: string;
1745
+ /**
1746
+ *
1747
+ * @type {string}
1748
+ * @memberof CreatedApplicationDataAttributes
1749
+ */
1750
+ clientId: string;
1751
+ /**
1752
+ *
1753
+ * @type {string}
1754
+ * @memberof CreatedApplicationDataAttributes
1755
+ */
1756
+ secret: string;
1757
+ /**
1758
+ *
1759
+ * @type {string}
1760
+ * @memberof CreatedApplicationDataAttributes
1761
+ */
1762
+ created: string;
1763
+ /**
1764
+ *
1765
+ * @type {Array<string>}
1766
+ * @memberof CreatedApplicationDataAttributes
1767
+ */
1768
+ scopes: Array<string>;
1769
+ /**
1770
+ *
1771
+ * @type {Array<string>}
1772
+ * @memberof CreatedApplicationDataAttributes
1773
+ */
1774
+ redirect_uris: Array<string>;
1775
+ }
1300
1776
  /**
1301
1777
  *
1302
1778
  * @export
@@ -1495,6 +1971,12 @@ export interface FileMetadataDataAttributes {
1495
1971
  * @memberof FileMetadataDataAttributes
1496
1972
  */
1497
1973
  uploaded?: string;
1974
+ /**
1975
+ *
1976
+ * @type {number}
1977
+ * @memberof FileMetadataDataAttributes
1978
+ */
1979
+ size?: number;
1498
1980
  }
1499
1981
  /**
1500
1982
  * Relationship to a `file`.
@@ -2936,48 +3418,56 @@ export interface SceneItemData {
2936
3418
  * @interface SceneItemDataAttributes
2937
3419
  */
2938
3420
  export interface SceneItemDataAttributes {
3421
+ /**
3422
+ *
3423
+ * @type {BoundingBox}
3424
+ * @memberof SceneItemDataAttributes
3425
+ */
3426
+ boundingBox?: BoundingBox;
2939
3427
  /**
2940
3428
  *
2941
3429
  * @type {string}
2942
3430
  * @memberof SceneItemDataAttributes
2943
3431
  */
2944
- suppliedId?: string;
3432
+ created?: string;
2945
3433
  /**
2946
3434
  *
2947
- * @type {boolean}
3435
+ * @type {ColorMaterial}
2948
3436
  * @memberof SceneItemDataAttributes
2949
3437
  */
2950
- visible?: boolean;
3438
+ materialOverride?: ColorMaterial;
2951
3439
  /**
2952
3440
  *
2953
- * @type {Matrix4}
3441
+ * @type {{ [key: string]: MetadataValue; }}
2954
3442
  * @memberof SceneItemDataAttributes
2955
3443
  */
2956
- transform?: Matrix4;
3444
+ metadata?: {
3445
+ [key: string]: MetadataValue;
3446
+ };
2957
3447
  /**
2958
3448
  *
2959
- * @type {ColorMaterial}
3449
+ * @type {string}
2960
3450
  * @memberof SceneItemDataAttributes
2961
3451
  */
2962
- materialOverride?: ColorMaterial;
3452
+ name?: string;
2963
3453
  /**
2964
3454
  *
2965
3455
  * @type {string}
2966
3456
  * @memberof SceneItemDataAttributes
2967
3457
  */
2968
- created?: string;
3458
+ suppliedId?: string;
2969
3459
  /**
2970
3460
  *
2971
- * @type {BoundingBox}
3461
+ * @type {Matrix4}
2972
3462
  * @memberof SceneItemDataAttributes
2973
3463
  */
2974
- boundingBox?: BoundingBox;
3464
+ transform?: Matrix4;
2975
3465
  /**
2976
3466
  *
2977
- * @type {string}
3467
+ * @type {boolean}
2978
3468
  * @memberof SceneItemDataAttributes
2979
3469
  */
2980
- name?: string;
3470
+ visible?: boolean;
2981
3471
  /**
2982
3472
  *
2983
3473
  * @type {Matrix4}
@@ -3849,6 +4339,103 @@ export interface TranslationInspectionJobDataAttributes {
3849
4339
  */
3850
4340
  missing: Array<string>;
3851
4341
  }
4342
+ /**
4343
+ *
4344
+ * @export
4345
+ * @interface UpdateAccountRequest
4346
+ */
4347
+ export interface UpdateAccountRequest {
4348
+ /**
4349
+ *
4350
+ * @type {UpdateAccountRequestData}
4351
+ * @memberof UpdateAccountRequest
4352
+ */
4353
+ data: UpdateAccountRequestData;
4354
+ }
4355
+ /**
4356
+ *
4357
+ * @export
4358
+ * @interface UpdateAccountRequestData
4359
+ */
4360
+ export interface UpdateAccountRequestData {
4361
+ /**
4362
+ * Resource object type.
4363
+ * @type {string}
4364
+ * @memberof UpdateAccountRequestData
4365
+ */
4366
+ type: string;
4367
+ /**
4368
+ *
4369
+ * @type {UpdateAccountRequestDataAttributes}
4370
+ * @memberof UpdateAccountRequestData
4371
+ */
4372
+ attributes: UpdateAccountRequestDataAttributes;
4373
+ }
4374
+ /**
4375
+ *
4376
+ * @export
4377
+ * @interface UpdateAccountRequestDataAttributes
4378
+ */
4379
+ export interface UpdateAccountRequestDataAttributes {
4380
+ /**
4381
+ *
4382
+ * @type {string}
4383
+ * @memberof UpdateAccountRequestDataAttributes
4384
+ */
4385
+ status?: UpdateAccountRequestDataAttributesStatusEnum;
4386
+ /**
4387
+ *
4388
+ * @type {string}
4389
+ * @memberof UpdateAccountRequestDataAttributes
4390
+ */
4391
+ name?: string;
4392
+ /**
4393
+ *
4394
+ * @type {string}
4395
+ * @memberof UpdateAccountRequestDataAttributes
4396
+ */
4397
+ owner?: string;
4398
+ }
4399
+ /**
4400
+ * @export
4401
+ * @enum {string}
4402
+ */
4403
+ export declare enum UpdateAccountRequestDataAttributesStatusEnum {
4404
+ Active = "active",
4405
+ Disabled = "disabled"
4406
+ }
4407
+ /**
4408
+ *
4409
+ * @export
4410
+ * @interface UpdateApplicationRequest
4411
+ */
4412
+ export interface UpdateApplicationRequest {
4413
+ /**
4414
+ *
4415
+ * @type {UpdateApplicationRequestData}
4416
+ * @memberof UpdateApplicationRequest
4417
+ */
4418
+ data: UpdateApplicationRequestData;
4419
+ }
4420
+ /**
4421
+ *
4422
+ * @export
4423
+ * @interface UpdateApplicationRequestData
4424
+ */
4425
+ export interface UpdateApplicationRequestData {
4426
+ /**
4427
+ * Resource object type.
4428
+ * @type {string}
4429
+ * @memberof UpdateApplicationRequestData
4430
+ */
4431
+ type: string;
4432
+ /**
4433
+ *
4434
+ * @type {CreateAccountRequestDataAttributes}
4435
+ * @memberof UpdateApplicationRequestData
4436
+ */
4437
+ attributes: CreateAccountRequestDataAttributes;
4438
+ }
3852
4439
  /**
3853
4440
  *
3854
4441
  * @export
@@ -4432,220 +5019,728 @@ export interface WebhookEventDataAttributes {
4432
5019
  */
4433
5020
  export interface WebhookEventDataRelationships {
4434
5021
  /**
4435
- *
4436
- * @type {WebhookEventDataRelationshipsOwner}
4437
- * @memberof WebhookEventDataRelationships
5022
+ *
5023
+ * @type {WebhookEventDataRelationshipsOwner}
5024
+ * @memberof WebhookEventDataRelationships
5025
+ */
5026
+ owner: WebhookEventDataRelationshipsOwner;
5027
+ /**
5028
+ *
5029
+ * @type {WebhookEventDataRelationshipsResource}
5030
+ * @memberof WebhookEventDataRelationships
5031
+ */
5032
+ resource: WebhookEventDataRelationshipsResource;
5033
+ }
5034
+ /**
5035
+ * Relationship to an `owner`.
5036
+ * @export
5037
+ * @interface WebhookEventDataRelationshipsOwner
5038
+ */
5039
+ export interface WebhookEventDataRelationshipsOwner {
5040
+ /**
5041
+ *
5042
+ * @type {WebhookEventDataRelationshipsOwnerData}
5043
+ * @memberof WebhookEventDataRelationshipsOwner
5044
+ */
5045
+ data: WebhookEventDataRelationshipsOwnerData;
5046
+ /**
5047
+ *
5048
+ * @type {RelationshipLinks}
5049
+ * @memberof WebhookEventDataRelationshipsOwner
5050
+ */
5051
+ links?: RelationshipLinks;
5052
+ }
5053
+ /**
5054
+ *
5055
+ * @export
5056
+ * @interface WebhookEventDataRelationshipsOwnerData
5057
+ */
5058
+ export interface WebhookEventDataRelationshipsOwnerData {
5059
+ /**
5060
+ * Resource object type.
5061
+ * @type {string}
5062
+ * @memberof WebhookEventDataRelationshipsOwnerData
5063
+ */
5064
+ type: WebhookEventDataRelationshipsOwnerDataTypeEnum;
5065
+ /**
5066
+ * ID of the resource.
5067
+ * @type {string}
5068
+ * @memberof WebhookEventDataRelationshipsOwnerData
5069
+ */
5070
+ id: string;
5071
+ }
5072
+ /**
5073
+ * @export
5074
+ * @enum {string}
5075
+ */
5076
+ export declare enum WebhookEventDataRelationshipsOwnerDataTypeEnum {
5077
+ Account = "account"
5078
+ }
5079
+ /**
5080
+ * Relationship to a `resource`.
5081
+ * @export
5082
+ * @interface WebhookEventDataRelationshipsResource
5083
+ */
5084
+ export interface WebhookEventDataRelationshipsResource {
5085
+ /**
5086
+ *
5087
+ * @type {WebhookEventDataRelationshipsResourceData}
5088
+ * @memberof WebhookEventDataRelationshipsResource
5089
+ */
5090
+ data: WebhookEventDataRelationshipsResourceData;
5091
+ /**
5092
+ *
5093
+ * @type {RelationshipLinks}
5094
+ * @memberof WebhookEventDataRelationshipsResource
5095
+ */
5096
+ links?: RelationshipLinks;
5097
+ }
5098
+ /**
5099
+ *
5100
+ * @export
5101
+ * @interface WebhookEventDataRelationshipsResourceData
5102
+ */
5103
+ export interface WebhookEventDataRelationshipsResourceData {
5104
+ /**
5105
+ * Resource object type.
5106
+ * @type {string}
5107
+ * @memberof WebhookEventDataRelationshipsResourceData
5108
+ */
5109
+ type: string;
5110
+ /**
5111
+ * ID of the resource.
5112
+ * @type {string}
5113
+ * @memberof WebhookEventDataRelationshipsResourceData
5114
+ */
5115
+ id: string;
5116
+ }
5117
+ /**
5118
+ *
5119
+ * @export
5120
+ * @interface WebhookSubscription
5121
+ */
5122
+ export interface WebhookSubscription {
5123
+ /**
5124
+ *
5125
+ * @type {WebhookSubscriptionData}
5126
+ * @memberof WebhookSubscription
5127
+ */
5128
+ data: WebhookSubscriptionData;
5129
+ /**
5130
+ *
5131
+ * @type {{ [key: string]: Link; }}
5132
+ * @memberof WebhookSubscription
5133
+ */
5134
+ links?: {
5135
+ [key: string]: Link;
5136
+ };
5137
+ }
5138
+ /**
5139
+ *
5140
+ * @export
5141
+ * @interface WebhookSubscriptionData
5142
+ */
5143
+ export interface WebhookSubscriptionData {
5144
+ /**
5145
+ *
5146
+ * @type {string}
5147
+ * @memberof WebhookSubscriptionData
5148
+ */
5149
+ type: string;
5150
+ /**
5151
+ * ID of the resource.
5152
+ * @type {string}
5153
+ * @memberof WebhookSubscriptionData
5154
+ */
5155
+ id: string;
5156
+ /**
5157
+ *
5158
+ * @type {WebhookSubscriptionDataAttributes}
5159
+ * @memberof WebhookSubscriptionData
5160
+ */
5161
+ attributes: WebhookSubscriptionDataAttributes;
5162
+ /**
5163
+ *
5164
+ * @type {{ [key: string]: Link; }}
5165
+ * @memberof WebhookSubscriptionData
5166
+ */
5167
+ links?: {
5168
+ [key: string]: Link;
5169
+ };
5170
+ }
5171
+ /**
5172
+ *
5173
+ * @export
5174
+ * @interface WebhookSubscriptionDataAttributes
5175
+ */
5176
+ export interface WebhookSubscriptionDataAttributes {
5177
+ /**
5178
+ *
5179
+ * @type {string}
5180
+ * @memberof WebhookSubscriptionDataAttributes
5181
+ */
5182
+ url: string;
5183
+ /**
5184
+ *
5185
+ * @type {string}
5186
+ * @memberof WebhookSubscriptionDataAttributes
5187
+ */
5188
+ secret?: string;
5189
+ /**
5190
+ *
5191
+ * @type {Array<string>}
5192
+ * @memberof WebhookSubscriptionDataAttributes
5193
+ */
5194
+ topics: Array<string>;
5195
+ /**
5196
+ *
5197
+ * @type {string}
5198
+ * @memberof WebhookSubscriptionDataAttributes
5199
+ */
5200
+ status: WebhookSubscriptionDataAttributesStatusEnum;
5201
+ /**
5202
+ *
5203
+ * @type {string}
5204
+ * @memberof WebhookSubscriptionDataAttributes
5205
+ */
5206
+ created: string;
5207
+ }
5208
+ /**
5209
+ * @export
5210
+ * @enum {string}
5211
+ */
5212
+ export declare enum WebhookSubscriptionDataAttributesStatusEnum {
5213
+ Active = "active",
5214
+ Paused = "paused"
5215
+ }
5216
+ /**
5217
+ *
5218
+ * @export
5219
+ * @interface WebhookSubscriptionList
5220
+ */
5221
+ export interface WebhookSubscriptionList {
5222
+ /**
5223
+ *
5224
+ * @type {Array<WebhookSubscriptionData>}
5225
+ * @memberof WebhookSubscriptionList
5226
+ */
5227
+ data: Array<WebhookSubscriptionData>;
5228
+ /**
5229
+ *
5230
+ * @type {{ [key: string]: Link; }}
5231
+ * @memberof WebhookSubscriptionList
5232
+ */
5233
+ links: {
5234
+ [key: string]: Link;
5235
+ };
5236
+ }
5237
+ /**
5238
+ * AccountsApi - axios parameter creator
5239
+ * @export
5240
+ */
5241
+ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
5242
+ /**
5243
+ * Create an `account`.
5244
+ * @param {CreateAccountRequest} createAccountRequest
5245
+ * @param {*} [options] Override http request option.
5246
+ * @throws {RequiredError}
5247
+ */
5248
+ createAccount: (createAccountRequest: CreateAccountRequest, options?: any) => Promise<RequestArgs>;
5249
+ /**
5250
+ * Create an `application` for an `account`.
5251
+ * @param {string} id The &#x60;account&#x60; ID.
5252
+ * @param {AdminCreateApplicationRequest} adminCreateApplicationRequest
5253
+ * @param {*} [options] Override http request option.
5254
+ * @throws {RequiredError}
5255
+ */
5256
+ createApplicationForAccount: (id: string, adminCreateApplicationRequest: AdminCreateApplicationRequest, options?: any) => Promise<RequestArgs>;
5257
+ /**
5258
+ * Delete an `account`.
5259
+ * @param {string} id The &#x60;account&#x60; ID.
5260
+ * @param {*} [options] Override http request option.
5261
+ * @throws {RequiredError}
5262
+ */
5263
+ deleteAccount: (id: string, options?: any) => Promise<RequestArgs>;
5264
+ /**
5265
+ * Get an `account`.
5266
+ * @param {string} id The &#x60;account&#x60; ID.
5267
+ * @param {*} [options] Override http request option.
5268
+ * @throws {RequiredError}
5269
+ */
5270
+ getAccount: (id: string, options?: any) => Promise<RequestArgs>;
5271
+ /**
5272
+ * Update an `account`.
5273
+ * @param {string} id The &#x60;account&#x60; ID.
5274
+ * @param {UpdateAccountRequest} updateAccountRequest
5275
+ * @param {*} [options] Override http request option.
5276
+ * @throws {RequiredError}
5277
+ */
5278
+ updateAccount: (id: string, updateAccountRequest: UpdateAccountRequest, options?: any) => Promise<RequestArgs>;
5279
+ };
5280
+ /**
5281
+ * AccountsApi - functional programming interface
5282
+ * @export
5283
+ */
5284
+ export declare const AccountsApiFp: (configuration?: Configuration | undefined) => {
5285
+ /**
5286
+ * Create an `account`.
5287
+ * @param {CreateAccountRequest} createAccountRequest
5288
+ * @param {*} [options] Override http request option.
5289
+ * @throws {RequiredError}
5290
+ */
5291
+ createAccount(createAccountRequest: CreateAccountRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Account>>;
5292
+ /**
5293
+ * Create an `application` for an `account`.
5294
+ * @param {string} id The &#x60;account&#x60; ID.
5295
+ * @param {AdminCreateApplicationRequest} adminCreateApplicationRequest
5296
+ * @param {*} [options] Override http request option.
5297
+ * @throws {RequiredError}
5298
+ */
5299
+ createApplicationForAccount(id: string, adminCreateApplicationRequest: AdminCreateApplicationRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CreatedApplication>>;
5300
+ /**
5301
+ * Delete an `account`.
5302
+ * @param {string} id The &#x60;account&#x60; ID.
5303
+ * @param {*} [options] Override http request option.
5304
+ * @throws {RequiredError}
5305
+ */
5306
+ deleteAccount(id: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
5307
+ /**
5308
+ * Get an `account`.
5309
+ * @param {string} id The &#x60;account&#x60; ID.
5310
+ * @param {*} [options] Override http request option.
5311
+ * @throws {RequiredError}
5312
+ */
5313
+ getAccount(id: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Account>>;
5314
+ /**
5315
+ * Update an `account`.
5316
+ * @param {string} id The &#x60;account&#x60; ID.
5317
+ * @param {UpdateAccountRequest} updateAccountRequest
5318
+ * @param {*} [options] Override http request option.
5319
+ * @throws {RequiredError}
5320
+ */
5321
+ updateAccount(id: string, updateAccountRequest: UpdateAccountRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Account>>;
5322
+ };
5323
+ /**
5324
+ * AccountsApi - factory interface
5325
+ * @export
5326
+ */
5327
+ export declare const AccountsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
5328
+ /**
5329
+ * Create an `account`.
5330
+ * @param {CreateAccountRequest} createAccountRequest
5331
+ * @param {*} [options] Override http request option.
5332
+ * @throws {RequiredError}
5333
+ */
5334
+ createAccount(createAccountRequest: CreateAccountRequest, options?: any): AxiosPromise<Account>;
5335
+ /**
5336
+ * Create an `application` for an `account`.
5337
+ * @param {string} id The &#x60;account&#x60; ID.
5338
+ * @param {AdminCreateApplicationRequest} adminCreateApplicationRequest
5339
+ * @param {*} [options] Override http request option.
5340
+ * @throws {RequiredError}
5341
+ */
5342
+ createApplicationForAccount(id: string, adminCreateApplicationRequest: AdminCreateApplicationRequest, options?: any): AxiosPromise<CreatedApplication>;
5343
+ /**
5344
+ * Delete an `account`.
5345
+ * @param {string} id The &#x60;account&#x60; ID.
5346
+ * @param {*} [options] Override http request option.
5347
+ * @throws {RequiredError}
5348
+ */
5349
+ deleteAccount(id: string, options?: any): AxiosPromise<void>;
5350
+ /**
5351
+ * Get an `account`.
5352
+ * @param {string} id The &#x60;account&#x60; ID.
5353
+ * @param {*} [options] Override http request option.
5354
+ * @throws {RequiredError}
5355
+ */
5356
+ getAccount(id: string, options?: any): AxiosPromise<Account>;
5357
+ /**
5358
+ * Update an `account`.
5359
+ * @param {string} id The &#x60;account&#x60; ID.
5360
+ * @param {UpdateAccountRequest} updateAccountRequest
5361
+ * @param {*} [options] Override http request option.
5362
+ * @throws {RequiredError}
5363
+ */
5364
+ updateAccount(id: string, updateAccountRequest: UpdateAccountRequest, options?: any): AxiosPromise<Account>;
5365
+ };
5366
+ /**
5367
+ * Request parameters for createAccount operation in AccountsApi.
5368
+ * @export
5369
+ * @interface AccountsApiCreateAccountRequest
5370
+ */
5371
+ export interface AccountsApiCreateAccountRequest {
5372
+ /**
5373
+ *
5374
+ * @type {CreateAccountRequest}
5375
+ * @memberof AccountsApiCreateAccount
5376
+ */
5377
+ readonly createAccountRequest: CreateAccountRequest;
5378
+ }
5379
+ /**
5380
+ * Request parameters for createApplicationForAccount operation in AccountsApi.
5381
+ * @export
5382
+ * @interface AccountsApiCreateApplicationForAccountRequest
5383
+ */
5384
+ export interface AccountsApiCreateApplicationForAccountRequest {
5385
+ /**
5386
+ * The &#x60;account&#x60; ID.
5387
+ * @type {string}
5388
+ * @memberof AccountsApiCreateApplicationForAccount
5389
+ */
5390
+ readonly id: string;
5391
+ /**
5392
+ *
5393
+ * @type {AdminCreateApplicationRequest}
5394
+ * @memberof AccountsApiCreateApplicationForAccount
5395
+ */
5396
+ readonly adminCreateApplicationRequest: AdminCreateApplicationRequest;
5397
+ }
5398
+ /**
5399
+ * Request parameters for deleteAccount operation in AccountsApi.
5400
+ * @export
5401
+ * @interface AccountsApiDeleteAccountRequest
5402
+ */
5403
+ export interface AccountsApiDeleteAccountRequest {
5404
+ /**
5405
+ * The &#x60;account&#x60; ID.
5406
+ * @type {string}
5407
+ * @memberof AccountsApiDeleteAccount
5408
+ */
5409
+ readonly id: string;
5410
+ }
5411
+ /**
5412
+ * Request parameters for getAccount operation in AccountsApi.
5413
+ * @export
5414
+ * @interface AccountsApiGetAccountRequest
5415
+ */
5416
+ export interface AccountsApiGetAccountRequest {
5417
+ /**
5418
+ * The &#x60;account&#x60; ID.
5419
+ * @type {string}
5420
+ * @memberof AccountsApiGetAccount
5421
+ */
5422
+ readonly id: string;
5423
+ }
5424
+ /**
5425
+ * Request parameters for updateAccount operation in AccountsApi.
5426
+ * @export
5427
+ * @interface AccountsApiUpdateAccountRequest
5428
+ */
5429
+ export interface AccountsApiUpdateAccountRequest {
5430
+ /**
5431
+ * The &#x60;account&#x60; ID.
5432
+ * @type {string}
5433
+ * @memberof AccountsApiUpdateAccount
5434
+ */
5435
+ readonly id: string;
5436
+ /**
5437
+ *
5438
+ * @type {UpdateAccountRequest}
5439
+ * @memberof AccountsApiUpdateAccount
5440
+ */
5441
+ readonly updateAccountRequest: UpdateAccountRequest;
5442
+ }
5443
+ /**
5444
+ * AccountsApi - object-oriented interface
5445
+ * @export
5446
+ * @class AccountsApi
5447
+ * @extends {BaseAPI}
5448
+ */
5449
+ export declare class AccountsApi extends BaseAPI {
5450
+ /**
5451
+ * Create an `account`.
5452
+ * @param {AccountsApiCreateAccountRequest} requestParameters Request parameters.
5453
+ * @param {*} [options] Override http request option.
5454
+ * @throws {RequiredError}
5455
+ * @memberof AccountsApi
5456
+ */
5457
+ createAccount(requestParameters: AccountsApiCreateAccountRequest, options?: any): Promise<import("axios").AxiosResponse<Account>>;
5458
+ /**
5459
+ * Create an `application` for an `account`.
5460
+ * @param {AccountsApiCreateApplicationForAccountRequest} requestParameters Request parameters.
5461
+ * @param {*} [options] Override http request option.
5462
+ * @throws {RequiredError}
5463
+ * @memberof AccountsApi
5464
+ */
5465
+ createApplicationForAccount(requestParameters: AccountsApiCreateApplicationForAccountRequest, options?: any): Promise<import("axios").AxiosResponse<CreatedApplication>>;
5466
+ /**
5467
+ * Delete an `account`.
5468
+ * @param {AccountsApiDeleteAccountRequest} requestParameters Request parameters.
5469
+ * @param {*} [options] Override http request option.
5470
+ * @throws {RequiredError}
5471
+ * @memberof AccountsApi
5472
+ */
5473
+ deleteAccount(requestParameters: AccountsApiDeleteAccountRequest, options?: any): Promise<import("axios").AxiosResponse<void>>;
5474
+ /**
5475
+ * Get an `account`.
5476
+ * @param {AccountsApiGetAccountRequest} requestParameters Request parameters.
5477
+ * @param {*} [options] Override http request option.
5478
+ * @throws {RequiredError}
5479
+ * @memberof AccountsApi
5480
+ */
5481
+ getAccount(requestParameters: AccountsApiGetAccountRequest, options?: any): Promise<import("axios").AxiosResponse<Account>>;
5482
+ /**
5483
+ * Update an `account`.
5484
+ * @param {AccountsApiUpdateAccountRequest} requestParameters Request parameters.
5485
+ * @param {*} [options] Override http request option.
5486
+ * @throws {RequiredError}
5487
+ * @memberof AccountsApi
5488
+ */
5489
+ updateAccount(requestParameters: AccountsApiUpdateAccountRequest, options?: any): Promise<import("axios").AxiosResponse<Account>>;
5490
+ }
5491
+ /**
5492
+ * ApplicationsApi - axios parameter creator
5493
+ * @export
5494
+ */
5495
+ export declare const ApplicationsApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
5496
+ /**
5497
+ * Create an OAuth2 `application`.
5498
+ * @param {CreateApplicationRequest} createApplicationRequest
5499
+ * @param {*} [options] Override http request option.
5500
+ * @throws {RequiredError}
5501
+ */
5502
+ createApplication: (createApplicationRequest: CreateApplicationRequest, options?: any) => Promise<RequestArgs>;
5503
+ /**
5504
+ * Delete an `application`.
5505
+ * @param {string} id The &#x60;application&#x60; ID.
5506
+ * @param {*} [options] Override http request option.
5507
+ * @throws {RequiredError}
5508
+ */
5509
+ deleteApplication: (id: string, options?: any) => Promise<RequestArgs>;
5510
+ /**
5511
+ * Get an `application`.
5512
+ * @param {string} id The &#x60;application&#x60; ID.
5513
+ * @param {*} [options] Override http request option.
5514
+ * @throws {RequiredError}
5515
+ */
5516
+ getApplication: (id: string, options?: any) => Promise<RequestArgs>;
5517
+ /**
5518
+ * Get `applications`.
5519
+ * @param {string} [pageCursor] The cursor for the next page of items.
5520
+ * @param {number} [pageSize] The number of items to return.
5521
+ * @param {*} [options] Override http request option.
5522
+ * @throws {RequiredError}
5523
+ */
5524
+ getApplications: (pageCursor?: string | undefined, pageSize?: number | undefined, options?: any) => Promise<RequestArgs>;
5525
+ /**
5526
+ * Update an `application`.
5527
+ * @param {string} id The &#x60;application&#x60; ID.
5528
+ * @param {UpdateApplicationRequest} updateApplicationRequest
5529
+ * @param {*} [options] Override http request option.
5530
+ * @throws {RequiredError}
5531
+ */
5532
+ updateApplication: (id: string, updateApplicationRequest: UpdateApplicationRequest, options?: any) => Promise<RequestArgs>;
5533
+ };
5534
+ /**
5535
+ * ApplicationsApi - functional programming interface
5536
+ * @export
5537
+ */
5538
+ export declare const ApplicationsApiFp: (configuration?: Configuration | undefined) => {
5539
+ /**
5540
+ * Create an OAuth2 `application`.
5541
+ * @param {CreateApplicationRequest} createApplicationRequest
5542
+ * @param {*} [options] Override http request option.
5543
+ * @throws {RequiredError}
5544
+ */
5545
+ createApplication(createApplicationRequest: CreateApplicationRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<CreatedApplication>>;
5546
+ /**
5547
+ * Delete an `application`.
5548
+ * @param {string} id The &#x60;application&#x60; ID.
5549
+ * @param {*} [options] Override http request option.
5550
+ * @throws {RequiredError}
5551
+ */
5552
+ deleteApplication(id: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<void>>;
5553
+ /**
5554
+ * Get an `application`.
5555
+ * @param {string} id The &#x60;application&#x60; ID.
5556
+ * @param {*} [options] Override http request option.
5557
+ * @throws {RequiredError}
4438
5558
  */
4439
- owner: WebhookEventDataRelationshipsOwner;
5559
+ getApplication(id: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Application>>;
4440
5560
  /**
4441
- *
4442
- * @type {WebhookEventDataRelationshipsResource}
4443
- * @memberof WebhookEventDataRelationships
5561
+ * Get `applications`.
5562
+ * @param {string} [pageCursor] The cursor for the next page of items.
5563
+ * @param {number} [pageSize] The number of items to return.
5564
+ * @param {*} [options] Override http request option.
5565
+ * @throws {RequiredError}
4444
5566
  */
4445
- resource: WebhookEventDataRelationshipsResource;
4446
- }
5567
+ getApplications(pageCursor?: string | undefined, pageSize?: number | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ApplicationList>>;
5568
+ /**
5569
+ * Update an `application`.
5570
+ * @param {string} id The &#x60;application&#x60; ID.
5571
+ * @param {UpdateApplicationRequest} updateApplicationRequest
5572
+ * @param {*} [options] Override http request option.
5573
+ * @throws {RequiredError}
5574
+ */
5575
+ updateApplication(id: string, updateApplicationRequest: UpdateApplicationRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<Application>>;
5576
+ };
4447
5577
  /**
4448
- * Relationship to an `owner`.
5578
+ * ApplicationsApi - factory interface
4449
5579
  * @export
4450
- * @interface WebhookEventDataRelationshipsOwner
4451
5580
  */
4452
- export interface WebhookEventDataRelationshipsOwner {
5581
+ export declare const ApplicationsApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
4453
5582
  /**
4454
- *
4455
- * @type {WebhookEventDataRelationshipsOwnerData}
4456
- * @memberof WebhookEventDataRelationshipsOwner
5583
+ * Create an OAuth2 `application`.
5584
+ * @param {CreateApplicationRequest} createApplicationRequest
5585
+ * @param {*} [options] Override http request option.
5586
+ * @throws {RequiredError}
4457
5587
  */
4458
- data: WebhookEventDataRelationshipsOwnerData;
5588
+ createApplication(createApplicationRequest: CreateApplicationRequest, options?: any): AxiosPromise<CreatedApplication>;
4459
5589
  /**
4460
- *
4461
- * @type {RelationshipLinks}
4462
- * @memberof WebhookEventDataRelationshipsOwner
5590
+ * Delete an `application`.
5591
+ * @param {string} id The &#x60;application&#x60; ID.
5592
+ * @param {*} [options] Override http request option.
5593
+ * @throws {RequiredError}
4463
5594
  */
4464
- links?: RelationshipLinks;
4465
- }
4466
- /**
4467
- *
4468
- * @export
4469
- * @interface WebhookEventDataRelationshipsOwnerData
4470
- */
4471
- export interface WebhookEventDataRelationshipsOwnerData {
5595
+ deleteApplication(id: string, options?: any): AxiosPromise<void>;
4472
5596
  /**
4473
- * Resource object type.
4474
- * @type {string}
4475
- * @memberof WebhookEventDataRelationshipsOwnerData
5597
+ * Get an `application`.
5598
+ * @param {string} id The &#x60;application&#x60; ID.
5599
+ * @param {*} [options] Override http request option.
5600
+ * @throws {RequiredError}
4476
5601
  */
4477
- type: WebhookEventDataRelationshipsOwnerDataTypeEnum;
5602
+ getApplication(id: string, options?: any): AxiosPromise<Application>;
4478
5603
  /**
4479
- * ID of the resource.
4480
- * @type {string}
4481
- * @memberof WebhookEventDataRelationshipsOwnerData
5604
+ * Get `applications`.
5605
+ * @param {string} [pageCursor] The cursor for the next page of items.
5606
+ * @param {number} [pageSize] The number of items to return.
5607
+ * @param {*} [options] Override http request option.
5608
+ * @throws {RequiredError}
4482
5609
  */
4483
- id: string;
4484
- }
4485
- /**
4486
- * @export
4487
- * @enum {string}
4488
- */
4489
- export declare enum WebhookEventDataRelationshipsOwnerDataTypeEnum {
4490
- Account = "account"
4491
- }
5610
+ getApplications(pageCursor?: string | undefined, pageSize?: number | undefined, options?: any): AxiosPromise<ApplicationList>;
5611
+ /**
5612
+ * Update an `application`.
5613
+ * @param {string} id The &#x60;application&#x60; ID.
5614
+ * @param {UpdateApplicationRequest} updateApplicationRequest
5615
+ * @param {*} [options] Override http request option.
5616
+ * @throws {RequiredError}
5617
+ */
5618
+ updateApplication(id: string, updateApplicationRequest: UpdateApplicationRequest, options?: any): AxiosPromise<Application>;
5619
+ };
4492
5620
  /**
4493
- * Relationship to a `resource`.
5621
+ * Request parameters for createApplication operation in ApplicationsApi.
4494
5622
  * @export
4495
- * @interface WebhookEventDataRelationshipsResource
5623
+ * @interface ApplicationsApiCreateApplicationRequest
4496
5624
  */
4497
- export interface WebhookEventDataRelationshipsResource {
5625
+ export interface ApplicationsApiCreateApplicationRequest {
4498
5626
  /**
4499
5627
  *
4500
- * @type {WebhookEventDataRelationshipsResourceData}
4501
- * @memberof WebhookEventDataRelationshipsResource
4502
- */
4503
- data: WebhookEventDataRelationshipsResourceData;
4504
- /**
4505
- *
4506
- * @type {RelationshipLinks}
4507
- * @memberof WebhookEventDataRelationshipsResource
5628
+ * @type {CreateApplicationRequest}
5629
+ * @memberof ApplicationsApiCreateApplication
4508
5630
  */
4509
- links?: RelationshipLinks;
5631
+ readonly createApplicationRequest: CreateApplicationRequest;
4510
5632
  }
4511
5633
  /**
4512
- *
5634
+ * Request parameters for deleteApplication operation in ApplicationsApi.
4513
5635
  * @export
4514
- * @interface WebhookEventDataRelationshipsResourceData
5636
+ * @interface ApplicationsApiDeleteApplicationRequest
4515
5637
  */
4516
- export interface WebhookEventDataRelationshipsResourceData {
4517
- /**
4518
- * Resource object type.
4519
- * @type {string}
4520
- * @memberof WebhookEventDataRelationshipsResourceData
4521
- */
4522
- type: string;
5638
+ export interface ApplicationsApiDeleteApplicationRequest {
4523
5639
  /**
4524
- * ID of the resource.
5640
+ * The &#x60;application&#x60; ID.
4525
5641
  * @type {string}
4526
- * @memberof WebhookEventDataRelationshipsResourceData
5642
+ * @memberof ApplicationsApiDeleteApplication
4527
5643
  */
4528
- id: string;
5644
+ readonly id: string;
4529
5645
  }
4530
5646
  /**
4531
- *
5647
+ * Request parameters for getApplication operation in ApplicationsApi.
4532
5648
  * @export
4533
- * @interface WebhookSubscription
5649
+ * @interface ApplicationsApiGetApplicationRequest
4534
5650
  */
4535
- export interface WebhookSubscription {
4536
- /**
4537
- *
4538
- * @type {WebhookSubscriptionData}
4539
- * @memberof WebhookSubscription
4540
- */
4541
- data: WebhookSubscriptionData;
5651
+ export interface ApplicationsApiGetApplicationRequest {
4542
5652
  /**
4543
- *
4544
- * @type {{ [key: string]: Link; }}
4545
- * @memberof WebhookSubscription
5653
+ * The &#x60;application&#x60; ID.
5654
+ * @type {string}
5655
+ * @memberof ApplicationsApiGetApplication
4546
5656
  */
4547
- links?: {
4548
- [key: string]: Link;
4549
- };
5657
+ readonly id: string;
4550
5658
  }
4551
5659
  /**
4552
- *
5660
+ * Request parameters for getApplications operation in ApplicationsApi.
4553
5661
  * @export
4554
- * @interface WebhookSubscriptionData
5662
+ * @interface ApplicationsApiGetApplicationsRequest
4555
5663
  */
4556
- export interface WebhookSubscriptionData {
4557
- /**
4558
- *
4559
- * @type {string}
4560
- * @memberof WebhookSubscriptionData
4561
- */
4562
- type: string;
5664
+ export interface ApplicationsApiGetApplicationsRequest {
4563
5665
  /**
4564
- * ID of the resource.
5666
+ * The cursor for the next page of items.
4565
5667
  * @type {string}
4566
- * @memberof WebhookSubscriptionData
4567
- */
4568
- id: string;
4569
- /**
4570
- *
4571
- * @type {WebhookSubscriptionDataAttributes}
4572
- * @memberof WebhookSubscriptionData
5668
+ * @memberof ApplicationsApiGetApplications
4573
5669
  */
4574
- attributes: WebhookSubscriptionDataAttributes;
5670
+ readonly pageCursor?: string;
4575
5671
  /**
4576
- *
4577
- * @type {{ [key: string]: Link; }}
4578
- * @memberof WebhookSubscriptionData
5672
+ * The number of items to return.
5673
+ * @type {number}
5674
+ * @memberof ApplicationsApiGetApplications
4579
5675
  */
4580
- links?: {
4581
- [key: string]: Link;
4582
- };
5676
+ readonly pageSize?: number;
4583
5677
  }
4584
5678
  /**
4585
- *
5679
+ * Request parameters for updateApplication operation in ApplicationsApi.
4586
5680
  * @export
4587
- * @interface WebhookSubscriptionDataAttributes
5681
+ * @interface ApplicationsApiUpdateApplicationRequest
4588
5682
  */
4589
- export interface WebhookSubscriptionDataAttributes {
5683
+ export interface ApplicationsApiUpdateApplicationRequest {
4590
5684
  /**
4591
- *
5685
+ * The &#x60;application&#x60; ID.
4592
5686
  * @type {string}
4593
- * @memberof WebhookSubscriptionDataAttributes
5687
+ * @memberof ApplicationsApiUpdateApplication
4594
5688
  */
4595
- url: string;
5689
+ readonly id: string;
4596
5690
  /**
4597
5691
  *
4598
- * @type {string}
4599
- * @memberof WebhookSubscriptionDataAttributes
5692
+ * @type {UpdateApplicationRequest}
5693
+ * @memberof ApplicationsApiUpdateApplication
4600
5694
  */
4601
- secret?: string;
5695
+ readonly updateApplicationRequest: UpdateApplicationRequest;
5696
+ }
5697
+ /**
5698
+ * ApplicationsApi - object-oriented interface
5699
+ * @export
5700
+ * @class ApplicationsApi
5701
+ * @extends {BaseAPI}
5702
+ */
5703
+ export declare class ApplicationsApi extends BaseAPI {
4602
5704
  /**
4603
- *
4604
- * @type {Array<string>}
4605
- * @memberof WebhookSubscriptionDataAttributes
5705
+ * Create an OAuth2 `application`.
5706
+ * @param {ApplicationsApiCreateApplicationRequest} requestParameters Request parameters.
5707
+ * @param {*} [options] Override http request option.
5708
+ * @throws {RequiredError}
5709
+ * @memberof ApplicationsApi
4606
5710
  */
4607
- topics: Array<string>;
5711
+ createApplication(requestParameters: ApplicationsApiCreateApplicationRequest, options?: any): Promise<import("axios").AxiosResponse<CreatedApplication>>;
4608
5712
  /**
4609
- *
4610
- * @type {string}
4611
- * @memberof WebhookSubscriptionDataAttributes
5713
+ * Delete an `application`.
5714
+ * @param {ApplicationsApiDeleteApplicationRequest} requestParameters Request parameters.
5715
+ * @param {*} [options] Override http request option.
5716
+ * @throws {RequiredError}
5717
+ * @memberof ApplicationsApi
4612
5718
  */
4613
- status: WebhookSubscriptionDataAttributesStatusEnum;
5719
+ deleteApplication(requestParameters: ApplicationsApiDeleteApplicationRequest, options?: any): Promise<import("axios").AxiosResponse<void>>;
4614
5720
  /**
4615
- *
4616
- * @type {string}
4617
- * @memberof WebhookSubscriptionDataAttributes
5721
+ * Get an `application`.
5722
+ * @param {ApplicationsApiGetApplicationRequest} requestParameters Request parameters.
5723
+ * @param {*} [options] Override http request option.
5724
+ * @throws {RequiredError}
5725
+ * @memberof ApplicationsApi
4618
5726
  */
4619
- created: string;
4620
- }
4621
- /**
4622
- * @export
4623
- * @enum {string}
4624
- */
4625
- export declare enum WebhookSubscriptionDataAttributesStatusEnum {
4626
- Active = "active",
4627
- Paused = "paused"
4628
- }
4629
- /**
4630
- *
4631
- * @export
4632
- * @interface WebhookSubscriptionList
4633
- */
4634
- export interface WebhookSubscriptionList {
5727
+ getApplication(requestParameters: ApplicationsApiGetApplicationRequest, options?: any): Promise<import("axios").AxiosResponse<Application>>;
4635
5728
  /**
4636
- *
4637
- * @type {Array<WebhookSubscriptionData>}
4638
- * @memberof WebhookSubscriptionList
5729
+ * Get `applications`.
5730
+ * @param {ApplicationsApiGetApplicationsRequest} requestParameters Request parameters.
5731
+ * @param {*} [options] Override http request option.
5732
+ * @throws {RequiredError}
5733
+ * @memberof ApplicationsApi
4639
5734
  */
4640
- data: Array<WebhookSubscriptionData>;
5735
+ getApplications(requestParameters?: ApplicationsApiGetApplicationsRequest, options?: any): Promise<import("axios").AxiosResponse<ApplicationList>>;
4641
5736
  /**
4642
- *
4643
- * @type {{ [key: string]: Link; }}
4644
- * @memberof WebhookSubscriptionList
5737
+ * Update an `application`.
5738
+ * @param {ApplicationsApiUpdateApplicationRequest} requestParameters Request parameters.
5739
+ * @param {*} [options] Override http request option.
5740
+ * @throws {RequiredError}
5741
+ * @memberof ApplicationsApi
4645
5742
  */
4646
- links: {
4647
- [key: string]: Link;
4648
- };
5743
+ updateApplication(requestParameters: ApplicationsApiUpdateApplicationRequest, options?: any): Promise<import("axios").AxiosResponse<Application>>;
4649
5744
  }
4650
5745
  /**
4651
5746
  * BatchesApi - axios parameter creator
@@ -5392,6 +6487,22 @@ export declare class HitsApi extends BaseAPI {
5392
6487
  * @export
5393
6488
  */
5394
6489
  export declare const Oauth2ApiAxiosParamCreator: (configuration?: Configuration | undefined) => {
6490
+ /**
6491
+ * Accept Consent Challenge to login.
6492
+ * @param {string} challenge Challenge ID from oauth2 flow
6493
+ * @param {AdminConsentAcceptRequest} [adminConsentAcceptRequest]
6494
+ * @param {*} [options] Override http request option.
6495
+ * @throws {RequiredError}
6496
+ */
6497
+ adminAcceptConsent: (challenge: string, adminConsentAcceptRequest?: AdminConsentAcceptRequest | undefined, options?: any) => Promise<RequestArgs>;
6498
+ /**
6499
+ * Accept Login Challenge with subject & login challenge
6500
+ * @param {string} loginChallenge Login Challenge ID from oauth2 flow
6501
+ * @param {AdminLoginAcceptRequest} adminLoginAcceptRequest
6502
+ * @param {*} [options] Override http request option.
6503
+ * @throws {RequiredError}
6504
+ */
6505
+ adminAcceptLogin: (loginChallenge: string, adminLoginAcceptRequest: AdminLoginAcceptRequest, options?: any) => Promise<RequestArgs>;
5395
6506
  /**
5396
6507
  * Create an OAuth2 access token. For details, see our [Authentication](https://developer.vertexvis.com/docs/guides/authentication) guide.
5397
6508
  * @param {string} grantType
@@ -5416,6 +6527,22 @@ export declare const Oauth2ApiAxiosParamCreator: (configuration?: Configuration
5416
6527
  * @export
5417
6528
  */
5418
6529
  export declare const Oauth2ApiFp: (configuration?: Configuration | undefined) => {
6530
+ /**
6531
+ * Accept Consent Challenge to login.
6532
+ * @param {string} challenge Challenge ID from oauth2 flow
6533
+ * @param {AdminConsentAcceptRequest} [adminConsentAcceptRequest]
6534
+ * @param {*} [options] Override http request option.
6535
+ * @throws {RequiredError}
6536
+ */
6537
+ adminAcceptConsent(challenge: string, adminConsentAcceptRequest?: AdminConsentAcceptRequest | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<AdminRedirectTo>>;
6538
+ /**
6539
+ * Accept Login Challenge with subject & login challenge
6540
+ * @param {string} loginChallenge Login Challenge ID from oauth2 flow
6541
+ * @param {AdminLoginAcceptRequest} adminLoginAcceptRequest
6542
+ * @param {*} [options] Override http request option.
6543
+ * @throws {RequiredError}
6544
+ */
6545
+ adminAcceptLogin(loginChallenge: string, adminLoginAcceptRequest: AdminLoginAcceptRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<AdminRedirectTo>>;
5419
6546
  /**
5420
6547
  * Create an OAuth2 access token. For details, see our [Authentication](https://developer.vertexvis.com/docs/guides/authentication) guide.
5421
6548
  * @param {string} grantType
@@ -5440,6 +6567,22 @@ export declare const Oauth2ApiFp: (configuration?: Configuration | undefined) =>
5440
6567
  * @export
5441
6568
  */
5442
6569
  export declare const Oauth2ApiFactory: (configuration?: Configuration | undefined, basePath?: string | undefined, axios?: AxiosInstance | undefined) => {
6570
+ /**
6571
+ * Accept Consent Challenge to login.
6572
+ * @param {string} challenge Challenge ID from oauth2 flow
6573
+ * @param {AdminConsentAcceptRequest} [adminConsentAcceptRequest]
6574
+ * @param {*} [options] Override http request option.
6575
+ * @throws {RequiredError}
6576
+ */
6577
+ adminAcceptConsent(challenge: string, adminConsentAcceptRequest?: AdminConsentAcceptRequest | undefined, options?: any): AxiosPromise<AdminRedirectTo>;
6578
+ /**
6579
+ * Accept Login Challenge with subject & login challenge
6580
+ * @param {string} loginChallenge Login Challenge ID from oauth2 flow
6581
+ * @param {AdminLoginAcceptRequest} adminLoginAcceptRequest
6582
+ * @param {*} [options] Override http request option.
6583
+ * @throws {RequiredError}
6584
+ */
6585
+ adminAcceptLogin(loginChallenge: string, adminLoginAcceptRequest: AdminLoginAcceptRequest, options?: any): AxiosPromise<AdminRedirectTo>;
5443
6586
  /**
5444
6587
  * Create an OAuth2 access token. For details, see our [Authentication](https://developer.vertexvis.com/docs/guides/authentication) guide.
5445
6588
  * @param {string} grantType
@@ -5459,6 +6602,44 @@ export declare const Oauth2ApiFactory: (configuration?: Configuration | undefine
5459
6602
  */
5460
6603
  revokeToken(revokeOAuth2TokenRequest: RevokeOAuth2TokenRequest, options?: any): AxiosPromise<void>;
5461
6604
  };
6605
+ /**
6606
+ * Request parameters for adminAcceptConsent operation in Oauth2Api.
6607
+ * @export
6608
+ * @interface Oauth2ApiAdminAcceptConsentRequest
6609
+ */
6610
+ export interface Oauth2ApiAdminAcceptConsentRequest {
6611
+ /**
6612
+ * Challenge ID from oauth2 flow
6613
+ * @type {string}
6614
+ * @memberof Oauth2ApiAdminAcceptConsent
6615
+ */
6616
+ readonly challenge: string;
6617
+ /**
6618
+ *
6619
+ * @type {AdminConsentAcceptRequest}
6620
+ * @memberof Oauth2ApiAdminAcceptConsent
6621
+ */
6622
+ readonly adminConsentAcceptRequest?: AdminConsentAcceptRequest;
6623
+ }
6624
+ /**
6625
+ * Request parameters for adminAcceptLogin operation in Oauth2Api.
6626
+ * @export
6627
+ * @interface Oauth2ApiAdminAcceptLoginRequest
6628
+ */
6629
+ export interface Oauth2ApiAdminAcceptLoginRequest {
6630
+ /**
6631
+ * Login Challenge ID from oauth2 flow
6632
+ * @type {string}
6633
+ * @memberof Oauth2ApiAdminAcceptLogin
6634
+ */
6635
+ readonly loginChallenge: string;
6636
+ /**
6637
+ *
6638
+ * @type {AdminLoginAcceptRequest}
6639
+ * @memberof Oauth2ApiAdminAcceptLogin
6640
+ */
6641
+ readonly adminLoginAcceptRequest: AdminLoginAcceptRequest;
6642
+ }
5462
6643
  /**
5463
6644
  * Request parameters for createToken operation in Oauth2Api.
5464
6645
  * @export
@@ -5516,6 +6697,22 @@ export interface Oauth2ApiRevokeTokenRequest {
5516
6697
  * @extends {BaseAPI}
5517
6698
  */
5518
6699
  export declare class Oauth2Api extends BaseAPI {
6700
+ /**
6701
+ * Accept Consent Challenge to login.
6702
+ * @param {Oauth2ApiAdminAcceptConsentRequest} requestParameters Request parameters.
6703
+ * @param {*} [options] Override http request option.
6704
+ * @throws {RequiredError}
6705
+ * @memberof Oauth2Api
6706
+ */
6707
+ adminAcceptConsent(requestParameters: Oauth2ApiAdminAcceptConsentRequest, options?: any): Promise<import("axios").AxiosResponse<AdminRedirectTo>>;
6708
+ /**
6709
+ * Accept Login Challenge with subject & login challenge
6710
+ * @param {Oauth2ApiAdminAcceptLoginRequest} requestParameters Request parameters.
6711
+ * @param {*} [options] Override http request option.
6712
+ * @throws {RequiredError}
6713
+ * @memberof Oauth2Api
6714
+ */
6715
+ adminAcceptLogin(requestParameters: Oauth2ApiAdminAcceptLoginRequest, options?: any): Promise<import("axios").AxiosResponse<AdminRedirectTo>>;
5519
6716
  /**
5520
6717
  * Create an OAuth2 access token. For details, see our [Authentication](https://developer.vertexvis.com/docs/guides/authentication) guide.
5521
6718
  * @param {Oauth2ApiCreateTokenRequest} requestParameters Request parameters.
@@ -6616,7 +7813,7 @@ export declare const SceneItemsApiAxiosParamCreator: (configuration?: Configurat
6616
7813
  /**
6617
7814
  * Get a `scene-item` by ID.
6618
7815
  * @param {string} id The &#x60;scene-item&#x60; ID.
6619
- * @param {string} [fieldsSceneItem] Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; is only returned if explicitly requested.
7816
+ * @param {string} [fieldsSceneItem] Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; and &#x60;metadata&#x60; are only returned if explicitly requested.
6620
7817
  * @param {*} [options] Override http request option.
6621
7818
  * @throws {RequiredError}
6622
7819
  */
@@ -6679,7 +7876,7 @@ export declare const SceneItemsApiFp: (configuration?: Configuration | undefined
6679
7876
  /**
6680
7877
  * Get a `scene-item` by ID.
6681
7878
  * @param {string} id The &#x60;scene-item&#x60; ID.
6682
- * @param {string} [fieldsSceneItem] Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; is only returned if explicitly requested.
7879
+ * @param {string} [fieldsSceneItem] Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; and &#x60;metadata&#x60; are only returned if explicitly requested.
6683
7880
  * @param {*} [options] Override http request option.
6684
7881
  * @throws {RequiredError}
6685
7882
  */
@@ -6742,7 +7939,7 @@ export declare const SceneItemsApiFactory: (configuration?: Configuration | unde
6742
7939
  /**
6743
7940
  * Get a `scene-item` by ID.
6744
7941
  * @param {string} id The &#x60;scene-item&#x60; ID.
6745
- * @param {string} [fieldsSceneItem] Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; is only returned if explicitly requested.
7942
+ * @param {string} [fieldsSceneItem] Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; and &#x60;metadata&#x60; are only returned if explicitly requested.
6746
7943
  * @param {*} [options] Override http request option.
6747
7944
  * @throws {RequiredError}
6748
7945
  */
@@ -6839,7 +8036,7 @@ export interface SceneItemsApiGetSceneItemRequest {
6839
8036
  */
6840
8037
  readonly id: string;
6841
8038
  /**
6842
- * Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; is only returned if explicitly requested.
8039
+ * Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; and &#x60;metadata&#x60; are only returned if explicitly requested.
6843
8040
  * @type {string}
6844
8041
  * @memberof SceneItemsApiGetSceneItem
6845
8042
  */
@@ -7301,7 +8498,7 @@ export declare const SceneViewsApiAxiosParamCreator: (configuration?: Configurat
7301
8498
  * Get a `scene-item` within a view by ID.
7302
8499
  * @param {string} id The &#x60;scene-view&#x60; ID.
7303
8500
  * @param {string} itemId The &#x60;scene-item&#x60; ID.
7304
- * @param {string} [fieldsSceneItem] Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; is only returned if explicitly requested.
8501
+ * @param {string} [fieldsSceneItem] Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; and &#x60;metadata&#x60; are only returned if explicitly requested.
7305
8502
  * @param {string} [include] Comma-separated list of relationships to include in response.
7306
8503
  * @param {*} [options] Override http request option.
7307
8504
  * @throws {RequiredError}
@@ -7365,7 +8562,7 @@ export declare const SceneViewsApiFp: (configuration?: Configuration | undefined
7365
8562
  * Get a `scene-item` within a view by ID.
7366
8563
  * @param {string} id The &#x60;scene-view&#x60; ID.
7367
8564
  * @param {string} itemId The &#x60;scene-item&#x60; ID.
7368
- * @param {string} [fieldsSceneItem] Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; is only returned if explicitly requested.
8565
+ * @param {string} [fieldsSceneItem] Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; and &#x60;metadata&#x60; are only returned if explicitly requested.
7369
8566
  * @param {string} [include] Comma-separated list of relationships to include in response.
7370
8567
  * @param {*} [options] Override http request option.
7371
8568
  * @throws {RequiredError}
@@ -7429,7 +8626,7 @@ export declare const SceneViewsApiFactory: (configuration?: Configuration | unde
7429
8626
  * Get a `scene-item` within a view by ID.
7430
8627
  * @param {string} id The &#x60;scene-view&#x60; ID.
7431
8628
  * @param {string} itemId The &#x60;scene-item&#x60; ID.
7432
- * @param {string} [fieldsSceneItem] Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; is only returned if explicitly requested.
8629
+ * @param {string} [fieldsSceneItem] Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; and &#x60;metadata&#x60; are only returned if explicitly requested.
7433
8630
  * @param {string} [include] Comma-separated list of relationships to include in response.
7434
8631
  * @param {*} [options] Override http request option.
7435
8632
  * @throws {RequiredError}
@@ -7542,7 +8739,7 @@ export interface SceneViewsApiGetViewSceneItemRequest {
7542
8739
  */
7543
8740
  readonly itemId: string;
7544
8741
  /**
7545
- * Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; is only returned if explicitly requested.
8742
+ * Comma-separated list of fields to return in response. An empty value returns no fields. &#x60;boundingBox&#x60; and &#x60;metadata&#x60; are only returned if explicitly requested.
7546
8743
  * @type {string}
7547
8744
  * @memberof SceneViewsApiGetViewSceneItem
7548
8745
  */